-if(function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(A,e){var t=[],S=A.document,u=t.slice,m=t.concat,s=t.push,i=t.indexOf,n={},r=n.toString,p=n.hasOwnProperty,g={},a="2.2.4",T=function(e,t){return new T.fn.init(e,t)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,c=/^-ms-/,l=/-([\da-z])/gi,f=function(e,t){return t.toUpperCase()};function d(e){var t=!!e&&"length"in e&&e.length,n=T.type(e);return"function"!==n&&!T.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:a,constructor:T,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return T.each(this,e)},map:function(n){return this.pushStack(T.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:t.sort,splice:t.splice},T.extend=T.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[s]||{},s++),"object"==typeof o||T.isFunction(o)||(o={}),s===c&&(o=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],o!==(r=e[t])&&(l&&r&&(T.isPlainObject(r)||(i=T.isArray(r)))?(a=i?(i=!1,n&&T.isArray(n)?n:[]):n&&T.isPlainObject(n)?n:{},o[t]=T.extend(l,a,r)):void 0!==r&&(o[t]=r));return o},T.extend({expando:"jQuery"+(a+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===T.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!T.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){var t;if("object"!==T.type(e)||e.nodeType||T.isWindow(e))return!1;if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||p.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[r.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=T.trim(e))&&(1===e.indexOf("use strict")?((t=S.createElement("script")).text=e,S.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(c,"ms-").replace(l,f)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(d(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(o,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?T.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,a=e.length,o=!n;i<a;i++)!t(e[i],i)!==o&&r.push(e[i]);return r},map:function(e,t,n){var r,i,a=0,o=[];if(d(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&o.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&o.push(i);return m.apply([],o)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),T.isFunction(e))return r=u.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(u.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},now:Date.now,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=t[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var h=function(n){var e,p,y,a,i,m,f,g,w,c,l,C,A,o,S,_,s,u,b,T="sizzle"+1*new Date,v=n.document,x=0,r=0,d=ie(),h=ie(),k=ie(),E=function(e,t){return e===t&&(l=!0),0},D={}.hasOwnProperty,t=[],I=t.pop,P=t.push,M=t.push,$=t.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F="\\["+N+"*("+L+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+N+"*\\]",G=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",j=new RegExp(N+"+","g"),B=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),U=new RegExp("^"+N+"*,"+N+"*"),H=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),W=new RegExp("="+N+"*([^\\]'\"]*?)"+N+"*\\]","g"),q=new RegExp(G),z=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,J=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),te=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ne=function(){C()};try{M.apply(t=$.call(v.childNodes),v.childNodes),t[v.childNodes.length].nodeType}catch(e){M={apply:t.length?function(e,t){P.apply(e,$.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,n,r){var i,a,o,s,c,l,u,f,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:v)!==A&&C(t),t=t||A,S)){if(11!==h&&(l=X.exec(e)))if(i=l[1]){if(9===h){if(!(o=t.getElementById(i)))return n;if(o.id===i)return n.push(o),n}else if(d&&(o=d.getElementById(i))&&b(t,o)&&o.id===i)return n.push(o),n}else{if(l[2])return M.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(i)),n}if(p.qsa&&!k[e+" "]&&(!_||!_.test(e))){if(1!==h)d=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(J,"\\$&"):t.setAttribute("id",s=T),a=(u=m(e)).length,c=z.test(s)?"#"+s:"[id='"+s+"']";a--;)u[a]=c+" "+pe(u[a]);f=u.join(","),d=Z.test(e)&&de(t.parentNode)||t}if(f)try{return M.apply(n,d.querySelectorAll(f)),n}catch(e){}finally{s===T&&t.removeAttribute("id")}}}return g(e.replace(B,"$1"),t,n,r)}function ie(){var r=[];return function e(t,n){return r.push(t+" ")>y.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ae(e){return e[T]=!0,e}function oe(e){var t=A.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),r=n.length;r--;)y.attrHandle[n[r]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ue(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function fe(o){return ae(function(a){return a=+a,ae(function(e,t){for(var n,r=o([],e.length,a),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=re.support={},i=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},C=re.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:v;return r!==A&&9===r.nodeType&&r.documentElement&&(o=(A=r).documentElement,S=!i(A),(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ne,!1):n.attachEvent&&n.attachEvent("onunload",ne)),p.attributes=oe(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=oe(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=Q.test(A.getElementsByClassName),p.getById=oe(function(e){return o.appendChild(e).id=T,!A.getElementsByName||!A.getElementsByName(T).length}),p.getById?(y.find.ID=function(e,t){if(void 0!==t.getElementById&&S){var n=t.getElementById(e);return n?[n]:[]}},y.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete y.find.ID,y.filter.ID=function(e){var n=e.replace(ee,te);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),y.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"!==e)return a;for(;n=a[i++];)1===n.nodeType&&r.push(n);return r},y.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&S)return t.getElementsByClassName(e)},s=[],_=[],(p.qsa=Q.test(A.querySelectorAll))&&(oe(function(e){o.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\["+N+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+T+"-]").length||_.push("~="),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||_.push(".#.+[+~]")}),oe(function(e){var t=A.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name"+N+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")})),(p.matchesSelector=Q.test(u=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&oe(function(e){p.disconnectedMatch=u.call(e,"div"),u.call(e,"[s!='']:x"),s.push("!=",G)}),_=_.length&&new RegExp(_.join("|")),s=s.length&&new RegExp(s.join("|")),t=Q.test(o.compareDocumentPosition),b=t||Q.test(o.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===A||e.ownerDocument===v&&b(v,e)?-1:t===A||t.ownerDocument===v&&b(v,t)?1:c?O(c,e)-O(c,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e===A?-1:t===A?1:i?-1:a?1:c?O(c,e)-O(c,t):0;if(i===a)return ce(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?ce(o[r],s[r]):o[r]===v?-1:s[r]===v?1:0}),A},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==A&&C(e),t=t.replace(W,"='$1']"),p.matchesSelector&&S&&!k[t+" "]&&(!s||!s.test(t))&&(!_||!_.test(t)))try{var n=u.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<re(t,A,null,[e]).length},re.contains=function(e,t){return(e.ownerDocument||e)!==A&&C(e),b(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==A&&C(e);var n=y.attrHandle[t.toLowerCase()],r=n&&D.call(y.attrHandle,t.toLowerCase())?n(e,t,!S):void 0;return void 0!==r?r:p.attributes||!S?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!p.detectDuplicates,c=!p.sortStable&&e.slice(0),e.sort(E),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return c=null,e},a=re.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},(y=re.selectors={cacheLength:50,createPseudo:ae,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=m(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=d[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&d(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=re.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(j," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,m,g){var _="nth"!==p.slice(0,3),b="last"!==p.slice(-4),v="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,a,o,s,c,l=_!==b?"nextSibling":"previousSibling",u=e.parentNode,f=v&&e.nodeName.toLowerCase(),d=!n&&!v,h=!1;if(u){if(_){for(;l;){for(o=e;o=o[l];)if(v?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;c=l="only"===p&&!c&&"nextSibling"}return!0}if(c=[b?u.firstChild:u.lastChild],b&&d){for(h=(s=(r=(i=(a=(o=u)[T]||(o[T]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]||[])[0]===x&&r[1])&&r[2],o=s&&u.childNodes[s];o=++s&&o&&o[l]||(h=s=0)||c.pop();)if(1===o.nodeType&&++h&&o===e){i[p]=[x,s,h];break}}else if(d&&(h=s=(r=(i=(a=(o=e)[T]||(o[T]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]||[])[0]===x&&r[1]),!1===h)for(;(o=++s&&o&&o[l]||(h=s=0)||c.pop())&&((v?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++h||(d&&((i=(a=o[T]||(o[T]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]=[x,h]),o!==e)););return(h-=g)===m||h%m==0&&0<=h/m}}},PSEUDO:function(e,a){var t,o=y.pseudos[e]||y.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return o[T]?o(a):1<o.length?(t=[e,e,"",a],y.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,t){for(var n,r=o(e,a),i=r.length;i--;)e[n=O(e,r[i])]=!(t[n]=r[i])}):function(e){return o(e,0,t)}):o}},pseudos:{not:ae(function(e){var r=[],i=[],s=f(e.replace(B,"$1"));return s[T]?ae(function(e,t,n,r){for(var i,a=s(e,null,r,[]),o=e.length;o--;)(i=a[o])&&(e[o]=!(t[o]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:ae(function(t){return function(e){return 0<re(t,e).length}}),contains:ae(function(t){return t=t.replace(ee,te),function(e){return-1<(e.textContent||e.innerText||a(e)).indexOf(t)}}),lang:ae(function(n){return z.test(n||"")||re.error("unsupported lang: "+n),n=n.replace(ee,te).toLowerCase(),function(e){var t;do{if(t=S?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===o},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!y.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=y.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})y.pseudos[e]=le(e);for(e in{submit:!0,reset:!0})y.pseudos[e]=ue(e);function he(){}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(s,e,t){var c=e.dir,l=t&&"parentNode"===c,u=r++;return e.first?function(e,t,n){for(;e=e[c];)if(1===e.nodeType||l)return s(e,t,n)}:function(e,t,n){var r,i,a,o=[x,u];if(n){for(;e=e[c];)if((1===e.nodeType||l)&&s(e,t,n))return!0}else for(;e=e[c];)if(1===e.nodeType||l){if((r=(i=(a=e[T]||(e[T]={}))[e.uniqueID]||(a[e.uniqueID]={}))[c])&&r[0]===x&&r[1]===u)return o[2]=r[2];if((i[c]=o)[2]=s(e,t,n))return!0}}}function ge(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function _e(e,t,n,r,i){for(var a,o=[],s=0,c=e.length,l=null!=t;s<c;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),l&&t.push(s)));return o}function be(h,p,m,g,_,e){return g&&!g[T]&&(g=be(g)),_&&!_[T]&&(_=be(_,e)),ae(function(e,t,n,r){var i,a,o,s=[],c=[],l=t.length,u=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)re(e,t[r],n);return n}(p||"*",n.nodeType?[n]:n,[]),f=!h||!e&&p?u:_e(u,s,h,n,r),d=m?_||(e?h:l||g)?[]:t:f;if(m&&m(f,d,n,r),g)for(i=_e(d,c),g(i,[],n,r),a=i.length;a--;)(o=i[a])&&(d[c[a]]=!(f[c[a]]=o));if(e){if(_||h){if(_){for(i=[],a=d.length;a--;)(o=d[a])&&i.push(f[a]=o);_(null,d=[],i,r)}for(a=d.length;a--;)(o=d[a])&&-1<(i=_?O(e,o):s[a])&&(e[i]=!(t[i]=o))}}else d=_e(d===t?d.splice(l,d.length):d),_?_(null,t,d,r):M.apply(t,d)})}function ve(e){for(var i,t,n,r=e.length,a=y.relative[e[0].type],o=a||y.relative[" "],s=a?1:0,c=me(function(e){return e===i},o,!0),l=me(function(e){return-1<O(i,e)},o,!0),u=[function(e,t,n){var r=!a&&(n||t!==w)||((i=t).nodeType?c(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=y.relative[e[s].type])u=[me(ge(u),t)];else{if((t=y.filter[e[s].type].apply(null,e[s].matches))[T]){for(n=++s;n<r&&!y.relative[e[n].type];n++);return be(1<s&&ge(u),1<s&&pe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),t,s<n&&ve(e.slice(s,n)),n<r&&ve(e=e.slice(n)),n<r&&pe(e))}u.push(t)}return ge(u)}return he.prototype=y.filters=y.pseudos,y.setFilters=new he,m=re.tokenize=function(e,t){var n,r,i,a,o,s,c,l=h[e+" "];if(l)return t?0:l.slice(0);for(o=e,s=[],c=y.preFilter;o;){for(a in n&&!(r=U.exec(o))||(r&&(o=o.slice(r[0].length)||o),s.push(i=[])),n=!1,(r=H.exec(o))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),o=o.slice(n.length)),y.filter)!(r=V[a].exec(o))||c[a]&&!(r=c[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),o=o.slice(n.length));if(!n)break}return t?o.length:o?re.error(e):h(e,s).slice(0)},f=re.compile=function(e,t){var n,g,_,b,v,r,i=[],a=[],o=k[e+" "];if(!o){for(t||(t=m(e)),n=t.length;n--;)(o=ve(t[n]))[T]?i.push(o):a.push(o);(o=k(e,(g=a,b=0<(_=i).length,v=0<g.length,r=function(e,t,n,r,i){var a,o,s,c=0,l="0",u=e&&[],f=[],d=w,h=e||v&&y.find.TAG("*",i),p=x+=null==d?1:Math.random()||.1,m=h.length;for(i&&(w=t===A||t||i);l!==m&&null!=(a=h[l]);l++){if(v&&a){for(o=0,t||a.ownerDocument===A||(C(a),n=!S);s=g[o++];)if(s(a,t||A,n)){r.push(a);break}i&&(x=p)}b&&((a=!s&&a)&&c--,e&&u.push(a))}if(c+=l,b&&l!==c){for(o=0;s=_[o++];)s(u,f,t,n);if(e){if(0<c)for(;l--;)u[l]||f[l]||(f[l]=I.call(r));f=_e(f)}M.apply(r,f),i&&!e&&0<f.length&&1<c+_.length&&re.uniqueSort(r)}return i&&(x=p,w=d),u},b?ae(r):r))).selector=e}return o},g=re.select=function(e,t,n,r){var i,a,o,s,c,l="function"==typeof e&&e,u=!r&&m(e=l.selector||e);if(n=n||[],1===u.length){if(2<(a=u[0]=u[0].slice(0)).length&&"ID"===(o=a[0]).type&&p.getById&&9===t.nodeType&&S&&y.relative[a[1].type]){if(!(t=(y.find.ID(o.matches[0].replace(ee,te),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(i=V.needsContext.test(e)?0:a.length;i--&&(o=a[i],!y.relative[s=o.type]);)if((c=y.find[s])&&(r=c(o.matches[0].replace(ee,te),Z.test(a[0].type)&&de(t.parentNode)||t))){if(a.splice(i,1),!(e=r.length&&pe(a)))return M.apply(n,r),n;break}}return(l||f(e,u))(r,t,!S,n,!t||Z.test(e)&&de(t.parentNode)||t),n},p.sortStable=T.split("").sort(E).join("")===T,p.detectDuplicates=!!l,C(),p.sortDetached=oe(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),oe(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||se("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),p.attributes&&oe(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||se("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),oe(function(e){return null==e.getAttribute("disabled")})||se(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),re}(A);T.find=h,T.expr=h.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=h.uniqueSort,T.text=h.getText,T.isXMLDoc=h.isXML,T.contains=h.contains;var _=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r},b=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},v=T.expr.match.needsContext,y=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function C(e,n,r){if(T.isFunction(n))return T.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return T.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(w.test(n))return T.filter(n,e,r);n=T.filter(n,e)}return T.grep(e,function(e){return-1<i.call(n,e)!==r})}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<n;t++)if(T.contains(i[t],this))return!0}));for(t=0;t<n;t++)T.find(e,i[t],r);return(r=this.pushStack(1<n?T.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(C(this,e||[],!1))},not:function(e){return this.pushStack(C(this,e||[],!0))},is:function(e){return!!C(this,"string"==typeof e&&v.test(e)?T(e):e||[],!1).length}});var x,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||x,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?void 0!==n.ready?n.ready(e):e(T):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:k.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:S,!0)),y.test(r[1])&&T.isPlainObject(t))for(r in t)T.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=S.getElementById(r[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=S,this.selector=e,this}).prototype=T.fn,x=T(S);var E=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],o=v.test(e)||"string"!=typeof e?T(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(1<a.length?T.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?i.call(T(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return b((e.parentNode||{}).firstChild,e)},children:function(e){return b(e.firstChild)},contents:function(e){return e.contentDocument||T.merge([],e.childNodes)}},function(r,i){T.fn[r]=function(e,t){var n=T.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=T.filter(t,n)),1<this.length&&(D[r]||T.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var P,M=/\S+/g;function $(){S.removeEventListener("DOMContentLoaded",$),A.removeEventListener("load",$),T.ready()}T.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},T.each(e.match(M)||[],function(e,t){n[t]=!0}),n):T.extend({},r);var i,t,a,o,s=[],c=[],l=-1,u=function(){for(o=r.once,a=i=!0;c.length;l=-1)for(t=c.shift();++l<s.length;)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1);r.memory||(t=!1),i=!1,o&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,c.push(t)),function n(e){T.each(e,function(e,t){T.isFunction(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==T.type(t)&&n(t)})}(arguments),t&&!i&&u()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;-1<(n=T.inArray(t,s,n));)s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<T.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return o=c=[],s=t="",this},disabled:function(){return!s},lock:function(){return o=c=[],t||(s=t=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),i||u()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!a}};return f},T.extend({Deferred:function(e){var a=[["resolve","done",T.Callbacks("once memory"),"resolved"],["reject","fail",T.Callbacks("once memory"),"rejected"],["notify","progress",T.Callbacks("memory")]],i="pending",o={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var i=arguments;return T.Deferred(function(r){T.each(a,function(e,t){var n=T.isFunction(i[e])&&i[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&T.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this===o?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},s={};return o.pipe=o.then,T.each(a,function(e,t){var n=t[2],r=t[3];o[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?o:this,arguments),this},s[t[0]+"With"]=n.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){var i,t,n,r=0,a=u.call(arguments),o=a.length,s=1!==o||e&&T.isFunction(e.promise)?o:0,c=1===s?e:T.Deferred(),l=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?u.call(arguments):e,r===i?c.notifyWith(n,r):--s||c.resolveWith(n,r)}};if(1<o)for(i=new Array(o),t=new Array(o),n=new Array(o);r<o;r++)a[r]&&T.isFunction(a[r].promise)?a[r].promise().progress(l(r,t,i)).done(l(r,n,a)).fail(c.reject):--s;return s||c.resolveWith(n,a),c.promise()}}),T.fn.ready=function(e){return T.ready.promise().done(e),this},T.extend({isReady:!1,readyWait:1,holdReady:function(e){e?T.readyWait++:T.ready(!0)},ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||(P.resolveWith(S,[T]),T.fn.triggerHandler&&(T(S).triggerHandler("ready"),T(S).off("ready")))}}),T.ready.promise=function(e){return P||(P=T.Deferred(),"complete"===S.readyState||"loading"!==S.readyState&&!S.documentElement.doScroll?A.setTimeout(T.ready):(S.addEventListener("DOMContentLoaded",$),A.addEventListener("load",$))),P.promise(e)},T.ready.promise();var O=function(e,t,n,r,i,a,o){var s=0,c=e.length,l=null==n;if("object"===T.type(n))for(s in i=!0,n)O(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,T.isFunction(r)||(o=!0),l&&(t=o?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(T(e),n)})),t))for(;s<c;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):c?t(e[0],n):a},R=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function N(){this.expando=T.expando+N.uid++}N.uid=1,N.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!R(e))return{};var t=e[this.expando];return t||(t={},R(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,T.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,a=e[this.expando];if(void 0!==a){if(void 0===t)this.register(e);else{n=(r=T.isArray(t)?t.concat(t.map(T.camelCase)):(i=T.camelCase(t),t in a?[t,i]:(r=i)in a?[r]:r.match(M)||[])).length;for(;n--;)delete a[r[n]]}(void 0===t||T.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var L=new N,F=new N,G=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,j=/[A-Z]/g;function B(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(j,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:G.test(n)?T.parseJSON(n):n)}catch(e){}F.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return F.hasData(e)||L.hasData(e)},data:function(e,t,n){return F.access(e,t,n)},removeData:function(e,t){F.remove(e,t)},_data:function(e,t,n){return L.access(e,t,n)},_removeData:function(e,t){L.remove(e,t)}}),T.fn.extend({data:function(r,e){var t,n,i,a=this[0],o=a&&a.attributes;if(void 0!==r)return"object"==typeof r?this.each(function(){F.set(this,r)}):O(this,function(t){var e,n;if(a&&void 0===t)return void 0!==(e=F.get(a,r)||F.get(a,r.replace(j,"-$&").toLowerCase()))?e:(n=T.camelCase(r),void 0!==(e=F.get(a,n))?e:void 0!==(e=B(a,n,void 0))?e:void 0);n=T.camelCase(r),this.each(function(){var e=F.get(this,n);F.set(this,n,t),-1<r.indexOf("-")&&void 0!==e&&F.set(this,r,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=F.get(a),1===a.nodeType&&!L.get(a,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&0===(n=o[t].name).indexOf("data-")&&(n=T.camelCase(n.slice(5)),B(a,n,i[n]));L.set(a,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){F.remove(this,e)})}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=L.get(e,t),n&&(!r||T.isArray(n)?r=L.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),a=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,function(){T.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return L.get(e,n)||L.access(e,n,{empty:T.Callbacks("once memory").add(function(){L.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===n?this:this.each(function(){var e=T.queue(this,t,n);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=T.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=L.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var U=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,H=new RegExp("^(?:([+-])=|)("+U+")([a-z%]*)$","i"),W=["Top","Right","Bottom","Left"],q=function(e,t){return e=t||e,"none"===T.css(e,"display")||!T.contains(e.ownerDocument,e)};function z(e,t,n,r){var i,a=1,o=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},c=s(),l=n&&n[3]||(T.cssNumber[t]?"":"px"),u=(T.cssNumber[t]||"px"!==l&&+c)&&H.exec(T.css(e,t));if(u&&u[3]!==l)for(l=l||u[3],n=n||[],u=+c||1;u/=a=a||".5",T.style(e,t,u+l),a!==(a=s()/c)&&1!==a&&--o;);return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var V=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,K=/^$|\/(?:java|ecma)script/i,Q={option:[1,"<select multiple='multiple'>","</select>"],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 X(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&T.nodeName(e,t)?T.merge([e],n):n}function Z(e,t){for(var n=0,r=e.length;n<r;n++)L.set(e[n],"globalEval",!t||L.get(t[n],"globalEval"))}Q.optgroup=Q.option,Q.tbody=Q.tfoot=Q.colgroup=Q.caption=Q.thead,Q.th=Q.td;var J,ee,te=/<|&#?\w+;/;function ne(e,t,n,r,i){for(var a,o,s,c,l,u,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((a=e[h])||0===a)if("object"===T.type(a))T.merge(d,a.nodeType?[a]:a);else if(te.test(a)){for(o=o||f.appendChild(t.createElement("div")),s=(Y.exec(a)||["",""])[1].toLowerCase(),c=Q[s]||Q._default,o.innerHTML=c[1]+T.htmlPrefilter(a)+c[2],u=c[0];u--;)o=o.lastChild;T.merge(d,o.childNodes),(o=f.firstChild).textContent=""}else d.push(t.createTextNode(a));for(f.textContent="",h=0;a=d[h++];)if(r&&-1<T.inArray(a,r))i&&i.push(a);else if(l=T.contains(a.ownerDocument,a),o=X(f.appendChild(a),"script"),l&&Z(o),n)for(u=0;a=o[u++];)K.test(a.type||"")&&n.push(a);return f}J=S.createDocumentFragment().appendChild(S.createElement("div")),(ee=S.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),J.appendChild(ee),g.checkClone=J.cloneNode(!0).cloneNode(!0).lastChild.checked,J.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!J.cloneNode(!0).lastChild.defaultValue;var re=/^key/,ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ae=/^([^.]*)(?:\.(.+)|)/;function oe(){return!0}function se(){return!1}function ce(){try{return S.activeElement}catch(e){}}function le(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)le(e,s,n,r,t[s],a);return e}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=se;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return T().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=T.guid++)),e.each(function(){T.event.add(this,t,i,r,n)})}T.event={global:{},add:function(t,e,n,r,i){var a,o,s,c,l,u,f,d,h,p,m,g=L.get(t);if(g)for(n.handler&&(n=(a=n).handler,i=a.selector),n.guid||(n.guid=T.guid++),(c=g.events)||(c=g.events={}),(o=g.handle)||(o=g.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(M)||[""]).length;l--;)h=m=(s=ae.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=T.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=T.event.special[h]||{},u=T.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},a),(d=c[h])||((d=c[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,o)||t.addEventListener&&t.addEventListener(h,o)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),T.event.global[h]=!0)},remove:function(e,t,n,r,i){var a,o,s,c,l,u,f,d,h,p,m,g=L.hasData(e)&&L.get(e);if(g&&(c=g.events)){for(l=(t=(t||"").match(M)||[""]).length;l--;)if(h=m=(s=ae.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=T.event.special[h]||{},d=c[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)u=d[a],!i&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(a,1),u.selector&&d.delegateCount--,f.remove&&f.remove.call(e,u));o&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,g.handle)||T.removeEvent(e,h,g.handle),delete c[h])}else for(h in c)T.event.remove(e,h+t[l],n,r,!0);T.isEmptyObject(c)&&L.remove(e,"handle events")}},dispatch:function(e){e=T.event.fix(e);var t,n,r,i,a,o,s=u.call(arguments),c=(L.get(this,"events")||{})[e.type]||[],l=T.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(o=T.event.handlers.call(this,e,c),t=0;(i=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((T.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,o=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)void 0===r[i=(a=t[n]).selector+" "]&&(r[i]=a.needsContext?-1<T(i,this).index(c):T.find(i,this,null,[c]).length),r[i]&&r.push(a);r.length&&o.push({elem:c,handlers:r})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||S).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[T.expando])return e;var t,n,r,i=e.type,a=e,o=this.fixHooks[i];for(o||(this.fixHooks[i]=o=ie.test(i)?this.mouseHooks:re.test(i)?this.keyHooks:{}),r=o.props?this.props.concat(o.props):this.props,e=new T.Event(a),t=r.length;t--;)e[n=r[t]]=a[n];return e.target||(e.target=S),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ce()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ce()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&T.nodeName(this,"input"))return this.click(),!1},_default:function(e){return T.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?oe:se):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||T.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:se,isPropagationStopped:se,isImmediatePropagationStopped:se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){T.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),T.fn.extend({on:function(e,t,n,r){return le(this,e,t,n,r)},one:function(e,t,n,r){return le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=se),this.each(function(){T.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var ue=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,fe=/<script|<style|<link/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,he=/^true\/(.*)/,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function me(e,t){return T.nodeName(e,"table")&&T.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ge(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function _e(e){var t=he.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function be(e,t){var n,r,i,a,o,s,c,l;if(1===t.nodeType){if(L.hasData(e)&&(a=L.access(e),o=L.set(t,a),l=a.events))for(i in delete o.handle,o.events={},l)for(n=0,r=l[i].length;n<r;n++)T.event.add(t,i,l[i][n]);F.hasData(e)&&(s=F.access(e),c=T.extend({},s),F.set(t,c))}}function ve(n,r,i,a){r=m.apply([],r);var e,t,o,s,c,l,u=0,f=n.length,d=f-1,h=r[0],p=T.isFunction(h);if(p||1<f&&"string"==typeof h&&!g.checkClone&&de.test(h))return n.each(function(e){var t=n.eq(e);p&&(r[0]=h.call(this,e,t.html())),ve(t,r,i,a)});if(f&&(t=(e=ne(r,n[0].ownerDocument,!1,n,a)).firstChild,1===e.childNodes.length&&(e=t),t||a)){for(s=(o=T.map(X(e,"script"),ge)).length;u<f;u++)c=e,u!==d&&(c=T.clone(c,!0,!0),s&&T.merge(o,X(c,"script"))),i.call(n[u],c,u);if(s)for(l=o[o.length-1].ownerDocument,T.map(o,_e),u=0;u<s;u++)c=o[u],K.test(c.type||"")&&!L.access(c,"globalEval")&&T.contains(l,c)&&(c.src?T._evalUrl&&T._evalUrl(c.src):T.globalEval(c.textContent.replace(pe,"")))}return n}function ye(e,t,n){for(var r,i=t?T.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||T.cleanData(X(r)),r.parentNode&&(n&&T.contains(r.ownerDocument,r)&&Z(X(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e.replace(ue,"<$1></$2>")},clone:function(e,t,n){var r,i,a,o,s,c,l,u=e.cloneNode(!0),f=T.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(o=X(u),r=0,i=(a=X(e)).length;r<i;r++)s=a[r],c=o[r],void 0,"input"===(l=c.nodeName.toLowerCase())&&V.test(s.type)?c.checked=s.checked:"input"!==l&&"textarea"!==l||(c.defaultValue=s.defaultValue);if(t)if(n)for(a=a||X(e),o=o||X(u),r=0,i=a.length;r<i;r++)be(a[r],o[r]);else be(e,u);return 0<(o=X(u,"script")).length&&Z(o,!f&&X(e,"script")),u},cleanData:function(e){for(var t,n,r,i=T.event.special,a=0;void 0!==(n=e[a]);a++)if(R(n)){if(t=n[L.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[L.expando]=void 0}n[F.expando]&&(n[F.expando]=void 0)}}}),T.fn.extend({domManip:ve,detach:function(e){return ye(this,e,!0)},remove:function(e){return ye(this,e)},text:function(e){return O(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||me(this,e).appendChild(e)})},prepend:function(){return ve(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(X(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return O(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!fe.test(e)&&!Q[(Y.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(X(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return ve(this,arguments,function(e){var t=this.parentNode;T.inArray(this,n)<0&&(T.cleanData(X(this)),t&&t.replaceChild(e,this))},n)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){T.fn[e]=function(e){for(var t,n=[],r=T(e),i=r.length-1,a=0;a<=i;a++)t=a===i?this:this.clone(!0),T(r[a])[o](t),s.apply(n,t.get());return this.pushStack(n)}});var we,Ce={HTML:"block",BODY:"block"};function Ae(e,t){var n=T(t.createElement(e)).appendTo(t.body),r=T.css(n[0],"display");return n.detach(),r}function Se(e){var t=S,n=Ce[e];return n||("none"!==(n=Ae(e,t))&&n||((t=(we=(we||T("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Ae(e,t),we.detach()),Ce[e]=n),n}var Te=/^margin/,xe=new RegExp("^("+U+")(?!px)[a-z%]+$","i"),ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=A),t.getComputedStyle(e)},Ee=function(e,t,n,r){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in i=n.apply(e,r||[]),t)e.style[a]=o[a];return i},De=S.documentElement;function Ie(e,t,n){var r,i,a,o,s=e.style;return""!==(o=(n=n||ke(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==o||T.contains(e.ownerDocument,e)||(o=T.style(e,t)),n&&!g.pixelMarginRight()&&xe.test(o)&&Te.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a),void 0!==o?o+"":o}function Pe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var t,n,r,i,a=S.createElement("div"),o=S.createElement("div");function e(){o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",o.innerHTML="",De.appendChild(a);var e=A.getComputedStyle(o);t="1%"!==e.top,i="2px"===e.marginLeft,n="4px"===e.width,o.style.marginRight="50%",r="4px"===e.marginRight,De.removeChild(a)}o.style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(o),T.extend(g,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==n&&e(),n},pixelMarginRight:function(){return null==n&&e(),r},reliableMarginLeft:function(){return null==n&&e(),i},reliableMarginRight:function(){var e,t=o.appendChild(S.createElement("div"));return t.style.cssText=o.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",o.style.width="1px",De.appendChild(a),e=!parseFloat(A.getComputedStyle(t).marginRight),De.removeChild(a),o.removeChild(t),e}}))}();var Me=/^(none|table(?!-c[ea]).+)/,$e={position:"absolute",visibility:"hidden",display:"block"},Oe={letterSpacing:"0",fontWeight:"400"},Re=["Webkit","O","Moz","ms"],Ne=S.createElement("div").style;function Le(e){if(e in Ne)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Re.length;n--;)if((e=Re[n]+t)in Ne)return e}function Fe(e,t,n){var r=H.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ge(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,o=0;a<4;a+=2)"margin"===n&&(o+=T.css(e,n+W[a],!0,i)),r?("content"===n&&(o-=T.css(e,"padding"+W[a],!0,i)),"margin"!==n&&(o-=T.css(e,"border"+W[a]+"Width",!0,i))):(o+=T.css(e,"padding"+W[a],!0,i),"padding"!==n&&(o+=T.css(e,"border"+W[a]+"Width",!0,i)));return o}function je(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=ke(e),o="border-box"===T.css(e,"boxSizing",!1,a);if(i<=0||null==i){if(((i=Ie(e,t,a))<0||null==i)&&(i=e.style[t]),xe.test(i))return i;r=o&&(g.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ge(e,t,n||(o?"border":"content"),r,a)+"px"}function Be(e,t){for(var n,r,i,a=[],o=0,s=e.length;o<s;o++)(r=e[o]).style&&(a[o]=L.get(r,"olddisplay"),n=r.style.display,t?(a[o]||"none"!==n||(r.style.display=""),""===r.style.display&&q(r)&&(a[o]=L.access(r,"olddisplay",Se(r.nodeName)))):(i=q(r),"none"===n&&i||L.set(r,"olddisplay",i?n:T.css(r,"display"))));for(o=0;o<s;o++)(r=e[o]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[o]||"":"none"));return e}function Ue(e,t,n,r,i){return new Ue.prototype.init(e,t,n,r,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ie(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=T.camelCase(t),c=e.style;if(t=T.cssProps[s]||(T.cssProps[s]=Le(s)||s),o=T.cssHooks[t]||T.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:c[t];"string"===(a=typeof n)&&(i=H.exec(n))&&i[1]&&(n=z(e,t,i),a="number"),null!=n&&n==n&&("number"===a&&(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(c[t]=n))}},css:function(e,t,n,r){var i,a,o,s=T.camelCase(t);return t=T.cssProps[s]||(T.cssProps[s]=Le(s)||s),(o=T.cssHooks[t]||T.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=Ie(e,t,r)),"normal"===i&&t in Oe&&(i=Oe[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),T.each(["height","width"],function(e,o){T.cssHooks[o]={get:function(e,t,n){if(t)return Me.test(T.css(e,"display"))&&0===e.offsetWidth?Ee(e,$e,function(){return je(e,o,n)}):je(e,o,n)},set:function(e,t,n){var r,i=n&&ke(e),a=n&&Ge(e,o,n,"border-box"===T.css(e,"boxSizing",!1,i),i);return a&&(r=H.exec(t))&&"px"!==(r[3]||"px")&&(e.style[o]=t,t=T.css(e,o)),Fe(0,t,a)}}}),T.cssHooks.marginLeft=Pe(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ie(e,"marginLeft"))||e.getBoundingClientRect().left-Ee(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.cssHooks.marginRight=Pe(g.reliableMarginRight,function(e,t){if(t)return Ee(e,{display:"inline-block"},Ie,[e,"marginRight"])}),T.each({margin:"",padding:"",border:"Width"},function(i,a){T.cssHooks[i+a]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+W[t]+a]=r[t]||r[t-2]||r[0];return n}},Te.test(i)||(T.cssHooks[i+a].set=Fe)}),T.fn.extend({css:function(e,t){return O(this,function(e,t,n){var r,i,a={},o=0;if(T.isArray(t)){for(r=ke(e),i=t.length;o<i;o++)a[t[o]]=T.css(e,t[o],!1,r);return a}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,1<arguments.length)},show:function(){return Be(this,!0)},hide:function(){return Be(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){q(this)?T(this).show():T(this).hide()})}}),((T.Tween=Ue).prototype={constructor:Ue,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(T.cssNumber[n]?"":"px")},cur:function(){var e=Ue.propHooks[this.prop];return e&&e.get?e.get(this):Ue.propHooks._default.get(this)},run:function(e){var t,n=Ue.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ue.propHooks._default.set(this),this}}).init.prototype=Ue.prototype,(Ue.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[T.cssProps[e.prop]]&&!T.cssHooks[e.prop]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ue.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=Ue.prototype.init,T.fx.step={};var He,We,qe,ze,Ve,Ye=/^(?:toggle|show|hide)$/,Ke=/queueHooks$/;function Qe(){return A.setTimeout(function(){He=void 0}),He=T.now()}function Xe(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=W[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Ze(e,t,n){for(var r,i=(Je.tweeners[t]||[]).concat(Je.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function Je(a,e,t){var n,o,r=0,i=Je.prefilters.length,s=T.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var e=He||Qe(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(a,[l,n,t]),n<1&&i?t:(s.resolveWith(a,[l]),!1)},l=s.promise({elem:a,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},t),originalProperties:e,originalOptions:t,startTime:He||Qe(),duration:t.duration,tweens:[],createTween:function(e,t){var n=T.Tween(a,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(a,[l,1,0]),s.resolveWith(a,[l,e])):s.rejectWith(a,[l,e]),this}}),u=l.props;for(!function(e,t){var n,r,i,a,o;for(n in e)if(i=t[r=T.camelCase(n)],a=e[n],T.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=T.cssHooks[r])&&"expand"in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(u,l.opts.specialEasing);r<i;r++)if(n=Je.prefilters[r].call(l,a,u,l.opts))return T.isFunction(n.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=T.proxy(n.stop,n)),n;return T.map(u,Ze,l),T.isFunction(l.opts.start)&&l.opts.start.call(a,l),T.fx.timer(T.extend(c,{elem:a,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}T.Animation=T.extend(Je,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return z(n.elem,e,H.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=T.isFunction(e)?(t=e,["*"]):e.match(M)).length;r<i;r++)n=e[r],Je.tweeners[n]=Je.tweeners[n]||[],Je.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var r,i,a,o,s,c,l,u=this,f={},d=t.style,h=t.nodeType&&q(t),p=L.get(t,"fxshow");for(r in n.queue||(null==(s=T._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,c=s.empty.fire,s.empty.fire=function(){s.unqueued||c()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,T.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===("none"===(l=T.css(t,"display"))?L.get(t,"olddisplay")||Se(t.nodeName):l)&&"none"===T.css(t,"float")&&(d.display="inline-block")),n.overflow&&(d.overflow="hidden",u.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),e)if(i=e[r],Ye.exec(i)){if(delete e[r],a=a||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!p||void 0===p[r])continue;h=!0}f[r]=p&&p[r]||T.style(t,r)}else l=void 0;if(T.isEmptyObject(f))"inline"===("none"===l?Se(t.nodeName):l)&&(d.display=l);else for(r in p?"hidden"in p&&(h=p.hidden):p=L.access(t,"fxshow",{}),a&&(p.hidden=!h),h?T(t).show():u.done(function(){T(t).hide()}),u.done(function(){var e;for(e in L.remove(t,"fxshow"),f)T.style(t,e,f[e])}),f)o=Ze(h?p[r]:0,r,u),r in p||(p[r]=o.start,h&&(o.end=o.start,o.start="width"===r||"height"===r?1:0))}],prefilter:function(e,t){t?Je.prefilters.unshift(e):Je.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||T.isFunction(e)&&e,duration:e,easing:n&&t||t&&!T.isFunction(t)&&t};return r.duration=T.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in T.fx.speeds?T.fx.speeds[r.duration]:T.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){T.isFunction(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(q).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=T.isEmptyObject(t),a=T.speed(e,n,r),o=function(){var e=Je(this,T.extend({},t),a);(i||L.get(this,"finish"))&&e.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(i,e,a){var o=function(e){var t=e.stop;delete e.stop,t(a)};return"string"!=typeof i&&(a=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=T.timers,r=L.get(this);if(t)r[t]&&r[t].stop&&o(r[t]);else for(t in r)r[t]&&r[t].stop&&Ke.test(t)&&o(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(a),e=!1,n.splice(t,1));!e&&a||T.dequeue(this,i)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=L.get(this),n=t[o+"queue"],r=t[o+"queueHooks"],i=T.timers,a=n?n.length:0;for(t.finish=!0,T.queue(this,o,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===o&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<a;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,r){var i=T.fn[r];T.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(Xe(r,!0),e,t,n)}}),T.each({slideDown:Xe("show"),slideUp:Xe("hide"),slideToggle:Xe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){T.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(He=T.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),He=void 0},T.fx.timer=function(e){T.timers.push(e),e()?T.fx.start():T.timers.pop()},T.fx.interval=13,T.fx.start=function(){We||(We=A.setInterval(T.fx.tick,T.fx.interval))},T.fx.stop=function(){A.clearInterval(We),We=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(r,e){return r=T.fx&&T.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=A.setTimeout(e,r);t.stop=function(){A.clearTimeout(n)}})},qe=S.createElement("input"),ze=S.createElement("select"),Ve=ze.appendChild(S.createElement("option")),qe.type="checkbox",g.checkOn=""!==qe.value,g.optSelected=Ve.selected,ze.disabled=!0,g.optDisabled=!Ve.disabled,(qe=S.createElement("input")).value="t",qe.type="radio",g.radioValue="t"===qe.value;var et,tt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return O(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?T.prop(e,t,n):(1===a&&T.isXMLDoc(e)||(t=t.toLowerCase(),i=T.attrHooks[t]||(T.expr.match.bool.test(t)?et:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(M);if(a&&1===e.nodeType)for(;n=a[i++];)r=T.propFix[n]||n,T.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),et={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var a=tt[t]||T.find.attr;tt[t]=function(e,t,n){var r,i;return n||(i=tt[t],tt[t]=r,r=null!=a(e,t,n)?t.toLowerCase():null,tt[t]=i),r}});var nt=/^(?:input|select|textarea|button)$/i,rt=/^(?:a|area)$/i;T.fn.extend({prop:function(e,t){return O(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):nt.test(e.nodeName)||rt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this});var it=/[\t\r\n\f]/g;function at(e){return e.getAttribute&&e.getAttribute("class")||""}T.fn.extend({addClass:function(t){var e,n,r,i,a,o,s,c=0;if(T.isFunction(t))return this.each(function(e){T(this).addClass(t.call(this,e,at(this)))});if("string"==typeof t&&t)for(e=t.match(M)||[];n=this[c++];)if(i=at(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(o=0;a=e[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=T.trim(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,a,o,s,c=0;if(T.isFunction(t))return this.each(function(e){T(this).removeClass(t.call(this,e,at(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(M)||[];n=this[c++];)if(i=at(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(o=0;a=e[o++];)for(;-1<r.indexOf(" "+a+" ");)r=r.replace(" "+a+" "," ");i!==(s=T.trim(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var a=typeof i;return"boolean"==typeof t&&"string"===a?t?this.addClass(i):this.removeClass(i):T.isFunction(i)?this.each(function(e){T(this).toggleClass(i.call(this,e,at(this),t),t)}):this.each(function(){var e,t,n,r;if("string"===a)for(t=0,n=T(this),r=i.match(M)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!==a||((e=at(this))&&L.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":L.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+at(n)+" ").replace(it," ").indexOf(t))return!0;return!1}});var ot=/\r/g,st=/[\x20\t\r\n\f]+/g;T.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=T.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,T(this).val()):n)?t="":"number"==typeof t?t+="":T.isArray(t)&&(t=T.map(t,function(e){return null==e?"":e+""})),(r=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=T.valHooks[t.type]||T.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(ot,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:T.trim(T.text(e)).replace(st," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type||i<0,o=a?null:[],s=a?i+1:r.length,c=i<0?s:a?i:0;c<s;c++)if(((n=r[c]).selected||c===i)&&(g.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!T.nodeName(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,a=T.makeArray(t),o=i.length;o--;)((r=i[o]).selected=-1<T.inArray(T.valHooks.option.get(r),a))&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(T.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ct=/^(?:focusinfocus|focusoutblur)$/;T.extend(T.event,{trigger:function(e,t,n,r){var i,a,o,s,c,l,u,f=[n||S],d=p.call(e,"type")?e.type:e,h=p.call(e,"namespace")?e.namespace.split("."):[];if(a=o=n=n||S,3!==n.nodeType&&8!==n.nodeType&&!ct.test(d+T.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),c=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),u=T.event.special[d]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!T.isWindow(n)){for(s=u.delegateType||d,ct.test(s+d)||(a=a.parentNode);a;a=a.parentNode)f.push(a),o=a;o===(n.ownerDocument||S)&&f.push(o.defaultView||o.parentWindow||A)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)e.type=1<i?s:u.bindType||d,(l=(L.get(a,"events")||{})[e.type]&&L.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&R(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(f.pop(),t)||!R(n)||c&&T.isFunction(n[d])&&!T.isWindow(n)&&((o=n[c])&&(n[c]=null),n[T.event.triggered=d](),T.event.triggered=void 0,o&&(n[c]=o)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),T.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){T.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),T.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),g.focusin="onfocusin"in A,g.focusin||T.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){T.event.simulate(r,e.target,T.event.fix(e))};T.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=L.access(e,r);t||e.addEventListener(n,i,!0),L.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=L.access(e,r)-1;t?L.access(e,r,t):(e.removeEventListener(n,i,!0),L.remove(e,r))}}});var lt=A.location,ut=T.now(),ft=/\?/;T.parseJSON=function(e){return JSON.parse(e+"")},T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new A.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var dt=/#.*$/,ht=/([?&])_=[^&]*/,pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,mt=/^(?:GET|HEAD)$/,gt=/^\/\//,_t={},bt={},vt="*/".concat("*"),yt=S.createElement("a");function wt(a){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(M)||[];if(T.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(a[n]=a[n]||[]).unshift(t)):(a[n]=a[n]||[]).push(t)}}function Ct(t,i,a,o){var s={},c=t===bt;function l(e){var r;return s[e]=!0,T.each(t[e]||[],function(e,t){var n=t(i,a,o);return"string"!=typeof n||c||s[n]?c?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function At(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}yt.href=lt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":vt,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":T.parseJSON,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?At(At(e,T.ajaxSettings),t):At(T.ajaxSettings,e)},ajaxPrefilter:wt(_t),ajaxTransport:wt(bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,f,d,n,h,r,p,i,m=T.ajaxSetup({},t),g=m.context||m,_=m.context&&(g.nodeType||g.jquery)?T(g):T.event,b=T.Deferred(),v=T.Callbacks("once memory"),y=m.statusCode||{},a={},o={},w=0,s="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!n)for(n={};t=pt.exec(d);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?d:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=o[n]=o[n]||e,a[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)y[t]=[y[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||s;return u&&u.abort(t),c(0,t),this}};if(b.promise(C).complete=v.add,C.success=C.done,C.error=C.fail,m.url=((e||m.url||lt.href)+"").replace(dt,"").replace(gt,lt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=T.trim(m.dataType||"*").toLowerCase().match(M)||[""],null==m.crossDomain){r=S.createElement("a");try{r.href=m.url,r.href=r.href,m.crossDomain=yt.protocol+"//"+yt.host!=r.protocol+"//"+r.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=T.param(m.data,m.traditional)),Ct(_t,m,t,C),2===w)return C;for(i in(p=T.event&&m.global)&&0==T.active++&&T.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!mt.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(ft.test(f)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=ht.test(f)?f.replace(ht,"$1_="+ut++):f+(ft.test(f)?"&":"?")+"_="+ut++)),m.ifModified&&(T.lastModified[f]&&C.setRequestHeader("If-Modified-Since",T.lastModified[f]),T.etag[f]&&C.setRequestHeader("If-None-Match",T.etag[f])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&C.setRequestHeader("Content-Type",m.contentType),C.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+vt+"; q=0.01":""):m.accepts["*"]),m.headers)C.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,C,m)||2===w))return C.abort();for(i in s="abort",{success:1,error:1,complete:1})C[i](m[i]);if(u=Ct(bt,m,t,C)){if(C.readyState=1,p&&_.trigger("ajaxSend",[C,m]),2===w)return C;m.async&&0<m.timeout&&(h=A.setTimeout(function(){C.abort("timeout")},m.timeout));try{w=1,u.send(a,c)}catch(e){if(!(w<2))throw e;c(-1,e)}}else c(-1,"No Transport");function c(e,t,n,r){var i,a,o,s,c,l=t;2!==w&&(w=2,h&&A.clearTimeout(h),u=void 0,d=r||"",C.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var r,i,a,o,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)a=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==c[0]&&c.unshift(a),n[a]}(m,C,n)),s=function(e,t,n,r){var i,a,o,s,c,l={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=a,a=u.shift())if("*"===a)a=c;else if("*"!==c&&c!==a){if(!(o=l[c+" "+a]||l["* "+a]))for(i in l)if((s=i.split(" "))[1]===a&&(o=l[c+" "+s[0]]||l["* "+s[0]])){!0===o?o=l[i]:!0!==l[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+c+" to "+a}}}return{state:"success",data:t}}(m,s,C,i),i?(m.ifModified&&((c=C.getResponseHeader("Last-Modified"))&&(T.lastModified[f]=c),(c=C.getResponseHeader("etag"))&&(T.etag[f]=c)),204===e||"HEAD"===m.type?l="nocontent":304===e?l="notmodified":(l=s.state,a=s.data,i=!(o=s.error))):(o=l,!e&&l||(l="error",e<0&&(e=0))),C.status=e,C.statusText=(t||l)+"",i?b.resolveWith(g,[a,l,C]):b.rejectWith(g,[C,l,o]),C.statusCode(y),y=void 0,p&&_.trigger(i?"ajaxSuccess":"ajaxError",[C,m,i?a:o]),v.fireWith(g,[C,l]),p&&(_.trigger("ajaxComplete",[C,m]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,i){T[i]=function(e,t,n,r){return T.isFunction(t)&&(r=r||n,n=t,t=void 0),T.ajax(T.extend({url:e,type:i,dataType:r,data:t,success:n},T.isPlainObject(e)&&e))}}),T._evalUrl=function(e){return T.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){var e;return T.isFunction(t)?this.each(function(e){T(this).wrapAll(t.call(this,e))}):(this[0]&&(e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return T.isFunction(n)?this.each(function(e){T(this).wrapInner(n.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=T.isFunction(t);return this.each(function(e){T(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){T.nodeName(this,"body")||T(this).replaceWith(this.childNodes)}).end()}}),T.expr.filters.hidden=function(e){return!T.expr.filters.visible(e)},T.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var St=/%20/g,Tt=/\[\]$/,xt=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function Dt(n,e,r,i){var t;if(T.isArray(e))T.each(e,function(e,t){r||Tt.test(n)?i(n,t):Dt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==T.type(e))i(n,e);else for(t in e)Dt(n+"["+t+"]",e[t],r,i)}T.param=function(e,t){var n,r=[],i=function(e,t){t=T.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=T.ajaxSettings&&T.ajaxSettings.traditional),T.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){i(this.name,this.value)});else for(n in e)Dt(n,e[n],t,i);return r.join("&").replace(St,"+")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Et.test(this.nodeName)&&!kt.test(e)&&(this.checked||!V.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:T.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(xt,"\r\n")}}):{name:t.name,value:n.replace(xt,"\r\n")}}).get()}}),T.ajaxSettings.xhr=function(){try{return new A.XMLHttpRequest}catch(e){}};var It={0:200,1223:204},Pt=T.ajaxSettings.xhr();g.cors=!!Pt&&"withCredentials"in Pt,g.ajax=Pt=!!Pt,T.ajaxTransport(function(i){var a,o;if(g.cors||Pt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=o=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(It[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=a(),o=r.onerror=a("error"),void 0!==r.onabort?r.onabort=o:r.onreadystatechange=function(){4===r.readyState&&A.setTimeout(function(){a&&o()})},a=a("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(a)throw e}},abort:function(){a&&a()}}}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=T("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),S.head.appendChild(r[0])},abort:function(){i&&i()}}});var Mt=[],$t=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mt.pop()||T.expando+"_"+ut++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,a,o=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=T.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace($t,"$1"+r):!1!==e.jsonp&&(e.url+=(ft.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||T.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=A[r],A[r]=function(){a=arguments},n.always(function(){void 0===i?T(A).removeProp(r):A[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Mt.push(r)),a&&T.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),T.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||S;var r=y.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ne([e],t,i),i&&i.length&&T(i).remove(),T.merge([],r.childNodes))};var Ot=T.fn.load;function Rt(e){return T.isWindow(e)?e:9===e.nodeType&&e.defaultView}T.fn.load=function(e,t,n){if("string"!=typeof e&&Ot)return Ot.apply(this,arguments);var r,i,a,o=this,s=e.indexOf(" ");return-1<s&&(r=T.trim(e.slice(s)),e=e.slice(0,s)),T.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<o.length&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.filters.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,n){var r,i,a,o,s,c,l=T.css(e,"position"),u=T(e),f={};"static"===l&&(e.style.position="relative"),s=u.offset(),a=T.css(e,"top"),c=T.css(e,"left"),i=("absolute"===l||"fixed"===l)&&-1<(a+c).indexOf("auto")?(o=(r=u.position()).top,r.left):(o=parseFloat(a)||0,parseFloat(c)||0),T.isFunction(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(f.top=t.top-s.top+o),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):u.css(f)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},a=r&&r.ownerDocument;return a?(e=a.documentElement,T.contains(e,r)?(i=r.getBoundingClientRect(),n=Rt(a),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===T.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),T.nodeName(e[0],"html")||(r=e.offset()),r.top+=T.css(e[0],"borderTopWidth",!0),r.left+=T.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-T.css(n,"marginTop",!0),left:t.left-r.left-T.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||De})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var a="pageYOffset"===i;T.fn[t]=function(e){return O(this,function(e,t,n){var r=Rt(e);if(void 0===n)return r?r[i]:e[t];r?r.scrollTo(a?r.pageXOffset:n,a?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),T.each(["top","left"],function(e,n){T.cssHooks[n]=Pe(g.pixelPosition,function(e,t){if(t)return t=Ie(e,n),xe.test(t)?T(e).position()[n]+"px":t})}),T.each({Height:"height",Width:"width"},function(a,o){T.each({padding:"inner"+a,content:o,"":"outer"+a},function(r,e){T.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return O(this,function(e,t,n){var r;return T.isWindow(e)?e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?T.css(e,t,i):T.style(e,t,n,i)},o,n?e:void 0,n,null)}})}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),T.fn.andSelf=T.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var Nt=A.jQuery,Lt=A.$;return T.noConflict=function(e){return A.$===T&&(A.$=Lt),e&&A.jQuery===T&&(A.jQuery=Nt),T},e||(A.jQuery=A.$=T),T}),function(j){"use strict";function w(a,o){return o=o||Error,function(){var e,t,n=arguments,r=n[0],i="["+(a?a+":":"")+r+"] ";for(i+=n[1].replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1)+2;return t<n.length?Be(n[t]):e}),i+="\nhttp://errors.angularjs.org/1.5.10/"+(a?a+"/":"")+r,t=2,e="?";t<n.length;t++,e="&")i+=e+"p"+(t-2)+"="+encodeURIComponent(Be(n[t]));return new o(i)}}var a=/^\/(.+)\/([a-z]*)$/,f="validity",B=Object.prototype.hasOwnProperty,S=function(e){return ve(e)?e.toLowerCase():e},u=function(e){return ve(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(S=function(e){return ve(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},u=function(e){return ve(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e});var U,ue,o,g,s=[].slice,r=[].splice,e=[].push,H=Object.prototype.toString,c=Object.getPrototypeOf,l=w("ng"),v=j.angular||(j.angular={}),t=0;function O(e){if(null==e||D(e))return!1;if(ye(e)||ve(e)||ue&&e instanceof ue)return!0;var t="length"in Object(e)&&e.length;return C(t)&&(0<=t&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function fe(e,t,n){var r,i;if(e)if(we(e))for(r in e)"prototype"===r||"length"===r||"name"===r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(ye(e)||O(e)){var a="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(a||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==fe)e.forEach(t,n,e);else if(y(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)B.call(e,r)&&t.call(n,e[r],r,e);return e}function d(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function _(n){return function(e,t){n(t,e)}}function k(){return++t}function h(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function p(e,t,n){for(var r=e.$$hashKey,i=0,a=t.length;i<a;++i){var o=t[i];if(be(o)||we(o))for(var s=Object.keys(o),c=0,l=s.length;c<l;c++){var u=s[c],f=o[u];n&&be(f)?A(f)?e[u]=new Date(f.valueOf()):T(f)?e[u]=new RegExp(f):f.nodeName?e[u]=f.cloneNode(!0):$(f)?e[u]=f.clone():(be(e[u])||(e[u]=ye(f)?[]:{}),p(e[u],[f],!0)):e[u]=f}}return h(e,r),e}function de(e){return p(e,s.call(arguments,1),!1)}function n(e){return p(e,s.call(arguments,1),!0)}function m(e){return parseInt(e,10)}U=j.document.documentMode;var E=Number.isNaN||function(e){return e!=e};function he(e,t){return de(Object.create(e),t)}function pe(){}function me(e){return e}function x(e){return function(){return e}}function b(e){return we(e.toString)&&e.toString!==H}function ge(e){return void 0===e}function _e(e){return void 0!==e}function be(e){return null!==e&&"object"==typeof e}function y(e){return null!==e&&"object"==typeof e&&!c(e)}function ve(e){return"string"==typeof e}function C(e){return"number"==typeof e}function A(e){return"[object Date]"===H.call(e)}pe.$inject=[],me.$inject=[];var ye=Array.isArray;function we(e){return"function"==typeof e}function T(e){return"[object RegExp]"===H.call(e)}function D(e){return e&&e.window===e}function Ce(e){return e&&e.$evalAsync&&e.$watch}function Ae(e){return"boolean"==typeof e}function I(e){return e&&we(e.then)}var P=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var Se=function(e){return ve(e)?e.trim():e},M=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function $(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function Te(e){return S(e.nodeName||e[0]&&e[0].nodeName)}function xe(e,t){var n=e.indexOf(t);return 0<=n&&e.splice(n,1),n}function R(e,n){var t,r,i=[],a=[];if(n){if((r=n)&&C(r.length)&&P.test(H.call(r))||(t=n,"[object ArrayBuffer]"===H.call(t)))throw l("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===n)throw l("cpi","Can't copy! Source and destination are identical.");return ye(n)?n.length=0:fe(n,function(e,t){"$$hashKey"!==t&&delete n[t]}),i.push(e),a.push(n),o(e,n)}return s(e);function o(e,t){var n,r=t.$$hashKey;if(ye(e))for(var i=0,a=e.length;i<a;i++)t.push(s(e[i]));else if(y(e))for(n in e)t[n]=s(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=s(e[n]));else for(n in e)B.call(e,n)&&(t[n]=s(e[n]));return h(t,r),t}function s(e){if(!be(e))return e;var t=i.indexOf(e);if(-1!==t)return a[t];if(D(e)||Ce(e))throw l("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var n=!1,r=function(e){switch(H.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t;case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(we(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===r&&(r=ye(e)?[]:Object.create(c(e)),n=!0),i.push(e),a.push(r),n?o(e,r):r}}function ke(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,a=typeof e;if(a===typeof t&&"object"===a){if(!ye(e)){if(A(e))return!!A(t)&&ke(e.getTime(),t.getTime());if(T(e))return!!T(t)&&e.toString()===t.toString();if(Ce(e)||Ce(t)||D(e)||D(t)||ye(t)||A(t)||T(t))return!1;for(r in i=Oe(),e)if("$"!==r.charAt(0)&&!we(e[r])){if(!ke(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&_e(t[r])&&!we(t[r]))return!1;return!0}if(!ye(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!ke(e[r],t[r]))return!1;return!0}}return!1}var N=function(){if(!_e(N.rules)){var e=j.document.querySelector("[ng-csp]")||j.document.querySelector("[data-ng-csp]");if(e){var t=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");N.rules={noUnsafeEval:!t||-1!==t.indexOf("no-unsafe-eval"),noInlineStyle:!t||-1!==t.indexOf("no-inline-style")}}else N.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return N.rules},L=function(){if(_e(L.name_))return L.name_;var e,t,n,r,i=J.length;for(t=0;t<i;++t)if(n=J[t],e=j.document.querySelector("["+n.replace(":","\\:")+"jq]")){r=e.getAttribute(n+"jq");break}return L.name_=r};function F(e,t,n){return e.concat(s.call(t,n))}function Ee(e,t){return s.call(e,t||0)}function De(e,t){var n=2<arguments.length?Ee(arguments,2):[];return!we(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,F(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function i(e,t){var n=t;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?n=void 0:D(t)?n="$WINDOW":t&&j.document===t?n="$DOCUMENT":Ce(t)&&(n="$SCOPE"),n}function G(e,t){if(!ge(e))return C(t)||(t=t?2:null),JSON.stringify(e,i,t)}function W(e){return ve(e)?JSON.parse(e):e}var q=/:/g;function z(e,t){e=e.replace(q,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return E(n)?t:n}function V(e,t,n){n=n?-1:1;var r,i,a=e.getTimezoneOffset(),o=z(t,a);return r=e,i=n*(o-a),(r=new Date(r.getTime())).setMinutes(r.getMinutes()+i),r}function Ie(e){e=ue(e).clone();try{e.empty()}catch(e){}var t=ue("<div>").append(e).html();try{return e[0].nodeType===Ne?S(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+S(t)})}catch(e){return S(t)}}function Y(e){try{return decodeURIComponent(e)}catch(e){}}function K(e){var i={};return fe((e||"").split("&"),function(e){var t,n,r;e&&(n=e=e.replace(/\+/g,"%20"),-1!==(t=e.indexOf("="))&&(n=e.substring(0,t),r=e.substring(t+1)),_e(n=Y(n))&&(r=!_e(r)||Y(r),B.call(i,n)?ye(i[n])?i[n].push(r):i[n]=[i[n],r]:i[n]=r))}),i}function Q(e){var n=[];return fe(e,function(e,t){ye(e)?fe(e,function(e){n.push(Z(t,!0)+(!0===e?"":"="+Z(e,!0)))}):n.push(Z(t,!0)+(!0===e?"":"="+Z(e,!0)))}),n.length?n.join("&"):""}function X(e){return Z(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Z(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var J=["ng-","data-ng-","ng:","x-ng-"];var ee=function(e){if(!e.currentScript)return!0;var t=e.currentScript.getAttribute("src"),n=e.createElement("a");if(n.href=t,e.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}(j.document);function te(r,e){var i,a,t={};if(fe(J,function(e){var t=e+"app";!i&&r.hasAttribute&&r.hasAttribute(t)&&(a=(i=r).getAttribute(t))}),fe(J,function(e){var t,n=e+"app";!i&&(t=r.querySelector("["+n.replace(":","\\:")+"]"))&&(a=(i=t).getAttribute(n))}),i){if(!ee)return void j.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");t.strictDi=null!==function(e,t){var n,r,i=J.length;for(r=0;r<i;++r)if(n=J[r]+t,ve(n=e.getAttribute(n)))return n;return null}(i,"strict-di"),e(i,a?[a]:[],t)}}function ne(n,r,i){be(i)||(i={});i=de({strictDi:!1},i);var t=function(){if((n=ue(n)).injector()){var e=n[0]===j.document?"document":Ie(n);throw l("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"<").replace(/>/,">"))}(r=r||[]).unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var t=Ut(r,i.strictDi);return t.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),t},e=/^NG_ENABLE_DEBUG_INFO!/,a=/^NG_DEFER_BOOTSTRAP!/;if(j&&e.test(j.name)&&(i.debugInfoEnabled=!0,j.name=j.name.replace(e,"")),j&&!a.test(j.name))return t();j.name=j.name.replace(a,""),v.resumeBootstrap=function(e){return fe(e,function(e){r.push(e)}),t()},we(v.resumeDeferredBootstrap)&&v.resumeDeferredBootstrap()}function re(){j.name="NG_ENABLE_DEBUG_INFO!"+j.name,j.location.reload()}function ie(e){var t=v.element(e).injector();if(!t)throw l("test","no injector found for element argument to getTestability");return t.get("$$testability")}var ae=/[A-Z]/g;function Pe(e,n){return n=n||"_",e.replace(ae,function(e,t){return(t?n:"")+e.toLowerCase()})}var oe=!1;function Me(e,t,n){if(!e)throw l("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function se(e,t,n){return n&&ye(e)&&(e=e[e.length-1]),Me(we(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ce(e,t){if("hasOwnProperty"===e)throw l("badname","hasOwnProperty is not a valid {0} name",t)}function le(e,t,n){if(!t)return e;for(var r,i=t.split("."),a=e,o=i.length,s=0;s<o;s++)r=i[s],e&&(e=(a=e)[r]);return!n&&we(e)?De(a,e):e}function $e(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=ue(s.call(e,0,i))),t.push(n));return t||e}function Oe(){return Object.create(null)}var Re=1,Ne=3,Le=8,Fe=9,Ge=11;function je(e,t){if(ye(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(be(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function Be(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):ge(e)?"undefined":"string"!=typeof e?(t=e,n=[],JSON.stringify(t,function(e,t){if(be(t=i(e,t))){if(0<=n.indexOf(t))return"...";n.push(t)}return t})):e;var t,n}var Ue={full:"1.5.10",major:1,minor:5,dot:10,codeName:"asynchronous-synchronization"};ct.expando="ng339";var He=ct.cache={},We=1,qe=function(e,t,n){e.addEventListener(t,n,!1)},ze=function(e,t,n){e.removeEventListener(t,n,!1)};ct._data=function(e){return this.cache[e[this.expando]]||{}};var Ve=/([:\-_]+(.))/g,Ye=/^moz([A-Z])/,Ke={mouseleave:"mouseout",mouseenter:"mouseover"},Qe=w("jqLite");function Xe(e){return e.replace(Ve,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Ye,"Moz$1")}var Ze=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Je=/<|&#?\w+;/,et=/<([\w:-]+)/,tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt={option:[1,'<select multiple="multiple">',"</select>"],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 rt(e){return!Je.test(e)}function it(e){var t=e.nodeType;return t===Re||!t||t===Fe}function at(e,t){var n,r,i,a,o=t.createDocumentFragment(),s=[];if(rt(e))s.push(t.createTextNode(e));else{for(n=o.appendChild(t.createElement("div")),r=(et.exec(e)||["",""])[1].toLowerCase(),i=nt[r]||nt._default,n.innerHTML=i[1]+e.replace(tt,"<$1></$2>")+i[2],a=i[0];a--;)n=n.lastChild;s=F(s,n.childNodes),(n=o.firstChild).textContent=""}return o.textContent="",o.innerHTML="",fe(s,function(e){o.appendChild(e)}),o}function ot(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}nt.optgroup=nt.option,nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;var st=j.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function ct(e){if(e instanceof ct)return e;var t,n,r,i;if(ve(e)&&(e=Se(e),t=!0),!(this instanceof ct)){if(t&&"<"!==e.charAt(0))throw Qe("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ct(e)}bt(this,t?(n=e,r=r||j.document,(i=Ze.exec(n))?[r.createElement(i[1])]:(i=at(n,r))?i.childNodes:[]):e)}function lt(e){return e.cloneNode(!0)}function ut(e,t){if(t||dt(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r<i;r++)dt(n[r])}function ft(n,e,r,t){if(_e(t))throw Qe("offargs","jqLite#off() does not support the `selector` argument");var i=ht(n),a=i&&i.events,o=i&&i.handle;if(o)if(e){var s=function(e){var t=a[e];_e(r)&&xe(t||[],r),_e(r)&&t&&0<t.length||(ze(n,e,o),delete a[e])};fe(e.split(" "),function(e){s(e),Ke[e]&&s(Ke[e])})}else for(e in a)"$destroy"!==e&&ze(n,e,o),delete a[e]}function dt(e,t){var n=e.ng339,r=n&&He[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),ft(e)),delete He[n],e.ng339=void 0}}function ht(e,t){var n=e.ng339,r=n&&He[n];return t&&!r&&(e.ng339=n=++We,r=He[n]={events:{},data:{},handle:void 0}),r}function pt(e,t,n){if(it(e)){var r=_e(n),i=!r&&t&&!be(t),a=!t,o=ht(e,!i),s=o&&o.data;if(r)s[t]=n;else{if(a)return s;if(i)return s&&s[t];de(s,t)}}}function mt(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function gt(t,e){e&&t.setAttribute&&fe(e.split(" "),function(e){t.setAttribute("class",Se((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Se(e)+" "," ")))})}function _t(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");fe(t.split(" "),function(e){e=Se(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Se(n))}}function bt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function vt(e,t){return yt(e,"$"+(t||"ngController")+"Controller")}function yt(e,t,n){e.nodeType===Fe&&(e=e.documentElement);for(var r=ye(t)?t:[t];e;){for(var i=0,a=r.length;i<a;i++)if(_e(n=ue.data(e,r[i])))return n;e=e.parentNode||e.nodeType===Ge&&e.host}}function wt(e){for(ut(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ct(e,t){t||ut(e);var n=e.parentNode;n&&n.removeChild(e)}var At=ct.prototype={ready:function(e){var t=!1;function n(){t||(t=!0,e())}"complete"===j.document.readyState?j.setTimeout(n):(this.on("DOMContentLoaded",n),ct(j).on("load",n))},toString:function(){var t=[];return fe(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(e){return ue(0<=e?this[e]:this[this.length+e])},length:0,push:e,sort:[].sort,splice:[].splice},St={};fe("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){St[S(e)]=e});var Tt={};fe("input,select,option,textarea,button,form,details".split(","),function(e){Tt[e]=!0});var xt={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function kt(e,t){var n=St[t.toLowerCase()];return n&&Tt[Te(e)]&&n}function Et(e,t,n){n.call(e,t)}function Dt(e,t,n){var r=t.relatedTarget;r&&(r===e||st.call(e,r))||n.call(e,t)}function It(){this.$get=function(){return de(ct,{hasClass:function(e,t){return e.attr&&(e=e[0]),mt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),_t(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),gt(e,t)}})}}function Pt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||k)():r+":"+e}function Mt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}fe(e,this.put,this)}fe({data:pt,removeData:dt,hasData:function(e){for(var t in He[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)dt(e[t])}},function(e,t){ct[t]=e}),fe({data:pt,inheritedData:yt,scope:function(e){return ue.data(e,"$scope")||yt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return ue.data(e,"$isolateScope")||ue.data(e,"$isolateScopeNoTemplate")},controller:vt,injector:function(e){return yt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:mt,css:function(e,t,n){if(t=Xe(t),!_e(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r=e.nodeType;if(r!==Ne&&2!==r&&r!==Le){var i=S(t);if(St[i]){if(!_e(n))return e[t]||(e.attributes.getNamedItem(t)||pe).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(_e(n))e.setAttribute(t,n);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?void 0:a}}},prop:function(e,t,n){if(!_e(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(ge(t)){var n=e.nodeType;return n===Re||n===Ne?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(ge(t)){if(e.multiple&&"select"===Te(e)){var n=[];return fe(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(ge(t))return e.innerHTML;ut(e,!0),e.innerHTML=t},empty:wt},function(l,e){ct.prototype[e]=function(e,t){var n,r,i=this.length;if(l!==wt&&ge(2===l.length&&l!==mt&&l!==vt?e:t)){if(be(e)){for(n=0;n<i;n++)if(l===pt)l(this[n],e);else for(r in e)l(this[n],r,e[r]);return this}for(var a=l.$dv,o=ge(a)?Math.min(i,1):i,s=0;s<o;s++){var c=l(this[s],e,t);a=a?a+c:c}return a}for(n=0;n<i;n++)l(this[n],e,t);return this}}),fe({removeData:dt,on:function(i,e,a,t){if(_e(t))throw Qe("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(it(i)){var s,c,n,r=ht(i,!0),o=r.events,l=r.handle;l||(l=r.handle=(c=o,(n=function(e,t){e.isDefaultPrevented=function(){return e.defaultPrevented};var n=c[t||e.type],r=n?n.length:0;if(r){if(ge(e.immediatePropagationStopped)){var i=e.stopImmediatePropagation;e.stopImmediatePropagation=function(){e.immediatePropagationStopped=!0,e.stopPropagation&&e.stopPropagation(),i&&i.call(e)}}e.isImmediatePropagationStopped=function(){return!0===e.immediatePropagationStopped};var a=n.specialHandlerWrapper||Et;1<r&&(n=je(n));for(var o=0;o<r;o++)e.isImmediatePropagationStopped()||a(s,e,n[o])}}).elem=s=i,n));for(var u=0<=e.indexOf(" ")?e.split(" "):[e],f=u.length,d=function(e,t,n){var r=o[e];r||((r=o[e]=[]).specialHandlerWrapper=t,"$destroy"===e||n||qe(i,e,l)),r.push(a)};f--;)e=u[f],Ke[e]?(d(Ke[e],Dt),d(e,void 0,!0)):d(e)}},off:ft,one:function(t,n,r){(t=ue(t)).on(n,function e(){t.off(n,r),t.off(n,e)}),t.on(n,r)},replaceWith:function(t,e){var n,r=t.parentNode;ut(t),fe(new ct(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(e){var t=[];return fe(e.childNodes,function(e){e.nodeType===Re&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Re||n===Ge)for(var r=0,i=(t=new ct(t)).length;r<i;r++){var a=t[r];e.appendChild(a)}},prepend:function(t,e){if(t.nodeType===Re){var n=t.firstChild;fe(new ct(e),function(e){t.insertBefore(e,n)})}},wrap:function(e,t){ot(e,ue(t).eq(0).clone()[0])},remove:Ct,detach:function(e){Ct(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var i=0,a=(t=new ct(t)).length;i<a;i++){var o=t[i];r.insertBefore(o,n.nextSibling),n=o}},addClass:_t,removeClass:gt,toggleClass:function(n,e,r){e&&fe(e.split(" "),function(e){var t=r;ge(t)&&(t=!mt(n,e)),(t?_t:gt)(n,e)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Ge?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:lt,triggerHandler:function(t,e,n){var r,i,a,o=e.type||e,s=ht(t),c=s&&s.events,l=c&&c[o];l&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:pe,type:o,target:t},e.type&&(r=de(r,e)),i=je(l),a=n?[r].concat(n):[r],fe(i,function(e){r.isImmediatePropagationStopped()||e.apply(t,a)}))}},function(o,e){ct.prototype[e]=function(e,t,n){for(var r,i=0,a=this.length;i<a;i++)ge(r)?_e(r=o(this[i],e,t,n))&&(r=ue(r)):bt(r,o(this[i],e,t,n));return _e(r)?r:this}}),ct.prototype.bind=ct.prototype.on,ct.prototype.unbind=ct.prototype.off,Mt.prototype={put:function(e,t){this[Pt(e,this.nextUid)]=t},get:function(e){return this[Pt(e,this.nextUid)]},remove:function(e){var t=this[e=Pt(e,this.nextUid)];return delete this[e],t}};var $t=[function(){this.$get=[function(){return Mt}]}],Ot=/^([^(]+?)=>/,Rt=/^[^(]*\(\s*([^)]*)\)/m,Nt=/,/,Lt=/^\s*(_?)(\S+?)\1\s*$/,Ft=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Gt=w("$injector");function jt(e){return Function.prototype.toString.call(e)+" "}function Bt(e){var t=jt(e).replace(Ft,"");return t.match(Ot)||t.match(Rt)}function Ut(e,l){l=!0===l;var i={},a="Provider",s=[],o=new Mt([],!0),u={$provide:{provider:d(h),factory:d(p),service:d(function(e,t){return p(e,["$injector",function(e){return e.instantiate(t)}])}),value:d(function(e,t){return p(e,x(t),!1)}),constant:d(function(e,t){ce(e,"constant"),u[e]=t,n[e]=t}),decorator:function(e,t){var n=c.get(e+a),r=n.$get;n.$get=function(){var e=f.invoke(r,n);return f.invoke(t,null,{$delegate:e})}}}},c=u.$injector=m(u,function(e,t){throw v.isString(t)&&s.push(t),Gt("unpr","Unknown provider: {0}",s.join(" <- "))}),n={},t=m(n,function(e,t){var n=c.get(e+a,t);return f.invoke(n.$get,n,void 0,e)}),f=t;u["$injector"+a]={$get:x(t)};var r=function n(e){Me(ge(e)||ye(e),"modulesToLoad","not an array");var r,i=[];fe(e,function(t){if(!o.get(t)){o.put(t,!0);try{ve(t)?(r=g(t),i=i.concat(n(r.requires)).concat(r._runBlocks),e(r._invokeQueue),e(r._configBlocks)):we(t)?i.push(c.invoke(t)):ye(t)?i.push(c.invoke(t)):se(t,"module")}catch(e){throw ye(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Gt("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function e(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=c.get(r[0]);i[r[1]].apply(i,r[2])}}});return i}(e);return(f=t.get("$injector")).strictDi=l,fe(r,function(e){e&&f.invoke(e)}),f;function d(n){return function(e,t){if(!be(e))return n(e,t);fe(e,_(n))}}function h(e,t){if(ce(e,"service"),(we(t)||ye(t))&&(t=c.instantiate(t)),!t.$get)throw Gt("pget","Provider '{0}' must define $get factory method.",e);return u[e+a]=t}function p(e,t,n){return h(e,{$get:!1!==n?(r=e,i=t,function(){var e=f.invoke(i,this);if(ge(e))throw Gt("undef","Provider '{0}' must return a value from $get factory method.",r);return e}):t});var r,i}function m(n,r){function c(t,e){if(n.hasOwnProperty(t)){if(n[t]===i)throw Gt("cdep","Circular dependency found: {0}",t+" <- "+s.join(" <- "));return n[t]}try{return s.unshift(t),n[t]=i,n[t]=r(t,e),n[t]}catch(e){throw n[t]===i&&delete n[t],e}finally{s.shift()}}function o(e,t,n){for(var r=[],i=Ut.$$annotate(e,l,n),a=0,o=i.length;a<o;a++){var s=i[a];if("string"!=typeof s)throw Gt("itkn","Incorrect injection token! Expected service name as string, got {0}",s);r.push(t&&t.hasOwnProperty(s)?t[s]:c(s,n))}return r}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var i,a=o(e,n,r);return ye(e)&&(e=e[e.length-1]),i=e,U<=11||"function"!=typeof i||!/^(?:class\b|constructor\()/.test(jt(i))?e.apply(t,a):(a.unshift(null),new(Function.prototype.bind.apply(e,a)))},instantiate:function(e,t,n){var r=ye(e)?e[e.length-1]:e,i=o(e,t,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:c,annotate:Ut.$$annotate,has:function(e){return u.hasOwnProperty(e+a)||n.hasOwnProperty(e)}}}}function Ht(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(r,i,a){var o=r.document;function s(e){if(e){e.scrollIntoView();var t=function(){var e=c.yOffset;if(we(e))e=e();else if($(e)){var t=e[0];e="fixed"!==r.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else C(e)||(e=0);return e}();if(t){var n=e.getBoundingClientRect().top;r.scrollBy(0,n-t)}}else r.scrollTo(0,0)}function c(e){var t,n,r;(e=ve(e)?e:C(e)?e.toString():i.hash())?(t=o.getElementById(e))?s(t):(n=o.getElementsByName(e),r=null,Array.prototype.some.call(n,function(e){if("a"===Te(e))return r=e,!0}),(t=r)?s(t):"top"===e&&s(null)):s(null)}return e&&a.$watch(function(){return i.hash()},function(e,t){var n,r;e===t&&""===e||(n=function(){a.$evalAsync(c)},"complete"===(r=r||j).document.readyState?r.setTimeout(n):ue(r).on("load",n))}),c}]}Ut.$$annotate=function(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw ve(n)&&n||(n=e.name||((a=Bt(e))?"function("+(a[1]||"").replace(/[\s\r\n]+/," ")+")":"fn")),Gt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);fe(Bt(e)[1].split(Nt),function(e){e.replace(Lt,function(e,t,n){r.push(n)})})}e.$inject=r}}else ye(e)?(se(e[i=e.length-1],"fn"),r=e.slice(0,i)):se(e,"fn",!0);return r};var Wt=w("$animate"),qt=1,zt="ng-animate";function Vt(e,t){return e||t?e?t?(ye(e)&&(e=e.join(" ")),ye(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Yt(e){return be(e)?e:{}}var Kt=function(){this.$get=pe},Qt=function(){var m=new Mt,g=[];this.$get=["$$AnimateRunner","$rootScope",function(f,d){return{enabled:pe,on:pe,off:pe,pin:pe,push:function(e,t,n,r){var i,a,o,s,c,l;r&&r(),(n=n||{}).from&&e.css(n.from),n.to&&e.css(n.to),(n.addClass||n.removeClass)&&(i=e,a=n.addClass,o=n.removeClass,s=m.get(i)||{},c=h(s,a,!0),l=h(s,o,!1),(c||l)&&(m.put(i,s),g.push(i),1===g.length&&d.$$postDigest(p)));var u=new f;return u.complete(),u}};function h(t,e,n){var r=!1;return e&&fe(e=ve(e)?e.split(" "):ye(e)?e:[],function(e){e&&(r=!0,t[e]=n)}),r}function p(){fe(g,function(e){var t=m.get(e);if(t){var n=function(e){ve(e)&&(e=e.split(" "));var t=Oe();return fe(e,function(e){e.length&&(t[e]=!0)}),t}(e.attr("class")),r="",i="";fe(t,function(e,t){e!==!!n[t]&&(e?r+=(r.length?" ":"")+t:i+=(i.length?" ":"")+t)}),fe(e,function(e){r&&_t(e,r),i&>(e,i)}),m.remove(e)}}),g.length=0}}]},Xt=["$provide",function(r){var i=this;this.$$registeredAnimations=Object.create(null),this.register=function(e,t){if(e&&"."!==e.charAt(0))throw Wt("notcsel","Expecting class selector starting with '.' got '{0}'.",e);var n=e+"-animation";i.$$registeredAnimations[e.substr(1)]=n,r.factory(n,t)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter&&new RegExp("(\\s+|\\/)"+zt+"(\\s+|\\/)").test(this.$$classNameFilter.toString())))throw Wt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',zt);return this.$$classNameFilter},this.$get=["$$animateQueue",function(a){function i(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===qt)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:a.on,off:a.off,pin:a.pin,enabled:a.enabled,cancel:function(e){e.end&&e.end()},enter:function(e,t,n,r){return t=t&&ue(t),n=n&&ue(n),i(e,t=t||n.parent(),n),a.push(e,"enter",Yt(r))},move:function(e,t,n,r){return t=t&&ue(t),n=n&&ue(n),i(e,t=t||n.parent(),n),a.push(e,"move",Yt(r))},leave:function(e,t){return a.push(e,"leave",Yt(t),function(){e.remove()})},addClass:function(e,t,n){return(n=Yt(n)).addClass=Vt(n.addclass,t),a.push(e,"addClass",n)},removeClass:function(e,t,n){return(n=Yt(n)).removeClass=Vt(n.removeClass,t),a.push(e,"removeClass",n)},setClass:function(e,t,n,r){return(r=Yt(r)).addClass=Vt(r.addClass,t),r.removeClass=Vt(r.removeClass,n),a.push(e,"setClass",r)},animate:function(e,t,n,r,i){return(i=Yt(i)).from=i.from?de(i.from,t):t,i.to=i.to?de(i.to,n):n,r=r||"ng-inline-animate",i.tempClasses=Vt(i.tempClasses,r),a.push(e,"animate",i)}}}]}],Zt=function(){this.$get=["$$rAF",function(t){var n=[];function r(e){n.push(e),1<n.length||t(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}return function(){var t=!1;return r(function(){t=!0}),function(e){t?e():r(e)}}}]},Jt=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(t,e,r,i,a){function n(e){this.setHost(e);var n=r();this._doneCallbacks=[],this._tick=function(e){var t=i[0];t&&t.hidden?a(e,0,!1):n(e)},this._state=0}return n.chain=function(e,n){var r=0;!function t(){if(r===e.length)return void n(!0);e[r](function(e){!1!==e?(r++,t()):n(!1)})}()},n.all=function(t,n){var r=0,i=!0;function a(e){i=i&&e,++r===t.length&&n(i)}fe(t,function(e){e.done(a)})},n.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:pe,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(t){2!==this._state&&(fe(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},n}]},en=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(o,e,s){return function(e,t){var n=t||{};n.$$prepared||(n=R(n)),n.cleanupStyles&&(n.from=n.to=null),n.from&&(e.css(n.from),n.from=null);var r,i=new s;return{start:a,end:a};function a(){return o(function(){!function(){n.addClass&&(e.addClass(n.addClass),n.addClass=null);n.removeClass&&(e.removeClass(n.removeClass),n.removeClass=null);n.to&&(e.css(n.to),n.to=null)}(),r||i.complete(),r=!0}),i}}}]};function tn(s,e,t,c){var l=this,u=s.location,f=s.history,r=s.setTimeout,n=s.clearTimeout,i={};l.isMock=!1;var a=0,o=[];function d(e){try{e.apply(null,Ee(arguments,1))}finally{if(0===--a)for(;o.length;)try{o.pop()()}catch(e){t.error(e)}}}l.$$completeOutstandingRequest=d,l.$$incOutstandingRequestCount=function(){a++},l.notifyWhenNoOutstandingRequests=function(e){0===a?e():o.push(e)};var h,p,m=u.href,g=e.find("base"),_=null,b=c.history?function(){try{return f.state}catch(e){}}:pe;A(),p=h,l.url=function(e,t,n){if(ge(n)&&(n=null),u!==s.location&&(u=s.location),f!==s.history&&(f=s.history),e){var r=p===n;if(m===e&&(!c.history||r))return l;var i=m&&Xn(m)===Xn(e);return m=e,p=n,!c.history||i&&r?(i||(_=e),t?u.replace(e):i?u.hash=-1===(o=(a=e).indexOf("#"))?"":a.substr(o):u.href=e,u.href!==e&&(_=e)):(f[t?"replaceState":"pushState"](n,"",e),A(),p=h),_&&(_=e),l}return _||u.href.replace(/%27/g,"'");var a,o},l.state=function(){return h};var v=[],y=!1;function w(){_=null,A(),S()}var C=null;function A(){ke(h=ge(h=b())?null:h,C)&&(h=C),C=h}function S(){m===l.url()&&p===h||(m=l.url(),p=h,fe(v,function(e){e(l.url(),h)}))}l.onUrlChange=function(e){return y||(c.history&&ue(s).on("popstate",w),ue(s).on("hashchange",w),y=!0),v.push(e),e},l.$$applicationDestroyed=function(){ue(s).off("hashchange popstate",w)},l.$$checkUrlChange=S,l.baseHref=function(){var e=g.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},l.defer=function(e,t){var n;return a++,n=r(function(){delete i[n],d(e)},t||0),i[n]=!0,n},l.defer.cancel=function(e){return!!i[e]&&(delete i[e],n(e),d(pe),!0)}}function nn(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new tn(e,r,t,n)}]}function rn(){this.$get=function(){var f={};function e(e,t){if(e in f)throw w("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var n=0,r=de({},t,{id:e}),i=Oe(),a=t&&t.capacity||Number.MAX_VALUE,o=Oe(),s=null,c=null;return f[e]={put:function(e,t){if(!ge(t)){if(a<Number.MAX_VALUE)l(o[e]||(o[e]={key:e}));return e in i||n++,i[e]=t,a<n&&this.remove(c.key),t}},get:function(e){if(a<Number.MAX_VALUE){var t=o[e];if(!t)return;l(t)}return i[e]},remove:function(e){if(a<Number.MAX_VALUE){var t=o[e];if(!t)return;t===s&&(s=t.p),t===c&&(c=t.n),u(t.n,t.p),delete o[e]}e in i&&(delete i[e],n--)},removeAll:function(){i=Oe(),n=0,o=Oe(),s=c=null},destroy:function(){o=r=i=null,delete f[e]},info:function(){return de({},r,{size:n})}};function l(e){e!==s&&(c?c===e&&(c=e.n):c=e,u(e.n,e.p),u(e,s),(s=e).n=null)}function u(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return e.info=function(){var n={};return fe(f,function(e,t){n[t]=e.info()}),n},e.get=function(e){return f[e]},e}}function an(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var on=w("$compile");var sn=new function(){};function cn(n,t){var p={},m="Directive",F=/^\s*directive:\s*([\w-]+)\s+(.*)$/,G=/(([\w-]+)(?::([^;]+))?;?)/,u=function(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),d=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,f=/^(on[a-z]+|formaction)$/,s=Oe();function r(e,r,i){var a=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,o=Oe();return fe(e,function(e,t){if(e in s)o[t]=s[e];else{var n=e.match(a);if(!n)throw on("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",r,t,e,i?"controller bindings definition":"isolate scope definition");o[t]={mode:n[1][0],collection:"*"===n[2],optional:"?"===n[3],attrName:n[4]||t},n[4]&&(s[e]=o[t])}}),o}function g(e,t){var n={isolateScope:null,bindToController:null};if(be(e.scope)&&(!0===e.bindToController?(n.bindToController=r(e.scope,t,!0),n.isolateScope={}):n.isolateScope=r(e.scope,t,!1)),be(e.bindToController)&&(n.bindToController=r(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw on("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}this.directive=function e(c,t){return Me(c,"name"),ce(c,"directive"),ve(c)?(!function(e){var t=e.charAt(0);if(!t||t!==S(t))throw on("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw on("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(c),Me(t,"directiveFactory"),p.hasOwnProperty(c)||(p[c]=[],n.factory(c+m,["$injector","$exceptionHandler",function(a,o){var s=[];return fe(p[c],function(e,t){try{var n=a.invoke(e);we(n)?n={compile:x(n)}:!n.compile&&n.link&&(n.compile=x(n.link)),n.priority=n.priority||0,n.index=t,n.name=n.name||c,n.require=(i=(r=n).require||r.controller&&r.name,!ye(i)&&be(i)&&fe(i,function(e,t){var n=e.match(d);e.substring(n[0].length)||(i[t]=n[0]+t)}),i),n.restrict=function(e,t){if(e&&(!ve(e)||!/[EACM]/.test(e)))throw on("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}(n.restrict,c),n.$$moduleName=e.$$moduleName,s.push(n)}catch(e){o(e)}var r,i}),s}])),p[c].push(t)):fe(c,_(e)),this},this.component=function(e,i){var a=i.controller||function(){};function n(r){function e(n){return we(n)||ye(n)?function(e,t){return r.invoke(n,this,{$element:e,$attrs:t})}:n}var t=i.template||i.templateUrl?i.template:"",n={controller:a,controllerAs:function(e,t){if(t&&ve(t))return t;if(ve(e)){var n=mn.exec(e);if(n)return n[3]}}(i.controller)||i.controllerAs||"$ctrl",template:e(t),templateUrl:e(i.templateUrl),transclude:i.transclude,scope:{},bindToController:i.bindings||{},restrict:"E",require:i.require};return fe(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e)}),n}return fe(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e,we(a)&&(a[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return _e(e)?(t.aHrefSanitizationWhitelist(e),this):t.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return _e(e)?(t.imgSrcSanitizationWhitelist(e),this):t.imgSrcSanitizationWhitelist()};var l=!0;this.debugInfoEnabled=function(e){return _e(e)?(l=e,this):l};var le=!0;this.preAssignBindingsEnabled=function(e){return _e(e)?(le=e,this):le};var w=10;this.onChangesTtl=function(e){return arguments.length?(w=e,this):w};var C=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(C=e,this):C};var A=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(A=e,this):A},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(h,T,W,e,v,q,a,i,o,_){var s,b=/^\w/,y=j.document.createElement("div"),x=C,k=A,t=w;function c(){try{if(!--t)throw s=void 0,on("infchng","{0} $onChanges() iterations reached. Aborting!\n",w);a.$apply(function(){for(var t=[],e=0,n=s.length;e<n;++e)try{s[e]()}catch(e){t.push(e)}if(s=void 0,t.length)throw t})}finally{t++}}function z(e,t){if(t){var n,r,i,a=Object.keys(t);for(n=0,r=a.length;n<r;n++)this[i=a[n]]=t[i]}else this.$attr={};this.$$element=e}function E(e,t){try{e.addClass(t)}catch(e){}}z.prototype={$normalize:fn,$addClass:function(e){e&&0<e.length&&o.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&o.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=dn(e,t);n&&n.length&&o.addClass(this.$$element,n);var r=dn(t,e);r&&r.length&&o.removeClass(this.$$element,r)},$set:function(e,t,n,r){var i,a=kt(this.$$element[0],e),o=xt[e],s=e;if(a?(this.$$element.prop(e,t),r=a):o&&(this[o]=t,s=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=Pe(e,"-")),"a"===(i=Te(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===i&&"src"===e)this[e]=t=_(t,"src"===e);else if("img"===i&&"srcset"===e&&_e(t)){for(var c="",l=Se(t),u=/\s/.test(l)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,f=l.split(u),d=Math.floor(f.length/2),h=0;h<d;h++){var p=2*h;c+=_(Se(f[p]),!0),c+=" "+Se(f[p+1])}var m=Se(f[2*h]).split(/\s/);c+=_(Se(m[0]),!0),2===m.length&&(c+=" "+Se(m[1])),this[e]=t=c}!1!==n&&(null===t||ge(t)?this.$$element.removeAttr(r):b.test(r)?this.$$element.attr(r,t):function(e,t,n){y.innerHTML="<span "+t+">";var r=y.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],r,t));var g=this.$$observers;g&&fe(g[s],function(e){try{e(t)}catch(e){W(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=Oe()),i=r[e]||(r[e]=[]);return i.push(t),a.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||ge(n[e])||t(n[e])}),function(){xe(i,t)}}};var n=T.startSymbol(),r=T.endSymbol(),V="{{"===n&&"}}"===r?me:function(e){return e.replace(/\{\{/g,n).replace(/}}/g,r)},D=/^ngAttr[A-Z]/,I=/^(.+)Start$/;return Y.$$addBindingInfo=l?function(e,t){var n=e.data("$binding")||[];ye(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:pe,Y.$$addBindingClass=l?function(e){E(e,"ng-binding")}:pe,Y.$$addScopeInfo=l?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:pe,Y.$$addScopeClass=l?function(e,t){E(e,t?"ng-isolate-scope":"ng-scope")}:pe,Y.$$createComment=function(e,t){var n="";return l&&(n=" "+(e||"")+": ",t&&(n+=t+" ")),j.document.createComment(n)},Y;function Y(u,e,t,n,f){u instanceof ue||(u=ue(u));for(var r=/\S+/,i=0,a=u.length;i<a;i++){var o=u[i];o.nodeType===Ne&&o.nodeValue.match(r)&&ot(o,u[i]=j.document.createElement("span"))}var d=P(u,e,u,t,n,f);Y.$$addScopeClass(u);var h=null;return function(e,t,n){Me(e,"scope"),f&&f.needsNewScope&&(e=e.$parent.$new());var r,i,a,o=(n=n||{}).parentBoundTranscludeFn,s=n.transcludeControllers,c=n.futureParentElement;if(o&&o.$$boundTransclude&&(o=o.$$boundTransclude),h||(i=(r=c)&&r[0],h=i&&"foreignobject"!==Te(i)&&H.call(i).match(/SVG/)?"svg":"html"),a="html"!==h?ue(ie(h,ue("<div>").append(u).html())):t?At.clone.call(u):u,s)for(var l in s)a.data("$"+l+"Controller",s[l].instance);return Y.$$addScopeInfo(a,e),t&&t(a,e),d&&d(e,a,a,o),a}}function P(e,p,t,n,r,i){for(var a,o,s,c,l,u,m,g=[],f=0;f<e.length;f++)a=new z,(s=(o=K(e[f],[],a,0===f?n:void 0,r)).length?$(o,e[f],a,p,t,null,[],[],i):null)&&s.scope&&Y.$$addScopeClass(a.$$element),l=s&&s.terminal||!(c=e[f].childNodes)||!c.length?null:P(c,s?(s.transcludeOnThisElement||!s.templateOnThisElement)&&s.transclude:p),(s||l)&&(g.push(f,s,l),u=!0,m=m||s),i=null;return u?function(e,t,n,r){var i,a,o,s,c,l,u,f,d;if(m){var h=t.length;for(d=new Array(h),c=0;c<g.length;c+=3)u=g[c],d[u]=t[u]}else d=t;for(c=0,l=g.length;c<l;)o=d[g[c++]],i=g[c++],a=g[c++],i?(i.scope?(s=e.$new(),Y.$$addScopeInfo(ue(o),s)):s=e,f=i.transcludeOnThisElement?M(e,i.transclude,r):!i.templateOnThisElement&&r?r:!r&&p?M(e,p):null,i(a,s,o,n,f)):a&&a(e,o.childNodes,void 0,r)}:null}function M(a,o,s){function e(e,t,n,r,i){return e||((e=a.$new(!1,i)).$$transcluded=!0),o(e,t,{parentBoundTranscludeFn:s,transcludeControllers:n,futureParentElement:r})}var t=e.$$slots=Oe();for(var n in o.$$slots)o.$$slots[n]?t[n]=M(a,o.$$slots[n],s):t[n]=null;return e}function K(e,t,n,r,i){var a,o,s,c,l,u,f=e.nodeType,d=n.$attr;switch(f){case Re:O(t,fn(o=Te(e)),"E",r,i);for(var h,p,m,g,_,b,v=e.attributes,y=0,w=v&&v.length;y<w;y++){var C=!1,A=!1;p=(h=v[y]).name,_=Se(h.value),g=fn(p),(b=D.test(g))&&(p=p.replace(un,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var S=g.match(I);S&&R(S[1])&&(A=(C=p).substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),d[m=fn(p.toLowerCase())]=p,!b&&n.hasOwnProperty(m)||(n[m]=_,kt(e,m)&&(n[m]=!0)),L(e,t,_,m,b),O(t,m,"A",r,i,C,A)}if("input"===o&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!k)break;if(be(s=e.className)&&(s=s.animVal),ve(s)&&""!==s)for(;a=G.exec(s);)O(t,m=fn(a[2]),"C",r,i)&&(n[m]=Se(a[3])),s=s.substr(a.index+a[0].length);break;case Ne:if(11===U)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===Ne;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);c=t,l=e.nodeValue,(u=T(l,!0))&&c.push({priority:0,compile:function(e){var t=e.parent(),r=!!t.length;return r&&Y.$$addBindingClass(t),function(e,t){var n=t.parent();r||Y.$$addBindingClass(n),Y.$$addBindingInfo(n,u.expressions),e.$watch(u,function(e){t[0].nodeValue=e})}}});break;case Le:if(!x)break;!function(e,t,n,r,i){try{var a=F.exec(e.nodeValue);if(a){var o=fn(a[1]);O(t,o,"M",r,i)&&(n[o]=Se(a[2]))}}catch(e){}}(e,t,n,r,i)}return t.sort(N),t}function Q(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw on("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===Re&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(0<i);else r.push(e);return ue(r)}function X(a,o,s){return function(e,t,n,r,i){return t=Q(t[0],o,s),a(e,t,n,r,i)}}function Z(e,t,n,r,i,a){var o;return e?Y(t,n,r,i,a):function(){return o||(o=Y(t,n,r,i,a),t=n=a=null),o.apply(this,arguments)}}function $(e,w,C,t,n,r,A,S,i){i=i||{};for(var a,o,s,c,l,u=-Number.MAX_VALUE,T=i.newScopeDirective,x=i.controllerDirectives,k=i.newIsolateScopeDirective,E=i.templateDirective,f=i.nonTlbTranscludeDirective,d=!1,h=!1,D=i.hasElementTranscludeDirective,p=C.$$element=ue(w),m=r,g=t,_=!1,b=!1,v=0,y=e.length;v<y;v++){var I=(a=e[v]).$$start,P=a.$$end;if(I&&(p=Q(w,I,P)),s=void 0,u>a.priority)break;if((l=a.scope)&&(a.templateUrl||(be(l)?(re("new/isolated scope",k||T,a,p),k=a):re("new/isolated scope",k,a,p)),T=T||a),o=a.name,!_&&(a.replace&&(a.templateUrl||a.template)||a.transclude&&!a.$$tlb)){for(var M,$=v+1;M=e[$++];)if(M.transclude&&!M.$$tlb||M.replace&&(M.templateUrl||M.template)){b=!0;break}_=!0}if(!a.templateUrl&&a.controller&&(x=x||Oe(),re("'"+o+"' controller",x[o],a,p),x[o]=a),l=a.transclude)if(d=!0,a.$$tlb||(re("transclusion",f,a,p),f=a),"element"===l)D=!0,u=a.priority,s=p,p=C.$$element=ue(Y.$$createComment(o,C[o])),w=p[0],ae(n,Ee(s),w),s[0].$$parentNode=s[0].parentNode,g=Z(b,s,t,u,m&&m.name,{nonTlbTranscludeDirective:f});else{var O=Oe();if(s=ue(lt(w)).contents(),be(l)){s=[];var R=Oe(),N=Oe();for(var L in fe(l,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,R[e]=t,O[t]=null,N[t]=n}),fe(p.contents(),function(e){var t=R[fn(Te(e))];t?(N[t]=!0,O[t]=O[t]||[],O[t].push(e)):s.push(e)}),fe(N,function(e,t){if(!e)throw on("reqslot","Required transclusion slot `{0}` was not filled.",t)}),O)O[L]&&(O[L]=Z(b,O[L],t))}p.empty(),(g=Z(b,s,t,void 0,void 0,{needsNewScope:a.$$isolateScope||a.$$newScope})).$$slots=O}if(a.template)if(h=!0,re("template",E,a,p),l=we((E=a).template)?a.template(p,C):a.template,l=V(l),a.replace){if(m=a,s=rt(l)?[]:hn(ie(a.templateNamespace,Se(l))),w=s[0],1!==s.length||w.nodeType!==Re)throw on("tplrt","Template for directive '{0}' must have exactly one root element. {1}",o,"");ae(n,p,w);var F={$attr:{}},G=K(w,[],F),j=e.splice(v+1,e.length-(v+1));(k||T)&&ee(G,k,T),e=e.concat(G).concat(j),te(C,F),y=e.length}else p.html(l);if(a.templateUrl)h=!0,re("template",E,a,p),(E=a).replace&&(m=a),H=ne(e.splice(v,e.length-v),p,C,n,d&&g,A,S,{controllerDirectives:x,newScopeDirective:T!==a&&T,newIsolateScopeDirective:k,templateDirective:E,nonTlbTranscludeDirective:f}),y=e.length;else if(a.compile)try{c=a.compile(p,C,g);var B=a.$$originalDirective||a;we(c)?U(null,De(B,c),I,P):c&&U(De(B,c.pre),De(B,c.post),I,P)}catch(e){W(e,Ie(p))}a.terminal&&(H.terminal=!0,u=Math.max(u,a.priority))}return H.scope=T&&!0===T.scope,H.transcludeOnThisElement=d,H.templateOnThisElement=h,H.transclude=g,i.hasElementTranscludeDirective=D,H;function U(e,t,n,r){e&&(n&&(e=X(e,n,r)),e.require=a.require,e.directiveName=o,(k===a||a.$$isolateScope)&&(e=oe(e,{isolateScope:!0})),A.push(e)),t&&(n&&(t=X(t,n,r)),t.require=a.require,t.directiveName=o,(k===a||a.$$isolateScope)&&(t=oe(t,{isolateScope:!0})),S.push(t))}function H(e,t,n,r,o){var i,a,s,c,l,u,f,d,h,p;for(var m in w===n?d=(h=C).$$element:h=new z(d=ue(n),C),l=t,k?c=t.$new(!0):T&&(l=t.$parent),o&&((f=function(e,t,n,r){var i;Ce(e)||(r=n,n=t,t=e,e=void 0);D&&(i=u);n||(n=D?d.parent():d);{if(!r)return o(e,t,i,n,y);var a=o.$$slots[r];if(a)return a(e,t,i,n,y);if(ge(a))throw on("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Ie(d))}}).$$boundTransclude=o,f.isSlotFilled=function(e){return!!o.$$slots[e]}),x&&(u=function(e,t,n,r,i,a,o){var s=Oe();for(var c in r){var l=r[c],u={$scope:l===o||l.$$isolateScope?i:a,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"===f&&(f=t[l.name]);var d=q(f,u,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}(d,h,f,x,c,t,k)),k&&(Y.$$addScopeInfo(d,c,!0,!(E&&(E===k||E===k.$$originalDirective))),Y.$$addScopeClass(d,!0),c.$$isolateBindings=k.$$isolateBindings,(p=ce(t,h,c,c.$$isolateBindings,k)).removeWatches&&c.$on("$destroy",p.removeWatches)),u){var g=x[m],_=u[m],b=g.$$bindings.bindToController;if(le){_.bindingInfo=b?ce(l,h,_.instance,b,g):{};var v=_();v!==_.instance&&(_.instance=v,d.data("$"+g.name+"Controller",v),_.bindingInfo.removeWatches&&_.bindingInfo.removeWatches(),_.bindingInfo=ce(l,h,_.instance,b,g))}else _.instance=_(),d.data("$"+g.name+"Controller",_.instance),_.bindingInfo=ce(l,h,_.instance,b,g)}for(fe(x,function(e,t){var n=e.require;e.bindToController&&!ye(n)&&be(n)&&de(u[t].instance,J(t,n,d,u))}),fe(u,function(e){var t=e.instance;if(we(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){W(e)}if(we(t.$onInit))try{t.$onInit()}catch(e){W(e)}we(t.$doCheck)&&(l.$watch(function(){t.$doCheck()}),t.$doCheck()),we(t.$onDestroy)&&l.$on("$destroy",function(){t.$onDestroy()})}),i=0,a=A.length;i<a;i++)se(s=A[i],s.isolateScope?c:t,d,h,s.require&&J(s.directiveName,s.require,d,u),f);var y=t;for(k&&(k.template||null===k.templateUrl)&&(y=c),e&&e(y,n.childNodes,void 0,o),i=S.length-1;0<=i;i--)se(s=S[i],s.isolateScope?c:t,d,h,s.require&&J(s.directiveName,s.require,d,u),f);fe(u,function(e){var t=e.instance;we(t.$postLink)&&t.$postLink()})}}function J(n,e,r,i){var a;if(ve(e)){var t=e.match(d),o=e.substring(t[0].length),s=t[1]||t[3],c="?"===t[2];if("^^"===s?r=r.parent():a=(a=i&&i[o])&&a.instance,!a){var l="$"+o+"Controller";a=s?r.inheritedData(l):r.data(l)}if(!a&&!c)throw on("ctreq","Controller '{0}', required by directive '{1}', can't be found!",o,n)}else if(ye(e)){a=[];for(var u=0,f=e.length;u<f;u++)a[u]=J(n,e[u],r,i)}else be(e)&&(a={},fe(e,function(e,t){a[t]=J(n,e,r,i)}));return a||null}function ee(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=he(e[r],{$$isolateScope:t,$$newScope:n})}function O(e,t,n,r,i,a,o){if(t===i)return null;var s=null;if(p.hasOwnProperty(t))for(var c,l=h.get(t+m),u=0,f=l.length;u<f;u++)if(c=l[u],(ge(r)||r>c.priority)&&-1!==c.restrict.indexOf(n)){if(a&&(c=he(c,{$$start:a,$$end:o})),!c.$$bindings){var d=c.$$bindings=g(c,c.name);be(d.isolateScope)&&(c.$$isolateBindings=d.isolateScope)}e.push(c),s=c}return s}function R(e){if(p.hasOwnProperty(e))for(var t=h.get(e+m),n=0,r=t.length;n<r;n++)if(t[n].multiElement)return!0;return!1}function te(n,r){var i=r.$attr,a=n.$attr;fe(n,function(e,t){"$"!==t.charAt(0)&&(r[t]&&r[t]!==e&&(e+=("style"===t?";":" ")+r[t]),n.$set(t,e,!0,i[t]))}),fe(r,function(e,t){n.hasOwnProperty(t)||"$"===t.charAt(0)||(n[t]=e,"class"!==t&&"style"!==t&&(a[t]=i[t]))})}function ne(d,h,p,m,g,_,b,v){var y,w,C=[],A=h[0],S=d.shift(),T=he(S,{templateUrl:null,transclude:null,replace:null,$$originalDirective:S}),x=we(S.templateUrl)?S.templateUrl(h,p):S.templateUrl,k=S.templateNamespace;return h.empty(),e(x).then(function(e){var n,t,r,i;if(e=V(e),S.replace){if(r=rt(e)?[]:hn(ie(k,Se(e))),n=r[0],1!==r.length||n.nodeType!==Re)throw on("tplrt","Template for directive '{0}' must have exactly one root element. {1}",S.name,x);t={$attr:{}},ae(m,h,n);var a=K(n,[],t);be(S.scope)&&ee(a,!0),d=a.concat(d),te(p,t)}else n=A,h.html(e);for(d.unshift(T),y=$(d,n,p,g,h,S,_,b,v),fe(m,function(e,t){e===n&&(m[t]=h[0])}),w=P(h[0].childNodes,g);C.length;){var o=C.shift(),s=C.shift(),c=C.shift(),l=C.shift(),u=h[0];if(!o.$$destroyed){if(s!==A){var f=s.className;v.hasElementTranscludeDirective&&S.replace||(u=lt(n)),ae(c,ue(s),u),E(ue(u),f)}i=y.transcludeOnThisElement?M(o,y.transclude,l):l,y(w,o,u,m,i)}}C=null}),function(e,t,n,r,i){var a=i;t.$$destroyed||(C?C.push(t,n,r,a):(y.transcludeOnThisElement&&(a=M(t,y.transclude,i)),y(w,t,n,r,a)))}}function N(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function re(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw on("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,Ie(r))}function ie(e,t){switch(e=S(e||"html")){case"svg":case"math":var n=j.document.createElement("div");return n.innerHTML="<"+e+">"+t+"</"+e+">",n.childNodes[0].childNodes;default:return t}}function L(e,t,a,o,n){var s=function(e,t){if("srcdoc"===t)return i.HTML;var n=Te(e);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(n))return i.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t)return i.RESOURCE_URL}(e,o),r=!n,c=u[o]||n,l=T(a,r,s,c);if(l){if("multiple"===o&&"select"===Te(e))throw on("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Ie(e));t.push({priority:100,compile:function(){return{pre:function(e,t,n){var r=n.$$observers||(n.$$observers=Oe());if(f.test(o))throw on("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var i=n[o];i!==a&&(l=i&&T(i,!0,s,c),a=i),l&&(n[o]=l(e),(r[o]||(r[o]=[])).$$inter=!0,(n.$$observers&&n.$$observers[o].$$scope||e).$watch(l,function(e,t){"class"===o&&e!==t?n.$updateClass(e,t):n.$set(o,e)}))}}}})}}function ae(e,t,n){var r,i,a=t[0],o=t.length,s=a.parentNode;if(e)for(r=0,i=e.length;r<i;r++)if(e[r]===a){e[r++]=n;for(var c=r,l=c+o-1,u=e.length;c<u;c++,l++)l<u?e[c]=e[l]:delete e[c];e.length-=o-1,e.context===a&&(e.context=n);break}s&&s.replaceChild(n,a);var f=j.document.createDocumentFragment();for(r=0;r<o;r++)f.appendChild(t[r]);for(ue.hasData(a)&&(ue.data(n,ue.data(a)),ue(a).off("$destroy")),ue.cleanData(f.querySelectorAll("*")),r=1;r<o;r++)delete t[r];t[0]=n,t.length=1}function oe(e,t){return de(function(){return e.apply(null,arguments)},e,t)}function se(e,t,n,r,i,a){try{e(t,n,r,i,a)}catch(e){W(e,Ie(n))}}function ce(d,h,p,e,m){var r,g=[],_={};function b(e,t,n){!we(p.$onChanges)||t===n||t!=t&&n!=n||(s||(d.$$postDigest(c),s=[]),r||(r={},s.push(i)),r[e]&&(n=r[e].previousValue),r[e]=new ln(n,t))}function i(){p.$onChanges(r),r=void 0}return fe(e,function(e,n){var t,r,i,a,o,s=e.attrName,c=e.optional;switch(e.mode){case"@":c||B.call(h,s)||(p[n]=h[s]=void 0),o=h.$observe(s,function(e){if(ve(e)||Ae(e)){var t=p[n];b(n,e,t),p[n]=e}}),h.$$observers[s].$$scope=d,ve(t=h[s])?p[n]=T(t)(d):Ae(t)&&(p[n]=t),_[n]=new ln(sn,p[n]),g.push(o);break;case"=":if(!B.call(h,s)){if(c)break;h[s]=void 0}if(c&&!h[s])break;r=v(h[s]),a=r.literal?ke:function(e,t){return e===t||e!=e&&t!=t},i=r.assign||function(){throw t=p[n]=r(d),on("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",h[s],s,m.name)},t=p[n]=r(d);var l=function(e){return a(e,p[n])||(a(e,t)?i(d,e=p[n]):p[n]=e),t=e};l.$stateful=!0,o=e.collection?d.$watchCollection(h[s],l):d.$watch(v(h[s],l),null,r.literal),g.push(o);break;case"<":if(!B.call(h,s)){if(c)break;h[s]=void 0}if(c&&!h[s])break;var u=(r=v(h[s])).literal,f=p[n]=r(d);_[n]=new ln(sn,p[n]),o=d.$watch(r,function(e,t){if(t===e){if(t===f||u&&ke(t,f))return;t=f}b(n,e,t),p[n]=e},u),g.push(o);break;case"&":if((r=h.hasOwnProperty(s)?v(h[s]):pe)===pe&&c)break;p[n]=function(e){return r(d,e)}}}),{initialChanges:_,removeWatches:g.length&&function(){for(var e=0,t=g.length;e<t;++e)g[e]()}}}}]}function ln(e,t){this.previousValue=e,this.currentValue=t}cn.$inject=["$provide","$$sanitizeUriProvider"],ln.prototype.isFirstChange=function(){return this.previousValue===sn};var un=/^((?:x|data)[:\-_])/i;function fn(e){return Xe(e.replace(un,""))}function dn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var a=0;a<r.length;a++){for(var o=r[a],s=0;s<i.length;s++)if(o===i[s])continue e;n+=(0<n.length?" ":"")+o}return n}function hn(e){var t=(e=ue(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Le||n.nodeType===Ne&&""===n.nodeValue.trim())&&r.call(e,t,1)}return e}var pn=w("$controller"),mn=/^(\S+)(\s+as\s+([\w$]+))?$/;function gn(){var d={},h=!1;this.has=function(e){return d.hasOwnProperty(e)},this.register=function(e,t){ce(e,"controller"),be(e)?de(d,e):d[e]=t},this.allowGlobals=function(){h=!0},this.$get=["$injector","$window",function(l,u){return function(t,n,e,r){var i,a,o,s;if(e=!0===e,r&&ve(r)&&(s=r),ve(t)){if(!(a=t.match(mn)))throw pn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(o=a[1],s=s||a[3],!(t=d.hasOwnProperty(o)?d[o]:le(n.$scope,o,!0)||(h?le(u,o,!0):void 0)))throw pn("ctrlreg","The controller with the name '{0}' is not registered.",o);se(t,o,!0)}if(e){var c=(ye(t)?t[t.length-1]:t).prototype;return i=Object.create(c||null),s&&f(n,s,i,o||t.name),de(function(){var e=l.invoke(t,i,n,o);return e!==i&&(be(e)||we(e))&&(i=e,s&&f(n,s,i,o||t.name)),i},{instance:i,identifier:s})}return i=l.instantiate(t,n,o),s&&f(n,s,i,o||t.name),i};function f(e,t,n,r){if(!e||!be(e.$scope))throw w("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function _n(){this.$get=["$window",function(e){return ue(e.document)}]}function bn(){this.$get=["$log",function(n){return function(e,t){n.error.apply(n,arguments)}}]}var vn=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof ue&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},yn="application/json",wn={"Content-Type":yn+";charset=utf-8"},Cn=/^\[|^\{(?!\{)/,An={"[":/]$/,"{":/}$/},Sn=/^\)]\}',?\n/,Tn=w("$http"),xn=function(e){return function(){throw Tn("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}};function kn(e){return be(e)?A(e)?e.toISOString():G(e):e}function En(){this.$get=function(){return function(e){if(!e)return"";var n=[];return d(e,function(e,t){null===e||ge(e)||(ye(e)?fe(e,function(e){n.push(Z(t)+"="+Z(kn(e)))}):n.push(Z(t)+"="+Z(kn(e))))}),n.join("&")}}}function Dn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function n(e,r,i){if(null===e||ge(e))return;ye(e)?fe(e,function(e,t){n(e,r+"["+(be(e)?t:"")+"]")}):be(e)&&!A(e)?d(e,function(e,t){n(e,r+(i?"":"[")+t+(i?"":"]"))}):t.push(Z(r)+"="+Z(kn(e)))}(e,"",!0),t.join("&")}}}function In(e,t){if(ve(e)){var n=e.replace(Sn,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(yn)||(a=(i=n).match(Cn))&&An[a[0]].test(i))&&(e=W(n))}}var i,a;return e}function Pn(e){var t,n=Oe();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return ve(e)?fe(e.split("\n"),function(e){t=e.indexOf(":"),r(S(Se(e.substr(0,t))),Se(e.substr(t+1)))}):be(e)&&fe(e,function(e,t){r(S(t),Se(e))}),n}function Mn(n){var r;return function(e){if(r||(r=Pn(n)),e){var t=r[S(e)];return void 0===t&&(t=null),t}return r}}function $n(t,n,r,e){return we(e)?e(t,n,r):(fe(e,function(e){t=e(t,n,r)}),t)}function On(e){return 200<=e&&e<300}function Rn(){var v=this.defaults={transformResponse:[In],transformRequest:[function(e){return be(e)&&(r=e,"[object File]"!==H.call(r))&&(n=e,"[object Blob]"!==H.call(n))&&(t=e,"[object FormData]"!==H.call(t))?G(e):e;var t,n,r}],headers:{common:{Accept:"application/json, text/plain, */*"},post:je(wn),put:je(wn),patch:je(wn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},y=!1;this.useApplyAsync=function(e){return _e(e)?(y=!!e,this):y};var l=!0;this.useLegacyPromiseExtensions=function(e){return _e(e)?(l=!!e,this):l};var t=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(h,p,e,m,g,s){var _=e("$http");v.paramSerializer=ve(v.paramSerializer)?s.get(v.paramSerializer):v.paramSerializer;var c=[];function b(e){if(!be(e))throw w("$http")("badreq","Http request configuration must be an object. Received: {0}",e);if(!ve(e.url))throw w("$http")("badreq","Http request configuration url must be a string. Received: {0}",e.url);var n=de({method:"get",transformRequest:v.transformRequest,transformResponse:v.transformResponse,paramSerializer:v.paramSerializer},e);n.headers=function(e){var t,n,r,i=v.headers,a=de({},e.headers);i=de({},i.common,i[S(e.method)]);e:for(t in i){for(r in n=S(t),a)if(S(r)===n)continue e;a[t]=i[t]}return o=a,s=je(e),l={},fe(o,function(e,t){we(e)?null!=(c=e(s))&&(l[t]=c):l[t]=e}),l;var o,s,c,l}(e),n.method=u(n.method),n.paramSerializer=ve(n.paramSerializer)?s.get(n.paramSerializer):n.paramSerializer;var t=[],r=[],i=g.when(n);return fe(c,function(e){(e.request||e.requestError)&&t.unshift(e.request,e.requestError),(e.response||e.responseError)&&r.push(e.response,e.responseError)}),i=a(i=(i=a(i,t)).then(function(e){var n=e.headers,t=$n(e.data,Mn(n),void 0,e.transformRequest);ge(t)&&fe(n,function(e,t){"content-type"===S(t)&&delete n[t]});ge(e.withCredentials)&&!ge(v.withCredentials)&&(e.withCredentials=v.withCredentials);return function(i,e){var a,t,o=g.defer(),n=o.promise,r=i.headers,s=function(e,t){0<t.length&&(e+=(-1===e.indexOf("?")?"?":"&")+t);return e}(i.url,i.paramSerializer(i.params));b.pendingRequests.push(i),n.then(d,d),!i.cache&&!v.cache||!1===i.cache||"GET"!==i.method&&"JSONP"!==i.method||(a=be(i.cache)?i.cache:be(v.cache)?v.cache:_);a&&(_e(t=a.get(s))?I(t)?t.then(f,f):ye(t)?u(t[1],t[0],je(t[2]),t[3]):u(t,200,{},"OK"):a.put(s,n));if(ge(t)){var c=di(i.url)?p()[i.xsrfCookieName||v.xsrfCookieName]:void 0;c&&(r[i.xsrfHeaderName||v.xsrfHeaderName]=c),h(i.method,s,e,function(e,t,n,r){a&&(On(e)?a.put(s,[e,t,Pn(n),r]):a.remove(s));function i(){u(t,e,n,r)}y?m.$applyAsync(i):(i(),m.$$phase||m.$apply())},r,i.timeout,i.withCredentials,i.responseType,l(i.eventHandlers),l(i.uploadEventHandlers))}return n;function l(e){if(e){var t={};return fe(e,function(n,e){t[e]=function(e){function t(){n(e)}y?m.$applyAsync(t):m.$$phase?t():m.$apply(t)}}),t}}function u(e,t,n,r){(On(t=-1<=t?t:0)?o.resolve:o.reject)({data:e,status:t,headers:Mn(n),config:i,statusText:r})}function f(e){u(e.data,e.status,je(e.headers()),e.statusText)}function d(){var e=b.pendingRequests.indexOf(i);-1!==e&&b.pendingRequests.splice(e,1)}}(e,t).then(o,o)}),r),l?(i.success=function(t){return se(t,"fn"),i.then(function(e){t(e.data,e.status,e.headers,n)}),i},i.error=function(t){return se(t,"fn"),i.then(null,function(e){t(e.data,e.status,e.headers,n)}),i}):(i.success=xn("success"),i.error=xn("error")),i;function a(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],a=t[n++];e=e.then(i,a)}return t.length=0,e}function o(e){var t=de({},e);return t.data=$n(e.data,e.headers,e.status,n.transformResponse),On(e.status)?t:g.reject(t)}}return fe(t,function(e){c.unshift(ve(e)?s.get(e):s.invoke(e))}),b.pendingRequests=[],function(e){fe(arguments,function(n){b[n]=function(e,t){return b(de({},t||{},{method:n,url:e}))}})}("get","delete","head","jsonp"),function(e){fe(arguments,function(r){b[r]=function(e,t,n){return b(de({},n||{},{method:r,url:e,data:t}))}})}("post","put","patch"),b.defaults=v,b}]}function Nn(){this.$get=function(){return function(){return new j.XMLHttpRequest}}}function Ln(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return b=r,v=(_=e).defer,y=t,w=n[0],function(e,r,t,i,n,a,o,s,c,l){if(_.$$incOutstandingRequestCount(),r=r||_.url(),"jsonp"===S(e))var u=y.createCallback(r),f=function(e,r,i){e=e.replace("JSON_CALLBACK",r);var a=w.createElement("script"),o=null;return a.type="text/javascript",a.src=e,a.async=!0,o=function(e){ze(a,"load",o),ze(a,"error",o),w.body.removeChild(a),a=null;var t=-1,n="unknown";e&&("load"!==e.type||y.wasCalled(r)||(e={type:"error"}),n=e.type,t="error"===e.type?404:200),i&&i(t,n)},qe(a,"load",o),qe(a,"error",o),w.body.appendChild(a),o}(r,u,function(e,t){var n=200===e&&y.getResponse(u);g(i,e,n,"",t),y.removeCallback(u)});else{var d=b(e,r);d.open(e,r,!0),fe(n,function(e,t){_e(e)&&d.setRequestHeader(t,e)}),d.onload=function(){var e=d.statusText||"",t="response"in d?d.response:d.responseText,n=1223===d.status?204:d.status;0===n&&(n=t?200:"file"===fi(r).protocol?404:0),g(i,n,t,d.getAllResponseHeaders(),e)};var h=function(){g(i,-1,null,null,"")};if(d.onerror=h,d.onabort=h,d.ontimeout=h,fe(c,function(e,t){d.addEventListener(t,e)}),fe(l,function(e,t){d.upload.addEventListener(t,e)}),o&&(d.withCredentials=!0),s)try{d.responseType=s}catch(e){if("json"!==s)throw e}d.send(ge(t)?null:t)}if(0<a)var p=v(m,a);else I(a)&&a.then(m);function m(){f&&f(),d&&d.abort()}function g(e,t,n,r,i){_e(p)&&v.cancel(p),f=d=null,e(t,n,r,i),_.$$completeOutstandingRequest(pe)}};var _,b,v,y,w}]}var Fn=v.$interpolateMinErr=w("$interpolate");function Gn(){var S="{{",T="}}";this.startSymbol=function(e){return e?(S=e,this):S},this.endSymbol=function(e){return e?(T=e,this):T},this.$get=["$parse","$exceptionHandler","$sce",function(_,b,v){var y=S.length,w=T.length,t=new RegExp(S.replace(/./g,e),"g"),n=new RegExp(T.replace(/./g,e),"g");function e(e){return"\\\\\\"+e}function C(e){return e.replace(t,S).replace(n,T)}function A(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function r(i,e,t,r){if(!i.length||-1===i.indexOf(S)){var n;if(!e)(n=x(C(i))).exp=i,n.expressions=[],n.$$watchDelegate=A;return n}r=!!r;for(var a,o,s,c=0,l=[],u=[],f=i.length,d=[],h=[];c<f;){if(-1===(a=i.indexOf(S,c))||-1===(o=i.indexOf(T,a+y))){c!==f&&d.push(C(i.substring(c)));break}c!==a&&d.push(C(i.substring(c,a))),s=i.substring(a+y,o),l.push(s),u.push(_(s,g)),c=o+w,h.push(d.length),d.push("")}if(t&&1<d.length&&Fn.throwNoconcat(i),!e||l.length){var p=function(e){for(var t=0,n=l.length;t<n;t++){if(r&&ge(e[t]))return;d[h[t]]=e[t]}return d.join("")},m=function(e){return t?v.getTrusted(t,e):v.valueOf(e)};return de(function(e){var t=0,n=l.length,r=new Array(n);try{for(;t<n;t++)r[t]=u[t](e);return p(r)}catch(e){b(Fn.interr(i,e))}},{exp:i,expressions:l,$$watchDelegate:function(r,i){var a;return r.$watchGroup(u,function(e,t){var n=p(e);we(i)&&i.call(this,n,e!==t?a:n,r),a=n})}})}function g(e){try{return e=m(e),r&&!_e(e)?e:function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=G(e)}return e}(e)}catch(e){b(Fn.interr(i,e))}}}return r.startSymbol=function(){return S},r.endSymbol=function(){return T},r}]}function jn(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(h,p,m,g,_){var b={};function e(e,t,n,r){var i=4<arguments.length,a=i?Ee(arguments,4):[],o=p.setInterval,s=p.clearInterval,c=0,l=_e(r)&&!r,u=(l?g:m).defer(),f=u.promise;return n=_e(n)?n:0,f.$$intervalId=o(function(){l?_.defer(d):h.$evalAsync(d),u.notify(c++),0<n&&n<=c&&(u.resolve(c),s(f.$$intervalId),delete b[f.$$intervalId]),l||h.$apply()},t),b[f.$$intervalId]=u,f;function d(){i?e.apply(null,a):e(c)}}return e.cancel=function(e){return!!(e&&e.$$intervalId in b)&&(b[e.$$intervalId].reject("canceled"),p.clearInterval(e.$$intervalId),delete b[e.$$intervalId],!0)},e}]}Fn.throwNoconcat=function(e){throw Fn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},Fn.interr=function(e,t){return Fn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Bn=function(){this.$get=["$window",function(e){var a=e.angular.callbacks,o={};return{createCallback:function(e){var t,n="_"+(a.$$counter++).toString(36),r="angular.callbacks."+n,i=((t=function(e){t.data=e,t.called=!0}).id=n,t);return o[r]=a[n]=i,r},wasCalled:function(e){return o[e].called},getResponse:function(e){return o[e].data},removeCallback:function(e){var t=o[e];delete a[t.id],delete o[e]}}}]},Un=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Hn={http:80,https:443,ftp:21},Wn=w("$location");function qn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=X(t[n]);return t.join("/")}function zn(e,t){var n=fi(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=m(n.port)||Hn[n.protocol]||null}var Vn=/^\s*[\\/]{2,}/;function Yn(e,t){if(Vn.test(e))throw Wn("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=fi(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Kn(e,t){return e.slice(0,t.length)===t}function Qn(e,t){if(Kn(t,e))return t.substr(e.length)}function Xn(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function Zn(e){return e.replace(/(#.+)|#$/,"$1")}function Jn(a,o,s){this.$$html5=!0,s=s||"",zn(a,this),this.$$parse=function(e){var t=Qn(o,e);if(!ve(t))throw Wn("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,o);Yn(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+X(this.$$hash):"";this.$$url=qn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=o+this.$$url.substr(1)},this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(_e(n=Qn(a,e))?(r=n,i=s&&_e(n=Qn(s,n))?o+(Qn("/",n)||n):a+r):_e(n=Qn(o,e))?i=o+n:o===e+"/"&&(i=o),i&&this.$$parse(i),!!i);var n,r,i}}function er(r,i,a){zn(r,this),this.$$parse=function(e){var t,n=Qn(r,e)||Qn(i,e);ge(n)||"#"!==n.charAt(0)?this.$$html5?t=n:(t="",ge(n)&&(r=e,this.replace())):ge(t=Qn(a,n))&&(t=n),Yn(t,this),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;Kn(t,n)&&(t=t.replace(n,""));if(i.exec(t))return e;return(r=i.exec(e))?r[1]:e}(this.$$path,t,r),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+X(this.$$hash):"";this.$$url=qn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+(this.$$url?a+this.$$url:"")},this.$$parseLinkUrl=function(e,t){return Xn(r)===Xn(e)&&(this.$$parse(e),!0)}}function tr(i,a,o){this.$$html5=!0,er.apply(this,arguments),this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(i===Xn(e)?n=e:(r=Qn(a,e))?n=i+o+r:a===e+"/"&&(n=a),n&&this.$$parse(n),!!n);var n,r},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+X(this.$$hash):"";this.$$url=qn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=i+o+this.$$url}}var nr={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:rr("$$absUrl"),url:function(e){if(ge(e))return this.$$url;var t=Un.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:rr("$$protocol"),host:rr("$$host"),port:rr("$$port"),path:ir("$$path",function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(n,e){switch(arguments.length){case 0:return this.$$search;case 1:if(ve(n)||C(n))n=n.toString(),this.$$search=K(n);else{if(!be(n))throw Wn("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");fe(n=R(n,{}),function(e,t){null==e&&delete n[t]}),this.$$search=n}break;default:ge(e)||null===e?delete this.$$search[n]:this.$$search[n]=e}return this.$$compose(),this},hash:ir("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function rr(e){return function(){return this[e]}}function ir(t,n){return function(e){return ge(e)?this[t]:(this[t]=n(e),this.$$compose(),this)}}function ar(){var _="",b={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return _e(e)?(_=e,this):_},this.html5Mode=function(e){return Ae(e)?(b.enabled=e,this):be(e)?(Ae(e.enabled)&&(b.enabled=e.enabled),Ae(e.requireBase)&&(b.requireBase=e.requireBase),(Ae(e.rewriteLinks)||ve(e.rewriteLinks))&&(b.rewriteLinks=e.rewriteLinks),this):b},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(o,s,t,a,c){var l,e,n,r,i=s.baseHref(),u=s.url();if(b.enabled){if(!i&&b.requireBase)throw Wn("nobase","$location in HTML5 mode requires a <base> tag to be present!");n=(r=u).substring(0,r.indexOf("/",r.indexOf("//")+2))+(i||"/"),e=t.history?Jn:tr}else n=Xn(u),e=er;var f,d=(f=n).substr(0,Xn(f).lastIndexOf("/")+1);(l=new e(n,d,"#"+_)).$$parseLinkUrl(u,u),l.$$state=s.state();var h=/^\s*(javascript|mailto):/i;function p(e,t,n){var r=l.url(),i=l.$$state;try{s.url(e,t,n),l.$$state=s.state()}catch(e){throw l.url(r),l.$$state=i,e}}a.on("click",function(e){var t=b.rewriteLinks;if(t&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var n=ue(e.target);"a"!==Te(n[0]);)if(n[0]===a[0]||!(n=n.parent())[0])return;if(!ve(t)||!ge(n.attr(t))){var r=n.prop("href"),i=n.attr("href")||n.attr("xlink:href");be(r)&&"[object SVGAnimatedString]"===r.toString()&&(r=fi(r.animVal).href),h.test(r)||!r||n.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(r,i)&&(e.preventDefault(),l.absUrl()!==s.url()&&(o.$apply(),c.angular["ff-684208-preventDefault"]=!0))}}}),Zn(l.absUrl())!==Zn(u)&&s.url(l.absUrl(),!0);var m=!0;return s.onUrlChange(function(r,i){ge(Qn(d,r))?c.location.href=r:(o.$evalAsync(function(){var e,t=l.absUrl(),n=l.$$state;r=Zn(r),l.$$parse(r),l.$$state=i,e=o.$broadcast("$locationChangeStart",r,t,i,n).defaultPrevented,l.absUrl()===r&&(e?(l.$$parse(t),p(t,!1,l.$$state=n)):(m=!1,g(t,n)))}),o.$$phase||o.$digest())}),o.$watch(function(){var n=Zn(s.url()),e=Zn(l.absUrl()),r=s.state(),i=l.$$replace,a=n!==e||l.$$html5&&t.history&&r!==l.$$state;(m||a)&&(m=!1,o.$evalAsync(function(){var e=l.absUrl(),t=o.$broadcast("$locationChangeStart",e,n,l.$$state,r).defaultPrevented;l.absUrl()===e&&(t?(l.$$parse(n),l.$$state=r):(a&&p(e,i,r===l.$$state?null:l.$$state),g(n,r)))})),l.$$replace=!1}),l;function g(e,t){o.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}}]}function or(){var n=!0,r=this;this.debugEnabled=function(e){return _e(e)?(n=e,this):n},this.$get=["$window",function(i){return{log:t("log"),info:t("info"),warn:t("warn"),error:t("error"),debug:(e=t("debug"),function(){n&&e.apply(r,arguments)})};var e;function t(e){var t=i.console||{},r=t[e]||t.log||pe,n=!1;try{n=!!r.apply}catch(e){}return n?function(){var n=[];return fe(arguments,function(e){var t;n.push(((t=e)instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t))}),r.apply(t,n)}:function(e,t){r(e,null==t?"":t)}}}]}fe([tr,er,Jn],function(t){t.prototype=Object.create(nr),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==Jn||!this.$$html5)throw Wn("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=ge(e)?null:e,this}});var sr=w("$parse"),cr=[].constructor,lr=(!1).constructor,ur=Function.constructor,fr=(0).constructor,dr={}.constructor,hr="".constructor,pr=cr.prototype,mr=lr.prototype,gr=ur.prototype,_r=fr.prototype,br=dr.prototype,vr=hr.prototype,yr=gr.call,wr=gr.apply,Cr=gr.bind,Ar=br.valueOf;function Sr(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw sr("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Tr(e){return e+""}function xr(e,t){if(e){if(e.constructor===e)throw sr("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw sr("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw sr("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw sr("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function kr(e,t){if(e){if(e.constructor===e)throw sr("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===yr||e===wr||e===Cr)throw sr("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function Er(e,t){if(e&&(e===cr||e===lr||e===ur||e===fr||e===dr||e===hr||e===pr||e===mr||e===gr||e===_r||e===br||e===vr))throw sr("isecaf","Assigning to a constructor or its prototype is disallowed! Expression: {0}",t)}var Dr=Oe();fe("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Dr[e]=!0});var Ir={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Pr=function(e){this.options=e};Pr.prototype={constructor:Pr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=Dr[t],a=Dr[n],o=Dr[r];if(i||a||o){var s=o?r:a?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return 55296<=n&&n<=56319&&56320<=r&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=_e(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw sr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=S(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var a=this.text.charAt(this.index);if(r+=a,i){if("u"===a){var o=this.text.substring(this.index+1,this.index+5);o.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+o+"]"),this.index+=4,n+=String.fromCharCode(parseInt(o,16))}else{n+=Ir[a]||a}i=!1}else if("\\"===a)i=!0;else{if(a===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=a}this.index++}this.throwError("Unterminated quote",t)}};var Mr=function(e,t){this.lexer=e,this.options=t};function $r(e,t){return void 0!==e?e:t}function Or(e,t){return void 0===e?t:void 0===t?e:e+t}function Rr(e,t){var n,r,i,a,o;switch(e.type){case Mr.Program:n=!0,fe(e.body,function(e){Rr(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case Mr.Literal:e.constant=!0,e.toWatch=[];break;case Mr.UnaryExpression:Rr(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Mr.BinaryExpression:Rr(e.left,t),Rr(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Mr.LogicalExpression:Rr(e.left,t),Rr(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Mr.ConditionalExpression:Rr(e.test,t),Rr(e.alternate,t),Rr(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Mr.Identifier:e.constant=!1,e.toWatch=[e];break;case Mr.MemberExpression:Rr(e.object,t),e.computed&&Rr(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case Mr.CallExpression:i=!!e.filter&&(a=t,o=e.callee.name,!a(o).$stateful),n=i,r=[],fe(e.arguments,function(e){Rr(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=i?r:[e];break;case Mr.AssignmentExpression:Rr(e.left,t),Rr(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Mr.ArrayExpression:n=!0,r=[],fe(e.elements,function(e){Rr(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case Mr.ObjectExpression:n=!0,r=[],fe(e.properties,function(e){Rr(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case Mr.ThisExpression:case Mr.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Nr(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function Lr(e){return e.type===Mr.Identifier||e.type===Mr.MemberExpression}function Fr(e){if(1===e.body.length&&Lr(e.body[0].expression))return{type:Mr.AssignmentExpression,left:e.body[0].expression,right:{type:Mr.NGValueParameter},operator:"="}}function Gr(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Mr.Literal||e.body[0].expression.type===Mr.ArrayExpression||e.body[0].expression.type===Mr.ObjectExpression)}function jr(e){return e.constant}function Br(e,t){this.astBuilder=e,this.$filter=t}function Ur(e,t){this.astBuilder=e,this.$filter=t}Mr.Program="Program",Mr.ExpressionStatement="ExpressionStatement",Mr.AssignmentExpression="AssignmentExpression",Mr.ConditionalExpression="ConditionalExpression",Mr.LogicalExpression="LogicalExpression",Mr.BinaryExpression="BinaryExpression",Mr.UnaryExpression="UnaryExpression",Mr.CallExpression="CallExpression",Mr.MemberExpression="MemberExpression",Mr.Identifier="Identifier",Mr.Literal="Literal",Mr.ArrayExpression="ArrayExpression",Mr.Property="Property",Mr.ObjectExpression="ObjectExpression",Mr.ThisExpression="ThisExpression",Mr.LocalsExpression="LocalsExpression",Mr.NGValueParameter="NGValueParameter",Mr.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Mr.Program,body:e}},expressionStatement:function(){return{type:Mr.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Lr(e))throw sr("lval","Trying to assign a value to a non l-value");e={type:Mr.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Mr.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Mr.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Mr.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Mr.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Mr.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:Mr.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Mr.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Mr.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Mr.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)for(;e.push(this.filterChain()),this.expect(","););return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Mr.Identifier,name:e.text}},constant:function(){return{type:Mr.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Mr.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Mr.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Mr.ObjectExpression,properties:t}},throwError:function(e,t){throw sr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw sr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw sr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var a=this.tokens[e],o=a.text;if(o===t||o===n||o===r||o===i||!t&&!n&&!r&&!i)return a}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:Mr.ThisExpression},$locals:{type:Mr.LocalsExpression}}},Br.prototype={compile:function(e,t){var i=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Rr(n,i.$filter);var r,a="";if(this.stage="assign",r=Fr(n)){this.state.computing="assign";var o=this.nextId();this.recurse(r,o),this.return_(o),a="fn.assign="+this.generateFunction("assign","s,v,l")}var s=Nr(n.body);i.stage="inputs",fe(s,function(e,t){var n="fn"+t;i.state[n]={vars:[],body:[],own:{}},i.state.computing=n;var r=i.nextId();i.recurse(e,r),i.return_(r),i.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(n);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",l=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,Sr,xr,kr,Tr,Er,$r,Or,e);return this.state=this.stage=void 0,l.literal=Gr(n),l.constant=jr(n),l},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return fe(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var n=[],r=this;return fe(this.state.filters,function(e,t){n.push(e+"=$filter("+r.escape(t)+")")}),n.length?"var "+n.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(n,t,e,r,i,a){var o,s,c,l,u,f=this;if(r=r||pe,!a&&_e(n.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",n.watchId)),this.lazyRecurse(n,t,e,r,i,!0));switch(n.type){case Mr.Program:fe(n.body,function(e,t){f.recurse(e.expression,void 0,void 0,function(e){s=e}),t!==n.body.length-1?f.current().body.push(s,";"):f.return_(s)});break;case Mr.Literal:l=this.escape(n.value),this.assign(t,l),r(l);break;case Mr.UnaryExpression:this.recurse(n.argument,void 0,void 0,function(e){s=e}),l=n.operator+"("+this.ifDefined(s,0)+")",this.assign(t,l),r(l);break;case Mr.BinaryExpression:this.recurse(n.left,void 0,void 0,function(e){o=e}),this.recurse(n.right,void 0,void 0,function(e){s=e}),l="+"===n.operator?this.plus(o,s):"-"===n.operator?this.ifDefined(o,0)+n.operator+this.ifDefined(s,0):"("+o+")"+n.operator+"("+s+")",this.assign(t,l),r(l);break;case Mr.LogicalExpression:t=t||this.nextId(),f.recurse(n.left,t),f.if_("&&"===n.operator?t:f.not(t),f.lazyRecurse(n.right,t)),r(t);break;case Mr.ConditionalExpression:t=t||this.nextId(),f.recurse(n.test,t),f.if_(t,f.lazyRecurse(n.alternate,t),f.lazyRecurse(n.consequent,t)),r(t);break;case Mr.Identifier:t=t||this.nextId(),e&&(e.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",n.name)+"?l:s"),e.computed=!1,e.name=n.name),Sr(n.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",n.name)),function(){f.if_("inputs"===f.stage||"s",function(){i&&1!==i&&f.if_(f.not(f.nonComputedMember("s",n.name)),f.lazyAssign(f.nonComputedMember("s",n.name),"{}")),f.assign(t,f.nonComputedMember("s",n.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",n.name))),(f.state.expensiveChecks||Wr(n.name))&&f.addEnsureSafeObject(t),r(t);break;case Mr.MemberExpression:o=e&&(e.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(n.object,o,void 0,function(){f.if_(f.notNull(o),function(){i&&1!==i&&f.addEnsureSafeAssignContext(o),n.computed?(s=f.nextId(),f.recurse(n.property,s),f.getStringValue(s),f.addEnsureSafeMemberName(s),i&&1!==i&&f.if_(f.not(f.computedMember(o,s)),f.lazyAssign(f.computedMember(o,s),"{}")),l=f.ensureSafeObject(f.computedMember(o,s)),f.assign(t,l),e&&(e.computed=!0,e.name=s)):(Sr(n.property.name),i&&1!==i&&f.if_(f.not(f.nonComputedMember(o,n.property.name)),f.lazyAssign(f.nonComputedMember(o,n.property.name),"{}")),l=f.nonComputedMember(o,n.property.name),(f.state.expensiveChecks||Wr(n.property.name))&&(l=f.ensureSafeObject(l)),f.assign(t,l),e&&(e.computed=!1,e.name=n.property.name))},function(){f.assign(t,"undefined")}),r(t)},!!i);break;case Mr.CallExpression:t=t||this.nextId(),n.filter?(s=f.filter(n.callee.name),c=[],fe(n.arguments,function(e){var t=f.nextId();f.recurse(e,t),c.push(t)}),l=s+"("+c.join(",")+")",f.assign(t,l),r(t)):(s=f.nextId(),o={},c=[],f.recurse(n.callee,s,o,function(){f.if_(f.notNull(s),function(){f.addEnsureSafeFunction(s),fe(n.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){c.push(f.ensureSafeObject(e))})}),l=o.name?(f.state.expensiveChecks||f.addEnsureSafeObject(o.context),f.member(o.context,o.name,o.computed)+"("+c.join(",")+")"):s+"("+c.join(",")+")",l=f.ensureSafeObject(l),f.assign(t,l)},function(){f.assign(t,"undefined")}),r(t)}));break;case Mr.AssignmentExpression:s=this.nextId(),o={},this.recurse(n.left,void 0,o,function(){f.if_(f.notNull(o.context),function(){f.recurse(n.right,s),f.addEnsureSafeObject(f.member(o.context,o.name,o.computed)),f.addEnsureSafeAssignContext(o.context),l=f.member(o.context,o.name,o.computed)+n.operator+s,f.assign(t,l),r(t||l)})},1);break;case Mr.ArrayExpression:c=[],fe(n.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){c.push(e)})}),l="["+c.join(",")+"]",this.assign(t,l),r(l);break;case Mr.ObjectExpression:u=!(c=[]),fe(n.properties,function(e){e.computed&&(u=!0)}),u?(t=t||this.nextId(),this.assign(t,"{}"),fe(n.properties,function(e){e.computed?(o=f.nextId(),f.recurse(e.key,o)):o=e.key.type===Mr.Identifier?e.key.name:""+e.key.value,s=f.nextId(),f.recurse(e.value,s),f.assign(f.member(t,o,e.computed),s)})):(fe(n.properties,function(t){f.recurse(t.value,n.constant?void 0:f.nextId(),void 0,function(e){c.push(f.escape(t.key.type===Mr.Identifier?t.key.name:""+t.key.value)+":"+e)})}),l="{"+c.join(",")+"}",this.assign(t,l)),r(t||l);break;case Mr.ThisExpression:this.assign(t,"s"),r("s");break;case Mr.LocalsExpression:this.assign(t,"l"),r("l");break;case Mr.NGValueParameter:this.assign(t,"v"),r("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,a){var o=this;return function(){o.recurse(e,t,n,r,i,a)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(ve(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(C(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw sr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},Ur.prototype={compile:function(e,t){var n,r,i=this,a=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,Rr(a,i.$filter),(n=Fr(a))&&(r=this.recurse(n));var o,s=Nr(a.body);s&&(o=[],fe(s,function(e,t){var n=i.recurse(e);e.input=n,o.push(n),e.watchId=t}));var c=[];fe(a.body,function(e){c.push(i.recurse(e.expression))});var l=0===a.body.length?pe:1===a.body.length?c[0]:function(t,n){var r;return fe(c,function(e){r=e(t,n)}),r};return r&&(l.assign=function(e,t,n){return r(e,n,t)}),o&&(l.inputs=o),l.literal=Gr(a),l.constant=jr(a),l},recurse:function(e,c,t){var o,l,u,f=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Mr.Literal:return this.value(e.value,c);case Mr.UnaryExpression:return l=this.recurse(e.argument),this["unary"+e.operator](l,c);case Mr.BinaryExpression:case Mr.LogicalExpression:return o=this.recurse(e.left),l=this.recurse(e.right),this["binary"+e.operator](o,l,c);case Mr.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),c);case Mr.Identifier:return Sr(e.name,f.expression),f.identifier(e.name,f.expensiveChecks||Wr(e.name),c,t,f.expression);case Mr.MemberExpression:return o=this.recurse(e.object,!1,!!t),e.computed||(Sr(e.property.name,f.expression),l=e.property.name),e.computed&&(l=this.recurse(e.property)),e.computed?this.computedMember(o,l,c,t,f.expression):this.nonComputedMember(o,l,f.expensiveChecks,c,t,f.expression);case Mr.CallExpression:return u=[],fe(e.arguments,function(e){u.push(f.recurse(e))}),e.filter&&(l=this.$filter(e.callee.name)),e.filter||(l=this.recurse(e.callee,!0)),e.filter?function(e,t,n,r){for(var i=[],a=0;a<u.length;++a)i.push(u[a](e,t,n,r));var o=l.apply(void 0,i,r);return c?{context:void 0,name:void 0,value:o}:o}:function(e,t,n,r){var i,a=l(e,t,n,r);if(null!=a.value){xr(a.context,f.expression),kr(a.value,f.expression);for(var o=[],s=0;s<u.length;++s)o.push(xr(u[s](e,t,n,r),f.expression));i=xr(a.value.apply(a.context,o),f.expression)}return c?{value:i}:i};case Mr.AssignmentExpression:return o=this.recurse(e.left,!0,1),l=this.recurse(e.right),function(e,t,n,r){var i=o(e,t,n,r),a=l(e,t,n,r);return xr(i.value,f.expression),Er(i.context),i.context[i.name]=a,c?{value:a}:a};case Mr.ArrayExpression:return u=[],fe(e.elements,function(e){u.push(f.recurse(e))}),function(e,t,n,r){for(var i=[],a=0;a<u.length;++a)i.push(u[a](e,t,n,r));return c?{value:i}:i};case Mr.ObjectExpression:return u=[],fe(e.properties,function(e){e.computed?u.push({key:f.recurse(e.key),computed:!0,value:f.recurse(e.value)}):u.push({key:e.key.type===Mr.Identifier?e.key.name:""+e.key.value,computed:!1,value:f.recurse(e.value)})}),function(e,t,n,r){for(var i={},a=0;a<u.length;++a)u[a].computed?i[u[a].key(e,t,n,r)]=u[a].value(e,t,n,r):i[u[a].key]=u[a].value(e,t,n,r);return c?{value:i}:i};case Mr.ThisExpression:return function(e){return c?{value:e}:e};case Mr.LocalsExpression:return function(e,t){return c?{value:t}:t};case Mr.NGValueParameter:return function(e,t,n){return c?{value:n}:n}}},"unary+":function(a,o){return function(e,t,n,r){var i=a(e,t,n,r);return i=_e(i)?+i:0,o?{value:i}:i}},"unary-":function(a,o){return function(e,t,n,r){var i=a(e,t,n,r);return i=_e(i)?-i:0,o?{value:i}:i}},"unary!":function(a,o){return function(e,t,n,r){var i=!a(e,t,n,r);return o?{value:i}:i}},"binary+":function(a,o,s){return function(e,t,n,r){var i=Or(a(e,t,n,r),o(e,t,n,r));return s?{value:i}:i}},"binary-":function(s,c,l){return function(e,t,n,r){var i=s(e,t,n,r),a=c(e,t,n,r),o=(_e(i)?i:0)-(_e(a)?a:0);return l?{value:o}:o}},"binary*":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)*o(e,t,n,r);return s?{value:i}:i}},"binary/":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)/o(e,t,n,r);return s?{value:i}:i}},"binary%":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)%o(e,t,n,r);return s?{value:i}:i}},"binary===":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)===o(e,t,n,r);return s?{value:i}:i}},"binary!==":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)!==o(e,t,n,r);return s?{value:i}:i}},"binary==":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)==o(e,t,n,r);return s?{value:i}:i}},"binary!=":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)!=o(e,t,n,r);return s?{value:i}:i}},"binary<":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)<o(e,t,n,r);return s?{value:i}:i}},"binary>":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)>o(e,t,n,r);return s?{value:i}:i}},"binary<=":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)<=o(e,t,n,r);return s?{value:i}:i}},"binary>=":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)>=o(e,t,n,r);return s?{value:i}:i}},"binary&&":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)&&o(e,t,n,r);return s?{value:i}:i}},"binary||":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)||o(e,t,n,r);return s?{value:i}:i}},"ternary?:":function(a,o,s,c){return function(e,t,n,r){var i=a(e,t,n,r)?o(e,t,n,r):s(e,t,n,r);return c?{value:i}:i}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(o,s,c,l,u){return function(e,t,n,r){var i=t&&o in t?t:e;l&&1!==l&&i&&!i[o]&&(i[o]={});var a=i?i[o]:void 0;return s&&xr(a,u),c?{context:i,name:o,value:a}:a}},computedMember:function(s,c,l,u,f){return function(e,t,n,r){var i,a,o=s(e,t,n,r);return null!=o&&(Sr(i=Tr(i=c(e,t,n,r)),f),u&&1!==u&&(Er(o),o&&!o[i]&&(o[i]={})),xr(a=o[i],f)),l?{context:o,name:i,value:a}:a}},nonComputedMember:function(o,s,c,l,u,f){return function(e,t,n,r){var i=o(e,t,n,r);u&&1!==u&&(Er(i),i&&!i[s]&&(i[s]={}));var a=null!=i?i[s]:void 0;return(c||Wr(s))&&xr(a,f),l?{context:i,name:s,value:a}:a}},inputs:function(i,a){return function(e,t,n,r){return r?r[a]:i(e,t,n)}}};var Hr=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new Mr(e,n),this.astCompiler=n.csp?new Ur(this.ast,t):new Br(this.ast,t)};function Wr(e){return"constructor"===e}function qr(e){return we(e.valueOf)?e.valueOf():Ar.call(e)}function zr(){var n,r,v=Oe(),y=Oe(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(e,t){return n=e,r=t,this},this.$get=["$filter",function(l){var e=N().noUnsafeEval,u={csp:e,expensiveChecks:!1,literals:R(i),isIdentifierStart:we(n)&&n,isIdentifierContinue:we(r)&&r},f={csp:e,expensiveChecks:!0,literals:R(i),isIdentifierStart:we(n)&&n,isIdentifierContinue:we(r)&&r},d=!1;return t.$$runningExpensiveChecks=function(){return d},t;function t(e,t,n){var r,i,a;switch(n=n||d,typeof e){case"string":e=e.trim();var o=n?y:v;if(!(r=o[a=e])){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=n?f:u,c=new Pr(s);(r=new Hr(c,l,s).parse(e)).constant?r.$$watchDelegate=_:i?r.$$watchDelegate=r.literal?g:m:r.inputs&&(r.$$watchDelegate=p),n&&(r=function e(a){if(!a)return a;n.$$watchDelegate=a.$$watchDelegate;n.assign=e(a.assign);n.constant=a.constant;n.literal=a.literal;for(var t=0;a.inputs&&t<a.inputs.length;++t)a.inputs[t]=e(a.inputs[t]);n.inputs=a.inputs;return n;function n(e,t,n,r){var i=d;d=!0;try{return a(e,t,n,r)}finally{d=i}}}(r)),o[a]=r}return b(r,t);case"function":return b(e,t);default:return b(pe,t)}}function h(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=qr(e)))&&(e===t||e!=e&&t!=t)}function p(e,t,n,a,r){var o,s=a.inputs;if(1===s.length){var i=h;return s=s[0],e.$watch(function(e){var t=s(e);return h(t,i)||(o=a(e,void 0,void 0,[t]),i=t&&qr(t)),o},t,n,r)}for(var c=[],l=[],u=0,f=s.length;u<f;u++)c[u]=h,l[u]=null;return e.$watch(function(e){for(var t=!1,n=0,r=s.length;n<r;n++){var i=s[n](e);(t||(t=!h(i,c[n])))&&(l[n]=i,c[n]=i&&qr(i))}return t&&(o=a(e,void 0,void 0,l)),o},t,n,r)}function m(e,r,t,n){var i,a;return i=e.$watch(function(e){return n(e)},function(e,t,n){a=e,we(r)&&r.apply(this,arguments),_e(e)&&n.$$postDigest(function(){_e(a)&&i()})},t)}function g(e,r,t,n){var i,a;return i=e.$watch(function(e){return n(e)},function(e,t,n){a=e,we(r)&&r.call(this,e,t,n),o(e)&&n.$$postDigest(function(){o(a)&&i()})},t);function o(e){var t=!0;return fe(e,function(e){_e(e)||(t=!1)}),t}}function _(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function b(o,s){if(!s)return o;var e=o.$$watchDelegate,a=!1,t=e!==g&&e!==m?function(e,t,n,r){var i=a&&r?r[0]:o(e,t,n,r);return s(i,e,t)}:function(e,t,n,r){var i=o(e,t,n,r),a=s(i,e,t);return _e(i)?a:i};return o.$$watchDelegate&&o.$$watchDelegate!==p?t.$$watchDelegate=o.$$watchDelegate:s.$stateful||(t.$$watchDelegate=p,a=!o.inputs,t.inputs=o.inputs?o.inputs:[o]),t}}]}function Vr(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return Kr(function(e){t.$evalAsync(e)},e)}]}function Yr(){this.$get=["$browser","$exceptionHandler",function(t,e){return Kr(function(e){t.defer(e)},e)}]}function Kr(t,o){var n=w("$q",TypeError);function r(){var e=new c;return e.resolve=a(e,e.resolve),e.reject=a(e,e.reject),e.notify=a(e,e.notify),e}function e(){this.$$state={status:0}}function a(t,n){return function(e){n.call(t,e)}}function s(e){!e.processScheduled&&e.pending&&(e.processScheduled=!0,t(function(){!function(e){var t,n,r;r=e.pending,e.processScheduled=!1,e.pending=void 0;for(var i=0,a=r.length;i<a;++i){n=r[i][0],t=r[i][e.status];try{we(t)?n.resolve(t(e.value)):1===e.status?n.resolve(e.value):n.reject(e.value)}catch(e){n.reject(e),o(e)}}}(e)}))}function c(){this.promise=new e}function i(e){var t=new c;return t.reject(e),t.promise}function l(e,t,n){var r=null;try{we(n)&&(r=n())}catch(e){return i(e)}return I(r)?r.then(function(){return t(e)},i):t(e)}function u(e,t,n,r){var i=new c;return i.resolve(e),i.promise.then(t,n,r)}de(e.prototype,{then:function(e,t,n){if(ge(e)&&ge(t)&&ge(n))return this;var r=new c;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),0<this.$$state.status&&s(this.$$state),r.promise},catch:function(e){return this.then(null,e)},finally:function(t,e){return this.then(function(e){return l(e,f,t)},function(e){return l(e,i,t)},e)}}),de(c.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(n("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var t,n=this,r=!1;try{(be(e)||we(e))&&(t=e&&e.then),we(t)?(this.promise.$$state.status=-1,t.call(e,function(e){if(r)return;r=!0,n.$$resolve(e)},i,a(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(e){i(e),o(e)}function i(e){r||(r=!0,n.$$reject(e))}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(i){var a=this.promise.$$state.pending;this.promise.$$state.status<=0&&a&&a.length&&t(function(){for(var e,t,n=0,r=a.length;n<r;n++){t=a[n][0],e=a[n][3];try{t.notify(we(e)?e(i):i)}catch(e){o(e)}}})}});var f=u;function d(e){if(!we(e))throw n("norslvr","Expected resolverFn, got '{0}'",e);var t=new c;return e(function(e){t.resolve(e)},function(e){t.reject(e)}),t.promise}return d.prototype=e.prototype,d.defer=r,d.reject=i,d.when=u,d.resolve=f,d.all=function(e){var n=new c,r=0,i=ye(e)?[]:{};return fe(e,function(e,t){r++,u(e).then(function(e){i[t]=e,--r||n.resolve(i)},function(e){n.reject(e)})}),0===r&&n.resolve(i),n.promise},d.race=function(e){var t=r();return fe(e,function(e){u(e).then(t.resolve,t.reject)}),t.promise},d}function Qr(){this.$get=["$window","$timeout",function(e,n){var r=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,t=!!r,a=t?function(e){var t=r(e);return function(){i(t)}}:function(e){var t=n(e,16.66,!1);return function(){n.cancel(t)}};return a.supported=t,a}]}function Xr(){var A=10,S=w("$rootScope"),T=null,x=null;this.digestTtl=function(e){return arguments.length&&(A=e),A},this.$get=["$exceptionHandler","$parse","$browser",function(d,p,h){function r(e){e.currentScope.$$destroyed=!0}function i(){this.$id=k(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,(this.$root=this).$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}i.prototype={constructor:i,$new:function(e,t){var n;return t=t||this,e?(n=new i).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=k(),this.$$ChildScope=null}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",r),n},$watch:function(e,t,n,r){var i=p(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var a=this,o=a.$$watchers,s={fn:t,last:w,get:i,exp:r||e,eq:!!n};return T=null,we(t)||(s.fn=pe),o||((o=a.$$watchers=[]).$$digestWatchIndex=-1),o.unshift(s),o.$$digestWatchIndex++,c(this,1),function(){var e=xe(o,s);0<=e&&(c(a,-1),e<o.$$digestWatchIndex&&o.$$digestWatchIndex--),T=null}},$watchGroup:function(e,r){var i=new Array(e.length),a=new Array(e.length),o=[],s=this,c=!1,t=!0;if(!e.length){var n=!0;return s.$evalAsync(function(){n&&r(a,a,s)}),function(){n=!1}}if(1===e.length)return this.$watch(e[0],function(e,t,n){a[0]=e,i[0]=t,r(a,e===t?a:i,n)});function l(){c=!1,t?(t=!1,r(a,a,s)):r(a,i,s)}return fe(e,function(e,n){var t=s.$watch(e,function(e,t){a[n]=e,i[n]=t,c||(c=!0,s.$evalAsync(l))});o.push(t)}),function(){for(;o.length;)o.shift()()}},$watchCollection:function(e,n){h.$stateful=!0;var o,s,r,i=this,a=1<n.length,c=0,t=p(e,h),l=[],u={},f=!0,d=0;function h(e){var t,n,r,i;if(!ge(o=e)){if(be(o))if(O(o)){s!==l&&(d=(s=l).length=0,c++),t=o.length,d!==t&&(c++,s.length=d=t);for(var a=0;a<t;a++)i=s[a],r=o[a],i!=i&&r!=r||i===r||(c++,s[a]=r)}else{for(n in s!==u&&(s=u={},d=0,c++),t=0,o)B.call(o,n)&&(t++,r=o[n],i=s[n],n in s?i!=i&&r!=r||i===r||(c++,s[n]=r):(d++,s[n]=r,c++));if(t<d)for(n in c++,s)B.call(o,n)||(d--,delete s[n])}else s!==o&&(s=o,c++);return c}}return this.$watch(t,function(){if(f?(f=!1,n(o,o,i)):n(o,r,i),a)if(be(o))if(O(o)){r=new Array(o.length);for(var e=0;e<o.length;e++)r[e]=o[e]}else for(var t in r={},o)B.call(o,t)&&(r[t]=o[t]);else r=o})},$digest:function(){var e,t,n,r,i,a,o,s,c,l=A,u=[];v("$digest"),h.$$checkUrlChange(),this===m&&null!==x&&(h.defer.cancel(x),C()),T=null;do{i=!1,o=this;for(var f=0;f<g.length;f++){try{(c=g[f]).scope.$eval(c.expression,c.locals)}catch(e){d(e)}T=null}g.length=0;e:do{if(r=o.$$watchers)for(r.$$digestWatchIndex=r.length;r.$$digestWatchIndex--;)try{if(e=r[r.$$digestWatchIndex])if((t=(0,e.get)(o))===(n=e.last)||(e.eq?ke(t,n):E(t)&&E(n))){if(e===T){i=!1;break e}}else i=!0,(T=e).last=e.eq?R(t,null):t,(0,e.fn)(t,n===w?t:n,o),l<5&&(u[s=4-l]||(u[s]=[]),u[s].push({msg:we(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:t,oldVal:n}))}catch(e){d(e)}if(!(a=o.$$watchersCount&&o.$$childHead||o!==this&&o.$$nextSibling))for(;o!==this&&!(a=o.$$nextSibling);)o=o.$parent}while(o=a);if((i||g.length)&&!l--)throw y(),S("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",A,u)}while(i||g.length);for(y();b<_.length;)try{_[b++]()}catch(e){d(e)}_.length=b=0},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===m&&h.$$applicationDestroyed(),c(this,-this.$$watchersCount),this.$$listenerCount)a(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=pe,this.$on=this.$watch=this.$watchGroup=function(){return pe},this.$$listeners={},this.$$nextSibling=null,function e(t){9===U&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return p(e)(this,t)},$evalAsync:function(e,t){m.$$phase||g.length||h.defer(function(){g.length&&m.$digest()}),g.push({scope:this,expression:p(e),locals:t})},$$postDigest:function(e){_.push(e)},$apply:function(e){try{v("$apply");try{return this.$eval(e)}finally{y()}}catch(e){d(e)}finally{try{m.$digest()}catch(e){throw d(e),e}}},$applyAsync:function(e){var t=this;e&&n.push(function(){t.$eval(e)}),e=p(e),null===x&&(x=h.defer(function(){m.$apply(C)}))},$on:function(t,n){var r=this.$$listeners[t];r||(this.$$listeners[t]=r=[]),r.push(n);for(var e=this;e.$$listenerCount[t]||(e.$$listenerCount[t]=0),e.$$listenerCount[t]++,e=e.$parent;);var i=this;return function(){var e=r.indexOf(n);-1!==e&&(r[e]=null,a(i,1,t))}},$emit:function(e,t){var n,r,i,a=[],o=this,s=!1,c={name:e,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},l=F([c],arguments,1);do{for(n=o.$$listeners[e]||a,c.currentScope=o,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,l)}catch(e){d(e)}else n.splice(r,1),r--,i--;if(s)return c.currentScope=null,c;o=o.$parent}while(o);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,r=this,i={name:e,targetScope:this,preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return i;for(var a,o,s,c=F([i],arguments,1);n=r;){for(o=0,s=(a=(i.currentScope=n).$$listeners[e]||[]).length;o<s;o++)if(a[o])try{a[o].apply(null,c)}catch(e){d(e)}else a.splice(o,1),o--,s--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return i.currentScope=null,i}};var m=new i,g=m.$$asyncQueue=[],_=m.$$postDigestQueue=[],n=m.$$applyAsyncQueue=[],b=0;return m;function v(e){if(m.$$phase)throw S("inprog","{0} already in progress",m.$$phase);m.$$phase=e}function y(){m.$$phase=null}function c(e,t){for(;e.$$watchersCount+=t,e=e.$parent;);}function a(e,t,n){for(;e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n],e=e.$parent;);}function w(){}function C(){for(;n.length;)try{n.shift()()}catch(e){d(e)}x=null}}]}function Zr(){var i=/^\s*(https?|ftp|mailto|tel|file):/,a=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return _e(e)?(i=e,this):i},this.imgSrcSanitizationWhitelist=function(e){return _e(e)?(a=e,this):a},this.$get=function(){return function(e,t){var n,r=t?a:i;return""===(n=fi(e).href)||n.match(r)?e:"unsafe:"+n}}}Hr.prototype={constructor:Hr,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var Jr=w("$sce"),ei={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function ti(e){var t=[];return _e(e)&&fe(e,function(e){t.push(function(e){if("self"===e)return e;if(ve(e)){if(-1<e.indexOf("***"))throw Jr("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=M(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(T(e))return new RegExp("^"+e.source+"$");throw Jr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function ni(){this.SCE_CONTEXTS=ei;var o=["self"],s=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(o=ti(e)),o},this.resourceUrlBlacklist=function(e){return arguments.length&&(s=ti(e)),s},this.$get=["$injector",function(e){var r=function(e){throw Jr("unsafe","Attempting to use an unsafe value in a safe context.")};function a(e,t){return"self"===e?di(t):!!e.exec(t.href)}function t(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}e.has("$sanitize")&&(r=e.get("$sanitize"));var n=t(),i={};return i[ei.HTML]=t(n),i[ei.CSS]=t(n),i[ei.URL]=t(n),i[ei.JS]=t(n),i[ei.RESOURCE_URL]=t(i[ei.URL]),{trustAs:function(e,t){var n=i.hasOwnProperty(e)?i[e]:null;if(!n)throw Jr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||ge(t)||""===t)return t;if("string"!=typeof t)throw Jr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,t){if(null===t||ge(t)||""===t)return t;var n=i.hasOwnProperty(e)?i[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===ei.RESOURCE_URL){if(function(e){var t,n,r=fi(e.toString()),i=!1;for(t=0,n=o.length;t<n;t++)if(a(o[t],r)){i=!0;break}if(i)for(t=0,n=s.length;t<n;t++)if(a(s[t],r)){i=!1;break}return i}(t))return t;throw Jr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===ei.HTML)return r(t);throw Jr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof n?e.$$unwrapTrustedValue():e}}}]}function ri(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(r,e){if(t&&U<8)throw Jr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=je(ei);i.isEnabled=function(){return t},i.trustAs=e.trustAs,i.getTrusted=e.getTrusted,i.valueOf=e.valueOf,t||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=me),i.parseAs=function(t,e){var n=r(e);return n.literal&&n.constant?n:r(e,function(e){return i.getTrusted(t,e)})};var a=i.parseAs,o=i.getTrusted,s=i.trustAs;return fe(ei,function(t,e){var n=S(e);i[Xe("parse_as_"+n)]=function(e){return a(t,e)},i[Xe("get_trusted_"+n)]=function(e){return o(t,e)},i[Xe("trust_as_"+n)]=function(e){return s(t,e)}}),i}]}function ii(){this.$get=["$window","$document",function(e,t){var n,r,i={},a=!(e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,o=m((/android (\d+)/.exec(S((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),c=t[0]||{},l=/^(Moz|webkit|ms)(?=[A-Z])/,u=c.body&&c.body.style,f=!1,d=!1;if(u){for(var h in u)if(r=l.exec(h)){n=(n=r[0])[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in u&&"webkit"),f=!!("transition"in u||n+"Transition"in u),d=!!("animation"in u||n+"Animation"in u),!o||f&&d||(f=ve(u.webkitTransition),d=ve(u.webkitAnimation))}return{history:!(!a||o<4||s),hasEvent:function(e){if("input"===e&&U<=11)return!1;if(ge(i[e])){var t=c.createElement("div");i[e]="on"+e in t}return i[e]},csp:N(),vendorPrefix:n,transitions:f,animations:d,android:o}}]}var ai=w("$compile");function oi(){var c;this.httpOptions=function(e){return e?(c=e,this):c},this.$get=["$templateCache","$http","$q","$sce",function(r,i,a,o){function s(t,n){s.totalPendingRequests++,ve(t)&&!ge(r.get(t))||(t=o.getTrustedResourceUrl(t));var e=i.defaults&&i.defaults.transformResponse;return ye(e)?e=e.filter(function(e){return e!==In}):e===In&&(e=null),i.get(t,de({cache:r,transformResponse:e},c)).finally(function(){s.totalPendingRequests--}).then(function(e){return r.put(t,e.data),e.data},function(e){if(n)return a.reject(e);throw ai("tpload","Failed to load template: {0} (HTTP status: {1} {2})",t,e.status,e.statusText)})}return s.totalPendingRequests=0,s}]}function si(){this.$get=["$rootScope","$browser","$location",function(t,n,r){var e={findBindings:function(e,n,r){var t=e.getElementsByClassName("ng-binding"),i=[];return fe(t,function(t){var e=v.element(t).data("$binding");e&&fe(e,function(e){r?new RegExp("(^|\\s)"+M(n)+"(\\s|\\||$)").test(e)&&i.push(t):-1!==e.indexOf(n)&&i.push(t)})}),i},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var a="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',o=e.querySelectorAll(a);if(o.length)return o}},getLocation:function(){return r.url()},setLocation:function(e){e!==r.url()&&(r.url(e),t.$digest())},whenStable:function(e){n.notifyWhenNoOutstandingRequests(e)}};return e}]}function ci(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(c,l,u,f,d){var h={};function e(e,t,n){we(e)||(n=t,t=e,e=pe);var r,i=Ee(arguments,3),a=_e(n)&&!n,o=(a?f:u).defer(),s=o.promise;return r=l.defer(function(){try{o.resolve(e.apply(null,i))}catch(e){o.reject(e),d(e)}finally{delete h[s.$$timeoutId]}a||c.$apply()},t),s.$$timeoutId=r,h[r]=o,s}return e.cancel=function(e){return!!(e&&e.$$timeoutId in h)&&(h[e.$$timeoutId].reject("canceled"),delete h[e.$$timeoutId],l.defer.cancel(e.$$timeoutId))},e}]}var li=j.document.createElement("a"),ui=fi(j.location.href);function fi(e){var t=e;return U&&(li.setAttribute("href",t),t=li.href),li.setAttribute("href",t),{href:li.href,protocol:li.protocol?li.protocol.replace(/:$/,""):"",host:li.host,search:li.search?li.search.replace(/^\?/,""):"",hash:li.hash?li.hash.replace(/^#/,""):"",hostname:li.hostname,port:li.port,pathname:"/"===li.pathname.charAt(0)?li.pathname:"/"+li.pathname}}function di(e){var t=ve(e)?fi(e):e;return t.protocol===ui.protocol&&t.host===ui.host}function hi(){this.$get=x(j)}function pi(e){var o=e[0]||{},s={},c="";function l(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){var e,t,n,r,i,a=o.cookie||"";if(a!==c)for(e=(c=a).split("; "),s={},n=0;n<e.length;n++)0<(r=(t=e[n]).indexOf("="))&&(i=l(t.substring(0,r)),ge(s[i])&&(s[i]=l(t.substring(r+1))));return s}}function mi(){this.$get=pi}function gi(r){var i="Filter";function a(e,t){if(be(e)){var n={};return fe(e,function(e,t){n[t]=a(t,e)}),n}return r.factory(e+i,t)}this.register=a,this.$get=["$injector",function(t){return function(e){return t.get(e+i)}}],a("currency",Ai),a("date",Ri),a("filter",_i),a("json",Ni),a("limitTo",Gi),a("lowercase",Li),a("number",Si),a("orderBy",Bi),a("uppercase",Fi)}function _i(){return function(e,t,n,r){if(!O(e)){if(null==e)return e;throw w("filter")("notarray","Expected array but received: {0}",e)}var i,a;switch(r=r||"$",vi(t)){case"function":i=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":i=function(t,n,r,i){var a=be(t)&&r in t;!0===n?n=ke:we(n)||(n=function(e,t){return!ge(e)&&(null===e||null===t?e===t:!(be(t)||be(e)&&!b(e))&&(e=S(""+e),t=S(""+t),-1!==e.indexOf(t)))});return function(e){return a&&!be(e)?bi(e,t[r],n,r,!1):bi(e,t,n,r,i)}}(t,n,r,a);break;default:return e}return Array.prototype.filter.call(e,i)}}function bi(e,t,n,r,i,a){var o=vi(e),s=vi(t);if("string"===s&&"!"===t.charAt(0))return!bi(e,t.substring(1),n,r,i);if(ye(e))return e.some(function(e){return bi(e,t,n,r,i)});switch(o){case"object":var c;if(i){for(c in e)if("$"!==c.charAt(0)&&bi(e[c],t,n,r,!0))return!0;return!a&&bi(e,t,n,r,!1)}if("object"!==s)return n(e,t);for(c in t){var l=t[c];if(!we(l)&&!ge(l)){var u=c===r;if(!bi(u?e:e[c],l,n,r,u,u))return!1}}return!0;case"function":return!1;default:return n(e,t)}}function vi(e){return null===e?"null":typeof e}pi.$inject=["$document"],gi.$inject=["$provide"];var yi=22,wi=".",Ci="0";function Ai(e){var r=e.NUMBER_FORMATS;return function(e,t,n){return ge(t)&&(t=r.CURRENCY_SYM),ge(n)&&(n=r.PATTERNS[1].maxFrac),null==e?e:Ti(e,r.PATTERNS[1],r.GROUP_SEP,r.DECIMAL_SEP,n).replace(/\u00A4/g,t)}}function Si(e){var n=e.NUMBER_FORMATS;return function(e,t){return null==e?e:Ti(e,n.PATTERNS[0],n.GROUP_SEP,n.DECIMAL_SEP,t)}}function Ti(e,t,n,r,i){if(!ve(e)&&!C(e)||isNaN(e))return"";var a,o=!isFinite(e),s=!1,c=Math.abs(e)+"",l="";if(o)l="∞";else{(function(e,t,n,r){var i=e.d,a=i.length-e.i,o=(t=ge(t)?Math.min(Math.max(n,a),r):+t)+e.i,s=i[o];if(0<o){i.splice(Math.max(e.i,o));for(var c=o;c<i.length;c++)i[c]=0}else{a=Math.max(0,a),e.i=1,i.length=Math.max(1,o=t+1),i[0]=0;for(var l=1;l<o;l++)i[l]=0}if(5<=s)if(o-1<0){for(var u=0;o<u;u--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[o-1]++;for(;a<Math.max(0,t);a++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)})(a=function(e){var t,n,r,i,a,o=0;for(-1<(n=e.indexOf(wi))&&(e=e.replace(wi,"")),0<(r=e.search(/e/i))?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Ci;r++);if(r===(a=e.length))t=[0],n=1;else{for(a--;e.charAt(a)===Ci;)a--;for(n-=r,t=[],i=0;r<=a;r++,i++)t[i]=+e.charAt(r)}return yi<n&&(t=t.splice(0,yi-1),o=n-1,n=1),{d:t,e:o,i:n}}(c),i,t.minFrac,t.maxFrac);var u=a.d,f=a.i,d=a.e,h=[];for(s=u.reduce(function(e,t){return e&&!t},!0);f<0;)u.unshift(0),f++;0<f?h=u.splice(f,u.length):(h=u,u=[0]);var p=[];for(u.length>=t.lgSize&&p.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)p.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&p.unshift(u.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function xi(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=Ci+e;return n&&(e=e.substr(e.length-t)),i+e}function ki(n,r,i,a,o){return i=i||0,function(e){var t=e["get"+n]();return(0<i||-i<t)&&(t+=i),0===t&&-12===i&&(t=12),xi(t,r,a,o)}}function Ei(r,i,a){return function(e,t){var n=e["get"+r]();return t[u((a?"STANDALONE":"")+(i?"SHORT":"")+r)][n]}}function Di(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function Ii(i){return function(e){var t,n=Di(e.getFullYear()),r=+(t=e,new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay())))-+n;return xi(1+Math.round(r/6048e5),i)}}function Pi(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}Ai.$inject=["$locale"];var Mi={yyyy:ki("FullYear",4,0,!(Si.$inject=["$locale"]),!0),yy:ki("FullYear",2,0,!0,!0),y:ki("FullYear",1,0,!1,!0),MMMM:Ei("Month"),MMM:Ei("Month",!0),MM:ki("Month",2,1),M:ki("Month",1,1),LLLL:Ei("Month",!1,!0),dd:ki("Date",2),d:ki("Date",1),HH:ki("Hours",2),H:ki("Hours",1),hh:ki("Hours",2,-12),h:ki("Hours",1,-12),mm:ki("Minutes",2),m:ki("Minutes",1),ss:ki("Seconds",2),s:ki("Seconds",1),sss:ki("Milliseconds",3),EEEE:Ei("Day"),EEE:Ei("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n,i=0<=r?"+":"";return i+=xi(Math[0<r?"floor":"ceil"](r/60),2)+xi(Math.abs(r%60),2)},ww:Ii(2),w:Ii(1),G:Pi,GG:Pi,GGG:Pi,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},$i=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oi=/^-?\d+$/;function Ri(c){var f=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(t,e,n){var r,i,a="",o=[];if(e=e||"mediumDate",e=c.DATETIME_FORMATS[e]||e,ve(t)&&(t=Oi.test(t)?m(t):function(e){var t;if(t=e.match(f)){var n=new Date(0),r=0,i=0,a=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(r=m(t[9]+t[10]),i=m(t[9]+t[11])),a.call(n,m(t[1]),m(t[2])-1,m(t[3]));var s=m(t[4]||0)-r,c=m(t[5]||0)-i,l=m(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,s,c,l,u),n}return e}(t)),C(t)&&(t=new Date(t)),!A(t)||!isFinite(t.getTime()))return t;for(;e;)e=(i=$i.exec(e))?(o=F(o,i,1)).pop():(o.push(e),null);var s=t.getTimezoneOffset();return n&&(s=z(n,s),t=V(t,n,!0)),fe(o,function(e){r=Mi[e],a+=r?r(t,c.DATETIME_FORMATS,s):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),a}}function Ni(){return function(e,t){return ge(t)&&(t=2),G(e,t)}}Ri.$inject=["$locale"];var Li=x(S),Fi=x(u);function Gi(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):m(t),E(t)?e:(C(e)&&(e=e.toString()),O(e)?(n=(n=!n||isNaN(n)?0:m(n))<0?Math.max(0,e.length+n):n,0<=t?ji(e,n,n+t):0===n?ji(e,t,e.length):ji(e,Math.max(0,n+t),n)):e)}}function ji(e,t,n){return ve(e)?e.slice(t,n):s.call(e,t,n)}function Bi(c){return function(e,t,n,r){if(null==e)return e;if(!O(e))throw w("orderBy")("notarray","Expected array but received: {0}",e);ye(t)||(t=[t]),0===t.length&&(t=["+"]);var a=t.map(function(e){var t=1,n=me;if(we(e))n=e;else if(ve(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(t="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(n=c(e)).constant)){var r=n();n=function(e){return e[r]}}return{get:n,descending:t}}),o=n?-1:1,s=we(r)?r:u,i=Array.prototype.map.call(e,function(t,n){return{value:t,tieBreaker:{value:n,type:"number",index:n},predicateValues:a.map(function(e){return function(e,t){var n=typeof e;null===e?(n="string",e="null"):"object"===n&&(e=function(e){if(we(e.valueOf)&&l(e=e.valueOf()))return e;if(b(e)&&l(e=e.toString()))return e;return e}(e));return{value:e,type:n,index:t}}(e.get(t),n)})}});return i.sort(function(e,t){for(var n=0,r=a.length;n<r;n++){var i=s(e.predicateValues[n],t.predicateValues[n]);if(i)return i*a[n].descending*o}return s(e.tieBreaker,t.tieBreaker)*o}),e=i.map(function(e){return e.value})};function l(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function u(e,t){var n=0,r=e.type,i=t.type;if(r===i){var a=e.value,o=t.value;"string"===r?(a=a.toLowerCase(),o=o.toLowerCase()):"object"===r&&(be(a)&&(a=e.index),be(o)&&(o=t.index)),a!==o&&(n=a<o?-1:1)}else n=r<i?-1:1;return n}}function Ui(e){return we(e)&&(e={link:e}),e.restrict=e.restrict||"AC",x(e)}Bi.$inject=["$parse"];var Hi=x({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===H.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Wi={};fe(St,function(e,r){if("multiple"!==e){var i=fn("ng-"+r),t=a;"checked"===e&&(t=function(e,t,n){n.ngModel!==n[i]&&a(e,0,n)}),Wi[i]=function(){return{restrict:"A",priority:100,link:t}}}function a(e,t,n){e.$watch(n[i],function(e){n.$set(r,!!e)})}}),fe(xt,function(e,i){Wi[i]=function(){return{priority:100,link:function(e,t,n){if("ngPattern"===i&&"/"===n.ngPattern.charAt(0)){var r=n.ngPattern.match(a);if(r)return void n.$set("ngPattern",new RegExp(r[1],r[2]))}e.$watch(n[i],function(e){n.$set(i,e)})}}}}),fe(["src","srcset","href"],function(a){var o=fn("ng-"+a);Wi[o]=function(){return{priority:99,link:function(e,t,n){var r=a,i=a;"href"===a&&"[object SVGAnimatedString]"===H.call(t.prop("href"))&&(i="xlinkHref",n.$attr[i]="xlink:href",r=null),n.$observe(o,function(e){e?(n.$set(i,e),U&&r&&t.prop(r,n[i])):"href"===a&&n.$set(i,null)})}}}});var qi={$addControl:pe,$$renameControl:function(e,t){e.$name=t},$removeControl:pe,$setValidity:pe,$setDirty:pe,$setPristine:pe,$setSubmitted:pe},zi="ng-submitted";function Vi(e,t,n,r,i){var a=this,o=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=i(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=qi,a.$rollbackViewValue=function(){fe(o,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){fe(o,function(e){e.$commitViewValue()})},a.$addControl=function(e){ce(e.$name,"input"),o.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],(a[t]=e).$name=t},a.$removeControl=function(n){n.$name&&a[n.$name]===n&&delete a[n.$name],fe(a.$pending,function(e,t){a.$setValidity(t,null,n)}),fe(a.$error,function(e,t){a.$setValidity(t,null,n)}),fe(a.$$success,function(e,t){a.$setValidity(t,null,n)}),xe(o,n),n.$$parentForm=qi},Ja({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(xe(r,n),0===r.length&&delete e[t])},$animate:r}),a.$setDirty=function(){r.removeClass(e,Ba),r.addClass(e,Ua),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){r.setClass(e,Ba,Ua+" "+zi),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,fe(o,function(e){e.$setPristine()})},a.$setUntouched=function(){fe(o,function(e){e.$setUntouched()})},a.$setSubmitted=function(){r.addClass(e,zi),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}Vi.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Yi=function(n){return["$timeout","$parse",function(c,t){return{name:"form",restrict:n?"EAC":"E",require:["form","^^?form"],controller:Vi,compile:function(e,t){e.addClass(Ba).addClass(Ga);var s=t.name?"name":!(!n||!t.ngForm)&&"ngForm";return{pre:function(t,e,n,r){var i=r[0];if(!("action"in n)){var a=function(e){t.$apply(function(){i.$commitViewValue(),i.$setSubmitted()}),e.preventDefault()};qe(e[0],"submit",a),e.on("$destroy",function(){c(function(){ze(e[0],"submit",a)},0,!1)})}(r[1]||i.$$parentForm).$addControl(i);var o=s?l(i.$name):pe;s&&(o(t,i),n.$observe(s,function(e){i.$name!==e&&(o(t,void 0),i.$$parentForm.$$renameControl(i,e),(o=l(i.$name))(t,i))})),e.on("$destroy",function(){i.$$parentForm.$removeControl(i),o(t,void 0),de(i,qi)})}}}};function l(e){return""===e?t('this[""]').assign:t(e).assign||pe}}]},Ki=Yi(),Qi=Yi(!0),Xi=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Zi=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ji=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ea=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,ta=/^(\d{4,})-(\d{2})-(\d{2})$/,na=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ra=/^(\d{4,})-W(\d\d)$/,ia=/^(\d{4,})-(\d\d)$/,aa=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,oa="keydown wheel mousedown",sa=Oe();fe("date,datetime-local,month,time,week".split(","),function(e){sa[e]=!0});var ca={text:function(e,t,n,r,i,a){ua(e,t,n,r,i,a),la(r)},date:da("date",ta,fa(ta,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":da("datetimelocal",na,fa(na,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:da("time",aa,fa(aa,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:da("week",ra,function(e,t){if(A(e))return e;if(ve(e)){ra.lastIndex=0;var n=ra.exec(e);if(n){var r=+n[1],i=+n[2],a=0,o=0,s=0,c=0,l=Di(r),u=7*(i-1);return t&&(a=t.getHours(),o=t.getMinutes(),s=t.getSeconds(),c=t.getMilliseconds()),new Date(r,0,l.getDate()+u,a,o,s,c)}}return NaN},"yyyy-Www"),month:da("month",ia,fa(ia,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,a){var o,s;ha(e,t,n,r),ua(e,t,n,r,i,a),pa(r),(_e(n.min)||n.ngMin)&&(r.$validators.min=function(e){return r.$isEmpty(e)||ge(o)||o<=e},n.$observe("min",function(e){o=ma(e),r.$validate()}));(_e(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||ge(s)||e<=s},n.$observe("max",function(e){s=ma(e),r.$validate()}))},url:function(e,t,n,r,i,a){ua(e,t,n,r,i,a),la(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Zi.test(n)}},email:function(e,t,n,r,i,a){ua(e,t,n,r,i,a),la(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ji.test(n)}},radio:function(e,t,n,r){ge(n.name)&&t.attr("name",k());t.on("click",function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)}),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)},range:function(e,n,r,i,t,a){ha(e,n,r,i),pa(i),ua(e,n,r,i,t,a);var o=i.$$hasNativeValidators&&"range"===n[0].type,s=o?0:void 0,c=o?100:void 0,l=o?1:void 0,u=n[0].validity,f=_e(r.min),d=_e(r.max),h=_e(r.step),p=i.$render;i.$render=o&&_e(u.rangeUnderflow)&&_e(u.rangeOverflow)?function(){p(),i.$setViewValue(n.val())}:p,f&&(i.$validators.min=o?function(){return!0}:function(e,t){return i.$isEmpty(t)||ge(s)||s<=t},m("min",function(e){if(s=ma(e),E(i.$modelValue))return;if(o){var t=n.val();t<s&&(t=s,n.val(t)),i.$setViewValue(t)}else i.$validate()}));d&&(i.$validators.max=o?function(){return!0}:function(e,t){return i.$isEmpty(t)||ge(c)||t<=c},m("max",function(e){if(c=ma(e),E(i.$modelValue))return;if(o){var t=n.val();c<t&&(n.val(c),t=c<s?s:c),i.$setViewValue(t)}else i.$validate()}));h&&(i.$validators.step=o?function(){return!u.stepMismatch}:function(e,t){return i.$isEmpty(t)||ge(l)||function(e,t,n){var r=Number(e);if(!ga(r)||!ga(t)||!ga(n)){var i=Math.max(_a(r),_a(t),_a(n)),a=Math.pow(10,i);r*=a,t*=a,n*=a}return(r-t)%n==0}(t,s||0,l)},m("step",function(e){if(l=ma(e),E(i.$modelValue))return;o&&i.$viewValue!==n.val()?i.$setViewValue(n.val()):i.$validate()}));function m(e,t){n.attr(e,r[e]),r.$observe(e,t)}},checkbox:function(e,t,n,r,i,a,o,s){var c=ba(s,e,"ngTrueValue",n.ngTrueValue,!0),l=ba(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("click",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return ke(e,c)}),r.$parsers.push(function(e){return e?c:l})},hidden:pe,button:pe,submit:pe,reset:pe,file:pe};function la(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function ua(e,r,i,a,t,o){var s,c=S(r[0].type);if(!t.android){var l=!1;r.on("compositionstart",function(){l=!0}),r.on("compositionend",function(){l=!1,u()})}var u=function(e){if(s&&(o.defer.cancel(s),s=null),!l){var t=r.val(),n=e&&e.type;"password"===c||i.ngTrim&&"false"===i.ngTrim||(t=Se(t)),(a.$viewValue!==t||""===t&&a.$$hasNativeValidators)&&a.$setViewValue(t,n)}};if(t.hasEvent("input"))r.on("input",u);else{var n=function(e,t,n){s||(s=o.defer(function(){s=null,t&&t.value===n||u(e)}))};r.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||n(e,this,this.value)}),t.hasEvent("paste")&&r.on("paste cut",n)}r.on("change",u),sa[c]&&a.$$hasNativeValidators&&c===i.type&&r.on(oa,function(e){if(!s){var t=this[f],n=t.badInput,r=t.typeMismatch;s=o.defer(function(){s=null,t.badInput===n&&t.typeMismatch===r||u(e)})}}),a.$render=function(){var e=a.$isEmpty(a.$viewValue)?"":a.$viewValue;r.val()!==e&&r.val(e)}}function fa(i,a){return function(e,t){var n,r;if(A(e))return e;if(ve(e)){if('"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substring(1,e.length-1)),Xi.test(e))return new Date(e);if(i.lastIndex=0,n=i.exec(e))return n.shift(),r=t?{yyyy:t.getFullYear(),MM:t.getMonth()+1,dd:t.getDate(),HH:t.getHours(),mm:t.getMinutes(),ss:t.getSeconds(),sss:t.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},fe(n,function(e,t){t<a.length&&(r[a[t]]=+e)}),new Date(r.yyyy,r.MM-1,r.dd,r.HH,r.mm,r.ss||0,1e3*r.sss||0)}return NaN}}function da(h,p,m,g){return function(e,t,n,r,i,a,o){ha(e,t,n,r),ua(0,t,n,r,i,a);var s,c,l,u=r&&r.$options&&r.$options.timezone;(r.$$parserName=h,r.$parsers.push(function(e){if(r.$isEmpty(e))return null;if(p.test(e)){var t=m(e,s);return u&&(t=V(t,u)),t}}),r.$formatters.push(function(e){if(e&&!A(e))throw Ya("datefmt","Expected `{0}` to be a date",e);return f(e)?((s=e)&&u&&(s=V(s,u,!0)),o("date")(e,g,u)):(s=null,"")}),_e(n.min)||n.ngMin)&&(r.$validators.min=function(e){return!f(e)||ge(c)||m(e)>=c},n.$observe("min",function(e){c=d(e),r.$validate()}));(_e(n.max)||n.ngMax)&&(r.$validators.max=function(e){return!f(e)||ge(l)||m(e)<=l},n.$observe("max",function(e){l=d(e),r.$validate()}));function f(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function d(e){return _e(e)&&!A(e)?m(e)||void 0:e}}}function ha(e,n,t,r){var i=n[0];(r.$$hasNativeValidators=be(i.validity))&&r.$parsers.push(function(e){var t=n.prop(f)||{};return t.badInput||t.typeMismatch?void 0:e})}function pa(t){t.$$parserName="number",t.$parsers.push(function(e){return t.$isEmpty(e)?null:ea.test(e)?parseFloat(e):void 0}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!C(e))throw Ya("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})}function ma(e){return _e(e)&&!C(e)&&(e=parseFloat(e)),E(e)?void 0:e}function ga(e){return(0|e)===e}function _a(e){var t=e.toString(),n=t.indexOf(".");if(-1!==n)return t.length-n-1;if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}function ba(e,t,n,r,i){var a;if(_e(r)){if(!(a=e(r)).constant)throw Ya("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return a(t)}return i}var va=["$browser","$sniffer","$filter","$parse",function(a,o,s,c){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,t,n,r){if(r[0]){var i=S(n.type);"range"!==i||n.hasOwnProperty("ngInputRange")||(i="text"),(ca[i]||ca.text)(e,t,n,r[0],o,a,s,c)}}}}}],ya=/^(true|false|\d+)$/,wa=function(){return{restrict:"A",priority:100,compile:function(e,t){return ya.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ca=["$compile",function(r){return{restrict:"AC",compile:function(e){return r.$$addBindingClass(e),function(e,t,n){r.$$addBindingInfo(t,n.ngBind),t=t[0],e.$watch(n.ngBind,function(e){t.textContent=ge(e)?"":e})}}}}],Aa=["$interpolate","$compile",function(i,a){return{compile:function(e){return a.$$addBindingClass(e),function(e,t,n){var r=i(t.attr(n.$attr.ngBindTemplate));a.$$addBindingInfo(t,r.expressions),t=t[0],n.$observe("ngBindTemplate",function(e){t.textContent=ge(e)?"":e})}}}}],Sa=["$sce","$parse","$compile",function(a,n,o){return{restrict:"A",compile:function(e,t){var r=n(t.ngBindHtml),i=n(t.ngBindHtml,function(e){return a.valueOf(e)});return o.$$addBindingClass(e),function(t,n,e){o.$$addBindingInfo(n,e.ngBindHtml),t.$watch(i,function(){var e=r(t);n.html(a.getTrustedHtml(e)||"")})}}}}],Ta=x({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function xa(n,m){return n="ngClass"+n,["$animate",function(d){return{restrict:"AC",link:function(s,c,a){var l;function u(e){var t=f(e,1);a.$addClass(t)}function f(e,t){var n=c.data("$classCounts")||Oe(),r=[];return fe(e,function(e){(0<t||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(0<t)&&r.push(e))}),c.data("$classCounts",n),r.join(" ")}function t(e){if(!0===m||(1&s.$index)===m){var t=p(e||[]);if(l){if(!ke(e,l)){var n=p(l);a=h(i=t,r=n),o=h(r,i),a=f(a,1),o=f(o,-1),a&&a.length&&d.addClass(c,a),o&&o.length&&d.removeClass(c,o)}}else u(t)}var r,i,a,o;l=ye(e)?e.map(function(e){return je(e)}):je(e)}a.$observe("class",function(e){t(s.$eval(a[n]))}),"ngClass"!==n&&s.$watch("$index",function(e,t){var n,r=1&e;if(r!==(1&t)){var i=p(l);r===m?u(i):(n=f(i,-1),a.$removeClass(n))}}),s.$watch(a[n],t,!0)}};function h(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],a=0;a<t.length;a++)if(i===t[a])continue e;n.push(i)}return n}function p(e){var n=[];return ye(e)?(fe(e,function(e){n=n.concat(p(e))}),n):ve(e)?e.split(" "):be(e)?(fe(e,function(e,t){e&&(n=n.concat(t.split(" ")))}),n):e}}]}var ka=xa("",!0),Ea=xa("Odd",0),Da=xa("Even",1),Ia=Ui({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Pa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ma={},$a={blur:!0,focus:!0};fe("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var o=fn("ng-"+a);Ma[o]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(e,t){var r=n(t[o],null,!0);return function(n,e){e.on(a,function(e){var t=function(){r(n,{$event:e})};$a[a]&&i.$$phase?n.$evalAsync(t):n.$apply(t)})}}}}]});var Oa=["$animate","$compile",function(c,l){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(e,n,r,t,i){var a,o,s;e.$watch(r.ngIf,function(e){e?o||i(function(e,t){o=t,e[e.length++]=l.$$createComment("end ngIf",r.ngIf),a={clone:e},c.enter(e,n.parent(),n)}):(s&&(s.remove(),s=null),o&&(o.$destroy(),o=null),a&&(s=$e(a.clone),c.leave(s).done(function(e){!1!==e&&(s=null)}),a=null))})}}}],Ra=["$templateRequest","$anchorScroll","$animate",function(g,_,b){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:v.noop,compile:function(e,t){var n=t.ngInclude||t.src,p=t.onload||"",m=t.autoscroll;return function(o,s,e,c,l){var u,t,f,d=0,h=function(){t&&(t.remove(),t=null),u&&(u.$destroy(),u=null),f&&(b.leave(f).done(function(e){!1!==e&&(t=null)}),t=f,f=null)};o.$watch(n,function(r){var i=function(e){!1===e||!_e(m)||m&&!o.$eval(m)||_()},a=++d;r?(g(r,!0).then(function(e){if(!o.$$destroyed&&a===d){var t=o.$new();c.template=e;var n=l(t,function(e){h(),b.enter(e,null,s).done(i)});f=n,(u=t).$emit("$includeContentLoaded",r),o.$eval(p)}},function(){o.$$destroyed||a===d&&(h(),o.$emit("$includeContentError",r))}),o.$emit("$includeContentRequested",r)):(h(),c.template=null)})}}}}],Na=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,t,n,r){if(H.call(t[0]).match(/SVG/))return t.empty(),void i(at(r.template,j.document).childNodes)(e,function(e){t.append(e)},{futureParentElement:t});t.html(r.template),i(t.contents())(e)}}}],La=Ui({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Fa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,o=a?Se(i):i;r.$parsers.push(function(e){if(!ge(e)){var t=[];return e&&fe(e.split(o),function(e){e&&t.push(a?Se(e):e)}),t}}),r.$formatters.push(function(e){if(ye(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},Ga="ng-valid",ja="ng-invalid",Ba="ng-pristine",Ua="ng-dirty",Ha="ng-untouched",Wa="ng-touched",qa="ng-pending",za="ng-empty",Va="ng-not-empty",Ya=w("ngModel"),Ka=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(a,t,i,o,s,n,c,l,u,e){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=e(i.name||"",!1)(a),this.$$parentForm=qi;var f,d=s(i.ngModel),h=d.assign,p=d,m=h,g=null,_=this;this.$$setOptions=function(e){if((_.$options=e)&&e.getterSetter){var n=s(i.ngModel+"()"),r=s(i.ngModel+"($$$p)");p=function(e){var t=d(e);return we(t)&&(t=n(e)),t},m=function(e,t){we(d(e))?r(e,{$$$p:t}):h(e,t)}}else if(!d.assign)throw Ya("nonassign","Expression '{0}' is non-assignable. Element: {1}",i.ngModel,Ie(o))},this.$render=pe,this.$isEmpty=function(e){return ge(e)||""===e||null===e||e!=e},this.$$updateEmptyClasses=function(e){_.$isEmpty(e)?(n.removeClass(o,Va),n.addClass(o,za)):(n.removeClass(o,za),n.addClass(o,Va))};var b=0;Ja({ctrl:this,$element:o,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:n}),this.$setPristine=function(){_.$dirty=!1,_.$pristine=!0,n.removeClass(o,Ua),n.addClass(o,Ba)},this.$setDirty=function(){_.$dirty=!0,_.$pristine=!1,n.removeClass(o,Ba),n.addClass(o,Ua),_.$$parentForm.$setDirty()},this.$setUntouched=function(){_.$touched=!1,_.$untouched=!0,n.setClass(o,Ha,Wa)},this.$setTouched=function(){_.$touched=!0,_.$untouched=!1,n.setClass(o,Wa,Ha)},this.$rollbackViewValue=function(){c.cancel(g),_.$viewValue=_.$$lastCommittedViewValue,_.$render()},this.$validate=function(){if(!E(_.$modelValue)){var e=_.$$lastCommittedViewValue,t=_.$$rawModelValue,n=_.$valid,r=_.$modelValue,i=_.$options&&_.$options.allowInvalid;_.$$runValidators(t,e,function(e){i||n===e||(_.$modelValue=e?t:void 0,_.$modelValue!==r&&_.$$writeModelToScope())})}},this.$$runValidators=function(r,i,t){var a,o,s,n=++b;(function(){var e=_.$$parserName||"parse";{if(!ge(f))return f||(fe(_.$validators,function(e,t){c(t,null)}),fe(_.$asyncValidators,function(e,t){c(t,null)})),c(e,f),f;c(e,null)}return!0})()?(a=!0,fe(_.$validators,function(e,t){var n=e(r,i);a=a&&n,c(t,n)}),a||(fe(_.$asyncValidators,function(e,t){c(t,null)}),0)?(o=[],s=!0,fe(_.$asyncValidators,function(e,t){var n=e(r,i);if(!I(n))throw Ya("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",n);c(t,void 0),o.push(n.then(function(){c(t,!0)},function(){c(t,s=!1)}))}),o.length?u.all(o).then(function(){e(s)},pe):e(!0)):e(!1)):e(!1);function c(e,t){n===b&&_.$setValidity(e,t)}function e(e){n===b&&t(e)}},this.$commitViewValue=function(){var e=_.$viewValue;c.cancel(g),(_.$$lastCommittedViewValue!==e||""===e&&_.$$hasNativeValidators)&&(_.$$updateEmptyClasses(e),_.$$lastCommittedViewValue=e,_.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=_.$$lastCommittedViewValue;if(f=!ge(t)||void 0)for(var e=0;e<_.$parsers.length;e++)if(ge(t=_.$parsers[e](t))){f=!1;break}E(_.$modelValue)&&(_.$modelValue=p(a));var n=_.$modelValue,r=_.$options&&_.$options.allowInvalid;function i(){_.$modelValue!==n&&_.$$writeModelToScope()}_.$$rawModelValue=t,r&&(_.$modelValue=t,i()),_.$$runValidators(t,_.$$lastCommittedViewValue,function(e){r||(_.$modelValue=e?t:void 0,i())})},this.$$writeModelToScope=function(){m(a,_.$modelValue),fe(_.$viewChangeListeners,function(e){try{e()}catch(e){t(e)}})},this.$setViewValue=function(e,t){_.$viewValue=e,_.$options&&!_.$options.updateOnDefault||_.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(e){var t,n=0,r=_.$options;r&&_e(r.debounce)&&(C(t=r.debounce)?n=t:C(t[e])?n=t[e]:C(t.default)&&(n=t.default)),c.cancel(g),n?g=c(function(){_.$commitViewValue()},n):l.$$phase?_.$commitViewValue():a.$apply(function(){_.$commitViewValue()})},a.$watch(function(){var e=p(a);if(e!==_.$modelValue&&(_.$modelValue==_.$modelValue||e==e)){_.$modelValue=_.$$rawModelValue=e,f=void 0;for(var t=_.$formatters,n=t.length,r=e;n--;)r=t[n](r);_.$viewValue!==r&&(_.$$updateEmptyClasses(r),_.$viewValue=_.$$lastCommittedViewValue=r,_.$render(),_.$$runValidators(_.$modelValue,_.$viewValue,pe))}return e})}],Qa=["$rootScope",function(a){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Ka,priority:1,compile:function(e){return e.addClass(Ba).addClass(Ha).addClass(Ga),{pre:function(e,t,n,r){var i=r[0],a=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),a.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(e,t,n,r){var i=r[0];i.$options&&i.$options.updateOn&&t.on(i.$options.updateOn,function(e){i.$$debounceViewValueCommit(e&&e.type)}),t.on("blur",function(){i.$touched||(a.$$phase?e.$evalAsync(i.$setTouched):e.$apply(i.$setTouched))})}}}}}],Xa=/(\s+|^)default(\s+|$)/,Za=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=R(e.$eval(t.ngModelOptions)),_e(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Se(this.$options.updateOn.replace(Xa,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}};function Ja(e){var i=e.ctrl,n=e.$element,r={},a=e.set,o=e.unset,s=e.$animate;function c(e,t){t&&!r[e]?(s.addClass(n,e),r[e]=!0):!t&&r[e]&&(s.removeClass(n,e),r[e]=!1)}function l(e,t){e=e?"-"+Pe(e,"-"):"",c(Ga+e,!0===t),c(ja+e,!1===t)}r[ja]=!(r[Ga]=n.hasClass(Ga)),i.$setValidity=function(e,t,n){ge(t)?function(e,t,n){i[e]||(i[e]={});a(i[e],t,n)}("$pending",e,n):function(e,t,n){i[e]&&o(i[e],t,n);eo(i[e])&&(i[e]=void 0)}("$pending",e,n);Ae(t)?t?(o(i.$error,e,n),a(i.$$success,e,n)):(a(i.$error,e,n),o(i.$$success,e,n)):(o(i.$error,e,n),o(i.$$success,e,n));i.$pending?(c(qa,!0),i.$valid=i.$invalid=void 0,l("",null)):(c(qa,!1),i.$valid=eo(i.$error),i.$invalid=!i.$valid,l("",i.$valid));var r;r=i.$pending&&i.$pending[e]?void 0:!i.$error[e]&&(!!i.$$success[e]||null);l(e,r),i.$$parentForm.$setValidity(e,r,i)}}function eo(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var to=Ui({terminal:!0,priority:1e3}),no=w("ngOptions"),ro=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,io=["$compile","$document","$parse",function(w,C,S){var A=j.document.createElement("option"),T=j.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=pe},post:function(e,a,t,n){for(var o,s=n[0],c=n[1],l=t.multiple,r=0,i=a.children(),u=i.length;r<u;r++)if(""===i[r].value){o=i.eq(r);break}var f,d=!!o,h=!1,p=ue(A.cloneNode(!1));p.val("?");var m=function(e,t,d){var f=e.match(ro);if(!f)throw no("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,Ie(t));var n=f[5]||f[7],r=f[6],i=/ as /.test(f[0])&&f[1],h=f[9],a=S(f[2]?f[1]:n),p=i&&S(i)||a,o=h&&S(h),m=h?function(e,t){return o(d,t)}:function(e){return Pt(e)},g=function(e,t){return m(e,w(e,t))},_=S(f[2]||f[1]),b=S(f[3]||""),v=S(f[4]||""),y=S(f[8]),s={},w=r?function(e,t){return s[r]=t,s[n]=e,s}:function(e){return s[n]=e,s};function C(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function A(e){var t;if(!r&&O(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:h,getTrackByValue:g,getWatchables:S(y,function(e){for(var t=[],n=A(e=e||[]),r=n.length,i=0;i<r;i++){var a=e===n?i:n[i],o=e[a],s=w(o,a),c=m(o,s);if(t.push(c),f[2]||f[1]){var l=_(d,s);t.push(l)}if(f[4]){var u=v(d,s);t.push(u)}}return t}),getOptions:function(){for(var e=[],t={},n=y(d)||[],r=A(n),i=r.length,a=0;a<i;a++){var o=n===r?a:r[a],s=n[o],c=w(s,o),l=p(d,c),u=m(l,c),f=new C(u,l,_(d,c),b(d,c),v(d,c));e.push(f),t[u]=f}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[g(e)]},getViewValueFromOption:function(e){return h?R(e.viewValue):e.viewValue}}}}}(t.ngOptions,a,e),g=C[0].createDocumentFragment(),_=function(){d?h&&o.removeAttr("selected"):o.remove()},b=function(){p.remove()};function v(e,t){var n,r,i=A.cloneNode(!1);t.appendChild(i),r=i,((n=e).element=r).disabled=n.disabled,n.label!==r.label&&(r.label=n.label,r.textContent=n.label),r.value=n.selectValue}function y(){var e=f&&s.readValue();if(f)for(var t=f.items.length-1;0<=t;t--){var n=f.items[t];_e(n.group)?Ct(n.element.parentNode):Ct(n.element)}f=m.getOptions();var r={};if(d&&a.prepend(o),f.items.forEach(function(e){var t;_e(e.group)?((t=r[e.group])||(t=T.cloneNode(!1),g.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),v(e,t)):v(e,g)}),a[0].appendChild(g),c.$render(),!c.$isEmpty(e)){var i=s.readValue();(m.trackBy||l?ke(e,i):e===i)||(c.$setViewValue(i),c.$render())}}l?(c.$isEmpty=function(e){return!e||0===e.length},s.writeValue=function(e){f.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=f.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},s.readValue=function(){var e=a.val()||[],n=[];return fe(e,function(e){var t=f.selectValueMap[e];t&&!t.disabled&&n.push(f.getViewValueFromOption(t))}),n},m.trackBy&&e.$watchCollection(function(){if(ye(c.$viewValue))return c.$viewValue.map(function(e){return m.getTrackByValue(e)})},function(){c.$render()})):(s.writeValue=function(e){var t=f.selectValueMap[a.val()],n=f.getOptionFromViewValue(e);t&&t.element.removeAttribute("selected"),n?(a[0].value!==n.selectValue&&(b(),_(),a[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):null===e||d?(b(),d||a.prepend(o),a.val(""),h&&(o.prop("selected",!0),o.attr("selected",!0))):(_(),a.prepend(p),a.val("?"),p.prop("selected",!0),p.attr("selected",!0))},s.readValue=function(){var e=f.selectValueMap[a.val()];return e&&!e.disabled?(_(),b(),f.getViewValueFromOption(e)):null},m.trackBy&&e.$watch(function(){return m.getTrackByValue(c.$viewValue)},function(){c.$render()})),d?(o.remove(),w(o)(e),o[0].nodeType===Le?(h=!1,s.registerOption=function(e,t){""===t.val()&&(h=!0,(o=t).removeClass("ng-scope"),c.$render(),t.on("$destroy",function(){o=void 0,h=!1}))}):(o.removeClass("ng-scope"),h=!0)):o=ue(A.cloneNode(!1)),a.empty(),y(),e.$watchCollection(m.getWatchables,y)}}}}],ao=["$locale","$interpolate","$log",function(p,m,g){var _=/{}/g,b=/^when(Minus)?(.+)$/;return{link:function(i,a,o){var s,e=o.count,c=o.$attr.when&&a.attr(o.$attr.when),l=o.offset||0,u=i.$eval(c)||{},f={},t=m.startSymbol(),n=m.endSymbol(),r=t+e+"-"+l+n,d=v.noop;function h(e){a.text(e||"")}fe(o,function(e,t){var n=b.exec(t);if(n){var r=(n[1]?"-":"")+S(n[2]);u[r]=a.attr(o.$attr[t])}}),fe(u,function(e,t){f[t]=m(e.replace(_,r))}),i.$watch(e,function(e){var t=parseFloat(e),n=E(t);if(n||t in u||(t=p.pluralCat(t-l)),!(t===s||n&&E(s))){d();var r=f[t];ge(r)?(null!=e&&g.debug("ngPluralize: no rule defined for '"+t+"' in "+c),d=pe,h()):d=i.$watch(r,h),s=t}})}}}],oo=["$parse","$animate","$compile",function(c,I,l){var P="$$NG_REMOVED",M=w("ngRepeat"),$=function(e,t,n,r,i,a,o){e[n]=r,i&&(e[i]=a),e.$index=t,e.$first=0===t,e.$last=t===o-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,t){var C=t.ngRepeat,A=l.$$createComment("end ngRepeat",C),n=C.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!n)throw M("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",C);var r=n[1],i=n[2],S=n[3],a=n[4];if(!(n=r.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw M("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",r);var o,T,x,k,E=n[3]||n[1],D=n[2];if(S&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(S)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(S)))throw M("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",S);var s={$id:Pt};return a?o=c(a):(x=function(e,t){return Pt(t)},k=function(e){return e}),function(b,v,e,t,y){o&&(T=function(e,t,n){return D&&(s[D]=e),s[E]=t,s.$index=n,o(b,s)});var w=Oe();b.$watchCollection(i,function(e){var r,t,n,i,a,o,s,c,l,u,f,d,h,p=v[0],m=Oe();if(S&&(b[S]=e),O(e))l=e,c=T||x;else for(var g in c=T||k,l=[],e)B.call(e,g)&&"$"!==g.charAt(0)&&l.push(g);for(i=l.length,f=new Array(i),r=0;r<i;r++)if(a=e===l?r:l[r],o=e[a],s=c(a,o,r),w[s])u=w[s],delete w[s],m[s]=u,f[r]=u;else{if(m[s])throw fe(f,function(e){e&&e.scope&&(w[e.id]=e)}),M("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",C,s,o);f[r]={id:s,scope:void 0,clone:void 0},m[s]=!0}for(var _ in w){if(d=$e((u=w[_]).clone),I.leave(d),d[0].parentNode)for(r=0,t=d.length;r<t;r++)d[r][P]=!0;u.scope.$destroy()}for(r=0;r<i;r++)if(a=e===l?r:l[r],o=e[a],(u=f[r]).scope){for(n=p;(n=n.nextSibling)&&n[P];);u.clone[0]!==n&&I.move($e(u.clone),null,p),p=(h=u).clone[h.clone.length-1],$(u.scope,r,E,o,D,a,i)}else y(function(e,t){u.scope=t;var n=A.cloneNode(!1);e[e.length++]=n,I.enter(e,null,p),p=n,u.clone=e,m[u.id]=u,$(u.scope,r,E,o,D,a,i)});w=m})}}}}],so="ng-hide",co="ng-hide-animate",lo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngShow,function(e){r[e?"removeClass":"addClass"](t,so,{tempClasses:co})})}}}],uo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngHide,function(e){r[e?"addClass":"removeClass"](t,so,{tempClasses:co})})}}}],fo=Ui(function(e,n,t){e.$watch(t.ngStyle,function(e,t){t&&e!==t&&fe(t,function(e,t){n.css(t,"")}),e&&n.css(e)},!0)}),ho=["$animate","$compile",function(u,f){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(e,t,n,i){var r=n.ngSwitch||n.on,a=[],o=[],s=[],c=[],l=function(t,n){return function(e){!1!==e&&t.splice(n,1)}};e.$watch(r,function(e){for(var t,n;s.length;)u.cancel(s.pop());for(t=0,n=c.length;t<n;++t){var r=$e(o[t].clone);c[t].$destroy(),(s[t]=u.leave(r)).done(l(s,t))}o.length=0,c.length=0,(a=i.cases["!"+e]||i.cases["?"])&&fe(a,function(i){i.transclude(function(e,t){c.push(t);var n=i.element;e[e.length++]=f.$$createComment("end ngSwitchWhen");var r={clone:e};o.push(r),u.enter(e,n.parent(),n)})})})}}}],po=Ui({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){fe(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})})}}),mo=Ui({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),go=w("ngTransclude"),_o=["$compile",function(t){return{restrict:"EAC",terminal:!0,compile:function(e){var s=t(e.contents());return e.empty(),function(e,n,t,r,i){if(!i)throw go("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",Ie(n));t.ngTransclude===t.$attr.ngTransclude&&(t.ngTransclude="");var a=t.ngTransclude||t.ngTranscludeSlot;function o(){s(e,function(e){n.append(e)})}i(function(e,t){e.length?n.append(e):(o(),t.$destroy())},null,a),a&&!i.isSlotFilled(a)&&o()}}}}],bo=["$templateCache",function(i){return{restrict:"E",terminal:!0,compile:function(e,t){if("text/ng-template"===t.type){var n=t.id,r=e[0].text;i.put(n,r)}}}}],vo={$setViewValue:pe,$render:pe};var yo=["$element","$scope",function(n,e){var o=this,i=new Mt;o.ngModelCtrl=vo,o.unknownOption=ue(j.document.createElement("option")),o.renderUnknownOption=function(e){var t="? "+Pt(e)+" ?";o.unknownOption.val(t),n.prepend(o.unknownOption),n.val(t)},e.$on("$destroy",function(){o.renderUnknownOption=pe}),o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.readValue=function(){return o.removeUnknownOption(),n.val()},o.writeValue=function(e){o.hasOption(e)?(o.removeUnknownOption(),n.val(e),""===e&&o.emptyOption.prop("selected",!0)):null==e&&o.emptyOption?(o.removeUnknownOption(),n.val("")):o.renderUnknownOption(e)},o.addOption=function(e,t){if(t[0].nodeType!==Le){ce(e,'"option value"'),""===e&&(o.emptyOption=t);var n,r=i.get(e)||0;i.put(e,r+1),o.ngModelCtrl.$render(),(n=t)[0].hasAttribute("selected")&&(n[0].selected=!0)}},o.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(o.emptyOption=void 0)):i.put(e,t-1))},o.hasOption=function(e){return!!i.get(e)},o.registerOption=function(e,n,r,t,i){var a;t?r.$observe("value",function(e){_e(a)&&o.removeOption(a),a=e,o.addOption(e,n)}):i?e.$watch(i,function(e,t){r.$set("value",e),t!==e&&o.removeOption(t),o.addOption(e,n)}):o.addOption(r.value,n);n.on("$destroy",function(){o.removeOption(r.value),o.ngModelCtrl.$render()})}}],wo=function(){return{restrict:"E",require:["select","?ngModel"],controller:yo,priority:1,link:{pre:function(e,n,t,r){var i=r[1];if(!i)return;var a=r[0];if(a.ngModelCtrl=i,n.on("change",function(){e.$apply(function(){i.$setViewValue(a.readValue())})}),t.multiple){a.readValue=function(){var t=[];return fe(n.find("option"),function(e){e.selected&&t.push(e.value)}),t},a.writeValue=function(e){var t=new Mt(e);fe(n.find("option"),function(e){e.selected=_e(t.get(e.value))})};var o,s=NaN;e.$watch(function(){s!==i.$viewValue||ke(o,i.$viewValue)||(o=je(i.$viewValue),i.$render()),s=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}},post:function(e,t,n,r){var i=r[1];if(!i)return;var a=r[0];i.$render=function(){a.writeValue(i.$viewValue)}}}}},Co=["$interpolate",function(n){return{restrict:"E",priority:100,compile:function(e,t){var o,s;return _e(t.ngValue)?o=!0:_e(t.value)?o=n(t.value,!0):(s=n(e.text(),!0))||t.$set("value",e.text()),function(e,t,n){var r="$selectController",i=t.parent(),a=i.data(r)||i.parent().data(r);a&&a.registerOption(e,t,n,o,s)}}}}],Ao=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},So=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i,a=n.ngPattern||n.pattern;n.$observe("pattern",function(e){if(ve(e)&&0<e.length&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw w("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Ie(t));i=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||ge(i)||i.test(t)}}}}},To=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=m(e);i=E(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},xo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=m(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};j.angular.bootstrap?j.console&&console.log("WARNING: Tried to load angular more than once."):(!function(){var i;if(!oe){var e=L();(o=ge(e)?j.jQuery:e?j[e]:void 0)&&o.fn.on?(de((ue=o).fn,{scope:At.scope,isolateScope:At.isolateScope,controller:At.controller,injector:At.injector,inheritedData:At.inheritedData}),i=o.cleanData,o.cleanData=function(e){for(var t,n,r=0;null!=(n=e[r]);r++)(t=o._data(n,"events"))&&t.$destroy&&o(n).triggerHandler("$destroy");i(e)}):ue=ct,v.element=ue,oe=!0}}(),de(v,{bootstrap:ne,copy:R,extend:de,merge:n,equals:ke,element:ue,forEach:fe,injector:Ut,noop:pe,bind:De,toJson:G,fromJson:W,identity:me,isUndefined:ge,isDefined:_e,isString:ve,isFunction:we,isObject:be,isNumber:C,isElement:$,isArray:ye,version:Ue,isDate:A,lowercase:S,uppercase:u,callbacks:{$$counter:0},getTestability:ie,$$minErr:w,$$csp:N,reloadWithDebugInfo:re}),(g=function(e){var u=w("$injector"),n=w("ng");function t(e,t,n){return e[t]||(e[t]=n())}var r=t(e,"angular",Object);return r.$$minErr=r.$$minErr||w,t(r,"module",function(){var e={};return function(s,c,l){return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name",t)}(s,"module"),c&&e.hasOwnProperty(s)&&(e[s]=null),t(e,s,function(){if(!c)throw u("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",s);var i=[],e=[],t=[],n=r("$injector","invoke","push",e),a={_invokeQueue:i,_configBlocks:e,_runBlocks:t,requires:c,name:s,provider:o("$provide","provider"),factory:o("$provide","factory"),service:o("$provide","service"),value:r("$provide","value"),constant:r("$provide","constant","unshift"),decorator:o("$provide","decorator"),animation:o("$animateProvider","register"),filter:o("$filterProvider","register"),controller:o("$controllerProvider","register"),directive:o("$compileProvider","directive"),component:o("$compileProvider","component"),config:n,run:function(e){return t.push(e),this}};return l&&n(l),a;function r(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),a}}function o(n,r){return function(e,t){return t&&we(t)&&(t.$$moduleName=s),i.push([n,r,arguments]),a}}})}})}(j))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Zr}),e.provider("$compile",cn).directive({a:Hi,input:va,textarea:va,form:Ki,script:bo,select:wo,option:Co,ngBind:Ca,ngBindHtml:Sa,ngBindTemplate:Aa,ngClass:ka,ngClassEven:Da,ngClassOdd:Ea,ngCloak:Ia,ngController:Pa,ngForm:Qi,ngHide:uo,ngIf:Oa,ngInclude:Ra,ngInit:La,ngNonBindable:to,ngPluralize:ao,ngRepeat:oo,ngShow:lo,ngStyle:fo,ngSwitch:ho,ngSwitchWhen:po,ngSwitchDefault:mo,ngOptions:io,ngTransclude:_o,ngModel:Qa,ngList:Fa,ngChange:Ta,pattern:So,ngPattern:So,required:Ao,ngRequired:Ao,minlength:xo,ngMinlength:xo,maxlength:To,ngMaxlength:To,ngValue:wa,ngModelOptions:Za}).directive({ngInclude:Na}).directive(Wi).directive(Ma),e.provider({$anchorScroll:Ht,$animate:Xt,$animateCss:en,$$animateJs:Kt,$$animateQueue:Qt,$$AnimateRunner:Jt,$$animateAsyncRun:Zt,$browser:nn,$cacheFactory:rn,$controller:gn,$document:_n,$exceptionHandler:bn,$filter:gi,$$forceReflow:vn,$interpolate:Gn,$interval:jn,$http:Rn,$httpParamSerializer:En,$httpParamSerializerJQLike:Dn,$httpBackend:Ln,$xhrFactory:Nn,$jsonpCallbacks:Bn,$location:ar,$log:or,$parse:zr,$rootScope:Xr,$q:Vr,$$q:Yr,$sce:ri,$sceDelegate:ni,$sniffer:ii,$templateCache:an,$templateRequest:oi,$$testability:si,$timeout:ci,$window:hi,$$rAF:Qr,$$jqLite:It,$$HashMap:$t,$$cookieReader:mi})}]),v.module("ngLocale",[],["$provide",function(e){var i="one",a="other";e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n=0|e,r=function(e,t){var n,r,i=t;void 0===i&&(i=Math.min((n=e,-1==(r=(n+="").indexOf("."))?0:n.length-r-1),3));var a=Math.pow(10,i);return{v:i,f:(e*a|0)%a}}(e,t);return 1==n&&0==r.v?i:a}})}]),ue(j.document).ready(function(){te(j.document,ne)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(l,e){"use strict";var oe,se,ce,le,Y=1,ue="-add",fe="-remove",de="ng-",A="ng-animate",K="$$ngAnimateChildren";se=void 0===l.ontransitionend&&void 0!==l.onwebkittransitionend?("-webkit-",oe="WebkitTransition","webkitTransitionEnd transitionend"):(oe="transition","transitionend"),le=void 0===l.onanimationend&&void 0!==l.onwebkitanimationend?("-webkit-",ce="WebkitAnimation","webkitAnimationEnd animationend"):(ce="animation","animationend");var i="Duration",he="TimingFunction",a="PlayState",n=ce+"Delay",pe=ce+i,r=oe+"Delay",t=oe+i,o=e.$$minErr("ng");function u(e,t,n){if(!e)throw o("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function S(e,t){return e||t?e?t?($e(e)&&(e=e.join(" ")),$e(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function me(e,n,r){var i="";return e=$e(e)?e:e&&te(e)&&e.length?e.split(/\s+/):[],Me(e,function(e,t){e&&0<e.length&&(i+=0<t?" ":"",i+=r?n+e:e+n)}),i}function Q(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType==Y)return n}}function T(c){return function(e,t){var n,r,i,a,o,s;t.addClass&&(n=c,r=e,i=t.addClass,Me(r,function(e){n.addClass(e,i)}),t.addClass=null),t.removeClass&&(a=c,o=e,s=t.removeClass,Me(o,function(e){a.removeClass(e,s)}),t.removeClass=null)}}function ge(e){if(!(e=e||{}).$$prepared){var t=e.domOperation||Oe;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=Oe},e.$$prepared=!0}return e}function _e(e,t){be(e,t),ve(e,t)}function be(e,t){t.from&&(e.css(t.from),t.from=null)}function ve(e,t){t.to&&(e.css(t.to),t.to=null)}function X(e,t,n){var r=t.options||{},i=n.options||{},a=(r.addClass||"")+" "+(i.addClass||""),o=(r.removeClass||"")+" "+(i.removeClass||""),s=function(i,e,t){var n={};i=r(i),e=r(e),Me(e,function(e,t){n[t]=1}),t=r(t),Me(t,function(e,t){n[t]=1===n[t]?null:-1});var a={addClass:"",removeClass:""};function r(e){te(e)&&(e=e.split(" "));var t={};return Me(e,function(e){e.length&&(t[e]=!0)}),t}return Me(n,function(e,t){var n,r;1===e?(n="addClass",r=!i[t]||i[t+fe]):-1===e&&(n="removeClass",r=i[t]||i[t+ue]),r&&(a[n].length&&(a[n]+=" "),a[n]+=t)}),a}(e.attr("class"),a,o);i.preparationClasses&&(r.preparationClasses=Z(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var c=r.domOperation!==Oe?r.domOperation:null;return d(r,i),c&&(r.domOperation=c),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function ye(e){return e instanceof re?e[0]:e}function we(e,t){var n=t?"-"+t+"s":"";return Ae(e,[r,n]),[r,n]}function Ce(e,t){var n=t?"paused":"",r=ce+a;return Ae(e,[r,n]),[r,n]}function Ae(e,t){var n=t[0],r=t[1];e.style[n]=r}function Z(e,t){return e?t?e+" "+t:e:t}var s=["$interpolate",function(a){return{link:function(e,t,n){var r=n.ngAnimateChildren;function i(e){e="on"===e||"true"===e,t.data(K,e)}te(r)&&0===r.length?t.data(K,!0):(i(a(r)(e)),n.$observe("ngAnimateChildren",i))}}}],Se="$$animateCss",f={transitionDuration:t,transitionDelay:r,transitionProperty:oe+"Property",animationDuration:pe,animationDelay:n,animationIterationCount:ce+"IterationCount"},Te={transitionDuration:t,transitionDelay:r,animationDuration:pe,animationDelay:n};function xe(e,t){return[t?n:r,e+"s"]}function ke(e,t,n){var o=Object.create(null),s=e.getComputedStyle(t)||{};return Me(n,function(e,t){var n,r,i=s[e];if(i){var a=i.charAt(0);("-"===a||"+"===a||0<=a)&&(n=0,r=i.split(/\s*,\s*/),Me(r,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,n=n?Math.max(e,n):e}),i=n),0===i&&(i=null),o[t]=i}}),o}function Ee(e){return 0===e||null!=e}function De(e,t){var n=oe,r=e+"s";return t?n+=i:r+=" linear all",[n,r]}function c(){var n=Object.create(null);return{flush:function(){n=Object.create(null)},count:function(e){var t=n[e];return t?t.total:0},get:function(e){var t=n[e];return t&&t.value},put:function(e,t){n[e]?n[e].total++:n[e]={total:1,value:t}}}}function Ie(t,n,e){Me(e,function(e){t[e]=J(t[e])?t[e]:n.style.getPropertyValue(e)})}var Pe,d,Me,$e,J,h,w,ee,te,ne,re,Oe,p=["$animateProvider",function(e){var ie=c(),ae=c();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(Y,K,Q,X,n,Z,t,J){var ee=T(K),i=0;function te(e,t){var n="$$ngAnimateParentKey",r=e.parentNode;return(r[n]||(r[n]=++i))+"-"+e.getAttribute("class")+"-"+t}var r=[];function ne(e){r.push(e),t.waitUntilQuiet(function(){ie.flush(),ae.flush();for(var e=n(),t=0;t<r.length;t++)r[t](e);r.length=0})}function re(e,t,n){var r,i,a,o,s=(r=e,i=n,a=f,(o=ie.get(i))||"infinite"===(o=ke(Y,r,a)).animationIterationCount&&(o.animationIterationCount=1),ie.put(i,o),o),c=s.animationDelay,l=s.transitionDelay;return s.maxDelay=c&&l?Math.max(c,l):c||l,s.maxDuration=Math.max(s.animationDuration*s.animationIterationCount,s.transitionDuration),s}return function(l,e){var u=e||{};u.$$prepared||(u=ge(Pe(u)));var f={},d=ye(l);if(!d||!d.parentNode||!J.enabled())return q();var t,n,h,a,o,r,i,p,m,g,_,b,v=[],s=l.attr("class"),c=(n={},(t=u)&&(t.to||t.from)&&(n.to=t.to,n.from=t.from),n),y=[];if(0===u.duration||!Z.animations&&!Z.transitions)return q();var w=u.event&&$e(u.event)?u.event.join(" "):u.event,C="",A="";w&&u.structural?C=me(w,de,!0):w&&(C=w),u.addClass&&(A+=me(u.addClass,ue)),u.removeClass&&(A.length&&(A+=" "),A+=me(u.removeClass,fe)),u.applyClassesEarly&&A.length&&ee(l,u);var S,T,x,k=[C,A].join(" ").trim(),E=s+" "+k,D=me(k,"-active"),I=c.to&&0<Object.keys(c.to).length;if(!(0<(u.keyframeStyle||"").length)&&!I&&!k)return q();if(0<u.stagger){var P=parseFloat(u.stagger);T={transitionDelay:P,animationDelay:P,transitionDuration:0,animationDuration:0}}else S=te(d,E),T=function(e,t,n,r){var i;if(0<ie.count(n)&&!(i=ae.get(n))){var a=me(t,"-stagger");K.addClass(e,a),(i=ke(Y,e,r)).animationDuration=Math.max(i.animationDuration,0),i.transitionDuration=Math.max(i.transitionDuration,0),K.removeClass(e,a),ae.put(n,i)}return i||{}}(d,k,S,Te);if(u.$$skipPreparationClasses||K.addClass(l,k),u.transitionStyle){var M=[oe,u.transitionStyle];Ae(d,M),v.push(M)}if(0<=u.duration){x=0<d.style[oe].length;var $=De(u.duration,x);Ae(d,$),v.push($)}if(u.keyframeStyle){var O=[ce,u.keyframeStyle];Ae(d,O),v.push(O)}var R=T?0<=u.staggerIndex?u.staggerIndex:ie.count(S):0,N=0===R;N&&!u.skipBlocking&&we(d,9999);var L=re(d,0,S),F=L.maxDelay;p=Math.max(F,0),g=L.maxDuration;var G,j={};if(j.hasTransitions=0<L.transitionDuration,j.hasAnimations=0<L.animationDuration,j.hasTransitionAll=j.hasTransitions&&"all"==L.transitionProperty,j.applyTransitionDuration=I&&(j.hasTransitions&&!j.hasTransitionAll||j.hasAnimations&&!j.hasTransitions),j.applyAnimationDuration=u.duration&&j.hasAnimations,j.applyTransitionDelay=Ee(u.delay)&&(j.applyTransitionDuration||j.hasTransitions),j.applyAnimationDelay=Ee(u.delay)&&j.hasAnimations,j.recalculateTimingStyles=0<A.length,(j.applyTransitionDuration||j.applyAnimationDuration)&&(g=u.duration?parseFloat(u.duration):g,j.applyTransitionDuration&&(j.hasTransitions=!0,L.transitionDuration=g,x=0<d.style[oe+"Property"].length,v.push(De(g,x))),j.applyAnimationDuration&&(j.hasAnimations=!0,L.animationDuration=g,v.push([pe,g+"s"]))),0===g&&!j.recalculateTimingStyles)return q();null!=u.delay&&("boolean"!=typeof u.delay&&(G=parseFloat(u.delay),p=Math.max(G,0)),j.applyTransitionDelay&&v.push(xe(G)),j.applyAnimationDelay&&v.push(xe(G,!0)));return null==u.duration&&0<L.transitionDuration&&(j.recalculateTimingStyles=j.recalculateTimingStyles||N),m=1e3*p,_=1e3*g,u.skipBlocking||(j.blockTransition=0<L.transitionDuration,j.blockKeyframeAnimation=0<L.animationDuration&&0<T.animationDelay&&0===T.animationDuration),u.from&&(u.cleanupStyles&&Ie(f,d,Object.keys(u.from)),be(l,u)),j.blockTransition||j.blockKeyframeAnimation?W(g):u.skipBlocking||we(d,!1),{$$willAnimate:!0,end:B,start:function(){if(!h)return r=new Q(i={end:B,cancel:U,resume:null,pause:null}),ne(V),r}};function B(){H()}function U(){H(!0)}function H(e){if(!(h||o&&a)){a=!(h=!0),u.$$skipPreparationClasses||K.removeClass(l,k),K.removeClass(l,D),Ce(d,!1),we(d,!1),Me(v,function(e){d.style[e[0]]=""}),ee(l,u),_e(l,u),Object.keys(f).length&&Me(f,function(e,t){e?d.style.setProperty(t,e):d.style.removeProperty(t)}),u.onDone&&u.onDone(),y&&y.length&&l.off(y.join(" "),z);var t=l.data(Se);t&&(X.cancel(t[0].timer),l.removeData(Se)),r&&r.complete(!e)}}function W(e){j.blockTransition&&we(d,e),j.blockKeyframeAnimation&&Ce(d,!!e)}function q(){return r=new Q({end:B,cancel:U}),ne(Oe),H(),{$$willAnimate:!1,start:function(){return r},end:B}}function z(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(3));Math.max(n-b,0)>=m&&g<=r&&(o=!0,H())}function V(){if(!h)if(d.parentNode){var e=function(e){if(o)a&&e&&(a=!1,H());else if(a=!e,L.animationDuration){var t=Ce(d,a);a?v.push(t):(r=t,i=(n=v).indexOf(r),0<=r&&n.splice(i,1))}var n,r,i},t=0<R&&(L.transitionDuration&&0===T.transitionDuration||L.animationDuration&&0===T.animationDuration)&&Math.max(T.animationDelay,T.transitionDelay);t?X(n,Math.floor(t*R*1e3),!1):n(),i.resume=function(){e(!0)},i.pause=function(){e(!1)}}else H();function n(){if(!h){if(W(!1),Me(v,function(e){var t=e[0],n=e[1];d.style[t]=n}),ee(l,u),K.addClass(l,D),j.recalculateTimingStyles){if(E=d.className+" "+k,S=te(d,E),L=re(d,0,S),F=L.maxDelay,p=Math.max(F,0),0===(g=L.maxDuration))return void H();j.hasTransitions=0<L.transitionDuration,j.hasAnimations=0<L.animationDuration}if(j.applyAnimationDelay&&(F="boolean"!=typeof u.delay&&Ee(u.delay)?parseFloat(u.delay):F,p=Math.max(F,0),L.animationDelay=F,G=xe(F,!0),v.push(G),d.style[G[0]]=G[1]),m=1e3*p,_=1e3*g,u.easing){var e,t=u.easing;j.hasTransitions&&(e=oe+he,v.push([e,t]),d.style[e]=t),j.hasAnimations&&(e=ce+he,v.push([e,t]),d.style[e]=t)}L.transitionDuration&&y.push(se),L.animationDuration&&y.push(le),b=Date.now();var n=m+1.5*_,r=b+n,i=l.data(Se)||[],a=!0;if(i.length){var o=i[0];(a=r>o.expectedEndTime)?X.cancel(o.timer):i.push(H)}if(a){var s=X(c,n,!1);i[0]={timer:s,expectedEndTime:r},i.push(H),l.data(Se,i)}y.length&&l.on(y.join(" "),z),u.to&&(u.cleanupStyles&&Ie(f,d,Object.keys(u.to)),ve(l,u))}}function c(){var e=l.data(Se);if(e){for(var t=1;t<e.length;t++)e[t]();l.removeData(Se)}}}}}]}],m=["$$animationProvider",function(e){e.drivers.push("$$animateCssDriver");var v="ng-animate-shim",y="ng-anchor-out";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(h,e,p,t,n,r,i){if(!n.animations&&!n.transitions)return Oe;var a,m=i[0].body,o=ye(t),g=re((a=o).parentNode&&11===a.parentNode.nodeType||m.contains(o)?o:m);T(r);return function(e){return e.from&&e.to?function(e,t,n,r){var i=s(e),a=s(t),o=[];if(Me(r,function(e){var t=function(e,t,i){var a=re(ye(t).cloneNode(!0)),o=_(u(a));t.addClass(v),i.addClass(v),a.addClass("ng-anchor"),g.append(a);var r,n,s=(n=h(a,{addClass:y,delay:!0,from:l(t)})).$$willAnimate?n:null;if(!s&&!(r=f()))return d();var c=s||r;return{start:function(){var e,t=c.start();return t.done(function(){if(t=null,!r&&(r=f()))return(t=r.start()).done(function(){t=null,d(),e.complete()}),t;d(),e.complete()}),e=new p({end:n,cancel:n});function n(){t&&t.end()}}};function l(e){var n={},r=ye(e).getBoundingClientRect();return Me(["width","height","top","left"],function(e){var t=r[e];switch(e){case"top":t+=m.scrollTop;break;case"left":t+=m.scrollLeft}n[e]=Math.floor(t)+"px"}),n}function u(e){return e.attr("class")||""}function f(){var e=_(u(i)),t=b(e,o),n=b(o,e),r=h(a,{to:l(i),addClass:"ng-anchor-in "+t,removeClass:y+" "+n,delay:!0});return r.$$willAnimate?r:null}function d(){a.remove(),t.removeClass(v),i.removeClass(v)}}(0,e.out,e.in);t&&o.push(t)}),!i&&!a&&0===o.length)return;return{start:function(){var t=[];i&&t.push(i.start()),a&&t.push(a.start()),Me(o,function(e){t.push(e.start())});var n=new p({end:e,cancel:e});return p.all(t,function(e){n.complete(e)}),n;function e(){Me(t,function(e){e.end()})}}}}(e.from,e.to,e.classes,e.anchors):s(e)};function _(e){return e.replace(/\bng-\S+\b/g,"")}function b(e,t){return te(e)&&(e=e.split(" ")),te(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function s(e){var t=e.element,n=e.options||{};e.structural&&(n.event=e.event,n.structural=!0,n.applyClassesEarly=!0,"leave"===e.event&&(n.onDone=n.domOperation)),n.preparationClasses&&(n.event=Z(n.event,n.preparationClasses));var r=h(t,n);return r.$$willAnimate?r:null}}]}],g=["$animateProvider",function(y){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(_,b,e){var v=T(e);return function(e,t,n,r){var i=!1;3===arguments.length&&ee(n)&&(r=n,n=null),r=ge(r),n||(n=e.attr("class")||"",r.addClass&&(n+=" "+r.addClass),r.removeClass&&(n+=" "+r.removeClass));var a,o,s,c,l,u=r.addClass,f=r.removeClass,d=function(e){e=$e(e)?e:e.split(" ");for(var t=[],n={},r=0;r<e.length;r++){var i=e[r],a=y.$$registeredAnimations[i];a&&!n[i]&&(t.push(_.get(a)),n[i]=!0)}return t}(n);d.length&&(s="leave"==t?(c="leave","afterLeave"):(c="before"+t.charAt(0).toUpperCase()+t.substr(1),t),"enter"!==t&&"move"!==t&&(a=g(e,t,r,d,c)),o=g(e,t,r,d,s));if(a||o)return{$$willAnimate:!0,end:function(){return l?l.end():(p(),(l=new b).complete(!0)),l},start:function(){if(l)return l;var t;l=new b;var e=[];return a&&e.push(function(e){t=a(e)}),e.length?e.push(function(e){h(),e(!0)}):h(),o&&e.push(function(e){t=o(e)}),l.setHost({end:function(){r()},cancel:function(){r(!0)}}),b.chain(e,n),l;function n(e){p(),l.complete(e)}function r(e){i||((t||Oe)(e),n(e))}}};function h(){r.domOperation(),v(e,r)}function p(){i=!0,h(),_e(e,r)}function m(o,s,c,e,t){var n=[];return Me(e,function(e){var a=e[t];a&&n.push(function(){var t,n,r=!1,i=function(e){r||(r=!0,(n||Oe)(e),t.complete(!e))};return t=new b({end:function(){i()},cancel:function(){i(!0)}}),n=function(e,t,n,r,i){var a;switch(n){case"animate":a=[t,r.from,r.to,i];break;case"setClass":a=[t,u,f,i];break;case"addClass":a=[t,u,i];break;case"removeClass":a=[t,f,i];break;default:a=[t,i]}a.push(r);var o=e.apply(e,a);if(o)if(w(o.start)&&(o=o.start()),o instanceof b)o.done(i);else if(w(o))return o;return Oe}(a,o,s,c,function(e){i(!1===e)}),t})}),n}function g(e,t,n,r,i){var a,o,s=m(e,t,n,r,i);0===s.length&&("beforeSetClass"===i?(a=m(e,"removeClass",n,r,"beforeRemoveClass"),o=m(e,"addClass",n,r,"beforeAddClass")):"setClass"===i&&(a=m(e,"removeClass",n,r,"removeClass"),o=m(e,"addClass",n,r,"addClass")),a&&(s=s.concat(a)),o&&(s=s.concat(o)));if(0!==s.length)return function(e){var n=[];return s.length&&Me(s,function(e){n.push(e())}),n.length?b.all(n,e):e(),function(t){Me(n,function(e){t?e.cancel():e.end()})}}}}}]}],_=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(a,o){return function(e){if(e.from&&e.to){var r=t(e.from),i=t(e.to);if(!r&&!i)return;return{start:function(){var e=[];r&&e.push(r.start()),i&&e.push(i.start()),o.all(e,function(e){t.complete(e)});var t=new o({end:n(),cancel:n()});return t;function n(){return function(){Me(e,function(e){e.end()})}}}}}return t(e)};function t(e){var t=e.element,n=e.event,r=e.options,i=e.classes;return a(t,n,i,r)}}]}],ie="data-ng-animate",ae="$ngAnimatePin",b=["$animateProvider",function(c){var r=" ",i=this.rules={skip:[],cancel:[],join:[]};function s(e,t){if(e&&t){var n=function(e){if(!e)return null;var t=e.split(r),n=Object.create(null);return Me(t,function(e){n[e]=!0}),n}(t);return e.split(r).some(function(e){return n[e]})}}function z(e,t,n,r){return i[e].some(function(e){return e(t,n,r)})}function V(e,t){var n=0<(e.addClass||"").length,r=0<(e.removeClass||"").length;return t?n&&r:n||r}i.join.push(function(e,t,n){return!t.structural&&V(t)}),i.skip.push(function(e,t,n){return!t.structural&&!V(t)}),i.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),i.skip.push(function(e,t,n){return n.structural&&2===n.state&&!t.structural}),i.cancel.push(function(e,t,n){return n.structural&&t.structural}),i.cancel.push(function(e,t,n){return 2===n.state&&t.structural}),i.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,o=n.removeClass;return!(ne(r)&&ne(i)||ne(a)&&ne(o))&&(s(r,o)||s(i,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(E,D,I,P,e,M,$,t,n,r){var O=new e,R=new e,N=null;var i=D.$watch(function(){return 0===t.totalPendingRequests},function(e){e&&(i(),D.$$postDigest(function(){D.$$postDigest(function(){null===N&&(N=!0)})}))}),L=Object.create(null),a=c.classNameFilter(),F=a?function(e){return a.test(e)}:function(){return!0},G=T(n);function j(e,t){return X(e,t,{})}var B=l.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))};function o(e,t,n){var r=Q(t);return e.filter(function(e){return!(e.node===r&&(!n||e.callback===n))})}function U(e,t){"close"!==e||t[0].parentNode||s.off(t)}var s={on:function(e,t,n){var r=Q(t);L[e]=L[e]||[],L[e].push({node:r,callback:n}),re(t).on("$destroy",function(){O.get(r)||s.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||te(e)){var r=L[e];r&&(L[e]=1===arguments.length?null:o(r,t,n))}else for(var i in t=e,L)L[i]=o(L[i],t)},pin:function(e,t){u(h(e),"element","not an element"),u(h(t),"parentElement","not an element"),e.data(ae,t)},push:function(e,t,n,r){return(n=n||{}).domOperation=r,function(u,i,e){var a,f,o=Pe(e);(u=function(e){if(e instanceof re)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===Y)return e;break;default:return re(Q(e))}if(e.nodeType===Y)return re(e)}(u))&&(a=ye(u),f=u.parent());o=ge(o);var s=new $,t=(n=!1,function(e){n?e():D.$$postDigest(function(){n=!0,e()})});var n;$e(o.addClass)&&(o.addClass=o.addClass.join(" "));o.addClass&&!te(o.addClass)&&(o.addClass=null);$e(o.removeClass)&&(o.removeClass=o.removeClass.join(" "));o.removeClass&&!te(o.removeClass)&&(o.removeClass=null);o.from&&!ee(o.from)&&(o.from=null);o.to&&!ee(o.to)&&(o.to=null);if(!a)return k(),s;var r=[a.className,o.addClass,o.removeClass].join(" ");if(!F(r))return k(),s;var c=0<=["enter","move","leave"].indexOf(i),l=P[0].hidden,d=!N||l||R.get(a),h=!d&&O.get(a)||{},p=!!h.state;d||p&&1==h.state||(d=!function(e,t,n){var r,i=re(P[0].body),a=W(e,i)||"HTML"===e[0].nodeName,o=W(e,I),s=!1,c=R.get(ye(e)),l=re.data(e[0],ae);l&&(t=l);t=ye(t);for(;t&&(o||(o=W(t,I)),t.nodeType===Y);){var u=O.get(t)||{};if(!s){var f=R.get(t);if(!0===f&&!1!==c){c=!0;break}!1===f&&(c=!1),s=u.structural}if(ne(r)||!0===r){var d=re.data(t,K);J(d)&&(r=d)}if(s&&!1===r)break;if(a||(a=W(t,i)),a&&o)break;t=o||!(l=re.data(t,ae))?t.parentNode:ye(l)}return(!s||r)&&!0!==c&&o&&a}(u,f));if(d)return l&&x(s,i,"start"),k(),l&&x(s,i,"close"),s;c&&(m=ye(u).querySelectorAll("["+ie+"]"),Me(m,function(e){var t=parseInt(e.getAttribute(ie)),n=O.get(e);if(n)switch(t){case 2:n.runner.end();case 1:O.remove(e)}}));var m;var g={structural:c,element:u,event:i,addClass:o.addClass,removeClass:o.removeClass,close:k,options:o,runner:s};if(p){var _=z("skip",u,g,h);if(_)return 2===h.state?(k(),s):(X(u,h,g),h.runner);var b=z("cancel",u,g,h);if(b)if(2===h.state)h.runner.end();else{if(!h.structural)return X(u,h,g),h.runner;h.close()}else{var v=z("join",u,g,h);if(v){if(2!==h.state)return y=u,C=o,A="",(w=c?i:null)&&(A=me(w,de,!0)),C.addClass&&(A=Z(A,me(C.addClass,ue))),C.removeClass&&(A=Z(A,me(C.removeClass,fe))),A.length&&(C.preparationClasses=A,y.addClass(A)),i=g.event=h.event,o=X(u,h,g),h.runner;j(u,g)}}}else j(u,g);var y,w,C,A;var S=g.structural;S||(S="animate"===g.event&&0<Object.keys(g.options.to||{}).length||V(g));if(!S)return k(),H(u),s;var T=(h.counter||0)+1;return g.counter=T,q(u,1,g),D.$$postDigest(function(){var e=O.get(a),t=!e;e=e||{};var n=0<(u.parent()||[]).length&&("animate"===e.event||e.structural||V(e));if(t||e.counter!==T||!n)return t&&(G(u,o),_e(u,o)),(t||c&&e.event!==i)&&(o.domOperation(),s.end()),void(n||H(u));i=!e.structural&&V(e,!0)?"setClass":e.event,q(u,2);var r=M(u,i,e.options);s.setHost(r),x(s,i,"start",{}),r.done(function(e){k(!e);var t=O.get(a);t&&t.counter===T&&H(ye(u)),x(s,i,"close",{})})}),s;function x(e,s,c,l){t(function(){var e,t,n,r,i,a,o=(e=f,t=s,n=ye(u),r=ye(e),i=[],(a=L[t])&&Me(a,function(e){B.call(e.node,n)?i.push(e.callback):"leave"===t&&B.call(e.node,r)&&i.push(e.callback)}),i);o.length?E(function(){Me(o,function(e){e(u,c,l)}),U(c,u)}):U(c,u)}),e.progress(s,c,l)}function k(e){var t,n;t=u,(n=o).preparationClasses&&(t.removeClass(n.preparationClasses),n.preparationClasses=null),n.activeClasses&&(t.removeClass(n.activeClasses),n.activeClasses=null),G(u,o),_e(u,o),o.domOperation(),s.complete(!e)}}(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!N;else if(h(e)){var r=ye(e);1===n?t=!R.get(r):R.put(r,!t)}else t=N=!!e;return t}};return s;function H(e){var t=ye(e);t.removeAttribute(ie),O.remove(t)}function W(e,t){return ye(e)===ye(t)}function q(e,t,n){(n=n||{}).state=t;var r=ye(e);r.setAttribute(ie,t);var i=O.get(r),a=i?d(i,n):n;O.put(r,a)}}]}],v=["$animateProvider",function(e){var v="ng-animate-ref",y=this.drivers=[],w="$$animationRunner";function C(e){return e.data(w)}this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(f,d,h,p,m,g){var _=[],b=T(f);return function(t,n,r){r=ge(r);var e,i=0<=["enter","move","leave"].indexOf(n),a=new p({end:function(){u()},cancel:function(){u(!0)}});if(!y.length)return u(),a;e=a,t.data(w,e);var o,s=S(t.attr("class"),S(r.addClass,r.removeClass)),c=r.tempClasses;return c&&(s+=" "+c,r.tempClasses=null),i&&(o="ng-"+n+"-prepare",f.addClass(t,o)),_.push({element:t,classes:s,event:n,structural:i,options:r,beforeStart:function(){t.addClass(A),c&&f.addClass(t,c);o&&(f.removeClass(t,o),o=null)},close:u}),t.on("$destroy",l),1<_.length||d.$$postDigest(function(){var t=[];Me(_,function(e){C(e.element)?t.push(e):e.close()}),_.length=0;var e=function(u){var f=[],d={};Me(u,function(e,n){var t,r,i,a=e.element,o=ye(a),s=e.event,c=0<=["enter","move"].indexOf(s),l=e.structural?(r=(t=o).hasAttribute(v)?[t]:t.querySelectorAll("[ng-animate-ref]"),i=[],Me(r,function(e){var t=e.getAttribute(v);t&&t.length&&i.push(e)}),i):[];if(l.length){var u=c?"to":"from";Me(l,function(e){var t=e.getAttribute(v);d[t]=d[t]||{},d[t][u]={animationID:n,element:re(e)}})}else f.push(e)});var h={},p={};return Me(d,function(e,t){var n=e.from,r=e.to;if(n&&r){var i=u[n.animationID],a=u[r.animationID],o=n.animationID.toString();if(!p[o]){var s=p[o]={structural:!0,beforeStart:function(){i.beforeStart(),a.beforeStart()},close:function(){i.close(),a.close()},classes:function(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var a=0;a<t.length;a++)if(i===t[a]){n.push(i);break}}return n.join(" ")}(i.classes,a.classes),from:i,to:a,anchors:[]};s.classes.length?f.push(s):(f.push(i),f.push(a))}p[o].anchors.push({out:n.element,in:r.element})}else{var c=n?n.animationID:r.animationID,l=c.toString();h[l]||(h[l]=!0,f.push(u[c]))}}),f}(t),n=[];Me(e,function(i){n.push({domNode:ye(i.from?i.from.element:i.element),fn:function(){i.beforeStart();var e,t=i.close;if(C(i.anchors?i.from.element||i.to.element:i.element)){var n=function(e){for(var t=y.length-1;0<=t;t--){var n=y[t],r=h.get(n),i=r(e);if(i)return i}}(i);n&&(e=n.start)}if(e){var r=e();r.done(function(e){t(!e)}),function(e,n){e.from&&e.to?(t(e.from.element),t(e.to.element)):t(e.element);function t(e){var t=C(e);t&&t.setHost(n)}}(i,r)}else t()}})}),g(function(e){var t,i={children:[]},a=new m;for(t=0;t<e.length;t++){var n=e[t];a.put(n.domNode,e[t]={domNode:n.domNode,fn:n.fn,children:[]})}for(t=0;t<e.length;t++)o(e[t]);return function(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,a=0,o=[];for(t=0;t<r.length;t++){var s=r[t];i<=0&&(i=a,a=0,n.push(o),o=[]),o.push(s.fn),s.children.forEach(function(e){a++,r.push(e)}),i--}return o.length&&n.push(o),n}(i);function o(e){if(e.processed)return e;e.processed=!0;var t,n=e.domNode,r=n.parentNode;for(a.put(n,e);r;){if(t=a.get(r)){t.processed||(t=o(t));break}r=r.parentNode}return(t||i).children.push(e),e}}(n))}),a;function l(){var e=C(t);!e||"leave"===n&&r.$$domOperationFired||e.end()}function u(e){t.off("$destroy",l),t.removeData(w),b(t,r),_e(t,r),r.domOperation(),c&&f.removeClass(t,c),t.removeClass(A),a.complete(!e)}}}]}];e.module("ngAnimate",[],function(){Oe=e.noop,Pe=e.copy,d=e.extend,re=e.element,Me=e.forEach,$e=e.isArray,te=e.isString,ee=e.isObject,ne=e.isUndefined,J=e.isDefined,w=e.isFunction,h=e.isElement}).directive("ngAnimateSwap",["$animate","$rootScope",function(s,e){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,e,r,i){var a,o;t.$watchCollection(e.ngAnimateSwap||e.for,function(e){a&&s.leave(a),o&&(o.$destroy(),o=null),(e||0===e)&&(o=t.$new(),i(o,function(e){a=e,s.enter(e,null,n)}))})}}}]).directive("ngAnimateChildren",s).factory("$$rAFScheduler",["$$rAF",function(n){var r,i;function e(e){r=r.concat(e),a()}return r=e.queue=[],e.waitUntilQuiet=function(e){i&&i(),i=n(function(){i=null,e(),a()})},e;function a(){if(r.length){for(var e=r.shift(),t=0;t<e.length;t++)e[t]();i||n(function(){i||a()})}}}]).provider("$$animateQueue",b).provider("$$animation",v).provider("$animateCss",p).provider("$$animateCssDriver",m).provider("$$animateJs",g).provider("$$animateJsDriver",_)}(window,window.angular),function(e,t){"use strict";var n=t.module("ngAria",["ng"]).provider("$aria",function(){var c={ariaHidden:!0,ariaChecked:!0,ariaReadonly:!0,ariaDisabled:!0,ariaRequired:!0,ariaInvalid:!0,ariaValue:!0,tabindex:!0,bindKeypress:!0,bindRoleForClick:!0};function e(i,a,o,s){return function(e,t,n){var r=n.$normalize(a);!c[r]||l(t,o)||n[r]||e.$watch(n[i],function(e){e=s?!e:!!e,t.attr(a,e)})}}this.config=function(e){c=t.extend(c,e)},this.$get=function(){return{config:function(e){return c[e]},$$watchExpr:e}}}),a=["BUTTON","A","INPUT","TEXTAREA","SELECT","DETAILS","SUMMARY"],l=function(e,t){if(-1!==t.indexOf(e[0].nodeName))return!0};n.directive("ngShow",["$aria",function(e){return e.$$watchExpr("ngShow","aria-hidden",[],!0)}]).directive("ngHide",["$aria",function(e){return e.$$watchExpr("ngHide","aria-hidden",[],!1)}]).directive("ngValue",["$aria",function(e){return e.$$watchExpr("ngValue","aria-checked",a,!1)}]).directive("ngChecked",["$aria",function(e){return e.$$watchExpr("ngChecked","aria-checked",a,!1)}]).directive("ngReadonly",["$aria",function(e){return e.$$watchExpr("ngReadonly","aria-readonly",a,!1)}]).directive("ngRequired",["$aria",function(e){return e.$$watchExpr("ngRequired","aria-required",a,!1)}]).directive("ngModel",["$aria",function(u){function f(e,t,n,r){return u.config(t)&&!n.attr(e)&&(r||!l(n,a))}function d(e,t){return!t.attr("role")&&t.attr("type")===e&&"INPUT"!==t[0].nodeName}return{restrict:"A",require:"ngModel",priority:200,compile:function(e,t){var n,r,i,l=(r=(n=t).type,i=n.role,"checkbox"===(r||i)||"menuitemcheckbox"===i?"checkbox":"radio"===(r||i)||"menuitemradio"===i?"radio":"range"===r||"progressbar"===i||"slider"===i?"range":"");return{pre:function(e,t,n,r){"checkbox"===l&&(r.$isEmpty=function(e){return!1===e})},post:function(e,n,r,i){var t=f("tabindex","tabindex",n,!1);function a(){return i.$modelValue}switch(l){case"radio":case"checkbox":d(l,n)&&n.attr("role",l),f("aria-checked","ariaChecked",n,!1)&&e.$watch(a,"radio"===l?function(e){var t=r.value==i.$viewValue;n.attr("aria-checked",t)}:function(){n.attr("aria-checked",!i.$isEmpty(i.$viewValue))}),t&&n.attr("tabindex",0);break;case"range":if(d(l,n)&&n.attr("role","slider"),u.config("ariaValue")){var o=!n.attr("aria-valuemin")&&(r.hasOwnProperty("min")||r.hasOwnProperty("ngMin")),s=!n.attr("aria-valuemax")&&(r.hasOwnProperty("max")||r.hasOwnProperty("ngMax")),c=!n.attr("aria-valuenow");o&&r.$observe("min",function(e){n.attr("aria-valuemin",e)}),s&&r.$observe("max",function(e){n.attr("aria-valuemax",e)}),c&&e.$watch(a,function(e){n.attr("aria-valuenow",e)})}t&&n.attr("tabindex",0)}!r.hasOwnProperty("ngRequired")&&i.$validators.required&&f("aria-required","ariaRequired",n,!1)&&r.$observe("required",function(){n.attr("aria-required",!!r.required)}),f("aria-invalid","ariaInvalid",n,!0)&&e.$watch(function(){return i.$invalid},function(e){n.attr("aria-invalid",!!e)})}}}}}]).directive("ngDisabled",["$aria",function(e){return e.$$watchExpr("ngDisabled","aria-disabled",a,!1)}]).directive("ngMessages",function(){return{restrict:"A",require:"?ngMessages",link:function(e,t,n,r){t.attr("aria-live")||t.attr("aria-live","assertive")}}}).directive("ngClick",["$aria","$parse",function(i,n){return{restrict:"A",compile:function(e,t){var r=n(t.ngClick,null,!0);return function(n,e,t){l(e,a)||(i.config("bindRoleForClick")&&!e.attr("role")&&e.attr("role","button"),i.config("tabindex")&&!e.attr("tabindex")&&e.attr("tabindex",0),i.config("bindKeypress")&&!t.ngKeypress&&e.on("keypress",function(e){var t=e.which||e.keyCode;32!==t&&13!==t||n.$apply(function(){r(n,{$event:e})})}))}}}}]).directive("ngDblclick",["$aria",function(r){return function(e,t,n){!r.config("tabindex")||t.attr("tabindex")||l(t,a)||t.attr("tabindex",0)}}])}(window,window.angular),function(e,l){"use strict";function t(e,s,t){var c=t.baseHref(),r=e[0];return function(e,t,n){r.cookie=function(e,t,n){var r,i;i=(n=n||{}).expires,r=l.isDefined(n.path)?n.path:c,l.isUndefined(t)&&(i="Thu, 01 Jan 1970 00:00:00 GMT",t=""),l.isString(i)&&(i=new Date(i));var a=encodeURIComponent(e)+"="+encodeURIComponent(t);a+=r?";path="+r:"",a+=n.domain?";domain="+n.domain:"",a+=i?";expires="+i.toUTCString():"";var o=(a+=n.secure?";secure":"").length+1;return 4096<o&&s.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+o+" > 4096 bytes)!"),a}(e,t,n)}}l.module("ngCookies",["ng"]).provider("$cookies",[function(){var t=this.defaults={};function i(e){return e?l.extend({},t,e):t}this.$get=["$$cookieReader","$$cookieWriter",function(t,r){return{get:function(e){return t()[e]},getObject:function(e){var t=this.get(e);return t?l.fromJson(t):t},getAll:function(){return t()},put:function(e,t,n){r(e,t,i(n))},putObject:function(e,t,n){this.put(e,l.toJson(t),n)},remove:function(e,t){r(e,void 0,i(t))}}}]}]),l.module("ngCookies").factory("$cookieStore",["$cookies",function(n){return{get:function(e){return n.getObject(e)},put:function(e,t){n.putObject(e,t)},remove:function(e){n.remove(e)}}}]),t.$inject=["$document","$log","$browser"],l.module("ngCookies").provider("$$cookieWriter",function(){this.$get=t})}(window,window.angular),function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e||(e=window),t||(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t,e,e.document)}:n(jQuery,window,document)}(function(U,E,y,H){"use strict";var p,b,t,e,k=function(A){this.$=function(e,t){return this.api(!0).$(e,t)},this._=function(e,t){return this.api(!0).rows(e,t).data()},this.api=function(e){return new b(e?at(this[p.iApiIndex]):this)},this.fnAddData=function(e,t){var n=this.api(!0),r=U.isArray(e)&&(U.isArray(e[0])||U.isPlainObject(e[0]))?n.rows.add(e):n.row.add(e);return(t===H||t)&&n.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(e){var t=this.api(!0).columns.adjust(),n=t.settings()[0],r=n.oScroll;e===H||e?t.draw(!1):""===r.sX&&""===r.sY||Be(n)},this.fnClearTable=function(e){var t=this.api(!0).clear();(e===H||e)&&t.draw()},this.fnClose=function(e){this.api(!0).row(e).child.hide()},this.fnDeleteRow=function(e,t,n){var r=this.api(!0),i=r.rows(e),a=i.settings()[0],o=a.aoData[i[0][0]];return i.remove(),t&&t.call(this,a,o),(n===H||n)&&r.draw(),o},this.fnDestroy=function(e){this.api(!0).destroy(e)},this.fnDraw=function(e){this.api(!0).draw(e)},this.fnFilter=function(e,t,n,r,i,a){var o=this.api(!0);null===t||t===H?o.search(e,n,r,a):o.column(t).search(e,n,r,a),o.draw()},this.fnGetData=function(e,t){var n=this.api(!0);if(e===H)return n.data().toArray();var r=e.nodeName?e.nodeName.toLowerCase():"";return t!==H||"td"==r||"th"==r?n.cell(e,t).data():n.row(e).data()||null},this.fnGetNodes=function(e){var t=this.api(!0);return e!==H?t.row(e).node():t.rows().nodes().flatten().toArray()},this.fnGetPosition=function(e){var t=this.api(!0),n=e.nodeName.toUpperCase();if("TR"==n)return t.row(e).index();if("TD"!=n&&"TH"!=n)return null;var r=t.cell(e).index();return[r.row,r.columnVisible,r.column]},this.fnIsOpen=function(e){return this.api(!0).row(e).child.isShown()},this.fnOpen=function(e,t,n){return this.api(!0).row(e).child(t,n).show().child()[0]},this.fnPageChange=function(e,t){var n=this.api(!0).page(e);(t===H||t)&&n.draw(!1)},this.fnSetColumnVis=function(e,t,n){var r=this.api(!0).column(e).visible(t);(n===H||n)&&r.columns.adjust().draw()},this.fnSettings=function(){return at(this[p.iApiIndex])},this.fnSort=function(e){this.api(!0).order(e).draw()},this.fnSortListener=function(e,t,n){this.api(!0).order.listener(e,t,n)},this.fnUpdate=function(e,t,n,r,i){var a=this.api(!0);return n===H||null===n?a.row(t).data(e):a.cell(t,n).data(e),(i===H||i)&&a.columns.adjust(),(r===H||r)&&a.draw(),0},this.fnVersionCheck=p.fnVersionCheck;var S=this,T=A===H,x=this.length;for(var e in T&&(A={}),this.oApi=this.internal=p.internal,k.ext.internal)e&&(this[e]=Rt(e));return this.each(function(){var a,o=1<x?ct({},A,!0):A,s=0,e=this.getAttribute("id"),c=!1,t=k.defaults,l=U(this);if("table"==this.nodeName.toLowerCase()){P(t),M(t.column),D(t,t,!0),D(t.column,t.column,!0),D(t,U.extend(o,l.data()),!0);var n=k.settings;for(s=0,a=n.length;s<a;s++){var r=n[s];if(r.nTable==this||r.nTHead&&r.nTHead.parentNode==this||r.nTFoot&&r.nTFoot.parentNode==this){var i=o.bRetrieve!==H?o.bRetrieve:t.bRetrieve,u=o.bDestroy!==H?o.bDestroy:t.bDestroy;if(T||i)return r.oInstance;if(u){r.oInstance.fnDestroy();break}return void ot(r,0,"Cannot reinitialise DataTable",3)}if(r.sTableId==this.id){n.splice(s,1);break}}null!==e&&""!==e||(e="DataTables_Table_"+k.ext._unique++,this.id=e);var f=U.extend(!0,{},k.models.oSettings,{sDestroyWidth:l[0].style.width,sInstance:e,sTableId:e});f.nTable=this,f.oApi=S.internal,f.oInit=o,n.push(f),f.oInstance=1===S.length?S:l.dataTable(),P(o),I(o.oLanguage),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLength=U.isArray(o.aLengthMenu[0])?o.aLengthMenu[0][0]:o.aLengthMenu[0]),o=ct(U.extend(!0,{},t),o),st(f.oFeatures,o,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),st(f,o,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),st(f.oScroll,o,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),st(f.oLanguage,o,"fnInfoCallback"),ut(f,"aoDrawCallback",o.fnDrawCallback,"user"),ut(f,"aoServerParams",o.fnServerParams,"user"),ut(f,"aoStateSaveParams",o.fnStateSaveParams,"user"),ut(f,"aoStateLoadParams",o.fnStateLoadParams,"user"),ut(f,"aoStateLoaded",o.fnStateLoaded,"user"),ut(f,"aoRowCallback",o.fnRowCallback,"user"),ut(f,"aoRowCreatedCallback",o.fnCreatedRow,"user"),ut(f,"aoHeaderCallback",o.fnHeaderCallback,"user"),ut(f,"aoFooterCallback",o.fnFooterCallback,"user"),ut(f,"aoInitComplete",o.fnInitComplete,"user"),ut(f,"aoPreDrawCallback",o.fnPreDrawCallback,"user"),f.rowIdFn=Q(o.rowId),$(f);var d=f.oClasses;if(U.extend(d,k.ext.classes,o.oClasses),l.addClass(d.sTable),f.iInitDisplayStart===H&&(f.iInitDisplayStart=o.iDisplayStart,f._iDisplayStart=o.iDisplayStart),null!==o.iDeferLoading){f.bDeferLoading=!0;var h=U.isArray(o.iDeferLoading);f._iRecordsDisplay=h?o.iDeferLoading[0]:o.iDeferLoading,f._iRecordsTotal=h?o.iDeferLoading[1]:o.iDeferLoading}var p=f.oLanguage;U.extend(!0,p,o.oLanguage),p.sUrl&&(U.ajax({dataType:"json",url:p.sUrl,success:function(e){I(e),D(t.oLanguage,e),U.extend(!0,p,e),Me(f)},error:function(){Me(f)}}),c=!0),null===o.asStripeClasses&&(f.asStripeClasses=[d.sStripeOdd,d.sStripeEven]);var m=f.asStripeClasses,g=l.children("tbody").find("tr").eq(0);-1!==U.inArray(!0,U.map(m,function(e,t){return g.hasClass(e)}))&&(U("tbody tr",this).removeClass(m.join(" ")),f.asDestroyStripes=m.slice());var _,b=[],v=this.getElementsByTagName("thead");if(0!==v.length&&(ue(f.aoHeader,v[0]),b=fe(f)),null===o.aoColumns)for(_=[],s=0,a=b.length;s<a;s++)_.push(null);else _=o.aoColumns;for(s=0,a=_.length;s<a;s++)O(f,b?b[s]:null);if(F(f,o.aoColumnDefs,_,function(e,t){R(f,e,t)}),g.length){var y=function(e,t){return null!==e.getAttribute("data-"+t)?t:null};U(g[0]).children("th, td").each(function(e,t){var n=f.aoColumns[e];if(n.mData===e){var r=y(t,"sort")||y(t,"order"),i=y(t,"filter")||y(t,"search");null===r&&null===i||(n.mData={_:e+".display",sort:null!==r?e+".@data-"+r:H,type:null!==r?e+".@data-"+r:H,filter:null!==i?e+".@data-"+i:H},R(f,e))}})}var w=f.oFeatures,C=function(){if(o.aaSorting===H){var e=f.aaSorting;for(s=0,a=e.length;s<a;s++)e[s][1]=f.aoColumns[s].asSorting[0]}tt(f),w.bSort&&ut(f,"aoDrawCallback",function(){if(f.bSorted){var e=Qe(f),n={};U.each(e,function(e,t){n[t.src]=t.dir}),ft(f,null,"order",[f,e,n]),Ze(f)}}),ut(f,"aoDrawCallback",function(){(f.bSorted||"ssp"===pt(f)||w.bDeferRender)&&tt(f)},"sc");var t=l.children("caption").each(function(){this._captionSide=U(this).css("caption-side")}),n=l.children("thead");0===n.length&&(n=U("<thead/>").appendTo(l)),f.nTHead=n[0];var r=l.children("tbody");0===r.length&&(r=U("<tbody/>").appendTo(l)),f.nTBody=r[0];var i=l.children("tfoot");if(0===i.length&&0<t.length&&(""!==f.oScroll.sX||""!==f.oScroll.sY)&&(i=U("<tfoot/>").appendTo(l)),0===i.length||0===i.children().length?l.addClass(d.sNoFooter):0<i.length&&(f.nTFoot=i[0],ue(f.aoFooter,f.nTFoot)),o.aaData)for(s=0;s<o.aaData.length;s++)G(f,o.aaData[s]);else(f.bDeferLoading||"dom"==pt(f))&&j(f,U(f.nTBody).children("tr"));f.aiDisplay=f.aiDisplayMaster.slice(),!(f.bInitialised=!0)===c&&Me(f)};o.bStateSave?(w.bStateSave=!0,ut(f,"aoDrawCallback",rt,"state_save"),it(f,o,C)):C()}else ot(null,0,"Non-table node initialisation ("+this.nodeName+")",2)}),S=null,this},n={},r=/[\r\n\u2028]/g,i=/<.*?>/g,a=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,o=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),s=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,c=function(e){return!e||!0===e||"-"===e},h=function(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},l=function(e,t){return n[t]||(n[t]=new RegExp(Ae(t),"g")),"string"==typeof e&&"."!==t?e.replace(/\./g,"").replace(n[t],"."):e},u=function(e,t,n){var r="string"==typeof e;return!!c(e)||(t&&r&&(e=l(e,t)),n&&r&&(e=e.replace(s,"")),!isNaN(parseFloat(e))&&isFinite(e))},f=function(e,t,n){return!!c(e)||((c(r=e)||"string"==typeof r)&&!!u(d(e),t,n)||null);var r},W=function(e,t,n){var r=[],i=0,a=e.length;if(n!==H)for(;i<a;i++)e[i]&&e[i][t]&&r.push(e[i][t][n]);else for(;i<a;i++)e[i]&&r.push(e[i][t]);return r},v=function(e,t,n,r){var i=[],a=0,o=t.length;if(r!==H)for(;a<o;a++)e[t[a]][n]&&i.push(e[t[a]][n][r]);else for(;a<o;a++)i.push(e[t[a]][n]);return i},m=function(e,t){var n,r=[];t===H?(t=0,n=e):(n=t,t=e);for(var i=t;i<n;i++)r.push(i);return r},w=function(e){for(var t=[],n=0,r=e.length;n<r;n++)e[n]&&t.push(e[n]);return t},d=function(e){return e.replace(i,"")},g=function(e){if(function(e){if(e.length<2)return!0;for(var t=e.slice().sort(),n=t[0],r=1,i=t.length;r<i;r++){if(t[r]===n)return!1;n=t[r]}return!0}(e))return e.slice();var t,n,r,i=[],a=e.length,o=0;e:for(n=0;n<a;n++){for(t=e[n],r=0;r<o;r++)if(i[r]===t)continue e;i.push(t),o++}return i};function _(n){var r,i,a={};U.each(n,function(e,t){(r=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(r[1]+" ")&&(i=e.replace(r[0],r[2].toLowerCase()),a[i]=e,"o"===r[1]&&_(n[e]))}),n._hungarianMap=a}function D(n,r,i){var a;n._hungarianMap||_(n),U.each(r,function(e,t){(a=n._hungarianMap[e])===H||!i&&r[a]!==H||("o"===a.charAt(0)?(r[a]||(r[a]={}),U.extend(!0,r[a],r[e]),D(n[a],r[a],i)):r[a]=r[e])})}function I(e){var t=k.defaults.oLanguage,n=t.sDecimal;if(n&&$t(n),e){var r=e.sZeroRecords;!e.sEmptyTable&&r&&"No data available in table"===t.sEmptyTable&&st(e,e,"sZeroRecords","sEmptyTable"),!e.sLoadingRecords&&r&&"Loading..."===t.sLoadingRecords&&st(e,e,"sZeroRecords","sLoadingRecords"),e.sInfoThousands&&(e.sThousands=e.sInfoThousands);var i=e.sDecimal;i&&n!==i&&$t(i)}}k.util={throttle:function(r,e){var i,a,o=e!==H?e:200;return function(){var e=this,t=+new Date,n=arguments;i&&t<i+o?(clearTimeout(a),a=setTimeout(function(){i=H,r.apply(e,n)},o)):(i=t,r.apply(e,n))}},escapeRegex:function(e){return e.replace(o,"\\$1")}};var C=function(e,t,n){e[t]!==H&&(e[n]=e[t])};function P(e){C(e,"ordering","bSort"),C(e,"orderMulti","bSortMulti"),C(e,"orderClasses","bSortClasses"),C(e,"orderCellsTop","bSortCellsTop"),C(e,"order","aaSorting"),C(e,"orderFixed","aaSortingFixed"),C(e,"paging","bPaginate"),C(e,"pagingType","sPaginationType"),C(e,"pageLength","iDisplayLength"),C(e,"searching","bFilter"),"boolean"==typeof e.sScrollX&&(e.sScrollX=e.sScrollX?"100%":""),"boolean"==typeof e.scrollX&&(e.scrollX=e.scrollX?"100%":"");var t=e.aoSearchCols;if(t)for(var n=0,r=t.length;n<r;n++)t[n]&&D(k.models.oSearch,t[n])}function M(e){C(e,"orderable","bSortable"),C(e,"orderData","aDataSort"),C(e,"orderSequence","asSorting"),C(e,"orderDataType","sortDataType");var t=e.aDataSort;"number"!=typeof t||U.isArray(t)||(e.aDataSort=[t])}function $(e){if(!k.__browser){var t={};k.__browser=t;var n=U("<div/>").css({position:"fixed",top:0,left:-1*U(E).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(U("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(U("<div/>").css({width:"100%",height:10}))).appendTo("body"),r=n.children(),i=r.children();t.barWidth=r[0].offsetWidth-r[0].clientWidth,t.bScrollOversize=100===i[0].offsetWidth&&100!==r[0].clientWidth,t.bScrollbarLeft=1!==Math.round(i.offset().left),t.bBounding=!!n[0].getBoundingClientRect().width,n.remove()}U.extend(e.oBrowser,k.__browser),e.oScroll.iBarWidth=k.__browser.barWidth}function A(e,t,n,r,i,a){var o,s=r,c=!1;for(n!==H&&(o=n,c=!0);s!==i;)e.hasOwnProperty(s)&&(o=c?t(o,e[s],s,e):e[s],c=!0,s+=a);return o}function O(e,t){var n=k.defaults.column,r=e.aoColumns.length,i=U.extend({},k.models.oColumn,n,{nTh:t||y.createElement("th"),sTitle:n.sTitle?n.sTitle:t?t.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[r],mData:n.mData?n.mData:r,idx:r});e.aoColumns.push(i);var a=e.aoPreSearchCols;a[r]=U.extend({},k.models.oSearch,a[r]),R(e,r,U(t).data())}function R(e,t,n){var r=e.aoColumns[t],i=e.oClasses,a=U(r.nTh);if(!r.sWidthOrig){r.sWidthOrig=a.attr("width")||null;var o=(a.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);o&&(r.sWidthOrig=o[1])}n!==H&&null!==n&&(M(n),D(k.defaults.column,n,!0),n.mDataProp===H||n.mData||(n.mData=n.mDataProp),n.sType&&(r._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),n.sClass&&a.addClass(n.sClass),U.extend(r,n),st(r,n,"sWidth","sWidthOrig"),n.iDataSort!==H&&(r.aDataSort=[n.iDataSort]),st(r,n,"aDataSort"));var s=r.mData,c=Q(s),l=r.mRender?Q(r.mRender):null,u=function(e){return"string"==typeof e&&-1!==e.indexOf("@")};r._bAttrSrc=U.isPlainObject(s)&&(u(s.sort)||u(s.type)||u(s.filter)),r._setter=null,r.fnGetData=function(e,t,n){var r=c(e,t,H,n);return l&&t?l(r,t,e,n):r},r.fnSetData=function(e,t,n){return X(s)(e,t,n)},"number"!=typeof s&&(e._rowReadObject=!0),e.oFeatures.bSort||(r.bSortable=!1,a.addClass(i.sSortableNone));var f=-1!==U.inArray("asc",r.asSorting),d=-1!==U.inArray("desc",r.asSorting);r.bSortable&&(f||d)?f&&!d?(r.sSortingClass=i.sSortableAsc,r.sSortingClassJUI=i.sSortJUIAscAllowed):!f&&d?(r.sSortingClass=i.sSortableDesc,r.sSortingClassJUI=i.sSortJUIDescAllowed):(r.sSortingClass=i.sSortable,r.sSortingClassJUI=i.sSortJUI):(r.sSortingClass=i.sSortableNone,r.sSortingClassJUI="")}function q(e){if(!1!==e.oFeatures.bAutoWidth){var t=e.aoColumns;We(e);for(var n=0,r=t.length;n<r;n++)t[n].nTh.style.width=t[n].sWidth}var i=e.oScroll;""===i.sY&&""===i.sX||Be(e),ft(e,null,"column-sizing",[e])}function z(e,t){var n=L(e,"bVisible");return"number"==typeof n[t]?n[t]:null}function S(e,t){var n=L(e,"bVisible"),r=U.inArray(t,n);return-1!==r?r:null}function N(e){var n=0;return U.each(e.aoColumns,function(e,t){t.bVisible&&"none"!==U(t.nTh).css("display")&&n++}),n}function L(e,n){var r=[];return U.map(e.aoColumns,function(e,t){e[n]&&r.push(t)}),r}function T(e){var t,n,r,i,a,o,s,c,l,u=e.aoColumns,f=e.aoData,d=k.ext.type.detect;for(t=0,n=u.length;t<n;t++)if(l=[],!(s=u[t]).sType&&s._sManualType)s.sType=s._sManualType;else if(!s.sType){for(r=0,i=d.length;r<i;r++){for(a=0,o=f.length;a<o&&(l[a]===H&&(l[a]=x(e,a,t,"type")),(c=d[r](l[a],e))||r===d.length-1)&&"html"!==c;a++);if(c){s.sType=c;break}}s.sType||(s.sType="string")}}function F(e,t,n,r){var i,a,o,s,c,l,u,f=e.aoColumns;if(t)for(i=t.length-1;0<=i;i--){var d=(u=t[i]).targets!==H?u.targets:u.aTargets;for(U.isArray(d)||(d=[d]),o=0,s=d.length;o<s;o++)if("number"==typeof d[o]&&0<=d[o]){for(;f.length<=d[o];)O(e);r(d[o],u)}else if("number"==typeof d[o]&&d[o]<0)r(f.length+d[o],u);else if("string"==typeof d[o])for(c=0,l=f.length;c<l;c++)("_all"==d[o]||U(f[c].nTh).hasClass(d[o]))&&r(c,u)}if(n)for(i=0,a=n.length;i<a;i++)r(i,n[i])}function G(e,t,n,r){var i=e.aoData.length,a=U.extend(!0,{},k.models.oRow,{src:n?"dom":"data",idx:i});a._aData=t,e.aoData.push(a);for(var o=e.aoColumns,s=0,c=o.length;s<c;s++)o[s].sType=null;e.aiDisplayMaster.push(i);var l=e.rowIdFn(t);return l!==H&&(e.aIds[l]=a),!n&&e.oFeatures.bDeferRender||re(e,i,n,r),i}function j(n,e){var r;return e instanceof U||(e=U(e)),e.map(function(e,t){return r=ne(n,t),G(n,r.data,t,r.cells)})}function x(e,t,n,r){var i=e.iDraw,a=e.aoColumns[n],o=e.aoData[t]._aData,s=a.sDefaultContent,c=a.fnGetData(o,r,{settings:e,row:t,col:n});if(c===H)return e.iDrawError!=i&&null===s&&(ot(e,0,"Requested unknown parameter "+("function"==typeof a.mData?"{function}":"'"+a.mData+"'")+" for row "+t+", column "+n,4),e.iDrawError=i),s;if(c!==o&&null!==c||null===s||r===H){if("function"==typeof c)return c.call(o)}else c=s;return null===c&&"display"==r?"":c}function B(e,t,n,r){var i=e.aoColumns[n],a=e.aoData[t]._aData;i.fnSetData(a,r,{settings:e,row:t,col:n})}var V=/\[.*?\]$/,Y=/\(\)$/;function K(e){return U.map(e.match(/(\\.|[^\.])+/g)||[""],function(e){return e.replace(/\\\./g,".")})}function Q(i){if(U.isPlainObject(i)){var a={};return U.each(i,function(e,t){t&&(a[e]=Q(t))}),function(e,t,n,r){var i=a[t]||a._;return i!==H?i(e,t,n,r):e}}if(null===i)return function(e){return e};if("function"==typeof i)return function(e,t,n,r){return i(e,t,n,r)};if("string"!=typeof i||-1===i.indexOf(".")&&-1===i.indexOf("[")&&-1===i.indexOf("("))return function(e,t){return e[i]};var h=function(e,t,n){var r,i,a,o;if(""!==n)for(var s=K(n),c=0,l=s.length;c<l;c++){if(r=s[c].match(V),i=s[c].match(Y),r){if(s[c]=s[c].replace(V,""),""!==s[c]&&(e=e[s[c]]),a=[],s.splice(0,c+1),o=s.join("."),U.isArray(e))for(var u=0,f=e.length;u<f;u++)a.push(h(e[u],t,o));var d=r[0].substring(1,r[0].length-1);e=""===d?a:a.join(d);break}if(i)s[c]=s[c].replace(Y,""),e=e[s[c]]();else{if(null===e||e[s[c]]===H)return H;e=e[s[c]]}}return e};return function(e,t){return h(e,t,i)}}function X(r){if(U.isPlainObject(r))return X(r._);if(null===r)return function(){};if("function"==typeof r)return function(e,t,n){r(e,"set",t,n)};if("string"!=typeof r||-1===r.indexOf(".")&&-1===r.indexOf("[")&&-1===r.indexOf("("))return function(e,t){e[r]=t};var p=function(e,t,n){for(var r,i,a,o,s,c=K(n),l=c[c.length-1],u=0,f=c.length-1;u<f;u++){if(i=c[u].match(V),a=c[u].match(Y),i){if(c[u]=c[u].replace(V,""),e[c[u]]=[],(r=c.slice()).splice(0,u+1),s=r.join("."),U.isArray(t))for(var d=0,h=t.length;d<h;d++)p(o={},t[d],s),e[c[u]].push(o);else e[c[u]]=t;return}a&&(c[u]=c[u].replace(Y,""),e=e[c[u]](t)),null!==e[c[u]]&&e[c[u]]!==H||(e[c[u]]={}),e=e[c[u]]}l.match(Y)?e=e[l.replace(Y,"")](t):e[l.replace(V,"")]=t};return function(e,t){return p(e,t,r)}}function Z(e){return W(e.aoData,"_aData")}function J(e){e.aoData.length=0,e.aiDisplayMaster.length=0,e.aiDisplay.length=0,e.aIds={}}function ee(e,t,n){for(var r=-1,i=0,a=e.length;i<a;i++)e[i]==t?r=i:e[i]>t&&e[i]--;-1!=r&&n===H&&e.splice(r,1)}function te(n,r,e,t){var i,a,o=n.aoData[r],s=function(e,t){for(;e.childNodes.length;)e.removeChild(e.firstChild);e.innerHTML=x(n,r,t,"display")};if("dom"!==e&&(e&&"auto"!==e||"dom"!==o.src)){var c=o.anCells;if(c)if(t!==H)s(c[t],t);else for(i=0,a=c.length;i<a;i++)s(c[i],i)}else o._aData=ne(n,o,t,t===H?H:o._aData).data;o._aSortData=null,o._aFilterData=null;var l=n.aoColumns;if(t!==H)l[t].sType=null;else{for(i=0,a=l.length;i<a;i++)l[i].sType=null;ie(n,o)}}function ne(e,t,n,i){var r,a,o,s=[],c=t.firstChild,l=0,u=e.aoColumns,f=e._rowReadObject;i=i!==H?i:f?{}:[];var d=function(e,t){if("string"==typeof e){var n=e.indexOf("@");if(-1!==n){var r=e.substring(n+1);X(e)(i,t.getAttribute(r))}}},h=function(e){n!==H&&n!==l||(a=u[l],o=U.trim(e.innerHTML),a&&a._bAttrSrc?(X(a.mData._)(i,o),d(a.mData.sort,e),d(a.mData.type,e),d(a.mData.filter,e)):f?(a._setter||(a._setter=X(a.mData)),a._setter(i,o)):i[l]=o);l++};if(c)for(;c;)"TD"!=(r=c.nodeName.toUpperCase())&&"TH"!=r||(h(c),s.push(c)),c=c.nextSibling;else for(var p=0,m=(s=t.anCells).length;p<m;p++)h(s[p]);var g=t.firstChild?t:t.nTr;if(g){var _=g.getAttribute("id");_&&X(e.rowId)(i,_)}return{data:i,cells:s}}function re(e,t,n,r){var i,a,o,s,c,l,u=e.aoData[t],f=u._aData,d=[];if(null===u.nTr){for(i=n||y.createElement("tr"),u.nTr=i,u.anCells=d,i._DT_RowIndex=t,ie(e,u),s=0,c=e.aoColumns.length;s<c;s++)o=e.aoColumns[s],(a=(l=!n)?y.createElement(o.sCellType):r[s])._DT_CellIndex={row:t,column:s},d.push(a),!l&&(n&&!o.mRender&&o.mData===s||U.isPlainObject(o.mData)&&o.mData._===s+".display")||(a.innerHTML=x(e,t,s,"display")),o.sClass&&(a.className+=" "+o.sClass),o.bVisible&&!n?i.appendChild(a):!o.bVisible&&n&&a.parentNode.removeChild(a),o.fnCreatedCell&&o.fnCreatedCell.call(e.oInstance,a,x(e,t,s),f,t,s);ft(e,"aoRowCreatedCallback",null,[i,f,t,d])}u.nTr.setAttribute("role","row")}function ie(e,t){var n=t.nTr,r=t._aData;if(n){var i=e.rowIdFn(r);if(i&&(n.id=i),r.DT_RowClass){var a=r.DT_RowClass.split(" ");t.__rowc=t.__rowc?g(t.__rowc.concat(a)):a,U(n).removeClass(t.__rowc.join(" ")).addClass(r.DT_RowClass)}r.DT_RowAttr&&U(n).attr(r.DT_RowAttr),r.DT_RowData&&U(n).data(r.DT_RowData)}}function ae(e){var t,n,r,i,a,o=e.nTHead,s=e.nTFoot,c=0===U("th, td",o).length,l=e.oClasses,u=e.aoColumns;for(c&&(i=U("<tr/>").appendTo(o)),t=0,n=u.length;t<n;t++)a=u[t],r=U(a.nTh).addClass(a.sClass),c&&r.appendTo(i),e.oFeatures.bSort&&(r.addClass(a.sSortingClass),!1!==a.bSortable&&(r.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),et(e,a.nTh,t))),a.sTitle!=r[0].innerHTML&&r.html(a.sTitle),ht(e,"header")(e,r,a,l);if(c&&ue(e.aoHeader,o),U(o).find(">tr").attr("role","row"),U(o).find(">tr>th, >tr>td").addClass(l.sHeaderTH),U(s).find(">tr>th, >tr>td").addClass(l.sFooterTH),null!==s){var f=e.aoFooter[0];for(t=0,n=f.length;t<n;t++)(a=u[t]).nTf=f[t].cell,a.sClass&&U(a.nTf).addClass(a.sClass)}}function oe(e,t,n){var r,i,a,o,s,c,l,u,f,d=[],h=[],p=e.aoColumns.length;if(t){for(n===H&&(n=!1),r=0,i=t.length;r<i;r++){for(d[r]=t[r].slice(),d[r].nTr=t[r].nTr,a=p-1;0<=a;a--)e.aoColumns[a].bVisible||n||d[r].splice(a,1);h.push([])}for(r=0,i=d.length;r<i;r++){if(l=d[r].nTr)for(;c=l.firstChild;)l.removeChild(c);for(a=0,o=d[r].length;a<o;a++)if(f=u=1,h[r][a]===H){for(l.appendChild(d[r][a].cell),h[r][a]=1;d[r+u]!==H&&d[r][a].cell==d[r+u][a].cell;)h[r+u][a]=1,u++;for(;d[r][a+f]!==H&&d[r][a].cell==d[r][a+f].cell;){for(s=0;s<u;s++)h[r+s][a+f]=1;f++}U(d[r][a].cell).attr("rowspan",u).attr("colspan",f)}}}}function se(e){var t=ft(e,"aoPreDrawCallback","preDraw",[e]);if(-1===U.inArray(!1,t)){var n=[],r=0,i=e.asStripeClasses,a=i.length,o=(e.aoOpenRows.length,e.oLanguage),s=e.iInitDisplayStart,c="ssp"==pt(e),l=e.aiDisplay;e.bDrawing=!0,s!==H&&-1!==s&&(e._iDisplayStart=c?s:s>=e.fnRecordsDisplay()?0:s,e.iInitDisplayStart=-1);var u=e._iDisplayStart,f=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,Ge(e,!1);else if(c){if(!e.bDestroying&&!he(e))return}else e.iDraw++;if(0!==l.length)for(var d=c?0:u,h=c?e.aoData.length:f,p=d;p<h;p++){var m=l[p],g=e.aoData[m];null===g.nTr&&re(e,m);var _=g.nTr;if(0!==a){var b=i[r%a];g._sRowStripe!=b&&(U(_).removeClass(g._sRowStripe).addClass(b),g._sRowStripe=b)}ft(e,"aoRowCallback",null,[_,g._aData,r,p,m]),n.push(_),r++}else{var v=o.sZeroRecords;1==e.iDraw&&"ajax"==pt(e)?v=o.sLoadingRecords:o.sEmptyTable&&0===e.fnRecordsTotal()&&(v=o.sEmptyTable),n[0]=U("<tr/>",{class:a?i[0]:""}).append(U("<td />",{valign:"top",colSpan:N(e),class:e.oClasses.sRowEmpty}).html(v))[0]}ft(e,"aoHeaderCallback","header",[U(e.nTHead).children("tr")[0],Z(e),u,f,l]),ft(e,"aoFooterCallback","footer",[U(e.nTFoot).children("tr")[0],Z(e),u,f,l]);var y=U(e.nTBody);y.children().detach(),y.append(U(n)),ft(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else Ge(e,!1)}function ce(e,t){var n=e.oFeatures,r=n.bSort,i=n.bFilter;r&&Xe(e),i?be(e,e.oPreviousSearch):e.aiDisplay=e.aiDisplayMaster.slice(),!0!==t&&(e._iDisplayStart=0),e._drawHold=t,se(e),e._drawHold=!1}function le(e){var t=e.oClasses,n=U(e.nTable),r=U("<div/>").insertBefore(n),i=e.oFeatures,a=U("<div/>",{id:e.sTableId+"_wrapper",class:t.sWrapper+(e.nTFoot?"":" "+t.sNoFooter)});e.nHolding=r[0],e.nTableWrapper=a[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var o,s,c,l,u,f,d=e.sDom.split(""),h=0;h<d.length;h++){if(o=null,"<"==(s=d[h])){if(c=U("<div/>")[0],"'"==(l=d[h+1])||'"'==l){for(u="",f=2;d[h+f]!=l;)u+=d[h+f],f++;if("H"==u?u=t.sJUIHeader:"F"==u&&(u=t.sJUIFooter),-1!=u.indexOf(".")){var p=u.split(".");c.id=p[0].substr(1,p[0].length-1),c.className=p[1]}else"#"==u.charAt(0)?c.id=u.substr(1,u.length-1):c.className=u;h+=f}a.append(c),a=U(c)}else if(">"==s)a=a.parent();else if("l"==s&&i.bPaginate&&i.bLengthChange)o=Re(e);else if("f"==s&&i.bFilter)o=_e(e);else if("r"==s&&i.bProcessing)o=Fe(e);else if("t"==s)o=je(e);else if("i"==s&&i.bInfo)o=De(e);else if("p"==s&&i.bPaginate)o=Ne(e);else if(0!==k.ext.feature.length)for(var m=k.ext.feature,g=0,_=m.length;g<_;g++)if(s==m[g].cFeature){o=m[g].fnInit(e);break}if(o){var b=e.aanFeatures;b[s]||(b[s]=[]),b[s].push(o),a.append(o)}}r.replaceWith(a),e.nHolding=null}function ue(e,t){var n,r,i,a,o,s,c,l,u,f,d=U(t).children("tr"),h=function(e,t,n){for(var r=e[t];r[n];)n++;return n};for(e.splice(0,e.length),i=0,s=d.length;i<s;i++)e.push([]);for(i=0,s=d.length;i<s;i++)for(0,r=(n=d[i]).firstChild;r;){if("TD"==r.nodeName.toUpperCase()||"TH"==r.nodeName.toUpperCase())for(l=(l=1*r.getAttribute("colspan"))&&0!==l&&1!==l?l:1,u=(u=1*r.getAttribute("rowspan"))&&0!==u&&1!==u?u:1,c=h(e,i,0),f=1===l,o=0;o<l;o++)for(a=0;a<u;a++)e[i+a][c+o]={cell:r,unique:f},e[i+a].nTr=n;r=r.nextSibling}}function fe(e,t,n){var r=[];n||(n=e.aoHeader,t&&ue(n=[],t));for(var i=0,a=n.length;i<a;i++)for(var o=0,s=n[i].length;o<s;o++)!n[i][o].unique||r[o]&&e.bSortCellsTop||(r[o]=n[i][o].cell);return r}function de(i,e,t){if(ft(i,"aoServerParams","serverParams",[e]),e&&U.isArray(e)){var a={},o=/(.*?)\[\]$/;U.each(e,function(e,t){var n=t.name.match(o);if(n){var r=n[0];a[r]||(a[r]=[]),a[r].push(t.value)}else a[t.name]=t.value}),e=a}var n,r=i.ajax,s=i.oInstance,c=function(e){ft(i,null,"xhr",[i,e,i.jqXHR]),t(e)};if(U.isPlainObject(r)&&r.data){var l="function"==typeof(n=r.data)?n(e,i):n;e="function"==typeof n&&l?l:U.extend(!0,e,l),delete r.data}var u={data:e,success:function(e){var t=e.error||e.sError;t&&ot(i,0,t),i.json=e,c(e)},dataType:"json",cache:!1,type:i.sServerMethod,error:function(e,t,n){var r=ft(i,null,"xhr",[i,null,i.jqXHR]);-1===U.inArray(!0,r)&&("parsererror"==t?ot(i,0,"Invalid JSON response",1):4===e.readyState&&ot(i,0,"Ajax error",7)),Ge(i,!1)}};i.oAjaxData=e,ft(i,null,"preXhr",[i,e]),i.fnServerData?i.fnServerData.call(s,i.sAjaxSource,U.map(e,function(e,t){return{name:t,value:e}}),c,i):i.sAjaxSource||"string"==typeof r?i.jqXHR=U.ajax(U.extend(u,{url:r||i.sAjaxSource})):"function"==typeof r?i.jqXHR=r.call(s,e,c,i):(i.jqXHR=U.ajax(U.extend(u,r)),r.data=n)}function he(t){return!t.bAjaxDataGet||(t.iDraw++,Ge(t,!0),de(t,pe(t),function(e){me(t,e)}),!1)}function pe(e){var t,n,r,i,a=e.aoColumns,o=a.length,s=e.oFeatures,c=e.oPreviousSearch,l=e.aoPreSearchCols,u=[],f=Qe(e),d=e._iDisplayStart,h=!1!==s.bPaginate?e._iDisplayLength:-1,p=function(e,t){u.push({name:e,value:t})};p("sEcho",e.iDraw),p("iColumns",o),p("sColumns",W(a,"sName").join(",")),p("iDisplayStart",d),p("iDisplayLength",h);var m={draw:e.iDraw,columns:[],order:[],start:d,length:h,search:{value:c.sSearch,regex:c.bRegex}};for(t=0;t<o;t++)r=a[t],i=l[t],n="function"==typeof r.mData?"function":r.mData,m.columns.push({data:n,name:r.sName,searchable:r.bSearchable,orderable:r.bSortable,search:{value:i.sSearch,regex:i.bRegex}}),p("mDataProp_"+t,n),s.bFilter&&(p("sSearch_"+t,i.sSearch),p("bRegex_"+t,i.bRegex),p("bSearchable_"+t,r.bSearchable)),s.bSort&&p("bSortable_"+t,r.bSortable);s.bFilter&&(p("sSearch",c.sSearch),p("bRegex",c.bRegex)),s.bSort&&(U.each(f,function(e,t){m.order.push({column:t.col,dir:t.dir}),p("iSortCol_"+e,t.col),p("sSortDir_"+e,t.dir)}),p("iSortingCols",f.length));var g=k.ext.legacy.ajax;return null===g?e.sAjaxSource?u:m:g?u:m}function me(e,n){var t=function(e,t){return n[e]!==H?n[e]:n[t]},r=ge(e,n),i=t("sEcho","draw"),a=t("iTotalRecords","recordsTotal"),o=t("iTotalDisplayRecords","recordsFiltered");if(i!==H){if(1*i<e.iDraw)return;e.iDraw=1*i}J(e),e._iRecordsTotal=parseInt(a,10),e._iRecordsDisplay=parseInt(o,10);for(var s=0,c=r.length;s<c;s++)G(e,r[s]);e.aiDisplay=e.aiDisplayMaster.slice(),e.bAjaxDataGet=!1,se(e),e._bInitComplete||$e(e,n),e.bAjaxDataGet=!0,Ge(e,!1)}function ge(e,t){var n=U.isPlainObject(e.ajax)&&e.ajax.dataSrc!==H?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===n?t.aaData||t[n]:""!==n?Q(n)(t):t}function _e(n){var e=n.oClasses,t=n.sTableId,r=n.oLanguage,i=n.oPreviousSearch,a=n.aanFeatures,o='<input type="search" class="'+e.sFilterInput+'"/>',s=r.sSearch;s=s.match(/_INPUT_/)?s.replace("_INPUT_",o):s+o;var c=U("<div/>",{id:a.f?null:t+"_filter",class:e.sFilter}).append(U("<label/>").append(s)),l=function(){a.f;var e=this.value?this.value:"";e!=i.sSearch&&(be(n,{sSearch:e,bRegex:i.bRegex,bSmart:i.bSmart,bCaseInsensitive:i.bCaseInsensitive}),n._iDisplayStart=0,se(n))},u=null!==n.searchDelay?n.searchDelay:"ssp"===pt(n)?400:0,f=U("input",c).val(i.sSearch).attr("placeholder",r.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",u?qe(l,u):l).on("mouseup",function(e){setTimeout(function(){l.call(f[0])},10)}).on("keypress.DT",function(e){if(13==e.keyCode)return!1}).attr("aria-controls",t);return U(n.nTable).on("search.dt.DT",function(e,t){if(n===t)try{f[0]!==y.activeElement&&f.val(i.sSearch)}catch(e){}}),c[0]}function be(e,t,n){var r=e.oPreviousSearch,i=e.aoPreSearchCols,a=function(e){r.sSearch=e.sSearch,r.bRegex=e.bRegex,r.bSmart=e.bSmart,r.bCaseInsensitive=e.bCaseInsensitive},o=function(e){return e.bEscapeRegex!==H?!e.bEscapeRegex:e.bRegex};if(T(e),"ssp"!=pt(e)){we(e,t.sSearch,n,o(t),t.bSmart,t.bCaseInsensitive),a(t);for(var s=0;s<i.length;s++)ye(e,i[s].sSearch,s,o(i[s]),i[s].bSmart,i[s].bCaseInsensitive);ve(e)}else a(t);e.bFiltered=!0,ft(e,null,"search",[e])}function ve(e){for(var t,n,r=k.ext.search,i=e.aiDisplay,a=0,o=r.length;a<o;a++){for(var s=[],c=0,l=i.length;c<l;c++)n=i[c],t=e.aoData[n],r[a](e,t._aFilterData,n,t._aData,c)&&s.push(n);i.length=0,U.merge(i,s)}}function ye(e,t,n,r,i,a){if(""!==t){for(var o,s=[],c=e.aiDisplay,l=Ce(t,r,i,a),u=0;u<c.length;u++)o=e.aoData[c[u]]._aFilterData[n],l.test(o)&&s.push(c[u]);e.aiDisplay=s}}function we(e,t,n,r,i,a){var o,s,c,l=Ce(t,r,i,a),u=e.oPreviousSearch.sSearch,f=e.aiDisplayMaster,d=[];if(0!==k.ext.search.length&&(n=!0),s=xe(e),t.length<=0)e.aiDisplay=f.slice();else{for((s||n||r||u.length>t.length||0!==t.indexOf(u)||e.bSorted)&&(e.aiDisplay=f.slice()),o=e.aiDisplay,c=0;c<o.length;c++)l.test(e.aoData[o[c]]._sFilterRow)&&d.push(o[c]);e.aiDisplay=d}}function Ce(e,t,n,r){(e=t?e:Ae(e),n)&&(e="^(?=.*?"+U.map(e.match(/"[^"]+"|[^ ]+/g)||[""],function(e){if('"'===e.charAt(0)){var t=e.match(/^"(.*)"$/);e=t?t[1]:e}return e.replace('"',"")}).join(")(?=.*?")+").*$");return new RegExp(e,r?"i":"")}var Ae=k.util.escapeRegex,Se=U("<div>")[0],Te=Se.textContent!==H;function xe(e){var t,n,r,i,a,o,s,c,l=e.aoColumns,u=k.ext.type.search,f=!1;for(n=0,i=e.aoData.length;n<i;n++)if(!(c=e.aoData[n])._aFilterData){for(o=[],r=0,a=l.length;r<a;r++)(t=l[r]).bSearchable?(s=x(e,n,r,"filter"),u[t.sType]&&(s=u[t.sType](s)),null===s&&(s=""),"string"!=typeof s&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(Se.innerHTML=s,s=Te?Se.textContent:Se.innerText),s.replace&&(s=s.replace(/[\r\n\u2028]/g,"")),o.push(s);c._aFilterData=o,c._sFilterRow=o.join(" "),f=!0}return f}function ke(e){return{search:e.sSearch,smart:e.bSmart,regex:e.bRegex,caseInsensitive:e.bCaseInsensitive}}function Ee(e){return{sSearch:e.search,bSmart:e.smart,bRegex:e.regex,bCaseInsensitive:e.caseInsensitive}}function De(e){var t=e.sTableId,n=e.aanFeatures.i,r=U("<div/>",{class:e.oClasses.sInfo,id:n?null:t+"_info"});return n||(e.aoDrawCallback.push({fn:Ie,sName:"information"}),r.attr("role","status").attr("aria-live","polite"),U(e.nTable).attr("aria-describedby",t+"_info")),r[0]}function Ie(e){var t=e.aanFeatures.i;if(0!==t.length){var n=e.oLanguage,r=e._iDisplayStart+1,i=e.fnDisplayEnd(),a=e.fnRecordsTotal(),o=e.fnRecordsDisplay(),s=o?n.sInfo:n.sInfoEmpty;o!==a&&(s+=" "+n.sInfoFiltered),s=Pe(e,s+=n.sInfoPostFix);var c=n.fnInfoCallback;null!==c&&(s=c.call(e.oInstance,e,r,i,a,o,s)),U(t).html(s)}}function Pe(e,t){var n=e.fnFormatNumber,r=e._iDisplayStart+1,i=e._iDisplayLength,a=e.fnRecordsDisplay(),o=-1===i;return t.replace(/_START_/g,n.call(e,r)).replace(/_END_/g,n.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,n.call(e,e.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(e,a)).replace(/_PAGE_/g,n.call(e,o?1:Math.ceil(r/i))).replace(/_PAGES_/g,n.call(e,o?1:Math.ceil(a/i)))}function Me(n){var r,e,t,i=n.iInitDisplayStart,a=n.aoColumns,o=n.oFeatures,s=n.bDeferLoading;if(n.bInitialised){for(le(n),ae(n),oe(n,n.aoHeader),oe(n,n.aoFooter),Ge(n,!0),o.bAutoWidth&&We(n),r=0,e=a.length;r<e;r++)(t=a[r]).sWidth&&(t.nTh.style.width=Ke(t.sWidth));ft(n,null,"preInit",[n]),ce(n);var c=pt(n);("ssp"!=c||s)&&("ajax"==c?de(n,[],function(e){var t=ge(n,e);for(r=0;r<t.length;r++)G(n,t[r]);n.iInitDisplayStart=i,ce(n),Ge(n,!1),$e(n,e)}):(Ge(n,!1),$e(n)))}else setTimeout(function(){Me(n)},200)}function $e(e,t){e._bInitComplete=!0,(t||e.oInit.aaData)&&q(e),ft(e,null,"plugin-init",[e,t]),ft(e,"aoInitComplete","init",[e,t])}function Oe(e,t){var n=parseInt(t,10);e._iDisplayLength=n,dt(e),ft(e,null,"length",[e,n])}function Re(r){for(var e=r.oClasses,t=r.sTableId,n=r.aLengthMenu,i=U.isArray(n[0]),a=i?n[0]:n,o=i?n[1]:n,s=U("<select/>",{name:t+"_length","aria-controls":t,class:e.sLengthSelect}),c=0,l=a.length;c<l;c++)s[0][c]=new Option("number"==typeof o[c]?r.fnFormatNumber(o[c]):o[c],a[c]);var u=U("<div><label/></div>").addClass(e.sLength);return r.aanFeatures.l||(u[0].id=t+"_length"),u.children().append(r.oLanguage.sLengthMenu.replace("_MENU_",s[0].outerHTML)),U("select",u).val(r._iDisplayLength).on("change.DT",function(e){Oe(r,U(this).val()),se(r)}),U(r.nTable).on("length.dt.DT",function(e,t,n){r===t&&U("select",u).val(n)}),u[0]}function Ne(e){var t=e.sPaginationType,u=k.ext.pager[t],f="function"==typeof u,d=function(e){se(e)},n=U("<div/>").addClass(e.oClasses.sPaging+t)[0],h=e.aanFeatures;return f||u.fnInit(e,n,d),h.p||(n.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(e){if(f){var t,n,r=e._iDisplayStart,i=e._iDisplayLength,a=e.fnRecordsDisplay(),o=-1===i,s=o?0:Math.ceil(r/i),c=o?1:Math.ceil(a/i),l=u(s,c);for(t=0,n=h.p.length;t<n;t++)ht(e,"pageButton")(e,h.p[t],t,l,s,c)}else u.fnUpdate(e,d)},sName:"pagination"})),n}function Le(e,t,n){var r=e._iDisplayStart,i=e._iDisplayLength,a=e.fnRecordsDisplay();0===a||-1===i?r=0:"number"==typeof t?a<(r=t*i)&&(r=0):"first"==t?r=0:"previous"==t?(r=0<=i?r-i:0)<0&&(r=0):"next"==t?r+i<a&&(r+=i):"last"==t?r=Math.floor((a-1)/i)*i:ot(e,0,"Unknown paging action: "+t,5);var o=e._iDisplayStart!==r;return e._iDisplayStart=r,o&&(ft(e,null,"page",[e]),n&&se(e)),o}function Fe(e){return U("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function Ge(e,t){e.oFeatures.bProcessing&&U(e.aanFeatures.r).css("display",t?"block":"none"),ft(e,null,"processing",[e,t])}function je(e){var t=U(e.nTable);t.attr("role","grid");var n=e.oScroll;if(""===n.sX&&""===n.sY)return e.nTable;var r=n.sX,i=n.sY,a=e.oClasses,o=t.children("caption"),s=o.length?o[0]._captionSide:null,c=U(t[0].cloneNode(!1)),l=U(t[0].cloneNode(!1)),u=t.children("tfoot"),f="<div/>",d=function(e){return e?Ke(e):null};u.length||(u=null);var h=U(f,{class:a.sScrollWrapper}).append(U(f,{class:a.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:r?d(r):"100%"}).append(U(f,{class:a.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(c.removeAttr("id").css("margin-left",0).append("top"===s?o:null).append(t.children("thead"))))).append(U(f,{class:a.sScrollBody}).css({position:"relative",overflow:"auto",width:d(r)}).append(t));u&&h.append(U(f,{class:a.sScrollFoot}).css({overflow:"hidden",border:0,width:r?d(r):"100%"}).append(U(f,{class:a.sScrollFootInner}).append(l.removeAttr("id").css("margin-left",0).append("bottom"===s?o:null).append(t.children("tfoot")))));var p=h.children(),m=p[0],g=p[1],_=u?p[2]:null;return r&&U(g).on("scroll.DT",function(e){var t=this.scrollLeft;m.scrollLeft=t,u&&(_.scrollLeft=t)}),U(g).css("max-height",i),n.bCollapse||U(g).css("height",i),e.nScrollHead=m,e.nScrollBody=g,e.nScrollFoot=_,e.aoDrawCallback.push({fn:Be,sName:"scrolling"}),h[0]}function Be(n){var e,t,r,i,a,o,s,c,l,u=n.oScroll,f=u.sX,d=u.sXInner,h=u.sY,p=u.iBarWidth,m=U(n.nScrollHead),g=m[0].style,_=m.children("div"),b=_[0].style,v=_.children("table"),y=n.nScrollBody,w=U(y),C=y.style,A=U(n.nScrollFoot).children("div"),S=A.children("table"),T=U(n.nTHead),x=U(n.nTable),k=x[0],E=k.style,D=n.nTFoot?U(n.nTFoot):null,I=n.oBrowser,P=I.bScrollOversize,M=W(n.aoColumns,"nTh"),$=[],O=[],R=[],N=[],L=function(e){var t=e.style;t.paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0},F=y.scrollHeight>y.clientHeight;if(n.scrollBarVis!==F&&n.scrollBarVis!==H)return n.scrollBarVis=F,void q(n);n.scrollBarVis=F,x.children("thead, tfoot").remove(),D&&(o=D.clone().prependTo(x),t=D.find("tr"),i=o.find("tr")),a=T.clone().prependTo(x),e=T.find("tr"),r=a.find("tr"),a.find("th, td").removeAttr("tabindex"),f||(C.width="100%",m[0].style.width="100%"),U.each(fe(n,a),function(e,t){s=z(n,e),t.style.width=n.aoColumns[s].sWidth}),D&&Ue(function(e){e.style.width=""},i),l=x.outerWidth(),""===f?(E.width="100%",P&&(x.find("tbody").height()>y.offsetHeight||"scroll"==w.css("overflow-y"))&&(E.width=Ke(x.outerWidth()-p)),l=x.outerWidth()):""!==d&&(E.width=Ke(d),l=x.outerWidth()),Ue(L,r),Ue(function(e){R.push(e.innerHTML),$.push(Ke(U(e).css("width")))},r),Ue(function(e,t){-1!==U.inArray(e,M)&&(e.style.width=$[t])},e),U(r).height(0),D&&(Ue(L,i),Ue(function(e){N.push(e.innerHTML),O.push(Ke(U(e).css("width")))},i),Ue(function(e,t){e.style.width=O[t]},t),U(i).height(0)),Ue(function(e,t){e.innerHTML='<div class="dataTables_sizing">'+R[t]+"</div>",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=$[t]},r),D&&Ue(function(e,t){e.innerHTML='<div class="dataTables_sizing">'+N[t]+"</div>",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=O[t]},i),x.outerWidth()<l?(c=y.scrollHeight>y.offsetHeight||"scroll"==w.css("overflow-y")?l+p:l,P&&(y.scrollHeight>y.offsetHeight||"scroll"==w.css("overflow-y"))&&(E.width=Ke(c-p)),""!==f&&""===d||ot(n,1,"Possible column misalignment",6)):c="100%",C.width=Ke(c),g.width=Ke(c),D&&(n.nScrollFoot.style.width=Ke(c)),h||P&&(C.height=Ke(k.offsetHeight+p));var G=x.outerWidth();v[0].style.width=Ke(G),b.width=Ke(G);var j=x.height()>y.clientHeight||"scroll"==w.css("overflow-y"),B="padding"+(I.bScrollbarLeft?"Left":"Right");b[B]=j?p+"px":"0px",D&&(S[0].style.width=Ke(G),A[0].style.width=Ke(G),A[0].style[B]=j?p+"px":"0px"),x.children("colgroup").insertBefore(x.children("thead")),w.trigger("scroll"),!n.bSorted&&!n.bFiltered||n._drawHold||(y.scrollTop=0)}function Ue(e,t,n){for(var r,i,a=0,o=0,s=t.length;o<s;){for(r=t[o].firstChild,i=n?n[o].firstChild:null;r;)1===r.nodeType&&(n?e(r,i,a):e(r,a),a++),r=r.nextSibling,i=n?i.nextSibling:null;o++}}var He=/<.*?>/g;function We(e){var t,n,r,i=e.nTable,a=e.aoColumns,o=e.oScroll,s=o.sY,c=o.sX,l=o.sXInner,u=a.length,f=L(e,"bVisible"),d=U("th",e.nTHead),h=i.getAttribute("width"),p=i.parentNode,m=!1,g=e.oBrowser,_=g.bScrollOversize,b=i.style.width;for(b&&-1!==b.indexOf("%")&&(h=b),t=0;t<f.length;t++)null!==(n=a[f[t]]).sWidth&&(n.sWidth=ze(n.sWidthOrig,p),m=!0);if(_||!m&&!c&&!s&&u==N(e)&&u==d.length)for(t=0;t<u;t++){var v=z(e,t);null!==v&&(a[v].sWidth=Ke(d.eq(t).width()))}else{var y=U(i).clone().css("visibility","hidden").removeAttr("id");y.find("tbody tr").remove();var w=U("<tr/>").appendTo(y.find("tbody"));for(y.find("thead, tfoot").remove(),y.append(U(e.nTHead).clone()).append(U(e.nTFoot).clone()),y.find("tfoot th, tfoot td").css("width",""),d=fe(e,y.find("thead")[0]),t=0;t<f.length;t++)n=a[f[t]],d[t].style.width=null!==n.sWidthOrig&&""!==n.sWidthOrig?Ke(n.sWidthOrig):"",n.sWidthOrig&&c&&U(d[t]).append(U("<div/>").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(e.aoData.length)for(t=0;t<f.length;t++)n=a[r=f[t]],U(Ve(e,r)).clone(!1).append(n.sContentPadding).appendTo(w);U("[name]",y).removeAttr("name");var C=U("<div/>").css(c||s?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(y).appendTo(p);c&&l?y.width(l):c?(y.css("width","auto"),y.removeAttr("width"),y.width()<p.clientWidth&&h&&y.width(p.clientWidth)):s?y.width(p.clientWidth):h&&y.width(h);var A=0;for(t=0;t<f.length;t++){var S=U(d[t]),T=S.outerWidth()-S.width(),x=g.bBounding?Math.ceil(d[t].getBoundingClientRect().width):S.outerWidth();A+=x,a[f[t]].sWidth=Ke(x-T)}i.style.width=Ke(A),C.remove()}if(h&&(i.style.width=Ke(h)),(h||c)&&!e._reszEvt){var k=function(){U(E).on("resize.DT-"+e.sInstance,qe(function(){q(e)}))};_?setTimeout(k,1e3):k(),e._reszEvt=!0}}var qe=k.util.throttle;function ze(e,t){if(!e)return 0;var n=U("<div/>").css("width",Ke(e)).appendTo(t||y.body),r=n[0].offsetWidth;return n.remove(),r}function Ve(e,t){var n=Ye(e,t);if(n<0)return null;var r=e.aoData[n];return r.nTr?r.anCells[t]:U("<td/>").html(x(e,n,t,"display"))[0]}function Ye(e,t){for(var n,r=-1,i=-1,a=0,o=e.aoData.length;a<o;a++)(n=(n=(n=x(e,a,t,"display")+"").replace(He,"")).replace(/ /g," ")).length>r&&(r=n.length,i=a);return i}function Ke(e){return null===e?"0px":"number"==typeof e?e<0?"0px":e+"px":e.match(/\d$/)?e+"px":e}function Qe(e){var t,n,r,i,a,o,s,c=[],l=e.aoColumns,u=e.aaSortingFixed,f=U.isPlainObject(u),d=[],h=function(e){e.length&&!U.isArray(e[0])?d.push(e):U.merge(d,e)};for(U.isArray(u)&&h(u),f&&u.pre&&h(u.pre),h(e.aaSorting),f&&u.post&&h(u.post),t=0;t<d.length;t++)for(n=0,r=(i=l[s=d[t][0]].aDataSort).length;n<r;n++)o=l[a=i[n]].sType||"string",d[t]._idx===H&&(d[t]._idx=U.inArray(d[t][1],l[a].asSorting)),c.push({src:s,col:a,dir:d[t][1],index:d[t]._idx,type:o,formatter:k.ext.type.order[o+"-pre"]});return c}function Xe(e){var t,n,r,i,u,f=[],d=k.ext.type.order,h=e.aoData,a=(e.aoColumns,0),o=e.aiDisplayMaster;for(T(e),t=0,n=(u=Qe(e)).length;t<n;t++)(i=u[t]).formatter&&a++,nt(e,i.col);if("ssp"!=pt(e)&&0!==u.length){for(t=0,r=o.length;t<r;t++)f[o[t]]=t;a===u.length?o.sort(function(e,t){var n,r,i,a,o,s=u.length,c=h[e]._aSortData,l=h[t]._aSortData;for(i=0;i<s;i++)if(0!==(a=(n=c[(o=u[i]).col])<(r=l[o.col])?-1:r<n?1:0))return"asc"===o.dir?a:-a;return(n=f[e])<(r=f[t])?-1:r<n?1:0}):o.sort(function(e,t){var n,r,i,a,o,s=u.length,c=h[e]._aSortData,l=h[t]._aSortData;for(i=0;i<s;i++)if(n=c[(o=u[i]).col],r=l[o.col],0!==(a=(d[o.type+"-"+o.dir]||d["string-"+o.dir])(n,r)))return a;return(n=f[e])<(r=f[t])?-1:r<n?1:0})}e.bSorted=!0}function Ze(e){for(var t,n=e.aoColumns,r=Qe(e),i=e.oLanguage.oAria,a=0,o=n.length;a<o;a++){var s=n[a],c=s.asSorting,l=s.sTitle.replace(/<.*?>/g,""),u=s.nTh;u.removeAttribute("aria-sort"),t=s.bSortable?l+("asc"===(0<r.length&&r[0].col==a?(u.setAttribute("aria-sort","asc"==r[0].dir?"ascending":"descending"),c[r[0].index+1]||c[0]):c[0])?i.sSortAscending:i.sSortDescending):l,u.setAttribute("aria-label",t)}}function Je(e,t,n,r){var i,a=e.aoColumns[t],o=e.aaSorting,s=a.asSorting,c=function(e,t){var n=e._idx;return n===H&&(n=U.inArray(e[1],s)),n+1<s.length?n+1:t?null:0};if("number"==typeof o[0]&&(o=e.aaSorting=[o]),n&&e.oFeatures.bSortMulti){var l=U.inArray(t,W(o,"0"));-1!==l?(null===(i=c(o[l],!0))&&1===o.length&&(i=0),null===i?o.splice(l,1):(o[l][1]=s[i],o[l]._idx=i)):(o.push([t,s[0],0]),o[o.length-1]._idx=0)}else o.length&&o[0][0]==t?(i=c(o[0]),o.length=1,o[0][1]=s[i],o[0]._idx=i):(o.length=0,o.push([t,s[0]]),o[0]._idx=0);ce(e),"function"==typeof r&&r(e)}function et(t,e,n,r){var i=t.aoColumns[n];lt(e,{},function(e){!1!==i.bSortable&&(t.oFeatures.bProcessing?(Ge(t,!0),setTimeout(function(){Je(t,n,e.shiftKey,r),"ssp"!==pt(t)&&Ge(t,!1)},0)):Je(t,n,e.shiftKey,r))})}function tt(e){var t,n,r,i=e.aLastSort,a=e.oClasses.sSortColumn,o=Qe(e),s=e.oFeatures;if(s.bSort&&s.bSortClasses){for(t=0,n=i.length;t<n;t++)r=i[t].src,U(W(e.aoData,"anCells",r)).removeClass(a+(t<2?t+1:3));for(t=0,n=o.length;t<n;t++)r=o[t].src,U(W(e.aoData,"anCells",r)).addClass(a+(t<2?t+1:3))}e.aLastSort=o}function nt(e,t){var n,r,i,a=e.aoColumns[t],o=k.ext.order[a.sSortDataType];o&&(n=o.call(e.oInstance,e,t,S(e,t)));for(var s=k.ext.type.order[a.sType+"-pre"],c=0,l=e.aoData.length;c<l;c++)(r=e.aoData[c])._aSortData||(r._aSortData=[]),r._aSortData[t]&&!o||(i=o?n[c]:x(e,c,t,"sort"),r._aSortData[t]=s?s(i):i)}function rt(n){if(n.oFeatures.bStateSave&&!n.bDestroying){var e={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:U.extend(!0,[],n.aaSorting),search:ke(n.oPreviousSearch),columns:U.map(n.aoColumns,function(e,t){return{visible:e.bVisible,search:ke(n.aoPreSearchCols[t])}})};ft(n,"aoStateSaveParams","stateSaveParams",[n,e]),n.oSavedState=e,n.fnStateSaveCallback.call(n.oInstance,n,e)}}function it(i,e,a){var o,s,c=i.aoColumns,t=function(e){if(e&&e.time){var t=ft(i,"aoStateLoadParams","stateLoadParams",[i,e]);if(-1===U.inArray(!1,t)){var n=i.iStateDuration;if(0<n&&e.time<+new Date-1e3*n)a();else if(e.columns&&c.length!==e.columns.length)a();else{if(i.oLoadedState=U.extend(!0,{},e),e.start!==H&&(i._iDisplayStart=e.start,i.iInitDisplayStart=e.start),e.length!==H&&(i._iDisplayLength=e.length),e.order!==H&&(i.aaSorting=[],U.each(e.order,function(e,t){i.aaSorting.push(t[0]>=c.length?[0,t[1]]:t)})),e.search!==H&&U.extend(i.oPreviousSearch,Ee(e.search)),e.columns)for(o=0,s=e.columns.length;o<s;o++){var r=e.columns[o];r.visible!==H&&(c[o].bVisible=r.visible),r.search!==H&&U.extend(i.aoPreSearchCols[o],Ee(r.search))}ft(i,"aoStateLoaded","stateLoaded",[i,e]),a()}}else a()}else a()};if(i.oFeatures.bStateSave){var n=i.fnStateLoadCallback.call(i.oInstance,i,t);n!==H&&t(n)}else a()}function at(e){var t=k.settings,n=U.inArray(e,W(t,"nTable"));return-1!==n?t[n]:null}function ot(e,t,n,r){if(n="DataTables warning: "+(e?"table id="+e.sTableId+" - ":"")+n,r&&(n+=". For more information about this error, please see http://datatables.net/tn/"+r),t)E.console&&console.log&&console.log(n);else{var i=k.ext,a=i.sErrMode||i.errMode;if(e&&ft(e,null,"error",[e,r,n]),"alert"==a)alert(n);else{if("throw"==a)throw new Error(n);"function"==typeof a&&a(e,r,n)}}}function st(n,r,e,t){U.isArray(e)?U.each(e,function(e,t){U.isArray(t)?st(n,r,t[0],t[1]):st(n,r,t)}):(t===H&&(t=e),r[e]!==H&&(n[t]=r[e]))}function ct(e,t,n){var r;for(var i in t)t.hasOwnProperty(i)&&(r=t[i],U.isPlainObject(r)?(U.isPlainObject(e[i])||(e[i]={}),U.extend(!0,e[i],r)):n&&"data"!==i&&"aaData"!==i&&U.isArray(r)?e[i]=r.slice():e[i]=r);return e}function lt(t,e,n){U(t).on("click.DT",e,function(e){U(t).trigger("blur"),n(e)}).on("keypress.DT",e,function(e){13===e.which&&(e.preventDefault(),n(e))}).on("selectstart.DT",function(){return!1})}function ut(e,t,n,r){n&&e[t].push({fn:n,sName:r})}function ft(n,e,t,r){var i=[];if(e&&(i=U.map(n[e].slice().reverse(),function(e,t){return e.fn.apply(n.oInstance,r)})),null!==t){var a=U.Event(t+".dt");U(n.nTable).trigger(a,r),i.push(a.result)}return i}function dt(e){var t=e._iDisplayStart,n=e.fnDisplayEnd(),r=e._iDisplayLength;n<=t&&(t=n-r),t-=t%r,(-1===r||t<0)&&(t=0),e._iDisplayStart=t}function ht(e,t){var n=e.renderer,r=k.ext.renderer[t];return U.isPlainObject(n)&&n[t]?r[n[t]]||r._:"string"==typeof n&&r[n]||r._}function pt(e){return e.oFeatures.bServerSide?"ssp":e.ajax||e.sAjaxSource?"ajax":"dom"}var mt=[],gt=Array.prototype;b=function(e,t){if(!(this instanceof b))return new b(e,t);var s=[],n=function(e){var t,n,r,i,a,o=(t=e,i=k.settings,a=U.map(i,function(e,t){return e.nTable}),t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(n=U.inArray(t,a))?[i[n]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?r=U(t):t instanceof U&&(r=t),r?r.map(function(e){return-1!==(n=U.inArray(this,a))?i[n]:null}).toArray():void 0):[]);o&&s.push.apply(s,o)};if(U.isArray(e))for(var r=0,i=e.length;r<i;r++)n(e[r]);else n(e);this.context=g(s),t&&U.merge(this,t),this.selector={rows:null,cols:null,opts:null},b.extend(this,this,mt)},k.Api=b,U.extend(b.prototype,{any:function(){return 0!==this.count()},concat:gt.concat,context:[],count:function(){return this.flatten().length},each:function(e){for(var t=0,n=this.length;t<n;t++)e.call(this,this[t],t,this);return this},eq:function(e){var t=this.context;return t.length>e?new b(t[e],this[e]):null},filter:function(e){var t=[];if(gt.filter)t=gt.filter.call(this,e,this);else for(var n=0,r=this.length;n<r;n++)e.call(this,this[n],n,this)&&t.push(this[n]);return new b(this.context,t)},flatten:function(){var e=[];return new b(this.context,e.concat.apply(e,this.toArray()))},join:gt.join,indexOf:gt.indexOf||function(e,t){for(var n=t||0,r=this.length;n<r;n++)if(this[n]===e)return n;return-1},iterator:function(e,t,n,r){var i,a,o,s,c,l,u,f,d=[],h=this.context,p=this.selector;for("string"==typeof e&&(r=n,n=t,t=e,e=!1),a=0,o=h.length;a<o;a++){var m=new b(h[a]);if("table"===t)(i=n.call(m,h[a],a))!==H&&d.push(i);else if("columns"===t||"rows"===t)(i=n.call(m,h[a],this[a],a))!==H&&d.push(i);else if("column"===t||"column-rows"===t||"row"===t||"cell"===t)for(u=this[a],"column-rows"===t&&(l=Ct(h[a],p.opts)),s=0,c=u.length;s<c;s++)f=u[s],(i="cell"===t?n.call(m,h[a],f.row,f.column,a,s):n.call(m,h[a],f,a,s,l))!==H&&d.push(i)}if(d.length||r){var g=new b(h,e?d.concat.apply([],d):d),_=g.selector;return _.rows=p.rows,_.cols=p.cols,_.opts=p.opts,g}return this},lastIndexOf:gt.lastIndexOf||function(e,t){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(e){var t=[];if(gt.map)t=gt.map.call(this,e,this);else for(var n=0,r=this.length;n<r;n++)t.push(e.call(this,this[n],n));return new b(this.context,t)},pluck:function(t){return this.map(function(e){return e[t]})},pop:gt.pop,push:gt.push,reduce:gt.reduce||function(e,t){return A(this,e,t,0,this.length,1)},reduceRight:gt.reduceRight||function(e,t){return A(this,e,t,this.length-1,-1,-1)},reverse:gt.reverse,selector:null,shift:gt.shift,slice:function(){return new b(this.context,this)},sort:gt.sort,splice:gt.splice,toArray:function(){return gt.slice.call(this)},to$:function(){return U(this)},toJQuery:function(){return U(this)},unique:function(){return new b(this.context,g(this))},unshift:gt.unshift}),b.extend=function(e,t,n){if(n.length&&t&&(t instanceof b||t.__dt_wrapper)){var r,i,a,o=function(t,n,r){return function(){var e=n.apply(t,arguments);return b.extend(e,e,r.methodExt),e}};for(r=0,i=n.length;r<i;r++)t[(a=n[r]).name]="function"===a.type?o(e,a.val,a):"object"===a.type?{}:a.val,t[a.name].__dt_wrapper=!0,b.extend(e,t[a.name],a.propExt)}},b.register=t=function(e,t){if(U.isArray(e))for(var n=0,r=e.length;n<r;n++)b.register(e[n],t);else{var i,a,o,s,c=e.split("."),l=mt,u=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n].name===t)return e[n];return null};for(i=0,a=c.length;i<a;i++){var f=u(l,o=(s=-1!==c[i].indexOf("()"))?c[i].replace("()",""):c[i]);f||(f={name:o,val:{},methodExt:[],propExt:[],type:"object"},l.push(f)),i===a-1?(f.val=t,f.type="function"==typeof t?"function":U.isPlainObject(t)?"object":"other"):l=s?f.methodExt:f.propExt}}},b.registerPlural=e=function(e,t,n){b.register(e,n),b.register(t,function(){var e=n.apply(this,arguments);return e===this?this:e instanceof b?e.length?U.isArray(e[0])?new b(e.context,e[0]):e[0]:H:e})};var _t=function(e,n){if(U.isArray(e))return U.map(e,function(e){return _t(e,n)});if("number"==typeof e)return[n[e]];var r=U.map(n,function(e,t){return e.nTable});return U(r).filter(e).map(function(e){var t=U.inArray(this,r);return n[t]}).toArray()};t("tables()",function(e){return e!==H&&null!==e?new b(_t(e,this.context)):this}),t("table()",function(e){var t=this.tables(e),n=t.context;return n.length?new b(n[0]):t}),e("tables().nodes()","table().node()",function(){return this.iterator("table",function(e){return e.nTable},1)}),e("tables().body()","table().body()",function(){return this.iterator("table",function(e){return e.nTBody},1)}),e("tables().header()","table().header()",function(){return this.iterator("table",function(e){return e.nTHead},1)}),e("tables().footer()","table().footer()",function(){return this.iterator("table",function(e){return e.nTFoot},1)}),e("tables().containers()","table().container()",function(){return this.iterator("table",function(e){return e.nTableWrapper},1)}),t("draw()",function(t){return this.iterator("table",function(e){"page"===t?se(e):("string"==typeof t&&(t="full-hold"!==t),ce(e,!1===t))})}),t("page()",function(t){return t===H?this.page.info().page:this.iterator("table",function(e){Le(e,t)})}),t("page.info()",function(e){if(0===this.context.length)return H;var t=this.context[0],n=t._iDisplayStart,r=t.oFeatures.bPaginate?t._iDisplayLength:-1,i=t.fnRecordsDisplay(),a=-1===r;return{page:a?0:Math.floor(n/r),pages:a?1:Math.ceil(i/r),start:n,end:t.fnDisplayEnd(),length:r,recordsTotal:t.fnRecordsTotal(),recordsDisplay:i,serverSide:"ssp"===pt(t)}}),t("page.len()",function(t){return t===H?0!==this.context.length?this.context[0]._iDisplayLength:H:this.iterator("table",function(e){Oe(e,t)})});var bt=function(i,a,e){if(e){var t=new b(i);t.one("draw",function(){e(t.ajax.json())})}if("ssp"==pt(i))ce(i,a);else{Ge(i,!0);var n=i.jqXHR;n&&4!==n.readyState&&n.abort(),de(i,[],function(e){J(i);for(var t=ge(i,e),n=0,r=t.length;n<r;n++)G(i,t[n]);ce(i,a),Ge(i,!1)})}};t("ajax.json()",function(){var e=this.context;if(0<e.length)return e[0].json}),t("ajax.params()",function(){var e=this.context;if(0<e.length)return e[0].oAjaxData}),t("ajax.reload()",function(t,n){return this.iterator("table",function(e){bt(e,!1===n,t)})}),t("ajax.url()",function(t){var e=this.context;return t===H?0===e.length?H:(e=e[0]).ajax?U.isPlainObject(e.ajax)?e.ajax.url:e.ajax:e.sAjaxSource:this.iterator("table",function(e){U.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t})}),t("ajax.url().load()",function(t,n){return this.iterator("table",function(e){bt(e,!1===n,t)})});var vt=function(e,t,n,r,i){var a,o,s,c,l,u,f=[],d=typeof t;for(t&&"string"!==d&&"function"!==d&&t.length!==H||(t=[t]),s=0,c=t.length;s<c;s++)for(l=0,u=(o=t[s]&&t[s].split&&!t[s].match(/[\[\(:]/)?t[s].split(","):[t[s]]).length;l<u;l++)(a=n("string"==typeof o[l]?U.trim(o[l]):o[l]))&&a.length&&(f=f.concat(a));var h=p.selector[e];if(h.length)for(s=0,c=h.length;s<c;s++)f=h[s](r,i,f);return g(f)},yt=function(e){return e||(e={}),e.filter&&e.search===H&&(e.search=e.filter),U.extend({search:"none",order:"current",page:"all"},e)},wt=function(e){for(var t=0,n=e.length;t<n;t++)if(0<e[t].length)return e[0]=e[t],e[0].length=1,e.length=1,e.context=[e.context[t]],e;return e.length=0,e},Ct=function(e,t){var n,r=[],i=e.aiDisplay,a=e.aiDisplayMaster,o=t.search,s=t.order,c=t.page;if("ssp"==pt(e))return"removed"===o?[]:m(0,a.length);if("current"==c)for(u=e._iDisplayStart,f=e.fnDisplayEnd();u<f;u++)r.push(i[u]);else if("current"==s||"applied"==s){if("none"==o)r=a.slice();else if("applied"==o)r=i.slice();else if("removed"==o){for(var l={},u=0,f=i.length;u<f;u++)l[i[u]]=null;r=U.map(a,function(e){return l.hasOwnProperty(e)?null:e})}}else if("index"==s||"original"==s)for(u=0,f=e.aoData.length;u<f;u++)"none"==o?r.push(u):(-1===(n=U.inArray(u,i))&&"removed"==o||0<=n&&"applied"==o)&&r.push(u);return r};t("rows()",function(t,n){t===H?t="":U.isPlainObject(t)&&(n=t,t=""),n=yt(n);var e=this.iterator("table",function(e){return vt("row",t,function(n){var e=h(n),r=c.aoData;if(null!==e&&!l)return[e];if(u||(u=Ct(c,l)),null!==e&&-1!==U.inArray(e,u))return[e];if(null===n||n===H||""===n)return u;if("function"==typeof n)return U.map(u,function(e){var t=r[e];return n(e,t._aData,t.nTr)?e:null});if(n.nodeName){var t=n._DT_RowIndex,i=n._DT_CellIndex;if(t!==H)return r[t]&&r[t].nTr===n?[t]:[];if(i)return r[i.row]&&r[i.row].nTr===n.parentNode?[i.row]:[];var a=U(n).closest("*[data-dt-row]");return a.length?[a.data("dt-row")]:[]}if("string"==typeof n&&"#"===n.charAt(0)){var o=c.aIds[n.replace(/^#/,"")];if(o!==H)return[o.idx]}var s=w(v(c.aoData,u,"nTr"));return U(s).filter(n).map(function(){return this._DT_RowIndex}).toArray()},c=e,l=n);var c,l,u},1);return e.selector.rows=t,e.selector.opts=n,e}),t("rows().nodes()",function(){return this.iterator("row",function(e,t){return e.aoData[t].nTr||H},1)}),t("rows().data()",function(){return this.iterator(!0,"rows",function(e,t){return v(e.aoData,t,"_aData")},1)}),e("rows().cache()","row().cache()",function(r){return this.iterator("row",function(e,t){var n=e.aoData[t];return"search"===r?n._aFilterData:n._aSortData},1)}),e("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(e,t){te(e,t,n)})}),e("rows().indexes()","row().index()",function(){return this.iterator("row",function(e,t){return t},1)}),e("rows().ids()","row().id()",function(e){for(var t=[],n=this.context,r=0,i=n.length;r<i;r++)for(var a=0,o=this[r].length;a<o;a++){var s=n[r].rowIdFn(n[r].aoData[this[r][a]]._aData);t.push((!0===e?"#":"")+s)}return new b(n,t)}),e("rows().remove()","row().remove()",function(){var d=this;return this.iterator("row",function(e,t,n){var r,i,a,o,s,c,l=e.aoData,u=l[t];for(l.splice(t,1),r=0,i=l.length;r<i;r++)if(c=(s=l[r]).anCells,null!==s.nTr&&(s.nTr._DT_RowIndex=r),null!==c)for(a=0,o=c.length;a<o;a++)c[a]._DT_CellIndex.row=r;ee(e.aiDisplayMaster,t),ee(e.aiDisplay,t),ee(d[n],t,!1),0<e._iRecordsDisplay&&e._iRecordsDisplay--,dt(e);var f=e.rowIdFn(u._aData);f!==H&&delete e.aIds[f]}),this.iterator("table",function(e){for(var t=0,n=e.aoData.length;t<n;t++)e.aoData[t].idx=t}),this}),t("rows.add()",function(a){var e=this.iterator("table",function(e){var t,n,r,i=[];for(n=0,r=a.length;n<r;n++)(t=a[n]).nodeName&&"TR"===t.nodeName.toUpperCase()?i.push(j(e,t)[0]):i.push(G(e,t));return i},1),t=this.rows(-1);return t.pop(),U.merge(t,e),t}),t("row()",function(e,t){return wt(this.rows(e,t))}),t("row().data()",function(e){var t=this.context;if(e===H)return t.length&&this.length?t[0].aoData[this[0]]._aData:H;var n=t[0].aoData[this[0]];return n._aData=e,U.isArray(e)&&n.nTr&&n.nTr.id&&X(t[0].rowId)(e,n.nTr.id),te(t[0],this[0],"data"),this}),t("row().node()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]].nTr||null}),t("row.add()",function(t){t instanceof U&&t.length&&(t=t[0]);var e=this.iterator("table",function(e){return t.nodeName&&"TR"===t.nodeName.toUpperCase()?j(e,t)[0]:G(e,t)});return this.row(e[0])});var At=function(e,t){var n=e.context;if(n.length){var r=n[0].aoData[t!==H?t:e[0]];r&&r._details&&(r._details.remove(),r._detailsShow=H,r._details=H)}},St=function(e,t){var n=e.context;if(n.length&&e.length){var r=n[0].aoData[e[0]];r._details&&((r._detailsShow=t)?r._details.insertAfter(r.nTr):r._details.detach(),Tt(n[0]))}},Tt=function(c){var i=new b(c),e=".dt.DT_details",t="draw"+e,n="column-visibility"+e,r="destroy"+e,l=c.aoData;i.off(t+" "+n+" "+r),0<W(l,"_details").length&&(i.on(t,function(e,t){c===t&&i.rows({page:"current"}).eq(0).each(function(e){var t=l[e];t._detailsShow&&t._details.insertAfter(t.nTr)})}),i.on(n,function(e,t,n,r){if(c===t)for(var i,a=N(t),o=0,s=l.length;o<s;o++)(i=l[o])._details&&i._details.children("td[colspan]").attr("colspan",a)}),i.on(r,function(e,t){if(c===t)for(var n=0,r=l.length;n<r;n++)l[n]._details&&At(i,n)}))},xt="row().child",kt=xt+"()";t(kt,function(e,t){var a,n,o,s,r=this.context;return e===H?r.length&&this.length?r[0].aoData[this[0]]._details:H:(!0===e?this.child.show():!1===e?At(this):r.length&&this.length&&(a=r[0],n=r[0].aoData[this[0]],o=[],(s=function(e,t){if(U.isArray(e)||e instanceof U)for(var n=0,r=e.length;n<r;n++)s(e[n],t);else if(e.nodeName&&"tr"===e.nodeName.toLowerCase())o.push(e);else{var i=U("<tr><td/></tr>").addClass(t);U("td",i).addClass(t).html(e)[0].colSpan=N(a),o.push(i[0])}})(e,t),n._details&&n._details.detach(),n._details=U(o),n._detailsShow&&n._details.insertAfter(n.nTr)),this)}),t([xt+".show()",kt+".show()"],function(e){return St(this,!0),this}),t([xt+".hide()",kt+".hide()"],function(){return St(this,!1),this}),t([xt+".remove()",kt+".remove()"],function(){return At(this),this}),t(xt+".isShown()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]]._detailsShow||!1});var Et=/^([^:]+):(name|visIdx|visible)$/,Dt=function(e,t,n,r,i){for(var a=[],o=0,s=i.length;o<s;o++)a.push(x(e,i[o],t));return a};t("columns()",function(n,r){n===H?n="":U.isPlainObject(n)&&(r=n,n=""),r=yt(r);var e=this.iterator("table",function(e){return t=n,l=r,u=(c=e).aoColumns,f=W(u,"sName"),d=W(u,"nTh"),vt("column",t,function(n){var e=h(n);if(""===n)return m(u.length);if(null!==e)return[0<=e?e:u.length+e];if("function"==typeof n){var r=Ct(c,l);return U.map(u,function(e,t){return n(t,Dt(c,t,0,0,r),d[t])?t:null})}var i="string"==typeof n?n.match(Et):"";if(i)switch(i[2]){case"visIdx":case"visible":var t=parseInt(i[1],10);if(t<0){var a=U.map(u,function(e,t){return e.bVisible?t:null});return[a[a.length+t]]}return[z(c,t)];case"name":return U.map(f,function(e,t){return e===i[1]?t:null});default:return[]}if(n.nodeName&&n._DT_CellIndex)return[n._DT_CellIndex.column];var o=U(d).filter(n).map(function(){return U.inArray(this,d)}).toArray();if(o.length||!n.nodeName)return o;var s=U(n).closest("*[data-dt-column]");return s.length?[s.data("dt-column")]:[]},c,l);var c,t,l,u,f,d},1);return e.selector.cols=n,e.selector.opts=r,e}),e("columns().header()","column().header()",function(e,t){return this.iterator("column",function(e,t){return e.aoColumns[t].nTh},1)}),e("columns().footer()","column().footer()",function(e,t){return this.iterator("column",function(e,t){return e.aoColumns[t].nTf},1)}),e("columns().data()","column().data()",function(){return this.iterator("column-rows",Dt,1)}),e("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(e,t){return e.aoColumns[t].mData},1)}),e("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(e,t,n,r,i){return v(e.aoData,i,"search"===a?"_aFilterData":"_aSortData",t)},1)}),e("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(e,t,n,r,i){return v(e.aoData,i,"anCells",t)},1)}),e("columns().visible()","column().visible()",function(n,r){var t=this,e=this.iterator("column",function(e,t){if(n===H)return e.aoColumns[t].bVisible;!function(e,t,n){var r,i,a,o,s=e.aoColumns,c=s[t],l=e.aoData;if(n===H)return c.bVisible;if(c.bVisible!==n){if(n){var u=U.inArray(!0,W(s,"bVisible"),t+1);for(i=0,a=l.length;i<a;i++)o=l[i].nTr,r=l[i].anCells,o&&o.insertBefore(r[t],r[u]||null)}else U(W(e.aoData,"anCells",t)).detach();c.bVisible=n}}(e,t,n)});return n!==H&&this.iterator("table",function(e){oe(e,e.aoHeader),oe(e,e.aoFooter),e.aiDisplay.length||U(e.nTBody).find("td[colspan]").attr("colspan",N(e)),rt(e),t.iterator("column",function(e,t){ft(e,null,"column-visibility",[e,t,n,r])}),(r===H||r)&&t.columns.adjust()}),e}),e("columns().indexes()","column().index()",function(n){return this.iterator("column",function(e,t){return"visible"===n?S(e,t):t},1)}),t("columns.adjust()",function(){return this.iterator("table",function(e){q(e)},1)}),t("column.index()",function(e,t){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===e||"toData"===e)return z(n,t);if("fromData"===e||"toVisible"===e)return S(n,t)}}),t("column()",function(e,t){return wt(this.columns(e,t))});t("cells()",function(g,e,_){if(U.isPlainObject(g)&&(g.row===H?(_=g,g=null):(_=e,e=null)),U.isPlainObject(e)&&(_=e,e=null),null===e||e===H)return this.iterator("table",function(e){return r=e,t=g,n=yt(_),f=r.aoData,d=Ct(r,n),h=w(v(f,d,"anCells")),p=U([].concat.apply([],h)),m=r.aoColumns.length,vt("cell",t,function(e){var t="function"==typeof e;if(null===e||e===H||t){for(a=[],o=0,s=d.length;o<s;o++)for(i=d[o],c=0;c<m;c++)l={row:i,column:c},t?(u=f[i],e(l,x(r,i,c),u.anCells?u.anCells[c]:null)&&a.push(l)):a.push(l);return a}if(U.isPlainObject(e))return e.column!==H&&e.row!==H&&-1!==U.inArray(e.row,d)?[e]:[];var n=p.filter(e).map(function(e,t){return{row:t._DT_CellIndex.row,column:t._DT_CellIndex.column}}).toArray();return n.length||!e.nodeName?n:(u=U(e).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]},r,n);var r,t,n,i,a,o,s,c,l,u,f,d,h,p,m});var r,i,a,o,t=_?{page:_.page,order:_.order,search:_.search}:{},s=this.columns(e,t),c=this.rows(g,t),n=this.iterator("table",function(e,t){var n=[];for(r=0,i=c[t].length;r<i;r++)for(a=0,o=s[t].length;a<o;a++)n.push({row:c[t][r],column:s[t][a]});return n},1),l=_&&_.selected?this.cells(n,_):n;return U.extend(l.selector,{cols:e,rows:g,opts:_}),l}),e("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(e,t,n){var r=e.aoData[t];return r&&r.anCells?r.anCells[n]:H},1)}),t("cells().data()",function(){return this.iterator("cell",function(e,t,n){return x(e,t,n)},1)}),e("cells().cache()","cell().cache()",function(r){return r="search"===r?"_aFilterData":"_aSortData",this.iterator("cell",function(e,t,n){return e.aoData[t][r][n]},1)}),e("cells().render()","cell().render()",function(r){return this.iterator("cell",function(e,t,n){return x(e,t,n,r)},1)}),e("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(e,t,n){return{row:t,column:n,columnVisible:S(e,n)}},1)}),e("cells().invalidate()","cell().invalidate()",function(r){return this.iterator("cell",function(e,t,n){te(e,t,r,n)})}),t("cell()",function(e,t,n){return wt(this.cells(e,t,n))}),t("cell().data()",function(e){var t=this.context,n=this[0];return e===H?t.length&&n.length?x(t[0],n[0].row,n[0].column):H:(B(t[0],n[0].row,n[0].column,e),te(t[0],n[0].row,"data",n[0].column),this)}),t("order()",function(t,e){var n=this.context;return t===H?0!==n.length?n[0].aaSorting:H:("number"==typeof t?t=[[t,e]]:t.length&&!U.isArray(t[0])&&(t=Array.prototype.slice.call(arguments)),this.iterator("table",function(e){e.aaSorting=t.slice()}))}),t("order.listener()",function(t,n,r){return this.iterator("table",function(e){et(e,t,n,r)})}),t("order.fixed()",function(t){if(t)return this.iterator("table",function(e){e.aaSortingFixed=U.extend(!0,{},t)});var e=this.context,n=e.length?e[0].aaSortingFixed:H;return U.isArray(n)?{pre:n}:n}),t(["columns().order()","column().order()"],function(r){var i=this;return this.iterator("table",function(e,t){var n=[];U.each(i[t],function(e,t){n.push([t,r])}),e.aaSorting=n})}),t("search()",function(t,n,r,i){var e=this.context;return t===H?0!==e.length?e[0].oPreviousSearch.sSearch:H:this.iterator("table",function(e){e.oFeatures.bFilter&&be(e,U.extend({},e.oPreviousSearch,{sSearch:t+"",bRegex:null!==n&&n,bSmart:null===r||r,bCaseInsensitive:null===i||i}),1)})}),e("columns().search()","column().search()",function(r,i,a,o){return this.iterator("column",function(e,t){var n=e.aoPreSearchCols;if(r===H)return n[t].sSearch;e.oFeatures.bFilter&&(U.extend(n[t],{sSearch:r+"",bRegex:null!==i&&i,bSmart:null===a||a,bCaseInsensitive:null===o||o}),be(e,e.oPreviousSearch,1))})}),t("state()",function(){return this.context.length?this.context[0].oSavedState:null}),t("state.clear()",function(){return this.iterator("table",function(e){e.fnStateSaveCallback.call(e.oInstance,e,{})})}),t("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),t("state.save()",function(){return this.iterator("table",function(e){rt(e)})}),k.versionCheck=k.fnVersionCheck=function(e){for(var t,n,r=k.version.split("."),i=e.split("."),a=0,o=i.length;a<o;a++)if((t=parseInt(r[a],10)||0)!==(n=parseInt(i[a],10)||0))return n<t;return!0},k.isDataTable=k.fnIsDataTable=function(e){var i=U(e).get(0),a=!1;return e instanceof k.Api||(U.each(k.settings,function(e,t){var n=t.nScrollHead?U("table",t.nScrollHead)[0]:null,r=t.nScrollFoot?U("table",t.nScrollFoot)[0]:null;t.nTable!==i&&n!==i&&r!==i||(a=!0)}),a)},k.tables=k.fnTables=function(t){var e=!1;U.isPlainObject(t)&&(e=t.api,t=t.visible);var n=U.map(k.settings,function(e){if(!t||t&&U(e.nTable).is(":visible"))return e.nTable});return e?new b(n):n},k.camelToHungarian=D,t("$()",function(e,t){var n=this.rows(t).nodes(),r=U(n);return U([].concat(r.filter(e).toArray(),r.find(e).toArray()))}),U.each(["on","one","off"],function(e,n){t(n+"()",function(){var e=Array.prototype.slice.call(arguments);e[0]=U.map(e[0].split(/\s/),function(e){return e.match(/\.dt\b/)?e:e+".dt"}).join(" ");var t=U(this.tables().nodes());return t[n].apply(t,e),this})}),t("clear()",function(){return this.iterator("table",function(e){J(e)})}),t("settings()",function(){return new b(this.context,this.context)}),t("init()",function(){var e=this.context;return e.length?e[0].oInit:null}),t("data()",function(){return this.iterator("table",function(e){return W(e.aoData,"_aData")}).flatten()}),t("destroy()",function(p){return p=p||!1,this.iterator("table",function(t){var n,e=t.nTableWrapper.parentNode,r=t.oClasses,i=t.nTable,a=t.nTBody,o=t.nTHead,s=t.nTFoot,c=U(i),l=U(a),u=U(t.nTableWrapper),f=U.map(t.aoData,function(e){return e.nTr});t.bDestroying=!0,ft(t,"aoDestroyCallback","destroy",[t]),p||new b(t).columns().visible(!0),u.off(".DT").find(":not(tbody *)").off(".DT"),U(E).off(".DT-"+t.sInstance),i!=o.parentNode&&(c.children("thead").detach(),c.append(o)),s&&i!=s.parentNode&&(c.children("tfoot").detach(),c.append(s)),t.aaSorting=[],t.aaSortingFixed=[],tt(t),U(f).removeClass(t.asStripeClasses.join(" ")),U("th, td",o).removeClass(r.sSortable+" "+r.sSortableAsc+" "+r.sSortableDesc+" "+r.sSortableNone),l.children().detach(),l.append(f);var d=p?"remove":"detach";c[d](),u[d](),!p&&e&&(e.insertBefore(i,t.nTableReinsertBefore),c.css("width",t.sDestroyWidth).removeClass(r.sTable),(n=t.asDestroyStripes.length)&&l.children().each(function(e){U(this).addClass(t.asDestroyStripes[e%n])}));var h=U.inArray(t,k.settings);-1!==h&&k.settings.splice(h,1)})}),U.each(["column","row","cell"],function(e,c){t(c+"s().every()",function(a){var o=this.selector.opts,s=this;return this.iterator(c,function(e,t,n,r,i){a.call(s[c](t,"cell"===c?n:o,"cell"===c?o:H),t,n,r,i)})})}),t("i18n()",function(e,t,n){var r=this.context[0],i=Q(e)(r.oLanguage);return i===H&&(i=t),n!==H&&U.isPlainObject(i)&&(i=i[n]!==H?i[n]:i._),i.replace("%d",n)}),k.version="1.10.21",k.settings=[],k.models={},k.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},k.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},k.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},k.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1===e.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+e.sInstance+"_"+location.pathname))}catch(e){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1===e.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+e.sInstance+"_"+location.pathname,JSON.stringify(t))}catch(e){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:U.extend({},k.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},_(k.defaults),k.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},_(k.defaults.column),k.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:H,oAjaxData:H,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==pt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==pt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,n=t+e,r=this.aiDisplay.length,i=this.oFeatures,a=i.bPaginate;return i.bServerSide?!1===a||-1===e?t+r:Math.min(t+e,this._iRecordsDisplay):!a||r<n||-1===e?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},k.ext=p={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:k.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:k.version},U.extend(p,{afnFiltering:p.search,aTypes:p.type.detect,ofnSearch:p.type.search,oSort:p.type.order,afnSortData:p.order,aoFeatures:p.feature,oApi:p.internal,oStdClasses:p.classes,oPagination:p.pager}),U.extend(k.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var It=k.ext.pager;function Pt(e,t){var n=[],r=It.numbers_length,i=Math.floor(r/2);return t<=r?n=m(0,t):e<=i?((n=m(0,r-2)).push("ellipsis"),n.push(t-1)):(t-1-i<=e?(n=m(t-(r-2),t)).splice(0,0,"ellipsis"):((n=m(e-i+2,e+i-1)).push("ellipsis"),n.push(t-1),n.splice(0,0,"ellipsis")),n.splice(0,0,0)),n.DT_el="span",n}U.extend(It,{simple:function(e,t){return["previous","next"]},full:function(e,t){return["first","previous","next","last"]},numbers:function(e,t){return[Pt(e,t)]},simple_numbers:function(e,t){return["previous",Pt(e,t),"next"]},full_numbers:function(e,t){return["first","previous",Pt(e,t),"next","last"]},first_last_numbers:function(e,t){return["first",Pt(e,t),"last"]},_numbers:Pt,numbers_length:7}),U.extend(!0,k.ext.renderer,{pageButton:{_:function(l,e,u,t,f,d){var h,p,n,m=l.oClasses,g=l.oLanguage.oPaginate,_=l.oLanguage.oAria.paginate||{},b=0,v=function(e,t){var n,r,i,a,o=m.sPageButtonDisabled,s=function(e){Le(l,e.data.action,!0)};for(n=0,r=t.length;n<r;n++)if(i=t[n],U.isArray(i)){var c=U("<"+(i.DT_el||"div")+"/>").appendTo(e);v(c,i)}else{switch(h=null,p=i,a=l.iTabIndex,i){case"ellipsis":e.append('<span class="ellipsis">…</span>');break;case"first":h=g.sFirst,0===f&&(a=-1,p+=" "+o);break;case"previous":h=g.sPrevious,0===f&&(a=-1,p+=" "+o);break;case"next":h=g.sNext,0!==d&&f!==d-1||(a=-1,p+=" "+o);break;case"last":h=g.sLast,f===d-1&&(a=-1,p+=" "+o);break;default:h=i+1,p=f===i?m.sPageButtonActive:""}null!==h&&(lt(U("<a>",{class:m.sPageButton+" "+p,"aria-controls":l.sTableId,"aria-label":_[i],"data-dt-idx":b,tabindex:a,id:0===u&&"string"==typeof i?l.sTableId+"_"+i:null}).html(h).appendTo(e),{action:i},s),b++)}};try{n=U(e).find(y.activeElement).data("dt-idx")}catch(e){}v(U(e).empty(),t),n!==H&&U(e).find("[data-dt-idx="+n+"]").trigger("focus")}}}),U.extend(k.ext.type.detect,[function(e,t){var n=t.oLanguage.sDecimal;return u(e,n)?"num"+n:null},function(e,t){if(e&&!(e instanceof Date)&&!a.test(e))return null;var n=Date.parse(e);return null!==n&&!isNaN(n)||c(e)?"date":null},function(e,t){var n=t.oLanguage.sDecimal;return u(e,n,!0)?"num-fmt"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return f(e,n)?"html-num"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return f(e,n,!0)?"html-num-fmt"+n:null},function(e,t){return c(e)||"string"==typeof e&&-1!==e.indexOf("<")?"html":null}]),U.extend(k.ext.type.search,{html:function(e){return c(e)?e:"string"==typeof e?e.replace(r," ").replace(i,""):""},string:function(e){return c(e)?e:"string"==typeof e?e.replace(r," "):e}});var Mt=function(e,t,n,r){return 0===e||e&&"-"!==e?(t&&(e=l(e,t)),e.replace&&(n&&(e=e.replace(n,"")),r&&(e=e.replace(r,""))),1*e):-1/0};function $t(n){U.each({num:function(e){return Mt(e,n)},"num-fmt":function(e){return Mt(e,n,s)},"html-num":function(e){return Mt(e,n,i)},"html-num-fmt":function(e){return Mt(e,n,i,s)}},function(e,t){p.type.order[e+n+"-pre"]=t,e.match(/^html\-/)&&(p.type.search[e+n]=p.type.search.html)})}U.extend(p.type.order,{"date-pre":function(e){var t=Date.parse(e);return isNaN(t)?-1/0:t},"html-pre":function(e){return c(e)?"":e.replace?e.replace(/<.*?>/g,"").toLowerCase():e+""},"string-pre":function(e){return c(e)?"":"string"==typeof e?e.toLowerCase():e.toString?e.toString():""},"string-asc":function(e,t){return e<t?-1:t<e?1:0},"string-desc":function(e,t){return e<t?1:t<e?-1:0}}),$t(""),U.extend(!0,k.ext.renderer,{header:{_:function(a,o,s,c){U(a.nTable).on("order.dt.DT",function(e,t,n,r){if(a===t){var i=s.idx;o.removeClass(s.sSortingClass+" "+c.sSortAsc+" "+c.sSortDesc).addClass("asc"==r[i]?c.sSortAsc:"desc"==r[i]?c.sSortDesc:s.sSortingClass)}})},jqueryui:function(a,o,s,c){U("<div/>").addClass(c.sSortJUIWrapper).append(o.contents()).append(U("<span/>").addClass(c.sSortIcon+" "+s.sSortingClassJUI)).appendTo(o),U(a.nTable).on("order.dt.DT",function(e,t,n,r){if(a===t){var i=s.idx;o.removeClass(c.sSortAsc+" "+c.sSortDesc).addClass("asc"==r[i]?c.sSortAsc:"desc"==r[i]?c.sSortDesc:s.sSortingClass),o.find("span."+c.sSortIcon).removeClass(c.sSortJUIAsc+" "+c.sSortJUIDesc+" "+c.sSortJUI+" "+c.sSortJUIAscAllowed+" "+c.sSortJUIDescAllowed).addClass("asc"==r[i]?c.sSortJUIAsc:"desc"==r[i]?c.sSortJUIDesc:s.sSortingClassJUI)}})}}});var Ot=function(e){return"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):e};function Rt(t){return function(){var e=[at(this[k.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return k.ext.internal[t].apply(this,e)}}return k.render={number:function(a,o,s,c,l){return{display:function(e){if("number"!=typeof e&&"string"!=typeof e)return e;var t=e<0?"-":"",n=parseFloat(e);if(isNaN(n))return Ot(e);n=n.toFixed(s),e=Math.abs(n);var r=parseInt(e,10),i=s?o+(e-r).toFixed(s).substring(2):"";return t+(c||"")+r.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+i+(l||"")}}},text:function(){return{display:Ot,filter:Ot}}},U.extend(k.ext.internal,{_fnExternApiFunc:Rt,_fnBuildAjax:de,_fnAjaxUpdate:he,_fnAjaxParameters:pe,_fnAjaxUpdateDraw:me,_fnAjaxDataSrc:ge,_fnAddColumn:O,_fnColumnOptions:R,_fnAdjustColumnSizing:q,_fnVisibleToColumnIndex:z,_fnColumnIndexToVisible:S,_fnVisbleColumns:N,_fnGetColumns:L,_fnColumnTypes:T,_fnApplyColumnDefs:F,_fnHungarianMap:_,_fnCamelToHungarian:D,_fnLanguageCompat:I,_fnBrowserDetect:$,_fnAddData:G,_fnAddTr:j,_fnNodeToDataIndex:function(e,t){return t._DT_RowIndex!==H?t._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,t,n){return U.inArray(n,e.aoData[t].anCells)},_fnGetCellData:x,_fnSetCellData:B,_fnSplitObjNotation:K,_fnGetObjectDataFn:Q,_fnSetObjectDataFn:X,_fnGetDataMaster:Z,_fnClearTable:J,_fnDeleteIndex:ee,_fnInvalidate:te,_fnGetRowElements:ne,_fnCreateTr:re,_fnBuildHead:ae,_fnDrawHead:oe,_fnDraw:se,_fnReDraw:ce,_fnAddOptionsHtml:le,_fnDetectHeader:ue,_fnGetUniqueThs:fe,_fnFeatureHtmlFilter:_e,_fnFilterComplete:be,_fnFilterCustom:ve,_fnFilterColumn:ye,_fnFilter:we,_fnFilterCreateSearch:Ce,_fnEscapeRegex:Ae,_fnFilterData:xe,_fnFeatureHtmlInfo:De,_fnUpdateInfo:Ie,_fnInfoMacros:Pe,_fnInitialise:Me,_fnInitComplete:$e,_fnLengthChange:Oe,_fnFeatureHtmlLength:Re,_fnFeatureHtmlPaginate:Ne,_fnPageChange:Le,_fnFeatureHtmlProcessing:Fe,_fnProcessingDisplay:Ge,_fnFeatureHtmlTable:je,_fnScrollDraw:Be,_fnApplyToChildren:Ue,_fnCalculateColumnWidths:We,_fnThrottle:qe,_fnConvertToWidth:ze,_fnGetWidestNode:Ve,_fnGetMaxLenString:Ye,_fnStringToCss:Ke,_fnSortFlatten:Qe,_fnSort:Xe,_fnSortAria:Ze,_fnSortListener:Je,_fnSortAttachListener:et,_fnSortingClasses:tt,_fnSortData:nt,_fnSaveState:rt,_fnLoadState:it,_fnSettingsFromNode:at,_fnLog:ot,_fnMap:st,_fnBindAction:lt,_fnCallbackReg:ut,_fnCallbackFire:ft,_fnLengthOverflow:dt,_fnRenderer:ht,_fnDataSource:pt,_fnRowAttributes:ie,_fnExtend:ct,_fnCalculateEnd:function(){}}),((U.fn.dataTable=k).$=U).fn.dataTableSettings=k.settings,U.fn.dataTableExt=k.ext,U.fn.DataTable=function(e){return U(this).dataTable(e).api()},U.each(k,function(e,t){U.fn.DataTable[e]=t}),U.fn.dataTable}),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables"),function(p,e,m,_){"use strict";function t(s,c,l,u,f){return e.$inject=["tElm"],t.$inject=["$scope"],{restrict:"A",scope:{dtOptions:"=",dtColumns:"=",dtColumnDefs:"=",datatable:"@",dtInstance:"="},compile:e,controller:t};function e(e){var o=e[0].innerHTML;return function(t,n,e,r){function i(e,t){e!==t&&r.render(n,r.buildOptionsPromise(),o)}var a=e.dtDisableDeepWatchers?"$watchCollection":"$watch";_.forEach(["dtColumns","dtColumnDefs","dtOptions"],function(e){t[a].call(t,e,i,!0)}),u.showLoading(n,t),r.render(n,r.buildOptionsPromise(),o)}}function t(i){var a;function o(e){_.isFunction(i.dtInstance)?i.dtInstance(e):_.isDefined(i.dtInstance)&&(i.dtInstance=e)}this.buildOptionsPromise=function(){var t=s.defer();return s.all([s.when(i.dtOptions),s.when(i.dtColumns),s.when(i.dtColumnDefs)]).then(function(e){var t,n=e[0],r=e[1],i=e[2];if(f.deleteProperty(n,"$promise"),f.deleteProperty(r,"$promise"),f.deleteProperty(i,"$promise"),_.isDefined(n)&&(t={},_.extend(t,n),_.isArray(r)&&(t.aoColumns=r),_.isArray(i)&&(t.aoColumnDefs=i),t.language&&t.language.url)){var a=s.defer();c.get(t.language.url).success(function(e){a.resolve(e)}),t.language=a.promise}return f.resolveObjectPromises(t,["data","aaData","fnPromise"])}).then(function(e){t.resolve(e)}),t.promise},this.render=function(n,e,r){e.then(function(e){u.preRender(e);var t=i.datatable&&"ng"===i.datatable;a&&a._renderer?a._renderer.withOptions(e).render(n,i,r).then(function(e){o(a=e)}):l.fromOptions(e,t).render(n,i,r).then(function(e){o(a=e)})})}}}function n(n){return{newColumnDef:function(e){if(_.isUndefined(e))throw new Error('The parameter "targets" must be defined! See https://datatables.net/reference/option/columnDefs.targets');var t=Object.create(n.DTColumn);return _.isArray(e)?t.aTargets=e:t.aTargets=[e],t}}}function r(t,n,r){return{compileHtml:function(e){return t(_.element('<div class="'+r+'">'+n.loadingTemplate+"</div>"))(e)},isLoading:function(e){return e.hasClass(r)}}}function i(r){var i=[],n={showLoading:function(e,t){var n=_.element(r.compileHtml(t));e.after(n),e.hide(),n.show()},hideLoading:function(e){e.show();var t=e.next();r.isLoading(t)&&t.remove()},renderDataTable:function(e,t){var n="#"+e.attr("id");m.fn.dataTable.isDataTable(n)&&_.isObject(t)&&(t.destroy=!0);var r=e.DataTable(t),i=e.dataTable(),a={id:e.attr("id"),DataTable:r,dataTable:i};return o(t,a),a},hideLoadingAndRenderDataTable:function(e,t){return n.hideLoading(e),n.renderDataTable(e,t)},registerPlugin:function(e){i.push(e)},postRender:o,preRender:function(t){_.forEach(i,function(e){_.isFunction(e.preRender)&&e.preRender(t)})}};return n;function o(t,n){_.forEach(i,function(e){_.isFunction(e.postRender)&&e.postRender(t,n)})}}function a(c,n,l,u){return{create:function(e){var i,a,o,s=Object.create(n);function t(e,t){a=e,o=t;var n=u.newDTInstance(s),r=l.hideLoadingAndRenderDataTable(e,s.options);return i=r.DataTable,u.copyDTProperties(r,n),c.when(n)}return s.name="DTDefaultRenderer",s.options=e,s.render=t,s.reloadData=function(){},s.changeData=function(){},s.rerender=function(){i.destroy(),l.showLoading(a,o),t(a,o)},s}}}function o(n,m,r,g,i,_,b){return{create:function(e){var c,l,u,f,t,d,h=Object.create(i);return h.name="DTNGRenderer",h.options=e,h.render=function(e,t,n){c=n,u=e,f=t.$parent,d=b.newDTInstance(h);var r=m.defer(),i=e.find("tbody").html(),a=i.match(/^\s*.+?\s+in\s+(\S*)\s*/m);if(!a)throw new Error('Expected expression in form of "_item_ in _collection_[ track by _id_]" but got "{0}".',i);var o=a[1],s=!1;return f.$watchCollection(o,function(){l&&s&&p(),g(function(){s=!0,_.preRender(h.options);var e=_.hideLoadingAndRenderDataTable(u,h.options);l=e.DataTable,b.copyDTProperties(e,d),r.resolve(d)},0,!1)},!0),r.promise},h.reloadData=function(){n.warn("The Angular Renderer does not support reloading data. You need to do it directly on your model")},h.changeData=function(){n.warn("The Angular Renderer does not support changing the data. You need to change your model directly.")},h.rerender=function(){p(),_.showLoading(u,f),_.preRender(e),g(function(){var e=_.hideLoadingAndRenderDataTable(u,h.options);l=e.DataTable,b.copyDTProperties(e,d)},0,!1)},h;function p(){t&&t.$destroy(),l.ngDestroy(),u.html(c),t=f.$new(),r(u.contents())(t)}}}}function s(p,m,l,n,g,u){return{create:function(e){var i,f,r,a,d=null,h=Object.create(n);return h.name="DTPromiseRenderer",h.options=e,h.render=t,h.reloadData=function(t,n){var r=i&&i.page()?i.page():0;_.isFunction(h.options.fnPromise)?o(h.options.fnPromise,c).then(function(e){_.isFunction(t)&&t(e.DataTable.data()),!1===n&&e.DataTable.page(r).draw(!1)}):l.warn("In order to use the reloadData functionality with a Promise renderer, you need to provide a function that returns a promise.")},h.changeData=function(e){h.options.fnPromise=e,r.dtOptions.fnPromise=e,o(h.options.fnPromise,c)},h.rerender=function(){i.destroy(),g.showLoading(f,r),g.preRender(e),t(f,r)},h;function t(e,t){var n=p.defer();return a=u.newDTInstance(h),f=e,r=t,o(h.options.fnPromise,g.renderDataTable).then(function(e){i=e.DataTable,u.copyDTProperties(e,a),n.resolve(a)}),n.promise}function o(e,t){var n=p.defer();if(_.isUndefined(e))throw new Error("You must provide a promise or a function that returns a promise!");return d?d.then(function(){n.resolve(s(e,t))}):n.resolve(s(e,t)),n.promise}function s(e,l){var u=p.defer();return(d=_.isFunction(e)?e():e).then(function(e){var t,n,r,i,a,o=e;if(h.options.sAjaxDataProp)for(var s=h.options.sAjaxDataProp.split(".");s.length;){var c=s.shift();c in o&&(o=o[c])}d=null,u.resolve((t=h.options,n=f,r=o,i=l,a=p.defer(),delete r.$promise,t.aaData=r,m(function(){g.hideLoading(n),t.bDestroy=!0,a.resolve(i(n,t))},0,!1),a.promise))}),u.promise}function c(e,t){return i.clear(),i.rows.add(t.aaData).draw(t.redraw),{id:a.id,DataTable:a.DataTable,dataTable:a.dataTable}}}}}function c(c,l,n,u,f,d){return{create:function(e){var i,a,o,s=Object.create(n);return s.name="DTAjaxRenderer",s.options=e,s.render=t,s.reloadData=function(e,t){i&&i.ajax.reload(e,t)},s.changeData=function(e){s.options.ajax=e,o.dtOptions.ajax=e},s.rerender=function(){u.preRender(e),t(a,o)},s;function t(e,t){a=e,o=t;var n=c.defer(),r=d.newDTInstance(s);return _.isUndefined(s.options.sAjaxDataProp)&&(s.options.sAjaxDataProp=f.sAjaxDataProp),_.isUndefined(s.options.aoColumns)&&(s.options.aoColumns=f.aoColumns),function(e,t){var n=c.defer();e.bDestroy=!0,i&&(i.destroy(),u.showLoading(a,o),t.empty());u.hideLoading(t),r=e,_.isDefined(r)&&_.isDefined(r.dom)&&0<=r.dom.indexOf("S")?l(function(){n.resolve(u.renderDataTable(t,e))},0,!1):n.resolve(u.renderDataTable(t,e));var r;return n.promise}(s.options,e).then(function(e){i=e.DataTable,d.copyDTProperties(e,r),n.resolve(r)}),n.promise}}}}function l(n,r,i,a){return{fromOptions:function(e,t){if(t){if(e&&e.serverSide)throw new Error("You cannot use server side processing along with the Angular renderer!");return r.create(e)}if(_.isDefined(e)){if(_.isDefined(e.fnPromise)&&null!==e.fnPromise){if(e.serverSide)throw new Error("You cannot use server side processing along with the Promise renderer!");return i.create(e)}return _.isDefined(e.ajax)&&null!==e.ajax||_.isDefined(e.ajax)&&null!==e.ajax?a.create(e):n.create(e)}return n.create()}}}function u(s){return{overrideProperties:function e(t,n){var r=_.copy(t);(_.isUndefined(r)||null===r)&&(r={});if(_.isUndefined(n)||null===n)return r;if(_.isObject(n))for(var i in n)n.hasOwnProperty(i)&&(r[i]=e(r[i],n[i]));else r=_.copy(n);return r},deleteProperty:function(e,t){_.isObject(e)&&delete e[t]},resolveObjectPromises:i,resolveArrayPromises:c};function i(e,t){var r=s.defer(),n=[],i={},a=t||[];if(!_.isObject(e)||_.isArray(e))r.resolve(e);else{for(var o in i=_.extend(i,e))i.hasOwnProperty(o)&&-1===m.inArray(o,a)&&(_.isArray(i[o])?n.push(c(i[o])):n.push(s.when(i[o])));s.all(n).then(function(e){var t=0;for(var n in i)i.hasOwnProperty(n)&&-1===m.inArray(n,a)&&(i[n]=e[t++]);r.resolve(i)})}return r.promise}function c(e){var t=s.defer(),n=[],r=[];return _.isArray(e)?(_.forEach(e,function(e){_.isObject(e)?n.push(i(e)):n.push(s.when(e))}),s.all(n).then(function(e){_.forEach(e,function(e){r.push(e)}),t.resolve(r)})):t.resolve(e),t.promise}}_.module("datatables.directive",["datatables.instances","datatables.renderer","datatables.options","datatables.util"]).directive("datatable",t),t.$inject=["$q","$http","DTRendererFactory","DTRendererService","DTPropertyUtil"],_.module("datatables.factory",[]).factory("DTOptionsBuilder",function(){var n={withOption:function(e,t){return _.isString(e)&&(this[e]=t),this},withSource:function(e){return this.ajax=e,this},withDataProp:function(e){return this.sAjaxDataProp=e,this},withFnServerData:function(e){if(!_.isFunction(e))throw new Error("The parameter must be a function");return this.fnServerData=e,this},withPaginationType:function(e){if(!_.isString(e))throw new Error("The pagination type must be provided");return this.sPaginationType=e,this},withLanguage:function(e){return this.language=e,this},withLanguageSource:function(e){return this.withLanguage({url:e})},withDisplayLength:function(e){return this.iDisplayLength=e,this},withFnPromise:function(e){return this.fnPromise=e,this},withDOM:function(e){return this.dom=e,this}};return{newOptions:function(){return Object.create(n)},fromSource:function(e){var t=Object.create(n);return t.ajax=e,t},fromFnPromise:function(e){var t=Object.create(n);return t.fnPromise=e,t}}}).factory("DTColumnBuilder",function(){var r={withOption:function(e,t){return _.isString(e)&&(this[e]=t),this},withTitle:function(e){return this.sTitle=e,this},withClass:function(e){return this.sClass=e,this},notVisible:function(){return this.bVisible=!1,this},notSortable:function(){return this.bSortable=!1,this},renderWith:function(e){return this.mRender=e,this}};return{newColumn:function(e,t){if(_.isUndefined(e))throw new Error('The parameter "mData" is not defined!');var n=Object.create(r);return n.mData=e,_.isDefined(t)&&(n.sTitle=t),n},DTColumn:r}}).factory("DTColumnDefBuilder",n).factory("DTLoadingTemplate",r),n.$inject=["DTColumnBuilder"],r.$inject=["$compile","DTDefaultOptions","DT_LOADING_CLASS"],_.module("datatables.instances",["datatables.util"]).factory("DTInstanceFactory",function(){var n={reloadData:function(e,t){this._renderer.reloadData(e,t)},changeData:function(e){this._renderer.changeData(e)},rerender:function(){this._renderer.rerender()}};return{newDTInstance:function(e){var t=Object.create(n);return t._renderer=e,t},copyDTProperties:function(e,t){t.id=e.id,t.DataTable=e.DataTable,t.dataTable=e.dataTable}}}),_.module("datatables",["datatables.directive","datatables.factory"]).run(function(){m.fn.DataTable.Api&&m.fn.DataTable.Api.register("ngDestroy()",function(h){return h=h||!1,this.iterator("table",function(t){var n,e=t.nTableWrapper.parentNode,r=t.oClasses,i=t.nTable,a=t.nTBody,o=t.nTHead,s=t.nTFoot,c=m(i),l=m(a),u=m(t.nTableWrapper),f=m.map(t.aoData,function(e){return e.nTr});t.bDestroying=!0,m.fn.DataTable.ext.internal._fnCallbackFire(t,"aoDestroyCallback","destroy",[t]),h||new m.fn.DataTable.Api(t).columns().visible(!0),u.unbind(".DT").find(":not(tbody *)").unbind(".DT"),m(p).unbind(".DT-"+t.sInstance),i!==o.parentNode&&(c.children("thead").detach(),c.append(o)),s&&i!==s.parentNode&&(c.children("tfoot").detach(),c.append(s)),c.detach(),u.detach(),t.aaSorting=[],t.aaSortingFixed=[],m.fn.DataTable.ext.internal._fnSortingClasses(t),m(f).removeClass(t.asStripeClasses.join(" ")),m("th, td",o).removeClass(r.sSortable+" "+r.sSortableAsc+" "+r.sSortableDesc+" "+r.sSortableNone),t.bJUI&&(m("th span."+r.sSortIcon+", td span."+r.sSortIcon,o).detach(),m("th, td",o).each(function(){var e=m("div."+r.sSortJUIWrapper,this);m(this).append(e.contents()),e.detach()})),!h&&e&&(e.contains(t.nTableReinsertBefore)?e.insertBefore(i,t.nTableReinsertBefore):e.appendChild(i)),c.css("width",t.sDestroyWidth).removeClass(r.sTable),(n=t.asDestroyStripes.length)&&l.children().each(function(e){m(this).addClass(t.asDestroyStripes[e%n])});var d=m.inArray(t,m.fn.DataTable.settings);-1!==d&&m.fn.DataTable.settings.splice(d,1)})})}),_.module("datatables.options",[]).constant("DT_DEFAULT_OPTIONS",{sAjaxDataProp:"",aoColumns:[]}).constant("DT_LOADING_CLASS","dt-loading").service("DTDefaultOptions",function(){var t={loadingTemplate:"<h3>Loading...</h3>",bootstrapOptions:{},setLoadingTemplate:function(e){return t.loadingTemplate=e,t},setLanguageSource:function(e){return m.ajax({dataType:"json",url:e,success:function(e){m.extend(!0,m.fn.DataTable.defaults,{language:e})}}),t},setLanguage:function(e){return m.extend(!0,m.fn.DataTable.defaults,{language:e}),t},setDisplayLength:function(e){return m.extend(m.fn.DataTable.defaults,{displayLength:e}),t},setBootstrapOptions:function(e){return t.bootstrapOptions=e,t},setDOM:function(e){return m.extend(m.fn.DataTable.defaults,{dom:e}),t}};return t}),_.module("datatables.renderer",["datatables.instances","datatables.factory","datatables.options","datatables.instances"]).factory("DTRendererService",i).factory("DTRenderer",function(){return{withOptions:function(e){return this.options=e,this}}}).factory("DTDefaultRenderer",a).factory("DTNGRenderer",o).factory("DTPromiseRenderer",s).factory("DTAjaxRenderer",c).factory("DTRendererFactory",l),i.$inject=["DTLoadingTemplate"],a.$inject=["$q","DTRenderer","DTRendererService","DTInstanceFactory"],o.$inject=["$log","$q","$compile","$timeout","DTRenderer","DTRendererService","DTInstanceFactory"],s.$inject=["$q","$timeout","$log","DTRenderer","DTRendererService","DTInstanceFactory"],c.$inject=["$q","$timeout","DTRenderer","DTRendererService","DT_DEFAULT_OPTIONS","DTInstanceFactory"],l.$inject=["DTDefaultRenderer","DTNGRenderer","DTPromiseRenderer","DTAjaxRenderer"],_.module("datatables.util",[]).factory("DTPropertyUtil",u),u.$inject=["$q"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.bootstrap"),function(e,y,w,d){"use strict";function t(r,i){var a=!1;return{integrate:function(e,t){if(!a){var n=r.overrideProperties(i.getOptions().ColVis,t?t.ColVis:null);w.fn.DataTable.ColVis&&e(function(){w(".ColVis_MasterButton").attr("class","ColVis_MasterButton "+n.classes.masterButton),w(".ColVis_Button").removeClass("ColVis_Button")}),a=!0}},deIntegrate:function(){a&&w.fn.DataTable.ColVis&&(a=!1)}}}function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withBootstrap=function(){n.hasBootstrap=!0,d.isObject(n.oClasses)?n.oClasses.sPageButtonActive="active":n.oClasses={sPageButtonActive:"active"};return n},n.withBootstrapOptions=function(e){return n.bootstrap=e,n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function r(e,t){var n={preRender:function(e){e&&e.hasBootstrap?t.integrate(e):t.deIntegrate()}};e.registerPlugin(n)}function i(r,i,o,s){var c=!1,l=[],u={};return{integrate:function(e){n=e.bootstrap,c||(u.oStdClasses=d.copy(w.fn.dataTableExt.oStdClasses),u.fnPagingInfo=w.fn.dataTableExt.oApi.fnPagingInfo,u.renderer=d.copy(w.fn.DataTable.ext.renderer),w.fn.DataTable.TableTools&&(u.TableTools={classes:d.copy(w.fn.DataTable.TableTools.classes),oTags:d.copy(w.fn.DataTable.TableTools.DEFAULTS.oTags)}),w.extend(w.fn.dataTableExt.oStdClasses,{sWrapper:"dataTables_wrapper form-inline",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sFilter:"dataTables_filter",sLength:"dataTables_length"}),w.fn.dataTableExt.oApi.fnPagingInfo=function(e){return{iStart:e._iDisplayStart,iEnd:e.fnDisplayEnd(),iLength:e._iDisplayLength,iTotal:e.fnRecordsTotal(),iFilteredTotal:e.fnRecordsDisplay(),iPage:-1===e._iDisplayLength?0:Math.ceil(e._iDisplayStart/e._iDisplayLength),iTotalPages:-1===e._iDisplayLength?0:Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength)}},a=n,w.extend(!0,w.fn.DataTable.ext.renderer,{pageButton:{_:function(l,e,u,t,f,d){var h,p,m=l.oClasses,g=l.language?l.language.oPaginate:l.oLanguage.oPaginate,_=0,n=s.overrideProperties(o.getOptions().pagination,a?a.pagination:null),b=w("<ul></ul>",{class:n.classes.ul}),v=function(e,t){var n,r,i,a,o=function(e){e.preventDefault(),w.fn.DataTable.ext.internal._fnPageChange(l,e.data.action,!0)};for(n=0,r=t.length;n<r;n++)if(a=t[n],w.isArray(a)){a.DT_el="li";var s=w("<"+(a.DT_el||"div")+"/>").appendTo(b);v(s,a)}else{p=h="";var c=w("<li></li>");switch(a){case"ellipsis":b.append('<li class="disabled"><a href="#" onClick="event.preventDefault()">…</a></li>');break;case"first":h=g.sFirst,p=a,f<=0&&c.addClass(m.sPageButtonDisabled);break;case"previous":h=g.sPrevious,p=a,f<=0&&c.addClass(m.sPageButtonDisabled);break;case"next":h=g.sNext,p=a,d-1<=f&&c.addClass(m.sPageButtonDisabled);break;case"last":h=g.sLast,p=a,d-1<=f&&c.addClass(m.sPageButtonDisabled);break;default:h=a+1,p="",f===a&&c.addClass(m.sPageButtonActive)}h&&(c.appendTo(b),i=w("<a>",{href:"#",class:p,"aria-controls":l.sTableId,"data-dt-idx":_,tabindex:l.iTabIndex,id:0===u&&"string"==typeof a?l.sTableId+"_"+a:null}).html(h).appendTo(c),w.fn.DataTable.ext.internal._fnBindAction(i,{action:a},o),_++)}};try{var r=w(y.activeElement).data("dt-idx"),i=w(e).empty();b.appendTo(i),v(i,t),null!==r&&w(e).find("[data-dt-idx="+r+"]").focus()}catch(e){}}}}),f(function(){w("div.dataTables_filter").find("input").addClass("form-control"),w("div.dataTables_length").find("select").addClass("form-control")}),c=!0),r.integrate(e.bootstrap),i.integrate(f,e.bootstrap),e.dom=(t=e,t.dom&&t.dom!==w.fn.dataTable.defaults.sDom?t.dom:o.getOptions().dom),d.isUndefined(e.fnDrawCallback)&&(e.fnDrawCallback=function(){for(var e=0;e<l.length;e++)l[e]()});var t;var n,a},deIntegrate:function(){c&&(w.extend(w.fn.dataTableExt.oStdClasses,u.oStdClasses),w.fn.dataTableExt.oApi.fnPagingInfo=u.fnPagingInfo,w.extend(!0,w.fn.DataTable.ext.renderer,u.renderer),r.deIntegrate(),i.deIntegrate(),c=!1)}};function f(e){d.isFunction(e)&&l.push(e)}}function a(e,t,n){return{getOptions:function(){return t.overrideProperties(n,e.bootstrapOptions)}}}function o(n,r){var i=!1,a={};return{integrate:function(e){if(!i){if(w.fn.DataTable.TableTools&&(a.TableTools={classes:d.copy(w.fn.DataTable.TableTools.classes),oTags:d.copy(w.fn.DataTable.TableTools.DEFAULTS.oTags)}),w.fn.DataTable.TableTools){var t=n.overrideProperties(r.getOptions().TableTools,e?e.TableTools:null);w.extend(!0,w.fn.DataTable.TableTools.classes,t.classes),w.extend(!0,w.fn.DataTable.TableTools.DEFAULTS.oTags,t.DEFAULTS.oTags)}i=!0}},deIntegrate:function(){i&&w.fn.DataTable.TableTools&&a.TableTools&&(w.extend(!0,w.fn.DataTable.TableTools.classes,a.TableTools.classes),w.extend(!0,w.fn.DataTable.TableTools.DEFAULTS.oTags,a.TableTools.oTags),i=!1)}}}d.module("datatables.bootstrap.colvis",["datatables.bootstrap.options","datatables.util"]).service("DTBootstrapColVis",t),t.$inject=["DTPropertyUtil","DTBootstrapDefaultOptions"],d.module("datatables.bootstrap",["datatables.bootstrap.options","datatables.bootstrap.tabletools","datatables.bootstrap.colvis"]).config(n).run(r).service("DTBootstrap",i),n.$inject=["$provide"],r.$inject=["DTRendererService","DTBootstrap"],i.$inject=["DTBootstrapTableTools","DTBootstrapColVis","DTBootstrapDefaultOptions","DTPropertyUtil"],d.module("datatables.bootstrap.options",["datatables.options","datatables.util"]).constant("DT_BOOTSTRAP_DEFAULT_OPTIONS",{TableTools:{classes:{container:"DTTT btn-group",buttons:{normal:"btn btn-default",disabled:"disabled"},collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info modal"},select:{row:"active"}},DEFAULTS:{oTags:{collection:{container:"ul",button:"li",liner:"a"}}}},ColVis:{classes:{masterButton:"btn btn-default"}},pagination:{classes:{ul:"pagination"}},dom:"<'row'<'col-xs-6'l><'col-xs-6'f>r>t<'row'<'col-xs-6'i><'col-xs-6'p>>"}).factory("DTBootstrapDefaultOptions",a),a.$inject=["DTDefaultOptions","DTPropertyUtil","DT_BOOTSTRAP_DEFAULT_OPTIONS"],d.module("datatables.bootstrap.tabletools",["datatables.bootstrap.options","datatables.util"]).service("DTBootstrapTableTools",o),o.$inject=["DTPropertyUtil","DTBootstrapDefaultOptions"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.colreorder"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withColReorder=function(){n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("R")&&(n.dom="R"+n.dom);return n.hasColReorder=!0,n},n.withColReorderOption=function(e,t){o.isString(e)&&(n.oColReorder=n.oColReorder&&null!==n.oColReorder?n.oColReorder:{},n.oColReorder[e]=t);return n},n.withColReorderOrder=function(e){o.isArray(e)&&n.withColReorderOption("aiOrder",e);return n},n.withColReorderCallback=function(e){{if(!o.isFunction(e))throw new Error("The reorder callback must be a function");n.withColReorderOption("fnReorderCallback",e)}return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}o.module("datatables.colreorder",["datatables"]).config(n),n.$inject=["$provide"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.columnfilter"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withColumnFilter=function(e){n.hasColumnFilter=!0,e&&(n.columnFilterOptions=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function a(e){var t={postRender:function(e,t){e&&e.hasColumnFilter&&t.dataTable.columnFilter(e.columnFilterOptions)}};e.registerPlugin(t)}angular.module("datatables.columnfilter",["datatables"]).config(i).run(a),i.$inject=["$provide"],a.$inject=["DTRendererService"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.light-columnfilter"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withLightColumnFilter=function(e){n.hasLightColumnFilter=!0,e&&(n.lightColumnFilterOptions=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function a(e){var t={postRender:function(e,t){e&&e.hasLightColumnFilter&&new n.fn.dataTable.ColumnFilter(t.DataTable,e.lightColumnFilterOptions)}};e.registerPlugin(t)}angular.module("datatables.light-columnfilter",["datatables"]).config(i).run(a),i.$inject=["$provide"],a.$inject=["DTRendererService"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.colvis"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withColVis=function(){console.warn("The colvis extension has been retired. Please use the button extension instead: https://datatables.net/extensions/buttons/");n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("C")&&(n.dom="C"+n.dom);return n.hasColVis=!0,n},n.withColVisOption=function(e,t){o.isString(e)&&(n.oColVis=n.oColVis&&null!==n.oColVis?n.oColVis:{},n.oColVis[e]=t);return n},n.withColVisStateChange=function(e){{if(!o.isFunction(e))throw new Error("The state change must be a function");n.withColVisOption("fnStateChange",e)}return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}o.module("datatables.colvis",["datatables"]).config(n),n.$inject=["$provide"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.fixedcolumns"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withFixedColumns=function(e){n.fixedColumns=!0,e&&(n.fixedColumns=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}angular.module("datatables.fixedcolumns",["datatables"]).config(i),i.$inject=["$provide"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.fixedheader"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withFixedHeader=function(e){n.hasFixedHeader=!0,e&&(n.fixedHeaderOptions=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function a(e){var t={postRender:function(e,t){e&&e.hasFixedHeader&&new n.fn.dataTable.FixedHeader(t.DataTable,e.fixedHeaderOptions)}};e.registerPlugin(t)}angular.module("datatables.fixedheader",["datatables"]).config(i).run(a),i.$inject=["$provide"],a.$inject=["DTRendererService"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.scroller"),function(e,t,a,n){"use strict";function r(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withScroller=function(){n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("S")&&(n.dom=n.dom+"S");return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}angular.module("datatables.scroller",["datatables"]).config(r),r.$inject=["$provide"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.tabletools"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withTableTools=function(e){console.warn("The tabletools extension has been retired. Please use the select and buttons extensions instead: https://datatables.net/extensions/select/ and https://datatables.net/extensions/buttons/");n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("T")&&(n.dom="T"+n.dom);n.hasTableTools=!0,o.isString(e)&&n.withTableToolsOption("sSwfPath",e);return n},n.withTableToolsOption=function(e,t){o.isString(e)&&(n.oTableTools=n.oTableTools&&null!==n.oTableTools?n.oTableTools:{},n.oTableTools[e]=t);return n},n.withTableToolsButtons=function(e){o.isArray(e)&&n.withTableToolsOption("aButtons",e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}o.module("datatables.tabletools",["datatables"]).config(n),n.$inject=["$provide"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.buttons"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withButtons=function(e){n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("B")&&(n.dom="B"+n.dom);if(o.isUndefined(e))throw new Error("You must define the options for the button extension. See https://datatables.net/reference/option/buttons#Examples for some example");return n.buttons=e,n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function r(e){var t={preRender:function(e){e&&o.isArray(e.buttons)&&(e.buttonsTmp=e.buttons.slice())},postRender:function(e){e&&o.isDefined(e.buttonsTmp)&&(e.buttons=e.buttonsTmp,delete e.buttonsTmp)}};e.registerPlugin(t)}o.module("datatables.buttons",["datatables"]).config(n).run(r),n.$inject=["$provide"],r.$inject=["DTRendererService"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.select"),function(e,t,n,a){"use strict";function r(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withSelect=function(e){if(a.isUndefined(e))throw new Error("You must define the options for the select extension. See https://datatables.net/reference/option/#select");return n.select=e,n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}a.module("datatables.select",["datatables"]).config(r),r.$inject=["$provide"]}(window,document,jQuery,angular),function(v){"use strict";function y(e){e.dataTransfer&&"none"===e.dataTransfer.dropEffect&&("copy"===e.dataTransfer.effectAllowed||"move"===e.dataTransfer.effectAllowed?e.dataTransfer.dropEffect=e.dataTransfer.effectAllowed:"copyMove"!==e.dataTransfer.effectAllowed&&"copymove"!==e.dataTransfer.effectAllowed||(e.dataTransfer.dropEffect=e.ctrlKey?"copy":"move"))}if("ondrag"in document.createElement("a")){window.jQuery&&-1===window.jQuery.event.props.indexOf("dataTransfer")&&window.jQuery.event.props.push("dataTransfer");var e=v.module("ang-drag-drop",[]);e.directive("uiDraggable",["$parse","$rootScope","$dragImage",function(g,_,b){return function(c,l,u){var f,d,h=!1,p=u.draggingClass||"on-dragging";function m(e){setTimeout(function(){l.unbind("$destroy",m)},0);var t=u.dragChannel||"defaultchannel";if(_.$broadcast("ANGULAR_DRAG_END",e,t),y(e),e.dataTransfer&&"none"!==e.dataTransfer.dropEffect)if(u.onDropSuccess){var n=g(u.onDropSuccess);c.$evalAsync(function(){n(c,{$event:e})})}else if(u.onDropFailure){var r=g(u.onDropFailure);c.$evalAsync(function(){r(c,{$event:e})})}l.removeClass(p)}function t(r){if(!h||d.classList.contains(f)){var e=u.dragChannel||"defaultchannel",t="";u.drag&&(t=c.$eval(u.drag));var n=u.dragImage||null;l.addClass(p),l.bind("$destroy",m);var i=!(document.uniqueID||window.opera);if(n&&i){var a=g(u.dragImage);c.$apply(function(){var e=a(c,{$event:r});if(e&&(v.isString(e)&&(e=b.generate(e)),e.image)){var t=e.xOffset||0,n=e.yOffset||0;r.dataTransfer.setDragImage(e.image,t,n)}})}var o={data:t,channel:e},s=v.toJson(o);r.dataTransfer.setData("text",s),r.dataTransfer.effectAllowed="copyMove",_.$broadcast("ANGULAR_DRAG_START",r,e,o)}else r.preventDefault()}l.attr("draggable",!1),c.$watch(u.uiDraggable,function(e){e?(l.attr("draggable",e),l.bind("dragend",m),l.bind("dragstart",t)):(l.removeAttr("draggable"),l.unbind("dragend",m),l.unbind("dragstart",t))}),v.isString(u.dragHandleClass)&&(h=!0,f=u.dragHandleClass.trim()||"drag-handle",l.bind("mousedown",function(e){d=e.target}))}}]),e.directive("uiOnDrop",["$parse","$rootScope",function(b,o){return function(s,c,l){var r=0,u=l.dropChannel||"defaultchannel",f="",d=l.dragEnterClass||"on-drag-enter",n=l.dragHoverClass||"on-drag-hover",i=b(l.onDragEnter),a=b(l.onDragLeave);function h(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation();var t=b(l.uiOnDragOver);return s.$evalAsync(function(){t(s,{$event:e,$channel:u})}),!1}function p(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),0===--r&&(s.$evalAsync(function(){a(s,{$event:e,$channel:u})}),c.addClass(d),c.removeClass(n));var t=b(l.uiOnDragLeave);s.$evalAsync(function(){t(s,{$event:e,$channel:u})})}function m(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),0===r&&(s.$evalAsync(function(){i(s,{$event:e,$channel:u})}),c.removeClass(d),c.addClass(n)),r++;var t=b(l.uiOnDragEnter);s.$evalAsync(function(){t(s,{$event:e,$channel:u})}),o.$broadcast("ANGULAR_HOVER",f)}function g(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation();var t=e.dataTransfer.getData("text");t=v.fromJson(t),y(e);var n=b(l.uiOnDrop);s.$evalAsync(function(){n(s,{$data:t.data,$event:e,$channel:t.channel})}),c.removeClass(d),r=0}function _(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!(e.dataTransfer.dropEffect="none")}var e=o.$on("ANGULAR_DRAG_START",function(e,t,n,r){var i,a,o=!0;(i=f=n,"*"===(a=u)||new RegExp("(\\s|[,])+("+i+")(\\s|[,])+","i").test(","+a+",")||(o=!1),o&&l.dropValidate)&&(o=b(l.dropValidate)(s,{$drop:{scope:s,element:c},$event:t,$data:r.data,$channel:r.channel}));o?(c.bind("dragover",h),c.bind("dragenter",m),c.bind("dragleave",p),c.bind("drop",g),c.addClass(d)):(c.bind("dragover",_),c.bind("dragenter",_),c.bind("dragleave",_),c.bind("drop",_),c.removeClass(d))}),t=o.$on("ANGULAR_DRAG_END",function(){c.unbind("dragover",h),c.unbind("dragenter",m),c.unbind("dragleave",p),c.unbind("drop",g),c.removeClass(n),c.removeClass(d),c.unbind("dragover",_),c.unbind("dragenter",_),c.unbind("dragleave",_),c.unbind("drop",_)});s.$on("$destroy",function(){e(),t()}),l.$observe("dropChannel",function(e){e&&(u=e)})}}]),e.constant("$dragImageConfig",{height:20,width:200,padding:10,font:"bold 11px Arial",fontColor:"#eee8d5",backgroundColor:"#93a1a1",xOffset:0,yOffset:0}),e.service("$dragImage",["$dragImageConfig",function(s){this.generate=function(e,t){var n=v.extend({},s,t||{}),r=document.createElement("canvas");r.height=n.height,r.width=n.width;var i=r.getContext("2d");i.fillStyle=n.backgroundColor,i.fillRect(0,0,n.width,n.height),i.font=n.font,i.fillStyle=n.fontColor;var a=function(e,t,n){var r=e.measureText(t).width;if(r<n.width)return t;for(;r+n.padding>n.width;)t=t.substring(0,t.length-1),r=e.measureText(t+"…").width;return t+"…"}(i,e,n);i.fillText(a,4,n.padding+4);var o=new Image;return o.src=r.toDataURL(),{image:o,xOffset:n.xOffset,yOffset:n.yOffset}}}])}else v.module("ang-drag-drop",[])}(angular),function(e,t){"use strict";var v,h,c,l;function n(){return["$animate",function(d){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link:function(e,r,t,i,n){var a,o,s,c=r[0],l=t.ngMessage||t.when,u=t.ngMessageExp||t.whenExp,f=function(e){a=e?h(e)?e:e.split(/[\s,]+/):null,i.reRender()};u?(f(e.$eval(u)),e.$watchCollection(u,f)):f(l),i.register(c,s={test:function(e){return function(e,t){if(e)return h(e)?0<=e.indexOf(t):e.hasOwnProperty(t)}(a,e)},attach:function(){o||n(function(e,t){d.enter(e,null,r);var n=(o=e).$$attachId=i.getAttachId();o.on("$destroy",function(){o&&o.$$attachId===n&&(i.deregister(c),s.detach()),t.$destroy()})})},detach:function(){if(o){var e=o;o=null,d.leave(e)}}})}}}]}t.module("ngMessages",[],function(){v=t.forEach,h=t.isArray,c=t.isString,l=t.element}).directive("ngMessages",["$animate",function(m){var g="ng-inactive";return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(l,u,f){var d=this,r=0,e=0;this.getAttachId=function(){return e++};var h,p,o=this.messages={};function s(e,t){for(var n=t,r=[];n&&n!==e;){var i=n.$$ngMessageNode;if(i&&i.length)return o[i];n.childNodes.length&&-1===r.indexOf(n)?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n.previousSibling?n=n.previousSibling:(n=n.parentNode,r.push(n))}}this.render=function(e){h=!1,p=e=e||{};for(var t=_(u,f.ngMessagesMultiple)||_(u,f.multiple),n=[],r={},i=d.head,a=!1,o=0;null!=i;){o++;var s=i.message,c=!1;a||v(e,function(e,t){if(!c&&b(e)&&s.test(t)){if(r[t])return;r[t]=!0,c=!0,s.attach()}}),c?a=!t:n.push(s),i=i.next}v(n,function(e){e.detach()}),n.length!==o?m.setClass(l,"ng-active",g):m.setClass(l,g,"ng-active")},u.$watchCollection(f.ngMessages||f.for,d.render),l.on("$destroy",function(){v(o,function(e){e.message.detach()})}),this.reRender=function(){h||(h=!0,u.$evalAsync(function(){h&&p&&d.render(p)}))},this.register=function(e,t){var n=r.toString();o[n]={message:t},function(e,t,n){var r=o[n];if(d.head){var i=s(e,t);i?(r.next=i.next,i.next=r):(r.next=d.head,d.head=r)}else d.head=r}(l[0],e,n),e.$$ngMessageNode=n,r++,d.reRender()},this.deregister=function(e){var t,n,r,i,a=e.$$ngMessageNode;delete e.$$ngMessageNode,t=l[0],n=e,r=o[a],(i=s(t,n))?i.next=r.next:d.head=r.next,delete o[a],d.reRender()}}]};function _(e,t){return c(t)&&0===t.length||b(e.$eval(t))}function b(e){return c(e)?e.length:!!e}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(i,a,o){return{restrict:"AE",require:"^^ngMessages",link:function(t,n,e){var r=e.ngMessagesInclude||e.src;i(r).then(function(e){t.$$destroyed||(c(e)&&!e.trim()?s(n,r):o(e)(t,function(e){n.after(e),s(n,r)}))})}};function s(e,t){var n=o.$$createComment?o.$$createComment("ngMessagesInclude",t):a[0].createComment(" ngMessagesInclude: "+t+" "),r=l(n);e.after(r),e.remove()}}]).directive("ngMessage",n()).directive("ngMessageExp",n())}(window,window.angular),function(G,ie,ae){"use strict";ie.module("ngMaterial",["ng","ngAnimate","ngAria","material.core","material.core.gestures","material.core.layout","material.core.meta","material.core.theming.palette","material.core.theming","material.core.animate","material.components.autocomplete","material.components.backdrop","material.components.bottomSheet","material.components.button","material.components.card","material.components.chips","material.components.checkbox","material.components.colors","material.components.content","material.components.datepicker","material.components.dialog","material.components.divider","material.components.fabActions","material.components.fabShared","material.components.fabSpeedDial","material.components.fabToolbar","material.components.gridList","material.components.icon","material.components.input","material.components.list","material.components.menu","material.components.menuBar","material.components.navBar","material.components.panel","material.components.progressCircular","material.components.progressLinear","material.components.radioButton","material.components.select","material.components.showHide","material.components.sidenav","material.components.slider","material.components.sticky","material.components.subheader","material.components.swipe","material.components.switch","material.components.tabs","material.components.toast","material.components.toolbar","material.components.tooltip","material.components.virtualRepeat","material.components.whiteframe"]),function(){function e(e,t){if(t.has("$swipe")){e.warn("You are using the ngTouch module. \nAngular Material already has mobile click, tap, and swipe support... \nngTouch is not supported with Angular Material!")}}function t(e,t){e.decorator("$$rAF",["$delegate",n]),t.theme("default").primaryPalette("indigo").accentPalette("pink").warnPalette("deep-orange").backgroundPalette("grey")}function n(a){return a.throttle=function(e){var t,n,r,i;return function(){t=arguments,i=this,r=e,n||(n=!0,a(function(){r.apply(i,Array.prototype.slice.call(t)),n=!1}))}},a}e.$inject=["$log","$injector"],t.$inject=["$provide","$mdThemingProvider"],n.$inject=["$delegate"],ie.module("material.core",["ngAnimate","material.core.animate","material.core.layout","material.core.gestures","material.core.theming"]).config(t).run(e)}(),function(){function e(){return{restrict:"A",link:t}}function t(e,t,n){var r=n.mdAutoFocus||n.mdAutofocus||n.mdSidenavFocus;e.$watch(r,function(e){t.toggleClass("md-autofocus",e)})}ie.module("material.core").directive("mdAutofocus",e).directive("mdAutoFocus",e).directive("mdSidenavFocus",e)}(),ie.module("material.core").factory("$mdColorUtil",function(){return{rgbaToHex:function(e){return((e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):"").toUpperCase()},hexToRgba:function(e){var t="#"===e[0]?e.substr(1):e,n=t.length/3,r=t.substr(0,n),i=t.substr(n,n),a=t.substr(2*n);return 1===n&&(r+=r,i+=i,a+=a),"rgba("+parseInt(r,16)+","+parseInt(i,16)+","+parseInt(a,16)+",0.1)"},rgbToRgba:function(e){return e.replace(")",", 0.1)").replace("(","a(")},rgbaToRgb:function(e){return e?e.replace("rgba","rgb").replace(/,[^\),]+\)/,")"):"rgb(0,0,0)"}}}),function(){function e(e,t,n){var r=e.vendorPrefix,i=/webkit/i.test(r),a=/([:\-_]+(.))/g,o=document.createElement("div");function s(e){var t=(r+"-"+e).replace(a,function(e,t,n,r){return r?n.toUpperCase():n}),n=t.charAt(0).toLowerCase()+t.substring(1);return c(e)?e:c(t)?t:c(n)?n:e}function c(e){return ie.isDefined(o.style[e])}var l={isInputKey:function(e){return 31<=e.keyCode&&e.keyCode<=90},isNumPadKey:function(e){return 3===e.location&&97<=e.keyCode&&e.keyCode<=105},isNavigationKey:function(e){var t=l.KEY_CODE;return-1!=[t.SPACE,t.ENTER,t.UP_ARROW,t.DOWN_ARROW].indexOf(e.keyCode)},KEY_CODE:{COMMA:188,SEMICOLON:186,ENTER:13,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,TAB:9,BACKSPACE:8,DELETE:46},CSS:{TRANSITIONEND:"transitionend"+(i?" webkitTransitionEnd":""),ANIMATIONEND:"animationend"+(i?" webkitAnimationEnd":""),TRANSFORM:s("transform"),TRANSFORM_ORIGIN:s("transformOrigin"),TRANSITION:s("transition"),TRANSITION_DURATION:s("transitionDuration"),ANIMATION_PLAY_STATE:s("animationPlayState"),ANIMATION_DURATION:s("animationDuration"),ANIMATION_NAME:s("animationName"),ANIMATION_TIMING:s("animationTimingFunction"),ANIMATION_DIRECTION:s("animationDirection")},MEDIA:{xs:"(max-width: 599px)","gt-xs":"(min-width: 600px)",sm:"(min-width: 600px) and (max-width: 959px)","gt-sm":"(min-width: 960px)",md:"(min-width: 960px) and (max-width: 1279px)","gt-md":"(min-width: 1280px)",lg:"(min-width: 1280px) and (max-width: 1919px)","gt-lg":"(min-width: 1920px)",xl:"(min-width: 1920px)",landscape:"(orientation: landscape)",portrait:"(orientation: portrait)",print:"print"},MEDIA_PRIORITY:["xl","gt-lg","lg","gt-md","md","gt-sm","sm","gt-xs","xs","landscape","portrait","print"]};return l}e.$inject=["$sniffer","$window","$document"],ie.module("material.core").factory("$mdConstant",e)}(),function(){function t(e,s){var c=function(){return!0};e&&!ie.isArray(e)&&(e=Array.prototype.slice.call(e)),s=!!s;var l=e||[];return{items:function(){return[].concat(l)},count:function(){return l.length},inRange:u,contains:t,indexOf:f,itemAt:function(e){return u(e)?l[e]:null},findBy:function(t,n){return l.filter(function(e){return e[t]===n})},add:function(e,t){if(!e)return-1;ie.isNumber(t)||(t=l.length);return l.splice(t,0,e),f(e)},remove:function(e){t(e)&&l.splice(f(e),1)},first:d,last:h,next:ie.bind(null,n,!1),previous:ie.bind(null,n,!0),hasPrevious:function(e){return!!e&&u(f(e)-1)},hasNext:function(e){return!!e&&u(f(e)+1)}};function u(e){return l.length&&-1<e&&e<l.length}function f(e){return l.indexOf(e)}function t(e){return e&&-1<f(e)}function d(){return l.length?l[0]:null}function h(){return l.length?l[l.length-1]:null}function n(e,t,n,r){n=n||c;for(var i=f(t);;){if(!u(i))return null;var a=i+(e?-1:1),o=null;if(u(a)?o=l[a]:s&&(a=f(o=e?h():d())),null===o||a===r)return null;if(n(o))return o;ie.isUndefined(r)&&(r=a),i=a}}}ie.module("material.core").config(["$provide",function(e){e.decorator("$mdUtil",["$delegate",function(e){return e.iterator=t,e}])}])}(),function(){function e(o,t,i){var a={},s={},c={},n={};return e.getResponsiveAttribute=function(e,t){for(var n=0;n<o.MEDIA_PRIORITY.length;n++){var r=o.MEDIA_PRIORITY[n];if(s[a[r]].matches){var i=u(e,t+"-"+r);if(e[i])return e[i]}}return e[u(e,t)]},e.getQuery=function(e){return s[e]},e.watchResponsiveAttributes=function(e,r,i){var a=[];return e.forEach(function(e){var t=u(r,e);for(var n in ie.isDefined(r[t])&&a.push(r.$observe(t,ie.bind(void 0,i,null))),o.MEDIA)t=u(r,e+"-"+n),ie.isDefined(r[t])&&a.push(r.$observe(t,ie.bind(void 0,i,n)))}),function(){a.forEach(function(e){e()})}},e;function e(e){var t,n=a[e];ie.isUndefined(n)&&(n=a[e]=(t=e,o.MEDIA[t]||("("!==t.charAt(0)?"("+t+")":t)));var r=c[n];return ie.isUndefined(r)&&(r=function(e){var t=s[e];t||(t=s[e]=i.matchMedia(e));return t.addListener(l),c[t.media]=!!t.matches}(n)),r}function l(e){t.$evalAsync(function(){c[e.media]=!!e.matches})}function u(e,t){return n[t]||(n[t]=e.$normalize(t))}}e.$inject=["$mdConstant","$rootScope","$window"],ie.module("material.core").factory("$mdMedia",e)}(),function(){function t(e,t){var r=["data","x"];return e?t?n(e):i(e):{buildList:i,buildSelector:n,hasAttribute:function(e,t){if(!(e=a(e)))return!1;for(var n=i(t),r=0;r<n.length;r++)if(e.hasAttribute(n[r]))return!0;return!1},removeAttribute:function(t,e){if(!(t=a(t)))return;i(e).forEach(function(e){t.removeAttribute(e)})}};function i(n){return(n=ie.isArray(n)?n:[n]).forEach(function(t){r.forEach(function(e){n.push(e+"-"+t)})}),n}function n(e){return i(e=ie.isArray(e)?e:[e]).map(function(e){return"["+e+"]"}).join(",")}function a(e){if((e=e[0]||e).nodeType)return e}}ie.module("material.core").config(["$provide",function(e){e.decorator("$mdUtil",["$delegate",function(e){return e.prefixer=t,e}])}])}(),function(){e.$inject=["$document","$timeout","$compile","$rootScope","$$mdAnimate","$interpolate","$log","$rootElement","$window","$$rAF"];var _=0;function e(s,c,n,o,e,t,a,r,l,u){var i=t.startSymbol(),f=t.endSymbol(),d="{{"===i&&"}}"===f,h=function(e,t,n){var r=!1;if(e&&e.length){var i=l.getComputedStyle(e[0]);r=ie.isDefined(i[t])&&(!n||i[t]==n)}return r};function p(e){return e?-1<String(e).indexOf("px")||-1<String(e).indexOf("%")?e:e+"px":"0"}var m={dom:{},now:G.performance?ie.bind(G.performance,G.performance.now):Date.now||function(){return(new Date).getTime()},bidi:function(e,t,n,r){var i=!("rtl"==s[0].dir||"rtl"==s[0].body.dir);if(0==arguments.length)return i?"ltr":"rtl";var a=ie.element(e);i&&ie.isDefined(n)?a.css(t,p(n)):!i&&ie.isDefined(r)&&a.css(t,p(r))},bidiProperty:function(e,t,n,r){var i=!("rtl"==s[0].dir||"rtl"==s[0].body.dir),a=ie.element(e);i&&ie.isDefined(t)?(a.css(t,p(r)),a.css(n,"")):!i&&ie.isDefined(n)&&(a.css(n,p(r)),a.css(t,""))},clientRect:function(e,t,n){var r=g(e);t=g(t||r.offsetParent||document.body);var i=r.getBoundingClientRect(),a=n?t.getBoundingClientRect():{left:0,top:0,width:0,height:0};return{left:i.left-a.left,top:i.top-a.top,width:i.width,height:i.height}},offsetRect:function(e,t){return m.clientRect(e,t,!0)},nodesToArray:function(e){e=e||[];for(var t=[],n=0;n<e.length;++n)t.push(e.item(n));return t},scrollTop:function(e){var t=(e=ie.element(e||s[0].body))[0]==s[0].body?s[0].body:ae;return(t?t.scrollTop+t.parentElement.scrollTop:0)||Math.abs(e[0].getBoundingClientRect().top)},findFocusTarget:function(e,t){var n,r=this.prefixer("md-autofocus",!0);return(n=i(e,t||r))||t==r||(n=i(e,this.prefixer("md-auto-focus",!0)))||(n=i(e,r)),n;function i(e,t){var n,r=e[0].querySelectorAll(t);return r&&r.length&&r.length&&ie.forEach(r,function(e){(e=ie.element(e)).hasClass("md-autofocus")&&(n=e)}),n}},disableScrollAround:function(e,t,r){if(m.disableScrollAround._count=m.disableScrollAround._count||0,++m.disableScrollAround._count,m.disableScrollAround._enableScrolling)return m.disableScrollAround._enableScrolling;var a=s[0].body,n=function(){var e=a.parentNode,t=e.style.cssText||"",n=a.style.cssText||"",r=m.scrollTop(a),i=a.clientWidth;a.scrollHeight>a.clientHeight+1&&(o(a,{position:"fixed",width:"100%",top:-r+"px"}),e.style.overflowY="scroll");a.clientWidth<i&&o(a,{overflow:"hidden"});return function(){a.style.cssText=n,e.style.cssText=t,a.scrollTop=r,e.scrollTop=r}}(),i=function(e){var t;e=ie.element(e||a),r&&r.disableScrollMask?t=e:(e=e[0],t=ie.element('<div class="md-scroll-mask"> <div class="md-scroll-mask-bar"></div></div>'),e.appendChild(t[0]));return t.on("wheel",n),t.on("touchmove",n),function(){t.off("wheel"),t.off("touchmove"),t[0].parentNode.removeChild(t[0]),delete m.disableScrollAround._enableScrolling};function n(e){e.preventDefault()}}(t);return m.disableScrollAround._enableScrolling=function(){--m.disableScrollAround._count||(n(),i(),delete m.disableScrollAround._enableScrolling)};function o(e,t){for(var n in t)e.style[n]=t[n]}},enableScrolling:function(){var e=this.disableScrollAround._enableScrolling;e&&e()},floatingScrollbars:function(){if(this.floatingScrollbars.cached===ae){var e=ie.element("<div><div></div></div>").css({width:"100%","z-index":-1,position:"absolute",height:"35px","overflow-y":"scroll"});e.children().css("height","60px"),s[0].body.appendChild(e[0]),this.floatingScrollbars.cached=e[0].offsetWidth==e[0].childNodes[0].offsetWidth,e.remove()}return this.floatingScrollbars.cached},forceFocus:function(e){var n=e[0]||e;document.addEventListener("click",function e(t){t.target===n&&t.$focus&&(n.focus(),t.stopImmediatePropagation(),t.preventDefault(),n.removeEventListener("click",e))},!0);var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!1,!0,G,{},0,0,0,0,!1,!1,!1,!1,0,null),t.$material=!0,t.$focus=!0,n.dispatchEvent(t)},createBackdrop:function(e,t){return n(m.supplant('<md-backdrop class="{0}">',[t]))(e)},supplant:function(e,a,t){return t=t||/\{([^\{\}]*)\}/g,e.replace(t,function(t,e){var n=e.split("."),r=a;try{for(var i in n)n.hasOwnProperty(i)&&(r=r[n[i]])}catch(e){r=t}return"string"==typeof r||"number"==typeof r?r:t})},fakeNgModel:function(){return{$fake:!0,$setTouched:ie.noop,$setViewValue:function(e){this.$viewValue=e,this.$render(e),this.$viewChangeListeners.forEach(function(e){e()})},$isEmpty:function(e){return 0===(""+e).length},$parsers:[],$formatters:[],$viewChangeListeners:[],$render:ie.noop}},debounce:function(n,r,i,a){var o;return function(){var e=i,t=Array.prototype.slice.call(arguments);c.cancel(o),o=c(function(){o=ae,n.apply(e,t)},r||10,a)}},throttle:function(n,r){var i;return function(){var e=arguments,t=m.now();(!i||r<t-i)&&(n.apply(this,e),i=t)}},time:function(e){var t=m.now();return e(),m.now()-t},valueOnUse:function(e,t,n){var r=null,i=Array.prototype.slice.call(arguments),a=3<i.length?i.slice(3):[];Object.defineProperty(e,t,{get:function(){return null===r&&(r=n.apply(e,a)),r}})},nextUid:function(){return""+_++},disconnectScope:function(e){if(e&&e.$root!==e&&!e.$$destroyed){var t=e.$parent;e.$$disconnected=!0,t.$$childHead===e&&(t.$$childHead=e.$$nextSibling),t.$$childTail===e&&(t.$$childTail=e.$$prevSibling),e.$$prevSibling&&(e.$$prevSibling.$$nextSibling=e.$$nextSibling),e.$$nextSibling&&(e.$$nextSibling.$$prevSibling=e.$$prevSibling),e.$$nextSibling=e.$$prevSibling=null}},reconnectScope:function(e){if(e&&e.$root!==e&&e.$$disconnected){var t=e,n=t.$parent;t.$$disconnected=!1,t.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=t,n.$$childTail=t):n.$$childHead=n.$$childTail=t}},getClosest:function(e,t,n){if(ie.isString(t)){var r=t.toUpperCase();t=function(e){return e.nodeName===r}}if(e instanceof ie.element&&(e=e[0]),n&&(e=e.parentNode),!e)return null;do{if(t(e))return e}while(e=e.parentNode);return null},elementContains:function(t,n){return(G.Node&&G.Node.prototype&&Node.prototype.contains?ie.bind(t,t.contains):ie.bind(t,function(e){return t===n||!!(16&this.compareDocumentPosition(e))}))(n)},extractElementByName:function(e,r,t,n){var i=s(e);return!i&&n&&a.warn(m.supplant("Unable to find node '{0}' in element '{1}'.",[r,e[0].outerHTML])),ie.element(i||e);function s(e){return function(e){if(e)for(var t=0,n=e.length;t<n;t++)if(e[t].nodeName.toLowerCase()===r)return e[t];return null}(e)||(t?function(e){var t;if(e)for(var n=0,r=e.length;n<r;n++){var i=e[n];if(!t)for(var a=0,o=i.childNodes.length;a<o;a++)t=t||s([i.childNodes[a]])}return t}(e):null)}},initOptionalProperties:function(r,i,a){a=a||{},ie.forEach(r.$$isolateBindings,function(e,t){if(e.optional&&ie.isUndefined(r[t])){var n=ie.isDefined(i[e.attrName]);r[t]=ie.isDefined(a[t])?a[t]:n}})},nextTick:function(e,t,n){var r=m.nextTick,i=r.timeout,a=r.queue||[];return a.push({scope:n,callback:e}),null==t&&(t=!0),r.digest=r.digest||t,r.queue=a,i||(r.timeout=c(function(){var e=r.queue,t=r.digest;r.queue=[],r.timeout=null,r.digest=!1,e.forEach(function(e){e.scope&&e.scope.$$destroyed||e.callback()}),t&&o.$digest()},0,!1))},processTemplate:function(e){return d?e:e&&ie.isString(e)?e.replace(/\{\{/g,i).replace(/}}/g,f):e},getParentWithPointerEvents:function(e){for(var t=e.parent();h(t,"pointer-events","none");)t=t.parent();return t},getNearestContentElement:function(e){for(var t=e.parent()[0];t&&t!==r[0]&&t!==document.body&&"MD-CONTENT"!==t.nodeName.toUpperCase();)t=t.parentNode;return t},checkStickySupport:function(){var e,t=ie.element("<div>");s[0].body.appendChild(t[0]);for(var n=["sticky","-webkit-sticky"],r=0;r<n.length;++r)if(t.css({position:n[r],top:0,"z-index":2}),t.css("position")==n[r]){e=n[r];break}return t.remove(),e},parseAttributeBoolean:function(e,t){return""===e||!!e&&(!1===t||"false"!==e&&"0"!==e)},hasComputedStyle:h,isParentFormSubmitted:function(e){var t=m.getClosest(e,"form"),n=t?ie.element(t).controller("form"):null;return!!n&&n.$submitted},animateScrollTo:function(r,i){var a=r.scrollTop,o=i-a,s=a<i,c=m.now();u(function e(){var t=(1e3,n=m.now()-c,function(e,t,n,r){if(r<e)return t+n;var i=(e/=r)*e;return t+n*(i*e*-2+3*i)}(n,a,o,1e3));var n;r.scrollTop=t;(s?t<i:i<t)&&u(e)})}};return m.dom.animator=e(m),m;function g(e){return e[0]||e}}ie.module("material.core").factory("$mdUtil",e),ie.element.prototype.focus=ie.element.prototype.focus||function(){return this.length&&this[0].focus(),this},ie.element.prototype.blur=ie.element.prototype.blur||function(){return this.length&&this[0].blur(),this}}(),function(){function a(r,i,c,a){var o=this.showWarnings;return{expect:s,expectAsync:l,expectWithText:function(e,t){var n=u(e)||"";-1<n.indexOf(a.startSymbol())?l(e,t,function(){return u(e)}):s(e,t,n)},expectWithoutText:function(e,t){var n=u(e);-1<n.indexOf(a.startSymbol())||n||s(e,t,n)}};function s(e,t,n){var r=ie.element(e)[0]||e;!r||r.hasAttribute(t)&&0!==r.getAttribute(t).length||function(e,t){var n=e.hasChildNodes(),r=!1;if(n)for(var i=e.childNodes,a=0;a<i.length;a++){var o=i[a];1===o.nodeType&&o.hasAttribute(t)&&(void 0,"none"!==((s=o).currentStyle?s.currentStyle:c.getComputedStyle(s)).display&&(r=!0))}var s;return r}(r,t)||((n=ie.isString(n)?n.trim():"").length?e.attr(t,n):o&&i.warn('ARIA: Attribute "',t,'", required for accessibility, is missing on node:',r))}function l(e,t,n){r(function(){s(e,t,n())})}function u(t){t=t[0]||t;for(var e,n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1),r="";e=n.nextNode();)i(e)||(r+=e.textContent);return r.trim()||"";function i(e){for(;e.parentNode&&(e=e.parentNode)!==t;)if(e.getAttribute&&"true"===e.getAttribute("aria-hidden"))return!0}}}a.$inject=["$$rAF","$log","$window","$interpolate"],ie.module("material.core").provider("$mdAria",function(){var i=this;return i.showWarnings=!0,{disableWarnings:function(){i.showWarnings=!1},$get:["$$rAF","$log","$window","$interpolate",function(e,t,n,r){return a.apply(i,arguments)}]}})}(),function(){function e(a,o,f,d,h){this.compile=function(t){var e=t.templateUrl,n=t.template||"",s=t.controller,c=t.controllerAs,r=ie.extend({},t.resolve||{}),i=ie.extend({},t.locals||{}),l=t.transformTemplate||ie.identity,u=t.bindToController;return ie.forEach(r,function(e,t){ie.isString(e)?r[t]=f.get(e):r[t]=f.invoke(e)}),ie.extend(r,i),r.$template=e?o(e).then(function(e){return e}):a.when(n),a.all(r).then(function(r){var i,e=l(r.$template,t),a=t.element||ie.element("<div>").html(e.trim()).contents(),o=d(a);return i={locals:r,element:a,link:function(e){if(r.$scope=e,s){var t=h(s,r,!0,c);u&&ie.extend(t.instance,r);var n=t();a.data("$ngControllerController",n),a.children().data("$ngControllerController",n),i.controller=n}return o(e)}}})}}e.$inject=["$q","$templateRequest","$injector","$compile","$controller"],ie.module("material.core").service("$mdCompiler",e)}(),function(){i.$inject=["$$MdGestureHandler","$$rAF","$timeout"];var a,r,u={},f=!(n.$inject=["$mdGesture","$$MdGestureHandler"]),o=null,s=!1;function e(){}function i(r,e,n){var t=navigator.userAgent||navigator.vendor||G.opera,i=t.match(/ipad|iphone|ipod/i),a=t.match(/android/i),o=function(){for(var e=document.createElement("div"),t=["","webkit","Moz","MS","ms","o"],n=0;n<t.length;n++){var r=t[n],i=r?r+"TouchAction":"touchAction";if(ie.isDefined(e.style[i]))return i}}(),s=void 0!==G.jQuery&&ie.element===G.jQuery,c={handler:function(e,t){var n=new r(e);return ie.extend(n,t),u[e]=n,c},register:function(e,t,n){var r=u[t.replace(/^\$md./,"")];if(r)return r.registerElement(e,n);throw new Error("Failed to register element with handler "+t+". Available handlers: "+Object.keys(u).join(", "))},isIos:i,isAndroid:a,isHijackingClicks:(i||a)&&!s&&!f};if(c.isHijackingClicks){c.handler("click",{options:{maxDistance:6},onEnd:l("click")}),c.handler("focus",{options:{maxDistance:6},onEnd:function(e,t){var n;t.distance<this.state.options.maxDistance&&"-1"!=(n=e.target).getAttribute("tabindex")&&!n.hasAttribute("DISABLED")&&(n.hasAttribute("tabindex")||n.hasAttribute("href")||n.isContentEditable||-1!=["INPUT","SELECT","BUTTON","TEXTAREA","VIDEO","AUDIO"].indexOf(n.nodeName))&&(this.dispatchEvent(e,"focus",t),e.target.focus())}}),c.handler("mouseup",{options:{maxDistance:6},onEnd:l("mouseup")}),c.handler("mousedown",{onStart:function(e){this.dispatchEvent(e,"mousedown")}})}function l(n){return function(e,t){t.distance<this.state.options.maxDistance&&this.dispatchEvent(e,n,t)}}return c.handler("press",{onStart:function(e,t){this.dispatchEvent(e,"$md.pressdown")},onEnd:function(e,t){this.dispatchEvent(e,"$md.pressup")}}).handler("hold",{options:{maxDistance:6,delay:500},onCancel:function(){n.cancel(this.state.timeout)},onStart:function(e,t){if(!this.state.registeredParent)return this.cancel();this.state.pos={x:t.x,y:t.y},this.state.timeout=n(ie.bind(this,function(){this.dispatchEvent(e,"$md.hold"),this.cancel()}),this.state.options.delay,!1)},onMove:function(e,t){o||"touchmove"!==e.type||e.preventDefault();var n=this.state.pos.x-t.x,r=this.state.pos.y-t.y;Math.sqrt(n*n+r*r)>this.options.maxDistance&&this.cancel()},onEnd:function(){this.onCancel()}}).handler("drag",{options:{minDistance:6,horizontal:!0,cancelMultiplier:1.5},onSetup:function(e,t){o&&(this.oldTouchAction=e[0].style[o],e[0].style[o]=!1===t.horizontal?"pan-y":"pan-x")},onCleanup:function(e){this.oldTouchAction&&(e[0].style[o]=this.oldTouchAction)},onStart:function(e){this.state.registeredParent||this.cancel()},onMove:function(e,t){var n,r;o||"touchmove"!==e.type||e.preventDefault(),this.state.dragPointer?this.dispatchDragMove(e):(r=this.state.options.horizontal?(n=Math.abs(t.distanceX)>this.state.options.minDistance,Math.abs(t.distanceY)>this.state.options.minDistance*this.state.options.cancelMultiplier):(n=Math.abs(t.distanceY)>this.state.options.minDistance,Math.abs(t.distanceX)>this.state.options.minDistance*this.state.options.cancelMultiplier),n?(this.state.dragPointer=d(e),h(e,this.state.dragPointer),this.dispatchEvent(e,"$md.dragstart",this.state.dragPointer)):r&&this.cancel())},dispatchDragMove:e.throttle(function(e){this.state.isRunning&&(h(e,this.state.dragPointer),this.dispatchEvent(e,"$md.drag",this.state.dragPointer))}),onEnd:function(e,t){this.state.dragPointer&&(h(e,this.state.dragPointer),this.dispatchEvent(e,"$md.dragend",this.state.dragPointer))}}).handler("swipe",{options:{minVelocity:.65,minDistance:10},onEnd:function(e,t){var n;Math.abs(t.velocityX)>this.state.options.minVelocity&&Math.abs(t.distanceX)>this.state.options.minDistance?(n="left"==t.directionX?"$md.swipeleft":"$md.swiperight",this.dispatchEvent(e,n)):Math.abs(t.velocityY)>this.state.options.minVelocity&&Math.abs(t.distanceY)>this.state.options.minDistance&&(n="up"==t.directionY?"$md.swipeup":"$md.swipedown",this.dispatchEvent(e,n))}})}function t(e){this.name=e,this.state={}}function n(e,i){function t(e){!e.clientX&&!e.clientY||e.$material||e.isIonicTap||l(e)||(e.preventDefault(),e.stopPropagation())}document.contains||(document.contains=function(e){return document.body.contains(e)}),!s&&e.isHijackingClicks&&(document.addEventListener("click",function(e){0===e.clientX&&0===e.clientY||e.$material||e.isIonicTap||l(e)?(o=null,"label"==e.target.tagName.toLowerCase()&&(o={x:e.x,y:e.y})):(e.preventDefault(),e.stopPropagation(),o=null)},!0),document.addEventListener("mouseup",t,!0),document.addEventListener("mousedown",t,!0),document.addEventListener("focus",t,!0),s=!0);function n(e,t){var n;for(var r in u)(n=u[r])instanceof i&&("start"===e&&n.cancel(),n[e](t,a))}ie.element(document).on("mousedown touchstart pointerdown",function(e){if(a)return;var t=+Date.now();if(r&&!c(e,r)&&t-r.endTime<1500)return;a=d(e),n("start",e)}).on("mousemove touchmove pointermove",function(e){if(!a||!c(e,a))return;h(e,a),n("move",e)}).on("mouseup mouseleave touchend touchcancel pointerup pointercancel",function(e){if(!a||!c(e,a))return;h(e,a),a.endTime=+Date.now(),n("end",e),r=a,a=null}).on("$$mdGestureReset",function(){r=a=null})}function d(e){var t=p(e),n={startTime:+Date.now(),target:e.target,type:e.type.charAt(0)};return n.startX=n.x=t.pageX,n.startY=n.y=t.pageY,n}function c(e,t){return e&&t&&e.type.charAt(0)===t.type}function l(e){return o&&o.x==e.x&&o.y==e.y}function h(e,t){var n=p(e),r=t.x=n.pageX,i=t.y=n.pageY;t.distanceX=r-t.startX,t.distanceY=i-t.startY,t.distance=Math.sqrt(t.distanceX*t.distanceX+t.distanceY*t.distanceY),t.directionX=0<t.distanceX?"right":t.distanceX<0?"left":"",t.directionY=0<t.distanceY?"down":t.distanceY<0?"up":"",t.duration=+Date.now()-t.startTime,t.velocityX=t.distanceX/t.duration,t.velocityY=t.distanceY/t.duration}function p(e){return(e=e.originalEvent||e).touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0]||e}ie.module("material.core.gestures",[]).provider("$mdGesture",e).factory("$$MdGestureHandler",function(){var e=void 0!==G.jQuery&&ie.element===G.jQuery;return t.prototype={options:{},dispatchEvent:e?function(e,t,n){n=n||a;var r=new ie.element.Event(t);r.$material=!0,r.pointer=n,r.srcEvent=e,ie.extend(r,{clientX:n.x,clientY:n.y,screenX:n.x,screenY:n.y,pageX:n.x,pageY:n.y,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey,metaKey:e.metaKey}),ie.element(n.target).trigger(r)}:function(e,t,n){var r;n=n||a,"click"===t||"mouseup"==t||"mousedown"==t?(r=document.createEvent("MouseEvents")).initMouseEvent(t,!0,!0,G,e.detail,n.x,n.y,n.x,n.y,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget||null):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,{}),r.$material=!0,r.pointer=n,r.srcEvent=e,n.target.dispatchEvent(r)},onSetup:ie.noop,onCleanup:ie.noop,onStart:ie.noop,onMove:ie.noop,onEnd:ie.noop,onCancel:ie.noop,start:function(e,t){if(!this.state.isRunning){var n=this.getNearestParent(e.target),r=n&&n.$mdGesture[this.name]||{};this.state={isRunning:!0,options:ie.extend({},this.options,r),registeredParent:n},this.onStart(e,t)}},move:function(e,t){this.state.isRunning&&this.onMove(e,t)},end:function(e,t){this.state.isRunning&&(this.onEnd(e,t),this.state.isRunning=!1)},cancel:function(e,t){this.onCancel(e,t),this.state={}},getNearestParent:function(e){for(var t=e;t;){if((t.$mdGesture||{})[this.name])return t;t=t.parentNode}return null},registerElement:function(e,t){var n=this;return e[0].$mdGesture=e[0].$mdGesture||{},e[0].$mdGesture[this.name]=t||{},e.on("$destroy",r),n.onSetup(e,t||{}),r;function r(){delete e[0].$mdGesture[n.name],e.off("$destroy",r),n.onCleanup(e,t||{})}}},t}).run(n),e.prototype={skipClickHijack:function(){return f=!0},$get:["$$MdGestureHandler","$$rAF","$timeout",function(e,t,n){return new i(e,t,n)}]}}(),ie.module("material.core").provider("$$interimElement",function(){return t.$inject=["$document","$q","$$q","$rootScope","$timeout","$rootElement","$animate","$mdUtil","$mdCompiler","$mdTheming","$injector"],e.$get=t,e;function e(i){e.$inject=["$$interimElement","$injector"];var n=["onHide","onShow","onRemove"],a={},l={presets:{}},r={setDefaults:function(e){return l.optionsFactory=e.options,l.methods=(e.methods||[]).concat(n),r},addPreset:function(e,t){if((t=t||{}).methods=t.methods||[],t.options=t.options||function(){return{}},/^cancel|hide|show$/.test(e))throw new Error("Preset '"+e+"' in "+i+" is reserved!");if(-1<t.methods.indexOf("_options"))throw new Error("Method '_options' in "+i+" is reserved!");return l.presets[e]={methods:t.methods.concat(n),optionsFactory:t.options,argOption:t.argOption},r},addMethod:function(e,t){return a[e]=t,r},$get:e};return r.addPreset("build",{methods:["controller","controllerAs","resolve","template","templateUrl","themable","transformTemplate","parent"]}),r;function e(e,r){var o,t,n=e(),s={hide:n.hide,cancel:n.cancel,show:function(e){return(e=e||{})._options&&(e=e._options),n.show(ie.extend({},t,e))},destroy:function(e){return n.destroy(e)}};return o=l.methods||[],t=c(l.optionsFactory,{}),ie.forEach(a,function(e,t){s[t]=e}),ie.forEach(l.presets,function(t,n){var r=c(t.optionsFactory,{}),e=(t.methods||[]).concat(o);function i(e){this._options=ie.extend({},r,e)}if(ie.extend(r,{$type:n}),ie.forEach(e,function(t){i.prototype[t]=function(e){return this._options[t]=e,this}}),t.argOption){var a="show"+n.charAt(0).toUpperCase()+n.slice(1);s[a]=function(e){var t=s[n](e);return s.show(t)}}s[n]=function(e){return arguments.length&&t.argOption&&!ie.isObject(e)&&!ie.isArray(e)?(new i)[t.argOption](e):new i(e)}}),s;function c(e,t){var n={};return n[i]=s,r.invoke(e||function(){return t},{},n)}}}function t(d,h,s,t,p,m,r,i,g,_,e){return function(){var f,a=[];return f={show:function(e){var t=new n((e=e||{})||{});return(!e.skipHide&&a.length?f.cancel():h.when(!0)).finally(function(){a.push(t),t.show().catch(function(e){return e})}),t.deferred.promise},hide:function(t,n){if(!a.length)return h.when(t);if((n=n||{}).closeAll){var e=h.all(a.reverse().map(i));return a=[],e}if(n.closeTo!==ae)return h.all(a.splice(n.closeTo).map(i));var r=a.pop();return i(r);function i(e){return e.remove(t,!1,n||{}).catch(function(e){return e}),e.deferred.promise}},cancel:function(e,t){var n=a.pop();return n?(n.remove(e,!0,t||{}).catch(function(e){return e}),n.deferred.promise.catch(ie.noop)):h.when(e)},destroy:function(e){var t=e?null:a.shift(),n=ie.element(e).length?ie.element(e)[0].parentNode:null;if(n){var r=a.filter(function(e){var t=e.options.element[0];return t===n});0<r.length&&(t=r[0],a.splice(a.indexOf(t),1))}return t?t.remove(!1,!1,{$destroy:!0}):h.when(!1)},$injector_:e};function n(c){var a,l,e,u=h.when(!0);return(e=(e=c)||{}).template&&(e.template=i.processTemplate(e.template)),c=ie.extend({preserveScope:!1,cancelAutoHide:ie.noop,scope:e.scope||t.$new(e.isolateScope),onShow:function(e,t,n){return r.enter(t,n.parent)},onRemove:function(e,t){return t&&r.leave(t)||h.when()}},e),a={options:c,deferred:h.defer(),show:function(){return h(function(n,t){var r;function s(e){a.deferred.reject(e),t(e)}c.onCompiling&&c.onCompiling(c),(r=c,(r.skipCompile?null:g.compile(r))||h(function(e){e({locals:{},link:function(){return r.element}})})).then(function(e){var r,i,a,t,o;l=function(e,t){ie.extend(e.locals,t);var n,r,i,a,o=e.link(t.scope);return t.element=o,t.parent=(n=o,a=(r=t).parent,((a=ie.isFunction(a)?a(r.scope,n,r):ie.isString(a)?ie.element(d[0].querySelector(a)):ie.element(a))||{}).length?a:(m[0]&&m[0].querySelector&&(i=m[0].querySelector(":not(svg) > body")),i||(i=m[0]),"#comment"==i.nodeName&&(i=d[0].body),ie.element(i))),t.themable&&_(o),o}(e,c),u=(r=l,i=c,a=e.controller,t=i.onShowing||ie.noop,o=i.onComplete||ie.noop,t(i.scope,r,i,a),h(function(n,t){try{h.when(i.onShow(i.scope,r,i,a)).then(function(){var e,t;o(i.scope,r,i),t=ie.noop,c.hideDelay&&(e=p(f.hide,c.hideDelay),t=function(){p.cancel(e)}),c.cancelAutoHide=function(){t(),c.cancelAutoHide=ae},n(r)},t)}catch(e){t(e.message)}})).then(n,s)},s)})},remove:function(e,t,n){return l?((c=ie.extend(c||{},n||{})).cancelAutoHide&&c.cancelAutoHide(),c.element.triggerHandler("$mdInterimElementRemove"),!0===c.$destroy?o(c.element,c).then(function(){t&&i(e)||r(e)}):(h.when(u).finally(function(){o(c.element,c).then(function(){t&&i(e)||r(e)},i)}),a.deferred.promise)):h.when(!1);function r(e){a.deferred.resolve(e)}function i(e){a.deferred.reject(e)}}};function o(r,i){var a=i.onRemoving||ie.noop;return s(function(e,t){try{var n=s.when(i.onRemove(i.scope,r,i)||!0);a(r,n),1==i.$destroy?e(r):n.then(function(){!i.preserveScope&&i.scope&&i.scope.$destroy(),e(r)},t)}catch(e){t(e)}})}}}}}),function(){var l,s,u,c=/(-gt)?-(sm|md|lg|print)/g,f=/\s+/g,d=["grow","initial","auto","none","noshrink","nogrow"],h=["row","column"],p=["","start","center","end","stretch","space-around","space-between"],m=["","start","center","end","stretch"],g={enabled:!0,breakpoints:[]};function _(){var e=!!document.querySelector("[md-layouts-disabled]");g.enabled=!e}function b(){return g.enabled=!1,{restrict:"A",priority:"900"}}function v(r){return["$mdUtil","$interpolate","$log",function(e,t,n){return l=e,s=t,u=n,{restrict:"A",compile:function(e,t){var n;return g.enabled&&(C(r,T(r,t,""),A(0,r,t)),i(0,e),n=i),n||ie.noop}}}];function i(e,t){t.addClass(r)}}function y(t){var n=t.split("-");return["$log",function(e){return e.warn(t+"has been deprecated. Please use a `"+n[0]+"-gt-<xxx>` variant."),ie.noop}]}function w(e,t,n,r){var i,a=n[0].nodeName.toLowerCase();switch(e.replace(c,"")){case"flex":"md-button"!=a&&"fieldset"!=a||(i="<"+a+" "+e+"></"+a+">",r.warn(l.supplant("Markup '{0}' may not work as expected in IE Browsers. Consult '{1}' for details.",[i,"https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers"])))}}function C(e,t,n){var r,i,a,o=t;if(!S(t)){switch(e.replace(c,"")){case"layout":x(t,h)||(t=h[0]);break;case"flex":x(t,d)||isNaN(t)&&(t="");break;case"flex-offset":case"flex-order":t&&!isNaN(+t)||(t="0");break;case"layout-align":var s=(a={main:"start",cross:"stretch"},0!==(r=(r=t)||"").indexOf("-")&&0!==r.indexOf(" ")||(r="none"+r),(i=r.toLowerCase().trim().replace(f,"-").split("-")).length&&"space"===i[0]&&(i=[i[0]+"-"+i[1],i[2]]),0<i.length&&(a.main=i[0]||a.main),1<i.length&&(a.cross=i[1]||a.cross),p.indexOf(a.main)<0&&(a.main="start"),m.indexOf(a.cross)<0&&(a.cross="stretch"),a);t=l.supplant("{main}-{cross}",s);break;case"layout-padding":case"layout-margin":case"layout-fill":case"layout-wrap":case"layout-nowrap":case"layout-nowrap":t=""}t!=o&&(n||ie.noop)(t)}return t}function A(e,t,n){return function(e){S(e)||(n[n.$normalize(t)]=e)}}function S(e){return-1<(e||"").indexOf(s.startSymbol())}function T(e,t,n){var r=t.$normalize(e);return t[r]?t[r].replace(f,"-"):n||null}function x(t,e,n){t=n&&t?t.replace(f,n):t;var r=!1;return t&&e.forEach(function(e){e=n?e.replace(f,n):e,r=r||e===t}),r}!function(r){var i,t=/^((?:x|data)[\:\-_])/i,n=/([\:\-\_]+(.))/g,e=["layout","flex","flex-order","flex-offset","layout-align"],a=["show","hide","layout-padding","layout-margin"];function o(e){return e.replace(t,"").replace(n,function(e,t,n,r){return r?n.toUpperCase():n})}ie.forEach(["","xs","gt-xs","sm","gt-sm","md","gt-md","lg","gt-lg","xl","print"],function(n){ie.forEach(e,function(e){var t=n?e+"-"+n:e;r.directive(o(t),function(c){return["$mdUtil","$interpolate","$log",function(e,t,n){return l=e,s=t,u=n,{restrict:"A",compile:function(e,t){var n;return g.enabled&&(w(c,0,e,u),C(c,T(c,t,""),A(0,c,t)),n=r),n||ie.noop}}}];function r(e,t,n){var r,i,a,o=(r=t,i=c,function(e){var t=C(i,e||"");ie.isDefined(t)&&(a&&r.removeClass(a),a=t?i+"-"+t.replace(f,"-"):i,r.addClass(a))}),s=n.$observe(n.$normalize(c),o);o(T(c,n,"")),e.$on("$destroy",function(){s()})}}(t))}),ie.forEach(a,function(e){var t=n?e+"-"+n:e;r.directive(o(t),v(t))})}),r.provider("$$mdLayout",function(){return{$get:ie.noop,validateAttributeValue:C,validateAttributeUsage:w,disableLayouts:function(e){g.enabled=!0!==e}}}).directive("mdLayoutCss",b).directive("ngCloak",(i="ng-cloak",["$timeout",function(n){return{restrict:"A",priority:-10,compile:function(e){return g.enabled?(e.addClass(i),function(e,t){n(function(){t.removeClass(i)},10,!1)}):ie.noop}}}])).directive("layoutWrap",v("layout-wrap")).directive("layoutNowrap",v("layout-nowrap")).directive("layoutNoWrap",v("layout-no-wrap")).directive("layoutFill",v("layout-fill")).directive("layoutLtMd",y("layout-lt-md")).directive("layoutLtLg",y("layout-lt-lg")).directive("flexLtMd",y("flex-lt-md")).directive("flexLtLg",y("flex-lt-lg")).directive("layoutAlignLtMd",y("layout-align-lt-md")).directive("layoutAlignLtLg",y("layout-align-lt-lg")).directive("flexOrderLtMd",y("flex-order-lt-md")).directive("flexOrderLtLg",y("flex-order-lt-lg")).directive("offsetLtMd",y("flex-offset-lt-md")).directive("offsetLtLg",y("flex-offset-lt-lg")).directive("hideLtMd",y("hide-lt-md")).directive("hideLtLg",y("hide-lt-lg")).directive("showLtMd",y("show-lt-md")).directive("showLtLg",y("show-lt-lg")).config(_)}(ie.module("material.core.layout",["ng"]))}(),ie.module("material.core.meta",[]).provider("$$mdMeta",function(){var r=ie.element(document.head),i={};function a(e){if(i[e])return!0;var t=document.getElementsByName(e)[0];return!!t&&(i[e]=ie.element(t),!0)}var e={setMeta:function(e,t){if(a(e),i[e])i[e].attr("content",t);else{var n=ie.element('<meta name="'+e+'" content="'+t+'"/>');r.append(n),i[e]=n}return function(){i[e].attr("content",""),i[e].remove(),delete i[e]}},getMeta:function(e){if(!a(e))throw Error("$$mdMeta: could not find a meta tag with the name '"+e+"'");return i[e].attr("content")}};return ie.extend({},e,{$get:function(){return e}})}),function(){function e(n,r){var i,a=[],o={};return i={notFoundError:function(e,t){n.error((t||"")+"No instance found for handle",e)},getInstances:function(){return a},get:function(e){if(!s(e))return null;var t,n,r;for(t=0,n=a.length;t<n;t++)if((r=a[t]).$$mdHandle===e)return r;return null},register:function(t,e){return e?(t.$$mdHandle=e,a.push(t),(n=o[e])&&(n.forEach(function(e){e.resolve(t)}),delete o[e]),function(){var e=a.indexOf(t);-1!==e&&a.splice(e,1)}):ie.noop;var n},when:function(e){if(s(e)){var t=r.defer(),n=i.get(e);return n?t.resolve(n):(o[e]===ae&&(o[e]=[]),o[e].push(t)),t.promise}return r.reject("Invalid `md-component-id` value.")}};function s(e){return e&&""!==e}}e.$inject=["$log","$q"],ie.module("material.core").factory("$mdComponentRegistry",e)}(),function(){function e(i){return{attach:function(e,t,n){var r;return n=ie.extend((r=t).hasClass("md-icon-button")?{isMenuItem:r.hasClass("md-menu-item"),fitRipple:!0,center:!0}:{isMenuItem:r.hasClass("md-menu-item"),dimBackground:!0},n),i.attach(e,t,n)}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdButtonInkRipple",e)}(),function(){function e(r){return{attach:function(e,t,n){return r.attach(e,t,ie.extend({center:!0,dimBackground:!1,fitRipple:!0},n))}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdCheckboxInkRipple",e)}(),function(){function e(r){return{attach:function(e,t,n){return r.attach(e,t,ie.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},n))}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdListInkRipple",e)}(),function(){a.$inject=["$scope","$element","rippleOptions","$window","$timeout","$mdUtil","$mdColorUtil"],e.$inject=["$mdButtonInkRipple","$mdCheckboxInkRipple"],ie.module("material.core").provider("$mdInkRipple",function(){var i=!1;return{disableInkRipple:function(){i=!0},$get:["$injector",function(r){return{attach:function(e,t,n){return i||t.controller("mdNoInk")?ie.noop:r.instantiate(a,{$scope:e,$element:t,rippleOptions:n})}}}]}}).directive("mdInkRipple",e).directive("mdNoInk",n).directive("mdNoBar",n).directive("mdNoStretch",n);function e(r,i){return{controller:ie.noop,link:function(e,t,n){n.hasOwnProperty("mdInkRippleCheckbox")?i.attach(e,t):r.attach(e,t)}}}function a(e,t,n,r,i,a,o){this.$window=r,this.$timeout=i,this.$mdUtil=a,this.$mdColorUtil=o,this.$scope=e,this.$element=t,this.options=n,this.mousedown=!1,this.ripples=[],this.timeout=null,this.lastRipple=null,a.valueOnUse(this,"container",this.createContainer),this.$element.addClass("md-ink-ripple"),(t.controller("mdInkRipple")||{}).createRipple=ie.bind(this,this.createRipple),(t.controller("mdInkRipple")||{}).setColor=ie.bind(this,this.color),this.bindEvents()}function t(e,t){(e.mousedown||e.lastRipple)&&(e.mousedown=!1,e.$mdUtil.nextTick(ie.bind(e,t),!1))}function n(){return{controller:ie.noop}}a.prototype.color=function(e){var t,n,r=this;return ie.isDefined(e)&&(r._color=r._parseColor(e)),r._color||r._parseColor(r.inkRipple())||r._parseColor((t=r.options&&r.options.colorElement?r.options.colorElement:[],(n=t.length?t[0]:r.$element[0])?r.$window.getComputedStyle(n).color:"rgb(0,0,0)"))},a.prototype.calculateColor=function(){return this.color()},a.prototype._parseColor=function(e,t){t=t||1;var n=this.$mdColorUtil;if(e)return 0===e.indexOf("rgba")?e.replace(/\d?\.?\d*\s*\)\s*$/,(.1*t).toString()+")"):0===e.indexOf("rgb")?n.rgbToRgba(e):0===e.indexOf("#")?n.hexToRgba(e):void 0},a.prototype.bindEvents=function(){this.$element.on("mousedown",ie.bind(this,this.handleMousedown)),this.$element.on("mouseup touchend",ie.bind(this,this.handleMouseup)),this.$element.on("mouseleave",ie.bind(this,this.handleMouseup)),this.$element.on("touchmove",ie.bind(this,this.handleTouchmove))},a.prototype.handleMousedown=function(e){if(!this.mousedown)if(e.hasOwnProperty("originalEvent")&&(e=e.originalEvent),this.mousedown=!0,this.options.center)this.createRipple(this.container.prop("clientWidth")/2,this.container.prop("clientWidth")/2);else if(e.srcElement!==this.$element[0]){var t=this.$element[0].getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;this.createRipple(n,r)}else this.createRipple(e.offsetX,e.offsetY)},a.prototype.handleMouseup=function(){t(this,this.clearRipples)},a.prototype.handleTouchmove=function(){t(this,this.deleteRipples)},a.prototype.deleteRipples=function(){for(var e=0;e<this.ripples.length;e++)this.ripples[e].remove()},a.prototype.clearRipples=function(){for(var e=0;e<this.ripples.length;e++)this.fadeInComplete(this.ripples[e])},a.prototype.createContainer=function(){var e=ie.element('<div class="md-ripple-container"></div>');return this.$element.append(e),e},a.prototype.clearTimeout=function(){this.timeout&&(this.$timeout.cancel(this.timeout),this.timeout=null)},a.prototype.isRippleAllowed=function(){var e=this.$element[0];do{if(!e.tagName||"BODY"===e.tagName)break;if(e&&ie.isFunction(e.hasAttribute)){if(e.hasAttribute("disabled"))return!1;if("false"===this.inkRipple()||"0"===this.inkRipple())return!1}}while(e=e.parentNode);return!0},a.prototype.inkRipple=function(){return this.$element.attr("md-ink-ripple")},a.prototype.createRipple=function(e,t){if(this.isRippleAllowed()){var n,r,i,a=this,o=a.$mdColorUtil,s=ie.element('<div class="md-ripple"></div>'),c=this.$element.prop("clientWidth"),l=this.$element.prop("clientHeight"),u=2*Math.max(Math.abs(c-e),e),f=2*Math.max(Math.abs(l-t),t),d=(n=this.options.fitRipple,r=u,i=f,n?Math.max(r,i):Math.sqrt(Math.pow(r,2)+Math.pow(i,2))),h=this.calculateColor();s.css({left:e+"px",top:t+"px",background:"black",width:d+"px",height:d+"px",backgroundColor:o.rgbaToRgb(h),borderColor:o.rgbaToRgb(h)}),this.lastRipple=s,this.clearTimeout(),this.timeout=this.$timeout(function(){a.clearTimeout(),a.mousedown||a.fadeInComplete(s)},157.5,!1),this.options.dimBackground&&this.container.css({backgroundColor:h}),this.container.append(s),this.ripples.push(s),s.addClass("md-ripple-placed"),this.$mdUtil.nextTick(function(){s.addClass("md-ripple-scaled md-ripple-active"),a.$timeout(function(){a.clearRipples()},450,!1)},!1)}},a.prototype.fadeInComplete=function(e){this.lastRipple===e&&(this.timeout||this.mousedown)||this.removeRipple(e)},a.prototype.removeRipple=function(e){var t=this;this.ripples.indexOf(e)<0||(this.ripples.splice(this.ripples.indexOf(e),1),e.removeClass("md-ripple-active"),e.addClass("md-ripple-remove"),0===this.ripples.length&&this.container.css({backgroundColor:""}),this.$timeout(function(){t.fadeOutComplete(e)},450,!1))},a.prototype.fadeOutComplete=function(e){e.remove(),this.lastRipple=null}}(),function(){function e(r){return{attach:function(e,t,n){return r.attach(e,t,ie.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},n))}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdTabInkRipple",e)}(),ie.module("material.core.theming.palette",[]).constant("$mdColorPalette",{red:{50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 A100",contrastStrongLightColors:"400 500 600 700 A200 A400 A700"},pink:{50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"500 600 A200 A400 A700"},purple:{50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200 A400 A700"},"deep-purple":{50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200"},indigo:{50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200 A400"},blue:{50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 400 A100",contrastStrongLightColors:"500 600 700 A200 A400 A700"},"light-blue":{50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea",contrastDefaultColor:"dark",contrastLightColors:"600 700 800 900 A700",contrastStrongLightColors:"600 700 800 A700"},cyan:{50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4",contrastDefaultColor:"dark",contrastLightColors:"700 800 900",contrastStrongLightColors:"700 800 900"},teal:{50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5",contrastDefaultColor:"dark",contrastLightColors:"500 600 700 800 900",contrastStrongLightColors:"500 600 700"},green:{50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853",contrastDefaultColor:"dark",contrastLightColors:"500 600 700 800 900",contrastStrongLightColors:"500 600 700"},"light-green":{50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17",contrastDefaultColor:"dark",contrastLightColors:"700 800 900",contrastStrongLightColors:"700 800 900"},lime:{50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00",contrastDefaultColor:"dark",contrastLightColors:"900",contrastStrongLightColors:"900"},yellow:{50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600",contrastDefaultColor:"dark"},amber:{50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00",contrastDefaultColor:"dark"},orange:{50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00",contrastDefaultColor:"dark",contrastLightColors:"800 900",contrastStrongLightColors:"800 900"},"deep-orange":{50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 400 A100 A200",contrastStrongLightColors:"500 600 700 800 900 A400 A700"},brown:{50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100 A200",contrastStrongLightColors:"300 400"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#ffffff",A200:"#000000",A400:"#303030",A700:"#616161",contrastDefaultColor:"dark",contrastLightColors:"600 700 800 900 A200 A400 A700"},"blue-grey":{50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 A100 A200",contrastStrongLightColors:"400 500 700"}}),function(p){function e(e){var t=!!document.querySelector("[md-themes-disabled]");e.disableTheming(t)}e.$inject=["$mdThemingProvider"],n.$inject=["$mdTheming","$interpolate","$log"],r.$inject=["$mdTheming"],t.$inject=["$mdColorPalette","$$mdMetaProvider"],i.$inject=["$injector","$mdTheming"],p.module("material.core.theming",["material.core.theming.palette","material.core.meta"]).directive("mdTheme",n).directive("mdThemable",r).directive("mdThemesDisabled",function(){return C.disableTheming=!0,{restrict:"A",priority:"900"}}).provider("$mdTheming",t).config(e).run(i);var m,c={},s={name:"dark",1:"rgba(0,0,0,0.87)",2:"rgba(0,0,0,0.54)",3:"rgba(0,0,0,0.38)",4:"rgba(0,0,0,0.12)"},l={name:"light",1:"rgba(255,255,255,1.0)",2:"rgba(255,255,255,0.7)",3:"rgba(255,255,255,0.5)",4:"rgba(255,255,255,0.12)"},u="1px 1px 0px rgba(0,0,0,0.4), -1px -1px 0px rgba(0,0,0,0.4)",g="",f=x("rgba(0,0,0,0.87)"),d=x("rgba(255,255,255,0.87)"),h=x("rgb(255,255,255)"),_=["primary","accent","warn","background"],b="primary",v={accent:{default:"A200","hue-1":"A100","hue-2":"A400","hue-3":"A700"},background:{default:"50","hue-1":"A100","hue-2":"100","hue-3":"300"}},y={background:{default:"A400","hue-1":"800","hue-2":"900","hue-3":"A200"}};_.forEach(function(e){var t={default:"500","hue-1":"300","hue-2":"800","hue-3":"A100"};v[e]||(v[e]=t),y[e]||(y[e]=t)});var w=["50","100","200","300","400","500","600","700","800","900","A100","A200","A400","A700"],C={disableTheming:!1,generateOnDemand:!1,registeredStyles:[],nonce:null};function t(e,c){a.$inject=["$rootScope","$log"];var n,f={},d=!(m={}),h="default";p.extend(m,e);var t=function(e){var t,n,r,i=(e=p.isObject(e)?e:{}).theme||"default",a=e.hue||"800",o=m[e.palette]||m[f[i].colors[e.palette||"primary"].name],s=p.isObject(o[a])?o[a].hex:o[a];return t=s,n=c.setMeta("theme-color",t),r=c.setMeta("msapplication-navbutton-color",t),function(){n(),r()}};return n={definePalette:function(e,t){return t=t||{},m[e]=r(e,t),n},extendPalette:function(e,t){return r(e,p.extend({},m[e]||{},t))},theme:function(e,t){if(f[e])return f[e];var n="string"==typeof(t=t||"default")?f[t]:t,r=new i(e);return n&&p.forEach(n.colors,function(e,t){r.colors[t]={name:e.name,hues:p.extend({},e.hues)}}),f[e]=r},configuration:function(){return p.extend({},C,{defaultTheme:h,alwaysWatchTheme:d,registeredStyles:[].concat(C.registeredStyles)})},disableTheming:function(e){C.disableTheming=p.isUndefined(e)||!!e},registerStyles:function(e){C.registeredStyles.push(e)},setNonce:function(e){C.nonce=e},generateThemesOnDemand:function(e){C.generateOnDemand=e},setDefaultTheme:function(e){h=e},alwaysWatchTheme:function(e){d=e},enableBrowserColor:t,$get:a,_LIGHT_DEFAULT_HUES:v,_DARK_DEFAULT_HUES:y,_PALETTES:m,_THEMES:f,_parseRules:A,_rgba:k};function r(e,t){var n=w.filter(function(e){return!t[e]});if(n.length)throw new Error("Missing colors %1 in palette %2!".replace("%1",n.join(", ")).replace("%2",e));return t}function i(e){var o=this;function t(e){if((e=0===arguments.length||!!e)!==o.isDark){o.isDark=e,o.foregroundPalette=o.isDark?l:s,o.foregroundShadow=o.isDark?u:g;var t=o.isDark?y:v,a=o.isDark?v:y;return p.forEach(t,function(e,t){var n=o.colors[t],r=a[t];if(n)for(var i in n.hues)n.hues[i]===r[i]&&(n.hues[i]=e[i])}),o}}o.name=e,o.colors={},(o.dark=t)(!1),_.forEach(function(r){var i=(o.isDark?y:v)[r];o[r+"Palette"]=function(t,e){var n=o.colors[r]={name:t,hues:p.extend({},i,e)};return Object.keys(n.hues).forEach(function(e){if(!i[e])throw new Error("Invalid hue name '%1' in theme %2's %3 color %4. Available hue names: %4".replace("%1",e).replace("%2",o.name).replace("%3",t).replace("%4",Object.keys(i).join(", ")))}),Object.keys(n.hues).map(function(e){return n.hues[e]}).forEach(function(e){if(-1==w.indexOf(e))throw new Error("Invalid hue value '%1' in theme %2's %3 color %4. Available hue values: %5".replace("%1",e).replace("%2",o.name).replace("%3",r).replace("%4",t).replace("%5",w.join(", ")))}),o},o[r+"Color"]=function(){var e=Array.prototype.slice.call(arguments);return console.warn("$mdThemingProviderTheme."+r+"Color() has been deprecated. Use $mdThemingProviderTheme."+r+"Palette() instead."),o[r+"Palette"].apply(o,e)}})}function a(c,l){var n=function(e,t){t===ae&&(t=e,e=ae),e===ae&&(e=c),n.inherit(t,t)};return n.THEMES=p.extend({},f),n.PALETTES=p.extend({},m),n.inherit=function(n,e){var t,r=e.controller("mdTheme"),i=n.attr("md-theme-watch"),a=(d||p.isDefined(i))&&"false"!=i;function o(){return(r=e.controller("mdTheme")||n.data("$mdThemeController"))&&r.$mdTheme||("default"==h?"":h)}function s(e){if(e){u(e)||l.warn("Attempted to use unregistered theme '"+e+"'. Register it with $mdThemingProvider.theme().");var t=n.data("$mdThemeName");t&&n.removeClass("md-"+t+"-theme"),n.addClass("md-"+e+"-theme"),n.data("$mdThemeName",e),r&&n.data("$mdThemeController",r)}}s(o()),(d&&(!(t=e.controller("mdTheme"))||(n.on("$destroy",t.registerChanges(function(){s(o())})),0))||!d&&a)&&n.on("$destroy",c.$watch(o,s))},n.registered=u,n.defaultTheme=function(){return h},n.generateTheme=function(e){T(f[e],e,C.nonce)},n.setBrowserColor=t,n;function u(e){return e===ae||""===e||n.THEMES[e]!==ae}}}function n(a,o,s){return{priority:100,link:{pre:function(e,t,n){var r=[],i={registerChanges:function(t,e){return e&&(t=p.bind(e,t)),r.push(t),function(){var e=r.indexOf(t);-1<e&&r.splice(e,1)}},$setTheme:function(e){a.registered(e)||s.warn("attempted to use unregistered theme '"+e+"'"),i.$mdTheme=e,r.forEach(function(e){e()})}};t.data("$mdThemeController",i),i.$setTheme(o(n.mdTheme)(e)),n.$observe("mdTheme",i.$setTheme)}}}}function r(e){return e}function A(o,e,n){!function(e,t){if(!m[(e.colors[t]||{}).name])throw new Error("You supplied an invalid color palette for theme %1's %2 palette. Available palettes: %3".replace("%1",e.name).replace("%2",t).replace("%3",Object.keys(m).join(", ")))}(o,e),n=n.replace(/THEME_NAME/g,o.name);var r=[],t=o.colors[e],i=new RegExp("\\.md-"+o.name+"-theme","g"),s=new RegExp("('|\")?{{\\s*("+e+")-(color|contrast)-?(\\d\\.?\\d*)?\\s*}}(\"|')?","g"),c=m[t.name];return n=n.replace(/'?"?\{\{\s*([a-zA-Z]+)-(A?\d+|hue\-[0-3]|shadow|default)-?(\d\.?\d*)?(contrast)?\s*\}\}'?"?/g,function(e,t,n,r,i){return"foreground"===t?"shadow"==n?o.foregroundShadow:o.foregroundPalette[n]||o.foregroundPalette[1]:(0!==n.indexOf("hue")&&"default"!==n||(n=o.colors[t].hues[n]),k((m[o.colors[t].name][n]||"")[i?"contrast":"value"],r))}),p.forEach(t.hues,function(a,e){var t=n.replace(s,function(e,t,n,r,i){return k(c[a]["color"===r?"value":"contrast"],i)});"default"!==e&&(t=t.replace(i,".md-"+o.name+"-theme.md-"+e)),"default"==o.name&&(t=t.replace(/((?:(?:(?: |>|\.|\w|-|:|\(|\)|\[|\]|"|'|=)+) )?)((?:(?:\w|\.|-)+)?)\.md-default-theme((?: |>|\.|\w|-|:|\(|\)|\[|\]|"|'|=)*)/g,function(e,t,n,r){return e+", "+t+n+r})),r.push(t)}),r}var S={};function i(e,t){var n=document.head,r=n?n.firstElementChild:null,i=!C.disableTheming&&e.has("$MD_THEME_CSS")?e.get("$MD_THEME_CSS"):"";if(i+=C.registeredStyles.join(""),r&&0!==i.length){p.forEach(m,function(r,e){var i=r.contrastDefaultColor,a=r.contrastLightColors||[],o=r.contrastStrongLightColors||[],s=r.contrastDarkColors||[];"string"==typeof a&&(a=a.split(" ")),"string"==typeof o&&(o=o.split(" ")),"string"==typeof s&&(s=s.split(" ")),delete r.contrastDefaultColor,delete r.contrastLightColors,delete r.contrastStrongLightColors,delete r.contrastDarkColors,p.forEach(r,function(e,t){if(!p.isObject(e)){var n=x(e);if(!n)throw new Error("Color %1, in palette %2's hue %3, is invalid. Hex or rgb(a) color expected.".replace("%1",e).replace("%2",r.name).replace("%3",t));r[t]={hex:r[t],value:n,contrast:"light"===i?-1<s.indexOf(t)?f:-1<o.indexOf(t)?h:d:-1<a.indexOf(t)?-1<o.indexOf(t)?h:d:f}}})});var a=i.split(/\}(?!(\}|'|"|;))/).filter(function(e){return e&&e.trim().length}).map(function(e){return e.trim()+"}"}),o=new RegExp("md-("+_.join("|")+")","g");_.forEach(function(e){S[e]=""}),a.forEach(function(e){e.match(o);for(var t,n=0;t=_[n];n++)if(-1<e.indexOf(".md-"+t))return S[t]+=e;for(n=0;t=_[n];n++)if(-1<e.indexOf(t))return S[t]+=e;return S[b]+=e}),C.generateOnDemand||p.forEach(t.THEMES,function(e){c[e.name]||"default"!==t.defaultTheme()&&"default"===e.name||T(e,e.name,C.nonce)})}}function T(i,e,a){var o=document.head,s=o?o.firstElementChild:null;c[e]||(_.forEach(function(e){for(var t=A(i,e,S[e]);t.length;){var n=t.shift();if(n){var r=document.createElement("style");r.setAttribute("md-theme-style",""),a&&r.setAttribute("nonce",a),r.appendChild(document.createTextNode(n)),o.insertBefore(r,s)}}}),c[i.name]=!0)}function x(e){if(p.isArray(e)&&3==e.length)return e;if(/^rgb/.test(e))return e.replace(/(^\s*rgba?\(|\)\s*$)/g,"").split(",").map(function(e,t){return 3==t?parseFloat(e,10):parseInt(e,10)});if("#"==e.charAt(0)&&(e=e.substring(1)),/^([a-fA-F0-9]{3}){1,2}$/g.test(e)){var t=e.length/3,n=e.substr(0,t),r=e.substr(t,t),i=e.substr(2*t);return 1===t&&(n+=n,r+=r,i+=i),[parseInt(n,16),parseInt(r,16),parseInt(i,16)]}}function k(e,t){return e?(4==e.length&&(e=p.copy(e),t?e.pop():t=e.pop()),t&&("number"==typeof t||"string"==typeof t&&t.length)?"rgba("+e.join(",")+","+t+")":"rgb("+e.join(",")+")"):"rgb('0,0,0')"}}(G.angular),ie.module("material.core").factory("$$mdAnimate",["$q","$timeout","$mdConstant","$animateCss",function(n,i,o,s){return function(e){return r=e,t=n,c=i,l=o,a=s,u={translate3d:function(t,n,e,r){return a(t,{from:n,to:e,addClass:r.transitionInClass,removeClass:r.transitionOutClass}).start().then(function(){return i});function i(e){return a(t,{to:e||n,addClass:r.transitionOutClass,removeClass:r.transitionInClass}).start()}},waitTransitionEnd:function(a,o){var s=3e3;return t(function(t,e){var n;("0s"==(n=(n=(o=o||{}).cachedTransitionStyles)||G.getComputedStyle(a[0])).transitionDuration||!n.transition&&!n.transitionProperty)&&(s=0);var r=c(i,o.timeout||s);function i(e){e&&e.target!==a[0]||(e&&c.cancel(r),a.off(l.CSS.TRANSITIONEND,i),t())}a.on(l.CSS.TRANSITIONEND,i)})},calculateTransformValues:function(e,t){var n,r,i=t.element,a=t.bounds;if(i||a){var o=i?u.clientRect(i)||(n=e?e.parent():null,(r=n?n.parent():null)?u.clientRect(r):null):u.copyRect(a),s=u.copyRect(e[0].getBoundingClientRect()),c=u.centerPointFor(s),l=u.centerPointFor(o);return{centerX:l.x-c.x,centerY:l.y-c.y,scaleX:Math.round(100*Math.min(.5,o.width/s.width))/100,scaleY:Math.round(100*Math.min(.5,o.height/s.height))/100}}return{centerX:0,centerY:0,scaleX:.5,scaleY:.5}},calculateZoomToOrigin:function(e,t){var n=ie.bind(null,r.supplant,"translate3d( {centerX}px, {centerY}px, 0 ) scale( {scaleX}, {scaleY} )");return n(u.calculateTransformValues(e,t))},calculateSlideToOrigin:function(e,t){var n=ie.bind(null,r.supplant,"translate3d( {centerX}px, {centerY}px, 0 )");return n(u.calculateTransformValues(e,t))},toCss:function(e){var r={};return ie.forEach(e,function(e,t){if(!ie.isUndefined(e))if(0<="left top right bottom width height x y min-width min-height max-width max-height".indexOf(t))r[t]=e+"px";else switch(t){case"transition":n(t,l.CSS.TRANSITION,e);break;case"transform":n(t,l.CSS.TRANSFORM,e);break;case"transformOrigin":n(t,l.CSS.TRANSFORM_ORIGIN,e);break;case"font-size":r["font-size"]=e}}),r;function n(e,t,n){ie.forEach(t.split(" "),function(e){r[e]=n})}},toTransformCss:function(t,e,n){var r={};return ie.forEach(l.CSS.TRANSFORM.split(" "),function(e){r[e]=t}),e&&(n=n||"all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important",r.transition=n),r},copyRect:function(t,n){return t?(n=n||{},ie.forEach("left top right bottom width height".split(" "),function(e){n[e]=Math.round(t[e])}),n.width=n.width||n.right-n.left,n.height=n.height||n.bottom-n.top,n):null},clientRect:function(e){var t,n=ie.element(e)[0].getBoundingClientRect();return(t=n)&&0<t.width&&0<t.height?u.copyRect(n):null},centerPointFor:function(e){return e?{x:Math.round(e.left+e.width/2),y:Math.round(e.top+e.height/2)}:{x:0,y:0}}};var r,t,c,l,a,u}}]),4<=ie.version.minor?ie.module("material.core.animate",[]):function(){var T=ie.forEach,x=ie.isDefined(document.documentElement.style.WebkitAppearance),k=x?"-webkit-":"",E=(x?"webkitTransitionEnd ":"")+"transitionend",D=(x?"webkitAnimationEnd ":"")+"animationend",e=["$q","$$rAFMutex",function(t,n){function e(e){this.setHost(e),this._doneCallbacks=[],this._runInAnimationFrame=n(),this._state=0}return e.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:ie.noop,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._runInAnimationFrame(function(){t._resolve(e)}))},_resolve:function(t){2!==this._state&&(T(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},e.all=function(t,n){var r=0,i=!0;function a(e){i=i&&e,++r===t.length&&n(i)}T(t,function(e){e.done(a)})},e}];function I(e){return e.replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()})}ie.module("material.core.animate",[]).factory("$$forceReflow",["$document",function(e){return function(){return e[0].body.clientWidth+1}}]).factory("$$AnimateRunner",e).factory("$$rAFMutex",["$$rAF",function(n){return function(){var t=!1;return n(function(){t=!0}),function(e){t?e():n(e)}}}]).factory("$animateCss",["$window","$$rAF","$$AnimateRunner","$$forceReflow","$$jqLite","$timeout","$animate",function(p,a,o,m,n,g,s){function _(e,t){t.addClass&&(n.addClass(e,t.addClass),t.addClass=null),t.removeClass&&(n.removeClass(e,t.removeClass),t.removeClass=null)}function b(e){var t=0,n=(e||"").split(/\s*,\s*/);return T(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}var v,y=[];function w(e,t){t.from&&(e.css(t.from),t.from=null)}function C(e,t){t.to&&(e.css(t.to),t.to=null)}function A(e){for(var t=0;t<e.length;t++)if(1===e[t].nodeType)return e[t]}function S(e,t){var n=A(e),r=I(k+"transition-delay");n.style[r]=t?"-9999s":""}return function(r,c){var l=[],u=A(r),e=u&&s.enabled(),t=!1,n=!1;e&&(c.transitionStyle&&l.push([k+"transition",c.transitionStyle]),c.keyframeStyle&&l.push([k+"animation",c.keyframeStyle]),c.delay&&l.push([k+"transition-delay",c.delay+"s"]),c.duration&&l.push([k+"transition-duration",c.duration+"s"]),t=c.keyframeStyle||c.to&&(0<c.duration||c.transitionStyle),n=!!c.addClass||!!c.removeClass,S(r,!0));var f=e&&(t||n);w(r,c);var d,h,i=!1;return{close:p.close,start:function(){var e,n=new o;return e=function(){if(S(r,!1),!f)return s();T(l,function(e){var t=e[0],n=e[1];u.style[I(t)]=n}),_(r,c);var e=function(e){var t=A(e),n=p.getComputedStyle(t),r=b(n[l("transitionDuration")]),i=b(n[l("animationDuration")]),a=b(n[l("transitionDelay")]),o=b(n[l("animationDelay")]);i*=parseInt(n[l("animationIterationCount")],10)||1;var s=Math.max(i,r),c=Math.max(o,a);return{duration:s,delay:c,animationDuration:i,transitionDuration:r,animationDelay:o,transitionDelay:a};function l(e){return x?"Webkit"+e.charAt(0).toUpperCase()+e.substr(1):e}}(r);if(0===e.duration)return s();var t=[];c.easing&&(e.transitionDuration&&t.push([k+"transition-timing-function",c.easing]),e.animationDuration&&t.push([k+"animation-timing-function",c.easing])),c.delay&&e.animationDelay&&t.push([k+"animation-delay",c.delay+"s"]),c.duration&&e.animationDuration&&t.push([k+"animation-duration",c.duration+"s"]),T(t,function(e){var t=e[0],n=e[1];u.style[I(t)]=n,l.push(e)});var i=1e3*e.delay,a=e.duration,n=1e3*a,o=Date.now();d=[],e.transitionDuration&&d.push(E),e.animationDuration&&d.push(D),d=d.join(" "),h=function(e){e.stopPropagation();var t=e.originalEvent||e,n=t.timeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(3));Math.max(n-o,0)>=i&&a<=r&&s()},r.on(d,h),C(r,c),g(s,i+1.5*n,!1)},v&&v(),y.push(e),v=a(function(){v=null;for(var e=m(),t=0;t<y.length;t++)y[t](e);y.length=0}),n;function s(){var e,t;if(!i)return i=!0,d&&h&&r.off(d,h),_(r,c),w(e=r,t=c),C(e,t),T(l,function(e){u.style[I(e[0])]=""}),n.complete(!0),n}}}}}])}(),ie.module("material.components.autocomplete",["material.core","material.components.icon","material.components.virtualRepeat"]),ie.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$mdUtil","$animate","$rootElement","$window","$log","$$rAF","$document",function(s,c,t,n,l,u,f,d){return{restrict:"E",link:function(r,i,e){var a;function o(){var e=parseInt(a.height,10)+Math.abs(parseInt(a.top,10));i.css("height",e+"px")}t.pin&&t.pin(i,n),f(function(){if("fixed"===(a=l.getComputedStyle(d[0].body)).position){var e=c.debounce(function(){a=l.getComputedStyle(d[0].body),o()},60,null,!1);o(),ie.element(l).on("resize",e),r.$on("$destroy",function(){ie.element(l).off("resize",e)})}var t=i.parent();if(t.length){"BODY"===t[0].nodeName&&i.css("position","fixed");var n=l.getComputedStyle(t[0]);"static"===n.position&&u.warn("<md-backdrop> may not work properly in a scrolled, static-positioned parent container."),s.inherit(i,t)}})}}}]),function(){function e(n){return{restrict:"E",link:function(e,t){t.addClass("_md"),e.$on("$destroy",function(){n.destroy()})}}}function t(e){t.$inject=["$animate","$mdConstant","$mdUtil","$mdTheming","$mdBottomSheet","$rootElement","$mdGesture","$log"];var m=.5,g=80;return e("$mdBottomSheet").setDefaults({methods:["disableParentScroll","escapeToClose","clickOutsideToClose"],options:t});function t(a,o,s,c,l,u,f,d){var h;return{themable:!0,onShow:function(e,t,n,r){if((t=s.extractElementByName(t,"md-bottom-sheet")).attr("tabindex","-1"),t.hasClass("ng-cloak")){d.warn("$mdBottomSheet: using `<md-bottom-sheet ng-cloak >` will affect the bottom-sheet opening animations.",t[0])}n.disableBackdrop||((h=s.createBackdrop(e,"md-bottom-sheet-backdrop md-opaque"))[0].tabIndex=-1,n.clickOutsideToClose&&h.on("click",function(){s.nextTick(l.cancel,!0)}),c.inherit(h,n.parent),a.enter(h,n.parent,null));var i=new p(t,n.parent);n.bottomSheet=i,c.inherit(i.element,n.parent),n.disableParentScroll&&(n.restoreScroll=s.disableScrollAround(i.element,n.parent));return a.enter(i.element,n.parent,h).then(function(){var e=s.findFocusTarget(t)||ie.element(t[0].querySelector("button")||t[0].querySelector("a")||t[0].querySelector(s.prefixer("ng-click",!0)))||h;n.escapeToClose&&(n.rootElementKeyupCallback=function(e){e.keyCode===o.KEY_CODE.ESCAPE&&s.nextTick(l.cancel,!0)},u.on("keyup",n.rootElementKeyupCallback),e&&e.focus())})},onRemove:function(e,t,n){var r=n.bottomSheet;n.disableBackdrop||a.leave(h);return a.leave(r.element).then(function(){n.disableParentScroll&&(n.restoreScroll(),delete n.restoreScroll),r.cleanup()})},disableBackdrop:!1,escapeToClose:!0,clickOutsideToClose:!0,disableParentScroll:!0};function p(r,e){var t=f.register(e,"drag",{horizontal:!1});return e.on("$md.dragstart",n).on("$md.drag",i).on("$md.dragend",a),{element:r,cleanup:function(){t(),e.off("$md.dragstart",n),e.off("$md.drag",i),e.off("$md.dragend",a)}};function n(e){r.css(o.CSS.TRANSITION_DURATION,"0ms")}function i(e){var t=e.pointer.distanceY;t<5&&(t=Math.max(-g,t/2)),r.css(o.CSS.TRANSFORM,"translate3d(0,"+(g+t)+"px,0)")}function a(e){if(0<e.pointer.distanceY&&(20<e.pointer.distanceY||Math.abs(e.pointer.velocityY)>m)){var t=r.prop("offsetHeight")-e.pointer.distanceY,n=Math.min(t/e.pointer.velocityY*.75,500);r.css(o.CSS.TRANSITION_DURATION,n+"ms"),s.nextTick(l.cancel,!0)}else r.css(o.CSS.TRANSITION_DURATION,""),r.css(o.CSS.TRANSFORM,"")}}}}e.$inject=["$mdBottomSheet"],t.$inject=["$$interimElementProvider"],ie.module("material.components.bottomSheet",["material.core","material.components.backdrop"]).directive("mdBottomSheet",e).provider("$mdBottomSheet",t)}(),function(){function e(n){return{restrict:"E",link:function(e,t){n(t)}}}function t(r,i,a,o){return{restrict:"EA",replace:!0,transclude:!0,template:function(e,t){{if(s(t))return'<a class="md-button" ng-transclude></a>';var n=void 0===t.type?"button":t.type;return'<button class="md-button" type="'+n+'" ng-transclude></button>'}},link:function(e,t,n){i(t),r.attach(e,t),a.expectWithoutText(t,"aria-label"),s(n)&&ie.isDefined(n.ngDisabled)&&e.$watch(n.ngDisabled,function(e){t.attr("tabindex",e?-1:0)});t.on("click",function(e){!0===n.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),t.hasClass("md-no-focus")||(e.mouseActive=!1,t.on("mousedown",function(){e.mouseActive=!0,o(function(){e.mouseActive=!1},100)}).on("focus",function(){!1===e.mouseActive&&t.addClass("md-focused")}).on("blur",function(e){t.removeClass("md-focused")}))}};function s(e){return ie.isDefined(e.href)||ie.isDefined(e.ngHref)||ie.isDefined(e.ngLink)||ie.isDefined(e.uiSref)}}t.$inject=["$mdButtonInkRipple","$mdTheming","$mdAria","$timeout"],e.$inject=["$mdTheming"],ie.module("material.components.button",["material.core"]).directive("mdButton",t).directive("a",e)}(),function(){function e(r){return{restrict:"E",link:function(e,t,n){t.addClass("_md"),r(t)}}}e.$inject=["$mdTheming"],ie.module("material.components.card",["material.core"]).directive("mdCard",e)}(),ie.module("material.components.chips",["material.core","material.components.autocomplete"]),function(){function e(u,f,d,h,p,m){return u=u[0],{restrict:"E",transclude:!0,require:"?ngModel",priority:210,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-icon"></div></div><div ng-transclude class="md-label"></div>',compile:function(e,t){return t.$set("tabindex",t.tabindex||"0"),t.$set("type","checkbox"),t.$set("role",t.type),{pre:function(e,t){t.on("click",function(e){this.hasAttribute("disabled")&&e.stopImmediatePropagation()})},post:function(e,n,r,i){var t,a,o,s;function c(t){n[0].hasAttribute("disabled")||e.skipToggle||e.$apply(function(){var e=r.ngChecked?r.checked:!i.$viewValue;i.$setViewValue(e,t&&t.type),i.$render()})}function l(e){(t=!1!==e)&&n.attr("aria-checked","mixed"),n.toggleClass("md-indeterminate",t)}i=i||p.fakeNgModel(),h(n),n.children().on("focus",function(){n.focus()}),p.parseAttributeBoolean(r.mdIndeterminate)&&(l(),e.$watch(r.mdIndeterminate,l)),r.ngChecked&&e.$watch(e.$eval.bind(e,r.ngChecked),function(e){i.$setViewValue(e),i.$render()}),a="ngDisabled",o="tabindex",s={true:"-1",false:r.tabindex},r[a]&&e.$watch(r[a],function(e){s[e]&&n.attr(o,s[e])}),f.expectWithText(n,"aria-label"),u.link.pre(e,{on:ie.noop,0:{}},r,[i]),e.mouseActive=!1,n.on("click",c).on("keypress",function(e){var t=e.which||e.keyCode;t!==d.KEY_CODE.SPACE&&t!==d.KEY_CODE.ENTER||(e.preventDefault(),n.addClass("md-focused"),c(e))}).on("mousedown",function(){e.mouseActive=!0,m(function(){e.mouseActive=!1},100)}).on("focus",function(){!1===e.mouseActive&&n.addClass("md-focused")}).on("blur",function(){n.removeClass("md-focused")}),i.$render=function(){n.toggleClass("md-checked",!!i.$viewValue&&!t)}}}}}}e.$inject=["inputDirective","$mdAria","$mdConstant","$mdTheming","$mdUtil","$timeout"],ie.module("material.components.checkbox",["material.core"]).directive("mdCheckbox",e)}(),function(){t.$inject=["$mdColors","$mdUtil","$log","$parse"],e.$inject=["$mdTheming","$mdUtil","$log"];var o=/^{((\s|,)*?["'a-zA-Z-]+?\s*?:\s*?('|")[a-zA-Z0-9-.]*('|"))+\s*}$/,l=null;function e(a,o,r){return l=l||Object.keys(a.PALETTES),{applyThemeColors:function(e,t){try{t&&e.css((i={},a=(n=t).hasOwnProperty("color"),ie.forEach(n,function(e,t){var n=c(e),r=-1<t.indexOf("background");i[t]=s(n),r&&!a&&(i.color=s(n,!0))}),i))}catch(e){r.error(e.message)}var n,i,a},getThemeColor:function(e){return s(c(e))},hasTheme:function(e){return ie.isDefined(a.THEMES[e.split("-")[0]])}};function s(e,t){t=t||!1;var n=a.PALETTES[e.palette][e.hue];return n=t?n.contrast:n.value,o.supplant("rgba({0}, {1}, {2}, {3})",[n[0],n[1],n[2],n[3]||e.opacity])}function c(e){var t=e.split("-"),n=ie.isDefined(a.THEMES[t[0]])?t.splice(0,1)[0]:a.defaultTheme();return{theme:n,palette:function(e,t){var n=1<e.length&&-1!==l.indexOf(e[1]),r=e[0].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();if(n&&(r=e[0]+"-"+e.splice(1,1)),-1===l.indexOf(r)){var i=a.THEMES[t].colors[r];if(!i)throw new Error(o.supplant("mdColors: couldn't find '{palette}' in the palettes.",{palette:r}));r=i.name}return r}(t,n),hue:function(e,t){var n=a.THEMES[t].colors;if("hue"!==e[1])return e[1]||n[e[0]in n?e[0]:"primary"].hues.default;var r=parseInt(e.splice(2,1)[0],10);if(r<1||3<r)throw new Error(o.supplant("mdColors: 'hue-{hueNumber}' is not a valid hue, can be only 'hue-1', 'hue-2' and 'hue-3'",{hueNumber:r}));if(e[1]="hue-"+r,e[0]in n)return n[e[0]].hues[e[1]];throw new Error(o.supplant("mdColors: 'hue-x' can only be used with [{availableThemes}], but was used with '{usedTheme}'",{availableThemes:Object.keys(n).join(", "),usedTheme:e[0]}))}(t,n),opacity:t[2]||1}}}function t(u,a,f,d){return{restrict:"A",require:["^?mdTheme"],compile:function(e,i){var l=function(){var e=i.mdColors,t=-1<e.indexOf("::"),n=!!t||o.test(i.mdColors);i.mdColors=e.replace("::","");var r=ie.isDefined(i.mdColorsWatch);return!t&&!n&&(!r||a.parseAttributeBoolean(i.mdColorsWatch))}();return function(e,n,t,r){var i=r[0],a={},o=function(n){"string"!=typeof n&&(n=""),t.mdColors||(t.mdColors="{}");var r=d(t.mdColors)(e);return i&&Object.keys(r).forEach(function(e){var t=r[e];u.hasTheme(t)||(r[e]=(n||i.$mdTheme)+"-"+t)}),s(r),r},s=function(e){if(!ie.equals(e,a)){var t=Object.keys(a);a.background&&!t.color&&t.push("color"),t.forEach(function(e){n.css(e,"")})}a=e},c=ie.noop;i&&(c=i.registerChanges(function(e){u.applyThemeColors(n,o(e))})),e.$on("$destroy",function(){c()});try{l?e.$watch(o,ie.bind(this,u.applyThemeColors,n),!0):u.applyThemeColors(n,o())}catch(e){f.error(e.message)}}}}}ie.module("material.components.colors",["material.core"]).directive("mdColors",t).service("$mdColors",e)}(),function(){function e(r){return{restrict:"E",controller:["$scope","$element",function(e,t){this.$scope=e,this.$element=t}],link:function(e,t){var n;t.addClass("_md"),r(t),e.$broadcast("$mdContentLoaded",t),n=t[0],ie.element(n).on("$md.pressdown",function(e){"t"===e.pointer.type&&(e.$materialScrollFixed||(e.$materialScrollFixed=!0,0===n.scrollTop?n.scrollTop=1:n.scrollHeight===n.scrollTop+n.offsetHeight&&(n.scrollTop-=1)))})}}}e.$inject=["$mdTheming"],ie.module("material.components.content",["material.core"]).directive("mdContent",e)}(),ie.module("material.components.datepicker",["material.core","material.components.icon","material.components.virtualRepeat"]),function(){function e(e,t,a){return{restrict:"E",link:function(r,i){i.addClass("_md"),t(i),e(function(){var e,t=i[0].querySelector("md-dialog-content");function n(){i.toggleClass("md-content-overflow",t.scrollHeight>t.clientHeight)}t&&(e=t.getElementsByTagName("img"),n(),ie.element(e).on("load",n)),r.$on("$destroy",function(){a.destroy(i)})})}}}function t(e){var v,y;return t.$inject=["$mdDialog","$mdConstant"],n.$inject=["$mdDialog","$mdAria","$mdUtil","$mdConstant","$animate","$document","$window","$rootElement","$log","$injector","$mdTheming"],e("$mdDialog").setDefaults({methods:["disableParentScroll","hasBackdrop","clickOutsideToClose","escapeToClose","targetEvent","closeTo","openFrom","parent","fullscreen","contentElement"],options:n}).addPreset("alert",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","theme","css"],options:t}).addPreset("confirm",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","cancel","theme","css"],options:t}).addPreset("prompt",{methods:["title","htmlContent","textContent","initialValue","content","placeholder","ariaLabel","ok","cancel","theme","css"],options:t});function t(t,n){return{template:['<md-dialog md-theme="{{ dialog.theme }}" aria-label="{{ dialog.ariaLabel }}" ng-class="dialog.css">',' <md-dialog-content class="md-dialog-content" role="document" tabIndex="-1">',' <h2 class="md-title">{{ dialog.title }}</h2>',' <div ng-if="::dialog.mdHtmlContent" class="md-dialog-content-body" ',' ng-bind-html="::dialog.mdHtmlContent"></div>',' <div ng-if="::!dialog.mdHtmlContent" class="md-dialog-content-body">'," <p>{{::dialog.mdTextContent}}</p>"," </div>",' <md-input-container md-no-float ng-if="::dialog.$type == \'prompt\'" class="md-prompt-input-container">',' <input ng-keypress="dialog.keypress($event)" md-autofocus ng-model="dialog.result" placeholder="{{::dialog.placeholder}}">'," </md-input-container>"," </md-dialog-content>"," <md-dialog-actions>",' <md-button ng-if="dialog.$type === \'confirm\' || dialog.$type === \'prompt\'" ng-click="dialog.abort()" class="md-primary md-cancel-button">'," {{ dialog.cancel }}"," </md-button>",' <md-button ng-click="dialog.hide()" class="md-primary md-confirm-button" md-autofocus="dialog.$type===\'alert\'">'," {{ dialog.ok }}"," </md-button>"," </md-dialog-actions>","</md-dialog>"].join("").replace(/\s\s+/g,""),controller:function(){var e="prompt"==this.$type;e&&this.initialValue&&(this.result=this.initialValue),this.hide=function(){t.hide(!e||this.result)},this.abort=function(){t.cancel()},this.keypress=function(e){e.keyCode===n.KEY_CODE.ENTER&&t.hide(this.result)}},controllerAs:"dialog",bindToController:!0}}function n(d,c,h,p,l,u,m,f,g,i,n){return{hasBackdrop:!0,isolateScope:!0,onCompiling:function(e){(function(e){if(!e.theme&&(e.theme=n.defaultTheme(),e.targetEvent&&e.targetEvent.target)){var t=ie.element(e.targetEvent.target);e.theme=(t.controller("mdTheme")||{}).$mdTheme||e.theme}})(e),e.contentElement&&(e.restoreContentElement=function(e){var t=e.contentElement,n=null;n=ie.isString(t)?(t=document.querySelector(t),r(t)):(t=t[0]||t,document.contains(t)?r(t):function(){t.parentNode.removeChild(t)});return e.element=ie.element(t),e.skipCompile=!0,n;function r(e){var t=e.parentNode,n=e.nextElementSibling;return function(){n?t.insertBefore(e,n):t.appendChild(e)}}}(e))},onShow:function(e,n,t,r){ie.element(u[0].body).addClass("md-dialog-is-showing");var i=n.find("md-dialog");if(i.hasClass("ng-cloak")){g.warn("$mdDialog: using `<md-dialog ng-cloak >` will affect the dialog opening animations.",n[0])}return function(e){function t(e,t){var n=ie.element(e||{});if(n&&n.length){var r=ie.isFunction(n[0].getBoundingClientRect);return ie.extend(t||{},{element:r?n:ae,bounds:r?n[0].getBoundingClientRect():ie.extend({},{top:0,left:0,height:0,width:0},n[0]),focus:ie.bind(n,n.focus)})}}function n(e,t){return ie.isString(e)&&(e=u[0].querySelector(e)),ie.element(e||t)}e.origin=ie.extend({element:null,bounds:null,focus:ie.noop},e.origin||{}),e.parent=n(e.parent,f),e.closeTo=t(n(e.closeTo)),e.openFrom=t(n(e.openFrom)),e.targetEvent&&(e.origin=t(e.targetEvent.target,e.origin))}(t),function(e,t){var n="alert"===t.$type?"alertdialog":"dialog",r=e.find("md-dialog-content"),i=e.attr("id"),a="dialogContent_"+(i||h.nextUid());e.attr({role:n,tabIndex:"-1"}),0===r.length&&(r=e,i&&(a=i)),r.attr("id",a),e.attr("aria-describedby",a),t.ariaLabel?c.expect(e,"aria-label",t.ariaLabel):c.expectAsync(e,"aria-label",function(){var e=r.text().split(/\s+/);return 3<e.length&&(e=e.slice(0,3).concat("...")),e.join(" ")}),(v=document.createElement("div")).classList.add("md-dialog-focus-trap"),v.tabIndex=0,y=v.cloneNode(!1);var o=function(){e.focus()};v.addEventListener("focus",o),y.addEventListener("focus",o),e[0].parentNode.insertBefore(v,e[0]),e.after(y)}(i,t),a=e,o=n,s=t,s.disableParentScroll&&(s.restoreScroll=h.disableScrollAround(o,s.parent)),s.hasBackdrop&&(s.backdrop=h.createBackdrop(a,"md-dialog-backdrop md-opaque"),l.enter(s.backdrop,s.parent)),s.hideBackdrop=function(e){s.backdrop&&(e?s.backdrop.remove():l.leave(s.backdrop)),s.disableParentScroll&&(s.restoreScroll(),delete s.restoreScroll),s.hideBackdrop=null},function(e,t){var n=ie.element(m),r=h.debounce(function(){_(e,t)},60),i=[],a=function(){var e="alert"==t.$type?d.hide:d.cancel;h.nextTick(e,!0)};if(t.escapeToClose){var o=t.parent,s=function(e){e.keyCode===p.KEY_CODE.ESCAPE&&(e.stopPropagation(),e.preventDefault(),a())};e.on("keydown",s),o.on("keydown",s),i.push(function(){e.off("keydown",s),o.off("keydown",s)})}if(n.on("resize",r),i.push(function(){n.off("resize",r)}),t.clickOutsideToClose){var c,l=e,u=function(e){c=e.target},f=function(e){c===l[0]&&e.target===l[0]&&(e.stopPropagation(),e.preventDefault(),a())};l.on("mousedown",u),l.on("mouseup",f),i.push(function(){l.off("mousedown",u),l.off("mouseup",f)})}t.deactivateListeners=function(){i.forEach(function(e){e()}),t.deactivateListeners=null}}(n,t),function(e,t){t.parent.append(e),t.reverseContainerStretch=_(e,t);var n=e.find("md-dialog"),r=h.dom.animator,i=r.calculateZoomToOrigin,a={transitionInClass:"md-transition-in",transitionOutClass:"md-transition-out"},o=r.toTransformCss(i(n,t.openFrom||t.origin)),s=r.toTransformCss("");return n.toggleClass("md-dialog-fullscreen",!!t.fullscreen),r.translate3d(n,o,s,a).then(function(e){return t.reverseAnimate=function(){return delete t.reverseAnimate,t.closeTo?(a={transitionInClass:"md-transition-out",transitionOutClass:"md-transition-in"},o=s,s=r.toTransformCss(i(n,t.closeTo)),r.translate3d(n,o,s,a)):e(s=r.toTransformCss(i(n,t.origin)))},t.clearAnimate=function(){return delete t.clearAnimate,n.removeClass([a.transitionOutClass,a.transitionInClass].join(" ")),r.translate3d(n,s,r.toTransformCss(""),{})},!0})}(n,t).then(function(){!function(e,t){var r=!0;function i(e){for(;e.parentNode;){if(e===document.body)return;for(var t=e.parentNode.children,n=0;n<t.length;n++)e===t[n]||b(t[n],["SCRIPT","STYLE"])||t[n].setAttribute("aria-hidden",r);i(e=e.parentNode)}}i(e[0]),t.unlockScreenReader=function(){r=!1,i(e[0]),t.unlockScreenReader=null}}(n,t),n[0].querySelector(".md-actions")&&g.warn("Using a class of md-actions is deprecated, please use <md-dialog-actions>."),function(){if(t.focusOnOpen){var e=h.findFocusTarget(n)||function(){var e=n[0].querySelector(".dialog-close");if(!e){var t=n[0].querySelectorAll(".md-actions button, md-dialog-actions button");e=t[t.length-1]}return e}()||i;e.focus()}}()});var a,o,s},onShowing:function(e,t,n,r){if(r){if(r.mdHtmlContent=r.htmlContent||n.htmlContent||"",r.mdTextContent=r.textContent||n.textContent||r.content||n.content||"",r.mdHtmlContent&&!i.has("$sanitize"))throw Error("The ngSanitize module must be loaded in order to use htmlContent.");if(r.mdHtmlContent&&r.mdTextContent)throw Error("md-dialog cannot have both `htmlContent` and `textContent`")}},onRemove:function(e,t,n){n.deactivateListeners(),n.unlockScreenReader(),n.hideBackdrop(n.$destroy),v&&v.parentNode&&v.parentNode.removeChild(v);y&&y.parentNode&&y.parentNode.removeChild(y);return n.$destroy?i():(r=n,r.reverseAnimate().then(function(){r.contentElement&&r.clearAnimate()})).then(i);var r;function i(){ie.element(u[0].body).removeClass("md-dialog-is-showing"),n.contentElement?(n.reverseContainerStretch(),n.restoreContentElement()):t.remove(),n.$destroy||n.origin.focus()}},clickOutsideToClose:!1,escapeToClose:!0,targetEvent:null,contentElement:null,closeTo:null,openFrom:null,focusOnOpen:!0,disableParentScroll:!0,autoWrap:!0,fullscreen:!1,transformTemplate:function(e,t){return'<div class="md-dialog-container" tabindex="-1">'+(n=e,t.autoWrap&&!/<\/md-dialog>/g.test(n)?"<md-dialog>"+(n||"")+"</md-dialog>":n||"")+"</div>";var n}};function _(e,t){var n="fixed"==m.getComputedStyle(u[0].body).position,r=t.backdrop?m.getComputedStyle(t.backdrop[0]):null,i=r?Math.min(u[0].body.clientHeight,Math.ceil(Math.abs(parseInt(r.height,10)))):0,a={top:e.css("top"),height:e.css("height")};return e.css({top:(n?h.scrollTop(t.parent):0)+"px",height:i?i+"px":"100%"}),function(){e.css(a)}}function b(e,t){if(-1!==t.indexOf(e.nodeName))return!0}}}e.$inject=["$$rAF","$mdTheming","$mdDialog"],t.$inject=["$$interimElementProvider"],ie.module("material.components.dialog",["material.core","material.components.backdrop"]).directive("mdDialog",e).provider("$mdDialog",t)}(),function(){function e(e){return{restrict:"E",link:e}}e.$inject=["$mdTheming"],ie.module("material.components.divider",["material.core"]).directive("mdDivider",e)}(),function(){function e(r){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(e,t){var n=e.children();r.prefixer().hasAttribute(n,"ng-repeat")?n.addClass("md-fab-action-item"):n.wrap('<div class="md-fab-action-item">')}}}e.$inject=["$mdUtil"],ie.module("material.components.fabActions",["material.core"]).directive("mdFabActions",e)}(),function(){function e(e,r,i,a,o,s){var t,c,l,u=this;u.open=function(){e.$evalAsync("vm.isOpen = true")},u.close=function(){e.$evalAsync("vm.isOpen = false"),r.find("md-fab-trigger")[0].focus()},u.toggle=function(){e.$evalAsync("vm.isOpen = !vm.isOpen")},u.direction=u.direction||"down",u.isOpen=u.isOpen||!1,h(),r.addClass("md-animations-waiting"),t=["click","focusin","focusout"],ie.forEach(t,function(e){r.on(e,d)}),e.$on("$destroy",function(){ie.forEach(t,function(e){r.off(e,d)}),p()}),e.$watch("vm.direction",function(e,t){i.removeClass(r,"md-"+t),i.addClass(r,"md-"+e),h()}),e.$watch("vm.isOpen",function(e){h(),c&&l||(c=r.find("md-fab-trigger"),l=y()),e?(r.on("keydown",g),a.nextTick(function(){ie.element(document).on("click touchend",m)})):p();var t=e?"md-is-open":"",n=e?"":"md-is-open";c.attr("aria-haspopup",!0),c.attr("aria-expanded",e),l.attr("aria-hidden",!e),i.setClass(r,t,n)});var f,n=0;function d(e){var t,n,r;"click"==e.type&&(n=(t=e).target,a.getClosest(n,"md-fab-trigger")&&u.toggle(),r=t.target,a.getClosest(r,"md-fab-actions")&&u.close()),"focusout"!=e.type||f||(f=s(function(){u.close()},100,!1)),"focusin"==e.type&&f&&(s.cancel(f),f=null)}function h(){u.currentActionIndex=-1}function p(){r.off("keydown",g),ie.element(document).off("click touchend",m)}function m(e){if(e.target){var t=a.getClosest(e.target,"md-fab-trigger"),n=a.getClosest(e.target,"md-fab-actions");t||n||u.close()}}function g(e){switch(e.which){case o.KEY_CODE.ESCAPE:return u.close(),e.preventDefault(),!1;case o.KEY_CODE.LEFT_ARROW:return i=e,"left"===u.direction?b(i):_(i),!1;case o.KEY_CODE.UP_ARROW:return r=e,"down"===u.direction?_(r):b(r),!1;case o.KEY_CODE.RIGHT_ARROW:return n=e,"left"===u.direction?_(n):b(n),!1;case o.KEY_CODE.DOWN_ARROW:return t=e,"up"===u.direction?_(t):b(t),!1}var t,n,r,i}function _(e){v(e,-1)}function b(e){v(e,1)}function v(e,t){var n,r=(n=y()[0].querySelectorAll(".md-fab-action-item"),ie.forEach(n,function(e){ie.element(ie.element(e).children()[0]).attr("tabindex",-1)}),n);u.currentActionIndex=u.currentActionIndex+t,u.currentActionIndex=Math.min(r.length-1,u.currentActionIndex),u.currentActionIndex=Math.max(0,u.currentActionIndex);var i=ie.element(r[u.currentActionIndex]).children()[0];ie.element(i).attr("tabindex",0),i.focus(),e.preventDefault(),e.stopImmediatePropagation()}function y(){return r.find("md-fab-actions")}!function e(){0<r[0].scrollHeight?i.addClass(r,"_md-animations-ready").then(function(){r.removeClass("md-animations-waiting")}):n<10&&(s(e,100),n+=1)}()}e.$inject=["$scope","$element","$animate","$mdUtil","$mdConstant","$timeout"],ie.module("material.components.fabShared",["material.core"]).controller("MdFabController",e)}(),function(){e.$inject=["$timeout"],t.$inject=["$timeout"];var n=300;function e(t){function r(e){t(e,n,!1)}function i(e){if(!e.hasClass("md-animations-waiting")||e.hasClass("_md-animations-ready")){var t=e[0],c=e.controller("mdFabSpeedDial"),r=t.querySelectorAll(".md-fab-action-item"),l=t.querySelector("md-fab-trigger"),n=t.querySelector("._md-css-variables"),i=parseInt(G.getComputedStyle(n).zIndex);ie.forEach(r,function(e,t){var n=e.style;n.transform=n.webkitTransform="",n.transitionDelay="",n.opacity=1,n.zIndex=r.length-t+i}),l.style.zIndex=i+r.length+1,c.isOpen||ie.forEach(r,function(e,t){var n,r,i=e.style,a=(l.clientHeight-e.clientHeight)/2,o=(l.clientWidth-e.clientWidth)/2;switch(c.direction){case"up":n=e.scrollHeight*(t+1)+a,r="Y";break;case"down":n=-(e.scrollHeight*(t+1)+a),r="Y";break;case"left":n=e.scrollWidth*(t+1)+o,r="X";break;case"right":n=-(e.scrollWidth*(t+1)+o),r="X"}var s="translate"+r+"("+n+"px)";i.transform=i.webkitTransform=s})}}return{addClass:function(e,t,n){e.hasClass("md-fling")?(i(e),r(n)):n()},removeClass:function(e,t,n){i(e),r(n)}}}function t(t){function r(e){t(e,n,!1)}function i(e){var t=e[0],i=e.controller("mdFabSpeedDial"),a=t.querySelectorAll(".md-fab-action-item"),n=t.querySelector("._md-css-variables"),o=parseInt(G.getComputedStyle(n).zIndex);ie.forEach(a,function(e,t){var n=e.style,r=65*t;n.opacity=i.isOpen?1:0,n.transform=n.webkitTransform=i.isOpen?"scale(1)":"scale(0)",n.transitionDelay=(i.isOpen?r:a.length-r)+"ms",n.zIndex=a.length-t+o})}return{addClass:function(e,t,n){i(e),r(n)},removeClass:function(e,t,n){i(e),r(n)}}}ie.module("material.components.fabSpeedDial",["material.core","material.components.fabShared","material.components.fabActions"]).directive("mdFabSpeedDial",function(){return{restrict:"E",scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"MdFabController",controllerAs:"vm",link:function(e,t){t.prepend('<div class="_md-css-variables"></div>')}}}).animation(".md-fling",e).animation(".md-scale",t).service("mdFabSpeedDialFlingAnimation",e).service("mdFabSpeedDialScaleAnimation",t)}(),function(){function e(){function r(e,t,n){if(t){var r=e[0],i=e.controller("mdFabToolbar"),a=r.querySelector(".md-fab-toolbar-background"),o=r.querySelector("md-fab-trigger button"),s=r.querySelector("md-toolbar"),c=r.querySelector("md-fab-trigger button md-icon"),l=e.find("md-fab-actions").children();if(o&&a){var u=G.getComputedStyle(o).getPropertyValue("background-color"),f=r.offsetWidth,d=(r.offsetHeight,f/o.offsetWidth*2);a.style.backgroundColor=u,a.style.borderRadius=f+"px",i.isOpen?(s.style.pointerEvents="inherit",a.style.width=o.offsetWidth+"px",a.style.height=o.offsetHeight+"px",a.style.transform="scale("+d+")",a.style.transitionDelay="0ms",c&&(c.style.transitionDelay=".3s"),ie.forEach(l,function(e,t){e.style.transitionDelay=25*(l.length-t)+"ms"})):(s.style.pointerEvents="none",a.style.transform="scale(1)",a.style.top="0",e.hasClass("md-right")&&(a.style.left="0",a.style.right=null),e.hasClass("md-left")&&(a.style.right="0",a.style.left=null),a.style.transitionDelay="200ms",c&&(c.style.transitionDelay="0ms"),ie.forEach(l,function(e,t){e.style.transitionDelay=200+25*t+"ms"}))}}}return{addClass:function(e,t,n){r(e,t),n()},removeClass:function(e,t,n){r(e,t),n()}}}ie.module("material.components.fabToolbar",["material.core","material.components.fabShared","material.components.fabActions"]).directive("mdFabToolbar",function(){return{restrict:"E",transclude:!0,template:'<div class="md-fab-toolbar-wrapper"> <div class="md-fab-toolbar-content" ng-transclude></div></div>',scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"MdFabController",controllerAs:"vm",link:function(e,t,n){t.addClass("md-fab-toolbar"),t.find("md-fab-trigger").find("button").prepend('<div class="md-fab-toolbar-background"></div>')}}}).animation(".md-fab-toolbar",e).service("mdFabToolbarAnimation",e)}(),function(){function e(h,_,b,v){return{restrict:"E",controller:t,scope:{mdOnLayout:"&"},link:function(a,o,s,t){o.addClass("_md"),o.attr("role","list"),t.layoutDelegate=function(e){var r=[].filter.call(o.children(),function(e){return"MD-GRID-TILE"==e.tagName&&!e.$$mdDestroyed}),i={tileSpans:(t=r,[].map.call(t,function(e){var t=ie.element(e).controller("mdGridTile");return{row:parseInt(v.getResponsiveAttribute(t.$attrs,"md-rowspan"),10)||1,col:parseInt(v.getResponsiveAttribute(t.$attrs,"md-colspan"),10)||1}})),colCount:function(){var e=parseInt(v.getResponsiveAttribute(s,"md-cols"),10);if(isNaN(e))throw"md-grid-list: md-cols attribute was not found, or contained a non-numeric value";return e}(),rowMode:f(),rowHeight:function(){var e=v.getResponsiveAttribute(s,"md-row-height");if(!e)throw"md-grid-list: md-row-height attribute was not found";switch(f()){case"fixed":return d(e);case"ratio":var t=e.split(":");return parseFloat(t[0])/parseFloat(t[1]);case"fit":return 0}}(),gutter:d(v.getResponsiveAttribute(s,"md-gutter")||1)};var t;if(!e&&ie.equals(i,c))return;var n=b(i.colCount,i.tileSpans,r).map(function(e,n){return{grid:{element:o,style:function(e,t,n,r,i){var a={};switch(r){case"fixed":a.height=g({unit:i,span:t,gutter:n}),a.paddingBottom="";break;case"ratio":var o=1===e?0:(e-1)/e,s=1/e*100,c=s*(1/i),l=p({share:c,gutterShare:o,gutter:n});a.height="",a.paddingBottom=g({unit:l,span:t,gutter:n})}return a}(i.colCount,n,i.gutter,i.rowMode,i.rowHeight)},tiles:e.map(function(e,t){return{element:ie.element(r[t]),style:function(e,t,n,r,i,a,o){var s=1/n*100,c=(n-1)/n,l=p({share:s,gutterShare:c,gutter:i}),u={left:m({unit:l,offset:e.col,gutter:i}),width:g({unit:l,span:t.col,gutter:i}),paddingTop:"",marginTop:"",top:"",height:""};switch(a){case"fixed":u.top=m({unit:o,offset:e.row,gutter:i}),u.height=g({unit:o,span:t.row,gutter:i});break;case"ratio":var f=s/o,d=p({share:f,gutterShare:c,gutter:i});u.paddingTop=g({unit:d,span:t.row,gutter:i}),u.marginTop=m({unit:d,offset:e.row,gutter:i});break;case"fit":var h=(r-1)/r,f=1/r*100,d=p({share:f,gutterShare:h,gutter:i});u.top=m({unit:d,offset:e.row,gutter:i}),u.height=g({unit:d,span:t.row,gutter:i})}return u}(e.position,e.spans,i.colCount,n,i.gutter,i.rowMode,i.rowHeight)}})}}).reflow().performance();a.mdOnLayout({$event:{performance:n}}),c=i};var c,n=ie.bind(t,t.invalidateLayout),r=function(){for(var e in _.MEDIA)v(e),v.getQuery(_.MEDIA[e]).addListener(n);return v.watchResponsiveAttributes(["md-cols","md-row-height","md-gutter"],s,i)}();function i(e){null==e?t.invalidateLayout():v(e)&&t.invalidateLayout()}a.$on("$destroy",function(){for(var e in t.layoutDelegate=ie.noop,r(),_.MEDIA)v.getQuery(_.MEDIA[e]).removeListener(n)});var l=h.startSymbol(),u=h.endSymbol();function e(e){return l+e+u}var p=h(e("share")+"% - ("+e("gutter")+" * "+e("gutterShare")+")"),m=h("calc(("+e("unit")+" + "+e("gutter")+") * "+e("offset")+")"),g=h("calc(("+e("unit")+") * "+e("span")+" + ("+e("span")+" - 1) * "+e("gutter")+")");function f(){var e=v.getResponsiveAttribute(s,"md-row-height");if(!e)throw"md-grid-list: md-row-height attribute was not found";return"fit"==e?"fit":-1!==e.indexOf(":")?"ratio":"fixed"}function d(e){return/\D$/.test(e)?e:e+"px"}}}}function t(e){this.layoutInvalidated=!1,this.tilesInvalidated=!1,this.$timeout_=e.nextTick,this.layoutDelegate=ie.noop}function n(c){var l=t;return e.animateWith=function(e){l=ie.isFunction(e)?e:t},e;function e(e,t){var n,r,i,a,o,s;return a=c.time(function(){r=function(i,e){var a=0,o=0,s=function(){for(var e=[],t=0;t<i;t++)e.push(0);return e}();return{positioning:e.map(function(e,t){return{spans:e,position:function(e,t){if(e.col>i)throw"md-grid-list: Tile at position "+t+" has a colspan ("+e.col+") that exceeds the column count ("+i+")";var n=0,r=0;for(;r-n<e.col;)i<=a?c():-1!==(n=s.indexOf(0,a))&&-1!==(r=u(n+1))?a=r+1:(n=r=0,c());return l(n,e.col,e.row),a=n+e.col,{col:n,row:o}}(e,t)}}),rowCount:o+Math.max.apply(Math,s)};function c(){o++,l(a=0,i,-1)}function l(e,t,n){for(var r=e;r<e+t;r++)s[r]=Math.max(s[r]+n,0)}function u(e){var t;for(t=e;t<s.length;t++)if(0!==s[t])return t;if(t===s.length)return t}}(e,t)}),n={layoutInfo:function(){return r},map:function(t){return o=c.time(function(){var e=n.layoutInfo();i=t(e.positioning,e.rowCount)}),n},reflow:function(e){return s=c.time(function(){(e||l)(i.grid,i.tiles)}),n},performance:function(){return{tileCount:t.length,layoutTime:a,mapTime:o,reflowTime:s,totalTime:a+o+s}}}}function t(e,t){e.element.css(e.style),t.forEach(function(e){e.element.css(e.style)})}}function r(a){return{restrict:"E",require:"^mdGridList",template:"<figure ng-transclude></figure>",transclude:!0,scope:{},controller:["$attrs",function(e){this.$attrs=e}],link:function(e,t,n,r){t.attr("role","listitem");var i=a.watchResponsiveAttributes(["md-colspan","md-rowspan"],n,ie.bind(r,r.invalidateLayout));r.invalidateTiles(),e.$on("$destroy",function(){t[0].$$mdDestroyed=!0,i(),r.invalidateLayout()}),ie.isDefined(e.$parent.$index)&&e.$watch(function(){return e.$parent.$index},function(e,t){e!==t&&r.invalidateTiles()})}}}function i(){return{template:"<figcaption ng-transclude></figcaption>",transclude:!0}}t.$inject=["$mdUtil"],n.$inject=["$mdUtil"],e.$inject=["$interpolate","$mdConstant","$mdGridLayout","$mdMedia"],r.$inject=["$mdMedia"],ie.module("material.components.gridList",["material.core"]).directive("mdGridList",e).directive("mdGridTile",r).directive("mdGridTileFooter",i).directive("mdGridTileHeader",i).factory("$mdGridLayout",n),t.prototype={invalidateTiles:function(){this.tilesInvalidated=!0,this.invalidateLayout()},invalidateLayout:function(){this.layoutInvalidated||(this.layoutInvalidated=!0,this.$timeout_(ie.bind(this,this.layout)))},layout:function(){try{this.layoutDelegate(this.tilesInvalidated)}finally{this.layoutInvalidated=!1,this.tilesInvalidated=!1}}}}(),ie.module("material.components.icon",["material.core"]),function(){function e(r,a){t.$inject=["$scope","$element","$attrs","$animate"];var e=["INPUT","TEXTAREA","SELECT","MD-SELECT"],i=e.reduce(function(e,t){return e.concat(["md-icon ~ "+t,".md-icon ~ "+t])},[]).join(","),o=e.reduce(function(e,t){return e.concat([t+" ~ md-icon",t+" ~ .md-icon"])},[]).join(",");return{restrict:"E",compile:function(e){var t=e[0].querySelector(i),n=e[0].querySelector(o);t&&e.addClass("md-icon-left");n&&e.addClass("md-icon-right");return function(e,t){r(t)}},controller:t};function t(e,t,n,r){var i=this;i.isErrorGetter=n.mdIsError&&a(n.mdIsError),i.delegateClick=function(){i.input.focus()},i.element=t,i.setFocused=function(e){t.toggleClass("md-input-focused",!!e)},i.setHasValue=function(e){t.toggleClass("md-input-has-value",!!e)},i.setHasPlaceholder=function(e){t.toggleClass("md-input-has-placeholder",!!e)},i.setInvalid=function(e){e?r.addClass(t,"md-input-invalid"):r.removeClass(t,"md-input-invalid")},e.$watch(function(){return i.label&&i.input},function(e){e&&!i.label.attr("for")&&i.label.attr("for",i.input.attr("id"))})}}function t(_,b,l,v,y){return{restrict:"E",require:["^?mdInputContainer","?ngModel","?^form"],link:function(f,d,h,e){var p=e[0],m=!!e[1],g=e[1]||_.fakeNgModel(),t=e[2],n=ie.isDefined(h.readonly),r=_.parseAttributeBoolean(h.mdNoAsterisk),i=d[0].tagName.toLowerCase();if(!p)return;{if("hidden"===h.type)return void d.attr("aria-hidden","true");if(p.input){if(p.input[0].contains(d[0]))return;throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!")}}p.input=d,p.label&&h.$observe("required",function(e){p.label.toggleClass("md-required",e&&!r)});var a=ie.element('<div class="md-errors-spacer">');d.after(a),p.label||l.expect(d,"aria-label",h.placeholder);d.addClass("md-input"),d.attr("id")||d.attr("id","input_"+_.nextUid());"input"===i&&"number"===h.type&&h.min&&h.max&&!h.step?d.attr("step","any"):"textarea"===i&&function(){var t=!h.hasOwnProperty("mdNoAutogrow");if(function(){if(!h.hasOwnProperty("mdNoResize")){var e=ie.element('<div class="md-resize-handle"></div>'),t=!1,n=null,r=0,i=p.element,a=y.register(e,"drag",{horizontal:!1});d.wrap('<div class="md-resize-wrapper">').after(e),e.on("mousedown",o),i.on("$md.dragstart",s).on("$md.drag",c).on("$md.dragend",l),f.$on("$destroy",function(){e.off("mousedown",o).remove(),i.off("$md.dragstart",s).off("$md.drag",c).off("$md.dragend",l),a(),a=i=e=null})}function o(e){e.preventDefault(),t=!0,n=e.clientY,r=parseFloat(d.css("height"))||d.prop("offsetHeight")}function s(e){t&&(e.preventDefault(),u(),i.addClass("md-input-resized"))}function c(e){t&&d.css("height",r+(e.pointer.y-n)-_.scrollTop()+"px")}function l(e){t&&(t=!1,i.removeClass("md-input-resized"))}}(),!t)return;var a=h.hasOwnProperty("rows")?parseInt(h.rows):NaN,o=h.hasOwnProperty("maxRows")?parseInt(h.maxRows):NaN,n=f.$on("md-resize-textarea",r),s=null,c=d[0];v(function(){_.nextTick(r)},10,!1),d.on("input",r),m&&g.$formatters.push(i);a||d.attr("rows",1);function r(){d.attr("rows",1).css("height","auto").addClass("md-no-flex");var e,t,n=(e=c.offsetHeight,t=c.scrollHeight-e,e+Math.max(t,0));if(!s){var r=d[0].style.padding||"";s=d.css("padding",0).prop("offsetHeight"),d[0].style.padding=r}if(a&&s&&(n=Math.max(n,s*a)),o&&s){var i=s*o;i<n?(d.attr("md-no-autogrow",""),n=i):d.removeAttr("md-no-autogrow")}s&&d.attr("rows",Math.round(n/s)),d.css("height",n+"px").removeClass("md-no-flex")}function i(e){return _.nextTick(r),e}function u(){if(t&&(t=!1,ie.element(b).off("resize",r),n&&n(),d.attr("md-no-autogrow","").off("input",r),m)){var e=g.$formatters.indexOf(i);-1<e&&g.$formatters.splice(e,1)}}if(ie.element(b).on("resize",r),f.$on("$destroy",u),h.hasOwnProperty("mdDetectHidden")){var e=(l=!1,function(){var e=0===c.offsetHeight;!1===e&&!0===l&&r(),l=e});f.$watch(function(){return _.nextTick(e,!1),!0})}var l}();m||c();var o=p.isErrorGetter||function(){return g.$invalid&&(g.$touched||t&&t.$submitted)};f.$watch(o,p.setInvalid),h.ngValue&&h.$observe("value",c);g.$parsers.push(s),g.$formatters.push(s),d.on("input",c),n||d.on("focus",function(e){_.nextTick(function(){p.setFocused(!0)})}).on("blur",function(e){_.nextTick(function(){p.setFocused(!1),c()})});function s(e){return p.setHasValue(!g.$isEmpty(e)),e}function c(){p.setHasValue(0<d.val().length||(d[0].validity||{}).badInput)}f.$on("$destroy",function(){p.setFocused(!1),p.setHasValue(!1),p.input=null})}}}function n(u,f){return{restrict:"A",require:["ngModel","^mdInputContainer"],link:function(e,n,t,r){var i,a,o,s=r[0],c=r[1];function l(e){return a.parent&&a.text(String(n.val()||e||"").length+" / "+i),e}f.nextTick(function(){o=ie.element(c.element[0].querySelector(".md-errors-spacer")),a=ie.element('<div class="md-char-counter">'),o.append(a),t.$set("ngTrim","false"),s.$formatters.push(l),s.$viewChangeListeners.push(l),n.on("input keydown keyup",function(){l()}),e.$watch(t.mdMaxlength,function(e){i=e,ie.isNumber(e)&&0<e?(a.parent().length||u.enter(a,o),l()):u.leave(a)}),s.$validators["md-maxlength"]=function(e,t){return!ie.isNumber(i)||i<0||(e||n.val()||t||"").length<=i}})}}}function r(s){return{restrict:"A",require:"^^?mdInputContainer",priority:200,link:{pre:function(e,t,n,r){if(!r)return;var i=r.element.find("label"),a=r.element.attr("md-no-float");if(i&&i.length||""===a||e.$eval(a))return void r.setHasPlaceholder(!0);if("MD-SELECT"!=t[0].nodeName){var o=ie.element('<label ng-click="delegateClick()" tabindex="-1">'+n.placeholder+"</label>");n.$set("placeholder",null),r.element.addClass("md-icon-float").prepend(o),s(o)(e)}}}}}function i(o){return{restrict:"A",link:function(e,t,n){if("INPUT"!==t[0].nodeName&&"TEXTAREA"!==t[0].nodeName)return;var r=!1;function i(){o(function(){t[0].select(),r=!1},1,!(r=!0))}function a(e){r&&e.preventDefault()}t.on("focus",i).on("mouseup",a),e.$on("$destroy",function(){t.off("focus",i).off("mouseup",a)})}}}e.$inject=["$mdTheming","$parse"],t.$inject=["$mdUtil","$window","$mdAria","$timeout","$mdGesture"],n.$inject=["$animate","$mdUtil"],r.$inject=["$compile"],l.$inject=["$mdUtil"],i.$inject=["$timeout"],u.$inject=["$$AnimateRunner","$animateCss","$mdUtil"],f.$inject=["$$AnimateRunner","$animateCss","$mdUtil"],d.$inject=["$$AnimateRunner","$animateCss","$mdUtil"],ie.module("material.components.input",["material.core"]).directive("mdInputContainer",e).directive("label",function(){return{restrict:"E",require:"^?mdInputContainer",link:function(e,t,n,r){!r||n.mdNoFloat||t.hasClass("md-container-ignore")||(r.label=t,e.$on("$destroy",function(){r.label=null}))}}}).directive("input",t).directive("textarea",t).directive("mdMaxlength",n).directive("placeholder",r).directive("ngMessages",function(){return{restrict:"EA",link:function(e,t,n,r){if(!r)return;t.toggleClass("md-input-messages-animation",!0),t.toggleClass("md-auto-hide",!0),("false"==n.mdAutoHide||(i=n,c.some(function(e){return i[e]})))&&t.toggleClass("md-auto-hide",!1);var i},require:"^^?mdInputContainer"}}).directive("ngMessage",l).directive("ngMessageExp",l).directive("mdSelectOnFocus",i).animation(".md-input-invalid",u).animation(".md-input-messages-animation",f).animation(".md-input-message-animation",d).service("mdInputInvalidAnimation",u).service("mdInputMessagesAnimation",f).service("mdInputMessageAnimation",d);var a,o,s,c=["ngIf","ngShow","ngHide","ngSwitchWhen","ngSwitchDefault"];function l(t){return{restrict:"EA",compile:function(n){if(r(n))i(n);else if(function(){var e=n[0];for(;e=e.parentNode;)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return!0;return!1}())return function(e,t){r(t)&&i(n)};function r(e){return!!t.getClosest(e,"md-input-container")}function i(e){e.toggleClass("md-input-message-animation",!0)}},priority:100}}function u(e,t,n){return b(e,t,n),{addClass:function(e,t,n){h(e,n)}}}function f(e,t,n){return b(e,t,n),{enter:function(e,t){h(e,t)},leave:function(e,t){p(e,t)},addClass:function(e,t,n){"ng-hide"==t?p(e,n):n()},removeClass:function(e,t,n){"ng-hide"==t?h(e,n):n()}}}function d(e,t,n){return b(e,t,n),{enter:function(e,t){m(e).start().done(t)},leave:function(e,t){g(e).start().done(t)}}}function h(e,t){var n,r=[],i=_(e);ie.forEach(i.children(),function(e){n=m(ie.element(e)),r.push(n.start())}),a.all(r,t)}function p(e,t){var n,r=[],i=_(e);ie.forEach(i.children(),function(e){n=g(ie.element(e)),r.push(n.start())}),a.all(r,t)}function m(e){var t=parseInt(G.getComputedStyle(e[0]).height),n=parseInt(G.getComputedStyle(e[0]).marginTop),r=_(e),i=e.controller("mdInputContainer").element;return-t<n||r.hasClass("md-auto-hide")&&!i.hasClass("md-input-invalid")?o(e,{}):o(e,{event:"enter",structural:!0,from:{opacity:0,"margin-top":-t+"px"},to:{opacity:1,"margin-top":"0"},duration:.3})}function g(e){var t=e[0].offsetHeight;return 0==G.getComputedStyle(e[0]).opacity?o(e,{}):o(e,{event:"leave",structural:!0,from:{opacity:1,"margin-top":0},to:{opacity:0,"margin-top":-t+"px"},duration:.3})}function _(e){return e.hasClass("md-input-message-animation")?ie.element(s.getClosest(e,function(e){return e.classList.contains("md-input-messages-animation")})):ie.element(e[0].querySelector(".md-input-messages-animation"))}function b(e,t,n){a=e,o=t,s=n}}(),function(){function e(t){return{restrict:"E",compile:function(e){return e[0].setAttribute("role","list"),t}}}function t(d,h,p,m){var g=["md-checkbox","md-switch","md-menu"];return{restrict:"E",controller:"MdListController",compile:function(a,o){var e,i,t,n=a[0].querySelectorAll(".md-secondary"),r=a;if(a[0].setAttribute("role","listitem"),o.ngClick||o.ngDblclick||o.ngHref||o.href||o.uiSref||o.ngAttrUiSref)l("button");else{for(var s,c=0;s=g[c];++c)if(i=a[0].querySelector(s)){e=!0;break}e?l("div"):a[0].querySelector("md-button:not(.md-secondary):not(.md-exclude)")||a.addClass("md-no-proxy")}function l(e){if("div"==e)(r=ie.element('<div class="md-no-style md-list-item-inner">')).append(a.contents()),a.addClass("md-proxy-focus");else{r=ie.element('<div class="md-button md-no-style"> <div class="md-list-item-inner"></div></div>');var t=ie.element('<md-button class="md-no-style"></md-button>');t[0].setAttribute("aria-label",a[0].textContent),u(a[0],t[0]),a.hasClass("md-no-focus")&&t.addClass("md-no-focus"),r.prepend(t),r.children().eq(1).append(a.contents()),a.addClass("_md-button-wrap")}a[0].setAttribute("tabindex","-1"),a.append(r)}function u(t,n,e){var r=p.prefixer(["ng-if","ng-click","ng-dblclick","aria-label","ng-disabled","ui-sref","href","ng-href","target","ng-attr-ui-sref","ui-sref-opts"]);e&&(r=r.concat(p.prefixer(e))),ie.forEach(r,function(e){t.hasAttribute(e)&&(n.setAttribute(e,t.getAttribute(e)),t.removeAttribute(e))})}function f(e){for(var t=e.attributes,n=0;n<t.length;n++)if("ngClick"===o.$normalize(t[n].name))return!0;return!1}return t=ie.element('<div class="md-secondary-container">'),ie.forEach(n,function(e){!function(e,t){if(e&&("MD-BUTTON"!=(r=e.nodeName.toUpperCase())&&"BUTTON"!=r)&&e.hasAttribute("ng-click")){d.expect(e,"aria-label");var n=ie.element('<md-button class="md-secondary md-icon-button">');u(e,n[0],["ng-if","ng-hide","ng-show"]),e.setAttribute("tabindex","-1"),n.append(e),e=n[0]}var r,i;!e||f(e)&&(o.ngClick||(i=e,-1==g.indexOf(i.nodeName.toLowerCase())))||ie.element(e).removeClass("md-secondary"),a.addClass("md-with-secondary"),t.append(e)}(e,t)}),r.append(t),function(){for(var e,t,n=["md-switch","md-checkbox"],r=0;t=n[r];++r)if((e=a.find(t)[0])&&!e.hasAttribute("aria-label")){var i=a.find("p")[0];if(!i)return;e.setAttribute("aria-label","Toggle "+i.textContent)}}(),e&&"MD-MENU"===i.nodeName&&function(){var e=ie.element(i),t=e.parent().hasClass("md-secondary-container")||i.parentNode.firstElementChild!==i,n="left";t&&(n="right");e.attr("md-position-mode")||e.attr("md-position-mode",n+" target");var r=e.children().eq(0);f(r[0])||r.attr("ng-click","$mdOpenMenu($event)");r.attr("aria-label")||r.attr("aria-label","Open List Menu")}(),function(e,i,t,n){i.addClass("_md");var r=[],a=i[0].firstElementChild,o=i.hasClass("_md-button-wrap")?a.firstElementChild:a,s=o&&f(o);a&&a.children&&!s&&ie.forEach(g,function(e){ie.forEach(a.querySelectorAll(e+":not(.md-secondary)"),function(e){r.push(e)})}),(1==r.length||s)&&(i.addClass("md-clickable"),s||n.attachRipple(e,ie.element(i[0].querySelector(".md-no-style")))),i.hasClass("md-proxy-focus")&&r.length&&ie.forEach(r,function(t){t=ie.element(t),e.mouseActive=!1,t.on("mousedown",function(){e.mouseActive=!0,m(function(){e.mouseActive=!1},100)}).on("focus",function(){!1===e.mouseActive&&i.addClass("md-focused"),t.on("blur",function e(){i.removeClass("md-focused"),t.off("blur",e)})})});var c=function(e){if("INPUT"!=e.target.nodeName&&"TEXTAREA"!=e.target.nodeName&&!e.target.isContentEditable){var t=e.which||e.keyCode;t==h.KEY_CODE.SPACE&&o&&(o.click(),e.preventDefault(),e.stopPropagation())}};s||r.length||o&&o.addEventListener("keypress",c);i.off("click"),i.off("keypress"),1==r.length&&o&&i.children().eq(0).on("click",function(t){if(!function(e){var t=["md-slider"];if(!e.path)return-1!==t.indexOf(e.target.tagName.toLowerCase());for(var n=e.path.indexOf(i.children()[0]),r=0;r<n;r++)if(-1!==t.indexOf(e.path[r].tagName.toLowerCase()))return!0}(t)){var e=p.getClosest(t.target,"BUTTON");!e&&o.contains(t.target)&&ie.forEach(r,function(e){t.target===e||e.contains(t.target)||("MD-MENU"===e.nodeName&&(e=e.children[0]),ie.element(e).triggerHandler("click"))})}});e.$on("$destroy",function(){o&&o.removeEventListener("keypress",c)})}}}}function n(e,t,n){this.attachRipple=function(e,t){n.attach(e,t,{})}}n.$inject=["$scope","$element","$mdListInkRipple"],e.$inject=["$mdTheming"],t.$inject=["$mdAria","$mdConstant","$mdUtil","$timeout"],ie.module("material.components.list",["material.core"]).controller("MdListController",n).directive("mdList",e).directive("mdListItem",t)}(),ie.module("material.components.menu",["material.core","material.components.backdrop"]),ie.module("material.components.menuBar",["material.core","material.components.icon","material.components.menu"]),function(){function e(i,a){return{restrict:"E",transclude:!0,controller:t,controllerAs:"ctrl",bindToController:!0,scope:{mdSelectedNavItem:"=?",navBarAriaLabel:"@?"},template:'<div class="md-nav-bar"><nav role="navigation"><ul class="_md-nav-bar-list" ng-transclude role="listbox"tabindex="0"ng-focus="ctrl.onFocus()"ng-blur="ctrl.onBlur()"ng-keydown="ctrl.onKeydown($event)"aria-label="{{ctrl.navBarAriaLabel}}"></ul></nav><md-nav-ink-bar></md-nav-ink-bar></div>',link:function(e,t,n,r){a(t),r.navBarAriaLabel||i.expectAsync(t,"aria-label",ie.noop)}}}function t(e,t,n,r){this._$timeout=n,this._$scope=t,this._$mdConstant=r,this.mdSelectedNavItem,this.navBarAriaLabel,this._navBarEl=e[0],this._inkbar;var i=this,a=this._$scope.$watch(function(){return i._navBarEl.querySelectorAll("._md-nav-button").length},function(e){0<e&&(i._initTabs(),a())})}function n(o){return{restrict:"E",require:["mdNavItem","^mdNavBar"],controller:r,bindToController:!0,controllerAs:"ctrl",replace:!0,transclude:!0,template:'<li class="md-nav-item" role="option" aria-selected="{{ctrl.isSelected()}}"><md-button ng-if="ctrl.mdNavSref" class="_md-nav-button md-accent"ng-class="ctrl.getNgClassMap()"tabindex="-1"ui-sref="{{ctrl.mdNavSref}}"><span ng-transclude class="_md-nav-button-text"></span></md-button><md-button ng-if="ctrl.mdNavHref" class="_md-nav-button md-accent"ng-class="ctrl.getNgClassMap()"tabindex="-1"ng-href="{{ctrl.mdNavHref}}"><span ng-transclude class="_md-nav-button-text"></span></md-button><md-button ng-if="ctrl.mdNavClick" class="_md-nav-button md-accent"ng-class="ctrl.getNgClassMap()"tabindex="-1"ng-click="ctrl.mdNavClick()"><span ng-transclude class="_md-nav-button-text"></span></md-button></li>',scope:{mdNavClick:"&?",mdNavHref:"@?",mdNavSref:"@?",name:"@"},link:function(e,t,n,r){var i=r[0],a=r[1];o(function(){i.name||(i.name=ie.element(t[0].querySelector("._md-nav-button-text")).text().trim()),ie.element(t[0].querySelector("._md-nav-button")).on("click",function(){a.mdSelectedNavItem=i.name,e.$apply()})})}}}function r(e){if(this._$element=e,this.mdNavClick,this.mdNavHref,this.name,this._selected=!1,this._focused=!1,1<(!!e.attr("md-nav-click")?1:0)+(!!e.attr("md-nav-href")?1:0)+(!!e.attr("md-nav-sref")?1:0))throw Error("Must specify exactly one of md-nav-click, md-nav-href, md-nav-sref for nav-item directive")}t.$inject=["$element","$scope","$timeout","$mdConstant"],n.$inject=["$$rAF"],r.$inject=["$element"],e.$inject=["$mdAria","$mdTheming"],ie.module("material.components.navBar",["material.core"]).controller("MdNavBarController",t).directive("mdNavBar",e).controller("MdNavItemController",r).directive("mdNavItem",n),t.prototype._initTabs=function(){this._inkbar=ie.element(this._navBarEl.getElementsByTagName("md-nav-ink-bar")[0]);var n=this;this._$timeout(function(){n._updateTabs(n.mdSelectedNavItem,ae)}),this._$scope.$watch("ctrl.mdSelectedNavItem",function(e,t){n._$timeout(function(){n._updateTabs(e,t)})})},t.prototype._updateTabs=function(e,t){var n=this,r=this._getTabs(),i=-1,a=-1,o=this._getTabByName(e),s=this._getTabByName(t);s&&(s.setSelected(!1),i=r.indexOf(s)),o&&(o.setSelected(!0),a=r.indexOf(o)),this._$timeout(function(){n._updateInkBarStyles(o,a,i)})},t.prototype._updateInkBarStyles=function(e,t,n){if(this._inkbar.toggleClass("_md-left",t<n).toggleClass("_md-right",n<t),this._inkbar.css({display:t<0?"none":""}),e){var r=e.getButtonEl(),i=r.offsetLeft;this._inkbar.css({left:i+"px",width:r.offsetWidth+"px"})}},t.prototype._getTabs=function(){return Array.prototype.slice.call(this._navBarEl.querySelectorAll(".md-nav-item")).map(function(e){return ie.element(e).controller("mdNavItem")})},t.prototype._getTabByName=function(t){return this._findTab(function(e){return e.getName()==t})},t.prototype._getSelectedTab=function(){return this._findTab(function(e){return e.isSelected()})},t.prototype.getFocusedTab=function(){return this._findTab(function(e){return e.hasFocus()})},t.prototype._findTab=function(e){for(var t=this._getTabs(),n=0;n<t.length;n++)if(e(t[n]))return t[n];return null},t.prototype.onFocus=function(){var e=this._getSelectedTab();e&&e.setFocused(!0)},t.prototype.onBlur=function(){var e=this.getFocusedTab();e&&e.setFocused(!1)},t.prototype._moveFocus=function(e,t){e.setFocused(!1),t.setFocused(!0)},t.prototype.onKeydown=function(e){var t=this._$mdConstant.KEY_CODE,n=this._getTabs(),r=this.getFocusedTab();if(r){var i=n.indexOf(r);switch(e.keyCode){case t.UP_ARROW:case t.LEFT_ARROW:0<i&&this._moveFocus(r,n[i-1]);break;case t.DOWN_ARROW:case t.RIGHT_ARROW:i<n.length-1&&this._moveFocus(r,n[i+1]);break;case t.SPACE:case t.ENTER:this._$timeout(function(){r.getButtonEl().click()})}}},r.prototype.getNgClassMap=function(){return{"md-active":this._selected,"md-primary":this._selected,"md-unselected":!this._selected,"md-focused":this._focused}},r.prototype.getName=function(){return this.name},r.prototype.getButtonEl=function(){return this._$element[0].querySelector("._md-nav-button")},r.prototype.setSelected=function(e){this._selected=e},r.prototype.isSelected=function(){return this._selected},r.prototype.setFocused=function(e){this._focused=e},r.prototype.hasFocus=function(){return this._focused}}(),function(){e.$inject=["$rootElement","$rootScope","$injector","$window"],ie.module("material.components.panel",["material.core","material.components.backdrop"]).service("$mdPanel",e);var i=80,a="_md-panel-hidden",n=ie.element('<div class="_md-panel-focus-trap" tabindex="0"></div>');function e(e,t,n,r){this._defaultConfigOptions={bindToController:!0,clickOutsideToClose:!1,disableParentScroll:!1,escapeToClose:!1,focusOnOpen:!0,fullscreen:!1,hasBackdrop:!1,propagateContainerEvents:!1,transformTemplate:ie.bind(this,this._wrapTemplate),trapFocus:!1,zIndex:i},this._config={},this._$rootElement=e,this._$rootScope=t,this._$injector=n,this._$window=r,this._trackedPanels={},this.animation=c.animation,this.xPosition=p.xPosition,this.yPosition=p.yPosition}function r(e,t){this._$q=t.get("$q"),this._$mdCompiler=t.get("$mdCompiler"),this._$mdConstant=t.get("$mdConstant"),this._$mdUtil=t.get("$mdUtil"),this._$rootScope=t.get("$rootScope"),this._$animate=t.get("$animate"),this._$mdPanel=t.get("$mdPanel"),this._$log=t.get("$log"),this._$window=t.get("$window"),this._$$rAF=t.get("$$rAF"),this.id=e.id,this.config=e,this.panelContainer,this.panelEl,this.isAttached=!1,this._removeListeners=[],this._topFocusTrap,this._bottomFocusTrap,this._backdropRef,this._restoreScroll=null}function p(e){this._$window=e.get("$window"),this._isRTL="rtl"===e.get("$mdUtil").bidi(),this._absolute=!1,this._relativeToEl,this._top="",this._bottom="",this._left="",this._right="",this._translateX=[],this._translateY=[],this._positions=[],this._actualPosition}function c(e){this._$mdUtil=e.get("$mdUtil"),this._openFrom,this._closeTo,this._animationClass=""}function o(e){var t=ie.isString(e)?document.querySelector(e):e;return ie.element(t)}e.prototype.create=function(e){if(e=e||{},ie.isDefined(e.id)&&this._trackedPanels[e.id])return this._trackedPanels[e.id];this._config={id:e.id||"panel_"+this._$injector.get("$mdUtil").nextUid(),scope:this._$rootScope.$new(!0),attachTo:this._$rootElement},ie.extend(this._config,this._defaultConfigOptions,e);var t=new r(this._config,this._$injector);return this._trackedPanels[e.id]=t},e.prototype.open=function(e){var t=this.create(e);return t.open().then(function(){return t})},e.prototype.newPanelPosition=function(){return new p(this._$injector)},e.prototype.newPanelAnimation=function(){return new c(this._$injector)},e.prototype._wrapTemplate=function(e){return'<div class="md-panel-outer-wrapper"> <div class="md-panel" style="left: -9999px;">'+(e||"")+"</div></div>"},r.prototype.open=function(){var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i._simpleBind(i.show,i);i.attach().then(r).then(n).catch(t)})},r.prototype.close=function(){var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i._simpleBind(i.detach,i);i.hide().then(r).then(n).catch(t)})},r.prototype.attach=function(){if(this.isAttached&&this.panelEl)return this._$q.when(this);var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i.config.onDomAdded||ie.noop;i._$q.all([i._createBackdrop(),i._createPanel().then(function(e){return i.isAttached=!0,i._addEventListeners(),e}).catch(t)]).then(r).then(n).catch(t)})},r.prototype.detach=function(){if(!this.isAttached)return this._$q.when(this);var r=this,i=r.config.onDomRemoved||ie.noop;return this._restoreScroll&&(this._restoreScroll(),this._restoreScroll=null),this._$q(function(e,t){var n=r._done(e,r);r._$q.all([(r._removeEventListeners(),r._topFocusTrap&&r._topFocusTrap.parentNode&&r._topFocusTrap.parentNode.removeChild(r._topFocusTrap),r._bottomFocusTrap&&r._bottomFocusTrap.parentNode&&r._bottomFocusTrap.parentNode.removeChild(r._bottomFocusTrap),r.panelContainer.remove(),r.isAttached=!1,r._$q.when(r)),!r._backdropRef||r._backdropRef.detach()]).then(i).then(n).catch(t)})},r.prototype.destroy=function(){this.config.scope.$destroy(),this.config.locals=null},r.prototype.show=function(){if(!this.panelContainer)return this._$q(function(e,t){t("Panel does not exist yet. Call open() or attach().")});if(!this.panelContainer.hasClass(a))return this._$q.when(this);var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i.config.onOpenComplete||ie.noop;i._$q.all([i._backdropRef?i._backdropRef.show():i,(i.panelContainer.removeClass(a),i._animateOpen()).then(function(){i._focusOnOpen()},t)]).then(r).then(n).catch(t)})},r.prototype.hide=function(){if(!this.panelContainer)return this._$q(function(e,t){t("Panel does not exist yet. Call open() or attach().")});if(this.panelContainer.hasClass(a))return this._$q.when(this);var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i.config.onRemoving||ie.noop;i._$q.all([i._backdropRef?i._backdropRef.hide():i,i._animateClose().then(r).then(function(){i.panelContainer.addClass(a)}).then(function(){var e=i.config.origin;e&&o(e).focus()}).catch(t)]).then(n,t)})},r.prototype.addClass=function(e,t){if(this._$log.warn("The addClass method is in the process of being deprecated. Full deprecation is scheduled for the Angular Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");t||this.panelContainer.hasClass(e)?t&&!this.panelEl.hasClass(e)&&this.panelEl.addClass(e):this.panelContainer.addClass(e)},r.prototype.removeClass=function(e,t){if(this._$log.warn("The removeClass method is in the process of being deprecated. Full deprecation is scheduled for the Angular Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");!t&&this.panelContainer.hasClass(e)?this.panelContainer.removeClass(e):t&&this.panelEl.hasClass(e)&&this.panelEl.removeClass(e)},r.prototype.toggleClass=function(e,t){if(this._$log.warn("The toggleClass method is in the process of being deprecated. Full deprecation is scheduled for the Angular Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");t?this.panelEl.toggleClass(e):this.panelContainer.toggleClass(e)},r.prototype._createPanel=function(){var r=this;return this._$q(function(t,n){r.config.locals||(r.config.locals={}),(r.config.locals.mdPanelRef=r)._$mdCompiler.compile(r.config).then(function(e){r.panelContainer=e.link(r.config.scope),o(r.config.attachTo).append(r.panelContainer),r.config.disableParentScroll&&(r._restoreScroll=r._$mdUtil.disableScrollAround(null,r.panelContainer,{disableScrollMask:!0})),r.panelEl=ie.element(r.panelContainer[0].querySelector(".md-panel")),r.config.panelClass&&r.panelEl.addClass(r.config.panelClass),r.config.propagateContainerEvents&&r.panelContainer.css("pointer-events","none"),r._$animate.pin&&r._$animate.pin(r.panelContainer,o(r.config.attachTo)),r._configureTrapFocus(),r._addStyles().then(function(){t(r)},n)},n)})},r.prototype._addStyles=function(){var n=this;return this._$q(function(e){n.panelContainer.css("z-index",n.config.zIndex),n.panelEl.css("z-index",n.config.zIndex+1);var t=function(){n.panelEl.css("left",""),n.panelContainer.addClass(a),e(n)};if(n.config.fullscreen)return n.panelEl.addClass("_md-panel-fullscreen"),void t();n.config.position?n._$rootScope.$$postDigest(function(){n._updatePosition(!0),e(n)}):t()})},r.prototype.updatePosition=function(e){if(!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");this.config.position=e,this._updatePosition()},r.prototype._updatePosition=function(e){var t=this.config.position;if(t){t._setPanelPosition(this.panelEl),e&&this.panelContainer.addClass(a),this.panelEl.css(p.absPosition.TOP,t.getTop()),this.panelEl.css(p.absPosition.BOTTOM,t.getBottom()),this.panelEl.css(p.absPosition.LEFT,t.getLeft()),this.panelEl.css(p.absPosition.RIGHT,t.getRight());var n=this._$mdConstant.CSS.TRANSFORM;this.panelEl.css(n,t.getTransform())}},r.prototype._focusOnOpen=function(){if(this.config.focusOnOpen){var e=this;this._$rootScope.$$postDigest(function(){(e._$mdUtil.findFocusTarget(e.panelEl)||e.panelEl).focus()})}},r.prototype._createBackdrop=function(){if(this.config.hasBackdrop){if(!this._backdropRef){var e={animation:this._$mdPanel.newPanelAnimation().openFrom(this.config.attachTo).withAnimation({open:"_md-opaque-enter",close:"_md-opaque-leave"}),attachTo:this.config.attachTo,focusOnOpen:!1,panelClass:"_md-panel-backdrop",zIndex:this.config.zIndex-1};this._backdropRef=this._$mdPanel.create(e)}if(!this._backdropRef.isAttached)return this._backdropRef.attach()}},r.prototype._addEventListeners=function(){this._configureEscapeToClose(),this._configureClickOutsideToClose(),this._configureScrollListener()},r.prototype._removeEventListeners=function(){this._removeListeners&&this._removeListeners.forEach(function(e){e()}),this._removeListeners=[]},r.prototype._configureEscapeToClose=function(){if(this.config.escapeToClose){var e=o(this.config.attachTo),t=this,n=function(e){e.keyCode===t._$mdConstant.KEY_CODE.ESCAPE&&(e.stopPropagation(),e.preventDefault(),t.close())};this.panelContainer.on("keydown",n),e.on("keydown",n),this._removeListeners.push(function(){t.panelContainer.off("keydown",n),e.off("keydown",n)})}},r.prototype._configureClickOutsideToClose=function(){if(this.config.clickOutsideToClose){var t,n=this.panelContainer,e=function(e){t=e.target},r=this,i=function(e){t===n[0]&&e.target===n[0]&&(e.stopPropagation(),e.preventDefault(),r.close())};n.on("mousedown",e),n.on("mouseup",i),this._removeListeners.push(function(){n.off("mousedown",e),n.off("mouseup",i)})}},r.prototype._configureScrollListener=function(){var e=ie.bind(this,this._updatePosition),t=this._$$rAF.throttle(e),n=this,r=function(){n.config.disableParentScroll||t()};this._$window.addEventListener("scroll",r,!0),this._removeListeners.push(function(){n._$window.removeEventListener("scroll",r,!0)})},r.prototype._configureTrapFocus=function(){if(this.panelEl.attr("tabIndex","-1"),this.config.trapFocus){var e=this.panelEl;this._topFocusTrap=n.clone()[0],this._bottomFocusTrap=n.clone()[0];var t=function(){e.focus()};this._topFocusTrap.addEventListener("focus",t),this._bottomFocusTrap.addEventListener("focus",t),this._removeListeners.push(this._simpleBind(function(){this._topFocusTrap.removeEventListener("focus",t),this._bottomFocusTrap.removeEventListener("focus",t)},this)),e[0].parentNode.insertBefore(this._topFocusTrap,e[0]),e.after(this._bottomFocusTrap)}},r.prototype._animateOpen=function(){this.panelContainer.addClass("md-panel-is-showing");var n=this.config.animation;if(!n)return this.panelContainer.addClass("_md-panel-shown"),this._$q.when(this);var r=this;return this._$q(function(e){var t=r._done(e,r);n.animateOpen(r.panelEl).then(t,function(){r._$log.warn("MdPanel Animations failed. Showing panel without animating."),t()})})},r.prototype._animateClose=function(){var n=this.config.animation;if(!n)return this.panelContainer.removeClass("md-panel-is-showing"),this.panelContainer.removeClass("_md-panel-shown"),this._$q.when(this);var r=this;return this._$q(function(e){var t=function(){r.panelContainer.removeClass("md-panel-is-showing"),e(r)};n.animateClose(r.panelEl).then(t,function(){r._$log.warn("MdPanel Animations failed. Hiding panel without animating."),t()})})},r.prototype._simpleBind=function(t,n){return function(e){return t.apply(n,e)}},r.prototype._done=function(e,t){return function(){e(t)}},p.xPosition={CENTER:"center",ALIGN_START:"align-start",ALIGN_END:"align-end",OFFSET_START:"offset-start",OFFSET_END:"offset-end"},p.yPosition={CENTER:"center",ALIGN_TOPS:"align-tops",ALIGN_BOTTOMS:"align-bottoms",ABOVE:"above",BELOW:"below"},p.absPosition={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},p.prototype.absolute=function(){return this._absolute=!0,this},p.prototype._setPosition=function(e,t){if(e===p.absPosition.RIGHT||e===p.absPosition.LEFT)this._left=this._right="";else{if(e!==p.absPosition.BOTTOM&&e!==p.absPosition.TOP){var n=Object.keys(p.absPosition).join().toLowerCase();throw new Error("Position must be one of "+n+".")}this._top=this._bottom=""}return this["_"+e]=ie.isString(t)?t:"0",this},p.prototype.top=function(e){return this._setPosition(p.absPosition.TOP,e)},p.prototype.bottom=function(e){return this._setPosition(p.absPosition.BOTTOM,e)},p.prototype.start=function(e){var t=this._isRTL?p.absPosition.RIGHT:p.absPosition.LEFT;return this._setPosition(t,e)},p.prototype.end=function(e){var t=this._isRTL?p.absPosition.LEFT:p.absPosition.RIGHT;return this._setPosition(t,e)},p.prototype.left=function(e){return this._setPosition(p.absPosition.LEFT,e)},p.prototype.right=function(e){return this._setPosition(p.absPosition.RIGHT,e)},p.prototype.centerHorizontally=function(){return this._left="50%",this._right="",this._translateX=["-50%"],this},p.prototype.centerVertically=function(){return this._top="50%",this._bottom="",this._translateY=["-50%"],this},p.prototype.center=function(){return this.centerHorizontally().centerVertically()},p.prototype.relativeTo=function(e){return this._absolute=!1,this._relativeToEl=o(e),this},p.prototype.addPanelPosition=function(e,t){if(!this._relativeToEl)throw new Error("addPanelPosition can only be used with relative positioning. Set relativeTo first.");return this._validateXPosition(e),this._validateYPosition(t),this._positions.push({x:e,y:t}),this},p.prototype._validateYPosition=function(e){if(null!=e){for(var t,n=Object.keys(p.yPosition),r=[],i=0;t=n[i];i++){var a=p.yPosition[t];if(r.push(a),a===e)return}throw new Error("Panel y position only accepts the following values:\n"+r.join(" | "))}},p.prototype._validateXPosition=function(e){if(null!=e){for(var t,n=Object.keys(p.xPosition),r=[],i=0;t=n[i];i++){var a=p.xPosition[t];if(r.push(a),a===e)return}throw new Error("Panel x Position only accepts the following values:\n"+r.join(" | "))}},p.prototype.withOffsetX=function(e){return this._translateX.push(e),this},p.prototype.withOffsetY=function(e){return this._translateY.push(e),this},p.prototype.getTop=function(){return this._top},p.prototype.getBottom=function(){return this._bottom},p.prototype.getLeft=function(){return this._left},p.prototype.getRight=function(){return this._right},p.prototype.getTransform=function(){return(this._reduceTranslateValues("translateX",this._translateX)+" "+this._reduceTranslateValues("translateY",this._translateY)).trim()},p.prototype._isOnscreen=function(e){var t=parseInt(this.getLeft()),n=parseInt(this.getTop()),r=t+e[0].offsetWidth,i=n+e[0].offsetHeight;return 0<=t&&0<=n&&i<=this._$window.innerHeight&&r<=this._$window.innerWidth},p.prototype.getActualPosition=function(){return this._actualPosition},p.prototype._reduceTranslateValues=function(t,e){return e.map(function(e){return t+"("+e+")"}).join(" ")},p.prototype._setPanelPosition=function(e){if(!this._absolute)if(this._actualPosition)this._calculatePanelPosition(e,this._actualPosition);else for(var t=0;t<this._positions.length&&(this._actualPosition=this._positions[t],this._calculatePanelPosition(e,this._actualPosition),!this._isOnscreen(e));t++);},p.prototype._reverseXPosition=function(e){if(e!==p.xPosition.CENTER){return-1<e.indexOf("start")?e.replace("start","end"):e.replace("end","start")}},p.prototype._bidi=function(e){return this._isRTL?this._reverseXPosition(e):e},p.prototype._calculatePanelPosition=function(e,t){var n=e[0].getBoundingClientRect(),r=n.width,i=n.height,a=this._relativeToEl[0].getBoundingClientRect(),o=a.left,s=a.right,c=a.width;switch(this._bidi(t.x)){case p.xPosition.OFFSET_START:this._left=o-r+"px";break;case p.xPosition.ALIGN_END:this._left=s-r+"px";break;case p.xPosition.CENTER:var l=o+.5*c-.5*r;this._left=l+"px";break;case p.xPosition.ALIGN_START:this._left=o+"px";break;case p.xPosition.OFFSET_END:this._left=s+"px"}var u=a.top,f=a.bottom,d=a.height;switch(t.y){case p.yPosition.ABOVE:this._top=u-i+"px";break;case p.yPosition.ALIGN_BOTTOMS:this._top=f-i+"px";break;case p.yPosition.CENTER:var h=u+.5*d-.5*i;this._top=h+"px";break;case p.yPosition.ALIGN_TOPS:this._top=u+"px";break;case p.yPosition.BELOW:this._top=f+"px"}},c.animation={SLIDE:"md-panel-animate-slide",SCALE:"md-panel-animate-scale",FADE:"md-panel-animate-fade"},c.prototype.openFrom=function(e){return e=e.target?e.target:e,this._openFrom=this._getPanelAnimationTarget(e),this._closeTo||(this._closeTo=this._openFrom),this},c.prototype.closeTo=function(e){return this._closeTo=this._getPanelAnimationTarget(e),this},c.prototype._getPanelAnimationTarget=function(e){return ie.isDefined(e.top)||ie.isDefined(e.left)?{element:ae,bounds:{top:e.top||0,left:e.left||0}}:this._getBoundingClientRect(o(e))},c.prototype.withAnimation=function(e){return this._animationClass=e,this},c.prototype.animateOpen=function(e){var t=this._$mdUtil.dom.animator;this._fixBounds(e);var n={},r=e[0].style.transform||"",i=t.toTransformCss(r),a=t.toTransformCss(r);switch(this._animationClass){case c.animation.SLIDE:e.css("opacity","1"),n={transitionInClass:"_md-panel-animate-enter"};var o=t.calculateSlideToOrigin(e,this._openFrom)||"";i=t.toTransformCss(o+" "+r);break;case c.animation.SCALE:n={transitionInClass:"_md-panel-animate-enter"};var s=t.calculateZoomToOrigin(e,this._openFrom)||"";i=t.toTransformCss(s+" "+r);break;case c.animation.FADE:n={transitionInClass:"_md-panel-animate-enter"};break;default:n=ie.isString(this._animationClass)?{transitionInClass:this._animationClass}:{transitionInClass:this._animationClass.open,transitionOutClass:this._animationClass.close}}return t.translate3d(e,i,a,n)},c.prototype.animateClose=function(e){var t=this._$mdUtil.dom.animator,n={},r=e[0].style.transform||"",i=t.toTransformCss(r),a=t.toTransformCss(r);switch(this._animationClass){case c.animation.SLIDE:e.css("opacity","1"),n={transitionInClass:"_md-panel-animate-leave"};var o=t.calculateSlideToOrigin(e,this._closeTo)||"";a=t.toTransformCss(o+" "+r);break;case c.animation.SCALE:n={transitionInClass:"_md-panel-animate-scale-out _md-panel-animate-leave"};var s=t.calculateZoomToOrigin(e,this._closeTo)||"";a=t.toTransformCss(s+" "+r);break;case c.animation.FADE:n={transitionInClass:"_md-panel-animate-fade-out _md-panel-animate-leave"};break;default:n=ie.isString(this._animationClass)?{transitionOutClass:this._animationClass}:{transitionInClass:this._animationClass.close,transitionOutClass:this._animationClass.open}}return t.translate3d(e,i,a,n)},c.prototype._fixBounds=function(e){var t=e[0].offsetWidth,n=e[0].offsetHeight;this._openFrom&&null==this._openFrom.bounds.height&&(this._openFrom.bounds.height=n),this._openFrom&&null==this._openFrom.bounds.width&&(this._openFrom.bounds.width=t),this._closeTo&&null==this._closeTo.bounds.height&&(this._closeTo.bounds.height=n),this._closeTo&&null==this._closeTo.bounds.width&&(this._closeTo.bounds.width=t)},c.prototype._getBoundingClientRect=function(e){if(e instanceof ie.element)return{element:e,bounds:e[0].getBoundingClientRect()}}}(),ie.module("material.components.progressCircular",["material.core"]),function(){function e(f,d,e){var h="determinate",p="indeterminate",m="buffer",g="query",_="_md-progress-linear-disabled";return{restrict:"E",template:'<div class="md-container"><div class="md-dashed"></div><div class="md-bar md-bar1"></div><div class="md-bar md-bar2"></div></div>',compile:function(e,t,n){return e.attr("aria-valuemin",0),e.attr("aria-valuemax",100),e.attr("role","progressbar"),r}};function r(e,n,r){var t;f(n);var i=r.hasOwnProperty("disabled"),a=d.dom.animator.toCss,o=ie.element(n[0].querySelector(".md-bar1")),s=ie.element(n[0].querySelector(".md-bar2")),c=ie.element(n[0].querySelector(".md-container"));function l(){var e=(r.mdMode||"").trim();if(e)switch(e){case h:case p:case m:case g:break;default:e=p}return e}function u(e,t){if(!i&&l()){var n=d.supplant("translateX({0}%) scale({1},1)",[(t-100)/2,t/100]),r=a({transform:n});ie.element(e).css(r)}}n.attr("md-mode",l()).toggleClass(_,i),function(){if(ie.isUndefined(r.mdMode)){var e=ie.isDefined(r.value),t=e?h:p;n.attr("md-mode",t),r.mdMode=t}}(),r.$observe("value",function(e){var t=b(e);n.attr("aria-valuenow",t),l()!=g&&u(s,t)}),r.$observe("mdBufferValue",function(e){u(o,b(e))}),r.$observe("disabled",function(e){i=!0===e||!1===e?!!e:ie.isDefined(e),n.toggleClass(_,i),c.toggleClass(t,!i)}),r.$observe("mdMode",function(e){switch(t&&c.removeClass(t),e){case g:case m:case h:case p:c.addClass(t="md-mode-"+e);break;default:c.addClass(t="md-mode-"+p)}})}function b(e){return Math.max(0,Math.min(e||0,100))}}e.$inject=["$mdTheming","$mdUtil","$log"],ie.module("material.components.progressLinear",["material.core"]).directive("mdProgressLinear",e)}(),function(){function e(s,c,l,u){return e.prototype={init:function(e){this._ngModelCtrl=e,this._ngModelCtrl.$render=ie.bind(this,this.render)},add:function(e){this._radioButtonRenderFns.push(e)},remove:function(e){var t=this._radioButtonRenderFns.indexOf(e);-1!==t&&this._radioButtonRenderFns.splice(t,1)},render:function(){this._radioButtonRenderFns.forEach(function(e){e()})},setViewValue:function(e,t){this._ngModelCtrl.$setViewValue(e,t),this.render()},getViewValue:function(){return this._ngModelCtrl.$viewValue},selectNext:function(){return t(this.$element,1)},selectPrevious:function(){return t(this.$element,-1)},setActiveDescendant:function(e){this.$element.attr("aria-activedescendant",e)},isDisabled:function(){return this.$element[0].hasAttribute("disabled")}},{restrict:"E",controller:["$element",e],require:["mdRadioGroup","?ngModel"],link:{pre:function(t,r,e,n){r.addClass("_md"),l(r);var i=n[0],a=n[1]||s.fakeNgModel();function o(){r.hasClass("md-focused")||r.addClass("md-focused")}i.init(a),t.mouseActive=!1,r.attr({role:"radiogroup",tabIndex:r.attr("tabindex")||"0"}).on("keydown",function(e){var t=e.which||e.keyCode;if(t!=c.KEY_CODE.ENTER&&e.currentTarget!=e.target)return;switch(t){case c.KEY_CODE.LEFT_ARROW:case c.KEY_CODE.UP_ARROW:e.preventDefault(),i.selectPrevious(),o();break;case c.KEY_CODE.RIGHT_ARROW:case c.KEY_CODE.DOWN_ARROW:e.preventDefault(),i.selectNext(),o();break;case c.KEY_CODE.ENTER:var n=ie.element(s.getClosest(r[0],"form"));0<n.length&&n.triggerHandler("submit")}}).on("mousedown",function(e){t.mouseActive=!0,u(function(){t.mouseActive=!1},100)}).on("focus",function(){!1===t.mouseActive&&i.$element.addClass("md-focused")}).on("blur",function(){i.$element.removeClass("md-focused")})}}};function e(e){this._radioButtonRenderFns=[],this.$element=e}function t(e,t){var n=s.iterator(e[0].querySelectorAll("md-radio-button"),!0);if(n.count()){var r=e[0].querySelector("md-radio-button.md-checked"),i=n[t<0?"previous":"next"](r,function(e){return!ie.element(e).attr("disabled")})||n.first();ie.element(i).triggerHandler("click")}}}function t(l,u,f){var d="md-checked";return{restrict:"E",require:"^mdRadioGroup",transclude:!0,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-off"></div><div class="md-on"></div></div><div ng-transclude class="md-label"></div>',link:function(t,n,r,i){var a;function e(e){n[0].hasAttribute("disabled")||i.isDisabled()||t.$apply(function(){i.setViewValue(r.value,e&&e.type)})}function o(){var e=i.getViewValue()==r.value;function t(e){"MD-RADIO-GROUP"!=n.parent()[0].nodeName&&n.parent()[e?"addClass":"removeClass"](d)}e!==a&&(a=e,n.attr("aria-checked",e),e?(t(!0),n.addClass(d),i.setActiveDescendant(n.attr("id"))):(t(!1),n.removeClass(d)))}f(n),s=n,c=t,c.ariaId=r.id||"radio_"+u.nextUid(),s.attr({id:c.ariaId,role:"radio","aria-checked":"false"}),l.expectWithText(s,"aria-label"),function(){if(!i)throw"RadioButton: No RadioGroupController could be found.";i.add(o),r.$observe("value",o),n.on("click",e).on("$destroy",function(){i.remove(o)})}();var s,c}}}e.$inject=["$mdUtil","$mdConstant","$mdTheming","$timeout"],t.$inject=["$mdAria","$mdUtil","$mdTheming"],ie.module("material.components.radioButton",["material.core"]).directive("mdRadioGroup",e).directive("mdRadioButton",t)}(),function(){e.$inject=["$mdSelect","$mdUtil","$mdConstant","$mdTheming","$mdAria","$compile","$parse"],t.$inject=["$parse","$mdUtil","$mdConstant","$mdTheming"],n.$inject=["$mdButtonInkRipple","$mdUtil"],r.$inject=["$$interimElementProvider"];var F=8,g=0,l=ie.element('<div class="md-container"><div class="md-icon"></div></div>');function e(E,D,I,P,M,e,$){var t=I.KEY_CODE;t.SPACE,t.ENTER,t.UP_ARROW,t.DOWN_ARROW;return{restrict:"E",require:["^?mdInputContainer","mdSelect","ngModel","?^form"],compile:function(e,t){var n=ie.element("<md-select-value><span></span></md-select-value>");n.append('<span class="md-select-icon" aria-hidden="true"></span>'),n.addClass("md-select-value"),n[0].hasAttribute("id")||n.attr("id","select_value_label_"+D.nextUid());e.find("md-content").length||e.append(ie.element("<md-content>").append(e.contents()));t.mdOnOpen&&(e.find("md-content").prepend(ie.element('<div> <md-progress-circular md-mode="indeterminate" ng-if="$$loadingAsyncDone === false" md-diameter="25px"></md-progress-circular></div>')),e.find("md-option").attr("ng-show","$$loadingAsyncDone"));if(t.name){var r=ie.element('<select class="md-visually-hidden">');r.attr({name:t.name,"aria-hidden":"true",tabindex:"-1"});var i=e.find("md-option");ie.forEach(i,function(e){var t=ie.element("<option>"+e.innerHTML+"</option>");e.hasAttribute("ng-value")?t.attr("ng-value",e.getAttribute("ng-value")):e.hasAttribute("value")&&t.attr("value",e.getAttribute("value")),r.append(t)}),r.append('<option ng-value="'+t.ngModel+'" selected></option>'),e.parent().append(r)}var k=D.parseAttributeBoolean(t.multiple),a=k?"multiple":"",o='<div class="md-select-menu-container" aria-hidden="true"><md-select-menu {0}>{1}</md-select-menu></div>';o=D.supplant(o,[a,e.html()]),e.empty().append(n),e.append(o),t.tabindex||t.$set("tabindex",0);return function(r,n,i,e){var t,a,o,s,c,l=!0,u=e[0],f=e[1],d=e[2],h=e[3],p=n.find("md-select-value"),m=ie.isDefined(i.readonly),g=D.parseAttributeBoolean(i.mdNoAsterisk);if(g&&n.addClass("md-no-asterisk"),u){var _=u.isErrorGetter||function(){return d.$invalid&&(d.$touched||h&&h.$submitted)};if(u.input&&n.find("md-select-header").find("input")[0]!==u.input[0])throw new Error("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");u.input=n,u.label||M.expect(n,"aria-label",n.attr("placeholder")),r.$watch(_,u.setInvalid)}!function(){if(o=ie.element(n[0].querySelector(".md-select-menu-container")),s=r,i.mdContainerClass){var e=o[0].getAttribute("class")+" "+i.mdContainerClass;o[0].setAttribute("class",e)}(c=o.find("md-select-menu").controller("mdSelectMenu")).init(d,i.ngModel),n.on("$destroy",function(){o.remove()})}(),P(n),h&&ie.isDefined(i.multiple)&&D.nextTick(function(){var e=d.$modelValue||d.$viewValue;e&&h.$setPristine()});var b,v=d.$render;function y(){o&&(c=c||o.find("md-select-menu").controller("mdSelectMenu"),f.setLabelText(c.selectedLabels()))}function w(){if(a){var e=c.selectedLabels({mode:"aria"});n.attr("aria-label",e.length?a+": "+e:a)}}d.$render=function(){v(),y(),w(),S()},i.$observe("placeholder",d.$render),u&&u.label&&i.$observe("required",function(e){u.label.toggleClass("md-required",e&&!g)}),f.setLabelText=function(e){if(f.setIsPlaceholder(!e),i.mdSelectedText)e=$(i.mdSelectedText)(r);else{var t=i.placeholder||(u&&u.label?u.label.text():"");e=e||t||""}var n=p.children().eq(0);n.html(e)},f.setIsPlaceholder=function(e){e?(p.addClass("md-select-placeholder"),u&&u.label&&u.label.addClass("md-placeholder")):(p.removeClass("md-select-placeholder"),u&&u.label&&u.label.removeClass("md-placeholder"))},m||(n.on("focus",function(e){u&&u.setFocused(!0)}),n.on("blur",function(e){l&&(l=!1,s._mdSelectIsOpen&&e.stopImmediatePropagation()),s._mdSelectIsOpen||(u&&u.setFocused(!1),S())})),f.triggerClose=function(){$(i.mdOnClose)(r)},r.$$postDigest(function(){!function(){var e=n.attr("aria-label")||n.attr("placeholder");!e&&u&&u.label&&(e=u.label.text());a=e,M.expect(n,"aria-label",e)}(),y(),w()}),r.$watch(function(){return c.selectedLabels()},y),i.$observe("ngMultiple",function(e){b&&b();var t=$(e);b=r.$watch(function(){return t(r)},function(e,t){e===ae&&t===ae||(e?n.attr("multiple","multiple"):n.removeAttr("multiple"),n.attr("aria-multiselectable",e?"true":"false"),o&&(c.setMultiple(e),v=d.$render,d.$render=function(){v(),y(),w(),S()},d.$render()))})}),i.$observe("disabled",function(e){ie.isString(e)&&(e=!0),t!==ae&&t===e||((t=e)?n.attr({"aria-disabled":"true"}).removeAttr("tabindex").off("click",x).off("keydown",T):n.attr({tabindex:i.tabindex,"aria-disabled":"false"}).on("click",x).on("keydown",T))}),i.hasOwnProperty("disabled")||i.hasOwnProperty("ngDisabled")||(n.attr({"aria-disabled":"false"}),n.on("click",x),n.on("keydown",T));var C={role:"listbox","aria-expanded":"false","aria-multiselectable":k&&!i.ngMultiple?"true":"false"};n[0].hasAttribute("id")||(C.id="select_"+D.nextUid());var A="select_container_"+D.nextUid();function S(){u&&u.setHasValue(0<c.selectedLabels().length||(n[0].validity||{}).badInput)}function T(e){if(I.isNavigationKey(e))e.preventDefault(),x();else if(I.isInputKey(e)||I.isNumPadKey(e)){e.preventDefault();var t=c.optNodeForKeyboardSearch(e);if(!t||t.hasAttribute("disabled"))return;var n=ie.element(t).controller("mdOption");c.isMultiple||c.deselect(Object.keys(c.selected)[0]),c.select(n.hashKey,n.value),c.refreshViewValue()}}function x(){s._mdSelectIsOpen=!0,n.attr("aria-expanded","true"),E.show({scope:s,preserveScope:!0,skipCompile:!0,element:o,target:n[0],selectCtrl:f,preserveElement:!0,hasBackdrop:!0,loadingAsync:!!i.mdOnOpen&&(r.$eval(i.mdOnOpen)||!0)}).finally(function(){s._mdSelectIsOpen=!1,n.focus(),n.attr("aria-expanded","false"),d.$setTouched()})}o.attr("id",A),C["aria-owns"]=A,n.attr(C),r.$on("$destroy",function(){E.destroy().finally(function(){u&&(u.setFocused(!1),u.setHasValue(!1),u.input=null),d.$setTouched()})})}},controller:function(){}}}function t(h,p,m,i){return{restrict:"E",require:["mdSelectMenu"],scope:!(e.$inject=["$scope","$attrs","$element"]),controller:e,link:{pre:function(a,e,t,n){var o=n[0];function r(e){var t=p.getClosest(e.target,"md-option"),n=t&&ie.element(t).data("$mdOptionController");if(t&&n){if(t.hasAttribute("disabled"))return e.stopImmediatePropagation(),!1;var r=o.hashGetter(n.value),i=ie.isDefined(o.selected[r]);a.$apply(function(){o.isMultiple?i?o.deselect(r):o.select(r,n.value):i||(o.deselect(Object.keys(o.selected)[0]),o.select(r,n.value)),o.refreshViewValue()})}}e.addClass("_md"),i(e),e.on("click",r),e.on("keypress",function(e){13!=e.keyCode&&32!=e.keyCode||r(e)})}}};function e(i,e,a){var r,o=this;o.isMultiple=ie.isDefined(e.multiple),o.selected={},o.options={},i.$watchCollection(function(){return o.options},function(){o.ngModel.$render()}),o.setMultiple=function(e){var t=o.ngModel;function n(e,t){return ie.isArray(e||t||[])}r=r||t.$isEmpty,o.isMultiple=e,o.isMultiple?(t.$validators["md-multiple"]=n,t.$render=f,i.$watchCollection(o.modelBinding,function(e){n(e)&&f(),o.ngModel.$setPristine()}),t.$isEmpty=function(e){return!e||0===e.length}):(delete t.$validators["md-multiple"],t.$render=d)};var s,c,l,u="";function f(){var n=o.ngModel.$modelValue||o.ngModel.$viewValue||[];if(ie.isArray(n)){var e=Object.keys(o.selected),t=n.map(o.hashGetter);e.filter(function(e){return-1===t.indexOf(e)}).forEach(o.deselect),t.forEach(function(e,t){o.select(e,n[t])})}}function d(){var e=o.ngModel.$viewValue||o.ngModel.$modelValue;Object.keys(o.selected).forEach(o.deselect),o.select(o.hashGetter(e),e)}o.optNodeForKeyboardSearch=function(e){s&&clearTimeout(s),s=setTimeout(function(){u="",c=l=s=ae},300);var t=e.keyCode-(m.isNumPadKey(e)?48:0);u+=String.fromCharCode(t);var n=new RegExp("^"+u,"i");c||(c=a.find("md-option"),l=new Array(c.length),ie.forEach(c,function(e,t){l[t]=e.textContent.trim()}));for(var r=0;r<l.length;++r)if(n.test(l[r]))return c[r]},o.init=function(e,t){if(o.ngModel=e,o.modelBinding=t,o.ngModel.$isEmpty=function(e){return!o.options[o.hashGetter(e)]},e.$options&&e.$options.trackBy){var n={},r=h(e.$options.trackBy);o.hashGetter=function(e,t){return n.$value=e,r(t||i,n)}}else o.hashGetter=function(e){return ie.isObject(e)?"object_"+(e.$$mdSelectId||(e.$$mdSelectId=++g)):e};o.setMultiple(o.isMultiple)},o.selectedLabels=function(e){var t,n=(e=e||{}).mode||"html",r=p.nodesToArray(a[0].querySelectorAll("md-option[selected]"));return r.length?("html"==n?t=function(e){if(e.hasAttribute("md-option-empty"))return"";var t=e.innerHTML,n=e.querySelector(".md-ripple-container");n&&(t=t.replace(n.outerHTML,""));var r=e.querySelector(".md-container");return r&&(t=t.replace(r.outerHTML,"")),t}:"aria"==n&&(t=function(e){return e.hasAttribute("aria-label")?e.getAttribute("aria-label"):e.textContent}),r.map(t).join(", ")):""},o.select=function(e,t){var n=o.options[e];n&&n.setSelected(!0),o.selected[e]=t},o.deselect=function(e){var t=o.options[e];t&&t.setSelected(!1),delete o.selected[e]},o.addOption=function(e,t){if(ie.isDefined(o.options[e]))throw new Error('Duplicate md-option values are not allowed in a select. Duplicate value "'+t.value+'" found.');o.options[e]=t,ie.isDefined(o.selected[e])&&(o.select(e,t.value),ie.isDefined(o.ngModel.$modelValue)&&o.hashGetter(o.ngModel.$modelValue)===e&&o.ngModel.$validate(),o.refreshViewValue())},o.removeOption=function(e){delete o.options[e]},o.refreshViewValue=function(){var e,t=[];for(var n in o.selected)(e=o.options[n])?t.push(e.value):t.push(o.selected[n]);var r=o.ngModel.$options&&o.ngModel.$options.trackBy,i=o.isMultiple?t:t[0],a=o.ngModel.$modelValue;(r?ie.equals(a,i):a==i)||(o.ngModel.$setViewValue(i),o.ngModel.$render())}}}function n(r,i){return e.$inject=["$element"],{restrict:"E",require:["mdOption","^^mdSelectMenu"],controller:e,compile:function(e,t){e.append(ie.element('<div class="md-text">').append(e.contents())),e.attr("tabindex",t.tabindex||"0"),n=t,r=n.value,i=n.ngValue,r||i||e.attr("md-option-empty","");var n,r,i;return a}};function a(a,t,e,n){var o=n[0],s=n[1];function c(e,t,n){if(s.hashGetter){var r=s.hashGetter(t,a),i=s.hashGetter(e,a);o.hashKey=i,o.value=e,s.removeOption(r,o),s.addOption(i,o)}else n||a.$$postDigest(function(){c(e,t,!0)})}s.isMultiple&&(t.addClass("md-checkbox-enabled"),t.prepend(l.clone())),ie.isDefined(e.ngValue)?a.$watch(e.ngValue,c):ie.isDefined(e.value)?c(e.value):a.$watch(function(){return t.text().trim()},c),e.$observe("disabled",function(e){e?t.attr("tabindex","-1"):t.attr("tabindex","0")}),a.$$postDigest(function(){e.$observe("selected",function(e){ie.isDefined(e)&&("string"==typeof e&&(e=!0),e?(s.isMultiple||s.deselect(Object.keys(s.selected)[0]),s.select(o.hashKey,o.value)):s.deselect(o.hashKey),s.refreshViewValue())})}),r.attach(a,t),function(){var e={role:"option","aria-selected":"false"};t[0].hasAttribute("id")||(e.id="select_option_"+i.nextUid());t.attr(e)}(),a.$on("$destroy",function(){s.removeOption(o.hashKey,o)})}function e(t){this.selected=!1,this.setSelected=function(e){e&&!this.selected?t.attr({selected:"selected","aria-selected":"true"}):!e&&this.selected&&(t.removeAttr("selected"),t.attr("aria-selected","false")),this.selected=e}}}function r(e){return t.$inject=["$mdSelect","$mdConstant","$mdUtil","$window","$q","$$rAF","$animateCss","$animate","$document"],e("$mdSelect").setDefaults({methods:["target"],options:t});function t(l,u,O,R,a,f,d,h,N){var p=O.dom.animator,m=u.KEY_CODE;return{parent:"body",themable:!0,onShow:function(o,s,c){return c.loadingAsync&&!c.isRemoved&&(o.$$loadingAsyncDone=!1,a.when(c.loadingAsync).then(function(){o.$$loadingAsyncDone=!0,delete c.loadingAsync}).then(function(){f(i)})),function(e,t){var n=s.find("md-select-menu");if(!t.target)throw new Error(O.supplant("$mdSelect.show() expected a target element in options.target but got '{0}'!",[t.target]));ie.extend(t,{isRemoved:!1,target:ie.element(t.target),parent:ie.element(t.parent),selectEl:n,contentEl:s.find("md-content"),optionNodes:n[0].getElementsByTagName("md-option")})}(0,c),c.hideBackdrop=(t=o,r=c,r.disableParentScroll&&!O.getClosest(r.target,"MD-DIALOG")?r.restoreScroll=O.disableScrollAround(r.element,r.parent):r.disableParentScroll=!1,r.hasBackdrop&&(r.backdrop=O.createBackdrop(t,"md-select-backdrop md-click-catcher"),h.enter(r.backdrop,N[0].body,null,{duration:0})),function(){r.backdrop&&r.backdrop.remove(),r.disableParentScroll&&r.restoreScroll(),delete r.restoreScroll}),(n=s,e=c,e.parent.append(n),a(function(e,t){try{d(n,{removeClass:"md-leave",duration:0}).start().then(i).then(e)}catch(e){t(e)}})).then(function(e){var t,n,r,i,a;return s.attr("aria-hidden","false"),c.alreadyOpen=!0,c.cleanupInteraction=function(){if(!c.isRemoved){var r=c.selectEl,t=r.controller("mdSelectMenu")||{};return s.addClass("md-clickable"),c.backdrop&&c.backdrop.on("click",e),r.on("keydown",n),r.on("click",a),function(){c.backdrop&&c.backdrop.off("click",e),r.off("keydown",n),r.off("click",a),s.removeClass("md-clickable"),c.isRemoved=!0}}function e(e){e.preventDefault(),e.stopPropagation(),c.restoreFocus=!1,O.nextTick(l.hide,!0)}function n(e){switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case m.UP_ARROW:return void i("prev");case m.DOWN_ARROW:return void i("next");case m.SPACE:case m.ENTER:var t=O.getClosest(e.target,"md-option");t&&(r.triggerHandler({type:"click",target:t}),e.preventDefault()),a(e);break;case m.TAB:case m.ESCAPE:e.stopPropagation(),e.preventDefault(),c.restoreFocus=!0,O.nextTick(l.hide,!0);break;default:if(u.isInputKey(e)||u.isNumPadKey(e)){var n=r.controller("mdSelectMenu").optNodeForKeyboardSearch(e);c.focusedNode=n||c.focusedNode,n&&n.focus()}}}function i(e){for(var t,n=O.nodesToArray(c.optionNodes),r=n.indexOf(c.focusedNode);-1===r?r=0:"next"===e&&r<n.length-1?r++:"prev"===e&&0<r&&r--,(t=n[r]).hasAttribute("disabled")&&(t=ae),!t&&r<n.length-1&&0<r;);t&&t.focus(),c.focusedNode=t}function a(i){if(!(i&&"click"==i.type&&i.currentTarget!=r[0]||function(){var e=!1;if(i&&0<i.currentTarget.children.length){var t=i.currentTarget.children[0],n=t.scrollHeight>t.clientHeight;if(n&&0<t.children.length){var r=i.pageX-i.currentTarget.getBoundingClientRect().left;r>t.querySelector("md-option").offsetWidth&&(e=!0)}}return e}())){var e=O.getClosest(i.target,"md-option");e&&e.hasAttribute&&!e.hasAttribute("disabled")&&(i.preventDefault(),i.stopPropagation(),t.isMultiple||(c.restoreFocus=!0,O.nextTick(function(){l.hide(t.ngModel.$viewValue)},!0)))}}}(),c.cleanupResizing=(r=o,i=s,a=c,t=function(){if(!a.isRemoved){var e=g(r,i,a),t=e.container,n=e.dropDown;t.element.css(p.toCss(t.styles)),n.element.css(p.toCss(n.styles))}},(n=ie.element(R)).on("resize",t),n.on("orientationchange",t),function(){n.off("resize",t),n.off("orientationchange",t)}),e},c.hideBackdrop);var n,e;var t,r;function i(){return a(function(t){if(c.isRemoved)return a.reject(!1);var n=g(o,s,c);n.container.element.css(p.toCss(n.container.styles)),n.dropDown.element.css(p.toCss(n.dropDown.styles)),f(function(){var e;s.addClass("md-active"),n.dropDown.element.css(p.toCss({transform:""})),(e=c.focusedNode)&&!e.hasAttribute("disabled")&&e.focus(),t()})})}},onRemove:function(e,t,n){return(n=n||{}).cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),!0===n.$destroy?r():d(t,{addClass:"md-leave"}).start().then(r);function r(){t.removeClass("md-active"),t.attr("aria-hidden","true"),t[0].style.display="none",function(e){var t=e.selectCtrl;if(t){var n=e.selectEl.controller("mdSelectMenu");t.setLabelText(n?n.selectedLabels():""),t.triggerClose()}}(n),!n.$destroy&&n.restoreFocus&&n.target.focus()}},hasBackdrop:!0,disableParentScroll:!0};function g(e,t,n){var r,i,a=t[0],o=n.target[0].children[0],s=N[0].body,c=n.selectEl[0],l=n.contentEl[0],u=s.getBoundingClientRect(),f=o.getBoundingClientRect(),d={left:u.left+F,top:F,bottom:u.height-F,right:u.width-F-(O.floatingScrollbars()?16:0)},h=f.top-d.top,p=(f.left,f.left,f.width,d.bottom-(f.top+f.height)),m=u.width-2*F,g=c.querySelector("md-option[selected]"),_=c.getElementsByTagName("md-option"),b=c.getElementsByTagName("md-optgroup"),v=function(e,t){var n=!1;try{var r=e[0].style.display;e[0].style.display="block",n=t.scrollHeight>t.offsetHeight,e[0].style.display=r}finally{}return n}(t,l);r=(i=n.loadingAsync)&&ie.isFunction(i.then)?l.firstElementChild||l:g||(b.length?b[0]:_.length?_[0]:l.firstElementChild||l),l.offsetWidth>m?l.style["max-width"]=m+"px":l.style.maxWidth=null,v&&c.classList.add("md-overflow");var y=r;"MD-OPTGROUP"===(y.tagName||"").toUpperCase()&&(r=y=_[0]||l.firstElementChild||l),n.focusedNode=y,a.style.display="block";var w,C,A,S,T,x,k=c.getBoundingClientRect(),E=(w=r)?{left:w.offsetLeft,top:w.offsetTop,width:w.offsetWidth,height:w.offsetHeight}:{left:0,top:0,width:0,height:0};if(r){var D=R.getComputedStyle(r);E.paddingLeft=parseInt(D.paddingLeft,10)||0,E.paddingRight=parseInt(D.paddingRight,10)||0}if(v){var I=l.offsetHeight/2;l.scrollTop=E.top+E.height/2-I,h<I?l.scrollTop=Math.min(E.top,l.scrollTop+I-h):p<I&&(l.scrollTop=Math.max(E.top+E.height-k.height,l.scrollTop-I+p))}C=f.left+E.left-E.paddingLeft+2,A=Math.floor(f.top+f.height/2-E.height/2-E.top+l.scrollTop)+2,S=E.left+f.width/2+"px "+(E.top+E.height/2-l.scrollTop)+"px 0px",T=Math.min(f.width+E.paddingLeft+E.paddingRight,m),x=G.getComputedStyle(o)["font-size"];var P=a.getBoundingClientRect(),M=Math.round(100*Math.min(f.width/k.width,1))/100,$=Math.round(100*Math.min(f.height/k.height,1))/100;return{container:{element:ie.element(a),styles:{left:Math.floor(L(d.left,C,d.right-P.width)),top:Math.floor(L(d.top,A,d.bottom-P.height)),"min-width":T,"font-size":x}},dropDown:{element:ie.element(c),styles:{transformOrigin:S,transform:n.alreadyOpen?"":O.supplant("scale({0},{1})",[M,$])}}}}}function L(e,t,n){return Math.max(e,Math.min(t,n))}}ie.module("material.components.select",["material.core","material.components.backdrop"]).directive("mdSelect",e).directive("mdSelectMenu",t).directive("mdOption",n).directive("mdOptgroup",function(){return{restrict:"E",compile:function(t,n){t.parent().find("md-select-header").length||function(){var e=t.find("label");e.length||(e=ie.element("<label>"),t.prepend(e));e.addClass("md-container-ignore"),n.label&&e.text(n.label)}()}}}).directive("mdSelectHeader",function(){return{restrict:"E"}}).provider("$mdSelect",r)}(),function(){function e(c,l){return["$mdUtil","$window",function(o,s){return{restrict:"A",multiElement:!0,link:function(r,i,t){var a=r.$on("$md-resize-enable",function(){a();var e=i[0],n=e.nodeType===s.Node.ELEMENT_NODE?s.getComputedStyle(e):{};r.$watch(t[c],function(e){if(!!e===l){o.nextTick(function(){r.$broadcast("$md-resize")});var t={cachedTransitionStyles:n};o.dom.animator.waitTransitionEnd(i,t).then(function(){r.$broadcast("$md-resize")})}})})}}}]}ie.module("material.components.showHide",["material.core"]).directive("ngShow",e("ngShow",!0)).directive("ngHide",e("ngHide",!1))}(),function(){function e(r,c,l,i){var u="SideNav '{0}' is not available! Did you use md-component-id='{0}'?",f={find:function(e,t){var n=r.get(e);return n||t?n:(i.error(c.supplant(u,[e||""])),ae)},waitFor:d};return function(e,t){if(ie.isUndefined(e))return f;var n,r,i,a,o=!0===t,s=f.find(e,o);return!s&&o?f.waitFor(e):!s&&ie.isUndefined(t)?(n=f,r=e,i=function(){return!1},a=function(){return l.when(c.supplant(u,[r||""]))},ie.extend({isLockedOpen:i,isOpen:i,toggle:a,open:a,close:a,onClose:ie.noop,then:function(e){return d(r).then(e||ie.noop)}},n)):s};function d(e){return r.when(e).catch(i.error)}}function t(r,m,i,g,_,e,b,v,y,w){return{restrict:"E",scope:{isOpen:"=?mdIsOpen"},controller:"$mdSidenavController",compile:function(e){return e.addClass("md-closed"),e.attr("tabIndex","-1"),t}};function t(a,o,e,t){var s,c,l,u=null,f=null,d=y.when(!0),n=b(e.mdIsLockedOpen);function h(e){return e.keyCode===i.KEY_CODE.ESCAPE?p(e):y.when(!0)}function p(e){return e.preventDefault(),t.close()}e.mdDisableScrollTarget&&((u=w[0].querySelector(e.mdDisableScrollTarget))?u=ie.element(u):v.warn(m.supplant('mdSidenav: couldn\'t find element matching selector "{selector}". Falling back to parent.',{selector:e.mdDisableScrollTarget}))),u||(u=o.parent()),e.hasOwnProperty("mdDisableBackdrop")||(c=m.createBackdrop(a,"md-sidenav-backdrop md-opaque ng-enter")),o.addClass("_md"),g(o),c&&g.inherit(c,o),o.on("$destroy",function(){c&&c.remove(),t.destroy()}),a.$on("$destroy",function(){c&&c.remove()}),a.$watch(function(){return n(a.$parent,{$media:function(e){return v.warn("$media is deprecated for is-locked-open. Use $mdMedia instead."),r(e)},$mdMedia:r})},function(e,t){(a.isLockedOpen=e)===t?o.toggleClass("md-locked-open",!!e):_[e?"addClass":"removeClass"](o,"md-locked-open");c&&c.toggleClass("md-locked-open",!!e)}),a.$watch("isOpen",function(e){var t=m.findFocusTarget(o)||m.findFocusTarget(o,"[md-sidenav-focus]")||o,n=o.parent();n[e?"on":"off"]("keydown",h),c&&c[e?"on":"off"]("click",p);var r=function(e,t){var n=o[0],r=e[0].scrollTop;if(t&&r){l={top:n.style.top,bottom:n.style.bottom,height:n.style.height};var i={top:r+"px",bottom:"auto",height:e[0].clientHeight+"px"};o.css(i),c.css(i)}if(!t&&l)return function(){n.style.top=l.top,n.style.bottom=l.bottom,n.style.height=l.height,c[0].style.top=null,c[0].style.bottom=null,c[0].style.height=null,l=null}}(n,e);e&&(f=w[0].activeElement);return i=e,i&&!s?(s=u.css("overflow"),u.css("overflow","hidden")):ie.isDefined(s)&&(u.css("overflow",s),s=ae),d=y.all([e&&c?_.enter(c,n):c?_.leave(c):y.when(!0),_[e?"removeClass":"addClass"](o,"md-closed")]).then(function(){a.isOpen&&t&&t.focus(),r&&r()});var i}),t.$toggleOpen=function(e){return a.isOpen==e?y.when(!0):(a.isOpen&&t.onCloseCb&&t.onCloseCb(),y(function(t){a.isOpen=e,m.nextTick(function(){d.then(function(e){a.isOpen||(f&&f.focus(),f=null),t(e)})})}))}}}function n(t,e,n,r,i){var a=this;a.isOpen=function(){return!!t.isOpen},a.isLockedOpen=function(){return!!t.isLockedOpen},a.onClose=function(e){return a.onCloseCb=e,a},a.open=function(){return a.$toggleOpen(!0)},a.close=function(){return a.$toggleOpen(!1)},a.toggle=function(){return a.$toggleOpen(!t.isOpen)},a.$toggleOpen=function(e){return i.when(t.isOpen=e)},a.destroy=r.register(a,n.mdComponentId)}e.$inject=["$mdComponentRegistry","$mdUtil","$q","$log"],t.$inject=["$mdMedia","$mdUtil","$mdConstant","$mdTheming","$animate","$compile","$parse","$log","$q","$document"],n.$inject=["$scope","$element","$attrs","$mdComponentRegistry","$q"],ie.module("material.components.sidenav",["material.core","material.components.backdrop"]).factory("$mdSidenav",e).directive("mdSidenav",t).directive("mdSidenavFocus",function(){return{restrict:"A",require:"^mdSidenav",link:function(e,t,n,r){}}}).controller("$mdSidenavController",n)}(),function(){function e(H,W,i,q,z,V,Y,K,Q,X){return{scope:{},require:["?ngModel","?^mdSliderContainer"],template:'<div class="md-slider-wrapper"><div class="md-slider-content"><div class="md-track-container"><div class="md-track"></div><div class="md-track md-track-fill"></div><div class="md-track-ticks"></div></div><div class="md-thumb-container"><div class="md-thumb"></div><div class="md-focus-thumb"></div><div class="md-focus-ring"></div><div class="md-sign"><span class="md-thumb-text"></span></div><div class="md-disabled-thumb"></div></div></div></div>',compile:function(e,t){var n=ie.element(e[0].getElementsByClassName("md-slider-wrapper")),r=t.tabindex||0;n.attr("tabindex",r),(t.disabled||t.ngDisabled)&&n.attr("tabindex",-1);return n.attr("role","slider"),i.expect(e,"aria-label"),a}};function a(i,a,e,t){V(a);var n=t[0]||{$setViewValue:function(e){this.$viewValue=e,this.$viewChangeListeners.forEach(function(e){e()})},$parsers:[],$formatters:[],$viewChangeListeners:[]},r=t[1],o=(ie.element(q.getClosest(a,"_md-slider-container",!0)),e.ngDisabled?ie.bind(null,K(e.ngDisabled),i.$parent):function(){return a[0].hasAttribute("disabled")}),s=ie.element(a[0].querySelector(".md-thumb")),c=ie.element(a[0].querySelector(".md-thumb-text")),l=s.parent(),u=ie.element(a[0].querySelector(".md-track-container")),f=ie.element(a[0].querySelector(".md-track-fill")),d=ie.element(a[0].querySelector(".md-track-ticks")),h=ie.element(a[0].getElementsByClassName("md-slider-wrapper")),p=(ie.element(a[0].getElementsByClassName("md-slider-content")),q.throttle(P,5e3)),m=ie.isDefined(e.mdVertical),g=ie.isDefined(e.mdDiscrete),_=ie.isDefined(e.mdInvert);ie.isDefined(e.min)?e.$observe("min",x):x(0),ie.isDefined(e.max)?e.$observe("max",k):k(100),ie.isDefined(e.step)?e.$observe("step",E):E(1),ie.isDefined(e.round)?e.$observe("round",D):D(3);ie.noop;function b(){P(),O()}e.ngDisabled&&i.$parent.$watch(e.ngDisabled,function(){a.attr("aria-disabled",!!o())}),Y.register(h,"drag",{horizontal:!m}),i.mouseActive=!1,h.on("keydown",function(e){if(o())return;var t;(m?e.keyCode===z.KEY_CODE.DOWN_ARROW:e.keyCode===z.KEY_CODE.LEFT_ARROW)?t=-w:(m?e.keyCode===z.KEY_CODE.UP_ARROW:e.keyCode===z.KEY_CODE.RIGHT_ARROW)&&(t=w);(t=_?-t:t)&&((e.metaKey||e.ctrlKey||e.altKey)&&(t*=4),e.preventDefault(),e.stopPropagation(),i.$evalAsync(function(){$(n.$viewValue+t)}))}).on("mousedown",function(){(function(){if(!g||o())return;if(ie.isUndefined(w))return;if(w<=0){var e="Slider step value must be greater than zero when in discrete mode";throw Q.error(e),new Error(e)}var t=Math.floor((y-v)/w);A||(A=ie.element("<canvas>").css("position","absolute"),d.append(A),S=A[0].getContext("2d"));var n,r=M();!r||r.height||r.width||(P(),r=I);A[0].width=r.width,A[0].height=r.height;for(var i=0;i<=t;i++){var a=W.getComputedStyle(d[0]);S.fillStyle=a.color||"black",n=Math.floor((m?r.height:r.width)*(i/t)),S.fillRect(m?0:n-1,m?n-1:0,m?r.width:2,m?2:r.height)}})(),i.mouseActive=!0,h.removeClass("md-focused"),X(function(){i.mouseActive=!1},100)}).on("focus",function(){!1===i.mouseActive&&h.addClass("md-focused")}).on("blur",function(){h.removeClass("md-focused"),a.removeClass("md-active"),function(){if(A&&S){var e=M();S.clearRect(0,0,e.width,e.height)}}()}).on("$md.pressdown",function(e){if(o())return;a.addClass("md-active"),a[0].focus(),P();var t=R(N(B(j(m?e.pointer.y:e.pointer.x))));i.$apply(function(){$(t),L(U(t))})}).on("$md.pressup",function(e){if(o())return;a.removeClass("md-dragging");var t=R(N(B(j(m?e.pointer.y:e.pointer.x))));i.$apply(function(){$(t),O()})}).on("$md.dragstart",function(e){if(o())return;F=!0,e.stopPropagation(),a.addClass("md-dragging"),G(e)}).on("$md.drag",function(e){if(!F)return;e.stopPropagation(),G(e)}).on("$md.dragend",function(e){if(!F)return;e.stopPropagation(),F=!1}),setTimeout(b,0);var v,y,w,C,A,S,T=H.throttle(b);function x(e){v=parseFloat(e),a.attr("aria-valuemin",e),b()}function k(e){y=parseFloat(e),a.attr("aria-valuemax",e),b()}function E(e){w=parseFloat(e)}function D(e){C=R(parseInt(e),0,6)}ie.element(W).on("resize",T),i.$on("$destroy",function(){ie.element(W).off("resize",T)}),n.$render=O,n.$viewChangeListeners.push(O),n.$formatters.push(R),n.$formatters.push(N);var I={};function P(){I=u[0].getBoundingClientRect()}function M(){return p(),I}function $(e){n.$setViewValue(R(N(e)))}function O(){isNaN(n.$viewValue)&&(n.$viewValue=n.$modelValue),n.$viewValue=R(n.$viewValue);var e=U(n.$viewValue);i.modelValue=n.$viewValue,a.attr("aria-valuenow",n.$viewValue),L(e),c.text(n.$viewValue)}function R(e,t,n){if(ie.isNumber(e))return t=ie.isNumber(t)?t:v,n=ie.isNumber(n)?n:y,Math.max(t,Math.min(n,e))}function N(e){if(ie.isNumber(e)){var t=Math.round((e-v)/w)*w+v;return t=Math.round(t*Math.pow(10,C))/Math.pow(10,C),r&&r.fitInputWidthToTextLength&&q.debounce(function(){r.fitInputWidthToTextLength(t.toString().length)},100)(),t}}function L(e){var t;t=e;var n=100*(e=Math.max(0,Math.min(t||0,1)))+"%",r=_?100*(1-e)+"%":n;m?l.css("bottom",n):q.bidiProperty(l,"left","right",n),f.css(m?"height":"width",r),a.toggleClass(_?"md-max":"md-min",0===e),a.toggleClass(_?"md-min":"md-max",1===e)}P();var F=!1;function G(e){var t,n,r;g?(n=m?e.pointer.y:e.pointer.x,r=R(N(B(j(n)))),L(j(n)),c.text(r)):(t=m?e.pointer.y:e.pointer.x,i.$evalAsync(function(){$(B(j(t)))}))}function j(e){var t=(e-(m?I.top:I.left))/(m?I.height:I.width);return m||"rtl"!==q.bidi()||(t=1-t),Math.max(0,Math.min(1,m?1-t:t))}function B(e){return v+(_?1-e:e)*(y-v)}function U(e){var t=(e-v)/(y-v);return _?1-t:t}}}e.$inject=["$$rAF","$window","$mdAria","$mdUtil","$mdConstant","$mdTheming","$mdGesture","$parse","$log","$timeout"],ie.module("material.components.slider",["material.core"]).directive("mdSlider",e).directive("mdSliderContainer",function(){return{controller:function(){},compile:function(e){var t=e.find("md-slider");if(t){var n=t.attr("md-vertical");return n!==ae&&e.attr("md-vertical",""),t.attr("flex")||t.attr("flex",""),function(e,o,t,n){function r(e){o.children().attr("disabled",e),o.find("input").attr("disabled",e)}o.addClass("_md");var s,i=ie.noop;t.disabled?r(!0):t.ngDisabled&&(i=e.$watch(t.ngDisabled,function(e){r(e)})),e.$on("$destroy",function(){i()}),n.fitInputWidthToTextLength=function(e){var t=o[0].querySelector("md-input-container");if(t){var n=getComputedStyle(t),r=parseInt(n.minWidth),i=2*parseInt(n.padding);s=s||parseInt(n.maxWidth);var a=Math.max(s,r+i+r/2*e);t.style.maxWidth=a+"px"}}}}}}})}(),function(){function e(l,u,f,s){var c=f.checkStickySupport();return function(e,t,n){var r=t.controller("mdContent");if(r)if(c)t.css({position:c,top:0,"z-index":2});else{var i=r.$element.data("$$sticky");i||(i=function(e){var r,i=e.$element,a=u.throttle(t);return function(e){var t,n,r=200;function i(){+f.now()-n>r?(t=!1,e.triggerHandler("$scrollend")):(e.triggerHandler("$scroll"),u.throttle(i))}e.on("scroll touchmove",function(){t||(t=!0,u.throttle(i),e.triggerHandler("$scrollstart")),e.triggerHandler("$scroll"),n=+f.now()})}(i),i.on("$scrollstart",a),i.on("$scroll",function e(){var t=i.prop("scrollTop"),n=(e.prevScrollTop||0)<t;if(0!==(e.prevScrollTop=t)){if(n){if(r.next&&r.next.top<=t)return void s(r.next);if(r.current&&r.next&&r.next.top-t<=r.next.height)return void c(r.current,t+(r.next.top-r.next.height-t))}if(!n){if(r.current&&r.prev&&t<r.current.top)return void s(r.prev);if(r.next&&r.current&&t>=r.next.top-r.current.height)return void c(r.current,t+(r.next.top-t-r.current.height))}r.current&&c(r.current,t)}else s(null)}),r={prev:null,current:null,next:null,items:[],add:function(n,e){e.addClass("md-sticky-clone");var t={element:n,clone:e};return r.items.push(t),f.nextTick(function(){i.prepend(t.clone)}),a(),function(){r.items.forEach(function(e,t){e.element[0]===n[0]&&(r.items.splice(t,1),e.clone.remove())}),a()}},refreshElements:t};function t(){var e;r.items.forEach(o),r.items=r.items.sort(function(e,t){return e.top<t.top?-1:1});for(var t=i.prop("scrollTop"),n=r.items.length-1;0<=n;n--)if(t>r.items[n].top){e=r.items[n];break}s(e)}function o(e){var t=e.element[0];for(e.top=0,e.left=0,e.right=0;t&&t!==i[0];)e.top+=t.offsetTop,e.left+=t.offsetLeft,t.offsetParent&&(e.right+=t.offsetParent.offsetWidth-t.offsetWidth-t.offsetLeft),t=t.offsetParent;e.height=e.element.prop("offsetHeight");var n=f.floatingScrollbars()?"0":ae;f.bidi(e.clone,"margin-left",e.left,n),f.bidi(e.clone,"margin-right",n,e.right)}function s(e){if(r.current!==e){r.current&&(c(r.current,null),n(r.current,null)),e&&n(e,"active"),r.current=e;var t=r.items.indexOf(e);r.next=r.items[t+1],r.prev=r.items[t-1],n(r.next,"next"),n(r.prev,"prev")}}function n(e,t){e&&e.state!==t&&(e.state&&(e.clone.attr("sticky-prev-state",e.state),e.element.attr("sticky-prev-state",e.state)),e.clone.attr("sticky-state",t),e.element.attr("sticky-state",t),e.state=t)}function c(e,t){e&&(null===t||t===ae?e.translateY&&(e.translateY=null,e.clone.css(l.CSS.TRANSFORM,"")):(e.translateY=t,f.bidi(e.clone,l.CSS.TRANSFORM,"translate3d("+e.left+"px,"+t+"px,0)","translateY("+t+"px)")))}}(r),r.$element.data("$$sticky",i));var a=n||s(t.clone())(e),o=i.add(t,a);e.$on("$destroy",o)}}}e.$inject=["$mdConstant","$$rAF","$mdUtil","$compile"],ie.module("material.components.sticky",["material.core","material.components.content"]).factory("$mdSticky",e)}(),function(){function e(s,c,l,u){return{restrict:"E",replace:!0,transclude:!0,template:'<div class="md-subheader _md"> <div class="md-subheader-inner"> <div class="md-subheader-content"></div> </div></div>',link:function(n,r,e,t,i){l(r),r.addClass("_md"),u.prefixer().removeAttribute(r,"ng-repeat");var a=r[0].outerHTML;function o(e){return ie.element(e[0].querySelector(".md-subheader-content"))}i(n,function(e){o(r).append(e)}),r.hasClass("md-no-sticky")||i(n,function(e){var t=c('<div class="md-subheader-wrapper">'+a+"</div>")(n);u.nextTick(function(){o(t).append(e)}),s(n,r,t)})}}}e.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"],ie.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",e)}(),function(){function e(e){t.$inject=["$parse"];var a="md"+e,o="$md."+e.toLowerCase();return t;function t(i){return{restrict:"A",link:function(t,e,n){var r=i(n[a]);e.on(o,function(e){t.$applyAsync(function(){r(t,{$event:e})})})}}}}ie.module("material.components.swipe",["material.core"]).directive("mdSwipeLeft",e("SwipeLeft")).directive("mdSwipeRight",e("SwipeRight")).directive("mdSwipeUp",e("SwipeUp")).directive("mdSwipeDown",e("SwipeDown"))}(),function(){function e(e,l,u,f,d,h,p){var n=e[0];return{restrict:"E",priority:210,transclude:!0,template:'<div class="md-container"><div class="md-bar"></div><div class="md-thumb-container"><div class="md-thumb" md-ink-ripple md-ink-ripple-checkbox></div></div></div><div ng-transclude class="md-label"></div>',require:"?ngModel",compile:function(e,t){var c=n.compile(e,t).post;return e.addClass("md-dragging"),function(n,r,e,i){i=i||l.fakeNgModel();var t=null;null!=e.disabled?t=function(){return!0}:e.ngDisabled&&(t=f(e.ngDisabled));var a,o=ie.element(r[0].querySelector(".md-thumb-container")),s=ie.element(r[0].querySelector(".md-container"));d(function(){r.removeClass("md-dragging")}),c(n,r,e,i),t&&n.$watch(t,function(e){r.attr("tabindex",e?-1:0)}),h.register(s,"drag"),s.on("$md.dragstart",function(e){t&&t(n)||(e.stopPropagation(),r.addClass("md-dragging"),a={width:o.prop("offsetWidth")})}).on("$md.drag",function(e){if(a){e.stopPropagation(),e.srcEvent&&e.srcEvent.preventDefault();var t=e.pointer.distanceX/a.width,n=i.$viewValue?1+t:t;n=Math.max(0,Math.min(1,n)),o.css(u.CSS.TRANSFORM,"translate3d("+100*n+"%,0,0)"),a.translate=n}}).on("$md.dragend",function(e){var t;a&&(e.stopPropagation(),r.removeClass("md-dragging"),o.css(u.CSS.TRANSFORM,""),(i.$viewValue?a.translate<.5:.5<a.translate)&&(t=!i.$viewValue,n.$apply(function(){i.$setViewValue(t),i.$render()})),a=null,n.skipToggle=!0,p(function(){n.skipToggle=!1},1))})}}}}e.$inject=["mdCheckboxDirective","$mdUtil","$mdConstant","$parse","$$rAF","$mdGesture","$timeout"],ie.module("material.components.switch",["material.core","material.components.checkbox"]).directive("mdSwitch",e)}(),ie.module("material.components.tabs",["material.core","material.components.icon"]),function(){function e(n){return{restrict:"E",link:function(e,t){t.addClass("_md"),e.$on("$destroy",function(){n.destroy()})}}}function t(e){n.$inject=["$animate","$mdToast","$mdUtil","$mdMedia"];var u;function t(e){u=e}return e("$mdToast").setDefaults({methods:["position","hideDelay","capsule","parent","position","toastClass"],options:n}).addPreset("simple",{argOption:"textContent",methods:["textContent","content","action","highlightAction","highlightClass","theme","parent"],options:["$mdToast","$mdTheming",function(n,e){return{template:'<md-toast md-theme="{{ toast.theme }}" ng-class="{\'md-capsule\': toast.capsule}"> <div class="md-toast-content"> <span class="md-toast-text" role="alert" aria-relevant="all" aria-atomic="true"> {{ toast.content }} </span> <md-button class="md-action" ng-if="toast.action" ng-click="toast.resolve()" ng-class="highlightClasses"> {{ toast.action }} </md-button> </div></md-toast>',controller:["$scope",function(e){var t=this;t.highlightAction&&(e.highlightClasses=["md-highlight",t.highlightClass]),e.$watch(function(){return u},function(){t.content=u}),this.resolve=function(){n.hide("ok")}}],theme:e.defaultTheme(),controllerAs:"toast",bindToController:!0}}]}).addMethod("updateTextContent",t).addMethod("updateContent",t);function n(r,s,c,n){var l="$md.swipeleft $md.swiperight $md.swipeup $md.swipedown";return{onShow:function(e,i,a){u=a.textContent||a.content;var o=!n("gt-sm");i=c.extractElementByName(i,"md-toast",!0),a.element=i,a.onSwipe=function(e,t){var n=e.type.replace("$md.",""),r=n.replace("swipe","");"down"===r&&-1!=a.position.indexOf("top")&&!o||"up"===r&&(-1!=a.position.indexOf("bottom")||o)||("left"!==r&&"right"!==r||!o)&&(i.addClass("md-"+n),c.nextTick(s.cancel))},a.openClass=(t=a.position,n("gt-xs")?"md-toast-open-"+(-1<t.indexOf("top")?"top":"bottom"):"md-toast-open-bottom"),i.addClass(a.toastClass),a.parent.addClass(a.openClass),c.hasComputedStyle(a.parent,"position","static")&&a.parent.css("position","relative");var t;i.on(l,a.onSwipe),i.addClass(o?"md-bottom":a.position.split(" ").map(function(e){return"md-"+e}).join(" ")),a.parent&&a.parent.addClass("md-toast-animating");return r.enter(i,a.parent).then(function(){a.parent&&a.parent.removeClass("md-toast-animating")})},onRemove:function(e,t,n){t.off(l,n.onSwipe),n.parent&&n.parent.addClass("md-toast-animating");n.openClass&&n.parent.removeClass(n.openClass);return(1==n.$destroy?t.remove():r.leave(t)).then(function(){n.parent&&n.parent.removeClass("md-toast-animating"),c.hasComputedStyle(n.parent,"position","static")&&n.parent.css("position","")})},toastClass:"",position:"bottom left",themable:!0,hideDelay:3e3,autoWrap:!0,transformTemplate:function(e,t){if(t.autoWrap&&e&&!/md-toast-content/g.test(e)){var n=document.createElement("md-template");n.innerHTML=e;for(var r=0;r<n.children.length;r++)if("MD-TOAST"===n.children[r].nodeName){var i=ie.element('<div class="md-toast-content">');i.append(ie.element(n.children[r].childNodes)),n.children[r].appendChild(i[0])}return n.innerHTML}return e||""}}}}e.$inject=["$mdToast"],t.$inject=["$$interimElementProvider"],ie.module("material.components.toast",["material.core","material.components.button"]).directive("mdToast",e).provider("$mdToast",t)}(),function(){function e(m,g,_,e,b){var v=ie.bind(null,_.supplant,"translate3d(0,{0}px,0)");return{template:"",restrict:"E",link:function(d,h,p){h.addClass("_md"),e(h),_.nextTick(function(){h.addClass("_md-toolbar-transitions")},!1),ie.isDefined(p.mdScrollShrink)&&function(){var n,r,i=ie.noop,a=0,o=0,s=p.mdShrinkSpeedFactor||.5,c=m.throttle(t),l=_.debounce(e,5e3);d.$on("$mdContentLoaded",u),p.$observe("mdScrollShrink",function(e){var t=h.parent().find("md-content");!r&&t.length&&u(null,t),!1===(e=d.$eval(e))?i():i=f()}),p.ngShow&&d.$watch(p.ngShow,e);p.ngHide&&d.$watch(p.ngHide,e);function u(e,t){t&&h.parent()[0]===t.parent()[0]&&(r&&r.off("scroll",c),r=t,i=f())}function t(e){var t=e?e.target.scrollTop:o;l(),a=Math.min(n/s,Math.max(0,a+t-o)),h.css(g.CSS.TRANSFORM,v([-a*s])),r.css(g.CSS.TRANSFORM,v([(n-a)*s])),o=t,_.nextTick(function(){var e=h.hasClass("md-whiteframe-z1");e&&!a?b.removeClass(h,"md-whiteframe-z1"):!e&&a&&b.addClass(h,"md-whiteframe-z1")})}function f(){return r?(r.on("scroll",c),r.attr("scroll-shrink","true"),_.nextTick(e,!1),function(){r.off("scroll",c),r.attr("scroll-shrink","false"),e()}):ie.noop}function e(){var e=-(n=h.prop("offsetHeight"))*s+"px";r.css({"margin-top":e,"margin-bottom":e}),t()}d.$on("$destroy",i)}()}}}e.$inject=["$$rAF","$mdConstant","$mdUtil","$mdTheming","$animate"],ie.module("material.components.toolbar",["material.core","material.components.content"]).directive("mdToolbar",e)}(),function(){function e(p,m,a,g,_,b,e,v,t,y){var w="focus touchstart mouseenter",C="blur touchcancel mouseleave",A="md-show";return{restrict:"E",transclude:!0,priority:210,template:'<div class="md-content _md" ng-transclude></div>',scope:{delay:"=?mdDelay",visible:"=?mdVisible",autohide:"=?mdAutohide",direction:"@?mdDirection"},compile:function(e,t){return t.mdDirection||t.$set("mdDirection","bottom"),n}};function n(c,o,l){b(o);var u=_.getParentWithPointerEvents(o),t=ie.element(o[0].getElementsByClassName("md-content")[0]),s=ie.element(document.body),f=null,d=a.throttle(function(){i()});function e(){var e="center top";switch(c.direction){case"left":e="right center";break;case"right":e="left center";break;case"top":e="center bottom";break;case"bottom":e="center top"}t.css("transform-origin",e)}function n(e){e?function(){if(!o[0].textContent.trim())return;if(o.css({top:0,left:0}),s.append(o),_.hasComputedStyle(o,"display","none"))return c.visible=!1,o.detach();i(),v.addClass(t,A).then(function(){o.addClass(A)})}():v.removeClass(t,A).then(function(){o.removeClass(A),c.visible||o.detach()})}function r(e){if((e||!u.attr("aria-label"))&&!u.text().trim()){var t=e||o.text().trim(),n=y(t)(u.scope());u.attr("aria-label",n)}}function h(e){h.queued&&h.value===!!e||!h.queued&&c.visible===!!e||(h.value=!!e,h.queued||(e?(h.queued=!0,f=p(function(){c.visible=h.value,h.queued=!1,f=null,c.visibleWatcher||n(c.visible)},c.delay)):_.nextTick(function(){c.visible=!1,c.visibleWatcher||n(!1)})))}function i(){c.visible&&(e(),function(){var n=_.offsetRect(o,s),t=_.offsetRect(u,s),e=a(c.direction),r=o.prop("offsetParent");c.direction?e=i(e):r&&e.top>r.scrollHeight-n.height-8&&(e=i(a("top")));function i(e){var t={left:e.left,top:e.top};return t.left=Math.min(t.left,s.prop("scrollWidth")-n.width-8),t.left=Math.max(t.left,8),t.top=Math.min(t.top,s.prop("scrollHeight")-n.height-8),t.top=Math.max(t.top,8),t}function a(e){return"left"===e?{left:t.left-n.width-8,top:t.top+t.height/2-n.height/2}:"right"===e?{left:t.left+t.width+8,top:t.top+t.height/2-n.height/2}:"top"===e?{left:t.left+t.width/2-n.width/2,top:t.top-n.height-8}:{left:t.left+t.width/2-n.width/2,top:t.top+t.height+8}}o.css({left:e.left+"px",top:e.top+"px"})}())}v.pin&&v.pin(o,u),c.delay=c.delay||0,o.detach(),o.attr("role","tooltip"),function(){var t=!1;if(u[0]&&"MutationObserver"in m){var e=new MutationObserver(function(e){e.some(function(e){return"disabled"===e.attributeName&&u[0].disabled})&&_.nextTick(function(){h(!1)})});e.observe(u[0],{attributes:!0})}var n=function(){r=document.activeElement===u[0]},r=!1;function i(){h(!1)}ie.element(m).on("blur",n).on("resize",d),document.addEventListener("scroll",i,!0),c.$on("$destroy",function(){ie.element(m).off("blur",n).off("resize",d),u.off(w,a).off(C,o).off("mousedown",s),o(),document.removeEventListener("scroll",i,!0),e&&e.disconnect()});var a=function(e){"focus"===e.type&&r?r=!1:c.visible||(u.on(C,o),h(!0),"touchstart"===e.type&&u.one("touchend",function(){_.nextTick(function(){g.one("touchend",o)},!1)}))},o=function(){var e=c.hasOwnProperty("autohide")?c.autohide:l.hasOwnProperty("mdAutohide");(e||t||g[0].activeElement!==u[0])&&(f&&(p.cancel(f),h.queued=!1,f=null),u.off(C,o),u.triggerHandler("blur"),h(!1)),t=!1},s=function(){t=!0};u.on("mousedown",s),u.on(w,a)}(),e(),function(){if(o[0]&&"MutationObserver"in m){var e=new MutationObserver(function(e){e.forEach(function(e){"md-visible"===e.attributeName&&(c.visibleWatcher||(c.visibleWatcher=c.$watch("visible",n))),"md-direction"===e.attributeName&&i(c.direction)})});e.observe(o[0],{attributes:!0}),l.hasOwnProperty("mdVisible")&&(c.visibleWatcher=c.$watch("visible",n))}else c.visibleWatcher=c.$watch("visible",n),c.$watch("direction",i);var t=function(){c.$destroy()};o.one("$destroy",t),u.one("$destroy",t),c.$on("$destroy",function(){h(!1),o.remove(),e&&e.disconnect()}),-1<o.text().indexOf(y.startSymbol())&&c.$watch(function(){return o.text().trim()},r)}(),r()}}e.$inject=["$timeout","$window","$$rAF","$document","$mdUtil","$mdTheming","$rootElement","$animate","$q","$interpolate"],ie.module("material.components.tooltip",["material.core"]).directive("mdTooltip",e)}(),function(){function e(e){return'<div class="md-virtual-repeat-scroller"><div class="md-virtual-repeat-sizer"></div><div class="md-virtual-repeat-offsetter">'+e[0].innerHTML+"</div></div>"}t.$inject=["$$rAF","$mdUtil","$parse","$rootScope","$window","$scope","$element","$attrs"],i.$inject=["$scope","$element","$attrs","$browser","$document","$rootScope","$$rAF","$mdUtil"],n.$inject=["$parse"],ie.module("material.components.virtualRepeat",["material.core","material.components.showHide"]).directive("mdVirtualRepeatContainer",function(){return{controller:t,template:e,compile:function(e,t){e.addClass("md-virtual-repeat-container").addClass(t.hasOwnProperty("mdOrientHorizontal")?"md-orient-horizontal":"md-orient-vertical")}}}).directive("mdVirtualRepeat",n);var o=1533917;function t(e,n,t,r,i,a,o,s){this.$rootScope=r,this.$scope=a,this.$element=o,this.$attrs=s,this.size=0,this.scrollSize=0,this.scrollOffset=0,this.horizontal=this.$attrs.hasOwnProperty("mdOrientHorizontal"),this.repeater=null,this.autoShrink=this.$attrs.hasOwnProperty("mdAutoShrink"),this.autoShrinkMin=parseInt(this.$attrs.mdAutoShrinkMin,10)||0,this.originalSize=null,this.offsetSize=parseInt(this.$attrs.mdOffsetSize,10)||0,this.oldElementSize=null,this.$attrs.mdTopIndex?(this.bindTopIndex=t(this.$attrs.mdTopIndex),this.topIndex=this.bindTopIndex(this.$scope),ie.isDefined(this.topIndex)||(this.topIndex=0,this.bindTopIndex.assign(this.$scope,0)),this.$scope.$watch(this.bindTopIndex,ie.bind(this,function(e){e!==this.topIndex&&this.scrollToIndex(e)}))):this.topIndex=0,this.scroller=o[0].querySelector(".md-virtual-repeat-scroller"),this.sizer=this.scroller.querySelector(".md-virtual-repeat-sizer"),this.offsetter=this.scroller.querySelector(".md-virtual-repeat-offsetter");var c=ie.bind(this,this.updateSize);e(ie.bind(this,function(){c();var e=n.debounce(c,10,null,!1),t=ie.element(i);this.size||e(),t.on("resize",e),a.$on("$destroy",function(){t.off("resize",e)}),a.$emit("$md-resize-enable"),a.$on("$md-resize",c)}))}function n(r){return{controller:i,priority:1e3,require:["mdVirtualRepeat","^^mdVirtualRepeatContainer"],restrict:"A",terminal:!0,transclude:"element",compile:function(e,t){var n=t.mdVirtualRepeat.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)\s*$/),a=n[1],o=r(n[2]),s=t.mdExtraName&&r(t.mdExtraName);return function(e,t,n,r,i){r[0].link_(r[1],i,a,o,s)}}}}function i(e,t,n,r,i,a,o,s){this.$scope=e,this.$element=t,this.$attrs=n,this.$browser=r,this.$document=i,this.$rootScope=a,this.$$rAF=o,this.onDemand=s.parseAttributeBoolean(n.mdOnDemand),this.browserCheckUrlChange=r.$$checkUrlChange,this.newStartIndex=0,this.newEndIndex=0,this.newVisibleEnd=0,this.startIndex=0,this.endIndex=0,this.itemSize=e.$eval(n.mdItemSize)||null,this.isFirstRender=!0,this.isVirtualRepeatUpdating_=!1,this.itemsLength=0,this.unwatchItemSize_=ie.noop,this.blocks={},this.pooledBlocks=[],e.$on("$destroy",ie.bind(this,this.cleanupBlocks_))}function r(e){if(!ie.isFunction(e.getItemAtIndex)||!ie.isFunction(e.getLength))throw Error("When md-on-demand is enabled, the Object passed to md-virtual-repeat must implement functions getItemAtIndex() and getLength() ");this.model=e}t.prototype.register=function(e){this.repeater=e,ie.element(this.scroller).on("scroll wheel touchmove touchend",ie.bind(this,this.handleScroll_))},t.prototype.isHorizontal=function(){return this.horizontal},t.prototype.getSize=function(){return this.size},t.prototype.setSize_=function(e){var t=this.getDimensionName_();this.size=e,this.$element[0].style[t]=e+"px"},t.prototype.unsetSize_=function(){this.$element[0].style[this.getDimensionName_()]=this.oldElementSize,this.oldElementSize=null},t.prototype.updateSize=function(){this.originalSize||(this.size=this.isHorizontal()?this.$element[0].clientWidth:this.$element[0].clientHeight,this.handleScroll_(),this.repeater&&this.repeater.containerUpdated())},t.prototype.getScrollSize=function(){return this.scrollSize},t.prototype.getDimensionName_=function(){return this.isHorizontal()?"width":"height"},t.prototype.sizeScroller_=function(e){var t=this.getDimensionName_(),n=this.isHorizontal()?"height":"width";if(this.sizer.innerHTML="",e<o)this.sizer.style[t]=e+"px";else{this.sizer.style[t]="auto",this.sizer.style[n]="auto";var r=Math.floor(e/o),i=document.createElement("div");i.style[t]=o+"px",i.style[n]="1px";for(var a=0;a<r;a++)this.sizer.appendChild(i.cloneNode(!1));i.style[t]=e-r*o+"px",this.sizer.appendChild(i)}},t.prototype.autoShrink_=function(e){var t=Math.max(e,this.autoShrinkMin*this.repeater.getItemSize());if(this.autoShrink&&t!==this.size){null===this.oldElementSize&&(this.oldElementSize=this.$element[0].style[this.getDimensionName_()]);var n=this.originalSize||this.size;if(!n||t<n)this.originalSize||(this.originalSize=this.size),this.setSize_(t);else if(null!==this.originalSize){this.unsetSize_();var r=this.originalSize;this.originalSize=null,r||this.updateSize(),this.setSize_(r||this.size)}this.repeater.containerUpdated()}},t.prototype.setScrollSize=function(e){var t=e+this.offsetSize;this.scrollSize!==t&&(this.sizeScroller_(t),this.autoShrink_(t),this.scrollSize=t)},t.prototype.getScrollOffset=function(){return this.scrollOffset},t.prototype.scrollTo=function(e){this.scroller[this.isHorizontal()?"scrollLeft":"scrollTop"]=e,this.handleScroll_()},t.prototype.scrollToIndex=function(e){var t=this.repeater.getItemSize(),n=this.repeater.itemsLength;n<e&&(e=n-1),this.scrollTo(t*e)},t.prototype.resetScroll=function(){this.scrollTo(0)},t.prototype.handleScroll_=function(){var e=ie.element(document)[0],t="rtl"!=e.dir&&"rtl"!=e.body.dir;t||this.maxSize||(this.scroller.scrollLeft=this.scrollSize,this.maxSize=this.scroller.scrollLeft);var n=this.isHorizontal()?t?this.scroller.scrollLeft:this.maxSize-this.scroller.scrollLeft:this.scroller.scrollTop;if(!(n===this.scrollOffset||n>this.scrollSize-this.size)){var r=this.repeater.getItemSize();if(r){var i=Math.max(0,Math.floor(n/r)-3),a=(this.isHorizontal()?"translateX(":"translateY(")+(!this.isHorizontal()||t?i*r:-i*r)+"px)";if(this.scrollOffset=n,this.offsetter.style.webkitTransform=a,this.offsetter.style.transform=a,this.bindTopIndex){var o=Math.floor(n/r);o!==this.topIndex&&o<this.repeater.getItemCount()&&(this.topIndex=o,this.bindTopIndex.assign(this.$scope,o),this.$rootScope.$$phase||this.$scope.$digest())}this.repeater.containerUpdated()}}},i.prototype.link_=function(e,t,n,r,i){this.container=e,this.transclude=t,this.repeatName=n,this.rawRepeatListExpression=r,this.extraName=i,this.sized=!1,this.repeatListExpression=ie.bind(this,this.repeatListExpression_),this.container.register(this)},i.prototype.cleanupBlocks_=function(){ie.forEach(this.pooledBlocks,function(e){e.element.remove()})},i.prototype.readItemSize_=function(){if(!this.itemSize){this.items=this.repeatListExpression(this.$scope),this.parentNode=this.$element[0].parentNode;var e=this.getBlock_(0);e.element[0].parentNode||this.parentNode.appendChild(e.element[0]),this.itemSize=e.element[0][this.container.isHorizontal()?"offsetWidth":"offsetHeight"]||null,this.blocks[0]=e,this.poolBlock_(0),this.itemSize&&this.containerUpdated()}},i.prototype.repeatListExpression_=function(e){var t=this.rawRepeatListExpression(e);if(this.onDemand&&t){var n=new r(t);return n.$$includeIndexes(this.newStartIndex,this.newVisibleEnd),n}return t},i.prototype.containerUpdated=function(){if(!this.itemSize)return this.unwatchItemSize_&&this.unwatchItemSize_!==ie.noop&&this.unwatchItemSize_(),this.unwatchItemSize_=this.$scope.$watchCollection(this.repeatListExpression,ie.bind(this,function(e){e&&e.length&&this.readItemSize_()})),void(this.$rootScope.$$phase||this.$scope.$digest());this.sized||(this.items=this.repeatListExpression(this.$scope)),this.sized||(this.unwatchItemSize_(),this.sized=!0,this.$scope.$watchCollection(this.repeatListExpression,ie.bind(this,function(e,t){this.isVirtualRepeatUpdating_||this.virtualRepeatUpdate_(e,t)}))),this.updateIndexes_(),(this.newStartIndex!==this.startIndex||this.newEndIndex!==this.endIndex||this.container.getScrollOffset()>this.container.getScrollSize())&&(this.items instanceof r&&this.items.$$includeIndexes(this.newStartIndex,this.newEndIndex),this.virtualRepeatUpdate_(this.items,this.items))},i.prototype.getItemSize=function(){return this.itemSize},i.prototype.getItemCount=function(){return this.itemsLength},i.prototype.virtualRepeatUpdate_=function(e,t){this.isVirtualRepeatUpdating_=!0;var n=e&&e.length||0,r=!1;if(this.items&&n<this.items.length&&0!==this.container.getScrollOffset()){this.items=e;var i=this.container.getScrollOffset();this.container.resetScroll(),this.container.scrollTo(i)}if(n!==this.itemsLength&&(r=!0,this.itemsLength=n),((this.items=e)!==t||r)&&this.updateIndexes_(),this.parentNode=this.$element[0].parentNode,r&&this.container.setScrollSize(n*this.itemSize),this.isFirstRender){this.isFirstRender=!1;var a=this.$attrs.mdStartIndex?this.$scope.$eval(this.$attrs.mdStartIndex):this.container.topIndex;this.container.scrollToIndex(a)}Object.keys(this.blocks).forEach(function(e){var t=parseInt(e,10);(t<this.newStartIndex||t>=this.newEndIndex)&&this.poolBlock_(t)},this),this.$browser.$$checkUrlChange=ie.noop;var o,s,c=[],l=[];for(o=this.newStartIndex;o<this.newEndIndex&&null==this.blocks[o];o++)s=this.getBlock_(o),this.updateBlock_(s,o),c.push(s);for(;null!=this.blocks[o];o++)this.updateBlock_(this.blocks[o],o);for(var u=o-1;o<this.newEndIndex;o++)s=this.getBlock_(o),this.updateBlock_(s,o),l.push(s);c.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(c),this.$element[0].nextSibling),l.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(l),this.blocks[u]&&this.blocks[u].element[0].nextSibling),this.$browser.$$checkUrlChange=this.browserCheckUrlChange,this.startIndex=this.newStartIndex,this.endIndex=this.newEndIndex,this.isVirtualRepeatUpdating_=!1},i.prototype.getBlock_=function(n){return this.pooledBlocks.length?this.pooledBlocks.pop():(this.transclude(ie.bind(this,function(e,t){r={element:e,new:!0,scope:t},this.updateScope_(t,n),this.parentNode.appendChild(e[0])})),r);var r},i.prototype.updateBlock_=function(e,t){((this.blocks[t]=e).new||e.scope.$index!==t||e.scope[this.repeatName]!==this.items[t])&&(e.new=!1,this.updateScope_(e.scope,t),this.$rootScope.$$phase||e.scope.$digest())},i.prototype.updateScope_=function(e,t){e.$index=t,e[this.repeatName]=this.items&&this.items[t],this.extraName&&(e[this.extraName(this.$scope)]=this.items[t])},i.prototype.poolBlock_=function(e){this.pooledBlocks.push(this.blocks[e]),this.parentNode.removeChild(this.blocks[e].element[0]),delete this.blocks[e]},i.prototype.domFragmentFromBlocks_=function(e){var t=this.$document[0].createDocumentFragment();return e.forEach(function(e){t.appendChild(e.element[0])}),t},i.prototype.updateIndexes_=function(){var e=this.items?this.items.length:0,t=Math.ceil(this.container.getSize()/this.itemSize);this.newStartIndex=Math.max(0,Math.min(e-t,Math.floor(this.container.getScrollOffset()/this.itemSize))),this.newVisibleEnd=this.newStartIndex+t+3,this.newEndIndex=Math.min(e,this.newVisibleEnd),this.newStartIndex=Math.max(0,this.newStartIndex-3)},r.prototype.$$includeIndexes=function(e,t){for(var n=e;n<t;n++)this.hasOwnProperty(n)||(this[n]=this.model.getItemAtIndex(n));this.length=this.model.getLength()}}(),function(){function e(a){return{link:function(e,n,r){var i="";r.$observe("mdWhiteframe",function(e){-1!=(e=parseInt(e,10)||4)&&(24<e||e<1)&&(a.warn("md-whiteframe attribute value is invalid. It should be a number between 1 and 24",n[0]),e=4);var t=-1==e?"":"md-whiteframe-"+e+"dp";r.$updateClass(t,i),i=t})}}}e.$inject=["$log"],ie.module("material.components.whiteframe",["material.core"]).directive("mdWhiteframe",e)}(),function(){e.$inject=["$scope","$element","$mdUtil","$mdConstant","$mdTheming","$window","$animate","$rootElement","$attrs","$q","$log"],ie.module("material.components.autocomplete").controller("MdAutocompleteCtrl",e);var te=225.5,ne=8,re=2;function e(l,u,f,t,e,n,r,i,d,s,a){var o,c,h,p,m=this,g=l.itemsExpr.split(/ in /i),_=g[1],b=null,v={},y=!1,w=[],C=!1,A=0,S=0,T=null,x=null;return o="hidden",c=function(e,t){!e&&t?(E(),b&&(f.disableScrollAround(b.ul),T=function(e){function t(e){e.preventDefault()}return e.on("wheel",t),e.on("touchmove",t),function(){e.off("wheel",t),e.off("touchmove",t)}}(ie.element(b.wrap)))):e&&!t&&(f.enableScrolling(),T&&(T(),T=null))},h=!0,Object.defineProperty(m,o,{get:function(){return h},set:function(e){var t=h;c(h=e,t)}}),m.scope=l,m.parent=l.$parent,m.itemName=g[0],m.matches=[],m.loading=!1,m.hidden=!0,m.index=null,m.messages=[],m.id=f.nextUid(),m.isDisabled=null,m.isRequired=null,m.isReadonly=null,m.hasNotFound=!1,m.keydown=function(e){switch(e.keyCode){case t.KEY_CODE.DOWN_ARROW:if(m.loading)return;e.stopPropagation(),e.preventDefault(),m.index=Math.min(m.index+1,m.matches.length-1),K(),Y();break;case t.KEY_CODE.UP_ARROW:if(m.loading)return;e.stopPropagation(),e.preventDefault(),m.index=m.index<0?m.matches.length-1:Math.max(0,m.index-1),K(),Y();break;case t.KEY_CODE.TAB:if(P(),m.hidden||m.loading||m.index<0||m.matches.length<1)return;q(m.index);break;case t.KEY_CODE.ENTER:if(m.hidden||m.loading||m.index<0||m.matches.length<1)return;if(U())return;e.stopPropagation(),e.preventDefault(),q(m.index);break;case t.KEY_CODE.ESCAPE:if(e.preventDefault(),!(j("blur")||!m.hidden||m.loading||j("clear")&&l.searchText))return;e.stopPropagation(),z(),l.searchText&&j("clear")&&V(),m.hidden=!0,j("blur")&&function(e){e&&(C=y=!1);b.input.blur()}(!0)}},m.blur=function(e){C=!1,y||(m.hidden=F(),ee("ngBlur",{$event:e}))},m.focus=function(e){C=!0,G()&&W()&&Z();m.hidden=F(),ee("ngFocus",{$event:e})},m.clear=function(){z(),V()},m.select=q,m.listEnter=function(){y=!0},m.listLeave=P,m.mouseUp=function(){b.input.focus()},m.getCurrentDisplayValue=H,m.registerSelectedItemWatcher=function(e){-1==w.indexOf(e)&&w.push(e)},m.unregisterSelectedItemWatcher=function(e){var t=w.indexOf(e);-1!=t&&w.splice(t,1)},m.notFoundVisible=X,m.loadingIsVisible=function(){return m.loading&&!U()},m.positionDropdown=E,f.initOptionalProperties(l,d,{searchText:"",selectedItem:null}),e(u),p=parseInt(l.delay,10)||0,d.$observe("disabled",function(e){m.isDisabled=f.parseAttributeBoolean(e,!1)}),d.$observe("required",function(e){m.isRequired=f.parseAttributeBoolean(e,!1)}),d.$observe("readonly",function(e){m.isReadonly=f.parseAttributeBoolean(e,!1)}),l.$watch("searchText",p?f.debounce($,p):$),l.$watch("selectedItem",M),ie.element(n).on("resize",E),l.$on("$destroy",I),void f.nextTick(function(){(b={main:u[0],scrollContainer:u[0].querySelector(".md-virtual-repeat-container"),scroller:u[0].querySelector(".md-virtual-repeat-scroller"),ul:u.find("ul")[0],input:u.find("input")[0],wrap:u.find("md-autocomplete-wrap")[0],root:document.body}).li=b.ul.getElementsByTagName("li"),b.snap=function(){for(var e=u;e.length;e=e.parent())if(ie.isDefined(e.attr("md-autocomplete-snap")))return e[0];return b.wrap}(),b.$=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=ie.element(e[n]));return t}(b),x=b.$.input.controller("ngModel"),b.$.root.length&&(e(b.$.scrollContainer),b.$.scrollContainer.detach(),b.$.root.append(b.$.scrollContainer),r.pin&&r.pin(b.$.scrollContainer,i)),l.autofocus&&u.on("focus",D)});function k(){l.requireMatch&&x&&x.$setValidity("md-require-match",!!l.selectedItem)}function E(){if(!b)return f.nextTick(E,!1,l);var e,n=b.wrap.getBoundingClientRect(),t=b.snap.getBoundingClientRect(),r=b.root.getBoundingClientRect(),i=t.bottom-r.top,a=r.bottom-t.top,o=n.left-r.left,s=n.width,c=function(){var e=0,t=u.find("md-input-container");if(t.length){var n=t.find("input");e=t.prop("offsetHeight"),e-=n.prop("offsetTop"),e-=n.prop("offsetHeight"),e+=t.prop("offsetTop")}return e}();d.mdFloatingLabel&&(o+=re,s-=2*re),e={left:o+"px",minWidth:s+"px",maxWidth:Math.max(n.right-r.left,r.right-n.left)-ne+"px"},a<i&&r.height-n.bottom-ne<te?(e.top="auto",e.bottom=a+"px",e.maxHeight=Math.min(te,n.top-r.top-ne)+"px"):(e.top=i-c+"px",e.bottom="auto",e.maxHeight=Math.min(te,r.bottom+f.scrollTop()-n.bottom-ne)+"px"),b.$.scrollContainer.css(e),f.nextTick(function(){var e=b.scrollContainer.getBoundingClientRect(),t={};e.right>r.right-ne&&(t.left=n.right-e.width+"px");b.$.scrollContainer.css(t)},!1)}function D(){b.input.focus()}function I(){if(m.hidden||f.enableScrolling(),ie.element(n).off("resize",E),b){ie.forEach(["ul","scroller","scrollContainer","input"],function(e){b.$[e].remove()})}}function P(){C||m.hidden||b.input.focus(),y=!1,m.hidden=F()}function M(r,i){k(),r?R(r).then(function(e){var t,n;l.searchText=e,t=r,n=i,w.forEach(function(e){e(t,n)})}):i&&l.searchText&&R(i).then(function(e){e.toString().toLowerCase()===l.searchText.toLowerCase()&&(l.searchText="")}),r!==i&&ie.isFunction(l.itemChange)&&l.itemChange(N(l.selectedItem))}function $(t,n){m.index=l.autoselect?0:-1,t!==n&&(k(),R(l.selectedItem).then(function(e){t!==e&&(l.selectedItem=null,t!==n&&ie.isFunction(l.textChange)&&l.textChange(),W()?Z():(L(!(m.matches=[])),Y()))}))}function O(){return ie.isNumber(l.minLength)?l.minLength:1}function R(e){return s.when((t=e,(t&&l.itemText?l.itemText(N(t)):null)||e)).then(function(e){return e&&!ie.isString(e)&&a.warn("md-autocomplete: Could not resolve display value to a string. Please check the `md-item-text` attribute."),e});var t}function N(e){if(!e)return ae;var t={};return m.itemName&&(t[m.itemName]=e),t}function L(e){m.loading!=e&&(m.loading=e),m.hidden=F()}function F(){return!G()||!(W()&&B()||X())}function G(){return!(m.loading&&!B())&&(!U()&&!!C)}function j(e){return!l.escapeOptions||-1!==l.escapeOptions.toLowerCase().indexOf(e)}function B(){return!!m.matches.length}function U(){return!!m.scope.selectedItem}function H(){return R(m.matches[m.index])}function W(){return(l.searchText||"").length>=O()}function q(e){f.nextTick(function(){R(m.matches[e]).then(function(e){var t=b.$.input.controller("ngModel");t.$setViewValue(e),t.$render()}).finally(function(){l.selectedItem=m.matches[e],L(!1)})},!1)}function z(){m.index=0,m.matches=[]}function V(){L(!0),l.searchText="";var e=document.createEvent("CustomEvent");e.initCustomEvent("change",!0,!0,{value:""}),b.input.dispatchEvent(e),b.input.blur(),l.searchText="",b.input.focus()}function Y(){H().then(function(e){m.messages=[function(){if(A===m.matches.length)return"";switch(A=m.matches.length,m.matches.length){case 0:return"There are no matches available.";case 1:return"There is 1 match available.";default:return"There are "+m.matches.length+" matches available."}}(),e]})}function K(){if(b.li[0]){var e=b.li[0].offsetHeight,t=e*m.index,n=t+e,r=b.scroller.clientHeight,i=b.scroller.scrollTop;t<i?Q(t):i+r<n&&Q(n-r)}}function Q(e){b.$.scrollContainer.controller("mdVirtualRepeatContainer").scrollTo(e)}function X(){var e=(m.scope.searchText||"").length;return m.hasNotFound&&!B()&&(!m.loading||0!==S)&&e>=O()&&(C||y)&&!U()}function Z(){var e=l.searchText||"",t=e.toLowerCase();!l.noCache&&v[t]?J(v[t]):function(t){var e=l.$parent.$eval(_),n=t.toLowerCase(),r=ie.isArray(e),i=!!e.then;function a(e){v[n]=e,(t||"")===(l.searchText||"")&&J(e)}r?a(e):i&&(o=e,o&&(o=s.when(o),S++,L(!0),f.nextTick(function(){o.then(a).finally(function(){0==--S&&L(!1)})},!0,l)));var o}(e),m.hidden=F()}function J(e){var n,t,r;m.matches=e,m.hidden=F(),m.loading&&L(!1),l.selectOnMatch&&(n=l.searchText,t=m.matches,r=t[0],1===t.length&&R(r).then(function(e){var t=n==e;l.matchInsensitive&&!t&&(t=n.toLowerCase()==e.toLowerCase()),t&&q(0)})),Y(),E()}function ee(e,t){d[e]&&l.$parent.$eval(d[e],t||{})}}}(),function(){function e(c){return{controller:"MdAutocompleteCtrl",controllerAs:"$mdAutocompleteCtrl",scope:{inputName:"@mdInputName",inputMinlength:"@mdInputMinlength",inputMaxlength:"@mdInputMaxlength",searchText:"=?mdSearchText",selectedItem:"=?mdSelectedItem",itemsExpr:"@mdItems",itemText:"&mdItemText",placeholder:"@placeholder",noCache:"=?mdNoCache",requireMatch:"=?mdRequireMatch",selectOnMatch:"=?mdSelectOnMatch",matchInsensitive:"=?mdMatchCaseInsensitive",itemChange:"&?mdSelectedItemChange",textChange:"&?mdSearchTextChange",minLength:"=?mdMinLength",delay:"=?mdDelay",autofocus:"=?mdAutofocus",floatingLabel:"@?mdFloatingLabel",autoselect:"=?mdAutoselect",menuClass:"@?mdMenuClass",inputId:"@?mdInputId",escapeOptions:"@?mdEscapeOptions"},link:function(e,t,n,r){r.hasNotFound=!!t.attr("md-has-not-found")},template:function(n,e){var t,r,i=(t=n.find("md-not-found").detach(),(r=t.length?t.html():"")?'<li ng-if="$mdAutocompleteCtrl.notFoundVisible()" md-autocomplete-parent-scope>'+r+"</li>":""),a=function(){var e=n.find("md-item-template").detach(),t=e.length?e.html():n.html();e.length||n.empty();return"<md-autocomplete-parent-scope md-autocomplete-replace>"+t+"</md-autocomplete-parent-scope>"}(),o=n.html(),s=e.tabindex;return i&&n.attr("md-has-not-found",!0),n.attr("tabindex","-1")," <md-autocomplete-wrap ng-class=\"{ 'md-whiteframe-z1': !floatingLabel, 'md-menu-showing': !$mdAutocompleteCtrl.hidden }\"> "+(e.mdFloatingLabel?' <md-input-container ng-if="floatingLabel"> <label>{{floatingLabel}}</label> <input type="search" '+(null!=s?'tabindex="'+s+'"':"")+' id="{{ inputId || \'fl-input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-readonly="$mdAutocompleteCtrl.isReadonly" ng-minlength="inputMinlength" ng-maxlength="inputMaxlength" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-model-options="{ allowInvalid: true }" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur($event)" ng-focus="$mdAutocompleteCtrl.focus($event)" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" '+(null!=e.mdNoAsterisk?'md-no-asterisk="'+e.mdNoAsterisk+'"':"")+" "+(null!=e.mdSelectOnFocus?'md-select-on-focus=""':"")+' aria-label="{{floatingLabel}}" aria-autocomplete="list" role="combobox" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <div md-autocomplete-parent-scope md-autocomplete-replace>'+o+"</div> </md-input-container>":' <input type="search" '+(null!=s?'tabindex="'+s+'"':"")+' id="{{ inputId || \'input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" ng-if="!floatingLabel" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-readonly="$mdAutocompleteCtrl.isReadonly" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur($event)" ng-focus="$mdAutocompleteCtrl.focus($event)" placeholder="{{placeholder}}" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" '+(null!=e.mdSelectOnFocus?'md-select-on-focus=""':"")+' aria-label="{{placeholder}}" aria-autocomplete="list" role="combobox" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <button type="button" tabindex="-1" ng-if="$mdAutocompleteCtrl.scope.searchText && !$mdAutocompleteCtrl.isDisabled" ng-click="$mdAutocompleteCtrl.clear($event)"> <md-icon md-svg-src="'+c.mdClose+'"></md-icon> <span class="md-visually-hidden">Clear</span> </button> ')+' <md-progress-linear class="'+(e.mdFloatingLabel?"md-inline":"")+'" ng-if="$mdAutocompleteCtrl.loadingIsVisible()" md-mode="indeterminate"></md-progress-linear> <md-virtual-repeat-container md-auto-shrink md-auto-shrink-min="1" ng-mouseenter="$mdAutocompleteCtrl.listEnter()" ng-mouseleave="$mdAutocompleteCtrl.listLeave()" ng-mouseup="$mdAutocompleteCtrl.mouseUp()" ng-hide="$mdAutocompleteCtrl.hidden" class="md-autocomplete-suggestions-container md-whiteframe-z1" ng-class="{ \'md-not-found\': $mdAutocompleteCtrl.notFoundVisible() }" role="presentation"> <ul class="md-autocomplete-suggestions" ng-class="::menuClass" id="ul-{{$mdAutocompleteCtrl.id}}"> <li md-virtual-repeat="item in $mdAutocompleteCtrl.matches" ng-class="{ selected: $index === $mdAutocompleteCtrl.index }" ng-click="$mdAutocompleteCtrl.select($index)" md-extra-name="$mdAutocompleteCtrl.itemName"> '+a+" </li>"+i+' </ul> </md-virtual-repeat-container> </md-autocomplete-wrap> <aria-status class="md-visually-hidden" role="status" aria-live="assertive"> <p ng-repeat="message in $mdAutocompleteCtrl.messages track by $index" ng-if="message">{{message}}</p> </aria-status>'}}}e.$inject=["$$mdSvgRegistry"],ie.module("material.components.autocomplete").directive("mdAutocomplete",e)}(),function(){function e(e,u){return{restrict:"AE",compile:function(e,t,l){return function(n,t,e){var r,i,a=n.$mdAutocompleteCtrl,o=a.parent.$new(),s=a.itemName;function c(e,t){o[t]=n[e],n.$watch(e,function(e){u.nextTick(function(){o[t]=e})})}c("$index","$index"),c("item",s),i=r=!1,n.$watch(function(){i||r||(r=!0,n.$$postDigest(function(){i||o.$digest(),r=i=!1}))}),o.$watch(function(){i=!0}),l(o,function(e){t.after(e)})}},terminal:!0,transclude:"element"}}e.$inject=["$compile","$mdUtil"],ie.module("material.components.autocomplete").directive("mdAutocompleteParentScope",e)}(),function(){function e(e,t,n){this.$scope=e,this.$element=t,this.$attrs=n,this.regex=null}e.$inject=["$scope","$element","$attrs"],ie.module("material.components.autocomplete").controller("MdHighlightCtrl",e),e.prototype.init=function(t,n){this.flags=this.$attrs.mdHighlightFlags||"",this.unregisterFn=this.$scope.$watch(function(e){return{term:t(e),contentText:n(e)}}.bind(this),this.onRender.bind(this),!0),this.$element.on("$destroy",this.unregisterFn)},e.prototype.onRender=function(e,t){var n=e.contentText;null!==this.regex&&e.term===t.term||(this.regex=this.createRegex(e.term,this.flags)),e.term?this.applyRegex(n):this.$element.text(n)},e.prototype.applyRegex=function(e){var t=this.resolveTokens(e);this.$element.empty(),t.forEach(function(e){if(e.isMatch){var t=ie.element('<span class="highlight">').text(e.text);this.$element.append(t)}else this.$element.append(document.createTextNode(e))}.bind(this))},e.prototype.resolveTokens=function(r){var i=[],n=0;return r.replace(this.regex,function(e,t){a(n,t),i.push({text:e,isMatch:!0}),n=t+e.length}),a(n),i;function a(e,t){var n=r.slice(e,t);n&&i.push(n)}},e.prototype.createRegex=function(e,t){var n="",r="",i=this.sanitizeRegex(e);return 0<=t.indexOf("^")&&(n="^"),0<=t.indexOf("$")&&(r="$"),new RegExp(n+i+r,t.replace(/[$\^]/g,""))},e.prototype.sanitizeRegex=function(e){return e&&e.toString().replace(/[\\\^\$\*\+\?\.\(\)\|\{}\[\]]/g,"\\$&")}}(),function(){function e(n,r){return{terminal:!0,controller:"MdHighlightCtrl",compile:function(e,t){var i=r(t.mdHighlightText),a=n(e.html());return function(e,t,n,r){r.init(i,a)}}}}e.$inject=["$interpolate","$parse"],ie.module("material.components.autocomplete").directive("mdHighlightText",e)}(),function(){function e(e,t,n,r,i){this.$scope=e,this.$element=t,this.$mdConstant=n,this.$timeout=r,this.$mdUtil=i,this.isEditting=!1,this.parentController=ae,this.enableChipEdit=!1}e.$inject=["$scope","$element","$mdConstant","$timeout","$mdUtil"],ie.module("material.components.chips").controller("MdChipCtrl",e),e.prototype.init=function(e){this.parentController=e,this.enableChipEdit=this.parentController.enableChipEdit,this.enableChipEdit&&(this.$element.on("keydown",this.chipKeyDown.bind(this)),this.$element.on("mousedown",this.chipMouseDown.bind(this)),this.getChipContent().addClass("_md-chip-content-edit-is-enabled"))},e.prototype.getChipContent=function(){var e=this.$element[0].getElementsByClassName("md-chip-content");return ie.element(e[0])},e.prototype.getContentElement=function(){return ie.element(this.getChipContent().children()[0])},e.prototype.getChipIndex=function(){return parseInt(this.$element.attr("index"))},e.prototype.goOutOfEditMode=function(){if(this.isEditting){this.isEditting=!1,this.$element.removeClass("_md-chip-editing"),this.getChipContent()[0].contentEditable="false";var e=this.getChipIndex();this.getContentElement().text()?(this.parentController.updateChipContents(e,this.getContentElement().text()),this.$mdUtil.nextTick(function(){this.parentController.selectedChip===e&&this.parentController.focusChip(e)}.bind(this))):this.parentController.removeChipAndFocusInput(e)}},e.prototype.selectNodeContents=function(e){var t,n;document.body.createTextRange?((t=document.body.createTextRange()).moveToElementText(e),t.select()):G.getSelection&&(n=G.getSelection(),(t=document.createRange()).selectNodeContents(e),n.removeAllRanges(),n.addRange(t))},e.prototype.goInEditMode=function(){this.isEditting=!0,this.$element.addClass("_md-chip-editing"),this.getChipContent()[0].contentEditable="true",this.getChipContent().on("blur",function(){this.goOutOfEditMode()}.bind(this)),this.selectNodeContents(this.getChipContent()[0])},e.prototype.chipKeyDown=function(e){this.isEditting||e.keyCode!==this.$mdConstant.KEY_CODE.ENTER&&e.keyCode!==this.$mdConstant.KEY_CODE.SPACE?this.isEditting&&e.keyCode===this.$mdConstant.KEY_CODE.ENTER&&(e.preventDefault(),this.goOutOfEditMode()):(e.preventDefault(),this.goInEditMode())},e.prototype.chipMouseDown=function(){this.getChipIndex()==this.parentController.selectedChip&&this.enableChipEdit&&!this.isEditting&&this.goInEditMode()}}(),function(){t.$inject=["$mdTheming","$mdUtil"],ie.module("material.components.chips").directive("mdChip",t);var e=' <span ng-if="!$mdChipsCtrl.readonly" class="md-visually-hidden"> {{$mdChipsCtrl.deleteHint}} </span>';function t(o,n){var r=n.processTemplate(e);return{restrict:"E",require:["^?mdChips","mdChip"],compile:function(e,t){return e.append(n.processTemplate(r)),function(e,t,n,r){var i=r.shift(),a=r.shift();o(t),i&&(a.init(i),ie.element(t[0].querySelector(".md-chip-content")).on("blur",function(){i.resetSelectedChip(),i.$scope.$applyAsync()}))}},controller:"MdChipCtrl"}}}(),function(){function e(i){return{restrict:"A",require:"^mdChips",scope:!1,link:function(t,e,n,r){e.on("click",function(e){t.$apply(function(){r.removeChip(t.$$replacedScope.$index)})}),i(function(){e.attr({tabindex:-1,"aria-hidden":!0}),e.find("button").attr("tabindex","-1")})}}}e.$inject=["$timeout"],ie.module("material.components.chips").directive("mdChipRemove",e)}(),function(){function e(o){return{restrict:"EA",terminal:!0,link:function(e,t,n){var r=e.$parent.$mdChipsCtrl,i=r.parent.$new(!1,r.parent);i.$$replacedScope=e,i.$chip=e.$chip,i.$index=e.$index;var a=(i.$mdChipsCtrl=r).$scope.$eval(n.mdChipTransclude);t.html(a),o(t.contents())(i)},scope:!1}}e.$inject=["$compile"],ie.module("material.components.chips").directive("mdChipTransclude",e)}(),function(){function e(e,t,n,r,i,a,o){this.$timeout=a,this.$mdConstant=n,this.$scope=e,this.parent=e.$parent,this.$log=r,this.$element=i,this.ngModelCtrl=null,this.userInputNgModelCtrl=null,this.autocompleteCtrl=null,this.userInputElement=null,this.items=[],this.selectedChip=-1,this.enableChipEdit=o.parseAttributeBoolean(t.mdEnableChipEdit),this.addOnBlur=o.parseAttributeBoolean(t.mdAddOnBlur),this.deleteHint="Press delete to remove this chip.",this.deleteButtonLabel="Remove",this.chipBuffer="",this.useTransformChip=!1,this.useOnAdd=!1,this.useOnRemove=!1}e.$inject=["$scope","$attrs","$mdConstant","$log","$element","$timeout","$mdUtil"],ie.module("material.components.chips").controller("MdChipsCtrl",e),e.prototype.inputKeydown=function(e){var t=this.getChipBuffer();if(!(this.autocompleteCtrl&&e.isDefaultPrevented&&e.isDefaultPrevented())){if(e.keyCode===this.$mdConstant.KEY_CODE.BACKSPACE){if(0!==this.getCursorPosition(e.target))return;return e.preventDefault(),e.stopPropagation(),void(this.items.length&&this.selectAndFocusChipSafe(this.items.length-1))}if((!this.separatorKeys||this.separatorKeys.length<1)&&(this.separatorKeys=[this.$mdConstant.KEY_CODE.ENTER]),-1!==this.separatorKeys.indexOf(e.keyCode)){if(this.autocompleteCtrl&&this.requireMatch||!t)return;if(e.preventDefault(),this.hasMaxChipsReached())return;this.appendChip(t.trim()),this.resetChipBuffer()}}},e.prototype.getCursorPosition=function(t){try{if(t.selectionStart===t.selectionEnd)return t.selectionStart}catch(e){if(!t.value)return 0}},e.prototype.updateChipContents=function(e,t){0<=e&&e<this.items.length&&(this.items[e]=t,this.ngModelCtrl.$setDirty())},e.prototype.isEditingChip=function(){return!!this.$element[0].getElementsByClassName("_md-chip-editing").length},e.prototype.isRemovable=function(){return!!this.ngModelCtrl&&(this.readonly?this.removable:!ie.isDefined(this.removable)||this.removable)},e.prototype.chipKeydown=function(e){if(!this.getChipBuffer()&&!this.isEditingChip())switch(e.keyCode){case this.$mdConstant.KEY_CODE.BACKSPACE:case this.$mdConstant.KEY_CODE.DELETE:if(this.selectedChip<0)return;if(e.preventDefault(),!this.isRemovable())return;this.removeAndSelectAdjacentChip(this.selectedChip);break;case this.$mdConstant.KEY_CODE.LEFT_ARROW:e.preventDefault(),this.selectedChip<0&&(this.selectedChip=this.items.length),this.items.length&&this.selectAndFocusChipSafe(this.selectedChip-1);break;case this.$mdConstant.KEY_CODE.RIGHT_ARROW:e.preventDefault(),this.selectAndFocusChipSafe(this.selectedChip+1);break;case this.$mdConstant.KEY_CODE.ESCAPE:case this.$mdConstant.KEY_CODE.TAB:if(this.selectedChip<0)return;e.preventDefault(),this.onFocus()}},e.prototype.getPlaceholder=function(){return this.items&&this.items.length&&(""==this.secondaryPlaceholder||this.secondaryPlaceholder)?this.secondaryPlaceholder:this.placeholder},e.prototype.removeAndSelectAdjacentChip=function(e){var t=this.getAdjacentChipIndex(e);this.removeChip(e),this.$timeout(ie.bind(this,function(){this.selectAndFocusChipSafe(t)}))},e.prototype.resetSelectedChip=function(){this.selectedChip=-1},e.prototype.getAdjacentChipIndex=function(e){var t=this.items.length-1;return 0==t?-1:e==t?e-1:e},e.prototype.appendChip=function(t){if(this.useTransformChip&&this.transformChip){var e=this.transformChip({$chip:t});ie.isDefined(e)&&(t=e)}if(ie.isObject(t)&&this.items.some(function(e){return ie.equals(t,e)}))return;if(!(null==t||this.items.indexOf(t)+1)){var n=this.items.push(t);this.ngModelCtrl.$setDirty(),this.validateModel(),this.useOnAdd&&this.onAdd&&this.onAdd({$chip:t,$index:n})}},e.prototype.useTransformChipExpression=function(){this.useTransformChip=!0},e.prototype.useOnAddExpression=function(){this.useOnAdd=!0},e.prototype.useOnRemoveExpression=function(){this.useOnRemove=!0},e.prototype.useOnSelectExpression=function(){this.useOnSelect=!0},e.prototype.getChipBuffer=function(){return this.userInputElement?this.userInputNgModelCtrl?this.userInputNgModelCtrl.$viewValue:this.userInputElement[0].value:this.chipBuffer},e.prototype.resetChipBuffer=function(){this.userInputElement?this.userInputNgModelCtrl?(this.userInputNgModelCtrl.$setViewValue(""),this.userInputNgModelCtrl.$render()):this.userInputElement[0].value="":this.chipBuffer=""},e.prototype.hasMaxChipsReached=function(){return ie.isString(this.maxChips)&&(this.maxChips=parseInt(this.maxChips,10)||0),0<this.maxChips&&this.items.length>=this.maxChips},e.prototype.validateModel=function(){this.ngModelCtrl.$setValidity("md-max-chips",!this.hasMaxChipsReached())},e.prototype.removeChip=function(e){var t=this.items.splice(e,1);this.ngModelCtrl.$setDirty(),this.validateModel(),t&&t.length&&this.useOnRemove&&this.onRemove&&this.onRemove({$chip:t[0],$index:e})},e.prototype.removeChipAndFocusInput=function(e){this.removeChip(e),this.autocompleteCtrl?(this.autocompleteCtrl.hidden=!0,this.$mdUtil.nextTick(this.onFocus.bind(this))):this.onFocus()},e.prototype.selectAndFocusChipSafe=function(e){return this.items.length?e===this.items.length?this.onFocus():(e=Math.max(e,0),e=Math.min(e,this.items.length-1),this.selectChip(e),void this.focusChip(e)):(this.selectChip(-1),void this.onFocus())},e.prototype.selectChip=function(e){-1<=e&&e<=this.items.length?(this.selectedChip=e,this.useOnSelect&&this.onSelect&&this.onSelect({$chip:this.items[this.selectedChip]})):this.$log.warn("Selected Chip index out of bounds; ignoring.")},e.prototype.selectAndFocusChip=function(e){this.selectChip(e),-1!=e&&this.focusChip(e)},e.prototype.focusChip=function(e){this.$element[0].querySelector('md-chip[index="'+e+'"] .md-chip-content').focus()},e.prototype.configureNgModel=function(e){this.ngModelCtrl=e;var t=this;e.$render=function(){t.items=t.ngModelCtrl.$viewValue}},e.prototype.onFocus=function(){var e=this.$element[0].querySelector("input");e&&e.focus(),this.resetSelectedChip()},e.prototype.onInputFocus=function(){this.inputHasFocus=!0,this.resetSelectedChip()},e.prototype.onInputBlur=function(){this.inputHasFocus=!1;var e=this.getChipBuffer().trim();this.validateModel();var t=this.ngModelCtrl.$valid;this.userInputNgModelCtrl&&(t&=this.userInputNgModelCtrl.$valid),this.addOnBlur&&e&&t&&(this.appendChip(e),this.resetChipBuffer())},e.prototype.configureUserInput=function(e){var t=(this.userInputElement=e).controller("ngModel");t!=this.ngModelCtrl&&(this.userInputNgModelCtrl=t);var n=this.$scope,r=this,i=function(e,t){n.$evalAsync(ie.bind(r,t,e))};e.attr({tabindex:0}).on("keydown",function(e){i(e,r.inputKeydown)}).on("focus",function(e){i(e,r.onInputFocus)}).on("blur",function(e){i(e,r.onInputBlur)})},e.prototype.configureAutocomplete=function(e){e&&((this.autocompleteCtrl=e).registerSelectedItemWatcher(ie.bind(this,function(e){if(e){if(this.hasMaxChipsReached())return;this.appendChip(e),this.resetChipBuffer()}})),this.$element.find("input").on("focus",ie.bind(this,this.onInputFocus)).on("blur",ie.bind(this,this.onInputBlur)))},e.prototype.hasFocus=function(){return this.inputHasFocus||0<=this.selectedChip}}(),function(){r.$inject=["$mdTheming","$mdUtil","$compile","$log","$timeout","$$mdSvgRegistry"],ie.module("material.components.chips").directive("mdChips",r);var e=' <md-chips-wrap ng-keydown="$mdChipsCtrl.chipKeydown($event)" ng-class="{ \'md-focused\': $mdChipsCtrl.hasFocus(), \'md-readonly\': !$mdChipsCtrl.ngModelCtrl || $mdChipsCtrl.readonly, \'md-removable\': $mdChipsCtrl.isRemovable() }" class="md-chips"> <md-chip ng-repeat="$chip in $mdChipsCtrl.items" index="{{$index}}" ng-class="{\'md-focused\': $mdChipsCtrl.selectedChip == $index, \'md-readonly\': !$mdChipsCtrl.ngModelCtrl || $mdChipsCtrl.readonly}"> <div class="md-chip-content" tabindex="-1" aria-hidden="true" ng-click="!$mdChipsCtrl.readonly && $mdChipsCtrl.focusChip($index)" ng-focus="!$mdChipsCtrl.readonly && $mdChipsCtrl.selectChip($index)" md-chip-transclude="$mdChipsCtrl.chipContentsTemplate"></div> <div ng-if="$mdChipsCtrl.isRemovable()" class="md-chip-remove-container" md-chip-transclude="$mdChipsCtrl.chipRemoveTemplate"></div> </md-chip> <div class="md-chip-input-container" ng-if="!$mdChipsCtrl.readonly && $mdChipsCtrl.ngModelCtrl"> <div md-chip-transclude="$mdChipsCtrl.chipInputTemplate"></div> </div> </md-chips-wrap>',t=' <input class="md-input" tabindex="0" placeholder="{{$mdChipsCtrl.getPlaceholder()}}" aria-label="{{$mdChipsCtrl.getPlaceholder()}}" ng-model="$mdChipsCtrl.chipBuffer" ng-focus="$mdChipsCtrl.onInputFocus()" ng-blur="$mdChipsCtrl.onInputBlur()" ng-keydown="$mdChipsCtrl.inputKeydown($event)">',n=" <span>{{$chip}}</span>",i=' <button class="md-chip-remove" ng-if="$mdChipsCtrl.isRemovable()" ng-click="$mdChipsCtrl.removeChipAndFocusInput($$replacedScope.$index)" type="button" aria-hidden="true" tabindex="-1"> <md-icon md-svg-src="{{ $mdChipsCtrl.mdCloseIcon }}"></md-icon> <span class="md-visually-hidden"> {{$mdChipsCtrl.deleteButtonLabel}} </span> </button>';function r(d,h,p,r,m,g){var _={chips:h.processTemplate(e),input:h.processTemplate(t),default:h.processTemplate(n),remove:h.processTemplate(i)};return{template:function(e,t){return t.$mdUserTemplate=e.clone(),_.chips},require:["mdChips"],restrict:"E",controller:"MdChipsCtrl",controllerAs:"$mdChipsCtrl",bindToController:!0,compile:function(e,o){var n=o.$mdUserTemplate;o.$mdUserTemplate=null;var s=t("md-chips>md-chip-template"),c=t(h.prefixer().buildList("md-chip-remove").map(function(e){return"md-chips>*["+e+"]"}).join(","))||_.remove,l=s||_.default,u=t("md-chips>md-autocomplete")||t("md-chips>input")||_.input,f=n.find("md-chip");n[0].querySelector("md-chip-template>*[md-chip-remove]")&&r.warn("invalid placement of md-chip-remove within md-chip-template.");function t(e){if(o.ngModel){var t=n[0].querySelector(e);return t&&t.outerHTML}}return function(e,t,n,r){h.initOptionalProperties(e,o),d(t);var i=r[0];if(s&&(i.enableChipEdit=!1),i.chipContentsTemplate=l,i.chipRemoveTemplate=c,i.chipInputTemplate=u,i.mdCloseIcon=g.mdClose,t.attr({"aria-hidden":!0,tabindex:-1}).on("focus",function(){i.onFocus()}),o.ngModel&&(i.configureNgModel(t.controller("ngModel")),n.mdTransformChip&&i.useTransformChipExpression(),n.mdOnAppend&&i.useOnAppendExpression(),n.mdOnAdd&&i.useOnAddExpression(),n.mdOnRemove&&i.useOnRemoveExpression(),n.mdOnSelect&&i.useOnSelectExpression(),u!=_.input&&e.$watch("$mdChipsCtrl.readonly",function(e){e||h.nextTick(function(){if(0===u.indexOf("<md-autocomplete")){var e=t.find("md-autocomplete");i.configureAutocomplete(e.controller("mdAutocomplete"))}i.configureUserInput(t.find("input"))})}),h.nextTick(function(){var e=t.find("input");e&&e.toggleClass("md-input",!0)})),0<f.length){var a=p(f.clone())(e.$parent);m(function(){t.find("md-chips-wrap").prepend(a)})}}},scope:{readonly:"=readonly",removable:"=mdRemovable",placeholder:"@",secondaryPlaceholder:"@",maxChips:"@mdMaxChips",transformChip:"&mdTransformChip",onAppend:"&mdOnAppend",onAdd:"&mdOnAdd",onRemove:"&mdOnRemove",onSelect:"&mdOnSelect",deleteHint:"@",deleteButtonLabel:"@",separatorKeys:"=?mdSeparatorKeys",requireMatch:"=?mdRequireMatch"}}}}(),function(){function e(){this.selectedItem=null,this.searchText=""}ie.module("material.components.chips").controller("MdContactChipsCtrl",e),e.prototype.queryContact=function(e){var t=this.contactQuery({$query:e});return this.filterSelected?t.filter(ie.bind(this,this.filterSelectedContacts)):t},e.prototype.itemName=function(e){return e[this.contactName]},e.prototype.filterSelectedContacts=function(e){return-1==this.contacts.indexOf(e)}}(),function(){e.$inject=["$mdTheming","$mdUtil"],ie.module("material.components.chips").directive("mdContactChips",e);var n=' <md-chips class="md-contact-chips" ng-model="$mdContactChipsCtrl.contacts" md-require-match="$mdContactChipsCtrl.requireMatch" md-autocomplete-snap> <md-autocomplete md-menu-class="md-contact-chips-suggestions" md-selected-item="$mdContactChipsCtrl.selectedItem" md-search-text="$mdContactChipsCtrl.searchText" md-items="item in $mdContactChipsCtrl.queryContact($mdContactChipsCtrl.searchText)" md-item-text="$mdContactChipsCtrl.itemName(item)" md-no-cache="true" md-autoselect placeholder="{{$mdContactChipsCtrl.contacts.length == 0 ? $mdContactChipsCtrl.placeholder : $mdContactChipsCtrl.secondaryPlaceholder}}"> <div class="md-contact-suggestion"> <img ng-src="{{item[$mdContactChipsCtrl.contactImage]}}" alt="{{item[$mdContactChipsCtrl.contactName]}}" ng-if="item[$mdContactChipsCtrl.contactImage]" /> <span class="md-contact-name" md-highlight-text="$mdContactChipsCtrl.searchText" md-highlight-flags="{{$mdContactChipsCtrl.highlightFlags}}"> {{item[$mdContactChipsCtrl.contactName]}} </span> <span class="md-contact-email" >{{item[$mdContactChipsCtrl.contactEmail]}}</span> </div> </md-autocomplete> <md-chip-template> <div class="md-contact-avatar"> <img ng-src="{{$chip[$mdContactChipsCtrl.contactImage]}}" alt="{{$chip[$mdContactChipsCtrl.contactName]}}" ng-if="$chip[$mdContactChipsCtrl.contactImage]" /> </div> <div class="md-contact-name"> {{$chip[$mdContactChipsCtrl.contactName]}} </div> </md-chip-template> </md-chips>';function e(a,o){return{template:function(e,t){return n},restrict:"E",controller:"MdContactChipsCtrl",controllerAs:"$mdContactChipsCtrl",bindToController:!0,compile:function(e,i){return function(e,t,n,r){o.initOptionalProperties(e,i),a(t),t.attr("tabindex","-1")}},scope:{contactQuery:"&mdContacts",placeholder:"@",secondaryPlaceholder:"@",contactName:"@mdContactName",contactImage:"@mdContactImage",contactEmail:"@mdContactEmail",contacts:"=ngModel",requireMatch:"=?mdRequireMatch",highlightFlags:"@?mdHighlightFlags"}}}}(),function(){e.$inject=["$element","$scope","$$mdDateUtil","$mdUtil","$mdConstant","$mdTheming","$$rAF","$attrs","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendar",function(){return{template:function(e,t){var n=t.hasOwnProperty("ngIf")?"":'ng-if="calendarCtrl.isInitialized"',r='<div ng-switch="calendarCtrl.currentView" '+n+'><md-calendar-year ng-switch-when="year"></md-calendar-year><md-calendar-month ng-switch-default></md-calendar-month></div>';return r},scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",dateFilter:"=mdDateFilter",_currentView:"@mdCurrentView"},require:["ngModel","mdCalendar"],controller:e,controllerAs:"calendarCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1];a.configureNgModel(i)}}});var u=0;function e(e,t,n,r,i,a,o,s,c){a(e),this.$element=e,this.$scope=t,this.dateUtil=n,this.$mdUtil=r,this.keyCode=i.KEY_CODE,this.$$rAF=o,this.today=this.dateUtil.createDateAtMidnight(),this.ngModelCtrl=null,this.currentView=this._currentView||"month",this.SELECTED_DATE_CLASS="md-calendar-selected-date",this.TODAY_CLASS="md-calendar-date-today",this.FOCUSED_DATE_CLASS="md-focus",this.id=u++,this.displayDate=null,this.selectedDate=null,this.firstRenderableDate=null,this.lastRenderableDate=null,this.isInitialized=!1,this.width=0,this.scrollbarWidth=0,s.tabindex||e.attr("tabindex","-1");var l=ie.bind(this,this.handleKeyEvent);ie.element(document.body).on("keydown",l),t.$on("$destroy",function(){ie.element(document.body).off("keydown",l)}),this.minDate&&this.minDate>c.firstRenderableDate?this.firstRenderableDate=this.minDate:this.firstRenderableDate=c.firstRenderableDate,this.maxDate&&this.maxDate<c.lastRenderableDate?this.lastRenderableDate=this.maxDate:this.lastRenderableDate=c.lastRenderableDate}e.prototype.configureNgModel=function(e){var t=this;t.ngModelCtrl=e,t.$mdUtil.nextTick(function(){t.isInitialized=!0}),e.$render=function(){var e=this.$viewValue;t.$scope.$broadcast("md-calendar-parent-changed",e),t.selectedDate||(t.selectedDate=e),t.displayDate||(t.displayDate=t.selectedDate||t.today)}},e.prototype.setNgModelValue=function(e){var t=this.dateUtil.createDateAtMidnight(e);return this.focus(t),this.$scope.$emit("md-calendar-change",t),this.ngModelCtrl.$setViewValue(t),this.ngModelCtrl.$render(),t},e.prototype.setCurrentView=function(e,t){var n=this;n.$mdUtil.nextTick(function(){n.currentView=e,t&&(n.displayDate=ie.isDate(t)?t:new Date(t))})},e.prototype.focus=function(e){if(this.dateUtil.isValidDate(e)){var t=this.$element[0].querySelector(".md-focus");t&&t.classList.remove(this.FOCUSED_DATE_CLASS);var n=this.getDateId(e,this.currentView),r=document.getElementById(n);r&&(r.classList.add(this.FOCUSED_DATE_CLASS),r.focus(),this.displayDate=e)}else{var i=this.$element[0].querySelector("[ng-switch]");i&&i.focus()}},e.prototype.getActionFromKeyEvent=function(e){var t=this.keyCode;switch(e.which){case t.ENTER:return"select";case t.RIGHT_ARROW:return"move-right";case t.LEFT_ARROW:return"move-left";case t.DOWN_ARROW:return e.metaKey?"move-page-down":"move-row-down";case t.UP_ARROW:return e.metaKey?"move-page-up":"move-row-up";case t.PAGE_DOWN:return"move-page-down";case t.PAGE_UP:return"move-page-up";case t.HOME:return"start";case t.END:return"end";default:return null}},e.prototype.handleKeyEvent=function(t){var n=this;this.$scope.$apply(function(){if(t.which==n.keyCode.ESCAPE||t.which==n.keyCode.TAB)return n.$scope.$emit("md-calendar-close"),void(t.which==n.keyCode.TAB&&t.preventDefault());var e=n.getActionFromKeyEvent(t);e&&(t.preventDefault(),t.stopPropagation(),n.$scope.$broadcast("md-calendar-parent-action",e))})},e.prototype.hideVerticalScrollbar=function(r){var i=this,t=r.$element[0],a=t.querySelector(".md-calendar-scroll-mask");function n(){var e=i.width||340,t=i.scrollbarWidth,n=r.calendarScroller;a.style.width=e+"px",n.style.width=e+t+"px",n.style.paddingRight=t+"px"}0<i.width?n():i.$$rAF(function(){var e=r.calendarScroller;i.scrollbarWidth=e.offsetWidth-e.clientWidth,i.width=t.querySelector("table").offsetWidth,n()})},e.prototype.getDateId=function(e,t){if(!t)throw new Error("A namespace for the date id has to be specified.");return["md",this.id,t,e.getFullYear(),e.getMonth(),e.getDate()].join("-")},e.prototype.updateVirtualRepeat=function(){var e=this.$scope,t=e.$on("$md-resize-enable",function(){e.$$phase||e.$apply(),t()})}}(),function(){t.$inject=["$element","$scope","$animate","$q","$$mdDateUtil","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendarMonth",function(){return{template:'<table aria-hidden="true" class="md-calendar-day-header"><thead></thead></table><div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container" md-offset-size="'+(e-n)+'"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody md-calendar-month-body role="rowgroup" md-virtual-repeat="i in monthCtrl.items" md-month-offset="$index" class="md-calendar-month" md-start-index="monthCtrl.getSelectedMonthIndex()" md-item-size="'+n+'"></tbody></table></md-virtual-repeat-container></div>',require:["^^mdCalendar","mdCalendarMonth"],controller:t,controllerAs:"monthCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1];a.initialize(i)}}});var n=265,e=45;function t(e,t,n,r,i,a){this.$element=e,this.$scope=t,this.$animate=n,this.$q=r,this.dateUtil=i,this.dateLocale=a,this.calendarScroller=e[0].querySelector(".md-virtual-repeat-scroller"),this.isInitialized=!1,this.isMonthTransitionInProgress=!1;var o=this;this.cellClickHandler=function(){var e=i.getTimestampFromNode(this);o.$scope.$apply(function(){o.calendarCtrl.setNgModelValue(e)})},this.headerClickHandler=function(){o.calendarCtrl.setCurrentView("year",i.getTimestampFromNode(this))}}t.prototype.initialize=function(e){this.items={length:this.dateUtil.getMonthDistance(e.firstRenderableDate,e.lastRenderableDate)+2},this.calendarCtrl=e,this.attachScopeListeners(),e.updateVirtualRepeat(),e.ngModelCtrl&&e.ngModelCtrl.$render()},t.prototype.getSelectedMonthIndex=function(){var e=this.calendarCtrl;return this.dateUtil.getMonthDistance(e.firstRenderableDate,e.displayDate||e.selectedDate||e.today)},t.prototype.changeSelectedDate=function(r){var i=this.calendarCtrl,a=i.selectedDate;i.selectedDate=r,this.changeDisplayDate(r).then(function(){var e=i.SELECTED_DATE_CLASS;if(a){var t=document.getElementById(i.getDateId(a,"month"));t&&(t.classList.remove(e),t.setAttribute("aria-selected","false"))}if(r){var n=document.getElementById(i.getDateId(r,"month"));n&&(n.classList.add(e),n.setAttribute("aria-selected","true"))}})},t.prototype.changeDisplayDate=function(e){if(!this.isInitialized)return this.buildWeekHeader(),this.calendarCtrl.hideVerticalScrollbar(this),this.isInitialized=!0,this.$q.when();if(!this.dateUtil.isValidDate(e)||this.isMonthTransitionInProgress)return this.$q.when();this.isMonthTransitionInProgress=!0;var t=this.animateDateChange(e);this.calendarCtrl.displayDate=e;var n=this;return t.then(function(){n.isMonthTransitionInProgress=!1}),t},t.prototype.animateDateChange=function(e){if(this.dateUtil.isValidDate(e)){var t=this.dateUtil.getMonthDistance(this.calendarCtrl.firstRenderableDate,e);this.calendarScroller.scrollTop=t*n}return this.$q.when()},t.prototype.buildWeekHeader=function(){for(var e=this.dateLocale.firstDayOfWeek,t=this.dateLocale.shortDays,n=document.createElement("tr"),r=0;r<7;r++){var i=document.createElement("th");i.textContent=t[(r+e)%7],n.appendChild(i)}this.$element.find("thead").append(n)},t.prototype.attachScopeListeners=function(){var n=this;n.$scope.$on("md-calendar-parent-changed",function(e,t){n.changeSelectedDate(t)}),n.$scope.$on("md-calendar-parent-action",ie.bind(this,this.handleKeyEvent))},t.prototype.handleKeyEvent=function(e,t){var n=this.calendarCtrl,r=n.displayDate;if("select"===t)n.setNgModelValue(r);else{var i=null,a=this.dateUtil;switch(t){case"move-right":i=a.incrementDays(r,1);break;case"move-left":i=a.incrementDays(r,-1);break;case"move-page-down":i=a.incrementMonths(r,1);break;case"move-page-up":i=a.incrementMonths(r,-1);break;case"move-row-down":i=a.incrementDays(r,7);break;case"move-row-up":i=a.incrementDays(r,-7);break;case"start":i=a.getFirstDateOfMonth(r);break;case"end":i=a.getLastDateOfMonth(r)}i&&(i=this.dateUtil.clampDate(i,n.minDate,n.maxDate),this.changeDisplayDate(i).then(function(){n.focus(i)}))}}}(),function(){function e(e,t){var s=e('<md-icon md-svg-src="'+t.mdTabsArrow+'"></md-icon>')({})[0];return{require:["^^mdCalendar","^^mdCalendarMonth","mdCalendarMonthBody"],scope:{offset:"=mdMonthOffset"},controller:n,controllerAs:"mdMonthBodyCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1],o=r[2];o.calendarCtrl=i,o.monthCtrl=a,o.arrowIcon=s.cloneNode(!0),e.$watch(function(){return o.offset},function(e,t){e!==t&&o.generateContent()})}}}function n(e,t,n){this.$element=e,this.dateUtil=t,this.dateLocale=n,this.monthCtrl=null,this.calendarCtrl=null,this.offset=null,this.focusAfterAppend=null}e.$inject=["$compile","$$mdSvgRegistry"],n.$inject=["$element","$$mdDateUtil","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendarMonthBody",e),n.prototype.generateContent=function(){var e=this.dateUtil.incrementMonths(this.calendarCtrl.firstRenderableDate,this.offset);this.$element.empty().append(this.buildCalendarForMonth(e)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(this.calendarCtrl.FOCUSED_DATE_CLASS),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},n.prototype.buildDateCell=function(e){var t=this.monthCtrl,n=this.calendarCtrl,r=document.createElement("td");if(r.tabIndex=-1,r.classList.add("md-calendar-date"),r.setAttribute("role","gridcell"),e){r.setAttribute("tabindex","-1"),r.setAttribute("aria-label",this.dateLocale.longDateFormatter(e)),r.id=n.getDateId(e,"month"),r.setAttribute("data-timestamp",e.getTime()),this.dateUtil.isSameDay(e,n.today)&&r.classList.add(n.TODAY_CLASS),this.dateUtil.isValidDate(n.selectedDate)&&this.dateUtil.isSameDay(e,n.selectedDate)&&(r.classList.add(n.SELECTED_DATE_CLASS),r.setAttribute("aria-selected","true"));var i=this.dateLocale.dates[e.getDate()];if(this.isDateEnabled(e)){var a=document.createElement("span");a.classList.add("md-calendar-date-selection-indicator"),a.textContent=i,r.appendChild(a),r.addEventListener("click",t.cellClickHandler),n.displayDate&&this.dateUtil.isSameDay(e,n.displayDate)&&(this.focusAfterAppend=r)}else r.classList.add("md-calendar-date-disabled"),r.textContent=i}return r},n.prototype.isDateEnabled=function(e){return this.dateUtil.isDateWithinRange(e,this.calendarCtrl.minDate,this.calendarCtrl.maxDate)&&(!ie.isFunction(this.calendarCtrl.dateFilter)||this.calendarCtrl.dateFilter(e))},n.prototype.buildDateRow=function(e){var t=document.createElement("tr");return t.setAttribute("role","row"),t.setAttribute("aria-label",this.dateLocale.weekNumberFormatter(e)),t},n.prototype.buildCalendarForMonth=function(e){var t=this.dateUtil.isValidDate(e)?e:new Date,n=this.dateUtil.getFirstDateOfMonth(t),r=this.getLocaleDay_(n),i=this.dateUtil.getNumberOfDaysInMonth(t),a=document.createDocumentFragment(),o=1,s=this.buildDateRow(o);a.appendChild(s);var c=this.offset===this.monthCtrl.items.length-1,l=0,u=document.createElement("td"),f=document.createElement("span");if(f.textContent=this.dateLocale.monthHeaderFormatter(t),u.appendChild(f),u.classList.add("md-calendar-month-label"),this.calendarCtrl.maxDate&&n>this.calendarCtrl.maxDate?u.classList.add("md-calendar-month-label-disabled"):(u.addEventListener("click",this.monthCtrl.headerClickHandler),u.setAttribute("data-timestamp",n.getTime()),u.setAttribute("aria-label",this.dateLocale.monthFormatter(t)),u.appendChild(this.arrowIcon.cloneNode(!0))),r<=2){u.setAttribute("colspan","7");var d=this.buildDateRow();if(d.appendChild(u),a.insertBefore(d,s),c)return a}else l=3,u.setAttribute("colspan","3"),s.appendChild(u);for(var h=l;h<r;h++)s.appendChild(this.buildDateCell());for(var p=r,m=n,g=1;g<=i;g++){if(7===p){if(c)return a;p=0,o++,s=this.buildDateRow(o),a.appendChild(s)}m.setDate(g);var _=this.buildDateCell(m);s.appendChild(_),p++}for(;s.childNodes.length<7;)s.appendChild(this.buildDateCell());for(;a.childNodes.length<6;){for(var b=this.buildDateRow(),v=0;v<7;v++)b.appendChild(this.buildDateCell());a.appendChild(b)}return a},n.prototype.getLocaleDay_=function(e){return(e.getDay()+(7-this.dateLocale.firstDayOfWeek))%7}}(),function(){e.$inject=["$element","$scope","$animate","$q","$$mdDateUtil"],ie.module("material.components.datepicker").directive("mdCalendarYear",function(){return{template:'<div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody md-calendar-year-body role="rowgroup" md-virtual-repeat="i in yearCtrl.items" md-year-offset="$index" class="md-calendar-year" md-start-index="yearCtrl.getFocusedYearIndex()" md-item-size="'+n+'"></tbody></table></md-virtual-repeat-container></div>',require:["^^mdCalendar","mdCalendarYear"],controller:e,controllerAs:"yearCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1];a.initialize(i)}}});var n=88;function e(e,t,n,r,i){this.$element=e,this.$scope=t,this.$animate=n,this.$q=r,this.dateUtil=i,this.calendarScroller=e[0].querySelector(".md-virtual-repeat-scroller"),this.isInitialized=!1,this.isMonthTransitionInProgress=!1;var a=this;this.cellClickHandler=function(){a.calendarCtrl.setCurrentView("month",i.getTimestampFromNode(this))}}e.prototype.initialize=function(e){this.items={length:this.dateUtil.getYearDistance(e.firstRenderableDate,e.lastRenderableDate)+1},this.calendarCtrl=e,this.attachScopeListeners(),e.updateVirtualRepeat(),e.ngModelCtrl&&e.ngModelCtrl.$render()},e.prototype.getFocusedYearIndex=function(){var e=this.calendarCtrl;return this.dateUtil.getYearDistance(e.firstRenderableDate,e.displayDate||e.selectedDate||e.today)},e.prototype.changeDate=function(e){if(!this.isInitialized)return this.calendarCtrl.hideVerticalScrollbar(this),this.isInitialized=!0,this.$q.when();if(this.dateUtil.isValidDate(e)&&!this.isMonthTransitionInProgress){var t=this,n=this.animateDateChange(e);return t.isMonthTransitionInProgress=!0,t.calendarCtrl.displayDate=e,n.then(function(){t.isMonthTransitionInProgress=!1})}},e.prototype.animateDateChange=function(e){if(this.dateUtil.isValidDate(e)){var t=this.dateUtil.getYearDistance(this.calendarCtrl.firstRenderableDate,e);this.calendarScroller.scrollTop=t*n}return this.$q.when()},e.prototype.handleKeyEvent=function(e,t){var n=this.calendarCtrl,r=n.displayDate;if("select"===t)this.changeDate(r).then(function(){n.setCurrentView("month",r),n.focus(r)});else{var i=null,a=this.dateUtil;switch(t){case"move-right":i=a.incrementMonths(r,1);break;case"move-left":i=a.incrementMonths(r,-1);break;case"move-row-down":i=a.incrementMonths(r,6);break;case"move-row-up":i=a.incrementMonths(r,-6)}if(i){var o=n.minDate?a.getFirstDateOfMonth(n.minDate):null,s=n.maxDate?a.getFirstDateOfMonth(n.maxDate):null;i=a.getFirstDateOfMonth(this.dateUtil.clampDate(i,o,s)),this.changeDate(i).then(function(){n.focus(i)})}}},e.prototype.attachScopeListeners=function(){var n=this;n.$scope.$on("md-calendar-parent-changed",function(e,t){n.changeDate(t)}),n.$scope.$on("md-calendar-parent-action",ie.bind(n,n.handleKeyEvent))}}(),function(){function e(e,t,n){this.$element=e,this.dateUtil=t,this.dateLocale=n,this.calendarCtrl=null,this.yearCtrl=null,this.offset=null,this.focusAfterAppend=null}e.$inject=["$element","$$mdDateUtil","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendarYearBody",function(){return{require:["^^mdCalendar","^^mdCalendarYear","mdCalendarYearBody"],scope:{offset:"=mdYearOffset"},controller:e,controllerAs:"mdYearBodyCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1],o=r[2];o.calendarCtrl=i,o.yearCtrl=a,e.$watch(function(){return o.offset},function(e,t){e!==t&&o.generateContent()})}}}),e.prototype.generateContent=function(){var e=this.dateUtil.incrementYears(this.calendarCtrl.firstRenderableDate,this.offset);this.$element.empty().append(this.buildCalendarForYear(e)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(this.calendarCtrl.FOCUSED_DATE_CLASS),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},e.prototype.buildMonthCell=function(e,t){var n=this.calendarCtrl,r=this.yearCtrl,i=this.buildBlankCell(),a=new Date(e,t,1);i.setAttribute("aria-label",this.dateLocale.monthFormatter(a)),i.id=n.getDateId(a,"year"),i.setAttribute("data-timestamp",a.getTime()),this.dateUtil.isSameMonthAndYear(a,n.today)&&i.classList.add(n.TODAY_CLASS),this.dateUtil.isValidDate(n.selectedDate)&&this.dateUtil.isSameMonthAndYear(a,n.selectedDate)&&(i.classList.add(n.SELECTED_DATE_CLASS),i.setAttribute("aria-selected","true"));var o=this.dateLocale.shortMonths[t];if(this.dateUtil.isMonthWithinRange(a,n.minDate,n.maxDate)){var s=document.createElement("span");s.classList.add("md-calendar-date-selection-indicator"),s.textContent=o,i.appendChild(s),i.addEventListener("click",r.cellClickHandler),n.displayDate&&this.dateUtil.isSameMonthAndYear(a,n.displayDate)&&(this.focusAfterAppend=i)}else i.classList.add("md-calendar-date-disabled"),i.textContent=o;return i},e.prototype.buildBlankCell=function(){var e=document.createElement("td");return e.tabIndex=-1,e.classList.add("md-calendar-date"),e.setAttribute("role","gridcell"),e.setAttribute("tabindex","-1"),e},e.prototype.buildCalendarForYear=function(e){var t,n=e.getFullYear(),r=document.createDocumentFragment(),i=document.createElement("tr"),a=document.createElement("td");for(a.className="md-calendar-month-label",a.textContent=n,i.appendChild(a),t=0;t<6;t++)i.appendChild(this.buildMonthCell(n,t));r.appendChild(i);var o=document.createElement("tr");for(o.appendChild(this.buildBlankCell()),t=6;t<12;t++)o.appendChild(this.buildMonthCell(n,t));return r.appendChild(o),r}}(),ie.module("material.components.datepicker").config(["$provide",function(e){function t(){this.months=null,this.shortMonths=null,this.days=null,this.shortDays=null,this.dates=null,this.firstDayOfWeek=0,this.formatDate=null,this.parseDate=null,this.monthHeaderFormatter=null,this.weekNumberFormatter=null,this.longDateFormatter=null,this.msgCalendar="",this.msgOpenCalendar=""}(t.prototype.$get=function(e,r){for(var t=e.DATETIME_FORMATS.SHORTDAY.map(function(e){return e.substring(0,1)}),n=Array(32),i=1;i<=31;i++)n[i]=i;var a=new Date(1880,0,1),o=new Date(a.getFullYear()+250,0,1),s={months:this.months||e.DATETIME_FORMATS.MONTH,shortMonths:this.shortMonths||e.DATETIME_FORMATS.SHORTMONTH,days:this.days||e.DATETIME_FORMATS.DAY,shortDays:this.shortDays||t,dates:this.dates||n,firstDayOfWeek:this.firstDayOfWeek||0,formatDate:this.formatDate||function(e){if(!e)return"";var t=e.toLocaleTimeString(),n=e;return 0!=e.getHours()||-1===t.indexOf("11:")&&-1===t.indexOf("23:")||(n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),1,0,0)),r("date")(n,"M/d/yyyy")},parseDate:this.parseDate||function(e){return new Date(e)},isDateComplete:this.isDateComplete||function(e){return e=e.trim(),/^(([a-zA-Z]{3,}|[0-9]{1,4})([ \.,]+|[\/\-])){2}([a-zA-Z]{3,}|[0-9]{1,4})$/.test(e)},monthHeaderFormatter:this.monthHeaderFormatter||function(e){return s.shortMonths[e.getMonth()]+" "+e.getFullYear()},monthFormatter:this.monthFormatter||function(e){return s.months[e.getMonth()]+" "+e.getFullYear()},weekNumberFormatter:this.weekNumberFormatter||function(e){return"Week "+e},longDateFormatter:this.longDateFormatter||function(e){return[s.days[e.getDay()],s.months[e.getMonth()],s.dates[e.getDate()],e.getFullYear()].join(" ")},msgCalendar:this.msgCalendar||"Calendar",msgOpenCalendar:this.msgOpenCalendar||"Open calendar",firstRenderableDate:this.firstRenderableDate||a,lastRenderableDate:this.lastRenderableDate||o};return s}).$inject=["$locale","$filter"],e.provider("$mdDateLocale",new t)}]),ie.module("material.components.datepicker").factory("$$mdDateUtil",function(){return{getFirstDateOfMonth:n,getNumberOfDaysInMonth:i,getDateInNextMonth:r,getDateInPreviousMonth:a,isInNextMonth:function(e,t){return o(r(e),t)},isInPreviousMonth:function(e,t){var n=a(e);return o(t,n)},getDateMidpoint:function(e,t){return u((e.getTime()+t.getTime())/2)},isSameMonthAndYear:o,getWeekOfMonth:function(e){var t=n(e);return Math.floor((t.getDay()+e.getDate()-1)/7)},incrementDays:function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},incrementMonths:s,getLastDateOfMonth:function(e){return new Date(e.getFullYear(),e.getMonth(),i(e))},isSameDay:function(e,t){return e.getDate()==t.getDate()&&o(e,t)},getMonthDistance:function(e,t){return 12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth())},isValidDate:c,setDateTimeToMidnight:l,createDateAtMidnight:u,isDateWithinRange:function(e,t,n){var r=u(e),i=c(t)?u(t):null,a=c(n)?u(n):null;return(!i||i<=r)&&(!a||r<=a)},incrementYears:function(e,t){return s(e,12*t)},getYearDistance:function(e,t){return t.getFullYear()-e.getFullYear()},clampDate:function(e,t,n){var r=e;return t&&e<t&&(r=new Date(t.getTime())),n&&n<e&&(r=new Date(n.getTime())),r},getTimestampFromNode:function(e){if(e&&e.hasAttribute("data-timestamp"))return Number(e.getAttribute("data-timestamp"))},isMonthWithinRange:function(e,t,n){var r=e.getMonth(),i=e.getFullYear();return(!t||t.getFullYear()<i||t.getMonth()<=r)&&(!n||n.getFullYear()>i||n.getMonth()>=r)}};function n(e){return new Date(e.getFullYear(),e.getMonth(),1)}function i(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function r(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function a(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function o(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function s(e,t){var n=new Date(e.getFullYear(),e.getMonth()+t,1),r=i(n);return r<e.getDate()?n.setDate(r):n.setDate(e.getDate()),n}function c(e){return null!=e&&e.getTime&&!isNaN(e.getTime())}function l(e){c(e)&&e.setHours(0,0,0,0)}function u(e){var t;return l(t=ie.isUndefined(e)?new Date:new Date(e)),t}}),function(){function e(i,f,d,h){return{template:function(e,t){var n=t.mdHideIcons,r=t.ariaLabel||t.mdPlaceholder;return("all"===n||"calendar"===n?"":'<md-button class="md-datepicker-button md-icon-button" type="button" tabindex="-1" aria-hidden="true" ng-click="ctrl.openCalendarPane($event)"><md-icon class="md-datepicker-calendar-icon" aria-label="md-calendar" md-svg-src="'+i.mdCalendar+'"></md-icon></md-button>')+'<div class="md-datepicker-input-container" ng-class="{\'md-datepicker-focused\': ctrl.isFocused}"><input '+(r?'aria-label="'+r+'" ':"")+'class="md-datepicker-input" aria-haspopup="true" ng-focus="ctrl.setFocused(true)" ng-blur="ctrl.setFocused(false)"> '+("all"===n||"triangle"===n?"":'<md-button type="button" md-no-ink class="md-datepicker-triangle-button md-icon-button" ng-click="ctrl.openCalendarPane($event)" aria-label="{{::ctrl.dateLocale.msgOpenCalendar}}"><div class="md-datepicker-expand-triangle"></div></md-button>')+'</div><div class="md-datepicker-calendar-pane md-whiteframe-z1"><div class="md-datepicker-input-mask"><div class="md-datepicker-input-mask-opaque"></div></div><div class="md-datepicker-calendar"><md-calendar role="dialog" aria-label="{{::ctrl.dateLocale.msgCalendar}}" md-current-view="{{::ctrl.currentView}}"md-min-date="ctrl.minDate"md-max-date="ctrl.maxDate"md-date-filter="ctrl.dateFilter"ng-model="ctrl.date" ng-if="ctrl.isCalendarOpen"></md-calendar></div></div>'},require:["ngModel","mdDatepicker","?^mdInputContainer","?^form"],scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",placeholder:"@mdPlaceholder",currentView:"@mdCurrentView",dateFilter:"=mdDateFilter",isOpen:"=?mdIsOpen",debounceInterval:"=mdDebounceInterval"},controller:t,controllerAs:"ctrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1],o=r[2],s=r[3],c=f.parseAttributeBoolean(n.mdNoAsterisk);if(a.configureNgModel(i,o,h),o){var l=t[0].querySelector(".md-errors-spacer");l&&t.after(ie.element("<div>").append(l)),o.setHasPlaceholder(n.mdPlaceholder),o.input=t,o.element.addClass(p).toggleClass(m,"calendar"!==n.mdHideIcons&&"all"!==n.mdHideIcons),o.label?c||n.$observe("required",function(e){o.label.toggleClass("md-required",!!e)}):d.expect(t,"aria-label",n.mdPlaceholder),e.$watch(o.isErrorGetter||function(){return i.$invalid&&(i.$touched||s&&s.$submitted)},o.setInvalid)}else if(s)var u=e.$watch(function(){return s.$submitted},function(e){e&&(a.updateErrorState(),u())})}}}t.$inject=["$scope","$element","$attrs","$window","$mdConstant","$mdTheming","$mdUtil","$mdDateLocale","$$mdDateUtil","$$rAF","$mdGesture","$filter"],e.$inject=["$$mdSvgRegistry","$mdUtil","$mdAria","inputDirective"],ie.module("material.components.datepicker").directive("mdDatepicker",e);var i="md-datepicker-invalid",f="md-datepicker-open",p="_md-datepicker-floating-label",m="_md-datepicker-has-calendar-icon";function t(e,t,n,r,i,a,o,s,c,l,u,f){this.$window=r,this.dateLocale=s,this.dateUtil=c,this.$mdConstant=i,this.$mdUtil=o,this.$$rAF=l,this.documentElement=ie.element(document.documentElement),this.ngModelCtrl=null,this.inputElement=t[0].querySelector("input"),this.ngInputElement=ie.element(this.inputElement),this.inputContainer=t[0].querySelector(".md-datepicker-input-container"),this.calendarPane=t[0].querySelector(".md-datepicker-calendar-pane"),this.calendarButton=t[0].querySelector(".md-datepicker-button"),this.inputMask=ie.element(t[0].querySelector(".md-datepicker-input-mask-opaque")),this.$element=t,this.$attrs=n,this.$scope=e,this.date=null,this.isFocused=!1,this.isDisabled,this.setDisabled(t[0].disabled||ie.isString(n.disabled)),this.isCalendarOpen=!1,this.openOnFocus=n.hasOwnProperty("mdOpenOnFocus"),this.mdInputContainer=null,this.calendarPaneOpenedFrom=null,this.calendarPane.id="md-date-pane"+o.nextUid(),this.bodyClickHandler=ie.bind(this,this.handleBodyClick),this.windowEventName=u.isIos||u.isAndroid?"orientationchange":"resize",this.windowEventHandler=o.debounce(ie.bind(this,this.closeCalendarPane),100),this.windowBlurHandler=ie.bind(this,this.handleWindowBlur),this.ngDateFilter=f("date"),this.leftMargin=20,this.topMargin=null,n.tabindex?(this.ngInputElement.attr("tabindex",n.tabindex),n.$set("tabindex",null)):n.$set("tabindex","-1"),a(t),a(ie.element(this.calendarPane)),this.installPropertyInterceptors(),this.attachChangeListeners(),this.attachInteractionListeners();var d=this;e.$on("$destroy",function(){d.detachCalendarPane()}),n.mdIsOpen&&e.$watch("ctrl.isOpen",function(e){e?d.openCalendarPane({target:d.inputElement}):d.closeCalendarPane()})}t.prototype.configureNgModel=function(e,t,n){this.ngModelCtrl=e,this.mdInputContainer=t,this.$attrs.$set("type","date"),n[0].link.pre(this.$scope,{on:ie.noop,val:ie.noop,0:{}},this.$attrs,[e]);var r=this;r.ngModelCtrl.$formatters.push(function(e){if(e&&!(e instanceof Date))throw Error("The ng-model for md-datepicker must be a Date instance. Currently the model is a: "+typeof e);return r.date=e,r.inputElement.value=r.dateLocale.formatDate(e),r.mdInputContainer&&r.mdInputContainer.setHasValue(!!e),r.resizeInputElement(),r.updateErrorState(),e}),e.$viewChangeListeners.unshift(ie.bind(this,this.updateErrorState))},t.prototype.attachChangeListeners=function(){var n=this;n.$scope.$on("md-calendar-change",function(e,t){n.setModelValue(t),n.date=t,n.inputElement.value=n.dateLocale.formatDate(t),n.mdInputContainer&&n.mdInputContainer.setHasValue(!!t),n.closeCalendarPane(),n.resizeInputElement(),n.updateErrorState()}),n.ngInputElement.on("input",ie.bind(n,n.resizeInputElement));var e=ie.isDefined(this.debounceInterval)?this.debounceInterval:500;n.ngInputElement.on("input",n.$mdUtil.debounce(n.handleInputEvent,e,n))},t.prototype.attachInteractionListeners=function(){var t=this,n=this.$scope,r=this.$mdConstant.KEY_CODE;t.ngInputElement.on("keydown",function(e){e.altKey&&e.keyCode==r.DOWN_ARROW&&(t.openCalendarPane(e),n.$digest())}),t.openOnFocus&&(t.ngInputElement.on("focus",ie.bind(t,t.openCalendarPane)),ie.element(t.$window).on("blur",t.windowBlurHandler),n.$on("$destroy",function(){ie.element(t.$window).off("blur",t.windowBlurHandler)})),n.$on("md-calendar-close",function(){t.closeCalendarPane()})},t.prototype.installPropertyInterceptors=function(){var t=this;if(this.$attrs.ngDisabled){var e=this.$scope.$parent;e&&e.$watch(this.$attrs.ngDisabled,function(e){t.setDisabled(e)})}Object.defineProperty(this,"placeholder",{get:function(){return t.inputElement.placeholder},set:function(e){t.inputElement.placeholder=e||""}})},t.prototype.setDisabled=function(e){this.isDisabled=e,this.inputElement.disabled=e,this.calendarButton&&(this.calendarButton.disabled=e)},t.prototype.updateErrorState=function(e){var t=e||this.date;if(this.clearErrorState(),this.dateUtil.isValidDate(t)){if(t=this.dateUtil.createDateAtMidnight(t),this.dateUtil.isValidDate(this.minDate)){var n=this.dateUtil.createDateAtMidnight(this.minDate);this.ngModelCtrl.$setValidity("mindate",n<=t)}if(this.dateUtil.isValidDate(this.maxDate)){var r=this.dateUtil.createDateAtMidnight(this.maxDate);this.ngModelCtrl.$setValidity("maxdate",t<=r)}ie.isFunction(this.dateFilter)&&this.ngModelCtrl.$setValidity("filtered",this.dateFilter(t))}else this.ngModelCtrl.$setValidity("valid",null==t);this.ngModelCtrl.$valid||this.inputContainer.classList.add(i)},t.prototype.clearErrorState=function(){this.inputContainer.classList.remove(i),["mindate","maxdate","filtered","valid"].forEach(function(e){this.ngModelCtrl.$setValidity(e,!0)},this)},t.prototype.resizeInputElement=function(){this.inputElement.size=this.inputElement.value.length+3},t.prototype.handleInputEvent=function(){var e=this.inputElement.value,t=e?this.dateLocale.parseDate(e):null;this.dateUtil.setDateTimeToMidnight(t),(""==e||this.dateUtil.isValidDate(t)&&this.dateLocale.isDateComplete(e)&&this.isDateEnabled(t))&&(this.setModelValue(t),this.date=t),this.updateErrorState(t)},t.prototype.isDateEnabled=function(e){return this.dateUtil.isDateWithinRange(e,this.minDate,this.maxDate)&&(!ie.isFunction(this.dateFilter)||this.dateFilter(e))},t.prototype.attachCalendarPane=function(){var e=this.calendarPane,t=document.body;e.style.transform="",this.$element.addClass(f),this.mdInputContainer&&this.mdInputContainer.element.addClass(f),ie.element(t).addClass("md-datepicker-is-showing");var n=this.inputContainer.getBoundingClientRect(),r=t.getBoundingClientRect();(!this.topMargin||this.topMargin<0)&&(this.topMargin=(this.inputMask.parent().prop("clientHeight")-this.ngInputElement.prop("clientHeight"))/2);var i=n.top-r.top-this.topMargin,a=n.left-r.left-this.leftMargin,o=r.top<0&&0==document.body.scrollTop?-r.top:document.body.scrollTop,s=r.left<0&&0==document.body.scrollLeft?-r.left:document.body.scrollLeft,c=o+this.$window.innerHeight,l=s+this.$window.innerWidth;if(this.inputMask.css({position:"absolute",left:this.leftMargin+"px",top:this.topMargin+"px",width:n.width-1+"px",height:n.height-2+"px"}),l<a+360){if(0<l-360)a=l-360;else{a=s;var u=this.$window.innerWidth/360;e.style.transform="scale("+u+")"}e.classList.add("md-datepicker-pos-adjusted")}c<i+368&&o<c-368&&(i=c-368,e.classList.add("md-datepicker-pos-adjusted")),e.style.left=a+"px",e.style.top=i+"px",document.body.appendChild(e),this.$$rAF(function(){e.classList.add("md-pane-open")})},t.prototype.detachCalendarPane=function(){this.$element.removeClass(f),this.mdInputContainer&&this.mdInputContainer.element.removeClass(f),ie.element(document.body).removeClass("md-datepicker-is-showing"),this.calendarPane.classList.remove("md-pane-open"),this.calendarPane.classList.remove("md-datepicker-pos-adjusted"),this.isCalendarOpen&&this.$mdUtil.enableScrolling(),this.calendarPane.parentNode&&this.calendarPane.parentNode.removeChild(this.calendarPane)},t.prototype.openCalendarPane=function(e){if(!this.isCalendarOpen&&!this.isDisabled&&!this.inputFocusedOnWindowBlur){this.isCalendarOpen=this.isOpen=!0,this.calendarPaneOpenedFrom=e.target,this.$mdUtil.disableScrollAround(this.calendarPane),this.attachCalendarPane(),this.focusCalendar(),this.evalAttr("ngFocus");var t=this;this.$mdUtil.nextTick(function(){t.documentElement.on("click touchstart",t.bodyClickHandler)},!1),G.addEventListener(this.windowEventName,this.windowEventHandler)}},t.prototype.closeCalendarPane=function(){if(this.isCalendarOpen){var e=this;e.detachCalendarPane(),e.ngModelCtrl.$setTouched(),e.evalAttr("ngBlur"),e.documentElement.off("click touchstart",e.bodyClickHandler),G.removeEventListener(e.windowEventName,e.windowEventHandler),e.calendarPaneOpenedFrom.focus(),e.calendarPaneOpenedFrom=null,e.openOnFocus?e.$mdUtil.nextTick(t):t()}function t(){e.isCalendarOpen=e.isOpen=!1}},t.prototype.getCalendarCtrl=function(){return ie.element(this.calendarPane.querySelector("md-calendar")).controller("mdCalendar")},t.prototype.focusCalendar=function(){var e=this;this.$mdUtil.nextTick(function(){e.getCalendarCtrl().focus()},!1)},t.prototype.setFocused=function(e){e||this.ngModelCtrl.$setTouched(),this.openOnFocus||this.evalAttr(e?"ngFocus":"ngBlur"),this.isFocused=e},t.prototype.handleBodyClick=function(e){this.isCalendarOpen&&(this.$mdUtil.getClosest(e.target,"md-calendar")||this.closeCalendarPane(),this.$scope.$digest())},t.prototype.handleWindowBlur=function(){this.inputFocusedOnWindowBlur=document.activeElement===this.inputElement},t.prototype.evalAttr=function(e){this.$attrs[e]&&this.$scope.$parent.$eval(this.$attrs[e])},t.prototype.setModelValue=function(e){this.ngModelCtrl.$setViewValue(this.ngDateFilter(e,"yyyy-MM-dd"))}}(),ie.module("material.components.icon").directive("mdIcon",["$mdIcon","$mdTheming","$mdAria","$sce",function(l,u,f,e){return{restrict:"E",link:function(e,t,n){u(t);var r=n.mdFontIcon,i=l.fontSet(n.mdFontSet);n.mdSvgIcon||n.mdSvgSrc||(n.mdFontIcon&&t.addClass("md-font "+n.mdFontIcon),t.addClass(i)),n.$observe("mdFontIcon",c),n.$observe("mdFontSet",c),t[0].getAttribute(n.$attr.mdSvgSrc);var a,o=n.alt||n.mdFontIcon||n.mdSvgIcon||t.text(),s=n.$normalize(n.$attr.mdSvgIcon||n.$attr.mdSvgSrc||"");function c(){if(!n.mdSvgIcon&&!n.mdSvgSrc){n.mdFontIcon&&(t.removeClass(r),t.addClass(n.mdFontIcon),r=n.mdFontIcon);var e=l.fontSet(n.mdFontSet);i!==e&&(t.removeClass(i),t.addClass(e),i=e)}}n["aria-label"]||(""===o||((a=t.parent()).attr("aria-label")||a.text()||a.parent().attr("aria-label")||a.parent().text())?t.text()||f.expect(t,"aria-hidden","true"):(f.expect(t,"aria-label",o),f.expect(t,"role","img"))),s&&n.$observe(s,function(e){t.empty(),e&&l(e).then(function(e){t.empty(),t.append(e)})})}}}]),function(){o.$inject=["config","$templateRequest","$q","$log","$mdUtil","$sce"],ie.module("material.components.icon").constant("$$mdSvgRegistry",{mdTabsArrow:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4=",mdClose:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik0xOSA2LjQxbC0xLjQxLTEuNDEtNS41OSA1LjU5LTUuNTktNS41OS0xLjQxIDEuNDEgNS41OSA1LjU5LTUuNTkgNS41OSAxLjQxIDEuNDEgNS41OS01LjU5IDUuNTkgNS41OSAxLjQxLTEuNDEtNS41OS01LjU5eiIvPjwvZz48L3N2Zz4=",mdCancel:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik0xMiAyYy01LjUzIDAtMTAgNC40Ny0xMCAxMHM0LjQ3IDEwIDEwIDEwIDEwLTQuNDcgMTAtMTAtNC40Ny0xMC0xMC0xMHptNSAxMy41OWwtMS40MSAxLjQxLTMuNTktMy41OS0zLjU5IDMuNTktMS40MS0xLjQxIDMuNTktMy41OS0zLjU5LTMuNTkgMS40MS0xLjQxIDMuNTkgMy41OSAzLjU5LTMuNTkgMS40MSAxLjQxLTMuNTkgMy41OSAzLjU5IDMuNTl6Ii8+PC9nPjwvc3ZnPg==",mdMenu:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0zLDZIMjFWOEgzVjZNMywxMUgyMVYxM0gzVjExTTMsMTZIMjFWMThIM1YxNloiIC8+PC9zdmc+",mdToggleArrow:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDggNDgiPjxwYXRoIGQ9Ik0yNCAxNmwtMTIgMTIgMi44MyAyLjgzIDkuMTctOS4xNyA5LjE3IDkuMTcgMi44My0yLjgzeiIvPjxwYXRoIGQ9Ik0wIDBoNDh2NDhoLTQ4eiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==",mdCalendar:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgM2gtMVYxaC0ydjJIOFYxSDZ2Mkg1Yy0xLjExIDAtMS45OS45LTEuOTkgMkwzIDE5YzAgMS4xLjg5IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0yVjVjMC0xLjEtLjktMi0yLTJ6bTAgMTZINVY4aDE0djExek03IDEwaDV2NUg3eiIvPjwvc3ZnPg==",mdChecked:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik05IDE2LjE3TDQuODMgMTJsLTEuNDIgMS40MUw5IDE5IDIxIDdsLTEuNDEtMS40MXoiLz48L2c+PC9zdmc+"}).provider("$mdIcon",e);var a={defaultViewBoxSize:24,defaultFontSet:"material-icons",fontSets:[]};function e(){}function r(e,t){this.url=e,this.viewBoxSize=t||a.defaultViewBoxSize}function o(o,a,s,c,r,t){var i={},l={},n=/[-\w@:%\+.~#?&//=]{2,}\.[a-z]{2,4}\b(\/[-\w@:%\+.~#?&//=]*)?/i,u=/^data:image\/svg\+xml[\s*;\w\-\=]*?(base64)?,(.*)$/i;return m.prototype={clone:function(){return this.element.cloneNode(!0)},prepare:function(){var e=this.config?this.config.viewBoxSize:o.defaultViewBoxSize;ie.forEach({fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:this.element.getAttribute("viewBox")||"0 0 "+e+" "+e,focusable:!1},function(e,t){this.element.setAttribute(t,e)},this)}},e.fontSet=function(t){if(ie.isUndefined(t)||!t||!t.length)return o.defaultFontSet;var n=t;return ie.forEach(o.fontSets,function(e){e.alias==t&&(n=e.fontSet||n)}),n},e;function e(e){return e=e||"",ie.isString(e)||(e=t.getTrustedUrl(e)),i[e]?s.when(function(e){var t=e.clone(),n="_cache"+r.nextUid();t.id&&(t.id+=n);return ie.forEach(t.querySelectorAll("[id]"),function(e){e.id+=n}),t}(i[e])):n.test(e)||u.test(e)?p(e).then(f(e)):(-1==e.indexOf(":")&&(e="$default:"+e),(o[e]?d:h)(e).then(f(e)))}function f(n){return function(e){var t;return i[n]=(t=e,ie.isDefined(t.element)&&ie.isDefined(t.config)?e:new m(e,o[n])),i[n].clone()}}function d(e){var t=o[e];return p(t.url).then(function(e){return new m(e,t)})}function h(r){var e=r.substring(0,r.lastIndexOf(":"))||"$default",i=o[e];return i?p(i.url).then(function(e){var t=r.slice(r.lastIndexOf(":")+1),n=e.querySelector("#"+t);return n?new m(n,i):a(r)}):a(r);function a(e){var t="icon "+e+" not found";return c.warn(t),s.reject(t||e)}}function p(e){return u.test(e)?(t=e,n=u.exec(t),i=/base64/i.test(t)?G.atob(n[2]):n[2],s.when(ie.element(i)[0])):(r=e,s(function(t,n){a(r,!0).then(function(e){l[r]||(l[r]=ie.element("<div>").append(e)[0].querySelector("svg")),t(l[r])},function(e){var t=ie.isString(e)?e:e.message||e.data||e.statusText;c.warn(t),n(e)})}));var r,t,n,i}function m(e,t){e&&"svg"!=e.tagName&&(e=ie.element('<svg xmlns="http://www.w3.org/2000/svg">').append(e.cloneNode(!0))[0]),e.getAttribute("xmlns")||e.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.element=e,this.config=t,this.prepare()}}e.prototype={icon:function(e,t,n){return-1==e.indexOf(":")&&(e="$default:"+e),a[e]=new r(t,n),this},iconSet:function(e,t,n){return a[e]=new r(t,n),this},defaultIconSet:function(e,t){var n="$default";return a[n]||(a[n]=new r(e,t)),a[n].viewBoxSize=t||a.defaultViewBoxSize,this},defaultViewBoxSize:function(e){return a.defaultViewBoxSize=e,this},fontSet:function(e,t){return a.fontSets.push({alias:e,fontSet:t||e}),this},defaultFontSet:function(e){return a.defaultFontSet=e||"",this},defaultIconSize:function(e){return a.defaultIconSize=e,this},$get:["$templateRequest","$q","$log","$mdUtil","$sce",function(e,t,n,r,i){return o(a,e,t,n,r,i)}]}}(),function(){function e(i,t,a,o,s,r,e,n){var c,l,u=s.prefixer(),f=this;this.nestLevel=parseInt(t.mdNestLevel,10)||0,this.init=function(e,t){t=t||{},c=e,(l=a[0].querySelector(u.buildSelector(["ng-click","ng-mouseenter"]))).setAttribute("aria-expanded","false"),this.isInMenuBar=t.isInMenuBar,this.nestedMenus=s.nodesToArray(c[0].querySelectorAll(".md-nested-menu")),c.on("$mdInterimElementRemove",function(){f.isOpen=!1,s.nextTick(function(){f.onIsOpenChanged(f.isOpen)})}),s.nextTick(function(){f.onIsOpenChanged(f.isOpen)});var n="menu_container_"+s.nextUid();c.attr("id",n),ie.element(l).attr({"aria-owns":n,"aria-haspopup":"true"}),o.$on("$destroy",ie.bind(this,function(){this.disableHoverListener(),i.destroy()})),c.on("$destroy",function(){i.destroy()})};var d,h,p=[];this.enableHoverListener=function(){p.push(e.$on("$mdMenuOpen",function(e,t){c[0].contains(t[0])&&(f.currentlyOpenMenu=t.controller("mdMenu"),f.isAlreadyOpening=!1,f.currentlyOpenMenu.registerContainerProxy(f.triggerContainerProxy.bind(f)))})),p.push(e.$on("$mdMenuClose",function(e,t){c[0].contains(t[0])&&(f.currentlyOpenMenu=ae)})),(h=ie.element(s.nodesToArray(c[0].children[0].children))).on("mouseenter",f.handleMenuItemHover),h.on("mouseleave",f.handleMenuItemMouseLeave)},this.disableHoverListener=function(){for(;p.length;)p.shift()();h&&h.off("mouseenter",f.handleMenuItemHover),h&&h.off("mouseleave",f.handleMenuItemMouseLeave)},this.handleMenuItemHover=function(e){if(!f.isAlreadyOpening){var t=e.target.querySelector("md-menu")||s.getClosest(e.target,"MD-MENU");d=r(function(){if(t&&(t=ie.element(t).controller("mdMenu")),f.currentlyOpenMenu&&f.currentlyOpenMenu!=t){var e=f.nestLevel+1;f.currentlyOpenMenu.close(!0,{closeTo:e}),f.isAlreadyOpening=!!t,t&&t.open()}else t&&!t.isOpen&&t.open&&(f.isAlreadyOpening=!!t,t&&t.open())},t?100:250);var n=e.currentTarget.querySelector(".md-button:not([disabled])");n&&n.focus()}},this.handleMenuItemMouseLeave=function(){d&&(r.cancel(d),d=ae)},this.open=function(e){e&&e.stopPropagation(),e&&e.preventDefault(),f.isOpen||(f.enableHoverListener(),f.isOpen=!0,s.nextTick(function(){f.onIsOpenChanged(f.isOpen)}),(l=l||(e?e.target:a[0])).setAttribute("aria-expanded","true"),o.$emit("$mdMenuOpen",a),i.show({scope:o,mdMenuCtrl:f,nestLevel:f.nestLevel,element:c,target:l,preserveElement:!0,parent:"body"}).finally(function(){l.setAttribute("aria-expanded","false"),f.disableHoverListener()}))},o.$mdOpenMenu=this.open,this.onIsOpenChanged=function(e){e?(c.attr("aria-hidden","false"),a[0].classList.add("md-open"),ie.forEach(f.nestedMenus,function(e){e.classList.remove("md-open")})):(c.attr("aria-hidden","true"),a[0].classList.remove("md-open")),o.$mdMenuIsOpen=f.isOpen},this.focusMenuContainer=function(){var e=c[0].querySelector(u.buildSelector(["md-menu-focus-target","md-autofocus"]));e||(e=c[0].querySelector(".md-button")),e.focus()},this.registerContainerProxy=function(e){this.containerProxy=e},this.triggerContainerProxy=function(e){this.containerProxy&&this.containerProxy(e)},this.destroy=function(){return f.isOpen?i.destroy():n.when(!1)},this.close=function(e,t){if(f.isOpen){f.isOpen=!1,s.nextTick(function(){f.onIsOpenChanged(f.isOpen)});var n=ie.extend({},t,{skipFocus:e});if(o.$emit("$mdMenuClose",a,n),i.hide(null,t),!e){var r=f.restoreFocusTo||a.find("button")[0];r instanceof ie.element&&(r=r[0]),r&&r.focus()}}},this.positionMode=function(){var e=(t.mdPositionMode||"target").split(" ");return 1==e.length&&e.push(e[0]),{left:e[0],top:e[1]}},this.offsets=function(){var e=(t.mdOffset||"0 0").split(" ").map(parseFloat);if(2==e.length)return{left:e[0],top:e[1]};if(1==e.length)return{top:e[0],left:e[0]};throw Error("Invalid offsets specified. Please follow format <x, y> or <n>")}}e.$inject=["$mdMenu","$attrs","$element","$scope","$mdUtil","$timeout","$rootScope","$q"],ie.module("material.components.menu").controller("mdMenuCtrl",e)}(),function(){function e(a){return{restrict:"E",require:["mdMenu","?^mdMenuBar"],controller:"mdMenuCtrl",scope:!0,compile:function(e){e.addClass("md-menu");var t=e.children()[0],n=a.prefixer();n.hasAttribute(t,"ng-click")||(t=t.querySelector(n.buildSelector(["ng-click","ng-mouseenter"]))||t);!t||"MD-BUTTON"!=t.nodeName&&"BUTTON"!=t.nodeName||t.hasAttribute("type")||t.setAttribute("type","button");if(2!=e.children().length)throw Error("Invalid HTML for md-menu: Expected two children elements.");t&&t.setAttribute("aria-haspopup","true");var r=e[0].querySelectorAll("md-menu"),i=parseInt(e[0].getAttribute("md-nest-level"),10)||0;r&&ie.forEach(a.nodesToArray(r),function(e){e.hasAttribute("md-position-mode")||e.setAttribute("md-position-mode","cascade"),e.classList.add("_md-nested-menu"),e.setAttribute("md-nest-level",i+1)});return o}};function o(e,t,n,r){var i=r[0],a=r[1]!=ae,o=ie.element('<div class="_md md-open-menu-container md-whiteframe-z2"></div>'),s=t.children()[1];t.addClass("_md"),s.hasAttribute("role")||s.setAttribute("role","menu"),o.append(s),t.on("$destroy",function(){o.remove()}),t.append(o),o[0].style.display="none",i.init(o,{isInMenuBar:a})}}e.$inject=["$mdUtil"],ie.module("material.components.menu").directive("mdMenu",e)}(),function(){function e(e){t.$inject=["$mdUtil","$mdTheming","$mdConstant","$document","$window","$q","$$rAF","$animateCss","$animate"];var x=8;return e("$mdMenu").setDefaults({methods:["target"],options:t});function t(C,c,l,A,S,u,f,d,h){var T=C.prefixer(),p=C.dom.animator;return{parent:"body",onShow:function(a,o,s){return function(){if(!s.target)throw Error("$mdMenu.show() expected a target to animate from in options.target");ie.extend(s,{alreadyOpen:!1,isRemoved:!1,target:ie.element(s.target),parent:ie.element(s.parent),menuContentEl:ie.element(o[0].querySelector("md-menu-content"))})}(),c.inherit(s.menuContentEl,s.target),s.cleanupResizing=(n=o,r=s,i=f.throttle(function(){if(!s.isRemoved){var e=_(n,r);n.css(p.toCss(e))}}),S.addEventListener("resize",i),S.addEventListener("orientationchange",i),function(){S.removeEventListener("resize",i),S.removeEventListener("orientationchange",i)}),s.hideBackdrop=(e=a,t=s,t.nestLevel?ie.noop:(t.disableParentScroll&&!C.getClosest(t.target,"MD-DIALOG")?t.restoreScroll=C.disableScrollAround(t.element,t.parent):t.disableParentScroll=!1,t.hasBackdrop&&(t.backdrop=C.createBackdrop(e,"md-menu-backdrop md-click-catcher"),h.enter(t.backdrop,A[0].body)),function(){t.backdrop&&t.backdrop.remove(),t.disableParentScroll&&t.restoreScroll()})),(s.parent.append(o),o[0].style.display="",u(function(e){var t=_(o,s);o.removeClass("md-leave"),d(o,{addClass:"md-active",from:p.toCss(t),to:p.toCss({transform:""})}).start().then(e)})).then(function(e){return s.alreadyOpen=!0,s.cleanupInteraction=function(){o.addClass("md-clickable"),s.backdrop&&s.backdrop.on("click",r),s.menuContentEl.on("keydown",n),s.menuContentEl[0].addEventListener("click",i,!0);var e=s.menuContentEl[0].querySelector(T.buildSelector(["md-menu-focus-target","md-autofocus"]));if(!e){var t=s.menuContentEl[0].firstElementChild;e=t&&(t.querySelector(".md-button:not([disabled])")||t.firstElementChild)}return e&&e.focus(),function(){o.removeClass("md-clickable"),s.backdrop&&s.backdrop.off("click",r),s.menuContentEl.off("keydown",n),s.menuContentEl[0].removeEventListener("click",i,!0)};function n(e){var t;switch(e.keyCode){case l.KEY_CODE.ESCAPE:s.mdMenuCtrl.close(!1,{closeAll:!0}),t=!0;break;case l.KEY_CODE.UP_ARROW:m(e,s.menuContentEl,s,-1)||s.nestLevel||s.mdMenuCtrl.triggerContainerProxy(e),t=!0;break;case l.KEY_CODE.DOWN_ARROW:m(e,s.menuContentEl,s,1)||s.nestLevel||s.mdMenuCtrl.triggerContainerProxy(e),t=!0;break;case l.KEY_CODE.LEFT_ARROW:s.nestLevel?s.mdMenuCtrl.close():s.mdMenuCtrl.triggerContainerProxy(e),t=!0;break;case l.KEY_CODE.RIGHT_ARROW:var n=C.getClosest(e.target,"MD-MENU");n&&n!=s.parent[0]?e.target.click():s.mdMenuCtrl.triggerContainerProxy(e),t=!0}t&&(e.preventDefault(),e.stopImmediatePropagation())}function r(e){e.preventDefault(),e.stopPropagation(),a.$apply(function(){s.mdMenuCtrl.close(!0,{closeAll:!0})})}function i(e){var t=e.target;do{if(t==s.menuContentEl[0])return;if((r(t,["ng-click","ng-href","ui-sref"])||"BUTTON"==t.nodeName||"MD-BUTTON"==t.nodeName)&&!r(t,["md-prevent-menu-close"])){var n=C.getClosest(t,"MD-MENU");t.hasAttribute("disabled")||n&&n!=s.parent[0]||a.$apply(function(){s.mdMenuCtrl.close(!0,{closeAll:!0})});break}}while(t=t.parentNode);function r(e,t){if(!e)return!1;for(var n,r=0;n=t[r];++r)if(T.hasAttribute(e,n))return!0;return!1}}}(),e});var e,t;var n,r,i},onRemove:function(e,n,r){return r.cleanupInteraction&&r.cleanupInteraction(),r.cleanupResizing(),r.hideBackdrop(),!0===r.$destroy?t():d(n,{addClass:"md-leave"}).start().then(t);function t(){var e,t;n.removeClass("md-active"),e=n,(t=r).preserveElement?i(e).style.display="none":i(e).parentNode===i(t.parent)&&i(t.parent).removeChild(i(e)),r.alreadyOpen=!1}},hasBackdrop:!0,disableParentScroll:!0,skipCompile:!0,preserveScope:!0,skipHide:!0,themable:!0};function m(e,t,n,r){for(var i,a=C.getClosest(e.target,"MD-MENU-ITEM"),o=C.nodesToArray(t[0].children),s=o.indexOf(a)+r;0<=s&&s<o.length;s+=r){if(i=g(o[s].querySelector(".md-button")))break}return i}function g(e){if(e&&-1!=e.getAttribute("tabindex"))return e.focus(),A[0].activeElement==e}function _(e,t){var n,r=e[0],i=e[0].firstElementChild,a=i.getBoundingClientRect(),o=A[0].body.getBoundingClientRect(),s=S.getComputedStyle(i),c=t.target[0].querySelector(T.buildSelector("md-menu-origin"))||t.target[0],l=c.getBoundingClientRect(),u={left:o.left+x,top:Math.max(o.top,0)+x,bottom:Math.max(o.bottom,Math.max(o.top,0)+o.height)-x,right:o.right-x},f={top:0,left:0,right:0,bottom:0},d={top:0,left:0,right:0,bottom:0},h=t.mdMenuCtrl.positionMode();"target"!=h.top&&"target"!=h.left&&"target-right"!=h.left||(n=function(){for(var e=0;e<i.children.length;++e)if("none"!=S.getComputedStyle(i.children[e]).display)return i.children[e]}())&&(f=(n=(n=n.firstElementChild||n).querySelector(T.buildSelector("md-menu-align-target"))||n).getBoundingClientRect(),d={top:parseFloat(r.style.top||0),left:parseFloat(r.style.left||0)});var p={},m="top ";switch(h.top){case"target":p.top=d.top+l.top-f.top;break;case"cascade":p.top=l.top-parseFloat(s.paddingTop)-c.style.top;break;case"bottom":p.top=l.top+l.height;break;default:throw new Error('Invalid target mode "'+h.top+'" specified for md-menu on Y axis.')}var g="rtl"==C.bidi();switch(h.left){case"target":p.left=d.left+l.left-f.left,m+=g?"right":"left";break;case"target-left":p.left=l.left,m+="left";break;case"target-right":p.left=l.right-a.width+(a.right-f.right),m+="right";break;case"cascade":var _=g?l.left-a.width<u.left:l.right+a.width<u.right;p.left=_?l.right-c.style.left:l.left-c.style.left-a.width,m+=_?"left":"right";break;case"right":g?(p.left=l.right-l.width,m+="left"):(p.left=l.right-a.width,m+="right");break;case"left":g?(p.left=l.right-a.width,m+="right"):(p.left=l.left,m+="left");break;default:throw new Error('Invalid target mode "'+h.left+'" specified for md-menu on X axis.')}var b,v=t.mdMenuCtrl.offsets();p.top+=v.top,p.left+=v.left,(b=p).top=Math.max(Math.min(b.top,u.bottom-r.offsetHeight),u.top),b.left=Math.max(Math.min(b.left,u.right-r.offsetWidth),u.left);var y=Math.round(100*Math.min(l.width/r.offsetWidth,1))/100,w=Math.round(100*Math.min(l.height/r.offsetHeight,1))/100;return{top:Math.round(p.top),left:Math.round(p.left),transform:t.alreadyOpen?ae:C.supplant("scale({0},{1})",[y,w]),transformOrigin:m}}}function i(e){return e instanceof ie.element&&(e=e[0]),e}}e.$inject=["$$interimElementProvider"],ie.module("material.components.menu").provider("$mdMenu",e)}(),function(){e.$inject=["$scope","$rootScope","$element","$attrs","$mdConstant","$document","$mdUtil","$timeout"],ie.module("material.components.menuBar").controller("MenuBarController",e);var l=["handleKeyDown","handleMenuHover","scheduleOpenHoveredMenu","cancelScheduledOpen"];function e(e,t,n,r,i,a,o,s){this.$element=n,this.$attrs=r,this.$mdConstant=i,this.$mdUtil=o,this.$document=a,this.$scope=e,this.$rootScope=t,this.$timeout=s;var c=this;ie.forEach(l,function(e){c[e]=ie.bind(c,c[e])})}e.prototype.init=function(){var a=this.$element,o=this.$mdUtil,e=this.$scope,s=this,t=[];a.on("keydown",this.handleKeyDown),this.parentToolbar=o.getClosest(a,"MD-TOOLBAR"),t.push(this.$rootScope.$on("$mdMenuOpen",function(e,t){-1!=s.getMenus().indexOf(t[0])&&(a[0].classList.add("md-open"),t[0].classList.add("md-open"),s.currentlyOpenMenu=t.controller("mdMenu"),s.currentlyOpenMenu.registerContainerProxy(s.handleKeyDown),s.enableOpenOnHover())})),t.push(this.$rootScope.$on("$mdMenuClose",function(e,t,n){var r=s.getMenus();if(-1!=r.indexOf(t[0])&&(a[0].classList.remove("md-open"),t[0].classList.remove("md-open")),a[0].contains(t[0])){for(var i=t[0];i&&-1==r.indexOf(i);)i=o.getClosest(i,"MD-MENU",!0);i&&(n.skipFocus||i.querySelector("button:not([disabled])").focus(),s.currentlyOpenMenu=ae,s.disableOpenOnHover(),s.setKeyboardMode(!0))}})),e.$on("$destroy",function(){for(s.disableOpenOnHover();t.length;)t.shift()()}),this.setKeyboardMode(!0)},e.prototype.setKeyboardMode=function(e){e?this.$element[0].classList.add("md-keyboard-mode"):this.$element[0].classList.remove("md-keyboard-mode")},e.prototype.enableOpenOnHover=function(){if(!this.openOnHoverEnabled){var e=this;e.openOnHoverEnabled=!0,e.parentToolbar&&(e.parentToolbar.classList.add("md-has-open-menu"),e.$mdUtil.nextTick(function(){ie.element(e.parentToolbar).on("click",e.handleParentClick)},!1)),ie.element(e.getMenus()).on("mouseenter",e.handleMenuHover)}},e.prototype.handleMenuHover=function(e){this.setKeyboardMode(!1),this.openOnHoverEnabled&&this.scheduleOpenHoveredMenu(e)},e.prototype.disableOpenOnHover=function(){this.openOnHoverEnabled&&(this.openOnHoverEnabled=!1,this.parentToolbar&&(this.parentToolbar.classList.remove("md-has-open-menu"),ie.element(this.parentToolbar).off("click",this.handleParentClick)),ie.element(this.getMenus()).off("mouseenter",this.handleMenuHover))},e.prototype.scheduleOpenHoveredMenu=function(e){var t=ie.element(e.currentTarget).controller("mdMenu");this.setKeyboardMode(!1),this.scheduleOpenMenu(t)},e.prototype.scheduleOpenMenu=function(e){var t=this,n=this.$timeout;e!=t.currentlyOpenMenu&&(n.cancel(t.pendingMenuOpen),t.pendingMenuOpen=n(function(){t.pendingMenuOpen=ae,t.currentlyOpenMenu&&t.currentlyOpenMenu.close(!0,{closeAll:!0}),e.open()},200,!1))},e.prototype.handleKeyDown=function(e){var t,n,r,i=this.$mdConstant.KEY_CODE,a=this.currentlyOpenMenu,o=a&&a.isOpen;switch(this.setKeyboardMode(!0),e.keyCode){case i.DOWN_ARROW:a?a.focusMenuContainer():this.openFocusedMenu(),t=!0;break;case i.UP_ARROW:a&&a.close(),t=!0;break;case i.LEFT_ARROW:n=this.focusMenu(-1),o&&(r=ie.element(n).controller("mdMenu"),this.scheduleOpenMenu(r)),t=!0;break;case i.RIGHT_ARROW:n=this.focusMenu(1),o&&(r=ie.element(n).controller("mdMenu"),this.scheduleOpenMenu(r)),t=!0}t&&(e&&e.preventDefault&&e.preventDefault(),e&&e.stopImmediatePropagation&&e.stopImmediatePropagation())},e.prototype.focusMenu=function(e){var t=this.getMenus(),n=this.getFocusedMenuIndex();-1==n&&(n=this.getOpenMenuIndex());var r=!1;if(-1==n?r=!(n=0):(e<0&&0<n||0<e&&n<t.length-e)&&(n+=e,r=!0),r)return t[n].querySelector("button").focus(),t[n]},e.prototype.openFocusedMenu=function(){var e=this.getFocusedMenu();e&&ie.element(e).controller("mdMenu").open()},e.prototype.getMenus=function(){var e=this.$element;return this.$mdUtil.nodesToArray(e[0].children).filter(function(e){return"MD-MENU"==e.nodeName})},e.prototype.getFocusedMenu=function(){return this.getMenus()[this.getFocusedMenuIndex()]},e.prototype.getFocusedMenuIndex=function(){var e=this.$mdUtil.getClosest(this.$document[0].activeElement,"MD-MENU");return e?this.getMenus().indexOf(e):-1},e.prototype.getOpenMenuIndex=function(){for(var e=this.getMenus(),t=0;t<e.length;++t)if(e[t].classList.contains("md-open"))return t;return-1},e.prototype.handleParentClick=function(e){var t=this.querySelector("md-menu.md-open");t&&!t.contains(e.target)&&ie.element(t).controller("mdMenu").close()}}(),function(){function e(n,i){return{restrict:"E",require:"mdMenuBar",controller:"MenuBarController",compile:function(e,t){return t.ariaRole||e[0].setAttribute("role","menubar"),ie.forEach(e[0].children,function(e){if("MD-MENU"==e.nodeName){e.hasAttribute("md-position-mode")||(e.setAttribute("md-position-mode","left bottom"),e.querySelector("button, a, md-button").setAttribute("role","menuitem"));var t=n.nodesToArray(e.querySelectorAll("md-menu-content"));ie.forEach(t,function(e){e.classList.add("md-menu-bar-menu"),e.classList.add("md-dense"),e.hasAttribute("width")||e.setAttribute("width",5)})}}),e.find("md-menu-item").addClass("md-in-menu-bar"),function(e,t,n,r){t.addClass("_md"),i(e,t),r.init()}}}}e.$inject=["$mdUtil","$mdTheming"],ie.module("material.components.menuBar").directive("mdMenuBar",e)}(),ie.module("material.components.menuBar").directive("mdMenuDivider",function(){return{restrict:"E",compile:function(e,t){t.role||e[0].setAttribute("role","separator")}}}),function(){function e(e,t,n){this.$element=t,this.$attrs=n,this.$scope=e}e.$inject=["$scope","$element","$attrs"],ie.module("material.components.menuBar").controller("MenuItemController",e),e.prototype.init=function(e){var t=this.$element,n=this.$attrs;this.ngModel=e,"checkbox"!=n.type&&"radio"!=n.type||(this.mode=n.type,this.iconEl=t[0].children[0],this.buttonEl=t[0].children[1],e&&this.initClickListeners())},e.prototype.clearNgAria=function(){var t=this.$element[0];ie.forEach(["role","tabindex","aria-invalid","aria-checked"],function(e){t.removeAttribute(e)})},e.prototype.initClickListeners=function(){var e=this,t=this.ngModel,n=this.$scope,r=this.$attrs,i=(this.$element,this.mode);this.handleClick=ie.bind(this,this.handleClick);var a=this.iconEl,o=ie.element(this.buttonEl),s=this.handleClick;function c(e){e?o.off("click",s):o.on("click",s)}r.$observe("disabled",c),c(r.disabled),t.$render=function(){e.clearNgAria(),!function(){{if("radio"!=i)return t.$modelValue;var e=r.ngValue?n.$eval(r.ngValue):r.value;return t.$modelValue==e}}()?(a.style.display="none",o.attr("aria-checked","false")):(a.style.display="",o.attr("aria-checked","true"))},n.$$postDigest(t.$render)},e.prototype.handleClick=function(e){var t,n=this.mode,r=this.ngModel,i=this.$attrs;"checkbox"==n?t=!r.$modelValue:"radio"==n&&(t=i.ngValue?this.$scope.$eval(i.ngValue):i.value),r.$setViewValue(t),r.$render()}}(),function(){function e(u,f){return{controller:"MenuItemController",require:["mdMenuItem","?ngModel"],priority:210,compile:function(r,e){var t,n,i=e.type,a="md-in-menu-bar";if("checkbox"!=i&&"radio"!=i||!r.hasClass(a))l("role","menuitem",r[0].querySelector("md-button, button, a"));else{var o=r[0].textContent,s=ie.element('<md-button type="button"></md-button>'),c='<md-icon md-svg-src="'+f.mdChecked+'"></md-icon>';s.html(o),s.attr("tabindex","0"),r.html(""),r.append(ie.element(c)),r.append(s),r.addClass("md-indent").removeClass(a),l("role","checkbox"==i?"menuitemcheckbox":"menuitemradio",s),t="ng-disabled",n=u.prefixer(t),ie.forEach(n,function(e){if(r[0].hasAttribute(e)){var t=r[0].getAttribute(e);s[0].setAttribute(e,t),r[0].removeAttribute(e)}})}return function(e,t,n,r){var i=r[0],a=r[1];i.init(a)};function l(e,t,n){(n=n||r)instanceof ie.element&&(n=n[0]),n.hasAttribute(e)||n.setAttribute(e,t)}}}}e.$inject=["$mdUtil","$$mdSvgRegistry"],ie.module("material.components.menuBar").directive("mdMenuItem",e)}(),function(){function e(g,_,b,v,y,e){var w=g.requestAnimationFrame||g.webkitRequestAnimationFrame||ie.noop,C=g.cancelAnimationFrame||g.webkitCancelAnimationFrame||g.webkitCancelRequestAnimationFrame||ie.noop,i=g.Math.PI/180,A="determinate",S="indeterminate",T="_md-progress-circular-disabled",x="md-mode-indeterminate";return{restrict:"E",scope:{value:"@",mdDiameter:"@",mdMode:"@"},template:'<svg xmlns="http://www.w3.org/2000/svg"><path fill="none"/></svg>',compile:function(e,t){if(e.attr({"aria-valuemin":0,"aria-valuemax":100,role:"progressbar"}),ie.isUndefined(t.mdMode)){var n=ie.isDefined(t.value)?A:S;t.$set("mdMode",n)}else t.$set("mdMode",t.mdMode.trim());return r}};function r(d,a,o){var h,e,t=a[0],s=ie.element(t.querySelector("svg")),p=ie.element(t.querySelector("path")),n=_.startIndeterminate,r=_.endIndeterminate,i=0,m=0;function c(n,e,t,r,i){var a=++m,o=v.now(),s=e-n,c=D(d.mdDiameter),l=c-I(c),u=t||_.easeFn,f=r||_.duration;e===n?p.attr("d",k(e,c,l,i)):h=w(function e(){var t=g.Math.max(0,g.Math.min(v.now()-o,f));p.attr("d",k(u(t,n,s,f),c,l,i)),a===m&&t<f&&(h=w(e))})}function l(){c(n,r,_.easeFnIndeterminate,_.durationIndeterminate,i),i=(i+r)%100;var e=n;n=-r,r=-e}function u(){e||(e=y(l,_.durationIndeterminate+50,0,!1),l(),a.addClass(x).removeAttr("aria-valuenow"))}function f(){e&&(y.cancel(e),e=null,a.removeClass(x))}b(a),a.toggleClass(T,o.hasOwnProperty("disabled")),d.mdMode===S&&u(),d.$on("$destroy",function(){f(),h&&C(h)}),d.$watchGroup(["value","mdMode",function(){var e=t.disabled;return!0===e||!1===e?e:ie.isDefined(a.attr("disabled"))}],function(e,t){var n=e[1],r=e[2];if(r!==t[2]&&a.toggleClass(T,!!r),r)f();else if(n!==A&&n!==S&&(n=S,o.$set("mdMode",n)),n===S)u();else{var i=E(e[0]);f(),a.attr("aria-valuenow",i),c(E(t[0]),i)}}),d.$watch("mdDiameter",function(e){var t=D(e),n=I(t),r=t/2+"px",i={width:t+"px",height:t+"px"};s[0].setAttribute("viewBox","0 0 "+t+" "+t),s.css(i).css("transform-origin",r+" "+r+" "+r),a.css(i),p.css("stroke-width",n+"px")})}function k(e,t,n,r){var i=t/2,a=n/2,o=3.5999*(r||0),s=3.5999*e;return"M"+c(i,a,o)+"A"+a+","+a+" 0 "+(s<0?-180<=s?0:1:s<=180?0:1)+","+(s<0?0:1)+" "+c(i,a,s+o)}function c(e,t,n){var r=(n-90)*i;return e+t*g.Math.cos(r)+","+(e+t*g.Math.sin(r))}function E(e){return g.Math.max(0,g.Math.min(e||0,100))}function D(e){var t=_.progressSize;if(e){var n=parseFloat(e);return e.lastIndexOf("%")===e.length-1&&(n=n/100*t),n}return t}function I(e){return _.strokeWidth/100*e}}e.$inject=["$window","$mdProgressCircular","$mdTheming","$mdUtil","$interval","$log"],ie.module("material.components.progressCircular").directive("mdProgressCircular",e)}(),ie.module("material.components.progressCircular").provider("$mdProgressCircular",function(){var t={progressSize:50,strokeWidth:10,duration:100,easeFn:e,durationIndeterminate:500,startIndeterminate:3,endIndeterminate:80,easeFnIndeterminate:n,easingPresets:{linearEase:e,materialEase:n}};return{configure:function(e){return t=ie.extend(t,e||{})},$get:function(){return t}};function e(e,t,n,r){return n*e/r+t}function n(e,t,n,r){var i=(e/=r)*e,a=i*e;return t+n*(6*a*i+-15*i*i+10*a)}}),ie.module("material.components.tabs").directive("mdTab",function(){return{require:"^?mdTabs",terminal:!0,compile:function(e,t){var n=c(e,"md-tab-label"),r=c(e,"md-tab-body");if(0==n.length&&(n=ie.element("<md-tab-label></md-tab-label>"),t.label?n.text(t.label):n.append(e.contents()),0==r.length)){var i=e.contents().detach();(r=ie.element("<md-tab-body></md-tab-body>")).append(i)}return e.append(n),r.html()&&e.append(r),a},scope:{active:"=?mdActive",disabled:"=?ngDisabled",select:"&?mdOnSelect",deselect:"&?mdOnDeselect"}};function a(e,t,n,r){if(r){var i=r.getTabElementIndex(t),a=c(t,"md-tab-body").remove(),o=c(t,"md-tab-label").remove(),s=r.insertTab({scope:e,parent:e.$parent,index:i,element:t,template:a.html(),label:o.html()},i);e.select=e.select||ie.noop,e.deselect=e.deselect||ie.noop,e.$watch("active",function(e){e&&r.select(s.getIndex(),!0)}),e.$watch("disabled",function(){r.refreshIndex()}),e.$watch(function(){return r.getTabElementIndex(t)},function(e){s.index=e,r.updateTabOrder()}),e.$on("$destroy",function(){r.removeTab(s)})}}function c(e,t){for(var n=e[0].children,r=0,i=n.length;r<i;r++){var a=n[r];if(a.tagName===t.toUpperCase())return ie.element(a)}return ie.element()}}),ie.module("material.components.tabs").directive("mdTabItem",function(){return{require:"^?mdTabs",link:function(e,t,n,r){r&&r.attachRipple(e,t)}}}),ie.module("material.components.tabs").directive("mdTabLabel",function(){return{terminal:!0}}),function(){function e(r){return{restrict:"A",compile:function(e,t){var n=r(t.mdTabScroll,null,!0);return function(t,e){e.on("mousewheel",function(e){t.$apply(function(){n(t,{$event:e})})})}}}}e.$inject=["$parse"],ie.module("material.components.tabs").directive("mdTabScroll",e)}(),function(){function e(o,c,e,r,i,l,u,a,t,n){var s,f,d=this,h=!1,p=(C(),[]),m=!1,g=!1;function _(t,e){var n=a.$normalize("md-"+t);function r(e){d[t]="false"!==e}e&&x(t,e),a.hasOwnProperty(n)&&r(a[n]),a.$observe(n,r)}function b(){m=!0,ie.element(e).off("resize",w)}function v(e,t){e!==t&&(d.selectedIndex=T(e),d.lastSelectedIndex=t,d.updateInkBarStyles(),O(),M(e),o.$broadcast("$mdTabsChanged"),d.tabs[t]&&d.tabs[t].scope.deselect(),d.tabs[e]&&d.tabs[e].scope.select())}function y(e,t){h||(d.focusIndex=d.selectedIndex=e),d.lastClick=!0,t&&d.noSelectClick||l.nextTick(function(){d.tabs[e].element.triggerHandler("click")},!1)}function w(){d.lastSelectedIndex=d.selectedIndex,d.offsetLeft=N(d.offsetLeft),l.nextTick(function(){d.updateInkBarStyles(),k()})}function C(){var e={},t=c[0];return e.wrapper=t.querySelector("md-tabs-wrapper"),e.canvas=e.wrapper.querySelector("md-tabs-canvas"),e.paging=e.canvas.querySelector("md-pagination-wrapper"),e.inkBar=e.paging.querySelector("md-ink-bar"),e.contents=t.querySelectorAll("md-tabs-content-wrapper > md-tab-content"),e.tabs=e.paging.querySelectorAll("md-tab-item"),e.dummies=e.canvas.querySelectorAll("md-dummy-tab"),e}function A(){switch(d.stretchTabs){case"always":return!0;case"never":return!1;default:return!d.shouldPaginate&&e.matchMedia("(max-width: 600px)").matches}}function S(){return d.centerTabs&&!d.shouldPaginate}function T(e){if(-1===e)return-1;var t,n,r=Math.max(d.tabs.length-e,e);for(t=0;t<=r;t++){if((n=d.tabs[e+t])&&!0!==n.scope.disabled)return n.getIndex();if((n=d.tabs[e-t])&&!0!==n.scope.disabled)return n.getIndex()}return e}function x(e,n,r){Object.defineProperty(d,e,{get:function(){return r},set:function(e){var t=r;r=e,n&&n(e,t)}})}function k(){var e;e=C(),A()?ie.element(e.paging).css("width",""):ie.element(e.paging).css("width",E(C().dummies)+"px"),d.maxTabWidth=D(),d.shouldPaginate=function(){if(d.noPagination||!g)return!1;var t=c.prop("clientWidth");return ie.forEach(C().dummies,function(e){t-=e.offsetWidth}),t<0}()}function E(e){var t=0;return ie.forEach(e,function(e){t+=Math.max(e.offsetWidth,e.getBoundingClientRect().width)}),Math.ceil(t)}function D(){return c.prop("clientWidth")}function I(e,t){var n,r=t?"focusIndex":"selectedIndex";for(n=d[r]+e;d.tabs[n]&&d.tabs[n].scope.disabled;n+=e);d.tabs[n]&&(d[r]=n)}function P(){C().dummies[d.focusIndex].focus()}function M(e){var t=C();if(null==e&&(e=d.focusIndex),t.tabs[e]&&!d.shouldCenterTabs){var n=t.tabs[e],r=n.offsetLeft,i=n.offsetWidth+r;d.offsetLeft=Math.max(d.offsetLeft,N(i-t.canvas.clientWidth+64)),d.offsetLeft=Math.min(d.offsetLeft,N(r))}}function $(){d.selectedIndex=T(d.selectedIndex),d.focusIndex=T(d.focusIndex)}function O(){if(!d.dynamicHeight)return c.css("height","");if(!d.tabs.length)return p.push(O);var e=C(),t=e.contents[d.selectedIndex],n=t?t.offsetHeight:0,r=e.wrapper.offsetHeight,i=n+r,a=c.prop("clientHeight");if(a!==i){"bottom"===c.attr("md-align-tabs")&&(a-=r,i-=r,c.attr("md-border-bottom")!==ae&&++a),h=!0;var o={height:a+"px"},s={height:i+"px"};c.css(o),u(c,{from:o,to:s,easing:"cubic-bezier(0.35, 0, 0.25, 1)",duration:.5}).start().done(function(){c.css({transition:"none",height:""}),l.nextTick(function(){c.css("transition","")}),h=!1})}}function R(){var e=C();if(e.tabs[d.selectedIndex]){if(!d.tabs.length)return p.push(d.updateInkBarStyles);if(!c.prop("offsetParent"))return function e(){e.watcher||(e.watcher=o.$watch(function(){l.nextTick(function(){e.watcher&&c.prop("offsetParent")&&(e.watcher(),e.watcher=null,w())},!1)}))}();var t=d.selectedIndex,n=e.paging.offsetWidth,r=e.tabs[t],i=r.offsetLeft,a=n-i-r.offsetWidth;if(d.shouldCenterTabs)E(e.tabs)<n&&l.nextTick(R,!1);!function(){var e=C(),t=d.selectedIndex,n=d.lastSelectedIndex,r=ie.element(e.inkBar);if(!ie.isNumber(n))return;r.toggleClass("md-left",t<n).toggleClass("md-right",n<t)}(),ie.element(e.inkBar).css({left:i+"px",right:a+"px"})}else ie.element(e.inkBar).css({left:"auto",right:"auto"})}function N(e){var t=C();if(!t.tabs.length||!d.shouldPaginate)return 0;var n=t.tabs[t.tabs.length-1],r=n.offsetLeft+n.offsetWidth;return e=Math.max(0,e),e=Math.min(r-t.canvas.clientWidth,e)}!function(t,e){var n=a.$normalize("md-"+t);e&&x(t,e);a.$observe(n,function(e){d[t]=e})}("stretchTabs",function(e){var t=C();ie.element(t.wrapper).toggleClass("md-stretch-tabs",A()),R()}),x("focusIndex",function(e,t){if(e===t)return;if(!C().tabs[e])return;M(),P()},d.selectedIndex||0),x("offsetLeft",function(e){var t=C(),n=d.shouldCenterTabs?"":"-"+e+"px";ie.element(t.paging).css(r.CSS.TRANSFORM,"translate3d("+n+", 0, 0)"),o.$broadcast("$mdTabsPaginationChanged")},0),x("hasContent",function(e){c[e?"removeClass":"addClass"]("md-no-tab-content")},!1),x("maxTabWidth",function(t,e){if(t!==e){var n=C();ie.forEach(n.tabs,function(e){e.style.maxWidth=t+"px"}),l.nextTick(d.updateInkBarStyles)}},D()),x("shouldPaginate",function(e,t){e!==t&&(d.maxTabWidth=D(),d.shouldCenterTabs=S(),l.nextTick(function(){d.maxTabWidth=D(),M(d.selectedIndex)}))},!1),_("noInkBar",function(e){ie.element(C().inkBar).toggleClass("ng-hide",e)}),_("dynamicHeight",function(e){c.toggleClass("md-dynamic-height",e)}),_("noPagination"),_("swipeContent"),_("noDisconnect"),_("autoselect"),_("noSelectClick"),_("centerTabs",function(e){d.shouldCenterTabs=S()}),_("enableDisconnect"),d.scope=o,d.parent=o.$parent,d.tabs=[],d.lastSelectedIndex=null,d.hasFocus=!1,d.lastClick=!0,d.shouldCenterTabs=S(),d.updatePagination=l.debounce(k,100),d.redirectFocus=P,d.attachRipple=function(e,t){var n=C(),r={colorElement:ie.element(n.inkBar)};i.attach(e,t,r)},d.insertTab=function(e,t){var n=g,r={getIndex:function(){return d.tabs.indexOf(i)},isActive:function(){return this.getIndex()===d.selectedIndex},isLeft:function(){return this.getIndex()<d.selectedIndex},isRight:function(){return this.getIndex()>d.selectedIndex},shouldRender:function(){return!d.noDisconnect||this.isActive()},hasFocus:function(){return!d.lastClick&&d.hasFocus&&this.getIndex()===d.focusIndex},id:l.nextUid()},i=ie.extend(r,e);ie.isDefined(t)?d.tabs.splice(t,0,i):d.tabs.push(i);return p.forEach(function(e){l.nextTick(e)}),p=[],a=!1,ie.forEach(d.tabs,function(e){e.template&&(a=!0)}),d.hasContent=a,l.nextTick(function(){k(),n&&d.autoselect&&l.nextTick(function(){l.nextTick(function(){y(d.tabs.indexOf(i))})})}),i;var a},d.removeTab=function(e){if(m)return;var t=d.selectedIndex,n=d.tabs.splice(e.getIndex(),1)[0];$(),d.selectedIndex===t&&(n.scope.deselect(),d.tabs[d.selectedIndex]&&d.tabs[d.selectedIndex].scope.select());l.nextTick(function(){k(),d.offsetLeft=N(d.offsetLeft)})},d.select=y,d.scroll=function(e){if(!d.shouldPaginate)return;e.preventDefault(),d.offsetLeft=N(d.offsetLeft-e.wheelDelta)},d.nextPage=function(){var e,t,n=C(),r=n.canvas.clientWidth,i=r+d.offsetLeft;for(e=0;e<n.tabs.length&&!((t=n.tabs[e]).offsetLeft+t.offsetWidth>i);e++);r>t.offsetWidth?d.offsetLeft=N(t.offsetLeft):d.offsetLeft=N(t.offsetLeft+(t.offsetWidth-r+1))},d.previousPage=function(){var e,t,n=C();for(e=0;e<n.tabs.length&&!((t=n.tabs[e]).offsetLeft+t.offsetWidth>=d.offsetLeft);e++);n.canvas.clientWidth>t.offsetWidth?d.offsetLeft=N(t.offsetLeft+t.offsetWidth-n.canvas.clientWidth):d.offsetLeft=N(t.offsetLeft)},d.keydown=function(e){switch(e.keyCode){case r.KEY_CODE.LEFT_ARROW:e.preventDefault(),I(-1,!0);break;case r.KEY_CODE.RIGHT_ARROW:e.preventDefault(),I(1,!0);break;case r.KEY_CODE.SPACE:case r.KEY_CODE.ENTER:e.preventDefault(),h||y(d.focusIndex)}d.lastClick=!1},d.canPageForward=function(){var e=C(),t=e.tabs[e.tabs.length-1];return t&&t.offsetLeft+t.offsetWidth>e.canvas.clientWidth+d.offsetLeft},d.canPageBack=function(){return 0<d.offsetLeft},d.refreshIndex=$,d.incrementIndex=I,d.getTabElementIndex=function(e){var t=c[0].getElementsByTagName("md-tab");return Array.prototype.indexOf.call(t,e[0])},d.updateInkBarStyles=l.debounce(R,100),d.updateTabOrder=l.debounce(function(){var e=d.tabs[d.selectedIndex],t=d.tabs[d.focusIndex];d.tabs=d.tabs.sort(function(e,t){return e.index-t.index}),d.selectedIndex=d.tabs.indexOf(e),d.focusIndex=d.tabs.indexOf(t)},100),d.selectedIndex=d.selectedIndex||0,s=a.$mdTabsTemplate,(f=ie.element(c[0].querySelector("md-tab-data"))).html(s),t(f.contents())(d.parent),delete a.$mdTabsTemplate,o.$watch("$mdTabsCtrl.selectedIndex",v),ie.element(e).on("resize",w),o.$on("$destroy",b),n(c),l.nextTick(function(){C(),O(),M(),R(),d.tabs[d.selectedIndex]&&d.tabs[d.selectedIndex].scope.select(),g=!0,k()})}e.$inject=["$scope","$element","$window","$mdConstant","$mdTabInkRipple","$mdUtil","$animateCss","$attrs","$compile","$mdTheming"],ie.module("material.components.tabs").controller("MdTabsController",e)}(),function(){function e(n){return{scope:{selectedIndex:"=?mdSelected"},template:function(e,t){return t.$mdTabsTemplate=e.html(),'<md-tabs-wrapper> <md-tab-data></md-tab-data> <md-prev-button tabindex="-1" role="button" aria-label="Previous Page" aria-disabled="{{!$mdTabsCtrl.canPageBack()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageBack() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.previousPage()"> <md-icon md-svg-src="'+n.mdTabsArrow+'"></md-icon> </md-prev-button> <md-next-button tabindex="-1" role="button" aria-label="Next Page" aria-disabled="{{!$mdTabsCtrl.canPageForward()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageForward() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.nextPage()"> <md-icon md-svg-src="'+n.mdTabsArrow+'"></md-icon> </md-next-button> <md-tabs-canvas tabindex="{{ $mdTabsCtrl.hasFocus ? -1 : 0 }}" aria-activedescendant="tab-item-{{$mdTabsCtrl.tabs[$mdTabsCtrl.focusIndex].id}}" ng-focus="$mdTabsCtrl.redirectFocus()" ng-class="{ \'md-paginated\': $mdTabsCtrl.shouldPaginate, \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" ng-keydown="$mdTabsCtrl.keydown($event)" role="tablist"> <md-pagination-wrapper ng-class="{ \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" md-tab-scroll="$mdTabsCtrl.scroll($event)"> <md-tab-item tabindex="-1" class="md-tab" ng-repeat="tab in $mdTabsCtrl.tabs" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-click="$mdTabsCtrl.select(tab.getIndex())" ng-class="{ \'md-active\': tab.isActive(), \'md-focused\': tab.hasFocus(), \'md-disabled\': tab.scope.disabled }" ng-disabled="tab.scope.disabled" md-swipe-left="$mdTabsCtrl.nextPage()" md-swipe-right="$mdTabsCtrl.previousPage()" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-tab-item> <md-ink-bar></md-ink-bar> </md-pagination-wrapper> <md-tabs-dummy-wrapper class="md-visually-hidden md-dummy-wrapper"> <md-dummy-tab class="md-tab" tabindex="-1" id="tab-item-{{::tab.id}}" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-focus="$mdTabsCtrl.hasFocus = true" ng-blur="$mdTabsCtrl.hasFocus = false" ng-repeat="tab in $mdTabsCtrl.tabs" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-dummy-tab> </md-tabs-dummy-wrapper> </md-tabs-canvas> </md-tabs-wrapper> <md-tabs-content-wrapper ng-show="$mdTabsCtrl.hasContent && $mdTabsCtrl.selectedIndex >= 0" class="_md"> <md-tab-content id="tab-content-{{::tab.id}}" class="_md" role="tabpanel" aria-labelledby="tab-item-{{::tab.id}}" md-swipe-left="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(1)" md-swipe-right="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(-1)" ng-if="$mdTabsCtrl.hasContent" ng-repeat="(index, tab) in $mdTabsCtrl.tabs" ng-class="{ \'md-no-transition\': $mdTabsCtrl.lastSelectedIndex == null, \'md-active\': tab.isActive(), \'md-left\': tab.isLeft(), \'md-right\': tab.isRight(), \'md-no-scroll\': $mdTabsCtrl.dynamicHeight }"> <div md-tabs-template="::tab.template" md-connected-if="tab.isActive()" md-scope="::tab.parent" ng-if="$mdTabsCtrl.enableDisconnect || tab.shouldRender()"></div> </md-tab-content> </md-tabs-content-wrapper>'},controller:"MdTabsController",controllerAs:"$mdTabsCtrl",bindToController:!0}}e.$inject=["$$mdSvgRegistry"],ie.module("material.components.tabs").directive("mdTabs",e)}(),function(){function e(c,l){return{require:"^?mdTabs",link:function(e,t,n,r){if(r){var i,a,o=function(){r.updatePagination(),r.updateInkBarStyles()};if("MutationObserver"in l){(i=new MutationObserver(o)).observe(t[0],{childList:!0,subtree:!0,characterData:!0}),a=i.disconnect.bind(i)}else{var s=c.debounce(o,15,null,!1);t.on("DOMSubtreeModified",s),a=t.off.bind(t,"DOMSubtreeModified",s)}e.$on("$destroy",function(){a()})}}}}e.$inject=["$mdUtil","$window"],ie.module("material.components.tabs").directive("mdTabsDummyWrapper",e)}(),function(){function e(o,s){return{restrict:"A",link:function(e,t,n,r){if(!r)return;var i=r.enableDisconnect?e.compileScope.$new():e.compileScope;return t.html(e.template),o(t.contents())(i),s.nextTick(function(){e.$watch("connected",function(e){!1===e?r.enableDisconnect&&s.disconnectScope(i):a()}),e.$on("$destroy",a)});function a(){r.enableDisconnect&&s.reconnectScope(i)}},scope:{template:"=mdTabsTemplate",connected:"=?mdConnectedIf",compileScope:"=mdScope"},require:"^?mdTabs"}}e.$inject=["$compile","$mdUtil"],ie.module("material.components.tabs").directive("mdTabsTemplate",e)}(),ie.module("material.core").constant("$MD_THEME_CSS","md-autocomplete.md-THEME_NAME-theme { background: '{{background-A100}}'; } md-autocomplete.md-THEME_NAME-theme[disabled]:not([md-floating-label]) { background: '{{background-100}}'; } md-autocomplete.md-THEME_NAME-theme button md-icon path { fill: '{{background-600}}'; } md-autocomplete.md-THEME_NAME-theme button:after { background: '{{background-600-0.3}}'; }.md-autocomplete-suggestions-container.md-THEME_NAME-theme { background: '{{background-A100}}'; } .md-autocomplete-suggestions-container.md-THEME_NAME-theme li { color: '{{background-900}}'; } .md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight { color: '{{background-600}}'; } .md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover, .md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected { background: '{{background-200}}'; }md-backdrop { background-color: '{{background-900-0.0}}'; } md-backdrop.md-opaque.md-THEME_NAME-theme { background-color: '{{background-900-1.0}}'; }md-bottom-sheet.md-THEME_NAME-theme { background-color: '{{background-50}}'; border-top-color: '{{background-300}}'; } md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item { color: '{{foreground-1}}'; } md-bottom-sheet.md-THEME_NAME-theme .md-subheader { background-color: '{{background-50}}'; } md-bottom-sheet.md-THEME_NAME-theme .md-subheader { color: '{{foreground-1}}'; }.md-button.md-THEME_NAME-theme:not([disabled]):hover { background-color: '{{background-500-0.2}}'; }.md-button.md-THEME_NAME-theme:not([disabled]).md-focused { background-color: '{{background-500-0.2}}'; }.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover { background-color: transparent; }.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab md-icon { color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; }.md-button.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised, .md-button.md-THEME_NAME-theme.md-primary.md-fab { color: '{{primary-contrast}}'; background-color: '{{primary-color}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon { color: '{{primary-contrast}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover { background-color: '{{primary-600}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused { background-color: '{{primary-600}}'; } .md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon { color: '{{primary-color}}'; }.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon { color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; }.md-button.md-THEME_NAME-theme.md-raised { color: '{{background-900}}'; background-color: '{{background-50}}'; } .md-button.md-THEME_NAME-theme.md-raised:not([disabled]) md-icon { color: '{{background-900}}'; } .md-button.md-THEME_NAME-theme.md-raised:not([disabled]):hover { background-color: '{{background-50}}'; } .md-button.md-THEME_NAME-theme.md-raised:not([disabled]).md-focused { background-color: '{{background-200}}'; }.md-button.md-THEME_NAME-theme.md-warn { color: '{{warn-color}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised, .md-button.md-THEME_NAME-theme.md-warn.md-fab { color: '{{warn-contrast}}'; background-color: '{{warn-color}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]) md-icon { color: '{{warn-contrast}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]):hover { background-color: '{{warn-600}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]).md-focused { background-color: '{{warn-600}}'; } .md-button.md-THEME_NAME-theme.md-warn:not([disabled]) md-icon { color: '{{warn-color}}'; }.md-button.md-THEME_NAME-theme.md-accent { color: '{{accent-color}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised, .md-button.md-THEME_NAME-theme.md-accent.md-fab { color: '{{accent-contrast}}'; background-color: '{{accent-color}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]) md-icon { color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]):hover { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-accent:not([disabled]) md-icon { color: '{{accent-color}}'; }.md-button.md-THEME_NAME-theme[disabled], .md-button.md-THEME_NAME-theme.md-raised[disabled], .md-button.md-THEME_NAME-theme.md-fab[disabled], .md-button.md-THEME_NAME-theme.md-accent[disabled], .md-button.md-THEME_NAME-theme.md-warn[disabled] { color: '{{foreground-3}}'; cursor: default; } .md-button.md-THEME_NAME-theme[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-raised[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-fab[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-accent[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-warn[disabled] md-icon { color: '{{foreground-3}}'; }.md-button.md-THEME_NAME-theme.md-raised[disabled], .md-button.md-THEME_NAME-theme.md-fab[disabled] { background-color: '{{foreground-4}}'; }.md-button.md-THEME_NAME-theme[disabled] { background-color: transparent; }._md a.md-THEME_NAME-theme:not(.md-button).md-primary { color: '{{primary-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-primary:hover { color: '{{primary-700}}'; }._md a.md-THEME_NAME-theme:not(.md-button).md-accent { color: '{{accent-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-accent:hover { color: '{{accent-700}}'; }._md a.md-THEME_NAME-theme:not(.md-button).md-accent { color: '{{accent-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-accent:hover { color: '{{accent-A700}}'; }._md a.md-THEME_NAME-theme:not(.md-button).md-warn { color: '{{warn-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-warn:hover { color: '{{warn-700}}'; }md-card.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-hue-1}}'; border-radius: 2px; } md-card.md-THEME_NAME-theme .md-card-image { border-radius: 2px 2px 0 0; } md-card.md-THEME_NAME-theme md-card-header md-card-avatar md-icon { color: '{{background-color}}'; background-color: '{{foreground-3}}'; } md-card.md-THEME_NAME-theme md-card-header md-card-header-text .md-subhead { color: '{{foreground-2}}'; } md-card.md-THEME_NAME-theme md-card-title md-card-title-text:not(:only-child) .md-subhead { color: '{{foreground-2}}'; }md-chips.md-THEME_NAME-theme .md-chips { box-shadow: 0 1px '{{foreground-4}}'; } md-chips.md-THEME_NAME-theme .md-chips.md-focused { box-shadow: 0 2px '{{primary-color}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input { color: '{{foreground-1}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-webkit-input-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input:-moz-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-moz-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input:-ms-input-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-webkit-input-placeholder { color: '{{foreground-3}}'; }md-chips.md-THEME_NAME-theme md-chip { background: '{{background-300}}'; color: '{{background-800}}'; } md-chips.md-THEME_NAME-theme md-chip md-icon { color: '{{background-700}}'; } md-chips.md-THEME_NAME-theme md-chip.md-focused { background: '{{primary-color}}'; color: '{{primary-contrast}}'; } md-chips.md-THEME_NAME-theme md-chip.md-focused md-icon { color: '{{primary-contrast}}'; } md-chips.md-THEME_NAME-theme md-chip._md-chip-editing { background: transparent; color: '{{background-800}}'; }md-chips.md-THEME_NAME-theme md-chip-remove .md-button md-icon path { fill: '{{background-500}}'; }.md-contact-suggestion span.md-contact-email { color: '{{background-400}}'; }md-checkbox.md-THEME_NAME-theme .md-ripple { color: '{{accent-A700}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-ripple { color: '{{background-600}}'; }md-checkbox.md-THEME_NAME-theme.md-checked.md-focused .md-container:before { background-color: '{{accent-color-0.26}}'; }md-checkbox.md-THEME_NAME-theme .md-ink-ripple { color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-ink-ripple { color: '{{accent-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-icon { background-color: '{{accent-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-icon:after { border-color: '{{accent-contrast-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-ripple { color: '{{primary-600}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ripple { color: '{{background-600}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-ink-ripple { color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple { color: '{{primary-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-icon { background-color: '{{primary-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked.md-focused .md-container:before { background-color: '{{primary-color-0.26}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-icon:after { border-color: '{{primary-contrast-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-indeterminate[disabled] .md-container { color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn .md-ripple { color: '{{warn-600}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn .md-ink-ripple { color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple { color: '{{warn-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-icon { background-color: '{{warn-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked.md-focused:not([disabled]) .md-container:before { background-color: '{{warn-color-0.26}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-icon:after { border-color: '{{background-200}}'; }md-checkbox.md-THEME_NAME-theme[disabled]:not(.md-checked) .md-icon { border-color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme[disabled].md-checked .md-icon { background-color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme[disabled].md-checked .md-icon:after { border-color: '{{background-200}}'; }md-checkbox.md-THEME_NAME-theme[disabled] .md-icon:after { border-color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme[disabled] .md-label { color: '{{foreground-3}}'; }md-content.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-default}}'; }/** Theme styles for mdCalendar. */.md-calendar.md-THEME_NAME-theme { background: '{{background-A100}}'; color: '{{background-A200-0.87}}'; } .md-calendar.md-THEME_NAME-theme tr:last-child td { border-bottom-color: '{{background-200}}'; }.md-THEME_NAME-theme .md-calendar-day-header { background: '{{background-300}}'; color: '{{background-A200-0.87}}'; }.md-THEME_NAME-theme .md-calendar-date.md-calendar-date-today .md-calendar-date-selection-indicator { border: 1px solid '{{primary-500}}'; }.md-THEME_NAME-theme .md-calendar-date.md-calendar-date-today.md-calendar-date-disabled { color: '{{primary-500-0.6}}'; }.md-calendar-date.md-focus .md-THEME_NAME-theme .md-calendar-date-selection-indicator, .md-THEME_NAME-theme .md-calendar-date-selection-indicator:hover { background: '{{background-300}}'; }.md-THEME_NAME-theme .md-calendar-date.md-calendar-selected-date .md-calendar-date-selection-indicator,.md-THEME_NAME-theme .md-calendar-date.md-focus.md-calendar-selected-date .md-calendar-date-selection-indicator { background: '{{primary-500}}'; color: '{{primary-500-contrast}}'; border-color: transparent; }.md-THEME_NAME-theme .md-calendar-date-disabled,.md-THEME_NAME-theme .md-calendar-month-label-disabled { color: '{{background-A200-0.435}}'; }/** Theme styles for mdDatepicker. */.md-THEME_NAME-theme .md-datepicker-input { color: '{{foreground-1}}'; } .md-THEME_NAME-theme .md-datepicker-input::-webkit-input-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input:-moz-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input::-moz-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input:-ms-input-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input::-webkit-input-placeholder { color: '{{foreground-3}}'; }.md-THEME_NAME-theme .md-datepicker-input-container { border-bottom-color: '{{foreground-4}}'; } .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused { border-bottom-color: '{{primary-color}}'; } .md-accent .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused { border-bottom-color: '{{accent-color}}'; } .md-warn .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused { border-bottom-color: '{{warn-A700}}'; } .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-invalid { border-bottom-color: '{{warn-A700}}'; }.md-THEME_NAME-theme .md-datepicker-calendar-pane { border-color: '{{background-hue-1}}'; }.md-THEME_NAME-theme .md-datepicker-triangle-button .md-datepicker-expand-triangle { border-top-color: '{{foreground-3}}'; }.md-THEME_NAME-theme .md-datepicker-triangle-button:hover .md-datepicker-expand-triangle { border-top-color: '{{foreground-2}}'; }.md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon { color: '{{primary-color}}'; }.md-THEME_NAME-theme .md-datepicker-open.md-accent .md-datepicker-calendar-icon, .md-accent .md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon { color: '{{accent-color}}'; }.md-THEME_NAME-theme .md-datepicker-open.md-warn .md-datepicker-calendar-icon, .md-warn .md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon { color: '{{warn-A700}}'; }.md-THEME_NAME-theme .md-datepicker-calendar { background: '{{background-A100}}'; }.md-THEME_NAME-theme .md-datepicker-input-mask-opaque { box-shadow: 0 0 0 9999px \"{{background-hue-1}}\"; }.md-THEME_NAME-theme .md-datepicker-open .md-datepicker-input-container { background: \"{{background-hue-1}}\"; }md-dialog.md-THEME_NAME-theme { border-radius: 4px; background-color: '{{background-hue-1}}'; color: '{{foreground-1}}'; } md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions, md-dialog.md-THEME_NAME-theme.md-content-overflow md-dialog-actions { border-top-color: '{{foreground-4}}'; }md-divider.md-THEME_NAME-theme { border-top-color: '{{foreground-4}}'; }.layout-row > md-divider.md-THEME_NAME-theme,.layout-xs-row > md-divider.md-THEME_NAME-theme, .layout-gt-xs-row > md-divider.md-THEME_NAME-theme,.layout-sm-row > md-divider.md-THEME_NAME-theme, .layout-gt-sm-row > md-divider.md-THEME_NAME-theme,.layout-md-row > md-divider.md-THEME_NAME-theme, .layout-gt-md-row > md-divider.md-THEME_NAME-theme,.layout-lg-row > md-divider.md-THEME_NAME-theme, .layout-gt-lg-row > md-divider.md-THEME_NAME-theme,.layout-xl-row > md-divider.md-THEME_NAME-theme { border-right-color: '{{foreground-4}}'; }md-icon.md-THEME_NAME-theme { color: '{{foreground-2}}'; } md-icon.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } md-icon.md-THEME_NAME-theme.md-accent { color: '{{accent-color}}'; } md-icon.md-THEME_NAME-theme.md-warn { color: '{{warn-color}}'; }md-input-container.md-THEME_NAME-theme .md-input { color: '{{foreground-1}}'; border-color: '{{foreground-4}}'; } md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder { color: '{{foreground-3}}'; }md-input-container.md-THEME_NAME-theme > md-icon { color: '{{foreground-1}}'; }md-input-container.md-THEME_NAME-theme label,md-input-container.md-THEME_NAME-theme .md-placeholder { color: '{{foreground-3}}'; }md-input-container.md-THEME_NAME-theme label.md-required:after { color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-focused):not(.md-input-invalid) label.md-required:after { color: '{{foreground-2}}'; }md-input-container.md-THEME_NAME-theme .md-input-messages-animation, md-input-container.md-THEME_NAME-theme .md-input-message-animation { color: '{{warn-A700}}'; } md-input-container.md-THEME_NAME-theme .md-input-messages-animation .md-char-counter, md-input-container.md-THEME_NAME-theme .md-input-message-animation .md-char-counter { color: '{{foreground-1}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label { color: '{{foreground-2}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input, md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-resized .md-input { border-color: '{{primary-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon { color: '{{primary-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input { border-color: '{{accent-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent md-icon { color: '{{accent-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input { border-color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn md-icon { color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input { border-color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme.md-input-invalid label,md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input-message-animation,md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter { color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme .md-input[disabled],[disabled] md-input-container.md-THEME_NAME-theme .md-input { border-bottom-color: transparent; color: '{{foreground-3}}'; background-image: linear-gradient(to right, \"{{foreground-3}}\" 0%, \"{{foreground-3}}\" 33%, transparent 0%); background-image: -ms-linear-gradient(left, transparent 0%, \"{{foreground-3}}\" 100%); }md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h3, md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h4,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h4 { color: '{{foreground-1}}'; }md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text p,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text p { color: '{{foreground-2}}'; }md-list.md-THEME_NAME-theme .md-proxy-focus.md-focused div.md-no-style { background-color: '{{background-100}}'; }md-list.md-THEME_NAME-theme md-list-item .md-avatar-icon { background-color: '{{foreground-3}}'; color: '{{background-color}}'; }md-list.md-THEME_NAME-theme md-list-item > md-icon { color: '{{foreground-2}}'; } md-list.md-THEME_NAME-theme md-list-item > md-icon.md-highlight { color: '{{primary-color}}'; } md-list.md-THEME_NAME-theme md-list-item > md-icon.md-highlight.md-accent { color: '{{accent-color}}'; }md-menu-content.md-THEME_NAME-theme { background-color: '{{background-A100}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item { color: '{{background-A200-0.87}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item md-icon { color: '{{background-A200-0.54}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item .md-button[disabled] { color: '{{background-A200-0.25}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item .md-button[disabled] md-icon { color: '{{background-A200-0.25}}'; } md-menu-content.md-THEME_NAME-theme md-menu-divider { background-color: '{{background-A200-0.11}}'; }md-menu-bar.md-THEME_NAME-theme > button.md-button { color: '{{foreground-2}}'; border-radius: 2px; }md-menu-bar.md-THEME_NAME-theme md-menu.md-open > button, md-menu-bar.md-THEME_NAME-theme md-menu > button:focus { outline: none; background: '{{background-200}}'; }md-menu-bar.md-THEME_NAME-theme.md-open:not(.md-keyboard-mode) md-menu:hover > button { background-color: '{{ background-500-0.2}}'; }md-menu-bar.md-THEME_NAME-theme:not(.md-keyboard-mode):not(.md-open) md-menu button:hover,md-menu-bar.md-THEME_NAME-theme:not(.md-keyboard-mode):not(.md-open) md-menu button:focus { background: transparent; }md-menu-content.md-THEME_NAME-theme .md-menu > .md-button:after { color: '{{background-A200-0.54}}'; }md-menu-content.md-THEME_NAME-theme .md-menu.md-open > .md-button { background-color: '{{ background-500-0.2}}'; }md-toolbar.md-THEME_NAME-theme.md-menu-toolbar { background-color: '{{background-A100}}'; color: '{{background-A200}}'; } md-toolbar.md-THEME_NAME-theme.md-menu-toolbar md-toolbar-filler { background-color: '{{primary-color}}'; color: '{{background-A100-0.87}}'; } md-toolbar.md-THEME_NAME-theme.md-menu-toolbar md-toolbar-filler md-icon { color: '{{background-A100-0.87}}'; }md-nav-bar.md-THEME_NAME-theme .md-nav-bar { background-color: transparent; border-color: '{{foreground-4}}'; }md-nav-bar.md-THEME_NAME-theme .md-button._md-nav-button.md-unselected { color: '{{foreground-2}}'; }md-nav-bar.md-THEME_NAME-theme md-nav-ink-bar { color: '{{accent-color}}'; background: '{{accent-color}}'; }.md-panel { background-color: '{{background-900-0.0}}'; } .md-panel._md-panel-backdrop.md-THEME_NAME-theme { background-color: '{{background-900-1.0}}'; }md-progress-circular.md-THEME_NAME-theme path { stroke: '{{primary-color}}'; }md-progress-circular.md-THEME_NAME-theme.md-warn path { stroke: '{{warn-color}}'; }md-progress-circular.md-THEME_NAME-theme.md-accent path { stroke: '{{accent-color}}'; }md-progress-linear.md-THEME_NAME-theme .md-container { background-color: '{{primary-100}}'; }md-progress-linear.md-THEME_NAME-theme .md-bar { background-color: '{{primary-color}}'; }md-progress-linear.md-THEME_NAME-theme.md-warn .md-container { background-color: '{{warn-100}}'; }md-progress-linear.md-THEME_NAME-theme.md-warn .md-bar { background-color: '{{warn-color}}'; }md-progress-linear.md-THEME_NAME-theme.md-accent .md-container { background-color: '{{accent-100}}'; }md-progress-linear.md-THEME_NAME-theme.md-accent .md-bar { background-color: '{{accent-color}}'; }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn .md-bar1 { background-color: '{{warn-100}}'; }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn .md-dashed:before { background: radial-gradient(\"{{warn-100}}\" 0%, \"{{warn-100}}\" 16%, transparent 42%); }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent .md-bar1 { background-color: '{{accent-100}}'; }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent .md-dashed:before { background: radial-gradient(\"{{accent-100}}\" 0%, \"{{accent-100}}\" 16%, transparent 42%); }md-radio-button.md-THEME_NAME-theme .md-off { border-color: '{{foreground-2}}'; }md-radio-button.md-THEME_NAME-theme .md-on { background-color: '{{accent-color-0.87}}'; }md-radio-button.md-THEME_NAME-theme.md-checked .md-off { border-color: '{{accent-color-0.87}}'; }md-radio-button.md-THEME_NAME-theme.md-checked .md-ink-ripple { color: '{{accent-color-0.87}}'; }md-radio-button.md-THEME_NAME-theme .md-container .md-ripple { color: '{{accent-A700}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-on, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-on { background-color: '{{primary-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-off { border-color: '{{primary-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple { color: '{{primary-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-container .md-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-container .md-ripple { color: '{{primary-600}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-on, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-on { background-color: '{{warn-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-off { border-color: '{{warn-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple { color: '{{warn-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-container .md-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-container .md-ripple { color: '{{warn-600}}'; }md-radio-group.md-THEME_NAME-theme[disabled],md-radio-button.md-THEME_NAME-theme[disabled] { color: '{{foreground-3}}'; } md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-off, md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-off { border-color: '{{foreground-3}}'; } md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-on, md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-on { border-color: '{{foreground-3}}'; }md-radio-group.md-THEME_NAME-theme .md-checked .md-ink-ripple { color: '{{accent-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-primary .md-checked:not([disabled]) .md-ink-ripple, md-radio-group.md-THEME_NAME-theme .md-checked:not([disabled]).md-primary .md-ink-ripple { color: '{{primary-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme .md-checked.md-primary .md-ink-ripple { color: '{{warn-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked .md-container:before { background-color: '{{accent-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty).md-primary .md-checked .md-container:before,md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked.md-primary .md-container:before { background-color: '{{primary-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty).md-warn .md-checked .md-container:before,md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked.md-warn .md-container:before { background-color: '{{warn-color-0.26}}'; }md-input-container md-select.md-THEME_NAME-theme .md-select-value span:first-child:after { color: '{{warn-A700}}'; }md-input-container:not(.md-input-focused):not(.md-input-invalid) md-select.md-THEME_NAME-theme .md-select-value span:first-child:after { color: '{{foreground-3}}'; }md-input-container.md-input-focused:not(.md-input-has-value) md-select.md-THEME_NAME-theme .md-select-value { color: '{{primary-color}}'; } md-input-container.md-input-focused:not(.md-input-has-value) md-select.md-THEME_NAME-theme .md-select-value.md-select-placeholder { color: '{{primary-color}}'; }md-input-container.md-input-invalid md-select.md-THEME_NAME-theme .md-select-value { color: '{{warn-A700}}' !important; border-bottom-color: '{{warn-A700}}' !important; }md-input-container.md-input-invalid md-select.md-THEME_NAME-theme.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme[disabled] .md-select-value { border-bottom-color: transparent; background-image: linear-gradient(to right, \"{{foreground-3}}\" 0%, \"{{foreground-3}}\" 33%, transparent 0%); background-image: -ms-linear-gradient(left, transparent 0%, \"{{foreground-3}}\" 100%); }md-select.md-THEME_NAME-theme .md-select-value { border-bottom-color: '{{foreground-4}}'; } md-select.md-THEME_NAME-theme .md-select-value.md-select-placeholder { color: '{{foreground-3}}'; } md-select.md-THEME_NAME-theme .md-select-value span:first-child:after { color: '{{warn-A700}}'; }md-select.md-THEME_NAME-theme.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme.ng-invalid.ng-touched .md-select-value { color: '{{warn-A700}}' !important; border-bottom-color: '{{warn-A700}}' !important; }md-select.md-THEME_NAME-theme.ng-invalid.ng-touched.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-value { border-bottom-color: '{{primary-color}}'; color: '{{ foreground-1 }}'; } md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-value.md-select-placeholder { color: '{{ foreground-1 }}'; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-accent .md-select-value { border-bottom-color: '{{accent-color}}'; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-warn .md-select-value { border-bottom-color: '{{warn-color}}'; }md-select.md-THEME_NAME-theme[disabled] .md-select-value { color: '{{foreground-3}}'; } md-select.md-THEME_NAME-theme[disabled] .md-select-value.md-select-placeholder { color: '{{foreground-3}}'; }md-select-menu.md-THEME_NAME-theme md-content { background: '{{background-A100}}'; } md-select-menu.md-THEME_NAME-theme md-content md-optgroup { color: '{{background-600-0.87}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option { color: '{{background-900-0.87}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[disabled] .md-text { color: '{{background-400-0.87}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option:not([disabled]):focus, md-select-menu.md-THEME_NAME-theme md-content md-option:not([disabled]):hover { background: '{{background-200}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected] { color: '{{primary-500}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected]:focus { color: '{{primary-600}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected].md-accent { color: '{{accent-color}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected].md-accent:focus { color: '{{accent-A700}}'; }.md-checkbox-enabled.md-THEME_NAME-theme .md-ripple { color: '{{primary-600}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-ripple { color: '{{background-600}}'; }.md-checkbox-enabled.md-THEME_NAME-theme .md-ink-ripple { color: '{{foreground-2}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-ink-ripple { color: '{{primary-color-0.87}}'; }.md-checkbox-enabled.md-THEME_NAME-theme:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-icon { background-color: '{{primary-color-0.87}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected].md-focused .md-container:before { background-color: '{{primary-color-0.26}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-icon:after { border-color: '{{primary-contrast-0.87}}'; }.md-checkbox-enabled.md-THEME_NAME-theme .md-indeterminate[disabled] .md-container { color: '{{foreground-3}}'; }.md-checkbox-enabled.md-THEME_NAME-theme md-option .md-text { color: '{{background-900-0.87}}'; }md-sidenav.md-THEME_NAME-theme, md-sidenav.md-THEME_NAME-theme md-content { background-color: '{{background-hue-1}}'; }md-slider.md-THEME_NAME-theme .md-track { background-color: '{{foreground-3}}'; }md-slider.md-THEME_NAME-theme .md-track-ticks { color: '{{background-contrast}}'; }md-slider.md-THEME_NAME-theme .md-focus-ring { background-color: '{{accent-A200-0.2}}'; }md-slider.md-THEME_NAME-theme .md-disabled-thumb { border-color: '{{background-color}}'; background-color: '{{background-color}}'; }md-slider.md-THEME_NAME-theme.md-min .md-thumb:after { background-color: '{{background-color}}'; border-color: '{{foreground-3}}'; }md-slider.md-THEME_NAME-theme.md-min .md-focus-ring { background-color: '{{foreground-3-0.38}}'; }md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-thumb:after { background-color: '{{background-contrast}}'; border-color: transparent; }md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-sign { background-color: '{{background-400}}'; } md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-sign:after { border-top-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme.md-min[md-discrete][md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme .md-track.md-track-fill { background-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme .md-thumb:after { border-color: '{{accent-color}}'; background-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme .md-sign { background-color: '{{accent-color}}'; } md-slider.md-THEME_NAME-theme .md-sign:after { border-top-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme[md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme .md-thumb-text { color: '{{accent-contrast}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-focus-ring { background-color: '{{warn-200-0.38}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-track.md-track-fill { background-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-thumb:after { border-color: '{{warn-color}}'; background-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-sign { background-color: '{{warn-color}}'; } md-slider.md-THEME_NAME-theme.md-warn .md-sign:after { border-top-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn[md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-thumb-text { color: '{{warn-contrast}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-focus-ring { background-color: '{{primary-200-0.38}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-track.md-track-fill { background-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-thumb:after { border-color: '{{primary-color}}'; background-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-sign { background-color: '{{primary-color}}'; } md-slider.md-THEME_NAME-theme.md-primary .md-sign:after { border-top-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary[md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-thumb-text { color: '{{primary-contrast}}'; }md-slider.md-THEME_NAME-theme[disabled] .md-thumb:after { border-color: transparent; }md-slider.md-THEME_NAME-theme[disabled]:not(.md-min) .md-thumb:after, md-slider.md-THEME_NAME-theme[disabled][md-discrete] .md-thumb:after { background-color: '{{foreground-3}}'; border-color: transparent; }md-slider.md-THEME_NAME-theme[disabled][readonly] .md-sign { background-color: '{{background-400}}'; } md-slider.md-THEME_NAME-theme[disabled][readonly] .md-sign:after { border-top-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme[disabled][readonly][md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme[disabled][readonly] .md-disabled-thumb { border-color: transparent; background-color: transparent; }md-slider-container[disabled] > *:first-child:not(md-slider),md-slider-container[disabled] > *:last-child:not(md-slider) { color: '{{foreground-3}}'; }.md-subheader.md-THEME_NAME-theme { color: '{{ foreground-2-0.23 }}'; background-color: '{{background-default}}'; } .md-subheader.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } .md-subheader.md-THEME_NAME-theme.md-accent { color: '{{accent-color}}'; } .md-subheader.md-THEME_NAME-theme.md-warn { color: '{{warn-color}}'; }md-switch.md-THEME_NAME-theme .md-ink-ripple { color: '{{background-500}}'; }md-switch.md-THEME_NAME-theme .md-thumb { background-color: '{{background-50}}'; }md-switch.md-THEME_NAME-theme .md-bar { background-color: '{{background-500}}'; }md-switch.md-THEME_NAME-theme.md-checked .md-ink-ripple { color: '{{accent-color}}'; }md-switch.md-THEME_NAME-theme.md-checked .md-thumb { background-color: '{{accent-color}}'; }md-switch.md-THEME_NAME-theme.md-checked .md-bar { background-color: '{{accent-color-0.5}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-focused .md-thumb:before { background-color: '{{accent-color-0.26}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-ink-ripple { color: '{{primary-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-thumb { background-color: '{{primary-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-bar { background-color: '{{primary-color-0.5}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary.md-focused .md-thumb:before { background-color: '{{primary-color-0.26}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-ink-ripple { color: '{{warn-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-thumb { background-color: '{{warn-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-bar { background-color: '{{warn-color-0.5}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn.md-focused .md-thumb:before { background-color: '{{warn-color-0.26}}'; }md-switch.md-THEME_NAME-theme[disabled] .md-thumb { background-color: '{{background-400}}'; }md-switch.md-THEME_NAME-theme[disabled] .md-bar { background-color: '{{foreground-4}}'; }md-tabs.md-THEME_NAME-theme md-tabs-wrapper { background-color: transparent; border-color: '{{foreground-4}}'; }md-tabs.md-THEME_NAME-theme .md-paginator md-icon { color: '{{primary-color}}'; }md-tabs.md-THEME_NAME-theme md-ink-bar { color: '{{accent-color}}'; background: '{{accent-color}}'; }md-tabs.md-THEME_NAME-theme .md-tab { color: '{{foreground-2}}'; } md-tabs.md-THEME_NAME-theme .md-tab[disabled], md-tabs.md-THEME_NAME-theme .md-tab[disabled] md-icon { color: '{{foreground-3}}'; } md-tabs.md-THEME_NAME-theme .md-tab.md-active, md-tabs.md-THEME_NAME-theme .md-tab.md-active md-icon, md-tabs.md-THEME_NAME-theme .md-tab.md-focused, md-tabs.md-THEME_NAME-theme .md-tab.md-focused md-icon { color: '{{primary-color}}'; } md-tabs.md-THEME_NAME-theme .md-tab.md-focused { background: '{{primary-color-0.1}}'; } md-tabs.md-THEME_NAME-theme .md-tab .md-ripple-container { color: '{{accent-A100}}'; }md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper { background-color: '{{accent-color}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{accent-A100}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{accent-contrast}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{accent-contrast-0.1}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-ink-bar { color: '{{primary-600-1}}'; background: '{{primary-600-1}}'; }md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper { background-color: '{{primary-color}}'; } md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{primary-100}}'; } md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{primary-contrast}}'; } md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{primary-contrast-0.1}}'; }md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper { background-color: '{{warn-color}}'; } md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{warn-100}}'; } md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{warn-contrast}}'; } md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{warn-contrast-0.1}}'; }md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper { background-color: '{{primary-color}}'; } md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{primary-100}}'; } md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{primary-contrast}}'; } md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{primary-contrast-0.1}}'; }md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper { background-color: '{{accent-color}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{accent-A100}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{accent-contrast}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{accent-contrast-0.1}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-ink-bar { color: '{{primary-600-1}}'; background: '{{primary-600-1}}'; }md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper { background-color: '{{warn-color}}'; } md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{warn-100}}'; } md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{warn-contrast}}'; } md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{warn-contrast-0.1}}'; }md-toast.md-THEME_NAME-theme .md-toast-content { background-color: #323232; color: '{{background-50}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button { color: '{{background-50}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight { color: '{{accent-color}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-primary { color: '{{primary-color}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-warn { color: '{{warn-color}}'; }md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) { background-color: '{{primary-color}}'; color: '{{primary-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) md-icon { color: '{{primary-contrast}}'; fill: '{{primary-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) .md-button[disabled] md-icon { color: '{{primary-contrast-0.26}}'; fill: '{{primary-contrast-0.26}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-ink-ripple { color: '{{accent-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent md-icon { color: '{{accent-contrast}}'; fill: '{{accent-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-button[disabled] md-icon { color: '{{accent-contrast-0.26}}'; fill: '{{accent-contrast-0.26}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-warn { background-color: '{{warn-color}}'; color: '{{warn-contrast}}'; }md-tooltip.md-THEME_NAME-theme { color: '{{background-700-contrast}}'; } md-tooltip.md-THEME_NAME-theme .md-content { background-color: '{{background-700}}'; }/* Only used with Theme processes */html.md-THEME_NAME-theme, body.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-color}}'; }")}(window,window.angular),window.ngMaterial={version:{full:"1.1.1"}},function(e,N){"use strict";var L=N.$$minErr("$resource"),s=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;function F(e,t){if(null==(n=t)||""===n||"hasOwnProperty"===n||!s.test("."+n))throw L("badmember",'Dotted member path "@{0}" is invalid.',t);for(var n,r=t.split("."),i=0,a=r.length;i<a&&N.isDefined(e);i++){var o=r[i];e=null!==e?e[o]:void 0}return e}function G(e,n){for(var t in n=n||{},N.forEach(n,function(e,t){delete n[t]}),e)!e.hasOwnProperty(t)||"$"===t.charAt(0)&&"$"===t.charAt(1)||(n[t]=e[t]);return n}N.module("ngResource",["ng"]).provider("$resource",function(){var u=/^https?:\/\/[^\/]*/,o=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},delete:{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(E,i,D,I){var P=N.noop,M=N.forEach,$=N.extend,O=N.copy,R=N.isFunction;function l(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function a(e,t){this.template=e,this.defaults=$({},o.defaults,t),this.urlParams={}}return a.prototype={setUrlParams:function(n,r,e){var i,a,o=this,s=e||o.template,t="",c=o.urlParams={};M(s.split(/\W/),function(e){if("hasOwnProperty"===e)throw L("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(s)&&(c[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(s)})}),s=(s=s.replace(/\\:/g,":")).replace(u,function(e){return t=e,""}),r=r||{},M(o.urlParams,function(e,t){i=r.hasOwnProperty(t)?r[t]:o.defaults[t],s=N.isDefined(i)&&null!==i?(a=e.isQueryParamValue?l(i,!0):l(i,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+"),s.replace(new RegExp(":"+t+"(\\W|$)","g"),function(e,t){return a+t})):s.replace(new RegExp("(/?):"+t+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),o.defaults.stripTrailingSlashes&&(s=s.replace(/\/+$/,"")||"/"),s=s.replace(/\/\.(?=\w+($|\?))/,"."),n.url=t+s.replace(/\/\\\./,"/."),M(r,function(e,t){o.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},function t(n,S,r,e){var T=new a(n,e);function x(e){return e.resource}function k(e){G(e||{},this)}return r=$({},o.defaults.actions,r),k.prototype.toJSON=function(){var e=$({},this);return delete e.$promise,delete e.$resolved,e},M(r,function(v,y){var w=/^(POST|PUT|PATCH)$/i.test(v.method),C=v.timeout,A=N.isDefined(v.cancellable)?v.cancellable:e&&N.isDefined(e.cancellable)?e.cancellable:o.defaults.cancellable;C&&!N.isNumber(C)&&(i.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete v.timeout,C=null),k[y]=function(e,t,n,r){var i,a,o,s={};switch(arguments.length){case 4:o=r,a=n;case 3:case 2:if(!R(t)){s=e,i=t,a=n;break}if(R(e)){a=e,o=t;break}a=t,o=n;case 1:R(e)?a=e:w?i=e:s=e;break;case 0:break;default:throw L("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var c,l,u,f,d,h=this instanceof k,p=h?i:v.isArray?[]:new k(i),m={},g=v.interceptor&&v.interceptor.response||x,_=v.interceptor&&v.interceptor.responseError||void 0;M(v,function(e,t){switch(t){default:m[t]=O(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!h&&A&&(c=D.defer(),m.timeout=c.promise,C&&(l=I(c.resolve,C))),w&&(m.data=i),T.setUrlParams(m,$({},(u=i,f=v.params||{},d={},f=$({},S,f),M(f,function(e,t){R(e)&&(e=e(u)),d[t]=e&&e.charAt&&"@"==e.charAt(0)?F(u,e.substr(1)):e}),d),s),v.url);var b=E(m).then(function(e){var t=e.data;if(t){if(N.isArray(t)!==!!v.isArray)throw L("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",y,v.isArray?"array":"object",N.isArray(t)?"array":"object",m.method,m.url);if(v.isArray)p.length=0,M(t,function(e){"object"==typeof e?p.push(new k(e)):p.push(e)});else{var n=p.$promise;G(t,p),p.$promise=n}}return e.resource=p,e},function(e){return(o||P)(e),D.reject(e)});return b.finally(function(){p.$resolved=!0,!h&&A&&(p.$cancelRequest=N.noop,I.cancel(l),c=l=m.timeout=null)}),b=b.then(function(e){var t=g(e);return(a||P)(t,e.headers),t},_),h?b:(p.$promise=b,p.$resolved=!1,A&&(p.$cancelRequest=c.resolve),p)},k.prototype["$"+y]=function(e,t,n){R(e)&&(n=t,t=e,e={});var r=k[y].call(this,e,this,t,n);return r.$promise||r}}),k.bind=function(e){return t(n,$({},S,e),r)},k}}]})}(window,window.angular),function(w,C){"use strict";var A,S,T,x,k,E,D,I,P=C.$$minErr("$sanitize");C.module("ngSanitize",[]).provider("$sanitize",function(){var t=!1;this.$get=["$$sanitizeUri",function(n){return t&&S(d,u),function(e){var t=[];return D(e,I(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(e){return x(e)?(t=e,this):t},A=C.bind,S=C.extend,T=C.forEach,x=C.isDefined,k=C.lowercase,E=C.noop,D=function(e,t){null==e?e="":"string"!=typeof e&&(e=""+e),a.innerHTML=e;var n=5;do{if(0===n)throw P("uinput","Failed to sanitize html because the input is unstable");n--,w.document.documentMode&&y(a),e=a.innerHTML,a.innerHTML=e}while(e!==a.innerHTML);for(var r=a.firstChild;r;){switch(r.nodeType){case 1:t.start(r.nodeName.toLowerCase(),b(r.attributes));break;case 3:t.chars(r.textContent)}var i;if(!((i=r.firstChild)||(1==r.nodeType&&t.end(r.nodeName.toLowerCase()),i=r.nextSibling)))for(;null==i&&(r=r.parentNode)!==a;)i=r.nextSibling,1==r.nodeType&&t.end(r.nodeName.toLowerCase());r=i}for(;r=a.firstChild;)a.removeChild(r)},I=function(e,a){var t=!1,o=A(e,e.push);return{start:function(i,e){i=k(i),!t&&f[i]&&(t=i),t||!0!==d[i]||(o("<"),o(i),T(e,function(e,t){var n=k(t),r="img"===i&&"src"===n||"background"===n;!0!==g[n]||!0===h[n]&&!a(e,r)||(o(" "),o(t),o('="'),o(v(e)),o('"'))}),o(">"))},end:function(e){e=k(e),t||!0!==d[e]||!0===i[e]||(o("</"),o(e),o(">")),e==t&&(t=!1)},chars:function(e){t||o(v(e))}}};var a,n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r=/([^\#-~ |!])/g,i=_("area,br,col,hr,img,wbr"),e=_("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),o=_("rp,rt"),s=S({},o,e),c=S({},e,_("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),l=S({},o,_("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),u=_("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),f=_("script,style"),d=S({},i,c,l,s),h=_("background,cite,href,longdesc,src,xlink:href"),p=_("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),m=_("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),g=S({},h,m,p);function _(e,t){var n,r={},i=e.split(",");for(n=0;n<i.length;n++)r[t?k(i[n]):i[n]]=!0;return r}function b(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function v(e){return e.replace(/&/g,"&").replace(n,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(r,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function y(e){if(e.nodeType===w.Node.ELEMENT_NODE)for(var t=e.attributes,n=0,r=t.length;n<r;n++){var i=t[n],a=i.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(e.removeAttributeNode(i),n--,r--)}var o=e.firstChild;o&&y(o),(o=e.nextSibling)&&y(o)}!function(e){var t;if(!e.document||!e.document.implementation)throw P("noinert","Can't create an inert html document");var n=((t=e.document.implementation.createHTMLDocument("inert")).documentElement||t.getDocumentElement()).getElementsByTagName("body");if(1===n.length)a=n[0];else{var r=t.createElement("html");a=t.createElement("body"),r.appendChild(a),t.appendChild(r)}}(w)}),C.module("ngSanitize").filter("linky",["$sanitize",function(f){var d=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,h=/^mailto:/i,p=C.$$minErr("linky"),m=C.isDefined,g=C.isFunction,_=C.isObject,b=C.isString;return function(e,i,t){if(null==e||""===e)return e;if(!b(e))throw p("notstring","Expected string but received: {0}",e);for(var n,r,a,o=g(t)?t:_(t)?function(){return t}:function(){return{}},s=e,c=[];n=s.match(d);)r=n[0],n[2]||n[4]||(r=(n[3]?"http://":"mailto:")+r),a=n.index,l(s.substr(0,a)),u(r,n[0].replace(h,"")),s=s.substring(a+n[0].length);return l(s),f(c.join(""));function l(e){var t,n;e&&c.push((t=e,I(n=[],E).chars(t),n.join("")))}function u(e,t){var n,r=o(e);for(n in c.push("<a "),r)c.push(n+'="'+r[n]+'" ');!m(i)||"target"in r||c.push('target="',i,'" '),c.push('href="',e.replace(/"/g,"""),'">'),l(t),c.push("</a>")}}}])}(window,window.angular),function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof exports?module.exports=t():t()}(0,function(){function e(t){"use strict";var n=t.storageKey(),r=t.storage(),e=function(){var e=t.preferredLanguage();angular.isString(e)?t.use(e):r.put(n,t.use())};e.displayName="fallbackFromIncorrectStorageValue",r?r.get(n)?t.use(r.get(n)).catch(e):e():angular.isString(t.preferredLanguage())&&t.use(t.preferredLanguage())}function t(e,i,t,a){"use strict";var M,u,$,O,R,N,L,n,F,G,j,B,U,H,W,q,z={},V=[],Y=e,K=[],Q="translate-cloak",X=!1,Z=!1,J=".",ee=!1,te=0,ne=!0,r="default",o={default:function(e){return(e||"").split("-").join("_")},java:function(e){var t=(e||"").split("-").join("_"),n=t.split("_");return 1<n.length?n[0].toLowerCase()+"_"+n[1].toUpperCase():t},bcp47:function(e){var t=(e||"").split("_").join("-"),n=t.split("-");return 1<n.length?n[0].toLowerCase()+"-"+n[1].toUpperCase():t},"iso639-1":function(e){return(e||"").split("_").join("-").split("-")[0].toLowerCase()}},s=function(){if(angular.isFunction(a.getLocale))return a.getLocale();var e,t,n=i.$get().navigator,r=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(n.languages))for(e=0;e<n.languages.length;e++)if((t=n.languages[e])&&t.length)return t;for(e=0;e<r.length;e++)if((t=n[r[e]])&&t.length)return t;return null};s.displayName="angular-translate/service: getFirstBrowserLanguage";var re=function(){var e=s()||"";return o[r]&&(e=o[r](e)),e};re.displayName="angular-translate/service: getLocale";var ie=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},ae=function(){return this.toString().replace(/^\s+|\s+$/g,"")},oe=function(e){if(e){for(var t,n=[],r=angular.lowercase(e),i=0,a=V.length;i<a;i++)n.push(angular.lowercase(V[i]));if(-1<ie(n,r))return e;if(u)for(var o in u)if(u.hasOwnProperty(o)){var s=!1,c=Object.prototype.hasOwnProperty.call(u,o)&&angular.lowercase(o)===angular.lowercase(e);if("*"===o.slice(-1)&&(s=o.slice(0,-1)===e.slice(0,o.length-1)),(c||s)&&(t=u[o],-1<ie(n,angular.lowercase(t))))return t}var l=e.split("_");return 1<l.length&&-1<ie(n,angular.lowercase(l[0]))?l[0]:void 0}},se=function(e,t){if(!e&&!t)return z;if(e&&!t){if(angular.isString(e))return z[e]}else angular.isObject(z[e])||(z[e]={}),angular.extend(z[e],ce(t));return this};this.translations=se,this.cloakClassName=function(e){return e?(Q=e,this):Q},this.nestedObjectDelimeter=function(e){return e?(J=e,this):J};var ce=function(e,t,n,r){var i,a,o;for(i in t||(t=[]),n||(n={}),e)Object.prototype.hasOwnProperty.call(e,i)&&(o=e[i],angular.isObject(o)?ce(o,t.concat(i),n,i):(a=t.length?""+t.join(J)+J+i:i,t.length&&i===r&&(n[""+t.join(J)]="@:"+a),n[a]=o));return n};ce.displayName="flatObject",this.addInterpolation=function(e){return K.push(e),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(e){return G=e,this},this.useSanitizeValueStrategy=function(e){return t.useStrategy(e),this},this.preferredLanguage=function(e){return e?(le(e),this):M};var le=function(e){return e&&(M=e),M};this.translationNotFoundIndicator=function(e){return this.translationNotFoundIndicatorLeft(e),this.translationNotFoundIndicatorRight(e),this},this.translationNotFoundIndicatorLeft=function(e){return e?(U=e,this):U},this.translationNotFoundIndicatorRight=function(e){return e?(H=e,this):H},this.fallbackLanguage=function(e){return ue(e),this};var ue=function(e){return e?(angular.isString(e)?(O=!0,$=[e]):angular.isArray(e)&&(O=!1,$=e),angular.isString(M)&&ie($,M)<0&&$.push(M),this):O?$[0]:$};this.use=function(e){if(e){if(!z[e]&&!j)throw new Error("$translateProvider couldn't find translationTable for langKey: '"+e+"'");return R=e,this}return R},this.resolveClientLocale=function(){return re()};var fe=function(e){return e?(Y=e,this):n?n+Y:Y};this.storageKey=fe,this.useUrlLoader=function(e,t){return this.useLoader("$translateUrlLoader",angular.extend({url:e},t))},this.useStaticFilesLoader=function(e){return this.useLoader("$translateStaticFilesLoader",e)},this.useLoader=function(e,t){return j=e,B=t||{},this},this.useLocalStorage=function(){return this.useStorage("$translateLocalStorage")},this.useCookieStorage=function(){return this.useStorage("$translateCookieStorage")},this.useStorage=function(e){return L=e,this},this.storagePrefix=function(e){return e?(n=e,this):e},this.useMissingTranslationHandlerLog=function(){return this.useMissingTranslationHandler("$translateMissingTranslationHandlerLog")},this.useMissingTranslationHandler=function(e){return F=e,this},this.usePostCompiling=function(e){return X=!!e,this},this.forceAsyncReload=function(e){return Z=!!e,this},this.uniformLanguageTag=function(e){return e?angular.isString(e)&&(e={standard:e}):e={},r=e.standard,this},this.determinePreferredLanguage=function(e){var t=e&&angular.isFunction(e)?e():re();return M=V.length&&oe(t)||t,this},this.registerAvailableLanguageKeys=function(e,t){return e?(V=e,t&&(u=t),this):V},this.useLoaderCache=function(e){return!1===e?W=void 0:!0===e?W=!0:void 0===e?W="$translationCache":e&&(W=e),this},this.directivePriority=function(e){return void 0===e?te:(te=e,this)},this.statefulFilter=function(e){return void 0===e?ne:(ne=e,this)},this.postProcess=function(e){return q=e||void 0,this},this.$get=["$log","$injector","$rootScope","$q",function(e,o,u,m){var a,g,_,b=o.get(G||"$translateDefaultInterpolation"),v=!1,y={},f={},w=function(e,o,s,c,l){!R&&M&&(R=M);var r=l&&l!==R?oe(l)||l:R;if(l&&k(l),angular.isArray(e)){return function(e){for(var r={},t=[],n=function(t){var n=m.defer(),e=function(e){r[t]=e,n.resolve([t,e])};return w(t,o,s,c,l).then(e,e),n.promise},i=0,a=e.length;i<a;i++)t.push(n(e[i]));return m.all(t).then(function(){return r})}(e)}var t=m.defer();e&&(e=ae.apply(e));var n=function(){var e=M?f[M]:f[r];if(g=0,L&&!e){var t=a.get(Y);if(e=f[t],$&&$.length){var n=ie($,t);g=0===n?1:0,ie($,M)<0&&$.push(M)}}return e}();if(n){var i=function(){l||(r=R),p(e,o,s,c,r).then(t.resolve,t.reject)};i.displayName="promiseResolved",n.finally(i)}else p(e,o,s,c,r).then(t.resolve,t.reject);return t.promise},C=function(e){return U&&(e=[U,e].join(" ")),H&&(e=[e,H].join(" ")),e},d=function(e){R=e,L&&a.put(w.storageKey(),R),u.$emit("$translateChangeSuccess",{language:e}),b.setLocale(R);var t=function(e,t){y[t].setLocale(R)};t.displayName="eachInterpolatorLocaleSetter",angular.forEach(y,t),u.$emit("$translateChangeEnd",{language:e})},h=function(n){if(!n)throw"No language key specified for loading.";var r=m.defer();u.$emit("$translateLoadingStart",{language:n}),v=!0;var e=W;"string"==typeof e&&(e=o.get(e));var t=angular.extend({},B,{key:n,$http:angular.extend({},{cache:e},B.$http)}),i=function(e){var t={};u.$emit("$translateLoadingSuccess",{language:n}),angular.isArray(e)?angular.forEach(e,function(e){angular.extend(t,ce(e))}):angular.extend(t,ce(e)),v=!1,r.resolve({key:n,table:t}),u.$emit("$translateLoadingEnd",{language:n})};i.displayName="onLoaderSuccess";var a=function(e){u.$emit("$translateLoadingError",{language:e}),r.reject(e),u.$emit("$translateLoadingEnd",{language:e})};return a.displayName="onLoaderError",o.get(j)(t).then(i,a),r.promise};if(L&&(!(a=o.get(L)).get||!a.put))throw new Error("Couldn't use storage '"+L+"', missing get() or put() method!");if(K.length){var t=function(e){var t=o.get(e);t.setLocale(M||R),y[t.getInterpolationIdentifier()]=t};t.displayName="interpolationFactoryAdder",angular.forEach(K,t)}var c=function(r,i,a,o){var s=m.defer(),e=function(e){if(Object.prototype.hasOwnProperty.call(e,i)){o.setLocale(r);var t=e[i];if("@:"===t.substr(0,2))c(r,t.substr(2),a,o).then(s.resolve,s.reject);else{var n=o.interpolate(e[i],a);n=x(i,e[i],n,a,r),s.resolve(n)}o.setLocale(R)}else s.reject()};return e.displayName="fallbackTranslationResolver",function(e){var t=m.defer();if(Object.prototype.hasOwnProperty.call(z,e))t.resolve(z[e]);else if(f[e]){var n=function(e){se(e.key,e.table),t.resolve(e.table)};n.displayName="translationTableResolver",f[e].then(n,t.reject)}else t.reject();return t.promise}(r).then(e,s.reject),s.promise},s=function(e,t,n,r){var i,a=z[e];if(a&&Object.prototype.hasOwnProperty.call(a,t)){if(r.setLocale(e),"@:"===(i=r.interpolate(a[t],n)).substr(0,2))return s(e,i.substr(2),n,r);r.setLocale(R)}return i},A=function(e,t,n){if(F){var r=o.get(F)(e,R,t,n);return void 0!==r?r:e}return e},S=function(e,t,n,r,i){var a=m.defer();if(e<$.length){var o=$[e];c(o,t,n,r).then(function(e){a.resolve(e)},function(){return S(e+1,t,n,r,i).then(a.resolve,a.reject)})}else i?a.resolve(i):F?a.resolve(A(t,n)):a.reject(A(t,n));return a.promise},l=function(e,t,n,r){var i;if(e<$.length){var a=$[e];(i=s(a,t,n,r))||(i=l(e+1,t,n,r))}return i},p=function(e,t,n,r,i){var a,o,s,c,l=m.defer(),u=i?z[i]:z,f=n?y[n]:b;if(u&&Object.prototype.hasOwnProperty.call(u,e)){var d=u[e];if("@:"===d.substr(0,2))w(d.substr(2),t,n,r,i).then(l.resolve,l.reject);else{var h=f.interpolate(d,t);h=x(e,d,h,t,i),l.resolve(h)}}else{var p;F&&!v&&(p=A(e,t,r)),i&&$&&$.length?(a=e,o=t,s=f,c=r,S(0<_?_:g,a,o,s,c)).then(function(e){l.resolve(e)},function(e){l.reject(C(e))}):F&&!v&&p?r?l.resolve(r):l.resolve(p):r?l.resolve(r):l.reject(C(e))}return l.promise},T=function(e,t,n,r){var i,a=r?z[r]:z,o=b;if(y&&Object.prototype.hasOwnProperty.call(y,n)&&(o=y[n]),a&&Object.prototype.hasOwnProperty.call(a,e)){var s=a[e];i="@:"===s.substr(0,2)?T(s.substr(2),t,n,r):o.interpolate(s,t)}else{var c;F&&!v&&(c=A(e,t)),i=r&&$&&$.length?l((g=0)<_?_:g,e,t,o):F&&!v&&c?c:C(e)}return i},x=function(e,t,n,r,i){var a=q;return a&&("string"==typeof a&&(a=o.get(a)),a)?a(e,t,n,r,i):n},k=function(e){z[e]||!j||f[e]||(f[e]=h(e).then(function(e){se(e.key,e.table)}))};w.preferredLanguage=function(e){return e&&le(e),M},w.cloakClassName=function(){return Q},w.nestedObjectDelimeter=function(){return J},w.fallbackLanguage=function(e){if(null!=e){if(ue(e),j&&$&&$.length)for(var t=0,n=$.length;t<n;t++)f[$[t]]||(f[$[t]]=h($[t]));w.use(w.use())}return O?$[0]:$},w.useFallbackLanguage=function(e){if(null!=e)if(e){var t=ie($,e);-1<t&&(_=t)}else _=0},w.proposedLanguage=function(){return N},w.storage=function(){return a},w.negotiateLocale=oe,w.use=function(t){if(!t)return R;var n=m.defer();u.$emit("$translateChangeStart",{language:t});var e=oe(t);return 0<V.length&&!e?m.reject(t):(e&&(t=e),N=t,!Z&&z[t]||!j||f[t]?f[t]?f[t].then(function(e){return N===e.key&&d(e.key),n.resolve(e.key),e},function(e){return!R&&$&&0<$.length?w.use($[0]).then(n.resolve,n.reject):n.reject(e)}):(n.resolve(t),d(t)):(f[t]=h(t).then(function(e){return se(e.key,e.table),n.resolve(e.key),N===t&&d(e.key),e},function(e){return u.$emit("$translateChangeError",{language:e}),n.reject(e),u.$emit("$translateChangeEnd",{language:e}),m.reject(e)}),f[t].finally(function(){var e;N===(e=t)&&(N=void 0),f[e]=void 0})),n.promise)},w.resolveClientLocale=function(){return re()},w.storageKey=function(){return fe()},w.isPostCompilingEnabled=function(){return X},w.isForceAsyncReloadEnabled=function(){return Z},w.refresh=function(t){if(!j)throw new Error("Couldn't refresh translation table, no loader registered!");var e=m.defer();function n(){e.resolve(),u.$emit("$translateRefreshEnd",{language:t})}function r(){e.reject(),u.$emit("$translateRefreshEnd",{language:t})}if(u.$emit("$translateRefreshStart",{language:t}),t)if(z[t]){var i=function(e){se(e.key,e.table),t===R&&d(R),n()};i.displayName="refreshPostProcessor",h(t).then(i,r)}else r();else{var a=[],o={};if($&&$.length)for(var s=0,c=$.length;s<c;s++)a.push(h($[s])),o[$[s]]=!0;R&&!o[R]&&a.push(h(R));var l=function(e){z={},angular.forEach(e,function(e){se(e.key,e.table)}),R&&d(R),n()};l.displayName="refreshPostProcessor",m.all(a).then(l,r)}return e.promise},w.instant=function(e,t,n,r){var i=r&&r!==R?oe(r)||r:R;if(null===e||angular.isUndefined(e))return e;if(r&&k(r),angular.isArray(e)){for(var a={},o=0,s=e.length;o<s;o++)a[e[o]]=w.instant(e[o],t,n,r);return a}if(angular.isString(e)&&e.length<1)return e;e&&(e=ae.apply(e));var c,l=[];M&&l.push(M),i&&l.push(i),$&&$.length&&(l=l.concat($));for(var u=0,f=l.length;u<f;u++){var d=l[u];if(z[d]&&void 0!==z[d][e]&&(c=T(e,t,n,i)),void 0!==c)break}return c||""===c||(U||H?c=C(e):(c=b.interpolate(e,t),F&&!v&&(c=A(e,t)))),c},w.versionInfo=function(){return"2.11.0"},w.loaderCache=function(){return W},w.directivePriority=function(){return te},w.statefulFilter=function(){return ne},w.isReady=function(){return ee};var n=m.defer();n.promise.then(function(){ee=!0}),w.onReady=function(e){var t=m.defer();return angular.isFunction(e)&&t.promise.then(e),ee?t.resolve():n.promise.then(t.resolve),t.promise},w.getAvailableLanguageKeys=function(){return 0<V.length?V:null};var r=u.$on("$translateReady",function(){n.resolve(),r(),r=null}),i=u.$on("$translateChangeEnd",function(){n.resolve(),i(),i=null});if(j){if(angular.equals(z,{})&&w.use()&&w.use(w.use()),$&&$.length)for(var E=function(e){return se(e.key,e.table),u.$emit("$translateChangeEnd",{language:e.key}),e},D=0,I=$.length;D<I;D++){var P=$[D];!Z&&z[P]||(f[P]=h(P).then(E))}}else u.$emit("$translateReady",{language:w.use()});return w}]}function n(r,i){"use strict";var e={};return e.setLocale=function(e){e},e.getInterpolationIdentifier=function(){return"default"},e.useSanitizeValueStrategy=function(e){return i.useStrategy(e),this},e.interpolate=function(e,t){t=t||{},t=i.sanitize(t,"params");var n=r(e)(t);return n=i.sanitize(n,"text")},e}function r(w,e,C,A,S,T){"use strict";return{restrict:"AE",scope:!0,priority:w.directivePriority(),compile:function(e,m){var g=m.translateValues?m.translateValues:void 0,_=m.translateInterpolation?m.translateInterpolation:void 0,b=e[0].outerHTML.match(/translate-value-+/i),v="^(.*)("+C.startSymbol()+".*"+C.endSymbol()+")(.*)",y="^(.*)"+C.startSymbol()+"(.*)"+C.endSymbol()+"(.*)";return function(i,c,l){i.interpolateParams={},i.preText="",i.postText="",i.translateNamespace=x(i);var a={},o=function(e){if(angular.isFunction(o._unwatchOld)&&(o._unwatchOld(),o._unwatchOld=void 0),angular.equals(e,"")||!angular.isDefined(e)){var t=function(){return this.toString().replace(/^\s+|\s+$/g,"")}.apply(c.text()),n=t.match(v);if(angular.isArray(n)){i.preText=n[1],i.postText=n[3],a.translate=C(n[2])(i.$parent);var r=t.match(y);angular.isArray(r)&&r[2]&&r[2].length&&(o._unwatchOld=i.$watch(r[2],function(e){a.translate=e,u()}))}else a.translate=t||void 0}else a.translate=e;u()},e=function(t){l.$observe(t,function(e){a[t]=e,u()})};!function(e,t,n){if(t.translateValues&&angular.extend(e,S(t.translateValues)(i.$parent)),b)for(var r in n)Object.prototype.hasOwnProperty.call(t,r)&&"translateValue"===r.substr(0,14)&&"translateValues"!==r&&(e[angular.lowercase(r.substr(14,1))+r.substr(15)]=n[r])}(i.interpolateParams,l,m);var t=!0;for(var n in l.$observe("translate",function(e){void 0===e?o(""):""===e&&t||(a.translate=e,u()),t=!1}),l)l.hasOwnProperty(n)&&"translateAttr"===n.substr(0,13)&&e(n);if(l.$observe("translateDefault",function(e){i.defaultText=e,u()}),g&&l.$observe("translateValues",function(e){e&&i.$parent.$watch(function(){angular.extend(i.interpolateParams,S(e)(i.$parent))})}),b){var r=function(n){l.$observe(n,function(e){var t=angular.lowercase(n.substr(14,1))+n.substr(15);i.interpolateParams[t]=e})};for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&"translateValue"===s.substr(0,14)&&"translateValues"!==s&&r(s)}var u=function(){for(var e in a)a.hasOwnProperty(e)&&void 0!==a[e]&&f(e,a[e],i,i.interpolateParams,i.defaultText,i.translateNamespace)},f=function(t,e,n,r,i,a){e?(a&&"."===e.charAt(0)&&(e=a+e),w(e,r,_,i,n.translateLanguage).then(function(e){d(e,n,!0,t)},function(e){d(e,n,!1,t)})):d(e,n,!1,t)},d=function(e,t,n,r){if(n||void 0!==t.defaultText&&(e=t.defaultText),"translate"===r){(n||!n&&void 0===l.translateKeepContent)&&c.empty().append(t.preText+e+t.postText);var i=w.isPostCompilingEnabled(),a=void 0!==m.translateCompile,o=a&&"false"!==m.translateCompile;(i&&!a||o)&&A(c.contents())(t)}else{var s=l.$attr[r];"data-"===s.substr(0,5)&&(s=s.substr(5)),s=s.substr(15),c.attr(s,e)}};(g||b||l.translateDefault)&&i.$watch("interpolateParams",u,!0);var h=i.$on("translateLanguageChanged",u),p=T.$on("$translateChangeSuccess",u);c.text().length?l.translate?o(l.translate):o(""):l.translate&&o(l.translate),u(),i.$on("$destroy",function(){h(),p()})}}}}function x(e){"use strict";return e.translateNamespace?e.translateNamespace:e.$parent?x(e.$parent):void 0}function i(a,o){"use strict";return{compile:function(e){var r=function(){e.addClass(a.cloakClassName())},i=function(){e.removeClass(a.cloakClassName())};return a.onReady(function(){i()}),r(),function(e,t,n){n.translateCloak&&n.translateCloak.length&&(n.$observe("translateCloak",function(e){a(e).then(i,r)}),o.$on("$translateChangeSuccess",function(){a(n.translateCloak).then(i,r)}))}}}}function a(){"use strict";return{restrict:"A",scope:!0,compile:function(){return{pre:function(e,t,n){e.translateNamespace=x(e),e.translateNamespace&&"."===n.translateNamespace.charAt(0)?e.translateNamespace+=n.translateNamespace:e.translateNamespace=n.translateNamespace}}}}}function x(e){"use strict";return e.translateNamespace?e.translateNamespace:e.$parent?x(e.$parent):void 0}function o(){"use strict";return{restrict:"A",scope:!0,compile:function(){return function(t,e,n){n.$observe("translateLanguage",function(e){t.translateLanguage=e}),t.$watch("translateLanguage",function(){t.$broadcast("translateLanguageChanged")})}}}}function s(i,a){"use strict";var e=function(e,t,n,r){return angular.isObject(t)||(t=i(t)(this)),a.instant(e,t,n,r)};return a.statefulFilter()&&(e.$stateful=!0),e}function c(e){"use strict";return e("translations")}return e.$inject=["$translate"],t.$inject=["$STORAGE_KEY","$windowProvider","$translateSanitizationProvider","pascalprechtTranslateOverrider"],n.$inject=["$interpolate","$translateSanitization"],r.$inject=["$translate","$q","$interpolate","$compile","$parse","$rootScope"],i.$inject=["$translate","$rootScope"],s.$inject=["$parse","$translate"],c.$inject=["$cacheFactory"],angular.module("pascalprecht.translate",["ng"]).run(e),e.displayName="runTranslate",angular.module("pascalprecht.translate").provider("$translateSanitization",function(){"use strict";var n,u,f=null,d=!1,h=!1;(u={sanitize:function(e,t){return"text"===t&&(e=i(e)),e},escape:function(e,t){return"text"===t&&(e=r(e)),e},sanitizeParameters:function(e,t){return"params"===t&&(e=a(e,i)),e},escapeParameters:function(e,t){return"params"===t&&(e=a(e,r)),e}}).escaped=u.escapeParameters,this.addStrategy=function(e,t){return u[e]=t,this},this.removeStrategy=function(e){return delete u[e],this},this.useStrategy=function(e){return d=!0,f=e,this},this.$get=["$injector","$log",function(s,c){var t,l={};return s.has("$sanitize")&&(n=s.get("$sanitize")),{useStrategy:(t=this,function(e){t.useStrategy(e)}),sanitize:function(e,t,n){if(f||d||h||(c.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),h=!0),arguments.length<3&&(n=f),!n)return e;var r,i,a,o=angular.isArray(n)?n:[n];return r=e,i=t,a=o,angular.forEach(a,function(t){if(angular.isFunction(t))r=t(r,i);else if(angular.isFunction(u[t]))r=u[t](r,i);else{if(!angular.isString(u[t]))throw new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+t+"'");if(!l[u[t]])try{l[u[t]]=s.get(u[t])}catch(e){throw l[u[t]]=function(){},new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+t+"'")}r=l[u[t]](r,i)}}),r}}}];var r=function(e){var t=angular.element("<div></div>");return t.text(e),t.html()},i=function(e){if(!n)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.");return n(e)},a=function(e,n,r){if(angular.isObject(e)){var i=angular.isArray(e)?[]:{};if(r){if(-1<r.indexOf(e))throw new Error("pascalprecht.translate.$translateSanitization: Error cannot interpolate parameter due recursive object")}else r=[];return r.push(e),angular.forEach(e,function(e,t){i[t]=a(e,n,r)}),r.splice(-1,1),i}return angular.isNumber(e)?e:n(e)}}),angular.module("pascalprecht.translate").constant("pascalprechtTranslateOverrider",{}).provider("$translate",t),t.displayName="displayName",angular.module("pascalprecht.translate").factory("$translateDefaultInterpolation",n),n.displayName="$translateDefaultInterpolation",angular.module("pascalprecht.translate").constant("$STORAGE_KEY","NG_TRANSLATE_LANG_KEY"),angular.module("pascalprecht.translate").directive("translate",r),r.displayName="translateDirective",angular.module("pascalprecht.translate").directive("translateCloak",i),i.displayName="translateCloakDirective",angular.module("pascalprecht.translate").directive("translateNamespace",a),a.displayName="translateNamespaceDirective",angular.module("pascalprecht.translate").directive("translateLanguage",o),o.displayName="translateLanguageDirective",angular.module("pascalprecht.translate").filter("translate",s),s.displayName="translateFilterFactory",angular.module("pascalprecht.translate").factory("$translationCache",c),c.displayName="$translationCache","pascalprecht.translate"}),function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof exports?module.exports=t():t()}(0,function(){function e(){"use strict";function r(e,t){this.name=e,this.isActive=!0,this.tables={},this.priority=t||0}r.prototype.parseUrl=function(e,t){return angular.isFunction(e)?e(this.name,t):e.replace(/\{part\}/g,this.name).replace(/\{lang\}/g,t)},r.prototype.getTable=function(t,e,n,r,i,a){if(this.tables[t])return e.when(this.tables[t]);var o=this;return n(angular.extend({method:"GET",url:this.parseUrl(i,t)},r)).then(function(e){return o.tables[t]=e.data,e.data},function(){return a?a(o.name,t).then(function(e){return o.tables[t]=e},function(){return e.reject(o.name)}):e.reject(o.name)})};var l={};function u(e){return Object.prototype.hasOwnProperty.call(l,e)}function f(e){return angular.isString(e)&&""!==e}function e(e){if(!f(e))throw new TypeError("Invalid type of a first argument, a non-empty string expected.");return u(e)&&l[e].isActive}function d(){var e=[];for(var t in l)l[t].isActive&&e.push(l[t]);return e.sort(function(e,t){return e.priority-t.priority}),e}this.addPart=function(e,t){if(!f(e))throw new TypeError("Couldn't add part, part name has to be a string!");return u(e)||(l[e]=new r(e,t)),l[e].isActive=!0,this},this.setPart=function(e,t,n){if(!f(e))throw new TypeError("Couldn't set part.`lang` parameter has to be a string!");if(!f(t))throw new TypeError("Couldn't set part.`part` parameter has to be a string!");if("object"!=typeof n||null===n)throw new TypeError("Couldn't set part. `table` parameter has to be an object!");return u(t)||(l[t]=new r(t),l[t].isActive=!1),l[t].tables[e]=n,this},this.deletePart=function(e){if(!f(e))throw new TypeError("Couldn't delete part, first arg has to be string.");return u(e)&&(l[e].isActive=!1),this},this.isPartAvailable=e,this.$get=["$rootScope","$injector","$q","$http",function(i,a,o,s){var c=function(n){if(!f(n.key))throw new TypeError("Unable to load data, a key is not a non-empty string.");if(!f(n.urlTemplate)&&!angular.isFunction(n.urlTemplate))throw new TypeError("Unable to load data, a urlTemplate is not a non-empty string or not a function.");var t=n.loadFailureHandler;if(void 0!==t){if(!angular.isString(t))throw new Error("Unable to load data, a loadFailureHandler is not a string.");t=a.get(t)}var r=[],e=d();return angular.forEach(e,function(e){r.push(e.getTable(n.key,o,s,n.$http,n.urlTemplate,t)),e.urlTemplate=n.urlTemplate}),o.all(r).then(function(){var t={};return e=d(),angular.forEach(e,function(e){!function e(t,n){for(var r in n)n[r]&&n[r].constructor&&n[r].constructor===Object?(t[r]=t[r]||{},e(t[r],n[r])):t[r]=n[r];return t}(t,e.tables[n.key])}),t},function(){return o.reject(n.key)})};return c.addPart=function(e,t){if(!f(e))throw new TypeError("Couldn't add part, first arg has to be a string");return u(e)?l[e].isActive||(l[e].isActive=!0,i.$emit("$translatePartialLoaderStructureChanged",e)):(l[e]=new r(e,t),i.$emit("$translatePartialLoaderStructureChanged",e)),c},c.deletePart=function(n,e){if(!f(n))throw new TypeError("Couldn't delete part, first arg has to be string");if(void 0===e)e=!1;else if("boolean"!=typeof e)throw new TypeError("Invalid type of a second argument, a boolean expected.");if(u(n)){var t=l[n].isActive;if(e){var r=a.get("$translate").loaderCache();"string"==typeof r&&(r=a.get(r)),"object"==typeof r&&angular.forEach(l[n].tables,function(e,t){r.remove(l[n].parseUrl(l[n].urlTemplate,t))}),delete l[n]}else l[n].isActive=!1;t&&i.$emit("$translatePartialLoaderStructureChanged",n)}return c},c.isPartLoaded=function(e,t){return angular.isDefined(l[e])&&angular.isDefined(l[e].tables[t])},c.getRegisteredParts=function(){var t=[];return angular.forEach(l,function(e){e.isActive&&t.push(e.name)}),t},c.isPartAvailable=e,c}]}return angular.module("pascalprecht.translate").provider("$translatePartialLoader",e),e.displayName="$translatePartialLoader","pascalprecht.translate"}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,r;function d(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)h(t,n)&&(e[n]=t[n]);return h(t,"toString")&&(e.toString=t.toString),h(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return st(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}function m(e){if(null==e._isValid){var t=p(e),n=r.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function g(e){var t=f(NaN);return null!=e?u(p(t),e):p(t).userInvalidated=!0,t}function a(e){return void 0===e}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var o=d.momentProperties=[];function _(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),0<o.length)for(n in o)a(i=t[r=o[n]])||(e[r]=i);return e}var t=!1;function b(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===t&&(t=!0,d.updateOffset(this),t=!1)}function v(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e):Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function C(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&w(e[r])!==w(t[r]))&&o++;return o+a}function i(e){!1===d.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(e,t){var n=!0;return u(function(){return null!=d.deprecationHandler&&d.deprecationHandler(null,e),n&&(i(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),n=!1),t.apply(this,arguments)},t)}var A,S={};function T(e,t){null!=d.deprecationHandler&&d.deprecationHandler(e,t),S[e]||(i(t),S[e]=!0)}function x(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e){return"[object Object]"===Object.prototype.toString.call(e)}function E(e,t){var n,r=u({},e);for(n in t)h(t,n)&&(k(e[n])&&k(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)h(e,t)&&n.push(t);return n};var I,P={};function M(e){return e?e.toLowerCase().replace("_","-"):e}function $(e){var t=null;if(!P[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=I._abbr,require("./locale/"+e),O(t)}catch(e){}return P[e]}function O(e,t){var n;return e&&(n=a(t)?N(e):R(e,t))&&(I=n),I._abbr}function R(e,t){return null!==t?(t.abbr=e,null!=P[e]?(T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(P[e]._config,t)):null!=t.parentLocale&&(null!=P[t.parentLocale]?t=E(P[t.parentLocale]._config,t):T("parentLocaleUndefined","specified parentLocale is not defined yet")),P[e]=new D(t),O(e),P[e]):(delete P[e],null)}function N(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return I;if(!s(e)){if(t=$(e))return t;e=[e]}return function(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=M(e[a]).split("-")).length,n=(n=M(e[a+1]))?n.split("-"):null;0<t;){if(r=$(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}a++}return null}(e)}var L={};function F(e,t){var n=e.toLowerCase();L[n]=L[n+"s"]=L[t]=e}function G(e){return"string"==typeof e?L[e]||L[e.toLowerCase()]:void 0}function j(e){var t,n,r={};for(n in e)h(e,n)&&(t=G(n))&&(r[t]=e[n]);return r}function B(t,n){return function(e){return null!=e?(H(this,t,e),d.updateOffset(this,n),this):U(this,t)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function W(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(x(this[e=G(e)]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},K={};function Q(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(K[e]=i),t&&(K[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(K[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function X(e,t){return e.isValid()?(t=Z(t,e.localeData()),Y[t]=Y[t]||function(r){var e,i,t,a=r.match(z);for(e=0,i=a.length;e<i;e++)K[a[e]]?a[e]=K[a[e]]:a[e]=(t=a[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(e){var t,n="";for(t=0;t<i;t++)n+=a[t]instanceof Function?a[t].call(e,r):a[t];return n}}(t),Y[t](e)):e.localeData().invalidDate()}function Z(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(V.lastIndex=0;0<=n&&V.test(e);)e=e.replace(V,r),V.lastIndex=0,n-=1;return e}var J=/\d/,ee=/\d\d/,te=/\d{3}/,ne=/\d{4}/,re=/[+-]?\d{6}/,ie=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,se=/\d{1,3}/,ce=/\d{1,4}/,le=/[+-]?\d{1,6}/,ue=/\d+/,fe=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,me={};function ge(e,n,r){me[e]=x(n)?n:function(e,t){return e&&r?r:n}}function _e(e,t){return h(me,e)?me[e](t._strict,t._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ve={};function ye(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),"number"==typeof n&&(r=function(e,t){t[n]=w(e)}),t=0;t<e.length;t++)ve[e[t]]=r}function we(e,i){ye(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var Ce,Ae=0,Se=1,Te=2,xe=3,ke=4,Ee=5,De=6,Ie=7,Pe=8;function Me(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Q("M",["MM",2],"Mo",function(){return this.month()+1}),Q("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Q("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),ge("M",ie),ge("MM",ie,ee),ge("MMM",function(e,t){return t.monthsShortRegex(e)}),ge("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[Se]=w(e)-1}),ye(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Se]=i:p(n).invalidMonth=e});var $e=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Me(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Le(e){return null!=e?(Ne(this,e),d.updateOffset(this,!0),this):U(this,"Month")}var Fe=pe;var Ge=pe;function je(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=be(r[t]),i[t]=be(i[t]),a[t]=be(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Be(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Se]<0||11<n[Se]?Se:n[Te]<1||n[Te]>Me(n[Ae],n[Se])?Te:n[xe]<0||24<n[xe]||24===n[xe]&&(0!==n[ke]||0!==n[Ee]||0!==n[De])?xe:n[ke]<0||59<n[ke]?ke:n[Ee]<0||59<n[Ee]?Ee:n[De]<0||999<n[De]?De:-1,p(e)._overflowDayOfYear&&(t<Ae||Te<t)&&(t=Te),p(e)._overflowWeeks&&-1===t&&(t=Ie),p(e)._overflowWeekday&&-1===t&&(t=Pe),p(e).overflow=t),e}var Ue=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,He=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,We=/Z|[+-]\d\d(?::?\d\d)?/,qe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ze=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ve=/^\/?Date\((\-?\d+)/i;function Ye(e){var t,n,r,i,a,o,s=e._i,c=Ue.exec(s)||He.exec(s);if(c){for(p(e).iso=!0,t=0,n=qe.length;t<n;t++)if(qe[t][1].exec(c[1])){i=qe[t][0],r=!1!==qe[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=ze.length;t<n;t++)if(ze[t][1].exec(c[3])){a=(c[2]||" ")+ze[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(c[4]){if(!We.exec(c[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),at(e)}else e._isValid=!1}function Ke(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Qe(e){return Xe(e)?366:365}function Xe(e){return e%4==0&&e%100!=0||e%400==0}d.createFromInputFallback=n("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),Q("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),Q(0,["YY",2],0,function(){return this.year()%100}),Q(0,["YYYY",4],0,"year"),Q(0,["YYYYY",5],0,"year"),Q(0,["YYYYYY",6,!0],0,"year"),F("year","y"),ge("Y",fe),ge("YY",ie,ee),ge("YYYY",ce,ne),ge("YYYYY",le,re),ge("YYYYYY",le,re),ye(["YYYYY","YYYYYY"],Ae),ye("YYYY",function(e,t){t[Ae]=2===e.length?d.parseTwoDigitYear(e):w(e)}),ye("YY",function(e,t){t[Ae]=d.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[Ae]=parseInt(e,10)}),d.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var Ze=B("FullYear",!0);function Je(e,t,n){var r=7+t-n;return-((7+Ke(e,0,r).getUTCDay()-t)%7)+r-1}function et(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+Je(e,r,i);return o=s<=0?Qe(a=e-1)+s:s>Qe(e)?(a=e+1,s-Qe(e)):(a=e,s),{year:a,dayOfYear:o}}function tt(e,t,n){var r,i,a=Je(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+nt(i=e.year()-1,t,n):o>nt(e.year(),t,n)?(r=o-nt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function nt(e,t,n){var r=Je(e,t,n),i=Je(e+1,t,n);return(Qe(e)-r+i)/7}function rt(e,t,n){return null!=e?e:null!=t?t:n}function it(e){var t,n,r,i,a=[];if(!e._d){var o,s;for(o=e,s=new Date(d.now()),r=o._useUTC?[s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()]:[s.getFullYear(),s.getMonth(),s.getDate()],e._w&&null==e._a[Te]&&null==e._a[Se]&&function(e){var t,n,r,i,a,o,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,o=4,n=rt(t.GG,e._a[Ae],tt(ct(),1,4).year),r=rt(t.W,1),((i=rt(t.E,1))<1||7<i)&&(c=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,n=rt(t.gg,e._a[Ae],tt(ct(),a,o).year),r=rt(t.w,1),null!=t.d?((i=t.d)<0||6<i)&&(c=!0):null!=t.e?(i=t.e+a,(t.e<0||6<t.e)&&(c=!0)):i=a);r<1||r>nt(n,a,o)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=et(n,r,i,a,o),e._a[Ae]=s.year,e._dayOfYear=s.dayOfYear)}(e),e._dayOfYear&&(i=rt(e._a[Ae],r[Ae]),e._dayOfYear>Qe(i)&&(p(e)._overflowDayOfYear=!0),n=Ke(i,0,e._dayOfYear),e._a[Se]=n.getUTCMonth(),e._a[Te]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[ke]&&0===e._a[Ee]&&0===e._a[De]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?Ke:function(e,t,n,r,i,a,o){var s=new Date(e,t,n,r,i,a,o);return e<100&&0<=e&&isFinite(s.getFullYear())&&s.setFullYear(e),s}).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24)}}function at(e){if(e._f!==d.ISO_8601){e._a=[],p(e).empty=!0;var t,n,r,i,a,o,s,c,l=""+e._i,u=l.length,f=0;for(r=Z(e._f,e._locale).match(z)||[],t=0;t<r.length;t++)i=r[t],(n=(l.match(_e(i,e))||[])[0])&&(0<(a=l.substr(0,l.indexOf(n))).length&&p(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),f+=n.length),K[i]?(n?p(e).empty=!1:p(e).unusedTokens.push(i),o=i,c=e,null!=(s=n)&&h(ve,o)&&ve[o](s,c._a,c,o)):e._strict&&!n&&p(e).unusedTokens.push(i);p(e).charsLeftOver=u-f,0<l.length&&p(e).unusedInput.push(l),!0===p(e).bigHour&&e._a[xe]<=12&&0<e._a[xe]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[xe]=function(e,t,n){var r;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0)),t)}(e._locale,e._a[xe],e._meridiem),it(e),Be(e)}else Ye(e)}function ot(e){var t,n,r,i,a=e._i,o=e._f;return e._locale=e._locale||N(e._l),null===a||void 0===o&&""===a?g({nullInput:!0}):("string"==typeof a&&(e._i=a=e._locale.preparse(a)),v(a)?new b(Be(a)):(s(o)?function(e){var t,n,r,i,a;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],at(t),m(t)&&(a+=p(t).charsLeftOver,a+=10*p(t).unusedTokens.length,p(t).score=a,(null==r||a<r)&&(r=a,n=t));u(e,n||t)}(e):o?at(e):c(a)?e._d=a:void 0===(n=(t=e)._i)?t._d=new Date(d.now()):c(n)?t._d=new Date(n.valueOf()):"string"==typeof n?(r=t,null===(i=Ve.exec(r._i))?(Ye(r),!1===r._isValid&&(delete r._isValid,d.createFromInputFallback(r))):r._d=new Date(+i[1])):s(n)?(t._a=l(n.slice(0),function(e){return parseInt(e,10)}),it(t)):"object"==typeof n?function(e){if(!e._d){var t=j(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),it(e)}}(t):"number"==typeof n?t._d=new Date(n):d.createFromInputFallback(t),m(e)||(e._d=null),e))}function st(e,t,n,r,i){var a,o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(a=new b(Be(ot(o))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function ct(e,t,n,r){return st(e,t,n,r,!1)}d.ISO_8601=function(){};var lt=n("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),ut=n("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=ct.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function ft(e,t){var n,r;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return ct();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function dt(e){var t=j(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=N(),this._bubble()}function ht(e){return e instanceof dt}function pt(e,n){Q(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+q(~~(e/60),2)+n+q(~~e%60,2)})}pt("Z",":"),pt("ZZ",""),ge("Z",he),ge("ZZ",he),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=gt(he,e)});var mt=/([\+\-]|\d\d)/gi;function gt(e,t){var n=(t||"").match(e)||[],r=((n[n.length-1]||[])+"").match(mt)||["-",0,0],i=60*r[1]+w(r[2]);return"+"===r[0]?i:-i}function _t(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(v(e)||c(e)?e.valueOf():ct(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),d.updateOffset(n,!1),n):ct(e).local()}function bt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}d.updateOffset=function(){};var yt=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,wt=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function Ct(e,t){var n,r,i,a=e,o=null;return ht(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(a={},t?a[t]=e:a.milliseconds=e):(o=yt.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:w(o[Te])*n,h:w(o[xe])*n,m:w(o[ke])*n,s:w(o[Ee])*n,ms:w(o[De])*n}):(o=wt.exec(e))?(n="-"===o[1]?-1:1,a={y:At(o[2],n),M:At(o[3],n),w:At(o[4],n),d:At(o[5],n),h:At(o[6],n),m:At(o[7],n),s:At(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=_t(t,e),e.isBefore(t)?n=St(e,t):((n=St(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(ct(a.from),ct(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new dt(a),ht(e)&&h(e,"_locale")&&(r._locale=e._locale),r}function At(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function St(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Tt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period)."),n=e,e=t,t=n),kt(this,Ct(e="string"==typeof e?+e:e,t),r),this}}function kt(e,t,n,r){var i=t._milliseconds,a=Tt(t._days),o=Tt(t._months);e.isValid()&&(r=null==r||r,i&&e._d.setTime(e._d.valueOf()+i*n),a&&H(e,"Date",U(e,"Date")+a*n),o&&Ne(e,U(e,"Month")+o*n),r&&d.updateOffset(e,a||o))}Ct.fn=dt.prototype;var Et=xt(1,"add"),Dt=xt(-1,"subtract");function It(e){var t;return void 0===e?this._locale._abbr:(null!=(t=N(e))&&(this._locale=t),this)}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Pt=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Mt(){return this._locale}function $t(e,t){Q(0,[e,e.length],0,t)}function Ot(e,t,n,r,i){var a;return null==e?tt(this,r,i).year:((a=nt(e,r,i))<t&&(t=a),function(e,t,n,r,i){var a=et(e,t,n,r,i),o=Ke(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,r,i))}Q(0,["gg",2],0,function(){return this.weekYear()%100}),Q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$t("gggg","weekYear"),$t("ggggg","weekYear"),$t("GGGG","isoWeekYear"),$t("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),ge("G",fe),ge("g",fe),ge("GG",ie,ee),ge("gg",ie,ee),ge("GGGG",ce,ne),ge("gggg",ce,ne),ge("GGGGG",le,re),ge("ggggg",le,re),we(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),we(["gg","GG"],function(e,t,n,r){t[r]=d.parseTwoDigitYear(e)}),Q("Q",0,"Qo","quarter"),F("quarter","Q"),ge("Q",J),ye("Q",function(e,t){t[Se]=3*(w(e)-1)}),Q("w",["ww",2],"wo","week"),Q("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),ge("w",ie),ge("ww",ie,ee),ge("W",ie),ge("WW",ie,ee),we(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});Q("D",["DD",2],"Do","date"),F("date","D"),ge("D",ie),ge("DD",ie,ee),ge("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ye(["D","DD"],Te),ye("Do",function(e,t){t[Te]=w(e.match(ie)[0])});var Rt=B("Date",!0);Q("d",0,"do","day"),Q("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Q("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Q("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Q("e",0,0,"weekday"),Q("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),ge("d",ie),ge("e",ie),ge("E",ie),ge("dd",function(e,t){return t.weekdaysMinRegex(e)}),ge("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ge("dddd",function(e,t){return t.weekdaysRegex(e)}),we(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),we(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Gt=pe;var jt=pe;var Bt=pe;function Ut(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),c.push(a),l.push(r),l.push(i),l.push(a);for(o.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=be(s[t]),c[t]=be(c[t]),l[t]=be(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ht(){return this.hours()%12||12}function Wt(e,t){Q(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qt(e,t){return t._meridiemParse}Q("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),ge("DDD",se),ge("DDDD",te),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),Q("H",["HH",2],0,"hour"),Q("h",["hh",2],0,Ht),Q("k",["kk",2],0,function(){return this.hours()||24}),Q("hmm",0,0,function(){return""+Ht.apply(this)+q(this.minutes(),2)}),Q("hmmss",0,0,function(){return""+Ht.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Q("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Q("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),Wt("a",!0),Wt("A",!1),F("hour","h"),ge("a",qt),ge("A",qt),ge("H",ie),ge("h",ie),ge("HH",ie,ee),ge("hh",ie,ee),ge("hmm",ae),ge("hmmss",oe),ge("Hmm",ae),ge("Hmmss",oe),ye(["H","HH"],xe),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[xe]=w(e),p(n).bigHour=!0}),ye("hmm",function(e,t,n){var r=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r)),p(n).bigHour=!0}),ye("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[Ee]=w(e.substr(i)),p(n).bigHour=!0}),ye("Hmm",function(e,t,n){var r=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r))}),ye("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[Ee]=w(e.substr(i))});var zt=B("Hours",!0);Q("m",["mm",2],0,"minute"),F("minute","m"),ge("m",ie),ge("mm",ie,ee),ye(["m","mm"],ke);var Vt=B("Minutes",!1);Q("s",["ss",2],0,"second"),F("second","s"),ge("s",ie),ge("ss",ie,ee),ye(["s","ss"],Ee);var Yt,Kt=B("Seconds",!1);for(Q("S",0,0,function(){return~~(this.millisecond()/100)}),Q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Q(0,["SSS",3],0,"millisecond"),Q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),ge("S",se,J),ge("SS",se,ee),ge("SSS",se,te),Yt="SSSS";Yt.length<=9;Yt+="S")ge(Yt,ue);function Qt(e,t){t[De]=w(1e3*("0."+e))}for(Yt="S";Yt.length<=9;Yt+="S")ye(Yt,Qt);var Xt=B("Milliseconds",!1);Q("z",0,0,"zoneAbbr"),Q("zz",0,0,"zoneName");var Zt=b.prototype;Zt.add=Et,Zt.calendar=function(e,t){var n=e||ct(),r=_t(n,this).startOf("day"),i=this.diff(r,"days",!0),a=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse",o=t&&(x(t[a])?t[a]():t[a]);return this.format(o||this.localeData().calendar(a,this,ct(n)))},Zt.clone=function(){return new b(this)},Zt.diff=function(e,t,n){var r,i,a,o;return this.isValid()&&(r=_t(e,this)).isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),"year"===(t=G(t))||"month"===t||"quarter"===t?(s=this,c=r,f=12*(c.year()-s.year())+(c.month()-s.month()),d=s.clone().add(f,"months"),u=c-d<0?(l=s.clone().add(f-1,"months"),(c-d)/(d-l)):(l=s.clone().add(f+1,"months"),(c-d)/(l-d)),o=-(f+u)||0,"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-r,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-i)/864e5:"week"===t?(a-i)/6048e5:a),n?o:y(o)):NaN;var s,c,l,u,f,d},Zt.endOf=function(e){return void 0===(e=G(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Zt.format=function(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=X(this,e);return this.localeData().postformat(t)},Zt.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||ct(e).isValid())?Ct({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Zt.fromNow=function(e){return this.from(ct(),e)},Zt.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||ct(e).isValid())?Ct({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Zt.toNow=function(e){return this.to(ct(),e)},Zt.get=W,Zt.invalidAt=function(){return p(this).overflow},Zt.isAfter=function(e,t){var n=v(e)?e:ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=G(a(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Zt.isBefore=function(e,t){var n=v(e)?e:ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=G(a(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Zt.isBetween=function(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},Zt.isSame=function(e,t){var n,r=v(e)?e:ct(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=G(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Zt.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Zt.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Zt.isValid=function(){return m(this)},Zt.lang=Pt,Zt.locale=It,Zt.localeData=Mt,Zt.max=ut,Zt.min=lt,Zt.parsingFlags=function(){return u({},p(this))},Zt.set=W,Zt.startOf=function(e){switch(e=G(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Zt.subtract=Dt,Zt.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},Zt.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},Zt.toDate=function(){return this._offset?new Date(this.valueOf()):this._d},Zt.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?x(Date.prototype.toISOString)?this.toDate().toISOString():X(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):X(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Zt.toJSON=function(){return this.isValid()?this.toISOString():null},Zt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Zt.unix=function(){return Math.floor(this.valueOf()/1e3)},Zt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Zt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Zt.year=Ze,Zt.isLeapYear=function(){return Xe(this.year())},Zt.weekYear=function(e){return Ot.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Zt.isoWeekYear=function(e){return Ot.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Zt.quarter=Zt.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Zt.month=Le,Zt.daysInMonth=function(){return Me(this.year(),this.month())},Zt.week=Zt.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Zt.isoWeek=Zt.isoWeeks=function(e){var t=tt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Zt.weeksInYear=function(){var e=this.localeData()._week;return nt(this.year(),e.dow,e.doy)},Zt.isoWeeksInYear=function(){return nt(this.year(),1,4)},Zt.date=Rt,Zt.day=Zt.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},Zt.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Zt.isoWeekday=function(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN},Zt.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Zt.hour=Zt.hours=zt,Zt.minute=Zt.minutes=Vt,Zt.second=Zt.seconds=Kt,Zt.millisecond=Zt.milliseconds=Xt,Zt.utcOffset=function(e,t){var n,r=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=gt(he,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(n=bt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?kt(this,Ct(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:bt(this):null!=e?this:NaN},Zt.utc=function(e){return this.utcOffset(0,e)},Zt.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(bt(this),"m")),this},Zt.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(gt(de,this._i)),this},Zt.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Zt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Zt.isDSTShifted=function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(_(e,this),(e=ot(e))._a){var t=e._isUTC?f(e._a):ct(e._a);this._isDSTShifted=this.isValid()&&0<C(e._a,t.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted},Zt.isLocal=function(){return!!this.isValid()&&!this._isUTC},Zt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Zt.isUtc=vt,Zt.isUTC=vt,Zt.zoneAbbr=function(){return this._isUTC?"UTC":""},Zt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Zt.dates=n("dates accessor is deprecated. Use date instead.",Rt),Zt.months=n("months accessor is deprecated. Use month instead",Le),Zt.years=n("years accessor is deprecated. Use year instead",Ze),Zt.zone=n("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()});var Jt=Zt;function en(e){return e}var tn=D.prototype;function nn(e,t,n,r){var i=N(),a=f().set(r,t);return i[n](a,e)}function rn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return nn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=nn(e,r,n,"month");return i}function an(e,t,n,r){t=("boolean"==typeof e?"number"==typeof t&&(n=t,t=void 0):(t=e,e=!1,"number"==typeof(n=t)&&(n=t,t=void 0)),t||"");var i,a=N(),o=e?a._week.dow:0;if(null!=n)return nn(t,(n+o)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=nn(t,(i+o)%7,r,"day");return s}tn._calendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},tn.calendar=function(e,t,n){var r=this._calendar[e];return x(r)?r.call(t,n):r},tn._longDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},tn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},tn._invalidDate="Invalid date",tn.invalidDate=function(){return this._invalidDate},tn._ordinal="%d",tn.ordinal=function(e){return this._ordinal.replace("%d",e)},tn._ordinalParse=/\d{1,2}/,tn.preparse=en,tn.postformat=en,tn._relativeTime={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},tn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return x(i)?i(e,t,n,r):i.replace(/%d/i,e)},tn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)},tn.set=function(e){var t,n;for(n in e)x(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},tn.months=function(e,t){return s(this._months)?this._months[e.month()]:this._months[$e.test(t)?"format":"standalone"][e.month()]},tn._months=Oe,tn.monthsShort=function(e,t){return s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[$e.test(t)?"format":"standalone"][e.month()]},tn._monthsShort=Re,tn.monthsParse=function(e,t,n){var r,i,a;if(this._monthsParseExact)return function(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ce.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,o))?i:-1!==(i=Ce.call(this._longMonthsParse,o))?i:null:-1!==(i=Ce.call(this._longMonthsParse,o))?i:-1!==(i=Ce.call(this._shortMonthsParse,o))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},tn._monthsRegex=Ge,tn.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex},tn._monthsShortRegex=Fe,tn.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex},tn.week=function(e){return tt(e,this._week.dow,this._week.doy).week},tn._week={dow:0,doy:6},tn.firstDayOfYear=function(){return this._week.doy},tn.firstDayOfWeek=function(){return this._week.dow},tn.weekdays=function(e,t){return s(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]},tn._weekdays=Nt,tn.weekdaysMin=function(e){return this._weekdaysMin[e.day()]},tn._weekdaysMin=Ft,tn.weekdaysShort=function(e){return this._weekdaysShort[e.day()]},tn._weekdaysShort=Lt,tn.weekdaysParse=function(e,t,n){var r,i,a;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ce.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ce.call(this._weekdaysParse,o))?i:-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:-1!==(i=Ce.call(this._weekdaysParse,o))?i:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:-1!==(i=Ce.call(this._weekdaysParse,o))?i:-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},tn._weekdaysRegex=Gt,tn.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ut.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex},tn._weekdaysShortRegex=jt,tn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ut.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex},tn._weekdaysMinRegex=Bt,tn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ut.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex},tn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tn._meridiemParse=/[ap]\.?m?\.?/i,tn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),d.lang=n("moment.lang is deprecated. Use moment.locale instead.",O),d.langData=n("moment.langData is deprecated. Use moment.localeData instead.",N);var on=Math.abs;function sn(e,t,n,r){var i=Ct(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function cn(e){return e<0?Math.floor(e):Math.ceil(e)}function ln(e){return 4800*e/146097}function un(e){return 146097*e/4800}function fn(e){return function(){return this.as(e)}}var dn=fn("ms"),hn=fn("s"),pn=fn("m"),mn=fn("h"),gn=fn("d"),_n=fn("w"),bn=fn("M"),vn=fn("y");function yn(e){return function(){return this._data[e]}}var wn=yn("milliseconds"),Cn=yn("seconds"),An=yn("minutes"),Sn=yn("hours"),Tn=yn("days"),xn=yn("months"),kn=yn("years");var En=Math.round,Dn={s:45,m:45,h:22,d:26,M:11};var In=Math.abs;function Pn(){var e,t,n=In(this._milliseconds)/1e3,r=In(this._days),i=In(this._months);t=y((e=y(n/60))/60),n%=60,e%=60;var a=y(i/12),o=i%=12,s=r,c=t,l=e,u=n,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(s?s+"D":"")+(c||l||u?"T":"")+(c?c+"H":"")+(l?l+"M":"")+(u?u+"S":""):"P0D"}var Mn=dt.prototype;return Mn.abs=function(){var e=this._data;return this._milliseconds=on(this._milliseconds),this._days=on(this._days),this._months=on(this._months),e.milliseconds=on(e.milliseconds),e.seconds=on(e.seconds),e.minutes=on(e.minutes),e.hours=on(e.hours),e.months=on(e.months),e.years=on(e.years),this},Mn.add=function(e,t){return sn(this,e,t,1)},Mn.subtract=function(e,t){return sn(this,e,t,-1)},Mn.as=function(e){var t,n,r=this._milliseconds;if("month"===(e=G(e))||"year"===e)return t=this._days+r/864e5,n=this._months+ln(t),"month"===e?n:n/12;switch(t=this._days+Math.round(un(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Mn.asMilliseconds=dn,Mn.asSeconds=hn,Mn.asMinutes=pn,Mn.asHours=mn,Mn.asDays=gn,Mn.asWeeks=_n,Mn.asMonths=bn,Mn.asYears=vn,Mn.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)},Mn._bubble=function(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return 0<=a&&0<=o&&0<=s||a<=0&&o<=0&&s<=0||(a+=864e5*cn(un(s)+o),s=o=0),c.milliseconds=a%1e3,e=y(a/1e3),c.seconds=e%60,t=y(e/60),c.minutes=t%60,n=y(t/60),c.hours=n%24,s+=i=y(ln(o+=y(n/24))),o-=cn(un(i)),r=y(s/12),s%=12,c.days=o,c.months=s,c.years=r,this},Mn.get=function(e){return this[(e=G(e))+"s"]()},Mn.milliseconds=wn,Mn.seconds=Cn,Mn.minutes=An,Mn.hours=Sn,Mn.days=Tn,Mn.weeks=function(){return y(this.days()/7)},Mn.months=xn,Mn.years=kn,Mn.humanize=function(e){var t,n,r,i,a,o,s,c,l,u,f,d=this.localeData(),h=(n=!e,r=d,i=Ct(t=this).abs(),a=En(i.as("s")),o=En(i.as("m")),s=En(i.as("h")),c=En(i.as("d")),l=En(i.as("M")),u=En(i.as("y")),(f=a<Dn.s&&["s",a]||o<=1&&["m"]||o<Dn.m&&["mm",o]||s<=1&&["h"]||s<Dn.h&&["hh",s]||c<=1&&["d"]||c<Dn.d&&["dd",c]||l<=1&&["M"]||l<Dn.M&&["MM",l]||u<=1&&["y"]||["yy",u])[2]=n,f[3]=0<+t,f[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,f));return e&&(h=d.pastFuture(+this,h)),d.postformat(h)},Mn.toISOString=Pn,Mn.toString=Pn,Mn.toJSON=Pn,Mn.locale=It,Mn.localeData=Mt,Mn.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pn),Mn.lang=Pt,Q("X",0,0,"unix"),Q("x",0,0,"valueOf"),ge("x",fe),ge("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ye("x",function(e,t,n){n._d=new Date(w(e))}),d.version="2.13.0",e=ct,d.fn=Jt,d.min=function(){return ft("isBefore",[].slice.call(arguments,0))},d.max=function(){return ft("isAfter",[].slice.call(arguments,0))},d.now=function(){return Date.now?Date.now():+new Date},d.utc=f,d.unix=function(e){return ct(1e3*e)},d.months=function(e,t){return rn(e,t,"months")},d.isDate=c,d.locale=O,d.invalid=g,d.duration=Ct,d.isMoment=v,d.weekdays=function(e,t,n){return an(e,t,n,"weekdays")},d.parseZone=function(){return ct.apply(null,arguments).parseZone()},d.localeData=N,d.isDuration=ht,d.monthsShort=function(e,t){return rn(e,t,"monthsShort")},d.weekdaysMin=function(e,t,n){return an(e,t,n,"weekdaysMin")},d.defineLocale=R,d.updateLocale=function(e,t){var n;return null!=t?(null!=P[e]&&(t=E(P[e]._config,t)),(n=new D(t)).parentLocale=P[e],P[e]=n,O(e)):null!=P[e]&&(null!=P[e].parentLocale?P[e]=P[e].parentLocale:null!=P[e]&&delete P[e]),P[e]},d.locales=function(){return A(P)},d.weekdaysShort=function(e,t,n){return an(e,t,n,"weekdaysShort")},d.normalizeUnits=G,d.relativeTimeThreshold=function(e,t){return void 0!==Dn[e]&&(void 0===t?Dn[e]:(Dn[e]=t,!0))},d.prototype=Jt,d}),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):"object"==typeof exports?module.exports=e(require("jquery"),require("moment")):e(jQuery,moment)}(function(M,$){var O=M.fullCalendar={version:"2.3.1"},f=O.views={};M.fn.fullCalendar=function(a){var o=Array.prototype.slice.call(arguments,1),s=this;return this.each(function(e,t){var n,r=M(t),i=r.data("fullCalendar");"string"==typeof a?i&&M.isFunction(i[a])&&(n=i[a].apply(i,o),e||(s=n),"destroy"===a&&r.removeData("fullCalendar")):i||(i=new O.CalendarBase(r,a),r.data("fullCalendar",i),i.render())}),s};var s=["header","buttonText","buttonIcons","themeButtonIcons"];function d(){var e,t,n,r,i,a=Array.prototype.slice.call(arguments),o={};for(e=0;e<s.length;e++){for(t=s[e],n=null,r=0;r<a.length;r++)i=a[r][t],M.isPlainObject(i)?n=M.extend(n||{},i):null!=i&&(n=null);null!==n&&(o[t]=n)}return a.unshift({}),a.push(o),M.extend.apply(M,a)}function i(e,t){t.left&&e.css({"border-left-width":1,"margin-left":t.left-1}),t.right&&e.css({"border-right-width":1,"margin-right":t.right-1})}function a(e){e.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function h(){M("body").addClass("fc-not-allowed")}function p(){M("body").removeClass("fc-not-allowed")}function n(i,e,t){var a=Math.floor(e/i.length),o=Math.floor(e-a*(i.length-1)),s=[],c=[],l=[],u=0;r(i),i.each(function(e,t){var n=e===i.length-1?o:a,r=M(t).outerHeight(!0);r<n?(s.push(t),c.push(r),l.push(M(t).height())):u+=r}),t&&(e-=u,a=Math.floor(e/s.length),o=Math.floor(e-a*(s.length-1))),M(s).each(function(e,t){var n=e===s.length-1?o:a,r=c[e],i=n-(r-l[e]);r<n&&M(t).height(i)})}function r(e){e.height("")}function e(e){var r=0;return e.find("> *").each(function(e,t){var n=M(t).outerWidth();r<n&&(r=n)}),r++,e.width(r),r}function o(e,t){return e.height(t).addClass("fc-scroller"),e[0].scrollHeight-1>e[0].clientHeight||(c(e),!1)}function c(e){e.height("").removeClass("fc-scroller")}function m(e){var t=e.css("position"),n=e.parents().filter(function(){var e=M(this);return/(auto|scroll)/.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&n.length?n:M(e[0].ownerDocument||document)}function g(e){var t=e.offset();return{left:t.left,right:t.left+e.outerWidth(),top:t.top,bottom:t.top+e.outerHeight()}}function t(e){var t=e.offset(),n=l(e),r=t.left+_(e,"border-left-width")+n.left,i=t.top+_(e,"border-top-width")+n.top;return{left:r,right:r+e[0].clientWidth,top:i,bottom:i+e[0].clientHeight}}function l(e){var t=e.innerWidth()-e[0].clientWidth,n={left:0,right:0,top:0,bottom:e.innerHeight()-e[0].clientHeight};return!function(){null===u&&(e=M("<div><div/></div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),t=e.children().offset().left>e.offset().left,e.remove(),u=t);var e,t;return u}()||"rtl"!=e.css("direction")?n.right=t:n.left=t,n}O.intersectionToSeg=v,O.applyAll=F,O.debounce=H,O.isInt=B,O.htmlEscape=E,O.cssToStr=P,O.proxy=U,O.getClientRect=t,O.getContentRect=function(e){var t=e.offset(),n=t.left+_(e,"border-left-width")+_(e,"padding-left"),r=t.top+_(e,"border-top-width")+_(e,"padding-top");return{left:n,right:n+e.width(),top:r,bottom:r+e.height()}},O.getScrollbarWidths=l;var u=null;function _(e,t){return parseFloat(e.css(t))||0}function b(e){return 1==e.which&&!e.ctrlKey}function v(e,t){var n,r,i,a,o=e.start,s=e.end,c=t.start,l=t.end;if(c<s&&o<l)return i=c<=o?(n=o.clone(),!0):(n=c.clone(),!1),a=s<=l?(r=s.clone(),!0):(r=l.clone(),!1),{start:n,end:r,isStart:i,isEnd:a}}O.computeIntervalUnit=C,O.durationHasTime=S;var y=["sun","mon","tue","wed","thu","fri","sat"],w=["year","month","week","day","hour","minute","second","millisecond"];function R(e,t){return $.duration({days:e.clone().stripTime().diff(t.clone().stripTime(),"days"),ms:e.time()-t.time()})}function N(e,t,n){return $.duration(Math.round(e.diff(t,n,!0)),n)}function C(e,t){var n,r,i;for(n=0;n<w.length&&!(1<=(i=A(r=w[n],e,t))&&B(i));n++);return r}function A(e,t,n){return null!=n?n.diff(t,e,!0):$.isDuration(t)?t.as(e):t.end.diff(t.start,e,!0)}function S(e){return Boolean(e.hours()||e.minutes()||e.seconds()||e.milliseconds())}function L(e){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(e)}var T={}.hasOwnProperty;function I(e){var t=function(){};return t.prototype=e,new t}function x(e,t){for(var n in e)k(e,n)&&(t[n]=e[n])}function k(e,t){return T.call(e,t)}function F(e,t,n){if(M.isFunction(e)&&(e=[e]),e){var r,i;for(r=0;r<e.length;r++)i=e[r].apply(t,n)||i;return i}}function G(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}function E(e){return(e+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function D(e){return e.replace(/&.*?;/g,"")}function P(e){var n=[];return M.each(e,function(e,t){null!=t&&n.push(e+":"+t)}),n.join(";")}function j(e,t){return e-t}function B(e){return e%1==0}function U(e,t){var n=e[t];return function(){return n.apply(e,arguments)}}function H(t,n){var r,i,a,o,s=function(){var e=+new Date-o;e<n&&0<e?r=setTimeout(s,n-e):(r=null,t.apply(a,i),r||(a=i=null))};return function(){a=this,i=arguments,o=+new Date,r||(r=setTimeout(s,n))}}var W,q,z,V=/^\s*\d{4}-\d\d$/,Y=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,K=$.fn,Q=M.extend({},K);function X(e,t,n){var r,i,a,o,s,c=e[0],l=1==e.length&&"string"==typeof c;return $.isMoment(c)?J(c,o=$.apply(null,e)):(s=c,"[object Date]"===Object.prototype.toString.call(s)||s instanceof Date||void 0===c?o=$.apply(null,e):(i=r=!1,l?V.test(c)?(e=[c+="-01"],i=r=!0):(a=Y.exec(c))&&(r=!a[5],i=!0):M.isArray(c)&&(i=!0),o=t||r?$.utc.apply($,e):$.apply(null,e),r?(o._ambigTime=!0,o._ambigZone=!0):n&&(i?o._ambigZone=!0:l&&(o.utcOffset?o.utcOffset(c):o.zone(c))))),o._fullCalendar=!0,o}function Z(e,t){var n,r,i=!1,a=!1,o=e.length,s=[];for(n=0;n<o;n++)r=e[n],$.isMoment(r)||(r=O.moment.parseZone(r)),i=i||r._ambigTime,a=a||r._ambigZone,s.push(r);for(n=0;n<o;n++)r=s[n],t||!i||r._ambigTime?a&&!r._ambigZone&&(s[n]=r.clone().stripZone()):s[n]=r.clone().stripTime();return s}function J(e,t){e._ambigTime?t._ambigTime=!0:t._ambigTime&&(t._ambigTime=!1),e._ambigZone?t._ambigZone=!0:t._ambigZone&&(t._ambigZone=!1)}function ee(e,t){e.year(t[0]||0).month(t[1]||0).date(t[2]||0).hours(t[3]||0).minutes(t[4]||0).seconds(t[5]||0).milliseconds(t[6]||0)}function te(e,t){return Q.format.call(e,t)}function ne(e,t){var n,r="";for(n=0;n<t.length;n++)r+=ie(e,t[n]);return r}O.moment=function(){return X(arguments)},O.moment.utc=function(){var e=X(arguments,!0);return e.hasTime()&&e.utc(),e},O.moment.parseZone=function(){return X(arguments,!0,!0)},K.clone=function(){var e=Q.clone.apply(this,arguments);return J(this,e),this._fullCalendar&&(e._fullCalendar=!0),e},K.week=K.weeks=function(e){var t=(this._locale||this._lang)._fullCalendar_weekCalc;return null==e&&"function"==typeof t?t(this):"ISO"===t?Q.isoWeek.apply(this,arguments):Q.week.apply(this,arguments)},K.time=function(e){if(!this._fullCalendar)return Q.time.apply(this,arguments);if(null==e)return $.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,$.isDuration(e)||$.isMoment(e)||(e=$.duration(e));var t=0;return $.isDuration(e)&&(t=24*Math.floor(e.asDays())),this.hours(t+e.hours()).minutes(e.minutes()).seconds(e.seconds()).milliseconds(e.milliseconds())},K.stripTime=function(){var e;return this._ambigTime||(e=this.toArray(),this.utc(),q(this,e.slice(0,3)),this._ambigTime=!0,this._ambigZone=!0),this},K.hasTime=function(){return!this._ambigTime},K.stripZone=function(){var e,t;return this._ambigZone||(e=this.toArray(),t=this._ambigTime,this.utc(),q(this,e),this._ambigTime=t||!1,this._ambigZone=!0),this},K.hasZone=function(){return!this._ambigZone},K.local=function(){var e=this.toArray(),t=this._ambigZone;return Q.local.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,t&&z(this,e),this},K.utc=function(){return Q.utc.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,this},M.each(["zone","utcOffset"],function(e,t){Q[t]&&(K[t]=function(e){return null!=e&&(this._ambigTime=!1,this._ambigZone=!1),Q[t].apply(this,arguments)})}),K.format=function(){return this._fullCalendar&&arguments[0]?(e=this,t=arguments[0],ne(e,le(t))):this._ambigTime?te(this,"YYYY-MM-DD"):this._ambigZone?te(this,"YYYY-MM-DD[T]HH:mm:ss"):Q.format.apply(this,arguments);var e,t},K.toISOString=function(){return this._ambigTime?te(this,"YYYY-MM-DD"):this._ambigZone?te(this,"YYYY-MM-DD[T]HH:mm:ss"):Q.toISOString.apply(this,arguments)},K.isWithin=function(e,t){var n=Z([this,e,t]);return n[0]>=n[1]&&n[0]<n[2]},K.isSame=function(e,t){var n;return this._fullCalendar?t?(n=Z([this,e],!0),Q.isSame.call(n[0],n[1],t)):(e=O.moment.parseZone(e),Q.isSame.call(this,e)&&Boolean(this._ambigTime)===Boolean(e._ambigTime)&&Boolean(this._ambigZone)===Boolean(e._ambigZone)):Q.isSame.apply(this,arguments)},M.each(["isBefore","isAfter"],function(e,r){K[r]=function(e,t){var n;return this._fullCalendar?(n=Z([this,e]),Q[r].call(n[0],n[1],t)):Q[r].apply(this,arguments)}}),W="_d"in $()&&"updateOffset"in $,q=W?function(e,t){e._d.setTime(Date.UTC.apply(Date,t)),$.updateOffset(e,!1)}:ee,z=W?function(e,t){e._d.setTime(+new Date(t[0]||0,t[1]||0,t[2]||0,t[3]||0,t[4]||0,t[5]||0,t[6]||0)),$.updateOffset(e,!1)}:ee;var re={t:function(e){return te(e,"a").charAt(0)},T:function(e){return te(e,"A").charAt(0)}};function ie(e,t){var n,r;return"string"==typeof t?t:(n=t.token)?re[n]?re[n](e):te(e,n):t.maybe&&(r=ne(e,t.maybe)).match(/[1-9]/)?r:""}function ae(e,t,n,r,i){return r=r||" - ",function(e,t,n,r,i){var a,o,s,c,l="",u="",f="",d="",h="";for(o=0;o<n.length&&!1!==(a=se(e,t,n[o]));o++)l+=a;for(s=n.length-1;o<s&&!1!==(a=se(e,t,n[s]));s--)u=a+u;for(c=o;c<=s;c++)f+=ie(e,n[c]),d+=ie(t,n[c]);(f||d)&&(h=i?d+r+f:f+r+d);return l+h+u}(e=O.moment.parseZone(e),t=O.moment.parseZone(t),le(n=(e.localeData||e.lang).call(e).longDateFormat(n)||n),r,i)}O.formatRange=ae;var oe={Y:"year",M:"month",D:"day",d:"day",A:"second",a:"second",T:"second",t:"second",H:"second",h:"second",m:"second",s:"second"};function se(e,t,n){var r,i;return"string"==typeof n?n:!!((r=n.token)&&(i=oe[r.charAt(0)])&&e.isSame(t,i))&&te(e,r)}var ce={};function le(e){return e in ce?ce[e]:ce[e]=function e(t){var n=[];var r=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;var i;for(;i=r.exec(t);)i[1]?n.push(i[1]):i[2]?n.push({maybe:e(i[2])}):i[3]?n.push({token:i[3]}):i[5]&&n.push(i[5]);return n}(e)}function ue(){}(O.Class=ue).extend=function(e){var t,n=this;return k(e=e||{},"constructor")&&(t=e.constructor),"function"!=typeof t&&(t=e.constructor=function(){n.apply(this,arguments)}),t.prototype=I(n.prototype),x(e,t.prototype),function(e,t){var n,r,i=["constructor","toString","valueOf"];for(n=0;n<i.length;n++)e[r=i[n]]!==Object.prototype[r]&&(t[r]=e[r])}(e,t.prototype),x(n,t),t},ue.mixin=function(e){x(e.prototype||e,this.prototype)};var fe=ue.extend({isHidden:!0,options:null,el:null,documentMousedownProxy:null,margin:10,constructor:function(e){this.options=e||{}},show:function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},hide:function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},render:function(){var e=this,t=this.options;this.el=M('<div class="fc-popover"/>').addClass(t.className||"").css({top:0,left:0}).append(t.content).appendTo(t.parentEl),this.el.on("click",".fc-close",function(){e.hide()}),t.autoHide&&M(document).on("mousedown",this.documentMousedownProxy=U(this,"documentMousedown"))},documentMousedown:function(e){this.el&&!M(e.target).closest(this.el).length&&this.hide()},destroy:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),M(document).off("mousedown",this.documentMousedownProxy)},position:function(){var e,t,n,r,i,a=this.options,o=this.el.offsetParent().offset(),s=this.el.outerWidth(),c=this.el.outerHeight(),l=M(window),u=m(this.el);r=a.top||0,i=void 0!==a.left?a.left:void 0!==a.right?a.right-s:0,t=u.is(window)||u.is(document)?(u=l,e=0):(e=(n=u.offset()).top,n.left),e+=l.scrollTop(),t+=l.scrollLeft(),!1!==a.viewportConstrain&&(r=Math.min(r,e+u.outerHeight()-c-this.margin),r=Math.max(r,e+this.margin),i=Math.min(i,t+u.outerWidth()-s-this.margin),i=Math.max(i,t+this.margin)),this.el.css({top:r-o.top,left:i-o.left})},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))}}),de=ue.extend({grid:null,rowCoords:null,colCoords:null,containerEl:null,bounds:null,constructor:function(e){this.grid=e},build:function(){this.rowCoords=this.grid.computeRowCoords(),this.colCoords=this.grid.computeColCoords(),this.computeBounds()},clear:function(){this.rowCoords=null,this.colCoords=null},getCell:function(e,t){var n,r,i,a=this.rowCoords,o=a.length,s=this.colCoords,c=s.length,l=null,u=null;if(this.inBounds(e,t)){for(n=0;n<o;n++)if(t>=(r=a[n]).top&&t<r.bottom){l=n;break}for(n=0;n<c;n++)if(e>=(r=s[n]).left&&e<r.right){u=n;break}if(null!==l&&null!==u)return(i=this.grid.getCell(l,u)).grid=this.grid,M.extend(i,a[l],s[u]),i}return null},computeBounds:function(){this.bounds=this.containerEl?t(this.containerEl):null},inBounds:function(e,t){var n=this.bounds;return!n||e>=n.left&&e<n.right&&t>=n.top&&t<n.bottom}}),he=ue.extend({coordMaps:null,constructor:function(e){this.coordMaps=e},build:function(){var e,t=this.coordMaps;for(e=0;e<t.length;e++)t[e].build()},getCell:function(e,t){var n,r=this.coordMaps,i=null;for(n=0;n<r.length&&!i;n++)i=r[n].getCell(e,t);return i},clear:function(){var e,t=this.coordMaps;for(e=0;e<t.length;e++)t[e].clear()}}),pe=O.DragListener=ue.extend({options:null,isListening:!1,isDragging:!1,originX:null,originY:null,mousemoveProxy:null,mouseupProxy:null,subjectEl:null,subjectHref:null,scrollEl:null,scrollBounds:null,scrollTopVel:null,scrollLeftVel:null,scrollIntervalId:null,scrollHandlerProxy:null,scrollSensitivity:30,scrollSpeed:200,scrollIntervalMs:50,constructor:function(e){e=e||{},this.options=e,this.subjectEl=e.subjectEl},mousedown:function(e){b(e)&&(e.preventDefault(),this.startListening(e),this.options.distance||this.startDrag(e))},startListening:function(e){var t;this.isListening||(e&&this.options.scroll&&((t=m(M(e.target))).is(window)||t.is(document)||(this.scrollEl=t,this.scrollHandlerProxy=H(U(this,"scrollHandler"),100),this.scrollEl.on("scroll",this.scrollHandlerProxy))),M(document).on("mousemove",this.mousemoveProxy=U(this,"mousemove")).on("mouseup",this.mouseupProxy=U(this,"mouseup")).on("selectstart",this.preventDefault),e?(this.originX=e.pageX,this.originY=e.pageY):(this.originX=0,this.originY=0),this.isListening=!0,this.listenStart(e))},listenStart:function(e){this.trigger("listenStart",e)},mousemove:function(e){var t,n=e.pageX-this.originX,r=e.pageY-this.originY;this.isDragging||(t=this.options.distance||1)*t<=n*n+r*r&&this.startDrag(e),this.isDragging&&this.drag(n,r,e)},startDrag:function(e){this.isListening||this.startListening(),this.isDragging||(this.isDragging=!0,this.dragStart(e))},dragStart:function(e){var t=this.subjectEl;this.trigger("dragStart",e),(this.subjectHref=t?t.attr("href"):null)&&t.removeAttr("href")},drag:function(e,t,n){this.trigger("drag",e,t,n),this.updateScroll(n)},mouseup:function(e){this.stopListening(e)},stopDrag:function(e){this.isDragging&&(this.stopScrolling(),this.dragStop(e),this.isDragging=!1)},dragStop:function(e){var t=this;this.trigger("dragStop",e),setTimeout(function(){t.subjectHref&&t.subjectEl.attr("href",t.subjectHref)},0)},stopListening:function(e){this.stopDrag(e),this.isListening&&(this.scrollEl&&(this.scrollEl.off("scroll",this.scrollHandlerProxy),this.scrollHandlerProxy=null),M(document).off("mousemove",this.mousemoveProxy).off("mouseup",this.mouseupProxy).off("selectstart",this.preventDefault),this.mousemoveProxy=null,this.mouseupProxy=null,this.isListening=!1,this.listenStop(e))},listenStop:function(e){this.trigger("listenStop",e)},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))},preventDefault:function(e){e.preventDefault()},computeScrollBounds:function(){var e=this.scrollEl;this.scrollBounds=e?g(e):null},updateScroll:function(e){var t,n,r,i,a=this.scrollSensitivity,o=this.scrollBounds,s=0,c=0;o&&(t=(a-(e.pageY-o.top))/a,n=(a-(o.bottom-e.pageY))/a,r=(a-(e.pageX-o.left))/a,i=(a-(o.right-e.pageX))/a,0<=t&&t<=1?s=t*this.scrollSpeed*-1:0<=n&&n<=1&&(s=n*this.scrollSpeed),0<=r&&r<=1?c=r*this.scrollSpeed*-1:0<=i&&i<=1&&(c=i*this.scrollSpeed)),this.setScrollVel(s,c)},setScrollVel:function(e,t){this.scrollTopVel=e,this.scrollLeftVel=t,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(U(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var e=this.scrollEl;this.scrollTopVel<0?e.scrollTop()<=0&&(this.scrollTopVel=0):0<this.scrollTopVel&&e.scrollTop()+e[0].clientHeight>=e[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?e.scrollLeft()<=0&&(this.scrollLeftVel=0):0<this.scrollLeftVel&&e.scrollLeft()+e[0].clientWidth>=e[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var e=this.scrollEl,t=this.scrollIntervalMs/1e3;this.scrollTopVel&&e.scrollTop(e.scrollTop()+this.scrollTopVel*t),this.scrollLeftVel&&e.scrollLeft(e.scrollLeft()+this.scrollLeftVel*t),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.stopScrolling()},stopScrolling:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.scrollStop())},scrollHandler:function(){this.scrollIntervalId||this.scrollStop()},scrollStop:function(){}}),me=pe.extend({coordMap:null,origCell:null,cell:null,coordAdjust:null,constructor:function(e,t){pe.prototype.constructor.call(this,t),this.coordMap=e},listenStart:function(e){var t,n,r,i,a,o,s,c,l,u,f,d=this.subjectEl;pe.prototype.listenStart.apply(this,arguments),this.computeCoords(),e?(r=n={left:e.pageX,top:e.pageY},d&&(t=g(d),u=r,f=t,r={left:Math.min(Math.max(u.left,f.left),f.right),top:Math.min(Math.max(u.top,f.top),f.bottom)}),this.origCell=this.getCell(r.left,r.top),d&&this.options.subjectCenter&&(this.origCell&&(s=this.origCell,c=t,t=(l={left:Math.max(s.left,c.left),right:Math.min(s.right,c.right),top:Math.max(s.top,c.top),bottom:Math.min(s.bottom,c.bottom)}).left<l.right&&l.top<l.bottom&&l||t),r={left:((o=t).left+o.right)/2,top:(o.top+o.bottom)/2}),this.coordAdjust=(a=n,{left:(i=r).left-a.left,top:i.top-a.top})):(this.origCell=null,this.coordAdjust=null)},computeCoords:function(){this.coordMap.build(),this.computeScrollBounds()},dragStart:function(e){var t;pe.prototype.dragStart.apply(this,arguments),(t=this.getCell(e.pageX,e.pageY))&&this.cellOver(t)},drag:function(e,t,n){var r;pe.prototype.drag.apply(this,arguments),ge(r=this.getCell(n.pageX,n.pageY),this.cell)||(this.cell&&this.cellOut(),r&&this.cellOver(r))},dragStop:function(){this.cellDone(),pe.prototype.dragStop.apply(this,arguments)},cellOver:function(e){this.cell=e,this.trigger("cellOver",e,ge(e,this.origCell),this.origCell)},cellOut:function(){this.cell&&(this.trigger("cellOut",this.cell),this.cellDone(),this.cell=null)},cellDone:function(){this.cell&&this.trigger("cellDone",this.cell)},listenStop:function(){pe.prototype.listenStop.apply(this,arguments),this.origCell=this.cell=null,this.coordMap.clear()},scrollStop:function(){pe.prototype.scrollStop.apply(this,arguments),this.computeCoords()},getCell:function(e,t){return this.coordAdjust&&(e+=this.coordAdjust.left,t+=this.coordAdjust.top),this.coordMap.getCell(e,t)}});function ge(e,t){return!e&&!t||!(!e||!t)&&(e.grid===t.grid&&e.row===t.row&&e.col===t.col)}var _e=ue.extend({options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,mouseY0:null,mouseX0:null,topDelta:null,leftDelta:null,mousemoveProxy:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(e,t){this.options=t=t||{},this.sourceEl=e,this.parentEl=t.parentEl?M(t.parentEl):e.parent()},start:function(e){this.isFollowing||(this.isFollowing=!0,this.mouseY0=e.pageY,this.mouseX0=e.pageX,this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),M(document).on("mousemove",this.mousemoveProxy=U(this,"mousemove")))},stop:function(e,t){var n=this,r=this.options.revertDuration;function i(){this.isAnimating=!1,n.destroyEl(),this.top0=this.left0=null,t&&t()}this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,M(document).off("mousemove",this.mousemoveProxy),e&&r&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:r,complete:i})):i())},getEl:function(){var e=this.el;return e||(this.sourceEl.width(),e=this.el=this.sourceEl.clone().css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}).appendTo(this.parentEl)),e},destroyEl:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var e,t;this.getEl(),null===this.top0&&(this.sourceEl.width(),e=this.sourceEl.offset(),t=this.el.offsetParent().offset(),this.top0=e.top-t.top,this.left0=e.left-t.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},mousemove:function(e){this.topDelta=e.pageY-this.mouseY0,this.leftDelta=e.pageX-this.mouseX0,this.isHidden||this.updatePosition()},hide:function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},show:function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())}}),be=ue.extend({view:null,isRTL:null,cellHtml:"<td/>",constructor:function(e){this.view=e,this.isRTL=e.opt("isRTL")},rowHtml:function(e,t){var n,r=this.getHtmlRenderer("cell",e),i="";for(t=t||0,n=0;n<this.colCnt;n++)i+=r(this.getCell(t,n));return"<tr>"+(i=this.bookendCells(i,e,t))+"</tr>"},bookendCells:function(e,t,n){var r=this.getHtmlRenderer("intro",t)(n||0),i=this.getHtmlRenderer("outro",t)(n||0),a=this.isRTL?i:r,o=this.isRTL?r:i;return"string"==typeof e?a+e+o:e.prepend(a).append(o)},getHtmlRenderer:function(e,t){var n,r,i,a,o,s=this.view;return n=e+"Html",t&&(r=t+((o=e).charAt(0).toUpperCase()+o.slice(1))+"Html"),r&&(a=s[r])?i=s:r&&(a=this[r])?i=this:(a=s[n])?i=s:(a=this[n])&&(i=this),"function"==typeof a?function(){return a.apply(i,arguments)||""}:function(){return a||""}}}),ve=O.Grid=be.extend({start:null,end:null,rowCnt:0,colCnt:0,rowData:null,colData:null,el:null,coordMap:null,elsByFill:null,externalDragStartProxy:null,colHeadFormat:null,eventTimeFormat:null,displayEventTime:null,displayEventEnd:null,cellDuration:null,largeUnit:null,constructor:function(){be.apply(this,arguments),this.coordMap=new de(this),this.elsByFill={},this.externalDragStartProxy=U(this,"externalDragStart")},computeColHeadFormat:function(){},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventTime:function(){return!0},computeDisplayEventEnd:function(){return!0},setRange:function(e){var t,n,r=this.view;this.start=e.start.clone(),this.end=e.end.clone(),this.rowData=[],this.colData=[],this.updateCells(),this.colHeadFormat=r.opt("columnFormat")||this.computeColHeadFormat(),this.eventTimeFormat=r.opt("eventTimeFormat")||r.opt("timeFormat")||this.computeEventTimeFormat(),null==(t=r.opt("displayEventTime"))&&(t=this.computeDisplayEventTime()),null==(n=r.opt("displayEventEnd"))&&(n=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=n},updateCells:function(){},rangeToSegs:function(e){},diffDates:function(e,t){return this.largeUnit?N(e,t,this.largeUnit):R(e,t)},getCell:function(e,t){var n;return null==t&&(e="number"==typeof e?(t=e%this.colCnt,Math.floor(e/this.colCnt)):(t=e.col,e.row)),n={row:e,col:t},M.extend(n,this.getRowData(e),this.getColData(t)),M.extend(n,this.computeCellRange(n)),n},computeCellRange:function(e){var t=this.computeCellDate(e);return{start:t,end:t.clone().add(this.cellDuration)}},computeCellDate:function(e){},getRowData:function(e){return this.rowData[e]||{}},getColData:function(e){return this.colData[e]||{}},getRowEl:function(e){},getColEl:function(e){},getCellDayEl:function(e){return this.getColEl(e.col)||this.getRowEl(e.row)},computeRowCoords:function(){var e,t,n,r=[];for(e=0;e<this.rowCnt;e++)n=(t=this.getRowEl(e)).offset().top,r.push({top:n,bottom:n+t.outerHeight()});return r},computeColCoords:function(){var e,t,n,r=[];for(e=0;e<this.colCnt;e++)n=(t=this.getColEl(e)).offset().left,r.push({left:n,right:n+t.outerWidth()});return r},setElement:function(e){var t=this;(this.el=e).on("mousedown",function(e){M(e.target).is(".fc-event-container *, .fc-more")||M(e.target).closest(".fc-popover").length||t.dayMousedown(e)}),this.bindSegHandlers(),this.bindGlobalHandlers()},removeElement:function(){this.unbindGlobalHandlers(),this.el.remove()},renderSkeleton:function(){},renderDates:function(){},destroyDates:function(){},bindGlobalHandlers:function(){M(document).on("dragstart sortstart",this.externalDragStartProxy)},unbindGlobalHandlers:function(){M(document).off("dragstart sortstart",this.externalDragStartProxy)},dayMousedown:function(e){var r,i,a=this,t=this.view,o=t.opt("selectable");new me(this.coordMap,{scroll:t.opt("dragScroll"),dragStart:function(){t.unselect()},cellOver:function(e,t,n){n&&(r=t?e:null,o&&((i=a.computeSelection(n,e))?a.renderSelection(i):h()))},cellOut:function(e){i=r=null,a.destroySelection(),p()},listenStop:function(e){r&&t.trigger("dayClick",a.getCellDayEl(r),r.start,e),i&&t.reportSelection(i,e),p()}}).mousedown(e)},renderRangeHelper:function(e,t){var n=this.fabricateHelperEvent(e,t);this.renderHelper(n,t)},fabricateHelperEvent:function(e,t){var n=t?I(t.event):{};return n.start=e.start.clone(),n.end=e.end?e.end.clone():null,n.allDay=null,this.view.calendar.normalizeEventRange(n),n.className=(n.className||[]).concat("fc-helper"),t||(n.editable=!1),n},renderHelper:function(e,t){},destroyHelper:function(){},renderSelection:function(e){this.renderHighlight(e)},destroySelection:function(){this.destroyHighlight()},computeSelection:function(e,t){var n,r=[e.start,e.end,t.start,t.end];return r.sort(j),n={start:r[0].clone(),end:r[3].clone()},this.view.calendar.isSelectionRangeAllowed(n)?n:null},renderHighlight:function(e){this.renderFill("highlight",this.rangeToSegs(e))},destroyHighlight:function(){this.destroyFill("highlight")},highlightSegClasses:function(){return["fc-highlight"]},renderFill:function(e,t){},destroyFill:function(e){var t=this.elsByFill[e];t&&(t.remove(),delete this.elsByFill[e])},renderFillSegEls:function(e,i){var t,a=this,o=this[e+"SegEl"],n="",s=[];if(i.length){for(t=0;t<i.length;t++)n+=this.fillSegHtml(e,i[t]);M(n).each(function(e,t){var n=i[e],r=M(t);o&&(r=o.call(a,n,r)),r&&(r=M(r)).is(a.fillSegTag)&&(n.el=r,s.push(n))})}return s},fillSegTag:"div",fillSegHtml:function(e,t){var n=this[e+"SegClasses"],r=this[e+"SegCss"],i=n?n.call(this,t):[],a=P(r?r.call(this,t):{});return"<"+this.fillSegTag+(i.length?' class="'+i.join(" ")+'"':"")+(a?' style="'+a+'"':"")+" />"},headHtml:function(){return'<div class="fc-row '+this.view.widgetHeaderClass+'"><table><thead>'+this.rowHtml("head")+"</thead></table></div>"},headCellHtml:function(e){var t=this.view,n=e.start;return'<th class="fc-day-header '+t.widgetHeaderClass+" fc-"+y[n.day()]+'">'+E(n.format(this.colHeadFormat))+"</th>"},bgCellHtml:function(e){var t=this.view,n=e.start,r=this.getDayClasses(n);return r.unshift("fc-day",t.widgetContentClass),'<td class="'+r.join(" ")+'" data-date="'+n.format("YYYY-MM-DD")+'"></td>'},getDayClasses:function(e){var t=this.view,n=t.calendar.getNow().stripTime(),r=["fc-"+y[e.day()]];return 1==t.intervalDuration.as("months")&&e.month()!=t.intervalStart.month()&&r.push("fc-other-month"),e.isSame(n,"day")?r.push("fc-today",t.highlightStateClass):e<n?r.push("fc-past"):r.push("fc-future"),r}});function ye(e){return G((e.source||{}).rendering,e.rendering)}function we(e,t){return e.eventStartMS-t.eventStartMS}function Ce(e,t){return e.eventStartMS-t.eventStartMS||t.eventDurationMS-e.eventDurationMS||t.event.allDay-e.event.allDay||(e.event.title||"").localeCompare(t.event.title)}ve.mixin({mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,isDraggingExternal:!1,segs:null,renderEvents:function(e){var t,n,r,i,a=this.eventsToSegs(e),o=[],s=[];for(t=0;t<a.length;t++)n=a[t],r=n.event,void 0,"background"===(i=ye(r))||"inverse-background"===i?o.push(n):s.push(n);o=this.renderBgSegs(o)||o,s=this.renderFgSegs(s)||s,this.segs=o.concat(s)},destroyEvents:function(){this.triggerSegMouseout(),this.destroyFgSegs(),this.destroyBgSegs(),this.segs=null},getEventSegs:function(){return this.segs||[]},renderFgSegs:function(e){},destroyFgSegs:function(){},renderFgSegEls:function(i,e){var t,a=this.view,n="",o=[];if(i.length){for(t=0;t<i.length;t++)n+=this.fgSegHtml(i[t],e);M(n).each(function(e,t){var n=i[e],r=a.resolveEventEl(n.event,M(t));r&&(r.data("fc-seg",n),n.el=r,o.push(n))})}return o},fgSegHtml:function(e,t){},renderBgSegs:function(e){return this.renderFill("bgEvent",e)},destroyBgSegs:function(){this.destroyFill("bgEvent")},bgEventSegEl:function(e,t){return this.view.resolveEventEl(e.event,t)},bgEventSegClasses:function(e){var t=e.event,n=t.source||{};return["fc-bgevent"].concat(t.className,n.className||[])},bgEventSegCss:function(e){var t=this.view,n=e.event,r=n.source||{};return{"background-color":n.backgroundColor||n.color||r.backgroundColor||r.color||t.opt("eventBackgroundColor")||t.opt("eventColor")}},businessHoursSegClasses:function(e){return["fc-nonbusiness","fc-bgevent"]},bindSegHandlers:function(){var r=this,n=this.view;M.each({mouseenter:function(e,t){r.triggerSegMouseover(e,t)},mouseleave:function(e,t){r.triggerSegMouseout(e,t)},click:function(e,t){return n.trigger("eventClick",this,e.event,t)},mousedown:function(e,t){M(t.target).is(".fc-resizer")&&n.isEventResizable(e.event)?r.segResizeMousedown(e,t,M(t.target).is(".fc-start-resizer")):n.isEventDraggable(e.event)&&r.segDragMousedown(e,t)}},function(e,n){r.el.on(e,".fc-event-container > *",function(e){var t=M(this).data("fc-seg");if(t&&!r.isDraggingSeg&&!r.isResizingSeg)return n.call(this,t,e)})})},triggerSegMouseover:function(e,t){this.mousedOverSeg||(this.mousedOverSeg=e,this.view.trigger("eventMouseover",e.el[0],e.event,t))},triggerSegMouseout:function(e,t){t=t||{},this.mousedOverSeg&&(e=e||this.mousedOverSeg,this.mousedOverSeg=null,this.view.trigger("eventMouseout",e.el[0],e.event,t))},segDragMousedown:function(r,e){var i,a=this,o=this.view,s=o.calendar,t=r.el,c=r.event,l=new _e(r.el,{parentEl:o.el,opacity:o.opt("dragOpacity"),revertDuration:o.opt("dragRevertDuration"),zIndex:2});new me(o.coordMap,{distance:5,scroll:o.opt("dragScroll"),subjectEl:t,subjectCenter:!0,listenStart:function(e){l.hide(),l.start(e)},dragStart:function(e){a.triggerSegMouseout(r,e),a.segDragStart(r,e),o.hideEvent(c)},cellOver:function(e,t,n){r.cell&&(n=r.cell),(i=a.computeEventDrop(n,e,c))&&!s.isEventRangeAllowed(i,c)&&(h(),i=null),i&&o.renderDrag(i,r)?l.hide():l.show(),t&&(i=null)},cellOut:function(){o.destroyDrag(),l.show(),i=null},cellDone:function(){p()},dragStop:function(e){l.stop(!i,function(){o.destroyDrag(),o.showEvent(c),a.segDragStop(r,e),i&&o.reportEventDrop(c,i,this.largeUnit,t,e)})},listenStop:function(){l.stop()}}).mousedown(e)},segDragStart:function(e,t){this.isDraggingSeg=!0,this.view.trigger("eventDragStart",e.el[0],e.event,t,{})},segDragStop:function(e,t){this.isDraggingSeg=!1,this.view.trigger("eventDragStop",e.el[0],e.event,t,{})},computeEventDrop:function(e,t,n){var r,i,a=this.view.calendar,o=e.start,s=t.start;return o.hasTime()===s.hasTime()?(r=this.diffDates(s,o),n.allDay&&S(r)?(i={start:n.start.clone(),end:a.getEventEnd(n),allDay:!1},a.normalizeEventRangeTimes(i)):i={start:n.start.clone(),end:n.end?n.end.clone():null,allDay:n.allDay},i.start.add(r),i.end&&i.end.add(r)):i={start:s.clone(),end:null,allDay:!s.hasTime()},i},applyDragOpacity:function(e){var n=this.view.opt("dragOpacity");null!=n&&e.each(function(e,t){t.style.opacity=n})},externalDragStart:function(e,t){var n,r,i=this.view;i.opt("droppable")&&(n=M((t?t.item:null)||e.target),r=i.opt("dropAccept"),(M.isFunction(r)?r.call(n[0],n):n.is(r))&&(this.isDraggingExternal||this.listenToExternalDrag(n,e,t)))},listenToExternalDrag:function(e,t,n){var r,i=this,a=function(e){var t,n,r,i,a=O.dataAttrPrefix;a&&(a+="-");(t=e.data(a+"event")||null)&&(t="object"==typeof t?M.extend({},t):{},null==(n=t.start)&&(n=t.time),r=t.duration,i=t.stick,delete t.start,delete t.time,delete t.duration,delete t.stick);null==n&&(n=e.data(a+"start"));null==n&&(n=e.data(a+"time"));null==r&&(r=e.data(a+"duration"));null==i&&(i=e.data(a+"stick"));return n=null!=n?$.duration(n):null,r=null!=r?$.duration(r):null,i=Boolean(i),{eventProps:t,startTime:n,duration:r,stick:i}}(e);new me(this.coordMap,{listenStart:function(){i.isDraggingExternal=!0},cellOver:function(e){(r=i.computeExternalDrop(e,a))?i.renderDrag(r):h()},cellOut:function(){r=null,i.destroyDrag(),p()},dragStop:function(){i.destroyDrag(),p(),r&&i.view.reportExternalDrop(a,r,e,t,n)},listenStop:function(){i.isDraggingExternal=!1}}).startDrag(t)},computeExternalDrop:function(e,t){var n={start:e.start.clone(),end:null};return t.startTime&&!n.start.hasTime()&&n.start.time(t.startTime),t.duration&&(n.end=n.start.clone().add(t.duration)),this.view.calendar.isExternalDropRangeAllowed(n,t.eventProps)?n:null},renderDrag:function(e,t){},destroyDrag:function(){},segResizeMousedown:function(r,e,i){var a,o=this,s=this.view,c=s.calendar,t=r.el,l=r.event,u=c.getEventEnd(l);new me(this.coordMap,{distance:5,scroll:s.opt("dragScroll"),subjectEl:t,dragStart:function(e){o.triggerSegMouseout(r,e),o.segResizeStart(r,e)},cellOver:function(e,t,n){(a=i?o.computeEventStartResize(n,e,l):o.computeEventEndResize(n,e,l))&&(c.isEventRangeAllowed(a,l)?a.start.isSame(l.start)&&a.end.isSame(u)&&(a=null):(h(),a=null)),a&&(s.hideEvent(l),o.renderEventResize(a,r))},cellOut:function(){a=null},cellDone:function(){o.destroyEventResize(),s.showEvent(l),p()},dragStop:function(e){o.segResizeStop(r,e),a&&s.reportEventResize(l,a,this.largeUnit,t,e)}}).mousedown(e)},segResizeStart:function(e,t){this.isResizingSeg=!0,this.view.trigger("eventResizeStart",e.el[0],e.event,t,{})},segResizeStop:function(e,t){this.isResizingSeg=!1,this.view.trigger("eventResizeStop",e.el[0],e.event,t,{})},computeEventStartResize:function(e,t,n){return this.computeEventResize("start",e,t,n)},computeEventEndResize:function(e,t,n){return this.computeEventResize("end",e,t,n)},computeEventResize:function(e,t,n,r){var i,a,o=this.view.calendar,s=this.diffDates(n[e],t[e]);return(i={start:r.start.clone(),end:o.getEventEnd(r),allDay:r.allDay}).allDay&&S(s)&&(i.allDay=!1,o.normalizeEventRangeTimes(i)),i[e].add(s),i.start.isBefore(i.end)||(a=r.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration,this.cellDuration&&this.cellDuration<a&&(a=this.cellDuration),"start"==e?i.start=i.end.clone().subtract(a):i.end=i.start.clone().add(a)),i},renderEventResize:function(e,t){},destroyEventResize:function(){},getEventTimeText:function(e,t,n){return null==t&&(t=this.eventTimeFormat),null==n&&(n=this.displayEventEnd),this.displayEventTime&&e.start.hasTime()?n&&e.end?this.view.formatRange(e,t):e.start.format(t):""},getSegClasses:function(e,t,n){var r=e.event,i=["fc-event",e.isStart?"fc-start":"fc-not-start",e.isEnd?"fc-end":"fc-not-end"].concat(r.className,r.source?r.source.className:[]);return t&&i.push("fc-draggable"),n&&i.push("fc-resizable"),i},getEventSkinCss:function(e){var t=this.view,n=e.source||{},r=e.color,i=n.color,a=t.opt("eventColor");return{"background-color":e.backgroundColor||r||n.backgroundColor||i||t.opt("eventBackgroundColor")||a,"border-color":e.borderColor||r||n.borderColor||i||t.opt("eventBorderColor")||a,color:e.textColor||n.textColor||t.opt("eventTextColor")}},eventsToSegs:function(e,t){var n,r=this.eventsToRanges(e),i=[];for(n=0;n<r.length;n++)i.push.apply(i,this.eventRangeToSegs(r[n],t));return i},eventsToRanges:function(e){var n=this,t=function(e){var t,n,r={};for(t=0;t<e.length;t++)n=e[t],(r[n._id]||(r[n._id]=[])).push(n);return r}(e),r=[];return M.each(t,function(e,t){t.length&&r.push.apply(r,"inverse-background"===ye(t[0])?n.eventsToInverseRanges(t):n.eventsToNormalRanges(t))}),r},eventsToNormalRanges:function(e){var t,n,r,i,a=this.view.calendar,o=[];for(t=0;t<e.length;t++)r=(n=e[t]).start.clone().stripZone(),i=a.getEventEnd(n).stripZone(),o.push({event:n,start:r,end:i,eventStartMS:+r,eventDurationMS:i-r});return o},eventsToInverseRanges:function(e){var t,n,r=this.view,i=r.start.clone().stripZone(),a=r.end.clone().stripZone(),o=this.eventsToNormalRanges(e),s=[],c=e[0],l=i;for(o.sort(we),t=0;t<o.length;t++)(n=o[t]).start>l&&s.push({event:c,start:l,end:n.start}),l=n.end;return l<a&&s.push({event:c,start:l,end:a}),s},eventRangeToSegs:function(e,t){var n,r,i;for(n=t?t(e):this.rangeToSegs(e),r=0;r<n.length;r++)(i=n[r]).event=e.event,i.eventStartMS=e.eventStartMS,i.eventDurationMS=e.eventDurationMS;return n}}),O.compareSegs=Ce,O.dataAttrPrefix="";var Ae=ve.extend({numbersVisible:!1,bottomCoordPadding:0,breakOnWeeks:null,cellDates:null,dayToCellOffsets:null,rowEls:null,dayEls:null,helperEls:null,constructor:function(){ve.apply(this,arguments),this.cellDuration=$.duration(1,"day")},renderDates:function(e){var t,n,r,i=this.view,a=this.rowCnt,o=a*this.colCnt,s="";for(t=0;t<a;t++)s+=this.dayRowHtml(t,e);for(this.el.html(s),this.rowEls=this.el.find(".fc-row"),this.dayEls=this.el.find(".fc-day"),n=0;n<o;n++)r=this.getCell(n),i.trigger("dayRender",null,r.start,this.dayEls.eq(n))},destroyDates:function(){this.destroySegPopover()},renderBusinessHours:function(){var e=this.view.calendar.getBusinessHoursEvents(!0),t=this.eventsToSegs(e);this.renderFill("businessHours",t,"bgevent")},dayRowHtml:function(e,t){var n=["fc-row","fc-week",this.view.widgetContentClass];return t&&n.push("fc-rigid"),'<div class="'+n.join(" ")+'"><div class="fc-bg"><table>'+this.rowHtml("day",e)+'</table></div><div class="fc-content-skeleton"><table>'+(this.numbersVisible?"<thead>"+this.rowHtml("number",e)+"</thead>":"")+"</table></div></div>"},dayCellHtml:function(e){return this.bgCellHtml(e)},computeColHeadFormat:function(){return 1<this.rowCnt?"ddd":1<this.colCnt?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("extraSmallTimeFormat")},computeDisplayEventEnd:function(){return 1==this.colCnt},updateCells:function(){var e,t,n,r;if(this.updateCellDates(),e=this.cellDates,this.breakOnWeeks){for(t=e[0].day(),r=1;r<e.length&&e[r].day()!=t;r++);n=Math.ceil(e.length/r)}else n=1,r=e.length;this.rowCnt=n,this.colCnt=r},updateCellDates:function(){for(var e=this.view,t=this.start.clone(),n=[],r=-1,i=[];t.isBefore(this.end);)e.isHiddenDay(t)?i.push(r+.5):(r++,i.push(r),n.push(t.clone())),t.add(1,"days");this.cellDates=n,this.dayToCellOffsets=i},computeCellDate:function(e){var t=this.colCnt,n=e.row*t+(this.isRTL?t-e.col-1:e.col);return this.cellDates[n].clone()},getRowEl:function(e){return this.rowEls.eq(e)},getColEl:function(e){return this.dayEls.eq(e)},getCellDayEl:function(e){return this.dayEls.eq(e.row*this.colCnt+e.col)},computeRowCoords:function(){var e=ve.prototype.computeRowCoords.call(this);return e[e.length-1].bottom+=this.bottomCoordPadding,e},rangeToSegs:function(e){var t,n,r,i,a,o,s,c,l,u,f=this.isRTL,d=this.rowCnt,h=this.colCnt,p=[];for(e=this.view.computeDayRange(e),t=this.dateToCellOffset(e.start),n=this.dateToCellOffset(e.end.subtract(1,"days")),r=0;r<d;r++)a=(i=r*h)+h-1,c=Math.max(i,t),l=Math.min(a,n),(c=Math.ceil(c))<=(l=Math.floor(l))&&(o=c===t,s=l===n,c-=i,l-=i,u={row:r,isStart:o,isEnd:s},f?(u.leftCol=h-l-1,u.rightCol=h-c-1):(u.leftCol=c,u.rightCol=l),p.push(u));return p},dateToCellOffset:function(e){var t=this.dayToCellOffsets,n=e.diff(this.start,"days");return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},renderDrag:function(e,t){if(this.renderHighlight(this.view.calendar.ensureVisibleEventRange(e)),t&&!t.el.closest(this.el).length)return this.renderRangeHelper(e,t),this.applyDragOpacity(this.helperEls),!0},destroyDrag:function(){this.destroyHighlight(),this.destroyHelper()},renderEventResize:function(e,t){this.renderHighlight(e),this.renderRangeHelper(e,t)},destroyEventResize:function(){this.destroyHighlight(),this.destroyHelper()},renderHelper:function(e,a){var o,s=[],t=this.eventsToSegs([e]);t=this.renderFgSegEls(t),o=this.renderSegRows(t),this.rowEls.each(function(e,t){var n,r=M(t),i=M('<div class="fc-helper-skeleton"><table/></div>');n=a&&a.row===e?a.el.position().top:r.find(".fc-content-skeleton tbody").position().top,i.css("top",n).find("table").append(o[e].tbodyEl),r.append(i),s.push(i[0])}),this.helperEls=M(s)},destroyHelper:function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},fillSegTag:"td",renderFill:function(e,t,n){var r,i,a,o=[];for(t=this.renderFillSegEls(e,t),r=0;r<t.length;r++)i=t[r],a=this.renderFillRow(e,i,n),this.rowEls.eq(i.row).append(a),o.push(a[0]);return this.elsByFill[e]=M(o),t},renderFillRow:function(e,t,n){var r,i,a=this.colCnt,o=t.leftCol,s=t.rightCol+1;return n=n||e.toLowerCase(),i=(r=M('<div class="fc-'+n+'-skeleton"><table><tr/></table></div>')).find("tr"),0<o&&i.append('<td colspan="'+o+'"/>'),i.append(t.el.attr("colspan",s-o)),s<a&&i.append('<td colspan="'+(a-s)+'"/>'),this.bookendCells(i,e),r}});function Se(e,t){var n,r;for(n=0;n<t.length;n++)if((r=t[n]).leftCol<=e.rightCol&&r.rightCol>=e.leftCol)return!0;return!1}function Te(e,t){return e.leftCol-t.leftCol}Ae.mixin({rowStructs:null,destroyEvents:function(){this.destroySegPopover(),ve.prototype.destroyEvents.apply(this,arguments)},getEventSegs:function(){return ve.prototype.getEventSegs.call(this).concat(this.popoverSegs||[])},renderBgSegs:function(e){var t=M.grep(e,function(e){return e.event.allDay});return ve.prototype.renderBgSegs.call(this,t)},renderFgSegs:function(e){var n;return e=this.renderFgSegEls(e),n=this.rowStructs=this.renderSegRows(e),this.rowEls.each(function(e,t){M(t).find(".fc-content-skeleton > table").append(n[e].tbodyEl)}),e},destroyFgSegs:function(){for(var e,t=this.rowStructs||[];e=t.pop();)e.tbodyEl.remove();this.rowStructs=null},renderSegRows:function(e){var t,n,r=[];for(t=this.groupSegRows(e),n=0;n<t.length;n++)r.push(this.renderSegRow(n,t[n]));return r},fgSegHtml:function(e,t){var n,r,i=this.view,a=e.event,o=i.isEventDraggable(a),s=!t&&a.allDay&&e.isStart&&i.isEventResizableFromStart(a),c=!t&&a.allDay&&e.isEnd&&i.isEventResizableFromEnd(a),l=this.getSegClasses(e,o,s||c),u=P(this.getEventSkinCss(a)),f="";return l.unshift("fc-day-grid-event","fc-h-event"),e.isStart&&(n=this.getEventTimeText(a))&&(f='<span class="fc-time">'+E(n)+"</span>"),r='<span class="fc-title">'+(E(a.title||"")||" ")+"</span>",'<a class="'+l.join(" ")+'"'+(a.url?' href="'+E(a.url)+'"':"")+(u?' style="'+u+'"':"")+'><div class="fc-content">'+(this.isRTL?r+" "+f:f+" "+r)+"</div>"+(s?'<div class="fc-resizer fc-start-resizer" />':"")+(c?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},renderSegRow:function(e,t){var n,r,i,a,o,s,c,l=this.colCnt,u=this.buildSegLevels(t),f=Math.max(1,u.length),d=M("<tbody/>"),h=[],p=[],m=[];function g(e){for(;i<e;)(c=(m[n-1]||[])[i])?c.attr("rowspan",parseInt(c.attr("rowspan")||1,10)+1):(c=M("<td/>"),a.append(c)),p[n][i]=c,m[n][i]=c,i++}for(n=0;n<f;n++){if(r=u[n],i=0,a=M("<tr/>"),h.push([]),p.push([]),m.push([]),r)for(o=0;o<r.length;o++){for(g((s=r[o]).leftCol),c=M('<td class="fc-event-container"/>').append(s.el),s.leftCol!=s.rightCol?c.attr("colspan",s.rightCol-s.leftCol+1):m[n][i]=c;i<=s.rightCol;)p[n][i]=c,h[n][i]=s,i++;a.append(c)}g(l),this.bookendCells(a,"eventSkeleton"),d.append(a)}return{row:e,tbodyEl:d,cellMatrix:p,segMatrix:h,segLevels:u,segs:t}},buildSegLevels:function(e){var t,n,r,i=[];for(e.sort(Ce),t=0;t<e.length;t++){for(n=e[t],r=0;r<i.length&&Se(n,i[r]);r++);(i[n.level=r]||(i[r]=[])).push(n)}for(r=0;r<i.length;r++)i[r].sort(Te);return i},groupSegRows:function(e){var t,n=[];for(t=0;t<this.rowCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].row].push(e[t]);return n}}),Ae.mixin({segPopover:null,popoverSegs:null,destroySegPopover:function(){this.segPopover&&this.segPopover.hide()},limitRows:function(e){var t,n,r=this.rowStructs||[];for(t=0;t<r.length;t++)this.unlimitRow(t),!1!==(n=!!e&&("number"==typeof e?e:this.computeRowLevelLimit(t)))&&this.limitRow(t,n)},computeRowLevelLimit:function(e){var t,n,r,i=this.rowEls.eq(e).height(),a=this.rowStructs[e].tbodyEl.children();function o(e,t){r=Math.max(r,M(t).outerHeight())}for(t=0;t<a.length;t++)if(n=a.eq(t).removeClass("fc-limited"),r=0,n.find("> td > :first-child").each(o),n.position().top+r>i)return t;return!1},limitRow:function(t,n){var r,e,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b=this,v=this.rowStructs[t],y=[],w=0;function C(e){for(;w<e;)r=b.getCell(t,w),(c=b.getCellSegs(r,n)).length&&(f=i[n-1][w],_=b.renderMoreLink(r,c),g=M("<div/>").append(_),f.append(g),y.push(g[0])),w++}if(n&&n<v.segLevels.length){for(e=v.segLevels[n-1],i=v.cellMatrix,a=v.tbodyEl.children().slice(n).addClass("fc-limited").get(),o=0;o<e.length;o++){for(C((s=e[o]).leftCol),u=[],l=0;w<=s.rightCol;)r=this.getCell(t,w),c=this.getCellSegs(r,n),u.push(c),l+=c.length,w++;if(l){for(d=(f=i[n-1][s.leftCol]).attr("rowspan")||1,h=[],p=0;p<u.length;p++)m=M('<td class="fc-more-cell"/>').attr("rowspan",d),c=u[p],r=this.getCell(t,s.leftCol+p),_=this.renderMoreLink(r,[s].concat(c)),g=M("<div/>").append(_),m.append(g),h.push(m[0]),y.push(m[0]);f.addClass("fc-limited").after(M(h)),a.push(f[0])}}C(this.colCnt),v.moreEls=M(y),v.limitedEls=M(a)}},unlimitRow:function(e){var t=this.rowStructs[e];t.moreEls&&(t.moreEls.remove(),t.moreEls=null),t.limitedEls&&(t.limitedEls.removeClass("fc-limited"),t.limitedEls=null)},renderMoreLink:function(c,l){var u=this,f=this.view;return M('<a class="fc-more"/>').text(this.getMoreLinkText(l.length)).on("click",function(e){var t=f.opt("eventLimitClick"),n=c.start,r=M(this),i=u.getCellDayEl(c),a=u.getCellSegs(c),o=u.resliceDaySegs(a,n),s=u.resliceDaySegs(l,n);"function"==typeof t&&(t=f.trigger("eventLimitClick",null,{date:n,dayEl:i,moreEl:r,segs:o,hiddenSegs:s},e)),"popover"===t?u.showSegPopover(c,r,o):"string"==typeof t&&f.calendar.zoomTo(n,t)})},showSegPopover:function(e,t,n){var r,i,a=this,o=this.view,s=t.parent();r=1==this.rowCnt?o.el:this.rowEls.eq(e.row),i={className:"fc-more-popover",content:this.renderSegPopoverContent(e,n),parentEl:this.el,top:r.offset().top,autoHide:!0,viewportConstrain:o.opt("popoverViewportConstrain"),hide:function(){a.segPopover.destroy(),a.segPopover=null,a.popoverSegs=null}},this.isRTL?i.right=s.offset().left+s.outerWidth()+1:i.left=s.offset().left-1,this.segPopover=new fe(i),this.segPopover.show()},renderSegPopoverContent:function(e,t){var n,r=this.view,i=r.opt("theme"),a=e.start.format(r.opt("dayPopoverFormat")),o=M('<div class="fc-header '+r.widgetHeaderClass+'"><span class="fc-close '+(i?"ui-icon ui-icon-closethick":"fc-icon fc-icon-x")+'"></span><span class="fc-title">'+E(a)+'</span><div class="fc-clear"/></div><div class="fc-body '+r.widgetContentClass+'"><div class="fc-event-container"></div></div>'),s=o.find(".fc-event-container");for(t=this.renderFgSegEls(t,!0),this.popoverSegs=t,n=0;n<t.length;n++)t[n].cell=e,s.append(t[n].el);return o},resliceDaySegs:function(e,t){var n=M.map(e,function(e){return e.event}),r=t.clone().stripTime(),i=r.clone().add(1,"days"),a={start:r,end:i};return(e=this.eventsToSegs(n,function(e){var t=v(e,a);return t?[t]:[]})).sort(Ce),e},getMoreLinkText:function(e){var t=this.view.opt("eventLimitText");return"function"==typeof t?t(e):"+"+e+" "+t},getCellSegs:function(e,t){for(var n,r=this.rowStructs[e.row].segMatrix,i=t||0,a=[];i<r.length;)(n=r[i][e.col])&&a.push(n),i++;return a}});var xe=ve.extend({slotDuration:null,snapDuration:null,minTime:null,maxTime:null,axisFormat:null,dayEls:null,slatEls:null,slatTops:null,helperEl:null,businessHourSegs:null,constructor:function(){ve.apply(this,arguments),this.processOptions()},renderDates:function(){this.el.html(this.renderHtml()),this.dayEls=this.el.find(".fc-day"),this.slatEls=this.el.find(".fc-slats tr")},renderBusinessHours:function(){var e=this.view.calendar.getBusinessHoursEvents();this.businessHourSegs=this.renderFill("businessHours",this.eventsToSegs(e),"bgevent")},renderHtml:function(){return'<div class="fc-bg"><table>'+this.rowHtml("slotBg")+'</table></div><div class="fc-slats"><table>'+this.slatRowHtml()+"</table></div>"},slotBgCellHtml:function(e){return this.bgCellHtml(e)},slatRowHtml:function(){for(var e,t,n,r=this.view,i=this.isRTL,a="",o=this.slotDuration.asMinutes()%15==0,s=$.duration(+this.minTime);s<this.maxTime;)t=(e=this.start.clone().time(s)).minutes(),n='<td class="fc-axis fc-time '+r.widgetContentClass+'" '+r.axisStyleAttr()+">"+(o&&t?"":"<span>"+E(e.format(this.axisFormat))+"</span>")+"</td>",a+="<tr "+(t?'class="fc-minor"':"")+">"+(i?"":n)+'<td class="'+r.widgetContentClass+'"/>'+(i?n:"")+"</tr>",s.add(this.slotDuration);return a},processOptions:function(){var e=this.view,t=e.opt("slotDuration"),n=e.opt("snapDuration");t=$.duration(t),n=n?$.duration(n):t,this.slotDuration=t,this.snapDuration=n,this.cellDuration=n,this.minTime=$.duration(e.opt("minTime")),this.maxTime=$.duration(e.opt("maxTime")),this.axisFormat=e.opt("axisFormat")||e.opt("smallTimeFormat")},computeColHeadFormat:function(){return 1<this.colCnt?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("noMeridiemTimeFormat")},computeDisplayEventEnd:function(){return!0},updateCells:function(){var e,t=this.view,n=[];for(e=this.start.clone();e.isBefore(this.end);)n.push({day:e.clone()}),e.add(1,"day"),e=t.skipHiddenDays(e);this.isRTL&&n.reverse(),this.colData=n,this.colCnt=n.length,this.rowCnt=Math.ceil((this.maxTime-this.minTime)/this.snapDuration)},computeCellDate:function(e){var t=this.computeSnapTime(e.row);return this.view.calendar.rezoneDate(e.day).time(t)},getColEl:function(e){return this.dayEls.eq(e)},computeSnapTime:function(e){return $.duration(this.minTime+this.snapDuration*e)},rangeToSegs:function(e){var t,n,r,i=this.colCnt,a=[];for(e={start:e.start.clone().stripZone(),end:e.end.clone().stripZone()},n=0;n<i;n++)(t=v(e,{start:(r=this.colData[n].day).clone().time(this.minTime),end:r.clone().time(this.maxTime)}))&&(t.col=n,a.push(t));return a},updateSize:function(e){this.computeSlatTops(),e&&this.updateSegVerticals()},computeRowCoords:function(){var e,t,n=this.el.offset().top,r=[];for(e=0;e<this.rowCnt;e++)t={top:n+this.computeTimeTop(this.computeSnapTime(e))},0<e&&(r[e-1].bottom=t.top),r.push(t);return t.bottom=t.top+this.computeTimeTop(this.computeSnapTime(e)),r},computeDateTop:function(e,t){return this.computeTimeTop($.duration(e.clone().stripZone()-t.clone().stripTime()))},computeTimeTop:function(e){var t,n,r,i=(e-this.minTime)/this.slotDuration;return i=Math.max(0,i),n=(i=Math.min(this.slatEls.length,i))-(t=Math.floor(i)),r=this.slatTops[t],n?r+(this.slatTops[t+1]-r)*n:r},computeSlatTops:function(){var n,r=[];this.slatEls.each(function(e,t){n=M(t).position().top,r.push(n)}),r.push(n+this.slatEls.last().outerHeight()),this.slatTops=r},renderDrag:function(e,t){if(t)return this.renderRangeHelper(e,t),this.applyDragOpacity(this.helperEl),!0;this.renderHighlight(this.view.calendar.ensureVisibleEventRange(e))},destroyDrag:function(){this.destroyHelper(),this.destroyHighlight()},renderEventResize:function(e,t){this.renderRangeHelper(e,t)},destroyEventResize:function(){this.destroyHelper()},renderHelper:function(e,t){var n,r,i,a,o=this.eventsToSegs([e]);for(o=this.renderFgSegEls(o),n=this.renderSegTable(o),r=0;r<o.length;r++)i=o[r],t&&t.col===i.col&&(a=t.el,i.el.css({left:a.css("left"),right:a.css("right"),"margin-left":a.css("margin-left"),"margin-right":a.css("margin-right")}));this.helperEl=M('<div class="fc-helper-skeleton"/>').append(n).appendTo(this.el)},destroyHelper:function(){this.helperEl&&(this.helperEl.remove(),this.helperEl=null)},renderSelection:function(e){this.view.opt("selectHelper")?this.renderRangeHelper(e):this.renderHighlight(e)},destroySelection:function(){this.destroyHelper(),this.destroyHighlight()},renderFill:function(e,t,n){var r,i,a,o,s,c,l,u,f,d;if(t.length){for(t=this.renderFillSegEls(e,t),r=this.groupSegCols(t),n=n||e.toLowerCase(),a=(i=M('<div class="fc-'+n+'-skeleton"><table><tr/></table></div>')).find("tr"),o=0;o<r.length;o++)if(s=r[o],c=M("<td/>").appendTo(a),s.length)for(l=M('<div class="fc-'+n+'-container"/>').appendTo(c),u=this.colData[o].day,f=0;f<s.length;f++)d=s[f],l.append(d.el.css({top:this.computeDateTop(d.start,u),bottom:-this.computeDateTop(d.end,u)}));this.bookendCells(a,e),this.el.append(i),this.elsByFill[e]=i}return t}});function ke(e){var t,n,r;if(e.sort(Ce),function(e){var t,n,r,i,a;for(t=0;t<e.length;t++)for(n=e[t],r=0;r<n.length;r++)for((i=n[r]).forwardSegs=[],a=t+1;a<e.length;a++)Ie(i,e[a],i.forwardSegs)}(t=function(e){var t,n,r,i=[];for(t=0;t<e.length;t++){for(n=e[t],r=0;r<i.length&&Ie(n,i[r]).length;r++);n.level=r,(i[r]||(i[r]=[])).push(n)}return i}(e)),n=t[0]){for(r=0;r<n.length;r++)Ee(n[r]);for(r=0;r<n.length;r++)De(n[r],0,0)}}function Ee(e){var t,n,r=e.forwardSegs,i=0;if(void 0===e.forwardPressure){for(t=0;t<r.length;t++)Ee(n=r[t]),i=Math.max(i,1+n.forwardPressure);e.forwardPressure=i}}function De(e,t,n){var r,i=e.forwardSegs;if(void 0===e.forwardCoord)for(i.length?(i.sort(Pe),De(i[0],t+1,n),e.forwardCoord=i[0].backwardCoord):e.forwardCoord=1,e.backwardCoord=e.forwardCoord-(e.forwardCoord-n)/(t+1),r=0;r<i.length;r++)De(i[r],0,e.forwardCoord)}function Ie(e,t,n){n=n||[];for(var r=0;r<t.length;r++)i=e,a=t[r],i.bottom>a.top&&i.top<a.bottom&&n.push(t[r]);var i,a;return n}function Pe(e,t){return t.forwardPressure-e.forwardPressure||(e.backwardCoord||0)-(t.backwardCoord||0)||Ce(e,t)}xe.mixin({eventSkeletonEl:null,renderFgSegs:function(e){return e=this.renderFgSegEls(e),this.el.append(this.eventSkeletonEl=M('<div class="fc-content-skeleton"/>').append(this.renderSegTable(e))),e},destroyFgSegs:function(e){this.eventSkeletonEl&&(this.eventSkeletonEl.remove(),this.eventSkeletonEl=null)},renderSegTable:function(e){var t,n,r,i,a,o,s=M("<table><tr/></table>"),c=s.find("tr");for(t=this.groupSegCols(e),this.computeSegVerticals(e),i=0;i<t.length;i++){for(ke(a=t[i]),o=M('<div class="fc-event-container"/>'),n=0;n<a.length;n++)(r=a[n]).el.css(this.generateSegPositionCss(r)),r.bottom-r.top<30&&r.el.addClass("fc-short"),o.append(r.el);c.append(M("<td/>").append(o))}return this.bookendCells(c,"eventSkeleton"),s},updateSegVerticals:function(){var e,t=(this.segs||[]).concat(this.businessHourSegs||[]);for(this.computeSegVerticals(t),e=0;e<t.length;e++)t[e].el.css(this.generateSegVerticalCss(t[e]))},computeSegVerticals:function(e){var t,n;for(t=0;t<e.length;t++)(n=e[t]).top=this.computeDateTop(n.start,n.start),n.bottom=this.computeDateTop(n.end,n.start)},fgSegHtml:function(e,t){var n,r,i,a=this.view,o=e.event,s=a.isEventDraggable(o),c=!t&&e.isStart&&a.isEventResizableFromStart(o),l=!t&&e.isEnd&&a.isEventResizableFromEnd(o),u=this.getSegClasses(e,s,c||l),f=P(this.getEventSkinCss(o));return u.unshift("fc-time-grid-event","fc-v-event"),a.isMultiDayEvent(o)?(e.isStart||e.isEnd)&&(n=this.getEventTimeText(e),r=this.getEventTimeText(e,"LT"),i=this.getEventTimeText(e,null,!1)):(n=this.getEventTimeText(o),r=this.getEventTimeText(o,"LT"),i=this.getEventTimeText(o,null,!1)),'<a class="'+u.join(" ")+'"'+(o.url?' href="'+E(o.url)+'"':"")+(f?' style="'+f+'"':"")+'><div class="fc-content">'+(n?'<div class="fc-time" data-start="'+E(i)+'" data-full="'+E(r)+'"><span>'+E(n)+"</span></div>":"")+(o.title?'<div class="fc-title">'+E(o.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(l?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},generateSegPositionCss:function(e){var t,n,r=this.view.opt("slotEventOverlap"),i=e.backwardCoord,a=e.forwardCoord,o=this.generateSegVerticalCss(e);return r&&(a=Math.min(1,i+2*(a-i))),n=this.isRTL?(t=1-a,i):(t=i,1-a),o.zIndex=e.level+1,o.left=100*t+"%",o.right=100*n+"%",r&&e.forwardPressure&&(o[this.isRTL?"marginLeft":"marginRight"]=20),o},generateSegVerticalCss:function(e){return{top:e.top,bottom:-e.bottom}},groupSegCols:function(e){var t,n=[];for(t=0;t<this.colCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].col].push(e[t]);return n}});var Me=O.View=ue.extend({type:null,name:null,title:null,calendar:null,options:null,coordMap:null,el:null,isDisplayed:!1,isSkeletonRendered:!1,isEventsRendered:!1,start:null,end:null,intervalStart:null,intervalEnd:null,intervalDuration:null,intervalUnit:null,isSelected:!1,scrollerEl:null,scrollTop:null,widgetHeaderClass:null,widgetContentClass:null,highlightStateClass:null,nextDayThreshold:null,isHiddenDayHash:null,documentMousedownProxy:null,constructor:function(e,t,n,r){this.calendar=e,this.type=this.name=t,this.options=n,this.intervalDuration=r||$.duration(1,"day"),this.nextDayThreshold=$.duration(this.opt("nextDayThreshold")),this.initThemingProps(),this.initHiddenDays(),this.documentMousedownProxy=U(this,"documentMousedown"),this.initialize()},initialize:function(){},opt:function(e){return this.options[e]},trigger:function(e,t){var n=this.calendar;return n.trigger.apply(n,[e,t||this].concat(Array.prototype.slice.call(arguments,2),[this]))},setDate:function(e){this.setRange(this.computeRange(e))},setRange:function(e){M.extend(this,e),this.updateTitle()},computeRange:function(e){var t,n,r=C(this.intervalDuration),i=e.clone().startOf(r),a=i.clone().add(this.intervalDuration);return/year|month|week|day/.test(r)?(i.stripTime(),a.stripTime()):(i.hasTime()||(i=this.calendar.rezoneDate(i)),a.hasTime()||(a=this.calendar.rezoneDate(a))),t=i.clone(),t=this.skipHiddenDays(t),n=a.clone(),{intervalUnit:r,intervalStart:i,intervalEnd:a,start:t,end:n=this.skipHiddenDays(n,-1,!0)}},computePrevDate:function(e){return this.massageCurrentDate(e.clone().startOf(this.intervalUnit).subtract(this.intervalDuration),-1)},computeNextDate:function(e){return this.massageCurrentDate(e.clone().startOf(this.intervalUnit).add(this.intervalDuration))},massageCurrentDate:function(e,t){return this.intervalDuration.as("days")<=1&&this.isHiddenDay(e)&&(e=this.skipHiddenDays(e,t)).startOf("day"),e},updateTitle:function(){this.title=this.computeTitle()},computeTitle:function(){return this.formatRange({start:this.intervalStart,end:this.intervalEnd},this.opt("titleFormat")||this.computeTitleFormat(),this.opt("titleRangeSeparator"))},computeTitleFormat:function(){return"year"==this.intervalUnit?"YYYY":"month"==this.intervalUnit?this.opt("monthYearFormat"):1<this.intervalDuration.as("days")?"ll":"LL"},formatRange:function(e,t,n){var r=e.end;return r.hasTime()||(r=r.clone().subtract(1)),ae(e.start,r,t,n,this.opt("isRTL"))},setElement:function(e){this.el=e,this.bindGlobalHandlers()},removeElement:function(){this.clear(),this.isSkeletonRendered&&(this.destroySkeleton(),this.isSkeletonRendered=!1),this.unbindGlobalHandlers(),this.el.remove()},display:function(e){var t=null;this.isDisplayed&&(t=this.queryScroll()),this.clear(),this.setDate(e),this.render(),this.updateSize(),this.renderBusinessHours(),this.isDisplayed=!0,t=this.computeInitialScroll(t),this.forceScroll(t),this.triggerRender()},clear:function(){this.isDisplayed&&(this.unselect(),this.clearEvents(),this.triggerDestroy(),this.destroyBusinessHours(),this.destroy(),this.isDisplayed=!1)},render:function(){this.isSkeletonRendered||(this.renderSkeleton(),this.isSkeletonRendered=!0),this.renderDates()},destroy:function(){this.destroyDates()},renderSkeleton:function(){},destroySkeleton:function(){},renderDates:function(){},destroyDates:function(){},renderBusinessHours:function(){},destroyBusinessHours:function(){},triggerRender:function(){this.trigger("viewRender",this,this,this.el)},triggerDestroy:function(){this.trigger("viewDestroy",this,this,this.el)},bindGlobalHandlers:function(){M(document).on("mousedown",this.documentMousedownProxy)},unbindGlobalHandlers:function(){M(document).off("mousedown",this.documentMousedownProxy)},initThemingProps:function(){var e=this.opt("theme")?"ui":"fc";this.widgetHeaderClass=e+"-widget-header",this.widgetContentClass=e+"-widget-content",this.highlightStateClass=e+"-state-highlight"},updateSize:function(e){var t;e&&(t=this.queryScroll()),this.updateHeight(),this.updateWidth(),e&&this.setScroll(t)},updateWidth:function(){},updateHeight:function(){var e=this.calendar;this.setHeight(e.getSuggestedViewHeight(),e.isHeightAuto())},setHeight:function(e,t){},computeScrollerHeight:function(e){var t,n,r=this.scrollerEl;return(t=this.el.add(r)).css({position:"relative",left:-1}),n=this.el.outerHeight()-r.height(),t.css({position:"",left:""}),e-n},computeInitialScroll:function(e){return 0},queryScroll:function(){if(this.scrollerEl)return this.scrollerEl.scrollTop()},setScroll:function(e){if(this.scrollerEl)return this.scrollerEl.scrollTop(e)},forceScroll:function(e){var t=this;this.setScroll(e),setTimeout(function(){t.setScroll(e)},0)},displayEvents:function(e){var t=this.queryScroll();this.clearEvents(),this.renderEvents(e),this.isEventsRendered=!0,this.setScroll(t),this.triggerEventRender()},clearEvents:function(){this.isEventsRendered&&(this.triggerEventDestroy(),this.destroyEvents(),this.isEventsRendered=!1)},renderEvents:function(e){},destroyEvents:function(){},triggerEventRender:function(){this.renderedEventSegEach(function(e){this.trigger("eventAfterRender",e.event,e.event,e.el)}),this.trigger("eventAfterAllRender")},triggerEventDestroy:function(){this.renderedEventSegEach(function(e){this.trigger("eventDestroy",e.event,e.event,e.el)})},resolveEventEl:function(e,t){var n=this.trigger("eventRender",e,e,t);return!1===n?t=null:n&&!0!==n&&(t=M(n)),t},showEvent:function(e){this.renderedEventSegEach(function(e){e.el.css("visibility","")},e)},hideEvent:function(e){this.renderedEventSegEach(function(e){e.el.css("visibility","hidden")},e)},renderedEventSegEach:function(e,t){var n,r=this.getEventSegs();for(n=0;n<r.length;n++)t&&r[n].event._id!==t._id||r[n].el&&e.call(this,r[n])},getEventSegs:function(){return[]},isEventDraggable:function(e){var t=e.source||{};return G(e.startEditable,t.startEditable,this.opt("eventStartEditable"),e.editable,t.editable,this.opt("editable"))},reportEventDrop:function(e,t,n,r,i){var a=this.calendar,o=a.mutateEvent(e,t,n);this.triggerEventDrop(e,o.dateDelta,function(){o.undo(),a.reportEventChange()},r,i),a.reportEventChange()},triggerEventDrop:function(e,t,n,r,i){this.trigger("eventDrop",r[0],e,t,n,i,{})},reportExternalDrop:function(e,t,n,r,i){var a,o,s=e.eventProps;s&&(a=M.extend({},s,t),o=this.calendar.renderEvent(a,e.stick)[0]),this.triggerExternalDrop(o,t,n,r,i)},triggerExternalDrop:function(e,t,n,r,i){this.trigger("drop",n[0],t.start,r,i),e&&this.trigger("eventReceive",null,e)},renderDrag:function(e,t){},destroyDrag:function(){},isEventResizableFromStart:function(e){return this.opt("eventResizableFromStart")&&this.isEventResizable(e)},isEventResizableFromEnd:function(e){return this.isEventResizable(e)},isEventResizable:function(e){var t=e.source||{};return G(e.durationEditable,t.durationEditable,this.opt("eventDurationEditable"),e.editable,t.editable,this.opt("editable"))},reportEventResize:function(e,t,n,r,i){var a=this.calendar,o=a.mutateEvent(e,t,n);this.triggerEventResize(e,o.durationDelta,function(){o.undo(),a.reportEventChange()},r,i),a.reportEventChange()},triggerEventResize:function(e,t,n,r,i){this.trigger("eventResize",r[0],e,t,n,i,{})},select:function(e,t){this.unselect(t),this.renderSelection(e),this.reportSelection(e,t)},renderSelection:function(e){},reportSelection:function(e,t){this.isSelected=!0,this.trigger("select",null,e.start,e.end,t)},unselect:function(e){this.isSelected&&(this.isSelected=!1,this.destroySelection(),this.trigger("unselect",null,e))},destroySelection:function(){},documentMousedown:function(e){var t;this.isSelected&&this.opt("unselectAuto")&&b(e)&&((t=this.opt("unselectCancel"))&&M(e.target).closest(t).length||this.unselect(e))},initHiddenDays:function(){var e,t=this.opt("hiddenDays")||[],n=[],r=0;for(!1===this.opt("weekends")&&t.push(0,6),e=0;e<7;e++)(n[e]=-1!==M.inArray(e,t))||r++;if(!r)throw"invalid hiddenDays";this.isHiddenDayHash=n},isHiddenDay:function(e){return $.isMoment(e)&&(e=e.day()),this.isHiddenDayHash[e]},skipHiddenDays:function(e,t,n){var r=e.clone();for(t=t||1;this.isHiddenDayHash[(r.day()+(n?t:0)+7)%7];)r.add(t,"days");return r},computeDayRange:function(e){var t,n=e.start.clone().stripTime(),r=e.end,i=null;return r&&(i=r.clone().stripTime(),(t=+r.time())&&t>=this.nextDayThreshold&&i.add(1,"days")),(!r||i<=n)&&(i=n.clone().add(1,"days")),{start:n,end:i}},isMultiDayEvent:function(e){var t=this.computeDayRange(e);return 1<t.end.diff(t.start,"days")}}),$e=O.Calendar=O.CalendarBase=ue.extend({dirDefaults:null,langDefaults:null,overrides:null,options:null,viewSpecCache:null,view:null,header:null,constructor:function(e,t){var r=this;r.initOptions(t||{});var n=this.options;r.render=function(){l?y()&&(A(),w()):function(){n.theme?"ui":"fc",e.addClass("fc"),n.isRTL?e.addClass("fc-rtl"):e.addClass("fc-ltr");n.theme?e.addClass("ui-widget"):e.addClass("fc-unthemed");l=M("<div class='fc-view-container'/>").prependTo(e),s=r.header=new je(r,n),(c=s.render())&&e.prepend(c);w(n.defaultView),n.handleWindowResize&&(d=H(T,n.windowResizeDelay),M(window).resize(d))}()},r.destroy=function(){u&&u.removeElement();s.destroy(),l.remove(),e.removeClass("fc fc-ltr fc-rtl fc-unthemed ui-widget"),d&&M(window).unbind("resize",d)},r.refetchEvents=function(){E(),u.clearEvents(),D(),k()},r.reportEvents=function(e){v=e,x()},r.reportEventChange=function(){x()},r.rerenderEvents=x,r.changeView=w,r.select=function(e,t){e=r.moment(e),t=t?r.moment(t):e.hasTime()?e.clone().add(r.defaultTimedEventDuration):e.clone().add(r.defaultAllDayEventDuration);u.select({start:e,end:t})},r.unselect=function(){u&&u.unselect()},r.prev=function(){h=u.computePrevDate(h),w()},r.next=function(){h=u.computeNextDate(h),w()},r.prevYear=function(){h.add(-1,"years"),w()},r.nextYear=function(){h.add(1,"years"),w()},r.today=function(){h=r.getNow(),w()},r.gotoDate=function(e){h=r.moment(e),w()},r.incrementDate=function(e){h.add($.duration(e)),w()},r.zoomTo=function(e,t){var n;t=t||"day",n=r.getViewSpec(t)||r.getUnitViewSpec(t),h=e,w(n?n.type:null)},r.getDate=function(){return h.clone()},r.getCalendar=function(){return r},r.getView=function(){return u},r.option=function(e,t){if(void 0===t)return n[e];"height"!=e&&"contentHeight"!=e&&"aspectRatio"!=e||(n[e]=t,C(!0))},r.trigger=function(e,t){if(n[e])return n[e].apply(t||g,Array.prototype.slice.call(arguments,2))};var i=I(Ge(n.lang));n.monthNames&&(i._months=n.monthNames);n.monthNamesShort&&(i._monthsShort=n.monthNamesShort);n.dayNames&&(i._weekdays=n.dayNames);n.dayNamesShort&&(i._weekdaysShort=n.dayNamesShort);if(null!=n.firstDay){var a=I(i._week);a.dow=n.firstDay,i._week=a}i._fullCalendar_weekCalc=(o=n.weekNumberCalculation,"function"==typeof o?o:"local"===o?o:"iso"===o||"ISO"===o?"ISO":void 0),r.defaultAllDayEventDuration=$.duration(n.defaultAllDayEventDuration),r.defaultTimedEventDuration=$.duration(n.defaultTimedEventDuration),r.moment=function(){var e;return"local"===n.timezone?(e=O.moment.apply(null,arguments)).hasTime()&&e.local():e="UTC"===n.timezone?O.moment.utc.apply(null,arguments):O.moment.parseZone.apply(null,arguments),"_locale"in e?e._locale=i:e._lang=i,e},r.getIsAmbigTimezone=function(){return"local"!==n.timezone&&"UTC"!==n.timezone},r.rezoneDate=function(e){return r.moment(e.toArray())},r.getNow=function(){var e=n.now;return"function"==typeof e&&(e=e()),r.moment(e)},r.getEventEnd=function(e){return e.end?e.end.clone():r.getDefaultEventEnd(e.allDay,e.start)},r.getDefaultEventEnd=function(e,t){var n=t.clone();return e?n.stripTime().add(r.defaultAllDayEventDuration):n.add(r.defaultTimedEventDuration),r.getIsAmbigTimezone()&&n.stripZone(),n},r.humanizeDuration=function(e){return(e.locale||e.lang).call(e,n.lang).humanize()},function(g){var v=this;v.isFetchNeeded=function(e,t){return!_||e.clone().stripZone()<_.clone().stripZone()||t.clone().stripZone()>b.clone().stripZone()},v.fetchEvents=function(e,t){_=e,b=t,u=[];var n=++c,r=a.length;l=r;for(var i=0;i<r;i++)f(a[i],n)},v.addEventSource=function(e){var t=r(e);t&&(a.push(t),l++,f(t,c))},v.removeEventSource=function(t){a=M.grep(a,function(e){return!i(e,t)}),u=M.grep(u,function(e){return!i(e.source,t)}),s(u)},v.updateEvent=function(e){e.start=v.moment(e.start),e.end?e.end=v.moment(e.end):e.end=null;k(e,(t=e,r={},M.each(t,function(e,t){var n;h(e)&&void 0!==t&&(n=t,/undefined|null|boolean|number|string/.test(M.type(n)))&&(r[e]=t)}),r)),s(u);var t,r},v.renderEvent=function(e,t){var n,r,i,a=A(e);if(a){for(n=x(a),r=0;r<n.length;r++)(i=n[r]).source||(t&&(o.events.push(i),i.source=o),u.push(i));return s(u),n}return[]},v.removeEvents=function(e){var t,n;null==e?e=function(){return!0}:M.isFunction(e)||(t=e+"",e=function(e){return e._id==t});for(u=M.grep(u,e,!0),n=0;n<a.length;n++)M.isArray(a[n].events)&&(a[n].events=M.grep(a[n].events,e,!0));s(u)},v.clientEvents=y,v.mutateEvent=k,v.normalizeEventRange=m,v.normalizeEventRangeTimes=S,v.ensureVisibleEventRange=T;var _,b,e=v.trigger,t=v.getView,s=v.reportEvents,o={events:[]},a=[o],c=0,l=0,n=0,u=[];function f(a,o){!function e(t,n){var r;var i=O.sourceFetchers;var a;for(r=0;r<i.length;r++){if(!0===(a=i[r].call(v,t,_.clone(),b.clone(),g.timezone,n)))return;if("object"==typeof a)return void e(a,n)}var o=t.events;if(o)M.isFunction(o)?(w(),o.call(v,_.clone(),b.clone(),g.timezone,function(e){n(e),C()})):M.isArray(o)?n(o):n();else{var s=t.url;if(s){var c,l=t.success,u=t.error,f=t.complete;c=M.isFunction(t.data)?t.data():t.data;var d=M.extend({},c||{}),h=G(t.startParam,g.startParam),p=G(t.endParam,g.endParam),m=G(t.timezoneParam,g.timezoneParam);h&&(d[h]=_.format()),p&&(d[p]=b.format()),g.timezone&&"local"!=g.timezone&&(d[m]=g.timezone),w(),M.ajax(M.extend({},Be,t,{data:d,success:function(e){e=e||[];var t=F(l,this,arguments);M.isArray(t)&&(e=t),n(e)},error:function(){F(u,this,arguments),n()},complete:function(){F(f,this,arguments),C()}}))}else n()}}(a,function(e){var t,n,r,i=M.isArray(a.events);if(o==c){if(e)for(t=0;t<e.length;t++)n=e[t],(r=i?n:A(n,a))&&u.push.apply(u,x(r));--l||s(u)}})}function r(e){var t,n,r=O.sourceNormalizers;if(M.isFunction(e)||M.isArray(e)?t={events:e}:"string"==typeof e?t={url:e}:"object"==typeof e&&(t=M.extend({},e)),t){for(t.className?"string"==typeof t.className&&(t.className=t.className.split(/\s+/)):t.className=[],M.isArray(t.events)&&(t.origArray=t.events,t.events=M.map(t.events,function(e){return A(e,t)})),n=0;n<r.length;n++)r[n].call(v,t);return t}}function i(e,t){return e&&t&&d(e)==d(t)}function d(e){return("object"==typeof e?e.origArray||e.googleCalendarId||e.url||e.events:null)||e}function h(e){return!/^_|^(id|allDay|start|end)$/.test(e)}function y(t){return M.isFunction(t)?M.grep(u,t):null!=t?(t+="",M.grep(u,function(e){return e._id==t})):u}function w(){n++||e("loading",null,!0,t())}function C(){--n||e("loading",null,!1,t())}function A(e,t){var n,r,i,a={};if(g.eventDataTransform&&(e=g.eventDataTransform(e)),t&&t.eventDataTransform&&(e=t.eventDataTransform(e)),M.extend(a,e),t&&(a.source=t),a._id=e._id||(void 0===e.id?"_fc"+Ue++:e.id+""),e.className?"string"==typeof e.className?a.className=e.className.split(/\s+/):a.className=e.className:a.className=[],n=e.start||e.date,r=e.end,L(n)&&(n=$.duration(n)),L(r)&&(r=$.duration(r)),e.dow||$.isDuration(n)||$.isDuration(r))a.start=n?$.duration(n):null,a.end=r?$.duration(r):null,a._recurring=!0;else{if(n&&!(n=v.moment(n)).isValid())return!1;r&&((r=v.moment(r)).isValid()||(r=null)),void 0===(i=e.allDay)&&(i=G(t?t.allDayDefault:void 0,g.allDayDefault)),p(n,r,i,a)}return a}function p(e,t,n,r){r.start=e,r.end=t,r.allDay=n,m(r),He(r)}function m(e){S(e),e.end&&!e.end.isAfter(e.start)&&(e.end=null),e.end||(g.forceEventDuration?e.end=v.getDefaultEventEnd(e.allDay,e.start):e.end=null)}function S(e){null==e.allDay&&(e.allDay=!(e.start.hasTime()||e.end&&e.end.hasTime())),e.allDay?(e.start.stripTime(),e.end&&e.end.stripTime()):(e.start.hasTime()||(e.start=v.rezoneDate(e.start)),e.end&&!e.end.hasTime()&&(e.end=v.rezoneDate(e.end)))}function T(e){var t;return e.end||(null==(t=e.allDay)&&(t=!e.start.hasTime()),(e=M.extend({},e)).end=v.getDefaultEventEnd(t,e.start)),e}function x(e,t,n){var r,i,a,o,s,c,l,u,f,d=[];if(t=t||_,n=n||b,e)if(e._recurring){if(i=e.dow)for(r={},a=0;a<i.length;a++)r[i[a]]=!0;for(o=t.clone().stripTime();o.isBefore(n);)r&&!r[o.day()]||(s=e.start,c=e.end,l=o.clone(),u=null,s&&(l=l.time(s)),c&&(u=o.clone().time(c)),f=M.extend({},e),p(l,u,!s&&!c,f),d.push(f)),o.add(1,"days")}else d.push(e);return d}function k(e,i,a){var t,n,r,o,s,c={};function l(e,t){return a?N(e,t,a):i.allDay?(n=e,r=t,$.duration({days:n.clone().stripTime().diff(r.clone().stripTime(),"days")})):R(e,t);var n,r}return(i=i||{}).start||(i.start=e.start.clone()),void 0===i.end&&(i.end=e.end?e.end.clone():null),null==i.allDay&&(i.allDay=e.allDay),m(i),m(t={start:e._start.clone(),end:e._end?e._end.clone():v.getDefaultEventEnd(e._allDay,e._start),allDay:i.allDay}),n=null!==e._end&&null===i.end,r=l(i.start,t.start),o=i.end?l(i.end,t.end).subtract(r):null,M.each(i,function(e,t){h(e)&&void 0!==t&&(c[e]=t)}),s=function(e,i,a,o,s,c){var l=v.getIsAmbigTimezone(),u=[];o&&!o.valueOf()&&(o=null);s&&!s.valueOf()&&(s=null);return M.each(e,function(e,t){var n,r;n={start:t.start.clone(),end:t.end?t.end.clone():null,allDay:t.allDay},M.each(c,function(e){n[e]=t[e]}),m(r={start:t._start,end:t._end,allDay:a}),i?r.end=null:s&&!r.end&&(r.end=v.getDefaultEventEnd(r.allDay,r.start)),o&&(r.start.add(o),r.end&&r.end.add(o)),s&&r.end.add(s),l&&!r.allDay&&(o||s)&&(r.start.stripZone(),r.end&&r.end.stripZone()),M.extend(t,c,r),He(t),u.push(function(){M.extend(t,n),He(t)})}),function(){for(var e=0;e<u.length;e++)u[e]()}}(y(e._id),n,i.allDay,r,o,c),{dateDelta:r,durationDelta:o,undo:s}}function E(e){var t,n=g.businessHours,r=v.getView();return n&&(t=M.extend({},{className:"fc-nonbusiness",start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},"object"==typeof n?n:{})),t?(e&&(t.start=null,t.end=null),x(A(t),r.start,r.end)):[]}function D(e,t){var n=t.source||{},r=G(t.constraint,n.constraint,g.eventConstraint),i=G(t.overlap,n.overlap,g.eventOverlap);return P(e=T(e),r,i,t)}function I(e){return P(e,g.selectConstraint,g.selectOverlap)}function P(e,t,n,r){var i,a,o,s,c,l,u,f,d,h,p,m,g,_,b;if((e=M.extend({},e)).start=e.start.clone().stripZone(),e.end=e.end.clone().stripZone(),null!=t){for(i="businessHours"!==(p=t)?"object"!=typeof p?y(p):x(A(p)):E(),a=!1,s=0;s<i.length;s++)if(u=i[s],f=e,void 0,d=u.start.clone().stripZone(),h=v.getEventEnd(u).stripZone(),f.start>=d&&f.end<=h){a=!0;break}if(!a)return!1}for(o=v.getPeerEvents(r,e),s=0;s<o.length;s++)if(c=o[s],g=e,void 0,_=(m=c).start.clone().stripZone(),b=v.getEventEnd(m).stripZone(),g.start<b&&g.end>_){if(!1===n)return!1;if("function"==typeof n&&!n(c,r))return!1;if(r){if(!1===(l=G(c.overlap,(c.source||{}).overlap)))return!1;if("function"==typeof l&&!l(r,c))return!1}}return!0}M.each((g.events?[g.events]:[]).concat(g.eventSources||[]),function(e,t){var n=r(t);n&&a.push(n)}),v.getBusinessHoursEvents=E,v.isEventRangeAllowed=D,v.isSelectionRangeAllowed=I,v.isExternalDropRangeAllowed=function(e,t){var n,r;t&&(n=M.extend({},t,e),r=x(A(n))[0]);return r?D(e,r):I(e=T(e))},v.getEventCache=function(){return u}}.call(r,n);var o;var s,c,l,u,f,d,h,p=r.isFetchNeeded,m=r.fetchEvents,g=e[0],_={},b=0,v=[];h=null!=n.defaultDate?r.moment(n.defaultDate):r.getNow();function y(){return e.is(":visible")}function w(e){b++,u&&e&&u.type!==e&&(s.deactivateButton(u.type),E(),u.removeElement(),u=r.view=null),!u&&e&&((u=r.view=_[e]||(_[e]=r.instantiateView(e))).setElement(M("<div class='fc-view fc-"+e+"-view' />").appendTo(l)),s.activateButton(e)),u&&(h=u.massageCurrentDate(h),u.isDisplayed&&h.isWithin(u.intervalStart,u.intervalEnd)||y()&&(E(),u.display(h),D(),s.updateTitle(u.title),r.getNow().isWithin(u.intervalStart,u.intervalEnd)?s.disableButton("today"):s.enableButton("today"),!n.lazyFetching||p(u.start,u.end)?k():x())),D(),b--}function C(e){if(y())return e&&S(),b++,u.updateSize(!0),b--,!0}function A(){y()&&S()}function S(){f="number"==typeof n.contentHeight?n.contentHeight:"number"==typeof n.height?n.height-(c?c.outerHeight(!0):0):Math.round(l.width()/Math.max(n.aspectRatio,.5))}function T(e){!b&&e.target===window&&u.start&&C(!0)&&u.trigger("windowResize",g)}function x(){y()&&(E(),u.displayEvents(v),D())}function k(){m(u.start,u.end)}function E(){l.css({width:"100%",height:l.height(),overflow:"hidden"})}function D(){l.css({width:"",height:"",overflow:""})}r.getSuggestedViewHeight=function(){return void 0===f&&A(),f},r.isHeightAuto=function(){return"auto"===n.contentHeight||"auto"===n.height}},initOptions:function(e){var t,n,r,i,a,o;o={views:(i=e).views||{}},M.each(i,function(n,e){"views"!=n&&(M.isPlainObject(e)&&!/(time|duration|interval)$/i.test(n)&&-1==M.inArray(n,s)?(a=null,M.each(e,function(e,t){/^(month|week|day|default|basic(Week|Day)?|agenda(Week|Day)?)$/.test(e)?(o.views[e]||(o.views[e]={}),o.views[e][n]=t):(a||(a={}),a[e]=t)}),a&&(o[n]=a)):o[n]=e)}),t=(e=o).lang,(n=Oe[t])||(t=$e.defaults.lang,n=Oe[t]||{}),r=G(e.isRTL,n.isRTL,$e.defaults.isRTL)?$e.rtlDefaults:{},this.dirDefaults=r,this.langDefaults=n,this.overrides=e,this.options=d($e.defaults,r,n,e),Fe(this.options),this.viewSpecCache={}},getViewSpec:function(e){var t=this.viewSpecCache;return t[e]||(t[e]=this.buildViewSpec(e))},getUnitViewSpec:function(e){var t,n,r;if(-1!=M.inArray(e,w))for(t=this.header.getViewsWithButtons(),M.each(O.views,function(e){t.push(e)}),n=0;n<t.length;n++)if((r=this.getViewSpec(t[n]))&&r.singleUnit==e)return r},buildViewSpec:function(e){for(var t,n,r,i,a,o,s=this.overrides.views||{},c=[],l=[],u=e;u&&!t;)n=f[u]||{},r=s[u]||{},i=i||r.duration||n.duration,u=r.type||n.type,"function"==typeof n?(t=n,c.unshift(t.defaults||{})):c.unshift(n),l.unshift(r);if(t)return o={class:t,type:e},i&&((i=$.duration(i)).valueOf()||(i=null)),i&&(a=C(o.duration=i),1===i.as(a)&&(o.singleUnit=a,l.unshift(s[a]||{}))),o.defaults=d.apply(null,c),o.overrides=d.apply(null,l),this.buildViewSpecOptions(o),this.buildViewSpecButtonText(o,e),o},buildViewSpecOptions:function(e){e.options=d($e.defaults,e.defaults,this.dirDefaults,this.langDefaults,this.overrides,e.overrides),Fe(e.options)},buildViewSpecButtonText:function(n,r){function e(e){var t=e.buttonText||{};return t[r]||(n.singleUnit?t[n.singleUnit]:null)}n.buttonTextOverride=e(this.overrides)||n.overrides.buttonText,n.buttonTextDefault=e(this.langDefaults)||e(this.dirDefaults)||n.defaults.buttonText||e($e.defaults)||(n.duration?this.humanizeDuration(n.duration):null)||r},instantiateView:function(e){var t=this.getViewSpec(e);return new t.class(this,e,t.options,t.duration)},isValidViewType:function(e){return Boolean(this.getViewSpec(e))}});$e.defaults={titleRangeSeparator:" — ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},buttonIcons:{prev:"left-single-arrow",next:"right-single-arrow",prevYear:"left-double-arrow",nextYear:"right-double-arrow"},theme:!1,themeButtonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e",prevYear:"seek-prev",nextYear:"seek-next"},dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:200},$e.englishDefaults={dayPopoverFormat:"dddd, MMMM D"},$e.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var Oe=O.langs={};O.datepickerLang=function(e,t,n){var r=Oe[e]||(Oe[e]={});r.isRTL=n.isRTL,r.weekNumberTitle=n.weekHeader,M.each(Re,function(e,t){r[e]=t(n)}),M.datepicker&&(M.datepicker.regional[t]=M.datepicker.regional[e]=n,M.datepicker.regional.en=M.datepicker.regional[""],M.datepicker.setDefaults(n))},O.lang=function(e,t){var n,r;n=Oe[e]||(Oe[e]={}),t&&(n=Oe[e]=d(n,t)),r=Ge(e),M.each(Ne,function(e,t){null==n[e]&&(n[e]=t(r,n))}),$e.defaults.lang=e};var Re={buttonText:function(e){return{prev:D(e.prevText),next:D(e.nextText),today:D(e.currentText)}},monthYearFormat:function(e){return e.showMonthAfterYear?"YYYY["+e.yearSuffix+"] MMMM":"MMMM YYYY["+e.yearSuffix+"]"}},Ne={dayOfMonthFormat:function(e,t){var n=e.longDateFormat("l");return n=n.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),t.isRTL?n+=" ddd":n="ddd "+n,n},mediumTimeFormat:function(e){return e.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(e){return e.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(e){return e.longDateFormat("LT").replace(/\s*a$/i,"")}},Le={smallDayDateFormat:function(e){return e.isRTL?"D dd":"dd D"},weekFormat:function(e){return e.isRTL?"w[ "+e.weekNumberTitle+"]":"["+e.weekNumberTitle+" ]w"},smallWeekFormat:function(e){return e.isRTL?"w["+e.weekNumberTitle+"]":"["+e.weekNumberTitle+"]w"}};function Fe(n){M.each(Le,function(e,t){null==n[e]&&(n[e]=t(n))})}function Ge(e){var t=$.localeData||$.langData;return t.call($,e)||t.call($,"en")}function je(d,h){this.render=function(){var e=h.header;if(p=h.theme?"ui":"fc",e)return t=M("<div class='fc-toolbar'/>").append(n("left")).append(n("right")).append(n("center")).append('<div class="fc-clear"/>')},this.destroy=function(){t.remove()},this.updateTitle=function(e){t.find("h2").text(e)},this.activateButton=function(e){t.find(".fc-"+e+"-button").addClass(p+"-state-active")},this.deactivateButton=function(e){t.find(".fc-"+e+"-button").removeClass(p+"-state-active")},this.disableButton=function(e){t.find(".fc-"+e+"-button").attr("disabled","disabled").addClass(p+"-state-disabled")},this.enableButton=function(e){t.find(".fc-"+e+"-button").removeAttr("disabled").removeClass(p+"-state-disabled")},this.getViewsWithButtons=function(){return m};var p,t=M(),m=[];function n(e){var n=M('<div class="fc-'+e+'"/>'),t=h.header[e];return t&&M.each(t.split(" "),function(e){var t,u=M(),f=!0;M.each(this.split(","),function(e,t){var n,r,i,a,o,s,c,l;"title"==t?(u=u.add(M("<h2> </h2>")),f=!1):((n=d.getViewSpec(t))?(r=function(){d.changeView(t)},m.push(t),i=n.buttonTextOverride,a=n.buttonTextDefault):d[t]&&(r=function(){d[t]()},i=(d.overrides.buttonText||{})[t],a=h.buttonText[t]),r&&(o=h.themeButtonIcons[t],s=h.buttonIcons[t],c=i?E(i):o&&h.theme?"<span class='ui-icon ui-icon-"+o+"'></span>":s&&!h.theme?"<span class='fc-icon fc-icon-"+s+"'></span>":E(a),l=M('<button type="button" class="'+["fc-"+t+"-button",p+"-button",p+"-state-default"].join(" ")+'">'+c+"</button>").click(function(){l.hasClass(p+"-state-disabled")||(r(),(l.hasClass(p+"-state-active")||l.hasClass(p+"-state-disabled"))&&l.removeClass(p+"-state-hover"))}).mousedown(function(){l.not("."+p+"-state-active").not("."+p+"-state-disabled").addClass(p+"-state-down")}).mouseup(function(){l.removeClass(p+"-state-down")}).hover(function(){l.not("."+p+"-state-active").not("."+p+"-state-disabled").addClass(p+"-state-hover")},function(){l.removeClass(p+"-state-hover").removeClass(p+"-state-down")}),u=u.add(l)))}),f&&u.first().addClass(p+"-corner-left").end().last().addClass(p+"-corner-right").end(),1<u.length?(t=M("<div/>"),f&&t.addClass("fc-button-group"),t.append(u),n.append(t)):n.append(u)}),n}}O.lang("en",$e.englishDefaults),O.sourceNormalizers=[];var Be={dataType:"json",cache:!(O.sourceFetchers=[])},Ue=1;function He(e){e._allDay=e.allDay,e._start=e.start.clone(),e._end=e.end?e.end.clone():null}$e.prototype.getPeerEvents=function(e,t){var n,r,i=this.getEventCache(),a=[];for(n=0;n<i.length;n++)r=i[n],e&&e._id===r._id||a.push(r);return a};var We=f.basic=Me.extend({dayGrid:null,dayNumbersVisible:!1,weekNumbersVisible:!1,weekNumberWidth:null,headRowEl:null,initialize:function(){this.dayGrid=new Ae(this),this.coordMap=this.dayGrid.coordMap},setRange:function(e){Me.prototype.setRange.call(this,e),this.dayGrid.breakOnWeeks=/year|month|week/.test(this.intervalUnit),this.dayGrid.setRange(e)},computeRange:function(e){var t=Me.prototype.computeRange.call(this,e);return/year|month/.test(t.intervalUnit)&&(t.start.startOf("week"),t.start=this.skipHiddenDays(t.start),t.end.weekday()&&(t.end.add(1,"week").startOf("week"),t.end=this.skipHiddenDays(t.end,-1,!0))),t},render:function(){this.dayNumbersVisible=1<this.dayGrid.rowCnt,this.weekNumbersVisible=this.opt("weekNumbers"),this.dayGrid.numbersVisible=this.dayNumbersVisible||this.weekNumbersVisible,this.el.addClass("fc-basic-view").html(this.renderHtml()),this.headRowEl=this.el.find("thead .fc-row"),this.scrollerEl=this.el.find(".fc-day-grid-container"),this.dayGrid.coordMap.containerEl=this.scrollerEl,this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.renderDates(this.hasRigidRows())},destroy:function(){this.dayGrid.destroyDates(),this.dayGrid.removeElement()},renderBusinessHours:function(){this.dayGrid.renderBusinessHours()},renderHtml:function(){return'<table><thead class="fc-head"><tr><td class="'+this.widgetHeaderClass+'">'+this.dayGrid.headHtml()+'</td></tr></thead><tbody class="fc-body"><tr><td class="'+this.widgetContentClass+'"><div class="fc-day-grid-container"><div class="fc-day-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){if(this.weekNumbersVisible)return'<th class="fc-week-number '+this.widgetHeaderClass+'" '+this.weekNumberStyleAttr()+"><span>"+E(this.opt("weekNumberTitle"))+"</span></th>"},numberIntroHtml:function(e){if(this.weekNumbersVisible)return'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"><span>"+this.dayGrid.getCell(e,0).start.format("w")+"</span></td>"},dayIntroHtml:function(){if(this.weekNumbersVisible)return'<td class="fc-week-number '+this.widgetContentClass+'" '+this.weekNumberStyleAttr()+"></td>"},introHtml:function(){if(this.weekNumbersVisible)return'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"></td>"},numberCellHtml:function(e){var t,n=e.start;return this.dayNumbersVisible?((t=this.dayGrid.getDayClasses(n)).unshift("fc-day-number"),'<td class="'+t.join(" ")+'" data-date="'+n.format()+'">'+n.date()+"</td>"):"<td/>"},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var e=this.opt("eventLimit");return e&&"number"!=typeof e},updateWidth:function(){this.weekNumbersVisible&&(this.weekNumberWidth=e(this.el.find(".fc-week-number")))},setHeight:function(e,t){var n,r=this.opt("eventLimit");c(this.scrollerEl),a(this.headRowEl),this.dayGrid.destroySegPopover(),r&&"number"==typeof r&&this.dayGrid.limitRows(r),n=this.computeScrollerHeight(e),this.setGridHeight(n,t),r&&"number"!=typeof r&&this.dayGrid.limitRows(r),!t&&o(this.scrollerEl,n)&&(i(this.headRowEl,l(this.scrollerEl)),n=this.computeScrollerHeight(e),this.scrollerEl.height(n))},setGridHeight:function(e,t){t?r(this.dayGrid.rowEls):n(this.dayGrid.rowEls,e,!0)},renderEvents:function(e){this.dayGrid.renderEvents(e),this.updateHeight()},getEventSegs:function(){return this.dayGrid.getEventSegs()},destroyEvents:function(){this.dayGrid.destroyEvents()},renderDrag:function(e,t){return this.dayGrid.renderDrag(e,t)},destroyDrag:function(){this.dayGrid.destroyDrag()},renderSelection:function(e){this.dayGrid.renderSelection(e)},destroySelection:function(){this.dayGrid.destroySelection()}}),qe=f.month=We.extend({computeRange:function(e){var t,n=We.prototype.computeRange.call(this,e);return this.isFixedWeeks()&&(t=Math.ceil(n.end.diff(n.start,"weeks",!0)),n.end.add(6-t,"weeks")),n},setGridHeight:function(e,t){(t=t||"variable"===this.opt("weekMode"))&&(e*=this.rowCnt/6),n(this.dayGrid.rowEls,e,!t)},isFixedWeeks:function(){var e=this.opt("weekMode");return e?"fixed"===e:this.opt("fixedWeekCount")}});qe.duration={months:1},qe.defaults={fixedWeekCount:!0},f.basicWeek={type:"basic",duration:{weeks:1}},f.basicDay={type:"basic",duration:{days:1}};return(f.agenda=Me.extend({timeGrid:null,dayGrid:null,axisWidth:null,noScrollRowEls:null,bottomRuleEl:null,bottomRuleHeight:null,initialize:function(){this.timeGrid=new xe(this),this.opt("allDaySlot")?(this.dayGrid=new Ae(this),this.coordMap=new he([this.dayGrid.coordMap,this.timeGrid.coordMap])):this.coordMap=this.timeGrid.coordMap},setRange:function(e){Me.prototype.setRange.call(this,e),this.timeGrid.setRange(e),this.dayGrid&&this.dayGrid.setRange(e)},render:function(){this.el.addClass("fc-agenda-view").html(this.renderHtml()),this.scrollerEl=this.el.find(".fc-time-grid-container"),this.timeGrid.coordMap.containerEl=this.scrollerEl,this.timeGrid.setElement(this.el.find(".fc-time-grid")),this.timeGrid.renderDates(),this.bottomRuleEl=M('<hr class="fc-divider '+this.widgetHeaderClass+'"/>').appendTo(this.timeGrid.el),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.renderDates(),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight()),this.noScrollRowEls=this.el.find(".fc-row:not(.fc-scroller *)")},destroy:function(){this.timeGrid.destroyDates(),this.timeGrid.removeElement(),this.dayGrid&&(this.dayGrid.destroyDates(),this.dayGrid.removeElement())},renderBusinessHours:function(){this.timeGrid.renderBusinessHours(),this.dayGrid&&this.dayGrid.renderBusinessHours()},renderHtml:function(){return'<table><thead class="fc-head"><tr><td class="'+this.widgetHeaderClass+'">'+this.timeGrid.headHtml()+'</td></tr></thead><tbody class="fc-body"><tr><td class="'+this.widgetContentClass+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+this.widgetHeaderClass+'"/>':"")+'<div class="fc-time-grid-container"><div class="fc-time-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){var e;return this.opt("weekNumbers")?(e=this.timeGrid.getCell(0).start.format(this.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"><span>"+E(e)+"</span></th>"):'<th class="fc-axis '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"></th>"},dayIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"><span>"+(this.opt("allDayHtml")||E(this.opt("allDayText")))+"</span></td>"},slotBgIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"></td>"},introHtml:function(){return'<td class="fc-axis" '+this.axisStyleAttr()+"></td>"},axisStyleAttr:function(){return null!==this.axisWidth?'style="width:'+this.axisWidth+'px"':""},updateSize:function(e){this.timeGrid.updateSize(e),Me.prototype.updateSize.call(this,e)},updateWidth:function(){this.axisWidth=e(this.el.find(".fc-axis"))},setHeight:function(e,t){var n,r;null===this.bottomRuleHeight&&(this.bottomRuleHeight=this.bottomRuleEl.outerHeight()),this.bottomRuleEl.hide(),this.scrollerEl.css("overflow",""),c(this.scrollerEl),a(this.noScrollRowEls),this.dayGrid&&(this.dayGrid.destroySegPopover(),(n=this.opt("eventLimit"))&&"number"!=typeof n&&(n=5),n&&this.dayGrid.limitRows(n)),t||(r=this.computeScrollerHeight(e),o(this.scrollerEl,r)?(i(this.noScrollRowEls,l(this.scrollerEl)),r=this.computeScrollerHeight(e),this.scrollerEl.height(r)):(this.scrollerEl.height(r).css("overflow","hidden"),this.bottomRuleEl.show()))},computeInitialScroll:function(){var e=$.duration(this.opt("scrollTime")),t=this.timeGrid.computeTimeTop(e);return(t=Math.ceil(t))&&t++,t},renderEvents:function(e){var t,n=[],r=[];for(t=0;t<e.length;t++)e[t].allDay?n.push(e[t]):r.push(e[t]);this.timeGrid.renderEvents(r),this.dayGrid&&this.dayGrid.renderEvents(n),this.updateHeight()},getEventSegs:function(){return this.timeGrid.getEventSegs().concat(this.dayGrid?this.dayGrid.getEventSegs():[])},destroyEvents:function(){this.timeGrid.destroyEvents(),this.dayGrid&&this.dayGrid.destroyEvents()},renderDrag:function(e,t){return e.start.hasTime()?this.timeGrid.renderDrag(e,t):this.dayGrid?this.dayGrid.renderDrag(e,t):void 0},destroyDrag:function(){this.timeGrid.destroyDrag(),this.dayGrid&&this.dayGrid.destroyDrag()},renderSelection:function(e){e.start.hasTime()||e.end.hasTime()?this.timeGrid.renderSelection(e):this.dayGrid&&this.dayGrid.renderSelection(e)},destroySelection:function(){this.timeGrid.destroySelection(),this.dayGrid&&this.dayGrid.destroySelection()}})).defaults={allDaySlot:!0,allDayText:"all-day",scrollTime:"06:00:00",slotDuration:"00:30:00",minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0},f.agendaWeek={type:"agenda",duration:{weeks:1}},f.agendaDay={type:"agenda",duration:{days:1}},O}),angular.module("ui.calendar",[]).constant("uiCalendarConfig",{calendars:{}}).controller("uiCalendarCtrl",["$scope","$locale",function(i,r){var s=i.eventSources,t=i.calendarWatchEvent?i.calendarWatchEvent:angular.noop,n=1;this.eventFingerprint=function(e){return e._id||(e._id=n++),""+e._id+(e.id||"")+(e.title||"")+(e.url||"")+(+e.start||"")+(+e.end||"")+(e.allDay||"")+(e.className||"")+t({event:e})||""};var a=1,o=1;this.sourceFingerprint=function(e){var t=""+(e.__id||(e.__id=a++)),n=angular.isObject(e)&&e.events;return n&&(t=t+"-"+(n.__id||(n.__id=o++))),t},this.allEvents=function(){for(var e=[],t=0,n=s.length;t<n;t++){var r=s[t];if(angular.isArray(r))e.push(r);else if(angular.isObject(r)&&angular.isArray(r.events)){var i={};for(var a in r)"_id"!==a&&"events"!==a&&(i[a]=r[a]);for(var o=0;o<r.events.length;o++)angular.extend(r.events[o],i);e.push(r.events)}}return Array.prototype.concat.apply([],e)},this.changeWatcher=function(o,f){var d,t=function(){for(var e,t,n=angular.isFunction(o)?o():o,r=[],i=0,a=n.length;i<a;i++)t=n[i],e=f(t),p[e]=t,r.push(e);return r},h=function(e,t){var n,r,i=[],a={};for(n=0,r=t.length;n<r;n++)a[t[n]]=!0;for(n=0,r=e.length;n<r;n++)a[e[n]]||i.push(e[n]);return i},p={};return d={subscribe:function(e,n){e.$watch(t,function(e,t){!(n&&!1===n(e,t))&&function(e,t){var n,r,i,a,o={},s=h(t,e);for(n=0,r=s.length;n<r;n++){var c=s[n];i=p[c],delete p[c];var l=f(i);l===c?d.onRemoved(i):(o[l]=c,d.onChanged(i))}var u=h(e,t);for(n=0,r=u.length;n<r;n++)a=u[n],i=p[a],o[a]||d.onAdded(i)}(e,t)},!0)},onAdded:angular.noop,onChanged:angular.noop,onRemoved:angular.noop}},this.getFullCalendarConfig=function(e,t){var r={};return angular.extend(r,t),angular.extend(r,e),angular.forEach(r,function(e,t){var n;"function"==typeof e&&(r[t]=(n=r[t],function(){if(i.$root.$$phase)return n.apply(this,arguments);var e=arguments,t=this;return i.$root.$apply(function(){return n.apply(t,e)})}))}),r},this.getLocaleConfig=function(e){if(e.lang&&!e.useNgLocale)return{};var t=function(e){var t,n;for(n in t=[],e)t[n]=e[n];return t},n=r.DATETIME_FORMATS;return{monthNames:t(n.MONTH),monthNamesShort:t(n.SHORTMONTH),dayNames:t(n.DAY),dayNamesShort:t(n.SHORTDAY)}}}]).directive("uiCalendar",["uiCalendarConfig",function(u){return{restrict:"A",scope:{eventSources:"=ngModel",calendarWatchEvent:"&"},controller:"uiCalendarCtrl",link:function(a,e,o,s){var i,c=a.eventSources,t=!1,n=s.changeWatcher(c,s.sourceFingerprint),r=s.changeWatcher(s.allEvents,s.eventFingerprint),l=null;a.destroy=function(){i&&i.fullCalendar&&i.fullCalendar("destroy"),i=o.calendar?u.calendars[o.calendar]=$(e).html(""):$(e).html("")},a.init=function(){i.fullCalendar(l),o.calendar&&(u.calendars[o.calendar]=i)},n.onAdded=function(e){i.fullCalendar("addEventSource",e),t=!0},n.onRemoved=function(e){i.fullCalendar("removeEventSource",e),t=!0},n.onChanged=function(e){i.fullCalendar("refetchEvents"),t=!0},r.onAdded=function(e){i.fullCalendar("renderEvent",e,!!e.stick)},r.onRemoved=function(e){i.fullCalendar("removeEvents",e._id)},r.onChanged=function(e){for(var t=i.fullCalendar("clientEvents",e._id),n=0;n<t.length;n++){var r=t[n];r=angular.extend(r,e),i.fullCalendar("updateEvent",r)}},n.subscribe(a),r.subscribe(a,function(){if(!0===t)return t=!1}),a.$watch(function(){var e,t=o.uiCalendar?a.$parent.$eval(o.uiCalendar):{};e=s.getFullCalendarConfig(t,u);var n=s.getLocaleConfig(e);angular.extend(n,e),l={eventSources:c},angular.extend(l,n),l.calendars=null;var r={};for(var i in l)"eventSources"!==i&&(r[i]=l[i]);return JSON.stringify(r)},function(e,t){a.destroy(),a.init()})}}}]),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("angular")):"function"==typeof define&&define.amd?define(["exports","angular"],t):t((e=e||self)["@uirouter/angularjs"]={},e.angular)}(this,function(m,e){"use strict";kr.$inject=["state"];var t=angular,A=e&&e.module?e:t,r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r};function l(n){return function e(){if(arguments.length>=n.length)return n.apply(this,arguments);var t=Array.prototype.slice.call(arguments);return e.bind.apply(e,r([this],t))}}function n(){var n=arguments,r=n.length-1;return function(){for(var e=r,t=n[r].apply(this,arguments);e--;)t=n[e].call(this,t);return t}}function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.apply(null,[].slice.call(arguments).reverse())}var v=function(t){return function(e){return e&&e[t]}},_=l(function(e,t,n){return n&&n[e]===t}),S=function(e){return c.apply(null,e.split(".").map(v))},f=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}};function i(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.apply(null,e)&&r.apply(null,e)}}function a(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.apply(null,e)||r.apply(null,e)}}var u=function(n){return function(e){return e.reduce(function(e,t){return e&&!!n(t)},!0)}},d=function(n){return function(e){return e.reduce(function(e,t){return e||!!n(t)},!1)}},h=function(t){return function(e){return null!=e&&e.constructor===t||e instanceof t}},o=function(t){return function(e){return t===e}},p=function(e){return function(){return e}};function s(t,n){return function(e){return e[t].apply(e,n)}}function g(n){return function(e){for(var t=0;t<n.length;t++)if(n[t][0](e))return n[t][1](e)}}var b=Object.prototype.toString,y=function(t){return function(e){return typeof e===t}},w=y("undefined"),T=f(w),C=function(e){return null===e},x=a(C,w),k=y("function"),E=y("number"),D=y("string"),I=function(e){return null!==e&&"object"==typeof e},P=Array.isArray,M=function(e){return"[object Date]"===b.call(e)},$=function(e){return"[object RegExp]"===b.call(e)};function O(e){if(P(e)&&e.length){var t=e.slice(0,-1),n=e.slice(-1);return!(t.filter(f(D)).length||n.filter(f(k)).length)}return k(e)}var R=i(I,c(v("then"),k)),N=function(r,e){return e.reduce(function(e,t){return e[t]=(n=r+"."+t+"()",function(){throw new Error("No implementation for "+n+". The framework specific code did not implement this method.")}),e;var n},{})},L={$q:void 0,$injector:void 0},F=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r},G="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||void 0,j=G.angular||{},B=j.fromJson||JSON.parse.bind(JSON),U=j.toJson||JSON.stringify.bind(JSON),H=j.forEach||function(t,n,e){if(P(t))return t.forEach(n,e);Object.keys(t).forEach(function(e){return n(t[e],e)})},W=Object.assign||Ie,q=j.equals||Pe;function z(e){return e}function V(){}function Y(t,r,n,e,i){void 0===i&&(i=!1);var a=function(e){return t()[e].bind(n())};return(e=e||Object.keys(t())).reduce(function(e,t){var n;return e[t]=i?(n=t,function(){return r[n]=a(n),r[n].apply(null,arguments)}):a(t),e},r)}var K=function(e,t){return W(Object.create(e),t)},Q=l(X);function X(e,t){return-1!==e.indexOf(t)}var Z=l(J);function J(e,t){var n=e.indexOf(t);return 0<=n&&e.splice(n,1),e}var ee=l(te);function te(e,t){return e.push(t),t}var ne=function(t){return t.slice().forEach(function(e){"function"==typeof e&&e(),Z(t,e)})};function re(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=W.apply(void 0,F([{}],t.reverse()));return W(r,oe(e||{},Object.keys(r)))}var ie=function(e,t){return W(e,t)};function ae(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}function oe(e,t){var n={};for(var r in e)-1!==t.indexOf(r)&&(n[r]=e[r]);return n}function se(n,e){return Object.keys(n).filter(f(Q(e))).reduce(function(e,t){return e[t]=n[t],e},{})}function ce(e,t){return de(e,v(t))}function le(e,n){var t=P(e),r=t?[]:{},i=t?function(e){return r.push(e)}:function(e,t){return r[t]=e};return H(e,function(e,t){n(e,t)&&i(e,t)}),r}function ue(e,n){var r;return H(e,function(e,t){r||n(e,t)&&(r=e)}),r}var fe=de;function de(e,n,r){return r=r||(P(e)?[]:{}),H(e,function(e,t){return r[t]=n(e,t)}),r}var he=function(t){return Object.keys(t).map(function(e){return t[e]})},pe=function(e,t){return e&&t},me=function(e,t){return e||t},ge=function(e,t){return e.concat(t)},_e=function(e,t){return P(t)?e.concat(t.reduce(_e,[])):be(e,t)};function be(e,t){return e.push(t),e}var ve=function(e,t){return Q(e,t)?e:be(e,t)},ye=function(e){return e.reduce(ge,[])},we=function(e){return e.reduce(_e,[])},Ce=Se,Ae=Se;function Se(n,r){return void 0===r&&(r="assert failure"),function(e){var t=n(e);if(!t)throw new Error(k(r)?r(e):r);return t}}var Te=function(t){return Object.keys(t).map(function(e){return[e,t[e]]})};function xe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce(function(e,t){return Math.min(t.length,e)},9007199254740991),r=[],i=function(t){switch(e.length){case 1:r.push([e[0][t]]);break;case 2:r.push([e[0][t],e[1][t]]);break;case 3:r.push([e[0][t],e[1][t],e[2][t]]);break;case 4:r.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:r.push(e.map(function(e){return e[t]}))}},a=0;a<n;a++)i(a);return r}function ke(e,t){var n,r;if(P(t)&&(n=t[0],r=t[1]),!D(n))throw new Error("invalid parameters to applyPairs");return e[n]=r,e}function Ee(e){return e.length&&e[e.length-1]||void 0}function De(e,t){return t&&Object.keys(t).forEach(function(e){return delete t[e]}),t||(t={}),W(t,e)}function Ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var r=Object.keys(n),i=0;i<r.length;i++)e[r[i]]=n[r[i]]}return e}function Pe(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n=typeof e;if(n!==typeof t||"object"!==n)return!1;var r,i,a=[e,t];if(u(P)(a))return i=t,(r=e).length===i.length&&xe(r,i).reduce(function(e,t){return e&&Pe(t[0],t[1])},!0);if(u(M)(a))return e.getTime()===t.getTime();if(u($)(a))return e.toString()===t.toString();if(u(k)(a))return!0;if([k,P,M,$].map(d).reduce(function(e,t){return e||!!t(a)},!1))return!1;var o={};for(var s in e){if(!Pe(e[s],t[s]))return!1;o[s]=!0}for(var s in t)if(!o[s])return!1;return!0}var Me,$e=function(e){return e.catch(function(e){return 0})&&e},Oe=function(e){return $e(L.$q.reject(e))},Re=function(){function t(e){this.text=e,this.glob=e.split(".");var t=this.text.split(".").map(function(e){return"**"===e?"(?:|(?:\\.[^.]*)*)":"*"===e?"\\.[^.]*":"\\."+e}).join("");this.regexp=new RegExp("^"+t+"$")}return t.is=function(e){return!!/[!,*]+/.exec(e)},t.fromString=function(e){return t.is(e)?new t(e):null},t.prototype.matches=function(e){return this.regexp.test("."+e)},t}(),Ne=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t,this._evictListeners=[],this.onEvict=ee(this._evictListeners)}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&this.evict(),e},e.prototype.evict=function(){var t=this._items.shift();return this._evictListeners.forEach(function(e){return e(t)}),t},e.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},e.prototype.clear=function(){var e=this._items;return this._items=[],e},e.prototype.size=function(){return this._items.length},e.prototype.remove=function(e){var t=this._items.indexOf(e);return-1<t&&this._items.splice(t,1)[0]},e.prototype.peekTail=function(){return this._items[this._items.length-1]},e.prototype.peekHead=function(){if(this.size())return this._items[0]},e}();(Me=m.RejectType||(m.RejectType={}))[Me.SUPERSEDED=2]="SUPERSEDED",Me[Me.ABORTED=3]="ABORTED",Me[Me.INVALID=4]="INVALID",Me[Me.IGNORED=5]="IGNORED",Me[Me.ERROR=6]="ERROR";var Le=0,Fe=function(){function r(e,t,n){this.$id=Le++,this.type=e,this.message=t,this.detail=n}return r.isRejectionPromise=function(e){return e&&"function"==typeof e.then&&h(r)(e._transitionRejection)},r.superseded=function(e,t){var n=new r(m.RejectType.SUPERSEDED,"The transition has been superseded by a different transition",e);return t&&t.redirected&&(n.redirected=!0),n},r.redirected=function(e){return r.superseded(e,{redirected:!0})},r.invalid=function(e){return new r(m.RejectType.INVALID,"This transition is invalid",e)},r.ignored=function(e){return new r(m.RejectType.IGNORED,"The transition was ignored",e)},r.aborted=function(e){return new r(m.RejectType.ABORTED,"The transition has been aborted",e)},r.errored=function(e){return new r(m.RejectType.ERROR,"The transition errored",e)},r.normalize=function(e){return h(r)(e)?e:r.errored(e)},r.prototype.toString=function(){var e,t=(e=this.detail)&&e.toString!==Object.prototype.toString?e.toString():ze(e);return"Transition Rejection($id: "+this.$id+" type: "+this.type+", message: "+this.message+", detail: "+t+")"},r.prototype.toPromise=function(){return W(Oe(this),{_transitionRejection:this})},r}();function Ge(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."}function je(e,t){for(;t.length<e;)t+=" ";return t}function Be(e){return e.replace(/^([A-Z])/,function(e){return e.toLowerCase()}).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function Ue(e){var t=He(e),n=t.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:t,i=e.name||"";return i&&r.match(/function \(/)?"function "+i+r.substr(9):r}function He(e){var t=P(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}var We=Fe.isRejectionPromise,qe=g([[w,p("undefined")],[C,p("null")],[R,p("[Promise]")],[We,function(e){return e._transitionRejection.toString()}],[function(e){return I(e)&&!P(e)&&e.constructor!==Object&&k(e.toString)},function(e){return e.toString()}],[O,Ue],[p(!0),z]]);function ze(e){var t=[];function n(e){if(I(e)){if(-1!==t.indexOf(e))return"[circular ref]";t.push(e)}return qe(e)}return w(e)?n(e):JSON.stringify(e,function(e,t){return n(t)}).replace(/\\"/g,'"')}var Ve=function(n){return function(e){if(!e)return["",""];var t=e.indexOf(n);return-1===t?[e,""]:[e.substr(0,t),e.substr(t+1)]}},Ye=new RegExp("^(?:[a-z]+:)?//[^/]+/"),Ke=function(e){return e.replace(/\/[^/]*$/,"")},Qe=Ve("#"),Xe=Ve("?"),Ze=Ve("="),Je=function(e){return e?e.replace(/^#/,""):""};function et(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(z)}}function tt(e,t){return D(Ee(e))&&D(t)?e.slice(0,-1).concat(Ee(e)+t):be(e,t)}var nt={log:V,error:V,table:V};var rt,it,at,ot,st="undefined"!=typeof document&&document.documentMode&&9===document.documentMode?window&&window.console?(at=window.console,{log:(ot=function(e){return Function.prototype.bind.call(e,at)})(at.log),error:ot(at.log),table:ot(at.log)}):nt:console.table&&console.error?console:(rt=console,{log:it=rt.log.bind(rt),error:rt.error?rt.error.bind(rt):it,table:rt.table?rt.table.bind(rt):it});function ct(e){if(!e)return"ui-view (defunct)";var t=e.creationContext?e.creationContext.name||"(root)":"(none)";return"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+t+")]"}var lt;function ut(e){return E(e)?m.Category[e]:m.Category[m.Category[e]]}(lt=m.Category||(m.Category={}))[lt.RESOLVE=0]="RESOLVE",lt[lt.TRANSITION=1]="TRANSITION",lt[lt.HOOK=2]="HOOK",lt[lt.UIVIEW=3]="UIVIEW",lt[lt.VIEWCONFIG=4]="VIEWCONFIG";var ft=S("$id"),dt=S("router.$id"),ht=function(e){return"Transition #"+ft(e)+"-"+dt(e)},pt=function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(t,e){var n=this;e.length||(e=Object.keys(m.Category).map(function(e){return parseInt(e,10)}).filter(function(e){return!isNaN(e)}).map(function(e){return m.Category[e]})),e.map(ut).forEach(function(e){return n._enabled[e]=t})},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[ut(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(m.Category.TRANSITION)&&st.log(ht(e)+": Started -> "+ze(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(m.Category.TRANSITION)&&st.log(ht(e)+": Ignored <> "+ze(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(m.Category.HOOK)){var r=S("traceData.hookType")(n)||"internal",i=S("traceData.context.state.name")(n)||S("traceData.context")(n)||"unknown",a=Ue(e.registeredHook.callback);st.log(ht(t)+": Hook -> "+r+" context: "+i+", "+Ge(200,a))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(m.Category.HOOK)&&st.log(ht(t)+": <- Hook returned: "+Ge(200,ze(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(m.Category.RESOLVE)&&st.log(ht(n)+": Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(m.Category.RESOLVE)&&st.log(ht(t)+": <- Resolved "+e+" to: "+Ge(200,ze(e.data)))},e.prototype.traceError=function(e,t){this.enabled(m.Category.TRANSITION)&&st.log(ht(t)+": <- Rejected "+ze(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(m.Category.TRANSITION)&&st.log(ht(t)+": <- Success "+ze(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(m.Category.UIVIEW)&&st.log("ui-view: "+je(30,e)+" "+ct(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(m.Category.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(m.Category.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+Ge(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(m.Category.VIEWCONFIG)){var o="uiview component fqn",t=e.map(function(e){var t,n=e.uiView,r=e.viewConfig,i=n&&n.fqn,a=r&&r.viewDecl.$context.name+": ("+r.viewDecl.$name+")";return(t={})[o]=i,t["view config state (view name)"]=a,t}).sort(function(e,t){return(e[o]||"").localeCompare(t[o]||"")});st.table(t)}},e.prototype.traceViewServiceEvent=function(e,t){var n,r,i;this.enabled(m.Category.VIEWCONFIG)&&st.log("VIEWCONFIG: "+e+" "+(r=(n=t).viewDecl,i=r.$context.name||"(root)","[View#"+n.$id+" from '"+i+"' state]: target ui-view: '"+r.$uiViewName+"@"+r.$uiViewContextAnchor+"'"))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(m.Category.VIEWCONFIG)&&st.log("VIEWCONFIG: "+e+" "+ct(t))},e}(),mt=new pt,gt=function(){function e(e){this.pattern=/.*/,this.inherit=!0,W(this,e)}return e.prototype.is=function(e,t){return!0},e.prototype.encode=function(e,t){return e},e.prototype.decode=function(e,t){return e},e.prototype.equals=function(e,t){return e==t},e.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},e.prototype.toString=function(){return"{ParamType:"+this.name+"}"},e.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},e.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new _t(this,e)},e}();function _t(r,i){var a=this;function o(e){return P(e)?e:T(e)?[e]:[]}function s(n,r){return function(e){if(P(e)&&0===e.length)return e;var t=de(o(e),n);return!0===r?0===le(t,function(e){return!e}).length:function(e){switch(e.length){case 0:return;case 1:return"auto"===i?e[0]:e;default:return e}}(t)}}function c(a){return function(e,t){var n=o(e),r=o(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!a(n[i],r[i]))return!1;return!0}}["encode","decode","equals","$normalize"].forEach(function(e){var t=r[e].bind(r),n="equals"===e?c:s;a[e]=n(t)}),W(this,{dynamic:r.dynamic,name:r.name,pattern:r.pattern,inherit:r.inherit,raw:r.raw,is:s(r.is.bind(r),!0),$arrayMode:i})}var bt,vt=Object.prototype.hasOwnProperty,yt=function(e){return 0===["value","type","squash","array","dynamic"].filter(vt.bind(e||{})).length};function wt(e,t,n){var r=!1===n.reloadOnSearch&&t===m.DefType.SEARCH||void 0,i=ue([n.dynamic,r],T),a=T(i)?{dynamic:i}:{},o=function(e){function t(){return e.value}e=yt(e)?{value:e}:e,t.__cacheable=!0;var n=O(e.value)?e.value:t;return W(e,{$$fn:n})}(n&&n.params&&n.params[e]);return W(a,o)}(bt=m.DefType||(m.DefType={}))[bt.PATH=0]="PATH",bt[bt.SEARCH=1]="SEARCH",bt[bt.CONFIG=2]="CONFIG";var Ct,At=function(){function r(e,t,n,r,i){var a=wt(e,n,i);t=function(e,t,n,r,i){if(e.type&&t&&"string"!==t.name)throw new Error("Param '"+r+"' has two type configurations.");if(e.type&&t&&"string"===t.name&&i.type(e.type))return i.type(e.type);if(t)return t;if(e.type)return e.type instanceof gt?e.type:i.type(e.type);var a=n===m.DefType.CONFIG?"any":n===m.DefType.PATH?"path":n===m.DefType.SEARCH?"query":"string";return i.type(a)}(a,t,n,e,r.paramTypes);var o,s,c=(o={array:n===m.DefType.SEARCH&&"auto"},s=e.match(/\[\]$/)?{array:!0}:{},W(o,s,a).array);t=c?t.$asArray(c,n===m.DefType.SEARCH):t;var l=void 0!==a.value||n===m.DefType.SEARCH,u=T(a.dynamic)?!!a.dynamic:!!t.dynamic,f=T(a.raw)?!!a.raw:!!t.raw,d=function(e,t,n){var r=e.squash;if(!t||!1===r)return!1;if(!T(r)||null==r)return n;if(!0===r||D(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}(a,l,r.defaultSquashPolicy()),h=function(e,t,n,r){var i=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}],a=P(e.replace)?e.replace:[];D(r)&&a.push({from:r,to:void 0});var o=de(a,v("from"));return le(i,function(e){return-1===o.indexOf(e.from)}).concat(a)}(a,c,l,d),p=T(a.inherit)?!!a.inherit:!!t.inherit;W(this,{id:e,type:t,location:n,isOptional:l,dynamic:u,raw:f,squash:d,replace:h,inherit:p,array:c,config:a})}return r.values=function(e,t){void 0===t&&(t={});for(var n={},r=0,i=e;r<i.length;r++){var a=i[r];n[a.id]=a.value(t[a.id])}return n},r.changed=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e.filter(function(e){return!e.type.equals(t[e.id],n[e.id])})},r.equals=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),0===r.changed(e,t,n).length},r.validates=function(e,t){return void 0===t&&(t={}),e.map(function(e){return e.validates(t[e.id])}).reduce(pe,!0)},r.prototype.isDefaultValue=function(e){return this.isOptional&&this.type.equals(this.value(),e)},r.prototype.value=function(e){var i=this;return e=function(e){for(var t=0,n=i.replace;t<n.length;t++){var r=n[t];if(r.from===e)return r.to}return e}(e),w(e)?function(){if(i._defaultValueCache)return i._defaultValueCache.defaultValue;if(!L.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=L.$injector.invoke(i.config.$$fn);if(null!=e&&!i.type.is(e))throw new Error("Default value ("+e+") for parameter '"+i.id+"' is not an instance of ParamType ("+i.type.name+")");return i.config.$$fn.__cacheable&&(i._defaultValueCache={defaultValue:e}),e}():this.type.$normalize(e)},r.prototype.isSearch=function(){return this.location===m.DefType.SEARCH},r.prototype.validates=function(e){if((w(e)||null===e)&&this.isOptional)return!0;var t=this.type.$normalize(e);if(!this.type.is(t))return!1;var n=this.type.encode(t);return!(D(n)&&!this.type.pattern.exec(n))},r.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},r}(),St=function(){function e(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=oe(e.prototype,["hash","string","query","path","int","bool","date","json","any"]);this.types=K(de(this.defaultTypes,function(e,t){return new gt(W({name:t},e))}),{})}return e.prototype.dispose=function(){this.types={}},e.prototype.type=function(e,t,n){if(!T(t))return this.types[e];if(this.types.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return this.types[e]=new gt(W({name:e},t)),n&&(this.typeQueue.push({name:e,def:n}),this.enqueue||this._flushTypeQueue()),this},e.prototype._flushTypeQueue=function(){for(;this.typeQueue.length;){var e=this.typeQueue.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");W(this.types[e.name],L.$injector.invoke(e.def))}},e}();Ct=function(e){var t=function(e){return null!=e?e.toString():e},n={encode:t,decode:t,is:h(String),pattern:/.*/,equals:function(e,t){return e==t}};return W({},n,e)},W(St.prototype,{string:Ct({}),path:Ct({pattern:/[^/]*/}),query:Ct({}),hash:Ct({inherit:!1}),int:Ct({decode:function(e){return parseInt(e,10)},is:function(e){return!x(e)&&this.decode(e.toString())===e},pattern:/-?\d+/}),bool:Ct({encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:h(Boolean),pattern:/0|1/}),date:Ct({encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):void 0},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):void 0},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(n,r){return["getFullYear","getMonth","getDate"].reduce(function(e,t){return e&&n[t]()===r[t]()},!0)},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/}),json:Ct({encode:U,decode:B,is:h(Object),equals:q,pattern:/[^/]*/}),any:Ct({encode:z,decode:z,is:function(){return!0},equals:q})});var Tt=function(){function e(e){void 0===e&&(e={}),W(this,e)}return e.prototype.$inherit=function(e,t,n){var r,i=ae(t,n),a={},o=[];for(var s in i)if(i[s]&&i[s].params&&(r=Object.keys(i[s].params)).length)for(var c in r)0<=o.indexOf(r[c])||(o.push(r[c]),a[r[c]]=this[r[c]]);return W({},a,e)},e}(),xt=function(){function r(e){if(e instanceof r){var t=e;this.state=t.state,this.paramSchema=t.paramSchema.slice(),this.paramValues=W({},t.paramValues),this.resolvables=t.resolvables.slice(),this.views=t.views&&t.views.slice()}else{var n=e;this.state=n,this.paramSchema=n.parameters({inherit:!1}),this.paramValues={},this.resolvables=n.resolvables.map(function(e){return e.clone()})}}return r.prototype.clone=function(){return new r(this)},r.prototype.applyRawParams=function(r){return this.paramValues=this.paramSchema.reduce(function(e,t){return ke(e,[(n=t).id,n.value(r[n.id])]);var n},{}),this},r.prototype.parameter=function(e){return ue(this.paramSchema,_("id",e))},r.prototype.equals=function(e,t){var n=this.diff(e,t);return n&&0===n.length},r.prototype.diff=function(e,t){if(this.state!==e.state)return!1;var n=t?t(this):this.paramSchema;return At.changed(n,this.paramValues,e.paramValues)},r.clone=function(e){return e.clone()},r}(),kt=function(){function r(e,t,n,r){this._stateRegistry=e,this._identifier=t,this._identifier=t,this._params=W({},n||{}),this._options=W({},r||{}),this._definition=e.matcher.find(t,this._options.relative)}return r.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},r.prototype.identifier=function(){return this._identifier},r.prototype.params=function(){return this._params},r.prototype.$state=function(){return this._definition},r.prototype.state=function(){return this._definition&&this._definition.self},r.prototype.options=function(){return this._options},r.prototype.exists=function(){return!(!this._definition||!this._definition.self)},r.prototype.valid=function(){return!this.error()},r.prototype.error=function(){var e=this.options().relative;if(this._definition||!e)return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'";var t=e.name?e.name:e;return"Could not resolve '"+this.name()+"' from state '"+t+"'"},r.prototype.toString=function(){return"'"+this.name()+"'"+ze(this.params())},r.prototype.withState=function(e){return new r(this._stateRegistry,e,this._params,this._options)},r.prototype.withParams=function(e,t){void 0===t&&(t=!1);var n=t?e:W({},this._params,e);return new r(this._stateRegistry,this._identifier,n,this._options)},r.prototype.withOptions=function(e,t){void 0===t&&(t=!1);var n=t?e:W({},this._options,e);return new r(this._stateRegistry,this._identifier,this._params,n)},r.isDef=function(e){return e&&e.state&&(D(e.state)||D(e.state.name))},r}(),Et=function(){function d(){}return d.makeTargetState=function(e,t){var n=Ee(t).state;return new kt(e,n,t.map(v("paramValues")).reduce(ie,{}),{})},d.buildPath=function(e){var t=e.params();return e.$state().path.map(function(e){return new xt(e).applyRawParams(t)})},d.buildToPath=function(e,t){var n=d.buildPath(t);return t.options().inherit?d.inheritParams(e,n,Object.keys(t.params())):n},d.applyViewConfigs=function(i,a,t){a.filter(function(e){return Q(t,e.state)}).forEach(function(t){var e=he(t.state.views||{}),n=d.subPath(a,function(e){return e===t}),r=e.map(function(e){return i.createViewConfig(n,e)});t.views=r.reduce(ge,[])})},d.inheritParams=function(c,e,l){void 0===l&&(l=[]);var u=c.map(function(e){return e.paramSchema}).reduce(ge,[]).filter(function(e){return!e.inherit}).map(v("id"));return e.map(function(e){var t=W({},e&&e.paramValues),n=oe(t,l);t=se(t,l);var r,i,a,o=se((r=c,i=e.state,a=ue(r,_("state",i)),W({},a&&a.paramValues)||{}),u),s=W(t,o,n);return new xt(e.state).applyRawParams(s)})},d.treeChanges=function(e,r,t){for(var n,i,a,o,s,c,l=Math.min(e.length,r.length),u=0;u<l&&e[u].state!==t&&(n=e[u],i=r[u],n.equals(i,d.nonDynamicParams));)u++;o=(a=e).slice(0,u),s=a.slice(u);var f=o.map(function(e,t){var n=e.clone();return n.paramValues=r[t].paramValues,n});return c=r.slice(u),{from:a,to:f.concat(c),retained:o,retainedWithToParams:f,exiting:s,entering:c}},d.matching=function(e,t,i){var a=!1;return xe(e,t).reduce(function(e,t){var n=t[0],r=t[1];return(a=a||!n.equals(r,i))?e:e.concat(n)},[])},d.equals=function(e,t,n){return e.length===t.length&&d.matching(e,t,n).length===e.length},d.subPath=function(e,t){var n=ue(e,t),r=e.indexOf(n);return-1===r?void 0:e.slice(0,r+1)},d.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter(function(e){return!e.dynamic})},d.paramValues=function(e){return e.reduce(function(e,t){return W(e,t.paramValues)},{})},d}(),Dt={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT"}},It={when:"LAZY",async:"WAIT"},Pt=function(){function o(e,t,n,r,i){if(this.resolved=!1,this.promise=void 0,e instanceof o)W(this,e);else if(k(t)){if(x(e))throw new Error("new Resolvable(): token argument is required");if(!k(t))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=e,this.policy=r,this.resolveFn=t,this.deps=n||[],this.data=i,this.resolved=void 0!==i,this.promise=this.resolved?L.$q.when(this.data):void 0}else if(I(e)&&e.token&&(e.hasOwnProperty("resolveFn")||e.hasOwnProperty("data"))){var a=e;return new o(a.token,a.resolveFn,a.deps,a.policy,a.data)}}return o.prototype.getPolicy=function(e){var t=this.policy||{},n=e&&e.resolvePolicy||{};return{when:t.when||n.when||It.when,async:t.async||n.async||It.async}},o.prototype.resolve=function(t,n){var r=this,e=L.$q,i=t.findNode(this),a=i&&i.state,o=this.getPolicy(a).async,s=k(o)?o:z;return this.promise=e.when().then(function(){return e.all(t.getDependencies(r).map(function(e){return e.get(t,n)}))}).then(function(e){return r.resolveFn.apply(null,e)}).then(s).then(function(e){return r.data=e,r.resolved=!0,r.resolveFn=null,mt.traceResolvableResolved(r,n),r.data})},o.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},o.prototype.toString=function(){return"Resolvable(token: "+ze(this.token)+", requires: ["+this.deps.map(ze)+"])"},o.prototype.clone=function(){return new o(this)},o.fromData=function(e,t){return new o(e,function(){return t},null,null,t)},o}(),Mt=Dt.when,$t=[Mt.EAGER,Mt.LAZY],Ot=[Mt.EAGER],Rt="Native Injector",Nt=function(){function e(e){this._path=e}return e.prototype.getTokens=function(){return this._path.reduce(function(e,t){return e.concat(t.resolvables.map(function(e){return e.token}))},[]).reduce(ve,[])},e.prototype.getResolvable=function(t){return Ee(this._path.map(function(e){return e.resolvables}).reduce(ge,[]).filter(function(e){return e.token===t}))},e.prototype.getPolicy=function(e){var t=this.findNode(e);return e.getPolicy(t.state)},e.prototype.subContext=function(t){return new e(Et.subPath(this._path,function(e){return e.state===t}))},e.prototype.addResolvables=function(e,t){var n=ue(this._path,_("state",t)),r=e.map(function(e){return e.token});n.resolvables=n.resolvables.filter(function(e){return-1===r.indexOf(e.token)}).concat(e)},e.prototype.resolvePath=function(e,s){var c=this;void 0===e&&(e="LAZY");var l=(Q($t,e)?e:"LAZY")===Dt.when.EAGER?Ot:$t;mt.traceResolvePath(this._path,e,s);var u=function(t,n){return function(e){return Q(t,c.getPolicy(e)[n])}},t=this._path.reduce(function(e,t){var n=t.resolvables.filter(u(l,"when")),r=n.filter(u(["NOWAIT"],"async")),i=n.filter(f(u(["NOWAIT"],"async"))),a=c.subContext(t.state),o=function(t){return t.get(a,s).then(function(e){return{token:t.token,value:e}})};return r.forEach(o),e.concat(i.map(o))},[]);return L.$q.all(t)},e.prototype.injector=function(){return this._injector||(this._injector=new Lt(this))},e.prototype.findNode=function(t){return ue(this._path,function(e){return Q(e.resolvables,t)})},e.prototype.getDependencies=function(t){var r=this,n=this.findNode(t),i=(Et.subPath(this._path,function(e){return e===n})||this._path).reduce(function(e,t){return e.concat(t.resolvables)},[]).filter(function(e){return e!==t});return t.deps.map(function(t){var e=i.filter(function(e){return e.token===t});if(e.length)return Ee(e);var n=r.injector().getNative(t);if(w(n))throw new Error("Could not find Dependency Injection token: "+ze(t));return new Pt(t,function(){return n},[],n)})},e}(),Lt=function(){function e(e){this.context=e,this.native=this.get(Rt)||L.$injector}return e.prototype.get=function(e){var t=this.context.getResolvable(e);if(t){if("NOWAIT"===this.context.getPolicy(t).async)return t.get(this.context);if(!t.resolved)throw new Error("Resolvable async .get() not complete:"+ze(t.token));return t.data}return this.getNative(e)},e.prototype.getAsync=function(e){var t=this.context.getResolvable(e);return t?t.get(this.context):L.$q.when(this.native.get(e))},e.prototype.getNative=function(e){return this.native&&this.native.get(e)},e}();function Ft(e){return e.name}function Gt(e){return e.self.$$state=function(){return e},e.self}function jt(e){return e.parent&&e.parent.data&&(e.data=e.self.data=K(e.parent.data,e.data)),e.data}var Bt=function(o,s){return function(e){var t=e.self;if(t&&t.url&&t.name&&t.name.match(/\.\*\*$/)){var n={};De(t,n),n.url+="{remainder:any}",t=n}var r=e.parent,i=function(e){if(!D(e))return!1;var t="^"===e.charAt(0);return{val:t?e.substring(1):e,root:t}}(t.url),a=i?o.compile(i.val,{state:t}):t.url;if(!a)return null;if(!o.isMatcher(a))throw new Error("Invalid url '"+a+"' in state '"+e+"'");return i&&i.root?a:(r&&r.navigable||s()).url.append(a)}};function Ut(e){return e.parent?e.parent.path.concat(e):[e]}function Ht(e){var t=e.parent?W({},e.parent.includes):{};return t[e.name]=!0,t}function Wt(e){var t,n,r=function(e){return e.provide||e.token},i=g([[v("resolveFn"),function(e){return new Pt(r(e),e.resolveFn,e.deps,e.policy)}],[v("useFactory"),function(e){return new Pt(r(e),e.useFactory,e.deps||e.dependencies,e.policy)}],[v("useClass"),function(e){return new Pt(r(e),function(){return new e.useClass},[],e.policy)}],[v("useValue"),function(e){return new Pt(r(e),function(){return e.useValue},[],e.policy,e.useValue)}],[v("useExisting"),function(e){return new Pt(r(e),z,[e.useExisting],e.policy)}]]),a=g([[c(v("val"),D),function(e){return new Pt(e.token,z,[e.val],e.policy)}],[c(v("val"),P),function(e){return new Pt(e.token,Ee(e.val),e.val.slice(0,-1),e.policy)}],[c(v("val"),k),function(e){return new Pt(e.token,e.val,(t=e.val,n=L.$injector,t.$inject||n&&n.annotate(t,n.strictDi)||"deferred"),e.policy);var t,n}]]),o=g([[h(Pt),function(e){return e}],[function(e){return!(!e.token||!e.resolveFn)},i],[function(e){return!(!e.provide&&!e.token||!(e.useValue||e.useFactory||e.useExisting||e.useClass))},i],[function(e){return!!(e&&e.val&&(D(e.val)||P(e.val)||k(e.val)))},a],[p(!0),function(e){throw new Error("Invalid resolve value: "+ze(e))}]]),s=e.resolve;return(P(s)?s:(t=s,n=e.resolvePolicy||{},Object.keys(t||{}).map(function(e){return{token:e,val:t[e],deps:void 0,policy:n[e]}}))).map(o)}var qt,zt,Vt=function(){function e(t,e){this.matcher=t;var r,n,i=this,a=function(){return t.find("")},o=function(e){return""===e.name};this.builders={name:[Ft],self:[Gt],parent:[function(e){return o(e)?null:t.find(i.parentName(e))||a()}],data:[jt],url:[Bt(e,a)],navigable:[(n=o,function(e){return!n(e)&&e.url?e:e.parent?e.parent.navigable:null})],params:[(r=e.paramFactory,function(n){var e=n.url&&n.url.parameters({inherit:!1})||[],t=he(fe(se(n.params||{},e.map(v("id"))),function(e,t){return r.fromConfig(t,null,n.self)}));return e.concat(t).map(function(e){return[e.id,e]}).reduce(ke,{})})],views:[],path:[Ut],includes:[Ht],resolvables:[Wt]}}return e.prototype.builder=function(e,t){var n=this.builders,r=n[e]||[];return D(e)&&!T(t)?1<r.length?r:r[0]:D(e)&&k(t)?(n[e]=r,n[e].push(t),function(){return n[e].splice(n[e].indexOf(t,1))&&null}):void 0},e.prototype.build=function(e){var t=this.matcher,n=this.builders,r=this.parentName(e);if(r&&!t.find(r,void 0,!1))return null;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i].reduce(function(t,n){return function(e){return n(e,t)}},V);e[i]=a(e)}return e},e.prototype.parentName=function(e){var t=e.name||"",n=t.split(".");if("**"===n.pop()&&n.pop(),n.length){if(e.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+t+")");return n.join(".")}return e.parent?D(e.parent)?e.parent:e.parent.name:""},e.prototype.name=function(e){var t=e.name;if(-1!==t.indexOf(".")||!e.parent)return t;var n=D(e.parent)?e.parent:e.parent.name;return n?n+"."+t:t},e}(),Yt=function(){function n(e){return n.create(e||{})}return n.create=function(e){e=n.isStateClass(e)?new e:e;var t=K(K(e,n.prototype));return e.$$state=function(){return t},t.self=e,t.__stateObjectCache={nameGlob:Re.fromString(t.name)},t},n.prototype.is=function(e){return this===e||this.self===e||this.fqn()===e},n.prototype.fqn=function(){if(!(this.parent&&this.parent instanceof this.constructor))return this.name;var e=this.parent.fqn();return e?e+"."+this.name:this.name},n.prototype.root=function(){return this.parent&&this.parent.root()||this},n.prototype.parameters=function(t){return((t=re(t,{inherit:!0,matchingKeys:null})).inherit&&this.parent&&this.parent.parameters()||[]).concat(he(this.params)).filter(function(e){return!t.matchingKeys||t.matchingKeys.hasOwnProperty(e.id)})},n.prototype.parameter=function(e,t){return void 0===t&&(t={}),this.url&&this.url.parameter(e,t)||ue(he(this.params),_("id",e))||t.inherit&&this.parent&&this.parent.parameter(e)},n.prototype.toString=function(){return this.fqn()},n.isStateClass=function(e){return k(e)&&!0===e.__uiRouterState},n.isState=function(e){return I(e.__stateObjectCache)},n}(),Kt=function(){function e(e){this._states=e}return e.prototype.isRelative=function(e){return 0===(e=e||"").indexOf(".")||0===e.indexOf("^")},e.prototype.find=function(e,t,n){if(void 0===n&&(n=!0),e||""===e){var r=D(e),i=r?e:e.name;this.isRelative(i)&&(i=this.resolvePath(i,t));var a=this._states[i];if(a&&(r||!(r||a!==e&&a.self!==e)))return a;if(r&&n){var o=he(this._states).filter(function(e){return e.__stateObjectCache.nameGlob&&e.__stateObjectCache.nameGlob.matches(i)});return 1<o.length&&st.error("stateMatcher.find: Found multiple matches for "+i+" using glob: ",o.map(function(e){return e.name})),o[0]}}},e.prototype.resolvePath=function(e,t){if(!t)throw new Error("No reference point given for path '"+e+"'");for(var n=this.find(t),r=e.split("."),i=r.length,a=0,o=n;a<i;a++)if(""!==r[a]||0!==a){if("^"!==r[a])break;if(!o.parent)throw new Error("Path '"+e+"' not valid for state '"+n.name+"'");o=o.parent}else o=n;var s=r.slice(a).join(".");return o.name+(o.name&&s?".":"")+s},e}(),Qt=function(){function e(e,t,n,r){this.router=e,this.states=t,this.builder=n,this.listeners=r,this.queue=[]}return e.prototype.dispose=function(){this.queue=[]},e.prototype.register=function(e){var t=this.queue,n=Yt.create(e),r=n.name;if(!D(r))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(r)||Q(t.map(v("name")),r))throw new Error("State '"+r+"' is already defined");return t.push(n),this.flush(),n},e.prototype.flush=function(){for(var t=this,e=this.queue,n=this.states,r=this.builder,i=[],a=[],o={},s=function(e){return t.states.hasOwnProperty(e)&&t.states[e]},c=function(){i.length&&t.listeners.forEach(function(e){return e("registered",i.map(function(e){return e.self}))})};0<e.length;){var l=e.shift(),u=l.name,f=r.build(l),d=a.indexOf(l);if(f){var h=s(u);if(h&&h.name===u)throw new Error("State '"+u+"' is already defined");var p=s(u+".**");p&&this.router.stateRegistry.deregister(p),n[u]=l,this.attachRoute(l),0<=d&&a.splice(d,1),i.push(l)}else{var m=o[u];if(o[u]=e.length,0<=d&&m===e.length)return e.push(l),c(),n;d<0&&a.push(l),e.push(l)}}return c(),n},e.prototype.attachRoute=function(e){if(!e.abstract&&e.url){var t=this.router.urlService.rules;t.rule(t.urlRuleFactory.create(e))}},e}(),Xt=function(){function e(e){this.router=e,this.states={},this.listeners=[],this.matcher=new Kt(this.states),this.builder=new Vt(this.matcher,e.urlMatcherFactory),this.stateQueue=new Qt(e,this.states,this.builder,this.listeners),this._registerRoot()}return e.prototype._registerRoot=function(){(this._root=this.stateQueue.register({name:"",url:"^",views:null,params:{"#":{value:null,type:"hash",dynamic:!0}},abstract:!0})).navigable=null},e.prototype.dispose=function(){var t=this;this.stateQueue.dispose(),this.listeners=[],this.get().forEach(function(e){return t.get(e)&&t.deregister(e)})},e.prototype.onStatesChanged=function(e){return this.listeners.push(e),function(){Z(this.listeners)(e)}.bind(this)},e.prototype.root=function(){return this._root},e.prototype.register=function(e){return this.stateQueue.register(e)},e.prototype._deregisterTree=function(e){var n=this,r=this.get().map(function(e){return e.$$state()}),i=function(t){var e=r.filter(function(e){return-1!==t.indexOf(e.parent)});return 0===e.length?e:e.concat(i(e))},t=i([e]),a=[e].concat(t).reverse();return a.forEach(function(e){var t=n.router.urlService.rules;t.rules().filter(_("state",e)).forEach(function(e){return t.removeRule(e)}),delete n.states[e.name]}),a},e.prototype.deregister=function(e){var t=this.get(e);if(!t)throw new Error("Can't deregister state; not found: "+e);var n=this._deregisterTree(t.$$state());return this.listeners.forEach(function(e){return e("deregistered",n.map(function(e){return e.self}))}),n},e.prototype.get=function(e,t){var n=this;if(0===arguments.length)return Object.keys(this.states).map(function(e){return n.states[e].self});var r=this.matcher.find(e,t);return r&&r.self||null},e.prototype.decorator=function(e,t){return this.builder.builder(e,t)},e}();(qt=m.TransitionHookPhase||(m.TransitionHookPhase={}))[qt.CREATE=0]="CREATE",qt[qt.BEFORE=1]="BEFORE",qt[qt.RUN=2]="RUN",qt[qt.SUCCESS=3]="SUCCESS",qt[qt.ERROR=4]="ERROR",(zt=m.TransitionHookScope||(m.TransitionHookScope={}))[zt.TRANSITION=0]="TRANSITION",zt[zt.STATE=1]="STATE";var Zt={current:V,transition:null,traceData:{},bind:null},Jt=function(){function a(e,t,n,r){var i=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=r,this.isSuperseded=function(){return i.type.hookPhase===m.TransitionHookPhase.RUN&&!i.options.transition.isActive()},this.options=re(r,Zt),this.type=n.eventType}return a.chain=function(e,t){return e.reduce(function(e,t){return e.then(function(){return t.invokeHook()})},t||L.$q.when())},a.invokeHooks=function(e,t){for(var n=0;n<e.length;n++){var r=e[n].invokeHook();if(R(r)){var i=e.slice(n+1);return a.chain(i,r).then(t)}}return t()},a.runAllHooks=function(e){e.forEach(function(e){return e.invokeHook()})},a.prototype.logError=function(e){this.transition.router.stateService.defaultErrorHandler()(e)},a.prototype.invokeHook=function(){var t=this,n=this.registeredHook;if(!n._deregistered){var e=this.getNotCurrentRejection();if(e)return e;var r=this.options;mt.traceHookInvocation(this,this.transition,r);var i=function(e){return n.eventType.getErrorHandler(t)(e)},a=function(e){return n.eventType.getResultHandler(t)(e)};try{var o=n.callback.call(r.bind,t.transition,t.stateContext);return!this.type.synchronous&&R(o)?o.catch(function(e){return Fe.normalize(e).toPromise()}).then(a,i):a(o)}catch(e){return i(Fe.normalize(e))}finally{n.invokeLimit&&++n.invokeCount>=n.invokeLimit&&n.deregister()}}},a.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||(R(e)?e.then(function(e){return t.handleHookResult(e)}):(mt.traceHookResult(e,this.transition,this.options),!1===e?Fe.aborted("Hook aborted transition").toPromise():h(kt)(e)?Fe.redirected(e).toPromise():void 0))},a.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?Fe.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?Fe.aborted().toPromise():this.isSuperseded()?Fe.superseded(this.options.current()).toPromise():void 0},a.prototype.toString=function(){var e=this.options,t=this.registeredHook;return(S("traceData.hookType")(e)||"internal")+" context: "+(S("traceData.context.state.name")(e)||S("traceData.context")(e)||"unknown")+", "+Ge(200,He(t.callback))},a.HANDLE_RESULT=function(t){return function(e){return t.handleHookResult(e)}},a.LOG_REJECTED_RESULT=function(t){return function(e){R(e)&&e.catch(function(e){return t.logError(Fe.normalize(e))})}},a.LOG_ERROR=function(t){return function(e){return t.logError(e)}},a.REJECT_ERROR=function(e){return function(e){return Oe(e)}},a.THROW_ERROR=function(e){return function(e){throw e}},a}();function en(e,t,n){var i=D(t)?[t]:t;return!!(k(i)?i:function(e){for(var t=i,n=0;n<t.length;n++){var r=new Re(t[n]);if(r&&r.matches(e.name)||!r&&t[n]===e.name)return!0}return!1})(e,n)}var tn=function(){function e(e,t,n,r,i,a){void 0===a&&(a={}),this.tranSvc=e,this.eventType=t,this.callback=n,this.matchCriteria=r,this.removeHookFromRegistry=i,this.invokeCount=0,this._deregistered=!1,this.priority=a.priority||0,this.bind=a.bind||null,this.invokeLimit=a.invokeLimit}return e.prototype._matchingNodes=function(e,t,n){if(!0===t)return e;var r=e.filter(function(e){return en(e.state,t,n)});return r.length?r:null},e.prototype._getDefaultMatchCriteria=function(){return fe(this.tranSvc._pluginapi._getPathTypes(),function(){return!0})},e.prototype._getMatchingNodes=function(a,o){var s=this,c=W(this._getDefaultMatchCriteria(),this.matchCriteria);return he(this.tranSvc._pluginapi._getPathTypes()).reduce(function(e,t){var n=t.scope===m.TransitionHookScope.STATE,r=a[t.name]||[],i=n?r:[Ee(r)];return e[t.name]=s._matchingNodes(i,c[t.name],o),e},{})},e.prototype.matches=function(e,t){var n=this._getMatchingNodes(e,t);return he(n).every(z)?n:null},e.prototype.deregister=function(){this.removeHookFromRegistry(this),this._deregistered=!0},e}();function nn(e,i,a){var o=(e._registeredHooks=e._registeredHooks||{})[a.name]=[],s=Z(o);function t(e,t,n){void 0===n&&(n={});var r=new tn(i,a,t,e,s,n);return o.push(r),r.deregister.bind(r)}return e[a.name]=t}var rn=function(){function e(e){this.transition=e}return e.prototype.buildHooksForPhase=function(e){var t=this;return this.transition.router.transitionService._pluginapi._getEvents(e).map(function(e){return t.buildHooks(e)}).reduce(ge,[]).filter(z)},e.prototype.buildHooks=function(a){var o=this.transition,e=o.treeChanges(),t=this.getMatchingHooks(a,e,o);if(!t)return[];var s={transition:o,current:o.options().current};return t.map(function(i){return i.matches(e,o)[a.criteriaMatchPath.name].map(function(e){var t=W({bind:i.bind,traceData:{hookType:a.name,context:e}},s),n=a.criteriaMatchPath.scope===m.TransitionHookScope.STATE?e.state.self:null,r=new Jt(o,n,i,t);return{hook:i,node:e,transitionHook:r}})}).reduce(ge,[]).sort(function(i){void 0===i&&(i=!1);return function(e,t){var n=i?-1:1,r=(e.node.state.path.length-t.node.state.path.length)*n;return 0!==r?r:t.hook.priority-e.hook.priority}}(a.reverseSort)).map(function(e){return e.transitionHook})},e.prototype.getMatchingHooks=function(t,n,r){var e=t.hookPhase===m.TransitionHookPhase.CREATE,i=this.transition.router.transitionService;return(e?[i]:[this.transition,i]).map(function(e){return e.getHooks(t.name)}).filter(Ce(P,"broken event named: "+t.name)).reduce(ge,[]).filter(function(e){return e.matches(n,r)})},e}();var an=v("self"),on=function(){function t(e,t,n){var r=this;if(this._deferred=L.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new rn(this),this.isActive=function(){return r.router.globals.transition===r},this.router=n,!(this._targetState=t).valid())throw new Error(t.error());this._options=W({current:p(this)},t.options()),this.$id=n.transitionService._transitionCount++;var i=Et.buildToPath(e,t);this._treeChanges=Et.treeChanges(e,i,this._options.reloadState),this.createTransitionHookRegFns();var a=this._hookBuilder.buildHooksForPhase(m.TransitionHookPhase.CREATE);Jt.invokeHooks(a,function(){return null}),this.applyViewConfigs(n)}return t.prototype.onBefore=function(e,t,n){},t.prototype.onStart=function(e,t,n){},t.prototype.onExit=function(e,t,n){},t.prototype.onRetain=function(e,t,n){},t.prototype.onEnter=function(e,t,n){},t.prototype.onFinish=function(e,t,n){},t.prototype.onSuccess=function(e,t,n){},t.prototype.onError=function(e,t,n){},t.prototype.createTransitionHookRegFns=function(){var t=this;this.router.transitionService._pluginapi._getEvents().filter(function(e){return e.hookPhase!==m.TransitionHookPhase.CREATE}).forEach(function(e){return nn(t,t.router.transitionService,e)})},t.prototype.getHooks=function(e){return this._registeredHooks[e]},t.prototype.applyViewConfigs=function(e){var t=this._treeChanges.entering.map(function(e){return e.state});Et.applyViewConfigs(e.transitionService.$view,this._treeChanges.to,t)},t.prototype.$from=function(){return Ee(this._treeChanges.from).state},t.prototype.$to=function(){return Ee(this._treeChanges.to).state},t.prototype.from=function(){return this.$from().self},t.prototype.to=function(){return this.$to().self},t.prototype.targetState=function(){return this._targetState},t.prototype.is=function(e){return e instanceof t?this.is({to:e.$to().name,from:e.$from().name}):!(e.to&&!en(this.$to(),e.to,this)||e.from&&!en(this.$from(),e.from,this))},t.prototype.params=function(e){return void 0===e&&(e="to"),Object.freeze(this._treeChanges[e].map(v("paramValues")).reduce(ie,{}))},t.prototype.paramsChanged=function(){var e=this.params("from"),n=this.params("to"),t=[].concat(this._treeChanges.to).concat(this._treeChanges.from).map(function(e){return e.paramSchema}).reduce(_e,[]).reduce(ve,[]);return At.changed(t,e,n).reduce(function(e,t){return e[t.id]=n[t.id],e},{})},t.prototype.injector=function(t,e){void 0===e&&(e="to");var n=this._treeChanges[e];return t&&(n=Et.subPath(n,function(e){return e.state===t||e.state.name===t})),new Nt(n).injector()},t.prototype.getResolveTokens=function(e){return void 0===e&&(e="to"),new Nt(this._treeChanges[e]).getTokens()},t.prototype.addResolvable=function(e,t){void 0===t&&(t=""),e=h(Pt)(e)?e:new Pt(e);var n="string"==typeof t?t:t.name,r=this._treeChanges.to,i=ue(r,function(e){return e.state.name===n});new Nt(r).addResolvables([e],i.state)},t.prototype.redirectedFrom=function(){return this._options.redirectedFrom||null},t.prototype.originalTransition=function(){var e=this.redirectedFrom();return e&&e.originalTransition()||this},t.prototype.options=function(){return this._options},t.prototype.entering=function(){return de(this._treeChanges.entering,v("state")).map(an)},t.prototype.exiting=function(){return de(this._treeChanges.exiting,v("state")).map(an).reverse()},t.prototype.retained=function(){return de(this._treeChanges.retained,v("state")).map(an)},t.prototype.views=function(e,t){void 0===e&&(e="entering");var n=this._treeChanges[e];return(n=t?n.filter(_("state",t)):n).map(v("views")).filter(z).reduce(ge,[])},t.prototype.treeChanges=function(e){return e?this._treeChanges[e]:this._treeChanges},t.prototype.redirect=function(e){for(var t=1,n=this;null!=(n=n.redirectedFrom());)if(20<++t)throw new Error("Too many consecutive Transition redirects (20+)");var r={redirectedFrom:this,source:"redirect"};"url"===this.options().source&&!1!==e.options().location&&(r.location="replace");var i=W({},this.options(),e.options(),r);e=e.withOptions(i,!0);var a,o=this.router.transitionService.create(this._treeChanges.from,e),s=this._treeChanges.entering,c=o._treeChanges.entering;return Et.matching(c,s,Et.nonDynamicParams).filter(f((a=e.options().reloadState,function(e){return a&&e.state.includes[a.name]}))).forEach(function(e,t){e.resolvables=s[t].resolvables}),o},t.prototype._changedParams=function(){var e=this._treeChanges;if(!this._options.reload&&(!e.exiting.length&&!e.entering.length&&e.to.length===e.from.length&&!xe(e.to,e.from).map(function(e){return e[0].state!==e[1].state}).reduce(me,!1))){var t=e.to.map(function(e){return e.paramSchema}),n=[e.to,e.from].map(function(e){return e.map(function(e){return e.paramValues})});return xe(t,n[0],n[1]).map(function(e){var t=e[0],n=e[1],r=e[2];return At.changed(t,n,r)}).reduce(ge,[])}},t.prototype.dynamic=function(){var e=this._changedParams();return!!e&&e.map(function(e){return e.dynamic}).reduce(me,!1)},t.prototype.ignored=function(){return!!this._ignoredReason()},t.prototype._ignoredReason=function(){var e=this.router.globals.transition,r=this._options.reloadState,t=function(e,t){if(e.length!==t.length)return!1;var n=Et.matching(e,t);return e.length===n.filter(function(e){return!r||!e.state.includes[r.name]}).length},n=this.treeChanges(),i=e&&e.treeChanges();return i&&t(i.to,n.to)&&t(i.exiting,n.exiting)?"SameAsPending":0===n.exiting.length&&0===n.entering.length&&t(n.from,n.to)?"SameAsCurrent":void 0},t.prototype.run=function(){var t=this,n=Jt.runAllHooks,r=function(e){return t._hookBuilder.buildHooksForPhase(e)},e=r(m.TransitionHookPhase.BEFORE);return Jt.invokeHooks(e,function(){var e=t.router.globals;return e.lastStartedTransitionId=t.$id,e.transition=t,e.transitionHistory.enqueue(t),mt.traceTransitionStart(t),L.$q.when(void 0)}).then(function(){var e=r(m.TransitionHookPhase.RUN);return Jt.invokeHooks(e,function(){return L.$q.when(void 0)})}).then(function(){mt.traceSuccess(t.$to(),t),t.success=!0,t._deferred.resolve(t.to()),n(r(m.TransitionHookPhase.SUCCESS))},function(e){mt.traceError(e,t),t.success=!1,t._deferred.reject(e),t._error=e,n(r(m.TransitionHookPhase.ERROR))}),this.promise},t.prototype.valid=function(){return!this.error()||void 0!==this.success},t.prototype.abort=function(){w(this.success)&&(this._aborted=!0)},t.prototype.error=function(){var e=this.$to();if(e.self.abstract)return Fe.invalid("Cannot transition to abstract state '"+e.name+"'");var t=e.parameters(),n=this.params(),r=t.filter(function(e){return!e.validates(n[e.id])});if(r.length){var i=r.map(function(e){return"["+e.id+":"+ze(n[e.id])+"]"}).join(", "),a="The following parameter values are not valid for state '"+e.name+"': "+i;return Fe.invalid(a)}return!1===this.success?this._error:void 0},t.prototype.toString=function(){var e=this.from(),t=this.to(),n=function(e){return null!==e["#"]&&void 0!==e["#"]?e:se(e,["#"])};return"Transition#"+this.$id+"( '"+(I(e)?e.name:e)+"'"+ze(n(this._treeChanges.from.map(v("paramValues")).reduce(ie,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+(I(t)?t.name:t)+"'"+ze(n(this.params()))+" )"},t.diToken=t}();function sn(e,t){var n=["",""],r=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return r;switch(t.squash){case!1:n=["(",")"+(t.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+t.squash+"|",")?"]}return r+n[0]+t.type.pattern.source+n[1]}var cn=et("/"),ln={state:{params:{}},strict:!0,caseInsensitive:!0},un=function(){function g(a,o,e,t){var s=this;this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.config=t=re(t,ln),this.pattern=a;for(var n,r,i,c=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,l=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,u=[],f=0,d=function(e){if(!g.nameValidator.test(e))throw new Error("Invalid parameter name '"+e+"' in pattern '"+a+"'");if(ue(s._params,_("id",e)))throw new Error("Duplicate parameter name '"+e+"' in pattern '"+a+"'")},h=function(e,t){var n,r=e[2]||e[3],i=t?e[4]:e[4]||("*"===e[1]?"[\\s\\S]*":null);return{id:r,regexp:i,segment:a.substring(f,e.index),type:i?o.type(i)||(n=i,K(o.type(t?"query":"path"),{pattern:new RegExp(n,s.config.caseInsensitive?"i":void 0)})):null}};(n=c.exec(a))&&!(0<=(r=h(n,!1)).segment.indexOf("?"));)d(r.id),this._params.push(e.fromPath(r.id,r.type,t.state)),this._segments.push(r.segment),u.push([r.segment,Ee(this._params)]),f=c.lastIndex;var p=(i=a.substring(f)).indexOf("?");if(0<=p){var m=i.substring(p);if(i=i.substring(0,p),0<m.length)for(f=0;n=l.exec(m);)d((r=h(n,!0)).id),this._params.push(e.fromSearch(r.id,r.type,t.state)),f=c.lastIndex}this._segments.push(i),this._compiled=u.map(function(e){return sn.apply(null,e)}).concat(sn(i))}return g.encodeDashes=function(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})},g.pathSegmentsAndParams=function(e){return xe(e._segments,e._params.filter(function(e){return e.location===m.DefType.PATH}).concat(void 0)).reduce(ge,[]).filter(function(e){return""!==e&&T(e)})},g.queryParams=function(e){return e._params.filter(function(e){return e.location===m.DefType.SEARCH})},g.compare=function(e,t){var n=function(e){return e._cache.weights=e._cache.weights||(t=e,t._cache.segments=t._cache.segments||t._cache.path.map(g.pathSegmentsAndParams).reduce(ge,[]).reduce(tt,[]).map(function(e){return D(e)?cn(e):e}).reduce(ge,[])).map(function(e){return"/"===e?1:D(e)?2:e instanceof At?3:void 0});var t},r=n(e),i=n(t);!function(e,t,n){for(var r=Math.max(e.length,t.length);e.length<r;)e.push(n);for(;t.length<r;)t.push(n)}(r,i,0);var a,o,s=xe(r,i);for(o=0;o<s.length;o++)if(0!==(a=s[o][0]-s[o][1]))return a;return 0},g.prototype.append=function(e){return this._children.push(e),e._cache={path:this._cache.path.concat(e),parent:this,pattern:null},e},g.prototype.isRoot=function(){return this._cache.path[0]===this},g.prototype.toString=function(){return this.pattern},g.prototype.exec=function(e,r,t,n){var i=this;void 0===r&&(r={});var a,o,s,c=(a=this._cache,o="pattern",s=function(){return new RegExp(["^",ye(i._cache.path.map(v("_compiled"))).join(""),!1===i.config.strict?"/?":"","$"].join(""),i.config.caseInsensitive?"i":void 0)},a[o]=a[o]||s()).exec(e);if(!c)return null;var l,u=this.parameters(),f=u.filter(function(e){return!e.isSearch()}),d=u.filter(function(e){return e.isSearch()}),h=this._cache.path.map(function(e){return e._segments.length-1}).reduce(function(e,t){return e+t}),p={};if(h!==c.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");for(var m=0;m<h;m++){for(var g=f[m],_=c[m+1],b=0;b<g.replace.length;b++)g.replace[b].from===_&&(_=g.replace[b].to);_&&!0===g.array&&(void 0,_=de(de((l=function(e){return e.split("").reverse().join("")})(_).split(/-(?!\\)/),l),function(e){return e.replace(/\\-/g,"-")}).reverse()),T(_)&&(_=g.type.decode(_)),p[g.id]=g.value(_)}return d.forEach(function(e){for(var t=r[e.id],n=0;n<e.replace.length;n++)e.replace[n].from===t&&(t=e.replace[n].to);T(t)&&(t=e.type.decode(t)),p[e.id]=e.value(t)}),t&&(p["#"]=t),p},g.prototype.parameters=function(e){return void 0===e&&(e={}),!1===e.inherit?this._params:ye(this._cache.path.map(function(e){return e._params}))},g.prototype.parameter=function(r,e){var i=this;void 0===e&&(e={});var t=this._cache.parent;return function(){for(var e=0,t=i._params;e<t.length;e++){var n=t[e];if(n.id===r)return n}}()||!1!==e.inherit&&t&&t.parameter(r,e)||null},g.prototype.validates=function(r){return r=r||{},this.parameters().filter(function(e){return r.hasOwnProperty(e.id)}).map(function(e){return n=r[(t=e).id],!t||t.validates(n);var t,n}).reduce(pe,!0)},g.prototype.format=function(o){void 0===o&&(o={});var e=this._cache.path,t=e.map(g.pathSegmentsAndParams).reduce(ge,[]).map(function(e){return D(e)?e:r(e)}),n=e.map(g.queryParams).reduce(ge,[]).map(r);if(t.concat(n).filter(function(e){return!1===e.isValid}).length)return null;function r(e){var t=e.value(o[e.id]),n=e.validates(t),r=e.isDefaultValue(t),i=!!r&&e.squash,a=e.type.encode(t);return{param:e,value:t,isValid:n,isDefaultValue:r,squash:i,encoded:a}}var i=t.reduce(function(e,t){if(D(t))return e+t;var n=t.squash,r=t.encoded,i=t.param;return!0===n?e.match(/\/$/)?e.slice(0,-1):e:D(n)?e+n:!1!==n?e:null==r?e:P(r)?e+de(r,g.encodeDashes).join("-"):i.raw?e+r:e+encodeURIComponent(r)},""),a=n.map(function(e){var t=e.param,n=e.squash,r=e.encoded,i=e.isDefaultValue;if(!(null==r||i&&!1!==n)&&(P(r)||(r=[r]),0!==r.length))return t.raw||(r=de(r,encodeURIComponent)),r.map(function(e){return t.id+"="+e})}).filter(z).reduce(ge,[]).join("&");return i+(a?"?"+a:"")+(o["#"]?"#"+o["#"]:"")},g.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,g}(),fn=function(){return(fn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},dn=function(){function e(e){this.router=e}return e.prototype.fromConfig=function(e,t,n){return new At(e,t,m.DefType.CONFIG,this.router.urlService.config,n)},e.prototype.fromPath=function(e,t,n){return new At(e,t,m.DefType.PATH,this.router.urlService.config,n)},e.prototype.fromSearch=function(e,t,n){return new At(e,t,m.DefType.SEARCH,this.router.urlService.config,n)},e}(),hn=function(){function e(e){var r=this;this.router=e,this.paramFactory=new dn(this.router),this.caseInsensitive=function(e){return r.router.urlService.config.caseInsensitive(e)},this.defaultSquashPolicy=function(e){return r.router.urlService.config.defaultSquashPolicy(e)},this.strictMode=function(e){return r.router.urlService.config.strictMode(e)},this.type=function(e,t,n){return r.router.urlService.config.type(e,t,n)||r},W(this,{UrlMatcher:un,Param:At})}return e.prototype.compile=function(e,t){var n=this.router.urlService.config,r=t&&!t.state&&t.params;t=r?fn({state:{params:r}},t):t;var i={strict:n._isStrictMode,caseInsensitive:n._isCaseInsensitive};return new un(e,n.paramTypes,this.paramFactory,W(i,t))},e.prototype.isMatcher=function(n){if(!I(n))return!1;var r=!0;return H(un.prototype,function(e,t){k(e)&&(r=r&&T(n[t])&&k(n[t]))}),r},e.prototype.$get=function(){var e=this.router.urlService.config;return e.paramTypes.enqueue=!1,e.paramTypes._flushTypeQueue(),this},e}(),pn=function(){function e(e){this.router=e}return e.prototype.compile=function(e){return this.router.urlMatcherFactory.compile(e)},e.prototype.create=function(e,t){var n=this,r=Yt.isState,i=g([[D,function(e){return i(n.compile(e))}],[h(un),function(e){return n.fromUrlMatcher(e,t)}],[r,function(e){return n.fromState(e,n.router)}],[h(RegExp),function(e){return n.fromRegExp(e,t)}],[k,function(e){return new mn(e,t)}]]),a=i(e);if(!a)throw new Error("invalid 'what' in when()");return a},e.prototype.fromUrlMatcher=function(n,t){var e=t;D(t)&&(t=this.router.urlMatcherFactory.compile(t)),h(un)(t)&&(e=function(e){return t.format(e)});var r={urlMatcher:n,matchPriority:function(t){var e=n.parameters().filter(function(e){return e.isOptional});return e.length?e.filter(function(e){return t[e.id]}).length/e.length:1e-6},type:"URLMATCHER"};return W(new mn(function(e){var t=n.exec(e.path,e.search,e.hash);return n.validates(t)&&t},e),r)},e.prototype.fromState=function(r,i){var e={state:r,type:"STATE"};return W(this.fromUrlMatcher(r.url,function(e){var t=i.stateService,n=i.globals;t.href(r,e)!==t.href(n.current,n.params)&&t.transitionTo(r,e,{inherit:!0,source:"url"})}),e)},e.prototype.fromRegExp=function(t,e){if(t.global||t.sticky)throw new Error("Rule RegExp must not be global or sticky");var n=D(e)?function(n){return e.replace(/\$(\$|\d{1,2})/,function(e,t){return n["$"===t?0:Number(t)]})}:e,r={regexp:t,type:"REGEXP"};return W(new mn(function(e){return t.exec(e.path)},n),r)},e.isUrlRule=function(t){return t&&["type","match","handler"].every(function(e){return T(t[e])})},e}(),mn=function(e,t){var n=this;this.match=e,this.type="RAW",this.matchPriority=function(e){return 0-n.$id},this.handler=t||z};var gn,_n=function(){function e(e){var r=this;this.router=e,this.sync=function(e){return r.router.urlService.sync(e)},this.listen=function(e){return r.router.urlService.listen(e)},this.deferIntercept=function(e){return r.router.urlService.deferIntercept(e)},this.match=function(e){return r.router.urlService.match(e)},this.initial=function(e){return r.router.urlService.rules.initial(e)},this.otherwise=function(e){return r.router.urlService.rules.otherwise(e)},this.removeRule=function(e){return r.router.urlService.rules.removeRule(e)},this.rule=function(e){return r.router.urlService.rules.rule(e)},this.rules=function(){return r.router.urlService.rules.rules()},this.sort=function(e){return r.router.urlService.rules.sort(e)},this.when=function(e,t,n){return r.router.urlService.rules.when(e,t,n)},this.urlRuleFactory=new pn(e)}return e.prototype.update=function(e){var t=this.router.locationService;e?this.location=t.url():t.url()!==this.location&&t.url(this.location,!0)},e.prototype.push=function(e,t,n){var r=n&&!!n.replace;this.router.urlService.url(e.format(t||{}),r)},e.prototype.href=function(e,t,n){var r=e.format(t);if(null==r)return null;n=n||{absolute:!1};var i,a,o,s,c=this.router.urlService.config,l=c.html5Mode();if(l||null===r||(r="#"+c.hashPrefix()+r),i=r,a=l,o=n.absolute,r="/"===(s=c.baseHref())?i:a?Ke(s)+i:o?s.slice(1)+i:i,!n.absolute||!r)return r;var u=!l&&r?"/":"",f=c.port(),d=80===f||443===f?"":":"+f;return[c.protocol(),"://",c.host(),d,u,r].join("")},Object.defineProperty(e.prototype,"interceptDeferred",{get:function(){return this.router.urlService.interceptDeferred},enumerable:!0,configurable:!0}),e}(),bn=function(){function c(e){var n=this;this.router=e,this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._listeners=[],this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIView:function(t){return ue(n._uiViews,function(e){return n.router.$id+"."+e.id===t})},_registeredUIViews:function(){return n._uiViews},_activeViewConfigs:function(){return n._viewConfigs},_onSync:function(e){return n._listeners.push(e),function(){return Z(n._listeners,e)}}}}return c.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=D(n[1])?n[1]:"^",a=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);a&&(i=a[1],r=a[2]),"!"===r.charAt(0)&&(r=r.substr(1),i="");/^(\^(?:\.\^)*)$/.exec(i)?i=i.split(".").reduce(function(e,t){return e.parent},e).name:"."===i&&(i=e.name);return{uiViewName:r,uiViewContextAnchor:i}},c.prototype._rootViewContext=function(e){return this._rootContext=e||this._rootContext},c.prototype._viewConfigFactory=function(e,t){this._viewConfigFactories[e]=t},c.prototype.createViewConfig=function(e,t){var n=this._viewConfigFactories[t.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+t.$type);var r=n(e,t);return P(r)?r:[r]},c.prototype.deactivateViewConfig=function(e){mt.traceViewServiceEvent("<- Removing",e),Z(this._viewConfigs,e)},c.prototype.activateViewConfig=function(e){mt.traceViewServiceEvent("-> Registering",e),this._viewConfigs.push(e)},c.prototype.sync=function(){var n=this,r=this._uiViews.map(function(e){return[e.fqn,e]}).reduce(ke,{});function i(e){for(var t=e.viewDecl.$context,n=0;++n&&t.parent;)t=t.parent;return n}var a=l(function(e,t,n,r){return t*(e(n)-e(r))}),e=this._uiViews.sort(a(function(e){var t=function(e){return e&&e.parent?t(e.parent)+1:1};return 1e4*e.fqn.split(".").length+t(e.creationContext)},1)).map(function(e){var t=n._viewConfigs.filter(c.matches(r,e));return 1<t.length&&t.sort(a(i,-1)),{uiView:e,viewConfig:t[0]}}),t=e.map(function(e){return e.viewConfig}),o=this._viewConfigs.filter(function(e){return!Q(t,e)}).map(function(e){return{uiView:void 0,viewConfig:e}});e.forEach(function(e){-1!==n._uiViews.indexOf(e.uiView)&&e.uiView.configUpdated(e.viewConfig)});var s=e.concat(o);this._listeners.forEach(function(e){return e(s)}),mt.traceViewSync(s)},c.prototype.registerUIView=function(t){mt.traceViewServiceUIViewEvent("-> Registering",t);var e=this._uiViews;return e.filter(function(e){return e.fqn===t.fqn&&e.$type===t.$type}).length&&mt.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",t),e.push(t),this.sync(),function(){-1!==e.indexOf(t)?(mt.traceViewServiceUIViewEvent("<- Deregistering",t),Z(e)(t)):mt.traceViewServiceUIViewEvent("Tried removing non-registered uiView",t)}},c.prototype.available=function(){return this._uiViews.map(v("fqn"))},c.prototype.active=function(){return this._uiViews.filter(v("$config")).map(v("name"))},c.matches=function(s,c){return function(e){if(c.$type!==e.viewDecl.$type)return!1;var t=e.viewDecl,n=t.$uiViewName.split("."),r=c.fqn.split(".");if(!q(n,r.slice(0-n.length)))return!1;var i=1-n.length||void 0,a=r.slice(0,i).join("."),o=s[a].creationContext;return t.$uiViewContextAnchor===(o&&o.name)}},c}(),vn=function(){function e(){this.params=new Tt,this.lastStartedTransitionId=-1,this.transitionHistory=new Ne([],1),this.successfulTransitions=new Ne([],1)}return e.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},e}();function yn(e){if(!(k(e)||D(e)||h(kt)(e)||kt.isDef(e)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return k(e)?e:p(e)}gn=function(e,t){var n,r,i,a,o,s,c,l,u=(n=e,(t.priority||0)-(n.priority||0));return 0!==u?u:(r=t,0!==(u=((i={STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1})[e.type]||0)-(i[r.type]||0))?u:(o=t,0!==(u=(a=e).urlMatcher&&o.urlMatcher?un.compare(a.urlMatcher,o.urlMatcher):0)?u:(c=t,(l={STATE:!0,URLMATCHER:!0})[(s=e).type]&&l[c.type]?0:(s.$id||0)-(c.$id||0))))};var wn=function(){function e(e){this.router=e,this._sortFn=gn,this._rules=[],this._id=0,this.urlRuleFactory=new pn(e)}return e.prototype.dispose=function(e){this._rules=[],delete this._otherwiseFn},e.prototype.initial=function(e){var t=yn(e);this.rule(this.urlRuleFactory.create(function(e,t){return 0===t.globals.transitionHistory.size()&&!!/^\/?$/.exec(e.path)},t))},e.prototype.otherwise=function(e){var t=yn(e);this._otherwiseFn=this.urlRuleFactory.create(p(!0),t),this._sorted=!1},e.prototype.removeRule=function(e){Z(this._rules,e)},e.prototype.rule=function(e){var t=this;if(!pn.isUrlRule(e))throw new Error("invalid rule");return e.$id=this._id++,e.priority=e.priority||0,this._rules.push(e),this._sorted=!1,function(){return t.removeRule(e)}},e.prototype.rules=function(){return this.ensureSorted(),this._rules.concat(this._otherwiseFn?[this._otherwiseFn]:[])},e.prototype.sort=function(e){for(var t=this.stableSort(this._rules,this._sortFn=e||this._sortFn),n=0,r=0;r<t.length;r++)t[r]._group=n,r<t.length-1&&0!==this._sortFn(t[r],t[r+1])&&n++;this._rules=t,this._sorted=!0},e.prototype.ensureSorted=function(){this._sorted||this.sort()},e.prototype.stableSort=function(e,r){var t=e.map(function(e,t){return{elem:e,idx:t}});return t.sort(function(e,t){var n=r(e.elem,t.elem);return 0===n?e.idx-t.idx:n}),t.map(function(e){return e.elem})},e.prototype.when=function(e,t,n){var r=this.urlRuleFactory.create(e,t);return T(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},e}(),Cn=function(){function e(e){var t=this;this.router=e,this.paramTypes=new St,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this.dispose=function(){return t.paramTypes.dispose()},this.baseHref=function(){return t.router.locationConfig.baseHref()},this.hashPrefix=function(e){return t.router.locationConfig.hashPrefix(e)},this.host=function(){return t.router.locationConfig.host()},this.html5Mode=function(){return t.router.locationConfig.html5Mode()},this.port=function(){return t.router.locationConfig.port()},this.protocol=function(){return t.router.locationConfig.protocol()}}return e.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=T(e)?e:this._isCaseInsensitive},e.prototype.defaultSquashPolicy=function(e){if(T(e)&&!0!==e&&!1!==e&&!D(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=T(e)?e:this._defaultSquashPolicy},e.prototype.strictMode=function(e){return this._isStrictMode=T(e)?e:this._isStrictMode},e.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return T(t)?this:r},e}(),An=function(){function e(e){var r=this;this.router=e,this.interceptDeferred=!1,this.rules=new wn(this.router),this.config=new Cn(this.router),this.url=function(e,t,n){return r.router.locationService.url(e,t,n)},this.path=function(){return r.router.locationService.path()},this.search=function(){return r.router.locationService.search()},this.hash=function(){return r.router.locationService.hash()},this.onChange=function(e){return r.router.locationService.onChange(e)}}return e.prototype.dispose=function(){this.listen(!1),this.rules.dispose()},e.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},e.prototype.sync=function(e){if(!e||!e.defaultPrevented){var t=this.router,n=t.urlService,r=t.stateService,i={path:n.path(),search:n.search(),hash:n.hash()},a=this.match(i);g([[D,function(e){return n.url(e,!0)}],[kt.isDef,function(e){return r.go(e.state,e.params,e.options)}],[h(kt),function(e){return r.go(e.state(),e.params(),e.options())}]])(a&&a.rule.handler(a.match,i,this.router))}},e.prototype.listen=function(e){var t=this;if(!1!==e)return this._stopListeningFn=this._stopListeningFn||this.router.urlService.onChange(function(e){return t.sync(e)});this._stopListeningFn&&this._stopListeningFn(),delete this._stopListeningFn},e.prototype.deferIntercept=function(e){void 0===e&&(e=!0),this.interceptDeferred=e},e.prototype.match=function(e){var t=this;e=W({path:"",search:{},hash:""},e);for(var n,r,i,a=this.rules.rules(),o=0;o<a.length&&(!n||n.rule._group===a[o]._group);o++){var s=(r=a[o],void 0,(i=r.match(e,t.router))&&{match:i,rule:r,weight:r.matchPriority(i)});n=!n||s&&s.weight>n.weight?s:n}return n},e}(),Sn=0,Tn=N("LocationServices",["url","path","search","hash","onChange"]),xn=N("LocationConfig",["port","protocol","host","baseHref","html5Mode","hashPrefix"]),kn=function(){function e(e,t){void 0===e&&(e=Tn),void 0===t&&(t=xn),this.locationService=e,this.locationConfig=t,this.$id=Sn++,this._disposed=!1,this._disposables=[],this.trace=mt,this.viewService=new bn(this),this.globals=new vn,this.transitionService=new Kn(this),this.urlMatcherFactory=new hn(this),this.urlRouter=new _n(this),this.urlService=new An(this),this.stateRegistry=new Xt(this),this.stateService=new Qn(this),this._plugins={},this.viewService._pluginapi._rootViewContext(this.stateRegistry.root()),this.globals.$current=this.stateRegistry.root(),this.globals.current=this.globals.$current.self,this.disposable(this.globals),this.disposable(this.stateService),this.disposable(this.stateRegistry),this.disposable(this.transitionService),this.disposable(this.urlService),this.disposable(e),this.disposable(t)}return e.prototype.disposable=function(e){this._disposables.push(e)},e.prototype.dispose=function(e){var t=this;e&&k(e.dispose)?e.dispose(this):(this._disposed=!0,this._disposables.slice().forEach(function(e){try{"function"==typeof e.dispose&&e.dispose(t),Z(t._disposables,e)}catch(e){}}))},e.prototype.plugin=function(e,t){void 0===t&&(t={});var n=new e(this,t);if(!n.name)throw new Error("Required property `name` missing on plugin: "+n);return this._disposables.push(n),this._plugins[n.name]=n},e.prototype.getPlugin=function(e){return e?this._plugins[e]:he(this._plugins)},e}();function En(t){t.addResolvable(Pt.fromData(kn,t.router),""),t.addResolvable(Pt.fromData(on,t),""),t.addResolvable(Pt.fromData("$transition$",t),""),t.addResolvable(Pt.fromData("$stateParams",t.params()),""),t.entering().forEach(function(e){t.addResolvable(Pt.fromData("$state$",e),e)})}var Dn=Q(["$transition$",on]),In=function(e){var t=he(e.treeChanges()).reduce(ge,[]).reduce(ve,[]),n=function(e){return Dn(e.token)?Pt.fromData(e.token,null):e};t.forEach(function(e){e.resolvables=e.resolvables.map(n)})},Pn=function(t){var e=t.to().redirectTo;if(e){var n=t.router.stateService;return k(e)?L.$q.when(e(t)).then(r):r(e)}function r(e){if(e)return e instanceof kt?e:D(e)?n.target(e,t.params(),t.options()):e.state||e.params?n.target(e.state||t.to(),e.params||t.params(),t.options()):void 0}};function Mn(n){return function(e,t){return(0,t.$$state()[n])(e,t)}}var $n=Mn("onExit"),On=Mn("onRetain"),Rn=Mn("onEnter"),Nn=function(e){return new Nt(e.treeChanges().to).resolvePath("EAGER",e).then(V)},Ln=function(e,t){return new Nt(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(V)},Fn=function(e){return new Nt(e.treeChanges().to).resolvePath("LAZY",e).then(V)},Gn=function(e){var t=L.$q,n=e.views("entering");if(n.length)return t.all(n.map(function(e){return t.when(e.load())})).then(V)},jn=function(e){var t=e.views("entering"),n=e.views("exiting");if(t.length||n.length){var r=e.router.viewService;n.forEach(function(e){return r.deactivateViewConfig(e)}),t.forEach(function(e){return r.activateViewConfig(e)}),r.sync()}},Bn=function(e){var t=e.router.globals,n=function(){t.transition===e&&(t.transition=null)};e.onSuccess({},function(){t.successfulTransitions.enqueue(e),t.$current=e.$to(),t.current=t.$current.self,De(e.params(),t.params)},{priority:1e4}),e.promise.then(n,n)},Un=function(e){var t=e.options(),n=e.router.stateService,r=e.router.urlRouter;if("url"!==t.source&&t.location&&n.$current.navigable){var i={replace:"replace"===t.location};r.push(n.$current.navigable.url,n.params,i)}r.update(!0)},Hn=function(o){var s=o.router;var e=o.entering().filter(function(e){return!!e.$$state().lazyLoad}).map(function(e){return Wn(o,e)});return L.$q.all(e).then(function(){if("url"!==o.originalTransition().options().source){var e=o.targetState();return s.stateService.target(e.identifier(),e.params(),e.options())}var t=s.urlService,n=t.match(t.parts()),r=n&&n.rule;if(r&&"STATE"===r.type){var i=r.state,a=n.match;return s.stateService.target(i,a,o.options())}s.urlService.sync()})};function Wn(t,n){var r=n.$$state().lazyLoad,e=r._promise;if(!e){e=r._promise=L.$q.when(r(t,n)).then(function(e){e&&Array.isArray(e.states)&&e.states.forEach(function(e){return t.router.stateRegistry.register(e)});return e}).then(function(e){return delete n.lazyLoad,delete n.$$state().lazyLoad,delete r._promise,e},function(e){return delete r._promise,L.$q.reject(e)})}return e}var qn=function(e,t,n,r,i,a,o,s){void 0===i&&(i=!1),void 0===a&&(a=Jt.HANDLE_RESULT),void 0===o&&(o=Jt.REJECT_ERROR),void 0===s&&(s=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=r,this.reverseSort=i,this.getResultHandler=a,this.getErrorHandler=o,this.synchronous=s};function zn(e){var t=e._ignoredReason();if(t){mt.traceTransitionIgnored(e);var n=e.router.globals.transition;return"SameAsCurrent"===t&&n&&n.abort(),Fe.ignored().toPromise()}}function Vn(e){if(!e.valid())throw new Error(e.error().toString())}var Yn={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,supercede:!0,custom:{},current:function(){return null},source:"unknown"},Kn=function(){function e(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=Y(p(this),{},p(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks(),e.globals.successfulTransitions.onEvict(In)}return e.prototype.onCreate=function(e,t,n){},e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.dispose=function(e){he(this._registeredHooks).forEach(function(t){return t.forEach(function(e){e._deregistered=!0,Z(t,e)})})},e.prototype.create=function(e,t){return new on(e,t,this._router)},e.prototype._defineCoreEvents=function(){var e=m.TransitionHookPhase,t=Jt,n=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,n.to,!1,t.LOG_REJECTED_RESULT,t.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,n.to),this._defineEvent("onStart",e.RUN,0,n.to),this._defineEvent("onExit",e.RUN,100,n.exiting,!0),this._defineEvent("onRetain",e.RUN,200,n.retained),this._defineEvent("onEnter",e.RUN,300,n.entering),this._defineEvent("onFinish",e.RUN,400,n.to),this._defineEvent("onSuccess",e.SUCCESS,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0)},e.prototype._defineCorePaths=function(){var e=m.TransitionHookScope.STATE,t=m.TransitionHookScope.TRANSITION;this._definePathType("to",t),this._definePathType("from",t),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},e.prototype._defineEvent=function(e,t,n,r,i,a,o,s){void 0===i&&(i=!1),void 0===a&&(a=Jt.HANDLE_RESULT),void 0===o&&(o=Jt.REJECT_ERROR),void 0===s&&(s=!1);var c=new qn(e,t,n,r,i,a,o,s);this._eventTypes.push(c),nn(this,this,c)},e.prototype._getEvents=function(t){return(T(t)?this._eventTypes.filter(function(e){return e.hookPhase===t}):this._eventTypes.slice()).sort(function(e,t){var n=e.hookPhase-t.hookPhase;return 0===n?e.hookOrder-t.hookOrder:n})},e.prototype._definePathType=function(e,t){this._criteriaPaths[e]={name:e,scope:t}},e.prototype._getPathTypes=function(){return this._criteriaPaths},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype._registerCoreTransitionHooks=function(){var e=this._deregisterHookFns;e.addCoreResolves=this.onCreate({},En),e.ignored=this.onBefore({},zn,{priority:-9999}),e.invalid=this.onBefore({},Vn,{priority:-1e4}),e.redirectTo=this.onStart({to:function(e){return!!e.redirectTo}},Pn),e.onExit=this.onExit({exiting:function(e){return!!e.onExit}},$n),e.onRetain=this.onRetain({retained:function(e){return!!e.onRetain}},On),e.onEnter=this.onEnter({entering:function(e){return!!e.onEnter}},Rn),e.eagerResolve=this.onStart({},Nn,{priority:1e3}),e.lazyResolve=this.onEnter({entering:p(!0)},Ln,{priority:1e3}),e.resolveAll=this.onFinish({},Fn,{priority:1e3}),e.loadViews=this.onFinish({},Gn),e.activateViews=this.onSuccess({},jn),e.updateGlobals=this.onCreate({},Bn),e.updateUrl=this.onSuccess({},Un,{priority:9999}),e.lazyLoad=this.onBefore({entering:function(e){return!!e.lazyLoad}},Hn)},e}(),Qn=function(){function n(e){this.router=e,this.invalidCallbacks=[],this._defaultErrorHandler=function(e){e instanceof Error&&e.stack?(console.error(e),console.error(e.stack)):e instanceof Fe?(console.error(e.toString()),e.detail&&e.detail.stack&&console.error(e.detail.stack)):console.error(e)};var t=Object.keys(n.prototype).filter(f(Q(["current","$current","params","transition"])));Y(p(n.prototype),this,p(this),t)}return Object.defineProperty(n.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!0,configurable:!0}),n.prototype.dispose=function(){this.defaultErrorHandler(V),this.invalidCallbacks=[]},n.prototype._handleInvalidTargetState=function(e,n){var r=this,i=Et.makeTargetState(this.router.stateRegistry,e),t=this.router.globals,a=function(){return t.transitionHistory.peekTail()},o=a(),s=new Ne(this.invalidCallbacks.slice()),c=new Nt(e).injector(),l=function(e){if(e instanceof kt){var t=e;return(t=r.target(t.identifier(),t.params(),t.options())).valid()?a()!==o?Fe.superseded().toPromise():r.transitionTo(t.identifier(),t.params(),t.options()):Fe.invalid(t.error()).toPromise()}};return function t(){var e=s.dequeue();return void 0===e?Fe.invalid(n.error()).toPromise():L.$q.when(e(n,i,c)).then(l).then(function(e){return e||t()})}()},n.prototype.onInvalid=function(e){return this.invalidCallbacks.push(e),function(){Z(this.invalidCallbacks)(e)}.bind(this)},n.prototype.reload=function(e){return this.transitionTo(this.current,this.params,{reload:!T(e)||e,inherit:!1,notify:!1})},n.prototype.go=function(e,t,n){var r=re(n,{relative:this.$current,inherit:!0},Yn);return this.transitionTo(e,t,r)},n.prototype.target=function(e,t,n){if(void 0===n&&(n={}),I(n.reload)&&!n.reload.name)throw new Error("Invalid reload state object");var r=this.router.stateRegistry;if(n.reloadState=!0===n.reload?r.root():r.matcher.find(n.reload,n.relative),n.reload&&!n.reloadState)throw new Error("No such reload state '"+(D(n.reload)?n.reload:n.reload.name)+"'");return new kt(this.router.stateRegistry,e,t,n)},n.prototype.getCurrentPath=function(){var e=this,t=this.router.globals.successfulTransitions.peekTail();return t?t.treeChanges().to:[new xt(e.router.stateRegistry.root())]},n.prototype.transitionTo=function(e,t,n){var a=this;void 0===t&&(t={}),void 0===n&&(n={});var o=this.router,s=o.globals;n=re(n,Yn);var r=function(){return s.transition};n=W(n,{current:r});var i=this.target(e,t,n),c=this.getCurrentPath();if(!i.exists())return this._handleInvalidTargetState(c,i);if(!i.valid())return Oe(i.error());if(!1===n.supercede&&r())return Fe.ignored("Another transition is in progress and supercede has been set to false in TransitionOptions for the transition. So the transition was ignored in favour of the existing one in progress.").toPromise();var l=function(i){return function(e){if(e instanceof Fe){var t=o.globals.lastStartedTransitionId<=i.$id;if(e.type===m.RejectType.IGNORED)return t&&o.urlRouter.update(),L.$q.when(s.current);var n=e.detail;if(e.type===m.RejectType.SUPERSEDED&&e.redirected&&n instanceof kt){var r=i.redirect(n);return r.run().catch(l(r))}if(e.type===m.RejectType.ABORTED)return t&&o.urlRouter.update(),L.$q.reject(e)}return a.defaultErrorHandler()(e),L.$q.reject(e)}},u=this.router.transitionService.create(c,i),f=u.run().catch(l(u));return $e(f),W(f,{transition:u})},n.prototype.is=function(e,t,n){n=re(n,{relative:this.$current});var r=this.router.stateRegistry.matcher.find(e,n.relative);if(T(r)){if(this.$current!==r)return!1;if(!t)return!0;var i=r.parameters({inherit:!0,matchingKeys:t});return At.equals(i,At.values(i,t),this.params)}},n.prototype.includes=function(e,t,n){n=re(n,{relative:this.$current});var r=D(e)&&Re.fromString(e);if(r){if(!r.matches(this.$current.name))return!1;e=this.$current.name}var i=this.router.stateRegistry.matcher.find(e,n.relative),a=this.$current.includes;if(T(i)){if(!T(a[i.name]))return!1;if(!t)return!0;var o=i.parameters({inherit:!0,matchingKeys:t});return At.equals(o,At.values(o,t),this.params)}},n.prototype.href=function(e,t,n){n=re(n,{lossy:!0,inherit:!0,absolute:!1,relative:this.$current}),t=t||{};var r=this.router.stateRegistry.matcher.find(e,n.relative);if(!T(r))return null;n.inherit&&(t=this.params.$inherit(t,this.$current,r));var i=r&&n.lossy?r.navigable:r;return i&&void 0!==i.url&&null!==i.url?this.router.urlRouter.href(i.url,t,{absolute:n.absolute}):null},n.prototype.defaultErrorHandler=function(e){return this._defaultErrorHandler=e||this._defaultErrorHandler},n.prototype.get=function(e,t){var n=this.router.stateRegistry;return 0===arguments.length?n.get():n.get(e,t||this.$current)},n.prototype.lazyLoad=function(e,t){var n=this.get(e);if(!n||!n.lazyLoad)throw new Error("Can not lazy load "+e);var r=this.getCurrentPath(),i=Et.makeTargetState(this.router.stateRegistry,r);return Wn(t=t||this.router.transitionService.create(r,i),n)},n}(),Xn={when:function(n){return new Promise(function(e,t){return e(n)})},reject:function(n){return new Promise(function(e,t){t(n)})},defer:function(){var n={};return n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n},all:function(e){if(P(e))return Promise.all(e);if(I(e)){var t=Object.keys(e).map(function(t){return e[t].then(function(e){return{key:t,val:e}})});return Xn.all(t).then(function(e){return e.reduce(function(e,t){return e[t.key]=t.val,e},{})})}}},Zn={},Jn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,er=/([^\s,]+)/g,tr={get:function(e){return Zn[e]},has:function(e){return null!=tr.get(e)},invoke:function(e,t,n){var r=W({},Zn,n||{}),i=tr.annotate(e),a=Ce(function(e){return r.hasOwnProperty(e)},function(e){return"DI can't find injectable: '"+e+"'"}),o=i.filter(a).map(function(e){return r[e]});return k(e)?e.apply(t,o):e.slice(-1)[0].apply(t,o)},annotate:function(e){if(!O(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if(P(e))return e.slice(0,-1);var t=e.toString().replace(Jn,"");return t.slice(t.indexOf("(")+1,t.indexOf(")")).match(er)||[]}},nr=function(e,t){var n=t[0],r=t[1];return e.hasOwnProperty(n)?P(e[n])?e[n].push(r):e[n]=[e[n],r]:e[n]=r,e},rr=function(e){return e.split("&").filter(z).map(Ze).reduce(nr,{})};function ir(e){var t=function(e){return e||""},n=Qe(e).map(t),r=n[0],i=n[1],a=Xe(r).map(t);return{path:a[0],search:a[1],hash:i,url:e}}var ar=function(e){var t=e.path(),n=e.search(),r=e.hash(),i=Object.keys(n).map(function(t){var e=n[t];return(P(e)?e:[e]).map(function(e){return t+"="+e})}).reduce(ge,[]).join("&");return t+(i?"?"+i:"")+(r?"#"+r:"")};function or(r,i,a,o){return function(e){var t=e.locationService=new a(e),n=e.locationConfig=new o(e,i);return{name:r,service:t,configuration:n,dispose:function(e){e.dispose(t),e.dispose(n)}}}}var sr,cr,lr,ur=function(){function e(e,t){var n=this;this.fireAfterUpdate=t,this._listeners=[],this._listener=function(t){return n._listeners.forEach(function(e){return e(t)})},this.hash=function(){return ir(n._get()).hash},this.path=function(){return ir(n._get()).path},this.search=function(){return rr(ir(n._get()).search)},this._location=G.location,this._history=G.history}return e.prototype.url=function(t,e){return void 0===e&&(e=!0),T(t)&&t!==this._get()&&(this._set(null,null,t,e),this.fireAfterUpdate&&this._listeners.forEach(function(e){return e({url:t})})),ar(this)},e.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return Z(t._listeners,e)}},e.prototype.dispose=function(e){ne(this._listeners)},e}(),fr=(sr=function(e,t){return(sr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}sr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),dr=function(n){function e(e){var t=n.call(this,e,!1)||this;return G.addEventListener("hashchange",t._listener,!1),t}return fr(e,n),e.prototype._get=function(){return Je(this._location.hash)},e.prototype._set=function(e,t,n,r){this._location.hash=n},e.prototype.dispose=function(e){n.prototype.dispose.call(this,e),G.removeEventListener("hashchange",this._listener)},e}(ur),hr=(cr=function(e,t){return(cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),pr=function(t){function e(e){return t.call(this,e,!0)||this}return hr(e,t),e.prototype._get=function(){return this._url},e.prototype._set=function(e,t,n,r){this._url=n},e}(ur),mr=(lr=function(e,t){return(lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}lr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),gr=function(n){function e(e){var t=n.call(this,e,!0)||this;return t._config=e.urlService.config,G.addEventListener("popstate",t._listener,!1),t}return mr(e,n),e.prototype._getBasePrefix=function(){return Ke(this._config.baseHref())},e.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;r=Xe(r)[1],n=Qe(n)[1];var i=this._getBasePrefix(),a=t===this._config.baseHref(),o=t.substr(0,i.length)===i;return(t=a?"/":o?t.substring(i.length):t)+(r?"?"+r:"")+(n?"#"+n:"")},e.prototype._set=function(e,t,n,r){var i=this._getBasePrefix(),a=n&&"/"!==n[0]?"/":"",o=""===n||"/"===n?this._config.baseHref():i+a+n;r?this._history.replaceState(e,t,o):this._history.pushState(e,t,o)},e.prototype.dispose=function(e){n.prototype.dispose.call(this,e),G.removeEventListener("popstate",this._listener)},e}(ur),_r=function(){var t=this;this.dispose=V,this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return t._port},this.protocol=function(){return t._protocol},this.host=function(){return t._host},this.baseHref=function(){return t._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(e){return T(e)?t._hashPrefix=e:t._hashPrefix}},br=function(){function e(e,t){void 0===t&&(t=!1),this._isHtml5=t,this._baseHref=void 0,this._hashPrefix=""}return e.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},e.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},e.prototype.host=function(){return location.hostname},e.prototype.html5Mode=function(){return this._isHtml5},e.prototype.hashPrefix=function(e){return T(e)?this._hashPrefix=e:this._hashPrefix},e.prototype.baseHref=function(e){return T(e)&&(this._baseHref=e),w(this._baseHref)&&(this._baseHref=this.getBaseHref()),this._baseHref},e.prototype.getBaseHref=function(){var e=document.getElementsByTagName("base")[0];return e&&e.href?e.href.replace(/^([^/:]*:)?\/\/[^/]*/,""):this._isHtml5?"/":location.pathname||"/"},e.prototype.dispose=function(){},e}();function vr(e){return L.$injector=tr,{name:"vanilla.services",$q:L.$q=Xn,$injector:tr,dispose:function(){return null}}}var yr=or("vanilla.hashBangLocation",!1,dr,br),wr=or("vanilla.pushStateLocation",!0,gr,br),Cr=or("vanilla.memoryLocation",!1,pr,_r),Ar=function(){function e(){}return e.prototype.dispose=function(e){},e}(),Sr=Object.freeze({__proto__:null,root:G,fromJson:B,toJson:U,forEach:H,extend:W,equals:q,identity:z,noop:V,createProxyFunctions:Y,inherit:K,inArray:Q,_inArray:X,removeFrom:Z,_removeFrom:J,pushTo:ee,_pushTo:te,deregAll:ne,defaults:re,mergeR:ie,ancestors:ae,pick:oe,omit:se,pluck:ce,filter:le,find:ue,mapObj:fe,map:de,values:he,allTrueR:pe,anyTrueR:me,unnestR:ge,flattenR:_e,pushR:be,uniqR:ve,unnest:ye,flatten:we,assertPredicate:Ce,assertMap:Ae,assertFn:Se,pairs:Te,arrayTuples:xe,applyPairs:ke,tail:Ee,copy:De,_extend:Ie,silenceUncaughtInPromise:$e,silentRejection:Oe,makeStub:N,services:L,Glob:Re,curry:l,compose:n,pipe:c,prop:v,propEq:_,parse:S,not:f,and:i,or:a,all:u,any:d,is:h,eq:o,val:p,invoke:s,pattern:g,isUndefined:w,isDefined:T,isNull:C,isNullOrUndefined:x,isFunction:k,isNumber:E,isString:D,isObject:I,isArray:P,isDate:M,isRegExp:$,isInjectable:O,isPromise:R,Queue:Ne,maxLength:Ge,padString:je,kebobString:Be,functionToString:Ue,fnToString:He,stringify:ze,beforeAfterSubstr:Ve,hostRegex:Ye,stripLastPathElement:Ke,splitHash:Qe,splitQuery:Xe,splitEqual:Ze,trimHashVal:Je,splitOnDelim:et,joinNeighborsR:tt,get Category(){return m.Category},Trace:pt,trace:mt,get DefType(){return m.DefType},Param:At,ParamTypes:St,StateParams:Tt,ParamType:gt,PathNode:xt,PathUtils:Et,resolvePolicies:Dt,defaultResolvePolicy:It,Resolvable:Pt,NATIVE_INJECTOR_TOKEN:Rt,ResolveContext:Nt,resolvablesBuilder:Wt,StateBuilder:Vt,StateObject:Yt,StateMatcher:Kt,StateQueueManager:Qt,StateRegistry:Xt,StateService:Qn,TargetState:kt,get TransitionHookPhase(){return m.TransitionHookPhase},get TransitionHookScope(){return m.TransitionHookScope},HookBuilder:rn,matchState:en,RegisteredHook:tn,makeEvent:nn,get RejectType(){return m.RejectType},Rejection:Fe,Transition:on,TransitionHook:Jt,TransitionEventType:qn,defaultTransOpts:Yn,TransitionService:Kn,UrlRules:wn,UrlConfig:Cn,UrlMatcher:un,ParamFactory:dn,UrlMatcherFactory:hn,UrlRouter:_n,UrlRuleFactory:pn,BaseUrlRule:mn,UrlService:An,ViewService:bn,UIRouterGlobals:vn,UIRouter:kn,$q:Xn,$injector:tr,BaseLocationServices:ur,HashLocationService:dr,MemoryLocationService:pr,PushStateLocationService:gr,MemoryLocationConfig:_r,BrowserLocationConfig:br,keyValsToObjectR:nr,getParams:rr,parseUrl:ir,buildUrl:ar,locationPluginFactory:or,servicesPlugin:vr,hashLocationPlugin:yr,pushStateLocationPlugin:wr,memoryLocationPlugin:Cr,UIRouterPluginBase:Ar});function Tr(){var n=null;return function(e,t){return n=n||L.$injector.get("$templateFactory"),[new Dr(e,t,n)]}}var xr=function(e,n){return e.reduce(function(e,t){return e||T(n[t])},!1)};function kr(r){if(!r.parent)return{};var i=["component","bindings","componentProvider"],a=["templateProvider","templateUrl","template","notify","async"].concat(["controller","controllerProvider","controllerAs","resolveAs"]),e=i.concat(a);if(T(r.views)&&xr(e,r))throw new Error("State '"+r.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level. Move the following properties into a view (in the 'views' object): "+e.filter(function(e){return T(r[e])}).join(", "));var o={},t=r.views||{$default:oe(r,e)};return H(t,function(e,t){if(t=t||"$default",D(e)&&(e={component:e}),e=W({},e),xr(i,e)&&xr(a,e))throw new Error("Cannot combine: "+i.join("|")+" with: "+a.join("|")+" in stateview: '"+t+"@"+r.name+"'");e.resolveAs=e.resolveAs||"$resolve",e.$type="ng1",e.$context=r,e.$name=t;var n=bn.normalizeUIViewTarget(e.$context,e.$name);e.$uiViewName=n.uiViewName,e.$uiViewContextAnchor=n.uiViewContextAnchor,o[t]=e}),o}var Er=0,Dr=function(){function e(e,t,n){var r=this;this.path=e,this.viewDecl=t,this.factory=n,this.$id=Er++,this.loaded=!1,this.getTemplate=function(e,t){return r.component?r.factory.makeComponentTemplate(e,t,r.component,r.viewDecl.bindings):r.template}}return e.prototype.load=function(){var t=this,e=L.$q,n=new Nt(this.path),r=this.path.reduce(function(e,t){return W(e,t.paramValues)},{}),i={template:e.when(this.factory.fromConfig(this.viewDecl,r,n)),controller:e.when(this.getController(n))};return e.all(i).then(function(e){return mt.traceViewServiceEvent("Loaded",t),t.controller=e.controller,W(t,e.template),t})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!O(t))return this.viewDecl.controller;var n=L.$injector.annotate(t),r=P(t)?Ee(t):t;return new Pt("",r,n).get(e)},e}(),Ir=function(){function e(){var r=this;this._useHttp=A.version.minor<3,this.$get=["$http","$templateCache","$injector",function(e,t,n){return r.$templateRequest=n.has&&n.has("$templateRequest")&&n.get("$templateRequest"),r.$http=e,r.$templateCache=t,r}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,n){var r=function(e){return L.$q.when(e).then(function(e){return{template:e}})},i=function(e){return L.$q.when(e).then(function(e){return{component:e}})};return T(e.template)?r(this.fromString(e.template,t)):T(e.templateUrl)?r(this.fromUrl(e.templateUrl,t)):T(e.templateProvider)?r(this.fromProvider(e.templateProvider,t,n)):T(e.component)?i(e.component):T(e.componentProvider)?i(this.fromComponentProvider(e.componentProvider,t,n)):r("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return k(e)?e(t):e},e.prototype.fromUrl=function(e,t){return k(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(e){return e.data}):this.$templateRequest(e)},e.prototype.fromProvider=function(e,t,n){var r=L.$injector.annotate(e),i=P(e)?Ee(e):e;return new Pt("",i,r).get(n)},e.prototype.fromComponentProvider=function(e,t,n){var r=L.$injector.annotate(e),i=P(e)?Ee(e):e;return new Pt("",i,r).get(n)},e.prototype.makeComponentTemplate=function(c,l,e,u){u=u||{};var f=3<=A.version.minor?"::":"",d=function(e){var t=Be(e);return/^(x|data)-/.exec(t)?"x-"+t:t},t=function(e){var t=L.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(Pr).reduce(ge,[])}(e).map(function(e){var t=e.name,n=e.type,r=d(t);if(c.attr(r)&&!u[t])return r+"='"+c.attr(r)+"'";var i=u[t]||t;if("@"===n)return r+"='{{"+f+"$resolve."+i+"}}'";if("&"!==n)return r+"='"+f+"$resolve."+i+"'";var a=l.getResolvable(i),o=a&&a.data,s=o&&L.$injector.annotate(o)||[];return r+"='$resolve."+i+(P(o)?"["+(o.length-1)+"]":"")+"("+s.join(",")+")'"}).join(" "),n=d(e);return"<"+n+" "+t+"></"+n+">"},e}();var Pr=function(e){return I(e.bindToController)?Mr(e.bindToController):Mr(e.scope)},Mr=function(t){return Object.keys(t||{}).map(function(e){return[e,/^([=<@&])[?]?(.*)/.exec(t[e])]}).filter(function(e){return T(e)&&P(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})},$r=function(){function n(e,t){this.stateRegistry=e,this.stateService=t,Y(p(n.prototype),this,p(this))}return n.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},n.prototype.state=function(e,t){return I(e)?t=e:t.name=e,this.stateRegistry.register(t),this},n.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},n}(),Or=function(n){return function(e,t){var i=e[n],a="onExit"===n?"from":"to";return i?function(e,t){var n=new Nt(e.treeChanges(a)).subContext(t.$$state()),r=W(Xr(n),{$state$:t,$transition$:e});return L.$injector.invoke(i,this,r)}:void 0}},Rr=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=p(e);Y(t,this,t,["hashPrefix"])}return e.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,function(e){return{"~":"~~","/":"~2F"}[e]}):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,function(e){return{"~~":"~","~2F":"/"}[e]}):e}},e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return Z(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=I(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.baseHref=function(){return this._baseHref||(this._baseHref=this.$browser.baseHref()||this.$window.location.pathname)},e.prototype.url=function(e,t,n){return void 0===t&&(t=!1),T(e)&&this.$location.url(e),t&&this.$location.replace(),n&&this.$location.state(n),this.$location.url()},e.prototype._runtimeServices=function(e,t,n,r,i){var a=this;this.$location=t,this.$sniffer=n,this.$browser=r,this.$window=i,e.$on("$locationChangeSuccess",function(t){return a._urlListeners.forEach(function(e){return e(t)})});var o=p(t);Y(o,this,o,["replace","path","search","hash"]),Y(o,this,o,["port","protocol","host"])},e}(),Nr=function(){function n(e){this.router=e}return n.injectableHandler=function(t,n){return function(e){return L.$injector.invoke(n,null,{$match:e,$stateParams:t.globals.params})}},n.prototype.$get=function(){var e=this.router.urlService;return this.router.urlRouter.update(!0),e.interceptDeferred||e.listen(),this.router.urlRouter},n.prototype.rule=function(e){var t=this;if(!k(e))throw new Error("'rule' must be a function");var n=new mn(function(){return e(L.$injector,t.router.locationService)},z);return this.router.urlService.rules.rule(n),this},n.prototype.otherwise=function(e){var t=this,n=this.router.urlService.rules;if(D(e))n.otherwise(e);else{if(!k(e))throw new Error("'rule' must be a string or function");n.otherwise(function(){return e(L.$injector,t.router.locationService)})}return this},n.prototype.when=function(e,t){return(P(t)||k(t))&&(t=n.injectableHandler(this.router,t)),this.router.urlService.rules.when(e,t),this},n.prototype.deferIntercept=function(e){this.router.urlService.deferIntercept(e)},n}();A.module("ui.router.angular1",[]);var Lr=A.module("ui.router.init",["ng"]),Fr=A.module("ui.router.util",["ui.router.init"]),Gr=A.module("ui.router.router",["ui.router.util"]),jr=A.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),Br=A.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),Ur=(A.module("ui.router.compat",["ui.router"]),null);function Hr(e){(Ur=this.router=new kn).stateProvider=new $r(Ur.stateRegistry,Ur.stateService),Ur.stateRegistry.decorator("views",kr),Ur.stateRegistry.decorator("onExit",Or("onExit")),Ur.stateRegistry.decorator("onRetain",Or("onRetain")),Ur.stateRegistry.decorator("onEnter",Or("onEnter")),Ur.viewService._pluginapi._viewConfigFactory("ng1",Tr());var s=Ur.locationService=Ur.locationConfig=new Rr(e);function t(e,t,n,r,i,a,o){return s._runtimeServices(i,e,r,t,n),delete Ur.router,delete Ur.$get,Ur}return Rr.monkeyPatchPathParameterType(Ur),((Ur.router=Ur).$get=t).$inject=["$location","$browser","$window","$sniffer","$rootScope","$http","$templateCache"],Ur}Hr.$inject=["$locationProvider"];var Wr=function(n){return["$uiRouterProvider",function(e){var t=e.router[n];return t.$get=function(){return t},t}]};function qr(t,e,n){if(L.$injector=t,L.$q=e,!t.hasOwnProperty("strictDi"))try{t.invoke(["checkStrictDi",function(e){}])}catch(e){t.strictDi=!!/strict mode/.exec(e&&e.toString())}n.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(ge,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(e){return e.deps=t.annotate(e.resolveFn,t.strictDi)})}qr.$inject=["$injector","$q","$uiRouter"];function zr(e){e.$watch(function(){mt.approximateDigests++})}zr.$inject=["$rootScope"],Lr.provider("$uiRouter",Hr),Gr.provider("$urlRouter",["$uiRouterProvider",function(e){return e.urlRouterProvider=new Nr(e)}]),Fr.provider("$urlService",Wr("urlService")),Fr.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return Ur.urlMatcherFactory}]),Fr.provider("$templateFactory",function(){return new Ir}),jr.provider("$stateRegistry",Wr("stateRegistry")),jr.provider("$uiRouterGlobals",Wr("globals")),jr.provider("$transitions",Wr("transitionService")),jr.provider("$state",["$uiRouterProvider",function(){return W(Ur.stateProvider,{$get:function(){return Ur.stateService}})}]),jr.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),Br.factory("$view",function(){return Ur.viewService}),Br.service("$trace",function(){return mt}),Br.run(zr),Fr.run(["$urlMatcherFactory",function(e){}]),jr.run(["$state",function(e){}]),Gr.run(["$urlRouter",function(e){}]),Lr.run(qr);var Vr,Yr,Kr,Qr,Xr=function(n){return n.getTokens().filter(D).map(function(e){var t=n.getResolvable(e);return[e,"NOWAIT"===n.getPolicy(t).async?t.promise:t.data]}).reduce(ke,{})};function Zr(e){var t,n=e.match(/^\s*({[^}]*})\s*$/);if(n&&(e="("+n[1]+")"),!(t=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1]||null,paramExpr:t[3]||null}}function Jr(e){var t=e.parent().inheritedData("$uiView"),n=S("$cfg.path")(t);return n?Ee(n).state.name:void 0}function ei(e,t,n){var r,i=n.uiState||e.current.name,a=W((r=e,{relative:Jr(t)||r.$current,inherit:!0,source:"sref"}),n.uiStateOpts||{}),o=e.href(i,n.uiStateParams,a);return{uiState:i,uiStateParams:n.uiStateParams,uiStateOpts:a,href:o}}function ti(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function ni(a,o,s,c,l){return function(e){var t=e.which||e.button,n=l();if(!(1<t||e.ctrlKey||e.metaKey||e.shiftKey||a.attr("target"))){var r=s(function(){a.attr("disabled")||o.go(n.uiState,n.uiStateParams,n.uiStateOpts)});e.preventDefault();var i=c.isAnchor&&!n.href?1:0;e.preventDefault=function(){i--<=0&&s.cancel(r)}}}}function ri(i,e,a,t){var o;t&&(o=t.events),P(o)||(o=["click"]);for(var n=i.on?"on":"bind",r=0,s=o;r<s.length;r++){var c=s[r];i[n](c,a)}e.$on("$destroy",function(){for(var e=i.off?"off":"unbind",t=0,n=o;t<n.length;t++){var r=n[t];i[e](r,a)}})}function ii(r){var e=function(e,t,n){return r.is(e,t,n)};return e.$stateful=!0,e}function ai(r){var e=function(e,t,n){return r.includes(e,t,n)};return e.$stateful=!0,e}function oi(m,g,_,e,b,t){var v=S("viewDecl.controllerAs"),y=S("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(e){var p=e.html();return e.empty(),function(t,n){var e=n.data("$uiView");if(!e)return n.html(p),void m(n.contents())(t);var r=e.$cfg||{viewDecl:{},getTemplate:V},i=r.path&&new Nt(r.path);n.html(r.getTemplate(n,i)||p),mt.traceUIViewFill(e.$uiView,n.html());var a=m(n.contents()),o=r.controller,s=v(r),c=y(r),l=i&&Xr(i);if(t[c]=l,o){var u=g(o,W({},l,{$scope:t,$element:n}));s&&(t[s]=u,t[s][c]=l),n.data("$ngControllerController",u),n.children().data("$ngControllerController",u),li(b,_,u,t,r)}if(D(r.component))var f=Be(r.component),d=new RegExp("^(x-|data-)?"+f+"$","i"),h=t.$watch(function(){var e=[].slice.call(n[0].children).filter(function(e){return e&&e.tagName&&d.exec(e.tagName)});return e&&A.element(e).data("$"+r.component+"Controller")},function(e){e&&(li(b,_,e,t,r),h())});a(t)}}}}Vr=["$uiRouter","$timeout",function(d,h){var p=d.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(e,t,n,r){var i,a=ti(t),o=r[1]||r[0],s=null,c={},l=function(){return ei(p,t,c)},u=Zr(n.uiSref);function f(){var e=l();s&&s(),o&&(s=o.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&n.$set(a.attr,e.href)}c.uiState=u.state,c.uiStateOpts=n.uiSrefOpts?e.$eval(n.uiSrefOpts):{},u.paramExpr&&(e.$watch(u.paramExpr,function(e){c.uiStateParams=W({},e),f()},!0),c.uiStateParams=W({},e.$eval(u.paramExpr))),f(),e.$on("$destroy",d.stateRegistry.onStatesChanged(f)),e.$on("$destroy",d.transitionService.onSuccess({},f)),a.clickable&&(i=ni(t,p,h,a,l),ri(t,e,i,c.uiStateOpts))}}}],Yr=["$uiRouter","$timeout",function(h,p){var m=h.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(n,e,r,t){var i,a=ti(e),o=t[1]||t[0],s=null,c={},l=function(){return ei(m,e,c)},u=["uiState","uiStateParams","uiStateOpts"],f=u.reduce(function(e,t){return e[t]=V,e},{});function d(){var e=l();s&&s(),o&&(s=o.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&r.$set(a.attr,e.href)}u.forEach(function(t){c[t]=r[t]?n.$eval(r[t]):null,r.$observe(t,function(e){f[t](),f[t]=n.$watch(e,function(e){c[t]=e,d()},!0)})}),d(),n.$on("$destroy",h.stateRegistry.onStatesChanged(d)),n.$on("$destroy",h.transitionService.onSuccess({},d)),a.clickable&&(i=ni(e,m,p,a,l),ri(e,n,i,c.uiStateOpts))}}}],Kr=["$state","$stateParams","$interpolate","$uiRouter",function(p,e,m,g){return{restrict:"A",controller:["$scope","$element","$attrs",function(s,c,e){var l,r,t,n,i,u=[];l=m(e.uiSrefActiveEq||"",!1)(s);try{r=s.$eval(e.uiSrefActive)}catch(e){}function a(e){e.promise.then(h,V)}function o(){f(r)}function f(e){I(e)&&(u=[],H(e,function(e,t){var n=function(e,t){var n=Zr(e);d(n.state,s.$eval(n.paramExpr),t)};D(e)?n(e,t):P(e)&&H(e,function(e){n(e,t)})}))}function d(e,t,n){var r={state:p.get(e,Jr(c))||{name:e},params:t,activeClass:n};return u.push(r),function(){Z(u)(r)}}function h(){var t=function(e){return e.split(/\s/).filter(z)},e=function(e){return e.map(function(e){return e.activeClass}).map(t).reduce(ge,[])},n=e(u).concat(t(l)).reduce(ve,[]),r=e(u.filter(function(e){return p.includes(e.state.name,e.params)})),i=!!u.filter(function(e){return p.is(e.state.name,e.params)}).length?t(l):[],a=r.concat(i).reduce(ve,[]),o=n.filter(function(e){return!Q(a,e)});s.$evalAsync(function(){a.forEach(function(e){return c.addClass(e)}),o.forEach(function(e){return c.removeClass(e)})})}f(r=r||m(e.uiSrefActive||"",!1)(s)),this.$$addStateInfo=function(e,t){if(!(I(r)&&0<u.length)){var n=d(e,t,r);return h(),n}},s.$on("$destroy",(t=g.stateRegistry.onStatesChanged(o),n=g.transitionService.onStart({},a),i=s.$on("$stateChangeSuccess",h),function(){t(),n(),i()})),g.globals.transition&&a(g.globals.transition),h()}]}}],A.module("ui.router.state").directive("uiSref",Vr).directive("uiSrefActive",Kr).directive("uiSrefActiveEq",Kr).directive("uiState",Yr),ii.$inject=["$state"],ai.$inject=["$state"],A.module("ui.router.state").filter("isState",ii).filter("includedByState",ai),Qr=["$view","$animate","$uiViewScroll","$interpolate","$q",function(i,a,b,v,y){var w={$cfg:{viewDecl:{$context:i._pluginapi._rootViewContext()}},$uiView:{}},C={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(e,t,_){return function(o,s,e){var c,l,u,f,t,d=e.onload||"",h=e.autoscroll,p={enter:function(e,t,n){2<A.version.minor?a.enter(e,null,t).then(n):a.enter(e,null,t,n)},leave:function(e,t){2<A.version.minor?a.leave(e).then(t):a.leave(e,t)}},n=s.inheritedData("$uiView")||w,m=v(e.uiView||e.name||"")(o)||"$default",g={$type:"ng1",id:C.count++,name:m,fqn:n.$uiView.fqn?n.$uiView.fqn+"."+m:m,config:null,configUpdated:function(e){if(e&&!(e instanceof Dr))return;if(t=f,n=e,t===n)return;var t,n;mt.traceUIViewConfigUpdated(g,e&&e.viewDecl&&e.viewDecl.$context),r(f=e)},get creationContext(){var e=S("$cfg.viewDecl.$context")(n),t=S("$uiView.creationContext")(n);return e||t}};function r(e){var t=o.$new(),n=y.defer(),r=y.defer(),i={$cfg:e,$uiView:g},a={$animEnter:n.promise,$animLeave:r.promise,$$animLeave:r};t.$emit("$viewContentLoading",m),l=_(t,function(e){e.data("$uiViewAnim",a),e.data("$uiView",i),p.enter(e,s,function(){n.resolve(),u&&u.$emit("$viewContentAnimationEnded"),(T(h)&&!h||o.$eval(h))&&b(e)}),function(){if(c&&(mt.traceUIViewEvent("Removing (previous) el",c.data("$uiView")),c.remove(),c=null),u&&(mt.traceUIViewEvent("Destroying scope",g),u.$destroy(),u=null),l){var e=l.data("$uiViewAnim");mt.traceUIViewEvent("Animate out",e),p.leave(l,function(){e.$$animLeave.resolve(),c=null}),c=l,l=null}}()}),(u=t).$emit("$viewContentLoaded",e||f),u.$eval(d)}mt.traceUIViewEvent("Linking",g),s.data("$uiView",{$uiView:g}),r(),t=i.registerUIView(g),o.$on("$destroy",function(){mt.traceUIViewEvent("Destroying/Unregistering",g),t()})}}};return C}],oi.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var si="function"==typeof A.module("ui.router").component,ci=0;function li(r,e,l,t,n){!k(l.$onInit)||(n.viewDecl.component||n.viewDecl.componentProvider)&&si||l.$onInit();var u=Ee(n.path).state.self,i={bind:l};if(k(l.uiOnParamsChanged)){var f=new Nt(n.path).getResolvable("$transition$").data;t.$on("$destroy",e.onSuccess({},function(e){if(e!==f&&-1===e.exiting().indexOf(u)){var n=e.params("to"),r=e.params("from"),t=function(e){return e.paramSchema},i=e.treeChanges("to").map(t).reduce(ge,[]),a=e.treeChanges("from").map(t).reduce(ge,[]),o=i.filter(function(e){var t=a.indexOf(e);return-1===t||!a[t].type.equals(n[e.id],r[e.id])});if(o.length){var s=o.map(function(e){return e.id}),c=le(n,function(e,t){return-1!==s.indexOf(t)});l.uiOnParamsChanged(c,e)}}},i))}if(k(l.uiCanExit)){var a=ci++,o="_uiCanExitIds",s=function(e){return!!e&&(e[o]&&!0===e[o][a]||s(e.redirectedFrom()))},c={exiting:u.name};t.$on("$destroy",e.onBefore(c,function(e){var t,n=e[o]=e[o]||{};return s(e)||(t=r.when(l.uiCanExit(e))).then(function(e){return n[a]=!1!==e}),t},i))}}A.module("ui.router.state").directive("uiView",Qr),A.module("ui.router.state").directive("uiView",oi),A.module("ui.router.state").provider("$uiViewScroll",function(){var n=!1;this.useAnchorScroll=function(){n=!0},this.$get=["$anchorScroll","$timeout",function(e,t){return n?e:function(e){return t(function(){e[0].scrollIntoView()},0,!1)}}]});m.$injector=tr,m.$q=Xn,m.BaseLocationServices=ur,m.BaseUrlRule=mn,m.BrowserLocationConfig=br,m.Glob=Re,m.HashLocationService=dr,m.HookBuilder=rn,m.MemoryLocationConfig=_r,m.MemoryLocationService=pr,m.NATIVE_INJECTOR_TOKEN=Rt,m.Ng1ViewConfig=Dr,m.Param=At,m.ParamFactory=dn,m.ParamType=gt,m.ParamTypes=St,m.PathNode=xt,m.PathUtils=Et,m.PushStateLocationService=gr,m.Queue=Ne,m.RegisteredHook=tn,m.Rejection=Fe,m.Resolvable=Pt,m.ResolveContext=Nt,m.StateBuilder=Vt,m.StateMatcher=Kt,m.StateObject=Yt,m.StateParams=Tt,m.StateProvider=$r,m.StateQueueManager=Qt,m.StateRegistry=Xt,m.StateService=Qn,m.TargetState=kt,m.Trace=pt,m.Transition=on,m.TransitionEventType=qn,m.TransitionHook=Jt,m.TransitionService=Kn,m.UIRouter=kn,m.UIRouterGlobals=vn,m.UIRouterPluginBase=Ar,m.UrlConfig=Cn,m.UrlMatcher=un,m.UrlMatcherFactory=hn,m.UrlRouter=_n,m.UrlRouterProvider=Nr,m.UrlRuleFactory=pn,m.UrlRules=wn,m.UrlService=An,m.ViewService=bn,m._extend=Ie,m._inArray=X,m._pushTo=te,m._removeFrom=J,m.all=u,m.allTrueR=pe,m.ancestors=ae,m.and=i,m.any=d,m.anyTrueR=me,m.applyPairs=ke,m.arrayTuples=xe,m.assertFn=Se,m.assertMap=Ae,m.assertPredicate=Ce,m.beforeAfterSubstr=Ve,m.buildUrl=ar,m.compose=n,m.copy=De,m.core=Sr,m.createProxyFunctions=Y,m.curry=l,m.default="ui.router",m.defaultResolvePolicy=It,m.defaultTransOpts=Yn,m.defaults=re,m.deregAll=ne,m.eq=o,m.equals=q,m.extend=W,m.filter=le,m.find=ue,m.flatten=we,m.flattenR=_e,m.fnToString=He,m.forEach=H,m.fromJson=B,m.functionToString=Ue,m.getLocals=Xr,m.getNg1ViewConfigFactory=Tr,m.getParams=rr,m.hashLocationPlugin=yr,m.hostRegex=Ye,m.identity=z,m.inArray=Q,m.inherit=K,m.invoke=s,m.is=h,m.isArray=P,m.isDate=M,m.isDefined=T,m.isFunction=k,m.isInjectable=O,m.isNull=C,m.isNullOrUndefined=x,m.isNumber=E,m.isObject=I,m.isPromise=R,m.isRegExp=$,m.isString=D,m.isUndefined=w,m.joinNeighborsR=tt,m.kebobString=Be,m.keyValsToObjectR=nr,m.locationPluginFactory=or,m.makeEvent=nn,m.makeStub=N,m.map=de,m.mapObj=fe,m.matchState=en,m.maxLength=Ge,m.memoryLocationPlugin=Cr,m.mergeR=ie,m.ng1ViewsBuilder=kr,m.noop=V,m.not=f,m.omit=se,m.or=a,m.padString=je,m.pairs=Te,m.parse=S,m.parseUrl=ir,m.pattern=g,m.pick=oe,m.pipe=c,m.pluck=ce,m.prop=v,m.propEq=_,m.pushR=be,m.pushStateLocationPlugin=wr,m.pushTo=ee,m.removeFrom=Z,m.resolvablesBuilder=Wt,m.resolvePolicies=Dt,m.root=G,m.services=L,m.servicesPlugin=vr,m.silenceUncaughtInPromise=$e,m.silentRejection=Oe,m.splitEqual=Ze,m.splitHash=Qe,m.splitOnDelim=et,m.splitQuery=Xe,m.stringify=ze,m.stripLastPathElement=Ke,m.tail=Ee,m.toJson=U,m.trace=mt,m.trimHashVal=Je,m.uniqR=ve,m.unnest=ye,m.unnestR=ge,m.val=p,m.values=he,m.watchDigests=zr,Object.defineProperty(m,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("angular")):"function"==typeof define&&define.amd?define(["exports","angular"],t):t((e=e||self)["@uirouter/angularjs-state-events"]={},e.angular)}(this,function(e,t){"use strict";var n=angular,r=t&&t.module?t:n;!function(){var l=r.isFunction,i=r.isString;function o(e,t){var n,r;if(Array.isArray(t)&&(n=t[0],r=t[1]),!i(n))throw new Error("invalid parameters to applyPairs");return e[n]=r,e}function s(t){if(t.options().notify&&t.valid()&&!t.ignored()){var e=t.injector(),n=e.get("$stateEvents"),r=e.get("$rootScope"),i=e.get("$state"),a=e.get("$urlRouter"),o=n.provider.enabled(),s=t.params("to"),c=t.params("from");if(o.$stateChangeSuccess){if(r.$broadcast("$stateChangeStart",t.to(),s,t.from(),c,t.options(),t).defaultPrevented)return o.$stateChangeCancel&&r.$broadcast("$stateChangeCancel",t.to(),s,t.from(),c,t.options(),t),null==i.transition&&a.update(),!1;t.onSuccess({},function(){r.$broadcast("$stateChangeSuccess",t.to(),s,t.from(),c,t.options(),t)},{priority:9999})}o.$stateChangeError&&t.promise.catch(function(e){(!e||2!==e.type&&3!==e.type)&&(r.$broadcast("$stateChangeError",t.to(),s,t.from(),c,e,t.options(),t).defaultPrevented||a.update())})}}function c(e,t,n){var r=n.get("$state"),i=n.get("$rootScope"),a=n.get("$urlRouter"),o={to:e.identifier(),toParams:e.params(),options:e.options()},s=i.$broadcast("$stateNotFound",o,t.state(),t.params());function c(){return r.target(o.to,o.toParams,o.options)}return(s.defaultPrevented||s.retry)&&a.update(),!s.defaultPrevented&&(s.retry||r.get(o.to)?s.retry&&l(s.retry.then)?s.retry.then(c):c():void 0)}function u(t){u.prototype.instance=this;var n=!1,r=["$stateChangeStart","$stateNotFound","$stateChangeSuccess","$stateChangeError"],i=r.map(function(e){return[e,!0]}).reduce(o,{});function a(){if(n)throw new Error("Cannot enable events at runtime (use $stateEventsProvider")}function e(e){return n=!0,i.$stateNotFound&&t.onInvalid(c),i.$stateChangeStart&&e.onBefore({},s,{priority:1e3}),{provider:u.prototype.instance}}this.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a(),e&&e.length||(e=r),e.forEach(function(e){return i[e]=!0})},this.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a(),e&&e.length||(e=r),e.forEach(function(e){return delete i[e]})},this.enabled=function(){return i},(this.$get=e).$inject=["$transitions"]}c.$inject=["$to$","$from$","$state","$rootScope","$urlRouter"],u.$inject=["$stateProvider"],r.module("ui.router.state.events",["ui.router.state"]).provider("$stateEvents",u).run(["$stateEvents",function(e){}])}(),e.$stateChangeCancel=void 0,e.$stateChangeError=void 0,e.$stateChangeStart=void 0,e.$stateChangeSuccess=void 0,e.$stateNotFound=void 0,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(x){x.ui=x.ui||{};x.ui.version="1.12.1";var i,n=0,s=Array.prototype.slice;x.cleanData=(i=x.cleanData,function(e){var t,n,r;for(r=0;null!=(n=e[r]);r++)try{(t=x._data(n,"events"))&&t.remove&&x(n).triggerHandler("remove")}catch(e){}i(e)}),x.widget=function(e,n,t){var r,i,a,o={},s=e.split(".")[0],c=s+"-"+(e=e.split(".")[1]);return t||(t=n,n=x.Widget),x.isArray(t)&&(t=x.extend.apply(null,[{}].concat(t))),x.expr[":"][c.toLowerCase()]=function(e){return!!x.data(e,c)},x[s]=x[s]||{},r=x[s][e],i=x[s][e]=function(e,t){if(!this._createWidget)return new i(e,t);arguments.length&&this._createWidget(e,t)},x.extend(i,r,{version:t.version,_proto:x.extend({},t),_childConstructors:[]}),(a=new n).options=x.widget.extend({},a.options),x.each(t,function(t,a){x.isFunction(a)?o[t]=function(){function r(){return n.prototype[t].apply(this,arguments)}function i(e){return n.prototype[t].apply(this,e)}return function(){var e,t=this._super,n=this._superApply;return this._super=r,this._superApply=i,e=a.apply(this,arguments),this._super=t,this._superApply=n,e}}():o[t]=a}),i.prototype=x.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||e},o,{constructor:i,namespace:s,widgetName:e,widgetFullName:c}),r?(x.each(r._childConstructors,function(e,t){var n=t.prototype;x.widget(n.namespace+"."+n.widgetName,i,t._proto)}),delete r._childConstructors):n._childConstructors.push(i),x.widget.bridge(e,i),i},x.widget.extend=function(e){for(var t,n,r=s.call(arguments,1),i=0,a=r.length;i<a;i++)for(t in r[i])n=r[i][t],r[i].hasOwnProperty(t)&&void 0!==n&&(x.isPlainObject(n)?e[t]=x.isPlainObject(e[t])?x.widget.extend({},e[t],n):x.widget.extend({},n):e[t]=n);return e},x.widget.bridge=function(a,t){var o=t.prototype.widgetFullName||a;x.fn[a]=function(n){var e="string"==typeof n,r=s.call(arguments,1),i=this;return e?this.length||"instance"!==n?this.each(function(){var e,t=x.data(this,o);return"instance"===n?(i=t,!1):t?x.isFunction(t[n])&&"_"!==n.charAt(0)?(e=t[n].apply(t,r))!==t&&void 0!==e?(i=e&&e.jquery?i.pushStack(e.get()):e,!1):void 0:x.error("no such method '"+n+"' for "+a+" widget instance"):x.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+n+"'")}):i=void 0:(r.length&&(n=x.widget.extend.apply(null,[n].concat(r))),this.each(function(){var e=x.data(this,o);e?(e.option(n||{}),e._init&&e._init()):x.data(this,o,new t(n,this))})),i}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=x(t||this.defaultElement||this)[0],this.element=x(t),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},t!==this&&(x.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=x(t.style?t.ownerDocument:t.document||t),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.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:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var n=this;this._destroy(),x.each(this.classesElementLookup,function(e,t){n._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(e,t){var n,r,i,a=e;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof e)if(a={},e=(n=e.split(".")).shift(),n.length){for(r=a[e]=x.widget.extend({},this.options[e]),i=0;i<n.length-1;i++)r[n[i]]=r[n[i]]||{},r=r[n[i]];if(e=n.pop(),1===arguments.length)return void 0===r[e]?null:r[e];r[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=t}return this._setOptions(a),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,n,r;for(t in e)r=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&r&&r.length&&(n=x(r.get()),this._removeClass(r,t),n.addClass(this._classes({element:n,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(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(i){var a=[],o=this;function e(e,t){var n,r;for(r=0;r<e.length;r++)n=o.classesElementLookup[e[r]]||x(),n=i.add?x(x.unique(n.get().concat(i.element.get()))):x(n.not(i.element).get()),o.classesElementLookup[e[r]]=n,a.push(e[r]),t&&i.classes[e[r]]&&a.push(i.classes[e[r]])}return i=x.extend({element:this.element,classes:this.options.classes||{}},i),this._on(i.element,{remove:"_untrackClassesElement"}),i.keys&&e(i.keys.match(/\S+/g)||[],!0),i.extra&&e(i.extra.match(/\S+/g)||[]),a.join(" ")},_untrackClassesElement:function(n){var r=this;x.each(r.classesElementLookup,function(e,t){-1!==x.inArray(n.target,t)&&(r.classesElementLookup[e]=x(t.not(n.target).get()))})},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof e||null===e,a={extra:i?t:n,keys:i?e:t,element:i?this.element:e,add:r};return a.element.toggleClass(this._classes(a),r),this},_on:function(o,s,e){var c,l=this;"boolean"!=typeof o&&(e=s,s=o,o=!1),e?(s=c=x(s),this.bindings=this.bindings.add(s)):(e=s,s=this.element,c=this.widget()),x.each(e,function(e,t){function n(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof t?l[t]:t).apply(l,arguments)}"string"!=typeof t&&(n.guid=t.guid=t.guid||n.guid||x.guid++);var r=e.match(/^([\w:-]*)\s*(.*)$/),i=r[1]+l.eventNamespace,a=r[2];a?c.on(i,a,n):s.on(i,n)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=x(this.bindings.not(e).get()),this.focusable=x(this.focusable.not(e).get()),this.hoverable=x(this.hoverable.not(e).get())},_delay:function(e,t){var n=this;return setTimeout(function(){return("string"==typeof e?n[e]:e).apply(n,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(x(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(x(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(x(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(x(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,n){var r,i,a=this.options[e];if(n=n||{},(t=x.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],i=t.originalEvent)for(r in i)r in t||(t[r]=i[r]);return this.element.trigger(t,n),!(x.isFunction(a)&&!1===a.apply(this.element[0],[t].concat(n))||t.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(a,o){x.Widget.prototype["_"+a]=function(t,e,n){var r;"string"==typeof e&&(e={effect:e});var i=e?!0===e||"number"==typeof e?o:e.effect||o:a;"number"==typeof(e=e||{})&&(e={duration:e}),r=!x.isEmptyObject(e),e.complete=n,e.delay&&t.delay(e.delay),r&&x.effects&&x.effects.effect[i]?t[a](e):i!==a&&t[i]?t[i](e.duration,e.easing,n):t.queue(function(e){x(this)[a](),n&&n.call(t[0]),e()})}});x.widget;!function(){var i,C=Math.max,A=Math.abs,r=/left|center|right/,a=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,c=/%$/,l=x.fn.position;function S(e,t,n){return[parseFloat(e[0])*(c.test(e[0])?t/100:1),parseFloat(e[1])*(c.test(e[1])?n/100:1)]}function T(e,t){return parseInt(x.css(e,t),10)||0}x.position={scrollbarWidth:function(){if(void 0!==i)return i;var e,t,n=x("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=n.children()[0];return x("body").append(n),e=r.offsetWidth,n.css("overflow","scroll"),e===(t=r.offsetWidth)&&(t=n[0].clientWidth),n.remove(),i=e-t},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),r="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?x.position.scrollbarWidth():0,height:r?x.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=x(e||window),n=x.isWindow(t[0]),r=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:n,isDocument:r,offset:!n&&!r?x(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},x.fn.position=function(f){if(!f||!f.of)return l.apply(this,arguments);f=x.extend({},f);var d,h,p,m,g,e,t,n,_=x(f.of),b=x.position.getWithinInfo(f.within),v=x.position.getScrollInfo(b),y=(f.collision||"flip").split(" "),w={};return e=9===(n=(t=_)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:x.isWindow(n)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},_[0].preventDefault&&(f.at="left top"),h=e.width,p=e.height,m=e.offset,g=x.extend({},m),x.each(["my","at"],function(){var e,t,n=(f[this]||"").split(" ");1===n.length&&(n=r.test(n[0])?n.concat(["center"]):a.test(n[0])?["center"].concat(n):["center","center"]),n[0]=r.test(n[0])?n[0]:"center",n[1]=a.test(n[1])?n[1]:"center",e=o.exec(n[0]),t=o.exec(n[1]),w[this]=[e?e[0]:0,t?t[0]:0],f[this]=[s.exec(n[0])[0],s.exec(n[1])[0]]}),1===y.length&&(y[1]=y[0]),"right"===f.at[0]?g.left+=h:"center"===f.at[0]&&(g.left+=h/2),"bottom"===f.at[1]?g.top+=p:"center"===f.at[1]&&(g.top+=p/2),d=S(w.at,h,p),g.left+=d[0],g.top+=d[1],this.each(function(){var n,e,o=x(this),s=o.outerWidth(),c=o.outerHeight(),t=T(this,"marginLeft"),r=T(this,"marginTop"),i=s+t+T(this,"marginRight")+v.width,a=c+r+T(this,"marginBottom")+v.height,l=x.extend({},g),u=S(w.my,o.outerWidth(),o.outerHeight());"right"===f.my[0]?l.left-=s:"center"===f.my[0]&&(l.left-=s/2),"bottom"===f.my[1]?l.top-=c:"center"===f.my[1]&&(l.top-=c/2),l.left+=u[0],l.top+=u[1],n={marginLeft:t,marginTop:r},x.each(["left","top"],function(e,t){x.ui.position[y[e]]&&x.ui.position[y[e]][t](l,{targetWidth:h,targetHeight:p,elemWidth:s,elemHeight:c,collisionPosition:n,collisionWidth:i,collisionHeight:a,offset:[d[0]+u[0],d[1]+u[1]],my:f.my,at:f.at,within:b,elem:o})}),f.using&&(e=function(e){var t=m.left-l.left,n=t+h-s,r=m.top-l.top,i=r+p-c,a={target:{element:_,left:m.left,top:m.top,width:h,height:p},element:{element:o,left:l.left,top:l.top,width:s,height:c},horizontal:n<0?"left":0<t?"right":"center",vertical:i<0?"top":0<r?"bottom":"middle"};h<s&&A(t+n)<h&&(a.horizontal="center"),p<c&&A(r+i)<p&&(a.vertical="middle"),C(A(t),A(n))>C(A(r),A(i))?a.important="horizontal":a.important="vertical",f.using.call(this,e,a)}),o.offset(x.extend(l,{using:e}))})},x.ui.position={fit:{left:function(e,t){var n,r=t.within,i=r.isWindow?r.scrollLeft:r.offset.left,a=r.width,o=e.left-t.collisionPosition.marginLeft,s=i-o,c=o+t.collisionWidth-a-i;t.collisionWidth>a?0<s&&c<=0?(n=e.left+s+t.collisionWidth-a-i,e.left+=s-n):e.left=0<c&&s<=0?i:c<s?i+a-t.collisionWidth:i:0<s?e.left+=s:0<c?e.left-=c:e.left=C(e.left-o,e.left)},top:function(e,t){var n,r=t.within,i=r.isWindow?r.scrollTop:r.offset.top,a=t.within.height,o=e.top-t.collisionPosition.marginTop,s=i-o,c=o+t.collisionHeight-a-i;t.collisionHeight>a?0<s&&c<=0?(n=e.top+s+t.collisionHeight-a-i,e.top+=s-n):e.top=0<c&&s<=0?i:c<s?i+a-t.collisionHeight:i:0<s?e.top+=s:0<c?e.top-=c:e.top=C(e.top-o,e.top)}},flip:{left:function(e,t){var n,r,i=t.within,a=i.offset.left+i.scrollLeft,o=i.width,s=i.isWindow?i.scrollLeft:i.offset.left,c=e.left-t.collisionPosition.marginLeft,l=c-s,u=c+t.collisionWidth-o-s,f="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,d="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];l<0?((n=e.left+f+d+h+t.collisionWidth-o-a)<0||n<A(l))&&(e.left+=f+d+h):0<u&&(0<(r=e.left-t.collisionPosition.marginLeft+f+d+h-s)||A(r)<u)&&(e.left+=f+d+h)},top:function(e,t){var n,r,i=t.within,a=i.offset.top+i.scrollTop,o=i.height,s=i.isWindow?i.scrollTop:i.offset.top,c=e.top-t.collisionPosition.marginTop,l=c-s,u=c+t.collisionHeight-o-s,f="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,d="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];l<0?((r=e.top+f+d+h+t.collisionHeight-o-a)<0||r<A(l))&&(e.top+=f+d+h):0<u&&(0<(n=e.top-t.collisionPosition.marginTop+f+d+h-s)||A(n)<u)&&(e.top+=f+d+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}}}();x.ui.position,x.extend(x.expr[":"],{data:x.expr.createPseudo?x.expr.createPseudo(function(t){return function(e){return!!x.data(e,t)}}):function(e,t,n){return!!x.data(e,n[3])}}),x.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e,r,c="ui-effects-",l="ui-effects-style",f="ui-effects-animated",u=x;x.effects={effect:{}},function(u,f){var l,d=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],h=u.Color=function(e,t,n,r){return new u.Color.fn.parse(e,t,n,r)},p={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},m={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},o=h.support={},t=u("<p>")[0],g=u.each;function _(e,t,n){var r=m[t.type]||{};return null==e?n||!t.def?null:t.def:(e=r.floor?~~e:parseFloat(e),isNaN(e)?t.def:r.mod?(e+r.mod)%r.mod:e<0?0:r.max<e?r.max:e)}function s(o){var s=h(),c=s._rgba=[];return o=o.toLowerCase(),g(e,function(e,t){var n,r=t.re.exec(o),i=r&&t.parse(r),a=t.space||"rgba";if(i)return n=s[a](i),s[p[a].cache]=n[p[a].cache],c=s._rgba=n._rgba,!1}),c.length?("0,0,0,0"===c.join()&&u.extend(c,l.transparent),s):l[o]}function c(e,t,n){return 6*(n=(n+1)%1)<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}t.style.cssText="background-color:rgba(1,1,1,.5)",o.rgba=-1<t.style.backgroundColor.indexOf("rgba"),g(p,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),h.fn=u.extend(h.prototype,{parse:function(i,e,t,n){if(i===f)return this._rgba=[null,null,null,null],this;(i.jquery||i.nodeType)&&(i=u(i).css(e),e=f);var a=this,r=u.type(i),o=this._rgba=[];return e!==f&&(i=[i,e,t,n],r="array"),"string"===r?this.parse(s(i)||l._default):"array"===r?(g(p.rgba.props,function(e,t){o[t.idx]=_(i[t.idx],t)}),this):"object"===r?(g(p,i instanceof h?function(e,t){i[t.cache]&&(a[t.cache]=i[t.cache].slice())}:function(e,n){var r=n.cache;g(n.props,function(e,t){if(!a[r]&&n.to){if("alpha"===e||null==i[e])return;a[r]=n.to(a._rgba)}a[r][t.idx]=_(i[e],t,!0)}),a[r]&&u.inArray(null,a[r].slice(0,3))<0&&(a[r][3]=1,n.from&&(a._rgba=n.from(a[r])))}),this):void 0},is:function(e){var i=h(e),a=!0,o=this;return g(p,function(e,t){var n,r=i[t.cache];return r&&(n=o[t.cache]||t.to&&t.to(o._rgba)||[],g(t.props,function(e,t){if(null!=r[t.idx])return a=r[t.idx]===n[t.idx]})),a}),a},_space:function(){var n=[],r=this;return g(p,function(e,t){r[t.cache]&&n.push(e)}),n.pop()},transition:function(e,o){var s=h(e),t=s._space(),n=p[t],r=0===this.alpha()?h("transparent"):this,c=r[n.cache]||n.to(r._rgba),l=c.slice();return s=s[n.cache],g(n.props,function(e,t){var n=t.idx,r=c[n],i=s[n],a=m[t.type]||{};null!==i&&(null===r?l[n]=i:(a.mod&&(i-r>a.mod/2?r+=a.mod:r-i>a.mod/2&&(r-=a.mod)),l[n]=_((i-r)*o+r,t)))}),this[t](l)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),n=t.pop(),r=h(e)._rgba;return h(u.map(t,function(e,t){return(1-n)*r[t]+n*e}))},toRgbaString:function(){var e="rgba(",t=u.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=u.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),n=t.pop();return e&&t.push(~~(255*n)),"#"+u.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),h.fn.parse.prototype=h.fn,p.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=e[3],s=Math.max(r,i,a),c=Math.min(r,i,a),l=s-c,u=s+c,f=.5*u;return t=c===s?0:r===s?60*(i-a)/l+360:i===s?60*(a-r)/l+120:60*(r-i)/l+240,n=0===l?0:f<=.5?l/u:l/(2-u),[Math.round(t)%360,n,f,null==o?1:o]},p.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],a=r<=.5?r*(1+n):r+n-r*n,o=2*r-a;return[Math.round(255*c(o,a,t+1/3)),Math.round(255*c(o,a,t)),Math.round(255*c(o,a,t-1/3)),i]},g(p,function(c,e){var n=e.props,o=e.cache,s=e.to,l=e.from;h.fn[c]=function(e){if(s&&!this[o]&&(this[o]=s(this._rgba)),e===f)return this[o].slice();var t,r=u.type(e),i="array"===r||"object"===r?e:arguments,a=this[o].slice();return g(n,function(e,t){var n=i["object"===r?e:t.idx];null==n&&(n=a[t.idx]),a[t.idx]=_(n,t)}),l?((t=h(l(a)))[o]=a,t):h(a)},g(n,function(o,s){h.fn[o]||(h.fn[o]=function(e){var t,n=u.type(e),r="alpha"===o?this._hsla?"hsla":"rgba":c,i=this[r](),a=i[s.idx];return"undefined"===n?a:("function"===n&&(e=e.call(this,a),n=u.type(e)),null==e&&s.empty?this:("string"===n&&(t=d.exec(e))&&(e=a+parseFloat(t[2])*("+"===t[1]?1:-1)),i[s.idx]=e,this[r](i)))})})}),h.hook=function(e){var t=e.split(" ");g(t,function(e,a){u.cssHooks[a]={set:function(e,t){var n,r,i="";if("transparent"!==t&&("string"!==u.type(t)||(n=s(t)))){if(t=h(n||t),!o.rgba&&1!==t._rgba[3]){for(r="backgroundColor"===a?e.parentNode:e;(""===i||"transparent"===i)&&r&&r.style;)try{i=u.css(r,"backgroundColor"),r=r.parentNode}catch(e){}t=t.blend(i&&"transparent"!==i?i:"_default")}t=t.toRgbaString()}try{e.style[a]=t}catch(e){}}},u.fx.step[a]=function(e){e.colorInit||(e.start=h(e.elem,a),e.end=h(e.end),e.colorInit=!0),u.cssHooks[a].set(e.elem,e.start.transition(e.end,e.pos))}})},h.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(n){var r={};return g(["Top","Right","Bottom","Left"],function(e,t){r["border"+t+"Color"]=n}),r}},l=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(u),function(){var a,i,o,s=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function l(e){var t,n,r=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,i={};if(r&&r.length&&r[0]&&r[r[0]])for(n=r.length;n--;)"string"==typeof r[t=r[n]]&&(i[x.camelCase(t)]=r[t]);else for(t in r)"string"==typeof r[t]&&(i[t]=r[t]);return i}x.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){x.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(u.style(e.elem,t,e.end),e.setAttr=!0)}}),x.fn.addBack||(x.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),x.effects.animateClass=function(i,e,t,n){var a=x.speed(e,t,n);return this.queue(function(){var e,n=x(this),t=n.attr("class")||"",r=a.children?n.find("*").addBack():n;r=r.map(function(){return{el:x(this),start:l(this)}}),(e=function(){x.each(s,function(e,t){i[t]&&n[t+"Class"](i[t])})})(),r=r.map(function(){return this.end=l(this.el[0]),this.diff=function(e,t){var n,r,i={};for(n in t)r=t[n],e[n]!==r&&(c[n]||!x.fx.step[n]&&isNaN(parseFloat(r))||(i[n]=r));return i}(this.start,this.end),this}),n.attr("class",t),r=r.map(function(){var e=this,t=x.Deferred(),n=x.extend({},a,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,n),t.promise()}),x.when.apply(x,r.get()).done(function(){e(),x.each(arguments,function(){var t=this.el;x.each(this.diff,function(e){t.css(e,"")})}),a.complete.call(n[0])})})},x.fn.extend({addClass:(o=x.fn.addClass,function(e,t,n,r){return t?x.effects.animateClass.call(this,{add:e},t,n,r):o.apply(this,arguments)}),removeClass:(i=x.fn.removeClass,function(e,t,n,r){return 1<arguments.length?x.effects.animateClass.call(this,{remove:e},t,n,r):i.apply(this,arguments)}),toggleClass:(a=x.fn.toggleClass,function(e,t,n,r,i){return"boolean"==typeof t||void 0===t?n?x.effects.animateClass.call(this,t?{add:e}:{remove:e},n,r,i):a.apply(this,arguments):x.effects.animateClass.call(this,{toggle:e},t,n,r)}),switchClass:function(e,t,n,r,i){return x.effects.animateClass.call(this,{add:t,remove:e},n,r,i)}})}(),function(){var t,n,r,i;function u(e,t,n,r){return x.isPlainObject(e)&&(e=(t=e).effect),e={effect:e},null==t&&(t={}),x.isFunction(t)&&(r=t,n=null,t={}),("number"==typeof t||x.fx.speeds[t])&&(r=n,n=t,t={}),x.isFunction(n)&&(r=n,n=null),t&&x.extend(e,t),n=n||t.duration,e.duration=x.fx.off?0:"number"==typeof n?n:n in x.fx.speeds?x.fx.speeds[n]:x.fx.speeds._default,e.complete=r||t.complete,e}function a(e){return!(e&&"number"!=typeof e&&!x.fx.speeds[e])||("string"==typeof e&&!x.effects.effect[e]||(!!x.isFunction(e)||"object"==typeof e&&!e.effect))}function o(e,t){var n=t.outerWidth(),r=t.outerHeight(),i=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,n,r,0];return{top:parseFloat(i[1])||0,right:"auto"===i[2]?n:parseFloat(i[2]),bottom:"auto"===i[3]?r:parseFloat(i[3]),left:parseFloat(i[4])||0}}x.expr&&x.expr.filters&&x.expr.filters.animated&&(x.expr.filters.animated=(t=x.expr.filters.animated,function(e){return!!x(e).data(f)||t(e)})),!1!==x.uiBackCompat&&x.extend(x.effects,{save:function(e,t){for(var n=0,r=t.length;n<r;n++)null!==t[n]&&e.data(c+t[n],e[0].style[t[n]])},restore:function(e,t){for(var n,r=0,i=t.length;r<i;r++)null!==t[r]&&(n=e.data(c+t[r]),e.css(t[r],n))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(n){if(n.parent().is(".ui-effects-wrapper"))return n.parent();var r={width:n.outerWidth(!0),height:n.outerHeight(!0),float:n.css("float")},e=x("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:n.width(),height:n.height()},i=document.activeElement;try{i.id}catch(e){i=document.body}return n.wrap(e),(n[0]===i||x.contains(n[0],i))&&x(i).trigger("focus"),e=n.parent(),"static"===n.css("position")?(e.css({position:"relative"}),n.css({position:"relative"})):(x.extend(r,{position:n.css("position"),zIndex:n.css("z-index")}),x.each(["top","left","bottom","right"],function(e,t){r[t]=n.css(t),isNaN(parseInt(r[t],10))&&(r[t]="auto")}),n.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),n.css(t),e.css(r).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===t||x.contains(e[0],t))&&x(t).trigger("focus")),e}}),x.extend(x.effects,{version:"1.12.1",define:function(e,t,n){return n||(n=t,t="effect"),x.effects.effect[e]=n,x.effects.effect[e].mode=t,n},scaledDimensions:function(e,t,n){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var r="horizontal"!==n?(t||100)/100:1,i="vertical"!==n?(t||100)/100:1;return{height:e.height()*i,width:e.width()*r,outerHeight:e.outerHeight()*i,outerWidth:e.outerWidth()*r}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,n){var r=e.queue();1<t&&r.splice.apply(r,[1,0].concat(r.splice(t,n))),e.dequeue()},saveStyle:function(e){e.data(l,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(l)||"",e.removeData(l)},mode:function(e,t){var n=e.is(":hidden");return"toggle"===t&&(t=n?"show":"hide"),(n?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var n,r;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=e[1]/t.width}return{x:r,y:n}},createPlaceholder:function(e){var t,n=e.css("position"),r=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",t=x("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(c+"placeholder",t)),e.css({position:n,left:r.left,top:r.top}),t},removePlaceholder:function(e){var t=c+"placeholder",n=e.data(t);n&&(n.remove(),e.removeData(t))},cleanUp:function(e){x.effects.restoreStyle(e),x.effects.removePlaceholder(e)},setTransition:function(r,e,i,a){return a=a||{},x.each(e,function(e,t){var n=r.cssUnit(t);0<n[0]&&(a[t]=n[0]*i+n[1])}),a}}),x.fn.extend({effect:function(){var r=u.apply(this,arguments),i=x.effects.effect[r.effect],a=i.mode,e=r.queue,t=e||"fx",o=r.complete,s=r.mode,c=[],n=function(e){var t=x(this),n=x.effects.mode(t,s)||a;t.data(f,!0),c.push(n),a&&("show"===n||n===a&&"hide"===n)&&t.show(),a&&"none"===n||x.effects.saveStyle(t),x.isFunction(e)&&e()};if(x.fx.off||!i)return s?this[s](r.duration,o):this.each(function(){o&&o.call(this)});function l(e){var t=x(this);function n(){x.isFunction(o)&&o.call(t[0]),x.isFunction(e)&&e()}r.mode=c.shift(),!1===x.uiBackCompat||a?"none"===r.mode?(t[s](),n()):i.call(t[0],r,function(){t.removeData(f),x.effects.cleanUp(t),"hide"===r.mode&&t.hide(),n()}):(t.is(":hidden")?"hide"===s:"show"===s)?(t[s](),n()):i.call(t[0],r,n)}return!1===e?this.each(n).each(l):this.queue(t,n).queue(t,l)},show:(i=x.fn.show,function(e){if(a(e))return i.apply(this,arguments);var t=u.apply(this,arguments);return t.mode="show",this.effect.call(this,t)}),hide:(r=x.fn.hide,function(e){if(a(e))return r.apply(this,arguments);var t=u.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)}),toggle:(n=x.fn.toggle,function(e){if(a(e)||"boolean"==typeof e)return n.apply(this,arguments);var t=u.apply(this,arguments);return t.mode="toggle",this.effect.call(this,t)}),cssUnit:function(e){var n=this.css(e),r=[];return x.each(["em","px","%","pt"],function(e,t){0<n.indexOf(t)&&(r=[parseFloat(n),t])}),r},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):o(this.css("clip"),this)},transfer:function(e,t){var n=x(this),r=x(e.to),i="fixed"===r.css("position"),a=x("body"),o=i?a.scrollTop():0,s=i?a.scrollLeft():0,c=r.offset(),l={top:c.top-o,left:c.left-s,height:r.innerHeight(),width:r.innerWidth()},u=n.offset(),f=x("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:u.top-o,left:u.left-s,height:n.innerHeight(),width:n.innerWidth(),position:i?"fixed":"absolute"}).animate(l,e.duration,e.easing,function(){f.remove(),x.isFunction(t)&&t()})}}),x.fx.step.clip=function(e){e.clipInit||(e.start=x(e.elem).cssClip(),"string"==typeof e.end&&(e.end=o(e.end,e.elem)),e.clipInit=!0),x(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),r={},x.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){r[e]=function(e){return Math.pow(e,t+2)}}),x.extend(r,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),x.each(r,function(e,t){x.easing["easeIn"+e]=t,x.easing["easeOut"+e]=function(e){return 1-t(1-e)},x.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});x.effects,x.effects.define("blind","hide",function(e,t){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=x(this),i=e.direction||"up",a=r.cssClip(),o={clip:x.extend({},a)},s=x.effects.createPlaceholder(r);o.clip[n[i][0]]=o.clip[n[i][1]],"show"===e.mode&&(r.cssClip(o.clip),s&&s.css(x.effects.clipToBox(o)),o.clip=a),s&&s.animate(x.effects.clipToBox(o),e.duration,e.easing),r.animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("bounce",function(e,t){var n,r,i,a=x(this),o=e.mode,s="hide"===o,c="show"===o,l=e.direction||"up",u=e.distance,f=e.times||5,d=2*f+(c||s?1:0),h=e.duration/d,p=e.easing,m="up"===l||"down"===l?"top":"left",g="up"===l||"left"===l,_=0,b=a.queue().length;for(x.effects.createPlaceholder(a),i=a.css(m),u||(u=a["top"===m?"outerHeight":"outerWidth"]()/3),c&&((r={opacity:1})[m]=i,a.css("opacity",0).css(m,g?2*-u:2*u).animate(r,h,p)),s&&(u/=Math.pow(2,f-1)),(r={})[m]=i;_<f;_++)(n={})[m]=(g?"-=":"+=")+u,a.animate(n,h,p).animate(r,h,p),u=s?2*u:u/2;s&&((n={opacity:0})[m]=(g?"-=":"+=")+u,a.animate(n,h,p)),a.queue(t),x.effects.unshift(a,b,d+1)}),x.effects.define("clip","hide",function(e,t){var n,r={},i=x(this),a=e.direction||"vertical",o="both"===a,s=o||"horizontal"===a,c=o||"vertical"===a;n=i.cssClip(),r.clip={top:c?(n.bottom-n.top)/2:n.top,right:s?(n.right-n.left)/2:n.right,bottom:c?(n.bottom-n.top)/2:n.bottom,left:s?(n.right-n.left)/2:n.left},x.effects.createPlaceholder(i),"show"===e.mode&&(i.cssClip(r.clip),r.clip=n),i.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("drop","hide",function(e,t){var n,r=x(this),i="show"===e.mode,a=e.direction||"left",o="up"===a||"down"===a?"top":"left",s="up"===a||"left"===a?"-=":"+=",c="+="===s?"-=":"+=",l={opacity:0};x.effects.createPlaceholder(r),n=e.distance||r["top"===o?"outerHeight":"outerWidth"](!0)/2,l[o]=s+n,i&&(r.css(l),l[o]=c+n,l.opacity=1),r.animate(l,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("explode","hide",function(e,t){var n,r,i,a,o,s,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,l=c,u=x(this),f="show"===e.mode,d=u.show().css("visibility","hidden").offset(),h=Math.ceil(u.outerWidth()/l),p=Math.ceil(u.outerHeight()/c),m=[];function g(){m.push(this),m.length===c*l&&(u.css({visibility:"visible"}),x(m).remove(),t())}for(n=0;n<c;n++)for(a=d.top+n*p,s=n-(c-1)/2,r=0;r<l;r++)i=d.left+r*h,o=r-(l-1)/2,u.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-r*h,top:-n*p}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h,height:p,left:i+(f?o*h:0),top:a+(f?s*p:0),opacity:f?0:1}).animate({left:i+(f?0:o*h),top:a+(f?0:s*p),opacity:f?1:0},e.duration||500,e.easing,g)}),x.effects.define("fade","toggle",function(e,t){var n="show"===e.mode;x(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("fold","hide",function(t,e){var n=x(this),r=t.mode,i="show"===r,a="hide"===r,o=t.size||15,s=/([0-9]+)%/.exec(o),c=!!t.horizFirst?["right","bottom"]:["bottom","right"],l=t.duration/2,u=x.effects.createPlaceholder(n),f=n.cssClip(),d={clip:x.extend({},f)},h={clip:x.extend({},f)},p=[f[c[0]],f[c[1]]],m=n.queue().length;s&&(o=parseInt(s[1],10)/100*p[a?0:1]),d.clip[c[0]]=o,h.clip[c[0]]=o,h.clip[c[1]]=0,i&&(n.cssClip(h.clip),u&&u.css(x.effects.clipToBox(h)),h.clip=f),n.queue(function(e){u&&u.animate(x.effects.clipToBox(d),l,t.easing).animate(x.effects.clipToBox(h),l,t.easing),e()}).animate(d,l,t.easing).animate(h,l,t.easing).queue(e),x.effects.unshift(n,m,4)}),x.effects.define("highlight","show",function(e,t){var n=x(this),r={backgroundColor:n.css("backgroundColor")};"hide"===e.mode&&(r.opacity=0),x.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("size",function(i,t){var e,a,n,r=x(this),o=["fontSize"],s=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],l=i.mode,u="effect"!==l,f=i.scale||"both",d=i.origin||["middle","center"],h=r.css("position"),p=r.position(),m=x.effects.scaledDimensions(r),g=i.from||m,_=i.to||x.effects.scaledDimensions(r,0);x.effects.createPlaceholder(r),"show"===l&&(n=g,g=_,_=n),a={from:{y:g.height/m.height,x:g.width/m.width},to:{y:_.height/m.height,x:_.width/m.width}},"box"!==f&&"both"!==f||(a.from.y!==a.to.y&&(g=x.effects.setTransition(r,s,a.from.y,g),_=x.effects.setTransition(r,s,a.to.y,_)),a.from.x!==a.to.x&&(g=x.effects.setTransition(r,c,a.from.x,g),_=x.effects.setTransition(r,c,a.to.x,_))),"content"!==f&&"both"!==f||a.from.y!==a.to.y&&(g=x.effects.setTransition(r,o,a.from.y,g),_=x.effects.setTransition(r,o,a.to.y,_)),d&&(e=x.effects.getBaseline(d,m),g.top=(m.outerHeight-g.outerHeight)*e.y+p.top,g.left=(m.outerWidth-g.outerWidth)*e.x+p.left,_.top=(m.outerHeight-_.outerHeight)*e.y+p.top,_.left=(m.outerWidth-_.outerWidth)*e.x+p.left),r.css(g),"content"!==f&&"both"!==f||(s=s.concat(["marginTop","marginBottom"]).concat(o),c=c.concat(["marginLeft","marginRight"]),r.find("*[width]").each(function(){var e=x(this),t=x.effects.scaledDimensions(e),n={height:t.height*a.from.y,width:t.width*a.from.x,outerHeight:t.outerHeight*a.from.y,outerWidth:t.outerWidth*a.from.x},r={height:t.height*a.to.y,width:t.width*a.to.x,outerHeight:t.height*a.to.y,outerWidth:t.width*a.to.x};a.from.y!==a.to.y&&(n=x.effects.setTransition(e,s,a.from.y,n),r=x.effects.setTransition(e,s,a.to.y,r)),a.from.x!==a.to.x&&(n=x.effects.setTransition(e,c,a.from.x,n),r=x.effects.setTransition(e,c,a.to.x,r)),u&&x.effects.saveStyle(e),e.css(n),e.animate(r,i.duration,i.easing,function(){u&&x.effects.restoreStyle(e)})})),r.animate(_,{queue:!1,duration:i.duration,easing:i.easing,complete:function(){var e=r.offset();0===_.opacity&&r.css("opacity",g.opacity),u||(r.css("position","static"===h?"relative":h).offset(e),x.effects.saveStyle(r)),t()}})}),x.effects.define("scale",function(e,t){var n=x(this),r=e.mode,i=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"effect"!==r?0:100),a=x.extend(!0,{from:x.effects.scaledDimensions(n),to:x.effects.scaledDimensions(n,i,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),x.effects.effect.size.call(this,a,t)}),x.effects.define("puff","hide",function(e,t){var n=x.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});x.effects.effect.scale.call(this,n,t)}),x.effects.define("pulsate","show",function(e,t){var n=x(this),r=e.mode,i="show"===r,a=i||"hide"===r,o=2*(e.times||5)+(a?1:0),s=e.duration/o,c=0,l=1,u=n.queue().length;for(!i&&n.is(":visible")||(n.css("opacity",0).show(),c=1);l<o;l++)n.animate({opacity:c},s,e.easing),c=1-c;n.animate({opacity:c},s,e.easing),n.queue(t),x.effects.unshift(n,u,o+1)}),x.effects.define("shake",function(e,t){var n=1,r=x(this),i=e.direction||"left",a=e.distance||20,o=e.times||3,s=2*o+1,c=Math.round(e.duration/s),l="up"===i||"down"===i?"top":"left",u="up"===i||"left"===i,f={},d={},h={},p=r.queue().length;for(x.effects.createPlaceholder(r),f[l]=(u?"-=":"+=")+a,d[l]=(u?"+=":"-=")+2*a,h[l]=(u?"-=":"+=")+2*a,r.animate(f,c,e.easing);n<o;n++)r.animate(d,c,e.easing).animate(h,c,e.easing);r.animate(d,c,e.easing).animate(f,c/2,e.easing).queue(t),x.effects.unshift(r,p,s+1)}),x.effects.define("slide","show",function(e,t){var n,r,i=x(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=e.mode,s=e.direction||"left",c="up"===s||"down"===s?"top":"left",l="up"===s||"left"===s,u=e.distance||i["top"===c?"outerHeight":"outerWidth"](!0),f={};x.effects.createPlaceholder(i),n=i.cssClip(),r=i.position()[c],f[c]=(l?-1:1)*u+r,f.clip=i.cssClip(),f.clip[a[s][1]]=f.clip[a[s][0]],"show"===o&&(i.cssClip(f.clip),i.css(c,f[c]),f.clip=n,f[c]=r),i.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:t})});!1!==x.uiBackCompat&&x.effects.define("transfer",function(e,t){x(this).transfer(e,t)});x.ui.focusable=function(e,t){var n,r,i,a,o,s=e.nodeName.toLowerCase();return"area"===s?(r=(n=e.parentNode).name,!(!e.href||!r||"map"!==n.nodeName.toLowerCase())&&(0<(i=x("img[usemap='#"+r+"']")).length&&i.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(s)?(a=!e.disabled)&&(o=x(e).closest("fieldset")[0])&&(a=!o.disabled):a="a"===s&&e.href||t,a&&x(e).is(":visible")&&function(e){var t=e.css("visibility");for(;"inherit"===t;)e=e.parent(),t=e.css("visibility");return"hidden"!==t}(x(e)))},x.extend(x.expr[":"],{focusable:function(e){return x.ui.focusable(e,null!=x.attr(e,"tabindex"))}});x.ui.focusable,x.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},x.ui.formResetMixin={_formResetHandler:function(){var t=x(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");x.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var e=this.form.data("ui-form-reset-instances")||[];e.length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(x.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};"1.7"===x.fn.jquery.substring(0,3)&&(x.each(["Width","Height"],function(e,n){var i="Width"===n?["Left","Right"]:["Top","Bottom"],r=n.toLowerCase(),a={innerWidth:x.fn.innerWidth,innerHeight:x.fn.innerHeight,outerWidth:x.fn.outerWidth,outerHeight:x.fn.outerHeight};function o(e,t,n,r){return x.each(i,function(){t-=parseFloat(x.css(e,"padding"+this))||0,n&&(t-=parseFloat(x.css(e,"border"+this+"Width"))||0),r&&(t-=parseFloat(x.css(e,"margin"+this))||0)}),t}x.fn["inner"+n]=function(e){return void 0===e?a["inner"+n].call(this):this.each(function(){x(this).css(r,o(this,e)+"px")})},x.fn["outer"+n]=function(e,t){return"number"!=typeof e?a["outer"+n].call(this,e):this.each(function(){x(this).css(r,o(this,e,!0,t)+"px")})}}),x.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))});var t,a;x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},x.ui.escapeSelector=(t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(e){return e.replace(t,"\\$1")}),x.fn.labels=function(){var e,t,n,r,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(r=this.eq(0).parents("label"),(n=this.attr("id"))&&(i=(e=this.eq(0).parents().last()).add(e.length?e.siblings():this.siblings()),t="label[for='"+x.ui.escapeSelector(n)+"']",r=r.add(i.find(t).addBack(t))),this.pushStack(r))},x.fn.scrollParent=function(e){var t=this.css("position"),n="absolute"===t,r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter(function(){var e=x(this);return(!n||"static"!==e.css("position"))&&r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&i.length?i:x(this[0].ownerDocument||document)},x.extend(x.expr[":"],{tabbable:function(e){var t=x.attr(e,"tabindex"),n=null!=t;return(!n||0<=t)&&x.ui.focusable(e,n)}}),x.fn.extend({uniqueId:(a=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}}),x.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=x(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():x()}},_createIcons:function(){var e,t,n=this.options.icons;n&&(e=x("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+n.header),e.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,n.header)._addClass(t,null,n.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"!==e?("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons())):this._activate(t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=x.ui.keyCode,n=this.headers.length,r=this.headers.index(e.target),i=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:i=this.headers[(r+1)%n];break;case t.LEFT:case t.UP:i=this.headers[(r-1+n)%n];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:i=this.headers[0];break;case t.END:i=this.headers[n-1]}i&&(x(e.target).attr("tabIndex",-1),x(i).attr("tabIndex",0),x(i).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===x.ui.keyCode.UP&&e.ctrlKey&&x(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=x()):!1===e.active?this._activate(0):this.active.length&&!x.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=x()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var n,e=this.options,t=e.heightStyle,r=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=x(this),t=e.uniqueId().attr("id"),n=e.next(),r=n.uniqueId().attr("id");e.attr("aria-controls",r),n.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(n=r.height(),this.element.siblings(":visible").each(function(){var e=x(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(n-=e.outerHeight(!0))}),this.headers.each(function(){n-=x(this).outerHeight(!0)}),this.headers.next().each(function(){x(this).height(Math.max(0,n-x(this).innerHeight()+x(this).height()))}).css("overflow","auto")):"auto"===t&&(n=0,this.headers.next().each(function(){var e=x(this).is(":visible");e||x(this).show(),n=Math.max(n,x(this).css("height","").height()),e||x(this).hide()}).height(n))},_activate:function(e){var t=this._findActive(e)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:x.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):x()},_setupEvents:function(e){var n={keydown:"_keydown"};e&&x.each(e.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t,n,r=this.options,i=this.active,a=x(e.currentTarget),o=a[0]===i[0],s=o&&r.collapsible,c=s?x():a.next(),l=i.next(),u={oldHeader:i,oldPanel:l,newHeader:s?x():a,newPanel:c};e.preventDefault(),o&&!r.collapsible||!1===this._trigger("beforeActivate",e,u)||(r.active=!s&&this.headers.index(a),this.active=o?x():a,this._toggle(u),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),r.icons&&(t=i.children(".ui-accordion-header-icon"),this._removeClass(t,null,r.icons.activeHeader)._addClass(t,null,r.icons.header)),o||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),r.icons&&(n=a.children(".ui-accordion-header-icon"),this._removeClass(n,null,r.icons.header)._addClass(n,null,r.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var t=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=n,this.options.animate?this._animate(t,n,e):(n.hide(),t.show(),this._toggleComplete(e)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(x(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,n,t){var r,i,a,o=this,s=0,c=e.css("box-sizing"),l=e.length&&(!n.length||e.index()<n.index()),u=this.options.animate||{},f=l&&u.down||u,d=function(){o._toggleComplete(t)};return"number"==typeof f&&(a=f),"string"==typeof f&&(i=f),i=i||f.easing||u.easing,a=a||f.duration||u.duration,n.length?e.length?(r=e.show().outerHeight(),n.animate(this.hideProps,{duration:a,easing:i,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:a,easing:i,complete:d,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===c&&(s+=t.now):"content"!==o.options.heightStyle&&(t.now=Math.round(r-n.outerHeight()-s),s=0)}})):n.animate(this.hideProps,a,i,d):e.animate(this.showProps,a,i,d)},_toggleComplete:function(e){var t=e.oldPanel,n=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),x.ui.safeActiveElement=function(t){var n;try{n=t.activeElement}catch(e){n=t.body}return n||(n=t.body),n.nodeName||(n=t.body),n},x.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(e){var t=x(e.target),n=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var t=x(e.target).closest(".ui-menu-item"),n=x(e.currentTarget);t[0]===n[0]&&(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,n))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,n)},blur:function(e){this._delay(function(){!x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=x(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,n,r,i,a=!0;switch(e.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(e);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case x.ui.keyCode.HOME:this._move("first","first",e);break;case x.ui.keyCode.END:this._move("last","last",e);break;case x.ui.keyCode.UP:this.previous(e);break;case x.ui.keyCode.DOWN:this.next(e);break;case x.ui.keyCode.LEFT:this.collapse(e);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(e);break;case x.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,n=this.previousFilter||"",i=!1,r=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),r===n?i=!0:r=n+r,t=this._filterMenuItems(r),(t=i&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(r=String.fromCharCode(e.keyCode),t=this._filterMenuItems(r)),t.length?(this.focus(e,t),this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,n,r,i=this,a=this.options.icons.submenu,o=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=o.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=x(this),t=e.prev(),n=x("<span>").data("ui-menu-submenu-caret",!0);i._addClass(n,"ui-menu-icon","ui-icon "+a),t.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(e=o.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=x(this);i._isDivider(e)&&i._addClass(e,"ui-menu-divider","ui-widget-content")}),r=(n=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){if("icons"===e){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,t.submenu)}this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var n,r,i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),r=this.active.children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(n=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,n,r,i,a,o;this._hasScroll()&&(t=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,r=e.offset().top-this.activeMenu.offset().top-t-n,i=this.activeMenu.scrollTop(),a=this.activeMenu.height(),o=e.outerHeight(),r<0?this.activeMenu.scrollTop(i+r):a<r+o&&this.activeMenu.scrollTop(i+r-a+o))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=x.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var e=n?this.element:x(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this._removeClass(e.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=e},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!x(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,n){var r;this.active&&(r="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),r&&r.length&&this.active||(r=this.activeMenu.find(this.options.items)[t]()),this.focus(n,r)},nextPage:function(e){var t,n,r;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(t=x(this)).offset().top-n-r<0}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var t,n,r;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=x(this)).offset().top-n+r}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||x(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var t=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=new RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return n.test(x.trim(x(this).children(".ui-menu-item-wrapper").text()))})}});x.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var n,r,i,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,a="input"===e;this.isMultiLine=t||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[t||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))r=i=n=!0;else{r=i=n=!1;var t=x.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:n=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:n=!0,this._move("nextPage",e);break;case t.UP:n=!0,this._keyEvent("previous",e);break;case t.DOWN:n=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(n=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:r=!0,this._searchTimeout(e)}}},keypress:function(e){if(n)return n=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault());if(!r){var t=x.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){if(i)return i=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),this._change(e))}}),this._initSource(),this.menu=x("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==x.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,t){var n,r;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){x(e.target).trigger(e.originalEvent)});r=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:r})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(r.value),(n=t.item.attr("aria-label")||r.value)&&x.trim(n).length&&(this.liveRegion.children().hide(),x("<div>").text(n).appendTo(this.liveRegion))},menuselect:function(e,t){var n=t.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=n})),!1!==this._trigger("select",e,{item:n})&&this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=x("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var t=this.menu.element[0];return e.target===this.element[0]||e.target===t||x.contains(t,e.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?x(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var n,r,i=this;x.isArray(this.options.source)?(n=this.options.source,this.source=function(e,t){t(x.ui.autocomplete.filter(n,e.term))}):"string"==typeof this.options.source?(r=this.options.source,this.source=function(e,t){i.xhr&&i.xhr.abort(),i.xhr=x.ajax({url:r,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(r){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),n=r.altKey||r.ctrlKey||r.metaKey||r.shiftKey;e&&(!e||t||n)||(this.selectedItem=null,this.search(null,r))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return x.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:x.map(e,function(e){return"string"==typeof e?{label:e,value:e}:x.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(x.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(n,e){var r=this;x.each(e,function(e,t){r._renderItemData(n,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return x("<li>").append(x("<div>").text(t.label)).appendTo(e)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),x.extend(x.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var n=new RegExp(x.ui.autocomplete.escapeRegex(t),"i");return x.grep(e,function(e){return n.test(e.label||e.value||e)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),x("<div>").text(t).appendTo(this.liveRegion))}});x.ui.autocomplete;var o=/ui-corner-([a-z]){2,6}/g;x.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var o=this,s=[];x.each(this.options.items,function(i,e){var t,a={};if(e)return"controlgroupLabel"===i?((t=o.element.find(e)).each(function(){var e=x(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),o._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),void(s=s.concat(t.get()))):void(x.fn[i]&&(a=o["_"+i+"Options"]?o["_"+i+"Options"]("middle"):{classes:{}},o.element.find(e).each(function(){var e=x(this),t=e[i]("instance"),n=x.widget.extend({},a);if("button"!==i||!e.parent(".ui-spinner").length){t||(t=e[i]()[i]("instance")),t&&(n.classes=o._resolveClassesValues(n.classes,t)),e[i](n);var r=e[i]("widget");x.data(r[0],"ui-controlgroup-data",t||e[i]("instance")),s.push(r[0])}})))}),this.childWidgets=x(x.unique(s)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=x(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){var n=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,n)},_buildSimpleOptions:function(e,t){var n="vertical"===this.options.direction,r={classes:{}};return r.classes[t]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[e],r},_spinnerOptions:function(e){var t=this._buildSimpleOptions(e,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:!!t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(n,r){var i={};return x.each(n,function(e){var t=r.options.classes[e]||"";t=x.trim(t.replace(o,"")),i[e]=(t+" "+n[e]).replace(/\s+/g," ")}),i},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var i,a=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),i=this.childWidgets,this.options.onlyVisible&&(i=i.filter(":visible")),i.length&&(x.each(["first","last"],function(e,t){var n=i[t]().data("ui-controlgroup-data");if(n&&a["_"+n.widgetName+"Options"]){var r=a["_"+n.widgetName+"Options"](1===i.length?"only":t);r.classes=a._resolveClassesValues(r.classes,n),n.element[n.widgetName](r)}else a._updateCornerClass(i[t](),t)}),this._callChildMethod("refresh"))}});x.widget("ui.checkboxradio",[x.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,t,n=this,r=this._super()||{};return this._readType(),t=this.element.labels(),this.label=x(t[t.length-1]),this.label.length||x.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){n.originalLabel+=3===this.nodeType?x(this).text():this.outerHTML}),this.originalLabel&&(r.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(r.disabled=e),r},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||x.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,t="input[name='"+x.ui.escapeSelector(e)+"']";return e?(this.form.length?x(this.form[0].elements).filter(t):x(t).filter(function(){return 0===x(this).form().length})).not(this.element):x([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=x(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){if("label"!==e||t){if(this._super(e,t),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",t),void(this.element[0].disabled=t);this.refresh()}},_updateIcon:function(e){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=x("<span>"),this.iconSpace=x("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),this.iconSpace&&(e=e.not(this.iconSpace[0])),e.remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]);var d;x.ui.checkboxradio;x.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===x.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,t){var n="iconPosition"!==e,r=n?this.options.iconPosition:t,i="top"===r||"bottom"===r;this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=x("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,t),this._attachIcon(r),i?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=x("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(r))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=void 0===e.showLabel?this.options.showLabel:e.showLabel,n=void 0===e.icon?this.options.icon:e.icon;t||n||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),(this.element[0].disabled=t)&&this.element.blur())},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==x.uiBackCompat&&(x.widget("ui.button",x.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"!==e?("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",t)}}),x.fn.button=(d=x.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?d.apply(this,arguments):(x.ui.checkboxradio||x.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),x.fn.buttonset=function(){return x.ui.controlgroup||x.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var h;x.ui.button;function p(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},x.extend(this._defaults,this.regional[""]),this.regional.en=x.extend(!0,{},this.regional[""]),this.regional["en-US"]=x.extend(!0,{},this.regional.en),this.dpDiv=m(x("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function m(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){x(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,g)}function g(){x.datepicker._isDisabledDatepicker(h.inline?h.dpDiv.parent()[0]:h.input[0])||(x(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),x(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).addClass("ui-datepicker-next-hover"))}function _(e,t){for(var n in x.extend(e,t),t)null==t[n]&&(e[n]=t[n]);return e}x.extend(x.ui,{datepicker:{version:"1.12.1"}}),x.extend(p.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return _(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var n,r,i;r="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(x(e),r)).settings=x.extend({},t||{}),"input"===n?this._connectDatepicker(e,i):r&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?m(x("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var n=x(e);t.append=x([]),t.trigger=x([]),n.hasClass(this.markerClassName)||(this._attachments(n,t),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),x.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var n,r,i,a=this._get(t,"appendText"),o=this._get(t,"isRTL");t.append&&t.append.remove(),a&&(t.append=x("<span class='"+this._appendClass+"'>"+a+"</span>"),e[o?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(n=this._get(t,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(r=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),t.trigger=x(this._get(t,"buttonImageOnly")?x("<img/>").addClass(this._triggerClass).attr({src:i,alt:r,title:r}):x("<button type='button'></button>").addClass(this._triggerClass).html(i?x("<img/>").attr({src:i,alt:r,title:r}):r)),e[o?"before":"after"](t.trigger),t.trigger.on("click",function(){return x.datepicker._datepickerShowing&&x.datepicker._lastInput===e[0]?x.datepicker._hideDatepicker():(x.datepicker._datepickerShowing&&x.datepicker._lastInput!==e[0]&&x.datepicker._hideDatepicker(),x.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,n,r,i,a=new Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=function(e){for(i=r=n=0;i<e.length;i++)e[i].length>n&&(n=e[i].length,r=i);return r},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(e,t){var n=x(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(t.dpDiv),x.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,n,r,i){var a,o,s,c,l,u=this._dialogInst;return u||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=x("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),x("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},x.data(this._dialogInput[0],"datepicker",u)),_(u.settings,r||{}),t=t&&t.constructor===Date?this._formatDate(u,t):t,this._dialogInput.val(t),this._pos=i?i.length?i:[i.pageX,i.pageY]:null,this._pos||(o=document.documentElement.clientWidth,s=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,l=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+c,s/2-150+l]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),x.blockUI&&x.blockUI(this.dpDiv),x.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(e){var t,n=x(e),r=x.data(e,"datepicker");n.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),x.removeData(e,"datepicker"),"input"===t?(r.append.remove(),r.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||n.removeClass(this.markerClassName).empty(),h===r&&(h=null))},_enableDatepicker:function(t){var e,n,r=x(t),i=x.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,i.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((n=r.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=x.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,n,r=x(t),i=x.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,i.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((n=r.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=x.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return x.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,n){var r,i,a,o,s=this._getInst(e);if(2===arguments.length&&"string"==typeof t)return"defaults"===t?x.extend({},x.datepicker._defaults):s?"all"===t?x.extend({},s.settings):this._get(s,t):null;r=t||{},"string"==typeof t&&((r={})[t]=n),s&&(this._curInst===s&&this._hideDatepicker(),i=this._getDateDatepicker(e,!0),a=this._getMinMaxDate(s,"min"),o=this._getMinMaxDate(s,"max"),_(s.settings,r),null!==a&&void 0!==r.dateFormat&&void 0===r.minDate&&(s.settings.minDate=this._formatDate(s,a)),null!==o&&void 0!==r.dateFormat&&void 0===r.maxDate&&(s.settings.maxDate=this._formatDate(s,o)),"disabled"in r&&(r.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(x(e),s),this._autoSize(s),this._setDate(s,i),this._updateAlternate(s),this._updateDatepicker(s))},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&&(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&&!n.inline&&this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(e){var t,n,r,i=x.datepicker._getInst(e.target),a=!0,o=i.dpDiv.is(".ui-datepicker-rtl");if(i._keyEvent=!0,x.datepicker._datepickerShowing)switch(e.keyCode){case 9:x.datepicker._hideDatepicker(),a=!1;break;case 13:return(r=x("td."+x.datepicker._dayOverClass+":not(."+x.datepicker._currentClass+")",i.dpDiv))[0]&&x.datepicker._selectDay(e.target,i.selectedMonth,i.selectedYear,r[0]),(t=x.datepicker._get(i,"onSelect"))?(n=x.datepicker._formatDate(i),t.apply(i.input?i.input[0]:null,[n,i])):x.datepicker._hideDatepicker(),!1;case 27:x.datepicker._hideDatepicker();break;case 33:x.datepicker._adjustDate(e.target,e.ctrlKey?-x.datepicker._get(i,"stepBigMonths"):-x.datepicker._get(i,"stepMonths"),"M");break;case 34:x.datepicker._adjustDate(e.target,e.ctrlKey?+x.datepicker._get(i,"stepBigMonths"):+x.datepicker._get(i,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&x.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&x.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,o?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&x.datepicker._adjustDate(e.target,e.ctrlKey?-x.datepicker._get(i,"stepBigMonths"):-x.datepicker._get(i,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,o?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&x.datepicker._adjustDate(e.target,e.ctrlKey?+x.datepicker._get(i,"stepBigMonths"):+x.datepicker._get(i,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?x.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,n,r=x.datepicker._getInst(e.target);if(x.datepicker._get(r,"constrainInput"))return t=x.datepicker._possibleChars(x.datepicker._get(r,"dateFormat")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||n<" "||!t||-1<t.indexOf(n)},_doKeyUp:function(e){var t=x.datepicker._getInst(e.target);if(t.input.val()!==t.lastVal)try{x.datepicker.parseDate(x.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,x.datepicker._getFormatConfig(t))&&(x.datepicker._setDateFromField(t),x.datepicker._updateAlternate(t),x.datepicker._updateDatepicker(t))}catch(e){}return!0},_showDatepicker:function(e){var t,n,r,i,a,o,s;("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=x("input",e.parentNode)[0]),x.datepicker._isDisabledDatepicker(e)||x.datepicker._lastInput===e)||(t=x.datepicker._getInst(e),x.datepicker._curInst&&x.datepicker._curInst!==t&&(x.datepicker._curInst.dpDiv.stop(!0,!0),t&&x.datepicker._datepickerShowing&&x.datepicker._hideDatepicker(x.datepicker._curInst.input[0])),!1!==(r=(n=x.datepicker._get(t,"beforeShow"))?n.apply(e,[e,t]):{})&&(_(t.settings,r),t.lastVal=null,x.datepicker._lastInput=e,x.datepicker._setDateFromField(t),x.datepicker._inDialog&&(e.value=""),x.datepicker._pos||(x.datepicker._pos=x.datepicker._findPos(e),x.datepicker._pos[1]+=e.offsetHeight),i=!1,x(e).parents().each(function(){return!(i|="fixed"===x(this).css("position"))}),a={left:x.datepicker._pos[0],top:x.datepicker._pos[1]},x.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),x.datepicker._updateDatepicker(t),a=x.datepicker._checkOffset(t,a,i),t.dpDiv.css({position:x.datepicker._inDialog&&x.blockUI?"static":i?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),t.inline||(o=x.datepicker._get(t,"showAnim"),s=x.datepicker._get(t,"duration"),t.dpDiv.css("z-index",function(e){for(var t,n;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(n=parseInt(e.css("zIndex"),10),!isNaN(n)&&0!==n))return n;e=e.parent()}return 0}(x(e))+1),x.datepicker._datepickerShowing=!0,x.effects&&x.effects.effect[o]?t.dpDiv.show(o,x.datepicker._get(t,"showOptions"),s):t.dpDiv[o||"show"](o?s:null),x.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),x.datepicker._curInst=t)))},_updateDatepicker:function(e){this.maxRows=4,(h=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,n=this._getNumberOfMonths(e),r=n[1],i=e.dpDiv.find("."+this._dayOverClass+" a");0<i.length&&g.apply(i.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<r&&e.dpDiv.addClass("ui-datepicker-multi-"+r).css("width",17*r+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===x.datepicker._curInst&&x.datepicker._datepickerShowing&&x.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,n){var r=e.dpDiv.outerWidth(),i=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,s=document.documentElement.clientWidth+(n?0:x(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:x(document).scrollTop());return t.left-=this._get(e,"isRTL")?r-a:0,t.left-=n&&t.left===e.input.offset().left?x(document).scrollLeft():0,t.top-=n&&t.top===e.input.offset().top+o?x(document).scrollTop():0,t.left-=Math.min(t.left,t.left+r>s&&r<s?Math.abs(t.left+r-s):0),t.top-=Math.min(t.top,t.top+i>c&&i<c?Math.abs(i+o):0),t},_findPos:function(e){for(var t,n=this._getInst(e),r=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||x.expr.filters.hidden(e));)e=e[r?"previousSibling":"nextSibling"];return[(t=x(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,n,r,i,a=this._curInst;!a||e&&a!==x.data(e,"datepicker")||this._datepickerShowing&&(t=this._get(a,"showAnim"),n=this._get(a,"duration"),r=function(){x.datepicker._tidyDialog(a)},x.effects&&(x.effects.effect[t]||x.effects[t])?a.dpDiv.hide(t,x.datepicker._get(a,"showOptions"),n,r):a.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?n:null,r),t||r(),this._datepickerShowing=!1,(i=this._get(a,"onClose"))&&i.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),x.blockUI&&(x.unblockUI(),x("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(x.datepicker._curInst){var t=x(e.target),n=x.datepicker._getInst(t[0]);(t[0].id===x.datepicker._mainDivId||0!==t.parents("#"+x.datepicker._mainDivId).length||t.hasClass(x.datepicker.markerClassName)||t.closest("."+x.datepicker._triggerClass).length||!x.datepicker._datepickerShowing||x.datepicker._inDialog&&x.blockUI)&&(!t.hasClass(x.datepicker.markerClassName)||x.datepicker._curInst===n)||x.datepicker._hideDatepicker()}},_adjustDate:function(e,t,n){var r=x(e),i=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(i,t+("M"===n?this._get(i,"showCurrentAtPos"):0),n),this._updateDatepicker(i))},_gotoToday:function(e){var t,n=x(e),r=this._getInst(n[0]);this._get(r,"gotoCurrent")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(t=new Date,r.selectedDay=t.getDate(),r.drawMonth=r.selectedMonth=t.getMonth(),r.drawYear=r.selectedYear=t.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(e,t,n){var r=x(e),i=this._getInst(r[0]);i["selected"+("M"===n?"Month":"Year")]=i["draw"+("M"===n?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(r)},_selectDay:function(e,t,n,r){var i,a=x(e);x(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((i=this._getInst(a[0])).selectedDay=i.currentDay=x("a",r).html(),i.selectedMonth=i.currentMonth=t,i.selectedYear=i.currentYear=n,this._selectDate(e,this._formatDate(i,i.currentDay,i.currentMonth,i.currentYear)))},_clearDate:function(e){var t=x(e);this._selectDate(t,"")},_selectDate:function(e,t){var n,r=x(e),i=this._getInst(r[0]);t=null!=t?t:this._formatDate(i),i.input&&i.input.val(t),this._updateAlternate(i),(n=this._get(i,"onSelect"))?n.apply(i.input?i.input[0]:null,[t,i]):i.input&&i.input.trigger("change"),i.inline?this._updateDatepicker(i):(this._hideDatepicker(),this._lastInput=i.input[0],"object"!=typeof i.input[0]&&i.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,n,r,i=this._get(e,"altField");i&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),r=this.formatDate(t,n,this._getFormatConfig(e)),x(i).val(r))},noWeekends:function(e){var t=e.getDay();return[0<t&&t<6,""]},iso8601Week:function(e){var t,n=new Date(e.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),t=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((t-n)/864e5)/7)+1},parseDate:function(n,a,e){if(null==n||null==a)throw"Invalid arguments";if(""===(a="object"==typeof a?a.toString():a+""))return null;var r,t,i,o,s=0,c=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,l="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),u=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,f=(e?e.dayNames:null)||this._defaults.dayNames,d=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,h=(e?e.monthNames:null)||this._defaults.monthNames,p=-1,m=-1,g=-1,_=-1,b=!1,v=function(e){var t=r+1<n.length&&n.charAt(r+1)===e;return t&&r++,t},y=function(e){var t=v(e),n="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,r=new RegExp("^\\d{"+("y"===e?n:1)+","+n+"}"),i=a.substring(s).match(r);if(!i)throw"Missing number at position "+s;return s+=i[0].length,parseInt(i[0],10)},w=function(e,t,n){var r=-1,i=x.map(v(e)?n:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(x.each(i,function(e,t){var n=t[1];if(a.substr(s,n.length).toLowerCase()===n.toLowerCase())return r=t[0],s+=n.length,!1}),-1!==r)return r+1;throw"Unknown name at position "+s},C=function(){if(a.charAt(s)!==n.charAt(r))throw"Unexpected literal at position "+s;s++};for(r=0;r<n.length;r++)if(b)"'"!==n.charAt(r)||v("'")?C():b=!1;else switch(n.charAt(r)){case"d":g=y("d");break;case"D":w("D",u,f);break;case"o":_=y("o");break;case"m":m=y("m");break;case"M":m=w("M",d,h);break;case"y":p=y("y");break;case"@":p=(o=new Date(y("@"))).getFullYear(),m=o.getMonth()+1,g=o.getDate();break;case"!":p=(o=new Date((y("!")-this._ticksTo1970)/1e4)).getFullYear(),m=o.getMonth()+1,g=o.getDate();break;case"'":v("'")?C():b=!0;break;default:C()}if(s<a.length&&(i=a.substr(s),!/^\s+/.test(i)))throw"Extra/unparsed characters found in date: "+i;if(-1===p?p=(new Date).getFullYear():p<100&&(p+=(new Date).getFullYear()-(new Date).getFullYear()%100+(p<=l?0:-100)),-1<_)for(m=1,g=_;;){if(g<=(t=this._getDaysInMonth(p,m-1)))break;m++,g-=t}if((o=this._daylightSavingAdjust(new Date(p,m-1,g))).getFullYear()!==p||o.getMonth()+1!==m||o.getDate()!==g)throw"Invalid date";return o},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(n,e,t){if(!e)return"";var r,i=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,a=(t?t.dayNames:null)||this._defaults.dayNames,o=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,s=(t?t.monthNames:null)||this._defaults.monthNames,c=function(e){var t=r+1<n.length&&n.charAt(r+1)===e;return t&&r++,t},l=function(e,t,n){var r=""+t;if(c(e))for(;r.length<n;)r="0"+r;return r},u=function(e,t,n,r){return c(e)?r[t]:n[t]},f="",d=!1;if(e)for(r=0;r<n.length;r++)if(d)"'"!==n.charAt(r)||c("'")?f+=n.charAt(r):d=!1;else switch(n.charAt(r)){case"d":f+=l("d",e.getDate(),2);break;case"D":f+=u("D",e.getDay(),i,a);break;case"o":f+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":f+=l("m",e.getMonth()+1,2);break;case"M":f+=u("M",e.getMonth(),o,s);break;case"y":f+=c("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":f+=e.getTime();break;case"!":f+=1e4*e.getTime()+this._ticksTo1970;break;case"'":c("'")?f+="'":d=!0;break;default:f+=n.charAt(r)}return f},_possibleChars:function(n){var r,e="",t=!1,i=function(e){var t=r+1<n.length&&n.charAt(r+1)===e;return t&&r++,t};for(r=0;r<n.length;r++)if(t)"'"!==n.charAt(r)||i("'")?e+=n.charAt(r):t=!1;else switch(n.charAt(r)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":i("'")?e+="'":t=!0;break;default:e+=n.charAt(r)}return e},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var n=this._get(e,"dateFormat"),r=e.lastVal=e.input?e.input.val():null,i=this._getDefaultDate(e),a=i,o=this._getFormatConfig(e);try{a=this.parseDate(n,r,o)||i}catch(e){r=t?"":r}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=r?a.getDate():0,e.currentMonth=r?a.getMonth():0,e.currentYear=r?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(s,e,t){var n,r,i=null==e||""===e?t:"string"==typeof e?function(e){try{return x.datepicker.parseDate(x.datepicker._get(s,"dateFormat"),e,x.datepicker._getFormatConfig(s))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?x.datepicker._getDate(s):null)||new Date,n=t.getFullYear(),r=t.getMonth(),i=t.getDate(),a=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=a.exec(e);o;){switch(o[2]||"d"){case"d":case"D":i+=parseInt(o[1],10);break;case"w":case"W":i+=7*parseInt(o[1],10);break;case"m":case"M":r+=parseInt(o[1],10),i=Math.min(i,x.datepicker._getDaysInMonth(n,r));break;case"y":case"Y":n+=parseInt(o[1],10),i=Math.min(i,x.datepicker._getDaysInMonth(n,r))}o=a.exec(e)}return new Date(n,r,i)}(e):"number"==typeof e?isNaN(e)?t:(n=e,(r=new Date).setDate(r.getDate()+n),r):new Date(e.getTime());return(i=i&&"Invalid Date"===i.toString()?t:i)&&(i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0)),this._daylightSavingAdjust(i)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var r=!t,i=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),i===e.selectedMonth&&a===e.selectedYear||n||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(r?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){x.datepicker._adjustDate(n,-t,"M")},next:function(){x.datepicker._adjustDate(n,+t,"M")},hide:function(){x.datepicker._hideDatepicker()},today:function(){x.datepicker._gotoToday(n)},selectDay:function(){return x.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return x.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return x.datepicker._selectMonthYear(n,this,"Y"),!1}};x(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b,v,y,w,C,A,S,T,x,k,E,D,I,P,M,$,O,R,N,L,F,G,j=new Date,B=this._daylightSavingAdjust(new Date(j.getFullYear(),j.getMonth(),j.getDate())),U=this._get(e,"isRTL"),H=this._get(e,"showButtonPanel"),W=this._get(e,"hideIfNoPrevNext"),q=this._get(e,"navigationAsDateFormat"),z=this._getNumberOfMonths(e),V=this._get(e,"showCurrentAtPos"),Y=this._get(e,"stepMonths"),K=1!==z[0]||1!==z[1],Q=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),X=this._getMinMaxDate(e,"min"),Z=this._getMinMaxDate(e,"max"),J=e.drawMonth-V,ee=e.drawYear;if(J<0&&(J+=12,ee--),Z)for(t=this._daylightSavingAdjust(new Date(Z.getFullYear(),Z.getMonth()-z[0]*z[1]+1,Z.getDate())),t=X&&t<X?X:t;this._daylightSavingAdjust(new Date(ee,J,1))>t;)--J<0&&(J=11,ee--);for(e.drawMonth=J,e.drawYear=ee,n=this._get(e,"prevText"),n=q?this.formatDate(n,this._daylightSavingAdjust(new Date(ee,J-Y,1)),this._getFormatConfig(e)):n,r=this._canAdjustMonth(e,-1,ee,J)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"e":"w")+"'>"+n+"</span></a>":W?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"e":"w")+"'>"+n+"</span></a>",i=this._get(e,"nextText"),i=q?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,J+Y,1)),this._getFormatConfig(e)):i,a=this._canAdjustMonth(e,1,ee,J)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"w":"e")+"'>"+i+"</span></a>":W?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"w":"e")+"'>"+i+"</span></a>",o=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?Q:B,o=q?this.formatDate(o,s,this._getFormatConfig(e)):o,c=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",l=H?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(U?c:"")+(this._isInRange(e,s)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+o+"</button>":"")+(U?"":c)+"</div>":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,f=this._get(e,"showWeek"),d=this._get(e,"dayNames"),h=this._get(e,"dayNamesMin"),p=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),_=this._get(e,"showOtherMonths"),b=this._get(e,"selectOtherMonths"),v=this._getDefaultDate(e),y="",C=0;C<z[0];C++){for(A="",this.maxRows=4,S=0;S<z[1];S++){if(T=this._daylightSavingAdjust(new Date(ee,J,e.selectedDay)),x=" ui-corner-all",k="",K){if(k+="<div class='ui-datepicker-group",1<z[1])switch(S){case 0:k+=" ui-datepicker-group-first",x=" ui-corner-"+(U?"right":"left");break;case z[1]-1:k+=" ui-datepicker-group-last",x=" ui-corner-"+(U?"left":"right");break;default:k+=" ui-datepicker-group-middle",x=""}k+="'>"}for(k+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+x+"'>"+(/all|left/.test(x)&&0===C?U?a:r:"")+(/all|right/.test(x)&&0===C?U?r:a:"")+this._generateMonthYearHeader(e,J,ee,X,Z,0<C||0<S,p,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",E=f?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",w=0;w<7;w++)E+="<th scope='col'"+(5<=(w+u+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+d[D=(w+u)%7]+"'>"+h[D]+"</span></th>";for(k+=E+"</tr></thead><tbody>",I=this._getDaysInMonth(ee,J),ee===e.selectedYear&&J===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,I)),P=(this._getFirstDayOfMonth(ee,J)-u+7)%7,M=Math.ceil((P+I)/7),$=K&&this.maxRows>M?this.maxRows:M,this.maxRows=$,O=this._daylightSavingAdjust(new Date(ee,J,1-P)),R=0;R<$;R++){for(k+="<tr>",N=f?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(O)+"</td>":"",w=0;w<7;w++)L=g?g.apply(e.input?e.input[0]:null,[O]):[!0,""],G=(F=O.getMonth()!==J)&&!b||!L[0]||X&&O<X||Z&&Z<O,N+="<td class='"+(5<=(w+u+6)%7?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(O.getTime()===T.getTime()&&J===e.selectedMonth&&e._keyEvent||v.getTime()===O.getTime()&&v.getTime()===T.getTime()?" "+this._dayOverClass:"")+(G?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!_?"":" "+L[1]+(O.getTime()===Q.getTime()?" "+this._currentClass:"")+(O.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+(F&&!_||!L[2]?"":" title='"+L[2].replace(/'/g,"'")+"'")+(G?"":" data-handler='selectDay' data-event='click' data-month='"+O.getMonth()+"' data-year='"+O.getFullYear()+"'")+">"+(F&&!_?" ":G?"<span class='ui-state-default'>"+O.getDate()+"</span>":"<a class='ui-state-default"+(O.getTime()===B.getTime()?" ui-state-highlight":"")+(O.getTime()===Q.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+"' href='#'>"+O.getDate()+"</a>")+"</td>",O.setDate(O.getDate()+1),O=this._daylightSavingAdjust(O);k+=N+"</tr>"}11<++J&&(J=0,ee++),A+=k+="</tbody></table>"+(K?"</div>"+(0<z[0]&&S===z[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}y+=A}return y+=l,e._keyEvent=!1,y},_generateMonthYearHeader:function(e,t,n,r,i,a,o,s){var c,l,u,f,d,h,p,m,g=this._get(e,"changeMonth"),_=this._get(e,"changeYear"),b=this._get(e,"showMonthAfterYear"),v="<div class='ui-datepicker-title'>",y="";if(a||!g)y+="<span class='ui-datepicker-month'>"+o[t]+"</span>";else{for(c=r&&r.getFullYear()===n,l=i&&i.getFullYear()===n,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!c||u>=r.getMonth())&&(!l||u<=i.getMonth())&&(y+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+s[u]+"</option>");y+="</select>"}if(b||(v+=y+(!a&&g&&_?"":" ")),!e.yearshtml)if(e.yearshtml="",a||!_)v+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(f=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),p=(h=function(e){var t=e.match(/c[+\-].*/)?n+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10);return isNaN(t)?d:t})(f[0]),m=Math.max(p,h(f[1]||"")),p=r?Math.max(p,r.getFullYear()):p,m=i?Math.min(m,i.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=m;p++)e.yearshtml+="<option value='"+p+"'"+(p===n?" selected='selected'":"")+">"+p+"</option>";e.yearshtml+="</select>",v+=e.yearshtml,e.yearshtml=null}return v+=this._get(e,"yearSuffix"),b&&(v+=(!a&&g&&_?"":" ")+y),v+="</div>"},_adjustInstDate:function(e,t,n){var r=e.selectedYear+("Y"===n?t:0),i=e.selectedMonth+("M"===n?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+("D"===n?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,i,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),i=n&&t<n?n:t;return r&&r<i?r:i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,n,r){var i=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(n,r+(t<0?t:i[0]*i[1]),1));return t<0&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var n,r,i=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=null,s=null,c=this._get(e,"yearRange");return c&&(n=c.split(":"),r=(new Date).getFullYear(),o=parseInt(n[0],10),s=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(o+=r),n[1].match(/[+\-].*/)&&(s+=r)),(!i||t.getTime()>=i.getTime())&&(!a||t.getTime()<=a.getTime())&&(!o||t.getFullYear()>=o)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),x.fn.datepicker=function(e){if(!this.length)return this;x.datepicker.initialized||(x(document).on("mousedown",x.datepicker._checkExternalClick),x.datepicker.initialized=!0),0===x("#"+x.datepicker._mainDivId).length&&x("body").append(x.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?x.datepicker["_"+e+"Datepicker"].apply(x.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?x.datepicker["_"+e+"Datepicker"].apply(x.datepicker,[this].concat(t)):x.datepicker._attachDatepicker(this,e)}):x.datepicker["_"+e+"Datepicker"].apply(x.datepicker,[this[0]].concat(t))},x.datepicker=new p,x.datepicker.initialized=!1,x.datepicker.uuid=(new Date).getTime(),x.datepicker.version="1.12.1";x.datepicker,x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var b=!1;x(document).on("mouseup",function(){b=!1});x.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===x.data(e.target,t.widgetName+".preventClickEvent"))return x.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!b){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,n=1===e.which,r=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&x(e.target).closest(this.options.cancel).length;return!(n&&!r&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===x.data(e.target,this.widgetName+".preventClickEvent")&&x.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),b=!0))}},_mouseMove:function(e){if(this._mouseMoved){if(x.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&x.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,b=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),x.ui.plugin={add:function(e,t,n){var r,i=x.ui[e].prototype;for(r in n)i.plugins[r]=i.plugins[r]||[],i.plugins[r].push([t,n[r]])},call:function(e,t,n,r){var i,a=e.plugins[t];if(a&&(r||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(i=0;i<a.length;i++)e.options[a[i][0]]&&a[i][1].apply(e.element,n)}},x.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&x(e).trigger("blur")};x.widget("ui.draggable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<x(e.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=x(this);return x("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=x.ui.safeActiveElement(this.document[0]);x(e.target).closest(t).length||x.ui.safeBlur(t)},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),x.ui.ddmanager&&(x.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===x(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),x.ui.ddmanager&&!t.dropBehaviour&&x.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),x.ui.ddmanager&&x.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new x.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",x.ui.ddmanager&&x.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,n=!1;return x.ui.ddmanager&&!this.options.dropBehaviour&&(n=x.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||x.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?x(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),x.ui.ddmanager&&x.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),x.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new x.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!x(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,n=x.isFunction(t.helper),r=n?x(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),n&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),x.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&x.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,n,r=this.options,i=this.document[0];this.relativeContainer=null,r.containment?"window"!==r.containment?"document"!==r.containment?r.containment.constructor!==Array?("parent"===r.containment&&(r.containment=this.helper[0].parentNode),(n=(t=x(r.containment))[0])&&(e=/(scroll|auto)/.test(t.css("overflow")),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=t)):this.containment=r.containment:this.containment=[0,0,x(i).width()-this.helperProportions.width-this.margins.left,(x(i).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[x(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,x(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,x(window).scrollLeft()+x(window).width()-this.helperProportions.width-this.margins.left,x(window).scrollTop()+(x(window).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,r=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top)*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)*n}},_generatePosition:function(e,t){var n,r,i,a,o=this.options,s=this._isRootNode(this.scrollParent[0]),c=e.pageX,l=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(n=this.relativeContainer?(r=this.relativeContainer.offset(),[this.containment[0]+r.left,this.containment[1]+r.top,this.containment[2]+r.left,this.containment[3]+r.top]):this.containment,e.pageX-this.offset.click.left<n[0]&&(c=n[0]+this.offset.click.left),e.pageY-this.offset.click.top<n[1]&&(l=n[1]+this.offset.click.top),e.pageX-this.offset.click.left>n[2]&&(c=n[2]+this.offset.click.left),e.pageY-this.offset.click.top>n[3]&&(l=n[3]+this.offset.click.top)),o.grid&&(i=o.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,l=n?i-this.offset.click.top>=n[1]||i-this.offset.click.top>n[3]?i:i-this.offset.click.top>=n[1]?i-o.grid[1]:i+o.grid[1]:i,a=o.grid[0]?this.originalPageX+Math.round((c-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,c=n?a-this.offset.click.left>=n[0]||a-this.offset.click.left>n[2]?a:a-this.offset.click.left>=n[0]?a-o.grid[0]:a+o.grid[0]:a),"y"===o.axis&&(c=this.originalPageX),"x"===o.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,n){return n=n||this._uiHash(),x.ui.plugin.call(this,e,[t,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),x.Widget.prototype._trigger.call(this,e,t,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),x.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,n){var r=x.extend({},e,{item:n.element});n.sortables=[],x(n.options.connectToSortable).each(function(){var e=x(this).sortable("instance");e&&!e.options.disabled&&(n.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,r))})},stop:function(t,e,n){var r=x.extend({},e,{item:n.element});n.cancelHelperRemoval=!1,x.each(n.sortables,function(){var e=this;e.isOver?(e.isOver=0,n.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,r))})},drag:function(n,r,i){x.each(i.sortables,function(){var e=!1,t=this;t.positionAbs=i.positionAbs,t.helperProportions=i.helperProportions,t.offset.click=i.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,x.each(i.sortables,function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==t&&this._intersectsWith(this.containerCache)&&x.contains(t.element[0],this.element[0])&&(e=!1),e})),e?(t.isOver||(t.isOver=1,i._parent=r.helper.parent(),t.currentItem=r.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return r.helper[0]},n.target=t.currentItem[0],t._mouseCapture(n,!0),t._mouseStart(n,!0,!0),t.offset.click.top=i.offset.click.top,t.offset.click.left=i.offset.click.left,t.offset.parent.left-=i.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=i.offset.parent.top-t.offset.parent.top,i._trigger("toSortable",n),i.dropped=t.element,x.each(i.sortables,function(){this.refreshPositions()}),i.currentItem=i.element,t.fromOutside=i),t.currentItem&&(t._mouseDrag(n),r.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",n,t._uiHash(t)),t._mouseStop(n,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),r.helper.appendTo(i._parent),i._refreshOffsets(n),r.position=i._generatePosition(n,!0),i._trigger("fromSortable",n),i.dropped=!1,x.each(i.sortables,function(){this.refreshPositions()}))})}}),x.ui.plugin.add("draggable","cursor",{start:function(e,t,n){var r=x("body"),i=n.options;r.css("cursor")&&(i._cursor=r.css("cursor")),r.css("cursor",i.cursor)},stop:function(e,t,n){var r=n.options;r._cursor&&x("body").css("cursor",r._cursor)}}),x.ui.plugin.add("draggable","opacity",{start:function(e,t,n){var r=x(t.helper),i=n.options;r.css("opacity")&&(i._opacity=r.css("opacity")),r.css("opacity",i.opacity)},stop:function(e,t,n){var r=n.options;r._opacity&&x(t.helper).css("opacity",r._opacity)}}),x.ui.plugin.add("draggable","scroll",{start:function(e,t,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(e,t,n){var r=n.options,i=!1,a=n.scrollParentNotHidden[0],o=n.document[0];a!==o&&"HTML"!==a.tagName?(r.axis&&"x"===r.axis||(n.overflowOffset.top+a.offsetHeight-e.pageY<r.scrollSensitivity?a.scrollTop=i=a.scrollTop+r.scrollSpeed:e.pageY-n.overflowOffset.top<r.scrollSensitivity&&(a.scrollTop=i=a.scrollTop-r.scrollSpeed)),r.axis&&"y"===r.axis||(n.overflowOffset.left+a.offsetWidth-e.pageX<r.scrollSensitivity?a.scrollLeft=i=a.scrollLeft+r.scrollSpeed:e.pageX-n.overflowOffset.left<r.scrollSensitivity&&(a.scrollLeft=i=a.scrollLeft-r.scrollSpeed))):(r.axis&&"x"===r.axis||(e.pageY-x(o).scrollTop()<r.scrollSensitivity?i=x(o).scrollTop(x(o).scrollTop()-r.scrollSpeed):x(window).height()-(e.pageY-x(o).scrollTop())<r.scrollSensitivity&&(i=x(o).scrollTop(x(o).scrollTop()+r.scrollSpeed))),r.axis&&"y"===r.axis||(e.pageX-x(o).scrollLeft()<r.scrollSensitivity?i=x(o).scrollLeft(x(o).scrollLeft()-r.scrollSpeed):x(window).width()-(e.pageX-x(o).scrollLeft())<r.scrollSensitivity&&(i=x(o).scrollLeft(x(o).scrollLeft()+r.scrollSpeed)))),!1!==i&&x.ui.ddmanager&&!r.dropBehaviour&&x.ui.ddmanager.prepareOffsets(n,e)}}),x.ui.plugin.add("draggable","snap",{start:function(e,t,n){var r=n.options;n.snapElements=[],x(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each(function(){var e=x(this),t=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left:t.left})})},drag:function(e,t,n){var r,i,a,o,s,c,l,u,f,d,h=n.options,p=h.snapTolerance,m=t.offset.left,g=m+n.helperProportions.width,_=t.offset.top,b=_+n.helperProportions.height;for(f=n.snapElements.length-1;0<=f;f--)c=(s=n.snapElements[f].left-n.margins.left)+n.snapElements[f].width,u=(l=n.snapElements[f].top-n.margins.top)+n.snapElements[f].height,g<s-p||c+p<m||b<l-p||u+p<_||!x.contains(n.snapElements[f].item.ownerDocument,n.snapElements[f].item)?(n.snapElements[f].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,x.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=!1):("inner"!==h.snapMode&&(r=Math.abs(l-b)<=p,i=Math.abs(u-_)<=p,a=Math.abs(s-g)<=p,o=Math.abs(c-m)<=p,r&&(t.position.top=n._convertPositionTo("relative",{top:l-n.helperProportions.height,left:0}).top),i&&(t.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),a&&(t.position.left=n._convertPositionTo("relative",{top:0,left:s-n.helperProportions.width}).left),o&&(t.position.left=n._convertPositionTo("relative",{top:0,left:c}).left)),d=r||i||a||o,"outer"!==h.snapMode&&(r=Math.abs(l-_)<=p,i=Math.abs(u-b)<=p,a=Math.abs(s-m)<=p,o=Math.abs(c-g)<=p,r&&(t.position.top=n._convertPositionTo("relative",{top:l,left:0}).top),i&&(t.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),a&&(t.position.left=n._convertPositionTo("relative",{top:0,left:s}).left),o&&(t.position.left=n._convertPositionTo("relative",{top:0,left:c-n.helperProportions.width}).left)),!n.snapElements[f].snapping&&(r||i||a||o||d)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,x.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=r||i||a||o||d)}}),x.ui.plugin.add("draggable","stack",{start:function(e,t,n){var r,i=n.options,a=x.makeArray(x(i.stack)).sort(function(e,t){return(parseInt(x(e).css("zIndex"),10)||0)-(parseInt(x(t).css("zIndex"),10)||0)});a.length&&(r=parseInt(x(a[0]).css("zIndex"),10)||0,x(a).each(function(e){x(this).css("zIndex",r+e)}),this.css("zIndex",r+a.length))}}),x.ui.plugin.add("draggable","zIndex",{start:function(e,t,n){var r=x(t.helper),i=n.options;r.css("zIndex")&&(i._zIndex=r.css("zIndex")),r.css("zIndex",i.zIndex)},stop:function(e,t,n){var r=n.options;r._zIndex&&x(t.helper).css("zIndex",r._zIndex)}});x.ui.draggable;x.widget("ui.resizable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){if("hidden"===x(e).css("overflow"))return!1;var n,r=t&&"left"===t?"scrollLeft":"scrollTop";return 0<e[r]||(e[r]=1,n=0<e[r],e[r]=0,n)},_create:function(){var e,t=this.options,n=this;this._addClass("ui-resizable"),x.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(x("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),t.autoHide&&x(this.element).on("mouseenter",function(){t.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){t.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,t=function(e){x(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,t,n,r,i,a=this.options,o=this;if(this.handles=a.handles||(x(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=x(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},t=0;t<n.length;t++)r="ui-resizable-"+(e=x.trim(n[t])),i=x("<div>"),this._addClass(i,"ui-resizable-handle "+r),i.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(i);this._renderAxis=function(e){var t,n,r,i;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String?this.handles[t]=this.element.children(this.handles[t]).first().show():(this.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=x(this.handles[t]),this._on(this.handles[t],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=x(this.handles[t],this.element),i=/sw|ne|nw|se|n|s/.test(t)?n.outerHeight():n.outerWidth(),r=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(r,i),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){o.resizing||(this.className&&(i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=i&&i[1]?i[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var t,n,r=!1;for(t in this.handles)((n=x(this.handles[t])[0])===e.target||x.contains(n,e.target))&&(r=!0);return!this.options.disabled&&r},_mouseStart:function(e){var t,n,r,i=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),i.containment&&(t+=x(i.containment).scrollLeft()||0,n+=x(i.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:t,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof i.aspectRatio?i.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=x(".ui-resizable-"+this.axis).css("cursor"),x("body").css("cursor","auto"===r?this.axis+"-resize":r),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t,n,r=this.originalMousePosition,i=this.axis,a=e.pageX-r.left||0,o=e.pageY-r.top||0,s=this._change[i];return this._updatePrevProperties(),s&&(t=s.apply(this,[e,a,o]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(t=this._updateRatio(t,e)),t=this._respectSize(t,e),this._updateCache(t),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),x.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,n,r,i,a,o,s,c=this.options,l=this;return this._helper&&(r=(n=(t=this._proportionallyResizeElements).length&&/textarea/i.test(t[0].nodeName))&&this._hasScroll(t[0],"left")?0:l.sizeDiff.height,i=n?0:l.sizeDiff.width,a={width:l.helper.width()-i,height:l.helper.height()-r},o=parseFloat(l.element.css("left"))+(l.position.left-l.originalPosition.left)||null,s=parseFloat(l.element.css("top"))+(l.position.top-l.originalPosition.top)||null,c.animate||this.element.css(x.extend(a,{top:s,left:o})),l.helper.height(l.size.height),l.helper.width(l.size.width),this._helper&&!c.animate&&this._proportionallyResize()),x("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,n,r,i,a,o=this.options;a={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||e)&&(t=a.minHeight*this.aspectRatio,r=a.minWidth/this.aspectRatio,n=a.maxHeight*this.aspectRatio,i=a.maxWidth/this.aspectRatio,t>a.minWidth&&(a.minWidth=t),r>a.minHeight&&(a.minHeight=r),n<a.maxWidth&&(a.maxWidth=n),i<a.maxHeight&&(a.maxHeight=i)),this._vBoundaries=a},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,n=this.size,r=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===r&&(e.left=t.left+(n.width-e.width),e.top=null),"nw"===r&&(e.top=t.top+(n.height-e.height),e.left=t.left+(n.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,n=this.axis,r=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,i=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,a=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,o=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,s=this.originalPosition.left+this.originalSize.width,c=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(n),u=/nw|ne|n/.test(n);return a&&(e.width=t.minWidth),o&&(e.height=t.minHeight),r&&(e.width=t.maxWidth),i&&(e.height=t.maxHeight),a&&l&&(e.left=s-t.minWidth),r&&l&&(e.left=s-t.maxWidth),o&&u&&(e.top=c-t.minHeight),i&&u&&(e.top=c-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,n=[],r=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],i=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)n[t]=parseFloat(r[t])||0,n[t]+=parseFloat(i[t])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,n=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||x("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var n=this.originalSize;return{left:this.originalPosition.left+t,width:n.width-t}},n:function(e,t,n){var r=this.originalSize;return{top:this.originalPosition.top+n,height:r.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(e,t,n){return x.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},sw:function(e,t,n){return x.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,n]))},ne:function(e,t,n){return x.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},nw:function(e,t,n){return x.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,n]))}},_propagate:function(e,t){x.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),x.ui.plugin.add("resizable","animate",{stop:function(t){var n=x(this).resizable("instance"),e=n.options,r=n._proportionallyResizeElements,i=r.length&&/textarea/i.test(r[0].nodeName),a=i&&n._hasScroll(r[0],"left")?0:n.sizeDiff.height,o=i?0:n.sizeDiff.width,s={width:n.size.width-o,height:n.size.height-a},c=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,l=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(x.extend(s,l&&c?{top:l,left:c}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};r&&r.length&&x(r[0]).css({width:e.width,height:e.height}),n._updateCache(e),n._propagate("resize",t)}})}}),x.ui.plugin.add("resizable","containment",{start:function(){var n,r,e,t,i,a,o,s=x(this).resizable("instance"),c=s.options,l=s.element,u=c.containment,f=u instanceof x?u.get(0):/parent/.test(u)?l.parent().get(0):u;f&&(s.containerElement=x(f),/document/.test(u)||u===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:x(document),left:0,top:0,width:x(document).width(),height:x(document).height()||document.body.parentNode.scrollHeight}):(n=x(f),r=[],x(["Top","Right","Left","Bottom"]).each(function(e,t){r[e]=s._num(n.css("padding"+t))}),s.containerOffset=n.offset(),s.containerPosition=n.position(),s.containerSize={height:n.innerHeight()-r[3],width:n.innerWidth()-r[1]},e=s.containerOffset,t=s.containerSize.height,i=s.containerSize.width,a=s._hasScroll(f,"left")?f.scrollWidth:i,o=s._hasScroll(f)?f.scrollHeight:t,s.parentData={element:f,left:e.left,top:e.top,width:a,height:o}))},resize:function(e){var t,n,r,i,a=x(this).resizable("instance"),o=a.options,s=a.containerOffset,c=a.position,l=a._aspectRatio||e.shiftKey,u={top:0,left:0},f=a.containerElement,d=!0;f[0]!==document&&/static/.test(f.css("position"))&&(u=s),c.left<(a._helper?s.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-s.left:a.position.left-u.left),l&&(a.size.height=a.size.width/a.aspectRatio,d=!1),a.position.left=o.helper?s.left:0),c.top<(a._helper?s.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-s.top:a.position.top),l&&(a.size.width=a.size.height*a.aspectRatio,d=!1),a.position.top=a._helper?s.top:0),r=a.containerElement.get(0)===a.element.parent().get(0),i=/relative|absolute/.test(a.containerElement.css("position")),r&&i?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),t=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-s.left)),n=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-s.top)),t+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-t,l&&(a.size.height=a.size.width/a.aspectRatio,d=!1)),n+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-n,l&&(a.size.width=a.size.height*a.aspectRatio,d=!1)),d||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=x(this).resizable("instance"),t=e.options,n=e.containerOffset,r=e.containerPosition,i=e.containerElement,a=x(e.helper),o=a.offset(),s=a.outerWidth()-e.sizeDiff.width,c=a.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(i.css("position"))&&x(this).css({left:o.left-r.left-n.left,width:s,height:c}),e._helper&&!t.animate&&/static/.test(i.css("position"))&&x(this).css({left:o.left-r.left-n.left,width:s,height:c})}}),x.ui.plugin.add("resizable","alsoResize",{start:function(){var e=x(this).resizable("instance").options;x(e.alsoResize).each(function(){var e=x(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,n){var t=x(this).resizable("instance"),r=t.options,i=t.originalSize,a=t.originalPosition,o={height:t.size.height-i.height||0,width:t.size.width-i.width||0,top:t.position.top-a.top||0,left:t.position.left-a.left||0};x(r.alsoResize).each(function(){var e=x(this),r=x(this).data("ui-resizable-alsoresize"),i={},t=e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];x.each(t,function(e,t){var n=(r[t]||0)+(o[t]||0);n&&0<=n&&(i[t]=n||null)}),e.css(i)})},stop:function(){x(this).removeData("ui-resizable-alsoresize")}}),x.ui.plugin.add("resizable","ghost",{start:function(){var e=x(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==x.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=x(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=x(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),x.ui.plugin.add("resizable","grid",{resize:function(){var e,t=x(this).resizable("instance"),n=t.options,r=t.size,i=t.originalSize,a=t.originalPosition,o=t.axis,s="number"==typeof n.grid?[n.grid,n.grid]:n.grid,c=s[0]||1,l=s[1]||1,u=Math.round((r.width-i.width)/c)*c,f=Math.round((r.height-i.height)/l)*l,d=i.width+u,h=i.height+f,p=n.maxWidth&&n.maxWidth<d,m=n.maxHeight&&n.maxHeight<h,g=n.minWidth&&n.minWidth>d,_=n.minHeight&&n.minHeight>h;n.grid=s,g&&(d+=c),_&&(h+=l),p&&(d-=c),m&&(h-=l),/^(se|s|e)$/.test(o)?(t.size.width=d,t.size.height=h):/^(ne)$/.test(o)?(t.size.width=d,t.size.height=h,t.position.top=a.top-f):/^(sw)$/.test(o)?(t.size.width=d,t.size.height=h,t.position.left=a.left-u):((h-l<=0||d-c<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<h-l?(t.size.height=h,t.position.top=a.top-f):(h=l-e.height,t.size.height=h,t.position.top=a.top+i.height-h),0<d-c?(t.size.width=d,t.position.left=a.left-u):(d=c-e.width,t.size.width=d,t.position.left=a.left+i.width-d))}});x.ui.resizable;x.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=x(this).css(e).offset().top;t<0&&x(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&x.fn.draggable&&this._makeDraggable(),this.options.resizable&&x.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?x(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:x.noop,enable:x.noop,close:function(e){var t=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||x.ui.safeBlur(x.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){t._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var n=!1,r=this.uiDialog.siblings(".ui-front:visible").map(function(){return+x(this).css("z-index")}).get(),i=Math.max.apply(null,r);return i>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",i+1),n=!0),n&&!t&&this._trigger("focus",e),n},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=x(x.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).trigger("focus")},_keepFocus:function(e){function t(){var e=x.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||x.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),t.call(this),this._delay(t)},_createWrapper:function(){this.uiDialog=x("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===x.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===x.ui.keyCode.TAB&&!e.isDefaultPrevented()){var t=this.uiDialog.find(":tabbable"),n=t.filter(":first"),r=t.filter(":last");e.target!==r[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){r.trigger("focus")}),e.preventDefault()):(this._delay(function(){n.trigger("focus")}),e.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=x("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){x(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=x("<button type='button'></button>").button({label:x("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=x("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html(" ")},_createButtonPane:function(){this.uiDialogButtonPane=x("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=x("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var i=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),x.isEmptyObject(e)||x.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(x.each(e,function(e,t){var n,r;t=x.isFunction(t)?{click:t,text:e}:t,t=x.extend({type:"button"},t),n=t.click,r={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text},delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,x("<button></button>",t).button(r).appendTo(i.uiButtonSet).on("click",function(){n.apply(i.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var i=this,a=this.options;function o(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){i._addClass(x(this),"ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",e,o(t))},drag:function(e,t){i._trigger("drag",e,o(t))},stop:function(e,t){var n=t.offset.left-i.document.scrollLeft(),r=t.offset.top-i.document.scrollTop();a.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=r?"+":"")+r,of:i.window},i._removeClass(x(this),"ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",e,o(t))}})},_makeResizable:function(){var a=this,o=this.options,e=o.resizable,t=this.uiDialog.css("position"),n="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";function s(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:n,start:function(e,t){a._addClass(x(this),"ui-dialog-resizing"),a._blockFrames(),a._trigger("resizeStart",e,s(t))},resize:function(e,t){a._trigger("resize",e,s(t))},stop:function(e,t){var n=a.uiDialog.offset(),r=n.left-a.document.scrollLeft(),i=n.top-a.document.scrollTop();o.height=a.uiDialog.height(),o.width=a.uiDialog.width(),o.position={my:"left top",at:"left"+(0<=r?"+":"")+r+" top"+(0<=i?"+":"")+i,of:a.window},a._removeClass(x(this),"ui-dialog-resizing"),a._unblockFrames(),a._trigger("resizeStop",e,s(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=x(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=x.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var n=this,r=!1,i={};x.each(e,function(e,t){n._setOption(e,t),e in n.sizeRelatedOptions&&(r=!0),e in n.resizableRelatedOptions&&(i[e]=t)}),r&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",i)},_setOption:function(e,t){var n,r,i=this.uiDialog;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:x("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((n=i.is(":data(ui-draggable)"))&&!t&&i.draggable("destroy"),!n&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((r=i.is(":data(ui-resizable)"))&&!t&&i.resizable("destroy"),r&&"string"==typeof t&&i.resizable("option","handles",t),r||!1===t||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,n,r=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),r.minWidth>r.width&&(r.width=r.minWidth),e=this.uiDialog.css({height:"auto",width:r.width}).outerHeight(),t=Math.max(0,r.minHeight-e),n="number"==typeof r.maxHeight?Math.max(0,r.maxHeight-e):"none","auto"===r.height?this.element.css({minHeight:t,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,r.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=x(this);return x("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!x(e.target).closest(".ui-dialog").length||!!x(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=x("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==x.uiBackCompat&&x.widget("ui.dialog",x.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}});x.ui.dialog;x.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,n=t.accept;this.isover=!1,this.isout=!0,this.accept=x.isFunction(n)?n:function(e){return e.is(n)},this.proportions=function(){if(!arguments.length)return e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){x.ui.ddmanager.droppables[e]=x.ui.ddmanager.droppables[e]||[],x.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=x.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,t){if("accept"===e)this.accept=x.isFunction(t)?t:function(e){return e.is(t)};else if("scope"===e){var n=x.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(t)}this._super(e,t)},_activate:function(e){var t=x.ui.ddmanager.current;this._addActiveClass(),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=x.ui.ddmanager.current;this._removeActiveClass(),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=x.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=x.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var n=e||x.ui.ddmanager.current,r=!1;return!(!n||(n.currentItem||n.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=x(this).droppable("instance");if(e.options.greedy&&!e.options.disabled&&e.options.scope===n.options.scope&&e.accept.call(e.element[0],n.currentItem||n.element)&&v(n,x.extend(e,{offset:e.element.offset()}),e.options.tolerance,t))return!(r=!0)}),!r&&(!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(n)),this.element)))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var v=x.ui.intersect=function(){function d(e,t,n){return t<=e&&e<t+n}return function(e,t,n,r){if(!t.offset)return!1;var i=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,o=i+e.helperProportions.width,s=a+e.helperProportions.height,c=t.offset.left,l=t.offset.top,u=c+t.proportions().width,f=l+t.proportions().height;switch(n){case"fit":return c<=i&&o<=u&&l<=a&&s<=f;case"intersect":return c<i+e.helperProportions.width/2&&o-e.helperProportions.width/2<u&&l<a+e.helperProportions.height/2&&s-e.helperProportions.height/2<f;case"pointer":return d(r.pageY,l,t.proportions().height)&&d(r.pageX,c,t.proportions().width);case"touch":return(l<=a&&a<=f||l<=s&&s<=f||a<l&&f<s)&&(c<=i&&i<=u||c<=o&&o<=u||i<c&&u<o);default:return!1}}}();!(x.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var n,r,i=x.ui.ddmanager.droppables[e.options.scope]||[],a=t?t.type:null,o=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(n=0;n<i.length;n++)if(!(i[n].options.disabled||e&&!i[n].accept.call(i[n].element[0],e.currentItem||e.element))){for(r=0;r<o.length;r++)if(o[r]===i[n].element[0]){i[n].proportions().height=0;continue e}i[n].visible="none"!==i[n].element.css("display"),i[n].visible&&("mousedown"===a&&i[n]._activate.call(i[n],t),i[n].offset=i[n].element.offset(),i[n].proportions({width:i[n].element[0].offsetWidth,height:i[n].element[0].offsetHeight}))}},drop:function(e,t){var n=!1;return x.each((x.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&v(e,this,this.options.tolerance,t)&&(n=this._drop.call(this,t)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t)))}),n},dragStart:function(e,t){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||x.ui.ddmanager.prepareOffsets(e,t)})},drag:function(a,o){a.options.refreshPositions&&x.ui.ddmanager.prepareOffsets(a,o),x.each(x.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var e,t,n,r=v(a,this,this.options.tolerance,o),i=!r&&this.isover?"isout":r&&!this.isover?"isover":null;i&&(this.options.greedy&&(t=this.options.scope,(n=this.element.parents(":data(ui-droppable)").filter(function(){return x(this).droppable("instance").options.scope===t})).length&&((e=x(n[0]).droppable("instance")).greedyChild="isover"===i)),e&&"isover"===i&&(e.isover=!1,e.isout=!0,e._out.call(e,o)),this[i]=!0,this["isout"===i?"isover":"isout"]=!1,this["isover"===i?"_over":"_out"].call(this,o),e&&"isout"===i&&(e.isout=!1,e.isover=!0,e._over.call(e,o)))}})},dragStop:function(e,t){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||x.ui.ddmanager.prepareOffsets(e,t)}})!==x.uiBackCompat&&x.widget("ui.droppable",x.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});x.ui.droppable,x.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=x("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(t.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=x("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),x.widget("ui.selectable",x.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var r=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){r.elementPos=x(r.element[0]).offset(),r.selectees=x(r.options.filter,r.element[0]),r._addClass(r.selectees,"ui-selectee"),r.selectees.each(function(){var e=x(this),t=e.offset(),n={left:t.left-r.elementPos.left,top:t.top-r.elementPos.top};x.data(this,"selectable-item",{element:this,$element:e,left:n.left,top:n.top,right:n.left+e.outerWidth(),bottom:n.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=x("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(n){var r=this,e=this.options;this.opos=[n.pageX,n.pageY],this.elementPos=x(this.element[0]).offset(),this.options.disabled||(this.selectees=x(e.filter,this.element[0]),this._trigger("start",n),x(e.appendTo).append(this.helper),this.helper.css({left:n.pageX,top:n.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=x.data(this,"selectable-item");e.startselected=!0,n.metaKey||n.ctrlKey||(r._removeClass(e.$element,"ui-selected"),e.selected=!1,r._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,r._trigger("unselecting",n,{unselecting:e.element}))}),x(n.target).parents().addBack().each(function(){var e,t=x.data(this,"selectable-item");if(t)return e=!n.metaKey&&!n.ctrlKey||!t.$element.hasClass("ui-selected"),r._removeClass(t.$element,e?"ui-unselecting":"ui-selected")._addClass(t.$element,e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.selected=e)?r._trigger("selecting",n,{selecting:t.element}):r._trigger("unselecting",n,{unselecting:t.element}),!1}))},_mouseDrag:function(r){if(this.dragged=!0,!this.options.disabled){var e,i=this,a=this.options,o=this.opos[0],s=this.opos[1],c=r.pageX,l=r.pageY;return c<o&&(e=c,c=o,o=e),l<s&&(e=l,l=s,s=e),this.helper.css({left:o,top:s,width:c-o,height:l-s}),this.selectees.each(function(){var e=x.data(this,"selectable-item"),t=!1,n={};e&&e.element!==i.element[0]&&(n.left=e.left+i.elementPos.left,n.right=e.right+i.elementPos.left,n.top=e.top+i.elementPos.top,n.bottom=e.bottom+i.elementPos.top,"touch"===a.tolerance?t=!(n.left>c||n.right<o||n.top>l||n.bottom<s):"fit"===a.tolerance&&(t=n.left>o&&n.right<c&&n.top>s&&n.bottom<l),t?(e.selected&&(i._removeClass(e.$element,"ui-selected"),e.selected=!1),e.unselecting&&(i._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1),e.selecting||(i._addClass(e.$element,"ui-selecting"),e.selecting=!0,i._trigger("selecting",r,{selecting:e.element}))):(e.selecting&&((r.metaKey||r.ctrlKey)&&e.startselected?(i._removeClass(e.$element,"ui-selecting"),e.selecting=!1,i._addClass(e.$element,"ui-selected"),e.selected=!0):(i._removeClass(e.$element,"ui-selecting"),e.selecting=!1,e.startselected&&(i._addClass(e.$element,"ui-unselecting"),e.unselecting=!0),i._trigger("unselecting",r,{unselecting:e.element}))),e.selected&&(r.metaKey||r.ctrlKey||e.startselected||(i._removeClass(e.$element,"ui-selected"),e.selected=!1,i._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,i._trigger("unselecting",r,{unselecting:e.element})))))}),!1}},_mouseStop:function(t){var n=this;return this.dragged=!1,x(".ui-unselecting",this.element[0]).each(function(){var e=x.data(this,"selectable-item");n._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1,e.startselected=!1,n._trigger("unselected",t,{unselected:e.element})}),x(".ui-selecting",this.element[0]).each(function(){var e=x.data(this,"selectable-item");n._removeClass(e.$element,"ui-selecting")._addClass(e.$element,"ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,n._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),x.widget("ui.selectmenu",[x.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=x()},_drawButton:function(){var e,t=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=x("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=x("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){t._rendered||t._refreshMenu()})},_drawMenu:function(){var r=this;this.menu=x("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=x("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,t){e.preventDefault(),r._setSelection(),r._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){var n=t.item.data("ui-selectmenu-item");null!=r.focusIndex&&n.index!==r.focusIndex&&(r._trigger("focus",e,{item:n}),r.isOpen||r._select(n,e)),r.focusIndex=n.index,r.button.attr("aria-activedescendant",r.menuItems.eq(n.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e,t=this.element.find("option");this.menu.empty(),this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,t.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(x.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var t=x("<span>");return this._setText(t,e.label),this._addClass(t,"ui-selectmenu-text"),t},_renderMenu:function(r,e){var i=this,a="";x.each(e,function(e,t){var n;t.optgroup!==a&&(n=x("<li>",{text:t.optgroup}),i._addClass(n,"ui-selectmenu-optgroup","ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),n.appendTo(r),a=t.optgroup),i._renderItemData(r,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var n=x("<li>"),r=x("<div>",{title:t.element.attr("title")});return t.disabled&&this._addClass(n,null,"ui-state-disabled"),this._setText(r,t.label),n.append(r).appendTo(e)},_setText:function(e,t){t?e.text(t):e.html(" ")},_move:function(e,t){var n,r,i=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),i+=":not(.ui-state-disabled)"),(r="first"===e||"last"===e?n["first"===e?"prevAll":"nextAll"](i).eq(-1):n[e+"All"](i).eq(0)).length&&this.menuInstance.focus(t,r)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(x(e.target).closest(".ui-selectmenu-menu, #"+x.ui.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(e){var t=!0;switch(e.keyCode){case x.ui.keyCode.TAB:case x.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case x.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case x.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case x.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case x.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case x.ui.keyCode.LEFT:this._move("prev",e);break;case x.ui.keyCode.RIGHT:this._move("next",e);break;case x.ui.keyCode.HOME:case x.ui.keyCode.PAGE_UP:this._move("first",e);break;case x.ui.keyCode.END:case x.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==n&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){if("icons"===e){var n=this.button.find("span.ui-icon");this._removeClass(n,null,this.options.icons.button)._addClass(n,null,t.button)}this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?x(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;!1!==e?(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(e){var n=this,r=[];e.each(function(e,t){r.push(n._parseOption(x(t),e))}),this.items=r},_parseOption:function(e,t){var n=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),x.widget("ui.slider",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t,n=this.options,r=this.element.find(".ui-slider-handle"),i=[];for(t=n.values&&n.values.length||1,r.length>t&&(r.slice(t).remove(),r=r.slice(0,t)),e=r.length;e<t;e++)i.push("<span tabindex='0'></span>");this.handles=r.add(x(i.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){x(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:x.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=x("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var t,n,r,i,a,o,s,c=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t),r=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(n-c.values(e));(t<r||r===t&&(e===c._lastChangedValue||c.values(e)===l.min))&&(r=t,i=x(this),a=e)}),!1!==this._start(e,a)&&(this._mouseSliding=!0,this._handleIndex=a,this._addClass(i,null,"ui-state-active"),i.trigger("focus"),o=i.offset(),s=!x(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=s?{left:0,top:0}:{left:e.pageX-o.left-i.width()/2,top:e.pageY-o.top-i.height()/2-(parseInt(i.css("borderTopWidth"),10)||0)-(parseInt(i.css("borderBottomWidth"),10)||0)+(parseInt(i.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,n),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,i;return 1<(n=("horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)))/t)&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),r=this._valueMax()-this._valueMin(),i=this._valueMin()+n*r,this._trimAlignValue(i)},_uiHash:function(e,t,n){var r={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(r.value=void 0!==t?t:this.values(e),r.values=n||this.values()),r},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,n){var r,i=this.value(),a=this.values();this._hasMultipleValues()&&(r=this.values(t?0:1),i=this.values(t),2===this.options.values.length&&!0===this.options.range&&(n=0===t?Math.min(r,n):Math.max(r,n)),a[t]=n),n!==i&&!1!==this._trigger("slide",e,this._uiHash(t,n,a))&&(this._hasMultipleValues()?this.values(t,n):this.value(n))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var n,r,i;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!x.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(n=this.options.values,r=e,i=0;i<n.length;i+=1)n[i]=this._trimAlignValue(r[i]),this._change(null,i);this._refreshValue()},_setOption:function(e,t){var n,r=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),x.isArray(this.options.values)&&(r=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=r-1;0<=n;n--)this._change(null,n);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,n,r;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this._hasMultipleValues()){for(n=this.options.values.slice(),r=0;r<n.length;r+=1)n[r]=this._trimAlignValue(n[r]);return n}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return 2*Math.abs(n)>=t&&(r+=0<n?t:-t),parseFloat(r.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),n=this.options.step;(e=Math.round((e-t)/n)*n+t)>this.options.max&&(e-=n),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return-1===n?0:t.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,n,e,r,i,a=this.options.range,o=this.options,s=this,c=!this._animateOff&&o.animate,l={};this._hasMultipleValues()?this.handles.each(function(e){n=(s.values(e)-s._valueMin())/(s._valueMax()-s._valueMin())*100,l["horizontal"===s.orientation?"left":"bottom"]=n+"%",x(this).stop(1,1)[c?"animate":"css"](l,o.animate),!0===s.options.range&&("horizontal"===s.orientation?(0===e&&s.range.stop(1,1)[c?"animate":"css"]({left:n+"%"},o.animate),1===e&&s.range[c?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:o.animate})):(0===e&&s.range.stop(1,1)[c?"animate":"css"]({bottom:n+"%"},o.animate),1===e&&s.range[c?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:o.animate}))),t=n}):(e=this.value(),r=this._valueMin(),i=this._valueMax(),n=i!==r?(e-r)/(i-r)*100:0,l["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[c?"animate":"css"](l,o.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:n+"%"},o.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:100-n+"%"},o.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:n+"%"},o.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-n+"%"},o.animate))},_handleEvents:{keydown:function(e){var t,n,r,i=x(e.target).data("ui-slider-handle-index");switch(e.keyCode){case x.ui.keyCode.HOME:case x.ui.keyCode.END:case x.ui.keyCode.PAGE_UP:case x.ui.keyCode.PAGE_DOWN:case x.ui.keyCode.UP:case x.ui.keyCode.RIGHT:case x.ui.keyCode.DOWN:case x.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(x(e.target),null,"ui-state-active"),!1===this._start(e,i)))return}switch(r=this.options.step,t=n=this._hasMultipleValues()?this.values(i):this.value(),e.keyCode){case x.ui.keyCode.HOME:n=this._valueMin();break;case x.ui.keyCode.END:n=this._valueMax();break;case x.ui.keyCode.PAGE_UP:n=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case x.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case x.ui.keyCode.UP:case x.ui.keyCode.RIGHT:if(t===this._valueMax())return;n=this._trimAlignValue(t+r);break;case x.ui.keyCode.DOWN:case x.ui.keyCode.LEFT:if(t===this._valueMin())return;n=this._trimAlignValue(t-r)}this._slide(e,i,n)},keyup:function(e){var t=x(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),this._removeClass(x(e.target),null,"ui-state-active"))}}}),x.widget("ui.sortable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,n){return t<=e&&e<t+n},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),x.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var n=null,r=!1,i=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),x(e.target).parents().each(function(){if(x.data(this,i.widgetName+"-item")===i)return n=x(this),!1}),x.data(e.target,i.widgetName+"-item")===i&&(n=x(e.target)),!!n&&(!(this.options.handle&&!t&&(x(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(r=!0)}),!r))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,t,n){var r,i,a=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},x.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(i=this.document.find("body"),this.storedCursor=i.css("cursor"),i.css("cursor",a.cursor),this.storedStylesheet=x("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(i)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(r=this.containers.length-1;0<=r;r--)this.containers[r]._trigger("activate",e,this._uiHash(this));return x.ui.ddmanager&&(x.ui.ddmanager.current=this),x.ui.ddmanager&&!a.dropBehaviour&&x.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var t,n,r,i,a=this.options,o=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop+a.scrollSpeed:e.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft+a.scrollSpeed:e.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(e.pageY-this.document.scrollTop()<a.scrollSensitivity?o=this.document.scrollTop(this.document.scrollTop()-a.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<a.scrollSensitivity&&(o=this.document.scrollTop(this.document.scrollTop()+a.scrollSpeed)),e.pageX-this.document.scrollLeft()<a.scrollSensitivity?o=this.document.scrollLeft(this.document.scrollLeft()-a.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<a.scrollSensitivity&&(o=this.document.scrollLeft(this.document.scrollLeft()+a.scrollSpeed))),!1!==o&&x.ui.ddmanager&&!a.dropBehaviour&&x.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t=this.items.length-1;0<=t;t--)if(r=(n=this.items[t]).item[0],(i=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(r===this.currentItem[0]||this.placeholder[1===i?"next":"prev"]()[0]===r||x.contains(this.placeholder[0],r)||"semi-dynamic"===this.options.type&&x.contains(this.element[0],r))){if(this.direction=1===i?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),x.ui.ddmanager&&x.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){if(e){if(x.ui.ddmanager&&!this.options.dropBehaviour&&x.ui.ddmanager.drop(this,e),this.options.revert){var n=this,r=this.placeholder.offset(),i=this.options.axis,a={};i&&"x"!==i||(a.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),i&&"y"!==i||(a.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,x(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,t);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new x.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),x.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?x(this.domPosition.prev).after(this.currentItem):x(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},x(e).each(function(){var e=(x(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&n.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t.each(function(){n.push(x(e.item||this).attr(e.attribute||"id")||"")}),n},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,a=e.left,o=a+e.width,s=e.top,c=s+e.height,l=this.offset.click.top,u=this.offset.click.left,f="x"===this.options.axis||s<r+l&&r+l<c,d="y"===this.options.axis||a<t+u&&t+u<o,h=f&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?h:a<t+this.helperProportions.width/2&&n-this.helperProportions.width/2<o&&s<r+this.helperProportions.height/2&&i-this.helperProportions.height/2<c},_intersectsWithPointer:function(e){var t,n,r="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),i="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!r||!i)&&(t=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),this.floating?"right"===n||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),r=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection();return this.floating&&i?"right"===i&&n||"left"===i&&!n:r&&("down"===r&&t||"up"===r&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){var t,n,r,i,a=[],o=[],s=this._connectWith();if(s&&e)for(t=s.length-1;0<=t;t--)for(n=(r=x(s[t],this.document[0])).length-1;0<=n;n--)(i=x.data(r[n],this.widgetFullName))&&i!==this&&!i.options.disabled&&o.push([x.isFunction(i.options.items)?i.options.items.call(i.element):x(i.options.items,i.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),i]);function c(){a.push(this)}for(o.push([x.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):x(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=o.length-1;0<=t;t--)o[t][0].each(c);return x(a)},_removeCurrentsFromItems:function(){var n=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=x.grep(this.items,function(e){for(var t=0;t<n.length;t++)if(n[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,n,r,i,a,o,s,c,l=this.items,u=[[x.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):x(this.options.items,this.element),this]],f=this._connectWith();if(f&&this.ready)for(t=f.length-1;0<=t;t--)for(n=(r=x(f[t],this.document[0])).length-1;0<=n;n--)(i=x.data(r[n],this.widgetFullName))&&i!==this&&!i.options.disabled&&(u.push([x.isFunction(i.options.items)?i.options.items.call(i.element[0],e,{item:this.currentItem}):x(i.options.items,i.element),i]),this.containers.push(i));for(t=u.length-1;0<=t;t--)for(a=u[t][1],n=0,c=(o=u[t][0]).length;n<c;n++)(s=x(o[n])).data(this.widgetName+"-item",a),l.push({item:s,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var t,n,r,i;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),t=this.items.length-1;0<=t;t--)(n=this.items[t]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(r=this.options.toleranceElement?x(this.options.toleranceElement,n.item):n.item,e||(n.width=r.outerWidth(),n.height=r.outerHeight()),i=r.offset(),n.left=i.left,n.top=i.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)i=this.containers[t].element.offset(),this.containers[t].containerCache.left=i.left,this.containers[t].containerCache.top=i.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(n){var r,i=(n=n||this).options;i.placeholder&&i.placeholder.constructor!==String||(r=i.placeholder,i.placeholder={element:function(){var e=n.currentItem[0].nodeName.toLowerCase(),t=x("<"+e+">",n.document[0]);return n._addClass(t,"ui-sortable-placeholder",r||n.currentItem[0].className)._removeClass(t,"ui-sortable-helper"),"tbody"===e?n._createTrPlaceholder(n.currentItem.find("tr").eq(0),x("<tr>",n.document[0]).appendTo(t)):"tr"===e?n._createTrPlaceholder(n.currentItem,t):"img"===e&&t.attr("src",n.currentItem.attr("src")),r||t.css("visibility","hidden"),t},update:function(e,t){r&&!i.forcePlaceholderSize||(t.height()||t.height(n.currentItem.innerHeight()-parseInt(n.currentItem.css("paddingTop")||0,10)-parseInt(n.currentItem.css("paddingBottom")||0,10)),t.width()||t.width(n.currentItem.innerWidth()-parseInt(n.currentItem.css("paddingLeft")||0,10)-parseInt(n.currentItem.css("paddingRight")||0,10)))}}),n.placeholder=x(i.placeholder.element.call(n.element,n.currentItem)),n.currentItem.after(n.placeholder),i.placeholder.update(n,n.placeholder)},_createTrPlaceholder:function(e,t){var n=this;e.children().each(function(){x("<td> </td>",n.document[0]).attr("colspan",x(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){var t,n,r,i,a,o,s,c,l,u,f=null,d=null;for(t=this.containers.length-1;0<=t;t--)if(!x.contains(this.currentItem[0],this.containers[t].element[0]))if(this._intersectsWith(this.containers[t].containerCache)){if(f&&x.contains(this.containers[t].element[0],f.element[0]))continue;f=this.containers[t],d=t}else this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",e,this._uiHash(this)),this.containers[t].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(r=1e4,i=null,a=(l=f.floating||this._isFloating(this.currentItem))?"left":"top",o=l?"width":"height",u=l?"pageX":"pageY",n=this.items.length-1;0<=n;n--)x.contains(this.containers[d].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(s=this.items[n].item.offset()[a],c=!1,e[u]-s>this.items[n][o]/2&&(c=!0),Math.abs(e[u]-s)<r&&(r=Math.abs(e[u]-s),i=this.items[n],this.direction=c?"up":"down"));if(!i&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return void(this.currentContainer.containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));i?this._rearrange(e,i,null,!0):this._rearrange(e,null,this.containers[d].element,!0),this._trigger("change",e,this._uiHash()),this.containers[d]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(e){var t=this.options,n=x.isFunction(t.helper)?x(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return n.parents("body").length||x("parent"!==t.appendTo?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),n[0].style.width&&!t.forceHelperSize||n.width(this.currentItem.width()),n[0].style.height&&!t.forceHelperSize||n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),x.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&x.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&x.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,n,r=this.options;"parent"===r.containment&&(r.containment=this.helper[0].parentNode),"document"!==r.containment&&"window"!==r.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===r.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===r.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(r.containment)||(e=x(r.containment)[0],t=x(r.containment).offset(),n="hidden"!==x(e).css("overflow"),this.containment=[t.left+(parseInt(x(e).css("borderLeftWidth"),10)||0)+(parseInt(x(e).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(x(e).css("borderTopWidth"),10)||0)+(parseInt(x(e).css("paddingTop"),10)||0)-this.margins.top,t.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(x(e).css("borderLeftWidth"),10)||0)-(parseInt(x(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(x(e).css("borderTopWidth"),10)||0)-(parseInt(x(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&x.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():i?0:r.scrollTop())*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())*n}},_generatePosition:function(e){var t,n,r=this.options,i=e.pageX,a=e.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&x.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),r.grid&&(t=this.originalPageY+Math.round((a-this.originalPageY)/r.grid[1])*r.grid[1],a=this.containment?t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-r.grid[1]:t+r.grid[1]:t,n=this.originalPageX+Math.round((i-this.originalPageX)/r.grid[0])*r.grid[0],i=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay(function(){i===this.counter&&this.refreshPositions(!r)})},_clear:function(e,t){this.reverting=!1;var n,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function i(t,n,r){return function(e){r._trigger(t,e,n._uiHash(n))}}for(this.fromOutside&&!t&&r.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||r.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(r.push(function(e){this._trigger("remove",e,this._uiHash())}),r.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;0<=n;n--)t||r.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(n=0;n<r.length;n++)r[n].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===x.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||x([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}});function y(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}x.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var r=this._super(),i=this.element;return x.each(["min","max","step"],function(e,t){var n=i.attr(t);null!=n&&n.length&&(r[t]=n)}),r},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e))},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){var t;function n(){this.element[0]===x.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=t,this._delay(function(){this.previous=t}))}t=this.element[0]===x.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,n.call(this)}),!1!==this._start(e)&&this._repeat(null,x(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(x(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,x(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var t=this.options,n=x.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,t.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:n})||(this._value(n),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?x.isFunction(t)?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return-1===n?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return n=e-(t=null!==r.min?r.min:0),e=t+(n=Math.round(n/r.step)*r.step),e=parseFloat(e.toFixed(this._precision())),null!==r.max&&e>r.max?r.max:null!==r.min&&e<r.min?r.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var n,r,i;if("culture"===e||"numberFormat"===e)return n=this._parse(this.element.val()),this.options[e]=t,void this.element.val(this._format(n));"max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(r=this.buttons.first().find(".ui-icon"),this._removeClass(r,null,this.options.icons.up),this._addClass(r,null,t.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,t.down)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:y(function(e){this._super(e)}),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var n;""!==e&&null!==(n=this._parse(e))&&(t||(n=this._adjustValue(n)),e=this._format(n)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:y(function(e){this._stepUp(e)}),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:y(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:y(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:y(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());y(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!1!==x.uiBackCompat&&x.widget("ui.spinner",x.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});var w;x.ui.spinner;x.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(w=/#.*$/,function(e){var t,n;t=e.href.replace(w,""),n=location.href.replace(w,"");try{t=decodeURIComponent(t)}catch(e){}try{n=decodeURIComponent(n)}catch(e){}return 1<e.hash.length&&t===n}),_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),x.isArray(e.disabled)&&(e.disabled=x.unique(e.disabled.concat(x.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=x(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var n=this.options.active,e=this.options.collapsible,r=location.hash.substring(1);return null===n&&(r&&this.tabs.each(function(e,t){if(x(t).attr("aria-controls")===r)return n=e,!1}),null===n&&(n=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==n&&-1!==n||(n=!!this.tabs.length&&0)),!1!==n&&-1===(n=this.tabs.index(this.tabs.eq(n)))&&(n=!e&&0),!e&&!1===n&&this.anchors.length&&(n=0),n},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):x()}},_tabKeydown:function(e){var t=x(x.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(t),r=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case x.ui.keyCode.RIGHT:case x.ui.keyCode.DOWN:n++;break;case x.ui.keyCode.UP:case x.ui.keyCode.LEFT:r=!1,n--;break;case x.ui.keyCode.END:n=this.anchors.length-1;break;case x.ui.keyCode.HOME:n=0;break;case x.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case x.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,r),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===x.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===x.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===x.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){var n=this.tabs.length-1;for(;-1!==x.inArray((n<e&&(e=0),e<0&&(e=n),e),this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"!==e?(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t)):this._activate(t)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=x.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!x.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=x()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=x()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var c=this,e=this.tabs,t=this.anchors,n=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){x(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){x(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return x("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=x(),this.anchors.each(function(e,t){var n,r,i,a=x(t).uniqueId().attr("id"),o=x(t).closest("li"),s=o.attr("aria-controls");c._isLocal(t)?(i=(n=t.hash).substring(1),r=c.element.find(c._sanitizeSelector(n))):(n="#"+(i=o.attr("aria-controls")||x({}).uniqueId()[0].id),(r=c.element.find(n)).length||(r=c._createPanel(i)).insertAfter(c.panels[e-1]||c.tablist),r.attr("aria-live","polite")),r.length&&(c.panels=c.panels.add(r)),s&&o.data("ui-tabs-aria-controls",s),o.attr({"aria-controls":i,"aria-labelledby":a}),r.attr("aria-labelledby",a)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),this._off(t.not(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return x("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,n,r;for(x.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),r=0;n=this.tabs[r];r++)t=x(n),!0===e||-1!==x.inArray(r,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var n={};e&&x.each(e.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var n,t=this.element.parent();"fill"===e?(n=t.height(),n-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=x(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(n-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){n-=x(this).outerHeight(!0)}),this.panels.each(function(){x(this).height(Math.max(0,n-x(this).innerHeight()+x(this).height()))}).css("overflow","auto")):"auto"===e&&(n=0,this.panels.each(function(){n=Math.max(n,x(this).height("").height())}).height(n))},_eventHandler:function(e){var t=this.options,n=this.active,r=x(e.currentTarget).closest("li"),i=r[0]===n[0],a=i&&t.collapsible,o=a?x():this._getPanelForTab(r),s=n.length?this._getPanelForTab(n):x(),c={oldTab:n,oldPanel:s,newTab:a?x():r,newPanel:o};e.preventDefault(),r.hasClass("ui-state-disabled")||r.hasClass("ui-tabs-loading")||this.running||i&&!t.collapsible||!1===this._trigger("beforeActivate",e,c)||(t.active=!a&&this.tabs.index(r),this.active=i?x():r,this.xhr&&this.xhr.abort(),s.length||o.length||x.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(r),e),this._toggle(e,c))},_toggle:function(e,t){var n=this,r=t.newPanel,i=t.oldPanel;function a(){n.running=!1,n._trigger("activate",e,t)}function o(){n._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),r.length&&n.options.show?n._show(r,n.options.show,a):(r.show(),a())}this.running=!0,i.length&&this.options.hide?this._hide(i,this.options.hide,function(){n._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),i.hide(),o()),i.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),r.length&&i.length?t.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return 0===x(this).attr("tabIndex")}).attr("tabIndex",-1),r.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var t,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),t=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:x.noop}))},_findActive:function(e){return!1===e?x():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+x.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){x.data(this,"ui-tabs-destroy")?x(this).remove():x(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=x(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(n){var e=this.options.disabled;!1!==e&&(e=void 0!==n&&(n=this._getIndex(n),x.isArray(e)?x.map(e,function(e){return e!==n?e:null}):x.map(this.tabs,function(e,t){return t!==n?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==x.inArray(e,t))return;t=x.isArray(t)?x.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,r){e=this._getIndex(e);var i=this,n=this.tabs.eq(e),t=n.find(".ui-tabs-anchor"),a=this._getPanelForTab(n),o={tab:n,panel:a},s=function(e,t){"abort"===t&&i.panels.stop(!1,!0),i._removeClass(n,"ui-tabs-loading"),a.removeAttr("aria-busy"),e===i.xhr&&delete i.xhr};this._isLocal(t[0])||(this.xhr=x.ajax(this._ajaxSettings(t,r,o)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(n,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done(function(e,t,n){setTimeout(function(){a.html(e),i._trigger("load",r,o),s(n,t)},1)}).fail(function(e,t){setTimeout(function(){s(e,t)},1)})))},_ajaxSettings:function(e,n,r){var i=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,t){return i._trigger("beforeLoad",n,x.extend({jqXHR:e,ajaxSettings:t},r))}}},_getPanelForTab:function(e){var t=x(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==x.uiBackCompat&&x.widget("ui.tabs",x.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});x.ui.tabs;x.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=x(this).attr("title")||"";return x("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",x.trim(n.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),r=x.inArray(t,n);-1!==r&&n.splice(r,1),e.removeData("ui-tooltip-id"),(n=x.trim(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=x("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=x([])},_setOption:function(e,t){var n=this;this._super(e,t),"content"===e&&x.each(this.tooltips,function(e,t){n._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var r=this;x.each(this.tooltips,function(e,t){var n=x.Event("blur");n.target=n.currentTarget=t.element[0],r.close(n,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=x(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=x(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=x([])},open:function(e){var n=this,t=x(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=x(this);t.data("ui-tooltip-open")&&((e=x.Event("blur")).target=e.currentTarget=this,n.close(e,!0)),t.attr("title")&&(t.uniqueId(),n.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,n){var e,r=this.options.content,i=this,a=n?n.type:null;if("string"==typeof r||r.nodeType||r.jquery)return this._open(n,t,r);(e=r.call(t[0],function(e){i._delay(function(){t.data("ui-tooltip-open")&&(n&&(n.type=a),this._open(n,t,e))})}))&&this._open(n,t,e)},_open:function(e,t,n){var r,i,a,o,s=x.extend({},this.options.position);function c(e){s.of=e,i.is(":hidden")||i.position(s)}n&&((r=this._find(t))?r.tooltip.find(".ui-tooltip-content").html(n):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),r=this._tooltip(t),i=r.tooltip,this._addDescribedBy(t,i.attr("id")),i.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(o=x("<div>").html(i.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),o.removeAttr("id").find("[id]").removeAttr("id"),o.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:c}),c(e)):i.position(x.extend({of:t},this.options.position)),i.hide(),this._show(i,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){i.is(":visible")&&(c(s.of),clearInterval(a))},x.fx.interval)),this._trigger("open",e,{tooltip:i})))},_registerCloseHandlers:function(e,n){var t={keyup:function(e){if(e.keyCode===x.ui.keyCode.ESCAPE){var t=x.Event(e);t.currentTarget=n[0],this.close(t,!0)}}};n[0]!==this.element[0]&&(t.remove=function(){this._removeTooltip(this._find(n).tooltip)}),e&&"mouseover"!==e.type||(t.mouseleave="close"),e&&"focusin"!==e.type||(t.focusout="close"),this._on(!0,n,t)},close:function(e){var t,n=this,r=x(e?e.currentTarget:this.element),i=this._find(r);i?(t=i.tooltip,i.closing||(clearInterval(this.delayedShow),r.data("ui-tooltip-title")&&!r.attr("title")&&r.attr("title",r.data("ui-tooltip-title")),this._removeDescribedBy(r),i.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){n._removeTooltip(x(this))}),r.removeData("ui-tooltip-open"),this._off(r,"mouseleave focusout keyup"),r[0]!==this.element[0]&&this._off(r,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&x.each(this.parents,function(e,t){x(t.element).attr("title",t.title),delete n.parents[e]}),i.closing=!0,this._trigger("close",e,{tooltip:t}),i.hiding||(i.closing=!1))):r.removeData("ui-tooltip-open")},_tooltip:function(e){var t=x("<div>").attr("role","tooltip"),n=x("<div>").appendTo(t),r=t.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[r]={element:e,tooltip:t}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){var t=e.closest(".ui-front, dialog");return t.length||(t=this.document[0].body),t},_destroy:function(){var i=this;x.each(this.tooltips,function(e,t){var n=x.Event("blur"),r=t.element;n.target=n.currentTarget=r[0],i.close(n,!0),x("#"+e).remove(),r.data("ui-tooltip-title")&&(r.attr("title")||r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==x.uiBackCompat&&x.widget("ui.tooltip",x.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}});x.ui.tooltip}),function(e,w,t){"use strict";w.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(b,v,y){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(c,l,e,a){var u;function n(e,t){var n=t&&"function"==typeof t;return e&&"function"==typeof e&&n?function(){e.apply(this,arguments),t.apply(this,arguments)}:n?t:e}function o(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function s(e,t){return m[e]?("stop"===e&&(t=n(t=n(t,function(){c.$apply()}),r)),t=n(m[e],t)):g[e]&&(t=g[e](t)),t||("items"===e?t=b.items:"ui-model-items"===e&&(t=b.items)),t}function i(r,e,n){w.forEach(m,function(e,t){t in h||(h[t]=null)});var i,a=null;e&&w.forEach(e,function(e,t){if(!(r&&t in r)){if(t in p)return void(h[t]="ui-floating"===t?"auto":s(t,void 0));i||(i=w.element.ui.sortable().options);var n=i[t];n=s(t,n),a||(a={}),a[t]=n,h[t]=n}});return w.forEach(r,function(e,t){if(t in p)return"ui-floating"!==t||!1!==e&&!0!==e||!n||(n.floating=e),void(h[t]=s(t,e));e=s(t,e),a||(a={}),a[t]=e,h[t]=e}),a}function f(e,t,n){var r,i,a=null;return r=t,("clone"===(i=e.sortable("option","helper"))||"function"==typeof i&&r.item.sortable.isCustomHelperUsed())&&"parent"===e.sortable("option","appendTo")&&(a=n.last()),a}function r(e,t){t.item.sortable._destroy()}function d(e){return e.item.parent().find(h["ui-model-items"]).index(e.item)}var h={},p={"ui-floating":void 0,"ui-model-items":b.items},m={receive:null,remove:null,start:null,stop:null,update:null},g={helper:null};function t(){c.$watchCollection("ngModel",function(){v(function(){o(l)&&l.sortable("refresh")},0,!1)}),m.start=function(e,n){if("auto"===h["ui-floating"]){var t=n.item.siblings();o(w.element(e.target)).floating=/left|right/.test((r=t).css("float"))||/inline|table-cell/.test(r.css("display"))}var r,i=d(n);n.item.sortable={model:a.$modelValue[i],index:i,source:n.item.parent(),sourceModel:a.$modelValue,cancel:function(){n.item.sortable._isCanceled=!0},isCanceled:function(){return n.item.sortable._isCanceled},isCustomHelperUsed:function(){return!!n.item.sortable._isCustomHelperUsed},_isCanceled:!1,_isCustomHelperUsed:n.item.sortable._isCustomHelperUsed,_destroy:function(){w.forEach(n.item.sortable,function(e,t){n.item.sortable[t]=void 0})}}},m.activate=function(e,t){u=l.contents();var n,r,i,a=function(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=w.element(n)}return null}(l);if(a&&a.length){var o=(n=l,r=a,i=h["ui-model-items"].replace(/[^,]*>/g,""),n.find('[class="'+r.attr("class")+'"]:not('+i+")"));u=u.not(o)}var s=t.item.sortable._connectedSortables||[];s.push({element:l,scope:c}),t.item.sortable._connectedSortables=s},m.update=function(e,t){if(!t.item.sortable.received){t.item.sortable.dropindex=d(t);var n=t.item.parent();t.item.sortable.droptarget=n;var r=function(e,t){for(var n=null,r=0;r<e.length;r++){var i=e[r];if(i.element[0]===t[0]){n=i.scope;break}}return n}(t.item.sortable._connectedSortables,n);t.item.sortable.droptargetModel=r.ngModel,l.sortable("cancel")}var i=!t.item.sortable.received&&f(l,t,u);i&&i.length&&(u=u.not(i)),u.appendTo(l),t.item.sortable.received&&(u=null),t.item.sortable.received&&!t.item.sortable.isCanceled()&&c.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,t.item.sortable.moved)})},m.stop=function(e,t){if(!t.item.sortable.received&&"dropindex"in t.item.sortable&&!t.item.sortable.isCanceled())c.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,a.$modelValue.splice(t.item.sortable.index,1)[0])});else if((!("dropindex"in t.item.sortable)||t.item.sortable.isCanceled())&&!w.equals(l.contents(),u)){var n=f(l,t,u);n&&n.length&&(u=u.not(n)),u.appendTo(l)}u=null},m.receive=function(e,t){t.item.sortable.received=!0},m.remove=function(e,t){"dropindex"in t.item.sortable||(l.sortable("cancel"),t.item.sortable.cancel()),t.item.sortable.isCanceled()||c.$apply(function(){t.item.sortable.moved=a.$modelValue.splice(t.item.sortable.index,1)[0]})},g.helper=function(r){return r&&"function"==typeof r?function(e,t){var n=r.apply(this,arguments);return t.sortable._isCustomHelperUsed=t!==n,n}:r},c.$watchCollection("uiSortable",function(e,t){var n=o(l);if(n){var r=i(e,t,n);r&&l.sortable("option",r)}},!0),i(h)}function _(){return(!c.uiSortable||!c.uiSortable.disabled)&&(a?t():y.info("ui.sortable: ngModel not provided!",l),l.sortable(h),_.cancelWatcher(),_.cancelWatcher=w.noop,!0)}w.extend(h,p,b,c.uiSortable),w.element.fn&&w.element.fn.jquery?(_.cancelWatcher=w.noop,_()||(_.cancelWatcher=c.$watch("uiSortable.disabled",_))):y.error("ui.sortable: jQuery should be included before AngularJS!")}}}])}(window,window.angular),function(){"use strict";angular.module("ui.tree",[]).constant("treeConfig",{treeClass:"angular-ui-tree",emptyTreeClass:"angular-ui-tree-empty",hiddenClass:"angular-ui-tree-hidden",nodesClass:"angular-ui-tree-nodes",nodeClass:"angular-ui-tree-node",handleClass:"angular-ui-tree-handle",placeholderClass:"angular-ui-tree-placeholder",dragClass:"angular-ui-tree-drag",dragThreshold:3,levelThreshold:30,defaultCollapsed:!1})}(),function(){"use strict";angular.module("ui.tree").controller("TreeHandleController",["$scope","$element",function(e,t){(this.scope=e).$element=t,e.$nodeScope=null,e.$type="uiTreeHandle"}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodeController",["$scope","$element",function(n,r){(this.scope=n).$element=r,n.$modelValue=null,n.$parentNodeScope=null,n.$childNodesScope=null,n.$parentNodesScope=null,n.$treeScope=null,n.$handleScope=null,n.$type="uiTreeNode",n.$$allowNodeDrop=!1,n.collapsed=!1,n.init=function(e){var t=e[0];n.$treeScope=e[1]?e[1].scope:null,n.$parentNodeScope=t.scope.$nodeScope,n.$modelValue=t.scope.$modelValue[n.$index],n.$parentNodesScope=t.scope,t.scope.initSubNode(n),r.on("$destroy",function(){t.scope.destroySubNode(n)})},n.index=function(){return n.$parentNodesScope.$modelValue.indexOf(n.$modelValue)},n.dragEnabled=function(){return!(n.$treeScope&&!n.$treeScope.dragEnabled)},n.isSibling=function(e){return n.$parentNodesScope==e.$parentNodesScope},n.isChild=function(e){var t=n.childNodes();return t&&-1<t.indexOf(e)},n.prev=function(){var e=n.index();return 0<e?n.siblings()[e-1]:null},n.siblings=function(){return n.$parentNodesScope.childNodes()},n.childNodesCount=function(){return n.childNodes()?n.childNodes().length:0},n.hasChild=function(){return 0<n.childNodesCount()},n.childNodes=function(){return n.$childNodesScope&&n.$childNodesScope.$modelValue?n.$childNodesScope.childNodes():null},n.accept=function(e,t){return n.$childNodesScope&&n.$childNodesScope.$modelValue&&n.$childNodesScope.accept(e,t)},n.remove=function(){return n.$parentNodesScope.removeNode(n)},n.toggle=function(){n.collapsed=!n.collapsed},n.collapse=function(){n.collapsed=!0},n.expand=function(){n.collapsed=!1},n.depth=function(){var e=n.$parentNodeScope;return e?e.depth()+1:1},n.maxSubDepth=function(){return n.$childNodesScope?function e(t){var n,r,i=0,a=t.childNodes();if(!a||0===a.length)return 0;for(r=a.length-1;0<=r;r--)n=1+e(a[r]),i=Math.max(i,n);return i}(n.$childNodesScope):0}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodesController",["$scope","$element",function(n,e){(this.scope=n).$element=e,n.$modelValue=null,n.$nodeScope=null,n.$treeScope=null,n.$type="uiTreeNodes",n.$nodesMap={},n.nodropEnabled=!1,n.maxDepth=0,n.cloneEnabled=!1,n.initSubNode=function(e){if(!e.$modelValue)return null;n.$nodesMap[e.$modelValue.$$hashKey]=e},n.destroySubNode=function(e){if(!e.$modelValue)return null;n.$nodesMap[e.$modelValue.$$hashKey]=null},n.accept=function(e,t){return n.$treeScope.$callbacks.accept(e,n,t)},n.beforeDrag=function(e){return n.$treeScope.$callbacks.beforeDrag(e)},n.isParent=function(e){return e.$parentNodesScope==n},n.hasChild=function(){return 0<n.$modelValue.length},n.safeApply=function(e){var t=this.$root.$$phase;"$apply"==t||"$digest"==t?e&&"function"==typeof e&&e():this.$apply(e)},n.removeNode=function(e){var t=n.$modelValue.indexOf(e.$modelValue);return-1<t?(n.safeApply(function(){n.$modelValue.splice(t,1)[0]}),n.$treeScope.$callbacks.removed(e)):null},n.insertNode=function(e,t){n.safeApply(function(){n.$modelValue.splice(e,0,t)})},n.childNodes=function(){var e,t=[];if(n.$modelValue)for(e=0;e<n.$modelValue.length;e++)t.push(n.$nodesMap[n.$modelValue[e].$$hashKey]);return t},n.depth=function(){return n.$nodeScope?n.$nodeScope.depth():0},n.outOfDepth=function(e){var t=n.maxDepth||n.$treeScope.maxDepth;return 0<t&&n.depth()+e.maxSubDepth()+1>t}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeController",["$scope","$element",function(t,e){(this.scope=t).$element=e,t.$nodesScope=null,t.$type="uiTree",t.$emptyElm=null,t.$callbacks=null,t.dragEnabled=!0,t.emptyPlaceholderEnabled=!0,t.maxDepth=0,t.dragDelay=0,t.cloneEnabled=!1,t.nodropEnabled=!1,t.isEmpty=function(){return t.$nodesScope&&t.$nodesScope.$modelValue&&0===t.$nodesScope.$modelValue.length},t.place=function(e){t.$nodesScope.$element.append(e),t.$emptyElm.remove()},this.resetEmptyElement=function(){t.$nodesScope.$modelValue&&0!==t.$nodesScope.$modelValue.length||!t.emptyPlaceholderEnabled?t.$emptyElm.remove():e.append(t.$emptyElm)},t.resetEmptyElement=this.resetEmptyElement}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTree",["treeConfig","$window",function(l,u){return{restrict:"A",scope:!0,controller:"TreeController",link:function(n,e,t,r){var i,a,o,s={accept:null,beforeDrag:null},c={};angular.extend(c,l),c.treeClass&&e.addClass(c.treeClass),"table"===e.prop("tagName").toLowerCase()?(n.$emptyElm=angular.element(u.document.createElement("tr")),o=0<(a=e.find("tr")).length?angular.element(a).children().length:1e6,i=angular.element(u.document.createElement("td")).attr("colspan",o),n.$emptyElm.append(i)):n.$emptyElm=angular.element(u.document.createElement("div")),c.emptyTreeClass&&n.$emptyElm.addClass(c.emptyTreeClass),n.$watch("$nodesScope.$modelValue.length",function(e){angular.isNumber(e)&&r.resetEmptyElement()},!0),n.$watch(t.dragEnabled,function(e){"boolean"==typeof e&&(n.dragEnabled=e)}),n.$watch(t.emptyPlaceholderEnabled,function(e){"boolean"==typeof e&&(n.emptyPlaceholderEnabled=e,r.resetEmptyElement())}),n.$watch(t.nodropEnabled,function(e){"boolean"==typeof e&&(n.nodropEnabled=e)}),n.$watch(t.cloneEnabled,function(e){"boolean"==typeof e&&(n.cloneEnabled=e)}),n.$watch(t.maxDepth,function(e){"number"==typeof e&&(n.maxDepth=e)}),n.$watch(t.dragDelay,function(e){"number"==typeof e&&(n.dragDelay=e)}),s.accept=function(e,t,n){return!(t.nodropEnabled||t.$treeScope.nodropEnabled||t.outOfDepth(e))},s.beforeDrag=function(e){return!0},s.removed=function(e){},s.dropped=function(e){},s.dragStart=function(e){},s.dragMove=function(e){},s.dragStop=function(e){},s.beforeDrop=function(e){},n.$watch(t.uiTree,function(e,t){angular.forEach(e,function(e,t){s[t]&&"function"==typeof e&&(s[t]=e)}),n.$callbacks=s},!0)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeHandle",["treeConfig",function(a){return{require:"^uiTreeNode",restrict:"A",scope:!0,controller:"TreeHandleController",link:function(e,t,n,r){var i={};angular.extend(i,a),i.handleClass&&t.addClass(i.handleClass),e!=r.scope&&(e.$nodeScope=r.scope,r.scope.$handleScope=e)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNode",["treeConfig","UiTreeHelper","$window","$document","$timeout","$q","$rootElement",function(O,R,N,L,F,G,j){return{require:["^uiTreeNodes","^uiTree"],restrict:"A",controller:"TreeNodeController",link:function(g,f,t,e){var _,b,v,y,d,w,C,A,S,n,r,i,a,o,s,c,l,u,h,p,m,T,x,k,E,D={},I="ontouchstart"in window,P=null,M=document.body,$=document.documentElement;angular.extend(D,O),D.nodeClass&&f.addClass(D.nodeClass),g.init(e),g.collapsed=!!R.getNodeAttribute(g,"collapsed")||O.defaultCollapsed,g.sourceOnly=g.nodropEnabled||g.$treeScope.nodropEnabled,g.$watch(t.collapsed,function(e){"boolean"==typeof e&&(g.collapsed=e)}),g.$watch("collapsed",function(e){R.setNodeAttribute(g,"collapsed",e),t.$set("collapsed",e)}),g.$on("angular-ui-tree:collapse-all",function(){g.collapsed=!0}),g.$on("angular-ui-tree:expand-all",function(){g.collapsed=!1}),n=function(e){if((I||2!==e.button&&3!==e.which)&&!(e.uiTreeDragging||e.originalEvent&&e.originalEvent.uiTreeDragging)){var t,n,r,i,a,o,s,c,l,u=angular.element(e.target);if((t=R.treeNodeHandlerContainerOfElement(u))&&(u=angular.element(t)),n=f.clone(),c=R.elementIsTreeNode(u),l=R.elementIsTreeNodeHandle(u),(c||l)&&!(c&&R.elementContainsTreeNodeHandler(u)||"input"==(r=u.prop("tagName").toLowerCase())||"textarea"==r||"button"==r||"select"==r)){for(k=angular.element(e.target);k&&k[0]&&k[0]!==f;){if(R.nodrag(k))return;k=k.parent()}g.beforeDrag(g)&&(e.uiTreeDragging=!0,e.originalEvent&&(e.originalEvent.uiTreeDragging=!0),e.preventDefault(),a=R.eventObj(e),_=!0,b=R.dragInfo(g),"tr"===(i=f.prop("tagName")).toLowerCase()?(y=angular.element(N.document.createElement(i)),o=angular.element(N.document.createElement("td")).addClass(D.placeholderClass).attr("colspan",f[0].children.length),y.append(o)):y=angular.element(N.document.createElement(i)).addClass(D.placeholderClass),d=angular.element(N.document.createElement(i)),D.hiddenClass&&d.addClass(D.hiddenClass),v=R.positionStarted(a,f),y.css("height",R.height(f)+"px"),(w=angular.element(N.document.createElement(g.$parentNodesScope.$element.prop("tagName"))).addClass(g.$parentNodesScope.$element.attr("class")).addClass(D.dragClass)).css("width",R.width(f)+"px"),w.css("z-index",9999),(s=(f[0].querySelector(".angular-ui-tree-handle")||f[0]).currentStyle)&&(document.body.setAttribute("ui-tree-cursor",L.find("body").css("cursor")||""),L.find("body").css({cursor:s.cursor+"!important"})),g.sourceOnly&&y.css("display","none"),f.after(y),f.after(d),b.isClone()&&g.sourceOnly?w.append(n):w.append(f),j.append(w),w.css({left:a.pageX-v.offsetX+"px",top:a.pageY-v.offsetY+"px"}),C={placeholder:y,dragging:w},h(),g.$apply(function(){g.$treeScope.$callbacks.dragStart(b.eventArgs(C,v))}),A=Math.max(M.scrollHeight,M.offsetHeight,$.clientHeight,$.scrollHeight,$.offsetHeight),S=Math.max(M.scrollWidth,M.offsetWidth,$.clientWidth,$.scrollWidth,$.offsetWidth))}}},r=function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m=R.eventObj(e);if(w){if(e.preventDefault(),N.getSelection?N.getSelection().removeAllRanges():N.document.selection&&N.document.selection.empty(),(n=m.pageX-v.offsetX)<0&&(n=0),(r=m.pageY-v.offsetY)<0&&(r=0),A<r+10&&(r=A-10),S<n+10&&(n=S-10),w.css({left:n+"px",top:r+"px"}),(a=(i=window.pageYOffset||N.document.documentElement.scrollTop)+(window.innerHeight||N.document.clientHeight||N.document.clientHeight))<m.pageY&&a<=A&&window.scrollBy(0,10),i>m.pageY&&window.scrollBy(0,-10),R.positionMoved(e,v,_),_)return void(_=!1);if(R.offset(w).left-R.offset(y).left>=D.threshold,s=m.pageX-(N.pageXOffset||N.document.body.scrollLeft||N.document.documentElement.scrollLeft)-(N.document.documentElement.clientLeft||0),c=m.pageY-(N.pageYOffset||N.document.body.scrollTop||N.document.documentElement.scrollTop)-(N.document.documentElement.clientTop||0),angular.isFunction(w.hide)?w.hide():(l=w[0].style.display,w[0].style.display="none"),N.document.elementFromPoint(s,c),f=angular.element(N.document.elementFromPoint(s,c)),(x=R.treeNodeHandlerContainerOfElement(f))&&(f=angular.element(x)),angular.isFunction(w.show)?w.show():w[0].style.display=l,(T=!(R.elementIsTreeNodeHandle(f)||R.elementIsTreeNode(f)||R.elementIsTreeNodes(f)||R.elementIsTree(f)||R.elementIsPlaceholder(f)))&&(y.remove(),P&&(P.resetEmptyElement(),P=null)),v.dirAx&&v.distAxX>=D.levelThreshold&&((v.distAxX=0)<v.distX&&(t=b.prev())&&!t.collapsed&&t.accept(g,t.childNodesCount())&&(t.$childNodesScope.$element.append(y),b.moveTo(t.$childNodesScope,t.childNodes(),t.childNodesCount())),v.distX<0&&(b.next()||(o=b.parentNode())&&o.$parentNodesScope.accept(g,o.index()+1)&&(o.$element.after(y),b.moveTo(o.$parentNodesScope,o.siblings(),o.index()+1)))),!v.dirAx){if(R.elementIsTree(f)?u=f.controller("uiTree").scope:R.elementIsTreeNodeHandle(f)?u=f.controller("uiTreeHandle").scope:R.elementIsTreeNode(f)?u=f.controller("uiTreeNode").scope:R.elementIsTreeNodes(f)?u=f.controller("uiTreeNodes").scope:R.elementIsPlaceholder(f)?u=f.controller("uiTreeNodes").scope:f.controller("uiTreeNode")&&(u=f.controller("uiTreeNode").scope),d=!1,!u)return;if(!u.$treeScope||u.$parent.nodropEnabled||u.$treeScope.nodropEnabled||y.css("display",""),"uiTree"==u.$type&&u.dragEnabled&&(d=u.isEmpty()),"uiTreeHandle"==u.$type&&(u=u.$nodeScope),"uiTreeNode"!=u.$type&&!d)return;P&&y.parent()[0]!=P.$element[0]&&(P.resetEmptyElement(),P=null),d?(P=u).$nodesScope.accept(g,0)&&(u.place(y),b.moveTo(u.$nodesScope,u.$nodesScope.childNodes(),0)):u.dragEnabled()&&(f=u.$element,h=R.offset(f),p=u.horizontal?m.pageX<h.left+R.width(f)/2:m.pageY<h.top+R.height(f)/2,u.$parentNodesScope.accept(g,u.index())?p?(f[0].parentNode.insertBefore(y[0],f[0]),b.moveTo(u.$parentNodesScope,u.siblings(),u.index())):(f.after(y),b.moveTo(u.$parentNodesScope,u.siblings(),u.index()+1)):!p&&u.accept(g,u.childNodesCount())?(u.$childNodesScope.$element.append(y),b.moveTo(u.$childNodesScope,u.childNodes(),u.childNodesCount())):T=!0)}g.$apply(function(){g.$treeScope.$callbacks.dragMove(b.eventArgs(C,v))})}},i=function(e){var t=b.eventArgs(C,v);e.preventDefault(),p(),g.$treeScope.$apply(function(){G.when(g.$treeScope.$callbacks.beforeDrop(t)).then(function(e){!1!==e&&g.$$allowNodeDrop&&!T?(b.apply(),g.$treeScope.$callbacks.dropped(t)):u()}).catch(function(){u()}).finally(function(){d.replaceWith(g.$element),y.remove(),w&&(w.remove(),w=null),g.$treeScope.$callbacks.dragStop(t),g.$$allowNodeDrop=!1,b=null;var e=document.body.getAttribute("ui-tree-cursor");null!==e&&(L.find("body").css({cursor:e}),document.body.removeAttribute("ui-tree-cursor"))})})},a=function(e){g.dragEnabled()&&n(e)},o=function(e){r(e)},s=function(e){g.$$allowNodeDrop=!0,i(e)},c=function(e){i(e)},l={exec:function(e,t){t||(t=0),this.cancel(),E=F(e,t)},cancel:function(){F.cancel(E)}},(u=function(){f.bind("touchstart mousedown",function(e){l.exec(function(){a(e)},g.dragDelay||0)}),f.bind("touchend touchcancel mouseup",function(){l.cancel()})})(),h=function(){angular.element(L).bind("touchend",s),angular.element(L).bind("touchcancel",s),angular.element(L).bind("touchmove",o),angular.element(L).bind("mouseup",s),angular.element(L).bind("mousemove",o),angular.element(L).bind("mouseleave",c)},p=function(){angular.element(L).unbind("touchend",s),angular.element(L).unbind("touchcancel",s),angular.element(L).unbind("touchmove",o),angular.element(L).unbind("mouseup",s),angular.element(L).unbind("mousemove",o),angular.element(L).unbind("mouseleave",c)},m=function(e){27==e.keyCode&&(g.$$allowNodeDrop=!1,i(e))},angular.element(N.document).bind("keydown",m),g.$on("$destroy",function(){angular.element(N.document).unbind("keydown",m)})}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNodes",["treeConfig","$window",function(c){return{require:["ngModel","?^uiTreeNode","^uiTree"],restrict:"A",scope:!0,controller:"TreeNodesController",link:function(t,e,n,r){var i={},a=r[0],o=r[1],s=r[2];angular.extend(i,c),i.nodesClass&&e.addClass(i.nodesClass),o?(o.scope.$childNodesScope=t).$nodeScope=o.scope:s.scope.$nodesScope=t,t.$treeScope=s.scope,a&&(a.$render=function(){t.$modelValue=a.$modelValue}),t.$watch(function(){return n.maxDepth},function(e){"number"==typeof e&&(t.maxDepth=e)}),t.$watch(function(){return n.nodropEnabled},function(e){void 0!==e&&(t.nodropEnabled=!0)},!0),n.$observe("horizontal",function(e){t.horizontal=void 0!==e})}}}])}(),function(){"use strict";angular.module("ui.tree").factory("UiTreeHelper",["$document","$window","treeConfig",function(n,r,t){return{nodesData:{},setNodeAttribute:function(e,t,n){if(!e.$modelValue)return null;var r=this.nodesData[e.$modelValue.$$hashKey];r||(r={},this.nodesData[e.$modelValue.$$hashKey]=r),r[t]=n},getNodeAttribute:function(e,t){if(!e.$modelValue)return null;var n=this.nodesData[e.$modelValue.$$hashKey];return n?n[t]:null},nodrag:function(e){return void 0!==e.attr("data-nodrag")&&"false"!==e.attr("data-nodrag")},eventObj:function(e){var t=e;return void 0!==e.targetTouches?t=e.targetTouches.item(0):void 0!==e.originalEvent&&void 0!==e.originalEvent.targetTouches&&(t=e.originalEvent.targetTouches.item(0)),t},dragInfo:function(e){return{source:e,sourceInfo:{cloneModel:!0===e.$treeScope.cloneEnabled?angular.copy(e.$modelValue):void 0,nodeScope:e,index:e.index(),nodesScope:e.$parentNodesScope},index:e.index(),siblings:e.siblings().slice(0),parent:e.$parentNodesScope,moveTo:function(e,t,n){this.parent=e,this.siblings=t.slice(0);var r=this.siblings.indexOf(this.source);-1<r&&(this.siblings.splice(r,1),this.source.index()<n&&n--),this.siblings.splice(n,0,this.source),this.index=n},parentNode:function(){return this.parent.$nodeScope},prev:function(){return 0<this.index?this.siblings[this.index-1]:null},next:function(){return this.index<this.siblings.length-1?this.siblings[this.index+1]:null},isClone:function(){return!0===this.source.$treeScope.cloneEnabled},clonedNode:function(e){return angular.copy(e)},isDirty:function(){return this.source.$parentNodesScope!=this.parent||this.source.index()!=this.index},isForeign:function(){return this.source.$treeScope!==this.parent.$treeScope},eventArgs:function(e,t){return{source:this.sourceInfo,dest:{index:this.index,nodesScope:this.parent},elements:e,pos:t}},apply:function(){var e=this.source.$modelValue;this.parent.nodropEnabled||this.parent.$treeScope.nodropEnabled||this.isDirty()&&(this.isClone()&&this.isForeign()?this.parent.insertNode(this.index,this.sourceInfo.cloneModel):(this.source.remove(),this.parent.insertNode(this.index,e)))}}},height:function(e){return e.prop("scrollHeight")},width:function(e){return e.prop("scrollWidth")},offset:function(e){var t=e[0].getBoundingClientRect();return{width:e.prop("offsetWidth"),height:e.prop("offsetHeight"),top:t.top+(r.pageYOffset||n[0].body.scrollTop||n[0].documentElement.scrollTop),left:t.left+(r.pageXOffset||n[0].body.scrollLeft||n[0].documentElement.scrollLeft)}},positionStarted:function(e,t){var n={},r=e.pageX,i=e.pageY;return e.originalEvent&&e.originalEvent.touches&&0<e.originalEvent.touches.length&&(r=e.originalEvent.touches[0].pageX,i=e.originalEvent.touches[0].pageY),n.offsetX=r-this.offset(t).left,n.offsetY=i-this.offset(t).top,n.startX=n.lastX=r,n.startY=n.lastY=i,n.nowX=n.nowY=n.distX=n.distY=n.dirAx=0,n.dirX=n.dirY=n.lastDirX=n.lastDirY=n.distAxX=n.distAxY=0,n},positionMoved:function(e,t,n){var r,i=e.pageX,a=e.pageY;if(e.originalEvent&&e.originalEvent.touches&&0<e.originalEvent.touches.length&&(i=e.originalEvent.touches[0].pageX,a=e.originalEvent.touches[0].pageY),t.lastX=t.nowX,t.lastY=t.nowY,t.nowX=i,t.nowY=a,t.distX=t.nowX-t.lastX,t.distY=t.nowY-t.lastY,t.lastDirX=t.dirX,t.lastDirY=t.dirY,t.dirX=0===t.distX?0:0<t.distX?1:-1,t.dirY=0===t.distY?0:0<t.distY?1:-1,r=Math.abs(t.distX)>Math.abs(t.distY)?1:0,n)return t.dirAx=r,void(t.moving=!0);t.dirAx!==r?(t.distAxX=0,t.distAxY=0):(t.distAxX+=Math.abs(t.distX),0!==t.dirX&&t.dirX!==t.lastDirX&&(t.distAxX=0),t.distAxY+=Math.abs(t.distY),0!==t.dirY&&t.dirY!==t.lastDirY&&(t.distAxY=0)),t.dirAx=r},elementIsTreeNode:function(e){return void 0!==e.attr("ui-tree-node")},elementIsTreeNodeHandle:function(e){return void 0!==e.attr("ui-tree-handle")},elementIsTree:function(e){return void 0!==e.attr("ui-tree")},elementIsTreeNodes:function(e){return void 0!==e.attr("ui-tree-nodes")},elementIsPlaceholder:function(e){return e.hasClass(t.placeholderClass)},elementContainsTreeNodeHandler:function(e){return 1<=e[0].querySelectorAll("[ui-tree-handle]").length},treeNodeHandlerContainerOfElement:function(e){return function(e,t){if(void 0===t)return null;var n=t.parentNode,r="function"==typeof n.setAttribute&&n.hasAttribute(e)?n:null;for(;n&&"function"==typeof n.setAttribute&&!n.hasAttribute(e);){if(n=n.parentNode,(r=n)===document.documentElement){r=null;break}0}return r}("ui-tree-handle",e[0])}}}])}(),function(){var _=window.ResizeSensor;"undefined"!=typeof module&&void 0!==module.exports&&(_=require("./ResizeSensor"));var t=this.ElementQueries=function(){var d=!1,h=[];function a(e){e||(e=document.documentElement);var t=getComputedStyle(e,"fontSize");return parseFloat(t)||16}function f(e,t){var n=t.replace(/[0-9]*/,"");switch(t=parseFloat(t),n){case"px":return t;case"em":return t*a(e);case"rem":return t*a();case"vw":return t*document.documentElement.clientWidth/100;case"vh":return t*document.documentElement.clientHeight/100;case"vmin":case"vmax":var r=document.documentElement.clientWidth/100,i=document.documentElement.clientHeight/100;return t*(0,Math["vmin"===n?"min":"max"])(r,i);default:return t}}function n(e){this.element=e,this.options={};var t,n,r,i,a,o,s,c=0,l=0;this.addOption=function(e){var t=[e.mode,e.property,e.value].join(",");this.options[t]=e};var u=["min-width","min-height","max-width","max-height"];this.call=function(){for(t in c=this.element.offsetWidth,l=this.element.offsetHeight,a={},this.options)this.options.hasOwnProperty(t)&&(n=this.options[t],r=f(this.element,n.value),i="width"==n.property?c:l,s=n.mode+"-"+n.property,o="","min"==n.mode&&r<=i&&(o+=n.value),"max"==n.mode&&i<=r&&(o+=n.value),a[s]||(a[s]=""),o&&-1===(" "+a[s]+" ").indexOf(" "+o+" ")&&(a[s]+=" "+o));for(var e in u)u.hasOwnProperty(e)&&(a[u[e]]?this.element.setAttribute(u[e],a[u[e]].substr(1)):this.element.removeAttribute(u[e]))}}function s(e,t){e.elementQueriesSetupInformation?e.elementQueriesSetupInformation.addOption(t):(e.elementQueriesSetupInformation=new n(e),e.elementQueriesSetupInformation.addOption(t),e.elementQueriesSensor=new _(e,function(){e.elementQueriesSetupInformation.call()})),e.elementQueriesSetupInformation.call(),d&&h.indexOf(e)<0&&h.push(e)}var c={};function l(){var e;if(document.querySelectorAll&&(e=document.querySelectorAll.bind(document)),e||"undefined"==typeof $$||(e=$$),e||"undefined"==typeof jQuery||(e=jQuery),!e)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return e}function i(r){var i=[],a=[],o=[],s=0,c=-1,l=[];for(var e in r.children)if(r.children.hasOwnProperty(e)&&r.children[e].tagName&&"img"===r.children[e].tagName.toLowerCase()){i.push(r.children[e]);var t=r.children[e].getAttribute("min-width")||r.children[e].getAttribute("data-min-width"),n=r.children[e].getAttribute("data-src")||r.children[e].getAttribute("url");o.push(n);var u={minWidth:t};a.push(u),t?r.children[e].style.display="none":(s=i.length-1,r.children[e].style.display="block")}function f(){var e,t=!1;for(e in i)i.hasOwnProperty(e)&&a[e].minWidth&&r.offsetWidth>a[e].minWidth&&(t=e);if(t||(t=s),c!=t)if(l[t])i[c].style.display="none",i[t].style.display="block",c=t;else{var n=new Image;n.onload=function(){i[t].src=o[t],i[c].style.display="none",i[t].style.display="block",l[t]=!0,c=t},n.src=o[t]}else i[t].src=o[t]}c=s,r.resizeSensor=new _(r,f),f(),d&&h.push(r)}var u=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,p=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function o(e){var t,n,r,i,a,o;for(e=e.replace(/'/g,'"');null!==(t=u.exec(e));)for(n=t[1]+t[3],attrs=t[2];null!==(attrMatch=p.exec(attrs));)r=n,i=attrMatch[1],a=attrMatch[2],o=attrMatch[3],void 0===c[i]&&(c[i]={}),void 0===c[i][a]&&(c[i][a]={}),void 0===c[i][a][o]?c[i][a][o]=r:c[i][a][o]+=","+r}function m(e){var t="";if(e)if("string"==typeof e)-1===(e=e.toLowerCase()).indexOf("min-width")&&-1===e.indexOf("max-width")||o(e);else for(var n=0,r=e.length;n<r;n++)1===e[n].type?-1!==(t=e[n].selectorText||e[n].cssText).indexOf("min-height")||-1!==t.indexOf("max-height")?o(t):-1===t.indexOf("min-width")&&-1===t.indexOf("max-width")||o(t):4===e[n].type&&m(e[n].cssRules||e[n].rules)}var g=!1;this.init=function(e){d=void 0!==e&&e;for(var t=0,n=document.styleSheets.length;t<n;t++)try{m(document.styleSheets[t].cssRules||document.styleSheets[t].rules||document.styleSheets[t].cssText)}catch(e){if("SecurityError"!==e.name)throw e}if(!g){var r=document.createElement("style");r.type="text/css",r.innerHTML="[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img { width: 100%;}",document.getElementsByTagName("head")[0].appendChild(r),g=!0}!function(){var e=l();for(var t in c)if(c.hasOwnProperty(t))for(var n in c[t])if(c[t].hasOwnProperty(n))for(var r in c[t][n])if(c[t][n].hasOwnProperty(r))for(var i=e(c[t][n][r]),a=0,o=i.length;a<o;a++)s(i[a],{mode:t,property:n,value:r})}(),function(){for(var e=l()("[data-responsive-image],[responsive-image]"),t=0,n=e.length;t<n;t++)i(e[t])}()},this.update=function(e){this.init(e)},this.detach=function(){if(!this.withTracking)throw"withTracking is not enabled. We can not detach elements since we don not store it.Use ElementQueries.withTracking = true; before domready or call ElementQueryes.update(true).";for(var e;e=h.pop();)t.detach(e);h=[]}};t.update=function(e){t.instance.update(e)},t.detach=function(e){e.elementQueriesSetupInformation?(e.elementQueriesSensor.detach(),delete e.elementQueriesSetupInformation,delete e.elementQueriesSensor):e.resizeSensor&&(e.resizeSensor.detach(),delete e.resizeSensor)},t.withTracking=!1,t.init=function(){t.instance||(t.instance=new t),t.instance.init(t.withTracking)};t.listen=function(){!function(e){if(document.addEventListener)document.addEventListener("DOMContentLoaded",e,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var t=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(e(),clearInterval(t))},10);else window.onload=e}(t.init)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=t:(window.ElementQueries=t).listen()}(),function(){var s=function(n,e){function p(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function t(e,t){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(t)}else e.resizedAttached=new p,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var n,r,i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",a="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+a+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+a+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[(n=e,r="position",n.currentStyle?n.currentStyle[r]:window.getComputedStyle?window.getComputedStyle(n,null).getPropertyValue(r):n.style[r])]||(e.style.position="relative");var o,s,c=e.resizeSensor.childNodes[0],l=c.childNodes[0],u=e.resizeSensor.childNodes[1],f=(u.childNodes[0],function(){l.style.width=c.offsetWidth+10+"px",l.style.height=c.offsetHeight+10+"px",c.scrollLeft=c.scrollWidth,c.scrollTop=c.scrollHeight,u.scrollLeft=u.scrollWidth,u.scrollTop=u.scrollHeight,o=e.offsetWidth,s=e.offsetHeight});f();var d=function(e,t,n){e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n)},h=function(){e.offsetWidth==o&&e.offsetHeight==s||e.resizedAttached&&e.resizedAttached.call(),f()};d(c,"scroll",h),d(u,"scroll",h)}var r=Object.prototype.toString.call(n),i="[object Array]"===r||"[object NodeList]"===r||"[object HTMLCollection]"===r||"undefined"!=typeof jQuery&&n instanceof jQuery||"undefined"!=typeof Elements&&n instanceof Elements;if(i)for(var a=0,o=n.length;a<o;a++)t(n[a],e);else t(n,e);this.detach=function(){if(i)for(var e=0,t=n.length;e<t;e++)s.detach(n[e]);else s.detach(n)}};s.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=s:window.ResizeSensor=s}(),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e||(e=window),t&&t.fn.dataTable||(t=require("datatables.net")(e,t).$),n(t,e,e.document)}:n(jQuery,window,document)}(function(p,d,o,h){"use strict";var a=p.fn.dataTable,i=function(e,t){if(!a.versionCheck||!a.versionCheck("1.10.3"))throw"DataTables Responsive requires DataTables 1.10.3 or newer";this.s={dt:new a.Api(e),columns:[],current:[]},this.s.dt.settings()[0].responsive||(t&&"string"==typeof t.details?t.details={type:t.details}:t&&!1===t.details?t.details={type:!1}:t&&!0===t.details&&(t.details={type:"inline"}),this.c=p.extend(!0,{},i.defaults,a.defaults.responsive,t),(e.responsive=this)._constructor())};p.extend(i.prototype,{_constructor:function(){var i=this,r=this.s.dt,e=r.settings()[0],t=p(d).width();r.settings()[0]._responsive=this,p(d).on("resize.dtr orientationchange.dtr",a.util.throttle(function(){var e=p(d).width();e!==t&&(i._resize(),t=e)})),e.oApi._fnCallbackReg(e,"aoRowCreatedCallback",function(e,t,n){-1!==p.inArray(!1,i.s.current)&&p("td, th",e).each(function(e){var t=r.column.index("toData",e);!1===i.s.current[t]&&p(this).css("display","none")})}),r.on("destroy.dtr",function(){r.off(".dtr"),p(r.table().body()).off(".dtr"),p(d).off("resize.dtr orientationchange.dtr"),p.each(i.s.current,function(e,t){!1===t&&i._setColumnVis(e,!0)})}),this.c.breakpoints.sort(function(e,t){return e.width<t.width?1:e.width>t.width?-1:0}),this._classLogic(),this._resizeAuto();var n=this.c.details;!1!==n.type&&(i._detailsInit(),r.on("column-visibility.dtr",function(e,t,n,r){i._classLogic(),i._resizeAuto(),i._resize()}),r.on("draw.dtr",function(){i._redrawChildren()}),p(r.table().node()).addClass("dtr-"+n.type)),r.on("column-reorder.dtr",function(e,t,n){i._classLogic(),i._resizeAuto(),i._resize()}),r.on("column-sizing.dtr",function(){i._resizeAuto(),i._resize()}),r.on("init.dtr",function(e,t,n){i._resizeAuto(),i._resize(),p.inArray(!1,i.s.current)&&r.columns.adjust()}),this._resize()},_columnsVisiblity:function(t){var e,n,r=this.s.dt,i=this.s.columns,a=i.map(function(e,t){return{columnIdx:t,priority:e.priority}}).sort(function(e,t){return e.priority!==t.priority?e.priority-t.priority:e.columnIdx-t.columnIdx}),o=p.map(i,function(e){return(!e.auto||null!==e.minWidth)&&(!0===e.auto?"-":-1!==p.inArray(t,e.includeIn))}),s=0;for(e=0,n=o.length;e<n;e++)!0===o[e]&&(s+=i[e].minWidth);var c=r.settings()[0].oScroll,l=c.sY||c.sX?c.iBarWidth:0,u=r.table().container().offsetWidth-l-s;for(e=0,n=o.length;e<n;e++)i[e].control&&(u-=i[e].minWidth);var f=!1;for(e=0,n=a.length;e<n;e++){var d=a[e].columnIdx;"-"===o[d]&&!i[d].control&&i[d].minWidth&&(f||u-i[d].minWidth<0?(f=!0,o[d]=!1):o[d]=!0,u-=i[d].minWidth)}var h=!1;for(e=0,n=i.length;e<n;e++)if(!i[e].control&&!i[e].never&&!o[e]){h=!0;break}for(e=0,n=i.length;e<n;e++)i[e].control&&(o[e]=h);return-1===p.inArray(!0,o)&&(o[0]=!0),o},_classLogic:function(){var s=this,c=this.c.breakpoints,a=this.s.dt,l=a.columns().eq(0).map(function(e){var t=this.column(e),n=t.header().className,r=a.settings()[0].aoColumns[e].responsivePriority;if(r===h){var i=p(t.header()).data("priority");r=i!==h?1*i:1e4}return{className:n,includeIn:[],auto:!1,control:!1,never:!!n.match(/\bnever\b/),priority:r}}),u=function(e,t){var n=l[e].includeIn;-1===p.inArray(t,n)&&n.push(t)},f=function(e,t,n,r){var i,a,o;if(n){if("max-"===n)for(i=s._find(t).width,a=0,o=c.length;a<o;a++)c[a].width<=i&&u(e,c[a].name);else if("min-"===n)for(i=s._find(t).width,a=0,o=c.length;a<o;a++)c[a].width>=i&&u(e,c[a].name);else if("not-"===n)for(a=0,o=c.length;a<o;a++)-1===c[a].name.indexOf(r)&&u(e,c[a].name)}else l[e].includeIn.push(t)};l.each(function(e,a){for(var t=e.className.split(" "),o=!1,n=0,r=t.length;n<r;n++){var s=p.trim(t[n]);if("all"===s)return o=!0,void(e.includeIn=p.map(c,function(e){return e.name}));if("none"===s||e.never)return void(o=!0);if("control"===s)return o=!0,void(e.control=!0);p.each(c,function(e,t){var n=t.name.split("-"),r=new RegExp("(min\\-|max\\-|not\\-)?("+n[0]+")(\\-[_a-zA-Z0-9])?"),i=s.match(r);i&&(o=!0,i[2]===n[0]&&i[3]==="-"+n[1]?f(a,t.name,i[1],i[2]+i[3]):i[2]!==n[0]||i[3]||f(a,t.name,i[1],i[2]))})}o||(e.auto=!0)}),this.s.columns=l},_detailsDisplay:function(e,t){var n=this,r=this.s.dt,i=this.c.details;if(i&&!1!==i.type){var a=i.display(e,t,function(){return i.renderer(r,e[0],n._detailsObj(e[0]))});!0!==a&&!1!==a||p(r.table().node()).triggerHandler("responsive-display.dt",[r,e,a,t])}},_detailsInit:function(){var r=this,i=this.s.dt,e=this.c.details;"inline"===e.type&&(e.target="td:first-child, th:first-child"),i.on("draw.dtr",function(){r._tabIndexes()}),r._tabIndexes(),p(i.table().body()).on("keyup.dtr","td, th",function(e){13===e.keyCode&&p(this).data("dtr-keyboard")&&p(this).click()});var a=e.target,t="string"==typeof a?a:"td, th";p(i.table().body()).on("click.dtr mousedown.dtr mouseup.dtr",t,function(e){if(p(i.table().node()).hasClass("collapsed")&&i.row(p(this).closest("tr")).length){if("number"==typeof a){var t=a<0?i.columns().eq(0).length+a:a;if(i.cell(this).index().column!==t)return}var n=i.row(p(this).closest("tr"));"click"===e.type?r._detailsDisplay(n,!1):"mousedown"===e.type?p(this).css("outline","none"):"mouseup"===e.type&&p(this).blur().css("outline","")}})},_detailsObj:function(n){var r=this,i=this.s.dt;return p.map(this.s.columns,function(e,t){if(!e.never&&!e.control)return{title:i.settings()[0].aoColumns[t].sTitle,data:i.cell(n,t).render(r.c.orthogonal),hidden:i.column(t).visible()&&!r.s.current[t],columnIndex:t,rowIndex:n}})},_find:function(e){for(var t=this.c.breakpoints,n=0,r=t.length;n<r;n++)if(t[n].name===e)return t[n]},_redrawChildren:function(){var n=this,r=this.s.dt;r.rows({page:"current"}).iterator("row",function(e,t){r.row(t);n._detailsDisplay(r.row(t),!0)})},_resize:function(){var e,t,n=this,r=this.s.dt,i=p(d).width(),a=this.c.breakpoints,o=a[0].name,s=this.s.columns,c=this.s.current.slice();for(e=a.length-1;0<=e;e--)if(i<=a[e].width){o=a[e].name;break}var l=this._columnsVisiblity(o);this.s.current=l;var u=!1;for(e=0,t=s.length;e<t;e++)if(!1===l[e]&&!s[e].never&&!s[e].control){u=!0;break}p(r.table().node()).toggleClass("collapsed",u);var f=!1;r.columns().eq(0).each(function(e,t){l[t]!==c[t]&&(f=!0,n._setColumnVis(e,l[t]))}),f&&(this._redrawChildren(),p(r.table().node()).trigger("responsive-resize.dt",[r,this.s.current]))},_resizeAuto:function(){var n=this.s.dt,r=this.s.columns;if(this.c.auto&&-1!==p.inArray(!0,p.map(r,function(e){return e.auto}))){n.table().node().offsetWidth,n.columns;var e=n.table().node().cloneNode(!1),t=p(n.table().header().cloneNode(!1)).appendTo(e),i=p(n.table().body()).clone(!1,!1).empty().appendTo(e),a=n.columns().header().filter(function(e){return n.column(e).visible()}).to$().clone(!1).css("display","table-cell");p(i).append(p(n.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display","");var o=n.table().footer();if(o){var s=p(o.cloneNode(!1)).appendTo(e),c=n.columns().footer().filter(function(e){return n.column(e).visible()}).to$().clone(!1).css("display","table-cell");p("<tr/>").append(c).appendTo(s)}p("<tr/>").append(a).appendTo(t),"inline"===this.c.details.type&&p(e).addClass("dtr-inline collapsed"),p(e).find("[name]").removeAttr("name");var l=p("<div/>").css({width:1,height:1,overflow:"hidden"}).append(e);l.insertBefore(n.table().node()),a.each(function(e){var t=n.column.index("fromVisible",e);r[t].minWidth=this.offsetWidth||0}),l.remove()}},_setColumnVis:function(e,t){var n=this.s.dt,r=t?"":"none";p(n.column(e).header()).css("display",r),p(n.column(e).footer()).css("display",r),n.column(e).nodes().to$().css("display",r)},_tabIndexes:function(){var e=this.s.dt,t=e.cells({page:"current"}).nodes().to$(),n=e.settings()[0],r=this.c.details.target;t.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),p("number"==typeof r?":eq("+r+")":r,e.rows({page:"current"}).nodes()).attr("tabIndex",n.iTabIndex).data("dtr-keyboard",1)}}),i.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],i.display={childRow:function(e,t,n){return t?p(e.node()).hasClass("parent")?(e.child(n(),"child").show(),!0):void 0:e.child.isShown()?(e.child(!1),p(e.node()).removeClass("parent"),!1):(e.child(n(),"child").show(),p(e.node()).addClass("parent"),!0)},childRowImmediate:function(e,t,n){return!t&&e.child.isShown()||!e.responsive.hasHidden()?(e.child(!1),p(e.node()).removeClass("parent"),!1):(e.child(n(),"child").show(),p(e.node()).addClass("parent"),!0)},modal:function(a){return function(e,t,n){if(t)p("div.dtr-modal-content").empty().append(n());else{var r=function(){i.remove(),p(o).off("keypress.dtr")},i=p('<div class="dtr-modal"/>').append(p('<div class="dtr-modal-display"/>').append(p('<div class="dtr-modal-content"/>').append(n())).append(p('<div class="dtr-modal-close">×</div>').click(function(){r()}))).append(p('<div class="dtr-modal-background"/>').click(function(){r()})).appendTo("body");p(o).on("keyup.dtr",function(e){27===e.keyCode&&(e.stopPropagation(),r())})}a&&a.header&&p("div.dtr-modal-content").prepend("<h2>"+a.header(e)+"</h2>")}}},i.renderer={listHidden:function(){return function(e,t,n){var r=p.map(n,function(e){return e.hidden?'<li data-dtr-index="'+e.columnIndex+'" data-dt-row="'+e.rowIndex+'" data-dt-column="'+e.columnIndex+'"><span class="dtr-title">'+e.title+'</span> <span class="dtr-data">'+e.data+"</span></li>":""}).join("");return!!r&&p('<ul data-dtr-index="'+t+'"/>').append(r)}},tableAll:function(i){return i=p.extend({tableClass:""},i),function(e,t,n){var r=p.map(n,function(e){return'<tr data-dt-row="'+e.rowIndex+'" data-dt-column="'+e.columnIndex+'"><td>'+e.title+":</td> <td>"+e.data+"</td></tr>"}).join("");return p('<table class="'+i.tableClass+'" width="100%"/>').append(r)}}},i.defaults={breakpoints:i.breakpoints,auto:!0,details:{display:i.display.childRow,renderer:i.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var e=p.fn.dataTable.Api;return e.register("responsive()",function(){return this}),e.register("responsive.index()",function(e){return{column:(e=p(e)).data("dtr-index"),row:e.parent().data("dtr-index")}}),e.register("responsive.rebuild()",function(){return this.iterator("table",function(e){e._responsive&&e._responsive._classLogic()})}),e.register("responsive.recalc()",function(){return this.iterator("table",function(e){e._responsive&&(e._responsive._resizeAuto(),e._responsive._resize())})}),e.register("responsive.hasHidden()",function(){var e=this.context[0];return!!e._responsive&&-1!==p.inArray(!1,e._responsive.s.current)}),i.version="2.1.0",p.fn.dataTable.Responsive=i,p.fn.DataTable.Responsive=i,p(o).on("preInit.dt.dtr",function(e,t,n){if("dt"===e.namespace&&(p(t.nTable).hasClass("responsive")||p(t.nTable).hasClass("dt-responsive")||t.oInit.responsive||a.defaults.responsive)){var r=t.oInit.responsive;!1!==r&&new i(t,p.isPlainObject(r)?r:{})}}),i}),function(e){"undefined"!=typeof exports?e(exports):(window.hljs=e({}),"function"==typeof define&&define.amd&&define("hljs",[],function(){return window.hljs}))}(function(i){function b(e){return e.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function d(e){return e.nodeName.toLowerCase()}function v(e,t){var n=e&&e.exec(t);return n&&0==n.index}function h(e){return/^(no-?highlight|plain|text)$/i.test(e)}function y(e,t){var n,r={};for(n in e)r[n]=e[n];if(t)for(n in t)r[n]=t[n];return r}function p(e){var i=[];return function e(t,n){for(var r=t.firstChild;r;r=r.nextSibling)3==r.nodeType?n+=r.nodeValue.length:1==r.nodeType&&(i.push({event:"start",offset:n,node:r}),n=e(r,n),d(r).match(/br|hr|img|input/)||i.push({event:"stop",offset:n,node:r}));return n}(e,0),i}function w(e,t,s,n){function c(e,t,n,r){var i='<span class="'+(r?"":A.classPrefix);return(i+=e+'">')+t+(n?"":"</span>")}function l(){return void 0!==d.subLanguage?function(){var e="string"==typeof d.subLanguage;if(e&&!S[d.subLanguage])return b(p);var t=e?w(d.subLanguage,p,!0,a[d.subLanguage]):C(p,d.subLanguage.length?d.subLanguage:void 0);return 0<d.relevance&&(m+=t.relevance),e&&(a[d.subLanguage]=t.top),c(t.language,t.value,!1,!0)}():function(){if(!d.keywords)return b(p);var e="",t=0;d.lexemesRe.lastIndex=0;for(var n,r,i,a=d.lexemesRe.exec(p);a;){e+=b(p.substr(t,a.index-t));var o=(n=d,r=a,i=f.case_insensitive?r[0].toLowerCase():r[0],n.keywords.hasOwnProperty(i)&&n.keywords[i]);o?(m+=o[1],e+=c(o[0],b(a[0]))):e+=b(a[0]),t=d.lexemesRe.lastIndex,a=d.lexemesRe.exec(p)}return e+b(p.substr(t))}()}function u(e,t){var n=e.className?c(e.className,"",!0):"";p=e.returnBegin?(h+=n,""):e.excludeBegin?(h+=b(t)+n,""):(h+=n,t),d=Object.create(e,{parent:{value:d}})}function r(e,t){if(p+=e,void 0===t)return h+=l(),0;var n=function(e,t){for(var n=0;n<t.contains.length;n++)if(v(t.contains[n].beginRe,e))return t.contains[n]}(t,d);if(n)return h+=l(),u(n,t),n.returnBegin?0:t.length;var r,i,a=function e(t,n){if(v(t.endRe,n)){for(;t.endsParent&&t.parent;)t=t.parent;return t}if(t.endsWithParent)return e(t.parent,n)}(d,t);if(a){var o=d;for(o.returnEnd||o.excludeEnd||(p+=t),h+=l();d.className&&(h+="</span>"),m+=d.relevance,(d=d.parent)!=a.parent;);return o.excludeEnd&&(h+=b(t)),p="",a.starts&&u(a.starts,""),o.returnEnd?0:t.length}if(r=t,i=d,!s&&v(i.illegalRe,r))throw new Error('Illegal lexeme "'+t+'" for mode "'+(d.className||"<unnamed>")+'"');return p+=t,t.length||1}var f=T(e);if(!f)throw new Error('Unknown language: "'+e+'"');!function(s){function c(e){return e&&e.source||e}function l(e,t){return new RegExp(c(e),"m"+(s.case_insensitive?"i":"")+(t?"g":""))}!function t(n,e){if(!n.compiled){if(n.compiled=!0,n.keywords=n.keywords||n.beginKeywords,n.keywords){var r={},i=function(n,e){s.case_insensitive&&(e=e.toLowerCase()),e.split(" ").forEach(function(e){var t=e.split("|");r[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof n.keywords?i("keyword",n.keywords):Object.keys(n.keywords).forEach(function(e){i(e,n.keywords[e])}),n.keywords=r}n.lexemesRe=l(n.lexemes||/\b\w+\b/,!0),e&&(n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")\\b"),n.begin||(n.begin=/\B|\b/),n.beginRe=l(n.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(n.endRe=l(n.end)),n.terminator_end=c(n.end)||"",n.endsWithParent&&e.terminator_end&&(n.terminator_end+=(n.end?"|":"")+e.terminator_end)),n.illegal&&(n.illegalRe=l(n.illegal)),void 0===n.relevance&&(n.relevance=1),n.contains||(n.contains=[]);var a=[];n.contains.forEach(function(t){t.variants?t.variants.forEach(function(e){a.push(y(t,e))}):a.push("self"==t?n:t)}),n.contains=a,n.contains.forEach(function(e){t(e,n)}),n.starts&&t(n.starts,e);var o=n.contains.map(function(e){return e.beginKeywords?"\\.?("+e.begin+")\\.?":e.begin}).concat([n.terminator_end,n.illegal]).map(c).filter(Boolean);n.terminators=o.length?l(o.join("|"),!0):{exec:function(){return null}}}}(s)}(f);var i,d=n||f,a={},h="";for(i=d;i!=f;i=i.parent)i.className&&(h=c(i.className,"",!0)+h);var p="",m=0;try{for(var o,g,_=0;d.terminators.lastIndex=_,o=d.terminators.exec(t);)g=r(t.substr(_,o.index-_),o[0]),_=o.index+g;for(r(t.substr(_)),i=d;i.parent;i=i.parent)i.className&&(h+="</span>");return{relevance:m,value:h,language:e,top:d}}catch(e){if(-1!=e.message.indexOf("Illegal"))return{relevance:0,value:b(t)};throw e}}function C(n,e){e=e||A.languages||Object.keys(S);var r={relevance:0,value:b(n)},i=r;return e.forEach(function(e){if(T(e)){var t=w(e,n,!1);t.language=e,t.relevance>i.relevance&&(i=t),t.relevance>r.relevance&&(i=r,r=t)}}),i.language&&(r.second_best=i),r}function m(e){return A.tabReplace&&(e=e.replace(/^((<[^>]+>|\t)+)/gm,function(e,t){return t.replace(/\t/g,A.tabReplace)})),A.useBR&&(e=e.replace(/\n/g,"<br>")),e}function t(e){var t=function(e){var t,n,r,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",n=/\blang(?:uage)?-([\w-]+)\b/i.exec(i))return T(n[1])?n[1]:"no-highlight";for(t=0,r=(i=i.split(/\s+/)).length;t<r;t++)if(T(i[t])||h(i[t]))return i[t]}(e);if(!h(t)){var n;A.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):n=e;var r,i,a,o,s,c=n.textContent,l=t?w(t,c,!0):C(c),u=p(n);if(u.length){var f=document.createElementNS("http://www.w3.org/1999/xhtml","div");f.innerHTML=l.value,l.value=function(e,t,n){var r=0,i="",a=[];function o(){return e.length&&t.length?e[0].offset!=t[0].offset?e[0].offset<t[0].offset?e:t:"start"==t[0].event?e:t:e.length?e:t}function s(e){i+="<"+d(e)+Array.prototype.map.call(e.attributes,function(e){return" "+e.nodeName+'="'+b(e.value)+'"'}).join("")+">"}function c(e){i+="</"+d(e)+">"}function l(e){("start"==e.event?s:c)(e.node)}for(;e.length||t.length;){var u=o();if(i+=b(n.substr(r,u[0].offset-r)),r=u[0].offset,u==e){for(a.reverse().forEach(c);l(u.splice(0,1)[0]),(u=o())==e&&u.length&&u[0].offset==r;);a.reverse().forEach(s)}else"start"==u[0].event?a.push(u[0].node):a.pop(),l(u.splice(0,1)[0])}return i+b(n.substr(r))}(u,p(f),c)}l.value=m(l.value),e.innerHTML=l.value,e.className=(r=e.className,i=t,a=l.language,o=i?g[i]:a,s=[r.trim()],r.match(/\bhljs\b/)||s.push("hljs"),-1===r.indexOf(o)&&s.push(o),s.join(" ").trim()),e.result={language:l.language,re:l.relevance},l.second_best&&(e.second_best={language:l.second_best.language,re:l.second_best.relevance})}}var A={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function n(){if(!n.called){n.called=!0;var e=document.querySelectorAll("pre code");Array.prototype.forEach.call(e,t)}}var S={},g={};function T(e){return e=(e||"").toLowerCase(),S[e]||S[g[e]]}return i.highlight=w,i.highlightAuto=C,i.fixMarkup=m,i.highlightBlock=t,i.configure=function(e){A=y(A,e)},i.initHighlighting=n,i.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",n,!1),addEventListener("load",n,!1)},i.registerLanguage=function(t,e){var n=S[t]=e(i);n.aliases&&n.aliases.forEach(function(e){g[e]=t})},i.listLanguages=function(){return Object.keys(S)},i.getLanguage=T,i.inherit=y,i.IDENT_RE="[a-zA-Z]\\w*",i.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",i.NUMBER_RE="\\b\\d+(\\.\\d+)?",i.C_NUMBER_RE="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",i.BINARY_NUMBER_RE="\\b(0b[01]+)",i.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",i.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},i.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},i.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},i.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},i.COMMENT=function(e,t,n){var r=i.inherit({className:"comment",begin:e,end:t,contains:[]},n||{});return r.contains.push(i.PHRASAL_WORDS_MODE),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},i.C_LINE_COMMENT_MODE=i.COMMENT("//","$"),i.C_BLOCK_COMMENT_MODE=i.COMMENT("/\\*","\\*/"),i.HASH_COMMENT_MODE=i.COMMENT("#","$"),i.NUMBER_MODE={className:"number",begin:i.NUMBER_RE,relevance:0},i.C_NUMBER_MODE={className:"number",begin:i.C_NUMBER_RE,relevance:0},i.BINARY_NUMBER_MODE={className:"number",begin:i.BINARY_NUMBER_RE,relevance:0},i.CSS_NUMBER_MODE={className:"number",begin:i.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},i.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[i.BACKSLASH_ESCAPE]}]},i.TITLE_MODE={className:"title",begin:i.IDENT_RE,relevance:0},i.UNDERSCORE_TITLE_MODE={className:"title",begin:i.UNDERSCORE_IDENT_RE,relevance:0},i.registerLanguage("1c",function(e){var t="[a-zA-Zа-яА-Я][a-zA-Z0-9_а-яА-Я]*",n={className:"dquote",begin:'""'},r={className:"string",begin:'"',end:'"|$',contains:[n]},i={className:"string",begin:"\\|",end:'"|$',contains:[n]};return{case_insensitive:!0,lexemes:t,keywords:{keyword:"возврат дата для если и или иначе иначеесли исключение конецесли конецпопытки конецпроцедуры конецфункции конеццикла константа не перейти перем перечисление по пока попытка прервать продолжить процедура строка тогда фс функция цикл число экспорт",built_in:"ansitooem oemtoansi ввестивидсубконто ввестидату ввестизначение ввестиперечисление ввестипериод ввестиплансчетов ввестистроку ввестичисло вопрос восстановитьзначение врег выбранныйплансчетов вызватьисключение датагод датамесяц датачисло добавитьмесяц завершитьработусистемы заголовоксистемы записьжурналарегистрации запуститьприложение зафиксироватьтранзакцию значениевстроку значениевстрокувнутр значениевфайл значениеизстроки значениеизстрокивнутр значениеизфайла имякомпьютера имяпользователя каталогвременныхфайлов каталогиб каталогпользователя каталогпрограммы кодсимв командасистемы конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лев лог лог10 макс максимальноеколичествосубконто мин монопольныйрежим названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найти найтипомеченныенаудаление найтиссылки началопериодаби началостандартногоинтервала начатьтранзакцию начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода нрег обработкаожидания окр описаниеошибки основнойжурналрасчетов основнойплансчетов основнойязык открытьформу открытьформумодально отменитьтранзакцию очиститьокносообщений периодстр полноеимяпользователя получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта прав праводоступа предупреждение префиксавтонумерации пустаястрока пустоезначение рабочаядаттьпустоезначение рабочаядата разделительстраниц разделительстрок разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо сигнал симв символтабуляции создатьобъект сокрл сокрлп сокрп сообщить состояние сохранитьзначение сред статусвозврата стрдлина стрзаменить стрколичествострок стрполучитьстроку стрчисловхождений сформироватьпозициюдокумента счетпокоду текущаядата текущеевремя типзначения типзначениястр удалитьобъекты установитьтана установитьтапо фиксшаблон формат цел шаблон"},contains:[e.C_LINE_COMMENT_MODE,e.NUMBER_MODE,r,i,{className:"function",begin:"(процедура|функция)",end:"$",lexemes:t,keywords:"процедура функция",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"tail",endsWithParent:!0,contains:[{className:"params",begin:"\\(",end:"\\)",lexemes:t,keywords:"знач",contains:[r,i]},{className:"export",begin:"экспорт",endsWithParent:!0,lexemes:t,keywords:"экспорт",contains:[e.C_LINE_COMMENT_MODE]}]},e.C_LINE_COMMENT_MODE]},{className:"preprocessor",begin:"#",end:"$"},{className:"date",begin:"'\\d{2}\\.\\d{2}\\.(\\d{2}|\\d{4})'"}]}}),i.registerLanguage("accesslog",function(e){return{contains:[{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+\\b",relevance:0},{className:"string",begin:'"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)',end:'"',keywords:"GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE",illegal:"\\n",relevance:10},{className:"string",begin:/\[/,end:/\]/,illegal:"\\n"},{className:"string",begin:'"',end:'"',illegal:"\\n"}]}}),i.registerLanguage("actionscript",function(e){var t={className:"rest_arg",begin:"[.]{3}",end:"[a-zA-Z_$][a-zA-Z0-9_$]*",relevance:10};return{aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"package",beginKeywords:"package",end:"{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.TITLE_MODE]},{className:"preprocessor",beginKeywords:"import include",end:";"},{className:"function",beginKeywords:"function",end:"[{;]",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t]},{className:"type",begin:":",end:"([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)",relevance:10}]}],illegal:/#/}}),i.registerLanguage("apache",function(e){var t={className:"number",begin:"[\\$%]\\d+"};return{aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"tag",begin:"</?",end:">"},{className:"keyword",begin:/\w+/,relevance:0,keywords:{common:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all"},contains:[{className:"sqbracket",begin:"\\s\\[",end:"\\]$"},{className:"cbracket",begin:"[\\$%]\\{",end:"\\}",contains:["self",t]},t,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}),i.registerLanguage("applescript",function(e){var t=e.inherit(e.QUOTE_STRING_MODE,{illegal:""}),n={className:"params",begin:"\\(",end:"\\)",contains:["self",e.C_NUMBER_MODE,t]},r=e.COMMENT("--","$"),i=[r,e.COMMENT("\\(\\*","\\*\\)",{contains:["self",r]}),e.HASH_COMMENT_MODE];return{aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",constant:"AppleScript false linefeed return pi quote result space tab true",type:"alias application boolean class constant date file integer list number real record string text",command:"activate beep count delay launch log offset read round run say summarize write",property:"character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[t,e.C_NUMBER_MODE,{className:"type",begin:"\\bPOSIX file\\b"},{className:"command",begin:"\\b(clipboard info|the clipboard|info for|list (disks|folder)|mount volume|path to|(close|open for) access|(get|set) eof|current date|do shell script|get volume settings|random number|set volume|system attribute|system info|time to GMT|(load|run|store) script|scripting components|ASCII (character|number)|localized string|choose (application|color|file|file name|folder|from list|remote application|URL)|display (alert|dialog))\\b|^\\s*return\\b"},{className:"constant",begin:"\\b(text item delimiters|current application|missing value)\\b"},{className:"keyword",begin:"\\b(apart from|aside from|instead of|out of|greater than|isn't|(doesn't|does not) (equal|come before|come after|contain)|(greater|less) than( or equal)?|(starts?|ends|begins?) with|contained by|comes (before|after)|a (ref|reference))\\b"},{className:"property",begin:"\\b(POSIX path|(date|time) string|quoted form)\\b"},{className:"function_start",beginKeywords:"on",illegal:"[${=;\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]}].concat(i),illegal:"//|->|=>|\\[\\["}}),i.registerLanguage("armasm",function(e){return{case_insensitive:!0,aliases:["arm"],lexemes:"\\.?"+e.IDENT_RE,keywords:{literal:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 ",preprocessor:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"{PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @ "},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?",end:"\\s"},e.COMMENT("[;@]","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"label",variants:[{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"[=#]\\w+"}],relevance:0}]}}),i.registerLanguage("xml",function(e){var t={begin:/<\?(php)?(?!\w)/,end:/\?>/,subLanguage:"php"},n={endsWithParent:!0,illegal:/</,relevance:0,contains:[t,{className:"attribute",begin:"[A-Za-z0-9\\._:-]+",relevance:0},{begin:"=",relevance:0,contains:[{className:"value",contains:[t],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/[^\s\/>]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],case_insensitive:!0,contains:[{className:"doctype",begin:"<!DOCTYPE",end:">",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{className:"cdata",begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{className:"tag",begin:"<style(?=\\s|>|$)",end:">",keywords:{title:"style"},contains:[n],starts:{end:"</style>",returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:"<script(?=\\s|>|$)",end:">",keywords:{title:"script"},contains:[n],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars"]}},t,{className:"pi",begin:/<\?\w+/,end:/\?>/,relevance:10},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"title",begin:/[^ \/><\n\t]+/,relevance:0},n]}]}}),i.registerLanguage("asciidoc",function(e){return{aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"header",begin:"^(={1,5}) .+?( \\1)?$",relevance:10},{className:"header",begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$",relevance:10},{className:"attribute",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"attribute",begin:"^\\[.+?\\]$",relevance:0},{className:"blockquote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{className:"label",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{className:"strong",begin:"\\B\\*(?![\\*\\s])",end:"(\\n{2}|\\*)",contains:[{begin:"\\\\*\\w",relevance:0}]},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0},{className:"emphasis",begin:"_(?![_\\s])",end:"(\\n{2}|_)",relevance:0},{className:"smartquote",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{className:"horizontal_rule",begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link_url",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"link_label",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}),i.registerLanguage("aspectj",function(e){var t="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",n="get set args call";return{keywords:t,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"aspect",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:t+" "+n,excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:t,illegal:/["\[\]]/,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",keywords:t+" "+n},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.)?\w+\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:t,excludeEnd:!0,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:t,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("autohotkey",function(e){var t={className:"escape",begin:"`[\\s\\S]"},n=e.COMMENT(";","$",{relevance:0});return{case_insensitive:!0,keywords:{keyword:"Break Continue Else Gosub If Loop Return While",literal:"A true false NOT AND OR"},contains:[{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{className:"built_in",beginKeywords:"ComSpec Clipboard ClipboardAll ErrorLevel"}].concat([t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),n,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"var_expand",begin:"%",end:"%",illegal:"\\n",contains:[t]},{className:"label",contains:[t],variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{begin:",\\s*,",relevance:10}])}}),i.registerLanguage("autoit",function(e){var t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={className:"variable",begin:"\\$[A-z0-9_]+"},r={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Default Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Opt Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown TCPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend UDPShutdown UDPStartup VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive Array1DToHistogram ArrayAdd ArrayBinarySearch ArrayColDelete ArrayColInsert ArrayCombinations ArrayConcatenate ArrayDelete ArrayDisplay ArrayExtract ArrayFindAll ArrayInsert ArrayMax ArrayMaxIndex ArrayMin ArrayMinIndex ArrayPermute ArrayPop ArrayPush ArrayReverse ArraySearch ArrayShuffle ArraySort ArraySwap ArrayToClip ArrayToString ArrayTranspose ArrayTrim ArrayUnique Assert ChooseColor ChooseFont ClipBoard_ChangeChain ClipBoard_Close ClipBoard_CountFormats ClipBoard_Empty ClipBoard_EnumFormats ClipBoard_FormatStr ClipBoard_GetData ClipBoard_GetDataEx ClipBoard_GetFormatName ClipBoard_GetOpenWindow ClipBoard_GetOwner ClipBoard_GetPriorityFormat ClipBoard_GetSequenceNumber ClipBoard_GetViewer ClipBoard_IsFormatAvailable ClipBoard_Open ClipBoard_RegisterFormat ClipBoard_SetData ClipBoard_SetDataEx ClipBoard_SetViewer ClipPutFile ColorConvertHSLtoRGB ColorConvertRGBtoHSL ColorGetBlue ColorGetCOLORREF ColorGetGreen ColorGetRed ColorGetRGB ColorSetCOLORREF ColorSetRGB Crypt_DecryptData Crypt_DecryptFile Crypt_DeriveKey Crypt_DestroyKey Crypt_EncryptData Crypt_EncryptFile Crypt_GenRandom Crypt_HashData Crypt_HashFile Crypt_Shutdown Crypt_Startup DateAdd DateDayOfWeek DateDaysInMonth DateDiff DateIsLeapYear DateIsValid DateTimeFormat DateTimeSplit DateToDayOfWeek DateToDayOfWeekISO DateToDayValue DateToMonth Date_Time_CompareFileTime Date_Time_DOSDateTimeToArray Date_Time_DOSDateTimeToFileTime Date_Time_DOSDateTimeToStr Date_Time_DOSDateToArray Date_Time_DOSDateToStr Date_Time_DOSTimeToArray Date_Time_DOSTimeToStr Date_Time_EncodeFileTime Date_Time_EncodeSystemTime Date_Time_FileTimeToArray Date_Time_FileTimeToDOSDateTime Date_Time_FileTimeToLocalFileTime Date_Time_FileTimeToStr Date_Time_FileTimeToSystemTime Date_Time_GetFileTime Date_Time_GetLocalTime Date_Time_GetSystemTime Date_Time_GetSystemTimeAdjustment Date_Time_GetSystemTimeAsFileTime Date_Time_GetSystemTimes Date_Time_GetTickCount Date_Time_GetTimeZoneInformation Date_Time_LocalFileTimeToFileTime Date_Time_SetFileTime Date_Time_SetLocalTime Date_Time_SetSystemTime Date_Time_SetSystemTimeAdjustment Date_Time_SetTimeZoneInformation Date_Time_SystemTimeToArray Date_Time_SystemTimeToDateStr Date_Time_SystemTimeToDateTimeStr Date_Time_SystemTimeToFileTime Date_Time_SystemTimeToTimeStr Date_Time_SystemTimeToTzSpecificLocalTime Date_Time_TzSpecificLocalTimeToSystemTime DayValueToDate DebugBugReportEnv DebugCOMError DebugOut DebugReport DebugReportEx DebugReportVar DebugSetup Degree EventLog__Backup EventLog__Clear EventLog__Close EventLog__Count EventLog__DeregisterSource EventLog__Full EventLog__Notify EventLog__Oldest EventLog__Open EventLog__OpenBackup EventLog__Read EventLog__RegisterSource EventLog__Report Excel_BookAttach Excel_BookClose Excel_BookList Excel_BookNew Excel_BookOpen Excel_BookOpenText Excel_BookSave Excel_BookSaveAs Excel_Close Excel_ColumnToLetter Excel_ColumnToNumber Excel_ConvertFormula Excel_Export Excel_FilterGet Excel_FilterSet Excel_Open Excel_PictureAdd Excel_Print Excel_RangeCopyPaste Excel_RangeDelete Excel_RangeFind Excel_RangeInsert Excel_RangeLinkAddRemove Excel_RangeRead Excel_RangeReplace Excel_RangeSort Excel_RangeValidate Excel_RangeWrite Excel_SheetAdd Excel_SheetCopyMove Excel_SheetDelete Excel_SheetList FileCountLines FileCreate FileListToArray FileListToArrayRec FilePrint FileReadToArray FileWriteFromArray FileWriteLog FileWriteToLine FTP_Close FTP_Command FTP_Connect FTP_DecodeInternetStatus FTP_DirCreate FTP_DirDelete FTP_DirGetCurrent FTP_DirPutContents FTP_DirSetCurrent FTP_FileClose FTP_FileDelete FTP_FileGet FTP_FileGetSize FTP_FileOpen FTP_FilePut FTP_FileRead FTP_FileRename FTP_FileTimeLoHiToStr FTP_FindFileClose FTP_FindFileFirst FTP_FindFileNext FTP_GetLastResponseInfo FTP_ListToArray FTP_ListToArray2D FTP_ListToArrayEx FTP_Open FTP_ProgressDownload FTP_ProgressUpload FTP_SetStatusCallback GDIPlus_ArrowCapCreate GDIPlus_ArrowCapDispose GDIPlus_ArrowCapGetFillState GDIPlus_ArrowCapGetHeight GDIPlus_ArrowCapGetMiddleInset GDIPlus_ArrowCapGetWidth GDIPlus_ArrowCapSetFillState GDIPlus_ArrowCapSetHeight GDIPlus_ArrowCapSetMiddleInset GDIPlus_ArrowCapSetWidth GDIPlus_BitmapApplyEffect GDIPlus_BitmapApplyEffectEx GDIPlus_BitmapCloneArea GDIPlus_BitmapConvertFormat GDIPlus_BitmapCreateApplyEffect GDIPlus_BitmapCreateApplyEffectEx GDIPlus_BitmapCreateDIBFromBitmap GDIPlus_BitmapCreateFromFile GDIPlus_BitmapCreateFromGraphics GDIPlus_BitmapCreateFromHBITMAP GDIPlus_BitmapCreateFromHICON GDIPlus_BitmapCreateFromHICON32 GDIPlus_BitmapCreateFromMemory GDIPlus_BitmapCreateFromResource GDIPlus_BitmapCreateFromScan0 GDIPlus_BitmapCreateFromStream GDIPlus_BitmapCreateHBITMAPFromBitmap GDIPlus_BitmapDispose GDIPlus_BitmapGetHistogram GDIPlus_BitmapGetHistogramEx GDIPlus_BitmapGetHistogramSize GDIPlus_BitmapGetPixel GDIPlus_BitmapLockBits GDIPlus_BitmapSetPixel GDIPlus_BitmapUnlockBits GDIPlus_BrushClone GDIPlus_BrushCreateSolid GDIPlus_BrushDispose GDIPlus_BrushGetSolidColor GDIPlus_BrushGetType GDIPlus_BrushSetSolidColor GDIPlus_ColorMatrixCreate GDIPlus_ColorMatrixCreateGrayScale GDIPlus_ColorMatrixCreateNegative GDIPlus_ColorMatrixCreateSaturation GDIPlus_ColorMatrixCreateScale GDIPlus_ColorMatrixCreateTranslate GDIPlus_CustomLineCapClone GDIPlus_CustomLineCapCreate GDIPlus_CustomLineCapDispose GDIPlus_CustomLineCapGetStrokeCaps GDIPlus_CustomLineCapSetStrokeCaps GDIPlus_Decoders GDIPlus_DecodersGetCount GDIPlus_DecodersGetSize GDIPlus_DrawImageFX GDIPlus_DrawImageFXEx GDIPlus_DrawImagePoints GDIPlus_EffectCreate GDIPlus_EffectCreateBlur GDIPlus_EffectCreateBrightnessContrast GDIPlus_EffectCreateColorBalance GDIPlus_EffectCreateColorCurve GDIPlus_EffectCreateColorLUT GDIPlus_EffectCreateColorMatrix GDIPlus_EffectCreateHueSaturationLightness GDIPlus_EffectCreateLevels GDIPlus_EffectCreateRedEyeCorrection GDIPlus_EffectCreateSharpen GDIPlus_EffectCreateTint GDIPlus_EffectDispose GDIPlus_EffectGetParameters GDIPlus_EffectSetParameters GDIPlus_Encoders GDIPlus_EncodersGetCLSID GDIPlus_EncodersGetCount GDIPlus_EncodersGetParamList GDIPlus_EncodersGetParamListSize GDIPlus_EncodersGetSize GDIPlus_FontCreate GDIPlus_FontDispose GDIPlus_FontFamilyCreate GDIPlus_FontFamilyCreateFromCollection GDIPlus_FontFamilyDispose GDIPlus_FontFamilyGetCellAscent GDIPlus_FontFamilyGetCellDescent GDIPlus_FontFamilyGetEmHeight GDIPlus_FontFamilyGetLineSpacing GDIPlus_FontGetHeight GDIPlus_FontPrivateAddFont GDIPlus_FontPrivateAddMemoryFont GDIPlus_FontPrivateCollectionDispose GDIPlus_FontPrivateCreateCollection GDIPlus_GraphicsClear GDIPlus_GraphicsCreateFromHDC GDIPlus_GraphicsCreateFromHWND GDIPlus_GraphicsDispose GDIPlus_GraphicsDrawArc GDIPlus_GraphicsDrawBezier GDIPlus_GraphicsDrawClosedCurve GDIPlus_GraphicsDrawClosedCurve2 GDIPlus_GraphicsDrawCurve GDIPlus_GraphicsDrawCurve2 GDIPlus_GraphicsDrawEllipse GDIPlus_GraphicsDrawImage GDIPlus_GraphicsDrawImagePointsRect GDIPlus_GraphicsDrawImageRect GDIPlus_GraphicsDrawImageRectRect GDIPlus_GraphicsDrawLine GDIPlus_GraphicsDrawPath GDIPlus_GraphicsDrawPie GDIPlus_GraphicsDrawPolygon GDIPlus_GraphicsDrawRect GDIPlus_GraphicsDrawString GDIPlus_GraphicsDrawStringEx GDIPlus_GraphicsFillClosedCurve GDIPlus_GraphicsFillClosedCurve2 GDIPlus_GraphicsFillEllipse GDIPlus_GraphicsFillPath GDIPlus_GraphicsFillPie GDIPlus_GraphicsFillPolygon GDIPlus_GraphicsFillRect GDIPlus_GraphicsFillRegion GDIPlus_GraphicsGetCompositingMode GDIPlus_GraphicsGetCompositingQuality GDIPlus_GraphicsGetDC GDIPlus_GraphicsGetInterpolationMode GDIPlus_GraphicsGetSmoothingMode GDIPlus_GraphicsGetTransform GDIPlus_GraphicsMeasureCharacterRanges GDIPlus_GraphicsMeasureString GDIPlus_GraphicsReleaseDC GDIPlus_GraphicsResetClip GDIPlus_GraphicsResetTransform GDIPlus_GraphicsRestore GDIPlus_GraphicsRotateTransform GDIPlus_GraphicsSave GDIPlus_GraphicsScaleTransform GDIPlus_GraphicsSetClipPath GDIPlus_GraphicsSetClipRect GDIPlus_GraphicsSetClipRegion GDIPlus_GraphicsSetCompositingMode GDIPlus_GraphicsSetCompositingQuality GDIPlus_GraphicsSetInterpolationMode GDIPlus_GraphicsSetPixelOffsetMode GDIPlus_GraphicsSetSmoothingMode GDIPlus_GraphicsSetTextRenderingHint GDIPlus_GraphicsSetTransform GDIPlus_GraphicsTransformPoints GDIPlus_GraphicsTranslateTransform GDIPlus_HatchBrushCreate GDIPlus_HICONCreateFromBitmap GDIPlus_ImageAttributesCreate GDIPlus_ImageAttributesDispose GDIPlus_ImageAttributesSetColorKeys GDIPlus_ImageAttributesSetColorMatrix GDIPlus_ImageDispose GDIPlus_ImageGetDimension GDIPlus_ImageGetFlags GDIPlus_ImageGetGraphicsContext GDIPlus_ImageGetHeight GDIPlus_ImageGetHorizontalResolution GDIPlus_ImageGetPixelFormat GDIPlus_ImageGetRawFormat GDIPlus_ImageGetThumbnail GDIPlus_ImageGetType GDIPlus_ImageGetVerticalResolution GDIPlus_ImageGetWidth GDIPlus_ImageLoadFromFile GDIPlus_ImageLoadFromStream GDIPlus_ImageResize GDIPlus_ImageRotateFlip GDIPlus_ImageSaveToFile GDIPlus_ImageSaveToFileEx GDIPlus_ImageSaveToStream GDIPlus_ImageScale GDIPlus_LineBrushCreate GDIPlus_LineBrushCreateFromRect GDIPlus_LineBrushCreateFromRectWithAngle GDIPlus_LineBrushGetColors GDIPlus_LineBrushGetRect GDIPlus_LineBrushMultiplyTransform GDIPlus_LineBrushResetTransform GDIPlus_LineBrushSetBlend GDIPlus_LineBrushSetColors GDIPlus_LineBrushSetGammaCorrection GDIPlus_LineBrushSetLinearBlend GDIPlus_LineBrushSetPresetBlend GDIPlus_LineBrushSetSigmaBlend GDIPlus_LineBrushSetTransform GDIPlus_MatrixClone GDIPlus_MatrixCreate GDIPlus_MatrixDispose GDIPlus_MatrixGetElements GDIPlus_MatrixInvert GDIPlus_MatrixMultiply GDIPlus_MatrixRotate GDIPlus_MatrixScale GDIPlus_MatrixSetElements GDIPlus_MatrixShear GDIPlus_MatrixTransformPoints GDIPlus_MatrixTranslate GDIPlus_PaletteInitialize GDIPlus_ParamAdd GDIPlus_ParamInit GDIPlus_ParamSize GDIPlus_PathAddArc GDIPlus_PathAddBezier GDIPlus_PathAddClosedCurve GDIPlus_PathAddClosedCurve2 GDIPlus_PathAddCurve GDIPlus_PathAddCurve2 GDIPlus_PathAddCurve3 GDIPlus_PathAddEllipse GDIPlus_PathAddLine GDIPlus_PathAddLine2 GDIPlus_PathAddPath GDIPlus_PathAddPie GDIPlus_PathAddPolygon GDIPlus_PathAddRectangle GDIPlus_PathAddString GDIPlus_PathBrushCreate GDIPlus_PathBrushCreateFromPath GDIPlus_PathBrushGetCenterPoint GDIPlus_PathBrushGetFocusScales GDIPlus_PathBrushGetPointCount GDIPlus_PathBrushGetRect GDIPlus_PathBrushGetWrapMode GDIPlus_PathBrushMultiplyTransform GDIPlus_PathBrushResetTransform GDIPlus_PathBrushSetBlend GDIPlus_PathBrushSetCenterColor GDIPlus_PathBrushSetCenterPoint GDIPlus_PathBrushSetFocusScales GDIPlus_PathBrushSetGammaCorrection GDIPlus_PathBrushSetLinearBlend GDIPlus_PathBrushSetPresetBlend GDIPlus_PathBrushSetSigmaBlend GDIPlus_PathBrushSetSurroundColor GDIPlus_PathBrushSetSurroundColorsWithCount GDIPlus_PathBrushSetTransform GDIPlus_PathBrushSetWrapMode GDIPlus_PathClone GDIPlus_PathCloseFigure GDIPlus_PathCreate GDIPlus_PathCreate2 GDIPlus_PathDispose GDIPlus_PathFlatten GDIPlus_PathGetData GDIPlus_PathGetFillMode GDIPlus_PathGetLastPoint GDIPlus_PathGetPointCount GDIPlus_PathGetPoints GDIPlus_PathGetWorldBounds GDIPlus_PathIsOutlineVisiblePoint GDIPlus_PathIsVisiblePoint GDIPlus_PathIterCreate GDIPlus_PathIterDispose GDIPlus_PathIterGetSubpathCount GDIPlus_PathIterNextMarkerPath GDIPlus_PathIterNextSubpathPath GDIPlus_PathIterRewind GDIPlus_PathReset GDIPlus_PathReverse GDIPlus_PathSetFillMode GDIPlus_PathSetMarker GDIPlus_PathStartFigure GDIPlus_PathTransform GDIPlus_PathWarp GDIPlus_PathWiden GDIPlus_PathWindingModeOutline GDIPlus_PenCreate GDIPlus_PenCreate2 GDIPlus_PenDispose GDIPlus_PenGetAlignment GDIPlus_PenGetColor GDIPlus_PenGetCustomEndCap GDIPlus_PenGetDashCap GDIPlus_PenGetDashStyle GDIPlus_PenGetEndCap GDIPlus_PenGetMiterLimit GDIPlus_PenGetWidth GDIPlus_PenSetAlignment GDIPlus_PenSetColor GDIPlus_PenSetCustomEndCap GDIPlus_PenSetDashCap GDIPlus_PenSetDashStyle GDIPlus_PenSetEndCap GDIPlus_PenSetLineCap GDIPlus_PenSetLineJoin GDIPlus_PenSetMiterLimit GDIPlus_PenSetStartCap GDIPlus_PenSetWidth GDIPlus_RectFCreate GDIPlus_RegionClone GDIPlus_RegionCombinePath GDIPlus_RegionCombineRect GDIPlus_RegionCombineRegion GDIPlus_RegionCreate GDIPlus_RegionCreateFromPath GDIPlus_RegionCreateFromRect GDIPlus_RegionDispose GDIPlus_RegionGetBounds GDIPlus_RegionGetHRgn GDIPlus_RegionTransform GDIPlus_RegionTranslate GDIPlus_Shutdown GDIPlus_Startup GDIPlus_StringFormatCreate GDIPlus_StringFormatDispose GDIPlus_StringFormatGetMeasurableCharacterRangeCount GDIPlus_StringFormatSetAlign GDIPlus_StringFormatSetLineAlign GDIPlus_StringFormatSetMeasurableCharacterRanges GDIPlus_TextureCreate GDIPlus_TextureCreate2 GDIPlus_TextureCreateIA GetIP GUICtrlAVI_Close GUICtrlAVI_Create GUICtrlAVI_Destroy GUICtrlAVI_IsPlaying GUICtrlAVI_Open GUICtrlAVI_OpenEx GUICtrlAVI_Play GUICtrlAVI_Seek GUICtrlAVI_Show GUICtrlAVI_Stop GUICtrlButton_Click GUICtrlButton_Create GUICtrlButton_Destroy GUICtrlButton_Enable GUICtrlButton_GetCheck GUICtrlButton_GetFocus GUICtrlButton_GetIdealSize GUICtrlButton_GetImage GUICtrlButton_GetImageList GUICtrlButton_GetNote GUICtrlButton_GetNoteLength GUICtrlButton_GetSplitInfo GUICtrlButton_GetState GUICtrlButton_GetText GUICtrlButton_GetTextMargin GUICtrlButton_SetCheck GUICtrlButton_SetDontClick GUICtrlButton_SetFocus GUICtrlButton_SetImage GUICtrlButton_SetImageList GUICtrlButton_SetNote GUICtrlButton_SetShield GUICtrlButton_SetSize GUICtrlButton_SetSplitInfo GUICtrlButton_SetState GUICtrlButton_SetStyle GUICtrlButton_SetText GUICtrlButton_SetTextMargin GUICtrlButton_Show GUICtrlComboBoxEx_AddDir GUICtrlComboBoxEx_AddString GUICtrlComboBoxEx_BeginUpdate GUICtrlComboBoxEx_Create GUICtrlComboBoxEx_CreateSolidBitMap GUICtrlComboBoxEx_DeleteString GUICtrlComboBoxEx_Destroy GUICtrlComboBoxEx_EndUpdate GUICtrlComboBoxEx_FindStringExact GUICtrlComboBoxEx_GetComboBoxInfo GUICtrlComboBoxEx_GetComboControl GUICtrlComboBoxEx_GetCount GUICtrlComboBoxEx_GetCurSel GUICtrlComboBoxEx_GetDroppedControlRect GUICtrlComboBoxEx_GetDroppedControlRectEx GUICtrlComboBoxEx_GetDroppedState GUICtrlComboBoxEx_GetDroppedWidth GUICtrlComboBoxEx_GetEditControl GUICtrlComboBoxEx_GetEditSel GUICtrlComboBoxEx_GetEditText GUICtrlComboBoxEx_GetExtendedStyle GUICtrlComboBoxEx_GetExtendedUI GUICtrlComboBoxEx_GetImageList GUICtrlComboBoxEx_GetItem GUICtrlComboBoxEx_GetItemEx GUICtrlComboBoxEx_GetItemHeight GUICtrlComboBoxEx_GetItemImage GUICtrlComboBoxEx_GetItemIndent GUICtrlComboBoxEx_GetItemOverlayImage GUICtrlComboBoxEx_GetItemParam GUICtrlComboBoxEx_GetItemSelectedImage GUICtrlComboBoxEx_GetItemText GUICtrlComboBoxEx_GetItemTextLen GUICtrlComboBoxEx_GetList GUICtrlComboBoxEx_GetListArray GUICtrlComboBoxEx_GetLocale GUICtrlComboBoxEx_GetLocaleCountry GUICtrlComboBoxEx_GetLocaleLang GUICtrlComboBoxEx_GetLocalePrimLang GUICtrlComboBoxEx_GetLocaleSubLang GUICtrlComboBoxEx_GetMinVisible GUICtrlComboBoxEx_GetTopIndex GUICtrlComboBoxEx_GetUnicode GUICtrlComboBoxEx_InitStorage GUICtrlComboBoxEx_InsertString GUICtrlComboBoxEx_LimitText GUICtrlComboBoxEx_ReplaceEditSel GUICtrlComboBoxEx_ResetContent GUICtrlComboBoxEx_SetCurSel GUICtrlComboBoxEx_SetDroppedWidth GUICtrlComboBoxEx_SetEditSel GUICtrlComboBoxEx_SetEditText GUICtrlComboBoxEx_SetExtendedStyle GUICtrlComboBoxEx_SetExtendedUI GUICtrlComboBoxEx_SetImageList GUICtrlComboBoxEx_SetItem GUICtrlComboBoxEx_SetItemEx GUICtrlComboBoxEx_SetItemHeight GUICtrlComboBoxEx_SetItemImage GUICtrlComboBoxEx_SetItemIndent GUICtrlComboBoxEx_SetItemOverlayImage GUICtrlComboBoxEx_SetItemParam GUICtrlComboBoxEx_SetItemSelectedImage GUICtrlComboBoxEx_SetMinVisible GUICtrlComboBoxEx_SetTopIndex GUICtrlComboBoxEx_SetUnicode GUICtrlComboBoxEx_ShowDropDown GUICtrlComboBox_AddDir GUICtrlComboBox_AddString GUICtrlComboBox_AutoComplete GUICtrlComboBox_BeginUpdate GUICtrlComboBox_Create GUICtrlComboBox_DeleteString GUICtrlComboBox_Destroy GUICtrlComboBox_EndUpdate GUICtrlComboBox_FindString GUICtrlComboBox_FindStringExact GUICtrlComboBox_GetComboBoxInfo GUICtrlComboBox_GetCount GUICtrlComboBox_GetCueBanner GUICtrlComboBox_GetCurSel GUICtrlComboBox_GetDroppedControlRect GUICtrlComboBox_GetDroppedControlRectEx GUICtrlComboBox_GetDroppedState GUICtrlComboBox_GetDroppedWidth GUICtrlComboBox_GetEditSel GUICtrlComboBox_GetEditText GUICtrlComboBox_GetExtendedUI GUICtrlComboBox_GetHorizontalExtent GUICtrlComboBox_GetItemHeight GUICtrlComboBox_GetLBText GUICtrlComboBox_GetLBTextLen GUICtrlComboBox_GetList GUICtrlComboBox_GetListArray GUICtrlComboBox_GetLocale GUICtrlComboBox_GetLocaleCountry GUICtrlComboBox_GetLocaleLang GUICtrlComboBox_GetLocalePrimLang GUICtrlComboBox_GetLocaleSubLang GUICtrlComboBox_GetMinVisible GUICtrlComboBox_GetTopIndex GUICtrlComboBox_InitStorage GUICtrlComboBox_InsertString GUICtrlComboBox_LimitText GUICtrlComboBox_ReplaceEditSel GUICtrlComboBox_ResetContent GUICtrlComboBox_SelectString GUICtrlComboBox_SetCueBanner GUICtrlComboBox_SetCurSel GUICtrlComboBox_SetDroppedWidth GUICtrlComboBox_SetEditSel GUICtrlComboBox_SetEditText GUICtrlComboBox_SetExtendedUI GUICtrlComboBox_SetHorizontalExtent GUICtrlComboBox_SetItemHeight GUICtrlComboBox_SetMinVisible GUICtrlComboBox_SetTopIndex GUICtrlComboBox_ShowDropDown GUICtrlDTP_Create GUICtrlDTP_Destroy GUICtrlDTP_GetMCColor GUICtrlDTP_GetMCFont GUICtrlDTP_GetMonthCal GUICtrlDTP_GetRange GUICtrlDTP_GetRangeEx GUICtrlDTP_GetSystemTime GUICtrlDTP_GetSystemTimeEx GUICtrlDTP_SetFormat GUICtrlDTP_SetMCColor GUICtrlDTP_SetMCFont GUICtrlDTP_SetRange GUICtrlDTP_SetRangeEx GUICtrlDTP_SetSystemTime GUICtrlDTP_SetSystemTimeEx GUICtrlEdit_AppendText GUICtrlEdit_BeginUpdate GUICtrlEdit_CanUndo GUICtrlEdit_CharFromPos GUICtrlEdit_Create GUICtrlEdit_Destroy GUICtrlEdit_EmptyUndoBuffer GUICtrlEdit_EndUpdate GUICtrlEdit_Find GUICtrlEdit_FmtLines GUICtrlEdit_GetCueBanner GUICtrlEdit_GetFirstVisibleLine GUICtrlEdit_GetLimitText GUICtrlEdit_GetLine GUICtrlEdit_GetLineCount GUICtrlEdit_GetMargins GUICtrlEdit_GetModify GUICtrlEdit_GetPasswordChar GUICtrlEdit_GetRECT GUICtrlEdit_GetRECTEx GUICtrlEdit_GetSel GUICtrlEdit_GetText GUICtrlEdit_GetTextLen GUICtrlEdit_HideBalloonTip GUICtrlEdit_InsertText GUICtrlEdit_LineFromChar GUICtrlEdit_LineIndex GUICtrlEdit_LineLength GUICtrlEdit_LineScroll GUICtrlEdit_PosFromChar GUICtrlEdit_ReplaceSel GUICtrlEdit_Scroll GUICtrlEdit_SetCueBanner GUICtrlEdit_SetLimitText GUICtrlEdit_SetMargins GUICtrlEdit_SetModify GUICtrlEdit_SetPasswordChar GUICtrlEdit_SetReadOnly GUICtrlEdit_SetRECT GUICtrlEdit_SetRECTEx GUICtrlEdit_SetRECTNP GUICtrlEdit_SetRectNPEx GUICtrlEdit_SetSel GUICtrlEdit_SetTabStops GUICtrlEdit_SetText GUICtrlEdit_ShowBalloonTip GUICtrlEdit_Undo GUICtrlHeader_AddItem GUICtrlHeader_ClearFilter GUICtrlHeader_ClearFilterAll GUICtrlHeader_Create GUICtrlHeader_CreateDragImage GUICtrlHeader_DeleteItem GUICtrlHeader_Destroy GUICtrlHeader_EditFilter GUICtrlHeader_GetBitmapMargin GUICtrlHeader_GetImageList GUICtrlHeader_GetItem GUICtrlHeader_GetItemAlign GUICtrlHeader_GetItemBitmap GUICtrlHeader_GetItemCount GUICtrlHeader_GetItemDisplay GUICtrlHeader_GetItemFlags GUICtrlHeader_GetItemFormat GUICtrlHeader_GetItemImage GUICtrlHeader_GetItemOrder GUICtrlHeader_GetItemParam GUICtrlHeader_GetItemRect GUICtrlHeader_GetItemRectEx GUICtrlHeader_GetItemText GUICtrlHeader_GetItemWidth GUICtrlHeader_GetOrderArray GUICtrlHeader_GetUnicodeFormat GUICtrlHeader_HitTest GUICtrlHeader_InsertItem GUICtrlHeader_Layout GUICtrlHeader_OrderToIndex GUICtrlHeader_SetBitmapMargin GUICtrlHeader_SetFilterChangeTimeout GUICtrlHeader_SetHotDivider GUICtrlHeader_SetImageList GUICtrlHeader_SetItem GUICtrlHeader_SetItemAlign GUICtrlHeader_SetItemBitmap GUICtrlHeader_SetItemDisplay GUICtrlHeader_SetItemFlags GUICtrlHeader_SetItemFormat GUICtrlHeader_SetItemImage GUICtrlHeader_SetItemOrder GUICtrlHeader_SetItemParam GUICtrlHeader_SetItemText GUICtrlHeader_SetItemWidth GUICtrlHeader_SetOrderArray GUICtrlHeader_SetUnicodeFormat GUICtrlIpAddress_ClearAddress GUICtrlIpAddress_Create GUICtrlIpAddress_Destroy GUICtrlIpAddress_Get GUICtrlIpAddress_GetArray GUICtrlIpAddress_GetEx GUICtrlIpAddress_IsBlank GUICtrlIpAddress_Set GUICtrlIpAddress_SetArray GUICtrlIpAddress_SetEx GUICtrlIpAddress_SetFocus GUICtrlIpAddress_SetFont GUICtrlIpAddress_SetRange GUICtrlIpAddress_ShowHide GUICtrlListBox_AddFile GUICtrlListBox_AddString GUICtrlListBox_BeginUpdate GUICtrlListBox_ClickItem GUICtrlListBox_Create GUICtrlListBox_DeleteString GUICtrlListBox_Destroy GUICtrlListBox_Dir GUICtrlListBox_EndUpdate GUICtrlListBox_FindInText GUICtrlListBox_FindString GUICtrlListBox_GetAnchorIndex GUICtrlListBox_GetCaretIndex GUICtrlListBox_GetCount GUICtrlListBox_GetCurSel GUICtrlListBox_GetHorizontalExtent GUICtrlListBox_GetItemData GUICtrlListBox_GetItemHeight GUICtrlListBox_GetItemRect GUICtrlListBox_GetItemRectEx GUICtrlListBox_GetListBoxInfo GUICtrlListBox_GetLocale GUICtrlListBox_GetLocaleCountry GUICtrlListBox_GetLocaleLang GUICtrlListBox_GetLocalePrimLang GUICtrlListBox_GetLocaleSubLang GUICtrlListBox_GetSel GUICtrlListBox_GetSelCount GUICtrlListBox_GetSelItems GUICtrlListBox_GetSelItemsText GUICtrlListBox_GetText GUICtrlListBox_GetTextLen GUICtrlListBox_GetTopIndex GUICtrlListBox_InitStorage GUICtrlListBox_InsertString GUICtrlListBox_ItemFromPoint GUICtrlListBox_ReplaceString GUICtrlListBox_ResetContent GUICtrlListBox_SelectString GUICtrlListBox_SelItemRange GUICtrlListBox_SelItemRangeEx GUICtrlListBox_SetAnchorIndex GUICtrlListBox_SetCaretIndex GUICtrlListBox_SetColumnWidth GUICtrlListBox_SetCurSel GUICtrlListBox_SetHorizontalExtent GUICtrlListBox_SetItemData GUICtrlListBox_SetItemHeight GUICtrlListBox_SetLocale GUICtrlListBox_SetSel GUICtrlListBox_SetTabStops GUICtrlListBox_SetTopIndex GUICtrlListBox_Sort GUICtrlListBox_SwapString GUICtrlListBox_UpdateHScroll GUICtrlListView_AddArray GUICtrlListView_AddColumn GUICtrlListView_AddItem GUICtrlListView_AddSubItem GUICtrlListView_ApproximateViewHeight GUICtrlListView_ApproximateViewRect GUICtrlListView_ApproximateViewWidth GUICtrlListView_Arrange GUICtrlListView_BeginUpdate GUICtrlListView_CancelEditLabel GUICtrlListView_ClickItem GUICtrlListView_CopyItems GUICtrlListView_Create GUICtrlListView_CreateDragImage GUICtrlListView_CreateSolidBitMap GUICtrlListView_DeleteAllItems GUICtrlListView_DeleteColumn GUICtrlListView_DeleteItem GUICtrlListView_DeleteItemsSelected GUICtrlListView_Destroy GUICtrlListView_DrawDragImage GUICtrlListView_EditLabel GUICtrlListView_EnableGroupView GUICtrlListView_EndUpdate GUICtrlListView_EnsureVisible GUICtrlListView_FindInText GUICtrlListView_FindItem GUICtrlListView_FindNearest GUICtrlListView_FindParam GUICtrlListView_FindText GUICtrlListView_GetBkColor GUICtrlListView_GetBkImage GUICtrlListView_GetCallbackMask GUICtrlListView_GetColumn GUICtrlListView_GetColumnCount GUICtrlListView_GetColumnOrder GUICtrlListView_GetColumnOrderArray GUICtrlListView_GetColumnWidth GUICtrlListView_GetCounterPage GUICtrlListView_GetEditControl GUICtrlListView_GetExtendedListViewStyle GUICtrlListView_GetFocusedGroup GUICtrlListView_GetGroupCount GUICtrlListView_GetGroupInfo GUICtrlListView_GetGroupInfoByIndex GUICtrlListView_GetGroupRect GUICtrlListView_GetGroupViewEnabled GUICtrlListView_GetHeader GUICtrlListView_GetHotCursor GUICtrlListView_GetHotItem GUICtrlListView_GetHoverTime GUICtrlListView_GetImageList GUICtrlListView_GetISearchString GUICtrlListView_GetItem GUICtrlListView_GetItemChecked GUICtrlListView_GetItemCount GUICtrlListView_GetItemCut GUICtrlListView_GetItemDropHilited GUICtrlListView_GetItemEx GUICtrlListView_GetItemFocused GUICtrlListView_GetItemGroupID GUICtrlListView_GetItemImage GUICtrlListView_GetItemIndent GUICtrlListView_GetItemParam GUICtrlListView_GetItemPosition GUICtrlListView_GetItemPositionX GUICtrlListView_GetItemPositionY GUICtrlListView_GetItemRect GUICtrlListView_GetItemRectEx GUICtrlListView_GetItemSelected GUICtrlListView_GetItemSpacing GUICtrlListView_GetItemSpacingX GUICtrlListView_GetItemSpacingY GUICtrlListView_GetItemState GUICtrlListView_GetItemStateImage GUICtrlListView_GetItemText GUICtrlListView_GetItemTextArray GUICtrlListView_GetItemTextString GUICtrlListView_GetNextItem GUICtrlListView_GetNumberOfWorkAreas GUICtrlListView_GetOrigin GUICtrlListView_GetOriginX GUICtrlListView_GetOriginY GUICtrlListView_GetOutlineColor GUICtrlListView_GetSelectedColumn GUICtrlListView_GetSelectedCount GUICtrlListView_GetSelectedIndices GUICtrlListView_GetSelectionMark GUICtrlListView_GetStringWidth GUICtrlListView_GetSubItemRect GUICtrlListView_GetTextBkColor GUICtrlListView_GetTextColor GUICtrlListView_GetToolTips GUICtrlListView_GetTopIndex GUICtrlListView_GetUnicodeFormat GUICtrlListView_GetView GUICtrlListView_GetViewDetails GUICtrlListView_GetViewLarge GUICtrlListView_GetViewList GUICtrlListView_GetViewRect GUICtrlListView_GetViewSmall GUICtrlListView_GetViewTile GUICtrlListView_HideColumn GUICtrlListView_HitTest GUICtrlListView_InsertColumn GUICtrlListView_InsertGroup GUICtrlListView_InsertItem GUICtrlListView_JustifyColumn GUICtrlListView_MapIDToIndex GUICtrlListView_MapIndexToID GUICtrlListView_RedrawItems GUICtrlListView_RegisterSortCallBack GUICtrlListView_RemoveAllGroups GUICtrlListView_RemoveGroup GUICtrlListView_Scroll GUICtrlListView_SetBkColor GUICtrlListView_SetBkImage GUICtrlListView_SetCallBackMask GUICtrlListView_SetColumn GUICtrlListView_SetColumnOrder GUICtrlListView_SetColumnOrderArray GUICtrlListView_SetColumnWidth GUICtrlListView_SetExtendedListViewStyle GUICtrlListView_SetGroupInfo GUICtrlListView_SetHotItem GUICtrlListView_SetHoverTime GUICtrlListView_SetIconSpacing GUICtrlListView_SetImageList GUICtrlListView_SetItem GUICtrlListView_SetItemChecked GUICtrlListView_SetItemCount GUICtrlListView_SetItemCut GUICtrlListView_SetItemDropHilited GUICtrlListView_SetItemEx GUICtrlListView_SetItemFocused GUICtrlListView_SetItemGroupID GUICtrlListView_SetItemImage GUICtrlListView_SetItemIndent GUICtrlListView_SetItemParam GUICtrlListView_SetItemPosition GUICtrlListView_SetItemPosition32 GUICtrlListView_SetItemSelected GUICtrlListView_SetItemState GUICtrlListView_SetItemStateImage GUICtrlListView_SetItemText GUICtrlListView_SetOutlineColor GUICtrlListView_SetSelectedColumn GUICtrlListView_SetSelectionMark GUICtrlListView_SetTextBkColor GUICtrlListView_SetTextColor GUICtrlListView_SetToolTips GUICtrlListView_SetUnicodeFormat GUICtrlListView_SetView GUICtrlListView_SetWorkAreas GUICtrlListView_SimpleSort GUICtrlListView_SortItems GUICtrlListView_SubItemHitTest GUICtrlListView_UnRegisterSortCallBack GUICtrlMenu_AddMenuItem GUICtrlMenu_AppendMenu GUICtrlMenu_CalculatePopupWindowPosition GUICtrlMenu_CheckMenuItem GUICtrlMenu_CheckRadioItem GUICtrlMenu_CreateMenu GUICtrlMenu_CreatePopup GUICtrlMenu_DeleteMenu GUICtrlMenu_DestroyMenu GUICtrlMenu_DrawMenuBar GUICtrlMenu_EnableMenuItem GUICtrlMenu_FindItem GUICtrlMenu_FindParent GUICtrlMenu_GetItemBmp GUICtrlMenu_GetItemBmpChecked GUICtrlMenu_GetItemBmpUnchecked GUICtrlMenu_GetItemChecked GUICtrlMenu_GetItemCount GUICtrlMenu_GetItemData GUICtrlMenu_GetItemDefault GUICtrlMenu_GetItemDisabled GUICtrlMenu_GetItemEnabled GUICtrlMenu_GetItemGrayed GUICtrlMenu_GetItemHighlighted GUICtrlMenu_GetItemID GUICtrlMenu_GetItemInfo GUICtrlMenu_GetItemRect GUICtrlMenu_GetItemRectEx GUICtrlMenu_GetItemState GUICtrlMenu_GetItemStateEx GUICtrlMenu_GetItemSubMenu GUICtrlMenu_GetItemText GUICtrlMenu_GetItemType GUICtrlMenu_GetMenu GUICtrlMenu_GetMenuBackground GUICtrlMenu_GetMenuBarInfo GUICtrlMenu_GetMenuContextHelpID GUICtrlMenu_GetMenuData GUICtrlMenu_GetMenuDefaultItem GUICtrlMenu_GetMenuHeight GUICtrlMenu_GetMenuInfo GUICtrlMenu_GetMenuStyle GUICtrlMenu_GetSystemMenu GUICtrlMenu_InsertMenuItem GUICtrlMenu_InsertMenuItemEx GUICtrlMenu_IsMenu GUICtrlMenu_LoadMenu GUICtrlMenu_MapAccelerator GUICtrlMenu_MenuItemFromPoint GUICtrlMenu_RemoveMenu GUICtrlMenu_SetItemBitmaps GUICtrlMenu_SetItemBmp GUICtrlMenu_SetItemBmpChecked GUICtrlMenu_SetItemBmpUnchecked GUICtrlMenu_SetItemChecked GUICtrlMenu_SetItemData GUICtrlMenu_SetItemDefault GUICtrlMenu_SetItemDisabled GUICtrlMenu_SetItemEnabled GUICtrlMenu_SetItemGrayed GUICtrlMenu_SetItemHighlighted GUICtrlMenu_SetItemID GUICtrlMenu_SetItemInfo GUICtrlMenu_SetItemState GUICtrlMenu_SetItemSubMenu GUICtrlMenu_SetItemText GUICtrlMenu_SetItemType GUICtrlMenu_SetMenu GUICtrlMenu_SetMenuBackground GUICtrlMenu_SetMenuContextHelpID GUICtrlMenu_SetMenuData GUICtrlMenu_SetMenuDefaultItem GUICtrlMenu_SetMenuHeight GUICtrlMenu_SetMenuInfo GUICtrlMenu_SetMenuStyle GUICtrlMenu_TrackPopupMenu GUICtrlMonthCal_Create GUICtrlMonthCal_Destroy GUICtrlMonthCal_GetCalendarBorder GUICtrlMonthCal_GetCalendarCount GUICtrlMonthCal_GetColor GUICtrlMonthCal_GetColorArray GUICtrlMonthCal_GetCurSel GUICtrlMonthCal_GetCurSelStr GUICtrlMonthCal_GetFirstDOW GUICtrlMonthCal_GetFirstDOWStr GUICtrlMonthCal_GetMaxSelCount GUICtrlMonthCal_GetMaxTodayWidth GUICtrlMonthCal_GetMinReqHeight GUICtrlMonthCal_GetMinReqRect GUICtrlMonthCal_GetMinReqRectArray GUICtrlMonthCal_GetMinReqWidth GUICtrlMonthCal_GetMonthDelta GUICtrlMonthCal_GetMonthRange GUICtrlMonthCal_GetMonthRangeMax GUICtrlMonthCal_GetMonthRangeMaxStr GUICtrlMonthCal_GetMonthRangeMin GUICtrlMonthCal_GetMonthRangeMinStr GUICtrlMonthCal_GetMonthRangeSpan GUICtrlMonthCal_GetRange GUICtrlMonthCal_GetRangeMax GUICtrlMonthCal_GetRangeMaxStr GUICtrlMonthCal_GetRangeMin GUICtrlMonthCal_GetRangeMinStr GUICtrlMonthCal_GetSelRange GUICtrlMonthCal_GetSelRangeMax GUICtrlMonthCal_GetSelRangeMaxStr GUICtrlMonthCal_GetSelRangeMin GUICtrlMonthCal_GetSelRangeMinStr GUICtrlMonthCal_GetToday GUICtrlMonthCal_GetTodayStr GUICtrlMonthCal_GetUnicodeFormat GUICtrlMonthCal_HitTest GUICtrlMonthCal_SetCalendarBorder GUICtrlMonthCal_SetColor GUICtrlMonthCal_SetCurSel GUICtrlMonthCal_SetDayState GUICtrlMonthCal_SetFirstDOW GUICtrlMonthCal_SetMaxSelCount GUICtrlMonthCal_SetMonthDelta GUICtrlMonthCal_SetRange GUICtrlMonthCal_SetSelRange GUICtrlMonthCal_SetToday GUICtrlMonthCal_SetUnicodeFormat GUICtrlRebar_AddBand GUICtrlRebar_AddToolBarBand GUICtrlRebar_BeginDrag GUICtrlRebar_Create GUICtrlRebar_DeleteBand GUICtrlRebar_Destroy GUICtrlRebar_DragMove GUICtrlRebar_EndDrag GUICtrlRebar_GetBandBackColor GUICtrlRebar_GetBandBorders GUICtrlRebar_GetBandBordersEx GUICtrlRebar_GetBandChildHandle GUICtrlRebar_GetBandChildSize GUICtrlRebar_GetBandCount GUICtrlRebar_GetBandForeColor GUICtrlRebar_GetBandHeaderSize GUICtrlRebar_GetBandID GUICtrlRebar_GetBandIdealSize GUICtrlRebar_GetBandLength GUICtrlRebar_GetBandLParam GUICtrlRebar_GetBandMargins GUICtrlRebar_GetBandMarginsEx GUICtrlRebar_GetBandRect GUICtrlRebar_GetBandRectEx GUICtrlRebar_GetBandStyle GUICtrlRebar_GetBandStyleBreak GUICtrlRebar_GetBandStyleChildEdge GUICtrlRebar_GetBandStyleFixedBMP GUICtrlRebar_GetBandStyleFixedSize GUICtrlRebar_GetBandStyleGripperAlways GUICtrlRebar_GetBandStyleHidden GUICtrlRebar_GetBandStyleHideTitle GUICtrlRebar_GetBandStyleNoGripper GUICtrlRebar_GetBandStyleTopAlign GUICtrlRebar_GetBandStyleUseChevron GUICtrlRebar_GetBandStyleVariableHeight GUICtrlRebar_GetBandText GUICtrlRebar_GetBarHeight GUICtrlRebar_GetBarInfo GUICtrlRebar_GetBKColor GUICtrlRebar_GetColorScheme GUICtrlRebar_GetRowCount GUICtrlRebar_GetRowHeight GUICtrlRebar_GetTextColor GUICtrlRebar_GetToolTips GUICtrlRebar_GetUnicodeFormat GUICtrlRebar_HitTest GUICtrlRebar_IDToIndex GUICtrlRebar_MaximizeBand GUICtrlRebar_MinimizeBand GUICtrlRebar_MoveBand GUICtrlRebar_SetBandBackColor GUICtrlRebar_SetBandForeColor GUICtrlRebar_SetBandHeaderSize GUICtrlRebar_SetBandID GUICtrlRebar_SetBandIdealSize GUICtrlRebar_SetBandLength GUICtrlRebar_SetBandLParam GUICtrlRebar_SetBandStyle GUICtrlRebar_SetBandStyleBreak GUICtrlRebar_SetBandStyleChildEdge GUICtrlRebar_SetBandStyleFixedBMP GUICtrlRebar_SetBandStyleFixedSize GUICtrlRebar_SetBandStyleGripperAlways GUICtrlRebar_SetBandStyleHidden GUICtrlRebar_SetBandStyleHideTitle GUICtrlRebar_SetBandStyleNoGripper GUICtrlRebar_SetBandStyleTopAlign GUICtrlRebar_SetBandStyleUseChevron GUICtrlRebar_SetBandStyleVariableHeight GUICtrlRebar_SetBandText GUICtrlRebar_SetBarInfo GUICtrlRebar_SetBKColor GUICtrlRebar_SetColorScheme GUICtrlRebar_SetTextColor GUICtrlRebar_SetToolTips GUICtrlRebar_SetUnicodeFormat GUICtrlRebar_ShowBand GUICtrlRichEdit_AppendText GUICtrlRichEdit_AutoDetectURL GUICtrlRichEdit_CanPaste GUICtrlRichEdit_CanPasteSpecial GUICtrlRichEdit_CanRedo GUICtrlRichEdit_CanUndo GUICtrlRichEdit_ChangeFontSize GUICtrlRichEdit_Copy GUICtrlRichEdit_Create GUICtrlRichEdit_Cut GUICtrlRichEdit_Deselect GUICtrlRichEdit_Destroy GUICtrlRichEdit_EmptyUndoBuffer GUICtrlRichEdit_FindText GUICtrlRichEdit_FindTextInRange GUICtrlRichEdit_GetBkColor GUICtrlRichEdit_GetCharAttributes GUICtrlRichEdit_GetCharBkColor GUICtrlRichEdit_GetCharColor GUICtrlRichEdit_GetCharPosFromXY GUICtrlRichEdit_GetCharPosOfNextWord GUICtrlRichEdit_GetCharPosOfPreviousWord GUICtrlRichEdit_GetCharWordBreakInfo GUICtrlRichEdit_GetFirstCharPosOnLine GUICtrlRichEdit_GetFont GUICtrlRichEdit_GetLineCount GUICtrlRichEdit_GetLineLength GUICtrlRichEdit_GetLineNumberFromCharPos GUICtrlRichEdit_GetNextRedo GUICtrlRichEdit_GetNextUndo GUICtrlRichEdit_GetNumberOfFirstVisibleLine GUICtrlRichEdit_GetParaAlignment GUICtrlRichEdit_GetParaAttributes GUICtrlRichEdit_GetParaBorder GUICtrlRichEdit_GetParaIndents GUICtrlRichEdit_GetParaNumbering GUICtrlRichEdit_GetParaShading GUICtrlRichEdit_GetParaSpacing GUICtrlRichEdit_GetParaTabStops GUICtrlRichEdit_GetPasswordChar GUICtrlRichEdit_GetRECT GUICtrlRichEdit_GetScrollPos GUICtrlRichEdit_GetSel GUICtrlRichEdit_GetSelAA GUICtrlRichEdit_GetSelText GUICtrlRichEdit_GetSpaceUnit GUICtrlRichEdit_GetText GUICtrlRichEdit_GetTextInLine GUICtrlRichEdit_GetTextInRange GUICtrlRichEdit_GetTextLength GUICtrlRichEdit_GetVersion GUICtrlRichEdit_GetXYFromCharPos GUICtrlRichEdit_GetZoom GUICtrlRichEdit_GotoCharPos GUICtrlRichEdit_HideSelection GUICtrlRichEdit_InsertText GUICtrlRichEdit_IsModified GUICtrlRichEdit_IsTextSelected GUICtrlRichEdit_Paste GUICtrlRichEdit_PasteSpecial GUICtrlRichEdit_PauseRedraw GUICtrlRichEdit_Redo GUICtrlRichEdit_ReplaceText GUICtrlRichEdit_ResumeRedraw GUICtrlRichEdit_ScrollLineOrPage GUICtrlRichEdit_ScrollLines GUICtrlRichEdit_ScrollToCaret GUICtrlRichEdit_SetBkColor GUICtrlRichEdit_SetCharAttributes GUICtrlRichEdit_SetCharBkColor GUICtrlRichEdit_SetCharColor GUICtrlRichEdit_SetEventMask GUICtrlRichEdit_SetFont GUICtrlRichEdit_SetLimitOnText GUICtrlRichEdit_SetModified GUICtrlRichEdit_SetParaAlignment GUICtrlRichEdit_SetParaAttributes GUICtrlRichEdit_SetParaBorder GUICtrlRichEdit_SetParaIndents GUICtrlRichEdit_SetParaNumbering GUICtrlRichEdit_SetParaShading GUICtrlRichEdit_SetParaSpacing GUICtrlRichEdit_SetParaTabStops GUICtrlRichEdit_SetPasswordChar GUICtrlRichEdit_SetReadOnly GUICtrlRichEdit_SetRECT GUICtrlRichEdit_SetScrollPos GUICtrlRichEdit_SetSel GUICtrlRichEdit_SetSpaceUnit GUICtrlRichEdit_SetTabStops GUICtrlRichEdit_SetText GUICtrlRichEdit_SetUndoLimit GUICtrlRichEdit_SetZoom GUICtrlRichEdit_StreamFromFile GUICtrlRichEdit_StreamFromVar GUICtrlRichEdit_StreamToFile GUICtrlRichEdit_StreamToVar GUICtrlRichEdit_Undo GUICtrlSlider_ClearSel GUICtrlSlider_ClearTics GUICtrlSlider_Create GUICtrlSlider_Destroy GUICtrlSlider_GetBuddy GUICtrlSlider_GetChannelRect GUICtrlSlider_GetChannelRectEx GUICtrlSlider_GetLineSize GUICtrlSlider_GetLogicalTics GUICtrlSlider_GetNumTics GUICtrlSlider_GetPageSize GUICtrlSlider_GetPos GUICtrlSlider_GetRange GUICtrlSlider_GetRangeMax GUICtrlSlider_GetRangeMin GUICtrlSlider_GetSel GUICtrlSlider_GetSelEnd GUICtrlSlider_GetSelStart GUICtrlSlider_GetThumbLength GUICtrlSlider_GetThumbRect GUICtrlSlider_GetThumbRectEx GUICtrlSlider_GetTic GUICtrlSlider_GetTicPos GUICtrlSlider_GetToolTips GUICtrlSlider_GetUnicodeFormat GUICtrlSlider_SetBuddy GUICtrlSlider_SetLineSize GUICtrlSlider_SetPageSize GUICtrlSlider_SetPos GUICtrlSlider_SetRange GUICtrlSlider_SetRangeMax GUICtrlSlider_SetRangeMin GUICtrlSlider_SetSel GUICtrlSlider_SetSelEnd GUICtrlSlider_SetSelStart GUICtrlSlider_SetThumbLength GUICtrlSlider_SetTic GUICtrlSlider_SetTicFreq GUICtrlSlider_SetTipSide GUICtrlSlider_SetToolTips GUICtrlSlider_SetUnicodeFormat GUICtrlStatusBar_Create GUICtrlStatusBar_Destroy GUICtrlStatusBar_EmbedControl GUICtrlStatusBar_GetBorders GUICtrlStatusBar_GetBordersHorz GUICtrlStatusBar_GetBordersRect GUICtrlStatusBar_GetBordersVert GUICtrlStatusBar_GetCount GUICtrlStatusBar_GetHeight GUICtrlStatusBar_GetIcon GUICtrlStatusBar_GetParts GUICtrlStatusBar_GetRect GUICtrlStatusBar_GetRectEx GUICtrlStatusBar_GetText GUICtrlStatusBar_GetTextFlags GUICtrlStatusBar_GetTextLength GUICtrlStatusBar_GetTextLengthEx GUICtrlStatusBar_GetTipText GUICtrlStatusBar_GetUnicodeFormat GUICtrlStatusBar_GetWidth GUICtrlStatusBar_IsSimple GUICtrlStatusBar_Resize GUICtrlStatusBar_SetBkColor GUICtrlStatusBar_SetIcon GUICtrlStatusBar_SetMinHeight GUICtrlStatusBar_SetParts GUICtrlStatusBar_SetSimple GUICtrlStatusBar_SetText GUICtrlStatusBar_SetTipText GUICtrlStatusBar_SetUnicodeFormat GUICtrlStatusBar_ShowHide GUICtrlTab_ActivateTab GUICtrlTab_ClickTab GUICtrlTab_Create GUICtrlTab_DeleteAllItems GUICtrlTab_DeleteItem GUICtrlTab_DeselectAll GUICtrlTab_Destroy GUICtrlTab_FindTab GUICtrlTab_GetCurFocus GUICtrlTab_GetCurSel GUICtrlTab_GetDisplayRect GUICtrlTab_GetDisplayRectEx GUICtrlTab_GetExtendedStyle GUICtrlTab_GetImageList GUICtrlTab_GetItem GUICtrlTab_GetItemCount GUICtrlTab_GetItemImage GUICtrlTab_GetItemParam GUICtrlTab_GetItemRect GUICtrlTab_GetItemRectEx GUICtrlTab_GetItemState GUICtrlTab_GetItemText GUICtrlTab_GetRowCount GUICtrlTab_GetToolTips GUICtrlTab_GetUnicodeFormat GUICtrlTab_HighlightItem GUICtrlTab_HitTest GUICtrlTab_InsertItem GUICtrlTab_RemoveImage GUICtrlTab_SetCurFocus GUICtrlTab_SetCurSel GUICtrlTab_SetExtendedStyle GUICtrlTab_SetImageList GUICtrlTab_SetItem GUICtrlTab_SetItemImage GUICtrlTab_SetItemParam GUICtrlTab_SetItemSize GUICtrlTab_SetItemState GUICtrlTab_SetItemText GUICtrlTab_SetMinTabWidth GUICtrlTab_SetPadding GUICtrlTab_SetToolTips GUICtrlTab_SetUnicodeFormat GUICtrlToolbar_AddBitmap GUICtrlToolbar_AddButton GUICtrlToolbar_AddButtonSep GUICtrlToolbar_AddString GUICtrlToolbar_ButtonCount GUICtrlToolbar_CheckButton GUICtrlToolbar_ClickAccel GUICtrlToolbar_ClickButton GUICtrlToolbar_ClickIndex GUICtrlToolbar_CommandToIndex GUICtrlToolbar_Create GUICtrlToolbar_Customize GUICtrlToolbar_DeleteButton GUICtrlToolbar_Destroy GUICtrlToolbar_EnableButton GUICtrlToolbar_FindToolbar GUICtrlToolbar_GetAnchorHighlight GUICtrlToolbar_GetBitmapFlags GUICtrlToolbar_GetButtonBitmap GUICtrlToolbar_GetButtonInfo GUICtrlToolbar_GetButtonInfoEx GUICtrlToolbar_GetButtonParam GUICtrlToolbar_GetButtonRect GUICtrlToolbar_GetButtonRectEx GUICtrlToolbar_GetButtonSize GUICtrlToolbar_GetButtonState GUICtrlToolbar_GetButtonStyle GUICtrlToolbar_GetButtonText GUICtrlToolbar_GetColorScheme GUICtrlToolbar_GetDisabledImageList GUICtrlToolbar_GetExtendedStyle GUICtrlToolbar_GetHotImageList GUICtrlToolbar_GetHotItem GUICtrlToolbar_GetImageList GUICtrlToolbar_GetInsertMark GUICtrlToolbar_GetInsertMarkColor GUICtrlToolbar_GetMaxSize GUICtrlToolbar_GetMetrics GUICtrlToolbar_GetPadding GUICtrlToolbar_GetRows GUICtrlToolbar_GetString GUICtrlToolbar_GetStyle GUICtrlToolbar_GetStyleAltDrag GUICtrlToolbar_GetStyleCustomErase GUICtrlToolbar_GetStyleFlat GUICtrlToolbar_GetStyleList GUICtrlToolbar_GetStyleRegisterDrop GUICtrlToolbar_GetStyleToolTips GUICtrlToolbar_GetStyleTransparent GUICtrlToolbar_GetStyleWrapable GUICtrlToolbar_GetTextRows GUICtrlToolbar_GetToolTips GUICtrlToolbar_GetUnicodeFormat GUICtrlToolbar_HideButton GUICtrlToolbar_HighlightButton GUICtrlToolbar_HitTest GUICtrlToolbar_IndexToCommand GUICtrlToolbar_InsertButton GUICtrlToolbar_InsertMarkHitTest GUICtrlToolbar_IsButtonChecked GUICtrlToolbar_IsButtonEnabled GUICtrlToolbar_IsButtonHidden GUICtrlToolbar_IsButtonHighlighted GUICtrlToolbar_IsButtonIndeterminate GUICtrlToolbar_IsButtonPressed GUICtrlToolbar_LoadBitmap GUICtrlToolbar_LoadImages GUICtrlToolbar_MapAccelerator GUICtrlToolbar_MoveButton GUICtrlToolbar_PressButton GUICtrlToolbar_SetAnchorHighlight GUICtrlToolbar_SetBitmapSize GUICtrlToolbar_SetButtonBitMap GUICtrlToolbar_SetButtonInfo GUICtrlToolbar_SetButtonInfoEx GUICtrlToolbar_SetButtonParam GUICtrlToolbar_SetButtonSize GUICtrlToolbar_SetButtonState GUICtrlToolbar_SetButtonStyle GUICtrlToolbar_SetButtonText GUICtrlToolbar_SetButtonWidth GUICtrlToolbar_SetCmdID GUICtrlToolbar_SetColorScheme GUICtrlToolbar_SetDisabledImageList GUICtrlToolbar_SetDrawTextFlags GUICtrlToolbar_SetExtendedStyle GUICtrlToolbar_SetHotImageList GUICtrlToolbar_SetHotItem GUICtrlToolbar_SetImageList GUICtrlToolbar_SetIndent GUICtrlToolbar_SetIndeterminate GUICtrlToolbar_SetInsertMark GUICtrlToolbar_SetInsertMarkColor GUICtrlToolbar_SetMaxTextRows GUICtrlToolbar_SetMetrics GUICtrlToolbar_SetPadding GUICtrlToolbar_SetParent GUICtrlToolbar_SetRows GUICtrlToolbar_SetStyle GUICtrlToolbar_SetStyleAltDrag GUICtrlToolbar_SetStyleCustomErase GUICtrlToolbar_SetStyleFlat GUICtrlToolbar_SetStyleList GUICtrlToolbar_SetStyleRegisterDrop GUICtrlToolbar_SetStyleToolTips GUICtrlToolbar_SetStyleTransparent GUICtrlToolbar_SetStyleWrapable GUICtrlToolbar_SetToolTips GUICtrlToolbar_SetUnicodeFormat GUICtrlToolbar_SetWindowTheme GUICtrlTreeView_Add GUICtrlTreeView_AddChild GUICtrlTreeView_AddChildFirst GUICtrlTreeView_AddFirst GUICtrlTreeView_BeginUpdate GUICtrlTreeView_ClickItem GUICtrlTreeView_Create GUICtrlTreeView_CreateDragImage GUICtrlTreeView_CreateSolidBitMap GUICtrlTreeView_Delete GUICtrlTreeView_DeleteAll GUICtrlTreeView_DeleteChildren GUICtrlTreeView_Destroy GUICtrlTreeView_DisplayRect GUICtrlTreeView_DisplayRectEx GUICtrlTreeView_EditText GUICtrlTreeView_EndEdit GUICtrlTreeView_EndUpdate GUICtrlTreeView_EnsureVisible GUICtrlTreeView_Expand GUICtrlTreeView_ExpandedOnce GUICtrlTreeView_FindItem GUICtrlTreeView_FindItemEx GUICtrlTreeView_GetBkColor GUICtrlTreeView_GetBold GUICtrlTreeView_GetChecked GUICtrlTreeView_GetChildCount GUICtrlTreeView_GetChildren GUICtrlTreeView_GetCount GUICtrlTreeView_GetCut GUICtrlTreeView_GetDropTarget GUICtrlTreeView_GetEditControl GUICtrlTreeView_GetExpanded GUICtrlTreeView_GetFirstChild GUICtrlTreeView_GetFirstItem GUICtrlTreeView_GetFirstVisible GUICtrlTreeView_GetFocused GUICtrlTreeView_GetHeight GUICtrlTreeView_GetImageIndex GUICtrlTreeView_GetImageListIconHandle GUICtrlTreeView_GetIndent GUICtrlTreeView_GetInsertMarkColor GUICtrlTreeView_GetISearchString GUICtrlTreeView_GetItemByIndex GUICtrlTreeView_GetItemHandle GUICtrlTreeView_GetItemParam GUICtrlTreeView_GetLastChild GUICtrlTreeView_GetLineColor GUICtrlTreeView_GetNext GUICtrlTreeView_GetNextChild GUICtrlTreeView_GetNextSibling GUICtrlTreeView_GetNextVisible GUICtrlTreeView_GetNormalImageList GUICtrlTreeView_GetParentHandle GUICtrlTreeView_GetParentParam GUICtrlTreeView_GetPrev GUICtrlTreeView_GetPrevChild GUICtrlTreeView_GetPrevSibling GUICtrlTreeView_GetPrevVisible GUICtrlTreeView_GetScrollTime GUICtrlTreeView_GetSelected GUICtrlTreeView_GetSelectedImageIndex GUICtrlTreeView_GetSelection GUICtrlTreeView_GetSiblingCount GUICtrlTreeView_GetState GUICtrlTreeView_GetStateImageIndex GUICtrlTreeView_GetStateImageList GUICtrlTreeView_GetText GUICtrlTreeView_GetTextColor GUICtrlTreeView_GetToolTips GUICtrlTreeView_GetTree GUICtrlTreeView_GetUnicodeFormat GUICtrlTreeView_GetVisible GUICtrlTreeView_GetVisibleCount GUICtrlTreeView_HitTest GUICtrlTreeView_HitTestEx GUICtrlTreeView_HitTestItem GUICtrlTreeView_Index GUICtrlTreeView_InsertItem GUICtrlTreeView_IsFirstItem GUICtrlTreeView_IsParent GUICtrlTreeView_Level GUICtrlTreeView_SelectItem GUICtrlTreeView_SelectItemByIndex GUICtrlTreeView_SetBkColor GUICtrlTreeView_SetBold GUICtrlTreeView_SetChecked GUICtrlTreeView_SetCheckedByIndex GUICtrlTreeView_SetChildren GUICtrlTreeView_SetCut GUICtrlTreeView_SetDropTarget GUICtrlTreeView_SetFocused GUICtrlTreeView_SetHeight GUICtrlTreeView_SetIcon GUICtrlTreeView_SetImageIndex GUICtrlTreeView_SetIndent GUICtrlTreeView_SetInsertMark GUICtrlTreeView_SetInsertMarkColor GUICtrlTreeView_SetItemHeight GUICtrlTreeView_SetItemParam GUICtrlTreeView_SetLineColor GUICtrlTreeView_SetNormalImageList GUICtrlTreeView_SetScrollTime GUICtrlTreeView_SetSelected GUICtrlTreeView_SetSelectedImageIndex GUICtrlTreeView_SetState GUICtrlTreeView_SetStateImageIndex GUICtrlTreeView_SetStateImageList GUICtrlTreeView_SetText GUICtrlTreeView_SetTextColor GUICtrlTreeView_SetToolTips GUICtrlTreeView_SetUnicodeFormat GUICtrlTreeView_Sort GUIImageList_Add GUIImageList_AddBitmap GUIImageList_AddIcon GUIImageList_AddMasked GUIImageList_BeginDrag GUIImageList_Copy GUIImageList_Create GUIImageList_Destroy GUIImageList_DestroyIcon GUIImageList_DragEnter GUIImageList_DragLeave GUIImageList_DragMove GUIImageList_Draw GUIImageList_DrawEx GUIImageList_Duplicate GUIImageList_EndDrag GUIImageList_GetBkColor GUIImageList_GetIcon GUIImageList_GetIconHeight GUIImageList_GetIconSize GUIImageList_GetIconSizeEx GUIImageList_GetIconWidth GUIImageList_GetImageCount GUIImageList_GetImageInfoEx GUIImageList_Remove GUIImageList_ReplaceIcon GUIImageList_SetBkColor GUIImageList_SetIconSize GUIImageList_SetImageCount GUIImageList_Swap GUIScrollBars_EnableScrollBar GUIScrollBars_GetScrollBarInfoEx GUIScrollBars_GetScrollBarRect GUIScrollBars_GetScrollBarRGState GUIScrollBars_GetScrollBarXYLineButton GUIScrollBars_GetScrollBarXYThumbBottom GUIScrollBars_GetScrollBarXYThumbTop GUIScrollBars_GetScrollInfo GUIScrollBars_GetScrollInfoEx GUIScrollBars_GetScrollInfoMax GUIScrollBars_GetScrollInfoMin GUIScrollBars_GetScrollInfoPage GUIScrollBars_GetScrollInfoPos GUIScrollBars_GetScrollInfoTrackPos GUIScrollBars_GetScrollPos GUIScrollBars_GetScrollRange GUIScrollBars_Init GUIScrollBars_ScrollWindow GUIScrollBars_SetScrollInfo GUIScrollBars_SetScrollInfoMax GUIScrollBars_SetScrollInfoMin GUIScrollBars_SetScrollInfoPage GUIScrollBars_SetScrollInfoPos GUIScrollBars_SetScrollRange GUIScrollBars_ShowScrollBar GUIToolTip_Activate GUIToolTip_AddTool GUIToolTip_AdjustRect GUIToolTip_BitsToTTF GUIToolTip_Create GUIToolTip_Deactivate GUIToolTip_DelTool GUIToolTip_Destroy GUIToolTip_EnumTools GUIToolTip_GetBubbleHeight GUIToolTip_GetBubbleSize GUIToolTip_GetBubbleWidth GUIToolTip_GetCurrentTool GUIToolTip_GetDelayTime GUIToolTip_GetMargin GUIToolTip_GetMarginEx GUIToolTip_GetMaxTipWidth GUIToolTip_GetText GUIToolTip_GetTipBkColor GUIToolTip_GetTipTextColor GUIToolTip_GetTitleBitMap GUIToolTip_GetTitleText GUIToolTip_GetToolCount GUIToolTip_GetToolInfo GUIToolTip_HitTest GUIToolTip_NewToolRect GUIToolTip_Pop GUIToolTip_PopUp GUIToolTip_SetDelayTime GUIToolTip_SetMargin GUIToolTip_SetMaxTipWidth GUIToolTip_SetTipBkColor GUIToolTip_SetTipTextColor GUIToolTip_SetTitle GUIToolTip_SetToolInfo GUIToolTip_SetWindowTheme GUIToolTip_ToolExists GUIToolTip_ToolToArray GUIToolTip_TrackActivate GUIToolTip_TrackPosition GUIToolTip_Update GUIToolTip_UpdateTipText HexToString IEAction IEAttach IEBodyReadHTML IEBodyReadText IEBodyWriteHTML IECreate IECreateEmbedded IEDocGetObj IEDocInsertHTML IEDocInsertText IEDocReadHTML IEDocWriteHTML IEErrorNotify IEFormElementCheckBoxSelect IEFormElementGetCollection IEFormElementGetObjByName IEFormElementGetValue IEFormElementOptionSelect IEFormElementRadioSelect IEFormElementSetValue IEFormGetCollection IEFormGetObjByName IEFormImageClick IEFormReset IEFormSubmit IEFrameGetCollection IEFrameGetObjByName IEGetObjById IEGetObjByName IEHeadInsertEventScript IEImgClick IEImgGetCollection IEIsFrameSet IELinkClickByIndex IELinkClickByText IELinkGetCollection IELoadWait IELoadWaitTimeout IENavigate IEPropertyGet IEPropertySet IEQuit IETableGetCollection IETableWriteToArray IETagNameAllGetCollection IETagNameGetCollection IE_Example IE_Introduction IE_VersionInfo INetExplorerCapable INetGetSource INetMail INetSmtpMail IsPressed MathCheckDiv Max MemGlobalAlloc MemGlobalFree MemGlobalLock MemGlobalSize MemGlobalUnlock MemMoveMemory MemVirtualAlloc MemVirtualAllocEx MemVirtualFree MemVirtualFreeEx Min MouseTrap NamedPipes_CallNamedPipe NamedPipes_ConnectNamedPipe NamedPipes_CreateNamedPipe NamedPipes_CreatePipe NamedPipes_DisconnectNamedPipe NamedPipes_GetNamedPipeHandleState NamedPipes_GetNamedPipeInfo NamedPipes_PeekNamedPipe NamedPipes_SetNamedPipeHandleState NamedPipes_TransactNamedPipe NamedPipes_WaitNamedPipe Net_Share_ConnectionEnum Net_Share_FileClose Net_Share_FileEnum Net_Share_FileGetInfo Net_Share_PermStr Net_Share_ResourceStr Net_Share_SessionDel Net_Share_SessionEnum Net_Share_SessionGetInfo Net_Share_ShareAdd Net_Share_ShareCheck Net_Share_ShareDel Net_Share_ShareEnum Net_Share_ShareGetInfo Net_Share_ShareSetInfo Net_Share_StatisticsGetSvr Net_Share_StatisticsGetWrk Now NowCalc NowCalcDate NowDate NowTime PathFull PathGetRelative PathMake PathSplit ProcessGetName ProcessGetPriority Radian ReplaceStringInFile RunDos ScreenCapture_Capture ScreenCapture_CaptureWnd ScreenCapture_SaveImage ScreenCapture_SetBMPFormat ScreenCapture_SetJPGQuality ScreenCapture_SetTIFColorDepth ScreenCapture_SetTIFCompression Security__AdjustTokenPrivileges Security__CreateProcessWithToken Security__DuplicateTokenEx Security__GetAccountSid Security__GetLengthSid Security__GetTokenInformation Security__ImpersonateSelf Security__IsValidSid Security__LookupAccountName Security__LookupAccountSid Security__LookupPrivilegeValue Security__OpenProcessToken Security__OpenThreadToken Security__OpenThreadTokenEx Security__SetPrivilege Security__SetTokenInformation Security__SidToStringSid Security__SidTypeStr Security__StringSidToSid SendMessage SendMessageA SetDate SetTime Singleton SoundClose SoundLength SoundOpen SoundPause SoundPlay SoundPos SoundResume SoundSeek SoundStatus SoundStop SQLite_Changes SQLite_Close SQLite_Display2DResult SQLite_Encode SQLite_ErrCode SQLite_ErrMsg SQLite_Escape SQLite_Exec SQLite_FastEncode SQLite_FastEscape SQLite_FetchData SQLite_FetchNames SQLite_GetTable SQLite_GetTable2d SQLite_LastInsertRowID SQLite_LibVersion SQLite_Open SQLite_Query SQLite_QueryFinalize SQLite_QueryReset SQLite_QuerySingleRow SQLite_SafeMode SQLite_SetTimeout SQLite_Shutdown SQLite_SQLiteExe SQLite_Startup SQLite_TotalChanges StringBetween StringExplode StringInsert StringProper StringRepeat StringTitleCase StringToHex TCPIpToName TempFile TicksToTime Timer_Diff Timer_GetIdleTime Timer_GetTimerID Timer_Init Timer_KillAllTimers Timer_KillTimer Timer_SetTimer TimeToTicks VersionCompare viClose viExecCommand viFindGpib viGpibBusReset viGTL viInteractiveControl viOpen viSetAttribute viSetTimeout WeekNumberISO WinAPI_AbortPath WinAPI_ActivateKeyboardLayout WinAPI_AddClipboardFormatListener WinAPI_AddFontMemResourceEx WinAPI_AddFontResourceEx WinAPI_AddIconOverlay WinAPI_AddIconTransparency WinAPI_AddMRUString WinAPI_AdjustBitmap WinAPI_AdjustTokenPrivileges WinAPI_AdjustWindowRectEx WinAPI_AlphaBlend WinAPI_AngleArc WinAPI_AnimateWindow WinAPI_Arc WinAPI_ArcTo WinAPI_ArrayToStruct WinAPI_AssignProcessToJobObject WinAPI_AssocGetPerceivedType WinAPI_AssocQueryString WinAPI_AttachConsole WinAPI_AttachThreadInput WinAPI_BackupRead WinAPI_BackupReadAbort WinAPI_BackupSeek WinAPI_BackupWrite WinAPI_BackupWriteAbort WinAPI_Beep WinAPI_BeginBufferedPaint WinAPI_BeginDeferWindowPos WinAPI_BeginPaint WinAPI_BeginPath WinAPI_BeginUpdateResource WinAPI_BitBlt WinAPI_BringWindowToTop WinAPI_BroadcastSystemMessage WinAPI_BrowseForFolderDlg WinAPI_BufferedPaintClear WinAPI_BufferedPaintInit WinAPI_BufferedPaintSetAlpha WinAPI_BufferedPaintUnInit WinAPI_CallNextHookEx WinAPI_CallWindowProc WinAPI_CallWindowProcW WinAPI_CascadeWindows WinAPI_ChangeWindowMessageFilterEx WinAPI_CharToOem WinAPI_ChildWindowFromPointEx WinAPI_ClientToScreen WinAPI_ClipCursor WinAPI_CloseDesktop WinAPI_CloseEnhMetaFile WinAPI_CloseFigure WinAPI_CloseHandle WinAPI_CloseThemeData WinAPI_CloseWindow WinAPI_CloseWindowStation WinAPI_CLSIDFromProgID WinAPI_CoInitialize WinAPI_ColorAdjustLuma WinAPI_ColorHLSToRGB WinAPI_ColorRGBToHLS WinAPI_CombineRgn WinAPI_CombineTransform WinAPI_CommandLineToArgv WinAPI_CommDlgExtendedError WinAPI_CommDlgExtendedErrorEx WinAPI_CompareString WinAPI_CompressBitmapBits WinAPI_CompressBuffer WinAPI_ComputeCrc32 WinAPI_ConfirmCredentials WinAPI_CopyBitmap WinAPI_CopyCursor WinAPI_CopyEnhMetaFile WinAPI_CopyFileEx WinAPI_CopyIcon WinAPI_CopyImage WinAPI_CopyRect WinAPI_CopyStruct WinAPI_CoTaskMemAlloc WinAPI_CoTaskMemFree WinAPI_CoTaskMemRealloc WinAPI_CoUninitialize WinAPI_Create32BitHBITMAP WinAPI_Create32BitHICON WinAPI_CreateANDBitmap WinAPI_CreateBitmap WinAPI_CreateBitmapIndirect WinAPI_CreateBrushIndirect WinAPI_CreateBuffer WinAPI_CreateBufferFromStruct WinAPI_CreateCaret WinAPI_CreateColorAdjustment WinAPI_CreateCompatibleBitmap WinAPI_CreateCompatibleBitmapEx WinAPI_CreateCompatibleDC WinAPI_CreateDesktop WinAPI_CreateDIB WinAPI_CreateDIBColorTable WinAPI_CreateDIBitmap WinAPI_CreateDIBSection WinAPI_CreateDirectory WinAPI_CreateDirectoryEx WinAPI_CreateEllipticRgn WinAPI_CreateEmptyIcon WinAPI_CreateEnhMetaFile WinAPI_CreateEvent WinAPI_CreateFile WinAPI_CreateFileEx WinAPI_CreateFileMapping WinAPI_CreateFont WinAPI_CreateFontEx WinAPI_CreateFontIndirect WinAPI_CreateGUID WinAPI_CreateHardLink WinAPI_CreateIcon WinAPI_CreateIconFromResourceEx WinAPI_CreateIconIndirect WinAPI_CreateJobObject WinAPI_CreateMargins WinAPI_CreateMRUList WinAPI_CreateMutex WinAPI_CreateNullRgn WinAPI_CreateNumberFormatInfo WinAPI_CreateObjectID WinAPI_CreatePen WinAPI_CreatePoint WinAPI_CreatePolygonRgn WinAPI_CreateProcess WinAPI_CreateProcessWithToken WinAPI_CreateRect WinAPI_CreateRectEx WinAPI_CreateRectRgn WinAPI_CreateRectRgnIndirect WinAPI_CreateRoundRectRgn WinAPI_CreateSemaphore WinAPI_CreateSize WinAPI_CreateSolidBitmap WinAPI_CreateSolidBrush WinAPI_CreateStreamOnHGlobal WinAPI_CreateString WinAPI_CreateSymbolicLink WinAPI_CreateTransform WinAPI_CreateWindowEx WinAPI_CreateWindowStation WinAPI_DecompressBuffer WinAPI_DecryptFile WinAPI_DeferWindowPos WinAPI_DefineDosDevice WinAPI_DefRawInputProc WinAPI_DefSubclassProc WinAPI_DefWindowProc WinAPI_DefWindowProcW WinAPI_DeleteDC WinAPI_DeleteEnhMetaFile WinAPI_DeleteFile WinAPI_DeleteObject WinAPI_DeleteObjectID WinAPI_DeleteVolumeMountPoint WinAPI_DeregisterShellHookWindow WinAPI_DestroyCaret WinAPI_DestroyCursor WinAPI_DestroyIcon WinAPI_DestroyWindow WinAPI_DeviceIoControl WinAPI_DisplayStruct WinAPI_DllGetVersion WinAPI_DllInstall WinAPI_DllUninstall WinAPI_DPtoLP WinAPI_DragAcceptFiles WinAPI_DragFinish WinAPI_DragQueryFileEx WinAPI_DragQueryPoint WinAPI_DrawAnimatedRects WinAPI_DrawBitmap WinAPI_DrawEdge WinAPI_DrawFocusRect WinAPI_DrawFrameControl WinAPI_DrawIcon WinAPI_DrawIconEx WinAPI_DrawLine WinAPI_DrawShadowText WinAPI_DrawText WinAPI_DrawThemeBackground WinAPI_DrawThemeEdge WinAPI_DrawThemeIcon WinAPI_DrawThemeParentBackground WinAPI_DrawThemeText WinAPI_DrawThemeTextEx WinAPI_DuplicateEncryptionInfoFile WinAPI_DuplicateHandle WinAPI_DuplicateTokenEx WinAPI_DwmDefWindowProc WinAPI_DwmEnableBlurBehindWindow WinAPI_DwmEnableComposition WinAPI_DwmExtendFrameIntoClientArea WinAPI_DwmGetColorizationColor WinAPI_DwmGetColorizationParameters WinAPI_DwmGetWindowAttribute WinAPI_DwmInvalidateIconicBitmaps WinAPI_DwmIsCompositionEnabled WinAPI_DwmQueryThumbnailSourceSize WinAPI_DwmRegisterThumbnail WinAPI_DwmSetColorizationParameters WinAPI_DwmSetIconicLivePreviewBitmap WinAPI_DwmSetIconicThumbnail WinAPI_DwmSetWindowAttribute WinAPI_DwmUnregisterThumbnail WinAPI_DwmUpdateThumbnailProperties WinAPI_DWordToFloat WinAPI_DWordToInt WinAPI_EjectMedia WinAPI_Ellipse WinAPI_EmptyWorkingSet WinAPI_EnableWindow WinAPI_EncryptFile WinAPI_EncryptionDisable WinAPI_EndBufferedPaint WinAPI_EndDeferWindowPos WinAPI_EndPaint WinAPI_EndPath WinAPI_EndUpdateResource WinAPI_EnumChildProcess WinAPI_EnumChildWindows WinAPI_EnumDesktops WinAPI_EnumDesktopWindows WinAPI_EnumDeviceDrivers WinAPI_EnumDisplayDevices WinAPI_EnumDisplayMonitors WinAPI_EnumDisplaySettings WinAPI_EnumDllProc WinAPI_EnumFiles WinAPI_EnumFileStreams WinAPI_EnumFontFamilies WinAPI_EnumHardLinks WinAPI_EnumMRUList WinAPI_EnumPageFiles WinAPI_EnumProcessHandles WinAPI_EnumProcessModules WinAPI_EnumProcessThreads WinAPI_EnumProcessWindows WinAPI_EnumRawInputDevices WinAPI_EnumResourceLanguages WinAPI_EnumResourceNames WinAPI_EnumResourceTypes WinAPI_EnumSystemGeoID WinAPI_EnumSystemLocales WinAPI_EnumUILanguages WinAPI_EnumWindows WinAPI_EnumWindowsPopup WinAPI_EnumWindowStations WinAPI_EnumWindowsTop WinAPI_EqualMemory WinAPI_EqualRect WinAPI_EqualRgn WinAPI_ExcludeClipRect WinAPI_ExpandEnvironmentStrings WinAPI_ExtCreatePen WinAPI_ExtCreateRegion WinAPI_ExtFloodFill WinAPI_ExtractIcon WinAPI_ExtractIconEx WinAPI_ExtSelectClipRgn WinAPI_FatalAppExit WinAPI_FatalExit WinAPI_FileEncryptionStatus WinAPI_FileExists WinAPI_FileIconInit WinAPI_FileInUse WinAPI_FillMemory WinAPI_FillPath WinAPI_FillRect WinAPI_FillRgn WinAPI_FindClose WinAPI_FindCloseChangeNotification WinAPI_FindExecutable WinAPI_FindFirstChangeNotification WinAPI_FindFirstFile WinAPI_FindFirstFileName WinAPI_FindFirstStream WinAPI_FindNextChangeNotification WinAPI_FindNextFile WinAPI_FindNextFileName WinAPI_FindNextStream WinAPI_FindResource WinAPI_FindResourceEx WinAPI_FindTextDlg WinAPI_FindWindow WinAPI_FlashWindow WinAPI_FlashWindowEx WinAPI_FlattenPath WinAPI_FloatToDWord WinAPI_FloatToInt WinAPI_FlushFileBuffers WinAPI_FlushFRBuffer WinAPI_FlushViewOfFile WinAPI_FormatDriveDlg WinAPI_FormatMessage WinAPI_FrameRect WinAPI_FrameRgn WinAPI_FreeLibrary WinAPI_FreeMemory WinAPI_FreeMRUList WinAPI_FreeResource WinAPI_GdiComment WinAPI_GetActiveWindow WinAPI_GetAllUsersProfileDirectory WinAPI_GetAncestor WinAPI_GetApplicationRestartSettings WinAPI_GetArcDirection WinAPI_GetAsyncKeyState WinAPI_GetBinaryType WinAPI_GetBitmapBits WinAPI_GetBitmapDimension WinAPI_GetBitmapDimensionEx WinAPI_GetBkColor WinAPI_GetBkMode WinAPI_GetBoundsRect WinAPI_GetBrushOrg WinAPI_GetBufferedPaintBits WinAPI_GetBufferedPaintDC WinAPI_GetBufferedPaintTargetDC WinAPI_GetBufferedPaintTargetRect WinAPI_GetBValue WinAPI_GetCaretBlinkTime WinAPI_GetCaretPos WinAPI_GetCDType WinAPI_GetClassInfoEx WinAPI_GetClassLongEx WinAPI_GetClassName WinAPI_GetClientHeight WinAPI_GetClientRect WinAPI_GetClientWidth WinAPI_GetClipboardSequenceNumber WinAPI_GetClipBox WinAPI_GetClipCursor WinAPI_GetClipRgn WinAPI_GetColorAdjustment WinAPI_GetCompressedFileSize WinAPI_GetCompression WinAPI_GetConnectedDlg WinAPI_GetCurrentDirectory WinAPI_GetCurrentHwProfile WinAPI_GetCurrentObject WinAPI_GetCurrentPosition WinAPI_GetCurrentProcess WinAPI_GetCurrentProcessExplicitAppUserModelID WinAPI_GetCurrentProcessID WinAPI_GetCurrentThemeName WinAPI_GetCurrentThread WinAPI_GetCurrentThreadId WinAPI_GetCursor WinAPI_GetCursorInfo WinAPI_GetDateFormat WinAPI_GetDC WinAPI_GetDCEx WinAPI_GetDefaultPrinter WinAPI_GetDefaultUserProfileDirectory WinAPI_GetDesktopWindow WinAPI_GetDeviceCaps WinAPI_GetDeviceDriverBaseName WinAPI_GetDeviceDriverFileName WinAPI_GetDeviceGammaRamp WinAPI_GetDIBColorTable WinAPI_GetDIBits WinAPI_GetDiskFreeSpaceEx WinAPI_GetDlgCtrlID WinAPI_GetDlgItem WinAPI_GetDllDirectory WinAPI_GetDriveBusType WinAPI_GetDriveGeometryEx WinAPI_GetDriveNumber WinAPI_GetDriveType WinAPI_GetDurationFormat WinAPI_GetEffectiveClientRect WinAPI_GetEnhMetaFile WinAPI_GetEnhMetaFileBits WinAPI_GetEnhMetaFileDescription WinAPI_GetEnhMetaFileDimension WinAPI_GetEnhMetaFileHeader WinAPI_GetErrorMessage WinAPI_GetErrorMode WinAPI_GetExitCodeProcess WinAPI_GetExtended WinAPI_GetFileAttributes WinAPI_GetFileID WinAPI_GetFileInformationByHandle WinAPI_GetFileInformationByHandleEx WinAPI_GetFilePointerEx WinAPI_GetFileSizeEx WinAPI_GetFileSizeOnDisk WinAPI_GetFileTitle WinAPI_GetFileType WinAPI_GetFileVersionInfo WinAPI_GetFinalPathNameByHandle WinAPI_GetFinalPathNameByHandleEx WinAPI_GetFocus WinAPI_GetFontMemoryResourceInfo WinAPI_GetFontName WinAPI_GetFontResourceInfo WinAPI_GetForegroundWindow WinAPI_GetFRBuffer WinAPI_GetFullPathName WinAPI_GetGeoInfo WinAPI_GetGlyphOutline WinAPI_GetGraphicsMode WinAPI_GetGuiResources WinAPI_GetGUIThreadInfo WinAPI_GetGValue WinAPI_GetHandleInformation WinAPI_GetHGlobalFromStream WinAPI_GetIconDimension WinAPI_GetIconInfo WinAPI_GetIconInfoEx WinAPI_GetIdleTime WinAPI_GetKeyboardLayout WinAPI_GetKeyboardLayoutList WinAPI_GetKeyboardState WinAPI_GetKeyboardType WinAPI_GetKeyNameText WinAPI_GetKeyState WinAPI_GetLastActivePopup WinAPI_GetLastError WinAPI_GetLastErrorMessage WinAPI_GetLayeredWindowAttributes WinAPI_GetLocaleInfo WinAPI_GetLogicalDrives WinAPI_GetMapMode WinAPI_GetMemorySize WinAPI_GetMessageExtraInfo WinAPI_GetModuleFileNameEx WinAPI_GetModuleHandle WinAPI_GetModuleHandleEx WinAPI_GetModuleInformation WinAPI_GetMonitorInfo WinAPI_GetMousePos WinAPI_GetMousePosX WinAPI_GetMousePosY WinAPI_GetMUILanguage WinAPI_GetNumberFormat WinAPI_GetObject WinAPI_GetObjectID WinAPI_GetObjectInfoByHandle WinAPI_GetObjectNameByHandle WinAPI_GetObjectType WinAPI_GetOpenFileName WinAPI_GetOutlineTextMetrics WinAPI_GetOverlappedResult WinAPI_GetParent WinAPI_GetParentProcess WinAPI_GetPerformanceInfo WinAPI_GetPEType WinAPI_GetPhysicallyInstalledSystemMemory WinAPI_GetPixel WinAPI_GetPolyFillMode WinAPI_GetPosFromRect WinAPI_GetPriorityClass WinAPI_GetProcAddress WinAPI_GetProcessAffinityMask WinAPI_GetProcessCommandLine WinAPI_GetProcessFileName WinAPI_GetProcessHandleCount WinAPI_GetProcessID WinAPI_GetProcessIoCounters WinAPI_GetProcessMemoryInfo WinAPI_GetProcessName WinAPI_GetProcessShutdownParameters WinAPI_GetProcessTimes WinAPI_GetProcessUser WinAPI_GetProcessWindowStation WinAPI_GetProcessWorkingDirectory WinAPI_GetProfilesDirectory WinAPI_GetPwrCapabilities WinAPI_GetRawInputBuffer WinAPI_GetRawInputBufferLength WinAPI_GetRawInputData WinAPI_GetRawInputDeviceInfo WinAPI_GetRegionData WinAPI_GetRegisteredRawInputDevices WinAPI_GetRegKeyNameByHandle WinAPI_GetRgnBox WinAPI_GetROP2 WinAPI_GetRValue WinAPI_GetSaveFileName WinAPI_GetShellWindow WinAPI_GetStartupInfo WinAPI_GetStdHandle WinAPI_GetStockObject WinAPI_GetStretchBltMode WinAPI_GetString WinAPI_GetSysColor WinAPI_GetSysColorBrush WinAPI_GetSystemDefaultLangID WinAPI_GetSystemDefaultLCID WinAPI_GetSystemDefaultUILanguage WinAPI_GetSystemDEPPolicy WinAPI_GetSystemInfo WinAPI_GetSystemMetrics WinAPI_GetSystemPowerStatus WinAPI_GetSystemTimes WinAPI_GetSystemWow64Directory WinAPI_GetTabbedTextExtent WinAPI_GetTempFileName WinAPI_GetTextAlign WinAPI_GetTextCharacterExtra WinAPI_GetTextColor WinAPI_GetTextExtentPoint32 WinAPI_GetTextFace WinAPI_GetTextMetrics WinAPI_GetThemeAppProperties WinAPI_GetThemeBackgroundContentRect WinAPI_GetThemeBackgroundExtent WinAPI_GetThemeBackgroundRegion WinAPI_GetThemeBitmap WinAPI_GetThemeBool WinAPI_GetThemeColor WinAPI_GetThemeDocumentationProperty WinAPI_GetThemeEnumValue WinAPI_GetThemeFilename WinAPI_GetThemeFont WinAPI_GetThemeInt WinAPI_GetThemeMargins WinAPI_GetThemeMetric WinAPI_GetThemePartSize WinAPI_GetThemePosition WinAPI_GetThemePropertyOrigin WinAPI_GetThemeRect WinAPI_GetThemeString WinAPI_GetThemeSysBool WinAPI_GetThemeSysColor WinAPI_GetThemeSysColorBrush WinAPI_GetThemeSysFont WinAPI_GetThemeSysInt WinAPI_GetThemeSysSize WinAPI_GetThemeSysString WinAPI_GetThemeTextExtent WinAPI_GetThemeTextMetrics WinAPI_GetThemeTransitionDuration WinAPI_GetThreadDesktop WinAPI_GetThreadErrorMode WinAPI_GetThreadLocale WinAPI_GetThreadUILanguage WinAPI_GetTickCount WinAPI_GetTickCount64 WinAPI_GetTimeFormat WinAPI_GetTopWindow WinAPI_GetUDFColorMode WinAPI_GetUpdateRect WinAPI_GetUpdateRgn WinAPI_GetUserDefaultLangID WinAPI_GetUserDefaultLCID WinAPI_GetUserDefaultUILanguage WinAPI_GetUserGeoID WinAPI_GetUserObjectInformation WinAPI_GetVersion WinAPI_GetVersionEx WinAPI_GetVolumeInformation WinAPI_GetVolumeInformationByHandle WinAPI_GetVolumeNameForVolumeMountPoint WinAPI_GetWindow WinAPI_GetWindowDC WinAPI_GetWindowDisplayAffinity WinAPI_GetWindowExt WinAPI_GetWindowFileName WinAPI_GetWindowHeight WinAPI_GetWindowInfo WinAPI_GetWindowLong WinAPI_GetWindowOrg WinAPI_GetWindowPlacement WinAPI_GetWindowRect WinAPI_GetWindowRgn WinAPI_GetWindowRgnBox WinAPI_GetWindowSubclass WinAPI_GetWindowText WinAPI_GetWindowTheme WinAPI_GetWindowThreadProcessId WinAPI_GetWindowWidth WinAPI_GetWorkArea WinAPI_GetWorldTransform WinAPI_GetXYFromPoint WinAPI_GlobalMemoryStatus WinAPI_GradientFill WinAPI_GUIDFromString WinAPI_GUIDFromStringEx WinAPI_HashData WinAPI_HashString WinAPI_HiByte WinAPI_HideCaret WinAPI_HiDWord WinAPI_HiWord WinAPI_InflateRect WinAPI_InitMUILanguage WinAPI_InProcess WinAPI_IntersectClipRect WinAPI_IntersectRect WinAPI_IntToDWord WinAPI_IntToFloat WinAPI_InvalidateRect WinAPI_InvalidateRgn WinAPI_InvertANDBitmap WinAPI_InvertColor WinAPI_InvertRect WinAPI_InvertRgn WinAPI_IOCTL WinAPI_IsAlphaBitmap WinAPI_IsBadCodePtr WinAPI_IsBadReadPtr WinAPI_IsBadStringPtr WinAPI_IsBadWritePtr WinAPI_IsChild WinAPI_IsClassName WinAPI_IsDoorOpen WinAPI_IsElevated WinAPI_IsHungAppWindow WinAPI_IsIconic WinAPI_IsInternetConnected WinAPI_IsLoadKBLayout WinAPI_IsMemory WinAPI_IsNameInExpression WinAPI_IsNetworkAlive WinAPI_IsPathShared WinAPI_IsProcessInJob WinAPI_IsProcessorFeaturePresent WinAPI_IsRectEmpty WinAPI_IsThemeActive WinAPI_IsThemeBackgroundPartiallyTransparent WinAPI_IsThemePartDefined WinAPI_IsValidLocale WinAPI_IsWindow WinAPI_IsWindowEnabled WinAPI_IsWindowUnicode WinAPI_IsWindowVisible WinAPI_IsWow64Process WinAPI_IsWritable WinAPI_IsZoomed WinAPI_Keybd_Event WinAPI_KillTimer WinAPI_LineDDA WinAPI_LineTo WinAPI_LoadBitmap WinAPI_LoadCursor WinAPI_LoadCursorFromFile WinAPI_LoadIcon WinAPI_LoadIconMetric WinAPI_LoadIconWithScaleDown WinAPI_LoadImage WinAPI_LoadIndirectString WinAPI_LoadKeyboardLayout WinAPI_LoadLibrary WinAPI_LoadLibraryEx WinAPI_LoadMedia WinAPI_LoadResource WinAPI_LoadShell32Icon WinAPI_LoadString WinAPI_LoadStringEx WinAPI_LoByte WinAPI_LocalFree WinAPI_LockDevice WinAPI_LockFile WinAPI_LockResource WinAPI_LockWindowUpdate WinAPI_LockWorkStation WinAPI_LoDWord WinAPI_LongMid WinAPI_LookupIconIdFromDirectoryEx WinAPI_LoWord WinAPI_LPtoDP WinAPI_MAKELANGID WinAPI_MAKELCID WinAPI_MakeLong WinAPI_MakeQWord WinAPI_MakeWord WinAPI_MapViewOfFile WinAPI_MapVirtualKey WinAPI_MaskBlt WinAPI_MessageBeep WinAPI_MessageBoxCheck WinAPI_MessageBoxIndirect WinAPI_MirrorIcon WinAPI_ModifyWorldTransform WinAPI_MonitorFromPoint WinAPI_MonitorFromRect WinAPI_MonitorFromWindow WinAPI_Mouse_Event WinAPI_MoveFileEx WinAPI_MoveMemory WinAPI_MoveTo WinAPI_MoveToEx WinAPI_MoveWindow WinAPI_MsgBox WinAPI_MulDiv WinAPI_MultiByteToWideChar WinAPI_MultiByteToWideCharEx WinAPI_NtStatusToDosError WinAPI_OemToChar WinAPI_OffsetClipRgn WinAPI_OffsetPoints WinAPI_OffsetRect WinAPI_OffsetRgn WinAPI_OffsetWindowOrg WinAPI_OpenDesktop WinAPI_OpenFileById WinAPI_OpenFileDlg WinAPI_OpenFileMapping WinAPI_OpenIcon WinAPI_OpenInputDesktop WinAPI_OpenJobObject WinAPI_OpenMutex WinAPI_OpenProcess WinAPI_OpenProcessToken WinAPI_OpenSemaphore WinAPI_OpenThemeData WinAPI_OpenWindowStation WinAPI_PageSetupDlg WinAPI_PaintDesktop WinAPI_PaintRgn WinAPI_ParseURL WinAPI_ParseUserName WinAPI_PatBlt WinAPI_PathAddBackslash WinAPI_PathAddExtension WinAPI_PathAppend WinAPI_PathBuildRoot WinAPI_PathCanonicalize WinAPI_PathCommonPrefix WinAPI_PathCompactPath WinAPI_PathCompactPathEx WinAPI_PathCreateFromUrl WinAPI_PathFindExtension WinAPI_PathFindFileName WinAPI_PathFindNextComponent WinAPI_PathFindOnPath WinAPI_PathGetArgs WinAPI_PathGetCharType WinAPI_PathGetDriveNumber WinAPI_PathIsContentType WinAPI_PathIsDirectory WinAPI_PathIsDirectoryEmpty WinAPI_PathIsExe WinAPI_PathIsFileSpec WinAPI_PathIsLFNFileSpec WinAPI_PathIsRelative WinAPI_PathIsRoot WinAPI_PathIsSameRoot WinAPI_PathIsSystemFolder WinAPI_PathIsUNC WinAPI_PathIsUNCServer WinAPI_PathIsUNCServerShare WinAPI_PathMakeSystemFolder WinAPI_PathMatchSpec WinAPI_PathParseIconLocation WinAPI_PathRelativePathTo WinAPI_PathRemoveArgs WinAPI_PathRemoveBackslash WinAPI_PathRemoveExtension WinAPI_PathRemoveFileSpec WinAPI_PathRenameExtension WinAPI_PathSearchAndQualify WinAPI_PathSkipRoot WinAPI_PathStripPath WinAPI_PathStripToRoot WinAPI_PathToRegion WinAPI_PathUndecorate WinAPI_PathUnExpandEnvStrings WinAPI_PathUnmakeSystemFolder WinAPI_PathUnquoteSpaces WinAPI_PathYetAnotherMakeUniqueName WinAPI_PickIconDlg WinAPI_PlayEnhMetaFile WinAPI_PlaySound WinAPI_PlgBlt WinAPI_PointFromRect WinAPI_PolyBezier WinAPI_PolyBezierTo WinAPI_PolyDraw WinAPI_Polygon WinAPI_PostMessage WinAPI_PrimaryLangId WinAPI_PrintDlg WinAPI_PrintDlgEx WinAPI_PrintWindow WinAPI_ProgIDFromCLSID WinAPI_PtInRect WinAPI_PtInRectEx WinAPI_PtInRegion WinAPI_PtVisible WinAPI_QueryDosDevice WinAPI_QueryInformationJobObject WinAPI_QueryPerformanceCounter WinAPI_QueryPerformanceFrequency WinAPI_RadialGradientFill WinAPI_ReadDirectoryChanges WinAPI_ReadFile WinAPI_ReadProcessMemory WinAPI_Rectangle WinAPI_RectInRegion WinAPI_RectIsEmpty WinAPI_RectVisible WinAPI_RedrawWindow WinAPI_RegCloseKey WinAPI_RegConnectRegistry WinAPI_RegCopyTree WinAPI_RegCopyTreeEx WinAPI_RegCreateKey WinAPI_RegDeleteEmptyKey WinAPI_RegDeleteKey WinAPI_RegDeleteKeyValue WinAPI_RegDeleteTree WinAPI_RegDeleteTreeEx WinAPI_RegDeleteValue WinAPI_RegDisableReflectionKey WinAPI_RegDuplicateHKey WinAPI_RegEnableReflectionKey WinAPI_RegEnumKey WinAPI_RegEnumValue WinAPI_RegFlushKey WinAPI_RegisterApplicationRestart WinAPI_RegisterClass WinAPI_RegisterClassEx WinAPI_RegisterHotKey WinAPI_RegisterPowerSettingNotification WinAPI_RegisterRawInputDevices WinAPI_RegisterShellHookWindow WinAPI_RegisterWindowMessage WinAPI_RegLoadMUIString WinAPI_RegNotifyChangeKeyValue WinAPI_RegOpenKey WinAPI_RegQueryInfoKey WinAPI_RegQueryLastWriteTime WinAPI_RegQueryMultipleValues WinAPI_RegQueryReflectionKey WinAPI_RegQueryValue WinAPI_RegRestoreKey WinAPI_RegSaveKey WinAPI_RegSetValue WinAPI_ReleaseCapture WinAPI_ReleaseDC WinAPI_ReleaseMutex WinAPI_ReleaseSemaphore WinAPI_ReleaseStream WinAPI_RemoveClipboardFormatListener WinAPI_RemoveDirectory WinAPI_RemoveFontMemResourceEx WinAPI_RemoveFontResourceEx WinAPI_RemoveWindowSubclass WinAPI_ReOpenFile WinAPI_ReplaceFile WinAPI_ReplaceTextDlg WinAPI_ResetEvent WinAPI_RestartDlg WinAPI_RestoreDC WinAPI_RGB WinAPI_RotatePoints WinAPI_RoundRect WinAPI_SaveDC WinAPI_SaveFileDlg WinAPI_SaveHBITMAPToFile WinAPI_SaveHICONToFile WinAPI_ScaleWindowExt WinAPI_ScreenToClient WinAPI_SearchPath WinAPI_SelectClipPath WinAPI_SelectClipRgn WinAPI_SelectObject WinAPI_SendMessageTimeout WinAPI_SetActiveWindow WinAPI_SetArcDirection WinAPI_SetBitmapBits WinAPI_SetBitmapDimensionEx WinAPI_SetBkColor WinAPI_SetBkMode WinAPI_SetBoundsRect WinAPI_SetBrushOrg WinAPI_SetCapture WinAPI_SetCaretBlinkTime WinAPI_SetCaretPos WinAPI_SetClassLongEx WinAPI_SetColorAdjustment WinAPI_SetCompression WinAPI_SetCurrentDirectory WinAPI_SetCurrentProcessExplicitAppUserModelID WinAPI_SetCursor WinAPI_SetDCBrushColor WinAPI_SetDCPenColor WinAPI_SetDefaultPrinter WinAPI_SetDeviceGammaRamp WinAPI_SetDIBColorTable WinAPI_SetDIBits WinAPI_SetDIBitsToDevice WinAPI_SetDllDirectory WinAPI_SetEndOfFile WinAPI_SetEnhMetaFileBits WinAPI_SetErrorMode WinAPI_SetEvent WinAPI_SetFileAttributes WinAPI_SetFileInformationByHandleEx WinAPI_SetFilePointer WinAPI_SetFilePointerEx WinAPI_SetFileShortName WinAPI_SetFileValidData WinAPI_SetFocus WinAPI_SetFont WinAPI_SetForegroundWindow WinAPI_SetFRBuffer WinAPI_SetGraphicsMode WinAPI_SetHandleInformation WinAPI_SetInformationJobObject WinAPI_SetKeyboardLayout WinAPI_SetKeyboardState WinAPI_SetLastError WinAPI_SetLayeredWindowAttributes WinAPI_SetLocaleInfo WinAPI_SetMapMode WinAPI_SetMessageExtraInfo WinAPI_SetParent WinAPI_SetPixel WinAPI_SetPolyFillMode WinAPI_SetPriorityClass WinAPI_SetProcessAffinityMask WinAPI_SetProcessShutdownParameters WinAPI_SetProcessWindowStation WinAPI_SetRectRgn WinAPI_SetROP2 WinAPI_SetSearchPathMode WinAPI_SetStretchBltMode WinAPI_SetSysColors WinAPI_SetSystemCursor WinAPI_SetTextAlign WinAPI_SetTextCharacterExtra WinAPI_SetTextColor WinAPI_SetTextJustification WinAPI_SetThemeAppProperties WinAPI_SetThreadDesktop WinAPI_SetThreadErrorMode WinAPI_SetThreadExecutionState WinAPI_SetThreadLocale WinAPI_SetThreadUILanguage WinAPI_SetTimer WinAPI_SetUDFColorMode WinAPI_SetUserGeoID WinAPI_SetUserObjectInformation WinAPI_SetVolumeMountPoint WinAPI_SetWindowDisplayAffinity WinAPI_SetWindowExt WinAPI_SetWindowLong WinAPI_SetWindowOrg WinAPI_SetWindowPlacement WinAPI_SetWindowPos WinAPI_SetWindowRgn WinAPI_SetWindowsHookEx WinAPI_SetWindowSubclass WinAPI_SetWindowText WinAPI_SetWindowTheme WinAPI_SetWinEventHook WinAPI_SetWorldTransform WinAPI_SfcIsFileProtected WinAPI_SfcIsKeyProtected WinAPI_ShellAboutDlg WinAPI_ShellAddToRecentDocs WinAPI_ShellChangeNotify WinAPI_ShellChangeNotifyDeregister WinAPI_ShellChangeNotifyRegister WinAPI_ShellCreateDirectory WinAPI_ShellEmptyRecycleBin WinAPI_ShellExecute WinAPI_ShellExecuteEx WinAPI_ShellExtractAssociatedIcon WinAPI_ShellExtractIcon WinAPI_ShellFileOperation WinAPI_ShellFlushSFCache WinAPI_ShellGetFileInfo WinAPI_ShellGetIconOverlayIndex WinAPI_ShellGetImageList WinAPI_ShellGetKnownFolderIDList WinAPI_ShellGetKnownFolderPath WinAPI_ShellGetLocalizedName WinAPI_ShellGetPathFromIDList WinAPI_ShellGetSetFolderCustomSettings WinAPI_ShellGetSettings WinAPI_ShellGetSpecialFolderLocation WinAPI_ShellGetSpecialFolderPath WinAPI_ShellGetStockIconInfo WinAPI_ShellILCreateFromPath WinAPI_ShellNotifyIcon WinAPI_ShellNotifyIconGetRect WinAPI_ShellObjectProperties WinAPI_ShellOpenFolderAndSelectItems WinAPI_ShellOpenWithDlg WinAPI_ShellQueryRecycleBin WinAPI_ShellQueryUserNotificationState WinAPI_ShellRemoveLocalizedName WinAPI_ShellRestricted WinAPI_ShellSetKnownFolderPath WinAPI_ShellSetLocalizedName WinAPI_ShellSetSettings WinAPI_ShellStartNetConnectionDlg WinAPI_ShellUpdateImage WinAPI_ShellUserAuthenticationDlg WinAPI_ShellUserAuthenticationDlgEx WinAPI_ShortToWord WinAPI_ShowCaret WinAPI_ShowCursor WinAPI_ShowError WinAPI_ShowLastError WinAPI_ShowMsg WinAPI_ShowOwnedPopups WinAPI_ShowWindow WinAPI_ShutdownBlockReasonCreate WinAPI_ShutdownBlockReasonDestroy WinAPI_ShutdownBlockReasonQuery WinAPI_SizeOfResource WinAPI_StretchBlt WinAPI_StretchDIBits WinAPI_StrFormatByteSize WinAPI_StrFormatByteSizeEx WinAPI_StrFormatKBSize WinAPI_StrFromTimeInterval WinAPI_StringFromGUID WinAPI_StringLenA WinAPI_StringLenW WinAPI_StrLen WinAPI_StrokeAndFillPath WinAPI_StrokePath WinAPI_StructToArray WinAPI_SubLangId WinAPI_SubtractRect WinAPI_SwapDWord WinAPI_SwapQWord WinAPI_SwapWord WinAPI_SwitchColor WinAPI_SwitchDesktop WinAPI_SwitchToThisWindow WinAPI_SystemParametersInfo WinAPI_TabbedTextOut WinAPI_TerminateJobObject WinAPI_TerminateProcess WinAPI_TextOut WinAPI_TileWindows WinAPI_TrackMouseEvent WinAPI_TransparentBlt WinAPI_TwipsPerPixelX WinAPI_TwipsPerPixelY WinAPI_UnhookWindowsHookEx WinAPI_UnhookWinEvent WinAPI_UnionRect WinAPI_UnionStruct WinAPI_UniqueHardwareID WinAPI_UnloadKeyboardLayout WinAPI_UnlockFile WinAPI_UnmapViewOfFile WinAPI_UnregisterApplicationRestart WinAPI_UnregisterClass WinAPI_UnregisterHotKey WinAPI_UnregisterPowerSettingNotification WinAPI_UpdateLayeredWindow WinAPI_UpdateLayeredWindowEx WinAPI_UpdateLayeredWindowIndirect WinAPI_UpdateResource WinAPI_UpdateWindow WinAPI_UrlApplyScheme WinAPI_UrlCanonicalize WinAPI_UrlCombine WinAPI_UrlCompare WinAPI_UrlCreateFromPath WinAPI_UrlFixup WinAPI_UrlGetPart WinAPI_UrlHash WinAPI_UrlIs WinAPI_UserHandleGrantAccess WinAPI_ValidateRect WinAPI_ValidateRgn WinAPI_VerQueryRoot WinAPI_VerQueryValue WinAPI_VerQueryValueEx WinAPI_WaitForInputIdle WinAPI_WaitForMultipleObjects WinAPI_WaitForSingleObject WinAPI_WideCharToMultiByte WinAPI_WidenPath WinAPI_WindowFromDC WinAPI_WindowFromPoint WinAPI_WordToShort WinAPI_Wow64EnableWow64FsRedirection WinAPI_WriteConsole WinAPI_WriteFile WinAPI_WriteProcessMemory WinAPI_ZeroMemory WinNet_AddConnection WinNet_AddConnection2 WinNet_AddConnection3 WinNet_CancelConnection WinNet_CancelConnection2 WinNet_CloseEnum WinNet_ConnectionDialog WinNet_ConnectionDialog1 WinNet_DisconnectDialog WinNet_DisconnectDialog1 WinNet_EnumResource WinNet_GetConnection WinNet_GetConnectionPerformance WinNet_GetLastError WinNet_GetNetworkInformation WinNet_GetProviderName WinNet_GetResourceInformation WinNet_GetResourceParent WinNet_GetUniversalName WinNet_GetUser WinNet_OpenEnum WinNet_RestoreConnection WinNet_UseConnection Word_Create Word_DocAdd Word_DocAttach Word_DocClose Word_DocExport Word_DocFind Word_DocFindReplace Word_DocGet Word_DocLinkAdd Word_DocLinkGet Word_DocOpen Word_DocPictureAdd Word_DocPrint Word_DocRangeSet Word_DocSave Word_DocSaveAs Word_DocTableRead Word_DocTableWrite Word_Quit",literal:"True False And Null Not Or"},contains:[t,n,r,i,{className:"preprocessor",begin:"#",end:"$",keywords:"include include-once NoTrayIcon OnAutoItStartRegister RequireAdmin pragma Au3Stripper_Ignore_Funcs Au3Stripper_Ignore_Variables Au3Stripper_Off Au3Stripper_On Au3Stripper_Parameters AutoIt3Wrapper_Add_Constants AutoIt3Wrapper_Au3Check_Parameters AutoIt3Wrapper_Au3Check_Stop_OnWarning AutoIt3Wrapper_Aut2Exe AutoIt3Wrapper_AutoIt3 AutoIt3Wrapper_AutoIt3Dir AutoIt3Wrapper_Change2CUI AutoIt3Wrapper_Compile_Both AutoIt3Wrapper_Compression AutoIt3Wrapper_EndIf AutoIt3Wrapper_Icon AutoIt3Wrapper_If_Compile AutoIt3Wrapper_If_Run AutoIt3Wrapper_Jump_To_First_Error AutoIt3Wrapper_OutFile AutoIt3Wrapper_OutFile_Type AutoIt3Wrapper_OutFile_X64 AutoIt3Wrapper_PlugIn_Funcs AutoIt3Wrapper_Res_Comment Autoit3Wrapper_Res_Compatibility AutoIt3Wrapper_Res_Description AutoIt3Wrapper_Res_Field AutoIt3Wrapper_Res_File_Add AutoIt3Wrapper_Res_FileVersion AutoIt3Wrapper_Res_FileVersion_AutoIncrement AutoIt3Wrapper_Res_Icon_Add AutoIt3Wrapper_Res_Language AutoIt3Wrapper_Res_LegalCopyright AutoIt3Wrapper_Res_ProductVersion AutoIt3Wrapper_Res_requestedExecutionLevel AutoIt3Wrapper_Res_SaveSource AutoIt3Wrapper_Run_After AutoIt3Wrapper_Run_Au3Check AutoIt3Wrapper_Run_Au3Stripper AutoIt3Wrapper_Run_Before AutoIt3Wrapper_Run_Debug_Mode AutoIt3Wrapper_Run_SciTE_Minimized AutoIt3Wrapper_Run_SciTE_OutputPane_Minimized AutoIt3Wrapper_Run_Tidy AutoIt3Wrapper_ShowProgress AutoIt3Wrapper_Testing AutoIt3Wrapper_Tidy_Stop_OnError AutoIt3Wrapper_UPX_Parameters AutoIt3Wrapper_UseUPX AutoIt3Wrapper_UseX64 AutoIt3Wrapper_Version AutoIt3Wrapper_Versioning AutoIt3Wrapper_Versioning_Parameters Tidy_Off Tidy_On Tidy_Parameters EndRegion Region",contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",contains:[r,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},r,t]},{className:"constant",begin:"@[A-z0-9_]+"},{className:"function",beginKeywords:"Func",end:"$",excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[n,r,i]}]}]}}),i.registerLanguage("avrasm",function(e){return{case_insensitive:!0,lexemes:"\\.?"+e.IDENT_RE,keywords:{keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",preprocessor:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"label",begin:"^[A-Za-z0-9_.$]+:"},{className:"preprocessor",begin:"#",end:"$"},{className:"localvars",begin:"@[0-9]+"}]}}),i.registerLanguage("axapta",function(e){return{keywords:"false int abstract private char boolean static null if for true while long throw finally protected final return void enum else break new catch byte super case short default double public try this switch continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count order group by asc desc index hint like dispaly edit client server ttsbegin ttscommit str real date container anytype common div mod",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]}]}}),i.registerLanguage("bash",function(e){var t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]};return{aliases:["sh","zsh"],lexemes:/-?[a-z\.]+/,keywords:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",operator:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[{className:"shebang",begin:/^#![^\n]+sh\s*$/,relevance:10},{className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},e.HASH_COMMENT_MODE,e.NUMBER_MODE,n,{className:"string",begin:/'/,end:/'/},t]}}),i.registerLanguage("brainfuck",function(e){var t={className:"literal",begin:"[\\+\\-]",relevance:0};return{aliases:["bf"],contains:[e.COMMENT("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/\+\+|\-\-/,returnBegin:!0,contains:[t]},t]}}),i.registerLanguage("cal",function(e){var t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},a={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,i]}].concat(n)},o={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[e.TITLE_MODE,a]};return{case_insensitive:!0,keywords:{keyword:t,literal:"false true"},illegal:/\/\*/,contains:[r,i,{className:"date",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{className:"variable",begin:'"',end:'"'},e.NUMBER_MODE,o,a]}}),i.registerLanguage("capnproto",function(e){return{aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"shebang",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"number",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}),i.registerLanguage("ceylon",function(e){var t="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",n={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},r=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[n]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return n.contains=r,{keywords:{keyword:t,annotation:"shared abstract formal default actual variable late native deprecatedfinal sealed annotation suppressWarnings small doc by license see throws tagged"},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"annotation",begin:'@[a-z]\\w*(?:\\:"[^"]*")?'}].concat(r)}}),i.registerLanguage("clojure",function(e){var t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",r={begin:n,relevance:0},i={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o=e.COMMENT(";","$",{relevance:0}),s={className:"literal",begin:/\b(true|false|nil)\b/},c={className:"collection",begin:"[\\[\\{]",end:"[\\]\\}]"},l={className:"comment",begin:"\\^"+n},u=e.COMMENT("\\^\\{","\\}"),f={className:"attribute",begin:"[:]"+n},d={className:"list",begin:"\\(",end:"\\)"},h={endsWithParent:!0,relevance:0},p={keywords:{built_in:"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},lexemes:n,className:"keyword",begin:n,starts:h},m=[d,a,l,u,o,f,c,i,s,r];return d.contains=[e.COMMENT("comment",""),p,h],h.contains=m,c.contains=m,{aliases:["clj"],illegal:/\S/,contains:[d,a,l,u,o,f,c,i,s]}}),i.registerLanguage("clojure-repl",function(e){return{contains:[{className:"prompt",begin:/^([\w.-]+|\s*#_)=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}),i.registerLanguage("cmake",function(e){return{aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_subdirectory add_test aux_source_directory break build_command cmake_minimum_required cmake_policy configure_file create_test_sourcelist define_property else elseif enable_language enable_testing endforeach endfunction endif endmacro endwhile execute_process export find_file find_library find_package find_path find_program fltk_wrap_ui foreach function get_cmake_property get_directory_property get_filename_component get_property get_source_file_property get_target_property get_test_property if include include_directories include_external_msproject include_regular_expression install link_directories load_cache load_command macro mark_as_advanced message option output_required_files project qt_wrap_cpp qt_wrap_ui remove_definitions return separate_arguments set set_directory_properties set_property set_source_files_properties set_target_properties set_tests_properties site_name source_group string target_link_libraries try_compile try_run unset variable_watch while build_name exec_program export_library_dependencies install_files install_programs install_targets link_libraries make_directory remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or",operator:"equal less greater strless strgreater strequal matches"},contains:[{className:"envvar",begin:"\\${",end:"}"},e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}),i.registerLanguage("coffeescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/}/,keywords:t},i=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,r]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[r,e.HASH_COMMENT_MODE]},{begin:"//[gim]*",relevance:0},{begin:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{className:"property",begin:"@"+n},{begin:"`",end:"`",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];r.contains=i;var a=e.inherit(e.TITLE_MODE,{begin:n}),o="(\\(.*\\))?\\s*\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[a,s]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[a]},a]},{className:"attribute",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}),i.registerLanguage("cpp",function(e){var t={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},n={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},r={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}]},i={className:"preprocessor",begin:"#",end:"$",keywords:"if else elif endif define undef warning error line pragma ifdef ifndef",contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",contains:[n,{className:"string",begin:"<",end:">",illegal:"\\n"}]},n,r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a=e.IDENT_RE+"\\s*\\(",o={keyword:"int float while private char catch export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf",literal:"true false nullptr NULL"};return{aliases:["c","cc","h","c++","h++","hpp"],keywords:o,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,n,i,{begin:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:o,contains:["self",t]},{begin:e.IDENT_RE+"::",keywords:o},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"("+e.IDENT_RE+"[\\*&\\s]+)+"+a,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:o,illegal:/[^\w\s\*&]/,contains:[{begin:a,returnBegin:!0,contains:[e.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i]}]}}),i.registerLanguage("crmsh",function(e){var t="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization",operator:"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",type:"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{className:"identifier",end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{className:"pragma",end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+t.split(" ").join("|")+")\\s+",keywords:t,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"pragma",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"number",begin:"[-]?(infinity|inf)",relevance:0},{className:"variable",begin:/([A-Za-z\$_\#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}),i.registerLanguage("crystal",function(e){var t="(_[uif](8|16|32|64))?",n="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\][=?]?",r={keyword:"abstract alias as asm begin break case class def do else elsif end ensure enum extend for fun if ifdef include instance_sizeof is_a? lib macro module next of out pointerof private protected rescue responds_to? return require self sizeof struct super then type typeof union unless until when while with yield __DIR__ __FILE__ __LINE__",literal:"false nil true"},i={className:"subst",begin:"#{",end:"}",keywords:r},a={className:"expansion",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:r,relevance:10};function o(e,t){var n=[{begin:e,end:t}];return n[0].contains=n}var s={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%w?\\(",end:"\\)",contains:o("\\(","\\)")},{begin:"%w?\\[",end:"\\]",contains:o("\\[","\\]")},{begin:"%w?{",end:"}",contains:o("{","}")},{begin:"%w?<",end:">",contains:o("<",">")},{begin:"%w?/",end:"/"},{begin:"%w?%",end:"%"},{begin:"%w?-",end:"-"},{begin:"%w?\\|",end:"\\|"}],relevance:0},c={className:"annotation",begin:"@\\[",end:"\\]",relevance:5},l=[a,s,{begin:"(!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~)\\s*",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\(",end:"\\)",contains:o("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:o("\\[","\\]")},{begin:"%r{",end:"}",contains:o("{","}")},{begin:"%r<",end:">",contains:o("<",">")},{begin:"%r/",end:"/"},{begin:"%r%",end:"%"},{begin:"%r-",end:"-"},{begin:"%r\\|",end:"\\|"}]}],relevance:0},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"%r\\(",end:"\\)",contains:o("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:o("\\[","\\]")},{begin:"%r{",end:"}",contains:o("{","}")},{begin:"%r<",end:">",contains:o("<",">")},{begin:"%r/",end:"/"},{begin:"%r%",end:"%"},{begin:"%r-",end:"-"},{begin:"%r\\|",end:"\\|"}],relevance:0},c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{className:"inheritance",begin:"<\\s*",contains:[{className:"parent",begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"})],relevance:10},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})],relevance:5},{className:"constant",begin:"(::)?(\\b[A-Z]\\w*(::)?)+",relevance:0},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[s,{begin:n}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]*[01])"+t},{begin:"\\b0o([0-7_]*[0-7])"+t},{begin:"\\b0x([A-Fa-f0-9_]*[A-Fa-f0-9])"+t},{begin:"\\b(([0-9][0-9_]*[0-9]|[0-9])(\\.[0-9_]*[0-9])?([eE][+-]?[0-9_]*[0-9])?)"+t}],relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?|%)(\\w+))"}];return i.contains=l,c.contains=l,a.contains=l.slice(1),{aliases:["cr"],lexemes:"[a-zA-Z_]\\w*[!?=]?",keywords:r,contains:l}}),i.registerLanguage("cs",function(e){var t="abstract as base bool break byte case catch char checked const continue decimal dynamic default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long null when object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while async protected public private internal ascending descending from get group into join let orderby partial select set value var where yield",n=e.IDENT_RE+"(<"+e.IDENT_RE+">)?";return{aliases:["csharp"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"xmlDocTag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"preprocessor",begin:"#",end:"$",keywords:"if else elif endif define undef warning error line region endregion pragma checksum"},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[{className:"title",begin:"[a-zA-Z](\\.?\\w)*",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new return throw await",relevance:0},{className:"function",begin:"("+n+"\\s+)+"+e.IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,contains:[{begin:e.IDENT_RE+"\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}]}}),i.registerLanguage("css",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",n={className:"function",begin:t+"\\(",returnBegin:!0,excludeEnd:!0,end:"\\("},r={className:"rule",begin:/[A-Z\_\.\-]+\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{className:"value",endsWithParent:!0,excludeEnd:!0,contains:[n,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"hexcolor",begin:"#[0-9A-Fa-f]+"},{className:"important",begin:"!important"}]}}]};return{case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"id",begin:/\#[A-Za-z0-9_-]+/},{className:"class",begin:/\.[A-Za-z0-9_-]+/},{className:"attr_selector",begin:/\[/,end:/\]/,illegal:"$"},{className:"pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"']+/},{className:"at_rule",begin:"@(font-face|page)",lexemes:"[a-z-]+",keywords:"font-face page"},{className:"at_rule",begin:"@",end:"[{;]",contains:[{className:"keyword",begin:/\S+/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,contains:[n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"tag",begin:t,relevance:0},{className:"rules",begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,r]}]}}),i.registerLanguage("d",function(e){var t="(0|[1-9][\\d_]*)",n="("+t+"|0[bB][01_]+|0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))",r="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",i={className:"number",begin:"\\b"+n+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},a={className:"number",begin:"\\b(((0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))|((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)))|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))?))([fF]|L|i|[fF]i|Li)?|"+n+"(i|[fF]i|Li))",relevance:0},o={className:"string",begin:"'("+r+"|.)",end:"'",illegal:"."},s={className:"string",begin:'"',contains:[{begin:r,relevance:0}],end:'"[cwd]?'},c=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:{keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},s,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},a,i,o,{className:"shebang",begin:"^#!",end:"$",relevance:5},{className:"preprocessor",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}),i.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],contains:[{className:"header",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"blockquote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"`.+?`"},{begin:"^( {4}|\t)",end:"$",relevance:0}]},{className:"horizontal_rule",begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"link_label",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link_url",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"link_reference",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},{begin:"^\\[.+\\]:",returnBegin:!0,contains:[{className:"link_reference",begin:"\\[",end:"\\]:",excludeBegin:!0,excludeEnd:!0,starts:{className:"link_url",end:"$"}}]}]}}),i.registerLanguage("dart",function(e){var t={className:"subst",begin:"\\$\\{",end:"}",keywords:"true false null this is new super"},n={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]}]};t.contains=[e.C_NUMBER_MODE,n];return{keywords:{keyword:"assert break case catch class const continue default do else enum extends false final finally for if in is new null rethrow return super switch this throw true try var void while with",literal:"abstract as dynamic export external factory get implements import library operator part set static typedef",built_in:"print Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num document window querySelector querySelectorAll Element ElementList"},contains:[n,e.COMMENT("/\\*\\*","\\*/",{subLanguage:"markdown"}),e.COMMENT("///","$",{subLanguage:"markdown"}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"},{begin:"=>"}]}}),i.registerLanguage("delphi",function(e){var t="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},a={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},o={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,i]}].concat(n)};return{case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[r,i,e.NUMBER_MODE,a,o].concat(n)}}),i.registerLanguage("diff",function(e){return{aliases:["patch"],contains:[{className:"chunk",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"header",variants:[{begin:/Index: /,end:/$/},{begin:/=====/,end:/=====$/},{begin:/^\-\-\-/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+\+\+/,end:/$/},{begin:/\*{5}/,end:/\*{5}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"change",begin:"^\\!",end:"$"}]}}),i.registerLanguage("django",function(e){var t={className:"filter",begin:/\|[A-Za-z]+:?/,keywords:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone",contains:[{className:"argument",begin:/"/,end:/"/},{className:"argument",begin:/'/,end:/'/}]};return{aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%}/,/\{%\s*endcomment\s*%}/),e.COMMENT(/\{#/,/#}/),{className:"template_tag",begin:/\{%/,end:/%}/,keywords:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor in ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup by as ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim",contains:[t]},{className:"variable",begin:/\{\{/,end:/}}/,contains:[t]}]}}),i.registerLanguage("dns",function(e){return{aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[e.COMMENT(";","$"),{className:"operator",beginKeywords:"$TTL $GENERATE $INCLUDE $ORIGIN"},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])"}]}}),i.registerLanguage("dockerfile",function(e){return{aliases:["docker"],case_insensitive:!0,keywords:{built_ins:"from maintainer cmd expose add copy entrypoint volume user workdir onbuild run env label"},contains:[e.HASH_COMMENT_MODE,{keywords:{built_in:"run cmd entrypoint volume add copy workdir onbuild label"},begin:/^ *(onbuild +)?(run|cmd|entrypoint|volume|add|copy|workdir|label) +/,starts:{end:/[^\\]\n/,subLanguage:"bash"}},{keywords:{built_in:"from maintainer expose env user onbuild"},begin:/^ *(onbuild +)?(from|maintainer|expose|env|user|onbuild) +/,end:/[^\\]\n/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE]}]}}),i.registerLanguage("dos",function(e){var t=e.COMMENT(/@?rem\b/,/$/,{relevance:10});return{aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{flow:"if else goto for in do call exit not exist errorlevel defined",operator:"equ neq lss leq gtr geq",keyword:"shift cd dir echo setlocal endlocal set pause copy",stream:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux",winutils:"ping net ipconfig taskkill xcopy ren del",built_in:"append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shiftsort start subst time title tree type ver verify vol"},contains:[{className:"envvar",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}),i.registerLanguage("dust",function(e){var t="if eq ne lt lte gt gte select default math sep";return{aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"expression",begin:"{",end:"}",relevance:0,contains:[{className:"begin-block",begin:"#[a-zA-Z- .]+",keywords:t},{className:"string",begin:'"',end:'"'},{className:"end-block",begin:"\\/[a-zA-Z- .]+",keywords:t},{className:"variable",begin:"[a-zA-Z-.]+",keywords:t,relevance:0}]}]}}),i.registerLanguage("elixir",function(e){var t="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?",n="and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote",r={className:"subst",begin:"#\\{",end:"}",lexemes:t,keywords:n},i={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:t,endsParent:!0})]},o=e.inherit(a,{className:"class",beginKeywords:"defmodule defrecord",end:/\bdo\b|$|;/}),s=[i,e.HASH_COMMENT_MODE,o,a,{className:"constant",begin:"(\\b[A-Z_]\\w*(.)?)+",relevance:0},{className:"symbol",begin:":",contains:[i,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:t+":",relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return{lexemes:t,keywords:n,contains:r.contains=s}}),i.registerLanguage("elm",function(e){var t=[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})],n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={className:"container",begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"}].concat(t)},i={className:"container",begin:"{",end:"}",contains:r.contains};return{keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port",contains:[{className:"module",begin:"\\bmodule\\b",end:"where",keywords:"module where",contains:[r].concat(t),illegal:"\\W\\.|;"},{className:"import",begin:"\\bimport\\b",end:"$",keywords:"import|0 as exposing",contains:[r].concat(t),illegal:"\\W\\.|;"},{className:"typedef",begin:"\\btype\\b",end:"$",keywords:"type alias",contains:[n,r,i].concat(t)},{className:"infix",beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE].concat(t)},{className:"foreign",begin:"\\bport\\b",end:"$",keywords:"port",contains:t},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:"->|<-"}].concat(t)}}),i.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",n="and false then defined module in return redo if BEGIN retry end for true self when next until do begin unless END rescue nil else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",r={className:"doctag",begin:"@[A-Za-z]+"},i={className:"value",begin:"#<",end:">"},a=[e.COMMENT("#","$",{contains:[r]}),e.COMMENT("^\\=begin","^\\=end",{contains:[r],relevance:10}),e.COMMENT("^__END__","\\n$")],o={className:"subst",begin:"#\\{",end:"}",keywords:n},s={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/}]},c={className:"params",begin:"\\(",end:"\\)",keywords:n},l=[s,i,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{className:"inheritance",begin:"<\\s*",contains:[{className:"parent",begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(a)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),c].concat(a)},{className:"constant",begin:"(::)?(\\b[A-Z]\\w*(::)?)+",relevance:0},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[s,{begin:t}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[i,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(a),relevance:0}].concat(a);o.contains=l;var u=[{begin:/^\s*=>/,className:"status",starts:{end:"$",contains:c.contains=l}},{className:"prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{end:"$",contains:l}}];return{aliases:["rb","gemspec","podspec","thor","irb"],keywords:n,illegal:/\/\*/,contains:a.concat(u).concat(l)}}),i.registerLanguage("erb",function(e){return{subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}),i.registerLanguage("erlang-repl",function(e){return{keywords:{special_functions:"spawn spawn_link self",reserved:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"constant",begin:"\\?(::)?([A-Z]\\w*(::)?)+"},{className:"arrow",begin:"->"},{className:"ok",begin:"ok"},{className:"exclamation_mark",begin:"!"},{className:"function_or_atom",begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{className:"variable",begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}),i.registerLanguage("erlang",function(e){var t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.COMMENT("%","$"),a={className:"number",begin:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{className:"function_name",begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={className:"tuple",begin:"{",end:"}",relevance:0},l={className:"variable",begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={className:"variable",begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{className:"record_name",begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:"{",end:"}",relevance:0}]},d={beginKeywords:"fun receive if try case",end:"end",keywords:r};d.contains=[i,o,e.inherit(e.APOS_STRING_MODE,{className:""}),d,s,e.QUOTE_STRING_MODE,a,c,l,u,f];var h=[i,o,d,s,e.QUOTE_STRING_MODE,a,c,l,u,f];s.contains[1].contains=h,c.contains=h;var p={className:"params",begin:"\\(",end:"\\)",contains:f.contains[1].contains=h};return{aliases:["erl"],keywords:r,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[p,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:h}},i,{className:"pp",begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,lexemes:"-"+e.IDENT_RE,keywords:"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec",contains:[p]},a,e.QUOTE_STRING_MODE,f,l,u,c,{begin:/\.$/}]}}),i.registerLanguage("fix",function(e){return{contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attribute"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}),i.registerLanguage("fortran",function(e){return{case_insensitive:!0,aliases:["f90","f95"],keywords:{constant:".False. .True.",type:"integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}),i.registerLanguage("fsharp",function(e){var t={begin:"<",end:">",contains:[e.inherit(e.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},e.COMMENT("\\(\\*","\\*\\)"),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE,t]},{className:"annotation",begin:"\\[<",end:">\\]",relevance:10},{className:"attribute",begin:"\\B('[A-Za-z])\\b",contains:[e.BACKSLASH_ESCAPE]},e.C_LINE_COMMENT_MODE,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),e.C_NUMBER_MODE]}}),i.registerLanguage("gams",function(e){return{aliases:["gms"],case_insensitive:!0,keywords:"abort acronym acronyms alias all and assign binary card diag display else1 eps eq equation equations file files for1 free ge gt if inf integer le loop lt maximizing minimizing model models na ne negative no not option options or ord parameter parameters positive prod putpage puttl repeat sameas scalar scalars semicont semiint set1 sets smax smin solve sos1 sos2 sum system table then until using variable variables while1 xor yes",contains:[{className:"section",beginKeywords:"sets parameters variables equations",end:";",contains:[{begin:"/",end:"/",contains:[e.NUMBER_MODE]}]},{className:"string",begin:"\\*{3}",end:"\\*{3}"},e.NUMBER_MODE,{className:"number",begin:"\\$[a-zA-Z0-9]+"}]}}),i.registerLanguage("gcode",function(e){var t=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?([0-9]*\\.?[0-9]+\\.?))|"+e.C_NUMBER_RE}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"keyword",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"title",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"title",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"title",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",end:"([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])"},{className:"label",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{aliases:["nc"],case_insensitive:!0,lexemes:"[A-Z_][A-Z0-9_.]*",keywords:{literal:"",built_in:"",keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},contains:[{className:"preprocessor",begin:"\\%"},{className:"preprocessor",begin:"([O])([0-9]+)"}].concat(t)}}),i.registerLanguage("gherkin",function(e){return{aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"keyword",begin:"\\*"},e.COMMENT("@[^@\r\n\t ]+","$"),{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}),i.registerLanguage("glsl",function(e){return{keywords:{keyword:"atomic_uint attribute bool break bvec2 bvec3 bvec4 case centroid coherent const continue default discard dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 do double dvec2 dvec3 dvec4 else flat float for highp if iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray in inout int invariant isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 layout lowp mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 mediump noperspective out patch precision readonly restrict return sample sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow smooth struct subroutine switch uimage1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint uniform usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D usamplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 varying vec2 vec3 vec4 void volatile while writeonly",built_in:"gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffsetgl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_PerVertex gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicCounter atomicCounterDecrement atomicCounterIncrement barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow gl_TextureMatrix gl_TextureMatrixInverse",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$"}]}}),i.registerLanguage("go",function(e){return{aliases:["golang"],keywords:{keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer",constant:"true false iota nil",typename:"bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",built_in:"append cap close complex copy imag len make new panic print println real recover delete"},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'"},{className:"string",begin:"`",end:"`"},{className:"number",begin:e.C_NUMBER_RE+"[dflsi]?",relevance:0},e.C_NUMBER_MODE]}}),i.registerLanguage("golo",function(e){return{keywords:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull",typename:"DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("gradle",function(e){return{case_insensitive:!0,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}),i.registerLanguage("groovy",function(e){return{keywords:{typename:"byte short char int long boolean float double void",literal:"true false null",keyword:"def as in assert trait super this abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},{className:"string",begin:"'''",end:"'''"},{className:"string",begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,{className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE,{className:"shebang",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},e.BINARY_NUMBER_MODE,{className:"class",beginKeywords:"class interface trait enum",end:"{",illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"},{className:"string",begin:/[^\?]{0}[A-Za-z0-9_$]+ *:/},{begin:/\?/,end:/\:/},{className:"label",begin:"^\\s*[A-Za-z0-9_$]+:",relevance:0}],illegal:/#/}}),i.registerLanguage("haml",function(e){return{case_insensitive:!0,contains:[{className:"doctype",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"title",begin:"\\w+"},{className:"value",begin:"[#\\.][\\w-]+"},{begin:"{\\s*",end:"\\s*}",excludeEnd:!0,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"symbol",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attribute",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{className:"bullet",begin:"^\\s*[=~]\\s*",relevance:0},{begin:"#{",starts:{end:"}",subLanguage:"ruby"}}]}}),i.registerLanguage("handlebars",function(e){var t="each in with if else unless bindattr action collection debugger log outlet template unbound view yield";return{aliases:["hbs","html.hbs","html.handlebars"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"expression",begin:"{{",end:"}}",contains:[{className:"begin-block",begin:"#[a-zA-Z- .]+",keywords:t},{className:"string",begin:'"',end:'"'},{className:"end-block",begin:"\\/[a-zA-Z- .]+",keywords:t},{className:"variable",begin:"[a-zA-Z-.]+",keywords:t}]}]}}),i.registerLanguage("haskell",function(e){var t=[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})],n={className:"pragma",begin:"{-#",end:"#-}"},r={className:"preprocessor",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={className:"container",begin:"\\(",end:"\\)",illegal:'"',contains:[n,r,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"})].concat(t)},o={className:"container",begin:"{",end:"}",contains:a.contains};return{aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{className:"module",begin:"\\bmodule\\b",end:"where",keywords:"module where",contains:[a].concat(t),illegal:"\\W\\.|;"},{className:"import",begin:"\\bimport\\b",end:"$",keywords:"import|0 qualified as hiding",contains:[a].concat(t),illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,a].concat(t)},{className:"typedef",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,i,a,o].concat(t)},{className:"default",beginKeywords:"default",end:"$",contains:[i,a].concat(t)},{className:"infix",beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE].concat(t)},{className:"foreign",begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,e.QUOTE_STRING_MODE].concat(t)},{className:"shebang",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,r,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,i,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:"->|<-"}].concat(t)}}),i.registerLanguage("haxe",function(e){return{aliases:["hx"],keywords:{keyword:"break callback case cast catch class continue default do dynamic else enum extends extern for function here if implements import in inline interface never new override package private public return static super switch this throw trace try typedef untyped using var while",literal:"true false null"},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.TITLE_MODE]},{className:"preprocessor",begin:"#",end:"$",keywords:"if else elseif end error"},{className:"function",beginKeywords:"function",end:"[{;]",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"type",begin:":",end:"([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)",relevance:10}]}]}}),i.registerLanguage("http",function(e){return{aliases:["https"],illegal:"\\S",contains:[{className:"status",begin:"^HTTP/[0-9\\.]+",end:"$",contains:[{className:"number",begin:"\\b\\d{3}\\b"}]},{className:"request",begin:"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$",returnBegin:!0,end:"$",contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0}]},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,illegal:"\\n|\\s|=",starts:{className:"string",end:"$"}},{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}]}}),i.registerLanguage("inform7",function(e){return{aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"title",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\b\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}}),i.registerLanguage("ini",function(e){var t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]};return{aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(";","$"),e.HASH_COMMENT_MODE,{className:"title",begin:/^\s*\[+/,end:/\]+/},{className:"setting",begin:/^[a-z0-9\[\]_-]+\s*=\s*/,end:"$",contains:[{className:"value",endsWithParent:!0,keywords:"on off true false yes no",contains:[{className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)}/}]},t,{className:"number",begin:/([\+\-]+)?[\d]+_[\d_]+/},e.NUMBER_MODE],relevance:0}]}]}}),i.registerLanguage("irpf90",function(e){return{case_insensitive:!0,keywords:{constant:".False. .True.",type:"integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}),i.registerLanguage("java",function(e){var t=e.UNDERSCORE_IDENT_RE+"(<"+e.UNDERSCORE_IDENT_RE+">)?",n="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",r={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0};return{aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"("+t+"\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("javascript",function(e){return{aliases:["js"],keywords:{keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},contains:[{className:"pi",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:/\$[(.]/},{begin:"\\."+e.IDENT_RE,relevance:0},{beginKeywords:"import",end:"[;$]",keywords:"import from as",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]}],illegal:/#/}}),i.registerLanguage("json",function(e){var t={literal:"true false null"},n=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],r={className:"value",end:",",endsWithParent:!0,excludeEnd:!0,contains:n,keywords:t},i={begin:"{",end:"}",contains:[{className:"attribute",begin:'\\s*"',end:'"\\s*:\\s*',excludeBegin:!0,excludeEnd:!0,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n",starts:r}],illegal:"\\S"},a={begin:"\\[",end:"\\]",contains:[e.inherit(r,{className:null})],illegal:"\\S"};return n.splice(n.length,0,i,a),{contains:n,keywords:t,illegal:"\\S"}}),i.registerLanguage("julia",function(e){var t={keyword:"in abstract baremodule begin bitstype break catch ccall const continue do else elseif end export finally for function global if immutable import importall let local macro module quote return try type typealias using while",literal:"true false ANY ARGS CPU_CORES C_NULL DL_LOAD_PATH DevNull ENDIAN_BOM ENV I|0 Inf Inf16 Inf32 InsertionSort JULIA_HOME LOAD_PATH MS_ASYNC MS_INVALIDATE MS_SYNC MergeSort NaN NaN16 NaN32 OS_NAME QuickSort RTLD_DEEPBIND RTLD_FIRST RTLD_GLOBAL RTLD_LAZY RTLD_LOCAL RTLD_NODELETE RTLD_NOLOAD RTLD_NOW RoundDown RoundFromZero RoundNearest RoundToZero RoundUp STDERR STDIN STDOUT VERSION WORD_SIZE catalan cglobal e|0 eu|0 eulergamma golden im nothing pi γ π φ",built_in:"ASCIIString AbstractArray AbstractRNG AbstractSparseArray Any ArgumentError Array Associative Base64Pipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError Box CFILE Cchar Cdouble Cfloat Char CharString Cint Clong Clonglong ClusterManager Cmd Coff_t Colon Complex Complex128 Complex32 Complex64 Condition Cptrdiff_t Cshort Csize_t Cssize_t Cuchar Cuint Culong Culonglong Cushort Cwchar_t DArray DataType DenseArray Diagonal Dict DimensionMismatch DirectIndexString Display DivideError DomainError EOFError EachLine Enumerate ErrorException Exception Expr Factorization FileMonitor FileOffset Filter Float16 Float32 Float64 FloatRange FloatingPoint Function GetfieldNode GotoNode Hermitian IO IOBuffer IOStream IPv4 IPv6 InexactError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException IntrinsicFunction KeyError LabelNode LambdaStaticData LineNumberNode LoadError LocalProcess MIME MathConst MemoryError MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode Nothing Number ObjectIdDict OrdinalRange OverflowError ParseError PollingFileWatcher ProcessExitedException ProcessGroup Ptr QuoteNode Range Range1 Ranges Rational RawFD Real Regex RegexMatch RemoteRef RepString RevString RopeString RoundingMode Set SharedArray Signed SparseMatrixCSC StackOverflowError Stat StatStruct StepRange String SubArray SubString SymTridiagonal Symbol SymbolNode Symmetric SystemError Task TextDisplay Timer TmStruct TopNode Triangular Tridiagonal Type TypeConstructor TypeError TypeName TypeVar UTF16String UTF32String UTF8String UdpSocket Uint Uint128 Uint16 Uint32 Uint64 Uint8 UndefRefError UndefVarError UniformScaling UnionType UnitRange Unsigned Vararg VersionNumber WString WeakKeyDict WeakRef Woodbury Zip"},n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",r={lexemes:n,keywords:t},i={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},a={className:"variable",begin:"\\$"+n},o={className:"string",contains:[e.BACKSLASH_ESCAPE,i,a],variants:[{begin:/\w*"/,end:/"\w*/},{begin:/\w*"""/,end:/"""\w*/}]},s={className:"string",contains:[e.BACKSLASH_ESCAPE,i,a],begin:"`",end:"`"},c={className:"macrocall",begin:"@"+n};return r.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"char",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"type-annotation",begin:/::/},{className:"subtype",begin:/<:/},o,s,c,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE],i.contains=r.contains,r}),i.registerLanguage("kotlin",function(e){var t="val var get set class trait object public open private protected final enum if else do while for when break continue throw try catch finally import package is as in return fun override default companion reified inline volatile transient native";return{keywords:{typename:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null",keyword:t},contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"type",begin:/</,end:/>/,returnBegin:!0,excludeEnd:!1,relevance:0},{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,illegal:/\([^\(,\s:]+,/,contains:[{className:"typename",begin:/:\s*/,end:/\s*[=\)]/,excludeBegin:!0,returnEnd:!0,relevance:0}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",beginKeywords:"class trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"typename",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0}]},{className:"variable",beginKeywords:"var val",end:/\s*[=:$]/,excludeEnd:!0},e.QUOTE_STRING_MODE,{className:"shebang",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},e.C_NUMBER_MODE]}}),i.registerLanguage("lasso",function(e){var t="[a-zA-Z_][a-zA-Z0-9_.]*",n="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={literal:"true false none minimal full all void bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"error_code error_msg error_pop error_push error_reset cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},a=e.COMMENT("\x3c!--","--\x3e",{relevance:0}),o={className:"preprocessor",begin:"\\[noprocess\\]",starts:{className:"markup",end:"\\[/noprocess\\]",returnEnd:!0,contains:[a]}},s={className:"preprocessor",begin:"\\[/noprocess|"+n},c={className:"variable",begin:"'"+t+"'"},l=[e.COMMENT("/\\*\\*!","\\*/"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(infinity|nan)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{className:"variable",variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"tag",begin:"::\\s*",end:t,illegal:"\\W"},{className:"attribute",variants:[{begin:"-(?!infinity)"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:"(\\.\\.\\.)"}]},{className:"subst",variants:[{begin:"->\\s*",contains:[c]},{begin:"->|\\\\|&&?|\\|\\||!(?!=|>)|(and|or|not)\\b",relevance:0}]},{className:"built_in",begin:"\\.\\.?\\s*",relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:e.UNDERSCORE_IDENT_RE+"(=(?!>))?"})]}];return{aliases:["ls","lassoscript"],case_insensitive:!0,lexemes:t+"|&[lg]t;",keywords:i,contains:[{className:"preprocessor",begin:r,relevance:0,starts:{className:"markup",end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[a]}},o,s,{className:"preprocessor",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",lexemes:t+"|&[lg]t;",keywords:i,contains:[{className:"preprocessor",begin:r,relevance:0,starts:{className:"markup",end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[a]}},o,s].concat(l)}},{className:"preprocessor",begin:"\\[",relevance:0},{className:"shebang",begin:"^#!.+lasso9\\b",relevance:10}].concat(l)}}),i.registerLanguage("less",function(r){var e="[\\w-]+",t="([\\w-]+|@{[\\w-]+})",n=[],i=[],a=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},o=function(e,t,n){return{className:e,begin:t,relevance:n}},s=function(e,t,n){return r.inherit({className:e,begin:t+"\\(",end:"\\(",returnBegin:!0,excludeEnd:!0,relevance:0},n)},c={begin:"\\(",end:"\\)",contains:i,relevance:0};i.push(r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,a("'"),a('"'),r.CSS_NUMBER_MODE,o("hexcolor","#[0-9A-Fa-f]+\\b"),s("function","(url|data-uri)",{starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}}),s("function",e),c,o("variable","@@?"+e,10),o("variable","@{[\\w-]+}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:e+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0});var l=i.concat({begin:"{",end:"}",contains:n}),u={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},f={className:"attribute",begin:t,end:":",excludeEnd:!0,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE],illegal:/\S/,starts:{end:"[;}]",returnEnd:!0,contains:i,illegal:"[<=$]"}},d={className:"at_rule",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:!0,contains:i,relevance:0}},h={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@"+e}],starts:{end:"[;}]",returnEnd:!0,contains:l}},p={variants:[{begin:"[\\.#:&\\[]",end:"[;{}]"},{begin:t+"[^;]*{",end:"{"}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,u,o("keyword","all\\b"),o("variable","@{[\\w-]+}"),o("tag",t+"%?",0),o("id","#"+t),o("class","\\."+t,0),o("keyword","&",0),s("pseudo",":not"),s("keyword",":extend"),o("pseudo","::?"+t),{className:"attr_selector",begin:"\\[",end:"\\]"},{begin:"\\(",end:"\\)",contains:l},{begin:"!important"}]};return n.push(r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,d,h,p,f),{case_insensitive:!0,illegal:"[=>'/<($\"]",contains:n}}),i.registerLanguage("lisp",function(e){var t="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*",n="\\|[^]*?\\|",r="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},a={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),c={className:"variable",begin:"\\*",end:"\\*"},l={className:"keyword",begin:"[:&]"+t},u={begin:t,relevance:0},f={begin:n},d={className:"quoted",contains:[a,o,c,l,{begin:"\\(",end:"\\)",contains:["self",i,o,a,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:"quote"},{begin:"'"+n}]},h={className:"quoted",variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},p={className:"list",begin:"\\(\\s*",end:"\\)"},m={endsWithParent:!0,relevance:0};return p.contains=[{className:"keyword",variants:[{begin:t},{begin:n}]},m],m.contains=[d,h,p,i,a,o,s,c,l,f,u],{illegal:/\S/,contains:[a,{className:"shebang",begin:"^#!",end:"$"},i,o,s,d,h,p,u]}}),i.registerLanguage("livecodeserver",function(e){var t={className:"variable",begin:"\\b[gtps][A-Z]+[A-Za-z0-9_\\-]*\\b|\\$_[A-Z]+",relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z]+[A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if",constant:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",operator:"div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract union unload wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r]},{className:"command",beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"preprocessor",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^="}}),i.registerLanguage("livescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger case default function var with then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super case default function var void const let enum export import native __hasProp __extends __slice __bind __indexOf",literal:"true false null undefined yes no on off it that void",built_in:"npm require console print module global window document"},n="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",r=e.inherit(e.TITLE_MODE,{begin:n}),i={className:"subst",begin:/#\{/,end:/}/,keywords:t},a={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:t},o=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"pi",variants:[{begin:"//",end:"//[gim]*",contains:[i,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{className:"property",begin:"@"+n},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];i.contains=o;var s={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{aliases:["ls"],keywords:t,illegal:/\/\*/,contains:o.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,{className:"function",contains:[r,s],returnBegin:!0,variants:[{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?",end:"\\->\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[r]},r]},{className:"attribute",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}),i.registerLanguage("lua",function(e){var t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:{keyword:"and break do else elseif end false for if in local nil not or repeat return then true until while",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}),i.registerLanguage("makefile",function(e){var t={className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]};return{aliases:["mk","mak"],contains:[e.HASH_COMMENT_MODE,{begin:/^\w+\s*\W*=/,returnBegin:!0,relevance:0,starts:{className:"constant",end:/\s*\W*=/,excludeEnd:!0,starts:{end:/$/,relevance:0,contains:[t]}}},{className:"title",begin:/^[\w]+:\s*$/},{className:"phony",begin:/^\.PHONY:/,end:/$/,keywords:".PHONY",lexemes:/[\.\w]+/},{begin:/^\t+/,end:/$/,relevance:0,contains:[e.QUOTE_STRING_MODE,t]}]}}),i.registerLanguage("mathematica",function(e){return{aliases:["mma"],lexemes:"(\\$|\\b)"+e.IDENT_RE+"\\b",keywords:"AbelianGroup Abort AbortKernels AbortProtect Above Abs Absolute AbsoluteCorrelation AbsoluteCorrelationFunction AbsoluteCurrentValue AbsoluteDashing AbsoluteFileName AbsoluteOptions AbsolutePointSize AbsoluteThickness AbsoluteTime AbsoluteTiming AccountingForm Accumulate Accuracy AccuracyGoal ActionDelay ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime AiryBiZero AlgebraicIntegerQ AlgebraicNumber AlgebraicNumberDenominator AlgebraicNumberNorm AlgebraicNumberPolynomial AlgebraicNumberTrace AlgebraicRules AlgebraicRulesData Algebraics AlgebraicUnitQ Alignment AlignmentMarker AlignmentPoint All AllowedDimensions AllowGroupClose AllowInlineCells AllowKernelInitialization AllowReverseGroupClose AllowScriptLevelChange AlphaChannel AlternatingGroup AlternativeHypothesis Alternatives AmbientLight Analytic AnchoredSearch And AndersonDarlingTest AngerJ AngleBracket AngularGauge Animate AnimationCycleOffset AnimationCycleRepetitions AnimationDirection AnimationDisplayTime AnimationRate AnimationRepetitions AnimationRunning Animator AnimatorBox AnimatorBoxOptions AnimatorElements Annotation Annuity AnnuityDue Antialiasing Antisymmetric Apart ApartSquareFree Appearance AppearanceElements AppellF1 Append AppendTo Apply ArcCos ArcCosh ArcCot ArcCoth ArcCsc ArcCsch ArcSec ArcSech ArcSin ArcSinDistribution ArcSinh ArcTan ArcTanh Arg ArgMax ArgMin ArgumentCountQ ARIMAProcess ArithmeticGeometricMean ARMAProcess ARProcess Array ArrayComponents ArrayDepth ArrayFlatten ArrayPad ArrayPlot ArrayQ ArrayReshape ArrayRules Arrays Arrow Arrow3DBox ArrowBox Arrowheads AspectRatio AspectRatioFixed Assert Assuming Assumptions AstronomicalData Asynchronous AsynchronousTaskObject AsynchronousTasks AtomQ Attributes AugmentedSymmetricPolynomial AutoAction AutoDelete AutoEvaluateEvents AutoGeneratedPackage AutoIndent AutoIndentSpacings AutoItalicWords AutoloadPath AutoMatch Automatic AutomaticImageSize AutoMultiplicationSymbol AutoNumberFormatting AutoOpenNotebooks AutoOpenPalettes AutorunSequencing AutoScaling AutoScroll AutoSpacing AutoStyleOptions AutoStyleWords Axes AxesEdge AxesLabel AxesOrigin AxesStyle Axis BabyMonsterGroupB Back Background BackgroundTasksSettings Backslash Backsubstitution Backward Band BandpassFilter BandstopFilter BarabasiAlbertGraphDistribution BarChart BarChart3D BarLegend BarlowProschanImportance BarnesG BarOrigin BarSpacing BartlettHannWindow BartlettWindow BaseForm Baseline BaselinePosition BaseStyle BatesDistribution BattleLemarieWavelet Because BeckmannDistribution Beep Before Begin BeginDialogPacket BeginFrontEndInteractionPacket BeginPackage BellB BellY Below BenfordDistribution BeniniDistribution BenktanderGibratDistribution BenktanderWeibullDistribution BernoulliB BernoulliDistribution BernoulliGraphDistribution BernoulliProcess BernsteinBasis BesselFilterModel BesselI BesselJ BesselJZero BesselK BesselY BesselYZero Beta BetaBinomialDistribution BetaDistribution BetaNegativeBinomialDistribution BetaPrimeDistribution BetaRegularized BetweennessCentrality BezierCurve BezierCurve3DBox BezierCurve3DBoxOptions BezierCurveBox BezierCurveBoxOptions BezierFunction BilateralFilter Binarize BinaryFormat BinaryImageQ BinaryRead BinaryReadList BinaryWrite BinCounts BinLists Binomial BinomialDistribution BinomialProcess BinormalDistribution BiorthogonalSplineWavelet BipartiteGraphQ BirnbaumImportance BirnbaumSaundersDistribution BitAnd BitClear BitGet BitLength BitNot BitOr BitSet BitShiftLeft BitShiftRight BitXor Black BlackmanHarrisWindow BlackmanNuttallWindow BlackmanWindow Blank BlankForm BlankNullSequence BlankSequence Blend Block BlockRandom BlomqvistBeta BlomqvistBetaTest Blue Blur BodePlot BohmanWindow Bold Bookmarks Boole BooleanConsecutiveFunction BooleanConvert BooleanCountingFunction BooleanFunction BooleanGraph BooleanMaxterms BooleanMinimize BooleanMinterms Booleans BooleanTable BooleanVariables BorderDimensions BorelTannerDistribution Bottom BottomHatTransform BoundaryStyle Bounds Box BoxBaselineShift BoxData BoxDimensions Boxed Boxes BoxForm BoxFormFormatTypes BoxFrame BoxID BoxMargins BoxMatrix BoxRatios BoxRotation BoxRotationPoint BoxStyle BoxWhiskerChart Bra BracketingBar BraKet BrayCurtisDistance BreadthFirstScan Break Brown BrownForsytheTest BrownianBridgeProcess BrowserCategory BSplineBasis BSplineCurve BSplineCurve3DBox BSplineCurveBox BSplineCurveBoxOptions BSplineFunction BSplineSurface BSplineSurface3DBox BubbleChart BubbleChart3D BubbleScale BubbleSizes BulletGauge BusinessDayQ ButterflyGraph ButterworthFilterModel Button ButtonBar ButtonBox ButtonBoxOptions ButtonCell ButtonContents ButtonData ButtonEvaluator ButtonExpandable ButtonFrame ButtonFunction ButtonMargins ButtonMinHeight ButtonNote ButtonNotebook ButtonSource ButtonStyle ButtonStyleMenuListing Byte ByteCount ByteOrdering C CachedValue CacheGraphics CalendarData CalendarType CallPacket CanberraDistance Cancel CancelButton CandlestickChart Cap CapForm CapitalDifferentialD CardinalBSplineBasis CarmichaelLambda Cases Cashflow Casoratian Catalan CatalanNumber Catch CauchyDistribution CauchyWindow CayleyGraph CDF CDFDeploy CDFInformation CDFWavelet Ceiling Cell CellAutoOverwrite CellBaseline CellBoundingBox CellBracketOptions CellChangeTimes CellContents CellContext CellDingbat CellDynamicExpression CellEditDuplicate CellElementsBoundingBox CellElementSpacings CellEpilog CellEvaluationDuplicate CellEvaluationFunction CellEventActions CellFrame CellFrameColor CellFrameLabelMargins CellFrameLabels CellFrameMargins CellGroup CellGroupData CellGrouping CellGroupingRules CellHorizontalScrolling CellID CellLabel CellLabelAutoDelete CellLabelMargins CellLabelPositioning CellMargins CellObject CellOpen CellPrint CellProlog Cells CellSize CellStyle CellTags CellularAutomaton CensoredDistribution Censoring Center CenterDot CentralMoment CentralMomentGeneratingFunction CForm ChampernowneNumber ChanVeseBinarize Character CharacterEncoding CharacterEncodingsPath CharacteristicFunction CharacteristicPolynomial CharacterRange Characters ChartBaseStyle ChartElementData ChartElementDataFunction ChartElementFunction ChartElements ChartLabels ChartLayout ChartLegends ChartStyle Chebyshev1FilterModel Chebyshev2FilterModel ChebyshevDistance ChebyshevT ChebyshevU Check CheckAbort CheckAll Checkbox CheckboxBar CheckboxBox CheckboxBoxOptions ChemicalData ChessboardDistance ChiDistribution ChineseRemainder ChiSquareDistribution ChoiceButtons ChoiceDialog CholeskyDecomposition Chop Circle CircleBox CircleDot CircleMinus CirclePlus CircleTimes CirculantGraph CityData Clear ClearAll ClearAttributes ClearSystemCache ClebschGordan ClickPane Clip ClipboardNotebook ClipFill ClippingStyle ClipPlanes ClipRange Clock ClockGauge ClockwiseContourIntegral Close Closed CloseKernels ClosenessCentrality Closing ClosingAutoSave ClosingEvent ClusteringComponents CMYKColor Coarse Coefficient CoefficientArrays CoefficientDomain CoefficientList CoefficientRules CoifletWavelet Collect Colon ColonForm ColorCombine ColorConvert ColorData ColorDataFunction ColorFunction ColorFunctionScaling Colorize ColorNegate ColorOutput ColorProfileData ColorQuantize ColorReplace ColorRules ColorSelectorSettings ColorSeparate ColorSetter ColorSetterBox ColorSetterBoxOptions ColorSlider ColorSpace Column ColumnAlignments ColumnBackgrounds ColumnForm ColumnLines ColumnsEqual ColumnSpacings ColumnWidths CommonDefaultFormatTypes Commonest CommonestFilter CommonUnits CommunityBoundaryStyle CommunityGraphPlot CommunityLabels CommunityRegionStyle CompatibleUnitQ CompilationOptions CompilationTarget Compile Compiled CompiledFunction Complement CompleteGraph CompleteGraphQ CompleteKaryTree CompletionsListPacket Complex Complexes ComplexExpand ComplexInfinity ComplexityFunction ComponentMeasurements ComponentwiseContextMenu Compose ComposeList ComposeSeries Composition CompoundExpression CompoundPoissonDistribution CompoundPoissonProcess CompoundRenewalProcess Compress CompressedData Condition ConditionalExpression Conditioned Cone ConeBox ConfidenceLevel ConfidenceRange ConfidenceTransform ConfigurationPath Congruent Conjugate ConjugateTranspose Conjunction Connect ConnectedComponents ConnectedGraphQ ConnesWindow ConoverTest ConsoleMessage ConsoleMessagePacket ConsolePrint Constant ConstantArray Constants ConstrainedMax ConstrainedMin ContentPadding ContentsBoundingBox ContentSelectable ContentSize Context ContextMenu Contexts ContextToFilename ContextToFileName Continuation Continue ContinuedFraction ContinuedFractionK ContinuousAction ContinuousMarkovProcess ContinuousTimeModelQ ContinuousWaveletData ContinuousWaveletTransform ContourDetect ContourGraphics ContourIntegral ContourLabels ContourLines ContourPlot ContourPlot3D Contours ContourShading ContourSmoothing ContourStyle ContraharmonicMean Control ControlActive ControlAlignment ControllabilityGramian ControllabilityMatrix ControllableDecomposition ControllableModelQ ControllerDuration ControllerInformation ControllerInformationData ControllerLinking ControllerManipulate ControllerMethod ControllerPath ControllerState ControlPlacement ControlsRendering ControlType Convergents ConversionOptions ConversionRules ConvertToBitmapPacket ConvertToPostScript ConvertToPostScriptPacket Convolve ConwayGroupCo1 ConwayGroupCo2 ConwayGroupCo3 CoordinateChartData CoordinatesToolOptions CoordinateTransform CoordinateTransformData CoprimeQ Coproduct CopulaDistribution Copyable CopyDirectory CopyFile CopyTag CopyToClipboard CornerFilter CornerNeighbors Correlation CorrelationDistance CorrelationFunction CorrelationTest Cos Cosh CoshIntegral CosineDistance CosineWindow CosIntegral Cot Coth Count CounterAssignments CounterBox CounterBoxOptions CounterClockwiseContourIntegral CounterEvaluator CounterFunction CounterIncrements CounterStyle CounterStyleMenuListing CountRoots CountryData Covariance CovarianceEstimatorFunction CovarianceFunction CoxianDistribution CoxIngersollRossProcess CoxModel CoxModelFit CramerVonMisesTest CreateArchive CreateDialog CreateDirectory CreateDocument CreateIntermediateDirectories CreatePalette CreatePalettePacket CreateScheduledTask CreateTemporary CreateWindow CriticalityFailureImportance CriticalitySuccessImportance CriticalSection Cross CrossingDetect CrossMatrix Csc Csch CubeRoot Cubics Cuboid CuboidBox Cumulant CumulantGeneratingFunction Cup CupCap Curl CurlyDoubleQuote CurlyQuote CurrentImage CurrentlySpeakingPacket CurrentValue CurvatureFlowFilter CurveClosed Cyan CycleGraph CycleIndexPolynomial Cycles CyclicGroup Cyclotomic Cylinder CylinderBox CylindricalDecomposition D DagumDistribution DamerauLevenshteinDistance DampingFactor Darker Dashed Dashing DataCompression DataDistribution DataRange DataReversed Date DateDelimiters DateDifference DateFunction DateList DateListLogPlot DateListPlot DatePattern DatePlus DateRange DateString DateTicksFormat DaubechiesWavelet DavisDistribution DawsonF DayCount DayCountConvention DayMatchQ DayName DayPlus DayRange DayRound DeBruijnGraph Debug DebugTag Decimal DeclareKnownSymbols DeclarePackage Decompose Decrement DedekindEta Default DefaultAxesStyle DefaultBaseStyle DefaultBoxStyle DefaultButton DefaultColor DefaultControlPlacement DefaultDuplicateCellStyle DefaultDuration DefaultElement DefaultFaceGridsStyle DefaultFieldHintStyle DefaultFont DefaultFontProperties DefaultFormatType DefaultFormatTypeForStyle DefaultFrameStyle DefaultFrameTicksStyle DefaultGridLinesStyle DefaultInlineFormatType DefaultInputFormatType DefaultLabelStyle DefaultMenuStyle DefaultNaturalLanguage DefaultNewCellStyle DefaultNewInlineCellStyle DefaultNotebook DefaultOptions DefaultOutputFormatType DefaultStyle DefaultStyleDefinitions DefaultTextFormatType DefaultTextInlineFormatType DefaultTicksStyle DefaultTooltipStyle DefaultValues Defer DefineExternal DefineInputStreamMethod DefineOutputStreamMethod Definition Degree DegreeCentrality DegreeGraphDistribution DegreeLexicographic DegreeReverseLexicographic Deinitialization Del Deletable Delete DeleteBorderComponents DeleteCases DeleteContents DeleteDirectory DeleteDuplicates DeleteFile DeleteSmallComponents DeleteWithContents DeletionWarning Delimiter DelimiterFlashTime DelimiterMatching Delimiters Denominator DensityGraphics DensityHistogram DensityPlot DependentVariables Deploy Deployed Depth DepthFirstScan Derivative DerivativeFilter DescriptorStateSpace DesignMatrix Det DGaussianWavelet DiacriticalPositioning Diagonal DiagonalMatrix Dialog DialogIndent DialogInput DialogLevel DialogNotebook DialogProlog DialogReturn DialogSymbols Diamond DiamondMatrix DiceDissimilarity DictionaryLookup DifferenceDelta DifferenceOrder DifferenceRoot DifferenceRootReduce Differences DifferentialD DifferentialRoot DifferentialRootReduce DifferentiatorFilter DigitBlock DigitBlockMinimum DigitCharacter DigitCount DigitQ DihedralGroup Dilation Dimensions DiracComb DiracDelta DirectedEdge DirectedEdges DirectedGraph DirectedGraphQ DirectedInfinity Direction Directive Directory DirectoryName DirectoryQ DirectoryStack DirichletCharacter DirichletConvolve DirichletDistribution DirichletL DirichletTransform DirichletWindow DisableConsolePrintPacket DiscreteChirpZTransform DiscreteConvolve DiscreteDelta DiscreteHadamardTransform DiscreteIndicator DiscreteLQEstimatorGains DiscreteLQRegulatorGains DiscreteLyapunovSolve DiscreteMarkovProcess DiscretePlot DiscretePlot3D DiscreteRatio DiscreteRiccatiSolve DiscreteShift DiscreteTimeModelQ DiscreteUniformDistribution DiscreteVariables DiscreteWaveletData DiscreteWaveletPacketTransform DiscreteWaveletTransform Discriminant Disjunction Disk DiskBox DiskMatrix Dispatch DispersionEstimatorFunction Display DisplayAllSteps DisplayEndPacket DisplayFlushImagePacket DisplayForm DisplayFunction DisplayPacket DisplayRules DisplaySetSizePacket DisplayString DisplayTemporary DisplayWith DisplayWithRef DisplayWithVariable DistanceFunction DistanceTransform Distribute Distributed DistributedContexts DistributeDefinitions DistributionChart DistributionDomain DistributionFitTest DistributionParameterAssumptions DistributionParameterQ Dithering Div Divergence Divide DivideBy Dividers Divisible Divisors DivisorSigma DivisorSum DMSList DMSString Do DockedCells DocumentNotebook DominantColors DOSTextFormat Dot DotDashed DotEqual Dotted DoubleBracketingBar DoubleContourIntegral DoubleDownArrow DoubleLeftArrow DoubleLeftRightArrow DoubleLeftTee DoubleLongLeftArrow DoubleLongLeftRightArrow DoubleLongRightArrow DoubleRightArrow DoubleRightTee DoubleUpArrow DoubleUpDownArrow DoubleVerticalBar DoublyInfinite Down DownArrow DownArrowBar DownArrowUpArrow DownLeftRightVector DownLeftTeeVector DownLeftVector DownLeftVectorBar DownRightTeeVector DownRightVector DownRightVectorBar Downsample DownTee DownTeeArrow DownValues DragAndDrop DrawEdges DrawFrontFaces DrawHighlighted Drop DSolve Dt DualLinearProgramming DualSystemsModel DumpGet DumpSave DuplicateFreeQ Dynamic DynamicBox DynamicBoxOptions DynamicEvaluationTimeout DynamicLocation DynamicModule DynamicModuleBox DynamicModuleBoxOptions DynamicModuleParent DynamicModuleValues DynamicName DynamicNamespace DynamicReference DynamicSetting DynamicUpdating DynamicWrapper DynamicWrapperBox DynamicWrapperBoxOptions E EccentricityCentrality EdgeAdd EdgeBetweennessCentrality EdgeCapacity EdgeCapForm EdgeColor EdgeConnectivity EdgeCost EdgeCount EdgeCoverQ EdgeDashing EdgeDelete EdgeDetect EdgeForm EdgeIndex EdgeJoinForm EdgeLabeling EdgeLabels EdgeLabelStyle EdgeList EdgeOpacity EdgeQ EdgeRenderingFunction EdgeRules EdgeShapeFunction EdgeStyle EdgeThickness EdgeWeight Editable EditButtonSettings EditCellTagsSettings EditDistance EffectiveInterest Eigensystem Eigenvalues EigenvectorCentrality Eigenvectors Element ElementData Eliminate EliminationOrder EllipticE EllipticExp EllipticExpPrime EllipticF EllipticFilterModel EllipticK EllipticLog EllipticNomeQ EllipticPi EllipticReducedHalfPeriods EllipticTheta EllipticThetaPrime EmitSound EmphasizeSyntaxErrors EmpiricalDistribution Empty EmptyGraphQ EnableConsolePrintPacket Enabled Encode End EndAdd EndDialogPacket EndFrontEndInteractionPacket EndOfFile EndOfLine EndOfString EndPackage EngineeringForm Enter EnterExpressionPacket EnterTextPacket Entropy EntropyFilter Environment Epilog Equal EqualColumns EqualRows EqualTilde EquatedTo Equilibrium EquirippleFilterKernel Equivalent Erf Erfc Erfi ErlangB ErlangC ErlangDistribution Erosion ErrorBox ErrorBoxOptions ErrorNorm ErrorPacket ErrorsDialogSettings EstimatedDistribution EstimatedProcess EstimatorGains EstimatorRegulator EuclideanDistance EulerE EulerGamma EulerianGraphQ EulerPhi Evaluatable Evaluate Evaluated EvaluatePacket EvaluationCell EvaluationCompletionAction EvaluationElements EvaluationMode EvaluationMonitor EvaluationNotebook EvaluationObject EvaluationOrder Evaluator EvaluatorNames EvenQ EventData EventEvaluator EventHandler EventHandlerTag EventLabels ExactBlackmanWindow ExactNumberQ ExactRootIsolation ExampleData Except ExcludedForms ExcludePods Exclusions ExclusionsStyle Exists Exit ExitDialog Exp Expand ExpandAll ExpandDenominator ExpandFileName ExpandNumerator Expectation ExpectationE ExpectedValue ExpGammaDistribution ExpIntegralE ExpIntegralEi Exponent ExponentFunction ExponentialDistribution ExponentialFamily ExponentialGeneratingFunction ExponentialMovingAverage ExponentialPowerDistribution ExponentPosition ExponentStep Export ExportAutoReplacements ExportPacket ExportString Expression ExpressionCell ExpressionPacket ExpToTrig ExtendedGCD Extension ExtentElementFunction ExtentMarkers ExtentSize ExternalCall ExternalDataCharacterEncoding Extract ExtractArchive ExtremeValueDistribution FaceForm FaceGrids FaceGridsStyle Factor FactorComplete Factorial Factorial2 FactorialMoment FactorialMomentGeneratingFunction FactorialPower FactorInteger FactorList FactorSquareFree FactorSquareFreeList FactorTerms FactorTermsList Fail FailureDistribution False FARIMAProcess FEDisableConsolePrintPacket FeedbackSector FeedbackSectorStyle FeedbackType FEEnableConsolePrintPacket Fibonacci FieldHint FieldHintStyle FieldMasked FieldSize File FileBaseName FileByteCount FileDate FileExistsQ FileExtension FileFormat FileHash FileInformation FileName FileNameDepth FileNameDialogSettings FileNameDrop FileNameJoin FileNames FileNameSetter FileNameSplit FileNameTake FilePrint FileType FilledCurve FilledCurveBox Filling FillingStyle FillingTransform FilterRules FinancialBond FinancialData FinancialDerivative FinancialIndicator Find FindArgMax FindArgMin FindClique FindClusters FindCurvePath FindDistributionParameters FindDivisions FindEdgeCover FindEdgeCut FindEulerianCycle FindFaces FindFile FindFit FindGeneratingFunction FindGeoLocation FindGeometricTransform FindGraphCommunities FindGraphIsomorphism FindGraphPartition FindHamiltonianCycle FindIndependentEdgeSet FindIndependentVertexSet FindInstance FindIntegerNullVector FindKClan FindKClique FindKClub FindKPlex FindLibrary FindLinearRecurrence FindList FindMaximum FindMaximumFlow FindMaxValue FindMinimum FindMinimumCostFlow FindMinimumCut FindMinValue FindPermutation FindPostmanTour FindProcessParameters FindRoot FindSequenceFunction FindSettings FindShortestPath FindShortestTour FindThreshold FindVertexCover FindVertexCut Fine FinishDynamic FiniteAbelianGroupCount FiniteGroupCount FiniteGroupData First FirstPassageTimeDistribution FischerGroupFi22 FischerGroupFi23 FischerGroupFi24Prime FisherHypergeometricDistribution FisherRatioTest FisherZDistribution Fit FitAll FittedModel FixedPoint FixedPointList FlashSelection Flat Flatten FlattenAt FlatTopWindow FlipView Floor FlushPrintOutputPacket Fold FoldList Font FontColor FontFamily FontForm FontName FontOpacity FontPostScriptName FontProperties FontReencoding FontSize FontSlant FontSubstitutions FontTracking FontVariations FontWeight For ForAll Format FormatRules FormatType FormatTypeAutoConvert FormatValues FormBox FormBoxOptions FortranForm Forward ForwardBackward Fourier FourierCoefficient FourierCosCoefficient FourierCosSeries FourierCosTransform FourierDCT FourierDCTFilter FourierDCTMatrix FourierDST FourierDSTMatrix FourierMatrix FourierParameters FourierSequenceTransform FourierSeries FourierSinCoefficient FourierSinSeries FourierSinTransform FourierTransform FourierTrigSeries FractionalBrownianMotionProcess FractionalPart FractionBox FractionBoxOptions FractionLine Frame FrameBox FrameBoxOptions Framed FrameInset FrameLabel Frameless FrameMargins FrameStyle FrameTicks FrameTicksStyle FRatioDistribution FrechetDistribution FreeQ FrequencySamplingFilterKernel FresnelC FresnelS Friday FrobeniusNumber FrobeniusSolve FromCharacterCode FromCoefficientRules FromContinuedFraction FromDate FromDigits FromDMS Front FrontEndDynamicExpression FrontEndEventActions FrontEndExecute FrontEndObject FrontEndResource FrontEndResourceString FrontEndStackSize FrontEndToken FrontEndTokenExecute FrontEndValueCache FrontEndVersion FrontFaceColor FrontFaceOpacity Full FullAxes FullDefinition FullForm FullGraphics FullOptions FullSimplify Function FunctionExpand FunctionInterpolation FunctionSpace FussellVeselyImportance GaborFilter GaborMatrix GaborWavelet GainMargins GainPhaseMargins Gamma GammaDistribution GammaRegularized GapPenalty Gather GatherBy GaugeFaceElementFunction GaugeFaceStyle GaugeFrameElementFunction GaugeFrameSize GaugeFrameStyle GaugeLabels GaugeMarkers GaugeStyle GaussianFilter GaussianIntegers GaussianMatrix GaussianWindow GCD GegenbauerC General GeneralizedLinearModelFit GenerateConditions GeneratedCell GeneratedParameters GeneratingFunction Generic GenericCylindricalDecomposition GenomeData GenomeLookup GeodesicClosing GeodesicDilation GeodesicErosion GeodesicOpening GeoDestination GeodesyData GeoDirection GeoDistance GeoGridPosition GeometricBrownianMotionProcess GeometricDistribution GeometricMean GeometricMeanFilter GeometricTransformation GeometricTransformation3DBox GeometricTransformation3DBoxOptions GeometricTransformationBox GeometricTransformationBoxOptions GeoPosition GeoPositionENU GeoPositionXYZ GeoProjectionData GestureHandler GestureHandlerTag Get GetBoundingBoxSizePacket GetContext GetEnvironment GetFileName GetFrontEndOptionsDataPacket GetLinebreakInformationPacket GetMenusPacket GetPageBreakInformationPacket Glaisher GlobalClusteringCoefficient GlobalPreferences GlobalSession Glow GoldenRatio GompertzMakehamDistribution GoodmanKruskalGamma GoodmanKruskalGammaTest Goto Grad Gradient GradientFilter GradientOrientationFilter Graph GraphAssortativity GraphCenter GraphComplement GraphData GraphDensity GraphDiameter GraphDifference GraphDisjointUnion GraphDistance GraphDistanceMatrix GraphElementData GraphEmbedding GraphHighlight GraphHighlightStyle GraphHub Graphics Graphics3D Graphics3DBox Graphics3DBoxOptions GraphicsArray GraphicsBaseline GraphicsBox GraphicsBoxOptions GraphicsColor GraphicsColumn GraphicsComplex GraphicsComplex3DBox GraphicsComplex3DBoxOptions GraphicsComplexBox GraphicsComplexBoxOptions GraphicsContents GraphicsData GraphicsGrid GraphicsGridBox GraphicsGroup GraphicsGroup3DBox GraphicsGroup3DBoxOptions GraphicsGroupBox GraphicsGroupBoxOptions GraphicsGrouping GraphicsHighlightColor GraphicsRow GraphicsSpacing GraphicsStyle GraphIntersection GraphLayout GraphLinkEfficiency GraphPeriphery GraphPlot GraphPlot3D GraphPower GraphPropertyDistribution GraphQ GraphRadius GraphReciprocity GraphRoot GraphStyle GraphUnion Gray GrayLevel GreatCircleDistance Greater GreaterEqual GreaterEqualLess GreaterFullEqual GreaterGreater GreaterLess GreaterSlantEqual GreaterTilde Green Grid GridBaseline GridBox GridBoxAlignment GridBoxBackground GridBoxDividers GridBoxFrame GridBoxItemSize GridBoxItemStyle GridBoxOptions GridBoxSpacings GridCreationSettings GridDefaultElement GridElementStyleOptions GridFrame GridFrameMargins GridGraph GridLines GridLinesStyle GroebnerBasis GroupActionBase GroupCentralizer GroupElementFromWord GroupElementPosition GroupElementQ GroupElements GroupElementToWord GroupGenerators GroupMultiplicationTable GroupOrbits GroupOrder GroupPageBreakWithin GroupSetwiseStabilizer GroupStabilizer GroupStabilizerChain Gudermannian GumbelDistribution HaarWavelet HadamardMatrix HalfNormalDistribution HamiltonianGraphQ HammingDistance HammingWindow HankelH1 HankelH2 HankelMatrix HannPoissonWindow HannWindow HaradaNortonGroupHN HararyGraph HarmonicMean HarmonicMeanFilter HarmonicNumber Hash HashTable Haversine HazardFunction Head HeadCompose Heads HeavisideLambda HeavisidePi HeavisideTheta HeldGroupHe HeldPart HelpBrowserLookup HelpBrowserNotebook HelpBrowserSettings HermiteDecomposition HermiteH HermitianMatrixQ HessenbergDecomposition Hessian HexadecimalCharacter Hexahedron HexahedronBox HexahedronBoxOptions HiddenSurface HighlightGraph HighlightImage HighpassFilter HigmanSimsGroupHS HilbertFilter HilbertMatrix Histogram Histogram3D HistogramDistribution HistogramList HistogramTransform HistogramTransformInterpolation HitMissTransform HITSCentrality HodgeDual HoeffdingD HoeffdingDTest Hold HoldAll HoldAllComplete HoldComplete HoldFirst HoldForm HoldPattern HoldRest HolidayCalendar HomeDirectory HomePage Horizontal HorizontalForm HorizontalGauge HorizontalScrollPosition HornerForm HotellingTSquareDistribution HoytDistribution HTMLSave Hue HumpDownHump HumpEqual HurwitzLerchPhi HurwitzZeta HyperbolicDistribution HypercubeGraph HyperexponentialDistribution Hyperfactorial Hypergeometric0F1 Hypergeometric0F1Regularized Hypergeometric1F1 Hypergeometric1F1Regularized Hypergeometric2F1 Hypergeometric2F1Regularized HypergeometricDistribution HypergeometricPFQ HypergeometricPFQRegularized HypergeometricU Hyperlink HyperlinkCreationSettings Hyphenation HyphenationOptions HypoexponentialDistribution HypothesisTestData I Identity IdentityMatrix If IgnoreCase Im Image Image3D Image3DSlices ImageAccumulate ImageAdd ImageAdjust ImageAlign ImageApply ImageAspectRatio ImageAssemble ImageCache ImageCacheValid ImageCapture ImageChannels ImageClip ImageColorSpace ImageCompose ImageConvolve ImageCooccurrence ImageCorners ImageCorrelate ImageCorrespondingPoints ImageCrop ImageData ImageDataPacket ImageDeconvolve ImageDemosaic ImageDifference ImageDimensions ImageDistance ImageEffect ImageFeatureTrack ImageFileApply ImageFileFilter ImageFileScan ImageFilter ImageForestingComponents ImageForwardTransformation ImageHistogram ImageKeypoints ImageLevels ImageLines ImageMargins ImageMarkers ImageMeasurements ImageMultiply ImageOffset ImagePad ImagePadding ImagePartition ImagePeriodogram ImagePerspectiveTransformation ImageQ ImageRangeCache ImageReflect ImageRegion ImageResize ImageResolution ImageRotate ImageRotated ImageScaled ImageScan ImageSize ImageSizeAction ImageSizeCache ImageSizeMultipliers ImageSizeRaw ImageSubtract ImageTake ImageTransformation ImageTrim ImageType ImageValue ImageValuePositions Implies Import ImportAutoReplacements ImportString ImprovementImportance In IncidenceGraph IncidenceList IncidenceMatrix IncludeConstantBasis IncludeFileExtension IncludePods IncludeSingularTerm Increment Indent IndentingNewlineSpacings IndentMaxFraction IndependenceTest IndependentEdgeSetQ IndependentUnit IndependentVertexSetQ Indeterminate IndexCreationOptions Indexed IndexGraph IndexTag Inequality InexactNumberQ InexactNumbers Infinity Infix Information Inherited InheritScope Initialization InitializationCell InitializationCellEvaluation InitializationCellWarning InlineCounterAssignments InlineCounterIncrements InlineRules Inner Inpaint Input InputAliases InputAssumptions InputAutoReplacements InputField InputFieldBox InputFieldBoxOptions InputForm InputGrouping InputNamePacket InputNotebook InputPacket InputSettings InputStream InputString InputStringPacket InputToBoxFormPacket Insert InsertionPointObject InsertResults Inset Inset3DBox Inset3DBoxOptions InsetBox InsetBoxOptions Install InstallService InString Integer IntegerDigits IntegerExponent IntegerLength IntegerPart IntegerPartitions IntegerQ Integers IntegerString Integral Integrate Interactive InteractiveTradingChart Interlaced Interleaving InternallyBalancedDecomposition InterpolatingFunction InterpolatingPolynomial Interpolation InterpolationOrder InterpolationPoints InterpolationPrecision Interpretation InterpretationBox InterpretationBoxOptions InterpretationFunction InterpretTemplate InterquartileRange Interrupt InterruptSettings Intersection Interval IntervalIntersection IntervalMemberQ IntervalUnion Inverse InverseBetaRegularized InverseCDF InverseChiSquareDistribution InverseContinuousWaveletTransform InverseDistanceTransform InverseEllipticNomeQ InverseErf InverseErfc InverseFourier InverseFourierCosTransform InverseFourierSequenceTransform InverseFourierSinTransform InverseFourierTransform InverseFunction InverseFunctions InverseGammaDistribution InverseGammaRegularized InverseGaussianDistribution InverseGudermannian InverseHaversine InverseJacobiCD InverseJacobiCN InverseJacobiCS InverseJacobiDC InverseJacobiDN InverseJacobiDS InverseJacobiNC InverseJacobiND InverseJacobiNS InverseJacobiSC InverseJacobiSD InverseJacobiSN InverseLaplaceTransform InversePermutation InverseRadon InverseSeries InverseSurvivalFunction InverseWaveletTransform InverseWeierstrassP InverseZTransform Invisible InvisibleApplication InvisibleTimes IrreduciblePolynomialQ IsolatingInterval IsomorphicGraphQ IsotopeData Italic Item ItemBox ItemBoxOptions ItemSize ItemStyle ItoProcess JaccardDissimilarity JacobiAmplitude Jacobian JacobiCD JacobiCN JacobiCS JacobiDC JacobiDN JacobiDS JacobiNC JacobiND JacobiNS JacobiP JacobiSC JacobiSD JacobiSN JacobiSymbol JacobiZeta JankoGroupJ1 JankoGroupJ2 JankoGroupJ3 JankoGroupJ4 JarqueBeraALMTest JohnsonDistribution Join Joined JoinedCurve JoinedCurveBox JoinForm JordanDecomposition JordanModelDecomposition K KagiChart KaiserBesselWindow KaiserWindow KalmanEstimator KalmanFilter KarhunenLoeveDecomposition KaryTree KatzCentrality KCoreComponents KDistribution KelvinBei KelvinBer KelvinKei KelvinKer KendallTau KendallTauTest KernelExecute KernelMixtureDistribution KernelObject Kernels Ket Khinchin KirchhoffGraph KirchhoffMatrix KleinInvariantJ KnightTourGraph KnotData KnownUnitQ KolmogorovSmirnovTest KroneckerDelta KroneckerModelDecomposition KroneckerProduct KroneckerSymbol KuiperTest KumaraswamyDistribution Kurtosis KuwaharaFilter Label Labeled LabeledSlider LabelingFunction LabelStyle LaguerreL LambdaComponents LambertW LanczosWindow LandauDistribution Language LanguageCategory LaplaceDistribution LaplaceTransform Laplacian LaplacianFilter LaplacianGaussianFilter Large Larger Last Latitude LatitudeLongitude LatticeData LatticeReduce Launch LaunchKernels LayeredGraphPlot LayerSizeFunction LayoutInformation LCM LeafCount LeapYearQ LeastSquares LeastSquaresFilterKernel Left LeftArrow LeftArrowBar LeftArrowRightArrow LeftDownTeeVector LeftDownVector LeftDownVectorBar LeftRightArrow LeftRightVector LeftTee LeftTeeArrow LeftTeeVector LeftTriangle LeftTriangleBar LeftTriangleEqual LeftUpDownVector LeftUpTeeVector LeftUpVector LeftUpVectorBar LeftVector LeftVectorBar LegendAppearance Legended LegendFunction LegendLabel LegendLayout LegendMargins LegendMarkers LegendMarkerSize LegendreP LegendreQ LegendreType Length LengthWhile LerchPhi Less LessEqual LessEqualGreater LessFullEqual LessGreater LessLess LessSlantEqual LessTilde LetterCharacter LetterQ Level LeveneTest LeviCivitaTensor LevyDistribution Lexicographic LibraryFunction LibraryFunctionError LibraryFunctionInformation LibraryFunctionLoad LibraryFunctionUnload LibraryLoad LibraryUnload LicenseID LiftingFilterData LiftingWaveletTransform LightBlue LightBrown LightCyan Lighter LightGray LightGreen Lighting LightingAngle LightMagenta LightOrange LightPink LightPurple LightRed LightSources LightYellow Likelihood Limit LimitsPositioning LimitsPositioningTokens LindleyDistribution Line Line3DBox LinearFilter LinearFractionalTransform LinearModelFit LinearOffsetFunction LinearProgramming LinearRecurrence LinearSolve LinearSolveFunction LineBox LineBreak LinebreakAdjustments LineBreakChart LineBreakWithin LineColor LineForm LineGraph LineIndent LineIndentMaxFraction LineIntegralConvolutionPlot LineIntegralConvolutionScale LineLegend LineOpacity LineSpacing LineWrapParts LinkActivate LinkClose LinkConnect LinkConnectedQ LinkCreate LinkError LinkFlush LinkFunction LinkHost LinkInterrupt LinkLaunch LinkMode LinkObject LinkOpen LinkOptions LinkPatterns LinkProtocol LinkRead LinkReadHeld LinkReadyQ Links LinkWrite LinkWriteHeld LiouvilleLambda List Listable ListAnimate ListContourPlot ListContourPlot3D ListConvolve ListCorrelate ListCurvePathPlot ListDeconvolve ListDensityPlot Listen ListFourierSequenceTransform ListInterpolation ListLineIntegralConvolutionPlot ListLinePlot ListLogLinearPlot ListLogLogPlot ListLogPlot ListPicker ListPickerBox ListPickerBoxBackground ListPickerBoxOptions ListPlay ListPlot ListPlot3D ListPointPlot3D ListPolarPlot ListQ ListStreamDensityPlot ListStreamPlot ListSurfacePlot3D ListVectorDensityPlot ListVectorPlot ListVectorPlot3D ListZTransform Literal LiteralSearch LocalClusteringCoefficient LocalizeVariables LocationEquivalenceTest LocationTest Locator LocatorAutoCreate LocatorBox LocatorBoxOptions LocatorCentering LocatorPane LocatorPaneBox LocatorPaneBoxOptions LocatorRegion Locked Log Log10 Log2 LogBarnesG LogGamma LogGammaDistribution LogicalExpand LogIntegral LogisticDistribution LogitModelFit LogLikelihood LogLinearPlot LogLogisticDistribution LogLogPlot LogMultinormalDistribution LogNormalDistribution LogPlot LogRankTest LogSeriesDistribution LongEqual Longest LongestAscendingSequence LongestCommonSequence LongestCommonSequencePositions LongestCommonSubsequence LongestCommonSubsequencePositions LongestMatch LongForm Longitude LongLeftArrow LongLeftRightArrow LongRightArrow Loopback LoopFreeGraphQ LowerCaseQ LowerLeftArrow LowerRightArrow LowerTriangularize LowpassFilter LQEstimatorGains LQGRegulator LQOutputRegulatorGains LQRegulatorGains LUBackSubstitution LucasL LuccioSamiComponents LUDecomposition LyapunovSolve LyonsGroupLy MachineID MachineName MachineNumberQ MachinePrecision MacintoshSystemPageSetup Magenta Magnification Magnify MainSolve MaintainDynamicCaches Majority MakeBoxes MakeExpression MakeRules MangoldtLambda ManhattanDistance Manipulate Manipulator MannWhitneyTest MantissaExponent Manual Map MapAll MapAt MapIndexed MAProcess MapThread MarcumQ MardiaCombinedTest MardiaKurtosisTest MardiaSkewnessTest MarginalDistribution MarkovProcessProperties Masking MatchingDissimilarity MatchLocalNameQ MatchLocalNames MatchQ Material MathematicaNotation MathieuC MathieuCharacteristicA MathieuCharacteristicB MathieuCharacteristicExponent MathieuCPrime MathieuGroupM11 MathieuGroupM12 MathieuGroupM22 MathieuGroupM23 MathieuGroupM24 MathieuS MathieuSPrime MathMLForm MathMLText Matrices MatrixExp MatrixForm MatrixFunction MatrixLog MatrixPlot MatrixPower MatrixQ MatrixRank Max MaxBend MaxDetect MaxExtraBandwidths MaxExtraConditions MaxFeatures MaxFilter Maximize MaxIterations MaxMemoryUsed MaxMixtureKernels MaxPlotPoints MaxPoints MaxRecursion MaxStableDistribution MaxStepFraction MaxSteps MaxStepSize MaxValue MaxwellDistribution McLaughlinGroupMcL Mean MeanClusteringCoefficient MeanDegreeConnectivity MeanDeviation MeanFilter MeanGraphDistance MeanNeighborDegree MeanShift MeanShiftFilter Median MedianDeviation MedianFilter Medium MeijerG MeixnerDistribution MemberQ MemoryConstrained MemoryInUse Menu MenuAppearance MenuCommandKey MenuEvaluator MenuItem MenuPacket MenuSortingValue MenuStyle MenuView MergeDifferences Mesh MeshFunctions MeshRange MeshShading MeshStyle Message MessageDialog MessageList MessageName MessageOptions MessagePacket Messages MessagesNotebook MetaCharacters MetaInformation Method MethodOptions MexicanHatWavelet MeyerWavelet Min MinDetect MinFilter MinimalPolynomial MinimalStateSpaceModel Minimize Minors MinRecursion MinSize MinStableDistribution Minus MinusPlus MinValue Missing MissingDataMethod MittagLefflerE MixedRadix MixedRadixQuantity MixtureDistribution Mod Modal Mode Modular ModularLambda Module Modulus MoebiusMu Moment Momentary MomentConvert MomentEvaluate MomentGeneratingFunction Monday Monitor MonomialList MonomialOrder MonsterGroupM MorletWavelet MorphologicalBinarize MorphologicalBranchPoints MorphologicalComponents MorphologicalEulerNumber MorphologicalGraph MorphologicalPerimeter MorphologicalTransform Most MouseAnnotation MouseAppearance MouseAppearanceTag MouseButtons Mouseover MousePointerNote MousePosition MovingAverage MovingMedian MoyalDistribution MultiedgeStyle MultilaunchWarning MultiLetterItalics MultiLetterStyle MultilineFunction Multinomial MultinomialDistribution MultinormalDistribution MultiplicativeOrder Multiplicity Multiselection MultivariateHypergeometricDistribution MultivariatePoissonDistribution MultivariateTDistribution N NakagamiDistribution NameQ Names NamespaceBox Nand NArgMax NArgMin NBernoulliB NCache NDSolve NDSolveValue Nearest NearestFunction NeedCurrentFrontEndPackagePacket NeedCurrentFrontEndSymbolsPacket NeedlemanWunschSimilarity Needs Negative NegativeBinomialDistribution NegativeMultinomialDistribution NeighborhoodGraph Nest NestedGreaterGreater NestedLessLess NestedScriptRules NestList NestWhile NestWhileList NevilleThetaC NevilleThetaD NevilleThetaN NevilleThetaS NewPrimitiveStyle NExpectation Next NextPrime NHoldAll NHoldFirst NHoldRest NicholsGridLines NicholsPlot NIntegrate NMaximize NMaxValue NMinimize NMinValue NominalVariables NonAssociative NoncentralBetaDistribution NoncentralChiSquareDistribution NoncentralFRatioDistribution NoncentralStudentTDistribution NonCommutativeMultiply NonConstants None NonlinearModelFit NonlocalMeansFilter NonNegative NonPositive Nor NorlundB Norm Normal NormalDistribution NormalGrouping Normalize NormalizedSquaredEuclideanDistance NormalsFunction NormFunction Not NotCongruent NotCupCap NotDoubleVerticalBar Notebook NotebookApply NotebookAutoSave NotebookClose NotebookConvertSettings NotebookCreate NotebookCreateReturnObject NotebookDefault NotebookDelete NotebookDirectory NotebookDynamicExpression NotebookEvaluate NotebookEventActions NotebookFileName NotebookFind NotebookFindReturnObject NotebookGet NotebookGetLayoutInformationPacket NotebookGetMisspellingsPacket NotebookInformation NotebookInterfaceObject NotebookLocate NotebookObject NotebookOpen NotebookOpenReturnObject NotebookPath NotebookPrint NotebookPut NotebookPutReturnObject NotebookRead NotebookResetGeneratedCells Notebooks NotebookSave NotebookSaveAs NotebookSelection NotebookSetupLayoutInformationPacket NotebooksMenu NotebookWrite NotElement NotEqualTilde NotExists NotGreater NotGreaterEqual NotGreaterFullEqual NotGreaterGreater NotGreaterLess NotGreaterSlantEqual NotGreaterTilde NotHumpDownHump NotHumpEqual NotLeftTriangle NotLeftTriangleBar NotLeftTriangleEqual NotLess NotLessEqual NotLessFullEqual NotLessGreater NotLessLess NotLessSlantEqual NotLessTilde NotNestedGreaterGreater NotNestedLessLess NotPrecedes NotPrecedesEqual NotPrecedesSlantEqual NotPrecedesTilde NotReverseElement NotRightTriangle NotRightTriangleBar NotRightTriangleEqual NotSquareSubset NotSquareSubsetEqual NotSquareSuperset NotSquareSupersetEqual NotSubset NotSubsetEqual NotSucceeds NotSucceedsEqual NotSucceedsSlantEqual NotSucceedsTilde NotSuperset NotSupersetEqual NotTilde NotTildeEqual NotTildeFullEqual NotTildeTilde NotVerticalBar NProbability NProduct NProductFactors NRoots NSolve NSum NSumTerms Null NullRecords NullSpace NullWords Number NumberFieldClassNumber NumberFieldDiscriminant NumberFieldFundamentalUnits NumberFieldIntegralBasis NumberFieldNormRepresentatives NumberFieldRegulator NumberFieldRootsOfUnity NumberFieldSignature NumberForm NumberFormat NumberMarks NumberMultiplier NumberPadding NumberPoint NumberQ NumberSeparator NumberSigns NumberString Numerator NumericFunction NumericQ NuttallWindow NValues NyquistGridLines NyquistPlot O ObservabilityGramian ObservabilityMatrix ObservableDecomposition ObservableModelQ OddQ Off Offset OLEData On ONanGroupON OneIdentity Opacity Open OpenAppend Opener OpenerBox OpenerBoxOptions OpenerView OpenFunctionInspectorPacket Opening OpenRead OpenSpecialOptions OpenTemporary OpenWrite Operate OperatingSystem OptimumFlowData Optional OptionInspectorSettings OptionQ Options OptionsPacket OptionsPattern OptionValue OptionValueBox OptionValueBoxOptions Or Orange Order OrderDistribution OrderedQ Ordering Orderless OrnsteinUhlenbeckProcess Orthogonalize Out Outer OutputAutoOverwrite OutputControllabilityMatrix OutputControllableModelQ OutputForm OutputFormData OutputGrouping OutputMathEditExpression OutputNamePacket OutputResponse OutputSizeLimit OutputStream Over OverBar OverDot Overflow OverHat Overlaps Overlay OverlayBox OverlayBoxOptions Overscript OverscriptBox OverscriptBoxOptions OverTilde OverVector OwenT OwnValues PackingMethod PaddedForm Padding PadeApproximant PadLeft PadRight PageBreakAbove PageBreakBelow PageBreakWithin PageFooterLines PageFooters PageHeaderLines PageHeaders PageHeight PageRankCentrality PageWidth PairedBarChart PairedHistogram PairedSmoothHistogram PairedTTest PairedZTest PaletteNotebook PalettePath Pane PaneBox PaneBoxOptions Panel PanelBox PanelBoxOptions Paneled PaneSelector PaneSelectorBox PaneSelectorBoxOptions PaperWidth ParabolicCylinderD ParagraphIndent ParagraphSpacing ParallelArray ParallelCombine ParallelDo ParallelEvaluate Parallelization Parallelize ParallelMap ParallelNeeds ParallelProduct ParallelSubmit ParallelSum ParallelTable ParallelTry Parameter ParameterEstimator ParameterMixtureDistribution ParameterVariables ParametricFunction ParametricNDSolve ParametricNDSolveValue ParametricPlot ParametricPlot3D ParentConnect ParentDirectory ParentForm Parenthesize ParentList ParetoDistribution Part PartialCorrelationFunction PartialD ParticleData Partition PartitionsP PartitionsQ ParzenWindow PascalDistribution PassEventsDown PassEventsUp Paste PasteBoxFormInlineCells PasteButton Path PathGraph PathGraphQ Pattern PatternSequence PatternTest PauliMatrix PaulWavelet Pause PausedTime PDF PearsonChiSquareTest PearsonCorrelationTest PearsonDistribution PerformanceGoal PeriodicInterpolation Periodogram PeriodogramArray PermutationCycles PermutationCyclesQ PermutationGroup PermutationLength PermutationList PermutationListQ PermutationMax PermutationMin PermutationOrder PermutationPower PermutationProduct PermutationReplace Permutations PermutationSupport Permute PeronaMalikFilter Perpendicular PERTDistribution PetersenGraph PhaseMargins Pi Pick PIDData PIDDerivativeFilter PIDFeedforward PIDTune Piecewise PiecewiseExpand PieChart PieChart3D PillaiTrace PillaiTraceTest Pink Pivoting PixelConstrained PixelValue PixelValuePositions Placed Placeholder PlaceholderReplace Plain PlanarGraphQ Play PlayRange Plot Plot3D Plot3Matrix PlotDivision PlotJoined PlotLabel PlotLayout PlotLegends PlotMarkers PlotPoints PlotRange PlotRangeClipping PlotRangePadding PlotRegion PlotStyle Plus PlusMinus Pochhammer PodStates PodWidth Point Point3DBox PointBox PointFigureChart PointForm PointLegend PointSize PoissonConsulDistribution PoissonDistribution PoissonProcess PoissonWindow PolarAxes PolarAxesOrigin PolarGridLines PolarPlot PolarTicks PoleZeroMarkers PolyaAeppliDistribution PolyGamma Polygon Polygon3DBox Polygon3DBoxOptions PolygonBox PolygonBoxOptions PolygonHoleScale PolygonIntersections PolygonScale PolyhedronData PolyLog PolynomialExtendedGCD PolynomialForm PolynomialGCD PolynomialLCM PolynomialMod PolynomialQ PolynomialQuotient PolynomialQuotientRemainder PolynomialReduce PolynomialRemainder Polynomials PopupMenu PopupMenuBox PopupMenuBoxOptions PopupView PopupWindow Position Positive PositiveDefiniteMatrixQ PossibleZeroQ Postfix PostScript Power PowerDistribution PowerExpand PowerMod PowerModList PowerSpectralDensity PowersRepresentations PowerSymmetricPolynomial Precedence PrecedenceForm Precedes PrecedesEqual PrecedesSlantEqual PrecedesTilde Precision PrecisionGoal PreDecrement PredictionRoot PreemptProtect PreferencesPath Prefix PreIncrement Prepend PrependTo PreserveImageOptions Previous PriceGraphDistribution PrimaryPlaceholder Prime PrimeNu PrimeOmega PrimePi PrimePowerQ PrimeQ Primes PrimeZetaP PrimitiveRoot PrincipalComponents PrincipalValue Print PrintAction PrintForm PrintingCopies PrintingOptions PrintingPageRange PrintingStartingPageNumber PrintingStyleEnvironment PrintPrecision PrintTemporary Prism PrismBox PrismBoxOptions PrivateCellOptions PrivateEvaluationOptions PrivateFontOptions PrivateFrontEndOptions PrivateNotebookOptions PrivatePaths Probability ProbabilityDistribution ProbabilityPlot ProbabilityPr ProbabilityScalePlot ProbitModelFit ProcessEstimator ProcessParameterAssumptions ProcessParameterQ ProcessStateDomain ProcessTimeDomain Product ProductDistribution ProductLog ProgressIndicator ProgressIndicatorBox ProgressIndicatorBoxOptions Projection Prolog PromptForm Properties Property PropertyList PropertyValue Proportion Proportional Protect Protected ProteinData Pruning PseudoInverse Purple Put PutAppend Pyramid PyramidBox PyramidBoxOptions QBinomial QFactorial QGamma QHypergeometricPFQ QPochhammer QPolyGamma QRDecomposition QuadraticIrrationalQ Quantile QuantilePlot Quantity QuantityForm QuantityMagnitude QuantityQ QuantityUnit Quartics QuartileDeviation Quartiles QuartileSkewness QueueingNetworkProcess QueueingProcess QueueProperties Quiet Quit Quotient QuotientRemainder RadialityCentrality RadicalBox RadicalBoxOptions RadioButton RadioButtonBar RadioButtonBox RadioButtonBoxOptions Radon RamanujanTau RamanujanTauL RamanujanTauTheta RamanujanTauZ Random RandomChoice RandomComplex RandomFunction RandomGraph RandomImage RandomInteger RandomPermutation RandomPrime RandomReal RandomSample RandomSeed RandomVariate RandomWalkProcess Range RangeFilter RangeSpecification RankedMax RankedMin Raster Raster3D Raster3DBox Raster3DBoxOptions RasterArray RasterBox RasterBoxOptions Rasterize RasterSize Rational RationalFunctions Rationalize Rationals Ratios Raw RawArray RawBoxes RawData RawMedium RayleighDistribution Re Read ReadList ReadProtected Real RealBlockDiagonalForm RealDigits RealExponent Reals Reap Record RecordLists RecordSeparators Rectangle RectangleBox RectangleBoxOptions RectangleChart RectangleChart3D RecurrenceFilter RecurrenceTable RecurringDigitsForm Red Reduce RefBox ReferenceLineStyle ReferenceMarkers ReferenceMarkerStyle Refine ReflectionMatrix ReflectionTransform Refresh RefreshRate RegionBinarize RegionFunction RegionPlot RegionPlot3D RegularExpression Regularization Reinstall Release ReleaseHold ReliabilityDistribution ReliefImage ReliefPlot Remove RemoveAlphaChannel RemoveAsynchronousTask Removed RemoveInputStreamMethod RemoveOutputStreamMethod RemoveProperty RemoveScheduledTask RenameDirectory RenameFile RenderAll RenderingOptions RenewalProcess RenkoChart Repeated RepeatedNull RepeatedString Replace ReplaceAll ReplaceHeldPart ReplaceImageValue ReplaceList ReplacePart ReplacePixelValue ReplaceRepeated Resampling Rescale RescalingTransform ResetDirectory ResetMenusPacket ResetScheduledTask Residue Resolve Rest Resultant ResumePacket Return ReturnExpressionPacket ReturnInputFormPacket ReturnPacket ReturnTextPacket Reverse ReverseBiorthogonalSplineWavelet ReverseElement ReverseEquilibrium ReverseGraph ReverseUpEquilibrium RevolutionAxis RevolutionPlot3D RGBColor RiccatiSolve RiceDistribution RidgeFilter RiemannR RiemannSiegelTheta RiemannSiegelZ Riffle Right RightArrow RightArrowBar RightArrowLeftArrow RightCosetRepresentative RightDownTeeVector RightDownVector RightDownVectorBar RightTee RightTeeArrow RightTeeVector RightTriangle RightTriangleBar RightTriangleEqual RightUpDownVector RightUpTeeVector RightUpVector RightUpVectorBar RightVector RightVectorBar RiskAchievementImportance RiskReductionImportance RogersTanimotoDissimilarity Root RootApproximant RootIntervals RootLocusPlot RootMeanSquare RootOfUnityQ RootReduce Roots RootSum Rotate RotateLabel RotateLeft RotateRight RotationAction RotationBox RotationBoxOptions RotationMatrix RotationTransform Round RoundImplies RoundingRadius Row RowAlignments RowBackgrounds RowBox RowHeights RowLines RowMinHeight RowReduce RowsEqual RowSpacings RSolve RudvalisGroupRu Rule RuleCondition RuleDelayed RuleForm RulerUnits Run RunScheduledTask RunThrough RuntimeAttributes RuntimeOptions RussellRaoDissimilarity SameQ SameTest SampleDepth SampledSoundFunction SampledSoundList SampleRate SamplingPeriod SARIMAProcess SARMAProcess SatisfiabilityCount SatisfiabilityInstances SatisfiableQ Saturday Save Saveable SaveAutoDelete SaveDefinitions SawtoothWave Scale Scaled ScaleDivisions ScaledMousePosition ScaleOrigin ScalePadding ScaleRanges ScaleRangeStyle ScalingFunctions ScalingMatrix ScalingTransform Scan ScheduledTaskActiveQ ScheduledTaskData ScheduledTaskObject ScheduledTasks SchurDecomposition ScientificForm ScreenRectangle ScreenStyleEnvironment ScriptBaselineShifts ScriptLevel ScriptMinSize ScriptRules ScriptSizeMultipliers Scrollbars ScrollingOptions ScrollPosition Sec Sech SechDistribution SectionGrouping SectorChart SectorChart3D SectorOrigin SectorSpacing SeedRandom Select Selectable SelectComponents SelectedCells SelectedNotebook Selection SelectionAnimate SelectionCell SelectionCellCreateCell SelectionCellDefaultStyle SelectionCellParentStyle SelectionCreateCell SelectionDebuggerTag SelectionDuplicateCell SelectionEvaluate SelectionEvaluateCreateCell SelectionMove SelectionPlaceholder SelectionSetStyle SelectWithContents SelfLoops SelfLoopStyle SemialgebraicComponentInstances SendMail Sequence SequenceAlignment SequenceForm SequenceHold SequenceLimit Series SeriesCoefficient SeriesData SessionTime Set SetAccuracy SetAlphaChannel SetAttributes Setbacks SetBoxFormNamesPacket SetDelayed SetDirectory SetEnvironment SetEvaluationNotebook SetFileDate SetFileLoadingContext SetNotebookStatusLine SetOptions SetOptionsPacket SetPrecision SetProperty SetSelectedNotebook SetSharedFunction SetSharedVariable SetSpeechParametersPacket SetStreamPosition SetSystemOptions Setter SetterBar SetterBox SetterBoxOptions Setting SetValue Shading Shallow ShannonWavelet ShapiroWilkTest Share Sharpen ShearingMatrix ShearingTransform ShenCastanMatrix Short ShortDownArrow Shortest ShortestMatch ShortestPathFunction ShortLeftArrow ShortRightArrow ShortUpArrow Show ShowAutoStyles ShowCellBracket ShowCellLabel ShowCellTags ShowClosedCellArea ShowContents ShowControls ShowCursorTracker ShowGroupOpenCloseIcon ShowGroupOpener ShowInvisibleCharacters ShowPageBreaks ShowPredictiveInterface ShowSelection ShowShortBoxForm ShowSpecialCharacters ShowStringCharacters ShowSyntaxStyles ShrinkingDelay ShrinkWrapBoundingBox SiegelTheta SiegelTukeyTest Sign Signature SignedRankTest SignificanceLevel SignPadding SignTest SimilarityRules SimpleGraph SimpleGraphQ Simplify Sin Sinc SinghMaddalaDistribution SingleEvaluation SingleLetterItalics SingleLetterStyle SingularValueDecomposition SingularValueList SingularValuePlot SingularValues Sinh SinhIntegral SinIntegral SixJSymbol Skeleton SkeletonTransform SkellamDistribution Skewness SkewNormalDistribution Skip SliceDistribution Slider Slider2D Slider2DBox Slider2DBoxOptions SliderBox SliderBoxOptions SlideView Slot SlotSequence Small SmallCircle Smaller SmithDelayCompensator SmithWatermanSimilarity SmoothDensityHistogram SmoothHistogram SmoothHistogram3D SmoothKernelDistribution SocialMediaData Socket SokalSneathDissimilarity Solve SolveAlways SolveDelayed Sort SortBy Sound SoundAndGraphics SoundNote SoundVolume Sow Space SpaceForm Spacer Spacings Span SpanAdjustments SpanCharacterRounding SpanFromAbove SpanFromBoth SpanFromLeft SpanLineThickness SpanMaxSize SpanMinSize SpanningCharacters SpanSymmetric SparseArray SpatialGraphDistribution Speak SpeakTextPacket SpearmanRankTest SpearmanRho Spectrogram SpectrogramArray Specularity SpellingCorrection SpellingDictionaries SpellingDictionariesPath SpellingOptions SpellingSuggestionsPacket Sphere SphereBox SphericalBesselJ SphericalBesselY SphericalHankelH1 SphericalHankelH2 SphericalHarmonicY SphericalPlot3D SphericalRegion SpheroidalEigenvalue SpheroidalJoiningFactor SpheroidalPS SpheroidalPSPrime SpheroidalQS SpheroidalQSPrime SpheroidalRadialFactor SpheroidalS1 SpheroidalS1Prime SpheroidalS2 SpheroidalS2Prime Splice SplicedDistribution SplineClosed SplineDegree SplineKnots SplineWeights Split SplitBy SpokenString Sqrt SqrtBox SqrtBoxOptions Square SquaredEuclideanDistance SquareFreeQ SquareIntersection SquaresR SquareSubset SquareSubsetEqual SquareSuperset SquareSupersetEqual SquareUnion SquareWave StabilityMargins StabilityMarginsStyle StableDistribution Stack StackBegin StackComplete StackInhibit StandardDeviation StandardDeviationFilter StandardForm Standardize StandbyDistribution Star StarGraph StartAsynchronousTask StartingStepSize StartOfLine StartOfString StartScheduledTask StartupSound StateDimensions StateFeedbackGains StateOutputEstimator StateResponse StateSpaceModel StateSpaceRealization StateSpaceTransform StationaryDistribution StationaryWaveletPacketTransform StationaryWaveletTransform StatusArea StatusCentrality StepMonitor StieltjesGamma StirlingS1 StirlingS2 StopAsynchronousTask StopScheduledTask StrataVariables StratonovichProcess StreamColorFunction StreamColorFunctionScaling StreamDensityPlot StreamPlot StreamPoints StreamPosition Streams StreamScale StreamStyle String StringBreak StringByteCount StringCases StringCount StringDrop StringExpression StringForm StringFormat StringFreeQ StringInsert StringJoin StringLength StringMatchQ StringPosition StringQ StringReplace StringReplaceList StringReplacePart StringReverse StringRotateLeft StringRotateRight StringSkeleton StringSplit StringTake StringToStream StringTrim StripBoxes StripOnInput StripWrapperBoxes StrokeForm StructuralImportance StructuredArray StructuredSelection StruveH StruveL Stub StudentTDistribution Style StyleBox StyleBoxAutoDelete StyleBoxOptions StyleData StyleDefinitions StyleForm StyleKeyMapping StyleMenuListing StyleNameDialogSettings StyleNames StylePrint StyleSheetPath Subfactorial Subgraph SubMinus SubPlus SubresultantPolynomialRemainders SubresultantPolynomials Subresultants Subscript SubscriptBox SubscriptBoxOptions Subscripted Subset SubsetEqual Subsets SubStar Subsuperscript SubsuperscriptBox SubsuperscriptBoxOptions Subtract SubtractFrom SubValues Succeeds SucceedsEqual SucceedsSlantEqual SucceedsTilde SuchThat Sum SumConvergence Sunday SuperDagger SuperMinus SuperPlus Superscript SuperscriptBox SuperscriptBoxOptions Superset SupersetEqual SuperStar Surd SurdForm SurfaceColor SurfaceGraphics SurvivalDistribution SurvivalFunction SurvivalModel SurvivalModelFit SuspendPacket SuzukiDistribution SuzukiGroupSuz SwatchLegend Switch Symbol SymbolName SymletWavelet Symmetric SymmetricGroup SymmetricMatrixQ SymmetricPolynomial SymmetricReduction Symmetrize SymmetrizedArray SymmetrizedArrayRules SymmetrizedDependentComponents SymmetrizedIndependentComponents SymmetrizedReplacePart SynchronousInitialization SynchronousUpdating Syntax SyntaxForm SyntaxInformation SyntaxLength SyntaxPacket SyntaxQ SystemDialogInput SystemException SystemHelpPath SystemInformation SystemInformationData SystemOpen SystemOptions SystemsModelDelay SystemsModelDelayApproximate SystemsModelDelete SystemsModelDimensions SystemsModelExtract SystemsModelFeedbackConnect SystemsModelLabels SystemsModelOrder SystemsModelParallelConnect SystemsModelSeriesConnect SystemsModelStateFeedbackConnect SystemStub Tab TabFilling Table TableAlignments TableDepth TableDirections TableForm TableHeadings TableSpacing TableView TableViewBox TabSpacings TabView TabViewBox TabViewBoxOptions TagBox TagBoxNote TagBoxOptions TaggingRules TagSet TagSetDelayed TagStyle TagUnset Take TakeWhile Tally Tan Tanh TargetFunctions TargetUnits TautologyQ TelegraphProcess TemplateBox TemplateBoxOptions TemplateSlotSequence TemporalData Temporary TemporaryVariable TensorContract TensorDimensions TensorExpand TensorProduct TensorQ TensorRank TensorReduce TensorSymmetry TensorTranspose TensorWedge Tetrahedron TetrahedronBox TetrahedronBoxOptions TeXForm TeXSave Text Text3DBox Text3DBoxOptions TextAlignment TextBand TextBoundingBox TextBox TextCell TextClipboardType TextData TextForm TextJustification TextLine TextPacket TextParagraph TextRecognize TextRendering TextStyle Texture TextureCoordinateFunction TextureCoordinateScaling Therefore ThermometerGauge Thick Thickness Thin Thinning ThisLink ThompsonGroupTh Thread ThreeJSymbol Threshold Through Throw Thumbnail Thursday Ticks TicksStyle Tilde TildeEqual TildeFullEqual TildeTilde TimeConstrained TimeConstraint Times TimesBy TimeSeriesForecast TimeSeriesInvertibility TimeUsed TimeValue TimeZone Timing Tiny TitleGrouping TitsGroupT ToBoxes ToCharacterCode ToColor ToContinuousTimeModel ToDate ToDiscreteTimeModel ToeplitzMatrix ToExpression ToFileName Together Toggle ToggleFalse Toggler TogglerBar TogglerBox TogglerBoxOptions ToHeldExpression ToInvertibleTimeSeries TokenWords Tolerance ToLowerCase ToNumberField TooBig Tooltip TooltipBox TooltipBoxOptions TooltipDelay TooltipStyle Top TopHatTransform TopologicalSort ToRadicals ToRules ToString Total TotalHeight TotalVariationFilter TotalWidth TouchscreenAutoZoom TouchscreenControlPlacement ToUpperCase Tr Trace TraceAbove TraceAction TraceBackward TraceDepth TraceDialog TraceForward TraceInternal TraceLevel TraceOff TraceOn TraceOriginal TracePrint TraceScan TrackedSymbols TradingChart TraditionalForm TraditionalFunctionNotation TraditionalNotation TraditionalOrder TransferFunctionCancel TransferFunctionExpand TransferFunctionFactor TransferFunctionModel TransferFunctionPoles TransferFunctionTransform TransferFunctionZeros TransformationFunction TransformationFunctions TransformationMatrix TransformedDistribution TransformedField Translate TranslationTransform TransparentColor Transpose TreeForm TreeGraph TreeGraphQ TreePlot TrendStyle TriangleWave TriangularDistribution Trig TrigExpand TrigFactor TrigFactorList Trigger TrigReduce TrigToExp TrimmedMean True TrueQ TruncatedDistribution TsallisQExponentialDistribution TsallisQGaussianDistribution TTest Tube TubeBezierCurveBox TubeBezierCurveBoxOptions TubeBox TubeBSplineCurveBox TubeBSplineCurveBoxOptions Tuesday TukeyLambdaDistribution TukeyWindow Tuples TuranGraph TuringMachine Transparent UnateQ Uncompress Undefined UnderBar Underflow Underlined Underoverscript UnderoverscriptBox UnderoverscriptBoxOptions Underscript UnderscriptBox UnderscriptBoxOptions UndirectedEdge UndirectedGraph UndirectedGraphQ UndocumentedTestFEParserPacket UndocumentedTestGetSelectionPacket Unequal Unevaluated UniformDistribution UniformGraphDistribution UniformSumDistribution Uninstall Union UnionPlus Unique UnitBox UnitConvert UnitDimensions Unitize UnitRootTest UnitSimplify UnitStep UnitTriangle UnitVector Unprotect UnsameQ UnsavedVariables Unset UnsetShared UntrackedVariables Up UpArrow UpArrowBar UpArrowDownArrow Update UpdateDynamicObjects UpdateDynamicObjectsSynchronous UpdateInterval UpDownArrow UpEquilibrium UpperCaseQ UpperLeftArrow UpperRightArrow UpperTriangularize Upsample UpSet UpSetDelayed UpTee UpTeeArrow UpValues URL URLFetch URLFetchAsynchronous URLSave URLSaveAsynchronous UseGraphicsRange Using UsingFrontEnd V2Get ValidationLength Value ValueBox ValueBoxOptions ValueForm ValueQ ValuesData Variables Variance VarianceEquivalenceTest VarianceEstimatorFunction VarianceGammaDistribution VarianceTest VectorAngle VectorColorFunction VectorColorFunctionScaling VectorDensityPlot VectorGlyphData VectorPlot VectorPlot3D VectorPoints VectorQ Vectors VectorScale VectorStyle Vee Verbatim Verbose VerboseConvertToPostScriptPacket VerifyConvergence VerifySolutions VerifyTestAssumptions Version VersionNumber VertexAdd VertexCapacity VertexColors VertexComponent VertexConnectivity VertexCoordinateRules VertexCoordinates VertexCorrelationSimilarity VertexCosineSimilarity VertexCount VertexCoverQ VertexDataCoordinates VertexDegree VertexDelete VertexDiceSimilarity VertexEccentricity VertexInComponent VertexInDegree VertexIndex VertexJaccardSimilarity VertexLabeling VertexLabels VertexLabelStyle VertexList VertexNormals VertexOutComponent VertexOutDegree VertexQ VertexRenderingFunction VertexReplace VertexShape VertexShapeFunction VertexSize VertexStyle VertexTextureCoordinates VertexWeight Vertical VerticalBar VerticalForm VerticalGauge VerticalSeparator VerticalSlider VerticalTilde ViewAngle ViewCenter ViewMatrix ViewPoint ViewPointSelectorSettings ViewPort ViewRange ViewVector ViewVertical VirtualGroupData Visible VisibleCell VoigtDistribution VonMisesDistribution WaitAll WaitAsynchronousTask WaitNext WaitUntil WakebyDistribution WalleniusHypergeometricDistribution WaringYuleDistribution WatershedComponents WatsonUSquareTest WattsStrogatzGraphDistribution WaveletBestBasis WaveletFilterCoefficients WaveletImagePlot WaveletListPlot WaveletMapIndexed WaveletMatrixPlot WaveletPhi WaveletPsi WaveletScale WaveletScalogram WaveletThreshold WeaklyConnectedComponents WeaklyConnectedGraphQ WeakStationarity WeatherData WeberE Wedge Wednesday WeibullDistribution WeierstrassHalfPeriods WeierstrassInvariants WeierstrassP WeierstrassPPrime WeierstrassSigma WeierstrassZeta WeightedAdjacencyGraph WeightedAdjacencyMatrix WeightedData WeightedGraphQ Weights WelchWindow WheelGraph WhenEvent Which While White Whitespace WhitespaceCharacter WhittakerM WhittakerW WienerFilter WienerProcess WignerD WignerSemicircleDistribution WilksW WilksWTest WindowClickSelect WindowElements WindowFloating WindowFrame WindowFrameElements WindowMargins WindowMovable WindowOpacity WindowSelected WindowSize WindowStatusArea WindowTitle WindowToolbars WindowWidth With WolframAlpha WolframAlphaDate WolframAlphaQuantity WolframAlphaResult Word WordBoundary WordCharacter WordData WordSearch WordSeparators WorkingPrecision Write WriteString Wronskian XMLElement XMLObject Xnor Xor Yellow YuleDissimilarity ZernikeR ZeroSymmetric ZeroTest ZeroWidthTimes Zeta ZetaZero ZipfDistribution ZTest ZTransform $Aborted $ActivationGroupID $ActivationKey $ActivationUserRegistered $AddOnsDirectory $AssertFunction $Assumptions $AsynchronousTask $BaseDirectory $BatchInput $BatchOutput $BoxForms $ByteOrdering $Canceled $CharacterEncoding $CharacterEncodings $CommandLine $CompilationTarget $ConditionHold $ConfiguredKernels $Context $ContextPath $ControlActiveSetting $CreationDate $CurrentLink $DateStringFormat $DefaultFont $DefaultFrontEnd $DefaultImagingDevice $DefaultPath $Display $DisplayFunction $DistributedContexts $DynamicEvaluation $Echo $Epilog $ExportFormats $Failed $FinancialDataSource $FormatType $FrontEnd $FrontEndSession $GeoLocation $HistoryLength $HomeDirectory $HTTPCookies $IgnoreEOF $ImagingDevices $ImportFormats $InitialDirectory $Input $InputFileName $InputStreamMethods $Inspector $InstallationDate $InstallationDirectory $InterfaceEnvironment $IterationLimit $KernelCount $KernelID $Language $LaunchDirectory $LibraryPath $LicenseExpirationDate $LicenseID $LicenseProcesses $LicenseServer $LicenseSubprocesses $LicenseType $Line $Linked $LinkSupported $LoadedFiles $MachineAddresses $MachineDomain $MachineDomains $MachineEpsilon $MachineID $MachineName $MachinePrecision $MachineType $MaxExtraPrecision $MaxLicenseProcesses $MaxLicenseSubprocesses $MaxMachineNumber $MaxNumber $MaxPiecewiseCases $MaxPrecision $MaxRootDegree $MessageGroups $MessageList $MessagePrePrint $Messages $MinMachineNumber $MinNumber $MinorReleaseNumber $MinPrecision $ModuleNumber $NetworkLicense $NewMessage $NewSymbol $Notebooks $NumberMarks $Off $OperatingSystem $Output $OutputForms $OutputSizeLimit $OutputStreamMethods $Packages $ParentLink $ParentProcessID $PasswordFile $PatchLevelID $Path $PathnameSeparator $PerformanceGoal $PipeSupported $Post $Pre $PreferencesDirectory $PrePrint $PreRead $PrintForms $PrintLiteral $ProcessID $ProcessorCount $ProcessorType $ProductInformation $ProgramName $RandomState $RecursionLimit $ReleaseNumber $RootDirectory $ScheduledTask $ScriptCommandLine $SessionID $SetParentLink $SharedFunctions $SharedVariables $SoundDisplay $SoundDisplayFunction $SuppressInputFormHeads $SynchronousEvaluation $SyntaxHandler $System $SystemCharacterEncoding $SystemID $SystemWordLength $TemporaryDirectory $TemporaryPrefix $TextStyle $TimedOut $TimeUnit $TimeZone $TopDirectory $TraceOff $TraceOn $TracePattern $TracePostAction $TracePreAction $Urgent $UserAddOnsDirectory $UserBaseDirectory $UserDocumentsDirectory $UserName $Version $VersionNumber",contains:[{className:"comment",begin:/\(\*/,end:/\*\)/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"list",begin:/\{/,end:/\}/,illegal:/:/}]}}),i.registerLanguage("matlab",function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}],n={relevance:0,contains:[{className:"operator",begin:/'['\.]*/}]};return{keywords:{keyword:"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson"},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"},{className:"params",begin:"\\[",end:"\\]"}]},{begin:/[a-zA-Z_][a-zA-Z_0-9]*'['\.]*/,returnBegin:!0,relevance:0,contains:[{begin:/[a-zA-Z_][a-zA-Z_0-9]*/,relevance:0},n.contains[0]]},{className:"matrix",begin:"\\[",end:"\\]",contains:t,relevance:0,starts:n},{className:"cell",begin:"\\{",end:/}/,contains:t,relevance:0,starts:n},{begin:/\)/,relevance:0,starts:n},e.COMMENT("^\\s*\\%\\{\\s*$","^\\s*\\%\\}\\s*$"),e.COMMENT("\\%","$")].concat(t)}}),i.registerLanguage("mel",function(e){return{keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{className:"variable",variants:[{begin:"\\$\\d"},{begin:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},{begin:"\\*(\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)",relevance:0}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}),i.registerLanguage("mercury",function(e){var t={className:"label",begin:"XXX",end:"$",endsWithParent:!0,relevance:0},n=e.inherit(e.C_LINE_COMMENT_MODE,{begin:"%"}),r=e.inherit(e.C_BLOCK_COMMENT_MODE,{relevance:0});n.contains.push(t),r.contains.push(t);var i=e.inherit(e.APOS_STRING_MODE,{relevance:0}),a=e.inherit(e.QUOTE_STRING_MODE,{relevance:0});a.contains.push({className:"constant",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0});return{aliases:["m","moo"],keywords:{keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",pragma:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses",preprocessor:"foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]},n,r,{className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},e.NUMBER_MODE,i,a,{begin:/:-/}]}}),i.registerLanguage("mizar",function(e){return{keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}),i.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",n={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:t},r={begin:"->{",end:"}"},i={className:"variable",variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},a=[e.BACKSLASH_ESCAPE,n,i],o=[i,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),r,{className:"string",contains:a,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{className:"sub",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",relevance:5},{className:"operator",begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return n.contains=o,{aliases:["pl"],keywords:t,contains:r.contains=o}}),i.registerLanguage("mojolicious",function(e){return{subLanguage:"xml",contains:[{className:"preprocessor",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}),i.registerLanguage("monkey",function(e){var t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]};return{case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"variable",begin:"\\b(self|super)\\b"},{className:"preprocessor",beginKeywords:"import",end:"$"},{className:"preprocessor",begin:"\\s*#",end:"$",keywords:"if else elseif endif end then"},{className:"pi",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}),i.registerLanguage("nginx",function(e){var t={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/}/},{begin:"[\\$\\@]"+e.UNDERSCORE_IDENT_RE}]},n={endsWithParent:!0,lexemes:"[a-z/_]+",keywords:{built_in:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{className:"url",begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[t]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:"\\s\\^",end:"\\s|{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},t]};return{aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|{",returnBegin:!0,contains:[{className:"title",begin:e.UNDERSCORE_IDENT_RE,starts:n}],relevance:0}],illegal:"[^\\s\\}]"}}),i.registerLanguage("nimrod",function(e){return{aliases:["nim"],keywords:{keyword:"addr and as asm bind block break|0 case|0 cast const|0 continue|0 converter discard distinct|10 div do elif else|0 end|0 enum|0 except export finally for from generic if|0 import|0 in include|0 interface is isnot|10 iterator|10 let|0 macro method|10 mixin mod nil not notin|10 object|0 of or out proc|10 ptr raise ref|10 return shl shr static template try|0 tuple type|0 using|0 var|0 when while|0 with without xor yield",literal:"shared guarded stdin stdout stderr result|10 true false"},contains:[{className:"decorator",begin:/{\./,end:/\.}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"type",begin:/\b(int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|float|float32|float64|bool|char|string|cstring|pointer|expr|stmt|void|auto|any|range|array|openarray|varargs|seq|set|clong|culong|cchar|cschar|cshort|cint|csize|clonglong|cfloat|cdouble|clongdouble|cuchar|cushort|cuint|culonglong|cstringarray|semistatic)\b/},{className:"number",begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/,relevance:0},{className:"number",begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/,relevance:0},{className:"number",begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/,relevance:0},{className:"number",begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/,relevance:0},e.HASH_COMMENT_MODE]}}),i.registerLanguage("nix",function(e){var t={keyword:"rec with let in inherit assert if else then",constant:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},n={className:"subst",begin:/\$\{/,end:/}/,keywords:t},r={className:"string",begin:"''",end:"''",contains:[n]},i={className:"string",begin:'"',end:'"',contains:[n]},a=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,i,{className:"variable",begin:/[a-zA-Z0-9-_]+(\s*=)/,relevance:0}];return{aliases:["nixos"],keywords:t,contains:n.contains=a}}),i.registerLanguage("nsis",function(e){var t={className:"constant",begin:"\\$+{[a-zA-Z0-9_]+}"},n={className:"variable",begin:"\\$+[a-zA-Z0-9_]+",illegal:"\\(\\){}"},r={className:"constant",begin:"\\$+\\([a-zA-Z0-9_]+\\)"};return{case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileSeek FileWrite FileWriteByte FileWriteUTF16LE FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI FunctionEnd GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText IntCmp IntCmpU IntFmt IntOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PageExEnd Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionEnd SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionGroupEnd SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetPluginUnload SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption SubSectionEnd Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both colored current false force hide highest lastused leave listonly none normal notset off on open print show silent silentlog smooth textonly true user "},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[{className:"symbol",begin:"\\$(\\\\(n|r|t)|\\$)"},{className:"symbol",begin:"\\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)"},t,n,r]},e.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup SubSection",end:"$"},{className:"constant",begin:"\\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversionsystem|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|searchparse|searchreplace|tempfile|undef|verbose|warning)"},t,n,r,{className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},e.NUMBER_MODE,{className:"literal",begin:e.IDENT_RE+"::"+e.IDENT_RE}]}}),i.registerLanguage("objectivec",function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,n="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],keywords:{keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},lexemes:t,illegal:"</",contains:[{className:"built_in",begin:"(AV|CA|CF|CG|CI|MK|MP|NS|UI)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"}]},{className:"preprocessor",begin:"#",end:"$",contains:[{className:"title",variants:[{begin:'"',end:'"'},{begin:"<",end:">"}]}]},{className:"class",begin:"("+n.split(" ").join("|")+")\\b",end:"({|$)",excludeEnd:!0,keywords:n,lexemes:t,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"variable",begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}),i.registerLanguage("ocaml",function(e){return{aliases:["ml"],keywords:{keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,lexemes:"[a-z_]\\w*!?",contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"tag",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"char",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}),i.registerLanguage("openscad",function(e){var t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"function",beginKeywords:"module function",end:"\\=|\\{",contains:[{className:"params",begin:"\\(",end:"\\)",contains:["self",n,r,t,{className:"literal",begin:"false|true|PI|undef"}]},e.UNDERSCORE_TITLE_MODE]};return{aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"preprocessor",keywords:"include use",begin:"include|use <",end:">"},r,t,{className:"built_in",begin:"[*!#%]",relevance:0},i]}}),i.registerLanguage("oxygene",function(e){var t="abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained",n=e.COMMENT("{","}",{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},a={className:"string",begin:"(#\\d+)+"},o={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,a]},n,r]};return{case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[n,r,e.C_LINE_COMMENT_MODE,i,a,e.NUMBER_MODE,o,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:t,contains:[i,a,n,r,e.C_LINE_COMMENT_MODE,o]}]}}),i.registerLanguage("parser3",function(e){var t=e.COMMENT("{","}",{contains:["self"]});return{subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT("\\^rem{","}",{relevance:10,contains:[t]}),{className:"preprocessor",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:"\\$\\{?[\\w\\-\\.\\:]+\\}?"},{className:"keyword",begin:"\\^[\\w\\-\\.\\:]+"},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}),i.registerLanguage("pf",function(e){return{aliases:["pf.conf"],lexemes:/[a-z0-9_<>-]+/,keywords:{built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to routeallow-opts divert-packet divert-reply divert-to flags group icmp-typeicmp6-type label once probability recieved-on rtable prio queuetos tag tagged user keep fragment for os dropaf-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robinsource-hash static-portdup-to reply-to route-toparent bandwidth default min max qlimitblock-policy debug fingerprints hostid limit loginterface optimizationreassemble ruleset-optimization basic none profile skip state-defaultsstate-policy timeoutconst counters persistno modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppysource-track global rule max-src-nodes max-src-states max-src-connmax-src-conn-rate overload flushscrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"variable",begin:/\$[\w\d#@][\w\d_]*/},{className:"variable",begin:/</,end:/>/}]}}),i.registerLanguage("php",function(e){var t={className:"variable",begin:"\\$+[a-zA-Z_\7f-ÿ][a-zA-Z0-9_\7f-ÿ]*"},n={className:"preprocessor",begin:/<\?(php)?|\?>/},r={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["php3","php4","php5","php6"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"},n]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},n,t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,i]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},r,i]}}),i.registerLanguage("powershell",function(e){var t={className:"variable",variants:[{begin:/\$[\w\d][\w\d_:]*/}]},n={className:"string",begin:/"/,end:/"/,contains:[{begin:"`[\\s\\S]",relevance:0},t,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]};return{aliases:["ps"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",literal:"$null $true $false",built_in:"Add-Content Add-History Add-Member Add-PSSnapin Clear-Content Clear-Item Clear-Item Property Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ConvertTo-Html ConvertTo-SecureString Copy-Item Copy-ItemProperty Export-Alias Export-Clixml Export-Console Export-Csv ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item Join-Path Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug Set-Service Set-TraceSource Set-Variable Sort-Object Split-Path Start-Service Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where-Object Write-Debug Write-Error Write-Host Write-Output Write-Progress Write-Verbose Write-Warning",operator:"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,n,{className:"string",begin:/'/,end:/'/},t]}}),i.registerLanguage("processing",function(e){return{keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",constant:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",variable:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width",title:"setup draw",built_in:"size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}),i.registerLanguage("profile",function(e){return{contains:[e.C_NUMBER_MODE,{className:"built_in",begin:"{",end:"}$",excludeBegin:!0,excludeEnd:!0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],relevance:0},{className:"filename",begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{className:"header",begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{className:"summary",begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"function",begin:"\\(",end:"\\)$",contains:[e.UNDERSCORE_TITLE_MODE],relevance:0}]}}),i.registerLanguage("prolog",function(e){var t={begin:/\(/,end:/\)/,relevance:0},n={begin:/\[/,end:/\]/},r={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},i={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},a=[{className:"atom",begin:/[a-z][A-Za-z0-9_]*/,relevance:0},{className:"name",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},t,{begin:/:-/},n,r,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,{className:"string",begin:/0\'(\\\'|.)/},{className:"string",begin:/0\'\\s/},e.C_NUMBER_MODE];return t.contains=a,{contains:(n.contains=a).concat([{begin:/\.$/}])}}),i.registerLanguage("protobuf",function(e){return{keywords:{keyword:"package import option optional required repeated group",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/;/,excludeEnd:!0,keywords:"rpc returns"},{className:"constant",begin:/^\s*[A-Z_]+/,end:/\s*=/,excludeEnd:!0}]}}),i.registerLanguage("puppet",function(e){var t=e.COMMENT("#","$"),n="([A-Za-z_]|::)(\\w|::)*",r=e.inherit(e.TITLE_MODE,{begin:n}),i={className:"variable",begin:"\\$"+n},a={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{aliases:["pp"],contains:[t,i,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[r,t]},{beginKeywords:"define",end:/\{/,contains:[{className:"title",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"name",begin:e.IDENT_RE},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[a,t,{begin:"[a-zA-Z_]+\\s*=>"},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},i]}],relevance:0}]}}),i.registerLanguage("python",function(e){var t={className:"prompt",begin:/^(>>>|\.\.\.) /},n={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[t],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[t],relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},r={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},i={className:"params",begin:/\(/,end:/\)/,contains:["self",t,r,n]};return{aliases:["py","gyp"],keywords:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},illegal:/(<\/|->|\?)/,contains:[t,r,n,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def",relevance:10},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},{className:"decorator",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}),i.registerLanguage("q",function(e){return{aliases:["k","kdb"],keywords:{keyword:"do while select delete by update from",constant:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",typename:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},lexemes:/\b(`?)[A-Za-z0-9_]+\b/,contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}),i.registerLanguage("r",function(e){var t="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{contains:[e.HASH_COMMENT_MODE,{begin:t,lexemes:t,keywords:{keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{begin:"`",end:"`",relevance:0},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]}]}}),i.registerLanguage("rib",function(e){return{keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}),i.registerLanguage("roboconf",function(e){var t="[a-zA-Z-_][^\n{\r\n]+\\{";return{aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{className:"facet",begin:"^facet "+t,end:"}",keywords:"facet installer exports children extends",contains:[e.HASH_COMMENT_MODE]},{className:"instance-of",begin:"^instance of "+t,end:"}",keywords:"name count channels instance-data instance-state instance of",contains:[{className:"keyword",begin:"[a-zA-Z-_]+( |\t)*:"},e.HASH_COMMENT_MODE]},{className:"component",begin:"^"+t,end:"}",lexemes:"\\(?[a-zA-Z]+\\)?",keywords:"installer exports children extends imports facets alias (optional)",contains:[{className:"string",begin:"\\.[a-zA-Z-_]+",end:"\\s|,|;",excludeEnd:!0},e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}),i.registerLanguage("rsl",function(e){return{keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$"},{className:"shader",beginKeywords:"surface displacement light volume imager",end:"\\("},{className:"shading",beginKeywords:"illuminate illuminance gather",end:"\\("}]}}),i.registerLanguage("ruleslanguage",function(e){return{keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"array",variants:[{begin:"#\\s+[a-zA-Z\\ \\.]*",relevance:0},{begin:"#[a-zA-Z\\ \\.]+"}]}]}}),i.registerLanguage("rust",function(e){var t="([uif](8|16|32|64|size))?",n=e.inherit(e.C_BLOCK_COMMENT_MODE);return n.contains.push("self"),{aliases:["rs"],keywords:{keyword:"alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield int i8 i16 i32 i64 uint u8 u32 u64 float f32 f64 str char bool",built_in:"Copy Send Sized Sync Drop Fn FnMut FnOnce drop Box ToOwned Clone PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator Option Some None Result Ok Err SliceConcatExt String ToString Vec assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln!"},lexemes:e.IDENT_RE+"!?",illegal:"</",contains:[e.C_LINE_COMMENT_MODE,n,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",variants:[{begin:/r(#*)".*?"\1(?!#)/},{begin:/'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/},{begin:/'[a-zA-Z_][a-zA-Z0-9_]*/}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"preprocessor",begin:"#\\!?\\[",end:"\\]"},{beginKeywords:"type",end:"(=|<)",contains:[e.UNDERSCORE_TITLE_MODE],illegal:"\\S"},{beginKeywords:"trait enum",end:"{",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:e.IDENT_RE+"::"},{begin:"->"}]}}),i.registerLanguage("scala",function(e){var t={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},n={className:"class",beginKeywords:"class object trait type",end:/[:={\[(\n;]/,contains:[{className:"keyword",beginKeywords:"extends with",relevance:10},t]},r={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,contains:[t]};return{keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'u?r?"""',end:'"""',relevance:10},e.QUOTE_STRING_MODE,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},r,n,e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("scheme",function(e){var t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(\\-|\\+)?\\d+([./]\\d+)?",r={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},i={className:"number",variants:[{begin:n,relevance:0},{begin:"(\\-|\\+)?\\d+([./]\\d+)?[+\\-](\\-|\\+)?\\d+([./]\\d+)?i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},a=e.QUOTE_STRING_MODE,o=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],s={begin:t,relevance:0},c={className:"variable",begin:"'"+t},l={endsWithParent:!0,relevance:0},u={className:"list",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{className:"keyword",begin:t,lexemes:t,keywords:{built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"}},l]};return l.contains=[r,i,a,s,c,u].concat(o),{illegal:/\S/,contains:[{className:"shebang",begin:"^#!",end:"$"},i,a,c,u].concat(o)}}),i.registerLanguage("scilab",function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{aliases:["sci"],keywords:{keyword:"abort break case clear catch continue do elseif else endfunction end for functionglobal if pause return resume select try then while%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp errorexec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isemptyisinfisnan isvector lasterror length load linspace list listfiles log10 log2 logmax min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand realround sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tantype typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function endfunction",end:"$",keywords:"function endfunction|10",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"transposed_variable",begin:"[a-zA-Z_][a-zA-Z_0-9]*('+[\\.']*|[\\.']+)",end:"",relevance:0},{className:"matrix",begin:"\\[",end:"\\]'*[\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}),i.registerLanguage("scss",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",n={className:"variable",begin:"(\\$"+t+")\\b"},r={className:"function",begin:t+"\\(",returnBegin:!0,excludeEnd:!0,end:"\\("},i={className:"hexcolor",begin:"#[0-9A-Fa-f]+"};e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE;return{case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,{className:"id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"attr_selector",begin:"\\[",end:"\\]",illegal:"$"},{className:"tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{className:"pseudo",begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{className:"pseudo",begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},n,{className:"attribute",begin:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{className:"value",begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{className:"value",begin:":",end:";",contains:[r,n,i,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"important",begin:"!important"}]},{className:"at_rule",begin:"@",end:"[{;]",keywords:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",contains:[r,n,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,e.CSS_NUMBER_MODE,{className:"preprocessor",begin:"\\s[A-Za-z0-9_.-]+",relevance:0}]}]}}),i.registerLanguage("smali",function(e){var t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];return{aliases:["smali"],contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",begin:"\\s*\\.end\\s[a-zA-Z0-9]*",relevance:1},{className:"keyword",begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{className:"keyword",begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{className:"keyword",begin:"\\s("+["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"].join("|")+")",relevance:1},{className:"keyword",begin:"\\[",relevance:0},{className:"instruction",begin:"\\s("+t.join("|")+")\\s",relevance:1},{className:"instruction",begin:"\\s("+t.join("|")+")((\\-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{className:"instruction",begin:"\\s("+["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"].join("|")+")((\\-|/)[a-zA-Z0-9]+)*\\s",relevance:10},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{className:"function",begin:'( |->)[^(\n ;"]*\\(',relevance:0},{className:"function",begin:"\\)",relevance:0},{className:"variable",begin:"[vp][0-9]+",relevance:0}]}}),i.registerLanguage("smalltalk",function(e){var t="[a-z][a-zA-Z0-9_]*",n={className:"char",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{aliases:["st"],keywords:"self super nil true false thisContext",contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"class",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{className:"method",begin:t+":",relevance:0},e.C_NUMBER_MODE,r,n,{className:"localvars",begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{className:"array",begin:"\\#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,r]}]}}),i.registerLanguage("sml",function(e){return{aliases:["ml"],keywords:{keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,lexemes:"[a-z_]\\w*!?",contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)"},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"tag",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"char",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}),i.registerLanguage("sqf",function(e){var t=["case","catch","default","do","else","exit","exitWith|5","for","forEach","from","if","switch","then","throw","to","try","while","with"],n=["!","-","+","!=","%","&&","*","/","=","==",">",">=","<","<=","^",":",">>"],r=["true","false","nil"],i=["!","-","+","!=","%","&&","*","/","=","==",">",">=","<","<=","or","plus","^",":",">>","abs","accTime","acos","action","actionKeys","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","activateAddons","activatedAddons","activateKey","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazine array","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addUniform","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponPool","addWeaponTurret","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityRTD","airportSide","AISFinishHeal","alive","allControls","allCurators","allDead","allDeadMen","allDisplays","allGroups","allMapMarkers","allMines","allMissionObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowFileOperations","allowFleeing","allowGetIn","allPlayers","allSites","allTurrets","allUnits","allUnitsUAV","allVariables","ammo","and","animate","animateDoor","animationPhase","animationState","append","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","binocular","blufor","boundingBox","boundingBoxReal","boundingCenter","breakOut","breakTo","briefingName","buildingExit","buildingPos","buttonAction","buttonSetAction","cadetMode","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canFire","canMove","canSlingLoad","canStand","canUnloadInCombat","captive","captiveNum","case","catch","cbChecked","cbSetChecked","ceil","cheatsEnabled","checkAIFeature","civilian","className","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandTarget","commandWatch","comment","commitOverlay","compile","compileFinal","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configProperties","configSourceMod","configSourceModList","connectTerminalToUAV","controlNull","controlsGroupCtrl","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createUnit array","createVehicle","createVehicle array","createVehicleCrew","createVehicleLocal","crew","ctrlActivate","ctrlAddEventHandler","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlParent","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlSetActiveColor","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontP","ctrlSetFontPB","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetPosition","ctrlSetScale","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlShow","ctrlShown","ctrlText","ctrlTextHeight","ctrlType","ctrlVisible","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorTarget","customChat","customRadio","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","daytime","deActivateKey","debriefingText","debugFSM","debugLog","default","deg","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag activeMissionFSMs","diag activeSQFScripts","diag activeSQSScripts","diag captureFrame","diag captureSlowFrame","diag fps","diag fpsMin","diag frameNo","diag log","diag logSlowFrame","diag tickTime","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","direction","directSay","disableAI","disableCollisionWith","disableConversation","disableDebriefingStats","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayCtrl","displayNull","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLine","drawLine3D","drawLink","drawLocation","drawRectangle","driver","drop","east","echo","editObject","editorSetEventHandler","effectiveCommander","else","emptyPositions","enableAI","enableAIFeature","enableAttack","enableCamShake","enableCaustics","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableTeamSwitch","enableUAVConnectability","enableUAVWaypoints","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesRpmRTD","enginesTorqueRTD","entities","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exit","exitWith","exp","expectedDestination","eyeDirection","eyePos","face","faction","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","false","fillWeaponsFromPool","find","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagOwner","fleeing","floor","flyInHeight","fog","fogForecast","fogParams","for","forceAddUniform","forceEnd","forceMap","forceRespawn","forceSpeed","forceWalk","forceWeaponFire","forceWeatherChange","forEach","forEachMember","forEachMemberAgent","forEachMemberTeam","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeLook","from","fromEditor","fuel","fullCrew","gearSlotAmmoCount","gearSlotData","getAllHitPointsDamage","getAmmoCargo","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssignedCuratorLogic","getAssignedCuratorUnit","getBackpackCargo","getBleedingRemaining","getBurningValue","getCargoIndex","getCenterOfMass","getClientState","getConnectedUAV","getDammage","getDescription","getDir","getDirVisual","getDLCs","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getFatigue","getFriend","getFSMVariable","getFuelCargo","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getModelInfo","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectMaterials","getObjectProxy","getObjectTextures","getObjectType","getObjectViewDistance","getOxygenRemaining","getPersonUsedDLCs","getPlayerChannel","getPlayerUID","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getRepairCargo","getResolution","getShadowDistance","getSlingLoad","getSpeed","getSuppression","getTerrainHeightASL","getText","getVariable","getWeaponCargo","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupId","groupOwner","groupRadio","groupSelectedUnits","groupSelectUnit","grpNull","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hasInterface","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","if","image","importAllGroups","importance","in","incapacitatedState","independent","inflame","inflamed","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inputAction","inRangeOfArtillery","insertEditorObject","intersect","isAbleToBreathe","isAgent","isArray","isAutoHoverOn","isAutonomous","isAutotest","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDedicated","isDLCAvailable","isEngineOn","isEqualTo","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMultiplayer","isNil","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPipEnabled","isPlayer","isRealTime","isServer","isShowing3DIcons","isSteamMission","isStreamFriendlyUIEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUniformAllowed","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbSelection","lbSetColor","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortByValue","lbText","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineBreak","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbSetColor","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetText","lnbSetValue","lnbSize","lnbText","lnbValue","load","loadAbs","loadBackpack","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","local","localize","locationNull","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCargo","lockedDriver","lockedTurret","lockTurret","lockWP","log","logEntities","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerColor","markerDir","markerPos","markerShape","markerSize","markerText","markerType","max","members","min","mineActive","mineDetectedBy","missionConfigFile","missionName","missionNamespace","missionStart","mod","modelToWorld","modelToWorldVisual","moonIntensity","morale","move","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","name location","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestObject","nearestObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nil","nMenuItems","not","numberToDate","objectCurators","objectFromNetId","objectParent","objNull","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openMap","openYoutubeVideo","opfor","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseText","parsingNamespace","particlesQuality","pi","pickWeaponPool","pitch","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","private","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioVolume","rain","rainbow","random","rank","rankId","rating","rectangular","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","removeAction","removeAllActions","removeAllAssignedItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllPrimaryWeaponItems","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeVest","removeWeapon","removeWeaponGlobal","removeWeaponTurret","requiredVersion","resetCamShake","resetSubgroupDirection","resistance","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeEndPosition","ropeLength","ropes","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","saveGame","saveIdentity","saveJoysticks","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenToWorld","scriptDone","scriptName","scriptNull","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionPosition","selectLeader","selectNoPlayer","selectPlayer","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverTime","set","setAccTime","setAirportSide","setAmmo","setAmmoCargo","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBleedingRemaining","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatMode","setCompassOscillation","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDir","setDirection","setDrawIcon","setDropInterval","setEditorMode","setEditorObjectScope","setEffectCondition","setFace","setFaceAnimation","setFatigue","setFlagOwner","setFlagSide","setFlagTexture","setFog","setFog array","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupId","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setIdentity","setImportance","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightnings","setLightUseFlare","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPos","setMarkerPosLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMimic","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectProxy","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotLight","setPiPEffect","setPitch","setPlayable","setPlayerRespawnTime","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setShadowDistance","setSide","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimulWeatherLayers","setSize","setSkill","setSkill array","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskResult","setTaskState","setTerrainGrid","setText","setTimeMultiplier","setTitleEffect","setTriggerActivation","setTriggerArea","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setType","setUnconscious","setUnitAbility","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnloadInCombat","setUserActionText","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWind","setWindDir","setWindForce","setWindStr","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGPS","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGPS","shownHUD","shownMap","shownPad","shownRadio","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","side","sideChat","sideEnemy","sideFriendly","sideLogic","sideRadio","sideUnknown","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","step","stop","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceType","swimInDepth","switch","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","synchronizeWaypoint trigger","systemChat","systemOfUnits","tan","targetKnowledge","targetsAggregate","targetsQuery","taskChildren","taskCompleted","taskDescription","taskDestination","taskHint","taskNull","taskParent","taskResult","taskState","teamMember","teamMemberNull","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","text","text location","textLog","textLogFormat","tg","then","throw","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","to","toArray","toLower","toString","toUpper","triggerActivated","triggerActivation","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","true","try","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvPicture","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetTooltip","tvSetValue","tvSort","tvSortByValue","tvText","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","unitAddons","unitBackpack","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAudioTimeForMoves","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorMagnitude","vectorMagnitudeSqr","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vehicle","vehicleChat","vehicleRadio","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGPS","visibleMap","visiblePosition","visiblePositionASL","visibleWatch","waitUntil","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointFormation","waypointHousePosition","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponCargo","weaponDirection","weaponLowered","weapons","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","west","WFSideText","while","wind","windDir","windStr","wingsForcesRTD","with","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"].filter(function(e){return-1==t.indexOf(e)&&-1==r.indexOf(e)&&-1==n.indexOf(e)});i=i.concat(["_forEachIndex|10","_this|10","_x|10"]);var a={className:"number",begin:e.NUMBER_RE,relevance:0},o={className:"string",variants:[e.QUOTE_STRING_MODE,{begin:"'\\\\?.",end:"'",illegal:"."}]},s={className:"preprocessor",begin:"#",end:"$",keywords:"if else elif endif define undef warning error line pragma ifdef ifndef",contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",contains:[o,{className:"string",begin:"<",end:">",illegal:"\\n"}]},o,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{aliases:["sqf"],case_insensitive:!0,keywords:{keyword:t.join(" "),built_in:i.join(" "),literal:r.join(" ")},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"string",relevance:0,variants:[{begin:'"',end:'"',contains:[{begin:'""'}]},{begin:"'",end:"'",contains:[{begin:"''"}]}]},s]}}),i.registerLanguage("sql",function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*]/,contains:[{className:"operator",beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke",end:/;/,endsWithParent:!0,keywords:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes c cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle d data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration e each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract f failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function g general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http i id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists k keep keep_duplicates key keys kill l language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim m main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex n name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding p package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime t table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}]},{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t]},e.C_BLOCK_COMMENT_MODE,t]}}),i.registerLanguage("stata",function(e){return{aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate g gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l la lab labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize meqparse mer merg merge mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"label",variants:[{begin:"\\$\\{?[a-zA-Z0-9_]+\\}?"},{begin:"`[a-zA-Z0-9_]+'"}]},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"literal",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\(|$)"}]},e.COMMENT("^[ \t]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}),i.registerLanguage("step21",function(e){var t=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"label",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}];return{aliases:["p21","step","stp"],case_insensitive:!0,lexemes:"[A-Z_][A-Z0-9_.]*",keywords:{literal:"",built_in:"",keyword:"HEADER ENDSEC DATA"},contains:[{className:"preprocessor",begin:"END-ISO-10303-21;",relevance:10},{className:"preprocessor",begin:"ISO-10303-21;",relevance:10}].concat(t)}}),i.registerLanguage("stylus",function(e){var t={className:"variable",begin:"\\$"+e.IDENT_RE},n={className:"hexcolor",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})",relevance:10},r="[\\.\\s\\n\\[\\:,]";return{aliases:["styl"],case_insensitive:!1,illegal:"("+["\\{","\\}","\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",keywords:"if else for in",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+r,returnBegin:!0,contains:[{className:"class",begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"}]},{begin:"\\#[a-zA-Z][a-zA-Z0-9_-]*"+r,returnBegin:!0,contains:[{className:"id",begin:"\\#[a-zA-Z][a-zA-Z0-9_-]*"}]},{begin:"\\b("+["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"].join("|")+")"+r,returnBegin:!0,contains:[{className:"tag",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"}]},{className:"pseudo",begin:"&?:?:\\b("+["after","before","first-letter","first-line","active","first-child","focus","hover","lang","link","visited"].join("|")+")"+r},{className:"at_rule",begin:"@("+["charset","css","debug","extend","font-face","for","import","include","media","mixin","page","warn","while"].join("|")+")\\b"},t,e.CSS_NUMBER_MODE,e.NUMBER_MODE,{className:"function",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[n,t,e.APOS_STRING_MODE,e.CSS_NUMBER_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse().join("|")+")\\b"}]}}),i.registerLanguage("swift",function(e){var t={keyword:"__COLUMN__ __FILE__ __FUNCTION__ __LINE__ as as! as? associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r={className:"subst",begin:/\\\(/,end:"\\)",keywords:t,contains:[]},i={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{contains:[r,e.BACKSLASH_ESCAPE]});return r.contains=[i],{keywords:t,contains:[a,e.C_LINE_COMMENT_MODE,n,{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i,{className:"func",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/,illegal:/\(/}),{className:"generics",begin:/</,end:/>/,illegal:/>/},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,contains:["self",i,a,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:t,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/})]},{className:"preprocessor",begin:"(@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain)"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,n]}]}}),i.registerLanguage("tcl",function(e){return{aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"symbol",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",excludeEnd:!0,variants:[{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)",end:"[^a-zA-Z0-9_\\}\\$]"},{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"(\\))?[^a-zA-Z0-9_\\}\\$]"}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},{className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]}]}}),i.registerLanguage("tex",function(e){var t={className:"command",begin:"\\\\[a-zA-Zа-яА-я]+[\\*]?"},n={className:"command",begin:"\\\\[^a-zA-Zа-яА-я0-9]"},r={className:"special",begin:"[{}\\[\\]\\&#~]",relevance:0};return{contains:[{begin:"\\\\[a-zA-Zа-яА-я]+[\\*]? *= *-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?",returnBegin:!0,contains:[t,n,{className:"number",begin:" *=",end:"-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?",excludeBegin:!0}],relevance:10},t,n,r,{className:"formula",begin:"\\$\\$",end:"\\$\\$",contains:[t,n,r],relevance:0},{className:"formula",begin:"\\$",end:"\\$",contains:[t,n,r],relevance:0},e.COMMENT("%","$",{relevance:0})]}}),i.registerLanguage("thrift",function(e){var t="bool byte i16 i32 i64 double string binary";return{keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:t,contains:["self"]}]}}),i.registerLanguage("tp",function(e){var t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"comment",begin:":[^\\]]+"};return{keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET",constant:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[{className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER| TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},{className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]},{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}),i.registerLanguage("twig",function(e){var t={className:"function",beginKeywords:"attribute block constant cycle date dump include max min parent random range source template_from_string",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},n={className:"filter",begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse round slice sort split striptags title trim upper url_encode",contains:[t]},r="autoescape block do embed extends filter flush for if import include macro sandbox set spaceless use verbatim";return r=r+" "+r.split(" ").map(function(e){return"end"+e}).join(" "),{aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#}/),{className:"template_tag",begin:/\{%/,end:/%}/,keywords:r,contains:[n,t]},{className:"variable",begin:/\{\{/,end:/}}/,contains:[n,t]}]}}),i.registerLanguage("typescript",function(e){var t={keyword:"in if for while finally var new function|0 do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void"};return{aliases:["ts"],keywords:t,contains:[{className:"pi",begin:/^\s*['"]use strict['"]/,relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE],relevance:0},{className:"function",begin:"function",end:/[\{;]/,excludeEnd:!0,keywords:t,contains:["self",e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:/["'\(]/}],illegal:/\[|%/,relevance:0},{className:"constructor",beginKeywords:"constructor",end:/\{/,excludeEnd:!0,relevance:10},{className:"module",beginKeywords:"module",end:/\{/,excludeEnd:!0},{className:"interface",beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+e.IDENT_RE,relevance:0}]}}),i.registerLanguage("vala",function(e){return{keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface delegate namespace",end:"{",excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"^#",end:"$",relevance:2},{className:"constant",begin:" [A-Z_]+ ",relevance:0}]}}),i.registerLanguage("vbnet",function(e){return{aliases:["vb"],case_insensitive:!0,keywords:{keyword:"addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass namespace narrowing new next not notinheritable notoverridable of off on operator option optional or order orelse overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim rem removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly xor",built_in:"boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype date decimal directcast double gettype getxmlnamespace iif integer long object sbyte short single string trycast typeof uinteger ulong ushort",literal:"true false nothing"},illegal:"//|{|}|endif|gosub|variant|wend",contains:[e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT("'","$",{returnBegin:!0,contains:[{className:"xmlDocTag",begin:"'''|\x3c!--|--\x3e",contains:[e.PHRASAL_WORDS_MODE]},{className:"xmlDocTag",begin:"</?",end:">",contains:[e.PHRASAL_WORDS_MODE]}]}),e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$",keywords:"if else elseif end region externalsource"}]}}),i.registerLanguage("vbscript",function(e){return{aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:"lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion scriptengine split scriptengineminorversion cint sin datepart ltrim sqr scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw chrw regexp server response request cstr err",literal:"true false null nothing empty"},illegal:"//",contains:[e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}),i.registerLanguage("vbscript-html",function(e){return{subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}),i.registerLanguage("verilog",function(e){return{aliases:["v"],case_insensitive:!0,keywords:{keyword:"always and assign begin buf bufif0 bufif1 case casex casez cmos deassign default defparam disable edge else end endcase endfunction endmodule endprimitive endspecify endtable endtask event for force forever fork function if ifnone initial inout input join macromodule module nand negedge nmos nor not notif0 notif1 or output parameter pmos posedge primitive pulldown pullup rcmos release repeat rnmos rpmos rtran rtranif0 rtranif1 specify specparam table task timescale tran tranif0 tranif1 wait while xnor xor",typename:"highz0 highz1 integer large medium pull0 pull1 real realtime reg scalared signed small strong0 strong1 supply0 supply0 supply1 supply1 time tri tri0 tri1 triand trior trireg vectored wand weak0 weak1 wire wor"},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"number",begin:"\\b(\\d+'(b|h|o|d|B|H|O|D))?[0-9xzXZ]+",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"typename",begin:"\\.\\w+",relevance:0},{className:"value",begin:"#\\((?!parameter).+\\)"},{className:"keyword",begin:"\\+|-|\\*|/|%|<|>|=|#|`|\\!|&|\\||@|:|\\^|~|\\{|\\}",relevance:0}]}}),i.registerLanguage("vhdl",function(e){return{case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable vmode vprop vunit wait when while with xnor xor",typename:"boolean bit character severity_level integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_ulogic std_ulogic_vector std_logic std_logic_vector unsigned signed boolean_vector integer_vector real_vector time_vector"},illegal:"{",contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:"\\b(\\d(_|\\d)*#\\w+(\\.\\w+)?#([eE][-+]?\\d(_|\\d)*)?|\\d(_|\\d)*(\\.\\d(_|\\d)*)?([eE][-+]?\\d(_|\\d)*)?)",relevance:0},{className:"literal",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"attribute",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}),i.registerLanguage("vim",function(e){return{lexemes:/[!#@\w]+/,keywords:{keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw d|0 delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu g|0 go gr grepa gu gv ha h|0 helpf helpg helpt hi hid his i|0 ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs n|0 new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf q|0 quita qa r|0 rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv s|0 sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync t|0 tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up v|0 ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"abs acos add and append argc argidx argv asin atan atan2 browse browsedir bufexists buflisted bufloaded bufname bufnr bufwinnr byte2line byteidx call ceil changenr char2nr cindent clearmatches col complete complete_add complete_check confirm copy cos cosh count cscope_connection cursor deepcopy delete did_filetype diff_filler diff_hlID empty escape eval eventhandler executable exists exp expand extend feedkeys filereadable filewritable filter finddir findfile float2nr floor fmod fnameescape fnamemodify foldclosed foldclosedend foldlevel foldtext foldtextresult foreground function garbagecollect get getbufline getbufvar getchar getcharmod getcmdline getcmdpos getcmdtype getcwd getfontname getfperm getfsize getftime getftype getline getloclist getmatches getpid getpos getqflist getreg getregtype gettabvar gettabwinvar getwinposx getwinposy getwinvar glob globpath has has_key haslocaldir hasmapto histadd histdel histget histnr hlexists hlID hostname iconv indent index input inputdialog inputlist inputrestore inputsave inputsecret insert invert isdirectory islocked items join keys len libcall libcallnr line line2byte lispindent localtime log log10 luaeval map maparg mapcheck match matchadd matcharg matchdelete matchend matchlist matchstr max min mkdir mode mzeval nextnonblank nr2char or pathshorten pow prevnonblank printf pumvisible py3eval pyeval range readfile reltime reltimestr remote_expr remote_foreground remote_peek remote_read remote_send remove rename repeat resolve reverse round screenattr screenchar screencol screenrow search searchdecl searchpair searchpairpos searchpos server2client serverlist setbufvar setcmdpos setline setloclist setmatches setpos setqflist setreg settabvar settabwinvar setwinvar sha256 shellescape shiftwidth simplify sin sinh sort soundfold spellbadword spellsuggest split sqrt str2float str2nr strchars strdisplaywidth strftime stridx string strlen strpart strridx strtrans strwidth submatch substitute synconcealed synID synIDattr synIDtrans synstack system tabpagebuflist tabpagenr tabpagewinnr tagfiles taglist tan tanh tempname tolower toupper tr trunc type undofile undotree values virtcol visualmode wildmenumode winbufnr wincol winheight winline winnr winrestcmd winrestview winsaveview winwidth writefile xor"},illegal:/[{:]/,contains:[e.NUMBER_MODE,e.APOS_STRING_MODE,{className:"string",begin:/"((\\")|[^"\n])*("|\n)/},{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]}]}}),i.registerLanguage("x86asm",function(e){return{case_insensitive:!0,lexemes:"\\.?"+e.IDENT_RE,keywords:{keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",literal:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l",pseudo:"db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times",preprocessor:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public ",built_in:"bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"},{begin:"\\.[A-Za-z0-9]+"}],relevance:0},{className:"label",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"argument",begin:"%[0-9]+",relevance:0},{className:"built_in",begin:"%!S+",relevance:0}]}}),i.registerLanguage("xl",function(e){var t="ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts",n={className:"string",begin:'"',end:'"',illegal:"\\n"},r={className:"import",beginKeywords:"import",end:"$",keywords:{keyword:"import",module:t},relevance:0,contains:[n]};return{aliases:["tao"],lexemes:/[a-zA-Z][a-zA-Z0-9_?]*/,keywords:{keyword:"if then else do while until for loop import with is as where when by data constant",literal:"true false nil",type:"integer real text name boolean symbol infix prefix postfix block tree",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at",module:t,id:"text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:"<<",end:">>"},{className:"function",begin:"[a-z].*->"},r,{className:"constant",begin:"[A-Z][A-Z_0-9]+",relevance:0},{className:"variable",begin:"([A-Z][a-z_0-9]+)+",relevance:0},{className:"id",begin:"[a-z][a-z_0-9]+",relevance:0},{className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?",relevance:10},e.NUMBER_MODE]}}),i.registerLanguage("xquery",function(e){var t={begin:"{",end:"}"},n=[{className:"variable",begin:/\$[a-zA-Z0-9\-]+/,relevance:5},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"comment",begin:"\\(:",end:":\\)",relevance:10,contains:[{className:"doc",begin:"@\\w+"}]},{className:"decorator",begin:"%\\w+"},t];return{aliases:["xpath","xq"],case_insensitive:!1,lexemes:/[a-zA-Z\$][a-zA-Z0-9_:\-]*/,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{keyword:"for let if while then else return where group by xquery encoding versionmodule namespace boundary-space preserve strip default collation base-uri orderingcopy-namespaces order declare import schema namespace function option in allowing emptyat tumbling window sliding window start when only end when previous next stable ascendingdescending empty greatest least some every satisfies switch case typeswitch try catch andor to union intersect instance of treat as castable cast map array delete insert intoreplace value rename copy modify update",literal:"false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute"},contains:t.contains=n}}),i.registerLanguage("zephir",function(e){var t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["zep"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var let while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally int uint long ulong char uchar double float bool boolean stringlikely unlikely",contains:[e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:"<<<['\"]?\\w+['\"]?$",end:"^\\w+;",contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",e.C_BLOCK_COMMENT_MODE,t,n]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},t,n]}}),i}),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return-1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=0,i=n[r];t=t||[];for(var a=this._onceEvents&&this._onceEvents[e];i;){var o=a&&a[i];o&&(this.off(e,i),delete a[i]),i.apply(this,t),i=n[r+=o?0:1]}return this}},e}),function(t,n){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return n(t,e)}):"object"==typeof module&&module.exports?module.exports=n(t,require("ev-emitter")):t.imagesLoaded=n(t,t.EvEmitter)}(window,function(t,e){"use strict";var r=t.jQuery,i=t.console;function a(e,t){for(var n in t)e[n]=t[n];return e}function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=function(e){var t=[];if(Array.isArray(e))t=e;else if("number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t}(e),this.options=a({},this.options),"function"==typeof t?n=t:a(this.options,t),n&&this.on("always",n),this.getImages(),r&&(this.jqDeferred=new r.Deferred),setTimeout(function(){this.check()}.bind(this))}(o.prototype=Object.create(e.prototype)).options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&s[t]){for(var n=e.querySelectorAll("img"),r=0;r<n.length;r++){var i=n[r];this.addImage(i)}if("string"==typeof this.options.background){var a=e.querySelectorAll(this.options.background);for(r=0;r<a.length;r++){var o=a[r];this.addElementBackgroundImages(o)}}}};var s={1:!0,9:!0,11:!0};function n(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(t.backgroundImage);null!==r;){var i=r&&r[2];i&&this.addBackground(i,e),r=n.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new n(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},o.prototype.check=function(){var r=this;function t(e,t,n){setTimeout(function(){r.progress(e,t,n)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&i&&i.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},(n.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},n.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},n.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},n.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(c.prototype=Object.create(n.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((r=e).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(r(this))})},o.makeJQueryPlugin(),o}),function(e){function t(e,t){if(!(1<e.originalEvent.touches.length)){e.preventDefault();var n=e.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(r)}}if(e.support.touch="ontouchend"in document,e.support.touch){var n,r=e.ui.mouse.prototype,i=r._mouseInit,a=r._mouseDestroy;r._touchStart=function(e){!n&&this._mouseCapture(e.originalEvent.changedTouches[0])&&(n=!0,this._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},r._touchMove=function(e){n&&(this._touchMoved=!0,t(e,"mousemove"))},r._touchEnd=function(e){n&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),n=!1)},r._mouseInit=function(){this.element.bind({touchstart:e.proxy(this,"_touchStart"),touchmove:e.proxy(this,"_touchMove"),touchend:e.proxy(this,"_touchEnd")}),i.call(this)},r._mouseDestroy=function(){this.element.unbind({touchstart:e.proxy(this,"_touchStart"),touchmove:e.proxy(this,"_touchMove"),touchend:e.proxy(this,"_touchEnd")}),a.call(this)}}}(jQuery),function(e,f){(function(e){if(typeof module!=="undefined"&&module.exports){return function(e){module.exports=e()}}else if(typeof define==="function"&&define.amd){return define}else if(typeof window!=="undefined"){return function(e){window.MobileDetect=e()}}else{throw new Error("unknown environment")}})()(function(){"use strict";var s,c={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI)\\b",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bJolla\\b|\\bTP750\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",Tizen:"Tizen",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:"Firefox/[VER]",Fennec:"Fennec/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},l=Object.prototype.hasOwnProperty;function t(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function n(e,t){var n,r,i=e.length;if(!i||!t)return!1;for(n=t.toLowerCase(),r=0;r<i;++r)if(n===e[r].toLowerCase())return!0;return!1}function u(e){for(var t in e)l.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function o(e,t){this.ua=e||"",this._cache={},this.maxPhoneWidth=t||600}return c.FALLBACK_PHONE="UnknownPhone",c.FALLBACK_TABLET="UnknownTablet",c.FALLBACK_MOBILE="UnknownMobile",s="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,n,r,i,a,o=c.mobileDetectRules;for(e in o.props)if(l.call(o.props,e)){for(t=o.props[e],s(t)||(t=[t]),i=t.length,r=0;r<i;++r)0<=(a=(n=t[r]).indexOf("[VER]"))&&(n=n.substring(0,a)+"([\\w._\\+]+)"+n.substring(a+5)),t[r]=new RegExp(n,"i");o.props[e]=t}u(o.oss),u(o.phones),u(o.tablets),u(o.uas),u(o.utils),o.oss0={WindowsPhoneOS:o.oss.WindowsPhoneOS,WindowsMobileOS:o.oss.WindowsMobileOS}}(),c.findMatch=function(e,t){for(var n in e)if(l.call(e,n)&&e[n].test(t))return n;return null},c.findMatches=function(e,t){var n=[];for(var r in e)l.call(e,r)&&e[r].test(t)&&n.push(r);return n},c.getVersionStr=function(e,t){var n,r,i,a,o=c.mobileDetectRules.props;if(l.call(o,e))for(i=(n=o[e]).length,r=0;r<i;++r)if(null!==(a=n[r].exec(t)))return a[1];return null},c.getVersion=function(e,t){var n=c.getVersionStr(e,t);return n?c.prepareVersionNo(n):NaN},c.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),1<t.length&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},c.isMobileFallback=function(e){return c.detectMobileBrowsers.fullPattern.test(e)||c.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},c.isTabletFallback=function(e){return c.detectMobileBrowsers.tabletPattern.test(e)},c.prepareDetectionCache=function(e,t,n){if(e.mobile===f){var r,i,a;if(i=c.findMatch(c.mobileDetectRules.tablets,t))return e.mobile=e.tablet=i,void(e.phone=null);if(r=c.findMatch(c.mobileDetectRules.phones,t))return e.mobile=e.phone=r,void(e.tablet=null);c.isMobileFallback(t)?(a=o.isPhoneSized(n))===f?(e.mobile=c.FALLBACK_MOBILE,e.tablet=e.phone=null):a?(e.mobile=e.phone=c.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=c.FALLBACK_TABLET,e.phone=null):c.isTabletFallback(t)?(e.mobile=e.tablet=c.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},c.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&4.3<=e.version("iPad")||e.os("iOS")&&3.1<=e.version("iPhone")||e.os("iOS")&&3.1<=e.version("iPod")||2.1<e.version("Android")&&e.is("Webkit")||7<=e.version("Windows Phone OS")||e.is("BlackBerry")&&6<=e.version("BlackBerry")||e.match("Playbook.*Tablet")||1.4<=e.version("webOS")&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&12<=e.version("Firefox")||e.is("Chrome")&&e.is("AndroidOS")&&4<=e.version("Android")||e.is("Skyfire")&&4.1<=e.version("Skyfire")&&e.is("AndroidOS")&&2.3<=e.version("Android")||e.is("Opera")&&11<e.version("Opera Mobi")&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&2<=e.version("Bada")||(e.is("UC Browser")||e.is("Dolfin"))&&2.3<=e.version("Android")||e.match("Kindle Fire")||e.is("Kindle")&&3<=e.version("Kindle")||e.is("AndroidOS")&&e.is("NookTablet")||11<=e.version("Chrome")&&!t||5<=e.version("Safari")&&!t||4<=e.version("Firefox")&&!t||7<=e.version("MSIE")&&!t||10<=e.version("Opera")&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&5<=e.version("BlackBerry")&&e.version("BlackBerry")<6||5<=e.version("Opera Mini")&&e.version("Opera Mini")<=6.5&&(2.3<=e.version("Android")||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=e.version("Opera Mobi")&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},c.detectOS=function(e){return c.findMatch(c.mobileDetectRules.oss0,e)||c.findMatch(c.mobileDetectRules.oss,e)},c.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},o.prototype={constructor:o,mobile:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===f&&(this._cache.userAgent=c.findMatch(c.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===f&&(this._cache.userAgents=c.findMatches(c.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===f&&(this._cache.os=c.detectOS(this.ua)),this._cache.os},version:function(e){return c.getVersion(e,this.ua)},versionStr:function(e){return c.getVersionStr(e,this.ua)},is:function(e){return n(this.userAgents(),e)||t(e,this.os())||t(e,this.phone())||t(e,this.tablet())||n(c.findMatches(c.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return o.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===f&&(this._cache.grade=c.mobileGrade(this)),this._cache.grade}},o.isPhoneSized="undefined"!=typeof window&&window.screen?function(e){return e<0?f:c.getDeviceSmallerSide()<=e}:function(){},o._impl=c,o})}(),function(o){var s,c,l,u,f,e=function(){function e(){defaults={locale:"en",format:"L LTS",minView:"year",maxView:"minute",startView:"year",leftArrow:"←",rightArrow:"→",monthsFormat:"MMM",daysFormat:"D",hoursFormat:"HH:[00]",minutesFormat:moment.localeData().longDateFormat("LT").replace(/[aA]/,""),secondsFormat:"ss",minutesStep:5,secondsStep:1}}return e.prototype.options=function(e){return o.extend(defaults,e),o.copy(defaults)},e.prototype.$get=function(){return defaults},e}(),a=function(){function e(e,t,n,r,i){this.restrict="A",this.scope={model:"=momentPicker",locale:"@?",format:"@?",minView:"@?",maxView:"@?",startView:"@?",minDate:"=?",maxDate:"=?",disabled:"=?disable",change:"&?"},s=e,c=t,l=n,u=r,f=i}return e.prototype.$inject=["$timeout","$sce","$compile","$document","momentPicker"],e.prototype.link=function(a,e,t){a.template='<div class="moment-picker-container {{view.selected}}-view" ng-show="view.isOpen && !disabled" ng-class="{\'moment-picker-disabled\': disabled}"><table class="header-view"><thead><tr><th ng-class="{disabled: !view.previous.selectable}" ng-bind-html="view.previous.label" ng-click="view.previous.set()"></th><th ng-bind="view.title" ng-click="view.setParentView()"></th><th ng-class="{disabled: !view.next.selectable}" ng-bind-html="view.next.label" ng-click="view.next.set()"></th></tr></thead></table><div class="moment-picker-specific-views"><table ng-if="view.selected == \'year\'"><tbody><tr ng-repeat="fourMonth in yearView.fourMonths"><td ng-repeat="month in fourMonth track by month.month" ng-class="month.class" ng-bind="month.label" ng-click="yearView.setMonth(month)"></td></tr></tbody></table><table ng-if="view.selected == \'month\'"><thead><tr><th ng-repeat="day in monthView.days" ng-bind="day"></th></tr></thead><tbody><tr ng-repeat="days in monthView.weeks"><td ng-repeat="day in days track by day.date" ng-class="day.class" ng-bind="day.label" ng-click="monthView.setDate(day)"></td></tr></tbody></table><table ng-if="view.selected == \'day\'"><tbody><tr ng-repeat="threeHours in dayView.threeHours"><td ng-repeat="hour in threeHours track by hour.hour" ng-class="hour.class" ng-bind="hour.label" ng-click="dayView.setHour(hour)"></td></tr></tbody></table><table ng-if="view.selected == \'hour\'"><tbody><tr ng-repeat="minutes in hourView.minutes"><td ng-repeat="minute in minutes" ng-class="minute.class" ng-bind="minute.label" ng-click="hourView.setMinute(minute)"></td></tr></tbody></table><table ng-if="view.selected == \'minute\'"><tbody><tr ng-repeat="seconds in minuteView.seconds"><td ng-repeat="second in seconds" ng-class="second.class" ng-bind="second.label" ng-click="minuteView.setSecond(second)"></td></tr></tbody></table></div></div>',o.forEach(["locale","format","minView","maxView","startView","leftArrow","rightArrow"],function(e){o.isDefined(a[e])||(a[e]=f[e]),o.isDefined(t[e])||(t[e]=a[e])}),a.momentToDate=function(e){return o.isDefined(e)&&e.isValid()?e.clone().toDate():void 0},a.valueUpdate=function(){a.disabled||(a.value=a.momentToDate(a.valueMoment))},a.limits={isAfterOrEqualMin:function(e,t){return!o.isDefined(a.minDateMoment)||e.isAfter(a.minDateMoment,t)||e.isSame(a.minDateMoment,t)},isBeforeOrEqualMax:function(e,t){return!o.isDefined(a.maxDateMoment)||e.isBefore(a.maxDateMoment,t)||e.isSame(a.maxDateMoment,t)},isSelectable:function(e,t){return a.limits.isAfterOrEqualMin(e,t)&&a.limits.isBeforeOrEqualMax(e,t)},checkValue:function(){o.isDefined(a.valueMoment)&&(a.limits.isAfterOrEqualMin(a.valueMoment)||a.valueUpdate(a.valueMoment=a.minDateMoment.clone()),a.limits.isBeforeOrEqualMax(a.valueMoment)||a.valueUpdate(a.valueMoment=a.maxDateMoment.clone()))},checkView:function(){o.isDefined(a.view.moment)||(a.view.moment=moment().locale(a.locale)),a.limits.isAfterOrEqualMin(a.view.moment)||(a.view.moment=a.minDateMoment.clone()),a.limits.isBeforeOrEqualMax(a.view.moment)||(a.view.moment=a.maxDateMoment.clone()),a.view.update()}},a.views={all:["year","month","day","hour","minute"],formats:{year:"M{1,4}(?![Mo])|Mo|Q|[Ll]{1,4}(?!T)",month:"[Dd]{1,4}(?![Ddo])|DDDo|[Dd]o|[Ww]{1,2}(?![Wwo])|[Ww]o|[Ee]|L{1,4}(?!T)|l{1,4}",day:"[Hh]{1,2}|LTS?",hour:"m{1,2}|[Ll]{3,4}|LT(?!S)",minute:"s{1,2}|S{1,}|X|LTS"},detectMinMax:function(){var r,i;o.forEach(a.views.formats,function(e,t){var n=new RegExp("("+e+")(?![^[]*])","g");a.format.match(n)&&(o.isDefined(r)||(r=t),i=t)}),r=o.isDefined(r)?Math.max(0,a.views.all.indexOf(r)):0,i=o.isDefined(i)?Math.min(a.views.all.length-1,a.views.all.indexOf(i)):a.views.all.length-1,r>a.views.all.indexOf(a.minView)&&(a.minView=a.views.all[r]),i<a.views.all.indexOf(a.maxView)&&(a.maxView=a.views.all[i])}},a.view={isOpen:!1,selected:a.startView,update:function(){a.view.value=a.momentToDate(a.view.moment)},toggle:function(){a.view.isOpen?a.view.close():a.view.open()},open:function(){o.forEach(u[0].querySelectorAll(".moment-picker-container.open"),function(e){((o.element(e).scope().view||{}).close||o.noop)()}),a.view.isOpen=!0},close:function(){a.view.isOpen=!1,a.view.selected=a.startView},title:"",previous:{selectable:!0,label:c.trustAsHtml(a.leftArrow),selectable:!0,set:function(){a.view.previous.selectable&&a.view.update(a.view.moment.subtract(1,a.view.selected).toDate())}},next:{selectable:!0,label:c.trustAsHtml(a.rightArrow),set:function(){a.view.next.selectable&&a.view.update(a.view.moment.add(1,a.view.selected).toDate())}},setParentView:function(){a.view.change(a.views.all[Math.max(0,a.views.all.indexOf(a.view.selected)-1)])},render:function(){var e=a.view.moment.clone().startOf(a.view.selected).subtract(1,a.view.selected),t=a.view.moment.clone().endOf(a.view.selected).add(1,a.view.selected);a.view.previous.selectable=a.limits.isAfterOrEqualMin(e,a.view.selected),a.view.previous.label=c.trustAsHtml(a.view.previous.selectable?a.leftArrow:" "),a.view.next.selectable=a.limits.isBeforeOrEqualMax(t,a.view.selected),a.view.next.label=c.trustAsHtml(a.view.next.selectable?a.rightArrow:" "),a.view.title=a[a.view.selected+"View"].render()},change:function(e){var t=a.views.all.indexOf(e),n=a.views.all.indexOf(a.minView),r=a.views.all.indexOf(a.maxView);t<0||r<t?(a.valueUpdate(a.valueMoment=a.view.moment.clone()),a.view.close()):n<=t&&(a.view.selected=e)}},a.yearView={fourMonths:{},render:function(){var i=a.view.moment.clone().startOf("year"),e=moment.monthsShort();return a.yearView.fourMonths=[],e.forEach(function(e,t){var n=Math.floor(t/4),r=a.limits.isSelectable(i,"month");a.yearView.fourMonths[n]||(a.yearView.fourMonths[n]=[]),a.yearView.fourMonths[n].push({label:i.format(f.monthsFormat),year:i.year(),month:i.month(),class:r?i.isSame(a.valueMoment,"month")?"selected":"":"disabled",selectable:r}),i.add(1,"months")}),a.view.moment.format("YYYY")},setMonth:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month)),a.view.change("month"))}},a.monthView={days:function(){for(var e=[],t=moment().locale(a.locale).startOf("week"),n=0;n<7;n++)e.push(t.format("dd")),t.add(1,"days");return e}(),weeks:[],render:function(){var n=a.view.moment.month(),r=a.view.moment.clone().startOf("month").startOf("week"),e=(a.view.moment.clone().endOf("month").endOf("week"),r.week()),t=e+5;weeks={},a.monthView.weeks=[];for(var i=e;i<=t;i++)weeks[i]="0000000".split("").map(function(){var e=a.limits.isSelectable(r,"day"),t={label:r.format(f.daysFormat),year:r.year(),date:r.date(),month:r.month(),class:e&&r.month()==n?r.isSame(a.valueMoment,"day")?"selected":"":"disabled",selectable:e};return r.add(1,"days"),t});return o.forEach(weeks,function(e){a.monthView.weeks.push(e)}),a.view.moment.format("MMMM YYYY")},setDate:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date)),a.view.change("day"))}},a.dayView={threeHours:[],render:function(){var e=a.view.moment.clone().startOf("day");moment.localeData().longDateFormat("LT").replace(/[aA]/,""),a.dayView.threeHours=[];for(var t=0;t<24;t++){var n=Math.floor(t/4),r=a.limits.isSelectable(e,"hour");a.dayView.threeHours[n]||(a.dayView.threeHours[n]=[]),a.dayView.threeHours[n].push({label:e.format(f.hoursFormat),year:e.year(),month:e.month(),date:e.date(),hour:e.hour(),class:r?e.isSame(a.valueMoment,"hour")?"selected":"":"disabled",selectable:r}),e.add(1,"hours")}return a.view.moment.format("LL")},setHour:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date).hour(e.hour)),a.view.change("hour"))}},a.hourView={minutes:[],render:function(){var e=0,t=a.view.moment.clone().startOf("hour");a.hourView.minutes=[];for(var n=0;n<60;n+=f.minutesStep){var r=Math.floor(e/4),i=a.limits.isSelectable(t,"minute");a.hourView.minutes[r]||(a.hourView.minutes[r]=[]),a.hourView.minutes[r].push({label:t.format(f.minutesFormat),year:t.year(),month:t.month(),date:t.date(),hour:t.hour(),minute:t.minute(),class:i?t.isSame(a.valueMoment,"minute")?"selected":"":"disabled",selectable:i}),e++,t.add(f.minutesStep,"minutes")}return a.view.moment.clone().startOf("hour").format("lll")},setMinute:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date).hour(e.hour).minute(e.minute)),a.view.change("minute"))}},a.minuteView={seconds:[],render:function(){var e=0,t=a.view.moment.clone().startOf("minute");a.minuteView.seconds=[];for(var n=0;n<60;n+=f.secondsStep){var r=Math.floor(e/6),i=a.limits.isSelectable(t,"second");a.minuteView.seconds[r]||(a.minuteView.seconds[r]=[]),a.minuteView.seconds[r].push({label:t.format(f.secondsFormat),year:t.year(),month:t.month(),date:t.date(),hour:t.hour(),minute:t.minute(),second:t.second(),class:i?t.isSame(a.valueMoment,"second")?"selected":"":"disabled",selectable:i}),e++,t.add(f.secondsStep,"seconds")}return a.view.moment.clone().startOf("minute").format("lll")},setSecond:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date).hour(e.hour).minute(e.minute).second(e.second)),a.view.change("second"))}},a.picker=o.element('<span class="moment-picker"></span>'),e.after(a.picker),a.contents=e.addClass("moment-picker-contents").removeAttr("moment-picker"),a.container=l(a.template)(a),a.picker.append(a.contents),a.picker.append(a.container),a.views.detectMinMax(),a.limits.checkView(),a.$watch("model",function(e,t){o.isDefined(e)&&(a.valueMoment=moment(e,a.format,a.locale),a.valueMoment.isValid()?(a.view.moment=a.valueMoment.clone(),a.view.update()):a.valueMoment=void 0),a.valueUpdate(a.valueMoment),a.limits.checkValue()}),a.$watch("value",function(e,t){if(o.isDefined(a.valueMoment)){var n=a.model,r=a.valueMoment.format(a.format);r!=n&&s(function(){a.view.update(a.view.moment=a.valueMoment.clone()),a.model=r,o.isFunction(a.change)&&a.change({newValue:r,oldValue:n})})}}),a.$watch("[view.selected, view.value]",a.view.render,!0),a.$watch("[minView, maxView]",function(){a.views.detectMinMax(),a.startView=a.views.all[Math.max(Math.min(a.views.all.indexOf(a.startView),a.views.all.indexOf(a.maxView)),a.views.all.indexOf(a.minView))],a.view.selected=a.startView}),a.$watch("[minDate, maxDate]",function(){o.forEach(["minDate","maxDate"],function(e){o.isDefined(a[e])&&(a[e+"Moment"]=moment(a[e],a.format,a.locale),a[e+"Moment"].isValid()||(a[e+"Moment"]=void 0))}),a.limits.checkValue(),a.limits.checkView(),a.view.render()},!0),u.on("click",function(){a.view.isOpen&&s(a.view.close)}),a.container.on("click",function(e){e.stopPropagation()}),a.contents.on("click",function(e){e.stopPropagation(),a.view.isOpen||s(a.view.open)}),o.element(a.contents[0].querySelector("input")).on("focus",function(){a.view.isOpen||s(a.view.open)})},e}();o.module("moment-picker",[]).provider("momentPicker",[function(){return new e}]).directive("momentPicker",["$timeout","$sce","$compile","$document","momentPicker",function(e,t,n,r,i){return new a(e,t,n,r,i)}])}(window.angular),function(t,n){"function"==typeof define&&define.amd?define(["moment"],function(e){return t.DateRange=n(e)}):"object"==typeof exports?module.exports=n(require("moment")):t.DateRange=n(moment)}(this,function(o){var n={year:!0,month:!0,week:!0,day:!0,hour:!0,minute:!0,second:!0};function i(e,t){var n,r=e,i=t;1!==arguments.length&&void 0!==t||("object"==typeof e&&2===e.length?(r=e[0],i=e[1]):"string"==typeof e&&(r=(n=e.split("/"))[0],i=n[1])),this.start=o(null===r?-864e13:r),this.end=o(null===i?864e13:i)}return(i.prototype.constructor=i).prototype.clone=function(){return o().range(this.start,this.end)},i.prototype.contains=function(e,t){var n=this.start,r=this.end;return e instanceof i?n<=e.start&&(r>e.end||r.isSame(e.end)&&!t):n<=e&&(e<r||r.isSame(e)&&!t)},i.prototype.overlaps=function(e){return null!==this.intersect(e)},i.prototype.intersect=function(e){var t=this.start,n=this.end;return t<=e.start&&e.start<n&&n<e.end?new i(e.start,n):e.start<t&&t<e.end&&e.end<=n?new i(t,e.end):e.start<t&&t<=n&&n<e.end?this:t<=e.start&&e.start<=e.end&&e.end<=n?e:null},i.prototype.add=function(e){return this.overlaps(e)?new i(o.min(this.start,e.start),o.max(this.end,e.end)):null},i.prototype.subtract=function(e){var t=this.start,n=this.end;return null===this.intersect(e)?[this]:e.start<=t&&t<n&&n<=e.end?[]:e.start<=t&&t<e.end&&e.end<n?[new i(e.end,n)]:t<e.start&&e.start<n&&n<=e.end?[new i(t,e.start)]:t<e.start&&e.start<e.end&&e.end<n?[new i(t,e.start),new i(e.end,n)]:t<e.start&&e.start<n&&e.end<n?[new i(t,e.start),new i(e.start,n)]:void 0},i.prototype.toArray=function(e,t){var n=[];return this.by(e,function(e){n.push(e)},t),n},i.prototype.by=function(e,t,n){return"string"==typeof e?function(e,t,n){var r=o(this.start);for(;this.contains(r,n);)t.call(this,r.clone()),r.add(1,e)}.call(this,e,t,n):function(e,t,n){var r=this/e,i=Math.floor(r);if(i===1/0)return;i===r&&n&&i--;for(var a=0;a<=i;a++)t.call(this,o(this.start.valueOf()+e.valueOf()*a))}.call(this,e,t,n),this},i.prototype.toString=function(){return this.start.format()+"/"+this.end.format()},i.prototype.valueOf=function(){return this.end-this.start},i.prototype.center=function(){var e=this.start+this.diff()/2;return o(e)},i.prototype.toDate=function(){return[this.start.toDate(),this.end.toDate()]},i.prototype.isSame=function(e){return this.start.isSame(e.start)&&this.end.isSame(e.end)},i.prototype.diff=function(e){return this.end.diff(this.start,e)},o.range=function(e,t){return e in n?new i(o(this).startOf(e),o(this).endOf(e)):new i(e,t)},o.range.constructor=i,o.fn.range=o.range,o.fn.within=function(e){return e.contains(this._d)},i}),function(e){"use strict";"function"==typeof define&&define.amd?define(e):"undefined"!=typeof module&&void 0!==module.exports?module.exports=e():"undefined"!=typeof Package?Sortable=e():window.Sortable=e()}(function(){"use strict";var T,x,k,E,D,I,h,p,P,M,$,l,r,O,c,a,R,e,m={},i=/\s+/g,N="Sortable"+(new Date).getTime(),g=window,u=g.document,o=g.parseInt,s=!!("draggable"in u.createElement("div")),f=((e=u.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),L=!1,_=Math.abs,d=[],F=t(function(e,t,n){if(n&&t.scroll){var r,i,a,o,s=t.scrollSensitivity,c=t.scrollSpeed,l=e.clientX,u=e.clientY,f=window.innerWidth,d=window.innerHeight;if(p!==n&&(h=t.scroll,p=n,!0===h)){h=n;do{if(h.offsetWidth<h.scrollWidth||h.offsetHeight<h.scrollHeight)break}while(h=h.parentNode)}h&&(i=(r=h).getBoundingClientRect(),a=(_(i.right-l)<=s)-(_(i.left-l)<=s),o=(_(i.bottom-u)<=s)-(_(i.top-u)<=s)),a||o||(o=(d-u<=s)-(u<=s),((a=(f-l<=s)-(l<=s))||o)&&(r=g)),m.vx===a&&m.vy===o&&m.el===r||(m.el=r,m.vx=a,m.vy=o,clearInterval(m.pid),r&&(m.pid=setInterval(function(){r===g?g.scrollTo(g.pageXOffset+a*c,g.pageYOffset+o*c):(o&&(r.scrollTop+=o*c),a&&(r.scrollLeft+=a*c))},24)))}},30),b=function(e){var t=e.group;t&&"object"==typeof t||(t=e.group={name:t}),["pull","put"].forEach(function(e){e in t||(t[e]=!0)}),e.groups=" "+t.name+(t.put.join?" "+t.put.join(" "):"")+" "};function v(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=V({},t),e[N]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var r in n)!(r in t)&&(t[r]=n[r]);for(var i in b(t),this)"_"===i.charAt(0)&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&s,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),d.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function G(e){E&&E.state!==e&&(B(E,"display",e?"none":""),!e&&E.state&&D.insertBefore(E,T),E.state=e)}function j(e,t,n){if(e){n=n||u;var r=(t=t.split(".")).shift().toUpperCase(),i=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");do{if(">*"===r&&e.parentNode===n||(""===r||e.nodeName.toUpperCase()==r)&&(!t.length||((" "+e.className+" ").match(i)||[]).length==t.length))return e}while(e!==n&&(e=e.parentNode))}return null}function y(e,t,n){e.addEventListener(t,n,!1)}function w(e,t,n){e.removeEventListener(t,n,!1)}function C(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(i," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(i," ")}}function B(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return u.defaultView&&u.defaultView.getComputedStyle?n=u.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function A(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i<a;i++)n(r[i],i);return r}return[]}function S(e,t,n,r,i,a,o){var s=u.createEvent("Event"),c=(e||t[N]).options,l="on"+n.charAt(0).toUpperCase()+n.substr(1);s.initEvent(n,!0,!0),s.to=t,s.from=i||t,s.item=r||t,s.clone=E,s.oldIndex=a,s.newIndex=o,t.dispatchEvent(s),c[l]&&c[l].call(e,s)}function U(e,t,n,r,i,a){var o,s,c=e[N],l=c.options.onMove;return(o=u.createEvent("Event")).initEvent("move",!0,!0),o.to=t,o.from=e,o.dragged=n,o.draggedRect=r,o.related=i||t,o.relatedRect=a||t.getBoundingClientRect(),e.dispatchEvent(o),l&&(s=l.call(c,o)),s}function H(e){e.draggable=!1}function W(){L=!1}function q(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function z(e){var t=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"!==e.nodeName.toUpperCase()&&t++;return t}function t(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function V(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}return v.prototype={constructor:v,_onTapStart:function(e){var t=this,n=this.el,r=this.options,i=e.type,a=e.touches&&e.touches[0],o=(a||e).target,s=o,c=r.filter;if(!("mousedown"===i&&0!==e.button||r.disabled)&&(o=j(o,r.draggable,n))){if(l=z(o),"function"==typeof c){if(c.call(this,e,o,this))return S(t,s,"filter",o,n,l),void e.preventDefault()}else if(c&&(c=c.split(",").some(function(e){if(e=j(s,e.trim(),n))return S(t,e,"filter",o,n,l),!0})))return void e.preventDefault();r.handle&&!j(s,r.handle,n)||this._prepareDragStart(e,a,o)}},_prepareDragStart:function(e,t,n){var r,i=this,a=i.el,o=i.options,s=a.ownerDocument;n&&!T&&n.parentNode===a&&(c=e,D=a,x=(T=n).parentNode,I=T.nextSibling,O=o.group,r=function(){i._disableDelayedDrag(),T.draggable=!0,C(T,i.options.chosenClass,!0),i._triggerDragStart(t)},o.ignore.split(",").forEach(function(e){A(T,e.trim(),H)}),y(s,"mouseup",i._onDrop),y(s,"touchend",i._onDrop),y(s,"touchcancel",i._onDrop),o.delay?(y(s,"mouseup",i._disableDelayedDrag),y(s,"touchend",i._disableDelayedDrag),y(s,"touchcancel",i._disableDelayedDrag),y(s,"mousemove",i._disableDelayedDrag),y(s,"touchmove",i._disableDelayedDrag),i._dragStartTimer=setTimeout(r,o.delay)):r())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),w(e,"mouseup",this._disableDelayedDrag),w(e,"touchend",this._disableDelayedDrag),w(e,"touchcancel",this._disableDelayedDrag),w(e,"mousemove",this._disableDelayedDrag),w(e,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(e){e?(c={target:T,clientX:e.clientX,clientY:e.clientY},this._onDragStart(c,"touch")):this.nativeDraggable?(y(T,"dragend",this),y(D,"dragstart",this._onDragStart)):this._onDragStart(c,!0);try{u.selection?u.selection.empty():window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){D&&T&&(C(T,this.options.ghostClass,!0),S(v.active=this,D,"start",T,D,l))},_emulateDragOver:function(){if(a){if(this._lastX===a.clientX&&this._lastY===a.clientY)return;this._lastX=a.clientX,this._lastY=a.clientY,f||B(k,"display","none");var e=u.elementFromPoint(a.clientX,a.clientY),t=e,n=" "+this.options.group.name,r=d.length;if(t)do{if(t[N]&&-1<t[N].options.groups.indexOf(n)){for(;r--;)d[r]({clientX:a.clientX,clientY:a.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);f||B(k,"display","")}},_onTouchMove:function(e){if(c){v.active||this._dragStarted(),this._appendGhost();var t=e.touches?e.touches[0]:e,n=t.clientX-c.clientX,r=t.clientY-c.clientY,i=e.touches?"translate3d("+n+"px,"+r+"px,0)":"translate("+n+"px,"+r+"px)";R=!0,a=t,B(k,"webkitTransform",i),B(k,"mozTransform",i),B(k,"msTransform",i),B(k,"transform",i),e.preventDefault()}},_appendGhost:function(){if(!k){var e,t=T.getBoundingClientRect(),n=B(T),r=this.options;C(k=T.cloneNode(!0),r.ghostClass,!1),C(k,r.fallbackClass,!0),B(k,"top",t.top-o(n.marginTop,10)),B(k,"left",t.left-o(n.marginLeft,10)),B(k,"width",t.width),B(k,"height",t.height),B(k,"opacity","0.8"),B(k,"position","fixed"),B(k,"zIndex","100000"),B(k,"pointerEvents","none"),r.fallbackOnBody&&u.body.appendChild(k)||D.appendChild(k),e=k.getBoundingClientRect(),B(k,"width",2*t.width-e.width),B(k,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var n=e.dataTransfer,r=this.options;this._offUpEvents(),"clone"==O.pull&&(B(E=T.cloneNode(!0),"display","none"),D.insertBefore(E,T)),t?("touch"===t?(y(u,"touchmove",this._onTouchMove),y(u,"touchend",this._onDrop),y(u,"touchcancel",this._onDrop)):(y(u,"mousemove",this._onTouchMove),y(u,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",r.setData&&r.setData.call(this,n,T)),y(u,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(e){var t,n,r,i,a,o,s=this.el,c=this.options,l=c.group,u=l.put,f=O===l,d=c.sort;if(void 0!==e.preventDefault&&(e.preventDefault(),!c.dragoverBubble&&e.stopPropagation()),R=!0,O&&!c.disabled&&(f?d||(r=!D.contains(T)):O.pull&&u&&(O.name===l.name||u.indexOf&&~u.indexOf(O.name)))&&(void 0===e.rootEl||e.rootEl===this.el)){if(F(e,c,this.el),L)return;if(t=j(e.target,c.draggable,s),n=T.getBoundingClientRect(),r)return G(!0),void(E||I?D.insertBefore(T,E||I):d||D.appendChild(T));if(0===s.children.length||s.children[0]===k||s===e.target&&(i=e,a=s.lastElementChild,o=a.getBoundingClientRect(),t=(5<i.clientY-(o.top+o.height)||5<i.clientX-(o.right+o.width))&&a)){if(t){if(t.animated)return;p=t.getBoundingClientRect()}G(f),!1!==U(D,s,T,n,t,p)&&(T.contains(s)||(s.appendChild(T),x=s),this._animate(n,T),t&&this._animate(p,t))}else if(t&&!t.animated&&t!==T&&void 0!==t.parentNode[N]){P!==t&&(M=B(P=t),$=B(t.parentNode));var h,p=t.getBoundingClientRect(),m=p.right-p.left,g=p.bottom-p.top,_=/left|right|inline/.test(M.cssFloat+M.display)||"flex"==$.display&&0===$["flex-direction"].indexOf("row"),b=t.offsetWidth>T.offsetWidth,v=t.offsetHeight>T.offsetHeight,y=.5<(_?(e.clientX-p.left)/m:(e.clientY-p.top)/g),w=t.nextElementSibling,C=U(D,s,T,n,t,p);if(!1!==C){if(L=!0,setTimeout(W,30),G(f),1===C||-1===C)h=1===C;else if(_){var A=T.offsetTop,S=t.offsetTop;h=A===S?t.previousElementSibling===T&&!b||y&&b:A<S}else h=w!==T&&!v||y&&v;T.contains(s)||(h&&!w?s.appendChild(T):t.parentNode.insertBefore(T,h?w:t)),x=T.parentNode,this._animate(n,T),this._animate(p,t)}}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();B(t,"transition","none"),B(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,B(t,"transition","all "+n+"ms"),B(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){B(t,"transition",""),B(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;w(u,"touchmove",this._onTouchMove),w(e,"mouseup",this._onDrop),w(e,"touchend",this._onDrop),w(e,"touchcancel",this._onDrop)},_onDrop:function(e){var t=this.el,n=this.options;clearInterval(this._loopId),clearInterval(m.pid),clearTimeout(this._dragStartTimer),w(u,"mousemove",this._onTouchMove),this.nativeDraggable&&(w(u,"drop",this),w(t,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(R&&(e.preventDefault(),!n.dropBubble&&e.stopPropagation()),k&&k.parentNode.removeChild(k),T&&(this.nativeDraggable&&w(T,"dragend",this),H(T),C(T,this.options.ghostClass,!1),C(T,this.options.chosenClass,!1),D!==x?0<=(r=z(T))&&(S(null,x,"sort",T,D,l,r),S(this,D,"sort",T,D,l,r),S(null,x,"add",T,D,l,r),S(this,D,"remove",T,D,l,r)):(E&&E.parentNode.removeChild(E),T.nextSibling!==I&&0<=(r=z(T))&&(S(this,D,"update",T,D,l,r),S(this,D,"sort",T,D,l,r))),v.active&&(null!==r&&-1!==r||(r=l),S(this,D,"end",T,D,l,r),this.save())),D=T=x=k=I=E=h=p=c=a=R=r=P=M=O=v.active=null)},handleEvent:function(e){var t=e.type;"dragover"===t||"dragenter"===t?T&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.preventDefault()}(e)):"drop"!==t&&"dragend"!==t||this._onDrop(e)},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,a=this.options;r<i;r++)j(e=n[r],a.draggable,this.el)&&t.push(e.getAttribute(a.dataIdAttr)||q(e));return t},sort:function(e){var r={},i=this.el;this.toArray().forEach(function(e,t){var n=i.children[t];j(n,this.options.draggable,i)&&(r[e]=n)},this),e.forEach(function(e){r[e]&&(i.removeChild(r[e]),i.appendChild(r[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return j(e,t||this.options.draggable,this.el)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];n[e]=t,"group"===e&&b(n)},destroy:function(){var e=this.el;e[N]=null,w(e,"mousedown",this._onTapStart),w(e,"touchstart",this._onTapStart),this.nativeDraggable&&(w(e,"dragover",this),w(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),d.splice(d.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},v.utils={on:y,off:w,css:B,find:A,is:function(e,t){return!!j(e,t,e)},extend:V,throttle:t,closest:j,toggleClass:C,index:z},v.create=function(e,t){return new v(e,t)},v.version="1.4.2",v}),function(e){"use strict";"function"==typeof define&&define.amd?define(["angular","./Sortable"],e):"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?(require("angular"),e(angular,require("./Sortable")),module.exports="ng-sortable"):window.angular&&window.Sortable&&e(angular,Sortable)}(function(h,p){"use strict";var m="Sortable:ng-sortable";h.module("ng-sortable",[]).constant("ngSortableVersion","0.4.0").constant("ngSortableConfig",{}).directive("ngSortable",["$parse","ngSortableConfig",function(l,u){var f,d;return{restrict:"AC",scope:{ngSortable:"=?"},link:function(a,e){var n,o=e[0],i=h.extend(a.ngSortable||{},u),r=[],s=function(e,t){var n=[].filter.call(e.childNodes,function(e){return 8===e.nodeType&&-1!==e.nodeValue.indexOf("ngRepeat:")})[0];if(!n)return function(){return null};n=n.nodeValue.match(/ngRepeat:\s*(?:\(.*?,\s*)?([^\s)]+)[\s)]+in\s+([^\s|]+)/);var r=l(n[2]);return function(){return r(t.$parent)||[]}}(o,a);function t(e,t){var n="on"+e.type.charAt(0).toUpperCase()+e.type.substr(1),r=s();i[n]&&i[n]({model:t||r[e.newIndex],models:r,oldIndex:e.oldIndex,newIndex:e.newIndex})}function c(e){var t=s();if(t){var n=e.oldIndex,r=e.newIndex;if(o!==e.from){var i=e.from[m]();f=i[n],e.clone?(f=h.copy(f),i.splice(p.utils.index(e.clone),0,i.splice(n,1)[0]),e.from.removeChild(e.clone)):i.splice(n,1),t.splice(r,0,f),e.from.insertBefore(e.item,d)}else t.splice(r,0,t.splice(n,1)[0]);a.$apply()}}o[m]=s,n=p.create(o,Object.keys(i).reduce(function(e,t){return e[t]=e[t]||i[t],e},{onStart:function(e){d=e.item.nextSibling,t(e),a.$apply()},onEnd:function(e){t(e,f),a.$apply()},onAdd:function(e){c(e),t(e,f),a.$apply()},onUpdate:function(e){c(e),t(e)},onRemove:function(e){t(e,f)},onSort:function(e){t(e)}})),e.on("$destroy",function(){h.forEach(r,function(e){e()}),n.destroy(),o[m]=null,d=n=r=o=null}),h.forEach(["sort","disabled","draggable","handle","animation","group","ghostClass","filter","onStart","onEnd","onAdd","onUpdate","onRemove","onSort"],function(t){r.push(a.$watch("ngSortable."+t,function(e){void 0!==e&&(i[t]=e,/^on[A-Z]/.test(t)||n.option(t,e))}))})}}}])}),function(l){angular.module("ngCsv.config",[]).value("ngCsv.config",{debug:!0}).config(["$compileProvider",function(e){angular.isDefined(e.urlSanitizationWhitelist)?e.urlSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|data):/):e.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|data):/)}]),angular.module("ngCsv.directives",["ngCsv.services"]),angular.module("ngCsv.services",[]),angular.module("ngCsv",["ngCsv.config","ngCsv.services","ngCsv.directives","ngSanitize"]),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ngCsv"),angular.module("ngCsv.services").service("CSV",["$q",function(n){var t={"\\t":"\t","\\b":"\b","\\v":"\v","\\f":"\f","\\r":"\r"};this.stringifyField=function(e,t){return"locale"===t.decimalSep&&this.isFloat(e)?e.toLocaleString():"."!==t.decimalSep&&this.isFloat(e)?e.toString().replace(".",t.decimalSep):"string"==typeof e?(e=e.replace(/"/g,'""'),(t.quoteStrings||-1<e.indexOf(",")||-1<e.indexOf("\n")||-1<e.indexOf("\r"))&&(e=t.txtDelim+e+t.txtDelim),e):"boolean"==typeof e?e?"TRUE":"FALSE":e},this.isFloat=function(e){return+e===e&&(!isFinite(e)||Boolean(e%1))},this.stringify=function(e,s){var a=n.defer(),c=this,l="",u="",t=n.when(e).then(function(e){var t,n;angular.isDefined(s.header)&&s.header&&(t=[],angular.forEach(s.header,function(e){this.push(c.stringifyField(e,s))},t),n=t.join(s.fieldSep?s.fieldSep:","),u+=n+"\r\n");var r,i,o=[];(angular.isArray(e)?o=e:angular.isFunction(e)&&(o=e()),angular.isDefined(s.label)&&s.label&&"boolean"==typeof s.label)&&(r=[],angular.forEach(o[0],function(e,t){this.push(c.stringifyField(t,s))},r),i=r.join(s.fieldSep?s.fieldSep:","),u+=i+"\r\n");angular.forEach(o,function(e,t){var n,r,i=angular.copy(o[t]);r=[];var a=s.columnOrder?s.columnOrder:i;angular.forEach(a,function(e){var t=s.columnOrder?i[e]:e;this.push(c.stringifyField(t,s))},r),n=r.join(s.fieldSep?s.fieldSep:","),u+=t<o.length?n+"\r\n":n}),s.addByteOrderMarker&&(l+="\ufeff"),l+=u,a.resolve(l)});return"function"==typeof t.catch&&t.catch(function(e){a.reject(e)}),a.promise},this.isSpecialChar=function(e){return void 0!==t[e]},this.getSpecialChar=function(e){return t[e]}}]),angular.module("ngCsv.directives").directive("ngCsv",["$parse","$q","CSV","$document","$timeout",function(e,a,o,s,c){return{restrict:"AC",scope:{data:"&ngCsv",filename:"@filename",header:"&csvHeader",columnOrder:"&csvColumnOrder",txtDelim:"@textDelimiter",decimalSep:"@decimalSeparator",quoteStrings:"@quoteStrings",fieldSep:"@fieldSeparator",lazyLoad:"@lazyLoad",addByteOrderMarker:"@addBom",ngClick:"&",charset:"@charset",label:"&csvLabel"},controller:["$scope","$element","$attrs","$transclude",function(n,r,i){n.csv="",angular.isDefined(n.lazyLoad)&&"true"==n.lazyLoad||angular.isArray(n.data)&&n.$watch("data",function(){n.buildCSV()},!0),n.getFilename=function(){return n.filename||"download.csv"},n.buildCSV=function(){var e,t=a.defer();return r.addClass(i.ngCsvLoadingClass||"ng-csv-loading"),o.stringify(n.data(),(e={txtDelim:n.txtDelim?n.txtDelim:'"',decimalSep:n.decimalSep?n.decimalSep:".",quoteStrings:n.quoteStrings,addByteOrderMarker:n.addByteOrderMarker},angular.isDefined(i.csvHeader)&&(e.header=n.$eval(n.header)),angular.isDefined(i.csvColumnOrder)&&(e.columnOrder=n.$eval(n.columnOrder)),angular.isDefined(i.csvLabel)&&(e.label=n.$eval(n.label)),e.fieldSep=n.fieldSep?n.fieldSep:",",e.fieldSep=o.isSpecialChar(e.fieldSep)?o.getSpecialChar(e.fieldSep):e.fieldSep,e)).then(function(e){n.csv=e,r.removeClass(i.ngCsvLoadingClass||"ng-csv-loading"),t.resolve(e)}),n.$apply(),t.promise}}],link:function(i,e){e.bind("click",function(){i.buildCSV().then(function(){!function(){var e=i.charset||"utf-8",t=new Blob([i.csv],{type:"text/csv;charset="+e+";"});if(l.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(t,i.getFilename());else{var n=angular.element('<div data-tap-disabled="true"><a></a></div>'),r=angular.element(n.children()[0]);r.attr("href",l.URL.createObjectURL(t)),r.attr("download",i.getFilename()),r.attr("target","_blank"),s.find("body").append(n),c(function(){r[0].click(),r.remove()},null)}}()}),i.$apply()})}}}])}(window,document),function(){"use strict";angular.module("ngPassword",[]).directive("matchPassword",function(){return{restrict:"A",require:["^ngModel","^form"],link:function(e,t,n,r){var i=r[1],a=r[0],o=i[n.matchPassword];e.$watch(function(){return o.$viewValue},function(){a.$$parseAndValidate()}),a.$validators?a.$validators.passwordMatch=function(e){return!e&&!o.$modelValue||e===o.$modelValue}:a.$parsers.push(function(e){return a.$setValidity("passwordMatch",!e&&!o.$viewValue||e===o.$viewValue),e}),o.$parsers.push(function(e){return a.$setValidity("passwordMatch",!e&&!a.$viewValue||e===a.$viewValue),e})}}}),angular.module("angular.password",["ngPassword"]),angular.module("angular-password",["ngPassword"]),"object"==typeof module&&"function"!=typeof define&&(module.exports=angular.module("ngPassword"))}(),function(e,k,t){"use strict";function n(h,p){function t(t,n,e,r){var i=r.shift(),a=r.shift();function o(){Array.prototype.some.call(n.find("md-icon"),function(e){return e.classList.contains("md-sort-icon")&&n[0].removeChild(e)}),n.removeClass("md-sort").off("click",f)}function s(){var e;e=k.element('<md-icon md-svg-icon="arrow-up.svg">'),h(e.addClass("md-sort-icon").attr("ng-class","getDirection()"))(t),n.hasClass("md-numeric")?n.prepend(e):n.append(e),n.addClass("md-sort").on("click",f)}function c(){return Array.prototype.indexOf.call(n.parent().children(),n[0])}function l(){return t.orderBy&&(i.order===t.orderBy||i.order==="-"+t.orderBy)}function u(){return""===e.mdNumeric||t.numeric}function f(){t.$applyAsync(function(){l()?i.order="md-asc"===t.getDirection()?"-"+t.orderBy:t.orderBy:i.order="md-asc"===t.getDirection()?t.orderBy:"-"+t.orderBy,k.isFunction(i.onReorder)&&p.nextTick(function(){i.onReorder(i.order)})})}function d(e,t){(a.$$columns[e]=t).numeric?n.addClass("md-numeric"):n.removeClass("md-numeric")}t.getDirection=function(){return l()?"-"===i.order.charAt(0)?"md-desc":"md-asc":""===e.mdDesc||t.$eval(e.mdDesc)?"md-desc":"md-asc"},t.$watch(l,function(e){e?n.addClass("md-active"):n.removeClass("md-active")}),t.$watch(c,function(e){d(e,{numeric:u()})}),t.$watch(u,function(e){d(c(),{numeric:e})}),t.$watch("orderBy",function(e){e?n.hasClass("md-sort")||s():n.hasClass("md-sort")&&o()})}return{compile:function(e){return e.addClass("md-column"),t},require:["^^mdHead","^^mdTable"],restrict:"A",scope:{numeric:"=?mdNumeric",orderBy:"@?mdOrderBy"}}}function r(a){return function(e,t,n,r){if(n&&"object"==typeof n){var i=a(e,t,!0,r);return k.extend(i.instance,n),i()}return a(e,t,n,r)}}function i(v,y,e,w,a,C,o,s,A){var S=27,T=!1,x=k.element(e.prop("body")),c={clickOutsideToClose:!0,disableScroll:!0,escToClose:!0,focusOnOpen:!0};function l(e,t){var n,r,i,a,o,s,c,l,u,f,d,h,p,m,g=C.$new(),_=v(e)(g),b=w.createBackdrop(g,"md-edit-dialog-backdrop");return t.controller?n=function(e,t,n){if(!e.controller)return;e.resolve&&k.extend(n,e.resolve);e.locals&&k.extend(n,e.locals);e.controllerAs?(t[e.controllerAs]={},e.bindToController?k.extend(t[e.controllerAs],e.scope):k.extend(t,e.scope)):k.extend(t,e.scope);return e.bindToController?y(e.controller,n,t[e.controllerAs]):y(e.controller,n)}(t,g,{$element:_,$scope:g}):k.extend(g,t.scope),t.disableScroll&&(r=_,i=w.disableScrollAround(r,x),r.on("$destroy",function(){i()})),x.prepend(b).append(_.addClass("md-whiteframe-1dp")),a=_,o=t.target,s=k.element(o).controller("mdCell").getTable(),c=function(){return a.prop("clientHeight")},l=function(){return a.prop("clientWidth")},u=function(){var e,t={width:l(),height:c()},n=o.getBoundingClientRect(),r="MD-TABLE-CONTAINER"===(e=s.parent()).prop("tagName")?e[0].getBoundingClientRect():s[0].getBoundingClientRect();t.width>r.right-n.left?a.css("left",r.right-t.width+"px"):a.css("left",n.left+"px"),t.height>r.bottom-n.top?a.css("top",r.bottom-t.height+"px"):a.css("top",n.top+1+"px"),a.css("minWidth",n.width+"px")},f=C.$watch(l,u),d=C.$watch(c,u),A.addEventListener("resize",u),a.on("$destroy",function(){f(),d(),A.removeEventListener("resize",u)}),t.focusOnOpen&&(h=_,w.nextTick(function(){var e=w.findFocusTarget(h);e&&e.focus()},!1)),t.clickOutsideToClose&&b.on("click",function(){_.remove()}),t.escToClose&&(p=_,m=function(e){e.keyCode===S&&p.remove()},x.on("keyup",m),p.on("$destroy",function(){x.off("keyup",m)})),_.on("$destroy",function(){T=!1,b.remove()}),n}function u(e){T=!1,console.error(e)}function t(e,n){return{controller:["$element","$q","save","$scope",function(e,t,n,r){this.dismiss=function(){e.remove()},this.getInput=function(){return r.editDialog.input},r.dismiss=this.dismiss,r.submit=function(){(r.editDialog.$invalid?t.reject():k.isFunction(n)?t.when(n(r.editDialog.input)):t.resolve()).then(function(){r.dismiss()})}}],locals:{save:n.save},scope:{cancel:n.cancel||"Cancel",messages:n.messages,model:n.modelValue,ok:n.ok||"Save",placeholder:n.placeholder,title:n.title,size:e},template:'<md-edit-dialog><div layout="column" class="md-content"><div ng-if="size === \'large\'" class="md-title">{{title || \'Edit\'}}</div><form name="editDialog" layout="column" ng-submit="submit(model)"><md-input-container md-no-float><input name="input" ng-model="model" md-autofocus placeholder="{{placeholder}} "'+function(){var e='type="'+(n.type||"text")+'"';for(var t in n.validators)e+=" "+t+'="'+n.validators[t]+'"';return e}()+'><div ng-messages="editDialog.input.$error"><div ng-repeat="(key, message) in messages" ng-message="{{key}}">{{message}}</div></div></md-input-container></form></div><div ng-if="size === \'large\'" layout="row" layout-align="end" class="md-actions"><md-button class="md-primary" ng-click="dismiss()">{{cancel}}</md-button><md-button class="md-primary" ng-click="submit()">{{ok}}</md-button></div></md-edit-dialog>'}}return this.show=function(r){if(T)return a.reject();if(T=!0,!(r=k.extend({},c,r)).targetEvent)return u("options.targetEvent is required to align the dialog with the table cell.");if(!r.targetEvent.currentTarget.classList.contains("md-cell"))return u("The event target must be a table cell.");if(r.bindToController&&!r.controllerAs)return u("You must define options.controllerAs when options.bindToController is true.");r.target=r.targetEvent.currentTarget;var i,e=(i=r,a(function(t,e){var n=i.template;return n?k.isString(n)?t(n):void e("Unexpected template value. Expected a string; received a "+typeof n+"."):i.templateUrl?(n=o.get(i.templateUrl))?t(n):s(i.templateUrl).then(function(e){return t(e)},function(){return e("Error retrieving template from URL.")}):void e("Template not provided.")})),t=[e];for(var n in r.resolve)e=r.resolve[n],t.push(a.when(k.isFunction(e)?e():e));return(e=a.all(t)).catch(u),e.then(function(e){var t=e.shift();for(var n in r.resolve)r.resolve[n]=e.shift();return l(t,r)})},this.small=function(e){return this.show(k.extend({},e,t("small",e)))}.bind(this),this.large=function(e){return this.show(k.extend({},e,t("large",e)))}.bind(this),this}function a(s){function t(t,n,e,r){var i=new Array(2);function a(){n.prop("lastElementChild").firstElementChild.appendChild(s(k.element("<md-checkbox>").attr({"aria-label":"Select All","ng-click":"toggleAll()","ng-checked":"allSelected()","ng-disabled":"!getSelectableRows().length"}))(t)[0])}function o(e){return k.element(e).controller("mdSelect")}t.allSelected=function(){var e=t.getSelectableRows();return e.length&&e.every(function(e){return e.isSelected()})},t.getSelectableRows=function(){return r.getBodyRows().map(o).filter(function(e){return e&&!e.disabled})},t.selectAll=function(){r.getBodyRows().map(o).forEach(function(e){e&&!e.isSelected()&&e.select()})},t.toggleAll=function(){return t.allSelected()?t.unSelectAll():t.selectAll()},t.unSelectAll=function(){r.getBodyRows().map(o).forEach(function(e){e&&e.isSelected()&&e.deselect()})},t.$watchGroup([function(){return r.$$rowSelect},r.enableMultiSelect],function(e){var t;e[0]!==i[0]?e[0]?(n.children().prepend('<th class="md-column md-checkbox-column">'),e[1]&&a()):Array.prototype.some.call(n.find("th"),function(e){return e.classList.contains("md-checkbox-column")&&e.remove()}):e[0]&&e[1]!==i[1]&&(e[1]?a():(t=n.prop("lastElementChild").firstElementChild).classList.contains("md-checkbox-column")&&k.element(t).empty()),k.copy(e,i)})}return{bindToController:!0,compile:function(e){return e.addClass("md-head"),t},controller:function(){},controllerAs:"$mdHead",require:"^^mdTable",restrict:"A",scope:{order:"=?mdOrder",onReorder:"=?mdOnReorder"}}}function o(d,h){return{bindToController:!0,controller:function(){},controllerAs:"$mdSelect",link:function(t,n,e,r){var i=r.shift(),a=r.shift(),o=h(e.mdSelectId);if(i.id=o(i.model),a.$$rowSelect&&i.id)if(a.$$hash.has(i.id)){var s=a.selected.indexOf(a.$$hash.get(i.id));-1===s?a.$$hash.purge(i.id):a.$$hash.equals(i.id,i.model)||(a.$$hash.update(i.id,i.model),a.selected.splice(s,1,i.model))}else a.selected.some(function(e,t){if(o(e)===i.id)return a.$$hash.update(i.id,i.model),a.selected.splice(t,1,i.model),!0});function c(){return""===e.mdAutoSelect||i.autoSelect}function l(){var e;n.prepend((e=k.element("<md-checkbox>").attr({"aria-label":"Select Row","ng-click":"$mdSelect.toggle($event)","ng-checked":"$mdSelect.isSelected()","ng-disabled":"$mdSelect.disabled"}),k.element('<td class="md-cell md-checkbox-cell">').append(d(e)(t)))),c()&&n.on("click",f)}function u(e){i.id&&(a.$$hash.has(i.id)?-1===e.indexOf(a.$$hash.get(i.id))&&a.$$hash.purge(i.id):-1!==e.indexOf(i.model)&&a.$$hash.update(i.id,i.model))}function f(e){t.$applyAsync(function(){i.toggle(e)})}i.isSelected=function(){return!!a.$$rowSelect&&(i.id?a.$$hash.has(i.id):-1!==a.selected.indexOf(i.model))},i.select=function(){i.disabled||(a.enableMultiSelect()?a.selected.push(i.model):a.selected.splice(0,a.selected.length,i.model),k.isFunction(i.onSelect)&&i.onSelect(i.model))},i.deselect=function(){i.disabled||(a.selected.splice(a.selected.indexOf(i.model),1),k.isFunction(i.onDeselect)&&i.onDeselect(i.model))},i.toggle=function(e){return e&&e.stopPropagation&&e.stopPropagation(),i.isSelected()?i.deselect():i.select()},t.$watch(function(){return a.$$rowSelect},function(e){e?l():(Array.prototype.some.call(n.children(),function(e){return e.classList.contains("md-checkbox-cell")&&n[0].removeChild(e)}),c()&&n.off("click",f))}),t.$watch(c,function(e,t){e!==t&&(a.$$rowSelect&&e?n.on("click",f):n.off("click",f))}),t.$watch(i.isSelected,function(e){return e?n.addClass("md-selected"):n.removeClass("md-selected")}),t.$watch(a.enableMultiSelect,function(e){a.$$rowSelect&&!e&&a.selected.splice(1)}),a.registerModelChangeListener(u),n.on("$destroy",function(){a.removeModelChangeListener(u)})},require:["mdSelect","^^mdTable"],restrict:"A",scope:{model:"=mdSelect",disabled:"=ngDisabled",onSelect:"=?mdOnSelect",onDeselect:"=?mdOnDeselect",autoSelect:"=mdAutoSelect"}}}function c(){var n={};this.equals=function(e,t){return n[e]===t},this.get=function(e){return n[e]},this.has=function(e){return n.hasOwnProperty(e)},this.purge=function(e){delete n[e]},this.update=function(e,t){n[e]=t}}k.module("md.table.templates",["md-table-pagination.html","md-table-progress.html","arrow-up.svg","navigate-before.svg","navigate-first.svg","navigate-last.svg","navigate-next.svg"]),k.module("md-table-pagination.html",[]).run(["$templateCache",function(e){e.put("md-table-pagination.html",'<div class="page-select" ng-if="$pagination.showPageSelect()">\n <div class="label">{{$pagination.label.page}}</div>\n\n <md-select virtual-page-select total="{{$pagination.pages()}}" class="md-table-select" ng-model="$pagination.page" md-container-class="md-pagination-select" ng-change="$pagination.onPaginationChange()" ng-disabled="$pagination.disabled" aria-label="Page">\n <md-content>\n <md-option ng-repeat="page in $pageSelect.pages" ng-value="page">{{page}}</md-option>\n </md-content>\n </md-select>\n</div>\n\n<div class="limit-select" ng-if="$pagination.limitOptions">\n <div class="label">{{$pagination.label.rowsPerPage}}</div>\n\n <md-select class="md-table-select" ng-model="$pagination.limit" md-container-class="md-pagination-select" ng-disabled="$pagination.disabled" aria-label="Rows" placeholder="{{ $pagination.limitOptions[0] }}">\n <md-option ng-repeat="option in $pagination.limitOptions" ng-value="option.value ? $pagination.eval(option.value) : option">{{::option.label ? option.label : option}}</md-option>\n </md-select>\n</div>\n\n<div class="buttons">\n <div class="label">{{$pagination.min()}} - {{$pagination.max()}} {{$pagination.label.of}} {{$pagination.total}}</div>\n\n <md-button class="md-icon-button" type="button" ng-if="$pagination.showBoundaryLinks()" ng-click="$pagination.first()" ng-disabled="$pagination.disabled || !$pagination.hasPrevious()" aria-label="First">\n <md-icon md-svg-icon="navigate-first.svg"></md-icon>\n </md-button>\n\n <md-button class="md-icon-button" type="button" ng-click="$pagination.previous()" ng-disabled="$pagination.disabled || !$pagination.hasPrevious()" aria-label="Previous">\n <md-icon md-svg-icon="navigate-before.svg"></md-icon>\n </md-button>\n\n <md-button class="md-icon-button" type="button" ng-click="$pagination.next()" ng-disabled="$pagination.disabled || !$pagination.hasNext()" aria-label="Next">\n <md-icon md-svg-icon="navigate-next.svg"></md-icon>\n </md-button>\n\n <md-button class="md-icon-button" type="button" ng-if="$pagination.showBoundaryLinks()" ng-click="$pagination.last()" ng-disabled="$pagination.disabled || !$pagination.hasNext()" aria-label="Last">\n <md-icon md-svg-icon="navigate-last.svg"></md-icon>\n </md-button>\n</div>')}]),k.module("md-table-progress.html",[]).run(["$templateCache",function(e){e.put("md-table-progress.html",'<tr>\n <th colspan="{{columnCount()}}">\n <md-progress-linear ng-show="deferred()" md-mode="indeterminate"></md-progress-linear>\n </th>\n</tr>')}]),k.module("arrow-up.svg",[]).run(["$templateCache",function(e){e.put("arrow-up.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></svg>')}]),k.module("navigate-before.svg",[]).run(["$templateCache",function(e){e.put("navigate-before.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>')}]),k.module("navigate-first.svg",[]).run(["$templateCache",function(e){e.put("navigate-first.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7 6 v12 h2 v-12 h-2z M17.41 7.41L16 6l-6 6 6 6 1.41-1.41L12.83 12z"/></svg>')}]),k.module("navigate-last.svg",[]).run(["$templateCache",function(e){e.put("navigate-last.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 6 v12 h2 v-12 h-2z M8 6L6.59 7.41 11.17 12l-4.58 4.59L8 18l6-6z"/></svg>')}]),k.module("navigate-next.svg",[]).run(["$templateCache",function(e){e.put("navigate-next.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>')}]),k.module("md.data.table",["md.table.templates"]),k.module("md.data.table").directive("mdBody",function(){return{compile:function(e){e.addClass("md-body")},restrict:"A"}}),k.module("md.data.table").directive("mdCell",function(){function n(e,t,n,r){var i=t.find("md-select"),a=r.shift(),o=r.shift();n.ngClick&&t.addClass("md-clickable"),i.length&&(i.on("click",function(e){e.stopPropagation()}),t.addClass("md-clickable").on("click",function(e){e.stopPropagation(),i[0].click()})),a.getTable=o.getElement,e.$watch(function(){return o.$$columns[Array.prototype.indexOf.call(t.parent().children(),t[0])]},function(e){e&&(e.numeric?t.addClass("md-numeric"):t.removeClass("md-numeric"))})}return{controller:function(){},compile:function(e){var t=e.find("md-select");t.length&&t.addClass("md-table-select").attr("md-container-class","md-table-select");return e.addClass("md-cell"),n},require:["mdCell","^^mdTable"],restrict:"A"}}),k.module("md.data.table").directive("mdColumn",n),n.$inject=["$compile","$mdUtil"],k.module("md.data.table").decorator("$controller",r).factory("$mdEditDialog",i),r.$inject=["$delegate"],i.$inject=["$compile","$controller","$document","$mdUtil","$q","$rootScope","$templateCache","$templateRequest","$window"],k.module("md.data.table").directive("mdFoot",function(){return{compile:function(e){e.addClass("md-foot")},restrict:"A"}}),k.module("md.data.table").directive("mdHead",a),a.$inject=["$compile"],k.module("md.data.table").directive("mdRow",function(){function t(e,t,n,r){function i(e){return t[0].contains(e[0])}if(-1!==r.getBodyRows().indexOf(t[0])){var a=k.element('<td class="md-cell">');e.$watch(function(){return r.$$rowSelect},function(e){!e||n.mdSelect?i(a)&&a.remove():i(a)||t.prepend(a)})}}return{compile:function(e){return e.addClass("md-row"),t},require:"^^mdTable",restrict:"A"}}),k.module("md.data.table").directive("mdSelect",o),o.$inject=["$compile","$parse"],k.module("md.data.table").directive("mdTable",function(){function e(e,t,n,r){var i,a=this,o=[],s=[];a.$$hash=new c,a.$$columns={},a.columnCount=function(){return a.getRows(t[0]).reduce(function(e,t){return t.cells.length>e?t.cells.length:e},0)},a.getRows=function(e){return Array.prototype.filter.call(e.rows,function(e){return!e.classList.contains("ng-leave")})},a.getBodyRows=function(){return Array.prototype.reduce.call(t.prop("tBodies"),function(e,t){return e.concat(a.getRows(t))},[])},a.getElement=function(){return t},a.getHeaderRows=function(){return a.getRows(t.prop("tHead"))},a.enableMultiSelect=function(){return""===e.multiple||r.$eval(e.multiple)},a.waitingOnPromise=function(){return!!o.length},a.queuePromise=function(e){e&&1===o.push(k.isArray(e)?n.all(e):n.when(e))&&function e(){if(!o.length)return r.$applyAsync();o[0].finally(function(){o.shift(),e()})}()},a.registerModelChangeListener=function(e){s.push(e)},a.removeModelChangeListener=function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1)},e.hasOwnProperty("mdProgress")&&r.$watch("$mdTable.progress",a.queuePromise),r.$watch(function(){return""===e.mdRowSelect||a.rowSelect},function(e){e&&(a.selected?k.isArray(a.selected)||console.error("Row selection: Expected an array. Recived "+typeof a.selected+"."):console.error("Row selection: ngModel is not defined."))?(a.$$rowSelect=!0,i=r.$watchCollection("$mdTable.selected",function(t){s.forEach(function(e){e(t)})}),t.addClass("md-row-select")):function(){a.$$rowSelect=!1,k.isFunction(i)&&i();t.removeClass("md-row-select")}()})}return e.$inject=["$attrs","$element","$q","$scope"],{bindToController:!0,compile:function(e,t){if(e.addClass("md-table"),t.hasOwnProperty("mdProgress")){var n=e.find("tbody")[0],r=k.element('<thead class="md-table-progress" md-table-progress>');n&&e[0].insertBefore(r[0],n)}},controller:e,controllerAs:"$mdTable",restrict:"A",scope:{progress:"=?mdProgress",selected:"=ngModel",rowSelect:"=mdRowSelect"}}}),k.module("md.data.table").directive("mdTablePagination",function(){function e(e,t,n){var r=this,i={page:"Page:",rowsPerPage:"Rows per page:",of:"of"};function a(e){return 0<parseInt(e,10)}r.label=k.copy(i),r.eval=function(e){return n.$eval(e)},r.first=function(){r.page=1,r.onPaginationChange()},r.hasNext=function(){return r.page*r.limit<r.total},r.hasPrevious=function(){return 1<r.page},r.last=function(){r.page=r.pages(),r.onPaginationChange()},r.max=function(){return r.hasNext()?r.page*r.limit:r.total},r.min=function(){return a(r.total)?r.page*r.limit-r.limit+1:0},r.next=function(){r.page++,r.onPaginationChange()},r.onPaginationChange=function(){k.isFunction(r.onPaginate)&&t.nextTick(function(){r.onPaginate(r.page,r.limit)})},r.pages=function(){return a(r.total)?Math.ceil(r.total/(a(r.limit)?r.limit:1)):1},r.previous=function(){r.page--,r.onPaginationChange()},r.showBoundaryLinks=function(){return""===e.mdBoundaryLinks||r.boundaryLinks},r.showPageSelect=function(){return""===e.mdPageSelect||r.pageSelect},n.$watch("$pagination.limit",function(e,t){isNaN(e)||isNaN(t)||e===t||(r.page=Math.floor((r.page*t-t+e)/(a(e)?e:1)),r.onPaginationChange())}),e.$observe("mdLabel",function(e){k.extend(r.label,i,n.$eval(e))}),n.$watch("$pagination.total",function(e,t){isNaN(e)||e===t||r.page>r.pages()&&r.last()})}return e.$inject=["$attrs","$mdUtil","$scope"],{bindToController:{boundaryLinks:"=?mdBoundaryLinks",disabled:"=ngDisabled",limit:"=mdLimit",page:"=mdPage",pageSelect:"=?mdPageSelect",onPaginate:"=?mdOnPaginate",limitOptions:"=?mdLimitOptions",total:"@mdTotal"},compile:function(e){e.addClass("md-table-pagination")},controller:e,controllerAs:"$pagination",restrict:"E",scope:{},templateUrl:"md-table-pagination.html"}}),k.module("md.data.table").directive("mdTableProgress",function(){return{link:function(e,t,n,r){e.columnCount=r.columnCount,e.deferred=r.waitingOnPromise},require:"^^mdTable",restrict:"A",scope:{},templateUrl:"md-table-progress.html"}}),k.module("md.data.table").directive("virtualPageSelect",function(){function e(e,t){var n=this,r=e.find("md-content");function i(e,t){return Math.min(e,isFinite(t)&&0<t?t:1)}function a(e){if(n.pages.length>e)return n.pages.splice(e);for(var t=n.pages.length;t<e;t++)n.pages.push(t+1)}n.pages=[],r.on("scroll",function(){r.prop("clientHeight")+r.prop("scrollTop")>=r.prop("scrollHeight")&&t.$applyAsync(function(){a(i(n.pages.length+10,n.total))})}),t.$watch("$pageSelect.total",function(e){a(i(Math.max(n.pages.length,10),e))}),t.$watch("$pagination.page",function(e){for(var t=n.pages.length;t<e;t++)n.pages.push(t+1)})}return e.$inject=["$element","$scope"],{bindToController:{total:"@"},controller:e,controllerAs:"$pageSelect"}})}(window,angular),angular.module("angular-toasty",[]),angular.module("angular-toasty").directive("toasty",["toasty","$timeout","$sce",function(e,g,_){return{replace:!0,restrict:"EA",scope:!0,link:function(f,e,t){var d=0,h=["default","material","bootstrap"];function p(n){n?angular.forEach(f.toasty,function(e,t){e.id==n&&(f.$broadcast("toasty-cleared",f.toasty[t]),e.onRemove&&angular.isFunction(e.onRemove)&&e.onRemove.call(f.toasty[t]),f.toasty.splice(t,1),f.$$phase||f.$digest())}):(angular.forEach(f.toasty,function(e,t){e.onRemove&&angular.isFunction(e.onRemove)&&e.onRemove.call(f.toasty[t])}),f.toasty=[],f.$broadcast("toasty-cleared"))}function m(e,t,n){return 0!=t[n]&&(!!t[n]||e[n])}f.position="",f.toasty=[],f.$on("toasty-new",function(e,t){var n=t.config,r=t.options;f.position||(f.position="toasty-position-"+n.position),function(e,t){d++;var n,r=m(e,t,"sound"),i=m(e,t,"showClose"),a=m(e,t,"clickToClose"),o=m(e,t,"html"),s=m(e,t,"shake");n=t.theme&&-1<h.indexOf(t.theme)?t.theme:e.theme;f.toasty.length>=e.limit&&f.toasty.shift();r&&document.getElementById("toasty-sound").play();var c={id:d,title:o?_.trustAsHtml(t.title):t.title,msg:o?_.trustAsHtml(t.msg):t.msg,showClose:i,clickToClose:a,sound:r,shake:s?"toasty-shake":"",html:o,type:"toasty-type-"+t.type,theme:"toasty-theme-"+n,onAdd:t.onAdd&&angular.isFunction(t.onAdd)?t.onAdd:null,onRemove:t.onRemove&&angular.isFunction(t.onRemove)?t.onRemove:null,onClick:t.onClick&&angular.isFunction(t.onClick)?t.onClick:null,onAccept:t.onAccept&&angular.isFunction(t.onAccept)?t.onAccept:null,onReject:t.onReject&&angular.isFunction(t.onReject)?t.onReject:null};f.toasty.push(c),t.onAdd&&angular.isFunction(t.onAdd)&&t.onAdd.call(c);f.$broadcast("toasty-added",c),0!=t.timeout&&(t.timeout||e.timeout)&&(l=f.toasty[f.toasty.length-1],u=t.timeout||e.timeout,l.timeout=g(function(){p(l.id)},u));var l,u}(n,r)}),f.$on("toasty-clear",function(e,t){p(t.id)}),f.close=function(e){p(e)},f.clickToasty=function(e){f.$broadcast("toasty-clicked",e),e.onClick&&angular.isFunction(e.onClick)&&e.onClick.call(e),e.clickToClose&&p(e.id)}},template:'<div id="toasty" ng-class="[position]"><audio id="toasty-sound" src="data:audio/wav;base64,UklGRiQ9AABXQVZFZm10IBAAAAABAAEAIlYAAESsAAACABAAZGF0YQA9AAA4AFAASABAADgAQAAwACgAGAAoADAAIAAoADgAKAAgACAAKAA4ADgAMABIADgAQABIAFAAWABQAHAASABYAFAAUAA4AEAAMAAwADgAQABQAFAASABYAFgAaABwAHgAeABoAGgAaABoAGgAUABQAFAAWABQAEgASAA4AEAAOAAgADAAMABIAEAAOABAADAAQAAwADgAKAAwACAAIAAwACAAIAAwACgAGAAQABAAAAD4//D/2P/o/+j/8P/o/+D/0P/Y/9D/2P/I/8D/yP/g/8j/0P/Y/+j/2P/w/9D/2P/A/8D/yP/A/9D/yP/A/9D/0P/I/8j/yP+4/9j/6P/g/+D/2P/Y/+D/4P/Y/9j/4P/o/+j/0P/g/+D/4P/o/+D/4P/g/9D/4P/g/+D/4P/w/wAAIAAwABgAMABAADAAOAAwADAAKAAwADgAIAAYACAAAAAAAAgAIAAIABAACAAgACAAIAAgAAgAEAAIAAAAAAAAAOj/8P8AAAAA+P/4//j/+P/o/+j/6P/g/+j/+P8AAPD/6P/o//D/2P/o/9D/4P/w/+j/4P8IABAAAAAQABgAAAAAAAgAAAAAAPj/8P/w//D/6P/4//D/+P8AAPj/AAAAAAgACAD4//j/CAAAAPj/CAAAAAAAAAAQABgAIAA4ADgAMABIAEgAOAAwAFAAOABAAEAASABIAEAAOAAgACgAGAAwACAAKAAwADgAMAA4ADgAQABAADAAKAAYAPj/6P/4/+j/4P/I/8D/uP+w/8D/uP+o/7j/qP/A/9j/qP/I/9j/wP/A/8D/4P/g/9j/2P+4/8D/wP+w/9D/wP/Q/9j/0P/Q/8D/2P/I/9j/6P/o/+j/+P/o//j/AAAAAAgAEAAIAAAAAAAIAAgAEAAYABAACAAgACAAAAAYADgAMABIAEAAKAA4ADAASABQAFAAUABYAEAAKAAQAAgAEAAQACgAGAAYABgAGAAgACAAMAAgADgAMAAwADgAMABIAEAASAAoAEgAQABYADAAUABQADgAMAAoACgAOABAAEAAMAAoACgAIAAgACAAOAAwACgAKAAoADAAKAAwACAAIAAYADAAKAAgACgAIAAQABgAGAAIAAgAAAAIAAAAAAD4//j/EAAYAAAAAAAQAPD/GAAgABAAEAAYACAAOABIAEAAMABAACgAKAAoAAgAEAAgABgACAAQAAgAEAAgAAgAAAAAABgACAAYABAACAAQAAAAAAAQAAgA+P/w/+j/4P/w/+D/6P/o//D/2P/g/9D/6P/o/8D/wP+w/7j/0P/I/9D/wP/g/9j/6P/g/+D/2P/Y/9D/2P/g/9j/0P+w/6j/4P/Y/9j/2P/Y/9D/0P/A/8D/8P+w/8D/uP/A/8j/0P/Q/9D/0P/w//D/2P/g/+D/6P8AAPD/6P/g/+j/6P/Q/+D/4P/4/+j/+P/o/+D/8P/4/wAAAAD4//j/6P/Y/9D/yP/g/+j/2P/Y/9j/yP/Q/9D/yP/Q/9D/yP+4/6D/qP+g/7j/sP+4/8D/yP/Y/8D/wP/Q//D/0P/g/8j/wP/A/7j/qP+w/7D/sP+w/6j/sP+w/7j/uP/A/8D/2P/A/+D/6P/o/+j/4P/Y/+j/2P/Q/9j/4P/o//j/EAAAAAgA+P/4//D/AAAAAAAAAAD4//j/8P/4/wAAIAAQACAAEAAIABgACAAQADAAKAAgACAAMABAAEgAMAAwAFgAWABgAFgAQABIAFgAYABYAGgAUABwAEgAQABAADgAOAA4ADgAMAAgACgAKAAoACgAMAAoACAAEAAQABAACAAIAAAAAAD4/wAAEAAIAPj/6P/Y//D/AAAAAOj/4P/w//j/8P8IAPj/EAAAAPj/6P/4/+D/4P/Y/9j/2P/g//D/8P/o/+D/6P8gABAACAD4/yAAIABAADgAMAA4ADgAIAAQACAAIAAgADAAKAAwAEgAOAA4AEAAQABIAEAAMABAAEAAMABQADAAYABAAEgAQABQADAAUABYABgAQABAAEAAKABIADAAIAAYABgAAAAgACAAGAAgAAgAGAAAAAgACAAQABAACAAQAPD/IAAoAPD/CAAgAPj/4P/w//D/+P/g/9j/2P/Y/9j/6P/I/6j/4P/Y/+D/0P/A/8D/yP/A/8D/2P8AAPD/CAAAAAAAGAAQAOj/GAAoAPD/GAAYAPD/IAAgAOj/GAAgAAAACABQACgAEABQADAAKADw//j/+P8IABAAGAAYADgAEAD4/8D/2P8AAFAAKAAoAPj/8P8QAOj/6P/Q/7j/iP+I/7j/8P8oAPj/aP9w/5j/+P8YAAAACAB4/5j/CAAQAOj/GADg/1D/uP8oAHAAKADw/4D/sAAwABAA4P9I/2j/AACAAXAAiABo/zAAMAAA/+D9EP7w/2AAKAGAAOAAiP8YAFD/YP5I/7j+mP2g/jAAIAPQAYAAMP/Y/8D/SP6g/ID9yP/QAYgCiAGQAMgAKAD4/0j+CP9g/ij9AP+QAAACQAAwADAAmP8gATD/cP6Y/rD/gADA/7j8iP04/WD/QAEYATD+yP9g/Lj8WP/I/tAAIP6I/wj+uP8IAagA8P9g/gj+cAOw/dD+QADYAYgDSP8QAhj8uP5wAXj+wAMIAfgBsP+w/7gBmAMwA4AAmAC4AAj/SP0IAegEoAWw/lD7iPrY/IACuP+QA4gEqAgAACj4CAFQ+9gB8P9wAjgDOP5QBbgCSAfgAfD/IP+Y/qgFmACIAsAEIP0wBTAAeAGo/OgFWP2oDrADoAZAAqgK+P5ACsgBCALwD0AL0AlwBhgCiP9o/dj7+AJg/6AEWAXICej7KADYAjgCEP94B4j4SAEY/yAAWP4Y/8D8QACIAYgDUP4w/fj98AEYANgDGAIoAJD90AcIBXgC4AeYB+D9OP0Q+IAAWAKQCPgFsAZI/AADmPxQBKD/kABIAcAFqP+IBnAH4AQoApgSYP4QDmjvwAGgBdgCiAJw+wgDAAE4B6gT8P6wB9D78AdQCbj/aACo/oAAWPtYAvj/IPug+MgDQAJQA7D7EPdI/yD2uPSg+dDyyPWw7pjysOvY9vjugO8Y6ZjfeOZw62jkgOXA4ijgsOSw4dDdKOBY1QjTMNUg1GDciNfY0ADbUNhA29DUqNQY3HDe4Ncg1QjVoND41aDUcNno2QDWYNdw2tDjUOEA5QDpoO3Y70D46PFY8vj3iP4QBRgBAAiADVAP6BDIFogfqCHQKTgzcDGgNfg48EPQRzBGCEvQUMhQ4FLgV2BZ8FpAUnBVUFhgUehRCFDYUShKeEMYQhg9uDCAMfgrACUwG8AUcBXYDBAGuALA/oD0mOt451jlyOAg3vDaQNhw1BDRgNBgzVDOIM+Y04jR0NJA0pDY0N0g3rjlUOow7tDt4PdA/agACASYCGAOSBHgEhAX8ByQH1AneCd4KbApACqALhAv+C4gMLgvuC/4MPgqyCmIJRgfAB2QGTgTyA6QCjgHcAK4+oj4MPHI7BDrYOgg4fjcSNrg1zDUINHAz2jNuMqAybjJaMewydjJYM7wz4DSgNRQ2XjciOP46ODrmPCg9UD5SP1YAcAE4AqYDDgSUBPAGKgb4BqYHiAg6CFoIFAj8CNgIvggoCBoHqAawBUwEygQMAtoB2gCYP6Y+Pj3APFA7UDqeOfw4qDeQN7I2nDYWNUQ1qjRCNJg0KjRANKQ1NDWGNfo2qDckN/44NjnyOuY8LD1OPvI/lgEAAegCqgOwBGoGFgZKB6IH3Ak8CHYJgAnqCh4KZgpACqQJ8gnICdQJUghuCDQHFAYMBPgD+gMaAfoBQgB2PwQ+LD1OPLo7kDsOOwo6ojn4OYw5vDj4OO45CDk2OSQ5MDnuOlI7SjukO9Q8yD2cPuY/LgBoAQAB0ALUA4wEVgTMBUQF9AYUBloG2ga+BlwGzgamBlIF3gWSBQoE7ARQBHADfAJaAdQA+AAaP14+iD2WPKQ8fjsCOuI6EDmqOM44ujhyOAQ30DgIOIg4tDiyOPA5ODlgOgw60DsIO+Y8hD22PmY+xD/cAB4AhgHoAgoDKAOOBIgFNAVOBcAGPAWgBewF/AWCBeQF7gUuBMAEuAPGA2ACfgJUAd4BWADKALg/pD6APo49sjz+PAg8PjtMO7Q7mjtEOpg6xjs2Ozg7MDtMO9A8HDySPQ49oD3iPpI/KD+QAEwBMgFaAjIC7gNAA4gDrAQCBGQEtATABVAFHgUgBR4E5gR4BB4DwgNAAzwCQAHUAQQA/gAeP5w/ID6IPcY9Yj0cPIY8RDu6O3g6jjrMOqY6SDpMOo462DsqO5g7uDvmO+A8nj0OPbo+GD7wP4QAbgDGAUYBkAJQAzIDbAQaBE4FMgTWBa4FogWABZAFiAXGBbIFfgUgBSoE7gRyA4IDXgKwAjYBUgEsAJo/xj9oPoA+Zj28PXg8xDycPEo8NDuIO1g7CjsqOo46/jrGO0w7WjvSPII80D0CPWo9hD5WPtA/Xj+uABYA+gFcAcQCmgLWAxYDSAQQBHYETgS8BKIEzATGBPwEWARmBGgEEgQUA+4DlANKAuYCegHcAWoA9AB4AA4/xj+aP3w+xD6IPlI95j26PV49qD1wPWA9RD1mPRw9aD10PUo9yD5kPp4+qD7SP1I/pj+eAA4APAAUAK4A3gECAWwBzAGuAfgBuAGUAeQBugGgAYgBqgEkAMIA2ACoAAYAIj/UP/Y/Wj98Psg+wj6CPhY9wD28PUo9cD1iPWY9VD14PT49MD1uPXQ9QD26Pao+Lj4OPqg+6D8oP2I/nAAUAKAA2AF0AbwB3AIMAgwCbAJcAsQCzAM8AzgDDgNSA04DVAMeAswC6AJsAjwBxgHAAY4BQgE8AHQAEgAyP8I/hj9OP3w+3j6EPqw+LD46Peo9tj32PfI+Gj4yPiA+dj5ePqo+kj8cP3I/Sj/WAAwAVgCYAKQBKgEwAUwBuAHuAhQCUgKqAkwCpAJWAmoCOAIaAiwCOAHEAgAB/AFUATQAtAB0P8A/9D9yP1I/MD6EPqI+Ej4KPco9nD20PUg9Sj0kPMA9GDzGPMQ8/DyiPPQ9MD1IPeg95j44PiA+RD6cPqo++D8aP2Y/qD/SABoAegBsAJ4A9ADUAT4BAgFcAVgBTAFuASQBHAE2AOgAzADaAMIAxgCoAEIAFj/wP4g/ij9uPxo/BD8ePvA+kD6uPm4+dD5aPlw+Yj5QPmY+WD50Pkw+jj6APtg+0j8QP0g/gD/OP/Y/xAAkP9oAFAA4AFIAvACCARwBIAEiASIBBgFgAXgBDgG2AUoBhgFSAVoBVgFKAVwBDAEgARYBAAE4ATQA3AEsANIA+ACqALwAhgDIAOwA6AD8AKAAzADMAOoAuACGAM4A3gDMANQA5gDCAQABLgEgAVoBQgGeAWgBfAEgARgBPADuANgA3gDgAP4A3ADUAMYA2gC8AFwAdgAWAAAAPj/oP8g/0j+yP2g/Xj9KP1Q/Bj9mPxA/Cj8WPzQ+6D7kPuo+1D7mPvg+1j8aP2A/Wj9UPwg/BD8gPwY/aj9SP6o/sj+gP6g/qj+gP5A/zj/mP+w/xD/QP9o/nj+IP7A/dD9yP3w/Rj+2P34/eD9SP3I/JD8GPz4+0D8EPwo/Cj8+PuQ+9D7cPsQ+8j7+Ptg/Aj8YPzI/PD82PyY/Aj9UP1g/lj+eP8IAEgAOADo/wAAUAAAAXABOAKAApgC6AL4AgADkAMwA/gDAATgA6ADiAOQA6ADSAMgA8gCyAGQAbAB2AGYASABiADwAAgAYP+o/iD+iP2Q/ZD9gP14/eD8iPyo+zj7APtQ+wD7EPsQ+zD7CPv4+nD72PvY+3D8qP2g/eD9cP6w/rj+6P4IAOj/OACYAHgBCALQAngDmAMIBAAE+APYA2AE4ATYBcAF4AWoBTAFUAXYBJAEqAQQBVgFYAXgBHAEiAO4AyADAAPwAhAD4AJYAoACGAKoARgBAAFYADAAmACAAKgAEADQ/yAA8P/A/wAAWACwAEgAuACoACAA4P9gAHAA0ACAAJAAsAAAATABAAF4ARABKAHgAJgAsABwAAABmABQAEAA2P+o/2j/eP+A/1j/WP8Y/4D/KP/Q/tj+uP7Q/pj+oP7A/rD+0P7Y/rD+gP5o/kj+OP64/mj+kP4I/yD/EP9I/4D/sP/Y/ygASAA4AHAAkADgAPAAmACIAKAAwAA4ATgB0AG4AZgBYAE4AcgAsACwAHgAsABYAIgAWABoAPD/sP+o/+j+0P7Y/gD/cP74/Qj+IP6A/Yj9QP0o/VD9cP1Y/ZD9CP3w/CD9+Pz4/PD84Px4/Vj9iP24/Yj9kP3Q/fD9aP7Y/lj/uP/Y/xgAeAB4ALgAMAFgAcgBYAJoApACaAIoAhgCiAJwAkACQAIwAlACQAIYAngCCALQAaAB8AC4AGgAAAD4/+j/UP/4/rj+4P2Q/cj9iP1A/Tj9QP1Y/cj8+Pzo/Mj8EP2I/XD9oP3w/Rj+KP5A/jj+aP7w/lD/yP+AAAgBmAHgAYACwALwAmgDoAMgBFAEgASYBDgEcAQIBfgEAAU4BUAFQAV4BUgFCAW4BGAECARwA+gCoAJgAigCkAEQAXAA6P9o//j+2P5w/hj+cP3A/Gj8KPwI/Nj7mPtA++D6kPp4+tD6uPq4+sD6APvQ+sD6yPpo+wj8CPwQ/Hj8UPzg/Ej9YP1o/dj9SP54/oj+2P5I/zj/eP+Y/5D/sP8QAFgAkACAAHgAWAAYALj/QP84/7j+2P7w/hD/8P6I/nj+gP54/kD+OP4w/kD+aP54/nD+0P6w/hD/GP8o/1D/gP8IAEgA+ABoAbABoAJYA4gD8ANwBNAEMAWIBegF8AX4BRAGeAagBrgGyAaoBoAGQAZABugFqAVgBRgFqARwBMADaAPwApgCwAHYACAAYP9Y/+D+mP4w/sD9KP34/ID8IPwQ/Pj7EPwA/OD7uPuw+4D7APwY/Ej8sPwY/RD9mP0Q/oD+2P7w/rj/0P+IABgBqAHYAUACqALYAvgCCAOIA8ADOATQA9gD+AMABJgDsANIAyADmAJIAgAC0AGgAVABEAFAAMj/OP/A/nD+6P2g/UD98PzA/HD8GPy4+5j7kPt4+zD7OPtI+2j7oPuY++D78Pvw+1j8uPzo/FD9oP0g/mj+uP4w/4j/yP9wABABUAGoAZgB8AEAAgAC6AEwAggCSAJIAiAC0AFYAfgA2ADQAIAAeAD4/6D/WP9A/4j+aP64/aD9cP0I/dj8yPyI/GD8iPww/Cj8EPxI/KD8uPz4/Kj9yP1A/sj+gP/Y/wgAiADQAIABEAKwAmgDIATIBAgFYAXIBSgGsAYoB7gH6AcYCCgIsAeIB1gHIAfIBqgGGAbgBWgF+ASIBNgDMAOIAugBmAGwAOj/KP9I/rD96PxA/JD72PqI+jD6wPmQ+Yj5QPnw+GD4gPiA+MD4MPlo+ej5+PlA+pj68Pqg+zD84PyY/Uj+2P6I/9j/SAD4AJgBAAKIAsACMAOIA9ADOAQYBCAEIAT4AxgEyAOAA3gDOAPAAnAC6AFoAeAAoABAAND/UP/I/ij+wP1o/fj8oPwY/Mj7YPuY+8D7sPug+6D7iPuo+9D76Ps4/LD8SP2o/Sj+cP44/3j/8P+AABABmAEQAsACKAO4A/ADWASIBOgESAVwBdgF6AXIBZgFkAVwBTgFAAUABaAEeAQIBJgDMAPQAmAC0AEwAeAAQAC4/xj/oP74/XD9yPxg/Mj7IPvw+qj6aPoY+uj54PnI+bD5mPl4+Xj5ePn4+Xj6IPsg+6j78PsY/KD8UP0w/rD+iP9AANAAWAEIAsACgAMgBHAE4AQYBdAFQAaoBvgG4AYoBygHSAc4B1AHYAdQB2AHEAfIBiAG2AWQBSAFsAQABHAD2AI4AtABEAGQADAAkP8Q/3D+GP6w/Uj9KP3Y/JD8EPzY+8j7ePu4+6D7uPvo+7D7qPvY++j7OPyY/BD9gP3g/Sj+WP6A/tj+EP+o/+j/OACAAIgA+ABoAcABsAHIAeABIAJQAmACcAJIAlACMAIoAtABeAEwAQgBKAHYAKgAWADY/2D/OP8Y/7D+oP5w/jj+2P3I/aj9gP2I/Vj9EP3Q/PD8+Pw4/XD9eP1Q/Uj9kP2I/fj9SP6Q/rD+uP4A/xj/CP9o/1j/cP9g/4j/eP9w/5j/gP+Y/5j/sP/Q/yAAGAAwAIAAQABQADAAMABgAFgAiACIAFgAYABwAHgAIADQ/9j/IAAgAPj/MAA4AAgA+P/I/6j/yP/I/7j/qP9o/0D/SP8Y/xj/AP/g/qj+cP54/oD+gP64/oj+YP5Q/uD90P0o/nD+qP6Y/uD+GP8g/yj/UP94/+j/EABQALgAAAEQAXgB6AHIAQACUAJwAqgC8AIwA1gDIAMQAygDSANgA5ADoANwA4gDSANQAygDyAKYAlAC6AG4AUAB+AC4AHAA4P+o/xj/yP6I/lj+MP4A/rD9SP3o/KD8iPxQ/DD8KPw4/ED8aPyQ/ID8wPwI/UD9cP24/VD+6P6A/+D/KABYAMgAWAHYATgCsAIQA5AD0AMoBHgE+AQQBWAFiAWwBcgF8AUABhAGoAVoBSgF2ASoBIAEAASoAygDoAIQAlgBsAAoAIj/AP94/hj+cP24/Dj8sPs4+7D6YPr4+fD52Pnw+cj5sPmY+cD56Pko+rD6APt4++j7gPzQ/HD98P2g/ij/2P9QAMAAkAFAAnAC6AKIA+ADaATIBCAFiAWgBfgF4AXwBegFuAWABXAFSAUgBeAEgAQQBHgDCAOQAvgBaAEAAYgAIACY/0j/sP5I/gj+cP34/Lj8aPwI/DD8KPwo/BD8KPwo/Fj8aPyg/Cj9qP1A/pj+8P4I/5D/EACYABABkAH4AWgC+AIoA5AD0AP4AyAEQARoBIgEeASYBFgE+AN4AxAD2AKQApgCCAJQAdgAUAC4/wD/eP7I/SD9aPwA/Ij7GPvY+mj6wPlQ+RD58PjA+LD4wPiQ+Lj46Pj4+Dj5cPng+Wj62PpA++j7aPwA/Yj90P1I/sj+UP/w/6AAMAGoATACwAIYAxgDMAN4A7gDAAQIBPgDwAOwA4ADIAPYArgCQALgAZgBcAEwAbAASACg/xD/uP5A/kD++P0I/uD9qP1w/VD9+PwY/UD9QP2Q/aj94P3w/RD+aP7Y/ij/kP/A/xAAeADQABABcAHAAdAB+AE4AmgCkAKwAtgC+AIIAwADsAKIAnACUAIgAugBiAEwAdgAeAAoAOj/aP/4/qj+eP4o/gD+yP1o/UD9CP3Q/MD8yPwI/XD9WP1Y/Tj9cP2Q/cj9GP5w/vD+QP+I//D/KACAANgAQAG4ASACoALoAkADmAPIA+ADEARYBJAE2AToBBgF+ATwBOAEqASYBJgEYAQYBOADsANYAxgD6AIoAuABmAFgASgB0ACQAFgA+P/Q/4j/QP8Y/wD/2P7g/sD+wP7o/rD+0P7Q/rj+4P4A/zj/UP9o/5D/uP/g//D/AAAQACgASABYAIgAkAB4AJAAoABgACgAGAAIAAAA6P/Y/7D/kP9w/1D/+P6o/lj+OP5I/gD+8P2w/Xj9QP0I/QD9GP0g/UD9eP2Q/Zj9wP3Q/QD+SP6Q/uj+IP+Y/8j/CABIAIgA2AAYAXABoAEQAkACmALYAhgDWAOAA5gDoAOwA7ADyAOwA4ADYAMwA8gCiAJQAhAC+AGYAUgB6AC4AGgA8P+w/2j/CP+4/pD+UP44/vj9gP1Q/Sj9AP3o/Mj88Pzw/AD9CP0g/WD9iP2Y/dj9EP5A/qj+AP8o/5D/8P8gAHgAoADIABgBUAHAAdgBCAIQAjACMAIgAggCEAIIAvAByAGoAWABGAHIAIgAMAD4/8D/eP8o/+j+aP4w/vD9wP1w/Tj98PzQ/MD8sPy4/ID8aPxg/Fj8YPyY/Lj8CP1Y/Yj9qP2w/eD9AP6A/tD+SP9w/9j/EABoAMAAAAEwAVABmAGgAdgB+AEYAgACKAI4AhAC6AHgAegBwAHIAcABmAFAASgB2AC4AJgAcABgAGgASAAIAOj/yP9o/0D/cP9A/zj/OP8Q//j+0P7A/rj+kP5w/nj+gP5g/nj+mP6I/qD+gP6Y/nD+eP6A/mD+cP6I/mj+YP6Q/oD+kP6o/qD+0P6o/tD+2P7g/vj+CP8g/xj/QP9o/8D/4P/w/wAAGABQAHgAsAC4ABABWAGgAdAB+AEIAigCUAJgApgCgAKgAtgC6ALoAgADCAP4AtgCoAJwAkACIALwAeABuAGAATgBKAHIAKAAeAAYAAgAsP9g/xD/oP5w/jD+6P3A/aj9iP1Y/Uj9MP0o/QD9EP1A/Xj9iP2g/bD96P1A/mD+gP6o/tj+CP9Q/6D/GAAwAIAAsADYAPAAMAFwAbgBAAIgAjgCQAIoAkgCWAJoAoACWAJIAmACYAJIAkgCGALwAagBaAFQAVgBEAEAAfgAyACwAIAAWABIAEgAMAAIAMj/uP+Q/5D/oP+o/8j/2P/Y/8D/0P/Q/9D/wP/Q/+D/+P8AAPj/CAAAABAAEAAoAEAAUABYABgACAAIAAgAEAA4ACgAWABoAFgAQAAwAEgAOABIADgAIAD4//j/AAD4/wAAMAAwACAACAAIAAAAAAAYABgACAAIACAAIAA4ADgAWABwAIAAgACIAHgAmACgALAAsACgALgAoACYAKAAmACgALAAmACgAJAAeABwAGgAgABoAEgAMAAgABAA4P/I/6j/kP9Y/0j/GP8Q/wD/0P7Q/pD+gP5o/lD+UP5Q/lj+eP5A/lj+SP44/jj+QP5g/lj+aP6Y/rj+wP74/iD/SP9g/2D/gP+I/7j/wP/Y/+j/CAAIAPD/8P/w/wgA+P/g/9j/2P/A/8D/eP+A/2D/QP9I/0D/CP/o/sj+qP6I/mj+YP44/jj+QP4I/vj9KP44/kj+UP54/oj+sP7Q/vD+MP9Q/4j/wP+g/zAAIACIAKgAAAEgAWABeAFwAbgB0AHgAfABCAIgAjgCQAJAAiACKAIIAugByAGoAbABuAGgAVgBIAEIAcgAkABgAEgAUABIACAA6P/Q/8j/mP94/3D/aP9g/0D/QP9I/yD/OP84/0j/IP9I/0j/aP94/3j/gP+Y/6D/sP+4/9j/6P/g/xAAGAA4ABAAAAAIAAAA+P8QACAAQAAwACgAOAAYADAAKAAIAPj/+P/o/9j/qP/Y/9j/sP+4/5D/kP+w/7D/yP+o/7j/qP+g/8D/4P/Q/8D/yP/w//j/CAAoADAAaAB4AIAAkACIALgAsACoAMAAsACoALAA8ADQAOAA2ADAAKgAmACYAKAAeAB4AGgASABQAGAAaABoAFAAWABgAHAAaABYAFgAeABwAHAAcACQAIAAeACQAJAAcACAAJgAiACwAMgAwADQALgAsADIAMgAyAC4ALgAmACIAIAAcABYAFAAOAAYAAgA8P/o/7j/uP+Q/4D/gP9I/yj/MP8w/wD/+P7Q/qj+kP54/pj+oP6o/qj+eP54/qj+oP64/tj+AP8I/xj/SP84/1j/gP+w/9D/6P8AABAAQABwAIgAsACwAPAAIAFAAVABSAFoAXgBcAGYAagBsAGoAYgBeAGgAYgBcAF4AVgBQAEIAfgAuACAAEAAQAAQAAAAuP+A/0j/OP8I/+D+qP6Y/nD+eP5g/lj+aP5Q/mD+YP5w/nj+mP6w/rj+4P4A/yj/OP9w/5j/mP+o/9j/AAAYAEgAiAB4AKAAuADAALgAAAEgAQABOAEIARAB+ADwAPAA6ADQAMAAqACIAEgAMAAIAPj/6P+w/3j/QP8Y/wj/6P7Y/pj+eP5Y/iD+AP4Y/iD+IP4g/jD+OP5A/kD+MP5A/oj+uP7Y/vD+IP9Q/4D/yP/o/xgAUAB4AKAA2AD4APgAKAFYAZABoAGwAbgBwAHYAdgB4AHwAegB0AGgAYgBeAFQATABGAH4AMgAuABwAGAAGAAAANj/sP+Y/3D/UP8Y//j++P7o/uD+yP7Q/tj+wP7A/sD+wP7w/gj/OP9A/0j/cP+I/7j/+P8QADAASABwAIgAuADYAOgA6ADwAOgA4AAAAfgAIAEwASgBMAE4AQgBEAHwAPAA4ADIAKAAqAB4AGgAGAAIAOj/0P+g/5D/cP9I/0j/QP8g//D+AP8A/+D+8P7Q/uj+8P74/hj/GP8Y/yj/GP8Y/1D/eP+4/7j/0P/A/9D/6P8AACAAKAAwADAAUABYADgAaAB4AFgAWABIAFgAQABQAGgAGAAAAAgAEAD4//j/AADo/9D/wP+o/5D/kP+Q/6D/mP+Q/4j/oP+Q/5D/kP+I/5D/qP+Y/7j/0P/o/wAA8P/o//D/6P/w/wAAEAAIACAACAAoAEgAQABYAFAAUABoAEgASABAACgAGAAoABgAKAA4ACgAIAAIAAgAAADw/+j/+P/w/+j/AAAAAPj/AAAAABgAIAAQACAAQAAoAGgAgACIALAAuADAAOAAAAEwAUgBcAFwAXgBiAGYAZABuAGwAbgBuAGoAaABkAGQAXABYAEoAQAB4ACwAJAAaABQABgA4P+w/3D/KP8Y/9D+oP5w/lD+OP4Q/uD9wP2w/aD9qP2I/Zj9oP2g/cD96P34/TD+UP54/qj++P4o/5D/uP8IAFgAkACwAAABUAGAAcgBEAI4AjgCUAJIAlgCcAJgAlgCOAJAAjACIALgAbABeAFQARAB2ACoAFgAAADQ/6j/WP8Y/7j+iP5Y/gD+wP2g/XD9UP0w/Qj96PzQ/Oj8+Pzw/Pj8CP1A/XD9mP3Q/Qj+QP6A/tD+IP9o/5j/2P8oAHAAoADoADgBSAGIAdAB0AHwARACIAIoAjACSAJAAjgCOAIIAuABqAF4ATgBKAHoALAAeAA4ABgA2P+w/3D/OP8g/+j+wP6Y/pD+cP5g/mj+WP5o/oj+kP7I/vj++P5I/2j/oP/A//D/SACgAMgAAAFAAWgBqAHYAfgBQAJIAlgCcAKAAogCiAKAAngCWAJQAkgCGALoAcABkAFIARAB0ACIAEAA8P+o/1j/CP+w/oD+aP5A/uj9sP2g/Wj9UP1I/Rj9EP0Q/RD9QP0w/WD9mP2Y/dj9KP5Y/pD+6P4w/3D/oP/w/xAAcADAAPgAOAF4AagByAHoARgCKAI4AkgCYAJQAkgCSAIgAgACuAF4AWABKAEIAdAAkABQACgA4P+4/1D/GP+4/nD+WP4Q/tj9mP2Q/XD9WP04/Sj9IP0I/Sj9MP1A/VD9aP2Y/bj9+P0A/lD+gP7Q/vj+QP9w/7j/8P8gAHgAuAAIAUABWAFoAZABmAG4AcgB0AHYAdgB2AG4AagBkAFwAXABUAE4AQgBwACoAHAASAAgAOj/uP+Y/4D/MP/g/uD+wP6Y/oj+aP5Q/kj+UP5Q/mD+cP6I/oj+iP6w/rj+0P7o/iD/KP9Q/4D/mP/Q/+j/EAAwAGgAmACwANgACAEwARgBMAE4AUgBKAFAATgBMAE4ASgBEAEYAfgA+ADoANAA0ADAAKAAkABwAGgAWAAwAPD/6P/Q/+D/4P/w/8j/0P/I/8j/0P/I/+j/8P/o/wAA6P8AAPj/AAAIADAAMAAwADAAQABAAFgAcACQAIAAsAC4ANgAwADgAOAA+ADoANgA2ACwALgAmACIAHgAcABwAGAAWABYAEgASABIAEAASABQAEAAQAAoABgAGAAIAAgAEAD4/wAAAAD4/wAA+P/w/+j/8P8AACAAKAA4AEAAKABYAEgAaABoAGAAeACQALAAkACIAJAAiAB4AIAAiACIAHgAgABwAGAAQAAwACAAIAAoABAAAAD4/wAA6P/Y/9j/wP+g/5j/kP+o/5j/kP+I/6j/mP+w/4j/mP+o/6j/oP+o/8D/qP+4/6j/sP/I/9j/2P/g//D/AAAIABAACAAAAPj/AADo//D/2P+4/6D/mP+o/6j/uP+Y/5D/kP94/3D/eP9w/2D/UP9o/0j/UP9Q/1j/YP94/3D/iP+Q/5j/mP/A/+D/+P8QACAAMAA4AFAAUABwAHgAsADYAOAA6ADwAAgBEAEQAQABOAFAAUABQAFIAVgBUAEoASABCAHgANgAuACgAHgAYAAwAAgA6P+w/3j/UP8w/xj/AP/w/sD+sP6Q/oj+YP5g/mD+SP5g/jj+OP4g/ij+OP44/jj+SP5Y/lj+cP6Q/rD+4P4I/0D/cP+Y/7D/4P8YADAAcACgANAA2ADwAAgBGAE4AWABYAFYAWgBcAFoAWgBSAFQATABIAHoANgAsAB4AJAAkABIAEgAKAAIAPj/wP+Y/5D/eP9o/1D/OP8w/yD/AP8A//D+4P7o/uD+6P74/gD/GP8g/yD/QP9I/2j/iP/A/9j/+P8QABAAIAAQADAAQABAAFgAgACAAJAAmACgAKgAoACoAJAAiACIAHgAaABYAFAAOAAYAAgA+P/Y/8j/uP+Q/3j/YP9I/1D/MP84/zj/KP8Y/xj/EP/o/uj+AP8Q/xD/KP9I/3j/mP+w/8D/0P/g/wAAIAA4AFgAkAC4AMgA4AAQARABGAFIAUgBWAFoAXgBmAGgAagBiAGQAXgBcAFwAVgBUAFIAUABKAEAAfgA0AC4AKgAmACQAHAAaABQAEgAKAAoABAAGAAAAAAACADo//D/0P/A/7j/uP/I/9j/6P/Y//D/+P8IABAAKAAIACgAEAAYABgAKAAYAAAACAAAAAAA+P/o/+D/yP/A/8j/mP+A/2j/cP9I/1D/SP9A/zj/KP8o/wD/+P7g/uj+8P7o/vD++P7o/tD+0P74/uD+8P4A//j+8P4Q/yD/SP9g/3D/cP94/3j/oP+w/8j/6P/4/wgAAAAYABgAGAAwADAAMAAoADAAEAAQAAAAAADo//j/+P/4/+j/8P/4/8j/4P/g/+D/4P/I/9D/yP/Q/9D/2P/Y/9D/uP/Q/8D/2P/A/+D/4P/w//j/8P/4/+j/EAA4ADgASABQAFAASABAADAAOAAYACAAKAAAAPj/CAD4//D/8P/Y/+j/0P/I/8j/oP+Q/5D/cP9g/1D/MP84/zj/OP8o/0j/KP8o/zj/KP9A/1D/SP9o/2j/eP+I/5D/mP+4/+j/4P8IABAAKAA4AFAAeACIAKAAwADIANAA0ADoAOgA+ADwAPgACAEAAfgA6ADYAOAA0AC4AKgAkAB4AGgAWABYAEgAOAAwABgA8P/g/+j/2P+4/8D/uP+4/7j/wP+w/8j/wP+4/8D/yP/g/9j/8P/g//D/+P8AAAAAEAAgADAAKABAAEgAWABgAGAAQABQAFgAWABwAGAAaAB4AFgAUAAwACgAEAAwAAgACAAAAPj/6P/Y/7j/wP+w/5j/kP+Q/5j/mP9w/3D/eP94/2j/gP+Q/6D/2P/Q/+D/8P8AAAAAEAAoAEgAYAB4AKAAqACwANAA4AAAAfgA8ADwAPAAEAEQAQgBEAEIASABAAEAAfgA8AD4AOgA2ADIALAAkACIAHAAYABAAFAAIAAoABAAAADo/9j/2P/I/7D/0P/A/7D/qP+g/6j/oP+w/9D/0P/Y/9j/+P/g/+D/UAB4AHAAeACIAJAAqACYAMAA4AAAATABMAFIATgBGAEoASgBMAEwAVABSAFIATABMAEgAQgBCAEAAdgAyACwAKgAsACQAJAAiABwAGAAOAAoABgAEAD4//j/4P/I/6D/eP9w/2D/UP9Q/0D/IP8w/yD/QP8o/xj/OP8o/xD/GP8g/wj/EP8Y/xj/CP8g/xj/IP8Y/yj/KP8g/xj/IP8Y/wj/GP8o/yD/OP9Q/1D/WP9w/1j/UP9g/2D/YP9Y/2D/aP9w/4j/kP+g/6j/uP+4/6j/oP+w/5j/sP+g/5j/kP+I/3j/cP9g/1j/WP9Y/1D/SP9A/zj/KP8w/zj/OP84/yD/KP8o/yj/KP9A/0j/OP8w/0D/OP9Q/1D/gP9w/4D/aP+A/4j/kP/A/7j/0P/I//D/+P8AABgAMABQAGgAiACQAKgAsACgALgAwADYAPAA6ADgAOgA4ADYAMgAyAC4AMAAwACoAJgAkABwAFgAUABQACgAMAAIABAA+P/g/8D/oP+I/3j/aP9o/2j/YP9A/zj/QP84/0D/UP9Y/1D/aP9o/2j/cP94/5D/kP+Y/7D/sP+4/7D/0P/4/wgAIABAAFgAWABoAIgAgACAAIgAkACQAJAAmACQAJAAiAB4AHAAcABoAFgAUAAwADgAMAAQAAgAAADg/9D/2P/Q/8D/yP+o/6D/iP+I/4j/gP+Q/3j/cP+A/5D/kP+I/5D/mP+o/6j/kP+w/9D/wP/o//D/+P8IABgAIAA4ADgAQABIAFAAUABQAGgAkABwAHAAcABoAHAAWABgAFAAOABAADAAIAAYADAAKAAgADAAIAAYAAAAAADo/wAA+P/4/+j/4P/A/7j/sP+Y/6D/sP+w/8D/wP/Q/9D/0P/Q/9D/2P/g//j/AAAgADAAQABAAGAAeACAAJgAwADAAOAAyADgAMAA6ADgANAA8ADoAAAB+AAIAdgAyADoAOgA2ADYAMgAwAC4AKgAqACQAHgAaABQAEAAKAAYAAgAAAAAAOD/uP+w/7D/oP+Y/5j/gP+A/3j/aP9w/3D/SP9g/2j/YP9g/2j/eP9w/3j/eP9w/3D/iP+Q/5D/mP+4/7j/wP/I/+j/6P/4/wAAAAAIABAAAAAIADAAOAAwAEgAQABIAFAASABQAGgAWABIAEgAUABYAFgAQAAoABgACAAQAPD/2P/Q/+D/yP/A/7j/uP/A/8D/sP+4/6j/oP+Y/4j/mP+Q/4D/gP+A/3j/iP+I/5j/oP+g/7D/yP/Y/+D/4P/g//D/+P8AAAAA6P8QAAAA+P8YABgACAAQACAAGAAYACAAKAA4AEgAUABYAGgAUAA4AEgASABAAEgAQAAoACgAMAAgABAAGAAwADAAIAAQACAAGAAwADgAKAAoADAAIAAYABgAIAAIABAACAAYAAAACAAoACgAMABAADgAUABIAFgAaABoAHgAeABwAGgAUABAADgAKAAwACAAGAAgABgACAAQACAAIAAgADAAQABAAFAAUABQAFAASABIADgAOAAwAEAAOABAACgAIAAgACgAKAAoADAAMAAYADAAMABAAEAAOABQAGgAaABwAIAAcABoAHAAYABIAFgAQABgAFAAcABwAHgAeABwAIAAiAB4AHAAaABoAEAAWABIACgAMAAgACAAAAAAAOj/6P/Q/+j/yP/A/7D/qP+g/4j/iP94/3D/aP9o/3D/OP8w/zj/GP8o/0D/MP9A/0D/OP8w/yj/OP9A/0j/UP9A/2D/WP9o/3j/gP9w/6D/mP+o/7j/qP+4/7D/2P/A/+D/yP/Q//D/6P/o/+D/AAD4/wgAKAAgADgAKAAgACgAMAAoACgACAAAABgAAAAIAAgACAAAAPD/AADw/9j/4P/Q/8j/0P+w/7j/sP+w/5j/iP9w/3D/YP9Y/1j/UP84/yj/IP9I/1j/WP9w/3D/cP+I/4j/eP+Q/4j/oP+w/6j/uP+4/7D/0P/Y//D/AAAIABAAIAAwAEAASABwAHgAcAB4AJAAmACIAIAAcABgAFAAYAAwADAAQAAgAAgACAD4//D/0P/Q/8D/qP+Y/4j/aP9w/2j/YP9A/yD/IP8I//D+GP8I/wj/AP8I/xD/KP9A/0j/UP9Y/3j/eP+Q/6j/yP/Q//D/AAAAADAAQABIAFAAaACIAJgAsAC4ANAA2ADgANAA2ADoAOgAyADQAMAAsACYAIgAgACIAIAAaABgAEgAKAAQAAAA+P/w/+D/wP+4/6D/mP+A/4D/UP9Q/0D/UP9A/xj/IP8g/yD/KP8g/zD/QP9A/0j/YP9w/4D/kP+Y/7D/wP/Q/+D/+P8AAAgAGAAoADgAUABQAGAAcACAAIgAiACIAJgAgACIAJAAiACYAJgAoACIAIgAkACIAHgAcABwAGAAWABAADgAKAAwACAAQAAoACAAKAAYACgAIAAwADAAKAAgADgAIAAgAEAAMABYAFgAaABoAGgAgACAAHAAaACAAHgAiABoAGgAeABgAGgAiABwAGgAQABAACAAIAAQAAAACAAIAAAA6P/Y/9D/4P/Y/8D/0P+4/7D/sP+o/5j/eP9w/0j/UP9I/0j/MP9Y/1j/aP+I/3j/kP+Y/5j/qP/A/8D/wP/Y//j/8P8QABAACAAgABAAEAAgADAAMABIAGAAYABYAFgAaABoAGgAaABoAFAAaABQAFgAUAAwADAAIAAgABAACAAYABAAAAAAAAgA+P8IAPj/CADw/+D/AAAAAAAAAAAYAAgAAAAAAAAAAAD4//j/AAAAAPj/8P/w//D/8P/w/wAACAAQAAAA8P/w//D/4P/w/+D/2P/o/8D/2P/g/7j/0P+w/8D/qP/A/7D/sP+o/7j/uP/I/8j/yP/Y/9j/0P/I/8j/4P/o//j/+P8QAAgAGAAYACAAEAAgAEAASABIAEgAUABgAGAAcABYAFgAaABQAEgAWABIAFgAWABgAFAASABQAEgAQABYAEgAUABYAEgAUAAwADAAOAAYABgAEAAAAPj/+P/4/+D/wP/A/7D/qP+w/6j/sP/Q/8j/2P/g/+D/AAAAAPj/+P8IAPD/AAAQAAgAAAAYABgACAAQABgAIAAgABgAGAAgACAAKAAwADAAKAAgABgAEAAYAAAA+P/o//D/2P/o/+D/0P/Q/9j/2P/I/+j/4P/w/9D/0P/A/7j/qP+w/5D/qP+Y/7D/sP+o/8D/yP/Y/+D/6P/4/wgAKAAwACgAOABAAEgASABAAEAAQAA4ACgAMABIAEgAUABwAGgAaABoAHgAaABoAGgAYABwAFAAWABQAEgASAA4ACgAOAAwABgAKAAAAAgAAAD4//j/6P/o//D/yP/I/9j/4P/g/9D/yP/I/8j/sP/I/8D/yP/Y/9D/4P/Y/+D/4P/Y//D/+P/g/wAACAAIAPD/EAAgADAAIAAQABAAGAAYABAAEAAwAEgAMAAwAEgAMAA4ACgAMAAgADAAKAAoABgACADw/+D/2P+4/8D/wP+g/5j/mP+o/6D/kP+Q/5j/qP+o/5j/qP+g/7D/qP+g/6D/qP+Y/6j/uP/A/8j/2P/Y/wAA8P/4/wAACAAYABgAIAAoABgAOAA4AEAAYAB4AHAAcABwAHgAeABQAGAAOAAgACgACAAQAAgACAAIAPj/4P/Y/+D/uP+w/7D/qP+Q/5j/kP94/2D/UP9A/1D/SP9I/2D/OP9A/0j/UP9Y/1D/UP9I/2D/aP94/4D/gP+Q/6D/oP+o/6D/qP/I/+D/4P/w/wAACAAQAAgAAAAgACAAMAAwAEAASABQAGgAYABoAHAAaACAAGAAaABQAEgASABAADAAMABAADgAMAAgABAAGAAQABgAIAAoABAAGAAoACAAGAAIAAAAAAAQAAAAAAAIAPD/AAAYAOj/AAAQABAAMAAoABgAMABAAEAAIAA4ADgAQABAACAAKAAYADgAKAA4AEgAOABIAFgAYABgAFgAcABwAIgAiACAAGAAaABwAHAAgABoAGAAeABIAGAAcABYAGgAUABIAFgAUABQAGAAWABgAGAAYABoAEgASABIADAAKAAwACgAIAAYABAACAAIAPj/6P/4/wAA+P/w/+j/AADo/+j/AADY//j/AADw//j/4P/Q/9j/2P/g/8D/uP/Q/8D/uP/I/8D/0P/Q/9D/wP+4/7D/mP+Y/5D/eP9w/2j/cP9g/2j/YP9Q/1j/WP9g/1j/cP94/4D/gP+A/4j/aP9g/2D/UP9o/2j/cP9Y/4D/gP94/4j/kP+Q/6D/sP+4/9j/4P8IAAAAAAAYABgAEAAQABgAKAAwACAAGAAgAEAAMAAwADgAKAAwADgAOAAYADAAGAAgABAAGAAAAAgAAADg/9D/yP/Y/9D/wP+4/8j/2P+4/7D/sP+4/8D/qP+Y/4j/cP9w/3D/cP9w/4j/kP+Y/6D/sP+w/7j/uP/Y/+D/4P8QAAgAIABAAEgAUABgAHAAeAB4AJAAmACoALAAuADAAMgAyADYAMAAuADAALAAoACYAJAAcABwAFAAQAAwABgAAAAQAOj/4P/Y/6D/oP+Y/4D/aP9g/1D/QP9I/1j/SP84/zD/SP9g/2j/cP+A/3j/iP+A/5j/kP+w/8D/4P/4//D/AAAQACAAUABAAFAAWACAAJAAiACIAIgAcAB4AGAAWABoAEgAUABIADAAMAAoACgAGAAQAPD/8P8AAPD/8P/Y/+D/+P/Q/8D/yP+w/7D/sP+w/6j/oP+g/5D/iP+I/5j/qP+o/6j/wP/Y/+D/8P8IACAAMAAoAEAAUABYAGAAcACIAKAAoACIAKgAsACwAKgAqACgALgAsACoAKgAsACgAJgAmACAAIgAYABQAFAASABgAEgASAAoADAAKAAYAAAAEAAYABAAAAAAAAAAAAAQAAgAAAAQAAgAAAAYACgAIAA4AEAAWABoAHAAeACIAIAAiACAAIAAcACAAIgAiACIAIgAeACAAHAAeABoAHgAeABIAEgAKAAoADgAMAAwADAAMAAYAAAAAADo/+j/+P/w//j/8P/g/+j/0P/I/7j/wP/A/7j/sP+w/7D/uP+w/5j/sP+o/7D/sP/A/8j/wP/I/+D/2P/g/+j/0P+4/9D/yP/Q/7j/uP/I/8D/wP+o/5j/gP94/2D/cP9w/4D/aP9w/1j/WP9g/0j/UP9Y/1D/QP9Q/zj/QP8o/zj/QP8w/0D/MP9I/1j/WP9o/2j/YP+A/2j/eP94/2D/aP94/3D/cP+Y/6D/sP+o/8D/uP+4/7j/sP/A/8D/uP+4/5j/uP+g/5j/mP+g/5j/kP+A/5D/iP+g/5j/sP+Y/4j/mP+g/5D/qP+Y/5D/mP+Y/4j/sP+o/7D/wP/Q/9D/0P8AAAgAAAAAACgAMAAwADgAWABYAFAAaABgAGAAUABgAFgA" preload="auto"></audio><div class="toast" ng-repeat="toast in toasty" ng-class="[toast.type, toast.interact, toast.shake, toast.theme]" ng-click="clickToasty(toast)"><div ng-click="close(toast.id)" class="close-button" ng-if="toast.showClose"></div><div ng-if="toast.title || toast.msg" class="toast-text"><span class="toast-title" ng-if="!toast.html && toast.title" ng-bind="toast.title"></span><span class="toast-title" ng-if="toast.html && toast.title" ng-bind-html="toast.title"></span><br ng-if="toast.title && toast.msg" /><span class="toast-msg" ng-if="!toast.html && toast.msg" ng-bind="toast.msg"></span><span class="toast-msg" ng-if="toast.html && toast.msg" ng-bind-html="toast.msg"></span><div layout="row"><span ng-if="toast.onAccept" class="md-button md-raised md-accent" ng-click="toast.onAccept()">ACCEPT</span><span ng-if="toast.onReject" class="md-button md-raised md-warn" ng-click="toast.onReject()">REJECT</span></div></div></div></div>'}}]),angular.module("angular-toasty").provider("toastyConfig",function(){var e={limit:5,showClose:!0,clickToClose:!1,position:"bottom-right",timeout:5e3,sound:!0,html:!1,shake:!1,theme:"default"},t={};return{setConfig:function(e){t=e},$get:function(){return{config:angular.extend(e,t)}}}}),angular.module("angular-toasty").factory("toasty",["$rootScope","toastyConfig",function(n,e){var r=e.config,t=function(e,t){(angular.isString(e)&&""!=e||angular.isNumber(e))&&(e={title:e.toString()}),e&&(e.title||e.msg)?(e.type=t||"default",n.$broadcast("toasty-new",{config:r,options:e})):console.error("angular-toasty: No toast title or message specified!")};return t.default=function(e){t(e)},t.info=function(e){t(e,"info")},t.wait=function(e){t(e,"wait")},t.success=function(e){t(e,"success")},t.error=function(e){t(e,"error")},t.warning=function(e){t(e,"warning")},t.clear=function(e){n.$broadcast("toasty-clear",{id:e})},t.getGlobalConfig=function(){return r},t}]),function(e,n,s){"use strict";var a=n.isDefined,p=n.isUndefined,c=n.isFunction,l=n.isString,u=n.isNumber,m=n.isObject,f=n.isArray,g=n.forEach,o=n.extend,d=n.copy,h=n.equals;function _(t){return f(t)?t:Object.keys(t).map(function(e){return t[e]})}function b(e){return null===e}function r(t,n){return-1==Object.keys(t).map(function(e){return n[e]!==s&&n[e]==t[e]}).indexOf(!1)}function v(e,t){function n(e,t,n){for(var r=0;t+r<=e.length;){if(e.charAt(t+r)==n)return r;r++}return-1}for(var r=0,i=0;i<=t.length;i++){var a=n(e,r,t.charAt(i));if(-1==a)return!1;r+=a+1}return!0}function y(e,n,r){var i=0;return e.filter(function(e){var t=a(r)?i<n&&r(e):i<n;return i=t?i+1:i,t})}function i(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function w(e){return e&&e.$evalAsync&&e.$watch}function t(){return function(e,t){return t<e}}function C(){return function(e,t){return t<=e}}function A(){return function(e,t){return e<t}}function S(){return function(e,t){return e<=t}}function T(){return function(e,t){return e==t}}function x(){return function(e,t){return e!=t}}function k(){return function(e,t){return e===t}}function E(){return function(e,t){return e!==t}}function D(n){return function(e,t){return e=m(e)?_(e):e,!(!f(e)||p(t))&&e.some(function(e){return l(t)&&m(e)||c(t)?n(t)(e):e===t})}}function I(i){return function(e,t){if(e=m(e)?_(e):e,!f(e))return e;var n=[],r=i(t);return p(t)?e.filter(function(e,t,n){return n.indexOf(e)===t}):e.filter(function(e){var t=r(e);return!function(e,t){if(p(t))return!1;return e.some(function(e){return h(e,t)})}(n,t)&&(n.push(t),!0)})}}function P(){return function(e){return l(e)?e.split(" ").map(function(e){return e.charAt(0).toUpperCase()+e.substring(1)}).join(" "):e}}String.prototype.contains||(String.prototype.contains=function(){return-1!==String.prototype.indexOf.apply(this,arguments)}),n.module("a8m.angular",[]).filter("isUndefined",function(){return function(e){return n.isUndefined(e)}}).filter("isDefined",function(){return function(e){return n.isDefined(e)}}).filter("isFunction",function(){return function(e){return n.isFunction(e)}}).filter("isString",function(){return function(e){return n.isString(e)}}).filter("isNumber",function(){return function(e){return n.isNumber(e)}}).filter("isArray",function(){return function(e){return n.isArray(e)}}).filter("isObject",function(){return function(e){return n.isObject(e)}}).filter("isEqual",function(){return function(e,t){return n.equals(e,t)}}),n.module("a8m.conditions",[]).filter({isGreaterThan:t,">":t,isGreaterThanOrEqualTo:C,">=":C,isLessThan:A,"<":A,isLessThanOrEqualTo:S,"<=":S,isEqualTo:T,"==":T,isNotEqualTo:x,"!=":x,isIdenticalTo:k,"===":k,isNotIdenticalTo:E,"!==":E}),n.module("a8m.is-null",[]).filter("isNull",function(){return function(e){return b(e)}}),n.module("a8m.after-where",[]).filter("afterWhere",function(){return function(e,t){if(e=m(e)?_(e):e,!f(e)||p(t))return e;var n=e.map(function(e){return r(t,e)}).indexOf(!0);return e.slice(-1===n?0:n)}}),n.module("a8m.after",[]).filter("after",function(){return function(e,t){return e=m(e)?_(e):e,f(e)?e.slice(t):e}}),n.module("a8m.before-where",[]).filter("beforeWhere",function(){return function(e,t){if(e=m(e)?_(e):e,!f(e)||p(t))return e;var n=e.map(function(e){return r(t,e)}).indexOf(!0);return e.slice(0,-1===n?e.length:++n)}}),n.module("a8m.before",[]).filter("before",function(){return function(e,t){return e=m(e)?_(e):e,f(e)?e.slice(0,t?--t:t):e}}),n.module("a8m.chunk-by",["a8m.filter-watcher"]).filter("chunkBy",["filterWatcher",function(o){return function(e,t,n){return o.isMemoized("chunkBy",arguments)||o.memoize("chunkBy",arguments,this,(i=t,a=n,f(r=e)?r.map(function(e,t,n){return t*=i,e=n.slice(t,t+i),!p(a)&&e.length<i?e.concat(function(e,t){for(var n=[];e--;)n[e]=t;return n}(i-e.length,a)):e}).slice(0,Math.ceil(r.length/i)):r));var r,i,a}}]),n.module("a8m.concat",[]).filter("concat",[function(){return function(e,t){if(p(t))return e;if(f(e))return m(t)?e.concat(_(t)):e.concat(t);if(m(e)){var n=_(e);return m(t)?n.concat(_(t)):n.concat(t)}return e}}]),n.module("a8m.contains",[]).filter({contains:["$parse",D],some:["$parse",D]}),n.module("a8m.count-by",[]).filter("countBy",["$parse",function(a){return function(e,t){var n,r={},i=a(t);return e=m(e)?_(e):e,!f(e)||p(t)?e:(e.forEach(function(e){n=i(e),r[n]||(r[n]=0),r[n]++}),r)}}]),n.module("a8m.defaults",[]).filter("defaults",["$parse",function(a){return function(e,i){if(e=m(e)?_(e):e,!f(e)||!m(i))return e;var t=function r(i,a,o){return a=a||[],Object.keys(i).forEach(function(e){if(m(i[e])&&!f(i[e])){var t=o?o+"."+e:o;r(i[e],a,t||e)}else{var n=o?o+"."+e:e;a.push(n)}}),a}(i);return e.forEach(function(r){t.forEach(function(e){var t=a(e),n=t.assign;p(t(r))&&n(r,t(i))})}),e}}]),n.module("a8m.every",[]).filter("every",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!(f(e)&&!p(t))||e.every(function(e){return m(e)||c(t)?n(t)(e):e===t})}}]),n.module("a8m.filter-by",[]).filter("filterBy",["$parse",function(o){return function(e,t,r,i){var a;return r=l(r)||u(r)?String(r).toLowerCase():s,e=m(e)?_(e):e,!f(e)||p(r)?e:e.filter(function(n){return t.some(function(e){if(~e.indexOf("+")){var t=e.replace(/\s+/g,"").split("+");a=t.map(function(e){return o(e)(n)}).join(" ")}else a=o(e)(n);return!(!l(a)&&!u(a))&&(a=String(a).toLowerCase(),i?a===r:a.contains(r))})})}}]),n.module("a8m.first",[]).filter("first",["$parse",function(i){return function(e){var t,n,r;return e=m(e)?_(e):e,f(e)?(r=Array.prototype.slice.call(arguments,1),t=u(r[0])?r[0]:1,n=u(r[0])?u(r[1])?s:r[1]:r[0],r.length?y(e,t,n?i(n):n):e[0]):e}}]),n.module("a8m.flatten",[]).filter("flatten",function(){return function(e,t){return t=t||!1,e=m(e)?_(e):e,f(e)?t?[].concat.apply([],e):function e(t,n){n=n||0;if(n>=t.length)return t;if(f(t[n]))return e(t.slice(0,n).concat(t[n],t.slice(n+1)),n);return e(t,n+1)}(e,0):e}}),n.module("a8m.fuzzy-by",[]).filter("fuzzyBy",["$parse",function(s){return function(e,t,n,r){var i,a,o=r||!1;return e=m(e)?_(e):e,!f(e)||p(t)||p(n)?e:(a=s(t),e.filter(function(e){return i=a(e),!!l(i)&&(i=o?i:i.toLowerCase(),n=o?n:n.toLowerCase(),!1!==v(i,n))}))}}]),n.module("a8m.fuzzy",[]).filter("fuzzy",function(){return function(e,a,t){var o=t||!1;return e=m(e)?_(e):e,!f(e)||p(a)?e:(a=o?a:a.toLowerCase(),e.filter(function(e){return l(e)?!1!==v(e=o?e:e.toLowerCase(),a):!!m(e)&&(t=e,n=a,0<Object.keys(t).filter(function(e){return r=t[e],!!i||!!l(r)&&(r=o?r:r.toLowerCase(),i=!1!==v(r,n))}).length);var t,n,r,i}))}}),n.module("a8m.group-by",["a8m.filter-watcher"]).filter("groupBy",["$parse","filterWatcher",function(o,s){return function(e,t){return!m(e)||p(t)?e:s.isMemoized("groupBy",arguments)||s.memoize("groupBy",arguments,this,(n=e,r=o(t),a={},g(n,function(e){i=r(e),a[i]||(a[i]=[]),a[i].push(e)}),a));var n,r,i,a}}]),n.module("a8m.is-empty",[]).filter("isEmpty",function(){return function(e){return m(e)?!_(e).length:!e.length}}),n.module("a8m.join",[]).filter("join",function(){return function(e,t){return p(e)||!f(e)?e:(p(t)&&(t=" "),e.join(t))}}),n.module("a8m.last",[]).filter("last",["$parse",function(a){return function(e){var t,n,r,i=d(e);return i=m(i)?_(i):i,f(i)?(r=Array.prototype.slice.call(arguments,1),t=u(r[0])?r[0]:1,n=u(r[0])?u(r[1])?s:r[1]:r[0],r.length?y(i.reverse(),t,n?a(n):n).reverse():i[i.length-1]):i}}]),n.module("a8m.map",[]).filter("map",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!f(e)||p(t)?e:e.map(function(e){return n(t)(e)})}}]),n.module("a8m.omit",[]).filter("omit",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!f(e)||p(t)?e:e.filter(function(e){return!n(t)(e)})}}]),n.module("a8m.pick",[]).filter("pick",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!f(e)||p(t)?e:e.filter(function(e){return n(t)(e)})}}]),n.module("a8m.range",[]).filter("range",function(){return function(e,t,n,r,i){n=n||0,r=r||1;for(var a=0;a<parseInt(t);a++){var o=n+a*r;e.push(c(i)?i(o):o)}return e}}),n.module("a8m.remove-with",[]).filter("removeWith",function(){return function(e,t){return p(t)?e:(e=m(e)?_(e):e).filter(function(e){return!r(t,e)})}}),n.module("a8m.remove",[]).filter("remove",function(){return function(e){e=m(e)?_(e):e;var n=Array.prototype.slice.call(arguments,1);return f(e)?e.filter(function(t){return!n.some(function(e){return h(e,t)})}):e}}),n.module("a8m.reverse",[]).filter("reverse",[function(){return function(e){return e=m(e)?_(e):e,l(e)?e.split("").reverse().join(""):f(e)?e.slice().reverse():e}}]),n.module("a8m.search-field",[]).filter("searchField",["$parse",function(i){return function(e){var n;e=m(e)?_(e):e;var r=Array.prototype.slice.call(arguments,1);return f(e)&&r.length?e.map(function(t){return n=r.map(function(e){return i(e)(t)}).join(" "),o(t,{searchField:n})}):e}}]),n.module("a8m.to-array",[]).filter("toArray",function(){return function(t,e){return m(t)?e?Object.keys(t).map(function(e){return o(t[e],{$key:e})}):_(t):t}}),n.module("a8m.unique",[]).filter({unique:["$parse",I],uniq:["$parse",I]}),n.module("a8m.where",[]).filter("where",function(){return function(e,t){return p(t)?e:(e=m(e)?_(e):e).filter(function(e){return r(t,e)})}}),n.module("a8m.xor",[]).filter("xor",["$parse",function(a){return function(t,n,r){return r=r||!1,t=m(t)?_(t):t,n=m(n)?_(n):n,f(t)&&f(n)?t.concat(n).filter(function(e){return!(i(e,t)&&i(e,n))}):t;function i(t,e){var n=a(r);return e.some(function(e){return r?h(n(e),n(t)):h(e,t)})}}}]),n.module("a8m.math.abs",[]).filter("abs",function(){return function(e){return Math.abs(e)}}),n.module("a8m.math.byteFmt",[]).filter("byteFmt",function(){var r=[{str:"B",val:1024}];return["KB","MB","GB","TB","PB","EB","ZB","YB"].forEach(function(e,t){r.push({str:e,val:1024*r[t].val})}),function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){for(var n=0;n<r.length-1&&e>=r[n].val;)n++;return i(e/=0<n?r[n-1].val:1,t)+" "+r[n].str}return"NaN"}}),n.module("a8m.math.degrees",[]).filter("degrees",function(){return function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){var n=180*e/Math.PI;return Math.round(n*Math.pow(10,t))/Math.pow(10,t)}return"NaN"}}),n.module("a8m.math.kbFmt",[]).filter("kbFmt",function(){var r=[{str:"KB",val:1024}];return["MB","GB","TB","PB","EB","ZB","YB"].forEach(function(e,t){r.push({str:e,val:1024*r[t].val})}),function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){for(var n=0;n<r.length-1&&e>=r[n].val;)n++;return i(e/=0<n?r[n-1].val:1,t)+" "+r[n].str}return"NaN"}}),n.module("a8m.math.max",[]).filter("max",["$parse",function(a){return function(e,t){return f(e)?p(t)?Math.max.apply(Math,e):e[(n=e,r=t,i=n.map(function(e){return a(r)(e)}),i.indexOf(Math.max.apply(Math,i)))]:e;var n,r,i}}]),n.module("a8m.math.min",[]).filter("min",["$parse",function(a){return function(e,t){return f(e)?p(t)?Math.min.apply(Math,e):e[(n=e,r=t,i=n.map(function(e){return a(r)(e)}),i.indexOf(Math.min.apply(Math,i)))]:e;var n,r,i}}]),n.module("a8m.math.percent",[]).filter("percent",function(){return function(e,t,n){var r=l(e)?Number(e):e;return t=t||100,n=n||!1,!u(r)||isNaN(r)?e:n?Math.round(r/t*100):r/t*100}}),n.module("a8m.math.radians",[]).filter("radians",function(){return function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){var n=3.14159265359*e/180;return Math.round(n*Math.pow(10,t))/Math.pow(10,t)}return"NaN"}}),n.module("a8m.math.radix",[]).filter("radix",function(){return function(e,t){return u(e)&&/^[2-9]$|^[1-2]\d$|^3[0-6]$/.test(t)?e.toString(t).toUpperCase():e}}),n.module("a8m.math.shortFmt",[]).filter("shortFmt",function(){return function(e,t){return u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)?e<1e3?""+e:e<1e6?i(e/1e3,t)+" K":e<1e9?i(e/1e6,t)+" M":i(e/1e9,t)+" B":"NaN"}}),n.module("a8m.math.sum",[]).filter("sum",function(){return function(e,t){return f(e)?e.reduce(function(e,t){return e+t},t||0):e}}),n.module("a8m.ends-with",[]).filter("endsWith",function(){return function(e,t,n){var r,i=n||!1;return!l(e)||p(t)?e:(r=(e=i?e:e.toLowerCase()).length-t.length,-1!==e.indexOf(i?t:t.toLowerCase(),r))}}),n.module("a8m.latinize",[]).filter("latinize",[function(){for(var e=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"OE",letters:"\8cŒ"},{base:"oe",letters:"\9cœ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],t={},n=0;n<e.length;n++)for(var r=e[n].letters.split(""),i=0;i<r.length;i++)t[r[i]]=e[n].base;return function(e){return l(e)?e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e}):e}}]),n.module("a8m.ltrim",[]).filter("ltrim",function(){return function(e,t){var n=t||"\\s";return l(e)?e.replace(new RegExp("^"+n+"+"),""):e}}),n.module("a8m.match",[]).filter("match",function(){return function(e,t,n){var r=new RegExp(t,n);return l(e)?e.match(r):null}}),n.module("a8m.phoneUS",[]).filter("phoneUS",function(){return function(e){return"("+(e+="").slice(0,3)+") "+e.slice(3,6)+"-"+e.slice(6)}}),n.module("a8m.repeat",[]).filter("repeat",[function(){return function(e,t,n){var r=~~t;return l(e)&&r?function e(t,n,r){if(!n)return t;return t+r+e(t,--n,r)}(e,--t,n||""):e}}]),n.module("a8m.rtrim",[]).filter("rtrim",function(){return function(e,t){var n=t||"\\s";return l(e)?e.replace(new RegExp(n+"+$"),""):e}}),n.module("a8m.slugify",[]).filter("slugify",[function(){return function(e,t){var n=p(t)?"-":t;return l(e)?e.toLowerCase().replace(/\s+/g,n):e}}]),n.module("a8m.split",[]).filter("split",function(){return function(e,t,n){var r,i,a,o;return p(e)||!l(e)?null:(p(t)&&(t=""),isNaN(n)&&(n=0),r=new RegExp(t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),"g"),b(i=e.match(r))||n>=i.length?[e]:0===n?e.split(t):(o=(a=e.split(t)).splice(0,n+1),a.unshift(o.join(t)),a))}}),n.module("a8m.starts-with",[]).filter("startsWith",function(){return function(e,t,n){var r=n||!1;return!l(e)||p(t)?e:!(e=r?e:e.toLowerCase()).indexOf(r?t:t.toLowerCase())}}),n.module("a8m.stringular",[]).filter("stringular",function(){return function(e){var n=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return p(n[t])?e:n[t]})}}),n.module("a8m.strip-tags",[]).filter("stripTags",function(){return function(e){return l(e)?e.replace(/<\S[^><]*>/g,""):e}}),n.module("a8m.test",[]).filter("test",function(){return function(e,t,n){var r=new RegExp(t,n);return l(e)?r.test(e):e}}),n.module("a8m.trim",[]).filter("trim",function(){return function(e,t){var n=t||"\\s";return l(e)?e.replace(new RegExp("^"+n+"+|"+n+"+$","g"),""):e}}),n.module("a8m.truncate",[]).filter("truncate",function(){return function(e,t,n,r){return t=p(t)?e.length:t,r=r||!1,n=n||"",!l(e)||e.length<=t?e:e.substring(0,r?-1===e.indexOf(" ",t)?e.length:e.indexOf(" ",t):t)+n}}),n.module("a8m.ucfirst",[]).filter({ucfirst:P,titleize:P}),n.module("a8m.uri-component-encode",[]).filter("uriComponentEncode",["$window",function(t){return function(e){return l(e)?t.encodeURIComponent(e):e}}]),n.module("a8m.uri-encode",[]).filter("uriEncode",["$window",function(t){return function(e){return l(e)?t.encodeURI(e):e}}]),n.module("a8m.wrap",[]).filter("wrap",function(){return function(e,t,n){return l(e)&&a(t)?[t,e,n||t].join(""):e}}),n.module("a8m.filter-watcher",[]).provider("filterWatcher",function(){this.$get=["$window","$rootScope",function(r,c){var l={},u={},f=r.setTimeout;function d(e,t){return[e,JSON.stringify(t,(n=[],function(e,t){if(m(t)&&!b(t)){if(~n.indexOf(t))return"[Circular]";n.push(t)}return r==t?"$WINDOW":r.document==t?"$DOCUMENT":w(t)?"$SCOPE":t}))].join("#").replace(/"/g,"");var n}function h(e){var t=e.targetScope.$id;g(u[t],function(e){delete l[e]}),delete u[t]}return{isMemoized:function(e,t){var n=d(e,t);return l[n]},memoize:function(e,t,n,r){var i,a,o,s=d(e,t);return l[s]=r,w(n)?(a=s,o=(i=n).$id,p(u[o])&&(i.$on("$destroy",h),u[o]=[]),u[o].push(a)):f(function(){c.$$phase||(l={})},2e3),r}}}]}),n.module("angular.filter",["a8m.ucfirst","a8m.uri-encode","a8m.uri-component-encode","a8m.slugify","a8m.latinize","a8m.strip-tags","a8m.stringular","a8m.truncate","a8m.starts-with","a8m.ends-with","a8m.wrap","a8m.trim","a8m.ltrim","a8m.rtrim","a8m.repeat","a8m.test","a8m.match","a8m.split","a8m.phoneUS","a8m.to-array","a8m.concat","a8m.contains","a8m.unique","a8m.is-empty","a8m.after","a8m.after-where","a8m.before","a8m.before-where","a8m.defaults","a8m.where","a8m.reverse","a8m.remove","a8m.remove-with","a8m.group-by","a8m.count-by","a8m.chunk-by","a8m.search-field","a8m.fuzzy-by","a8m.fuzzy","a8m.omit","a8m.pick","a8m.every","a8m.filter-by","a8m.xor","a8m.map","a8m.first","a8m.last","a8m.flatten","a8m.join","a8m.range","a8m.math.max","a8m.math.min","a8m.math.abs","a8m.math.percent","a8m.math.radix","a8m.math.sum","a8m.math.degrees","a8m.math.radians","a8m.math.byteFmt","a8m.math.kbFmt","a8m.math.shortFmt","a8m.angular","a8m.conditions","a8m.is-null","a8m.filter-watcher"])}(window,window.angular),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof module&&"undefined"!=typeof exports?module.exports=t():e.Papa=t()}(this,function(){"use strict";var a,e,u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==u?u:{},i=!u.document&&!!u.postMessage,s=i&&/(\?|&)papaworker(=|&|$)/.test(u.location.search),o=!1,c={},l=0,y={parse:function(e,t){var n=(t=t||{}).dynamicTyping||!1;L(n)&&(t.dynamicTypingFunction=n,n={});if(t.dynamicTyping=n,t.transform=!!L(t.transform)&&t.transform,t.worker&&y.WORKERS_SUPPORTED){var r=function(){if(!y.WORKERS_SUPPORTED)return!1;if(!o&&null===y.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var e=y.SCRIPT_PATH||a;e+=(-1!==e.indexOf("?")?"&":"?")+"papaworker";var t=new u.Worker(e);return t.onmessage=b,t.id=l++,c[t.id]=t}();return r.userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=L(t.step),t.chunk=L(t.chunk),t.complete=L(t.complete),t.error=L(t.error),delete t.worker,void r.postMessage({input:e,config:t,workerId:r.id})}var i=null;{if(e===y.NODE_STREAM_INPUT&&"undefined"==typeof PAPA_BROWSER_CONTEXT)return(i=new _(t)).getStream();"string"==typeof e?i=t.download?new h(t):new m(t):!0===e.readable&&L(e.read)&&L(e.on)?i=new g(t):(u.File&&e instanceof File||e instanceof Object)&&(i=new p(t))}return i.stream(e)},unparse:function(e,t){var r=!1,g=!0,_=",",b="\r\n",i='"',n=!1;!function(){if("object"!=typeof t)return;"string"!=typeof t.delimiter||y.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(_=t.delimiter);("boolean"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes);"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(n=t.skipEmptyLines);"string"==typeof t.newline&&(b=t.newline);"string"==typeof t.quoteChar&&(i=t.quoteChar);"boolean"==typeof t.header&&(g=t.header)}();var a=new RegExp(N(i),"g");"string"==typeof e&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return s(null,e,n);if("object"==typeof e[0])return s(o(e[0]),e,n)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:o(e.data[0])),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),s(e.fields||[],e.data||[],n);throw"exception: Unable to serialize unrecognized input";function o(e){if("object"!=typeof e)return[];var t=[];for(var n in e)t.push(n);return t}function s(e,t,n){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var i=Array.isArray(e)&&0<e.length,a=!Array.isArray(t[0]);if(i&&g){for(var o=0;o<e.length;o++)0<o&&(r+=_),r+=v(e[o],o);0<t.length&&(r+=b)}for(var s=0;s<t.length;s++){var c=i?e.length:t[s].length,l=!1,u=i?0===Object.keys(t[s]).length:0===t[s].length;if(n&&!i&&(l="greedy"===n?""===t[s].join("").trim():1===t[s].length&&0===t[s][0].length),"greedy"===n&&i){for(var f=[],d=0;d<c;d++){var h=a?e[d]:d;f.push(t[s][h])}l=""===f.join("").trim()}if(!l){for(var p=0;p<c;p++){0<p&&!u&&(r+=_);var m=i&&a?e[p]:p;r+=v(t[s][m],p)}s<t.length-1&&(!n||0<c&&!u)&&(r+=b)}}return r}function v(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);e=e.toString().replace(a,i+i);var n="boolean"==typeof r&&r||Array.isArray(r)&&r[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(e,y.BAD_DELIMITERS)||-1<e.indexOf(_)||" "===e.charAt(0)||" "===e.charAt(e.length-1);return n?i+e+i:e}}};if(y.RECORD_SEP=String.fromCharCode(30),y.UNIT_SEP=String.fromCharCode(31),y.BYTE_ORDER_MARK="\ufeff",y.BAD_DELIMITERS=["\r","\n",'"',y.BYTE_ORDER_MARK],y.WORKERS_SUPPORTED=!i&&!!u.Worker,y.SCRIPT_PATH=null,y.NODE_STREAM_INPUT=1,y.LocalChunkSize=10485760,y.RemoteChunkSize=5242880,y.DefaultDelimiter=",",y.Parser=v,y.ParserHandle=n,y.NetworkStreamer=h,y.FileStreamer=p,y.StringStreamer=m,y.ReadableStreamStreamer=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&(y.DuplexStreamStreamer=_),u.jQuery){var f=u.jQuery;f.fn.parse=function(s){var n=s.config||{},c=[];return this.each(function(e){if(!("INPUT"===f(this).prop("tagName").toUpperCase()&&"file"===f(this).attr("type").toLowerCase()&&u.FileReader)||!this.files||0===this.files.length)return!0;for(var t=0;t<this.files.length;t++)c.push({file:this.files[t],inputElem:this,instanceConfig:f.extend({},n)})}),e(),this;function e(){if(0!==c.length){var e,t,n,r,i=c[0];if(L(s.before)){var a=s.before(i.file,i.inputElem);if("object"==typeof a){if("abort"===a.action)return e="AbortError",t=i.file,n=i.inputElem,r=a.reason,void(L(s.error)&&s.error({name:e},t,n,r));if("skip"===a.action)return void l();"object"==typeof a.config&&(i.instanceConfig=f.extend(i.instanceConfig,a.config))}else if("skip"===a)return void l()}var o=i.instanceConfig.complete;i.instanceConfig.complete=function(e){L(o)&&o(e,i.file,i.inputElem),l()},y.parse(i.file,i.instanceConfig)}else L(s.complete)&&s.complete()}function l(){c.splice(0,1),e()}}}function d(e){this._handle=null,this._finished=!1,this._completed=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=A(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=new n(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&L(this._config.beforeFirstChunk)){var n=this._config.beforeFirstChunk(e);void 0!==n&&(e=n)}this.isFirstChunk=!1;var r=this._partialLine+e;this._partialLine="";var i=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var a=i.meta.cursor;this._finished||(this._partialLine=r.substring(a-this._baseIndex),this._baseIndex=a),i&&i.data&&(this._rowCount+=i.data.length);var o=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(s)u.postMessage({results:i,workerId:y.WORKER_ID,finished:o});else if(L(this._config.chunk)&&!t){if(this._config.chunk(i,this._handle),this._handle.paused()||this._handle.aborted())return;i=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(i.data),this._completeResults.errors=this._completeResults.errors.concat(i.errors),this._completeResults.meta=i.meta),this._completed||!o||!L(this._config.complete)||i&&i.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),o||i&&i.meta.paused||this._nextChunk(),i}},this._sendError=function(e){L(this._config.error)?this._config.error(e):s&&this._config.error&&u.postMessage({workerId:y.WORKER_ID,error:e,finished:!1})}}function h(e){var r;(e=e||{}).chunkSize||(e.chunkSize=y.RemoteChunkSize),d.call(this,e),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),i||(r.onload=S(this._chunkLoaded,this),r.onerror=S(this._chunkError,this)),r.open("GET",this._input,!i),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var t in e)r.setRequestHeader(t,e[t])}if(this._config.chunkSize){var n=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+n),r.setRequestHeader("If-None-Match","webkit-no-cache")}try{r.send()}catch(e){this._chunkError(e.message)}i&&0===r.status?this._chunkError():this._start+=this._config.chunkSize}},this._chunkLoaded=function(){var e;4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._finished=!this._config.chunkSize||this._start>(null!==(e=r.getResponseHeader("Content-Range"))?parseInt(e.substr(e.lastIndexOf("/")+1)):-1),this.parseChunk(r.responseText)))},this._chunkError=function(e){var t=r.statusText||e;this._sendError(new Error(t))}}function p(e){var r,i;(e=e||{}).chunkSize||(e.chunkSize=y.LocalChunkSize),d.call(this,e);var a="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,i=e.slice||e.webkitSlice||e.mozSlice,a?((r=new FileReader).onload=S(this._chunkLoaded,this),r.onerror=S(this._chunkError,this)):r=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var t=Math.min(this._start+this._config.chunkSize,this._input.size);e=i.call(e,this._start,t)}var n=r.readAsText(e,this._config.encoding);a||this._chunkLoaded({target:{result:n}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(r.error)}}function m(e){var n;d.call(this,e=e||{}),this.stream=function(e){return n=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?n.substr(0,e):n;return n=e?n.substr(e):"",this._finished=!n,this.parseChunk(t)}}}function g(e){d.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=S(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=S(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=S(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=S(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function _(e){var t=require("stream").Duplex,n=A(e),r=!0,i=!1,a=[],o=null;this._onCsvData=function(e){for(var t=e.data,n=0;n<t.length;n++)o.push(t[n])||this._handle.paused()||this._handle.pause()},this._onCsvComplete=function(){o.push(null)},n.step=S(this._onCsvData,this),n.complete=S(this._onCsvComplete,this),d.call(this,n),this._nextChunk=function(){i&&1===a.length&&(this._finished=!0),a.length?a.shift()():r=!0},this._addToParseQueue=function(e,t){a.push(S(function(){if(this.parseChunk("string"==typeof e?e:e.toString(n.encoding)),L(t))return t()},this)),r&&(r=!1,this._nextChunk())},this._onRead=function(){this._handle.paused()&&this._handle.resume()},this._onWrite=function(e,t,n){this._addToParseQueue(e,n)},this._onWriteComplete=function(){i=!0,this._addToParseQueue("")},this.getStream=function(){return o},(o=new t({readableObjectMode:!0,decodeStrings:!1,read:S(this._onRead,this),write:S(this._onWrite,this)})).once("finish",S(this._onWriteComplete,this))}function n(g){var o,s,c,r=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,i=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,t=this,n=0,a=0,l=!1,e=!1,u=[],f={data:[],errors:[],meta:{}};if(L(g.step)){var d=g.step;g.step=function(e){if(f=e,p())h();else{if(h(),0===f.data.length)return;n+=e.data.length,g.preview&&n>g.preview?s.abort():d(f,t)}}}function _(e){return"greedy"===g.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function h(){if(f&&c&&(b("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+y.DefaultDelimiter+"'"),c=!1),g.skipEmptyLines)for(var e=0;e<f.data.length;e++)_(f.data[e])&&f.data.splice(e--,1);return p()&&function(){if(!f)return;for(var e=0;p()&&e<f.data.length;e++)for(var t=0;t<f.data[e].length;t++){var n=f.data[e][t];g.trimHeaders&&(n=n.trim()),u.push(n)}f.data.splice(0,1)}(),function(){if(!f||!g.header&&!g.dynamicTyping&&!g.transform)return f;for(var e=0;e<f.data.length;e++){var t,n=g.header?{}:[];for(t=0;t<f.data[e].length;t++){var r=t,i=f.data[e][t];g.header&&(r=t>=u.length?"__parsed_extra":u[t]),g.transform&&(i=g.transform(i,r)),i=m(r,i),"__parsed_extra"===r?(n[r]=n[r]||[],n[r].push(i)):n[r]=i}f.data[e]=n,g.header&&(t>u.length?b("FieldMismatch","TooManyFields","Too many fields: expected "+u.length+" fields but parsed "+t,a+e):t<u.length&&b("FieldMismatch","TooFewFields","Too few fields: expected "+u.length+" fields but parsed "+t,a+e))}g.header&&f.meta&&(f.meta.fields=u);return a+=f.data.length,f}()}function p(){return g.header&&0===u.length}function m(e,t){return n=e,g.dynamicTypingFunction&&void 0===g.dynamicTyping[n]&&(g.dynamicTyping[n]=g.dynamicTypingFunction(n)),!0===(g.dynamicTyping[n]||g.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(r.test(t)?parseFloat(t):i.test(t)?new Date(t):""===t?null:t):t;var n}function b(e,t,n,r){f.errors.push({type:e,code:t,message:n,row:r})}this.parse=function(e,t,n){var r=g.quoteChar||'"';if(g.newline||(g.newline=function(e,t){e=e.substr(0,1048576);var n=new RegExp(N(t)+"([^]*?)"+N(t),"gm"),r=(e=e.replace(n,"")).split("\r"),i=e.split("\n"),a=1<i.length&&i[0].length<r[0].length;if(1===r.length||a)return"\n";for(var o=0,s=0;s<r.length;s++)"\n"===r[s][0]&&o++;return o>=r.length/2?"\r\n":"\r"}(e,r)),c=!1,g.delimiter)L(g.delimiter)&&(g.delimiter=g.delimiter(e),f.meta.delimiter=g.delimiter);else{var i=function(e,t,n,r){for(var i,a,o,s=[",","\t","|",";",y.RECORD_SEP,y.UNIT_SEP],c=0;c<s.length;c++){var l=s[c],u=0,f=0,d=0;o=void 0;for(var h=new v({comments:r,delimiter:l,newline:t,preview:10}).parse(e),p=0;p<h.data.length;p++)if(n&&_(h.data[p]))d++;else{var m=h.data[p].length;f+=m,void 0!==o?1<m&&(u+=Math.abs(m-o),o=m):o=0}0<h.data.length&&(f/=h.data.length-d),(void 0===a||a<u)&&1.99<f&&(a=u,i=l)}return{successful:!!(g.delimiter=i),bestDelimiter:i}}(e,g.newline,g.skipEmptyLines,g.comments);i.successful?g.delimiter=i.bestDelimiter:(c=!0,g.delimiter=y.DefaultDelimiter),f.meta.delimiter=g.delimiter}var a=A(g);return g.preview&&g.header&&a.preview++,o=e,s=new v(a),f=s.parse(o,t,n),h(),l?{meta:{paused:!0}}:f||{meta:{paused:!1}}},this.paused=function(){return l},this.pause=function(){l=!0,s.abort(),o=o.substr(s.getCharIndex())},this.resume=function(){l=!1,t.streamer.parseChunk(o,!0)},this.aborted=function(){return e},this.abort=function(){e=!0,s.abort(),f.meta.aborted=!0,L(g.complete)&&g.complete(f),o=""}}function N(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function v(e){var x,k=(e=e||{}).delimiter,E=e.newline,D=e.comments,I=e.step,P=e.preview,M=e.fastMode,$=x=void 0===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&($=e.escapeChar),("string"!=typeof k||-1<y.BAD_DELIMITERS.indexOf(k))&&(k=","),D===k)throw"Comment character same as delimiter";!0===D?D="#":("string"!=typeof D||-1<y.BAD_DELIMITERS.indexOf(D))&&(D=!1),"\n"!==E&&"\r"!==E&&"\r\n"!==E&&(E="\n");var O=0,R=!1;this.parse=function(r,t,n){if("string"!=typeof r)throw"Input must be a string";var i=r.length,e=k.length,a=E.length,o=D.length,s=L(I),c=[],l=[],u=[],f=O=0;if(!r)return S();if(M||!1!==M&&-1===r.indexOf(x)){for(var d=r.split(E),h=0;h<d.length;h++){if(u=d[h],O+=u.length,h!==d.length-1)O+=E.length;else if(n)return S();if(!D||u.substr(0,o)!==D){if(s){if(c=[],y(u.split(k)),T(),R)return S()}else y(u.split(k));if(P&&P<=h)return c=c.slice(0,P),S(!0)}}return S()}for(var p,m=r.indexOf(k,O),g=r.indexOf(E,O),_=new RegExp(N($)+N(x),"g");;)if(r[O]!==x)if(D&&0===u.length&&r.substr(O,o)===D){if(-1===g)return S();O=g+a,g=r.indexOf(E,O),m=r.indexOf(k,O)}else if(-1!==m&&(m<g||-1===g))u.push(r.substring(O,m)),O=m+e,m=r.indexOf(k,O);else{if(-1===g)break;if(u.push(r.substring(O,g)),A(g+a),s&&(T(),R))return S();if(P&&c.length>=P)return S(!0)}else for(p=O,O++;;){if(-1===(p=r.indexOf(x,p+1)))return n||l.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:c.length,index:O}),C();if(p===i-1)return C(r.substring(O,p).replace(_,x));if(x!==$||r[p+1]!==$){if(x===$||0===p||r[p-1]!==$){var b=w(-1===g?m:Math.min(m,g));if(r[p+1+b]===k){u.push(r.substring(O,p).replace(_,x)),O=p+1+b+e,m=r.indexOf(k,O),g=r.indexOf(E,O);break}var v=w(g);if(r.substr(p+1+v,a)===E){if(u.push(r.substring(O,p).replace(_,x)),A(p+1+v+a),m=r.indexOf(k,O),s&&(T(),R))return S();if(P&&c.length>=P)return S(!0);break}l.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:c.length,index:O}),p++}}else p++}return C();function y(e){c.push(e),f=O}function w(e){var t=0;if(-1!==e){var n=r.substring(p+1,e);n&&""===n.trim()&&(t=n.length)}return t}function C(e){return n||(void 0===e&&(e=r.substr(O)),u.push(e),O=i,y(u),s&&T()),S()}function A(e){O=e,y(u),u=[],g=r.indexOf(E,O)}function S(e){return{data:c,errors:l,meta:{delimiter:k,linebreak:E,aborted:R,truncated:!!e,cursor:f+(t||0)}}}function T(){I(S()),c=[],l=[]}},this.abort=function(){R=!0},this.getCharIndex=function(){return O}}function b(e){var t=e.data,n=c[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,w(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(L(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:[t.results.data[a]],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else L(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&w(t.workerId,t.results)}function w(e,t){var n=c[e];L(n.userComplete)&&n.userComplete(t),n.terminate(),delete c[e]}function C(){throw"Not implemented."}function A(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=A(e[n]);return t}function S(e,t){return function(){e.apply(t,arguments)}}function L(e){return"function"==typeof e}return s?u.onmessage=function(e){var t=e.data;void 0===y.WORKER_ID&&t&&(y.WORKER_ID=t.workerId);if("string"==typeof t.input)u.postMessage({workerId:y.WORKER_ID,results:y.parse(t.input,t.config),finished:!0});else if(u.File&&t.input instanceof File||t.input instanceof Object){var n=y.parse(t.input,t.config);n&&u.postMessage({workerId:y.WORKER_ID,results:n,finished:!0})}}:y.WORKERS_SUPPORTED&&(e=document.getElementsByTagName("script"),a=e.length?e[e.length-1].src:"",document.body?document.addEventListener("DOMContentLoaded",function(){o=!0},!0):o=!0),(h.prototype=Object.create(d.prototype)).constructor=h,(p.prototype=Object.create(d.prototype)).constructor=p,(m.prototype=Object.create(m.prototype)).constructor=m,(g.prototype=Object.create(d.prototype)).constructor=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&((_.prototype=Object.create(d.prototype)).constructor=_),y}),function(){"use strict";var e=angular.module("mdPickers",["ngMaterial","ngAnimate","ngAria"]);function u(t,n,e,r,i,a){var o=this;this.date=moment(i),this.minDate=a.minDate&&moment(a.minDate).isValid()?moment(a.minDate):null,this.maxDate=a.maxDate&&moment(a.maxDate).isValid()?moment(a.maxDate):null,this.displayFormat=a.displayFormat||"ddd, MMM DD",this.dateFilter=angular.isFunction(a.dateFilter)?a.dateFilter:null,this.selectingYear=!1,this.minDate&&this.maxDate&&this.maxDate.isBefore(this.minDate)&&(this.maxDate=moment(this.minDate).add(1,"days")),this.date&&(this.minDate&&this.date.isBefore(this.minDate)&&(this.date=moment(this.minDate)),this.maxDate&&this.date.isAfter(this.maxDate)&&(this.date=moment(this.maxDate))),this.yearItems={currentIndex_:0,PAGE_SIZE:5,START:o.minDate?o.minDate.year():1900,END:o.maxDate?o.maxDate.year():0,getItemAtIndex:function(e){return this.currentIndex_<e&&(this.currentIndex_=e),this.START+e},getLength:function(){return Math.min(this.currentIndex_+Math.floor(this.PAGE_SIZE/2),Math.abs(this.START-this.END)+1)}},t.$mdMedia=e,t.year=this.date.year(),this.selectYear=function(e){o.date.year(e),t.year=e,o.selectingYear=!1,o.animate()},this.showYear=function(){o.yearTopIndex=o.date.year()-o.yearItems.START+Math.floor(o.yearItems.PAGE_SIZE/2),o.yearItems.currentIndex_=o.date.year()-o.yearItems.START+1,o.selectingYear=!0},this.showCalendar=function(){o.selectingYear=!1},this.cancel=function(){n.cancel()},this.confirm=function(){var e=this.date;this.minDate&&this.date.isBefore(this.minDate)&&(e=moment(this.minDate)),this.maxDate&&this.date.isAfter(this.maxDate)&&(e=moment(this.maxDate)),n.hide(e.toDate())},this.animate=function(){o.animating=!0,r(angular.noop).then(function(){o.animating=!1})}}function t(e){var a=this;this.$onInit=function(){a.daysInMonth=[],a.dow=moment.localeData().firstDayOfWeek(),a.weekDays=[].concat(moment.weekdaysMin().slice(a.dow),moment.weekdaysMin().slice(0,a.dow)),e.$watch(function(){return a.date.unix()},function(e,t){e&&e!==t&&a.updateDaysInMonth()}),a.updateDaysInMonth()},this.getDaysInMonth=function(){var e=a.date.daysInMonth(),t=moment(a.date).date(1).day()-this.dow;t<0&&(t=this.weekDays.length-1);for(var n=[],r=1;r<=t+e;r++){var i=null;t<r&&(i={value:r-t,enabled:a.isDayEnabled(moment(a.date).date(r-t).toDate())}),n.push(i)}return n},this.isDayEnabled=function(e){return!(this.minDate&&!(this.minDate<=e)||this.maxDate&&!(this.maxDate>=e)||a.dateFilter&&a.dateFilter(e))},this.selectDate=function(e){a.date.date(e)},this.nextMonth=function(){a.date.add(1,"months")},this.prevMonth=function(){a.date.subtract(1,"months")},this.updateDaysInMonth=function(){a.daysInMonth=a.getDaysInMonth()},e.$watch(function(){return a.date.unix()},function(e,t){e&&e!==t&&a.updateDaysInMonth()})}function _(e,t){return!e||angular.isDate(e)||moment(e,t,!0).isValid()}function r(e,t,n,r){angular.isDate(n)&&(n=moment(n).format(t)),n=moment(n,t,!0);var i=angular.isDate(e)?moment(e):moment(e,t,!0);return!e||angular.isDate(e)||!n.isValid()||r(i,n)}function b(e,t,n){return r(e,t,n,function(e,t){return e.isSameOrAfter(t)})}function v(e,t,n){return r(e,t,n,function(e,t){return e.isSameOrBefore(t)})}function y(e,t,n){var r=angular.isDate(e)?moment(e):moment(e,t,!0);return!e||angular.isDate(e)||!angular.isFunction(n)||!n(r.toDate())}function l(e,t,n,r,i,a){var o=this;this.VIEW_HOURS=1,this.VIEW_MINUTES=2,this.currentView=this.VIEW_HOURS,this.time=moment(n),this.autoSwitch=!!r,this.ampm=!!i,this.hoursFormat=o.ampm?"h":"H",this.minutesFormat="mm",this.clockHours=parseInt(this.time.format(this.hoursFormat)),this.clockMinutes=parseInt(this.time.format(this.minutesFormat)),e.$mdMedia=a,this.switchView=function(){o.currentView=o.currentView==o.VIEW_HOURS?o.VIEW_MINUTES:o.VIEW_HOURS},this.setAM=function(){12<=o.time.hours()&&o.time.hour(o.time.hour()-12)},this.setPM=function(){o.time.hours()<12&&o.time.hour(o.time.hour()+12)},this.cancel=function(){t.cancel()},this.confirm=function(){t.hide(this.time.toDate())}}function n(e){var r=this,i="hours",a="minutes";this.$onInit=function(){switch(r.STEP_DEG=30,r.steps=[],this.CLOCK_TYPES={hours:{range:r.ampm?12:24},minutes:{range:60}},r.type=r.type||"hours",r.type){case i:for(var e=r.ampm?1:2,t=r.ampm?12:23,n=e;n<=t;n+=e)r.steps.push(n);r.ampm||r.steps.push(0),r.selected=r.time.hours()||0,r.ampm&&12<r.selected&&(r.selected-=12);break;case a:for(n=5;n<=55;n+=5)r.steps.push(n);r.steps.push(0),r.selected=r.time.minutes()||0}},this.getPointerStyle=function(){var e=1;switch(r.type){case i:e=r.ampm?12:24;break;case a:e=60}var t=Math.round(r.selected*(360/e))-180;return{"-webkit-transform":"rotate("+t+"deg)","-ms-transform":"rotate("+t+"deg)",transform:"rotate("+t+"deg)"}},this.setTimeByDeg=function(e){e=360<=e?0:e;var t=0;switch(r.type){case i:t=r.ampm?12:24;break;case a:t=60}r.setTime(Math.round(t/360*e))},this.setTime=function(e,t){switch(this.selected=e,r.type){case i:r.ampm&&"PM"==r.time.format("A")&&(e+=12),this.time.hours(e);break;case a:59<e&&(e-=60),this.time.minutes(e)}}}function w(e,t,n,r){angular.isDate(n)&&(n=moment(n).format(t)),n=moment(n,t,!0);var i=angular.isDate(e)?moment(e):moment(e,t,!0);return!e||angular.isDate(e)||!n.isValid()||r(i,n)}e.config(["$mdIconProvider","mdpIconsRegistry",function(n,e){angular.forEach(e,function(e,t){n.icon(e.id,e.url)})}]),e.run(["$templateCache","mdpIconsRegistry",function(n,e){angular.forEach(e,function(e,t){n.put(e.url,e.svg)})}]),e.constant("mdpIconsRegistry",[{id:"mdp-chevron-left",url:"mdp-chevron-left.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'},{id:"mdp-chevron-right",url:"mdp-chevron-right.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'},{id:"mdp-access-time",url:"mdp-access-time.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M0 0h24v24H0z" fill="none"/><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>'},{id:"mdp-event",url:"mdp-event.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'}]),e.factory("$mdpLocale",[function(){return{time:{minTime:null,maxTime:null,okLabel:"OK",cancelLabel:"Cancel",timeFormat:"HH:mm",noFloat:!1,openOnClick:!1,autoSwitch:!1,ampm:!0,clearOnCancel:!1},date:{minDate:null,maxDate:null,okLabel:"OK",cancelLabel:"Cancel",dateFilter:null,dateFormat:"YYYY-MM-DD",displayFormat:"ddd, MMM DD",noFloat:!1,openOnClick:!1,clearOnCancel:!1}}}]),e.directive("ngMessage",["$mdUtil",function(t){return{restrict:"EA",priority:101,compile:function(e){if(t.getClosest(e,"mdp-time-picker",!0)||t.getClosest(e,"mdp-date-picker",!0))return e.toggleClass("md-input-message-animation",!0),{}}}}]),e.provider("$mdpDatePicker",function(){var o="OK",s="Cancel",c="ddd, MMM DD",l=function(){};this.setDisplayFormat=function(e){c=e},this.setOKButtonLabel=function(e){o=e},this.setCancelButtonLabel=function(e){s=e},this.setDialogParentGetter=function(e){l=e},this.$get=["$mdDialog","$mdpLocale",function(i,a){return function(e,t){angular.isDate(e)||(e=Date.now()),angular.isObject(t)||(t={}),t.displayFormat=t.displayFormat||a.date.displayFormat||c;var n=t.okLabel||a.date.okLabel||o,r=t.cancelLabel||a.date.cancelLabel||s;return i.show({controller:["$scope","$mdDialog","$mdMedia","$timeout","currentDate","options",u],controllerAs:"datepicker",clickOutsideToClose:!0,skipHide:!0,multiple:!0,template:'<md-dialog aria-label="" class="mdp-datepicker" ng-class="{ \'portrait\': !$mdMedia(\'gt-xs\') }"><md-dialog-content layout="row" layout-wrap><div layout="column" layout-align="start center"><md-toolbar layout-align="start start" flex class="mdp-datepicker-date-wrapper md-hue-1 md-primary" layout="column"><span class="mdp-datepicker-year" ng-click="datepicker.showYear()" ng-class="{ \'active\': datepicker.selectingYear }">{{ datepicker.date.format(\'YYYY\') }}</span><span class="mdp-datepicker-date" ng-click="datepicker.showCalendar()" ng-class="{ \'active\': !datepicker.selectingYear }">{{ datepicker.date.format(datepicker.displayFormat) }}</span> </md-toolbar></div><div><div class="mdp-datepicker-select-year mdp-animation-zoom" layout="column" layout-align="center start" ng-if="datepicker.selectingYear"><md-virtual-repeat-container md-auto-shrink md-top-index="datepicker.yearTopIndex"><div flex md-virtual-repeat="item in datepicker.yearItems" md-on-demand class="repeated-year"><span class="md-button" ng-click="datepicker.selectYear(item)" md-ink-ripple ng-class="{ \'md-primary current\': item == year }">{{ item }}</span></div></md-virtual-repeat-container></div><mdp-calendar ng-if="!datepicker.selectingYear" class="mdp-animation-zoom" date="datepicker.date" min-date="datepicker.minDate" date-filter="datepicker.dateFilter" max-date="datepicker.maxDate"></mdp-calendar><md-dialog-actions layout="row"><span flex></span><md-button ng-click="datepicker.cancel()" aria-label="'+r+'">'+r+'</md-button><md-button ng-click="datepicker.confirm()" class="md-primary" aria-label="'+n+'">'+n+"</md-button></md-dialog-actions></div></md-dialog-content></md-dialog>",targetEvent:t.targetEvent,locals:{currentDate:e,options:t},parent:l()})}}]}),e.directive("mdpCalendar",["$animate",function(a){return{restrict:"E",bindToController:{date:"=",minDate:"=",maxDate:"=",dateFilter:"="},template:'<div class="mdp-calendar"><div layout="row" layout-align="space-between center"><md-button aria-label="previous month" class="md-icon-button" ng-click="calendar.prevMonth()"><md-icon md-svg-icon="mdp-chevron-left"></md-icon></md-button><div class="mdp-calendar-monthyear" ng-show="!calendar.animating">{{ calendar.date.format("MMMM YYYY") }}</div><md-button aria-label="next month" class="md-icon-button" ng-click="calendar.nextMonth()"><md-icon md-svg-icon="mdp-chevron-right"></md-icon></md-button></div><div layout="row" layout-align="space-around center" class="mdp-calendar-week-days" ng-show="!calendar.animating"><div layout layout-align="center center" ng-repeat="d in calendar.weekDays track by $index">{{ d }}</div></div><div layout="row" layout-align="start center" layout-wrap class="mdp-calendar-days" ng-class="{ \'mdp-animate-next\': calendar.animating }" ng-show="!calendar.animating" md-swipe-left="calendar.nextMonth()" md-swipe-right="calendar.prevMonth()"><div layout layout-align="center center" ng-repeat-start="day in calendar.daysInMonth track by $index" ng-class="{ \'mdp-day-placeholder\': !day }"><md-button class="md-icon-button" aria-label="Select day" ng-mouseenter="raised = true" ng-mouseleave="raised = false" ng-if="day" ng-class="{ \'md-accent\': calendar.date.date() == day.value, \'md-raised\': raised || calendar.date.date() == day.value }" ng-click="calendar.selectDate(day.value)" ng-disabled="!day.enabled">{{ day.value }}</md-button></div><div flex="100" ng-if="($index + 1) % 7 == 0" ng-repeat-end></div></div></div>',controller:["$scope",t],controllerAs:"calendar",link:function(e,t,n,r){var i=[t[0].querySelector(".mdp-calendar-week-days"),t[0].querySelector(".mdp-calendar-days"),t[0].querySelector(".mdp-calendar-monthyear")].map(function(e){return angular.element(e)});e.raised=!1,e.$watch(function(){return r.date.format("YYYYMM")},function(e,t){var n=null;if(t<e?n="mdp-animate-next":e<t&&(n="mdp-animate-prev"),n)for(var r in i)i[r].addClass(n),a.removeClass(i[r],n)})}}}]),e.directive("mdpDatePicker",["$mdpDatePicker","$timeout","$mdpLocale",function(m,e,g){return{restrict:"E",require:["ngModel","^^?form"],transclude:!0,template:function(e,t){var n=angular.isDefined(t.mdpNoFloat)||g.date.noFloat,r=angular.isDefined(t.mdpOpenOnClick)||g.date.openOnClick;return'<div layout layout-align="start start"><md-button'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+' class="md-icon-button" ng-click="showPicker($event)"><md-icon md-svg-icon="mdp-event"></md-icon></md-button><md-input-container'+(n?" md-no-float":"")+' md-is-error="isError()"><input name="{{ inputName }}" ng-model="model.$viewValue" ng-required="required()" type="{{ ::type }}"'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+' aria-label="{{placeholder}}" placeholder="{{placeholder}}"'+(r?' ng-click="showPicker($event)" ':"")+" /></md-input-container></div>"},scope:{minDate:"=mdpMinDate",maxDate:"=mdpMaxDate",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",dateFilter:"=mdpDateFilter",dateFormat:"@mdpFormat",placeholder:"@mdpPlaceholder",noFloat:"=mdpNoFloat",openOnClick:"=mdpOpenOnClick",disabled:"=?mdpDisabled",inputName:"@?mdpInputName",clearOnCancel:"=?mdpClearOnCancel"},link:{pre:function(e,t,n,r,i){},post:function(r,e,n,t,i){var a=t[0],o=t[1],s={get minDate(){return r.minDate||g.date.minDate},get maxDate(){return r.maxDate||g.date.maxDate},get dateFilter(){return r.dateFilter||g.date.dateFilter},get clearOnCancel(){return angular.isDefined(r.clearOnCancel)?r.clearOnCancel:g.date.clearOnCancel}},c=angular.element(e[0].querySelector("input")),l=angular.element(e[0].querySelector("md-input-container")),u=l.controller("mdInputContainer");i(function(e){l.append(e)});var f=angular.element(l[0].querySelector("[ng-messages]"));function d(e){c[0].value=e,u.setHasValue(!a.$isEmpty(e))}function h(e){var t=moment(e,angular.isDate(e)?null:r.dateFormat,!0),n=t.format(r.dateFormat);t.isValid()?(d(n),a.$setViewValue(n)):(d(e),a.$setViewValue(e)),!a.$pristine&&f.hasClass("md-auto-hide")&&l.hasClass("md-input-invalid")&&f.removeClass("md-auto-hide"),a.$render()}function p(e){e.target.value!==a.$viewVaue&&h(e.target.value)}r.type=r.dateFormat||g.date.dateFormat?"text":"date",r.dateFormat=r.dateFormat||g.date.dateFormat||"YYYY-MM-DD",r.model=a,r.isError=function(){return!!a.$invalid&&(!a.$pristine||null!=o&&o.$submitted)},r.required=function(){return!!n.required},a.$formatters.unshift(function(e){var t=angular.isDate(e)&&moment(e);if(t&&t.isValid()){var n=t.format(r.dateFormat);return d(n),n}return d(null),null}),a.$validators.format=function(e,t){return _(t,r.dateFormat)},a.$validators.minDate=function(e,t){return b(t,r.dateFormat,s.minDate)},a.$validators.maxDate=function(e,t){return v(t,r.dateFormat,s.maxDate)},a.$validators.filter=function(e,t){return y(t,r.dateFormat,s.dateFilter)},a.$validators.required=function(e,t){return angular.isUndefined(n.required)||!1===n.required||!a.$isEmpty(e)||!a.$isEmpty(t)},a.$parsers.unshift(function(e){var t=moment(e,r.dateFormat,!0);if(t.isValid()){if(angular.isDate(a.$modelValue)){var n=moment(a.$modelValue);n.year(t.year()),n.month(t.month()),n.date(t.date()),t=n}return t.toDate()}return null}),r.showPicker=function(e){m(a.$modelValue,{minDate:s.minDate,maxDate:s.maxDate,dateFilter:s.dateFilter,okLabel:r.okLabel,cancelLabel:r.cancelLabel,targetEvent:e}).then(function(e){h(e)},function(e){s.clearOnCancel&&h(null)})},c.on("reset input blur",p),r.$on("$destroy",function(){c.off("reset input blur",p)}),r.$watch("minDate + maxDate",function(){a.$validate()})}}}}]),e.directive("mdpDatePicker",["$mdpDatePicker","$timeout",function(o,e){return{restrict:"A",require:"ngModel",scope:{minDate:"@min",maxDate:"@max",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",dateFilter:"=mdpDateFilter",dateFormat:"@mdpFormat"},link:function(n,e,t,r,i){function a(e){o(r.$modelValue,{minDate:n.minDate,maxDate:n.maxDate,dateFilter:n.dateFilter,okLabel:n.okLabel,cancelLabel:n.cancelLabel,targetEvent:e}).then(function(e){r.$setViewValue(moment(e).format(n.format)),r.$render()})}n.dateFormat=n.dateFormat||"YYYY-MM-DD",r.$validators.format=function(e,t){return _(t,n.format)},r.$validators.minDate=function(e,t){return b(t,n.format,n.minDate)},r.$validators.maxDate=function(e,t){return v(t,n.format,n.maxDate)},r.$validators.filter=function(e,t){return y(t,n.format,n.dateFilter)},e.on("click",a),n.$on("$destroy",function(){e.off("click",a)})}}}]),e.directive("mdpClock",["$animate","$timeout",function(e,s){return{restrict:"E",bindToController:{type:"@?",time:"=",autoSwitch:"=?",ampm:"=?"},replace:!0,template:'<md-card class="mdp-clock"><div class="mdp-clock-container"><md-toolbar class="mdp-clock-center md-primary"></md-toolbar><md-toolbar ng-style="clock.getPointerStyle()" class="mdp-pointer md-primary"><span class="mdp-clock-selected md-button md-raised md-primary"></span></md-toolbar><md-button ng-class="{ \'md-primary\': clock.selected == step, \'md-raised\': raised || clock.selected == step }" ng-mouseenter="raised = true" ng-mouseleave="raised = false" class="md-icon-button mdp-clock-deg{{ ::(clock.STEP_DEG * ($index + 1)) }}" ng-repeat="step in clock.steps" ng-click="clock.setTime(step)">{{ step }}</md-button></div></md-card>',controller:["$scope",n],controllerAs:"clock",link:function(e,t,n,a){angular.element(t[0].querySelector(".mdp-pointer"));var o=e.$parent.timepicker;e.raised=!1;var r=function(e){var t=e.currentTarget.getClientRects()[0],n=e.currentTarget.offsetWidth/2-(e.pageX-t.left),r=e.pageY-t.top-e.currentTarget.offsetHeight/2,i=Math.round(Math.atan2(n,r)*(180/Math.PI));s(function(){a.setTimeByDeg(i+180),a.autoSwitch&&-1!==["mouseup","click"].indexOf(e.type)&&o&&o.switchView()})};t.on("mousedown",function(){t.on("mousemove",r)}),t.on("mouseup",function(e){t.off("mousemove")}),t.on("click",r),e.$on("$destroy",function(){t.off("click",r),t.off("mousemove",r)})}}}]),e.provider("$mdpTimePicker",function(){var o="OK",s="Cancel",c=function(){};this.setOKButtonLabel=function(e){o=e},this.setCancelButtonLabel=function(e){s=e},this.setDialogParentGetter=function(e){c=e},this.$get=["$mdDialog","$mdpLocale",function(i,a){return function(e,t){angular.isDate(e)||(e=Date.now()),angular.isObject(t)||(t={});var n=t.okLabel||a.time.okLabel||o,r=t.cancelLabel||a.time.cancelLabel||s;return i.show({controller:["$scope","$mdDialog","time","autoSwitch","ampm","$mdMedia",l],controllerAs:"timepicker",clickOutsideToClose:!0,skipHide:!0,multiple:!0,template:'<md-dialog aria-label="" class="mdp-timepicker" ng-class="{ \'portrait\': !$mdMedia(\'gt-xs\') }"><md-dialog-content layout-gt-xs="row" layout-wrap><md-toolbar layout-gt-xs="column" layout-xs="row" layout-align="center center" flex class="mdp-timepicker-time md-hue-1 md-primary"><div class="mdp-timepicker-selected-time"><span ng-class="{ \'active\': timepicker.currentView == timepicker.VIEW_HOURS }" ng-click="timepicker.currentView = timepicker.VIEW_HOURS">{{ timepicker.time.format(timepicker.hoursFormat) }}</span>:<span ng-class="{ \'active\': timepicker.currentView == timepicker.VIEW_MINUTES }" ng-click="timepicker.currentView = timepicker.VIEW_MINUTES">{{ timepicker.time.format(timepicker.minutesFormat) }}</span></div><div layout="column" ng-show="timepicker.ampm" class="mdp-timepicker-selected-ampm"><span ng-click="timepicker.setAM()" ng-class="{ \'active\': timepicker.time.hours() < 12 }">AM</span><span ng-click="timepicker.setPM()" ng-class="{ \'active\': timepicker.time.hours() >= 12 }">PM</span></div></md-toolbar><md-content><div class="mdp-clock-switch-container" ng-switch="timepicker.currentView" layout layout-align="center center"><mdp-clock class="mdp-animation-zoom" ampm="timepicker.ampm" auto-switch="timepicker.autoSwitch" time="timepicker.time" type="hours" ng-switch-when="1"></mdp-clock><mdp-clock class="mdp-animation-zoom" ampm="timepicker.ampm" auto-switch="timepicker.autoSwitch" time="timepicker.time" type="minutes" ng-switch-when="2"></mdp-clock></div><md-dialog-actions layout="row"><span flex></span><md-button ng-click="timepicker.cancel()" aria-label="'+r+'">'+r+'</md-button><md-button ng-click="timepicker.confirm()" class="md-primary" aria-label="'+n+'">'+n+"</md-button></md-dialog-actions></md-content></md-dialog-content></md-dialog>",targetEvent:t.targetEvent,locals:{time:e,autoSwitch:t.autoSwitch,ampm:angular.isDefined(t.ampm)?t.ampm:a.time.ampm},parent:c()})}}]}),e.directive("mdpTimePicker",["$mdpTimePicker","$timeout","$mdpLocale",function(m,e,g){return{restrict:"E",require:["ngModel","^^?form"],transclude:!0,template:function(e,t){var n=angular.isDefined(t.mdpNoFloat)||g.time.noFloat,r=angular.isDefined(t.mdpOpenOnClick)||g.time.openOnClick;return'<div layout layout-align="start start"><md-button class="md-icon-button" ng-click="showPicker($event)"'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+'><md-icon md-svg-icon="mdp-access-time"></md-icon></md-button><md-input-container'+(n?" md-no-float":"")+' md-is-error="isError()"><input name="{{ inputName }}" ng-model="model.$viewValue" ng-required="required()" type="{{ ::type }}"'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+' aria-label="{{placeholder}}" placeholder="{{placeholder}}"'+(r?' ng-click="showPicker($event)" ':"")+" /></md-input-container></div>"},scope:{minTime:"=?mdpMinTime",maxTime:"=?mdpMaxTime",timeFormat:"@mdpFormat",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",placeholder:"@mdpPlaceholder",autoSwitch:"=?mdpAutoSwitch",disabled:"=?mdpDisabled",ampm:"=?mdpAmpm",inputName:"@?mdpInputName",clearOnCancel:"=?mdpClearOnCancel"},link:function(a,e,n,t,r){var i=t[0],o=t[1],s={get minTime(){return a.minTime||g.time.minTime},get maxTime(){return a.maxTime||g.time.maxTime},get clearOnCancel(){return angular.isDefined(a.clearOnCancel)?a.clearOnCancel:g.time.clearOnCancel}},c=angular.element(e[0].querySelector("input")),l=angular.element(e[0].querySelector("md-input-container")),u=l.controller("mdInputContainer");r(function(e){l.append(e)});var f=angular.element(l[0].querySelector("[ng-messages]"));function d(e){c[0].value=e,u.setHasValue(!i.$isEmpty(e))}function h(e){var t=moment(e,angular.isDate(e)?null:a.timeFormat,!0),n=t.format(a.timeFormat);t.isValid()?(d(n),i.$setViewValue(n)):(d(e),i.$setViewValue(e)),!i.$pristine&&f.hasClass("md-auto-hide")&&l.hasClass("md-input-invalid")&&f.removeClass("md-auto-hide"),i.$render()}function p(e){e.target.value!==i.$viewVaue&&h(e.target.value)}a.type=a.timeFormat||g.time.timeFormat?"text":"time",a.timeFormat=a.timeFormat||g.time.timeFormat||"HH:mm",a.autoSwitch=void 0===a.autoSwitch?g.time.autoSwitch:a.autoSwitch,a.model=i,a.isError=function(){return!!i.$invalid&&(!i.$pristine||null!=o&&o.$submitted)},a.required=function(){return!!n.required},a.$watch(function(){return i.$error},function(e,t){u.setInvalid(!i.$pristine&&!!Object.keys(i.$error).length)},!0),i.$formatters.unshift(function(e){var t=angular.isDate(e)&&moment(e);if(t&&t.isValid()){var n=t.format(a.timeFormat);return d(n),n}return d(null),null}),i.$validators.format=function(e,t){return!t||angular.isDate(t)||moment(t,a.timeFormat,!0).isValid()},i.$validators.required=function(e,t){return angular.isUndefined(n.required)||!1===n.required||!i.$isEmpty(e)||!i.$isEmpty(t)},i.$validators.minTime=function(e,t){return n=t,r=a.timeFormat,i=s.minTime,w(n,r,i,function(e,t){return e.isSameOrAfter(t)});var n,r,i},i.$validators.maxTime=function(e,t){return n=t,r=a.timeFormat,i=s.maxTime,w(n,r,i,function(e,t){return e.isSameOrBefore(t)});var n,r,i},i.$parsers.unshift(function(e){var t=moment(e,a.timeFormat,!0);if(t.isValid()){if(angular.isDate(i.$modelValue)){var n=moment(i.$modelValue);n.minutes(t.minutes()),n.hours(t.hours()),n.seconds(t.seconds()),t=n}return t.toDate()}return null}),a.showPicker=function(e){m(i.$modelValue,{targetEvent:e,okLabel:a.okLabel,cancelLabel:a.cancelLabel,autoSwitch:a.autoSwitch,ampm:a.ampm}).then(function(e){h(e)},function(e){s.clearOnCancel&&h(null)})},c.on("reset input blur",p),a.$on("$destroy",function(){c.off("reset input blur",p)}),a.$watch("minTime + maxTime",function(){i.$validate()})}}}]),e.directive("mdpTimePicker",["$mdpTimePicker","$timeout",function(o,e){return{restrict:"A",require:"ngModel",scope:{timeFormat:"@mdpFormat",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",autoSwitch:"=?mdpAutoSwitch",ampm:"=?mdpAmpm"},link:function(t,e,n,r,i){function a(e){o(r.$modelValue,{targetEvent:e,autoSwitch:t.autoSwitch,okLabel:t.okLabel,cancelLabel:t.cancelLabel,ampm:t.ampm}).then(function(e){r.$setViewValue(moment(e).format(t.format)),r.$render()})}t.format=t.format||"HH:mm",e.on("click",a),t.$on("$destroy",function(){e.off("click",a)})}}}])}(),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(P,M){"use strict";if(!P.jstree){var i=0,a=!1,o=!1,s=!1,r=[],e=P("script:last").attr("src"),y=window.document,l=window.setImmediate,n=window.Promise;!l&&n&&(l=function(e,t){n.resolve(t).then(e)}),P.jstree={version:"3.3.12",defaults:{plugins:[]},plugins:{},path:e&&-1!==e.indexOf("/")?e.replace(/\/[^\/]+$/,""):"",idregex:/[\\:&!^|()\[\]<>@*'+~#";.,=\- \/${}%?`]/g,root:"#"},P.jstree.create=function(e,n){var r=new P.jstree.core(++i),t=n;return n=P.extend(!0,{},P.jstree.defaults,n),t&&t.plugins&&(n.plugins=t.plugins),P.each(n.plugins,function(e,t){"core"!==e&&(r=r.plugin(t,n[t]))}),P(e).data("jstree",r),r.init(e,n),r},P.jstree.destroy=function(){P(".jstree:jstree").jstree("destroy"),P(y).off(".jstree")},P.jstree.core=function(e){this._id=e,this._cnt=0,this._wrk=null,this._data={core:{themes:{name:!1,dots:!1,icons:!1,ellipsis:!1},selected:[],last_error:{},working:!1,worker_queue:[],focused:null}}},P.jstree.reference=function(t){var n=null,e=null;if(!t||!t.id||t.tagName&&t.nodeType||(t=t.id),!e||!e.length)try{e=P(t)}catch(e){}if(!e||!e.length)try{e=P("#"+t.replace(P.jstree.idregex,"\\$&"))}catch(e){}return e&&e.length&&(e=e.closest(".jstree")).length&&(e=e.data("jstree"))?n=e:P(".jstree").each(function(){var e=P(this).data("jstree");if(e&&e._model.data[t])return n=e,!1}),n},P.fn.jstree=function(n){var r="string"==typeof n,i=Array.prototype.slice.call(arguments,1),a=null;return!(!0===n&&!this.length)&&(this.each(function(){var e=P.jstree.reference(this),t=r&&e?e[n]:null;if(a=r&&t?t.apply(e,i):null,e||r||n!==M&&!P.isPlainObject(n)||P.jstree.create(this,n),(e&&!r||!0===n)&&(a=e||!1),null!==a&&a!==M)return!1}),null!==a&&a!==M?a:this)},P.expr.pseudos.jstree=P.expr.createPseudo(function(e){return function(e){return P(e).hasClass("jstree")&&P(e).data("jstree")!==M}}),P.jstree.defaults.core={data:!1,strings:!1,check_callback:!1,error:P.noop,animation:200,multiple:!0,themes:{name:!1,url:!1,dir:!1,dots:!0,icons:!0,ellipsis:!1,stripes:!1,variant:!1,responsive:!1},expand_selected_onload:!0,worker:!0,force_text:!1,dblclick_toggle:!0,loaded_state:!1,restore_focus:!0,compute_elements_positions:!1,keyboard:{"ctrl-space":function(e){e.type="click",P(e.currentTarget).trigger(e)},enter:function(e){e.type="click",P(e.currentTarget).trigger(e)},left:function(e){if(e.preventDefault(),this.is_open(e.currentTarget))this.close_node(e.currentTarget);else{var t=this.get_parent(e.currentTarget);t&&t.id!==P.jstree.root&&this.get_node(t,!0).children(".jstree-anchor").trigger("focus")}},up:function(e){e.preventDefault();var t=this.get_prev_dom(e.currentTarget);t&&t.length&&t.children(".jstree-anchor").trigger("focus")},right:function(e){if(e.preventDefault(),this.is_closed(e.currentTarget))this.open_node(e.currentTarget,function(e){this.get_node(e,!0).children(".jstree-anchor").trigger("focus")});else if(this.is_open(e.currentTarget)){var t=this.get_node(e.currentTarget,!0).children(".jstree-children")[0];t&&P(this._firstChild(t)).children(".jstree-anchor").trigger("focus")}},down:function(e){e.preventDefault();var t=this.get_next_dom(e.currentTarget);t&&t.length&&t.children(".jstree-anchor").trigger("focus")},"*":function(e){this.open_all()},home:function(e){e.preventDefault();var t=this._firstChild(this.get_container_ul()[0]);t&&P(t).children(".jstree-anchor").filter(":visible").trigger("focus")},end:function(e){e.preventDefault(),this.element.find(".jstree-anchor").filter(":visible").last().trigger("focus")},f2:function(e){e.preventDefault(),this.edit(e.currentTarget)}}},P.jstree.core.prototype={plugin:function(e,t){var n=P.jstree.plugins[e];return n?(this._data[e]={},n.prototype=this,new n(t,this)):this},init:function(e,t){this._model={data:{},changed:[],force_full_redraw:!1,redraw_timeout:!1,default_state:{loaded:!0,opened:!1,selected:!1,disabled:!1}},this._model.data[P.jstree.root]={id:P.jstree.root,parent:null,parents:[],children:[],children_d:[],state:{loaded:!1}},this.element=P(e).addClass("jstree jstree-"+this._id),this.settings=t,this._data.core.ready=!1,this._data.core.loaded=!1,this._data.core.rtl="rtl"===this.element.css("direction"),this.element[this._data.core.rtl?"addClass":"removeClass"]("jstree-rtl"),this.element.attr("role","tree"),this.settings.core.multiple&&this.element.attr("aria-multiselectable",!0),this.element.attr("tabindex")||this.element.attr("tabindex","0"),this.bind(),this.trigger("init"),this._data.core.original_container_html=this.element.find(" > ul > li").clone(!0),this._data.core.original_container_html.find("li").addBack().contents().filter(function(){return 3===this.nodeType&&(!this.nodeValue||/^\s+$/.test(this.nodeValue))}).remove(),this.element.html("<ul class='jstree-container-ul jstree-children' role='group'><li id='j"+this._id+"_loading' class='jstree-initial-node jstree-loading jstree-leaf jstree-last' role='none'><i class='jstree-icon jstree-ocl'></i><a class='jstree-anchor' role='treeitem' href='#'><i class='jstree-icon jstree-themeicon-hidden'></i>"+this.get_string("Loading ...")+"</a></li></ul>"),this.element.attr("aria-activedescendant","j"+this._id+"_loading"),this._data.core.li_height=this.get_container_ul().children("li").first().outerHeight()||24,this._data.core.node=this._create_prototype_node(),this.trigger("loading"),this.load_node(P.jstree.root)},destroy:function(e){if(this.trigger("destroy"),this._wrk)try{window.URL.revokeObjectURL(this._wrk),this._wrk=null}catch(e){}e||this.element.empty(),this.teardown()},_create_prototype_node:function(){var e,t,n=y.createElement("LI");return n.setAttribute("role","none"),(e=y.createElement("I")).className="jstree-icon jstree-ocl",e.setAttribute("role","presentation"),n.appendChild(e),(e=y.createElement("A")).className="jstree-anchor",e.setAttribute("href","#"),e.setAttribute("tabindex","-1"),e.setAttribute("role","treeitem"),(t=y.createElement("I")).className="jstree-icon jstree-themeicon",t.setAttribute("role","presentation"),e.appendChild(t),n.appendChild(e),e=t=null,n},_kbevent_to_func:function(e){var t=[];if(e.ctrlKey&&t.push("ctrl"),e.altKey&&t.push("alt"),e.shiftKey&&t.push("shift"),t.push({8:"Backspace",9:"Tab",13:"Enter",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock",16:"Shift",17:"Ctrl",18:"Alt",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*",173:"-"}[e.which]||e.which),"shift-shift"===(t=t.sort().join("-").toLowerCase())||"ctrl-ctrl"===t||"alt-alt"===t)return null;var n,r,i=this.settings.core.keyboard;for(n in i)if(i.hasOwnProperty(n)&&("-"!==(r=n)&&"+"!==r&&(r=(r=r.replace("--","-MINUS").replace("+-","-MINUS").replace("++","-PLUS").replace("-+","-PLUS")).split(/-|\+/).sort().join("-").replace("MINUS","-").replace("PLUS","+").toLowerCase()),r===t))return i[n];return null},teardown:function(){this.unbind(),this.element.removeClass("jstree").removeData("jstree").find("[class^='jstree']").addBack().attr("class",function(){return this.className.replace(/jstree[^ ]*|$/gi,"")}),this.element=null},bind:function(){var a="",o=null,t=0;this.element.on("dblclick.jstree",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;if(y.selection&&y.selection.empty)y.selection.empty();else if(window.getSelection){var t=window.getSelection();try{t.removeAllRanges(),t.collapse()}catch(e){}}}).on("mousedown.jstree",function(e){e.target===this.element[0]&&(e.preventDefault(),t=+new Date)}.bind(this)).on("mousedown.jstree",".jstree-ocl",function(e){e.preventDefault()}).on("click.jstree",".jstree-ocl",function(e){this.toggle_node(e.target)}.bind(this)).on("dblclick.jstree",".jstree-anchor",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;this.settings.core.dblclick_toggle&&this.toggle_node(e.target)}.bind(this)).on("click.jstree",".jstree-anchor",function(e){e.preventDefault(),e.currentTarget!==y.activeElement&&P(e.currentTarget).trigger("focus"),this.activate_node(e.currentTarget,e)}.bind(this)).on("keydown.jstree",".jstree-anchor",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;this._data.core.rtl&&(37===e.which?e.which=39:39===e.which&&(e.which=37));var t=this._kbevent_to_func(e);if(t){var n=t.call(this,e);if(!1===n||!0===n)return n}}.bind(this)).on("load_node.jstree",function(e,t){t.status&&(t.node.id!==P.jstree.root||this._data.core.loaded||(this._data.core.loaded=!0,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.trigger("loaded")),this._data.core.ready||setTimeout(function(){if(this.element&&!this.get_container_ul().find(".jstree-loading").length){if(this._data.core.ready=!0,this._data.core.selected.length){if(this.settings.core.expand_selected_onload){var e,t,n=[];for(e=0,t=this._data.core.selected.length;e<t;e++)n=n.concat(this._model.data[this._data.core.selected[e]].parents);for(e=0,t=(n=P.vakata.array_unique(n)).length;e<t;e++)this.open_node(n[e],!1,0)}this.trigger("changed",{action:"ready",selected:this._data.core.selected})}this.trigger("ready")}}.bind(this),0))}.bind(this)).on("keypress.jstree",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;o&&clearTimeout(o),o=setTimeout(function(){a=""},500);var n=String.fromCharCode(e.which).toLowerCase(),t=this.element.find(".jstree-anchor").filter(":visible"),r=t.index(y.activeElement)||0,i=!1;if(1<(a+=n).length){if(t.slice(r).each(function(e,t){if(0===P(t).text().toLowerCase().indexOf(a))return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return;if(t.slice(0,r).each(function(e,t){if(0===P(t).text().toLowerCase().indexOf(a))return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return}if(new RegExp("^"+n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+"+$").test(a)){if(t.slice(r+1).each(function(e,t){if(P(t).text().toLowerCase().charAt(0)===n)return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return;if(t.slice(0,r+1).each(function(e,t){if(P(t).text().toLowerCase().charAt(0)===n)return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return}}.bind(this)).on("init.jstree",function(){var e=this.settings.core.themes;this._data.core.themes.dots=e.dots,this._data.core.themes.stripes=e.stripes,this._data.core.themes.icons=e.icons,this._data.core.themes.ellipsis=e.ellipsis,this.set_theme(e.name||"default",e.url),this.set_theme_variant(e.variant)}.bind(this)).on("loading.jstree",function(){this[this._data.core.themes.dots?"show_dots":"hide_dots"](),this[this._data.core.themes.icons?"show_icons":"hide_icons"](),this[this._data.core.themes.stripes?"show_stripes":"hide_stripes"](),this[this._data.core.themes.ellipsis?"show_ellipsis":"hide_ellipsis"]()}.bind(this)).on("blur.jstree",".jstree-anchor",function(e){this._data.core.focused=null,P(e.currentTarget).filter(".jstree-hovered").trigger("mouseleave"),this.element.attr("tabindex","0")}.bind(this)).on("focus.jstree",".jstree-anchor",function(e){var t=this.get_node(e.currentTarget);t&&t.id&&(this._data.core.focused=t.id),this.element.find(".jstree-hovered").not(e.currentTarget).trigger("mouseleave"),P(e.currentTarget).trigger("mouseenter"),this.element.attr("tabindex","-1")}.bind(this)).on("focus.jstree",function(){if(500<+new Date-t&&!this._data.core.focused&&this.settings.core.restore_focus){t=0;var e=this.get_node(this.element.attr("aria-activedescendant"),!0);e&&e.find("> .jstree-anchor").trigger("focus")}}.bind(this)).on("mouseenter.jstree",".jstree-anchor",function(e){this.hover_node(e.currentTarget)}.bind(this)).on("mouseleave.jstree",".jstree-anchor",function(e){this.dehover_node(e.currentTarget)}.bind(this))},unbind:function(){this.element.off(".jstree"),P(y).off(".jstree-"+this._id)},trigger:function(e,t){t||(t={}),(t.instance=this).element.triggerHandler(e.replace(".jstree","")+".jstree",t)},get_container:function(){return this.element},get_container_ul:function(){return this.element.children(".jstree-children").first()},get_string:function(e){var t=this.settings.core.strings;return P.vakata.is_function(t)?t.call(this,e):t&&t[e]?t[e]:e},_firstChild:function(e){for(e=e?e.firstChild:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return e},_nextSibling:function(e){for(e=e?e.nextSibling:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return e},_previousSibling:function(e){for(e=e?e.previousSibling:null;null!==e&&1!==e.nodeType;)e=e.previousSibling;return e},get_node:function(e,t){var n;e&&e.id&&(e=e.id),e instanceof P&&e.length&&e[0].id&&(e=e[0].id);try{if(this._model.data[e])e=this._model.data[e];else if("string"==typeof e&&this._model.data[e.replace(/^#/,"")])e=this._model.data[e.replace(/^#/,"")];else if("string"==typeof e&&(n=P("#"+e.replace(P.jstree.idregex,"\\$&"),this.element)).length&&this._model.data[n.closest(".jstree-node").attr("id")])e=this._model.data[n.closest(".jstree-node").attr("id")];else if((n=this.element.find(e)).length&&this._model.data[n.closest(".jstree-node").attr("id")])e=this._model.data[n.closest(".jstree-node").attr("id")];else{if(!(n=this.element.find(e)).length||!n.hasClass("jstree"))return!1;e=this._model.data[P.jstree.root]}return t&&(e=e.id===P.jstree.root?this.element:P("#"+e.id.replace(P.jstree.idregex,"\\$&"),this.element)),e}catch(e){return!1}},get_path:function(e,t,n){if(!(e=e.parents?e:this.get_node(e))||e.id===P.jstree.root||!e.parents)return!1;var r,i,a=[];for(a.push(n?e.id:e.text),r=0,i=e.parents.length;r<i;r++)a.push(n?e.parents[r]:this.get_text(e.parents[r]));return a=a.reverse().slice(1),t?a.join(t):a},get_next_dom:function(e,t){var n;if((e=this.get_node(e,!0))[0]===this.element[0]){for(n=this._firstChild(this.get_container_ul()[0]);n&&0===n.offsetHeight;)n=this._nextSibling(n);return!!n&&P(n)}if(!e||!e.length)return!1;if(t){for(n=e[0];(n=this._nextSibling(n))&&0===n.offsetHeight;);return!!n&&P(n)}if(e.hasClass("jstree-open")){for(n=this._firstChild(e.children(".jstree-children")[0]);n&&0===n.offsetHeight;)n=this._nextSibling(n);if(null!==n)return P(n)}for(n=e[0];(n=this._nextSibling(n))&&0===n.offsetHeight;);return null!==n?P(n):e.parentsUntil(".jstree",".jstree-node").nextAll(".jstree-node:visible").first()},get_prev_dom:function(e,t){var n;if((e=this.get_node(e,!0))[0]===this.element[0]){for(n=this.get_container_ul()[0].lastChild;n&&0===n.offsetHeight;)n=this._previousSibling(n);return!!n&&P(n)}if(!e||!e.length)return!1;if(t){for(n=e[0];(n=this._previousSibling(n))&&0===n.offsetHeight;);return!!n&&P(n)}for(n=e[0];(n=this._previousSibling(n))&&0===n.offsetHeight;);if(null===n)return!(!(n=e[0].parentNode.parentNode)||!n.className||-1===n.className.indexOf("jstree-node"))&&P(n);for(e=P(n);e.hasClass("jstree-open");)e=e.children(".jstree-children").first().children(".jstree-node:visible:last");return e},get_parent:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.parent},get_children_dom:function(e){return(e=this.get_node(e,!0))[0]===this.element[0]?this.get_container_ul().children(".jstree-node"):!(!e||!e.length)&&e.children(".jstree-children").children(".jstree-node")},is_parent:function(e){return(e=this.get_node(e))&&(!1===e.state.loaded||0<e.children.length)},is_loaded:function(e){return(e=this.get_node(e))&&e.state.loaded},is_loading:function(e){return(e=this.get_node(e))&&e.state&&e.state.loading},is_open:function(e){return(e=this.get_node(e))&&e.state.opened},is_closed:function(e){return(e=this.get_node(e))&&this.is_parent(e)&&!e.state.opened},is_leaf:function(e){return!this.is_parent(e)},load_node:function(o,s){var e,t,n,r,i;if(P.vakata.is_array(o))return this._load_nodes(o.slice(),s),!0;if(!(o=this.get_node(o)))return s&&s.call(this,o,!1),!1;if(o.state.loaded){for(o.state.loaded=!1,n=0,r=o.parents.length;n<r;n++)this._model.data[o.parents[n]].children_d=P.vakata.array_filter(this._model.data[o.parents[n]].children_d,function(e){return-1===P.inArray(e,o.children_d)});for(e=0,t=o.children_d.length;e<t;e++)this._model.data[o.children_d[e]].state.selected&&(i=!0),delete this._model.data[o.children_d[e]];i&&(this._data.core.selected=P.vakata.array_filter(this._data.core.selected,function(e){return-1===P.inArray(e,o.children_d)})),o.children=[],o.children_d=[],i&&this.trigger("changed",{action:"load_node",node:o,selected:this._data.core.selected})}return o.state.failed=!1,o.state.loading=!0,this.get_node(o,!0).addClass("jstree-loading").attr("aria-busy",!0),this._load_node(o,function(e){(o=this._model.data[o.id]).state.loading=!1,o.state.loaded=e,o.state.failed=!o.state.loaded;var t,n=this.get_node(o,!0),r=0,i=this._model.data,a=!1;for(r=0,t=o.children.length;r<t;r++)if(i[o.children[r]]&&!i[o.children[r]].state.hidden){a=!0;break}o.state.loaded&&n&&n.length&&(n.removeClass("jstree-closed jstree-open jstree-leaf"),a?"#"!==o.id&&n.addClass(o.state.opened?"jstree-open":"jstree-closed"):n.addClass("jstree-leaf")),n.removeClass("jstree-loading").attr("aria-busy",!1),this.trigger("load_node",{node:o,status:e}),s&&s.call(this,o,e)}.bind(this)),!0},_load_nodes:function(e,t,n,r){var i,a,o=!0,s=function(){this._load_nodes(e,t,!0)},c=this._model.data,l=[];for(i=0,a=e.length;i<a;i++)c[e[i]]&&(!c[e[i]].state.loaded&&!c[e[i]].state.failed||!n&&r)&&(this.is_loading(e[i])||this.load_node(e[i],s),o=!1);if(o){for(i=0,a=e.length;i<a;i++)c[e[i]]&&c[e[i]].state.loaded&&l.push(e[i]);t&&!t.done&&(t.call(this,l),t.done=!0)}},load_all:function(e,t){if(e||(e=P.jstree.root),!(e=this.get_node(e)))return!1;var n,r,i=[],a=this._model.data,o=a[e.id].children_d;for(e.state&&!e.state.loaded&&i.push(e.id),n=0,r=o.length;n<r;n++)a[o[n]]&&a[o[n]].state&&!a[o[n]].state.loaded&&i.push(o[n]);i.length?this._load_nodes(i,function(){this.load_all(e,t)}):(t&&t.call(this,e),this.trigger("load_all",{node:e}))},_load_node:function(i,a){var e,t=this.settings.core.data,o=function(){return 3!==this.nodeType&&8!==this.nodeType};return t?P.vakata.is_function(t)?t.call(this,i,function(e){!1===e?a.call(this,!1):this["string"==typeof e?"_append_html_data":"_append_json_data"](i,"string"==typeof e?P(P.parseHTML(e)).filter(o):e,function(e){a.call(this,e)})}.bind(this)):"object"==typeof t?t.url?(t=P.extend(!0,{},t),P.vakata.is_function(t.url)&&(t.url=t.url.call(this,i)),P.vakata.is_function(t.data)&&(t.data=t.data.call(this,i)),P.ajax(t).done(function(e,t,n){var r=n.getResponseHeader("Content-Type");return r&&-1!==r.indexOf("json")||"object"==typeof e?this._append_json_data(i,e,function(e){a.call(this,e)}):r&&-1!==r.indexOf("html")||"string"==typeof e?this._append_html_data(i,P(P.parseHTML(e)).filter(o),function(e){a.call(this,e)}):(this._data.core.last_error={error:"ajax",plugin:"core",id:"core_04",reason:"Could not load node",data:JSON.stringify({id:i.id,xhr:n})},this.settings.core.error.call(this,this._data.core.last_error),a.call(this,!1))}.bind(this)).fail(function(e){this._data.core.last_error={error:"ajax",plugin:"core",id:"core_04",reason:"Could not load node",data:JSON.stringify({id:i.id,xhr:e})},a.call(this,!1),this.settings.core.error.call(this,this._data.core.last_error)}.bind(this))):(e=P.vakata.is_array(t)?P.extend(!0,[],t):P.isPlainObject(t)?P.extend(!0,{},t):t,i.id===P.jstree.root?this._append_json_data(i,e,function(e){a.call(this,e)}):(this._data.core.last_error={error:"nodata",plugin:"core",id:"core_05",reason:"Could not load node",data:JSON.stringify({id:i.id})},this.settings.core.error.call(this,this._data.core.last_error),a.call(this,!1))):"string"==typeof t?i.id===P.jstree.root?this._append_html_data(i,P(P.parseHTML(t)).filter(o),function(e){a.call(this,e)}):(this._data.core.last_error={error:"nodata",plugin:"core",id:"core_06",reason:"Could not load node",data:JSON.stringify({id:i.id})},this.settings.core.error.call(this,this._data.core.last_error),a.call(this,!1)):a.call(this,!1):i.id===P.jstree.root?this._append_html_data(i,this._data.core.original_container_html.clone(!0),function(e){a.call(this,e)}):a.call(this,!1)},_node_changed:function(e){(e=this.get_node(e))&&-1===P.inArray(e.id,this._model.changed)&&this._model.changed.push(e.id)},_append_html_data:function(e,t,n){(e=this.get_node(e)).children=[],e.children_d=[];var r,i,a,o=t.is("ul")?t.children():t,s=e.id,c=[],l=[],u=this._model.data,f=u[s],d=this._data.core.selected.length;for(o.each(function(e,t){(r=this._parse_model_from_html(P(t),s,f.parents.concat()))&&(c.push(r),l.push(r),u[r].children_d.length&&(l=l.concat(u[r].children_d)))}.bind(this)),f.children=c,f.children_d=l,i=0,a=f.parents.length;i<a;i++)u[f.parents[i]].children_d=u[f.parents[i]].children_d.concat(l);this.trigger("model",{nodes:l,parent:s}),s!==P.jstree.root?(this._node_changed(s),this.redraw()):(this.get_container_ul().children(".jstree-initial-node").remove(),this.redraw(!0)),this._data.core.selected.length!==d&&this.trigger("changed",{action:"model",selected:this._data.core.selected}),n.call(this,!0)},_append_json_data:function(e,t,c,n){if(null!==this.element){(e=this.get_node(e)).children=[],e.children_d=[],t.d&&"string"==typeof(t=t.d)&&(t=JSON.parse(t)),P.vakata.is_array(t)||(t=[t]);var r=null,i={df:this._model.default_state,dat:t,par:e.id,m:this._model.data,t_id:this._id,t_cnt:this._cnt,sel:this._data.core.selected},v=this,a=function(e,l){e.data&&(e=e.data);var t,n,r,i,a=e.dat,o=e.par,s=[],c=[],u=[],f=e.df,d=e.t_id,h=e.t_cnt,p=e.m,m=p[o],g=e.sel,_=function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);var r,i,a,o,s=e.id.toString(),c={id:s,text:e.text||"",icon:e.icon===l||e.icon,parent:t,parents:n,children:e.children||[],children_d:e.children_d||[],data:e.data,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(r in f)f.hasOwnProperty(r)&&(c.state[r]=f[r]);if(e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(c.icon=e.data.jstree.icon),c.icon!==l&&null!==c.icon&&""!==c.icon||(c.icon=!0),e&&e.data&&(c.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(c.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(c.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(c.li_attr[r]=e.li_attr[r]);if(c.li_attr.id||(c.li_attr.id=s),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(c.a_attr[r]=e.a_attr[r]);for(e&&e.children&&!0===e.children&&(c.state.loaded=!1,c.children=[],c.children_d=[]),r=0,i=(p[c.id]=c).children.length;r<i;r++)a=_(p[c.children[r]],c.id,n),o=p[a],c.children_d.push(a),o.children_d.length&&(c.children_d=c.children_d.concat(o.children_d));return delete e.data,delete e.children,p[c.id].original=e,c.state.selected&&u.push(c.id),c.id},b=function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);for(var r,i,a,o,s,c=!1;c="j"+d+"_"+ ++h,p[c];);for(r in s={id:!1,text:"string"==typeof e?e:"",icon:"object"!=typeof e||e.icon===l||e.icon,parent:t,parents:n,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1},f)f.hasOwnProperty(r)&&(s.state[r]=f[r]);if(e&&e.id&&(s.id=e.id.toString()),e&&e.text&&(s.text=e.text),e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(s.icon=e.data.jstree.icon),s.icon!==l&&null!==s.icon&&""!==s.icon||(s.icon=!0),e&&e.data&&(s.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(s.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(s.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(s.li_attr[r]=e.li_attr[r]);if(s.li_attr.id&&!s.id&&(s.id=s.li_attr.id.toString()),s.id||(s.id=c),s.li_attr.id||(s.li_attr.id=s.id),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(s.a_attr[r]=e.a_attr[r]);if(e&&e.children&&e.children.length){for(r=0,i=e.children.length;r<i;r++)a=b(e.children[r],s.id,n),o=p[a],s.children.push(a),o.children_d.length&&(s.children_d=s.children_d.concat(o.children_d));s.children_d=s.children_d.concat(s.children)}return e&&e.children&&!0===e.children&&(s.state.loaded=!1,s.children=[],s.children_d=[]),delete e.data,delete e.children,s.original=e,(p[s.id]=s).state.selected&&u.push(s.id),s.id};if(a.length&&a[0].id!==l&&a[0].parent!==l){for(n=0,r=a.length;n<r;n++)a[n].children||(a[n].children=[]),a[n].state||(a[n].state={}),p[a[n].id.toString()]=a[n];for(n=0,r=a.length;n<r;n++)p[a[n].parent.toString()]?(p[a[n].parent.toString()].children.push(a[n].id.toString()),m.children_d.push(a[n].id.toString())):void 0!==v&&(v._data.core.last_error={error:"parse",plugin:"core",id:"core_07",reason:"Node with invalid parent",data:JSON.stringify({id:a[n].id.toString(),parent:a[n].parent.toString()})},v.settings.core.error.call(v,v._data.core.last_error));for(n=0,r=m.children.length;n<r;n++)t=_(p[m.children[n]],o,m.parents.concat()),c.push(t),p[t].children_d.length&&(c=c.concat(p[t].children_d));for(n=0,r=m.parents.length;n<r;n++)p[m.parents[n]].children_d=p[m.parents[n]].children_d.concat(c);i={cnt:h,mod:p,sel:g,par:o,dpc:c,add:u}}else{for(n=0,r=a.length;n<r;n++)(t=b(a[n],o,m.parents.concat()))&&(s.push(t),c.push(t),p[t].children_d.length&&(c=c.concat(p[t].children_d)));for(m.children=s,m.children_d=c,n=0,r=m.parents.length;n<r;n++)p[m.parents[n]].children_d=p[m.parents[n]].children_d.concat(c);i={cnt:h,mod:p,sel:g,par:o,dpc:c,add:u}}if("undefined"!=typeof window&&void 0!==window.document)return i;postMessage(i)},o=function(e,t){if(null!==this.element){this._cnt=e.cnt;var n,r=this._model.data;for(n in r)r.hasOwnProperty(n)&&r[n].state&&r[n].state.loading&&e.mod[n]&&(e.mod[n].state.loading=!0);if(this._model.data=e.mod,t){var i,a=e.add,o=e.sel,s=this._data.core.selected.slice();if(r=this._model.data,o.length!==s.length||P.vakata.array_unique(o.concat(s)).length!==o.length){for(n=0,i=o.length;n<i;n++)-1===P.inArray(o[n],a)&&-1===P.inArray(o[n],s)&&(r[o[n]].state.selected=!1);for(n=0,i=s.length;n<i;n++)-1===P.inArray(s[n],o)&&(r[s[n]].state.selected=!0)}}e.add.length&&(this._data.core.selected=this._data.core.selected.concat(e.add)),this.trigger("model",{nodes:e.dpc,parent:e.par}),e.par!==P.jstree.root?(this._node_changed(e.par),this.redraw()):this.redraw(!0),e.add.length&&this.trigger("changed",{action:"model",selected:this._data.core.selected}),!t&&l?l(function(){c.call(v,!0)}):c.call(v,!0)}};if(this.settings.core.worker&&window.Blob&&window.URL&&window.Worker)try{null===this._wrk&&(this._wrk=window.URL.createObjectURL(new window.Blob(["self.onmessage = "+a.toString()],{type:"text/javascript"}))),!this._data.core.working||n?(this._data.core.working=!0,(r=new window.Worker(this._wrk)).onmessage=function(e){o.call(this,e.data,!0);try{r.terminate(),r=null}catch(e){}this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1}.bind(this),i.par?r.postMessage(i):this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1):this._data.core.worker_queue.push([e,t,c,!0])}catch(e){o.call(this,a(i),!1),this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1}else o.call(this,a(i),!1)}},_parse_model_from_html:function(e,t,n){n=n?[].concat(n):[],t&&n.unshift(t);var r,i,a,o,s,c=this._model.data,l={id:!1,text:!1,icon:!0,parent:t,parents:n,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(a in this._model.default_state)this._model.default_state.hasOwnProperty(a)&&(l.state[a]=this._model.default_state[a]);if(o=P.vakata.attributes(e,!0),P.each(o,function(e,t){if(!(t=P.vakata.trim(t)).length)return!0;l.li_attr[e]=t,"id"===e&&(l.id=t.toString())}),(o=e.children("a").first()).length&&(o=P.vakata.attributes(o,!0),P.each(o,function(e,t){(t=P.vakata.trim(t)).length&&(l.a_attr[e]=t)})),(o=e.children("a").first().length?e.children("a").first().clone():e.clone()).children("ins, i, ul").remove(),o=o.html(),o=P("<div></div>").html(o),l.text=this.settings.core.force_text?o.text():o.html(),o=e.data(),l.data=o?P.extend(!0,{},o):null,l.state.opened=e.hasClass("jstree-open"),l.state.selected=e.children("a").hasClass("jstree-clicked"),l.state.disabled=e.children("a").hasClass("jstree-disabled"),l.data&&l.data.jstree)for(a in l.data.jstree)l.data.jstree.hasOwnProperty(a)&&(l.state[a]=l.data.jstree[a]);for((o=e.children("a").children(".jstree-themeicon")).length&&(l.icon=!o.hasClass("jstree-themeicon-hidden")&&o.attr("rel")),l.state.icon!==M&&(l.icon=l.state.icon),l.icon!==M&&null!==l.icon&&""!==l.icon||(l.icon=!0),o=e.children("ul").children("li");c[s="j"+this._id+"_"+ ++this._cnt];);return l.id=l.li_attr.id?l.li_attr.id.toString():s,o.length?(o.each(function(e,t){r=this._parse_model_from_html(P(t),l.id,n),i=this._model.data[r],l.children.push(r),i.children_d.length&&(l.children_d=l.children_d.concat(i.children_d))}.bind(this)),l.children_d=l.children_d.concat(l.children)):e.hasClass("jstree-closed")&&(l.state.loaded=!1),l.li_attr.class&&(l.li_attr.class=l.li_attr.class.replace("jstree-closed","").replace("jstree-open","")),l.a_attr.class&&(l.a_attr.class=l.a_attr.class.replace("jstree-clicked","").replace("jstree-disabled","")),(c[l.id]=l).state.selected&&this._data.core.selected.push(l.id),l.id},_parse_model_from_flat_json:function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);var r,i,a,o,s=e.id.toString(),c=this._model.data,l=this._model.default_state,u={id:s,text:e.text||"",icon:e.icon===M||e.icon,parent:t,parents:n,children:e.children||[],children_d:e.children_d||[],data:e.data,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(r in l)l.hasOwnProperty(r)&&(u.state[r]=l[r]);if(e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(u.icon=e.data.jstree.icon),u.icon!==M&&null!==u.icon&&""!==u.icon||(u.icon=!0),e&&e.data&&(u.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(u.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(u.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(u.li_attr[r]=e.li_attr[r]);if(u.li_attr.id||(u.li_attr.id=s),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(u.a_attr[r]=e.a_attr[r]);for(e&&e.children&&!0===e.children&&(u.state.loaded=!1,u.children=[],u.children_d=[]),r=0,i=(c[u.id]=u).children.length;r<i;r++)o=c[a=this._parse_model_from_flat_json(c[u.children[r]],u.id,n)],u.children_d.push(a),o.children_d.length&&(u.children_d=u.children_d.concat(o.children_d));return delete e.data,delete e.children,c[u.id].original=e,u.state.selected&&this._data.core.selected.push(u.id),u.id},_parse_model_from_json:function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);for(var r,i,a,o,s,c=!1,l=this._model.data,u=this._model.default_state;l[c="j"+this._id+"_"+ ++this._cnt];);for(r in s={id:!1,text:"string"==typeof e?e:"",icon:"object"!=typeof e||e.icon===M||e.icon,parent:t,parents:n,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1},u)u.hasOwnProperty(r)&&(s.state[r]=u[r]);if(e&&e.id&&(s.id=e.id.toString()),e&&e.text&&(s.text=e.text),e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(s.icon=e.data.jstree.icon),s.icon!==M&&null!==s.icon&&""!==s.icon||(s.icon=!0),e&&e.data&&(s.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(s.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(s.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(s.li_attr[r]=e.li_attr[r]);if(s.li_attr.id&&!s.id&&(s.id=s.li_attr.id.toString()),s.id||(s.id=c),s.li_attr.id||(s.li_attr.id=s.id),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(s.a_attr[r]=e.a_attr[r]);if(e&&e.children&&e.children.length){for(r=0,i=e.children.length;r<i;r++)o=l[a=this._parse_model_from_json(e.children[r],s.id,n)],s.children.push(a),o.children_d.length&&(s.children_d=s.children_d.concat(o.children_d));s.children_d=s.children.concat(s.children_d)}return e&&e.children&&!0===e.children&&(s.state.loaded=!1,s.children=[],s.children_d=[]),delete e.data,delete e.children,s.original=e,(l[s.id]=s).state.selected&&this._data.core.selected.push(s.id),s.id},_redraw:function(){var e,t,n,r=this._model.force_full_redraw?this._model.data[P.jstree.root].children.concat([]):this._model.changed.concat([]),i=y.createElement("UL"),a=this._data.core.focused;for(t=0,n=r.length;t<n;t++)(e=this.redraw_node(r[t],!0,this._model.force_full_redraw))&&this._model.force_full_redraw&&i.appendChild(e);this._model.force_full_redraw&&(i.className=this.get_container_ul()[0].className,i.setAttribute("role","group"),this.element.empty().append(i)),null!==a&&this.settings.core.restore_focus&&((e=this.get_node(a,!0))&&e.length&&e.children(".jstree-anchor")[0]!==y.activeElement?e.children(".jstree-anchor").trigger("focus"):this._data.core.focused=null),this._model.force_full_redraw=!1,this._model.changed=[],this.trigger("redraw",{nodes:r})},redraw:function(e){e&&(this._model.force_full_redraw=!0),this._redraw()},draw_children:function(e){var t=this.get_node(e),n=!1,r=!1,i=!1,a=y;if(!t)return!1;if(t.id===P.jstree.root)return this.redraw(!0);if(!(e=this.get_node(e,!0))||!e.length)return!1;if(e.children(".jstree-children").remove(),e=e[0],t.children.length&&t.state.loaded){for((i=a.createElement("UL")).setAttribute("role","group"),i.className="jstree-children",n=0,r=t.children.length;n<r;n++)i.appendChild(this.redraw_node(t.children[n],!0,!0));e.appendChild(i)}},redraw_node:function(e,t,n,r){var i=this.get_node(e),a=!1,o=!1,s=!1,c=!1,l=!1,u=!1,f="",d=y,h=this._model.data,p=!1,m=null,g=0,_=0,b=!1,v=!1;if(!i)return!1;if(i.id===P.jstree.root)return this.redraw(!0);if(t=t||0===i.children.length,e=y.querySelector?this.element[0].querySelector("#"+(-1!=="0123456789".indexOf(i.id[0])?"\\3"+i.id[0]+" "+i.id.substr(1).replace(P.jstree.idregex,"\\$&"):i.id.replace(P.jstree.idregex,"\\$&"))):y.getElementById(i.id))e=P(e),n||((a=e.parent().parent()[0])===this.element[0]&&(a=null),o=e.index()),t||!i.children.length||e.children(".jstree-children").length||(t=!0),t||(s=e.children(".jstree-children")[0]),p=e.children(".jstree-anchor")[0]===y.activeElement,e.remove();else if(t=!0,!n){if(!(null===(a=i.parent!==P.jstree.root?P("#"+i.parent.replace(P.jstree.idregex,"\\$&"),this.element)[0]:null)||a&&h[i.parent].state.opened))return!1;o=P.inArray(i.id,null===a?h[P.jstree.root].children:h[i.parent].children)}for(c in e=this._data.core.node.cloneNode(!0),f="jstree-node ",i.li_attr)if(i.li_attr.hasOwnProperty(c)){if("id"===c)continue;"class"!==c?e.setAttribute(c,i.li_attr[c]):f+=i.li_attr[c]}for(i.a_attr.id||(i.a_attr.id=i.id+"_anchor"),e.childNodes[1].setAttribute("aria-selected",!!i.state.selected),e.childNodes[1].setAttribute("aria-level",i.parents.length),this.settings.core.compute_elements_positions&&(e.childNodes[1].setAttribute("aria-setsize",h[i.parent].children.length),e.childNodes[1].setAttribute("aria-posinset",h[i.parent].children.indexOf(i.id)+1)),i.state.disabled&&e.childNodes[1].setAttribute("aria-disabled",!0),c=0,l=i.children.length;c<l;c++)if(!h[i.children[c]].state.hidden){b=!0;break}if(null!==i.parent&&h[i.parent]&&!i.state.hidden&&(c=P.inArray(i.id,h[i.parent].children),v=i.id,-1!==c))for(c++,l=h[i.parent].children.length;c<l&&(h[h[i.parent].children[c]].state.hidden||(v=h[i.parent].children[c]),v===i.id);c++);for(l in i.state.hidden&&(f+=" jstree-hidden"),i.state.loading&&(f+=" jstree-loading"),i.state.loaded&&!b?f+=" jstree-leaf":(f+=i.state.opened&&i.state.loaded?" jstree-open":" jstree-closed",e.childNodes[1].setAttribute("aria-expanded",i.state.opened&&i.state.loaded)),v===i.id&&(f+=" jstree-last"),e.id=i.id,e.className=f,f=(i.state.selected?" jstree-clicked":"")+(i.state.disabled?" jstree-disabled":""),i.a_attr)if(i.a_attr.hasOwnProperty(l)){if("href"===l&&"#"===i.a_attr[l])continue;"class"!==l?e.childNodes[1].setAttribute(l,i.a_attr[l]):f+=" "+i.a_attr[l]}if(f.length&&(e.childNodes[1].className="jstree-anchor "+f),(i.icon&&!0!==i.icon||!1===i.icon)&&(!1===i.icon?e.childNodes[1].childNodes[0].className+=" jstree-themeicon-hidden":-1===i.icon.indexOf("/")&&-1===i.icon.indexOf(".")?e.childNodes[1].childNodes[0].className+=" "+i.icon+" jstree-themeicon-custom":(e.childNodes[1].childNodes[0].style.backgroundImage='url("'+i.icon+'")',e.childNodes[1].childNodes[0].style.backgroundPosition="center center",e.childNodes[1].childNodes[0].style.backgroundSize="auto",e.childNodes[1].childNodes[0].className+=" jstree-themeicon-custom")),this.settings.core.force_text?e.childNodes[1].appendChild(d.createTextNode(i.text)):e.childNodes[1].innerHTML+=i.text,t&&i.children.length&&(i.state.opened||r)&&i.state.loaded){for((u=d.createElement("UL")).setAttribute("role","group"),u.className="jstree-children",c=0,l=i.children.length;c<l;c++)u.appendChild(this.redraw_node(i.children[c],t,!0));e.appendChild(u)}if(s&&e.appendChild(s),!n){for(a||(a=this.element[0]),c=0,l=a.childNodes.length;c<l;c++)if(a.childNodes[c]&&a.childNodes[c].className&&-1!==a.childNodes[c].className.indexOf("jstree-children")){m=a.childNodes[c];break}m||((m=d.createElement("UL")).setAttribute("role","group"),m.className="jstree-children",a.appendChild(m)),o<(a=m).childNodes.length?a.insertBefore(e,a.childNodes[o]):a.appendChild(e),p&&(g=this.element[0].scrollTop,_=this.element[0].scrollLeft,e.childNodes[1].focus(),this.element[0].scrollTop=g,this.element[0].scrollLeft=_)}return i.state.opened&&!i.state.loaded&&(i.state.opened=!1,setTimeout(function(){this.open_node(i.id,!1,0)}.bind(this),0)),e},open_node:function(e,n,r){var t,i,a,o;if(P.vakata.is_array(e)){for(t=0,i=(e=e.slice()).length;t<i;t++)this.open_node(e[t],n,r);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(r=r===M?this.settings.core.animation:r,this.is_closed(e)?this.is_loaded(e)?(a=this.get_node(e,!0),o=this,a.length&&(r&&a.children(".jstree-children").length&&a.children(".jstree-children").stop(!0,!0),e.children.length&&!this._firstChild(a.children(".jstree-children")[0])&&this.draw_children(e),r?(this.trigger("before_open",{node:e}),a.children(".jstree-children").css("display","none").end().removeClass("jstree-closed").addClass("jstree-open").children(".jstree-anchor").attr("aria-expanded",!0).end().children(".jstree-children").stop(!0,!0).slideDown(r,function(){this.style.display="",o.element&&o.trigger("after_open",{node:e})})):(this.trigger("before_open",{node:e}),a[0].className=a[0].className.replace("jstree-closed","jstree-open"),a[0].childNodes[1].setAttribute("aria-expanded",!0))),e.state.opened=!0,n&&n.call(this,e,!0),a.length||this.trigger("before_open",{node:e}),this.trigger("open_node",{node:e}),r&&a.length||this.trigger("after_open",{node:e}),!0):this.is_loading(e)?setTimeout(function(){this.open_node(e,n,r)}.bind(this),500):void this.load_node(e,function(e,t){return t?this.open_node(e,n,r):!!n&&n.call(this,e,!1)}):(n&&n.call(this,e,!1),!1))},_open_to:function(e){if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;var t,n,r=e.parents;for(t=0,n=r.length;t<n;t+=1)t!==P.jstree.root&&this.open_node(r[t],!1,0);return P("#"+e.id.replace(P.jstree.idregex,"\\$&"),this.element)},close_node:function(e,t){var n,r,i,a;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.close_node(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(!this.is_closed(e)&&(t=t===M?this.settings.core.animation:t,a=(i=this).get_node(e,!0),e.state.opened=!1,this.trigger("close_node",{node:e}),void(a.length?t?a.children(".jstree-children").attr("style","display:block !important").end().removeClass("jstree-open").addClass("jstree-closed").children(".jstree-anchor").attr("aria-expanded",!1).end().children(".jstree-children").stop(!0,!0).slideUp(t,function(){this.style.display="",a.children(".jstree-children").remove(),i.element&&i.trigger("after_close",{node:e})}):(a[0].className=a[0].className.replace("jstree-open","jstree-closed"),a.children(".jstree-anchor").attr("aria-expanded",!1),a.children(".jstree-children").remove(),this.trigger("after_close",{node:e})):this.trigger("after_close",{node:e}))))},toggle_node:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.toggle_node(e[t]);return!0}return this.is_closed(e)?this.open_node(e):this.is_open(e)?this.close_node(e):void 0},open_all:function(e,n,r){if(e||(e=P.jstree.root),!(e=this.get_node(e)))return!1;var t,i,a,o=e.id===P.jstree.root?this.get_container_ul():this.get_node(e,!0);if(!o.length){for(t=0,i=e.children_d.length;t<i;t++)this.is_closed(this._model.data[e.children_d[t]])&&(this._model.data[e.children_d[t]].state.opened=!0);return this.trigger("open_all",{node:e})}r=r||o,(o=(a=this).is_closed(e)?o.find(".jstree-closed").addBack():o.find(".jstree-closed")).each(function(){a.open_node(this,function(e,t){t&&this.is_parent(e)&&this.open_all(e,n,r)},n||0)}),0===r.find(".jstree-closed").length&&this.trigger("open_all",{node:this.get_node(r)})},close_all:function(e,t){if(e||(e=P.jstree.root),!(e=this.get_node(e)))return!1;var n,r,i=e.id===P.jstree.root?this.get_container_ul():this.get_node(e,!0),a=this;for(i.length&&(i=this.is_open(e)?i.find(".jstree-open").addBack():i.find(".jstree-open"),P(i.get().reverse()).each(function(){a.close_node(this,t||0)})),n=0,r=e.children_d.length;n<r;n++)this._model.data[e.children_d[n]].state.opened=!1;this.trigger("close_all",{node:e})},is_disabled:function(e){return(e=this.get_node(e))&&e.state&&e.state.disabled},enable_node:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.enable_node(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.disabled=!1,this.get_node(e,!0).children(".jstree-anchor").removeClass("jstree-disabled").attr("aria-disabled",!1),this.trigger("enable_node",{node:e})},disable_node:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.disable_node(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.disabled=!0,this.get_node(e,!0).children(".jstree-anchor").addClass("jstree-disabled").attr("aria-disabled",!0),this.trigger("disable_node",{node:e})},is_hidden:function(e){return!0===(e=this.get_node(e)).state.hidden},hide_node:function(e,t){var n,r;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.hide_node(e[n],!0);return t||this.redraw(),!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.hidden||(e.state.hidden=!0,this._node_changed(e.parent),t||this.redraw(),this.trigger("hide_node",{node:e}))},show_node:function(e,t){var n,r;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.show_node(e[n],!0);return t||this.redraw(),!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.hidden&&(e.state.hidden=!1,this._node_changed(e.parent),t||this.redraw(),this.trigger("show_node",{node:e}))},hide_all:function(e){var t,n=this._model.data,r=[];for(t in n)n.hasOwnProperty(t)&&t!==P.jstree.root&&!n[t].state.hidden&&(n[t].state.hidden=!0,r.push(t));return this._model.force_full_redraw=!0,e||this.redraw(),this.trigger("hide_all",{nodes:r}),r},show_all:function(e){var t,n=this._model.data,r=[];for(t in n)n.hasOwnProperty(t)&&t!==P.jstree.root&&n[t].state.hidden&&(n[t].state.hidden=!1,r.push(t));return this._model.force_full_redraw=!0,e||this.redraw(),this.trigger("show_all",{nodes:r}),r},activate_node:function(e,t){if(this.is_disabled(e))return!1;if(t&&"object"==typeof t||(t={}),this._data.core.last_clicked=this._data.core.last_clicked&&this._data.core.last_clicked.id!==M?this.get_node(this._data.core.last_clicked.id):null,this._data.core.last_clicked&&!this._data.core.last_clicked.state.selected&&(this._data.core.last_clicked=null),!this._data.core.last_clicked&&this._data.core.selected.length&&(this._data.core.last_clicked=this.get_node(this._data.core.selected[this._data.core.selected.length-1])),this.settings.core.multiple&&(t.metaKey||t.ctrlKey||t.shiftKey)&&(!t.shiftKey||this._data.core.last_clicked&&this.get_parent(e)&&this.get_parent(e)===this._data.core.last_clicked.parent))if(t.shiftKey){var n,r,i=this.get_node(e).id,a=this._data.core.last_clicked.id,o=this.get_node(this._data.core.last_clicked.parent).children,s=!1;for(n=0,r=o.length;n<r;n+=1)o[n]===i&&(s=!s),o[n]===a&&(s=!s),this.is_disabled(o[n])||!s&&o[n]!==i&&o[n]!==a?this.deselect_node(o[n],!0,t):this.is_hidden(o[n])||this.select_node(o[n],!0,!1,t);this.trigger("changed",{action:"select_node",node:this.get_node(e),selected:this._data.core.selected,event:t})}else this.is_selected(e)?this.deselect_node(e,!1,t):this.select_node(e,!1,!1,t);else!this.settings.core.multiple&&(t.metaKey||t.ctrlKey||t.shiftKey)&&this.is_selected(e)?this.deselect_node(e,!1,t):(this.deselect_all(!0),this.select_node(e,!1,!1,t),this._data.core.last_clicked=this.get_node(e));this.trigger("activate_node",{node:this.get_node(e),event:t})},hover_node:function(e){if(!(e=this.get_node(e,!0))||!e.length||e.children(".jstree-hovered").length)return!1;var t=this.element.find(".jstree-hovered"),n=this.element;t&&t.length&&this.dehover_node(t),e.children(".jstree-anchor").addClass("jstree-hovered"),this.trigger("hover_node",{node:this.get_node(e)}),setTimeout(function(){n.attr("aria-activedescendant",e[0].id)},0)},dehover_node:function(e){if(!(e=this.get_node(e,!0))||!e.length||!e.children(".jstree-hovered").length)return!1;e.children(".jstree-anchor").removeClass("jstree-hovered"),this.trigger("dehover_node",{node:this.get_node(e)})},select_node:function(e,t,n,r){var i,a,o;if(P.vakata.is_array(e)){for(a=0,o=(e=e.slice()).length;a<o;a++)this.select_node(e[a],t,n,r);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;i=this.get_node(e,!0),e.state.selected||(e.state.selected=!0,this._data.core.selected.push(e.id),n||(i=this._open_to(e)),i&&i.length&&i.children(".jstree-anchor").addClass("jstree-clicked").attr("aria-selected",!0),this.trigger("select_node",{node:e,selected:this._data.core.selected,event:r}),t||this.trigger("changed",{action:"select_node",node:e,selected:this._data.core.selected,event:r}))},deselect_node:function(e,t,n){var r,i,a;if(P.vakata.is_array(e)){for(r=0,i=(e=e.slice()).length;r<i;r++)this.deselect_node(e[r],t,n);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;a=this.get_node(e,!0),e.state.selected&&(e.state.selected=!1,this._data.core.selected=P.vakata.array_remove_item(this._data.core.selected,e.id),a.length&&a.children(".jstree-anchor").removeClass("jstree-clicked").attr("aria-selected",!1),this.trigger("deselect_node",{node:e,selected:this._data.core.selected,event:n}),t||this.trigger("changed",{action:"deselect_node",node:e,selected:this._data.core.selected,event:n}))},select_all:function(e){var t,n,r=this._data.core.selected.concat([]);for(this._data.core.selected=this._model.data[P.jstree.root].children_d.concat(),t=0,n=this._data.core.selected.length;t<n;t++)this._model.data[this._data.core.selected[t]]&&(this._model.data[this._data.core.selected[t]].state.selected=!0);this.redraw(!0),this.trigger("select_all",{selected:this._data.core.selected}),e||this.trigger("changed",{action:"select_all",selected:this._data.core.selected,old_selection:r})},deselect_all:function(e){var t,n,r=this._data.core.selected.concat([]);for(t=0,n=this._data.core.selected.length;t<n;t++)this._model.data[this._data.core.selected[t]]&&(this._model.data[this._data.core.selected[t]].state.selected=!1);this._data.core.selected=[],this.element.find(".jstree-clicked").removeClass("jstree-clicked").attr("aria-selected",!1),this.trigger("deselect_all",{selected:this._data.core.selected,node:r}),e||this.trigger("changed",{action:"deselect_all",selected:this._data.core.selected,old_selection:r})},is_selected:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.state.selected},get_selected:function(e){return e?P.map(this._data.core.selected,function(e){return this.get_node(e)}.bind(this)):this._data.core.selected.slice()},get_top_selected:function(e){var t,n,r,i,a=this.get_selected(!0),o={};for(t=0,n=a.length;t<n;t++)o[a[t].id]=a[t];for(t=0,n=a.length;t<n;t++)for(r=0,i=a[t].children_d.length;r<i;r++)o[a[t].children_d[r]]&&delete o[a[t].children_d[r]];for(t in a=[],o)o.hasOwnProperty(t)&&a.push(t);return e?P.map(a,function(e){return this.get_node(e)}.bind(this)):a},get_bottom_selected:function(e){var t,n,r=this.get_selected(!0),i=[];for(t=0,n=r.length;t<n;t++)r[t].children.length||i.push(r[t].id);return e?P.map(i,function(e){return this.get_node(e)}.bind(this)):i},get_state:function(){var e,t={core:{open:[],loaded:[],scroll:{left:this.element.scrollLeft(),top:this.element.scrollTop()},selected:[]}};for(e in this._model.data)this._model.data.hasOwnProperty(e)&&e!==P.jstree.root&&(this._model.data[e].state.loaded&&this.settings.core.loaded_state&&t.core.loaded.push(e),this._model.data[e].state.opened&&t.core.open.push(e),this._model.data[e].state.selected&&t.core.selected.push(e));return t},set_state:function(t,n){if(t){if(t.core&&t.core.selected&&t.core.initial_selection===M&&(t.core.initial_selection=this._data.core.selected.concat([]).sort().join(",")),t.core){var r,e;if(t.core.loaded)return this.settings.core.loaded_state&&P.vakata.is_array(t.core.loaded)&&t.core.loaded.length?this._load_nodes(t.core.loaded,function(e){delete t.core.loaded,this.set_state(t,n)}):(delete t.core.loaded,this.set_state(t,n)),!1;if(t.core.open)return P.vakata.is_array(t.core.open)&&t.core.open.length?this._load_nodes(t.core.open,function(e){this.open_node(e,!1,0),delete t.core.open,this.set_state(t,n)}):(delete t.core.open,this.set_state(t,n)),!1;if(t.core.scroll)return t.core.scroll&&t.core.scroll.left!==M&&this.element.scrollLeft(t.core.scroll.left),t.core.scroll&&t.core.scroll.top!==M&&this.element.scrollTop(t.core.scroll.top),delete t.core.scroll,this.set_state(t,n),!1;if(t.core.selected)return r=this,t.core.initial_selection!==M&&t.core.initial_selection!==this._data.core.selected.concat([]).sort().join(",")||(this.deselect_all(),P.each(t.core.selected,function(e,t){r.select_node(t,!1,!0)})),delete t.core.initial_selection,delete t.core.selected,this.set_state(t,n),!1;for(e in t)t.hasOwnProperty(e)&&"core"!==e&&-1===P.inArray(e,this.settings.plugins)&&delete t[e];if(P.isEmptyObject(t.core))return delete t.core,this.set_state(t,n),!1}return!P.isEmptyObject(t)||(t=null,n&&n.call(this),this.trigger("set_state"),!1)}return!1},refresh:function(e,t){this._data.core.state=!0===t?{}:this.get_state(),t&&P.vakata.is_function(t)&&(this._data.core.state=t.call(this,this._data.core.state)),this._cnt=0,this._model.data={},this._model.data[P.jstree.root]={id:P.jstree.root,parent:null,parents:[],children:[],children_d:[],state:{loaded:!1}},this._data.core.selected=[],this._data.core.last_clicked=null,this._data.core.focused=null;var n=this.get_container_ul()[0].className;e||(this.element.html("<ul class='"+n+"' role='group'><li class='jstree-initial-node jstree-loading jstree-leaf jstree-last' role='none' id='j"+this._id+"_loading'><i class='jstree-icon jstree-ocl'></i><a class='jstree-anchor' role='treeitem' href='#'><i class='jstree-icon jstree-themeicon-hidden'></i>"+this.get_string("Loading ...")+"</a></li></ul>"),this.element.attr("aria-activedescendant","j"+this._id+"_loading")),this.load_node(P.jstree.root,function(e,t){t&&(this.get_container_ul()[0].className=n,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.set_state(P.extend(!0,{},this._data.core.state),function(){this.trigger("refresh")})),this._data.core.state=null})},refresh_node:function(t){if(!(t=this.get_node(t))||t.id===P.jstree.root)return!1;var n=[],e=[],r=this._data.core.selected.concat([]);e.push(t.id),!0===t.state.opened&&n.push(t.id),this.get_node(t,!0).find(".jstree-open").each(function(){e.push(this.id),n.push(this.id)}),this._load_nodes(e,function(e){this.open_node(n,!1,0),this.select_node(r),this.trigger("refresh_node",{node:t,nodes:e})}.bind(this),!1,!0)},set_id:function(e,t){if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;var n,r,i=this._model.data,a=e.id;for(t=t.toString(),i[e.parent].children[P.inArray(e.id,i[e.parent].children)]=t,n=0,r=e.parents.length;n<r;n++)i[e.parents[n]].children_d[P.inArray(e.id,i[e.parents[n]].children_d)]=t;for(n=0,r=e.children.length;n<r;n++)i[e.children[n]].parent=t;for(n=0,r=e.children_d.length;n<r;n++)i[e.children_d[n]].parents[P.inArray(e.id,i[e.children_d[n]].parents)]=t;return-1!==(n=P.inArray(e.id,this._data.core.selected))&&(this._data.core.selected[n]=t),(n=this.get_node(e.id,!0))&&(n.attr("id",t),this.element.attr("aria-activedescendant")===e.id&&this.element.attr("aria-activedescendant",t)),delete i[e.id],e.id=t,i[e.li_attr.id=t]=e,this.trigger("set_id",{node:e,new:e.id,old:a}),!0},get_text:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.text},set_text:function(e,t){var n,r;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.set_text(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(e.text=t,this.get_node(e,!0).length&&this.redraw_node(e.id),this.trigger("set_text",{obj:e,text:t}),!0)},get_json:function(e,t,n){if(!(e=this.get_node(e||P.jstree.root)))return!1;t&&t.flat&&!n&&(n=[]);var r,i,a={id:e.id,text:e.text,icon:this.get_icon(e),li_attr:P.extend(!0,{},e.li_attr),a_attr:P.extend(!0,{},e.a_attr),state:{},data:(!t||!t.no_data)&&P.extend(!0,P.vakata.is_array(e.data)?[]:{},e.data)};if(t&&t.flat?a.parent=e.parent:a.children=[],t&&t.no_state)delete a.state;else for(r in e.state)e.state.hasOwnProperty(r)&&(a.state[r]=e.state[r]);if(t&&t.no_li_attr&&delete a.li_attr,t&&t.no_a_attr&&delete a.a_attr,t&&t.no_id&&(delete a.id,a.li_attr&&a.li_attr.id&&delete a.li_attr.id,a.a_attr&&a.a_attr.id&&delete a.a_attr.id),t&&t.flat&&e.id!==P.jstree.root&&n.push(a),!t||!t.no_children)for(r=0,i=e.children.length;r<i;r++)t&&t.flat?this.get_json(e.children[r],t,n):a.children.push(this.get_json(e.children[r],t));return t&&t.flat?n:e.id===P.jstree.root?a.children:a},create_node:function(e,t,n,r,i){if(null===e&&(e=P.jstree.root),!(e=this.get_node(e)))return!1;if(!(n=n===M?"last":n).toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(e))return this.load_node(e,function(){this.create_node(e,t,n,r,!0)});var a,o,s,c;switch(t||(t={text:this.get_string("New node")}),(t="string"==typeof t?{text:t}:P.extend(!0,{},t)).text===M&&(t.text=this.get_string("New node")),e.id===P.jstree.root&&("before"===n&&(n="first"),"after"===n&&(n="last")),n){case"before":a=this.get_node(e.parent),n=P.inArray(e.id,a.children),e=a;break;case"after":a=this.get_node(e.parent),n=P.inArray(e.id,a.children)+1,e=a;break;case"inside":case"first":n=0;break;case"last":n=e.children.length;break;default:n||(n=0)}if(n>e.children.length&&(n=e.children.length),t.id||(t.id=!0),!this.check("create_node",t,e,n))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(!0===t.id&&delete t.id,!(t=this._parse_model_from_json(t,e.id,e.parents.concat())))return!1;for(a=this.get_node(t),(o=[]).push(t),o=o.concat(a.children_d),this.trigger("model",{nodes:o,parent:e.id}),e.children_d=e.children_d.concat(o),s=0,c=e.parents.length;s<c;s++)this._model.data[e.parents[s]].children_d=this._model.data[e.parents[s]].children_d.concat(o);for(t=a,a=[],s=0,c=e.children.length;s<c;s++)a[n<=s?s+1:s]=e.children[s];return a[n]=t.id,e.children=a,this.redraw_node(e,!0),this.trigger("create_node",{node:this.get_node(t),parent:e.id,position:n}),r&&r.call(this,this.get_node(t)),t.id},rename_node:function(e,t){var n,r,i;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.rename_node(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(i=e.text,this.check("rename_node",e,this.get_parent(e),t)?(this.set_text(e,t),this.trigger("rename_node",{node:e,text:t,old:i}),!0):(this.settings.core.error.call(this,this._data.core.last_error),!1))},delete_node:function(e){var t,n,r,i,a,o,s,c,l,u,f,d;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.delete_node(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;if(r=this.get_node(e.parent),i=P.inArray(e.id,r.children),u=!1,!this.check("delete_node",e,r,i))return this.settings.core.error.call(this,this._data.core.last_error),!1;for(-1!==i&&(r.children=P.vakata.array_remove(r.children,i)),(a=e.children_d.concat([])).push(e.id),o=0,s=e.parents.length;o<s;o++)this._model.data[e.parents[o]].children_d=P.vakata.array_filter(this._model.data[e.parents[o]].children_d,function(e){return-1===P.inArray(e,a)});for(c=0,l=a.length;c<l;c++)if(this._model.data[a[c]].state.selected){u=!0;break}for(u&&(this._data.core.selected=P.vakata.array_filter(this._data.core.selected,function(e){return-1===P.inArray(e,a)})),this.trigger("delete_node",{node:e,parent:r.id}),u&&this.trigger("changed",{action:"delete_node",node:e,selected:this._data.core.selected,parent:r.id}),c=0,l=a.length;c<l;c++)delete this._model.data[a[c]];return-1!==P.inArray(this._data.core.focused,a)&&(this._data.core.focused=null,f=this.element[0].scrollTop,d=this.element[0].scrollLeft,r.id===P.jstree.root?this._model.data[P.jstree.root].children[0]&&this.get_node(this._model.data[P.jstree.root].children[0],!0).children(".jstree-anchor").triger("focus"):this.get_node(r,!0).children(".jstree-anchor").trigger("focus"),this.element[0].scrollTop=f,this.element[0].scrollLeft=d),this.redraw_node(r,!0),!0},check:function(e,t,n,r,i){t=t&&t.id?t:this.get_node(t),n=n&&n.id?n:this.get_node(n);var a=e.match(/^move_node|copy_node|create_node$/i)?n:t,o=this.settings.core.check_callback;if("move_node"===e||"copy_node"===e){if(!(i&&i.is_multi||"move_node"!==e||P.inArray(t.id,n.children)!==r))return!(this._data.core.last_error={error:"check",plugin:"core",id:"core_08",reason:"Moving node to its current position",data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});if(!(i&&i.is_multi||t.id!==n.id&&("move_node"!==e||P.inArray(t.id,n.children)!==r)&&-1===P.inArray(n.id,t.children_d)))return!(this._data.core.last_error={error:"check",plugin:"core",id:"core_01",reason:"Moving parent inside child",data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})})}return a&&a.data&&(a=a.data),a&&a.functions&&(!1===a.functions[e]||!0===a.functions[e])?(!1===a.functions[e]&&(this._data.core.last_error={error:"check",plugin:"core",id:"core_02",reason:"Node data prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a.functions[e]):!(!1===o||P.vakata.is_function(o)&&!1===o.call(this,e,t,n,r,i)||o&&!1===o[e])||!(this._data.core.last_error={error:"check",plugin:"core",id:"core_03",reason:"User config for core.check_callback prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})})},last_error:function(){return this._data.core.last_error},move_node:function(e,t,n,r,i,a,o){var s,c,l,u,f,d,h,p,m,g,_,b,v,y;if(t=this.get_node(t),n=n===M?0:n,!t)return!1;if(!n.toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(t))return this.load_node(t,function(){this.move_node(e,t,n,r,!0,!1,o)});if(P.vakata.is_array(e)){if(1!==e.length){for(s=0,c=e.length;s<c;s++)(m=this.move_node(e[s],t,n,r,i,!1,o))&&(t=m,n="after");return this.redraw(),!0}e=e[0]}if(!(e=e&&e.id?e:this.get_node(e))||e.id===P.jstree.root)return!1;if(l=(e.parent||P.jstree.root).toString(),f=n.toString().match(/^(before|after)$/)&&t.id!==P.jstree.root?this.get_node(t.parent):t,h=!(d=o||(this._model.data[e.id]?this:P.jstree.reference(e.id)))||!d._id||this._id!==d._id,u=d&&d._id&&l&&d._model.data[l]&&d._model.data[l].children?P.inArray(e.id,d._model.data[l].children):-1,d&&d._id&&(e=d._model.data[e.id]),h)return!!(m=this.copy_node(e,t,n,r,i,!1,o))&&(d&&d.delete_node(e),m);switch(t.id===P.jstree.root&&("before"===n&&(n="first"),"after"===n&&(n="last")),n){case"before":n=P.inArray(t.id,f.children);break;case"after":n=P.inArray(t.id,f.children)+1;break;case"inside":case"first":n=0;break;case"last":n=f.children.length;break;default:n||(n=0)}if(n>f.children.length&&(n=f.children.length),!this.check("move_node",e,f,n,{core:!0,origin:o,is_multi:d&&d._id&&d._id!==this._id,is_foreign:!d||!d._id}))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(e.parent===f.id){for(p=f.children.concat(),-1!==(m=P.inArray(e.id,p))&&(p=P.vakata.array_remove(p,m),m<n&&n--),m=[],g=0,_=p.length;g<_;g++)m[n<=g?g+1:g]=p[g];m[n]=e.id,f.children=m,this._node_changed(f.id),this.redraw(f.id===P.jstree.root)}else{for((m=e.children_d.concat()).push(e.id),g=0,_=e.parents.length;g<_;g++){for(p=[],b=0,v=(y=d._model.data[e.parents[g]].children_d).length;b<v;b++)-1===P.inArray(y[b],m)&&p.push(y[b]);d._model.data[e.parents[g]].children_d=p}for(d._model.data[l].children=P.vakata.array_remove_item(d._model.data[l].children,e.id),g=0,_=f.parents.length;g<_;g++)this._model.data[f.parents[g]].children_d=this._model.data[f.parents[g]].children_d.concat(m);for(p=[],g=0,_=f.children.length;g<_;g++)p[n<=g?g+1:g]=f.children[g];for(p[n]=e.id,f.children=p,f.children_d.push(e.id),f.children_d=f.children_d.concat(e.children_d),e.parent=f.id,(m=f.parents.concat()).unshift(f.id),y=e.parents.length,m=(e.parents=m).concat(),g=0,_=e.children_d.length;g<_;g++)this._model.data[e.children_d[g]].parents=this._model.data[e.children_d[g]].parents.slice(0,-1*y),Array.prototype.push.apply(this._model.data[e.children_d[g]].parents,m);l!==P.jstree.root&&f.id!==P.jstree.root||(this._model.force_full_redraw=!0),this._model.force_full_redraw||(this._node_changed(l),this._node_changed(f.id)),a||this.redraw()}return r&&r.call(this,e,f,n),this.trigger("move_node",{node:e,parent:f.id,position:n,old_parent:l,old_position:u,is_multi:d&&d._id&&d._id!==this._id,is_foreign:!d||!d._id,old_instance:d,new_instance:this}),e.id},copy_node:function(e,t,n,r,i,a,o){var s,c,l,u,f,d,h,p,m,g;if(t=this.get_node(t),n=n===M?0:n,!t)return!1;if(!n.toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(t))return this.load_node(t,function(){this.copy_node(e,t,n,r,!0,!1,o)});if(P.vakata.is_array(e)){if(1!==e.length){for(s=0,c=e.length;s<c;s++)(u=this.copy_node(e[s],t,n,r,i,!0,o))&&(t=u,n="after");return this.redraw(),!0}e=e[0]}if(!(e=e&&e.id?e:this.get_node(e))||e.id===P.jstree.root)return!1;switch(p=(e.parent||P.jstree.root).toString(),m=n.toString().match(/^(before|after)$/)&&t.id!==P.jstree.root?this.get_node(t.parent):t,!(g=o||(this._model.data[e.id]?this:P.jstree.reference(e.id)))||!g._id||this._id!==g._id,g&&g._id&&(e=g._model.data[e.id]),t.id===P.jstree.root&&("before"===n&&(n="first"),"after"===n&&(n="last")),n){case"before":n=P.inArray(t.id,m.children);break;case"after":n=P.inArray(t.id,m.children)+1;break;case"inside":case"first":n=0;break;case"last":n=m.children.length;break;default:n||(n=0)}if(n>m.children.length&&(n=m.children.length),!this.check("copy_node",e,m,n,{core:!0,origin:o,is_multi:g&&g._id&&g._id!==this._id,is_foreign:!g||!g._id}))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(!(h=g?g.get_json(e,{no_id:!0,no_data:!0,no_state:!0}):e))return!1;if(!0===h.id&&delete h.id,!(h=this._parse_model_from_json(h,m.id,m.parents.concat())))return!1;for(u=this.get_node(h),e&&e.state&&!1===e.state.loaded&&(u.state.loaded=!1),(l=[]).push(h),l=l.concat(u.children_d),this.trigger("model",{nodes:l,parent:m.id}),f=0,d=m.parents.length;f<d;f++)this._model.data[m.parents[f]].children_d=this._model.data[m.parents[f]].children_d.concat(l);for(l=[],f=0,d=m.children.length;f<d;f++)l[n<=f?f+1:f]=m.children[f];return l[n]=u.id,m.children=l,m.children_d.push(u.id),m.children_d=m.children_d.concat(u.children_d),m.id===P.jstree.root&&(this._model.force_full_redraw=!0),this._model.force_full_redraw||this._node_changed(m.id),a||this.redraw(m.id===P.jstree.root),r&&r.call(this,u,m,n),this.trigger("copy_node",{node:u,original:e,parent:m.id,position:n,old_parent:p,old_position:g&&g._id&&p&&g._model.data[p]&&g._model.data[p].children?P.inArray(e.id,g._model.data[p].children):-1,is_multi:g&&g._id&&g._id!==this._id,is_foreign:!g||!g._id,old_instance:g,new_instance:this}),u.id},cut:function(e){if(e||(e=this._data.core.selected.concat()),P.vakata.is_array(e)||(e=[e]),!e.length)return!1;var t,n,r,i=[];for(n=0,r=e.length;n<r;n++)(t=this.get_node(e[n]))&&t.id&&t.id!==P.jstree.root&&i.push(t);if(!i.length)return!1;a=i,o="move_node",(s=this).trigger("cut",{node:e})},copy:function(e){if(e||(e=this._data.core.selected.concat()),P.vakata.is_array(e)||(e=[e]),!e.length)return!1;var t,n,r,i=[];for(n=0,r=e.length;n<r;n++)(t=this.get_node(e[n]))&&t.id&&t.id!==P.jstree.root&&i.push(t);if(!i.length)return!1;a=i,o="copy_node",(s=this).trigger("copy",{node:e})},get_buffer:function(){return{mode:o,node:a,inst:s}},can_paste:function(){return!1!==o&&!1!==a},paste:function(e,t){if(!((e=this.get_node(e))&&o&&o.match(/^(copy_node|move_node)$/)&&a))return!1;this[o](a,e,t,!1,!1,!1,s)&&this.trigger("paste",{parent:e.id,node:a,mode:o}),s=o=a=!1},clear_buffer:function(){s=o=a=!1,this.trigger("clear_buffer")},edit:function(i,e,a){var t,n,o,s,c,l,u,r,f,d=!1;return!!(i=this.get_node(i))&&(this.check("edit",i,this.get_parent(i))?(f=i,e="string"==typeof e?e:i.text,this.set_text(i,""),i=this._open_to(i),f.text=e,t=this._data.core.rtl,n=this.element.width(),this._data.core.focused=f.id,o=i.children(".jstree-anchor").trigger("focus"),s=P("<span></span>"),c=e,l=P("<div></div>",{css:{position:"absolute",top:"-200px",left:t?"0px":"-1000px",visibility:"hidden"}}).appendTo(y.body),u=P("<input />",{value:c,class:"jstree-rename-input",css:{padding:"0",border:"1px solid silver","box-sizing":"border-box",display:"inline-block",height:this._data.core.li_height+"px",lineHeight:this._data.core.li_height+"px",width:"150px"},blur:function(e){e.stopImmediatePropagation(),e.preventDefault();var t,n=s.children(".jstree-rename-input").val(),r=this.settings.core.force_text;""===n&&(n=c),l.remove(),s.replaceWith(o),s.remove(),c=r?c:P("<div></div>").append(P.parseHTML(c)).html(),i=this.get_node(i),this.set_text(i,c),(t=!!this.rename_node(i,r?P("<div></div>").text(n).text():P("<div></div>").append(P.parseHTML(n)).html()))||this.set_text(i,c),this._data.core.focused=f.id,setTimeout(function(){var e=this.get_node(f.id,!0);e.length&&(this._data.core.focused=f.id,e.children(".jstree-anchor").trigger("focus"))}.bind(this),0),a&&a.call(this,f,t,d,n),u=null}.bind(this),keydown:function(e){var t=e.which;27===t&&(d=!0,this.value=c),27!==t&&13!==t&&37!==t&&38!==t&&39!==t&&40!==t&&32!==t||e.stopImmediatePropagation(),27!==t&&13!==t||(e.preventDefault(),this.blur())},click:function(e){e.stopImmediatePropagation()},mousedown:function(e){e.stopImmediatePropagation()},keyup:function(e){u.width(Math.min(l.text("pW"+this.value).width(),n))},keypress:function(e){if(13===e.which)return!1}}),r={fontFamily:o.css("fontFamily")||"",fontSize:o.css("fontSize")||"",fontWeight:o.css("fontWeight")||"",fontStyle:o.css("fontStyle")||"",fontStretch:o.css("fontStretch")||"",fontVariant:o.css("fontVariant")||"",letterSpacing:o.css("letterSpacing")||"",wordSpacing:o.css("wordSpacing")||""},s.attr("class",o.attr("class")).append(o.contents().clone()).append(u),o.replaceWith(s),l.css(r),u.css(r).width(Math.min(l.text("pW"+u[0].value).width(),n))[0].select(),void P(y).one("mousedown.jstree touchstart.jstree dnd_start.vakata",function(e){u&&e.target!==u&&P(u).trigger("blur")})):(this.settings.core.error.call(this,this._data.core.last_error),!1))},set_theme:function(e,t){if(!e)return!1;if(!0===t){var n=this.settings.core.themes.dir;n||(n=P.jstree.path+"/themes"),t=n+"/"+e+"/style.css"}t&&-1===P.inArray(t,r)&&(P("head").append('<link rel="stylesheet" href="'+t+'" type="text/css" />'),r.push(t)),this._data.core.themes.name&&this.element.removeClass("jstree-"+this._data.core.themes.name),this._data.core.themes.name=e,this.element.addClass("jstree-"+e),this.element[this.settings.core.themes.responsive?"addClass":"removeClass"]("jstree-"+e+"-responsive"),this.trigger("set_theme",{theme:e})},get_theme:function(){return this._data.core.themes.name},set_theme_variant:function(e){this._data.core.themes.variant&&this.element.removeClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant),(this._data.core.themes.variant=e)&&this.element.addClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant)},get_theme_variant:function(){return this._data.core.themes.variant},show_stripes:function(){this._data.core.themes.stripes=!0,this.get_container_ul().addClass("jstree-striped"),this.trigger("show_stripes")},hide_stripes:function(){this._data.core.themes.stripes=!1,this.get_container_ul().removeClass("jstree-striped"),this.trigger("hide_stripes")},toggle_stripes:function(){this._data.core.themes.stripes?this.hide_stripes():this.show_stripes()},show_dots:function(){this._data.core.themes.dots=!0,this.get_container_ul().removeClass("jstree-no-dots"),this.trigger("show_dots")},hide_dots:function(){this._data.core.themes.dots=!1,this.get_container_ul().addClass("jstree-no-dots"),this.trigger("hide_dots")},toggle_dots:function(){this._data.core.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this._data.core.themes.icons=!0,this.get_container_ul().removeClass("jstree-no-icons"),this.trigger("show_icons")},hide_icons:function(){this._data.core.themes.icons=!1,this.get_container_ul().addClass("jstree-no-icons"),this.trigger("hide_icons")},toggle_icons:function(){this._data.core.themes.icons?this.hide_icons():this.show_icons()},show_ellipsis:function(){this._data.core.themes.ellipsis=!0,this.get_container_ul().addClass("jstree-ellipsis"),this.trigger("show_ellipsis")},hide_ellipsis:function(){this._data.core.themes.ellipsis=!1,this.get_container_ul().removeClass("jstree-ellipsis"),this.trigger("hide_ellipsis")},toggle_ellipsis:function(){this._data.core.themes.ellipsis?this.hide_ellipsis():this.show_ellipsis()},set_icon:function(e,t){var n,r,i,a;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.set_icon(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(a=e.icon,e.icon=!0===t||null===t||t===M||""===t||t,i=this.get_node(e,!0).children(".jstree-anchor").children(".jstree-themeicon"),!1===t?(i.removeClass("jstree-themeicon-custom "+a).css("background","").removeAttr("rel"),this.hide_icon(e)):(!0===t||null===t||t===M||""===t?i.removeClass("jstree-themeicon-custom "+a).css("background","").removeAttr("rel"):-1===t.indexOf("/")&&-1===t.indexOf(".")?(i.removeClass(a).css("background",""),i.addClass(t+" jstree-themeicon-custom").attr("rel",t)):(i.removeClass(a).css("background",""),i.addClass("jstree-themeicon-custom").css("background","url('"+t+"') center center no-repeat").attr("rel",t)),!1===a&&this.show_icon(e)),!0)},get_icon:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.icon},hide_icon:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.hide_icon(e[t]);return!0}return!(!(e=this.get_node(e))||e===P.jstree.root)&&(e.icon=!1,this.get_node(e,!0).children(".jstree-anchor").children(".jstree-themeicon").addClass("jstree-themeicon-hidden"),!0)},show_icon:function(e){var t,n,r;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.show_icon(e[t]);return!0}return!(!(e=this.get_node(e))||e===P.jstree.root)&&(r=this.get_node(e,!0),e.icon=!r.length||r.children(".jstree-anchor").children(".jstree-themeicon").attr("rel"),e.icon||(e.icon=!0),r.children(".jstree-anchor").children(".jstree-themeicon").removeClass("jstree-themeicon-hidden"),!0)}},P.vakata={},P.vakata.attributes=function(e,n){e=P(e)[0];var r=n?{}:[];return e&&e.attributes&&P.each(e.attributes,function(e,t){-1===P.inArray(t.name.toLowerCase(),["style","contenteditable","hasfocus","tabindex"])&&null!==t.value&&""!==P.vakata.trim(t.value)&&(n?r[t.name]=t.value:r.push(t.name))}),r},P.vakata.array_unique=function(e){var t,n,r=[],i={};for(t=0,n=e.length;t<n;t++)i[e[t]]===M&&(r.push(e[t]),i[e[t]]=!0);return r},P.vakata.array_remove=function(e,t){return e.splice(t,1),e},P.vakata.array_remove_item=function(e,t){var n=P.inArray(t,e);return-1!==n?P.vakata.array_remove(e,n):e},P.vakata.array_filter=function(e,t,n,r,i){if(e.filter)return e.filter(t,n);for(i in r=[],e)~~i+""==i+""&&0<=i&&t.call(n,e[i],+i,e)&&r.push(e[i]);return r},P.vakata.trim=function(e){return String.prototype.trim?String.prototype.trim.call(e.toString()):e.toString().replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},P.vakata.is_function=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},P.vakata.is_array=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},Function.prototype.bind||(Function.prototype.bind=function(){var t=this,n=arguments[0],r=Array.prototype.slice.call(arguments,1);if("function"!=typeof t)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");return function(){var e=r.concat(Array.prototype.slice.call(arguments));return t.apply(n,e)}}),P.jstree.plugins.changed=function(e,a){var o=[];this.trigger=function(e,t){var n,r;if(t||(t={}),"changed"===e.replace(".jstree","")){t.changed={selected:[],deselected:[]};var i={};for(n=0,r=o.length;n<r;n++)i[o[n]]=1;for(n=0,r=t.selected.length;n<r;n++)i[t.selected[n]]?i[t.selected[n]]=2:t.changed.selected.push(t.selected[n]);for(n=0,r=o.length;n<r;n++)1===i[o[n]]&&t.changed.deselected.push(o[n]);o=t.selected.slice()}a.trigger.call(this,e,t)},this.refresh=function(e,t){return o=[],a.refresh.apply(this,arguments)}};var f,d,h,c,u,p,m,S,g=y.createElement("I");g.className="jstree-icon jstree-checkbox",g.setAttribute("role","presentation"),P.jstree.defaults.checkbox={visible:!0,three_state:!0,whole_node:!0,keep_selected_style:!0,cascade:"",tie_selection:!0,cascade_to_disabled:!0,cascade_to_hidden:!0},P.jstree.plugins.checkbox=function(e,c){this.bind=function(){c.bind.call(this),this._data.checkbox.uto=!1,this._data.checkbox.selected=[],this.settings.checkbox.three_state&&(this.settings.checkbox.cascade="up+down+undetermined"),this.element.on("init.jstree",function(){this._data.checkbox.visible=this.settings.checkbox.visible,this.settings.checkbox.keep_selected_style||this.element.addClass("jstree-checkbox-no-clicked"),this.settings.checkbox.tie_selection&&this.element.addClass("jstree-checkbox-selection")}.bind(this)).on("loading.jstree",function(){this[this._data.checkbox.visible?"show_checkboxes":"hide_checkboxes"]()}.bind(this)),-1!==this.settings.checkbox.cascade.indexOf("undetermined")&&this.element.on("changed.jstree uncheck_node.jstree check_node.jstree uncheck_all.jstree check_all.jstree move_node.jstree copy_node.jstree redraw.jstree open_node.jstree",function(){this._data.checkbox.uto&&clearTimeout(this._data.checkbox.uto),this._data.checkbox.uto=setTimeout(this._undetermined.bind(this),50)}.bind(this)),this.settings.checkbox.tie_selection||this.element.on("model.jstree",function(e,t){var n,r,i=this._model.data,a=(i[t.parent],t.nodes);for(n=0,r=a.length;n<r;n++)i[a[n]].state.checked=i[a[n]].state.checked||i[a[n]].original&&i[a[n]].original.state&&i[a[n]].original.state.checked,i[a[n]].state.checked&&this._data.checkbox.selected.push(a[n])}.bind(this)),-1===this.settings.checkbox.cascade.indexOf("up")&&-1===this.settings.checkbox.cascade.indexOf("down")||this.element.on("model.jstree",function(e,t){var n,r,i,a,o,s,c=this._model.data,l=c[t.parent],u=t.nodes,f=[],d=this.settings.checkbox.cascade,h=this.settings.checkbox.tie_selection;if(-1!==d.indexOf("down"))if(l.state[h?"selected":"checked"]){for(r=0,i=u.length;r<i;r++)c[u[r]].state[h?"selected":"checked"]=!0;this._data[h?"core":"checkbox"].selected=this._data[h?"core":"checkbox"].selected.concat(u)}else for(r=0,i=u.length;r<i;r++)if(c[u[r]].state[h?"selected":"checked"]){for(a=0,o=c[u[r]].children_d.length;a<o;a++)c[c[u[r]].children_d[a]].state[h?"selected":"checked"]=!0;this._data[h?"core":"checkbox"].selected=this._data[h?"core":"checkbox"].selected.concat(c[u[r]].children_d)}if(-1!==d.indexOf("up")){for(r=0,i=l.children_d.length;r<i;r++)c[l.children_d[r]].children.length||f.push(c[l.children_d[r]].parent);for(a=0,o=(f=P.vakata.array_unique(f)).length;a<o;a++)for(l=c[f[a]];l&&l.id!==P.jstree.root;){for(r=n=0,i=l.children.length;r<i;r++)n+=c[l.children[r]].state[h?"selected":"checked"];if(n!==i)break;l.state[h?"selected":"checked"]=!0,this._data[h?"core":"checkbox"].selected.push(l.id),(s=this.get_node(l,!0))&&s.length&&s.attr("aria-selected",!0).children(".jstree-anchor").addClass(h?"jstree-clicked":"jstree-checked"),l=this.get_node(l.parent)}}this._data[h?"core":"checkbox"].selected=P.vakata.array_unique(this._data[h?"core":"checkbox"].selected)}.bind(this)).on(this.settings.checkbox.tie_selection?"select_node.jstree":"check_node.jstree",function(e,t){var n,r,i,a,o=t.node,s=this._model.data,c=this.get_node(o.parent),l=this.settings.checkbox.cascade,u=this.settings.checkbox.tie_selection,f={},d=this._data[u?"core":"checkbox"].selected;for(n=0,r=d.length;n<r;n++)f[d[n]]=!0;if(-1!==l.indexOf("down")){var h=this._cascade_new_checked_state(o.id,!0),p=o.children_d.concat(o.id);for(n=0,r=p.length;n<r;n++)-1<h.indexOf(p[n])?f[p[n]]=!0:delete f[p[n]]}if(-1!==l.indexOf("up"))for(;c&&c.id!==P.jstree.root;){for(n=i=0,r=c.children.length;n<r;n++)i+=s[c.children[n]].state[u?"selected":"checked"];if(i!==r)break;c.state[u?"selected":"checked"]=!0,f[c.id]=!0,(a=this.get_node(c,!0))&&a.length&&a.attr("aria-selected",!0).children(".jstree-anchor").addClass(u?"jstree-clicked":"jstree-checked"),c=this.get_node(c.parent)}for(n in d=[],f)f.hasOwnProperty(n)&&d.push(n);this._data[u?"core":"checkbox"].selected=d}.bind(this)).on(this.settings.checkbox.tie_selection?"deselect_all.jstree":"uncheck_all.jstree",function(e,t){var n,r,i,a=this.get_node(P.jstree.root),o=this._model.data;for(n=0,r=a.children_d.length;n<r;n++)(i=o[a.children_d[n]])&&i.original&&i.original.state&&i.original.state.undetermined&&(i.original.state.undetermined=!1)}.bind(this)).on(this.settings.checkbox.tie_selection?"deselect_node.jstree":"uncheck_node.jstree",function(e,t){var n,r,i,a=t.node,o=(this.get_node(a,!0),this.settings.checkbox.cascade),s=this.settings.checkbox.tie_selection,c=this._data[s?"core":"checkbox"].selected,l=a.children_d.concat(a.id);if(-1!==o.indexOf("down")){var u=this._cascade_new_checked_state(a.id,!1);c=P.vakata.array_filter(c,function(e){return-1===l.indexOf(e)||-1<u.indexOf(e)})}if(-1!==o.indexOf("up")&&-1===c.indexOf(a.id)){for(n=0,r=a.parents.length;n<r;n++)(i=this._model.data[a.parents[n]]).state[s?"selected":"checked"]=!1,i&&i.original&&i.original.state&&i.original.state.undetermined&&(i.original.state.undetermined=!1),(i=this.get_node(a.parents[n],!0))&&i.length&&i.attr("aria-selected",!1).children(".jstree-anchor").removeClass(s?"jstree-clicked":"jstree-checked");c=P.vakata.array_filter(c,function(e){return-1===a.parents.indexOf(e)})}this._data[s?"core":"checkbox"].selected=c}.bind(this)),-1!==this.settings.checkbox.cascade.indexOf("up")&&this.element.on("delete_node.jstree",function(e,t){for(var n,r,i,a,o=this.get_node(t.parent),s=this._model.data,c=this.settings.checkbox.tie_selection;o&&o.id!==P.jstree.root&&!o.state[c?"selected":"checked"];){for(n=i=0,r=o.children.length;n<r;n++)i+=s[o.children[n]].state[c?"selected":"checked"];if(!(0<r&&i===r))break;o.state[c?"selected":"checked"]=!0,this._data[c?"core":"checkbox"].selected.push(o.id),(a=this.get_node(o,!0))&&a.length&&a.attr("aria-selected",!0).children(".jstree-anchor").addClass(c?"jstree-clicked":"jstree-checked"),o=this.get_node(o.parent)}}.bind(this)).on("move_node.jstree",function(e,t){var n,r,i,a,o,s=t.is_multi,c=t.old_parent,l=this.get_node(t.parent),u=this._model.data,f=this.settings.checkbox.tie_selection;if(!s)for(n=this.get_node(c);n&&n.id!==P.jstree.root&&!n.state[f?"selected":"checked"];){for(i=r=0,a=n.children.length;i<a;i++)r+=u[n.children[i]].state[f?"selected":"checked"];if(!(0<a&&r===a))break;n.state[f?"selected":"checked"]=!0,this._data[f?"core":"checkbox"].selected.push(n.id),(o=this.get_node(n,!0))&&o.length&&o.attr("aria-selected",!0).children(".jstree-anchor").addClass(f?"jstree-clicked":"jstree-checked"),n=this.get_node(n.parent)}for(n=l;n&&n.id!==P.jstree.root;){for(i=r=0,a=n.children.length;i<a;i++)r+=u[n.children[i]].state[f?"selected":"checked"];if(r===a)n.state[f?"selected":"checked"]||(n.state[f?"selected":"checked"]=!0,this._data[f?"core":"checkbox"].selected.push(n.id),(o=this.get_node(n,!0))&&o.length&&o.attr("aria-selected",!0).children(".jstree-anchor").addClass(f?"jstree-clicked":"jstree-checked"));else{if(!n.state[f?"selected":"checked"])break;n.state[f?"selected":"checked"]=!1,this._data[f?"core":"checkbox"].selected=P.vakata.array_remove_item(this._data[f?"core":"checkbox"].selected,n.id),(o=this.get_node(n,!0))&&o.length&&o.attr("aria-selected",!1).children(".jstree-anchor").removeClass(f?"jstree-clicked":"jstree-checked")}n=this.get_node(n.parent)}}.bind(this))},this.get_undetermined=function(e){if(-1===this.settings.checkbox.cascade.indexOf("undetermined"))return[];var n,r,i,a,o={},s=this._model.data,t=this.settings.checkbox.tie_selection,c=this._data[t?"core":"checkbox"].selected,l=[],u=this,f=[];for(n=0,r=c.length;n<r;n++)if(s[c[n]]&&s[c[n]].parents)for(i=0,a=s[c[n]].parents.length;i<a&&o[s[c[n]].parents[i]]===M;i++)s[c[n]].parents[i]!==P.jstree.root&&(o[s[c[n]].parents[i]]=!0,l.push(s[c[n]].parents[i]));for(this.element.find(".jstree-closed").not(":has(.jstree-children)").each(function(){var e,t=u.get_node(this);if(t)if(t.state.loaded){for(n=0,r=t.children_d.length;n<r;n++)if(!(e=s[t.children_d[n]]).state.loaded&&e.original&&e.original.state&&e.original.state.undetermined&&!0===e.original.state.undetermined)for(o[e.id]===M&&e.id!==P.jstree.root&&(o[e.id]=!0,l.push(e.id)),i=0,a=e.parents.length;i<a;i++)o[e.parents[i]]===M&&e.parents[i]!==P.jstree.root&&(o[e.parents[i]]=!0,l.push(e.parents[i]))}else if(t.original&&t.original.state&&t.original.state.undetermined&&!0===t.original.state.undetermined)for(o[t.id]===M&&t.id!==P.jstree.root&&(o[t.id]=!0,l.push(t.id)),i=0,a=t.parents.length;i<a;i++)o[t.parents[i]]===M&&t.parents[i]!==P.jstree.root&&(o[t.parents[i]]=!0,l.push(t.parents[i]))}),n=0,r=l.length;n<r;n++)s[l[n]].state[t?"selected":"checked"]||f.push(e?s[l[n]]:l[n]);return f},this._undetermined=function(){if(null!==this.element){var e,t,n,r=this.get_undetermined(!1);for(this.element.find(".jstree-undetermined").removeClass("jstree-undetermined"),e=0,t=r.length;e<t;e++)(n=this.get_node(r[e],!0))&&n.length&&n.children(".jstree-anchor").children(".jstree-checkbox").addClass("jstree-undetermined")}},this.redraw_node=function(e,t,n,r){if(e=c.redraw_node.apply(this,arguments)){var i,a,o=null,s=null;for(i=0,a=e.childNodes.length;i<a;i++)if(e.childNodes[i]&&e.childNodes[i].className&&-1!==e.childNodes[i].className.indexOf("jstree-anchor")){o=e.childNodes[i];break}o&&(!this.settings.checkbox.tie_selection&&this._model.data[e.id].state.checked&&(o.className+=" jstree-checked"),s=g.cloneNode(!1),this._model.data[e.id].state.checkbox_disabled&&(s.className+=" jstree-checkbox-disabled"),o.insertBefore(s,o.childNodes[0]))}return n||-1===this.settings.checkbox.cascade.indexOf("undetermined")||(this._data.checkbox.uto&&clearTimeout(this._data.checkbox.uto),this._data.checkbox.uto=setTimeout(this._undetermined.bind(this),50)),e},this.show_checkboxes=function(){this._data.core.themes.checkboxes=!0,this.get_container_ul().removeClass("jstree-no-checkboxes")},this.hide_checkboxes=function(){this._data.core.themes.checkboxes=!1,this.get_container_ul().addClass("jstree-no-checkboxes")},this.toggle_checkboxes=function(){this._data.core.themes.checkboxes?this.hide_checkboxes():this.show_checkboxes()},this.is_undetermined=function(e){e=this.get_node(e);var t,n,r=this.settings.checkbox.cascade,i=this.settings.checkbox.tie_selection,a=this._data[i?"core":"checkbox"].selected,o=this._model.data;if(!e||!0===e.state[i?"selected":"checked"]||-1===r.indexOf("undetermined")||-1===r.indexOf("down")&&-1===r.indexOf("up"))return!1;if(!e.state.loaded&&!0===e.original.state.undetermined)return!0;for(t=0,n=e.children_d.length;t<n;t++)if(-1!==P.inArray(e.children_d[t],a)||!o[e.children_d[t]].state.loaded&&o[e.children_d[t]].original.state.undetermined)return!0;return!1},this.disable_checkbox=function(e){var t,n,r;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.disable_checkbox(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;r=this.get_node(e,!0),e.state.checkbox_disabled||(e.state.checkbox_disabled=!0,r&&r.length&&r.children(".jstree-anchor").children(".jstree-checkbox").addClass("jstree-checkbox-disabled"),this.trigger("disable_checkbox",{node:e}))},this.enable_checkbox=function(e){var t,n,r;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.enable_checkbox(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;r=this.get_node(e,!0),e.state.checkbox_disabled&&(e.state.checkbox_disabled=!1,r&&r.length&&r.children(".jstree-anchor").children(".jstree-checkbox").removeClass("jstree-checkbox-disabled"),this.trigger("enable_checkbox",{node:e}))},this.activate_node=function(e,t){return!P(t.target).hasClass("jstree-checkbox-disabled")&&(this.settings.checkbox.tie_selection&&(this.settings.checkbox.whole_node||P(t.target).hasClass("jstree-checkbox"))&&(t.ctrlKey=!0),this.settings.checkbox.tie_selection||!this.settings.checkbox.whole_node&&!P(t.target).hasClass("jstree-checkbox")?c.activate_node.call(this,e,t):!this.is_disabled(e)&&(this.is_checked(e)?this.uncheck_node(e,t):this.check_node(e,t),void this.trigger("activate_node",{node:this.get_node(e)})))},this._cascade_new_checked_state=function(e,t){var n,r,i,a=this.settings.checkbox.tie_selection,o=this._model.data[e],s=[],c=[];if(!this.settings.checkbox.cascade_to_disabled&&o.state.disabled||!this.settings.checkbox.cascade_to_hidden&&o.state.hidden)i=this.get_checked_descendants(e),o.state[a?"selected":"checked"]&&i.push(o.id),s=s.concat(i);else{if(o.children)for(n=0,r=o.children.length;n<r;n++){var l=o.children[n];i=this._cascade_new_checked_state(l,t),s=s.concat(i),-1<i.indexOf(l)&&c.push(l)}var u=this.get_node(o,!0),f=0<c.length&&c.length<o.children.length;o.original&&o.original.state&&o.original.state.undetermined&&(o.original.state.undetermined=f),f?(o.state[a?"selected":"checked"]=!1,u.attr("aria-selected",!1).children(".jstree-anchor").removeClass(a?"jstree-clicked":"jstree-checked")):t&&c.length===o.children.length?(o.state[a?"selected":"checked"]=t,s.push(o.id),u.attr("aria-selected",!0).children(".jstree-anchor").addClass(a?"jstree-clicked":"jstree-checked")):(o.state[a?"selected":"checked"]=!1,u.attr("aria-selected",!1).children(".jstree-anchor").removeClass(a?"jstree-clicked":"jstree-checked"))}return s},this.get_checked_descendants=function(e){var t=this,n=t.settings.checkbox.tie_selection,r=t._model.data[e];return P.vakata.array_filter(r.children_d,function(e){return t._model.data[e].state[n?"selected":"checked"]})},this.check_node=function(e,t){if(this.settings.checkbox.tie_selection)return this.select_node(e,!1,!0,t);var n,r,i;if(P.vakata.is_array(e)){for(r=0,i=(e=e.slice()).length;r<i;r++)this.check_node(e[r],t);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;n=this.get_node(e,!0),e.state.checked||(e.state.checked=!0,this._data.checkbox.selected.push(e.id),n&&n.length&&n.children(".jstree-anchor").addClass("jstree-checked"),this.trigger("check_node",{node:e,selected:this._data.checkbox.selected,event:t}))},this.uncheck_node=function(e,t){if(this.settings.checkbox.tie_selection)return this.deselect_node(e,!1,t);var n,r,i;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.uncheck_node(e[n],t);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;i=this.get_node(e,!0),e.state.checked&&(e.state.checked=!1,this._data.checkbox.selected=P.vakata.array_remove_item(this._data.checkbox.selected,e.id),i.length&&i.children(".jstree-anchor").removeClass("jstree-checked"),this.trigger("uncheck_node",{node:e,selected:this._data.checkbox.selected,event:t}))},this.check_all=function(){if(this.settings.checkbox.tie_selection)return this.select_all();var e,t;this._data.checkbox.selected.concat([]);for(this._data.checkbox.selected=this._model.data[P.jstree.root].children_d.concat(),e=0,t=this._data.checkbox.selected.length;e<t;e++)this._model.data[this._data.checkbox.selected[e]]&&(this._model.data[this._data.checkbox.selected[e]].state.checked=!0);this.redraw(!0),this.trigger("check_all",{selected:this._data.checkbox.selected})},this.uncheck_all=function(){if(this.settings.checkbox.tie_selection)return this.deselect_all();var e,t,n=this._data.checkbox.selected.concat([]);for(e=0,t=this._data.checkbox.selected.length;e<t;e++)this._model.data[this._data.checkbox.selected[e]]&&(this._model.data[this._data.checkbox.selected[e]].state.checked=!1);this._data.checkbox.selected=[],this.element.find(".jstree-checked").removeClass("jstree-checked"),this.trigger("uncheck_all",{selected:this._data.checkbox.selected,node:n})},this.is_checked=function(e){return this.settings.checkbox.tie_selection?this.is_selected(e):!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.state.checked},this.get_checked=function(e){return this.settings.checkbox.tie_selection?this.get_selected(e):e?P.map(this._data.checkbox.selected,function(e){return this.get_node(e)}.bind(this)):this._data.checkbox.selected.slice()},this.get_top_checked=function(e){if(this.settings.checkbox.tie_selection)return this.get_top_selected(e);var t,n,r,i,a=this.get_checked(!0),o={};for(t=0,n=a.length;t<n;t++)o[a[t].id]=a[t];for(t=0,n=a.length;t<n;t++)for(r=0,i=a[t].children_d.length;r<i;r++)o[a[t].children_d[r]]&&delete o[a[t].children_d[r]];for(t in a=[],o)o.hasOwnProperty(t)&&a.push(t);return e?P.map(a,function(e){return this.get_node(e)}.bind(this)):a},this.get_bottom_checked=function(e){if(this.settings.checkbox.tie_selection)return this.get_bottom_selected(e);var t,n,r=this.get_checked(!0),i=[];for(t=0,n=r.length;t<n;t++)r[t].children.length||i.push(r[t].id);return e?P.map(i,function(e){return this.get_node(e)}.bind(this)):i},this.load_node=function(e,t){var n,r,i;if(!P.vakata.is_array(e)&&!this.settings.checkbox.tie_selection&&(i=this.get_node(e))&&i.state.loaded)for(n=0,r=i.children_d.length;n<r;n++)this._model.data[i.children_d[n]].state.checked&&(!0,this._data.checkbox.selected=P.vakata.array_remove_item(this._data.checkbox.selected,i.children_d[n]));return c.load_node.apply(this,arguments)},this.get_state=function(){var e=c.get_state.apply(this,arguments);return this.settings.checkbox.tie_selection||(e.checkbox=this._data.checkbox.selected.slice()),e},this.set_state=function(e,t){var n=c.set_state.apply(this,arguments);if(n&&e.checkbox){if(!this.settings.checkbox.tie_selection){this.uncheck_all();var r=this;P.each(e.checkbox,function(e,t){r.check_node(t)})}return delete e.checkbox,this.set_state(e,t),!1}return n},this.refresh=function(e,t){return this.settings.checkbox.tie_selection&&(this._data.checkbox.selected=[]),c.refresh.apply(this,arguments)}},P.jstree.defaults.conditionalselect=function(){return!0},P.jstree.plugins.conditionalselect=function(e,n){this.activate_node=function(e,t){if(this.settings.conditionalselect.call(this,this.get_node(e),t))return n.activate_node.call(this,e,t)}},P.jstree.defaults.contextmenu={select_node:!0,show_at_node:!0,items:function(e,t){return{create:{separator_before:!1,separator_after:!0,_disabled:!1,label:"Create",action:function(e){var n=P.jstree.reference(e.reference),t=n.get_node(e.reference);n.create_node(t,{},"last",function(t){try{n.edit(t)}catch(e){setTimeout(function(){n.edit(t)},0)}})}},rename:{separator_before:!1,separator_after:!1,_disabled:!1,label:"Rename",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.edit(n)}},remove:{separator_before:!1,icon:!1,separator_after:!1,_disabled:!1,label:"Delete",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.is_selected(n)?t.delete_node(t.get_selected()):t.delete_node(n)}},ccp:{separator_before:!0,icon:!1,separator_after:!1,label:"Edit",action:!1,submenu:{cut:{separator_before:!1,separator_after:!1,label:"Cut",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.is_selected(n)?t.cut(t.get_top_selected()):t.cut(n)}},copy:{separator_before:!1,icon:!1,separator_after:!1,label:"Copy",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.is_selected(n)?t.copy(t.get_top_selected()):t.copy(n)}},paste:{separator_before:!1,icon:!1,_disabled:function(e){return!P.jstree.reference(e.reference).can_paste()},separator_after:!1,label:"Paste",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.paste(n)}}}}}}},P.jstree.plugins.contextmenu=function(e,a){this.bind=function(){a.bind.call(this);var t,n,r=0,i=null;this.element.on("init.jstree loading.jstree ready.jstree",function(){this.get_container_ul().addClass("jstree-contextmenu")}.bind(this)).on("contextmenu.jstree",".jstree-anchor",function(e,t){"input"!==e.target.tagName.toLowerCase()&&(e.preventDefault(),r=e.ctrlKey?+new Date:0,(t||i)&&(r=+new Date+1e4),i&&clearTimeout(i),this.is_loading(e.currentTarget)||this.show_contextmenu(e.currentTarget,e.pageX,e.pageY,e))}.bind(this)).on("click.jstree",".jstree-anchor",function(e){this._data.contextmenu.visible&&(!r||250<+new Date-r)&&P.vakata.context.hide(),r=0}.bind(this)).on("touchstart.jstree",".jstree-anchor",function(e){e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(t=e.originalEvent.changedTouches[0].clientX,n=e.originalEvent.changedTouches[0].clientY,i=setTimeout(function(){P(e.currentTarget).trigger("contextmenu",!0)},750))}).on("touchmove.vakata.jstree",function(e){i&&e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(10<Math.abs(t-e.originalEvent.changedTouches[0].clientX)||10<Math.abs(n-e.originalEvent.changedTouches[0].clientY))&&(clearTimeout(i),P.vakata.context.hide())}).on("touchend.vakata.jstree",function(e){i&&clearTimeout(i)}),P(y).on("context_hide.vakata.jstree",function(e,t){this._data.contextmenu.visible=!1,P(t.reference).removeClass("jstree-context")}.bind(this))},this.teardown=function(){this._data.contextmenu.visible&&P.vakata.context.hide(),P(y).off("context_hide.vakata.jstree"),a.teardown.call(this)},this.show_contextmenu=function(t,n,r,e){if(!(t=this.get_node(t))||t.id===P.jstree.root)return!1;var i=this.settings.contextmenu,a=this.get_node(t,!0).children(".jstree-anchor"),o=!1,s=!1;(i.show_at_node||n===M||r===M)&&(o=a.offset(),n=o.left,r=o.top+this._data.core.li_height),this.settings.contextmenu.select_node&&!this.is_selected(t)&&this.activate_node(t,e),s=i.items,P.vakata.is_function(s)&&(s=s.call(this,t,function(e){this._show_contextmenu(t,n,r,e)}.bind(this))),P.isPlainObject(s)&&this._show_contextmenu(t,n,r,s)},this._show_contextmenu=function(e,t,n,r){var i=this.get_node(e,!0).children(".jstree-anchor");P(y).one("context_show.vakata.jstree",function(e,t){var n="jstree-contextmenu jstree-"+this.get_theme()+"-contextmenu";P(t.element).addClass(n),i.addClass("jstree-context")}.bind(this)),this._data.contextmenu.visible=!0,P.vakata.context.show(i,{x:t,y:n},r),this.trigger("show_contextmenu",{node:e,x:t,y:n})}},h={element:d=!1,reference:!1,position_x:0,position_y:0,items:[],html:"",is_visible:!1},(f=P).vakata.context={settings:{hide_onmouseleave:0,icons:!0},_trigger:function(e){f(y).triggerHandler("context_"+e+".vakata",{reference:h.reference,element:h.element,position:{x:h.position_x,y:h.position_y}})},_execute:function(e){return!(!(e=h.items[e])||e._disabled&&(!f.vakata.is_function(e._disabled)||e._disabled({item:e,reference:h.reference,element:h.element}))||!e.action)&&e.action.call(null,{item:e,reference:h.reference,element:h.element,position:{x:h.position_x,y:h.position_y}})},_parse:function(e,t){if(!e)return!1;t||(h.html="",h.items=[]);var n,r="",i=!1;return t&&(r+="<ul>"),f.each(e,function(e,t){if(!t)return!0;h.items.push(t),!i&&t.separator_before&&(r+="<li class='vakata-context-separator'><a href='#' "+(f.vakata.context.settings.icons?"":'class="vakata-context-no-icons"')+"> </a></li>"),i=!1,r+="<li class='"+(t._class||"")+(!0===t._disabled||f.vakata.is_function(t._disabled)&&t._disabled({item:t,reference:h.reference,element:h.element})?" vakata-contextmenu-disabled ":"")+"' "+(t.shortcut?" data-shortcut='"+t.shortcut+"' ":"")+">",r+="<a href='#' rel='"+(h.items.length-1)+"' "+(t.title?"title='"+t.title+"'":"")+">",f.vakata.context.settings.icons&&(r+="<i ",t.icon&&(-1!==t.icon.indexOf("/")||-1!==t.icon.indexOf(".")?r+=" style='background:url(\""+t.icon+"\") center center no-repeat' ":r+=" class='"+t.icon+"' "),r+="></i><span class='vakata-contextmenu-sep'> </span>"),r+=(f.vakata.is_function(t.label)?t.label({item:e,reference:h.reference,element:h.element}):t.label)+(t.shortcut?' <span class="vakata-contextmenu-shortcut vakata-contextmenu-shortcut-'+t.shortcut+'">'+(t.shortcut_label||"")+"</span>":"")+"</a>",t.submenu&&(n=f.vakata.context._parse(t.submenu,!0))&&(r+=n),r+="</li>",t.separator_after&&(r+="<li class='vakata-context-separator'><a href='#' "+(f.vakata.context.settings.icons?"":'class="vakata-context-no-icons"')+"> </a></li>",i=!0)}),r=r.replace(/<li class\='vakata-context-separator'\><\/li\>$/,""),t&&(r+="</ul>"),t||(h.html=r,f.vakata.context._trigger("parse")),10<r.length&&r},_show_submenu:function(e){if((e=f(e)).length&&e.children("ul").length){var t=e.children("ul"),n=e.offset().left,r=n+e.outerWidth(),i=e.offset().top,a=t.width(),o=t.height(),s=f(window).width()+f(window).scrollLeft(),c=f(window).height()+f(window).scrollTop();d?e[r-(a+10+e.outerWidth())<0?"addClass":"removeClass"]("vakata-context-left"):e[s<r+a&&s-r<n?"addClass":"removeClass"]("vakata-context-right"),c<i+o+10&&t.css("bottom","-1px"),e.hasClass("vakata-context-right")?n<a&&t.css("margin-right",n-a):s-r<a&&t.css("margin-left",s-r-a),t.show()}},show:function(e,t,n){var r,i,a,o,s,c,l,u;switch(h.element&&h.element.length&&h.element.width(""),!0){case!t&&!e:return!1;case!!t&&!!e:h.reference=e,h.position_x=t.x,h.position_y=t.y;break;case!t&&!!e:r=(h.reference=e).offset(),h.position_x=r.left+e.outerHeight(),h.position_y=r.top;break;case!!t&&!e:h.position_x=t.x,h.position_y=t.y}e&&!n&&f(e).data("vakata_contextmenu")&&(n=f(e).data("vakata_contextmenu")),f.vakata.context._parse(n)&&h.element.html(h.html),h.items.length&&(h.element.appendTo(y.body),i=h.element,a=h.position_x,o=h.position_y,s=i.width(),c=i.height(),l=f(window).width()+f(window).scrollLeft(),u=f(window).height()+f(window).scrollTop(),d&&(a-=i.outerWidth()-f(e).outerWidth())<f(window).scrollLeft()+20&&(a=f(window).scrollLeft()+20),l<a+s+20&&(a=l-(s+20)),u<o+c+20&&(o=u-(c+20)),h.element.css({left:a,top:o}).show().find("a").first().trigger("focus").parent().addClass("vakata-context-hover"),h.is_visible=!0,f.vakata.context._trigger("show"))},hide:function(){h.is_visible&&(h.element.hide().find("ul").hide().end().find(":focus").trigger("blur").end().detach(),h.is_visible=!1,f.vakata.context._trigger("hide"))}},f(function(){d="rtl"===f(y.body).css("direction");var t=!1;h.element=f("<ul class='vakata-context'></ul>"),h.element.on("mouseenter","li",function(e){e.stopImmediatePropagation(),f.contains(this,e.relatedTarget)||(t&&clearTimeout(t),h.element.find(".vakata-context-hover").removeClass("vakata-context-hover").end(),f(this).siblings().find("ul").hide().end().end().parentsUntil(".vakata-context","li").addBack().addClass("vakata-context-hover"),f.vakata.context._show_submenu(this))}).on("mouseleave","li",function(e){f.contains(this,e.relatedTarget)||f(this).find(".vakata-context-hover").addBack().removeClass("vakata-context-hover")}).on("mouseleave",function(e){f(this).find(".vakata-context-hover").removeClass("vakata-context-hover"),f.vakata.context.settings.hide_onmouseleave&&(t=setTimeout(function(){f.vakata.context.hide()},f.vakata.context.settings.hide_onmouseleave))}).on("click","a",function(e){e.preventDefault(),f(this).trigger("blur").parent().hasClass("vakata-context-disabled")||!1===f.vakata.context._execute(f(this).attr("rel"))||f.vakata.context.hide()}).on("keydown","a",function(e){var t=null;switch(e.which){case 13:case 32:e.type="click",e.preventDefault(),f(e.currentTarget).trigger(e);break;case 37:h.is_visible&&(h.element.find(".vakata-context-hover").last().closest("li").first().find("ul").hide().find(".vakata-context-hover").removeClass("vakata-context-hover").end().end().children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 38:h.is_visible&&((t=h.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").prevAll("li:not(.vakata-context-separator)").first()).length||(t=h.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").last()),t.addClass("vakata-context-hover").children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 39:h.is_visible&&(h.element.find(".vakata-context-hover").last().children("ul").show().children("li:not(.vakata-context-separator)").removeClass("vakata-context-hover").first().addClass("vakata-context-hover").children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 40:h.is_visible&&((t=h.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").nextAll("li:not(.vakata-context-separator)").first()).length||(t=h.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").first()),t.addClass("vakata-context-hover").children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 27:f.vakata.context.hide(),e.preventDefault()}}).on("keydown",function(e){e.preventDefault();var t=h.element.find(".vakata-contextmenu-shortcut-"+e.which).parent();t.parent().not(".vakata-context-disabled")&&t.trigger("click")}),f(y).on("mousedown.vakata.jstree",function(e){h.is_visible&&h.element[0]!==e.target&&!f.contains(h.element[0],e.target)&&f.vakata.context.hide()}).on("context_show.vakata.jstree",function(e,t){h.element.find("li:has(ul)").children("a").addClass("vakata-context-parent"),d&&h.element.addClass("vakata-context-rtl").css("direction","rtl"),h.element.find("ul").hide().end()})}),P.jstree.defaults.dnd={copy:!0,open_timeout:500,is_draggable:!0,check_while_dragging:!0,always_copy:!1,inside_pos:0,drag_selection:!0,touch:!0,large_drop_target:!1,large_drag_target:!1,use_html5:!1},P.jstree.plugins.dnd=function(e,s){this.init=function(e,t){s.init.call(this,e,t),this.settings.dnd.use_html5=this.settings.dnd.use_html5&&"draggable"in y.createElement("span")},this.bind=function(){s.bind.call(this),this.element.on(this.settings.dnd.use_html5?"dragstart.jstree":"mousedown.jstree touchstart.jstree",this.settings.dnd.large_drag_target?".jstree-node":".jstree-anchor",function(e){if(this.settings.dnd.large_drag_target&&P(e.target).closest(".jstree-node")[0]!==e.currentTarget)return!0;if("touchstart"===e.type&&(!this.settings.dnd.touch||"selected"===this.settings.dnd.touch&&!P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").hasClass("jstree-clicked")))return!0;var t=this.get_node(e.target),n=this.is_selected(t)&&this.settings.dnd.drag_selection?this.get_top_selected().length:1,r=1<n?n+" "+this.get_string("nodes"):this.get_text(e.currentTarget);if(this.settings.core.force_text&&(r=P.vakata.html.escape(r)),t&&t.id&&t.id!==P.jstree.root&&(1===e.which||"touchstart"===e.type||"dragstart"===e.type)&&(!0===this.settings.dnd.is_draggable||P.vakata.is_function(this.settings.dnd.is_draggable)&&this.settings.dnd.is_draggable.call(this,1<n?this.get_top_selected(!0):[t],e))){if(c={jstree:!0,origin:this,obj:this.get_node(t,!0),nodes:1<n?this.get_top_selected():[t.id]},u=e.currentTarget,!this.settings.dnd.use_html5)return this.element.trigger("mousedown.jstree"),P.vakata.dnd.start(e,c,'<div id="jstree-dnd" class="jstree-'+this.get_theme()+" jstree-"+this.get_theme()+"-"+this.get_theme_variant()+" "+(this.settings.core.themes.responsive?" jstree-dnd-responsive":"")+'"><i class="jstree-icon jstree-er"></i>'+r+'<ins class="jstree-copy">+</ins></div>');P.vakata.dnd._trigger("start",e,{helper:P(),element:u,data:c})}}.bind(this)),this.settings.dnd.use_html5&&this.element.on("dragover.jstree",function(e){return e.preventDefault(),P.vakata.dnd._trigger("move",e,{helper:P(),element:u,data:c}),!1}).on("drop.jstree",function(e){return e.preventDefault(),P.vakata.dnd._trigger("stop",e,{helper:P(),element:u,data:c}),!1}.bind(this))},this.redraw_node=function(e,t,n,r){if((e=s.redraw_node.apply(this,arguments))&&this.settings.dnd.use_html5)if(this.settings.dnd.large_drag_target)e.setAttribute("draggable",!0);else{var i,a,o=null;for(i=0,a=e.childNodes.length;i<a;i++)if(e.childNodes[i]&&e.childNodes[i].className&&-1!==e.childNodes[i].className.indexOf("jstree-anchor")){o=e.childNodes[i];break}o&&o.setAttribute("draggable",!0)}return e}},P(function(){var x=!1,k=!1,E=!1,D=!1,I=P('<div id="jstree-marker"> </div>').hide();P(y).on("dragover.vakata.jstree",function(e){u&&P.vakata.dnd._trigger("move",e,{helper:P(),element:u,data:c})}).on("drop.vakata.jstree",function(e){u&&(P.vakata.dnd._trigger("stop",e,{helper:P(),element:u,data:c}),c=u=null)}).on("dnd_start.vakata.jstree",function(e,t){E=x=!1,t&&t.data&&t.data.jstree&&I.appendTo(y.body)}).on("dnd_move.vakata.jstree",function(e,i){var a=i.event.target!==E.target;if(D&&(i.event&&"dragover"===i.event.type&&!a||clearTimeout(D)),i&&i.data&&i.data.jstree&&(!i.event.target.id||"jstree-marker"!==i.event.target.id)){E=i.event;var o,s,c,l,u,f,d,h,p,m,g,_,b,v,y,w,C,A=P.jstree.reference(i.event.target),S=!1,T=!1,t=!1;if(A&&A._data&&A._data.dnd)if(I.attr("class","jstree-"+A.get_theme()+(A.settings.core.themes.responsive?" jstree-dnd-responsive":"")),y=i.data.origin&&(i.data.origin.settings.dnd.always_copy||i.data.origin.settings.dnd.copy&&(i.event.metaKey||i.event.ctrlKey)),i.helper.children().attr("class","jstree-"+A.get_theme()+" jstree-"+A.get_theme()+"-"+A.get_theme_variant()+" "+(A.settings.core.themes.responsive?" jstree-dnd-responsive":"")).find(".jstree-copy").first()[y?"show":"hide"](),i.event.target!==A.element[0]&&i.event.target!==A.get_container_ul()[0]||0!==A.get_container_ul().children().length){if((S=A.settings.dnd.large_drop_target?P(i.event.target).closest(".jstree-node").children(".jstree-anchor"):P(i.event.target).closest(".jstree-anchor"))&&S.length&&S.parent().is(".jstree-closed, .jstree-open, .jstree-leaf")&&(T=S.offset(),t=(i.event.pageY!==M?i.event.pageY:i.event.originalEvent.pageY)-T.top,c=S.outerHeight(),f=t<c/3?["b","i","a"]:c-c/3<t?["a","i","b"]:c/2<t?["i","a","b"]:["i","b","a"],P.each(f,function(e,t){switch(t){case"b":o=T.left-6,s=T.top,l=A.get_parent(S),u=S.parent().index(),C="jstree-below";break;case"i":b=A.settings.dnd.inside_pos,v=A.get_node(S.parent()),o=T.left-2,s=T.top+c/2+1,l=v.id,u="first"===b?0:"last"===b?v.children.length:Math.min(b,v.children.length),C="jstree-inside";break;case"a":o=T.left-6,s=T.top+c,l=A.get_parent(S),u=S.parent().index()+1,C="jstree-above"}for(d=!0,h=0,p=i.data.nodes.length;h<p;h++)if(m=i.data.origin&&(i.data.origin.settings.dnd.always_copy||i.data.origin.settings.dnd.copy&&(i.event.metaKey||i.event.ctrlKey))?"copy_node":"move_node",g=u,"move_node"===m&&"a"===t&&i.data.origin&&i.data.origin===A&&l===A.get_parent(i.data.nodes[h])&&(_=A.get_node(l),g>P.inArray(i.data.nodes[h],_.children)&&(g-=1)),!(d=d&&(A&&A.settings&&A.settings.dnd&&!1===A.settings.dnd.check_while_dragging||A.check(m,i.data.origin&&i.data.origin!==A?i.data.origin.get_node(i.data.nodes[h]):i.data.nodes[h],l,g,{dnd:!0,ref:A.get_node(S.parent()),pos:t,origin:i.data.origin,is_multi:i.data.origin&&i.data.origin!==A,is_foreign:!i.data.origin})))){A&&A.last_error&&(k=A.last_error());break}var n,r;if("i"===t&&S.parent().is(".jstree-closed")&&A.settings.dnd.open_timeout&&(i.event&&"dragover"===i.event.type&&!a||(D&&clearTimeout(D),D=setTimeout((n=A,r=S,function(){n.open_node(r)}),A.settings.dnd.open_timeout))),d)return(w=A.get_node(l,!0)).hasClass(".jstree-dnd-parent")||(P(".jstree-dnd-parent").removeClass("jstree-dnd-parent"),w.addClass("jstree-dnd-parent")),x={ins:A,par:l,pos:"i"!==t||"last"!==b||0!==u||A.is_loaded(v)?u:"last"},I.css({left:o+"px",top:s+"px"}).show(),I.removeClass("jstree-above jstree-inside jstree-below").addClass(C),i.helper.find(".jstree-icon").first().removeClass("jstree-er").addClass("jstree-ok"),i.event.originalEvent&&i.event.originalEvent.dataTransfer&&(i.event.originalEvent.dataTransfer.dropEffect=y?"copy":"move"),k={},!(f=!0)}),!0===f))return}else{for(d=!0,h=0,p=i.data.nodes.length;h<p&&(d=d&&A.check(i.data.origin&&(i.data.origin.settings.dnd.always_copy||i.data.origin.settings.dnd.copy&&(i.event.metaKey||i.event.ctrlKey))?"copy_node":"move_node",i.data.origin&&i.data.origin!==A?i.data.origin.get_node(i.data.nodes[h]):i.data.nodes[h],P.jstree.root,"last",{dnd:!0,ref:A.get_node(P.jstree.root),pos:"i",origin:i.data.origin,is_multi:i.data.origin&&i.data.origin!==A,is_foreign:!i.data.origin}));h++);if(d)return x={ins:A,par:P.jstree.root,pos:"last"},I.hide(),i.helper.find(".jstree-icon").first().removeClass("jstree-er").addClass("jstree-ok"),void(i.event.originalEvent&&i.event.originalEvent.dataTransfer&&(i.event.originalEvent.dataTransfer.dropEffect=y?"copy":"move"))}P(".jstree-dnd-parent").removeClass("jstree-dnd-parent"),x=!1,i.helper.find(".jstree-icon").removeClass("jstree-ok").addClass("jstree-er"),i.event.originalEvent&&i.event.originalEvent.dataTransfer,I.hide()}}).on("dnd_scroll.vakata.jstree",function(e,t){t&&t.data&&t.data.jstree&&(I.hide(),E=x=!1,t.helper.find(".jstree-icon").first().removeClass("jstree-ok").addClass("jstree-er"))}).on("dnd_stop.vakata.jstree",function(e,t){if(P(".jstree-dnd-parent").removeClass("jstree-dnd-parent"),D&&clearTimeout(D),t&&t.data&&t.data.jstree){I.hide().detach();var n,r,i=[];if(x){for(n=0,r=t.data.nodes.length;n<r;n++)i[n]=t.data.origin?t.data.origin.get_node(t.data.nodes[n]):t.data.nodes[n];x.ins[t.data.origin&&(t.data.origin.settings.dnd.always_copy||t.data.origin.settings.dnd.copy&&(t.event.metaKey||t.event.ctrlKey))?"copy_node":"move_node"](i,x.par,x.pos,!1,!1,!1,t.data.origin)}else(n=P(t.event.target).closest(".jstree")).length&&k&&k.error&&"check"===k.error&&(n=n.jstree(!0))&&n.settings.core.error.call(this,k);x=E=!1}}).on("keyup.jstree keydown.jstree",function(e,t){(t=P.vakata.dnd._get())&&t.data&&t.data.jstree&&("keyup"===e.type&&27===e.which?(D&&clearTimeout(D),D=E=k=x=!1,I.hide().detach(),P.vakata.dnd._clean()):(t.helper.find(".jstree-copy").first()[t.data.origin&&(t.data.origin.settings.dnd.always_copy||t.data.origin.settings.dnd.copy&&(e.metaKey||e.ctrlKey))?"show":"hide"](),E&&(E.metaKey=e.metaKey,E.ctrlKey=e.ctrlKey,P.vakata.dnd._trigger("move",E))))})}),m={element:!((p=P).vakata.html={div:p("<div></div>"),escape:function(e){return p.vakata.html.div.text(e).html()},strip:function(e){return p.vakata.html.div.empty().append(p.parseHTML(e)).text()}}),target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1},p.vakata.dnd={settings:{scroll_speed:10,scroll_proximity:20,helper_left:5,helper_top:10,threshold:5,threshold_touch:10},_trigger:function(e,t,n){n===M&&(n=p.vakata.dnd._get()),n.event=t,p(y).triggerHandler("dnd_"+e+".vakata",n)},_get:function(){return{data:m.data,element:m.element,helper:m.helper}},_clean:function(){m.helper&&m.helper.remove(),m.scroll_i&&(clearInterval(m.scroll_i),m.scroll_i=!1),m={element:!1,target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1},u=null,p(y).off("mousemove.vakata.jstree touchmove.vakata.jstree",p.vakata.dnd.drag),p(y).off("mouseup.vakata.jstree touchend.vakata.jstree",p.vakata.dnd.stop)},_scroll:function(e){if(!m.scroll_e||!m.scroll_l&&!m.scroll_t)return m.scroll_i&&(clearInterval(m.scroll_i),m.scroll_i=!1),!1;if(!m.scroll_i)return m.scroll_i=setInterval(p.vakata.dnd._scroll,100),!1;if(!0===e)return!1;var t=m.scroll_e.scrollTop(),n=m.scroll_e.scrollLeft();m.scroll_e.scrollTop(t+m.scroll_t*p.vakata.dnd.settings.scroll_speed),m.scroll_e.scrollLeft(n+m.scroll_l*p.vakata.dnd.settings.scroll_speed),t===m.scroll_e.scrollTop()&&n===m.scroll_e.scrollLeft()||p.vakata.dnd._trigger("scroll",m.scroll_e)},start:function(e,t,n){"touchstart"===e.type&&e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(e.pageX=e.originalEvent.changedTouches[0].pageX,e.pageY=e.originalEvent.changedTouches[0].pageY,e.target=y.elementFromPoint(e.originalEvent.changedTouches[0].pageX-window.pageXOffset,e.originalEvent.changedTouches[0].pageY-window.pageYOffset)),m.is_drag&&p.vakata.dnd.stop({});try{e.currentTarget.unselectable="on",e.currentTarget.onselectstart=function(){return!1},e.currentTarget.style&&(e.currentTarget.style.touchAction="none",e.currentTarget.style.msTouchAction="none",e.currentTarget.style.MozUserSelect="none")}catch(e){}return m.init_x=e.pageX,m.init_y=e.pageY,m.data=t,m.is_down=!0,m.element=e.currentTarget,m.target=e.target,m.is_touch="touchstart"===e.type,!1!==n&&(m.helper=p("<div id='vakata-dnd'></div>").html(n).css({display:"block",margin:"0",padding:"0",position:"absolute",top:"-2000px",lineHeight:"16px",zIndex:"10000"})),p(y).on("mousemove.vakata.jstree touchmove.vakata.jstree",p.vakata.dnd.drag),p(y).on("mouseup.vakata.jstree touchend.vakata.jstree",p.vakata.dnd.stop),!1},drag:function(n){if("touchmove"===n.type&&n.originalEvent&&n.originalEvent.changedTouches&&n.originalEvent.changedTouches[0]&&(n.pageX=n.originalEvent.changedTouches[0].pageX,n.pageY=n.originalEvent.changedTouches[0].pageY,n.target=y.elementFromPoint(n.originalEvent.changedTouches[0].pageX-window.pageXOffset,n.originalEvent.changedTouches[0].pageY-window.pageYOffset)),m.is_down){if(!m.is_drag){if(!(Math.abs(n.pageX-m.init_x)>(m.is_touch?p.vakata.dnd.settings.threshold_touch:p.vakata.dnd.settings.threshold)||Math.abs(n.pageY-m.init_y)>(m.is_touch?p.vakata.dnd.settings.threshold_touch:p.vakata.dnd.settings.threshold)))return;m.helper&&(m.helper.appendTo(y.body),m.helper_w=m.helper.outerWidth()),m.is_drag=!0,p(m.target).one("click.vakata",!1),p.vakata.dnd._trigger("start",n)}var e=!1,t=!1,r=!1,i=!1,a=!1,o=!1,s=!1,c=!1,l=!1,u=!1;return m.scroll_t=0,m.scroll_l=0,m.scroll_e=!1,p(p(n.target).parentsUntil("body").addBack().get().reverse()).filter(function(){return/^auto|scroll$/.test(p(this).css("overflow"))&&(this.scrollHeight>this.offsetHeight||this.scrollWidth>this.offsetWidth)}).each(function(){var e=p(this),t=e.offset();if(this.scrollHeight>this.offsetHeight&&(t.top+e.height()-n.pageY<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=1),n.pageY-t.top<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=-1)),this.scrollWidth>this.offsetWidth&&(t.left+e.width()-n.pageX<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=1),n.pageX-t.left<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=-1)),m.scroll_t||m.scroll_l)return m.scroll_e=p(this),!1}),m.scroll_e||(e=p(y),t=p(window),r=e.height(),i=t.height(),a=e.width(),o=t.width(),s=e.scrollTop(),c=e.scrollLeft(),i<r&&n.pageY-s<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=-1),i<r&&i-(n.pageY-s)<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=1),o<a&&n.pageX-c<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=-1),o<a&&o-(n.pageX-c)<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=1),(m.scroll_t||m.scroll_l)&&(m.scroll_e=e)),m.scroll_e&&p.vakata.dnd._scroll(!0),m.helper&&(l=parseInt(n.pageY+p.vakata.dnd.settings.helper_top,10),u=parseInt(n.pageX+p.vakata.dnd.settings.helper_left,10),r&&r<l+25&&(l=r-50),a&&u+m.helper_w>a&&(u=a-(m.helper_w+2)),m.helper.css({left:u+"px",top:l+"px"})),p.vakata.dnd._trigger("move",n),!1}},stop:function(e){if("touchend"===e.type&&e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(e.pageX=e.originalEvent.changedTouches[0].pageX,e.pageY=e.originalEvent.changedTouches[0].pageY,e.target=y.elementFromPoint(e.originalEvent.changedTouches[0].pageX-window.pageXOffset,e.originalEvent.changedTouches[0].pageY-window.pageYOffset)),m.is_drag)e.target!==m.target&&p(m.target).off("click.vakata"),p.vakata.dnd._trigger("stop",e);else if("touchend"===e.type&&e.target===m.target){var t=setTimeout(function(){p(e.target).trigger("click")},100);p(e.target).one("click",function(){t&&clearTimeout(t)})}return p.vakata.dnd._clean(),!1}},P.jstree.defaults.massload=null,P.jstree.plugins.massload=function(e,u){this.init=function(e,t){this._data.massload={},u.init.call(this,e,t)},this._load_nodes=function(a,o,s,c){var e,t,l,n=this.settings.massload,r=[],i=this._model.data;if(!s){for(e=0,t=a.length;e<t;e++)i[a[e]]&&(i[a[e]].state.loaded||i[a[e]].state.failed)&&!c||(r.push(a[e]),(l=this.get_node(a[e],!0))&&l.length&&l.addClass("jstree-loading").attr("aria-busy",!0));if(this._data.massload={},r.length){if(P.vakata.is_function(n))return n.call(this,r,function(e){var t,n;if(e)for(t in e)e.hasOwnProperty(t)&&(this._data.massload[t]=e[t]);for(t=0,n=a.length;t<n;t++)(l=this.get_node(a[t],!0))&&l.length&&l.removeClass("jstree-loading").attr("aria-busy",!1);u._load_nodes.call(this,a,o,s,c)}.bind(this));if("object"==typeof n&&n&&n.url)return n=P.extend(!0,{},n),P.vakata.is_function(n.url)&&(n.url=n.url.call(this,r)),P.vakata.is_function(n.data)&&(n.data=n.data.call(this,r)),P.ajax(n).done(function(e,t,n){var r,i;if(e)for(r in e)e.hasOwnProperty(r)&&(this._data.massload[r]=e[r]);for(r=0,i=a.length;r<i;r++)(l=this.get_node(a[r],!0))&&l.length&&l.removeClass("jstree-loading").attr("aria-busy",!1);u._load_nodes.call(this,a,o,s,c)}.bind(this)).fail(function(e){u._load_nodes.call(this,a,o,s,c)}.bind(this))}}return u._load_nodes.call(this,a,o,s,c)},this._load_node=function(e,t){var n,r=this._data.massload[e.id],i=null;return r?(i=this["string"==typeof r?"_append_html_data":"_append_json_data"](e,"string"==typeof r?P(P.parseHTML(r)).filter(function(){return 3!==this.nodeType}):r,function(e){t.call(this,e)}),(n=this.get_node(e.id,!0))&&n.length&&n.removeClass("jstree-loading").attr("aria-busy",!1),delete this._data.massload[e.id],i):u._load_node.call(this,e,t)}},P.jstree.defaults.search={ajax:!1,fuzzy:!1,case_sensitive:!1,show_only_matches:!1,show_only_matches_children:!1,close_opened_onclear:!0,search_leaves_only:!1,search_callback:!1},P.jstree.plugins.search=function(e,s){this.bind=function(){s.bind.call(this),this._data.search.str="",this._data.search.dom=P(),this._data.search.res=[],this._data.search.opn=[],this._data.search.som=!1,this._data.search.smc=!1,this._data.search.hdn=[],this.element.on("search.jstree",function(e,t){if(this._data.search.som&&t.res.length){var n,r,i,a,o=this._model.data,s=[];for(n=0,r=t.res.length;n<r;n++)if(o[t.res[n]]&&!o[t.res[n]].state.hidden&&(s.push(t.res[n]),s=s.concat(o[t.res[n]].parents),this._data.search.smc))for(i=0,a=o[t.res[n]].children_d.length;i<a;i++)o[o[t.res[n]].children_d[i]]&&!o[o[t.res[n]].children_d[i]].state.hidden&&s.push(o[t.res[n]].children_d[i]);s=P.vakata.array_remove_item(P.vakata.array_unique(s),P.jstree.root),this._data.search.hdn=this.hide_all(!0),this.show_node(s,!0),this.redraw(!0)}}.bind(this)).on("clear_search.jstree",function(e,t){this._data.search.som&&t.res.length&&(this.show_node(this._data.search.hdn,!0),this.redraw(!0))}.bind(this))},this.search=function(r,e,t,n,i,a){if(!1===r||""===P.vakata.trim(r.toString()))return this.clear_search();n=(n=this.get_node(n))&&n.id?n.id:null,r=r.toString();var o,s,c=this.settings.search,l=!!c.ajax&&c.ajax,u=this._model.data,f=null,d=[],h=[];if(this._data.search.res.length&&!i&&this.clear_search(),t===M&&(t=c.show_only_matches),a===M&&(a=c.show_only_matches_children),!e&&!1!==l)return P.vakata.is_function(l)?l.call(this,r,function(e){e&&e.d&&(e=e.d),this._load_nodes(P.vakata.is_array(e)?P.vakata.array_unique(e):[],function(){this.search(r,!0,t,n,i,a)})}.bind(this),n):((l=P.extend({},l)).data||(l.data={}),l.data.str=r,n&&(l.data.inside=n),this._data.search.lastRequest&&this._data.search.lastRequest.abort(),this._data.search.lastRequest=P.ajax(l).fail(function(){this._data.core.last_error={error:"ajax",plugin:"search",id:"search_01",reason:"Could not load search parents",data:JSON.stringify(l)},this.settings.core.error.call(this,this._data.core.last_error)}.bind(this)).done(function(e){e&&e.d&&(e=e.d),this._load_nodes(P.vakata.is_array(e)?P.vakata.array_unique(e):[],function(){this.search(r,!0,t,n,i,a)})}.bind(this)),this._data.search.lastRequest);if(i||(this._data.search.str=r,this._data.search.dom=P(),this._data.search.res=[],this._data.search.opn=[],this._data.search.som=t,this._data.search.smc=a),f=new P.vakata.search(r,!0,{caseSensitive:c.case_sensitive,fuzzy:c.fuzzy}),P.each(u[n||P.jstree.root].children_d,function(e,t){var n=u[t];n.text&&!n.state.hidden&&(!c.search_leaves_only||n.state.loaded&&0===n.children.length)&&(c.search_callback&&c.search_callback.call(this,r,n)||!c.search_callback&&f.search(n.text).isMatch)&&(d.push(t),h=h.concat(n.parents))}),d.length){for(o=0,s=(h=P.vakata.array_unique(h)).length;o<s;o++)h[o]!==P.jstree.root&&u[h[o]]&&!0===this.open_node(h[o],null,0)&&this._data.search.opn.push(h[o]);i?(this._data.search.dom=this._data.search.dom.add(P(this.element[0].querySelectorAll("#"+P.map(d,function(e){return-1!=="0123456789".indexOf(e[0])?"\\3"+e[0]+" "+e.substr(1).replace(P.jstree.idregex,"\\$&"):e.replace(P.jstree.idregex,"\\$&")}).join(", #")))),this._data.search.res=P.vakata.array_unique(this._data.search.res.concat(d))):(this._data.search.dom=P(this.element[0].querySelectorAll("#"+P.map(d,function(e){return-1!=="0123456789".indexOf(e[0])?"\\3"+e[0]+" "+e.substr(1).replace(P.jstree.idregex,"\\$&"):e.replace(P.jstree.idregex,"\\$&")}).join(", #"))),this._data.search.res=d),this._data.search.dom.children(".jstree-anchor").addClass("jstree-search")}this.trigger("search",{nodes:this._data.search.dom,str:r,res:this._data.search.res,show_only_matches:t})},this.clear_search=function(){this.settings.search.close_opened_onclear&&this.close_node(this._data.search.opn,0),this.trigger("clear_search",{nodes:this._data.search.dom,str:this._data.search.str,res:this._data.search.res}),this._data.search.res.length&&(this._data.search.dom=P(this.element[0].querySelectorAll("#"+P.map(this._data.search.res,function(e){return-1!=="0123456789".indexOf(e[0])?"\\3"+e[0]+" "+e.substr(1).replace(P.jstree.idregex,"\\$&"):e.replace(P.jstree.idregex,"\\$&")}).join(", #"))),this._data.search.dom.children(".jstree-anchor").removeClass("jstree-search")),this._data.search.str="",this._data.search.res=[],this._data.search.opn=[],this._data.search.dom=P()},this.redraw_node=function(e,t,n,r){if((e=s.redraw_node.apply(this,arguments))&&-1!==P.inArray(e.id,this._data.search.res)){var i,a,o=null;for(i=0,a=e.childNodes.length;i<a;i++)if(e.childNodes[i]&&e.childNodes[i].className&&-1!==e.childNodes[i].className.indexOf("jstree-anchor")){o=e.childNodes[i];break}o&&(o.className+=" jstree-search")}return e}},(S=P).vakata.search=function(g,e,_){_=_||{},!1!==(_=S.extend({},S.vakata.search.defaults,_)).fuzzy&&(_.fuzzy=!0),g=_.caseSensitive?g:g.toLowerCase();var b,v,y,t,w=_.location,i=_.distance,C=_.threshold,A=g.length;return 32<A&&(_.fuzzy=!1),_.fuzzy&&(b=1<<A-1,v=function(){var e={},t=0;for(t=0;t<A;t++)e[g.charAt(t)]=0;for(t=0;t<A;t++)e[g.charAt(t)]|=1<<A-t-1;return e}(),y=function(e,t){var n=e/A,r=Math.abs(w-t);return i?n+r/i:r?1:n}),t=function(e){if(e=_.caseSensitive?e:e.toLowerCase(),g===e||-1!==e.indexOf(g))return{isMatch:!0,score:0};if(!_.fuzzy)return{isMatch:!1,score:1};var t,n,r,i,a,o,s,c,l,u=e.length,f=C,d=e.indexOf(g,w),h=A+u,p=1,m=[];for(-1!==d&&(f=Math.min(y(0,d),f),-1!==(d=e.lastIndexOf(g,w+A))&&(f=Math.min(y(0,d),f))),d=-1,t=0;t<A;t++){for(r=0,i=h;r<i;)y(t,w+i)<=f?r=i:h=i,i=Math.floor((h-r)/2+r);for(h=i,o=Math.max(1,w-i+1),s=Math.min(w+i,u)+A,(c=new Array(s+2))[s+1]=(1<<t)-1,n=s;o<=n;n--)if(l=v[e.charAt(n-1)],c[n]=0===t?(c[n+1]<<1|1)&l:(c[n+1]<<1|1)&l|(a[n+1]|a[n])<<1|1|a[n+1],c[n]&b&&(p=y(t,n-1))<=f){if(f=p,d=n-1,m.push(d),!(w<d))break;o=Math.max(1,2*w-d)}if(y(t+1,w)>f)break;a=c}return{isMatch:0<=d,score:p}},!0===e?{search:t}:t(e)},S.vakata.search.defaults={location:0,distance:100,threshold:.6,fuzzy:!1,caseSensitive:!1},P.jstree.defaults.sort=function(e,t){return this.get_text(e)>this.get_text(t)?1:-1};var _=!(P.jstree.plugins.sort=function(e,t){this.bind=function(){t.bind.call(this),this.element.on("model.jstree",function(e,t){this.sort(t.parent,!0)}.bind(this)).on("rename_node.jstree create_node.jstree",function(e,t){this.sort(t.parent||t.node.parent,!1),this.redraw_node(t.parent||t.node.parent,!0)}.bind(this)).on("move_node.jstree copy_node.jstree",function(e,t){this.sort(t.parent,!1),this.redraw_node(t.parent,!0)}.bind(this))},this.sort=function(e,t){var n,r;if((e=this.get_node(e))&&e.children&&e.children.length&&(e.children.sort(this.settings.sort.bind(this)),t))for(n=0,r=e.children_d.length;n<r;n++)this.sort(e.children_d[n],!1)}});P.jstree.defaults.state={key:"jstree",events:"changed.jstree open_node.jstree close_node.jstree check_node.jstree uncheck_node.jstree",ttl:!1,filter:!1,preserve_loaded:!1},P.jstree.plugins.state=function(e,t){this.bind=function(){t.bind.call(this);var n=function(){this.element.on(this.settings.state.events,function(){_&&clearTimeout(_),_=setTimeout(function(){this.save_state()}.bind(this),100)}.bind(this)),this.trigger("state_ready")}.bind(this);this.element.on("ready.jstree",function(e,t){this.element.one("restore_state.jstree",n),this.restore_state()||n()}.bind(this))},this.save_state=function(){var e=this.get_state();this.settings.state.preserve_loaded||delete e.core.loaded;var t={state:e,ttl:this.settings.state.ttl,sec:+new Date};P.vakata.storage.set(this.settings.state.key,JSON.stringify(t))},this.restore_state=function(){var n=P.vakata.storage.get(this.settings.state.key);if(n)try{n=JSON.parse(n)}catch(e){return!1}return!(n&&n.ttl&&n.sec&&+new Date-n.sec>n.ttl)&&(n&&n.state&&(n=n.state),n&&P.vakata.is_function(this.settings.state.filter)&&(n=this.settings.state.filter.call(this,n)),!!n&&(this.settings.state.preserve_loaded||delete n.core.loaded,this.element.one("set_state.jstree",function(e,t){t.instance.trigger("restore_state",{state:P.extend(!0,{},n)})}),this.set_state(n),!0))},this.clear_state=function(){return P.vakata.storage.del(this.settings.state.key)}},P.vakata.storage={set:function(e,t){return window.localStorage.setItem(e,t)},get:function(e){return window.localStorage.getItem(e)},del:function(e){return window.localStorage.removeItem(e)}},P.jstree.defaults.types={default:{}},P.jstree.defaults.types[P.jstree.root]={},P.jstree.plugins.types=function(e,u){this.init=function(e,t){var n,r;if(t&&t.types&&t.types.default)for(n in t.types)if("default"!==n&&n!==P.jstree.root&&t.types.hasOwnProperty(n))for(r in t.types.default)t.types.default.hasOwnProperty(r)&&t.types[n][r]===M&&(t.types[n][r]=t.types.default[r]);u.init.call(this,e,t),this._model.data[P.jstree.root].type=P.jstree.root},this.refresh=function(e,t){u.refresh.call(this,e,t),this._model.data[P.jstree.root].type=P.jstree.root},this.bind=function(){this.element.on("model.jstree",function(e,t){var n,r,i,a=this._model.data,o=t.nodes,s=this.settings.types,c="default";for(n=0,r=o.length;n<r;n++){if(c="default",a[o[n]].original&&a[o[n]].original.type&&s[a[o[n]].original.type]&&(c=a[o[n]].original.type),a[o[n]].data&&a[o[n]].data.jstree&&a[o[n]].data.jstree.type&&s[a[o[n]].data.jstree.type]&&(c=a[o[n]].data.jstree.type),a[o[n]].type=c,!0===a[o[n]].icon&&s[c].icon!==M&&(a[o[n]].icon=s[c].icon),s[c].li_attr!==M&&"object"==typeof s[c].li_attr)for(i in s[c].li_attr)if(s[c].li_attr.hasOwnProperty(i)){if("id"===i)continue;a[o[n]].li_attr[i]===M?a[o[n]].li_attr[i]=s[c].li_attr[i]:"class"===i&&(a[o[n]].li_attr.class=s[c].li_attr.class+" "+a[o[n]].li_attr.class)}if(s[c].a_attr!==M&&"object"==typeof s[c].a_attr)for(i in s[c].a_attr)if(s[c].a_attr.hasOwnProperty(i)){if("id"===i)continue;a[o[n]].a_attr[i]===M?a[o[n]].a_attr[i]=s[c].a_attr[i]:"href"===i&&"#"===a[o[n]].a_attr[i]?a[o[n]].a_attr.href=s[c].a_attr.href:"class"===i&&(a[o[n]].a_attr.class=s[c].a_attr.class+" "+a[o[n]].a_attr.class)}}a[P.jstree.root].type=P.jstree.root}.bind(this)),u.bind.call(this)},this.get_json=function(e,t,n){var r,i,a=this._model.data,o=t?P.extend(!0,{},t,{no_id:!1}):{},s=u.get_json.call(this,e,o,n);if(!1===s)return!1;if(P.vakata.is_array(s))for(r=0,i=s.length;r<i;r++)s[r].type=s[r].id&&a[s[r].id]&&a[s[r].id].type?a[s[r].id].type:"default",t&&t.no_id&&(delete s[r].id,s[r].li_attr&&s[r].li_attr.id&&delete s[r].li_attr.id,s[r].a_attr&&s[r].a_attr.id&&delete s[r].a_attr.id);else s.type=s.id&&a[s.id]&&a[s.id].type?a[s.id].type:"default",t&&t.no_id&&(s=this._delete_ids(s));return s},this._delete_ids=function(e){if(P.vakata.is_array(e)){for(var t=0,n=e.length;t<n;t++)e[t]=this._delete_ids(e[t]);return e}return delete e.id,e.li_attr&&e.li_attr.id&&delete e.li_attr.id,e.a_attr&&e.a_attr.id&&delete e.a_attr.id,e.children&&P.vakata.is_array(e.children)&&(e.children=this._delete_ids(e.children)),e},this.check=function(e,t,n,r,i){if(!1===u.check.call(this,e,t,n,r,i))return!1;t=t&&t.id?t:this.get_node(t),n=n&&n.id?n:this.get_node(n);var a,o,s,c,l=t&&t.id?i&&i.origin?i.origin:P.jstree.reference(t.id):null;switch(l=l&&l._model&&l._model.data?l._model.data:null,e){case"create_node":case"move_node":case"copy_node":if("move_node"!==e||-1===P.inArray(t.id,n.children)){if((a=this.get_rules(n)).max_children!==M&&-1!==a.max_children&&a.max_children===n.children.length)return!(this._data.core.last_error={error:"check",plugin:"types",id:"types_01",reason:"max_children prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});if(a.valid_children!==M&&-1!==a.valid_children&&-1===P.inArray(t.type||"default",a.valid_children))return!(this._data.core.last_error={error:"check",plugin:"types",id:"types_02",reason:"valid_children prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});if(l&&t.children_d&&t.parents){for(s=o=0,c=t.children_d.length;s<c;s++)o=Math.max(o,l[t.children_d[s]].parents.length);o=o-t.parents.length+1}(o<=0||o===M)&&(o=1);do{if(a.max_depth!==M&&-1!==a.max_depth&&a.max_depth<o)return!(this._data.core.last_error={error:"check",plugin:"types",id:"types_03",reason:"max_depth prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});n=this.get_node(n.parent),a=this.get_rules(n),o++}while(n)}}return!0},this.get_rules=function(e){if(!(e=this.get_node(e)))return!1;var t=this.get_type(e,!0);return t.max_depth===M&&(t.max_depth=-1),t.max_children===M&&(t.max_children=-1),t.valid_children===M&&(t.valid_children=-1),t},this.get_type=function(e,t){return!!(e=this.get_node(e))&&(t?P.extend({type:e.type},this.settings.types[e.type]):e.type)},this.set_type=function(e,t){var n,r,i,a,o,s,c,l,u=this._model.data;if(P.vakata.is_array(e)){for(r=0,i=(e=e.slice()).length;r<i;r++)this.set_type(e[r],t);return!0}if(n=this.settings.types,e=this.get_node(e),!n[t]||!e)return!1;if((c=this.get_node(e,!0))&&c.length&&(l=c.children(".jstree-anchor")),a=e.type,o=this.get_icon(e),e.type=t,(!0===o||!n[a]||n[a].icon!==M&&o===n[a].icon)&&this.set_icon(e,n[t].icon===M||n[t].icon),n[a]&&n[a].li_attr!==M&&"object"==typeof n[a].li_attr)for(s in n[a].li_attr)if(n[a].li_attr.hasOwnProperty(s)){if("id"===s)continue;"class"===s?(u[e.id].li_attr.class=(u[e.id].li_attr.class||"").replace(n[a].li_attr[s],""),c&&c.removeClass(n[a].li_attr[s])):u[e.id].li_attr[s]===n[a].li_attr[s]&&(u[e.id].li_attr[s]=null,c&&c.removeAttr(s))}if(n[a]&&n[a].a_attr!==M&&"object"==typeof n[a].a_attr)for(s in n[a].a_attr)if(n[a].a_attr.hasOwnProperty(s)){if("id"===s)continue;"class"===s?(u[e.id].a_attr.class=(u[e.id].a_attr.class||"").replace(n[a].a_attr[s],""),l&&l.removeClass(n[a].a_attr[s])):u[e.id].a_attr[s]===n[a].a_attr[s]&&("href"===s?(u[e.id].a_attr[s]="#",l&&l.attr("href","#")):(delete u[e.id].a_attr[s],l&&l.removeAttr(s)))}if(n[t].li_attr!==M&&"object"==typeof n[t].li_attr)for(s in n[t].li_attr)if(n[t].li_attr.hasOwnProperty(s)){if("id"===s)continue;u[e.id].li_attr[s]===M?(u[e.id].li_attr[s]=n[t].li_attr[s],c&&("class"===s?c.addClass(n[t].li_attr[s]):c.attr(s,n[t].li_attr[s]))):"class"===s&&(u[e.id].li_attr.class=n[t].li_attr[s]+" "+u[e.id].li_attr.class,c&&c.addClass(n[t].li_attr[s]))}if(n[t].a_attr!==M&&"object"==typeof n[t].a_attr)for(s in n[t].a_attr)if(n[t].a_attr.hasOwnProperty(s)){if("id"===s)continue;u[e.id].a_attr[s]===M?(u[e.id].a_attr[s]=n[t].a_attr[s],l&&("class"===s?l.addClass(n[t].a_attr[s]):l.attr(s,n[t].a_attr[s]))):"href"===s&&"#"===u[e.id].a_attr[s]?(u[e.id].a_attr.href=n[t].a_attr.href,l&&l.attr("href",n[t].a_attr.href)):"class"===s&&(u[e.id].a_attr.class=n[t].a_attr.class+" "+u[e.id].a_attr.class,l&&l.addClass(n[t].a_attr[s]))}return!0}},P.jstree.defaults.unique={case_sensitive:!1,trim_whitespace:!1,duplicate:function(e,t){return e+" ("+t+")"}},P.jstree.plugins.unique=function(e,m){this.check=function(e,t,n,r,i){if(!1===m.check.call(this,e,t,n,r,i))return!1;if(t=t&&t.id?t:this.get_node(t),!(n=n&&n.id?n:this.get_node(n))||!n.children)return!0;var a,o,s,c="rename_node"===e?r:t.text,l=[],u=this.settings.unique.case_sensitive,f=this.settings.unique.trim_whitespace,d=this._model.data;for(a=0,o=n.children.length;a<o;a++)s=d[n.children[a]].text,u||(s=s.toLowerCase()),f&&(s=s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),l.push(s);switch(u||(c=c.toLowerCase()),f&&(c=c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),e){case"delete_node":return!0;case"rename_node":return s=t.text||"",u||(s=s.toLowerCase()),f&&(s=s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),(a=-1===P.inArray(c,l)||t.text&&s===c)||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_01",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a;case"create_node":return(a=-1===P.inArray(c,l))||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_04",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a;case"copy_node":return(a=-1===P.inArray(c,l))||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_02",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a;case"move_node":return(a=t.parent===n.id&&(!i||!i.is_multi)||-1===P.inArray(c,l))||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_03",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a}return!0},this.create_node=function(e,t,n,r,i){if(!t||t.text===M){if(null===e&&(e=P.jstree.root),!(e=this.get_node(e)))return m.create_node.call(this,e,t,n,r,i);if(!(n=n===M?"last":n).toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(e))return m.create_node.call(this,e,t,n,r,i);t||(t={});var a,o,s,c,l,u,f=this._model.data,d=this.settings.unique.case_sensitive,h=this.settings.unique.trim_whitespace,p=this.settings.unique.duplicate;for(o=a=this.get_string("New node"),s=[],c=0,l=e.children.length;c<l;c++)u=f[e.children[c]].text,d||(u=u.toLowerCase()),h&&(u=u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),s.push(u);for(c=1,u=o,d||(u=u.toLowerCase()),h&&(u=u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""));-1!==P.inArray(u,s);)u=o=p.call(this,a,++c).toString(),d||(u=u.toLowerCase()),h&&(u=u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""));t.text=o}return m.create_node.call(this,e,t,n,r,i)}};var b=y.createElement("DIV");if(b.setAttribute("unselectable","on"),b.setAttribute("role","presentation"),b.className="jstree-wholerow",b.innerHTML=" ",P.jstree.plugins.wholerow=function(e,a){this.bind=function(){a.bind.call(this),this.element.on("ready.jstree set_state.jstree",function(){this.hide_dots()}.bind(this)).on("init.jstree loading.jstree ready.jstree",function(){this.get_container_ul().addClass("jstree-wholerow-ul")}.bind(this)).on("deselect_all.jstree",function(e,t){this.element.find(".jstree-wholerow-clicked").removeClass("jstree-wholerow-clicked")}.bind(this)).on("changed.jstree",function(e,t){this.element.find(".jstree-wholerow-clicked").removeClass("jstree-wholerow-clicked");var n,r,i=!1;for(n=0,r=t.selected.length;n<r;n++)(i=this.get_node(t.selected[n],!0))&&i.length&&i.children(".jstree-wholerow").addClass("jstree-wholerow-clicked")}.bind(this)).on("open_node.jstree",function(e,t){this.get_node(t.node,!0).find(".jstree-clicked").parent().children(".jstree-wholerow").addClass("jstree-wholerow-clicked")}.bind(this)).on("hover_node.jstree dehover_node.jstree",function(e,t){"hover_node"===e.type&&this.is_disabled(t.node)||this.get_node(t.node,!0).children(".jstree-wholerow")["hover_node"===e.type?"addClass":"removeClass"]("jstree-wholerow-hovered")}.bind(this)).on("contextmenu.jstree",".jstree-wholerow",function(e){if(this._data.contextmenu){e.preventDefault();var t=P.Event("contextmenu",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey,pageX:e.pageX,pageY:e.pageY});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t)}}.bind(this)).on("click.jstree",".jstree-wholerow",function(e){e.stopImmediatePropagation();var t=P.Event("click",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t).trigger("focus")}).on("dblclick.jstree",".jstree-wholerow",function(e){e.stopImmediatePropagation();var t=P.Event("dblclick",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t).trigger("focus")}).on("click.jstree",".jstree-leaf > .jstree-ocl",function(e){e.stopImmediatePropagation();var t=P.Event("click",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t).trigger("focus")}.bind(this)).on("mouseover.jstree",".jstree-wholerow, .jstree-icon",function(e){return e.stopImmediatePropagation(),this.is_disabled(e.currentTarget)||this.hover_node(e.currentTarget),!1}.bind(this)).on("mouseleave.jstree",".jstree-node",function(e){this.dehover_node(e.currentTarget)}.bind(this))},this.teardown=function(){this.settings.wholerow&&this.element.find(".jstree-wholerow").remove(),a.teardown.call(this)},this.redraw_node=function(e,t,n,r){if(e=a.redraw_node.apply(this,arguments)){var i=b.cloneNode(!0);-1!==P.inArray(e.id,this._data.core.selected)&&(i.className+=" jstree-wholerow-clicked"),this._data.core.focused&&this._data.core.focused===e.id&&(i.className+=" jstree-wholerow-hovered"),e.insertBefore(i,e.childNodes[0])}return e}},window.customElements&&Object&&Object.create){var t=Object.create(HTMLElement.prototype);t.createdCallback=function(){var e,t={core:{},plugins:[]};for(e in P.jstree.plugins)P.jstree.plugins.hasOwnProperty(e)&&this.attributes[e]&&(t.plugins.push(e),this.getAttribute(e)&&JSON.parse(this.getAttribute(e))&&(t[e]=JSON.parse(this.getAttribute(e))));for(e in P.jstree.defaults.core)P.jstree.defaults.core.hasOwnProperty(e)&&this.attributes[e]&&(t.core[e]=JSON.parse(this.getAttribute(e))||this.getAttribute(e));P(this).jstree(t)};try{window.customElements.define("vakata-jstree",function(){},{prototype:t})}catch(e){}}}}),function(o,e){"use strict";o.jstree.defaults.alltrigger=null,o.jstree.plugins.alltrigger=function(i,a){this.init=function(e,t){if(i){this.trigger=function(e,t){a.trigger.call(this,e,t),i(e.replace(".jstree","")+".jstree",t)};var n=o.vakata.context._trigger;o.vakata.context._trigger=function(e){n(e),i("context_"+e+".vakata")};var r=o.vakata.dnd._trigger;o.vakata.dnd._trigger=function(e,t,n){r(e,t,n),i("dnd_"+e+".vakata",t,n)}}a.init.call(this,e,t)}}}(jQuery),function(u){"use strict";var e=u.module("ngJsTree",[]);e.controller("jsTreeCtrl",function(){var t=1;this.nodesFingerprint=function(e){return e.__uiNodeId||(e.__uiNodeId=t++),""+e.__uiNodeId+(e.id||"")+(e.text||"")+(e.type||"")},this.changeWatcher=function(o,f){var d,t=function(){var e,t,n=[];if(o)for(var r=u.isFunction(o)?o():o,i=0,a=r.length;i<a;i++)t=r[i],e=f(t),p[e]=t,n.push(e);return n},h=function(e,t){var n,r,i=[],a={};for(n=0,r=t.length;n<r;n++)a[t[n]]=!0;for(n=0,r=e.length;n<r;n++)a[e[n]]||i.push(e[n]);return i},p={};return d={subscribe:function(e,n){e.$watch(t,function(e,t){n&&!1===n(e,t)||function(e,t){var n,r,i,a,o={},s=h(t,e);for(n=0,r=s.length;n<r;n++){var c=s[n];i=p[c],delete p[c];var l=f(i);l===c?d.onRemoved(i):(o[l]=c,d.onChanged(i))}var u=h(e,t);for(n=0,r=u.length;n<r;n++)a=u[n],i=p[a],o[a]||d.onAdded(i)}(e,t)},!0)},onAdded:u.noop,onChanged:u.noop,onRemoved:u.noop}}}),e.directive("jsTree",["$timeout",function(l){return{restrict:"A",scope:{treeData:"=ngModel",treeEventsObj:"=?treeEventsObj",shouldApply:"&"},controller:"jsTreeCtrl",link:function(i,a,o,e){var n=null,t=e.changeWatcher(i.treeData,e.nodesFingerprint),s=[],r=!1;function c(n,r){return function(){var e=arguments,t=n.$parent.$eval(r);n.$root.$$phase?t.apply(n.$parent,e):n.$parent.$apply(function(){t.apply(n.$parent,e)})}}i.destroy=function(){if(s=[],o.tree)if(-1!==o.tree.indexOf(".")){for(var e=o.tree.split("."),t=e.pop(),n=i.$parent,r=0;r<e.length;r++)n=n[e[r]];i.tree=n[t]=a}else i.tree=i.$parent[o.tree]=a;else i.tree=a;i.tree.jstree("destroy")},i.init=function(){i.tree.jstree(n),l(function(){!function(n,e,t){if(t.treeEvents)for(var r=t.treeEvents.split(";"),i=0;i<r.length;i++)if(0<r[i].length){var a=r[i].split(":")[0],o=r[i].split(":")[1];-1===a.indexOf(".")&&(a+=".jstree"),s.push(a),-1===a.indexOf(".vakata")?n.tree.on(a,c(n,o)):$(document).on(a,c(n,o))}u.isObject(n.treeEventsObj)&&u.forEach(n.treeEventsObj,function(t,e){-1===e.indexOf(".")&&(e+=".jstree"),s.push(e),-1===e.indexOf(".vakata")?n.tree.on(e,function(){var e=arguments;n.$root.$$phase?t.apply(n.$parent,e):n.$parent.$apply(function(){t.apply(n.$parent,e)})}):$(document).on(e,function(){var e=arguments;n.$root.$$phase?t.apply(n.$parent,e):n.$parent.$apply(function(){t.apply(n.$parent,e)})})})}(i,0,o)})},t.onChanged=function(e){u.isDefined(i.tree.jstree(!0).set_type)&&i.tree.jstree(!0).set_type(e.id,e.type),i.tree.jstree(!0).rename_node(e.id,e.text)},t.onAdded=function(t){l(function(){for(;r;);r=!0;var e=i.tree.jstree(!0).get_node(t.parent);i.tree.jstree(!0).create_node(e,t,"inside",function(){r=!1})||(r=!1)})},t.onRemoved=function(e){i.tree.jstree(!0).delete_node(e.id)},t.subscribe(i,function(){return!i.shouldApply||i.shouldApply()}),i.$watch(function(){var e=o.jsTree?i.$parent.$eval(o.jsTree):{};n={},u.copy(e,n);var t=JSON.stringify(n);return n.core?n.core.data=i.treeData:n.core={data:i.treeData},n.plugins?n.plugins.push("alltrigger"):n.plugins=["alltrigger"],n.alltrigger=function(e){i.$root.$$phase||-1!==s.indexOf(e)||i.$apply()},t},function(){i.destroy(),i.init()})}}}])}(angular),function(){var to,no="Expected a function",ro="__lodash_hash_undefined__",io="__lodash_placeholder__",ao=9007199254740991,oo=NaN,so=4294967295,co=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],lo="[object Arguments]",uo="[object Array]",fo="[object Boolean]",ho="[object Date]",po="[object Error]",mo="[object Function]",go="[object GeneratorFunction]",_o="[object Map]",bo="[object Number]",vo="[object Object]",yo="[object Promise]",wo="[object RegExp]",Co="[object Set]",Ao="[object String]",So="[object Symbol]",To="[object WeakMap]",xo="[object ArrayBuffer]",ko="[object DataView]",Eo="[object Float32Array]",Do="[object Float64Array]",Io="[object Int8Array]",Po="[object Int16Array]",Mo="[object Int32Array]",$o="[object Uint8Array]",Oo="[object Uint8ClampedArray]",Ro="[object Uint16Array]",No="[object Uint32Array]",Lo=/\b__p \+= '';/g,Fo=/\b(__p \+=) '' \+/g,Go=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jo=/&(?:amp|lt|gt|quot|#39);/g,Bo=/[&<>"']/g,Uo=RegExp(jo.source),Ho=RegExp(Bo.source),Wo=/<%-([\s\S]+?)%>/g,qo=/<%([\s\S]+?)%>/g,zo=/<%=([\s\S]+?)%>/g,Vo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yo=/^\w*$/,Ko=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qo=/[\\^$.*+?()[\]{}|]/g,Xo=RegExp(Qo.source),Zo=/^\s+/,n=/\s/,Jo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,es=/\{\n\/\* \[wrapped with (.+)\] \*/,ts=/,? & /,ns=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,rs=/[()=,{}\[\]\/\s]/,is=/\\(\\)?/g,as=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,os=/\w*$/,ss=/^[-+]0x[0-9a-f]+$/i,cs=/^0b[01]+$/i,ls=/^\[object .+?Constructor\]$/,us=/^0o[0-7]+$/i,fs=/^(?:0|[1-9]\d*)$/,ds=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hs=/($^)/,ps=/['\n\r\u2028\u2029\\]/g,e="\\ud800-\\udfff",t="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",r="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",a="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\ufe0e\\ufe0f",s="\\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",c="["+e+"]",l="["+s+"]",u="["+t+"]",f="\\d+",d="["+r+"]",h="["+i+"]",p="[^"+e+s+f+r+i+a+"]",m="\\ud83c[\\udffb-\\udfff]",g="[^"+e+"]",_="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",v="["+a+"]",y="(?:"+h+"|"+p+")",w="(?:"+v+"|"+p+")",C="(?:['’](?:d|ll|m|re|s|t|ve))?",A="(?:['’](?:D|LL|M|RE|S|T|VE))?",S="(?:"+u+"|"+m+")"+"?",T="["+o+"]?",x=T+S+("(?:\\u200d(?:"+[g,_,b].join("|")+")"+T+S+")*"),k="(?:"+[d,_,b].join("|")+")"+x,E="(?:"+[g+u+"?",u,_,b,c].join("|")+")",ms=RegExp("['’]","g"),gs=RegExp(u,"g"),D=RegExp(m+"(?="+m+")|"+E+x,"g"),_s=RegExp([v+"?"+h+"+"+C+"(?="+[l,v,"$"].join("|")+")",w+"+"+A+"(?="+[l,v+y,"$"].join("|")+")",v+"?"+y+"+"+C,v+"+"+A,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",f,k].join("|"),"g"),I=RegExp("[\\u200d"+e+t+o+"]"),bs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vs=["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"],ys=-1,ws={};ws[Eo]=ws[Do]=ws[Io]=ws[Po]=ws[Mo]=ws[$o]=ws[Oo]=ws[Ro]=ws[No]=!0,ws[lo]=ws[uo]=ws[xo]=ws[fo]=ws[ko]=ws[ho]=ws[po]=ws[mo]=ws[_o]=ws[bo]=ws[vo]=ws[wo]=ws[Co]=ws[Ao]=ws[To]=!1;var Cs={};Cs[lo]=Cs[uo]=Cs[xo]=Cs[ko]=Cs[fo]=Cs[ho]=Cs[Eo]=Cs[Do]=Cs[Io]=Cs[Po]=Cs[Mo]=Cs[_o]=Cs[bo]=Cs[vo]=Cs[wo]=Cs[Co]=Cs[Ao]=Cs[So]=Cs[$o]=Cs[Oo]=Cs[Ro]=Cs[No]=!0,Cs[po]=Cs[mo]=Cs[To]=!1;var P={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},As=parseFloat,Ss=parseInt,M="object"==typeof global&&global&&global.Object===Object&&global,$="object"==typeof self&&self&&self.Object===Object&&self,Ts=M||$||Function("return this")(),O="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=O&&"object"==typeof module&&module&&!module.nodeType&&module,xs=R&&R.exports===O,N=xs&&M.process,L=function(){try{var e=R&&R.require&&R.require("util").types;return e||N&&N.binding&&N.binding("util")}catch(e){}}(),ks=L&&L.isArrayBuffer,Es=L&&L.isDate,Ds=L&&L.isMap,Is=L&&L.isRegExp,Ps=L&&L.isSet,Ms=L&&L.isTypedArray;function $s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Os(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function Rs(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ns(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ls(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Fs(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Gs(e,t){return!!(null==e?0:e.length)&&-1<Ys(e,t,0)}function js(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Bs(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Us(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Hs(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Ws(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function qs(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var F=Zs("length");function zs(e,r,t){var i;return t(e,function(e,t,n){if(r(e,t,n))return i=t,!1}),i}function Vs(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Ys(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Vs(e,Qs,n)}function Ks(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function Qs(e){return e!=e}function Xs(e,t){var n=null==e?0:e.length;return n?ec(e,t)/n:oo}function Zs(t){return function(e){return null==e?to:e[t]}}function G(t){return function(e){return null==t?to:t[e]}}function Js(e,r,i,a,t){return t(e,function(e,t,n){i=a?(a=!1,e):r(i,e,t,n)}),i}function ec(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==to&&(n=n===to?a:n+a)}return n}function tc(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function nc(e){return e?e.slice(0,bc(e)+1).replace(Zo,""):e}function rc(t){return function(e){return t(e)}}function ic(t,e){return Bs(e,function(e){return t[e]})}function ac(e,t){return e.has(t)}function oc(e,t){for(var n=-1,r=e.length;++n<r&&-1<Ys(t,e[n],0););return n}function sc(e,t){for(var n=e.length;n--&&-1<Ys(t,e[n],0););return n}var cc=G({"À":"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"}),lc=G({"&":"&","<":"<",">":">",'"':""","'":"'"});function uc(e){return"\\"+P[e]}function fc(e){return I.test(e)}function dc(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function hc(t,n){return function(e){return t(n(e))}}function pc(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&o!==io||(e[n]=io,a[i++]=n)}return a}function mc(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function gc(e){return fc(e)?function(e){var t=D.lastIndex=0;for(;D.test(e);)++t;return t}(e):F(e)}function _c(e){return fc(e)?e.match(D)||[]:e.split("")}function bc(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}var vc=G({"&":"&","<":"<",">":">",""":'"',"'":"'"});var yc=function e(t){var n,E=(t=null==t?Ts:yc.defaults(Ts.Object(),t,yc.pick(Ts,vs))).Array,r=t.Date,g=t.Error,_=t.Function,i=t.Math,S=t.Object,b=t.RegExp,u=t.String,D=t.TypeError,a=E.prototype,o=_.prototype,f=S.prototype,s=t["__core-js_shared__"],c=o.toString,T=f.hasOwnProperty,l=0,d=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",h=f.toString,p=c.call(S),m=Ts._,v=b("^"+c.call(T).replace(Qo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=xs?t.Buffer:to,w=t.Symbol,C=t.Uint8Array,A=y?y.allocUnsafe:to,x=hc(S.getPrototypeOf,S),k=S.create,I=f.propertyIsEnumerable,P=a.splice,M=w?w.isConcatSpreadable:to,$=w?w.iterator:to,O=w?w.toStringTag:to,R=function(){try{var e=jn(S,"defineProperty");return e({},"",{}),e}catch(e){}}(),N=t.clearTimeout!==Ts.clearTimeout&&t.clearTimeout,L=r&&r.now!==Ts.Date.now&&r.now,F=t.setTimeout!==Ts.setTimeout&&t.setTimeout,G=i.ceil,j=i.floor,B=S.getOwnPropertySymbols,U=y?y.isBuffer:to,H=t.isFinite,W=a.join,q=hc(S.keys,S),z=i.max,V=i.min,Y=r.now,K=t.parseInt,Q=i.random,X=a.reverse,Z=jn(t,"DataView"),J=jn(t,"Map"),ee=jn(t,"Promise"),te=jn(t,"Set"),ne=jn(t,"WeakMap"),re=jn(S,"create"),ie=ne&&new ne,ae={},oe=pr(Z),se=pr(J),ce=pr(ee),le=pr(te),ue=pr(ne),fe=w?w.prototype:to,de=fe?fe.valueOf:to,he=fe?fe.toString:to;function pe(e){if(Pi(e)&&!yi(e)&&!(e instanceof be)){if(e instanceof _e)return e;if(T.call(e,"__wrapped__"))return mr(e)}return new _e(e)}var me=function(){function n(){}return function(e){if(!Ii(e))return{};if(k)return k(e);n.prototype=e;var t=new n;return n.prototype=to,t}}();function ge(){}function _e(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=to}function be(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=so,this.__views__=[]}function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function we(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new we;++t<n;)this.add(e[t])}function Ae(e){var t=this.__data__=new ye(e);this.size=t.size}function Se(e,t){var n=yi(e),r=!n&&vi(e),i=!n&&!r&&Si(e),a=!n&&!r&&!i&&Gi(e),o=n||r||i||a,s=o?tc(e.length,u):[],c=s.length;for(var l in e)!t&&!T.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Vn(l,c))||s.push(l);return s}function Te(e){var t=e.length;return t?e[Ct(0,t-1)]:to}function xe(e,t){return lr(rn(e),Re(t,0,e.length))}function ke(e){return lr(rn(e))}function Ee(e,t,n){(n===to||gi(e[t],n))&&(n!==to||t in e)||$e(e,t,n)}function De(e,t,n){var r=e[t];T.call(e,t)&&gi(r,n)&&(n!==to||t in e)||$e(e,t,n)}function Ie(e,t){for(var n=e.length;n--;)if(gi(e[n][0],t))return n;return-1}function Pe(e,r,i,a){return je(e,function(e,t,n){r(a,e,i(e),n)}),a}function Me(e,t){return e&&an(t,sa(t),e)}function $e(e,t,n){"__proto__"==t&&R?R(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Oe(e,t){for(var n=-1,r=t.length,i=E(r),a=null==e;++n<r;)i[n]=a?to:na(e,t[n]);return i}function Re(e,t,n){return e==e&&(n!==to&&(e=e<=n?e:n),t!==to&&(e=t<=e?e:t)),e}function Ne(n,r,i,e,t,a){var o,s=1&r,c=2&r,l=4&r;if(i&&(o=t?i(n,e,t,a):i(n)),o!==to)return o;if(!Ii(n))return n;var u,f,d,h,p,m,g,_,b,v=yi(n);if(v){if(_=(g=n).length,b=new g.constructor(_),_&&"string"==typeof g[0]&&T.call(g,"index")&&(b.index=g.index,b.input=g.input),o=b,!s)return rn(n,o)}else{var y=Hn(n),w=y==mo||y==go;if(Si(n))return Xt(n,s);if(y==vo||y==lo||w&&!t){if(o=c||w?{}:qn(n),!s)return c?(m=d=n,h=(p=o)&&an(m,ca(m),p),an(d,Un(d),h)):(f=Me(o,u=n),an(u,Bn(u),f))}else{if(!Cs[y])return t?n:{};o=function(e,t,n){var r,i,a,o,s,c=e.constructor;switch(t){case xo:return Zt(e);case fo:case ho:return new c(+e);case ko:return o=e,s=n?Zt(o.buffer):o.buffer,new o.constructor(s,o.byteOffset,o.byteLength);case Eo:case Do:case Io:case Po:case Mo:case $o:case Oo:case Ro:case No:return Jt(e,n);case _o:return new c;case bo:case Ao:return new c(e);case wo:return(a=new(i=e).constructor(i.source,os.exec(i))).lastIndex=i.lastIndex,a;case Co:return new c;case So:return r=e,de?S(de.call(r)):{}}}(n,y,s)}}a||(a=new Ae);var C=a.get(n);if(C)return C;a.set(n,o),Ni(n)?n.forEach(function(e){o.add(Ne(e,r,i,e,n,a))}):Mi(n)&&n.forEach(function(e,t){o.set(t,Ne(e,r,i,t,n,a))});var A=v?to:(l?c?$n:Mn:c?ca:sa)(n);return Rs(A||n,function(e,t){A&&(e=n[t=e]),De(o,t,Ne(e,r,i,t,n,a))}),o}function Le(e,t,n){var r=n.length;if(null==e)return!r;for(e=S(e);r--;){var i=n[r],a=t[i],o=e[i];if(o===to&&!(i in e)||!a(o))return!1}return!0}function Fe(e,t,n){if("function"!=typeof e)throw new D(no);return ar(function(){e.apply(to,n)},t)}function Ge(e,t,n,r){var i=-1,a=Gs,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=Bs(t,rc(n))),r?(a=js,o=!1):200<=t.length&&(a=ac,o=!1,t=new Ce(t));e:for(;++i<s;){var u=e[i],f=null==n?u:n(u);if(u=r||0!==u?u:0,o&&f==f){for(var d=l;d--;)if(t[d]===f)continue e;c.push(u)}else a(t,f,r)||c.push(u)}return c}pe.templateSettings={escape:Wo,evaluate:qo,interpolate:zo,variable:"",imports:{_:pe}},(pe.prototype=ge.prototype).constructor=pe,(_e.prototype=me(ge.prototype)).constructor=_e,(be.prototype=me(ge.prototype)).constructor=be,ve.prototype.clear=function(){this.__data__=re?re(null):{},this.size=0},ve.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve.prototype.get=function(e){var t=this.__data__;if(re){var n=t[e];return n===ro?to:n}return T.call(t,e)?t[e]:to},ve.prototype.has=function(e){var t=this.__data__;return re?t[e]!==to:T.call(t,e)},ve.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=re&&t===to?ro:t,this},ye.prototype.clear=function(){this.__data__=[],this.size=0},ye.prototype.delete=function(e){var t=this.__data__,n=Ie(t,e);return!(n<0||(n==t.length-1?t.pop():P.call(t,n,1),--this.size,0))},ye.prototype.get=function(e){var t=this.__data__,n=Ie(t,e);return n<0?to:t[n][1]},ye.prototype.has=function(e){return-1<Ie(this.__data__,e)},ye.prototype.set=function(e,t){var n=this.__data__,r=Ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},we.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(J||ye),string:new ve}},we.prototype.delete=function(e){var t=Fn(this,e).delete(e);return this.size-=t?1:0,t},we.prototype.get=function(e){return Fn(this,e).get(e)},we.prototype.has=function(e){return Fn(this,e).has(e)},we.prototype.set=function(e,t){var n=Fn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ce.prototype.add=Ce.prototype.push=function(e){return this.__data__.set(e,ro),this},Ce.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.clear=function(){this.__data__=new ye,this.size=0},Ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ae.prototype.get=function(e){return this.__data__.get(e)},Ae.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ye){var r=n.__data__;if(!J||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new we(r)}return n.set(e,t),this.size=n.size,this};var je=cn(Ye),Be=cn(Ke,!0);function Ue(e,r){var i=!0;return je(e,function(e,t,n){return i=!!r(e,t,n)}),i}function He(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(null!=o&&(s===to?o==o&&!Fi(o):n(o,s)))var s=o,c=a}return c}function We(e,r){var i=[];return je(e,function(e,t,n){r(e,t,n)&&i.push(e)}),i}function qe(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=zn),i||(i=[]);++a<o;){var s=e[a];0<t&&n(s)?1<t?qe(s,t-1,n,r,i):Us(i,s):r||(i[i.length]=s)}return i}var ze=ln(),Ve=ln(!0);function Ye(e,t){return e&&ze(e,t,sa)}function Ke(e,t){return e&&Ve(e,t,sa)}function Qe(t,e){return Fs(e,function(e){return ki(t[e])})}function Xe(e,t){for(var n=0,r=(t=Vt(t,e)).length;null!=e&&n<r;)e=e[hr(t[n++])];return n&&n==r?e:to}function Ze(e,t,n){var r=t(e);return yi(e)?r:Us(r,n(e))}function Je(e){return null==e?e===to?"[object Undefined]":"[object Null]":O&&O in S(e)?function(e){var t=T.call(e,O),n=e[O];try{e[O]=to;var r=!0}catch(e){}var i=h.call(e);return r&&(t?e[O]=n:delete e[O]),i}(e):(t=e,h.call(t));var t}function et(e,t){return t<e}function tt(e,t){return null!=e&&T.call(e,t)}function nt(e,t){return null!=e&&t in S(e)}function rt(e,t,n){for(var r=n?js:Gs,i=e[0].length,a=e.length,o=a,s=E(a),c=1/0,l=[];o--;){var u=e[o];o&&t&&(u=Bs(u,rc(t))),c=V(u.length,c),s[o]=!n&&(t||120<=i&&120<=u.length)?new Ce(o&&u):to}u=e[0];var f=-1,d=s[0];e:for(;++f<i&&l.length<c;){var h=u[f],p=t?t(h):h;if(h=n||0!==h?h:0,!(d?ac(d,p):r(l,p,n))){for(o=a;--o;){var m=s[o];if(!(m?ac(m,p):r(e[o],p,n)))continue e}d&&d.push(p),l.push(h)}}return l}function it(e,t,n){var r=null==(e=nr(e,t=Vt(t,e)))?e:e[hr(xr(t))];return null==r?to:$s(r,e,n)}function at(e){return Pi(e)&&Je(e)==lo}function ot(e,t,n,r,i){return e===t||(null==e||null==t||!Pi(e)&&!Pi(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var o=yi(e),s=yi(t),c=o?uo:Hn(e),l=s?uo:Hn(t),u=(c=c==lo?vo:c)==vo,f=(l=l==lo?vo:l)==vo,d=c==l;if(d&&Si(e)){if(!Si(t))return!1;u=!(o=!0)}if(d&&!u)return a||(a=new Ae),o||Gi(e)?In(e,t,n,r,i,a):function(e,t,n,r,i,a,o){switch(n){case ko:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case xo:return!(e.byteLength!=t.byteLength||!a(new C(e),new C(t)));case fo:case ho:case bo:return gi(+e,+t);case po:return e.name==t.name&&e.message==t.message;case wo:case Ao:return e==t+"";case _o:var s=dc;case Co:var c=1&r;if(s||(s=mc),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=2,o.set(e,t);var u=In(s(e),s(t),r,i,a,o);return o.delete(e),u;case So:if(de)return de.call(e)==de.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var h=u&&T.call(e,"__wrapped__"),p=f&&T.call(t,"__wrapped__");if(h||p){var m=h?e.value():e,g=p?t.value():t;return a||(a=new Ae),i(m,g,n,r,a)}}return!!d&&(a||(a=new Ae),function(e,t,n,r,i,a){var o=1&n,s=Mn(e),c=s.length,l=Mn(t).length;if(c!=l&&!o)return!1;for(var u=c;u--;){var f=s[u];if(!(o?f in t:T.call(t,f)))return!1}var d=a.get(e),h=a.get(t);if(d&&h)return d==t&&h==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++u<c;){f=s[u];var g=e[f],_=t[f];if(r)var b=o?r(_,g,f,t,e,a):r(g,_,f,e,t,a);if(!(b===to?g===_||i(g,_,n,r,a):b)){p=!1;break}m||(m="constructor"==f)}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}(e,t,n,r,i,a))}(e,t,n,r,ot,i))}function st(e,t,n,r){var i=n.length,a=i,o=!r;if(null==e)return!a;for(e=S(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var c=(s=n[i])[0],l=e[c],u=s[1];if(o&&s[2]){if(l===to&&!(c in e))return!1}else{var f=new Ae;if(r)var d=r(l,u,c,e,t,f);if(!(d===to?ot(u,l,3,r,f):d))return!1}}return!0}function ct(e){return!(!Ii(e)||(t=e,d&&d in t))&&(ki(e)?v:ls).test(pr(e));var t}function lt(e){return"function"==typeof e?e:null==e?$a:"object"==typeof e?yi(e)?mt(e[0],e[1]):pt(e):Ua(e)}function ut(e){if(!Zn(e))return q(e);var t=[];for(var n in S(e))T.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ft(e){if(!Ii(e))return function(e){var t=[];if(null!=e)for(var n in S(e))t.push(n);return t}(e);var t=Zn(e),n=[];for(var r in e)("constructor"!=r||!t&&T.call(e,r))&&n.push(r);return n}function dt(e,t){return e<t}function ht(e,r){var i=-1,a=Ci(e)?E(e.length):[];return je(e,function(e,t,n){a[++i]=r(e,t,n)}),a}function pt(t){var n=Gn(t);return 1==n.length&&n[0][2]?er(n[0][0],n[0][1]):function(e){return e===t||st(e,t,n)}}function mt(n,r){return Kn(n)&&Jn(r)?er(hr(n),r):function(e){var t=na(e,n);return t===to&&t===r?ra(e,n):ot(r,t,3)}}function gt(r,i,a,o,s){r!==i&&ze(i,function(e,t){if(s||(s=new Ae),Ii(e))!function(e,t,n,r,i,a,o){var s=rr(e,n),c=rr(t,n),l=o.get(c);if(l)return Ee(e,n,l);var u=a?a(s,c,n+"",e,t,o):to,f=u===to;if(f){var d=yi(c),h=!d&&Si(c),p=!d&&!h&&Gi(c);u=c,d||h||p?u=yi(s)?s:Ai(s)?rn(s):h?Xt(c,!(f=!1)):p?Jt(c,!(f=!1)):[]:Oi(c)||vi(c)?vi(u=s)?u=Vi(s):Ii(s)&&!ki(s)||(u=qn(c)):f=!1}f&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),Ee(e,n,u)}(r,i,t,a,gt,o,s);else{var n=o?o(rr(r,t),e,t+"",r,i,s):to;n===to&&(n=e),Ee(r,t,n)}},ca)}function _t(e,t){var n=e.length;if(n)return Vn(t+=t<0?n:0,n)?e[t]:to}function bt(e,r,n){r=r.length?Bs(r,function(t){return yi(t)?function(e){return Xe(e,1===t.length?t[0]:t)}:t}):[$a];var i=-1;return r=Bs(r,rc(Ln())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(ht(e,function(t,e,n){return{criteria:Bs(r,function(e){return e(t)}),index:++i,value:t}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=en(i[r],a[r]);if(c){if(s<=r)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)})}function vt(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Xe(e,o);n(s,o)&&kt(a,Vt(o,e),s)}return a}function yt(e,t,n,r){var i=r?Ks:Ys,a=-1,o=t.length,s=e;for(e===t&&(t=rn(t)),n&&(s=Bs(e,rc(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;-1<(c=i(s,u,c,r));)s!==e&&P.call(s,c,1),P.call(e,c,1);return e}function wt(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Vn(i)?P.call(e,i,1):Gt(e,i)}}return e}function Ct(e,t){return e+j(Q()*(t-e+1))}function At(e,t){var n="";if(!e||t<1||ao<t)return n;for(;t%2&&(n+=e),(t=j(t/2))&&(e+=e),t;);return n}function St(e,t){return or(tr(e,t,$a),e+"")}function Tt(e){return Te(ga(e))}function xt(e,t){var n=ga(e);return lr(n,Re(t,0,n.length))}function kt(e,t,n,r){if(!Ii(e))return e;for(var i=-1,a=(t=Vt(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var c=hr(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=o){var u=s[c];(l=r?r(u,c,s):to)===to&&(l=Ii(u)?u:Vn(t[i+1])?[]:{})}De(s,c,l),s=s[c]}return e}var Et=ie?function(e,t){return ie.set(e,t),e}:$a,Dt=R?function(e,t){return R(e,"toString",{configurable:!0,enumerable:!1,value:Ia(t),writable:!0})}:$a;function It(e){return lr(ga(e))}function Pt(e,t,n){var r=-1,i=e.length;t<0&&(t=i<-t?0:i+t),(n=i<n?i:n)<0&&(n+=i),i=n<t?0:n-t>>>0,t>>>=0;for(var a=E(i);++r<i;)a[r]=e[r+t];return a}function Mt(e,r){var i;return je(e,function(e,t,n){return!(i=r(e,t,n))}),!!i}function $t(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!Fi(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return Ot(e,t,$a,n)}function Ot(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var o=(t=n(t))!=t,s=null===t,c=Fi(t),l=t===to;i<a;){var u=j((i+a)/2),f=n(e[u]),d=f!==to,h=null===f,p=f==f,m=Fi(f);if(o)var g=r||p;else g=l?p&&(r||d):s?p&&d&&(r||!h):c?p&&d&&!h&&(r||!m):!h&&!m&&(r?f<=t:f<t);g?i=u+1:a=u}return V(a,4294967294)}function Rt(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!gi(s,c)){var c=s;a[i++]=0===o?0:o}}return a}function Nt(e){return"number"==typeof e?e:Fi(e)?oo:+e}function Lt(e){if("string"==typeof e)return e;if(yi(e))return Bs(e,Lt)+"";if(Fi(e))return he?he.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ft(e,t,n){var r=-1,i=Gs,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=js;else if(200<=a){var l=t?null:Sn(e);if(l)return mc(l);o=!1,i=ac,c=new Ce}else c=t?[]:s;e:for(;++r<a;){var u=e[r],f=t?t(u):u;if(u=n||0!==u?u:0,o&&f==f){for(var d=c.length;d--;)if(c[d]===f)continue e;t&&c.push(f),s.push(u)}else i(c,f,n)||(c!==s&&c.push(f),s.push(u))}return s}function Gt(e,t){return null==(e=nr(e,t=Vt(t,e)))||delete e[hr(xr(t))]}function jt(e,t,n,r){return kt(e,t,n(Xe(e,t)),r)}function Bt(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?Pt(e,r?0:a,r?a+1:i):Pt(e,r?a+1:0,r?i:a)}function Ut(e,t){var n=e;return n instanceof be&&(n=n.value()),Hs(t,function(e,t){return t.func.apply(t.thisArg,Us([e],t.args))},n)}function Ht(e,t,n){var r=e.length;if(r<2)return r?Ft(e[0]):[];for(var i=-1,a=E(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=Ge(a[i]||o,e[s],t,n));return Ft(qe(a,1),t,n)}function Wt(e,t,n){for(var r=-1,i=e.length,a=t.length,o={};++r<i;){var s=r<a?t[r]:to;n(o,e[r],s)}return o}function qt(e){return Ai(e)?e:[]}function zt(e){return"function"==typeof e?e:$a}function Vt(e,t){return yi(e)?e:Kn(e,t)?[e]:dr(Yi(e))}var Yt=St;function Kt(e,t,n){var r=e.length;return n=n===to?r:n,!t&&r<=n?e:Pt(e,t,n)}var Qt=N||function(e){return Ts.clearTimeout(e)};function Xt(e,t){if(t)return e.slice();var n=e.length,r=A?A(n):new e.constructor(n);return e.copy(r),r}function Zt(e){var t=new e.constructor(e.byteLength);return new C(t).set(new C(e)),t}function Jt(e,t){var n=t?Zt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function en(e,t){if(e!==t){var n=e!==to,r=null===e,i=e==e,a=Fi(e),o=t!==to,s=null===t,c=t==t,l=Fi(t);if(!s&&!l&&!a&&t<e||a&&o&&c&&!s&&!l||r&&o&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!c)return-1}return 0}function tn(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=z(a-o,0),u=E(c+l),f=!r;++s<c;)u[s]=t[s];for(;++i<o;)(f||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function nn(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=z(a-s,0),f=E(u+l),d=!r;++i<u;)f[i]=e[i];for(var h=i;++c<l;)f[h+c]=t[c];for(;++o<s;)(d||i<a)&&(f[h+n[o]]=e[i++]);return f}function rn(e,t){var n=-1,r=e.length;for(t||(t=E(r));++n<r;)t[n]=e[n];return t}function an(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):to;c===to&&(c=e[s]),i?$e(n,s,c):De(n,s,c)}return n}function on(i,a){return function(e,t){var n=yi(e)?Os:Pe,r=a?a():{};return n(e,i,Ln(t,2),r)}}function sn(s){return St(function(e,t){var n=-1,r=t.length,i=1<r?t[r-1]:to,a=2<r?t[2]:to;for(i=3<s.length&&"function"==typeof i?(r--,i):to,a&&Yn(t[0],t[1],a)&&(i=r<3?to:i,r=1),e=S(e);++n<r;){var o=t[n];o&&s(e,o,n,i)}return e})}function cn(a,o){return function(e,t){if(null==e)return e;if(!Ci(e))return a(e,t);for(var n=e.length,r=o?n:-1,i=S(e);(o?r--:++r<n)&&!1!==t(i[r],r,i););return e}}function ln(c){return function(e,t,n){for(var r=-1,i=S(e),a=n(e),o=a.length;o--;){var s=a[c?o:++r];if(!1===t(i[s],s,i))break}return e}}function un(i){return function(e){var t=fc(e=Yi(e))?_c(e):to,n=t?t[0]:e.charAt(0),r=t?Kt(t,1).join(""):e.slice(1);return n[i]()+r}}function fn(t){return function(e){return Hs(ka(va(e).replace(ms,"")),t,"")}}function dn(r){return function(){var e=arguments;switch(e.length){case 0:return new r;case 1:return new r(e[0]);case 2:return new r(e[0],e[1]);case 3:return new r(e[0],e[1],e[2]);case 4:return new r(e[0],e[1],e[2],e[3]);case 5:return new r(e[0],e[1],e[2],e[3],e[4]);case 6:return new r(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new r(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=me(r.prototype),n=r.apply(t,e);return Ii(n)?n:t}}function hn(o){return function(e,t,n){var r=S(e);if(!Ci(e)){var i=Ln(t,3);e=sa(e),t=function(e){return i(r[e],e,r)}}var a=o(e,t,n);return-1<a?r[i?e[a]:a]:to}}function pn(c){return Pn(function(i){var a=i.length,e=a,t=_e.prototype.thru;for(c&&i.reverse();e--;){var n=i[e];if("function"!=typeof n)throw new D(no);if(t&&!o&&"wrapper"==Rn(n))var o=new _e([],!0)}for(e=o?e:a;++e<a;){var r=Rn(n=i[e]),s="wrapper"==r?On(n):to;o=s&&Qn(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?o[Rn(s[0])].apply(o,s[3]):1==n.length&&Qn(n)?o[r]():o.thru(n)}return function(){var e=arguments,t=e[0];if(o&&1==e.length&&yi(t))return o.plant(t).value();for(var n=0,r=a?i[n].apply(this,e):t;++n<a;)r=i[n].call(this,r);return r}})}function mn(l,u,f,d,h,p,m,g,_,b){var v=128&u,y=1&u,w=2&u,C=24&u,A=512&u,S=w?to:dn(l);return function e(){for(var t=arguments.length,n=E(t),r=t;r--;)n[r]=arguments[r];if(C)var i=Nn(e),a=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(n,i);if(d&&(n=tn(n,d,h,C)),p&&(n=nn(n,p,m,C)),t-=a,C&&t<b){var o=pc(n,i);return Cn(l,u,mn,e.placeholder,f,n,o,g,_,b-t)}var s=y?f:this,c=w?s[l]:l;return t=n.length,g?n=function(e,t){for(var n=e.length,r=V(t.length,n),i=rn(e);r--;){var a=t[r];e[r]=Vn(a,n)?i[a]:to}return e}(n,g):A&&1<t&&n.reverse(),v&&_<t&&(n.length=_),this&&this!==Ts&&this instanceof e&&(c=S||dn(c)),c.apply(s,n)}}function gn(o,s){return function(e,t){return n=e,r=o,i=s(t),a={},Ye(n,function(e,t,n){r(a,i(e),t,n)}),a;var n,r,i,a}}function _n(r,i){return function(e,t){var n;if(e===to&&t===to)return i;if(e!==to&&(n=e),t!==to){if(n===to)return t;t="string"==typeof e||"string"==typeof t?(e=Lt(e),Lt(t)):(e=Nt(e),Nt(t)),n=r(e,t)}return n}}function bn(r){return Pn(function(e){return e=Bs(e,rc(Ln())),St(function(t){var n=this;return r(e,function(e){return $s(e,n,t)})})})}function vn(e,t){var n=(t=t===to?" ":Lt(t)).length;if(n<2)return n?At(t,e):t;var r=At(t,G(e/gc(t)));return fc(t)?Kt(_c(r),0,e).join(""):r.slice(0,e)}function yn(r){return function(e,t,n){return n&&"number"!=typeof n&&Yn(e,t,n)&&(t=n=to),e=Hi(e),t===to?(t=e,e=0):t=Hi(t),function(e,t,n,r){for(var i=-1,a=z(G((t-e)/(n||1)),0),o=E(a);a--;)o[r?a:++i]=e,e+=n;return o}(e,t,n=n===to?e<t?1:-1:Hi(n),r)}}function wn(n){return function(e,t){return"string"==typeof e&&"string"==typeof t||(e=zi(e),t=zi(t)),n(e,t)}}function Cn(e,t,n,r,i,a,o,s,c,l){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var f=[e,t,i,u?a:to,u?o:to,u?to:a,u?to:o,s,c,l],d=n.apply(to,f);return Qn(e)&&ir(d,f),d.placeholder=r,sr(d,e,t)}function An(e){var r=i[e];return function(e,t){if(e=zi(e),(t=null==t?0:V(Wi(t),292))&&H(e)){var n=(Yi(e)+"e").split("e");return+((n=(Yi(r(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))}return r(e)}}var Sn=te&&1/mc(new te([,-0]))[1]==1/0?function(e){return new te(e)}:Fa;function Tn(o){return function(e){var t,n,r,i,a=Hn(e);return a==_o?dc(e):a==Co?(t=e,n=-1,r=Array(t.size),t.forEach(function(e){r[++n]=[e,e]}),r):Bs(o(i=e),function(e){return[e,i[e]]})}}function xn(e,t,n,r,i,a,o,s){var c=2&t;if(!c&&"function"!=typeof e)throw new D(no);var l=r?r.length:0;if(l||(t&=-97,r=i=to),o=o===to?o:z(Wi(o),0),s=s===to?s:Wi(s),l-=i?i.length:0,64&t){var u=r,f=i;r=i=to}var d,h,p,m,g,_,b,v,y,w,C,A,S,T=c?to:On(e),x=[e,t,n,r,i,u,f,a,o,s];if(T&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,o=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(a||o){1&r&&(e[2]=t[2],i|=1&n?0:4);var s=t[3];if(s){var c=e[3];e[3]=c?tn(c,s,t[4]):s,e[4]=c?pc(e[3],io):t[4]}(s=t[5])&&(c=e[5],e[5]=c?nn(c,s,t[6]):s,e[6]=c?pc(e[5],io):t[6]),(s=t[7])&&(e[7]=s),128&r&&(e[8]=null==e[8]?t[8]:V(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}}(x,T),e=x[0],t=x[1],n=x[2],r=x[3],i=x[4],!(s=x[9]=x[9]===to?c?0:e.length:z(x[9]-l,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||16==t?(b=t,v=s,y=dn(_=e),function e(){for(var t=arguments.length,n=E(t),r=t,i=Nn(e);r--;)n[r]=arguments[r];var a=t<3&&n[0]!==i&&n[t-1]!==i?[]:pc(n,i);return(t-=a.length)<v?Cn(_,b,mn,e.placeholder,to,n,a,to,to,v-t):$s(this&&this!==Ts&&this instanceof e?y:_,this,n)}):32!=t&&33!=t||i.length?mn.apply(to,x):(h=n,p=r,m=1&t,g=dn(d=e),function e(){for(var t=-1,n=arguments.length,r=-1,i=p.length,a=E(i+n),o=this&&this!==Ts&&this instanceof e?g:d;++r<i;)a[r]=p[r];for(;n--;)a[r++]=arguments[++t];return $s(o,m?h:this,a)});else var k=(C=n,A=1&t,S=dn(w=e),function e(){return(this&&this!==Ts&&this instanceof e?S:w).apply(A?C:this,arguments)});return sr((T?Et:ir)(k,x),e,t)}function kn(e,t,n,r){return e===to||gi(e,f[n])&&!T.call(r,n)?t:e}function En(e,t,n,r,i,a){return Ii(e)&&Ii(t)&&(a.set(t,e),gt(e,t,to,En,a),a.delete(t)),e}function Dn(e){return Oi(e)?to:e}function In(e,t,n,r,i,a){var o=1&n,s=e.length,c=t.length;if(s!=c&&!(o&&s<c))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var f=-1,d=!0,h=2&n?new Ce:to;for(a.set(e,t),a.set(t,e);++f<s;){var p=e[f],m=t[f];if(r)var g=o?r(m,p,f,t,e,a):r(p,m,f,e,t,a);if(g!==to){if(g)continue;d=!1;break}if(h){if(!qs(t,function(e,t){if(!ac(h,t)&&(p===e||i(p,e,n,r,a)))return h.push(t)})){d=!1;break}}else if(p!==m&&!i(p,m,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function Pn(e){return or(tr(e,to,wr),e+"")}function Mn(e){return Ze(e,sa,Bn)}function $n(e){return Ze(e,ca,Un)}var On=ie?function(e){return ie.get(e)}:Fa;function Rn(e){for(var t=e.name+"",n=ae[t],r=T.call(ae,t)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function Nn(e){return(T.call(pe,"placeholder")?pe:e).placeholder}function Ln(){var e=pe.iteratee||Oa;return e=e===Oa?lt:e,arguments.length?e(arguments[0],arguments[1]):e}function Fn(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Gn(e){for(var t=sa(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Jn(i)]}return t}function jn(e,t){var n,r,i=(r=t,null==(n=e)?to:n[r]);return ct(i)?i:to}var Bn=B?function(t){return null==t?[]:(t=S(t),Fs(B(t),function(e){return I.call(t,e)}))}:qa,Un=B?function(e){for(var t=[];e;)Us(t,Bn(e)),e=x(e);return t}:qa,Hn=Je;function Wn(e,t,n){for(var r=-1,i=(t=Vt(t,e)).length,a=!1;++r<i;){var o=hr(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&Di(i)&&Vn(o,i)&&(yi(e)||vi(e))}function qn(e){return"function"!=typeof e.constructor||Zn(e)?{}:me(x(e))}function zn(e){return yi(e)||vi(e)||!!(M&&e&&e[M])}function Vn(e,t){var n=typeof e;return!!(t=null==t?ao:t)&&("number"==n||"symbol"!=n&&fs.test(e))&&-1<e&&e%1==0&&e<t}function Yn(e,t,n){if(!Ii(n))return!1;var r=typeof t;return!!("number"==r?Ci(n)&&Vn(t,n.length):"string"==r&&t in n)&&gi(n[t],e)}function Kn(e,t){if(yi(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fi(e))||Yo.test(e)||!Vo.test(e)||null!=t&&e in S(t)}function Qn(e){var t=Rn(e),n=pe[t];if("function"!=typeof n||!(t in be.prototype))return!1;if(e===n)return!0;var r=On(n);return!!r&&e===r[0]}(Z&&Hn(new Z(new ArrayBuffer(1)))!=ko||J&&Hn(new J)!=_o||ee&&Hn(ee.resolve())!=yo||te&&Hn(new te)!=Co||ne&&Hn(new ne)!=To)&&(Hn=function(e){var t=Je(e),n=t==vo?e.constructor:to,r=n?pr(n):"";if(r)switch(r){case oe:return ko;case se:return _o;case ce:return yo;case le:return Co;case ue:return To}return t});var Xn=s?ki:za;function Zn(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||f)}function Jn(e){return e==e&&!Ii(e)}function er(t,n){return function(e){return null!=e&&e[t]===n&&(n!==to||t in S(e))}}function tr(a,o,s){return o=z(o===to?a.length-1:o,0),function(){for(var e=arguments,t=-1,n=z(e.length-o,0),r=E(n);++t<n;)r[t]=e[o+t];t=-1;for(var i=E(o+1);++t<o;)i[t]=e[t];return i[o]=s(r),$s(a,this,i)}}function nr(e,t){return t.length<2?e:Xe(e,Pt(t,0,-1))}function rr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ir=cr(Et),ar=F||function(e,t){return Ts.setTimeout(e,t)},or=cr(Dt);function sr(e,t,n){var r,i,a,o=t+"";return or(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(1<n?"& ":"")+t[r],t=t.join(2<n?", ":" "),e.replace(Jo,"{\n/* [wrapped with "+t+"] */\n")}(o,(a=o.match(es),r=a?a[1].split(ts):[],i=n,Rs(co,function(e){var t="_."+e[0];i&e[1]&&!Gs(r,t)&&r.push(t)}),r.sort())))}function cr(n){var r=0,i=0;return function(){var e=Y(),t=16-(e-i);if(i=e,0<t){if(800<=++r)return arguments[0]}else r=0;return n.apply(to,arguments)}}function lr(e,t){var n=-1,r=e.length,i=r-1;for(t=t===to?r:t;++n<t;){var a=Ct(n,i),o=e[a];e[a]=e[n],e[n]=o}return e.length=t,e}var ur,fr,dr=(fr=(ur=ui(function(e){var i=[];return 46===e.charCodeAt(0)&&i.push(""),e.replace(Ko,function(e,t,n,r){i.push(n?r.replace(is,"$1"):t||e)}),i},function(e){return 500===fr.size&&fr.clear(),e})).cache,ur);function hr(e){if("string"==typeof e||Fi(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function pr(e){if(null!=e){try{return c.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function mr(e){if(e instanceof be)return e.clone();var t=new _e(e.__wrapped__,e.__chain__);return t.__actions__=rn(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var gr=St(function(e,t){return Ai(e)?Ge(e,qe(t,1,Ai,!0)):[]}),_r=St(function(e,t){var n=xr(t);return Ai(n)&&(n=to),Ai(e)?Ge(e,qe(t,1,Ai,!0),Ln(n,2)):[]}),br=St(function(e,t){var n=xr(t);return Ai(n)&&(n=to),Ai(e)?Ge(e,qe(t,1,Ai,!0),to,n):[]});function vr(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Wi(n);return i<0&&(i=z(r+i,0)),Vs(e,Ln(t,3),i)}function yr(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==to&&(i=Wi(n),i=n<0?z(r+i,0):V(i,r-1)),Vs(e,Ln(t,3),i,!0)}function wr(e){return null!=e&&e.length?qe(e,1):[]}function Cr(e){return e&&e.length?e[0]:to}var Ar=St(function(e){var t=Bs(e,qt);return t.length&&t[0]===e[0]?rt(t):[]}),Sr=St(function(e){var t=xr(e),n=Bs(e,qt);return t===xr(n)?t=to:n.pop(),n.length&&n[0]===e[0]?rt(n,Ln(t,2)):[]}),Tr=St(function(e){var t=xr(e),n=Bs(e,qt);return(t="function"==typeof t?t:to)&&n.pop(),n.length&&n[0]===e[0]?rt(n,to,t):[]});function xr(e){var t=null==e?0:e.length;return t?e[t-1]:to}var kr=St(Er);function Er(e,t){return e&&e.length&&t&&t.length?yt(e,t):e}var Dr=Pn(function(e,t){var n=null==e?0:e.length,r=Oe(e,t);return wt(e,Bs(t,function(e){return Vn(e,n)?+e:e}).sort(en)),r});function Ir(e){return null==e?e:X.call(e)}var Pr=St(function(e){return Ft(qe(e,1,Ai,!0))}),Mr=St(function(e){var t=xr(e);return Ai(t)&&(t=to),Ft(qe(e,1,Ai,!0),Ln(t,2))}),$r=St(function(e){var t=xr(e);return t="function"==typeof t?t:to,Ft(qe(e,1,Ai,!0),to,t)});function Or(t){if(!t||!t.length)return[];var n=0;return t=Fs(t,function(e){if(Ai(e))return n=z(e.length,n),!0}),tc(n,function(e){return Bs(t,Zs(e))})}function Rr(e,t){if(!e||!e.length)return[];var n=Or(e);return null==t?n:Bs(n,function(e){return $s(t,to,e)})}var Nr=St(function(e,t){return Ai(e)?Ge(e,t):[]}),Lr=St(function(e){return Ht(Fs(e,Ai))}),Fr=St(function(e){var t=xr(e);return Ai(t)&&(t=to),Ht(Fs(e,Ai),Ln(t,2))}),Gr=St(function(e){var t=xr(e);return t="function"==typeof t?t:to,Ht(Fs(e,Ai),to,t)}),jr=St(Or);var Br=St(function(e){var t=e.length,n=1<t?e[t-1]:to;return n="function"==typeof n?(e.pop(),n):to,Rr(e,n)});function Ur(e){var t=pe(e);return t.__chain__=!0,t}function Hr(e,t){return t(e)}var Wr=Pn(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(e){return Oe(e,t)};return!(1<n||this.__actions__.length)&&r instanceof be&&Vn(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:Hr,args:[i],thisArg:to}),new _e(r,this.__chain__).thru(function(e){return n&&!e.length&&e.push(to),e})):this.thru(i)});var qr=on(function(e,t,n){T.call(e,n)?++e[n]:$e(e,n,1)});var zr=hn(vr),Vr=hn(yr);function Yr(e,t){return(yi(e)?Rs:je)(e,Ln(t,3))}function Kr(e,t){return(yi(e)?Ns:Be)(e,Ln(t,3))}var Qr=on(function(e,t,n){T.call(e,n)?e[n].push(t):$e(e,n,[t])});var Xr=St(function(e,t,n){var r=-1,i="function"==typeof t,a=Ci(e)?E(e.length):[];return je(e,function(e){a[++r]=i?$s(t,e,n):it(e,t,n)}),a}),Zr=on(function(e,t,n){$e(e,n,t)});function Jr(e,t){return(yi(e)?Bs:ht)(e,Ln(t,3))}var ei=on(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var ti=St(function(e,t){if(null==e)return[];var n=t.length;return 1<n&&Yn(e,t[0],t[1])?t=[]:2<n&&Yn(t[0],t[1],t[2])&&(t=[t[0]]),bt(e,qe(t,1),[])}),ni=L||function(){return Ts.Date.now()};function ri(e,t,n){return t=n?to:t,t=e&&null==t?e.length:t,xn(e,128,to,to,to,to,t)}function ii(e,t){var n;if("function"!=typeof t)throw new D(no);return e=Wi(e),function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=to),n}}var ai=St(function(e,t,n){var r=1;if(n.length){var i=pc(n,Nn(ai));r|=32}return xn(e,r,t,n,i)}),oi=St(function(e,t,n){var r=3;if(n.length){var i=pc(n,Nn(oi));r|=32}return xn(t,r,e,n,i)});function si(r,i,e){var a,o,s,c,l,u,f=0,d=!1,h=!1,t=!0;if("function"!=typeof r)throw new D(no);function p(e){var t=a,n=o;return a=o=to,f=e,c=r.apply(n,t)}function m(e){var t=e-u;return u===to||i<=t||t<0||h&&s<=e-f}function g(){var e,t,n=ni();if(m(n))return _(n);l=ar(g,(t=i-((e=n)-u),h?V(t,s-(e-f)):t))}function _(e){return l=to,t&&a?p(e):(a=o=to,c)}function n(){var e,t=ni(),n=m(t);if(a=arguments,o=this,u=t,n){if(l===to)return f=e=u,l=ar(g,i),d?p(e):c;if(h)return Qt(l),l=ar(g,i),p(u)}return l===to&&(l=ar(g,i)),c}return i=zi(i)||0,Ii(e)&&(d=!!e.leading,s=(h="maxWait"in e)?z(zi(e.maxWait)||0,i):s,t="trailing"in e?!!e.trailing:t),n.cancel=function(){l!==to&&Qt(l),f=0,a=u=o=l=to},n.flush=function(){return l===to?c:_(ni())},n}var ci=St(function(e,t){return Fe(e,1,t)}),li=St(function(e,t,n){return Fe(e,zi(t)||0,n)});function ui(i,a){if("function"!=typeof i||null!=a&&"function"!=typeof a)throw new D(no);var o=function(){var e=arguments,t=a?a.apply(this,e):e[0],n=o.cache;if(n.has(t))return n.get(t);var r=i.apply(this,e);return o.cache=n.set(t,r)||n,r};return o.cache=new(ui.Cache||we),o}function fi(t){if("function"!=typeof t)throw new D(no);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)}}ui.Cache=we;var di=Yt(function(r,i){var a=(i=1==i.length&&yi(i[0])?Bs(i[0],rc(Ln())):Bs(qe(i,1),rc(Ln()))).length;return St(function(e){for(var t=-1,n=V(e.length,a);++t<n;)e[t]=i[t].call(this,e[t]);return $s(r,this,e)})}),hi=St(function(e,t){var n=pc(t,Nn(hi));return xn(e,32,to,t,n)}),pi=St(function(e,t){var n=pc(t,Nn(pi));return xn(e,64,to,t,n)}),mi=Pn(function(e,t){return xn(e,256,to,to,to,t)});function gi(e,t){return e===t||e!=e&&t!=t}var _i=wn(et),bi=wn(function(e,t){return t<=e}),vi=at(function(){return arguments}())?at:function(e){return Pi(e)&&T.call(e,"callee")&&!I.call(e,"callee")},yi=E.isArray,wi=ks?rc(ks):function(e){return Pi(e)&&Je(e)==xo};function Ci(e){return null!=e&&Di(e.length)&&!ki(e)}function Ai(e){return Pi(e)&&Ci(e)}var Si=U||za,Ti=Es?rc(Es):function(e){return Pi(e)&&Je(e)==ho};function xi(e){if(!Pi(e))return!1;var t=Je(e);return t==po||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Oi(e)}function ki(e){if(!Ii(e))return!1;var t=Je(e);return t==mo||t==go||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ei(e){return"number"==typeof e&&e==Wi(e)}function Di(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=ao}function Ii(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Pi(e){return null!=e&&"object"==typeof e}var Mi=Ds?rc(Ds):function(e){return Pi(e)&&Hn(e)==_o};function $i(e){return"number"==typeof e||Pi(e)&&Je(e)==bo}function Oi(e){if(!Pi(e)||Je(e)!=vo)return!1;var t=x(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==p}var Ri=Is?rc(Is):function(e){return Pi(e)&&Je(e)==wo};var Ni=Ps?rc(Ps):function(e){return Pi(e)&&Hn(e)==Co};function Li(e){return"string"==typeof e||!yi(e)&&Pi(e)&&Je(e)==Ao}function Fi(e){return"symbol"==typeof e||Pi(e)&&Je(e)==So}var Gi=Ms?rc(Ms):function(e){return Pi(e)&&Di(e.length)&&!!ws[Je(e)]};var ji=wn(dt),Bi=wn(function(e,t){return e<=t});function Ui(e){if(!e)return[];if(Ci(e))return Li(e)?_c(e):rn(e);if($&&e[$])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$]());var t=Hn(e);return(t==_o?dc:t==Co?mc:ga)(e)}function Hi(e){return e?(e=zi(e))!==1/0&&e!==-1/0?e==e?e:0:17976931348623157e292*(e<0?-1:1):0===e?e:0}function Wi(e){var t=Hi(e),n=t%1;return t==t?n?t-n:t:0}function qi(e){return e?Re(Wi(e),0,so):0}function zi(e){if("number"==typeof e)return e;if(Fi(e))return oo;if(Ii(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ii(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=nc(e);var n=cs.test(e);return n||us.test(e)?Ss(e.slice(2),n?2:8):ss.test(e)?oo:+e}function Vi(e){return an(e,ca(e))}function Yi(e){return null==e?"":Lt(e)}var Ki=sn(function(e,t){if(Zn(t)||Ci(t))an(t,sa(t),e);else for(var n in t)T.call(t,n)&&De(e,n,t[n])}),Qi=sn(function(e,t){an(t,ca(t),e)}),Xi=sn(function(e,t,n,r){an(t,ca(t),e,r)}),Zi=sn(function(e,t,n,r){an(t,sa(t),e,r)}),Ji=Pn(Oe);var ea=St(function(e,t){e=S(e);var n=-1,r=t.length,i=2<r?t[2]:to;for(i&&Yn(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],o=ca(a),s=-1,c=o.length;++s<c;){var l=o[s],u=e[l];(u===to||gi(u,f[l])&&!T.call(e,l))&&(e[l]=a[l])}return e}),ta=St(function(e){return e.push(to,En),$s(ua,to,e)});function na(e,t,n){var r=null==e?to:Xe(e,t);return r===to?n:r}function ra(e,t){return null!=e&&Wn(e,t,nt)}var ia=gn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=h.call(t)),e[t]=n},Ia($a)),aa=gn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=h.call(t)),T.call(e,t)?e[t].push(n):e[t]=[n]},Ln),oa=St(it);function sa(e){return Ci(e)?Se(e):ut(e)}function ca(e){return Ci(e)?Se(e,!0):ft(e)}var la=sn(function(e,t,n){gt(e,t,n)}),ua=sn(function(e,t,n,r){gt(e,t,n,r)}),fa=Pn(function(t,e){var n={};if(null==t)return n;var r=!1;e=Bs(e,function(e){return e=Vt(e,t),r||(r=1<e.length),e}),an(t,$n(t),n),r&&(n=Ne(n,7,Dn));for(var i=e.length;i--;)Gt(n,e[i]);return n});var da=Pn(function(e,t){return null==e?{}:vt(n=e,t,function(e,t){return ra(n,t)});var n});function ha(e,n){if(null==e)return{};var t=Bs($n(e),function(e){return[e]});return n=Ln(n),vt(e,t,function(e,t){return n(e,t[0])})}var pa=Tn(sa),ma=Tn(ca);function ga(e){return null==e?[]:ic(e,sa(e))}var _a=fn(function(e,t,n){return t=t.toLowerCase(),e+(n?ba(t):t)});function ba(e){return xa(Yi(e).toLowerCase())}function va(e){return(e=Yi(e))&&e.replace(ds,cc).replace(gs,"")}var ya=fn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),wa=fn(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Ca=un("toLowerCase");var Aa=fn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Sa=fn(function(e,t,n){return e+(n?" ":"")+xa(t)});var Ta=fn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),xa=un("toUpperCase");function ka(e,t,n){return e=Yi(e),(t=n?to:t)===to?(r=e,bs.test(r)?e.match(_s)||[]:e.match(ns)||[]):e.match(t)||[];var r}var Ea=St(function(e,t){try{return $s(e,to,t)}catch(e){return xi(e)?e:new g(e)}}),Da=Pn(function(t,e){return Rs(e,function(e){e=hr(e),$e(t,e,ai(t[e],t))}),t});function Ia(e){return function(){return e}}var Pa=pn(),Ma=pn(!0);function $a(e){return e}function Oa(e){return lt("function"==typeof e?e:Ne(e,1))}var Ra=St(function(t,n){return function(e){return it(e,t,n)}}),Na=St(function(t,n){return function(e){return it(t,e,n)}});function La(r,t,e){var n=sa(t),i=Qe(t,n);null!=e||Ii(t)&&(i.length||!n.length)||(e=t,t=r,r=this,i=Qe(t,sa(t)));var a=!(Ii(e)&&"chain"in e&&!e.chain),o=ki(r);return Rs(i,function(e){var n=t[e];r[e]=n,o&&(r.prototype[e]=function(){var e=this.__chain__;if(a||e){var t=r(this.__wrapped__);return(t.__actions__=rn(this.__actions__)).push({func:n,args:arguments,thisArg:r}),t.__chain__=e,t}return n.apply(r,Us([this.value()],arguments))})}),r}function Fa(){}var Ga=bn(Bs),ja=bn(Ls),Ba=bn(qs);function Ua(e){return Kn(e)?Zs(hr(e)):(t=e,function(e){return Xe(e,t)});var t}var Ha=yn(),Wa=yn(!0);function qa(){return[]}function za(){return!1}var Va=_n(function(e,t){return e+t},0),Ya=An("ceil"),Ka=_n(function(e,t){return e/t},1),Qa=An("floor");var Xa,Za=_n(function(e,t){return e*t},1),Ja=An("round"),eo=_n(function(e,t){return e-t},0);return pe.after=function(e,t){if("function"!=typeof t)throw new D(no);return e=Wi(e),function(){if(--e<1)return t.apply(this,arguments)}},pe.ary=ri,pe.assign=Ki,pe.assignIn=Qi,pe.assignInWith=Xi,pe.assignWith=Zi,pe.at=Ji,pe.before=ii,pe.bind=ai,pe.bindAll=Da,pe.bindKey=oi,pe.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return yi(e)?e:[e]},pe.chain=Ur,pe.chunk=function(e,t,n){t=(n?Yn(e,t,n):t===to)?1:z(Wi(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,o=E(G(r/t));i<r;)o[a++]=Pt(e,i,i+=t);return o},pe.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},pe.concat=function(){var e=arguments.length;if(!e)return[];for(var t=E(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Us(yi(n)?rn(n):[n],qe(t,1))},pe.cond=function(r){var i=null==r?0:r.length,t=Ln();return r=i?Bs(r,function(e){if("function"!=typeof e[1])throw new D(no);return[t(e[0]),e[1]]}):[],St(function(e){for(var t=-1;++t<i;){var n=r[t];if($s(n[0],this,e))return $s(n[1],this,e)}})},pe.conforms=function(e){return t=Ne(e,1),n=sa(t),function(e){return Le(e,t,n)};var t,n},pe.constant=Ia,pe.countBy=qr,pe.create=function(e,t){var n=me(e);return null==t?n:Me(n,t)},pe.curry=function e(t,n,r){var i=xn(t,8,to,to,to,to,to,n=r?to:n);return i.placeholder=e.placeholder,i},pe.curryRight=function e(t,n,r){var i=xn(t,16,to,to,to,to,to,n=r?to:n);return i.placeholder=e.placeholder,i},pe.debounce=si,pe.defaults=ea,pe.defaultsDeep=ta,pe.defer=ci,pe.delay=li,pe.difference=gr,pe.differenceBy=_r,pe.differenceWith=br,pe.drop=function(e,t,n){var r=null==e?0:e.length;return r?Pt(e,(t=n||t===to?1:Wi(t))<0?0:t,r):[]},pe.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Pt(e,0,(t=r-(t=n||t===to?1:Wi(t)))<0?0:t):[]},pe.dropRightWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3),!0,!0):[]},pe.dropWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3),!0):[]},pe.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Yn(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=Wi(n))<0&&(n=i<-n?0:i+n),(r=r===to||i<r?i:Wi(r))<0&&(r+=i),r=r<n?0:qi(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},pe.filter=function(e,t){return(yi(e)?Fs:We)(e,Ln(t,3))},pe.flatMap=function(e,t){return qe(Jr(e,t),1)},pe.flatMapDeep=function(e,t){return qe(Jr(e,t),1/0)},pe.flatMapDepth=function(e,t,n){return n=n===to?1:Wi(n),qe(Jr(e,t),n)},pe.flatten=wr,pe.flattenDeep=function(e){return null!=e&&e.length?qe(e,1/0):[]},pe.flattenDepth=function(e,t){return null!=e&&e.length?qe(e,t=t===to?1:Wi(t)):[]},pe.flip=function(e){return xn(e,512)},pe.flow=Pa,pe.flowRight=Ma,pe.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},pe.functions=function(e){return null==e?[]:Qe(e,sa(e))},pe.functionsIn=function(e){return null==e?[]:Qe(e,ca(e))},pe.groupBy=Qr,pe.initial=function(e){return null!=e&&e.length?Pt(e,0,-1):[]},pe.intersection=Ar,pe.intersectionBy=Sr,pe.intersectionWith=Tr,pe.invert=ia,pe.invertBy=aa,pe.invokeMap=Xr,pe.iteratee=Oa,pe.keyBy=Zr,pe.keys=sa,pe.keysIn=ca,pe.map=Jr,pe.mapKeys=function(e,r){var i={};return r=Ln(r,3),Ye(e,function(e,t,n){$e(i,r(e,t,n),e)}),i},pe.mapValues=function(e,r){var i={};return r=Ln(r,3),Ye(e,function(e,t,n){$e(i,t,r(e,t,n))}),i},pe.matches=function(e){return pt(Ne(e,1))},pe.matchesProperty=function(e,t){return mt(e,Ne(t,1))},pe.memoize=ui,pe.merge=la,pe.mergeWith=ua,pe.method=Ra,pe.methodOf=Na,pe.mixin=La,pe.negate=fi,pe.nthArg=function(t){return t=Wi(t),St(function(e){return _t(e,t)})},pe.omit=fa,pe.omitBy=function(e,t){return ha(e,fi(Ln(t)))},pe.once=function(e){return ii(2,e)},pe.orderBy=function(e,t,n,r){return null==e?[]:(yi(t)||(t=null==t?[]:[t]),yi(n=r?to:n)||(n=null==n?[]:[n]),bt(e,t,n))},pe.over=Ga,pe.overArgs=di,pe.overEvery=ja,pe.overSome=Ba,pe.partial=hi,pe.partialRight=pi,pe.partition=ei,pe.pick=da,pe.pickBy=ha,pe.property=Ua,pe.propertyOf=function(t){return function(e){return null==t?to:Xe(t,e)}},pe.pull=kr,pe.pullAll=Er,pe.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?yt(e,t,Ln(n,2)):e},pe.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?yt(e,t,to,n):e},pe.pullAt=Dr,pe.range=Ha,pe.rangeRight=Wa,pe.rearg=mi,pe.reject=function(e,t){return(yi(e)?Fs:We)(e,fi(Ln(t,3)))},pe.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=Ln(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return wt(e,i),n},pe.rest=function(e,t){if("function"!=typeof e)throw new D(no);return St(e,t=t===to?t:Wi(t))},pe.reverse=Ir,pe.sampleSize=function(e,t,n){return t=(n?Yn(e,t,n):t===to)?1:Wi(t),(yi(e)?xe:xt)(e,t)},pe.set=function(e,t,n){return null==e?e:kt(e,t,n)},pe.setWith=function(e,t,n,r){return r="function"==typeof r?r:to,null==e?e:kt(e,t,n,r)},pe.shuffle=function(e){return(yi(e)?ke:It)(e)},pe.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n=n&&"number"!=typeof n&&Yn(e,t,n)?(t=0,r):(t=null==t?0:Wi(t),n===to?r:Wi(n)),Pt(e,t,n)):[]},pe.sortBy=ti,pe.sortedUniq=function(e){return e&&e.length?Rt(e):[]},pe.sortedUniqBy=function(e,t){return e&&e.length?Rt(e,Ln(t,2)):[]},pe.split=function(e,t,n){return n&&"number"!=typeof n&&Yn(e,t,n)&&(t=n=to),(n=n===to?so:n>>>0)?(e=Yi(e))&&("string"==typeof t||null!=t&&!Ri(t))&&!(t=Lt(t))&&fc(e)?Kt(_c(e),0,n):e.split(t,n):[]},pe.spread=function(r,i){if("function"!=typeof r)throw new D(no);return i=null==i?0:z(Wi(i),0),St(function(e){var t=e[i],n=Kt(e,0,i);return t&&Us(n,t),$s(r,this,n)})},pe.tail=function(e){var t=null==e?0:e.length;return t?Pt(e,1,t):[]},pe.take=function(e,t,n){return e&&e.length?Pt(e,0,(t=n||t===to?1:Wi(t))<0?0:t):[]},pe.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Pt(e,(t=r-(t=n||t===to?1:Wi(t)))<0?0:t,r):[]},pe.takeRightWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3),!1,!0):[]},pe.takeWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3)):[]},pe.tap=function(e,t){return t(e),e},pe.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new D(no);return Ii(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),si(e,t,{leading:r,maxWait:t,trailing:i})},pe.thru=Hr,pe.toArray=Ui,pe.toPairs=pa,pe.toPairsIn=ma,pe.toPath=function(e){return yi(e)?Bs(e,hr):Fi(e)?[e]:rn(dr(Yi(e)))},pe.toPlainObject=Vi,pe.transform=function(e,r,i){var t=yi(e),n=t||Si(e)||Gi(e);if(r=Ln(r,4),null==i){var a=e&&e.constructor;i=n?t?new a:[]:Ii(e)&&ki(a)?me(x(e)):{}}return(n?Rs:Ye)(e,function(e,t,n){return r(i,e,t,n)}),i},pe.unary=function(e){return ri(e,1)},pe.union=Pr,pe.unionBy=Mr,pe.unionWith=$r,pe.uniq=function(e){return e&&e.length?Ft(e):[]},pe.uniqBy=function(e,t){return e&&e.length?Ft(e,Ln(t,2)):[]},pe.uniqWith=function(e,t){return t="function"==typeof t?t:to,e&&e.length?Ft(e,to,t):[]},pe.unset=function(e,t){return null==e||Gt(e,t)},pe.unzip=Or,pe.unzipWith=Rr,pe.update=function(e,t,n){return null==e?e:jt(e,t,zt(n))},pe.updateWith=function(e,t,n,r){return r="function"==typeof r?r:to,null==e?e:jt(e,t,zt(n),r)},pe.values=ga,pe.valuesIn=function(e){return null==e?[]:ic(e,ca(e))},pe.without=Nr,pe.words=ka,pe.wrap=function(e,t){return hi(zt(t),e)},pe.xor=Lr,pe.xorBy=Fr,pe.xorWith=Gr,pe.zip=jr,pe.zipObject=function(e,t){return Wt(e||[],t||[],De)},pe.zipObjectDeep=function(e,t){return Wt(e||[],t||[],kt)},pe.zipWith=Br,pe.entries=pa,pe.entriesIn=ma,pe.extend=Qi,pe.extendWith=Xi,La(pe,pe),pe.add=Va,pe.attempt=Ea,pe.camelCase=_a,pe.capitalize=ba,pe.ceil=Ya,pe.clamp=function(e,t,n){return n===to&&(n=t,t=to),n!==to&&(n=(n=zi(n))==n?n:0),t!==to&&(t=(t=zi(t))==t?t:0),Re(zi(e),t,n)},pe.clone=function(e){return Ne(e,4)},pe.cloneDeep=function(e){return Ne(e,5)},pe.cloneDeepWith=function(e,t){return Ne(e,5,t="function"==typeof t?t:to)},pe.cloneWith=function(e,t){return Ne(e,4,t="function"==typeof t?t:to)},pe.conformsTo=function(e,t){return null==t||Le(e,t,sa(t))},pe.deburr=va,pe.defaultTo=function(e,t){return null==e||e!=e?t:e},pe.divide=Ka,pe.endsWith=function(e,t,n){e=Yi(e),t=Lt(t);var r=e.length,i=n=n===to?r:Re(Wi(n),0,r);return 0<=(n-=t.length)&&e.slice(n,i)==t},pe.eq=gi,pe.escape=function(e){return(e=Yi(e))&&Ho.test(e)?e.replace(Bo,lc):e},pe.escapeRegExp=function(e){return(e=Yi(e))&&Xo.test(e)?e.replace(Qo,"\\$&"):e},pe.every=function(e,t,n){var r=yi(e)?Ls:Ue;return n&&Yn(e,t,n)&&(t=to),r(e,Ln(t,3))},pe.find=zr,pe.findIndex=vr,pe.findKey=function(e,t){return zs(e,Ln(t,3),Ye)},pe.findLast=Vr,pe.findLastIndex=yr,pe.findLastKey=function(e,t){return zs(e,Ln(t,3),Ke)},pe.floor=Qa,pe.forEach=Yr,pe.forEachRight=Kr,pe.forIn=function(e,t){return null==e?e:ze(e,Ln(t,3),ca)},pe.forInRight=function(e,t){return null==e?e:Ve(e,Ln(t,3),ca)},pe.forOwn=function(e,t){return e&&Ye(e,Ln(t,3))},pe.forOwnRight=function(e,t){return e&&Ke(e,Ln(t,3))},pe.get=na,pe.gt=_i,pe.gte=bi,pe.has=function(e,t){return null!=e&&Wn(e,t,tt)},pe.hasIn=ra,pe.head=Cr,pe.identity=$a,pe.includes=function(e,t,n,r){e=Ci(e)?e:ga(e),n=n&&!r?Wi(n):0;var i=e.length;return n<0&&(n=z(i+n,0)),Li(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<Ys(e,t,n)},pe.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Wi(n);return i<0&&(i=z(r+i,0)),Ys(e,t,i)},pe.inRange=function(e,t,n){return t=Hi(t),n===to?(n=t,t=0):n=Hi(n),e=zi(e),(r=e)>=V(i=t,a=n)&&r<z(i,a);var r,i,a},pe.invoke=oa,pe.isArguments=vi,pe.isArray=yi,pe.isArrayBuffer=wi,pe.isArrayLike=Ci,pe.isArrayLikeObject=Ai,pe.isBoolean=function(e){return!0===e||!1===e||Pi(e)&&Je(e)==fo},pe.isBuffer=Si,pe.isDate=Ti,pe.isElement=function(e){return Pi(e)&&1===e.nodeType&&!Oi(e)},pe.isEmpty=function(e){if(null==e)return!0;if(Ci(e)&&(yi(e)||"string"==typeof e||"function"==typeof e.splice||Si(e)||Gi(e)||vi(e)))return!e.length;var t=Hn(e);if(t==_o||t==Co)return!e.size;if(Zn(e))return!ut(e).length;for(var n in e)if(T.call(e,n))return!1;return!0},pe.isEqual=function(e,t){return ot(e,t)},pe.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:to)?n(e,t):to;return r===to?ot(e,t,to,n):!!r},pe.isError=xi,pe.isFinite=function(e){return"number"==typeof e&&H(e)},pe.isFunction=ki,pe.isInteger=Ei,pe.isLength=Di,pe.isMap=Mi,pe.isMatch=function(e,t){return e===t||st(e,t,Gn(t))},pe.isMatchWith=function(e,t,n){return n="function"==typeof n?n:to,st(e,t,Gn(t),n)},pe.isNaN=function(e){return $i(e)&&e!=+e},pe.isNative=function(e){if(Xn(e))throw new g("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ct(e)},pe.isNil=function(e){return null==e},pe.isNull=function(e){return null===e},pe.isNumber=$i,pe.isObject=Ii,pe.isObjectLike=Pi,pe.isPlainObject=Oi,pe.isRegExp=Ri,pe.isSafeInteger=function(e){return Ei(e)&&-ao<=e&&e<=ao},pe.isSet=Ni,pe.isString=Li,pe.isSymbol=Fi,pe.isTypedArray=Gi,pe.isUndefined=function(e){return e===to},pe.isWeakMap=function(e){return Pi(e)&&Hn(e)==To},pe.isWeakSet=function(e){return Pi(e)&&"[object WeakSet]"==Je(e)},pe.join=function(e,t){return null==e?"":W.call(e,t)},pe.kebabCase=ya,pe.last=xr,pe.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==to&&(i=(i=Wi(n))<0?z(r+i,0):V(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Vs(e,Qs,i,!0)},pe.lowerCase=wa,pe.lowerFirst=Ca,pe.lt=ji,pe.lte=Bi,pe.max=function(e){return e&&e.length?He(e,$a,et):to},pe.maxBy=function(e,t){return e&&e.length?He(e,Ln(t,2),et):to},pe.mean=function(e){return Xs(e,$a)},pe.meanBy=function(e,t){return Xs(e,Ln(t,2))},pe.min=function(e){return e&&e.length?He(e,$a,dt):to},pe.minBy=function(e,t){return e&&e.length?He(e,Ln(t,2),dt):to},pe.stubArray=qa,pe.stubFalse=za,pe.stubObject=function(){return{}},pe.stubString=function(){return""},pe.stubTrue=function(){return!0},pe.multiply=Za,pe.nth=function(e,t){return e&&e.length?_t(e,Wi(t)):to},pe.noConflict=function(){return Ts._===this&&(Ts._=m),this},pe.noop=Fa,pe.now=ni,pe.pad=function(e,t,n){e=Yi(e);var r=(t=Wi(t))?gc(e):0;if(!t||t<=r)return e;var i=(t-r)/2;return vn(j(i),n)+e+vn(G(i),n)},pe.padEnd=function(e,t,n){e=Yi(e);var r=(t=Wi(t))?gc(e):0;return t&&r<t?e+vn(t-r,n):e},pe.padStart=function(e,t,n){e=Yi(e);var r=(t=Wi(t))?gc(e):0;return t&&r<t?vn(t-r,n)+e:e},pe.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),K(Yi(e).replace(Zo,""),t||0)},pe.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Yn(e,t,n)&&(t=n=to),n===to&&("boolean"==typeof t?(n=t,t=to):"boolean"==typeof e&&(n=e,e=to)),e===to&&t===to?(e=0,t=1):(e=Hi(e),t===to?(t=e,e=0):t=Hi(t)),t<e){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Q();return V(e+i*(t-e+As("1e-"+((i+"").length-1))),t)}return Ct(e,t)},pe.reduce=function(e,t,n){var r=yi(e)?Hs:Js,i=arguments.length<3;return r(e,Ln(t,4),n,i,je)},pe.reduceRight=function(e,t,n){var r=yi(e)?Ws:Js,i=arguments.length<3;return r(e,Ln(t,4),n,i,Be)},pe.repeat=function(e,t,n){return t=(n?Yn(e,t,n):t===to)?1:Wi(t),At(Yi(e),t)},pe.replace=function(){var e=arguments,t=Yi(e[0]);return e.length<3?t:t.replace(e[1],e[2])},pe.result=function(e,t,n){var r=-1,i=(t=Vt(t,e)).length;for(i||(i=1,e=to);++r<i;){var a=null==e?to:e[hr(t[r])];a===to&&(r=i,a=n),e=ki(a)?a.call(e):a}return e},pe.round=Ja,pe.runInContext=e,pe.sample=function(e){return(yi(e)?Te:Tt)(e)},pe.size=function(e){if(null==e)return 0;if(Ci(e))return Li(e)?gc(e):e.length;var t=Hn(e);return t==_o||t==Co?e.size:ut(e).length},pe.snakeCase=Aa,pe.some=function(e,t,n){var r=yi(e)?qs:Mt;return n&&Yn(e,t,n)&&(t=to),r(e,Ln(t,3))},pe.sortedIndex=function(e,t){return $t(e,t)},pe.sortedIndexBy=function(e,t,n){return Ot(e,t,Ln(n,2))},pe.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=$t(e,t);if(r<n&&gi(e[r],t))return r}return-1},pe.sortedLastIndex=function(e,t){return $t(e,t,!0)},pe.sortedLastIndexBy=function(e,t,n){return Ot(e,t,Ln(n,2),!0)},pe.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=$t(e,t,!0)-1;if(gi(e[n],t))return n}return-1},pe.startCase=Sa,pe.startsWith=function(e,t,n){return e=Yi(e),n=null==n?0:Re(Wi(n),0,e.length),t=Lt(t),e.slice(n,n+t.length)==t},pe.subtract=eo,pe.sum=function(e){return e&&e.length?ec(e,$a):0},pe.sumBy=function(e,t){return e&&e.length?ec(e,Ln(t,2)):0},pe.template=function(o,e,t){var n=pe.templateSettings;t&&Yn(o,e,t)&&(e=to),o=Yi(o),e=Xi({},e,n,kn);var s,c,r=Xi({},e.imports,n.imports,kn),i=sa(r),a=ic(r,i),l=0,u=e.interpolate||hs,f="__p += '",d=b((e.escape||hs).source+"|"+u.source+"|"+(u===zo?as:hs).source+"|"+(e.evaluate||hs).source+"|$","g"),h="//# sourceURL="+(T.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ys+"]")+"\n";o.replace(d,function(e,t,n,r,i,a){return n||(n=r),f+=o.slice(l,a).replace(ps,uc),t&&(s=!0,f+="' +\n__e("+t+") +\n'"),i&&(c=!0,f+="';\n"+i+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),l=a+e.length,e}),f+="';\n";var p=T.call(e,"variable")&&e.variable;if(p){if(rs.test(p))throw new g("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(c?f.replace(Lo,""):f).replace(Fo,"$1").replace(Go,"$1;"),f="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Ea(function(){return _(i,h+"return "+f).apply(to,a)});if(m.source=f,xi(m))throw m;return m},pe.times=function(e,t){if((e=Wi(e))<1||ao<e)return[];var n=so,r=V(e,so);t=Ln(t),e-=so;for(var i=tc(r,t);++n<e;)t(n);return i},pe.toFinite=Hi,pe.toInteger=Wi,pe.toLength=qi,pe.toLower=function(e){return Yi(e).toLowerCase()},pe.toNumber=zi,pe.toSafeInteger=function(e){return e?Re(Wi(e),-ao,ao):0===e?e:0},pe.toString=Yi,pe.toUpper=function(e){return Yi(e).toUpperCase()},pe.trim=function(e,t,n){if((e=Yi(e))&&(n||t===to))return nc(e);if(!e||!(t=Lt(t)))return e;var r=_c(e),i=_c(t);return Kt(r,oc(r,i),sc(r,i)+1).join("")},pe.trimEnd=function(e,t,n){if((e=Yi(e))&&(n||t===to))return e.slice(0,bc(e)+1);if(!e||!(t=Lt(t)))return e;var r=_c(e);return Kt(r,0,sc(r,_c(t))+1).join("")},pe.trimStart=function(e,t,n){if((e=Yi(e))&&(n||t===to))return e.replace(Zo,"");if(!e||!(t=Lt(t)))return e;var r=_c(e);return Kt(r,oc(r,_c(t))).join("")},pe.truncate=function(e,t){var n=30,r="...";if(Ii(t)){var i="separator"in t?t.separator:i;n="length"in t?Wi(t.length):n,r="omission"in t?Lt(t.omission):r}var a=(e=Yi(e)).length;if(fc(e)){var o=_c(e);a=o.length}if(a<=n)return e;var s=n-gc(r);if(s<1)return r;var c=o?Kt(o,0,s).join(""):e.slice(0,s);if(i===to)return c+r;if(o&&(s+=c.length-s),Ri(i)){if(e.slice(s).search(i)){var l,u=c;for(i.global||(i=b(i.source,Yi(os.exec(i))+"g")),i.lastIndex=0;l=i.exec(u);)var f=l.index;c=c.slice(0,f===to?s:f)}}else if(e.indexOf(Lt(i),s)!=s){var d=c.lastIndexOf(i);-1<d&&(c=c.slice(0,d))}return c+r},pe.unescape=function(e){return(e=Yi(e))&&Uo.test(e)?e.replace(jo,vc):e},pe.uniqueId=function(e){var t=++l;return Yi(e)+t},pe.upperCase=Ta,pe.upperFirst=xa,pe.each=Yr,pe.eachRight=Kr,pe.first=Cr,La(pe,(Xa={},Ye(pe,function(e,t){T.call(pe.prototype,t)||(Xa[t]=e)}),Xa),{chain:!1}),pe.VERSION="4.17.21",Rs(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){pe[e].placeholder=pe}),Rs(["drop","take"],function(n,r){be.prototype[n]=function(e){e=e===to?1:z(Wi(e),0);var t=this.__filtered__&&!r?new be(this):this.clone();return t.__filtered__?t.__takeCount__=V(e,t.__takeCount__):t.__views__.push({size:V(e,so),type:n+(t.__dir__<0?"Right":"")}),t},be.prototype[n+"Right"]=function(e){return this.reverse()[n](e).reverse()}}),Rs(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;be.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ln(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Rs(["head","last"],function(e,t){var n="take"+(t?"Right":"");be.prototype[e]=function(){return this[n](1).value()[0]}}),Rs(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");be.prototype[e]=function(){return this.__filtered__?new be(this):this[n](1)}}),be.prototype.compact=function(){return this.filter($a)},be.prototype.find=function(e){return this.filter(e).head()},be.prototype.findLast=function(e){return this.reverse().find(e)},be.prototype.invokeMap=St(function(t,n){return"function"==typeof t?new be(this):this.map(function(e){return it(e,t,n)})}),be.prototype.reject=function(e){return this.filter(fi(Ln(e)))},be.prototype.slice=function(e,t){e=Wi(e);var n=this;return n.__filtered__&&(0<e||t<0)?new be(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==to&&(n=(t=Wi(t))<0?n.dropRight(-t):n.take(t-e)),n)},be.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},be.prototype.toArray=function(){return this.take(so)},Ye(be.prototype,function(f,e){var d=/^(?:filter|find|map|reject)|While$/.test(e),h=/^(?:head|last)$/.test(e),p=pe[h?"take"+("last"==e?"Right":""):e],m=h||/^find/.test(e);p&&(pe.prototype[e]=function(){var e=this.__wrapped__,n=h?[1]:arguments,t=e instanceof be,r=n[0],i=t||yi(e),a=function(e){var t=p.apply(pe,Us([e],n));return h&&o?t[0]:t};i&&d&&"function"==typeof r&&1!=r.length&&(t=i=!1);var o=this.__chain__,s=!!this.__actions__.length,c=m&&!o,l=t&&!s;if(m||!i)return c&&l?f.apply(this,n):(u=this.thru(a),c?h?u.value()[0]:u.value():u);e=l?e:new be(this);var u=f.apply(e,n);return u.__actions__.push({func:Hr,args:[a],thisArg:to}),new _e(u,o)})}),Rs(["pop","push","shift","sort","splice","unshift"],function(e){var n=a[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);pe.prototype[e]=function(){var t=arguments;if(!i||this.__chain__)return this[r](function(e){return n.apply(yi(e)?e:[],t)});var e=this.value();return n.apply(yi(e)?e:[],t)}}),Ye(be.prototype,function(e,t){var n=pe[t];if(n){var r=n.name+"";T.call(ae,r)||(ae[r]=[]),ae[r].push({name:t,func:n})}}),ae[mn(to,2).name]=[{name:"wrapper",func:to}],be.prototype.clone=function(){var e=new be(this.__wrapped__);return e.__actions__=rn(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rn(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rn(this.__views__),e},be.prototype.reverse=function(){if(this.__filtered__){var e=new be(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},be.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=yi(e),r=t<0,i=n?e.length:0,a=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=V(t,e+o);break;case"takeRight":e=z(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,f=u.length,d=0,h=V(c,this.__takeCount__);if(!n||!r&&i==c&&h==c)return Ut(e,this.__actions__);var p=[];e:for(;c--&&d<h;){for(var m=-1,g=e[l+=t];++m<f;){var _=u[m],b=_.iteratee,v=_.type,y=b(g);if(2==v)g=y;else if(!y){if(1==v)continue e;break e}}p[d++]=g}return p},pe.prototype.at=Wr,pe.prototype.chain=function(){return Ur(this)},pe.prototype.commit=function(){return new _e(this.value(),this.__chain__)},pe.prototype.next=function(){this.__values__===to&&(this.__values__=Ui(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?to:this.__values__[this.__index__++]}},pe.prototype.plant=function(e){for(var t,n=this;n instanceof ge;){var r=mr(n);r.__index__=0,r.__values__=to,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},pe.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof be){var t=e;return this.__actions__.length&&(t=new be(this)),(t=t.reverse()).__actions__.push({func:Hr,args:[Ir],thisArg:to}),new _e(t,this.__chain__)}return this.thru(Ir)},pe.prototype.toJSON=pe.prototype.valueOf=pe.prototype.value=function(){return Ut(this.__wrapped__,this.__actions__)},pe.prototype.first=pe.prototype.head,$&&(pe.prototype[$]=function(){return this}),pe}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Ts._=yc,define(function(){return yc})):R?((R.exports=yc)._=yc,O._=yc):Ts._=yc}.call(this),function(){var t,n,r=document.attachEvent,i=!1;if(!r){var e=(n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)},function(e){return n(e)}),a=(t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(e){return t(e)});function o(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight}function s(t){var n=this;o(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=e(function(){var e;((e=n).offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach(function(e){e.call(n,t)}))})}var c=!1,l="",u="animationstart",f="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h="",p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(c=!0),!1===c)for(var m=0;m<f.length;m++)if(void 0!==p.style[f[m]+"AnimationName"]){(h=f[m])+"Animation",l="-"+h.toLowerCase()+"-",u=d[m],c=!0;break}var g="resizeanim",_="@"+l+"keyframes "+g+" { from { opacity: 0; } to { opacity: 0; } } ",b=l+"animation: 1ms "+g+"; "}window.addResizeListener=function(t,e){r?t.attachEvent("onresize",e):(t.__resizeTriggers__||("static"==getComputedStyle(t).position&&(t.style.position="relative"),function(){if(!i){var e=(_||"")+".resize-triggers { "+(b||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n),i=!0}}(),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=document.createElement("div")).className="resize-triggers",t.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',t.appendChild(t.__resizeTriggers__),o(t),t.addEventListener("scroll",s,!0),u&&t.__resizeTriggers__.addEventListener(u,function(e){e.animationName==g&&o(t)})),t.__resizeListeners__.push(e))},window.removeResizeListener=function(e,t){r?e.detachEvent("onresize",t):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",s),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))}}(),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["angular"],t):"object"==typeof exports?module.exports=t(require("angular")):t(e.angular)}(this,function(M){"use strict";return M.module("gridster",[]).constant("gridsterConfig",{columns:6,pushing:!0,floating:!0,swapping:!1,width:"auto",colWidth:"auto",rowHeight:"match",margins:[10,10],outerMargin:!0,sparse:!1,isMobile:!1,mobileBreakPoint:600,mobileModeEnabled:!0,minColumns:1,minRows:1,maxRows:100,defaultSizeX:2,defaultSizeY:1,minSizeX:1,maxSizeX:null,minSizeY:1,maxSizeY:null,saveGridItemCalculatedHeightInMobile:!1,resizable:{enabled:!0,handles:["s","e","n","w","se","ne","sw","nw"]},draggable:{enabled:!0,scrollSensitivity:20,scrollSpeed:15}}).controller("GridsterCtrl",["gridsterConfig","$timeout",function(e,t){var n=this;M.extend(this,e),this.resizable=M.extend({},e.resizable||{}),this.draggable=M.extend({},e.draggable||{});var r=!1;this.layoutChanged=function(){r||(r=!0,t(function(){r=!1,n.loaded&&n.floatItemsUp(),n.updateHeight(n.movingItem?n.movingItem.sizeY:0)},30))},this.grid=[],this.allItems=[],this.destroy=function(){this.grid&&(this.grid=[]),this.$element=null,this.allItems&&(this.allItems.length=0,this.allItems=null)},this.setOptions=function(e){if(e)if((e=M.extend({},e)).draggable&&(M.extend(this.draggable,e.draggable),delete e.draggable),e.resizable&&(M.extend(this.resizable,e.resizable),delete e.resizable),M.extend(this,e),this.margins&&2===this.margins.length)for(var t=0,n=this.margins.length;t<n;++t)this.margins[t]=parseInt(this.margins[t],10),isNaN(this.margins[t])&&(this.margins[t]=0);else this.margins=[0,0]},this.canItemOccupy=function(e,t,n){return-1<t&&-1<n&&e.sizeX+n<=this.columns&&e.sizeY+t<=this.maxRows},this.autoSetItemPosition=function(e){for(var t=0;t<this.maxRows;++t)for(var n=0;n<this.columns;++n){if(0===this.getItems(t,n,e.sizeX,e.sizeY,e).length&&this.canItemOccupy(e,t,n))return void this.putItem(e,t,n)}throw new Error("Unable to place item!")},this.getItems=function(e,t,n,r,i){var a,o=[];if(n&&r||(n=r=1),!i||i instanceof Array||(i=[i]),!1===this.sparse)for(var s=0;s<r;++s)for(var c=0;c<n;++c)!(a=this.getItem(e+s,t+c,i))||i&&-1!==i.indexOf(a)||-1!==o.indexOf(a)||o.push(a);else for(var l=e+r-1,u=t+n-1,f=0;f<this.allItems.length;++f)!(a=this.allItems[f])||i&&-1!==i.indexOf(a)||-1!==o.indexOf(a)||!this.intersect(a,t,u,e,l)||o.push(a);return o},this.getBoundingBox=function(e){if(0===e.length)return null;if(1===e.length)return{row:e[0].row,col:e[0].col,sizeY:e[0].sizeY,sizeX:e[0].sizeX};for(var t=0,n=0,r=9999,i=9999,a=0,o=e.length;a<o;++a){var s=e[a];r=Math.min(s.row,r),i=Math.min(s.col,i),t=Math.max(s.row+s.sizeY,t),n=Math.max(s.col+s.sizeX,n)}return{row:r,col:i,sizeY:t-r,sizeX:n-i}},this.intersect=function(e,t,n,r,i){return t<=e.col+e.sizeX-1&&n>=e.col&&r<=e.row+e.sizeY-1&&i>=e.row},this.removeItem=function(e){for(var t,n=0,r=this.grid.length;n<r;++n){var i=this.grid[n];if(i&&-1!==(t=i.indexOf(e))){i[t]=null;break}}this.sparse&&-1!==(t=this.allItems.indexOf(e))&&this.allItems.splice(t,1),this.layoutChanged()},this.getItem=function(e,t,n){!n||n instanceof Array||(n=[n]);for(var r=1;-1<e;){for(var i=1,a=t;-1<a;){var o=this.grid[e];if(o){var s=o[a];if(s&&(!n||-1===n.indexOf(s))&&s.sizeX>=i&&s.sizeY>=r)return s}++i,--a}--e,++r}return null},this.putItems=function(e){for(var t=0,n=e.length;t<n;++t)this.putItem(e[t])},this.putItem=function(e,t,n,r){if(null!=t||(t=e.row,n=e.col,null!=t)){if(this.canItemOccupy(e,t,n)||(n=Math.min(this.columns-e.sizeX,Math.max(0,n)),t=Math.min(this.maxRows-e.sizeY,Math.max(0,t))),null!==e.oldRow&&void 0!==e.oldRow){var i=e.oldRow===t&&e.oldColumn===n,a=this.grid[t]&&this.grid[t][n]===e;if(i&&a)return e.row=t,void(e.col=n);var o=this.grid[e.oldRow];o&&o[e.oldColumn]===e&&delete o[e.oldColumn]}e.oldRow=e.row=t,e.oldColumn=e.col=n,this.moveOverlappingItems(e,r),this.grid[t]||(this.grid[t]=[]),this.grid[t][n]=e,this.sparse&&-1===this.allItems.indexOf(e)&&this.allItems.push(e),this.movingItem===e&&this.floatItemUp(e),this.layoutChanged()}else this.autoSetItemPosition(e)},this.swapItems=function(e,t){this.grid[e.row][e.col]=t;var n=(this.grid[t.row][t.col]=e).row,r=e.col;e.row=t.row,e.col=t.col,t.row=n,t.col=r},this.moveOverlappingItems=function(e,t){t?-1===t.indexOf(e)&&(t=t.slice(0)).push(e):t=[e];var n=this.getItems(e.row,e.col,e.sizeX,e.sizeY,t);this.moveItemsDown(n,e.row+e.sizeY,t)},this.moveItemsDown=function(e,t,n){if(e&&0!==e.length){e.sort(function(e,t){return e.row-t.row}),n=n?n.slice(0):[];var r,i,a,o={};for(i=0,a=e.length;i<a;++i){var s=o[(r=e[i]).col];(void 0===s||r.row<s)&&(o[r.col]=r.row)}for(i=0,a=e.length;i<a;++i){var c=t-o[(r=e[i]).col];this.moveItemDown(r,r.row+c,n),n.push(r)}}},this.moveItemDown=function(e,t,n){if(!(e.row>=t)){for(;e.row<t;)++e.row,this.moveOverlappingItems(e,n);this.putItem(e,e.row,e.col,n)}},this.floatItemsUp=function(){if(!1!==this.floating)for(var e=0,t=this.grid.length;e<t;++e){var n=this.grid[e];if(n)for(var r=0,i=n.length;r<i;++r){var a=n[r];a&&this.floatItemUp(a)}}},this.floatItemUp=function(e){if(!1!==this.floating){for(var t=e.col,n=e.sizeY,r=e.sizeX,i=null,a=null,o=e.row-1;-1<o;){if(0!==this.getItems(o,t,r,n,e).length)break;i=o,a=t,--o}null!==i&&this.putItem(e,i,a)}},this.updateHeight=function(e){var t=this.minRows;e=e||0;for(var n=this.grid.length;0<=n;--n){var r=this.grid[n];if(r)for(var i=0,a=r.length;i<a;++i)r[i]&&(t=Math.max(t,n+e+r[i].sizeY))}this.gridHeight=0<this.maxRows-t?Math.min(this.maxRows,t):Math.max(this.maxRows,t)},this.pixelsToRows=function(e,t){return this.outerMargin||(e+=this.margins[0]/2),!0===t?Math.ceil(e/this.curRowHeight):!1===t?Math.floor(e/this.curRowHeight):Math.round(e/this.curRowHeight)},this.pixelsToColumns=function(e,t){return this.outerMargin||(e+=this.margins[1]/2),!0===t?Math.ceil(e/this.curColWidth):!1===t?Math.floor(e/this.curColWidth):Math.round(e/this.curColWidth)}}]).directive("gridsterPreview",function(){return{replace:!0,scope:!0,require:"^gridster",template:'<div ng-style="previewStyle()" class="gridster-item gridster-preview-holder"></div>',link:function(e,t,n,r){e.previewStyle=function(){return r.movingItem?{display:"block",height:r.movingItem.sizeY*r.curRowHeight-r.margins[0]+"px",width:r.movingItem.sizeX*r.curColWidth-r.margins[1]+"px",top:r.movingItem.row*r.curRowHeight+(r.outerMargin?r.margins[0]:0)+"px",left:r.movingItem.col*r.curColWidth+(r.outerMargin?r.margins[1]:0)+"px"}:{display:"none"}}}}}).directive("gridster",["$timeout","$window","$rootScope","gridsterDebounce",function(d,h,p,m){return{scope:!0,restrict:"EAC",controller:"GridsterCtrl",controllerAs:"gridster",compile:function(e){return e.prepend('<div ng-if="gridster.movingItem" gridster-preview></div>'),function(e,s,t,c){c.loaded=!1,c.$element=s,e.gridster=c,s.addClass("gridster");var l=function(e){return"hidden"!==e.style.visibility&&"none"!==e.style.display};function u(){s.css("height",c.gridHeight*c.curRowHeight+(c.outerMargin?c.margins[0]:-c.margins[0])+"px")}function n(e){if(c.setOptions(e),l(s[0])){"auto"===c.width?c.curWidth=s[0].offsetWidth||parseInt(s.css("width"),10):c.curWidth=c.width,"auto"===c.colWidth?c.curColWidth=(c.curWidth+(c.outerMargin?-c.margins[1]:c.margins[1]))/c.columns:c.curColWidth=c.colWidth,c.curRowHeight=c.rowHeight,"string"==typeof c.rowHeight&&("match"===c.rowHeight?c.curRowHeight=Math.round(c.curColWidth):-1!==c.rowHeight.indexOf("*")?c.curRowHeight=Math.round(c.curColWidth*c.rowHeight.replace("*","").replace(" ","")):-1!==c.rowHeight.indexOf("/")&&(c.curRowHeight=Math.round(c.curColWidth/c.rowHeight.replace("/","").replace(" ","")))),c.isMobile=c.mobileModeEnabled&&c.curWidth<=c.mobileBreakPoint;for(var t=0,n=c.grid.length;t<n;++t){var r=c.grid[t];if(r)for(var i=0,a=r.length;i<a;++i)if(r[i]){var o=r[i];o.setElementPosition(),o.setElementSizeY(),o.setElementSizeX()}}u()}}e.$watch(function(){return c.gridHeight},u),e.$watch(function(){return c.movingItem},function(){c.updateHeight(c.movingItem?c.movingItem.sizeY:0)});var r=t.gridster;r?e.$parent.$watch(r,function(e){n(e)},!0):n({}),e.$watch(function(){return c.loaded},function(){c.loaded?(s.addClass("gridster-loaded"),p.$broadcast("gridster-loaded",c)):s.removeClass("gridster-loaded")}),e.$watch(function(){return c.isMobile},function(){c.isMobile?s.addClass("gridster-mobile").removeClass("gridster-desktop"):s.removeClass("gridster-mobile").addClass("gridster-desktop"),p.$broadcast("gridster-mobile-changed",c)}),e.$watch(function(){return c.draggable},function(){p.$broadcast("gridster-draggable-changed",c)},!0),e.$watch(function(){return c.resizable},function(){p.$broadcast("gridster-resizable-changed",c)},!0);var i=s[0].offsetWidth||parseInt(s.css("width"),10),a=function(){var e=s[0].offsetWidth||parseInt(s.css("width"),10);e&&e!==i&&!c.movingItem&&(i=e,c.loaded&&s.removeClass("gridster-loaded"),n(),c.loaded&&s.addClass("gridster-loaded"),p.$broadcast("gridster-resized",[e,s[0].offsetHeight],c))},o=m(function(){a(),d(function(){e.$apply()})},100);e.$watch(function(){return l(s[0])},o),"function"==typeof window.addResizeListener?window.addResizeListener(s[0],o):e.$watch(function(){return s[0].offsetWidth||parseInt(s.css("width"),10)},a);var f=M.element(h);f.on("resize",o),e.$on("$destroy",function(){c.destroy(),f.off("resize",o),"function"==typeof window.removeResizeListener&&window.removeResizeListener(s[0],o)}),d(function(){e.$watch("gridster.floating",function(){c.floatItemsUp()}),c.loaded=!0},100)}}}}]).controller("GridsterItemCtrl",function(){this.$element=null,this.gridster=null,this.row=null,this.col=null,this.sizeX=null,this.sizeY=null,this.minSizeX=0,this.minSizeY=0,this.maxSizeX=null,this.maxSizeY=null,this.init=function(e,t){this.$element=e,this.gridster=t,this.sizeX=t.defaultSizeX,this.sizeY=t.defaultSizeY},this.destroy=function(){this.gridster=null,this.$element=null},this.toJSON=function(){return{row:this.row,col:this.col,sizeY:this.sizeY,sizeX:this.sizeX}},this.isMoving=function(){return this.gridster.movingItem===this},this.setPosition=function(e,t){this.gridster.putItem(this,e,t),this.isMoving()||this.setElementPosition()},this.setSize=function(e,t,n){var r="size"+(e=e.toUpperCase()),i="Size"+e;if(""!==t){t=parseInt(t,10),(isNaN(t)||0===t)&&(t=this.gridster["default"+i]);var a="X"===e?this.gridster.columns:this.gridster.maxRows;this["max"+i]&&(a=Math.min(this["max"+i],a)),this.gridster["max"+i]&&(a=Math.min(this.gridster["max"+i],a)),"X"===e&&this.cols?a-=this.cols:"Y"===e&&this.rows&&(a-=this.rows);var o=0;this["min"+i]&&(o=Math.max(this["min"+i],o)),this.gridster["min"+i]&&(o=Math.max(this.gridster["min"+i],o)),t=Math.max(Math.min(t,a),o);var s=this[r]!==t||this["old"+i]&&this["old"+i]!==t;return this["old"+i]=this[r]=t,this.isMoving()||this["setElement"+i](),!n&&s&&(this.gridster.moveOverlappingItems(this),this.gridster.layoutChanged()),s}},this.setSizeY=function(e,t){return this.setSize("Y",e,t)},this.setSizeX=function(e,t){return this.setSize("X",e,t)},this.setElementPosition=function(){this.gridster.isMobile?this.$element.css({marginLeft:this.gridster.margins[0]+"px",marginRight:this.gridster.margins[0]+"px",marginTop:this.gridster.margins[1]+"px",marginBottom:this.gridster.margins[1]+"px",top:"",left:""}):this.$element.css({margin:0,top:this.row*this.gridster.curRowHeight+(this.gridster.outerMargin?this.gridster.margins[0]:0)+"px",left:this.col*this.gridster.curColWidth+(this.gridster.outerMargin?this.gridster.margins[1]:0)+"px"})},this.setElementSizeY=function(){this.gridster.isMobile&&!this.gridster.saveGridItemCalculatedHeightInMobile?this.$element.css("height",""):this.$element.css("height",this.sizeY*this.gridster.curRowHeight-this.gridster.margins[0]+"px")},this.setElementSizeX=function(){this.gridster.isMobile?this.$element.css("width",""):this.$element.css("width",this.sizeX*this.gridster.curColWidth-this.gridster.margins[1]+"px")},this.getElementSizeX=function(){return this.sizeX*this.gridster.curColWidth-this.gridster.margins[1]},this.getElementSizeY=function(){return this.sizeY*this.gridster.curRowHeight-this.gridster.margins[0]}}).factory("GridsterTouch",[function(){return function(f,d,h,p){var e,t,m={},g=function(e){if(Object.keys)return Object.keys(e).length;var t,n=0;for(t in e)++n;return n},_=function(e){for(var t=0,n=0,r=navigator.userAgent.match(/\bMSIE\b/),i=e;null!=i;i=i.offsetParent)r&&(!document.documentMode||document.documentMode<8)&&"relative"===i.currentStyle.position&&i.offsetParent&&"relative"===i.offsetParent.currentStyle.position&&i.offsetLeft===i.offsetParent.offsetLeft||(t+=i.offsetLeft),n+=i.offsetTop;return{x:t,y:n}},b=_(f),v=!1,y=function(e){if("mousemove"!==e.type||0!==g(m)){for(var t=!0,n=e.changedTouches?e.changedTouches:[e],r=0;r<n.length;++r){var i=n[r],a=void 0!==i.identifier?i.identifier:void 0!==i.pointerId?i.pointerId:1;if(void 0===i.pageX)if(i.pageX=i.offsetX+b.x,i.pageY=i.offsetY+b.y,i.srcElement.offsetParent===f&&document.documentMode&&8===document.documentMode&&"mousedown"===i.type)i.pageX+=i.srcElement.offsetLeft,i.pageY+=i.srcElement.offsetTop;else if(i.srcElement!==f&&!document.documentMode||document.documentMode<8){for(var o=-2,s=-2,c=i.srcElement;null!==c;c=c.parentNode)o+=c.scrollLeft?c.scrollLeft:0,s+=c.scrollTop?c.scrollTop:0;i.pageX=i.clientX+o,i.pageY=i.clientY+s}var l=i.pageX,u=i.pageY;e.type.match(/(start|down)$/i)?(b=_(f),m[a]&&(p&&p({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u}),delete m[a]),d&&t&&(t=d({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u})),m[a]={x:l,y:u},f.msSetPointerCapture&&t?f.msSetPointerCapture(a):"mousedown"===e.type&&1===g(m)&&(v?f.setCapture(!0):(document.addEventListener("mousemove",y,!1),document.addEventListener("mouseup",y,!1)))):e.type.match(/move$/i)?!m[a]||m[a].x===l&&m[a].y===u||(h&&t&&(t=h({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u})),m[a].x=l,m[a].y=u):m[a]&&e.type.match(/(up|end|cancel)$/i)&&(p&&t&&(t=p({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u})),delete m[a],f.msReleasePointerCapture?f.msReleasePointerCapture(a):"mouseup"===e.type&&0===g(m)&&(v?f.releaseCapture():(document.removeEventListener("mousemove",y,!1),document.removeEventListener("mouseup",y,!1))))}t&&(e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation(),e.preventMouseEvent&&e.preventMouseEvent())}};return this.enable=function(){window.navigator.msPointerEnabled?(f.addEventListener("MSPointerDown",y,!1),f.addEventListener("MSPointerMove",y,!1),f.addEventListener("MSPointerUp",y,!1),f.addEventListener("MSPointerCancel",y,!1),void 0!==f.style.msContentZooming&&(e=f.style.msContentZooming,f.style.msContentZooming="none"),void 0!==f.style.msTouchAction&&(t=f.style.msTouchAction,f.style.msTouchAction="none")):f.addEventListener?(f.addEventListener("touchstart",y,!1),f.addEventListener("touchmove",y,!1),f.addEventListener("touchend",y,!1),f.addEventListener("touchcancel",y,!1),f.addEventListener("mousedown",y,!1),f.setCapture&&!window.navigator.userAgent.match(/\bGecko\b/)&&(v=!0,f.addEventListener("mousemove",y,!1),f.addEventListener("mouseup",y,!1))):f.attachEvent&&f.setCapture&&(v=!0,f.attachEvent("onmousedown",function(){return y(window.event),window.event.returnValue=!1}),f.attachEvent("onmousemove",function(){return y(window.event),window.event.returnValue=!1}),f.attachEvent("onmouseup",function(){return y(window.event),window.event.returnValue=!1}))},this.disable=function(){window.navigator.msPointerEnabled?(f.removeEventListener("MSPointerDown",y,!1),f.removeEventListener("MSPointerMove",y,!1),f.removeEventListener("MSPointerUp",y,!1),f.removeEventListener("MSPointerCancel",y,!1),e&&(f.style.msContentZooming=e),t&&(f.style.msTouchAction=t)):f.removeEventListener?(f.removeEventListener("touchstart",y,!1),f.removeEventListener("touchmove",y,!1),f.removeEventListener("touchend",y,!1),f.removeEventListener("touchcancel",y,!1),f.removeEventListener("mousedown",y,!1),f.setCapture&&!window.navigator.userAgent.match(/\bGecko\b/)&&(v=!0,f.removeEventListener("mousemove",y,!1),f.removeEventListener("mouseup",y,!1))):f.detachEvent&&f.setCapture&&(v=!0,f.detachEvent("onmousedown"),f.detachEvent("onmousemove"),f.detachEvent("onmouseup"))},this}}]).factory("GridsterDraggable",["$document","$window","GridsterTouch",function(a,P,o){return function(A,S,T,x,k){var E,D,f,d,s=0,c=0,h=0,p=0,l=0,u=0,I=a[0],m=["select","option","input","textarea","button"];function e(e){if(-1!==m.indexOf(e.target.nodeName.toLowerCase()))return!1;var t,n=M.element(e.target);if(n.hasClass("gridster-item-resizable-handler"))return!1;if(n.attr("onclick")||n.attr("ng-click"))return!1;if(n.closest&&n.closest(".gridster-no-drag").length)return!1;if(T.draggable&&T.draggable.handle){var r=M.element(A[0].querySelectorAll(T.draggable.handle)),i=!1;e:for(var a=0,o=r.length;a<o;++a){var s=r[a];if(s===e.target){i=!0;break}for(var c=e.target,l=0;l<20;++l){var u=c.parentNode;if(u===A[0]||!u)break;if(u===s){i=!0;break e}c=u}}if(!i)return!1}switch(e.which){case 1:break;case 2:case 3:return}return h=e.pageX,p=e.pageY,E=parseInt(A.css("left"),10),D=parseInt(A.css("top"),10),f=A[0].offsetWidth,d=A[0].offsetHeight,x.col,x.row,t=e,A.addClass("gridster-item-moving"),T.movingItem=x,T.updateHeight(x.sizeY),S.$apply(function(){T.draggable&&T.draggable.start&&T.draggable.start(t,A,k,x)}),!0}function t(e){if(!A.hasClass("gridster-item-moving")||A.hasClass("gridster-item-resizing"))return!1;var t=T.curWidth-1,n=T.curRowHeight*T.maxRows-1;s=e.pageX,c=e.pageY;var r=s-h+l,i=c-p+u;l=u=0,h=s,p=c;var a=r,o=i;return E+a<0?l=a-(r=0-E):t<E+f+a&&(l=a-(r=t-E-f)),D+o<0?u=o-(i=0-D):n<D+d+o&&(u=o-(i=n-D-d)),E+=r,D+=i,A.css({top:D+"px",left:E+"px"}),function(e){var t=x.row,n=x.col,r=T.draggable&&T.draggable.drag,i=T.draggable.scrollSensitivity,a=T.draggable.scrollSpeed,o=Math.min(T.pixelsToRows(D),T.maxRows-1),s=Math.min(T.pixelsToColumns(E),T.columns-1),c=T.getItems(o,s,x.sizeX,x.sizeY,x),l=0!==c.length;if(!0===T.swapping&&l){var u=T.getBoundingBox(c),f=u.sizeX===x.sizeX&&u.sizeY===x.sizeY,d=u.row===t,h=u.col===n,p=u.row===o&&u.col===s,m=d||h;if(f&&1===c.length){if(p)T.swapItems(x,c[0]);else if(m)return}else if(u.sizeX<=x.sizeX&&u.sizeY<=x.sizeY&&m)for(var g=x.row<=o?x.row:o+x.sizeY,_=x.col<=s?x.col:s+x.sizeX,b=g-u.row,v=_-u.col,y=0,w=c.length;y<w;++y){var C=c[y];0===T.getItems(C.row+b,C.col+v,C.sizeX,C.sizeY,x).length&&T.putItem(C,C.row+b,C.col+v)}}!1===T.pushing&&l||(x.row=o,x.col=s),e.pageY-I.body.scrollTop<i?I.body.scrollTop=I.body.scrollTop-a:P.innerHeight-(e.pageY-I.body.scrollTop)<i&&(I.body.scrollTop=I.body.scrollTop+a),e.pageX-I.body.scrollLeft<i?I.body.scrollLeft=I.body.scrollLeft-a:P.innerWidth-(e.pageX-I.body.scrollLeft)<i&&(I.body.scrollLeft=I.body.scrollLeft+a),(r||t!==x.row||n!==x.col)&&S.$apply(function(){r&&T.draggable.drag(e,A,k,x)})}(e),!0}function n(e){return!(!A.hasClass("gridster-item-moving")||A.hasClass("gridster-item-resizing")||(l=u=0,function(e){A.removeClass("gridster-item-moving");var t=Math.min(T.pixelsToRows(D),T.maxRows-1),n=Math.min(T.pixelsToColumns(E),T.columns-1);!1===T.pushing&&0!==T.getItems(t,n,x.sizeX,x.sizeY,x).length||(x.row=t,x.col=n),T.movingItem=null,x.setPosition(x.row,x.col),S.$apply(function(){T.draggable&&T.draggable.stop&&T.draggable.stop(e,A,k,x)})}(e),0))}var r=null,i=null;this.enable=function(){!0!==r&&(r=!0,i?i.enable():(i=new o(A[0],e,t,n)).enable())},this.disable=function(){!1!==r&&(r=!1,i&&i.disable())},this.toggle=function(e){e?this.enable():this.disable()},this.destroy=function(){this.disable()}}}]).factory("GridsterResizable",["GridsterTouch",function(T){return function(y,w,C,A,S){function e(f){var d,h,p,m,n,o=f,s=0,c=0,l=0,u=0,g=0,_=0,b=function(){return(A.minSizeY?A.minSizeY:1)*C.curRowHeight-C.margins[0]},v=function(){return(A.minSizeX?A.minSizeX:1)*C.curColWidth-C.margins[1]};function e(e){switch(e.which){case 1:break;case 2:case 3:return}var t;return(n=C.draggable.enabled)&&(C.draggable.enabled=!1,w.$broadcast("gridster-draggable-changed",C)),l=e.pageX,u=e.pageY,d=parseInt(y.css("left"),10),h=parseInt(y.css("top"),10),p=y[0].offsetWidth,m=y[0].offsetHeight,A.sizeX,A.sizeY,t=e,y.addClass("gridster-item-moving"),y.addClass("gridster-item-resizing"),(C.movingItem=A).setElementSizeX(),A.setElementSizeY(),A.setElementPosition(),C.updateHeight(1),w.$apply(function(){C.resizable&&C.resizable.start&&C.resizable.start(t,y,S,A)}),!0}function t(e){var t=C.curWidth-1;s=e.pageX,c=e.pageY;var n=s-l+g,r=c-u+_;g=_=0,l=s,u=c;var i=r,a=n;return 0<=o.indexOf("n")&&(m-i<b()?(r=m-b(),_=i-r):h+i<0&&(_=i-(r=0-h)),h+=r,m-=r),0<=o.indexOf("s")&&(m+i<b()?(r=b()-m,_=i-r):9999<h+m+i&&(_=i-(r=9999-h-m)),m+=r),0<=o.indexOf("w")&&(p-a<v()?(n=p-v(),g=a-n):d+a<0&&(g=a-(n=0-d)),d+=n,p-=n),0<=o.indexOf("e")&&(p+a<v()?(n=v()-p,g=a-n):t<d+p+a&&(g=a-(n=t-d-p)),p+=n),y.css({top:h+"px",left:d+"px",width:p+"px",height:m+"px"}),function(e){var t=A.row,n=A.col,r=A.sizeX,i=A.sizeY,a=C.resizable&&C.resizable.resize,o=A.col;-1!==["w","nw","sw"].indexOf(f)&&(o=C.pixelsToColumns(d,!1));var s=A.row;-1!==["n","ne","nw"].indexOf(f)&&(s=C.pixelsToRows(h,!1));var c=A.sizeX;-1===["n","s"].indexOf(f)&&(c=C.pixelsToColumns(p,!0));var l=A.sizeY;-1===["e","w"].indexOf(f)&&(l=C.pixelsToRows(m,!0)),!(-1<s&&-1<o&&c+o<=C.columns&&l+s<=C.maxRows)||!1===C.pushing&&0!==C.getItems(s,o,c,l,A).length||(A.row=s,A.col=o,A.sizeX=c,A.sizeY=l);var u=A.row!==t||A.col!==n||A.sizeX!==r||A.sizeY!==i;(a||u)&&w.$apply(function(){a&&C.resizable.resize(e,y,S,A)})}(e),!0}function r(e){var t;return C.draggable.enabled!==n&&(C.draggable.enabled=n,w.$broadcast("gridster-draggable-changed",C)),g=_=0,t=e,y.removeClass("gridster-item-moving"),y.removeClass("gridster-item-resizing"),C.movingItem=null,A.setPosition(A.row,A.col),A.setSizeY(A.sizeY),A.setSizeX(A.sizeX),w.$apply(function(){C.resizable&&C.resizable.stop&&C.resizable.stop(t,y,S,A)}),!0}var i,a=null;this.enable=function(){a||(a=M.element('<div class="gridster-item-resizable-handler handle-'+o+'"></div>'),y.append(a)),(i=new T(a[0],e,t,r)).enable()},this.disable=function(){a&&(a.remove(),a=null),i.disable(),i=void 0},this.destroy=function(){this.disable()}}var n=[],t=C.resizable.handles;"string"==typeof t&&(t=C.resizable.handles.split(","));for(var r=!1,i=0,a=t.length;i<a;i++)n.push(new e(t[i]));this.enable=function(){if(!r){for(var e=0,t=n.length;e<t;e++)n[e].enable();r=!0}},this.disable=function(){if(r){for(var e=0,t=n.length;e<t;e++)n[e].disable();r=!1}},this.toggle=function(e){e?this.enable():this.disable()},this.destroy=function(){for(var e=0,t=n.length;e<t;e++)n[e].destroy()}}}]).factory("gridsterDebounce",function(){return function(r,i,a){var o;return function(){var e=this,t=arguments,n=a&&!o;clearTimeout(o),o=setTimeout(function(){o=null,a||r.apply(e,t)},i),n&&r.apply(e,t)}}}).directive("gridsterItem",["$parse","GridsterDraggable","GridsterResizable","gridsterDebounce",function(w,C,A,S){return{scope:!0,restrict:"EA",controller:"GridsterItemCtrl",controllerAs:"gridsterItem",require:["^gridster","gridsterItem"],link:function(r,e,t,n){var i,a=t.gridsterItem,o=n[0],s=n[1];if(r.gridster=o,a){var c=w(a);!(i=c(r)||{})&&c.assign&&(i={row:s.row,col:s.col,sizeX:s.sizeX,sizeY:s.sizeY,minSizeX:0,minSizeY:0,maxSizeX:null,maxSizeY:null},c.assign(r,i))}else i=t;s.init(e,o),e.addClass("gridster-item");for(var l=["minSizeX","maxSizeX","minSizeY","maxSizeY","sizeX","sizeY","row","col"],u={},f=[],d=function(e){var t;if("string"==typeof i[e])t=i[e];else if("string"==typeof i[e.toLowerCase()])t=i[e.toLowerCase()];else{if(!a)return;t=a+"."+e}f.push('"'+e+'":'+t),u[e]=w(t);var n=u[e](r);"number"==typeof n&&(s[e]=n)},h=0,p=l.length;h<p;++h)d(l[h]);var m="{"+f.join(",")+"}";r.$watchCollection(m,function(e,t){for(var n in e){var r=e[n];t[n]!==r&&(r=parseInt(r,10),isNaN(r)||(s[n]=r))}}),r.$watch(function(){return s.row+","+s.col},function(){s.setPosition(s.row,s.col),u.row&&u.row.assign&&u.row.assign(r,s.row),u.col&&u.col.assign&&u.col.assign(r,s.col)}),r.$watch(function(){return s.sizeY+","+s.sizeX+","+s.minSizeX+","+s.maxSizeX+","+s.minSizeY+","+s.maxSizeY},function(){var e=s.setSizeX(s.sizeX,!0);e&&u.sizeX&&u.sizeX.assign&&u.sizeX.assign(r,s.sizeX);var t=s.setSizeY(s.sizeY,!0);t&&u.sizeY&&u.sizeY.assign&&u.sizeY.assign(r,s.sizeY),(e||t)&&(s.gridster.moveOverlappingItems(s),o.layoutChanged(),r.$broadcast("gridster-item-resized",s))});var g=new C(e,r,o,s,i),_=new A(e,r,o,s,i),b=function(){_.toggle(!o.isMobile&&o.resizable&&o.resizable.enabled)};b();var v=function(){g.toggle(!o.isMobile&&o.draggable&&o.draggable.enabled)};v(),r.$on("gridster-draggable-changed",v),r.$on("gridster-resizable-changed",b),r.$on("gridster-resized",b),r.$on("gridster-mobile-changed",function(){b(),v()});var y=S(function(){r.$apply(function(){r.$broadcast("gridster-item-transition-end",s)})},50);return e.on(function(){var e=document.createElement("div"),t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in t)if(void 0!==e.style[n])return t[n]}(),y),r.$broadcast("gridster-item-initialized",s),r.$on("$destroy",function(){try{_.destroy(),g.destroy()}catch(e){}try{o.removeItem(s)}catch(e){}try{s.destroy()}catch(e){}})}}}]).directive("gridsterNoDrag",function(){return{restrict:"A",link:function(e,t){t.addClass("gridster-no-drag")}}})}),function(){"use strict";function s(e){var t=isNaN(e.startTime)?new Date:new Date(e.startTime);if(null===e.gmtOffset||!1===e.gmtOffset)return{hrs:t.getHours(),mins:t.getMinutes(),secs:t.getSeconds(),date:t};var n=t.getTime()+6e4*t.getTimezoneOffset(),r=new Date(n+36e5*e.gmtOffset);return{hrs:r.getHours(),mins:r.getMinutes(),secs:r.getSeconds(),date:r}}angular.module("ds.clock",[]).directive("dsWidgetClock",["$interval","$filter",function(e,t){return a=e,o=t,{restrict:"EA",scope:{gmtOffset:"=gmtOffset",digitalFormat:"=digitalFormat",showDigital:"=showDigital",showAnalog:"=showAnalog",startTime:"=startTime",theme:"=theme"},template:'<div class="widget-clock" ng-class="themeClass" ng-if="date"><div class="digital" ng-if="digital"><span class="time"><span class="hours">{{digital}}</span></span></div><div class="analog" ng-if="analog"><div class="square"><svg viewBox="0 0 100 100"><g transform="translate(50,50)"><circle class="clock-face" r="48" /><line ng-repeat="minor in minors track by $index" class="minor" y1="42" y2="45" ng-attr-transform="rotate({{360 * $index / minors.length}})" /><line ng-repeat="major in majors track by $index" class="major" y1="35" y2="46" ng-attr-transform="rotate({{360 * $index / majors.length}})" /><line class="hour" y1="2" y2="-20" ng-attr-transform="rotate({{30 * date.hrs + date.mins / 2}})" /><line class="minute" y1="4" y2="-30" ng-attr-transform="rotate({{6 * date.mins + date.secs / 10}})" /><g ng-attr-transform="rotate({{6 * date.secs}})"><line class="second" y1="10" y2="-38" /><line class="second-counterweight" y1="10" y2="2" /></g></g></svg></div></div><div ng-if="gmtInfo" class="gmt-info">{{gmtInfo}}</div></div>',link:function(c,e,n){var t,l={},u=c.gmtOffset,r=c.digitalFormat?c.digitalFormat:"HH:mm:ss";l.showDigital=null!=c.showDigital?c.showDigital:void 0!==n.showDigital,l.showAnalog=null!=c.showAnalog?c.showAnalog:void 0!==n.showAnalog,l.showGmtInfo=void 0!==n.showGmtInfo,l.startTime=parseInt(c.startTime,10),c.themeClass=c.theme?c.theme:n.theme?n.theme:"light",l.showDigital||l.showAnalog||(l.showAnalog=!0,l.showDigital=!0),c.gmtInfo=!1,c.date=s(l),c.digital=!!l.showDigital&&"Loading..",c.analog=l.showAnalog,c.majors=new Array(12),c.minors=new Array(60);var i=null,f=function(){var e,t,n;isNaN(l.startTime)||(l.startTime=l.startTime+1e3),i=s(l),c.date=i,l.showDigital&&(c.digital=(e=i,t=r,n=u,o("date")(e.date,t,n)))};t=a(f,1e3),c.$watch("gmtOffset",function(e,t){var n,r,i,a,o,s;u=e,l.gmtOffset=null!=u&&(n=u,(0<(n=parseFloat(n))?Math.floor(n):Math.ceil(n))+n%1/.6),l.showGmtInfo&&!1!==l.gmtOffset&&(c.gmtInfo=(r=l.gmtOffset,i=0<r?Math.floor(r):Math.ceil(r),a=Math.round((0<r?r:-1*r)%1*60),"GMT"+(0===r?"":(0<r?" +":" ")+((s=i)<0?(-10<s?"-0":"-")+-1*s:(s<10?"0":"")+s)+"."+(o=a,o+(o<10?"0":"")).substring(0,2)))),f()}),c.$watch("digitalFormat",function(e,t){e!=t&&(r=e)}),c.$watch("showDigital",function(e,t){e!=t&&(l.showDigital=e,c.digital=!!l.showDigital&&"Loading..")}),c.$watch("showAnalog",function(e,t){e!=t&&(l.showAnalog=e,c.analog=e)}),c.$watch("theme",function(e,t){e!=t&&(c.themeClass=e||(n.theme?n.theme:"light"))}),e.on("$destroy",function(){a.cancel(t),t=null})}};var a,o}])}(),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Clipboard=e()}}(function(){return function a(o,s,c){function l(n,e){if(!s[n]){if(!o[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(u)return u(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[n]={exports:{}};o[n][0].call(i.exports,function(e){var t=o[n][1][e];return l(t||e)},i,i.exports,a,o,s,c)}return s[n].exports}for(var u="function"==typeof require&&require,e=0;e<c.length;e++)l(c[e]);return l}({1:[function(e,t,n){if(Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=function(e,t){for(;e&&9!==e.nodeType;){if(e.matches(t))return e;e=e.parentNode}}},{}],2:[function(e,t,n){var o=e("./closest");t.exports=function(e,t,n,r,i){var a=function(t,n,e,r){return function(e){e.delegateTarget=o(e.target,n),e.delegateTarget&&r.call(t,e)}}.apply(this,arguments);return e.addEventListener(n,a,i),{destroy:function(){e.removeEventListener(n,a,i)}}}},{"./closest":1}],3:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],4:[function(e,t,n){var d=e("./is"),h=e("delegate");t.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!d.string(t))throw new TypeError("Second argument must be a String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(e))return u=t,f=n,(l=e).addEventListener(u,f),{destroy:function(){l.removeEventListener(u,f)}};if(d.nodeList(e))return o=e,s=t,c=n,Array.prototype.forEach.call(o,function(e){e.addEventListener(s,c)}),{destroy:function(){Array.prototype.forEach.call(o,function(e){e.removeEventListener(s,c)})}};if(d.string(e))return r=e,i=t,a=n,h(document.body,r,i,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var r,i,a,o,s,c,l,u,f}},{"./is":3,delegate:2}],5:[function(e,t,n){t.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}},{}],6:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}},t.exports=r},{}],7:[function(r,i,a){!function(e,t){if(void 0!==a)t(i,r("select"));else{var n={exports:{}};t(n,e.select),e.clipboardAction=n.exports}}(this,function(e,t){"use strict";var n,r=(n=t)&&n.__esModule?n:{default:n};var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return a(t,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),t}();e.exports=o})},{select:5}],8:[function(r,i,a){!function(e,t){if(void 0!==a)t(i,r("./clipboard-action"),r("tiny-emitter"),r("good-listener"));else{var n={exports:{}};t(n,e.clipboardAction,e.tinyEmitter,e.goodListener),e.clipboard=n.exports}}(this,function(e,t,n,r){"use strict";var i=s(t),a=s(n),o=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var c=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=function(e){function r(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return n.resolveOptions(t),n.listenClick(e),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,a.default),c(r,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,o.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),r}();function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)}),function(){"use strict";var e,r,t="ngclipboard";"object"==typeof module&&module.exports?(e=require("angular"),r=require("clipboard"),module.exports=t):(e=window.angular,r=window.Clipboard),e.module(t,[]).directive("ngclipboard",function(){return{restrict:"A",scope:{ngclipboardSuccess:"&",ngclipboardError:"&"},link:function(t,e){var n=new r(e[0]);n.on("success",function(e){t.$apply(function(){t.ngclipboardSuccess({e:e})})}),n.on("error",function(e){t.$apply(function(){t.ngclipboardError({e:e})})}),e.on("$destroy",function(){n.destroy()})}}})}(),function(o,T){"use strict";T.mock={},T.mock.$BrowserProvider=function(){this.$get=function(){return new T.mock.$Browser}},T.mock.$Browser=function(){var i=this;this.isMock=!0,i.$$url="http://server/",i.$$lastUrl=i.$$url,i.pollFns=[],i.$$completeOutstandingRequest=T.noop,i.$$incOutstandingRequestCount=T.noop,i.onUrlChange=function(e){return i.pollFns.push(function(){i.$$lastUrl===i.$$url&&i.$$state===i.$$lastState||(i.$$lastUrl=i.$$url,i.$$lastState=i.$$state,e(i.$$url,i.$$state))}),e},i.$$applicationDestroyed=T.noop,i.$$checkUrlChange=T.noop,i.deferredFns=[],i.deferredNextId=0,i.defer=function(e,t){return t=t||0,i.deferredFns.push({time:i.defer.now+t,fn:e,id:i.deferredNextId}),i.deferredFns.sort(function(e,t){return e.time-t.time}),i.deferredNextId++},i.defer.now=0,i.defer.cancel=function(n){var r;return T.forEach(i.deferredFns,function(e,t){e.id===n&&(r=t)}),!!T.isDefined(r)&&(i.deferredFns.splice(r,1),!0)},i.defer.flush=function(e){var t;if(T.isDefined(e))t=i.defer.now+e;else{if(!i.deferredFns.length)throw new Error("No deferred tasks to be flushed");t=i.deferredFns[i.deferredFns.length-1].time}for(;i.deferredFns.length&&i.deferredFns[0].time<=t;)i.defer.now=i.deferredFns[0].time,i.deferredFns.shift().fn();i.defer.now=t},i.$$baseHref="/",i.baseHref=function(){return this.$$baseHref}},T.mock.$Browser.prototype={poll:function(){T.forEach(this.pollFns,function(e){e()})},url:function(e,t,n){return T.isUndefined(n)&&(n=null),e?(this.$$url=e,this.$$state=T.copy(n),this):this.$$url},state:function(){return this.$$state},notifyWhenNoOutstandingRequests:function(e){e()}},T.mock.$ExceptionHandlerProvider=function(){var e;this.mode=function(t){switch(t){case"log":case"rethrow":var n=[];(e=function(e){if(1==arguments.length?n.push(e):n.push([].slice.call(arguments,0)),"rethrow"===t)throw e}).errors=n;break;default:throw new Error("Unknown mode '"+t+"', only 'log'/'rethrow' modes are allowed!")}},this.$get=function(){return e},this.mode("rethrow")},T.mock.$LogProvider=function(){var t=!0;function n(e,t,n){return e.concat(Array.prototype.slice.call(t,n))}this.debugEnabled=function(e){return T.isDefined(e)?(t=e,this):t},this.$get=function(){var e={log:function(){e.log.logs.push(n([],arguments,0))},warn:function(){e.warn.logs.push(n([],arguments,0))},info:function(){e.info.logs.push(n([],arguments,0))},error:function(){e.error.logs.push(n([],arguments,0))},debug:function(){t&&e.debug.logs.push(n([],arguments,0))},reset:function(){e.log.logs=[],e.info.logs=[],e.warn.logs=[],e.error.logs=[],e.debug.logs=[]},assertEmpty:function(){var n=[];if(T.forEach(["error","warn","info","log","debug"],function(t){T.forEach(e[t].logs,function(e){T.forEach(e,function(e){n.push("MOCK $log ("+t+"): "+String(e)+"\n"+(e.stack||""))})})}),n.length)throw n.unshift("Expected $log to be empty! Either a message was logged unexpectedly, or an expected log message was not checked and removed:"),n.push(""),new Error(n.join("\n---------\n"))}};return e.reset(),e}},T.mock.$IntervalProvider=function(){this.$get=["$browser","$rootScope","$q","$$q",function(u,f,d,h){var p=[],m=0,g=0,e=function(e,t,r,n){var i=4<arguments.length,a=i?Array.prototype.slice.call(arguments,4):[],o=0,s=T.isDefined(n)&&!n,c=(s?h:d).defer(),l=c.promise;return r=T.isDefined(r)?r:0,l.then(null,null,i?function(){e.apply(null,a)}:e),l.$$intervalId=m,p.push({nextTime:g+t,delay:t,fn:function(){var n;c.notify(o++),0<r&&r<=o&&(c.resolve(o),T.forEach(p,function(e,t){e.id===l.$$intervalId&&(n=t)}),T.isDefined(n)&&p.splice(n,1)),s?u.defer.flush():f.$apply()},id:m,deferred:c}),p.sort(function(e,t){return e.nextTime-t.nextTime}),m++,l};return e.cancel=function(n){return!!n&&(T.forEach(p,function(e,t){e.id===n.$$intervalId&&(r=t)}),!!T.isDefined(r)&&(p[r].deferred.reject("canceled"),p.splice(r,1),!0));var r},e.flush=function(e){for(g+=e;p.length&&p[0].nextTime<=g;){var t=p[0];t.fn(),t.nextTime+=t.delay,p.sort(function(e,t){return e.nextTime-t.nextTime})}return e},e}]};var l,a=/^(-?\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?:\:?(\d\d)(?:\:?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/;function s(e){return parseInt(e,10)}function c(e,t,n){var r="";for(e<0&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function e(n,_,b,v){var y=[],w=[],C=[],A=T.bind(C,C.push),S=T.copy;function s(e,t,n,r){return T.isFunction(e)?e:function(){return T.isNumber(e)?[e,t,n,r]:[200,e,t,n]}}function o(r,i,a,o,s,c,e,t,n,l){var u=new x,f=w[0],d=!1;function h(e){return T.isString(e)||T.isFunction(e)||e instanceof RegExp?e:T.toJson(e)}function p(t){return!v&&c&&(c.then?c.then(e):_(e,c)),n;function n(){var e=t.response(r,i,a,s,t.params(i));u.$$respHeaders=e[2],o(S(e[0]),S(e[1]),u.getAllResponseHeaders(),S(e[3]||""))}function e(){for(var e=0,t=C.length;e<t;e++)if(C[e]===n){C.splice(e,1),o(-1,void 0,"");break}}}if(u.$$events=n,u.upload.$$events=l,f&&f.match(r,i)){if(!f.matchData(a))throw new Error("Expected "+f+" with different data\nEXPECTED: "+h(f.data)+"\nGOT: "+a);if(!f.matchHeaders(s))throw new Error("Expected "+f+" with different headers\nEXPECTED: "+h(f.headers)+"\nGOT: "+h(s));if(w.shift(),f.response)return void C.push(p(f));d=!0}for(var m,g=-1;m=y[++g];)if(m.match(r,i,a,s||{})){if(m.response)(v?v.defer:A)(p(m));else{if(!m.passThrough)throw new Error("No response defined !");b(r,i,a,o,s,c,e,t,n,l)}return}throw d?new Error("No response defined !"):new Error("Unexpected request: "+r+" "+i+"\n"+(f?"Expected "+f:"No more request expected"))}function r(e){var t={regexp:e},o=t.keys=[];return e&&T.isString(e)&&(e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(e,t,n,r){var i="?"===r?r:null,a="*"===r?r:null;return o.push({name:n,optional:!!i}),t=t||"",(i?"":t)+"(?:"+(i?t:"")+(a?"(.+?)":"([^/]+)")+(i||"")+")"+(i||"")}).replace(/([\/$\*])/g,"\\$1"),t.regexp=new RegExp("^"+e,"i")),t}return o.when=function(e,t,n,r,i){var a=new u(e,t,n,r,i),o={respond:function(e,t,n,r){return a.passThrough=void 0,a.response=s(e,t,n,r),o}};return v&&(o.passThrough=function(){return a.response=void 0,a.passThrough=!0,o}),y.push(a),o},e("when"),o.whenRoute=function(e,t){var n=r(t);return o.when(e,n.regexp,void 0,void 0,n.keys)},o.expect=function(e,t,n,r,i){var a=new u(e,t,n,r,i),o={respond:function(e,t,n,r){return a.response=s(e,t,n,r),o}};return w.push(a),o},e("expect"),o.expectRoute=function(e,t){var n=r(t);return o.expect(e,n.regexp,void 0,void 0,n.keys)},o.flush=function(e,t){if(!1!==t&&n.$digest(),!C.length)throw new Error("No pending request to flush !");if(T.isDefined(e)&&null!==e)for(;e--;){if(!C.length)throw new Error("No more pending request to flush !");C.shift()()}else for(;C.length;)C.shift()();o.verifyNoOutstandingExpectation(t)},o.verifyNoOutstandingExpectation=function(e){if(!1!==e&&n.$digest(),w.length)throw new Error("Unsatisfied requests: "+w.join(", "))},o.verifyNoOutstandingRequest=function(){if(C.length)throw new Error("Unflushed requests: "+C.length)},o.resetExpectations=function(){w.length=0,C.length=0},o;function e(a){T.forEach(["GET","DELETE","JSONP","HEAD"],function(r){o[a+r]=function(e,t,n){return o[a](r,e,void 0,t,n)}}),T.forEach(["PUT","POST","PATCH"],function(i){o[a+i]=function(e,t,n,r){return o[a](i,e,t,n,r)}})}}function u(i,s,t,n,c){function r(e){return e.slice(e.indexOf("?")+1).split("&").sort()}this.data=t,this.headers=n,this.match=function(e,t,n,r){return i==e&&(!!this.matchUrl(t)&&(!(T.isDefined(n)&&!this.matchData(n))&&!(T.isDefined(r)&&!this.matchHeaders(r))))},this.matchUrl=function(e){return!s||(T.isFunction(s.test)?s.test(e):T.isFunction(s)?s(e):s==e||(t=e,s.slice(0,s.indexOf("?"))==t.slice(0,t.indexOf("?"))&&r(s).join()==r(t).join()));var t},this.matchHeaders=function(e){return!!T.isUndefined(n)||(T.isFunction(n)?n(e):T.equals(n,e))},this.matchData=function(e){return!!T.isUndefined(t)||(t&&T.isFunction(t.test)?t.test(e):t&&T.isFunction(t)?t(e):t&&!T.isString(t)?T.equals(T.fromJson(T.toJson(t)),T.fromJson(e)):t==e)},this.toString=function(){return i+" "+s},this.params=function(o){return T.extend((i={},e=-1<o.indexOf("?")?o.substring(o.indexOf("?")+1):"",T.forEach(e.split("&"),function(e){if(e&&(n=e.replace(/\+/g,"%20").split("="),r=a(n[0]),T.isDefined(r))){var t=!T.isDefined(n[1])||a(n[1]);hasOwnProperty.call(i,r)?T.isArray(i[r])?i[r].push(t):i[r]=[i[r],t]:i[r]=t}}),i),function(){var e={};if(!s||!T.isFunction(s.test)||!c||0===c.length)return e;var t=s.exec(o);if(!t)return e;for(var n=1,r=t.length;n<r;++n){var i=c[n-1],a=t[n];i&&a&&(e[i.name||i]=a)}return e}());var n,r,i,e;function a(e){try{return decodeURIComponent(e)}catch(e){}}}}function x(){(x.$$lastInstance=this).open=function(e,t,n){this.$$method=e,this.$$url=t,this.$$async=n,this.$$reqHeaders={},this.$$respHeaders={}},this.send=function(e){this.$$data=e},this.setRequestHeader=function(e,t){this.$$reqHeaders[e]=t},this.getResponseHeader=function(n){var r=this.$$respHeaders[n];return r||(n=T.lowercase(n),(r=this.$$respHeaders[n])||(r=void 0,T.forEach(this.$$respHeaders,function(e,t){r||T.lowercase(t)!=n||(r=e)})),r)},this.getAllResponseHeaders=function(){var n=[];return T.forEach(this.$$respHeaders,function(e,t){n.push(t+": "+e)}),n.join("\n")},this.abort=T.noop,this.$$events={},this.addEventListener=function(e,t){T.isUndefined(this.$$events[e])&&(this.$$events[e]=[]),this.$$events[e].push(t)},this.upload={$$events:{},addEventListener:this.addEventListener}}T.mock.TzDate=function(e,t){var n=new Date(0);if(T.isString(t)){var r=t;if(n.origDate=function(e){var t;if(t=e.match(a)){var n=new Date(0),r=0,i=0;return t[9]&&(r=s(t[9]+t[10]),i=s(t[9]+t[11])),n.setUTCFullYear(s(t[1]),s(t[2])-1,s(t[3])),n.setUTCHours(s(t[4]||0)-r,s(t[5]||0)-i,s(t[6]||0),s(t[7]||0)),n}return e}(t),t=n.origDate.getTime(),isNaN(t))throw{name:"Illegal Argument",message:"Arg '"+r+"' passed into TzDate constructor is not a valid date string"}}else n.origDate=new Date(t);var i=new Date(t).getTimezoneOffset();n.offsetDiff=60*i*1e3-1e3*e*60*60,n.date=new Date(t+n.offsetDiff),n.getTime=function(){return n.date.getTime()-n.offsetDiff},n.toLocaleDateString=function(){return n.date.toLocaleDateString()},n.getFullYear=function(){return n.date.getFullYear()},n.getMonth=function(){return n.date.getMonth()},n.getDate=function(){return n.date.getDate()},n.getHours=function(){return n.date.getHours()},n.getMinutes=function(){return n.date.getMinutes()},n.getSeconds=function(){return n.date.getSeconds()},n.getMilliseconds=function(){return n.date.getMilliseconds()},n.getTimezoneOffset=function(){return 60*e},n.getUTCFullYear=function(){return n.origDate.getUTCFullYear()},n.getUTCMonth=function(){return n.origDate.getUTCMonth()},n.getUTCDate=function(){return n.origDate.getUTCDate()},n.getUTCHours=function(){return n.origDate.getUTCHours()},n.getUTCMinutes=function(){return n.origDate.getUTCMinutes()},n.getUTCSeconds=function(){return n.origDate.getUTCSeconds()},n.getUTCMilliseconds=function(){return n.origDate.getUTCMilliseconds()},n.getDay=function(){return n.date.getDay()},n.toISOString&&(n.toISOString=function(){return c(n.origDate.getUTCFullYear(),4)+"-"+c(n.origDate.getUTCMonth()+1,2)+"-"+c(n.origDate.getUTCDate(),2)+"T"+c(n.origDate.getUTCHours(),2)+":"+c(n.origDate.getUTCMinutes(),2)+":"+c(n.origDate.getUTCSeconds(),2)+"."+c(n.origDate.getUTCMilliseconds(),3)+"Z"});return T.forEach(["getUTCDay","getYear","setDate","setFullYear","setHours","setMilliseconds","setMinutes","setMonth","setSeconds","setTime","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setYear","toDateString","toGMTString","toJSON","toLocaleFormat","toLocaleString","toLocaleTimeString","toSource","toString","toTimeString","toUTCString","valueOf"],function(e){n[e]=function(){throw new Error("Method '"+e+"' is not implemented in the TzDate mock")}}),n},T.mock.TzDate.prototype=Date.prototype,T.mock.animate=T.module("ngAnimateMock",["ng"]).config(["$provide",function(e){e.factory("$$forceReflow",function(){function e(){e.totalReflows++}return e.totalReflows=0,e}),e.factory("$$animateAsyncRun",function(){var t=[],e=function(){return function(e){t.push(e)}};return e.flush=function(){if(0===t.length)return!1;for(var e=0;e<t.length;e++)t[e]();return t=[],!0},e}),e.decorator("$$animateJs",["$delegate",function(t){var n=[],e=function(){var e=t.apply(t,arguments);return e&&n.push(e),e};return e.$closeAndFlush=function(){n.forEach(function(e){e.end()}),n=[]},e}]),e.decorator("$animateCss",["$delegate",function(r){var i=[],e=function(e,t){var n=r(e,t);return i.push(n),n};return e.$closeAndFlush=function(){i.forEach(function(e){e.end()}),i=[]},e}]),e.decorator("$animate",["$delegate","$timeout","$browser","$$rAF","$animateCss","$$animateJs","$$forceReflow","$$animateAsyncRun","$rootScope",function(t,e,n,r,i,a,o,s,c){var l={queue:[],cancel:t.cancel,on:t.on,off:t.off,pin:t.pin,get reflows(){return o.totalReflows},enabled:t.enabled,closeAndFlush:function(){this.flush(!0),i.$closeAndFlush(),a.$closeAndFlush(),this.flush()},flush:function(e){c.$digest();for(var t,n=!1;t=!1,r.queue.length&&(r.flush(),t=n=!0),s.flush()&&(t=n=!0),t;);if(!n&&!e)throw new Error("No pending animations ready to be closed or flushed");c.$digest()}};return T.forEach(["animate","enter","leave","move","addClass","removeClass","setClass"],function(e){l[e]=function(){return l.queue.push({event:e,element:arguments[0],options:arguments[arguments.length-1],args:arguments}),t[e].apply(t,arguments)}}),l}])}]),T.mock.dump=function(e){return function t(e){var n;n=T.isElement(e)?(e=T.element(e),n=T.element("<div></div>"),T.forEach(e,function(e){n.append(T.element(e).clone())}),n.html()):T.isArray(e)?(n=[],T.forEach(e,function(e){n.push(t(e))}),"[ "+n.join(", ")+" ]"):T.isObject(e)?T.isFunction(e.$eval)&&T.isFunction(e.$apply)?a(e):e instanceof Error?e.stack||e.name+": "+e.message:T.toJson(e,!0):String(e);return n}(e);function a(e,t){var n=[(t=t||" ")+"Scope("+e.$id+"): {"];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&!r.match(/^(\$|this)/)&&n.push(" "+r+": "+T.toJson(e[r]));for(var i=e.$$childHead;i;)n.push(a(i,t+" ")),i=i.$$nextSibling;return n.push("}"),n.join("\n"+t)}},T.mock.$HttpBackendProvider=function(){this.$get=["$rootScope","$timeout",e]},T.mock.$TimeoutDecorator=["$delegate","$browser",function(e,n){return e.flush=function(e){n.defer.flush(e)},e.verifyNoPendingTasks=function(){if(n.deferredFns.length)throw new Error("Deferred tasks to flush ("+n.deferredFns.length+"): "+(e=n.deferredFns,t=[],T.forEach(e,function(e){t.push("{id: "+e.id+", time: "+e.time+"}")}),t.join(", ")));var e,t},e}],T.mock.$RAFDecorator=["$delegate",function(e){var n=function(e){var t=n.queue.length;return n.queue.push(e),function(){n.queue.splice(t,1)}};return n.queue=[],n.supported=e.supported,n.flush=function(){if(0===n.queue.length)throw new Error("No rAF callbacks present");for(var e=n.queue.length,t=0;t<e;t++)n.queue[t]();n.queue=n.queue.slice(t)},n}],T.mock.$RootElementProvider=function(){this.$get=["$injector",function(e){return l=T.element("<div ng-app></div>").data("$injector",e)}]},T.mock.$ControllerDecorator=["$delegate",function(o){return function(e,t,n,r){if(n&&"object"==typeof n){var i=o(e,t,!0,r);T.extend(i.instance,n);var a=i();return a!==i.instance&&T.extend(a,n),a}return o(e,t,n,r)}}],T.mock.$ComponentControllerProvider=["$compileProvider",function(e){this.$get=["$controller","$injector","$rootScope",function(o,s,c){return function(e,t,n,r){var i=s.get(e+"Directive").filter(function(e){return e.controller&&e.controllerAs&&"E"===e.restrict});if(0===i.length)throw new Error("No component found");if(1<i.length)throw new Error("Too many components found");var a=i[0];return(t=t||{}).$scope=t.$scope||c.$new(!0),o(a.controller,t,n,r||a.controllerAs)}}]}],T.module("ngMock",["ng"]).provider({$browser:T.mock.$BrowserProvider,$exceptionHandler:T.mock.$ExceptionHandlerProvider,$log:T.mock.$LogProvider,$interval:T.mock.$IntervalProvider,$httpBackend:T.mock.$HttpBackendProvider,$rootElement:T.mock.$RootElementProvider,$componentController:T.mock.$ComponentControllerProvider}).config(["$provide",function(e){e.decorator("$timeout",T.mock.$TimeoutDecorator),e.decorator("$$rAF",T.mock.$RAFDecorator),e.decorator("$rootScope",T.mock.$RootScopeDecorator),e.decorator("$controller",T.mock.$ControllerDecorator)}]),T.module("ngMockE2E",["ng"]).config(["$provide",function(e){e.value("$httpBackend",T.injector(["ng"]).get("$httpBackend")),e.decorator("$httpBackend",T.mock.e2e.$httpBackendDecorator)}]),T.mock.e2e={},T.mock.e2e.$httpBackendDecorator=["$rootScope","$timeout","$delegate","$browser",e],T.mock.$RootScopeDecorator=["$delegate",function(e){var t=Object.getPrototypeOf(e);return t.$countChildScopes=function(){var e,t=0,n=[this.$$childHead];for(;n.length;)for(e=n.shift();e;)t+=1,n.push(e.$$childHead),e=e.$$nextSibling;return t},t.$countWatchers=function(){var e,t=this.$$watchers?this.$$watchers.length:0,n=[this.$$childHead];for(;n.length;)for(e=n.shift();e;)t+=e.$$watchers?e.$$watchers.length:0,n.push(e.$$childHead),e=e.$$nextSibling;return t},e}],function(e){if(o.jasmine||o.mocha){var s=null,n=new i,a=[],r=function(){return!!s};T.mock.$$annotate=T.injector.$$annotate,T.injector.$$annotate=function(e){return"function"!=typeof e||e.$inject||a.push(e),T.mock.$$annotate.apply(this,arguments)};var t=o.module=T.mock.module=function(){var e=Array.prototype.slice.call(arguments,0);return r()?t():t;function t(){if(s.$injector)throw new Error("Injector already created, can not register a module!");var t,n=s.$modules||(s.$modules=[]);T.forEach(e,function(e){t=T.isObject(e)&&!T.isArray(e)?["$provide",function(n){T.forEach(e,function(e,t){n.value(t,e)})}]:e,s.$providerInjector?s.$providerInjector.invoke(t):n.push(t)})}};t.$$beforeAllHook=o.before||o.beforeAll,t.$$afterAllHook=o.after||o.afterAll,t.$$currentSpec=function(e){if(0===arguments.length)return e;s=e},t.sharedInjector=function(){if(!t.$$beforeAllHook||!t.$$afterAllHook)throw Error("sharedInjector() cannot be used unless your test runner defines beforeAll/afterAll");var e=!1;t.$$beforeAllHook(function(){if(n.shared)throw n.sharedError=Error("sharedInjector() cannot be called inside a context that has already called sharedInjector()"),n.sharedError;e=!0,s=this,n.shared=!0}),t.$$afterAllHook(function(){e?(n=new i,t.$$cleanup()):n.sharedError=null})},t.$$beforeEach=function(){if(n.shared&&s&&s!=this){var t=s;s=this,T.forEach(["$injector","$modules","$providerInjector","$injectorStrict"],function(e){s[e]=t[e],t[e]=null})}else s=this,l=null,a=[]},t.$$afterEach=function(){n.cleanupAfterEach()&&t.$$cleanup()},t.$$cleanup=function(){var e=s.$injector;if(a.forEach(function(e){delete e.$inject}),T.forEach(s.$modules,function(e){e&&e.$$hashKey&&(e.$$hashKey=void 0)}),s.$injector=null,s.$modules=null,s.$providerInjector=null,s=null,e){var t=e.get("$rootElement"),n=t&&t[0],r=l?[l[0]]:[];!n||l&&n===l[0]||r.push(n),T.element.cleanData(r);var i=e.get("$rootScope");i&&i.$destroy&&i.$destroy()}T.forEach(T.element.fragments,function(e,t){delete T.element.fragments[t]}),x.$$lastInstance=null,T.forEach(T.callbacks,function(e,t){delete T.callbacks[t]}),T.callbacks.$$counter=0},(o.beforeEach||o.setup)(t.$$beforeEach),(o.afterEach||o.teardown)(t.$$afterEach);var c=function(e,t){this.message=e.message,this.name=e.name,e.line&&(this.line=e.line),e.sourceId&&(this.sourceId=e.sourceId),e.stack&&t&&(this.stack=e.stack+"\n"+t.stack),e.stackArray&&(this.stackArray=e.stackArray)};c.prototype=Error.prototype,o.inject=T.mock.inject=function(){var a=Array.prototype.slice.call(arguments,0),o=new Error("Declaration Location");if(!o.stack)try{throw o}catch(e){}return r()?e.call(s):e;function e(){var e=s.$modules||[],t=!!s.$injectorStrict;e.unshift(["$injector",function(e){s.$providerInjector=e}]),e.unshift("ngMock"),e.unshift("ng");var n=s.$injector;n||(t&&T.forEach(e,function(e){"function"==typeof e&&T.injector.$$annotate(e)}),n=s.$injector=T.injector(e,t),s.$injectorStrict=t);for(var r=0,i=a.length;r<i;r++){s.$injectorStrict&&n.annotate(a[r]);try{n.invoke(a[r]||T.noop,this)}catch(e){if(e.stack&&o)throw new c(e,o);throw e}finally{o=null}}}},T.mock.inject.strictDi=function(e){return e=!arguments.length||!!e,r()?t():t;function t(){if(e!==s.$injectorStrict){if(s.$injector)throw new Error("Injector already created, can not modify strict annotations");s.$injectorStrict=e}}}}function i(){this.shared=!1,this.sharedError=null,this.cleanupAfterEach=function(){return!this.shared||this.sharedError}}}()}(window,window.angular),angular.module("templates-angularcronjobs",["cronselection.html"]),angular.module("cronselection.html",[]).run(["$templateCache",function(e){e.put("cronselection.html",'<div class="cron-wrap">\n <span>Every: </span>\n <div class="cron-select-wrap">\n <select class="cron-select" ng-model="myFrequency.base" ng-options="item.value as item.label for item in frequency"></select>\n </div>\n <div class="select-options">\n <span ng-show="myFrequency.base == 4">on </span>\n <div ng-show="myFrequency.base == 4" class="cron-select-wrap">\n \x3c!-- If Multiple is Enabled --\x3e\n <select class="cron-select day-value"\n ng-model="myFrequency.dayValues"\n ng-if="allowMultiple" multiple\n ng-options="value as (value | cronDayName: cronStyle) for value in dayValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select day-value"\n ng-model="myFrequency.dayValues"\n ng-if="!allowMultiple"\n ng-options="value as (value | cronDayName: cronStyle) for value in dayValues">\n </select>\n </div>\n <span ng-show="myFrequency.base >= 5">on the </span>\n <div ng-show="myFrequency.base >= 5" class="cron-select-wrap">\n \x3c!-- If Multiple is Enabled --\x3e\n <select class="cron-select day-of-month-value"\n ng-model="myFrequency.dayOfMonthValues"\n ng-if="allowMultiple" multiple\n ng-options="value as (value | cronNumeral) for value in dayOfMonthValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select day-of-month-value"\n ng-model="myFrequency.dayOfMonthValues"\n ng-if="!allowMultiple"\n ng-options="value as (value | cronNumeral) for value in dayOfMonthValues">\n </select>\n </div>\n <span ng-show="myFrequency.base == 6">of </span>\n \x3c!-- If Multiple is Enabled --\x3e\n <div ng-show="myFrequency.base == 6" class="cron-select-wrap">\n <select class="cron-select month-value"\n ng-model="myFrequency.monthValues"\n ng-if="allowMultiple" multiple\n ng-options="value as (value | cronMonthName) for value in monthValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select month-value"\n ng-model="myFrequency.monthValues"\n ng-if="!allowMultiple"\n ng-options="value as (value | cronMonthName) for value in monthValues">\n </select>\n </div>\n <span ng-show="myFrequency.base >= 2">at </span>\n \x3c!-- If Multiple is Enabled --\x3e\n <div ng-show="myFrequency.base >= 3" class="cron-select-wrap">\n <select class="cron-select hour-value"\n ng-model="myFrequency.hourValues"\n ng-if="allowMultiple" multiple\n ng-options="value as value for value in hourValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select hour-value"\n ng-model="myFrequency.hourValues"\n ng-if="!allowMultiple"\n ng-options="value as value for value in hourValues">\n </select>\n </div>\n <span ng-show="myFrequency.base >= 3"> : </span>\n \x3c!-- If Multiple is Enabled --\x3e\n <div ng-show="myFrequency.base >= 2" class="cron-select-wrap">\n <select class="cron-select minute-value"\n ng-model="myFrequency.minuteValues"\n ng-if="allowMultiple" multiple\n ng-options="value as value for value in minuteValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select minute-value"\n ng-model="myFrequency.minuteValues"\n ng-if="!allowMultiple"\n ng-options="value as value for value in minuteValues">\n </select>\n </div>\n <span ng-show="myFrequency.base == 2"> past the hour</span>\n </div>\n</div>')}]),angular.module("angular-cron-jobs",["templates-angularcronjobs"]),angular.module("angular-cron-jobs").directive("cronSelection",["cronService","baseFrequency",function(u,f){return{restrict:"EA",replace:!0,transclude:!0,require:"ngModel",scope:{ngModel:"=",config:"=",myFrequency:"=?frequency"},templateUrl:function(e,t){return t.template||"cronselection.html"},link:function(r,e,t,i){var a=!1;if(r.baseFrequency=f,r.frequency=[{value:1,label:"Minute"},{value:2,label:"Hour"},{value:3,label:"Day"},{value:4,label:"Week"},{value:5,label:"Month"},{value:6,label:"Year"}],r.$watch("ngModel",function(e){angular.isDefined(e)&&e?(a=!0,r.myFrequency=u.fromCron(e,r.allowMultiple,r.cronStyle)):""===e&&(r.myFrequency=void 0)}),"object"==typeof r.config&&!r.config.length){if("object"==typeof r.config.options){var n=Object.keys(r.config.options);for(var o in n){var s=n[o].replace(/^allow/,""),c=n[o];if(!r.config.options[c])for(var l in r.frequency)r.frequency[l].label===s&&r.frequency.splice(l,1)}}angular.isDefined(r.config.allowMultiple)?r.allowMultiple=r.config.allowMultiple:r.allowMultiple=!1,angular.isDefined(r.config.quartz)&&r.config.quartz?r.cronStyle="quartz":r.cronStyle="default"}r.minuteValues=[0,5,10,15,20,25,30,35,40,45,50,55],r.hourValues=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],r.dayOfMonthValues=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],r.dayValues=[0,1,2,3,4,5,6],r.monthValues=[1,2,3,4,5,6,7,8,9,10,11,12],"quartz"===r.cronStyle&&(r.dayValues=[1,2,3,4,5,6,7]),r.$watch("myFrequency",function(e,t){if(void 0!==e){!e||!e.base||t&&e.base===t.base||a?e&&e.base&&t&&t.base&&(a=!1):function(e){e.base=parseInt(e.base),e.base>=f.hour&&(e.minuteValues=r.minuteValues[0]);e.base>=f.day&&(e.hourValues=r.hourValues[0]);e.base===f.week&&(e.dayValues=r.dayValues[0]);e.base>=f.month&&(e.dayOfMonthValues=r.dayOfMonthValues[0]);e.base===f.year&&(e.monthValues=r.monthValues[0])}(e);var n=u.setCron(e,r.cronStyle);i.$setViewValue(n)}},!0)}}}]).filter("cronNumeral",function(){return function(e){switch(e){case 1:return"1st";case 2:return"2nd";case 3:return"3rd";case 21:return"21st";case 22:return"22nd";case 23:return"23rd";case 31:return"31st";case null:return null;default:return e+"th"}}}).filter("cronMonthName",function(){return function(e){var t={1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"};return null!==e&&angular.isDefined(t[e])?t[e]:null}}).filter("cronDayName",function(){return function(e,t){var n;return n="quartz"===t?{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}:{0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},null!==e&&angular.isDefined(n[e])?n[e]:null}}).directive("ngMultiple",function(){return{restrict:"A",scope:{ngMultiple:"="},link:function(e,t){e.$watch("ngMultiple",function(e){e?t.attr("multiple","multiple"):t.removeAttr("multiple")})}}}),angular.module("angular-cron-jobs").value("baseFrequency",{minute:1,hour:2,day:3,week:4,month:5,year:6}).factory("cronService",["baseFrequency",function(o){var e={setCron:function(e,t){return"quartz"===t?this.setQuartzCron(e):this.setDefaultCron(e)},setQuartzCron:function(e){var t=["0","*","*","*","*","?"];return e&&e.base&&e.base>=o.hour&&(t[1]=void 0!==e.minuteValues?e.minuteValues:"0"),e&&e.base&&e.base>=o.day&&(t[2]=void 0!==e.hourValues?e.hourValues:"*"),e&&e.base&&e.base===o.week&&(t[3]="?",t[5]=e.dayValues),e&&e.base&&e.base>=o.month&&(t[3]=void 0!==e.dayOfMonthValues?e.dayOfMonthValues:"?"),e&&e.base&&e.base===o.year&&(t[4]=void 0!==e.monthValues?e.monthValues:"*"),t.join(" ")},setDefaultCron:function(e){var t=["*","*","*","*","*"];return e&&e.base&&e.base>=o.hour&&(t[0]=void 0!==e.minuteValues?e.minuteValues:"*"),e&&e.base&&e.base>=o.day&&(t[1]=void 0!==e.hourValues?e.hourValues:"*"),e&&e.base&&e.base===o.week&&(t[4]=e.dayValues),e&&e.base&&e.base>=o.month&&(t[2]=void 0!==e.dayOfMonthValues?e.dayOfMonthValues:"*"),e&&e.base&&e.base===o.year&&(t[3]=void 0!==e.monthValues?e.monthValues:"*"),t.join(" ")},fromCron:function(e,t,n){return"quartz"===n?this.fromQuartzCron(e,t):this.fromDefaultCron(e,t)},fromDefaultCron:function(e,t){var n=e.replace(/\s+/g," ").split(" "),r={base:"1"},i=[];if("*"===n[0]&&"*"===n[1]&&"*"===n[2]&&"*"===n[3]&&"*"===n[4]?r.base=o.minute:"*"===n[1]&&"*"===n[2]&&"*"===n[3]&&"*"===n[4]?r.base=o.hour:"*"===n[2]&&"*"===n[3]&&"*"===n[4]?r.base=o.day:"*"===n[2]&&"*"===n[3]?r.base=o.week:"*"===n[3]&&"*"===n[4]?r.base=o.month:"*"===n[4]&&(r.base=o.year),"*"!==n[0])if(t){i=n[0].split(",");for(var a=0;a<i.length;a++)i[a]=+i[a];r.minuteValues=i}else r.minuteValues=parseInt(n[0]);if("*"!==n[1])if(t){i=n[1].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.hourValues=i}else r.hourValues=parseInt(n[1]);if("*"!==n[2])if(t){i=n[2].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayOfMonthValues=i}else r.dayOfMonthValues=parseInt(n[2]);if("*"!==n[3])if(t){i=n[3].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.monthValues=i}else r.monthValues=parseInt(n[3]);if("*"!==n[4])if(t){i=n[4].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayValues=i}else r.dayValues=parseInt(n[4]);return r},fromQuartzCron:function(e,t){var n=e.replace(/\s+/g," ").split(" "),r={base:"1"},i=[];if("*"===n[1]&&"*"===n[2]&&"*"===n[3]&&"*"===n[4]&&"?"===n[5]?r.base=1:"*"===n[2]&&"*"===n[3]&&"*"===n[4]&&"?"===n[5]?r.base=2:"*"===n[3]&&"*"===n[4]&&"?"===n[5]?r.base=3:"?"===n[3]?r.base=4:"*"===n[4]&&"?"===n[5]?r.base=5:"?"===n[5]&&(r.base=6),"*"!==n[1])if(t){i=n[1].split(",");for(var a=0;a<i.length;a++)i[a]=+i[a];r.minuteValues=i}else r.minuteValues=parseInt(n[1]);if("*"!==n[2])if(t){i=n[2].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.hourValues=i}else r.hourValues=parseInt(n[2]);if("*"!==n[3]&&"?"!==n[3])if(t){i=n[3].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayOfMonthValues=i}else r.dayOfMonthValues=parseInt(n[3]);if("*"!==n[4])if(t){i=n[4].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.monthValues=i}else r.monthValues=parseInt(n[4]);if("*"!==n[5]&&"?"!==n[5])if(t){i=n[5].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayValues=i}else r.dayValues=parseInt(n[5]);return r}};return e}]),function(){"use strict";angular.module("ngEmbed",["ngSanitize"]).filter("embed",["$sce",function(c){var l=[{text:":)",class:"smiley",code:"e60a"},{text:":D",class:"happy",code:"e608"},{text:":d",class:"happy",code:"e608"},{text:":(",class:"sad",code:"e60e"},{text:":/",class:"wondering",code:"e620"},{text:":P",class:"tongue",code:"e60c"},{text:":p",class:"tongue",code:"e60c"},{text:"3:)",class:"evil",code:"e618"},{text:"(^)",class:"thumbsup2",code:"e607"},{text:";)",class:"wink",code:"e610"},{text:":o",class:"shocked",code:"e61a"},{text:"-_-",class:"neutral",code:"e61e"},{text:"(y)",class:"thumbs-up",code:"e606"},{text:":*",class:"heart",code:"e604"},{text:"<3",class:"heart",code:"e604"},{text:"<3",class:"heart",code:"e604"},{text:"</3",class:"heart-broken",code:"e605"},{text:"</3",class:"heart-broken",code:"e605"},{text:"^_^",class:"grin",code:"e612"},{text:"8-)",class:"cool",code:"e614"},{text:"8|",class:"cool",code:"e614"},{text:":S",class:"confused",code:"e61c"},{text:":s",class:"confused",code:"e61c"}],u=["bowtie","smile","laughing","blush","smiley","relaxed","smirk","heart_eyes","kissing_heart","kissing_closed_eyes","flushed","relieved","satisfied","grin","wink","stuck_out_tongue_winking_eye","stuck_out_tongue_closed_eyes","grinning","kissing","winky_face","kissing_smiling_eyes","stuck_out_tongue","sleeping","worried","frowning","anguished","open_mouth","grimacing","confused","hushed","expressionless","unamused","sweat_smile","sweat","wow","disappointed_relieved","weary","pensive","disappointed","confounded","fearful","cold_sweat","persevere","cry","sob","joy","astonished","scream","neckbeard","tired_face","angry","rage","triumph","sleepy","yum","mask","sunglasses","dizzy_face","imp","smiling_imp","neutral_face","no_mouth","innocent","alien","yellow_heart","blue_heart","purple_heart","heart","green_heart","broken_heart","heartbeat","heartpulse","two_hearts","revolving_hearts","cupid","sparkling_heart","sparkles","star","star2","dizzy","boom","collision","anger","exclamation","question","grey_exclamation","grey_question","zzz","dash","sweat_drops","notes","musical_note","fire","hankey","poop","shit","\\+1","thumbsup","-1","thumbsdown","ok_hand","punch","facepunch","fist","v","wave","hand","raised_hand","open_hands","point_up","point_down","point_left","point_right","raised_hands","pray","point_up_2","clap","muscle","metal","fu","walking","runner","running","couple","family","two_men_holding_hands","two_women_holding_hands","dancer","dancers","ok_woman","no_good","information_desk_person","raising_hand","bride_with_veil","person_with_pouting_face","person_frowning","bow","couplekiss","couple_with_heart","massage","haircut","nail_care","boy","girl","woman","man","baby","older_woman","older_man","person_with_blond_hair","man_with_gua_pi_mao","man_with_turban","construction_worker","cop","angel","princess","smiley_cat","smile_cat","heart_eyes_cat","kissing_cat","smirk_cat","scream_cat","crying_cat_face","joy_cat","pouting_cat","japanese_ogre","japanese_goblin","see_no_evil","hear_no_evil","speak_no_evil","guardsman","skull","feet","lips","kiss","droplet","ear","eyes","nose","tongue","love_letter","bust_in_silhouette","busts_in_silhouette","speech_balloon","thought_balloon","feelsgood","finnadie","goberserk","godmode","hurtrealbad","rage1","rage2","rage3","rage4","suspect","trollface","sunny","umbrella","cloud","snowflake","snowman","zap","cyclone","foggy","ocean","cat","dog","mouse","hamster","rabbit","wolf","frog","tiger","koala","bear","pig","pig_nose","cow","boar","monkey_face","monkey","horse","racehorse","camel","sheep","elephant","panda_face","snake","bird","baby_chick","hatched_chick","hatching_chick","chicken","penguin","turtle","bug","honeybee","ant","beetle","snail","octopus","tropical_fish","fish","whale","whale2","dolphin","cow2","ram","rat","water_buffalo","tiger2","rabbit2","dragon","goat","rooster","dog2","pig2","mouse2","ox","dragon_face","blowfish","crocodile","dromedary_camel","leopard","cat2","poodle","paw_prints","bouquet","cherry_blossom","tulip","four_leaf_clover","rose","sunflower","hibiscus","maple_leaf","leaves","fallen_leaf","herb","mushroom","cactus","palm_tree","evergreen_tree","deciduous_tree","chestnut","seedling","blossom","ear_of_rice","shell","globe_with_meridians","sun_with_face","full_moon_with_face","new_moon_with_face","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","last_quarter_moon_with_face","first_quarter_moon_with_face","moon","earth_africa","earth_americas","earth_asia","volcano","milky_way","partly_sunny","octocat","squirrel","bamboo","gift_heart","dolls","school_satchel","mortar_board","flags","fireworks","sparkler","wind_chime","rice_scene","jack_o_lantern","ghost","santa","christmas_tree","gift","bell","no_bell","tanabata_tree","tada","confetti_ball","balloon","crystal_ball","cd","dvd","floppy_disk","camera","video_camera","movie_camera","computer","tv","iphone","phone","telephone","telephone_receiver","pager","fax","minidisc","vhs","sound","speaker","mute","loudspeaker","mega","hourglass","hourglass_flowing_sand","alarm_clock","watch","radio","satellite","loop","mag","mag_right","unlock","lock","lock_with_ink_pen","closed_lock_with_key","key","bulb","flashlight","high_brightness","low_brightness","electric_plug","battery","calling","email","mailbox","postbox","bath","bathtub","shower","toilet","wrench","nut_and_bolt","hammer","seat","moneybag","yen","dollar","pound","euro","credit_card","money_with_wings","e-mail","inbox_tray","outbox_tray","envelope","incoming_envelope","postal_horn","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","door","smoking","bomb","gun","hocho","pill","syringe","page_facing_up","page_with_curl","bookmark_tabs","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","scroll","clipboard","calendar","date","card_index","file_folder","open_file_folder","scissors","pushpin","paperclip","black_nib","pencil2","straight_ruler","triangular_ruler","closed_book","green_book","blue_book","orange_book","notebook","notebook_with_decorative_cover","ledger","books","bookmark","name_badge","microscope","telescope","newspaper","football","basketball","soccer","baseball","tennis","8ball","rugby_football","bowling","golf","mountain_bicyclist","bicyclist","horse_racing","snowboarder","swimmer","surfer","ski","spades","hearts","clubs","diamonds","gem","ring","trophy","musical_score","musical_keyboard","violin","space_invader","video_game","black_joker","flower_playing_cards","game_die","dart","mahjong","clapper","memo","pencil","book","art","microphone","headphones","trumpet","saxophone","guitar","shoe","sandal","high_heel","lipstick","boot","shirt","tshirt","necktie","womans_clothes","dress","running_shirt_with_sash","jeans","kimono","bikini","ribbon","tophat","crown","womans_hat","mans_shoe","closed_umbrella","briefcase","handbag","pouch","purse","eyeglasses","fishing_pole_and_fish","coffee","tea","sake","baby_bottle","beer","beers","cocktail","tropical_drink","wine_glass","fork_and_knife","pizza","hamburger","fries","poultry_leg","meat_on_bone","spaghetti","curry","fried_shrimp","bento","sushi","fish_cake","rice_ball","rice_cracker","rice","ramen","stew","oden","dango","egg","bread","doughnut","custard","icecream","ice_cream","shaved_ice","birthday","cake","cookie","chocolate_bar","candy","lollipop","honey_pot","apple","green_apple","tangerine","lemon","cherries","grapes","watermelon","strawberry","peach","melon","banana","pear","pineapple","sweet_potato","eggplant","tomato","corn","house","house_with_garden","school","office","post_office","hospital","bank","convenience_store","love_hotel","hotel","wedding","church","department_store","european_post_office","city_sunrise","city_sunset","japanese_castle","european_castle","tent","factory","tokyo_tower","japan","mount_fuji","sunrise_over_mountains","sunrise","stars","themoreyouknow","tmyk","statue_of_liberty","bridge_at_night","carousel_horse","rainbow","ferris_wheel","fountain","roller_coaster","ship","speedboat","boat","sailboat","rowboat","anchor","rocket","airplane","helicopter","steam_locomotive","tram","mountain_railway","bike","aerial_tramway","suspension_railway","mountain_cableway","tractor","blue_car","oncoming_automobile","car","red_car","taxi","oncoming_taxi","articulated_lorry","bus","oncoming_bus","rotating_light","police_car","oncoming_police_car","fire_engine","ambulance","minibus","truck","train","station","train2","bullettrain_front","bullettrain_side","light_rail","monorail","railway_car","trolleybus","ticket","fuelpump","vertical_traffic_light","traffic_light","warning","construction","beginner","atm","slot_machine","busstop","barber","hotsprings","checkered_flag","crossed_flags","izakaya_lantern","moyai","circus_tent","performing_arts","round_pushpin","triangular_flag_on_post","jp","kr","cn","us","fr","es","it","ru","gb","uk","de","one","two","three","four","five","six","seven","eight","nine","keycap_ten","1234","zero","hash","symbols","arrow_backward","arrow_down","arrow_forward","arrow_left","capital_abcd","abcd","abc","arrow_lower_left","arrow_lower_right","arrow_right","arrow_up","arrow_upper_left","arrow_upper_right","arrow_double_down","arrow_double_up","arrow_down_small","arrow_heading_down","arrow_heading_up","leftwards_arrow_with_hook","arrow_right_hook","left_right_arrow","arrow_up_down","arrow_up_small","arrows_clockwise","arrows_counterclockwise","rewind","fast_forward","information_source","ok","twisted_rightwards_arrows","repeat","repeat_one","new","top","up","cool","free","ng","cinema","koko","signal_strength","u5272","u5408","u55b6","u6307","u6708","u6709","u6e80","u7121","u7533","u7a7a","u7981","sa","restroom","mens","womens","baby_symbol","no_smoking","parking","wheelchair","metro","baggage_claim","accept","wc","potable_water","put_litter_in_its_place","secret","congratulations","m","passport_control","left_luggage","customs","ideograph_advantage","cl","sos","id","no_entry_sign","underage","no_mobile_phones","do_not_litter","non-potable_water","no_bicycles","no_pedestrians","children_crossing","no_entry","eight_spoked_asterisk","eight_pointed_black_star","heart_decoration","vs","vibration_mode","mobile_phone_off","chart","currency_exchange","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","six_pointed_star","negative_squared_cross_mark","a","b","ab","o2","diamond_shape_with_a_dot_inside","recycle","end","on","soon","clock1","clock130","clock10","clock1030","clock11","clock1130","clock12","clock1230","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","heavy_dollar_sign","copyright","registered","tm","x","heavy_exclamation_mark","bangbang","interrobang","o","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","white_flower","100","heavy_check_mark","ballot_box_with_check","radio_button","link","curly_loop","wavy_dash","part_alternation_mark","trident","black_square","white_square","white_check_mark","black_square_button","white_square_button","black_circle","white_circle","red_circle","large_blue_circle","large_blue_diamond","large_orange_diamond","small_blue_diamond","small_orange_diamond","small_red_triangle","small_red_triangle_down","shipit"];return function(e,t){var n={fontSmiley:!0,emoji:!0,link:!0,linkTarget:"_self"};if(function n(r){return angular.forEach(arguments,function(e){e!==r&&angular.forEach(e,function(e,t){r[t]&&r[t].constructor&&r[t].constructor===Object?n(r[t],e):r[t]=e})}),r}(n,t),null!=e){if("object"==typeof e)return e;var r,i,a,o,s={"&":"&",">":">","<":"<"};return angular.isNumber(e)||(e=e.toString()),e=e.replace(/[&<>]/g,function(e){return s[e]}),n.fontSmiley&&(r=e.split(" "),angular.forEach(l,function(e){for(var t=0;t<r.length;t++)r[t]===e.text&&(r[t]='<i class="ne-emoticon" title="'+e.text+'">&#x'+e.code+"</i>")}),e=r.join(" ")),n.emoji&&(i=e,a=new RegExp(":("+u.join("|")+"):","g"),e=i.replace(a,function(e,t){return"<i class='emoticon emoticon-"+t+"' title=':"+t+":'></i>"})),n.link&&(o=/^[a-z]+\:\/\//i,e=e.replace(/\b(?:(https?|ftp|file):\/\/|www\.)[-A-Z0-9+()&@$#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|]/gi,function(e){var t=e;return o.test(e)||(t="http://"+e),"cordova"==n.linkTarget?'<a href="#" onclick="window.open(\''+t+"', '_system', 'location=yes')\" >"+e+"</a>":'<a href="'+t+'" target="'+n.linkTarget+'">'+e+"</a>"})),c.trustAsHtml(e)}}}]).directive("ngEmbed",["$filter","$sce","$http","$timeout","$templateCache",function(w,C,A,S,e){return e.put("",'<div ng-bind-html="neText"></div> <div class="ne-video" ng-if="video.host" class="fade"> <div class="ne-video-preview" ng-hide="nePlayVideo || !options.video.details"> <div class="ne-video-thumb" ng-click="nePlayVideo=!nePlayVideo"> <img ng-src="{{video.thumbnail}}" alt=""/> <i class="fa fa-play-circle-o"></i> </div> <div class="ne-video-detail"> <div class="ne-video-title"> <a ng-href="{{video.url}}">{{video.title}}</a> </div> <div class="ne-video-desc"> {{video.description}} </div> <div class="ne-video-stats"> <span><i class="fa fa-eye"></i> {{video.views}}</span> <span><i class="fa fa-heart"></i> {{video.likes}}</span> </div> </div> </div> <div class="ne-video-player" ng-if="nePlayVideo || !(options.video.details)"> <iframe ng-src="{{video.embedSrc}}" frameBorder="0" width="{{video.width}}" height="{{video.height}}" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> </div> </div> <div class="ne-video" ng-if="video.basic"> <div class="ne-video-player"> <div class="player"> <video ng-src="{{video.basic}}" controls></video> </div> </div> </div> <div ng-init="neImageLong=false" ng-class="{false:\'ne-image\', true:\'ne-image ne-image-long\'}[neImageLong]" ng-if="image.url"> <div class="ne-image-wrapper"> <img ng-src="{{image.url}}" ng-click="neImageLong=!neImageLong" alt=""/> </div> </div> <div class="ne-pdf" ng-if="pdf.url"> <div class="ne-pdf-preview" ng-hide="neShowPdf"> <div class="ne-pdf-icon"> <i class="fa fa-file-pdf-o"></i> </div> <div class="ne-pdf-detail" > <div class="ne-pdf-title"> <a href="">{{pdf.url}}</a> </div> <div class="ne-pdf-view"> <button><i class="fa fa-download"></i> <a ng-href="{{pdf.url}}" target="_blank">Download</a></button> <button ng-click="neShowPdf=!neShowPdf"><i class="fa fa-eye"></i> View PDF</button> </div> </div> </div> <div class="ne-pdf-viewer" ng-if="neShowPdf" ng-show="neShowPdf"> <iframe ng-src="{{pdf.url}}" frameBorder="0"></iframe> </div> </div> <div class="ne-audio" ng-if="audio.url"> <audio ng-src="{{audio.url}}" controls></audio> </div> <div ng-if="tweets" ng-repeat="tweet in tweets"> <div ng-bind-html="tweet"></div> </div> <div ng-if="videoServices" class="ne-video" ng-repeat="v in videoServices"> <div class="ne-video-player"> <div class="player"> <div ng-bind-html="v"></div> </div> </div> </div> <div ng-if="audioServices" class="ne-audio" ng-repeat="a in audioServices"> <div ng-bind-html="a"></div> </div> <div ng-if="codeServices" class="ne-embed" ng-repeat="c in codeServices"> <div ng-bind-html="c"></div> </div> <div ng-if="gist" class="ne-gist" ng-repeat="g in gist"> <ne-gist id="{{g}}"></ne-gist> </div>'),{restrict:"AE",scope:!0,templateUrl:function(e,t){return t.embedTemplateUrl||""},link:function(s,e,t){var n=s.$eval(t.embedData),r=s.$eval(t.embedOptions);s.video={},s.image={},s.pdf={},s.audio={},s.videoServices=[],s.audioServices=[],s.codeServices=[];var i={fontSmiley:!0,emoji:!0,link:!0,linkTarget:"_self",pdf:{embed:!0},image:{embed:!(s.gist=[])},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!1,gdevAuth:null,video:{embed:!1,width:null,height:null,ytTheme:"dark",details:!1,thumbnailQuality:"medium"},tweetEmbed:!0,tweetOptions:{maxWidth:550,hideMedia:!1,hideThread:!1,align:"none",lang:"en"},twitchtvEmbed:!0,dailymotionEmbed:!0,tedEmbed:!0,dotsubEmbed:!0,liveleakEmbed:!0,soundCloudEmbed:!0,soundCloudOptions:{height:160,themeColor:"f50000",autoPlay:!1,hideRelated:!1,showComments:!0,showUser:!0,showReposts:!1,visual:!1,download:!1},spotifyEmbed:!0,codepenEmbed:!0,codepenHeight:300,jsfiddleEmbed:!0,jsfiddleHeight:300,jsbinEmbed:!0,jsbinHeight:300,plunkerEmbed:!0,githubgistEmbed:!0,ideoneEmbed:!0,ideoneHeight:300};!function n(r){return angular.forEach(arguments,function(e){e!==r&&angular.forEach(e,function(e,t){r[t]&&r[t].constructor&&r[t].constructor===Object?n(r[t],e):r[t]=e})}),r}(i,r),String.prototype.trunc=function(e,t){var n=this.length>e,r=n?this.substr(0,e-1):this;return r=t&&n?r.substr(0,r.lastIndexOf(" ")):r,n?r+"...":r},Array.prototype.getUnique=function(){for(var e={},t=[],n=0,r=this.length;n<r;++n)e.hasOwnProperty(this[n])||(t.push(this[n]),e[this[n]]=1);return t};var c={calcDimensions:function(e){var t={width:null,height:null};return t.width=e.video.width,t.height=e.video.height,e.video.height&&e.video.width||(e.video.height?t.width=e.video.height/390*640:e.video.width?t.height=t.width/640*390:(t.width=640,t.height=390)),t},embed:function(e,r){if(e.match(/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))([\w\-]{11})[?=&+%\w-]*/gi)){var i=this.calcDimensions(r);return s.video.id=RegExp.$1,r.video.details?A.get("https://www.googleapis.com/youtube/v3/videos?id="+RegExp.$1+"&key="+r.gdevAuth+"&part=snippet,statistics").success(function(e){var t=void 0===r.video.autoPlay||!0===r.video.autoPlay?"?autoplay=1":"?autoplay=0",n=e.items[0];s.video.host="youtube",s.video.title=n.snippet.title,s.video.thumbnail=n.snippet.thumbnails.medium.url,s.video.description=n.snippet.description.trunc(250,!0).replace(/\n/g," ").replace(/ /g," "),s.video.rawDescription=n.snippet.description,s.video.views=n.statistics.viewCount,s.video.likes=n.statistics.likeCount,s.video.uploader=n.snippet.channelTitle,s.video.uploaderPage="https://www.youtube.com/channel/"+n.snippet.channelId,s.video.uploadDate=n.snippet.publishedAt,s.video.url=C.trustAsResourceUrl("https://www.youtube.com/watch?v="+n.id),s.video.embedSrc=C.trustAsResourceUrl("https://www.youtube.com/embed/"+s.video.id+t),s.video.width=i.width,s.video.height=i.height}):(s.video.width=i.width,s.video.height=i.height,s.video.host="youtube",s.video.embedSrc=C.trustAsResourceUrl("https://www.youtube.com/embed/"+RegExp.$1+"?autoplay=0")),e}if(e.match(/https?:\/\/(?:www\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|)(\d+)(?:$|\/|\?)*/gi)){var n=this.calcDimensions(r);s.video.id=RegExp.$3,r.video.details?A.get("https://vimeo.com/api/v2/video/"+RegExp.$3+".json").success(function(e){var t=void 0===r.video.autoPlay||!0===r.video.autoPlay?"&autoplay=1":"&autoplay=0";s.video.host="vimeo",s.video.title=e[0].title,s.video.rawDescription=e[0].description.replace(/\n/g,"<br/>").replace(/ /g,"<br/>"),s.video.description=e[0].description.replace(/((<|<)br\s*\/*(>|>)\r\n)/g," ").trunc(250,!0),s.video.thumbnail=e[0].thumbnail_medium,s.video.views=e[0].stats_number_of_plays,s.video.likes=e[0].stats_number_of_likes,s.video.uploader=e[0].user_name,s.video.uploaderPage=e[0].user_url,s.video.uploadDate=e[0].uploadDate,s.video.url=e[0].url,s.video.embedSrc=C.trustAsResourceUrl("//player.vimeo.com/video/"+e[0].id+"?title=0&byline=0&portrait=0"+t),s.video.width=n.width,s.video.height=n.height}):(s.video.width=n.width,s.video.height=n.height,s.video.host="vimeo",s.video.embedSrc=C.trustAsResourceUrl("//player.vimeo.com/video/"+RegExp.$3+"?title=0&byline=0&portrait=0&autoplay=0"))}return e},embedBasic:function(e){return e.match(/((?:https?):\/\/\S*\.(?:ogv|webm|mp4))/gi)&&(s.video.basic=C.trustAsResourceUrl(RegExp.$1)),e},twitchtvEmbed:function(e,t){var n=/www.twitch.tv\/[a-zA_Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<object bgcolor="#000000" data="//www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" height="'+i.height+'" id="clip_embed_player_flash" type="application/x-shockwave-flash" width="'+i.width+'"><param name="movie" value="http://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="allowFullScreen" value="true" /><param name="flashvars" value="channel='+r[a].split("/")[1]+'&auto_play=false" /></object>');s.videoServices.push(o),a++}return e},dailymotionEmbed:function(e,t){var n=/dailymotion.com\/video\/[a-zA-Z0-9-_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="http://www.dailymotion.com/embed/video/'+r[a].split("/")[2]+'" height="'+i.height+'" width="'+i.width+'"></iframe>');s.videoServices.push(o),a++}return e},tedEmbed:function(e,t){var n=/ted.com\/talks\/[a-zA-Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="https://embed.ted.com/talks/'+r[a].split("/")[2]+'.html" height="'+i.height+'" width="'+i.width+'"></iframe>');s.videoServices.push(o),a++}return e},dotsubEmbed:function(e,t){var n=/dotsub.com\/view\/[a-zA-Z0-9-]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="https://dotsub.com/media/'+r[a].split("/")[2]+'/embed/" width="'+i.width+'" height="'+i.height+'"></iframe>');s.videoServices.push(o),a++}return e},liveleakEmbed:function(e,t){var n=/liveleak.com\/view\?i=[a-zA-Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="http://www.liveleak.com/e/'+r[a].split("=")[1]+'" height="'+i.height+'" width="'+i.width+'"></iframe></div>');s.videoServices.push(o),a++}return e}},a=function(e){return e.match(/((?:https?):\/\/\S*\.(?:wav|mp3|ogg))/gi)&&(s.audio.url=C.trustAsResourceUrl(RegExp.$1)),e},o=function(e,t){var n=/soundcloud.com\/[a-zA-Z0-9-_]+\/[a-zA-Z0-9-_]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe height="160" scrolling="no" src="https://w.soundcloud.com/player/?url=https://'+r[i]+"&auto_play="+t.soundCloudOptions.autoPlay+"&hide_related="+t.soundCloudOptions.hideRelated+"&show_comments="+t.soundCloudOptions.showComments+"&show_user="+t.soundCloudOptions.showUser+"&show_reposts="+t.soundCloudOptions.showReposts+"&visual="+t.soundCloudOptions.visual+"&download="+t.soundCloudOptions.download+"&color="+t.soundCloudOptions.themeColor+"&theme_color="+t.soundCloudOptions.themeColor+'"></iframe>');s.videoServices.push(a),i++}return e},l=function(e){var t=/spotify.com\/track\/[a-zA-Z0-9_]+/gi,n=e.match(t)?e.match(t).getUnique():null;if(n)for(var r=0;r<n.length;){var i=C.trustAsHtml('<iframe src="https://embed.spotify.com/?uri=spotify:track:'+n[r].split("/")[2]+'" height="80"></iframe>');s.audioServices.push(i),r++}return e},u=function(e){return e.match(/((?:https?):\/\/\S*\.(?:gif|jpg|jpeg|tiff|png|svg|webp))/gi)&&(s.image.url=RegExp.$1),e},f=function(e){return e=e.replace(/(`+)(\s|[a-z]+)\s*([\s\S]*?[^`])\s*\1(?!`)/gm,function(e,t,n,r){var i=r;i=(i=(i=i.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,"")).replace(/:\/\//g,"~P");var a=[];return n&&a.push(n),'<pre><code class="ne-code hljs '+n+'">'+hljs.highlightAuto(i,a).value+"</code></pre>"})},d=function(e){return e.match(/((?:https?):\/\/\S*\.(?:pdf|PDF))/gi)&&(s.pdf.url=C.trustAsResourceUrl(RegExp.$1)),e},h=function(e,t){if(!window.twttr)throw new ReferenceError("twttr is not defined. Load http://platform.twitter.com/widgets.js");var n=/https:\/\/twitter\.com\/\w+\/\w+\/\d+/gi,r=e.match(n)?e.match(n).getUnique():null;if(s.tweets=[],r)for(var i=0;i<r.length;){var a="https://api.twitter.com/1/statuses/oembed.json?omit_script=true&callback=JSON_CALLBACK&url="+r[i]+"&maxwidth="+t.tweetOptions.maxWidth+"&hide_media="+t.tweetOptions.hideMedia+"&hide_thread="+t.tweetOptions.hideThread+"&align="+t.tweetOptions.align+"&lang="+t.tweetOptions.lang;A.jsonp(a).success(function(e){s.tweets.push(e.html),s.tweets.length==r.length&&S(function(){twttr.widgets.load()},10)}),i++}return e},p=function(e,t){var n=/http:\/\/codepen.io\/([A-Za-z0-9_]+)\/pen\/([A-Za-z0-9_]+)/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe scrolling="no" height="'+t.codepenHeight+'" src="'+r[i].replace(/\/pen\//,"/embed/")+"/?height="+t.codepenHeight+'" frameborder="no" allowtransparency="true" allowfullscreen="true"></iframe>');s.codeServices.push(a),i++}return e},m=function(e,t){var n=/jsfiddle.net\/[a-zA-Z0-9_]+\/[a-zA-Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe height="'+t.jsfiddleHeight+'" src="http://'+r[i]+'/embedded"></iframe>');s.codeServices.push(a),i++}return e},g=function(e,t){var n=/jsbin.com\/[a-zA-Z0-9_]+\/[0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe height="'+t.jsbinHeight+'" class="jsbin-embed foo" src="http://'+r[i]+'/embed?html,js,output">Simple Animation Tests</iframe>');s.codeServices.push(a),i++}return e},_=function(e,t){var n=/plnkr.co\/edit\/[a-zA-Z0-9\?=]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=-1===r[i].indexOf("?")?r[i].split("/")[2]:r[i].split("/")[2].split("?")[0],o=C.trustAsHtml('<iframe class="ne-plunker" src="http://embed.plnkr.co/'+a+'" height="'+t.jsbinHeight+'"></iframe>');s.codeServices.push(o),i++}return e},b=function(e){var t=/gist.github.com\/[a-zA-Z0-9_-]+\/([a-zA-Z0-9]+)/g,n=e.match(t)?e.match(t).getUnique():null;if(n)for(var r=0;r<n.length;)s.gist.push(n[r].split("/")[2]),r++;return e},v=function(e,t){var n=/ideone.com\/[a-zA-Z0-9]{6}/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe src="http://ideone.com/embed/'+r[i].split("/")[1]+'" height="'+t.ideoneHeight+'"></iframe>');s.codeServices.push(a),i++}return e};if(i.code.highlight){if(!window.hljs)throw new ReferenceError("hlsj (Highlight JS is not defined.");n=f(n),S(function(){i.code.lineNumbers&&angular.element(".ne-code").each(function(){var e=1,t=$(this).text().split("\n").length,n=$("<ul/>").addClass("pre-numbering");for(angular.element(this).addClass("has-numbering").parent().append(n);e<=t;e++)n.append(angular.element("<li/>").text(e))})},0)}var y=w("embed")(n,i).$$unwrapTrustedValue();if(i.video.embed){if(!i.gdevAuth)throw"Youtube authentication key is required to get data from youtube.";y=c.embed(y,i)}y=i.basicVideo?c.embedBasic(y):y,y=i.audio.embed?a(y):y,y=i.image.embed?u(y):y,y=i.pdf.embed?d(y):y,y=i.tweetEmbed?h(y,i):y,y=i.twitchtvEmbed?c.twitchtvEmbed(y,i):y,y=i.dailymotionEmbed?c.dailymotionEmbed(y,i):y,y=i.tedEmbed?c.tedEmbed(y,i):y,y=i.dotsubEmbed?c.dotsubEmbed(y,i):y,y=i.liveleakEmbed?c.liveleakEmbed(y,i):y,y=i.soundCloudEmbed?o(y,i):y,y=i.spotifyEmbed?l(y):y,y=i.codepenEmbed?p(y,i):y,y=i.jsfiddleEmbed?m(y,i):y,y=i.jsbinEmbed?g(y,i):y,y=i.plunkerEmbed?_(y,i):y,y=i.githubgistEmbed?b(y,i):y,y=i.ideoneEmbed?v(y,i):y,s.neText=C.trustAsHtml(y)}}}]).directive("neGist",function(){return{restrict:"EA",replace:!0,template:"<div></div>",link:function(e,t,n){var r=n.id,i=document.createElement("iframe");i.setAttribute("width","100%"),i.setAttribute("frameborder","0"),i.id="gist-"+r,t[0].appendChild(i);var a='<html><head><base target="_parent"><style>table{font-size:12px;}</style></head><body onload="parent.document.getElementById(\''+i.id+'\').style.height=document.body.scrollHeight + \'px\'" style="margin:10px 0;"><script type="text/javascript">!function(){"use strict";window.retargetLinks=function(){ var gists=document.getElementsByClassName("gist");for(var i=0,links;i<gists.length;i++){links=gists[i].getElementsByTagName("a");for(var j=0;j<links.length;j++){ links[j].setAttribute("target","_blank");}}}}();<\/script><script type="text/javascript" src="https://gist.github.com/'+r+'.js" onload="retargetLinks()"><\/script></body></html>',o=i.document;i.contentDocument?o=i.contentDocument:i.contentWindow&&(o=i.contentWindow.document),o.open(),o.writeln(a),o.close()}}})}(),function(){"use strict";angular.module("material.components.expansionPanels",["material.core"])}(),function(){"use strict";angular.module("material.components.expansionPanels").run(["$templateCache",function(e){e.put("icons/ic_keyboard_arrow_right_black_24px.svg",'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/>\n <path d="M0-.25h24v24H0z" fill="none"/>\n</svg>')}])}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanel",function(){return{restrict:"E",require:["mdExpansionPanel","?^^mdExpansionPanelGroup"],scope:!0,compile:function(e,t){var n="Invalid HTML for md-expansion-panel: ";if(e.attr("tabindex",t.tabindex||"0"),null===e[0].querySelector("md-expansion-panel-collapsed"))throw Error(n+"Expected a child element of `md-epxansion-panel-collapsed`");if(null!==e[0].querySelector("md-expansion-panel-expanded"))return function(e,t,n,r){var i=r[0],a=r[1];i.epxansionPanelGroupCtrl=a||void 0,i.init()};throw Error(n+"Expected a child element of `md-epxansion-panel-expanded`")},controller:["$scope","$element","$attrs","$window","$$rAF","$mdConstant","$mdUtil","$mdComponentRegistry","$timeout","$q","$animate","$parse",function(n,r,e,i,t,a,o,s,c,l,u,f){var d,h,p,m,g,_,b,v,y,w,C,A=this,S=!1,T=!1,x=!1,k=!1,E=t.throttle(function(e){var t,n,r;r=!0===h.setHeight?h.$element[0].getBoundingClientRect():_.getBoundingClientRect();var i=w?w.getBoundingClientRect().top:0;t=Math.max(r.top,0),n=t+r.height,m&&!1===m.noSticky&&m.onScroll(t,n,i);p&&!1===p.noSticky&&p.onScroll(t,n,i)}),D=t.throttle(function(){var e=r[0].offsetWidth;m&&!1===m.noSticky&&m.onResize(e);p&&!1===p.noSticky&&p.onResize(e)});A.registerCollapsed=function(e){d=e},A.registerExpanded=function(e){h=e},A.registerHeader=function(e){p=e},A.registerFooter=function(e){m=e},void 0===e.mdComponentId?(e.$set("mdComponentId","_expansion_panel_id_"+o.nextUid()),P()):e.$observe("mdComponentId",function(){P()});A.$element=r,A.expand=$,A.collapse=O,A.remove=R,A.destroy=F,A.onRemove=N,A.init=function(){(S=!0)===T&&P()},void 0!==e.ngDisabled?n.$watch(e.ngDisabled,function(e){k=e,r.attr("tabindex",k?-1:0)}):void 0!==e.disabled&&(k=void 0!==e.disabled&&"false"!==e.disabled&&!1!==e.disabled,r.attr("tabindex",k?-1:0));function I(e){var t=a.KEY_CODE;switch(e.keyCode){case t.ENTER:$();break;case t.ESCAPE:O()}}function P(){!1!==S?("function"==typeof g&&(g(),g=void 0),A.componentId&&A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.removePanel(A.componentId),void 0===e.mdComponentId&&e.$set("mdComponentId","_expansion_panel_id_"+o.nextUid()),A.componentId=e.mdComponentId,g=s.register({expand:$,collapse:O,remove:R,onRemove:N,isOpen:M,addClickCatcher:B,removeClickCatcher:U,componentId:e.mdComponentId},e.mdComponentId),A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.addPanel(A.componentId,{expand:$,collapse:O,remove:R,onRemove:N,destroy:F,isOpen:M})):T=!0}function M(){return x}function $(e){if(!0!==x&&!0!==k){x=!0,e=e||{};var t=l.defer();return A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.expandPanel(A.componentId),r.removeClass("md-close"),r.addClass("md-open"),!1===e.animation?r.addClass("md-no-animation"):r.removeClass("md-no-animation"),function(){if(!(m&&!0!==m.noSticky||p&&!0!==p.noSticky))return;b=n.$watch(function(){return r[0].offsetTop},E,!0),v=n.$watch(function(){return r[0].offsetWidth},D,!0),"MD-CONTENT"===(_=o.getNearestContentElement(r)).nodeName?(w=function(e){var t=e.parentNode;for(;t&&t!==document;){if(j(t,"transform"))return t;t=t.parentNode}return}(_),angular.element(_).on("scroll",E)):w=void 0;!0===h.setHeight&&h.$element.on("scroll",E);angular.element(i).on("scroll",E).on("resize",E).on("resize",D)}(),d.hide(e),h.show(e),p&&p.show(e),m&&m.show(e),c(function(){t.resolve()},!1===e.animation?0:H),t.promise}}function O(e){if(!1!==x){x=!1,e=e||{};var t=l.defer();return r.addClass("md-close"),r.removeClass("md-open"),!1===e.animation?r.addClass("md-no-animation"):r.removeClass("md-no-animation"),G(),d.show(e),h.hide(e),p&&p.hide(e),m&&m.hide(e),c(function(){t.resolve()},!1===e.animation?0:H),t.promise}}function R(e){e=e||{};var t=l.defer();return A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.removePanel(A.componentId),"function"==typeof g&&(g(),g=void 0),!1===e.animation||!1===x?(n.$destroy(),r.remove(),t.resolve(),L()):(O(),c(function(){n.$destroy(),r.remove(),t.resolve(),L()},H)),t.promise}function N(e){y=e}function L(){"function"==typeof y&&(y(),y=void 0)}function F(){n.$destroy()}function G(){"function"==typeof b&&(b(),b=void 0),"function"==typeof v&&(v(),v=void 0),_&&"MD-CONTENT"===_.nodeName&&angular.element(_).off("scroll",E),!0===h.setHeight&&h.$element.off("scroll",E),angular.element(i).off("scroll",E).off("resize",E).off("resize",D)}function j(e,t){var n=!1;if(e){var r=i.getComputedStyle(e);n=void 0!==r[t]&&"none"!==r[t]}return n}function B(e){(C=o.createBackdrop(n))[0].tabIndex=-1,"function"==typeof e&&C.on("click",e),u.enter(C,r.parent(),null,{duration:0}),r.css("z-index",60)}function U(){C&&(C.remove(),C.off("click"),C=void 0,r.css("z-index",""))}r.on("focus",function(e){r.on("keydown",I)}).on("blur",function(e){r.off("keydown",I)}),n.$panel={collapse:O,expand:$,remove:R,isOpen:M},n.$on("$destroy",function(){U(),"function"==typeof g&&(g(),g=void 0),G()})}]}});var H=180}(),function(){"use strict";function e(n,r,i){var t={find:a,waitFor:function(e){return n.when(e).catch(i.error)}};return function(e){return void 0===e?t:a(e)};function a(e){var t=n.get(e);if(t)return t;i.error(r.supplant("ExpansionPanel '{0}' is not available! Did you use md-component-id='{0}'?",[e||""]))}}angular.module("material.components.expansionPanels").factory("$mdExpansionPanel",e),e.$inject=["$mdComponentRegistry","$mdUtil","$log"]}(),function(){"use strict";function e(i,a){return{restrict:"E",require:"^^mdExpansionPanel",link:function(e,n,t,r){r.registerCollapsed({show:function(e){n.css("display",""),n.css("width",n[0].parentNode.offsetWidth+"px");var t={addClass:"md-show",from:{opacity:0},to:{opacity:1}};!1===e.animation&&(t.duration=0);i(n,t).start().then(function(){r.$element.css("transition","none"),n.removeClass("md-absolute md-show"),n.css("width",""),r.$element.css("min-height",""),a(function(){r.$element.css("transition","")},0)})},hide:function(e){n.css("width",n[0].offsetWidth+"px"),r.$element.css("min-height",n[0].offsetHeight+"px");var t={addClass:"md-absolute md-hide",from:{opacity:1},to:{opacity:0}};!1===e.animation&&(t.duration=0);i(n,t).start().then(function(){n.removeClass("md-hide"),n.css("display","none")})}}),n.on("click",function(){r.expand()})}}}angular.module("material.components.expansionPanels").directive("mdExpansionPanelCollapsed",e),e.$inject=["$animateCss","$timeout"]}(),function(){"use strict";function e(a,o){return{restrict:"E",require:"^^mdExpansionPanel",link:function(e,r,t,n){var i=t.height||void 0;void 0!==i&&(i=i.replace("px","")+"px");n.registerExpanded({show:function(e){r.css("display",""),r.addClass("md-show md-overflow");var t={from:{"max-height":"48px",opacity:0},to:{"max-height":i||r[0].scrollHeight+"px",opacity:1}};!1===e.animation&&(t.duration=0);a(r,t).start().then(function(){void 0!==i?r.addClass("md-scroll-y"):(r.css("transition","none"),r.css("max-height","none"),o(function(){r.css("transition","")},0)),r.removeClass("md-overflow")})},hide:function(e){var t=i||r[0].scrollHeight+"px";r.addClass("md-hide md-overflow"),r.removeClass("md-show md-scroll-y");var n={from:{"max-height":t,opacity:1},to:{"max-height":"48px",opacity:0}};!1===e.animation&&(n.duration=0);a(r,n).start().then(function(){r.css("display","none"),r.removeClass("md-hide")})},setHeight:void 0!==i,$element:r})}}}angular.module("material.components.expansionPanels").directive("mdExpansionPanelExpanded",e),e.$inject=["$animateCss","$timeout"]}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanelFooter",function(){return{restrict:"E",transclude:!0,template:'<div class="md-expansion-panel-footer-container" ng-transclude></div>',require:"^^mdExpansionPanel",link:function(e,a,t,o){var s=!1,n=void 0!==t.mdNoSticky,c=angular.element(a[0].querySelector(".md-expansion-panel-footer-container"));function l(){s=!1,c.css("width",""),c.css("top",""),a.css("height",""),a.removeClass("md-stick")}o.registerFooter({show:function(){},hide:function(){l()},onScroll:function(e,t,n){var r,i;a[0].getBoundingClientRect().bottom>t?(r=c[0].offsetHeight,(i=t-r-n)<a[0].parentNode.getBoundingClientRect().top&&(i=a[0].parentNode.getBoundingClientRect().top),c.css("width",o.$element[0].offsetWidth+"px"),a.css("height",r+"px"),c.css("top",i+"px"),a.addClass("md-stick"),s=!0):!0===s&&l()},onResize:function(e){if(!1===s)return;c.css("width",e+"px")},noSticky:n})}}})}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanelGroup",function(){return{restrict:"E",controller:["$scope","$attrs","$element","$mdComponentRegistry",function(e,t,n,r){var i,a={},o={},s=[],c=void 0!==t.mdMultiple||void 0!==t.multiple,l=void 0!==t.mdAutoExpand||void 0!==t.autoExpand;function u(){var t=f();s.forEach(function(e){e(t)})}function f(){return Object.keys(o).length}function d(t){!1===c&&Object.keys(o).forEach(function(e){e!==t&&o[e].collapse()})}i=r.register({$element:n,register:function(e,t){if(void 0!==a[e])throw Error('$mdExpansionPanelGroup.register() The name "'+e+'" has already been registered');a[e]=t},getRegistered:function(e){if(void 0!==a[e])return a[e];throw Error('$mdExpansionPanelGroup.addPanel() Cannot find Panel with name of "'+e+'"')},getAll:function(){return Object.keys(o).map(function(e){return o[e]})},getOpen:function(){return Object.keys(o).map(function(e){return o[e]}).filter(function(e){return e.isOpen()})},remove:function(e,t){return o[e].remove(t)},removeAll:function(t){Object.keys(o).forEach(function(e){o[e].remove(t)})},collapseAll:function(e){var t=!0!==e;Object.keys(o).forEach(function(e){o[e].collapse({animation:t})})},onChange:function(e){return s.push(e),function(){s.splice(s.indexOf(e),1)}},count:f},t.mdComponentId),this.addPanel=function(e,t){o[e]=t,!0===l&&(t.expand(),d(e));u()},this.expandPanel=function(e){d(e)},this.removePanel=function(e){delete o[e],u()},e.$on("$destroy",function(){"function"==typeof i&&(i(),i=void 0),Object.keys(o).forEach(function(e){o[e].destroy()})})}]}})}(),function(){"use strict";function e(n,d,h,r,i,p,m,a,o){var t={find:s,waitFor:function(e){var t=a.defer();return n.when(e).then(function(e){t.resolve(c(e))}).catch(function(e){t.reject(),o.error(e)}),t.promise}};return function(e){return void 0===e?t:s(e)};function s(e){var t=n.get(e);if(t)return c(t);o.error(d.supplant("ExpansionPanelGroup '{0}' is not available! Did you use md-component-id='{0}'?",[e||""]))}function c(f){return{add:function e(s,c){c=c||{};if("string"==typeof s)return e(f.getRegistered(s),c);n(s);if(s.componentId&&f.isPanelActive(s.componentId))return a.reject('panel with componentId "'+s.componentId+'" is currently active');var l=a.defer();var u=i.$new();angular.extend(u,s.scope);t(s,function(e){var t=angular.element(e),n=s.componentId||t.attr("md-component-id")||"_panelComponentId_"+d.nextUid(),r=h().waitFor(n);t.attr("md-component-id",n);var i=p(t);if(s.controller){angular.extend(c,s.locals||{}),c.$scope=u,c.$panel=r;var a=m(s.controller,c,!0),o=a();t.data("$ngControllerController",o),t.children().data("$ngControllerController",o),s.controllerAs&&(u[s.controllerAs]=o)}f.$element.append(t),i(u),r.then(function(e){l.resolve(e)})});return l.promise},register:function(e,t){if("string"!=typeof e)throw Error("$mdExpansionPanelGroup.register() Expects name to be a string");n(t),f.register(e,t)},getAll:function(){return f.getAll()},getOpen:function(){return f.getOpen()},remove:function(e,t){return f.remove(e,t)},removeAll:function(e){f.removeAll(e)},collapseAll:function(e){f.collapseAll(e)},onChange:function(e){return f.onChange(e)},count:function(){return f.count()}};function n(e){if("object"!=typeof e||null===e)throw Error("$mdExapnsionPanelGroup.add()/.register() : Requires an options object to be passed in");if(!e.template&&!e.templateUrl)throw Error("$mdExapnsionPanelGroup.add()/.register() : Is missing required paramters to create. Required One of the following: template, templateUrl")}function t(e,t){void 0!==e.templateUrl?r(e.templateUrl).then(function(e){t(e)}):t(e.template)}}}angular.module("material.components.expansionPanels").factory("$mdExpansionPanelGroup",e),e.$inject=["$mdComponentRegistry","$mdUtil","$mdExpansionPanel","$templateRequest","$rootScope","$compile","$controller","$q","$log"]}(),function(){"use strict";function e(){return{restrict:"E",transclude:!0,template:'<div class="md-expansion-panel-header-container" ng-transclude></div>',require:"^^mdExpansionPanel",link:function(e,o,t,n){var s=!1,r=void 0!==t.mdNoSticky,c=angular.element(o[0].querySelector(".md-expansion-panel-header-container"));function l(){s=!1,c.css("width",""),o.css("height",""),o.css("top",""),o.removeClass("md-stick"),o.addClass("md-no-stick")}n.registerHeader({show:function(){},hide:function(){l()},noSticky:r,onScroll:function(e,t,n){var r,i,a=o[0].getBoundingClientRect();a.top<e?(r=e-n,(i=o[0].parentNode.getBoundingClientRect().bottom-e-a.height)<0&&(r+=i),c.css("width",o[0].offsetWidth+"px"),c.css("top",r+"px"),o.css("height",c[0].offsetHeight+"px"),o.removeClass("md-no-stick"),o.addClass("md-stick"),s=!0):!0===s&&l()},onResize:function(e){if(!1===s)return;c.css("width",e+"px")}})}}}angular.module("material.components.expansionPanels").directive("mdExpansionPanelHeader",e),e.$inject=[]}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanelIcon",function(){return{restrict:"E",template:'<md-icon class="md-expansion-panel-icon" md-svg-icon="icons/ic_keyboard_arrow_right_black_24px.svg"></md-icon>',replace:!0}})}(),function(e,C){"use strict";var t=C.module("angular-sortable-view",[]);function _(e){if(!("clientX"in e||"clientY"in e)){var t=e.touches||e.originalEvent.touches;t&&t.length&&(e.clientX=t[0].clientX,e.clientY=t[0].clientY),e.preventDefault()}}t.directive("svRoot",[function(){function y(e){return r[e]}var w,r=Object.create(null);return{restrict:"A",controller:["$scope","$attrs","$interpolate","$parse",function(f,e,t,n){var d=t(e.svRoot)(f)||f.$id;r[d]||(r[d]=[]);var h,p,m,g,_,b=!1,c=n(e.svOnSort);e.svOnStart=e.$$element[0].attributes["sv-on-start"],e.svOnStart=e.svOnStart&&e.svOnStart.value,e.svOnStop=e.$$element[0].attributes["sv-on-stop"],e.svOnStop=e.svOnStop&&e.svOnStop.value;var v=n(e.svOnStart),l=n(e.svOnStop);if(this.sortingInProgress=function(){return w},e.svGrid){if(null===(b="true"===e.svGrid||"false"!==e.svGrid&&null))throw"Invalid value of sv-grid attribute"}else f.$watchCollection(function(){return y(d)},function(e){b=!1;var t=e.filter(function(e){return!e.container}).map(function(e){return{part:e.getPart().id,y:e.element[0].getBoundingClientRect().top}}),r=Object.create(null);t.forEach(function(e){r[e.part]?r[e.part].push(e.y):r[e.part]=[e.y]}),Object.keys(r).forEach(function(n){r[n].sort(),r[n].forEach(function(e,t){t<r[n].length-1&&0<e&&e===r[n][t+1]&&(b=!0)})})});this.$moveUpdate=function(s,c,e,t,n,r,i){var a=e[0].getBoundingClientRect();"element"===s.tolerance&&(c={x:~~(a.left+a.width/2),y:~~(a.top+a.height/2)}),w=!0,h=[],p||(n?(p=n.clone()).removeClass("ng-hide"):((p=t.clone()).addClass("sv-visibility-hidden"),p.addClass("sv-placeholder"),p.css({height:a.height+"px",width:a.width+"px"})),t.after(p),t.addClass("ng-hide"),g=t,s,v(f,{$helper:{element:m=e},$part:r.model(r.scope),$index:i,$item:r.model(r.scope)[i]}),f.$root&&f.$root.$$phase||f.$apply()),m[0].reposition({x:c.x+document.body.scrollLeft-c.offset.x*a.width,y:c.y+document.body.scrollTop-c.offset.y*a.height}),y(d).forEach(function(e,t){if(null==s.containment||A(e.element,s.containment)||A(e.element,s.containment+" *")){var n,r,i,a=e.element[0].getBoundingClientRect(),o={x:~~(a.left+a.width/2),y:~~(a.top+a.height/2)};e.container||!e.element[0].scrollHeight&&!e.element[0].scrollWidth||h.push({element:e.element,q:(o.x-c.x)*(o.x-c.x)+(o.y-c.y)*(o.y-c.y),view:e.getPart(),targetIndex:e.getIndex(),after:(n=o,r=c,i=b,i?n.x-r.x<0:n.y-r.y<0)}),e.container&&!e.element[0].querySelector("[sv-element]:not(.sv-placeholder):not(.sv-source)")&&h.push({element:e.element,q:(o.x-c.x)*(o.x-c.x)+(o.y-c.y)*(o.y-c.y),view:e.getPart(),targetIndex:0,container:!0})}});var o=p[0].getBoundingClientRect(),l=~~(o.left+o.width/2),u=~~(o.top+o.height/2);h.push({q:(l-c.x)*(l-c.x)+(u-c.y)*(u-c.y),element:p,placeholder:!0}),h.sort(function(e,t){return e.q-t.q}),h.forEach(function(e,t){var n,r,i;0!==t||e.placeholder||e.container?0===t&&e.container?(_=e).element.append(p):e.element.removeClass("sv-candidate"):((_=e).element.addClass("sv-candidate"),e.after?e.element.after(p):(n=e.element,r=p,0<(i=function(e){{if((e=e[0]).previousElementSibling)return C.element(e.previousElementSibling);for(var t=e.previousSibling;null!=t&&1!=t.nodeType;)t=t.previousSibling;return C.element(t)}}(n)).length?i.after(r):n.parent().prepend(r)))})},this.$drop=function(n,r,i){if(p)if(i.revert){var e=p[0].getBoundingClientRect(),t=m[0].getBoundingClientRect(),a=Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2)),o=+i.revert*a/200;o=Math.min(o,+i.revert),["-webkit-","-moz-","-ms-","-o-",""].forEach(function(e){void 0!==m[0].style[e+"transition"]&&(m[0].style[e+"transition"]="all "+o+"ms ease")}),setTimeout(s,o),m.css({top:e.top+document.body.scrollTop+"px",left:e.left+document.body.scrollLeft+"px"})}else s();function s(){if(w=!1,p.remove(),m.remove(),g.removeClass("ng-hide"),g=m=i=p=h=void 0,l(f,{$part:n.model(n.scope),$index:r,$item:n.model(n.scope)[r]}),_){_.element.removeClass("sv-candidate");var e=n.model(n.scope).splice(r,1),t=_.targetIndex;_.view===n&&_.targetIndex>r&&t--,_.after&&t++,_.view.model(_.view.scope).splice(t,0,e[0]),_.view===n&&r===t||c(f,{$partTo:_.view.model(_.view.scope),$partFrom:n.model(n.scope),$item:e[0],$indexTo:t,$indexFrom:r})}_=void 0,f.$root&&f.$root.$$phase||f.$apply()}},this.addToSortableElements=function(e){y(d).push(e)},this.removeFromSortableElements=function(e){var t=y(d),n=t.indexOf(e);-1<n&&(t.splice(n,1),0===t.length&&delete r[d])}}]}}]),t.directive("svPart",["$parse",function(o){return{restrict:"A",require:"^svRoot",controller:["$scope",function(n){(n.$ctrl=this).getPart=function(){return n.part},this.$drop=function(e,t){n.$sortableRoot.$drop(n.part,e,t)}}],scope:!0,link:function(e,t,n,r){if(!n.svPart)throw new Error("no model provided");var i=o(n.svPart);if(!i.assign)throw new Error("model not assignable");e.part={id:e.$id,element:t,model:i,scope:e},e.$sortableRoot=r;var a={element:t,getPart:e.$ctrl.getPart,container:!0};r.addToSortableElements(a),e.$on("$destroy",function(){r.removeFromSortableElements(a)})}}}]),t.directive("svElement",["$parse",function(g){return{restrict:"A",require:["^svPart","^svRoot"],controller:["$scope",function(e){e.$ctrl=this}],link:function(c,l,u,f){var e={element:l,getPart:f[0].getPart,getIndex:function(){return c.$index}};f[1].addToSortableElements(e),c.$on("$destroy",function(){f[1].removeFromSortableElements(e)});var d,h,t=l;t.on("mousedown touchstart",n),c.$watch("$ctrl.handle",function(e){e&&(t.off("mousedown touchstart",n),(t=e).on("mousedown touchstart",n))}),c.$watch("$ctrl.helper",function(e){e&&(d=e)}),c.$watch("$ctrl.placeholder",function(e){e&&(h=e)});C.element(document.body);var p,m=C.element(document.documentElement);function n(e){if(_(e),!f[1].sortingInProgress()&&(0==e.button||"mousedown"!==e.type)){p=!1;var n=g(u.svElement)(c);if((n=C.extend({},{tolerance:"pointer",revert:200,containment:"html"},n)).containment)var a=b.call(l,n.containment)[0].getBoundingClientRect();var o,t=l,r=l[0].getBoundingClientRect();d||(d=f[0].helper),h||(h=f[0].placeholder),d?((o=d.clone()).removeClass("ng-hide"),o.css({left:r.left+document.body.scrollLeft+"px",top:r.top+document.body.scrollTop+"px"}),t.addClass("sv-visibility-hidden")):(o=t.clone()).addClass("sv-helper").css({left:r.left+document.body.scrollLeft+"px",top:r.top+document.body.scrollTop+"px",width:r.width+"px"}),o[0].reposition=function(e){var t=e.x,n=e.y,r=o[0].getBoundingClientRect(),i=document.body;a&&(n<a.top+i.scrollTop&&(n=a.top+i.scrollTop),n+r.height>a.top+i.scrollTop+a.height&&(n=a.top+i.scrollTop+a.height-r.height),t<a.left+i.scrollLeft&&(t=a.left+i.scrollLeft),t+r.width>a.left+i.scrollLeft+a.width&&(t=a.left+i.scrollLeft+a.width-r.width)),this.style.left=t-i.scrollLeft+"px",this.style.top=n-i.scrollTop+"px"};var i={x:(e.clientX-r.left)/r.width,y:(e.clientY-r.top)/r.height};m.addClass("sv-sorting-in-progress"),m.on("mousemove touchmove",s).on("mouseup touchend touchcancel",function e(t){m.off("mousemove touchmove",s),m.off("mouseup touchend touchcancel",e),m.removeClass("sv-sorting-in-progress"),p&&f[0].$drop(c.$index,n),l.removeClass("sv-visibility-hidden")})}function s(e){_(e),p||(l.parent().prepend(o),p=!0),f[1].$moveUpdate(n,{x:e.clientX,y:e.clientY,offset:i},o,l,h,f[0].getPart(),c.$index)}}}}}]),t.directive("svHandle",function(){return{require:"?^svElement",link:function(e,t,n,r){r&&(r.handle=t.add(r.handle))}}}),t.directive("svHelper",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,n,r){t.addClass("sv-helper").addClass("ng-hide"),r[1]?r[1].helper=t:r[0]&&(r[0].helper=t)}}}),t.directive("svPlaceholder",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,n,r){t.addClass("sv-placeholder").addClass("ng-hide"),r[1]?r[1].placeholder=t:r[0]&&(r[0].placeholder=t)}}}),C.element(document.head).append(["<style>.sv-helper{position: fixed !important;z-index: 99999;margin: 0 !important;}.sv-candidate{}.sv-placeholder{}.sv-sorting-in-progress{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.sv-visibility-hidden{visibility: hidden !important;opacity: 0 !important;}</style>"].join(""));var n=document.documentElement,r=n.matches?"matches":n.matchesSelector?"matchesSelector":n.webkitMatches?"webkitMatches":n.webkitMatchesSelector?"webkitMatchesSelector":n.msMatches?"msMatches":n.msMatchesSelector?"msMatchesSelector":n.mozMatches?"mozMatches":n.mozMatchesSelector?"mozMatchesSelector":null;if(null==r)throw"This browser doesn't support the HTMLElement.matches method";function A(e,t){if(e instanceof C.element&&(e=e[0]),null!==r)return e[r](t)}var b=C.element.prototype.closest||function(e){for(var t=this[0].parentNode;t!==document.documentElement&&!t[r](e);)t=t.parentNode;return t[r](e)?C.element(t):C.element()};"function"!=typeof C.element.prototype.add&&(C.element.prototype.add=function(e){var t,n=C.element();for(e=C.element(e),t=0;t<this.length;t++)n.push(this[t]);for(t=0;t<e.length;t++)n.push(e[t]);return n})}(window,window.angular),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).tinycolor=t()}(this,function(){"use strict";var f=/^\s+/,d=/\s+$/,o=Math.round,h=Math.min,p=Math.max,e=Math.random;function u(e,t){if(t=t||{},(e=e||"")instanceof u)return e;if(!(this instanceof u))return new u(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(f,"").replace(d,"").toLowerCase();var t,n=!1;if(S[e])e=S[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=L.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=L.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=L.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=L.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=L.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=L.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=L.hex8.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),a:$(t[4]),format:n?"name":"hex8"};if(t=L.hex6.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),format:n?"name":"hex"};if(t=L.hex4.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),a:$(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=L.hex3.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(F(e.r)&&F(e.g)&&F(e.b)?(c=e.r,l=e.g,u=e.b,t={r:255*k(c,255),g:255*k(l,255),b:255*k(u,255)},o=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):F(e.h)&&F(e.s)&&F(e.v)?(r=P(e.s),i=P(e.v),t=function(e,t,n){e=6*k(e,360),t=k(t,100),n=k(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6;return{r:255*[n,o,a,a,s,n][c],g:255*[s,n,n,o,a,a][c],b:255*[a,a,s,n,n,o][c]}}(e.h,r,i),o=!0,s="hsv"):F(e.h)&&F(e.s)&&F(e.l)&&(r=P(e.s),a=P(e.l),t=function(e,t,n){var r,i,a;function o(e,t,n){return n<0&&(n+=1),1<n&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=k(e,360),t=k(t,100),n=k(n,100),0===t)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=o(c,s,e+1/3),i=o(c,s,e),a=o(c,s,e-1/3)}return{r:255*r,g:255*i,b:255*a}}(e.h,r,a),o=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));var c,l,u;return n=x(n),{ok:o,format:e.format||s,r:h(255,p(t.r,0)),g:h(255,p(t.g,0)),b:h(255,p(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=o(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=n.ok}function i(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,i,a=p(e,t,n),o=h(e,t,n),s=(a+o)/2;if(a==o)r=i=0;else{var c=a-o;switch(i=.5<s?c/(2-a-o):c/(a+o),a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,l:s}}function a(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,i,a=p(e,t,n),o=h(e,t,n),s=a,c=a-o;if(i=0===a?0:c/a,a==o)r=0;else{switch(a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,v:s}}function t(e,t,n,r){var i=[I(o(e).toString(16)),I(o(t).toString(16)),I(o(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function s(e,t,n,r){return[I(M(r)),I(o(e).toString(16)),I(o(t).toString(16)),I(o(n).toString(16))].join("")}function n(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.s-=t/100,n.s=E(n.s),u(n)}function r(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.s+=t/100,n.s=E(n.s),u(n)}function c(e){return u(e).desaturate(100)}function l(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.l+=t/100,n.l=E(n.l),u(n)}function m(e,t){t=0===t?0:t||10;var n=u(e).toRgb();return n.r=p(0,h(255,n.r-o(-t/100*255))),n.g=p(0,h(255,n.g-o(-t/100*255))),n.b=p(0,h(255,n.b-o(-t/100*255))),u(n)}function g(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.l-=t/100,n.l=E(n.l),u(n)}function _(e,t){var n=u(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,u(n)}function b(e){var t=u(e).toHsl();return t.h=(t.h+180)%360,u(t)}function v(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+120)%360,s:t.s,l:t.l}),u({h:(n+240)%360,s:t.s,l:t.l})]}function y(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+90)%360,s:t.s,l:t.l}),u({h:(n+180)%360,s:t.s,l:t.l}),u({h:(n+270)%360,s:t.s,l:t.l})]}function w(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+72)%360,s:t.s,l:t.l}),u({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=u(e).toHsl(),i=360/n,a=[u(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(u(r));return a}function A(e,t){t=t||6;for(var n=u(e).toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(u({h:r,s:i,v:a})),a=(a+s)%1;return o}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=x(e),this._roundA=o(100*this._a)/100,this},toHsv:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=a(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=i(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return t(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var a=[I(o(e).toString(16)),I(o(t).toString(16)),I(o(n).toString(16)),I(M(r))];if(i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*k(this._r,255))+"%",g:o(100*k(this._g,255))+"%",b:o(100*k(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*k(this._r,255))+"%, "+o(100*k(this._g,255))+"%, "+o(100*k(this._b,255))+"%)":"rgba("+o(100*k(this._r,255))+"%, "+o(100*k(this._g,255))+"%, "+o(100*k(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[t(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+s(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=u(e);n="#"+s(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&0<=this._a;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(l,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(g,arguments)},desaturate:function(){return this._applyModification(n,arguments)},saturate:function(){return this._applyModification(r,arguments)},greyscale:function(){return this._applyModification(c,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(v,arguments)},tetrad:function(){return this._applyCombination(y,arguments)}},u.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:P(e[r]));e=n}return u(e,t)},u.equals=function(e,t){return!(!e||!t)&&u(e).toRgbString()==u(t).toRgbString()},u.random=function(){return u.fromRatio({r:e(),g:e(),b:e()})},u.mix=function(e,t,n){n=0===n?0:n||50;var r=u(e).toRgb(),i=u(t).toRgb(),a=n/100;return u({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},u.readability=function(e,t){var n=u(e),r=u(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},u.isReadable=function(e,t,n){var r,i,a=u.readability(e,t);switch(i=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=4.5<=a;break;case"AAlarge":i=3<=a;break;case"AAAsmall":i=7<=a}return i},u.mostReadable=function(e,t,n){var r,i,a,o,s=null,c=0;i=(n=n||{}).includeFallbackColors,a=n.level,o=n.size;for(var l=0;l<t.length;l++)c<(r=u.readability(e,t[l]))&&(c=r,s=u(t[l]));return u.isReadable(e,s,{level:a,size:o})||!i?s:(n.includeFallbackColors=!1,u.mostReadable(e,["#fff","#000"],n))};var S=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=u.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(S);function x(e){return e=parseFloat(e),(isNaN(e)||e<0||1<e)&&(e=1),e}function k(e,t){var n;"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var r,i="string"==typeof(r=e)&&-1!=r.indexOf("%");return e=h(t,p(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function E(e){return h(1,p(0,e))}function D(e){return parseInt(e,16)}function I(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function M(e){return Math.round(255*parseFloat(e)).toString(16)}function $(e){return D(e)/255}var O,R,N,L=(R="[\\s|\\(]+("+(O="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",N="[\\s|\\(]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",{CSS_UNIT:new RegExp(O),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+N),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+N),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+N),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function F(e){return!!L.CSS_UNIT.exec(e)}return u}),function(e,t,f){!function(e,u,l){"use strict";var n={hue:{getColorByPoint:function(e,t){var n=this.getImageData(e,t);return this.setMarkerCenter(t),new f({r:n[0],g:n[1],b:n[2]}).toHsl().h},draw:function(){this.$element.css({height:this.height+"px"}),this.canvas.height=this.height,this.canvas.width=this.height;var e=this.context.createLinearGradient(90,0,90,this.height);e.addColorStop(.01,"rgba(255, 0, 0, 1.000)"),e.addColorStop(.167,"rgba(255, 0, 255, 1.000)"),e.addColorStop(.333,"rgba(0, 0, 255, 1.000)"),e.addColorStop(.5,"rgba(0, 255, 255, 1.000)"),e.addColorStop(.666,"rgba(0, 255, 0, 1.000)"),e.addColorStop(.828,"rgba(255, 255, 0, 1.000)"),e.addColorStop(.999,"rgba(255, 0, 0, 1.000)"),this.context.fillStyle=e,this.context.fillRect(0,0,this.canvas.width,this.height)}},alpha:{getColorByPoint:function(e,t){var n=this.getImageData(e,t);return this.setMarkerCenter(t),n[3]/255},draw:function(){this.$element.css({height:this.height+"px"}),this.canvas.height=this.height,this.canvas.width=this.height;var e=this.context.createLinearGradient(90,0,90,this.height);e.addColorStop(.01,"rgba("+this.currentColor.r+","+this.currentColor.g+","+this.currentColor.b+", 1.000)"),e.addColorStop(.99,"rgba("+this.currentColor.r+","+this.currentColor.g+","+this.currentColor.b+", 0.000)"),this.context.fillStyle=e,this.context.fillRect(-1,-1,this.canvas.width+2,this.height+2)},extra:function(){this.$scope.$on("mdColorPicker:spectrumColorChange",u.bind(this,function(e,t){this.currentColor=t.color,this.draw()}))}},spectrum:{getColorByPoint:function(e,t){var n=this.getImageData(e,t);return this.setMarkerCenter(e,t),{r:n[0],g:n[1],b:n[2]}},draw:function(){this.canvas.height=this.height,this.canvas.width=this.height,this.context.clearRect(0,0,this.canvas.width,this.canvas.height);var e=this.context.createLinearGradient(0,0,this.canvas.width,0);e.addColorStop(.01,"rgba(255, 255, 255, 1.000)"),e.addColorStop(.99,"rgba(255, 255, 255, 0.000)");var t=this.context.createLinearGradient(0,0,0,this.canvas.height);t.addColorStop(.01,"rgba(0, 0, 0, 0.000)"),t.addColorStop(.99,"rgba(0, 0, 0, 1.000)"),this.context.fillStyle="hsl( "+this.currentHue+", 100%, 50%)",this.context.fillRect(0,0,this.canvas.width,this.canvas.height),this.context.fillStyle=e,this.context.fillRect(-1,-1,this.canvas.width+2,this.canvas.height+2),this.context.fillStyle=t,this.context.fillRect(-1,-1,this.canvas.width+2,this.canvas.height+2)},extra:function(){this.$scope.$on("mdColorPicker:spectrumHueChange",u.bind(this,function(e,t){this.currentHue=t.hue,this.draw();var n=this.getMarkerCenter(),r=this.getColorByPoint(n.x,n.y);this.setColor(r)}))}}};function r(e,t){this.type=e,this.restrictX=t,this.offset={x:null,y:null},this.height=255,this.$scope=null,this.$element=null,this.get=u.bind(this,function(e,t,n){this.$scope=e,this.$element=t,this.canvas=this.$element.children()[0],this.marker=this.$element.children()[1],this.context=this.canvas.getContext("2d"),this.currentColor=this.$scope.color.toRgb(),this.currentHue=this.$scope.color.toHsv().h,this.$element.on("touchstart mousedown",u.bind(this,this.onMouseDown)),this.$scope.$on("mdColorPicker:colorSet",u.bind(this,this.onColorSet)),this.extra&&this.extra(),this.draw()})}r.prototype.$window=u.element(e),r.prototype.getColorByMouse=function(e){var t=e.touches&&e.touches[0],n=t&&t.pageX||e.pageX,r=t&&t.pageY||e.pageY,i=Math.round(n-this.offset.x),a=Math.round(r-this.offset.y);return this.getColorByPoint(i,a)},r.prototype.setMarkerCenter=function(e,t){var n,r,i,a,o=-1*this.marker.offsetWidth/2,s=-1*this.marker.offsetHeight/2;t===l?(i=e+s,a=Math.round(Math.max(Math.min(this.height-1+s,i),s)),r=0):(n=e+o,i=t+s,r=Math.floor(Math.max(Math.min(this.height+o,n),o)),a=Math.floor(Math.max(Math.min(this.height+s,i),s))),u.element(this.marker).css({left:r+"px"}),u.element(this.marker).css({top:a+"px"})},r.prototype.getMarkerCenter=function(){return{x:this.marker.offsetLeft+Math.floor(this.marker.offsetWidth/2),y:this.marker.offsetTop+Math.floor(this.marker.offsetHeight/2)}},r.prototype.getImageData=function(e,t){return e=Math.max(0,Math.min(e,this.canvas.width-1)),t=Math.max(0,Math.min(t,this.canvas.height-1)),this.context.getImageData(e,t,1,1).data},r.prototype.onMouseDown=function(e){e.preventDefault(),e.stopImmediatePropagation(),this.$scope.previewUnfocus(),this.$element.css({cursor:"none"}),this.offset.x=this.canvas.getBoundingClientRect().left,this.offset.y=this.canvas.getBoundingClientRect().top;var t=u.bind(this,function(e){switch(this.type){case"hue":var t=this.getColorByMouse(e);this.$scope.$broadcast("mdColorPicker:spectrumHueChange",{hue:t});break;case"alpha":var n=this.getColorByMouse(e);this.$scope.color.setAlpha(n),this.$scope.alpha=n,this.$scope.$apply();break;case"spectrum":var r=this.getColorByMouse(e);this.setColor(r)}});this.$window.on("touchmove mousemove",t),this.$window.one("touchend mouseup",u.bind(this,function(e){this.$window.off("touchmove mousemove",t),this.$element.css({cursor:"crosshair"})})),t(e)},r.prototype.setColor=function(e){this.$scope.color._r=e.r,this.$scope.color._g=e.g,this.$scope.color._b=e.b,this.$scope.$apply(),this.$scope.$broadcast("mdColorPicker:spectrumColorChange",{color:e})},r.prototype.onColorSet=function(e,t){switch(this.type){case"hue":var n=this.$scope.color.toHsv();this.setMarkerCenter(this.canvas.height-this.canvas.height*(n.h/360));break;case"alpha":this.currentColor=t.color.toRgb(),this.draw();var r=t.color.getAlpha(),i=this.canvas.height-this.canvas.height*r;this.setMarkerCenter(i);break;case"spectrum":n=t.color.toHsv();this.currentHue=n.h,this.draw();var a=this.canvas.width*n.s,o=this.canvas.height-this.canvas.height*n.v;this.setMarkerCenter(a,o)}},u.module("mdColorPicker",[]).run(["$templateCache",function(e){var t={clear:'<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>',gradient:'<path d="M11 9h2v2h-2zm-2 2h2v2H9zm4 0h2v2h-2zm2-2h2v2h-2zM7 9h2v2H7zm12-6H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 18H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm2-7h-2v2h2v2h-2v-2h-2v2h-2v-2h-2v2H9v-2H7v2H5v-2h2v-2H5V5h14v6z"/>',tune:'<path d="M13 21v-2h8v-2h-8v-2h-2v6h2zM3 17v2h6v-2H3z"/><path d="M21 13v-2H11v2h10zM7 9v2H3v2h4v2h2V9H7z"/><path d="M15 9h2V7h4V5h-4V3h-2v6zM3 5v2h10V5H3z"/>',view_module:'<path d="M4 11h5V5H4v6z"/><path d="M4 18h5v-6H4v6z"/><path d="M10 18h5v-6h-5v6z"/><path d="M16 18h5v-6h-5v6z"/><path d="M10 11h5V5h-5v6z"/><path d="M16 5v6h5V5h-5z"/>',view_headline:'<path d="M4 15h17v-2H4v2z"/><path d="M4 19h17v-2H4v2z"/><path d="M4 11h17V9H4v2z"/><path d="M4 5v2h17V5H4z"/>',history:'<path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"/><path d="M12 8v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/>',clear_all:'<path d="M5 13h14v-2H5v2zm-2 4h14v-2H3v2zM7 7v2h14V7H7z"/>'};for(var n in t)t.hasOwnProperty(n)&&e.put([n,"svg"].join("."),['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">',t[n],"</svg>"].join(""))}]).factory("mdColorGradientCanvas",function(){return function(e){var t=new r(e,"spectrum"!=e);return{template:'<canvas width="100%" height="100%"></canvas><div class="md-color-picker-marker"></div>',link:(t=u.merge(t,n[e])).get,controller:function(){}}}}).factory("mdColorPickerHistory",["$injector",function(e){var n=[],r=[],i=!1;try{i=e.get("$cookies")}catch(e){}if(i)for(var t=i.getObject("mdColorPickerHistory")||[],a=0;a<t.length;a++)n.push(f(t[a])),r.push(t[a]);var o=40;return{length:function(){if(!arguments[0])return n.length;o=arguments[0]},add:function(e){for(var t=0;t<n.length;t++)n[t].toRgbString()===e.toRgbString()&&(n.splice(t,1),r.splice(t,1));n.unshift(e),r.unshift(e.toRgbString()),n.length>o&&(n.pop(),r.pop()),i&&i.putObject("mdColorPickerHistory",r)},get:function(){return n},reset:function(){n=[],r=[],i&&i.putObject("mdColorPickerHistory",r)}}}]).directive("mdColorPicker",["$timeout","mdColorPickerHistory",function(e,t){return{templateUrl:"mdColorPicker.tpl.html",require:"^ngModel",scope:{options:"=mdColorPicker",type:"@",label:"@?",icon:"@?",random:"@?",default:"@?",openOnInput:"=?",hasBackdrop:"=?",clickOutsideToClose:"=?",skipHide:"=?",preserveScope:"=?",mdColorClearButton:"=?",mdColorPreview:"=?",mdColorAlphaChannel:"=?",mdColorSpectrum:"=?",mdColorSliders:"=?",mdColorGenericPalette:"=?",mdColorMaterialPalette:"=?",mdColorHistory:"=?",mdColorHex:"=?",mdColorRgb:"=?",mdColorHsl:"=?",mdColorDefaultTab:"=?"},controller:["$scope","$element","$attrs","$mdDialog","$mdColorPicker",function(t,e,n,r,i){if(t.options!==l)for(var a in t.options){var o;if(t.options.hasOwnProperty(a))o=a,t.hasOwnProperty("mdColor"+a.slice(0,1).toUpperCase()+a.slice(1))&&(o="mdColor"+a.slice(0,1).toUpperCase()+a.slice(1)),!o||t[o]!==l&&""!==t[o]||(t[o]=t.options[a])}var s=e.controller("ngModel"),c=function(e){t.value=e||s.$viewValue||""};t.mdColorClearButton=t.mdColorClearButton===l||t.mdColorClearButton,t.mdColorPreview=t.mdColorPreview===l||t.mdColorPreview,t.mdColorAlphaChannel=t.mdColorAlphaChannel===l||t.mdColorAlphaChannel,t.mdColorSpectrum=t.mdColorSpectrum===l||t.mdColorSpectrum,t.mdColorSliders=t.mdColorSliders===l||t.mdColorSliders,t.mdColorGenericPalette=t.mdColorGenericPalette===l||t.mdColorGenericPalette,t.mdColorMaterialPalette=t.mdColorMaterialPalette===l||t.mdColorMaterialPalette,t.mdColorHistory=t.mdColorHistory===l||t.mdColorHistory,t.mdColorHex=t.mdColorHex===l||t.mdColorHex,t.mdColorRgb=t.mdColorRgb===l||t.mdColorRgb,t.mdColorHsl=t.mdColorHsl===l||t.mdColorHsl,c(),t.$watch(function(){return s.$modelValue},function(e){c(e)}),t.$watch("value",function(e,t){""!==e&&void 0!==e&&e&&e!==t&&s.$setViewValue(e)}),t.clearValue=function(){s.$setViewValue("")},t.showColorPicker=function(e){i.show({value:t.value,defaultValue:t.default,random:t.random,clickOutsideToClose:t.clickOutsideToClose,hasBackdrop:t.hasBackdrop,skipHide:t.skipHide,preserveScope:t.preserveScope,mdColorAlphaChannel:t.mdColorAlphaChannel,mdColorSpectrum:t.mdColorSpectrum,mdColorSliders:t.mdColorSliders,mdColorGenericPalette:t.mdColorGenericPalette,mdColorMaterialPalette:t.mdColorMaterialPalette,mdColorHistory:t.mdColorHistory,mdColorHex:t.mdColorHex,mdColorRgb:t.mdColorRgb,mdColorHsl:t.mdColorHsl,mdColorDefaultTab:t.mdColorDefaultTab,$event:e}).then(function(e){t.value=e})}}],compile:function(e,t){t.type=t.type!==l?t.type:0}}}]).directive("mdColorPickerContainer",["$compile","$timeout","$mdColorPalette","mdColorPickerHistory",function(e,o,s,c){return{templateUrl:"mdColorPickerContainer.tpl.html",scope:{value:"=?",default:"@",random:"@",ok:"=?",mdColorAlphaChannel:"=",mdColorSpectrum:"=",mdColorSliders:"=",mdColorGenericPalette:"=",mdColorMaterialPalette:"=",mdColorHistory:"=",mdColorHex:"=",mdColorRgb:"=",mdColorHsl:"=",mdColorDefaultTab:"="},controller:["$scope","$element","$attrs",function(a,e,t){var n=u.element(e[0].querySelector(".md-color-picker-container")),r=(u.element(n[0].querySelector(".md-color-picker-result")),u.element(e[0].querySelector(".md-color-picker-preview-input"))),i=["toHexString","toRgbString","toHslString"];a.default=a.default?a.default:a.random?f.random():"rgb(255,255,255)",0<=a.value.search("#")?a.type=0:0<=a.value.search("rgb")?a.type=1:0<=a.value.search("hsl")&&(a.type=2),a.color=new f(a.value||a.default),a.alpha=a.color.getAlpha(),a.history=c,a.materialFamily=[],a.whichPane=function(e){var t=0;if(e&&"string"==typeof e){for(var n="mdColor"+e.slice(0,1).toUpperCase()+e.slice(1),r=["mdColorSpectrum","mdColorSliders","mdColorGenericPalette","mdColorMaterialPalette","mdColorHistory"],i=0;i<r.length;i++)if(r[i]==n&&a[n]){t=i;break}}else e&&"number"==typeof e&&(t=e);return t}(a.mdColorDefaultTab),a.inputFocus=!1;Math.PI;a.palette=[["rgb(255, 204, 204)","rgb(255, 230, 204)","rgb(255, 255, 204)","rgb(204, 255, 204)","rgb(204, 255, 230)","rgb(204, 255, 255)","rgb(204, 230, 255)","rgb(204, 204, 255)","rgb(230, 204, 255)","rgb(255, 204, 255)"],["rgb(255, 153, 153)","rgb(255, 204, 153)","rgb(255, 255, 153)","rgb(153, 255, 153)","rgb(153, 255, 204)","rgb(153, 255, 255)","rgb(153, 204, 255)","rgb(153, 153, 255)","rgb(204, 153, 255)","rgb(255, 153, 255)"],["rgb(255, 102, 102)","rgb(255, 179, 102)","rgb(255, 255, 102)","rgb(102, 255, 102)","rgb(102, 255, 179)","rgb(102, 255, 255)","rgb(102, 179, 255)","rgb(102, 102, 255)","rgb(179, 102, 255)","rgb(255, 102, 255)"],["rgb(255, 51, 51)","rgb(255, 153, 51)","rgb(255, 255, 51)","rgb(51, 255, 51)","rgb(51, 255, 153)","rgb(51, 255, 255)","rgb(51, 153, 255)","rgb(51, 51, 255)","rgb(153, 51, 255)","rgb(255, 51, 255)"],["rgb(255, 0, 0)","rgb(255, 128, 0)","rgb(255, 255, 0)","rgb(0, 255, 0)","rgb(0, 255, 128)","rgb(0, 255, 255)","rgb(0, 128, 255)","rgb(0, 0, 255)","rgb(128, 0, 255)","rgb(255, 0, 255)"],["rgb(245, 0, 0)","rgb(245, 123, 0)","rgb(245, 245, 0)","rgb(0, 245, 0)","rgb(0, 245, 123)","rgb(0, 245, 245)","rgb(0, 123, 245)","rgb(0, 0, 245)","rgb(123, 0, 245)","rgb(245, 0, 245)"],["rgb(214, 0, 0)","rgb(214, 108, 0)","rgb(214, 214, 0)","rgb(0, 214, 0)","rgb(0, 214, 108)","rgb(0, 214, 214)","rgb(0, 108, 214)","rgb(0, 0, 214)","rgb(108, 0, 214)","rgb(214, 0, 214)"],["rgb(163, 0, 0)","rgb(163, 82, 0)","rgb(163, 163, 0)","rgb(0, 163, 0)","rgb(0, 163, 82)","rgb(0, 163, 163)","rgb(0, 82, 163)","rgb(0, 0, 163)","rgb(82, 0, 163)","rgb(163, 0, 163)"],["rgb(92, 0, 0)","rgb(92, 46, 0)","rgb(92, 92, 0)","rgb(0, 92, 0)","rgb(0, 92, 46)","rgb(0, 92, 92)","rgb(0, 46, 92)","rgb(0, 0, 92)","rgb(46, 0, 92)","rgb(92, 0, 92)"],["rgb(255, 255, 255)","rgb(205, 205, 205)","rgb(178, 178, 178)","rgb(153, 153, 153)","rgb(127, 127, 127)","rgb(102, 102, 102)","rgb(76, 76, 76)","rgb(51, 51, 51)","rgb(25, 25, 25)","rgb(0, 0, 0)"]],a.materialPalette=s,a.isDark=function(e){return u.isArray(e)?f({r:e[0],g:e[1],b:e[2]}).isDark():f(e).isDark()},a.previewFocus=function(){a.inputFocus=!0,o(function(){r[0].setSelectionRange(0,r[0].value.length)})},a.previewUnfocus=function(){a.inputFocus=!1,r[0].blur()},a.previewBlur=function(){a.inputFocus=!1,a.setValue()},a.previewKeyDown=function(e){13==e.keyCode&&a.ok&&a.ok()},a.setPaletteColor=function(e){o(function(){a.color=f(e.target.style.backgroundColor)})},a.setValue=function(){a.color&&a.color&&i[a.type]&&"rgba(0, 0, 0, 0)"!==a.color.toRgbString()&&(a.value=a.color[i[a.type]]())},a.changeValue=function(){a.color=f(a.value),a.$broadcast("mdColorPicker:colorSet",{color:a.color})},a.$watch("color._a",function(e){a.color.setAlpha(e)},!0),a.$watch("whichPane",function(e){a.$broadcast("mdColorPicker:colorSet",{color:a.color})}),a.$watch("type",function(){r.removeClass("switch"),o(function(){r.addClass("switch")})}),a.$watchGroup(["color.toRgbString()","type"],function(e){a.inputFocus||a.setValue()}),o(function(){a.$broadcast("mdColorPicker:colorSet",{color:a.color}),r.focus(),a.previewFocus()})}],link:function(l,e,t){e[0].getElementsByTagName("md-tab");o(function(){var r,i,a,o,s,c;r=u.element(e[0].querySelector(".md-color-picker-palette")),i=u.element(e[0].querySelector(".md-color-picker-material-palette")),a=u.element('<div class="flex-15 layout-fill layout-row layout-align-space-between" layout-align="space-between" layout="row" layout-fill"></div>'),o=u.element('<div class="flex-10"></div>'),s=u.element('<div class="md-color-picker-material-title"></div>'),c=u.element('<div class="md-color-picker-with-label"></div>'),u.forEach(l.palette,function(e,t){var n=a.clone();u.forEach(e,function(e){var t=o.clone();t.css({height:"25.5px",backgroundColor:e}),t.bind("click",l.setPaletteColor),n.append(t)}),r.append(n)}),u.forEach(l.materialPalette,function(e,t){var n=s.clone();n.html("<span>"+t.replace("-"," ")+"</span>"),n.css({height:"75px",backgroundColor:"rgb("+e[500].value[0]+","+e[500].value[1]+","+e[500].value[2]+")"}),l.isDark(e[500].value)&&n.addClass("dark"),i.append(n),u.forEach(e,function(e,t){var n=c.clone();n.css({height:"33px",backgroundColor:"rgb("+e.value[0]+","+e.value[1]+","+e.value[2]+")"}),l.isDark(e.value)&&n.addClass("dark"),n.html("<span>"+t+"</span>"),n.bind("click",l.setPaletteColor),i.append(n)})})})}}}]).directive("mdColorPickerHue",["mdColorGradientCanvas",function(e){return new e("hue")}]).directive("mdColorPickerAlpha",["mdColorGradientCanvas",function(e){return new e("alpha")}]).directive("mdColorPickerSpectrum",["mdColorGradientCanvas",function(e){return new e("spectrum")}]).factory("$mdColorPicker",["$q","$mdDialog","mdColorPickerHistory",function(e,n,t){var r;return{show:function(e){return e===l&&(e={}),e.hasBackdrop=e.hasBackdrop===l||e.hasBackdrop,e.clickOutsideToClose=e.clickOutsideToClose===l||e.clickOutsideToClose,e.defaultValue=e.defaultValue===l?"#FFFFFF":e.defaultValue,e.focusOnOpen=e.focusOnOpen!==l&&e.focusOnOpen,e.preserveScope=e.preserveScope===l||e.preserveScope,e.skipHide=e.skipHide===l||e.skipHide,e.mdColorAlphaChannel=e.mdColorAlphaChannel!==l&&e.mdColorAlphaChannel,e.mdColorSpectrum=e.mdColorSpectrum===l||e.mdColorSpectrum,e.mdColorSliders=e.mdColorSliders===l||e.mdColorSliders,e.mdColorGenericPalette=e.mdColorGenericPalette===l||e.mdColorGenericPalette,e.mdColorMaterialPalette=e.mdColorMaterialPalette===l||e.mdColorMaterialPalette,e.mdColorHistory=e.mdColorHistory===l||e.mdColorHistory,e.mdColorRgb=e.mdColorRgb===l||e.mdColorRgb,e.mdColorHsl=e.mdColorHsl===l||e.mdColorHsl,e.mdColorHex=e.mdColorHex===l||!e.mdColorRgb&&!e.mdColorHsl||e.mdColorHex,e.mdColorAlphaChannel=!(!e.mdColorRgb&&!e.mdColorHsl)&&e.mdColorAlphaChannel,(r=n.show({templateUrl:"mdColorPickerDialog.tpl.html",hasBackdrop:e.hasBackdrop,multiple:!0,clickOutsideToClose:e.clickOutsideToClose,controller:["$scope","options",function(e,t){e.close=function(){n.cancel()},e.ok=function(){n.hide(e.value)},e.hide=e.ok,e.value=t.value,e.default=t.defaultValue,e.random=t.random,e.mdColorAlphaChannel=t.mdColorAlphaChannel,e.mdColorSpectrum=t.mdColorSpectrum,e.mdColorSliders=t.mdColorSliders,e.mdColorGenericPalette=t.mdColorGenericPalette,e.mdColorMaterialPalette=t.mdColorMaterialPalette,e.mdColorHistory=t.mdColorHistory,e.mdColorHex=t.mdColorHex,e.mdColorRgb=t.mdColorRgb,e.mdColorHsl=t.mdColorHsl,e.mdColorDefaultTab=t.mdColorDefaultTab}],locals:{options:e},preserveScope:e.preserveScope,skipHide:e.skipHide,targetEvent:e.$event,focusOnOpen:e.focusOnOpen,autoWrap:!1,onShowing:function(){},onComplete:function(){}})).then(function(e){t.add(new f(e))},function(){}),r},hide:function(){return r.hide()},cancel:function(){return r.cancel()}}}])}(t,t.angular),e.module("mdColorPicker").run(["$templateCache",function(e){e.put("mdColorPicker.tpl.html",'<div class="md-color-picker-input-container" layout="row">\n\t<div class="md-color-picker-preview md-color-picker-checkered-bg" ng-click="showColorPicker($event)" ng-if="mdColorPreview">\n\t\t<div class="md-color-picker-result" ng-style="{background: value}"></div>\n\t</div>\n\t<md-input-container flex>\n\t\t<label><md-icon ng-if="icon">{{icon}}</md-icon>{{label}}</label>\n\t\t<input type="input" ng-model="value" class=\'md-color-picker-input\' ng-mousedown="(openOnInput || !mdColorPreview) && showColorPicker($event)"/>\n\t</md-input-container>\n\t<md-button class="md-icon-button md-color-picker-clear" ng-if="mdColorClearButton && value" ng-click="clearValue();" aria-label="Clear Color">\n\t\t<md-icon md-svg-icon="clear.svg"></md-icon>\n\t</md-button>\n</div>\n'),e.put("mdColorPickerContainer.tpl.html",'<div class="md-color-picker-container in" layout="column">\n\t<div class="md-color-picker-arrow" ng-style="{\'border-bottom-color\': color.toRgbString() }"></div>\n\n\t<div class="md-color-picker-preview md-color-picker-checkered-bg" ng-class="{\'dark\': !color.isDark() || color.getAlpha() < .45}" flex="1" layout="column">\n\n\t\t<div class="md-color-picker-result" ng-style="{\'background\': color.toRgbString()}" flex="100" layout="column" layout-fill layout-align="center center" ng-click="focusPreviewInput( $event )">\n\t\t\t\x3c!--<span flex layout="column" layout-align="center center">{{value}}</span>--\x3e\n\t\t\t<div flex layout="row" layout-align="center center">\n\t\t\t\t<input class="md-color-picker-preview-input" type="text" ng-model="value" ng-focus="previewFocus($event);" ng-blur="previewBlur()" ng-change="changeValue()" ng-keypress="previewKeyDown($event)" layout-fill />\n\t\t\t</div>\n\t\t\t<div class="md-color-picker-tabs" style="width: 100%">\n\t\t\t\t<md-tabs md-selected="type" md-stretch-tabs="always" md-no-bar md-no-ink md-no-pagination="true" >\n\t\t\t\t\t<md-tab ng-if="mdColorHex" label="Hex" ng-disabled="color.getAlpha() !== 1" md-ink-ripple="#ffffff"></md-tab>\n\t\t\t\t\t<md-tab ng-if="mdColorRgb" label="RGB"></md-tab>\n\t\t\t\t\t<md-tab ng-if="mdColorHsl" label="HSL"></md-tab>\n\t\t\t\t\t\x3c!--<md-tab label="HSV"></md-tab>\n\t\t\t\t\t<md-tab label="VEC"></md-tab>--\x3e\n\t\t\t\t</md-tabs>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<div class="md-color-picker-tabs md-color-picker-colors">\n\t\t<md-tabs md-stretch-tabs="always" md-align-tabs="bottom" md-selected="whichPane" md-no-pagination>\n\t\t\t<md-tab ng-if="mdColorSpectrum">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="gradient.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="row" layout-align="space-between" style="height: 255px">\n\t\t\t\t\t\t<div md-color-picker-spectrum></div>\n\t\t\t\t\t\t<div md-color-picker-hue ng-class="{\'md-color-picker-wide\': !mdColorAlphaChannel}"></div>\n\t\t\t\t\t\t<div md-color-picker-alpha class="md-color-picker-checkered-bg" ng-if="mdColorAlphaChannel"></div>\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorSliders">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="tune.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="column" flex="100" layout-fill layout-align="space-between start center" class="md-color-picker-sliders">\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill>\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">R</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="255" ng-model="color._r" aria-label="red" class="red-slider"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="255" type="number" ng-model="color._r" aria-label="red" aria-controls="red-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill>\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">G</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="255" ng-model="color._g" aria-label="green" class="green-slider"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="255" type="number" ng-model="color._g" aria-label="green" aria-controls="green-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill>\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">B</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="255" ng-model="color._b" aria-label="blue" class="blue-slider"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center" >\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="255" type="number" ng-model="color._b" aria-label="blue" aria-controls="blue-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill ng-if="!mdColorAlphaChannel">\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">A</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="1" step=".01" ng-model="color._a" aria-label="alpha" class="md-primary"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center" >\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="1" step=".01" type="number" ng-model="color._a" aria-label="alpha" aria-controls="alpha-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorGenericPalette">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="view_module.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="column" layout-align="space-between start center" flex class="md-color-picker-palette">\n\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorMaterialPalette">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="view_headline.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="column" layout-fill flex class="md-color-picker-material-palette">\n\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorHistory">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="history.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body layout="row" layout-fill>\n\t\t\t\t\t<div layout="column" flex layout-align="space-between start" layout-wrap layout-fill class="md-color-picker-history">\n\t\t\t\t\t\t<div layout="row" flex="80" layout-align="space-between start start" layout-wrap layout-fill>\n\t\t\t\t\t\t\t<div flex="10" ng-repeat="historyColor in history.get() track by $index">\n\t\t\t\t\t\t\t\t<div ng-style="{\'background\': historyColor.toRgbString()}" ng-click="setPaletteColor($event)"></div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\n\t\t\t\t\t\t<md-button flex-end ng-click="history.reset()" class="md-mini" aria-label="Clear History">\n\t\t\t\t\t\t\t<md-icon md-svg-icon="clear_all.svg"></md-icon>\n\t\t\t\t\t\t</md-button>\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t</md-tabs>\n\t</div>\n\n</div>\n'),e.put("mdColorPickerDialog.tpl.html",'<md-dialog class="md-color-picker-dialog">\n\t<div md-color-picker-container\n\t\tvalue="value"\n\t\tdefault="{{defaultValue}}"\n\t\trandom="{{random}}"\n\t\tok="ok"\n\t\tmd-color-alpha-channel="mdColorAlphaChannel"\n\t\tmd-color-spectrum="mdColorSpectrum"\n\t\tmd-color-sliders="mdColorSliders"\n\t\tmd-color-generic-palette="mdColorGenericPalette"\n\t\tmd-color-material-palette="mdColorMaterialPalette"\n\t\tmd-color-history="mdColorHistory"\n\t\tmd-color-hex="mdColorHex"\n\t\tmd-color-rgb="mdColorRgb"\n\t\tmd-color-hsl="mdColorHsl"\n\t\tmd-color-default-tab="mdColorDefaultTab"\n\t></div>\n\t<md-actions layout="row">\n\t\t<md-button class="md-mini" ng-click="close()" style="width: 50%;">Cancel</md-button>\n\t\t<md-button class="md-mini" ng-click="ok()" style="width: 50%;">Select</md-button>\n\t</md-actions>\n</md-dialog>\n')}])}(angular,window,tinycolor),function(e,t){"function"==typeof define&&define.amd?define(["angular"],t):t(angular)}(0,function(e){e.module("ckeditor",[]).directive("ckeditor",["$parse",function(o){return{restrict:"A",require:["ckeditor","ngModel"],controller:["$scope","$element","$attrs","$parse","$q",t],link:function(e,t,n,r){var i=r[0],a=r[1];i.ready().then(function(){["dataReady","change","blur","saveSnapshot"].forEach(function(e){i.onCKEvent(e,function(){a.$setViewValue(i.instance.getData()||"")})}),i.instance.setReadOnly(!!n.readonly),n.$observe("readonly",function(e){i.instance.setReadOnly(!!e)}),l(function(){o(n.ready)(e)})}),a.$render=function(){i.ready().then(function(){i.instance.setData(a.$viewValue||"",{noSnapshot:!0,callback:function(){i.instance.fire("updateSnapshot")}})})}}}}]);var l=window&&window.setImmediate?window.setImmediate:function(e){setTimeout(e,0)};function t(r,e,t,n,i){var a,o=n(t.ckeditor)(r)||{},s=e[0],c=i.defer();a=s.hasAttribute("contenteditable")&&"true"==s.getAttribute("contenteditable").toLowerCase()?this.instance=CKEDITOR.inline(s,o):this.instance=CKEDITOR.replace(s,o),this.onCKEvent=function(e,t){function n(){var e=arguments;r.$apply(function(){t.apply(null,e)})}return a.on(e,function(){var e=arguments;l(function(){n.apply(null,e)})}),function(){a.removeListener(e,n)}},this.onCKEvent("instanceReady",function(){c.resolve(!0)}),this.ready=function(){return c.promise},r.$on("$destroy",function(){c.promise.then(function(){a.destroy(!1)})})}}),function(d){d.emojioneList={":kiss_mm:":{uc_base:"1f468-2764-1f48b-1f468",uc_output:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",uc_match:"1f468-2764-fe0f-1f48b-1f468",uc_greedy:"1f468-2764-1f48b-1f468",shortnames:[":couplekiss_mm:"],category:"people"},":kiss_woman_man:":{uc_base:"1f469-2764-1f48b-1f468",uc_output:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",uc_match:"1f469-2764-fe0f-1f48b-1f468",uc_greedy:"1f469-2764-1f48b-1f468",shortnames:[],category:"people"},":kiss_ww:":{uc_base:"1f469-2764-1f48b-1f469",uc_output:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",uc_match:"1f469-2764-fe0f-1f48b-1f469",uc_greedy:"1f469-2764-1f48b-1f469",shortnames:[":couplekiss_ww:"],category:"people"},":england:":{uc_base:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",uc_output:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",uc_match:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",uc_greedy:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",shortnames:[],category:"flags"},":scotland:":{uc_base:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",uc_output:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",uc_match:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",uc_greedy:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",shortnames:[],category:"flags"},":wales:":{uc_base:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",uc_output:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",uc_match:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",uc_greedy:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",shortnames:[],category:"flags"},":family_mmbb:":{uc_base:"1f468-1f468-1f466-1f466",uc_output:"1f468-200d-1f468-200d-1f466-200d-1f466",uc_match:"1f468-1f468-1f466-1f466",uc_greedy:"1f468-1f468-1f466-1f466",shortnames:[],category:"people"},":family_mmgb:":{uc_base:"1f468-1f468-1f467-1f466",uc_output:"1f468-200d-1f468-200d-1f467-200d-1f466",uc_match:"1f468-1f468-1f467-1f466",uc_greedy:"1f468-1f468-1f467-1f466",shortnames:[],category:"people"},":family_mmgg:":{uc_base:"1f468-1f468-1f467-1f467",uc_output:"1f468-200d-1f468-200d-1f467-200d-1f467",uc_match:"1f468-1f468-1f467-1f467",uc_greedy:"1f468-1f468-1f467-1f467",shortnames:[],category:"people"},":family_mwbb:":{uc_base:"1f468-1f469-1f466-1f466",uc_output:"1f468-200d-1f469-200d-1f466-200d-1f466",uc_match:"1f468-1f469-1f466-1f466",uc_greedy:"1f468-1f469-1f466-1f466",shortnames:[],category:"people"},":family_mwgb:":{uc_base:"1f468-1f469-1f467-1f466",uc_output:"1f468-200d-1f469-200d-1f467-200d-1f466",uc_match:"1f468-1f469-1f467-1f466",uc_greedy:"1f468-1f469-1f467-1f466",shortnames:[],category:"people"},":family_mwgg:":{uc_base:"1f468-1f469-1f467-1f467",uc_output:"1f468-200d-1f469-200d-1f467-200d-1f467",uc_match:"1f468-1f469-1f467-1f467",uc_greedy:"1f468-1f469-1f467-1f467",shortnames:[],category:"people"},":family_wwbb:":{uc_base:"1f469-1f469-1f466-1f466",uc_output:"1f469-200d-1f469-200d-1f466-200d-1f466",uc_match:"1f469-1f469-1f466-1f466",uc_greedy:"1f469-1f469-1f466-1f466",shortnames:[],category:"people"},":family_wwgb:":{uc_base:"1f469-1f469-1f467-1f466",uc_output:"1f469-200d-1f469-200d-1f467-200d-1f466",uc_match:"1f469-1f469-1f467-1f466",uc_greedy:"1f469-1f469-1f467-1f466",shortnames:[],category:"people"},":family_wwgg:":{uc_base:"1f469-1f469-1f467-1f467",uc_output:"1f469-200d-1f469-200d-1f467-200d-1f467",uc_match:"1f469-1f469-1f467-1f467",uc_greedy:"1f469-1f469-1f467-1f467",shortnames:[],category:"people"},":couple_mm:":{uc_base:"1f468-2764-1f468",uc_output:"1f468-200d-2764-fe0f-200d-1f468",uc_match:"1f468-2764-fe0f-1f468",uc_greedy:"1f468-2764-1f468",shortnames:[":couple_with_heart_mm:"],category:"people"},":couple_with_heart_woman_man:":{uc_base:"1f469-2764-1f468",uc_output:"1f469-200d-2764-fe0f-200d-1f468",uc_match:"1f469-2764-fe0f-1f468",uc_greedy:"1f469-2764-1f468",shortnames:[],category:"people"},":couple_ww:":{uc_base:"1f469-2764-1f469",uc_output:"1f469-200d-2764-fe0f-200d-1f469",uc_match:"1f469-2764-fe0f-1f469",uc_greedy:"1f469-2764-1f469",shortnames:[":couple_with_heart_ww:"],category:"people"},":family_man_boy_boy:":{uc_base:"1f468-1f466-1f466",uc_output:"1f468-200d-1f466-200d-1f466",uc_match:"1f468-1f466-1f466",uc_greedy:"1f468-1f466-1f466",shortnames:[],category:"people"},":family_man_girl_boy:":{uc_base:"1f468-1f467-1f466",uc_output:"1f468-200d-1f467-200d-1f466",uc_match:"1f468-1f467-1f466",uc_greedy:"1f468-1f467-1f466",shortnames:[],category:"people"},":family_man_girl_girl:":{uc_base:"1f468-1f467-1f467",uc_output:"1f468-200d-1f467-200d-1f467",uc_match:"1f468-1f467-1f467",uc_greedy:"1f468-1f467-1f467",shortnames:[],category:"people"},":family_man_woman_boy:":{uc_base:"1f468-1f469-1f466",uc_output:"1f468-200d-1f469-200d-1f466",uc_match:"1f468-1f469-1f466",uc_greedy:"1f468-1f469-1f466",shortnames:[],category:"people"},":family_mmb:":{uc_base:"1f468-1f468-1f466",uc_output:"1f468-200d-1f468-200d-1f466",uc_match:"1f468-1f468-1f466",uc_greedy:"1f468-1f468-1f466",shortnames:[],category:"people"},":family_mmg:":{uc_base:"1f468-1f468-1f467",uc_output:"1f468-200d-1f468-200d-1f467",uc_match:"1f468-1f468-1f467",uc_greedy:"1f468-1f468-1f467",shortnames:[],category:"people"},":family_mwg:":{uc_base:"1f468-1f469-1f467",uc_output:"1f468-200d-1f469-200d-1f467",uc_match:"1f468-1f469-1f467",uc_greedy:"1f468-1f469-1f467",shortnames:[],category:"people"},":family_woman_boy_boy:":{uc_base:"1f469-1f466-1f466",uc_output:"1f469-200d-1f466-200d-1f466",uc_match:"1f469-1f466-1f466",uc_greedy:"1f469-1f466-1f466",shortnames:[],category:"people"},":family_woman_girl_boy:":{uc_base:"1f469-1f467-1f466",uc_output:"1f469-200d-1f467-200d-1f466",uc_match:"1f469-1f467-1f466",uc_greedy:"1f469-1f467-1f466",shortnames:[],category:"people"},":family_woman_girl_girl:":{uc_base:"1f469-1f467-1f467",uc_output:"1f469-200d-1f467-200d-1f467",uc_match:"1f469-1f467-1f467",uc_greedy:"1f469-1f467-1f467",shortnames:[],category:"people"},":family_wwb:":{uc_base:"1f469-1f469-1f466",uc_output:"1f469-200d-1f469-200d-1f466",uc_match:"1f469-1f469-1f466",uc_greedy:"1f469-1f469-1f466",shortnames:[],category:"people"},":family_wwg:":{uc_base:"1f469-1f469-1f467",uc_output:"1f469-200d-1f469-200d-1f467",uc_match:"1f469-1f469-1f467",uc_greedy:"1f469-1f469-1f467",shortnames:[],category:"people"},":blond-haired_man_tone1:":{uc_base:"1f471-1f3fb-2642",uc_output:"1f471-1f3fb-200d-2642-fe0f",uc_match:"1f471-1f3fb-2642-fe0f",uc_greedy:"1f471-1f3fb-2642",shortnames:[":blond-haired_man_light_skin_tone:"],category:"people"},":blond-haired_man_tone2:":{uc_base:"1f471-1f3fc-2642",uc_output:"1f471-1f3fc-200d-2642-fe0f",uc_match:"1f471-1f3fc-2642-fe0f",uc_greedy:"1f471-1f3fc-2642",shortnames:[":blond-haired_man_medium_light_skin_tone:"],category:"people"},":blond-haired_man_tone3:":{uc_base:"1f471-1f3fd-2642",uc_output:"1f471-1f3fd-200d-2642-fe0f",uc_match:"1f471-1f3fd-2642-fe0f",uc_greedy:"1f471-1f3fd-2642",shortnames:[":blond-haired_man_medium_skin_tone:"],category:"people"},":blond-haired_man_tone4:":{uc_base:"1f471-1f3fe-2642",uc_output:"1f471-1f3fe-200d-2642-fe0f",uc_match:"1f471-1f3fe-2642-fe0f",uc_greedy:"1f471-1f3fe-2642",shortnames:[":blond-haired_man_medium_dark_skin_tone:"],category:"people"},":blond-haired_man_tone5:":{uc_base:"1f471-1f3ff-2642",uc_output:"1f471-1f3ff-200d-2642-fe0f",uc_match:"1f471-1f3ff-2642-fe0f",uc_greedy:"1f471-1f3ff-2642",shortnames:[":blond-haired_man_dark_skin_tone:"],category:"people"},":blond-haired_woman_tone1:":{uc_base:"1f471-1f3fb-2640",uc_output:"1f471-1f3fb-200d-2640-fe0f",uc_match:"1f471-1f3fb-2640-fe0f",uc_greedy:"1f471-1f3fb-2640",shortnames:[":blond-haired_woman_light_skin_tone:"],category:"people"},":blond-haired_woman_tone2:":{uc_base:"1f471-1f3fc-2640",uc_output:"1f471-1f3fc-200d-2640-fe0f",uc_match:"1f471-1f3fc-2640-fe0f",uc_greedy:"1f471-1f3fc-2640",shortnames:[":blond-haired_woman_medium_light_skin_tone:"],category:"people"},":blond-haired_woman_tone3:":{uc_base:"1f471-1f3fd-2640",uc_output:"1f471-1f3fd-200d-2640-fe0f",uc_match:"1f471-1f3fd-2640-fe0f",uc_greedy:"1f471-1f3fd-2640",shortnames:[":blond-haired_woman_medium_skin_tone:"],category:"people"},":blond-haired_woman_tone4:":{uc_base:"1f471-1f3fe-2640",uc_output:"1f471-1f3fe-200d-2640-fe0f",uc_match:"1f471-1f3fe-2640-fe0f",uc_greedy:"1f471-1f3fe-2640",shortnames:[":blond-haired_woman_medium_dark_skin_tone:"],category:"people"},":blond-haired_woman_tone5:":{uc_base:"1f471-1f3ff-2640",uc_output:"1f471-1f3ff-200d-2640-fe0f",uc_match:"1f471-1f3ff-2640-fe0f",uc_greedy:"1f471-1f3ff-2640",shortnames:[":blond-haired_woman_dark_skin_tone:"],category:"people"},":eye_in_speech_bubble:":{uc_base:"1f441-1f5e8",uc_output:"1f441-fe0f-200d-1f5e8-fe0f",uc_match:"1f441-fe0f-200d-1f5e8",uc_greedy:"1f441-1f5e8",shortnames:[],category:"symbols"},":man_biking_tone1:":{uc_base:"1f6b4-1f3fb-2642",uc_output:"1f6b4-1f3fb-200d-2642-fe0f",uc_match:"1f6b4-1f3fb-2642-fe0f",uc_greedy:"1f6b4-1f3fb-2642",shortnames:[":man_biking_light_skin_tone:"],category:"activity"},":man_biking_tone2:":{uc_base:"1f6b4-1f3fc-2642",uc_output:"1f6b4-1f3fc-200d-2642-fe0f",uc_match:"1f6b4-1f3fc-2642-fe0f",uc_greedy:"1f6b4-1f3fc-2642",shortnames:[":man_biking_medium_light_skin_tone:"],category:"activity"},":man_biking_tone3:":{uc_base:"1f6b4-1f3fd-2642",uc_output:"1f6b4-1f3fd-200d-2642-fe0f",uc_match:"1f6b4-1f3fd-2642-fe0f",uc_greedy:"1f6b4-1f3fd-2642",shortnames:[":man_biking_medium_skin_tone:"],category:"activity"},":man_biking_tone4:":{uc_base:"1f6b4-1f3fe-2642",uc_output:"1f6b4-1f3fe-200d-2642-fe0f",uc_match:"1f6b4-1f3fe-2642-fe0f",uc_greedy:"1f6b4-1f3fe-2642",shortnames:[":man_biking_medium_dark_skin_tone:"],category:"activity"},":man_biking_tone5:":{uc_base:"1f6b4-1f3ff-2642",uc_output:"1f6b4-1f3ff-200d-2642-fe0f",uc_match:"1f6b4-1f3ff-2642-fe0f",uc_greedy:"1f6b4-1f3ff-2642",shortnames:[":man_biking_dark_skin_tone:"],category:"activity"},":man_bowing_tone1:":{uc_base:"1f647-1f3fb-2642",uc_output:"1f647-1f3fb-200d-2642-fe0f",uc_match:"1f647-1f3fb-2642-fe0f",uc_greedy:"1f647-1f3fb-2642",shortnames:[":man_bowing_light_skin_tone:"],category:"people"},":man_bowing_tone2:":{uc_base:"1f647-1f3fc-2642",uc_output:"1f647-1f3fc-200d-2642-fe0f",uc_match:"1f647-1f3fc-2642-fe0f",uc_greedy:"1f647-1f3fc-2642",shortnames:[":man_bowing_medium_light_skin_tone:"],category:"people"},":man_bowing_tone3:":{uc_base:"1f647-1f3fd-2642",uc_output:"1f647-1f3fd-200d-2642-fe0f",uc_match:"1f647-1f3fd-2642-fe0f",uc_greedy:"1f647-1f3fd-2642",shortnames:[":man_bowing_medium_skin_tone:"],category:"people"},":man_bowing_tone4:":{uc_base:"1f647-1f3fe-2642",uc_output:"1f647-1f3fe-200d-2642-fe0f",uc_match:"1f647-1f3fe-2642-fe0f",uc_greedy:"1f647-1f3fe-2642",shortnames:[":man_bowing_medium_dark_skin_tone:"],category:"people"},":man_bowing_tone5:":{uc_base:"1f647-1f3ff-2642",uc_output:"1f647-1f3ff-200d-2642-fe0f",uc_match:"1f647-1f3ff-2642-fe0f",uc_greedy:"1f647-1f3ff-2642",shortnames:[":man_bowing_dark_skin_tone:"],category:"people"},":man_cartwheeling_tone1:":{uc_base:"1f938-1f3fb-2642",uc_output:"1f938-1f3fb-200d-2642-fe0f",uc_match:"1f938-1f3fb-2642-fe0f",uc_greedy:"1f938-1f3fb-2642",shortnames:[":man_cartwheeling_light_skin_tone:"],category:"activity"},":man_cartwheeling_tone2:":{uc_base:"1f938-1f3fc-2642",uc_output:"1f938-1f3fc-200d-2642-fe0f",uc_match:"1f938-1f3fc-2642-fe0f",uc_greedy:"1f938-1f3fc-2642",shortnames:[":man_cartwheeling_medium_light_skin_tone:"],category:"activity"},":man_cartwheeling_tone3:":{uc_base:"1f938-1f3fd-2642",uc_output:"1f938-1f3fd-200d-2642-fe0f",uc_match:"1f938-1f3fd-2642-fe0f",uc_greedy:"1f938-1f3fd-2642",shortnames:[":man_cartwheeling_medium_skin_tone:"],category:"activity"},":man_cartwheeling_tone4:":{uc_base:"1f938-1f3fe-2642",uc_output:"1f938-1f3fe-200d-2642-fe0f",uc_match:"1f938-1f3fe-2642-fe0f",uc_greedy:"1f938-1f3fe-2642",shortnames:[":man_cartwheeling_medium_dark_skin_tone:"],category:"activity"},":man_cartwheeling_tone5:":{uc_base:"1f938-1f3ff-2642",uc_output:"1f938-1f3ff-200d-2642-fe0f",uc_match:"1f938-1f3ff-2642-fe0f",uc_greedy:"1f938-1f3ff-2642",shortnames:[":man_cartwheeling_dark_skin_tone:"],category:"activity"},":man_climbing_tone1:":{uc_base:"1f9d7-1f3fb-2642",uc_output:"1f9d7-1f3fb-200d-2642-fe0f",uc_match:"1f9d7-1f3fb-2642-fe0f",uc_greedy:"1f9d7-1f3fb-2642",shortnames:[":man_climbing_light_skin_tone:"],category:"activity"},":man_climbing_tone2:":{uc_base:"1f9d7-1f3fc-2642",uc_output:"1f9d7-1f3fc-200d-2642-fe0f",uc_match:"1f9d7-1f3fc-2642-fe0f",uc_greedy:"1f9d7-1f3fc-2642",shortnames:[":man_climbing_medium_light_skin_tone:"],category:"activity"},":man_climbing_tone3:":{uc_base:"1f9d7-1f3fd-2642",uc_output:"1f9d7-1f3fd-200d-2642-fe0f",uc_match:"1f9d7-1f3fd-2642-fe0f",uc_greedy:"1f9d7-1f3fd-2642",shortnames:[":man_climbing_medium_skin_tone:"],category:"activity"},":man_climbing_tone4:":{uc_base:"1f9d7-1f3fe-2642",uc_output:"1f9d7-1f3fe-200d-2642-fe0f",uc_match:"1f9d7-1f3fe-2642-fe0f",uc_greedy:"1f9d7-1f3fe-2642",shortnames:[":man_climbing_medium_dark_skin_tone:"],category:"activity"},":man_climbing_tone5:":{uc_base:"1f9d7-1f3ff-2642",uc_output:"1f9d7-1f3ff-200d-2642-fe0f",uc_match:"1f9d7-1f3ff-2642-fe0f",uc_greedy:"1f9d7-1f3ff-2642",shortnames:[":man_climbing_dark_skin_tone:"],category:"activity"},":man_construction_worker_tone1:":{uc_base:"1f477-1f3fb-2642",uc_output:"1f477-1f3fb-200d-2642-fe0f",uc_match:"1f477-1f3fb-2642-fe0f",uc_greedy:"1f477-1f3fb-2642",shortnames:[":man_construction_worker_light_skin_tone:"],category:"people"},":man_construction_worker_tone2:":{uc_base:"1f477-1f3fc-2642",uc_output:"1f477-1f3fc-200d-2642-fe0f",uc_match:"1f477-1f3fc-2642-fe0f",uc_greedy:"1f477-1f3fc-2642",shortnames:[":man_construction_worker_medium_light_skin_tone:"],category:"people"},":man_construction_worker_tone3:":{uc_base:"1f477-1f3fd-2642",uc_output:"1f477-1f3fd-200d-2642-fe0f",uc_match:"1f477-1f3fd-2642-fe0f",uc_greedy:"1f477-1f3fd-2642",shortnames:[":man_construction_worker_medium_skin_tone:"],category:"people"},":man_construction_worker_tone4:":{uc_base:"1f477-1f3fe-2642",uc_output:"1f477-1f3fe-200d-2642-fe0f",uc_match:"1f477-1f3fe-2642-fe0f",uc_greedy:"1f477-1f3fe-2642",shortnames:[":man_construction_worker_medium_dark_skin_tone:"],category:"people"},":man_construction_worker_tone5:":{uc_base:"1f477-1f3ff-2642",uc_output:"1f477-1f3ff-200d-2642-fe0f",uc_match:"1f477-1f3ff-2642-fe0f",uc_greedy:"1f477-1f3ff-2642",shortnames:[":man_construction_worker_dark_skin_tone:"],category:"people"},":man_detective_tone1:":{uc_base:"1f575-1f3fb-2642",uc_output:"1f575-1f3fb-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fb-2642-fe0f",uc_greedy:"1f575-1f3fb-2642",shortnames:[":man_detective_light_skin_tone:"],category:"people"},":man_detective_tone2:":{uc_base:"1f575-1f3fc-2642",uc_output:"1f575-1f3fc-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fc-2642-fe0f",uc_greedy:"1f575-1f3fc-2642",shortnames:[":man_detective_medium_light_skin_tone:"],category:"people"},":man_detective_tone3:":{uc_base:"1f575-1f3fd-2642",uc_output:"1f575-1f3fd-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fd-2642-fe0f",uc_greedy:"1f575-1f3fd-2642",shortnames:[":man_detective_medium_skin_tone:"],category:"people"},":man_detective_tone4:":{uc_base:"1f575-1f3fe-2642",uc_output:"1f575-1f3fe-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fe-2642-fe0f",uc_greedy:"1f575-1f3fe-2642",shortnames:[":man_detective_medium_dark_skin_tone:"],category:"people"},":man_detective_tone5:":{uc_base:"1f575-1f3ff-2642",uc_output:"1f575-1f3ff-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3ff-2642-fe0f",uc_greedy:"1f575-1f3ff-2642",shortnames:[":man_detective_dark_skin_tone:"],category:"people"},":man_elf_tone1:":{uc_base:"1f9dd-1f3fb-2642",uc_output:"1f9dd-1f3fb-200d-2642-fe0f",uc_match:"1f9dd-1f3fb-2642-fe0f",uc_greedy:"1f9dd-1f3fb-2642",shortnames:[":man_elf_light_skin_tone:"],category:"people"},":man_elf_tone2:":{uc_base:"1f9dd-1f3fc-2642",uc_output:"1f9dd-1f3fc-200d-2642-fe0f",uc_match:"1f9dd-1f3fc-2642-fe0f",uc_greedy:"1f9dd-1f3fc-2642",shortnames:[":man_elf_medium_light_skin_tone:"],category:"people"},":man_elf_tone3:":{uc_base:"1f9dd-1f3fd-2642",uc_output:"1f9dd-1f3fd-200d-2642-fe0f",uc_match:"1f9dd-1f3fd-2642-fe0f",uc_greedy:"1f9dd-1f3fd-2642",shortnames:[":man_elf_medium_skin_tone:"],category:"people"},":man_elf_tone4:":{uc_base:"1f9dd-1f3fe-2642",uc_output:"1f9dd-1f3fe-200d-2642-fe0f",uc_match:"1f9dd-1f3fe-2642-fe0f",uc_greedy:"1f9dd-1f3fe-2642",shortnames:[":man_elf_medium_dark_skin_tone:"],category:"people"},":man_elf_tone5:":{uc_base:"1f9dd-1f3ff-2642",uc_output:"1f9dd-1f3ff-200d-2642-fe0f",uc_match:"1f9dd-1f3ff-2642-fe0f",uc_greedy:"1f9dd-1f3ff-2642",shortnames:[":man_elf_dark_skin_tone:"],category:"people"},":man_facepalming_tone1:":{uc_base:"1f926-1f3fb-2642",uc_output:"1f926-1f3fb-200d-2642-fe0f",uc_match:"1f926-1f3fb-2642-fe0f",uc_greedy:"1f926-1f3fb-2642",shortnames:[":man_facepalming_light_skin_tone:"],category:"people"},":man_facepalming_tone2:":{uc_base:"1f926-1f3fc-2642",uc_output:"1f926-1f3fc-200d-2642-fe0f",uc_match:"1f926-1f3fc-2642-fe0f",uc_greedy:"1f926-1f3fc-2642",shortnames:[":man_facepalming_medium_light_skin_tone:"],category:"people"},":man_facepalming_tone3:":{uc_base:"1f926-1f3fd-2642",uc_output:"1f926-1f3fd-200d-2642-fe0f",uc_match:"1f926-1f3fd-2642-fe0f",uc_greedy:"1f926-1f3fd-2642",shortnames:[":man_facepalming_medium_skin_tone:"],category:"people"},":man_facepalming_tone4:":{uc_base:"1f926-1f3fe-2642",uc_output:"1f926-1f3fe-200d-2642-fe0f",uc_match:"1f926-1f3fe-2642-fe0f",uc_greedy:"1f926-1f3fe-2642",shortnames:[":man_facepalming_medium_dark_skin_tone:"],category:"people"},":man_facepalming_tone5:":{uc_base:"1f926-1f3ff-2642",uc_output:"1f926-1f3ff-200d-2642-fe0f",uc_match:"1f926-1f3ff-2642-fe0f",uc_greedy:"1f926-1f3ff-2642",shortnames:[":man_facepalming_dark_skin_tone:"],category:"people"},":man_fairy_tone1:":{uc_base:"1f9da-1f3fb-2642",uc_output:"1f9da-1f3fb-200d-2642-fe0f",uc_match:"1f9da-1f3fb-2642-fe0f",uc_greedy:"1f9da-1f3fb-2642",shortnames:[":man_fairy_light_skin_tone:"],category:"people"},":man_fairy_tone2:":{uc_base:"1f9da-1f3fc-2642",uc_output:"1f9da-1f3fc-200d-2642-fe0f",uc_match:"1f9da-1f3fc-2642-fe0f",uc_greedy:"1f9da-1f3fc-2642",shortnames:[":man_fairy_medium_light_skin_tone:"],category:"people"},":man_fairy_tone3:":{uc_base:"1f9da-1f3fd-2642",uc_output:"1f9da-1f3fd-200d-2642-fe0f",uc_match:"1f9da-1f3fd-2642-fe0f",uc_greedy:"1f9da-1f3fd-2642",shortnames:[":man_fairy_medium_skin_tone:"],category:"people"},":man_fairy_tone4:":{uc_base:"1f9da-1f3fe-2642",uc_output:"1f9da-1f3fe-200d-2642-fe0f",uc_match:"1f9da-1f3fe-2642-fe0f",uc_greedy:"1f9da-1f3fe-2642",shortnames:[":man_fairy_medium_dark_skin_tone:"],category:"people"},":man_fairy_tone5:":{uc_base:"1f9da-1f3ff-2642",uc_output:"1f9da-1f3ff-200d-2642-fe0f",uc_match:"1f9da-1f3ff-2642-fe0f",uc_greedy:"1f9da-1f3ff-2642",shortnames:[":man_fairy_dark_skin_tone:"],category:"people"},":man_frowning_tone1:":{uc_base:"1f64d-1f3fb-2642",uc_output:"1f64d-1f3fb-200d-2642-fe0f",uc_match:"1f64d-1f3fb-2642-fe0f",uc_greedy:"1f64d-1f3fb-2642",shortnames:[":man_frowning_light_skin_tone:"],category:"people"},":man_frowning_tone2:":{uc_base:"1f64d-1f3fc-2642",uc_output:"1f64d-1f3fc-200d-2642-fe0f",uc_match:"1f64d-1f3fc-2642-fe0f",uc_greedy:"1f64d-1f3fc-2642",shortnames:[":man_frowning_medium_light_skin_tone:"],category:"people"},":man_frowning_tone3:":{uc_base:"1f64d-1f3fd-2642",uc_output:"1f64d-1f3fd-200d-2642-fe0f",uc_match:"1f64d-1f3fd-2642-fe0f",uc_greedy:"1f64d-1f3fd-2642",shortnames:[":man_frowning_medium_skin_tone:"],category:"people"},":man_frowning_tone4:":{uc_base:"1f64d-1f3fe-2642",uc_output:"1f64d-1f3fe-200d-2642-fe0f",uc_match:"1f64d-1f3fe-2642-fe0f",uc_greedy:"1f64d-1f3fe-2642",shortnames:[":man_frowning_medium_dark_skin_tone:"],category:"people"},":man_frowning_tone5:":{uc_base:"1f64d-1f3ff-2642",uc_output:"1f64d-1f3ff-200d-2642-fe0f",uc_match:"1f64d-1f3ff-2642-fe0f",uc_greedy:"1f64d-1f3ff-2642",shortnames:[":man_frowning_dark_skin_tone:"],category:"people"},":man_gesturing_no_tone1:":{uc_base:"1f645-1f3fb-2642",uc_output:"1f645-1f3fb-200d-2642-fe0f",uc_match:"1f645-1f3fb-2642-fe0f",uc_greedy:"1f645-1f3fb-2642",shortnames:[":man_gesturing_no_light_skin_tone:"],category:"people"},":man_gesturing_no_tone2:":{uc_base:"1f645-1f3fc-2642",uc_output:"1f645-1f3fc-200d-2642-fe0f",uc_match:"1f645-1f3fc-2642-fe0f",uc_greedy:"1f645-1f3fc-2642",shortnames:[":man_gesturing_no_medium_light_skin_tone:"],category:"people"},":man_gesturing_no_tone3:":{uc_base:"1f645-1f3fd-2642",uc_output:"1f645-1f3fd-200d-2642-fe0f",uc_match:"1f645-1f3fd-2642-fe0f",uc_greedy:"1f645-1f3fd-2642",shortnames:[":man_gesturing_no_medium_skin_tone:"],category:"people"},":man_gesturing_no_tone4:":{uc_base:"1f645-1f3fe-2642",uc_output:"1f645-1f3fe-200d-2642-fe0f",uc_match:"1f645-1f3fe-2642-fe0f",uc_greedy:"1f645-1f3fe-2642",shortnames:[":man_gesturing_no_medium_dark_skin_tone:"],category:"people"},":man_gesturing_no_tone5:":{uc_base:"1f645-1f3ff-2642",uc_output:"1f645-1f3ff-200d-2642-fe0f",uc_match:"1f645-1f3ff-2642-fe0f",uc_greedy:"1f645-1f3ff-2642",shortnames:[":man_gesturing_no_dark_skin_tone:"],category:"people"},":man_gesturing_ok_tone1:":{uc_base:"1f646-1f3fb-2642",uc_output:"1f646-1f3fb-200d-2642-fe0f",uc_match:"1f646-1f3fb-2642-fe0f",uc_greedy:"1f646-1f3fb-2642",shortnames:[":man_gesturing_ok_light_skin_tone:"],category:"people"},":man_gesturing_ok_tone2:":{uc_base:"1f646-1f3fc-2642",uc_output:"1f646-1f3fc-200d-2642-fe0f",uc_match:"1f646-1f3fc-2642-fe0f",uc_greedy:"1f646-1f3fc-2642",shortnames:[":man_gesturing_ok_medium_light_skin_tone:"],category:"people"},":man_gesturing_ok_tone3:":{uc_base:"1f646-1f3fd-2642",uc_output:"1f646-1f3fd-200d-2642-fe0f",uc_match:"1f646-1f3fd-2642-fe0f",uc_greedy:"1f646-1f3fd-2642",shortnames:[":man_gesturing_ok_medium_skin_tone:"],category:"people"},":man_gesturing_ok_tone4:":{uc_base:"1f646-1f3fe-2642",uc_output:"1f646-1f3fe-200d-2642-fe0f",uc_match:"1f646-1f3fe-2642-fe0f",uc_greedy:"1f646-1f3fe-2642",shortnames:[":man_gesturing_ok_medium_dark_skin_tone:"],category:"people"},":man_gesturing_ok_tone5:":{uc_base:"1f646-1f3ff-2642",uc_output:"1f646-1f3ff-200d-2642-fe0f",uc_match:"1f646-1f3ff-2642-fe0f",uc_greedy:"1f646-1f3ff-2642",shortnames:[":man_gesturing_ok_dark_skin_tone:"],category:"people"},":man_getting_face_massage_tone1:":{uc_base:"1f486-1f3fb-2642",uc_output:"1f486-1f3fb-200d-2642-fe0f",uc_match:"1f486-1f3fb-2642-fe0f",uc_greedy:"1f486-1f3fb-2642",shortnames:[":man_getting_face_massage_light_skin_tone:"],category:"people"},":man_getting_face_massage_tone2:":{uc_base:"1f486-1f3fc-2642",uc_output:"1f486-1f3fc-200d-2642-fe0f",uc_match:"1f486-1f3fc-2642-fe0f",uc_greedy:"1f486-1f3fc-2642",shortnames:[":man_getting_face_massage_medium_light_skin_tone:"],category:"people"},":man_getting_face_massage_tone3:":{uc_base:"1f486-1f3fd-2642",uc_output:"1f486-1f3fd-200d-2642-fe0f",uc_match:"1f486-1f3fd-2642-fe0f",uc_greedy:"1f486-1f3fd-2642",shortnames:[":man_getting_face_massage_medium_skin_tone:"],category:"people"},":man_getting_face_massage_tone4:":{uc_base:"1f486-1f3fe-2642",uc_output:"1f486-1f3fe-200d-2642-fe0f",uc_match:"1f486-1f3fe-2642-fe0f",uc_greedy:"1f486-1f3fe-2642",shortnames:[":man_getting_face_massage_medium_dark_skin_tone:"],category:"people"},":man_getting_face_massage_tone5:":{uc_base:"1f486-1f3ff-2642",uc_output:"1f486-1f3ff-200d-2642-fe0f",uc_match:"1f486-1f3ff-2642-fe0f",uc_greedy:"1f486-1f3ff-2642",shortnames:[":man_getting_face_massage_dark_skin_tone:"],category:"people"},":man_getting_haircut_tone1:":{uc_base:"1f487-1f3fb-2642",uc_output:"1f487-1f3fb-200d-2642-fe0f",uc_match:"1f487-1f3fb-2642-fe0f",uc_greedy:"1f487-1f3fb-2642",shortnames:[":man_getting_haircut_light_skin_tone:"],category:"people"},":man_getting_haircut_tone2:":{uc_base:"1f487-1f3fc-2642",uc_output:"1f487-1f3fc-200d-2642-fe0f",uc_match:"1f487-1f3fc-2642-fe0f",uc_greedy:"1f487-1f3fc-2642",shortnames:[":man_getting_haircut_medium_light_skin_tone:"],category:"people"},":man_getting_haircut_tone3:":{uc_base:"1f487-1f3fd-2642",uc_output:"1f487-1f3fd-200d-2642-fe0f",uc_match:"1f487-1f3fd-2642-fe0f",uc_greedy:"1f487-1f3fd-2642",shortnames:[":man_getting_haircut_medium_skin_tone:"],category:"people"},":man_getting_haircut_tone4:":{uc_base:"1f487-1f3fe-2642",uc_output:"1f487-1f3fe-200d-2642-fe0f",uc_match:"1f487-1f3fe-2642-fe0f",uc_greedy:"1f487-1f3fe-2642",shortnames:[":man_getting_haircut_medium_dark_skin_tone:"],category:"people"},":man_getting_haircut_tone5:":{uc_base:"1f487-1f3ff-2642",uc_output:"1f487-1f3ff-200d-2642-fe0f",uc_match:"1f487-1f3ff-2642-fe0f",uc_greedy:"1f487-1f3ff-2642",shortnames:[":man_getting_haircut_dark_skin_tone:"],category:"people"},":man_golfing_tone1:":{uc_base:"1f3cc-1f3fb-2642",uc_output:"1f3cc-1f3fb-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fb-2642-fe0f",uc_greedy:"1f3cc-1f3fb-2642",shortnames:[":man_golfing_light_skin_tone:"],category:"activity"},":man_golfing_tone2:":{uc_base:"1f3cc-1f3fc-2642",uc_output:"1f3cc-1f3fc-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fc-2642-fe0f",uc_greedy:"1f3cc-1f3fc-2642",shortnames:[":man_golfing_medium_light_skin_tone:"],category:"activity"},":man_golfing_tone3:":{uc_base:"1f3cc-1f3fd-2642",uc_output:"1f3cc-1f3fd-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fd-2642-fe0f",uc_greedy:"1f3cc-1f3fd-2642",shortnames:[":man_golfing_medium_skin_tone:"],category:"activity"},":man_golfing_tone4:":{uc_base:"1f3cc-1f3fe-2642",uc_output:"1f3cc-1f3fe-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fe-2642-fe0f",uc_greedy:"1f3cc-1f3fe-2642",shortnames:[":man_golfing_medium_dark_skin_tone:"],category:"activity"},":man_golfing_tone5:":{uc_base:"1f3cc-1f3ff-2642",uc_output:"1f3cc-1f3ff-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3ff-2642-fe0f",uc_greedy:"1f3cc-1f3ff-2642",shortnames:[":man_golfing_dark_skin_tone:"],category:"activity"},":man_guard_tone1:":{uc_base:"1f482-1f3fb-2642",uc_output:"1f482-1f3fb-200d-2642-fe0f",uc_match:"1f482-1f3fb-2642-fe0f",uc_greedy:"1f482-1f3fb-2642",shortnames:[":man_guard_light_skin_tone:"],category:"people"},":man_guard_tone2:":{uc_base:"1f482-1f3fc-2642",uc_output:"1f482-1f3fc-200d-2642-fe0f",uc_match:"1f482-1f3fc-2642-fe0f",uc_greedy:"1f482-1f3fc-2642",shortnames:[":man_guard_medium_light_skin_tone:"],category:"people"},":man_guard_tone3:":{uc_base:"1f482-1f3fd-2642",uc_output:"1f482-1f3fd-200d-2642-fe0f",uc_match:"1f482-1f3fd-2642-fe0f",uc_greedy:"1f482-1f3fd-2642",shortnames:[":man_guard_medium_skin_tone:"],category:"people"},":man_guard_tone4:":{uc_base:"1f482-1f3fe-2642",uc_output:"1f482-1f3fe-200d-2642-fe0f",uc_match:"1f482-1f3fe-2642-fe0f",uc_greedy:"1f482-1f3fe-2642",shortnames:[":man_guard_medium_dark_skin_tone:"],category:"people"},":man_guard_tone5:":{uc_base:"1f482-1f3ff-2642",uc_output:"1f482-1f3ff-200d-2642-fe0f",uc_match:"1f482-1f3ff-2642-fe0f",uc_greedy:"1f482-1f3ff-2642",shortnames:[":man_guard_dark_skin_tone:"],category:"people"},":man_health_worker_tone1:":{uc_base:"1f468-1f3fb-2695",uc_output:"1f468-1f3fb-200d-2695-fe0f",uc_match:"1f468-1f3fb-2695-fe0f",uc_greedy:"1f468-1f3fb-2695",shortnames:[":man_health_worker_light_skin_tone:"],category:"people"},":man_health_worker_tone2:":{uc_base:"1f468-1f3fc-2695",uc_output:"1f468-1f3fc-200d-2695-fe0f",uc_match:"1f468-1f3fc-2695-fe0f",uc_greedy:"1f468-1f3fc-2695",shortnames:[":man_health_worker_medium_light_skin_tone:"],category:"people"},":man_health_worker_tone3:":{uc_base:"1f468-1f3fd-2695",uc_output:"1f468-1f3fd-200d-2695-fe0f",uc_match:"1f468-1f3fd-2695-fe0f",uc_greedy:"1f468-1f3fd-2695",shortnames:[":man_health_worker_medium_skin_tone:"],category:"people"},":man_health_worker_tone4:":{uc_base:"1f468-1f3fe-2695",uc_output:"1f468-1f3fe-200d-2695-fe0f",uc_match:"1f468-1f3fe-2695-fe0f",uc_greedy:"1f468-1f3fe-2695",shortnames:[":man_health_worker_medium_dark_skin_tone:"],category:"people"},":man_health_worker_tone5:":{uc_base:"1f468-1f3ff-2695",uc_output:"1f468-1f3ff-200d-2695-fe0f",uc_match:"1f468-1f3ff-2695-fe0f",uc_greedy:"1f468-1f3ff-2695",shortnames:[":man_health_worker_dark_skin_tone:"],category:"people"},":man_in_lotus_position_tone1:":{uc_base:"1f9d8-1f3fb-2642",uc_output:"1f9d8-1f3fb-200d-2642-fe0f",uc_match:"1f9d8-1f3fb-2642-fe0f",uc_greedy:"1f9d8-1f3fb-2642",shortnames:[":man_in_lotus_position_light_skin_tone:"],category:"activity"},":man_in_lotus_position_tone2:":{uc_base:"1f9d8-1f3fc-2642",uc_output:"1f9d8-1f3fc-200d-2642-fe0f",uc_match:"1f9d8-1f3fc-2642-fe0f",uc_greedy:"1f9d8-1f3fc-2642",shortnames:[":man_in_lotus_position_medium_light_skin_tone:"],category:"activity"},":man_in_lotus_position_tone3:":{uc_base:"1f9d8-1f3fd-2642",uc_output:"1f9d8-1f3fd-200d-2642-fe0f",uc_match:"1f9d8-1f3fd-2642-fe0f",uc_greedy:"1f9d8-1f3fd-2642",shortnames:[":man_in_lotus_position_medium_skin_tone:"],category:"activity"},":man_in_lotus_position_tone4:":{uc_base:"1f9d8-1f3fe-2642",uc_output:"1f9d8-1f3fe-200d-2642-fe0f",uc_match:"1f9d8-1f3fe-2642-fe0f",uc_greedy:"1f9d8-1f3fe-2642",shortnames:[":man_in_lotus_position_medium_dark_skin_tone:"],category:"activity"},":man_in_lotus_position_tone5:":{uc_base:"1f9d8-1f3ff-2642",uc_output:"1f9d8-1f3ff-200d-2642-fe0f",uc_match:"1f9d8-1f3ff-2642-fe0f",uc_greedy:"1f9d8-1f3ff-2642",shortnames:[":man_in_lotus_position_dark_skin_tone:"],category:"activity"},":man_in_steamy_room_tone1:":{uc_base:"1f9d6-1f3fb-2642",uc_output:"1f9d6-1f3fb-200d-2642-fe0f",uc_match:"1f9d6-1f3fb-2642-fe0f",uc_greedy:"1f9d6-1f3fb-2642",shortnames:[":man_in_steamy_room_light_skin_tone:"],category:"people"},":man_in_steamy_room_tone2:":{uc_base:"1f9d6-1f3fc-2642",uc_output:"1f9d6-1f3fc-200d-2642-fe0f",uc_match:"1f9d6-1f3fc-2642-fe0f",uc_greedy:"1f9d6-1f3fc-2642",shortnames:[":man_in_steamy_room_medium_light_skin_tone:"],category:"people"},":man_in_steamy_room_tone3:":{uc_base:"1f9d6-1f3fd-2642",uc_output:"1f9d6-1f3fd-200d-2642-fe0f",uc_match:"1f9d6-1f3fd-2642-fe0f",uc_greedy:"1f9d6-1f3fd-2642",shortnames:[":man_in_steamy_room_medium_skin_tone:"],category:"people"},":man_in_steamy_room_tone4:":{uc_base:"1f9d6-1f3fe-2642",uc_output:"1f9d6-1f3fe-200d-2642-fe0f",uc_match:"1f9d6-1f3fe-2642-fe0f",uc_greedy:"1f9d6-1f3fe-2642",shortnames:[":man_in_steamy_room_medium_dark_skin_tone:"],category:"people"},":man_in_steamy_room_tone5:":{uc_base:"1f9d6-1f3ff-2642",uc_output:"1f9d6-1f3ff-200d-2642-fe0f",uc_match:"1f9d6-1f3ff-2642-fe0f",uc_greedy:"1f9d6-1f3ff-2642",shortnames:[":man_in_steamy_room_dark_skin_tone:"],category:"people"},":man_judge_tone1:":{uc_base:"1f468-1f3fb-2696",uc_output:"1f468-1f3fb-200d-2696-fe0f",uc_match:"1f468-1f3fb-2696-fe0f",uc_greedy:"1f468-1f3fb-2696",shortnames:[":man_judge_light_skin_tone:"],category:"people"},":man_judge_tone2:":{uc_base:"1f468-1f3fc-2696",uc_output:"1f468-1f3fc-200d-2696-fe0f",uc_match:"1f468-1f3fc-2696-fe0f",uc_greedy:"1f468-1f3fc-2696",shortnames:[":man_judge_medium_light_skin_tone:"],category:"people"},":man_judge_tone3:":{uc_base:"1f468-1f3fd-2696",uc_output:"1f468-1f3fd-200d-2696-fe0f",uc_match:"1f468-1f3fd-2696-fe0f",uc_greedy:"1f468-1f3fd-2696",shortnames:[":man_judge_medium_skin_tone:"],category:"people"},":man_judge_tone4:":{uc_base:"1f468-1f3fe-2696",uc_output:"1f468-1f3fe-200d-2696-fe0f",uc_match:"1f468-1f3fe-2696-fe0f",uc_greedy:"1f468-1f3fe-2696",shortnames:[":man_judge_medium_dark_skin_tone:"],category:"people"},":man_judge_tone5:":{uc_base:"1f468-1f3ff-2696",uc_output:"1f468-1f3ff-200d-2696-fe0f",uc_match:"1f468-1f3ff-2696-fe0f",uc_greedy:"1f468-1f3ff-2696",shortnames:[":man_judge_dark_skin_tone:"],category:"people"},":man_juggling_tone1:":{uc_base:"1f939-1f3fb-2642",uc_output:"1f939-1f3fb-200d-2642-fe0f",uc_match:"1f939-1f3fb-2642-fe0f",uc_greedy:"1f939-1f3fb-2642",shortnames:[":man_juggling_light_skin_tone:"],category:"activity"},":man_juggling_tone2:":{uc_base:"1f939-1f3fc-2642",uc_output:"1f939-1f3fc-200d-2642-fe0f",uc_match:"1f939-1f3fc-2642-fe0f",uc_greedy:"1f939-1f3fc-2642",shortnames:[":man_juggling_medium_light_skin_tone:"],category:"activity"},":man_juggling_tone3:":{uc_base:"1f939-1f3fd-2642",uc_output:"1f939-1f3fd-200d-2642-fe0f",uc_match:"1f939-1f3fd-2642-fe0f",uc_greedy:"1f939-1f3fd-2642",shortnames:[":man_juggling_medium_skin_tone:"],category:"activity"},":man_juggling_tone4:":{uc_base:"1f939-1f3fe-2642",uc_output:"1f939-1f3fe-200d-2642-fe0f",uc_match:"1f939-1f3fe-2642-fe0f",uc_greedy:"1f939-1f3fe-2642",shortnames:[":man_juggling_medium_dark_skin_tone:"],category:"activity"},":man_juggling_tone5:":{uc_base:"1f939-1f3ff-2642",uc_output:"1f939-1f3ff-200d-2642-fe0f",uc_match:"1f939-1f3ff-2642-fe0f",uc_greedy:"1f939-1f3ff-2642",shortnames:[":man_juggling_dark_skin_tone:"],category:"activity"},":man_lifting_weights_tone1:":{uc_base:"1f3cb-1f3fb-2642",uc_output:"1f3cb-1f3fb-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fb-2642-fe0f",uc_greedy:"1f3cb-1f3fb-2642",shortnames:[":man_lifting_weights_light_skin_tone:"],category:"activity"},":man_lifting_weights_tone2:":{uc_base:"1f3cb-1f3fc-2642",uc_output:"1f3cb-1f3fc-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fc-2642-fe0f",uc_greedy:"1f3cb-1f3fc-2642",shortnames:[":man_lifting_weights_medium_light_skin_tone:"],category:"activity"},":man_lifting_weights_tone3:":{uc_base:"1f3cb-1f3fd-2642",uc_output:"1f3cb-1f3fd-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fd-2642-fe0f",uc_greedy:"1f3cb-1f3fd-2642",shortnames:[":man_lifting_weights_medium_skin_tone:"],category:"activity"},":man_lifting_weights_tone4:":{uc_base:"1f3cb-1f3fe-2642",uc_output:"1f3cb-1f3fe-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fe-2642-fe0f",uc_greedy:"1f3cb-1f3fe-2642",shortnames:[":man_lifting_weights_medium_dark_skin_tone:"],category:"activity"},":man_lifting_weights_tone5:":{uc_base:"1f3cb-1f3ff-2642",uc_output:"1f3cb-1f3ff-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3ff-2642-fe0f",uc_greedy:"1f3cb-1f3ff-2642",shortnames:[":man_lifting_weights_dark_skin_tone:"],category:"activity"},":man_mage_tone1:":{uc_base:"1f9d9-1f3fb-2642",uc_output:"1f9d9-1f3fb-200d-2642-fe0f",uc_match:"1f9d9-1f3fb-2642-fe0f",uc_greedy:"1f9d9-1f3fb-2642",shortnames:[":man_mage_light_skin_tone:"],category:"people"},":man_mage_tone2:":{uc_base:"1f9d9-1f3fc-2642",uc_output:"1f9d9-1f3fc-200d-2642-fe0f",uc_match:"1f9d9-1f3fc-2642-fe0f",uc_greedy:"1f9d9-1f3fc-2642",shortnames:[":man_mage_medium_light_skin_tone:"],category:"people"},":man_mage_tone3:":{uc_base:"1f9d9-1f3fd-2642",uc_output:"1f9d9-1f3fd-200d-2642-fe0f",uc_match:"1f9d9-1f3fd-2642-fe0f",uc_greedy:"1f9d9-1f3fd-2642",shortnames:[":man_mage_medium_skin_tone:"],category:"people"},":man_mage_tone4:":{uc_base:"1f9d9-1f3fe-2642",uc_output:"1f9d9-1f3fe-200d-2642-fe0f",uc_match:"1f9d9-1f3fe-2642-fe0f",uc_greedy:"1f9d9-1f3fe-2642",shortnames:[":man_mage_medium_dark_skin_tone:"],category:"people"},":man_mage_tone5:":{uc_base:"1f9d9-1f3ff-2642",uc_output:"1f9d9-1f3ff-200d-2642-fe0f",uc_match:"1f9d9-1f3ff-2642-fe0f",uc_greedy:"1f9d9-1f3ff-2642",shortnames:[":man_mage_dark_skin_tone:"],category:"people"},":man_mountain_biking_tone1:":{uc_base:"1f6b5-1f3fb-2642",uc_output:"1f6b5-1f3fb-200d-2642-fe0f",uc_match:"1f6b5-1f3fb-2642-fe0f",uc_greedy:"1f6b5-1f3fb-2642",shortnames:[":man_mountain_biking_light_skin_tone:"],category:"activity"},":man_mountain_biking_tone2:":{uc_base:"1f6b5-1f3fc-2642",uc_output:"1f6b5-1f3fc-200d-2642-fe0f",uc_match:"1f6b5-1f3fc-2642-fe0f",uc_greedy:"1f6b5-1f3fc-2642",shortnames:[":man_mountain_biking_medium_light_skin_tone:"],category:"activity"},":man_mountain_biking_tone3:":{uc_base:"1f6b5-1f3fd-2642",uc_output:"1f6b5-1f3fd-200d-2642-fe0f",uc_match:"1f6b5-1f3fd-2642-fe0f",uc_greedy:"1f6b5-1f3fd-2642",shortnames:[":man_mountain_biking_medium_skin_tone:"],category:"activity"},":man_mountain_biking_tone4:":{uc_base:"1f6b5-1f3fe-2642",uc_output:"1f6b5-1f3fe-200d-2642-fe0f",uc_match:"1f6b5-1f3fe-2642-fe0f",uc_greedy:"1f6b5-1f3fe-2642",shortnames:[":man_mountain_biking_medium_dark_skin_tone:"],category:"activity"},":man_mountain_biking_tone5:":{uc_base:"1f6b5-1f3ff-2642",uc_output:"1f6b5-1f3ff-200d-2642-fe0f",uc_match:"1f6b5-1f3ff-2642-fe0f",uc_greedy:"1f6b5-1f3ff-2642",shortnames:[":man_mountain_biking_dark_skin_tone:"],category:"activity"},":man_pilot_tone1:":{uc_base:"1f468-1f3fb-2708",uc_output:"1f468-1f3fb-200d-2708-fe0f",uc_match:"1f468-1f3fb-2708-fe0f",uc_greedy:"1f468-1f3fb-2708",shortnames:[":man_pilot_light_skin_tone:"],category:"people"},":man_pilot_tone2:":{uc_base:"1f468-1f3fc-2708",uc_output:"1f468-1f3fc-200d-2708-fe0f",uc_match:"1f468-1f3fc-2708-fe0f",uc_greedy:"1f468-1f3fc-2708",shortnames:[":man_pilot_medium_light_skin_tone:"],category:"people"},":man_pilot_tone3:":{uc_base:"1f468-1f3fd-2708",uc_output:"1f468-1f3fd-200d-2708-fe0f",uc_match:"1f468-1f3fd-2708-fe0f",uc_greedy:"1f468-1f3fd-2708",shortnames:[":man_pilot_medium_skin_tone:"],category:"people"},":man_pilot_tone4:":{uc_base:"1f468-1f3fe-2708",uc_output:"1f468-1f3fe-200d-2708-fe0f",uc_match:"1f468-1f3fe-2708-fe0f",uc_greedy:"1f468-1f3fe-2708",shortnames:[":man_pilot_medium_dark_skin_tone:"],category:"people"},":man_pilot_tone5:":{uc_base:"1f468-1f3ff-2708",uc_output:"1f468-1f3ff-200d-2708-fe0f",uc_match:"1f468-1f3ff-2708-fe0f",uc_greedy:"1f468-1f3ff-2708",shortnames:[":man_pilot_dark_skin_tone:"],category:"people"},":man_playing_handball_tone1:":{uc_base:"1f93e-1f3fb-2642",uc_output:"1f93e-1f3fb-200d-2642-fe0f",uc_match:"1f93e-1f3fb-2642-fe0f",uc_greedy:"1f93e-1f3fb-2642",shortnames:[":man_playing_handball_light_skin_tone:"],category:"activity"},":man_playing_handball_tone2:":{uc_base:"1f93e-1f3fc-2642",uc_output:"1f93e-1f3fc-200d-2642-fe0f",uc_match:"1f93e-1f3fc-2642-fe0f",uc_greedy:"1f93e-1f3fc-2642",shortnames:[":man_playing_handball_medium_light_skin_tone:"],category:"activity"},":man_playing_handball_tone3:":{uc_base:"1f93e-1f3fd-2642",uc_output:"1f93e-1f3fd-200d-2642-fe0f",uc_match:"1f93e-1f3fd-2642-fe0f",uc_greedy:"1f93e-1f3fd-2642",shortnames:[":man_playing_handball_medium_skin_tone:"],category:"activity"},":man_playing_handball_tone4:":{uc_base:"1f93e-1f3fe-2642",uc_output:"1f93e-1f3fe-200d-2642-fe0f",uc_match:"1f93e-1f3fe-2642-fe0f",uc_greedy:"1f93e-1f3fe-2642",shortnames:[":man_playing_handball_medium_dark_skin_tone:"],category:"activity"},":man_playing_handball_tone5:":{uc_base:"1f93e-1f3ff-2642",uc_output:"1f93e-1f3ff-200d-2642-fe0f",uc_match:"1f93e-1f3ff-2642-fe0f",uc_greedy:"1f93e-1f3ff-2642",shortnames:[":man_playing_handball_dark_skin_tone:"],category:"activity"},":man_playing_water_polo_tone1:":{uc_base:"1f93d-1f3fb-2642",uc_output:"1f93d-1f3fb-200d-2642-fe0f",uc_match:"1f93d-1f3fb-2642-fe0f",uc_greedy:"1f93d-1f3fb-2642",shortnames:[":man_playing_water_polo_light_skin_tone:"],category:"activity"},":man_playing_water_polo_tone2:":{uc_base:"1f93d-1f3fc-2642",uc_output:"1f93d-1f3fc-200d-2642-fe0f",uc_match:"1f93d-1f3fc-2642-fe0f",uc_greedy:"1f93d-1f3fc-2642",shortnames:[":man_playing_water_polo_medium_light_skin_tone:"],category:"activity"},":man_playing_water_polo_tone3:":{uc_base:"1f93d-1f3fd-2642",uc_output:"1f93d-1f3fd-200d-2642-fe0f",uc_match:"1f93d-1f3fd-2642-fe0f",uc_greedy:"1f93d-1f3fd-2642",shortnames:[":man_playing_water_polo_medium_skin_tone:"],category:"activity"},":man_playing_water_polo_tone4:":{uc_base:"1f93d-1f3fe-2642",uc_output:"1f93d-1f3fe-200d-2642-fe0f",uc_match:"1f93d-1f3fe-2642-fe0f",uc_greedy:"1f93d-1f3fe-2642",shortnames:[":man_playing_water_polo_medium_dark_skin_tone:"],category:"activity"},":man_playing_water_polo_tone5:":{uc_base:"1f93d-1f3ff-2642",uc_output:"1f93d-1f3ff-200d-2642-fe0f",uc_match:"1f93d-1f3ff-2642-fe0f",uc_greedy:"1f93d-1f3ff-2642",shortnames:[":man_playing_water_polo_dark_skin_tone:"],category:"activity"},":man_police_officer_tone1:":{uc_base:"1f46e-1f3fb-2642",uc_output:"1f46e-1f3fb-200d-2642-fe0f",uc_match:"1f46e-1f3fb-2642-fe0f",uc_greedy:"1f46e-1f3fb-2642",shortnames:[":man_police_officer_light_skin_tone:"],category:"people"},":man_police_officer_tone2:":{uc_base:"1f46e-1f3fc-2642",uc_output:"1f46e-1f3fc-200d-2642-fe0f",uc_match:"1f46e-1f3fc-2642-fe0f",uc_greedy:"1f46e-1f3fc-2642",shortnames:[":man_police_officer_medium_light_skin_tone:"],category:"people"},":man_police_officer_tone3:":{uc_base:"1f46e-1f3fd-2642",uc_output:"1f46e-1f3fd-200d-2642-fe0f",uc_match:"1f46e-1f3fd-2642-fe0f",uc_greedy:"1f46e-1f3fd-2642",shortnames:[":man_police_officer_medium_skin_tone:"],category:"people"},":man_police_officer_tone4:":{uc_base:"1f46e-1f3fe-2642",uc_output:"1f46e-1f3fe-200d-2642-fe0f",uc_match:"1f46e-1f3fe-2642-fe0f",uc_greedy:"1f46e-1f3fe-2642",shortnames:[":man_police_officer_medium_dark_skin_tone:"],category:"people"},":man_police_officer_tone5:":{uc_base:"1f46e-1f3ff-2642",uc_output:"1f46e-1f3ff-200d-2642-fe0f",uc_match:"1f46e-1f3ff-2642-fe0f",uc_greedy:"1f46e-1f3ff-2642",shortnames:[":man_police_officer_dark_skin_tone:"],category:"people"},":man_pouting_tone1:":{uc_base:"1f64e-1f3fb-2642",uc_output:"1f64e-1f3fb-200d-2642-fe0f",uc_match:"1f64e-1f3fb-2642-fe0f",uc_greedy:"1f64e-1f3fb-2642",shortnames:[":man_pouting_light_skin_tone:"],category:"people"},":man_pouting_tone2:":{uc_base:"1f64e-1f3fc-2642",uc_output:"1f64e-1f3fc-200d-2642-fe0f",uc_match:"1f64e-1f3fc-2642-fe0f",uc_greedy:"1f64e-1f3fc-2642",shortnames:[":man_pouting_medium_light_skin_tone:"],category:"people"},":man_pouting_tone3:":{uc_base:"1f64e-1f3fd-2642",uc_output:"1f64e-1f3fd-200d-2642-fe0f",uc_match:"1f64e-1f3fd-2642-fe0f",uc_greedy:"1f64e-1f3fd-2642",shortnames:[":man_pouting_medium_skin_tone:"],category:"people"},":man_pouting_tone4:":{uc_base:"1f64e-1f3fe-2642",uc_output:"1f64e-1f3fe-200d-2642-fe0f",uc_match:"1f64e-1f3fe-2642-fe0f",uc_greedy:"1f64e-1f3fe-2642",shortnames:[":man_pouting_medium_dark_skin_tone:"],category:"people"},":man_pouting_tone5:":{uc_base:"1f64e-1f3ff-2642",uc_output:"1f64e-1f3ff-200d-2642-fe0f",uc_match:"1f64e-1f3ff-2642-fe0f",uc_greedy:"1f64e-1f3ff-2642",shortnames:[":man_pouting_dark_skin_tone:"],category:"people"},":man_raising_hand_tone1:":{uc_base:"1f64b-1f3fb-2642",uc_output:"1f64b-1f3fb-200d-2642-fe0f",uc_match:"1f64b-1f3fb-2642-fe0f",uc_greedy:"1f64b-1f3fb-2642",shortnames:[":man_raising_hand_light_skin_tone:"],category:"people"},":man_raising_hand_tone2:":{uc_base:"1f64b-1f3fc-2642",uc_output:"1f64b-1f3fc-200d-2642-fe0f",uc_match:"1f64b-1f3fc-2642-fe0f",uc_greedy:"1f64b-1f3fc-2642",shortnames:[":man_raising_hand_medium_light_skin_tone:"],category:"people"},":man_raising_hand_tone3:":{uc_base:"1f64b-1f3fd-2642",uc_output:"1f64b-1f3fd-200d-2642-fe0f",uc_match:"1f64b-1f3fd-2642-fe0f",uc_greedy:"1f64b-1f3fd-2642",shortnames:[":man_raising_hand_medium_skin_tone:"],category:"people"},":man_raising_hand_tone4:":{uc_base:"1f64b-1f3fe-2642",uc_output:"1f64b-1f3fe-200d-2642-fe0f",uc_match:"1f64b-1f3fe-2642-fe0f",uc_greedy:"1f64b-1f3fe-2642",shortnames:[":man_raising_hand_medium_dark_skin_tone:"],category:"people"},":man_raising_hand_tone5:":{uc_base:"1f64b-1f3ff-2642",uc_output:"1f64b-1f3ff-200d-2642-fe0f",uc_match:"1f64b-1f3ff-2642-fe0f",uc_greedy:"1f64b-1f3ff-2642",shortnames:[":man_raising_hand_dark_skin_tone:"],category:"people"},":man_rowing_boat_tone1:":{uc_base:"1f6a3-1f3fb-2642",uc_output:"1f6a3-1f3fb-200d-2642-fe0f",uc_match:"1f6a3-1f3fb-2642-fe0f",uc_greedy:"1f6a3-1f3fb-2642",shortnames:[":man_rowing_boat_light_skin_tone:"],category:"activity"},":man_rowing_boat_tone2:":{uc_base:"1f6a3-1f3fc-2642",uc_output:"1f6a3-1f3fc-200d-2642-fe0f",uc_match:"1f6a3-1f3fc-2642-fe0f",uc_greedy:"1f6a3-1f3fc-2642",shortnames:[":man_rowing_boat_medium_light_skin_tone:"],category:"activity"},":man_rowing_boat_tone3:":{uc_base:"1f6a3-1f3fd-2642",uc_output:"1f6a3-1f3fd-200d-2642-fe0f",uc_match:"1f6a3-1f3fd-2642-fe0f",uc_greedy:"1f6a3-1f3fd-2642",shortnames:[":man_rowing_boat_medium_skin_tone:"],category:"activity"},":man_rowing_boat_tone4:":{uc_base:"1f6a3-1f3fe-2642",uc_output:"1f6a3-1f3fe-200d-2642-fe0f",uc_match:"1f6a3-1f3fe-2642-fe0f",uc_greedy:"1f6a3-1f3fe-2642",shortnames:[":man_rowing_boat_medium_dark_skin_tone:"],category:"activity"},":man_rowing_boat_tone5:":{uc_base:"1f6a3-1f3ff-2642",uc_output:"1f6a3-1f3ff-200d-2642-fe0f",uc_match:"1f6a3-1f3ff-2642-fe0f",uc_greedy:"1f6a3-1f3ff-2642",shortnames:[":man_rowing_boat_dark_skin_tone:"],category:"activity"},":man_running_tone1:":{uc_base:"1f3c3-1f3fb-2642",uc_output:"1f3c3-1f3fb-200d-2642-fe0f",uc_match:"1f3c3-1f3fb-2642-fe0f",uc_greedy:"1f3c3-1f3fb-2642",shortnames:[":man_running_light_skin_tone:"],category:"people"},":man_running_tone2:":{uc_base:"1f3c3-1f3fc-2642",uc_output:"1f3c3-1f3fc-200d-2642-fe0f",uc_match:"1f3c3-1f3fc-2642-fe0f",uc_greedy:"1f3c3-1f3fc-2642",shortnames:[":man_running_medium_light_skin_tone:"],category:"people"},":man_running_tone3:":{uc_base:"1f3c3-1f3fd-2642",uc_output:"1f3c3-1f3fd-200d-2642-fe0f",uc_match:"1f3c3-1f3fd-2642-fe0f",uc_greedy:"1f3c3-1f3fd-2642",shortnames:[":man_running_medium_skin_tone:"],category:"people"},":man_running_tone4:":{uc_base:"1f3c3-1f3fe-2642",uc_output:"1f3c3-1f3fe-200d-2642-fe0f",uc_match:"1f3c3-1f3fe-2642-fe0f",uc_greedy:"1f3c3-1f3fe-2642",shortnames:[":man_running_medium_dark_skin_tone:"],category:"people"},":man_running_tone5:":{uc_base:"1f3c3-1f3ff-2642",uc_output:"1f3c3-1f3ff-200d-2642-fe0f",uc_match:"1f3c3-1f3ff-2642-fe0f",uc_greedy:"1f3c3-1f3ff-2642",shortnames:[":man_running_dark_skin_tone:"],category:"people"},":man_shrugging_tone1:":{uc_base:"1f937-1f3fb-2642",uc_output:"1f937-1f3fb-200d-2642-fe0f",uc_match:"1f937-1f3fb-2642-fe0f",uc_greedy:"1f937-1f3fb-2642",shortnames:[":man_shrugging_light_skin_tone:"],category:"people"},":man_shrugging_tone2:":{uc_base:"1f937-1f3fc-2642",uc_output:"1f937-1f3fc-200d-2642-fe0f",uc_match:"1f937-1f3fc-2642-fe0f",uc_greedy:"1f937-1f3fc-2642",shortnames:[":man_shrugging_medium_light_skin_tone:"],category:"people"},":man_shrugging_tone3:":{uc_base:"1f937-1f3fd-2642",uc_output:"1f937-1f3fd-200d-2642-fe0f",uc_match:"1f937-1f3fd-2642-fe0f",uc_greedy:"1f937-1f3fd-2642",shortnames:[":man_shrugging_medium_skin_tone:"],category:"people"},":man_shrugging_tone4:":{uc_base:"1f937-1f3fe-2642",uc_output:"1f937-1f3fe-200d-2642-fe0f",uc_match:"1f937-1f3fe-2642-fe0f",uc_greedy:"1f937-1f3fe-2642",shortnames:[":man_shrugging_medium_dark_skin_tone:"],category:"people"},":man_shrugging_tone5:":{uc_base:"1f937-1f3ff-2642",uc_output:"1f937-1f3ff-200d-2642-fe0f",uc_match:"1f937-1f3ff-2642-fe0f",uc_greedy:"1f937-1f3ff-2642",shortnames:[":man_shrugging_dark_skin_tone:"],category:"people"},":man_superhero_tone1:":{uc_base:"1f9b8-1f3fb-2642",uc_output:"1f9b8-1f3fb-200d-2642-fe0f",uc_match:"1f9b8-1f3fb-2642-fe0f",uc_greedy:"1f9b8-1f3fb-2642",shortnames:[":man_superhero_light_skin_tone:"],category:"people"},":man_superhero_tone2:":{uc_base:"1f9b8-1f3fc-2642",uc_output:"1f9b8-1f3fc-200d-2642-fe0f",uc_match:"1f9b8-1f3fc-2642-fe0f",uc_greedy:"1f9b8-1f3fc-2642",shortnames:[":man_superhero_medium_light_skin_tone:"],category:"people"},":man_superhero_tone3:":{uc_base:"1f9b8-1f3fd-2642",uc_output:"1f9b8-1f3fd-200d-2642-fe0f",uc_match:"1f9b8-1f3fd-2642-fe0f",uc_greedy:"1f9b8-1f3fd-2642",shortnames:[":man_superhero_medium_skin_tone:"],category:"people"},":man_superhero_tone4:":{uc_base:"1f9b8-1f3fe-2642",uc_output:"1f9b8-1f3fe-200d-2642-fe0f",uc_match:"1f9b8-1f3fe-2642-fe0f",uc_greedy:"1f9b8-1f3fe-2642",shortnames:[":man_superhero_medium_dark_skin_tone:"],category:"people"},":man_superhero_tone5:":{uc_base:"1f9b8-1f3ff-2642",uc_output:"1f9b8-1f3ff-200d-2642-fe0f",uc_match:"1f9b8-1f3ff-2642-fe0f",uc_greedy:"1f9b8-1f3ff-2642",shortnames:[":man_superhero_dark_skin_tone:"],category:"people"},":man_supervillain_tone1:":{uc_base:"1f9b9-1f3fb-2642",uc_output:"1f9b9-1f3fb-200d-2642-fe0f",uc_match:"1f9b9-1f3fb-2642-fe0f",uc_greedy:"1f9b9-1f3fb-2642",shortnames:[":man_supervillain_light_skin_tone:"],category:"people"},":man_supervillain_tone2:":{uc_base:"1f9b9-1f3fc-2642",uc_output:"1f9b9-1f3fc-200d-2642-fe0f",uc_match:"1f9b9-1f3fc-2642-fe0f",uc_greedy:"1f9b9-1f3fc-2642",shortnames:[":man_supervillain_medium_light_skin_tone:"],category:"people"},":man_supervillain_tone3:":{uc_base:"1f9b9-1f3fd-2642",uc_output:"1f9b9-1f3fd-200d-2642-fe0f",uc_match:"1f9b9-1f3fd-2642-fe0f",uc_greedy:"1f9b9-1f3fd-2642",shortnames:[":man_supervillain_medium_skin_tone:"],category:"people"},":man_supervillain_tone4:":{uc_base:"1f9b9-1f3fe-2642",uc_output:"1f9b9-1f3fe-200d-2642-fe0f",uc_match:"1f9b9-1f3fe-2642-fe0f",uc_greedy:"1f9b9-1f3fe-2642",shortnames:[":man_supervillain_medium_dark_skin_tone:"],category:"people"},":man_supervillain_tone5:":{uc_base:"1f9b9-1f3ff-2642",uc_output:"1f9b9-1f3ff-200d-2642-fe0f",uc_match:"1f9b9-1f3ff-2642-fe0f",uc_greedy:"1f9b9-1f3ff-2642",shortnames:[":man_supervillain_dark_skin_tone:"],category:"people"},":man_surfing_tone1:":{uc_base:"1f3c4-1f3fb-2642",uc_output:"1f3c4-1f3fb-200d-2642-fe0f",uc_match:"1f3c4-1f3fb-2642-fe0f",uc_greedy:"1f3c4-1f3fb-2642",shortnames:[":man_surfing_light_skin_tone:"],category:"activity"},":man_surfing_tone2:":{uc_base:"1f3c4-1f3fc-2642",uc_output:"1f3c4-1f3fc-200d-2642-fe0f",uc_match:"1f3c4-1f3fc-2642-fe0f",uc_greedy:"1f3c4-1f3fc-2642",shortnames:[":man_surfing_medium_light_skin_tone:"],category:"activity"},":man_surfing_tone3:":{uc_base:"1f3c4-1f3fd-2642",uc_output:"1f3c4-1f3fd-200d-2642-fe0f",uc_match:"1f3c4-1f3fd-2642-fe0f",uc_greedy:"1f3c4-1f3fd-2642",shortnames:[":man_surfing_medium_skin_tone:"],category:"activity"},":man_surfing_tone4:":{uc_base:"1f3c4-1f3fe-2642",uc_output:"1f3c4-1f3fe-200d-2642-fe0f",uc_match:"1f3c4-1f3fe-2642-fe0f",uc_greedy:"1f3c4-1f3fe-2642",shortnames:[":man_surfing_medium_dark_skin_tone:"],category:"activity"},":man_surfing_tone5:":{uc_base:"1f3c4-1f3ff-2642",uc_output:"1f3c4-1f3ff-200d-2642-fe0f",uc_match:"1f3c4-1f3ff-2642-fe0f",uc_greedy:"1f3c4-1f3ff-2642",shortnames:[":man_surfing_dark_skin_tone:"],category:"activity"},":man_swimming_tone1:":{uc_base:"1f3ca-1f3fb-2642",uc_output:"1f3ca-1f3fb-200d-2642-fe0f",uc_match:"1f3ca-1f3fb-2642-fe0f",uc_greedy:"1f3ca-1f3fb-2642",shortnames:[":man_swimming_light_skin_tone:"],category:"activity"},":man_swimming_tone2:":{uc_base:"1f3ca-1f3fc-2642",uc_output:"1f3ca-1f3fc-200d-2642-fe0f",uc_match:"1f3ca-1f3fc-2642-fe0f",uc_greedy:"1f3ca-1f3fc-2642",shortnames:[":man_swimming_medium_light_skin_tone:"],category:"activity"},":man_swimming_tone3:":{uc_base:"1f3ca-1f3fd-2642",uc_output:"1f3ca-1f3fd-200d-2642-fe0f",uc_match:"1f3ca-1f3fd-2642-fe0f",uc_greedy:"1f3ca-1f3fd-2642",shortnames:[":man_swimming_medium_skin_tone:"],category:"activity"},":man_swimming_tone4:":{uc_base:"1f3ca-1f3fe-2642",uc_output:"1f3ca-1f3fe-200d-2642-fe0f",uc_match:"1f3ca-1f3fe-2642-fe0f",uc_greedy:"1f3ca-1f3fe-2642",shortnames:[":man_swimming_medium_dark_skin_tone:"],category:"activity"},":man_swimming_tone5:":{uc_base:"1f3ca-1f3ff-2642",uc_output:"1f3ca-1f3ff-200d-2642-fe0f",uc_match:"1f3ca-1f3ff-2642-fe0f",uc_greedy:"1f3ca-1f3ff-2642",shortnames:[":man_swimming_dark_skin_tone:"],category:"activity"},":man_tipping_hand_tone1:":{uc_base:"1f481-1f3fb-2642",uc_output:"1f481-1f3fb-200d-2642-fe0f",uc_match:"1f481-1f3fb-2642-fe0f",uc_greedy:"1f481-1f3fb-2642",shortnames:[":man_tipping_hand_light_skin_tone:"],category:"people"},":man_tipping_hand_tone2:":{uc_base:"1f481-1f3fc-2642",uc_output:"1f481-1f3fc-200d-2642-fe0f",uc_match:"1f481-1f3fc-2642-fe0f",uc_greedy:"1f481-1f3fc-2642",shortnames:[":man_tipping_hand_medium_light_skin_tone:"],category:"people"},":man_tipping_hand_tone3:":{uc_base:"1f481-1f3fd-2642",uc_output:"1f481-1f3fd-200d-2642-fe0f",uc_match:"1f481-1f3fd-2642-fe0f",uc_greedy:"1f481-1f3fd-2642",shortnames:[":man_tipping_hand_medium_skin_tone:"],category:"people"},":man_tipping_hand_tone4:":{uc_base:"1f481-1f3fe-2642",uc_output:"1f481-1f3fe-200d-2642-fe0f",uc_match:"1f481-1f3fe-2642-fe0f",uc_greedy:"1f481-1f3fe-2642",shortnames:[":man_tipping_hand_medium_dark_skin_tone:"],category:"people"},":man_tipping_hand_tone5:":{uc_base:"1f481-1f3ff-2642",uc_output:"1f481-1f3ff-200d-2642-fe0f",uc_match:"1f481-1f3ff-2642-fe0f",uc_greedy:"1f481-1f3ff-2642",shortnames:[":man_tipping_hand_dark_skin_tone:"],category:"people"},":man_vampire_tone1:":{uc_base:"1f9db-1f3fb-2642",uc_output:"1f9db-1f3fb-200d-2642-fe0f",uc_match:"1f9db-1f3fb-2642-fe0f",uc_greedy:"1f9db-1f3fb-2642",shortnames:[":man_vampire_light_skin_tone:"],category:"people"},":man_vampire_tone2:":{uc_base:"1f9db-1f3fc-2642",uc_output:"1f9db-1f3fc-200d-2642-fe0f",uc_match:"1f9db-1f3fc-2642-fe0f",uc_greedy:"1f9db-1f3fc-2642",shortnames:[":man_vampire_medium_light_skin_tone:"],category:"people"},":man_vampire_tone3:":{uc_base:"1f9db-1f3fd-2642",uc_output:"1f9db-1f3fd-200d-2642-fe0f",uc_match:"1f9db-1f3fd-2642-fe0f",uc_greedy:"1f9db-1f3fd-2642",shortnames:[":man_vampire_medium_skin_tone:"],category:"people"},":man_vampire_tone4:":{uc_base:"1f9db-1f3fe-2642",uc_output:"1f9db-1f3fe-200d-2642-fe0f",uc_match:"1f9db-1f3fe-2642-fe0f",uc_greedy:"1f9db-1f3fe-2642",shortnames:[":man_vampire_medium_dark_skin_tone:"],category:"people"},":man_vampire_tone5:":{uc_base:"1f9db-1f3ff-2642",uc_output:"1f9db-1f3ff-200d-2642-fe0f",uc_match:"1f9db-1f3ff-2642-fe0f",uc_greedy:"1f9db-1f3ff-2642",shortnames:[":man_vampire_dark_skin_tone:"],category:"people"},":man_walking_tone1:":{uc_base:"1f6b6-1f3fb-2642",uc_output:"1f6b6-1f3fb-200d-2642-fe0f",uc_match:"1f6b6-1f3fb-2642-fe0f",uc_greedy:"1f6b6-1f3fb-2642",shortnames:[":man_walking_light_skin_tone:"],category:"people"},":man_walking_tone2:":{uc_base:"1f6b6-1f3fc-2642",uc_output:"1f6b6-1f3fc-200d-2642-fe0f",uc_match:"1f6b6-1f3fc-2642-fe0f",uc_greedy:"1f6b6-1f3fc-2642",shortnames:[":man_walking_medium_light_skin_tone:"],category:"people"},":man_walking_tone3:":{uc_base:"1f6b6-1f3fd-2642",uc_output:"1f6b6-1f3fd-200d-2642-fe0f",uc_match:"1f6b6-1f3fd-2642-fe0f",uc_greedy:"1f6b6-1f3fd-2642",shortnames:[":man_walking_medium_skin_tone:"],category:"people"},":man_walking_tone4:":{uc_base:"1f6b6-1f3fe-2642",uc_output:"1f6b6-1f3fe-200d-2642-fe0f",uc_match:"1f6b6-1f3fe-2642-fe0f",uc_greedy:"1f6b6-1f3fe-2642",shortnames:[":man_walking_medium_dark_skin_tone:"],category:"people"},":man_walking_tone5:":{uc_base:"1f6b6-1f3ff-2642",uc_output:"1f6b6-1f3ff-200d-2642-fe0f",uc_match:"1f6b6-1f3ff-2642-fe0f",uc_greedy:"1f6b6-1f3ff-2642",shortnames:[":man_walking_dark_skin_tone:"],category:"people"},":man_wearing_turban_tone1:":{uc_base:"1f473-1f3fb-2642",uc_output:"1f473-1f3fb-200d-2642-fe0f",uc_match:"1f473-1f3fb-2642-fe0f",uc_greedy:"1f473-1f3fb-2642",shortnames:[":man_wearing_turban_light_skin_tone:"],category:"people"},":man_wearing_turban_tone2:":{uc_base:"1f473-1f3fc-2642",uc_output:"1f473-1f3fc-200d-2642-fe0f",uc_match:"1f473-1f3fc-2642-fe0f",uc_greedy:"1f473-1f3fc-2642",shortnames:[":man_wearing_turban_medium_light_skin_tone:"],category:"people"},":man_wearing_turban_tone3:":{uc_base:"1f473-1f3fd-2642",uc_output:"1f473-1f3fd-200d-2642-fe0f",uc_match:"1f473-1f3fd-2642-fe0f",uc_greedy:"1f473-1f3fd-2642",shortnames:[":man_wearing_turban_medium_skin_tone:"],category:"people"},":man_wearing_turban_tone4:":{uc_base:"1f473-1f3fe-2642",uc_output:"1f473-1f3fe-200d-2642-fe0f",uc_match:"1f473-1f3fe-2642-fe0f",uc_greedy:"1f473-1f3fe-2642",shortnames:[":man_wearing_turban_medium_dark_skin_tone:"],category:"people"},":man_wearing_turban_tone5:":{uc_base:"1f473-1f3ff-2642",uc_output:"1f473-1f3ff-200d-2642-fe0f",uc_match:"1f473-1f3ff-2642-fe0f",uc_greedy:"1f473-1f3ff-2642",shortnames:[":man_wearing_turban_dark_skin_tone:"],category:"people"},":mermaid_tone1:":{uc_base:"1f9dc-1f3fb-2640",uc_output:"1f9dc-1f3fb-200d-2640-fe0f",uc_match:"1f9dc-1f3fb-2640-fe0f",uc_greedy:"1f9dc-1f3fb-2640",shortnames:[":mermaid_light_skin_tone:"],category:"people"},":mermaid_tone2:":{uc_base:"1f9dc-1f3fc-2640",uc_output:"1f9dc-1f3fc-200d-2640-fe0f",uc_match:"1f9dc-1f3fc-2640-fe0f",uc_greedy:"1f9dc-1f3fc-2640",shortnames:[":mermaid_medium_light_skin_tone:"],category:"people"},":mermaid_tone3:":{uc_base:"1f9dc-1f3fd-2640",uc_output:"1f9dc-1f3fd-200d-2640-fe0f",uc_match:"1f9dc-1f3fd-2640-fe0f",uc_greedy:"1f9dc-1f3fd-2640",shortnames:[":mermaid_medium_skin_tone:"],category:"people"},":mermaid_tone4:":{uc_base:"1f9dc-1f3fe-2640",uc_output:"1f9dc-1f3fe-200d-2640-fe0f",uc_match:"1f9dc-1f3fe-2640-fe0f",uc_greedy:"1f9dc-1f3fe-2640",shortnames:[":mermaid_medium_dark_skin_tone:"],category:"people"},":mermaid_tone5:":{uc_base:"1f9dc-1f3ff-2640",uc_output:"1f9dc-1f3ff-200d-2640-fe0f",uc_match:"1f9dc-1f3ff-2640-fe0f",uc_greedy:"1f9dc-1f3ff-2640",shortnames:[":mermaid_dark_skin_tone:"],category:"people"},":merman_tone1:":{uc_base:"1f9dc-1f3fb-2642",uc_output:"1f9dc-1f3fb-200d-2642-fe0f",uc_match:"1f9dc-1f3fb-2642-fe0f",uc_greedy:"1f9dc-1f3fb-2642",shortnames:[":merman_light_skin_tone:"],category:"people"},":merman_tone2:":{uc_base:"1f9dc-1f3fc-2642",uc_output:"1f9dc-1f3fc-200d-2642-fe0f",uc_match:"1f9dc-1f3fc-2642-fe0f",uc_greedy:"1f9dc-1f3fc-2642",shortnames:[":merman_medium_light_skin_tone:"],category:"people"},":merman_tone3:":{uc_base:"1f9dc-1f3fd-2642",uc_output:"1f9dc-1f3fd-200d-2642-fe0f",uc_match:"1f9dc-1f3fd-2642-fe0f",uc_greedy:"1f9dc-1f3fd-2642",shortnames:[":merman_medium_skin_tone:"],category:"people"},":merman_tone4:":{uc_base:"1f9dc-1f3fe-2642",uc_output:"1f9dc-1f3fe-200d-2642-fe0f",uc_match:"1f9dc-1f3fe-2642-fe0f",uc_greedy:"1f9dc-1f3fe-2642",shortnames:[":merman_medium_dark_skin_tone:"],category:"people"},":merman_tone5:":{uc_base:"1f9dc-1f3ff-2642",uc_output:"1f9dc-1f3ff-200d-2642-fe0f",uc_match:"1f9dc-1f3ff-2642-fe0f",uc_greedy:"1f9dc-1f3ff-2642",shortnames:[":merman_dark_skin_tone:"],category:"people"},":woman_biking_tone1:":{uc_base:"1f6b4-1f3fb-2640",uc_output:"1f6b4-1f3fb-200d-2640-fe0f",uc_match:"1f6b4-1f3fb-2640-fe0f",uc_greedy:"1f6b4-1f3fb-2640",shortnames:[":woman_biking_light_skin_tone:"],category:"activity"},":woman_biking_tone2:":{uc_base:"1f6b4-1f3fc-2640",uc_output:"1f6b4-1f3fc-200d-2640-fe0f",uc_match:"1f6b4-1f3fc-2640-fe0f",uc_greedy:"1f6b4-1f3fc-2640",shortnames:[":woman_biking_medium_light_skin_tone:"],category:"activity"},":woman_biking_tone3:":{uc_base:"1f6b4-1f3fd-2640",uc_output:"1f6b4-1f3fd-200d-2640-fe0f",uc_match:"1f6b4-1f3fd-2640-fe0f",uc_greedy:"1f6b4-1f3fd-2640",shortnames:[":woman_biking_medium_skin_tone:"],category:"activity"},":woman_biking_tone4:":{uc_base:"1f6b4-1f3fe-2640",uc_output:"1f6b4-1f3fe-200d-2640-fe0f",uc_match:"1f6b4-1f3fe-2640-fe0f",uc_greedy:"1f6b4-1f3fe-2640",shortnames:[":woman_biking_medium_dark_skin_tone:"],category:"activity"},":woman_biking_tone5:":{uc_base:"1f6b4-1f3ff-2640",uc_output:"1f6b4-1f3ff-200d-2640-fe0f",uc_match:"1f6b4-1f3ff-2640-fe0f",uc_greedy:"1f6b4-1f3ff-2640",shortnames:[":woman_biking_dark_skin_tone:"],category:"activity"},":woman_bowing_tone1:":{uc_base:"1f647-1f3fb-2640",uc_output:"1f647-1f3fb-200d-2640-fe0f",uc_match:"1f647-1f3fb-2640-fe0f",uc_greedy:"1f647-1f3fb-2640",shortnames:[":woman_bowing_light_skin_tone:"],category:"people"},":woman_bowing_tone2:":{uc_base:"1f647-1f3fc-2640",uc_output:"1f647-1f3fc-200d-2640-fe0f",uc_match:"1f647-1f3fc-2640-fe0f",uc_greedy:"1f647-1f3fc-2640",shortnames:[":woman_bowing_medium_light_skin_tone:"],category:"people"},":woman_bowing_tone3:":{uc_base:"1f647-1f3fd-2640",uc_output:"1f647-1f3fd-200d-2640-fe0f",uc_match:"1f647-1f3fd-2640-fe0f",uc_greedy:"1f647-1f3fd-2640",shortnames:[":woman_bowing_medium_skin_tone:"],category:"people"},":woman_bowing_tone4:":{uc_base:"1f647-1f3fe-2640",uc_output:"1f647-1f3fe-200d-2640-fe0f",uc_match:"1f647-1f3fe-2640-fe0f",uc_greedy:"1f647-1f3fe-2640",shortnames:[":woman_bowing_medium_dark_skin_tone:"],category:"people"},":woman_bowing_tone5:":{uc_base:"1f647-1f3ff-2640",uc_output:"1f647-1f3ff-200d-2640-fe0f",uc_match:"1f647-1f3ff-2640-fe0f",uc_greedy:"1f647-1f3ff-2640",shortnames:[":woman_bowing_dark_skin_tone:"],category:"people"},":woman_cartwheeling_tone1:":{uc_base:"1f938-1f3fb-2640",uc_output:"1f938-1f3fb-200d-2640-fe0f",uc_match:"1f938-1f3fb-2640-fe0f",uc_greedy:"1f938-1f3fb-2640",shortnames:[":woman_cartwheeling_light_skin_tone:"],category:"activity"},":woman_cartwheeling_tone2:":{uc_base:"1f938-1f3fc-2640",uc_output:"1f938-1f3fc-200d-2640-fe0f",uc_match:"1f938-1f3fc-2640-fe0f",uc_greedy:"1f938-1f3fc-2640",shortnames:[":woman_cartwheeling_medium_light_skin_tone:"],category:"activity"},":woman_cartwheeling_tone3:":{uc_base:"1f938-1f3fd-2640",uc_output:"1f938-1f3fd-200d-2640-fe0f",uc_match:"1f938-1f3fd-2640-fe0f",uc_greedy:"1f938-1f3fd-2640",shortnames:[":woman_cartwheeling_medium_skin_tone:"],category:"activity"},":woman_cartwheeling_tone4:":{uc_base:"1f938-1f3fe-2640",uc_output:"1f938-1f3fe-200d-2640-fe0f",uc_match:"1f938-1f3fe-2640-fe0f",uc_greedy:"1f938-1f3fe-2640",shortnames:[":woman_cartwheeling_medium_dark_skin_tone:"],category:"activity"},":woman_cartwheeling_tone5:":{uc_base:"1f938-1f3ff-2640",uc_output:"1f938-1f3ff-200d-2640-fe0f",uc_match:"1f938-1f3ff-2640-fe0f",uc_greedy:"1f938-1f3ff-2640",shortnames:[":woman_cartwheeling_dark_skin_tone:"],category:"activity"},":woman_climbing_tone1:":{uc_base:"1f9d7-1f3fb-2640",uc_output:"1f9d7-1f3fb-200d-2640-fe0f",uc_match:"1f9d7-1f3fb-2640-fe0f",uc_greedy:"1f9d7-1f3fb-2640",shortnames:[":woman_climbing_light_skin_tone:"],category:"activity"},":woman_climbing_tone2:":{uc_base:"1f9d7-1f3fc-2640",uc_output:"1f9d7-1f3fc-200d-2640-fe0f",uc_match:"1f9d7-1f3fc-2640-fe0f",uc_greedy:"1f9d7-1f3fc-2640",shortnames:[":woman_climbing_medium_light_skin_tone:"],category:"activity"},":woman_climbing_tone3:":{uc_base:"1f9d7-1f3fd-2640",uc_output:"1f9d7-1f3fd-200d-2640-fe0f",uc_match:"1f9d7-1f3fd-2640-fe0f",uc_greedy:"1f9d7-1f3fd-2640",shortnames:[":woman_climbing_medium_skin_tone:"],category:"activity"},":woman_climbing_tone4:":{uc_base:"1f9d7-1f3fe-2640",uc_output:"1f9d7-1f3fe-200d-2640-fe0f",uc_match:"1f9d7-1f3fe-2640-fe0f",uc_greedy:"1f9d7-1f3fe-2640",shortnames:[":woman_climbing_medium_dark_skin_tone:"],category:"activity"},":woman_climbing_tone5:":{uc_base:"1f9d7-1f3ff-2640",uc_output:"1f9d7-1f3ff-200d-2640-fe0f",uc_match:"1f9d7-1f3ff-2640-fe0f",uc_greedy:"1f9d7-1f3ff-2640",shortnames:[":woman_climbing_dark_skin_tone:"],category:"activity"},":woman_construction_worker_tone1:":{uc_base:"1f477-1f3fb-2640",uc_output:"1f477-1f3fb-200d-2640-fe0f",uc_match:"1f477-1f3fb-2640-fe0f",uc_greedy:"1f477-1f3fb-2640",shortnames:[":woman_construction_worker_light_skin_tone:"],category:"people"},":woman_construction_worker_tone2:":{uc_base:"1f477-1f3fc-2640",uc_output:"1f477-1f3fc-200d-2640-fe0f",uc_match:"1f477-1f3fc-2640-fe0f",uc_greedy:"1f477-1f3fc-2640",shortnames:[":woman_construction_worker_medium_light_skin_tone:"],category:"people"},":woman_construction_worker_tone3:":{uc_base:"1f477-1f3fd-2640",uc_output:"1f477-1f3fd-200d-2640-fe0f",uc_match:"1f477-1f3fd-2640-fe0f",uc_greedy:"1f477-1f3fd-2640",shortnames:[":woman_construction_worker_medium_skin_tone:"],category:"people"},":woman_construction_worker_tone4:":{uc_base:"1f477-1f3fe-2640",uc_output:"1f477-1f3fe-200d-2640-fe0f",uc_match:"1f477-1f3fe-2640-fe0f",uc_greedy:"1f477-1f3fe-2640",shortnames:[":woman_construction_worker_medium_dark_skin_tone:"],category:"people"},":woman_construction_worker_tone5:":{uc_base:"1f477-1f3ff-2640",uc_output:"1f477-1f3ff-200d-2640-fe0f",uc_match:"1f477-1f3ff-2640-fe0f",uc_greedy:"1f477-1f3ff-2640",shortnames:[":woman_construction_worker_dark_skin_tone:"],category:"people"},":woman_detective_tone1:":{uc_base:"1f575-1f3fb-2640",uc_output:"1f575-1f3fb-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fb-2640-fe0f",uc_greedy:"1f575-1f3fb-2640",shortnames:[":woman_detective_light_skin_tone:"],category:"people"},":woman_detective_tone2:":{uc_base:"1f575-1f3fc-2640",uc_output:"1f575-1f3fc-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fc-2640-fe0f",uc_greedy:"1f575-1f3fc-2640",shortnames:[":woman_detective_medium_light_skin_tone:"],category:"people"},":woman_detective_tone3:":{uc_base:"1f575-1f3fd-2640",uc_output:"1f575-1f3fd-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fd-2640-fe0f",uc_greedy:"1f575-1f3fd-2640",shortnames:[":woman_detective_medium_skin_tone:"],category:"people"},":woman_detective_tone4:":{uc_base:"1f575-1f3fe-2640",uc_output:"1f575-1f3fe-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fe-2640-fe0f",uc_greedy:"1f575-1f3fe-2640",shortnames:[":woman_detective_medium_dark_skin_tone:"],category:"people"},":woman_detective_tone5:":{uc_base:"1f575-1f3ff-2640",uc_output:"1f575-1f3ff-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3ff-2640-fe0f",uc_greedy:"1f575-1f3ff-2640",shortnames:[":woman_detective_dark_skin_tone:"],category:"people"},":woman_elf_tone1:":{uc_base:"1f9dd-1f3fb-2640",uc_output:"1f9dd-1f3fb-200d-2640-fe0f",uc_match:"1f9dd-1f3fb-2640-fe0f",uc_greedy:"1f9dd-1f3fb-2640",shortnames:[":woman_elf_light_skin_tone:"],category:"people"},":woman_elf_tone2:":{uc_base:"1f9dd-1f3fc-2640",uc_output:"1f9dd-1f3fc-200d-2640-fe0f",uc_match:"1f9dd-1f3fc-2640-fe0f",uc_greedy:"1f9dd-1f3fc-2640",shortnames:[":woman_elf_medium_light_skin_tone:"],category:"people"},":woman_elf_tone3:":{uc_base:"1f9dd-1f3fd-2640",uc_output:"1f9dd-1f3fd-200d-2640-fe0f",uc_match:"1f9dd-1f3fd-2640-fe0f",uc_greedy:"1f9dd-1f3fd-2640",shortnames:[":woman_elf_medium_skin_tone:"],category:"people"},":woman_elf_tone4:":{uc_base:"1f9dd-1f3fe-2640",uc_output:"1f9dd-1f3fe-200d-2640-fe0f",uc_match:"1f9dd-1f3fe-2640-fe0f",uc_greedy:"1f9dd-1f3fe-2640",shortnames:[":woman_elf_medium_dark_skin_tone:"],category:"people"},":woman_elf_tone5:":{uc_base:"1f9dd-1f3ff-2640",uc_output:"1f9dd-1f3ff-200d-2640-fe0f",uc_match:"1f9dd-1f3ff-2640-fe0f",uc_greedy:"1f9dd-1f3ff-2640",shortnames:[":woman_elf_dark_skin_tone:"],category:"people"},":woman_facepalming_tone1:":{uc_base:"1f926-1f3fb-2640",uc_output:"1f926-1f3fb-200d-2640-fe0f",uc_match:"1f926-1f3fb-2640-fe0f",uc_greedy:"1f926-1f3fb-2640",shortnames:[":woman_facepalming_light_skin_tone:"],category:"people"},":woman_facepalming_tone2:":{uc_base:"1f926-1f3fc-2640",uc_output:"1f926-1f3fc-200d-2640-fe0f",uc_match:"1f926-1f3fc-2640-fe0f",uc_greedy:"1f926-1f3fc-2640",shortnames:[":woman_facepalming_medium_light_skin_tone:"],category:"people"},":woman_facepalming_tone3:":{uc_base:"1f926-1f3fd-2640",uc_output:"1f926-1f3fd-200d-2640-fe0f",uc_match:"1f926-1f3fd-2640-fe0f",uc_greedy:"1f926-1f3fd-2640",shortnames:[":woman_facepalming_medium_skin_tone:"],category:"people"},":woman_facepalming_tone4:":{uc_base:"1f926-1f3fe-2640",uc_output:"1f926-1f3fe-200d-2640-fe0f",uc_match:"1f926-1f3fe-2640-fe0f",uc_greedy:"1f926-1f3fe-2640",shortnames:[":woman_facepalming_medium_dark_skin_tone:"],category:"people"},":woman_facepalming_tone5:":{uc_base:"1f926-1f3ff-2640",uc_output:"1f926-1f3ff-200d-2640-fe0f",uc_match:"1f926-1f3ff-2640-fe0f",uc_greedy:"1f926-1f3ff-2640",shortnames:[":woman_facepalming_dark_skin_tone:"],category:"people"},":woman_fairy_tone1:":{uc_base:"1f9da-1f3fb-2640",uc_output:"1f9da-1f3fb-200d-2640-fe0f",uc_match:"1f9da-1f3fb-2640-fe0f",uc_greedy:"1f9da-1f3fb-2640",shortnames:[":woman_fairy_light_skin_tone:"],category:"people"},":woman_fairy_tone2:":{uc_base:"1f9da-1f3fc-2640",uc_output:"1f9da-1f3fc-200d-2640-fe0f",uc_match:"1f9da-1f3fc-2640-fe0f",uc_greedy:"1f9da-1f3fc-2640",shortnames:[":woman_fairy_medium_light_skin_tone:"],category:"people"},":woman_fairy_tone3:":{uc_base:"1f9da-1f3fd-2640",uc_output:"1f9da-1f3fd-200d-2640-fe0f",uc_match:"1f9da-1f3fd-2640-fe0f",uc_greedy:"1f9da-1f3fd-2640",shortnames:[":woman_fairy_medium_skin_tone:"],category:"people"},":woman_fairy_tone4:":{uc_base:"1f9da-1f3fe-2640",uc_output:"1f9da-1f3fe-200d-2640-fe0f",uc_match:"1f9da-1f3fe-2640-fe0f",uc_greedy:"1f9da-1f3fe-2640",shortnames:[":woman_fairy_medium_dark_skin_tone:"],category:"people"},":woman_fairy_tone5:":{uc_base:"1f9da-1f3ff-2640",uc_output:"1f9da-1f3ff-200d-2640-fe0f",uc_match:"1f9da-1f3ff-2640-fe0f",uc_greedy:"1f9da-1f3ff-2640",shortnames:[":woman_fairy_dark_skin_tone:"],category:"people"},":woman_frowning_tone1:":{uc_base:"1f64d-1f3fb-2640",uc_output:"1f64d-1f3fb-200d-2640-fe0f",uc_match:"1f64d-1f3fb-2640-fe0f",uc_greedy:"1f64d-1f3fb-2640",shortnames:[":woman_frowning_light_skin_tone:"],category:"people"},":woman_frowning_tone2:":{uc_base:"1f64d-1f3fc-2640",uc_output:"1f64d-1f3fc-200d-2640-fe0f",uc_match:"1f64d-1f3fc-2640-fe0f",uc_greedy:"1f64d-1f3fc-2640",shortnames:[":woman_frowning_medium_light_skin_tone:"],category:"people"},":woman_frowning_tone3:":{uc_base:"1f64d-1f3fd-2640",uc_output:"1f64d-1f3fd-200d-2640-fe0f",uc_match:"1f64d-1f3fd-2640-fe0f",uc_greedy:"1f64d-1f3fd-2640",shortnames:[":woman_frowning_medium_skin_tone:"],category:"people"},":woman_frowning_tone4:":{uc_base:"1f64d-1f3fe-2640",uc_output:"1f64d-1f3fe-200d-2640-fe0f",uc_match:"1f64d-1f3fe-2640-fe0f",uc_greedy:"1f64d-1f3fe-2640",shortnames:[":woman_frowning_medium_dark_skin_tone:"],category:"people"},":woman_frowning_tone5:":{uc_base:"1f64d-1f3ff-2640",uc_output:"1f64d-1f3ff-200d-2640-fe0f",uc_match:"1f64d-1f3ff-2640-fe0f",uc_greedy:"1f64d-1f3ff-2640",shortnames:[":woman_frowning_dark_skin_tone:"],category:"people"},":woman_gesturing_no_tone1:":{uc_base:"1f645-1f3fb-2640",uc_output:"1f645-1f3fb-200d-2640-fe0f",uc_match:"1f645-1f3fb-2640-fe0f",uc_greedy:"1f645-1f3fb-2640",shortnames:[":woman_gesturing_no_light_skin_tone:"],category:"people"},":woman_gesturing_no_tone2:":{uc_base:"1f645-1f3fc-2640",uc_output:"1f645-1f3fc-200d-2640-fe0f",uc_match:"1f645-1f3fc-2640-fe0f",uc_greedy:"1f645-1f3fc-2640",shortnames:[":woman_gesturing_no_medium_light_skin_tone:"],category:"people"},":woman_gesturing_no_tone3:":{uc_base:"1f645-1f3fd-2640",uc_output:"1f645-1f3fd-200d-2640-fe0f",uc_match:"1f645-1f3fd-2640-fe0f",uc_greedy:"1f645-1f3fd-2640",shortnames:[":woman_gesturing_no_medium_skin_tone:"],category:"people"},":woman_gesturing_no_tone4:":{uc_base:"1f645-1f3fe-2640",uc_output:"1f645-1f3fe-200d-2640-fe0f",uc_match:"1f645-1f3fe-2640-fe0f",uc_greedy:"1f645-1f3fe-2640",shortnames:[":woman_gesturing_no_medium_dark_skin_tone:"],category:"people"},":woman_gesturing_no_tone5:":{uc_base:"1f645-1f3ff-2640",uc_output:"1f645-1f3ff-200d-2640-fe0f",uc_match:"1f645-1f3ff-2640-fe0f",uc_greedy:"1f645-1f3ff-2640",shortnames:[":woman_gesturing_no_dark_skin_tone:"],category:"people"},":woman_gesturing_ok_tone1:":{uc_base:"1f646-1f3fb-2640",uc_output:"1f646-1f3fb-200d-2640-fe0f",uc_match:"1f646-1f3fb-2640-fe0f",uc_greedy:"1f646-1f3fb-2640",shortnames:[":woman_gesturing_ok_light_skin_tone:"],category:"people"},":woman_gesturing_ok_tone2:":{uc_base:"1f646-1f3fc-2640",uc_output:"1f646-1f3fc-200d-2640-fe0f",uc_match:"1f646-1f3fc-2640-fe0f",uc_greedy:"1f646-1f3fc-2640",shortnames:[":woman_gesturing_ok_medium_light_skin_tone:"],category:"people"},":woman_gesturing_ok_tone3:":{uc_base:"1f646-1f3fd-2640",uc_output:"1f646-1f3fd-200d-2640-fe0f",uc_match:"1f646-1f3fd-2640-fe0f",uc_greedy:"1f646-1f3fd-2640",shortnames:[":woman_gesturing_ok_medium_skin_tone:"],category:"people"},":woman_gesturing_ok_tone4:":{uc_base:"1f646-1f3fe-2640",uc_output:"1f646-1f3fe-200d-2640-fe0f",uc_match:"1f646-1f3fe-2640-fe0f",uc_greedy:"1f646-1f3fe-2640",shortnames:[":woman_gesturing_ok_medium_dark_skin_tone:"],category:"people"},":woman_gesturing_ok_tone5:":{uc_base:"1f646-1f3ff-2640",uc_output:"1f646-1f3ff-200d-2640-fe0f",uc_match:"1f646-1f3ff-2640-fe0f",uc_greedy:"1f646-1f3ff-2640",shortnames:[":woman_gesturing_ok_dark_skin_tone:"],category:"people"},":woman_getting_face_massage_tone1:":{uc_base:"1f486-1f3fb-2640",uc_output:"1f486-1f3fb-200d-2640-fe0f",uc_match:"1f486-1f3fb-2640-fe0f",uc_greedy:"1f486-1f3fb-2640",shortnames:[":woman_getting_face_massage_light_skin_tone:"],category:"people"},":woman_getting_face_massage_tone2:":{uc_base:"1f486-1f3fc-2640",uc_output:"1f486-1f3fc-200d-2640-fe0f",uc_match:"1f486-1f3fc-2640-fe0f",uc_greedy:"1f486-1f3fc-2640",shortnames:[":woman_getting_face_massage_medium_light_skin_tone:"],category:"people"},":woman_getting_face_massage_tone3:":{uc_base:"1f486-1f3fd-2640",uc_output:"1f486-1f3fd-200d-2640-fe0f",uc_match:"1f486-1f3fd-2640-fe0f",uc_greedy:"1f486-1f3fd-2640",shortnames:[":woman_getting_face_massage_medium_skin_tone:"],category:"people"},":woman_getting_face_massage_tone4:":{uc_base:"1f486-1f3fe-2640",uc_output:"1f486-1f3fe-200d-2640-fe0f",uc_match:"1f486-1f3fe-2640-fe0f",uc_greedy:"1f486-1f3fe-2640",shortnames:[":woman_getting_face_massage_medium_dark_skin_tone:"],category:"people"},":woman_getting_face_massage_tone5:":{uc_base:"1f486-1f3ff-2640",uc_output:"1f486-1f3ff-200d-2640-fe0f",uc_match:"1f486-1f3ff-2640-fe0f",uc_greedy:"1f486-1f3ff-2640",shortnames:[":woman_getting_face_massage_dark_skin_tone:"],category:"people"},":woman_getting_haircut_tone1:":{uc_base:"1f487-1f3fb-2640",uc_output:"1f487-1f3fb-200d-2640-fe0f",uc_match:"1f487-1f3fb-2640-fe0f",uc_greedy:"1f487-1f3fb-2640",shortnames:[":woman_getting_haircut_light_skin_tone:"],category:"people"},":woman_getting_haircut_tone2:":{uc_base:"1f487-1f3fc-2640",uc_output:"1f487-1f3fc-200d-2640-fe0f",uc_match:"1f487-1f3fc-2640-fe0f",uc_greedy:"1f487-1f3fc-2640",shortnames:[":woman_getting_haircut_medium_light_skin_tone:"],category:"people"},":woman_getting_haircut_tone3:":{uc_base:"1f487-1f3fd-2640",uc_output:"1f487-1f3fd-200d-2640-fe0f",uc_match:"1f487-1f3fd-2640-fe0f",uc_greedy:"1f487-1f3fd-2640",shortnames:[":woman_getting_haircut_medium_skin_tone:"],category:"people"},":woman_getting_haircut_tone4:":{uc_base:"1f487-1f3fe-2640",uc_output:"1f487-1f3fe-200d-2640-fe0f",uc_match:"1f487-1f3fe-2640-fe0f",uc_greedy:"1f487-1f3fe-2640",shortnames:[":woman_getting_haircut_medium_dark_skin_tone:"],category:"people"},":woman_getting_haircut_tone5:":{uc_base:"1f487-1f3ff-2640",uc_output:"1f487-1f3ff-200d-2640-fe0f",uc_match:"1f487-1f3ff-2640-fe0f",uc_greedy:"1f487-1f3ff-2640",shortnames:[":woman_getting_haircut_dark_skin_tone:"],category:"people"},":woman_golfing_tone1:":{uc_base:"1f3cc-1f3fb-2640",uc_output:"1f3cc-1f3fb-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fb-2640-fe0f",uc_greedy:"1f3cc-1f3fb-2640",shortnames:[":woman_golfing_light_skin_tone:"],category:"activity"},":woman_golfing_tone2:":{uc_base:"1f3cc-1f3fc-2640",uc_output:"1f3cc-1f3fc-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fc-2640-fe0f",uc_greedy:"1f3cc-1f3fc-2640",shortnames:[":woman_golfing_medium_light_skin_tone:"],category:"activity"},":woman_golfing_tone3:":{uc_base:"1f3cc-1f3fd-2640",uc_output:"1f3cc-1f3fd-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fd-2640-fe0f",uc_greedy:"1f3cc-1f3fd-2640",shortnames:[":woman_golfing_medium_skin_tone:"],category:"activity"},":woman_golfing_tone4:":{uc_base:"1f3cc-1f3fe-2640",uc_output:"1f3cc-1f3fe-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fe-2640-fe0f",uc_greedy:"1f3cc-1f3fe-2640",shortnames:[":woman_golfing_medium_dark_skin_tone:"],category:"activity"},":woman_golfing_tone5:":{uc_base:"1f3cc-1f3ff-2640",uc_output:"1f3cc-1f3ff-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3ff-2640-fe0f",uc_greedy:"1f3cc-1f3ff-2640",shortnames:[":woman_golfing_dark_skin_tone:"],category:"activity"},":woman_guard_tone1:":{uc_base:"1f482-1f3fb-2640",uc_output:"1f482-1f3fb-200d-2640-fe0f",uc_match:"1f482-1f3fb-2640-fe0f",uc_greedy:"1f482-1f3fb-2640",shortnames:[":woman_guard_light_skin_tone:"],category:"people"},":woman_guard_tone2:":{uc_base:"1f482-1f3fc-2640",uc_output:"1f482-1f3fc-200d-2640-fe0f",uc_match:"1f482-1f3fc-2640-fe0f",uc_greedy:"1f482-1f3fc-2640",shortnames:[":woman_guard_medium_light_skin_tone:"],category:"people"},":woman_guard_tone3:":{uc_base:"1f482-1f3fd-2640",uc_output:"1f482-1f3fd-200d-2640-fe0f",uc_match:"1f482-1f3fd-2640-fe0f",uc_greedy:"1f482-1f3fd-2640",shortnames:[":woman_guard_medium_skin_tone:"],category:"people"},":woman_guard_tone4:":{uc_base:"1f482-1f3fe-2640",uc_output:"1f482-1f3fe-200d-2640-fe0f",uc_match:"1f482-1f3fe-2640-fe0f",uc_greedy:"1f482-1f3fe-2640",shortnames:[":woman_guard_medium_dark_skin_tone:"],category:"people"},":woman_guard_tone5:":{uc_base:"1f482-1f3ff-2640",uc_output:"1f482-1f3ff-200d-2640-fe0f",uc_match:"1f482-1f3ff-2640-fe0f",uc_greedy:"1f482-1f3ff-2640",shortnames:[":woman_guard_dark_skin_tone:"],category:"people"},":woman_health_worker_tone1:":{uc_base:"1f469-1f3fb-2695",uc_output:"1f469-1f3fb-200d-2695-fe0f",uc_match:"1f469-1f3fb-2695-fe0f",uc_greedy:"1f469-1f3fb-2695",shortnames:[":woman_health_worker_light_skin_tone:"],category:"people"},":woman_health_worker_tone2:":{uc_base:"1f469-1f3fc-2695",uc_output:"1f469-1f3fc-200d-2695-fe0f",uc_match:"1f469-1f3fc-2695-fe0f",uc_greedy:"1f469-1f3fc-2695",shortnames:[":woman_health_worker_medium_light_skin_tone:"],category:"people"},":woman_health_worker_tone3:":{uc_base:"1f469-1f3fd-2695",uc_output:"1f469-1f3fd-200d-2695-fe0f",uc_match:"1f469-1f3fd-2695-fe0f",uc_greedy:"1f469-1f3fd-2695",shortnames:[":woman_health_worker_medium_skin_tone:"],category:"people"},":woman_health_worker_tone4:":{uc_base:"1f469-1f3fe-2695",uc_output:"1f469-1f3fe-200d-2695-fe0f",uc_match:"1f469-1f3fe-2695-fe0f",uc_greedy:"1f469-1f3fe-2695",shortnames:[":woman_health_worker_medium_dark_skin_tone:"],category:"people"},":woman_health_worker_tone5:":{uc_base:"1f469-1f3ff-2695",uc_output:"1f469-1f3ff-200d-2695-fe0f",uc_match:"1f469-1f3ff-2695-fe0f",uc_greedy:"1f469-1f3ff-2695",shortnames:[":woman_health_worker_dark_skin_tone:"],category:"people"},":woman_in_lotus_position_tone1:":{uc_base:"1f9d8-1f3fb-2640",uc_output:"1f9d8-1f3fb-200d-2640-fe0f",uc_match:"1f9d8-1f3fb-2640-fe0f",uc_greedy:"1f9d8-1f3fb-2640",shortnames:[":woman_in_lotus_position_light_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone2:":{uc_base:"1f9d8-1f3fc-2640",uc_output:"1f9d8-1f3fc-200d-2640-fe0f",uc_match:"1f9d8-1f3fc-2640-fe0f",uc_greedy:"1f9d8-1f3fc-2640",shortnames:[":woman_in_lotus_position_medium_light_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone3:":{uc_base:"1f9d8-1f3fd-2640",uc_output:"1f9d8-1f3fd-200d-2640-fe0f",uc_match:"1f9d8-1f3fd-2640-fe0f",uc_greedy:"1f9d8-1f3fd-2640",shortnames:[":woman_in_lotus_position_medium_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone4:":{uc_base:"1f9d8-1f3fe-2640",uc_output:"1f9d8-1f3fe-200d-2640-fe0f",uc_match:"1f9d8-1f3fe-2640-fe0f",uc_greedy:"1f9d8-1f3fe-2640",shortnames:[":woman_in_lotus_position_medium_dark_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone5:":{uc_base:"1f9d8-1f3ff-2640",uc_output:"1f9d8-1f3ff-200d-2640-fe0f",uc_match:"1f9d8-1f3ff-2640-fe0f",uc_greedy:"1f9d8-1f3ff-2640",shortnames:[":woman_in_lotus_position_dark_skin_tone:"],category:"activity"},":woman_in_steamy_room_tone1:":{uc_base:"1f9d6-1f3fb-2640",uc_output:"1f9d6-1f3fb-200d-2640-fe0f",uc_match:"1f9d6-1f3fb-2640-fe0f",uc_greedy:"1f9d6-1f3fb-2640",shortnames:[":woman_in_steamy_room_light_skin_tone:"],category:"people"},":woman_in_steamy_room_tone2:":{uc_base:"1f9d6-1f3fc-2640",uc_output:"1f9d6-1f3fc-200d-2640-fe0f",uc_match:"1f9d6-1f3fc-2640-fe0f",uc_greedy:"1f9d6-1f3fc-2640",shortnames:[":woman_in_steamy_room_medium_light_skin_tone:"],category:"people"},":woman_in_steamy_room_tone3:":{uc_base:"1f9d6-1f3fd-2640",uc_output:"1f9d6-1f3fd-200d-2640-fe0f",uc_match:"1f9d6-1f3fd-2640-fe0f",uc_greedy:"1f9d6-1f3fd-2640",shortnames:[":woman_in_steamy_room_medium_skin_tone:"],category:"people"},":woman_in_steamy_room_tone4:":{uc_base:"1f9d6-1f3fe-2640",uc_output:"1f9d6-1f3fe-200d-2640-fe0f",uc_match:"1f9d6-1f3fe-2640-fe0f",uc_greedy:"1f9d6-1f3fe-2640",shortnames:[":woman_in_steamy_room_medium_dark_skin_tone:"],category:"people"},":woman_in_steamy_room_tone5:":{uc_base:"1f9d6-1f3ff-2640",uc_output:"1f9d6-1f3ff-200d-2640-fe0f",uc_match:"1f9d6-1f3ff-2640-fe0f",uc_greedy:"1f9d6-1f3ff-2640",shortnames:[":woman_in_steamy_room_dark_skin_tone:"],category:"people"},":woman_judge_tone1:":{uc_base:"1f469-1f3fb-2696",uc_output:"1f469-1f3fb-200d-2696-fe0f",uc_match:"1f469-1f3fb-2696-fe0f",uc_greedy:"1f469-1f3fb-2696",shortnames:[":woman_judge_light_skin_tone:"],category:"people"},":woman_judge_tone2:":{uc_base:"1f469-1f3fc-2696",uc_output:"1f469-1f3fc-200d-2696-fe0f",uc_match:"1f469-1f3fc-2696-fe0f",uc_greedy:"1f469-1f3fc-2696",shortnames:[":woman_judge_medium_light_skin_tone:"],category:"people"},":woman_judge_tone3:":{uc_base:"1f469-1f3fd-2696",uc_output:"1f469-1f3fd-200d-2696-fe0f",uc_match:"1f469-1f3fd-2696-fe0f",uc_greedy:"1f469-1f3fd-2696",shortnames:[":woman_judge_medium_skin_tone:"],category:"people"},":woman_judge_tone4:":{uc_base:"1f469-1f3fe-2696",uc_output:"1f469-1f3fe-200d-2696-fe0f",uc_match:"1f469-1f3fe-2696-fe0f",uc_greedy:"1f469-1f3fe-2696",shortnames:[":woman_judge_medium_dark_skin_tone:"],category:"people"},":woman_judge_tone5:":{uc_base:"1f469-1f3ff-2696",uc_output:"1f469-1f3ff-200d-2696-fe0f",uc_match:"1f469-1f3ff-2696-fe0f",uc_greedy:"1f469-1f3ff-2696",shortnames:[":woman_judge_dark_skin_tone:"],category:"people"},":woman_juggling_tone1:":{uc_base:"1f939-1f3fb-2640",uc_output:"1f939-1f3fb-200d-2640-fe0f",uc_match:"1f939-1f3fb-2640-fe0f",uc_greedy:"1f939-1f3fb-2640",shortnames:[":woman_juggling_light_skin_tone:"],category:"activity"},":woman_juggling_tone2:":{uc_base:"1f939-1f3fc-2640",uc_output:"1f939-1f3fc-200d-2640-fe0f",uc_match:"1f939-1f3fc-2640-fe0f",uc_greedy:"1f939-1f3fc-2640",shortnames:[":woman_juggling_medium_light_skin_tone:"],category:"activity"},":woman_juggling_tone3:":{uc_base:"1f939-1f3fd-2640",uc_output:"1f939-1f3fd-200d-2640-fe0f",uc_match:"1f939-1f3fd-2640-fe0f",uc_greedy:"1f939-1f3fd-2640",shortnames:[":woman_juggling_medium_skin_tone:"],category:"activity"},":woman_juggling_tone4:":{uc_base:"1f939-1f3fe-2640",uc_output:"1f939-1f3fe-200d-2640-fe0f",uc_match:"1f939-1f3fe-2640-fe0f",uc_greedy:"1f939-1f3fe-2640",shortnames:[":woman_juggling_medium_dark_skin_tone:"],category:"activity"},":woman_juggling_tone5:":{uc_base:"1f939-1f3ff-2640",uc_output:"1f939-1f3ff-200d-2640-fe0f",uc_match:"1f939-1f3ff-2640-fe0f",uc_greedy:"1f939-1f3ff-2640",shortnames:[":woman_juggling_dark_skin_tone:"],category:"activity"},":woman_lifting_weights_tone1:":{uc_base:"1f3cb-1f3fb-2640",uc_output:"1f3cb-1f3fb-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fb-2640-fe0f",uc_greedy:"1f3cb-1f3fb-2640",shortnames:[":woman_lifting_weights_light_skin_tone:"],category:"activity"},":woman_lifting_weights_tone2:":{uc_base:"1f3cb-1f3fc-2640",uc_output:"1f3cb-1f3fc-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fc-2640-fe0f",uc_greedy:"1f3cb-1f3fc-2640",shortnames:[":woman_lifting_weights_medium_light_skin_tone:"],category:"activity"},":woman_lifting_weights_tone3:":{uc_base:"1f3cb-1f3fd-2640",uc_output:"1f3cb-1f3fd-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fd-2640-fe0f",uc_greedy:"1f3cb-1f3fd-2640",shortnames:[":woman_lifting_weights_medium_skin_tone:"],category:"activity"},":woman_lifting_weights_tone4:":{uc_base:"1f3cb-1f3fe-2640",uc_output:"1f3cb-1f3fe-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fe-2640-fe0f",uc_greedy:"1f3cb-1f3fe-2640",shortnames:[":woman_lifting_weights_medium_dark_skin_tone:"],category:"activity"},":woman_lifting_weights_tone5:":{uc_base:"1f3cb-1f3ff-2640",uc_output:"1f3cb-1f3ff-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3ff-2640-fe0f",uc_greedy:"1f3cb-1f3ff-2640",shortnames:[":woman_lifting_weights_dark_skin_tone:"],category:"activity"},":woman_mage_tone1:":{uc_base:"1f9d9-1f3fb-2640",uc_output:"1f9d9-1f3fb-200d-2640-fe0f",uc_match:"1f9d9-1f3fb-2640-fe0f",uc_greedy:"1f9d9-1f3fb-2640",shortnames:[":woman_mage_light_skin_tone:"],category:"people"},":woman_mage_tone2:":{uc_base:"1f9d9-1f3fc-2640",uc_output:"1f9d9-1f3fc-200d-2640-fe0f",uc_match:"1f9d9-1f3fc-2640-fe0f",uc_greedy:"1f9d9-1f3fc-2640",shortnames:[":woman_mage_medium_light_skin_tone:"],category:"people"},":woman_mage_tone3:":{uc_base:"1f9d9-1f3fd-2640",uc_output:"1f9d9-1f3fd-200d-2640-fe0f",uc_match:"1f9d9-1f3fd-2640-fe0f",uc_greedy:"1f9d9-1f3fd-2640",shortnames:[":woman_mage_medium_skin_tone:"],category:"people"},":woman_mage_tone4:":{uc_base:"1f9d9-1f3fe-2640",uc_output:"1f9d9-1f3fe-200d-2640-fe0f",uc_match:"1f9d9-1f3fe-2640-fe0f",uc_greedy:"1f9d9-1f3fe-2640",shortnames:[":woman_mage_medium_dark_skin_tone:"],category:"people"},":woman_mage_tone5:":{uc_base:"1f9d9-1f3ff-2640",uc_output:"1f9d9-1f3ff-200d-2640-fe0f",uc_match:"1f9d9-1f3ff-2640-fe0f",uc_greedy:"1f9d9-1f3ff-2640",shortnames:[":woman_mage_dark_skin_tone:"],category:"people"},":woman_mountain_biking_tone1:":{uc_base:"1f6b5-1f3fb-2640",uc_output:"1f6b5-1f3fb-200d-2640-fe0f",uc_match:"1f6b5-1f3fb-2640-fe0f",uc_greedy:"1f6b5-1f3fb-2640",shortnames:[":woman_mountain_biking_light_skin_tone:"],category:"activity"},":woman_mountain_biking_tone2:":{uc_base:"1f6b5-1f3fc-2640",uc_output:"1f6b5-1f3fc-200d-2640-fe0f",uc_match:"1f6b5-1f3fc-2640-fe0f",uc_greedy:"1f6b5-1f3fc-2640",shortnames:[":woman_mountain_biking_medium_light_skin_tone:"],category:"activity"},":woman_mountain_biking_tone3:":{uc_base:"1f6b5-1f3fd-2640",uc_output:"1f6b5-1f3fd-200d-2640-fe0f",uc_match:"1f6b5-1f3fd-2640-fe0f",uc_greedy:"1f6b5-1f3fd-2640",shortnames:[":woman_mountain_biking_medium_skin_tone:"],category:"activity"},":woman_mountain_biking_tone4:":{uc_base:"1f6b5-1f3fe-2640",uc_output:"1f6b5-1f3fe-200d-2640-fe0f",uc_match:"1f6b5-1f3fe-2640-fe0f",uc_greedy:"1f6b5-1f3fe-2640",shortnames:[":woman_mountain_biking_medium_dark_skin_tone:"],category:"activity"},":woman_mountain_biking_tone5:":{uc_base:"1f6b5-1f3ff-2640",uc_output:"1f6b5-1f3ff-200d-2640-fe0f",uc_match:"1f6b5-1f3ff-2640-fe0f",uc_greedy:"1f6b5-1f3ff-2640",shortnames:[":woman_mountain_biking_dark_skin_tone:"],category:"activity"},":woman_pilot_tone1:":{uc_base:"1f469-1f3fb-2708",uc_output:"1f469-1f3fb-200d-2708-fe0f",uc_match:"1f469-1f3fb-2708-fe0f",uc_greedy:"1f469-1f3fb-2708",shortnames:[":woman_pilot_light_skin_tone:"],category:"people"},":woman_pilot_tone2:":{uc_base:"1f469-1f3fc-2708",uc_output:"1f469-1f3fc-200d-2708-fe0f",uc_match:"1f469-1f3fc-2708-fe0f",uc_greedy:"1f469-1f3fc-2708",shortnames:[":woman_pilot_medium_light_skin_tone:"],category:"people"},":woman_pilot_tone3:":{uc_base:"1f469-1f3fd-2708",uc_output:"1f469-1f3fd-200d-2708-fe0f",uc_match:"1f469-1f3fd-2708-fe0f",uc_greedy:"1f469-1f3fd-2708",shortnames:[":woman_pilot_medium_skin_tone:"],category:"people"},":woman_pilot_tone4:":{uc_base:"1f469-1f3fe-2708",uc_output:"1f469-1f3fe-200d-2708-fe0f",uc_match:"1f469-1f3fe-2708-fe0f",uc_greedy:"1f469-1f3fe-2708",shortnames:[":woman_pilot_medium_dark_skin_tone:"],category:"people"},":woman_pilot_tone5:":{uc_base:"1f469-1f3ff-2708",uc_output:"1f469-1f3ff-200d-2708-fe0f",uc_match:"1f469-1f3ff-2708-fe0f",uc_greedy:"1f469-1f3ff-2708",shortnames:[":woman_pilot_dark_skin_tone:"],category:"people"},":woman_playing_handball_tone1:":{uc_base:"1f93e-1f3fb-2640",uc_output:"1f93e-1f3fb-200d-2640-fe0f",uc_match:"1f93e-1f3fb-2640-fe0f",uc_greedy:"1f93e-1f3fb-2640",shortnames:[":woman_playing_handball_light_skin_tone:"],category:"activity"},":woman_playing_handball_tone2:":{uc_base:"1f93e-1f3fc-2640",uc_output:"1f93e-1f3fc-200d-2640-fe0f",uc_match:"1f93e-1f3fc-2640-fe0f",uc_greedy:"1f93e-1f3fc-2640",shortnames:[":woman_playing_handball_medium_light_skin_tone:"],category:"activity"},":woman_playing_handball_tone3:":{uc_base:"1f93e-1f3fd-2640",uc_output:"1f93e-1f3fd-200d-2640-fe0f",uc_match:"1f93e-1f3fd-2640-fe0f",uc_greedy:"1f93e-1f3fd-2640",shortnames:[":woman_playing_handball_medium_skin_tone:"],category:"activity"},":woman_playing_handball_tone4:":{uc_base:"1f93e-1f3fe-2640",uc_output:"1f93e-1f3fe-200d-2640-fe0f",uc_match:"1f93e-1f3fe-2640-fe0f",uc_greedy:"1f93e-1f3fe-2640",shortnames:[":woman_playing_handball_medium_dark_skin_tone:"],category:"activity"},":woman_playing_handball_tone5:":{uc_base:"1f93e-1f3ff-2640",uc_output:"1f93e-1f3ff-200d-2640-fe0f",uc_match:"1f93e-1f3ff-2640-fe0f",uc_greedy:"1f93e-1f3ff-2640",shortnames:[":woman_playing_handball_dark_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone1:":{uc_base:"1f93d-1f3fb-2640",uc_output:"1f93d-1f3fb-200d-2640-fe0f",uc_match:"1f93d-1f3fb-2640-fe0f",uc_greedy:"1f93d-1f3fb-2640",shortnames:[":woman_playing_water_polo_light_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone2:":{uc_base:"1f93d-1f3fc-2640",uc_output:"1f93d-1f3fc-200d-2640-fe0f",uc_match:"1f93d-1f3fc-2640-fe0f",uc_greedy:"1f93d-1f3fc-2640",shortnames:[":woman_playing_water_polo_medium_light_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone3:":{uc_base:"1f93d-1f3fd-2640",uc_output:"1f93d-1f3fd-200d-2640-fe0f",uc_match:"1f93d-1f3fd-2640-fe0f",uc_greedy:"1f93d-1f3fd-2640",shortnames:[":woman_playing_water_polo_medium_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone4:":{uc_base:"1f93d-1f3fe-2640",uc_output:"1f93d-1f3fe-200d-2640-fe0f",uc_match:"1f93d-1f3fe-2640-fe0f",uc_greedy:"1f93d-1f3fe-2640",shortnames:[":woman_playing_water_polo_medium_dark_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone5:":{uc_base:"1f93d-1f3ff-2640",uc_output:"1f93d-1f3ff-200d-2640-fe0f",uc_match:"1f93d-1f3ff-2640-fe0f",uc_greedy:"1f93d-1f3ff-2640",shortnames:[":woman_playing_water_polo_dark_skin_tone:"],category:"activity"},":woman_police_officer_tone1:":{uc_base:"1f46e-1f3fb-2640",uc_output:"1f46e-1f3fb-200d-2640-fe0f",uc_match:"1f46e-1f3fb-2640-fe0f",uc_greedy:"1f46e-1f3fb-2640",shortnames:[":woman_police_officer_light_skin_tone:"],category:"people"},":woman_police_officer_tone2:":{uc_base:"1f46e-1f3fc-2640",uc_output:"1f46e-1f3fc-200d-2640-fe0f",uc_match:"1f46e-1f3fc-2640-fe0f",uc_greedy:"1f46e-1f3fc-2640",shortnames:[":woman_police_officer_medium_light_skin_tone:"],category:"people"},":woman_police_officer_tone3:":{uc_base:"1f46e-1f3fd-2640",uc_output:"1f46e-1f3fd-200d-2640-fe0f",uc_match:"1f46e-1f3fd-2640-fe0f",uc_greedy:"1f46e-1f3fd-2640",shortnames:[":woman_police_officer_medium_skin_tone:"],category:"people"},":woman_police_officer_tone4:":{uc_base:"1f46e-1f3fe-2640",uc_output:"1f46e-1f3fe-200d-2640-fe0f",uc_match:"1f46e-1f3fe-2640-fe0f",uc_greedy:"1f46e-1f3fe-2640",shortnames:[":woman_police_officer_medium_dark_skin_tone:"],category:"people"},":woman_police_officer_tone5:":{uc_base:"1f46e-1f3ff-2640",uc_output:"1f46e-1f3ff-200d-2640-fe0f",uc_match:"1f46e-1f3ff-2640-fe0f",uc_greedy:"1f46e-1f3ff-2640",shortnames:[":woman_police_officer_dark_skin_tone:"],category:"people"},":woman_pouting_tone1:":{uc_base:"1f64e-1f3fb-2640",uc_output:"1f64e-1f3fb-200d-2640-fe0f",uc_match:"1f64e-1f3fb-2640-fe0f",uc_greedy:"1f64e-1f3fb-2640",shortnames:[":woman_pouting_light_skin_tone:"],category:"people"},":woman_pouting_tone2:":{uc_base:"1f64e-1f3fc-2640",uc_output:"1f64e-1f3fc-200d-2640-fe0f",uc_match:"1f64e-1f3fc-2640-fe0f",uc_greedy:"1f64e-1f3fc-2640",shortnames:[":woman_pouting_medium_light_skin_tone:"],category:"people"},":woman_pouting_tone3:":{uc_base:"1f64e-1f3fd-2640",uc_output:"1f64e-1f3fd-200d-2640-fe0f",uc_match:"1f64e-1f3fd-2640-fe0f",uc_greedy:"1f64e-1f3fd-2640",shortnames:[":woman_pouting_medium_skin_tone:"],category:"people"},":woman_pouting_tone4:":{uc_base:"1f64e-1f3fe-2640",uc_output:"1f64e-1f3fe-200d-2640-fe0f",uc_match:"1f64e-1f3fe-2640-fe0f",uc_greedy:"1f64e-1f3fe-2640",shortnames:[":woman_pouting_medium_dark_skin_tone:"],category:"people"},":woman_pouting_tone5:":{uc_base:"1f64e-1f3ff-2640",uc_output:"1f64e-1f3ff-200d-2640-fe0f",uc_match:"1f64e-1f3ff-2640-fe0f",uc_greedy:"1f64e-1f3ff-2640",shortnames:[":woman_pouting_dark_skin_tone:"],category:"people"},":woman_raising_hand_tone1:":{uc_base:"1f64b-1f3fb-2640",uc_output:"1f64b-1f3fb-200d-2640-fe0f",uc_match:"1f64b-1f3fb-2640-fe0f",uc_greedy:"1f64b-1f3fb-2640",shortnames:[":woman_raising_hand_light_skin_tone:"],category:"people"},":woman_raising_hand_tone2:":{uc_base:"1f64b-1f3fc-2640",uc_output:"1f64b-1f3fc-200d-2640-fe0f",uc_match:"1f64b-1f3fc-2640-fe0f",uc_greedy:"1f64b-1f3fc-2640",shortnames:[":woman_raising_hand_medium_light_skin_tone:"],category:"people"},":woman_raising_hand_tone3:":{uc_base:"1f64b-1f3fd-2640",uc_output:"1f64b-1f3fd-200d-2640-fe0f",uc_match:"1f64b-1f3fd-2640-fe0f",uc_greedy:"1f64b-1f3fd-2640",shortnames:[":woman_raising_hand_medium_skin_tone:"],category:"people"},":woman_raising_hand_tone4:":{uc_base:"1f64b-1f3fe-2640",uc_output:"1f64b-1f3fe-200d-2640-fe0f",uc_match:"1f64b-1f3fe-2640-fe0f",uc_greedy:"1f64b-1f3fe-2640",shortnames:[":woman_raising_hand_medium_dark_skin_tone:"],category:"people"},":woman_raising_hand_tone5:":{uc_base:"1f64b-1f3ff-2640",uc_output:"1f64b-1f3ff-200d-2640-fe0f",uc_match:"1f64b-1f3ff-2640-fe0f",uc_greedy:"1f64b-1f3ff-2640",shortnames:[":woman_raising_hand_dark_skin_tone:"],category:"people"},":woman_rowing_boat_tone1:":{uc_base:"1f6a3-1f3fb-2640",uc_output:"1f6a3-1f3fb-200d-2640-fe0f",uc_match:"1f6a3-1f3fb-2640-fe0f",uc_greedy:"1f6a3-1f3fb-2640",shortnames:[":woman_rowing_boat_light_skin_tone:"],category:"activity"},":woman_rowing_boat_tone2:":{uc_base:"1f6a3-1f3fc-2640",uc_output:"1f6a3-1f3fc-200d-2640-fe0f",uc_match:"1f6a3-1f3fc-2640-fe0f",uc_greedy:"1f6a3-1f3fc-2640",shortnames:[":woman_rowing_boat_medium_light_skin_tone:"],category:"activity"},":woman_rowing_boat_tone3:":{uc_base:"1f6a3-1f3fd-2640",uc_output:"1f6a3-1f3fd-200d-2640-fe0f",uc_match:"1f6a3-1f3fd-2640-fe0f",uc_greedy:"1f6a3-1f3fd-2640",shortnames:[":woman_rowing_boat_medium_skin_tone:"],category:"activity"},":woman_rowing_boat_tone4:":{uc_base:"1f6a3-1f3fe-2640",uc_output:"1f6a3-1f3fe-200d-2640-fe0f",uc_match:"1f6a3-1f3fe-2640-fe0f",uc_greedy:"1f6a3-1f3fe-2640",shortnames:[":woman_rowing_boat_medium_dark_skin_tone:"],category:"activity"},":woman_rowing_boat_tone5:":{uc_base:"1f6a3-1f3ff-2640",uc_output:"1f6a3-1f3ff-200d-2640-fe0f",uc_match:"1f6a3-1f3ff-2640-fe0f",uc_greedy:"1f6a3-1f3ff-2640",shortnames:[":woman_rowing_boat_dark_skin_tone:"],category:"activity"},":woman_running_tone1:":{uc_base:"1f3c3-1f3fb-2640",uc_output:"1f3c3-1f3fb-200d-2640-fe0f",uc_match:"1f3c3-1f3fb-2640-fe0f",uc_greedy:"1f3c3-1f3fb-2640",shortnames:[":woman_running_light_skin_tone:"],category:"people"},":woman_running_tone2:":{uc_base:"1f3c3-1f3fc-2640",uc_output:"1f3c3-1f3fc-200d-2640-fe0f",uc_match:"1f3c3-1f3fc-2640-fe0f",uc_greedy:"1f3c3-1f3fc-2640",shortnames:[":woman_running_medium_light_skin_tone:"],category:"people"},":woman_running_tone3:":{uc_base:"1f3c3-1f3fd-2640",uc_output:"1f3c3-1f3fd-200d-2640-fe0f",uc_match:"1f3c3-1f3fd-2640-fe0f",uc_greedy:"1f3c3-1f3fd-2640",shortnames:[":woman_running_medium_skin_tone:"],category:"people"},":woman_running_tone4:":{uc_base:"1f3c3-1f3fe-2640",uc_output:"1f3c3-1f3fe-200d-2640-fe0f",uc_match:"1f3c3-1f3fe-2640-fe0f",uc_greedy:"1f3c3-1f3fe-2640",shortnames:[":woman_running_medium_dark_skin_tone:"],category:"people"},":woman_running_tone5:":{uc_base:"1f3c3-1f3ff-2640",uc_output:"1f3c3-1f3ff-200d-2640-fe0f",uc_match:"1f3c3-1f3ff-2640-fe0f",uc_greedy:"1f3c3-1f3ff-2640",shortnames:[":woman_running_dark_skin_tone:"],category:"people"},":woman_shrugging_tone1:":{uc_base:"1f937-1f3fb-2640",uc_output:"1f937-1f3fb-200d-2640-fe0f",uc_match:"1f937-1f3fb-2640-fe0f",uc_greedy:"1f937-1f3fb-2640",shortnames:[":woman_shrugging_light_skin_tone:"],category:"people"},":woman_shrugging_tone2:":{uc_base:"1f937-1f3fc-2640",uc_output:"1f937-1f3fc-200d-2640-fe0f",uc_match:"1f937-1f3fc-2640-fe0f",uc_greedy:"1f937-1f3fc-2640",shortnames:[":woman_shrugging_medium_light_skin_tone:"],category:"people"},":woman_shrugging_tone3:":{uc_base:"1f937-1f3fd-2640",uc_output:"1f937-1f3fd-200d-2640-fe0f",uc_match:"1f937-1f3fd-2640-fe0f",uc_greedy:"1f937-1f3fd-2640",shortnames:[":woman_shrugging_medium_skin_tone:"],category:"people"},":woman_shrugging_tone4:":{uc_base:"1f937-1f3fe-2640",uc_output:"1f937-1f3fe-200d-2640-fe0f",uc_match:"1f937-1f3fe-2640-fe0f",uc_greedy:"1f937-1f3fe-2640",shortnames:[":woman_shrugging_medium_dark_skin_tone:"],category:"people"},":woman_shrugging_tone5:":{uc_base:"1f937-1f3ff-2640",uc_output:"1f937-1f3ff-200d-2640-fe0f",uc_match:"1f937-1f3ff-2640-fe0f",uc_greedy:"1f937-1f3ff-2640",shortnames:[":woman_shrugging_dark_skin_tone:"],category:"people"},":woman_superhero_tone1:":{uc_base:"1f9b8-1f3fb-2640",uc_output:"1f9b8-1f3fb-200d-2640-fe0f",uc_match:"1f9b8-1f3fb-2640-fe0f",uc_greedy:"1f9b8-1f3fb-2640",shortnames:[":woman_superhero_light_skin_tone:"],category:"people"},":woman_superhero_tone2:":{uc_base:"1f9b8-1f3fc-2640",uc_output:"1f9b8-1f3fc-200d-2640-fe0f",uc_match:"1f9b8-1f3fc-2640-fe0f",uc_greedy:"1f9b8-1f3fc-2640",shortnames:[":woman_superhero_medium_light_skin_tone:"],category:"people"},":woman_superhero_tone3:":{uc_base:"1f9b8-1f3fd-2640",uc_output:"1f9b8-1f3fd-200d-2640-fe0f",uc_match:"1f9b8-1f3fd-2640-fe0f",uc_greedy:"1f9b8-1f3fd-2640",shortnames:[":woman_superhero_medium_skin_tone:"],category:"people"},":woman_superhero_tone4:":{uc_base:"1f9b8-1f3fe-2640",uc_output:"1f9b8-1f3fe-200d-2640-fe0f",uc_match:"1f9b8-1f3fe-2640-fe0f",uc_greedy:"1f9b8-1f3fe-2640",shortnames:[":woman_superhero_medium_dark_skin_tone:"],category:"people"},":woman_superhero_tone5:":{uc_base:"1f9b8-1f3ff-2640",uc_output:"1f9b8-1f3ff-200d-2640-fe0f",uc_match:"1f9b8-1f3ff-2640-fe0f",uc_greedy:"1f9b8-1f3ff-2640",shortnames:[":woman_superhero_dark_skin_tone:"],category:"people"},":woman_supervillain_tone1:":{uc_base:"1f9b9-1f3fb-2640",uc_output:"1f9b9-1f3fb-200d-2640-fe0f",uc_match:"1f9b9-1f3fb-2640-fe0f",uc_greedy:"1f9b9-1f3fb-2640",shortnames:[":woman_supervillain_light_skin_tone:"],category:"people"},":woman_supervillain_tone2:":{uc_base:"1f9b9-1f3fc-2640",uc_output:"1f9b9-1f3fc-200d-2640-fe0f",uc_match:"1f9b9-1f3fc-2640-fe0f",uc_greedy:"1f9b9-1f3fc-2640",shortnames:[":woman_supervillain_medium_light_skin_tone:"],category:"people"},":woman_supervillain_tone3:":{uc_base:"1f9b9-1f3fd-2640",uc_output:"1f9b9-1f3fd-200d-2640-fe0f",uc_match:"1f9b9-1f3fd-2640-fe0f",uc_greedy:"1f9b9-1f3fd-2640",shortnames:[":woman_supervillain_medium_skin_tone:"],category:"people"},":woman_supervillain_tone4:":{uc_base:"1f9b9-1f3fe-2640",uc_output:"1f9b9-1f3fe-200d-2640-fe0f",uc_match:"1f9b9-1f3fe-2640-fe0f",uc_greedy:"1f9b9-1f3fe-2640",shortnames:[":woman_supervillain_medium_dark_skin_tone:"],category:"people"},":woman_supervillain_tone5:":{uc_base:"1f9b9-1f3ff-2640",uc_output:"1f9b9-1f3ff-200d-2640-fe0f",uc_match:"1f9b9-1f3ff-2640-fe0f",uc_greedy:"1f9b9-1f3ff-2640",shortnames:[":woman_supervillain_dark_skin_tone:"],category:"people"},":woman_surfing_tone1:":{uc_base:"1f3c4-1f3fb-2640",uc_output:"1f3c4-1f3fb-200d-2640-fe0f",uc_match:"1f3c4-1f3fb-2640-fe0f",uc_greedy:"1f3c4-1f3fb-2640",shortnames:[":woman_surfing_light_skin_tone:"],category:"activity"},":woman_surfing_tone2:":{uc_base:"1f3c4-1f3fc-2640",uc_output:"1f3c4-1f3fc-200d-2640-fe0f",uc_match:"1f3c4-1f3fc-2640-fe0f",uc_greedy:"1f3c4-1f3fc-2640",shortnames:[":woman_surfing_medium_light_skin_tone:"],category:"activity"},":woman_surfing_tone3:":{uc_base:"1f3c4-1f3fd-2640",uc_output:"1f3c4-1f3fd-200d-2640-fe0f",uc_match:"1f3c4-1f3fd-2640-fe0f",uc_greedy:"1f3c4-1f3fd-2640",shortnames:[":woman_surfing_medium_skin_tone:"],category:"activity"},":woman_surfing_tone4:":{uc_base:"1f3c4-1f3fe-2640",uc_output:"1f3c4-1f3fe-200d-2640-fe0f",uc_match:"1f3c4-1f3fe-2640-fe0f",uc_greedy:"1f3c4-1f3fe-2640",shortnames:[":woman_surfing_medium_dark_skin_tone:"],category:"activity"},":woman_surfing_tone5:":{uc_base:"1f3c4-1f3ff-2640",uc_output:"1f3c4-1f3ff-200d-2640-fe0f",uc_match:"1f3c4-1f3ff-2640-fe0f",uc_greedy:"1f3c4-1f3ff-2640",shortnames:[":woman_surfing_dark_skin_tone:"],category:"activity"},":woman_swimming_tone1:":{uc_base:"1f3ca-1f3fb-2640",uc_output:"1f3ca-1f3fb-200d-2640-fe0f",uc_match:"1f3ca-1f3fb-2640-fe0f",uc_greedy:"1f3ca-1f3fb-2640",shortnames:[":woman_swimming_light_skin_tone:"],category:"activity"},":woman_swimming_tone2:":{uc_base:"1f3ca-1f3fc-2640",uc_output:"1f3ca-1f3fc-200d-2640-fe0f",uc_match:"1f3ca-1f3fc-2640-fe0f",uc_greedy:"1f3ca-1f3fc-2640",shortnames:[":woman_swimming_medium_light_skin_tone:"],category:"activity"},":woman_swimming_tone3:":{uc_base:"1f3ca-1f3fd-2640",uc_output:"1f3ca-1f3fd-200d-2640-fe0f",uc_match:"1f3ca-1f3fd-2640-fe0f",uc_greedy:"1f3ca-1f3fd-2640",shortnames:[":woman_swimming_medium_skin_tone:"],category:"activity"},":woman_swimming_tone4:":{uc_base:"1f3ca-1f3fe-2640",uc_output:"1f3ca-1f3fe-200d-2640-fe0f",uc_match:"1f3ca-1f3fe-2640-fe0f",uc_greedy:"1f3ca-1f3fe-2640",shortnames:[":woman_swimming_medium_dark_skin_tone:"],category:"activity"},":woman_swimming_tone5:":{uc_base:"1f3ca-1f3ff-2640",uc_output:"1f3ca-1f3ff-200d-2640-fe0f",uc_match:"1f3ca-1f3ff-2640-fe0f",uc_greedy:"1f3ca-1f3ff-2640",shortnames:[":woman_swimming_dark_skin_tone:"],category:"activity"},":woman_tipping_hand_tone1:":{uc_base:"1f481-1f3fb-2640",uc_output:"1f481-1f3fb-200d-2640-fe0f",uc_match:"1f481-1f3fb-2640-fe0f",uc_greedy:"1f481-1f3fb-2640",shortnames:[":woman_tipping_hand_light_skin_tone:"],category:"people"},":woman_tipping_hand_tone2:":{uc_base:"1f481-1f3fc-2640",uc_output:"1f481-1f3fc-200d-2640-fe0f",uc_match:"1f481-1f3fc-2640-fe0f",uc_greedy:"1f481-1f3fc-2640",shortnames:[":woman_tipping_hand_medium_light_skin_tone:"],category:"people"},":woman_tipping_hand_tone3:":{uc_base:"1f481-1f3fd-2640",uc_output:"1f481-1f3fd-200d-2640-fe0f",uc_match:"1f481-1f3fd-2640-fe0f",uc_greedy:"1f481-1f3fd-2640",shortnames:[":woman_tipping_hand_medium_skin_tone:"],category:"people"},":woman_tipping_hand_tone4:":{uc_base:"1f481-1f3fe-2640",uc_output:"1f481-1f3fe-200d-2640-fe0f",uc_match:"1f481-1f3fe-2640-fe0f",uc_greedy:"1f481-1f3fe-2640",shortnames:[":woman_tipping_hand_medium_dark_skin_tone:"],category:"people"},":woman_tipping_hand_tone5:":{uc_base:"1f481-1f3ff-2640",uc_output:"1f481-1f3ff-200d-2640-fe0f",uc_match:"1f481-1f3ff-2640-fe0f",uc_greedy:"1f481-1f3ff-2640",shortnames:[":woman_tipping_hand_dark_skin_tone:"],category:"people"},":woman_vampire_tone1:":{uc_base:"1f9db-1f3fb-2640",uc_output:"1f9db-1f3fb-200d-2640-fe0f",uc_match:"1f9db-1f3fb-2640-fe0f",uc_greedy:"1f9db-1f3fb-2640",shortnames:[":woman_vampire_light_skin_tone:"],category:"people"},":woman_vampire_tone2:":{uc_base:"1f9db-1f3fc-2640",uc_output:"1f9db-1f3fc-200d-2640-fe0f",uc_match:"1f9db-1f3fc-2640-fe0f",uc_greedy:"1f9db-1f3fc-2640",shortnames:[":woman_vampire_medium_light_skin_tone:"],category:"people"},":woman_vampire_tone3:":{uc_base:"1f9db-1f3fd-2640",uc_output:"1f9db-1f3fd-200d-2640-fe0f",uc_match:"1f9db-1f3fd-2640-fe0f",uc_greedy:"1f9db-1f3fd-2640",shortnames:[":woman_vampire_medium_skin_tone:"],category:"people"},":woman_vampire_tone4:":{uc_base:"1f9db-1f3fe-2640",uc_output:"1f9db-1f3fe-200d-2640-fe0f",uc_match:"1f9db-1f3fe-2640-fe0f",uc_greedy:"1f9db-1f3fe-2640",shortnames:[":woman_vampire_medium_dark_skin_tone:"],category:"people"},":woman_vampire_tone5:":{uc_base:"1f9db-1f3ff-2640",uc_output:"1f9db-1f3ff-200d-2640-fe0f",uc_match:"1f9db-1f3ff-2640-fe0f",uc_greedy:"1f9db-1f3ff-2640",shortnames:[":woman_vampire_dark_skin_tone:"],category:"people"},":woman_walking_tone1:":{uc_base:"1f6b6-1f3fb-2640",uc_output:"1f6b6-1f3fb-200d-2640-fe0f",uc_match:"1f6b6-1f3fb-2640-fe0f",uc_greedy:"1f6b6-1f3fb-2640",shortnames:[":woman_walking_light_skin_tone:"],category:"people"},":woman_walking_tone2:":{uc_base:"1f6b6-1f3fc-2640",uc_output:"1f6b6-1f3fc-200d-2640-fe0f",uc_match:"1f6b6-1f3fc-2640-fe0f",uc_greedy:"1f6b6-1f3fc-2640",shortnames:[":woman_walking_medium_light_skin_tone:"],category:"people"},":woman_walking_tone3:":{uc_base:"1f6b6-1f3fd-2640",uc_output:"1f6b6-1f3fd-200d-2640-fe0f",uc_match:"1f6b6-1f3fd-2640-fe0f",uc_greedy:"1f6b6-1f3fd-2640",shortnames:[":woman_walking_medium_skin_tone:"],category:"people"},":woman_walking_tone4:":{uc_base:"1f6b6-1f3fe-2640",uc_output:"1f6b6-1f3fe-200d-2640-fe0f",uc_match:"1f6b6-1f3fe-2640-fe0f",uc_greedy:"1f6b6-1f3fe-2640",shortnames:[":woman_walking_medium_dark_skin_tone:"],category:"people"},":woman_walking_tone5:":{uc_base:"1f6b6-1f3ff-2640",uc_output:"1f6b6-1f3ff-200d-2640-fe0f",uc_match:"1f6b6-1f3ff-2640-fe0f",uc_greedy:"1f6b6-1f3ff-2640",shortnames:[":woman_walking_dark_skin_tone:"],category:"people"},":woman_wearing_turban_tone1:":{uc_base:"1f473-1f3fb-2640",uc_output:"1f473-1f3fb-200d-2640-fe0f",uc_match:"1f473-1f3fb-2640-fe0f",uc_greedy:"1f473-1f3fb-2640",shortnames:[":woman_wearing_turban_light_skin_tone:"],category:"people"},":woman_wearing_turban_tone2:":{uc_base:"1f473-1f3fc-2640",uc_output:"1f473-1f3fc-200d-2640-fe0f",uc_match:"1f473-1f3fc-2640-fe0f",uc_greedy:"1f473-1f3fc-2640",shortnames:[":woman_wearing_turban_medium_light_skin_tone:"],category:"people"},":woman_wearing_turban_tone3:":{uc_base:"1f473-1f3fd-2640",uc_output:"1f473-1f3fd-200d-2640-fe0f",uc_match:"1f473-1f3fd-2640-fe0f",uc_greedy:"1f473-1f3fd-2640",shortnames:[":woman_wearing_turban_medium_skin_tone:"],category:"people"},":woman_wearing_turban_tone4:":{uc_base:"1f473-1f3fe-2640",uc_output:"1f473-1f3fe-200d-2640-fe0f",uc_match:"1f473-1f3fe-2640-fe0f",uc_greedy:"1f473-1f3fe-2640",shortnames:[":woman_wearing_turban_medium_dark_skin_tone:"],category:"people"},":woman_wearing_turban_tone5:":{uc_base:"1f473-1f3ff-2640",uc_output:"1f473-1f3ff-200d-2640-fe0f",uc_match:"1f473-1f3ff-2640-fe0f",uc_greedy:"1f473-1f3ff-2640",shortnames:[":woman_wearing_turban_dark_skin_tone:"],category:"people"},":man_bouncing_ball_tone1:":{uc_base:"26f9-1f3fb-2642",uc_output:"26f9-1f3fb-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fb-2642-fe0f",uc_greedy:"26f9-1f3fb-2642",shortnames:[":man_bouncing_ball_light_skin_tone:"],category:"activity"},":man_bouncing_ball_tone2:":{uc_base:"26f9-1f3fc-2642",uc_output:"26f9-1f3fc-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fc-2642-fe0f",uc_greedy:"26f9-1f3fc-2642",shortnames:[":man_bouncing_ball_medium_light_skin_tone:"],category:"activity"},":man_bouncing_ball_tone3:":{uc_base:"26f9-1f3fd-2642",uc_output:"26f9-1f3fd-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fd-2642-fe0f",uc_greedy:"26f9-1f3fd-2642",shortnames:[":man_bouncing_ball_medium_skin_tone:"],category:"activity"},":man_bouncing_ball_tone4:":{uc_base:"26f9-1f3fe-2642",uc_output:"26f9-1f3fe-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fe-2642-fe0f",uc_greedy:"26f9-1f3fe-2642",shortnames:[":man_bouncing_ball_medium_dark_skin_tone:"],category:"activity"},":man_bouncing_ball_tone5:":{uc_base:"26f9-1f3ff-2642",uc_output:"26f9-1f3ff-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3ff-2642-fe0f",uc_greedy:"26f9-1f3ff-2642",shortnames:[":man_bouncing_ball_dark_skin_tone:"],category:"activity"},":man_detective:":{uc_base:"1f575-2642",uc_output:"1f575-fe0f-200d-2642-fe0f",uc_match:"1f575-fe0f-200d-2642",uc_greedy:"1f575-2642",shortnames:[],category:"people"},":man_golfing:":{uc_base:"1f3cc-2642",uc_output:"1f3cc-fe0f-200d-2642-fe0f",uc_match:"1f3cc-fe0f-200d-2642",uc_greedy:"1f3cc-2642",shortnames:[],category:"activity"},":man_lifting_weights:":{uc_base:"1f3cb-2642",uc_output:"1f3cb-fe0f-200d-2642-fe0f",uc_match:"1f3cb-fe0f-200d-2642",uc_greedy:"1f3cb-2642",shortnames:[],category:"activity"},":woman_bouncing_ball_tone1:":{uc_base:"26f9-1f3fb-2640",uc_output:"26f9-1f3fb-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fb-2640-fe0f",uc_greedy:"26f9-1f3fb-2640",shortnames:[":woman_bouncing_ball_light_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone2:":{uc_base:"26f9-1f3fc-2640",uc_output:"26f9-1f3fc-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fc-2640-fe0f",uc_greedy:"26f9-1f3fc-2640",shortnames:[":woman_bouncing_ball_medium_light_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone3:":{uc_base:"26f9-1f3fd-2640",uc_output:"26f9-1f3fd-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fd-2640-fe0f",uc_greedy:"26f9-1f3fd-2640",shortnames:[":woman_bouncing_ball_medium_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone4:":{uc_base:"26f9-1f3fe-2640",uc_output:"26f9-1f3fe-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fe-2640-fe0f",uc_greedy:"26f9-1f3fe-2640",shortnames:[":woman_bouncing_ball_medium_dark_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone5:":{uc_base:"26f9-1f3ff-2640",uc_output:"26f9-1f3ff-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3ff-2640-fe0f",uc_greedy:"26f9-1f3ff-2640",shortnames:[":woman_bouncing_ball_dark_skin_tone:"],category:"activity"},":woman_detective:":{uc_base:"1f575-2640",uc_output:"1f575-fe0f-200d-2640-fe0f",uc_match:"1f575-fe0f-200d-2640",uc_greedy:"1f575-2640",shortnames:[],category:"people"},":woman_golfing:":{uc_base:"1f3cc-2640",uc_output:"1f3cc-fe0f-200d-2640-fe0f",uc_match:"1f3cc-fe0f-200d-2640",uc_greedy:"1f3cc-2640",shortnames:[],category:"activity"},":woman_lifting_weights:":{uc_base:"1f3cb-2640",uc_output:"1f3cb-fe0f-200d-2640-fe0f",uc_match:"1f3cb-fe0f-200d-2640",uc_greedy:"1f3cb-2640",shortnames:[],category:"activity"},":man_bouncing_ball:":{uc_base:"26f9-2642",uc_output:"26f9-fe0f-200d-2642-fe0f",uc_match:"26f9-fe0f-200d-2642",uc_greedy:"26f9-2642",shortnames:[],category:"activity"},":woman_bouncing_ball:":{uc_base:"26f9-2640",uc_output:"26f9-fe0f-200d-2640-fe0f",uc_match:"26f9-fe0f-200d-2640",uc_greedy:"26f9-2640",shortnames:[],category:"activity"},":man_artist_tone1:":{uc_base:"1f468-1f3fb-1f3a8",uc_output:"1f468-1f3fb-200d-1f3a8",uc_match:"1f468-1f3fb-1f3a8",uc_greedy:"1f468-1f3fb-1f3a8",shortnames:[":man_artist_light_skin_tone:"],category:"people"},":man_artist_tone2:":{uc_base:"1f468-1f3fc-1f3a8",uc_output:"1f468-1f3fc-200d-1f3a8",uc_match:"1f468-1f3fc-1f3a8",uc_greedy:"1f468-1f3fc-1f3a8",shortnames:[":man_artist_medium_light_skin_tone:"],category:"people"},":man_artist_tone3:":{uc_base:"1f468-1f3fd-1f3a8",uc_output:"1f468-1f3fd-200d-1f3a8",uc_match:"1f468-1f3fd-1f3a8",uc_greedy:"1f468-1f3fd-1f3a8",shortnames:[":man_artist_medium_skin_tone:"],category:"people"},":man_artist_tone4:":{uc_base:"1f468-1f3fe-1f3a8",uc_output:"1f468-1f3fe-200d-1f3a8",uc_match:"1f468-1f3fe-1f3a8",uc_greedy:"1f468-1f3fe-1f3a8",shortnames:[":man_artist_medium_dark_skin_tone:"],category:"people"},":man_artist_tone5:":{uc_base:"1f468-1f3ff-1f3a8",uc_output:"1f468-1f3ff-200d-1f3a8",uc_match:"1f468-1f3ff-1f3a8",uc_greedy:"1f468-1f3ff-1f3a8",shortnames:[":man_artist_dark_skin_tone:"],category:"people"},":man_astronaut_tone1:":{uc_base:"1f468-1f3fb-1f680",uc_output:"1f468-1f3fb-200d-1f680",uc_match:"1f468-1f3fb-1f680",uc_greedy:"1f468-1f3fb-1f680",shortnames:[":man_astronaut_light_skin_tone:"],category:"people"},":man_astronaut_tone2:":{uc_base:"1f468-1f3fc-1f680",uc_output:"1f468-1f3fc-200d-1f680",uc_match:"1f468-1f3fc-1f680",uc_greedy:"1f468-1f3fc-1f680",shortnames:[":man_astronaut_medium_light_skin_tone:"],category:"people"},":man_astronaut_tone3:":{uc_base:"1f468-1f3fd-1f680",uc_output:"1f468-1f3fd-200d-1f680",uc_match:"1f468-1f3fd-1f680",uc_greedy:"1f468-1f3fd-1f680",shortnames:[":man_astronaut_medium_skin_tone:"],category:"people"},":man_astronaut_tone4:":{uc_base:"1f468-1f3fe-1f680",uc_output:"1f468-1f3fe-200d-1f680",uc_match:"1f468-1f3fe-1f680",uc_greedy:"1f468-1f3fe-1f680",shortnames:[":man_astronaut_medium_dark_skin_tone:"],category:"people"},":man_astronaut_tone5:":{uc_base:"1f468-1f3ff-1f680",uc_output:"1f468-1f3ff-200d-1f680",uc_match:"1f468-1f3ff-1f680",uc_greedy:"1f468-1f3ff-1f680",shortnames:[":man_astronaut_dark_skin_tone:"],category:"people"},":man_bald_tone1:":{uc_base:"1f468-1f3fb-1f9b2",uc_output:"1f468-1f3fb-200d-1f9b2",uc_match:"1f468-1f3fb-1f9b2",uc_greedy:"1f468-1f3fb-1f9b2",shortnames:[":man_bald_light_skin_tone:"],category:"people"},":man_bald_tone2:":{uc_base:"1f468-1f3fc-1f9b2",uc_output:"1f468-1f3fc-200d-1f9b2",uc_match:"1f468-1f3fc-1f9b2",uc_greedy:"1f468-1f3fc-1f9b2",shortnames:[":man_bald_medium_light_skin_tone:"],category:"people"},":man_bald_tone3:":{uc_base:"1f468-1f3fd-1f9b2",uc_output:"1f468-1f3fd-200d-1f9b2",uc_match:"1f468-1f3fd-1f9b2",uc_greedy:"1f468-1f3fd-1f9b2",shortnames:[":man_bald_medium_skin_tone:"],category:"people"},":man_bald_tone4:":{uc_base:"1f468-1f3fe-1f9b2",uc_output:"1f468-1f3fe-200d-1f9b2",uc_match:"1f468-1f3fe-1f9b2",uc_greedy:"1f468-1f3fe-1f9b2",shortnames:[":man_bald_medium_dark_skin_tone:"],category:"people"},":man_bald_tone5:":{uc_base:"1f468-1f3ff-1f9b2",uc_output:"1f468-1f3ff-200d-1f9b2",uc_match:"1f468-1f3ff-1f9b2",uc_greedy:"1f468-1f3ff-1f9b2",shortnames:[":man_bald_dark_skin_tone:"],category:"people"},":man_cook_tone1:":{uc_base:"1f468-1f3fb-1f373",uc_output:"1f468-1f3fb-200d-1f373",uc_match:"1f468-1f3fb-1f373",uc_greedy:"1f468-1f3fb-1f373",shortnames:[":man_cook_light_skin_tone:"],category:"people"},":man_cook_tone2:":{uc_base:"1f468-1f3fc-1f373",uc_output:"1f468-1f3fc-200d-1f373",uc_match:"1f468-1f3fc-1f373",uc_greedy:"1f468-1f3fc-1f373",shortnames:[":man_cook_medium_light_skin_tone:"],category:"people"},":man_cook_tone3:":{uc_base:"1f468-1f3fd-1f373",uc_output:"1f468-1f3fd-200d-1f373",uc_match:"1f468-1f3fd-1f373",uc_greedy:"1f468-1f3fd-1f373",shortnames:[":man_cook_medium_skin_tone:"],category:"people"},":man_cook_tone4:":{uc_base:"1f468-1f3fe-1f373",uc_output:"1f468-1f3fe-200d-1f373",uc_match:"1f468-1f3fe-1f373",uc_greedy:"1f468-1f3fe-1f373",shortnames:[":man_cook_medium_dark_skin_tone:"],category:"people"},":man_cook_tone5:":{uc_base:"1f468-1f3ff-1f373",uc_output:"1f468-1f3ff-200d-1f373",uc_match:"1f468-1f3ff-1f373",uc_greedy:"1f468-1f3ff-1f373",shortnames:[":man_cook_dark_skin_tone:"],category:"people"},":man_curly_haired_tone1:":{uc_base:"1f468-1f3fb-1f9b1",uc_output:"1f468-1f3fb-200d-1f9b1",uc_match:"1f468-1f3fb-1f9b1",uc_greedy:"1f468-1f3fb-1f9b1",shortnames:[":man_curly_haired_light_skin_tone:"],category:"people"},":man_curly_haired_tone2:":{uc_base:"1f468-1f3fc-1f9b1",uc_output:"1f468-1f3fc-200d-1f9b1",uc_match:"1f468-1f3fc-1f9b1",uc_greedy:"1f468-1f3fc-1f9b1",shortnames:[":man_curly_haired_medium_light_skin_tone:"],category:"people"},":man_curly_haired_tone3:":{uc_base:"1f468-1f3fd-1f9b1",uc_output:"1f468-1f3fd-200d-1f9b1",uc_match:"1f468-1f3fd-1f9b1",uc_greedy:"1f468-1f3fd-1f9b1",shortnames:[":man_curly_haired_medium_skin_tone:"],category:"people"},":man_curly_haired_tone4:":{uc_base:"1f468-1f3fe-1f9b1",uc_output:"1f468-1f3fe-200d-1f9b1",uc_match:"1f468-1f3fe-1f9b1",uc_greedy:"1f468-1f3fe-1f9b1",shortnames:[":man_curly_haired_medium_dark_skin_tone:"],category:"people"},":man_curly_haired_tone5:":{uc_base:"1f468-1f3ff-1f9b1",uc_output:"1f468-1f3ff-200d-1f9b1",uc_match:"1f468-1f3ff-1f9b1",uc_greedy:"1f468-1f3ff-1f9b1",shortnames:[":man_curly_haired_dark_skin_tone:"],category:"people"},":man_factory_worker_tone1:":{uc_base:"1f468-1f3fb-1f3ed",uc_output:"1f468-1f3fb-200d-1f3ed",uc_match:"1f468-1f3fb-1f3ed",uc_greedy:"1f468-1f3fb-1f3ed",shortnames:[":man_factory_worker_light_skin_tone:"],category:"people"},":man_factory_worker_tone2:":{uc_base:"1f468-1f3fc-1f3ed",uc_output:"1f468-1f3fc-200d-1f3ed",uc_match:"1f468-1f3fc-1f3ed",uc_greedy:"1f468-1f3fc-1f3ed",shortnames:[":man_factory_worker_medium_light_skin_tone:"],category:"people"},":man_factory_worker_tone3:":{uc_base:"1f468-1f3fd-1f3ed",uc_output:"1f468-1f3fd-200d-1f3ed",uc_match:"1f468-1f3fd-1f3ed",uc_greedy:"1f468-1f3fd-1f3ed",shortnames:[":man_factory_worker_medium_skin_tone:"],category:"people"},":man_factory_worker_tone4:":{uc_base:"1f468-1f3fe-1f3ed",uc_output:"1f468-1f3fe-200d-1f3ed",uc_match:"1f468-1f3fe-1f3ed",uc_greedy:"1f468-1f3fe-1f3ed",shortnames:[":man_factory_worker_medium_dark_skin_tone:"],category:"people"},":man_factory_worker_tone5:":{uc_base:"1f468-1f3ff-1f3ed",uc_output:"1f468-1f3ff-200d-1f3ed",uc_match:"1f468-1f3ff-1f3ed",uc_greedy:"1f468-1f3ff-1f3ed",shortnames:[":man_factory_worker_dark_skin_tone:"],category:"people"},":man_farmer_tone1:":{uc_base:"1f468-1f3fb-1f33e",uc_output:"1f468-1f3fb-200d-1f33e",uc_match:"1f468-1f3fb-1f33e",uc_greedy:"1f468-1f3fb-1f33e",shortnames:[":man_farmer_light_skin_tone:"],category:"people"},":man_farmer_tone2:":{uc_base:"1f468-1f3fc-1f33e",uc_output:"1f468-1f3fc-200d-1f33e",uc_match:"1f468-1f3fc-1f33e",uc_greedy:"1f468-1f3fc-1f33e",shortnames:[":man_farmer_medium_light_skin_tone:"],category:"people"},":man_farmer_tone3:":{uc_base:"1f468-1f3fd-1f33e",uc_output:"1f468-1f3fd-200d-1f33e",uc_match:"1f468-1f3fd-1f33e",uc_greedy:"1f468-1f3fd-1f33e",shortnames:[":man_farmer_medium_skin_tone:"],category:"people"},":man_farmer_tone4:":{uc_base:"1f468-1f3fe-1f33e",uc_output:"1f468-1f3fe-200d-1f33e",uc_match:"1f468-1f3fe-1f33e",uc_greedy:"1f468-1f3fe-1f33e",shortnames:[":man_farmer_medium_dark_skin_tone:"],category:"people"},":man_farmer_tone5:":{uc_base:"1f468-1f3ff-1f33e",uc_output:"1f468-1f3ff-200d-1f33e",uc_match:"1f468-1f3ff-1f33e",uc_greedy:"1f468-1f3ff-1f33e",shortnames:[":man_farmer_dark_skin_tone:"],category:"people"},":man_firefighter_tone1:":{uc_base:"1f468-1f3fb-1f692",uc_output:"1f468-1f3fb-200d-1f692",uc_match:"1f468-1f3fb-1f692",uc_greedy:"1f468-1f3fb-1f692",shortnames:[":man_firefighter_light_skin_tone:"],category:"people"},":man_firefighter_tone2:":{uc_base:"1f468-1f3fc-1f692",uc_output:"1f468-1f3fc-200d-1f692",uc_match:"1f468-1f3fc-1f692",uc_greedy:"1f468-1f3fc-1f692",shortnames:[":man_firefighter_medium_light_skin_tone:"],category:"people"},":man_firefighter_tone3:":{uc_base:"1f468-1f3fd-1f692",uc_output:"1f468-1f3fd-200d-1f692",uc_match:"1f468-1f3fd-1f692",uc_greedy:"1f468-1f3fd-1f692",shortnames:[":man_firefighter_medium_skin_tone:"],category:"people"},":man_firefighter_tone4:":{uc_base:"1f468-1f3fe-1f692",uc_output:"1f468-1f3fe-200d-1f692",uc_match:"1f468-1f3fe-1f692",uc_greedy:"1f468-1f3fe-1f692",shortnames:[":man_firefighter_medium_dark_skin_tone:"],category:"people"},":man_firefighter_tone5:":{uc_base:"1f468-1f3ff-1f692",uc_output:"1f468-1f3ff-200d-1f692",uc_match:"1f468-1f3ff-1f692",uc_greedy:"1f468-1f3ff-1f692",shortnames:[":man_firefighter_dark_skin_tone:"],category:"people"},":man_mechanic_tone1:":{uc_base:"1f468-1f3fb-1f527",uc_output:"1f468-1f3fb-200d-1f527",uc_match:"1f468-1f3fb-1f527",uc_greedy:"1f468-1f3fb-1f527",shortnames:[":man_mechanic_light_skin_tone:"],category:"people"},":man_mechanic_tone2:":{uc_base:"1f468-1f3fc-1f527",uc_output:"1f468-1f3fc-200d-1f527",uc_match:"1f468-1f3fc-1f527",uc_greedy:"1f468-1f3fc-1f527",shortnames:[":man_mechanic_medium_light_skin_tone:"],category:"people"},":man_mechanic_tone3:":{uc_base:"1f468-1f3fd-1f527",uc_output:"1f468-1f3fd-200d-1f527",uc_match:"1f468-1f3fd-1f527",uc_greedy:"1f468-1f3fd-1f527",shortnames:[":man_mechanic_medium_skin_tone:"],category:"people"},":man_mechanic_tone4:":{uc_base:"1f468-1f3fe-1f527",uc_output:"1f468-1f3fe-200d-1f527",uc_match:"1f468-1f3fe-1f527",uc_greedy:"1f468-1f3fe-1f527",shortnames:[":man_mechanic_medium_dark_skin_tone:"],category:"people"},":man_mechanic_tone5:":{uc_base:"1f468-1f3ff-1f527",uc_output:"1f468-1f3ff-200d-1f527",uc_match:"1f468-1f3ff-1f527",uc_greedy:"1f468-1f3ff-1f527",shortnames:[":man_mechanic_dark_skin_tone:"],category:"people"},":man_office_worker_tone1:":{uc_base:"1f468-1f3fb-1f4bc",uc_output:"1f468-1f3fb-200d-1f4bc",uc_match:"1f468-1f3fb-1f4bc",uc_greedy:"1f468-1f3fb-1f4bc",shortnames:[":man_office_worker_light_skin_tone:"],category:"people"},":man_office_worker_tone2:":{uc_base:"1f468-1f3fc-1f4bc",uc_output:"1f468-1f3fc-200d-1f4bc",uc_match:"1f468-1f3fc-1f4bc",uc_greedy:"1f468-1f3fc-1f4bc",shortnames:[":man_office_worker_medium_light_skin_tone:"],category:"people"},":man_office_worker_tone3:":{uc_base:"1f468-1f3fd-1f4bc",uc_output:"1f468-1f3fd-200d-1f4bc",uc_match:"1f468-1f3fd-1f4bc",uc_greedy:"1f468-1f3fd-1f4bc",shortnames:[":man_office_worker_medium_skin_tone:"],category:"people"},":man_office_worker_tone4:":{uc_base:"1f468-1f3fe-1f4bc",uc_output:"1f468-1f3fe-200d-1f4bc",uc_match:"1f468-1f3fe-1f4bc",uc_greedy:"1f468-1f3fe-1f4bc",shortnames:[":man_office_worker_medium_dark_skin_tone:"],category:"people"},":man_office_worker_tone5:":{uc_base:"1f468-1f3ff-1f4bc",uc_output:"1f468-1f3ff-200d-1f4bc",uc_match:"1f468-1f3ff-1f4bc",uc_greedy:"1f468-1f3ff-1f4bc",shortnames:[":man_office_worker_dark_skin_tone:"],category:"people"},":man_red_haired_tone1:":{uc_base:"1f468-1f3fb-1f9b0",uc_output:"1f468-1f3fb-200d-1f9b0",uc_match:"1f468-1f3fb-1f9b0",uc_greedy:"1f468-1f3fb-1f9b0",shortnames:[":man_red_haired_light_skin_tone:"],category:"people"},":man_red_haired_tone2:":{uc_base:"1f468-1f3fc-1f9b0",uc_output:"1f468-1f3fc-200d-1f9b0",uc_match:"1f468-1f3fc-1f9b0",uc_greedy:"1f468-1f3fc-1f9b0",shortnames:[":man_red_haired_medium_light_skin_tone:"],category:"people"},":man_red_haired_tone3:":{uc_base:"1f468-1f3fd-1f9b0",uc_output:"1f468-1f3fd-200d-1f9b0",uc_match:"1f468-1f3fd-1f9b0",uc_greedy:"1f468-1f3fd-1f9b0",shortnames:[":man_red_haired_medium_skin_tone:"],category:"people"},":man_red_haired_tone4:":{uc_base:"1f468-1f3fe-1f9b0",uc_output:"1f468-1f3fe-200d-1f9b0",uc_match:"1f468-1f3fe-1f9b0",uc_greedy:"1f468-1f3fe-1f9b0",shortnames:[":man_red_haired_medium_dark_skin_tone:"],category:"people"},":man_red_haired_tone5:":{uc_base:"1f468-1f3ff-1f9b0",uc_output:"1f468-1f3ff-200d-1f9b0",uc_match:"1f468-1f3ff-1f9b0",uc_greedy:"1f468-1f3ff-1f9b0",shortnames:[":man_red_haired_dark_skin_tone:"],category:"people"},":man_scientist_tone1:":{uc_base:"1f468-1f3fb-1f52c",uc_output:"1f468-1f3fb-200d-1f52c",uc_match:"1f468-1f3fb-1f52c",uc_greedy:"1f468-1f3fb-1f52c",shortnames:[":man_scientist_light_skin_tone:"],category:"people"},":man_scientist_tone2:":{uc_base:"1f468-1f3fc-1f52c",uc_output:"1f468-1f3fc-200d-1f52c",uc_match:"1f468-1f3fc-1f52c",uc_greedy:"1f468-1f3fc-1f52c",shortnames:[":man_scientist_medium_light_skin_tone:"],category:"people"},":man_scientist_tone3:":{uc_base:"1f468-1f3fd-1f52c",uc_output:"1f468-1f3fd-200d-1f52c",uc_match:"1f468-1f3fd-1f52c",uc_greedy:"1f468-1f3fd-1f52c",shortnames:[":man_scientist_medium_skin_tone:"],category:"people"},":man_scientist_tone4:":{uc_base:"1f468-1f3fe-1f52c",uc_output:"1f468-1f3fe-200d-1f52c",uc_match:"1f468-1f3fe-1f52c",uc_greedy:"1f468-1f3fe-1f52c",shortnames:[":man_scientist_medium_dark_skin_tone:"],category:"people"},":man_scientist_tone5:":{uc_base:"1f468-1f3ff-1f52c",uc_output:"1f468-1f3ff-200d-1f52c",uc_match:"1f468-1f3ff-1f52c",uc_greedy:"1f468-1f3ff-1f52c",shortnames:[":man_scientist_dark_skin_tone:"],category:"people"},":man_singer_tone1:":{uc_base:"1f468-1f3fb-1f3a4",uc_output:"1f468-1f3fb-200d-1f3a4",uc_match:"1f468-1f3fb-1f3a4",uc_greedy:"1f468-1f3fb-1f3a4",shortnames:[":man_singer_light_skin_tone:"],category:"people"},":man_singer_tone2:":{uc_base:"1f468-1f3fc-1f3a4",uc_output:"1f468-1f3fc-200d-1f3a4",uc_match:"1f468-1f3fc-1f3a4",uc_greedy:"1f468-1f3fc-1f3a4",shortnames:[":man_singer_medium_light_skin_tone:"],category:"people"},":man_singer_tone3:":{uc_base:"1f468-1f3fd-1f3a4",uc_output:"1f468-1f3fd-200d-1f3a4",uc_match:"1f468-1f3fd-1f3a4",uc_greedy:"1f468-1f3fd-1f3a4",shortnames:[":man_singer_medium_skin_tone:"],category:"people"},":man_singer_tone4:":{uc_base:"1f468-1f3fe-1f3a4",uc_output:"1f468-1f3fe-200d-1f3a4",uc_match:"1f468-1f3fe-1f3a4",uc_greedy:"1f468-1f3fe-1f3a4",shortnames:[":man_singer_medium_dark_skin_tone:"],category:"people"},":man_singer_tone5:":{uc_base:"1f468-1f3ff-1f3a4",uc_output:"1f468-1f3ff-200d-1f3a4",uc_match:"1f468-1f3ff-1f3a4",uc_greedy:"1f468-1f3ff-1f3a4",shortnames:[":man_singer_dark_skin_tone:"],category:"people"},":man_student_tone1:":{uc_base:"1f468-1f3fb-1f393",uc_output:"1f468-1f3fb-200d-1f393",uc_match:"1f468-1f3fb-1f393",uc_greedy:"1f468-1f3fb-1f393",shortnames:[":man_student_light_skin_tone:"],category:"people"},":man_student_tone2:":{uc_base:"1f468-1f3fc-1f393",uc_output:"1f468-1f3fc-200d-1f393",uc_match:"1f468-1f3fc-1f393",uc_greedy:"1f468-1f3fc-1f393",shortnames:[":man_student_medium_light_skin_tone:"],category:"people"},":man_student_tone3:":{uc_base:"1f468-1f3fd-1f393",uc_output:"1f468-1f3fd-200d-1f393",uc_match:"1f468-1f3fd-1f393",uc_greedy:"1f468-1f3fd-1f393",shortnames:[":man_student_medium_skin_tone:"],category:"people"},":man_student_tone4:":{uc_base:"1f468-1f3fe-1f393",uc_output:"1f468-1f3fe-200d-1f393",uc_match:"1f468-1f3fe-1f393",uc_greedy:"1f468-1f3fe-1f393",shortnames:[":man_student_medium_dark_skin_tone:"],category:"people"},":man_student_tone5:":{uc_base:"1f468-1f3ff-1f393",uc_output:"1f468-1f3ff-200d-1f393",uc_match:"1f468-1f3ff-1f393",uc_greedy:"1f468-1f3ff-1f393",shortnames:[":man_student_dark_skin_tone:"],category:"people"},":man_teacher_tone1:":{uc_base:"1f468-1f3fb-1f3eb",uc_output:"1f468-1f3fb-200d-1f3eb",uc_match:"1f468-1f3fb-1f3eb",uc_greedy:"1f468-1f3fb-1f3eb",shortnames:[":man_teacher_light_skin_tone:"],category:"people"},":man_teacher_tone2:":{uc_base:"1f468-1f3fc-1f3eb",uc_output:"1f468-1f3fc-200d-1f3eb",uc_match:"1f468-1f3fc-1f3eb",uc_greedy:"1f468-1f3fc-1f3eb",shortnames:[":man_teacher_medium_light_skin_tone:"],category:"people"},":man_teacher_tone3:":{uc_base:"1f468-1f3fd-1f3eb",uc_output:"1f468-1f3fd-200d-1f3eb",uc_match:"1f468-1f3fd-1f3eb",uc_greedy:"1f468-1f3fd-1f3eb",shortnames:[":man_teacher_medium_skin_tone:"],category:"people"},":man_teacher_tone4:":{uc_base:"1f468-1f3fe-1f3eb",uc_output:"1f468-1f3fe-200d-1f3eb",uc_match:"1f468-1f3fe-1f3eb",uc_greedy:"1f468-1f3fe-1f3eb",shortnames:[":man_teacher_medium_dark_skin_tone:"],category:"people"},":man_teacher_tone5:":{uc_base:"1f468-1f3ff-1f3eb",uc_output:"1f468-1f3ff-200d-1f3eb",uc_match:"1f468-1f3ff-1f3eb",uc_greedy:"1f468-1f3ff-1f3eb",shortnames:[":man_teacher_dark_skin_tone:"],category:"people"},":man_technologist_tone1:":{uc_base:"1f468-1f3fb-1f4bb",uc_output:"1f468-1f3fb-200d-1f4bb",uc_match:"1f468-1f3fb-1f4bb",uc_greedy:"1f468-1f3fb-1f4bb",shortnames:[":man_technologist_light_skin_tone:"],category:"people"},":man_technologist_tone2:":{uc_base:"1f468-1f3fc-1f4bb",uc_output:"1f468-1f3fc-200d-1f4bb",uc_match:"1f468-1f3fc-1f4bb",uc_greedy:"1f468-1f3fc-1f4bb",shortnames:[":man_technologist_medium_light_skin_tone:"],category:"people"},":man_technologist_tone3:":{uc_base:"1f468-1f3fd-1f4bb",uc_output:"1f468-1f3fd-200d-1f4bb",uc_match:"1f468-1f3fd-1f4bb",uc_greedy:"1f468-1f3fd-1f4bb",shortnames:[":man_technologist_medium_skin_tone:"],category:"people"},":man_technologist_tone4:":{uc_base:"1f468-1f3fe-1f4bb",uc_output:"1f468-1f3fe-200d-1f4bb",uc_match:"1f468-1f3fe-1f4bb",uc_greedy:"1f468-1f3fe-1f4bb",shortnames:[":man_technologist_medium_dark_skin_tone:"],category:"people"},":man_technologist_tone5:":{uc_base:"1f468-1f3ff-1f4bb",uc_output:"1f468-1f3ff-200d-1f4bb",uc_match:"1f468-1f3ff-1f4bb",uc_greedy:"1f468-1f3ff-1f4bb",shortnames:[":man_technologist_dark_skin_tone:"],category:"people"},":man_white_haired_tone1:":{uc_base:"1f468-1f3fb-1f9b3",uc_output:"1f468-1f3fb-200d-1f9b3",uc_match:"1f468-1f3fb-1f9b3",uc_greedy:"1f468-1f3fb-1f9b3",shortnames:[":man_white_haired_light_skin_tone:"],category:"people"},":man_white_haired_tone2:":{uc_base:"1f468-1f3fc-1f9b3",uc_output:"1f468-1f3fc-200d-1f9b3",uc_match:"1f468-1f3fc-1f9b3",uc_greedy:"1f468-1f3fc-1f9b3",shortnames:[":man_white_haired_medium_light_skin_tone:"],category:"people"},":man_white_haired_tone3:":{uc_base:"1f468-1f3fd-1f9b3",uc_output:"1f468-1f3fd-200d-1f9b3",uc_match:"1f468-1f3fd-1f9b3",uc_greedy:"1f468-1f3fd-1f9b3",shortnames:[":man_white_haired_medium_skin_tone:"],category:"people"},":man_white_haired_tone4:":{uc_base:"1f468-1f3fe-1f9b3",uc_output:"1f468-1f3fe-200d-1f9b3",uc_match:"1f468-1f3fe-1f9b3",uc_greedy:"1f468-1f3fe-1f9b3",shortnames:[":man_white_haired_medium_dark_skin_tone:"],category:"people"},":man_white_haired_tone5:":{uc_base:"1f468-1f3ff-1f9b3",uc_output:"1f468-1f3ff-200d-1f9b3",uc_match:"1f468-1f3ff-1f9b3",uc_greedy:"1f468-1f3ff-1f9b3",shortnames:[":man_white_haired_dark_skin_tone:"],category:"people"},":woman_artist_tone1:":{uc_base:"1f469-1f3fb-1f3a8",uc_output:"1f469-1f3fb-200d-1f3a8",uc_match:"1f469-1f3fb-1f3a8",uc_greedy:"1f469-1f3fb-1f3a8",shortnames:[":woman_artist_light_skin_tone:"],category:"people"},":woman_artist_tone2:":{uc_base:"1f469-1f3fc-1f3a8",uc_output:"1f469-1f3fc-200d-1f3a8",uc_match:"1f469-1f3fc-1f3a8",uc_greedy:"1f469-1f3fc-1f3a8",shortnames:[":woman_artist_medium_light_skin_tone:"],category:"people"},":woman_artist_tone3:":{uc_base:"1f469-1f3fd-1f3a8",uc_output:"1f469-1f3fd-200d-1f3a8",uc_match:"1f469-1f3fd-1f3a8",uc_greedy:"1f469-1f3fd-1f3a8",shortnames:[":woman_artist_medium_skin_tone:"],category:"people"},":woman_artist_tone4:":{uc_base:"1f469-1f3fe-1f3a8",uc_output:"1f469-1f3fe-200d-1f3a8",uc_match:"1f469-1f3fe-1f3a8",uc_greedy:"1f469-1f3fe-1f3a8",shortnames:[":woman_artist_medium_dark_skin_tone:"],category:"people"},":woman_artist_tone5:":{uc_base:"1f469-1f3ff-1f3a8",uc_output:"1f469-1f3ff-200d-1f3a8",uc_match:"1f469-1f3ff-1f3a8",uc_greedy:"1f469-1f3ff-1f3a8",shortnames:[":woman_artist_dark_skin_tone:"],category:"people"},":woman_astronaut_tone1:":{uc_base:"1f469-1f3fb-1f680",uc_output:"1f469-1f3fb-200d-1f680",uc_match:"1f469-1f3fb-1f680",uc_greedy:"1f469-1f3fb-1f680",shortnames:[":woman_astronaut_light_skin_tone:"],category:"people"},":woman_astronaut_tone2:":{uc_base:"1f469-1f3fc-1f680",uc_output:"1f469-1f3fc-200d-1f680",uc_match:"1f469-1f3fc-1f680",uc_greedy:"1f469-1f3fc-1f680",shortnames:[":woman_astronaut_medium_light_skin_tone:"],category:"people"},":woman_astronaut_tone3:":{uc_base:"1f469-1f3fd-1f680",uc_output:"1f469-1f3fd-200d-1f680",uc_match:"1f469-1f3fd-1f680",uc_greedy:"1f469-1f3fd-1f680",shortnames:[":woman_astronaut_medium_skin_tone:"],category:"people"},":woman_astronaut_tone4:":{uc_base:"1f469-1f3fe-1f680",uc_output:"1f469-1f3fe-200d-1f680",uc_match:"1f469-1f3fe-1f680",uc_greedy:"1f469-1f3fe-1f680",shortnames:[":woman_astronaut_medium_dark_skin_tone:"],category:"people"},":woman_astronaut_tone5:":{uc_base:"1f469-1f3ff-1f680",uc_output:"1f469-1f3ff-200d-1f680",uc_match:"1f469-1f3ff-1f680",uc_greedy:"1f469-1f3ff-1f680",shortnames:[":woman_astronaut_dark_skin_tone:"],category:"people"},":woman_bald_tone1:":{uc_base:"1f469-1f3fb-1f9b2",uc_output:"1f469-1f3fb-200d-1f9b2",uc_match:"1f469-1f3fb-1f9b2",uc_greedy:"1f469-1f3fb-1f9b2",shortnames:[":woman_bald_light_skin_tone:"],category:"people"},":woman_bald_tone2:":{uc_base:"1f469-1f3fc-1f9b2",uc_output:"1f469-1f3fc-200d-1f9b2",uc_match:"1f469-1f3fc-1f9b2",uc_greedy:"1f469-1f3fc-1f9b2",shortnames:[":woman_bald_medium_light_skin_tone:"],category:"people"},":woman_bald_tone3:":{uc_base:"1f469-1f3fd-1f9b2",uc_output:"1f469-1f3fd-200d-1f9b2",uc_match:"1f469-1f3fd-1f9b2",uc_greedy:"1f469-1f3fd-1f9b2",shortnames:[":woman_bald_medium_skin_tone:"],category:"people"},":woman_bald_tone4:":{uc_base:"1f469-1f3fe-1f9b2",uc_output:"1f469-1f3fe-200d-1f9b2",uc_match:"1f469-1f3fe-1f9b2",uc_greedy:"1f469-1f3fe-1f9b2",shortnames:[":woman_bald_medium_dark_skin_tone:"],category:"people"},":woman_bald_tone5:":{uc_base:"1f469-1f3ff-1f9b2",uc_output:"1f469-1f3ff-200d-1f9b2",uc_match:"1f469-1f3ff-1f9b2",uc_greedy:"1f469-1f3ff-1f9b2",shortnames:[":woman_bald_dark_skin_tone:"],category:"people"},":woman_cook_tone1:":{uc_base:"1f469-1f3fb-1f373",uc_output:"1f469-1f3fb-200d-1f373",uc_match:"1f469-1f3fb-1f373",uc_greedy:"1f469-1f3fb-1f373",shortnames:[":woman_cook_light_skin_tone:"],category:"people"},":woman_cook_tone2:":{uc_base:"1f469-1f3fc-1f373",uc_output:"1f469-1f3fc-200d-1f373",uc_match:"1f469-1f3fc-1f373",uc_greedy:"1f469-1f3fc-1f373",shortnames:[":woman_cook_medium_light_skin_tone:"],category:"people"},":woman_cook_tone3:":{uc_base:"1f469-1f3fd-1f373",uc_output:"1f469-1f3fd-200d-1f373",uc_match:"1f469-1f3fd-1f373",uc_greedy:"1f469-1f3fd-1f373",shortnames:[":woman_cook_medium_skin_tone:"],category:"people"},":woman_cook_tone4:":{uc_base:"1f469-1f3fe-1f373",uc_output:"1f469-1f3fe-200d-1f373",uc_match:"1f469-1f3fe-1f373",uc_greedy:"1f469-1f3fe-1f373",shortnames:[":woman_cook_medium_dark_skin_tone:"],category:"people"},":woman_cook_tone5:":{uc_base:"1f469-1f3ff-1f373",uc_output:"1f469-1f3ff-200d-1f373",uc_match:"1f469-1f3ff-1f373",uc_greedy:"1f469-1f3ff-1f373",shortnames:[":woman_cook_dark_skin_tone:"],category:"people"},":woman_curly_haired_tone1:":{uc_base:"1f469-1f3fb-1f9b1",uc_output:"1f469-1f3fb-200d-1f9b1",uc_match:"1f469-1f3fb-1f9b1",uc_greedy:"1f469-1f3fb-1f9b1",shortnames:[":woman_curly_haired_light_skin_tone:"],category:"people"},":woman_curly_haired_tone2:":{uc_base:"1f469-1f3fc-1f9b1",uc_output:"1f469-1f3fc-200d-1f9b1",uc_match:"1f469-1f3fc-1f9b1",uc_greedy:"1f469-1f3fc-1f9b1",shortnames:[":woman_curly_haired_medium_light_skin_tone:"],category:"people"},":woman_curly_haired_tone3:":{uc_base:"1f469-1f3fd-1f9b1",uc_output:"1f469-1f3fd-200d-1f9b1",uc_match:"1f469-1f3fd-1f9b1",uc_greedy:"1f469-1f3fd-1f9b1",shortnames:[":woman_curly_haired_medium_skin_tone:"],category:"people"},":woman_curly_haired_tone4:":{uc_base:"1f469-1f3fe-1f9b1",uc_output:"1f469-1f3fe-200d-1f9b1",uc_match:"1f469-1f3fe-1f9b1",uc_greedy:"1f469-1f3fe-1f9b1",shortnames:[":woman_curly_haired_medium_dark_skin_tone:"],category:"people"},":woman_curly_haired_tone5:":{uc_base:"1f469-1f3ff-1f9b1",uc_output:"1f469-1f3ff-200d-1f9b1",uc_match:"1f469-1f3ff-1f9b1",uc_greedy:"1f469-1f3ff-1f9b1",shortnames:[":woman_curly_haired_dark_skin_tone:"],category:"people"},":woman_factory_worker_tone1:":{uc_base:"1f469-1f3fb-1f3ed",uc_output:"1f469-1f3fb-200d-1f3ed",uc_match:"1f469-1f3fb-1f3ed",uc_greedy:"1f469-1f3fb-1f3ed",shortnames:[":woman_factory_worker_light_skin_tone:"],category:"people"},":woman_factory_worker_tone2:":{uc_base:"1f469-1f3fc-1f3ed",uc_output:"1f469-1f3fc-200d-1f3ed",uc_match:"1f469-1f3fc-1f3ed",uc_greedy:"1f469-1f3fc-1f3ed",shortnames:[":woman_factory_worker_medium_light_skin_tone:"],category:"people"},":woman_factory_worker_tone3:":{uc_base:"1f469-1f3fd-1f3ed",uc_output:"1f469-1f3fd-200d-1f3ed",uc_match:"1f469-1f3fd-1f3ed",uc_greedy:"1f469-1f3fd-1f3ed",shortnames:[":woman_factory_worker_medium_skin_tone:"],category:"people"},":woman_factory_worker_tone4:":{uc_base:"1f469-1f3fe-1f3ed",uc_output:"1f469-1f3fe-200d-1f3ed",uc_match:"1f469-1f3fe-1f3ed",uc_greedy:"1f469-1f3fe-1f3ed",shortnames:[":woman_factory_worker_medium_dark_skin_tone:"],category:"people"},":woman_factory_worker_tone5:":{uc_base:"1f469-1f3ff-1f3ed",uc_output:"1f469-1f3ff-200d-1f3ed",uc_match:"1f469-1f3ff-1f3ed",uc_greedy:"1f469-1f3ff-1f3ed",shortnames:[":woman_factory_worker_dark_skin_tone:"],category:"people"},":woman_farmer_tone1:":{uc_base:"1f469-1f3fb-1f33e",uc_output:"1f469-1f3fb-200d-1f33e",uc_match:"1f469-1f3fb-1f33e",uc_greedy:"1f469-1f3fb-1f33e",shortnames:[":woman_farmer_light_skin_tone:"],category:"people"},":woman_farmer_tone2:":{uc_base:"1f469-1f3fc-1f33e",uc_output:"1f469-1f3fc-200d-1f33e",uc_match:"1f469-1f3fc-1f33e",uc_greedy:"1f469-1f3fc-1f33e",shortnames:[":woman_farmer_medium_light_skin_tone:"],category:"people"},":woman_farmer_tone3:":{uc_base:"1f469-1f3fd-1f33e",uc_output:"1f469-1f3fd-200d-1f33e",uc_match:"1f469-1f3fd-1f33e",uc_greedy:"1f469-1f3fd-1f33e",shortnames:[":woman_farmer_medium_skin_tone:"],category:"people"},":woman_farmer_tone4:":{uc_base:"1f469-1f3fe-1f33e",uc_output:"1f469-1f3fe-200d-1f33e",uc_match:"1f469-1f3fe-1f33e",uc_greedy:"1f469-1f3fe-1f33e",shortnames:[":woman_farmer_medium_dark_skin_tone:"],category:"people"},":woman_farmer_tone5:":{uc_base:"1f469-1f3ff-1f33e",uc_output:"1f469-1f3ff-200d-1f33e",uc_match:"1f469-1f3ff-1f33e",uc_greedy:"1f469-1f3ff-1f33e",shortnames:[":woman_farmer_dark_skin_tone:"],category:"people"},":woman_firefighter_tone1:":{uc_base:"1f469-1f3fb-1f692",uc_output:"1f469-1f3fb-200d-1f692",uc_match:"1f469-1f3fb-1f692",uc_greedy:"1f469-1f3fb-1f692",shortnames:[":woman_firefighter_light_skin_tone:"],category:"people"},":woman_firefighter_tone2:":{uc_base:"1f469-1f3fc-1f692",uc_output:"1f469-1f3fc-200d-1f692",uc_match:"1f469-1f3fc-1f692",uc_greedy:"1f469-1f3fc-1f692",shortnames:[":woman_firefighter_medium_light_skin_tone:"],category:"people"},":woman_firefighter_tone3:":{uc_base:"1f469-1f3fd-1f692",uc_output:"1f469-1f3fd-200d-1f692",uc_match:"1f469-1f3fd-1f692",uc_greedy:"1f469-1f3fd-1f692",shortnames:[":woman_firefighter_medium_skin_tone:"],category:"people"},":woman_firefighter_tone4:":{uc_base:"1f469-1f3fe-1f692",uc_output:"1f469-1f3fe-200d-1f692",uc_match:"1f469-1f3fe-1f692",uc_greedy:"1f469-1f3fe-1f692",shortnames:[":woman_firefighter_medium_dark_skin_tone:"],category:"people"},":woman_firefighter_tone5:":{uc_base:"1f469-1f3ff-1f692",uc_output:"1f469-1f3ff-200d-1f692",uc_match:"1f469-1f3ff-1f692",uc_greedy:"1f469-1f3ff-1f692",shortnames:[":woman_firefighter_dark_skin_tone:"],category:"people"},":woman_mechanic_tone1:":{uc_base:"1f469-1f3fb-1f527",uc_output:"1f469-1f3fb-200d-1f527",uc_match:"1f469-1f3fb-1f527",uc_greedy:"1f469-1f3fb-1f527",shortnames:[":woman_mechanic_light_skin_tone:"],category:"people"},":woman_mechanic_tone2:":{uc_base:"1f469-1f3fc-1f527",uc_output:"1f469-1f3fc-200d-1f527",uc_match:"1f469-1f3fc-1f527",uc_greedy:"1f469-1f3fc-1f527",shortnames:[":woman_mechanic_medium_light_skin_tone:"],category:"people"},":woman_mechanic_tone3:":{uc_base:"1f469-1f3fd-1f527",uc_output:"1f469-1f3fd-200d-1f527",uc_match:"1f469-1f3fd-1f527",uc_greedy:"1f469-1f3fd-1f527",shortnames:[":woman_mechanic_medium_skin_tone:"],category:"people"},":woman_mechanic_tone4:":{uc_base:"1f469-1f3fe-1f527",uc_output:"1f469-1f3fe-200d-1f527",uc_match:"1f469-1f3fe-1f527",uc_greedy:"1f469-1f3fe-1f527",shortnames:[":woman_mechanic_medium_dark_skin_tone:"],category:"people"},":woman_mechanic_tone5:":{uc_base:"1f469-1f3ff-1f527",uc_output:"1f469-1f3ff-200d-1f527",uc_match:"1f469-1f3ff-1f527",uc_greedy:"1f469-1f3ff-1f527",shortnames:[":woman_mechanic_dark_skin_tone:"],category:"people"},":woman_office_worker_tone1:":{uc_base:"1f469-1f3fb-1f4bc",uc_output:"1f469-1f3fb-200d-1f4bc",uc_match:"1f469-1f3fb-1f4bc",uc_greedy:"1f469-1f3fb-1f4bc",shortnames:[":woman_office_worker_light_skin_tone:"],category:"people"},":woman_office_worker_tone2:":{uc_base:"1f469-1f3fc-1f4bc",uc_output:"1f469-1f3fc-200d-1f4bc",uc_match:"1f469-1f3fc-1f4bc",uc_greedy:"1f469-1f3fc-1f4bc",shortnames:[":woman_office_worker_medium_light_skin_tone:"],category:"people"},":woman_office_worker_tone3:":{uc_base:"1f469-1f3fd-1f4bc",uc_output:"1f469-1f3fd-200d-1f4bc",uc_match:"1f469-1f3fd-1f4bc",uc_greedy:"1f469-1f3fd-1f4bc",shortnames:[":woman_office_worker_medium_skin_tone:"],category:"people"},":woman_office_worker_tone4:":{uc_base:"1f469-1f3fe-1f4bc",uc_output:"1f469-1f3fe-200d-1f4bc",uc_match:"1f469-1f3fe-1f4bc",uc_greedy:"1f469-1f3fe-1f4bc",shortnames:[":woman_office_worker_medium_dark_skin_tone:"],category:"people"},":woman_office_worker_tone5:":{uc_base:"1f469-1f3ff-1f4bc",uc_output:"1f469-1f3ff-200d-1f4bc",uc_match:"1f469-1f3ff-1f4bc",uc_greedy:"1f469-1f3ff-1f4bc",shortnames:[":woman_office_worker_dark_skin_tone:"],category:"people"},":woman_red_haired_tone1:":{uc_base:"1f469-1f3fb-1f9b0",uc_output:"1f469-1f3fb-200d-1f9b0",uc_match:"1f469-1f3fb-1f9b0",uc_greedy:"1f469-1f3fb-1f9b0",shortnames:[":woman_red_haired_light_skin_tone:"],category:"people"},":woman_red_haired_tone2:":{uc_base:"1f469-1f3fc-1f9b0",uc_output:"1f469-1f3fc-200d-1f9b0",uc_match:"1f469-1f3fc-1f9b0",uc_greedy:"1f469-1f3fc-1f9b0",shortnames:[":woman_red_haired_medium_light_skin_tone:"],category:"people"},":woman_red_haired_tone3:":{uc_base:"1f469-1f3fd-1f9b0",uc_output:"1f469-1f3fd-200d-1f9b0",uc_match:"1f469-1f3fd-1f9b0",uc_greedy:"1f469-1f3fd-1f9b0",shortnames:[":woman_red_haired_medium_skin_tone:"],category:"people"},":woman_red_haired_tone4:":{uc_base:"1f469-1f3fe-1f9b0",uc_output:"1f469-1f3fe-200d-1f9b0",uc_match:"1f469-1f3fe-1f9b0",uc_greedy:"1f469-1f3fe-1f9b0",shortnames:[":woman_red_haired_medium_dark_skin_tone:"],category:"people"},":woman_red_haired_tone5:":{uc_base:"1f469-1f3ff-1f9b0",uc_output:"1f469-1f3ff-200d-1f9b0",uc_match:"1f469-1f3ff-1f9b0",uc_greedy:"1f469-1f3ff-1f9b0",shortnames:[":woman_red_haired_dark_skin_tone:"],category:"people"},":woman_scientist_tone1:":{uc_base:"1f469-1f3fb-1f52c",uc_output:"1f469-1f3fb-200d-1f52c",uc_match:"1f469-1f3fb-1f52c",uc_greedy:"1f469-1f3fb-1f52c",shortnames:[":woman_scientist_light_skin_tone:"],category:"people"},":woman_scientist_tone2:":{uc_base:"1f469-1f3fc-1f52c",uc_output:"1f469-1f3fc-200d-1f52c",uc_match:"1f469-1f3fc-1f52c",uc_greedy:"1f469-1f3fc-1f52c",shortnames:[":woman_scientist_medium_light_skin_tone:"],category:"people"},":woman_scientist_tone3:":{uc_base:"1f469-1f3fd-1f52c",uc_output:"1f469-1f3fd-200d-1f52c",uc_match:"1f469-1f3fd-1f52c",uc_greedy:"1f469-1f3fd-1f52c",shortnames:[":woman_scientist_medium_skin_tone:"],category:"people"},":woman_scientist_tone4:":{uc_base:"1f469-1f3fe-1f52c",uc_output:"1f469-1f3fe-200d-1f52c",uc_match:"1f469-1f3fe-1f52c",uc_greedy:"1f469-1f3fe-1f52c",shortnames:[":woman_scientist_medium_dark_skin_tone:"],category:"people"},":woman_scientist_tone5:":{uc_base:"1f469-1f3ff-1f52c",uc_output:"1f469-1f3ff-200d-1f52c",uc_match:"1f469-1f3ff-1f52c",uc_greedy:"1f469-1f3ff-1f52c",shortnames:[":woman_scientist_dark_skin_tone:"],category:"people"},":woman_singer_tone1:":{uc_base:"1f469-1f3fb-1f3a4",uc_output:"1f469-1f3fb-200d-1f3a4",uc_match:"1f469-1f3fb-1f3a4",uc_greedy:"1f469-1f3fb-1f3a4",shortnames:[":woman_singer_light_skin_tone:"],category:"people"},":woman_singer_tone2:":{uc_base:"1f469-1f3fc-1f3a4",uc_output:"1f469-1f3fc-200d-1f3a4",uc_match:"1f469-1f3fc-1f3a4",uc_greedy:"1f469-1f3fc-1f3a4",shortnames:[":woman_singer_medium_light_skin_tone:"],category:"people"},":woman_singer_tone3:":{uc_base:"1f469-1f3fd-1f3a4",uc_output:"1f469-1f3fd-200d-1f3a4",uc_match:"1f469-1f3fd-1f3a4",uc_greedy:"1f469-1f3fd-1f3a4",shortnames:[":woman_singer_medium_skin_tone:"],category:"people"},":woman_singer_tone4:":{uc_base:"1f469-1f3fe-1f3a4",uc_output:"1f469-1f3fe-200d-1f3a4",uc_match:"1f469-1f3fe-1f3a4",uc_greedy:"1f469-1f3fe-1f3a4",shortnames:[":woman_singer_medium_dark_skin_tone:"],category:"people"},":woman_singer_tone5:":{uc_base:"1f469-1f3ff-1f3a4",uc_output:"1f469-1f3ff-200d-1f3a4",uc_match:"1f469-1f3ff-1f3a4",uc_greedy:"1f469-1f3ff-1f3a4",shortnames:[":woman_singer_dark_skin_tone:"],category:"people"},":woman_student_tone1:":{uc_base:"1f469-1f3fb-1f393",uc_output:"1f469-1f3fb-200d-1f393",uc_match:"1f469-1f3fb-1f393",uc_greedy:"1f469-1f3fb-1f393",shortnames:[":woman_student_light_skin_tone:"],category:"people"},":woman_student_tone2:":{uc_base:"1f469-1f3fc-1f393",uc_output:"1f469-1f3fc-200d-1f393",uc_match:"1f469-1f3fc-1f393",uc_greedy:"1f469-1f3fc-1f393",shortnames:[":woman_student_medium_light_skin_tone:"],category:"people"},":woman_student_tone3:":{uc_base:"1f469-1f3fd-1f393",uc_output:"1f469-1f3fd-200d-1f393",uc_match:"1f469-1f3fd-1f393",uc_greedy:"1f469-1f3fd-1f393",shortnames:[":woman_student_medium_skin_tone:"],category:"people"},":woman_student_tone4:":{uc_base:"1f469-1f3fe-1f393",uc_output:"1f469-1f3fe-200d-1f393",uc_match:"1f469-1f3fe-1f393",uc_greedy:"1f469-1f3fe-1f393",shortnames:[":woman_student_medium_dark_skin_tone:"],category:"people"},":woman_student_tone5:":{uc_base:"1f469-1f3ff-1f393",uc_output:"1f469-1f3ff-200d-1f393",uc_match:"1f469-1f3ff-1f393",uc_greedy:"1f469-1f3ff-1f393",shortnames:[":woman_student_dark_skin_tone:"],category:"people"},":woman_teacher_tone1:":{uc_base:"1f469-1f3fb-1f3eb",uc_output:"1f469-1f3fb-200d-1f3eb",uc_match:"1f469-1f3fb-1f3eb",uc_greedy:"1f469-1f3fb-1f3eb",shortnames:[":woman_teacher_light_skin_tone:"],category:"people"},":woman_teacher_tone2:":{uc_base:"1f469-1f3fc-1f3eb",uc_output:"1f469-1f3fc-200d-1f3eb",uc_match:"1f469-1f3fc-1f3eb",uc_greedy:"1f469-1f3fc-1f3eb",shortnames:[":woman_teacher_medium_light_skin_tone:"],category:"people"},":woman_teacher_tone3:":{uc_base:"1f469-1f3fd-1f3eb",uc_output:"1f469-1f3fd-200d-1f3eb",uc_match:"1f469-1f3fd-1f3eb",uc_greedy:"1f469-1f3fd-1f3eb",shortnames:[":woman_teacher_medium_skin_tone:"],category:"people"},":woman_teacher_tone4:":{uc_base:"1f469-1f3fe-1f3eb",uc_output:"1f469-1f3fe-200d-1f3eb",uc_match:"1f469-1f3fe-1f3eb",uc_greedy:"1f469-1f3fe-1f3eb",shortnames:[":woman_teacher_medium_dark_skin_tone:"],category:"people"},":woman_teacher_tone5:":{uc_base:"1f469-1f3ff-1f3eb",uc_output:"1f469-1f3ff-200d-1f3eb",uc_match:"1f469-1f3ff-1f3eb",uc_greedy:"1f469-1f3ff-1f3eb",shortnames:[":woman_teacher_dark_skin_tone:"],category:"people"},":woman_technologist_tone1:":{uc_base:"1f469-1f3fb-1f4bb",uc_output:"1f469-1f3fb-200d-1f4bb",uc_match:"1f469-1f3fb-1f4bb",uc_greedy:"1f469-1f3fb-1f4bb",shortnames:[":woman_technologist_light_skin_tone:"],category:"people"},":woman_technologist_tone2:":{uc_base:"1f469-1f3fc-1f4bb",uc_output:"1f469-1f3fc-200d-1f4bb",uc_match:"1f469-1f3fc-1f4bb",uc_greedy:"1f469-1f3fc-1f4bb",shortnames:[":woman_technologist_medium_light_skin_tone:"],category:"people"},":woman_technologist_tone3:":{uc_base:"1f469-1f3fd-1f4bb",uc_output:"1f469-1f3fd-200d-1f4bb",uc_match:"1f469-1f3fd-1f4bb",uc_greedy:"1f469-1f3fd-1f4bb",shortnames:[":woman_technologist_medium_skin_tone:"],category:"people"},":woman_technologist_tone4:":{uc_base:"1f469-1f3fe-1f4bb",uc_output:"1f469-1f3fe-200d-1f4bb",uc_match:"1f469-1f3fe-1f4bb",uc_greedy:"1f469-1f3fe-1f4bb",shortnames:[":woman_technologist_medium_dark_skin_tone:"],category:"people"},":woman_technologist_tone5:":{uc_base:"1f469-1f3ff-1f4bb",uc_output:"1f469-1f3ff-200d-1f4bb",uc_match:"1f469-1f3ff-1f4bb",uc_greedy:"1f469-1f3ff-1f4bb",shortnames:[":woman_technologist_dark_skin_tone:"],category:"people"},":woman_white_haired_tone1:":{uc_base:"1f469-1f3fb-1f9b3",uc_output:"1f469-1f3fb-200d-1f9b3",uc_match:"1f469-1f3fb-1f9b3",uc_greedy:"1f469-1f3fb-1f9b3",shortnames:[":woman_white_haired_light_skin_tone:"],category:"people"},":woman_white_haired_tone2:":{uc_base:"1f469-1f3fc-1f9b3",uc_output:"1f469-1f3fc-200d-1f9b3",uc_match:"1f469-1f3fc-1f9b3",uc_greedy:"1f469-1f3fc-1f9b3",shortnames:[":woman_white_haired_medium_light_skin_tone:"],category:"people"},":woman_white_haired_tone3:":{uc_base:"1f469-1f3fd-1f9b3",uc_output:"1f469-1f3fd-200d-1f9b3",uc_match:"1f469-1f3fd-1f9b3",uc_greedy:"1f469-1f3fd-1f9b3",shortnames:[":woman_white_haired_medium_skin_tone:"],category:"people"},":woman_white_haired_tone4:":{uc_base:"1f469-1f3fe-1f9b3",uc_output:"1f469-1f3fe-200d-1f9b3",uc_match:"1f469-1f3fe-1f9b3",uc_greedy:"1f469-1f3fe-1f9b3",shortnames:[":woman_white_haired_medium_dark_skin_tone:"],category:"people"},":woman_white_haired_tone5:":{uc_base:"1f469-1f3ff-1f9b3",uc_output:"1f469-1f3ff-200d-1f9b3",uc_match:"1f469-1f3ff-1f9b3",uc_greedy:"1f469-1f3ff-1f9b3",shortnames:[":woman_white_haired_dark_skin_tone:"],category:"people"},":rainbow_flag:":{uc_base:"1f3f3-1f308",uc_output:"1f3f3-fe0f-200d-1f308",uc_match:"1f3f3-fe0f-1f308",uc_greedy:"1f3f3-1f308",shortnames:[":gay_pride_flag:"],category:"flags"},":blond-haired_man:":{uc_base:"1f471-2642",uc_output:"1f471-200d-2642-fe0f",uc_match:"1f471-2642-fe0f",uc_greedy:"1f471-2642",shortnames:[],category:"people"},":blond-haired_woman:":{uc_base:"1f471-2640",uc_output:"1f471-200d-2640-fe0f",uc_match:"1f471-2640-fe0f",uc_greedy:"1f471-2640",shortnames:[],category:"people"},":man_biking:":{uc_base:"1f6b4-2642",uc_output:"1f6b4-200d-2642-fe0f",uc_match:"1f6b4-2642-fe0f",uc_greedy:"1f6b4-2642",shortnames:[],category:"activity"},":man_bowing:":{uc_base:"1f647-2642",uc_output:"1f647-200d-2642-fe0f",uc_match:"1f647-2642-fe0f",uc_greedy:"1f647-2642",shortnames:[],category:"people"},":man_cartwheeling:":{uc_base:"1f938-2642",uc_output:"1f938-200d-2642-fe0f",uc_match:"1f938-2642-fe0f",uc_greedy:"1f938-2642",shortnames:[],category:"activity"},":man_climbing:":{uc_base:"1f9d7-2642",uc_output:"1f9d7-200d-2642-fe0f",uc_match:"1f9d7-2642-fe0f",uc_greedy:"1f9d7-2642",shortnames:[],category:"activity"},":man_construction_worker:":{uc_base:"1f477-2642",uc_output:"1f477-200d-2642-fe0f",uc_match:"1f477-2642-fe0f",uc_greedy:"1f477-2642",shortnames:[],category:"people"},":man_elf:":{uc_base:"1f9dd-2642",uc_output:"1f9dd-200d-2642-fe0f",uc_match:"1f9dd-2642-fe0f",uc_greedy:"1f9dd-2642",shortnames:[],category:"people"},":man_facepalming:":{uc_base:"1f926-2642",uc_output:"1f926-200d-2642-fe0f",uc_match:"1f926-2642-fe0f",uc_greedy:"1f926-2642",shortnames:[],category:"people"},":man_fairy:":{uc_base:"1f9da-2642",uc_output:"1f9da-200d-2642-fe0f",uc_match:"1f9da-2642-fe0f",uc_greedy:"1f9da-2642",shortnames:[],category:"people"},":man_frowning:":{uc_base:"1f64d-2642",uc_output:"1f64d-200d-2642-fe0f",uc_match:"1f64d-2642-fe0f",uc_greedy:"1f64d-2642",shortnames:[],category:"people"},":man_genie:":{uc_base:"1f9de-2642",uc_output:"1f9de-200d-2642-fe0f",uc_match:"1f9de-2642-fe0f",uc_greedy:"1f9de-2642",shortnames:[],category:"people"},":man_gesturing_no:":{uc_base:"1f645-2642",uc_output:"1f645-200d-2642-fe0f",uc_match:"1f645-2642-fe0f",uc_greedy:"1f645-2642",shortnames:[],category:"people"},":man_gesturing_ok:":{uc_base:"1f646-2642",uc_output:"1f646-200d-2642-fe0f",uc_match:"1f646-2642-fe0f",uc_greedy:"1f646-2642",shortnames:[],category:"people"},":man_getting_face_massage:":{uc_base:"1f486-2642",uc_output:"1f486-200d-2642-fe0f",uc_match:"1f486-2642-fe0f",uc_greedy:"1f486-2642",shortnames:[],category:"people"},":man_getting_haircut:":{uc_base:"1f487-2642",uc_output:"1f487-200d-2642-fe0f",uc_match:"1f487-2642-fe0f",uc_greedy:"1f487-2642",shortnames:[],category:"people"},":man_guard:":{uc_base:"1f482-2642",uc_output:"1f482-200d-2642-fe0f",uc_match:"1f482-2642-fe0f",uc_greedy:"1f482-2642",shortnames:[],category:"people"},":man_health_worker:":{uc_base:"1f468-2695",uc_output:"1f468-200d-2695-fe0f",uc_match:"1f468-2695-fe0f",uc_greedy:"1f468-2695",shortnames:[],category:"people"},":man_in_lotus_position:":{uc_base:"1f9d8-2642",uc_output:"1f9d8-200d-2642-fe0f",uc_match:"1f9d8-2642-fe0f",uc_greedy:"1f9d8-2642",shortnames:[],category:"activity"},":man_in_steamy_room:":{uc_base:"1f9d6-2642",uc_output:"1f9d6-200d-2642-fe0f",uc_match:"1f9d6-2642-fe0f",uc_greedy:"1f9d6-2642",shortnames:[],category:"people"},":man_judge:":{uc_base:"1f468-2696",uc_output:"1f468-200d-2696-fe0f",uc_match:"1f468-2696-fe0f",uc_greedy:"1f468-2696",shortnames:[],category:"people"},":man_juggling:":{uc_base:"1f939-2642",uc_output:"1f939-200d-2642-fe0f",uc_match:"1f939-2642-fe0f",uc_greedy:"1f939-2642",shortnames:[],category:"activity"},":man_mage:":{uc_base:"1f9d9-2642",uc_output:"1f9d9-200d-2642-fe0f",uc_match:"1f9d9-2642-fe0f",uc_greedy:"1f9d9-2642",shortnames:[],category:"people"},":man_mountain_biking:":{uc_base:"1f6b5-2642",uc_output:"1f6b5-200d-2642-fe0f",uc_match:"1f6b5-2642-fe0f",uc_greedy:"1f6b5-2642",shortnames:[],category:"activity"},":man_pilot:":{uc_base:"1f468-2708",uc_output:"1f468-200d-2708-fe0f",uc_match:"1f468-2708-fe0f",uc_greedy:"1f468-2708",shortnames:[],category:"people"},":man_playing_handball:":{uc_base:"1f93e-2642",uc_output:"1f93e-200d-2642-fe0f",uc_match:"1f93e-2642-fe0f",uc_greedy:"1f93e-2642",shortnames:[],category:"activity"},":man_playing_water_polo:":{uc_base:"1f93d-2642",uc_output:"1f93d-200d-2642-fe0f",uc_match:"1f93d-2642-fe0f",uc_greedy:"1f93d-2642",shortnames:[],category:"activity"},":man_police_officer:":{uc_base:"1f46e-2642",uc_output:"1f46e-200d-2642-fe0f",uc_match:"1f46e-2642-fe0f",uc_greedy:"1f46e-2642",shortnames:[],category:"people"},":man_pouting:":{uc_base:"1f64e-2642",uc_output:"1f64e-200d-2642-fe0f",uc_match:"1f64e-2642-fe0f",uc_greedy:"1f64e-2642",shortnames:[],category:"people"},":man_raising_hand:":{uc_base:"1f64b-2642",uc_output:"1f64b-200d-2642-fe0f",uc_match:"1f64b-2642-fe0f",uc_greedy:"1f64b-2642",shortnames:[],category:"people"},":man_rowing_boat:":{uc_base:"1f6a3-2642",uc_output:"1f6a3-200d-2642-fe0f",uc_match:"1f6a3-2642-fe0f",uc_greedy:"1f6a3-2642",shortnames:[],category:"activity"},":man_running:":{uc_base:"1f3c3-2642",uc_output:"1f3c3-200d-2642-fe0f",uc_match:"1f3c3-2642-fe0f",uc_greedy:"1f3c3-2642",shortnames:[],category:"people"},":man_shrugging:":{uc_base:"1f937-2642",uc_output:"1f937-200d-2642-fe0f",uc_match:"1f937-2642-fe0f",uc_greedy:"1f937-2642",shortnames:[],category:"people"},":man_superhero:":{uc_base:"1f9b8-2642",uc_output:"1f9b8-200d-2642-fe0f",uc_match:"1f9b8-2642-fe0f",uc_greedy:"1f9b8-2642",shortnames:[],category:"people"},":man_supervillain:":{uc_base:"1f9b9-2642",uc_output:"1f9b9-200d-2642-fe0f",uc_match:"1f9b9-2642-fe0f",uc_greedy:"1f9b9-2642",shortnames:[],category:"people"},":man_surfing:":{uc_base:"1f3c4-2642",uc_output:"1f3c4-200d-2642-fe0f",uc_match:"1f3c4-2642-fe0f",uc_greedy:"1f3c4-2642",shortnames:[],category:"activity"},":man_swimming:":{uc_base:"1f3ca-2642",uc_output:"1f3ca-200d-2642-fe0f",uc_match:"1f3ca-2642-fe0f",uc_greedy:"1f3ca-2642",shortnames:[],category:"activity"},":man_tipping_hand:":{uc_base:"1f481-2642",uc_output:"1f481-200d-2642-fe0f",uc_match:"1f481-2642-fe0f",uc_greedy:"1f481-2642",shortnames:[],category:"people"},":man_vampire:":{uc_base:"1f9db-2642",uc_output:"1f9db-200d-2642-fe0f",uc_match:"1f9db-2642-fe0f",uc_greedy:"1f9db-2642",shortnames:[],category:"people"},":man_walking:":{uc_base:"1f6b6-2642",uc_output:"1f6b6-200d-2642-fe0f",uc_match:"1f6b6-2642-fe0f",uc_greedy:"1f6b6-2642",shortnames:[],category:"people"},":man_wearing_turban:":{uc_base:"1f473-2642",uc_output:"1f473-200d-2642-fe0f",uc_match:"1f473-2642-fe0f",uc_greedy:"1f473-2642",shortnames:[],category:"people"},":man_zombie:":{uc_base:"1f9df-2642",uc_output:"1f9df-200d-2642-fe0f",uc_match:"1f9df-2642-fe0f",uc_greedy:"1f9df-2642",shortnames:[],category:"people"},":men_with_bunny_ears_partying:":{uc_base:"1f46f-2642",uc_output:"1f46f-200d-2642-fe0f",uc_match:"1f46f-2642-fe0f",uc_greedy:"1f46f-2642",shortnames:[],category:"people"},":men_wrestling:":{uc_base:"1f93c-2642",uc_output:"1f93c-200d-2642-fe0f",uc_match:"1f93c-2642-fe0f",uc_greedy:"1f93c-2642",shortnames:[],category:"activity"},":mermaid:":{uc_base:"1f9dc-2640",uc_output:"1f9dc-200d-2640-fe0f",uc_match:"1f9dc-2640-fe0f",uc_greedy:"1f9dc-2640",shortnames:[],category:"people"},":merman:":{uc_base:"1f9dc-2642",uc_output:"1f9dc-200d-2642-fe0f",uc_match:"1f9dc-2642-fe0f",uc_greedy:"1f9dc-2642",shortnames:[],category:"people"},":pirate_flag:":{uc_base:"1f3f4-2620",uc_output:"1f3f4-200d-2620-fe0f",uc_match:"1f3f4-2620-fe0f",uc_greedy:"1f3f4-2620",shortnames:[],category:"flags"},":woman_biking:":{uc_base:"1f6b4-2640",uc_output:"1f6b4-200d-2640-fe0f",uc_match:"1f6b4-2640-fe0f",uc_greedy:"1f6b4-2640",shortnames:[],category:"activity"},":woman_bowing:":{uc_base:"1f647-2640",uc_output:"1f647-200d-2640-fe0f",uc_match:"1f647-2640-fe0f",uc_greedy:"1f647-2640",shortnames:[],category:"people"},":woman_cartwheeling:":{uc_base:"1f938-2640",uc_output:"1f938-200d-2640-fe0f",uc_match:"1f938-2640-fe0f",uc_greedy:"1f938-2640",shortnames:[],category:"activity"},":woman_climbing:":{uc_base:"1f9d7-2640",uc_output:"1f9d7-200d-2640-fe0f",uc_match:"1f9d7-2640-fe0f",uc_greedy:"1f9d7-2640",shortnames:[],category:"activity"},":woman_construction_worker:":{uc_base:"1f477-2640",uc_output:"1f477-200d-2640-fe0f",uc_match:"1f477-2640-fe0f",uc_greedy:"1f477-2640",shortnames:[],category:"people"},":woman_elf:":{uc_base:"1f9dd-2640",uc_output:"1f9dd-200d-2640-fe0f",uc_match:"1f9dd-2640-fe0f",uc_greedy:"1f9dd-2640",shortnames:[],category:"people"},":woman_facepalming:":{uc_base:"1f926-2640",uc_output:"1f926-200d-2640-fe0f",uc_match:"1f926-2640-fe0f",uc_greedy:"1f926-2640",shortnames:[],category:"people"},":woman_fairy:":{uc_base:"1f9da-2640",uc_output:"1f9da-200d-2640-fe0f",uc_match:"1f9da-2640-fe0f",uc_greedy:"1f9da-2640",shortnames:[],category:"people"},":woman_frowning:":{uc_base:"1f64d-2640",uc_output:"1f64d-200d-2640-fe0f",uc_match:"1f64d-2640-fe0f",uc_greedy:"1f64d-2640",shortnames:[],category:"people"},":woman_genie:":{uc_base:"1f9de-2640",uc_output:"1f9de-200d-2640-fe0f",uc_match:"1f9de-2640-fe0f",uc_greedy:"1f9de-2640",shortnames:[],category:"people"},":woman_gesturing_no:":{uc_base:"1f645-2640",uc_output:"1f645-200d-2640-fe0f",uc_match:"1f645-2640-fe0f",uc_greedy:"1f645-2640",shortnames:[],category:"people"},":woman_gesturing_ok:":{uc_base:"1f646-2640",uc_output:"1f646-200d-2640-fe0f",uc_match:"1f646-2640-fe0f",uc_greedy:"1f646-2640",shortnames:[],category:"people"},":woman_getting_face_massage:":{uc_base:"1f486-2640",uc_output:"1f486-200d-2640-fe0f",uc_match:"1f486-2640-fe0f",uc_greedy:"1f486-2640",shortnames:[],category:"people"},":woman_getting_haircut:":{uc_base:"1f487-2640",uc_output:"1f487-200d-2640-fe0f",uc_match:"1f487-2640-fe0f",uc_greedy:"1f487-2640",shortnames:[],category:"people"},":woman_guard:":{uc_base:"1f482-2640",uc_output:"1f482-200d-2640-fe0f",uc_match:"1f482-2640-fe0f",uc_greedy:"1f482-2640",shortnames:[],category:"people"},":woman_health_worker:":{uc_base:"1f469-2695",uc_output:"1f469-200d-2695-fe0f",uc_match:"1f469-2695-fe0f",uc_greedy:"1f469-2695",shortnames:[],category:"people"},":woman_in_lotus_position:":{uc_base:"1f9d8-2640",uc_output:"1f9d8-200d-2640-fe0f",uc_match:"1f9d8-2640-fe0f",uc_greedy:"1f9d8-2640",shortnames:[],category:"activity"},":woman_in_steamy_room:":{uc_base:"1f9d6-2640",uc_output:"1f9d6-200d-2640-fe0f",uc_match:"1f9d6-2640-fe0f",uc_greedy:"1f9d6-2640",shortnames:[],category:"people"},":woman_judge:":{uc_base:"1f469-2696",uc_output:"1f469-200d-2696-fe0f",uc_match:"1f469-2696-fe0f",uc_greedy:"1f469-2696",shortnames:[],category:"people"},":woman_juggling:":{uc_base:"1f939-2640",uc_output:"1f939-200d-2640-fe0f",uc_match:"1f939-2640-fe0f",uc_greedy:"1f939-2640",shortnames:[],category:"activity"},":woman_mage:":{uc_base:"1f9d9-2640",uc_output:"1f9d9-200d-2640-fe0f",uc_match:"1f9d9-2640-fe0f",uc_greedy:"1f9d9-2640",shortnames:[],category:"people"},":woman_mountain_biking:":{uc_base:"1f6b5-2640",uc_output:"1f6b5-200d-2640-fe0f",uc_match:"1f6b5-2640-fe0f",uc_greedy:"1f6b5-2640",shortnames:[],category:"activity"},":woman_pilot:":{uc_base:"1f469-2708",uc_output:"1f469-200d-2708-fe0f",uc_match:"1f469-2708-fe0f",uc_greedy:"1f469-2708",shortnames:[],category:"people"},":woman_playing_handball:":{uc_base:"1f93e-2640",uc_output:"1f93e-200d-2640-fe0f",uc_match:"1f93e-2640-fe0f",uc_greedy:"1f93e-2640",shortnames:[],category:"activity"},":woman_playing_water_polo:":{uc_base:"1f93d-2640",uc_output:"1f93d-200d-2640-fe0f",uc_match:"1f93d-2640-fe0f",uc_greedy:"1f93d-2640",shortnames:[],category:"activity"},":woman_police_officer:":{uc_base:"1f46e-2640",uc_output:"1f46e-200d-2640-fe0f",uc_match:"1f46e-2640-fe0f",uc_greedy:"1f46e-2640",shortnames:[],category:"people"},":woman_pouting:":{uc_base:"1f64e-2640",uc_output:"1f64e-200d-2640-fe0f",uc_match:"1f64e-2640-fe0f",uc_greedy:"1f64e-2640",shortnames:[],category:"people"},":woman_raising_hand:":{uc_base:"1f64b-2640",uc_output:"1f64b-200d-2640-fe0f",uc_match:"1f64b-2640-fe0f",uc_greedy:"1f64b-2640",shortnames:[],category:"people"},":woman_rowing_boat:":{uc_base:"1f6a3-2640",uc_output:"1f6a3-200d-2640-fe0f",uc_match:"1f6a3-2640-fe0f",uc_greedy:"1f6a3-2640",shortnames:[],category:"activity"},":woman_running:":{uc_base:"1f3c3-2640",uc_output:"1f3c3-200d-2640-fe0f",uc_match:"1f3c3-2640-fe0f",uc_greedy:"1f3c3-2640",shortnames:[],category:"people"},":woman_shrugging:":{uc_base:"1f937-2640",uc_output:"1f937-200d-2640-fe0f",uc_match:"1f937-2640-fe0f",uc_greedy:"1f937-2640",shortnames:[],category:"people"},":woman_superhero:":{uc_base:"1f9b8-2640",uc_output:"1f9b8-200d-2640-fe0f",uc_match:"1f9b8-2640-fe0f",uc_greedy:"1f9b8-2640",shortnames:[],category:"people"},":woman_supervillain:":{uc_base:"1f9b9-2640",uc_output:"1f9b9-200d-2640-fe0f",uc_match:"1f9b9-2640-fe0f",uc_greedy:"1f9b9-2640",shortnames:[],category:"people"},":woman_surfing:":{uc_base:"1f3c4-2640",uc_output:"1f3c4-200d-2640-fe0f",uc_match:"1f3c4-2640-fe0f",uc_greedy:"1f3c4-2640",shortnames:[],category:"activity"},":woman_swimming:":{uc_base:"1f3ca-2640",uc_output:"1f3ca-200d-2640-fe0f",uc_match:"1f3ca-2640-fe0f",uc_greedy:"1f3ca-2640",shortnames:[],category:"activity"},":woman_tipping_hand:":{uc_base:"1f481-2640",uc_output:"1f481-200d-2640-fe0f",uc_match:"1f481-2640-fe0f",uc_greedy:"1f481-2640",shortnames:[],category:"people"},":woman_vampire:":{uc_base:"1f9db-2640",uc_output:"1f9db-200d-2640-fe0f",uc_match:"1f9db-2640-fe0f",uc_greedy:"1f9db-2640",shortnames:[],category:"people"},":woman_walking:":{uc_base:"1f6b6-2640",uc_output:"1f6b6-200d-2640-fe0f",uc_match:"1f6b6-2640-fe0f",uc_greedy:"1f6b6-2640",shortnames:[],category:"people"},":woman_wearing_turban:":{uc_base:"1f473-2640",uc_output:"1f473-200d-2640-fe0f",uc_match:"1f473-2640-fe0f",uc_greedy:"1f473-2640",shortnames:[],category:"people"},":woman_zombie:":{uc_base:"1f9df-2640",uc_output:"1f9df-200d-2640-fe0f",uc_match:"1f9df-2640-fe0f",uc_greedy:"1f9df-2640",shortnames:[],category:"people"},":women_with_bunny_ears_partying:":{uc_base:"1f46f-2640",uc_output:"1f46f-200d-2640-fe0f",uc_match:"1f46f-2640-fe0f",uc_greedy:"1f46f-2640",shortnames:[],category:"people"},":women_wrestling:":{uc_base:"1f93c-2640",uc_output:"1f93c-200d-2640-fe0f",uc_match:"1f93c-2640-fe0f",uc_greedy:"1f93c-2640",shortnames:[],category:"activity"},":family_man_boy:":{uc_base:"1f468-1f466",uc_output:"1f468-200d-1f466",uc_match:"1f468-1f466",uc_greedy:"1f468-1f466",shortnames:[],category:"people"},":family_man_girl:":{uc_base:"1f468-1f467",uc_output:"1f468-200d-1f467",uc_match:"1f468-1f467",uc_greedy:"1f468-1f467",shortnames:[],category:"people"},":family_woman_boy:":{uc_base:"1f469-1f466",uc_output:"1f469-200d-1f466",uc_match:"1f469-1f466",uc_greedy:"1f469-1f466",shortnames:[],category:"people"},":family_woman_girl:":{uc_base:"1f469-1f467",uc_output:"1f469-200d-1f467",uc_match:"1f469-1f467",uc_greedy:"1f469-1f467",shortnames:[],category:"people"},":man_artist:":{uc_base:"1f468-1f3a8",uc_output:"1f468-200d-1f3a8",uc_match:"1f468-1f3a8",uc_greedy:"1f468-1f3a8",shortnames:[],category:"people"},":man_astronaut:":{uc_base:"1f468-1f680",uc_output:"1f468-200d-1f680",uc_match:"1f468-1f680",uc_greedy:"1f468-1f680",shortnames:[],category:"people"},":man_bald:":{uc_base:"1f468-1f9b2",uc_output:"1f468-200d-1f9b2",uc_match:"1f468-1f9b2",uc_greedy:"1f468-1f9b2",shortnames:[],category:"people"},":man_cook:":{uc_base:"1f468-1f373",uc_output:"1f468-200d-1f373",uc_match:"1f468-1f373",uc_greedy:"1f468-1f373",shortnames:[],category:"people"},":man_curly_haired:":{uc_base:"1f468-1f9b1",uc_output:"1f468-200d-1f9b1",uc_match:"1f468-1f9b1",uc_greedy:"1f468-1f9b1",shortnames:[],category:"people"},":man_factory_worker:":{uc_base:"1f468-1f3ed",uc_output:"1f468-200d-1f3ed",uc_match:"1f468-1f3ed",uc_greedy:"1f468-1f3ed",shortnames:[],category:"people"},":man_farmer:":{uc_base:"1f468-1f33e",uc_output:"1f468-200d-1f33e",uc_match:"1f468-1f33e",uc_greedy:"1f468-1f33e",shortnames:[],category:"people"},":man_firefighter:":{uc_base:"1f468-1f692",uc_output:"1f468-200d-1f692",uc_match:"1f468-1f692",uc_greedy:"1f468-1f692",shortnames:[],category:"people"},":man_mechanic:":{uc_base:"1f468-1f527",uc_output:"1f468-200d-1f527",uc_match:"1f468-1f527",uc_greedy:"1f468-1f527",shortnames:[],category:"people"},":man_office_worker:":{uc_base:"1f468-1f4bc",uc_output:"1f468-200d-1f4bc",uc_match:"1f468-1f4bc",uc_greedy:"1f468-1f4bc",shortnames:[],category:"people"},":man_red_haired:":{uc_base:"1f468-1f9b0",uc_output:"1f468-200d-1f9b0",uc_match:"1f468-1f9b0",uc_greedy:"1f468-1f9b0",shortnames:[],category:"people"},":man_scientist:":{uc_base:"1f468-1f52c",uc_output:"1f468-200d-1f52c",uc_match:"1f468-1f52c",uc_greedy:"1f468-1f52c",shortnames:[],category:"people"},":man_singer:":{uc_base:"1f468-1f3a4",uc_output:"1f468-200d-1f3a4",uc_match:"1f468-1f3a4",uc_greedy:"1f468-1f3a4",shortnames:[],category:"people"},":man_student:":{uc_base:"1f468-1f393",uc_output:"1f468-200d-1f393",uc_match:"1f468-1f393",uc_greedy:"1f468-1f393",shortnames:[],category:"people"},":man_teacher:":{uc_base:"1f468-1f3eb",uc_output:"1f468-200d-1f3eb",uc_match:"1f468-1f3eb",uc_greedy:"1f468-1f3eb",shortnames:[],category:"people"},":man_technologist:":{uc_base:"1f468-1f4bb",uc_output:"1f468-200d-1f4bb",uc_match:"1f468-1f4bb",uc_greedy:"1f468-1f4bb",shortnames:[],category:"people"},":man_white_haired:":{uc_base:"1f468-1f9b3",uc_output:"1f468-200d-1f9b3",uc_match:"1f468-1f9b3",uc_greedy:"1f468-1f9b3",shortnames:[],category:"people"},":woman_artist:":{uc_base:"1f469-1f3a8",uc_output:"1f469-200d-1f3a8",uc_match:"1f469-1f3a8",uc_greedy:"1f469-1f3a8",shortnames:[],category:"people"},":woman_astronaut:":{uc_base:"1f469-1f680",uc_output:"1f469-200d-1f680",uc_match:"1f469-1f680",uc_greedy:"1f469-1f680",shortnames:[],category:"people"},":woman_bald:":{uc_base:"1f469-1f9b2",uc_output:"1f469-200d-1f9b2",uc_match:"1f469-1f9b2",uc_greedy:"1f469-1f9b2",shortnames:[],category:"people"},":woman_cook:":{uc_base:"1f469-1f373",uc_output:"1f469-200d-1f373",uc_match:"1f469-1f373",uc_greedy:"1f469-1f373",shortnames:[],category:"people"},":woman_curly_haired:":{uc_base:"1f469-1f9b1",uc_output:"1f469-200d-1f9b1",uc_match:"1f469-1f9b1",uc_greedy:"1f469-1f9b1",shortnames:[],category:"people"},":woman_factory_worker:":{uc_base:"1f469-1f3ed",uc_output:"1f469-200d-1f3ed",uc_match:"1f469-1f3ed",uc_greedy:"1f469-1f3ed",shortnames:[],category:"people"},":woman_farmer:":{uc_base:"1f469-1f33e",uc_output:"1f469-200d-1f33e",uc_match:"1f469-1f33e",uc_greedy:"1f469-1f33e",shortnames:[],category:"people"},":woman_firefighter:":{uc_base:"1f469-1f692",uc_output:"1f469-200d-1f692",uc_match:"1f469-1f692",uc_greedy:"1f469-1f692",shortnames:[],category:"people"},":woman_mechanic:":{uc_base:"1f469-1f527",uc_output:"1f469-200d-1f527",uc_match:"1f469-1f527",uc_greedy:"1f469-1f527",shortnames:[],category:"people"},":woman_office_worker:":{uc_base:"1f469-1f4bc",uc_output:"1f469-200d-1f4bc",uc_match:"1f469-1f4bc",uc_greedy:"1f469-1f4bc",shortnames:[],category:"people"},":woman_red_haired:":{uc_base:"1f469-1f9b0",uc_output:"1f469-200d-1f9b0",uc_match:"1f469-1f9b0",uc_greedy:"1f469-1f9b0",shortnames:[],category:"people"},":woman_scientist:":{uc_base:"1f469-1f52c",uc_output:"1f469-200d-1f52c",uc_match:"1f469-1f52c",uc_greedy:"1f469-1f52c",shortnames:[],category:"people"},":woman_singer:":{uc_base:"1f469-1f3a4",uc_output:"1f469-200d-1f3a4",uc_match:"1f469-1f3a4",uc_greedy:"1f469-1f3a4",shortnames:[],category:"people"},":woman_student:":{uc_base:"1f469-1f393",uc_output:"1f469-200d-1f393",uc_match:"1f469-1f393",uc_greedy:"1f469-1f393",shortnames:[],category:"people"},":woman_teacher:":{uc_base:"1f469-1f3eb",uc_output:"1f469-200d-1f3eb",uc_match:"1f469-1f3eb",uc_greedy:"1f469-1f3eb",shortnames:[],category:"people"},":woman_technologist:":{uc_base:"1f469-1f4bb",uc_output:"1f469-200d-1f4bb",uc_match:"1f469-1f4bb",uc_greedy:"1f469-1f4bb",shortnames:[],category:"people"},":woman_white_haired:":{uc_base:"1f469-1f9b3",uc_output:"1f469-200d-1f9b3",uc_match:"1f469-1f9b3",uc_greedy:"1f469-1f9b3",shortnames:[],category:"people"},":asterisk:":{uc_base:"002a-20e3",uc_output:"002a-fe0f-20e3",uc_match:"002a-20e3",uc_greedy:"002a-20e3",shortnames:[":keycap_asterisk:"],category:"symbols"},":eight:":{uc_base:"0038-20e3",uc_output:"0038-fe0f-20e3",uc_match:"0038-20e3",uc_greedy:"0038-20e3",shortnames:[],category:"symbols"},":five:":{uc_base:"0035-20e3",uc_output:"0035-fe0f-20e3",uc_match:"0035-20e3",uc_greedy:"0035-20e3",shortnames:[],category:"symbols"},":four:":{uc_base:"0034-20e3",uc_output:"0034-fe0f-20e3",uc_match:"0034-20e3",uc_greedy:"0034-20e3",shortnames:[],category:"symbols"},":hash:":{uc_base:"0023-20e3",uc_output:"0023-fe0f-20e3",uc_match:"0023-20e3",uc_greedy:"0023-20e3",shortnames:[],category:"symbols"},":nine:":{uc_base:"0039-20e3",uc_output:"0039-fe0f-20e3",uc_match:"0039-20e3",uc_greedy:"0039-20e3",shortnames:[],category:"symbols"},":one:":{uc_base:"0031-20e3",uc_output:"0031-fe0f-20e3",uc_match:"0031-20e3",uc_greedy:"0031-20e3",shortnames:[],category:"symbols"},":seven:":{uc_base:"0037-20e3",uc_output:"0037-fe0f-20e3",uc_match:"0037-20e3",uc_greedy:"0037-20e3",shortnames:[],category:"symbols"},":six:":{uc_base:"0036-20e3",uc_output:"0036-fe0f-20e3",uc_match:"0036-20e3",uc_greedy:"0036-20e3",shortnames:[],category:"symbols"},":three:":{uc_base:"0033-20e3",uc_output:"0033-fe0f-20e3",uc_match:"0033-20e3",uc_greedy:"0033-20e3",shortnames:[],category:"symbols"},":two:":{uc_base:"0032-20e3",uc_output:"0032-fe0f-20e3",uc_match:"0032-20e3",uc_greedy:"0032-20e3",shortnames:[],category:"symbols"},":zero:":{uc_base:"0030-20e3",uc_output:"0030-fe0f-20e3",uc_match:"0030-20e3",uc_greedy:"0030-20e3",shortnames:[],category:"symbols"},":adult_tone1:":{uc_base:"1f9d1-1f3fb",uc_output:"1f9d1-1f3fb",uc_match:"1f9d1-1f3fb",uc_greedy:"1f9d1-1f3fb",shortnames:[":adult_light_skin_tone:"],category:"people"},":adult_tone2:":{uc_base:"1f9d1-1f3fc",uc_output:"1f9d1-1f3fc",uc_match:"1f9d1-1f3fc",uc_greedy:"1f9d1-1f3fc",shortnames:[":adult_medium_light_skin_tone:"],category:"people"},":adult_tone3:":{uc_base:"1f9d1-1f3fd",uc_output:"1f9d1-1f3fd",uc_match:"1f9d1-1f3fd",uc_greedy:"1f9d1-1f3fd",shortnames:[":adult_medium_skin_tone:"],category:"people"},":adult_tone4:":{uc_base:"1f9d1-1f3fe",uc_output:"1f9d1-1f3fe",uc_match:"1f9d1-1f3fe",uc_greedy:"1f9d1-1f3fe",shortnames:[":adult_medium_dark_skin_tone:"],category:"people"},":adult_tone5:":{uc_base:"1f9d1-1f3ff",uc_output:"1f9d1-1f3ff",uc_match:"1f9d1-1f3ff",uc_greedy:"1f9d1-1f3ff",shortnames:[":adult_dark_skin_tone:"],category:"people"},":angel_tone1:":{uc_base:"1f47c-1f3fb",uc_output:"1f47c-1f3fb",uc_match:"1f47c-1f3fb",uc_greedy:"1f47c-1f3fb",shortnames:[],category:"people"},":angel_tone2:":{uc_base:"1f47c-1f3fc",uc_output:"1f47c-1f3fc",uc_match:"1f47c-1f3fc",uc_greedy:"1f47c-1f3fc",shortnames:[],category:"people"},":angel_tone3:":{uc_base:"1f47c-1f3fd",uc_output:"1f47c-1f3fd",uc_match:"1f47c-1f3fd",uc_greedy:"1f47c-1f3fd",shortnames:[],category:"people"},":angel_tone4:":{uc_base:"1f47c-1f3fe",uc_output:"1f47c-1f3fe",uc_match:"1f47c-1f3fe",uc_greedy:"1f47c-1f3fe",shortnames:[],category:"people"},":angel_tone5:":{uc_base:"1f47c-1f3ff",uc_output:"1f47c-1f3ff",uc_match:"1f47c-1f3ff",uc_greedy:"1f47c-1f3ff",shortnames:[],category:"people"},":baby_tone1:":{uc_base:"1f476-1f3fb",uc_output:"1f476-1f3fb",uc_match:"1f476-1f3fb",uc_greedy:"1f476-1f3fb",shortnames:[],category:"people"},":baby_tone2:":{uc_base:"1f476-1f3fc",uc_output:"1f476-1f3fc",uc_match:"1f476-1f3fc",uc_greedy:"1f476-1f3fc",shortnames:[],category:"people"},":baby_tone3:":{uc_base:"1f476-1f3fd",uc_output:"1f476-1f3fd",uc_match:"1f476-1f3fd",uc_greedy:"1f476-1f3fd",shortnames:[],category:"people"},":baby_tone4:":{uc_base:"1f476-1f3fe",uc_output:"1f476-1f3fe",uc_match:"1f476-1f3fe",uc_greedy:"1f476-1f3fe",shortnames:[],category:"people"},":baby_tone5:":{uc_base:"1f476-1f3ff",uc_output:"1f476-1f3ff",uc_match:"1f476-1f3ff",uc_greedy:"1f476-1f3ff",shortnames:[],category:"people"},":bath_tone1:":{uc_base:"1f6c0-1f3fb",uc_output:"1f6c0-1f3fb",uc_match:"1f6c0-1f3fb",uc_greedy:"1f6c0-1f3fb",shortnames:[],category:"objects"},":bath_tone2:":{uc_base:"1f6c0-1f3fc",uc_output:"1f6c0-1f3fc",uc_match:"1f6c0-1f3fc",uc_greedy:"1f6c0-1f3fc",shortnames:[],category:"objects"},":bath_tone3:":{uc_base:"1f6c0-1f3fd",uc_output:"1f6c0-1f3fd",uc_match:"1f6c0-1f3fd",uc_greedy:"1f6c0-1f3fd",shortnames:[],category:"objects"},":bath_tone4:":{uc_base:"1f6c0-1f3fe",uc_output:"1f6c0-1f3fe",uc_match:"1f6c0-1f3fe",uc_greedy:"1f6c0-1f3fe",shortnames:[],category:"objects"},":bath_tone5:":{uc_base:"1f6c0-1f3ff",uc_output:"1f6c0-1f3ff",uc_match:"1f6c0-1f3ff",uc_greedy:"1f6c0-1f3ff",shortnames:[],category:"objects"},":bearded_person_tone1:":{uc_base:"1f9d4-1f3fb",uc_output:"1f9d4-1f3fb",uc_match:"1f9d4-1f3fb",uc_greedy:"1f9d4-1f3fb",shortnames:[":bearded_person_light_skin_tone:"],category:"people"},":bearded_person_tone2:":{uc_base:"1f9d4-1f3fc",uc_output:"1f9d4-1f3fc",uc_match:"1f9d4-1f3fc",uc_greedy:"1f9d4-1f3fc",shortnames:[":bearded_person_medium_light_skin_tone:"],category:"people"},":bearded_person_tone3:":{uc_base:"1f9d4-1f3fd",uc_output:"1f9d4-1f3fd",uc_match:"1f9d4-1f3fd",uc_greedy:"1f9d4-1f3fd",shortnames:[":bearded_person_medium_skin_tone:"],category:"people"},":bearded_person_tone4:":{uc_base:"1f9d4-1f3fe",uc_output:"1f9d4-1f3fe",uc_match:"1f9d4-1f3fe",uc_greedy:"1f9d4-1f3fe",shortnames:[":bearded_person_medium_dark_skin_tone:"],category:"people"},":bearded_person_tone5:":{uc_base:"1f9d4-1f3ff",uc_output:"1f9d4-1f3ff",uc_match:"1f9d4-1f3ff",uc_greedy:"1f9d4-1f3ff",shortnames:[":bearded_person_dark_skin_tone:"],category:"people"},":blond_haired_person_tone1:":{uc_base:"1f471-1f3fb",uc_output:"1f471-1f3fb",uc_match:"1f471-1f3fb",uc_greedy:"1f471-1f3fb",shortnames:[":person_with_blond_hair_tone1:"],category:"people"},":blond_haired_person_tone2:":{uc_base:"1f471-1f3fc",uc_output:"1f471-1f3fc",uc_match:"1f471-1f3fc",uc_greedy:"1f471-1f3fc",shortnames:[":person_with_blond_hair_tone2:"],category:"people"},":blond_haired_person_tone3:":{uc_base:"1f471-1f3fd",uc_output:"1f471-1f3fd",uc_match:"1f471-1f3fd",uc_greedy:"1f471-1f3fd",shortnames:[":person_with_blond_hair_tone3:"],category:"people"},":blond_haired_person_tone4:":{uc_base:"1f471-1f3fe",uc_output:"1f471-1f3fe",uc_match:"1f471-1f3fe",uc_greedy:"1f471-1f3fe",shortnames:[":person_with_blond_hair_tone4:"],category:"people"},":blond_haired_person_tone5:":{uc_base:"1f471-1f3ff",uc_output:"1f471-1f3ff",uc_match:"1f471-1f3ff",uc_greedy:"1f471-1f3ff",shortnames:[":person_with_blond_hair_tone5:"],category:"people"},":boy_tone1:":{uc_base:"1f466-1f3fb",uc_output:"1f466-1f3fb",uc_match:"1f466-1f3fb",uc_greedy:"1f466-1f3fb",shortnames:[],category:"people"},":boy_tone2:":{uc_base:"1f466-1f3fc",uc_output:"1f466-1f3fc",uc_match:"1f466-1f3fc",uc_greedy:"1f466-1f3fc",shortnames:[],category:"people"},":boy_tone3:":{uc_base:"1f466-1f3fd",uc_output:"1f466-1f3fd",uc_match:"1f466-1f3fd",uc_greedy:"1f466-1f3fd",shortnames:[],category:"people"},":boy_tone4:":{uc_base:"1f466-1f3fe",uc_output:"1f466-1f3fe",uc_match:"1f466-1f3fe",uc_greedy:"1f466-1f3fe",shortnames:[],category:"people"},":boy_tone5:":{uc_base:"1f466-1f3ff",uc_output:"1f466-1f3ff",uc_match:"1f466-1f3ff",uc_greedy:"1f466-1f3ff",shortnames:[],category:"people"},":breast_feeding_tone1:":{uc_base:"1f931-1f3fb",uc_output:"1f931-1f3fb",uc_match:"1f931-1f3fb",uc_greedy:"1f931-1f3fb",shortnames:[":breast_feeding_light_skin_tone:"],category:"people"},":breast_feeding_tone2:":{uc_base:"1f931-1f3fc",uc_output:"1f931-1f3fc",uc_match:"1f931-1f3fc",uc_greedy:"1f931-1f3fc",shortnames:[":breast_feeding_medium_light_skin_tone:"],category:"people"},":breast_feeding_tone3:":{uc_base:"1f931-1f3fd",uc_output:"1f931-1f3fd",uc_match:"1f931-1f3fd",uc_greedy:"1f931-1f3fd",shortnames:[":breast_feeding_medium_skin_tone:"],category:"people"},":breast_feeding_tone4:":{uc_base:"1f931-1f3fe",uc_output:"1f931-1f3fe",uc_match:"1f931-1f3fe",uc_greedy:"1f931-1f3fe",shortnames:[":breast_feeding_medium_dark_skin_tone:"],category:"people"},":breast_feeding_tone5:":{uc_base:"1f931-1f3ff",uc_output:"1f931-1f3ff",uc_match:"1f931-1f3ff",uc_greedy:"1f931-1f3ff",shortnames:[":breast_feeding_dark_skin_tone:"],category:"people"},":bride_with_veil_tone1:":{uc_base:"1f470-1f3fb",uc_output:"1f470-1f3fb",uc_match:"1f470-1f3fb",uc_greedy:"1f470-1f3fb",shortnames:[],category:"people"},":bride_with_veil_tone2:":{uc_base:"1f470-1f3fc",uc_output:"1f470-1f3fc",uc_match:"1f470-1f3fc",uc_greedy:"1f470-1f3fc",shortnames:[],category:"people"},":bride_with_veil_tone3:":{uc_base:"1f470-1f3fd",uc_output:"1f470-1f3fd",uc_match:"1f470-1f3fd",uc_greedy:"1f470-1f3fd",shortnames:[],category:"people"},":bride_with_veil_tone4:":{uc_base:"1f470-1f3fe",uc_output:"1f470-1f3fe",uc_match:"1f470-1f3fe",uc_greedy:"1f470-1f3fe",shortnames:[],category:"people"},":bride_with_veil_tone5:":{uc_base:"1f470-1f3ff",uc_output:"1f470-1f3ff",uc_match:"1f470-1f3ff",uc_greedy:"1f470-1f3ff",shortnames:[],category:"people"},":call_me_tone1:":{uc_base:"1f919-1f3fb",uc_output:"1f919-1f3fb",uc_match:"1f919-1f3fb",uc_greedy:"1f919-1f3fb",shortnames:[":call_me_hand_tone1:"],category:"people"},":call_me_tone2:":{uc_base:"1f919-1f3fc",uc_output:"1f919-1f3fc",uc_match:"1f919-1f3fc",uc_greedy:"1f919-1f3fc",shortnames:[":call_me_hand_tone2:"],category:"people"},":call_me_tone3:":{uc_base:"1f919-1f3fd",uc_output:"1f919-1f3fd",uc_match:"1f919-1f3fd",uc_greedy:"1f919-1f3fd",shortnames:[":call_me_hand_tone3:"],category:"people"},":call_me_tone4:":{uc_base:"1f919-1f3fe",uc_output:"1f919-1f3fe",uc_match:"1f919-1f3fe",uc_greedy:"1f919-1f3fe",shortnames:[":call_me_hand_tone4:"],category:"people"},":call_me_tone5:":{uc_base:"1f919-1f3ff",uc_output:"1f919-1f3ff",uc_match:"1f919-1f3ff",uc_greedy:"1f919-1f3ff",shortnames:[":call_me_hand_tone5:"],category:"people"},":child_tone1:":{uc_base:"1f9d2-1f3fb",uc_output:"1f9d2-1f3fb",uc_match:"1f9d2-1f3fb",uc_greedy:"1f9d2-1f3fb",shortnames:[":child_light_skin_tone:"],category:"people"},":child_tone2:":{uc_base:"1f9d2-1f3fc",uc_output:"1f9d2-1f3fc",uc_match:"1f9d2-1f3fc",uc_greedy:"1f9d2-1f3fc",shortnames:[":child_medium_light_skin_tone:"],category:"people"},":child_tone3:":{uc_base:"1f9d2-1f3fd",uc_output:"1f9d2-1f3fd",uc_match:"1f9d2-1f3fd",uc_greedy:"1f9d2-1f3fd",shortnames:[":child_medium_skin_tone:"],category:"people"},":child_tone4:":{uc_base:"1f9d2-1f3fe",uc_output:"1f9d2-1f3fe",uc_match:"1f9d2-1f3fe",uc_greedy:"1f9d2-1f3fe",shortnames:[":child_medium_dark_skin_tone:"],category:"people"},":child_tone5:":{uc_base:"1f9d2-1f3ff",uc_output:"1f9d2-1f3ff",uc_match:"1f9d2-1f3ff",uc_greedy:"1f9d2-1f3ff",shortnames:[":child_dark_skin_tone:"],category:"people"},":clap_tone1:":{uc_base:"1f44f-1f3fb",uc_output:"1f44f-1f3fb",uc_match:"1f44f-1f3fb",uc_greedy:"1f44f-1f3fb",shortnames:[],category:"people"},":clap_tone2:":{uc_base:"1f44f-1f3fc",uc_output:"1f44f-1f3fc",uc_match:"1f44f-1f3fc",uc_greedy:"1f44f-1f3fc",shortnames:[],category:"people"},":clap_tone3:":{uc_base:"1f44f-1f3fd",uc_output:"1f44f-1f3fd",uc_match:"1f44f-1f3fd",uc_greedy:"1f44f-1f3fd",shortnames:[],category:"people"},":clap_tone4:":{uc_base:"1f44f-1f3fe",uc_output:"1f44f-1f3fe",uc_match:"1f44f-1f3fe",uc_greedy:"1f44f-1f3fe",shortnames:[],category:"people"},":clap_tone5:":{uc_base:"1f44f-1f3ff",uc_output:"1f44f-1f3ff",uc_match:"1f44f-1f3ff",uc_greedy:"1f44f-1f3ff",shortnames:[],category:"people"},":construction_worker_tone1:":{uc_base:"1f477-1f3fb",uc_output:"1f477-1f3fb",uc_match:"1f477-1f3fb",uc_greedy:"1f477-1f3fb",shortnames:[],category:"people"},":construction_worker_tone2:":{uc_base:"1f477-1f3fc",uc_output:"1f477-1f3fc",uc_match:"1f477-1f3fc",uc_greedy:"1f477-1f3fc",shortnames:[],category:"people"},":construction_worker_tone3:":{uc_base:"1f477-1f3fd",uc_output:"1f477-1f3fd",uc_match:"1f477-1f3fd",uc_greedy:"1f477-1f3fd",shortnames:[],category:"people"},":construction_worker_tone4:":{uc_base:"1f477-1f3fe",uc_output:"1f477-1f3fe",uc_match:"1f477-1f3fe",uc_greedy:"1f477-1f3fe",shortnames:[],category:"people"},":construction_worker_tone5:":{uc_base:"1f477-1f3ff",uc_output:"1f477-1f3ff",uc_match:"1f477-1f3ff",uc_greedy:"1f477-1f3ff",shortnames:[],category:"people"},":dancer_tone1:":{uc_base:"1f483-1f3fb",uc_output:"1f483-1f3fb",uc_match:"1f483-1f3fb",uc_greedy:"1f483-1f3fb",shortnames:[],category:"people"},":dancer_tone2:":{uc_base:"1f483-1f3fc",uc_output:"1f483-1f3fc",uc_match:"1f483-1f3fc",uc_greedy:"1f483-1f3fc",shortnames:[],category:"people"},":dancer_tone3:":{uc_base:"1f483-1f3fd",uc_output:"1f483-1f3fd",uc_match:"1f483-1f3fd",uc_greedy:"1f483-1f3fd",shortnames:[],category:"people"},":dancer_tone4:":{uc_base:"1f483-1f3fe",uc_output:"1f483-1f3fe",uc_match:"1f483-1f3fe",uc_greedy:"1f483-1f3fe",shortnames:[],category:"people"},":dancer_tone5:":{uc_base:"1f483-1f3ff",uc_output:"1f483-1f3ff",uc_match:"1f483-1f3ff",uc_greedy:"1f483-1f3ff",shortnames:[],category:"people"},":detective_tone1:":{uc_base:"1f575-1f3fb",uc_output:"1f575-1f3fb",uc_match:"1f575-fe0f-1f3fb",uc_greedy:"1f575-fe0f-1f3fb",shortnames:[":spy_tone1:",":sleuth_or_spy_tone1:"],category:"people"},":detective_tone2:":{uc_base:"1f575-1f3fc",uc_output:"1f575-1f3fc",uc_match:"1f575-fe0f-1f3fc",uc_greedy:"1f575-fe0f-1f3fc",shortnames:[":spy_tone2:",":sleuth_or_spy_tone2:"],category:"people"},":detective_tone3:":{uc_base:"1f575-1f3fd",uc_output:"1f575-1f3fd",uc_match:"1f575-fe0f-1f3fd",uc_greedy:"1f575-fe0f-1f3fd",shortnames:[":spy_tone3:",":sleuth_or_spy_tone3:"],category:"people"},":detective_tone4:":{uc_base:"1f575-1f3fe",uc_output:"1f575-1f3fe",uc_match:"1f575-fe0f-1f3fe",uc_greedy:"1f575-fe0f-1f3fe",shortnames:[":spy_tone4:",":sleuth_or_spy_tone4:"],category:"people"},":detective_tone5:":{uc_base:"1f575-1f3ff",uc_output:"1f575-1f3ff",uc_match:"1f575-fe0f-1f3ff",uc_greedy:"1f575-fe0f-1f3ff",shortnames:[":spy_tone5:",":sleuth_or_spy_tone5:"],category:"people"},":ear_tone1:":{uc_base:"1f442-1f3fb",uc_output:"1f442-1f3fb",uc_match:"1f442-1f3fb",uc_greedy:"1f442-1f3fb",shortnames:[],category:"people"},":ear_tone2:":{uc_base:"1f442-1f3fc",uc_output:"1f442-1f3fc",uc_match:"1f442-1f3fc",uc_greedy:"1f442-1f3fc",shortnames:[],category:"people"},":ear_tone3:":{uc_base:"1f442-1f3fd",uc_output:"1f442-1f3fd",uc_match:"1f442-1f3fd",uc_greedy:"1f442-1f3fd",shortnames:[],category:"people"},":ear_tone4:":{uc_base:"1f442-1f3fe",uc_output:"1f442-1f3fe",uc_match:"1f442-1f3fe",uc_greedy:"1f442-1f3fe",shortnames:[],category:"people"},":ear_tone5:":{uc_base:"1f442-1f3ff",uc_output:"1f442-1f3ff",uc_match:"1f442-1f3ff",uc_greedy:"1f442-1f3ff",shortnames:[],category:"people"},":elf_tone1:":{uc_base:"1f9dd-1f3fb",uc_output:"1f9dd-1f3fb",uc_match:"1f9dd-1f3fb",uc_greedy:"1f9dd-1f3fb",shortnames:[":elf_light_skin_tone:"],category:"people"},":elf_tone2:":{uc_base:"1f9dd-1f3fc",uc_output:"1f9dd-1f3fc",uc_match:"1f9dd-1f3fc",uc_greedy:"1f9dd-1f3fc",shortnames:[":elf_medium_light_skin_tone:"],category:"people"},":elf_tone3:":{uc_base:"1f9dd-1f3fd",uc_output:"1f9dd-1f3fd",uc_match:"1f9dd-1f3fd",uc_greedy:"1f9dd-1f3fd",shortnames:[":elf_medium_skin_tone:"],category:"people"},":elf_tone4:":{uc_base:"1f9dd-1f3fe",uc_output:"1f9dd-1f3fe",uc_match:"1f9dd-1f3fe",uc_greedy:"1f9dd-1f3fe",shortnames:[":elf_medium_dark_skin_tone:"],category:"people"},":elf_tone5:":{uc_base:"1f9dd-1f3ff",uc_output:"1f9dd-1f3ff",uc_match:"1f9dd-1f3ff",uc_greedy:"1f9dd-1f3ff",shortnames:[":elf_dark_skin_tone:"],category:"people"},":fairy_tone1:":{uc_base:"1f9da-1f3fb",uc_output:"1f9da-1f3fb",uc_match:"1f9da-1f3fb",uc_greedy:"1f9da-1f3fb",shortnames:[":fairy_light_skin_tone:"],category:"people"},":fairy_tone2:":{uc_base:"1f9da-1f3fc",uc_output:"1f9da-1f3fc",uc_match:"1f9da-1f3fc",uc_greedy:"1f9da-1f3fc",shortnames:[":fairy_medium_light_skin_tone:"],category:"people"},":fairy_tone3:":{uc_base:"1f9da-1f3fd",uc_output:"1f9da-1f3fd",uc_match:"1f9da-1f3fd",uc_greedy:"1f9da-1f3fd",shortnames:[":fairy_medium_skin_tone:"],category:"people"},":fairy_tone4:":{uc_base:"1f9da-1f3fe",uc_output:"1f9da-1f3fe",uc_match:"1f9da-1f3fe",uc_greedy:"1f9da-1f3fe",shortnames:[":fairy_medium_dark_skin_tone:"],category:"people"},":fairy_tone5:":{uc_base:"1f9da-1f3ff",uc_output:"1f9da-1f3ff",uc_match:"1f9da-1f3ff",uc_greedy:"1f9da-1f3ff",shortnames:[":fairy_dark_skin_tone:"],category:"people"},":fingers_crossed_tone1:":{uc_base:"1f91e-1f3fb",uc_output:"1f91e-1f3fb",uc_match:"1f91e-1f3fb",uc_greedy:"1f91e-1f3fb",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone1:"],category:"people"},":fingers_crossed_tone2:":{uc_base:"1f91e-1f3fc",uc_output:"1f91e-1f3fc",uc_match:"1f91e-1f3fc",uc_greedy:"1f91e-1f3fc",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone2:"],category:"people"},":fingers_crossed_tone3:":{uc_base:"1f91e-1f3fd",uc_output:"1f91e-1f3fd",uc_match:"1f91e-1f3fd",uc_greedy:"1f91e-1f3fd",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone3:"],category:"people"},":fingers_crossed_tone4:":{uc_base:"1f91e-1f3fe",uc_output:"1f91e-1f3fe",uc_match:"1f91e-1f3fe",uc_greedy:"1f91e-1f3fe",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone4:"],category:"people"},":fingers_crossed_tone5:":{uc_base:"1f91e-1f3ff",uc_output:"1f91e-1f3ff",uc_match:"1f91e-1f3ff",uc_greedy:"1f91e-1f3ff",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone5:"],category:"people"},":flag_ac:":{uc_base:"1f1e6-1f1e8",uc_output:"1f1e6-1f1e8",uc_match:"1f1e6-1f1e8",uc_greedy:"1f1e6-1f1e8",shortnames:[":ac:"],category:"flags"},":flag_ad:":{uc_base:"1f1e6-1f1e9",uc_output:"1f1e6-1f1e9",uc_match:"1f1e6-1f1e9",uc_greedy:"1f1e6-1f1e9",shortnames:[":ad:"],category:"flags"},":flag_ae:":{uc_base:"1f1e6-1f1ea",uc_output:"1f1e6-1f1ea",uc_match:"1f1e6-1f1ea",uc_greedy:"1f1e6-1f1ea",shortnames:[":ae:"],category:"flags"},":flag_af:":{uc_base:"1f1e6-1f1eb",uc_output:"1f1e6-1f1eb",uc_match:"1f1e6-1f1eb",uc_greedy:"1f1e6-1f1eb",shortnames:[":af:"],category:"flags"},":flag_ag:":{uc_base:"1f1e6-1f1ec",uc_output:"1f1e6-1f1ec",uc_match:"1f1e6-1f1ec",uc_greedy:"1f1e6-1f1ec",shortnames:[":ag:"],category:"flags"},":flag_ai:":{uc_base:"1f1e6-1f1ee",uc_output:"1f1e6-1f1ee",uc_match:"1f1e6-1f1ee",uc_greedy:"1f1e6-1f1ee",shortnames:[":ai:"],category:"flags"},":flag_al:":{uc_base:"1f1e6-1f1f1",uc_output:"1f1e6-1f1f1",uc_match:"1f1e6-1f1f1",uc_greedy:"1f1e6-1f1f1",shortnames:[":al:"],category:"flags"},":flag_am:":{uc_base:"1f1e6-1f1f2",uc_output:"1f1e6-1f1f2",uc_match:"1f1e6-1f1f2",uc_greedy:"1f1e6-1f1f2",shortnames:[":am:"],category:"flags"},":flag_ao:":{uc_base:"1f1e6-1f1f4",uc_output:"1f1e6-1f1f4",uc_match:"1f1e6-1f1f4",uc_greedy:"1f1e6-1f1f4",shortnames:[":ao:"],category:"flags"},":flag_aq:":{uc_base:"1f1e6-1f1f6",uc_output:"1f1e6-1f1f6",uc_match:"1f1e6-1f1f6",uc_greedy:"1f1e6-1f1f6",shortnames:[":aq:"],category:"flags"},":flag_ar:":{uc_base:"1f1e6-1f1f7",uc_output:"1f1e6-1f1f7",uc_match:"1f1e6-1f1f7",uc_greedy:"1f1e6-1f1f7",shortnames:[":ar:"],category:"flags"},":flag_as:":{uc_base:"1f1e6-1f1f8",uc_output:"1f1e6-1f1f8",uc_match:"1f1e6-1f1f8",uc_greedy:"1f1e6-1f1f8",shortnames:[":as:"],category:"flags"},":flag_at:":{uc_base:"1f1e6-1f1f9",uc_output:"1f1e6-1f1f9",uc_match:"1f1e6-1f1f9",uc_greedy:"1f1e6-1f1f9",shortnames:[":at:"],category:"flags"},":flag_au:":{uc_base:"1f1e6-1f1fa",uc_output:"1f1e6-1f1fa",uc_match:"1f1e6-1f1fa",uc_greedy:"1f1e6-1f1fa",shortnames:[":au:"],category:"flags"},":flag_aw:":{uc_base:"1f1e6-1f1fc",uc_output:"1f1e6-1f1fc",uc_match:"1f1e6-1f1fc",uc_greedy:"1f1e6-1f1fc",shortnames:[":aw:"],category:"flags"},":flag_ax:":{uc_base:"1f1e6-1f1fd",uc_output:"1f1e6-1f1fd",uc_match:"1f1e6-1f1fd",uc_greedy:"1f1e6-1f1fd",shortnames:[":ax:"],category:"flags"},":flag_az:":{uc_base:"1f1e6-1f1ff",uc_output:"1f1e6-1f1ff",uc_match:"1f1e6-1f1ff",uc_greedy:"1f1e6-1f1ff",shortnames:[":az:"],category:"flags"},":flag_ba:":{uc_base:"1f1e7-1f1e6",uc_output:"1f1e7-1f1e6",uc_match:"1f1e7-1f1e6",uc_greedy:"1f1e7-1f1e6",shortnames:[":ba:"],category:"flags"},":flag_bb:":{uc_base:"1f1e7-1f1e7",uc_output:"1f1e7-1f1e7",uc_match:"1f1e7-1f1e7",uc_greedy:"1f1e7-1f1e7",shortnames:[":bb:"],category:"flags"},":flag_bd:":{uc_base:"1f1e7-1f1e9",uc_output:"1f1e7-1f1e9",uc_match:"1f1e7-1f1e9",uc_greedy:"1f1e7-1f1e9",shortnames:[":bd:"],category:"flags"},":flag_be:":{uc_base:"1f1e7-1f1ea",uc_output:"1f1e7-1f1ea",uc_match:"1f1e7-1f1ea",uc_greedy:"1f1e7-1f1ea",shortnames:[":be:"],category:"flags"},":flag_bf:":{uc_base:"1f1e7-1f1eb",uc_output:"1f1e7-1f1eb",uc_match:"1f1e7-1f1eb",uc_greedy:"1f1e7-1f1eb",shortnames:[":bf:"],category:"flags"},":flag_bg:":{uc_base:"1f1e7-1f1ec",uc_output:"1f1e7-1f1ec",uc_match:"1f1e7-1f1ec",uc_greedy:"1f1e7-1f1ec",shortnames:[":bg:"],category:"flags"},":flag_bh:":{uc_base:"1f1e7-1f1ed",uc_output:"1f1e7-1f1ed",uc_match:"1f1e7-1f1ed",uc_greedy:"1f1e7-1f1ed",shortnames:[":bh:"],category:"flags"},":flag_bi:":{uc_base:"1f1e7-1f1ee",uc_output:"1f1e7-1f1ee",uc_match:"1f1e7-1f1ee",uc_greedy:"1f1e7-1f1ee",shortnames:[":bi:"],category:"flags"},":flag_bj:":{uc_base:"1f1e7-1f1ef",uc_output:"1f1e7-1f1ef",uc_match:"1f1e7-1f1ef",uc_greedy:"1f1e7-1f1ef",shortnames:[":bj:"],category:"flags"},":flag_bl:":{uc_base:"1f1e7-1f1f1",uc_output:"1f1e7-1f1f1",uc_match:"1f1e7-1f1f1",uc_greedy:"1f1e7-1f1f1",shortnames:[":bl:"],category:"flags"},":flag_bm:":{uc_base:"1f1e7-1f1f2",uc_output:"1f1e7-1f1f2",uc_match:"1f1e7-1f1f2",uc_greedy:"1f1e7-1f1f2",shortnames:[":bm:"],category:"flags"},":flag_bn:":{uc_base:"1f1e7-1f1f3",uc_output:"1f1e7-1f1f3",uc_match:"1f1e7-1f1f3",uc_greedy:"1f1e7-1f1f3",shortnames:[":bn:"],category:"flags"},":flag_bo:":{uc_base:"1f1e7-1f1f4",uc_output:"1f1e7-1f1f4",uc_match:"1f1e7-1f1f4",uc_greedy:"1f1e7-1f1f4",shortnames:[":bo:"],category:"flags"},":flag_bq:":{uc_base:"1f1e7-1f1f6",uc_output:"1f1e7-1f1f6",uc_match:"1f1e7-1f1f6",uc_greedy:"1f1e7-1f1f6",shortnames:[":bq:"],category:"flags"},":flag_br:":{uc_base:"1f1e7-1f1f7",uc_output:"1f1e7-1f1f7",uc_match:"1f1e7-1f1f7",uc_greedy:"1f1e7-1f1f7",shortnames:[":br:"],category:"flags"},":flag_bs:":{uc_base:"1f1e7-1f1f8",uc_output:"1f1e7-1f1f8",uc_match:"1f1e7-1f1f8",uc_greedy:"1f1e7-1f1f8",shortnames:[":bs:"],category:"flags"},":flag_bt:":{uc_base:"1f1e7-1f1f9",uc_output:"1f1e7-1f1f9",uc_match:"1f1e7-1f1f9",uc_greedy:"1f1e7-1f1f9",shortnames:[":bt:"],category:"flags"},":flag_bv:":{uc_base:"1f1e7-1f1fb",uc_output:"1f1e7-1f1fb",uc_match:"1f1e7-1f1fb",uc_greedy:"1f1e7-1f1fb",shortnames:[":bv:"],category:"flags"},":flag_bw:":{uc_base:"1f1e7-1f1fc",uc_output:"1f1e7-1f1fc",uc_match:"1f1e7-1f1fc",uc_greedy:"1f1e7-1f1fc",shortnames:[":bw:"],category:"flags"},":flag_by:":{uc_base:"1f1e7-1f1fe",uc_output:"1f1e7-1f1fe",uc_match:"1f1e7-1f1fe",uc_greedy:"1f1e7-1f1fe",shortnames:[":by:"],category:"flags"},":flag_bz:":{uc_base:"1f1e7-1f1ff",uc_output:"1f1e7-1f1ff",uc_match:"1f1e7-1f1ff",uc_greedy:"1f1e7-1f1ff",shortnames:[":bz:"],category:"flags"},":flag_ca:":{uc_base:"1f1e8-1f1e6",uc_output:"1f1e8-1f1e6",uc_match:"1f1e8-1f1e6",uc_greedy:"1f1e8-1f1e6",shortnames:[":ca:"],category:"flags"},":flag_cc:":{uc_base:"1f1e8-1f1e8",uc_output:"1f1e8-1f1e8",uc_match:"1f1e8-1f1e8",uc_greedy:"1f1e8-1f1e8",shortnames:[":cc:"],category:"flags"},":flag_cd:":{uc_base:"1f1e8-1f1e9",uc_output:"1f1e8-1f1e9",uc_match:"1f1e8-1f1e9",uc_greedy:"1f1e8-1f1e9",shortnames:[":congo:"],category:"flags"},":flag_cf:":{uc_base:"1f1e8-1f1eb",uc_output:"1f1e8-1f1eb",uc_match:"1f1e8-1f1eb",uc_greedy:"1f1e8-1f1eb",shortnames:[":cf:"],category:"flags"},":flag_cg:":{uc_base:"1f1e8-1f1ec",uc_output:"1f1e8-1f1ec",uc_match:"1f1e8-1f1ec",uc_greedy:"1f1e8-1f1ec",shortnames:[":cg:"],category:"flags"},":flag_ch:":{uc_base:"1f1e8-1f1ed",uc_output:"1f1e8-1f1ed",uc_match:"1f1e8-1f1ed",uc_greedy:"1f1e8-1f1ed",shortnames:[":ch:"],category:"flags"},":flag_ci:":{uc_base:"1f1e8-1f1ee",uc_output:"1f1e8-1f1ee",uc_match:"1f1e8-1f1ee",uc_greedy:"1f1e8-1f1ee",shortnames:[":ci:"],category:"flags"},":flag_ck:":{uc_base:"1f1e8-1f1f0",uc_output:"1f1e8-1f1f0",uc_match:"1f1e8-1f1f0",uc_greedy:"1f1e8-1f1f0",shortnames:[":ck:"],category:"flags"},":flag_cl:":{uc_base:"1f1e8-1f1f1",uc_output:"1f1e8-1f1f1",uc_match:"1f1e8-1f1f1",uc_greedy:"1f1e8-1f1f1",shortnames:[":chile:"],category:"flags"},":flag_cm:":{uc_base:"1f1e8-1f1f2",uc_output:"1f1e8-1f1f2",uc_match:"1f1e8-1f1f2",uc_greedy:"1f1e8-1f1f2",shortnames:[":cm:"],category:"flags"},":flag_cn:":{uc_base:"1f1e8-1f1f3",uc_output:"1f1e8-1f1f3",uc_match:"1f1e8-1f1f3",uc_greedy:"1f1e8-1f1f3",shortnames:[":cn:"],category:"flags"},":flag_co:":{uc_base:"1f1e8-1f1f4",uc_output:"1f1e8-1f1f4",uc_match:"1f1e8-1f1f4",uc_greedy:"1f1e8-1f1f4",shortnames:[":co:"],category:"flags"},":flag_cp:":{uc_base:"1f1e8-1f1f5",uc_output:"1f1e8-1f1f5",uc_match:"1f1e8-1f1f5",uc_greedy:"1f1e8-1f1f5",shortnames:[":cp:"],category:"flags"},":flag_cr:":{uc_base:"1f1e8-1f1f7",uc_output:"1f1e8-1f1f7",uc_match:"1f1e8-1f1f7",uc_greedy:"1f1e8-1f1f7",shortnames:[":cr:"],category:"flags"},":flag_cu:":{uc_base:"1f1e8-1f1fa",uc_output:"1f1e8-1f1fa",uc_match:"1f1e8-1f1fa",uc_greedy:"1f1e8-1f1fa",shortnames:[":cu:"],category:"flags"},":flag_cv:":{uc_base:"1f1e8-1f1fb",uc_output:"1f1e8-1f1fb",uc_match:"1f1e8-1f1fb",uc_greedy:"1f1e8-1f1fb",shortnames:[":cv:"],category:"flags"},":flag_cw:":{uc_base:"1f1e8-1f1fc",uc_output:"1f1e8-1f1fc",uc_match:"1f1e8-1f1fc",uc_greedy:"1f1e8-1f1fc",shortnames:[":cw:"],category:"flags"},":flag_cx:":{uc_base:"1f1e8-1f1fd",uc_output:"1f1e8-1f1fd",uc_match:"1f1e8-1f1fd",uc_greedy:"1f1e8-1f1fd",shortnames:[":cx:"],category:"flags"},":flag_cy:":{uc_base:"1f1e8-1f1fe",uc_output:"1f1e8-1f1fe",uc_match:"1f1e8-1f1fe",uc_greedy:"1f1e8-1f1fe",shortnames:[":cy:"],category:"flags"},":flag_cz:":{uc_base:"1f1e8-1f1ff",uc_output:"1f1e8-1f1ff",uc_match:"1f1e8-1f1ff",uc_greedy:"1f1e8-1f1ff",shortnames:[":cz:"],category:"flags"},":flag_de:":{uc_base:"1f1e9-1f1ea",uc_output:"1f1e9-1f1ea",uc_match:"1f1e9-1f1ea",uc_greedy:"1f1e9-1f1ea",shortnames:[":de:"],category:"flags"},":flag_dg:":{uc_base:"1f1e9-1f1ec",uc_output:"1f1e9-1f1ec",uc_match:"1f1e9-1f1ec",uc_greedy:"1f1e9-1f1ec",shortnames:[":dg:"],category:"flags"},":flag_dj:":{uc_base:"1f1e9-1f1ef",uc_output:"1f1e9-1f1ef",uc_match:"1f1e9-1f1ef",uc_greedy:"1f1e9-1f1ef",shortnames:[":dj:"],category:"flags"},":flag_dk:":{uc_base:"1f1e9-1f1f0",uc_output:"1f1e9-1f1f0",uc_match:"1f1e9-1f1f0",uc_greedy:"1f1e9-1f1f0",shortnames:[":dk:"],category:"flags"},":flag_dm:":{uc_base:"1f1e9-1f1f2",uc_output:"1f1e9-1f1f2",uc_match:"1f1e9-1f1f2",uc_greedy:"1f1e9-1f1f2",shortnames:[":dm:"],category:"flags"},":flag_do:":{uc_base:"1f1e9-1f1f4",uc_output:"1f1e9-1f1f4",uc_match:"1f1e9-1f1f4",uc_greedy:"1f1e9-1f1f4",shortnames:[":do:"],category:"flags"},":flag_dz:":{uc_base:"1f1e9-1f1ff",uc_output:"1f1e9-1f1ff",uc_match:"1f1e9-1f1ff",uc_greedy:"1f1e9-1f1ff",shortnames:[":dz:"],category:"flags"},":flag_ea:":{uc_base:"1f1ea-1f1e6",uc_output:"1f1ea-1f1e6",uc_match:"1f1ea-1f1e6",uc_greedy:"1f1ea-1f1e6",shortnames:[":ea:"],category:"flags"},":flag_ec:":{uc_base:"1f1ea-1f1e8",uc_output:"1f1ea-1f1e8",uc_match:"1f1ea-1f1e8",uc_greedy:"1f1ea-1f1e8",shortnames:[":ec:"],category:"flags"},":flag_ee:":{uc_base:"1f1ea-1f1ea",uc_output:"1f1ea-1f1ea",uc_match:"1f1ea-1f1ea",uc_greedy:"1f1ea-1f1ea",shortnames:[":ee:"],category:"flags"},":flag_eg:":{uc_base:"1f1ea-1f1ec",uc_output:"1f1ea-1f1ec",uc_match:"1f1ea-1f1ec",uc_greedy:"1f1ea-1f1ec",shortnames:[":eg:"],category:"flags"},":flag_eh:":{uc_base:"1f1ea-1f1ed",uc_output:"1f1ea-1f1ed",uc_match:"1f1ea-1f1ed",uc_greedy:"1f1ea-1f1ed",shortnames:[":eh:"],category:"flags"},":flag_er:":{uc_base:"1f1ea-1f1f7",uc_output:"1f1ea-1f1f7",uc_match:"1f1ea-1f1f7",uc_greedy:"1f1ea-1f1f7",shortnames:[":er:"],category:"flags"},":flag_es:":{uc_base:"1f1ea-1f1f8",uc_output:"1f1ea-1f1f8",uc_match:"1f1ea-1f1f8",uc_greedy:"1f1ea-1f1f8",shortnames:[":es:"],category:"flags"},":flag_et:":{uc_base:"1f1ea-1f1f9",uc_output:"1f1ea-1f1f9",uc_match:"1f1ea-1f1f9",uc_greedy:"1f1ea-1f1f9",shortnames:[":et:"],category:"flags"},":flag_eu:":{uc_base:"1f1ea-1f1fa",uc_output:"1f1ea-1f1fa",uc_match:"1f1ea-1f1fa",uc_greedy:"1f1ea-1f1fa",shortnames:[":eu:"],category:"flags"},":flag_fi:":{uc_base:"1f1eb-1f1ee",uc_output:"1f1eb-1f1ee",uc_match:"1f1eb-1f1ee",uc_greedy:"1f1eb-1f1ee",shortnames:[":fi:"],category:"flags"},":flag_fj:":{uc_base:"1f1eb-1f1ef",uc_output:"1f1eb-1f1ef",uc_match:"1f1eb-1f1ef",uc_greedy:"1f1eb-1f1ef",shortnames:[":fj:"],category:"flags"},":flag_fk:":{uc_base:"1f1eb-1f1f0",uc_output:"1f1eb-1f1f0",uc_match:"1f1eb-1f1f0",uc_greedy:"1f1eb-1f1f0",shortnames:[":fk:"],category:"flags"},":flag_fm:":{uc_base:"1f1eb-1f1f2",uc_output:"1f1eb-1f1f2",uc_match:"1f1eb-1f1f2",uc_greedy:"1f1eb-1f1f2",shortnames:[":fm:"],category:"flags"},":flag_fo:":{uc_base:"1f1eb-1f1f4",uc_output:"1f1eb-1f1f4",uc_match:"1f1eb-1f1f4",uc_greedy:"1f1eb-1f1f4",shortnames:[":fo:"],category:"flags"},":flag_fr:":{uc_base:"1f1eb-1f1f7",uc_output:"1f1eb-1f1f7",uc_match:"1f1eb-1f1f7",uc_greedy:"1f1eb-1f1f7",shortnames:[":fr:"],category:"flags"},":flag_ga:":{uc_base:"1f1ec-1f1e6",uc_output:"1f1ec-1f1e6",uc_match:"1f1ec-1f1e6",uc_greedy:"1f1ec-1f1e6",shortnames:[":ga:"],category:"flags"},":flag_gb:":{uc_base:"1f1ec-1f1e7",uc_output:"1f1ec-1f1e7",uc_match:"1f1ec-1f1e7",uc_greedy:"1f1ec-1f1e7",shortnames:[":gb:"],category:"flags"},":flag_gd:":{uc_base:"1f1ec-1f1e9",uc_output:"1f1ec-1f1e9",uc_match:"1f1ec-1f1e9",uc_greedy:"1f1ec-1f1e9",shortnames:[":gd:"],category:"flags"},":flag_ge:":{uc_base:"1f1ec-1f1ea",uc_output:"1f1ec-1f1ea",uc_match:"1f1ec-1f1ea",uc_greedy:"1f1ec-1f1ea",shortnames:[":ge:"],category:"flags"},":flag_gf:":{uc_base:"1f1ec-1f1eb",uc_output:"1f1ec-1f1eb",uc_match:"1f1ec-1f1eb",uc_greedy:"1f1ec-1f1eb",shortnames:[":gf:"],category:"flags"},":flag_gg:":{uc_base:"1f1ec-1f1ec",uc_output:"1f1ec-1f1ec",uc_match:"1f1ec-1f1ec",uc_greedy:"1f1ec-1f1ec",shortnames:[":gg:"],category:"flags"},":flag_gh:":{uc_base:"1f1ec-1f1ed",uc_output:"1f1ec-1f1ed",uc_match:"1f1ec-1f1ed",uc_greedy:"1f1ec-1f1ed",shortnames:[":gh:"],category:"flags"},":flag_gi:":{uc_base:"1f1ec-1f1ee",uc_output:"1f1ec-1f1ee",uc_match:"1f1ec-1f1ee",uc_greedy:"1f1ec-1f1ee",shortnames:[":gi:"],category:"flags"},":flag_gl:":{uc_base:"1f1ec-1f1f1",uc_output:"1f1ec-1f1f1",uc_match:"1f1ec-1f1f1",uc_greedy:"1f1ec-1f1f1",shortnames:[":gl:"],category:"flags"},":flag_gm:":{uc_base:"1f1ec-1f1f2",uc_output:"1f1ec-1f1f2",uc_match:"1f1ec-1f1f2",uc_greedy:"1f1ec-1f1f2",shortnames:[":gm:"],category:"flags"},":flag_gn:":{uc_base:"1f1ec-1f1f3",uc_output:"1f1ec-1f1f3",uc_match:"1f1ec-1f1f3",uc_greedy:"1f1ec-1f1f3",shortnames:[":gn:"],category:"flags"},":flag_gp:":{uc_base:"1f1ec-1f1f5",uc_output:"1f1ec-1f1f5",uc_match:"1f1ec-1f1f5",uc_greedy:"1f1ec-1f1f5",shortnames:[":gp:"],category:"flags"},":flag_gq:":{uc_base:"1f1ec-1f1f6",uc_output:"1f1ec-1f1f6",uc_match:"1f1ec-1f1f6",uc_greedy:"1f1ec-1f1f6",shortnames:[":gq:"],category:"flags"},":flag_gr:":{uc_base:"1f1ec-1f1f7",uc_output:"1f1ec-1f1f7",uc_match:"1f1ec-1f1f7",uc_greedy:"1f1ec-1f1f7",shortnames:[":gr:"],category:"flags"},":flag_gs:":{uc_base:"1f1ec-1f1f8",uc_output:"1f1ec-1f1f8",uc_match:"1f1ec-1f1f8",uc_greedy:"1f1ec-1f1f8",shortnames:[":gs:"],category:"flags"},":flag_gt:":{uc_base:"1f1ec-1f1f9",uc_output:"1f1ec-1f1f9",uc_match:"1f1ec-1f1f9",uc_greedy:"1f1ec-1f1f9",shortnames:[":gt:"],category:"flags"},":flag_gu:":{uc_base:"1f1ec-1f1fa",uc_output:"1f1ec-1f1fa",uc_match:"1f1ec-1f1fa",uc_greedy:"1f1ec-1f1fa",shortnames:[":gu:"],category:"flags"},":flag_gw:":{uc_base:"1f1ec-1f1fc",uc_output:"1f1ec-1f1fc",uc_match:"1f1ec-1f1fc",uc_greedy:"1f1ec-1f1fc",shortnames:[":gw:"],category:"flags"},":flag_gy:":{uc_base:"1f1ec-1f1fe",uc_output:"1f1ec-1f1fe",uc_match:"1f1ec-1f1fe",uc_greedy:"1f1ec-1f1fe",shortnames:[":gy:"],category:"flags"},":flag_hk:":{uc_base:"1f1ed-1f1f0",uc_output:"1f1ed-1f1f0",uc_match:"1f1ed-1f1f0",uc_greedy:"1f1ed-1f1f0",shortnames:[":hk:"],category:"flags"},":flag_hm:":{uc_base:"1f1ed-1f1f2",uc_output:"1f1ed-1f1f2",uc_match:"1f1ed-1f1f2",uc_greedy:"1f1ed-1f1f2",shortnames:[":hm:"],category:"flags"},":flag_hn:":{uc_base:"1f1ed-1f1f3",uc_output:"1f1ed-1f1f3",uc_match:"1f1ed-1f1f3",uc_greedy:"1f1ed-1f1f3",shortnames:[":hn:"],category:"flags"},":flag_hr:":{uc_base:"1f1ed-1f1f7",uc_output:"1f1ed-1f1f7",uc_match:"1f1ed-1f1f7",uc_greedy:"1f1ed-1f1f7",shortnames:[":hr:"],category:"flags"},":flag_ht:":{uc_base:"1f1ed-1f1f9",uc_output:"1f1ed-1f1f9",uc_match:"1f1ed-1f1f9",uc_greedy:"1f1ed-1f1f9",shortnames:[":ht:"],category:"flags"},":flag_hu:":{uc_base:"1f1ed-1f1fa",uc_output:"1f1ed-1f1fa",uc_match:"1f1ed-1f1fa",uc_greedy:"1f1ed-1f1fa",shortnames:[":hu:"],category:"flags"},":flag_ic:":{uc_base:"1f1ee-1f1e8",uc_output:"1f1ee-1f1e8",uc_match:"1f1ee-1f1e8",uc_greedy:"1f1ee-1f1e8",shortnames:[":ic:"],category:"flags"},":flag_id:":{uc_base:"1f1ee-1f1e9",uc_output:"1f1ee-1f1e9",uc_match:"1f1ee-1f1e9",uc_greedy:"1f1ee-1f1e9",shortnames:[":indonesia:"],category:"flags"},":flag_ie:":{uc_base:"1f1ee-1f1ea",uc_output:"1f1ee-1f1ea",uc_match:"1f1ee-1f1ea",uc_greedy:"1f1ee-1f1ea",shortnames:[":ie:"],category:"flags"},":flag_il:":{uc_base:"1f1ee-1f1f1",uc_output:"1f1ee-1f1f1",uc_match:"1f1ee-1f1f1",uc_greedy:"1f1ee-1f1f1",shortnames:[":il:"],category:"flags"},":flag_im:":{uc_base:"1f1ee-1f1f2",uc_output:"1f1ee-1f1f2",uc_match:"1f1ee-1f1f2",uc_greedy:"1f1ee-1f1f2",shortnames:[":im:"],category:"flags"},":flag_in:":{uc_base:"1f1ee-1f1f3",uc_output:"1f1ee-1f1f3",uc_match:"1f1ee-1f1f3",uc_greedy:"1f1ee-1f1f3",shortnames:[":in:"],category:"flags"},":flag_io:":{uc_base:"1f1ee-1f1f4",uc_output:"1f1ee-1f1f4",uc_match:"1f1ee-1f1f4",uc_greedy:"1f1ee-1f1f4",shortnames:[":io:"],category:"flags"},":flag_iq:":{uc_base:"1f1ee-1f1f6",uc_output:"1f1ee-1f1f6",uc_match:"1f1ee-1f1f6",uc_greedy:"1f1ee-1f1f6",shortnames:[":iq:"],category:"flags"},":flag_ir:":{uc_base:"1f1ee-1f1f7",uc_output:"1f1ee-1f1f7",uc_match:"1f1ee-1f1f7",uc_greedy:"1f1ee-1f1f7",shortnames:[":ir:"],category:"flags"},":flag_is:":{uc_base:"1f1ee-1f1f8",uc_output:"1f1ee-1f1f8",uc_match:"1f1ee-1f1f8",uc_greedy:"1f1ee-1f1f8",shortnames:[":is:"],category:"flags"},":flag_it:":{uc_base:"1f1ee-1f1f9",uc_output:"1f1ee-1f1f9",uc_match:"1f1ee-1f1f9",uc_greedy:"1f1ee-1f1f9",shortnames:[":it:"],category:"flags"},":flag_je:":{uc_base:"1f1ef-1f1ea",uc_output:"1f1ef-1f1ea",uc_match:"1f1ef-1f1ea",uc_greedy:"1f1ef-1f1ea",shortnames:[":je:"],category:"flags"},":flag_jm:":{uc_base:"1f1ef-1f1f2",uc_output:"1f1ef-1f1f2",uc_match:"1f1ef-1f1f2",uc_greedy:"1f1ef-1f1f2",shortnames:[":jm:"],category:"flags"},":flag_jo:":{uc_base:"1f1ef-1f1f4",uc_output:"1f1ef-1f1f4",uc_match:"1f1ef-1f1f4",uc_greedy:"1f1ef-1f1f4",shortnames:[":jo:"],category:"flags"},":flag_jp:":{uc_base:"1f1ef-1f1f5",uc_output:"1f1ef-1f1f5",uc_match:"1f1ef-1f1f5",uc_greedy:"1f1ef-1f1f5",shortnames:[":jp:"],category:"flags"},":flag_ke:":{uc_base:"1f1f0-1f1ea",uc_output:"1f1f0-1f1ea",uc_match:"1f1f0-1f1ea",uc_greedy:"1f1f0-1f1ea",shortnames:[":ke:"],category:"flags"},":flag_kg:":{uc_base:"1f1f0-1f1ec",uc_output:"1f1f0-1f1ec",uc_match:"1f1f0-1f1ec",uc_greedy:"1f1f0-1f1ec",shortnames:[":kg:"],category:"flags"},":flag_kh:":{uc_base:"1f1f0-1f1ed",uc_output:"1f1f0-1f1ed",uc_match:"1f1f0-1f1ed",uc_greedy:"1f1f0-1f1ed",shortnames:[":kh:"],category:"flags"},":flag_ki:":{uc_base:"1f1f0-1f1ee",uc_output:"1f1f0-1f1ee",uc_match:"1f1f0-1f1ee",uc_greedy:"1f1f0-1f1ee",shortnames:[":ki:"],category:"flags"},":flag_km:":{uc_base:"1f1f0-1f1f2",uc_output:"1f1f0-1f1f2",uc_match:"1f1f0-1f1f2",uc_greedy:"1f1f0-1f1f2",shortnames:[":km:"],category:"flags"},":flag_kn:":{uc_base:"1f1f0-1f1f3",uc_output:"1f1f0-1f1f3",uc_match:"1f1f0-1f1f3",uc_greedy:"1f1f0-1f1f3",shortnames:[":kn:"],category:"flags"},":flag_kp:":{uc_base:"1f1f0-1f1f5",uc_output:"1f1f0-1f1f5",uc_match:"1f1f0-1f1f5",uc_greedy:"1f1f0-1f1f5",shortnames:[":kp:"],category:"flags"},":flag_kr:":{uc_base:"1f1f0-1f1f7",uc_output:"1f1f0-1f1f7",uc_match:"1f1f0-1f1f7",uc_greedy:"1f1f0-1f1f7",shortnames:[":kr:"],category:"flags"},":flag_kw:":{uc_base:"1f1f0-1f1fc",uc_output:"1f1f0-1f1fc",uc_match:"1f1f0-1f1fc",uc_greedy:"1f1f0-1f1fc",shortnames:[":kw:"],category:"flags"},":flag_ky:":{uc_base:"1f1f0-1f1fe",uc_output:"1f1f0-1f1fe",uc_match:"1f1f0-1f1fe",uc_greedy:"1f1f0-1f1fe",shortnames:[":ky:"],category:"flags"},":flag_kz:":{uc_base:"1f1f0-1f1ff",uc_output:"1f1f0-1f1ff",uc_match:"1f1f0-1f1ff",uc_greedy:"1f1f0-1f1ff",shortnames:[":kz:"],category:"flags"},":flag_la:":{uc_base:"1f1f1-1f1e6",uc_output:"1f1f1-1f1e6",uc_match:"1f1f1-1f1e6",uc_greedy:"1f1f1-1f1e6",shortnames:[":la:"],category:"flags"},":flag_lb:":{uc_base:"1f1f1-1f1e7",uc_output:"1f1f1-1f1e7",uc_match:"1f1f1-1f1e7",uc_greedy:"1f1f1-1f1e7",shortnames:[":lb:"],category:"flags"},":flag_lc:":{uc_base:"1f1f1-1f1e8",uc_output:"1f1f1-1f1e8",uc_match:"1f1f1-1f1e8",uc_greedy:"1f1f1-1f1e8",shortnames:[":lc:"],category:"flags"},":flag_li:":{uc_base:"1f1f1-1f1ee",uc_output:"1f1f1-1f1ee",uc_match:"1f1f1-1f1ee",uc_greedy:"1f1f1-1f1ee",shortnames:[":li:"],category:"flags"},":flag_lk:":{uc_base:"1f1f1-1f1f0",uc_output:"1f1f1-1f1f0",uc_match:"1f1f1-1f1f0",uc_greedy:"1f1f1-1f1f0",shortnames:[":lk:"],category:"flags"},":flag_lr:":{uc_base:"1f1f1-1f1f7",uc_output:"1f1f1-1f1f7",uc_match:"1f1f1-1f1f7",uc_greedy:"1f1f1-1f1f7",shortnames:[":lr:"],category:"flags"},":flag_ls:":{uc_base:"1f1f1-1f1f8",uc_output:"1f1f1-1f1f8",uc_match:"1f1f1-1f1f8",uc_greedy:"1f1f1-1f1f8",shortnames:[":ls:"],category:"flags"},":flag_lt:":{uc_base:"1f1f1-1f1f9",uc_output:"1f1f1-1f1f9",uc_match:"1f1f1-1f1f9",uc_greedy:"1f1f1-1f1f9",shortnames:[":lt:"],category:"flags"},":flag_lu:":{uc_base:"1f1f1-1f1fa",uc_output:"1f1f1-1f1fa",uc_match:"1f1f1-1f1fa",uc_greedy:"1f1f1-1f1fa",shortnames:[":lu:"],category:"flags"},":flag_lv:":{uc_base:"1f1f1-1f1fb",uc_output:"1f1f1-1f1fb",uc_match:"1f1f1-1f1fb",uc_greedy:"1f1f1-1f1fb",shortnames:[":lv:"],category:"flags"},":flag_ly:":{uc_base:"1f1f1-1f1fe",uc_output:"1f1f1-1f1fe",uc_match:"1f1f1-1f1fe",uc_greedy:"1f1f1-1f1fe",shortnames:[":ly:"],category:"flags"},":flag_ma:":{uc_base:"1f1f2-1f1e6",uc_output:"1f1f2-1f1e6",uc_match:"1f1f2-1f1e6",uc_greedy:"1f1f2-1f1e6",shortnames:[":ma:"],category:"flags"},":flag_mc:":{uc_base:"1f1f2-1f1e8",uc_output:"1f1f2-1f1e8",uc_match:"1f1f2-1f1e8",uc_greedy:"1f1f2-1f1e8",shortnames:[":mc:"],category:"flags"},":flag_md:":{uc_base:"1f1f2-1f1e9",uc_output:"1f1f2-1f1e9",uc_match:"1f1f2-1f1e9",uc_greedy:"1f1f2-1f1e9",shortnames:[":md:"],category:"flags"},":flag_me:":{uc_base:"1f1f2-1f1ea",uc_output:"1f1f2-1f1ea",uc_match:"1f1f2-1f1ea",uc_greedy:"1f1f2-1f1ea",shortnames:[":me:"],category:"flags"},":flag_mf:":{uc_base:"1f1f2-1f1eb",uc_output:"1f1f2-1f1eb",uc_match:"1f1f2-1f1eb",uc_greedy:"1f1f2-1f1eb",shortnames:[":mf:"],category:"flags"},":flag_mg:":{uc_base:"1f1f2-1f1ec",uc_output:"1f1f2-1f1ec",uc_match:"1f1f2-1f1ec",uc_greedy:"1f1f2-1f1ec",shortnames:[":mg:"],category:"flags"},":flag_mh:":{uc_base:"1f1f2-1f1ed",uc_output:"1f1f2-1f1ed",uc_match:"1f1f2-1f1ed",uc_greedy:"1f1f2-1f1ed",shortnames:[":mh:"],category:"flags"},":flag_mk:":{uc_base:"1f1f2-1f1f0",uc_output:"1f1f2-1f1f0",uc_match:"1f1f2-1f1f0",uc_greedy:"1f1f2-1f1f0",shortnames:[":mk:"],category:"flags"},":flag_ml:":{uc_base:"1f1f2-1f1f1",uc_output:"1f1f2-1f1f1",uc_match:"1f1f2-1f1f1",uc_greedy:"1f1f2-1f1f1",shortnames:[":ml:"],category:"flags"},":flag_mm:":{uc_base:"1f1f2-1f1f2",uc_output:"1f1f2-1f1f2",uc_match:"1f1f2-1f1f2",uc_greedy:"1f1f2-1f1f2",shortnames:[":mm:"],category:"flags"},":flag_mn:":{uc_base:"1f1f2-1f1f3",uc_output:"1f1f2-1f1f3",uc_match:"1f1f2-1f1f3",uc_greedy:"1f1f2-1f1f3",shortnames:[":mn:"],category:"flags"},":flag_mo:":{uc_base:"1f1f2-1f1f4",uc_output:"1f1f2-1f1f4",uc_match:"1f1f2-1f1f4",uc_greedy:"1f1f2-1f1f4",shortnames:[":mo:"],category:"flags"},":flag_mp:":{uc_base:"1f1f2-1f1f5",uc_output:"1f1f2-1f1f5",uc_match:"1f1f2-1f1f5",uc_greedy:"1f1f2-1f1f5",shortnames:[":mp:"],category:"flags"},":flag_mq:":{uc_base:"1f1f2-1f1f6",uc_output:"1f1f2-1f1f6",uc_match:"1f1f2-1f1f6",uc_greedy:"1f1f2-1f1f6",shortnames:[":mq:"],category:"flags"},":flag_mr:":{uc_base:"1f1f2-1f1f7",uc_output:"1f1f2-1f1f7",uc_match:"1f1f2-1f1f7",uc_greedy:"1f1f2-1f1f7",shortnames:[":mr:"],category:"flags"},":flag_ms:":{uc_base:"1f1f2-1f1f8",uc_output:"1f1f2-1f1f8",uc_match:"1f1f2-1f1f8",uc_greedy:"1f1f2-1f1f8",shortnames:[":ms:"],category:"flags"},":flag_mt:":{uc_base:"1f1f2-1f1f9",uc_output:"1f1f2-1f1f9",uc_match:"1f1f2-1f1f9",uc_greedy:"1f1f2-1f1f9",shortnames:[":mt:"],category:"flags"},":flag_mu:":{uc_base:"1f1f2-1f1fa",uc_output:"1f1f2-1f1fa",uc_match:"1f1f2-1f1fa",uc_greedy:"1f1f2-1f1fa",shortnames:[":mu:"],category:"flags"},":flag_mv:":{uc_base:"1f1f2-1f1fb",uc_output:"1f1f2-1f1fb",uc_match:"1f1f2-1f1fb",uc_greedy:"1f1f2-1f1fb",shortnames:[":mv:"],category:"flags"},":flag_mw:":{uc_base:"1f1f2-1f1fc",uc_output:"1f1f2-1f1fc",uc_match:"1f1f2-1f1fc",uc_greedy:"1f1f2-1f1fc",shortnames:[":mw:"],category:"flags"},":flag_mx:":{uc_base:"1f1f2-1f1fd",uc_output:"1f1f2-1f1fd",uc_match:"1f1f2-1f1fd",uc_greedy:"1f1f2-1f1fd",shortnames:[":mx:"],category:"flags"},":flag_my:":{uc_base:"1f1f2-1f1fe",uc_output:"1f1f2-1f1fe",uc_match:"1f1f2-1f1fe",uc_greedy:"1f1f2-1f1fe",shortnames:[":my:"],category:"flags"},":flag_mz:":{uc_base:"1f1f2-1f1ff",uc_output:"1f1f2-1f1ff",uc_match:"1f1f2-1f1ff",uc_greedy:"1f1f2-1f1ff",shortnames:[":mz:"],category:"flags"},":flag_na:":{uc_base:"1f1f3-1f1e6",uc_output:"1f1f3-1f1e6",uc_match:"1f1f3-1f1e6",uc_greedy:"1f1f3-1f1e6",shortnames:[":na:"],category:"flags"},":flag_nc:":{uc_base:"1f1f3-1f1e8",uc_output:"1f1f3-1f1e8",uc_match:"1f1f3-1f1e8",uc_greedy:"1f1f3-1f1e8",shortnames:[":nc:"],category:"flags"},":flag_ne:":{uc_base:"1f1f3-1f1ea",uc_output:"1f1f3-1f1ea",uc_match:"1f1f3-1f1ea",uc_greedy:"1f1f3-1f1ea",shortnames:[":ne:"],category:"flags"},":flag_nf:":{uc_base:"1f1f3-1f1eb",uc_output:"1f1f3-1f1eb",uc_match:"1f1f3-1f1eb",uc_greedy:"1f1f3-1f1eb",shortnames:[":nf:"],category:"flags"},":flag_ng:":{uc_base:"1f1f3-1f1ec",uc_output:"1f1f3-1f1ec",uc_match:"1f1f3-1f1ec",uc_greedy:"1f1f3-1f1ec",shortnames:[":nigeria:"],category:"flags"},":flag_ni:":{uc_base:"1f1f3-1f1ee",uc_output:"1f1f3-1f1ee",uc_match:"1f1f3-1f1ee",uc_greedy:"1f1f3-1f1ee",shortnames:[":ni:"],category:"flags"},":flag_nl:":{uc_base:"1f1f3-1f1f1",uc_output:"1f1f3-1f1f1",uc_match:"1f1f3-1f1f1",uc_greedy:"1f1f3-1f1f1",shortnames:[":nl:"],category:"flags"},":flag_no:":{uc_base:"1f1f3-1f1f4",uc_output:"1f1f3-1f1f4",uc_match:"1f1f3-1f1f4",uc_greedy:"1f1f3-1f1f4",shortnames:[":no:"],category:"flags"},":flag_np:":{uc_base:"1f1f3-1f1f5",uc_output:"1f1f3-1f1f5",uc_match:"1f1f3-1f1f5",uc_greedy:"1f1f3-1f1f5",shortnames:[":np:"],category:"flags"},":flag_nr:":{uc_base:"1f1f3-1f1f7",uc_output:"1f1f3-1f1f7",uc_match:"1f1f3-1f1f7",uc_greedy:"1f1f3-1f1f7",shortnames:[":nr:"],category:"flags"},":flag_nu:":{uc_base:"1f1f3-1f1fa",uc_output:"1f1f3-1f1fa",uc_match:"1f1f3-1f1fa",uc_greedy:"1f1f3-1f1fa",shortnames:[":nu:"],category:"flags"},":flag_nz:":{uc_base:"1f1f3-1f1ff",uc_output:"1f1f3-1f1ff",uc_match:"1f1f3-1f1ff",uc_greedy:"1f1f3-1f1ff",shortnames:[":nz:"],category:"flags"},":flag_om:":{uc_base:"1f1f4-1f1f2",uc_output:"1f1f4-1f1f2",uc_match:"1f1f4-1f1f2",uc_greedy:"1f1f4-1f1f2",shortnames:[":om:"],category:"flags"},":flag_pa:":{uc_base:"1f1f5-1f1e6",uc_output:"1f1f5-1f1e6",uc_match:"1f1f5-1f1e6",uc_greedy:"1f1f5-1f1e6",shortnames:[":pa:"],category:"flags"},":flag_pe:":{uc_base:"1f1f5-1f1ea",uc_output:"1f1f5-1f1ea",uc_match:"1f1f5-1f1ea",uc_greedy:"1f1f5-1f1ea",shortnames:[":pe:"],category:"flags"},":flag_pf:":{uc_base:"1f1f5-1f1eb",uc_output:"1f1f5-1f1eb",uc_match:"1f1f5-1f1eb",uc_greedy:"1f1f5-1f1eb",shortnames:[":pf:"],category:"flags"},":flag_pg:":{uc_base:"1f1f5-1f1ec",uc_output:"1f1f5-1f1ec",uc_match:"1f1f5-1f1ec",uc_greedy:"1f1f5-1f1ec",shortnames:[":pg:"],category:"flags"},":flag_ph:":{uc_base:"1f1f5-1f1ed",uc_output:"1f1f5-1f1ed",uc_match:"1f1f5-1f1ed",uc_greedy:"1f1f5-1f1ed",shortnames:[":ph:"],category:"flags"},":flag_pk:":{uc_base:"1f1f5-1f1f0",uc_output:"1f1f5-1f1f0",uc_match:"1f1f5-1f1f0",uc_greedy:"1f1f5-1f1f0",shortnames:[":pk:"],category:"flags"},":flag_pl:":{uc_base:"1f1f5-1f1f1",uc_output:"1f1f5-1f1f1",uc_match:"1f1f5-1f1f1",uc_greedy:"1f1f5-1f1f1",shortnames:[":pl:"],category:"flags"},":flag_pm:":{uc_base:"1f1f5-1f1f2",uc_output:"1f1f5-1f1f2",uc_match:"1f1f5-1f1f2",uc_greedy:"1f1f5-1f1f2",shortnames:[":pm:"],category:"flags"},":flag_pn:":{uc_base:"1f1f5-1f1f3",uc_output:"1f1f5-1f1f3",uc_match:"1f1f5-1f1f3",uc_greedy:"1f1f5-1f1f3",shortnames:[":pn:"],category:"flags"},":flag_pr:":{uc_base:"1f1f5-1f1f7",uc_output:"1f1f5-1f1f7",uc_match:"1f1f5-1f1f7",uc_greedy:"1f1f5-1f1f7",shortnames:[":pr:"],category:"flags"},":flag_ps:":{uc_base:"1f1f5-1f1f8",uc_output:"1f1f5-1f1f8",uc_match:"1f1f5-1f1f8",uc_greedy:"1f1f5-1f1f8",shortnames:[":ps:"],category:"flags"},":flag_pt:":{uc_base:"1f1f5-1f1f9",uc_output:"1f1f5-1f1f9",uc_match:"1f1f5-1f1f9",uc_greedy:"1f1f5-1f1f9",shortnames:[":pt:"],category:"flags"},":flag_pw:":{uc_base:"1f1f5-1f1fc",uc_output:"1f1f5-1f1fc",uc_match:"1f1f5-1f1fc",uc_greedy:"1f1f5-1f1fc",shortnames:[":pw:"],category:"flags"},":flag_py:":{uc_base:"1f1f5-1f1fe",uc_output:"1f1f5-1f1fe",uc_match:"1f1f5-1f1fe",uc_greedy:"1f1f5-1f1fe",shortnames:[":py:"],category:"flags"},":flag_qa:":{uc_base:"1f1f6-1f1e6",uc_output:"1f1f6-1f1e6",uc_match:"1f1f6-1f1e6",uc_greedy:"1f1f6-1f1e6",shortnames:[":qa:"],category:"flags"},":flag_re:":{uc_base:"1f1f7-1f1ea",uc_output:"1f1f7-1f1ea",uc_match:"1f1f7-1f1ea",uc_greedy:"1f1f7-1f1ea",shortnames:[":re:"],category:"flags"},":flag_ro:":{uc_base:"1f1f7-1f1f4",uc_output:"1f1f7-1f1f4",uc_match:"1f1f7-1f1f4",uc_greedy:"1f1f7-1f1f4",shortnames:[":ro:"],category:"flags"},":flag_rs:":{uc_base:"1f1f7-1f1f8",uc_output:"1f1f7-1f1f8",uc_match:"1f1f7-1f1f8",uc_greedy:"1f1f7-1f1f8",shortnames:[":rs:"],category:"flags"},":flag_ru:":{uc_base:"1f1f7-1f1fa",uc_output:"1f1f7-1f1fa",uc_match:"1f1f7-1f1fa",uc_greedy:"1f1f7-1f1fa",shortnames:[":ru:"],category:"flags"},":flag_rw:":{uc_base:"1f1f7-1f1fc",uc_output:"1f1f7-1f1fc",uc_match:"1f1f7-1f1fc",uc_greedy:"1f1f7-1f1fc",shortnames:[":rw:"],category:"flags"},":flag_sa:":{uc_base:"1f1f8-1f1e6",uc_output:"1f1f8-1f1e6",uc_match:"1f1f8-1f1e6",uc_greedy:"1f1f8-1f1e6",shortnames:[":saudiarabia:",":saudi:"],category:"flags"},":flag_sb:":{uc_base:"1f1f8-1f1e7",uc_output:"1f1f8-1f1e7",uc_match:"1f1f8-1f1e7",uc_greedy:"1f1f8-1f1e7",shortnames:[":sb:"],category:"flags"},":flag_sc:":{uc_base:"1f1f8-1f1e8",uc_output:"1f1f8-1f1e8",uc_match:"1f1f8-1f1e8",uc_greedy:"1f1f8-1f1e8",shortnames:[":sc:"],category:"flags"},":flag_sd:":{uc_base:"1f1f8-1f1e9",uc_output:"1f1f8-1f1e9",uc_match:"1f1f8-1f1e9",uc_greedy:"1f1f8-1f1e9",shortnames:[":sd:"],category:"flags"},":flag_se:":{uc_base:"1f1f8-1f1ea",uc_output:"1f1f8-1f1ea",uc_match:"1f1f8-1f1ea",uc_greedy:"1f1f8-1f1ea",shortnames:[":se:"],category:"flags"},":flag_sg:":{uc_base:"1f1f8-1f1ec",uc_output:"1f1f8-1f1ec",uc_match:"1f1f8-1f1ec",uc_greedy:"1f1f8-1f1ec",shortnames:[":sg:"],category:"flags"},":flag_sh:":{uc_base:"1f1f8-1f1ed",uc_output:"1f1f8-1f1ed",uc_match:"1f1f8-1f1ed",uc_greedy:"1f1f8-1f1ed",shortnames:[":sh:"],category:"flags"},":flag_si:":{uc_base:"1f1f8-1f1ee",uc_output:"1f1f8-1f1ee",uc_match:"1f1f8-1f1ee",uc_greedy:"1f1f8-1f1ee",shortnames:[":si:"],category:"flags"},":flag_sj:":{uc_base:"1f1f8-1f1ef",uc_output:"1f1f8-1f1ef",uc_match:"1f1f8-1f1ef",uc_greedy:"1f1f8-1f1ef",shortnames:[":sj:"],category:"flags"},":flag_sk:":{uc_base:"1f1f8-1f1f0",uc_output:"1f1f8-1f1f0",uc_match:"1f1f8-1f1f0",uc_greedy:"1f1f8-1f1f0",shortnames:[":sk:"],category:"flags"},":flag_sl:":{uc_base:"1f1f8-1f1f1",uc_output:"1f1f8-1f1f1",uc_match:"1f1f8-1f1f1",uc_greedy:"1f1f8-1f1f1",shortnames:[":sl:"],category:"flags"},":flag_sm:":{uc_base:"1f1f8-1f1f2",uc_output:"1f1f8-1f1f2",uc_match:"1f1f8-1f1f2",uc_greedy:"1f1f8-1f1f2",shortnames:[":sm:"],category:"flags"},":flag_sn:":{uc_base:"1f1f8-1f1f3",uc_output:"1f1f8-1f1f3",uc_match:"1f1f8-1f1f3",uc_greedy:"1f1f8-1f1f3",shortnames:[":sn:"],category:"flags"},":flag_so:":{uc_base:"1f1f8-1f1f4",uc_output:"1f1f8-1f1f4",uc_match:"1f1f8-1f1f4",uc_greedy:"1f1f8-1f1f4",shortnames:[":so:"],category:"flags"},":flag_sr:":{uc_base:"1f1f8-1f1f7",uc_output:"1f1f8-1f1f7",uc_match:"1f1f8-1f1f7",uc_greedy:"1f1f8-1f1f7",shortnames:[":sr:"],category:"flags"},":flag_ss:":{uc_base:"1f1f8-1f1f8",uc_output:"1f1f8-1f1f8",uc_match:"1f1f8-1f1f8",uc_greedy:"1f1f8-1f1f8",shortnames:[":ss:"],category:"flags"},":flag_st:":{uc_base:"1f1f8-1f1f9",uc_output:"1f1f8-1f1f9",uc_match:"1f1f8-1f1f9",uc_greedy:"1f1f8-1f1f9",shortnames:[":st:"],category:"flags"},":flag_sv:":{uc_base:"1f1f8-1f1fb",uc_output:"1f1f8-1f1fb",uc_match:"1f1f8-1f1fb",uc_greedy:"1f1f8-1f1fb",shortnames:[":sv:"],category:"flags"},":flag_sx:":{uc_base:"1f1f8-1f1fd",uc_output:"1f1f8-1f1fd",uc_match:"1f1f8-1f1fd",uc_greedy:"1f1f8-1f1fd",shortnames:[":sx:"],category:"flags"},":flag_sy:":{uc_base:"1f1f8-1f1fe",uc_output:"1f1f8-1f1fe",uc_match:"1f1f8-1f1fe",uc_greedy:"1f1f8-1f1fe",shortnames:[":sy:"],category:"flags"},":flag_sz:":{uc_base:"1f1f8-1f1ff",uc_output:"1f1f8-1f1ff",uc_match:"1f1f8-1f1ff",uc_greedy:"1f1f8-1f1ff",shortnames:[":sz:"],category:"flags"},":flag_ta:":{uc_base:"1f1f9-1f1e6",uc_output:"1f1f9-1f1e6",uc_match:"1f1f9-1f1e6",uc_greedy:"1f1f9-1f1e6",shortnames:[":ta:"],category:"flags"},":flag_tc:":{uc_base:"1f1f9-1f1e8",uc_output:"1f1f9-1f1e8",uc_match:"1f1f9-1f1e8",uc_greedy:"1f1f9-1f1e8",shortnames:[":tc:"],category:"flags"},":flag_td:":{uc_base:"1f1f9-1f1e9",uc_output:"1f1f9-1f1e9",uc_match:"1f1f9-1f1e9",uc_greedy:"1f1f9-1f1e9",shortnames:[":td:"],category:"flags"},":flag_tf:":{uc_base:"1f1f9-1f1eb",uc_output:"1f1f9-1f1eb",uc_match:"1f1f9-1f1eb",uc_greedy:"1f1f9-1f1eb",shortnames:[":tf:"],category:"flags"},":flag_tg:":{uc_base:"1f1f9-1f1ec",uc_output:"1f1f9-1f1ec",uc_match:"1f1f9-1f1ec",uc_greedy:"1f1f9-1f1ec",shortnames:[":tg:"],category:"flags"},":flag_th:":{uc_base:"1f1f9-1f1ed",uc_output:"1f1f9-1f1ed",uc_match:"1f1f9-1f1ed",uc_greedy:"1f1f9-1f1ed",shortnames:[":th:"],category:"flags"},":flag_tj:":{uc_base:"1f1f9-1f1ef",uc_output:"1f1f9-1f1ef",uc_match:"1f1f9-1f1ef",uc_greedy:"1f1f9-1f1ef",shortnames:[":tj:"],category:"flags"},":flag_tk:":{uc_base:"1f1f9-1f1f0",uc_output:"1f1f9-1f1f0",uc_match:"1f1f9-1f1f0",uc_greedy:"1f1f9-1f1f0",shortnames:[":tk:"],category:"flags"},":flag_tl:":{uc_base:"1f1f9-1f1f1",uc_output:"1f1f9-1f1f1",uc_match:"1f1f9-1f1f1",uc_greedy:"1f1f9-1f1f1",shortnames:[":tl:"],category:"flags"},":flag_tm:":{uc_base:"1f1f9-1f1f2",uc_output:"1f1f9-1f1f2",uc_match:"1f1f9-1f1f2",uc_greedy:"1f1f9-1f1f2",shortnames:[":turkmenistan:"],category:"flags"},":flag_tn:":{uc_base:"1f1f9-1f1f3",uc_output:"1f1f9-1f1f3",uc_match:"1f1f9-1f1f3",uc_greedy:"1f1f9-1f1f3",shortnames:[":tn:"],category:"flags"},":flag_to:":{uc_base:"1f1f9-1f1f4",uc_output:"1f1f9-1f1f4",uc_match:"1f1f9-1f1f4",uc_greedy:"1f1f9-1f1f4",shortnames:[":to:"],category:"flags"},":flag_tr:":{uc_base:"1f1f9-1f1f7",uc_output:"1f1f9-1f1f7",uc_match:"1f1f9-1f1f7",uc_greedy:"1f1f9-1f1f7",shortnames:[":tr:"],category:"flags"},":flag_tt:":{uc_base:"1f1f9-1f1f9",uc_output:"1f1f9-1f1f9",uc_match:"1f1f9-1f1f9",uc_greedy:"1f1f9-1f1f9",shortnames:[":tt:"],category:"flags"},":flag_tv:":{uc_base:"1f1f9-1f1fb",uc_output:"1f1f9-1f1fb",uc_match:"1f1f9-1f1fb",uc_greedy:"1f1f9-1f1fb",shortnames:[":tuvalu:"],category:"flags"},":flag_tw:":{uc_base:"1f1f9-1f1fc",uc_output:"1f1f9-1f1fc",uc_match:"1f1f9-1f1fc",uc_greedy:"1f1f9-1f1fc",shortnames:[":tw:"],category:"flags"},":flag_tz:":{uc_base:"1f1f9-1f1ff",uc_output:"1f1f9-1f1ff",uc_match:"1f1f9-1f1ff",uc_greedy:"1f1f9-1f1ff",shortnames:[":tz:"],category:"flags"},":flag_ua:":{uc_base:"1f1fa-1f1e6",uc_output:"1f1fa-1f1e6",uc_match:"1f1fa-1f1e6",uc_greedy:"1f1fa-1f1e6",shortnames:[":ua:"],category:"flags"},":flag_ug:":{uc_base:"1f1fa-1f1ec",uc_output:"1f1fa-1f1ec",uc_match:"1f1fa-1f1ec",uc_greedy:"1f1fa-1f1ec",shortnames:[":ug:"],category:"flags"},":flag_um:":{uc_base:"1f1fa-1f1f2",uc_output:"1f1fa-1f1f2",uc_match:"1f1fa-1f1f2",uc_greedy:"1f1fa-1f1f2",shortnames:[":um:"],category:"flags"},":flag_us:":{uc_base:"1f1fa-1f1f8",uc_output:"1f1fa-1f1f8",uc_match:"1f1fa-1f1f8",uc_greedy:"1f1fa-1f1f8",shortnames:[":us:"],category:"flags"},":flag_uy:":{uc_base:"1f1fa-1f1fe",uc_output:"1f1fa-1f1fe",uc_match:"1f1fa-1f1fe",uc_greedy:"1f1fa-1f1fe",shortnames:[":uy:"],category:"flags"},":flag_uz:":{uc_base:"1f1fa-1f1ff",uc_output:"1f1fa-1f1ff",uc_match:"1f1fa-1f1ff",uc_greedy:"1f1fa-1f1ff",shortnames:[":uz:"],category:"flags"},":flag_va:":{uc_base:"1f1fb-1f1e6",uc_output:"1f1fb-1f1e6",uc_match:"1f1fb-1f1e6",uc_greedy:"1f1fb-1f1e6",shortnames:[":va:"],category:"flags"},":flag_vc:":{uc_base:"1f1fb-1f1e8",uc_output:"1f1fb-1f1e8",uc_match:"1f1fb-1f1e8",uc_greedy:"1f1fb-1f1e8",shortnames:[":vc:"],category:"flags"},":flag_ve:":{uc_base:"1f1fb-1f1ea",uc_output:"1f1fb-1f1ea",uc_match:"1f1fb-1f1ea",uc_greedy:"1f1fb-1f1ea",shortnames:[":ve:"],category:"flags"},":flag_vg:":{uc_base:"1f1fb-1f1ec",uc_output:"1f1fb-1f1ec",uc_match:"1f1fb-1f1ec",uc_greedy:"1f1fb-1f1ec",shortnames:[":vg:"],category:"flags"},":flag_vi:":{uc_base:"1f1fb-1f1ee",uc_output:"1f1fb-1f1ee",uc_match:"1f1fb-1f1ee",uc_greedy:"1f1fb-1f1ee",shortnames:[":vi:"],category:"flags"},":flag_vn:":{uc_base:"1f1fb-1f1f3",uc_output:"1f1fb-1f1f3",uc_match:"1f1fb-1f1f3",uc_greedy:"1f1fb-1f1f3",shortnames:[":vn:"],category:"flags"},":flag_vu:":{uc_base:"1f1fb-1f1fa",uc_output:"1f1fb-1f1fa",uc_match:"1f1fb-1f1fa",uc_greedy:"1f1fb-1f1fa",shortnames:[":vu:"],category:"flags"},":flag_wf:":{uc_base:"1f1fc-1f1eb",uc_output:"1f1fc-1f1eb",uc_match:"1f1fc-1f1eb",uc_greedy:"1f1fc-1f1eb",shortnames:[":wf:"],category:"flags"},":flag_ws:":{uc_base:"1f1fc-1f1f8",uc_output:"1f1fc-1f1f8",uc_match:"1f1fc-1f1f8",uc_greedy:"1f1fc-1f1f8",shortnames:[":ws:"],category:"flags"},":flag_xk:":{uc_base:"1f1fd-1f1f0",uc_output:"1f1fd-1f1f0",uc_match:"1f1fd-1f1f0",uc_greedy:"1f1fd-1f1f0",shortnames:[":xk:"],category:"flags"},":flag_ye:":{uc_base:"1f1fe-1f1ea",uc_output:"1f1fe-1f1ea",uc_match:"1f1fe-1f1ea",uc_greedy:"1f1fe-1f1ea",shortnames:[":ye:"],category:"flags"},":flag_yt:":{uc_base:"1f1fe-1f1f9",uc_output:"1f1fe-1f1f9",uc_match:"1f1fe-1f1f9",uc_greedy:"1f1fe-1f1f9",shortnames:[":yt:"],category:"flags"},":flag_za:":{uc_base:"1f1ff-1f1e6",uc_output:"1f1ff-1f1e6",uc_match:"1f1ff-1f1e6",uc_greedy:"1f1ff-1f1e6",shortnames:[":za:"],category:"flags"},":flag_zm:":{uc_base:"1f1ff-1f1f2",uc_output:"1f1ff-1f1f2",uc_match:"1f1ff-1f1f2",uc_greedy:"1f1ff-1f1f2",shortnames:[":zm:"],category:"flags"},":flag_zw:":{uc_base:"1f1ff-1f1fc",uc_output:"1f1ff-1f1fc",uc_match:"1f1ff-1f1fc",uc_greedy:"1f1ff-1f1fc",shortnames:[":zw:"],category:"flags"},":foot_tone1:":{uc_base:"1f9b6-1f3fb",uc_output:"1f9b6-1f3fb",uc_match:"1f9b6-1f3fb",uc_greedy:"1f9b6-1f3fb",shortnames:[":foot_light_skin_tone:"],category:"people"},":foot_tone2:":{uc_base:"1f9b6-1f3fc",uc_output:"1f9b6-1f3fc",uc_match:"1f9b6-1f3fc",uc_greedy:"1f9b6-1f3fc",shortnames:[":foot_medium_light_skin_tone:"],category:"people"},":foot_tone3:":{uc_base:"1f9b6-1f3fd",uc_output:"1f9b6-1f3fd",uc_match:"1f9b6-1f3fd",uc_greedy:"1f9b6-1f3fd",shortnames:[":foot_medium_skin_tone:"],category:"people"},":foot_tone4:":{uc_base:"1f9b6-1f3fe",uc_output:"1f9b6-1f3fe",uc_match:"1f9b6-1f3fe",uc_greedy:"1f9b6-1f3fe",shortnames:[":foot_medium_dark_skin_tone:"],category:"people"},":foot_tone5:":{uc_base:"1f9b6-1f3ff",uc_output:"1f9b6-1f3ff",uc_match:"1f9b6-1f3ff",uc_greedy:"1f9b6-1f3ff",shortnames:[":foot_dark_skin_tone:"],category:"people"},":girl_tone1:":{uc_base:"1f467-1f3fb",uc_output:"1f467-1f3fb",uc_match:"1f467-1f3fb",uc_greedy:"1f467-1f3fb",shortnames:[],category:"people"},":girl_tone2:":{uc_base:"1f467-1f3fc",uc_output:"1f467-1f3fc",uc_match:"1f467-1f3fc",uc_greedy:"1f467-1f3fc",shortnames:[],category:"people"},":girl_tone3:":{uc_base:"1f467-1f3fd",uc_output:"1f467-1f3fd",uc_match:"1f467-1f3fd",uc_greedy:"1f467-1f3fd",shortnames:[],category:"people"},":girl_tone4:":{uc_base:"1f467-1f3fe",uc_output:"1f467-1f3fe",uc_match:"1f467-1f3fe",uc_greedy:"1f467-1f3fe",shortnames:[],category:"people"},":girl_tone5:":{uc_base:"1f467-1f3ff",uc_output:"1f467-1f3ff",uc_match:"1f467-1f3ff",uc_greedy:"1f467-1f3ff",shortnames:[],category:"people"},":guard_tone1:":{uc_base:"1f482-1f3fb",uc_output:"1f482-1f3fb",uc_match:"1f482-1f3fb",uc_greedy:"1f482-1f3fb",shortnames:[":guardsman_tone1:"],category:"people"},":guard_tone2:":{uc_base:"1f482-1f3fc",uc_output:"1f482-1f3fc",uc_match:"1f482-1f3fc",uc_greedy:"1f482-1f3fc",shortnames:[":guardsman_tone2:"],category:"people"},":guard_tone3:":{uc_base:"1f482-1f3fd",uc_output:"1f482-1f3fd",uc_match:"1f482-1f3fd",uc_greedy:"1f482-1f3fd",shortnames:[":guardsman_tone3:"],category:"people"},":guard_tone4:":{uc_base:"1f482-1f3fe",uc_output:"1f482-1f3fe",uc_match:"1f482-1f3fe",uc_greedy:"1f482-1f3fe",shortnames:[":guardsman_tone4:"],category:"people"},":guard_tone5:":{uc_base:"1f482-1f3ff",uc_output:"1f482-1f3ff",uc_match:"1f482-1f3ff",uc_greedy:"1f482-1f3ff",shortnames:[":guardsman_tone5:"],category:"people"},":hand_splayed_tone1:":{uc_base:"1f590-1f3fb",uc_output:"1f590-1f3fb",uc_match:"1f590-fe0f-1f3fb",uc_greedy:"1f590-fe0f-1f3fb",shortnames:[":raised_hand_with_fingers_splayed_tone1:"],category:"people"},":hand_splayed_tone2:":{uc_base:"1f590-1f3fc",uc_output:"1f590-1f3fc",uc_match:"1f590-fe0f-1f3fc",uc_greedy:"1f590-fe0f-1f3fc",shortnames:[":raised_hand_with_fingers_splayed_tone2:"],category:"people"},":hand_splayed_tone3:":{uc_base:"1f590-1f3fd",uc_output:"1f590-1f3fd",uc_match:"1f590-fe0f-1f3fd",uc_greedy:"1f590-fe0f-1f3fd",shortnames:[":raised_hand_with_fingers_splayed_tone3:"],category:"people"},":hand_splayed_tone4:":{uc_base:"1f590-1f3fe",uc_output:"1f590-1f3fe",uc_match:"1f590-fe0f-1f3fe",uc_greedy:"1f590-fe0f-1f3fe",shortnames:[":raised_hand_with_fingers_splayed_tone4:"],category:"people"},":hand_splayed_tone5:":{uc_base:"1f590-1f3ff",uc_output:"1f590-1f3ff",uc_match:"1f590-fe0f-1f3ff",uc_greedy:"1f590-fe0f-1f3ff",shortnames:[":raised_hand_with_fingers_splayed_tone5:"],category:"people"},":horse_racing_tone1:":{uc_base:"1f3c7-1f3fb",uc_output:"1f3c7-1f3fb",uc_match:"1f3c7-1f3fb",uc_greedy:"1f3c7-1f3fb",shortnames:[],category:"activity"},":horse_racing_tone2:":{uc_base:"1f3c7-1f3fc",uc_output:"1f3c7-1f3fc",uc_match:"1f3c7-1f3fc",uc_greedy:"1f3c7-1f3fc",shortnames:[],category:"activity"},":horse_racing_tone3:":{uc_base:"1f3c7-1f3fd",uc_output:"1f3c7-1f3fd",uc_match:"1f3c7-1f3fd",uc_greedy:"1f3c7-1f3fd",shortnames:[],category:"activity"},":horse_racing_tone4:":{uc_base:"1f3c7-1f3fe",uc_output:"1f3c7-1f3fe",uc_match:"1f3c7-1f3fe",uc_greedy:"1f3c7-1f3fe",shortnames:[],category:"activity"},":horse_racing_tone5:":{uc_base:"1f3c7-1f3ff",uc_output:"1f3c7-1f3ff",uc_match:"1f3c7-1f3ff",uc_greedy:"1f3c7-1f3ff",shortnames:[],category:"activity"},":left_facing_fist_tone1:":{uc_base:"1f91b-1f3fb",uc_output:"1f91b-1f3fb",uc_match:"1f91b-1f3fb",uc_greedy:"1f91b-1f3fb",shortnames:[":left_fist_tone1:"],category:"people"},":left_facing_fist_tone2:":{uc_base:"1f91b-1f3fc",uc_output:"1f91b-1f3fc",uc_match:"1f91b-1f3fc",uc_greedy:"1f91b-1f3fc",shortnames:[":left_fist_tone2:"],category:"people"},":left_facing_fist_tone3:":{uc_base:"1f91b-1f3fd",uc_output:"1f91b-1f3fd",uc_match:"1f91b-1f3fd",uc_greedy:"1f91b-1f3fd",shortnames:[":left_fist_tone3:"],category:"people"},":left_facing_fist_tone4:":{uc_base:"1f91b-1f3fe",uc_output:"1f91b-1f3fe",uc_match:"1f91b-1f3fe",uc_greedy:"1f91b-1f3fe",shortnames:[":left_fist_tone4:"],category:"people"},":left_facing_fist_tone5:":{uc_base:"1f91b-1f3ff",uc_output:"1f91b-1f3ff",uc_match:"1f91b-1f3ff",uc_greedy:"1f91b-1f3ff",shortnames:[":left_fist_tone5:"],category:"people"},":leg_tone1:":{uc_base:"1f9b5-1f3fb",uc_output:"1f9b5-1f3fb",uc_match:"1f9b5-1f3fb",uc_greedy:"1f9b5-1f3fb",shortnames:[":leg_light_skin_tone:"],category:"people"},":leg_tone2:":{uc_base:"1f9b5-1f3fc",uc_output:"1f9b5-1f3fc",uc_match:"1f9b5-1f3fc",uc_greedy:"1f9b5-1f3fc",shortnames:[":leg_medium_light_skin_tone:"],category:"people"},":leg_tone3:":{uc_base:"1f9b5-1f3fd",uc_output:"1f9b5-1f3fd",uc_match:"1f9b5-1f3fd",uc_greedy:"1f9b5-1f3fd",shortnames:[":leg_medium_skin_tone:"],category:"people"},":leg_tone4:":{uc_base:"1f9b5-1f3fe",uc_output:"1f9b5-1f3fe",uc_match:"1f9b5-1f3fe",uc_greedy:"1f9b5-1f3fe",shortnames:[":leg_medium_dark_skin_tone:"],category:"people"},":leg_tone5:":{uc_base:"1f9b5-1f3ff",uc_output:"1f9b5-1f3ff",uc_match:"1f9b5-1f3ff",uc_greedy:"1f9b5-1f3ff",shortnames:[":leg_dark_skin_tone:"],category:"people"},":levitate_tone1:":{uc_base:"1f574-1f3fb",uc_output:"1f574-1f3fb",uc_match:"1f574-fe0f-1f3fb",uc_greedy:"1f574-fe0f-1f3fb",shortnames:[":man_in_business_suit_levitating_tone1:",":man_in_business_suit_levitating_light_skin_tone:"],category:"people"},":levitate_tone2:":{uc_base:"1f574-1f3fc",uc_output:"1f574-1f3fc",uc_match:"1f574-fe0f-1f3fc",uc_greedy:"1f574-fe0f-1f3fc",shortnames:[":man_in_business_suit_levitating_tone2:",":man_in_business_suit_levitating_medium_light_skin_tone:"],category:"people"},":levitate_tone3:":{uc_base:"1f574-1f3fd",uc_output:"1f574-1f3fd",uc_match:"1f574-fe0f-1f3fd",uc_greedy:"1f574-fe0f-1f3fd",shortnames:[":man_in_business_suit_levitating_tone3:",":man_in_business_suit_levitating_medium_skin_tone:"],category:"people"},":levitate_tone4:":{uc_base:"1f574-1f3fe",uc_output:"1f574-1f3fe",uc_match:"1f574-fe0f-1f3fe",uc_greedy:"1f574-fe0f-1f3fe",shortnames:[":man_in_business_suit_levitating_tone4:",":man_in_business_suit_levitating_medium_dark_skin_tone:"],category:"people"},":levitate_tone5:":{uc_base:"1f574-1f3ff",uc_output:"1f574-1f3ff",uc_match:"1f574-fe0f-1f3ff",uc_greedy:"1f574-fe0f-1f3ff",shortnames:[":man_in_business_suit_levitating_tone5:",":man_in_business_suit_levitating_dark_skin_tone:"],category:"people"},":love_you_gesture_tone1:":{uc_base:"1f91f-1f3fb",uc_output:"1f91f-1f3fb",uc_match:"1f91f-1f3fb",uc_greedy:"1f91f-1f3fb",shortnames:[":love_you_gesture_light_skin_tone:"],category:"people"},":love_you_gesture_tone2:":{uc_base:"1f91f-1f3fc",uc_output:"1f91f-1f3fc",uc_match:"1f91f-1f3fc",uc_greedy:"1f91f-1f3fc",shortnames:[":love_you_gesture_medium_light_skin_tone:"],category:"people"},":love_you_gesture_tone3:":{uc_base:"1f91f-1f3fd",uc_output:"1f91f-1f3fd",uc_match:"1f91f-1f3fd",uc_greedy:"1f91f-1f3fd",shortnames:[":love_you_gesture_medium_skin_tone:"],category:"people"},":love_you_gesture_tone4:":{uc_base:"1f91f-1f3fe",uc_output:"1f91f-1f3fe",uc_match:"1f91f-1f3fe",uc_greedy:"1f91f-1f3fe",shortnames:[":love_you_gesture_medium_dark_skin_tone:"],category:"people"},":love_you_gesture_tone5:":{uc_base:"1f91f-1f3ff",uc_output:"1f91f-1f3ff",uc_match:"1f91f-1f3ff",uc_greedy:"1f91f-1f3ff",shortnames:[":love_you_gesture_dark_skin_tone:"],category:"people"},":mage_tone1:":{uc_base:"1f9d9-1f3fb",uc_output:"1f9d9-1f3fb",uc_match:"1f9d9-1f3fb",uc_greedy:"1f9d9-1f3fb",shortnames:[":mage_light_skin_tone:"],category:"people"},":mage_tone2:":{uc_base:"1f9d9-1f3fc",uc_output:"1f9d9-1f3fc",uc_match:"1f9d9-1f3fc",uc_greedy:"1f9d9-1f3fc",shortnames:[":mage_medium_light_skin_tone:"],category:"people"},":mage_tone3:":{uc_base:"1f9d9-1f3fd",uc_output:"1f9d9-1f3fd",uc_match:"1f9d9-1f3fd",uc_greedy:"1f9d9-1f3fd",shortnames:[":mage_medium_skin_tone:"],category:"people"},":mage_tone4:":{uc_base:"1f9d9-1f3fe",uc_output:"1f9d9-1f3fe",uc_match:"1f9d9-1f3fe",uc_greedy:"1f9d9-1f3fe",shortnames:[":mage_medium_dark_skin_tone:"],category:"people"},":mage_tone5:":{uc_base:"1f9d9-1f3ff",uc_output:"1f9d9-1f3ff",uc_match:"1f9d9-1f3ff",uc_greedy:"1f9d9-1f3ff",shortnames:[":mage_dark_skin_tone:"],category:"people"},":man_dancing_tone1:":{uc_base:"1f57a-1f3fb",uc_output:"1f57a-1f3fb",uc_match:"1f57a-1f3fb",uc_greedy:"1f57a-1f3fb",shortnames:[":male_dancer_tone1:"],category:"people"},":man_dancing_tone2:":{uc_base:"1f57a-1f3fc",uc_output:"1f57a-1f3fc",uc_match:"1f57a-1f3fc",uc_greedy:"1f57a-1f3fc",shortnames:[":male_dancer_tone2:"],category:"people"},":man_dancing_tone3:":{uc_base:"1f57a-1f3fd",uc_output:"1f57a-1f3fd",uc_match:"1f57a-1f3fd",uc_greedy:"1f57a-1f3fd",shortnames:[":male_dancer_tone3:"],category:"people"},":man_dancing_tone4:":{uc_base:"1f57a-1f3fe",uc_output:"1f57a-1f3fe",uc_match:"1f57a-1f3fe",uc_greedy:"1f57a-1f3fe",shortnames:[":male_dancer_tone4:"],category:"people"},":man_dancing_tone5:":{uc_base:"1f57a-1f3ff",uc_output:"1f57a-1f3ff",uc_match:"1f57a-1f3ff",uc_greedy:"1f57a-1f3ff",shortnames:[":male_dancer_tone5:"],category:"people"},":man_in_tuxedo_tone1:":{uc_base:"1f935-1f3fb",uc_output:"1f935-1f3fb",uc_match:"1f935-1f3fb",uc_greedy:"1f935-1f3fb",shortnames:[":tuxedo_tone1:"],category:"people"},":man_in_tuxedo_tone2:":{uc_base:"1f935-1f3fc",uc_output:"1f935-1f3fc",uc_match:"1f935-1f3fc",uc_greedy:"1f935-1f3fc",shortnames:[":tuxedo_tone2:"],category:"people"},":man_in_tuxedo_tone3:":{uc_base:"1f935-1f3fd",uc_output:"1f935-1f3fd",uc_match:"1f935-1f3fd",uc_greedy:"1f935-1f3fd",shortnames:[":tuxedo_tone3:"],category:"people"},":man_in_tuxedo_tone4:":{uc_base:"1f935-1f3fe",uc_output:"1f935-1f3fe",uc_match:"1f935-1f3fe",uc_greedy:"1f935-1f3fe",shortnames:[":tuxedo_tone4:"],category:"people"},":man_in_tuxedo_tone5:":{uc_base:"1f935-1f3ff",uc_output:"1f935-1f3ff",uc_match:"1f935-1f3ff",uc_greedy:"1f935-1f3ff",shortnames:[":tuxedo_tone5:"],category:"people"},":man_tone1:":{uc_base:"1f468-1f3fb",uc_output:"1f468-1f3fb",uc_match:"1f468-1f3fb",uc_greedy:"1f468-1f3fb",shortnames:[],category:"people"},":man_tone2:":{uc_base:"1f468-1f3fc",uc_output:"1f468-1f3fc",uc_match:"1f468-1f3fc",uc_greedy:"1f468-1f3fc",shortnames:[],category:"people"},":man_tone3:":{uc_base:"1f468-1f3fd",uc_output:"1f468-1f3fd",uc_match:"1f468-1f3fd",uc_greedy:"1f468-1f3fd",shortnames:[],category:"people"},":man_tone4:":{uc_base:"1f468-1f3fe",uc_output:"1f468-1f3fe",uc_match:"1f468-1f3fe",uc_greedy:"1f468-1f3fe",shortnames:[],category:"people"},":man_tone5:":{uc_base:"1f468-1f3ff",uc_output:"1f468-1f3ff",uc_match:"1f468-1f3ff",uc_greedy:"1f468-1f3ff",shortnames:[],category:"people"},":man_with_chinese_cap_tone1:":{uc_base:"1f472-1f3fb",uc_output:"1f472-1f3fb",uc_match:"1f472-1f3fb",uc_greedy:"1f472-1f3fb",shortnames:[":man_with_gua_pi_mao_tone1:"],category:"people"},":man_with_chinese_cap_tone2:":{uc_base:"1f472-1f3fc",uc_output:"1f472-1f3fc",uc_match:"1f472-1f3fc",uc_greedy:"1f472-1f3fc",shortnames:[":man_with_gua_pi_mao_tone2:"],category:"people"},":man_with_chinese_cap_tone3:":{uc_base:"1f472-1f3fd",uc_output:"1f472-1f3fd",uc_match:"1f472-1f3fd",uc_greedy:"1f472-1f3fd",shortnames:[":man_with_gua_pi_mao_tone3:"],category:"people"},":man_with_chinese_cap_tone4:":{uc_base:"1f472-1f3fe",uc_output:"1f472-1f3fe",uc_match:"1f472-1f3fe",uc_greedy:"1f472-1f3fe",shortnames:[":man_with_gua_pi_mao_tone4:"],category:"people"},":man_with_chinese_cap_tone5:":{uc_base:"1f472-1f3ff",uc_output:"1f472-1f3ff",uc_match:"1f472-1f3ff",uc_greedy:"1f472-1f3ff",shortnames:[":man_with_gua_pi_mao_tone5:"],category:"people"},":merperson_tone1:":{uc_base:"1f9dc-1f3fb",uc_output:"1f9dc-1f3fb",uc_match:"1f9dc-1f3fb",uc_greedy:"1f9dc-1f3fb",shortnames:[":merperson_light_skin_tone:"],category:"people"},":merperson_tone2:":{uc_base:"1f9dc-1f3fc",uc_output:"1f9dc-1f3fc",uc_match:"1f9dc-1f3fc",uc_greedy:"1f9dc-1f3fc",shortnames:[":merperson_medium_light_skin_tone:"],category:"people"},":merperson_tone3:":{uc_base:"1f9dc-1f3fd",uc_output:"1f9dc-1f3fd",uc_match:"1f9dc-1f3fd",uc_greedy:"1f9dc-1f3fd",shortnames:[":merperson_medium_skin_tone:"],category:"people"},":merperson_tone4:":{uc_base:"1f9dc-1f3fe",uc_output:"1f9dc-1f3fe",uc_match:"1f9dc-1f3fe",uc_greedy:"1f9dc-1f3fe",shortnames:[":merperson_medium_dark_skin_tone:"],category:"people"},":merperson_tone5:":{uc_base:"1f9dc-1f3ff",uc_output:"1f9dc-1f3ff",uc_match:"1f9dc-1f3ff",uc_greedy:"1f9dc-1f3ff",shortnames:[":merperson_dark_skin_tone:"],category:"people"},":metal_tone1:":{uc_base:"1f918-1f3fb",uc_output:"1f918-1f3fb",uc_match:"1f918-1f3fb",uc_greedy:"1f918-1f3fb",shortnames:[":sign_of_the_horns_tone1:"],category:"people"},":metal_tone2:":{uc_base:"1f918-1f3fc",uc_output:"1f918-1f3fc",uc_match:"1f918-1f3fc",uc_greedy:"1f918-1f3fc",shortnames:[":sign_of_the_horns_tone2:"],category:"people"},":metal_tone3:":{uc_base:"1f918-1f3fd",uc_output:"1f918-1f3fd",uc_match:"1f918-1f3fd",uc_greedy:"1f918-1f3fd",shortnames:[":sign_of_the_horns_tone3:"],category:"people"},":metal_tone4:":{uc_base:"1f918-1f3fe",uc_output:"1f918-1f3fe",uc_match:"1f918-1f3fe",uc_greedy:"1f918-1f3fe",shortnames:[":sign_of_the_horns_tone4:"],category:"people"},":metal_tone5:":{uc_base:"1f918-1f3ff",uc_output:"1f918-1f3ff",uc_match:"1f918-1f3ff",uc_greedy:"1f918-1f3ff",shortnames:[":sign_of_the_horns_tone5:"],category:"people"},":middle_finger_tone1:":{uc_base:"1f595-1f3fb",uc_output:"1f595-1f3fb",uc_match:"1f595-1f3fb",uc_greedy:"1f595-1f3fb",shortnames:[":reversed_hand_with_middle_finger_extended_tone1:"],category:"people"},":middle_finger_tone2:":{uc_base:"1f595-1f3fc",uc_output:"1f595-1f3fc",uc_match:"1f595-1f3fc",uc_greedy:"1f595-1f3fc",shortnames:[":reversed_hand_with_middle_finger_extended_tone2:"],category:"people"},":middle_finger_tone3:":{uc_base:"1f595-1f3fd",uc_output:"1f595-1f3fd",uc_match:"1f595-1f3fd",uc_greedy:"1f595-1f3fd",shortnames:[":reversed_hand_with_middle_finger_extended_tone3:"],category:"people"},":middle_finger_tone4:":{uc_base:"1f595-1f3fe",uc_output:"1f595-1f3fe",uc_match:"1f595-1f3fe",uc_greedy:"1f595-1f3fe",shortnames:[":reversed_hand_with_middle_finger_extended_tone4:"],category:"people"},":middle_finger_tone5:":{uc_base:"1f595-1f3ff",uc_output:"1f595-1f3ff",uc_match:"1f595-1f3ff",uc_greedy:"1f595-1f3ff",shortnames:[":reversed_hand_with_middle_finger_extended_tone5:"],category:"people"},":mrs_claus_tone1:":{uc_base:"1f936-1f3fb",uc_output:"1f936-1f3fb",uc_match:"1f936-1f3fb",uc_greedy:"1f936-1f3fb",shortnames:[":mother_christmas_tone1:"],category:"people"},":mrs_claus_tone2:":{uc_base:"1f936-1f3fc",uc_output:"1f936-1f3fc",uc_match:"1f936-1f3fc",uc_greedy:"1f936-1f3fc",shortnames:[":mother_christmas_tone2:"],category:"people"},":mrs_claus_tone3:":{uc_base:"1f936-1f3fd",uc_output:"1f936-1f3fd",uc_match:"1f936-1f3fd",uc_greedy:"1f936-1f3fd",shortnames:[":mother_christmas_tone3:"],category:"people"},":mrs_claus_tone4:":{uc_base:"1f936-1f3fe",uc_output:"1f936-1f3fe",uc_match:"1f936-1f3fe",uc_greedy:"1f936-1f3fe",shortnames:[":mother_christmas_tone4:"],category:"people"},":mrs_claus_tone5:":{uc_base:"1f936-1f3ff",uc_output:"1f936-1f3ff",uc_match:"1f936-1f3ff",uc_greedy:"1f936-1f3ff",shortnames:[":mother_christmas_tone5:"],category:"people"},":muscle_tone1:":{uc_base:"1f4aa-1f3fb",uc_output:"1f4aa-1f3fb",uc_match:"1f4aa-1f3fb",uc_greedy:"1f4aa-1f3fb",shortnames:[],category:"people"},":muscle_tone2:":{uc_base:"1f4aa-1f3fc",uc_output:"1f4aa-1f3fc",uc_match:"1f4aa-1f3fc",uc_greedy:"1f4aa-1f3fc",shortnames:[],category:"people"},":muscle_tone3:":{uc_base:"1f4aa-1f3fd",uc_output:"1f4aa-1f3fd",uc_match:"1f4aa-1f3fd",uc_greedy:"1f4aa-1f3fd",shortnames:[],category:"people"},":muscle_tone4:":{uc_base:"1f4aa-1f3fe",uc_output:"1f4aa-1f3fe",uc_match:"1f4aa-1f3fe",uc_greedy:"1f4aa-1f3fe",shortnames:[],category:"people"},":muscle_tone5:":{uc_base:"1f4aa-1f3ff",uc_output:"1f4aa-1f3ff",uc_match:"1f4aa-1f3ff",uc_greedy:"1f4aa-1f3ff",shortnames:[],category:"people"},":nail_care_tone1:":{uc_base:"1f485-1f3fb",uc_output:"1f485-1f3fb",uc_match:"1f485-1f3fb",uc_greedy:"1f485-1f3fb",shortnames:[],category:"people"},":nail_care_tone2:":{uc_base:"1f485-1f3fc",uc_output:"1f485-1f3fc",uc_match:"1f485-1f3fc",uc_greedy:"1f485-1f3fc",shortnames:[],category:"people"},":nail_care_tone3:":{uc_base:"1f485-1f3fd",uc_output:"1f485-1f3fd",uc_match:"1f485-1f3fd",uc_greedy:"1f485-1f3fd",shortnames:[],category:"people"},":nail_care_tone4:":{uc_base:"1f485-1f3fe",uc_output:"1f485-1f3fe",uc_match:"1f485-1f3fe",uc_greedy:"1f485-1f3fe",shortnames:[],category:"people"},":nail_care_tone5:":{uc_base:"1f485-1f3ff",uc_output:"1f485-1f3ff",uc_match:"1f485-1f3ff",uc_greedy:"1f485-1f3ff",shortnames:[],category:"people"},":nose_tone1:":{uc_base:"1f443-1f3fb",uc_output:"1f443-1f3fb",uc_match:"1f443-1f3fb",uc_greedy:"1f443-1f3fb",shortnames:[],category:"people"},":nose_tone2:":{uc_base:"1f443-1f3fc",uc_output:"1f443-1f3fc",uc_match:"1f443-1f3fc",uc_greedy:"1f443-1f3fc",shortnames:[],category:"people"},":nose_tone3:":{uc_base:"1f443-1f3fd",uc_output:"1f443-1f3fd",uc_match:"1f443-1f3fd",uc_greedy:"1f443-1f3fd",shortnames:[],category:"people"},":nose_tone4:":{uc_base:"1f443-1f3fe",uc_output:"1f443-1f3fe",uc_match:"1f443-1f3fe",uc_greedy:"1f443-1f3fe",shortnames:[],category:"people"},":nose_tone5:":{uc_base:"1f443-1f3ff",uc_output:"1f443-1f3ff",uc_match:"1f443-1f3ff",uc_greedy:"1f443-1f3ff",shortnames:[],category:"people"},":ok_hand_tone1:":{uc_base:"1f44c-1f3fb",uc_output:"1f44c-1f3fb",uc_match:"1f44c-1f3fb",uc_greedy:"1f44c-1f3fb",shortnames:[],category:"people"},":ok_hand_tone2:":{uc_base:"1f44c-1f3fc",uc_output:"1f44c-1f3fc",uc_match:"1f44c-1f3fc",uc_greedy:"1f44c-1f3fc",shortnames:[],category:"people"},":ok_hand_tone3:":{uc_base:"1f44c-1f3fd",uc_output:"1f44c-1f3fd",uc_match:"1f44c-1f3fd",uc_greedy:"1f44c-1f3fd",shortnames:[],category:"people"},":ok_hand_tone4:":{uc_base:"1f44c-1f3fe",uc_output:"1f44c-1f3fe",uc_match:"1f44c-1f3fe",uc_greedy:"1f44c-1f3fe",shortnames:[],category:"people"},":ok_hand_tone5:":{uc_base:"1f44c-1f3ff",uc_output:"1f44c-1f3ff",uc_match:"1f44c-1f3ff",uc_greedy:"1f44c-1f3ff",shortnames:[],category:"people"},":older_adult_tone1:":{uc_base:"1f9d3-1f3fb",uc_output:"1f9d3-1f3fb",uc_match:"1f9d3-1f3fb",uc_greedy:"1f9d3-1f3fb",shortnames:[":older_adult_light_skin_tone:"],category:"people"},":older_adult_tone2:":{uc_base:"1f9d3-1f3fc",uc_output:"1f9d3-1f3fc",uc_match:"1f9d3-1f3fc",uc_greedy:"1f9d3-1f3fc",shortnames:[":older_adult_medium_light_skin_tone:"],category:"people"},":older_adult_tone3:":{uc_base:"1f9d3-1f3fd",uc_output:"1f9d3-1f3fd",uc_match:"1f9d3-1f3fd",uc_greedy:"1f9d3-1f3fd",shortnames:[":older_adult_medium_skin_tone:"],category:"people"},":older_adult_tone4:":{uc_base:"1f9d3-1f3fe",uc_output:"1f9d3-1f3fe",uc_match:"1f9d3-1f3fe",uc_greedy:"1f9d3-1f3fe",shortnames:[":older_adult_medium_dark_skin_tone:"],category:"people"},":older_adult_tone5:":{uc_base:"1f9d3-1f3ff",uc_output:"1f9d3-1f3ff",uc_match:"1f9d3-1f3ff",uc_greedy:"1f9d3-1f3ff",shortnames:[":older_adult_dark_skin_tone:"],category:"people"},":older_man_tone1:":{uc_base:"1f474-1f3fb",uc_output:"1f474-1f3fb",uc_match:"1f474-1f3fb",uc_greedy:"1f474-1f3fb",shortnames:[],category:"people"},":older_man_tone2:":{uc_base:"1f474-1f3fc",uc_output:"1f474-1f3fc",uc_match:"1f474-1f3fc",uc_greedy:"1f474-1f3fc",shortnames:[],category:"people"},":older_man_tone3:":{uc_base:"1f474-1f3fd",uc_output:"1f474-1f3fd",uc_match:"1f474-1f3fd",uc_greedy:"1f474-1f3fd",shortnames:[],category:"people"},":older_man_tone4:":{uc_base:"1f474-1f3fe",uc_output:"1f474-1f3fe",uc_match:"1f474-1f3fe",uc_greedy:"1f474-1f3fe",shortnames:[],category:"people"},":older_man_tone5:":{uc_base:"1f474-1f3ff",uc_output:"1f474-1f3ff",uc_match:"1f474-1f3ff",uc_greedy:"1f474-1f3ff",shortnames:[],category:"people"},":older_woman_tone1:":{uc_base:"1f475-1f3fb",uc_output:"1f475-1f3fb",uc_match:"1f475-1f3fb",uc_greedy:"1f475-1f3fb",shortnames:[":grandma_tone1:"],category:"people"},":older_woman_tone2:":{uc_base:"1f475-1f3fc",uc_output:"1f475-1f3fc",uc_match:"1f475-1f3fc",uc_greedy:"1f475-1f3fc",shortnames:[":grandma_tone2:"],category:"people"},":older_woman_tone3:":{uc_base:"1f475-1f3fd",uc_output:"1f475-1f3fd",uc_match:"1f475-1f3fd",uc_greedy:"1f475-1f3fd",shortnames:[":grandma_tone3:"],category:"people"},":older_woman_tone4:":{uc_base:"1f475-1f3fe",uc_output:"1f475-1f3fe",uc_match:"1f475-1f3fe",uc_greedy:"1f475-1f3fe",shortnames:[":grandma_tone4:"],category:"people"},":older_woman_tone5:":{uc_base:"1f475-1f3ff",uc_output:"1f475-1f3ff",uc_match:"1f475-1f3ff",uc_greedy:"1f475-1f3ff",shortnames:[":grandma_tone5:"],category:"people"},":open_hands_tone1:":{uc_base:"1f450-1f3fb",uc_output:"1f450-1f3fb",uc_match:"1f450-1f3fb",uc_greedy:"1f450-1f3fb",shortnames:[],category:"people"},":open_hands_tone2:":{uc_base:"1f450-1f3fc",uc_output:"1f450-1f3fc",uc_match:"1f450-1f3fc",uc_greedy:"1f450-1f3fc",shortnames:[],category:"people"},":open_hands_tone3:":{uc_base:"1f450-1f3fd",uc_output:"1f450-1f3fd",uc_match:"1f450-1f3fd",uc_greedy:"1f450-1f3fd",shortnames:[],category:"people"},":open_hands_tone4:":{uc_base:"1f450-1f3fe",uc_output:"1f450-1f3fe",uc_match:"1f450-1f3fe",uc_greedy:"1f450-1f3fe",shortnames:[],category:"people"},":open_hands_tone5:":{uc_base:"1f450-1f3ff",uc_output:"1f450-1f3ff",uc_match:"1f450-1f3ff",uc_greedy:"1f450-1f3ff",shortnames:[],category:"people"},":palms_up_together_tone1:":{uc_base:"1f932-1f3fb",uc_output:"1f932-1f3fb",uc_match:"1f932-1f3fb",uc_greedy:"1f932-1f3fb",shortnames:[":palms_up_together_light_skin_tone:"],category:"people"},":palms_up_together_tone2:":{uc_base:"1f932-1f3fc",uc_output:"1f932-1f3fc",uc_match:"1f932-1f3fc",uc_greedy:"1f932-1f3fc",shortnames:[":palms_up_together_medium_light_skin_tone:"],category:"people"},":palms_up_together_tone3:":{uc_base:"1f932-1f3fd",uc_output:"1f932-1f3fd",uc_match:"1f932-1f3fd",uc_greedy:"1f932-1f3fd",shortnames:[":palms_up_together_medium_skin_tone:"],category:"people"},":palms_up_together_tone4:":{uc_base:"1f932-1f3fe",uc_output:"1f932-1f3fe",uc_match:"1f932-1f3fe",uc_greedy:"1f932-1f3fe",shortnames:[":palms_up_together_medium_dark_skin_tone:"],category:"people"},":palms_up_together_tone5:":{uc_base:"1f932-1f3ff",uc_output:"1f932-1f3ff",uc_match:"1f932-1f3ff",uc_greedy:"1f932-1f3ff",shortnames:[":palms_up_together_dark_skin_tone:"],category:"people"},":person_biking_tone1:":{uc_base:"1f6b4-1f3fb",uc_output:"1f6b4-1f3fb",uc_match:"1f6b4-1f3fb",uc_greedy:"1f6b4-1f3fb",shortnames:[":bicyclist_tone1:"],category:"activity"},":person_biking_tone2:":{uc_base:"1f6b4-1f3fc",uc_output:"1f6b4-1f3fc",uc_match:"1f6b4-1f3fc",uc_greedy:"1f6b4-1f3fc",shortnames:[":bicyclist_tone2:"],category:"activity"},":person_biking_tone3:":{uc_base:"1f6b4-1f3fd",uc_output:"1f6b4-1f3fd",uc_match:"1f6b4-1f3fd",uc_greedy:"1f6b4-1f3fd",shortnames:[":bicyclist_tone3:"],category:"activity"},":person_biking_tone4:":{uc_base:"1f6b4-1f3fe",uc_output:"1f6b4-1f3fe",uc_match:"1f6b4-1f3fe",uc_greedy:"1f6b4-1f3fe",shortnames:[":bicyclist_tone4:"],category:"activity"},":person_biking_tone5:":{uc_base:"1f6b4-1f3ff",uc_output:"1f6b4-1f3ff",uc_match:"1f6b4-1f3ff",uc_greedy:"1f6b4-1f3ff",shortnames:[":bicyclist_tone5:"],category:"activity"},":person_bowing_tone1:":{uc_base:"1f647-1f3fb",uc_output:"1f647-1f3fb",uc_match:"1f647-1f3fb",uc_greedy:"1f647-1f3fb",shortnames:[":bow_tone1:"],category:"people"},":person_bowing_tone2:":{uc_base:"1f647-1f3fc",uc_output:"1f647-1f3fc",uc_match:"1f647-1f3fc",uc_greedy:"1f647-1f3fc",shortnames:[":bow_tone2:"],category:"people"},":person_bowing_tone3:":{uc_base:"1f647-1f3fd",uc_output:"1f647-1f3fd",uc_match:"1f647-1f3fd",uc_greedy:"1f647-1f3fd",shortnames:[":bow_tone3:"],category:"people"},":person_bowing_tone4:":{uc_base:"1f647-1f3fe",uc_output:"1f647-1f3fe",uc_match:"1f647-1f3fe",uc_greedy:"1f647-1f3fe",shortnames:[":bow_tone4:"],category:"people"},":person_bowing_tone5:":{uc_base:"1f647-1f3ff",uc_output:"1f647-1f3ff",uc_match:"1f647-1f3ff",uc_greedy:"1f647-1f3ff",shortnames:[":bow_tone5:"],category:"people"},":person_climbing_tone1:":{uc_base:"1f9d7-1f3fb",uc_output:"1f9d7-1f3fb",uc_match:"1f9d7-1f3fb",uc_greedy:"1f9d7-1f3fb",shortnames:[":person_climbing_light_skin_tone:"],category:"activity"},":person_climbing_tone2:":{uc_base:"1f9d7-1f3fc",uc_output:"1f9d7-1f3fc",uc_match:"1f9d7-1f3fc",uc_greedy:"1f9d7-1f3fc",shortnames:[":person_climbing_medium_light_skin_tone:"],category:"activity"},":person_climbing_tone3:":{uc_base:"1f9d7-1f3fd",uc_output:"1f9d7-1f3fd",uc_match:"1f9d7-1f3fd",uc_greedy:"1f9d7-1f3fd",shortnames:[":person_climbing_medium_skin_tone:"],category:"activity"},":person_climbing_tone4:":{uc_base:"1f9d7-1f3fe",uc_output:"1f9d7-1f3fe",uc_match:"1f9d7-1f3fe",uc_greedy:"1f9d7-1f3fe",shortnames:[":person_climbing_medium_dark_skin_tone:"],category:"activity"},":person_climbing_tone5:":{uc_base:"1f9d7-1f3ff",uc_output:"1f9d7-1f3ff",uc_match:"1f9d7-1f3ff",uc_greedy:"1f9d7-1f3ff",shortnames:[":person_climbing_dark_skin_tone:"],category:"activity"},":person_doing_cartwheel_tone1:":{uc_base:"1f938-1f3fb",uc_output:"1f938-1f3fb",uc_match:"1f938-1f3fb",uc_greedy:"1f938-1f3fb",shortnames:[":cartwheel_tone1:"],category:"activity"},":person_doing_cartwheel_tone2:":{uc_base:"1f938-1f3fc",uc_output:"1f938-1f3fc",uc_match:"1f938-1f3fc",uc_greedy:"1f938-1f3fc",shortnames:[":cartwheel_tone2:"],category:"activity"},":person_doing_cartwheel_tone3:":{uc_base:"1f938-1f3fd",uc_output:"1f938-1f3fd",uc_match:"1f938-1f3fd",uc_greedy:"1f938-1f3fd",shortnames:[":cartwheel_tone3:"],category:"activity"},":person_doing_cartwheel_tone4:":{uc_base:"1f938-1f3fe",uc_output:"1f938-1f3fe",uc_match:"1f938-1f3fe",uc_greedy:"1f938-1f3fe",shortnames:[":cartwheel_tone4:"],category:"activity"},":person_doing_cartwheel_tone5:":{uc_base:"1f938-1f3ff",uc_output:"1f938-1f3ff",uc_match:"1f938-1f3ff",uc_greedy:"1f938-1f3ff",shortnames:[":cartwheel_tone5:"],category:"activity"},":person_facepalming_tone1:":{uc_base:"1f926-1f3fb",uc_output:"1f926-1f3fb",uc_match:"1f926-1f3fb",uc_greedy:"1f926-1f3fb",shortnames:[":face_palm_tone1:",":facepalm_tone1:"],category:"people"},":person_facepalming_tone2:":{uc_base:"1f926-1f3fc",uc_output:"1f926-1f3fc",uc_match:"1f926-1f3fc",uc_greedy:"1f926-1f3fc",shortnames:[":face_palm_tone2:",":facepalm_tone2:"],category:"people"},":person_facepalming_tone3:":{uc_base:"1f926-1f3fd",uc_output:"1f926-1f3fd",uc_match:"1f926-1f3fd",uc_greedy:"1f926-1f3fd",shortnames:[":face_palm_tone3:",":facepalm_tone3:"],category:"people"},":person_facepalming_tone4:":{uc_base:"1f926-1f3fe",uc_output:"1f926-1f3fe",uc_match:"1f926-1f3fe",uc_greedy:"1f926-1f3fe",shortnames:[":face_palm_tone4:",":facepalm_tone4:"],category:"people"},":person_facepalming_tone5:":{uc_base:"1f926-1f3ff",uc_output:"1f926-1f3ff",uc_match:"1f926-1f3ff",uc_greedy:"1f926-1f3ff",shortnames:[":face_palm_tone5:",":facepalm_tone5:"],category:"people"},":person_frowning_tone1:":{uc_base:"1f64d-1f3fb",uc_output:"1f64d-1f3fb",uc_match:"1f64d-1f3fb",uc_greedy:"1f64d-1f3fb",shortnames:[],category:"people"},":person_frowning_tone2:":{uc_base:"1f64d-1f3fc",uc_output:"1f64d-1f3fc",uc_match:"1f64d-1f3fc",uc_greedy:"1f64d-1f3fc",shortnames:[],category:"people"},":person_frowning_tone3:":{uc_base:"1f64d-1f3fd",uc_output:"1f64d-1f3fd",uc_match:"1f64d-1f3fd",uc_greedy:"1f64d-1f3fd",shortnames:[],category:"people"},":person_frowning_tone4:":{uc_base:"1f64d-1f3fe",uc_output:"1f64d-1f3fe",uc_match:"1f64d-1f3fe",uc_greedy:"1f64d-1f3fe",shortnames:[],category:"people"},":person_frowning_tone5:":{uc_base:"1f64d-1f3ff",uc_output:"1f64d-1f3ff",uc_match:"1f64d-1f3ff",uc_greedy:"1f64d-1f3ff",shortnames:[],category:"people"},":person_gesturing_no_tone1:":{uc_base:"1f645-1f3fb",uc_output:"1f645-1f3fb",uc_match:"1f645-1f3fb",uc_greedy:"1f645-1f3fb",shortnames:[":no_good_tone1:"],category:"people"},":person_gesturing_no_tone2:":{uc_base:"1f645-1f3fc",uc_output:"1f645-1f3fc",uc_match:"1f645-1f3fc",uc_greedy:"1f645-1f3fc",shortnames:[":no_good_tone2:"],category:"people"},":person_gesturing_no_tone3:":{uc_base:"1f645-1f3fd",uc_output:"1f645-1f3fd",uc_match:"1f645-1f3fd",uc_greedy:"1f645-1f3fd",shortnames:[":no_good_tone3:"],category:"people"},":person_gesturing_no_tone4:":{uc_base:"1f645-1f3fe",uc_output:"1f645-1f3fe",uc_match:"1f645-1f3fe",uc_greedy:"1f645-1f3fe",shortnames:[":no_good_tone4:"],category:"people"},":person_gesturing_no_tone5:":{uc_base:"1f645-1f3ff",uc_output:"1f645-1f3ff",uc_match:"1f645-1f3ff",uc_greedy:"1f645-1f3ff",shortnames:[":no_good_tone5:"],category:"people"},":person_gesturing_ok_tone1:":{uc_base:"1f646-1f3fb",uc_output:"1f646-1f3fb",uc_match:"1f646-1f3fb",uc_greedy:"1f646-1f3fb",shortnames:[":ok_woman_tone1:"],category:"people"},":person_gesturing_ok_tone2:":{uc_base:"1f646-1f3fc",uc_output:"1f646-1f3fc",uc_match:"1f646-1f3fc",uc_greedy:"1f646-1f3fc",shortnames:[":ok_woman_tone2:"],category:"people"},":person_gesturing_ok_tone3:":{uc_base:"1f646-1f3fd",uc_output:"1f646-1f3fd",uc_match:"1f646-1f3fd",uc_greedy:"1f646-1f3fd",shortnames:[":ok_woman_tone3:"],category:"people"},":person_gesturing_ok_tone4:":{uc_base:"1f646-1f3fe",uc_output:"1f646-1f3fe",uc_match:"1f646-1f3fe",uc_greedy:"1f646-1f3fe",shortnames:[":ok_woman_tone4:"],category:"people"},":person_gesturing_ok_tone5:":{uc_base:"1f646-1f3ff",uc_output:"1f646-1f3ff",uc_match:"1f646-1f3ff",uc_greedy:"1f646-1f3ff",shortnames:[":ok_woman_tone5:"],category:"people"},":person_getting_haircut_tone1:":{uc_base:"1f487-1f3fb",uc_output:"1f487-1f3fb",uc_match:"1f487-1f3fb",uc_greedy:"1f487-1f3fb",shortnames:[":haircut_tone1:"],category:"people"},":person_getting_haircut_tone2:":{uc_base:"1f487-1f3fc",uc_output:"1f487-1f3fc",uc_match:"1f487-1f3fc",uc_greedy:"1f487-1f3fc",shortnames:[":haircut_tone2:"],category:"people"},":person_getting_haircut_tone3:":{uc_base:"1f487-1f3fd",uc_output:"1f487-1f3fd",uc_match:"1f487-1f3fd",uc_greedy:"1f487-1f3fd",shortnames:[":haircut_tone3:"],category:"people"},":person_getting_haircut_tone4:":{uc_base:"1f487-1f3fe",uc_output:"1f487-1f3fe",uc_match:"1f487-1f3fe",uc_greedy:"1f487-1f3fe",shortnames:[":haircut_tone4:"],category:"people"},":person_getting_haircut_tone5:":{uc_base:"1f487-1f3ff",uc_output:"1f487-1f3ff",uc_match:"1f487-1f3ff",uc_greedy:"1f487-1f3ff",shortnames:[":haircut_tone5:"],category:"people"},":person_getting_massage_tone1:":{uc_base:"1f486-1f3fb",uc_output:"1f486-1f3fb",uc_match:"1f486-1f3fb",uc_greedy:"1f486-1f3fb",shortnames:[":massage_tone1:"],category:"people"},":person_getting_massage_tone2:":{uc_base:"1f486-1f3fc",uc_output:"1f486-1f3fc",uc_match:"1f486-1f3fc",uc_greedy:"1f486-1f3fc",shortnames:[":massage_tone2:"],category:"people"},":person_getting_massage_tone3:":{uc_base:"1f486-1f3fd",uc_output:"1f486-1f3fd",uc_match:"1f486-1f3fd",uc_greedy:"1f486-1f3fd",shortnames:[":massage_tone3:"],category:"people"},":person_getting_massage_tone4:":{uc_base:"1f486-1f3fe",uc_output:"1f486-1f3fe",uc_match:"1f486-1f3fe",uc_greedy:"1f486-1f3fe",shortnames:[":massage_tone4:"],category:"people"},":person_getting_massage_tone5:":{uc_base:"1f486-1f3ff",uc_output:"1f486-1f3ff",uc_match:"1f486-1f3ff",uc_greedy:"1f486-1f3ff",shortnames:[":massage_tone5:"],category:"people"},":person_golfing_tone1:":{uc_base:"1f3cc-1f3fb",uc_output:"1f3cc-1f3fb",uc_match:"1f3cc-fe0f-1f3fb",uc_greedy:"1f3cc-fe0f-1f3fb",shortnames:[":person_golfing_light_skin_tone:"],category:"activity"},":person_golfing_tone2:":{uc_base:"1f3cc-1f3fc",uc_output:"1f3cc-1f3fc",uc_match:"1f3cc-fe0f-1f3fc",uc_greedy:"1f3cc-fe0f-1f3fc",shortnames:[":person_golfing_medium_light_skin_tone:"],category:"activity"},":person_golfing_tone3:":{uc_base:"1f3cc-1f3fd",uc_output:"1f3cc-1f3fd",uc_match:"1f3cc-fe0f-1f3fd",uc_greedy:"1f3cc-fe0f-1f3fd",shortnames:[":person_golfing_medium_skin_tone:"],category:"activity"},":person_golfing_tone4:":{uc_base:"1f3cc-1f3fe",uc_output:"1f3cc-1f3fe",uc_match:"1f3cc-fe0f-1f3fe",uc_greedy:"1f3cc-fe0f-1f3fe",shortnames:[":person_golfing_medium_dark_skin_tone:"],category:"activity"},":person_golfing_tone5:":{uc_base:"1f3cc-1f3ff",uc_output:"1f3cc-1f3ff",uc_match:"1f3cc-fe0f-1f3ff",uc_greedy:"1f3cc-fe0f-1f3ff",shortnames:[":person_golfing_dark_skin_tone:"],category:"activity"},":person_in_bed_tone1:":{uc_base:"1f6cc-1f3fb",uc_output:"1f6cc-1f3fb",uc_match:"1f6cc-1f3fb",uc_greedy:"1f6cc-1f3fb",shortnames:[":person_in_bed_light_skin_tone:"],category:"objects"},":person_in_bed_tone2:":{uc_base:"1f6cc-1f3fc",uc_output:"1f6cc-1f3fc",uc_match:"1f6cc-1f3fc",uc_greedy:"1f6cc-1f3fc",shortnames:[":person_in_bed_medium_light_skin_tone:"],category:"objects"},":person_in_bed_tone3:":{uc_base:"1f6cc-1f3fd",uc_output:"1f6cc-1f3fd",uc_match:"1f6cc-1f3fd",uc_greedy:"1f6cc-1f3fd",shortnames:[":person_in_bed_medium_skin_tone:"],category:"objects"},":person_in_bed_tone4:":{uc_base:"1f6cc-1f3fe",uc_output:"1f6cc-1f3fe",uc_match:"1f6cc-1f3fe",uc_greedy:"1f6cc-1f3fe",shortnames:[":person_in_bed_medium_dark_skin_tone:"],category:"objects"},":person_in_bed_tone5:":{uc_base:"1f6cc-1f3ff",uc_output:"1f6cc-1f3ff",uc_match:"1f6cc-1f3ff",uc_greedy:"1f6cc-1f3ff",shortnames:[":person_in_bed_dark_skin_tone:"],category:"objects"},":person_in_lotus_position_tone1:":{uc_base:"1f9d8-1f3fb",uc_output:"1f9d8-1f3fb",uc_match:"1f9d8-1f3fb",uc_greedy:"1f9d8-1f3fb",shortnames:[":person_in_lotus_position_light_skin_tone:"],category:"activity"},":person_in_lotus_position_tone2:":{uc_base:"1f9d8-1f3fc",uc_output:"1f9d8-1f3fc",uc_match:"1f9d8-1f3fc",uc_greedy:"1f9d8-1f3fc",shortnames:[":person_in_lotus_position_medium_light_skin_tone:"],category:"activity"},":person_in_lotus_position_tone3:":{uc_base:"1f9d8-1f3fd",uc_output:"1f9d8-1f3fd",uc_match:"1f9d8-1f3fd",uc_greedy:"1f9d8-1f3fd",shortnames:[":person_in_lotus_position_medium_skin_tone:"],category:"activity"},":person_in_lotus_position_tone4:":{uc_base:"1f9d8-1f3fe",uc_output:"1f9d8-1f3fe",uc_match:"1f9d8-1f3fe",uc_greedy:"1f9d8-1f3fe",shortnames:[":person_in_lotus_position_medium_dark_skin_tone:"],category:"activity"},":person_in_lotus_position_tone5:":{uc_base:"1f9d8-1f3ff",uc_output:"1f9d8-1f3ff",uc_match:"1f9d8-1f3ff",uc_greedy:"1f9d8-1f3ff",shortnames:[":person_in_lotus_position_dark_skin_tone:"],category:"activity"},":person_in_steamy_room_tone1:":{uc_base:"1f9d6-1f3fb",uc_output:"1f9d6-1f3fb",uc_match:"1f9d6-1f3fb",uc_greedy:"1f9d6-1f3fb",shortnames:[":person_in_steamy_room_light_skin_tone:"],category:"people"},":person_in_steamy_room_tone2:":{uc_base:"1f9d6-1f3fc",uc_output:"1f9d6-1f3fc",uc_match:"1f9d6-1f3fc",uc_greedy:"1f9d6-1f3fc",shortnames:[":person_in_steamy_room_medium_light_skin_tone:"],category:"people"},":person_in_steamy_room_tone3:":{uc_base:"1f9d6-1f3fd",uc_output:"1f9d6-1f3fd",uc_match:"1f9d6-1f3fd",uc_greedy:"1f9d6-1f3fd",shortnames:[":person_in_steamy_room_medium_skin_tone:"],category:"people"},":person_in_steamy_room_tone4:":{uc_base:"1f9d6-1f3fe",uc_output:"1f9d6-1f3fe",uc_match:"1f9d6-1f3fe",uc_greedy:"1f9d6-1f3fe",shortnames:[":person_in_steamy_room_medium_dark_skin_tone:"],category:"people"},":person_in_steamy_room_tone5:":{uc_base:"1f9d6-1f3ff",uc_output:"1f9d6-1f3ff",uc_match:"1f9d6-1f3ff",uc_greedy:"1f9d6-1f3ff",shortnames:[":person_in_steamy_room_dark_skin_tone:"],category:"people"},":person_juggling_tone1:":{uc_base:"1f939-1f3fb",uc_output:"1f939-1f3fb",uc_match:"1f939-1f3fb",uc_greedy:"1f939-1f3fb",shortnames:[":juggling_tone1:",":juggler_tone1:"],category:"activity"},":person_juggling_tone2:":{uc_base:"1f939-1f3fc",uc_output:"1f939-1f3fc",uc_match:"1f939-1f3fc",uc_greedy:"1f939-1f3fc",shortnames:[":juggling_tone2:",":juggler_tone2:"],category:"activity"},":person_juggling_tone3:":{uc_base:"1f939-1f3fd",uc_output:"1f939-1f3fd",uc_match:"1f939-1f3fd",uc_greedy:"1f939-1f3fd",shortnames:[":juggling_tone3:",":juggler_tone3:"],category:"activity"},":person_juggling_tone4:":{uc_base:"1f939-1f3fe",uc_output:"1f939-1f3fe",uc_match:"1f939-1f3fe",uc_greedy:"1f939-1f3fe",shortnames:[":juggling_tone4:",":juggler_tone4:"],category:"activity"},":person_juggling_tone5:":{uc_base:"1f939-1f3ff",uc_output:"1f939-1f3ff",uc_match:"1f939-1f3ff",uc_greedy:"1f939-1f3ff",shortnames:[":juggling_tone5:",":juggler_tone5:"],category:"activity"},":person_lifting_weights_tone1:":{uc_base:"1f3cb-1f3fb",uc_output:"1f3cb-1f3fb",uc_match:"1f3cb-fe0f-1f3fb",uc_greedy:"1f3cb-fe0f-1f3fb",shortnames:[":lifter_tone1:",":weight_lifter_tone1:"],category:"activity"},":person_lifting_weights_tone2:":{uc_base:"1f3cb-1f3fc",uc_output:"1f3cb-1f3fc",uc_match:"1f3cb-fe0f-1f3fc",uc_greedy:"1f3cb-fe0f-1f3fc",shortnames:[":lifter_tone2:",":weight_lifter_tone2:"],category:"activity"},":person_lifting_weights_tone3:":{uc_base:"1f3cb-1f3fd",uc_output:"1f3cb-1f3fd",uc_match:"1f3cb-fe0f-1f3fd",uc_greedy:"1f3cb-fe0f-1f3fd",shortnames:[":lifter_tone3:",":weight_lifter_tone3:"],category:"activity"},":person_lifting_weights_tone4:":{uc_base:"1f3cb-1f3fe",uc_output:"1f3cb-1f3fe",uc_match:"1f3cb-fe0f-1f3fe",uc_greedy:"1f3cb-fe0f-1f3fe",shortnames:[":lifter_tone4:",":weight_lifter_tone4:"],category:"activity"},":person_lifting_weights_tone5:":{uc_base:"1f3cb-1f3ff",uc_output:"1f3cb-1f3ff",uc_match:"1f3cb-fe0f-1f3ff",uc_greedy:"1f3cb-fe0f-1f3ff",shortnames:[":lifter_tone5:",":weight_lifter_tone5:"],category:"activity"},":person_mountain_biking_tone1:":{uc_base:"1f6b5-1f3fb",uc_output:"1f6b5-1f3fb",uc_match:"1f6b5-1f3fb",uc_greedy:"1f6b5-1f3fb",shortnames:[":mountain_bicyclist_tone1:"],category:"activity"},":person_mountain_biking_tone2:":{uc_base:"1f6b5-1f3fc",uc_output:"1f6b5-1f3fc",uc_match:"1f6b5-1f3fc",uc_greedy:"1f6b5-1f3fc",shortnames:[":mountain_bicyclist_tone2:"],category:"activity"},":person_mountain_biking_tone3:":{uc_base:"1f6b5-1f3fd",uc_output:"1f6b5-1f3fd",uc_match:"1f6b5-1f3fd",uc_greedy:"1f6b5-1f3fd",shortnames:[":mountain_bicyclist_tone3:"],category:"activity"},":person_mountain_biking_tone4:":{uc_base:"1f6b5-1f3fe",uc_output:"1f6b5-1f3fe",uc_match:"1f6b5-1f3fe",uc_greedy:"1f6b5-1f3fe",shortnames:[":mountain_bicyclist_tone4:"],category:"activity"},":person_mountain_biking_tone5:":{uc_base:"1f6b5-1f3ff",uc_output:"1f6b5-1f3ff",uc_match:"1f6b5-1f3ff",uc_greedy:"1f6b5-1f3ff",shortnames:[":mountain_bicyclist_tone5:"],category:"activity"},":person_playing_handball_tone1:":{uc_base:"1f93e-1f3fb",uc_output:"1f93e-1f3fb",uc_match:"1f93e-1f3fb",uc_greedy:"1f93e-1f3fb",shortnames:[":handball_tone1:"],category:"activity"},":person_playing_handball_tone2:":{uc_base:"1f93e-1f3fc",uc_output:"1f93e-1f3fc",uc_match:"1f93e-1f3fc",uc_greedy:"1f93e-1f3fc",shortnames:[":handball_tone2:"],category:"activity"},":person_playing_handball_tone3:":{uc_base:"1f93e-1f3fd",uc_output:"1f93e-1f3fd",uc_match:"1f93e-1f3fd",uc_greedy:"1f93e-1f3fd",shortnames:[":handball_tone3:"],category:"activity"},":person_playing_handball_tone4:":{uc_base:"1f93e-1f3fe",uc_output:"1f93e-1f3fe",uc_match:"1f93e-1f3fe",uc_greedy:"1f93e-1f3fe",shortnames:[":handball_tone4:"],category:"activity"},":person_playing_handball_tone5:":{uc_base:"1f93e-1f3ff",uc_output:"1f93e-1f3ff",uc_match:"1f93e-1f3ff",uc_greedy:"1f93e-1f3ff",shortnames:[":handball_tone5:"],category:"activity"},":person_playing_water_polo_tone1:":{uc_base:"1f93d-1f3fb",uc_output:"1f93d-1f3fb",uc_match:"1f93d-1f3fb",uc_greedy:"1f93d-1f3fb",shortnames:[":water_polo_tone1:"],category:"activity"},":person_playing_water_polo_tone2:":{uc_base:"1f93d-1f3fc",uc_output:"1f93d-1f3fc",uc_match:"1f93d-1f3fc",uc_greedy:"1f93d-1f3fc",shortnames:[":water_polo_tone2:"],category:"activity"},":person_playing_water_polo_tone3:":{uc_base:"1f93d-1f3fd",uc_output:"1f93d-1f3fd",uc_match:"1f93d-1f3fd",uc_greedy:"1f93d-1f3fd",shortnames:[":water_polo_tone3:"],category:"activity"},":person_playing_water_polo_tone4:":{uc_base:"1f93d-1f3fe",uc_output:"1f93d-1f3fe",uc_match:"1f93d-1f3fe",uc_greedy:"1f93d-1f3fe",shortnames:[":water_polo_tone4:"],category:"activity"},":person_playing_water_polo_tone5:":{uc_base:"1f93d-1f3ff",uc_output:"1f93d-1f3ff",uc_match:"1f93d-1f3ff",uc_greedy:"1f93d-1f3ff",shortnames:[":water_polo_tone5:"],category:"activity"},":person_pouting_tone1:":{uc_base:"1f64e-1f3fb",uc_output:"1f64e-1f3fb",uc_match:"1f64e-1f3fb",uc_greedy:"1f64e-1f3fb",shortnames:[":person_with_pouting_face_tone1:"],category:"people"},":person_pouting_tone2:":{uc_base:"1f64e-1f3fc",uc_output:"1f64e-1f3fc",uc_match:"1f64e-1f3fc",uc_greedy:"1f64e-1f3fc",shortnames:[":person_with_pouting_face_tone2:"],category:"people"},":person_pouting_tone3:":{uc_base:"1f64e-1f3fd",uc_output:"1f64e-1f3fd",uc_match:"1f64e-1f3fd",uc_greedy:"1f64e-1f3fd",shortnames:[":person_with_pouting_face_tone3:"],category:"people"},":person_pouting_tone4:":{uc_base:"1f64e-1f3fe",uc_output:"1f64e-1f3fe",uc_match:"1f64e-1f3fe",uc_greedy:"1f64e-1f3fe",shortnames:[":person_with_pouting_face_tone4:"],category:"people"},":person_pouting_tone5:":{uc_base:"1f64e-1f3ff",uc_output:"1f64e-1f3ff",uc_match:"1f64e-1f3ff",uc_greedy:"1f64e-1f3ff",shortnames:[":person_with_pouting_face_tone5:"],category:"people"},":person_raising_hand_tone1:":{uc_base:"1f64b-1f3fb",uc_output:"1f64b-1f3fb",uc_match:"1f64b-1f3fb",uc_greedy:"1f64b-1f3fb",shortnames:[":raising_hand_tone1:"],category:"people"},":person_raising_hand_tone2:":{uc_base:"1f64b-1f3fc",uc_output:"1f64b-1f3fc",uc_match:"1f64b-1f3fc",uc_greedy:"1f64b-1f3fc",shortnames:[":raising_hand_tone2:"],category:"people"},":person_raising_hand_tone3:":{uc_base:"1f64b-1f3fd",uc_output:"1f64b-1f3fd",uc_match:"1f64b-1f3fd",uc_greedy:"1f64b-1f3fd",shortnames:[":raising_hand_tone3:"],category:"people"},":person_raising_hand_tone4:":{uc_base:"1f64b-1f3fe",uc_output:"1f64b-1f3fe",uc_match:"1f64b-1f3fe",uc_greedy:"1f64b-1f3fe",shortnames:[":raising_hand_tone4:"],category:"people"},":person_raising_hand_tone5:":{uc_base:"1f64b-1f3ff",uc_output:"1f64b-1f3ff",uc_match:"1f64b-1f3ff",uc_greedy:"1f64b-1f3ff",shortnames:[":raising_hand_tone5:"],category:"people"},":person_rowing_boat_tone1:":{uc_base:"1f6a3-1f3fb",uc_output:"1f6a3-1f3fb",uc_match:"1f6a3-1f3fb",uc_greedy:"1f6a3-1f3fb",shortnames:[":rowboat_tone1:"],category:"activity"},":person_rowing_boat_tone2:":{uc_base:"1f6a3-1f3fc",uc_output:"1f6a3-1f3fc",uc_match:"1f6a3-1f3fc",uc_greedy:"1f6a3-1f3fc",shortnames:[":rowboat_tone2:"],category:"activity"},":person_rowing_boat_tone3:":{uc_base:"1f6a3-1f3fd",uc_output:"1f6a3-1f3fd",uc_match:"1f6a3-1f3fd",uc_greedy:"1f6a3-1f3fd",shortnames:[":rowboat_tone3:"],category:"activity"},":person_rowing_boat_tone4:":{uc_base:"1f6a3-1f3fe",uc_output:"1f6a3-1f3fe",uc_match:"1f6a3-1f3fe",uc_greedy:"1f6a3-1f3fe",shortnames:[":rowboat_tone4:"],category:"activity"},":person_rowing_boat_tone5:":{uc_base:"1f6a3-1f3ff",uc_output:"1f6a3-1f3ff",uc_match:"1f6a3-1f3ff",uc_greedy:"1f6a3-1f3ff",shortnames:[":rowboat_tone5:"],category:"activity"},":person_running_tone1:":{uc_base:"1f3c3-1f3fb",uc_output:"1f3c3-1f3fb",uc_match:"1f3c3-1f3fb",uc_greedy:"1f3c3-1f3fb",shortnames:[":runner_tone1:"],category:"people"},":person_running_tone2:":{uc_base:"1f3c3-1f3fc",uc_output:"1f3c3-1f3fc",uc_match:"1f3c3-1f3fc",uc_greedy:"1f3c3-1f3fc",shortnames:[":runner_tone2:"],category:"people"},":person_running_tone3:":{uc_base:"1f3c3-1f3fd",uc_output:"1f3c3-1f3fd",uc_match:"1f3c3-1f3fd",uc_greedy:"1f3c3-1f3fd",shortnames:[":runner_tone3:"],category:"people"},":person_running_tone4:":{uc_base:"1f3c3-1f3fe",uc_output:"1f3c3-1f3fe",uc_match:"1f3c3-1f3fe",uc_greedy:"1f3c3-1f3fe",shortnames:[":runner_tone4:"],category:"people"},":person_running_tone5:":{uc_base:"1f3c3-1f3ff",uc_output:"1f3c3-1f3ff",uc_match:"1f3c3-1f3ff",uc_greedy:"1f3c3-1f3ff",shortnames:[":runner_tone5:"],category:"people"},":person_shrugging_tone1:":{uc_base:"1f937-1f3fb",uc_output:"1f937-1f3fb",uc_match:"1f937-1f3fb",uc_greedy:"1f937-1f3fb",shortnames:[":shrug_tone1:"],category:"people"},":person_shrugging_tone2:":{uc_base:"1f937-1f3fc",uc_output:"1f937-1f3fc",uc_match:"1f937-1f3fc",uc_greedy:"1f937-1f3fc",shortnames:[":shrug_tone2:"],category:"people"},":person_shrugging_tone3:":{uc_base:"1f937-1f3fd",uc_output:"1f937-1f3fd",uc_match:"1f937-1f3fd",uc_greedy:"1f937-1f3fd",shortnames:[":shrug_tone3:"],category:"people"},":person_shrugging_tone4:":{uc_base:"1f937-1f3fe",uc_output:"1f937-1f3fe",uc_match:"1f937-1f3fe",uc_greedy:"1f937-1f3fe",shortnames:[":shrug_tone4:"],category:"people"},":person_shrugging_tone5:":{uc_base:"1f937-1f3ff",uc_output:"1f937-1f3ff",uc_match:"1f937-1f3ff",uc_greedy:"1f937-1f3ff",shortnames:[":shrug_tone5:"],category:"people"},":person_surfing_tone1:":{uc_base:"1f3c4-1f3fb",uc_output:"1f3c4-1f3fb",uc_match:"1f3c4-1f3fb",uc_greedy:"1f3c4-1f3fb",shortnames:[":surfer_tone1:"],category:"activity"},":person_surfing_tone2:":{uc_base:"1f3c4-1f3fc",uc_output:"1f3c4-1f3fc",uc_match:"1f3c4-1f3fc",uc_greedy:"1f3c4-1f3fc",shortnames:[":surfer_tone2:"],category:"activity"},":person_surfing_tone3:":{uc_base:"1f3c4-1f3fd",uc_output:"1f3c4-1f3fd",uc_match:"1f3c4-1f3fd",uc_greedy:"1f3c4-1f3fd",shortnames:[":surfer_tone3:"],category:"activity"},":person_surfing_tone4:":{uc_base:"1f3c4-1f3fe",uc_output:"1f3c4-1f3fe",uc_match:"1f3c4-1f3fe",uc_greedy:"1f3c4-1f3fe",shortnames:[":surfer_tone4:"],category:"activity"},":person_surfing_tone5:":{uc_base:"1f3c4-1f3ff",uc_output:"1f3c4-1f3ff",uc_match:"1f3c4-1f3ff",uc_greedy:"1f3c4-1f3ff",shortnames:[":surfer_tone5:"],category:"activity"},":person_swimming_tone1:":{uc_base:"1f3ca-1f3fb",uc_output:"1f3ca-1f3fb",uc_match:"1f3ca-1f3fb",uc_greedy:"1f3ca-1f3fb",shortnames:[":swimmer_tone1:"],category:"activity"},":person_swimming_tone2:":{uc_base:"1f3ca-1f3fc",uc_output:"1f3ca-1f3fc",uc_match:"1f3ca-1f3fc",uc_greedy:"1f3ca-1f3fc",shortnames:[":swimmer_tone2:"],category:"activity"},":person_swimming_tone3:":{uc_base:"1f3ca-1f3fd",uc_output:"1f3ca-1f3fd",uc_match:"1f3ca-1f3fd",uc_greedy:"1f3ca-1f3fd",shortnames:[":swimmer_tone3:"],category:"activity"},":person_swimming_tone4:":{uc_base:"1f3ca-1f3fe",uc_output:"1f3ca-1f3fe",uc_match:"1f3ca-1f3fe",uc_greedy:"1f3ca-1f3fe",shortnames:[":swimmer_tone4:"],category:"activity"},":person_swimming_tone5:":{uc_base:"1f3ca-1f3ff",uc_output:"1f3ca-1f3ff",uc_match:"1f3ca-1f3ff",uc_greedy:"1f3ca-1f3ff",shortnames:[":swimmer_tone5:"],category:"activity"},":person_tipping_hand_tone1:":{uc_base:"1f481-1f3fb",uc_output:"1f481-1f3fb",uc_match:"1f481-1f3fb",uc_greedy:"1f481-1f3fb",shortnames:[":information_desk_person_tone1:"],category:"people"},":person_tipping_hand_tone2:":{uc_base:"1f481-1f3fc",uc_output:"1f481-1f3fc",uc_match:"1f481-1f3fc",uc_greedy:"1f481-1f3fc",shortnames:[":information_desk_person_tone2:"],category:"people"},":person_tipping_hand_tone3:":{uc_base:"1f481-1f3fd",uc_output:"1f481-1f3fd",uc_match:"1f481-1f3fd",uc_greedy:"1f481-1f3fd",shortnames:[":information_desk_person_tone3:"],category:"people"},":person_tipping_hand_tone4:":{uc_base:"1f481-1f3fe",uc_output:"1f481-1f3fe",uc_match:"1f481-1f3fe",uc_greedy:"1f481-1f3fe",shortnames:[":information_desk_person_tone4:"],category:"people"},":person_tipping_hand_tone5:":{uc_base:"1f481-1f3ff",uc_output:"1f481-1f3ff",uc_match:"1f481-1f3ff",uc_greedy:"1f481-1f3ff",shortnames:[":information_desk_person_tone5:"],category:"people"},":person_walking_tone1:":{uc_base:"1f6b6-1f3fb",uc_output:"1f6b6-1f3fb",uc_match:"1f6b6-1f3fb",uc_greedy:"1f6b6-1f3fb",shortnames:[":walking_tone1:"],category:"people"},":person_walking_tone2:":{uc_base:"1f6b6-1f3fc",uc_output:"1f6b6-1f3fc",uc_match:"1f6b6-1f3fc",uc_greedy:"1f6b6-1f3fc",shortnames:[":walking_tone2:"],category:"people"},":person_walking_tone3:":{uc_base:"1f6b6-1f3fd",uc_output:"1f6b6-1f3fd",uc_match:"1f6b6-1f3fd",uc_greedy:"1f6b6-1f3fd",shortnames:[":walking_tone3:"],category:"people"},":person_walking_tone4:":{uc_base:"1f6b6-1f3fe",uc_output:"1f6b6-1f3fe",uc_match:"1f6b6-1f3fe",uc_greedy:"1f6b6-1f3fe",shortnames:[":walking_tone4:"],category:"people"},":person_walking_tone5:":{uc_base:"1f6b6-1f3ff",uc_output:"1f6b6-1f3ff",uc_match:"1f6b6-1f3ff",uc_greedy:"1f6b6-1f3ff",shortnames:[":walking_tone5:"],category:"people"},":person_wearing_turban_tone1:":{uc_base:"1f473-1f3fb",uc_output:"1f473-1f3fb",uc_match:"1f473-1f3fb",uc_greedy:"1f473-1f3fb",shortnames:[":man_with_turban_tone1:"],category:"people"},":person_wearing_turban_tone2:":{uc_base:"1f473-1f3fc",uc_output:"1f473-1f3fc",uc_match:"1f473-1f3fc",uc_greedy:"1f473-1f3fc",shortnames:[":man_with_turban_tone2:"],category:"people"},":person_wearing_turban_tone3:":{uc_base:"1f473-1f3fd",uc_output:"1f473-1f3fd",uc_match:"1f473-1f3fd",uc_greedy:"1f473-1f3fd",shortnames:[":man_with_turban_tone3:"],category:"people"},":person_wearing_turban_tone4:":{uc_base:"1f473-1f3fe",uc_output:"1f473-1f3fe",uc_match:"1f473-1f3fe",uc_greedy:"1f473-1f3fe",shortnames:[":man_with_turban_tone4:"],category:"people"},":person_wearing_turban_tone5:":{uc_base:"1f473-1f3ff",uc_output:"1f473-1f3ff",uc_match:"1f473-1f3ff",uc_greedy:"1f473-1f3ff",shortnames:[":man_with_turban_tone5:"],category:"people"},":point_down_tone1:":{uc_base:"1f447-1f3fb",uc_output:"1f447-1f3fb",uc_match:"1f447-1f3fb",uc_greedy:"1f447-1f3fb",shortnames:[],category:"people"},":point_down_tone2:":{uc_base:"1f447-1f3fc",uc_output:"1f447-1f3fc",uc_match:"1f447-1f3fc",uc_greedy:"1f447-1f3fc",shortnames:[],category:"people"},":point_down_tone3:":{uc_base:"1f447-1f3fd",uc_output:"1f447-1f3fd",uc_match:"1f447-1f3fd",uc_greedy:"1f447-1f3fd",shortnames:[],category:"people"},":point_down_tone4:":{uc_base:"1f447-1f3fe",uc_output:"1f447-1f3fe",uc_match:"1f447-1f3fe",uc_greedy:"1f447-1f3fe",shortnames:[],category:"people"},":point_down_tone5:":{uc_base:"1f447-1f3ff",uc_output:"1f447-1f3ff",uc_match:"1f447-1f3ff",uc_greedy:"1f447-1f3ff",shortnames:[],category:"people"},":point_left_tone1:":{uc_base:"1f448-1f3fb",uc_output:"1f448-1f3fb",uc_match:"1f448-1f3fb",uc_greedy:"1f448-1f3fb",shortnames:[],category:"people"},":point_left_tone2:":{uc_base:"1f448-1f3fc",uc_output:"1f448-1f3fc",uc_match:"1f448-1f3fc",uc_greedy:"1f448-1f3fc",shortnames:[],category:"people"},":point_left_tone3:":{uc_base:"1f448-1f3fd",uc_output:"1f448-1f3fd",uc_match:"1f448-1f3fd",uc_greedy:"1f448-1f3fd",shortnames:[],category:"people"},":point_left_tone4:":{uc_base:"1f448-1f3fe",uc_output:"1f448-1f3fe",uc_match:"1f448-1f3fe",uc_greedy:"1f448-1f3fe",shortnames:[],category:"people"},":point_left_tone5:":{uc_base:"1f448-1f3ff",uc_output:"1f448-1f3ff",uc_match:"1f448-1f3ff",uc_greedy:"1f448-1f3ff",shortnames:[],category:"people"},":point_right_tone1:":{uc_base:"1f449-1f3fb",uc_output:"1f449-1f3fb",uc_match:"1f449-1f3fb",uc_greedy:"1f449-1f3fb",shortnames:[],category:"people"},":point_right_tone2:":{uc_base:"1f449-1f3fc",uc_output:"1f449-1f3fc",uc_match:"1f449-1f3fc",uc_greedy:"1f449-1f3fc",shortnames:[],category:"people"},":point_right_tone3:":{uc_base:"1f449-1f3fd",uc_output:"1f449-1f3fd",uc_match:"1f449-1f3fd",uc_greedy:"1f449-1f3fd",shortnames:[],category:"people"},":point_right_tone4:":{uc_base:"1f449-1f3fe",uc_output:"1f449-1f3fe",uc_match:"1f449-1f3fe",uc_greedy:"1f449-1f3fe",shortnames:[],category:"people"},":point_right_tone5:":{uc_base:"1f449-1f3ff",uc_output:"1f449-1f3ff",uc_match:"1f449-1f3ff",uc_greedy:"1f449-1f3ff",shortnames:[],category:"people"},":point_up_2_tone1:":{uc_base:"1f446-1f3fb",uc_output:"1f446-1f3fb",uc_match:"1f446-1f3fb",uc_greedy:"1f446-1f3fb",shortnames:[],category:"people"},":point_up_2_tone2:":{uc_base:"1f446-1f3fc",uc_output:"1f446-1f3fc",uc_match:"1f446-1f3fc",uc_greedy:"1f446-1f3fc",shortnames:[],category:"people"},":point_up_2_tone3:":{uc_base:"1f446-1f3fd",uc_output:"1f446-1f3fd",uc_match:"1f446-1f3fd",uc_greedy:"1f446-1f3fd",shortnames:[],category:"people"},":point_up_2_tone4:":{uc_base:"1f446-1f3fe",uc_output:"1f446-1f3fe",uc_match:"1f446-1f3fe",uc_greedy:"1f446-1f3fe",shortnames:[],category:"people"},":point_up_2_tone5:":{uc_base:"1f446-1f3ff",uc_output:"1f446-1f3ff",uc_match:"1f446-1f3ff",uc_greedy:"1f446-1f3ff",shortnames:[],category:"people"},":police_officer_tone1:":{uc_base:"1f46e-1f3fb",uc_output:"1f46e-1f3fb",uc_match:"1f46e-1f3fb",uc_greedy:"1f46e-1f3fb",shortnames:[":cop_tone1:"],category:"people"},":police_officer_tone2:":{uc_base:"1f46e-1f3fc",uc_output:"1f46e-1f3fc",uc_match:"1f46e-1f3fc",uc_greedy:"1f46e-1f3fc",shortnames:[":cop_tone2:"],category:"people"},":police_officer_tone3:":{uc_base:"1f46e-1f3fd",uc_output:"1f46e-1f3fd",uc_match:"1f46e-1f3fd",uc_greedy:"1f46e-1f3fd",shortnames:[":cop_tone3:"],category:"people"},":police_officer_tone4:":{uc_base:"1f46e-1f3fe",uc_output:"1f46e-1f3fe",uc_match:"1f46e-1f3fe",uc_greedy:"1f46e-1f3fe",shortnames:[":cop_tone4:"],category:"people"},":police_officer_tone5:":{uc_base:"1f46e-1f3ff",uc_output:"1f46e-1f3ff",uc_match:"1f46e-1f3ff",uc_greedy:"1f46e-1f3ff",shortnames:[":cop_tone5:"],category:"people"},":pray_tone1:":{uc_base:"1f64f-1f3fb",uc_output:"1f64f-1f3fb",uc_match:"1f64f-1f3fb",uc_greedy:"1f64f-1f3fb",shortnames:[],category:"people"},":pray_tone2:":{uc_base:"1f64f-1f3fc",uc_output:"1f64f-1f3fc",uc_match:"1f64f-1f3fc",uc_greedy:"1f64f-1f3fc",shortnames:[],category:"people"},":pray_tone3:":{uc_base:"1f64f-1f3fd",uc_output:"1f64f-1f3fd",uc_match:"1f64f-1f3fd",uc_greedy:"1f64f-1f3fd",shortnames:[],category:"people"},":pray_tone4:":{uc_base:"1f64f-1f3fe",uc_output:"1f64f-1f3fe",uc_match:"1f64f-1f3fe",uc_greedy:"1f64f-1f3fe",shortnames:[],category:"people"},":pray_tone5:":{uc_base:"1f64f-1f3ff",uc_output:"1f64f-1f3ff",uc_match:"1f64f-1f3ff",uc_greedy:"1f64f-1f3ff",shortnames:[],category:"people"},":pregnant_woman_tone1:":{uc_base:"1f930-1f3fb",uc_output:"1f930-1f3fb",uc_match:"1f930-1f3fb",uc_greedy:"1f930-1f3fb",shortnames:[":expecting_woman_tone1:"],category:"people"},":pregnant_woman_tone2:":{uc_base:"1f930-1f3fc",uc_output:"1f930-1f3fc",uc_match:"1f930-1f3fc",uc_greedy:"1f930-1f3fc",shortnames:[":expecting_woman_tone2:"],category:"people"},":pregnant_woman_tone3:":{uc_base:"1f930-1f3fd",uc_output:"1f930-1f3fd",uc_match:"1f930-1f3fd",uc_greedy:"1f930-1f3fd",shortnames:[":expecting_woman_tone3:"],category:"people"},":pregnant_woman_tone4:":{uc_base:"1f930-1f3fe",uc_output:"1f930-1f3fe",uc_match:"1f930-1f3fe",uc_greedy:"1f930-1f3fe",shortnames:[":expecting_woman_tone4:"],category:"people"},":pregnant_woman_tone5:":{uc_base:"1f930-1f3ff",uc_output:"1f930-1f3ff",uc_match:"1f930-1f3ff",uc_greedy:"1f930-1f3ff",shortnames:[":expecting_woman_tone5:"],category:"people"},":prince_tone1:":{uc_base:"1f934-1f3fb",uc_output:"1f934-1f3fb",uc_match:"1f934-1f3fb",uc_greedy:"1f934-1f3fb",shortnames:[],category:"people"},":prince_tone2:":{uc_base:"1f934-1f3fc",uc_output:"1f934-1f3fc",uc_match:"1f934-1f3fc",uc_greedy:"1f934-1f3fc",shortnames:[],category:"people"},":prince_tone3:":{uc_base:"1f934-1f3fd",uc_output:"1f934-1f3fd",uc_match:"1f934-1f3fd",uc_greedy:"1f934-1f3fd",shortnames:[],category:"people"},":prince_tone4:":{uc_base:"1f934-1f3fe",uc_output:"1f934-1f3fe",uc_match:"1f934-1f3fe",uc_greedy:"1f934-1f3fe",shortnames:[],category:"people"},":prince_tone5:":{uc_base:"1f934-1f3ff",uc_output:"1f934-1f3ff",uc_match:"1f934-1f3ff",uc_greedy:"1f934-1f3ff",shortnames:[],category:"people"},":princess_tone1:":{uc_base:"1f478-1f3fb",uc_output:"1f478-1f3fb",uc_match:"1f478-1f3fb",uc_greedy:"1f478-1f3fb",shortnames:[],category:"people"},":princess_tone2:":{uc_base:"1f478-1f3fc",uc_output:"1f478-1f3fc",uc_match:"1f478-1f3fc",uc_greedy:"1f478-1f3fc",shortnames:[],category:"people"},":princess_tone3:":{uc_base:"1f478-1f3fd",uc_output:"1f478-1f3fd",uc_match:"1f478-1f3fd",uc_greedy:"1f478-1f3fd",shortnames:[],category:"people"},":princess_tone4:":{uc_base:"1f478-1f3fe",uc_output:"1f478-1f3fe",uc_match:"1f478-1f3fe",uc_greedy:"1f478-1f3fe",shortnames:[],category:"people"},":princess_tone5:":{uc_base:"1f478-1f3ff",uc_output:"1f478-1f3ff",uc_match:"1f478-1f3ff",uc_greedy:"1f478-1f3ff",shortnames:[],category:"people"},":punch_tone1:":{uc_base:"1f44a-1f3fb",uc_output:"1f44a-1f3fb",uc_match:"1f44a-1f3fb",uc_greedy:"1f44a-1f3fb",shortnames:[],category:"people"},":punch_tone2:":{uc_base:"1f44a-1f3fc",uc_output:"1f44a-1f3fc",uc_match:"1f44a-1f3fc",uc_greedy:"1f44a-1f3fc",shortnames:[],category:"people"},":punch_tone3:":{uc_base:"1f44a-1f3fd",uc_output:"1f44a-1f3fd",uc_match:"1f44a-1f3fd",uc_greedy:"1f44a-1f3fd",shortnames:[],category:"people"},":punch_tone4:":{uc_base:"1f44a-1f3fe",uc_output:"1f44a-1f3fe",uc_match:"1f44a-1f3fe",uc_greedy:"1f44a-1f3fe",shortnames:[],category:"people"},":punch_tone5:":{uc_base:"1f44a-1f3ff",uc_output:"1f44a-1f3ff",uc_match:"1f44a-1f3ff",uc_greedy:"1f44a-1f3ff",shortnames:[],category:"people"},":raised_back_of_hand_tone1:":{uc_base:"1f91a-1f3fb",uc_output:"1f91a-1f3fb",uc_match:"1f91a-1f3fb",uc_greedy:"1f91a-1f3fb",shortnames:[":back_of_hand_tone1:"],category:"people"},":raised_back_of_hand_tone2:":{uc_base:"1f91a-1f3fc",uc_output:"1f91a-1f3fc",uc_match:"1f91a-1f3fc",uc_greedy:"1f91a-1f3fc",shortnames:[":back_of_hand_tone2:"],category:"people"},":raised_back_of_hand_tone3:":{uc_base:"1f91a-1f3fd",uc_output:"1f91a-1f3fd",uc_match:"1f91a-1f3fd",uc_greedy:"1f91a-1f3fd",shortnames:[":back_of_hand_tone3:"],category:"people"},":raised_back_of_hand_tone4:":{uc_base:"1f91a-1f3fe",uc_output:"1f91a-1f3fe",uc_match:"1f91a-1f3fe",uc_greedy:"1f91a-1f3fe",shortnames:[":back_of_hand_tone4:"],category:"people"},":raised_back_of_hand_tone5:":{uc_base:"1f91a-1f3ff",uc_output:"1f91a-1f3ff",uc_match:"1f91a-1f3ff",uc_greedy:"1f91a-1f3ff",shortnames:[":back_of_hand_tone5:"],category:"people"},":raised_hands_tone1:":{uc_base:"1f64c-1f3fb",uc_output:"1f64c-1f3fb",uc_match:"1f64c-1f3fb",uc_greedy:"1f64c-1f3fb",shortnames:[],category:"people"},":raised_hands_tone2:":{uc_base:"1f64c-1f3fc",uc_output:"1f64c-1f3fc",uc_match:"1f64c-1f3fc",uc_greedy:"1f64c-1f3fc",shortnames:[],category:"people"},":raised_hands_tone3:":{uc_base:"1f64c-1f3fd",uc_output:"1f64c-1f3fd",uc_match:"1f64c-1f3fd",uc_greedy:"1f64c-1f3fd",shortnames:[],category:"people"},":raised_hands_tone4:":{uc_base:"1f64c-1f3fe",uc_output:"1f64c-1f3fe",uc_match:"1f64c-1f3fe",uc_greedy:"1f64c-1f3fe",shortnames:[],category:"people"},":raised_hands_tone5:":{uc_base:"1f64c-1f3ff",uc_output:"1f64c-1f3ff",uc_match:"1f64c-1f3ff",uc_greedy:"1f64c-1f3ff",shortnames:[],category:"people"},":right_facing_fist_tone1:":{uc_base:"1f91c-1f3fb",uc_output:"1f91c-1f3fb",uc_match:"1f91c-1f3fb",uc_greedy:"1f91c-1f3fb",shortnames:[":right_fist_tone1:"],category:"people"},":right_facing_fist_tone2:":{uc_base:"1f91c-1f3fc",uc_output:"1f91c-1f3fc",uc_match:"1f91c-1f3fc",uc_greedy:"1f91c-1f3fc",shortnames:[":right_fist_tone2:"],category:"people"},":right_facing_fist_tone3:":{uc_base:"1f91c-1f3fd",uc_output:"1f91c-1f3fd",uc_match:"1f91c-1f3fd",uc_greedy:"1f91c-1f3fd",shortnames:[":right_fist_tone3:"],category:"people"},":right_facing_fist_tone4:":{uc_base:"1f91c-1f3fe",uc_output:"1f91c-1f3fe",uc_match:"1f91c-1f3fe",uc_greedy:"1f91c-1f3fe",shortnames:[":right_fist_tone4:"],category:"people"},":right_facing_fist_tone5:":{uc_base:"1f91c-1f3ff",uc_output:"1f91c-1f3ff",uc_match:"1f91c-1f3ff",uc_greedy:"1f91c-1f3ff",shortnames:[":right_fist_tone5:"],category:"people"},":santa_tone1:":{uc_base:"1f385-1f3fb",uc_output:"1f385-1f3fb",uc_match:"1f385-1f3fb",uc_greedy:"1f385-1f3fb",shortnames:[],category:"people"},":santa_tone2:":{uc_base:"1f385-1f3fc",uc_output:"1f385-1f3fc",uc_match:"1f385-1f3fc",uc_greedy:"1f385-1f3fc",shortnames:[],category:"people"},":santa_tone3:":{uc_base:"1f385-1f3fd",uc_output:"1f385-1f3fd",uc_match:"1f385-1f3fd",uc_greedy:"1f385-1f3fd",shortnames:[],category:"people"},":santa_tone4:":{uc_base:"1f385-1f3fe",uc_output:"1f385-1f3fe",uc_match:"1f385-1f3fe",uc_greedy:"1f385-1f3fe",shortnames:[],category:"people"},":santa_tone5:":{uc_base:"1f385-1f3ff",uc_output:"1f385-1f3ff",uc_match:"1f385-1f3ff",uc_greedy:"1f385-1f3ff",shortnames:[],category:"people"},":selfie_tone1:":{uc_base:"1f933-1f3fb",uc_output:"1f933-1f3fb",uc_match:"1f933-1f3fb",uc_greedy:"1f933-1f3fb",shortnames:[],category:"people"},":selfie_tone2:":{uc_base:"1f933-1f3fc",uc_output:"1f933-1f3fc",uc_match:"1f933-1f3fc",uc_greedy:"1f933-1f3fc",shortnames:[],category:"people"},":selfie_tone3:":{uc_base:"1f933-1f3fd",uc_output:"1f933-1f3fd",uc_match:"1f933-1f3fd",uc_greedy:"1f933-1f3fd",shortnames:[],category:"people"},":selfie_tone4:":{uc_base:"1f933-1f3fe",uc_output:"1f933-1f3fe",uc_match:"1f933-1f3fe",uc_greedy:"1f933-1f3fe",shortnames:[],category:"people"},":selfie_tone5:":{uc_base:"1f933-1f3ff",uc_output:"1f933-1f3ff",uc_match:"1f933-1f3ff",uc_greedy:"1f933-1f3ff",shortnames:[],category:"people"},":snowboarder_tone1:":{uc_base:"1f3c2-1f3fb",uc_output:"1f3c2-1f3fb",uc_match:"1f3c2-1f3fb",uc_greedy:"1f3c2-1f3fb",shortnames:[":snowboarder_light_skin_tone:"],category:"activity"},":snowboarder_tone2:":{uc_base:"1f3c2-1f3fc",uc_output:"1f3c2-1f3fc",uc_match:"1f3c2-1f3fc",uc_greedy:"1f3c2-1f3fc",shortnames:[":snowboarder_medium_light_skin_tone:"],category:"activity"},":snowboarder_tone3:":{uc_base:"1f3c2-1f3fd",uc_output:"1f3c2-1f3fd",uc_match:"1f3c2-1f3fd",uc_greedy:"1f3c2-1f3fd",shortnames:[":snowboarder_medium_skin_tone:"],category:"activity"},":snowboarder_tone4:":{uc_base:"1f3c2-1f3fe",uc_output:"1f3c2-1f3fe",uc_match:"1f3c2-1f3fe",uc_greedy:"1f3c2-1f3fe",shortnames:[":snowboarder_medium_dark_skin_tone:"],category:"activity"},":snowboarder_tone5:":{uc_base:"1f3c2-1f3ff",uc_output:"1f3c2-1f3ff",uc_match:"1f3c2-1f3ff",uc_greedy:"1f3c2-1f3ff",shortnames:[":snowboarder_dark_skin_tone:"],category:"activity"},":superhero_tone1:":{uc_base:"1f9b8-1f3fb",uc_output:"1f9b8-1f3fb",uc_match:"1f9b8-1f3fb",uc_greedy:"1f9b8-1f3fb",shortnames:[":superhero_light_skin_tone:"],category:"people"},":superhero_tone2:":{uc_base:"1f9b8-1f3fc",uc_output:"1f9b8-1f3fc",uc_match:"1f9b8-1f3fc",uc_greedy:"1f9b8-1f3fc",shortnames:[":superhero_medium_light_skin_tone:"],category:"people"},":superhero_tone3:":{uc_base:"1f9b8-1f3fd",uc_output:"1f9b8-1f3fd",uc_match:"1f9b8-1f3fd",uc_greedy:"1f9b8-1f3fd",shortnames:[":superhero_medium_skin_tone:"],category:"people"},":superhero_tone4:":{uc_base:"1f9b8-1f3fe",uc_output:"1f9b8-1f3fe",uc_match:"1f9b8-1f3fe",uc_greedy:"1f9b8-1f3fe",shortnames:[":superhero_medium_dark_skin_tone:"],category:"people"},":superhero_tone5:":{uc_base:"1f9b8-1f3ff",uc_output:"1f9b8-1f3ff",uc_match:"1f9b8-1f3ff",uc_greedy:"1f9b8-1f3ff",shortnames:[":superhero_dark_skin_tone:"],category:"people"},":supervillain_tone1:":{uc_base:"1f9b9-1f3fb",uc_output:"1f9b9-1f3fb",uc_match:"1f9b9-1f3fb",uc_greedy:"1f9b9-1f3fb",shortnames:[":supervillain_light_skin_tone:"],category:"people"},":supervillain_tone2:":{uc_base:"1f9b9-1f3fc",uc_output:"1f9b9-1f3fc",uc_match:"1f9b9-1f3fc",uc_greedy:"1f9b9-1f3fc",shortnames:[":supervillain_medium_light_skin_tone:"],category:"people"},":supervillain_tone3:":{uc_base:"1f9b9-1f3fd",uc_output:"1f9b9-1f3fd",uc_match:"1f9b9-1f3fd",uc_greedy:"1f9b9-1f3fd",shortnames:[":supervillain_medium_skin_tone:"],category:"people"},":supervillain_tone4:":{uc_base:"1f9b9-1f3fe",uc_output:"1f9b9-1f3fe",uc_match:"1f9b9-1f3fe",uc_greedy:"1f9b9-1f3fe",shortnames:[":supervillain_medium_dark_skin_tone:"],category:"people"},":supervillain_tone5:":{uc_base:"1f9b9-1f3ff",uc_output:"1f9b9-1f3ff",uc_match:"1f9b9-1f3ff",uc_greedy:"1f9b9-1f3ff",shortnames:[":supervillain_dark_skin_tone:"],category:"people"},":thumbsdown_tone1:":{uc_base:"1f44e-1f3fb",uc_output:"1f44e-1f3fb",uc_match:"1f44e-1f3fb",uc_greedy:"1f44e-1f3fb",shortnames:[":-1_tone1:",":thumbdown_tone1:"],category:"people"},":thumbsdown_tone2:":{uc_base:"1f44e-1f3fc",uc_output:"1f44e-1f3fc",uc_match:"1f44e-1f3fc",uc_greedy:"1f44e-1f3fc",shortnames:[":-1_tone2:",":thumbdown_tone2:"],category:"people"},":thumbsdown_tone3:":{uc_base:"1f44e-1f3fd",uc_output:"1f44e-1f3fd",uc_match:"1f44e-1f3fd",uc_greedy:"1f44e-1f3fd",shortnames:[":-1_tone3:",":thumbdown_tone3:"],category:"people"},":thumbsdown_tone4:":{uc_base:"1f44e-1f3fe",uc_output:"1f44e-1f3fe",uc_match:"1f44e-1f3fe",uc_greedy:"1f44e-1f3fe",shortnames:[":-1_tone4:",":thumbdown_tone4:"],category:"people"},":thumbsdown_tone5:":{uc_base:"1f44e-1f3ff",uc_output:"1f44e-1f3ff",uc_match:"1f44e-1f3ff",uc_greedy:"1f44e-1f3ff",shortnames:[":-1_tone5:",":thumbdown_tone5:"],category:"people"},":thumbsup_tone1:":{uc_base:"1f44d-1f3fb",uc_output:"1f44d-1f3fb",uc_match:"1f44d-1f3fb",uc_greedy:"1f44d-1f3fb",shortnames:[":+1_tone1:",":thumbup_tone1:"],category:"people"},":thumbsup_tone2:":{uc_base:"1f44d-1f3fc",uc_output:"1f44d-1f3fc",uc_match:"1f44d-1f3fc",uc_greedy:"1f44d-1f3fc",shortnames:[":+1_tone2:",":thumbup_tone2:"],category:"people"},":thumbsup_tone3:":{uc_base:"1f44d-1f3fd",uc_output:"1f44d-1f3fd",uc_match:"1f44d-1f3fd",uc_greedy:"1f44d-1f3fd",shortnames:[":+1_tone3:",":thumbup_tone3:"],category:"people"},":thumbsup_tone4:":{uc_base:"1f44d-1f3fe",uc_output:"1f44d-1f3fe",uc_match:"1f44d-1f3fe",uc_greedy:"1f44d-1f3fe",shortnames:[":+1_tone4:",":thumbup_tone4:"],category:"people"},":thumbsup_tone5:":{uc_base:"1f44d-1f3ff",uc_output:"1f44d-1f3ff",uc_match:"1f44d-1f3ff",uc_greedy:"1f44d-1f3ff",shortnames:[":+1_tone5:",":thumbup_tone5:"],category:"people"},":united_nations:":{uc_base:"1f1fa-1f1f3",uc_output:"1f1fa-1f1f3",uc_match:"1f1fa-1f1f3",uc_greedy:"1f1fa-1f1f3",shortnames:[],category:"flags"},":vampire_tone1:":{uc_base:"1f9db-1f3fb",uc_output:"1f9db-1f3fb",uc_match:"1f9db-1f3fb",uc_greedy:"1f9db-1f3fb",shortnames:[":vampire_light_skin_tone:"],category:"people"},":vampire_tone2:":{uc_base:"1f9db-1f3fc",uc_output:"1f9db-1f3fc",uc_match:"1f9db-1f3fc",uc_greedy:"1f9db-1f3fc",shortnames:[":vampire_medium_light_skin_tone:"],category:"people"},":vampire_tone3:":{uc_base:"1f9db-1f3fd",uc_output:"1f9db-1f3fd",uc_match:"1f9db-1f3fd",uc_greedy:"1f9db-1f3fd",shortnames:[":vampire_medium_skin_tone:"],category:"people"},":vampire_tone4:":{uc_base:"1f9db-1f3fe",uc_output:"1f9db-1f3fe",uc_match:"1f9db-1f3fe",uc_greedy:"1f9db-1f3fe",shortnames:[":vampire_medium_dark_skin_tone:"],category:"people"},":vampire_tone5:":{uc_base:"1f9db-1f3ff",uc_output:"1f9db-1f3ff",uc_match:"1f9db-1f3ff",uc_greedy:"1f9db-1f3ff",shortnames:[":vampire_dark_skin_tone:"],category:"people"},":vulcan_tone1:":{uc_base:"1f596-1f3fb",uc_output:"1f596-1f3fb",uc_match:"1f596-1f3fb",uc_greedy:"1f596-1f3fb",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone1:"],category:"people"},":vulcan_tone2:":{uc_base:"1f596-1f3fc",uc_output:"1f596-1f3fc",uc_match:"1f596-1f3fc",uc_greedy:"1f596-1f3fc",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone2:"],category:"people"},":vulcan_tone3:":{uc_base:"1f596-1f3fd",uc_output:"1f596-1f3fd",uc_match:"1f596-1f3fd",uc_greedy:"1f596-1f3fd",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone3:"],category:"people"},":vulcan_tone4:":{uc_base:"1f596-1f3fe",uc_output:"1f596-1f3fe",uc_match:"1f596-1f3fe",uc_greedy:"1f596-1f3fe",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone4:"],category:"people"},":vulcan_tone5:":{uc_base:"1f596-1f3ff",uc_output:"1f596-1f3ff",uc_match:"1f596-1f3ff",uc_greedy:"1f596-1f3ff",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone5:"],category:"people"},":wave_tone1:":{uc_base:"1f44b-1f3fb",uc_output:"1f44b-1f3fb",uc_match:"1f44b-1f3fb",uc_greedy:"1f44b-1f3fb",shortnames:[],category:"people"},":wave_tone2:":{uc_base:"1f44b-1f3fc",uc_output:"1f44b-1f3fc",uc_match:"1f44b-1f3fc",uc_greedy:"1f44b-1f3fc",shortnames:[],category:"people"},":wave_tone3:":{uc_base:"1f44b-1f3fd",uc_output:"1f44b-1f3fd",uc_match:"1f44b-1f3fd",uc_greedy:"1f44b-1f3fd",shortnames:[],category:"people"},":wave_tone4:":{uc_base:"1f44b-1f3fe",uc_output:"1f44b-1f3fe",uc_match:"1f44b-1f3fe",uc_greedy:"1f44b-1f3fe",shortnames:[],category:"people"},":wave_tone5:":{uc_base:"1f44b-1f3ff",uc_output:"1f44b-1f3ff",uc_match:"1f44b-1f3ff",uc_greedy:"1f44b-1f3ff",shortnames:[],category:"people"},":woman_tone1:":{uc_base:"1f469-1f3fb",uc_output:"1f469-1f3fb",uc_match:"1f469-1f3fb",uc_greedy:"1f469-1f3fb",shortnames:[],category:"people"},":woman_tone2:":{uc_base:"1f469-1f3fc",uc_output:"1f469-1f3fc",uc_match:"1f469-1f3fc",uc_greedy:"1f469-1f3fc",shortnames:[],category:"people"},":woman_tone3:":{uc_base:"1f469-1f3fd",uc_output:"1f469-1f3fd",uc_match:"1f469-1f3fd",uc_greedy:"1f469-1f3fd",shortnames:[],category:"people"},":woman_tone4:":{uc_base:"1f469-1f3fe",uc_output:"1f469-1f3fe",uc_match:"1f469-1f3fe",uc_greedy:"1f469-1f3fe",shortnames:[],category:"people"},":woman_tone5:":{uc_base:"1f469-1f3ff",uc_output:"1f469-1f3ff",uc_match:"1f469-1f3ff",uc_greedy:"1f469-1f3ff",shortnames:[],category:"people"},":woman_with_headscarf_tone1:":{uc_base:"1f9d5-1f3fb",uc_output:"1f9d5-1f3fb",uc_match:"1f9d5-1f3fb",uc_greedy:"1f9d5-1f3fb",shortnames:[":woman_with_headscarf_light_skin_tone:"],category:"people"},":woman_with_headscarf_tone2:":{uc_base:"1f9d5-1f3fc",uc_output:"1f9d5-1f3fc",uc_match:"1f9d5-1f3fc",uc_greedy:"1f9d5-1f3fc",shortnames:[":woman_with_headscarf_medium_light_skin_tone:"],category:"people"},":woman_with_headscarf_tone3:":{uc_base:"1f9d5-1f3fd",uc_output:"1f9d5-1f3fd",uc_match:"1f9d5-1f3fd",uc_greedy:"1f9d5-1f3fd",shortnames:[":woman_with_headscarf_medium_skin_tone:"],category:"people"},":woman_with_headscarf_tone4:":{uc_base:"1f9d5-1f3fe",uc_output:"1f9d5-1f3fe",uc_match:"1f9d5-1f3fe",uc_greedy:"1f9d5-1f3fe",shortnames:[":woman_with_headscarf_medium_dark_skin_tone:"],category:"people"},":woman_with_headscarf_tone5:":{uc_base:"1f9d5-1f3ff",uc_output:"1f9d5-1f3ff",uc_match:"1f9d5-1f3ff",uc_greedy:"1f9d5-1f3ff",shortnames:[":woman_with_headscarf_dark_skin_tone:"],category:"people"},":fist_tone1:":{uc_base:"270a-1f3fb",uc_output:"270a-1f3fb",uc_match:"270a-1f3fb",uc_greedy:"270a-1f3fb",shortnames:[],category:"people"},":fist_tone2:":{uc_base:"270a-1f3fc",uc_output:"270a-1f3fc",uc_match:"270a-1f3fc",uc_greedy:"270a-1f3fc",shortnames:[],category:"people"},":fist_tone3:":{uc_base:"270a-1f3fd",uc_output:"270a-1f3fd",uc_match:"270a-1f3fd",uc_greedy:"270a-1f3fd",shortnames:[],category:"people"},":fist_tone4:":{uc_base:"270a-1f3fe",uc_output:"270a-1f3fe",uc_match:"270a-1f3fe",uc_greedy:"270a-1f3fe",shortnames:[],category:"people"},":fist_tone5:":{uc_base:"270a-1f3ff",uc_output:"270a-1f3ff",uc_match:"270a-1f3ff",uc_greedy:"270a-1f3ff",shortnames:[],category:"people"},":person_bouncing_ball_tone1:":{uc_base:"26f9-1f3fb",uc_output:"26f9-1f3fb",uc_match:"26f9-fe0f-1f3fb",uc_greedy:"26f9-fe0f-1f3fb",shortnames:[":basketball_player_tone1:",":person_with_ball_tone1:"],category:"activity"},":person_bouncing_ball_tone2:":{uc_base:"26f9-1f3fc",uc_output:"26f9-1f3fc",uc_match:"26f9-fe0f-1f3fc",uc_greedy:"26f9-fe0f-1f3fc",shortnames:[":basketball_player_tone2:",":person_with_ball_tone2:"],category:"activity"},":person_bouncing_ball_tone3:":{uc_base:"26f9-1f3fd",uc_output:"26f9-1f3fd",uc_match:"26f9-fe0f-1f3fd",uc_greedy:"26f9-fe0f-1f3fd",shortnames:[":basketball_player_tone3:",":person_with_ball_tone3:"],category:"activity"},":person_bouncing_ball_tone4:":{uc_base:"26f9-1f3fe",uc_output:"26f9-1f3fe",uc_match:"26f9-fe0f-1f3fe",uc_greedy:"26f9-fe0f-1f3fe",shortnames:[":basketball_player_tone4:",":person_with_ball_tone4:"],category:"activity"},":person_bouncing_ball_tone5:":{uc_base:"26f9-1f3ff",uc_output:"26f9-1f3ff",uc_match:"26f9-fe0f-1f3ff",uc_greedy:"26f9-fe0f-1f3ff",shortnames:[":basketball_player_tone5:",":person_with_ball_tone5:"],category:"activity"},":point_up_tone1:":{uc_base:"261d-1f3fb",uc_output:"261d-1f3fb",uc_match:"261d-fe0f-1f3fb",uc_greedy:"261d-fe0f-1f3fb",shortnames:[],category:"people"},":point_up_tone2:":{uc_base:"261d-1f3fc",uc_output:"261d-1f3fc",uc_match:"261d-fe0f-1f3fc",uc_greedy:"261d-fe0f-1f3fc",shortnames:[],category:"people"},":point_up_tone3:":{uc_base:"261d-1f3fd",uc_output:"261d-1f3fd",uc_match:"261d-fe0f-1f3fd",uc_greedy:"261d-fe0f-1f3fd",shortnames:[],category:"people"},":point_up_tone4:":{uc_base:"261d-1f3fe",uc_output:"261d-1f3fe",uc_match:"261d-fe0f-1f3fe",uc_greedy:"261d-fe0f-1f3fe",shortnames:[],category:"people"},":point_up_tone5:":{uc_base:"261d-1f3ff",uc_output:"261d-1f3ff",uc_match:"261d-fe0f-1f3ff",uc_greedy:"261d-fe0f-1f3ff",shortnames:[],category:"people"},":raised_hand_tone1:":{uc_base:"270b-1f3fb",uc_output:"270b-1f3fb",uc_match:"270b-1f3fb",uc_greedy:"270b-1f3fb",shortnames:[],category:"people"},":raised_hand_tone2:":{uc_base:"270b-1f3fc",uc_output:"270b-1f3fc",uc_match:"270b-1f3fc",uc_greedy:"270b-1f3fc",shortnames:[],category:"people"},":raised_hand_tone3:":{uc_base:"270b-1f3fd",uc_output:"270b-1f3fd",uc_match:"270b-1f3fd",uc_greedy:"270b-1f3fd",shortnames:[],category:"people"},":raised_hand_tone4:":{uc_base:"270b-1f3fe",uc_output:"270b-1f3fe",uc_match:"270b-1f3fe",uc_greedy:"270b-1f3fe",shortnames:[],category:"people"},":raised_hand_tone5:":{uc_base:"270b-1f3ff",uc_output:"270b-1f3ff",uc_match:"270b-1f3ff",uc_greedy:"270b-1f3ff",shortnames:[],category:"people"},":v_tone1:":{uc_base:"270c-1f3fb",uc_output:"270c-1f3fb",uc_match:"270c-fe0f-1f3fb",uc_greedy:"270c-fe0f-1f3fb",shortnames:[],category:"people"},":v_tone2:":{uc_base:"270c-1f3fc",uc_output:"270c-1f3fc",uc_match:"270c-fe0f-1f3fc",uc_greedy:"270c-fe0f-1f3fc",shortnames:[],category:"people"},":v_tone3:":{uc_base:"270c-1f3fd",uc_output:"270c-1f3fd",uc_match:"270c-fe0f-1f3fd",uc_greedy:"270c-fe0f-1f3fd",shortnames:[],category:"people"},":v_tone4:":{uc_base:"270c-1f3fe",uc_output:"270c-1f3fe",uc_match:"270c-fe0f-1f3fe",uc_greedy:"270c-fe0f-1f3fe",shortnames:[],category:"people"},":v_tone5:":{uc_base:"270c-1f3ff",uc_output:"270c-1f3ff",uc_match:"270c-fe0f-1f3ff",uc_greedy:"270c-fe0f-1f3ff",shortnames:[],category:"people"},":writing_hand_tone1:":{uc_base:"270d-1f3fb",uc_output:"270d-1f3fb",uc_match:"270d-fe0f-1f3fb",uc_greedy:"270d-fe0f-1f3fb",shortnames:[],category:"people"},":writing_hand_tone2:":{uc_base:"270d-1f3fc",uc_output:"270d-1f3fc",uc_match:"270d-fe0f-1f3fc",uc_greedy:"270d-fe0f-1f3fc",shortnames:[],category:"people"},":writing_hand_tone3:":{uc_base:"270d-1f3fd",uc_output:"270d-1f3fd",uc_match:"270d-fe0f-1f3fd",uc_greedy:"270d-fe0f-1f3fd",shortnames:[],category:"people"},":writing_hand_tone4:":{uc_base:"270d-1f3fe",uc_output:"270d-1f3fe",uc_match:"270d-fe0f-1f3fe",uc_greedy:"270d-fe0f-1f3fe",shortnames:[],category:"people"},":writing_hand_tone5:":{uc_base:"270d-1f3ff",uc_output:"270d-1f3ff",uc_match:"270d-fe0f-1f3ff",uc_greedy:"270d-fe0f-1f3ff",shortnames:[],category:"people"},":chess_pawn:":{uc_base:"265f",uc_output:"265f-fe0f",uc_match:"265f",uc_greedy:"265f",shortnames:[],category:"objects"},":infinity:":{uc_base:"267e",uc_output:"267e-fe0f",uc_match:"267e",uc_greedy:"267e",shortnames:[],category:"symbols"},":100:":{uc_base:"1f4af",uc_output:"1f4af",uc_match:"1f4af",uc_greedy:"1f4af",shortnames:[],category:"symbols"},":1234:":{uc_base:"1f522",uc_output:"1f522",uc_match:"1f522",uc_greedy:"1f522",shortnames:[],category:"symbols"},":8ball:":{uc_base:"1f3b1",uc_output:"1f3b1",uc_match:"1f3b1",uc_greedy:"1f3b1",shortnames:[],category:"activity"},":a:":{uc_base:"1f170",uc_output:"1f170",uc_match:"1f170-fe0f",uc_greedy:"1f170-fe0f",shortnames:[],category:"symbols"},":ab:":{uc_base:"1f18e",uc_output:"1f18e",uc_match:"1f18e",uc_greedy:"1f18e",shortnames:[],category:"symbols"},":abacus:":{uc_base:"1f9ee",uc_output:"1f9ee",uc_match:"1f9ee",uc_greedy:"1f9ee",shortnames:[],category:"objects"},":abc:":{uc_base:"1f524",uc_output:"1f524",uc_match:"1f524",uc_greedy:"1f524",shortnames:[],category:"symbols"},":abcd:":{uc_base:"1f521",uc_output:"1f521",uc_match:"1f521",uc_greedy:"1f521",shortnames:[],category:"symbols"},":accept:":{uc_base:"1f251",uc_output:"1f251",uc_match:"1f251",uc_greedy:"1f251",shortnames:[],category:"symbols"},":adult:":{uc_base:"1f9d1",uc_output:"1f9d1",uc_match:"1f9d1",uc_greedy:"1f9d1",shortnames:[],category:"people"},":aerial_tramway:":{uc_base:"1f6a1",uc_output:"1f6a1",uc_match:"1f6a1",uc_greedy:"1f6a1",shortnames:[],category:"travel"},":airplane_arriving:":{uc_base:"1f6ec",uc_output:"1f6ec",uc_match:"1f6ec",uc_greedy:"1f6ec",shortnames:[],category:"travel"},":airplane_departure:":{uc_base:"1f6eb",uc_output:"1f6eb",uc_match:"1f6eb",uc_greedy:"1f6eb",shortnames:[],category:"travel"},":airplane_small:":{uc_base:"1f6e9",uc_output:"1f6e9",uc_match:"1f6e9-fe0f",uc_greedy:"1f6e9-fe0f",shortnames:[":small_airplane:"],category:"travel"},":alien:":{uc_base:"1f47d",uc_output:"1f47d",uc_match:"1f47d-fe0f",uc_greedy:"1f47d-fe0f",shortnames:[],category:"people"},":ambulance:":{uc_base:"1f691",uc_output:"1f691",uc_match:"1f691-fe0f",uc_greedy:"1f691-fe0f",shortnames:[],category:"travel"},":amphora:":{uc_base:"1f3fa",uc_output:"1f3fa",uc_match:"1f3fa",uc_greedy:"1f3fa",shortnames:[],category:"objects"},":angel:":{uc_base:"1f47c",uc_output:"1f47c",uc_match:"1f47c",uc_greedy:"1f47c",shortnames:[],category:"people"},":anger:":{uc_base:"1f4a2",uc_output:"1f4a2",uc_match:"1f4a2",uc_greedy:"1f4a2",shortnames:[],category:"symbols"},":anger_right:":{uc_base:"1f5ef",uc_output:"1f5ef",uc_match:"1f5ef-fe0f",uc_greedy:"1f5ef-fe0f",shortnames:[":right_anger_bubble:"],category:"symbols"},":angry:":{uc_base:"1f620",uc_output:"1f620",uc_match:"1f620",uc_greedy:"1f620",shortnames:[],category:"people"},":anguished:":{uc_base:"1f627",uc_output:"1f627",uc_match:"1f627",uc_greedy:"1f627",shortnames:[],category:"people"},":ant:":{uc_base:"1f41c",uc_output:"1f41c",uc_match:"1f41c",uc_greedy:"1f41c",shortnames:[],category:"nature"},":apple:":{uc_base:"1f34e",uc_output:"1f34e",uc_match:"1f34e",uc_greedy:"1f34e",shortnames:[],category:"food"},":arrow_down_small:":{uc_base:"1f53d",uc_output:"1f53d",uc_match:"1f53d",uc_greedy:"1f53d",shortnames:[],category:"symbols"},":arrow_up_small:":{uc_base:"1f53c",uc_output:"1f53c",uc_match:"1f53c",uc_greedy:"1f53c",shortnames:[],category:"symbols"},":arrows_clockwise:":{uc_base:"1f503",uc_output:"1f503",uc_match:"1f503",uc_greedy:"1f503",shortnames:[],category:"symbols"},":arrows_counterclockwise:":{uc_base:"1f504",uc_output:"1f504",uc_match:"1f504",uc_greedy:"1f504",shortnames:[],category:"symbols"},":art:":{uc_base:"1f3a8",uc_output:"1f3a8",uc_match:"1f3a8",uc_greedy:"1f3a8",shortnames:[],category:"activity"},":articulated_lorry:":{uc_base:"1f69b",uc_output:"1f69b",uc_match:"1f69b",uc_greedy:"1f69b",shortnames:[],category:"travel"},":astonished:":{uc_base:"1f632",uc_output:"1f632",uc_match:"1f632",uc_greedy:"1f632",shortnames:[],category:"people"},":athletic_shoe:":{uc_base:"1f45f",uc_output:"1f45f",uc_match:"1f45f",uc_greedy:"1f45f",shortnames:[],category:"people"},":atm:":{uc_base:"1f3e7",uc_output:"1f3e7",uc_match:"1f3e7",uc_greedy:"1f3e7",shortnames:[],category:"symbols"},":avocado:":{uc_base:"1f951",uc_output:"1f951",uc_match:"1f951",uc_greedy:"1f951",shortnames:[],category:"food"},":b:":{uc_base:"1f171",uc_output:"1f171",uc_match:"1f171-fe0f",uc_greedy:"1f171-fe0f",shortnames:[],category:"symbols"},":baby:":{uc_base:"1f476",uc_output:"1f476",uc_match:"1f476",uc_greedy:"1f476",shortnames:[],category:"people"},":baby_bottle:":{uc_base:"1f37c",uc_output:"1f37c",uc_match:"1f37c",uc_greedy:"1f37c",shortnames:[],category:"food"},":baby_chick:":{uc_base:"1f424",uc_output:"1f424",uc_match:"1f424",uc_greedy:"1f424",shortnames:[],category:"nature"},":baby_symbol:":{uc_base:"1f6bc",uc_output:"1f6bc",uc_match:"1f6bc-fe0f",uc_greedy:"1f6bc-fe0f",shortnames:[],category:"symbols"},":back:":{uc_base:"1f519",uc_output:"1f519",uc_match:"1f519",uc_greedy:"1f519",shortnames:[],category:"symbols"},":bacon:":{uc_base:"1f953",uc_output:"1f953",uc_match:"1f953",uc_greedy:"1f953",shortnames:[],category:"food"},":badger:":{uc_base:"1f9a1",uc_output:"1f9a1",uc_match:"1f9a1",uc_greedy:"1f9a1",shortnames:[],category:"nature"},":badminton:":{uc_base:"1f3f8",uc_output:"1f3f8",uc_match:"1f3f8",uc_greedy:"1f3f8",shortnames:[],category:"activity"},":bagel:":{uc_base:"1f96f",uc_output:"1f96f",uc_match:"1f96f",uc_greedy:"1f96f",shortnames:[],category:"food"},":baggage_claim:":{uc_base:"1f6c4",uc_output:"1f6c4",uc_match:"1f6c4",uc_greedy:"1f6c4",shortnames:[],category:"symbols"},":bald:":{uc_base:"1f9b2",uc_output:"1f9b2",uc_match:"1f9b2",uc_greedy:"1f9b2",shortnames:[],category:"people"},":balloon:":{uc_base:"1f388",uc_output:"1f388",uc_match:"1f388",uc_greedy:"1f388",shortnames:[],category:"objects"},":ballot_box:":{uc_base:"1f5f3",uc_output:"1f5f3",uc_match:"1f5f3-fe0f",uc_greedy:"1f5f3-fe0f",shortnames:[":ballot_box_with_ballot:"],category:"objects"},":bamboo:":{uc_base:"1f38d",uc_output:"1f38d",uc_match:"1f38d",uc_greedy:"1f38d",shortnames:[],category:"nature"},":banana:":{uc_base:"1f34c",uc_output:"1f34c",uc_match:"1f34c",uc_greedy:"1f34c",shortnames:[],category:"food"},":bank:":{uc_base:"1f3e6",uc_output:"1f3e6",uc_match:"1f3e6",uc_greedy:"1f3e6",shortnames:[],category:"travel"},":bar_chart:":{uc_base:"1f4ca",uc_output:"1f4ca",uc_match:"1f4ca",uc_greedy:"1f4ca",shortnames:[],category:"objects"},":barber:":{uc_base:"1f488",uc_output:"1f488",uc_match:"1f488",uc_greedy:"1f488",shortnames:[],category:"objects"},":basket:":{uc_base:"1f9fa",uc_output:"1f9fa",uc_match:"1f9fa",uc_greedy:"1f9fa",shortnames:[],category:"objects"},":basketball:":{uc_base:"1f3c0",uc_output:"1f3c0",uc_match:"1f3c0",uc_greedy:"1f3c0",shortnames:[],category:"activity"},":bat:":{uc_base:"1f987",uc_output:"1f987",uc_match:"1f987",uc_greedy:"1f987",shortnames:[],category:"nature"},":bath:":{uc_base:"1f6c0",uc_output:"1f6c0",uc_match:"1f6c0",uc_greedy:"1f6c0",shortnames:[],category:"objects"},":bathtub:":{uc_base:"1f6c1",uc_output:"1f6c1",uc_match:"1f6c1",uc_greedy:"1f6c1",shortnames:[],category:"objects"},":battery:":{uc_base:"1f50b",uc_output:"1f50b",uc_match:"1f50b",uc_greedy:"1f50b",shortnames:[],category:"objects"},":beach:":{uc_base:"1f3d6",uc_output:"1f3d6",uc_match:"1f3d6-fe0f",uc_greedy:"1f3d6-fe0f",shortnames:[":beach_with_umbrella:"],category:"travel"},":bear:":{uc_base:"1f43b",uc_output:"1f43b",uc_match:"1f43b",uc_greedy:"1f43b",shortnames:[],category:"nature"},":bearded_person:":{uc_base:"1f9d4",uc_output:"1f9d4",uc_match:"1f9d4",uc_greedy:"1f9d4",shortnames:[],category:"people"},":bed:":{uc_base:"1f6cf",uc_output:"1f6cf",uc_match:"1f6cf-fe0f",uc_greedy:"1f6cf-fe0f",shortnames:[],category:"objects"},":bee:":{uc_base:"1f41d",uc_output:"1f41d",uc_match:"1f41d",uc_greedy:"1f41d",shortnames:[],category:"nature"},":beer:":{uc_base:"1f37a",uc_output:"1f37a",uc_match:"1f37a",uc_greedy:"1f37a",shortnames:[],category:"food"},":beers:":{uc_base:"1f37b",uc_output:"1f37b",uc_match:"1f37b",uc_greedy:"1f37b",shortnames:[],category:"food"},":beetle:":{uc_base:"1f41e",uc_output:"1f41e",uc_match:"1f41e",uc_greedy:"1f41e",shortnames:[],category:"nature"},":beginner:":{uc_base:"1f530",uc_output:"1f530",uc_match:"1f530",uc_greedy:"1f530",shortnames:[],category:"symbols"},":bell:":{uc_base:"1f514",uc_output:"1f514",uc_match:"1f514",uc_greedy:"1f514",shortnames:[],category:"symbols"},":bellhop:":{uc_base:"1f6ce",uc_output:"1f6ce",uc_match:"1f6ce-fe0f",uc_greedy:"1f6ce-fe0f",shortnames:[":bellhop_bell:"],category:"objects"},":bento:":{uc_base:"1f371",uc_output:"1f371",uc_match:"1f371",uc_greedy:"1f371",shortnames:[],category:"food"},":bike:":{uc_base:"1f6b2",uc_output:"1f6b2",uc_match:"1f6b2-fe0f",uc_greedy:"1f6b2-fe0f",shortnames:[],category:"travel"},":bikini:":{uc_base:"1f459",uc_output:"1f459",uc_match:"1f459",uc_greedy:"1f459",shortnames:[],category:"people"},":billed_cap:":{uc_base:"1f9e2",uc_output:"1f9e2",uc_match:"1f9e2",uc_greedy:"1f9e2",shortnames:[],category:"people"},":bird:":{uc_base:"1f426",uc_output:"1f426",uc_match:"1f426-fe0f",uc_greedy:"1f426-fe0f",shortnames:[],category:"nature"},":birthday:":{uc_base:"1f382",uc_output:"1f382",uc_match:"1f382",uc_greedy:"1f382",shortnames:[],category:"food"},":black_heart:":{uc_base:"1f5a4",uc_output:"1f5a4",uc_match:"1f5a4",uc_greedy:"1f5a4",shortnames:[],category:"symbols"},":black_joker:":{uc_base:"1f0cf",uc_output:"1f0cf",uc_match:"1f0cf",uc_greedy:"1f0cf",shortnames:[],category:"symbols"},":black_square_button:":{uc_base:"1f532",uc_output:"1f532",uc_match:"1f532",uc_greedy:"1f532",shortnames:[],category:"symbols"},":blond_haired_person:":{uc_base:"1f471",uc_output:"1f471",uc_match:"1f471",uc_greedy:"1f471",shortnames:[":person_with_blond_hair:"],category:"people"},":blossom:":{uc_base:"1f33c",uc_output:"1f33c",uc_match:"1f33c",uc_greedy:"1f33c",shortnames:[],category:"nature"},":blowfish:":{uc_base:"1f421",uc_output:"1f421",uc_match:"1f421",uc_greedy:"1f421",shortnames:[],category:"nature"},":blue_book:":{uc_base:"1f4d8",uc_output:"1f4d8",uc_match:"1f4d8",uc_greedy:"1f4d8",shortnames:[],category:"objects"},":blue_car:":{uc_base:"1f699",uc_output:"1f699",uc_match:"1f699",uc_greedy:"1f699",shortnames:[],category:"travel"},":blue_circle:":{uc_base:"1f535",uc_output:"1f535",uc_match:"1f535",uc_greedy:"1f535",shortnames:[],category:"symbols"},":blue_heart:":{uc_base:"1f499",uc_output:"1f499",uc_match:"1f499",uc_greedy:"1f499",shortnames:[],category:"symbols"},":blush:":{uc_base:"1f60a",uc_output:"1f60a",uc_match:"1f60a",uc_greedy:"1f60a",shortnames:[],category:"people"},":boar:":{uc_base:"1f417",uc_output:"1f417",uc_match:"1f417",uc_greedy:"1f417",shortnames:[],category:"nature"},":bomb:":{uc_base:"1f4a3",uc_output:"1f4a3",uc_match:"1f4a3-fe0f",uc_greedy:"1f4a3-fe0f",shortnames:[],category:"objects"},":bone:":{uc_base:"1f9b4",uc_output:"1f9b4",uc_match:"1f9b4",uc_greedy:"1f9b4",shortnames:[],category:"people"},":book:":{uc_base:"1f4d6",uc_output:"1f4d6",uc_match:"1f4d6",uc_greedy:"1f4d6",shortnames:[],category:"objects"},":bookmark:":{uc_base:"1f516",uc_output:"1f516",uc_match:"1f516",uc_greedy:"1f516",shortnames:[],category:"objects"},":bookmark_tabs:":{uc_base:"1f4d1",uc_output:"1f4d1",uc_match:"1f4d1",uc_greedy:"1f4d1",shortnames:[],category:"objects"},":books:":{uc_base:"1f4da",uc_output:"1f4da",uc_match:"1f4da-fe0f",uc_greedy:"1f4da-fe0f",shortnames:[],category:"objects"},":boom:":{uc_base:"1f4a5",uc_output:"1f4a5",uc_match:"1f4a5",uc_greedy:"1f4a5",shortnames:[],category:"nature"},":boot:":{uc_base:"1f462",uc_output:"1f462",uc_match:"1f462",uc_greedy:"1f462",shortnames:[],category:"people"},":bouquet:":{uc_base:"1f490",uc_output:"1f490",uc_match:"1f490",uc_greedy:"1f490",shortnames:[],category:"nature"},":bow_and_arrow:":{uc_base:"1f3f9",uc_output:"1f3f9",uc_match:"1f3f9",uc_greedy:"1f3f9",shortnames:[":archery:"],category:"activity"},":bowl_with_spoon:":{uc_base:"1f963",uc_output:"1f963",uc_match:"1f963",uc_greedy:"1f963",shortnames:[],category:"food"},":bowling:":{uc_base:"1f3b3",uc_output:"1f3b3",uc_match:"1f3b3",uc_greedy:"1f3b3",shortnames:[],category:"activity"},":boxing_glove:":{uc_base:"1f94a",uc_output:"1f94a",uc_match:"1f94a",uc_greedy:"1f94a",shortnames:[":boxing_gloves:"],category:"activity"},":boy:":{uc_base:"1f466",uc_output:"1f466",uc_match:"1f466",uc_greedy:"1f466",shortnames:[],category:"people"},":brain:":{uc_base:"1f9e0",uc_output:"1f9e0",uc_match:"1f9e0",uc_greedy:"1f9e0",shortnames:[],category:"people"},":bread:":{uc_base:"1f35e",uc_output:"1f35e",uc_match:"1f35e",uc_greedy:"1f35e",shortnames:[],category:"food"},":breast_feeding:":{uc_base:"1f931",uc_output:"1f931",uc_match:"1f931",uc_greedy:"1f931",shortnames:[],category:"people"},":bricks:":{uc_base:"1f9f1",uc_output:"1f9f1",uc_match:"1f9f1",uc_greedy:"1f9f1",shortnames:[],category:"objects"},":bride_with_veil:":{uc_base:"1f470",uc_output:"1f470",uc_match:"1f470",uc_greedy:"1f470",shortnames:[],category:"people"},":bridge_at_night:":{uc_base:"1f309",uc_output:"1f309",uc_match:"1f309",uc_greedy:"1f309",shortnames:[],category:"travel"},":briefcase:":{uc_base:"1f4bc",uc_output:"1f4bc",uc_match:"1f4bc",uc_greedy:"1f4bc",shortnames:[],category:"people"},":broccoli:":{uc_base:"1f966",uc_output:"1f966",uc_match:"1f966",uc_greedy:"1f966",shortnames:[],category:"food"},":broken_heart:":{uc_base:"1f494",uc_output:"1f494",uc_match:"1f494",uc_greedy:"1f494",shortnames:[],category:"symbols"},":broom:":{uc_base:"1f9f9",uc_output:"1f9f9",uc_match:"1f9f9",uc_greedy:"1f9f9",shortnames:[],category:"objects"},":bug:":{uc_base:"1f41b",uc_output:"1f41b",uc_match:"1f41b",uc_greedy:"1f41b",shortnames:[],category:"nature"},":bulb:":{uc_base:"1f4a1",uc_output:"1f4a1",uc_match:"1f4a1",uc_greedy:"1f4a1",shortnames:[],category:"objects"},":bullettrain_front:":{uc_base:"1f685",uc_output:"1f685",uc_match:"1f685",uc_greedy:"1f685",shortnames:[],category:"travel"},":bullettrain_side:":{uc_base:"1f684",uc_output:"1f684",uc_match:"1f684",uc_greedy:"1f684",shortnames:[],category:"travel"},":burrito:":{uc_base:"1f32f",uc_output:"1f32f",uc_match:"1f32f",uc_greedy:"1f32f",shortnames:[],category:"food"},":bus:":{uc_base:"1f68c",uc_output:"1f68c",uc_match:"1f68c",uc_greedy:"1f68c",shortnames:[],category:"travel"},":busstop:":{uc_base:"1f68f",uc_output:"1f68f",uc_match:"1f68f",uc_greedy:"1f68f",shortnames:[],category:"travel"},":bust_in_silhouette:":{uc_base:"1f464",uc_output:"1f464",uc_match:"1f464",uc_greedy:"1f464",shortnames:[],category:"people"},":busts_in_silhouette:":{uc_base:"1f465",uc_output:"1f465",uc_match:"1f465",uc_greedy:"1f465",shortnames:[],category:"people"},":butterfly:":{uc_base:"1f98b",uc_output:"1f98b",uc_match:"1f98b",uc_greedy:"1f98b",shortnames:[],category:"nature"},":cactus:":{uc_base:"1f335",uc_output:"1f335",uc_match:"1f335",uc_greedy:"1f335",shortnames:[],category:"nature"},":cake:":{uc_base:"1f370",uc_output:"1f370",uc_match:"1f370",uc_greedy:"1f370",shortnames:[],category:"food"},":calendar:":{uc_base:"1f4c6",uc_output:"1f4c6",uc_match:"1f4c6",uc_greedy:"1f4c6",shortnames:[],category:"objects"},":calendar_spiral:":{uc_base:"1f5d3",uc_output:"1f5d3",uc_match:"1f5d3-fe0f",uc_greedy:"1f5d3-fe0f",shortnames:[":spiral_calendar_pad:"],category:"objects"},":call_me:":{uc_base:"1f919",uc_output:"1f919",uc_match:"1f919",uc_greedy:"1f919",shortnames:[":call_me_hand:"],category:"people"},":calling:":{uc_base:"1f4f2",uc_output:"1f4f2",uc_match:"1f4f2",uc_greedy:"1f4f2",shortnames:[],category:"objects"},":camel:":{uc_base:"1f42b",uc_output:"1f42b",uc_match:"1f42b",uc_greedy:"1f42b",shortnames:[],category:"nature"},":camera:":{uc_base:"1f4f7",uc_output:"1f4f7",uc_match:"1f4f7-fe0f",uc_greedy:"1f4f7-fe0f",shortnames:[],category:"objects"},":camera_with_flash:":{uc_base:"1f4f8",uc_output:"1f4f8",uc_match:"1f4f8",uc_greedy:"1f4f8",shortnames:[],category:"objects"},":camping:":{uc_base:"1f3d5",uc_output:"1f3d5",uc_match:"1f3d5-fe0f",uc_greedy:"1f3d5-fe0f",shortnames:[],category:"travel"},":candle:":{uc_base:"1f56f",uc_output:"1f56f",uc_match:"1f56f-fe0f",uc_greedy:"1f56f-fe0f",shortnames:[],category:"objects"},":candy:":{uc_base:"1f36c",uc_output:"1f36c",uc_match:"1f36c",uc_greedy:"1f36c",shortnames:[],category:"food"},":canned_food:":{uc_base:"1f96b",uc_output:"1f96b",uc_match:"1f96b",uc_greedy:"1f96b",shortnames:[],category:"food"},":canoe:":{uc_base:"1f6f6",uc_output:"1f6f6",uc_match:"1f6f6",uc_greedy:"1f6f6",shortnames:[":kayak:"],category:"travel"},":capital_abcd:":{uc_base:"1f520",uc_output:"1f520",uc_match:"1f520",uc_greedy:"1f520",shortnames:[],category:"symbols"},":card_box:":{uc_base:"1f5c3",uc_output:"1f5c3",uc_match:"1f5c3-fe0f",uc_greedy:"1f5c3-fe0f",shortnames:[":card_file_box:"],category:"objects"},":card_index:":{uc_base:"1f4c7",uc_output:"1f4c7",uc_match:"1f4c7",uc_greedy:"1f4c7",shortnames:[],category:"objects"},":carousel_horse:":{uc_base:"1f3a0",uc_output:"1f3a0",uc_match:"1f3a0",uc_greedy:"1f3a0",shortnames:[],category:"travel"},":carrot:":{uc_base:"1f955",uc_output:"1f955",uc_match:"1f955",uc_greedy:"1f955",shortnames:[],category:"food"},":cat2:":{uc_base:"1f408",uc_output:"1f408",uc_match:"1f408-fe0f",uc_greedy:"1f408-fe0f",shortnames:[],category:"nature"},":cat:":{uc_base:"1f431",uc_output:"1f431",uc_match:"1f431",uc_greedy:"1f431",shortnames:[],category:"nature"},":cd:":{uc_base:"1f4bf",uc_output:"1f4bf",uc_match:"1f4bf-fe0f",uc_greedy:"1f4bf-fe0f",shortnames:[],category:"objects"},":champagne:":{uc_base:"1f37e",uc_output:"1f37e",uc_match:"1f37e",uc_greedy:"1f37e",shortnames:[":bottle_with_popping_cork:"],category:"food"},":champagne_glass:":{uc_base:"1f942",uc_output:"1f942",uc_match:"1f942",uc_greedy:"1f942",shortnames:[":clinking_glass:"],category:"food"},":chart:":{uc_base:"1f4b9",uc_output:"1f4b9",uc_match:"1f4b9",uc_greedy:"1f4b9",shortnames:[],category:"symbols"},":chart_with_downwards_trend:":{uc_base:"1f4c9",uc_output:"1f4c9",uc_match:"1f4c9",uc_greedy:"1f4c9",shortnames:[],category:"objects"},":chart_with_upwards_trend:":{uc_base:"1f4c8",uc_output:"1f4c8",uc_match:"1f4c8",uc_greedy:"1f4c8",shortnames:[],category:"objects"},":checkered_flag:":{uc_base:"1f3c1",uc_output:"1f3c1",uc_match:"1f3c1",uc_greedy:"1f3c1",shortnames:[],category:"flags"},":cheese:":{uc_base:"1f9c0",uc_output:"1f9c0",uc_match:"1f9c0",uc_greedy:"1f9c0",shortnames:[":cheese_wedge:"],category:"food"},":cherries:":{uc_base:"1f352",uc_output:"1f352",uc_match:"1f352",uc_greedy:"1f352",shortnames:[],category:"food"},":cherry_blossom:":{uc_base:"1f338",uc_output:"1f338",uc_match:"1f338",uc_greedy:"1f338",shortnames:[],category:"nature"},":chestnut:":{uc_base:"1f330",uc_output:"1f330",uc_match:"1f330",uc_greedy:"1f330",shortnames:[],category:"food"},":chicken:":{uc_base:"1f414",uc_output:"1f414",uc_match:"1f414",uc_greedy:"1f414",shortnames:[],category:"nature"},":child:":{uc_base:"1f9d2",uc_output:"1f9d2",uc_match:"1f9d2",uc_greedy:"1f9d2",shortnames:[],category:"people"},":children_crossing:":{uc_base:"1f6b8",uc_output:"1f6b8",uc_match:"1f6b8",uc_greedy:"1f6b8",shortnames:[],category:"symbols"},":chipmunk:":{uc_base:"1f43f",uc_output:"1f43f",uc_match:"1f43f-fe0f",uc_greedy:"1f43f-fe0f",shortnames:[],category:"nature"},":chocolate_bar:":{uc_base:"1f36b",uc_output:"1f36b",uc_match:"1f36b",uc_greedy:"1f36b",shortnames:[],category:"food"},":chopsticks:":{uc_base:"1f962",uc_output:"1f962",uc_match:"1f962",uc_greedy:"1f962",shortnames:[],category:"food"},":christmas_tree:":{uc_base:"1f384",uc_output:"1f384",uc_match:"1f384",uc_greedy:"1f384",shortnames:[],category:"nature"},":cinema:":{uc_base:"1f3a6",uc_output:"1f3a6",uc_match:"1f3a6",uc_greedy:"1f3a6",shortnames:[],category:"symbols"},":circus_tent:":{uc_base:"1f3aa",uc_output:"1f3aa",uc_match:"1f3aa",uc_greedy:"1f3aa",shortnames:[],category:"activity"},":city_dusk:":{uc_base:"1f306",uc_output:"1f306",uc_match:"1f306",uc_greedy:"1f306",shortnames:[],category:"travel"},":city_sunset:":{uc_base:"1f307",uc_output:"1f307",uc_match:"1f307",uc_greedy:"1f307",shortnames:[":city_sunrise:"],category:"travel"},":cityscape:":{uc_base:"1f3d9",uc_output:"1f3d9",uc_match:"1f3d9-fe0f",uc_greedy:"1f3d9-fe0f",shortnames:[],category:"travel"},":cl:":{uc_base:"1f191",uc_output:"1f191",uc_match:"1f191",uc_greedy:"1f191",shortnames:[],category:"symbols"},":clap:":{uc_base:"1f44f",uc_output:"1f44f",uc_match:"1f44f",uc_greedy:"1f44f",shortnames:[],category:"people"},":clapper:":{uc_base:"1f3ac",uc_output:"1f3ac",uc_match:"1f3ac-fe0f",uc_greedy:"1f3ac-fe0f",shortnames:[],category:"activity"},":classical_building:":{uc_base:"1f3db",uc_output:"1f3db",uc_match:"1f3db-fe0f",uc_greedy:"1f3db-fe0f",shortnames:[],category:"travel"},":clipboard:":{uc_base:"1f4cb",uc_output:"1f4cb",uc_match:"1f4cb-fe0f",uc_greedy:"1f4cb-fe0f",shortnames:[],category:"objects"},":clock1030:":{uc_base:"1f565",uc_output:"1f565",uc_match:"1f565-fe0f",uc_greedy:"1f565-fe0f",shortnames:[],category:"symbols"},":clock10:":{uc_base:"1f559",uc_output:"1f559",uc_match:"1f559-fe0f",uc_greedy:"1f559-fe0f",shortnames:[],category:"symbols"},":clock1130:":{uc_base:"1f566",uc_output:"1f566",uc_match:"1f566-fe0f",uc_greedy:"1f566-fe0f",shortnames:[],category:"symbols"},":clock11:":{uc_base:"1f55a",uc_output:"1f55a",uc_match:"1f55a-fe0f",uc_greedy:"1f55a-fe0f",shortnames:[],category:"symbols"},":clock1230:":{uc_base:"1f567",uc_output:"1f567",uc_match:"1f567-fe0f",uc_greedy:"1f567-fe0f",shortnames:[],category:"symbols"},":clock12:":{uc_base:"1f55b",uc_output:"1f55b",uc_match:"1f55b-fe0f",uc_greedy:"1f55b-fe0f",shortnames:[],category:"symbols"},":clock130:":{uc_base:"1f55c",uc_output:"1f55c",uc_match:"1f55c-fe0f",uc_greedy:"1f55c-fe0f",shortnames:[],category:"symbols"},":clock1:":{uc_base:"1f550",uc_output:"1f550",uc_match:"1f550-fe0f",uc_greedy:"1f550-fe0f",shortnames:[],category:"symbols"},":clock230:":{uc_base:"1f55d",uc_output:"1f55d",uc_match:"1f55d-fe0f",uc_greedy:"1f55d-fe0f",shortnames:[],category:"symbols"},":clock2:":{uc_base:"1f551",uc_output:"1f551",uc_match:"1f551-fe0f",uc_greedy:"1f551-fe0f",shortnames:[],category:"symbols"},":clock330:":{uc_base:"1f55e",uc_output:"1f55e",uc_match:"1f55e-fe0f",uc_greedy:"1f55e-fe0f",shortnames:[],category:"symbols"},":clock3:":{uc_base:"1f552",uc_output:"1f552",uc_match:"1f552-fe0f",uc_greedy:"1f552-fe0f",shortnames:[],category:"symbols"},":clock430:":{uc_base:"1f55f",uc_output:"1f55f",uc_match:"1f55f-fe0f",uc_greedy:"1f55f-fe0f",shortnames:[],category:"symbols"},":clock4:":{uc_base:"1f553",uc_output:"1f553",uc_match:"1f553-fe0f",uc_greedy:"1f553-fe0f",shortnames:[],category:"symbols"},":clock530:":{uc_base:"1f560",uc_output:"1f560",uc_match:"1f560-fe0f",uc_greedy:"1f560-fe0f",shortnames:[],category:"symbols"},":clock5:":{uc_base:"1f554",uc_output:"1f554",uc_match:"1f554-fe0f",uc_greedy:"1f554-fe0f",shortnames:[],category:"symbols"},":clock630:":{uc_base:"1f561",uc_output:"1f561",uc_match:"1f561-fe0f",uc_greedy:"1f561-fe0f",shortnames:[],category:"symbols"},":clock6:":{uc_base:"1f555",uc_output:"1f555",uc_match:"1f555-fe0f",uc_greedy:"1f555-fe0f",shortnames:[],category:"symbols"},":clock730:":{uc_base:"1f562",uc_output:"1f562",uc_match:"1f562-fe0f",uc_greedy:"1f562-fe0f",shortnames:[],category:"symbols"},":clock7:":{uc_base:"1f556",uc_output:"1f556",uc_match:"1f556-fe0f",uc_greedy:"1f556-fe0f",shortnames:[],category:"symbols"},":clock830:":{uc_base:"1f563",uc_output:"1f563",uc_match:"1f563-fe0f",uc_greedy:"1f563-fe0f",shortnames:[],category:"symbols"},":clock8:":{uc_base:"1f557",uc_output:"1f557",uc_match:"1f557-fe0f",uc_greedy:"1f557-fe0f",shortnames:[],category:"symbols"},":clock930:":{uc_base:"1f564",uc_output:"1f564",uc_match:"1f564-fe0f",uc_greedy:"1f564-fe0f",shortnames:[],category:"symbols"},":clock9:":{uc_base:"1f558",uc_output:"1f558",uc_match:"1f558-fe0f",uc_greedy:"1f558-fe0f",shortnames:[],category:"symbols"},":clock:":{uc_base:"1f570",uc_output:"1f570",uc_match:"1f570-fe0f",uc_greedy:"1f570-fe0f",shortnames:[":mantlepiece_clock:"],category:"objects"},":closed_book:":{uc_base:"1f4d5",uc_output:"1f4d5",uc_match:"1f4d5",uc_greedy:"1f4d5",shortnames:[],category:"objects"},":closed_lock_with_key:":{uc_base:"1f510",uc_output:"1f510",uc_match:"1f510",uc_greedy:"1f510",shortnames:[],category:"objects"},":closed_umbrella:":{uc_base:"1f302",uc_output:"1f302",uc_match:"1f302",uc_greedy:"1f302",shortnames:[],category:"people"},":cloud_lightning:":{uc_base:"1f329",uc_output:"1f329",uc_match:"1f329-fe0f",uc_greedy:"1f329-fe0f",shortnames:[":cloud_with_lightning:"],category:"nature"},":cloud_rain:":{uc_base:"1f327",uc_output:"1f327",uc_match:"1f327-fe0f",uc_greedy:"1f327-fe0f",shortnames:[":cloud_with_rain:"],category:"nature"},":cloud_snow:":{uc_base:"1f328",uc_output:"1f328",uc_match:"1f328-fe0f",uc_greedy:"1f328-fe0f",shortnames:[":cloud_with_snow:"],category:"nature"},":cloud_tornado:":{uc_base:"1f32a",uc_output:"1f32a",uc_match:"1f32a-fe0f",uc_greedy:"1f32a-fe0f",shortnames:[":cloud_with_tornado:"],category:"nature"},":clown:":{uc_base:"1f921",uc_output:"1f921",uc_match:"1f921",uc_greedy:"1f921",shortnames:[":clown_face:"],category:"people"},":coat:":{uc_base:"1f9e5",uc_output:"1f9e5",uc_match:"1f9e5",uc_greedy:"1f9e5",shortnames:[],category:"people"},":cocktail:":{uc_base:"1f378",uc_output:"1f378",uc_match:"1f378-fe0f",uc_greedy:"1f378-fe0f",shortnames:[],category:"food"},":coconut:":{uc_base:"1f965",uc_output:"1f965",uc_match:"1f965",uc_greedy:"1f965",shortnames:[],category:"food"},":cold_face:":{uc_base:"1f976",uc_output:"1f976",uc_match:"1f976",uc_greedy:"1f976",shortnames:[],category:"people"},":cold_sweat:":{uc_base:"1f630",uc_output:"1f630",uc_match:"1f630",uc_greedy:"1f630",shortnames:[],category:"people"},":compass:":{uc_base:"1f9ed",uc_output:"1f9ed",uc_match:"1f9ed",uc_greedy:"1f9ed",shortnames:[],category:"objects"},":compression:":{uc_base:"1f5dc",uc_output:"1f5dc",uc_match:"1f5dc-fe0f",uc_greedy:"1f5dc-fe0f",shortnames:[],category:"objects"},":computer:":{uc_base:"1f4bb",uc_output:"1f4bb",uc_match:"1f4bb-fe0f",uc_greedy:"1f4bb-fe0f",shortnames:[],category:"objects"},":confetti_ball:":{uc_base:"1f38a",uc_output:"1f38a",uc_match:"1f38a",uc_greedy:"1f38a",shortnames:[],category:"objects"},":confounded:":{uc_base:"1f616",uc_output:"1f616",uc_match:"1f616",uc_greedy:"1f616",shortnames:[],category:"people"},":confused:":{uc_base:"1f615",uc_output:"1f615",uc_match:"1f615",uc_greedy:"1f615",shortnames:[],category:"people"},":construction:":{uc_base:"1f6a7",uc_output:"1f6a7",uc_match:"1f6a7",uc_greedy:"1f6a7",shortnames:[],category:"travel"},":construction_site:":{uc_base:"1f3d7",uc_output:"1f3d7",uc_match:"1f3d7-fe0f",uc_greedy:"1f3d7-fe0f",shortnames:[":building_construction:"],category:"travel"},":construction_worker:":{uc_base:"1f477",uc_output:"1f477",uc_match:"1f477",uc_greedy:"1f477",shortnames:[],category:"people"},":control_knobs:":{uc_base:"1f39b",uc_output:"1f39b",uc_match:"1f39b-fe0f",uc_greedy:"1f39b-fe0f",shortnames:[],category:"objects"},":convenience_store:":{uc_base:"1f3ea",uc_output:"1f3ea",uc_match:"1f3ea",uc_greedy:"1f3ea",shortnames:[],category:"travel"},":cookie:":{uc_base:"1f36a",uc_output:"1f36a",uc_match:"1f36a",uc_greedy:"1f36a",shortnames:[],category:"food"},":cooking:":{uc_base:"1f373",uc_output:"1f373",uc_match:"1f373",uc_greedy:"1f373",shortnames:[],category:"food"},":cool:":{uc_base:"1f192",uc_output:"1f192",uc_match:"1f192",uc_greedy:"1f192",shortnames:[],category:"symbols"},":corn:":{uc_base:"1f33d",uc_output:"1f33d",uc_match:"1f33d",uc_greedy:"1f33d",shortnames:[],category:"food"},":couch:":{uc_base:"1f6cb",uc_output:"1f6cb",uc_match:"1f6cb-fe0f",uc_greedy:"1f6cb-fe0f",shortnames:[":couch_and_lamp:"],category:"objects"},":couple:":{uc_base:"1f46b",uc_output:"1f46b",uc_match:"1f46b",uc_greedy:"1f46b",shortnames:[],category:"people"},":couple_with_heart:":{uc_base:"1f491",uc_output:"1f491",uc_match:"1f491",uc_greedy:"1f491",shortnames:[],category:"people"},":couplekiss:":{uc_base:"1f48f",uc_output:"1f48f",uc_match:"1f48f",uc_greedy:"1f48f",shortnames:[],category:"people"},":cow2:":{uc_base:"1f404",uc_output:"1f404",uc_match:"1f404",uc_greedy:"1f404",shortnames:[],category:"nature"},":cow:":{uc_base:"1f42e",uc_output:"1f42e",uc_match:"1f42e",uc_greedy:"1f42e",shortnames:[],category:"nature"},":cowboy:":{uc_base:"1f920",uc_output:"1f920",uc_match:"1f920",uc_greedy:"1f920",shortnames:[":face_with_cowboy_hat:"],category:"people"},":crab:":{uc_base:"1f980",uc_output:"1f980",uc_match:"1f980",uc_greedy:"1f980",shortnames:[],category:"nature"},":crayon:":{uc_base:"1f58d",uc_output:"1f58d",uc_match:"1f58d-fe0f",uc_greedy:"1f58d-fe0f",shortnames:[":lower_left_crayon:"],category:"objects"},":credit_card:":{uc_base:"1f4b3",uc_output:"1f4b3",uc_match:"1f4b3-fe0f",uc_greedy:"1f4b3-fe0f",shortnames:[],category:"objects"},":crescent_moon:":{uc_base:"1f319",uc_output:"1f319",uc_match:"1f319",uc_greedy:"1f319",shortnames:[],category:"nature"},":cricket:":{uc_base:"1f997",uc_output:"1f997",uc_match:"1f997",uc_greedy:"1f997",shortnames:[],category:"nature"},":cricket_game:":{uc_base:"1f3cf",uc_output:"1f3cf",uc_match:"1f3cf",uc_greedy:"1f3cf",shortnames:[":cricket_bat_ball:"],category:"activity"},":crocodile:":{uc_base:"1f40a",uc_output:"1f40a",uc_match:"1f40a",uc_greedy:"1f40a",shortnames:[],category:"nature"},":croissant:":{uc_base:"1f950",uc_output:"1f950",uc_match:"1f950",uc_greedy:"1f950",shortnames:[],category:"food"},":crossed_flags:":{uc_base:"1f38c",uc_output:"1f38c",uc_match:"1f38c",uc_greedy:"1f38c",shortnames:[],category:"flags"},":crown:":{uc_base:"1f451",uc_output:"1f451",uc_match:"1f451",uc_greedy:"1f451",shortnames:[],category:"people"},":cruise_ship:":{uc_base:"1f6f3",uc_output:"1f6f3",uc_match:"1f6f3-fe0f",uc_greedy:"1f6f3-fe0f",shortnames:[":passenger_ship:"],category:"travel"},":cry:":{uc_base:"1f622",uc_output:"1f622",uc_match:"1f622",uc_greedy:"1f622",shortnames:[],category:"people"},":crying_cat_face:":{uc_base:"1f63f",uc_output:"1f63f",uc_match:"1f63f",uc_greedy:"1f63f",shortnames:[],category:"people"},":crystal_ball:":{uc_base:"1f52e",uc_output:"1f52e",uc_match:"1f52e",uc_greedy:"1f52e",shortnames:[],category:"objects"},":cucumber:":{uc_base:"1f952",uc_output:"1f952",uc_match:"1f952",uc_greedy:"1f952",shortnames:[],category:"food"},":cup_with_straw:":{uc_base:"1f964",uc_output:"1f964",uc_match:"1f964",uc_greedy:"1f964",shortnames:[],category:"food"},":cupcake:":{uc_base:"1f9c1",uc_output:"1f9c1",uc_match:"1f9c1",uc_greedy:"1f9c1",shortnames:[],category:"food"},":cupid:":{uc_base:"1f498",uc_output:"1f498",uc_match:"1f498",uc_greedy:"1f498",shortnames:[],category:"symbols"},":curling_stone:":{uc_base:"1f94c",uc_output:"1f94c",uc_match:"1f94c",uc_greedy:"1f94c",shortnames:[],category:"activity"},":curly_haired:":{uc_base:"1f9b1",uc_output:"1f9b1",uc_match:"1f9b1",uc_greedy:"1f9b1",shortnames:[],category:"people"},":currency_exchange:":{uc_base:"1f4b1",uc_output:"1f4b1",uc_match:"1f4b1",uc_greedy:"1f4b1",shortnames:[],category:"symbols"},":curry:":{uc_base:"1f35b",uc_output:"1f35b",uc_match:"1f35b",uc_greedy:"1f35b",shortnames:[],category:"food"},":custard:":{uc_base:"1f36e",uc_output:"1f36e",uc_match:"1f36e",uc_greedy:"1f36e",shortnames:[":pudding:",":flan:"],category:"food"},":customs:":{uc_base:"1f6c3",uc_output:"1f6c3",uc_match:"1f6c3",uc_greedy:"1f6c3",shortnames:[],category:"symbols"},":cut_of_meat:":{uc_base:"1f969",uc_output:"1f969",uc_match:"1f969",uc_greedy:"1f969",shortnames:[],category:"food"},":cyclone:":{uc_base:"1f300",uc_output:"1f300",uc_match:"1f300",uc_greedy:"1f300",shortnames:[],category:"symbols"},":dagger:":{uc_base:"1f5e1",uc_output:"1f5e1",uc_match:"1f5e1-fe0f",uc_greedy:"1f5e1-fe0f",shortnames:[":dagger_knife:"],category:"objects"},":dancer:":{uc_base:"1f483",uc_output:"1f483",uc_match:"1f483",uc_greedy:"1f483",shortnames:[],category:"people"},":dango:":{uc_base:"1f361",uc_output:"1f361",uc_match:"1f361",uc_greedy:"1f361",shortnames:[],category:"food"},":dark_sunglasses:":{uc_base:"1f576",uc_output:"1f576",uc_match:"1f576-fe0f",uc_greedy:"1f576-fe0f",shortnames:[],category:"people"},":dart:":{uc_base:"1f3af",uc_output:"1f3af",uc_match:"1f3af",uc_greedy:"1f3af",shortnames:[],category:"activity"},":dash:":{uc_base:"1f4a8",uc_output:"1f4a8",uc_match:"1f4a8",uc_greedy:"1f4a8",shortnames:[],category:"nature"},":date:":{uc_base:"1f4c5",uc_output:"1f4c5",uc_match:"1f4c5",uc_greedy:"1f4c5",shortnames:[],category:"objects"},":deciduous_tree:":{uc_base:"1f333",uc_output:"1f333",uc_match:"1f333",uc_greedy:"1f333",shortnames:[],category:"nature"},":deer:":{uc_base:"1f98c",uc_output:"1f98c",uc_match:"1f98c",uc_greedy:"1f98c",shortnames:[],category:"nature"},":department_store:":{uc_base:"1f3ec",uc_output:"1f3ec",uc_match:"1f3ec",uc_greedy:"1f3ec",shortnames:[],category:"travel"},":desert:":{uc_base:"1f3dc",uc_output:"1f3dc",uc_match:"1f3dc-fe0f",uc_greedy:"1f3dc-fe0f",shortnames:[],category:"travel"},":desktop:":{uc_base:"1f5a5",uc_output:"1f5a5",uc_match:"1f5a5-fe0f",uc_greedy:"1f5a5-fe0f",shortnames:[":desktop_computer:"],category:"objects"},":detective:":{uc_base:"1f575",uc_output:"1f575",uc_match:"1f575-fe0f",uc_greedy:"1f575-fe0f",shortnames:[":spy:",":sleuth_or_spy:"],category:"people"},":diamond_shape_with_a_dot_inside:":{uc_base:"1f4a0",uc_output:"1f4a0",uc_match:"1f4a0",uc_greedy:"1f4a0",shortnames:[],category:"symbols"},":disappointed:":{uc_base:"1f61e",uc_output:"1f61e",uc_match:"1f61e",uc_greedy:"1f61e",shortnames:[],category:"people"},":disappointed_relieved:":{uc_base:"1f625",uc_output:"1f625",uc_match:"1f625",uc_greedy:"1f625",shortnames:[],category:"people"},":dividers:":{uc_base:"1f5c2",uc_output:"1f5c2",uc_match:"1f5c2-fe0f",uc_greedy:"1f5c2-fe0f",shortnames:[":card_index_dividers:"],category:"objects"},":dizzy:":{uc_base:"1f4ab",uc_output:"1f4ab",uc_match:"1f4ab",uc_greedy:"1f4ab",shortnames:[],category:"nature"},":dizzy_face:":{uc_base:"1f635",uc_output:"1f635",uc_match:"1f635",uc_greedy:"1f635",shortnames:[],category:"people"},":dna:":{uc_base:"1f9ec",uc_output:"1f9ec",uc_match:"1f9ec",uc_greedy:"1f9ec",shortnames:[],category:"objects"},":do_not_litter:":{uc_base:"1f6af",uc_output:"1f6af",uc_match:"1f6af",uc_greedy:"1f6af",shortnames:[],category:"symbols"},":dog2:":{uc_base:"1f415",uc_output:"1f415",uc_match:"1f415-fe0f",uc_greedy:"1f415-fe0f",shortnames:[],category:"nature"},":dog:":{uc_base:"1f436",uc_output:"1f436",uc_match:"1f436",uc_greedy:"1f436",shortnames:[],category:"nature"},":dollar:":{uc_base:"1f4b5",uc_output:"1f4b5",uc_match:"1f4b5",uc_greedy:"1f4b5",shortnames:[],category:"objects"},":dolls:":{uc_base:"1f38e",uc_output:"1f38e",uc_match:"1f38e",uc_greedy:"1f38e",shortnames:[],category:"objects"},":dolphin:":{uc_base:"1f42c",uc_output:"1f42c",uc_match:"1f42c",uc_greedy:"1f42c",shortnames:[],category:"nature"},":door:":{uc_base:"1f6aa",uc_output:"1f6aa",uc_match:"1f6aa",uc_greedy:"1f6aa",shortnames:[],category:"objects"},":doughnut:":{uc_base:"1f369",uc_output:"1f369",uc_match:"1f369",uc_greedy:"1f369",shortnames:[],category:"food"},":dove:":{uc_base:"1f54a",uc_output:"1f54a",uc_match:"1f54a-fe0f",uc_greedy:"1f54a-fe0f",shortnames:[":dove_of_peace:"],category:"nature"},":dragon:":{uc_base:"1f409",uc_output:"1f409",uc_match:"1f409",uc_greedy:"1f409",shortnames:[],category:"nature"},":dragon_face:":{uc_base:"1f432",uc_output:"1f432",uc_match:"1f432",uc_greedy:"1f432",shortnames:[],category:"nature"},":dress:":{uc_base:"1f457",uc_output:"1f457",uc_match:"1f457",uc_greedy:"1f457",shortnames:[],category:"people"},":dromedary_camel:":{uc_base:"1f42a",uc_output:"1f42a",uc_match:"1f42a",uc_greedy:"1f42a",shortnames:[],category:"nature"},":drooling_face:":{uc_base:"1f924",uc_output:"1f924",uc_match:"1f924",uc_greedy:"1f924",shortnames:[":drool:"],category:"people"},":droplet:":{uc_base:"1f4a7",uc_output:"1f4a7",uc_match:"1f4a7",uc_greedy:"1f4a7",shortnames:[],category:"nature"},":drum:":{uc_base:"1f941",uc_output:"1f941",uc_match:"1f941",uc_greedy:"1f941",shortnames:[":drum_with_drumsticks:"],category:"activity"},":duck:":{uc_base:"1f986",uc_output:"1f986",uc_match:"1f986",uc_greedy:"1f986",shortnames:[],category:"nature"},":dumpling:":{uc_base:"1f95f",uc_output:"1f95f",uc_match:"1f95f",uc_greedy:"1f95f",shortnames:[],category:"food"},":dvd:":{uc_base:"1f4c0",uc_output:"1f4c0",uc_match:"1f4c0",uc_greedy:"1f4c0",shortnames:[],category:"objects"},":e-mail:":{uc_base:"1f4e7",uc_output:"1f4e7",uc_match:"1f4e7",uc_greedy:"1f4e7",shortnames:[":email:"],category:"objects"},":eagle:":{uc_base:"1f985",uc_output:"1f985",uc_match:"1f985",uc_greedy:"1f985",shortnames:[],category:"nature"},":ear:":{uc_base:"1f442",uc_output:"1f442",uc_match:"1f442-fe0f",uc_greedy:"1f442-fe0f",shortnames:[],category:"people"},":ear_of_rice:":{uc_base:"1f33e",uc_output:"1f33e",uc_match:"1f33e",uc_greedy:"1f33e",shortnames:[],category:"nature"},":earth_africa:":{uc_base:"1f30d",uc_output:"1f30d",uc_match:"1f30d-fe0f",uc_greedy:"1f30d-fe0f",shortnames:[],category:"nature"},":earth_americas:":{uc_base:"1f30e",uc_output:"1f30e",uc_match:"1f30e-fe0f",uc_greedy:"1f30e-fe0f",shortnames:[],category:"nature"},":earth_asia:":{uc_base:"1f30f",uc_output:"1f30f",uc_match:"1f30f-fe0f",uc_greedy:"1f30f-fe0f",shortnames:[],category:"nature"},":egg:":{uc_base:"1f95a",uc_output:"1f95a",uc_match:"1f95a",uc_greedy:"1f95a",shortnames:[],category:"food"},":eggplant:":{uc_base:"1f346",uc_output:"1f346",uc_match:"1f346",uc_greedy:"1f346",shortnames:[],category:"food"},":electric_plug:":{uc_base:"1f50c",uc_output:"1f50c",uc_match:"1f50c",uc_greedy:"1f50c",shortnames:[],category:"objects"},":elephant:":{uc_base:"1f418",uc_output:"1f418",uc_match:"1f418",uc_greedy:"1f418",shortnames:[],category:"nature"},":elf:":{uc_base:"1f9dd",uc_output:"1f9dd",uc_match:"1f9dd",uc_greedy:"1f9dd",shortnames:[],category:"people"},":end:":{uc_base:"1f51a",uc_output:"1f51a",uc_match:"1f51a",uc_greedy:"1f51a",shortnames:[],category:"symbols"},":envelope_with_arrow:":{uc_base:"1f4e9",uc_output:"1f4e9",uc_match:"1f4e9",uc_greedy:"1f4e9",shortnames:[],category:"objects"},":euro:":{uc_base:"1f4b6",uc_output:"1f4b6",uc_match:"1f4b6",uc_greedy:"1f4b6",shortnames:[],category:"objects"},":european_castle:":{uc_base:"1f3f0",uc_output:"1f3f0",uc_match:"1f3f0",uc_greedy:"1f3f0",shortnames:[],category:"travel"},":european_post_office:":{uc_base:"1f3e4",uc_output:"1f3e4",uc_match:"1f3e4",uc_greedy:"1f3e4",shortnames:[],category:"travel"},":evergreen_tree:":{uc_base:"1f332",uc_output:"1f332",uc_match:"1f332",uc_greedy:"1f332",shortnames:[],category:"nature"},":exploding_head:":{uc_base:"1f92f",uc_output:"1f92f",uc_match:"1f92f",uc_greedy:"1f92f",shortnames:[],category:"people"},":expressionless:":{uc_base:"1f611",uc_output:"1f611",uc_match:"1f611",uc_greedy:"1f611",shortnames:[],category:"people"},":eye:":{uc_base:"1f441",uc_output:"1f441",uc_match:"1f441-fe0f",uc_greedy:"1f441-fe0f",shortnames:[],category:"people"},":eyeglasses:":{uc_base:"1f453",uc_output:"1f453",uc_match:"1f453-fe0f",uc_greedy:"1f453-fe0f",shortnames:[],category:"people"},":eyes:":{uc_base:"1f440",uc_output:"1f440",uc_match:"1f440",uc_greedy:"1f440",shortnames:[],category:"people"},":face_vomiting:":{uc_base:"1f92e",uc_output:"1f92e",uc_match:"1f92e",uc_greedy:"1f92e",shortnames:[],category:"people"},":face_with_hand_over_mouth:":{uc_base:"1f92d",uc_output:"1f92d",uc_match:"1f92d",uc_greedy:"1f92d",shortnames:[],category:"people"},":face_with_monocle:":{uc_base:"1f9d0",uc_output:"1f9d0",uc_match:"1f9d0",uc_greedy:"1f9d0",shortnames:[],category:"people"},":face_with_raised_eyebrow:":{uc_base:"1f928",uc_output:"1f928",uc_match:"1f928",uc_greedy:"1f928",shortnames:[],category:"people"},":face_with_symbols_over_mouth:":{uc_base:"1f92c",uc_output:"1f92c",uc_match:"1f92c",uc_greedy:"1f92c",shortnames:[],category:"people"},":factory:":{uc_base:"1f3ed",uc_output:"1f3ed",uc_match:"1f3ed-fe0f",uc_greedy:"1f3ed-fe0f",shortnames:[],category:"travel"},":fairy:":{uc_base:"1f9da",uc_output:"1f9da",uc_match:"1f9da",uc_greedy:"1f9da",shortnames:[],category:"people"},":fallen_leaf:":{uc_base:"1f342",uc_output:"1f342",uc_match:"1f342",uc_greedy:"1f342",shortnames:[],category:"nature"},":family:":{uc_base:"1f46a",uc_output:"1f46a",uc_match:"1f46a-fe0f",uc_greedy:"1f46a-fe0f",shortnames:[],category:"people"},":fax:":{uc_base:"1f4e0",uc_output:"1f4e0",uc_match:"1f4e0",uc_greedy:"1f4e0",shortnames:[],category:"objects"},":fearful:":{uc_base:"1f628",uc_output:"1f628",uc_match:"1f628",uc_greedy:"1f628",shortnames:[],category:"people"},":feet:":{uc_base:"1f43e",uc_output:"1f43e",uc_match:"1f43e",uc_greedy:"1f43e",shortnames:[":paw_prints:"],category:"nature"},":ferris_wheel:":{uc_base:"1f3a1",uc_output:"1f3a1",uc_match:"1f3a1",uc_greedy:"1f3a1",shortnames:[],category:"travel"},":field_hockey:":{uc_base:"1f3d1",uc_output:"1f3d1",uc_match:"1f3d1",uc_greedy:"1f3d1",shortnames:[],category:"activity"},":file_cabinet:":{uc_base:"1f5c4",uc_output:"1f5c4",uc_match:"1f5c4-fe0f",uc_greedy:"1f5c4-fe0f",shortnames:[],category:"objects"},":file_folder:":{uc_base:"1f4c1",uc_output:"1f4c1",uc_match:"1f4c1",uc_greedy:"1f4c1",shortnames:[],category:"objects"},":film_frames:":{uc_base:"1f39e",uc_output:"1f39e",uc_match:"1f39e-fe0f",uc_greedy:"1f39e-fe0f",shortnames:[],category:"objects"},":fingers_crossed:":{uc_base:"1f91e",uc_output:"1f91e",uc_match:"1f91e",uc_greedy:"1f91e",shortnames:[":hand_with_index_and_middle_finger_crossed:"],category:"people"},":fire:":{uc_base:"1f525",uc_output:"1f525",uc_match:"1f525",uc_greedy:"1f525",shortnames:[":flame:"],category:"nature"},":fire_engine:":{uc_base:"1f692",uc_output:"1f692",uc_match:"1f692",uc_greedy:"1f692",shortnames:[],category:"travel"},":fire_extinguisher:":{uc_base:"1f9ef",uc_output:"1f9ef",uc_match:"1f9ef",uc_greedy:"1f9ef",shortnames:[],category:"objects"},":firecracker:":{uc_base:"1f9e8",uc_output:"1f9e8",uc_match:"1f9e8",uc_greedy:"1f9e8",shortnames:[],category:"travel"},":fireworks:":{uc_base:"1f386",uc_output:"1f386",uc_match:"1f386",uc_greedy:"1f386",shortnames:[],category:"travel"},":first_place:":{uc_base:"1f947",uc_output:"1f947",uc_match:"1f947",uc_greedy:"1f947",shortnames:[":first_place_medal:"],category:"activity"},":first_quarter_moon:":{uc_base:"1f313",uc_output:"1f313",uc_match:"1f313",uc_greedy:"1f313",shortnames:[],category:"nature"},":first_quarter_moon_with_face:":{uc_base:"1f31b",uc_output:"1f31b",uc_match:"1f31b",uc_greedy:"1f31b",shortnames:[],category:"nature"},":fish:":{uc_base:"1f41f",uc_output:"1f41f",uc_match:"1f41f-fe0f",uc_greedy:"1f41f-fe0f",shortnames:[],category:"nature"},":fish_cake:":{uc_base:"1f365",uc_output:"1f365",uc_match:"1f365",uc_greedy:"1f365",shortnames:[],category:"food"},":fishing_pole_and_fish:":{uc_base:"1f3a3",uc_output:"1f3a3",uc_match:"1f3a3",uc_greedy:"1f3a3",shortnames:[],category:"activity"},":flag_black:":{uc_base:"1f3f4",uc_output:"1f3f4",uc_match:"1f3f4",uc_greedy:"1f3f4",shortnames:[":waving_black_flag:"],category:"flags"},":flag_white:":{uc_base:"1f3f3",uc_output:"1f3f3",uc_match:"1f3f3-fe0f",uc_greedy:"1f3f3-fe0f",shortnames:[":waving_white_flag:"],category:"flags"},":flags:":{uc_base:"1f38f",uc_output:"1f38f",uc_match:"1f38f",uc_greedy:"1f38f",shortnames:[],category:"objects"},":flashlight:":{uc_base:"1f526",uc_output:"1f526",uc_match:"1f526",uc_greedy:"1f526",shortnames:[],category:"objects"},":floppy_disk:":{uc_base:"1f4be",uc_output:"1f4be",uc_match:"1f4be",uc_greedy:"1f4be",shortnames:[],category:"objects"},":flower_playing_cards:":{uc_base:"1f3b4",uc_output:"1f3b4",uc_match:"1f3b4",uc_greedy:"1f3b4",shortnames:[],category:"symbols"},":flushed:":{uc_base:"1f633",uc_output:"1f633",uc_match:"1f633",uc_greedy:"1f633",shortnames:[],category:"people"},":flying_disc:":{uc_base:"1f94f",uc_output:"1f94f",uc_match:"1f94f",uc_greedy:"1f94f",shortnames:[],category:"activity"},":flying_saucer:":{uc_base:"1f6f8",uc_output:"1f6f8",uc_match:"1f6f8",uc_greedy:"1f6f8",shortnames:[],category:"travel"},":fog:":{uc_base:"1f32b",uc_output:"1f32b",uc_match:"1f32b-fe0f",uc_greedy:"1f32b-fe0f",shortnames:[],category:"nature"},":foggy:":{uc_base:"1f301",uc_output:"1f301",uc_match:"1f301",uc_greedy:"1f301",shortnames:[],category:"travel"},":foot:":{uc_base:"1f9b6",uc_output:"1f9b6",uc_match:"1f9b6",uc_greedy:"1f9b6",shortnames:[],category:"people"},":football:":{uc_base:"1f3c8",uc_output:"1f3c8",uc_match:"1f3c8",uc_greedy:"1f3c8",shortnames:[],category:"activity"},":footprints:":{uc_base:"1f463",uc_output:"1f463",uc_match:"1f463",uc_greedy:"1f463",shortnames:[],category:"people"},":fork_and_knife:":{uc_base:"1f374",uc_output:"1f374",uc_match:"1f374",uc_greedy:"1f374",shortnames:[],category:"food"},":fork_knife_plate:":{uc_base:"1f37d",uc_output:"1f37d",uc_match:"1f37d-fe0f",uc_greedy:"1f37d-fe0f",shortnames:[":fork_and_knife_with_plate:"],category:"food"},":fortune_cookie:":{uc_base:"1f960",uc_output:"1f960",uc_match:"1f960",uc_greedy:"1f960",shortnames:[],category:"food"},":four_leaf_clover:":{uc_base:"1f340",uc_output:"1f340",uc_match:"1f340",uc_greedy:"1f340",shortnames:[],category:"nature"},":fox:":{uc_base:"1f98a",uc_output:"1f98a",uc_match:"1f98a",uc_greedy:"1f98a",shortnames:[":fox_face:"],category:"nature"},":frame_photo:":{uc_base:"1f5bc",uc_output:"1f5bc",uc_match:"1f5bc-fe0f",uc_greedy:"1f5bc-fe0f",shortnames:[":frame_with_picture:"],category:"objects"},":free:":{uc_base:"1f193",uc_output:"1f193",uc_match:"1f193",uc_greedy:"1f193",shortnames:[],category:"symbols"},":french_bread:":{uc_base:"1f956",uc_output:"1f956",uc_match:"1f956",uc_greedy:"1f956",shortnames:[":baguette_bread:"],category:"food"},":fried_shrimp:":{uc_base:"1f364",uc_output:"1f364",uc_match:"1f364",uc_greedy:"1f364",shortnames:[],category:"food"},":fries:":{uc_base:"1f35f",uc_output:"1f35f",uc_match:"1f35f",uc_greedy:"1f35f",shortnames:[],category:"food"},":frog:":{uc_base:"1f438",uc_output:"1f438",uc_match:"1f438",uc_greedy:"1f438",shortnames:[],category:"nature"},":frowning:":{uc_base:"1f626",uc_output:"1f626",uc_match:"1f626",uc_greedy:"1f626",shortnames:[],category:"people"},":full_moon:":{uc_base:"1f315",uc_output:"1f315",uc_match:"1f315-fe0f",uc_greedy:"1f315-fe0f",shortnames:[],category:"nature"},":full_moon_with_face:":{uc_base:"1f31d",uc_output:"1f31d",uc_match:"1f31d",uc_greedy:"1f31d",shortnames:[],category:"nature"},":game_die:":{uc_base:"1f3b2",uc_output:"1f3b2",uc_match:"1f3b2",uc_greedy:"1f3b2",shortnames:[],category:"activity"},":gem:":{uc_base:"1f48e",uc_output:"1f48e",uc_match:"1f48e",uc_greedy:"1f48e",shortnames:[],category:"objects"},":genie:":{uc_base:"1f9de",uc_output:"1f9de",uc_match:"1f9de",uc_greedy:"1f9de",shortnames:[],category:"people"},":ghost:":{uc_base:"1f47b",uc_output:"1f47b",uc_match:"1f47b",uc_greedy:"1f47b",shortnames:[],category:"people"},":gift:":{uc_base:"1f381",uc_output:"1f381",uc_match:"1f381",uc_greedy:"1f381",shortnames:[],category:"objects"},":gift_heart:":{uc_base:"1f49d",uc_output:"1f49d",uc_match:"1f49d",uc_greedy:"1f49d",shortnames:[],category:"symbols"},":giraffe:":{uc_base:"1f992",uc_output:"1f992",uc_match:"1f992",uc_greedy:"1f992",shortnames:[],category:"nature"},":girl:":{uc_base:"1f467",uc_output:"1f467",uc_match:"1f467",uc_greedy:"1f467",shortnames:[],category:"people"},":globe_with_meridians:":{uc_base:"1f310",uc_output:"1f310",uc_match:"1f310",uc_greedy:"1f310",shortnames:[],category:"symbols"},":gloves:":{uc_base:"1f9e4",uc_output:"1f9e4",uc_match:"1f9e4",uc_greedy:"1f9e4",shortnames:[],category:"people"},":goal:":{uc_base:"1f945",uc_output:"1f945",uc_match:"1f945",uc_greedy:"1f945",shortnames:[":goal_net:"],category:"activity"},":goat:":{uc_base:"1f410",uc_output:"1f410",uc_match:"1f410",uc_greedy:"1f410",shortnames:[],category:"nature"},":goggles:":{uc_base:"1f97d",uc_output:"1f97d",uc_match:"1f97d",uc_greedy:"1f97d",shortnames:[],category:"people"},":gorilla:":{uc_base:"1f98d",uc_output:"1f98d",uc_match:"1f98d",uc_greedy:"1f98d",shortnames:[],category:"nature"},":grapes:":{uc_base:"1f347",uc_output:"1f347",uc_match:"1f347",uc_greedy:"1f347",shortnames:[],category:"food"},":green_apple:":{uc_base:"1f34f",uc_output:"1f34f",uc_match:"1f34f",uc_greedy:"1f34f",shortnames:[],category:"food"},":green_book:":{uc_base:"1f4d7",uc_output:"1f4d7",uc_match:"1f4d7",uc_greedy:"1f4d7",shortnames:[],category:"objects"},":green_heart:":{uc_base:"1f49a",uc_output:"1f49a",uc_match:"1f49a",uc_greedy:"1f49a",shortnames:[],category:"symbols"},":grimacing:":{uc_base:"1f62c",uc_output:"1f62c",uc_match:"1f62c",uc_greedy:"1f62c",shortnames:[],category:"people"},":grin:":{uc_base:"1f601",uc_output:"1f601",uc_match:"1f601",uc_greedy:"1f601",shortnames:[],category:"people"},":grinning:":{uc_base:"1f600",uc_output:"1f600",uc_match:"1f600",uc_greedy:"1f600",shortnames:[],category:"people"},":guard:":{uc_base:"1f482",uc_output:"1f482",uc_match:"1f482",uc_greedy:"1f482",shortnames:[":guardsman:"],category:"people"},":guitar:":{uc_base:"1f3b8",uc_output:"1f3b8",uc_match:"1f3b8",uc_greedy:"1f3b8",shortnames:[],category:"activity"},":gun:":{uc_base:"1f52b",uc_output:"1f52b",uc_match:"1f52b",uc_greedy:"1f52b",shortnames:[],category:"objects"},":hamburger:":{uc_base:"1f354",uc_output:"1f354",uc_match:"1f354",uc_greedy:"1f354",shortnames:[],category:"food"},":hammer:":{uc_base:"1f528",uc_output:"1f528",uc_match:"1f528",uc_greedy:"1f528",shortnames:[],category:"objects"},":hamster:":{uc_base:"1f439",uc_output:"1f439",uc_match:"1f439",uc_greedy:"1f439",shortnames:[],category:"nature"},":hand_splayed:":{uc_base:"1f590",uc_output:"1f590",uc_match:"1f590-fe0f",uc_greedy:"1f590-fe0f",shortnames:[":raised_hand_with_fingers_splayed:"],category:"people"},":handbag:":{uc_base:"1f45c",uc_output:"1f45c",uc_match:"1f45c",uc_greedy:"1f45c",shortnames:[],category:"people"},":handshake:":{uc_base:"1f91d",uc_output:"1f91d",uc_match:"1f91d",uc_greedy:"1f91d",shortnames:[":shaking_hands:"],category:"people"},":hatched_chick:":{uc_base:"1f425",uc_output:"1f425",uc_match:"1f425",uc_greedy:"1f425",shortnames:[],category:"nature"},":hatching_chick:":{uc_base:"1f423",uc_output:"1f423",uc_match:"1f423",uc_greedy:"1f423",shortnames:[],category:"nature"},":head_bandage:":{uc_base:"1f915",uc_output:"1f915",uc_match:"1f915",uc_greedy:"1f915",shortnames:[":face_with_head_bandage:"],category:"people"},":headphones:":{uc_base:"1f3a7",uc_output:"1f3a7",uc_match:"1f3a7-fe0f",uc_greedy:"1f3a7-fe0f",shortnames:[],category:"activity"},":hear_no_evil:":{uc_base:"1f649",uc_output:"1f649",uc_match:"1f649",uc_greedy:"1f649",shortnames:[],category:"nature"},":heart_decoration:":{uc_base:"1f49f",uc_output:"1f49f",uc_match:"1f49f",uc_greedy:"1f49f",shortnames:[],category:"symbols"},":heart_eyes:":{uc_base:"1f60d",uc_output:"1f60d",uc_match:"1f60d",uc_greedy:"1f60d",shortnames:[],category:"people"},":heart_eyes_cat:":{uc_base:"1f63b",uc_output:"1f63b",uc_match:"1f63b",uc_greedy:"1f63b",shortnames:[],category:"people"},":heartbeat:":{uc_base:"1f493",uc_output:"1f493",uc_match:"1f493",uc_greedy:"1f493",shortnames:[],category:"symbols"},":heartpulse:":{uc_base:"1f497",uc_output:"1f497",uc_match:"1f497",uc_greedy:"1f497",shortnames:[],category:"symbols"},":heavy_dollar_sign:":{uc_base:"1f4b2",uc_output:"1f4b2",uc_match:"1f4b2",uc_greedy:"1f4b2",shortnames:[],category:"symbols"},":hedgehog:":{uc_base:"1f994",uc_output:"1f994",uc_match:"1f994",uc_greedy:"1f994",shortnames:[],category:"nature"},":helicopter:":{uc_base:"1f681",uc_output:"1f681",uc_match:"1f681",uc_greedy:"1f681",shortnames:[],category:"travel"},":herb:":{uc_base:"1f33f",uc_output:"1f33f",uc_match:"1f33f",uc_greedy:"1f33f",shortnames:[],category:"nature"},":hibiscus:":{uc_base:"1f33a",uc_output:"1f33a",uc_match:"1f33a",uc_greedy:"1f33a",shortnames:[],category:"nature"},":high_brightness:":{uc_base:"1f506",uc_output:"1f506",uc_match:"1f506",uc_greedy:"1f506",shortnames:[],category:"symbols"},":high_heel:":{uc_base:"1f460",uc_output:"1f460",uc_match:"1f460",uc_greedy:"1f460",shortnames:[],category:"people"},":hiking_boot:":{uc_base:"1f97e",uc_output:"1f97e",uc_match:"1f97e",uc_greedy:"1f97e",shortnames:[],category:"people"},":hippopotamus:":{uc_base:"1f99b",uc_output:"1f99b",uc_match:"1f99b",uc_greedy:"1f99b",shortnames:[],category:"nature"},":hockey:":{uc_base:"1f3d2",uc_output:"1f3d2",uc_match:"1f3d2",uc_greedy:"1f3d2",shortnames:[],category:"activity"},":hole:":{uc_base:"1f573",uc_output:"1f573",uc_match:"1f573-fe0f",uc_greedy:"1f573-fe0f",shortnames:[],category:"objects"},":homes:":{uc_base:"1f3d8",uc_output:"1f3d8",uc_match:"1f3d8-fe0f",uc_greedy:"1f3d8-fe0f",shortnames:[":house_buildings:"],category:"travel"},":honey_pot:":{uc_base:"1f36f",uc_output:"1f36f",uc_match:"1f36f",uc_greedy:"1f36f",shortnames:[],category:"food"},":horse:":{uc_base:"1f434",uc_output:"1f434",uc_match:"1f434",uc_greedy:"1f434",shortnames:[],category:"nature"},":horse_racing:":{uc_base:"1f3c7",uc_output:"1f3c7",uc_match:"1f3c7",uc_greedy:"1f3c7",shortnames:[],category:"activity"},":hospital:":{uc_base:"1f3e5",uc_output:"1f3e5",uc_match:"1f3e5",uc_greedy:"1f3e5",shortnames:[],category:"travel"},":hot_face:":{uc_base:"1f975",uc_output:"1f975",uc_match:"1f975",uc_greedy:"1f975",shortnames:[],category:"people"},":hot_pepper:":{uc_base:"1f336",uc_output:"1f336",uc_match:"1f336-fe0f",uc_greedy:"1f336-fe0f",shortnames:[],category:"food"},":hotdog:":{uc_base:"1f32d",uc_output:"1f32d",uc_match:"1f32d",uc_greedy:"1f32d",shortnames:[":hot_dog:"],category:"food"},":hotel:":{uc_base:"1f3e8",uc_output:"1f3e8",uc_match:"1f3e8",uc_greedy:"1f3e8",shortnames:[],category:"travel"},":house:":{uc_base:"1f3e0",uc_output:"1f3e0",uc_match:"1f3e0-fe0f",uc_greedy:"1f3e0-fe0f",shortnames:[],category:"travel"},":house_abandoned:":{uc_base:"1f3da",uc_output:"1f3da",uc_match:"1f3da-fe0f",uc_greedy:"1f3da-fe0f",shortnames:[":derelict_house_building:"],category:"travel"},":house_with_garden:":{uc_base:"1f3e1",uc_output:"1f3e1",uc_match:"1f3e1",uc_greedy:"1f3e1",shortnames:[],category:"travel"},":hugging:":{uc_base:"1f917",uc_output:"1f917",uc_match:"1f917",uc_greedy:"1f917",shortnames:[":hugging_face:"],category:"people"},":hushed:":{uc_base:"1f62f",uc_output:"1f62f",uc_match:"1f62f",uc_greedy:"1f62f",shortnames:[],category:"people"},":ice_cream:":{uc_base:"1f368",uc_output:"1f368",uc_match:"1f368",uc_greedy:"1f368",shortnames:[],category:"food"},":icecream:":{uc_base:"1f366",uc_output:"1f366",uc_match:"1f366",uc_greedy:"1f366",shortnames:[],category:"food"},":id:":{uc_base:"1f194",uc_output:"1f194",uc_match:"1f194",uc_greedy:"1f194",shortnames:[],category:"symbols"},":ideograph_advantage:":{uc_base:"1f250",uc_output:"1f250",uc_match:"1f250",uc_greedy:"1f250",shortnames:[],category:"symbols"},":imp:":{uc_base:"1f47f",uc_output:"1f47f",uc_match:"1f47f",uc_greedy:"1f47f",shortnames:[],category:"people"},":inbox_tray:":{uc_base:"1f4e5",uc_output:"1f4e5",uc_match:"1f4e5-fe0f",uc_greedy:"1f4e5-fe0f",shortnames:[],category:"objects"},":incoming_envelope:":{uc_base:"1f4e8",uc_output:"1f4e8",uc_match:"1f4e8",uc_greedy:"1f4e8",shortnames:[],category:"objects"},":innocent:":{uc_base:"1f607",uc_output:"1f607",uc_match:"1f607",uc_greedy:"1f607",shortnames:[],category:"people"},":iphone:":{uc_base:"1f4f1",uc_output:"1f4f1",uc_match:"1f4f1",uc_greedy:"1f4f1",shortnames:[],category:"objects"},":island:":{uc_base:"1f3dd",uc_output:"1f3dd",uc_match:"1f3dd-fe0f",uc_greedy:"1f3dd-fe0f",shortnames:[":desert_island:"],category:"travel"},":izakaya_lantern:":{uc_base:"1f3ee",uc_output:"1f3ee",uc_match:"1f3ee",uc_greedy:"1f3ee",shortnames:[],category:"objects"},":jack_o_lantern:":{uc_base:"1f383",uc_output:"1f383",uc_match:"1f383",uc_greedy:"1f383",shortnames:[],category:"people"},":japan:":{uc_base:"1f5fe",uc_output:"1f5fe",uc_match:"1f5fe",uc_greedy:"1f5fe",shortnames:[],category:"travel"},":japanese_castle:":{uc_base:"1f3ef",uc_output:"1f3ef",uc_match:"1f3ef",uc_greedy:"1f3ef",shortnames:[],category:"travel"},":japanese_goblin:":{uc_base:"1f47a",uc_output:"1f47a",uc_match:"1f47a",uc_greedy:"1f47a",shortnames:[],category:"people"},":japanese_ogre:":{uc_base:"1f479",uc_output:"1f479",uc_match:"1f479",uc_greedy:"1f479",shortnames:[],category:"people"},":jeans:":{uc_base:"1f456",uc_output:"1f456",uc_match:"1f456",uc_greedy:"1f456",shortnames:[],category:"people"},":jigsaw:":{uc_base:"1f9e9",uc_output:"1f9e9",uc_match:"1f9e9",uc_greedy:"1f9e9",shortnames:[],category:"objects"},":joy:":{uc_base:"1f602",uc_output:"1f602",uc_match:"1f602",uc_greedy:"1f602",shortnames:[],category:"people"},":joy_cat:":{uc_base:"1f639",uc_output:"1f639",uc_match:"1f639",uc_greedy:"1f639",shortnames:[],category:"people"},":joystick:":{uc_base:"1f579",uc_output:"1f579",uc_match:"1f579-fe0f",uc_greedy:"1f579-fe0f",shortnames:[],category:"objects"},":kaaba:":{uc_base:"1f54b",uc_output:"1f54b",uc_match:"1f54b",uc_greedy:"1f54b",shortnames:[],category:"travel"},":kangaroo:":{uc_base:"1f998",uc_output:"1f998",uc_match:"1f998",uc_greedy:"1f998",shortnames:[],category:"nature"},":key2:":{uc_base:"1f5dd",uc_output:"1f5dd",uc_match:"1f5dd-fe0f",uc_greedy:"1f5dd",shortnames:[":old_key:"],category:"objects"},":key:":{uc_base:"1f511",uc_output:"1f511",uc_match:"1f511",uc_greedy:"1f511",shortnames:[],category:"objects"},":keycap_ten:":{uc_base:"1f51f",uc_output:"1f51f",uc_match:"1f51f",uc_greedy:"1f51f",shortnames:[],category:"symbols"},":kimono:":{uc_base:"1f458",uc_output:"1f458",uc_match:"1f458",uc_greedy:"1f458",shortnames:[],category:"people"},":kiss:":{uc_base:"1f48b",uc_output:"1f48b",uc_match:"1f48b",uc_greedy:"1f48b",shortnames:[],category:"people"},":kissing:":{uc_base:"1f617",uc_output:"1f617",uc_match:"1f617",uc_greedy:"1f617",shortnames:[],category:"people"},":kissing_cat:":{uc_base:"1f63d",uc_output:"1f63d",uc_match:"1f63d",uc_greedy:"1f63d",shortnames:[],category:"people"},":kissing_closed_eyes:":{uc_base:"1f61a",uc_output:"1f61a",uc_match:"1f61a",uc_greedy:"1f61a",shortnames:[],category:"people"},":kissing_heart:":{uc_base:"1f618",uc_output:"1f618",uc_match:"1f618",uc_greedy:"1f618",shortnames:[],category:"people"},":kissing_smiling_eyes:":{uc_base:"1f619",uc_output:"1f619",uc_match:"1f619",uc_greedy:"1f619",shortnames:[],category:"people"},":kiwi:":{uc_base:"1f95d",uc_output:"1f95d",uc_match:"1f95d",uc_greedy:"1f95d",shortnames:[":kiwifruit:"],category:"food"},":knife:":{uc_base:"1f52a",uc_output:"1f52a",uc_match:"1f52a",uc_greedy:"1f52a",shortnames:[],category:"objects"},":koala:":{uc_base:"1f428",uc_output:"1f428",uc_match:"1f428",uc_greedy:"1f428",shortnames:[],category:"nature"},":koko:":{uc_base:"1f201",uc_output:"1f201",uc_match:"1f201",uc_greedy:"1f201",shortnames:[],category:"symbols"},":lab_coat:":{uc_base:"1f97c",uc_output:"1f97c",uc_match:"1f97c",uc_greedy:"1f97c",shortnames:[],category:"people"},":label:":{uc_base:"1f3f7",uc_output:"1f3f7",uc_match:"1f3f7-fe0f",uc_greedy:"1f3f7-fe0f",shortnames:[],category:"objects"},":lacrosse:":{uc_base:"1f94d",uc_output:"1f94d",uc_match:"1f94d",uc_greedy:"1f94d",shortnames:[],category:"activity"},":large_blue_diamond:":{uc_base:"1f537",uc_output:"1f537",uc_match:"1f537",uc_greedy:"1f537",shortnames:[],category:"symbols"},":large_orange_diamond:":{uc_base:"1f536",uc_output:"1f536",uc_match:"1f536",uc_greedy:"1f536",shortnames:[],category:"symbols"},":last_quarter_moon:":{uc_base:"1f317",uc_output:"1f317",uc_match:"1f317",uc_greedy:"1f317",shortnames:[],category:"nature"},":last_quarter_moon_with_face:":{uc_base:"1f31c",uc_output:"1f31c",uc_match:"1f31c-fe0f",uc_greedy:"1f31c-fe0f",shortnames:[],category:"nature"},":laughing:":{uc_base:"1f606",uc_output:"1f606",uc_match:"1f606",uc_greedy:"1f606",shortnames:[":satisfied:"],category:"people"},":leafy_green:":{uc_base:"1f96c",uc_output:"1f96c",uc_match:"1f96c",uc_greedy:"1f96c",shortnames:[],category:"food"},":leaves:":{uc_base:"1f343",uc_output:"1f343",uc_match:"1f343",uc_greedy:"1f343",shortnames:[],category:"nature"},":ledger:":{uc_base:"1f4d2",uc_output:"1f4d2",uc_match:"1f4d2",uc_greedy:"1f4d2",shortnames:[],category:"objects"},":left_facing_fist:":{uc_base:"1f91b",uc_output:"1f91b",uc_match:"1f91b",uc_greedy:"1f91b",shortnames:[":left_fist:"],category:"people"},":left_luggage:":{uc_base:"1f6c5",uc_output:"1f6c5",uc_match:"1f6c5",uc_greedy:"1f6c5",shortnames:[],category:"symbols"},":leg:":{uc_base:"1f9b5",uc_output:"1f9b5",uc_match:"1f9b5",uc_greedy:"1f9b5",shortnames:[],category:"people"},":lemon:":{uc_base:"1f34b",uc_output:"1f34b",uc_match:"1f34b",uc_greedy:"1f34b",shortnames:[],category:"food"},":leopard:":{uc_base:"1f406",uc_output:"1f406",uc_match:"1f406",uc_greedy:"1f406",shortnames:[],category:"nature"},":level_slider:":{uc_base:"1f39a",uc_output:"1f39a",uc_match:"1f39a-fe0f",uc_greedy:"1f39a-fe0f",shortnames:[],category:"objects"},":levitate:":{uc_base:"1f574",uc_output:"1f574",uc_match:"1f574-fe0f",uc_greedy:"1f574-fe0f",shortnames:[":man_in_business_suit_levitating:"],category:"people"},":light_rail:":{uc_base:"1f688",uc_output:"1f688",uc_match:"1f688",uc_greedy:"1f688",shortnames:[],category:"travel"},":link:":{uc_base:"1f517",uc_output:"1f517",uc_match:"1f517",uc_greedy:"1f517",shortnames:[],category:"objects"},":lion_face:":{uc_base:"1f981",uc_output:"1f981",uc_match:"1f981",uc_greedy:"1f981",shortnames:[":lion:"],category:"nature"},":lips:":{uc_base:"1f444",uc_output:"1f444",uc_match:"1f444",uc_greedy:"1f444",shortnames:[],category:"people"},":lipstick:":{uc_base:"1f484",uc_output:"1f484",uc_match:"1f484",uc_greedy:"1f484",shortnames:[],category:"people"},":lizard:":{uc_base:"1f98e",uc_output:"1f98e",uc_match:"1f98e",uc_greedy:"1f98e",shortnames:[],category:"nature"},":llama:":{uc_base:"1f999",uc_output:"1f999",uc_match:"1f999",uc_greedy:"1f999",shortnames:[],category:"nature"},":lobster:":{uc_base:"1f99e",uc_output:"1f99e",uc_match:"1f99e",uc_greedy:"1f99e",shortnames:[],category:"nature"},":lock:":{uc_base:"1f512",uc_output:"1f512",uc_match:"1f512-fe0f",uc_greedy:"1f512-fe0f",shortnames:[],category:"objects"},":lock_with_ink_pen:":{uc_base:"1f50f",uc_output:"1f50f",uc_match:"1f50f",uc_greedy:"1f50f",shortnames:[],category:"objects"},":lollipop:":{uc_base:"1f36d",uc_output:"1f36d",uc_match:"1f36d",uc_greedy:"1f36d",shortnames:[],category:"food"},":loud_sound:":{uc_base:"1f50a",uc_output:"1f50a",uc_match:"1f50a",uc_greedy:"1f50a",shortnames:[],category:"symbols"},":loudspeaker:":{uc_base:"1f4e2",uc_output:"1f4e2",uc_match:"1f4e2",uc_greedy:"1f4e2",shortnames:[],category:"symbols"},":love_hotel:":{uc_base:"1f3e9",uc_output:"1f3e9",uc_match:"1f3e9",uc_greedy:"1f3e9",shortnames:[],category:"travel"},":love_letter:":{uc_base:"1f48c",uc_output:"1f48c",uc_match:"1f48c",uc_greedy:"1f48c",shortnames:[],category:"objects"},":love_you_gesture:":{uc_base:"1f91f",uc_output:"1f91f",uc_match:"1f91f",uc_greedy:"1f91f",shortnames:[],category:"people"},":low_brightness:":{uc_base:"1f505",uc_output:"1f505",uc_match:"1f505",uc_greedy:"1f505",shortnames:[],category:"symbols"},":luggage:":{uc_base:"1f9f3",uc_output:"1f9f3",uc_match:"1f9f3",uc_greedy:"1f9f3",shortnames:[],category:"travel"},":lying_face:":{uc_base:"1f925",uc_output:"1f925",uc_match:"1f925",uc_greedy:"1f925",shortnames:[":liar:"],category:"people"},":mag:":{uc_base:"1f50d",uc_output:"1f50d",uc_match:"1f50d-fe0f",uc_greedy:"1f50d-fe0f",shortnames:[],category:"objects"},":mag_right:":{uc_base:"1f50e",uc_output:"1f50e",uc_match:"1f50e",uc_greedy:"1f50e",shortnames:[],category:"objects"},":mage:":{uc_base:"1f9d9",uc_output:"1f9d9",uc_match:"1f9d9",uc_greedy:"1f9d9",shortnames:[],category:"people"},":magnet:":{uc_base:"1f9f2",uc_output:"1f9f2",uc_match:"1f9f2",uc_greedy:"1f9f2",shortnames:[],category:"objects"},":mahjong:":{uc_base:"1f004",uc_output:"1f004",uc_match:"1f004-fe0f",uc_greedy:"1f004-fe0f",shortnames:[],category:"symbols"},":mailbox:":{uc_base:"1f4eb",uc_output:"1f4eb",uc_match:"1f4eb-fe0f",uc_greedy:"1f4eb-fe0f",shortnames:[],category:"objects"},":mailbox_closed:":{uc_base:"1f4ea",uc_output:"1f4ea",uc_match:"1f4ea-fe0f",uc_greedy:"1f4ea-fe0f",shortnames:[],category:"objects"},":mailbox_with_mail:":{uc_base:"1f4ec",uc_output:"1f4ec",uc_match:"1f4ec-fe0f",uc_greedy:"1f4ec-fe0f",shortnames:[],category:"objects"},":mailbox_with_no_mail:":{uc_base:"1f4ed",uc_output:"1f4ed",uc_match:"1f4ed-fe0f",uc_greedy:"1f4ed-fe0f",shortnames:[],category:"objects"},":man:":{uc_base:"1f468",uc_output:"1f468",uc_match:"1f468",uc_greedy:"1f468",shortnames:[],category:"people"},":man_dancing:":{uc_base:"1f57a",uc_output:"1f57a",uc_match:"1f57a",uc_greedy:"1f57a",shortnames:[":male_dancer:"],category:"people"},":man_in_tuxedo:":{uc_base:"1f935",uc_output:"1f935",uc_match:"1f935",uc_greedy:"1f935",shortnames:[],category:"people"},":man_with_chinese_cap:":{uc_base:"1f472",uc_output:"1f472",uc_match:"1f472",uc_greedy:"1f472",shortnames:[":man_with_gua_pi_mao:"],category:"people"},":mango:":{uc_base:"1f96d",uc_output:"1f96d",uc_match:"1f96d",uc_greedy:"1f96d",shortnames:[],category:"food"},":mans_shoe:":{uc_base:"1f45e",uc_output:"1f45e",uc_match:"1f45e",uc_greedy:"1f45e",shortnames:[],category:"people"},":map:":{uc_base:"1f5fa",uc_output:"1f5fa",uc_match:"1f5fa-fe0f",uc_greedy:"1f5fa-fe0f",shortnames:[":world_map:"],category:"travel"},":maple_leaf:":{uc_base:"1f341",uc_output:"1f341",uc_match:"1f341",uc_greedy:"1f341",shortnames:[],category:"nature"},":martial_arts_uniform:":{uc_base:"1f94b",uc_output:"1f94b",uc_match:"1f94b",uc_greedy:"1f94b",shortnames:[":karate_uniform:"],category:"activity"},":mask:":{uc_base:"1f637",uc_output:"1f637",uc_match:"1f637",uc_greedy:"1f637",shortnames:[],category:"people"},":meat_on_bone:":{uc_base:"1f356",uc_output:"1f356",uc_match:"1f356",uc_greedy:"1f356",shortnames:[],category:"food"},":medal:":{uc_base:"1f3c5",uc_output:"1f3c5",uc_match:"1f3c5",uc_greedy:"1f3c5",shortnames:[":sports_medal:"],category:"activity"},":mega:":{uc_base:"1f4e3",uc_output:"1f4e3",uc_match:"1f4e3",uc_greedy:"1f4e3",shortnames:[],category:"symbols"},":melon:":{uc_base:"1f348",uc_output:"1f348",uc_match:"1f348",uc_greedy:"1f348",shortnames:[],category:"food"},":menorah:":{uc_base:"1f54e",uc_output:"1f54e",uc_match:"1f54e",uc_greedy:"1f54e",shortnames:[],category:"symbols"},":mens:":{uc_base:"1f6b9",uc_output:"1f6b9",uc_match:"1f6b9-fe0f",uc_greedy:"1f6b9-fe0f",shortnames:[],category:"symbols"},":merperson:":{uc_base:"1f9dc",uc_output:"1f9dc",uc_match:"1f9dc",uc_greedy:"1f9dc",shortnames:[],category:"people"},":metal:":{uc_base:"1f918",uc_output:"1f918",uc_match:"1f918",uc_greedy:"1f918",shortnames:[":sign_of_the_horns:"],category:"people"},":metro:":{uc_base:"1f687",uc_output:"1f687",uc_match:"1f687-fe0f",uc_greedy:"1f687-fe0f",shortnames:[],category:"travel"},":microbe:":{uc_base:"1f9a0",uc_output:"1f9a0",uc_match:"1f9a0",uc_greedy:"1f9a0",shortnames:[],category:"nature"},":microphone2:":{uc_base:"1f399",uc_output:"1f399",uc_match:"1f399-fe0f",uc_greedy:"1f399-fe0f",shortnames:[":studio_microphone:"],category:"objects"},":microphone:":{uc_base:"1f3a4",uc_output:"1f3a4",uc_match:"1f3a4",uc_greedy:"1f3a4",shortnames:[],category:"activity"},":microscope:":{uc_base:"1f52c",uc_output:"1f52c",uc_match:"1f52c",uc_greedy:"1f52c",shortnames:[],category:"objects"},":middle_finger:":{uc_base:"1f595",uc_output:"1f595",uc_match:"1f595",uc_greedy:"1f595",shortnames:[":reversed_hand_with_middle_finger_extended:"],category:"people"},":military_medal:":{uc_base:"1f396",uc_output:"1f396",uc_match:"1f396-fe0f",uc_greedy:"1f396-fe0f",shortnames:[],category:"activity"},":milk:":{uc_base:"1f95b",uc_output:"1f95b",uc_match:"1f95b",uc_greedy:"1f95b",shortnames:[":glass_of_milk:"],category:"food"},":milky_way:":{uc_base:"1f30c",uc_output:"1f30c",uc_match:"1f30c",uc_greedy:"1f30c",shortnames:[],category:"travel"},":minibus:":{uc_base:"1f690",uc_output:"1f690",uc_match:"1f690",uc_greedy:"1f690",shortnames:[],category:"travel"},":minidisc:":{uc_base:"1f4bd",uc_output:"1f4bd",uc_match:"1f4bd",uc_greedy:"1f4bd",shortnames:[],category:"objects"},":mobile_phone_off:":{uc_base:"1f4f4",uc_output:"1f4f4",uc_match:"1f4f4",uc_greedy:"1f4f4",shortnames:[],category:"symbols"},":money_mouth:":{uc_base:"1f911",uc_output:"1f911",uc_match:"1f911",uc_greedy:"1f911",shortnames:[":money_mouth_face:"],category:"people"},":money_with_wings:":{uc_base:"1f4b8",uc_output:"1f4b8",uc_match:"1f4b8",uc_greedy:"1f4b8",shortnames:[],category:"objects"},":moneybag:":{uc_base:"1f4b0",uc_output:"1f4b0",uc_match:"1f4b0-fe0f",uc_greedy:"1f4b0-fe0f",shortnames:[],category:"objects"},":monkey:":{uc_base:"1f412",uc_output:"1f412",uc_match:"1f412",uc_greedy:"1f412",shortnames:[],category:"nature"},":monkey_face:":{uc_base:"1f435",uc_output:"1f435",uc_match:"1f435",uc_greedy:"1f435",shortnames:[],category:"nature"},":monorail:":{uc_base:"1f69d",uc_output:"1f69d",uc_match:"1f69d",uc_greedy:"1f69d",shortnames:[],category:"travel"},":moon_cake:":{uc_base:"1f96e",uc_output:"1f96e",uc_match:"1f96e",uc_greedy:"1f96e",shortnames:[],category:"food"},":mortar_board:":{uc_base:"1f393",uc_output:"1f393",uc_match:"1f393-fe0f",uc_greedy:"1f393-fe0f",shortnames:[],category:"people"},":mosque:":{uc_base:"1f54c",uc_output:"1f54c",uc_match:"1f54c",uc_greedy:"1f54c",shortnames:[],category:"travel"},":mosquito:":{uc_base:"1f99f",uc_output:"1f99f",uc_match:"1f99f",uc_greedy:"1f99f",shortnames:[],category:"nature"},":motor_scooter:":{uc_base:"1f6f5",uc_output:"1f6f5",uc_match:"1f6f5",uc_greedy:"1f6f5",shortnames:[":motorbike:"],category:"travel"},":motorboat:":{uc_base:"1f6e5",uc_output:"1f6e5",uc_match:"1f6e5-fe0f",uc_greedy:"1f6e5-fe0f",shortnames:[],category:"travel"},":motorcycle:":{uc_base:"1f3cd",uc_output:"1f3cd",uc_match:"1f3cd-fe0f",uc_greedy:"1f3cd-fe0f",shortnames:[":racing_motorcycle:"],category:"travel"},":motorway:":{uc_base:"1f6e3",uc_output:"1f6e3",uc_match:"1f6e3-fe0f",uc_greedy:"1f6e3-fe0f",shortnames:[],category:"travel"},":mount_fuji:":{uc_base:"1f5fb",uc_output:"1f5fb",uc_match:"1f5fb",uc_greedy:"1f5fb",shortnames:[],category:"travel"},":mountain_cableway:":{uc_base:"1f6a0",uc_output:"1f6a0",uc_match:"1f6a0",uc_greedy:"1f6a0",shortnames:[],category:"travel"},":mountain_railway:":{uc_base:"1f69e",uc_output:"1f69e",uc_match:"1f69e",uc_greedy:"1f69e",shortnames:[],category:"travel"},":mountain_snow:":{uc_base:"1f3d4",uc_output:"1f3d4",uc_match:"1f3d4-fe0f",uc_greedy:"1f3d4-fe0f",shortnames:[":snow_capped_mountain:"],category:"travel"},":mouse2:":{uc_base:"1f401",uc_output:"1f401",uc_match:"1f401",uc_greedy:"1f401",shortnames:[],category:"nature"},":mouse:":{uc_base:"1f42d",uc_output:"1f42d",uc_match:"1f42d",uc_greedy:"1f42d",shortnames:[],category:"nature"},":mouse_three_button:":{uc_base:"1f5b1",uc_output:"1f5b1",uc_match:"1f5b1-fe0f",uc_greedy:"1f5b1-fe0f",shortnames:[":three_button_mouse:"],category:"objects"},":movie_camera:":{uc_base:"1f3a5",uc_output:"1f3a5",uc_match:"1f3a5",uc_greedy:"1f3a5",shortnames:[],category:"objects"},":moyai:":{uc_base:"1f5ff",uc_output:"1f5ff",uc_match:"1f5ff",uc_greedy:"1f5ff",shortnames:[],category:"travel"},":mrs_claus:":{uc_base:"1f936",uc_output:"1f936",uc_match:"1f936",uc_greedy:"1f936",shortnames:[":mother_christmas:"],category:"people"},":muscle:":{uc_base:"1f4aa",uc_output:"1f4aa",uc_match:"1f4aa",uc_greedy:"1f4aa",shortnames:[],category:"people"},":mushroom:":{uc_base:"1f344",uc_output:"1f344",uc_match:"1f344",uc_greedy:"1f344",shortnames:[],category:"nature"},":musical_keyboard:":{uc_base:"1f3b9",uc_output:"1f3b9",uc_match:"1f3b9",uc_greedy:"1f3b9",shortnames:[],category:"activity"},":musical_note:":{uc_base:"1f3b5",uc_output:"1f3b5",uc_match:"1f3b5",uc_greedy:"1f3b5",shortnames:[],category:"symbols"},":musical_score:":{uc_base:"1f3bc",uc_output:"1f3bc",uc_match:"1f3bc",uc_greedy:"1f3bc",shortnames:[],category:"activity"},":mute:":{uc_base:"1f507",uc_output:"1f507",uc_match:"1f507",uc_greedy:"1f507",shortnames:[],category:"symbols"},":nail_care:":{uc_base:"1f485",uc_output:"1f485",uc_match:"1f485",uc_greedy:"1f485",shortnames:[],category:"people"},":name_badge:":{uc_base:"1f4db",uc_output:"1f4db",uc_match:"1f4db",uc_greedy:"1f4db",shortnames:[],category:"symbols"},":nauseated_face:":{uc_base:"1f922",uc_output:"1f922",uc_match:"1f922",uc_greedy:"1f922",shortnames:[":sick:"],category:"people"},":nazar_amulet:":{uc_base:"1f9ff",uc_output:"1f9ff",uc_match:"1f9ff",uc_greedy:"1f9ff",shortnames:[],category:"objects"},":necktie:":{uc_base:"1f454",uc_output:"1f454",uc_match:"1f454",uc_greedy:"1f454",shortnames:[],category:"people"},":nerd:":{uc_base:"1f913",uc_output:"1f913",uc_match:"1f913",uc_greedy:"1f913",shortnames:[":nerd_face:"],category:"people"},":neutral_face:":{uc_base:"1f610",uc_output:"1f610",uc_match:"1f610-fe0f",uc_greedy:"1f610-fe0f",shortnames:[],category:"people"},":new:":{uc_base:"1f195",uc_output:"1f195",uc_match:"1f195",uc_greedy:"1f195",shortnames:[],category:"symbols"},":new_moon:":{uc_base:"1f311",uc_output:"1f311",uc_match:"1f311",uc_greedy:"1f311",shortnames:[],category:"nature"},":new_moon_with_face:":{uc_base:"1f31a",uc_output:"1f31a",uc_match:"1f31a",uc_greedy:"1f31a",shortnames:[],category:"nature"},":newspaper2:":{uc_base:"1f5de",uc_output:"1f5de",uc_match:"1f5de-fe0f",uc_greedy:"1f5de-fe0f",shortnames:[":rolled_up_newspaper:"],category:"objects"},":newspaper:":{uc_base:"1f4f0",uc_output:"1f4f0",uc_match:"1f4f0",uc_greedy:"1f4f0",shortnames:[],category:"objects"},":ng:":{uc_base:"1f196",uc_output:"1f196",uc_match:"1f196",uc_greedy:"1f196",shortnames:[],category:"symbols"},":night_with_stars:":{uc_base:"1f303",uc_output:"1f303",uc_match:"1f303",uc_greedy:"1f303",shortnames:[],category:"travel"},":no_bell:":{uc_base:"1f515",uc_output:"1f515",uc_match:"1f515",uc_greedy:"1f515",shortnames:[],category:"symbols"},":no_bicycles:":{uc_base:"1f6b3",uc_output:"1f6b3",uc_match:"1f6b3",uc_greedy:"1f6b3",shortnames:[],category:"symbols"},":no_entry_sign:":{uc_base:"1f6ab",uc_output:"1f6ab",uc_match:"1f6ab",uc_greedy:"1f6ab",shortnames:[],category:"symbols"},":no_mobile_phones:":{uc_base:"1f4f5",uc_output:"1f4f5",uc_match:"1f4f5",uc_greedy:"1f4f5",shortnames:[],category:"symbols"},":no_mouth:":{uc_base:"1f636",uc_output:"1f636",uc_match:"1f636",uc_greedy:"1f636",shortnames:[],category:"people"},":no_pedestrians:":{uc_base:"1f6b7",uc_output:"1f6b7",uc_match:"1f6b7",uc_greedy:"1f6b7",shortnames:[],category:"symbols"},":no_smoking:":{uc_base:"1f6ad",uc_output:"1f6ad",uc_match:"1f6ad-fe0f",uc_greedy:"1f6ad-fe0f",shortnames:[],category:"symbols"},":non-potable_water:":{uc_base:"1f6b1",uc_output:"1f6b1",uc_match:"1f6b1",uc_greedy:"1f6b1",shortnames:[],category:"symbols"},":nose:":{uc_base:"1f443",uc_output:"1f443",uc_match:"1f443",uc_greedy:"1f443",shortnames:[],category:"people"},":notebook:":{uc_base:"1f4d3",uc_output:"1f4d3",uc_match:"1f4d3",uc_greedy:"1f4d3",shortnames:[],category:"objects"},":notebook_with_decorative_cover:":{uc_base:"1f4d4",uc_output:"1f4d4",uc_match:"1f4d4",uc_greedy:"1f4d4",shortnames:[],category:"objects"},":notepad_spiral:":{uc_base:"1f5d2",uc_output:"1f5d2",uc_match:"1f5d2-fe0f",uc_greedy:"1f5d2-fe0f",shortnames:[":spiral_note_pad:"],category:"objects"},":notes:":{uc_base:"1f3b6",uc_output:"1f3b6",uc_match:"1f3b6",uc_greedy:"1f3b6",shortnames:[],category:"symbols"},":nut_and_bolt:":{uc_base:"1f529",uc_output:"1f529",uc_match:"1f529",uc_greedy:"1f529",shortnames:[],category:"objects"},":o2:":{uc_base:"1f17e",uc_output:"1f17e",uc_match:"1f17e-fe0f",uc_greedy:"1f17e-fe0f",shortnames:[],category:"symbols"},":ocean:":{uc_base:"1f30a",uc_output:"1f30a",uc_match:"1f30a",uc_greedy:"1f30a",shortnames:[],category:"nature"},":octagonal_sign:":{uc_base:"1f6d1",uc_output:"1f6d1",uc_match:"1f6d1",uc_greedy:"1f6d1",shortnames:[":stop_sign:"],category:"symbols"},":octopus:":{uc_base:"1f419",uc_output:"1f419",uc_match:"1f419",uc_greedy:"1f419",shortnames:[],category:"nature"},":oden:":{uc_base:"1f362",uc_output:"1f362",uc_match:"1f362",uc_greedy:"1f362",shortnames:[],category:"food"},":office:":{uc_base:"1f3e2",uc_output:"1f3e2",uc_match:"1f3e2",uc_greedy:"1f3e2",shortnames:[],category:"travel"},":oil:":{uc_base:"1f6e2",uc_output:"1f6e2",uc_match:"1f6e2-fe0f",uc_greedy:"1f6e2-fe0f",shortnames:[":oil_drum:"],category:"objects"},":ok:":{uc_base:"1f197",uc_output:"1f197",uc_match:"1f197",uc_greedy:"1f197",shortnames:[],category:"symbols"},":ok_hand:":{uc_base:"1f44c",uc_output:"1f44c",uc_match:"1f44c",uc_greedy:"1f44c",shortnames:[],category:"people"},":older_adult:":{uc_base:"1f9d3",uc_output:"1f9d3",uc_match:"1f9d3",uc_greedy:"1f9d3",shortnames:[],category:"people"},":older_man:":{uc_base:"1f474",uc_output:"1f474",uc_match:"1f474",uc_greedy:"1f474",shortnames:[],category:"people"},":older_woman:":{uc_base:"1f475",uc_output:"1f475",uc_match:"1f475",uc_greedy:"1f475",shortnames:[":grandma:"],category:"people"},":om_symbol:":{uc_base:"1f549",uc_output:"1f549",uc_match:"1f549-fe0f",uc_greedy:"1f549",shortnames:[],category:"symbols"},":on:":{uc_base:"1f51b",uc_output:"1f51b",uc_match:"1f51b",uc_greedy:"1f51b",shortnames:[],category:"symbols"},":oncoming_automobile:":{uc_base:"1f698",uc_output:"1f698",uc_match:"1f698-fe0f",uc_greedy:"1f698-fe0f",shortnames:[],category:"travel"},":oncoming_bus:":{uc_base:"1f68d",uc_output:"1f68d",uc_match:"1f68d-fe0f",uc_greedy:"1f68d-fe0f",shortnames:[],category:"travel"},":oncoming_police_car:":{uc_base:"1f694",uc_output:"1f694",uc_match:"1f694-fe0f",uc_greedy:"1f694-fe0f",shortnames:[],category:"travel"},":oncoming_taxi:":{uc_base:"1f696",uc_output:"1f696",uc_match:"1f696",uc_greedy:"1f696",shortnames:[],category:"travel"},":open_file_folder:":{uc_base:"1f4c2",uc_output:"1f4c2",uc_match:"1f4c2",uc_greedy:"1f4c2",shortnames:[],category:"objects"},":open_hands:":{uc_base:"1f450",uc_output:"1f450",uc_match:"1f450",uc_greedy:"1f450",shortnames:[],category:"people"},":open_mouth:":{uc_base:"1f62e",uc_output:"1f62e",uc_match:"1f62e",uc_greedy:"1f62e",shortnames:[],category:"people"},":orange_book:":{uc_base:"1f4d9",uc_output:"1f4d9",uc_match:"1f4d9",uc_greedy:"1f4d9",shortnames:[],category:"objects"},":orange_heart:":{uc_base:"1f9e1",uc_output:"1f9e1",uc_match:"1f9e1",uc_greedy:"1f9e1",shortnames:[],category:"symbols"},":outbox_tray:":{uc_base:"1f4e4",uc_output:"1f4e4",uc_match:"1f4e4-fe0f",uc_greedy:"1f4e4-fe0f",shortnames:[],category:"objects"},":owl:":{uc_base:"1f989",uc_output:"1f989",uc_match:"1f989",uc_greedy:"1f989",shortnames:[],category:"nature"},":ox:":{uc_base:"1f402",uc_output:"1f402",uc_match:"1f402",uc_greedy:"1f402",shortnames:[],category:"nature"},":package:":{uc_base:"1f4e6",uc_output:"1f4e6",uc_match:"1f4e6-fe0f",uc_greedy:"1f4e6-fe0f",shortnames:[],category:"objects"},":page_facing_up:":{uc_base:"1f4c4",uc_output:"1f4c4",uc_match:"1f4c4",uc_greedy:"1f4c4",shortnames:[],category:"objects"},":page_with_curl:":{uc_base:"1f4c3",uc_output:"1f4c3",uc_match:"1f4c3",uc_greedy:"1f4c3",shortnames:[],category:"objects"},":pager:":{uc_base:"1f4df",uc_output:"1f4df",uc_match:"1f4df-fe0f",uc_greedy:"1f4df-fe0f",shortnames:[],category:"objects"},":paintbrush:":{uc_base:"1f58c",uc_output:"1f58c",uc_match:"1f58c-fe0f",uc_greedy:"1f58c-fe0f",shortnames:[":lower_left_paintbrush:"],category:"objects"},":palm_tree:":{uc_base:"1f334",uc_output:"1f334",uc_match:"1f334",uc_greedy:"1f334",shortnames:[],category:"nature"},":palms_up_together:":{uc_base:"1f932",uc_output:"1f932",uc_match:"1f932",uc_greedy:"1f932",shortnames:[],category:"people"},":pancakes:":{uc_base:"1f95e",uc_output:"1f95e",uc_match:"1f95e",uc_greedy:"1f95e",shortnames:[],category:"food"},":panda_face:":{uc_base:"1f43c",uc_output:"1f43c",uc_match:"1f43c",uc_greedy:"1f43c",shortnames:[],category:"nature"},":paperclip:":{uc_base:"1f4ce",uc_output:"1f4ce",uc_match:"1f4ce",uc_greedy:"1f4ce",shortnames:[],category:"objects"},":paperclips:":{uc_base:"1f587",uc_output:"1f587",uc_match:"1f587-fe0f",uc_greedy:"1f587-fe0f",shortnames:[":linked_paperclips:"],category:"objects"},":park:":{uc_base:"1f3de",uc_output:"1f3de",uc_match:"1f3de-fe0f",uc_greedy:"1f3de-fe0f",shortnames:[":national_park:"],category:"travel"},":parking:":{uc_base:"1f17f",uc_output:"1f17f",uc_match:"1f17f-fe0f",uc_greedy:"1f17f-fe0f",shortnames:[],category:"symbols"},":parrot:":{uc_base:"1f99c",uc_output:"1f99c",uc_match:"1f99c",uc_greedy:"1f99c",shortnames:[],category:"nature"},":partying_face:":{uc_base:"1f973",uc_output:"1f973",uc_match:"1f973",uc_greedy:"1f973",shortnames:[],category:"people"},":passport_control:":{uc_base:"1f6c2",uc_output:"1f6c2",uc_match:"1f6c2",uc_greedy:"1f6c2",shortnames:[],category:"symbols"},":peach:":{uc_base:"1f351",uc_output:"1f351",uc_match:"1f351",uc_greedy:"1f351",shortnames:[],category:"food"},":peacock:":{uc_base:"1f99a",uc_output:"1f99a",uc_match:"1f99a",uc_greedy:"1f99a",shortnames:[],category:"nature"},":peanuts:":{uc_base:"1f95c",uc_output:"1f95c",uc_match:"1f95c",uc_greedy:"1f95c",shortnames:[":shelled_peanut:"],category:"food"},":pear:":{uc_base:"1f350",uc_output:"1f350",uc_match:"1f350",uc_greedy:"1f350",shortnames:[],category:"food"},":pen_ballpoint:":{uc_base:"1f58a",uc_output:"1f58a",uc_match:"1f58a-fe0f",uc_greedy:"1f58a-fe0f",shortnames:[":lower_left_ballpoint_pen:"],category:"objects"},":pen_fountain:":{uc_base:"1f58b",uc_output:"1f58b",uc_match:"1f58b-fe0f",uc_greedy:"1f58b-fe0f",shortnames:[":lower_left_fountain_pen:"],category:"objects"},":pencil:":{uc_base:"1f4dd",uc_output:"1f4dd",uc_match:"1f4dd",uc_greedy:"1f4dd",shortnames:[":memo:"],category:"objects"},":penguin:":{uc_base:"1f427",uc_output:"1f427",uc_match:"1f427",uc_greedy:"1f427",shortnames:[],category:"nature"},":pensive:":{uc_base:"1f614",uc_output:"1f614",uc_match:"1f614",uc_greedy:"1f614",shortnames:[],category:"people"},":people_with_bunny_ears_partying:":{uc_base:"1f46f",uc_output:"1f46f",uc_match:"1f46f",uc_greedy:"1f46f",shortnames:[":dancers:"],category:"people"},":people_wrestling:":{uc_base:"1f93c",uc_output:"1f93c",uc_match:"1f93c",uc_greedy:"1f93c",shortnames:[":wrestlers:",":wrestling:"],category:"activity"},":performing_arts:":{uc_base:"1f3ad",uc_output:"1f3ad",uc_match:"1f3ad-fe0f",uc_greedy:"1f3ad-fe0f",shortnames:[],category:"activity"},":persevere:":{uc_base:"1f623",uc_output:"1f623",uc_match:"1f623",uc_greedy:"1f623",shortnames:[],category:"people"},":person_biking:":{uc_base:"1f6b4",uc_output:"1f6b4",uc_match:"1f6b4",uc_greedy:"1f6b4",shortnames:[":bicyclist:"],category:"activity"},":person_bowing:":{uc_base:"1f647",uc_output:"1f647",uc_match:"1f647",uc_greedy:"1f647",shortnames:[":bow:"],category:"people"},":person_climbing:":{uc_base:"1f9d7",uc_output:"1f9d7",uc_match:"1f9d7",uc_greedy:"1f9d7",shortnames:[],category:"activity"},":person_doing_cartwheel:":{uc_base:"1f938",uc_output:"1f938",uc_match:"1f938",uc_greedy:"1f938",shortnames:[":cartwheel:"],category:"activity"},":person_facepalming:":{uc_base:"1f926",uc_output:"1f926",uc_match:"1f926",uc_greedy:"1f926",shortnames:[":face_palm:",":facepalm:"],category:"people"},":person_fencing:":{uc_base:"1f93a",uc_output:"1f93a",uc_match:"1f93a",uc_greedy:"1f93a",shortnames:[":fencer:",":fencing:"],category:"activity"},":person_frowning:":{uc_base:"1f64d",uc_output:"1f64d",uc_match:"1f64d",uc_greedy:"1f64d",shortnames:[],category:"people"},":person_gesturing_no:":{uc_base:"1f645",uc_output:"1f645",uc_match:"1f645",uc_greedy:"1f645",shortnames:[":no_good:"],category:"people"},":person_gesturing_ok:":{uc_base:"1f646",uc_output:"1f646",uc_match:"1f646",uc_greedy:"1f646",shortnames:[":ok_woman:"],category:"people"},":person_getting_haircut:":{uc_base:"1f487",uc_output:"1f487",uc_match:"1f487",uc_greedy:"1f487",shortnames:[":haircut:"],category:"people"},":person_getting_massage:":{uc_base:"1f486",uc_output:"1f486",uc_match:"1f486",uc_greedy:"1f486",shortnames:[":massage:"],category:"people"},":person_golfing:":{uc_base:"1f3cc",uc_output:"1f3cc",uc_match:"1f3cc-fe0f",uc_greedy:"1f3cc-fe0f",shortnames:[":golfer:"],category:"activity"},":person_in_lotus_position:":{uc_base:"1f9d8",uc_output:"1f9d8",uc_match:"1f9d8",uc_greedy:"1f9d8",shortnames:[],category:"activity"},":person_in_steamy_room:":{uc_base:"1f9d6",uc_output:"1f9d6",uc_match:"1f9d6",uc_greedy:"1f9d6",shortnames:[],category:"people"},":person_juggling:":{uc_base:"1f939",uc_output:"1f939",uc_match:"1f939",uc_greedy:"1f939",shortnames:[":juggling:",":juggler:"],category:"activity"},":person_lifting_weights:":{uc_base:"1f3cb",uc_output:"1f3cb",uc_match:"1f3cb-fe0f",uc_greedy:"1f3cb-fe0f",shortnames:[":lifter:",":weight_lifter:"],category:"activity"},":person_mountain_biking:":{uc_base:"1f6b5",uc_output:"1f6b5",uc_match:"1f6b5",uc_greedy:"1f6b5",shortnames:[":mountain_bicyclist:"],category:"activity"},":person_playing_handball:":{uc_base:"1f93e",uc_output:"1f93e",uc_match:"1f93e",uc_greedy:"1f93e",shortnames:[":handball:"],category:"activity"},":person_playing_water_polo:":{uc_base:"1f93d",uc_output:"1f93d",uc_match:"1f93d",uc_greedy:"1f93d",shortnames:[":water_polo:"],category:"activity"},":person_pouting:":{uc_base:"1f64e",uc_output:"1f64e",uc_match:"1f64e",uc_greedy:"1f64e",shortnames:[":person_with_pouting_face:"],category:"people"},":person_raising_hand:":{uc_base:"1f64b",uc_output:"1f64b",uc_match:"1f64b",uc_greedy:"1f64b",shortnames:[":raising_hand:"],category:"people"},":person_rowing_boat:":{uc_base:"1f6a3",uc_output:"1f6a3",uc_match:"1f6a3",uc_greedy:"1f6a3",shortnames:[":rowboat:"],category:"activity"},":person_running:":{uc_base:"1f3c3",uc_output:"1f3c3",uc_match:"1f3c3",uc_greedy:"1f3c3",shortnames:[":runner:"],category:"people"},":person_shrugging:":{uc_base:"1f937",uc_output:"1f937",uc_match:"1f937",uc_greedy:"1f937",shortnames:[":shrug:"],category:"people"},":person_surfing:":{uc_base:"1f3c4",uc_output:"1f3c4",uc_match:"1f3c4-fe0f",uc_greedy:"1f3c4-fe0f",shortnames:[":surfer:"],category:"activity"},":person_swimming:":{uc_base:"1f3ca",uc_output:"1f3ca",uc_match:"1f3ca-fe0f",uc_greedy:"1f3ca-fe0f",shortnames:[":swimmer:"],category:"activity"},":person_tipping_hand:":{uc_base:"1f481",uc_output:"1f481",uc_match:"1f481",uc_greedy:"1f481",shortnames:[":information_desk_person:"],category:"people"},":person_walking:":{uc_base:"1f6b6",uc_output:"1f6b6",uc_match:"1f6b6",uc_greedy:"1f6b6",shortnames:[":walking:"],category:"people"},":person_wearing_turban:":{uc_base:"1f473",uc_output:"1f473",uc_match:"1f473",uc_greedy:"1f473",shortnames:[":man_with_turban:"],category:"people"},":petri_dish:":{uc_base:"1f9eb",uc_output:"1f9eb",uc_match:"1f9eb",uc_greedy:"1f9eb",shortnames:[],category:"objects"},":pie:":{uc_base:"1f967",uc_output:"1f967",uc_match:"1f967",uc_greedy:"1f967",shortnames:[],category:"food"},":pig2:":{uc_base:"1f416",uc_output:"1f416",uc_match:"1f416",uc_greedy:"1f416",shortnames:[],category:"nature"},":pig:":{uc_base:"1f437",uc_output:"1f437",uc_match:"1f437",uc_greedy:"1f437",shortnames:[],category:"nature"},":pig_nose:":{uc_base:"1f43d",uc_output:"1f43d",uc_match:"1f43d",uc_greedy:"1f43d",shortnames:[],category:"nature"},":pill:":{uc_base:"1f48a",uc_output:"1f48a",uc_match:"1f48a",uc_greedy:"1f48a",shortnames:[],category:"objects"},":pineapple:":{uc_base:"1f34d",uc_output:"1f34d",uc_match:"1f34d",uc_greedy:"1f34d",shortnames:[],category:"food"},":ping_pong:":{uc_base:"1f3d3",uc_output:"1f3d3",uc_match:"1f3d3",uc_greedy:"1f3d3",shortnames:[":table_tennis:"],category:"activity"},":pizza:":{uc_base:"1f355",uc_output:"1f355",uc_match:"1f355",uc_greedy:"1f355",shortnames:[],category:"food"},":place_of_worship:":{uc_base:"1f6d0",uc_output:"1f6d0",uc_match:"1f6d0",uc_greedy:"1f6d0",shortnames:[":worship_symbol:"],category:"symbols"},":pleading_face:":{uc_base:"1f97a",uc_output:"1f97a",uc_match:"1f97a",uc_greedy:"1f97a",shortnames:[],category:"people"},":point_down:":{uc_base:"1f447",uc_output:"1f447",uc_match:"1f447-fe0f",uc_greedy:"1f447-fe0f",shortnames:[],category:"people"},":point_left:":{uc_base:"1f448",uc_output:"1f448",uc_match:"1f448-fe0f",uc_greedy:"1f448-fe0f",shortnames:[],category:"people"},":point_right:":{uc_base:"1f449",uc_output:"1f449",uc_match:"1f449-fe0f",uc_greedy:"1f449-fe0f",shortnames:[],category:"people"},":point_up_2:":{uc_base:"1f446",uc_output:"1f446",uc_match:"1f446-fe0f",uc_greedy:"1f446-fe0f",shortnames:[],category:"people"},":police_car:":{uc_base:"1f693",uc_output:"1f693",uc_match:"1f693",uc_greedy:"1f693",shortnames:[],category:"travel"},":police_officer:":{uc_base:"1f46e",uc_output:"1f46e",uc_match:"1f46e",uc_greedy:"1f46e",shortnames:[":cop:"],category:"people"},":poodle:":{uc_base:"1f429",uc_output:"1f429",uc_match:"1f429",uc_greedy:"1f429",shortnames:[],category:"nature"},":poop:":{uc_base:"1f4a9",uc_output:"1f4a9",uc_match:"1f4a9",uc_greedy:"1f4a9",shortnames:[":shit:",":hankey:",":poo:"],category:"people"},":popcorn:":{uc_base:"1f37f",uc_output:"1f37f",uc_match:"1f37f",uc_greedy:"1f37f",shortnames:[],category:"food"},":post_office:":{uc_base:"1f3e3",uc_output:"1f3e3",uc_match:"1f3e3",uc_greedy:"1f3e3",shortnames:[],category:"travel"},":postal_horn:":{uc_base:"1f4ef",uc_output:"1f4ef",uc_match:"1f4ef",uc_greedy:"1f4ef",shortnames:[],category:"objects"},":postbox:":{uc_base:"1f4ee",uc_output:"1f4ee",uc_match:"1f4ee",uc_greedy:"1f4ee",shortnames:[],category:"objects"},":potable_water:":{uc_base:"1f6b0",uc_output:"1f6b0",uc_match:"1f6b0",uc_greedy:"1f6b0",shortnames:[],category:"objects"},":potato:":{uc_base:"1f954",uc_output:"1f954",uc_match:"1f954",uc_greedy:"1f954",shortnames:[],category:"food"},":pouch:":{uc_base:"1f45d",uc_output:"1f45d",uc_match:"1f45d",uc_greedy:"1f45d",shortnames:[],category:"people"},":poultry_leg:":{uc_base:"1f357",uc_output:"1f357",uc_match:"1f357",uc_greedy:"1f357",shortnames:[],category:"food"},":pound:":{uc_base:"1f4b7",uc_output:"1f4b7",uc_match:"1f4b7",uc_greedy:"1f4b7",shortnames:[],category:"objects"},":pouting_cat:":{uc_base:"1f63e",uc_output:"1f63e",uc_match:"1f63e",uc_greedy:"1f63e",shortnames:[],category:"people"},":pray:":{uc_base:"1f64f",uc_output:"1f64f",uc_match:"1f64f",uc_greedy:"1f64f",shortnames:[],category:"people"},":prayer_beads:":{uc_base:"1f4ff",uc_output:"1f4ff",uc_match:"1f4ff",uc_greedy:"1f4ff",shortnames:[],category:"objects"},":pregnant_woman:":{uc_base:"1f930",uc_output:"1f930",uc_match:"1f930",uc_greedy:"1f930",shortnames:[":expecting_woman:"],category:"people"},":pretzel:":{uc_base:"1f968",uc_output:"1f968",uc_match:"1f968",uc_greedy:"1f968",shortnames:[],category:"food"},":prince:":{uc_base:"1f934",uc_output:"1f934",uc_match:"1f934",uc_greedy:"1f934",shortnames:[],category:"people"},":princess:":{uc_base:"1f478",uc_output:"1f478",uc_match:"1f478",uc_greedy:"1f478",shortnames:[],category:"people"},":printer:":{uc_base:"1f5a8",uc_output:"1f5a8",uc_match:"1f5a8-fe0f",uc_greedy:"1f5a8-fe0f",shortnames:[],category:"objects"},":projector:":{uc_base:"1f4fd",uc_output:"1f4fd",uc_match:"1f4fd-fe0f",uc_greedy:"1f4fd-fe0f",shortnames:[":film_projector:"],category:"objects"},":punch:":{uc_base:"1f44a",uc_output:"1f44a",uc_match:"1f44a",uc_greedy:"1f44a",shortnames:[],category:"people"},":purple_heart:":{uc_base:"1f49c",uc_output:"1f49c",uc_match:"1f49c",uc_greedy:"1f49c",shortnames:[],category:"symbols"},":purse:":{uc_base:"1f45b",uc_output:"1f45b",uc_match:"1f45b",uc_greedy:"1f45b",shortnames:[],category:"people"},":pushpin:":{uc_base:"1f4cc",uc_output:"1f4cc",uc_match:"1f4cc",uc_greedy:"1f4cc",shortnames:[],category:"objects"},":put_litter_in_its_place:":{uc_base:"1f6ae",uc_output:"1f6ae",uc_match:"1f6ae",uc_greedy:"1f6ae",shortnames:[],category:"symbols"},":rabbit2:":{uc_base:"1f407",uc_output:"1f407",uc_match:"1f407",uc_greedy:"1f407",shortnames:[],category:"nature"},":rabbit:":{uc_base:"1f430",uc_output:"1f430",uc_match:"1f430",uc_greedy:"1f430",shortnames:[],category:"nature"},":raccoon:":{uc_base:"1f99d",uc_output:"1f99d",uc_match:"1f99d",uc_greedy:"1f99d",shortnames:[],category:"nature"},":race_car:":{uc_base:"1f3ce",uc_output:"1f3ce",uc_match:"1f3ce-fe0f",uc_greedy:"1f3ce-fe0f",shortnames:[":racing_car:"],category:"travel"},":racehorse:":{uc_base:"1f40e",uc_output:"1f40e",uc_match:"1f40e",uc_greedy:"1f40e",shortnames:[],category:"nature"},":radio:":{uc_base:"1f4fb",uc_output:"1f4fb",uc_match:"1f4fb-fe0f",uc_greedy:"1f4fb-fe0f",shortnames:[],category:"objects"},":radio_button:":{uc_base:"1f518",uc_output:"1f518",uc_match:"1f518",uc_greedy:"1f518",shortnames:[],category:"symbols"},":rage:":{uc_base:"1f621",uc_output:"1f621",uc_match:"1f621",uc_greedy:"1f621",shortnames:[],category:"people"},":railway_car:":{uc_base:"1f683",uc_output:"1f683",uc_match:"1f683",uc_greedy:"1f683",shortnames:[],category:"travel"},":railway_track:":{uc_base:"1f6e4",uc_output:"1f6e4",uc_match:"1f6e4-fe0f",uc_greedy:"1f6e4-fe0f",shortnames:[":railroad_track:"],category:"travel"},":rainbow:":{uc_base:"1f308",uc_output:"1f308",uc_match:"1f308",uc_greedy:"1f308",shortnames:[],category:"nature"},":raised_back_of_hand:":{uc_base:"1f91a",uc_output:"1f91a",uc_match:"1f91a",uc_greedy:"1f91a",shortnames:[":back_of_hand:"],category:"people"},":raised_hands:":{uc_base:"1f64c",uc_output:"1f64c",uc_match:"1f64c",uc_greedy:"1f64c",shortnames:[],category:"people"},":ram:":{uc_base:"1f40f",uc_output:"1f40f",uc_match:"1f40f",uc_greedy:"1f40f",shortnames:[],category:"nature"},":ramen:":{uc_base:"1f35c",uc_output:"1f35c",uc_match:"1f35c",uc_greedy:"1f35c",shortnames:[],category:"food"},":rat:":{uc_base:"1f400",uc_output:"1f400",uc_match:"1f400",uc_greedy:"1f400",shortnames:[],category:"nature"},":receipt:":{uc_base:"1f9fe",uc_output:"1f9fe",uc_match:"1f9fe",uc_greedy:"1f9fe",shortnames:[],category:"objects"},":red_car:":{uc_base:"1f697",uc_output:"1f697",uc_match:"1f697",uc_greedy:"1f697",shortnames:[],category:"travel"},":red_circle:":{uc_base:"1f534",uc_output:"1f534",uc_match:"1f534",uc_greedy:"1f534",shortnames:[],category:"symbols"},":red_envelope:":{uc_base:"1f9e7",uc_output:"1f9e7",uc_match:"1f9e7",uc_greedy:"1f9e7",shortnames:[],category:"objects"},":red_haired:":{uc_base:"1f9b0",uc_output:"1f9b0",uc_match:"1f9b0",uc_greedy:"1f9b0",shortnames:[],category:"people"},":regional_indicator_a:":{uc_base:"1f1e6",uc_output:"1f1e6",uc_match:"1f1e6",uc_greedy:"1f1e6",shortnames:[],category:"regional"},":regional_indicator_b:":{uc_base:"1f1e7",uc_output:"1f1e7",uc_match:"1f1e7",uc_greedy:"1f1e7",shortnames:[],category:"regional"},":regional_indicator_c:":{uc_base:"1f1e8",uc_output:"1f1e8",uc_match:"1f1e8",uc_greedy:"1f1e8",shortnames:[],category:"regional"},":regional_indicator_d:":{uc_base:"1f1e9",uc_output:"1f1e9",uc_match:"1f1e9",uc_greedy:"1f1e9",shortnames:[],category:"regional"},":regional_indicator_e:":{uc_base:"1f1ea",uc_output:"1f1ea",uc_match:"1f1ea",uc_greedy:"1f1ea",shortnames:[],category:"regional"},":regional_indicator_f:":{uc_base:"1f1eb",uc_output:"1f1eb",uc_match:"1f1eb",uc_greedy:"1f1eb",shortnames:[],category:"regional"},":regional_indicator_g:":{uc_base:"1f1ec",uc_output:"1f1ec",uc_match:"1f1ec",uc_greedy:"1f1ec",shortnames:[],category:"regional"},":regional_indicator_h:":{uc_base:"1f1ed",uc_output:"1f1ed",uc_match:"1f1ed",uc_greedy:"1f1ed",shortnames:[],category:"regional"},":regional_indicator_i:":{uc_base:"1f1ee",uc_output:"1f1ee",uc_match:"1f1ee",uc_greedy:"1f1ee",shortnames:[],category:"regional"},":regional_indicator_j:":{uc_base:"1f1ef",uc_output:"1f1ef",uc_match:"1f1ef",uc_greedy:"1f1ef",shortnames:[],category:"regional"},":regional_indicator_k:":{uc_base:"1f1f0",uc_output:"1f1f0",uc_match:"1f1f0",uc_greedy:"1f1f0",shortnames:[],category:"regional"},":regional_indicator_l:":{uc_base:"1f1f1",uc_output:"1f1f1",uc_match:"1f1f1",uc_greedy:"1f1f1",shortnames:[],category:"regional"},":regional_indicator_m:":{uc_base:"1f1f2",uc_output:"1f1f2",uc_match:"1f1f2",uc_greedy:"1f1f2",shortnames:[],category:"regional"},":regional_indicator_n:":{uc_base:"1f1f3",uc_output:"1f1f3",uc_match:"1f1f3",uc_greedy:"1f1f3",shortnames:[],category:"regional"},":regional_indicator_o:":{uc_base:"1f1f4",uc_output:"1f1f4",uc_match:"1f1f4",uc_greedy:"1f1f4",shortnames:[],category:"regional"},":regional_indicator_p:":{uc_base:"1f1f5",uc_output:"1f1f5",uc_match:"1f1f5",uc_greedy:"1f1f5",shortnames:[],category:"regional"},":regional_indicator_q:":{uc_base:"1f1f6",uc_output:"1f1f6",uc_match:"1f1f6",uc_greedy:"1f1f6",shortnames:[],category:"regional"},":regional_indicator_r:":{uc_base:"1f1f7",uc_output:"1f1f7",uc_match:"1f1f7",uc_greedy:"1f1f7",shortnames:[],category:"regional"},":regional_indicator_s:":{uc_base:"1f1f8",uc_output:"1f1f8",uc_match:"1f1f8",uc_greedy:"1f1f8",shortnames:[],category:"regional"},":regional_indicator_t:":{uc_base:"1f1f9",uc_output:"1f1f9",uc_match:"1f1f9",uc_greedy:"1f1f9",shortnames:[],category:"regional"},":regional_indicator_u:":{uc_base:"1f1fa",uc_output:"1f1fa",uc_match:"1f1fa",uc_greedy:"1f1fa",shortnames:[],category:"regional"},":regional_indicator_v:":{uc_base:"1f1fb",uc_output:"1f1fb",uc_match:"1f1fb",uc_greedy:"1f1fb",shortnames:[],category:"regional"},":regional_indicator_w:":{uc_base:"1f1fc",uc_output:"1f1fc",uc_match:"1f1fc",uc_greedy:"1f1fc",shortnames:[],category:"regional"},":regional_indicator_x:":{uc_base:"1f1fd",uc_output:"1f1fd",uc_match:"1f1fd",uc_greedy:"1f1fd",shortnames:[],category:"regional"},":regional_indicator_y:":{uc_base:"1f1fe",uc_output:"1f1fe",uc_match:"1f1fe",uc_greedy:"1f1fe",shortnames:[],category:"regional"},":regional_indicator_z:":{uc_base:"1f1ff",uc_output:"1f1ff",uc_match:"1f1ff",uc_greedy:"1f1ff",shortnames:[],category:"regional"},":relieved:":{uc_base:"1f60c",uc_output:"1f60c",uc_match:"1f60c",uc_greedy:"1f60c",shortnames:[],category:"people"},":reminder_ribbon:":{uc_base:"1f397",uc_output:"1f397",uc_match:"1f397-fe0f",uc_greedy:"1f397-fe0f",shortnames:[],category:"activity"},":repeat:":{uc_base:"1f501",uc_output:"1f501",uc_match:"1f501",uc_greedy:"1f501",shortnames:[],category:"symbols"},":repeat_one:":{uc_base:"1f502",uc_output:"1f502",uc_match:"1f502",uc_greedy:"1f502",shortnames:[],category:"symbols"},":restroom:":{uc_base:"1f6bb",uc_output:"1f6bb",uc_match:"1f6bb",uc_greedy:"1f6bb",shortnames:[],category:"symbols"},":revolving_hearts:":{uc_base:"1f49e",uc_output:"1f49e",uc_match:"1f49e",uc_greedy:"1f49e",shortnames:[],category:"symbols"},":rhino:":{uc_base:"1f98f",uc_output:"1f98f",uc_match:"1f98f",uc_greedy:"1f98f",shortnames:[":rhinoceros:"],category:"nature"},":ribbon:":{uc_base:"1f380",uc_output:"1f380",uc_match:"1f380",uc_greedy:"1f380",shortnames:[],category:"objects"},":rice:":{uc_base:"1f35a",uc_output:"1f35a",uc_match:"1f35a",uc_greedy:"1f35a",shortnames:[],category:"food"},":rice_ball:":{uc_base:"1f359",uc_output:"1f359",uc_match:"1f359",uc_greedy:"1f359",shortnames:[],category:"food"},":rice_cracker:":{uc_base:"1f358",uc_output:"1f358",uc_match:"1f358",uc_greedy:"1f358",shortnames:[],category:"food"},":rice_scene:":{uc_base:"1f391",uc_output:"1f391",uc_match:"1f391",uc_greedy:"1f391",shortnames:[],category:"travel"},":right_facing_fist:":{uc_base:"1f91c",uc_output:"1f91c",uc_match:"1f91c",uc_greedy:"1f91c",shortnames:[":right_fist:"],category:"people"},":ring:":{uc_base:"1f48d",uc_output:"1f48d",uc_match:"1f48d",uc_greedy:"1f48d",shortnames:[],category:"people"},":robot:":{uc_base:"1f916",uc_output:"1f916",uc_match:"1f916",uc_greedy:"1f916",shortnames:[":robot_face:"],category:"people"},":rocket:":{uc_base:"1f680",uc_output:"1f680",uc_match:"1f680",uc_greedy:"1f680",shortnames:[],category:"travel"},":rofl:":{uc_base:"1f923",uc_output:"1f923",uc_match:"1f923",uc_greedy:"1f923",shortnames:[":rolling_on_the_floor_laughing:"],category:"people"},":roll_of_paper:":{uc_base:"1f9fb",uc_output:"1f9fb",uc_match:"1f9fb",uc_greedy:"1f9fb",shortnames:[],category:"objects"},":roller_coaster:":{uc_base:"1f3a2",uc_output:"1f3a2",uc_match:"1f3a2",uc_greedy:"1f3a2",shortnames:[],category:"travel"},":rolling_eyes:":{uc_base:"1f644",uc_output:"1f644",uc_match:"1f644",uc_greedy:"1f644",shortnames:[":face_with_rolling_eyes:"],category:"people"},":rooster:":{uc_base:"1f413",uc_output:"1f413",uc_match:"1f413",uc_greedy:"1f413",shortnames:[],category:"nature"},":rose:":{uc_base:"1f339",uc_output:"1f339",uc_match:"1f339",uc_greedy:"1f339",shortnames:[],category:"nature"},":rosette:":{uc_base:"1f3f5",uc_output:"1f3f5",uc_match:"1f3f5-fe0f",uc_greedy:"1f3f5-fe0f",shortnames:[],category:"activity"},":rotating_light:":{uc_base:"1f6a8",uc_output:"1f6a8",uc_match:"1f6a8",uc_greedy:"1f6a8",shortnames:[],category:"travel"},":round_pushpin:":{uc_base:"1f4cd",uc_output:"1f4cd",uc_match:"1f4cd",uc_greedy:"1f4cd",shortnames:[],category:"objects"},":rugby_football:":{uc_base:"1f3c9",uc_output:"1f3c9",uc_match:"1f3c9",uc_greedy:"1f3c9",shortnames:[],category:"activity"},":running_shirt_with_sash:":{uc_base:"1f3bd",uc_output:"1f3bd",uc_match:"1f3bd",uc_greedy:"1f3bd",shortnames:[],category:"activity"},":sa:":{uc_base:"1f202",uc_output:"1f202",uc_match:"1f202-fe0f",uc_greedy:"1f202-fe0f",shortnames:[],category:"symbols"},":safety_pin:":{uc_base:"1f9f7",uc_output:"1f9f7",uc_match:"1f9f7",uc_greedy:"1f9f7",shortnames:[],category:"objects"},":sake:":{uc_base:"1f376",uc_output:"1f376",uc_match:"1f376",uc_greedy:"1f376",shortnames:[],category:"food"},":salad:":{uc_base:"1f957",uc_output:"1f957",uc_match:"1f957",uc_greedy:"1f957",shortnames:[":green_salad:"],category:"food"},":salt:":{uc_base:"1f9c2",uc_output:"1f9c2",uc_match:"1f9c2",uc_greedy:"1f9c2",shortnames:[],category:"food"},":sandal:":{uc_base:"1f461",uc_output:"1f461",uc_match:"1f461",uc_greedy:"1f461",shortnames:[],category:"people"},":sandwich:":{uc_base:"1f96a",uc_output:"1f96a",uc_match:"1f96a",uc_greedy:"1f96a",shortnames:[],category:"food"},":santa:":{uc_base:"1f385",uc_output:"1f385",uc_match:"1f385",uc_greedy:"1f385",shortnames:[],category:"people"},":satellite:":{uc_base:"1f4e1",uc_output:"1f4e1",uc_match:"1f4e1",uc_greedy:"1f4e1",shortnames:[],category:"objects"},":satellite_orbital:":{uc_base:"1f6f0",uc_output:"1f6f0",uc_match:"1f6f0-fe0f",uc_greedy:"1f6f0-fe0f",shortnames:[],category:"travel"},":sauropod:":{uc_base:"1f995",uc_output:"1f995",uc_match:"1f995",uc_greedy:"1f995",shortnames:[],category:"nature"},":saxophone:":{uc_base:"1f3b7",uc_output:"1f3b7",uc_match:"1f3b7",uc_greedy:"1f3b7",shortnames:[],category:"activity"},":scarf:":{uc_base:"1f9e3",uc_output:"1f9e3",uc_match:"1f9e3",uc_greedy:"1f9e3",shortnames:[],category:"people"},":school:":{uc_base:"1f3eb",uc_output:"1f3eb",uc_match:"1f3eb",uc_greedy:"1f3eb",shortnames:[],category:"travel"},":school_satchel:":{uc_base:"1f392",uc_output:"1f392",uc_match:"1f392",uc_greedy:"1f392",shortnames:[],category:"people"},":scooter:":{uc_base:"1f6f4",uc_output:"1f6f4",uc_match:"1f6f4",uc_greedy:"1f6f4",shortnames:[],category:"travel"},":scorpion:":{uc_base:"1f982",uc_output:"1f982",uc_match:"1f982",uc_greedy:"1f982",shortnames:[],category:"nature"},":scream:":{uc_base:"1f631",uc_output:"1f631",uc_match:"1f631",uc_greedy:"1f631",shortnames:[],category:"people"},":scream_cat:":{uc_base:"1f640",uc_output:"1f640",uc_match:"1f640",uc_greedy:"1f640",shortnames:[],category:"people"},":scroll:":{uc_base:"1f4dc",uc_output:"1f4dc",uc_match:"1f4dc",uc_greedy:"1f4dc",shortnames:[],category:"objects"},":seat:":{uc_base:"1f4ba",uc_output:"1f4ba",uc_match:"1f4ba",uc_greedy:"1f4ba",shortnames:[],category:"travel"},":second_place:":{uc_base:"1f948",uc_output:"1f948",uc_match:"1f948",uc_greedy:"1f948",shortnames:[":second_place_medal:"],category:"activity"},":see_no_evil:":{uc_base:"1f648",uc_output:"1f648",uc_match:"1f648",uc_greedy:"1f648",shortnames:[],category:"nature"},":seedling:":{uc_base:"1f331",uc_output:"1f331",uc_match:"1f331",uc_greedy:"1f331",shortnames:[],category:"nature"},":selfie:":{uc_base:"1f933",uc_output:"1f933",uc_match:"1f933",uc_greedy:"1f933",shortnames:[],category:"people"},":shallow_pan_of_food:":{uc_base:"1f958",uc_output:"1f958",uc_match:"1f958",uc_greedy:"1f958",shortnames:[":paella:"],category:"food"},":shark:":{uc_base:"1f988",uc_output:"1f988",uc_match:"1f988",uc_greedy:"1f988",shortnames:[],category:"nature"},":shaved_ice:":{uc_base:"1f367",uc_output:"1f367",uc_match:"1f367",uc_greedy:"1f367",shortnames:[],category:"food"},":sheep:":{uc_base:"1f411",uc_output:"1f411",uc_match:"1f411",uc_greedy:"1f411",shortnames:[],category:"nature"},":shell:":{uc_base:"1f41a",uc_output:"1f41a",uc_match:"1f41a",uc_greedy:"1f41a",shortnames:[],category:"nature"},":shield:":{uc_base:"1f6e1",uc_output:"1f6e1",uc_match:"1f6e1-fe0f",uc_greedy:"1f6e1-fe0f",shortnames:[],category:"objects"},":ship:":{uc_base:"1f6a2",uc_output:"1f6a2",uc_match:"1f6a2",uc_greedy:"1f6a2",shortnames:[],category:"travel"},":shirt:":{uc_base:"1f455",uc_output:"1f455",uc_match:"1f455",uc_greedy:"1f455",shortnames:[],category:"people"},":shopping_bags:":{uc_base:"1f6cd",uc_output:"1f6cd",uc_match:"1f6cd-fe0f",uc_greedy:"1f6cd-fe0f",shortnames:[],category:"objects"},":shopping_cart:":{uc_base:"1f6d2",uc_output:"1f6d2",uc_match:"1f6d2",uc_greedy:"1f6d2",shortnames:[":shopping_trolley:"],category:"objects"},":shower:":{uc_base:"1f6bf",uc_output:"1f6bf",uc_match:"1f6bf",uc_greedy:"1f6bf",shortnames:[],category:"objects"},":shrimp:":{uc_base:"1f990",uc_output:"1f990",uc_match:"1f990",uc_greedy:"1f990",shortnames:[],category:"nature"},":shushing_face:":{uc_base:"1f92b",uc_output:"1f92b",uc_match:"1f92b",uc_greedy:"1f92b",shortnames:[],category:"people"},":signal_strength:":{uc_base:"1f4f6",uc_output:"1f4f6",uc_match:"1f4f6",uc_greedy:"1f4f6",shortnames:[],category:"symbols"},":six_pointed_star:":{uc_base:"1f52f",uc_output:"1f52f",uc_match:"1f52f",uc_greedy:"1f52f",shortnames:[],category:"symbols"},":skateboard:":{uc_base:"1f6f9",uc_output:"1f6f9",uc_match:"1f6f9",uc_greedy:"1f6f9",shortnames:[],category:"activity"},":ski:":{uc_base:"1f3bf",uc_output:"1f3bf",uc_match:"1f3bf",uc_greedy:"1f3bf",shortnames:[],category:"activity"},":skull:":{uc_base:"1f480",uc_output:"1f480",uc_match:"1f480",uc_greedy:"1f480",shortnames:[":skeleton:"],category:"people"},":sled:":{uc_base:"1f6f7",uc_output:"1f6f7",uc_match:"1f6f7",uc_greedy:"1f6f7",shortnames:[],category:"activity"},":sleeping:":{uc_base:"1f634",uc_output:"1f634",uc_match:"1f634",uc_greedy:"1f634",shortnames:[],category:"people"},":sleeping_accommodation:":{uc_base:"1f6cc",uc_output:"1f6cc",uc_match:"1f6cc",uc_greedy:"1f6cc",shortnames:[],category:"objects"},":sleepy:":{uc_base:"1f62a",uc_output:"1f62a",uc_match:"1f62a",uc_greedy:"1f62a",shortnames:[],category:"people"},":slight_frown:":{uc_base:"1f641",uc_output:"1f641",uc_match:"1f641",uc_greedy:"1f641",shortnames:[":slightly_frowning_face:"],category:"people"},":slight_smile:":{uc_base:"1f642",uc_output:"1f642",uc_match:"1f642",uc_greedy:"1f642",shortnames:[":slightly_smiling_face:"],category:"people"},":slot_machine:":{uc_base:"1f3b0",uc_output:"1f3b0",uc_match:"1f3b0",uc_greedy:"1f3b0",shortnames:[],category:"activity"},":small_blue_diamond:":{uc_base:"1f539",uc_output:"1f539",uc_match:"1f539",uc_greedy:"1f539",shortnames:[],category:"symbols"},":small_orange_diamond:":{uc_base:"1f538",uc_output:"1f538",uc_match:"1f538",uc_greedy:"1f538",shortnames:[],category:"symbols"},":small_red_triangle:":{uc_base:"1f53a",uc_output:"1f53a",uc_match:"1f53a",uc_greedy:"1f53a",shortnames:[],category:"symbols"},":small_red_triangle_down:":{uc_base:"1f53b",uc_output:"1f53b",uc_match:"1f53b",uc_greedy:"1f53b",shortnames:[],category:"symbols"},":smile:":{uc_base:"1f604",uc_output:"1f604",uc_match:"1f604",uc_greedy:"1f604",shortnames:[],category:"people"},":smile_cat:":{uc_base:"1f638",uc_output:"1f638",uc_match:"1f638",uc_greedy:"1f638",shortnames:[],category:"people"},":smiley:":{uc_base:"1f603",uc_output:"1f603",uc_match:"1f603",uc_greedy:"1f603",shortnames:[],category:"people"},":smiley_cat:":{uc_base:"1f63a",uc_output:"1f63a",uc_match:"1f63a",uc_greedy:"1f63a",shortnames:[],category:"people"},":smiling_face_with_3_hearts:":{uc_base:"1f970",uc_output:"1f970",uc_match:"1f970",uc_greedy:"1f970",shortnames:[],category:"people"},":smiling_imp:":{uc_base:"1f608",uc_output:"1f608",uc_match:"1f608",uc_greedy:"1f608",shortnames:[],category:"people"},":smirk:":{uc_base:"1f60f",uc_output:"1f60f",uc_match:"1f60f",uc_greedy:"1f60f",shortnames:[],category:"people"},":smirk_cat:":{uc_base:"1f63c",uc_output:"1f63c",uc_match:"1f63c",uc_greedy:"1f63c",shortnames:[],category:"people"},":smoking:":{uc_base:"1f6ac",uc_output:"1f6ac",uc_match:"1f6ac",uc_greedy:"1f6ac",shortnames:[],category:"objects"},":snail:":{uc_base:"1f40c",uc_output:"1f40c",uc_match:"1f40c",uc_greedy:"1f40c",shortnames:[],category:"nature"},":snake:":{uc_base:"1f40d",uc_output:"1f40d",uc_match:"1f40d",uc_greedy:"1f40d",shortnames:[],category:"nature"},":sneezing_face:":{uc_base:"1f927",uc_output:"1f927",uc_match:"1f927",uc_greedy:"1f927",shortnames:[":sneeze:"],category:"people"},":snowboarder:":{uc_base:"1f3c2",uc_output:"1f3c2",uc_match:"1f3c2-fe0f",uc_greedy:"1f3c2-fe0f",shortnames:[],category:"activity"},":soap:":{uc_base:"1f9fc",uc_output:"1f9fc",uc_match:"1f9fc",uc_greedy:"1f9fc",shortnames:[],category:"objects"},":sob:":{uc_base:"1f62d",uc_output:"1f62d",uc_match:"1f62d",uc_greedy:"1f62d",shortnames:[],category:"people"},":socks:":{uc_base:"1f9e6",uc_output:"1f9e6",uc_match:"1f9e6",uc_greedy:"1f9e6",shortnames:[],category:"people"},":softball:":{uc_base:"1f94e",uc_output:"1f94e",uc_match:"1f94e",uc_greedy:"1f94e",shortnames:[],category:"activity"},":soon:":{uc_base:"1f51c",uc_output:"1f51c",uc_match:"1f51c",uc_greedy:"1f51c",shortnames:[],category:"symbols"},":sos:":{uc_base:"1f198",uc_output:"1f198",uc_match:"1f198",uc_greedy:"1f198",shortnames:[],category:"symbols"},":sound:":{uc_base:"1f509",uc_output:"1f509",uc_match:"1f509",uc_greedy:"1f509",shortnames:[],category:"symbols"},":space_invader:":{uc_base:"1f47e",uc_output:"1f47e",uc_match:"1f47e",uc_greedy:"1f47e",shortnames:[],category:"people"},":spaghetti:":{uc_base:"1f35d",uc_output:"1f35d",uc_match:"1f35d",uc_greedy:"1f35d",shortnames:[],category:"food"},":sparkler:":{uc_base:"1f387",uc_output:"1f387",uc_match:"1f387",uc_greedy:"1f387",shortnames:[],category:"travel"},":sparkling_heart:":{uc_base:"1f496",uc_output:"1f496",uc_match:"1f496",uc_greedy:"1f496",shortnames:[],category:"symbols"},":speak_no_evil:":{uc_base:"1f64a",uc_output:"1f64a",uc_match:"1f64a",uc_greedy:"1f64a",shortnames:[],category:"nature"},":speaker:":{uc_base:"1f508",uc_output:"1f508",uc_match:"1f508-fe0f",uc_greedy:"1f508-fe0f",shortnames:[],category:"symbols"},":speaking_head:":{uc_base:"1f5e3",uc_output:"1f5e3",uc_match:"1f5e3-fe0f",uc_greedy:"1f5e3-fe0f",shortnames:[":speaking_head_in_silhouette:"],category:"people"},":speech_balloon:":{uc_base:"1f4ac",uc_output:"1f4ac",uc_match:"1f4ac",uc_greedy:"1f4ac",shortnames:[],category:"symbols"},":speech_left:":{uc_base:"1f5e8",uc_output:"1f5e8",uc_match:"1f5e8-fe0f",uc_greedy:"1f5e8-fe0f",shortnames:[":left_speech_bubble:"],category:"symbols"},":speedboat:":{uc_base:"1f6a4",uc_output:"1f6a4",uc_match:"1f6a4",uc_greedy:"1f6a4",shortnames:[],category:"travel"},":spider:":{uc_base:"1f577",uc_output:"1f577",uc_match:"1f577-fe0f",uc_greedy:"1f577-fe0f",shortnames:[],category:"nature"},":spider_web:":{uc_base:"1f578",uc_output:"1f578",uc_match:"1f578-fe0f",uc_greedy:"1f578-fe0f",shortnames:[],category:"nature"},":sponge:":{uc_base:"1f9fd",uc_output:"1f9fd",uc_match:"1f9fd",uc_greedy:"1f9fd",shortnames:[],category:"objects"},":spoon:":{uc_base:"1f944",uc_output:"1f944",uc_match:"1f944",uc_greedy:"1f944",shortnames:[],category:"food"},":squeeze_bottle:":{uc_base:"1f9f4",uc_output:"1f9f4",uc_match:"1f9f4",uc_greedy:"1f9f4",shortnames:[],category:"objects"},":squid:":{uc_base:"1f991",uc_output:"1f991",uc_match:"1f991",uc_greedy:"1f991",shortnames:[],category:"nature"},":stadium:":{uc_base:"1f3df",uc_output:"1f3df",uc_match:"1f3df-fe0f",uc_greedy:"1f3df-fe0f",shortnames:[],category:"travel"},":star2:":{uc_base:"1f31f",uc_output:"1f31f",uc_match:"1f31f",uc_greedy:"1f31f",shortnames:[],category:"nature"},":star_struck:":{uc_base:"1f929",uc_output:"1f929",uc_match:"1f929",uc_greedy:"1f929",shortnames:[],category:"people"},":stars:":{uc_base:"1f320",uc_output:"1f320",uc_match:"1f320",uc_greedy:"1f320",shortnames:[],category:"travel"},":station:":{uc_base:"1f689",uc_output:"1f689",uc_match:"1f689",uc_greedy:"1f689",shortnames:[],category:"travel"},":statue_of_liberty:":{uc_base:"1f5fd",uc_output:"1f5fd",uc_match:"1f5fd",uc_greedy:"1f5fd",shortnames:[],category:"travel"},":steam_locomotive:":{uc_base:"1f682",uc_output:"1f682",uc_match:"1f682",uc_greedy:"1f682",shortnames:[],category:"travel"},":stew:":{uc_base:"1f372",uc_output:"1f372",uc_match:"1f372",uc_greedy:"1f372",shortnames:[],category:"food"},":straight_ruler:":{uc_base:"1f4cf",uc_output:"1f4cf",uc_match:"1f4cf",uc_greedy:"1f4cf",shortnames:[],category:"objects"},":strawberry:":{uc_base:"1f353",uc_output:"1f353",uc_match:"1f353",uc_greedy:"1f353",shortnames:[],category:"food"},":stuck_out_tongue:":{uc_base:"1f61b",uc_output:"1f61b",uc_match:"1f61b",uc_greedy:"1f61b",shortnames:[],category:"people"},":stuck_out_tongue_closed_eyes:":{uc_base:"1f61d",uc_output:"1f61d",uc_match:"1f61d",uc_greedy:"1f61d",shortnames:[],category:"people"},":stuck_out_tongue_winking_eye:":{uc_base:"1f61c",uc_output:"1f61c",uc_match:"1f61c",uc_greedy:"1f61c",shortnames:[],category:"people"},":stuffed_flatbread:":{uc_base:"1f959",uc_output:"1f959",uc_match:"1f959",uc_greedy:"1f959",shortnames:[":stuffed_pita:"],category:"food"},":sun_with_face:":{uc_base:"1f31e",uc_output:"1f31e",uc_match:"1f31e",uc_greedy:"1f31e",shortnames:[],category:"nature"},":sunflower:":{uc_base:"1f33b",uc_output:"1f33b",uc_match:"1f33b",uc_greedy:"1f33b",shortnames:[],category:"nature"},":sunglasses:":{uc_base:"1f60e",uc_output:"1f60e",uc_match:"1f60e",uc_greedy:"1f60e",shortnames:[],category:"people"},":sunrise:":{uc_base:"1f305",uc_output:"1f305",uc_match:"1f305",uc_greedy:"1f305",shortnames:[],category:"travel"},":sunrise_over_mountains:":{uc_base:"1f304",uc_output:"1f304",uc_match:"1f304",uc_greedy:"1f304",shortnames:[],category:"travel"},":superhero:":{uc_base:"1f9b8",uc_output:"1f9b8",uc_match:"1f9b8",uc_greedy:"1f9b8",shortnames:[],category:"people"},":supervillain:":{uc_base:"1f9b9",uc_output:"1f9b9",uc_match:"1f9b9",uc_greedy:"1f9b9",shortnames:[],category:"people"},":sushi:":{uc_base:"1f363",uc_output:"1f363",uc_match:"1f363",uc_greedy:"1f363",shortnames:[],category:"food"},":suspension_railway:":{uc_base:"1f69f",uc_output:"1f69f",uc_match:"1f69f",uc_greedy:"1f69f",shortnames:[],category:"travel"},":swan:":{uc_base:"1f9a2",uc_output:"1f9a2",uc_match:"1f9a2",uc_greedy:"1f9a2",shortnames:[],category:"nature"},":sweat:":{uc_base:"1f613",uc_output:"1f613",uc_match:"1f613",uc_greedy:"1f613",shortnames:[],category:"people"},":sweat_drops:":{uc_base:"1f4a6",uc_output:"1f4a6",uc_match:"1f4a6",uc_greedy:"1f4a6",shortnames:[],category:"nature"},":sweat_smile:":{uc_base:"1f605",uc_output:"1f605",uc_match:"1f605",uc_greedy:"1f605",shortnames:[],category:"people"},":sweet_potato:":{uc_base:"1f360",uc_output:"1f360",uc_match:"1f360",uc_greedy:"1f360",shortnames:[],category:"food"},":symbols:":{uc_base:"1f523",uc_output:"1f523",uc_match:"1f523",uc_greedy:"1f523",shortnames:[],category:"symbols"},":synagogue:":{uc_base:"1f54d",uc_output:"1f54d",uc_match:"1f54d",uc_greedy:"1f54d",shortnames:[],category:"travel"},":syringe:":{uc_base:"1f489",uc_output:"1f489",uc_match:"1f489",uc_greedy:"1f489",shortnames:[],category:"objects"},":t_rex:":{uc_base:"1f996",uc_output:"1f996",uc_match:"1f996",uc_greedy:"1f996",shortnames:[],category:"nature"},":taco:":{uc_base:"1f32e",uc_output:"1f32e",uc_match:"1f32e",uc_greedy:"1f32e",shortnames:[],category:"food"},":tada:":{uc_base:"1f389",uc_output:"1f389",uc_match:"1f389",uc_greedy:"1f389",shortnames:[],category:"objects"},":takeout_box:":{uc_base:"1f961",uc_output:"1f961",uc_match:"1f961",uc_greedy:"1f961",shortnames:[],category:"food"},":tanabata_tree:":{uc_base:"1f38b",uc_output:"1f38b",uc_match:"1f38b",uc_greedy:"1f38b",shortnames:[],category:"nature"},":tangerine:":{uc_base:"1f34a",uc_output:"1f34a",uc_match:"1f34a",uc_greedy:"1f34a",shortnames:[],category:"food"},":taxi:":{uc_base:"1f695",uc_output:"1f695",uc_match:"1f695",uc_greedy:"1f695",shortnames:[],category:"travel"},":tea:":{uc_base:"1f375",uc_output:"1f375",uc_match:"1f375",uc_greedy:"1f375",shortnames:[],category:"food"},":teddy_bear:":{uc_base:"1f9f8",uc_output:"1f9f8",uc_match:"1f9f8",uc_greedy:"1f9f8",shortnames:[],category:"objects"},":telephone_receiver:":{uc_base:"1f4de",uc_output:"1f4de",uc_match:"1f4de",uc_greedy:"1f4de",shortnames:[],category:"objects"},":telescope:":{uc_base:"1f52d",uc_output:"1f52d",uc_match:"1f52d",uc_greedy:"1f52d",shortnames:[],category:"objects"},":tennis:":{uc_base:"1f3be",uc_output:"1f3be",uc_match:"1f3be",uc_greedy:"1f3be",shortnames:[],category:"activity"},":test_tube:":{uc_base:"1f9ea",uc_output:"1f9ea",uc_match:"1f9ea",uc_greedy:"1f9ea",shortnames:[],category:"objects"},":thermometer:":{uc_base:"1f321",uc_output:"1f321",uc_match:"1f321-fe0f",uc_greedy:"1f321-fe0f",shortnames:[],category:"objects"},":thermometer_face:":{uc_base:"1f912",uc_output:"1f912",uc_match:"1f912",uc_greedy:"1f912",shortnames:[":face_with_thermometer:"],category:"people"},":thinking:":{uc_base:"1f914",uc_output:"1f914",uc_match:"1f914",uc_greedy:"1f914",shortnames:[":thinking_face:"],category:"people"},":third_place:":{uc_base:"1f949",uc_output:"1f949",uc_match:"1f949",uc_greedy:"1f949",shortnames:[":third_place_medal:"],category:"activity"},":thought_balloon:":{uc_base:"1f4ad",uc_output:"1f4ad",uc_match:"1f4ad",uc_greedy:"1f4ad",shortnames:[],category:"symbols"},":thread:":{uc_base:"1f9f5",uc_output:"1f9f5",uc_match:"1f9f5",uc_greedy:"1f9f5",shortnames:[],category:"objects"},":thumbsdown:":{uc_base:"1f44e",uc_output:"1f44e",uc_match:"1f44e-fe0f",uc_greedy:"1f44e-fe0f",shortnames:[":-1:",":thumbdown:"],category:"people"},":thumbsup:":{uc_base:"1f44d",uc_output:"1f44d",uc_match:"1f44d-fe0f",uc_greedy:"1f44d-fe0f",shortnames:[":+1:",":thumbup:"],category:"people"},":ticket:":{uc_base:"1f3ab",uc_output:"1f3ab",uc_match:"1f3ab",uc_greedy:"1f3ab",shortnames:[],category:"activity"},":tickets:":{uc_base:"1f39f",uc_output:"1f39f",uc_match:"1f39f-fe0f",uc_greedy:"1f39f-fe0f",shortnames:[":admission_tickets:"],category:"activity"},":tiger2:":{uc_base:"1f405",uc_output:"1f405",uc_match:"1f405",uc_greedy:"1f405",shortnames:[],category:"nature"},":tiger:":{uc_base:"1f42f",uc_output:"1f42f",uc_match:"1f42f",uc_greedy:"1f42f",shortnames:[],category:"nature"},":tired_face:":{uc_base:"1f62b",uc_output:"1f62b",uc_match:"1f62b",uc_greedy:"1f62b",shortnames:[],category:"people"},":toilet:":{uc_base:"1f6bd",uc_output:"1f6bd",uc_match:"1f6bd",uc_greedy:"1f6bd",shortnames:[],category:"objects"},":tokyo_tower:":{uc_base:"1f5fc",uc_output:"1f5fc",uc_match:"1f5fc",uc_greedy:"1f5fc",shortnames:[],category:"travel"},":tomato:":{uc_base:"1f345",uc_output:"1f345",uc_match:"1f345",uc_greedy:"1f345",shortnames:[],category:"food"},":tone1:":{uc_base:"1f3fb",uc_output:"1f3fb",uc_match:"1f3fb",uc_greedy:"1f3fb",shortnames:[],category:"modifier"},":tone2:":{uc_base:"1f3fc",uc_output:"1f3fc",uc_match:"1f3fc",uc_greedy:"1f3fc",shortnames:[],category:"modifier"},":tone3:":{uc_base:"1f3fd",uc_output:"1f3fd",uc_match:"1f3fd",uc_greedy:"1f3fd",shortnames:[],category:"modifier"},":tone4:":{uc_base:"1f3fe",uc_output:"1f3fe",uc_match:"1f3fe",uc_greedy:"1f3fe",shortnames:[],category:"modifier"},":tone5:":{uc_base:"1f3ff",uc_output:"1f3ff",uc_match:"1f3ff",uc_greedy:"1f3ff",shortnames:[],category:"modifier"},":tongue:":{uc_base:"1f445",uc_output:"1f445",uc_match:"1f445",uc_greedy:"1f445",shortnames:[],category:"people"},":toolbox:":{uc_base:"1f9f0",uc_output:"1f9f0",uc_match:"1f9f0",uc_greedy:"1f9f0",shortnames:[],category:"objects"},":tools:":{uc_base:"1f6e0",uc_output:"1f6e0",uc_match:"1f6e0-fe0f",uc_greedy:"1f6e0-fe0f",shortnames:[":hammer_and_wrench:"],category:"objects"},":tooth:":{uc_base:"1f9b7",uc_output:"1f9b7",uc_match:"1f9b7",uc_greedy:"1f9b7",shortnames:[],category:"people"},":top:":{uc_base:"1f51d",uc_output:"1f51d",uc_match:"1f51d",uc_greedy:"1f51d",shortnames:[],category:"symbols"},":tophat:":{uc_base:"1f3a9",uc_output:"1f3a9",uc_match:"1f3a9",uc_greedy:"1f3a9",shortnames:[],category:"people"},":trackball:":{uc_base:"1f5b2",uc_output:"1f5b2",uc_match:"1f5b2-fe0f",uc_greedy:"1f5b2-fe0f",shortnames:[],category:"objects"},":tractor:":{uc_base:"1f69c",uc_output:"1f69c",uc_match:"1f69c",uc_greedy:"1f69c",shortnames:[],category:"travel"},":traffic_light:":{uc_base:"1f6a5",uc_output:"1f6a5",uc_match:"1f6a5",uc_greedy:"1f6a5",shortnames:[],category:"travel"},":train2:":{uc_base:"1f686",uc_output:"1f686",uc_match:"1f686",uc_greedy:"1f686",shortnames:[],category:"travel"},":train:":{uc_base:"1f68b",uc_output:"1f68b",uc_match:"1f68b",uc_greedy:"1f68b",shortnames:[],category:"travel"},":tram:":{uc_base:"1f68a",uc_output:"1f68a",uc_match:"1f68a",uc_greedy:"1f68a",shortnames:[],category:"travel"},":triangular_flag_on_post:":{uc_base:"1f6a9",uc_output:"1f6a9",uc_match:"1f6a9",uc_greedy:"1f6a9",shortnames:[],category:"flags"},":triangular_ruler:":{uc_base:"1f4d0",uc_output:"1f4d0",uc_match:"1f4d0",uc_greedy:"1f4d0",shortnames:[],category:"objects"},":trident:":{uc_base:"1f531",uc_output:"1f531",uc_match:"1f531",uc_greedy:"1f531",shortnames:[],category:"symbols"},":triumph:":{uc_base:"1f624",uc_output:"1f624",uc_match:"1f624",uc_greedy:"1f624",shortnames:[],category:"people"},":trolleybus:":{uc_base:"1f68e",uc_output:"1f68e",uc_match:"1f68e",uc_greedy:"1f68e",shortnames:[],category:"travel"},":trophy:":{uc_base:"1f3c6",uc_output:"1f3c6",uc_match:"1f3c6-fe0f",uc_greedy:"1f3c6-fe0f",shortnames:[],category:"activity"},":tropical_drink:":{uc_base:"1f379",uc_output:"1f379",uc_match:"1f379",uc_greedy:"1f379",shortnames:[],category:"food"},":tropical_fish:":{uc_base:"1f420",uc_output:"1f420",uc_match:"1f420",uc_greedy:"1f420",shortnames:[],category:"nature"},":truck:":{uc_base:"1f69a",uc_output:"1f69a",uc_match:"1f69a",uc_greedy:"1f69a",shortnames:[],category:"travel"},":trumpet:":{uc_base:"1f3ba",uc_output:"1f3ba",uc_match:"1f3ba",uc_greedy:"1f3ba",shortnames:[],category:"activity"},":tulip:":{uc_base:"1f337",uc_output:"1f337",uc_match:"1f337",uc_greedy:"1f337",shortnames:[],category:"nature"},":tumbler_glass:":{uc_base:"1f943",uc_output:"1f943",uc_match:"1f943",uc_greedy:"1f943",shortnames:[":whisky:"],category:"food"},":turkey:":{uc_base:"1f983",uc_output:"1f983",uc_match:"1f983",uc_greedy:"1f983",shortnames:[],category:"nature"},":turtle:":{uc_base:"1f422",uc_output:"1f422",uc_match:"1f422",uc_greedy:"1f422",shortnames:[],category:"nature"},":tv:":{uc_base:"1f4fa",uc_output:"1f4fa",uc_match:"1f4fa-fe0f",uc_greedy:"1f4fa-fe0f",shortnames:[],category:"objects"},":twisted_rightwards_arrows:":{uc_base:"1f500",uc_output:"1f500",uc_match:"1f500",uc_greedy:"1f500",shortnames:[],category:"symbols"},":two_hearts:":{uc_base:"1f495",uc_output:"1f495",uc_match:"1f495",uc_greedy:"1f495",shortnames:[],category:"symbols"},":two_men_holding_hands:":{uc_base:"1f46c",uc_output:"1f46c",uc_match:"1f46c",uc_greedy:"1f46c",shortnames:[],category:"people"},":two_women_holding_hands:":{uc_base:"1f46d",uc_output:"1f46d",uc_match:"1f46d",uc_greedy:"1f46d",shortnames:[],category:"people"},":u5272:":{uc_base:"1f239",uc_output:"1f239",uc_match:"1f239",uc_greedy:"1f239",shortnames:[],category:"symbols"},":u5408:":{uc_base:"1f234",uc_output:"1f234",uc_match:"1f234",uc_greedy:"1f234",shortnames:[],category:"symbols"},":u55b6:":{uc_base:"1f23a",uc_output:"1f23a",uc_match:"1f23a",uc_greedy:"1f23a",shortnames:[],category:"symbols"},":u6307:":{uc_base:"1f22f",uc_output:"1f22f",uc_match:"1f22f-fe0f",uc_greedy:"1f22f-fe0f",shortnames:[],category:"symbols"},":u6708:":{uc_base:"1f237",uc_output:"1f237",uc_match:"1f237-fe0f",uc_greedy:"1f237-fe0f",shortnames:[],category:"symbols"},":u6709:":{uc_base:"1f236",uc_output:"1f236",uc_match:"1f236",uc_greedy:"1f236",shortnames:[],category:"symbols"},":u6e80:":{uc_base:"1f235",uc_output:"1f235",uc_match:"1f235",uc_greedy:"1f235",shortnames:[],category:"symbols"},":u7121:":{uc_base:"1f21a",uc_output:"1f21a",uc_match:"1f21a-fe0f",uc_greedy:"1f21a-fe0f",shortnames:[],category:"symbols"},":u7533:":{uc_base:"1f238",uc_output:"1f238",uc_match:"1f238",uc_greedy:"1f238",shortnames:[],category:"symbols"},":u7981:":{uc_base:"1f232",uc_output:"1f232",uc_match:"1f232",uc_greedy:"1f232",shortnames:[],category:"symbols"},":u7a7a:":{uc_base:"1f233",uc_output:"1f233",uc_match:"1f233",uc_greedy:"1f233",shortnames:[],category:"symbols"},":unamused:":{uc_base:"1f612",uc_output:"1f612",uc_match:"1f612",uc_greedy:"1f612",shortnames:[],category:"people"},":underage:":{uc_base:"1f51e",uc_output:"1f51e",uc_match:"1f51e",uc_greedy:"1f51e",shortnames:[],category:"symbols"},":unicorn:":{uc_base:"1f984",uc_output:"1f984",uc_match:"1f984",uc_greedy:"1f984",shortnames:[":unicorn_face:"],category:"nature"},":unlock:":{uc_base:"1f513",uc_output:"1f513",uc_match:"1f513-fe0f",uc_greedy:"1f513-fe0f",shortnames:[],category:"objects"},":up:":{uc_base:"1f199",uc_output:"1f199",uc_match:"1f199",uc_greedy:"1f199",shortnames:[],category:"symbols"},":upside_down:":{uc_base:"1f643",uc_output:"1f643",uc_match:"1f643",uc_greedy:"1f643",shortnames:[":upside_down_face:"],category:"people"},":vampire:":{uc_base:"1f9db",uc_output:"1f9db",uc_match:"1f9db",uc_greedy:"1f9db",shortnames:[],category:"people"},":vertical_traffic_light:":{uc_base:"1f6a6",uc_output:"1f6a6",uc_match:"1f6a6",uc_greedy:"1f6a6",shortnames:[],category:"travel"},":vhs:":{uc_base:"1f4fc",uc_output:"1f4fc",uc_match:"1f4fc",uc_greedy:"1f4fc",shortnames:[],category:"objects"},":vibration_mode:":{uc_base:"1f4f3",uc_output:"1f4f3",uc_match:"1f4f3",uc_greedy:"1f4f3",shortnames:[],category:"symbols"},":video_camera:":{uc_base:"1f4f9",uc_output:"1f4f9",uc_match:"1f4f9-fe0f",uc_greedy:"1f4f9-fe0f",shortnames:[],category:"objects"},":video_game:":{uc_base:"1f3ae",uc_output:"1f3ae",uc_match:"1f3ae-fe0f",uc_greedy:"1f3ae-fe0f",shortnames:[],category:"activity"},":violin:":{uc_base:"1f3bb",uc_output:"1f3bb",uc_match:"1f3bb",uc_greedy:"1f3bb",shortnames:[],category:"activity"},":volcano:":{uc_base:"1f30b",uc_output:"1f30b",uc_match:"1f30b",uc_greedy:"1f30b",shortnames:[],category:"travel"},":volleyball:":{uc_base:"1f3d0",uc_output:"1f3d0",uc_match:"1f3d0",uc_greedy:"1f3d0",shortnames:[],category:"activity"},":vs:":{uc_base:"1f19a",uc_output:"1f19a",uc_match:"1f19a",uc_greedy:"1f19a",shortnames:[],category:"symbols"},":vulcan:":{uc_base:"1f596",uc_output:"1f596",uc_match:"1f596",uc_greedy:"1f596",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers:"],category:"people"},":waning_crescent_moon:":{uc_base:"1f318",uc_output:"1f318",uc_match:"1f318",uc_greedy:"1f318",shortnames:[],category:"nature"},":waning_gibbous_moon:":{uc_base:"1f316",uc_output:"1f316",uc_match:"1f316",uc_greedy:"1f316",shortnames:[],category:"nature"},":wastebasket:":{uc_base:"1f5d1",uc_output:"1f5d1",uc_match:"1f5d1-fe0f",uc_greedy:"1f5d1-fe0f",shortnames:[],category:"objects"},":water_buffalo:":{uc_base:"1f403",uc_output:"1f403",uc_match:"1f403",uc_greedy:"1f403",shortnames:[],category:"nature"},":watermelon:":{uc_base:"1f349",uc_output:"1f349",uc_match:"1f349",uc_greedy:"1f349",shortnames:[],category:"food"},":wave:":{uc_base:"1f44b",uc_output:"1f44b",uc_match:"1f44b",uc_greedy:"1f44b",shortnames:[],category:"people"},":waxing_crescent_moon:":{uc_base:"1f312",uc_output:"1f312",uc_match:"1f312",uc_greedy:"1f312",shortnames:[],category:"nature"},":waxing_gibbous_moon:":{uc_base:"1f314",uc_output:"1f314",uc_match:"1f314",uc_greedy:"1f314",shortnames:[],category:"nature"},":wc:":{uc_base:"1f6be",uc_output:"1f6be",uc_match:"1f6be",uc_greedy:"1f6be",shortnames:[],category:"symbols"},":weary:":{uc_base:"1f629",uc_output:"1f629",uc_match:"1f629",uc_greedy:"1f629",shortnames:[],category:"people"},":wedding:":{uc_base:"1f492",uc_output:"1f492",uc_match:"1f492",uc_greedy:"1f492",shortnames:[],category:"travel"},":whale2:":{uc_base:"1f40b",uc_output:"1f40b",uc_match:"1f40b",uc_greedy:"1f40b",shortnames:[],category:"nature"},":whale:":{uc_base:"1f433",uc_output:"1f433",uc_match:"1f433",uc_greedy:"1f433",shortnames:[],category:"nature"},":white_flower:":{uc_base:"1f4ae",uc_output:"1f4ae",uc_match:"1f4ae",uc_greedy:"1f4ae",shortnames:[],category:"symbols"},":white_haired:":{uc_base:"1f9b3",uc_output:"1f9b3",uc_match:"1f9b3",uc_greedy:"1f9b3",shortnames:[],category:"people"},":white_square_button:":{uc_base:"1f533",uc_output:"1f533",uc_match:"1f533",uc_greedy:"1f533",shortnames:[],category:"symbols"},":white_sun_cloud:":{uc_base:"1f325",uc_output:"1f325",uc_match:"1f325-fe0f",uc_greedy:"1f325-fe0f",shortnames:[":white_sun_behind_cloud:"],category:"nature"},":white_sun_rain_cloud:":{uc_base:"1f326",uc_output:"1f326",uc_match:"1f326-fe0f",uc_greedy:"1f326-fe0f",shortnames:[":white_sun_behind_cloud_with_rain:"],category:"nature"},":white_sun_small_cloud:":{uc_base:"1f324",uc_output:"1f324",uc_match:"1f324-fe0f",uc_greedy:"1f324-fe0f",shortnames:[":white_sun_with_small_cloud:"],category:"nature"},":wilted_rose:":{uc_base:"1f940",uc_output:"1f940",uc_match:"1f940",uc_greedy:"1f940",shortnames:[":wilted_flower:"],category:"nature"},":wind_blowing_face:":{uc_base:"1f32c",uc_output:"1f32c",uc_match:"1f32c-fe0f",uc_greedy:"1f32c-fe0f",shortnames:[],category:"nature"},":wind_chime:":{uc_base:"1f390",uc_output:"1f390",uc_match:"1f390",uc_greedy:"1f390",shortnames:[],category:"objects"},":wine_glass:":{uc_base:"1f377",uc_output:"1f377",uc_match:"1f377",uc_greedy:"1f377",shortnames:[],category:"food"},":wink:":{uc_base:"1f609",uc_output:"1f609",uc_match:"1f609",uc_greedy:"1f609",shortnames:[],category:"people"},":wolf:":{uc_base:"1f43a",uc_output:"1f43a",uc_match:"1f43a",uc_greedy:"1f43a",shortnames:[],category:"nature"},":woman:":{uc_base:"1f469",uc_output:"1f469",uc_match:"1f469",uc_greedy:"1f469",shortnames:[],category:"people"},":woman_with_headscarf:":{uc_base:"1f9d5",uc_output:"1f9d5",uc_match:"1f9d5",uc_greedy:"1f9d5",shortnames:[],category:"people"},":womans_clothes:":{uc_base:"1f45a",uc_output:"1f45a",uc_match:"1f45a",uc_greedy:"1f45a",shortnames:[],category:"people"},":womans_flat_shoe:":{uc_base:"1f97f",uc_output:"1f97f",uc_match:"1f97f",uc_greedy:"1f97f",shortnames:[],category:"people"},":womans_hat:":{uc_base:"1f452",uc_output:"1f452",uc_match:"1f452",uc_greedy:"1f452",shortnames:[],category:"people"},":womens:":{uc_base:"1f6ba",uc_output:"1f6ba",uc_match:"1f6ba-fe0f",uc_greedy:"1f6ba-fe0f",shortnames:[],category:"symbols"},":woozy_face:":{uc_base:"1f974",uc_output:"1f974",uc_match:"1f974",uc_greedy:"1f974",shortnames:[],category:"people"},":worried:":{uc_base:"1f61f",uc_output:"1f61f",uc_match:"1f61f",uc_greedy:"1f61f",shortnames:[],category:"people"},":wrench:":{uc_base:"1f527",uc_output:"1f527",uc_match:"1f527",uc_greedy:"1f527",shortnames:[],category:"objects"},":yarn:":{uc_base:"1f9f6",uc_output:"1f9f6",uc_match:"1f9f6",uc_greedy:"1f9f6",shortnames:[],category:"objects"},":yellow_heart:":{uc_base:"1f49b",uc_output:"1f49b",uc_match:"1f49b",uc_greedy:"1f49b",shortnames:[],category:"symbols"},":yen:":{uc_base:"1f4b4",uc_output:"1f4b4",uc_match:"1f4b4",uc_greedy:"1f4b4",shortnames:[],category:"objects"},":yum:":{uc_base:"1f60b",uc_output:"1f60b",uc_match:"1f60b",uc_greedy:"1f60b",shortnames:[],category:"people"},":zany_face:":{uc_base:"1f92a",uc_output:"1f92a",uc_match:"1f92a",uc_greedy:"1f92a",shortnames:[],category:"people"},":zebra:":{uc_base:"1f993",uc_output:"1f993",uc_match:"1f993",uc_greedy:"1f993",shortnames:[],category:"nature"},":zipper_mouth:":{uc_base:"1f910",uc_output:"1f910",uc_match:"1f910",uc_greedy:"1f910",shortnames:[":zipper_mouth_face:"],category:"people"},":zombie:":{uc_base:"1f9df",uc_output:"1f9df",uc_match:"1f9df",uc_greedy:"1f9df",shortnames:[],category:"people"},":zzz:":{uc_base:"1f4a4",uc_output:"1f4a4",uc_match:"1f4a4",uc_greedy:"1f4a4",shortnames:[],category:"symbols"},":airplane:":{uc_base:"2708",uc_output:"2708",uc_match:"2708-fe0f",uc_greedy:"2708-fe0f",shortnames:[],category:"travel"},":alarm_clock:":{uc_base:"23f0",uc_output:"23f0",uc_match:"23f0",uc_greedy:"23f0",shortnames:[],category:"objects"},":alembic:":{uc_base:"2697",uc_output:"2697",uc_match:"2697-fe0f",uc_greedy:"2697-fe0f",shortnames:[],category:"objects"},":anchor:":{uc_base:"2693",uc_output:"2693",uc_match:"2693-fe0f",uc_greedy:"2693-fe0f",shortnames:[],category:"travel"},":aquarius:":{uc_base:"2652",uc_output:"2652",uc_match:"2652-fe0f",uc_greedy:"2652-fe0f",shortnames:[],category:"symbols"},":aries:":{uc_base:"2648",uc_output:"2648",uc_match:"2648-fe0f",uc_greedy:"2648-fe0f",shortnames:[],category:"symbols"},":arrow_backward:":{uc_base:"25c0",uc_output:"25c0",uc_match:"25c0-fe0f",uc_greedy:"25c0",shortnames:[],category:"symbols"},":arrow_double_down:":{uc_base:"23ec",uc_output:"23ec",uc_match:"23ec",uc_greedy:"23ec",shortnames:[],category:"symbols"},":arrow_double_up:":{uc_base:"23eb",uc_output:"23eb",uc_match:"23eb",uc_greedy:"23eb",shortnames:[],category:"symbols"},":arrow_down:":{uc_base:"2b07",uc_output:"2b07",uc_match:"2b07-fe0f",uc_greedy:"2b07",shortnames:[],category:"symbols"},":arrow_forward:":{uc_base:"25b6",uc_output:"25b6",uc_match:"25b6-fe0f",uc_greedy:"25b6",shortnames:[],category:"symbols"},":arrow_heading_down:":{uc_base:"2935",uc_output:"2935",uc_match:"2935-fe0f",uc_greedy:"2935",shortnames:[],category:"symbols"},":arrow_heading_up:":{uc_base:"2934",uc_output:"2934",uc_match:"2934-fe0f",uc_greedy:"2934",shortnames:[],category:"symbols"},":arrow_left:":{uc_base:"2b05",uc_output:"2b05",uc_match:"2b05-fe0f",uc_greedy:"2b05",shortnames:[],category:"symbols"},":arrow_lower_left:":{uc_base:"2199",uc_output:"2199",uc_match:"2199-fe0f",uc_greedy:"2199",shortnames:[],category:"symbols"},":arrow_lower_right:":{uc_base:"2198",uc_output:"2198",uc_match:"2198-fe0f",uc_greedy:"2198",shortnames:[],category:"symbols"},":arrow_right:":{uc_base:"27a1",uc_output:"27a1",uc_match:"27a1-fe0f",uc_greedy:"27a1",shortnames:[],category:"symbols"},":arrow_right_hook:":{uc_base:"21aa",uc_output:"21aa",uc_match:"21aa-fe0f",uc_greedy:"21aa",shortnames:[],category:"symbols"},":arrow_up:":{uc_base:"2b06",uc_output:"2b06",uc_match:"2b06-fe0f",uc_greedy:"2b06",shortnames:[],category:"symbols"},":arrow_up_down:":{uc_base:"2195",uc_output:"2195",uc_match:"2195-fe0f",uc_greedy:"2195",shortnames:[],category:"symbols"},":arrow_upper_left:":{uc_base:"2196",uc_output:"2196",uc_match:"2196-fe0f",uc_greedy:"2196",shortnames:[],category:"symbols"},":arrow_upper_right:":{uc_base:"2197",uc_output:"2197",uc_match:"2197-fe0f",uc_greedy:"2197",shortnames:[],category:"symbols"},":atom:":{uc_base:"269b",uc_output:"269b",uc_match:"269b-fe0f",uc_greedy:"269b",shortnames:[":atom_symbol:"],category:"symbols"},":ballot_box_with_check:":{uc_base:"2611",uc_output:"2611",uc_match:"2611-fe0f",uc_greedy:"2611",shortnames:[],category:"symbols"},":bangbang:":{uc_base:"203c",uc_output:"203c",uc_match:"203c-fe0f",uc_greedy:"203c",shortnames:[],category:"symbols"},":baseball:":{uc_base:"26be",uc_output:"26be",uc_match:"26be-fe0f",uc_greedy:"26be-fe0f",shortnames:[],category:"activity"},":beach_umbrella:":{uc_base:"26f1",uc_output:"26f1",uc_match:"26f1-fe0f",uc_greedy:"26f1-fe0f",shortnames:[":umbrella_on_ground:"],category:"travel"},":biohazard:":{uc_base:"2623",uc_output:"2623",uc_match:"2623-fe0f",uc_greedy:"2623",shortnames:[":biohazard_sign:"],category:"symbols"},":black_circle:":{uc_base:"26ab",uc_output:"26ab",uc_match:"26ab-fe0f",uc_greedy:"26ab-fe0f",shortnames:[],category:"symbols"},":black_large_square:":{uc_base:"2b1b",uc_output:"2b1b",uc_match:"2b1b-fe0f",uc_greedy:"2b1b-fe0f",shortnames:[],category:"symbols"},":black_medium_small_square:":{uc_base:"25fe",uc_output:"25fe",uc_match:"25fe-fe0f",uc_greedy:"25fe-fe0f",shortnames:[],category:"symbols"},":black_medium_square:":{uc_base:"25fc",uc_output:"25fc",uc_match:"25fc-fe0f",uc_greedy:"25fc",shortnames:[],category:"symbols"},":black_nib:":{uc_base:"2712",uc_output:"2712",uc_match:"2712-fe0f",uc_greedy:"2712-fe0f",shortnames:[],category:"objects"},":black_small_square:":{uc_base:"25aa",uc_output:"25aa",uc_match:"25aa-fe0f",uc_greedy:"25aa",shortnames:[],category:"symbols"},":cancer:":{uc_base:"264b",uc_output:"264b",uc_match:"264b-fe0f",uc_greedy:"264b-fe0f",shortnames:[],category:"symbols"},":capricorn:":{uc_base:"2651",uc_output:"2651",uc_match:"2651-fe0f",uc_greedy:"2651-fe0f",shortnames:[],category:"symbols"},":chains:":{uc_base:"26d3",uc_output:"26d3",uc_match:"26d3-fe0f",uc_greedy:"26d3-fe0f",shortnames:[],category:"objects"},":church:":{uc_base:"26ea",uc_output:"26ea",uc_match:"26ea-fe0f",uc_greedy:"26ea-fe0f",shortnames:[],category:"travel"},":cloud:":{uc_base:"2601",uc_output:"2601",uc_match:"2601-fe0f",uc_greedy:"2601-fe0f",shortnames:[],category:"nature"},":clubs:":{uc_base:"2663",uc_output:"2663",uc_match:"2663-fe0f",uc_greedy:"2663-fe0f",shortnames:[],category:"symbols"},":coffee:":{uc_base:"2615",uc_output:"2615",uc_match:"2615-fe0f",uc_greedy:"2615-fe0f",shortnames:[],category:"food"},":coffin:":{uc_base:"26b0",uc_output:"26b0",uc_match:"26b0-fe0f",uc_greedy:"26b0-fe0f",shortnames:[],category:"objects"},":comet:":{uc_base:"2604",uc_output:"2604",uc_match:"2604-fe0f",uc_greedy:"2604-fe0f",shortnames:[],category:"nature"},":congratulations:":{uc_base:"3297",uc_output:"3297",uc_match:"3297-fe0f",uc_greedy:"3297-fe0f",shortnames:[],category:"symbols"},":cross:":{uc_base:"271d",uc_output:"271d",uc_match:"271d-fe0f",uc_greedy:"271d",shortnames:[":latin_cross:"],category:"symbols"},":crossed_swords:":{uc_base:"2694",uc_output:"2694",uc_match:"2694-fe0f",uc_greedy:"2694-fe0f",shortnames:[],category:"objects"},":curly_loop:":{uc_base:"27b0",uc_output:"27b0",uc_match:"27b0",uc_greedy:"27b0",shortnames:[],category:"symbols"},":diamonds:":{uc_base:"2666",uc_output:"2666",uc_match:"2666-fe0f",uc_greedy:"2666-fe0f",shortnames:[],category:"symbols"},":eight_pointed_black_star:":{uc_base:"2734",uc_output:"2734",uc_match:"2734-fe0f",uc_greedy:"2734-fe0f",shortnames:[],category:"symbols"},":eight_spoked_asterisk:":{uc_base:"2733",uc_output:"2733",uc_match:"2733-fe0f",uc_greedy:"2733-fe0f",shortnames:[],category:"symbols"},":eject:":{uc_base:"23cf",uc_output:"23cf",uc_match:"23cf-fe0f",uc_greedy:"23cf",shortnames:[":eject_symbol:"],category:"symbols"},":envelope:":{uc_base:"2709",uc_output:"2709",uc_match:"2709-fe0f",uc_greedy:"2709-fe0f",shortnames:[],category:"objects"},":exclamation:":{uc_base:"2757",uc_output:"2757",uc_match:"2757-fe0f",uc_greedy:"2757-fe0f",shortnames:[],category:"symbols"},":fast_forward:":{uc_base:"23e9",uc_output:"23e9",uc_match:"23e9-fe0f",uc_greedy:"23e9-fe0f",shortnames:[],category:"symbols"},":female_sign:":{uc_base:"2640",uc_output:"2640",uc_match:"2640-fe0f",uc_greedy:"2640",shortnames:[],category:"symbols"},":ferry:":{uc_base:"26f4",uc_output:"26f4",uc_match:"26f4-fe0f",uc_greedy:"26f4-fe0f",shortnames:[],category:"travel"},":fist:":{uc_base:"270a",uc_output:"270a",uc_match:"270a",uc_greedy:"270a",shortnames:[],category:"people"},":fleur-de-lis:":{uc_base:"269c",uc_output:"269c",uc_match:"269c-fe0f",uc_greedy:"269c-fe0f",shortnames:[],category:"symbols"},":fountain:":{uc_base:"26f2",uc_output:"26f2",uc_match:"26f2-fe0f",uc_greedy:"26f2-fe0f",shortnames:[],category:"travel"},":frowning2:":{uc_base:"2639",uc_output:"2639",uc_match:"2639-fe0f",uc_greedy:"2639-fe0f",shortnames:[":white_frowning_face:"],category:"people"},":fuelpump:":{uc_base:"26fd",uc_output:"26fd",uc_match:"26fd-fe0f",uc_greedy:"26fd-fe0f",shortnames:[],category:"travel"},":gear:":{uc_base:"2699",uc_output:"2699",uc_match:"2699-fe0f",uc_greedy:"2699-fe0f",shortnames:[],category:"objects"},":gemini:":{uc_base:"264a",uc_output:"264a",uc_match:"264a-fe0f",uc_greedy:"264a-fe0f",shortnames:[],category:"symbols"},":golf:":{uc_base:"26f3",uc_output:"26f3",uc_match:"26f3-fe0f",uc_greedy:"26f3-fe0f",shortnames:[],category:"activity"},":grey_exclamation:":{uc_base:"2755",uc_output:"2755",uc_match:"2755",uc_greedy:"2755",shortnames:[],category:"symbols"},":grey_question:":{uc_base:"2754",uc_output:"2754",uc_match:"2754",uc_greedy:"2754",shortnames:[],category:"symbols"},":hammer_pick:":{uc_base:"2692",uc_output:"2692",uc_match:"2692-fe0f",uc_greedy:"2692-fe0f",shortnames:[":hammer_and_pick:"],category:"objects"},":heart:":{uc_base:"2764",uc_output:"2764",uc_match:"2764-fe0f",uc_greedy:"2764-fe0f",shortnames:[],category:"symbols"},":heart_exclamation:":{uc_base:"2763",uc_output:"2763",uc_match:"2763-fe0f",uc_greedy:"2763-fe0f",shortnames:[":heavy_heart_exclamation_mark_ornament:"],category:"symbols"},":hearts:":{uc_base:"2665",uc_output:"2665",uc_match:"2665-fe0f",uc_greedy:"2665-fe0f",shortnames:[],category:"symbols"},":heavy_check_mark:":{uc_base:"2714",uc_output:"2714",uc_match:"2714-fe0f",uc_greedy:"2714",shortnames:[],category:"symbols"},":heavy_division_sign:":{uc_base:"2797",uc_output:"2797",uc_match:"2797",uc_greedy:"2797",shortnames:[],category:"symbols"},":heavy_minus_sign:":{uc_base:"2796",uc_output:"2796",uc_match:"2796",uc_greedy:"2796",shortnames:[],category:"symbols"},":heavy_multiplication_x:":{uc_base:"2716",uc_output:"2716",uc_match:"2716-fe0f",uc_greedy:"2716",shortnames:[],category:"symbols"},":heavy_plus_sign:":{uc_base:"2795",uc_output:"2795",uc_match:"2795",uc_greedy:"2795",shortnames:[],category:"symbols"},":helmet_with_cross:":{uc_base:"26d1",uc_output:"26d1",uc_match:"26d1-fe0f",uc_greedy:"26d1-fe0f",shortnames:[":helmet_with_white_cross:"],category:"people"},":hotsprings:":{uc_base:"2668",uc_output:"2668",uc_match:"2668-fe0f",uc_greedy:"2668-fe0f",shortnames:[],category:"symbols"},":hourglass:":{uc_base:"231b",uc_output:"231b",uc_match:"231b-fe0f",uc_greedy:"231b-fe0f",shortnames:[],category:"objects"},":hourglass_flowing_sand:":{uc_base:"23f3",uc_output:"23f3",uc_match:"23f3-fe0f",uc_greedy:"23f3-fe0f",shortnames:[],category:"objects"},":ice_skate:":{uc_base:"26f8",uc_output:"26f8",uc_match:"26f8-fe0f",uc_greedy:"26f8-fe0f",shortnames:[],category:"activity"},":information_source:":{uc_base:"2139",uc_output:"2139",uc_match:"2139-fe0f",uc_greedy:"2139",shortnames:[],category:"symbols"},":interrobang:":{uc_base:"2049",uc_output:"2049",uc_match:"2049-fe0f",uc_greedy:"2049",shortnames:[],category:"symbols"},":keyboard:":{uc_base:"2328",uc_output:"2328",uc_match:"2328-fe0f",uc_greedy:"2328-fe0f",shortnames:[],category:"objects"},":left_right_arrow:":{uc_base:"2194",uc_output:"2194",uc_match:"2194-fe0f",uc_greedy:"2194",shortnames:[],category:"symbols"},":leftwards_arrow_with_hook:":{uc_base:"21a9",uc_output:"21a9",uc_match:"21a9-fe0f",uc_greedy:"21a9",shortnames:[],category:"symbols"},":leo:":{uc_base:"264c",uc_output:"264c",uc_match:"264c-fe0f",uc_greedy:"264c-fe0f",shortnames:[],category:"symbols"},":libra:":{uc_base:"264e",uc_output:"264e",uc_match:"264e-fe0f",uc_greedy:"264e-fe0f",shortnames:[],category:"symbols"},":loop:":{uc_base:"27bf",uc_output:"27bf",uc_match:"27bf",uc_greedy:"27bf",shortnames:[],category:"symbols"},":m:":{uc_base:"24c2",uc_output:"24c2",uc_match:"24c2-fe0f",uc_greedy:"24c2-fe0f",shortnames:[],category:"symbols"},":male_sign:":{uc_base:"2642",uc_output:"2642",uc_match:"2642-fe0f",uc_greedy:"2642",shortnames:[],category:"symbols"},":medical_symbol:":{uc_base:"2695",uc_output:"2695",uc_match:"2695-fe0f",uc_greedy:"2695",shortnames:[],category:"symbols"},":mountain:":{uc_base:"26f0",uc_output:"26f0",uc_match:"26f0-fe0f",uc_greedy:"26f0-fe0f",shortnames:[],category:"travel"},":negative_squared_cross_mark:":{uc_base:"274e",uc_output:"274e",uc_match:"274e",uc_greedy:"274e",shortnames:[],category:"symbols"},":no_entry:":{uc_base:"26d4",uc_output:"26d4",uc_match:"26d4-fe0f",uc_greedy:"26d4-fe0f",shortnames:[],category:"symbols"},":o:":{uc_base:"2b55",uc_output:"2b55",uc_match:"2b55-fe0f",uc_greedy:"2b55-fe0f",shortnames:[],category:"symbols"},":ophiuchus:":{uc_base:"26ce",uc_output:"26ce",uc_match:"26ce",uc_greedy:"26ce",shortnames:[],category:"symbols"},":orthodox_cross:":{uc_base:"2626",uc_output:"2626",uc_match:"2626-fe0f",uc_greedy:"2626",shortnames:[],category:"symbols"},":part_alternation_mark:":{uc_base:"303d",uc_output:"303d",uc_match:"303d-fe0f",uc_greedy:"303d-fe0f",shortnames:[],category:"symbols"},":partly_sunny:":{uc_base:"26c5",uc_output:"26c5",uc_match:"26c5-fe0f",uc_greedy:"26c5-fe0f",shortnames:[],category:"nature"},":pause_button:":{uc_base:"23f8",uc_output:"23f8",uc_match:"23f8-fe0f",uc_greedy:"23f8",shortnames:[":double_vertical_bar:"],category:"symbols"},":peace:":{uc_base:"262e",uc_output:"262e",uc_match:"262e-fe0f",uc_greedy:"262e",shortnames:[":peace_symbol:"],category:"symbols"},":pencil2:":{uc_base:"270f",uc_output:"270f",uc_match:"270f-fe0f",uc_greedy:"270f-fe0f",shortnames:[],category:"objects"},":person_bouncing_ball:":{uc_base:"26f9",uc_output:"26f9",uc_match:"26f9-fe0f",uc_greedy:"26f9-fe0f",shortnames:[":basketball_player:",":person_with_ball:"],category:"activity"},":pick:":{uc_base:"26cf",uc_output:"26cf",uc_match:"26cf-fe0f",uc_greedy:"26cf-fe0f",shortnames:[],category:"objects"},":pisces:":{uc_base:"2653",uc_output:"2653",uc_match:"2653-fe0f",uc_greedy:"2653-fe0f",shortnames:[],category:"symbols"},":play_pause:":{uc_base:"23ef",uc_output:"23ef",uc_match:"23ef-fe0f",uc_greedy:"23ef",shortnames:[],category:"symbols"},":point_up:":{uc_base:"261d",uc_output:"261d",uc_match:"261d-fe0f",uc_greedy:"261d-fe0f",shortnames:[],category:"people"},":question:":{uc_base:"2753",uc_output:"2753",uc_match:"2753-fe0f",uc_greedy:"2753-fe0f",shortnames:[],category:"symbols"},":radioactive:":{uc_base:"2622",uc_output:"2622",uc_match:"2622-fe0f",uc_greedy:"2622",shortnames:[":radioactive_sign:"],category:"symbols"},":raised_hand:":{uc_base:"270b",uc_output:"270b",uc_match:"270b",uc_greedy:"270b",shortnames:[],category:"people"},":record_button:":{uc_base:"23fa",uc_output:"23fa",uc_match:"23fa-fe0f",uc_greedy:"23fa",shortnames:[],category:"symbols"},":recycle:":{uc_base:"267b",uc_output:"267b",uc_match:"267b-fe0f",uc_greedy:"267b-fe0f",shortnames:[],category:"symbols"},":relaxed:":{uc_base:"263a",uc_output:"263a",uc_match:"263a-fe0f",uc_greedy:"263a-fe0f",shortnames:[],category:"people"},":rewind:":{uc_base:"23ea",uc_output:"23ea",uc_match:"23ea-fe0f",uc_greedy:"23ea-fe0f",shortnames:[],category:"symbols"},":sagittarius:":{uc_base:"2650",uc_output:"2650",uc_match:"2650-fe0f",uc_greedy:"2650-fe0f",shortnames:[],category:"symbols"},":sailboat:":{uc_base:"26f5",uc_output:"26f5",uc_match:"26f5-fe0f",uc_greedy:"26f5-fe0f",shortnames:[],category:"travel"},":scales:":{uc_base:"2696",uc_output:"2696",uc_match:"2696-fe0f",uc_greedy:"2696-fe0f",shortnames:[],category:"objects"},":scissors:":{uc_base:"2702",uc_output:"2702",uc_match:"2702-fe0f",uc_greedy:"2702-fe0f",shortnames:[],category:"objects"},":scorpius:":{uc_base:"264f",uc_output:"264f",uc_match:"264f-fe0f",uc_greedy:"264f-fe0f",shortnames:[],category:"symbols"},":secret:":{uc_base:"3299",uc_output:"3299",uc_match:"3299-fe0f",uc_greedy:"3299-fe0f",shortnames:[],category:"symbols"},":shamrock:":{uc_base:"2618",uc_output:"2618",uc_match:"2618-fe0f",uc_greedy:"2618-fe0f",shortnames:[],category:"nature"},":shinto_shrine:":{uc_base:"26e9",uc_output:"26e9",uc_match:"26e9-fe0f",uc_greedy:"26e9-fe0f",shortnames:[],category:"travel"},":skier:":{uc_base:"26f7",uc_output:"26f7",uc_match:"26f7-fe0f",uc_greedy:"26f7-fe0f",shortnames:[],category:"activity"},":skull_crossbones:":{uc_base:"2620",uc_output:"2620",uc_match:"2620-fe0f",uc_greedy:"2620-fe0f",shortnames:[":skull_and_crossbones:"],category:"people"},":snowflake:":{uc_base:"2744",uc_output:"2744",uc_match:"2744-fe0f",uc_greedy:"2744-fe0f",shortnames:[],category:"nature"},":snowman2:":{uc_base:"2603",uc_output:"2603",uc_match:"2603-fe0f",uc_greedy:"2603-fe0f",shortnames:[],category:"nature"},":snowman:":{uc_base:"26c4",uc_output:"26c4",uc_match:"26c4-fe0f",uc_greedy:"26c4-fe0f",shortnames:[],category:"nature"},":soccer:":{uc_base:"26bd",uc_output:"26bd",uc_match:"26bd-fe0f",uc_greedy:"26bd-fe0f",shortnames:[],category:"activity"},":spades:":{uc_base:"2660",uc_output:"2660",uc_match:"2660-fe0f",uc_greedy:"2660-fe0f",shortnames:[],category:"symbols"},":sparkle:":{uc_base:"2747",uc_output:"2747",uc_match:"2747-fe0f",uc_greedy:"2747-fe0f",shortnames:[],category:"symbols"},":sparkles:":{uc_base:"2728",uc_output:"2728",uc_match:"2728",uc_greedy:"2728",shortnames:[],category:"nature"},":star:":{uc_base:"2b50",uc_output:"2b50",uc_match:"2b50-fe0f",uc_greedy:"2b50-fe0f",shortnames:[],category:"nature"},":star_and_crescent:":{uc_base:"262a",uc_output:"262a",uc_match:"262a-fe0f",uc_greedy:"262a",shortnames:[],category:"symbols"},":star_of_david:":{uc_base:"2721",uc_output:"2721",uc_match:"2721-fe0f",uc_greedy:"2721",shortnames:[],category:"symbols"},":stop_button:":{uc_base:"23f9",uc_output:"23f9",uc_match:"23f9-fe0f",uc_greedy:"23f9",shortnames:[],category:"symbols"},":stopwatch:":{uc_base:"23f1",uc_output:"23f1",uc_match:"23f1-fe0f",uc_greedy:"23f1-fe0f",shortnames:[],category:"objects"},":sunny:":{uc_base:"2600",uc_output:"2600",uc_match:"2600-fe0f",uc_greedy:"2600-fe0f",shortnames:[],category:"nature"},":taurus:":{uc_base:"2649",uc_output:"2649",uc_match:"2649-fe0f",uc_greedy:"2649-fe0f",shortnames:[],category:"symbols"},":telephone:":{uc_base:"260e",uc_output:"260e",uc_match:"260e-fe0f",uc_greedy:"260e-fe0f",shortnames:[],category:"objects"},":tent:":{uc_base:"26fa",uc_output:"26fa",uc_match:"26fa-fe0f",uc_greedy:"26fa-fe0f",shortnames:[],category:"travel"},":thunder_cloud_rain:":{uc_base:"26c8",uc_output:"26c8",uc_match:"26c8-fe0f",uc_greedy:"26c8-fe0f",shortnames:[":thunder_cloud_and_rain:"],category:"nature"},":timer:":{uc_base:"23f2",uc_output:"23f2",uc_match:"23f2-fe0f",uc_greedy:"23f2-fe0f",shortnames:[":timer_clock:"],category:"objects"},":track_next:":{uc_base:"23ed",uc_output:"23ed",uc_match:"23ed-fe0f",uc_greedy:"23ed",shortnames:[":next_track:"],category:"symbols"},":track_previous:":{uc_base:"23ee",uc_output:"23ee",uc_match:"23ee-fe0f",uc_greedy:"23ee",shortnames:[":previous_track:"],category:"symbols"},":umbrella2:":{uc_base:"2602",uc_output:"2602",uc_match:"2602-fe0f",uc_greedy:"2602-fe0f",shortnames:[],category:"nature"},":umbrella:":{uc_base:"2614",uc_output:"2614",uc_match:"2614-fe0f",uc_greedy:"2614-fe0f",shortnames:[],category:"nature"},":urn:":{uc_base:"26b1",uc_output:"26b1",uc_match:"26b1-fe0f",uc_greedy:"26b1-fe0f",shortnames:[":funeral_urn:"],category:"objects"},":v:":{uc_base:"270c",uc_output:"270c",uc_match:"270c-fe0f",uc_greedy:"270c-fe0f",shortnames:[],category:"people"},":virgo:":{uc_base:"264d",uc_output:"264d",uc_match:"264d-fe0f",uc_greedy:"264d-fe0f",shortnames:[],category:"symbols"},":warning:":{uc_base:"26a0",uc_output:"26a0",uc_match:"26a0-fe0f",uc_greedy:"26a0",shortnames:[],category:"symbols"},":watch:":{uc_base:"231a",uc_output:"231a",uc_match:"231a-fe0f",uc_greedy:"231a-fe0f",shortnames:[],category:"objects"},":wavy_dash:":{uc_base:"3030",uc_output:"3030",uc_match:"3030-fe0f",uc_greedy:"3030",shortnames:[],category:"symbols"},":wheel_of_dharma:":{uc_base:"2638",uc_output:"2638",uc_match:"2638-fe0f",uc_greedy:"2638",shortnames:[],category:"symbols"},":wheelchair:":{uc_base:"267f",uc_output:"267f",uc_match:"267f-fe0f",uc_greedy:"267f-fe0f",shortnames:[],category:"symbols"},":white_check_mark:":{uc_base:"2705",uc_output:"2705",uc_match:"2705",uc_greedy:"2705",shortnames:[],category:"symbols"},":white_circle:":{uc_base:"26aa",uc_output:"26aa",uc_match:"26aa-fe0f",uc_greedy:"26aa-fe0f",shortnames:[],category:"symbols"},":white_large_square:":{uc_base:"2b1c",uc_output:"2b1c",uc_match:"2b1c-fe0f",uc_greedy:"2b1c-fe0f",shortnames:[],category:"symbols"},":white_medium_small_square:":{uc_base:"25fd",uc_output:"25fd",uc_match:"25fd-fe0f",uc_greedy:"25fd-fe0f",shortnames:[],category:"symbols"},":white_medium_square:":{uc_base:"25fb",uc_output:"25fb",uc_match:"25fb-fe0f",uc_greedy:"25fb",shortnames:[],category:"symbols"},":white_small_square:":{uc_base:"25ab",uc_output:"25ab",uc_match:"25ab-fe0f",uc_greedy:"25ab",shortnames:[],category:"symbols"},":writing_hand:":{uc_base:"270d",uc_output:"270d",uc_match:"270d-fe0f",uc_greedy:"270d-fe0f",shortnames:[],category:"people"},":x:":{uc_base:"274c",uc_output:"274c",uc_match:"274c",uc_greedy:"274c",shortnames:[],category:"symbols"},":yin_yang:":{uc_base:"262f",uc_output:"262f",uc_match:"262f-fe0f",uc_greedy:"262f",shortnames:[],category:"symbols"},":zap:":{uc_base:"26a1",uc_output:"26a1",uc_match:"26a1-fe0f",uc_greedy:"26a1-fe0f",shortnames:[],category:"nature"}};var t,e=[];for(t in d.emojioneList)if(d.emojioneList.hasOwnProperty(t)&&""!==t){e.push(t.replace(/[+]/g,"\\$&"));for(var n=0;n<d.emojioneList[t].shortnames.length;n++)e.push(d.emojioneList[t].shortnames[n].replace(/[+]/g,"\\$&"))}d.shortnames=e.join("|"),d.jsEscapeMap={"👩\200d❤️\200d💋\200d👩":"1f469-2764-1f48b-1f469","👨\200d❤️\200d💋\200d👨":"1f468-2764-1f48b-1f468","👩\200d❤️\200d💋\200d👨":"1f469-2764-1f48b-1f468","🏴\e0067\e0062\e0065\e006e\e0067\e007f":"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f","🏴\e0067\e0062\e0073\e0063\e0074\e007f":"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f","🏴\e0067\e0062\e0077\e006c\e0073\e007f":"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f","👨\200d👨\200d👦\200d👦":"1f468-1f468-1f466-1f466","👨\200d👨\200d👧\200d👦":"1f468-1f468-1f467-1f466","👨\200d👨\200d👧\200d👧":"1f468-1f468-1f467-1f467","👨\200d👩\200d👦\200d👦":"1f468-1f469-1f466-1f466","👨\200d👩\200d👧\200d👦":"1f468-1f469-1f467-1f466","👨\200d👩\200d👧\200d👧":"1f468-1f469-1f467-1f467","👩\200d👩\200d👦\200d👦":"1f469-1f469-1f466-1f466","👩\200d👩\200d👧\200d👦":"1f469-1f469-1f467-1f466","👩\200d👩\200d👧\200d👧":"1f469-1f469-1f467-1f467","👨\200d❤\200d💋\200d👨":"1f468-2764-1f48b-1f468","👩\200d❤\200d💋\200d👨":"1f469-2764-1f48b-1f468","👩\200d❤\200d💋\200d👩":"1f469-2764-1f48b-1f469","👩\200d❤️\200d👩":"1f469-2764-1f469","👨\200d❤️\200d👨":"1f468-2764-1f468","👩\200d❤️\200d👨":"1f469-2764-1f468","🕵️🏻\200d♀️":"1f575-1f3fb-2640","🕵️🏻\200d♂️":"1f575-1f3fb-2642","🕵️🏼\200d♀️":"1f575-1f3fc-2640","🕵️🏼\200d♂️":"1f575-1f3fc-2642","🕵️🏽\200d♀️":"1f575-1f3fd-2640","🕵️🏽\200d♂️":"1f575-1f3fd-2642","🕵️🏾\200d♀️":"1f575-1f3fe-2640","🕵️🏾\200d♂️":"1f575-1f3fe-2642","🕵️🏿\200d♀️":"1f575-1f3ff-2640","🕵️🏿\200d♂️":"1f575-1f3ff-2642","🏋️🏻\200d♀️":"1f3cb-1f3fb-2640","🏋️🏻\200d♂️":"1f3cb-1f3fb-2642","🏋️🏼\200d♀️":"1f3cb-1f3fc-2640","🏋️🏼\200d♂️":"1f3cb-1f3fc-2642","🏋️🏽\200d♀️":"1f3cb-1f3fd-2640","🏋️🏽\200d♂️":"1f3cb-1f3fd-2642","🏋️🏾\200d♀️":"1f3cb-1f3fe-2640","🏋️🏾\200d♂️":"1f3cb-1f3fe-2642","🏋️🏿\200d♀️":"1f3cb-1f3ff-2640","🏋️🏿\200d♂️":"1f3cb-1f3ff-2642","🏌️🏻\200d♀️":"1f3cc-1f3fb-2640","🏌️🏻\200d♂️":"1f3cc-1f3fb-2642","🏌️🏼\200d♀️":"1f3cc-1f3fc-2640","🏌️🏼\200d♂️":"1f3cc-1f3fc-2642","🏌️🏽\200d♀️":"1f3cc-1f3fd-2640","🏌️🏽\200d♂️":"1f3cc-1f3fd-2642","🏌️🏾\200d♀️":"1f3cc-1f3fe-2640","🏌️🏾\200d♂️":"1f3cc-1f3fe-2642","🏌️🏿\200d♀️":"1f3cc-1f3ff-2640","🏌️🏿\200d♂️":"1f3cc-1f3ff-2642","⛹️🏻\200d♀️":"26f9-1f3fb-2640","⛹️🏻\200d♂️":"26f9-1f3fb-2642","⛹️🏼\200d♀️":"26f9-1f3fc-2640","⛹️🏼\200d♂️":"26f9-1f3fc-2642","⛹️🏽\200d♀️":"26f9-1f3fd-2640","⛹️🏽\200d♂️":"26f9-1f3fd-2642","⛹️🏾\200d♀️":"26f9-1f3fe-2640","⛹️🏾\200d♂️":"26f9-1f3fe-2642","⛹️🏿\200d♀️":"26f9-1f3ff-2640","⛹️🏿\200d♂️":"26f9-1f3ff-2642","👨\200d👨\200d👦":"1f468-1f468-1f466","👨\200d👨\200d👧":"1f468-1f468-1f467","👨\200d👩\200d👧":"1f468-1f469-1f467","👩\200d👩\200d👦":"1f469-1f469-1f466","👩\200d👩\200d👧":"1f469-1f469-1f467","👨\200d👦\200d👦":"1f468-1f466-1f466","👨\200d👧\200d👦":"1f468-1f467-1f466","👩\200d👦\200d👦":"1f469-1f466-1f466","👩\200d👧\200d👦":"1f469-1f467-1f466","👩\200d👧\200d👧":"1f469-1f467-1f467","👨❤️💋👨":"1f468-2764-1f48b-1f468","👨\200d👧\200d👧":"1f468-1f467-1f467","👨\200d👩\200d👦":"1f468-1f469-1f466","👩❤️💋👨":"1f469-2764-1f48b-1f468","👩❤️💋👩":"1f469-2764-1f48b-1f469","👨\200d❤\200d👨":"1f468-2764-1f468","👩\200d❤\200d👨":"1f469-2764-1f468","👩\200d❤\200d👩":"1f469-2764-1f469","👨🏻\200d⚕️":"1f468-1f3fb-2695","👨🏻\200d⚖️":"1f468-1f3fb-2696","👨🏻\200d✈️":"1f468-1f3fb-2708","👨🏼\200d⚕️":"1f468-1f3fc-2695","👨🏼\200d⚖️":"1f468-1f3fc-2696","👨🏼\200d✈️":"1f468-1f3fc-2708","👨🏽\200d⚕️":"1f468-1f3fd-2695","👨🏽\200d⚖️":"1f468-1f3fd-2696","👨🏽\200d✈️":"1f468-1f3fd-2708","👨🏾\200d⚕️":"1f468-1f3fe-2695","👨🏾\200d⚖️":"1f468-1f3fe-2696","👨🏾\200d✈️":"1f468-1f3fe-2708","👨🏿\200d⚕️":"1f468-1f3ff-2695","👨🏿\200d⚖️":"1f468-1f3ff-2696","👨🏿\200d✈️":"1f468-1f3ff-2708","👩🏻\200d⚕️":"1f469-1f3fb-2695","👩🏻\200d⚖️":"1f469-1f3fb-2696","👩🏻\200d✈️":"1f469-1f3fb-2708","👩🏼\200d⚕️":"1f469-1f3fc-2695","👩🏼\200d⚖️":"1f469-1f3fc-2696","👩🏼\200d✈️":"1f469-1f3fc-2708","👩🏽\200d⚕️":"1f469-1f3fd-2695","👩🏽\200d⚖️":"1f469-1f3fd-2696","👩🏽\200d✈️":"1f469-1f3fd-2708","👩🏾\200d⚕️":"1f469-1f3fe-2695","👩🏾\200d⚖️":"1f469-1f3fe-2696","👩🏾\200d✈️":"1f469-1f3fe-2708","👩🏿\200d⚕️":"1f469-1f3ff-2695","👩🏿\200d⚖️":"1f469-1f3ff-2696","👩🏿\200d✈️":"1f469-1f3ff-2708","👮🏻\200d♀️":"1f46e-1f3fb-2640","👮🏻\200d♂️":"1f46e-1f3fb-2642","👮🏼\200d♀️":"1f46e-1f3fc-2640","👮🏼\200d♂️":"1f46e-1f3fc-2642","👮🏽\200d♀️":"1f46e-1f3fd-2640","👮🏽\200d♂️":"1f46e-1f3fd-2642","👮🏾\200d♀️":"1f46e-1f3fe-2640","👮🏾\200d♂️":"1f46e-1f3fe-2642","👮🏿\200d♀️":"1f46e-1f3ff-2640","👮🏿\200d♂️":"1f46e-1f3ff-2642","👱🏻\200d♀️":"1f471-1f3fb-2640","👱🏻\200d♂️":"1f471-1f3fb-2642","👱🏼\200d♀️":"1f471-1f3fc-2640","👱🏼\200d♂️":"1f471-1f3fc-2642","👱🏽\200d♀️":"1f471-1f3fd-2640","👱🏽\200d♂️":"1f471-1f3fd-2642","👱🏾\200d♀️":"1f471-1f3fe-2640","👱🏾\200d♂️":"1f471-1f3fe-2642","👱🏿\200d♀️":"1f471-1f3ff-2640","👱🏿\200d♂️":"1f471-1f3ff-2642","👳🏻\200d♀️":"1f473-1f3fb-2640","👳🏻\200d♂️":"1f473-1f3fb-2642","👳🏼\200d♀️":"1f473-1f3fc-2640","👳🏼\200d♂️":"1f473-1f3fc-2642","👳🏽\200d♀️":"1f473-1f3fd-2640","👳🏽\200d♂️":"1f473-1f3fd-2642","👳🏾\200d♀️":"1f473-1f3fe-2640","👳🏾\200d♂️":"1f473-1f3fe-2642","👳🏿\200d♀️":"1f473-1f3ff-2640","👳🏿\200d♂️":"1f473-1f3ff-2642","👷🏻\200d♀️":"1f477-1f3fb-2640","👷🏻\200d♂️":"1f477-1f3fb-2642","👷🏼\200d♀️":"1f477-1f3fc-2640","👷🏼\200d♂️":"1f477-1f3fc-2642","👷🏽\200d♀️":"1f477-1f3fd-2640","👷🏽\200d♂️":"1f477-1f3fd-2642","👷🏾\200d♀️":"1f477-1f3fe-2640","👷🏾\200d♂️":"1f477-1f3fe-2642","👷🏿\200d♀️":"1f477-1f3ff-2640","👷🏿\200d♂️":"1f477-1f3ff-2642","💂🏻\200d♀️":"1f482-1f3fb-2640","💂🏻\200d♂️":"1f482-1f3fb-2642","💂🏼\200d♀️":"1f482-1f3fc-2640","💂🏼\200d♂️":"1f482-1f3fc-2642","💂🏽\200d♀️":"1f482-1f3fd-2640","💂🏽\200d♂️":"1f482-1f3fd-2642","💂🏾\200d♀️":"1f482-1f3fe-2640","💂🏾\200d♂️":"1f482-1f3fe-2642","💂🏿\200d♀️":"1f482-1f3ff-2640","💂🏿\200d♂️":"1f482-1f3ff-2642","🕵️🏻♀️":"1f575-1f3fb-2640","🕵️🏻♂️":"1f575-1f3fb-2642","🕵️🏼♀️":"1f575-1f3fc-2640","🕵️🏼♂️":"1f575-1f3fc-2642","🕵️🏽♀️":"1f575-1f3fd-2640","🕵️🏽♂️":"1f575-1f3fd-2642","🕵️🏾♀️":"1f575-1f3fe-2640","🕵️🏾♂️":"1f575-1f3fe-2642","🕵️🏿♀️":"1f575-1f3ff-2640","🕵️🏿♂️":"1f575-1f3ff-2642","🏃🏻\200d♀️":"1f3c3-1f3fb-2640","🏃🏻\200d♂️":"1f3c3-1f3fb-2642","🏃🏼\200d♀️":"1f3c3-1f3fc-2640","🏃🏼\200d♂️":"1f3c3-1f3fc-2642","🏃🏽\200d♀️":"1f3c3-1f3fd-2640","🏃🏽\200d♂️":"1f3c3-1f3fd-2642","🏃🏾\200d♀️":"1f3c3-1f3fe-2640","🏃🏾\200d♂️":"1f3c3-1f3fe-2642","🏃🏿\200d♀️":"1f3c3-1f3ff-2640","🏃🏿\200d♂️":"1f3c3-1f3ff-2642","🏄🏻\200d♀️":"1f3c4-1f3fb-2640","🏄🏻\200d♂️":"1f3c4-1f3fb-2642","🏄🏼\200d♀️":"1f3c4-1f3fc-2640","🏄🏼\200d♂️":"1f3c4-1f3fc-2642","🏄🏽\200d♀️":"1f3c4-1f3fd-2640","🏄🏽\200d♂️":"1f3c4-1f3fd-2642","🏄🏾\200d♀️":"1f3c4-1f3fe-2640","🏄🏾\200d♂️":"1f3c4-1f3fe-2642","🏄🏿\200d♀️":"1f3c4-1f3ff-2640","🏄🏿\200d♂️":"1f3c4-1f3ff-2642","🏊🏻\200d♀️":"1f3ca-1f3fb-2640","🏊🏻\200d♂️":"1f3ca-1f3fb-2642","🏊🏼\200d♀️":"1f3ca-1f3fc-2640","🏊🏼\200d♂️":"1f3ca-1f3fc-2642","🏊🏽\200d♀️":"1f3ca-1f3fd-2640","🏊🏽\200d♂️":"1f3ca-1f3fd-2642","🏊🏾\200d♀️":"1f3ca-1f3fe-2640","🏊🏾\200d♂️":"1f3ca-1f3fe-2642","🏊🏿\200d♀️":"1f3ca-1f3ff-2640","🏊🏿\200d♂️":"1f3ca-1f3ff-2642","🏋️🏻♀️":"1f3cb-1f3fb-2640","🏋️🏻♂️":"1f3cb-1f3fb-2642","🏋️🏼♀️":"1f3cb-1f3fc-2640","🏋️🏼♂️":"1f3cb-1f3fc-2642","🏋️🏽♀️":"1f3cb-1f3fd-2640","🏋️🏽♂️":"1f3cb-1f3fd-2642","🏋️🏾♀️":"1f3cb-1f3fe-2640","🏋️🏾♂️":"1f3cb-1f3fe-2642","🏋️🏿♀️":"1f3cb-1f3ff-2640","🏋️🏿♂️":"1f3cb-1f3ff-2642","🏌️🏻♀️":"1f3cc-1f3fb-2640","🏌️🏻♂️":"1f3cc-1f3fb-2642","🏌️🏼♀️":"1f3cc-1f3fc-2640","🏌️🏼♂️":"1f3cc-1f3fc-2642","🏌️🏽♀️":"1f3cc-1f3fd-2640","🏌️🏽♂️":"1f3cc-1f3fd-2642","🏌️🏾♀️":"1f3cc-1f3fe-2640","🏌️🏾♂️":"1f3cc-1f3fe-2642","🏌️🏿♀️":"1f3cc-1f3ff-2640","🏌️🏿♂️":"1f3cc-1f3ff-2642","💆🏻\200d♀️":"1f486-1f3fb-2640","💆🏻\200d♂️":"1f486-1f3fb-2642","💆🏼\200d♀️":"1f486-1f3fc-2640","💆🏼\200d♂️":"1f486-1f3fc-2642","💆🏽\200d♀️":"1f486-1f3fd-2640","💆🏽\200d♂️":"1f486-1f3fd-2642","💆🏾\200d♀️":"1f486-1f3fe-2640","💆🏾\200d♂️":"1f486-1f3fe-2642","💆🏿\200d♀️":"1f486-1f3ff-2640","💆🏿\200d♂️":"1f486-1f3ff-2642","💇🏻\200d♀️":"1f487-1f3fb-2640","💇🏻\200d♂️":"1f487-1f3fb-2642","💇🏼\200d♀️":"1f487-1f3fc-2640","💇🏼\200d♂️":"1f487-1f3fc-2642","💇🏽\200d♀️":"1f487-1f3fd-2640","💇🏽\200d♂️":"1f487-1f3fd-2642","💇🏾\200d♀️":"1f487-1f3fe-2640","💇🏾\200d♂️":"1f487-1f3fe-2642","💇🏿\200d♀️":"1f487-1f3ff-2640","💇🏿\200d♂️":"1f487-1f3ff-2642","🚣🏻\200d♀️":"1f6a3-1f3fb-2640","🚣🏻\200d♂️":"1f6a3-1f3fb-2642","🚣🏼\200d♀️":"1f6a3-1f3fc-2640","🚣🏼\200d♂️":"1f6a3-1f3fc-2642","🚣🏽\200d♀️":"1f6a3-1f3fd-2640","🚣🏽\200d♂️":"1f6a3-1f3fd-2642","🚣🏾\200d♀️":"1f6a3-1f3fe-2640","🚣🏾\200d♂️":"1f6a3-1f3fe-2642","🚣🏿\200d♀️":"1f6a3-1f3ff-2640","🚣🏿\200d♂️":"1f6a3-1f3ff-2642","🚴🏻\200d♀️":"1f6b4-1f3fb-2640","🚴🏻\200d♂️":"1f6b4-1f3fb-2642","🚴🏼\200d♀️":"1f6b4-1f3fc-2640","🚴🏼\200d♂️":"1f6b4-1f3fc-2642","🚴🏽\200d♀️":"1f6b4-1f3fd-2640","🚴🏽\200d♂️":"1f6b4-1f3fd-2642","🚴🏾\200d♀️":"1f6b4-1f3fe-2640","🚴🏾\200d♂️":"1f6b4-1f3fe-2642","🚴🏿\200d♀️":"1f6b4-1f3ff-2640","🚴🏿\200d♂️":"1f6b4-1f3ff-2642","🚵🏻\200d♀️":"1f6b5-1f3fb-2640","🚵🏻\200d♂️":"1f6b5-1f3fb-2642","🚵🏼\200d♀️":"1f6b5-1f3fc-2640","🚵🏼\200d♂️":"1f6b5-1f3fc-2642","🚵🏽\200d♀️":"1f6b5-1f3fd-2640","🚵🏽\200d♂️":"1f6b5-1f3fd-2642","🚵🏾\200d♀️":"1f6b5-1f3fe-2640","🚵🏾\200d♂️":"1f6b5-1f3fe-2642","🚵🏿\200d♀️":"1f6b5-1f3ff-2640","🚵🏿\200d♂️":"1f6b5-1f3ff-2642","🚶🏻\200d♀️":"1f6b6-1f3fb-2640","🚶🏻\200d♂️":"1f6b6-1f3fb-2642","🚶🏼\200d♀️":"1f6b6-1f3fc-2640","🚶🏼\200d♂️":"1f6b6-1f3fc-2642","🚶🏽\200d♀️":"1f6b6-1f3fd-2640","🚶🏽\200d♂️":"1f6b6-1f3fd-2642","🚶🏾\200d♀️":"1f6b6-1f3fe-2640","🚶🏾\200d♂️":"1f6b6-1f3fe-2642","🚶🏿\200d♀️":"1f6b6-1f3ff-2640","🚶🏿\200d♂️":"1f6b6-1f3ff-2642","🤸🏻\200d♀️":"1f938-1f3fb-2640","🤸🏻\200d♂️":"1f938-1f3fb-2642","🤸🏼\200d♀️":"1f938-1f3fc-2640","🤸🏼\200d♂️":"1f938-1f3fc-2642","🤸🏽\200d♀️":"1f938-1f3fd-2640","🤸🏽\200d♂️":"1f938-1f3fd-2642","🤸🏾\200d♀️":"1f938-1f3fe-2640","🤸🏾\200d♂️":"1f938-1f3fe-2642","🤸🏿\200d♀️":"1f938-1f3ff-2640","🤸🏿\200d♂️":"1f938-1f3ff-2642","🤹🏻\200d♀️":"1f939-1f3fb-2640","🤹🏻\200d♂️":"1f939-1f3fb-2642","🤹🏼\200d♀️":"1f939-1f3fc-2640","🤹🏼\200d♂️":"1f939-1f3fc-2642","🤹🏽\200d♀️":"1f939-1f3fd-2640","🤹🏽\200d♂️":"1f939-1f3fd-2642","🤹🏾\200d♀️":"1f939-1f3fe-2640","🤹🏾\200d♂️":"1f939-1f3fe-2642","🤹🏿\200d♀️":"1f939-1f3ff-2640","🤹🏿\200d♂️":"1f939-1f3ff-2642","🤽🏻\200d♀️":"1f93d-1f3fb-2640","🤽🏻\200d♂️":"1f93d-1f3fb-2642","🤽🏼\200d♀️":"1f93d-1f3fc-2640","🤽🏼\200d♂️":"1f93d-1f3fc-2642","🤽🏽\200d♀️":"1f93d-1f3fd-2640","🤽🏽\200d♂️":"1f93d-1f3fd-2642","🤽🏾\200d♀️":"1f93d-1f3fe-2640","🤽🏾\200d♂️":"1f93d-1f3fe-2642","🤽🏿\200d♀️":"1f93d-1f3ff-2640","🤽🏿\200d♂️":"1f93d-1f3ff-2642","🤾🏻\200d♀️":"1f93e-1f3fb-2640","🤾🏻\200d♂️":"1f93e-1f3fb-2642","🤾🏼\200d♀️":"1f93e-1f3fc-2640","🤾🏼\200d♂️":"1f93e-1f3fc-2642","🤾🏽\200d♀️":"1f93e-1f3fd-2640","🤾🏽\200d♂️":"1f93e-1f3fd-2642","🤾🏾\200d♀️":"1f93e-1f3fe-2640","🤾🏾\200d♂️":"1f93e-1f3fe-2642","🤾🏿\200d♀️":"1f93e-1f3ff-2640","🤾🏿\200d♂️":"1f93e-1f3ff-2642","💁🏻\200d♀️":"1f481-1f3fb-2640","💁🏻\200d♂️":"1f481-1f3fb-2642","💁🏼\200d♀️":"1f481-1f3fc-2640","💁🏼\200d♂️":"1f481-1f3fc-2642","💁🏽\200d♀️":"1f481-1f3fd-2640","💁🏽\200d♂️":"1f481-1f3fd-2642","💁🏾\200d♀️":"1f481-1f3fe-2640","💁🏾\200d♂️":"1f481-1f3fe-2642","💁🏿\200d♀️":"1f481-1f3ff-2640","💁🏿\200d♂️":"1f481-1f3ff-2642","🙅🏻\200d♀️":"1f645-1f3fb-2640","🙅🏻\200d♂️":"1f645-1f3fb-2642","🙅🏼\200d♀️":"1f645-1f3fc-2640","🙅🏼\200d♂️":"1f645-1f3fc-2642","🙅🏽\200d♀️":"1f645-1f3fd-2640","🙅🏽\200d♂️":"1f645-1f3fd-2642","🙅🏾\200d♀️":"1f645-1f3fe-2640","🙅🏾\200d♂️":"1f645-1f3fe-2642","🙅🏿\200d♀️":"1f645-1f3ff-2640","🙅🏿\200d♂️":"1f645-1f3ff-2642","🙆🏻\200d♀️":"1f646-1f3fb-2640","🙆🏻\200d♂️":"1f646-1f3fb-2642","🙆🏼\200d♀️":"1f646-1f3fc-2640","🙆🏼\200d♂️":"1f646-1f3fc-2642","🙆🏽\200d♀️":"1f646-1f3fd-2640","🙆🏽\200d♂️":"1f646-1f3fd-2642","🙆🏾\200d♀️":"1f646-1f3fe-2640","🙆🏾\200d♂️":"1f646-1f3fe-2642","🙆🏿\200d♀️":"1f646-1f3ff-2640","🙆🏿\200d♂️":"1f646-1f3ff-2642","🙇🏻\200d♀️":"1f647-1f3fb-2640","🙇🏻\200d♂️":"1f647-1f3fb-2642","🙇🏼\200d♀️":"1f647-1f3fc-2640","🙇🏼\200d♂️":"1f647-1f3fc-2642","🙇🏽\200d♀️":"1f647-1f3fd-2640","🙇🏽\200d♂️":"1f647-1f3fd-2642","🙇🏾\200d♀️":"1f647-1f3fe-2640","🙇🏾\200d♂️":"1f647-1f3fe-2642","🙇🏿\200d♀️":"1f647-1f3ff-2640","🙇🏿\200d♂️":"1f647-1f3ff-2642","🙋🏻\200d♀️":"1f64b-1f3fb-2640","🙋🏻\200d♂️":"1f64b-1f3fb-2642","🙋🏼\200d♀️":"1f64b-1f3fc-2640","🙋🏼\200d♂️":"1f64b-1f3fc-2642","🙋🏽\200d♀️":"1f64b-1f3fd-2640","🙋🏽\200d♂️":"1f64b-1f3fd-2642","🙋🏾\200d♀️":"1f64b-1f3fe-2640","🙋🏾\200d♂️":"1f64b-1f3fe-2642","🙋🏿\200d♀️":"1f64b-1f3ff-2640","🙋🏿\200d♂️":"1f64b-1f3ff-2642","🙍🏻\200d♀️":"1f64d-1f3fb-2640","🙍🏻\200d♂️":"1f64d-1f3fb-2642","🙍🏼\200d♀️":"1f64d-1f3fc-2640","🙍🏼\200d♂️":"1f64d-1f3fc-2642","🙍🏽\200d♀️":"1f64d-1f3fd-2640","🙍🏽\200d♂️":"1f64d-1f3fd-2642","🙍🏾\200d♀️":"1f64d-1f3fe-2640","🙍🏾\200d♂️":"1f64d-1f3fe-2642","🙍🏿\200d♀️":"1f64d-1f3ff-2640","🙍🏿\200d♂️":"1f64d-1f3ff-2642","🙎🏻\200d♀️":"1f64e-1f3fb-2640","🙎🏻\200d♂️":"1f64e-1f3fb-2642","🙎🏼\200d♀️":"1f64e-1f3fc-2640","🙎🏼\200d♂️":"1f64e-1f3fc-2642","🙎🏽\200d♀️":"1f64e-1f3fd-2640","🙎🏽\200d♂️":"1f64e-1f3fd-2642","🙎🏾\200d♀️":"1f64e-1f3fe-2640","🙎🏾\200d♂️":"1f64e-1f3fe-2642","🙎🏿\200d♀️":"1f64e-1f3ff-2640","🙎🏿\200d♂️":"1f64e-1f3ff-2642","🤦🏻\200d♀️":"1f926-1f3fb-2640","🤦🏻\200d♂️":"1f926-1f3fb-2642","🤦🏼\200d♀️":"1f926-1f3fc-2640","🤦🏼\200d♂️":"1f926-1f3fc-2642","🤦🏽\200d♀️":"1f926-1f3fd-2640","🤦🏽\200d♂️":"1f926-1f3fd-2642","🤦🏾\200d♀️":"1f926-1f3fe-2640","🤦🏾\200d♂️":"1f926-1f3fe-2642","🤦🏿\200d♀️":"1f926-1f3ff-2640","🤦🏿\200d♂️":"1f926-1f3ff-2642","🤷🏻\200d♀️":"1f937-1f3fb-2640","🤷🏻\200d♂️":"1f937-1f3fb-2642","🤷🏼\200d♀️":"1f937-1f3fc-2640","🤷🏼\200d♂️":"1f937-1f3fc-2642","🤷🏽\200d♀️":"1f937-1f3fd-2640","🤷🏽\200d♂️":"1f937-1f3fd-2642","🤷🏾\200d♀️":"1f937-1f3fe-2640","🤷🏾\200d♂️":"1f937-1f3fe-2642","🤷🏿\200d♀️":"1f937-1f3ff-2640","🤷🏿\200d♂️":"1f937-1f3ff-2642","👁️\200d🗨️":"1f441-1f5e8","🕵🏻\200d♀️":"1f575-1f3fb-2640","🕵🏻\200d♂️":"1f575-1f3fb-2642","🕵🏼\200d♀️":"1f575-1f3fc-2640","🕵🏼\200d♂️":"1f575-1f3fc-2642","🕵🏽\200d♀️":"1f575-1f3fd-2640","🕵🏽\200d♂️":"1f575-1f3fd-2642","🕵🏾\200d♀️":"1f575-1f3fe-2640","🕵🏾\200d♂️":"1f575-1f3fe-2642","🕵🏿\200d♀️":"1f575-1f3ff-2640","🕵🏿\200d♂️":"1f575-1f3ff-2642","🏋🏻\200d♀️":"1f3cb-1f3fb-2640","🏋🏻\200d♂️":"1f3cb-1f3fb-2642","🏋🏼\200d♀️":"1f3cb-1f3fc-2640","🏋🏼\200d♂️":"1f3cb-1f3fc-2642","🏋🏽\200d♀️":"1f3cb-1f3fd-2640","🏋🏽\200d♂️":"1f3cb-1f3fd-2642","🏋🏾\200d♀️":"1f3cb-1f3fe-2640","🏋🏾\200d♂️":"1f3cb-1f3fe-2642","🏋🏿\200d♀️":"1f3cb-1f3ff-2640","🏋🏿\200d♂️":"1f3cb-1f3ff-2642","🏌🏻\200d♀️":"1f3cc-1f3fb-2640","🏌🏻\200d♂️":"1f3cc-1f3fb-2642","🏌🏼\200d♀️":"1f3cc-1f3fc-2640","🏌🏼\200d♂️":"1f3cc-1f3fc-2642","🏌🏽\200d♀️":"1f3cc-1f3fd-2640","🏌🏽\200d♂️":"1f3cc-1f3fd-2642","🏌🏾\200d♀️":"1f3cc-1f3fe-2640","🏌🏾\200d♂️":"1f3cc-1f3fe-2642","🏌🏿\200d♀️":"1f3cc-1f3ff-2640","🏌🏿\200d♂️":"1f3cc-1f3ff-2642","🧙🏻\200d♀️":"1f9d9-1f3fb-2640","🧙🏻\200d♂️":"1f9d9-1f3fb-2642","🧙🏼\200d♀️":"1f9d9-1f3fc-2640","🧙🏼\200d♂️":"1f9d9-1f3fc-2642","🧙🏽\200d♀️":"1f9d9-1f3fd-2640","🧙🏽\200d♂️":"1f9d9-1f3fd-2642","🧙🏾\200d♀️":"1f9d9-1f3fe-2640","🧙🏾\200d♂️":"1f9d9-1f3fe-2642","🧙🏿\200d♀️":"1f9d9-1f3ff-2640","🧙🏿\200d♂️":"1f9d9-1f3ff-2642","🧚🏻\200d♀️":"1f9da-1f3fb-2640","🧚🏻\200d♂️":"1f9da-1f3fb-2642","🧚🏼\200d♀️":"1f9da-1f3fc-2640","🧚🏼\200d♂️":"1f9da-1f3fc-2642","🧚🏽\200d♀️":"1f9da-1f3fd-2640","🧚🏽\200d♂️":"1f9da-1f3fd-2642","🧚🏾\200d♀️":"1f9da-1f3fe-2640","🧚🏾\200d♂️":"1f9da-1f3fe-2642","🧚🏿\200d♀️":"1f9da-1f3ff-2640","🧚🏿\200d♂️":"1f9da-1f3ff-2642","🧛🏻\200d♀️":"1f9db-1f3fb-2640","🧛🏻\200d♂️":"1f9db-1f3fb-2642","🧛🏼\200d♀️":"1f9db-1f3fc-2640","🧛🏼\200d♂️":"1f9db-1f3fc-2642","🧛🏽\200d♀️":"1f9db-1f3fd-2640","🧛🏽\200d♂️":"1f9db-1f3fd-2642","🧛🏾\200d♀️":"1f9db-1f3fe-2640","🧛🏾\200d♂️":"1f9db-1f3fe-2642","🧛🏿\200d♀️":"1f9db-1f3ff-2640","🧛🏿\200d♂️":"1f9db-1f3ff-2642","🧜🏻\200d♀️":"1f9dc-1f3fb-2640","🧜🏻\200d♂️":"1f9dc-1f3fb-2642","🧜🏼\200d♀️":"1f9dc-1f3fc-2640","🧜🏼\200d♂️":"1f9dc-1f3fc-2642","🧜🏽\200d♀️":"1f9dc-1f3fd-2640","🧜🏽\200d♂️":"1f9dc-1f3fd-2642","🧜🏾\200d♀️":"1f9dc-1f3fe-2640","🧜🏾\200d♂️":"1f9dc-1f3fe-2642","🧜🏿\200d♀️":"1f9dc-1f3ff-2640","🧜🏿\200d♂️":"1f9dc-1f3ff-2642","🧝🏻\200d♀️":"1f9dd-1f3fb-2640","🧝🏻\200d♂️":"1f9dd-1f3fb-2642","🧝🏼\200d♀️":"1f9dd-1f3fc-2640","🧝🏼\200d♂️":"1f9dd-1f3fc-2642","🧝🏽\200d♀️":"1f9dd-1f3fd-2640","🧝🏽\200d♂️":"1f9dd-1f3fd-2642","🧝🏾\200d♀️":"1f9dd-1f3fe-2640","🧝🏾\200d♂️":"1f9dd-1f3fe-2642","🧝🏿\200d♀️":"1f9dd-1f3ff-2640","🧝🏿\200d♂️":"1f9dd-1f3ff-2642","🧖🏻\200d♀️":"1f9d6-1f3fb-2640","🧖🏻\200d♂️":"1f9d6-1f3fb-2642","🧖🏼\200d♀️":"1f9d6-1f3fc-2640","🧖🏼\200d♂️":"1f9d6-1f3fc-2642","🧖🏽\200d♀️":"1f9d6-1f3fd-2640","🧖🏽\200d♂️":"1f9d6-1f3fd-2642","🧖🏾\200d♀️":"1f9d6-1f3fe-2640","🧖🏾\200d♂️":"1f9d6-1f3fe-2642","🧖🏿\200d♀️":"1f9d6-1f3ff-2640","🧖🏿\200d♂️":"1f9d6-1f3ff-2642","🧗🏻\200d♀️":"1f9d7-1f3fb-2640","🧗🏻\200d♂️":"1f9d7-1f3fb-2642","🧗🏼\200d♀️":"1f9d7-1f3fc-2640","🧗🏼\200d♂️":"1f9d7-1f3fc-2642","🧗🏽\200d♀️":"1f9d7-1f3fd-2640","🧗🏽\200d♂️":"1f9d7-1f3fd-2642","🧗🏾\200d♀️":"1f9d7-1f3fe-2640","🧗🏾\200d♂️":"1f9d7-1f3fe-2642","🧗🏿\200d♀️":"1f9d7-1f3ff-2640","🧗🏿\200d♂️":"1f9d7-1f3ff-2642","🧘🏻\200d♀️":"1f9d8-1f3fb-2640","🧘🏻\200d♂️":"1f9d8-1f3fb-2642","🧘🏼\200d♀️":"1f9d8-1f3fc-2640","🧘🏼\200d♂️":"1f9d8-1f3fc-2642","🧘🏽\200d♀️":"1f9d8-1f3fd-2640","🧘🏽\200d♂️":"1f9d8-1f3fd-2642","🧘🏾\200d♀️":"1f9d8-1f3fe-2640","🧘🏾\200d♂️":"1f9d8-1f3fe-2642","🧘🏿\200d♀️":"1f9d8-1f3ff-2640","🧘🏿\200d♂️":"1f9d8-1f3ff-2642","🦸🏻\200d♀️":"1f9b8-1f3fb-2640","🦸🏻\200d♂️":"1f9b8-1f3fb-2642","🦸🏼\200d♀️":"1f9b8-1f3fc-2640","🦸🏼\200d♂️":"1f9b8-1f3fc-2642","🦸🏽\200d♀️":"1f9b8-1f3fd-2640","🦸🏽\200d♂️":"1f9b8-1f3fd-2642","🦸🏾\200d♀️":"1f9b8-1f3fe-2640","🦸🏾\200d♂️":"1f9b8-1f3fe-2642","🦸🏿\200d♀️":"1f9b8-1f3ff-2640","🦸🏿\200d♂️":"1f9b8-1f3ff-2642","🦹🏻\200d♀️":"1f9b9-1f3fb-2640","🦹🏻\200d♂️":"1f9b9-1f3fb-2642","🦹🏼\200d♀️":"1f9b9-1f3fc-2640","🦹🏼\200d♂️":"1f9b9-1f3fc-2642","🦹🏽\200d♀️":"1f9b9-1f3fd-2640","🦹🏽\200d♂️":"1f9b9-1f3fd-2642","🦹🏾\200d♀️":"1f9b9-1f3fe-2640","🦹🏾\200d♂️":"1f9b9-1f3fe-2642","🦹🏿\200d♀️":"1f9b9-1f3ff-2640","🦹🏿\200d♂️":"1f9b9-1f3ff-2642","🕵️\200d♀️":"1f575-2640","🕵️\200d♂️":"1f575-2642","⛹️🏻♀️":"26f9-1f3fb-2640","⛹️🏻♂️":"26f9-1f3fb-2642","⛹️🏼♀️":"26f9-1f3fc-2640","⛹️🏼♂️":"26f9-1f3fc-2642","⛹️🏽♀️":"26f9-1f3fd-2640","⛹️🏽♂️":"26f9-1f3fd-2642","⛹️🏾♀️":"26f9-1f3fe-2640","⛹️🏾♂️":"26f9-1f3fe-2642","⛹️🏿♀️":"26f9-1f3ff-2640","⛹️🏿♂️":"26f9-1f3ff-2642","🏋️\200d♀️":"1f3cb-2640","🏋️\200d♂️":"1f3cb-2642","🏌️\200d♀️":"1f3cc-2640","🏌️\200d♂️":"1f3cc-2642","⛹🏻\200d♀️":"26f9-1f3fb-2640","⛹🏻\200d♂️":"26f9-1f3fb-2642","⛹🏼\200d♀️":"26f9-1f3fc-2640","⛹🏼\200d♂️":"26f9-1f3fc-2642","⛹🏽\200d♀️":"26f9-1f3fd-2640","⛹🏽\200d♂️":"26f9-1f3fd-2642","⛹🏾\200d♀️":"26f9-1f3fe-2640","⛹🏾\200d♂️":"26f9-1f3fe-2642","⛹🏿\200d♀️":"26f9-1f3ff-2640","⛹🏿\200d♂️":"26f9-1f3ff-2642","⛹️\200d♀️":"26f9-2640","⛹️\200d♂️":"26f9-2642","👨👨👦👦":"1f468-1f468-1f466-1f466","👨👨👧👦":"1f468-1f468-1f467-1f466","👨👨👧👧":"1f468-1f468-1f467-1f467","👨👩👦👦":"1f468-1f469-1f466-1f466","👨👩👧👦":"1f468-1f469-1f467-1f466","👨👩👧👧":"1f468-1f469-1f467-1f467","👩👩👦👦":"1f469-1f469-1f466-1f466","👩👩👧👦":"1f469-1f469-1f467-1f466","👩👩👧👧":"1f469-1f469-1f467-1f467","👨🏿\200d💻":"1f468-1f3ff-1f4bb","👨🏾\200d💻":"1f468-1f3fe-1f4bb","👨🏽\200d💻":"1f468-1f3fd-1f4bb","👨🏼\200d💻":"1f468-1f3fc-1f4bb","👨🏻\200d💻":"1f468-1f3fb-1f4bb","👩🏿\200d💻":"1f469-1f3ff-1f4bb","👩🏾\200d💻":"1f469-1f3fe-1f4bb","👩🏽\200d💻":"1f469-1f3fd-1f4bb","👩🏼\200d💻":"1f469-1f3fc-1f4bb","👩🏻\200d💻":"1f469-1f3fb-1f4bb","👨🏿\200d🏫":"1f468-1f3ff-1f3eb","👨🏾\200d🏫":"1f468-1f3fe-1f3eb","👨🏽\200d🏫":"1f468-1f3fd-1f3eb","👨🏼\200d🏫":"1f468-1f3fc-1f3eb","👨🏻\200d🏫":"1f468-1f3fb-1f3eb","👩🏿\200d🏫":"1f469-1f3ff-1f3eb","👩🏾\200d🏫":"1f469-1f3fe-1f3eb","👩🏽\200d🏫":"1f469-1f3fd-1f3eb","👩🏼\200d🏫":"1f469-1f3fc-1f3eb","👩🏻\200d🏫":"1f469-1f3fb-1f3eb","👨🏿\200d🎓":"1f468-1f3ff-1f393","👨🏾\200d🎓":"1f468-1f3fe-1f393","👨🏽\200d🎓":"1f468-1f3fd-1f393","👨🏼\200d🎓":"1f468-1f3fc-1f393","👨🏻\200d🎓":"1f468-1f3fb-1f393","👩🏿\200d🎓":"1f469-1f3ff-1f393","👩🏾\200d🎓":"1f469-1f3fe-1f393","👩🏽\200d🎓":"1f469-1f3fd-1f393","👩🏼\200d🎓":"1f469-1f3fc-1f393","👩🏻\200d🎓":"1f469-1f3fb-1f393","👨🏿\200d🎤":"1f468-1f3ff-1f3a4","👨🏾\200d🎤":"1f468-1f3fe-1f3a4","👨🏽\200d🎤":"1f468-1f3fd-1f3a4","👨🏼\200d🎤":"1f468-1f3fc-1f3a4","👨🏻\200d🎤":"1f468-1f3fb-1f3a4","👩🏿\200d🎤":"1f469-1f3ff-1f3a4","👩🏾\200d🎤":"1f469-1f3fe-1f3a4","👩🏽\200d🎤":"1f469-1f3fd-1f3a4","👩🏼\200d🎤":"1f469-1f3fc-1f3a4","👩🏻\200d🎤":"1f469-1f3fb-1f3a4","👨🏿\200d🔬":"1f468-1f3ff-1f52c","👨🏾\200d🔬":"1f468-1f3fe-1f52c","👨🏽\200d🔬":"1f468-1f3fd-1f52c","👨🏼\200d🔬":"1f468-1f3fc-1f52c","👨🏻\200d🔬":"1f468-1f3fb-1f52c","👩🏿\200d🔬":"1f469-1f3ff-1f52c","👩🏾\200d🔬":"1f469-1f3fe-1f52c","👩🏽\200d🔬":"1f469-1f3fd-1f52c","👩🏼\200d🔬":"1f469-1f3fc-1f52c","👩🏻\200d🔬":"1f469-1f3fb-1f52c","👨🏿\200d💼":"1f468-1f3ff-1f4bc","👨🏾\200d💼":"1f468-1f3fe-1f4bc","👨🏽\200d💼":"1f468-1f3fd-1f4bc","👨🏼\200d💼":"1f468-1f3fc-1f4bc","👨🏻\200d💼":"1f468-1f3fb-1f4bc","👩🏿\200d💼":"1f469-1f3ff-1f4bc","👩🏾\200d💼":"1f469-1f3fe-1f4bc","👩🏽\200d💼":"1f469-1f3fd-1f4bc","👩🏼\200d💼":"1f469-1f3fc-1f4bc","👩🏻\200d💼":"1f469-1f3fb-1f4bc","👨🏿\200d🔧":"1f468-1f3ff-1f527","👨🏾\200d🔧":"1f468-1f3fe-1f527","👨🏽\200d🔧":"1f468-1f3fd-1f527","👨🏼\200d🔧":"1f468-1f3fc-1f527","👨🏻\200d🔧":"1f468-1f3fb-1f527","👩🏿\200d🔧":"1f469-1f3ff-1f527","👩🏾\200d🔧":"1f469-1f3fe-1f527","👩🏽\200d🔧":"1f469-1f3fd-1f527","👩🏼\200d🔧":"1f469-1f3fc-1f527","👩🏻\200d🔧":"1f469-1f3fb-1f527","👨🏿\200d🏭":"1f468-1f3ff-1f3ed","👨🏾\200d🏭":"1f468-1f3fe-1f3ed","👨🏽\200d🏭":"1f468-1f3fd-1f3ed","👨🏼\200d🏭":"1f468-1f3fc-1f3ed","👨🏻\200d🏭":"1f468-1f3fb-1f3ed","👩🏿\200d🏭":"1f469-1f3ff-1f3ed","👩🏾\200d🏭":"1f469-1f3fe-1f3ed","👩🏽\200d🏭":"1f469-1f3fd-1f3ed","👩🏼\200d🏭":"1f469-1f3fc-1f3ed","👩🏻\200d🏭":"1f469-1f3fb-1f3ed","👨🏿\200d🍳":"1f468-1f3ff-1f373","👨🏾\200d🍳":"1f468-1f3fe-1f373","👨🏽\200d🍳":"1f468-1f3fd-1f373","👨🏼\200d🍳":"1f468-1f3fc-1f373","👨🏻\200d🍳":"1f468-1f3fb-1f373","👩🏿\200d🍳":"1f469-1f3ff-1f373","👩🏾\200d🍳":"1f469-1f3fe-1f373","👩🏽\200d🍳":"1f469-1f3fd-1f373","👩🏼\200d🍳":"1f469-1f3fc-1f373","👩🏻\200d🍳":"1f469-1f3fb-1f373","👨🏿\200d🌾":"1f468-1f3ff-1f33e","👨🏾\200d🌾":"1f468-1f3fe-1f33e","👨🏽\200d🌾":"1f468-1f3fd-1f33e","👨🏼\200d🌾":"1f468-1f3fc-1f33e","👨🏻\200d🌾":"1f468-1f3fb-1f33e","👩🏿\200d🌾":"1f469-1f3ff-1f33e","👩🏾\200d🌾":"1f469-1f3fe-1f33e","👩🏽\200d🌾":"1f469-1f3fd-1f33e","👩🏼\200d🌾":"1f469-1f3fc-1f33e","👩🏻\200d🌾":"1f469-1f3fb-1f33e","👨🏻\200d🎨":"1f468-1f3fb-1f3a8","👨🏼\200d🎨":"1f468-1f3fc-1f3a8","👨🏽\200d🎨":"1f468-1f3fd-1f3a8","👨🏾\200d🎨":"1f468-1f3fe-1f3a8","👨🏿\200d🎨":"1f468-1f3ff-1f3a8","👩🏻\200d🎨":"1f469-1f3fb-1f3a8","👩🏼\200d🎨":"1f469-1f3fc-1f3a8","👩🏽\200d🎨":"1f469-1f3fd-1f3a8","👩🏾\200d🎨":"1f469-1f3fe-1f3a8","👩🏿\200d🎨":"1f469-1f3ff-1f3a8","👨🏻\200d🚀":"1f468-1f3fb-1f680","👨🏼\200d🚀":"1f468-1f3fc-1f680","👨🏽\200d🚀":"1f468-1f3fd-1f680","👨🏾\200d🚀":"1f468-1f3fe-1f680","👨🏿\200d🚀":"1f468-1f3ff-1f680","👩🏻\200d🚀":"1f469-1f3fb-1f680","👩🏼\200d🚀":"1f469-1f3fc-1f680","👩🏽\200d🚀":"1f469-1f3fd-1f680","👩🏾\200d🚀":"1f469-1f3fe-1f680","👩🏿\200d🚀":"1f469-1f3ff-1f680","👨🏻\200d🚒":"1f468-1f3fb-1f692","👨🏼\200d🚒":"1f468-1f3fc-1f692","👨🏽\200d🚒":"1f468-1f3fd-1f692","👨🏾\200d🚒":"1f468-1f3fe-1f692","👨🏿\200d🚒":"1f468-1f3ff-1f692","👩🏻\200d🚒":"1f469-1f3fb-1f692","👩🏼\200d🚒":"1f469-1f3fc-1f692","👩🏽\200d🚒":"1f469-1f3fd-1f692","👩🏾\200d🚒":"1f469-1f3fe-1f692","👩🏿\200d🚒":"1f469-1f3ff-1f692","👨🏻\200d🦰":"1f468-1f3fb-1f9b0","👨🏻\200d🦱":"1f468-1f3fb-1f9b1","👨🏻\200d🦲":"1f468-1f3fb-1f9b2","👨🏻\200d🦳":"1f468-1f3fb-1f9b3","👨🏼\200d🦰":"1f468-1f3fc-1f9b0","👨🏼\200d🦱":"1f468-1f3fc-1f9b1","👨🏼\200d🦲":"1f468-1f3fc-1f9b2","👨🏼\200d🦳":"1f468-1f3fc-1f9b3","👨🏽\200d🦰":"1f468-1f3fd-1f9b0","👨🏽\200d🦱":"1f468-1f3fd-1f9b1","👨🏽\200d🦲":"1f468-1f3fd-1f9b2","👨🏽\200d🦳":"1f468-1f3fd-1f9b3","👨🏾\200d🦰":"1f468-1f3fe-1f9b0","👨🏾\200d🦱":"1f468-1f3fe-1f9b1","👨🏾\200d🦲":"1f468-1f3fe-1f9b2","👨🏾\200d🦳":"1f468-1f3fe-1f9b3","👨🏿\200d🦰":"1f468-1f3ff-1f9b0","👨🏿\200d🦱":"1f468-1f3ff-1f9b1","👨🏿\200d🦲":"1f468-1f3ff-1f9b2","👨🏿\200d🦳":"1f468-1f3ff-1f9b3","👩🏻\200d🦰":"1f469-1f3fb-1f9b0","👩🏻\200d🦱":"1f469-1f3fb-1f9b1","👩🏻\200d🦲":"1f469-1f3fb-1f9b2","👩🏻\200d🦳":"1f469-1f3fb-1f9b3","👩🏼\200d🦰":"1f469-1f3fc-1f9b0","👩🏼\200d🦱":"1f469-1f3fc-1f9b1","👩🏼\200d🦲":"1f469-1f3fc-1f9b2","👩🏼\200d🦳":"1f469-1f3fc-1f9b3","👩🏽\200d🦰":"1f469-1f3fd-1f9b0","👩🏽\200d🦱":"1f469-1f3fd-1f9b1","👩🏽\200d🦲":"1f469-1f3fd-1f9b2","👩🏽\200d🦳":"1f469-1f3fd-1f9b3","👩🏾\200d🦰":"1f469-1f3fe-1f9b0","👩🏾\200d🦱":"1f469-1f3fe-1f9b1","👩🏾\200d🦲":"1f469-1f3fe-1f9b2","👩🏾\200d🦳":"1f469-1f3fe-1f9b3","👩🏿\200d🦰":"1f469-1f3ff-1f9b0","👩🏿\200d🦱":"1f469-1f3ff-1f9b1","👩🏿\200d🦲":"1f469-1f3ff-1f9b2","👩🏿\200d🦳":"1f469-1f3ff-1f9b3","🏳️\200d🌈":"1f3f3-1f308","🏌🏻\200d♂":"1f3cc-1f3fb-2642","🏌🏼\200d♂":"1f3cc-1f3fc-2642","🏌🏽\200d♂":"1f3cc-1f3fd-2642","🏌🏾\200d♂":"1f3cc-1f3fe-2642","🏌🏿\200d♂":"1f3cc-1f3ff-2642","🏌🏻\200d♀":"1f3cc-1f3fb-2640","🏌🏼\200d♀":"1f3cc-1f3fc-2640","🏌🏽\200d♀":"1f3cc-1f3fd-2640","🏌🏾\200d♀":"1f3cc-1f3fe-2640","🏌🏿\200d♀":"1f3cc-1f3ff-2640","🤹🏿\200d♂":"1f939-1f3ff-2642","🤹🏾\200d♂":"1f939-1f3fe-2642","🤹🏽\200d♂":"1f939-1f3fd-2642","🤹🏼\200d♂":"1f939-1f3fc-2642","🤹🏻\200d♂":"1f939-1f3fb-2642","🤹🏿\200d♀":"1f939-1f3ff-2640","🤹🏾\200d♀":"1f939-1f3fe-2640","🤹🏽\200d♀":"1f939-1f3fd-2640","🤹🏼\200d♀":"1f939-1f3fc-2640","🤹🏻\200d♀":"1f939-1f3fb-2640","🤾🏿\200d♂":"1f93e-1f3ff-2642","🤾🏾\200d♂":"1f93e-1f3fe-2642","🤾🏽\200d♂":"1f93e-1f3fd-2642","🤾🏼\200d♂":"1f93e-1f3fc-2642","🤾🏻\200d♂":"1f93e-1f3fb-2642","🤾🏿\200d♀":"1f93e-1f3ff-2640","🤾🏾\200d♀":"1f93e-1f3fe-2640","🤾🏽\200d♀":"1f93e-1f3fd-2640","🤾🏼\200d♀":"1f93e-1f3fc-2640","🤾🏻\200d♀":"1f93e-1f3fb-2640","🤽🏿\200d♂":"1f93d-1f3ff-2642","🤽🏾\200d♂":"1f93d-1f3fe-2642","🤽🏽\200d♂":"1f93d-1f3fd-2642","🤽🏼\200d♂":"1f93d-1f3fc-2642","🤽🏻\200d♂":"1f93d-1f3fb-2642","🤽🏿\200d♀":"1f93d-1f3ff-2640","🤽🏾\200d♀":"1f93d-1f3fe-2640","🤽🏽\200d♀":"1f93d-1f3fd-2640","🤽🏼\200d♀":"1f93d-1f3fc-2640","🤽🏻\200d♀":"1f93d-1f3fb-2640","🤸🏿\200d♂":"1f938-1f3ff-2642","🤸🏾\200d♂":"1f938-1f3fe-2642","🤸🏽\200d♂":"1f938-1f3fd-2642","🤸🏼\200d♂":"1f938-1f3fc-2642","🤸🏻\200d♂":"1f938-1f3fb-2642","🤸🏿\200d♀":"1f938-1f3ff-2640","🤸🏾\200d♀":"1f938-1f3fe-2640","🤸🏽\200d♀":"1f938-1f3fd-2640","🤸🏼\200d♀":"1f938-1f3fc-2640","🤸🏻\200d♀":"1f938-1f3fb-2640","🚶🏿\200d♂":"1f6b6-1f3ff-2642","🚶🏾\200d♂":"1f6b6-1f3fe-2642","🚶🏽\200d♂":"1f6b6-1f3fd-2642","🚶🏼\200d♂":"1f6b6-1f3fc-2642","🚶🏻\200d♂":"1f6b6-1f3fb-2642","🚶🏿\200d♀":"1f6b6-1f3ff-2640","🚶🏾\200d♀":"1f6b6-1f3fe-2640","🚶🏽\200d♀":"1f6b6-1f3fd-2640","🚶🏼\200d♀":"1f6b6-1f3fc-2640","🚶🏻\200d♀":"1f6b6-1f3fb-2640","🚵🏿\200d♂":"1f6b5-1f3ff-2642","🚵🏾\200d♂":"1f6b5-1f3fe-2642","🚵🏽\200d♂":"1f6b5-1f3fd-2642","🚵🏼\200d♂":"1f6b5-1f3fc-2642","🚵🏻\200d♂":"1f6b5-1f3fb-2642","🚵🏿\200d♀":"1f6b5-1f3ff-2640","🚵🏾\200d♀":"1f6b5-1f3fe-2640","🚵🏽\200d♀":"1f6b5-1f3fd-2640","🚵🏼\200d♀":"1f6b5-1f3fc-2640","🚵🏻\200d♀":"1f6b5-1f3fb-2640","🚴🏿\200d♂":"1f6b4-1f3ff-2642","🚴🏾\200d♂":"1f6b4-1f3fe-2642","🚴🏽\200d♂":"1f6b4-1f3fd-2642","🚴🏼\200d♂":"1f6b4-1f3fc-2642","🚴🏻\200d♂":"1f6b4-1f3fb-2642","🚴🏿\200d♀":"1f6b4-1f3ff-2640","🚴🏾\200d♀":"1f6b4-1f3fe-2640","🚴🏽\200d♀":"1f6b4-1f3fd-2640","🚴🏼\200d♀":"1f6b4-1f3fc-2640","🚴🏻\200d♀":"1f6b4-1f3fb-2640","🚣🏿\200d♂":"1f6a3-1f3ff-2642","🚣🏾\200d♂":"1f6a3-1f3fe-2642","🚣🏽\200d♂":"1f6a3-1f3fd-2642","🚣🏼\200d♂":"1f6a3-1f3fc-2642","🚣🏻\200d♂":"1f6a3-1f3fb-2642","🚣🏿\200d♀":"1f6a3-1f3ff-2640","🚣🏾\200d♀":"1f6a3-1f3fe-2640","🚣🏽\200d♀":"1f6a3-1f3fd-2640","🚣🏼\200d♀":"1f6a3-1f3fc-2640","🚣🏻\200d♀":"1f6a3-1f3fb-2640","🏋🏿\200d♂":"1f3cb-1f3ff-2642","🏋🏾\200d♂":"1f3cb-1f3fe-2642","🏋🏽\200d♂":"1f3cb-1f3fd-2642","🏋🏼\200d♂":"1f3cb-1f3fc-2642","🏋🏻\200d♂":"1f3cb-1f3fb-2642","🏋🏿\200d♀":"1f3cb-1f3ff-2640","🏋🏾\200d♀":"1f3cb-1f3fe-2640","🏋🏽\200d♀":"1f3cb-1f3fd-2640","🏋🏼\200d♀":"1f3cb-1f3fc-2640","🏋🏻\200d♀":"1f3cb-1f3fb-2640","🏊🏿\200d♂":"1f3ca-1f3ff-2642","🏊🏾\200d♂":"1f3ca-1f3fe-2642","🏊🏽\200d♂":"1f3ca-1f3fd-2642","🏊🏼\200d♂":"1f3ca-1f3fc-2642","🏊🏻\200d♂":"1f3ca-1f3fb-2642","🏊🏿\200d♀":"1f3ca-1f3ff-2640","🏊🏾\200d♀":"1f3ca-1f3fe-2640","🏊🏽\200d♀":"1f3ca-1f3fd-2640","🏊🏼\200d♀":"1f3ca-1f3fc-2640","🏊🏻\200d♀":"1f3ca-1f3fb-2640","🏄🏿\200d♂":"1f3c4-1f3ff-2642","🏄🏾\200d♂":"1f3c4-1f3fe-2642","🏄🏽\200d♂":"1f3c4-1f3fd-2642","🏄🏼\200d♂":"1f3c4-1f3fc-2642","🏄🏻\200d♂":"1f3c4-1f3fb-2642","🏄🏿\200d♀":"1f3c4-1f3ff-2640","🏄🏾\200d♀":"1f3c4-1f3fe-2640","🏄🏽\200d♀":"1f3c4-1f3fd-2640","🏄🏼\200d♀":"1f3c4-1f3fc-2640","🏄🏻\200d♀":"1f3c4-1f3fb-2640","🏃🏿\200d♂":"1f3c3-1f3ff-2642","🏃🏾\200d♂":"1f3c3-1f3fe-2642","🏃🏽\200d♂":"1f3c3-1f3fd-2642","🏃🏼\200d♂":"1f3c3-1f3fc-2642","🏃🏻\200d♂":"1f3c3-1f3fb-2642","🏃🏿\200d♀":"1f3c3-1f3ff-2640","🏃🏾\200d♀":"1f3c3-1f3fe-2640","🏃🏽\200d♀":"1f3c3-1f3fd-2640","🏃🏼\200d♀":"1f3c3-1f3fc-2640","🏃🏻\200d♀":"1f3c3-1f3fb-2640","🤷🏿\200d♂":"1f937-1f3ff-2642","🤷🏾\200d♂":"1f937-1f3fe-2642","🤷🏽\200d♂":"1f937-1f3fd-2642","🤷🏼\200d♂":"1f937-1f3fc-2642","🤷🏻\200d♂":"1f937-1f3fb-2642","🤷🏿\200d♀":"1f937-1f3ff-2640","🤷🏾\200d♀":"1f937-1f3fe-2640","🤷🏽\200d♀":"1f937-1f3fd-2640","🤷🏼\200d♀":"1f937-1f3fc-2640","🤷🏻\200d♀":"1f937-1f3fb-2640","🤦🏿\200d♂":"1f926-1f3ff-2642","🤦🏾\200d♂":"1f926-1f3fe-2642","🤦🏽\200d♂":"1f926-1f3fd-2642","🤦🏼\200d♂":"1f926-1f3fc-2642","🤦🏻\200d♂":"1f926-1f3fb-2642","🤦🏿\200d♀":"1f926-1f3ff-2640","🤦🏾\200d♀":"1f926-1f3fe-2640","🤦🏽\200d♀":"1f926-1f3fd-2640","🤦🏼\200d♀":"1f926-1f3fc-2640","🤦🏻\200d♀":"1f926-1f3fb-2640","🙎🏿\200d♂":"1f64e-1f3ff-2642","🙎🏾\200d♂":"1f64e-1f3fe-2642","🙎🏽\200d♂":"1f64e-1f3fd-2642","🙎🏼\200d♂":"1f64e-1f3fc-2642","🙎🏻\200d♂":"1f64e-1f3fb-2642","🙎🏿\200d♀":"1f64e-1f3ff-2640","🙎🏾\200d♀":"1f64e-1f3fe-2640","🙎🏽\200d♀":"1f64e-1f3fd-2640","🙎🏼\200d♀":"1f64e-1f3fc-2640","🙎🏻\200d♀":"1f64e-1f3fb-2640","🙍🏿\200d♂":"1f64d-1f3ff-2642","🙍🏾\200d♂":"1f64d-1f3fe-2642","🙍🏽\200d♂":"1f64d-1f3fd-2642","🙍🏼\200d♂":"1f64d-1f3fc-2642","🙍🏻\200d♂":"1f64d-1f3fb-2642","🙍🏿\200d♀":"1f64d-1f3ff-2640","🙍🏾\200d♀":"1f64d-1f3fe-2640","🙍🏽\200d♀":"1f64d-1f3fd-2640","🙍🏼\200d♀":"1f64d-1f3fc-2640","🙍🏻\200d♀":"1f64d-1f3fb-2640","🙋🏿\200d♂":"1f64b-1f3ff-2642","🙋🏾\200d♂":"1f64b-1f3fe-2642","🙋🏽\200d♂":"1f64b-1f3fd-2642","🙋🏼\200d♂":"1f64b-1f3fc-2642","🙋🏻\200d♂":"1f64b-1f3fb-2642","🙋🏿\200d♀":"1f64b-1f3ff-2640","🙋🏾\200d♀":"1f64b-1f3fe-2640","🙋🏽\200d♀":"1f64b-1f3fd-2640","🙋🏼\200d♀":"1f64b-1f3fc-2640","🙋🏻\200d♀":"1f64b-1f3fb-2640","🙇🏿\200d♂":"1f647-1f3ff-2642","🙇🏾\200d♂":"1f647-1f3fe-2642","🙇🏽\200d♂":"1f647-1f3fd-2642","🙇🏼\200d♂":"1f647-1f3fc-2642","🙇🏻\200d♂":"1f647-1f3fb-2642","🙇🏿\200d♀":"1f647-1f3ff-2640","🙇🏾\200d♀":"1f647-1f3fe-2640","🙇🏽\200d♀":"1f647-1f3fd-2640","🙇🏼\200d♀":"1f647-1f3fc-2640","🙇🏻\200d♀":"1f647-1f3fb-2640","🙆🏿\200d♂":"1f646-1f3ff-2642","🙆🏾\200d♂":"1f646-1f3fe-2642","🙆🏽\200d♂":"1f646-1f3fd-2642","🙆🏼\200d♂":"1f646-1f3fc-2642","🙆🏻\200d♂":"1f646-1f3fb-2642","🙆🏿\200d♀":"1f646-1f3ff-2640","🙆🏾\200d♀":"1f646-1f3fe-2640","🙆🏽\200d♀":"1f646-1f3fd-2640","🙆🏼\200d♀":"1f646-1f3fc-2640","🙆🏻\200d♀":"1f646-1f3fb-2640","🙅🏿\200d♂":"1f645-1f3ff-2642","🙅🏾\200d♂":"1f645-1f3fe-2642","🙅🏽\200d♂":"1f645-1f3fd-2642","🙅🏼\200d♂":"1f645-1f3fc-2642","🙅🏻\200d♂":"1f645-1f3fb-2642","🙅🏿\200d♀":"1f645-1f3ff-2640","🙅🏾\200d♀":"1f645-1f3fe-2640","🙅🏽\200d♀":"1f645-1f3fd-2640","🙅🏼\200d♀":"1f645-1f3fc-2640","🙅🏻\200d♀":"1f645-1f3fb-2640","💇🏿\200d♂":"1f487-1f3ff-2642","💇🏾\200d♂":"1f487-1f3fe-2642","💇🏽\200d♂":"1f487-1f3fd-2642","💇🏼\200d♂":"1f487-1f3fc-2642","💇🏻\200d♂":"1f487-1f3fb-2642","💇🏿\200d♀":"1f487-1f3ff-2640","💇🏾\200d♀":"1f487-1f3fe-2640","💇🏽\200d♀":"1f487-1f3fd-2640","💇🏼\200d♀":"1f487-1f3fc-2640","💇🏻\200d♀":"1f487-1f3fb-2640","💆🏿\200d♂":"1f486-1f3ff-2642","💆🏾\200d♂":"1f486-1f3fe-2642","💆🏽\200d♂":"1f486-1f3fd-2642","💆🏼\200d♂":"1f486-1f3fc-2642","💆🏻\200d♂":"1f486-1f3fb-2642","💆🏿\200d♀":"1f486-1f3ff-2640","💆🏾\200d♀":"1f486-1f3fe-2640","💆🏽\200d♀":"1f486-1f3fd-2640","💆🏼\200d♀":"1f486-1f3fc-2640","💆🏻\200d♀":"1f486-1f3fb-2640","💁🏿\200d♂":"1f481-1f3ff-2642","💁🏾\200d♂":"1f481-1f3fe-2642","💁🏽\200d♂":"1f481-1f3fd-2642","💁🏼\200d♂":"1f481-1f3fc-2642","💁🏻\200d♂":"1f481-1f3fb-2642","💁🏿\200d♀":"1f481-1f3ff-2640","💁🏾\200d♀":"1f481-1f3fe-2640","💁🏽\200d♀":"1f481-1f3fd-2640","💁🏼\200d♀":"1f481-1f3fc-2640","💁🏻\200d♀":"1f481-1f3fb-2640","👱🏿\200d♂":"1f471-1f3ff-2642","👱🏾\200d♂":"1f471-1f3fe-2642","👱🏽\200d♂":"1f471-1f3fd-2642","👱🏼\200d♂":"1f471-1f3fc-2642","👱🏻\200d♂":"1f471-1f3fb-2642","👱🏿\200d♀":"1f471-1f3ff-2640","👱🏾\200d♀":"1f471-1f3fe-2640","👱🏽\200d♀":"1f471-1f3fd-2640","👱🏼\200d♀":"1f471-1f3fc-2640","👱🏻\200d♀":"1f471-1f3fb-2640","👳🏿\200d♂":"1f473-1f3ff-2642","👳🏾\200d♂":"1f473-1f3fe-2642","👳🏽\200d♂":"1f473-1f3fd-2642","👳🏼\200d♂":"1f473-1f3fc-2642","👳🏻\200d♂":"1f473-1f3fb-2642","👳🏿\200d♀":"1f473-1f3ff-2640","👳🏾\200d♀":"1f473-1f3fe-2640","👳🏽\200d♀":"1f473-1f3fd-2640","👳🏼\200d♀":"1f473-1f3fc-2640","👳🏻\200d♀":"1f473-1f3fb-2640","💂🏿\200d♂":"1f482-1f3ff-2642","💂🏾\200d♂":"1f482-1f3fe-2642","💂🏽\200d♂":"1f482-1f3fd-2642","💂🏼\200d♂":"1f482-1f3fc-2642","💂🏻\200d♂":"1f482-1f3fb-2642","💂🏿\200d♀":"1f482-1f3ff-2640","💂🏾\200d♀":"1f482-1f3fe-2640","💂🏽\200d♀":"1f482-1f3fd-2640","💂🏼\200d♀":"1f482-1f3fc-2640","💂🏻\200d♀":"1f482-1f3fb-2640","🕵🏿\200d♂":"1f575-1f3ff-2642","🕵🏾\200d♂":"1f575-1f3fe-2642","🕵🏽\200d♂":"1f575-1f3fd-2642","🕵🏼\200d♂":"1f575-1f3fc-2642","🕵🏻\200d♂":"1f575-1f3fb-2642","🕵🏿\200d♀":"1f575-1f3ff-2640","🕵🏾\200d♀":"1f575-1f3fe-2640","🕵🏽\200d♀":"1f575-1f3fd-2640","🕵🏼\200d♀":"1f575-1f3fc-2640","🕵🏻\200d♀":"1f575-1f3fb-2640","👷🏿\200d♂":"1f477-1f3ff-2642","👷🏾\200d♂":"1f477-1f3fe-2642","👷🏽\200d♂":"1f477-1f3fd-2642","👷🏼\200d♂":"1f477-1f3fc-2642","👷🏻\200d♂":"1f477-1f3fb-2642","👷🏿\200d♀":"1f477-1f3ff-2640","👷🏾\200d♀":"1f477-1f3fe-2640","👷🏽\200d♀":"1f477-1f3fd-2640","👷🏼\200d♀":"1f477-1f3fc-2640","👷🏻\200d♀":"1f477-1f3fb-2640","👮🏿\200d♂":"1f46e-1f3ff-2642","👮🏾\200d♂":"1f46e-1f3fe-2642","👮🏽\200d♂":"1f46e-1f3fd-2642","👮🏼\200d♂":"1f46e-1f3fc-2642","👮🏻\200d♂":"1f46e-1f3fb-2642","👮🏿\200d♀":"1f46e-1f3ff-2640","👮🏾\200d♀":"1f46e-1f3fe-2640","👮🏽\200d♀":"1f46e-1f3fd-2640","👮🏼\200d♀":"1f46e-1f3fc-2640","👮🏻\200d♀":"1f46e-1f3fb-2640","👨🏿\200d⚕":"1f468-1f3ff-2695","👨🏾\200d⚕":"1f468-1f3fe-2695","👨🏽\200d⚕":"1f468-1f3fd-2695","👨🏼\200d⚕":"1f468-1f3fc-2695","👨🏻\200d⚕":"1f468-1f3fb-2695","👩🏿\200d⚕":"1f469-1f3ff-2695","👩🏾\200d⚕":"1f469-1f3fe-2695","👩🏽\200d⚕":"1f469-1f3fd-2695","👩🏼\200d⚕":"1f469-1f3fc-2695","👩🏻\200d⚕":"1f469-1f3fb-2695","👨🏻\200d⚖":"1f468-1f3fb-2696","👨🏼\200d⚖":"1f468-1f3fc-2696","👨🏽\200d⚖":"1f468-1f3fd-2696","👨🏾\200d⚖":"1f468-1f3fe-2696","👨🏿\200d⚖":"1f468-1f3ff-2696","👩🏻\200d⚖":"1f469-1f3fb-2696","👩🏼\200d⚖":"1f469-1f3fc-2696","👩🏽\200d⚖":"1f469-1f3fd-2696","👩🏾\200d⚖":"1f469-1f3fe-2696","👩🏿\200d⚖":"1f469-1f3ff-2696","👨🏻\200d✈":"1f468-1f3fb-2708","👨🏼\200d✈":"1f468-1f3fc-2708","👨🏽\200d✈":"1f468-1f3fd-2708","👨🏾\200d✈":"1f468-1f3fe-2708","👨🏿\200d✈":"1f468-1f3ff-2708","👩🏻\200d✈":"1f469-1f3fb-2708","👩🏼\200d✈":"1f469-1f3fc-2708","👩🏽\200d✈":"1f469-1f3fd-2708","👩🏾\200d✈":"1f469-1f3fe-2708","👩🏿\200d✈":"1f469-1f3ff-2708","👨❤️👨":"1f468-2764-1f468","👩❤️👨":"1f469-2764-1f468","👩❤️👩":"1f469-2764-1f469","👨🏻⚕️":"1f468-1f3fb-2695","👨🏻⚖️":"1f468-1f3fb-2696","👨🏻✈️":"1f468-1f3fb-2708","👨🏼⚕️":"1f468-1f3fc-2695","👨🏼⚖️":"1f468-1f3fc-2696","👨🏼✈️":"1f468-1f3fc-2708","👨🏽⚕️":"1f468-1f3fd-2695","👨🏽⚖️":"1f468-1f3fd-2696","👨🏽✈️":"1f468-1f3fd-2708","👨🏾⚕️":"1f468-1f3fe-2695","👨🏾⚖️":"1f468-1f3fe-2696","👨🏾✈️":"1f468-1f3fe-2708","👨🏿⚕️":"1f468-1f3ff-2695","👨🏿⚖️":"1f468-1f3ff-2696","👨🏿✈️":"1f468-1f3ff-2708","👩🏻⚕️":"1f469-1f3fb-2695","👩🏻⚖️":"1f469-1f3fb-2696","👩🏻✈️":"1f469-1f3fb-2708","👩🏼⚕️":"1f469-1f3fc-2695","👩🏼⚖️":"1f469-1f3fc-2696","👩🏼✈️":"1f469-1f3fc-2708","👩🏽⚕️":"1f469-1f3fd-2695","👩🏽⚖️":"1f469-1f3fd-2696","👩🏽✈️":"1f469-1f3fd-2708","👩🏾⚕️":"1f469-1f3fe-2695","👩🏾⚖️":"1f469-1f3fe-2696","👩🏾✈️":"1f469-1f3fe-2708","👩🏿⚕️":"1f469-1f3ff-2695","👩🏿⚖️":"1f469-1f3ff-2696","👩🏿✈️":"1f469-1f3ff-2708","👮🏻♀️":"1f46e-1f3fb-2640","👮🏻♂️":"1f46e-1f3fb-2642","👮🏼♀️":"1f46e-1f3fc-2640","👮🏼♂️":"1f46e-1f3fc-2642","👮🏽♀️":"1f46e-1f3fd-2640","👮🏽♂️":"1f46e-1f3fd-2642","👮🏾♀️":"1f46e-1f3fe-2640","👮🏾♂️":"1f46e-1f3fe-2642","👮🏿♀️":"1f46e-1f3ff-2640","👮🏿♂️":"1f46e-1f3ff-2642","👱🏻♀️":"1f471-1f3fb-2640","👱🏻♂️":"1f471-1f3fb-2642","👱🏼♀️":"1f471-1f3fc-2640","👱🏼♂️":"1f471-1f3fc-2642","👱🏽♀️":"1f471-1f3fd-2640","👱🏽♂️":"1f471-1f3fd-2642","👱🏾♀️":"1f471-1f3fe-2640","👱🏾♂️":"1f471-1f3fe-2642","👱🏿♀️":"1f471-1f3ff-2640","👱🏿♂️":"1f471-1f3ff-2642","👳🏻♀️":"1f473-1f3fb-2640","👳🏻♂️":"1f473-1f3fb-2642","👳🏼♀️":"1f473-1f3fc-2640","👳🏼♂️":"1f473-1f3fc-2642","👳🏽♀️":"1f473-1f3fd-2640","👳🏽♂️":"1f473-1f3fd-2642","👳🏾♀️":"1f473-1f3fe-2640","👳🏾♂️":"1f473-1f3fe-2642","👳🏿♀️":"1f473-1f3ff-2640","👳🏿♂️":"1f473-1f3ff-2642","👷🏻♀️":"1f477-1f3fb-2640","👷🏻♂️":"1f477-1f3fb-2642","👷🏼♀️":"1f477-1f3fc-2640","👷🏼♂️":"1f477-1f3fc-2642","👷🏽♀️":"1f477-1f3fd-2640","👷🏽♂️":"1f477-1f3fd-2642","👷🏾♀️":"1f477-1f3fe-2640","👷🏾♂️":"1f477-1f3fe-2642","👷🏿♀️":"1f477-1f3ff-2640","👷🏿♂️":"1f477-1f3ff-2642","💂🏻♀️":"1f482-1f3fb-2640","💂🏻♂️":"1f482-1f3fb-2642","💂🏼♀️":"1f482-1f3fc-2640","💂🏼♂️":"1f482-1f3fc-2642","💂🏽♀️":"1f482-1f3fd-2640","💂🏽♂️":"1f482-1f3fd-2642","💂🏾♀️":"1f482-1f3fe-2640","💂🏾♂️":"1f482-1f3fe-2642","💂🏿♀️":"1f482-1f3ff-2640","💂🏿♂️":"1f482-1f3ff-2642","🏃🏻♀️":"1f3c3-1f3fb-2640","🏃🏻♂️":"1f3c3-1f3fb-2642","🏃🏼♀️":"1f3c3-1f3fc-2640","🏃🏼♂️":"1f3c3-1f3fc-2642","🏃🏽♀️":"1f3c3-1f3fd-2640","🏃🏽♂️":"1f3c3-1f3fd-2642","🏃🏾♀️":"1f3c3-1f3fe-2640","🏃🏾♂️":"1f3c3-1f3fe-2642","🏃🏿♀️":"1f3c3-1f3ff-2640","🏃🏿♂️":"1f3c3-1f3ff-2642","🏄🏻♀️":"1f3c4-1f3fb-2640","🏄🏻♂️":"1f3c4-1f3fb-2642","🏄🏼♀️":"1f3c4-1f3fc-2640","🏄🏼♂️":"1f3c4-1f3fc-2642","🏄🏽♀️":"1f3c4-1f3fd-2640","🏄🏽♂️":"1f3c4-1f3fd-2642","🏄🏾♀️":"1f3c4-1f3fe-2640","🏄🏾♂️":"1f3c4-1f3fe-2642","🏄🏿♀️":"1f3c4-1f3ff-2640","🏄🏿♂️":"1f3c4-1f3ff-2642","🏊🏻♀️":"1f3ca-1f3fb-2640","🏊🏻♂️":"1f3ca-1f3fb-2642","🏊🏼♀️":"1f3ca-1f3fc-2640","🏊🏼♂️":"1f3ca-1f3fc-2642","🏊🏽♀️":"1f3ca-1f3fd-2640","🏊🏽♂️":"1f3ca-1f3fd-2642","🏊🏾♀️":"1f3ca-1f3fe-2640","🏊🏾♂️":"1f3ca-1f3fe-2642","🏊🏿♀️":"1f3ca-1f3ff-2640","🏊🏿♂️":"1f3ca-1f3ff-2642","💆🏻♀️":"1f486-1f3fb-2640","💆🏻♂️":"1f486-1f3fb-2642","💆🏼♀️":"1f486-1f3fc-2640","💆🏼♂️":"1f486-1f3fc-2642","💆🏽♀️":"1f486-1f3fd-2640","💆🏽♂️":"1f486-1f3fd-2642","💆🏾♀️":"1f486-1f3fe-2640","💆🏾♂️":"1f486-1f3fe-2642","💆🏿♀️":"1f486-1f3ff-2640","💆🏿♂️":"1f486-1f3ff-2642","💇🏻♀️":"1f487-1f3fb-2640","💇🏻♂️":"1f487-1f3fb-2642","💇🏼♀️":"1f487-1f3fc-2640","💇🏼♂️":"1f487-1f3fc-2642","💇🏽♀️":"1f487-1f3fd-2640","💇🏽♂️":"1f487-1f3fd-2642","💇🏾♀️":"1f487-1f3fe-2640","💇🏾♂️":"1f487-1f3fe-2642","💇🏿♀️":"1f487-1f3ff-2640","💇🏿♂️":"1f487-1f3ff-2642","🚣🏻♀️":"1f6a3-1f3fb-2640","🚣🏻♂️":"1f6a3-1f3fb-2642","🚣🏼♀️":"1f6a3-1f3fc-2640","🚣🏼♂️":"1f6a3-1f3fc-2642","🚣🏽♀️":"1f6a3-1f3fd-2640","🚣🏽♂️":"1f6a3-1f3fd-2642","🚣🏾♀️":"1f6a3-1f3fe-2640","🚣🏾♂️":"1f6a3-1f3fe-2642","🚣🏿♀️":"1f6a3-1f3ff-2640","🚣🏿♂️":"1f6a3-1f3ff-2642","🚴🏻♀️":"1f6b4-1f3fb-2640","🚴🏻♂️":"1f6b4-1f3fb-2642","🚴🏼♀️":"1f6b4-1f3fc-2640","🚴🏼♂️":"1f6b4-1f3fc-2642","🚴🏽♀️":"1f6b4-1f3fd-2640","🚴🏽♂️":"1f6b4-1f3fd-2642","🚴🏾♀️":"1f6b4-1f3fe-2640","🚴🏾♂️":"1f6b4-1f3fe-2642","🚴🏿♀️":"1f6b4-1f3ff-2640","🚴🏿♂️":"1f6b4-1f3ff-2642","🚵🏻♀️":"1f6b5-1f3fb-2640","🚵🏻♂️":"1f6b5-1f3fb-2642","🚵🏼♀️":"1f6b5-1f3fc-2640","🚵🏼♂️":"1f6b5-1f3fc-2642","🚵🏽♀️":"1f6b5-1f3fd-2640","🚵🏽♂️":"1f6b5-1f3fd-2642","🚵🏾♀️":"1f6b5-1f3fe-2640","🚵🏾♂️":"1f6b5-1f3fe-2642","🚵🏿♀️":"1f6b5-1f3ff-2640","🚵🏿♂️":"1f6b5-1f3ff-2642","🚶🏻♀️":"1f6b6-1f3fb-2640","🚶🏻♂️":"1f6b6-1f3fb-2642","🚶🏼♀️":"1f6b6-1f3fc-2640","🚶🏼♂️":"1f6b6-1f3fc-2642","🚶🏽♀️":"1f6b6-1f3fd-2640","🚶🏽♂️":"1f6b6-1f3fd-2642","🚶🏾♀️":"1f6b6-1f3fe-2640","🚶🏾♂️":"1f6b6-1f3fe-2642","🚶🏿♀️":"1f6b6-1f3ff-2640","🚶🏿♂️":"1f6b6-1f3ff-2642","🤸🏻♀️":"1f938-1f3fb-2640","🤸🏻♂️":"1f938-1f3fb-2642","🤸🏼♀️":"1f938-1f3fc-2640","🤸🏼♂️":"1f938-1f3fc-2642","🤸🏽♀️":"1f938-1f3fd-2640","🤸🏽♂️":"1f938-1f3fd-2642","🤸🏾♀️":"1f938-1f3fe-2640","🤸🏾♂️":"1f938-1f3fe-2642","🤸🏿♀️":"1f938-1f3ff-2640","🤸🏿♂️":"1f938-1f3ff-2642","🤹🏻♀️":"1f939-1f3fb-2640","🤹🏻♂️":"1f939-1f3fb-2642","🤹🏼♀️":"1f939-1f3fc-2640","🤹🏼♂️":"1f939-1f3fc-2642","🤹🏽♀️":"1f939-1f3fd-2640","🤹🏽♂️":"1f939-1f3fd-2642","🤹🏾♀️":"1f939-1f3fe-2640","🤹🏾♂️":"1f939-1f3fe-2642","🤹🏿♀️":"1f939-1f3ff-2640","🤹🏿♂️":"1f939-1f3ff-2642","🤽🏻♀️":"1f93d-1f3fb-2640","🤽🏻♂️":"1f93d-1f3fb-2642","🤽🏼♀️":"1f93d-1f3fc-2640","🤽🏼♂️":"1f93d-1f3fc-2642","🤽🏽♀️":"1f93d-1f3fd-2640","🤽🏽♂️":"1f93d-1f3fd-2642","🤽🏾♀️":"1f93d-1f3fe-2640","🤽🏾♂️":"1f93d-1f3fe-2642","🤽🏿♀️":"1f93d-1f3ff-2640","🤽🏿♂️":"1f93d-1f3ff-2642","🤾🏻♀️":"1f93e-1f3fb-2640","🤾🏻♂️":"1f93e-1f3fb-2642","🤾🏼♀️":"1f93e-1f3fc-2640","🤾🏼♂️":"1f93e-1f3fc-2642","🤾🏽♀️":"1f93e-1f3fd-2640","🤾🏽♂️":"1f93e-1f3fd-2642","🤾🏾♀️":"1f93e-1f3fe-2640","🤾🏾♂️":"1f93e-1f3fe-2642","🤾🏿♀️":"1f93e-1f3ff-2640","🤾🏿♂️":"1f93e-1f3ff-2642","💁🏻♀️":"1f481-1f3fb-2640","💁🏻♂️":"1f481-1f3fb-2642","💁🏼♀️":"1f481-1f3fc-2640","💁🏼♂️":"1f481-1f3fc-2642","💁🏽♀️":"1f481-1f3fd-2640","💁🏽♂️":"1f481-1f3fd-2642","💁🏾♀️":"1f481-1f3fe-2640","💁🏾♂️":"1f481-1f3fe-2642","💁🏿♀️":"1f481-1f3ff-2640","💁🏿♂️":"1f481-1f3ff-2642","🙅🏻♀️":"1f645-1f3fb-2640","🙅🏻♂️":"1f645-1f3fb-2642","🙅🏼♀️":"1f645-1f3fc-2640","🙅🏼♂️":"1f645-1f3fc-2642","🙅🏽♀️":"1f645-1f3fd-2640","🙅🏽♂️":"1f645-1f3fd-2642","🙅🏾♀️":"1f645-1f3fe-2640","🙅🏾♂️":"1f645-1f3fe-2642","🙅🏿♀️":"1f645-1f3ff-2640","🙅🏿♂️":"1f645-1f3ff-2642","🙆🏻♀️":"1f646-1f3fb-2640","🙆🏻♂️":"1f646-1f3fb-2642","🙆🏼♀️":"1f646-1f3fc-2640","🙆🏼♂️":"1f646-1f3fc-2642","🙆🏽♀️":"1f646-1f3fd-2640","🙆🏽♂️":"1f646-1f3fd-2642","🙆🏾♀️":"1f646-1f3fe-2640","🙆🏾♂️":"1f646-1f3fe-2642","🙆🏿♀️":"1f646-1f3ff-2640","🙆🏿♂️":"1f646-1f3ff-2642","🙇🏻♀️":"1f647-1f3fb-2640","🙇🏻♂️":"1f647-1f3fb-2642","🙇🏼♀️":"1f647-1f3fc-2640","🙇🏼♂️":"1f647-1f3fc-2642","🙇🏽♀️":"1f647-1f3fd-2640","🙇🏽♂️":"1f647-1f3fd-2642","🙇🏾♀️":"1f647-1f3fe-2640","🙇🏾♂️":"1f647-1f3fe-2642","🙇🏿♀️":"1f647-1f3ff-2640","🙇🏿♂️":"1f647-1f3ff-2642","🙋🏻♀️":"1f64b-1f3fb-2640","🙋🏻♂️":"1f64b-1f3fb-2642","🙋🏼♀️":"1f64b-1f3fc-2640","🙋🏼♂️":"1f64b-1f3fc-2642","🙋🏽♀️":"1f64b-1f3fd-2640","🙋🏽♂️":"1f64b-1f3fd-2642","🙋🏾♀️":"1f64b-1f3fe-2640","🙋🏾♂️":"1f64b-1f3fe-2642","🙋🏿♀️":"1f64b-1f3ff-2640","🙋🏿♂️":"1f64b-1f3ff-2642","🙍🏻♀️":"1f64d-1f3fb-2640","🙍🏻♂️":"1f64d-1f3fb-2642","🙍🏼♀️":"1f64d-1f3fc-2640","🙍🏼♂️":"1f64d-1f3fc-2642","🙍🏽♀️":"1f64d-1f3fd-2640","🙍🏽♂️":"1f64d-1f3fd-2642","🙍🏾♀️":"1f64d-1f3fe-2640","🙍🏾♂️":"1f64d-1f3fe-2642","🙍🏿♀️":"1f64d-1f3ff-2640","🙍🏿♂️":"1f64d-1f3ff-2642","🙎🏻♀️":"1f64e-1f3fb-2640","🙎🏻♂️":"1f64e-1f3fb-2642","🙎🏼♀️":"1f64e-1f3fc-2640","🙎🏼♂️":"1f64e-1f3fc-2642","🙎🏽♀️":"1f64e-1f3fd-2640","🙎🏽♂️":"1f64e-1f3fd-2642","🙎🏾♀️":"1f64e-1f3fe-2640","🙎🏾♂️":"1f64e-1f3fe-2642","🙎🏿♀️":"1f64e-1f3ff-2640","🙎🏿♂️":"1f64e-1f3ff-2642","🤦🏻♀️":"1f926-1f3fb-2640","🤦🏻♂️":"1f926-1f3fb-2642","🤦🏼♀️":"1f926-1f3fc-2640","🤦🏼♂️":"1f926-1f3fc-2642","🤦🏽♀️":"1f926-1f3fd-2640","🤦🏽♂️":"1f926-1f3fd-2642","🤦🏾♀️":"1f926-1f3fe-2640","🤦🏾♂️":"1f926-1f3fe-2642","🤦🏿♀️":"1f926-1f3ff-2640","🤦🏿♂️":"1f926-1f3ff-2642","🤷🏻♀️":"1f937-1f3fb-2640","🤷🏻♂️":"1f937-1f3fb-2642","🤷🏼♀️":"1f937-1f3fc-2640","🤷🏼♂️":"1f937-1f3fc-2642","🤷🏽♀️":"1f937-1f3fd-2640","🤷🏽♂️":"1f937-1f3fd-2642","🤷🏾♀️":"1f937-1f3fe-2640","🤷🏾♂️":"1f937-1f3fe-2642","🤷🏿♀️":"1f937-1f3ff-2640","🤷🏿♂️":"1f937-1f3ff-2642","👁️🗨️":"1f441-1f5e8","🧙🏻\200d♀":"1f9d9-1f3fb-2640","🧙🏻♀️":"1f9d9-1f3fb-2640","🧙🏻\200d♂":"1f9d9-1f3fb-2642","🧙🏻♂️":"1f9d9-1f3fb-2642","🧙🏼\200d♀":"1f9d9-1f3fc-2640","🧙🏼♀️":"1f9d9-1f3fc-2640","🧙🏼\200d♂":"1f9d9-1f3fc-2642","🧙🏼♂️":"1f9d9-1f3fc-2642","🧙🏽\200d♀":"1f9d9-1f3fd-2640","🧙🏽♀️":"1f9d9-1f3fd-2640","🧙🏽\200d♂":"1f9d9-1f3fd-2642","🧙🏽♂️":"1f9d9-1f3fd-2642","🧙🏾\200d♀":"1f9d9-1f3fe-2640","🧙🏾♀️":"1f9d9-1f3fe-2640","🧙🏾\200d♂":"1f9d9-1f3fe-2642","🧙🏾♂️":"1f9d9-1f3fe-2642","🧙🏿\200d♀":"1f9d9-1f3ff-2640","🧙🏿♀️":"1f9d9-1f3ff-2640","🧙🏿\200d♂":"1f9d9-1f3ff-2642","🧙🏿♂️":"1f9d9-1f3ff-2642","🧚🏻\200d♀":"1f9da-1f3fb-2640","🧚🏻♀️":"1f9da-1f3fb-2640","🧚🏻\200d♂":"1f9da-1f3fb-2642","🧚🏻♂️":"1f9da-1f3fb-2642","🧚🏼\200d♀":"1f9da-1f3fc-2640","🧚🏼♀️":"1f9da-1f3fc-2640","🧚🏼\200d♂":"1f9da-1f3fc-2642","🧚🏼♂️":"1f9da-1f3fc-2642","🧚🏽\200d♀":"1f9da-1f3fd-2640","🧚🏽♀️":"1f9da-1f3fd-2640","🧚🏽\200d♂":"1f9da-1f3fd-2642","🧚🏽♂️":"1f9da-1f3fd-2642","🧚🏾\200d♀":"1f9da-1f3fe-2640","🧚🏾♀️":"1f9da-1f3fe-2640","🧚🏾\200d♂":"1f9da-1f3fe-2642","🧚🏾♂️":"1f9da-1f3fe-2642","🧚🏿\200d♀":"1f9da-1f3ff-2640","🧚🏿♀️":"1f9da-1f3ff-2640","🧚🏿\200d♂":"1f9da-1f3ff-2642","🧚🏿♂️":"1f9da-1f3ff-2642","🧛🏻\200d♀":"1f9db-1f3fb-2640","🧛🏻♀️":"1f9db-1f3fb-2640","🧛🏻\200d♂":"1f9db-1f3fb-2642","🧛🏻♂️":"1f9db-1f3fb-2642","🧛🏼\200d♀":"1f9db-1f3fc-2640","🧛🏼♀️":"1f9db-1f3fc-2640","🧛🏼\200d♂":"1f9db-1f3fc-2642","🧛🏼♂️":"1f9db-1f3fc-2642","🧛🏽\200d♀":"1f9db-1f3fd-2640","🧛🏽♀️":"1f9db-1f3fd-2640","🧛🏽\200d♂":"1f9db-1f3fd-2642","🧛🏽♂️":"1f9db-1f3fd-2642","🧛🏾\200d♀":"1f9db-1f3fe-2640","🧛🏾♀️":"1f9db-1f3fe-2640","🧛🏾\200d♂":"1f9db-1f3fe-2642","🧛🏾♂️":"1f9db-1f3fe-2642","🧛🏿\200d♀":"1f9db-1f3ff-2640","🧛🏿♀️":"1f9db-1f3ff-2640","🧛🏿\200d♂":"1f9db-1f3ff-2642","🧛🏿♂️":"1f9db-1f3ff-2642","🧜🏻\200d♀":"1f9dc-1f3fb-2640","🧜🏻♀️":"1f9dc-1f3fb-2640","🧜🏻\200d♂":"1f9dc-1f3fb-2642","🧜🏻♂️":"1f9dc-1f3fb-2642","🧜🏼\200d♀":"1f9dc-1f3fc-2640","🧜🏼♀️":"1f9dc-1f3fc-2640","🧜🏼\200d♂":"1f9dc-1f3fc-2642","🧜🏼♂️":"1f9dc-1f3fc-2642","🧜🏽\200d♀":"1f9dc-1f3fd-2640","🧜🏽♀️":"1f9dc-1f3fd-2640","🧜🏽\200d♂":"1f9dc-1f3fd-2642","🧜🏽♂️":"1f9dc-1f3fd-2642","🧜🏾\200d♀":"1f9dc-1f3fe-2640","🧜🏾♀️":"1f9dc-1f3fe-2640","🧜🏾\200d♂":"1f9dc-1f3fe-2642","🧜🏾♂️":"1f9dc-1f3fe-2642","🧜🏿\200d♀":"1f9dc-1f3ff-2640","🧜🏿♀️":"1f9dc-1f3ff-2640","🧜🏿\200d♂":"1f9dc-1f3ff-2642","🧜🏿♂️":"1f9dc-1f3ff-2642","🧝🏻\200d♀":"1f9dd-1f3fb-2640","🧝🏻♀️":"1f9dd-1f3fb-2640","🧝🏻\200d♂":"1f9dd-1f3fb-2642","🧝🏻♂️":"1f9dd-1f3fb-2642","🧝🏼\200d♀":"1f9dd-1f3fc-2640","🧝🏼♀️":"1f9dd-1f3fc-2640","🧝🏼\200d♂":"1f9dd-1f3fc-2642","🧝🏼♂️":"1f9dd-1f3fc-2642","🧝🏽\200d♀":"1f9dd-1f3fd-2640","🧝🏽♀️":"1f9dd-1f3fd-2640","🧝🏽\200d♂":"1f9dd-1f3fd-2642","🧝🏽♂️":"1f9dd-1f3fd-2642","🧝🏾\200d♀":"1f9dd-1f3fe-2640","🧝🏾♀️":"1f9dd-1f3fe-2640","🧝🏾\200d♂":"1f9dd-1f3fe-2642","🧝🏾♂️":"1f9dd-1f3fe-2642","🧝🏿\200d♀":"1f9dd-1f3ff-2640","🧝🏿♀️":"1f9dd-1f3ff-2640","🧝🏿\200d♂":"1f9dd-1f3ff-2642","🧝🏿♂️":"1f9dd-1f3ff-2642","🧖🏻\200d♀":"1f9d6-1f3fb-2640","🧖🏻♀️":"1f9d6-1f3fb-2640","🧖🏻\200d♂":"1f9d6-1f3fb-2642","🧖🏻♂️":"1f9d6-1f3fb-2642","🧖🏼\200d♀":"1f9d6-1f3fc-2640","🧖🏼♀️":"1f9d6-1f3fc-2640","🧖🏼\200d♂":"1f9d6-1f3fc-2642","🧖🏼♂️":"1f9d6-1f3fc-2642","🧖🏽\200d♀":"1f9d6-1f3fd-2640","🧖🏽♀️":"1f9d6-1f3fd-2640","🧖🏽\200d♂":"1f9d6-1f3fd-2642","🧖🏽♂️":"1f9d6-1f3fd-2642","🧖🏾\200d♀":"1f9d6-1f3fe-2640","🧖🏾♀️":"1f9d6-1f3fe-2640","🧖🏾\200d♂":"1f9d6-1f3fe-2642","🧖🏾♂️":"1f9d6-1f3fe-2642","🧖🏿\200d♀":"1f9d6-1f3ff-2640","🧖🏿♀️":"1f9d6-1f3ff-2640","🧖🏿\200d♂":"1f9d6-1f3ff-2642","🧖🏿♂️":"1f9d6-1f3ff-2642","🧗🏻\200d♀":"1f9d7-1f3fb-2640","🧗🏻♀️":"1f9d7-1f3fb-2640","🧗🏻\200d♂":"1f9d7-1f3fb-2642","🧗🏻♂️":"1f9d7-1f3fb-2642","🧗🏼\200d♀":"1f9d7-1f3fc-2640","🧗🏼♀️":"1f9d7-1f3fc-2640","🧗🏼\200d♂":"1f9d7-1f3fc-2642","🧗🏼♂️":"1f9d7-1f3fc-2642","🧗🏽\200d♀":"1f9d7-1f3fd-2640","🧗🏽♀️":"1f9d7-1f3fd-2640","🧗🏽\200d♂":"1f9d7-1f3fd-2642","🧗🏽♂️":"1f9d7-1f3fd-2642","🧗🏾\200d♀":"1f9d7-1f3fe-2640","🧗🏾♀️":"1f9d7-1f3fe-2640","🧗🏾\200d♂":"1f9d7-1f3fe-2642","🧗🏾♂️":"1f9d7-1f3fe-2642","🧗🏿\200d♀":"1f9d7-1f3ff-2640","🧗🏿♀️":"1f9d7-1f3ff-2640","🧗🏿\200d♂":"1f9d7-1f3ff-2642","🧗🏿♂️":"1f9d7-1f3ff-2642","🧘🏻\200d♀":"1f9d8-1f3fb-2640","🧘🏻♀️":"1f9d8-1f3fb-2640","🧘🏻\200d♂":"1f9d8-1f3fb-2642","🧘🏻♂️":"1f9d8-1f3fb-2642","🧘🏼\200d♀":"1f9d8-1f3fc-2640","🧘🏼♀️":"1f9d8-1f3fc-2640","🧘🏼\200d♂":"1f9d8-1f3fc-2642","🧘🏼♂️":"1f9d8-1f3fc-2642","🧘🏽\200d♀":"1f9d8-1f3fd-2640","🧘🏽♀️":"1f9d8-1f3fd-2640","🧘🏽\200d♂":"1f9d8-1f3fd-2642","🧘🏽♂️":"1f9d8-1f3fd-2642","🧘🏾\200d♀":"1f9d8-1f3fe-2640","🧘🏾♀️":"1f9d8-1f3fe-2640","🧘🏾\200d♂":"1f9d8-1f3fe-2642","🧘🏾♂️":"1f9d8-1f3fe-2642","🧘🏿\200d♀":"1f9d8-1f3ff-2640","🧘🏿♀️":"1f9d8-1f3ff-2640","🧘🏿\200d♂":"1f9d8-1f3ff-2642","🧘🏿♂️":"1f9d8-1f3ff-2642","👁\200d🗨️":"1f441-1f5e8","👁️\200d🗨":"1f441-1f5e8","🦸🏻\200d♀":"1f9b8-1f3fb-2640","🦸🏻♀️":"1f9b8-1f3fb-2640","🦸🏻\200d♂":"1f9b8-1f3fb-2642","🦸🏻♂️":"1f9b8-1f3fb-2642","🦸🏼\200d♀":"1f9b8-1f3fc-2640","🦸🏼♀️":"1f9b8-1f3fc-2640","🦸🏼\200d♂":"1f9b8-1f3fc-2642","🦸🏼♂️":"1f9b8-1f3fc-2642","🦸🏽\200d♀":"1f9b8-1f3fd-2640","🦸🏽♀️":"1f9b8-1f3fd-2640","🦸🏽\200d♂":"1f9b8-1f3fd-2642","🦸🏽♂️":"1f9b8-1f3fd-2642","🦸🏾\200d♀":"1f9b8-1f3fe-2640","🦸🏾♀️":"1f9b8-1f3fe-2640","🦸🏾\200d♂":"1f9b8-1f3fe-2642","🦸🏾♂️":"1f9b8-1f3fe-2642","🦸🏿\200d♀":"1f9b8-1f3ff-2640","🦸🏿♀️":"1f9b8-1f3ff-2640","🦸🏿\200d♂":"1f9b8-1f3ff-2642","🦸🏿♂️":"1f9b8-1f3ff-2642","🦹🏻\200d♀":"1f9b9-1f3fb-2640","🦹🏻♀️":"1f9b9-1f3fb-2640","🦹🏻\200d♂":"1f9b9-1f3fb-2642","🦹🏻♂️":"1f9b9-1f3fb-2642","🦹🏼\200d♀":"1f9b9-1f3fc-2640","🦹🏼♀️":"1f9b9-1f3fc-2640","🦹🏼\200d♂":"1f9b9-1f3fc-2642","🦹🏼♂️":"1f9b9-1f3fc-2642","🦹🏽\200d♀":"1f9b9-1f3fd-2640","🦹🏽♀️":"1f9b9-1f3fd-2640","🦹🏽\200d♂":"1f9b9-1f3fd-2642","🦹🏽♂️":"1f9b9-1f3fd-2642","🦹🏾\200d♀":"1f9b9-1f3fe-2640","🦹🏾♀️":"1f9b9-1f3fe-2640","🦹🏾\200d♂":"1f9b9-1f3fe-2642","🦹🏾♂️":"1f9b9-1f3fe-2642","🦹🏿\200d♀":"1f9b9-1f3ff-2640","🦹🏿♀️":"1f9b9-1f3ff-2640","🦹🏿\200d♂":"1f9b9-1f3ff-2642","🦹🏿♂️":"1f9b9-1f3ff-2642","⛹🏿\200d♂":"26f9-1f3ff-2642","⛹🏾\200d♂":"26f9-1f3fe-2642","⛹🏽\200d♂":"26f9-1f3fd-2642","⛹🏼\200d♂":"26f9-1f3fc-2642","⛹🏻\200d♂":"26f9-1f3fb-2642","⛹🏿\200d♀":"26f9-1f3ff-2640","⛹🏾\200d♀":"26f9-1f3fe-2640","⛹🏽\200d♀":"26f9-1f3fd-2640","⛹🏼\200d♀":"26f9-1f3fc-2640","⛹🏻\200d♀":"26f9-1f3fb-2640","👨\200d⚕️":"1f468-2695","👨\200d⚖️":"1f468-2696","👨\200d✈️":"1f468-2708","👩\200d⚕️":"1f469-2695","👩\200d⚖️":"1f469-2696","👩\200d✈️":"1f469-2708","👮\200d♀️":"1f46e-2640","👮\200d♂️":"1f46e-2642","👱\200d♀️":"1f471-2640","👱\200d♂️":"1f471-2642","👳\200d♀️":"1f473-2640","👳\200d♂️":"1f473-2642","👷\200d♀️":"1f477-2640","👷\200d♂️":"1f477-2642","💂\200d♀️":"1f482-2640","💂\200d♂️":"1f482-2642","🕵️♀️":"1f575-2640","🕵️♂️":"1f575-2642","🏃\200d♀️":"1f3c3-2640","🏃\200d♂️":"1f3c3-2642","🏄\200d♀️":"1f3c4-2640","🏄\200d♂️":"1f3c4-2642","🏊\200d♀️":"1f3ca-2640","🏊\200d♂️":"1f3ca-2642","🏋️♀️":"1f3cb-2640","🏋️♂️":"1f3cb-2642","🏌️♀️":"1f3cc-2640","🏌️♂️":"1f3cc-2642","👯\200d♀️":"1f46f-2640","👯\200d♂️":"1f46f-2642","💆\200d♀️":"1f486-2640","💆\200d♂️":"1f486-2642","💇\200d♀️":"1f487-2640","💇\200d♂️":"1f487-2642","🚣\200d♀️":"1f6a3-2640","🚣\200d♂️":"1f6a3-2642","🚴\200d♀️":"1f6b4-2640","🚴\200d♂️":"1f6b4-2642","🚵\200d♀️":"1f6b5-2640","🚵\200d♂️":"1f6b5-2642","🚶\200d♀️":"1f6b6-2640","🚶\200d♂️":"1f6b6-2642","🤸\200d♀️":"1f938-2640","🤸\200d♂️":"1f938-2642","🤹\200d♀️":"1f939-2640","🤹\200d♂️":"1f939-2642","🤼\200d♀️":"1f93c-2640","🤼\200d♂️":"1f93c-2642","🤽\200d♀️":"1f93d-2640","🤽\200d♂️":"1f93d-2642","🤾\200d♀️":"1f93e-2640","🤾\200d♂️":"1f93e-2642","💁\200d♀️":"1f481-2640","💁\200d♂️":"1f481-2642","🙅\200d♀️":"1f645-2640","🙅\200d♂️":"1f645-2642","🙆\200d♀️":"1f646-2640","🙆\200d♂️":"1f646-2642","🙇\200d♀️":"1f647-2640","🙇\200d♂️":"1f647-2642","🙋\200d♀️":"1f64b-2640","🙋\200d♂️":"1f64b-2642","🙍\200d♀️":"1f64d-2640","🙍\200d♂️":"1f64d-2642","🙎\200d♀️":"1f64e-2640","🙎\200d♂️":"1f64e-2642","🤦\200d♀️":"1f926-2640","🤦\200d♂️":"1f926-2642","🤷\200d♀️":"1f937-2640","🤷\200d♂️":"1f937-2642","🧙\200d♀️":"1f9d9-2640","🧙\200d♂️":"1f9d9-2642","🧚\200d♀️":"1f9da-2640","🧚\200d♂️":"1f9da-2642","🧛\200d♀️":"1f9db-2640","🧛\200d♂️":"1f9db-2642","🧜\200d♀️":"1f9dc-2640","🧜\200d♂️":"1f9dc-2642","🧝\200d♀️":"1f9dd-2640","🧝\200d♂️":"1f9dd-2642","🧞\200d♀️":"1f9de-2640","🧞\200d♂️":"1f9de-2642","🧟\200d♀️":"1f9df-2640","🧟\200d♂️":"1f9df-2642","🧖\200d♀️":"1f9d6-2640","🧖\200d♂️":"1f9d6-2642","🧗\200d♀️":"1f9d7-2640","🧗\200d♂️":"1f9d7-2642","🧘\200d♀️":"1f9d8-2640","🧘\200d♂️":"1f9d8-2642","🕵\200d♀️":"1f575-2640","🕵️\200d♀":"1f575-2640","🕵\200d♂️":"1f575-2642","🕵️\200d♂":"1f575-2642","🏋\200d♀️":"1f3cb-2640","🏋️\200d♀":"1f3cb-2640","🏋\200d♂️":"1f3cb-2642","🏋️\200d♂":"1f3cb-2642","🏌\200d♀️":"1f3cc-2640","🏌️\200d♀":"1f3cc-2640","🏌\200d♂️":"1f3cc-2642","🏌️\200d♂":"1f3cc-2642","🦸\200d♀️":"1f9b8-2640","🦸\200d♂️":"1f9b8-2642","🦹\200d♀️":"1f9b9-2640","🦹\200d♂️":"1f9b9-2642","🏴\200d☠️":"1f3f4-2620","⛹️♀️":"26f9-2640","⛹️♂️":"26f9-2642","⛹\200d♀️":"26f9-2640","⛹️\200d♀":"26f9-2640","⛹\200d♂️":"26f9-2642","⛹️\200d♂":"26f9-2642","👨👨👦":"1f468-1f468-1f466","👨👨👧":"1f468-1f468-1f467","👨👩👧":"1f468-1f469-1f467","👩👩👦":"1f469-1f469-1f466","👩👩👧":"1f469-1f469-1f467","👨👦👦":"1f468-1f466-1f466","👨👧👦":"1f468-1f467-1f466","👩👦👦":"1f469-1f466-1f466","👩👧👦":"1f469-1f467-1f466","👩👧👧":"1f469-1f467-1f467","👨🏻🎨":"1f468-1f3fb-1f3a8","👨🏼🎨":"1f468-1f3fc-1f3a8","👨🏽🎨":"1f468-1f3fd-1f3a8","👨🏾🎨":"1f468-1f3fe-1f3a8","👨🏿🎨":"1f468-1f3ff-1f3a8","👩🏻🎨":"1f469-1f3fb-1f3a8","👩🏼🎨":"1f469-1f3fc-1f3a8","👩🏽🎨":"1f469-1f3fd-1f3a8","👩🏾🎨":"1f469-1f3fe-1f3a8","👩🏿🎨":"1f469-1f3ff-1f3a8","👨🏻🚀":"1f468-1f3fb-1f680","👨🏼🚀":"1f468-1f3fc-1f680","👨🏽🚀":"1f468-1f3fd-1f680","👨🏾🚀":"1f468-1f3fe-1f680","👨🏿🚀":"1f468-1f3ff-1f680","👩🏻🚀":"1f469-1f3fb-1f680","👩🏼🚀":"1f469-1f3fc-1f680","👩🏽🚀":"1f469-1f3fd-1f680","👩🏾🚀":"1f469-1f3fe-1f680","👩🏿🚀":"1f469-1f3ff-1f680","👨🏻🚒":"1f468-1f3fb-1f692","👨🏼🚒":"1f468-1f3fc-1f692","👨🏽🚒":"1f468-1f3fd-1f692","👨🏾🚒":"1f468-1f3fe-1f692","👨🏿🚒":"1f468-1f3ff-1f692","👩🏻🚒":"1f469-1f3fb-1f692","👩🏼🚒":"1f469-1f3fc-1f692","👩🏽🚒":"1f469-1f3fd-1f692","👩🏾🚒":"1f469-1f3fe-1f692","👩🏿🚒":"1f469-1f3ff-1f692","👨👩👦":"1f468-1f469-1f466","👨👧👧":"1f468-1f467-1f467","👨🏻🌾":"1f468-1f3fb-1f33e","👨🏻🍳":"1f468-1f3fb-1f373","👨🏻🎓":"1f468-1f3fb-1f393","👨🏻🎤":"1f468-1f3fb-1f3a4","👨🏻🏫":"1f468-1f3fb-1f3eb","👨🏻🏭":"1f468-1f3fb-1f3ed","👨🏻💻":"1f468-1f3fb-1f4bb","👨🏻💼":"1f468-1f3fb-1f4bc","👨🏻🔧":"1f468-1f3fb-1f527","👨🏻🔬":"1f468-1f3fb-1f52c","👨🏼🌾":"1f468-1f3fc-1f33e","👨🏼🍳":"1f468-1f3fc-1f373","👨🏼🎓":"1f468-1f3fc-1f393","👨🏼🎤":"1f468-1f3fc-1f3a4","👨🏼🏫":"1f468-1f3fc-1f3eb","👨🏼🏭":"1f468-1f3fc-1f3ed","👨🏼💻":"1f468-1f3fc-1f4bb","👨🏼💼":"1f468-1f3fc-1f4bc","👨🏼🔧":"1f468-1f3fc-1f527","👨🏼🔬":"1f468-1f3fc-1f52c","👨🏽🌾":"1f468-1f3fd-1f33e","👨🏽🍳":"1f468-1f3fd-1f373","👨🏽🎓":"1f468-1f3fd-1f393","👨🏽🎤":"1f468-1f3fd-1f3a4","👨🏽🏫":"1f468-1f3fd-1f3eb","👨🏽🏭":"1f468-1f3fd-1f3ed","👨🏽💻":"1f468-1f3fd-1f4bb","👨🏽💼":"1f468-1f3fd-1f4bc","👨🏽🔧":"1f468-1f3fd-1f527","👨🏽🔬":"1f468-1f3fd-1f52c","👨🏾🌾":"1f468-1f3fe-1f33e","👨🏾🍳":"1f468-1f3fe-1f373","👨🏾🎓":"1f468-1f3fe-1f393","👨🏾🎤":"1f468-1f3fe-1f3a4","👨🏾🏫":"1f468-1f3fe-1f3eb","👨🏾🏭":"1f468-1f3fe-1f3ed","👨🏾💻":"1f468-1f3fe-1f4bb","👨🏾💼":"1f468-1f3fe-1f4bc","👨🏾🔧":"1f468-1f3fe-1f527","👨🏾🔬":"1f468-1f3fe-1f52c","👨🏿🌾":"1f468-1f3ff-1f33e","👨🏿🍳":"1f468-1f3ff-1f373","👨🏿🎓":"1f468-1f3ff-1f393","👨🏿🎤":"1f468-1f3ff-1f3a4","👨🏿🏫":"1f468-1f3ff-1f3eb","👨🏿🏭":"1f468-1f3ff-1f3ed","👨🏿💻":"1f468-1f3ff-1f4bb","👨🏿💼":"1f468-1f3ff-1f4bc","👨🏿🔧":"1f468-1f3ff-1f527","👨🏿🔬":"1f468-1f3ff-1f52c","👩🏻🌾":"1f469-1f3fb-1f33e","👩🏻🍳":"1f469-1f3fb-1f373","👩🏻🎓":"1f469-1f3fb-1f393","👩🏻🎤":"1f469-1f3fb-1f3a4","👩🏻🏫":"1f469-1f3fb-1f3eb","👩🏻🏭":"1f469-1f3fb-1f3ed","👩🏻💻":"1f469-1f3fb-1f4bb","👩🏻💼":"1f469-1f3fb-1f4bc","👩🏻🔧":"1f469-1f3fb-1f527","👩🏻🔬":"1f469-1f3fb-1f52c","👩🏼🌾":"1f469-1f3fc-1f33e","👩🏼🍳":"1f469-1f3fc-1f373","👩🏼🎓":"1f469-1f3fc-1f393","👩🏼🎤":"1f469-1f3fc-1f3a4","👩🏼🏫":"1f469-1f3fc-1f3eb","👩🏼🏭":"1f469-1f3fc-1f3ed","👩🏼💻":"1f469-1f3fc-1f4bb","👩🏼💼":"1f469-1f3fc-1f4bc","👩🏼🔧":"1f469-1f3fc-1f527","👩🏼🔬":"1f469-1f3fc-1f52c","👩🏽🌾":"1f469-1f3fd-1f33e","👩🏽🍳":"1f469-1f3fd-1f373","👩🏽🎓":"1f469-1f3fd-1f393","👩🏽🎤":"1f469-1f3fd-1f3a4","👩🏽🏫":"1f469-1f3fd-1f3eb","👩🏽🏭":"1f469-1f3fd-1f3ed","👩🏽💻":"1f469-1f3fd-1f4bb","👩🏽💼":"1f469-1f3fd-1f4bc","👩🏽🔧":"1f469-1f3fd-1f527","👩🏽🔬":"1f469-1f3fd-1f52c","👩🏾🌾":"1f469-1f3fe-1f33e","👩🏾🍳":"1f469-1f3fe-1f373","👩🏾🎓":"1f469-1f3fe-1f393","👩🏾🎤":"1f469-1f3fe-1f3a4","👩🏾🏫":"1f469-1f3fe-1f3eb","👩🏾🏭":"1f469-1f3fe-1f3ed","👩🏾💻":"1f469-1f3fe-1f4bb","👩🏾💼":"1f469-1f3fe-1f4bc","👩🏾🔧":"1f469-1f3fe-1f527","👩🏾🔬":"1f469-1f3fe-1f52c","👩🏿🌾":"1f469-1f3ff-1f33e","👩🏿🍳":"1f469-1f3ff-1f373","👩🏿🎓":"1f469-1f3ff-1f393","👩🏿🎤":"1f469-1f3ff-1f3a4","👩🏿🏫":"1f469-1f3ff-1f3eb","👩🏿🏭":"1f469-1f3ff-1f3ed","👩🏿💻":"1f469-1f3ff-1f4bb","👩🏿💼":"1f469-1f3ff-1f4bc","👩🏿🔧":"1f469-1f3ff-1f527","👩🏿🔬":"1f469-1f3ff-1f52c","👨🏻🦰":"1f468-1f3fb-1f9b0","👨🏻🦱":"1f468-1f3fb-1f9b1","👨🏻🦲":"1f468-1f3fb-1f9b2","👨🏻🦳":"1f468-1f3fb-1f9b3","👨🏼🦰":"1f468-1f3fc-1f9b0","👨🏼🦱":"1f468-1f3fc-1f9b1","👨🏼🦲":"1f468-1f3fc-1f9b2","👨🏼🦳":"1f468-1f3fc-1f9b3","👨🏽🦰":"1f468-1f3fd-1f9b0","👨🏽🦱":"1f468-1f3fd-1f9b1","👨🏽🦲":"1f468-1f3fd-1f9b2","👨🏽🦳":"1f468-1f3fd-1f9b3","👨🏾🦰":"1f468-1f3fe-1f9b0","👨🏾🦱":"1f468-1f3fe-1f9b1","👨🏾🦲":"1f468-1f3fe-1f9b2","👨🏾🦳":"1f468-1f3fe-1f9b3","👨🏿🦰":"1f468-1f3ff-1f9b0","👨🏿🦱":"1f468-1f3ff-1f9b1","👨🏿🦲":"1f468-1f3ff-1f9b2","👨🏿🦳":"1f468-1f3ff-1f9b3","👩🏻🦰":"1f469-1f3fb-1f9b0","👩🏻🦱":"1f469-1f3fb-1f9b1","👩🏻🦲":"1f469-1f3fb-1f9b2","👩🏻🦳":"1f469-1f3fb-1f9b3","👩🏼🦰":"1f469-1f3fc-1f9b0","👩🏼🦱":"1f469-1f3fc-1f9b1","👩🏼🦲":"1f469-1f3fc-1f9b2","👩🏼🦳":"1f469-1f3fc-1f9b3","👩🏽🦰":"1f469-1f3fd-1f9b0","👩🏽🦱":"1f469-1f3fd-1f9b1","👩🏽🦲":"1f469-1f3fd-1f9b2","👩🏽🦳":"1f469-1f3fd-1f9b3","👩🏾🦰":"1f469-1f3fe-1f9b0","👩🏾🦱":"1f469-1f3fe-1f9b1","👩🏾🦲":"1f469-1f3fe-1f9b2","👩🏾🦳":"1f469-1f3fe-1f9b3","👩🏿🦰":"1f469-1f3ff-1f9b0","👩🏿🦱":"1f469-1f3ff-1f9b1","👩🏿🦲":"1f469-1f3ff-1f9b2","👩🏿🦳":"1f469-1f3ff-1f9b3","👁\200d🗨":"1f441-1f5e8","👨\200d💻":"1f468-1f4bb","👩\200d💻":"1f469-1f4bb","👨\200d🏫":"1f468-1f3eb","👩\200d🏫":"1f469-1f3eb","👨\200d🎓":"1f468-1f393","👩\200d🎓":"1f469-1f393","👨\200d🎤":"1f468-1f3a4","👩\200d🎤":"1f469-1f3a4","👨\200d🔬":"1f468-1f52c","👩\200d🔬":"1f469-1f52c","👨\200d💼":"1f468-1f4bc","👩\200d💼":"1f469-1f4bc","👨\200d🔧":"1f468-1f527","👩\200d🔧":"1f469-1f527","👨\200d🏭":"1f468-1f3ed","👩\200d🏭":"1f469-1f3ed","👨\200d🍳":"1f468-1f373","👩\200d🍳":"1f469-1f373","👨\200d🌾":"1f468-1f33e","👩\200d🌾":"1f469-1f33e","👨\200d👦":"1f468-1f466","👨\200d👧":"1f468-1f467","👩\200d👦":"1f469-1f466","👩\200d👧":"1f469-1f467","👨\200d🎨":"1f468-1f3a8","👩\200d🎨":"1f469-1f3a8","👨\200d🚀":"1f468-1f680","👩\200d🚀":"1f469-1f680","👨\200d🚒":"1f468-1f692","👩\200d🚒":"1f469-1f692","🏋️🏻":"1f3cb-1f3fb","🏋️🏼":"1f3cb-1f3fc","🏋️🏽":"1f3cb-1f3fd","🏋️🏾":"1f3cb-1f3fe","🏋️🏿":"1f3cb-1f3ff","🏌️🏻":"1f3cc-1f3fb","🏌️🏼":"1f3cc-1f3fc","🏌️🏽":"1f3cc-1f3fd","🏌️🏾":"1f3cc-1f3fe","🏌️🏿":"1f3cc-1f3ff","🕴️🏻":"1f574-1f3fb","🕴️🏼":"1f574-1f3fc","🕴️🏽":"1f574-1f3fd","🕴️🏾":"1f574-1f3fe","🕴️🏿":"1f574-1f3ff","🕵️🏻":"1f575-1f3fb","🕵️🏼":"1f575-1f3fc","🕵️🏽":"1f575-1f3fd","🕵️🏾":"1f575-1f3fe","🕵️🏿":"1f575-1f3ff","🖐️🏻":"1f590-1f3fb","🖐️🏼":"1f590-1f3fc","🖐️🏽":"1f590-1f3fd","🖐️🏾":"1f590-1f3fe","🖐️🏿":"1f590-1f3ff","🏳\200d🌈":"1f3f3-1f308","🏳️🌈":"1f3f3-1f308","👨\200d🦰":"1f468-1f9b0","👨\200d🦱":"1f468-1f9b1","👨\200d🦲":"1f468-1f9b2","👨\200d🦳":"1f468-1f9b3","👩\200d🦰":"1f469-1f9b0","👩\200d🦱":"1f469-1f9b1","👩\200d🦲":"1f469-1f9b2","👩\200d🦳":"1f469-1f9b3","👯\200d♂":"1f46f-2642","👯\200d♀":"1f46f-2640","🤼\200d♂":"1f93c-2642","🤼\200d♀":"1f93c-2640","🤹\200d♂":"1f939-2642","🤹\200d♀":"1f939-2640","🤾\200d♂":"1f93e-2642","🤾\200d♀":"1f93e-2640","🤽\200d♂":"1f93d-2642","🤽\200d♀":"1f93d-2640","🤸\200d♂":"1f938-2642","🤸\200d♀":"1f938-2640","🚶\200d♂":"1f6b6-2642","🚶\200d♀":"1f6b6-2640","🚵\200d♂":"1f6b5-2642","🚵\200d♀":"1f6b5-2640","🚴\200d♂":"1f6b4-2642","🚴\200d♀":"1f6b4-2640","🚣\200d♂":"1f6a3-2642","🚣\200d♀":"1f6a3-2640","🏊\200d♂":"1f3ca-2642","🏊\200d♀":"1f3ca-2640","🏄\200d♂":"1f3c4-2642","🏄\200d♀":"1f3c4-2640","🏃\200d♂":"1f3c3-2642","🏃\200d♀":"1f3c3-2640","🤷\200d♂":"1f937-2642","🤷\200d♀":"1f937-2640","🤦\200d♂":"1f926-2642","🤦\200d♀":"1f926-2640","🙎\200d♂":"1f64e-2642","🙎\200d♀":"1f64e-2640","🙍\200d♂":"1f64d-2642","🙍\200d♀":"1f64d-2640","🙋\200d♂":"1f64b-2642","🙋\200d♀":"1f64b-2640","🙇\200d♂":"1f647-2642","🙇\200d♀":"1f647-2640","🙆\200d♂":"1f646-2642","🙆\200d♀":"1f646-2640","🙅\200d♂":"1f645-2642","🙅\200d♀":"1f645-2640","💇\200d♂":"1f487-2642","💇\200d♀":"1f487-2640","💆\200d♂":"1f486-2642","💆\200d♀":"1f486-2640","💁\200d♂":"1f481-2642","💁\200d♀":"1f481-2640","👱\200d♂":"1f471-2642","👱\200d♀":"1f471-2640","👳\200d♂":"1f473-2642","👳\200d♀":"1f473-2640","💂\200d♂":"1f482-2642","💂\200d♀":"1f482-2640","👷\200d♂":"1f477-2642","👷\200d♀":"1f477-2640","👮\200d♂":"1f46e-2642","👮\200d♀":"1f46e-2640","👨\200d⚕":"1f468-2695","👩\200d⚕":"1f469-2695","👨\200d⚖":"1f468-2696","👩\200d⚖":"1f469-2696","👨\200d✈":"1f468-2708","👩\200d✈":"1f469-2708","☝️🏻":"261d-1f3fb","☝️🏼":"261d-1f3fc","☝️🏽":"261d-1f3fd","☝️🏾":"261d-1f3fe","☝️🏿":"261d-1f3ff","⛹️🏻":"26f9-1f3fb","⛹️🏼":"26f9-1f3fc","⛹️🏽":"26f9-1f3fd","⛹️🏾":"26f9-1f3fe","⛹️🏿":"26f9-1f3ff","✌️🏻":"270c-1f3fb","✌️🏼":"270c-1f3fc","✌️🏽":"270c-1f3fd","✌️🏾":"270c-1f3fe","✌️🏿":"270c-1f3ff","✍️🏻":"270d-1f3fb","✍️🏼":"270d-1f3fc","✍️🏽":"270d-1f3fd","✍️🏾":"270d-1f3fe","✍️🏿":"270d-1f3ff","👨⚕️":"1f468-2695","👨⚖️":"1f468-2696","👨✈️":"1f468-2708","👩⚕️":"1f469-2695","👩⚖️":"1f469-2696","👩✈️":"1f469-2708","👮♀️":"1f46e-2640","👮♂️":"1f46e-2642","👱♀️":"1f471-2640","👱♂️":"1f471-2642","👳♀️":"1f473-2640","👳♂️":"1f473-2642","👷♀️":"1f477-2640","👷♂️":"1f477-2642","💂♀️":"1f482-2640","💂♂️":"1f482-2642","🕵\200d♀":"1f575-2640","🕵\200d♂":"1f575-2642","🏃♀️":"1f3c3-2640","🏃♂️":"1f3c3-2642","🏄♀️":"1f3c4-2640","🏄♂️":"1f3c4-2642","🏊♀️":"1f3ca-2640","🏊♂️":"1f3ca-2642","🏋\200d♀":"1f3cb-2640","🏋\200d♂":"1f3cb-2642","🏌\200d♀":"1f3cc-2640","🏌\200d♂":"1f3cc-2642","👯♀️":"1f46f-2640","👯♂️":"1f46f-2642","💆♀️":"1f486-2640","💆♂️":"1f486-2642","💇♀️":"1f487-2640","💇♂️":"1f487-2642","🚣♀️":"1f6a3-2640","🚣♂️":"1f6a3-2642","🚴♀️":"1f6b4-2640","🚴♂️":"1f6b4-2642","🚵♀️":"1f6b5-2640","🚵♂️":"1f6b5-2642","🚶♀️":"1f6b6-2640","🚶♂️":"1f6b6-2642","🤸♀️":"1f938-2640","🤸♂️":"1f938-2642","🤹♀️":"1f939-2640","🤹♂️":"1f939-2642","🤼♀️":"1f93c-2640","🤼♂️":"1f93c-2642","🤽♀️":"1f93d-2640","🤽♂️":"1f93d-2642","🤾♀️":"1f93e-2640","🤾♂️":"1f93e-2642","💁♀️":"1f481-2640","💁♂️":"1f481-2642","🙅♀️":"1f645-2640","🙅♂️":"1f645-2642","🙆♀️":"1f646-2640","🙆♂️":"1f646-2642","🙇♀️":"1f647-2640","🙇♂️":"1f647-2642","🙋♀️":"1f64b-2640","🙋♂️":"1f64b-2642","🙍♀️":"1f64d-2640","🙍♂️":"1f64d-2642","🙎♀️":"1f64e-2640","🙎♂️":"1f64e-2642","🤦♀️":"1f926-2640","🤦♂️":"1f926-2642","🤷♀️":"1f937-2640","🤷♂️":"1f937-2642","🧙\200d♀":"1f9d9-2640","🧙♀️":"1f9d9-2640","🧙\200d♂":"1f9d9-2642","🧙♂️":"1f9d9-2642","🧚\200d♀":"1f9da-2640","🧚♀️":"1f9da-2640","🧚\200d♂":"1f9da-2642","🧚♂️":"1f9da-2642","🧛\200d♀":"1f9db-2640","🧛♀️":"1f9db-2640","🧛\200d♂":"1f9db-2642","🧛♂️":"1f9db-2642","🧜\200d♀":"1f9dc-2640","🧜♀️":"1f9dc-2640","🧜\200d♂":"1f9dc-2642","🧜♂️":"1f9dc-2642","🧝\200d♀":"1f9dd-2640","🧝♀️":"1f9dd-2640","🧝\200d♂":"1f9dd-2642","🧝♂️":"1f9dd-2642","🧞\200d♀":"1f9de-2640","🧞♀️":"1f9de-2640","🧞\200d♂":"1f9de-2642","🧞♂️":"1f9de-2642","🧟\200d♀":"1f9df-2640","🧟♀️":"1f9df-2640","🧟\200d♂":"1f9df-2642","🧟♂️":"1f9df-2642","🧖\200d♀":"1f9d6-2640","🧖♀️":"1f9d6-2640","🧖\200d♂":"1f9d6-2642","🧖♂️":"1f9d6-2642","🧗\200d♀":"1f9d7-2640","🧗♀️":"1f9d7-2640","🧗\200d♂":"1f9d7-2642","🧗♂️":"1f9d7-2642","🧘\200d♀":"1f9d8-2640","🧘♀️":"1f9d8-2640","🧘\200d♂":"1f9d8-2642","🧘♂️":"1f9d8-2642","🦸\200d♀":"1f9b8-2640","🦸♀️":"1f9b8-2640","🦸\200d♂":"1f9b8-2642","🦸♂️":"1f9b8-2642","🦹\200d♀":"1f9b9-2640","🦹♀️":"1f9b9-2640","🦹\200d♂":"1f9b9-2642","🦹♂️":"1f9b9-2642","🏴\200d☠":"1f3f4-2620","🏴☠️":"1f3f4-2620","#️⃣":"0023-20e3","0️⃣":"0030-20e3","1️⃣":"0031-20e3","2️⃣":"0032-20e3","3️⃣":"0033-20e3","4️⃣":"0034-20e3","5️⃣":"0035-20e3","6️⃣":"0036-20e3","7️⃣":"0037-20e3","8️⃣":"0038-20e3","9️⃣":"0039-20e3","*️⃣":"002a-20e3","⛹\200d♀":"26f9-2640","⛹\200d♂":"26f9-2642","🇨🇳":"1f1e8-1f1f3","🇩🇪":"1f1e9-1f1ea","🇪🇸":"1f1ea-1f1f8","🇫🇷":"1f1eb-1f1f7","🇬🇧":"1f1ec-1f1e7","🇮🇹":"1f1ee-1f1f9","🇯🇵":"1f1ef-1f1f5","🇰🇷":"1f1f0-1f1f7","🇺🇸":"1f1fa-1f1f8","🇷🇺":"1f1f7-1f1fa","🤴🏻":"1f934-1f3fb","🤴🏼":"1f934-1f3fc","🤴🏽":"1f934-1f3fd","🤴🏾":"1f934-1f3fe","🤴🏿":"1f934-1f3ff","🤶🏻":"1f936-1f3fb","🤶🏼":"1f936-1f3fc","🤶🏽":"1f936-1f3fd","🤶🏾":"1f936-1f3fe","🤶🏿":"1f936-1f3ff","🤵🏻":"1f935-1f3fb","🤵🏼":"1f935-1f3fc","🤵🏽":"1f935-1f3fd","🤵🏾":"1f935-1f3fe","🤵🏿":"1f935-1f3ff","🤷🏻":"1f937-1f3fb","🤷🏼":"1f937-1f3fc","🤷🏽":"1f937-1f3fd","🤷🏾":"1f937-1f3fe","🤷🏿":"1f937-1f3ff","🤦🏻":"1f926-1f3fb","🤦🏼":"1f926-1f3fc","🤦🏽":"1f926-1f3fd","🤦🏾":"1f926-1f3fe","🤦🏿":"1f926-1f3ff","🤰🏻":"1f930-1f3fb","🤰🏼":"1f930-1f3fc","🤰🏽":"1f930-1f3fd","🤰🏾":"1f930-1f3fe","🤰🏿":"1f930-1f3ff","🕺🏻":"1f57a-1f3fb","🕺🏼":"1f57a-1f3fc","🕺🏽":"1f57a-1f3fd","🕺🏾":"1f57a-1f3fe","🕺🏿":"1f57a-1f3ff","🤳🏻":"1f933-1f3fb","🤳🏼":"1f933-1f3fc","🤳🏽":"1f933-1f3fd","🤳🏾":"1f933-1f3fe","🤳🏿":"1f933-1f3ff","🤞🏻":"1f91e-1f3fb","🤞🏼":"1f91e-1f3fc","🤞🏽":"1f91e-1f3fd","🤞🏾":"1f91e-1f3fe","🤞🏿":"1f91e-1f3ff","🤙🏻":"1f919-1f3fb","🤙🏼":"1f919-1f3fc","🤙🏽":"1f919-1f3fd","🇦🇫":"1f1e6-1f1eb","🇦🇱":"1f1e6-1f1f1","🇩🇿":"1f1e9-1f1ff","🇦🇩":"1f1e6-1f1e9","🇦🇴":"1f1e6-1f1f4","🇦🇬":"1f1e6-1f1ec","🇦🇷":"1f1e6-1f1f7","🇦🇲":"1f1e6-1f1f2","🇦🇺":"1f1e6-1f1fa","🇦🇹":"1f1e6-1f1f9","🇦🇿":"1f1e6-1f1ff","🇧🇸":"1f1e7-1f1f8","🇧🇭":"1f1e7-1f1ed","🇧🇩":"1f1e7-1f1e9","🇧🇧":"1f1e7-1f1e7","🇧🇾":"1f1e7-1f1fe","🇧🇪":"1f1e7-1f1ea","🇧🇿":"1f1e7-1f1ff","🇧🇯":"1f1e7-1f1ef","🇧🇹":"1f1e7-1f1f9","🇧🇴":"1f1e7-1f1f4","🇧🇦":"1f1e7-1f1e6","🇧🇼":"1f1e7-1f1fc","🇧🇷":"1f1e7-1f1f7","🇧🇳":"1f1e7-1f1f3","🇧🇬":"1f1e7-1f1ec","🇧🇫":"1f1e7-1f1eb","🇧🇮":"1f1e7-1f1ee","🇰🇭":"1f1f0-1f1ed","🇨🇲":"1f1e8-1f1f2","🇨🇦":"1f1e8-1f1e6","🇨🇻":"1f1e8-1f1fb","🤙🏾":"1f919-1f3fe","🇨🇫":"1f1e8-1f1eb","🇹🇩":"1f1f9-1f1e9","🇨🇱":"1f1e8-1f1f1","🇨🇴":"1f1e8-1f1f4","🇰🇲":"1f1f0-1f1f2","🇨🇷":"1f1e8-1f1f7","🇨🇮":"1f1e8-1f1ee","🇭🇷":"1f1ed-1f1f7","🇨🇺":"1f1e8-1f1fa","🇨🇾":"1f1e8-1f1fe","🇨🇿":"1f1e8-1f1ff","🤙🏿":"1f919-1f3ff","🇨🇩":"1f1e8-1f1e9","🤛🏻":"1f91b-1f3fb","🇩🇰":"1f1e9-1f1f0","🇩🇯":"1f1e9-1f1ef","🇩🇲":"1f1e9-1f1f2","🇩🇴":"1f1e9-1f1f4","🇹🇱":"1f1f9-1f1f1","🇪🇨":"1f1ea-1f1e8","🇪🇬":"1f1ea-1f1ec","🇸🇻":"1f1f8-1f1fb","🇬🇶":"1f1ec-1f1f6","🇪🇷":"1f1ea-1f1f7","🇪🇪":"1f1ea-1f1ea","🇪🇹":"1f1ea-1f1f9","🤛🏼":"1f91b-1f3fc","🇫🇯":"1f1eb-1f1ef","🇫🇮":"1f1eb-1f1ee","🇬🇦":"1f1ec-1f1e6","🇬🇲":"1f1ec-1f1f2","🇬🇪":"1f1ec-1f1ea","🇬🇭":"1f1ec-1f1ed","🇬🇷":"1f1ec-1f1f7","🇬🇩":"1f1ec-1f1e9","🇬🇹":"1f1ec-1f1f9","🇬🇳":"1f1ec-1f1f3","🇬🇼":"1f1ec-1f1fc","🇬🇾":"1f1ec-1f1fe","🇭🇹":"1f1ed-1f1f9","🇭🇳":"1f1ed-1f1f3","🇭🇺":"1f1ed-1f1fa","🇮🇸":"1f1ee-1f1f8","🇮🇳":"1f1ee-1f1f3","🇮🇩":"1f1ee-1f1e9","🇮🇷":"1f1ee-1f1f7","🇮🇶":"1f1ee-1f1f6","🇮🇪":"1f1ee-1f1ea","🇮🇱":"1f1ee-1f1f1","🇯🇲":"1f1ef-1f1f2","🇯🇴":"1f1ef-1f1f4","🇰🇿":"1f1f0-1f1ff","🇰🇪":"1f1f0-1f1ea","🇰🇮":"1f1f0-1f1ee","🇽🇰":"1f1fd-1f1f0","🇰🇼":"1f1f0-1f1fc","🇰🇬":"1f1f0-1f1ec","🤛🏽":"1f91b-1f3fd","🇱🇦":"1f1f1-1f1e6","🇱🇻":"1f1f1-1f1fb","🇱🇧":"1f1f1-1f1e7","🇱🇸":"1f1f1-1f1f8","🇱🇷":"1f1f1-1f1f7","🇱🇾":"1f1f1-1f1fe","🇱🇮":"1f1f1-1f1ee","🇱🇹":"1f1f1-1f1f9","🇱🇺":"1f1f1-1f1fa","🇲🇰":"1f1f2-1f1f0","🇲🇬":"1f1f2-1f1ec","🇲🇼":"1f1f2-1f1fc","🇲🇾":"1f1f2-1f1fe","🇲🇻":"1f1f2-1f1fb","🇲🇱":"1f1f2-1f1f1","🇲🇹":"1f1f2-1f1f9","🇲🇭":"1f1f2-1f1ed","🇲🇷":"1f1f2-1f1f7","🇲🇺":"1f1f2-1f1fa","🇲🇽":"1f1f2-1f1fd","🇫🇲":"1f1eb-1f1f2","🇲🇩":"1f1f2-1f1e9","🇲🇨":"1f1f2-1f1e8","🇲🇳":"1f1f2-1f1f3","🇲🇪":"1f1f2-1f1ea","🇲🇦":"1f1f2-1f1e6","🇲🇿":"1f1f2-1f1ff","🇲🇲":"1f1f2-1f1f2","🇳🇦":"1f1f3-1f1e6","🇳🇷":"1f1f3-1f1f7","🇳🇵":"1f1f3-1f1f5","🇳🇱":"1f1f3-1f1f1","🇳🇿":"1f1f3-1f1ff","🇳🇮":"1f1f3-1f1ee","🇳🇪":"1f1f3-1f1ea","🇳🇬":"1f1f3-1f1ec","🇰🇵":"1f1f0-1f1f5","🇳🇴":"1f1f3-1f1f4","🇴🇲":"1f1f4-1f1f2","🇵🇰":"1f1f5-1f1f0","🇵🇼":"1f1f5-1f1fc","🇵🇦":"1f1f5-1f1e6","🇵🇬":"1f1f5-1f1ec","🤛🏾":"1f91b-1f3fe","🇵🇾":"1f1f5-1f1fe","🇵🇪":"1f1f5-1f1ea","🇵🇭":"1f1f5-1f1ed","🇵🇱":"1f1f5-1f1f1","🇵🇹":"1f1f5-1f1f9","🇶🇦":"1f1f6-1f1e6","🇹🇼":"1f1f9-1f1fc","🇨🇬":"1f1e8-1f1ec","🇷🇴":"1f1f7-1f1f4","🇷🇼":"1f1f7-1f1fc","🇰🇳":"1f1f0-1f1f3","🇱🇨":"1f1f1-1f1e8","🇻🇨":"1f1fb-1f1e8","🇼🇸":"1f1fc-1f1f8","🇸🇲":"1f1f8-1f1f2","🇸🇹":"1f1f8-1f1f9","🇸🇦":"1f1f8-1f1e6","🤛🏿":"1f91b-1f3ff","🇸🇳":"1f1f8-1f1f3","🇷🇸":"1f1f7-1f1f8","🇸🇨":"1f1f8-1f1e8","🇸🇱":"1f1f8-1f1f1","🇸🇬":"1f1f8-1f1ec","🇸🇰":"1f1f8-1f1f0","🇸🇮":"1f1f8-1f1ee","🇸🇧":"1f1f8-1f1e7","🇸🇴":"1f1f8-1f1f4","🇿🇦":"1f1ff-1f1e6","🇱🇰":"1f1f1-1f1f0","🇸🇩":"1f1f8-1f1e9","🇸🇷":"1f1f8-1f1f7","🇸🇿":"1f1f8-1f1ff","🇸🇪":"1f1f8-1f1ea","🇨🇭":"1f1e8-1f1ed","🇸🇾":"1f1f8-1f1fe","🇹🇯":"1f1f9-1f1ef","🇹🇿":"1f1f9-1f1ff","🇹🇭":"1f1f9-1f1ed","🇹🇬":"1f1f9-1f1ec","🇹🇴":"1f1f9-1f1f4","🇹🇹":"1f1f9-1f1f9","🇹🇳":"1f1f9-1f1f3","🇹🇷":"1f1f9-1f1f7","🇹🇲":"1f1f9-1f1f2","🇹🇻":"1f1f9-1f1fb","🇺🇬":"1f1fa-1f1ec","🇺🇦":"1f1fa-1f1e6","🇦🇪":"1f1e6-1f1ea","🇺🇾":"1f1fa-1f1fe","🇺🇿":"1f1fa-1f1ff","🇻🇺":"1f1fb-1f1fa","🇻🇦":"1f1fb-1f1e6","🇻🇪":"1f1fb-1f1ea","🇻🇳":"1f1fb-1f1f3","🇪🇭":"1f1ea-1f1ed","🤜🏻":"1f91c-1f3fb","🇾🇪":"1f1fe-1f1ea","🇿🇲":"1f1ff-1f1f2","🇿🇼":"1f1ff-1f1fc","🇵🇷":"1f1f5-1f1f7","🇰🇾":"1f1f0-1f1fe","🇧🇲":"1f1e7-1f1f2","🇵🇫":"1f1f5-1f1eb","🇵🇸":"1f1f5-1f1f8","🇳🇨":"1f1f3-1f1e8","🤜🏼":"1f91c-1f3fc","🇸🇭":"1f1f8-1f1ed","🇦🇼":"1f1e6-1f1fc","🇻🇮":"1f1fb-1f1ee","🇭🇰":"1f1ed-1f1f0","🇦🇨":"1f1e6-1f1e8","🇲🇸":"1f1f2-1f1f8","🇬🇺":"1f1ec-1f1fa","🇬🇱":"1f1ec-1f1f1","🇳🇺":"1f1f3-1f1fa","🇼🇫":"1f1fc-1f1eb","🇲🇴":"1f1f2-1f1f4","🤜🏽":"1f91c-1f3fd","🇫🇴":"1f1eb-1f1f4","🇫🇰":"1f1eb-1f1f0","🇯🇪":"1f1ef-1f1ea","🇦🇮":"1f1e6-1f1ee","🇬🇮":"1f1ec-1f1ee","🤜🏾":"1f91c-1f3fe","🤜🏿":"1f91c-1f3ff","🤚🏻":"1f91a-1f3fb","🤚🏼":"1f91a-1f3fc","🤚🏽":"1f91a-1f3fd","🤚🏾":"1f91a-1f3fe","👶🏻":"1f476-1f3fb","👶🏼":"1f476-1f3fc","👶🏽":"1f476-1f3fd","👶🏾":"1f476-1f3fe","👶🏿":"1f476-1f3ff","👦🏻":"1f466-1f3fb","👦🏼":"1f466-1f3fc","👦🏽":"1f466-1f3fd","👦🏾":"1f466-1f3fe","👦🏿":"1f466-1f3ff","👧🏻":"1f467-1f3fb","👧🏼":"1f467-1f3fc","👧🏽":"1f467-1f3fd","👧🏾":"1f467-1f3fe","👧🏿":"1f467-1f3ff","👨🏻":"1f468-1f3fb","👨🏼":"1f468-1f3fc","👨🏽":"1f468-1f3fd","👨🏾":"1f468-1f3fe","👨🏿":"1f468-1f3ff","👩🏻":"1f469-1f3fb","👩🏼":"1f469-1f3fc","👩🏽":"1f469-1f3fd","👩🏾":"1f469-1f3fe","👩🏿":"1f469-1f3ff","👰🏻":"1f470-1f3fb","👰🏼":"1f470-1f3fc","🤚🏿":"1f91a-1f3ff","👰🏽":"1f470-1f3fd","👰🏾":"1f470-1f3fe","👰🏿":"1f470-1f3ff","👱🏻":"1f471-1f3fb","👱🏼":"1f471-1f3fc","👱🏽":"1f471-1f3fd","👱🏾":"1f471-1f3fe","👱🏿":"1f471-1f3ff","👲🏻":"1f472-1f3fb","👲🏼":"1f472-1f3fc","👲🏽":"1f472-1f3fd","👲🏾":"1f472-1f3fe","👲🏿":"1f472-1f3ff","👳🏻":"1f473-1f3fb","👳🏼":"1f473-1f3fc","👳🏽":"1f473-1f3fd","👳🏾":"1f473-1f3fe","👳🏿":"1f473-1f3ff","👴🏻":"1f474-1f3fb","👴🏼":"1f474-1f3fc","👴🏽":"1f474-1f3fd","👴🏾":"1f474-1f3fe","👴🏿":"1f474-1f3ff","👵🏻":"1f475-1f3fb","👵🏼":"1f475-1f3fc","👵🏽":"1f475-1f3fd","👵🏾":"1f475-1f3fe","👵🏿":"1f475-1f3ff","👮🏻":"1f46e-1f3fb","👮🏼":"1f46e-1f3fc","👮🏽":"1f46e-1f3fd","👮🏾":"1f46e-1f3fe","👮🏿":"1f46e-1f3ff","👷🏻":"1f477-1f3fb","👷🏼":"1f477-1f3fc","👷🏽":"1f477-1f3fd","👷🏾":"1f477-1f3fe","👷🏿":"1f477-1f3ff","👸🏻":"1f478-1f3fb","👸🏼":"1f478-1f3fc","👸🏽":"1f478-1f3fd","👸🏾":"1f478-1f3fe","🤸🏻":"1f938-1f3fb","👸🏿":"1f478-1f3ff","💂🏻":"1f482-1f3fb","💂🏼":"1f482-1f3fc","🤸🏼":"1f938-1f3fc","💂🏽":"1f482-1f3fd","💂🏾":"1f482-1f3fe","💂🏿":"1f482-1f3ff","🤸🏽":"1f938-1f3fd","👼🏻":"1f47c-1f3fb","👼🏼":"1f47c-1f3fc","👼🏽":"1f47c-1f3fd","👼🏾":"1f47c-1f3fe","👼🏿":"1f47c-1f3ff","🙇🏻":"1f647-1f3fb","🙇🏼":"1f647-1f3fc","🙇🏽":"1f647-1f3fd","🙇🏾":"1f647-1f3fe","🙇🏿":"1f647-1f3ff","💁🏻":"1f481-1f3fb","💁🏼":"1f481-1f3fc","💁🏽":"1f481-1f3fd","🤸🏾":"1f938-1f3fe","💁🏾":"1f481-1f3fe","💁🏿":"1f481-1f3ff","🙅🏻":"1f645-1f3fb","🤸🏿":"1f938-1f3ff","🙅🏼":"1f645-1f3fc","🙅🏽":"1f645-1f3fd","🙅🏾":"1f645-1f3fe","🙅🏿":"1f645-1f3ff","🙆🏻":"1f646-1f3fb","🙆🏼":"1f646-1f3fc","🙆🏽":"1f646-1f3fd","🙆🏾":"1f646-1f3fe","🙆🏿":"1f646-1f3ff","🙋🏻":"1f64b-1f3fb","🙋🏼":"1f64b-1f3fc","🙋🏽":"1f64b-1f3fd","🙋🏾":"1f64b-1f3fe","🙋🏿":"1f64b-1f3ff","🙎🏻":"1f64e-1f3fb","🙎🏼":"1f64e-1f3fc","🙎🏽":"1f64e-1f3fd","🙎🏾":"1f64e-1f3fe","🙎🏿":"1f64e-1f3ff","🙍🏻":"1f64d-1f3fb","🙍🏼":"1f64d-1f3fc","🙍🏽":"1f64d-1f3fd","🙍🏾":"1f64d-1f3fe","🙍🏿":"1f64d-1f3ff","💆🏻":"1f486-1f3fb","💆🏼":"1f486-1f3fc","💆🏽":"1f486-1f3fd","💆🏾":"1f486-1f3fe","💆🏿":"1f486-1f3ff","💇🏻":"1f487-1f3fb","💇🏼":"1f487-1f3fc","💇🏽":"1f487-1f3fd","💇🏾":"1f487-1f3fe","💇🏿":"1f487-1f3ff","🙌🏻":"1f64c-1f3fb","🙌🏼":"1f64c-1f3fc","🙌🏽":"1f64c-1f3fd","🙌🏾":"1f64c-1f3fe","🙌🏿":"1f64c-1f3ff","👏🏻":"1f44f-1f3fb","👏🏼":"1f44f-1f3fc","👏🏽":"1f44f-1f3fd","🤽🏻":"1f93d-1f3fb","👏🏾":"1f44f-1f3fe","👏🏿":"1f44f-1f3ff","🤽🏼":"1f93d-1f3fc","👂🏻":"1f442-1f3fb","👂🏼":"1f442-1f3fc","👂🏽":"1f442-1f3fd","👂🏾":"1f442-1f3fe","👂🏿":"1f442-1f3ff","👃🏻":"1f443-1f3fb","👃🏼":"1f443-1f3fc","👃🏽":"1f443-1f3fd","👃🏾":"1f443-1f3fe","👃🏿":"1f443-1f3ff","💅🏻":"1f485-1f3fb","💅🏼":"1f485-1f3fc","💅🏽":"1f485-1f3fd","💅🏾":"1f485-1f3fe","💅🏿":"1f485-1f3ff","👋🏻":"1f44b-1f3fb","👋🏼":"1f44b-1f3fc","👋🏽":"1f44b-1f3fd","👋🏾":"1f44b-1f3fe","👋🏿":"1f44b-1f3ff","👍🏻":"1f44d-1f3fb","👍🏼":"1f44d-1f3fc","👍🏽":"1f44d-1f3fd","👍🏾":"1f44d-1f3fe","👍🏿":"1f44d-1f3ff","👎🏻":"1f44e-1f3fb","👎🏼":"1f44e-1f3fc","👎🏽":"1f44e-1f3fd","👎🏾":"1f44e-1f3fe","👎🏿":"1f44e-1f3ff","👆🏻":"1f446-1f3fb","👆🏼":"1f446-1f3fc","👆🏽":"1f446-1f3fd","👆🏾":"1f446-1f3fe","👆🏿":"1f446-1f3ff","👇🏻":"1f447-1f3fb","👇🏼":"1f447-1f3fc","👇🏽":"1f447-1f3fd","👇🏾":"1f447-1f3fe","👇🏿":"1f447-1f3ff","👈🏻":"1f448-1f3fb","👈🏼":"1f448-1f3fc","👈🏽":"1f448-1f3fd","👈🏾":"1f448-1f3fe","👈🏿":"1f448-1f3ff","👉🏻":"1f449-1f3fb","👉🏼":"1f449-1f3fc","👉🏽":"1f449-1f3fd","👉🏾":"1f449-1f3fe","👉🏿":"1f449-1f3ff","👌🏻":"1f44c-1f3fb","👌🏼":"1f44c-1f3fc","🤽🏽":"1f93d-1f3fd","👌🏽":"1f44c-1f3fd","👌🏾":"1f44c-1f3fe","🤽🏾":"1f93d-1f3fe","👌🏿":"1f44c-1f3ff","👊🏻":"1f44a-1f3fb","👊🏼":"1f44a-1f3fc","👊🏽":"1f44a-1f3fd","👊🏾":"1f44a-1f3fe","👊🏿":"1f44a-1f3ff","💪🏻":"1f4aa-1f3fb","💪🏼":"1f4aa-1f3fc","💪🏽":"1f4aa-1f3fd","💪🏾":"1f4aa-1f3fe","💪🏿":"1f4aa-1f3ff","👐🏻":"1f450-1f3fb","👐🏼":"1f450-1f3fc","👐🏽":"1f450-1f3fd","👐🏾":"1f450-1f3fe","👐🏿":"1f450-1f3ff","🙏🏻":"1f64f-1f3fb","🤽🏿":"1f93d-1f3ff","🙏🏼":"1f64f-1f3fc","🙏🏽":"1f64f-1f3fd","🤾🏻":"1f93e-1f3fb","🙏🏾":"1f64f-1f3fe","🙏🏿":"1f64f-1f3ff","🤾🏼":"1f93e-1f3fc","🏃🏻":"1f3c3-1f3fb","🏃🏼":"1f3c3-1f3fc","🏃🏽":"1f3c3-1f3fd","🏃🏾":"1f3c3-1f3fe","🤾🏽":"1f93e-1f3fd","🏃🏿":"1f3c3-1f3ff","🚶🏻":"1f6b6-1f3fb","🚶🏼":"1f6b6-1f3fc","🚶🏽":"1f6b6-1f3fd","🚶🏾":"1f6b6-1f3fe","🚶🏿":"1f6b6-1f3ff","💃🏻":"1f483-1f3fb","🤾🏾":"1f93e-1f3fe","💃🏼":"1f483-1f3fc","💃🏽":"1f483-1f3fd","🤾🏿":"1f93e-1f3ff","💃🏾":"1f483-1f3fe","💃🏿":"1f483-1f3ff","🤹🏻":"1f939-1f3fb","🚣🏻":"1f6a3-1f3fb","🚣🏼":"1f6a3-1f3fc","🚣🏽":"1f6a3-1f3fd","🚣🏾":"1f6a3-1f3fe","🚣🏿":"1f6a3-1f3ff","🏊🏻":"1f3ca-1f3fb","🏊🏼":"1f3ca-1f3fc","🤹🏼":"1f939-1f3fc","🏊🏽":"1f3ca-1f3fd","🏊🏾":"1f3ca-1f3fe","🏊🏿":"1f3ca-1f3ff","🤹🏽":"1f939-1f3fd","🏄🏻":"1f3c4-1f3fb","🏄🏼":"1f3c4-1f3fc","🏄🏽":"1f3c4-1f3fd","🏄🏾":"1f3c4-1f3fe","🏄🏿":"1f3c4-1f3ff","🛀🏻":"1f6c0-1f3fb","🛀🏼":"1f6c0-1f3fc","🤹🏾":"1f939-1f3fe","🛀🏽":"1f6c0-1f3fd","🛀🏾":"1f6c0-1f3fe","🛀🏿":"1f6c0-1f3ff","🤹🏿":"1f939-1f3ff","🚴🏻":"1f6b4-1f3fb","🚴🏼":"1f6b4-1f3fc","🚴🏽":"1f6b4-1f3fd","🚴🏾":"1f6b4-1f3fe","🚴🏿":"1f6b4-1f3ff","🚵🏻":"1f6b5-1f3fb","🚵🏼":"1f6b5-1f3fc","🚵🏽":"1f6b5-1f3fd","🚵🏾":"1f6b5-1f3fe","🚵🏿":"1f6b5-1f3ff","🏇🏻":"1f3c7-1f3fb","🏇🏼":"1f3c7-1f3fc","🏇🏽":"1f3c7-1f3fd","🏇🏾":"1f3c7-1f3fe","🏇🏿":"1f3c7-1f3ff","🖐🏻":"1f590-1f3fb","🖐🏼":"1f590-1f3fc","🖐🏽":"1f590-1f3fd","🖐🏾":"1f590-1f3fe","🖐🏿":"1f590-1f3ff","🖕🏻":"1f595-1f3fb","🖕🏼":"1f595-1f3fc","🖕🏽":"1f595-1f3fd","🖕🏾":"1f595-1f3fe","🖕🏿":"1f595-1f3ff","🖖🏻":"1f596-1f3fb","🖖🏼":"1f596-1f3fc","🖖🏽":"1f596-1f3fd","🖖🏾":"1f596-1f3fe","🖖🏿":"1f596-1f3ff","🎅🏻":"1f385-1f3fb","🎅🏼":"1f385-1f3fc","🎅🏽":"1f385-1f3fd","🎅🏾":"1f385-1f3fe","🎅🏿":"1f385-1f3ff","🤘🏻":"1f918-1f3fb","🤘🏼":"1f918-1f3fc","🤘🏽":"1f918-1f3fd","🤘🏾":"1f918-1f3fe","🤘🏿":"1f918-1f3ff","🏋🏻":"1f3cb-1f3fb","🏋🏼":"1f3cb-1f3fc","🏋🏽":"1f3cb-1f3fd","🏋🏾":"1f3cb-1f3fe","🏋🏿":"1f3cb-1f3ff","🇦🇽":"1f1e6-1f1fd","🇹🇦":"1f1f9-1f1e6","🇮🇴":"1f1ee-1f1f4","🇧🇶":"1f1e7-1f1f6","🇨🇽":"1f1e8-1f1fd","🇨🇨":"1f1e8-1f1e8","🇬🇬":"1f1ec-1f1ec","🇮🇲":"1f1ee-1f1f2","🇾🇹":"1f1fe-1f1f9","🇳🇫":"1f1f3-1f1eb","🇵🇳":"1f1f5-1f1f3","🇧🇱":"1f1e7-1f1f1","🇵🇲":"1f1f5-1f1f2","🇬🇸":"1f1ec-1f1f8","🇹🇰":"1f1f9-1f1f0","🇧🇻":"1f1e7-1f1fb","🇭🇲":"1f1ed-1f1f2","🇸🇯":"1f1f8-1f1ef","🇺🇲":"1f1fa-1f1f2","🇮🇨":"1f1ee-1f1e8","🇪🇦":"1f1ea-1f1e6","🇨🇵":"1f1e8-1f1f5","🇩🇬":"1f1e9-1f1ec","🇦🇸":"1f1e6-1f1f8","🇦🇶":"1f1e6-1f1f6","🇻🇬":"1f1fb-1f1ec","🇨🇰":"1f1e8-1f1f0","🇨🇼":"1f1e8-1f1fc","🇪🇺":"1f1ea-1f1fa","🇬🇫":"1f1ec-1f1eb","🇹🇫":"1f1f9-1f1eb","🇬🇵":"1f1ec-1f1f5","🇲🇶":"1f1f2-1f1f6","🇲🇵":"1f1f2-1f1f5","🇷🇪":"1f1f7-1f1ea","🇸🇽":"1f1f8-1f1fd","🇸🇸":"1f1f8-1f1f8","🇹🇨":"1f1f9-1f1e8","🇲🇫":"1f1f2-1f1eb","🕵🏻":"1f575-1f3fb","🕵🏼":"1f575-1f3fc","🕵🏽":"1f575-1f3fd","🕵🏾":"1f575-1f3fe","🕵🏿":"1f575-1f3ff","🏂🏻":"1f3c2-1f3fb","👨💻":"1f468-1f4bb","👩💻":"1f469-1f4bb","👨🏫":"1f468-1f3eb","👩🏫":"1f469-1f3eb","👨🎓":"1f468-1f393","👩🎓":"1f469-1f393","👨🎤":"1f468-1f3a4","👩🎤":"1f469-1f3a4","👨🔬":"1f468-1f52c","👩🔬":"1f469-1f52c","👨💼":"1f468-1f4bc","👩💼":"1f469-1f4bc","👨🔧":"1f468-1f527","👩🔧":"1f469-1f527","👨🏭":"1f468-1f3ed","👩🏭":"1f469-1f3ed","👨🍳":"1f468-1f373","👩🍳":"1f469-1f373","👨🌾":"1f468-1f33e","👩🌾":"1f469-1f33e","🕴🏻":"1f574-1f3fb","🕴🏼":"1f574-1f3fc","🕴🏽":"1f574-1f3fd","🕴🏾":"1f574-1f3fe","🕴🏿":"1f574-1f3ff","🛌🏻":"1f6cc-1f3fb","🛌🏼":"1f6cc-1f3fc","🛌🏽":"1f6cc-1f3fd","🛌🏾":"1f6cc-1f3fe","🛌🏿":"1f6cc-1f3ff","👨👦":"1f468-1f466","👨👧":"1f468-1f467","👩👦":"1f469-1f466","👩👧":"1f469-1f467","👨🎨":"1f468-1f3a8","👩🎨":"1f469-1f3a8","👨🚀":"1f468-1f680","👩🚀":"1f469-1f680","👨🚒":"1f468-1f692","👩🚒":"1f469-1f692","🇺🇳":"1f1fa-1f1f3","🏂🏼":"1f3c2-1f3fc","🏂🏽":"1f3c2-1f3fd","🏂🏾":"1f3c2-1f3fe","🏂🏿":"1f3c2-1f3ff","🏌🏻":"1f3cc-1f3fb","🏌🏼":"1f3cc-1f3fc","🏌🏽":"1f3cc-1f3fd","🏌🏾":"1f3cc-1f3fe","🏌🏿":"1f3cc-1f3ff","🤟🏻":"1f91f-1f3fb","🤟🏼":"1f91f-1f3fc","🤟🏽":"1f91f-1f3fd","🤟🏾":"1f91f-1f3fe","🤟🏿":"1f91f-1f3ff","🤱🏻":"1f931-1f3fb","🤱🏼":"1f931-1f3fc","🤱🏽":"1f931-1f3fd","🤱🏾":"1f931-1f3fe","🤱🏿":"1f931-1f3ff","🤲🏻":"1f932-1f3fb","🤲🏼":"1f932-1f3fc","🤲🏽":"1f932-1f3fd","🤲🏾":"1f932-1f3fe","🤲🏿":"1f932-1f3ff","🧑🏻":"1f9d1-1f3fb","🧑🏼":"1f9d1-1f3fc","🧑🏽":"1f9d1-1f3fd","🧑🏾":"1f9d1-1f3fe","🧑🏿":"1f9d1-1f3ff","🧒🏻":"1f9d2-1f3fb","🧒🏼":"1f9d2-1f3fc","🧒🏽":"1f9d2-1f3fd","🧒🏾":"1f9d2-1f3fe","🧒🏿":"1f9d2-1f3ff","🧓🏻":"1f9d3-1f3fb","🧓🏼":"1f9d3-1f3fc","🧓🏽":"1f9d3-1f3fd","🧓🏾":"1f9d3-1f3fe","🧓🏿":"1f9d3-1f3ff","🧔🏻":"1f9d4-1f3fb","🧔🏼":"1f9d4-1f3fc","🧔🏽":"1f9d4-1f3fd","🧔🏾":"1f9d4-1f3fe","🧔🏿":"1f9d4-1f3ff","🧕🏻":"1f9d5-1f3fb","🧕🏼":"1f9d5-1f3fc","🧕🏽":"1f9d5-1f3fd","🧕🏾":"1f9d5-1f3fe","🧕🏿":"1f9d5-1f3ff","🧖🏻":"1f9d6-1f3fb","🧖🏼":"1f9d6-1f3fc","🧖🏽":"1f9d6-1f3fd","🧖🏾":"1f9d6-1f3fe","🧖🏿":"1f9d6-1f3ff","🧗🏻":"1f9d7-1f3fb","🧗🏼":"1f9d7-1f3fc","🧗🏽":"1f9d7-1f3fd","🧗🏾":"1f9d7-1f3fe","🧗🏿":"1f9d7-1f3ff","🧘🏻":"1f9d8-1f3fb","🧘🏼":"1f9d8-1f3fc","🧘🏽":"1f9d8-1f3fd","🧘🏾":"1f9d8-1f3fe","🧘🏿":"1f9d8-1f3ff","🧙🏻":"1f9d9-1f3fb","🧙🏼":"1f9d9-1f3fc","🧙🏽":"1f9d9-1f3fd","🧙🏾":"1f9d9-1f3fe","🧙🏿":"1f9d9-1f3ff","🧚🏻":"1f9da-1f3fb","🧚🏼":"1f9da-1f3fc","🧚🏽":"1f9da-1f3fd","🧚🏾":"1f9da-1f3fe","🧚🏿":"1f9da-1f3ff","🧛🏻":"1f9db-1f3fb","🧛🏼":"1f9db-1f3fc","🧛🏽":"1f9db-1f3fd","🧛🏾":"1f9db-1f3fe","🧛🏿":"1f9db-1f3ff","🧜🏻":"1f9dc-1f3fb","🧜🏼":"1f9dc-1f3fc","🧜🏽":"1f9dc-1f3fd","🧜🏾":"1f9dc-1f3fe","🧜🏿":"1f9dc-1f3ff","🧝🏻":"1f9dd-1f3fb","🧝🏼":"1f9dd-1f3fc","🧝🏽":"1f9dd-1f3fd","🧝🏾":"1f9dd-1f3fe","🧝🏿":"1f9dd-1f3ff","🦵🏻":"1f9b5-1f3fb","🦵🏼":"1f9b5-1f3fc","🦵🏽":"1f9b5-1f3fd","🦵🏾":"1f9b5-1f3fe","🦵🏿":"1f9b5-1f3ff","🦶🏻":"1f9b6-1f3fb","🦶🏼":"1f9b6-1f3fc","🦶🏽":"1f9b6-1f3fd","🦶🏾":"1f9b6-1f3fe","🦶🏿":"1f9b6-1f3ff","🦸🏻":"1f9b8-1f3fb","🦸🏼":"1f9b8-1f3fc","🦸🏽":"1f9b8-1f3fd","🦸🏾":"1f9b8-1f3fe","🦸🏿":"1f9b8-1f3ff","🦹🏻":"1f9b9-1f3fb","🦹🏼":"1f9b9-1f3fc","🦹🏽":"1f9b9-1f3fd","🦹🏾":"1f9b9-1f3fe","🦹🏿":"1f9b9-1f3ff","👨🦰":"1f468-1f9b0","👨🦱":"1f468-1f9b1","👨🦲":"1f468-1f9b2","👨🦳":"1f468-1f9b3","👩🦰":"1f469-1f9b0","👩🦱":"1f469-1f9b1","👩🦲":"1f469-1f9b2","👩🦳":"1f469-1f9b3","🅿️":"1f17f","🈂️":"1f202","🈷️":"1f237","🎞️":"1f39e","🎟️":"1f39f","🏋️":"1f3cb","🏌️":"1f3cc","🏍️":"1f3cd","🏎️":"1f3ce","🎖️":"1f396","🎗️":"1f397","🌶️":"1f336","🌧️":"1f327","🌨️":"1f328","🌩️":"1f329","🌪️":"1f32a","🌫️":"1f32b","🌬️":"1f32c","🐿️":"1f43f","🕷️":"1f577","🕸️":"1f578","🌡️":"1f321","🎙️":"1f399","🎚️":"1f39a","🎛️":"1f39b","🏳️":"1f3f3","🏵️":"1f3f5","🏷️":"1f3f7","📽️":"1f4fd","🕉️":"1f549","🕊️":"1f54a","🕯️":"1f56f","🕰️":"1f570","🕳️":"1f573","🕶️":"1f576","🕹️":"1f579","🖇️":"1f587","🖊️":"1f58a","🖋️":"1f58b","🖌️":"1f58c","🖍️":"1f58d","🖥️":"1f5a5","🖨️":"1f5a8","🖲️":"1f5b2","🖼️":"1f5bc","🗂️":"1f5c2","🗃️":"1f5c3","🗄️":"1f5c4","🗑️":"1f5d1","🗒️":"1f5d2","🗓️":"1f5d3","🗜️":"1f5dc","🗝️":"1f5dd","🗞️":"1f5de","🗡️":"1f5e1","🗣️":"1f5e3","🗨️":"1f5e8","🗯️":"1f5ef","🗳️":"1f5f3","🗺️":"1f5fa","🛠️":"1f6e0","🛡️":"1f6e1","🛢️":"1f6e2","🛰️":"1f6f0","🍽️":"1f37d","👁️":"1f441","🕴️":"1f574","🕵️":"1f575","🖐️":"1f590","🏔️":"1f3d4","🏕️":"1f3d5","🏖️":"1f3d6","🏗️":"1f3d7","🏘️":"1f3d8","🏙️":"1f3d9","🏚️":"1f3da","🏛️":"1f3db","🏜️":"1f3dc","🏝️":"1f3dd","🏞️":"1f3de","🏟️":"1f3df","🛋️":"1f6cb","🛍️":"1f6cd","🛎️":"1f6ce","🛏️":"1f6cf","🛣️":"1f6e3","🛤️":"1f6e4","🛥️":"1f6e5","🛩️":"1f6e9","🛳️":"1f6f3","☝🏻":"261d-1f3fb","☝🏼":"261d-1f3fc","☝🏽":"261d-1f3fd","☝🏾":"261d-1f3fe","☝🏿":"261d-1f3ff","✌🏻":"270c-1f3fb","✌🏼":"270c-1f3fc","✌🏽":"270c-1f3fd","✌🏾":"270c-1f3fe","✌🏿":"270c-1f3ff","✊🏻":"270a-1f3fb","✊🏼":"270a-1f3fc","✊🏽":"270a-1f3fd","✊🏾":"270a-1f3fe","✊🏿":"270a-1f3ff","✋🏻":"270b-1f3fb","✋🏼":"270b-1f3fc","✋🏽":"270b-1f3fd","✋🏾":"270b-1f3fe","✋🏿":"270b-1f3ff","✍🏻":"270d-1f3fb","✍🏼":"270d-1f3fc","✍🏽":"270d-1f3fd","✍🏾":"270d-1f3fe","✍🏿":"270d-1f3ff","🌤️":"1f324","🌥️":"1f325","🌦️":"1f326","🖱️":"1f5b1","⛹🏻":"26f9-1f3fb","⛹🏼":"26f9-1f3fc","⛹🏽":"26f9-1f3fd","⛹🏾":"26f9-1f3fe","⛹🏿":"26f9-1f3ff","🅰️":"1f170","🅱️":"1f171","🅾️":"1f17e","🀄️":"1f004","🈚️":"1f21a","🈯️":"1f22f","🌍️":"1f30d","🌎️":"1f30e","🌏️":"1f30f","🌕️":"1f315","🌜️":"1f31c","🍸️":"1f378","🎓️":"1f393","🎧️":"1f3a7","🎬️":"1f3ac","🎭️":"1f3ad","🎮️":"1f3ae","🏂️":"1f3c2","🏄️":"1f3c4","🏆️":"1f3c6","🏊️":"1f3ca","🏠️":"1f3e0","🏭️":"1f3ed","🐈️":"1f408","🐕️":"1f415","🐟️":"1f41f","🐦️":"1f426","👂️":"1f442","👆️":"1f446","👇️":"1f447","👈️":"1f448","👉️":"1f449","👍️":"1f44d","👎️":"1f44e","👓️":"1f453","👪️":"1f46a","👽️":"1f47d","💣️":"1f4a3","💰️":"1f4b0","💳️":"1f4b3","💻️":"1f4bb","💿️":"1f4bf","📋️":"1f4cb","📚️":"1f4da","📟️":"1f4df","📤️":"1f4e4","📥️":"1f4e5","📦️":"1f4e6","📪️":"1f4ea","📫️":"1f4eb","📬️":"1f4ec","📭️":"1f4ed","📷️":"1f4f7","📹️":"1f4f9","📺️":"1f4fa","📻️":"1f4fb","🔈️":"1f508","🔍️":"1f50d","🔒️":"1f512","🔓️":"1f513","🕐️":"1f550","🕑️":"1f551","🕒️":"1f552","🕓️":"1f553","🕔️":"1f554","🕕️":"1f555","🕖️":"1f556","🕗️":"1f557","🕘️":"1f558","🕙️":"1f559","🕚️":"1f55a","🕛️":"1f55b","🕜️":"1f55c","🕝️":"1f55d","🕞️":"1f55e","🕟️":"1f55f","🕠️":"1f560","🕡️":"1f561","🕢️":"1f562","🕣️":"1f563","🕤️":"1f564","🕥️":"1f565","🕦️":"1f566","🕧️":"1f567","😐️":"1f610","🚇️":"1f687","🚍️":"1f68d","🚑️":"1f691","🚔️":"1f694","🚘️":"1f698","🚭️":"1f6ad","🚲️":"1f6b2","🚹️":"1f6b9","🚺️":"1f6ba","🚼️":"1f6bc","#⃣":"0023-20e3","0⃣":"0030-20e3","1⃣":"0031-20e3","2⃣":"0032-20e3","3⃣":"0033-20e3","4⃣":"0034-20e3","5⃣":"0035-20e3","6⃣":"0036-20e3","7⃣":"0037-20e3","8⃣":"0038-20e3","9⃣":"0039-20e3","‼️":"203c","⁉️":"2049","ℹ️":"2139","↔️":"2194","↕️":"2195","↖️":"2196","↗️":"2197","↘️":"2198","↙️":"2199","↩️":"21a9","↪️":"21aa","Ⓜ️":"24c2","▪️":"25aa","▫️":"25ab","▶️":"25b6","◀️":"25c0","◻️":"25fb","◼️":"25fc","☀️":"2600","☁️":"2601","☎️":"260e","☑️":"2611","☝️":"261d","☺️":"263a","♠️":"2660","♣️":"2663","♥️":"2665","♦️":"2666","♨️":"2668","♻️":"267b","⚠️":"26a0","✂️":"2702","✈️":"2708","✉️":"2709","✌️":"270c","✏️":"270f","✒️":"2712","✔️":"2714","✖️":"2716","✳️":"2733","✴️":"2734","❄️":"2744","❇️":"2747","❤️":"2764","➡️":"27a1","⤴️":"2934","⤵️":"2935","⬅️":"2b05","⬆️":"2b06","⬇️":"2b07","〰️":"3030","〽️":"303d","㊗️":"3297","㊙️":"3299","✝️":"271d","⌨️":"2328","✍️":"270d","*⃣":"002a-20e3","⏏️":"23cf","⏭️":"23ed","⏮️":"23ee","⏯️":"23ef","⏱️":"23f1","⏲️":"23f2","⏸️":"23f8","⏹️":"23f9","⏺️":"23fa","☂️":"2602","☃️":"2603","☄️":"2604","☘️":"2618","☠️":"2620","☢️":"2622","☣️":"2623","☦️":"2626","☪️":"262a","☮️":"262e","☯️":"262f","☸️":"2638","☹️":"2639","⚒️":"2692","⚔️":"2694","⚖️":"2696","⚗️":"2697","⚙️":"2699","⚛️":"269b","⚜️":"269c","⚰️":"26b0","⚱️":"26b1","⛈️":"26c8","⛏️":"26cf","⛑️":"26d1","⛓️":"26d3","⛩️":"26e9","⛰️":"26f0","⛱️":"26f1","⛴️":"26f4","⛷️":"26f7","⛸️":"26f8","⛹️":"26f9","✡️":"2721","❣️":"2763","♀️":"2640","♂️":"2642","⚕️":"2695","♟️":"265f","♾️":"267e","⌚️":"231a","⌛️":"231b","⏩️":"23e9","⏪️":"23ea","⏳️":"23f3","◽️":"25fd","◾️":"25fe","☔️":"2614","☕️":"2615","♈️":"2648","♉️":"2649","♊️":"264a","♋️":"264b","♌️":"264c","♍️":"264d","♎️":"264e","♏️":"264f","♐️":"2650","♑️":"2651","♒️":"2652","♓️":"2653","♿️":"267f","⚓️":"2693","⚡️":"26a1","⚪️":"26aa","⚫️":"26ab","⚽️":"26bd","⚾️":"26be","⛄️":"26c4","⛅️":"26c5","⛔️":"26d4","⛪️":"26ea","⛲️":"26f2","⛳️":"26f3","⛵️":"26f5","⛺️":"26fa","⛽️":"26fd","❓️":"2753","❗️":"2757","⬛️":"2b1b","⬜️":"2b1c","⭐️":"2b50","⭕️":"2b55","🥉":"1f949","🥈":"1f948","🥇":"1f947","🤺":"1f93a","🥅":"1f945","🤾":"1f93e","🇿":"1f1ff","🤽":"1f93d","🥋":"1f94b","🥊":"1f94a","🤼":"1f93c","🤹":"1f939","🤸":"1f938","🛶":"1f6f6","🛵":"1f6f5","🛴":"1f6f4","🛒":"1f6d2","🀄":"1f004","🃏":"1f0cf","🅰":"1f170","🅱":"1f171","🅾":"1f17e","🅿":"1f17f","🛑":"1f6d1","🆎":"1f18e","🆑":"1f191","🇾":"1f1fe","🆒":"1f192","🆓":"1f193","🆔":"1f194","🆕":"1f195","🆖":"1f196","🆗":"1f197","🆘":"1f198","🥄":"1f944","🆙":"1f199","🆚":"1f19a","🥂":"1f942","🥃":"1f943","🈁":"1f201","🈂":"1f202","🈚":"1f21a","🈯":"1f22f","🥙":"1f959","🈲":"1f232","🈳":"1f233","🈴":"1f234","🈵":"1f235","🈶":"1f236","🥘":"1f958","🈷":"1f237","🈸":"1f238","🈹":"1f239","🥗":"1f957","🈺":"1f23a","🉐":"1f250","🉑":"1f251","🌀":"1f300","🥖":"1f956","🌁":"1f301","🌂":"1f302","🌃":"1f303","🌄":"1f304","🌅":"1f305","🌆":"1f306","🥕":"1f955","🌇":"1f307","🌈":"1f308","🥔":"1f954","🌉":"1f309","🌊":"1f30a","🌋":"1f30b","🌌":"1f30c","🌏":"1f30f","🌑":"1f311","🥓":"1f953","🌓":"1f313","🌔":"1f314","🌕":"1f315","🌙":"1f319","🌛":"1f31b","🌟":"1f31f","🥒":"1f952","🌠":"1f320","🌰":"1f330","🥑":"1f951","🌱":"1f331","🌴":"1f334","🌵":"1f335","🌷":"1f337","🌸":"1f338","🌹":"1f339","🌺":"1f33a","🌻":"1f33b","🌼":"1f33c","🌽":"1f33d","🥐":"1f950","🌾":"1f33e","🌿":"1f33f","🍀":"1f340","🍁":"1f341","🍂":"1f342","🍃":"1f343","🍄":"1f344","🍅":"1f345","🍆":"1f346","🍇":"1f347","🍈":"1f348","🍉":"1f349","🍊":"1f34a","🥀":"1f940","🍌":"1f34c","🍍":"1f34d","🍎":"1f34e","🍏":"1f34f","🍑":"1f351","🍒":"1f352","🍓":"1f353","🦏":"1f98f","🍔":"1f354","🍕":"1f355","🍖":"1f356","🦎":"1f98e","🍗":"1f357","🍘":"1f358","🍙":"1f359","🦍":"1f98d","🍚":"1f35a","🍛":"1f35b","🦌":"1f98c","🍜":"1f35c","🍝":"1f35d","🍞":"1f35e","🍟":"1f35f","🦋":"1f98b","🍠":"1f360","🍡":"1f361","🦊":"1f98a","🍢":"1f362","🍣":"1f363","🦉":"1f989","🍤":"1f364","🍥":"1f365","🦈":"1f988","🍦":"1f366","🦇":"1f987","🍧":"1f367","🇽":"1f1fd","🍨":"1f368","🦆":"1f986","🍩":"1f369","🦅":"1f985","🍪":"1f36a","🖤":"1f5a4","🍫":"1f36b","🍬":"1f36c","🍭":"1f36d","🍮":"1f36e","🍯":"1f36f","🤞":"1f91e","🍰":"1f370","🍱":"1f371","🍲":"1f372","🤝":"1f91d","🍳":"1f373","🍴":"1f374","🍵":"1f375","🍶":"1f376","🍷":"1f377","🍸":"1f378","🍹":"1f379","🍺":"1f37a","🍻":"1f37b","🎀":"1f380","🎁":"1f381","🎂":"1f382","🎃":"1f383","🤛":"1f91b","🤜":"1f91c","🎄":"1f384","🎅":"1f385","🎆":"1f386","🤚":"1f91a","🎇":"1f387","🎈":"1f388","🎉":"1f389","🎊":"1f38a","🎋":"1f38b","🎌":"1f38c","🤙":"1f919","🎍":"1f38d","🕺":"1f57a","🎎":"1f38e","🤳":"1f933","🎏":"1f38f","🤰":"1f930","🎐":"1f390","🤦":"1f926","🤷":"1f937","🎑":"1f391","🎒":"1f392","🎓":"1f393","🎠":"1f3a0","🎡":"1f3a1","🎢":"1f3a2","🎣":"1f3a3","🎤":"1f3a4","🎥":"1f3a5","🎦":"1f3a6","🎧":"1f3a7","🤶":"1f936","🎨":"1f3a8","🤵":"1f935","🎩":"1f3a9","🎪":"1f3aa","🤴":"1f934","🎫":"1f3ab","🎬":"1f3ac","🎭":"1f3ad","🤧":"1f927","🎮":"1f3ae","🎯":"1f3af","🎰":"1f3b0","🎱":"1f3b1","🎲":"1f3b2","🎳":"1f3b3","🎴":"1f3b4","🤥":"1f925","🎵":"1f3b5","🎶":"1f3b6","🎷":"1f3b7","🤤":"1f924","🎸":"1f3b8","🎹":"1f3b9","🎺":"1f3ba","🤣":"1f923","🎻":"1f3bb","🎼":"1f3bc","🎽":"1f3bd","🤢":"1f922","🎾":"1f3be","🎿":"1f3bf","🏀":"1f3c0","🏁":"1f3c1","🤡":"1f921","🏂":"1f3c2","🏃":"1f3c3","🏄":"1f3c4","🏆":"1f3c6","🏈":"1f3c8","🏊":"1f3ca","🏠":"1f3e0","🏡":"1f3e1","🏢":"1f3e2","🏣":"1f3e3","🏥":"1f3e5","🏦":"1f3e6","🏧":"1f3e7","🏨":"1f3e8","🏩":"1f3e9","🏪":"1f3ea","🏫":"1f3eb","🏬":"1f3ec","🤠":"1f920","🏭":"1f3ed","🏮":"1f3ee","🏯":"1f3ef","🏰":"1f3f0","🐌":"1f40c","🐍":"1f40d","🐎":"1f40e","🐑":"1f411","🐒":"1f412","🐔":"1f414","🐗":"1f417","🐘":"1f418","🐙":"1f419","🐚":"1f41a","🐛":"1f41b","🐜":"1f41c","🐝":"1f41d","🐞":"1f41e","🐟":"1f41f","🐠":"1f420","🐡":"1f421","🐢":"1f422","🐣":"1f423","🐤":"1f424","🐥":"1f425","🐦":"1f426","🐧":"1f427","🐨":"1f428","🐩":"1f429","🐫":"1f42b","🐬":"1f42c","🐭":"1f42d","🐮":"1f42e","🐯":"1f42f","🐰":"1f430","🐱":"1f431","🐲":"1f432","🐳":"1f433","🐴":"1f434","🐵":"1f435","🐶":"1f436","🐷":"1f437","🐸":"1f438","🐹":"1f439","🐺":"1f43a","🐻":"1f43b","🐼":"1f43c","🐽":"1f43d","🐾":"1f43e","👀":"1f440","👂":"1f442","👃":"1f443","👄":"1f444","👅":"1f445","👆":"1f446","👇":"1f447","👈":"1f448","👉":"1f449","👊":"1f44a","👋":"1f44b","👌":"1f44c","👍":"1f44d","👎":"1f44e","👏":"1f44f","👐":"1f450","👑":"1f451","👒":"1f452","👓":"1f453","👔":"1f454","👕":"1f455","👖":"1f456","👗":"1f457","👘":"1f458","👙":"1f459","👚":"1f45a","👛":"1f45b","👜":"1f45c","👝":"1f45d","👞":"1f45e","👟":"1f45f","👠":"1f460","👡":"1f461","👢":"1f462","👣":"1f463","👤":"1f464","👦":"1f466","👧":"1f467","👨":"1f468","👩":"1f469","👪":"1f46a","👫":"1f46b","👮":"1f46e","👯":"1f46f","👰":"1f470","👱":"1f471","👲":"1f472","👳":"1f473","👴":"1f474","👵":"1f475","👶":"1f476","👷":"1f477","👸":"1f478","👹":"1f479","👺":"1f47a","👻":"1f47b","👼":"1f47c","👽":"1f47d","👾":"1f47e","👿":"1f47f","💀":"1f480","📇":"1f4c7","💁":"1f481","💂":"1f482","💃":"1f483","💄":"1f484","💅":"1f485","📒":"1f4d2","💆":"1f486","📓":"1f4d3","💇":"1f487","📔":"1f4d4","💈":"1f488","📕":"1f4d5","💉":"1f489","📖":"1f4d6","💊":"1f48a","📗":"1f4d7","💋":"1f48b","📘":"1f4d8","💌":"1f48c","📙":"1f4d9","💍":"1f48d","📚":"1f4da","💎":"1f48e","📛":"1f4db","💏":"1f48f","📜":"1f4dc","💐":"1f490","📝":"1f4dd","💑":"1f491","📞":"1f4de","💒":"1f492","📟":"1f4df","📠":"1f4e0","💓":"1f493","📡":"1f4e1","📢":"1f4e2","💔":"1f494","📣":"1f4e3","📤":"1f4e4","💕":"1f495","📥":"1f4e5","📦":"1f4e6","💖":"1f496","📧":"1f4e7","📨":"1f4e8","💗":"1f497","📩":"1f4e9","📪":"1f4ea","💘":"1f498","📫":"1f4eb","📮":"1f4ee","💙":"1f499","📰":"1f4f0","📱":"1f4f1","💚":"1f49a","📲":"1f4f2","📳":"1f4f3","💛":"1f49b","📴":"1f4f4","📶":"1f4f6","💜":"1f49c","📷":"1f4f7","📹":"1f4f9","💝":"1f49d","📺":"1f4fa","📻":"1f4fb","💞":"1f49e","📼":"1f4fc","🔃":"1f503","💟":"1f49f","🔊":"1f50a","🔋":"1f50b","💠":"1f4a0","🔌":"1f50c","🔍":"1f50d","💡":"1f4a1","🔎":"1f50e","🔏":"1f50f","💢":"1f4a2","🔐":"1f510","🔑":"1f511","💣":"1f4a3","🔒":"1f512","🔓":"1f513","💤":"1f4a4","🔔":"1f514","🔖":"1f516","💥":"1f4a5","🔗":"1f517","🔘":"1f518","💦":"1f4a6","🔙":"1f519","🔚":"1f51a","💧":"1f4a7","🔛":"1f51b","🔜":"1f51c","💨":"1f4a8","🔝":"1f51d","🔞":"1f51e","💩":"1f4a9","🔟":"1f51f","💪":"1f4aa","🔠":"1f520","🔡":"1f521","💫":"1f4ab","🔢":"1f522","🔣":"1f523","💬":"1f4ac","🔤":"1f524","🔥":"1f525","💮":"1f4ae","🔦":"1f526","🔧":"1f527","💯":"1f4af","🔨":"1f528","🔩":"1f529","💰":"1f4b0","🔪":"1f52a","🔫":"1f52b","💱":"1f4b1","🔮":"1f52e","💲":"1f4b2","🔯":"1f52f","💳":"1f4b3","🔰":"1f530","🔱":"1f531","💴":"1f4b4","🔲":"1f532","🔳":"1f533","💵":"1f4b5","🔴":"1f534","🔵":"1f535","💸":"1f4b8","🔶":"1f536","🔷":"1f537","💹":"1f4b9","🔸":"1f538","🔹":"1f539","💺":"1f4ba","🔺":"1f53a","🔻":"1f53b","💻":"1f4bb","🔼":"1f53c","💼":"1f4bc","🔽":"1f53d","🕐":"1f550","💽":"1f4bd","🕑":"1f551","💾":"1f4be","🕒":"1f552","💿":"1f4bf","🕓":"1f553","📀":"1f4c0","🕔":"1f554","🕕":"1f555","📁":"1f4c1","🕖":"1f556","🕗":"1f557","📂":"1f4c2","🕘":"1f558","🕙":"1f559","📃":"1f4c3","🕚":"1f55a","🕛":"1f55b","📄":"1f4c4","🗻":"1f5fb","🗼":"1f5fc","📅":"1f4c5","🗽":"1f5fd","🗾":"1f5fe","📆":"1f4c6","🗿":"1f5ff","😁":"1f601","😂":"1f602","😃":"1f603","📈":"1f4c8","😄":"1f604","😅":"1f605","📉":"1f4c9","😆":"1f606","😉":"1f609","📊":"1f4ca","😊":"1f60a","😋":"1f60b","📋":"1f4cb","😌":"1f60c","😍":"1f60d","📌":"1f4cc","😏":"1f60f","😒":"1f612","📍":"1f4cd","😓":"1f613","😔":"1f614","📎":"1f4ce","😖":"1f616","😘":"1f618","📏":"1f4cf","😚":"1f61a","😜":"1f61c","📐":"1f4d0","😝":"1f61d","😞":"1f61e","📑":"1f4d1","😠":"1f620","😡":"1f621","😢":"1f622","😣":"1f623","😤":"1f624","😥":"1f625","😨":"1f628","😩":"1f629","😪":"1f62a","😫":"1f62b","😭":"1f62d","😰":"1f630","😱":"1f631","😲":"1f632","😳":"1f633","😵":"1f635","😷":"1f637","😸":"1f638","😹":"1f639","😺":"1f63a","😻":"1f63b","😼":"1f63c","😽":"1f63d","😾":"1f63e","😿":"1f63f","🙀":"1f640","🙅":"1f645","🙆":"1f646","🙇":"1f647","🙈":"1f648","🙉":"1f649","🙊":"1f64a","🙋":"1f64b","🙌":"1f64c","🙍":"1f64d","🙎":"1f64e","🙏":"1f64f","🚀":"1f680","🚃":"1f683","🚄":"1f684","🚅":"1f685","🚇":"1f687","🚉":"1f689","🚌":"1f68c","🚏":"1f68f","🚑":"1f691","🚒":"1f692","🚓":"1f693","🚕":"1f695","🚗":"1f697","🚙":"1f699","🚚":"1f69a","🚢":"1f6a2","🚤":"1f6a4","🚥":"1f6a5","🚧":"1f6a7","🚨":"1f6a8","🚩":"1f6a9","🚪":"1f6aa","🚫":"1f6ab","🚬":"1f6ac","🚭":"1f6ad","🚲":"1f6b2","🚶":"1f6b6","🚹":"1f6b9","🚺":"1f6ba","🚻":"1f6bb","🚼":"1f6bc","🚽":"1f6bd","🚾":"1f6be","🛀":"1f6c0","🤘":"1f918","😀":"1f600","😇":"1f607","😈":"1f608","😎":"1f60e","😐":"1f610","😑":"1f611","😕":"1f615","😗":"1f617","😙":"1f619","😛":"1f61b","😟":"1f61f","😦":"1f626","😧":"1f627","😬":"1f62c","😮":"1f62e","😯":"1f62f","😴":"1f634","😶":"1f636","🚁":"1f681","🚂":"1f682","🚆":"1f686","🚈":"1f688","🚊":"1f68a","🚍":"1f68d","🚎":"1f68e","🚐":"1f690","🚔":"1f694","🚖":"1f696","🚘":"1f698","🚛":"1f69b","🚜":"1f69c","🚝":"1f69d","🚞":"1f69e","🚟":"1f69f","🚠":"1f6a0","🚡":"1f6a1","🚣":"1f6a3","🚦":"1f6a6","🚮":"1f6ae","🚯":"1f6af","🚰":"1f6b0","🚱":"1f6b1","🚳":"1f6b3","🚴":"1f6b4","🚵":"1f6b5","🚷":"1f6b7","🚸":"1f6b8","🚿":"1f6bf","🛁":"1f6c1","🛂":"1f6c2","🛃":"1f6c3","🛄":"1f6c4","🛅":"1f6c5","🌍":"1f30d","🌎":"1f30e","🌐":"1f310","🌒":"1f312","🌖":"1f316","🌗":"1f317","🌘":"1f318","🌚":"1f31a","🌜":"1f31c","🌝":"1f31d","🌞":"1f31e","🌲":"1f332","🌳":"1f333","🍋":"1f34b","🍐":"1f350","🍼":"1f37c","🏇":"1f3c7","🏉":"1f3c9","🏤":"1f3e4","🐀":"1f400","🐁":"1f401","🐂":"1f402","🐃":"1f403","🐄":"1f404","🐅":"1f405","🐆":"1f406","🐇":"1f407","🐈":"1f408","🐉":"1f409","🐊":"1f40a","🐋":"1f40b","🐏":"1f40f","🐐":"1f410","🐓":"1f413","🐕":"1f415","🐖":"1f416","🐪":"1f42a","👥":"1f465","👬":"1f46c","👭":"1f46d","💭":"1f4ad","💶":"1f4b6","💷":"1f4b7","📬":"1f4ec","📭":"1f4ed","📯":"1f4ef","📵":"1f4f5","🔀":"1f500","🔁":"1f501","🔂":"1f502","🔄":"1f504","🔅":"1f505","🔆":"1f506","🔇":"1f507","🔉":"1f509","🔕":"1f515","🔬":"1f52c","🔭":"1f52d","🕜":"1f55c","🕝":"1f55d","🕞":"1f55e","🕟":"1f55f","🕠":"1f560","🕡":"1f561","🕢":"1f562","🕣":"1f563","🕤":"1f564","🕥":"1f565","🕦":"1f566","🕧":"1f567","🔈":"1f508","🚋":"1f68b","🎞":"1f39e","🎟":"1f39f","🏅":"1f3c5","🏋":"1f3cb","🏌":"1f3cc","🏍":"1f3cd","🏎":"1f3ce","🎖":"1f396","🎗":"1f397","🌶":"1f336","🌧":"1f327","🌨":"1f328","🌩":"1f329","🌪":"1f32a","🌫":"1f32b","🌬":"1f32c","🐿":"1f43f","🕷":"1f577","🕸":"1f578","🌡":"1f321","🎙":"1f399","🎚":"1f39a","🎛":"1f39b","🏳":"1f3f3","🏴":"1f3f4","🏵":"1f3f5","🏷":"1f3f7","📸":"1f4f8","📽":"1f4fd","🕊":"1f54a","🕯":"1f56f","🕰":"1f570","🕳":"1f573","🕶":"1f576","🕹":"1f579","🖇":"1f587","🖊":"1f58a","🖋":"1f58b","🖌":"1f58c","🖍":"1f58d","🖥":"1f5a5","🖨":"1f5a8","🖲":"1f5b2","🖼":"1f5bc","🗂":"1f5c2","🗃":"1f5c3","🗄":"1f5c4","🗑":"1f5d1","🗒":"1f5d2","🗓":"1f5d3","🗜":"1f5dc","🗞":"1f5de","🗡":"1f5e1","🗣":"1f5e3","🗨":"1f5e8","🗯":"1f5ef","🗳":"1f5f3","🗺":"1f5fa","🛌":"1f6cc","🛠":"1f6e0","🛡":"1f6e1","🛢":"1f6e2","🛰":"1f6f0","🍽":"1f37d","👁":"1f441","🕴":"1f574","🕵":"1f575","🖐":"1f590","🖕":"1f595","🖖":"1f596","🙁":"1f641","🙂":"1f642","🏔":"1f3d4","🏕":"1f3d5","🏖":"1f3d6","🏗":"1f3d7","🏘":"1f3d8","🏙":"1f3d9","🏚":"1f3da","🏛":"1f3db","🏜":"1f3dc","🏝":"1f3dd","🏞":"1f3de","🏟":"1f3df","🛋":"1f6cb","🛍":"1f6cd","🛎":"1f6ce","🛏":"1f6cf","🛣":"1f6e3","🛤":"1f6e4","🛥":"1f6e5","🛩":"1f6e9","🛫":"1f6eb","🛬":"1f6ec","🛳":"1f6f3","🏻":"1f3fb","🏼":"1f3fc","🏽":"1f3fd","🏾":"1f3fe","🏿":"1f3ff","🌤":"1f324","🌥":"1f325","🌦":"1f326","🖱":"1f5b1","🙃":"1f643","🤑":"1f911","🤓":"1f913","🤗":"1f917","🙄":"1f644","🤔":"1f914","🤐":"1f910","🤒":"1f912","🤕":"1f915","🤖":"1f916","🦁":"1f981","🦄":"1f984","🦂":"1f982","🦀":"1f980","🦃":"1f983","🧀":"1f9c0","🌭":"1f32d","🌮":"1f32e","🌯":"1f32f","🍿":"1f37f","🍾":"1f37e","🏹":"1f3f9","🏺":"1f3fa","🛐":"1f6d0","🕋":"1f54b","🕌":"1f54c","🕍":"1f54d","🕎":"1f54e","📿":"1f4ff","🏏":"1f3cf","🏐":"1f3d0","🏑":"1f3d1","🏒":"1f3d2","🏓":"1f3d3","🏸":"1f3f8","🥁":"1f941","🦐":"1f990","🦑":"1f991","🥚":"1f95a","🥛":"1f95b","🥜":"1f95c","🥝":"1f95d","🥞":"1f95e","🇼":"1f1fc","🇻":"1f1fb","🇺":"1f1fa","🇹":"1f1f9","🇸":"1f1f8","🇷":"1f1f7","🇶":"1f1f6","🇵":"1f1f5","🇴":"1f1f4","🇳":"1f1f3","🇲":"1f1f2","🇱":"1f1f1","🇰":"1f1f0","🇯":"1f1ef","🇮":"1f1ee","🇭":"1f1ed","🇬":"1f1ec","🇫":"1f1eb","🇪":"1f1ea","🇩":"1f1e9","🇨":"1f1e8","🇧":"1f1e7","🇦":"1f1e6","🛷":"1f6f7","🛸":"1f6f8","🤟":"1f91f","🤨":"1f928","🤩":"1f929","🤪":"1f92a","🤫":"1f92b","🤬":"1f92c","🤭":"1f92d","🤮":"1f92e","🤯":"1f92f","🤱":"1f931","🤲":"1f932","🥌":"1f94c","🥟":"1f95f","🥠":"1f960","🥡":"1f961","🥢":"1f962","🥣":"1f963","🥤":"1f964","🥥":"1f965","🥦":"1f966","🥧":"1f967","🥨":"1f968","🥩":"1f969","🥪":"1f96a","🥫":"1f96b","🦒":"1f992","🦓":"1f993","🦔":"1f994","🦕":"1f995","🦖":"1f996","🦗":"1f997","🧐":"1f9d0","🧑":"1f9d1","🧒":"1f9d2","🧓":"1f9d3","🧔":"1f9d4","🧕":"1f9d5","🧖":"1f9d6","🧗":"1f9d7","🧘":"1f9d8","🧙":"1f9d9","🧚":"1f9da","🧛":"1f9db","🧜":"1f9dc","🧝":"1f9dd","🧞":"1f9de","🧟":"1f9df","🧠":"1f9e0","🧡":"1f9e1","🧢":"1f9e2","🧣":"1f9e3","🧤":"1f9e4","🧥":"1f9e5","🧦":"1f9e6","🛹":"1f6f9","🥍":"1f94d","🥎":"1f94e","🥏":"1f94f","🥬":"1f96c","🥭":"1f96d","🥮":"1f96e","🥯":"1f96f","🥰":"1f970","🥳":"1f973","🥴":"1f974","🥵":"1f975","🥶":"1f976","🥺":"1f97a","🥼":"1f97c","🥽":"1f97d","🥾":"1f97e","🥿":"1f97f","🦘":"1f998","🦙":"1f999","🦚":"1f99a","🦛":"1f99b","🦜":"1f99c","🦝":"1f99d","🦞":"1f99e","🦟":"1f99f","🦠":"1f9a0","🦡":"1f9a1","🦢":"1f9a2","🦰":"1f9b0","🦱":"1f9b1","🦲":"1f9b2","🦳":"1f9b3","🦴":"1f9b4","🦵":"1f9b5","🦶":"1f9b6","🦷":"1f9b7","🦸":"1f9b8","🦹":"1f9b9","🧁":"1f9c1","🧂":"1f9c2","🧧":"1f9e7","🧨":"1f9e8","🧩":"1f9e9","🧪":"1f9ea","🧫":"1f9eb","🧬":"1f9ec","🧭":"1f9ed","🧮":"1f9ee","🧯":"1f9ef","🧰":"1f9f0","🧱":"1f9f1","🧲":"1f9f2","🧳":"1f9f3","🧴":"1f9f4","🧵":"1f9f5","🧶":"1f9f6","🧷":"1f9f7","🧸":"1f9f8","🧹":"1f9f9","🧺":"1f9fa","🧻":"1f9fb","🧼":"1f9fc","🧽":"1f9fd","🧾":"1f9fe","🧿":"1f9ff","⌚":"231a","⌛":"231b","⏩":"23e9","⏪":"23ea","⏫":"23eb","⏬":"23ec","⏰":"23f0","⏳":"23f3","Ⓜ":"24c2","◽":"25fd","◾":"25fe","☀":"2600","☁":"2601","☎":"260e","☔":"2614","☕":"2615","☝":"261d","☺":"263a","♈":"2648","♉":"2649","♊":"264a","♋":"264b","♌":"264c","♍":"264d","♎":"264e","♏":"264f","♐":"2650","♑":"2651","♒":"2652","♓":"2653","♠":"2660","♣":"2663","♥":"2665","♦":"2666","♨":"2668","♻":"267b","♿":"267f","⚓":"2693","⚡":"26a1","⚪":"26aa","⚫":"26ab","⚽":"26bd","⚾":"26be","⛄":"26c4","⛅":"26c5","⛎":"26ce","⛔":"26d4","⛪":"26ea","⛲":"26f2","⛳":"26f3","⛵":"26f5","⛺":"26fa","⛽":"26fd","✂":"2702","✅":"2705","✈":"2708","✉":"2709","✊":"270a","✋":"270b","✌":"270c","✏":"270f","✒":"2712","✨":"2728","✳":"2733","✴":"2734","❄":"2744","❇":"2747","❌":"274c","❎":"274e","❓":"2753","❔":"2754","❕":"2755","❗":"2757","❤":"2764","➕":"2795","➖":"2796","➗":"2797","➰":"27b0","⬛":"2b1b","⬜":"2b1c","⭐":"2b50","⭕":"2b55","〽":"303d","㊗":"3297","㊙":"3299","➿":"27bf","⌨":"2328","✍":"270d","⏱":"23f1","⏲":"23f2","☂":"2602","☃":"2603","☄":"2604","☘":"2618","☠":"2620","☹":"2639","⚒":"2692","⚔":"2694","⚖":"2696","⚗":"2697","⚙":"2699","⚜":"269c","⚰":"26b0","⚱":"26b1","⛈":"26c8","⛏":"26cf","⛑":"26d1","⛓":"26d3","⛩":"26e9","⛰":"26f0","⛱":"26f1","⛴":"26f4","⛷":"26f7","⛸":"26f8","⛹":"26f9","❣":"2763","♟":"265f","♾":"267e"},d.jsEscapeMapGreedy={"👩❤💋👩":"1f469-2764-1f48b-1f469","👨❤💋👨":"1f468-2764-1f48b-1f468","👩❤💋👨":"1f469-2764-1f48b-1f468","👩❤👩":"1f469-2764-1f469","👨❤👨":"1f468-2764-1f468","🏌🏻♂":"1f3cc-1f3fb-2642","🏌🏼♂":"1f3cc-1f3fc-2642","🏌🏽♂":"1f3cc-1f3fd-2642","🏌🏾♂":"1f3cc-1f3fe-2642","🏌🏿♂":"1f3cc-1f3ff-2642","🏌🏻♀":"1f3cc-1f3fb-2640","🏌🏼♀":"1f3cc-1f3fc-2640","🏌🏽♀":"1f3cc-1f3fd-2640","🏌🏾♀":"1f3cc-1f3fe-2640","🏌🏿♀":"1f3cc-1f3ff-2640","👨🏻⚖":"1f468-1f3fb-2696","👨🏼⚖":"1f468-1f3fc-2696","👨🏽⚖":"1f468-1f3fd-2696","👨🏾⚖":"1f468-1f3fe-2696","👨🏿⚖":"1f468-1f3ff-2696","👩🏻⚖":"1f469-1f3fb-2696","👩🏼⚖":"1f469-1f3fc-2696","👩🏽⚖":"1f469-1f3fd-2696","👩🏾⚖":"1f469-1f3fe-2696","👩🏿⚖":"1f469-1f3ff-2696","👨🏻✈":"1f468-1f3fb-2708","👨🏼✈":"1f468-1f3fc-2708","👨🏽✈":"1f468-1f3fd-2708","👨🏾✈":"1f468-1f3fe-2708","👨🏿✈":"1f468-1f3ff-2708","👩🏻✈":"1f469-1f3fb-2708","👩🏼✈":"1f469-1f3fc-2708","👩🏽✈":"1f469-1f3fd-2708","👩🏾✈":"1f469-1f3fe-2708","👩🏿✈":"1f469-1f3ff-2708","👩❤👨":"1f469-2764-1f468","👨🏻⚕":"1f468-1f3fb-2695","👨🏼⚕":"1f468-1f3fc-2695","👨🏽⚕":"1f468-1f3fd-2695","👨🏾⚕":"1f468-1f3fe-2695","👨🏿⚕":"1f468-1f3ff-2695","👩🏻⚕":"1f469-1f3fb-2695","👩🏼⚕":"1f469-1f3fc-2695","👩🏽⚕":"1f469-1f3fd-2695","👩🏾⚕":"1f469-1f3fe-2695","👩🏿⚕":"1f469-1f3ff-2695","👮🏻♀":"1f46e-1f3fb-2640","👮🏻♂":"1f46e-1f3fb-2642","👮🏼♀":"1f46e-1f3fc-2640","👮🏼♂":"1f46e-1f3fc-2642","👮🏽♀":"1f46e-1f3fd-2640","👮🏽♂":"1f46e-1f3fd-2642","👮🏾♀":"1f46e-1f3fe-2640","👮🏾♂":"1f46e-1f3fe-2642","👮🏿♀":"1f46e-1f3ff-2640","👮🏿♂":"1f46e-1f3ff-2642","👱🏻♀":"1f471-1f3fb-2640","👱🏻♂":"1f471-1f3fb-2642","👱🏼♀":"1f471-1f3fc-2640","👱🏼♂":"1f471-1f3fc-2642","👱🏽♀":"1f471-1f3fd-2640","👱🏽♂":"1f471-1f3fd-2642","👱🏾♀":"1f471-1f3fe-2640","👱🏾♂":"1f471-1f3fe-2642","👱🏿♀":"1f471-1f3ff-2640","👱🏿♂":"1f471-1f3ff-2642","👳🏻♀":"1f473-1f3fb-2640","👳🏻♂":"1f473-1f3fb-2642","👳🏼♀":"1f473-1f3fc-2640","👳🏼♂":"1f473-1f3fc-2642","👳🏽♀":"1f473-1f3fd-2640","👳🏽♂":"1f473-1f3fd-2642","👳🏾♀":"1f473-1f3fe-2640","👳🏾♂":"1f473-1f3fe-2642","👳🏿♀":"1f473-1f3ff-2640","👳🏿♂":"1f473-1f3ff-2642","👷🏻♀":"1f477-1f3fb-2640","👷🏻♂":"1f477-1f3fb-2642","👷🏼♀":"1f477-1f3fc-2640","👷🏼♂":"1f477-1f3fc-2642","👷🏽♀":"1f477-1f3fd-2640","👷🏽♂":"1f477-1f3fd-2642","👷🏾♀":"1f477-1f3fe-2640","👷🏾♂":"1f477-1f3fe-2642","👷🏿♀":"1f477-1f3ff-2640","👷🏿♂":"1f477-1f3ff-2642","💂🏻♀":"1f482-1f3fb-2640","💂🏻♂":"1f482-1f3fb-2642","💂🏼♀":"1f482-1f3fc-2640","💂🏼♂":"1f482-1f3fc-2642","💂🏽♀":"1f482-1f3fd-2640","💂🏽♂":"1f482-1f3fd-2642","💂🏾♀":"1f482-1f3fe-2640","💂🏾♂":"1f482-1f3fe-2642","💂🏿♀":"1f482-1f3ff-2640","💂🏿♂":"1f482-1f3ff-2642","🕵🏻♀":"1f575-1f3fb-2640","🕵🏻♂":"1f575-1f3fb-2642","🕵🏼♀":"1f575-1f3fc-2640","🕵🏼♂":"1f575-1f3fc-2642","🕵🏽♀":"1f575-1f3fd-2640","🕵🏽♂":"1f575-1f3fd-2642","🕵🏾♀":"1f575-1f3fe-2640","🕵🏾♂":"1f575-1f3fe-2642","🕵🏿♀":"1f575-1f3ff-2640","🕵🏿♂":"1f575-1f3ff-2642","🏃🏻♀":"1f3c3-1f3fb-2640","🏃🏻♂":"1f3c3-1f3fb-2642","🏃🏼♀":"1f3c3-1f3fc-2640","🏃🏼♂":"1f3c3-1f3fc-2642","🏃🏽♀":"1f3c3-1f3fd-2640","🏃🏽♂":"1f3c3-1f3fd-2642","🏃🏾♀":"1f3c3-1f3fe-2640","🏃🏾♂":"1f3c3-1f3fe-2642","🏃🏿♀":"1f3c3-1f3ff-2640","🏃🏿♂":"1f3c3-1f3ff-2642","🏄🏻♀":"1f3c4-1f3fb-2640","🏄🏻♂":"1f3c4-1f3fb-2642","🏄🏼♀":"1f3c4-1f3fc-2640","🏄🏼♂":"1f3c4-1f3fc-2642","🏄🏽♀":"1f3c4-1f3fd-2640","🏄🏽♂":"1f3c4-1f3fd-2642","🏄🏾♀":"1f3c4-1f3fe-2640","🏄🏾♂":"1f3c4-1f3fe-2642","🏄🏿♀":"1f3c4-1f3ff-2640","🏄🏿♂":"1f3c4-1f3ff-2642","🏊🏻♀":"1f3ca-1f3fb-2640","🏊🏻♂":"1f3ca-1f3fb-2642","🏊🏼♀":"1f3ca-1f3fc-2640","🏊🏼♂":"1f3ca-1f3fc-2642","🏊🏽♀":"1f3ca-1f3fd-2640","🏊🏽♂":"1f3ca-1f3fd-2642","🏊🏾♀":"1f3ca-1f3fe-2640","🏊🏾♂":"1f3ca-1f3fe-2642","🏊🏿♀":"1f3ca-1f3ff-2640","🏊🏿♂":"1f3ca-1f3ff-2642","🏋🏻♀":"1f3cb-1f3fb-2640","🏋🏻♂":"1f3cb-1f3fb-2642","🏋🏼♀":"1f3cb-1f3fc-2640","🏋🏼♂":"1f3cb-1f3fc-2642","🏋🏽♀":"1f3cb-1f3fd-2640","🏋🏽♂":"1f3cb-1f3fd-2642","🏋🏾♀":"1f3cb-1f3fe-2640","🏋🏾♂":"1f3cb-1f3fe-2642","🏋🏿♀":"1f3cb-1f3ff-2640","🏋🏿♂":"1f3cb-1f3ff-2642","💆🏻♀":"1f486-1f3fb-2640","💆🏻♂":"1f486-1f3fb-2642","💆🏼♀":"1f486-1f3fc-2640","💆🏼♂":"1f486-1f3fc-2642","💆🏽♀":"1f486-1f3fd-2640","💆🏽♂":"1f486-1f3fd-2642","💆🏾♀":"1f486-1f3fe-2640","💆🏾♂":"1f486-1f3fe-2642","💆🏿♀":"1f486-1f3ff-2640","💆🏿♂":"1f486-1f3ff-2642","💇🏻♀":"1f487-1f3fb-2640","💇🏻♂":"1f487-1f3fb-2642","💇🏼♀":"1f487-1f3fc-2640","💇🏼♂":"1f487-1f3fc-2642","💇🏽♀":"1f487-1f3fd-2640","💇🏽♂":"1f487-1f3fd-2642","💇🏾♀":"1f487-1f3fe-2640","💇🏾♂":"1f487-1f3fe-2642","💇🏿♀":"1f487-1f3ff-2640","💇🏿♂":"1f487-1f3ff-2642","🚣🏻♀":"1f6a3-1f3fb-2640","🚣🏻♂":"1f6a3-1f3fb-2642","🚣🏼♀":"1f6a3-1f3fc-2640","🚣🏼♂":"1f6a3-1f3fc-2642","🚣🏽♀":"1f6a3-1f3fd-2640","🚣🏽♂":"1f6a3-1f3fd-2642","🚣🏾♀":"1f6a3-1f3fe-2640","🚣🏾♂":"1f6a3-1f3fe-2642","🚣🏿♀":"1f6a3-1f3ff-2640","🚣🏿♂":"1f6a3-1f3ff-2642","🚴🏻♀":"1f6b4-1f3fb-2640","🚴🏻♂":"1f6b4-1f3fb-2642","🚴🏼♀":"1f6b4-1f3fc-2640","🚴🏼♂":"1f6b4-1f3fc-2642","🚴🏽♀":"1f6b4-1f3fd-2640","🚴🏽♂":"1f6b4-1f3fd-2642","🚴🏾♀":"1f6b4-1f3fe-2640","🚴🏾♂":"1f6b4-1f3fe-2642","🚴🏿♀":"1f6b4-1f3ff-2640","🚴🏿♂":"1f6b4-1f3ff-2642","🚵🏻♀":"1f6b5-1f3fb-2640","🚵🏻♂":"1f6b5-1f3fb-2642","🚵🏼♀":"1f6b5-1f3fc-2640","🚵🏼♂":"1f6b5-1f3fc-2642","🚵🏽♀":"1f6b5-1f3fd-2640","🚵🏽♂":"1f6b5-1f3fd-2642","🚵🏾♀":"1f6b5-1f3fe-2640","🚵🏾♂":"1f6b5-1f3fe-2642","🚵🏿♀":"1f6b5-1f3ff-2640","🚵🏿♂":"1f6b5-1f3ff-2642","🚶🏻♀":"1f6b6-1f3fb-2640","🚶🏻♂":"1f6b6-1f3fb-2642","🚶🏼♀":"1f6b6-1f3fc-2640","🚶🏼♂":"1f6b6-1f3fc-2642","🚶🏽♀":"1f6b6-1f3fd-2640","🚶🏽♂":"1f6b6-1f3fd-2642","🚶🏾♀":"1f6b6-1f3fe-2640","🚶🏾♂":"1f6b6-1f3fe-2642","🚶🏿♀":"1f6b6-1f3ff-2640","🚶🏿♂":"1f6b6-1f3ff-2642","🤸🏻♀":"1f938-1f3fb-2640","🤸🏻♂":"1f938-1f3fb-2642","🤸🏼♀":"1f938-1f3fc-2640","🤸🏼♂":"1f938-1f3fc-2642","🤸🏽♀":"1f938-1f3fd-2640","🤸🏽♂":"1f938-1f3fd-2642","🤸🏾♀":"1f938-1f3fe-2640","🤸🏾♂":"1f938-1f3fe-2642","🤸🏿♀":"1f938-1f3ff-2640","🤸🏿♂":"1f938-1f3ff-2642","🤹🏻♀":"1f939-1f3fb-2640","🤹🏻♂":"1f939-1f3fb-2642","🤹🏼♀":"1f939-1f3fc-2640","🤹🏼♂":"1f939-1f3fc-2642","🤹🏽♀":"1f939-1f3fd-2640","🤹🏽♂":"1f939-1f3fd-2642","🤹🏾♀":"1f939-1f3fe-2640","🤹🏾♂":"1f939-1f3fe-2642","🤹🏿♀":"1f939-1f3ff-2640","🤹🏿♂":"1f939-1f3ff-2642","🤽🏻♀":"1f93d-1f3fb-2640","🤽🏻♂":"1f93d-1f3fb-2642","🤽🏼♀":"1f93d-1f3fc-2640","🤽🏼♂":"1f93d-1f3fc-2642","🤽🏽♀":"1f93d-1f3fd-2640","🤽🏽♂":"1f93d-1f3fd-2642","🤽🏾♀":"1f93d-1f3fe-2640","🤽🏾♂":"1f93d-1f3fe-2642","🤽🏿♀":"1f93d-1f3ff-2640","🤽🏿♂":"1f93d-1f3ff-2642","🤾🏻♀":"1f93e-1f3fb-2640","🤾🏻♂":"1f93e-1f3fb-2642","🤾🏼♀":"1f93e-1f3fc-2640","🤾🏼♂":"1f93e-1f3fc-2642","🤾🏽♀":"1f93e-1f3fd-2640","🤾🏽♂":"1f93e-1f3fd-2642","🤾🏾♀":"1f93e-1f3fe-2640","🤾🏾♂":"1f93e-1f3fe-2642","🤾🏿♀":"1f93e-1f3ff-2640","🤾🏿♂":"1f93e-1f3ff-2642","💁🏻♀":"1f481-1f3fb-2640","💁🏻♂":"1f481-1f3fb-2642","💁🏼♀":"1f481-1f3fc-2640","💁🏼♂":"1f481-1f3fc-2642","💁🏽♀":"1f481-1f3fd-2640","💁🏽♂":"1f481-1f3fd-2642","💁🏾♀":"1f481-1f3fe-2640","💁🏾♂":"1f481-1f3fe-2642","💁🏿♀":"1f481-1f3ff-2640","💁🏿♂":"1f481-1f3ff-2642","🙅🏻♀":"1f645-1f3fb-2640","🙅🏻♂":"1f645-1f3fb-2642","🙅🏼♀":"1f645-1f3fc-2640","🙅🏼♂":"1f645-1f3fc-2642","🙅🏽♀":"1f645-1f3fd-2640","🙅🏽♂":"1f645-1f3fd-2642","🙅🏾♀":"1f645-1f3fe-2640","🙅🏾♂":"1f645-1f3fe-2642","🙅🏿♀":"1f645-1f3ff-2640","🙅🏿♂":"1f645-1f3ff-2642","🙆🏻♀":"1f646-1f3fb-2640","🙆🏻♂":"1f646-1f3fb-2642","🙆🏼♀":"1f646-1f3fc-2640","🙆🏼♂":"1f646-1f3fc-2642","🙆🏽♀":"1f646-1f3fd-2640","🙆🏽♂":"1f646-1f3fd-2642","🙆🏾♀":"1f646-1f3fe-2640","🙆🏾♂":"1f646-1f3fe-2642","🙆🏿♀":"1f646-1f3ff-2640","🙆🏿♂":"1f646-1f3ff-2642","🙇🏻♀":"1f647-1f3fb-2640","🙇🏻♂":"1f647-1f3fb-2642","🙇🏼♀":"1f647-1f3fc-2640","🙇🏼♂":"1f647-1f3fc-2642","🙇🏽♀":"1f647-1f3fd-2640","🙇🏽♂":"1f647-1f3fd-2642","🙇🏾♀":"1f647-1f3fe-2640","🙇🏾♂":"1f647-1f3fe-2642","🙇🏿♀":"1f647-1f3ff-2640","🙇🏿♂":"1f647-1f3ff-2642","🙋🏻♀":"1f64b-1f3fb-2640","🙋🏻♂":"1f64b-1f3fb-2642","🙋🏼♀":"1f64b-1f3fc-2640","🙋🏼♂":"1f64b-1f3fc-2642","🙋🏽♀":"1f64b-1f3fd-2640","🙋🏽♂":"1f64b-1f3fd-2642","🙋🏾♀":"1f64b-1f3fe-2640","🙋🏾♂":"1f64b-1f3fe-2642","🙋🏿♀":"1f64b-1f3ff-2640","🙋🏿♂":"1f64b-1f3ff-2642","🙍🏻♀":"1f64d-1f3fb-2640","🙍🏻♂":"1f64d-1f3fb-2642","🙍🏼♀":"1f64d-1f3fc-2640","🙍🏼♂":"1f64d-1f3fc-2642","🙍🏽♀":"1f64d-1f3fd-2640","🙍🏽♂":"1f64d-1f3fd-2642","🙍🏾♀":"1f64d-1f3fe-2640","🙍🏾♂":"1f64d-1f3fe-2642","🙍🏿♀":"1f64d-1f3ff-2640","🙍🏿♂":"1f64d-1f3ff-2642","🙎🏻♀":"1f64e-1f3fb-2640","🙎🏻♂":"1f64e-1f3fb-2642","🙎🏼♀":"1f64e-1f3fc-2640","🙎🏼♂":"1f64e-1f3fc-2642","🙎🏽♀":"1f64e-1f3fd-2640","🙎🏽♂":"1f64e-1f3fd-2642","🙎🏾♀":"1f64e-1f3fe-2640","🙎🏾♂":"1f64e-1f3fe-2642","🙎🏿♀":"1f64e-1f3ff-2640","🙎🏿♂":"1f64e-1f3ff-2642","🤦🏻♀":"1f926-1f3fb-2640","🤦🏻♂":"1f926-1f3fb-2642","🤦🏼♀":"1f926-1f3fc-2640","🤦🏼♂":"1f926-1f3fc-2642","🤦🏽♀":"1f926-1f3fd-2640","🤦🏽♂":"1f926-1f3fd-2642","🤦🏾♀":"1f926-1f3fe-2640","🤦🏾♂":"1f926-1f3fe-2642","🤦🏿♀":"1f926-1f3ff-2640","🤦🏿♂":"1f926-1f3ff-2642","🤷🏻♀":"1f937-1f3fb-2640","🤷🏻♂":"1f937-1f3fb-2642","🤷🏼♀":"1f937-1f3fc-2640","🤷🏼♂":"1f937-1f3fc-2642","🤷🏽♀":"1f937-1f3fd-2640","🤷🏽♂":"1f937-1f3fd-2642","🤷🏾♀":"1f937-1f3fe-2640","🤷🏾♂":"1f937-1f3fe-2642","🤷🏿♀":"1f937-1f3ff-2640","🤷🏿♂":"1f937-1f3ff-2642","🧙🏻♀":"1f9d9-1f3fb-2640","🧙🏻♂":"1f9d9-1f3fb-2642","🧙🏼♀":"1f9d9-1f3fc-2640","🧙🏼♂":"1f9d9-1f3fc-2642","🧙🏽♀":"1f9d9-1f3fd-2640","🧙🏽♂":"1f9d9-1f3fd-2642","🧙🏾♀":"1f9d9-1f3fe-2640","🧙🏾♂":"1f9d9-1f3fe-2642","🧙🏿♀":"1f9d9-1f3ff-2640","🧙🏿♂":"1f9d9-1f3ff-2642","🧚🏻♀":"1f9da-1f3fb-2640","🧚🏻♂":"1f9da-1f3fb-2642","🧚🏼♀":"1f9da-1f3fc-2640","🧚🏼♂":"1f9da-1f3fc-2642","🧚🏽♀":"1f9da-1f3fd-2640","🧚🏽♂":"1f9da-1f3fd-2642","🧚🏾♀":"1f9da-1f3fe-2640","🧚🏾♂":"1f9da-1f3fe-2642","🧚🏿♀":"1f9da-1f3ff-2640","🧚🏿♂":"1f9da-1f3ff-2642","🧛🏻♀":"1f9db-1f3fb-2640","🧛🏻♂":"1f9db-1f3fb-2642","🧛🏼♀":"1f9db-1f3fc-2640","🧛🏼♂":"1f9db-1f3fc-2642","🧛🏽♀":"1f9db-1f3fd-2640","🧛🏽♂":"1f9db-1f3fd-2642","🧛🏾♀":"1f9db-1f3fe-2640","🧛🏾♂":"1f9db-1f3fe-2642","🧛🏿♀":"1f9db-1f3ff-2640","🧛🏿♂":"1f9db-1f3ff-2642","🧜🏻♀":"1f9dc-1f3fb-2640","🧜🏻♂":"1f9dc-1f3fb-2642","🧜🏼♀":"1f9dc-1f3fc-2640","🧜🏼♂":"1f9dc-1f3fc-2642","🧜🏽♀":"1f9dc-1f3fd-2640","🧜🏽♂":"1f9dc-1f3fd-2642","🧜🏾♀":"1f9dc-1f3fe-2640","🧜🏾♂":"1f9dc-1f3fe-2642","🧜🏿♀":"1f9dc-1f3ff-2640","🧜🏿♂":"1f9dc-1f3ff-2642","🧝🏻♀":"1f9dd-1f3fb-2640","🧝🏻♂":"1f9dd-1f3fb-2642","🧝🏼♀":"1f9dd-1f3fc-2640","🧝🏼♂":"1f9dd-1f3fc-2642","🧝🏽♀":"1f9dd-1f3fd-2640","🧝🏽♂":"1f9dd-1f3fd-2642","🧝🏾♀":"1f9dd-1f3fe-2640","🧝🏾♂":"1f9dd-1f3fe-2642","🧝🏿♀":"1f9dd-1f3ff-2640","🧝🏿♂":"1f9dd-1f3ff-2642","🧖🏻♀":"1f9d6-1f3fb-2640","🧖🏻♂":"1f9d6-1f3fb-2642","🧖🏼♀":"1f9d6-1f3fc-2640","🧖🏼♂":"1f9d6-1f3fc-2642","🧖🏽♀":"1f9d6-1f3fd-2640","🧖🏽♂":"1f9d6-1f3fd-2642","🧖🏾♀":"1f9d6-1f3fe-2640","🧖🏾♂":"1f9d6-1f3fe-2642","🧖🏿♀":"1f9d6-1f3ff-2640","🧖🏿♂":"1f9d6-1f3ff-2642","🧗🏻♀":"1f9d7-1f3fb-2640","🧗🏻♂":"1f9d7-1f3fb-2642","🧗🏼♀":"1f9d7-1f3fc-2640","🧗🏼♂":"1f9d7-1f3fc-2642","🧗🏽♀":"1f9d7-1f3fd-2640","🧗🏽♂":"1f9d7-1f3fd-2642","🧗🏾♀":"1f9d7-1f3fe-2640","🧗🏾♂":"1f9d7-1f3fe-2642","🧗🏿♀":"1f9d7-1f3ff-2640","🧗🏿♂":"1f9d7-1f3ff-2642","🧘🏻♀":"1f9d8-1f3fb-2640","🧘🏻♂":"1f9d8-1f3fb-2642","🧘🏼♀":"1f9d8-1f3fc-2640","🧘🏼♂":"1f9d8-1f3fc-2642","🧘🏽♀":"1f9d8-1f3fd-2640","🧘🏽♂":"1f9d8-1f3fd-2642","🧘🏾♀":"1f9d8-1f3fe-2640","🧘🏾♂":"1f9d8-1f3fe-2642","🧘🏿♀":"1f9d8-1f3ff-2640","🧘🏿♂":"1f9d8-1f3ff-2642","🦸🏻♀":"1f9b8-1f3fb-2640","🦸🏻♂":"1f9b8-1f3fb-2642","🦸🏼♀":"1f9b8-1f3fc-2640","🦸🏼♂":"1f9b8-1f3fc-2642","🦸🏽♀":"1f9b8-1f3fd-2640","🦸🏽♂":"1f9b8-1f3fd-2642","🦸🏾♀":"1f9b8-1f3fe-2640","🦸🏾♂":"1f9b8-1f3fe-2642","🦸🏿♀":"1f9b8-1f3ff-2640","🦸🏿♂":"1f9b8-1f3ff-2642","🦹🏻♀":"1f9b9-1f3fb-2640","🦹🏻♂":"1f9b9-1f3fb-2642","🦹🏼♀":"1f9b9-1f3fc-2640","🦹🏼♂":"1f9b9-1f3fc-2642","🦹🏽♀":"1f9b9-1f3fd-2640","🦹🏽♂":"1f9b9-1f3fd-2642","🦹🏾♀":"1f9b9-1f3fe-2640","🦹🏾♂":"1f9b9-1f3fe-2642","🦹🏿♀":"1f9b9-1f3ff-2640","🦹🏿♂":"1f9b9-1f3ff-2642","⛹🏻♀":"26f9-1f3fb-2640","⛹🏻♂":"26f9-1f3fb-2642","⛹🏼♀":"26f9-1f3fc-2640","⛹🏼♂":"26f9-1f3fc-2642","⛹🏽♀":"26f9-1f3fd-2640","⛹🏽♂":"26f9-1f3fd-2642","⛹🏾♀":"26f9-1f3fe-2640","⛹🏾♂":"26f9-1f3fe-2642","⛹🏿♀":"26f9-1f3ff-2640","⛹🏿♂":"26f9-1f3ff-2642","🏳🌈":"1f3f3-1f308","👁🗨":"1f441-1f5e8","👯♂":"1f46f-2642","👯♀":"1f46f-2640","🏌♂":"1f3cc-2642","🏌♀":"1f3cc-2640","🤼♂":"1f93c-2642","🤼♀":"1f93c-2640","🤹♂":"1f939-2642","🤹♀":"1f939-2640","🤾♂":"1f93e-2642","🤾♀":"1f93e-2640","🤽♂":"1f93d-2642","🤽♀":"1f93d-2640","🤸♂":"1f938-2642","🤸♀":"1f938-2640","🚶♂":"1f6b6-2642","🚶♀":"1f6b6-2640","🚵♂":"1f6b5-2642","🚵♀":"1f6b5-2640","🚴♂":"1f6b4-2642","🚴♀":"1f6b4-2640","🚣♂":"1f6a3-2642","🚣♀":"1f6a3-2640","🏋♂":"1f3cb-2642","🏋♀":"1f3cb-2640","🏊♂":"1f3ca-2642","🏊♀":"1f3ca-2640","🏄♂":"1f3c4-2642","🏄♀":"1f3c4-2640","🏃♂":"1f3c3-2642","🏃♀":"1f3c3-2640","🤷♂":"1f937-2642","🤷♀":"1f937-2640","🤦♂":"1f926-2642","🤦♀":"1f926-2640","🙎♂":"1f64e-2642","🙎♀":"1f64e-2640","🙍♂":"1f64d-2642","🙍♀":"1f64d-2640","🙋♂":"1f64b-2642","🙋♀":"1f64b-2640","🙇♂":"1f647-2642","🙇♀":"1f647-2640","🙆♂":"1f646-2642","🙆♀":"1f646-2640","🙅♂":"1f645-2642","🙅♀":"1f645-2640","💇♂":"1f487-2642","💇♀":"1f487-2640","💆♂":"1f486-2642","💆♀":"1f486-2640","💁♂":"1f481-2642","💁♀":"1f481-2640","👱♂":"1f471-2642","👱♀":"1f471-2640","👳♂":"1f473-2642","👳♀":"1f473-2640","💂♂":"1f482-2642","💂♀":"1f482-2640","🕵♂":"1f575-2642","🕵♀":"1f575-2640","👷♂":"1f477-2642","👷♀":"1f477-2640","👮♂":"1f46e-2642","👮♀":"1f46e-2640","👨⚕":"1f468-2695","👩⚕":"1f469-2695","👨⚖":"1f468-2696","👩⚖":"1f469-2696","👨✈":"1f468-2708","👩✈":"1f469-2708","🧙♀":"1f9d9-2640","🧙♂":"1f9d9-2642","🧚♀":"1f9da-2640","🧚♂":"1f9da-2642","🧛♀":"1f9db-2640","🧛♂":"1f9db-2642","🧜♀":"1f9dc-2640","🧜♂":"1f9dc-2642","🧝♀":"1f9dd-2640","🧝♂":"1f9dd-2642","🧞♀":"1f9de-2640","🧞♂":"1f9de-2642","🧟♀":"1f9df-2640","🧟♂":"1f9df-2642","🧖♀":"1f9d6-2640","🧖♂":"1f9d6-2642","🧗♀":"1f9d7-2640","🧗♂":"1f9d7-2642","🧘♀":"1f9d8-2640","🧘♂":"1f9d8-2642","🦸♀":"1f9b8-2640","🦸♂":"1f9b8-2642","🦹♀":"1f9b9-2640","🦹♂":"1f9b9-2642","🏴☠":"1f3f4-2620","⛹♂":"26f9-2642","⛹♀":"26f9-2640","🕉":"1f549","🗝":"1f5dd","‼":"203c","⁉":"2049","ℹ":"2139","↔":"2194","↕":"2195","↖":"2196","↗":"2197","↘":"2198","↙":"2199","↩":"21a9","↪":"21aa","▪":"25aa","▫":"25ab","▶":"25b6","◀":"25c0","◻":"25fb","◼":"25fc","☑":"2611","⚠":"26a0","✔":"2714","✖":"2716","➡":"27a1","⤴":"2934","⤵":"2935","⬅":"2b05","⬆":"2b06","⬇":"2b07","〰":"3030","✝":"271d","⏏":"23cf","⏭":"23ed","⏮":"23ee","⏯":"23ef","⏸":"23f8","⏹":"23f9","⏺":"23fa","☢":"2622","☣":"2623","☦":"2626","☪":"262a","☮":"262e","☯":"262f","☸":"2638","⚛":"269b","✡":"2721","♀":"2640","♂":"2642","⚕":"2695"},d.asciiList={"*\\0/*":"1f646","*\\O/*":"1f646","-___-":"1f611",":'-)":"1f602","':-)":"1f605","':-D":"1f605",">:-)":"1f606","':-(":"1f613",">:-(":"1f620",":'-(":"1f622","O:-)":"1f607","0:-3":"1f607","0:-)":"1f607","0;^)":"1f607","O;-)":"1f607","0;-)":"1f607","O:-3":"1f607","-__-":"1f611",":-Þ":"1f61b","</3":"1f494",":')":"1f602",":-D":"1f603","':)":"1f605","'=)":"1f605","':D":"1f605","'=D":"1f605",">:)":"1f606",">;)":"1f606",">=)":"1f606",";-)":"1f609","*-)":"1f609",";-]":"1f609",";^)":"1f609","':(":"1f613","'=(":"1f613",":-*":"1f618",":^*":"1f618",">:P":"1f61c","X-P":"1f61c",">:[":"1f61e",":-(":"1f61e",":-[":"1f61e",">:(":"1f620",":'(":"1f622",";-(":"1f622",">.<":"1f623","#-)":"1f635","%-)":"1f635","X-)":"1f635","\\0/":"1f646","\\O/":"1f646","0:3":"1f607","0:)":"1f607","O:)":"1f607","O=)":"1f607","O:3":"1f607","B-)":"1f60e","8-)":"1f60e","B-D":"1f60e","8-D":"1f60e","-_-":"1f611",">:\\":"1f615",">:/":"1f615",":-/":"1f615",":-.":"1f615",":-P":"1f61b",":Þ":"1f61b",":-b":"1f61b",":-O":"1f62e",O_O:"1f62e",">:O":"1f62e",":-X":"1f636",":-#":"1f636",":-)":"1f642","(y)":"1f44d","<3":"2764",":D":"1f603","=D":"1f603",";)":"1f609","*)":"1f609",";]":"1f609",";D":"1f609",":*":"1f618","=*":"1f618",":(":"1f61e",":[":"1f61e","=(":"1f61e",":@":"1f620",";(":"1f622","D:":"1f628",":$":"1f633","=$":"1f633","#)":"1f635","%)":"1f635","X)":"1f635","B)":"1f60e","8)":"1f60e",":/":"1f615",":\\":"1f615","=/":"1f615","=\\":"1f615",":L":"1f615","=L":"1f615",":P":"1f61b","=P":"1f61b",":b":"1f61b",":O":"1f62e",":X":"1f636",":#":"1f636","=X":"1f636","=#":"1f636",":)":"1f642","=]":"1f642","=)":"1f642",":]":"1f642"},d.asciiRegexp="(\\*\\\\0\\/\\*|\\*\\\\O\\/\\*|\\-___\\-|\\:'\\-\\)|'\\:\\-\\)|'\\:\\-D|\\>\\:\\-\\)|>\\:\\-\\)|'\\:\\-\\(|\\>\\:\\-\\(|>\\:\\-\\(|\\:'\\-\\(|O\\:\\-\\)|0\\:\\-3|0\\:\\-\\)|0;\\^\\)|O;\\-\\)|0;\\-\\)|O\\:\\-3|\\-__\\-|\\:\\-Þ|\\:\\-Þ|\\<\\/3|<\\/3|\\:'\\)|\\:\\-D|'\\:\\)|'\\=\\)|'\\:D|'\\=D|\\>\\:\\)|>\\:\\)|\\>;\\)|>;\\)|\\>\\=\\)|>\\=\\)|;\\-\\)|\\*\\-\\)|;\\-\\]|;\\^\\)|'\\:\\(|'\\=\\(|\\:\\-\\*|\\:\\^\\*|\\>\\:P|>\\:P|X\\-P|\\>\\:\\[|>\\:\\[|\\:\\-\\(|\\:\\-\\[|\\>\\:\\(|>\\:\\(|\\:'\\(|;\\-\\(|\\>\\.\\<|>\\.<|#\\-\\)|%\\-\\)|X\\-\\)|\\\\0\\/|\\\\O\\/|0\\:3|0\\:\\)|O\\:\\)|O\\=\\)|O\\:3|B\\-\\)|8\\-\\)|B\\-D|8\\-D|\\-_\\-|\\>\\:\\\\|>\\:\\\\|\\>\\:\\/|>\\:\\/|\\:\\-\\/|\\:\\-\\.|\\:\\-P|\\:Þ|\\:Þ|\\:\\-b|\\:\\-O|O_O|\\>\\:O|>\\:O|\\:\\-X|\\:\\-#|\\:\\-\\)|\\(y\\)|\\<3|<3|\\:D|\\=D|;\\)|\\*\\)|;\\]|;D|\\:\\*|\\=\\*|\\:\\(|\\:\\[|\\=\\(|\\:@|;\\(|D\\:|\\:\\$|\\=\\$|#\\)|%\\)|X\\)|B\\)|8\\)|\\:\\/|\\:\\\\|\\=\\/|\\=\\\\|\\:L|\\=L|\\:P|\\=P|\\:b|\\:O|\\:X|\\:#|\\=X|\\=#|\\:\\)|\\=\\]|\\=\\)|\\:\\])",d.emojiVersion="4.5",d.emojiSize="32",d.greedyMatch=!1,d.blacklistChars="",d.imagePathPNG="https://cdn.jsdelivr.net/emojione/assets/"+d.emojiVersion+"/png/",d.defaultPathPNG=d.imagePathPNG,d.fileExtension=".png",d.imageTitleTag=!0,d.sprites=!1,d.unicodeAlt=!0,d.ascii=!1,d.riskyMatchAscii=!1,d.regShortNames=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+d.shortnames+")","gi"),d.regAscii=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((\\s|^)"+d.asciiRegexp+"(?=\\s|$|[!,.?]))","gi"),d.regAsciiRisky=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|(()"+d.asciiRegexp+"())","gi"),d.regUnicode=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|(?:🏳)️?\200d?(?:🌈)|(?:👁)️?\200d?(?:🗨)️?|[#-9]️?⃣|(?:(?:🏴)(?:\udb40[\udc60-\udcff]){1,6})|(?:\ud83c[\udde0-\uddff]){2}|(?:(?:\ud83d[\udc68\udc69]))️?(?:\ud83c[\udffa-\udfff])?\200d?(?:[⚕⚖✈]|\ud83c[\udf3e-\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92])|(?:\ud83d[\udc68\udc69]|\ud83e[\uddd0-\udddf])(?:\ud83c[\udffa-\udfff])?\200d?[♀♂⚕⚖✈]?️?|(?:(?:❤|\ud83d[\udc66-\udc69\udc8b])[\200d️]{0,2}){1,3}(?:❤|\ud83d[\udc66-\udc69\udc8b])|(?:(?:❤|\ud83d[\udc66-\udc69\udc8b])️?){2,4}|(?:\ud83d[\udc68\udc69\udc6e\udc71-\udc87\udd75\ude45-\ude4e]|\ud83e[\udd26\udd37]|\ud83c[\udfc3-\udfcc]|\ud83e[\udd38-\udd3e]|\ud83d[\udea3-\udeb6]|⛹|👯)️?(?:\ud83c[\udffb-\udfff])?\200d?[♀♂]?️?|(?:[☝⛹✊-✍]|\ud83c[\udf85-\udfcc]|\ud83d[\udc42-\udcaa\udd74-\udd96\ude45-\ude4f\udea3-\udecc]|\ud83e[\udd18-\udd3e])️?(?:\ud83c[\udffb-\udfff])|(?:[↔-↙↩-↪]️?|[#*]|[〰〽]️?|(?:\ud83c[\udd70-\udd71]|🆎|\ud83c[\udd91-\udd9a])️?|Ⓜ️?|[㊗㊙]️?|(?:\ud83c[\ude01-\ude02]|🈚|🈯|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51])️?|[‼⁉]️?|[▪-▫▶◀◻-◾]️?|[©®]️?|[™ℹ]️?|🀄️?|[⬅-⬇⬛-⬜⭐⭕]️?|[⌚-⌛⌨⏏⏩-⏳⏸-⏺]️?|🃏|[⤴⤵]️?)|[✀-➿]️?|[\ud800-\udbff][\udc00-\udfff]️?|[☀-⛿]️?|[0-9]️","g"),d.toImage=function(e){return e=d.toShort(e),e=d.shortnameToImage(e),e=d.wipeVS16(e)},d.unicodeToImage=function(e){return e},d.wipeVS16=function(e){var t=d.vs16Regex();return d.replaceAllVS16(e,t)},d.unifyUnicode=function(e){return e=d.toShort(e),e=d.shortnameToUnicode(e)},d.shortnameToAscii=function(e){var t,n=d.objectFlip(d.asciiList);return e=e.replace(d.regShortNames,function(e){return void 0!==e&&""!==e&&e in d.emojioneList?(t=d.emojioneList[e].uc_output,void 0!==n[t]?n[t]:e):e})},d.shortnameToUnicode=function(e){var i;if(e=e.replace(d.regShortNames,function(e){return void 0!==e&&""!==e&&e in d.emojioneList?(i=d.emojioneList[e].uc_output.toUpperCase(),d.emojioneList[e].uc_base,d.convert(i)):e}),d.ascii){var t=d.riskyMatchAscii?d.regAsciiRisky:d.regAscii;e=e.replace(t,function(e,t,n,r){return void 0!==r&&""!==r&&d.unescapeHTML(r)in d.asciiList?(r=d.unescapeHTML(r),i=d.asciiList[r].toUpperCase(),n+d.convert(i)):e})}return e},d.shortnameToImage=function(e){var i,a,n,o,s,c,l,u,f=d.mapUnicodeToShort();if(e=e.replace(d.regShortNames,function(e){if(void 0===e||""===e||-1===d.shortnames.indexOf(e))return e;if(!d.emojioneList[e])for(var t in d.emojioneList)if(d.emojioneList.hasOwnProperty(t)&&""!==t&&-1!==d.emojioneList[t].shortnames.indexOf(e)){e=t;break}return a=d.emojioneList[e].uc_output,n=d.emojioneList[e].uc_base,s=0<=n.indexOf("-1f3f")?"diversity":d.emojioneList[e].category,c=d.imageTitleTag?'title="'+e+'"':"",l="32"==d.spriteSize||"64"==d.spriteSize?d.spriteSize:"32",u=d.defaultPathPNG!==d.imagePathPNG?d.imagePathPNG:d.defaultPathPNG+d.emojiSize+"/",o=d.unicodeAlt?d.convert(a.toUpperCase()):e,d.sprites?'<span class="emojione emojione-'+l+"-"+s+" _"+n+'" '+c+">"+o+"</span>":'<img class="emojione" alt="'+o+'" '+c+' src="'+u+n+d.fileExtension+'"/>'}),d.ascii){var t=d.riskyMatchAscii?d.regAsciiRisky:d.regAscii;e=e.replace(t,function(e,t,n,r){return void 0!==r&&""!==r&&d.unescapeHTML(r)in d.asciiList?(r=d.unescapeHTML(r),a=d.asciiList[r],i=f[a],s=0<=a.indexOf("-1f3f")?"diversity":d.emojioneList[i].category,c=d.imageTitleTag?'title="'+d.escapeHTML(r)+'"':"",l="32"==d.spriteSize||"64"==d.spriteSize?d.spriteSize:"32",u=d.defaultPathPNG!==d.imagePathPNG?d.imagePathPNG:d.defaultPathPNG+d.emojiSize+"/",o=d.unicodeAlt?d.convert(a.toUpperCase()):d.escapeHTML(r),d.sprites?n+'<span class="emojione emojione-'+l+"-"+s+" _"+a+'" '+c+">"+o+"</span>":n+'<img class="emojione" alt="'+o+'" '+c+' src="'+u+a+d.fileExtension+'"/>'):e})}return e},d.toShort=function(e){var t=d.unicodeCharRegex();return e=d.replaceAll(e,t)},d.convert=function(e){if(-1<e.indexOf("-")){for(var t=[],n=e.split("-"),r=0;r<n.length;r++){var i=parseInt(n[r],16);if(65536<=i&&i<=1114111){var a=Math.floor((i-65536)/1024)+55296,o=(i-65536)%1024+56320;i=String.fromCharCode(a)+String.fromCharCode(o)}else i=String.fromCharCode(i);t.push(i)}return t.join("")}if(65536<=(n=parseInt(e,16))&&n<=1114111){a=Math.floor((n-65536)/1024)+55296,o=(n-65536)%1024+56320;return String.fromCharCode(a)+String.fromCharCode(o)}return String.fromCharCode(n)},d.escapeHTML=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(e){return t[e]})},d.unescapeHTML=function(e){var t={"&":"&","&":"&","&":"&","<":"<","<":"<","<":"<",">":">",">":">",">":">",""":'"',""":'"',""":'"',"'":"'","'":"'","'":"'"};return e.replace(/&(?:amp|#38|#x26|lt|#60|#x3C|gt|#62|#x3E|apos|#39|#x27|quot|#34|#x22);/gi,function(e){return t[e]})},d.shortnameConversionMap=function(){var e,t=[];for(e in d.emojioneList)d.emojioneList.hasOwnProperty(e)&&""!==e&&(t[d.convert(d.emojioneList[e].uc_output)]=e);return t},d.unicodeCharRegex=function(){var e=[];for(t in d.emojioneList)d.emojioneList.hasOwnProperty(t)&&""!==t&&e.push(d.convert(d.emojioneList[t].uc_output));return e.join("|")},d.vs16Regex=function(){return d.convert("fe0f")},d.mapEmojioneList=function(e){for(var t in d.emojioneList){if(d.emojioneList.hasOwnProperty(t))e(d.emojioneList[t].uc_base,t)}},d.mapUnicodeToShort=function(){return d.memMapShortToUnicode||(d.memMapShortToUnicode={},d.mapEmojioneList(function(e,t){d.memMapShortToUnicode[e]=t})),d.memMapShortToUnicode},d.memorizeReplacement=function(){if(!d.unicodeReplacementRegEx||!d.memMapShortToUnicodeCharacters){var r=[];d.memMapShortToUnicodeCharacters={},d.mapEmojioneList(function(e,t){var n=d.convert(e);d.memMapShortToUnicodeCharacters[n]=t,r.push(n)}),d.unicodeReplacementRegEx=r.join("|")}},d.mapUnicodeCharactersToShort=function(){return d.memorizeReplacement(),d.memMapShortToUnicodeCharacters},d.objectFlip=function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n},d.escapeRegExp=function(e){return e.replace(/[-[\]{}()*+?.,;:&\\^$#\s]/g,"\\$&")},d.replaceAll=function(e,t){var n=d.escapeRegExp(t),r=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+n+")","gi");return e.replace(r,function(e,t){return void 0===t||""===t?e:d.shortnameConversionMap()[t]})},d.replaceAllVS16=function(e,t){var n=d.escapeRegExp(t),r=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+n+")","gi");return e.replace(r,function(e,t){return void 0===t||""===t?e:""})}}(this.emojione=this.emojione||{}),"object"==typeof module&&(module.exports=this.emojione),function(e){if("function"==typeof define&&define.amd)define(["jquery"],e);else if("object"==typeof module&&module.exports){var t=require("jquery");module.exports=e(t)}else e(jQuery)}(function(e){if(void 0===e)throw new Error("jQuery.textcomplete requires jQuery");var t,u,f,d;return function(a){"use strict";var o=1;a.fn.textcomplete=function(t,n){var i=Array.prototype.slice.call(arguments);return this.each(function(){var e=a(this),r=e.data("textComplete");if(r||(n||(n={}),n._oid=o++,r=new a.fn.textcomplete.Completer(this,n),e.data("textComplete",r)),"string"==typeof t){if(!r)return;i.shift(),r[t].apply(r,i),"destroy"===t&&e.removeData("textComplete")}else a.each(t,function(n){a.each(["header","footer","placement","maxCount"],function(e){var t;n[e]&&(r.option[e]=n[e],t=e+"as a strategy param is deprecated. Use option.",console.warn&&console.warn(t),delete n[e])})}),r.register(a.fn.textcomplete.Strategy.parse(t,{el:this,$el:e}))})}}(e),function(r){"use strict";var i,a,o,s=0;function c(e,t){if(this.$el=r(e),this.id="textcomplete"+s++,this.strategies=[],this.views=[],this.option=r.extend({},c._getDefaults(),t),!(this.$el.is("input[type=text]")||this.$el.is("input[type=search]")||this.$el.is("textarea")||e.isContentEditable||"true"==e.contentEditable))throw new Error("textcomplete must be called on a Textarea or a ContentEditable.");if(e===document.activeElement)this.initialize();else{var n=this;this.$el.one("focus."+this.id,function(){n.initialize()})}}c._getDefaults=function(){return c.DEFAULTS||(c.DEFAULTS={appendTo:r("body"),zIndex:"100"}),c.DEFAULTS},r.extend(c.prototype,{id:null,option:null,strategies:null,adapter:null,dropdown:null,$el:null,initialize:function(){var e,t,n=this.$el.get(0);this.dropdown=new r.fn.textcomplete.Dropdown(n,this,this.option),e=this.option.adapter?this.option.adapter:(t=this.$el.is("textarea")||this.$el.is("input[type=text]")||this.$el.is("input[type=search]")?"number"==typeof n.selectionEnd?"Textarea":"IETextarea":"ContentEditable",r.fn.textcomplete[t]),this.adapter=new e(n,this,this.option)},destroy:function(){this.$el.off("."+this.id),this.adapter&&this.adapter.destroy(),this.dropdown&&this.dropdown.destroy(),this.$el=this.adapter=this.dropdown=null},deactivate:function(){this.dropdown&&this.dropdown.deactivate()},trigger:function(e,t){this.dropdown||this.initialize(),null!=e||(e=this.adapter.getTextFromHeadToCaret());var n=this._extractSearchQuery(e);if(n.length){var r=n[1];if(t&&this._term===r&&""!==r)return;this._term=r,this._search.apply(this,n)}else this._term=null,this.dropdown.deactivate()},fire:function(e){var t=Array.prototype.slice.call(arguments,1);return this.$el.trigger(e,t),this},register:function(e){Array.prototype.push.apply(this.strategies,e)},select:function(e,t,n){this._term=null,this.adapter.select(e,t,n),this.fire("change").fire("textComplete:select",e,t),this.adapter.focus()},_clearAtNext:!0,_term:null,_extractSearchQuery:function(e){for(var t=0;t<this.strategies.length;t++){var n=this.strategies[t],r=n.context(e);if(r||""===r){var i=(s=n.match,"[object Function]"===Object.prototype.toString.call(s)?n.match(e):n.match);o=r,"[object String]"===Object.prototype.toString.call(o)&&(e=r);var a=e.match(i);if(a)return[n,a[n.index],a]}}var o,s;return[]},_search:(i=function(n,r,i,e){var a=this;r.search(i,function(e,t){a.dropdown.shown||a.dropdown.activate(),a._clearAtNext&&(a.dropdown.clear(),a._clearAtNext=!1),a.dropdown.setPosition(a.adapter.getCaretPosition()),a.dropdown.render(a._zip(e,r,i)),t||(n(),a._clearAtNext=!0)},e)},function(){var e=Array.prototype.slice.call(arguments);if(a)o=e;else{a=!0;var n=this;e.unshift(function e(){if(o){var t=o;o=void 0,t.unshift(e),i.apply(n,t)}else a=!1}),i.apply(this,e)}}),_zip:function(e,t,n){return r.map(e,function(e){return{value:e,strategy:t,term:n}})}}),r.fn.textcomplete.Completer=c}(e),function(i){"use strict";var a=i(window),o=function(e,t){var n,r,i=t.strategy.idProperty;for(n=0;n<e.length;n++)if((r=e[n]).strategy===t.strategy)if(i){if(r.value[i]===t.value[i])return!0}else if(r.value===t.value)return!0;return!1},s={};i(document).on("click",function(e){var n=e.originalEvent&&e.originalEvent.keepTextCompleteDropdown;i.each(s,function(e,t){e!==n&&t.deactivate()})});var n={SKIP_DEFAULT:0,KEY_UP:1,KEY_DOWN:2,KEY_ENTER:3,KEY_PAGEUP:4,KEY_PAGEDOWN:5,KEY_ESCAPE:6};function c(e,t,n){this.$el=c.createElement(n),this.completer=t,this.id=t.id+"dropdown",this._data=[],this.$inputEl=i(e),(this.option=n).listPosition&&(this.setPosition=n.listPosition),n.height&&this.$el.height(n.height);var r=this;i.each(["maxCount","placement","footer","header","noResultsMessage","className"],function(e,t){null!=n[t]&&(r[t]=n[t])}),this._bindEvents(e),s[this.id]=this}i.extend(c,{createElement:function(e){var t=e.appendTo;return t instanceof i||(t=i(t)),i("<ul></ul>").addClass("dropdown-menu textcomplete-dropdown").attr("id","textcomplete-dropdown-"+e._oid).css({display:"none",left:0,position:"absolute",zIndex:e.zIndex}).appendTo(t)}}),i.extend(c.prototype,{$el:null,$inputEl:null,completer:null,footer:null,header:null,id:null,maxCount:10,placement:"",shown:!1,data:[],className:"",destroy:function(){this.deactivate(),this.$el.off("."+this.id),this.$inputEl.off("."+this.id),this.clear(),this.$el.remove(),this.$el=this.$inputEl=this.completer=null,delete s[this.id]},render:function(e){var t=this._buildContents(e),n=i.map(this.data,function(e){return e.value});if(this.data.length){var r=e[0].strategy;r.id?this.$el.attr("data-strategy",r.id):this.$el.removeAttr("data-strategy"),this._renderHeader(n),this._renderFooter(n),t&&(this._renderContents(t),this._fitToBottom(),this._fitToRight(),this._activateIndexedItem()),this._setScroll()}else this.noResultsMessage?this._renderNoResultsMessage(n):this.shown&&this.deactivate()},setPosition:function(e){var t="absolute";return this.$inputEl.add(this.$inputEl.parents()).each(function(){return"absolute"!==i(this).css("position")&&("fixed"===i(this).css("position")?(e.top-=a.scrollTop(),e.left-=a.scrollLeft(),!(t="fixed")):void 0)}),this.$el.css(this._applyPlacement(e)),this.$el.css({position:t}),this},clear:function(){this.$el.html(""),this.data=[],this._index=0,this._$header=this._$footer=this._$noResultsMessage=null},activate:function(){return this.shown||(this.clear(),this.$el.show(),this.className&&this.$el.addClass(this.className),this.completer.fire("textComplete:show"),this.shown=!0),this},deactivate:function(){return this.shown&&(this.$el.hide(),this.className&&this.$el.removeClass(this.className),this.completer.fire("textComplete:hide"),this.shown=!1),this},isUp:function(e){return 38===e.keyCode||e.ctrlKey&&80===e.keyCode},isDown:function(e){return 40===e.keyCode||e.ctrlKey&&78===e.keyCode},isEnter:function(e){return!(e.ctrlKey||e.altKey||e.metaKey||e.shiftKey)&&(13===e.keyCode||9===e.keyCode||!0===this.option.completeOnSpace&&32===e.keyCode)},isPageup:function(e){return 33===e.keyCode},isPagedown:function(e){return 34===e.keyCode},isEscape:function(e){return 27===e.keyCode},_data:null,_index:null,_$header:null,_$noResultsMessage:null,_$footer:null,_bindEvents:function(){this.$el.on("mousedown."+this.id,".textcomplete-item",i.proxy(this._onClick,this)),this.$el.on("touchstart."+this.id,".textcomplete-item",i.proxy(this._onClick,this)),this.$el.on("mouseover."+this.id,".textcomplete-item",i.proxy(this._onMouseover,this)),this.$inputEl.on("keydown."+this.id,i.proxy(this._onKeydown,this))},_onClick:function(e){var t=i(e.target);e.preventDefault(),e.originalEvent.keepTextCompleteDropdown=this.id,t.hasClass("textcomplete-item")||(t=t.closest(".textcomplete-item"));var n=this.data[parseInt(t.data("index"),10)];this.completer.select(n.value,n.strategy,e);var r=this;setTimeout(function(){r.deactivate(),"touchstart"===e.type&&r.$inputEl.focus()},0)},_onMouseover:function(e){var t=i(e.target);e.preventDefault(),t.hasClass("textcomplete-item")||(t=t.closest(".textcomplete-item")),this._index=parseInt(t.data("index"),10),this._activateIndexedItem()},_onKeydown:function(e){var t;if(this.shown)switch(i.isFunction(this.option.onKeydown)&&(t=this.option.onKeydown(e,n)),null==t&&(t=this._defaultKeydown(e)),t){case n.KEY_UP:e.preventDefault(),this._up();break;case n.KEY_DOWN:e.preventDefault(),this._down();break;case n.KEY_ENTER:e.preventDefault(),this._enter(e);break;case n.KEY_PAGEUP:e.preventDefault(),this._pageup();break;case n.KEY_PAGEDOWN:e.preventDefault(),this._pagedown();break;case n.KEY_ESCAPE:e.preventDefault(),this.deactivate()}},_defaultKeydown:function(e){return this.isUp(e)?n.KEY_UP:this.isDown(e)?n.KEY_DOWN:this.isEnter(e)?n.KEY_ENTER:this.isPageup(e)?n.KEY_PAGEUP:this.isPagedown(e)?n.KEY_PAGEDOWN:this.isEscape(e)?n.KEY_ESCAPE:void 0},_up:function(){0===this._index?this._index=this.data.length-1:this._index-=1,this._activateIndexedItem(),this._setScroll()},_down:function(){this._index===this.data.length-1?this._index=0:this._index+=1,this._activateIndexedItem(),this._setScroll()},_enter:function(e){var t=this.data[parseInt(this._getActiveElement().data("index"),10)];this.completer.select(t.value,t.strategy,e),this.deactivate()},_pageup:function(){var t=0,n=this._getActiveElement().position().top-this.$el.innerHeight();this.$el.children().each(function(e){if(i(this).position().top+i(this).outerHeight()>n)return t=e,!1}),this._index=t,this._activateIndexedItem(),this._setScroll()},_pagedown:function(){var t=this.data.length-1,n=this._getActiveElement().position().top+this.$el.innerHeight();this.$el.children().each(function(e){if(i(this).position().top>n)return t=e,!1}),this._index=t,this._activateIndexedItem(),this._setScroll()},_activateIndexedItem:function(){this.$el.find(".textcomplete-item.active").removeClass("active"),this._getActiveElement().addClass("active")},_getActiveElement:function(){return this.$el.children(".textcomplete-item:nth("+this._index+")")},_setScroll:function(){var e=this._getActiveElement(),t=e.position().top,n=e.outerHeight(),r=this.$el.innerHeight(),i=this.$el.scrollTop();0===this._index||this._index==this.data.length-1||t<0?this.$el.scrollTop(t+i):r<t+n&&this.$el.scrollTop(t+n+i-r)},_buildContents:function(e){var t,n,r,i="";for(n=0;n<e.length&&this.data.length!==this.maxCount;n++)t=e[n],o(this.data,t)||(r=this.data.length,this.data.push(t),i+='<li class="textcomplete-item" data-index="'+r+'"><a>',i+=t.strategy.template(t.value,t.term),i+="</a></li>");return i},_renderHeader:function(e){if(this.header){this._$header||(this._$header=i('<li class="textcomplete-header"></li>').prependTo(this.$el));var t=i.isFunction(this.header)?this.header(e):this.header;this._$header.html(t)}},_renderFooter:function(e){if(this.footer){this._$footer||(this._$footer=i('<li class="textcomplete-footer"></li>').appendTo(this.$el));var t=i.isFunction(this.footer)?this.footer(e):this.footer;this._$footer.html(t)}},_renderNoResultsMessage:function(e){if(this.noResultsMessage){this._$noResultsMessage||(this._$noResultsMessage=i('<li class="textcomplete-no-results-message"></li>').appendTo(this.$el));var t=i.isFunction(this.noResultsMessage)?this.noResultsMessage(e):this.noResultsMessage;this._$noResultsMessage.html(t)}},_renderContents:function(e){this._$footer?this._$footer.before(e):this.$el.append(e)},_fitToBottom:function(){var e=a.scrollTop()+a.height(),t=this.$el.height();this.$el.position().top+t>e&&this.$el.offset({top:e-t})},_fitToRight:function(){for(var e,t=this.$el.offset().left,n=this.$el.width(),r=a.width()-30;r<t+n&&(this.$el.offset({left:t-30}),!(t<=(e=this.$el.offset().left)));)t=e},_applyPlacement:function(e){return-1!==this.placement.indexOf("top")?e={top:"auto",bottom:this.$el.parent().height()-e.top+e.lineHeight,left:e.left}:(e.bottom="auto",delete e.lineHeight),-1!==this.placement.indexOf("absleft")?e.left=0:-1!==this.placement.indexOf("absright")&&(e.right=0,e.left="auto"),e}}),i.fn.textcomplete.Dropdown=c,i.extend(i.fn.textcomplete,n)}(e),function(t){"use strict";function r(e){var r,i;t.extend(this,e),this.cache&&(this.search=(r=this.search,i={},function(t,n){i[t]?n(i[t]):r.call(this,t,function(e){i[t]=(i[t]||[]).concat(e),n.apply(null,arguments)})}))}r.parse=function(e,n){return t.map(e,function(e){var t=new r(e);return t.el=n.el,t.$el=n.$el,t})},t.extend(r.prototype,{match:null,replace:null,search:null,id:null,cache:!1,context:function(){return!0},index:2,template:function(e){return e},idProperty:null}),t.fn.textcomplete.Strategy=r}(e),function(f){"use strict";var d=Date.now||function(){return(new Date).getTime()};function e(){}f.extend(e.prototype,{id:null,completer:null,el:null,$el:null,option:null,initialize:function(e,t,n){var r,i,a,o,s,c,l,u;this.el=e,this.$el=f(e),this.id=t.id+this.constructor.name,this.completer=t,this.option=n,this.option.debounce&&(this._onKeyup=(r=this._onKeyup,i=this.option.debounce,u=function(){var e=d()-c;e<i?a=setTimeout(u,i-e):(a=null,l=r.apply(s,o),s=o=null)},function(){return s=this,o=arguments,c=d(),a||(a=setTimeout(u,i)),l})),this._bindEvents()},destroy:function(){this.$el.off("."+this.id),this.$el=this.el=this.completer=null},select:function(){throw new Error("Not implemented")},getCaretPosition:function(){var e=this._getCaretRelativePosition(),t=this.$el.offset(),n=this.option.appendTo;if(n){n instanceof f||(n=f(n));var r=n.offsetParent().offset();t.top-=r.top,t.left-=r.left}return e.top+=t.top,e.left+=t.left,e},focus:function(){this.$el.focus()},_bindEvents:function(){this.$el.on("keyup."+this.id,f.proxy(this._onKeyup,this))},_onKeyup:function(e){this._skipSearch(e)||this.completer.trigger(this.getTextFromHeadToCaret(),!0)},_skipSearch:function(e){switch(e.keyCode){case 9:case 13:case 40:case 38:return!0}if(e.ctrlKey)switch(e.keyCode){case 78:case 80:return!0}}}),f.fn.textcomplete.Adapter=e}(e),function(o){"use strict";function e(e,t,n){this.initialize(e,t,n)}o.extend(e.prototype,o.fn.textcomplete.Adapter.prototype,{select:function(e,t,n){var r=this.getTextFromHeadToCaret(),i=this.el.value.substring(this.el.selectionEnd),a=t.replace(e,n);void 0!==a&&(o.isArray(a)&&(i=a[1]+i,a=a[0]),r=r.replace(t.match,a),this.$el.val(r+i),this.el.selectionStart=this.el.selectionEnd=r.length)},getTextFromHeadToCaret:function(){return this.el.value.substring(0,this.el.selectionEnd)},_getCaretRelativePosition:function(){var e=o.fn.textcomplete.getCaretCoordinates(this.el,this.el.selectionStart);return{top:e.top+this._calculateLineHeight()-this.$el.scrollTop(),left:e.left-this.$el.scrollLeft()}},_calculateLineHeight:function(){var e=parseInt(this.$el.css("line-height"),10);if(isNaN(e)){var t=this.el.parentNode,n=document.createElement(this.el.nodeName),r=this.el.style;n.setAttribute("style","margin:0px;padding:0px;font-family:"+r.fontFamily+";font-size:"+r.fontSize),n.innerHTML="test",t.appendChild(n),e=n.clientHeight,t.removeChild(n)}return e}}),o.fn.textcomplete.Textarea=e}(e),function(s){"use strict";function e(e,t,n){this.initialize(e,t,n),s("<span>吶</span>").css({position:"absolute",top:-9999,left:-9999}).insertBefore(e)}s.extend(e.prototype,s.fn.textcomplete.Textarea.prototype,{select:function(e,t,n){var r=this.getTextFromHeadToCaret(),i=this.el.value.substring(r.length),a=t.replace(e,n);if(void 0!==a){s.isArray(a)&&(i=a[1]+i,a=a[0]),r=r.replace(t.match,a),this.$el.val(r+i),this.el.focus();var o=this.el.createTextRange();o.collapse(!0),o.moveEnd("character",r.length),o.moveStart("character",r.length),o.select()}},getTextFromHeadToCaret:function(){this.el.focus();var e=document.selection.createRange();e.moveStart("character",-this.el.value.length);var t=e.text.split("吶");return 1===t.length?t[0]:t[1]}}),s.fn.textcomplete.IETextarea=e}(e),function(p){"use strict";function e(e,t,n){this.initialize(e,t,n)}p.extend(e.prototype,p.fn.textcomplete.Adapter.prototype,{select:function(e,t,n){var r=this.getTextFromHeadToCaret(),i=window.getSelection(),a=i.getRangeAt(0),o=a.cloneRange();o.selectNodeContents(a.startContainer);var s=o.toString().substring(a.startOffset),c=t.replace(e,n);if(void 0!==c){p.isArray(c)&&(s=c[1]+s,c=c[0]),r=r.replace(t.match,c),a.selectNodeContents(a.startContainer),a.deleteContents();var l=document.createElement("div");l.innerHTML=r;var u=document.createElement("div");u.innerHTML=s;for(var f,d,h=document.createDocumentFragment();f=l.firstChild;)d=h.appendChild(f);for(;f=u.firstChild;)h.appendChild(f);a.insertNode(h),a.setStartAfter(d),a.collapse(!0),i.removeAllRanges(),i.addRange(a)}},_getCaretRelativePosition:function(){var e=window.getSelection().getRangeAt(0).cloneRange(),t=document.createElement("span");e.insertNode(t),e.selectNodeContents(t),e.deleteContents();var n=p(t),r=n.offset();return r.left-=this.$el.offset().left,r.top+=n.height()-this.$el.offset().top,r.lineHeight=n.height(),n.remove(),r},getTextFromHeadToCaret:function(){var e=window.getSelection().getRangeAt(0),t=e.cloneRange();return t.selectNodeContents(e.startContainer),t.toString().substring(0,e.startOffset)}}),p.fn.textcomplete.ContentEditable=e}(e),t=e,u=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],f="undefined"!=typeof window,d=f&&null!=window.mozInnerScreenX,t.fn.textcomplete.getCaretCoordinates=function(e,t,n){if(!f)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var r=n&&n.debug||!1;if(r){var i=document.querySelector("#input-textarea-caret-position-mirror-div");i&&i.parentNode.removeChild(i)}var a=document.createElement("div");a.id="input-textarea-caret-position-mirror-div",document.body.appendChild(a);var o=a.style,s=window.getComputedStyle?getComputedStyle(e):e.currentStyle;o.whiteSpace="pre-wrap","INPUT"!==e.nodeName&&(o.wordWrap="break-word"),o.position="absolute",r||(o.visibility="hidden"),u.forEach(function(e){o[e]=s[e]}),d?e.scrollHeight>parseInt(s.height)&&(o.overflowY="scroll"):o.overflow="hidden",a.textContent=e.value.substring(0,t),"INPUT"===e.nodeName&&(a.textContent=a.textContent.replace(/\s/g," "));var c=document.createElement("span");c.textContent=e.value.substring(t)||".",a.appendChild(c);var l={top:c.offsetTop+parseInt(s.borderTopWidth),left:c.offsetLeft+parseInt(s.borderLeftWidth)};return r?c.style.backgroundColor="#aaa":document.body.removeChild(a),l},e}),window="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},document=window.document||{},function(e,t){"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(function(C){"use strict";var r=0,o={},s={},A=window.emojione,i=[];function a(e){A?e():i.push(e)}var S,T,c,x="data:image/gif;base64,R0lGODlhAQABAJH/AP///wAAAMDAwAAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw==",l=[].slice,k="emojionearea",E=0,D="​";function I(n,e,r){var i=!0,t=1;if(e){e=e.toLowerCase();do{var a=1==t?"@"+e:e;o[n.id][a]&&o[n.id][a].length&&C.each(o[n.id][a],function(e,t){return i=!1!==t.apply(n,r||[])})}while(i&&t--)}return i}function P(n,r,i,a){a=a||function(e,t){return C(t.currentTarget)},C.each(i,function(e,t){e=C.isArray(i)?t:e,(s[n.id][t]||(s[n.id][t]=[])).push([r,e,a])})}function u(e,t,n){var r,i=A.imageType;r="svg"==i?A.imagePathSVG:A.imagePathPNG;var a="";n&&(a=n.substr(1,n.length-2).replace(/_/g," ").replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}));var o="";return t.uc_base&&4<E?(o=t.uc_base,t=t.uc_output.toUpperCase()):o=t,e.replace("{name}",n||"").replace("{friendlyName}",a).replace("{img}",r+(E<2?o.toUpperCase():o)+"."+i).replace("{uni}",t).replace("{alt}",A.convert(t))}function M(e,n,r){return e.replace(/:?\+?[\w_\-]+:?/g,function(e){e=":"+e.replace(/:$/,"").replace(/^:/,"")+":";var t=A.emojioneList[e];return t?4<E?u(n,t,e):(3<E&&(t=t.unicode),u(n,t[t.length-1],e)):r?"":e})}function $(e){var t,n;if(window.getSelection){if((t=window.getSelection()).getRangeAt&&t.rangeCount){(n=t.getRangeAt(0)).deleteContents();var r=document.createElement("div");r.innerHTML=e;for(var i,a,o=document.createDocumentFragment();i=r.firstChild;)a=o.appendChild(i);n.insertNode(o),a&&((n=n.cloneRange()).setStartAfter(a),n.collapse(!0),t.removeAllRanges(),t.addRange(n))}}else document.selection&&"Control"!=document.selection.type&&document.selection.createRange().pasteHTML(e)}function f(){return window.emojioneVersion||"3.1.2"}function O(e){return"object"==typeof e}function d(e){var t;return e.cacheBustParam?(t=e.cacheBustParam,O(e.jsEscapeMap)?"?v=1.2.4"===t?"2.0.0":"?v=2.0.1"===t?"2.1.0":"?v=2.1.1"===t?"2.1.1":"?v=2.1.2"===t?"2.1.2":"?v=2.1.3"===t?"2.1.3":"?v=2.1.4"===t?"2.1.4":"2.2.7":"1.5.2"):e.emojiVersion}function h(e){switch(e){case"1.5.2":return 0;case"2.0.0":return 1;case"2.1.0":case"2.1.1":return 2;case"2.1.2":return 3;case"2.1.3":case"2.1.4":case"2.2.7":return 4;case"3.0.1":case"3.0.2":case"3.0.3":case"3.0":return 5;case"3.1.0":case"3.1.1":case"3.1.2":case"3.1":default:return 6}}function n(){if(C.fn.emojioneArea&&C.fn.emojioneArea.defaults)return C.fn.emojioneArea.defaults;var e={attributes:{dir:"ltr",spellcheck:!1,autocomplete:"off",autocorrect:"off",autocapitalize:"off"},search:!0,placeholder:null,emojiPlaceholder:":smiley:",searchPlaceholder:"SEARCH",container:null,hideSource:!0,shortnames:!0,sprite:!0,pickerPosition:"top",filtersPosition:"top",searchPosition:"top",hidePickerOnBlur:!0,buttonTitle:"Use the TAB key to insert emoji faster",tones:!0,tonesStyle:"bullet",inline:null,saveEmojisAs:"unicode",shortcuts:!0,autocomplete:!0,autocompleteTones:!1,standalone:!1,useInternalCDN:!0,imageType:"png",recentEmojis:!0,textcomplete:{maxCount:15,placement:null}},t=h(A?d(A):f());return e.filters=4<t?{tones:{title:"Diversity",emoji:"open_hands raised_hands palms_up_together clap pray thumbsup thumbsdown punch fist left_facing_fist right_facing_fist fingers_crossed v metal love_you_gesture ok_hand point_left point_right point_up_2 point_down point_up raised_hand raised_back_of_hand hand_splayed vulcan wave call_me muscle middle_finger writing_hand selfie nail_care ear nose baby boy girl man woman blond-haired_woman blond-haired_man older_man older_woman man_with_chinese_cap woman_wearing_turban man_wearing_turban woman_police_officer man_police_officer woman_construction_worker man_construction_worker woman_guard man_guard woman_detective man_detective woman_health_worker man_health_worker woman_farmer man_farmer woman_cook man_cook woman_student man_student woman_singer man_singer woman_teacher man_teacher woman_factory_worker man_factory_worker woman_technologist man_technologist woman_office_worker man_office_worker woman_mechanic man_mechanic woman_scientist man_scientist woman_artist man_artist woman_firefighter man_firefighter woman_pilot man_pilot woman_astronaut man_astronaut woman_judge man_judge mrs_claus santa princess prince bride_with_veil man_in_tuxedo angel pregnant_woman breast_feeding woman_bowing man_bowing man_tipping_hand woman_tipping_hand man_gesturing_no woman_gesturing_no man_gesturing_ok woman_gesturing_ok man_raising_hand woman_raising_hand woman_facepalming man_facepalming woman_shrugging man_shrugging man_pouting woman_pouting man_frowning woman_frowning man_getting_haircut woman_getting_haircut man_getting_face_massage woman_getting_face_massage man_in_business_suit_levitating dancer man_dancing woman_walking man_walking woman_running man_running adult child older_adult bearded_person woman_with_headscarf woman_mage man_mage woman_fairy man_fairy woman_vampire man_vampire mermaid merman woman_elf man_elf snowboarder woman_lifting_weights man_lifting_weights woman_cartwheeling man_cartwheeling woman_bouncing_ball man_bouncing_ball woman_playing_handball man_playing_handball woman_golfing man_golfing woman_surfing man_surfing woman_swimming man_swimming woman_playing_water_polo man_playing_water_polo woman_rowing_boat man_rowing_boat horse_racing woman_biking man_biking woman_mountain_biking man_mountain_biking woman_juggling man_juggling woman_in_steamy_room man_in_steamy_room woman_climbing man_climbing woman_in_lotus_position man_in_lotus_position bath person_in_bed"},recent:{icon:"clock3",title:"Recent",emoji:""},smileys_people:{icon:"yum",title:"Smileys & People",emoji:"grinning smiley smile grin laughing sweat_smile joy rofl relaxed blush innocent slight_smile upside_down wink relieved crazy_face star_struck heart_eyes kissing_heart kissing kissing_smiling_eyes kissing_closed_eyes yum stuck_out_tongue_winking_eye stuck_out_tongue_closed_eyes stuck_out_tongue money_mouth hugging nerd sunglasses cowboy smirk unamused disappointed pensive worried face_with_raised_eyebrow face_with_monocle confused slight_frown frowning2 persevere confounded tired_face weary triumph angry rage face_with_symbols_over_mouth no_mouth neutral_face expressionless hushed frowning anguished open_mouth astonished dizzy_face exploding_head flushed scream fearful cold_sweat cry disappointed_relieved drooling_face sob sweat sleepy sleeping rolling_eyes thinking shushing_face face_with_hand_over_mouth lying_face grimacing zipper_mouth face_vomiting nauseated_face sneezing_face mask thermometer_face head_bandage smiling_imp imp japanese_ogre japanese_goblin poop ghost skull skull_crossbones alien space_invader robot jack_o_lantern clown smiley_cat smile_cat joy_cat heart_eyes_cat smirk_cat kissing_cat scream_cat crying_cat_face pouting_cat open_hands raised_hands palms_up_together clap pray handshake thumbsup thumbsdown punch fist left_facing_fist right_facing_fist fingers_crossed v metal love_you_gesture ok_hand point_left point_right point_up_2 point_down point_up raised_hand raised_back_of_hand hand_splayed vulcan wave call_me muscle middle_finger writing_hand selfie nail_care ring lipstick kiss lips tongue ear nose footprints eye eyes speaking_head bust_in_silhouette busts_in_silhouette baby boy girl man woman blond-haired_woman blond_haired_man older_man older_woman man_with_chinese_cap woman_wearing_turban man_wearing_turban woman_police_officer police_officer woman_construction_worker construction_worker woman_guard guard woman_detective detective woman_health_worker man_health_worker woman_farmer man_farmer woman_cook man_cook woman_student man_student woman_singer man_singer woman_teacher man_teacher woman_factory_worker man_factory_worker woman_technologist man_technologist woman_office_worker man_office_worker woman_mechanic man_mechanic woman_scientist man_scientist woman_artist man_artist woman_firefighter man_firefighter woman_pilot man_pilot woman_astronaut man_astronaut woman_judge man_judge mrs_claus santa princess prince bride_with_veil man_in_tuxedo angel pregnant_woman breast_feeding woman_bowing man_bowing woman_tipping_hand man_tipping_hand woman_gesturing_no man_gesturing_no woman_gesturing_ok man_gesturing_ok woman_raising_hand man_raising_hand woman_facepalming man_facepalming woman_shrugging man_shrugging woman_pouting man_pouting woman_frowning man_frowning woman_getting_haircut man_getting_haircut woman_getting_face_massage man_getting_face_massage man_in_business_suit_levitating dancer man_dancing women_with_bunny_ears_partying men_with_bunny_ears_partying woman_walking man_walking woman_running man_running couple two_women_holding_hands two_men_holding_hands couple_with_heart couple_ww couple_mm couplekiss kiss_ww kiss_mm family family_mwg family_mwgb family_mwbb family_mwgg family_wwb family_wwg family_wwgb family_wwbb family_wwgg family_mmb family_mmg family_mmgb family_mmbb family_mmgg family_woman_boy family_woman_girl family_woman_girl_boy family_woman_boy_boy family_woman_girl_girl family_man_boy family_man_girl family_man_girl_boy family_man_boy_boy family_man_girl_girl bearded_person woman_with_headscarf woman_mage man_mage woman_fairy man_fairy woman_vampire man_vampire mermaid merman woman_elf man_elf woman_genie man_genie woman_zombie man_zombie womans_clothes shirt jeans necktie dress bikini kimono high_heel sandal boot mans_shoe athletic_shoe womans_hat tophat mortar_board crown helmet_with_cross school_satchel pouch purse handbag briefcase eyeglasses dark_sunglasses closed_umbrella umbrella2 brain billed_cap scarf gloves coat socks "},animals_nature:{icon:"hamster",title:"Animals & Nature",emoji:"dog cat mouse hamster rabbit fox bear panda_face koala tiger lion_face cow pig pig_nose frog monkey_face see_no_evil hear_no_evil speak_no_evil monkey chicken penguin bird baby_chick hatching_chick hatched_chick duck eagle owl bat wolf boar horse unicorn bee bug butterfly snail shell beetle ant spider spider_web turtle snake lizard scorpion crab squid octopus shrimp tropical_fish fish blowfish dolphin shark whale whale2 crocodile leopard tiger2 water_buffalo ox cow2 deer dromedary_camel camel elephant rhino gorilla racehorse pig2 goat ram sheep dog2 poodle cat2 rooster turkey dove rabbit2 mouse2 rat chipmunk dragon giraffe zebra hedgehog sauropod t_rex cricket dragon_face feet cactus christmas_tree evergreen_tree deciduous_tree palm_tree seedling herb shamrock four_leaf_clover bamboo tanabata_tree leaves fallen_leaf maple_leaf mushroom ear_of_rice bouquet tulip rose wilted_rose sunflower blossom cherry_blossom hibiscus earth_americas earth_africa earth_asia full_moon waning_gibbous_moon last_quarter_moon waning_crescent_moon new_moon waxing_crescent_moon first_quarter_moon waxing_gibbous_moon new_moon_with_face full_moon_with_face sun_with_face first_quarter_moon_with_face last_quarter_moon_with_face crescent_moon dizzy star star2 sparkles zap fire boom comet sunny white_sun_small_cloud partly_sunny white_sun_cloud white_sun_rain_cloud rainbow cloud cloud_rain thunder_cloud_rain cloud_lightning cloud_snow snowman2 snowman snowflake wind_blowing_face dash cloud_tornado fog ocean droplet sweat_drops umbrella "},food_drink:{icon:"pizza",title:"Food & Drink",emoji:"green_apple apple pear tangerine lemon banana watermelon grapes strawberry melon cherries peach pineapple kiwi avocado tomato eggplant cucumber carrot corn hot_pepper potato sweet_potato chestnut peanuts honey_pot croissant bread french_bread cheese egg cooking bacon pancakes fried_shrimp poultry_leg meat_on_bone pizza hotdog hamburger fries stuffed_flatbread taco burrito salad shallow_pan_of_food spaghetti ramen stew fish_cake sushi bento curry rice_ball rice rice_cracker oden dango shaved_ice ice_cream icecream cake birthday custard lollipop candy chocolate_bar popcorn doughnut cookie milk baby_bottle coffee tea sake beer beers champagne_glass wine_glass tumbler_glass cocktail tropical_drink champagne spoon fork_and_knife fork_knife_plate dumpling fortune_cookie takeout_box chopsticks bowl_with_spoon cup_with_straw coconut broccoli pie pretzel cut_of_meat sandwich canned_food"},activity:{icon:"basketball",title:"Activity",emoji:"soccer basketball football baseball tennis volleyball rugby_football 8ball ping_pong badminton goal hockey field_hockey cricket_game golf bow_and_arrow fishing_pole_and_fish boxing_glove martial_arts_uniform ice_skate ski skier snowboarder woman_lifting_weights man_lifting_weights person_fencing women_wrestling men_wrestling woman_cartwheeling man_cartwheeling woman_bouncing_ball man_bouncing_ball woman_playing_handball man_playing_handball woman_golfing man_golfing woman_surfing man_surfing woman_swimming man_swimming woman_playing_water_polo man_playing_water_polo woman_rowing_boat man_rowing_boat horse_racing woman_biking man_biking woman_mountain_biking man_mountain_biking woman_in_steamy_room man_in_steamy_room woman_climbing man_climbing woman_in_lotus_position man_in_lotus_position running_shirt_with_sash medal military_medal first_place second_place third_place trophy rosette reminder_ribbon ticket tickets circus_tent woman_juggling man_juggling performing_arts art clapper microphone headphones musical_score musical_keyboard drum saxophone trumpet guitar violin game_die dart bowling video_game slot_machine sled curling_stone "},travel_places:{icon:"rocket",title:"Travel & Places",emoji:"red_car taxi blue_car bus trolleybus race_car police_car ambulance fire_engine minibus truck articulated_lorry tractor scooter bike motor_scooter motorcycle rotating_light oncoming_police_car oncoming_bus oncoming_automobile oncoming_taxi aerial_tramway mountain_cableway suspension_railway railway_car train mountain_railway monorail bullettrain_side bullettrain_front light_rail steam_locomotive train2 metro tram station helicopter airplane_small airplane airplane_departure airplane_arriving rocket satellite_orbital seat canoe sailboat motorboat speedboat cruise_ship ferry ship anchor construction fuelpump busstop vertical_traffic_light traffic_light map moyai statue_of_liberty fountain tokyo_tower european_castle japanese_castle stadium ferris_wheel roller_coaster carousel_horse beach_umbrella beach island mountain mountain_snow mount_fuji volcano desert camping tent railway_track motorway construction_site factory house house_with_garden homes house_abandoned office department_store post_office european_post_office hospital bank hotel convenience_store school love_hotel wedding classical_building church mosque synagogue kaaba shinto_shrine japan rice_scene park sunrise sunrise_over_mountains stars sparkler fireworks city_sunset city_dusk cityscape night_with_stars milky_way bridge_at_night foggy flying_saucer"},objects:{icon:"bulb",title:"Objects",emoji:"watch iphone calling computer keyboard desktop printer mouse_three_button trackball joystick compression minidisc floppy_disk cd dvd vhs camera camera_with_flash video_camera movie_camera projector film_frames telephone_receiver telephone pager fax tv radio microphone2 level_slider control_knobs stopwatch timer alarm_clock clock hourglass hourglass_flowing_sand satellite battery electric_plug bulb flashlight candle wastebasket oil money_with_wings dollar yen euro pound moneybag credit_card gem scales wrench hammer hammer_pick tools pick nut_and_bolt gear chains gun bomb knife dagger crossed_swords shield smoking coffin urn amphora crystal_ball prayer_beads barber alembic telescope microscope hole pill syringe thermometer toilet potable_water shower bathtub bath bellhop key key2 door couch bed sleeping_accommodation frame_photo shopping_bags shopping_cart gift balloon flags ribbon confetti_ball tada dolls izakaya_lantern wind_chime envelope envelope_with_arrow incoming_envelope e-mail love_letter inbox_tray outbox_tray package label mailbox_closed mailbox mailbox_with_mail mailbox_with_no_mail postbox postal_horn scroll page_with_curl page_facing_up bookmark_tabs bar_chart chart_with_upwards_trend chart_with_downwards_trend notepad_spiral calendar_spiral calendar date card_index card_box ballot_box file_cabinet clipboard file_folder open_file_folder dividers newspaper2 newspaper notebook notebook_with_decorative_cover ledger closed_book green_book blue_book orange_book books book bookmark link paperclip paperclips triangular_ruler straight_ruler pushpin round_pushpin scissors pen_ballpoint pen_fountain black_nib paintbrush crayon pencil pencil2 mag mag_right lock_with_ink_pen closed_lock_with_key lock unlock"},symbols:{icon:"heartpulse",title:"Symbols",emoji:"heart orange_heart yellow_heart green_heart blue_heart purple_heart black_heart broken_heart heart_exclamation two_hearts revolving_hearts heartbeat heartpulse sparkling_heart cupid gift_heart heart_decoration peace cross star_and_crescent om_symbol wheel_of_dharma star_of_david six_pointed_star menorah yin_yang orthodox_cross place_of_worship ophiuchus aries taurus gemini cancer leo virgo libra scorpius sagittarius capricorn aquarius pisces id atom accept radioactive biohazard mobile_phone_off vibration_mode u6709 u7121 u7533 u55b6 u6708 eight_pointed_black_star vs white_flower ideograph_advantage secret congratulations u5408 u6e80 u5272 u7981 a b ab cl o2 sos x o octagonal_sign no_entry name_badge no_entry_sign 100 anger hotsprings no_pedestrians do_not_litter no_bicycles non-potable_water underage no_mobile_phones no_smoking exclamation grey_exclamation question grey_question bangbang interrobang low_brightness high_brightness part_alternation_mark warning children_crossing trident fleur-de-lis beginner recycle white_check_mark u6307 chart sparkle eight_spoked_asterisk negative_squared_cross_mark globe_with_meridians diamond_shape_with_a_dot_inside m cyclone zzz atm wc wheelchair parking u7a7a sa passport_control customs baggage_claim left_luggage mens womens baby_symbol restroom put_litter_in_its_place cinema signal_strength koko symbols information_source abc abcd capital_abcd ng ok up cool new free zero one two three four five six seven eight nine keycap_ten 1234 hash asterisk arrow_forward pause_button play_pause stop_button record_button eject track_next track_previous fast_forward rewind arrow_double_up arrow_double_down arrow_backward arrow_up_small arrow_down_small arrow_right arrow_left arrow_up arrow_down arrow_upper_right arrow_lower_right arrow_lower_left arrow_upper_left arrow_up_down left_right_arrow arrow_right_hook leftwards_arrow_with_hook arrow_heading_up arrow_heading_down twisted_rightwards_arrows repeat repeat_one arrows_counterclockwise arrows_clockwise musical_note notes heavy_plus_sign heavy_minus_sign heavy_division_sign heavy_multiplication_x heavy_dollar_sign currency_exchange tm copyright registered wavy_dash curly_loop loop end back on top soon heavy_check_mark ballot_box_with_check radio_button white_circle black_circle red_circle blue_circle small_red_triangle small_red_triangle_down small_orange_diamond small_blue_diamond large_orange_diamond large_blue_diamond white_square_button black_square_button black_small_square white_small_square black_medium_small_square white_medium_small_square black_medium_square white_medium_square black_large_square white_large_square speaker mute sound loud_sound bell no_bell mega loudspeaker speech_left eye_in_speech_bubble speech_balloon thought_balloon anger_right spades clubs hearts diamonds black_joker flower_playing_cards mahjong clock1 clock2 clock3 clock4 clock5 clock6 clock7 clock8 clock9 clock10 clock11 clock12 clock130 clock230 clock330 clock430 clock530 clock630 clock730 clock830 clock930 clock1030 clock1130 clock1230"},flags:{icon:"flag_gb",title:"Flags",emoji:"flag_white flag_black checkered_flag triangular_flag_on_post rainbow_flag flag_af flag_ax flag_al flag_dz flag_as flag_ad flag_ao flag_ai flag_aq flag_ag flag_ar flag_am flag_aw flag_au flag_at flag_az flag_bs flag_bh flag_bd flag_bb flag_by flag_be flag_bz flag_bj flag_bm flag_bt flag_bo flag_ba flag_bw flag_br flag_io flag_vg flag_bn flag_bg flag_bf flag_bi flag_kh flag_cm flag_ca flag_ic flag_cv flag_bq flag_ky flag_cf flag_td flag_cl flag_cn flag_cx flag_cc flag_co flag_km flag_cg flag_cd flag_ck flag_cr flag_ci flag_hr flag_cu flag_cw flag_cy flag_cz flag_dk flag_dj flag_dm flag_do flag_ec flag_eg flag_sv flag_gq flag_er flag_ee flag_et flag_eu flag_fk flag_fo flag_fj flag_fi flag_fr flag_gf flag_pf flag_tf flag_ga flag_gm flag_ge flag_de flag_gh flag_gi flag_gr flag_gl flag_gd flag_gp flag_gu flag_gt flag_gg flag_gn flag_gw flag_gy flag_ht flag_hn flag_hk flag_hu flag_is flag_in flag_id flag_ir flag_iq flag_ie flag_im flag_il flag_it flag_jm flag_jp crossed_flags flag_je flag_jo flag_kz flag_ke flag_ki flag_xk flag_kw flag_kg flag_la flag_lv flag_lb flag_ls flag_lr flag_ly flag_li flag_lt flag_lu flag_mo flag_mk flag_mg flag_mw flag_my flag_mv flag_ml flag_mt flag_mh flag_mq flag_mr flag_mu flag_yt flag_mx flag_fm flag_md flag_mc flag_mn flag_me flag_ms flag_ma flag_mz flag_mm flag_na flag_nr flag_np flag_nl flag_nc flag_nz flag_ni flag_ne flag_ng flag_nu flag_nf flag_kp flag_mp flag_no flag_om flag_pk flag_pw flag_ps flag_pa flag_pg flag_py flag_pe flag_ph flag_pn flag_pl flag_pt flag_pr flag_qa flag_re flag_ro flag_ru flag_rw flag_ws flag_sm flag_st flag_sa flag_sn flag_rs flag_sc flag_sl flag_sg flag_sx flag_sk flag_si flag_gs flag_sb flag_so flag_za flag_kr flag_ss flag_es flag_lk flag_bl flag_sh flag_kn flag_lc flag_pm flag_vc flag_sd flag_sr flag_sz flag_se flag_ch flag_sy flag_tw flag_tj flag_tz flag_th flag_tl flag_tg flag_tk flag_to flag_tt flag_tn flag_tr flag_tm flag_tc flag_tv flag_vi flag_ug flag_ua flag_ae flag_gb flag_us flag_uy flag_uz flag_vu flag_va flag_ve flag_vn flag_wf flag_eh flag_ye flag_zm flag_zw flag_ac flag_ta flag_bv flag_hm flag_sj flag_um flag_ea flag_cp flag_dg flag_mf united_nations england scotland wales"}}:{tones:{title:"Diversity",emoji:"santa runner surfer swimmer lifter ear nose point_up_2 point_down point_left point_right punch wave ok_hand thumbsup thumbsdown clap open_hands boy girl man woman cop bride_with_veil person_with_blond_hair man_with_gua_pi_mao man_with_turban older_man grandma baby construction_worker princess angel information_desk_person guardsman dancer nail_care massage haircut muscle spy hand_splayed middle_finger vulcan no_good ok_woman bow raising_hand raised_hands person_frowning person_with_pouting_face pray rowboat bicyclist mountain_bicyclist walking bath metal point_up basketball_player fist raised_hand v writing_hand"},recent:{icon:"clock3",title:"Recent",emoji:""},smileys_people:{icon:"yum",title:"Smileys & People",emoji:"grinning grimacing grin joy smiley smile sweat_smile laughing innocent wink blush slight_smile upside_down relaxed yum relieved heart_eyes kissing_heart kissing kissing_smiling_eyes kissing_closed_eyes stuck_out_tongue_winking_eye stuck_out_tongue_closed_eyes stuck_out_tongue money_mouth nerd sunglasses hugging smirk no_mouth neutral_face expressionless unamused rolling_eyes thinking flushed disappointed worried angry rage pensive confused slight_frown frowning2 persevere confounded tired_face weary triumph open_mouth scream fearful cold_sweat hushed frowning anguished cry disappointed_relieved sleepy sweat sob dizzy_face astonished zipper_mouth mask thermometer_face head_bandage sleeping zzz poop smiling_imp imp japanese_ogre japanese_goblin skull ghost alien robot smiley_cat smile_cat joy_cat heart_eyes_cat smirk_cat kissing_cat scream_cat crying_cat_face pouting_cat raised_hands clap wave thumbsup thumbsdown punch fist v ok_hand raised_hand open_hands muscle pray point_up point_up_2 point_down point_left point_right middle_finger hand_splayed metal vulcan writing_hand nail_care lips tongue ear nose eye eyes bust_in_silhouette busts_in_silhouette speaking_head baby boy girl man woman person_with_blond_hair older_man older_woman man_with_gua_pi_mao man_with_turban cop construction_worker guardsman spy santa angel princess bride_with_veil walking runner dancer dancers couple two_men_holding_hands two_women_holding_hands bow information_desk_person no_good ok_woman raising_hand person_with_pouting_face person_frowning haircut massage couple_with_heart couple_ww couple_mm couplekiss kiss_ww kiss_mm family family_mwg family_mwgb family_mwbb family_mwgg family_wwb family_wwg family_wwgb family_wwbb family_wwgg family_mmb family_mmg family_mmgb family_mmbb family_mmgg womans_clothes shirt jeans necktie dress bikini kimono lipstick kiss footprints high_heel sandal boot mans_shoe athletic_shoe womans_hat tophat helmet_with_cross mortar_board crown school_satchel pouch purse handbag briefcase eyeglasses dark_sunglasses ring closed_umbrella"},animals_nature:{icon:"hamster",title:"Animals & Nature",emoji:"dog cat mouse hamster rabbit bear panda_face koala tiger lion_face cow pig pig_nose frog octopus monkey_face see_no_evil hear_no_evil speak_no_evil monkey chicken penguin bird baby_chick hatching_chick hatched_chick wolf boar horse unicorn bee bug snail beetle ant spider scorpion crab snake turtle tropical_fish fish blowfish dolphin whale whale2 crocodile leopard tiger2 water_buffalo ox cow2 dromedary_camel camel elephant goat ram sheep racehorse pig2 rat mouse2 rooster turkey dove dog2 poodle cat2 rabbit2 chipmunk feet dragon dragon_face cactus christmas_tree evergreen_tree deciduous_tree palm_tree seedling herb shamrock four_leaf_clover bamboo tanabata_tree leaves fallen_leaf maple_leaf ear_of_rice hibiscus sunflower rose tulip blossom cherry_blossom bouquet mushroom chestnut jack_o_lantern shell spider_web earth_americas earth_africa earth_asia full_moon waning_gibbous_moon last_quarter_moon waning_crescent_moon new_moon waxing_crescent_moon first_quarter_moon waxing_gibbous_moon new_moon_with_face full_moon_with_face first_quarter_moon_with_face last_quarter_moon_with_face sun_with_face crescent_moon star star2 dizzy sparkles comet sunny white_sun_small_cloud partly_sunny white_sun_cloud white_sun_rain_cloud cloud cloud_rain thunder_cloud_rain cloud_lightning zap fire boom snowflake cloud_snow snowman2 snowman wind_blowing_face dash cloud_tornado fog umbrella2 umbrella droplet sweat_drops ocean"},food_drink:{icon:"pizza",title:"Food & Drink",emoji:"green_apple apple pear tangerine lemon banana watermelon grapes strawberry melon cherries peach pineapple tomato eggplant hot_pepper corn sweet_potato honey_pot bread cheese poultry_leg meat_on_bone fried_shrimp egg hamburger fries hotdog pizza spaghetti taco burrito ramen stew fish_cake sushi bento curry rice_ball rice rice_cracker oden dango shaved_ice ice_cream icecream cake birthday custard candy lollipop chocolate_bar popcorn doughnut cookie beer beers wine_glass cocktail tropical_drink champagne sake tea coffee baby_bottle fork_and_knife fork_knife_plate"},activity:{icon:"basketball",title:"Activity",emoji:"soccer basketball football baseball tennis volleyball rugby_football 8ball golf golfer ping_pong badminton hockey field_hockey cricket ski skier snowboarder ice_skate bow_and_arrow fishing_pole_and_fish rowboat swimmer surfer bath basketball_player lifter bicyclist mountain_bicyclist horse_racing levitate trophy running_shirt_with_sash medal military_medal reminder_ribbon rosette ticket tickets performing_arts art circus_tent microphone headphones musical_score musical_keyboard saxophone trumpet guitar violin clapper video_game space_invader dart game_die slot_machine bowling"},travel_places:{icon:"rocket",title:"Travel & Places",emoji:"red_car taxi blue_car bus trolleybus race_car police_car ambulance fire_engine minibus truck articulated_lorry tractor motorcycle bike rotating_light oncoming_police_car oncoming_bus oncoming_automobile oncoming_taxi aerial_tramway mountain_cableway suspension_railway railway_car train monorail bullettrain_side bullettrain_front light_rail mountain_railway steam_locomotive train2 metro tram station helicopter airplane_small airplane airplane_departure airplane_arriving sailboat motorboat speedboat ferry cruise_ship rocket satellite_orbital seat anchor construction fuelpump busstop vertical_traffic_light traffic_light checkered_flag ship ferris_wheel roller_coaster carousel_horse construction_site foggy tokyo_tower factory fountain rice_scene mountain mountain_snow mount_fuji volcano japan camping tent park motorway railway_track sunrise sunrise_over_mountains desert beach island city_sunset city_dusk cityscape night_with_stars bridge_at_night milky_way stars sparkler fireworks rainbow homes european_castle japanese_castle stadium statue_of_liberty house house_with_garden house_abandoned office department_store post_office european_post_office hospital bank hotel convenience_store school love_hotel wedding classical_building church mosque synagogue kaaba shinto_shrine"},objects:{icon:"bulb",title:"Objects",emoji:"watch iphone calling computer keyboard desktop printer mouse_three_button trackball joystick compression minidisc floppy_disk cd dvd vhs camera camera_with_flash video_camera movie_camera projector film_frames telephone_receiver telephone pager fax tv radio microphone2 level_slider control_knobs stopwatch timer alarm_clock clock hourglass_flowing_sand hourglass satellite battery electric_plug bulb flashlight candle wastebasket oil money_with_wings dollar yen euro pound moneybag credit_card gem scales wrench hammer hammer_pick tools pick nut_and_bolt gear chains gun bomb knife dagger crossed_swords shield smoking skull_crossbones coffin urn amphora crystal_ball prayer_beads barber alembic telescope microscope hole pill syringe thermometer label bookmark toilet shower bathtub key key2 couch sleeping_accommodation bed door bellhop frame_photo map beach_umbrella moyai shopping_bags balloon flags ribbon gift confetti_ball tada dolls wind_chime crossed_flags izakaya_lantern envelope envelope_with_arrow incoming_envelope e-mail love_letter postbox mailbox_closed mailbox mailbox_with_mail mailbox_with_no_mail package postal_horn inbox_tray outbox_tray scroll page_with_curl bookmark_tabs bar_chart chart_with_upwards_trend chart_with_downwards_trend page_facing_up date calendar calendar_spiral card_index card_box ballot_box file_cabinet clipboard notepad_spiral file_folder open_file_folder dividers newspaper2 newspaper notebook closed_book green_book blue_book orange_book notebook_with_decorative_cover ledger books book link paperclip paperclips scissors triangular_ruler straight_ruler pushpin round_pushpin triangular_flag_on_post flag_white flag_black closed_lock_with_key lock unlock lock_with_ink_pen pen_ballpoint pen_fountain black_nib pencil pencil2 crayon paintbrush mag mag_right"},symbols:{icon:"heartpulse",title:"Symbols",emoji:"heart yellow_heart green_heart blue_heart purple_heart broken_heart heart_exclamation two_hearts revolving_hearts heartbeat heartpulse sparkling_heart cupid gift_heart heart_decoration peace cross star_and_crescent om_symbol wheel_of_dharma star_of_david six_pointed_star menorah yin_yang orthodox_cross place_of_worship ophiuchus aries taurus gemini cancer leo virgo libra scorpius sagittarius capricorn aquarius pisces id atom u7a7a u5272 radioactive biohazard mobile_phone_off vibration_mode u6709 u7121 u7533 u55b6 u6708 eight_pointed_black_star vs accept white_flower ideograph_advantage secret congratulations u5408 u6e80 u7981 a b ab cl o2 sos no_entry name_badge no_entry_sign x o anger hotsprings no_pedestrians do_not_litter no_bicycles non-potable_water underage no_mobile_phones exclamation grey_exclamation question grey_question bangbang interrobang 100 low_brightness high_brightness trident fleur-de-lis part_alternation_mark warning children_crossing beginner recycle u6307 chart sparkle eight_spoked_asterisk negative_squared_cross_mark white_check_mark diamond_shape_with_a_dot_inside cyclone loop globe_with_meridians m atm sa passport_control customs baggage_claim left_luggage wheelchair no_smoking wc parking potable_water mens womens baby_symbol restroom put_litter_in_its_place cinema signal_strength koko ng ok up cool new free zero one two three four five six seven eight nine ten 1234 arrow_forward pause_button play_pause stop_button record_button track_next track_previous fast_forward rewind twisted_rightwards_arrows repeat repeat_one arrow_backward arrow_up_small arrow_down_small arrow_double_up arrow_double_down arrow_right arrow_left arrow_up arrow_down arrow_upper_right arrow_lower_right arrow_lower_left arrow_upper_left arrow_up_down left_right_arrow arrows_counterclockwise arrow_right_hook leftwards_arrow_with_hook arrow_heading_up arrow_heading_down hash asterisk information_source abc abcd capital_abcd symbols musical_note notes wavy_dash curly_loop heavy_check_mark arrows_clockwise heavy_plus_sign heavy_minus_sign heavy_division_sign heavy_multiplication_x heavy_dollar_sign currency_exchange copyright registered tm end back on top soon ballot_box_with_check radio_button white_circle black_circle red_circle large_blue_circle small_orange_diamond small_blue_diamond large_orange_diamond large_blue_diamond small_red_triangle black_small_square white_small_square black_large_square white_large_square small_red_triangle_down black_medium_square white_medium_square black_medium_small_square white_medium_small_square black_square_button white_square_button speaker sound loud_sound mute mega loudspeaker bell no_bell black_joker mahjong spades clubs hearts diamonds flower_playing_cards thought_balloon anger_right speech_balloon clock1 clock2 clock3 clock4 clock5 clock6 clock7 clock8 clock9 clock10 clock11 clock12 clock130 clock230 clock330 clock430 clock530 clock630 clock730 clock830 clock930 clock1030 clock1130 clock1230 eye_in_speech_bubble"},flags:{icon:"flag_gb",title:"Flags",emoji:"ac af al dz ad ao ai ag ar am aw au at az bs bh bd bb by be bz bj bm bt bo ba bw br bn bg bf bi cv kh cm ca ky cf td flag_cl cn co km cg flag_cd cr hr cu cy cz dk dj dm do ec eg sv gq er ee et fk fo fj fi fr pf ga gm ge de gh gi gr gl gd gu gt gn gw gy ht hn hk hu is in flag_id ir iq ie il it ci jm jp je jo kz ke ki xk kw kg la lv lb ls lr ly li lt lu mo mk mg mw my mv ml mt mh mr mu mx fm md mc mn me ms ma mz mm na nr np nl nc nz ni ne flag_ng nu kp no om pk pw ps pa pg py pe ph pl pt pr qa ro ru rw sh kn lc vc ws sm st flag_sa sn rs sc sl sg sk si sb so za kr es lk sd sr sz se ch sy tw tj tz th tl tg to tt tn tr flag_tm flag_tm ug ua ae gb us vi uy uz vu va ve vn wf eh ye zm zw re ax ta io bq cx cc gg im yt nf pn bl pm gs tk bv hm sj um ic ea cp dg as aq vg ck cw eu gf tf gp mq mp sx ss tc "}},e}function R(e){var t=n();if(e&&e.filters){var r=t.filters;C.each(e.filters,function(n,e){return!O(e)||C.isEmptyObject(e)?void delete r[n]:void C.each(e,function(e,t){r[n][e]=t})}),e.filters=r}return C.extend({},t,e)}function p(e,n){return e.replace(c,function(e){var t=A[0===E?"jsecapeMap":"jsEscapeMap"];return void 0!==e&&e in t?u(n,t[e]):e})}function N(e,t){return e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`").replace(/(?:\r\n|\r|\n)/g,"\n").replace(/(\n+)/g,"<div>$1</div>").replace(/\n/g,"<br/>").replace(/<br\/><\/div>/g,"</div>"),t.shortnames&&(e=A.shortnameToUnicode(e)),p(e,t.emojiTemplate).replace(/\t/g," ").replace(/ /g," ")}function L(e,t){switch(e=e.replace(/ /g,"\n").replace(/	/g,"\t").replace(/<img[^>]*alt="([^"]+)"[^>]*>/gi,"$1").replace(/\n|\r/g,"").replace(/<br[^>]*>/gi,"\n").replace(/(?:<(?:div|p|ol|ul|li|pre|code|object)[^>]*>)+/gi,"<div>").replace(/(?:<\/(?:div|p|ol|ul|li|pre|code|object)>)+/gi,"</div>").replace(/\n<div><\/div>/gi,"\n").replace(/<div><\/div>\n/gi,"\n").replace(/(?:<div>)+<\/div>/gi,"\n").replace(/([^\n])<\/div><div>/gi,"$1\n").replace(/(?:<\/div>)+/gi,"</div>").replace(/([^\n])<\/div>([^\n])/gi,"$1\n$2").replace(/<\/div>/gi,"").replace(/([^\n])<div>/gi,"$1\n").replace(/\n<div>/gi,"\n").replace(/<div>\n/gi,"\n\n").replace(/<(?:[^>]+)?>/g,"").replace(new RegExp(D,"g"),"").replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/`/g,"`").replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"),t.saveEmojisAs){case"image":e=p(e,t.emojiTemplate);break;case"shortname":e=A.toShort(e)}return e}function F(){var e=this.editor[0].offsetWidth-this.editor[0].clientWidth,t=parseInt(this.button.css("marginRight"));t!==e&&(this.button.css({marginRight:e}),this.floatingPicker&&this.picker.css({right:parseInt(this.picker.css("right"))-t+e}))}function G(){if(!this.sprite&&this.lasyEmoji[0]&&this.lasyEmoji.eq(0).is(".lazy-emoji")){var n=this.picker.offset().top,r=n+this.picker.height()+20;this.lasyEmoji.each(function(){var e=C(this),t=e.offset().top;if(n<t&&t<r&&e.attr("src",e.data("src")).removeClass("lazy-emoji"),r<t)return!1}),this.lasyEmoji=this.lasyEmoji.filter(".lazy-emoji")}}function j(e,t){return(t?"":".")+k+(e?"-"+e:"")}function B(e){var n=C("<div/>",O(e)?e:{class:j(e,!0)});return C.each(l.call(arguments).slice(1),function(e,t){C.isFunction(t)&&(t=t.call(n)),t&&C(t).appendTo(n)}),n}function U(){return localStorage.getItem("recent_emojis")||""}function H(e,t){var n=U();if(!e.recent||e.recent!==n||t){if(n.length){var r,i,a=e.scrollArea.is(".skinnable");a||(r=e.scrollArea.scrollTop(),t&&e.recentCategory.show(),i=e.recentCategory.is(":visible")?e.recentCategory.height():0);var o=M(n,e.emojiBtnTemplate,!0).split("|").join("");if(e.recentCategory.children(".emojibtn").remove(),C(o).insertAfter(e.recentCategory.children(".emojionearea-category-title")),e.recentCategory.children(".emojibtn").on("click",function(){e.trigger("emojibtn.click",C(this))}),e.recentFilter.show(),!a){e.recentCategory.show();var s=e.recentCategory.height();i!==s&&e.scrollArea.scrollTop(r+s-i)}}else e.recentFilter.hasClass("active")&&e.recentFilter.removeClass("active").next().addClass("active"),e.recentCategory.hide(),e.recentFilter.hide();e.recent=n}}function m(c,t,a){c.options=a=R(a),c.sprite=a.sprite&&E<3,c.inline=null===a.inline?t.is("INPUT"):a.inline,c.shortnames=a.shortnames,c.saveEmojisAs=a.saveEmojisAs,c.standalone=a.standalone,c.emojiTemplate='<img alt="{alt}" class="emojione'+(c.sprite?'-{uni}" src="'+x+'"/>':'emoji" src="{img}"/>'),c.emojiTemplateAlt=c.sprite?'<i class="emojione-{uni}"/>':'<img class="emojioneemoji" src="{img}"/>',c.emojiBtnTemplate='<i class="emojibtn" role="button" data-name="{name}" title="{friendlyName}">'+c.emojiTemplateAlt+"</i>",c.recentEmojis=a.recentEmojis&&function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(e){return!1}}();var e=a.pickerPosition;c.floatingPicker="top"===e||"bottom"===e,((c.source=t).is(":disabled")||t.is(".disabled"))&&c.disable();var o,n,s,l,u,r,f,d,h,p,i=t.is("TEXTAREA")||t.is("INPUT")?"val":"text",m=B("tones",a.tones?function(){this.addClass(j("tones-"+a.tonesStyle,!0));for(var e=0;e<=5;e++)this.append(C("<i/>",{class:"btn-tone btn-tone-"+e+(e?"":" active"),"data-skin":e,role:"button"}))}:null),g=B({class:k+(c.standalone?" "+k+"-standalone ":" ")+(t.attr("class")||""),role:"application"},o=c.editor=B("editor").attr({contenteditable:!c.standalone,placeholder:a.placeholder||t.data("placeholder")||t.attr("placeholder")||"",tabindex:0}),n=c.button=B("button",B("button-open"),B("button-close")).attr("title",a.buttonTitle),s=c.picker=B("picker",B("wrapper",l=B("filters"),a.search?r=B("search-panel",B("search",a.search?function(){c.search=C("<input/>",{placeholder:a.searchPlaceholder||"",type:"text",class:"search"}),this.append(c.search)}:null),m):null,p=B("scroll-area",a.tones&&!a.search?B("tones-panel",m):null,f=B("emojis-list")))).addClass(j("picker-position-"+a.pickerPosition,!0)).addClass(j("filters-position-"+a.filtersPosition,!0)).addClass(j("search-position-"+a.searchPosition,!0)).addClass("hidden"));a.search&&r.addClass(j("with-search",!0)),c.searchSel=null,o.data(t.data()),C.each(a.attributes,function(e,t){o.attr(e,t)});var _=B("category-block").attr({"data-tone":0}).prependTo(f);if(C.each(a.filters,function(e,t){var n=0;if("recent"!==e||c.recentEmojis){if("tones"!==e)C("<i/>",{class:j("filter",!0)+" "+j("filter-"+e,!0),"data-filter":e,title:t.title}).wrapInner(M(t.icon,c.emojiTemplateAlt)).appendTo(l);else{if(!a.tones)return;n=5}do{var r,i=t.emoji.replace(/[\s,;]+/g,"|");r=0===n?B("category").attr({name:e,"data-tone":n}).appendTo(_):B("category-block").attr({name:e,"data-tone":n}).appendTo(f),0<n&&(r.hide(),i=i.split("|").join("_tone"+n+"|")+"_tone"+n),"recent"===e&&(i=U()),i=M(i,c.sprite?'<i class="emojibtn" role="button" data-name="{name}" title="{friendlyName}"><i class="emojione-{uni}"></i></i>':'<i class="emojibtn" role="button" data-name="{name}" title="{friendlyName}"><img class="emojioneemoji lazy-emoji" data-src="{img}"/></i>',!0).split("|").join(""),r.html(i),C('<div class="emojionearea-category-title"/>').text(t.title).prependTo(r)}while(0<--n)}}),a.filters=null,c.sprite||(c.lasyEmoji=f.find(".lazy-emoji")),(u=l.find(j("filter"))).eq(0).addClass("active"),h=f.find(j("category-block")),d=f.find(j("category")),c.recentFilter=u.filter('[data-filter="recent"]'),c.recentCategory=d.filter("[name=recent]"),c.scrollArea=p,a.container?C(a.container).wrapInner(g):g.insertAfter(t),a.hideSource&&t.hide(),c.setText(t[i]()),t[i](c.getText()),F.apply(c),c.standalone&&!c.getText().length){var b=C(t).data("emoji-placeholder")||a.emojiPlaceholder;c.setText(b),o.addClass("has-placeholder")}P(c,f.find(".emojibtn"),{click:"emojibtn.click"}),P(c,window,{resize:"!resize"}),P(c,m.children(),{click:"tone.click"}),P(c,[s,n],{mousedown:"!mousedown"},o),P(c,n,{click:"button.click"}),P(c,o,{paste:"!paste"},o),P(c,o,["focus","blur"],function(){return!c.stayFocused&&o}),P(c,s,{mousedown:"picker.mousedown",mouseup:"picker.mouseup",click:"picker.click",keyup:"picker.keyup",keydown:"picker.keydown",keypress:"picker.keypress"}),P(c,o,["mousedown","mouseup","click","keyup","keydown","keypress"]),P(c,s.find(".emojionearea-filter"),{click:"filter.click"}),P(c,t,{change:"source.change"}),a.search&&P(c,c.search,{keyup:"search.keypress",focus:"search.focus",blur:"search.blur"});var v=!1;if(p.on("scroll",function(){if(!v&&(G.call(c),p.is(":not(.skinnable)"))){var n=d.eq(0),r=p.offset().top;d.each(function(e,t){return!(10<=C(t).offset().top-r)&&void(n=C(t))});var e=u.filter('[data-filter="'+n.attr("name")+'"]');e[0]&&!e.is(".active")&&(u.removeClass("active"),e.addClass("active"))}}),c.on("@filter.click",function(e){var t=e.is(".active");if(p.is(".skinnable")){if(t)return;m.children().eq(0).click()}v=!0,t||(u.filter(".active").removeClass("active"),e.addClass("active"));var n=d.filter('[name="'+e.data("filter")+'"]').offset().top,r=p.scrollTop(),i=p.offset().top;p.stop().animate({scrollTop:n+r-i-2},200,"swing",function(){G.call(c),v=!1})}).on("@picker.show",function(){c.recentEmojis&&H(c),G.call(c)}).on("@tone.click",function(e){m.children().removeClass("active");var t=e.addClass("active").data("skin");t?(p.addClass("skinnable"),h.hide().filter("[data-tone="+t+"]").show(),u.removeClass("active")):(p.removeClass("skinnable"),h.hide().filter("[data-tone=0]").show(),u.eq(0).click()),G.call(c),a.search&&c.trigger("search.keypress")}).on("@button.click",function(e){e.is(".active")?c.hidePicker():(c.showPicker(),c.searchSel=null)}).on("@!paste",function(o,e){var t=function(e){var t="caret-"+(new Date).getTime(),n=N(e,c);$(n),$('<i id="'+t+'"></i>'),o.scrollTop(s);var r=C("#"+t),i=r.offset().top-o.offset().top,a=o.height();(a<=s+i||i<s)&&o.scrollTop(s+i-2*a/3),r.remove(),c.stayFocused=!1,F.apply(c),I(c,"paste",[o,e,n])};if(e.originalEvent.clipboardData){var n=e.originalEvent.clipboardData.getData("text/plain");return t(n),e.preventDefault?e.preventDefault():e.stop(),e.returnValue=!1,e.stopPropagation(),!1}c.stayFocused=!0,$("<span>"+D+"</span>");var r=S(o[0]),s=o.scrollTop(),i=C("<div/>",{contenteditable:!0}).css({position:"fixed",left:"-999px",width:"1px",height:"1px",top:"20px",overflow:"hidden"}).appendTo(C("BODY")).focus();window.setTimeout(function(){o.focus(),T(o[0],r);var e=L(i.html().replace(/\r\n|\n|\r/g,"<br>"),c);i.remove(),t(e)},200)}).on("@emojibtn.click",function(e){var t,n,r,i;o.removeClass("has-placeholder"),null!==c.searchSel&&(o.focus(),T(o[0],c.searchSel),c.searchSel=null),c.standalone?(o.html(M(e.data("name"),c.emojiTemplate)),c.trigger("blur")):(S(o[0]),$(M(e.data("name"),c.emojiTemplate))),c.recentEmojis&&(t=c,n=e.data("name"),r=U().split("|"),-1!==(i=r.indexOf(n))&&r.splice(i,1),r.unshift(n),9<r.length&&r.pop(),localStorage.setItem("recent_emojis",r.join("|")),H(t)),c.trigger("search.keypress")}).on("@!resize @keyup @emojibtn.click",F).on("@!mousedown",function(e,t){return C(t.target).hasClass("search")?(c.stayFocused=!0,null===c.searchSel&&(c.searchSel=S(e[0]))):(g.is(".focused")||e.trigger("focus"),t.preventDefault()),!1}).on("@change",function(){var e=c.editor.html().replace(/<\/?(?:div|span|p)[^>]*>/gi,"");e.length&&!/^<br[^>]*>$/i.test(e)||c.editor.html(c.content=""),t[i](c.getText())}).on("@source.change",function(){c.setText(t[i]()),I("change")}).on("@focus",function(){g.addClass("focused")}).on("@blur",function(){g.removeClass("focused"),a.hidePickerOnBlur&&c.hidePicker();var e=c.editor.html();c.content!==e?(c.content=e,I(c,"change",[c.editor]),t.trigger("blur").trigger("change")):t.trigger("blur"),a.search&&(c.search.val(""),c.trigger("search.keypress",!0))}),a.search&&c.on("@search.focus",function(){c.stayFocused=!0,c.search.addClass("focused")}).on("@search.keypress",function(e){var r=s.find(".emojionearea-filter"),n=a.tones?m.find("i.active").data("skin"):0,i=c.search.val().replace(/ /g,"_").replace(/"/g,'\\"');i&&i.length?(c.recentFilter.hasClass("active")&&c.recentFilter.removeClass("active").next().addClass("active"),c.recentCategory.hide(),c.recentFilter.hide(),h.each(function(){var e=function(e,t){var n=e.find('.emojibtn[data-name*="'+i+'"]');0===n.length?(e.data("tone")===t&&e.hide(),r.filter('[data-filter="'+e.attr("name")+'"]').hide()):(e.find('.emojibtn:not([data-name*="'+i+'"])').hide(),n.show(),e.data("tone")===t&&e.show(),r.filter('[data-filter="'+e.attr("name")+'"]').show())},t=C(this);0===t.data("tone")?d.filter(':not([name="recent"])').each(function(){e(C(this),0)}):e(t,n)}),v?G.call(c):p.trigger("scroll")):(H(c,!0),h.filter('[data-tone="'+m.find("i.active").data("skin")+'"]:not([name="recent"])').show(),C(".emojibtn",h).show(),r.show(),G.call(c))}).on("@search.blur",function(){c.stayFocused=!1,c.search.removeClass("focused"),c.trigger("blur")}),a.shortcuts&&c.on("@keydown",function(e,t){t.ctrlKey||(9==t.which?(t.preventDefault(),n.click()):27==t.which&&(t.preventDefault(),n.is(".active")&&c.hidePicker()))}),O(a.events)&&!C.isEmptyObject(a.events)&&C.each(a.events,function(e,t){c.on(e.replace(/_/g,"."),t)}),a.autocomplete){var y=function(){var e={maxCount:a.textcomplete.maxCount,placement:a.textcomplete.placement};a.shortcuts&&(e.onKeydown=function(e,t){if(!e.ctrlKey&&13==e.which)return t.KEY_ENTER});var n=C.map(A.emojioneList,function(e,t){return a.autocompleteTones?t:/_tone[12345]/.test(t)?null:t});n.sort(),o.textcomplete([{id:k,match:/\B(:[\-+\w]*)$/,search:function(t,e){e(C.map(n,function(e){return 0===e.indexOf(t)?e:null}))},template:function(e){return M(e,c.emojiTemplate)+" "+e.replace(/:/g,"")},replace:function(e){return M(e,c.emojiTemplate)},cache:!0,index:1}],e),a.textcomplete.placement&&"static"==C(o.data("textComplete").option.appendTo).css("position")&&C(o.data("textComplete").option.appendTo).css("position","relative")},w=function(){if(c.disabled){var e=function(){c.off("enabled",e),y()};c.on("enabled",e)}else y()};C.fn.textcomplete?w():C.ajax({url:"https://cdn.rawgit.com/yuku-t/jquery-textcomplete/v1.3.4/dist/jquery.textcomplete.js",dataType:"script",cache:!0,success:w})}c.inline&&(g.addClass(j("inline",!0)),c.on("@keydown",function(e,t){13==t.which&&t.preventDefault()})),/firefox/i.test(navigator.userAgent)&&document.execCommand("enableObjectResizing",!1,!1),c.isReady=!0,c.trigger("onLoad",o),c.trigger("ready",o)}window.getSelection&&document.createRange?(S=function(e){var t=window.getSelection&&window.getSelection();if(t&&0<t.rangeCount)return t.getRangeAt(0)},T=function(e,t){var n=document.createRange();n.setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset),(t=window.getSelection()).removeAllRanges(),t.addRange(n)}):document.selection&&document.body.createTextRange&&(S=function(e){return document.selection.createRange()},T=function(e,t){var n=document.body.createTextRange();n.moveToElementText(e),n.setStart(t.startContanier,t.startOffset),n.setEnd(t.endContainer,t.endOffset),n.select()});var g={defaultBase:"https://cdnjs.cloudflare.com/ajax/libs/emojione/",defaultBase3:"https://cdn.jsdelivr.net/",base:null,isLoading:!1};function _(t){var n=f();if(t=R(t),!g.isLoading)if(!A||h(d(A))<2){var e;g.isLoading=!0,e=5<h(n)?g.defaultBase3+"npm/emojione@"+n:4<h(n)?g.defaultBase3+"emojione/"+n:g.defaultBase+"/"+n,C.ajax({url:e+"/lib/js/emojione.min.js",dataType:"script",cache:!0,success:function(){var e;for(A=window.emojione,n=d(A),e=4<(E=h(n))?(g.base=g.defaultBase3+"emojione/assets/"+n,g.base+"/sprites/emojione-sprite-"+A.emojiSize+".css"):(g.base=g.defaultBase+n+"/assets",g.base+"/sprites/emojione.sprites.css"),t.sprite&&(document.createStyleSheet?document.createStyleSheet(e):C("<link/>",{rel:"stylesheet",href:e}).appendTo("head"));i.length;)i.shift().call();g.isLoading=!1}})}else n=d(A),E=h(n),g.base=4<E?g.defaultBase3+"emojione/assets/"+n:g.defaultBase+n+"/assets";a(function(){var e="";t.useInternalCDN&&(4<E&&(e=A.emojiSize+"/"),A.imagePathPNG=g.base+"/png/"+e,A.imagePathSVG=g.base+"/svg/"+e,A.imagePathSVGSprites=g.base+"/sprites/emojione.sprites.svg",A.imageType=t.imageType),4<h(n)?(c=A.regUnicode,A.imageType=t.imageType||"png"):c=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+A.unicodeRegexp+")","gi")})}var t=function(e,t){var n=this;_(t),o[n.id=++r]={},s[n.id]={},a(function(){m(n,e,t)})};t.prototype.on=function(e,n){if(e&&C.isFunction(n)){var r=this;C.each(e.toLowerCase().split(" "),function(e,t){(function(r,i){i=i.replace(/^@/,"");var e=r.id;s[e][i]&&(C.each(s[e][i],function(e,n){C.each(C.isArray(n[0])?n[0]:[n[0]],function(e,t){C(t).on(n[1],function(){var e=l.call(arguments),t=C.isFunction(n[2])?n[2].apply(r,[i].concat(e)):n[2];t&&I(r,i,[t].concat(e))})})}),s[e][i]=null)})(r,t),(o[r.id][t]||(o[r.id][t]=[])).push(n)})}return this},t.prototype.off=function(e,r){if(e){var i=this.id;C.each(e.toLowerCase().replace(/_/g,".").split(" "),function(e,n){o[i][n]&&!/^@/.test(n)&&(r?C.each(o[i][n],function(e,t){t===r&&(o[i][n]=o[i][n].splice(e,1))}):o[i][n]=[])})}return this},t.prototype.trigger=function(){var e=l.call(arguments),t=[this].concat(e.slice(0,1));return t.push(e.slice(1)),I.apply(this,t)},t.prototype.setFocus=function(){var e=this;return a(function(){e.editor.focus()}),e},t.prototype.setText=function(e){var t=this;return a(function(){t.editor.html(N(e,t)),t.content=t.editor.html(),I(t,"change",[t.editor]),F.apply(t)}),t},t.prototype.getText=function(){return L(this.editor.html(),this)},t.prototype.showPicker=function(){var e=this;return e._sh_timer&&window.clearTimeout(e._sh_timer),e.picker.removeClass("hidden"),e._sh_timer=window.setTimeout(function(){e.button.addClass("active")},50),I(e,"picker.show",[e.picker]),e},t.prototype.hidePicker=function(){var e=this;return e._sh_timer&&window.clearTimeout(e._sh_timer),e.button.removeClass("active"),e._sh_timer=window.setTimeout(function(){e.picker.addClass("hidden")},500),I(e,"picker.hide",[e.picker]),e},t.prototype.enable=function(){var t=this,e=function(){t.disabled=!1,t.editor.prop("contenteditable",!0),t.button.show();var e=t[t.standalone?"button":"editor"];e.parent().removeClass("emojionearea-disable"),I(t,"enabled",[e])};return t.isReady?e():t.on("ready",e),t},t.prototype.disable=function(){var t=this;t.disabled=!0;var e=function(){t.editor.prop("contenteditable",!1),t.hidePicker(),t.button.hide();var e=t[t.standalone?"button":"editor"];e.parent().addClass("emojionearea-disable"),I(t,"disabled",[e])};return t.isReady?e():t.on("ready",e),t},C.fn.emojioneArea=function(e){return this.each(function(){return this.emojioneArea||C.data(this,"emojioneArea",this.emojioneArea=new t(C(this),e)),this.emojioneArea})},C.fn.emojioneArea.defaults=n(),C.fn.emojioneAreaText=function(e){e=R(e);var t=this,n={shortnames:!e||void 0===e.shortnames||e.shortnames,emojiTemplate:'<img alt="{alt}" class="emojione'+(e&&e.sprite&&E<3?'-{uni}" src="'+x:'emoji" src="{img}')+'"/>'};return _(e),a(function(){t.each(function(){var e=C(this);return e.hasClass("emojionearea-text")||e.addClass("emojionearea-text").html(N(e.is("TEXTAREA")||e.is("INPUT")?e.val():e.text(),n)),e})}),this}},window),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JsSIP=e()}}(function(){return function a(o,s,c){function l(n,e){if(!s[n]){if(!o[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(u)return u(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[n]={exports:{}};o[n][0].call(i.exports,function(e){var t=o[n][1][e];return l(t||e)},i,i.exports,a,o,s,c)}return s[n].exports}for(var u="function"==typeof require&&require,e=0;e<c.length;e++)l(c[e]);return l}({1:[function(e,t,n){"use strict";var c=e("./Utils"),r=e("./Constants"),i=e("./Grammar"),a=e("./URI"),l=e("./Socket"),u=e("./Exceptions");n.settings={authorization_user:null,password:null,realm:null,ha1:null,display_name:null,uri:null,contact_uri:null,instance_id:null,use_preloaded_route:!1,session_timers:!0,session_timers_refresh_method:r.UPDATE,no_answer_timeout:60,register:!0,register_expires:600,registrar_server:null,sockets:null,connection_recovery_max_interval:null,connection_recovery_min_interval:null,via_host:c.createRandomToken(12)+".invalid"};var f={mandatory:{sockets:function(e){var t=[];if(l.isSocket(e))t.push({socket:e});else{if(!Array.isArray(e)||!e.length)return;var n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;Object.prototype.hasOwnProperty.call(s,"socket")&&l.isSocket(s.socket)?t.push(s):l.isSocket(s)&&t.push({socket:s})}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}return t},uri:function(e){/^sip:/i.test(e)||(e=r.SIP+":"+e);var t=a.parse(e);return t&&t.user?t:void 0}},optional:{authorization_user:function(e){return-1===i.parse('"'+e+'"',"quoted_string")?void 0:e},user_agent:function(e){if("string"==typeof e)return e},connection_recovery_max_interval:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},connection_recovery_min_interval:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},contact_uri:function(e){if("string"==typeof e){var t=i.parse(e,"SIP_URI");if(-1!==t)return t}},display_name:function(e){return-1===i.parse('"'+e+'"',"display_name")?void 0:e},instance_id:function(e){return/^uuid:/i.test(e)&&(e=e.substr(5)),-1===i.parse(e,"uuid")?void 0:e},no_answer_timeout:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},session_timers:function(e){if("boolean"==typeof e)return e},session_timers_refresh_method:function(e){if("string"==typeof e&&((e=e.toUpperCase())===r.INVITE||e===r.UPDATE))return e},password:function(e){return String(e)},realm:function(e){return String(e)},ha1:function(e){return String(e)},register:function(e){if("boolean"==typeof e)return e},register_expires:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},registrar_server:function(e){/^sip:/i.test(e)||(e=r.SIP+":"+e);var t=a.parse(e);return t?t.user?void 0:t:void 0},use_preloaded_route:function(e){if("boolean"==typeof e)return e}}};n.load=function(e,t){for(var n in f.mandatory){if(!t.hasOwnProperty(n))throw new u.ConfigurationError(n);var r=t[n],i=f.mandatory[n](r);if(void 0===i)throw new u.ConfigurationError(n,r);e[n]=i}for(var a in f.optional)if(t.hasOwnProperty(a)){var o=t[a];if(c.isEmpty(o))continue;var s=f.optional[a](o);if(void 0===s)throw new u.ConfigurationError(a,o);e[a]=s}}},{"./Constants":2,"./Exceptions":6,"./Grammar":7,"./Socket":20,"./URI":25,"./Utils":26}],2:[function(e,t,n){"use strict";var r=e("../package.json");t.exports={USER_AGENT:r.title+" "+r.version,SIP:"sip",SIPS:"sips",causes:{CONNECTION_ERROR:"Connection Error",REQUEST_TIMEOUT:"Request Timeout",SIP_FAILURE_CODE:"SIP Failure Code",INTERNAL_ERROR:"Internal Error",BUSY:"Busy",REJECTED:"Rejected",REDIRECTED:"Redirected",UNAVAILABLE:"Unavailable",NOT_FOUND:"Not Found",ADDRESS_INCOMPLETE:"Address Incomplete",INCOMPATIBLE_SDP:"Incompatible SDP",MISSING_SDP:"Missing SDP",AUTHENTICATION_ERROR:"Authentication Error",BYE:"Terminated",WEBRTC_ERROR:"WebRTC Error",CANCELED:"Canceled",NO_ANSWER:"No Answer",EXPIRES:"Expires",NO_ACK:"No ACK",DIALOG_ERROR:"Dialog Error",USER_DENIED_MEDIA_ACCESS:"User Denied Media Access",BAD_MEDIA_DESCRIPTION:"Bad Media Description",RTP_TIMEOUT:"RTP Timeout"},SIP_ERROR_CAUSES:{REDIRECTED:[300,301,302,305,380],BUSY:[486,600],REJECTED:[403,603],NOT_FOUND:[404,604],UNAVAILABLE:[480,410,408,430],ADDRESS_INCOMPLETE:[484,424],INCOMPATIBLE_SDP:[488,606],AUTHENTICATION_ERROR:[401,407]},ACK:"ACK",BYE:"BYE",CANCEL:"CANCEL",INFO:"INFO",INVITE:"INVITE",MESSAGE:"MESSAGE",NOTIFY:"NOTIFY",OPTIONS:"OPTIONS",REGISTER:"REGISTER",REFER:"REFER",UPDATE:"UPDATE",SUBSCRIBE:"SUBSCRIBE",REASON_PHRASE:{100:"Trying",180:"Ringing",181:"Call Is Being Forwarded",182:"Queued",183:"Session Progress",199:"Early Dialog Terminated",200:"OK",202:"Accepted",204:"No Notification",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",305:"Use Proxy",380:"Alternative Service",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",410:"Gone",412:"Conditional Request Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Unsupported URI Scheme",417:"Unknown Resource-Priority",420:"Bad Extension",421:"Extension Required",422:"Session Interval Too Small",423:"Interval Too Brief",424:"Bad Location Information",428:"Use Identity Header",429:"Provide Referrer Identity",430:"Flow Failed",433:"Anonymity Disallowed",436:"Bad Identity-Info",437:"Unsupported Certificate",438:"Invalid Identity Header",439:"First Hop Lacks Outbound Support",440:"Max-Breadth Exceeded",469:"Bad Info Package",470:"Consent Needed",478:"Unresolvable Destination",480:"Temporarily Unavailable",481:"Call/Transaction Does Not Exist",482:"Loop Detected",483:"Too Many Hops",484:"Address Incomplete",485:"Ambiguous",486:"Busy Here",487:"Request Terminated",488:"Not Acceptable Here",489:"Bad Event",491:"Request Pending",493:"Undecipherable",494:"Security Agreement Required",500:"JsSIP Internal Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Server Time-out",505:"Version Not Supported",513:"Message Too Large",580:"Precondition Failure",600:"Busy Everywhere",603:"Decline",604:"Does Not Exist Anywhere",606:"Not Acceptable"},ALLOWED_METHODS:"INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO",ACCEPTED_BODY_TYPES:"application/sdp, application/dtmf-relay",MAX_FORWARDS:69,SESSION_EXPIRES:90,MIN_SESSION_EXPIRES:60}},{"../package.json":51}],3:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=e("./SIPMessage"),i=e("./Constants"),s=e("./Transactions"),c=e("./Dialog/RequestSender"),l=e("./Utils"),u=e("debug")("JsSIP:Dialog"),f={STATUS_EARLY:1,STATUS_CONFIRMED:2};t.exports=function(){function a(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:f.STATUS_CONFIRMED;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),this._owner=e,this._ua=e._ua,this._uac_pending_reply=!1,this._uas_pending_reply=!1,!t.hasHeader("contact"))return{error:"unable to create a Dialog without Contact header field"};t instanceof o.IncomingResponse&&(r=t.status_code<200?f.STATUS_EARLY:f.STATUS_CONFIRMED);var i=t.parseHeader("contact");"UAS"===n?(this._id={call_id:t.call_id,local_tag:t.to_tag,remote_tag:t.from_tag,toString:function(){return this.call_id+this.local_tag+this.remote_tag}},this._state=r,this._remote_seqnum=t.cseq,this._local_uri=t.parseHeader("to").uri,this._remote_uri=t.parseHeader("from").uri,this._remote_target=i.uri,this._route_set=t.getHeaders("record-route"),this._ack_seqnum=this._remote_seqnum):"UAC"===n&&(this._id={call_id:t.call_id,local_tag:t.from_tag,remote_tag:t.to_tag,toString:function(){return this.call_id+this.local_tag+this.remote_tag}},this._state=r,this._local_seqnum=t.cseq,this._local_uri=t.parseHeader("from").uri,this._remote_uri=t.parseHeader("to").uri,this._remote_target=i.uri,this._route_set=t.getHeaders("record-route").reverse(),this._ack_seqnum=null),this._ua.newDialog(this),u("new "+n+" dialog created with status "+(this._state===f.STATUS_EARLY?"EARLY":"CONFIRMED"))}return r(a,null,[{key:"C",get:function(){return f}}]),r(a,[{key:"update",value:function(e,t){this._state=f.STATUS_CONFIRMED,u("dialog "+this._id.toString()+" changed to CONFIRMED state"),"UAC"===t&&(this._route_set=e.getHeaders("record-route").reverse())}},{key:"terminate",value:function(){u("dialog "+this._id.toString()+" deleted"),this._ua.destroyDialog(this)}},{key:"sendRequest",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=l.cloneArray(n.extraHeaders),i=n.eventHandlers||{},a=n.body||null,o=this._createRequest(e,r,a);return i.onAuthenticated=function(){t._local_seqnum+=1},new c(this,o,i).send(),o}},{key:"receiveRequest",value:function(e){this._checkInDialogRequest(e)&&(e.method===i.ACK&&null!==this._ack_seqnum?this._ack_seqnum=null:e.method===i.INVITE&&(this._ack_seqnum=e.cseq),this._owner.receiveRequest(e))}},{key:"_createRequest",value:function(e,t,n){t=l.cloneArray(t),this._local_seqnum||(this._local_seqnum=Math.floor(1e4*Math.random()));var r=e===i.CANCEL||e===i.ACK?this._local_seqnum:this._local_seqnum+=1;return new o.OutgoingRequest(e,this._remote_target,this._ua,{cseq:r,call_id:this._id.call_id,from_uri:this._local_uri,from_tag:this._id.local_tag,to_uri:this._remote_uri,to_tag:this._id.remote_tag,route_set:this._route_set},t,n)}},{key:"_checkInDialogRequest",value:function(t){var n=this;if(this._remote_seqnum)if(t.cseq<this._remote_seqnum){if(t.method!==i.ACK)return t.reply(500),!1;if(null===this._ack_seqnum||t.cseq!==this._ack_seqnum)return!1}else t.cseq>this._remote_seqnum&&(this._remote_seqnum=t.cseq);else this._remote_seqnum=t.cseq;if(t.method===i.INVITE||t.method===i.UPDATE&&t.body){if(!0===this._uac_pending_reply)t.reply(491);else{if(!0===this._uas_pending_reply){var e=1+(10*Math.random()|0);return t.reply(500,null,["Retry-After:"+e]),!1}this._uas_pending_reply=!0;t.server_transaction.on("stateChanged",function e(){t.server_transaction.state!==s.C.STATUS_ACCEPTED&&t.server_transaction.state!==s.C.STATUS_COMPLETED&&t.server_transaction.state!==s.C.STATUS_TERMINATED||(t.server_transaction.removeListener("stateChanged",e),n._uas_pending_reply=!1)})}t.hasHeader("contact")&&t.server_transaction.on("stateChanged",function(){t.server_transaction.state===s.C.STATUS_ACCEPTED&&(n._remote_target=t.parseHeader("contact").uri)})}else t.method===i.NOTIFY&&t.hasHeader("contact")&&t.server_transaction.on("stateChanged",function(){t.server_transaction.state===s.C.STATUS_COMPLETED&&(n._remote_target=t.parseHeader("contact").uri)});return!0}},{key:"id",get:function(){return this._id}},{key:"local_seqnum",get:function(){return this._local_seqnum},set:function(e){this._local_seqnum=e}},{key:"owner",get:function(){return this._owner}},{key:"uac_pending_reply",get:function(){return this._uac_pending_reply},set:function(e){this._uac_pending_reply=e}},{key:"uas_pending_reply",get:function(){return this._uas_pending_reply}}]),a}()},{"./Constants":2,"./Dialog/RequestSender":4,"./SIPMessage":19,"./Transactions":22,"./Utils":26,debug:29}],4:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("../Constants"),o=e("../Transactions"),s=e("../RTCSession"),c=e("../RequestSender"),l={onRequestTimeout:function(){},onTransportError:function(){},onSuccessResponse:function(){},onErrorResponse:function(){},onAuthenticated:function(){},onDialogError:function(){}};t.exports=function(){function i(e,t,n){for(var r in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this._dialog=e,this._ua=e._ua,this._request=t,this._eventHandlers=n,this._reattempt=!1,this._reattemptTimer=null,l)Object.prototype.hasOwnProperty.call(l,r)&&(this._eventHandlers[r]||(this._eventHandlers[r]=l[r]))}return r(i,[{key:"send",value:function(){var t=this,n=new c(this._ua,this._request,{onRequestTimeout:function(){t._eventHandlers.onRequestTimeout()},onTransportError:function(){t._eventHandlers.onTransportError()},onAuthenticated:function(e){t._eventHandlers.onAuthenticated(e)},onReceiveResponse:function(e){t._receiveResponse(e)}});if(n.send(),(this._request.method===a.INVITE||this._request.method===a.UPDATE&&this._request.body)&&n.clientTransaction.state!==o.C.STATUS_TERMINATED){this._dialog.uac_pending_reply=!0;n.clientTransaction.on("stateChanged",function e(){n.clientTransaction.state!==o.C.STATUS_ACCEPTED&&n.clientTransaction.state!==o.C.STATUS_COMPLETED&&n.clientTransaction.state!==o.C.STATUS_TERMINATED||(n.clientTransaction.removeListener("stateChanged",e),t._dialog.uac_pending_reply=!1)})}}},{key:"_receiveResponse",value:function(e){var t=this;408===e.status_code||481===e.status_code?this._eventHandlers.onDialogError(e):e.method===a.INVITE&&491===e.status_code?this._reattempt?200<=e.status_code&&e.status_code<300?this._eventHandlers.onSuccessResponse(e):300<=e.status_code&&this._eventHandlers.onErrorResponse(e):(this._request.cseq.value=this._dialog.local_seqnum+=1,this._reattemptTimer=setTimeout(function(){t._dialog.owner.status!==s.C.STATUS_TERMINATED&&(t._reattempt=!0,t._request_sender.send())},1e3)):200<=e.status_code&&e.status_code<300?this._eventHandlers.onSuccessResponse(e):300<=e.status_code&&this._eventHandlers.onErrorResponse(e)}},{key:"request",get:function(){return this._request}}]),i}()},{"../Constants":2,"../RTCSession":12,"../RequestSender":18,"../Transactions":22}],5:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var c=e("./Utils"),l=e("debug")("JsSIP:DigestAuthentication"),u=e("debug")("JsSIP:ERROR:DigestAuthentication");u.log=console.warn.bind(console),t.exports=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this._credentials=e,this._cnonce=null,this._nc=0,this._ncHex="00000000",this._algorithm=null,this._realm=null,this._nonce=null,this._opaque=null,this._stale=null,this._qop=null,this._method=null,this._uri=null,this._ha1=null,this._response=null}return r(t,[{key:"get",value:function(e){switch(e){case"realm":return this._realm;case"ha1":return this._ha1;default:return void u('get() | cannot get "%s" parameter',e)}}},{key:"authenticate",value:function(e,t){var n=e.method,r=e.ruri,i=e.body,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(this._algorithm=t.algorithm,this._realm=t.realm,this._nonce=t.nonce,this._opaque=t.opaque,this._stale=t.stale,this._algorithm){if("MD5"!==this._algorithm)return u('authenticate() | challenge with Digest algorithm different than "MD5", authentication aborted'),!1}else this._algorithm="MD5";if(!this._nonce)return u("authenticate() | challenge without Digest nonce, authentication aborted"),!1;if(!this._realm)return u("authenticate() | challenge without Digest realm, authentication aborted"),!1;if(!this._credentials.password){if(!this._credentials.ha1)return u("authenticate() | no plain SIP password nor ha1 provided, authentication aborted"),!1;if(this._credentials.realm!==this._realm)return u('authenticate() | no plain SIP password, and stored `realm` does not match the given `realm`, cannot authenticate [stored:"%s", given:"%s"]',this._credentials.realm,this._realm),!1}if(t.qop)if(-1<t.qop.indexOf("auth-int"))this._qop="auth-int";else{if(!(-1<t.qop.indexOf("auth")))return u('authenticate() | challenge without Digest qop different than "auth" or "auth-int", authentication aborted'),!1;this._qop="auth"}else this._qop=null;this._method=n,this._uri=r,this._cnonce=a||c.createRandomToken(12),this._nc+=1;var o=Number(this._nc).toString(16);this._ncHex="00000000".substr(0,8-o.length)+o,4294967296===this._nc&&(this._nc=1,this._ncHex="00000001"),this._credentials.password?this._ha1=c.calculateMD5(this._credentials.username+":"+this._realm+":"+this._credentials.password):this._ha1=this._credentials.ha1;var s=void 0;return"auth"===this._qop?(s=c.calculateMD5(this._method+":"+this._uri),this._response=c.calculateMD5(this._ha1+":"+this._nonce+":"+this._ncHex+":"+this._cnonce+":auth:"+s)):"auth-int"===this._qop?(s=c.calculateMD5(this._method+":"+this._uri+":"+c.calculateMD5(i||"")),this._response=c.calculateMD5(this._ha1+":"+this._nonce+":"+this._ncHex+":"+this._cnonce+":auth-int:"+s)):null===this._qop&&(s=c.calculateMD5(this._method+":"+this._uri),this._response=c.calculateMD5(this._ha1+":"+this._nonce+":"+s)),l("authenticate() | response generated"),!0}},{key:"toString",value:function(){var e=[];if(!this._response)throw new Error("response field does not exist, cannot generate Authorization header");return e.push("algorithm="+this._algorithm),e.push('username="'+this._credentials.username+'"'),e.push('realm="'+this._realm+'"'),e.push('nonce="'+this._nonce+'"'),e.push('uri="'+this._uri+'"'),e.push('response="'+this._response+'"'),this._opaque&&e.push('opaque="'+this._opaque+'"'),this._qop&&(e.push("qop="+this._qop),e.push('cnonce="'+this._cnonce+'"'),e.push("nc="+this._ncHex)),"Digest "+e.join(", ")}}]),t}()},{"./Utils":26,debug:29}],6:[function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r=function(e){function r(e,t){i(this,r);var n=a(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return n.code=1,n.name="CONFIGURATION_ERROR",n.parameter=e,n.value=t,n.message=n.value?"Invalid value "+JSON.stringify(n.value)+' for parameter "'+n.parameter+'"':"Missing parameter: "+n.parameter,n}return o(r,Error),r}(),s=function(e){function n(e){i(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.code=2,t.name="INVALID_STATE_ERROR",t.status=e,t.message="Invalid status: "+e,t}return o(n,Error),n}(),c=function(e){function n(e){i(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.code=3,t.name="NOT_SUPPORTED_ERROR",t.message=e,t}return o(n,Error),n}(),l=function(e){function n(e){i(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.code=4,t.name="NOT_READY_ERROR",t.message=e,t}return o(n,Error),n}();t.exports={ConfigurationError:r,InvalidStateError:s,NotSupportedError:c,NotReadyError:l}},{}],7:[function(Hn,e,t){"use strict";e.exports=function(){function Un(e){return'"'+e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g,escape)+'"'}var e={parse:function(_,c){var e={CRLF:o,DIGIT:l,ALPHA:s,HEXDIG:u,WSP:f,OCTET:n,DQUOTE:d,SP:h,HTAB:p,alphanum:i,reserved:m,unreserved:g,mark:r,escaped:w,LWS:C,SWS:A,HCOLON:S,TEXT_UTF8_TRIM:T,TEXT_UTF8char:x,UTF8_NONASCII:k,UTF8_CONT:E,LHEX:function(){var e;null===(e=l())&&(/^[a-f]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[a-f]")));return e},token:D,token_nodot:I,separators:function(){var e;40===_.charCodeAt(b)?(e="(",b++):(e=null,0===v&&y('"("'));null===e&&(41===_.charCodeAt(b)?(e=")",b++):(e=null,0===v&&y('")"')),null===e&&(60===_.charCodeAt(b)?(e="<",b++):(e=null,0===v&&y('"<"')),null===e&&(62===_.charCodeAt(b)?(e=">",b++):(e=null,0===v&&y('">"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","')),null===e&&(59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(92===_.charCodeAt(b)?(e="\\",b++):(e=null,0===v&&y('"\\\\"')),null===e&&null===(e=d())&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null===e&&(93===_.charCodeAt(b)?(e="]",b++):(e=null,0===v&&y('"]"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(123===_.charCodeAt(b)?(e="{",b++):(e=null,0===v&&y('"{"')),null===e&&(125===_.charCodeAt(b)?(e="}",b++):(e=null,0===v&&y('"}"')),null===e&&null===(e=h())&&(e=p()))))))))))))))));return e},word:P,STAR:M,SLASH:$,EQUAL:O,LPAREN:R,RPAREN:N,RAQUOT:L,LAQUOT:F,COMMA:G,SEMI:j,COLON:B,LDQUOT:U,RDQUOT:H,comment:function e(){var t,n,r;var i;i=b;t=R();if(null!==t){for(n=[],null===(r=W())&&null===(r=Y())&&(r=e());null!==r;)n.push(r),null===(r=W())&&null===(r=Y())&&(r=e());null!==n&&null!==(r=N())?t=[t,n,r]:(t=null,b=i)}else t=null,b=i;return t},ctext:W,quoted_string:q,quoted_string_clean:z,qdtext:V,quoted_pair:Y,SIP_URI_noparams:K,SIP_URI:Q,uri_scheme:X,uri_scheme_sips:Z,uri_scheme_sip:J,userinfo:ee,user:te,user_unreserved:ne,password:re,hostport:ie,host:ae,hostname:oe,domainlabel:se,toplabel:ce,IPv6reference:le,IPv6address:ue,h16:fe,ls32:de,IPv4address:he,dec_octet:pe,port:me,uri_parameters:ge,uri_parameter:_e,transport_param:be,user_param:ve,method_param:ye,ttl_param:we,maddr_param:Ce,lr_param:Ae,other_param:Se,pname:Te,pvalue:xe,paramchar:ke,param_unreserved:Ee,headers:De,header:Ie,hname:Pe,hvalue:Me,hnv_unreserved:$e,Request_Response:function(){var e;null===(e=lt())&&(e=Oe());return e},Request_Line:Oe,Request_URI:Re,absoluteURI:Ne,hier_part:Le,net_path:Fe,abs_path:Ge,opaque_part:je,uric:Be,uric_no_slash:Ue,path_segments:He,segment:We,param:qe,pchar:ze,scheme:Ve,authority:Ye,srvr:Ke,reg_name:Qe,query:Xe,SIP_Version:Ze,INVITEm:Je,ACKm:et,OPTIONSm:tt,BYEm:nt,CANCELm:rt,REGISTERm:it,SUBSCRIBEm:at,NOTIFYm:ot,REFERm:st,Method:ct,Status_Line:lt,Status_Code:ut,extension_code:ft,Reason_Phrase:dt,Allow_Events:function(){var e,t,n,r,i,a;if(i=b,null!==(e=Nt())){for(t=[],a=b,null!==(n=G())&&null!==(r=Nt())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=Nt())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Call_ID:function(){var e,t,n,r,i,a;i=r=b,null!==(e=P())?(a=b,64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null!==t&&null!==(n=P())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i);null!==e&&(o=r,e=void(Fn=_.substring(b,o)));var o;null===e&&(b=r);return e},Contact:function(){var e,t,n,r,i,a,o;if(i=b,null===(e=M()))if(a=b,null!==(e=ht())){for(t=[],o=b,null!==(n=G())&&null!==(r=ht())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=G())&&null!==(r=ht())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t,n;for(n=Fn.multi_header.length,t=0;t<n;t++)if(null===Fn.multi_header[t].parsed){Fn=null;break}Fn=null!==Fn?Fn.multi_header:-1}());null===e&&(b=i);return e},contact_param:ht,name_addr:pt,display_name:mt,contact_params:gt,c_p_q:_t,c_p_expires:bt,delta_seconds:vt,qvalue:yt,generic_param:wt,gen_value:Ct,Content_Disposition:function(){var e,t,n,r,i,a;if(i=b,null!==(e=At())){for(t=[],a=b,null!==(n=j())&&null!==(r=St())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=St())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},disp_type:At,disp_param:St,handling_param:Tt,Content_Encoding:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Content_Length:function(){var e,t,n;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;null!==e&&(e=void(Fn=parseInt(e.join(""))));null===e&&(b=n);return e},Content_Type:function(){var e,t;t=b,null!==(e=xt())&&(n=t,e=void(Fn=_.substring(b,n)));var n;null===e&&(b=t);return e},media_type:xt,m_type:kt,discrete_type:Et,composite_type:Dt,extension_token:It,x_token:Pt,m_subtype:Mt,m_parameter:$t,m_value:Ot,CSeq:function(){var e,t,n,r;r=b,null!==(e=Rt())&&null!==(t=C())&&null!==(n=ct())?e=[e,t,n]:(e=null,b=r);return e},CSeq_value:Rt,Expires:function(){var e,t;t=b,null!==(e=vt())&&(e=void(Fn=e));null===e&&(b=t);return e},Event:function(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=Nt())){for(t=[],o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(s=e[0],e=void(Fn.event=s.join("").toLowerCase()));var s;null===e&&(b=i);return e},event_type:Nt,From:function(){var e,t,n,r,i,a,o;a=i=b,null===(e=K())&&(e=pt());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=Lt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=Lt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t=Fn.tag;try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params),t&&Fn.setParam("tag",t)}catch(e){Fn=-1}}());null===e&&(b=i);return e},from_param:Lt,tag_param:Ft,Max_Forwards:function(){var e,t,n;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;null!==e&&(e=void(Fn=parseInt(e.join(""))));null===e&&(b=n);return e},Min_Expires:function(){var e,t;t=b,null!==(e=vt())&&(e=void(Fn=e));null===e&&(b=t);return e},Name_Addr_Header:function(){var e,t,n,r,i,a,o,s,c,l;c=s=b,e=[],t=mt();for(;null!==t;)e.push(t),t=mt();if(null!==e)if(null!==(t=F()))if(null!==(n=Q()))if(null!==(r=L())){for(i=[],l=b,null!==(a=j())&&null!==(o=wt())?a=[a,o]:(a=null,b=l);null!==a;)i.push(a),l=b,null!==(a=j())&&null!==(o=wt())?a=[a,o]:(a=null,b=l);null!==i?e=[e,t,n,r,i]:(e=null,b=c)}else e=null,b=c;else e=null,b=c;else e=null,b=c;else e=null,b=c;null!==e&&(e=function(e){try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params)}catch(e){Fn=-1}}());null===e&&(b=s);return e},Proxy_Authenticate:function(){return Gt()},challenge:Gt,other_challenge:jt,auth_param:Bt,digest_cln:Ut,realm:Ht,realm_value:Wt,domain:qt,URI:zt,nonce:Vt,nonce_value:Yt,opaque:Kt,stale:Qt,algorithm:Xt,qop_options:Zt,qop_value:Jt,Proxy_Require:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Record_Route:function(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=en())){for(t=[],o=b,null!==(n=G())&&null!==(r=en())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=G())&&null!==(r=en())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t,n;for(n=Fn.multi_header.length,t=0;t<n;t++)if(null===Fn.multi_header[t].parsed){Fn=null;break}Fn=null!==Fn?Fn.multi_header:-1}());null===e&&(b=i);return e},rec_route:en,Reason:function(){var e,t,n,r,i,a,o;a=i=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"SIP"'));null===e&&(e=D());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=tn())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=tn())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e,t){if(Fn.protocol=t.toLowerCase(),Fn.params||(Fn.params={}),Fn.params.text&&'"'===Fn.params.text[0]){var n=Fn.params.text;Fn.text=n.substring(1,n.length-1),delete Fn.params.text}}(0,e[0]));null===e&&(b=i);return e},reason_param:tn,reason_cause:nn,Require:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Route:function(){var e,t,n,r,i,a;if(i=b,null!==(e=rn())){for(t=[],a=b,null!==(n=G())&&null!==(r=rn())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=rn())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},route_param:rn,Subscription_State:function(){var e,t,n,r,i,a;if(i=b,null!==(e=an())){for(t=[],a=b,null!==(n=j())&&null!==(r=on())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=on())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},substate_value:an,subexp_params:on,event_reason_value:sn,Subject:function(){var e;return e=null!==(e=T())?e:""},Supported:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e=null!==e?e:""},To:function(){var e,t,n,r,i,a,o;a=i=b,null===(e=K())&&(e=pt());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=cn())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=cn())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t=Fn.tag;try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params),t&&Fn.setParam("tag",t)}catch(e){Fn=-1}}());null===e&&(b=i);return e},to_param:cn,Via:function(){var e,t,n,r,i,a;if(i=b,null!==(e=ln())){for(t=[],a=b,null!==(n=G())&&null!==(r=ln())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=ln())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},via_param:ln,via_params:un,via_ttl:fn,via_maddr:dn,via_received:hn,via_branch:pn,response_port:mn,sent_protocol:gn,protocol_name:_n,transport:bn,sent_by:vn,via_host:yn,via_port:wn,ttl:Cn,WWW_Authenticate:function(){return Gt()},Session_Expires:function(){var e,t,n,r,i,a;if(i=b,null!==(e=An())){for(t=[],a=b,null!==(n=j())&&null!==(r=Sn())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=Sn())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},s_e_expires:An,s_e_params:Sn,s_e_refresher:Tn,extension_header:function(){var e,t,n,r;r=b,null!==(e=D())&&null!==(t=S())&&null!==(n=xn())?e=[e,t,n]:(e=null,b=r);return e},header_value:xn,message_body:function(){var e,t;e=[],t=n();for(;null!==t;)e.push(t),t=n();return e},uuid_URI:function(){var e,t,n;n=b,"uuid:"===_.substr(b,5)?(e="uuid:",b+=5):(e=null,0===v&&y('"uuid:"'));null!==e&&null!==(t=kn())?e=[e,t]:(e=null,b=n);return e},uuid:kn,hex4:En,hex8:Dn,hex12:In,Refer_To:function(){var e,t,n,r,i,a,o;a=i=b,null===(e=K())&&(e=pt());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params)}catch(e){Fn=-1}}());null===e&&(b=i);return e},Replaces:function(){var e,t,n,r,i,a;if(i=b,null!==(e=Pn())){for(t=[],a=b,null!==(n=j())&&null!==(r=Mn())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=Mn())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},call_id:Pn,replaces_param:Mn,to_tag:$n,from_tag:On,early_flag:Rn};if(void 0!==c){if(void 0===e[c])throw new Error("Invalid rule name: "+Un(c)+".")}else c="CRLF";var b=0,v=0,a=0,t=[];function y(e){b<a||(a<b&&(a=b,t=[]),t.push(e))}function o(){var e;return"\r\n"===_.substr(b,2)?(e="\r\n",b+=2):(e=null,0===v&&y('"\\r\\n"')),e}function l(){var e;return/^[0-9]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[0-9]")),e}function s(){var e;return/^[a-zA-Z]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[a-zA-Z]")),e}function u(){var e;return/^[0-9a-fA-F]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[0-9a-fA-F]")),e}function f(){var e;return null===(e=h())&&(e=p()),e}function n(){var e;return/^[\0-\xFF]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\0-\\xFF]")),e}function d(){var e;return/^["]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y('["]')),e}function h(){var e;return 32===_.charCodeAt(b)?(e=" ",b++):(e=null,0===v&&y('" "')),e}function p(){var e;return 9===_.charCodeAt(b)?(e="\t",b++):(e=null,0===v&&y('"\\t"')),e}function i(){var e;return/^[a-zA-Z0-9]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[a-zA-Z0-9]")),e}function m(){var e;return 59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","'))))))))))),e}function g(){var e;return null===(e=i())&&(e=r()),e}function r(){var e;return 45===_.charCodeAt(b)?(e="-",b++):(e=null,0===v&&y('"-"')),null===e&&(95===_.charCodeAt(b)?(e="_",b++):(e=null,0===v&&y('"_"')),null===e&&(46===_.charCodeAt(b)?(e=".",b++):(e=null,0===v&&y('"."')),null===e&&(33===_.charCodeAt(b)?(e="!",b++):(e=null,0===v&&y('"!"')),null===e&&(126===_.charCodeAt(b)?(e="~",b++):(e=null,0===v&&y('"~"')),null===e&&(42===_.charCodeAt(b)?(e="*",b++):(e=null,0===v&&y('"*"')),null===e&&(39===_.charCodeAt(b)?(e="'",b++):(e=null,0===v&&y('"\'"')),null===e&&(40===_.charCodeAt(b)?(e="(",b++):(e=null,0===v&&y('"("')),null===e&&(41===_.charCodeAt(b)?(e=")",b++):(e=null,0===v&&y('")"')))))))))),e}function w(){var e,t,n,r,i;return i=r=b,37===_.charCodeAt(b)?(e="%",b++):(e=null,0===v&&y('"%"')),null!==e&&null!==(t=u())&&null!==(n=u())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=e.join("")),null===e&&(b=r),e}function C(){var e,t,n,r,i,a;for(a=i=r=b,e=[],t=f();null!==t;)e.push(t),t=f();if(null!==e&&null!==(t=o())?e=[e,t]:(e=null,b=a),null!==(e=null!==e?e:"")){if(null!==(n=f()))for(t=[];null!==n;)t.push(n),n=f();else t=null;null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return null!==e&&(e=" "),null===e&&(b=r),e}function A(){var e;return e=null!==(e=C())?e:""}function S(){var e,t,n,r,i;for(i=r=b,e=[],null===(t=h())&&(t=p());null!==t;)e.push(t),null===(t=h())&&(t=p());return null!==e?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=":"),null===e&&(b=r),e}function T(){var e,t,n,r,i,a,o,s;if(a=i=b,null!==(t=x()))for(e=[];null!==t;)e.push(t),t=x();else e=null;if(null!==e){for(t=[],o=b,n=[],r=C();null!==r;)n.push(r),r=C();for(null!==n&&null!==(r=x())?n=[n,r]:(n=null,b=o);null!==n;){for(t.push(n),o=b,n=[],r=C();null!==r;)n.push(r),r=C();null!==n&&null!==(r=x())?n=[n,r]:(n=null,b=o)}null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(s=i,e=_.substring(b,s)),null===e&&(b=i),e}function x(){var e;return/^[!-~]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[!-~]")),null===e&&(e=k()),e}function k(){var e;return/^[\x80-\uFFFF]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\x80-\\uFFFF]")),e}function E(){var e;return/^[\x80-\xBF]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\x80-\\xBF]")),e}function D(){var e,t,n,r;if(n=b,null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')))))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"'))))))))))));else e=null;return null!==e&&(r=n,e=_.substring(b,r)),null===e&&(b=n),e}function I(){var e,t,n,r;if(n=b,null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"'))))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')))))))))));else e=null;return null!==e&&(r=n,e=_.substring(b,r)),null===e&&(b=n),e}function P(){var e,t,n,r;if(n=b,null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')),null===t&&(40===_.charCodeAt(b)?(t="(",b++):(t=null,0===v&&y('"("')),null===t&&(41===_.charCodeAt(b)?(t=")",b++):(t=null,0===v&&y('")"')),null===t&&(60===_.charCodeAt(b)?(t="<",b++):(t=null,0===v&&y('"<"')),null===t&&(62===_.charCodeAt(b)?(t=">",b++):(t=null,0===v&&y('">"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(92===_.charCodeAt(b)?(t="\\",b++):(t=null,0===v&&y('"\\\\"')),null===t&&null===(t=d())&&(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null===t&&(91===_.charCodeAt(b)?(t="[",b++):(t=null,0===v&&y('"["')),null===t&&(93===_.charCodeAt(b)?(t="]",b++):(t=null,0===v&&y('"]"')),null===t&&(63===_.charCodeAt(b)?(t="?",b++):(t=null,0===v&&y('"?"')),null===t&&(123===_.charCodeAt(b)?(t="{",b++):(t=null,0===v&&y('"{"')),null===t&&(125===_.charCodeAt(b)?(t="}",b++):(t=null,0===v&&y('"}"')))))))))))))))))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')),null===t&&(40===_.charCodeAt(b)?(t="(",b++):(t=null,0===v&&y('"("')),null===t&&(41===_.charCodeAt(b)?(t=")",b++):(t=null,0===v&&y('")"')),null===t&&(60===_.charCodeAt(b)?(t="<",b++):(t=null,0===v&&y('"<"')),null===t&&(62===_.charCodeAt(b)?(t=">",b++):(t=null,0===v&&y('">"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(92===_.charCodeAt(b)?(t="\\",b++):(t=null,0===v&&y('"\\\\"')),null===t&&null===(t=d())&&(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null===t&&(91===_.charCodeAt(b)?(t="[",b++):(t=null,0===v&&y('"["')),null===t&&(93===_.charCodeAt(b)?(t="]",b++):(t=null,0===v&&y('"]"')),null===t&&(63===_.charCodeAt(b)?(t="?",b++):(t=null,0===v&&y('"?"')),null===t&&(123===_.charCodeAt(b)?(t="{",b++):(t=null,0===v&&y('"{"')),null===t&&(125===_.charCodeAt(b)?(t="}",b++):(t=null,0===v&&y('"}"'))))))))))))))))))))))));else e=null;return null!==e&&(r=n,e=_.substring(b,r)),null===e&&(b=n),e}function M(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="*"),null===e&&(b=r),e}function $(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="/"),null===e&&(b=r),e}function O(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="="),null===e&&(b=r),e}function R(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(40===_.charCodeAt(b)?(t="(",b++):(t=null,0===v&&y('"("')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="("),null===e&&(b=r),e}function N(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(41===_.charCodeAt(b)?(t=")",b++):(t=null,0===v&&y('")"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=")"),null===e&&(b=r),e}function L(){var e,t,n,r;return r=n=b,62===_.charCodeAt(b)?(e=">",b++):(e=null,0===v&&y('">"')),null!==e&&null!==(t=A())?e=[e,t]:(e=null,b=r),null!==e&&(e=">"),null===e&&(b=n),e}function F(){var e,t,n,r;return r=n=b,null!==(e=A())?(60===_.charCodeAt(b)?(t="<",b++):(t=null,0===v&&y('"<"')),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==e&&(e="<"),null===e&&(b=n),e}function G(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=","),null===e&&(b=r),e}function j(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=";"),null===e&&(b=r),e}function B(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=":"),null===e&&(b=r),e}function U(){var e,t,n,r;return r=n=b,null!==(e=A())&&null!==(t=d())?e=[e,t]:(e=null,b=r),null!==e&&(e='"'),null===e&&(b=n),e}function H(){var e,t,n,r;return r=n=b,null!==(e=d())&&null!==(t=A())?e=[e,t]:(e=null,b=r),null!==e&&(e='"'),null===e&&(b=n),e}function W(){var e;return/^[!-']/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[!-']")),null===e&&(/^[*-[]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[*-[]")),null===e&&(/^[\]-~]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\]-~]")),null===e&&null===(e=k())&&(e=C()))),e}function q(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=A()))if(null!==(t=d())){for(n=[],null===(r=V())&&(r=Y());null!==r;)n.push(r),null===(r=V())&&(r=Y());null!==n&&null!==(r=d())?e=[e,t,n,r]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return null!==e&&(o=i,e=_.substring(b,o)),null===e&&(b=i),e}function z(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=A()))if(null!==(t=d())){for(n=[],null===(r=V())&&(r=Y());null!==r;)n.push(r),null===(r=V())&&(r=Y());null!==n&&null!==(r=d())?e=[e,t,n,r]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return null!==e&&(o=i,e=_.substring(b-1,o+1)),null===e&&(b=i),e}function V(){var e;return null===(e=C())&&(33===_.charCodeAt(b)?(e="!",b++):(e=null,0===v&&y('"!"')),null===e&&(/^[#-[]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[#-[]")),null===e&&(/^[\]-~]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\]-~]")),null===e&&(e=k())))),e}function Y(){var e,t,n;return n=b,92===_.charCodeAt(b)?(e="\\",b++):(e=null,0===v&&y('"\\\\"')),null!==e?(/^[\0-\t]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[\\0-\\t]")),null===t&&(/^[\x0B-\f]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[\\x0B-\\f]")),null===t&&(/^[\x0E-\7f]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[\\x0E-\7f]")))),null!==t?e=[e,t]:(e=null,b=n)):(e=null,b=n),e}function K(){var e,t,n,r,i,a;return a=i=b,null!==(e=X())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=null!==(n=ee())?n:"")&&null!==(r=ie())?e=[e,t,n,r]:(e=null,b=a)):(e=null,b=a),null!==e&&(e=function(e){try{Fn.uri=new Nn(Fn.scheme,Fn.user,Fn.host,Fn.port),delete Fn.scheme,delete Fn.user,delete Fn.host,delete Fn.host_type,delete Fn.port}catch(e){Fn=-1}}()),null===e&&(b=i),e}function Q(){var e,t,n,r,i,a,o,s;return s=o=b,null!==(e=X())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=null!==(n=ee())?n:"")&&null!==(r=ie())&&null!==(i=ge())&&null!==(a=null!==(a=De())?a:"")?e=[e,t,n,r,i,a]:(e=null,b=s)):(e=null,b=s),null!==e&&(e=function(e){try{Fn.uri=new Nn(Fn.scheme,Fn.user,Fn.host,Fn.port,Fn.uri_params,Fn.uri_headers),delete Fn.scheme,delete Fn.user,delete Fn.host,delete Fn.host_type,delete Fn.port,delete Fn.uri_params,"SIP_URI"===c&&(Fn=Fn.uri)}catch(e){Fn=-1}}()),null===e&&(b=o),e}function X(){var e;return null===(e=Z())&&(e=J()),e}function Z(){var e,t,n;return t=b,"sips"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"sips"')),null!==e&&(n=e,e=void(Fn.scheme=n.toLowerCase())),null===e&&(b=t),e}function J(){var e,t,n;return t=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"sip"')),null!==e&&(n=e,e=void(Fn.scheme=n.toLowerCase())),null===e&&(b=t),e}function ee(){var e,t,n,r,i,a,o;return i=r=b,null!==(e=te())?(a=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=re())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?(64===_.charCodeAt(b)?(n="@",b++):(n=null,0===v&&y('"@"')),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i)):(e=null,b=i),null!==e&&(o=r,e=void(Fn.user=decodeURIComponent(_.substring(b-1,o)))),null===e&&(b=r),e}function te(){var e,t;if(null===(t=g())&&null===(t=w())&&(t=ne()),null!==t)for(e=[];null!==t;)e.push(t),null===(t=g())&&null===(t=w())&&(t=ne());else e=null;return e}function ne(){var e;return 38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","')),null===e&&(59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"'))))))))),e}function re(){var e,t,n,r;for(n=b,e=[],null===(t=g())&&null===(t=w())&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')))))));null!==t;)e.push(t),null===(t=g())&&null===(t=w())&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')))))));return null!==e&&(r=n,e=void(Fn.password=_.substring(b,r))),null===e&&(b=n),e}function ie(){var e,t,n,r,i;return r=b,null!==(e=ae())?(i=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=me())?t=[t,n]:(t=null,b=i),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=r)):(e=null,b=r),e}function ae(){var e,t,n;return t=b,null===(e=oe())&&null===(e=he())&&(e=le()),null!==e&&(n=t,Fn.host=_.substring(b,n).toLowerCase(),e=Fn.host),null===e&&(b=t),e}function oe(){var e,t,n,r,i,a,o;for(e=[],a=i=r=b,null!==(t=se())?(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n?t=[t,n]:(t=null,b=a)):(t=null,b=a);null!==t;)e.push(t),a=b,null!==(t=se())?(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n?t=[t,n]:(t=null,b=a)):(t=null,b=a);return null!==e&&null!==(t=ce())?(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==(n=null!==n?n:"")?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=r,Fn.host_type="domain",e=_.substring(b,o)),null===e&&(b=r),e}function se(){var e,t,n,r;if(r=b,null!==(e=i())){for(t=[],null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==n;)t.push(n),null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==t?e=[e,t]:(e=null,b=r)}else e=null,b=r;return e}function ce(){var e,t,n,r;if(r=b,null!==(e=s())){for(t=[],null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==n;)t.push(n),null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==t?e=[e,t]:(e=null,b=r)}else e=null,b=r;return e}function le(){var e,t,n,r,i,a;return i=r=b,91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null!==e&&null!==(t=ue())?(93===_.charCodeAt(b)?(n="]",b++):(n=null,0===v&&y('"]"')),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=r,Fn.host_type="IPv6",e=_.substring(b,a)),null===e&&(b=r),e}function ue(){var e,t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g;return p=h=b,null!==(e=fe())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?(58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?(58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?(58===_.charCodeAt(b)?(s=":",b++):(s=null,0===v&&y('":"')),null!==s&&null!==(c=fe())?(58===_.charCodeAt(b)?(l=":",b++):(l=null,0===v&&y('":"')),null!==l&&null!==(u=fe())?(58===_.charCodeAt(b)?(f=":",b++):(f=null,0===v&&y('":"')),null!==f&&null!==(d=de())?e=[e,t,n,r,i,a,o,s,c,l,u,f,d]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?(58===_.charCodeAt(b)?(c=":",b++):(c=null,0===v&&y('":"')),null!==c&&null!==(l=fe())?(58===_.charCodeAt(b)?(u=":",b++):(u=null,0===v&&y('":"')),null!==u&&null!==(f=de())?e=[e,t,n,r,i,a,o,s,c,l,u,f]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?(58===_.charCodeAt(b)?(c=":",b++):(c=null,0===v&&y('":"')),null!==c&&null!==(l=de())?e=[e,t,n,r,i,a,o,s,c,l]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=de())?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=de())?e=[e,t,n,r,i,a]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=de())?e=[e,t,n,r]:(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=de())?e=[e,t]:(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?e=[e,t]:(e=null,b=p),null===e&&(p=b,null!==(e=fe())?("::"===_.substr(b,2)?(t="::",b+=2):(t=null,0===v&&y('"::"')),null!==t&&null!==(n=fe())?(58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?(58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?(58===_.charCodeAt(b)?(s=":",b++):(s=null,0===v&&y('":"')),null!==s&&null!==(c=fe())?(58===_.charCodeAt(b)?(l=":",b++):(l=null,0===v&&y('":"')),null!==l&&null!==(u=de())?e=[e,t,n,r,i,a,o,s,c,l,u]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?("::"===_.substr(b,2)?(n="::",b+=2):(n=null,0===v&&y('"::"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?(58===_.charCodeAt(b)?(c=":",b++):(c=null,0===v&&y('":"')),null!==c&&null!==(l=de())?e=[e,t,n,r,i,a,o,s,c,l]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?("::"===_.substr(b,2)?(r="::",b+=2):(r=null,0===v&&y('"::"')),null!==r&&null!==(i=fe())?(58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?(58===_.charCodeAt(b)?(s=":",b++):(s=null,0===v&&y('":"')),null!==s&&null!==(c=de())?e=[e,t,n,r,i,a,o,s,c]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?("::"===_.substr(b,2)?(i="::",b+=2):(i=null,0===v&&y('"::"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=de())?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?(m=b,58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?i=[i,a]:(i=null,b=m),null!==(i=null!==i?i:"")?("::"===_.substr(b,2)?(a="::",b+=2):(a=null,0===v&&y('"::"')),null!==a&&null!==(o=de())?e=[e,t,n,r,i,a,o]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?(m=b,58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?i=[i,a]:(i=null,b=m),null!==(i=null!==i?i:"")?(m=b,58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?a=[a,o]:(a=null,b=m),null!==(a=null!==a?a:"")?("::"===_.substr(b,2)?(o="::",b+=2):(o=null,0===v&&y('"::"')),null!==o&&null!==(s=fe())?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?(m=b,58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?i=[i,a]:(i=null,b=m),null!==(i=null!==i?i:"")?(m=b,58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?a=[a,o]:(a=null,b=m),null!==(a=null!==a?a:"")?(m=b,58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?o=[o,s]:(o=null,b=m),null!==(o=null!==o?o:"")?("::"===_.substr(b,2)?(s="::",b+=2):(s=null,0===v&&y('"::"')),null!==s?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p))))))))))))))),null!==e&&(g=h,Fn.host_type="IPv6",e=_.substring(b,g)),null===e&&(b=h),e}function fe(){var e,t,n,r,i;return i=b,null!==(e=u())&&null!==(t=null!==(t=u())?t:"")&&null!==(n=null!==(n=u())?n:"")&&null!==(r=null!==(r=u())?r:"")?e=[e,t,n,r]:(e=null,b=i),e}function de(){var e,t,n,r;return r=b,null!==(e=fe())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),null===e&&(e=he()),e}function he(){var e,t,n,r,i,a,o,s,c,l;return c=s=b,null!==(e=pe())?(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null!==t&&null!==(n=pe())?(46===_.charCodeAt(b)?(r=".",b++):(r=null,0===v&&y('"."')),null!==r&&null!==(i=pe())?(46===_.charCodeAt(b)?(a=".",b++):(a=null,0===v&&y('"."')),null!==a&&null!==(o=pe())?e=[e,t,n,r,i,a,o]:(e=null,b=c)):(e=null,b=c)):(e=null,b=c)):(e=null,b=c),null!==e&&(l=s,Fn.host_type="IPv4",e=_.substring(b,l)),null===e&&(b=s),e}function pe(){var e,t,n,r;return r=b,"25"===_.substr(b,2)?(e="25",b+=2):(e=null,0===v&&y('"25"')),null!==e?(/^[0-5]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[0-5]")),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null===e&&(r=b,50===_.charCodeAt(b)?(e="2",b++):(e=null,0===v&&y('"2"')),null!==e?(/^[0-4]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[0-4]")),null!==t&&null!==(n=l())?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),null===e&&(r=b,49===_.charCodeAt(b)?(e="1",b++):(e=null,0===v&&y('"1"')),null!==e&&null!==(t=l())&&null!==(n=l())?e=[e,t,n]:(e=null,b=r),null===e&&(r=b,/^[1-9]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[1-9]")),null!==e&&null!==(t=l())?e=[e,t]:(e=null,b=r),null===e&&(e=l())))),e}function me(){var e,t,n,r,i,a,o,s;return o=a=b,null!==(e=null!==(e=l())?e:"")&&null!==(t=null!==(t=l())?t:"")&&null!==(n=null!==(n=l())?n:"")&&null!==(r=null!==(r=l())?r:"")&&null!==(i=null!==(i=l())?i:"")?e=[e,t,n,r,i]:(e=null,b=o),null!==e&&(s=e,s=parseInt(s.join("")),e=Fn.port=s),null===e&&(b=a),e}function ge(){var e,t,n,r;for(e=[],r=b,59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null!==t&&null!==(n=_e())?t=[t,n]:(t=null,b=r);null!==t;)e.push(t),r=b,59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null!==t&&null!==(n=_e())?t=[t,n]:(t=null,b=r);return e}function _e(){var e;return null===(e=be())&&null===(e=ve())&&null===(e=ye())&&null===(e=we())&&null===(e=Ce())&&null===(e=Ae())&&(e=Se()),e}function be(){var e,t,n,r,i;return r=n=b,"transport="===_.substr(b,10).toLowerCase()?(e=_.substr(b,10),b+=10):(e=null,0===v&&y('"transport="')),null!==e?("udp"===_.substr(b,3).toLowerCase()?(t=_.substr(b,3),b+=3):(t=null,0===v&&y('"udp"')),null===t&&("tcp"===_.substr(b,3).toLowerCase()?(t=_.substr(b,3),b+=3):(t=null,0===v&&y('"tcp"')),null===t&&("sctp"===_.substr(b,4).toLowerCase()?(t=_.substr(b,4),b+=4):(t=null,0===v&&y('"sctp"')),null===t&&("tls"===_.substr(b,3).toLowerCase()?(t=_.substr(b,3),b+=3):(t=null,0===v&&y('"tls"')),null===t&&(t=D())))),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.transport=i.toLowerCase())),null===e&&(b=n),e}function ve(){var e,t,n,r,i;return r=n=b,"user="===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"user="')),null!==e?("phone"===_.substr(b,5).toLowerCase()?(t=_.substr(b,5),b+=5):(t=null,0===v&&y('"phone"')),null===t&&("ip"===_.substr(b,2).toLowerCase()?(t=_.substr(b,2),b+=2):(t=null,0===v&&y('"ip"')),null===t&&(t=D())),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.user=i.toLowerCase())),null===e&&(b=n),e}function ye(){var e,t,n,r,i;return r=n=b,"method="===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"method="')),null!==e&&null!==(t=ct())?e=[e,t]:(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.method=i)),null===e&&(b=n),e}function we(){var e,t,n,r,i;return r=n=b,"ttl="===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"ttl="')),null!==e&&null!==(t=Cn())?e=[e,t]:(e=null,b=r),null!==e&&(i=e[1],Fn.params||(Fn.params={}),e=void(Fn.params.ttl=i)),null===e&&(b=n),e}function Ce(){var e,t,n,r,i;return r=n=b,"maddr="===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"maddr="')),null!==e&&null!==(t=ae())?e=[e,t]:(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.maddr=i)),null===e&&(b=n),e}function Ae(){var e,t,n,r,i,a;return i=r=b,"lr"===_.substr(b,2).toLowerCase()?(e=_.substr(b,2),b+=2):(e=null,0===v&&y('"lr"')),null!==e?(a=b,61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=D())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.lr=void 0)),null===e&&(b=r),e}function Se(){var e,t,n,r,i,a,o,s;return i=r=b,null!==(e=Te())?(a=b,61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=xe())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=e[0],s=e[1],Fn.uri_params||(Fn.uri_params={}),s=void 0===s?void 0:s[1],e=void(Fn.uri_params[o.toLowerCase()]=s)),null===e&&(b=r),e}function Te(){var e,t,n;if(n=b,null!==(t=ke()))for(e=[];null!==t;)e.push(t),t=ke();else e=null;return null!==e&&(e=e.join("")),null===e&&(b=n),e}function xe(){var e,t,n;if(n=b,null!==(t=ke()))for(e=[];null!==t;)e.push(t),t=ke();else e=null;return null!==e&&(e=e.join("")),null===e&&(b=n),e}function ke(){var e;return null===(e=Ee())&&null===(e=g())&&(e=w()),e}function Ee(){var e;return 91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null===e&&(93===_.charCodeAt(b)?(e="]",b++):(e=null,0===v&&y('"]"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')))))))),e}function De(){var e,t,n,r,i,a,o;if(a=b,63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null!==e)if(null!==(t=Ie())){for(n=[],o=b,38===_.charCodeAt(b)?(r="&",b++):(r=null,0===v&&y('"&"')),null!==r&&null!==(i=Ie())?r=[r,i]:(r=null,b=o);null!==r;)n.push(r),o=b,38===_.charCodeAt(b)?(r="&",b++):(r=null,0===v&&y('"&"')),null!==r&&null!==(i=Ie())?r=[r,i]:(r=null,b=o);null!==n?e=[e,t,n]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return e}function Ie(){var e,t,n,r,i,a,o;return i=r=b,null!==(e=Pe())?(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=Me())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[0],o=e[2],a=a.join("").toLowerCase(),o=o.join(""),Fn.uri_headers||(Fn.uri_headers={}),e=void(Fn.uri_headers[a]?Fn.uri_headers[a].push(o):Fn.uri_headers[a]=[o])),null===e&&(b=r),e}function Pe(){var e,t;if(null===(t=$e())&&null===(t=g())&&(t=w()),null!==t)for(e=[];null!==t;)e.push(t),null===(t=$e())&&null===(t=g())&&(t=w());else e=null;return e}function Me(){var e,t;for(e=[],null===(t=$e())&&null===(t=g())&&(t=w());null!==t;)e.push(t),null===(t=$e())&&null===(t=g())&&(t=w());return e}function $e(){var e;return 91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null===e&&(93===_.charCodeAt(b)?(e="]",b++):(e=null,0===v&&y('"]"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')))))))),e}function Oe(){var e,t,n,r,i,a;return a=b,null!==(e=ct())&&null!==(t=h())&&null!==(n=Re())&&null!==(r=h())&&null!==(i=Ze())?e=[e,t,n,r,i]:(e=null,b=a),e}function Re(){var e;return null===(e=Q())&&(e=Ne()),e}function Ne(){var e,t,n,r;return r=b,null!==(e=Ve())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t?(null===(n=Le())&&(n=je()),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r)):(e=null,b=r),e}function Le(){var e,t,n,r,i;return r=b,null===(e=Fe())&&(e=Ge()),null!==e?(i=b,63===_.charCodeAt(b)?(t="?",b++):(t=null,0===v&&y('"?"')),null!==t&&null!==(n=Xe())?t=[t,n]:(t=null,b=i),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=r)):(e=null,b=r),e}function Fe(){var e,t,n,r;return r=b,"//"===_.substr(b,2)?(e="//",b+=2):(e=null,0===v&&y('"//"')),null!==e&&null!==(t=Ye())&&null!==(n=null!==(n=Ge())?n:"")?e=[e,t,n]:(e=null,b=r),e}function Ge(){var e,t,n;return n=b,47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null!==e&&null!==(t=He())?e=[e,t]:(e=null,b=n),e}function je(){var e,t,n,r;if(r=b,null!==(e=Ue())){for(t=[],n=Be();null!==n;)t.push(n),n=Be();null!==t?e=[e,t]:(e=null,b=r)}else e=null,b=r;return e}function Be(){var e;return null===(e=m())&&null===(e=g())&&(e=w()),e}function Ue(){var e;return null===(e=g())&&null===(e=w())&&(59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","'))))))))))),e}function He(){var e,t,n,r,i,a;if(i=b,null!==(e=We())){for(t=[],a=b,47===_.charCodeAt(b)?(n="/",b++):(n=null,0===v&&y('"/"')),null!==n&&null!==(r=We())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,47===_.charCodeAt(b)?(n="/",b++):(n=null,0===v&&y('"/"')),null!==n&&null!==(r=We())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function We(){var e,t,n,r,i,a;for(i=b,e=[],t=ze();null!==t;)e.push(t),t=ze();if(null!==e){for(t=[],a=b,59===_.charCodeAt(b)?(n=";",b++):(n=null,0===v&&y('";"')),null!==n&&null!==(r=qe())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,59===_.charCodeAt(b)?(n=";",b++):(n=null,0===v&&y('";"')),null!==n&&null!==(r=qe())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function qe(){var e,t;for(e=[],t=ze();null!==t;)e.push(t),t=ze();return e}function ze(){var e;return null===(e=g())&&null===(e=w())&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","'))))))))),e}function Ve(){var e,t,n,r,i,a;if(i=r=b,null!==(e=s())){for(t=[],null===(n=s())&&null===(n=l())&&(43===_.charCodeAt(b)?(n="+",b++):(n=null,0===v&&y('"+"')),null===n&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')))));null!==n;)t.push(n),null===(n=s())&&null===(n=l())&&(43===_.charCodeAt(b)?(n="+",b++):(n=null,0===v&&y('"+"')),null===n&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')))));null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return null!==e&&(a=r,e=void(Fn.scheme=_.substring(b,a))),null===e&&(b=r),e}function Ye(){var e;return null===(e=Ke())&&(e=Qe()),e}function Ke(){var e,t,n,r;return r=n=b,null!==(e=ee())?(64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==(e=null!==e?e:"")&&null!==(t=ie())?e=[e,t]:(e=null,b=n),e=null!==e?e:""}function Qe(){var e,t;if(null===(t=g())&&null===(t=w())&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')),null===t&&(59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null===t&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=g())&&null===(t=w())&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')),null===t&&(59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null===t&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"'))))))))));else e=null;return e}function Xe(){var e,t;for(e=[],t=Be();null!==t;)e.push(t),t=Be();return e}function Ze(){var e,t,n,r,i,a,o,s,c;if(s=o=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"SIP"')),null!==e)if(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null!==t){if(null!==(r=l()))for(n=[];null!==r;)n.push(r),r=l();else n=null;if(null!==n)if(46===_.charCodeAt(b)?(r=".",b++):(r=null,0===v&&y('"."')),null!==r){if(null!==(a=l()))for(i=[];null!==a;)i.push(a),a=l();else i=null;null!==i?e=[e,t,n,r,i]:(e=null,b=s)}else e=null,b=s;else e=null,b=s}else e=null,b=s;else e=null,b=s;return null!==e&&(c=o,e=void(Fn.sip_version=_.substring(b,c))),null===e&&(b=o),e}function Je(){var e;return"INVITE"===_.substr(b,6)?(e="INVITE",b+=6):(e=null,0===v&&y('"INVITE"')),e}function et(){var e;return"ACK"===_.substr(b,3)?(e="ACK",b+=3):(e=null,0===v&&y('"ACK"')),e}function tt(){var e;return"OPTIONS"===_.substr(b,7)?(e="OPTIONS",b+=7):(e=null,0===v&&y('"OPTIONS"')),e}function nt(){var e;return"BYE"===_.substr(b,3)?(e="BYE",b+=3):(e=null,0===v&&y('"BYE"')),e}function rt(){var e;return"CANCEL"===_.substr(b,6)?(e="CANCEL",b+=6):(e=null,0===v&&y('"CANCEL"')),e}function it(){var e;return"REGISTER"===_.substr(b,8)?(e="REGISTER",b+=8):(e=null,0===v&&y('"REGISTER"')),e}function at(){var e;return"SUBSCRIBE"===_.substr(b,9)?(e="SUBSCRIBE",b+=9):(e=null,0===v&&y('"SUBSCRIBE"')),e}function ot(){var e;return"NOTIFY"===_.substr(b,6)?(e="NOTIFY",b+=6):(e=null,0===v&&y('"NOTIFY"')),e}function st(){var e;return"REFER"===_.substr(b,5)?(e="REFER",b+=5):(e=null,0===v&&y('"REFER"')),e}function ct(){var e,t,n;return t=b,null===(e=Je())&&null===(e=et())&&null===(e=tt())&&null===(e=nt())&&null===(e=rt())&&null===(e=it())&&null===(e=at())&&null===(e=ot())&&null===(e=st())&&(e=D()),null!==e&&(n=t,Fn.method=_.substring(b,n),e=Fn.method),null===e&&(b=t),e}function lt(){var e,t,n,r,i,a;return a=b,null!==(e=Ze())&&null!==(t=h())&&null!==(n=ut())&&null!==(r=h())&&null!==(i=dt())?e=[e,t,n,r,i]:(e=null,b=a),e}function ut(){var e,t,n;return t=b,null!==(e=ft())&&(n=e,e=void(Fn.status_code=parseInt(n.join("")))),null===e&&(b=t),e}function ft(){var e,t,n,r;return r=b,null!==(e=l())&&null!==(t=l())&&null!==(n=l())?e=[e,t,n]:(e=null,b=r),e}function dt(){var e,t,n,r;for(n=b,e=[],null===(t=m())&&null===(t=g())&&null===(t=w())&&null===(t=k())&&null===(t=E())&&null===(t=h())&&(t=p());null!==t;)e.push(t),null===(t=m())&&null===(t=g())&&null===(t=w())&&null===(t=k())&&null===(t=E())&&null===(t=h())&&(t=p());return null!==e&&(r=n,e=void(Fn.reason_phrase=_.substring(b,r))),null===e&&(b=n),e}function ht(){var e,t,n,r,i,a,o;if(a=i=b,null===(e=K())&&(e=pt()),null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=gt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=gt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(e=function(e){var t;Fn.multi_header||(Fn.multi_header=[]);try{t=new Ln(Fn.uri,Fn.display_name,Fn.params),delete Fn.uri,delete Fn.display_name,delete Fn.params}catch(e){t=null}Fn.multi_header.push({possition:b,offset:e,parsed:t})}(i)),null===e&&(b=i),e}function pt(){var e,t,n,r,i;return i=b,null!==(e=null!==(e=mt())?e:"")&&null!==(t=F())&&null!==(n=Q())&&null!==(r=L())?e=[e,t,n,r]:(e=null,b=i),e}function mt(){var e,t,n,r,i,a,o,s,c;if(a=i=b,null!==(e=D())){for(t=[],o=b,null!==(n=C())&&null!==(r=D())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=C())&&null!==(r=D())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null===e&&(e=q()),null!==e&&(s=i,c=e,'"'===(c=_.substring(b,s).trim())[0]&&(c=c.substring(1,c.length-1)),e=void(Fn.display_name=c)),null===e&&(b=i),e}function gt(){var e;return null===(e=_t())&&null===(e=bt())&&(e=wt()),e}function _t(){var e,t,n,r,i,a;return i=r=b,"q"===_.substr(b,1).toLowerCase()?(e=_.substr(b,1),b++):(e=null,0===v&&y('"q"')),null!==e&&null!==(t=O())&&null!==(n=yt())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],Fn.params||(Fn.params={}),e=void(Fn.params.q=a)),null===e&&(b=r),e}function bt(){var e,t,n,r,i,a;return i=r=b,"expires"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"expires"')),null!==e&&null!==(t=O())&&null!==(n=vt())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],Fn.params||(Fn.params={}),e=void(Fn.params.expires=a)),null===e&&(b=r),e}function vt(){var e,t,n;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;return null!==e&&(e=parseInt(e.join(""))),null===e&&(b=n),e}function yt(){var e,t,n,r,i,a,o,s,c;return o=a=b,48===_.charCodeAt(b)?(e="0",b++):(e=null,0===v&&y('"0"')),null!==e?(s=b,46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null!==t&&null!==(n=null!==(n=l())?n:"")&&null!==(r=null!==(r=l())?r:"")&&null!==(i=null!==(i=l())?i:"")?t=[t,n,r,i]:(t=null,b=s),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=o)):(e=null,b=o),null!==e&&(c=a,e=parseFloat(_.substring(b,c))),null===e&&(b=a),e}function wt(){var e,t,n,r,i,a,o,s;return i=r=b,null!==(e=D())?(a=b,null!==(t=O())&&null!==(n=Ct())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=e[0],s=e[1],Fn.params||(Fn.params={}),s=void 0===s?void 0:s[1],e=void(Fn.params[o.toLowerCase()]=s)),null===e&&(b=r),e}function Ct(){var e;return null===(e=D())&&null===(e=ae())&&(e=q()),e}function At(){var e;return"render"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"render"')),null===e&&("session"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"session"')),null===e&&("icon"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"icon"')),null===e&&("alert"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"alert"')),null===e&&(e=D())))),e}function St(){var e;return null===(e=Tt())&&(e=wt()),e}function Tt(){var e,t,n,r;return r=b,"handling"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"handling"')),null!==e&&null!==(t=O())?("optional"===_.substr(b,8).toLowerCase()?(n=_.substr(b,8),b+=8):(n=null,0===v&&y('"optional"')),null===n&&("required"===_.substr(b,8).toLowerCase()?(n=_.substr(b,8),b+=8):(n=null,0===v&&y('"required"')),null===n&&(n=D())),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),e}function xt(){var e,t,n,r,i,a,o,s;if(o=b,null!==(e=kt()))if(null!==(t=$()))if(null!==(n=Mt())){for(r=[],s=b,null!==(i=j())&&null!==(a=$t())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=j())&&null!==(a=$t())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return e}function kt(){var e;return null===(e=Et())&&(e=Dt()),e}function Et(){var e;return"text"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"text"')),null===e&&("image"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"image"')),null===e&&("audio"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"audio"')),null===e&&("video"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"video"')),null===e&&("application"===_.substr(b,11).toLowerCase()?(e=_.substr(b,11),b+=11):(e=null,0===v&&y('"application"')),null===e&&(e=It()))))),e}function Dt(){var e;return"message"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"message"')),null===e&&("multipart"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"multipart"')),null===e&&(e=It())),e}function It(){var e;return null===(e=D())&&(e=Pt()),e}function Pt(){var e,t,n;return n=b,"x-"===_.substr(b,2).toLowerCase()?(e=_.substr(b,2),b+=2):(e=null,0===v&&y('"x-"')),null!==e&&null!==(t=D())?e=[e,t]:(e=null,b=n),e}function Mt(){var e;return null===(e=It())&&(e=D()),e}function $t(){var e,t,n,r;return r=b,null!==(e=D())&&null!==(t=O())&&null!==(n=Ot())?e=[e,t,n]:(e=null,b=r),e}function Ot(){var e;return null===(e=D())&&(e=q()),e}function Rt(){var e,t,n,r;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;return null!==e&&(r=e,e=void(Fn.value=parseInt(r.join("")))),null===e&&(b=n),e}function Nt(){var e,t,n,r,i,a;if(i=b,null!==(e=I())){for(t=[],a=b,46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n&&null!==(r=I())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n&&null!==(r=I())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function Lt(){var e;return null===(e=Ft())&&(e=wt()),e}function Ft(){var e,t,n,r,i,a;return i=r=b,"tag"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"tag"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.tag=a)),null===e&&(b=r),e}function Gt(){var e,t,n,r,i,a,o,s;if(o=b,"digest"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"Digest"')),null!==e)if(null!==(t=C()))if(null!==(n=Ut())){for(r=[],s=b,null!==(i=G())&&null!==(a=Ut())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=G())&&null!==(a=Ut())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return null===e&&(e=jt()),e}function jt(){var e,t,n,r,i,a,o,s;if(o=b,null!==(e=D()))if(null!==(t=C()))if(null!==(n=Bt())){for(r=[],s=b,null!==(i=G())&&null!==(a=Bt())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=G())&&null!==(a=Bt())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return e}function Bt(){var e,t,n,r;return r=b,null!==(e=D())&&null!==(t=O())?(null===(n=D())&&(n=q()),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),e}function Ut(){var e;return null===(e=Ht())&&null===(e=qt())&&null===(e=Vt())&&null===(e=Kt())&&null===(e=Qt())&&null===(e=Xt())&&null===(e=Zt())&&(e=Bt()),e}function Ht(){var e,t,n,r;return r=b,"realm"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"realm"')),null!==e&&null!==(t=O())&&null!==(n=Wt())?e=[e,t,n]:(e=null,b=r),e}function Wt(){var e,t,n;return t=b,null!==(e=z())&&(n=e,e=void(Fn.realm=n)),null===e&&(b=t),e}function qt(){var e,t,n,r,i,a,o,s,c;if(s=b,"domain"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"domain"')),null!==e)if(null!==(t=O()))if(null!==(n=U()))if(null!==(r=zt())){if(i=[],c=b,null!==(o=h()))for(a=[];null!==o;)a.push(o),o=h();else a=null;for(null!==a&&null!==(o=zt())?a=[a,o]:(a=null,b=c);null!==a;){if(i.push(a),c=b,null!==(o=h()))for(a=[];null!==o;)a.push(o),o=h();else a=null;null!==a&&null!==(o=zt())?a=[a,o]:(a=null,b=c)}null!==i&&null!==(a=H())?e=[e,t,n,r,i,a]:(e=null,b=s)}else e=null,b=s;else e=null,b=s;else e=null,b=s;else e=null,b=s;return e}function zt(){var e;return null===(e=Ne())&&(e=Ge()),e}function Vt(){var e,t,n,r;return r=b,"nonce"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"nonce"')),null!==e&&null!==(t=O())&&null!==(n=Yt())?e=[e,t,n]:(e=null,b=r),e}function Yt(){var e,t,n;return t=b,null!==(e=z())&&(n=e,e=void(Fn.nonce=n)),null===e&&(b=t),e}function Kt(){var e,t,n,r,i,a;return i=r=b,"opaque"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"opaque"')),null!==e&&null!==(t=O())&&null!==(n=z())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.opaque=a)),null===e&&(b=r),e}function Qt(){var e,t,n,r,i;return r=b,"stale"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"stale"')),null!==e&&null!==(t=O())?(i=b,"true"===_.substr(b,4).toLowerCase()?(n=_.substr(b,4),b+=4):(n=null,0===v&&y('"true"')),null!==n&&(n=void(Fn.stale=!0)),null===n&&(b=i),null===n&&(i=b,"false"===_.substr(b,5).toLowerCase()?(n=_.substr(b,5),b+=5):(n=null,0===v&&y('"false"')),null!==n&&(n=void(Fn.stale=!1)),null===n&&(b=i)),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),e}function Xt(){var e,t,n,r,i,a;return i=r=b,"algorithm"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"algorithm"')),null!==e&&null!==(t=O())?("md5"===_.substr(b,3).toLowerCase()?(n=_.substr(b,3),b+=3):(n=null,0===v&&y('"MD5"')),null===n&&("md5-sess"===_.substr(b,8).toLowerCase()?(n=_.substr(b,8),b+=8):(n=null,0===v&&y('"MD5-sess"')),null===n&&(n=D())),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.algorithm=a.toUpperCase())),null===e&&(b=r),e}function Zt(){var e,t,n,r,i,a,o,s,c,l;if(s=b,"qop"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"qop"')),null!==e)if(null!==(t=O()))if(null!==(n=U())){if(c=b,null!==(r=Jt())){for(i=[],l=b,44===_.charCodeAt(b)?(a=",",b++):(a=null,0===v&&y('","')),null!==a&&null!==(o=Jt())?a=[a,o]:(a=null,b=l);null!==a;)i.push(a),l=b,44===_.charCodeAt(b)?(a=",",b++):(a=null,0===v&&y('","')),null!==a&&null!==(o=Jt())?a=[a,o]:(a=null,b=l);null!==i?r=[r,i]:(r=null,b=c)}else r=null,b=c;null!==r&&null!==(i=H())?e=[e,t,n,r,i]:(e=null,b=s)}else e=null,b=s;else e=null,b=s;else e=null,b=s;return e}function Jt(){var e,t,n;return t=b,"auth-int"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"auth-int"')),null===e&&("auth"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"auth"')),null===e&&(e=D())),null!==e&&(n=e,Fn.qop||(Fn.qop=[]),e=void Fn.qop.push(n.toLowerCase())),null===e&&(b=t),e}function en(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=pt())){for(t=[],o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(e=function(e){var t;Fn.multi_header||(Fn.multi_header=[]);try{t=new Ln(Fn.uri,Fn.display_name,Fn.params),delete Fn.uri,delete Fn.display_name,delete Fn.params}catch(e){t=null}Fn.multi_header.push({possition:b,offset:e,parsed:t})}(i)),null===e&&(b=i),e}function tn(){var e;return null===(e=nn())&&(e=wt()),e}function nn(){var e,t,n,r,i,a,o;if(a=i=b,"cause"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"cause"')),null!==e)if(null!==(t=O())){if(null!==(r=l()))for(n=[];null!==r;)n.push(r),r=l();else n=null;null!==n?e=[e,t,n]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return null!==e&&(o=e[2],e=void(Fn.cause=parseInt(o.join("")))),null===e&&(b=i),e}function rn(){var e,t,n,r,i,a;if(i=b,null!==(e=pt())){for(t=[],a=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function an(){var e,t,n;return t=b,"active"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"active"')),null===e&&("pending"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"pending"')),null===e&&("terminated"===_.substr(b,10).toLowerCase()?(e=_.substr(b,10),b+=10):(e=null,0===v&&y('"terminated"')),null===e&&(e=D()))),null!==e&&(n=t,e=void(Fn.state=_.substring(b,n))),null===e&&(b=t),e}function on(){var e,t,n,r,i,a,o,s;return i=r=b,"reason"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"reason"')),null!==e&&null!==(t=O())&&null!==(n=sn())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=void(void 0!==(a=e[2])&&(Fn.reason=a))),null===e&&(b=r),null===e&&(i=r=b,"expires"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"expires"')),null!==e&&null!==(t=O())&&null!==(n=vt())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=void(void 0!==(s=e[2])&&(Fn.expires=s))),null===e&&(b=r),null===e&&(i=r=b,"retry_after"===_.substr(b,11).toLowerCase()?(e=_.substr(b,11),b+=11):(e=null,0===v&&y('"retry_after"')),null!==e&&null!==(t=O())&&null!==(n=vt())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=void(void 0!==(o=e[2])&&(Fn.retry_after=o))),null===e&&(b=r),null===e&&(e=wt()))),e}function sn(){var e;return"deactivated"===_.substr(b,11).toLowerCase()?(e=_.substr(b,11),b+=11):(e=null,0===v&&y('"deactivated"')),null===e&&("probation"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"probation"')),null===e&&("rejected"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"rejected"')),null===e&&("timeout"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"timeout"')),null===e&&("giveup"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"giveup"')),null===e&&("noresource"===_.substr(b,10).toLowerCase()?(e=_.substr(b,10),b+=10):(e=null,0===v&&y('"noresource"')),null===e&&("invariant"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"invariant"')),null===e&&(e=D()))))))),e}function cn(){var e;return null===(e=Ft())&&(e=wt()),e}function ln(){var e,t,n,r,i,a,o,s;if(o=b,null!==(e=gn()))if(null!==(t=C()))if(null!==(n=vn())){for(r=[],s=b,null!==(i=j())&&null!==(a=un())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=j())&&null!==(a=un())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return e}function un(){var e;return null===(e=fn())&&null===(e=dn())&&null===(e=hn())&&null===(e=pn())&&null===(e=mn())&&(e=wt()),e}function fn(){var e,t,n,r,i,a;return i=r=b,"ttl"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"ttl"')),null!==e&&null!==(t=O())&&null!==(n=Cn())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.ttl=a)),null===e&&(b=r),e}function dn(){var e,t,n,r,i,a;return i=r=b,"maddr"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"maddr"')),null!==e&&null!==(t=O())&&null!==(n=ae())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.maddr=a)),null===e&&(b=r),e}function hn(){var e,t,n,r,i,a;return i=r=b,"received"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"received"')),null!==e&&null!==(t=O())?(null===(n=he())&&(n=ue()),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.received=a)),null===e&&(b=r),e}function pn(){var e,t,n,r,i,a;return i=r=b,"branch"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"branch"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.branch=a)),null===e&&(b=r),e}function mn(){var e,t,n,r,i,a,o;if(a=i=b,"rport"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"rport"')),null!==e){if(o=b,null!==(t=O())){for(n=[],r=l();null!==r;)n.push(r),r=l();null!==n?t=[t,n]:(t=null,b=o)}else t=null,b=o;null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(e=void("undefined"!=typeof response_port&&(Fn.rport=response_port.join("")))),null===e&&(b=i),e}function gn(){var e,t,n,r,i,a;return a=b,null!==(e=_n())&&null!==(t=$())&&null!==(n=D())&&null!==(r=$())&&null!==(i=bn())?e=[e,t,n,r,i]:(e=null,b=a),e}function _n(){var e,t,n;return t=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"SIP"')),null===e&&(e=D()),null!==e&&(n=e,e=void(Fn.protocol=n)),null===e&&(b=t),e}function bn(){var e,t,n;return t=b,"udp"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"UDP"')),null===e&&("tcp"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"TCP"')),null===e&&("tls"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"TLS"')),null===e&&("sctp"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"SCTP"')),null===e&&(e=D())))),null!==e&&(n=e,e=void(Fn.transport=n)),null===e&&(b=t),e}function vn(){var e,t,n,r,i;return r=b,null!==(e=yn())?(i=b,null!==(t=B())&&null!==(n=wn())?t=[t,n]:(t=null,b=i),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=r)):(e=null,b=r),e}function yn(){var e,t,n;return t=b,null===(e=he())&&null===(e=le())&&(e=oe()),null!==e&&(n=t,e=void(Fn.host=_.substring(b,n))),null===e&&(b=t),e}function wn(){var e,t,n,r,i,a,o,s;return o=a=b,null!==(e=null!==(e=l())?e:"")&&null!==(t=null!==(t=l())?t:"")&&null!==(n=null!==(n=l())?n:"")&&null!==(r=null!==(r=l())?r:"")&&null!==(i=null!==(i=l())?i:"")?e=[e,t,n,r,i]:(e=null,b=o),null!==e&&(s=e,e=void(Fn.port=parseInt(s.join("")))),null===e&&(b=a),e}function Cn(){var e,t,n,r,i;return i=r=b,null!==(e=l())&&null!==(t=null!==(t=l())?t:"")&&null!==(n=null!==(n=l())?n:"")?e=[e,t,n]:(e=null,b=i),null!==e&&(e=parseInt(e.join(""))),null===e&&(b=r),e}function An(){var e,t,n;return t=b,null!==(e=vt())&&(n=e,e=void(Fn.expires=n)),null===e&&(b=t),e}function Sn(){var e;return null===(e=Tn())&&(e=wt()),e}function Tn(){var e,t,n,r,i,a;return i=r=b,"refresher"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"refresher"')),null!==e&&null!==(t=O())?("uac"===_.substr(b,3).toLowerCase()?(n=_.substr(b,3),b+=3):(n=null,0===v&&y('"uac"')),null===n&&("uas"===_.substr(b,3).toLowerCase()?(n=_.substr(b,3),b+=3):(n=null,0===v&&y('"uas"'))),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.refresher=a.toLowerCase())),null===e&&(b=r),e}function xn(){var e,t;for(e=[],null===(t=x())&&null===(t=E())&&(t=C());null!==t;)e.push(t),null===(t=x())&&null===(t=E())&&(t=C());return e}function kn(){var e,t,n,r,i,a,o,s,c,l,u,f;return u=l=b,null!==(e=Dn())?(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null!==t&&null!==(n=En())?(45===_.charCodeAt(b)?(r="-",b++):(r=null,0===v&&y('"-"')),null!==r&&null!==(i=En())?(45===_.charCodeAt(b)?(a="-",b++):(a=null,0===v&&y('"-"')),null!==a&&null!==(o=En())?(45===_.charCodeAt(b)?(s="-",b++):(s=null,0===v&&y('"-"')),null!==s&&null!==(c=In())?e=[e,t,n,r,i,a,o,s,c]:(e=null,b=u)):(e=null,b=u)):(e=null,b=u)):(e=null,b=u)):(e=null,b=u),null!==e&&(f=l,e[0],e=void(Fn=_.substring(b+5,f))),null===e&&(b=l),e}function En(){var e,t,n,r,i;return i=b,null!==(e=u())&&null!==(t=u())&&null!==(n=u())&&null!==(r=u())?e=[e,t,n,r]:(e=null,b=i),e}function Dn(){var e,t,n;return n=b,null!==(e=En())&&null!==(t=En())?e=[e,t]:(e=null,b=n),e}function In(){var e,t,n,r;return r=b,null!==(e=En())&&null!==(t=En())&&null!==(n=En())?e=[e,t,n]:(e=null,b=r),e}function Pn(){var e,t,n,r,i,a,o;return i=r=b,null!==(e=P())?(a=b,64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null!==t&&null!==(n=P())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=r,e=void(Fn.call_id=_.substring(b,o))),null===e&&(b=r),e}function Mn(){var e;return null===(e=$n())&&null===(e=On())&&null===(e=Rn())&&(e=wt()),e}function $n(){var e,t,n,r,i,a;return i=r=b,"to-tag"===_.substr(b,6)?(e="to-tag",b+=6):(e=null,0===v&&y('"to-tag"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.to_tag=a)),null===e&&(b=r),e}function On(){var e,t,n,r,i,a;return i=r=b,"from-tag"===_.substr(b,8)?(e="from-tag",b+=8):(e=null,0===v&&y('"from-tag"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.from_tag=a)),null===e&&(b=r),e}function Rn(){var e,t;return t=b,"early-only"===_.substr(b,10)?(e="early-only",b+=10):(e=null,0===v&&y('"early-only"')),null!==e&&(e=void(Fn.early_only=!0)),null===e&&(b=t),e}var Nn=Hn("./URI"),Ln=Hn("./NameAddrHeader"),Fn={};if(null!==e[c]()&&b===_.length)return Fn;var Gn=Math.max(b,a),jn=Gn<_.length?_.charAt(Gn):null,Bn=function(){for(var e=1,t=1,n=!1,r=0;r<Math.max(b,a);r++){var i=_.charAt(r);n="\n"===i?(n||e++,!(t=1)):"\r"===i||"\u2028"===i||"\u2029"===i?(e++,t=1,!0):(t++,!1)}return{line:e,column:t}}();return new this.SyntaxError(function(e){e.sort();for(var t=null,n=[],r=0;r<e.length;r++)e[r]!==t&&(n.push(e[r]),t=e[r]);return n}(t),jn,Gn,Bn.line,Bn.column),-1},toSource:function(){return this._source},SyntaxError:function(e,t,n,r,i){this.name="SyntaxError",this.expected=e,this.found=t,this.message=function(e,t){var n;switch(e.length){case 0:n="end of input";break;case 1:n=e[0];break;default:n=e.slice(0,e.length-1).join(", ")+" or "+e[e.length-1]}return"Expected "+n+" but "+(t?Un(t):"end of input")+" found."}(e,t),this.offset=n,this.line=r,this.column=i}};return e.SyntaxError.prototype=Error.prototype,e}()},{"./NameAddrHeader":10,"./URI":25}],8:[function(e,t,n){"use strict";var r=e("webrtc-adapter"),i=e("../package.json"),a=e("./Constants"),o=e("./Exceptions"),s=e("./Utils"),c=e("./UA"),l=e("./URI"),u=e("./NameAddrHeader"),f=e("./Grammar"),d=e("./WebSocketInterface");e("debug")("JsSIP")("version %s",i.version),t.exports={C:a,Exceptions:o,Utils:s,UA:c,URI:l,NameAddrHeader:u,WebSocketInterface:d,Grammar:f,debug:e("debug"),adapter:r,get name(){return i.title},get version(){return i.version}}},{"../package.json":51,"./Constants":2,"./Exceptions":6,"./Grammar":7,"./NameAddrHeader":10,"./UA":24,"./URI":25,"./Utils":26,"./WebSocketInterface":27,debug:29,"webrtc-adapter":40}],9:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,u=e("./Constants"),f=e("./SIPMessage"),d=e("./Utils"),h=e("./RequestSender"),a=e("./Exceptions"),o=e("debug")("JsSIP:Message");t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._ua=e,t._request=null,t._closed=!1,t._direction=null,t._local_identity=null,t._remote_identity=null,t._is_replied=!1,t._data={},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"send",value:function(e,t){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=e;if(void 0===e||void 0===t)throw new TypeError("Not enough arguments");if(!(e=this._ua.normalizeTarget(e)))throw new TypeError("Invalid target: "+i);var a=d.cloneArray(r.extraHeaders),o=r.eventHandlers||{},s=r.contentType||"text/plain";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&this.on(c,o[c]);a.push("Content-Type: "+s),this._request=new f.OutgoingRequest(u.MESSAGE,e,this._ua,null,a),t&&(this._request.body=t);var l=new h(this._ua,this._request,{onRequestTimeout:function(){n._onRequestTimeout()},onTransportError:function(){n._onTransportError()},onReceiveResponse:function(e){n._receiveResponse(e)}});this._newMessage("local",this._request),l.send()}},{key:"init_incoming",value:function(e){this._request=e,this._newMessage("remote",e),this._is_replied||(this._is_replied=!0,e.reply(200)),this._close()}},{key:"accept",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=d.cloneArray(e.extraHeaders),n=e.body;if("incoming"!==this._direction)throw new a.NotSupportedError('"accept" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");this._is_replied=!0,this._request.reply(200,null,t,n)}},{key:"reject",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.status_code||480,n=e.reason_phrase,r=d.cloneArray(e.extraHeaders),i=e.body;if("incoming"!==this._direction)throw new a.NotSupportedError('"reject" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");if(t<300||700<=t)throw new TypeError("Invalid status_code: "+t);this._is_replied=!0,this._request.reply(t,n,r,i)}},{key:"_receiveResponse",value:function(e){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(e.status_code):break;case/^2[0-9]{2}$/.test(e.status_code):this._succeeded("remote",e);break;default:var t=d.sipErrorCause(e.status_code);this._failed("remote",e,t)}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,u.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,u.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newMessage",value:function(e,t){"remote"===e?(this._direction="incoming",this._local_identity=t.to,this._remote_identity=t.from):"local"===e&&(this._direction="outgoing",this._local_identity=t.from,this._remote_identity=t.to),this._ua.newMessage(this,{originator:e,message:this,request:t})}},{key:"_failed",value:function(e,t,n){o("MESSAGE failed"),this._close(),o('emit "failed"'),this.emit("failed",{originator:e,response:t||null,cause:n})}},{key:"_succeeded",value:function(e,t){o("MESSAGE succeeded"),this._close(),o('emit "succeeded"'),this.emit("succeeded",{originator:e,response:t})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),n}()},{"./Constants":2,"./Exceptions":6,"./RequestSender":18,"./SIPMessage":19,"./Utils":26,debug:29,events:31}],10:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("./URI"),o=e("./Grammar");t.exports=function(){function i(e,t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),!(e&&e instanceof a))throw new TypeError('missing or invalid "uri" parameter');for(var r in this._uri=e,this._parameters={},this._display_name=t,n)Object.prototype.hasOwnProperty.call(n,r)&&this.setParam(r,n[r])}return r(i,null,[{key:"parse",value:function(e){return-1!==(e=o.parse(e,"Name_Addr_Header"))?e:void 0}}]),r(i,[{key:"setParam",value:function(e,t){e&&(this._parameters[e.toLowerCase()]=null==t?null:t.toString())}},{key:"getParam",value:function(e){if(e)return this._parameters[e.toLowerCase()]}},{key:"hasParam",value:function(e){if(e)return!!this._parameters.hasOwnProperty(e.toLowerCase())}},{key:"deleteParam",value:function(e){if(e=e.toLowerCase(),this._parameters.hasOwnProperty(e)){var t=this._parameters[e];return delete this._parameters[e],t}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"clone",value:function(){return new i(this._uri.clone(),this._display_name,JSON.parse(JSON.stringify(this._parameters)))}},{key:"toString",value:function(){var e=this._display_name||0===this._display_name?'"'+this._display_name+'" ':"";for(var t in e+="<"+this._uri.toString()+">",this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,t)&&(e+=";"+t,null!==this._parameters[t]&&(e+="="+this._parameters[t]));return e}},{key:"uri",get:function(){return this._uri}},{key:"display_name",get:function(){return this._display_name},set:function(e){this._display_name=0===e?"0":e}}]),i}()},{"./Grammar":7,"./URI":25}],11:[function(e,t,n){"use strict";var y=e("./Grammar"),w=e("./SIPMessage"),l=e("debug")("JsSIP:ERROR:Parser");function u(e,t){var n=t,r=0,i=0;if(e.substring(n,n+2).match(/(^\r\n)/))return-2;for(;0===r;){if(-1===(i=e.indexOf("\r\n",n)))return i;!e.substring(i+2,i+4).match(/(^\r\n)/)&&e.charAt(i+2).match(/(^\s+)/)?n=i+2:r=i}return r}function f(e,t,n,r){var i=void 0,a=t.indexOf(":",n),o=t.substring(n,a).trim(),s=t.substring(a+1,r).trim();switch(o.toLowerCase()){case"via":case"v":e.addHeader("via",s),1===e.getHeaders("via").length?(i=e.parseHeader("Via"))&&(e.via=i,e.via_branch=i.branch):i=0;break;case"from":case"f":e.setHeader("from",s),(i=e.parseHeader("from"))&&(e.from=i,e.from_tag=i.getParam("tag"));break;case"to":case"t":e.setHeader("to",s),(i=e.parseHeader("to"))&&(e.to=i,e.to_tag=i.getParam("tag"));break;case"record-route":if(-1===(i=y.parse(s,"Record_Route")))i=void 0;else{var c=!0,l=!1,u=void 0;try{for(var f,d=i[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){var h=f.value;e.addHeader("record-route",s.substring(h.possition,h.offset)),e.headers["Record-Route"][e.getHeaders("record-route").length-1].parsed=h.parsed}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}break;case"call-id":case"i":e.setHeader("call-id",s),(i=e.parseHeader("call-id"))&&(e.call_id=s);break;case"contact":case"m":if(-1===(i=y.parse(s,"Contact")))i=void 0;else{var p=!0,m=!1,g=void 0;try{for(var _,b=i[Symbol.iterator]();!(p=(_=b.next()).done);p=!0){var v=_.value;e.addHeader("contact",s.substring(v.possition,v.offset)),e.headers.Contact[e.getHeaders("contact").length-1].parsed=v.parsed}}catch(e){m=!0,g=e}finally{try{!p&&b.return&&b.return()}finally{if(m)throw g}}}break;case"content-length":case"l":e.setHeader("content-length",s),i=e.parseHeader("content-length");break;case"content-type":case"c":e.setHeader("content-type",s),i=e.parseHeader("content-type");break;case"cseq":e.setHeader("cseq",s),(i=e.parseHeader("cseq"))&&(e.cseq=i.value),e instanceof w.IncomingResponse&&(e.method=i.method);break;case"max-forwards":e.setHeader("max-forwards",s),i=e.parseHeader("max-forwards");break;case"www-authenticate":e.setHeader("www-authenticate",s),i=e.parseHeader("www-authenticate");break;case"proxy-authenticate":e.setHeader("proxy-authenticate",s),i=e.parseHeader("proxy-authenticate");break;case"session-expires":case"x":e.setHeader("session-expires",s),(i=e.parseHeader("session-expires"))&&(e.session_expires=i.expires,e.session_expires_refresher=i.refresher);break;case"refer-to":case"r":e.setHeader("refer-to",s),(i=e.parseHeader("refer-to"))&&(e.refer_to=i);break;case"replaces":e.setHeader("replaces",s),(i=e.parseHeader("replaces"))&&(e.replaces=i);break;case"event":case"o":e.setHeader("event",s),(i=e.parseHeader("event"))&&(e.event=i);break;default:e.addHeader(o,s),i=0}return void 0!==i||{error:'error parsing header "'+o+'"'}}l.log=console.warn.bind(console),n.parseMessage=function(e,t){var n=void 0,r=void 0,i=e.indexOf("\r\n");if(-1!==i){var a=e.substring(0,i),o=y.parse(a,"Request_Response");if(-1!==o){o.status_code?((n=new w.IncomingResponse).status_code=o.status_code,n.reason_phrase=o.reason_phrase):((n=new w.IncomingRequest(t)).method=o.method,n.ruri=o.uri),n.data=e;for(var s=i+2;;){if(-2===(i=u(e,s))){r=s+2;break}if(-1===i)return void l("parseMessage() | malformed message");if(!0!==(o=f(n,e,s,i)))return void l("parseMessage() |",o.error);s=i+2}if(n.hasHeader("content-length")){var c=n.getHeader("content-length");n.body=e.substr(r,c)}else n.body=e.substring(r);return n}l('parseMessage() | error parsing first line of SIP message: "'+a+'"')}else l("parseMessage() | no CRLF found, not a SIP message")}},{"./Grammar":7,"./SIPMessage":19,debug:29}],12:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("events").EventEmitter,v=e("sdp-transform"),$=e("./Constants"),O=e("./Exceptions"),l=e("./Transactions"),R=e("./Utils"),s=e("./Timers"),p=e("./SIPMessage"),c=e("./Dialog"),u=e("./RequestSender"),f=e("./RTCSession/DTMF"),d=e("./RTCSession/Info"),h=e("./RTCSession/ReferNotifier"),m=e("./RTCSession/ReferSubscriber"),N=e("debug")("JsSIP:RTCSession"),L=e("debug")("JsSIP:ERROR:RTCSession");L.log=console.warn.bind(console);var F={STATUS_NULL:0,STATUS_INVITE_SENT:1,STATUS_1XX_RECEIVED:2,STATUS_INVITE_RECEIVED:3,STATUS_WAITING_FOR_ANSWER:4,STATUS_ANSWERED:5,STATUS_WAITING_FOR_ACK:6,STATUS_CANCELED:7,STATUS_TERMINATED:8,STATUS_CONFIRMED:9},y=["audio","video"];t.exports=function(e){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),N("new");var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return t._id=null,t._ua=e,t._status=F.STATUS_NULL,t._dialog=null,t._earlyDialogs={},t._contact=null,t._from_tag=null,t._to_tag=null,t._connection=null,t._connectionPromiseQueue=Promise.resolve(),t._request=null,t._is_canceled=!1,t._cancel_reason="",t._is_confirmed=!1,t._late_sdp=!1,t._rtcOfferConstraints=null,t._rtcAnswerConstraints=null,t._localMediaStream=null,t._localMediaStreamLocallyGenerated=!1,t._rtcReady=!0,t._timers={ackTimer:null,expiresTimer:null,invite2xxTimer:null,userNoAnswerTimer:null},t._direction=null,t._local_identity=null,t._remote_identity=null,t._start_time=null,t._end_time=null,t._tones=null,t._audioMuted=!1,t._videoMuted=!1,t._localHold=!1,t._remoteHold=!1,t._sessionTimers={enabled:t._ua.configuration.session_timers,refreshMethod:t._ua.configuration.session_timers_refresh_method,defaultExpires:$.SESSION_EXPIRES,currentExpires:null,running:!1,refresher:!1,timer:null},t._referSubscribers={},t._data={},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,a),i(o,null,[{key:"C",get:function(){return F}}]),i(o,[{key:"isInProgress",value:function(){switch(this._status){case F.STATUS_NULL:case F.STATUS_INVITE_SENT:case F.STATUS_1XX_RECEIVED:case F.STATUS_INVITE_RECEIVED:case F.STATUS_WAITING_FOR_ANSWER:return!0;default:return!1}}},{key:"isEstablished",value:function(){switch(this._status){case F.STATUS_ANSWERED:case F.STATUS_WAITING_FOR_ACK:case F.STATUS_CONFIRMED:return!0;default:return!1}}},{key:"isEnded",value:function(){switch(this._status){case F.STATUS_CANCELED:case F.STATUS_TERMINATED:return!0;default:return!1}}},{key:"isMuted",value:function(){return{audio:this._audioMuted,video:this._videoMuted}}},{key:"isOnHold",value:function(){return{local:this._localHold,remote:this._remoteHold}}},{key:"connect",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];N("connect()");var r=e,i=t.eventHandlers||{},a=R.cloneArray(t.extraHeaders),o=t.mediaConstraints||{audio:!0,video:!0},s=t.mediaStream||null,c=t.pcConfig||{iceServers:[]},l=t.rtcConstraints||null,u=t.rtcOfferConstraints||null;if(this._rtcOfferConstraints=u,this._rtcAnswerConstraints=t.rtcAnswerConstraints||null,this._data=t.data||this._data,void 0===e)throw new TypeError("Not enough arguments");if(this._status!==F.STATUS_NULL)throw new O.InvalidStateError(this._status);if(!window.RTCPeerConnection)throw new O.NotSupportedError("WebRTC not supported");if(!(e=this._ua.normalizeTarget(e)))throw new TypeError("Invalid target: "+r);for(var f in this._sessionTimers.enabled&&R.isDecimal(t.sessionTimersExpires)&&(t.sessionTimersExpires>=$.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=t.sessionTimersExpires:this._sessionTimers.defaultExpires=$.SESSION_EXPIRES),i)Object.prototype.hasOwnProperty.call(i,f)&&this.on(f,i[f]);this._from_tag=R.newTag();var d=t.anonymous||!1,h={from_tag:this._from_tag};this._contact=this._ua.contact.toString({anonymous:d,outbound:!0}),d&&(h.from_display_name="Anonymous",h.from_uri="sip:anonymous@anonymous.invalid",a.push("P-Preferred-Identity: "+this._ua.configuration.uri.toString()),a.push("Privacy: id")),a.push("Contact: "+this._contact),a.push("Content-Type: application/sdp"),this._sessionTimers.enabled&&a.push("Session-Expires: "+this._sessionTimers.defaultExpires),this._request=new p.InitialOutgoingInviteRequest(e,this._ua,h,a),this._id=this._request.call_id+this._from_tag,this._createRTCConnection(c,l),this._direction="outgoing",this._local_identity=this._request.from,this._remote_identity=this._request.to,n&&n(this),this._newRTCSession("local",this._request),this._sendInitialRequest(o,u,s)}},{key:"init_incoming",value:function(e,t){var n=this;N("init_incoming()");var r=void 0,i=e.getHeader("Content-Type");e.body&&"application/sdp"!==i?e.reply(415):(this._status=F.STATUS_INVITE_RECEIVED,this._from_tag=e.from_tag,this._id=e.call_id+this._from_tag,this._request=e,this._contact=this._ua.contact.toString(),e.hasHeader("expires")&&(r=1e3*e.getHeader("expires")),e.to_tag=R.newTag(),this._createDialog(e,"UAS",!0)?(e.body?this._late_sdp=!1:this._late_sdp=!0,this._status=F.STATUS_WAITING_FOR_ANSWER,this._timers.userNoAnswerTimer=setTimeout(function(){e.reply(408),n._failed("local",null,$.causes.NO_ANSWER)},this._ua.configuration.no_answer_timeout),r&&(this._timers.expiresTimer=setTimeout(function(){n._status===F.STATUS_WAITING_FOR_ANSWER&&(e.reply(487),n._failed("system",null,$.causes.EXPIRES))},r)),this._direction="incoming",this._local_identity=e.to,this._remote_identity=e.from,t&&t(this),this._newRTCSession("remote",e),this._status!==F.STATUS_TERMINATED&&(e.reply(180,null,["Contact: "+this._contact]),this._progress("local",null))):e.reply(500,"Missing Contact header field"))}},{key:"answer",value:function(){var n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("answer()");var r=this._request,t=R.cloneArray(e.extraHeaders),i=e.mediaConstraints||{},a=e.mediaStream||null,o=e.pcConfig||{iceServers:[]},s=e.rtcConstraints||null,c=e.rtcAnswerConstraints||null,l=void 0,u=!1,f=!1,d=!1,h=!1;if(this._rtcAnswerConstraints=c,this._rtcOfferConstraints=e.rtcOfferConstraints||null,this._data=e.data||this._data,"incoming"!==this._direction)throw new O.NotSupportedError('"answer" not supported for outgoing RTCSession');if(this._status!==F.STATUS_WAITING_FOR_ANSWER)throw new O.InvalidStateError(this._status);if(this._sessionTimers.enabled&&R.isDecimal(e.sessionTimersExpires)&&(e.sessionTimersExpires>=$.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=e.sessionTimersExpires:this._sessionTimers.defaultExpires=$.SESSION_EXPIRES),this._status=F.STATUS_ANSWERED,this._createDialog(r,"UAS")){clearTimeout(this._timers.userNoAnswerTimer),t.unshift("Contact: "+this._contact);var p=r.parseSDP();Array.isArray(p.media)||(p.media=[p.media]);var m=!0,g=!1,_=void 0;try{for(var b,v=p.media[Symbol.iterator]();!(m=(b=v.next()).done);m=!0){var y=b.value;"audio"===y.type&&(u=!0,y.direction&&"sendrecv"!==y.direction||(d=!0)),"video"===y.type&&(f=!0,y.direction&&"sendrecv"!==y.direction||(h=!0))}}catch(e){g=!0,_=e}finally{try{!m&&v.return&&v.return()}finally{if(g)throw _}}if(a&&!1===i.audio){l=a.getAudioTracks();var w=!0,C=!1,A=void 0;try{for(var S,T=l[Symbol.iterator]();!(w=(S=T.next()).done);w=!0){var x=S.value;a.removeTrack(x)}}catch(e){C=!0,A=e}finally{try{!w&&T.return&&T.return()}finally{if(C)throw A}}}if(a&&!1===i.video){l=a.getVideoTracks();var k=!0,E=!1,D=void 0;try{for(var I,P=l[Symbol.iterator]();!(k=(I=P.next()).done);k=!0){var M=I.value;a.removeTrack(M)}}catch(e){E=!0,D=e}finally{try{!k&&P.return&&P.return()}finally{if(E)throw D}}}a||void 0!==i.audio||(i.audio=d),a||void 0!==i.video||(i.video=h),a||u||(i.audio=!1),a||f||(i.video=!1),this._createRTCConnection(o,s),Promise.resolve().then(function(){return a||(i.audio||i.video?(n._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(i).catch(function(e){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");throw r.reply(480),n._failed("local",null,$.causes.USER_DENIED_MEDIA_ACCESS),L('emit "getusermediafailed" [error:%o]',e),n.emit("getusermediafailed",e),new Error("getUserMedia() failed")})):void 0)}).then(function(e){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");(n._localMediaStream=e)&&n._connection.addStream(e)}).then(function(){if(!n._late_sdp){var e={originator:"remote",type:"offer",sdp:r.body};N('emit "sdp"'),n.emit("sdp",e);var t=new RTCSessionDescription({type:"offer",sdp:e.sdp});return n._connectionPromiseQueue=n._connectionPromiseQueue.then(function(){return n._connection.setRemoteDescription(t)}).catch(function(e){throw r.reply(488),n._failed("system",null,$.causes.WEBRTC_ERROR),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e),new Error("peerconnection.setRemoteDescription() failed")}),n._connectionPromiseQueue}}).then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");return n._connecting(r),n._late_sdp?n._createLocalDescription("offer",n._rtcOfferConstraints).catch(function(){throw r.reply(500),new Error("_createLocalDescription() failed")}):n._createLocalDescription("answer",c).catch(function(){throw r.reply(500),new Error("_createLocalDescription() failed")})}).then(function(e){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");n._handleSessionTimersInIncomingRequest(r,t),r.reply(200,null,t,e,function(){n._status=F.STATUS_WAITING_FOR_ACK,n._setInvite2xxTimer(r,e),n._setACKTimer(),n._accepted("local")},function(){n._failed("system",null,$.causes.CONNECTION_ERROR)})}).catch(function(e){n._status!==F.STATUS_TERMINATED&&L(e)})}else r.reply(500,"Error creating dialog")}},{key:"terminate",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("terminate()");var n=e.cause||$.causes.BYE,r=R.cloneArray(e.extraHeaders),i=e.body,a=void 0,o=e.status_code,s=e.reason_phrase;if(this._status===F.STATUS_TERMINATED)throw new O.InvalidStateError(this._status);switch(this._status){case F.STATUS_NULL:case F.STATUS_INVITE_SENT:case F.STATUS_1XX_RECEIVED:if(N("canceling session"),o&&(o<200||700<=o))throw new TypeError("Invalid status_code: "+o);o&&(a="SIP ;cause="+o+' ;text="'+(s=s||$.REASON_PHRASE[o]||"")+'"'),this._status===F.STATUS_NULL||this._status===F.STATUS_INVITE_SENT?(this._is_canceled=!0,this._cancel_reason=a):this._status===F.STATUS_1XX_RECEIVED&&this._request.cancel(a),this._status=F.STATUS_CANCELED,this._failed("local",null,$.causes.CANCELED);break;case F.STATUS_WAITING_FOR_ANSWER:case F.STATUS_ANSWERED:if(N("rejecting session"),(o=o||480)<300||700<=o)throw new TypeError("Invalid status_code: "+o);this._request.reply(o,s,r,i),this._failed("local",null,$.causes.REJECTED);break;case F.STATUS_WAITING_FOR_ACK:case F.STATUS_CONFIRMED:if(N("terminating session"),s=e.reason_phrase||$.REASON_PHRASE[o]||"",o&&(o<200||700<=o))throw new TypeError("Invalid status_code: "+o);if(o&&r.push("Reason: SIP ;cause="+o+'; text="'+s+'"'),this._status===F.STATUS_WAITING_FOR_ACK&&"incoming"===this._direction&&this._request.server_transaction.state!==l.C.STATUS_TERMINATED){var c=this._dialog;this.receiveRequest=function(e){e.method===$.ACK&&(t.sendRequest($.BYE,{extraHeaders:r,body:i}),c.terminate())},this._request.server_transaction.on("stateChanged",function(){t._request.server_transaction.state===l.C.STATUS_TERMINATED&&(t.sendRequest($.BYE,{extraHeaders:r,body:i}),c.terminate())}),this._ended("local",null,n),this._dialog=c,this._ua.newDialog(c)}else this.sendRequest($.BYE,{extraHeaders:r,body:i}),this._ended("local",null,n)}}},{key:"sendDTMF",value:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};N("sendDTMF() | tones: %s",e);var o=0,s=a.duration||null,c=a.interToneGap||null;if(void 0===e)throw new TypeError("Not enough arguments");if(this._status!==F.STATUS_CONFIRMED&&this._status!==F.STATUS_WAITING_FOR_ACK)throw new O.InvalidStateError(this._status);if("number"==typeof e&&(e=e.toString()),!e||"string"!=typeof e||!e.match(/^[0-9A-DR#*,]+$/i))throw new TypeError("Invalid tones: "+e);if(s&&!R.isDecimal(s))throw new TypeError("Invalid tone duration: "+s);if(s=s?s<f.C.MIN_DURATION?(N('"duration" value is lower than the minimum allowed, setting it to '+f.C.MIN_DURATION+" milliseconds"),f.C.MIN_DURATION):s>f.C.MAX_DURATION?(N('"duration" value is greater than the maximum allowed, setting it to '+f.C.MAX_DURATION+" milliseconds"),f.C.MAX_DURATION):Math.abs(s):f.C.DEFAULT_DURATION,a.duration=s,c&&!R.isDecimal(c))throw new TypeError("Invalid interToneGap: "+c);c=c?c<f.C.MIN_INTER_TONE_GAP?(N('"interToneGap" value is lower than the minimum allowed, setting it to '+f.C.MIN_INTER_TONE_GAP+" milliseconds"),f.C.MIN_INTER_TONE_GAP):Math.abs(c):f.C.DEFAULT_INTER_TONE_GAP,this._tones?this._tones+=e:(this._tones=e,function e(){var t=this;var n=void 0;if(this._status===F.STATUS_TERMINATED||!this._tones||o>=this._tones.length)return void(this._tones=null);var r=this._tones[o];o+=1;if(","===r)n=2e3;else{var i=new f(this);a.eventHandlers={onFailed:function(){t._tones=null}},i.send(r,a),n=s+c}setTimeout(e.bind(this),n)}.call(this))}},{key:"sendInfo",value:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(N("sendInfo()"),this._status!==F.STATUS_CONFIRMED&&this._status!==F.STATUS_WAITING_FOR_ACK)throw new O.InvalidStateError(this._status);new d(this).send(e,t,n)}},{key:"mute",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{audio:!0,video:!1};N("mute()");var t=!1,n=!1;!1===this._audioMuted&&e.audio&&(t=!0,this._audioMuted=!0,this._toogleMuteAudio(!0)),!1===this._videoMuted&&e.video&&(n=!0,this._videoMuted=!0,this._toogleMuteVideo(!0)),!0!==t&&!0!==n||this._onmute({audio:t,video:n})}},{key:"unmute",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{audio:!0,video:!0};N("unmute()");var t=!1,n=!1;!0===this._audioMuted&&e.audio&&(t=!0,(this._audioMuted=!1)===this._localHold&&this._toogleMuteAudio(!1)),!0===this._videoMuted&&e.video&&(n=!0,(this._videoMuted=!1)===this._localHold&&this._toogleMuteVideo(!1)),!0!==t&&!0!==n||this._onunmute({audio:t,video:n})}},{key:"hold",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(N("hold()"),this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!0===this._localHold)return!1;if(!this._isReadyToReOffer())return!1;this._localHold=!0,this._onhold("local");var r={succeeded:function(){n&&n()},failed:function(){e.terminate({cause:$.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Hold Failed"})}};return t.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:r,extraHeaders:t.extraHeaders}):this._sendReinvite({eventHandlers:r,extraHeaders:t.extraHeaders}),!0}},{key:"unhold",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(N("unhold()"),this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!1===this._localHold)return!1;if(!this._isReadyToReOffer())return!1;this._localHold=!1,this._onunhold("local");var r={succeeded:function(){n&&n()},failed:function(){e.terminate({cause:$.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Unhold Failed"})}};return t.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:r,extraHeaders:t.extraHeaders}):this._sendReinvite({eventHandlers:r,extraHeaders:t.extraHeaders}),!0}},{key:"renegotiate",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];N("renegotiate()");var r=t.rtcOfferConstraints||null;if(this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!this._isReadyToReOffer())return!1;var i={succeeded:function(){n&&n()},failed:function(){e.terminate({cause:$.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Media Renegotiation Failed"})}};return this._setLocalMediaStatus(),t.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:i,rtcOfferConstraints:r,extraHeaders:t.extraHeaders}):this._sendReinvite({eventHandlers:i,rtcOfferConstraints:r,extraHeaders:t.extraHeaders}),!0}},{key:"refer",value:function(e,t){var n=this;N("refer()");var r=e;if(this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!(e=this._ua.normalizeTarget(e)))throw new TypeError("Invalid target: "+r);var i=new m(this);i.sendRefer(e,t);var a=i.id;return(this._referSubscribers[a]=i).on("requestFailed",function(){delete n._referSubscribers[a]}),i.on("accepted",function(){delete n._referSubscribers[a]}),i.on("failed",function(){delete n._referSubscribers[a]}),i}},{key:"sendRequest",value:function(e,t){return N("sendRequest()"),this._dialog.sendRequest(e,t)}},{key:"receiveRequest",value:function(e){var t=this;if(N("receiveRequest()"),e.method===$.CANCEL)this._status!==F.STATUS_WAITING_FOR_ANSWER&&this._status!==F.STATUS_ANSWERED||(this._status=F.STATUS_CANCELED,this._request.reply(487),this._failed("remote",e,$.causes.CANCELED));else switch(e.method){case $.ACK:if(this._status!==F.STATUS_WAITING_FOR_ACK)return;if(this._status=F.STATUS_CONFIRMED,clearTimeout(this._timers.ackTimer),clearTimeout(this._timers.invite2xxTimer),this._late_sdp){if(!e.body){this.terminate({cause:$.causes.MISSING_SDP,status_code:400});break}var n={originator:"remote",type:"answer",sdp:e.body};N('emit "sdp"'),this.emit("sdp",n);var r=new RTCSessionDescription({type:"answer",sdp:n.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._connection.setRemoteDescription(r)}).then(function(){t._is_confirmed||t._confirmed("remote",e)}).catch(function(e){t.terminate({cause:$.causes.BAD_MEDIA_DESCRIPTION,status_code:488}),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),t.emit("peerconnection:setremotedescriptionfailed",e)})}else this._is_confirmed||this._confirmed("remote",e);break;case $.BYE:this._status===F.STATUS_CONFIRMED?(e.reply(200),this._ended("remote",e,$.causes.BYE)):this._status===F.STATUS_INVITE_RECEIVED?(e.reply(200),this._request.reply(487,"BYE Received"),this._ended("remote",e,$.causes.BYE)):e.reply(403,"Wrong Status");break;case $.INVITE:this._status===F.STATUS_CONFIRMED?e.hasHeader("replaces")?this._receiveReplaces(e):this._receiveReinvite(e):e.reply(403,"Wrong Status");break;case $.INFO:if(this._status===F.STATUS_1XX_RECEIVED||this._status===F.STATUS_WAITING_FOR_ANSWER||this._status===F.STATUS_ANSWERED||this._status===F.STATUS_WAITING_FOR_ACK||this._status===F.STATUS_CONFIRMED){var i=e.getHeader("content-type");i&&i.match(/^application\/dtmf-relay/i)?new f(this).init_incoming(e):void 0!==i?new d(this).init_incoming(e):e.reply(415)}else e.reply(403,"Wrong Status");break;case $.UPDATE:this._status===F.STATUS_CONFIRMED?this._receiveUpdate(e):e.reply(403,"Wrong Status");break;case $.REFER:this._status===F.STATUS_CONFIRMED?this._receiveRefer(e):e.reply(403,"Wrong Status");break;case $.NOTIFY:this._status===F.STATUS_CONFIRMED?this._receiveNotify(e):e.reply(403,"Wrong Status");break;default:e.reply(501)}}},{key:"onTransportError",value:function(){L("onTransportError()"),this._status!==F.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:$.causes.CONNECTION_ERROR,cause:$.causes.CONNECTION_ERROR})}},{key:"onRequestTimeout",value:function(){L("onRequestTimeout()"),this._status!==F.STATUS_TERMINATED&&this.terminate({status_code:408,reason_phrase:$.causes.REQUEST_TIMEOUT,cause:$.causes.REQUEST_TIMEOUT})}},{key:"onDialogError",value:function(){L("onDialogError()"),this._status!==F.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:$.causes.DIALOG_ERROR,cause:$.causes.DIALOG_ERROR})}},{key:"newDTMF",value:function(e){N("newDTMF()"),this.emit("newDTMF",e)}},{key:"newInfo",value:function(e){N("newInfo()"),this.emit("newInfo",e)}},{key:"_isReadyToReOffer",value:function(){return this._rtcReady?this._dialog?!0!==this._dialog.uac_pending_reply&&!0!==this._dialog.uas_pending_reply||(N("_isReadyToReOffer() | there is another INVITE/UPDATE transaction in progress"),!1):(N("_isReadyToReOffer() | session not established yet"),!1):(N("_isReadyToReOffer() | internal WebRTC status not ready"),!1)}},{key:"_close",value:function(){if(N("close()"),this._status!==F.STATUS_TERMINATED){if(this._status=F.STATUS_TERMINATED,this._connection)try{this._connection.close()}catch(e){L("close() | error closing the RTCPeerConnection: %o",e)}for(var e in this._localMediaStream&&this._localMediaStreamLocallyGenerated&&(N("close() | closing local MediaStream"),R.closeMediaStream(this._localMediaStream)),this._timers)Object.prototype.hasOwnProperty.call(this._timers,e)&&clearTimeout(this._timers[e]);for(var t in clearTimeout(this._sessionTimers.timer),this._dialog&&(this._dialog.terminate(),delete this._dialog),this._earlyDialogs)Object.prototype.hasOwnProperty.call(this._earlyDialogs,t)&&(this._earlyDialogs[t].terminate(),delete this._earlyDialogs[t]);for(var n in this._referSubscribers)Object.prototype.hasOwnProperty.call(this._referSubscribers,n)&&delete this._referSubscribers[n];this._ua.destroyRTCSession(this)}}},{key:"_setInvite2xxTimer",value:function(t,n){var r=s.T1;this._timers.invite2xxTimer=setTimeout(function e(){this._status===F.STATUS_WAITING_FOR_ACK&&(t.reply(200,null,["Contact: "+this._contact],n),r<s.T2&&(r*=2)>s.T2&&(r=s.T2),this._timers.invite2xxTimer=setTimeout(e.bind(this),r))}.bind(this),r)}},{key:"_setACKTimer",value:function(){var e=this;this._timers.ackTimer=setTimeout(function(){e._status===F.STATUS_WAITING_FOR_ACK&&(N("no ACK received, terminating the session"),clearTimeout(e._timers.invite2xxTimer),e.sendRequest($.BYE),e._ended("remote",null,$.causes.NO_ACK))},s.TIMER_H)}},{key:"_createRTCConnection",value:function(e,t){var n=this;this._connection=new RTCPeerConnection(e,t),this._connection.addEventListener("iceconnectionstatechange",function(){"failed"===n._connection.iceConnectionState&&n.terminate({cause:$.causes.RTP_TIMEOUT,status_code:408,reason_phrase:$.causes.RTP_TIMEOUT})}),N('emit "peerconnection"'),this.emit("peerconnection",{peerconnection:this._connection})}},{key:"_createLocalDescription",value:function(a,e){var o=this;if(N("createLocalDescription()"),"offer"!==a&&"answer"!==a)throw new Error('createLocalDescription() | invalid type "'+a+'"');var s=this._connection;return this._rtcReady=!1,Promise.resolve().then(function(){return"offer"===a?s.createOffer(e).catch(function(e){return L('emit "peerconnection:createofferfailed" [error:%o]',e),o.emit("peerconnection:createofferfailed",e),Promise.reject(e)}):s.createAnswer(e).catch(function(e){return L('emit "peerconnection:createanswerfailed" [error:%o]',e),o.emit("peerconnection:createanswerfailed",e),Promise.reject(e)})}).then(function(e){return s.setLocalDescription(e).catch(function(e){return o._rtcReady=!0,L('emit "peerconnection:setlocaldescriptionfailed" [error:%o]',e),o.emit("peerconnection:setlocaldescriptionfailed",e),Promise.reject(e)})}).then(function(){if("complete"!==s.iceGatheringState)return new Promise(function(t){var n=!1,r=void 0,i=function(){s.removeEventListener("icecandidate",r),n=!0,o._rtcReady=!0;var e={originator:"local",type:a,sdp:s.localDescription.sdp};N('emit "sdp"'),o.emit("sdp",e),t(e.sdp)};s.addEventListener("icecandidate",r=function(e){var t=e.candidate;t?o.emit("icecandidate",{candidate:t,ready:i}):n||i()})});o._rtcReady=!0;var e={originator:"local",type:a,sdp:s.localDescription.sdp};return N('emit "sdp"'),o.emit("sdp",e),Promise.resolve(e.sdp)})}},{key:"_createDialog",value:function(e,t,n){var r="UAS"===t?e.to_tag:e.from_tag,i="UAS"===t?e.from_tag:e.to_tag,a=e.call_id+r+i,o=this._earlyDialogs[a];if(n)return!!o||((o=new c(this,e,t,c.C.STATUS_EARLY)).error?(N(o.error),this._failed("remote",e,$.causes.INTERNAL_ERROR),!1):(this._earlyDialogs[a]=o,!0));if(this._from_tag=e.from_tag,this._to_tag=e.to_tag,o)return o.update(e,t),this._dialog=o,delete this._earlyDialogs[a],!0;var s=new c(this,e,t);return s.error?(N(s.error),this._failed("remote",e,$.causes.INTERNAL_ERROR),!1):(this._dialog=s,!0)}},{key:"_receiveReinvite",value:function(i){var t=this;N("receiveReinvite()");var e=i.getHeader("Content-Type"),r={request:i,callback:void 0,reject:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};a=!0;var t=e.status_code||403,n=e.reason_phrase||"",r=R.cloneArray(e.extraHeaders);if(this._status!==F.STATUS_CONFIRMED)return!1;if(t<300||700<=t)throw new TypeError("Invalid status_code: "+t);i.reply(t,n,r)}.bind(this)},a=!1;if(this.emit("reinvite",r),!a){if(this._late_sdp=!1,!i.body)return this._late_sdp=!0,void(this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._createLocalDescription("offer",t._rtcOfferConstraints)}).then(function(e){n.call(t,e)}).catch(function(){i.reply(500)}));if("application/sdp"!==e)return N("invalid Content-Type"),void i.reply(415);this._processInDialogSdpOffer(i).then(function(e){t._status!==F.STATUS_TERMINATED&&n.call(t,e)}).catch(function(e){L(e)})}function n(e){var t=this,n=["Contact: "+this._contact];this._handleSessionTimersInIncomingRequest(i,n),this._late_sdp&&(e=this._mangleOffer(e)),i.reply(200,null,n,e,function(){t._status=F.STATUS_WAITING_FOR_ACK,t._setInvite2xxTimer(i,e),t._setACKTimer()}),"function"==typeof r.callback&&r.callback()}}},{key:"_receiveUpdate",value:function(i){var t=this;N("receiveUpdate()");var e=i.getHeader("Content-Type"),n={request:i,callback:void 0,reject:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};a=!0;var t=e.status_code||403,n=e.reason_phrase||"",r=R.cloneArray(e.extraHeaders);if(this._status!==F.STATUS_CONFIRMED)return!1;if(t<300||700<=t)throw new TypeError("Invalid status_code: "+t);i.reply(t,n,r)}.bind(this)},a=!1;if(this.emit("update",n),!a)if(i.body){if("application/sdp"!==e)return N("invalid Content-Type"),void i.reply(415);this._processInDialogSdpOffer(i).then(function(e){t._status!==F.STATUS_TERMINATED&&r.call(t,e)}).catch(function(e){L(e)})}else r.call(this,null);function r(e){var t=["Contact: "+this._contact];this._handleSessionTimersInIncomingRequest(i,t),i.reply(200,null,t,e),"function"==typeof n.callback&&n.callback()}}},{key:"_processInDialogSdpOffer",value:function(t){var n=this;N("_processInDialogSdpOffer()");var e=t.parseSDP(),r=!1,i=!0,a=!1,o=void 0;try{for(var s,c=e.media[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var l=s.value;if(-1!==y.indexOf(l.type)){var u=l.direction||e.direction||"sendrecv";if("sendonly"!==u&&"inactive"!==u){r=!1;break}r=!0}}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}var f={originator:"remote",type:"offer",sdp:t.body};N('emit "sdp"'),this.emit("sdp",f);var d=new RTCSessionDescription({type:"offer",sdp:f.sdp});return this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");return n._connection.setRemoteDescription(d).catch(function(e){throw t.reply(488),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e),new Error("peerconnection.setRemoteDescription() failed")})}).then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");!0===n._remoteHold&&!1===r?(n._remoteHold=!1,n._onunhold("remote")):!1===n._remoteHold&&!0===r&&(n._remoteHold=!0,n._onhold("remote"))}).then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");return n._createLocalDescription("answer",n._rtcAnswerConstraints).catch(function(){throw t.reply(500),new Error("_createLocalDescription() failed")})}),this._connectionPromiseQueue}},{key:"_receiveRefer",value:function(i){var n=this;if(N("receiveRefer()"),void 0===r(i.refer_to))return N("no Refer-To header field present in REFER"),void i.reply(400);if(i.refer_to.uri.scheme!==$.SIP)return N("Refer-To header field points to a non-SIP URI scheme"),void i.reply(416);i.reply(202);var a=new h(this,i.cseq);N('emit "refer"'),this.emit("refer",{request:i,accept:function(e,t){(function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(e="function"==typeof e?e:null,this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;var n=new o(this._ua);if(n.on("progress",function(e){var t=e.response;a.notify(t.status_code,t.reason_phrase)}),n.on("accepted",function(e){var t=e.response;a.notify(t.status_code,t.reason_phrase)}),n.on("failed",function(e){var t=e.message,n=e.cause;t?a.notify(t.status_code,t.reason_phrase):a.notify(487,n)}),i.refer_to.uri.hasHeader("replaces")){var r=decodeURIComponent(i.refer_to.uri.getHeader("replaces"));t.extraHeaders=R.cloneArray(t.extraHeaders),t.extraHeaders.push("Replaces: "+r)}n.connect(i.refer_to.uri.toAor(),t,e)}).call(n,e,t)},reject:function(){(function(){a.notify(603)}).call(n)}})}},{key:"_receiveNotify",value:function(e){switch(N("receiveNotify()"),void 0===r(e.event)&&e.reply(400),e.event.event){case"refer":var t=void 0,n=void 0;if(e.event.params&&e.event.params.id)t=e.event.params.id,n=this._referSubscribers[t];else{if(1!==Object.keys(this._referSubscribers).length)return void e.reply(400,"Missing event id parameter");n=this._referSubscribers[Object.keys(this._referSubscribers)[0]]}if(!n)return void e.reply(481,"Subscription does not exist");n.receiveNotify(e),e.reply(200);break;default:e.reply(489)}}},{key:"_receiveReplaces",value:function(r){var t=this;N("receiveReplaces()"),this.emit("replaces",{request:r,accept:function(e){(function(e){var t=this;if(this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;var n=new o(this._ua);n.on("confirmed",function(){t.terminate()}),n.init_incoming(r,e)}).call(t,e)},reject:function(){(function(){N("Replaced INVITE rejected by the user"),r.reply(486)}).call(t)}})}},{key:"_sendInitialRequest",value:function(e,t,n){var r=this,i=new u(this._ua,this._request,{onRequestTimeout:function(){r.onRequestTimeout()},onTransportError:function(){r.onTransportError()},onAuthenticated:function(e){r._request=e},onReceiveResponse:function(e){r._receiveInviteResponse(e)}});Promise.resolve().then(function(){return n||(e.audio||e.video?(r._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(e).catch(function(e){if(r._status===F.STATUS_TERMINATED)throw new Error("terminated");throw r._failed("local",null,$.causes.USER_DENIED_MEDIA_ACCESS),L('emit "getusermediafailed" [error:%o]',e),r.emit("getusermediafailed"),e})):void 0)}).then(function(e){if(r._status===F.STATUS_TERMINATED)throw new Error("terminated");return(r._localMediaStream=e)&&r._connection.addStream(e),r._connecting(r._request),r._createLocalDescription("offer",t).catch(function(e){throw r._failed("local",null,$.causes.WEBRTC_ERROR),e})}).then(function(e){if(r._is_canceled||r._status===F.STATUS_TERMINATED)throw new Error("terminated");r._request.body=e,r._status=F.STATUS_INVITE_SENT,N('emit "sending" [request:%o]',r._request),r.emit("sending",{request:r._request}),i.send()}).catch(function(e){r._status!==F.STATUS_TERMINATED&&L(e)})}},{key:"_receiveInviteResponse",value:function(t){var n=this;if(N("receiveInviteResponse()"),this._dialog&&200<=t.status_code&&t.status_code<=299){if(this._dialog.id.call_id===t.call_id&&this._dialog.id.local_tag===t.from_tag&&this._dialog.id.remote_tag===t.to_tag)return void this.sendRequest($.ACK);var e=new c(this,t,"UAC");return void 0!==e.error?void N(e.error):(this.sendRequest($.ACK),void this.sendRequest($.BYE))}if(this._is_canceled)100<=t.status_code&&t.status_code<200?this._request.cancel(this._cancel_reason):200<=t.status_code&&t.status_code<299&&this._acceptAndTerminate(t);else if(this._status===F.STATUS_INVITE_SENT||this._status===F.STATUS_1XX_RECEIVED)switch(!0){case/^100$/.test(t.status_code):this._status=F.STATUS_1XX_RECEIVED;break;case/^1[0-9]{2}$/.test(t.status_code):if(!t.to_tag){N("1xx response received without to tag");break}if(t.hasHeader("contact")&&!this._createDialog(t,"UAC",!0))break;if(this._status=F.STATUS_1XX_RECEIVED,this._progress("remote",t),!t.body)break;var r={originator:"remote",type:"answer",sdp:t.body};N('emit "sdp"'),this.emit("sdp",r);var i=new RTCSessionDescription({type:"answer",sdp:r.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return n._connection.setRemoteDescription(i)}).catch(function(e){L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e)});break;case/^2[0-9]{2}$/.test(t.status_code):if(this._status=F.STATUS_CONFIRMED,!t.body){this._acceptAndTerminate(t,400,$.causes.MISSING_SDP),this._failed("remote",t,$.causes.BAD_MEDIA_DESCRIPTION);break}if(!this._createDialog(t,"UAC"))break;var a={originator:"remote",type:"answer",sdp:t.body};N('emit "sdp"'),this.emit("sdp",a);var o=new RTCSessionDescription({type:"answer",sdp:a.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if("stable"===n._connection.signalingState)return n._connection.createOffer().then(function(e){return n._connection.setLocalDescription(e)}).catch(function(e){n._acceptAndTerminate(t,500,e.toString()),n._failed("local",t,$.causes.WEBRTC_ERROR)})}).then(function(){n._connection.setRemoteDescription(o).then(function(){n._handleSessionTimersInIncomingResponse(t),n._accepted("remote",t),n.sendRequest($.ACK),n._confirmed("local",null)}).catch(function(e){n._acceptAndTerminate(t,488,"Not Acceptable Here"),n._failed("remote",t,$.causes.BAD_MEDIA_DESCRIPTION),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e)})});break;default:var s=R.sipErrorCause(t.status_code);this._failed("remote",t,s)}}},{key:"_sendReinvite",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("sendReinvite()");var n=R.cloneArray(e.extraHeaders),i=e.eventHandlers||{},r=e.rtcOfferConstraints||this._rtcOfferConstraints||null,a=!1;function o(e){i.failed&&i.failed(e)}n.push("Contact: "+this._contact),n.push("Content-Type: application/sdp"),this._sessionTimers.running&&n.push("Session-Expires: "+this._sessionTimers.currentExpires+";refresher="+(this._sessionTimers.refresher?"uac":"uas")),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._createLocalDescription("offer",r)}).then(function(e){e=t._mangleOffer(e),t.sendRequest($.INVITE,{extraHeaders:n,body:e,eventHandlers:{onSuccessResponse:function(e){(function(e){var t=this;if(this._status===F.STATUS_TERMINATED)return;if(this.sendRequest($.ACK),a)return;{if(this._handleSessionTimersInIncomingResponse(e),!e.body)return void o.call(this);if("application/sdp"!==e.getHeader("Content-Type"))return void o.call(this)}var n={originator:"remote",type:"answer",sdp:e.body};N('emit "sdp"'),this.emit("sdp",n);var r=new RTCSessionDescription({type:"answer",sdp:n.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._connection.setRemoteDescription(r)}).then(function(){i.succeeded&&i.succeeded(e)}).catch(function(e){o.call(t),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),t.emit("peerconnection:setremotedescriptionfailed",e)})}).call(t,e),a=!0},onErrorResponse:function(e){o.call(t,e)},onTransportError:function(){t.onTransportError()},onRequestTimeout:function(){t.onRequestTimeout()},onDialogError:function(){t.onDialogError()}}})}).catch(function(){o()})}},{key:"_sendUpdate",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("sendUpdate()");var n=R.cloneArray(e.extraHeaders),i=e.eventHandlers||{},r=e.rtcOfferConstraints||this._rtcOfferConstraints||null,a=e.sdpOffer||!1,o=!1;function s(e){var t=this;if(this._status!==F.STATUS_TERMINATED&&!o)if(this._handleSessionTimersInIncomingResponse(e),a){if(!e.body)return void c.call(this);if("application/sdp"!==e.getHeader("Content-Type"))return void c.call(this);var n={originator:"remote",type:"answer",sdp:e.body};N('emit "sdp"'),this.emit("sdp",n);var r=new RTCSessionDescription({type:"answer",sdp:n.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._connection.setRemoteDescription(r)}).then(function(){i.succeeded&&i.succeeded(e)}).catch(function(e){c.call(t),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),t.emit("peerconnection:setremotedescriptionfailed",e)})}else i.succeeded&&i.succeeded(e)}function c(e){i.failed&&i.failed(e)}n.push("Contact: "+this._contact),this._sessionTimers.running&&n.push("Session-Expires: "+this._sessionTimers.currentExpires+";refresher="+(this._sessionTimers.refresher?"uac":"uas")),a?(n.push("Content-Type: application/sdp"),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._createLocalDescription("offer",r)}).then(function(e){e=t._mangleOffer(e),t.sendRequest($.UPDATE,{extraHeaders:n,body:e,eventHandlers:{onSuccessResponse:function(e){s.call(t,e),o=!0},onErrorResponse:function(e){c.call(t,e)},onTransportError:function(){t.onTransportError()},onRequestTimeout:function(){t.onRequestTimeout()},onDialogError:function(){t.onDialogError()}}})}).catch(function(){c.call(t)})):this.sendRequest($.UPDATE,{extraHeaders:n,eventHandlers:{onSuccessResponse:function(e){s.call(t,e)},onErrorResponse:function(e){c.call(t,e)},onTransportError:function(){t.onTransportError()},onRequestTimeout:function(){t.onRequestTimeout()},onDialogError:function(){t.onDialogError()}}})}},{key:"_acceptAndTerminate",value:function(e,t,n){N("acceptAndTerminate()");var r=[];t&&(n=n||$.REASON_PHRASE[t]||"",r.push("Reason: SIP ;cause="+t+'; text="'+n+'"')),(this._dialog||this._createDialog(e,"UAC"))&&(this.sendRequest($.ACK),this.sendRequest($.BYE,{extraHeaders:r})),this._status=F.STATUS_TERMINATED}},{key:"_mangleOffer",value:function(e){if(!this._localHold&&!this._remoteHold)return e;if(e=v.parse(e),this._localHold&&!this._remoteHold){N("mangleOffer() | me on hold, mangling offer");var t=!0,n=!1,r=void 0;try{for(var i,a=e.media[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;-1!==y.indexOf(o.type)&&(o.direction?"sendrecv"===o.direction?o.direction="sendonly":"recvonly"===o.direction&&(o.direction="inactive"):o.direction="sendonly")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}else if(this._localHold&&this._remoteHold){N("mangleOffer() | both on hold, mangling offer");var s=!0,c=!1,l=void 0;try{for(var u,f=e.media[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){var d=u.value;-1!==y.indexOf(d.type)&&(d.direction="inactive")}}catch(e){c=!0,l=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw l}}}else if(this._remoteHold){N("mangleOffer() | remote on hold, mangling offer");var h=!0,p=!1,m=void 0;try{for(var g,_=e.media[Symbol.iterator]();!(h=(g=_.next()).done);h=!0){var b=g.value;-1!==y.indexOf(b.type)&&(b.direction?"sendrecv"===b.direction?b.direction="recvonly":"recvonly"===b.direction&&(b.direction="inactive"):b.direction="recvonly")}}catch(e){p=!0,m=e}finally{try{!h&&_.return&&_.return()}finally{if(p)throw m}}}return v.write(e)}},{key:"_setLocalMediaStatus",value:function(){var e=!0,t=!0;(this._localHold||this._remoteHold)&&(t=e=!1),this._audioMuted&&(e=!1),this._videoMuted&&(t=!1),this._toogleMuteAudio(!e),this._toogleMuteVideo(!t)}},{key:"_handleSessionTimersInIncomingRequest",value:function(e,t){if(this._sessionTimers.enabled){var n=void 0;n=e.session_expires&&e.session_expires>=$.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=e.session_expires,e.session_expires_refresher||"uas"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,"uas"),t.push("Session-Expires: "+this._sessionTimers.currentExpires+";refresher="+n),this._sessionTimers.refresher="uas"===n,this._runSessionTimer()}}},{key:"_handleSessionTimersInIncomingResponse",value:function(e){if(this._sessionTimers.enabled){var t=void 0;t=e.session_expires&&e.session_expires>=$.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=e.session_expires,e.session_expires_refresher||"uac"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,"uac"),this._sessionTimers.refresher="uac"===t,this._runSessionTimer()}}},{key:"_runSessionTimer",value:function(){var e=this,t=this._sessionTimers.currentExpires;this._sessionTimers.running=!0,clearTimeout(this._sessionTimers.timer),this._sessionTimers.refresher?this._sessionTimers.timer=setTimeout(function(){e._status!==F.STATUS_TERMINATED&&(N("runSessionTimer() | sending session refresh request"),e._sessionTimers.refreshMethod===$.UPDATE?e._sendUpdate():e._sendReinvite())},500*t):this._sessionTimers.timer=setTimeout(function(){e._status!==F.STATUS_TERMINATED&&(L("runSessionTimer() | timer expired, terminating the session"),e.terminate({cause:$.causes.REQUEST_TIMEOUT,status_code:408,reason_phrase:"Session Timer Expired"}))},1100*t)}},{key:"_toogleMuteAudio",value:function(e){var t=this._connection.getLocalStreams(),n=!0,r=!1,i=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value.getAudioTracks(),c=!0,l=!1,u=void 0;try{for(var f,d=s[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){f.value.enabled=!e}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}},{key:"_toogleMuteVideo",value:function(e){var t=this._connection.getLocalStreams(),n=!0,r=!1,i=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value.getVideoTracks(),c=!0,l=!1,u=void 0;try{for(var f,d=s[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){f.value.enabled=!e}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}},{key:"_newRTCSession",value:function(e,t){N("newRTCSession()"),this._ua.newRTCSession(this,{originator:e,session:this,request:t})}},{key:"_connecting",value:function(e){N("session connecting"),N('emit "connecting"'),this.emit("connecting",{request:e})}},{key:"_progress",value:function(e,t){N("session progress"),N('emit "progress"'),this.emit("progress",{originator:e,response:t||null})}},{key:"_accepted",value:function(e,t){N("session accepted"),this._start_time=new Date,N('emit "accepted"'),this.emit("accepted",{originator:e,response:t||null})}},{key:"_confirmed",value:function(e,t){N("session confirmed"),this._is_confirmed=!0,N('emit "confirmed"'),this.emit("confirmed",{originator:e,ack:t||null})}},{key:"_ended",value:function(e,t,n){N("session ended"),this._end_time=new Date,this._close(),N('emit "ended"'),this.emit("ended",{originator:e,message:t||null,cause:n})}},{key:"_failed",value:function(e,t,n){N("session failed"),this._close(),N('emit "failed"'),this.emit("failed",{originator:e,message:t||null,cause:n})}},{key:"_onhold",value:function(e){N("session onhold"),this._setLocalMediaStatus(),N('emit "hold"'),this.emit("hold",{originator:e})}},{key:"_onunhold",value:function(e){N("session onunhold"),this._setLocalMediaStatus(),N('emit "unhold"'),this.emit("unhold",{originator:e})}},{key:"_onmute",value:function(e){var t=e.audio,n=e.video;N("session onmute"),this._setLocalMediaStatus(),N('emit "muted"'),this.emit("muted",{audio:t,video:n})}},{key:"_onunmute",value:function(e){var t=e.audio,n=e.video;N("session onunmute"),this._setLocalMediaStatus(),N('emit "unmuted"'),this.emit("unmuted",{audio:t,video:n})}},{key:"C",get:function(){return F}},{key:"causes",get:function(){return $.causes}},{key:"id",get:function(){return this._id}},{key:"connection",get:function(){return this._connection}},{key:"contact",get:function(){return this._contact}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}},{key:"start_time",get:function(){return this._start_time}},{key:"end_time",get:function(){return this._end_time}},{key:"data",get:function(){return this._data},set:function(e){this._data=e}},{key:"status",get:function(){return this._status}}]),o}()},{"./Constants":2,"./Dialog":3,"./Exceptions":6,"./RTCSession/DTMF":13,"./RTCSession/Info":14,"./RTCSession/ReferNotifier":15,"./RTCSession/ReferSubscriber":16,"./RequestSender":18,"./SIPMessage":19,"./Timers":21,"./Transactions":22,"./Utils":26,debug:29,events:31,"sdp-transform":36}],13:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,a=e("../Constants"),o=e("../Exceptions"),s=e("../Utils"),c=e("debug")("JsSIP:RTCSession:DTMF");e("debug")("JsSIP:ERROR:RTCSession:DTMF").log=console.warn.bind(console);var l={MIN_DURATION:70,MAX_DURATION:6e3,DEFAULT_DURATION:100,MIN_INTER_TONE_GAP:50,DEFAULT_INTER_TONE_GAP:500};t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._session=e,t._direction=null,t._tone=null,t._duration=null,t._request=null,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"send",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw new TypeError("Not enough arguments");if(this._direction="outgoing",this._session.status!==this._session.C.STATUS_CONFIRMED&&this._session.status!==this._session.C.STATUS_WAITING_FOR_ACK)throw new o.InvalidStateError(this._session.status);var r=s.cloneArray(n.extraHeaders);if(this.eventHandlers=n.eventHandlers||{},"string"==typeof e)e=e.toUpperCase();else{if("number"!=typeof e)throw new TypeError("Invalid tone: "+e);e=e.toString()}if(!e.match(/^[0-9A-DR#*]$/))throw new TypeError("Invalid tone: "+e);this._tone=e,this._duration=n.duration,r.push("Content-Type: application/dtmf-relay");var i="Signal="+this._tone+"\r\n";i+="Duration="+this._duration,this._session.newDTMF({originator:"local",dtmf:this,request:this._request}),this._session.sendRequest(a.INFO,{extraHeaders:r,eventHandlers:{onSuccessResponse:function(e){t.emit("succeeded",{originator:"remote",response:e})},onErrorResponse:function(e){t.eventHandlers.onFailed&&t.eventHandlers.onFailed(),t.emit("failed",{originator:"remote",response:e})},onRequestTimeout:function(){t._session.onRequestTimeout()},onTransportError:function(){t._session.onTransportError()},onDialogError:function(){t._session.onDialogError()}},body:i})}},{key:"init_incoming",value:function(e){var t=/^(Signal\s*?=\s*?)([0-9A-D#*]{1})(\s)?.*/,n=/^(Duration\s?=\s?)([0-9]{1,4})(\s)?.*/;if(this._direction="incoming",(this._request=e).reply(200),e.body){var r=e.body.split("\n");1<=r.length&&t.test(r[0])&&(this._tone=r[0].replace(t,"$2")),2<=r.length&&n.test(r[1])&&(this._duration=parseInt(r[1].replace(n,"$2"),10))}this._duration||(this._duration=l.DEFAULT_DURATION),this._tone?this._session.newDTMF({originator:"remote",dtmf:this,request:e}):c("invalid INFO DTMF received, discarded")}},{key:"tone",get:function(){return this._tone}},{key:"duration",get:function(){return this._duration}}]),n}(),t.exports.C=l},{"../Constants":2,"../Exceptions":6,"../Utils":26,debug:29,events:31}],14:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter;e("debug")("JsSIP:ERROR:RTCSession:Info").log=console.warn.bind(console);var a=e("../Constants"),o=e("../Exceptions"),s=e("../Utils");t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._session=e,t._direction=null,t._contentType=null,t._body=null,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"send",value:function(e,t){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(this._direction="outgoing",void 0===e)throw new TypeError("Not enough arguments");if(this._session.status!==this._session.C.STATUS_CONFIRMED&&this._session.status!==this._session.C.STATUS_WAITING_FOR_ACK)throw new o.InvalidStateError(this._session.status);this._contentType=e,this._body=t;var i=s.cloneArray(r.extraHeaders);i.push("Content-Type: "+e),this._session.newInfo({originator:"local",info:this,request:this.request}),this._session.sendRequest(a.INFO,{extraHeaders:i,eventHandlers:{onSuccessResponse:function(e){n.emit("succeeded",{originator:"remote",response:e})},onErrorResponse:function(e){n.emit("failed",{originator:"remote",response:e})},onTransportError:function(){n._session.onTransportError()},onRequestTimeout:function(){n._session.onRequestTimeout()},onDialogError:function(){n._session.onDialogError()}},body:t})}},{key:"init_incoming",value:function(e){this._direction="incoming",(this.request=e).reply(200),this._contentType=e.getHeader("content-type"),this._body=e.body,this._session.newInfo({originator:"remote",info:this,request:e})}},{key:"contentType",get:function(){return this._contentType}},{key:"body",get:function(){return this._body}}]),n}()},{"../Constants":2,"../Exceptions":6,"../Utils":26,debug:29,events:31}],15:[function(e,t,n){"use strict";var i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("../Constants"),o=e("debug")("JsSIP:RTCSession:ReferNotifier"),s="refer",c="message/sipfrag;version=2.0",l=300;t.exports=function(){function r(e,t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this._session=e,this._id=t,this._expires=n||l,this._active=!0,this.notify(100)}return i(r,[{key:"notify",value:function(e,t){if(o("notify()"),!1!==this._active){t=t||a.REASON_PHRASE[e]||"";var n=void 0;n=200<=e?"terminated;reason=noresource":"active;expires="+this._expires,this._session.sendRequest(a.NOTIFY,{extraHeaders:["Event: "+s+";id="+this._id,"Subscription-State: "+n,"Content-Type: "+c],body:"SIP/2.0 "+e+" "+t,eventHandlers:{onErrorResponse:function(){this._active=!1}}})}}}]),r}()},{"../Constants":2,debug:29}],16:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,l=e("../Constants"),a=e("../Grammar"),u=e("../Utils"),f=e("debug")("JsSIP:RTCSession:ReferSubscriber");t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._id=null,t._session=e,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"sendRefer",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};f("sendRefer()");var r=u.cloneArray(n.extraHeaders),i=n.eventHandlers||{};for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&this.on(a,i[a]);var o=null;n.replaces&&(o=n.replaces._request.call_id,o+=";to-tag="+n.replaces._to_tag,o+=";from-tag="+n.replaces._from_tag,o=encodeURIComponent(o));var s="Refer-To: <"+e+(o?"?Replaces="+o:"")+">";r.push(s),r.push("Contact: "+this._session.contact);var c=this._session.sendRequest(l.REFER,{extraHeaders:r,eventHandlers:{onSuccessResponse:function(e){t._requestSucceeded(e)},onErrorResponse:function(e){t._requestFailed(e,l.causes.REJECTED)},onTransportError:function(){t._requestFailed(null,l.causes.CONNECTION_ERROR)},onRequestTimeout:function(){t._requestFailed(null,l.causes.REQUEST_TIMEOUT)},onDialogError:function(){t._requestFailed(null,l.causes.DIALOG_ERROR)}}});this._id=c.cseq}},{key:"receiveNotify",value:function(e){if(f("receiveNotify()"),e.body){var t=a.parse(e.body.trim(),"Status_Line");if(-1!==t)switch(!0){case/^100$/.test(t.status_code):this.emit("trying",{request:e,status_line:t});break;case/^1[0-9]{2}$/.test(t.status_code):this.emit("progress",{request:e,status_line:t});break;case/^2[0-9]{2}$/.test(t.status_code):this.emit("accepted",{request:e,status_line:t});break;default:this.emit("failed",{request:e,status_line:t})}else f('receiveNotify() | error parsing NOTIFY body: "'+e.body+'"')}}},{key:"_requestSucceeded",value:function(e){f("REFER succeeded"),f('emit "requestSucceeded"'),this.emit("requestSucceeded",{response:e})}},{key:"_requestFailed",value:function(e,t){f("REFER failed"),f('emit "requestFailed"'),this.emit("requestFailed",{response:e||null,cause:t})}},{key:"id",get:function(){return this._id}}]),n}()},{"../Constants":2,"../Grammar":7,"../Utils":26,debug:29,events:31}],17:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=e("./Utils"),s=e("./Constants"),i=e("./SIPMessage"),c=e("./RequestSender"),l=e("debug")("JsSIP:Registrator");t.exports=function(){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);this._ua=e,this._transport=t,this._registrar=e.configuration.registrar_server,this._expires=e.configuration.register_expires,this._call_id=o.createRandomToken(22),this._cseq=0,this._to_uri=e.configuration.uri,this._registrationTimer=null,this._registering=!1,this._registered=!1,this._contact=this._ua.contact.toString(),this._contact+=";+sip.ice",this._extraHeaders=[],this._extraContactParams="",this._contact+=";reg-id=1",this._contact+=';+sip.instance="<urn:uuid:'+this._ua.configuration.instance_id+'>"'}return r(n,[{key:"setExtraHeaders",value:function(e){Array.isArray(e)||(e=[]),this._extraHeaders=e.slice()}},{key:"setExtraContactParams",value:function(e){for(var t in e instanceof Object||(e={}),this._extraContactParams="",e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t];this._extraContactParams+=";"+t,n&&(this._extraContactParams+="="+n)}}},{key:"register",value:function(){var a=this;if(this._registering)l("Register request in progress...");else{var e=this._extraHeaders.slice();e.push("Contact: "+this._contact+";expires="+this._expires+this._extraContactParams),e.push("Expires: "+this._expires);var t=new i.OutgoingRequest(s.REGISTER,this._registrar,this._ua,{to_uri:this._to_uri,call_id:this._call_id,cseq:this._cseq+=1},e),n=new c(this._ua,t,{onRequestTimeout:function(){a._registrationFailure(null,s.causes.REQUEST_TIMEOUT)},onTransportError:function(){a._registrationFailure(null,s.causes.CONNECTION_ERROR)},onAuthenticated:function(){a._cseq+=1},onReceiveResponse:function(e){var t=void 0,n=void 0,r=e.getHeaders("contact").length;if(e.cseq===a._cseq)switch(null!==a._registrationTimer&&(clearTimeout(a._registrationTimer),a._registrationTimer=null),!0){case/^1[0-9]{2}$/.test(e.status_code):break;case/^2[0-9]{2}$/.test(e.status_code):if(a._registering=!1,!r){l("no Contact header in response to REGISTER, response ignored");break}for(;r--;){if((t=e.parseHeader("contact",r)).uri.user===a._ua.contact.uri.user){n=t.getParam("expires");break}t=null}if(!t){l("no Contact header pointing to us, response ignored");break}!n&&e.hasHeader("expires")&&(n=e.getHeader("expires")),n||(n=a._expires),(n=Number(n))<10&&(n=10),a._registrationTimer=setTimeout(function(){a._registrationTimer=null,0===a._ua.listeners("registrationExpiring").length?a.register():a._ua.emit("registrationExpiring")},1e3*n-5e3),t.hasParam("temp-gruu")&&(a._ua.contact.temp_gruu=t.getParam("temp-gruu").replace(/"/g,"")),t.hasParam("pub-gruu")&&(a._ua.contact.pub_gruu=t.getParam("pub-gruu").replace(/"/g,"")),a._registered||(a._registered=!0,a._ua.registered({response:e}));break;case/^423$/.test(e.status_code):e.hasHeader("min-expires")?(a._expires=Number(e.getHeader("min-expires")),a._expires<10&&(a._expires=10),a.register()):(l("423 response received for REGISTER without Min-Expires"),a._registrationFailure(e,s.causes.SIP_FAILURE_CODE));break;default:var i=o.sipErrorCause(e.status_code);a._registrationFailure(e,i)}}});this._registering=!0,n.send()}}},{key:"unregister",value:function(){var n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(this._registered){this._registered=!1,null!==this._registrationTimer&&(clearTimeout(this._registrationTimer),this._registrationTimer=null);var t=this._extraHeaders.slice();e.all?t.push("Contact: *"+this._extraContactParams):t.push("Contact: "+this._contact+";expires=0"+this._extraContactParams),t.push("Expires: 0");var r=new i.OutgoingRequest(s.REGISTER,this._registrar,this._ua,{to_uri:this._to_uri,call_id:this._call_id,cseq:this._cseq+=1},t);new c(this._ua,r,{onRequestTimeout:function(){n._unregistered(null,s.causes.REQUEST_TIMEOUT)},onTransportError:function(){n._unregistered(null,s.causes.CONNECTION_ERROR)},onAuthenticated:function(){n._cseq+=1},onReceiveResponse:function(e){switch(!0){case/^1[0-9]{2}$/.test(e.status_code):break;case/^2[0-9]{2}$/.test(e.status_code):n._unregistered(e);break;default:var t=o.sipErrorCause(e.status_code);n._unregistered(e,t)}}}).send()}else l("already unregistered")}},{key:"close",value:function(){this._registered&&this.unregister()}},{key:"onTransportClosed",value:function(){this._registering=!1,null!==this._registrationTimer&&(clearTimeout(this._registrationTimer),this._registrationTimer=null),this._registered&&(this._registered=!1,this._ua.unregistered({}))}},{key:"_registrationFailure",value:function(e,t){this._registering=!1,this._ua.registrationFailed({response:e||null,cause:t}),this._registered&&(this._registered=!1,this._ua.unregistered({response:e||null,cause:t}))}},{key:"_unregistered",value:function(e,t){this._registering=!1,this._registered=!1,this._ua.unregistered({response:e||null,cause:t||null})}},{key:"registered",get:function(){return this._registered}}]),n}()},{"./Constants":2,"./RequestSender":18,"./SIPMessage":19,"./Utils":26,debug:29}],18:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("./Constants"),o=e("./DigestAuthentication"),s=e("./Transactions"),c=e("debug")("JsSIP:RequestSender"),l={onRequestTimeout:function(){},onTransportError:function(){},onReceiveResponse:function(){},onAuthenticated:function(){}};t.exports=function(){function i(e,t,n){for(var r in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this._ua=e,this._eventHandlers=n,this._method=t.method,this._request=t,this._auth=null,this._challenged=!1,this._staled=!1,l)Object.prototype.hasOwnProperty.call(l,r)&&(this._eventHandlers[r]||(this._eventHandlers[r]=l[r]));e.status!==e.C.STATUS_USER_CLOSED||this._method===a.BYE&&this._method===a.ACK||this._eventHandlers.onTransportError()}return r(i,[{key:"send",value:function(){var t=this,e={onRequestTimeout:function(){t._eventHandlers.onRequestTimeout()},onTransportError:function(){t._eventHandlers.onTransportError()},onReceiveResponse:function(e){t._receiveResponse(e)}};switch(this._method){case"INVITE":this.clientTransaction=new s.InviteClientTransaction(this._ua,this._ua.transport,this._request,e);break;case"ACK":this.clientTransaction=new s.AckClientTransaction(this._ua,this._ua.transport,this._request,e);break;default:this.clientTransaction=new s.NonInviteClientTransaction(this._ua,this._ua.transport,this._request,e)}this.clientTransaction.send()}},{key:"_receiveResponse",value:function(e){var t=void 0,n=void 0,r=e.status_code;if(401!==r&&407!==r||null===this._ua.configuration.password&&null===this._ua.configuration.ha1)this._eventHandlers.onReceiveResponse(e);else{if(n=401===e.status_code?(t=e.parseHeader("www-authenticate"),"authorization"):(t=e.parseHeader("proxy-authenticate"),"proxy-authorization"),!t)return c(e.status_code+" with wrong or missing challenge, cannot authenticate"),void this._eventHandlers.onReceiveResponse(e);if(!this._challenged||!this._staled&&!0===t.stale){if(this._auth||(this._auth=new o({username:this._ua.configuration.authorization_user,password:this._ua.configuration.password,realm:this._ua.configuration.realm,ha1:this._ua.configuration.ha1})),!this._auth.authenticate(this._request,t))return void this._eventHandlers.onReceiveResponse(e);this._challenged=!0,this._ua.set("realm",this._auth.get("realm")),this._ua.set("ha1",this._auth.get("ha1")),t.stale&&(this._staled=!0),this._request=this._request.clone(),this._request.cseq+=1,this._request.setHeader("cseq",this._request.cseq+" "+this._method),this._request.setHeader(n,this._auth.toString()),this._eventHandlers.onAuthenticated(this._request),this.send()}else this._eventHandlers.onReceiveResponse(e)}}}]),i}()},{"./Constants":2,"./DigestAuthentication":5,"./Transactions":22,debug:29}],19:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=e("sdp-transform"),x=e("./Constants"),k=e("./Utils"),d=e("./NameAddrHeader"),o=e("./Grammar"),c=e("debug")("JsSIP:SIPMessage"),l=function(){function u(e,t,n,r,i,a){if(f(this,u),!e||!t||!n)return null;r=r||{},this.ua=n,this.headers={},this.method=e,this.ruri=t,this.body=a,this.extraHeaders=k.cloneArray(i),r.route_set?this.setHeader("route",r.route_set):n.configuration.use_preloaded_route&&this.setHeader("route","<"+n.transport.sip_uri+";lr>"),this.setHeader("via",""),this.setHeader("max-forwards",x.MAX_FORWARDS);var o=r.to_display_name||0===r.to_display_name?'"'+r.to_display_name+'" ':"";o+="<"+(r.to_uri||t)+">",o+=r.to_tag?";tag="+r.to_tag:"",this.to=d.parse(o),this.setHeader("to",o);var s=void 0;s=r.from_display_name||0===r.from_display_name?'"'+r.from_display_name+'" ':n.configuration.display_name?'"'+n.configuration.display_name+'" ':"",s+="<"+(r.from_uri||n.configuration.uri)+">;tag=",s+=r.from_tag||k.newTag(),this.from=d.parse(s),this.setHeader("from",s);var c=r.call_id||n.configuration.jssip_id+k.createRandomToken(15);this.call_id=c,this.setHeader("call-id",c);var l=r.cseq||Math.floor(1e4*Math.random());this.cseq=l,this.setHeader("cseq",l+" "+e)}return r(u,[{key:"setHeader",value:function(e,t){for(var n=new RegExp("^\\s*"+e+"\\s*:","i"),r=0;r<this.extraHeaders.length;r++)n.test(this.extraHeaders[r])&&this.extraHeaders.splice(r,1);this.headers[k.headerize(e)]=Array.isArray(t)?t:[t]}},{key:"getHeader",value:function(e){var t=this.headers[k.headerize(e)];if(t){if(t[0])return t[0]}else{var n=new RegExp("^\\s*"+e+"\\s*:","i"),r=!0,i=!1,a=void 0;try{for(var o,s=this.extraHeaders[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;if(n.test(c))return c.substring(c.indexOf(":")+1).trim()}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}}}},{key:"getHeaders",value:function(e){var t=this.headers[k.headerize(e)],n=[];if(t){var r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;n.push(c)}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}var l=new RegExp("^\\s*"+e+"\\s*:","i"),u=!0,f=!1,d=void 0;try{for(var h,p=this.extraHeaders[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){var m=h.value;l.test(m)&&n.push(m.substring(m.indexOf(":")+1).trim())}}catch(e){f=!0,d=e}finally{try{!u&&p.return&&p.return()}finally{if(f)throw d}}return n}},{key:"hasHeader",value:function(e){if(this.headers[k.headerize(e)])return!0;var t=new RegExp("^\\s*"+e+"\\s*:","i"),n=!0,r=!1,i=void 0;try{for(var a,o=this.extraHeaders[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(t.test(s))return!0}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}return!1}},{key:"parseSDP",value:function(e){return!e&&this.sdp||(this.sdp=a.parse(this.body||"")),this.sdp}},{key:"toString",value:function(){var e=this.method+" "+this.ruri+" SIP/2.0\r\n";for(var t in this.headers)if(Object.prototype.hasOwnProperty.call(this.headers,t)){var n=!0,r=!1,i=void 0;try{for(var a,o=this.headers[t][Symbol.iterator]();!(n=(a=o.next()).done);n=!0){e+=t+": "+a.value+"\r\n"}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}var s=!0,c=!1,l=void 0;try{for(var u,f=this.extraHeaders[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){e+=u.value.trim()+"\r\n"}}catch(e){c=!0,l=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw l}}var d=[];switch(this.method){case x.REGISTER:d.push("path","gruu");break;case x.INVITE:this.ua.configuration.session_timers&&d.push("timer"),(this.ua.contact.pub_gruu||this.ua.contact.temp_gruu)&&d.push("gruu"),d.push("ice","replaces");break;case x.UPDATE:this.ua.configuration.session_timers&&d.push("timer"),d.push("ice")}d.push("outbound");var h=this.ua.configuration.user_agent||x.USER_AGENT;(e+="Allow: "+x.ALLOWED_METHODS+"\r\n",e+="Supported: "+d+"\r\n",e+="User-Agent: "+h+"\r\n",this.body)?(e+="Content-Length: "+k.str_utf8_length(this.body)+"\r\n\r\n",e+=this.body):e+="Content-Length: 0\r\n\r\n";return e}},{key:"clone",value:function(){var t=new u(this.method,this.ruri,this.ua);return Object.keys(this.headers).forEach(function(e){t.headers[e]=this.headers[e].slice()},this),t.body=this.body,t.extraHeaders=k.cloneArray(this.extraHeaders),t.to=this.to,t.from=this.from,t.call_id=this.call_id,t.cseq=this.cseq,t}}]),u}(),u=function(e){function o(e,t,n,r,i){f(this,o);var a=s(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,x.INVITE,e,t,n,r,i));return a.transaction=null,a}return i(o,l),r(o,[{key:"cancel",value:function(e){this.transaction.cancel(e)}},{key:"clone",value:function(){var t=new o(this.ruri,this.ua);return Object.keys(this.headers).forEach(function(e){t.headers[e]=this.headers[e].slice()},this),t.body=this.body,t.extraHeaders=k.cloneArray(this.extraHeaders),t.to=this.to,t.from=this.from,t.call_id=this.call_id,t.cseq=this.cseq,t.transaction=this.transaction,t}}]),o}(),h=function(){function e(){f(this,e),this.data=null,this.headers=null,this.method=null,this.via=null,this.via_branch=null,this.call_id=null,this.cseq=null,this.from=null,this.from_tag=null,this.to=null,this.to_tag=null,this.body=null,this.sdp=null}return r(e,[{key:"addHeader",value:function(e,t){var n={raw:t};e=k.headerize(e),this.headers[e]?this.headers[e].push(n):this.headers[e]=[n]}},{key:"getHeader",value:function(e){var t=this.headers[k.headerize(e)];if(t)return t[0]?t[0].raw:void 0}},{key:"getHeaders",value:function(e){var t=this.headers[k.headerize(e)],n=[];if(!t)return[];var r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;n.push(c.raw)}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}},{key:"hasHeader",value:function(e){return!!this.headers[k.headerize(e)]}},{key:"parseHeader",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(e=k.headerize(e),this.headers[e]){if(!(t>=this.headers[e].length)){var n=this.headers[e][t],r=n.raw;if(n.parsed)return n.parsed;var i=o.parse(r,e.replace(/-/g,"_"));return-1===i?(this.headers[e].splice(t,1),void c('error parsing "'+e+'" header field with value "'+r+'"')):n.parsed=i}c('not so many "'+e+'" headers present')}else c('header "'+e+'" not present')}},{key:"s",value:function(e,t){return this.parseHeader(e,t)}},{key:"setHeader",value:function(e,t){var n={raw:t};this.headers[k.headerize(e)]=[n]}},{key:"parseSDP",value:function(e){return!e&&this.sdp||(this.sdp=a.parse(this.body||"")),this.sdp}},{key:"toString",value:function(){return this.data}}]),e}(),p=function(e){function n(e){f(this,n);var t=s(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.ua=e,t.headers={},t.ruri=null,t.transport=null,t.server_transaction=null,t}return i(n,h),r(n,[{key:"reply",value:function(e,t,n,r,i,a){var o=[],s=this.getHeader("To");if(t=t||null,!(e=e||null)||e<100||699<e)throw new TypeError("Invalid status_code: "+e);if(t&&"string"!=typeof t&&!(t instanceof String))throw new TypeError("Invalid reason_phrase: "+t);t=t||x.REASON_PHRASE[e]||"",n=k.cloneArray(n);var c="SIP/2.0 "+e+" "+t+"\r\n";if(this.method===x.INVITE&&100<e&&e<=200){var l=this.getHeaders("record-route"),u=!0,f=!1,d=void 0;try{for(var h,p=l[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){c+="Record-Route: "+h.value+"\r\n"}}catch(e){f=!0,d=e}finally{try{!u&&p.return&&p.return()}finally{if(f)throw d}}}var m=this.getHeaders("via"),g=!0,_=!1,b=void 0;try{for(var v,y=m[Symbol.iterator]();!(g=(v=y.next()).done);g=!0){c+="Via: "+v.value+"\r\n"}}catch(e){_=!0,b=e}finally{try{!g&&y.return&&y.return()}finally{if(_)throw b}}!this.to_tag&&100<e?s+=";tag="+k.newTag():this.to_tag&&!this.s("to").hasParam("tag")&&(s+=";tag="+this.to_tag),c+="To: "+s+"\r\n",c+="From: "+this.getHeader("From")+"\r\n",c+="Call-ID: "+this.call_id+"\r\n",c+="CSeq: "+this.cseq+" "+this.method+"\r\n";var w=!0,C=!1,A=void 0;try{for(var S,T=n[Symbol.iterator]();!(w=(S=T.next()).done);w=!0){c+=S.value.trim()+"\r\n"}}catch(e){C=!0,A=e}finally{try{!w&&T.return&&T.return()}finally{if(C)throw A}}switch(this.method){case x.INVITE:this.ua.configuration.session_timers&&o.push("timer"),(this.ua.contact.pub_gruu||this.ua.contact.temp_gruu)&&o.push("gruu"),o.push("ice","replaces");break;case x.UPDATE:this.ua.configuration.session_timers&&o.push("timer"),r&&o.push("ice"),o.push("replaces")}(o.push("outbound"),this.method===x.OPTIONS?(c+="Allow: "+x.ALLOWED_METHODS+"\r\n",c+="Accept: "+x.ACCEPTED_BODY_TYPES+"\r\n"):405===e?c+="Allow: "+x.ALLOWED_METHODS+"\r\n":415===e&&(c+="Accept: "+x.ACCEPTED_BODY_TYPES+"\r\n"),c+="Supported: "+o+"\r\n",r)?(c+="Content-Type: application/sdp\r\n",c+="Content-Length: "+k.str_utf8_length(r)+"\r\n\r\n",c+=r):c+="Content-Length: 0\r\n\r\n";this.server_transaction.receiveResponse(e,c,i,a)}},{key:"reply_sl",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,n=this.getHeaders("via");if(!e||e<100||699<e)throw new TypeError("Invalid status_code: "+e);if(t&&"string"!=typeof t&&!(t instanceof String))throw new TypeError("Invalid reason_phrase: "+t);var r="SIP/2.0 "+e+" "+(t=t||x.REASON_PHRASE[e]||"")+"\r\n",i=!0,a=!1,o=void 0;try{for(var s,c=n[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){r+="Via: "+s.value+"\r\n"}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}var l=this.getHeader("To");!this.to_tag&&100<e?l+=";tag="+k.newTag():this.to_tag&&!this.s("to").hasParam("tag")&&(l+=";tag="+this.to_tag),r+="To: "+l+"\r\n",r+="From: "+this.getHeader("From")+"\r\n",r+="Call-ID: "+this.call_id+"\r\n",r+="CSeq: "+this.cseq+" "+this.method+"\r\n",r+="Content-Length: 0\r\n\r\n",this.transport.send(r)}}]),n}(),m=function(e){function t(){f(this,t);var e=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.headers={},e.status_code=null,e.reason_phrase=null,e}return i(t,h),t}();t.exports={OutgoingRequest:l,InitialOutgoingInviteRequest:u,IncomingRequest:p,IncomingResponse:m}},{"./Constants":2,"./Grammar":7,"./NameAddrHeader":10,"./Utils":26,debug:29,"sdp-transform":36}],20:[function(e,t,n){"use strict";var r=e("./Utils"),i=e("./Grammar"),a=e("debug")("JsSIP:ERROR:Socket");a.log=console.warn.bind(console),n.isSocket=function(t){if(Array.isArray(t))return!1;if(void 0===t)return a("undefined JsSIP.Socket instance"),!1;try{if(!r.isString(t.url))throw a("missing or invalid JsSIP.Socket url property"),new Error;if(!r.isString(t.via_transport))throw a("missing or invalid JsSIP.Socket via_transport property"),new Error;if(-1===i.parse(t.sip_uri,"SIP_URI"))throw a("missing or invalid JsSIP.Socket sip_uri property"),new Error}catch(e){return!1}try{["connect","disconnect","send"].forEach(function(e){if(!r.isFunction(t[e]))throw a("missing or invalid JsSIP.Socket method: "+e),new Error})}catch(e){return!1}return!0}},{"./Grammar":7,"./Utils":26,debug:29}],21:[function(e,t,n){"use strict";t.exports={T1:500,T2:4e3,T4:5e3,TIMER_B:32e3,TIMER_D:0,TIMER_F:32e3,TIMER_H:32e3,TIMER_I:0,TIMER_J:0,TIMER_K:0,TIMER_L:32e3,TIMER_M:32e3,PROVISIONAL_RESPONSE_INTERVAL:6e4}},{}],22:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=e("events").EventEmitter,i=e("./Constants"),u=e("./SIPMessage"),f=e("./Timers"),d=e("debug")("JsSIP:NonInviteClientTransaction"),h=e("debug")("JsSIP:InviteClientTransaction"),p=e("debug")("JsSIP:AckClientTransaction"),o=e("debug")("JsSIP:NonInviteServerTransaction"),m=e("debug")("JsSIP:InviteServerTransaction"),g={STATUS_TRYING:1,STATUS_PROCEEDING:2,STATUS_CALLING:3,STATUS_ACCEPTED:4,STATUS_COMPLETED:5,STATUS_TERMINATED:6,STATUS_CONFIRMED:7,NON_INVITE_CLIENT:"nict",NON_INVITE_SERVER:"nist",INVITE_CLIENT:"ict",INVITE_SERVER:"ist"},_=function(e){function o(e,t,n,r){s(this,o);var i=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));i.type=g.NON_INVITE_CLIENT,i.id="z9hG4bK"+Math.floor(1e7*Math.random()),i.ua=e,i.transport=t,i.request=n,i.eventHandlers=r;var a="SIP/2.0/"+t.via_transport;return a+=" "+e.configuration.via_host+";branch="+i.id,i.request.setHeader("via",a),i.ua.newTransaction(i),i}return a(o,l),r(o,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"send",value:function(){var e=this;this.stateChanged(g.STATUS_TRYING),this.F=setTimeout(function(){e.timer_F()},f.TIMER_F),this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){d("transport error occurred, deleting transaction "+this.id),clearTimeout(this.F),clearTimeout(this.K),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onTransportError()}},{key:"timer_F",value:function(){d("Timer F expired for transaction "+this.id),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onRequestTimeout()}},{key:"timer_K",value:function(){this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"receiveResponse",value:function(e){var t=this,n=e.status_code;if(n<200)switch(this.state){case g.STATUS_TRYING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_PROCEEDING),this.eventHandlers.onReceiveResponse(e)}else switch(this.state){case g.STATUS_TRYING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_COMPLETED),clearTimeout(this.F),408===n?this.eventHandlers.onRequestTimeout():this.eventHandlers.onReceiveResponse(e),this.K=setTimeout(function(){t.timer_K()},f.TIMER_K)}}},{key:"C",get:function(){return g}}]),o}(),b=function(e){function o(e,t,n,r){s(this,o);var i=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));i.type=g.INVITE_CLIENT,i.id="z9hG4bK"+Math.floor(1e7*Math.random()),i.ua=e,i.transport=t,i.request=n,i.eventHandlers=r,n.transaction=i;var a="SIP/2.0/"+t.via_transport;return a+=" "+e.configuration.via_host+";branch="+i.id,i.request.setHeader("via",a),i.ua.newTransaction(i),i}return a(o,l),r(o,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"send",value:function(){var e=this;this.stateChanged(g.STATUS_CALLING),this.B=setTimeout(function(){e.timer_B()},f.TIMER_B),this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){clearTimeout(this.B),clearTimeout(this.D),clearTimeout(this.M),this.state!==g.STATUS_ACCEPTED&&(h("transport error occurred, deleting transaction "+this.id),this.eventHandlers.onTransportError()),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"timer_M",value:function(){h("Timer M expired for transaction "+this.id),this.state===g.STATUS_ACCEPTED&&(clearTimeout(this.B),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"timer_B",value:function(){h("Timer B expired for transaction "+this.id),this.state===g.STATUS_CALLING&&(this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onRequestTimeout())}},{key:"timer_D",value:function(){h("Timer D expired for transaction "+this.id),clearTimeout(this.B),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"sendACK",value:function(e){var t=this,n=new u.OutgoingRequest(i.ACK,this.request.ruri,this.ua,{route_set:this.request.getHeader("route"),call_id:this.request.getHeader("call-id"),cseq:this.request.cseq});n.setHeader("from",this.request.getHeader("from")),n.setHeader("via",this.request.getHeader("via")),n.setHeader("to",e.getHeader("to")),this.D=setTimeout(function(){t.timer_D()},f.TIMER_D),this.transport.send(n)}},{key:"cancel",value:function(e){if(this.state===g.STATUS_PROCEEDING){var t=new u.OutgoingRequest(i.CANCEL,this.request.ruri,this.ua,{route_set:this.request.getHeader("route"),call_id:this.request.getHeader("call-id"),cseq:this.request.cseq});t.setHeader("from",this.request.getHeader("from")),t.setHeader("via",this.request.getHeader("via")),t.setHeader("to",this.request.getHeader("to")),e&&t.setHeader("reason",e),this.transport.send(t)}}},{key:"receiveResponse",value:function(e){var t=this,n=e.status_code;if(100<=n&&n<=199)switch(this.state){case g.STATUS_CALLING:this.stateChanged(g.STATUS_PROCEEDING),this.eventHandlers.onReceiveResponse(e);break;case g.STATUS_PROCEEDING:this.eventHandlers.onReceiveResponse(e)}else if(200<=n&&n<=299)switch(this.state){case g.STATUS_CALLING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_ACCEPTED),this.M=setTimeout(function(){t.timer_M()},f.TIMER_M),this.eventHandlers.onReceiveResponse(e);break;case g.STATUS_ACCEPTED:this.eventHandlers.onReceiveResponse(e)}else if(300<=n&&n<=699)switch(this.state){case g.STATUS_CALLING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_COMPLETED),this.sendACK(e),this.eventHandlers.onReceiveResponse(e);break;case g.STATUS_COMPLETED:this.sendACK(e)}}},{key:"C",get:function(){return g}}]),o}(),v=function(e){function o(e,t,n,r){s(this,o);var i=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));i.id="z9hG4bK"+Math.floor(1e7*Math.random()),i.transport=t,i.request=n,i.eventHandlers=r;var a="SIP/2.0/"+t.via_transport;return a+=" "+e.configuration.via_host+";branch="+i.id,i.request.setHeader("via",a),i}return a(o,l),r(o,[{key:"send",value:function(){this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){p("transport error occurred for transaction "+this.id),this.eventHandlers.onTransportError()}},{key:"C",get:function(){return g}}]),o}(),y=function(e){function i(e,t,n){s(this,i);var r=c(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return r.type=g.NON_INVITE_SERVER,r.id=n.via_branch,r.ua=e,r.transport=t,r.request=n,r.last_response="",(n.server_transaction=r).state=g.STATUS_TRYING,e.newTransaction(r),r}return a(i,l),r(i,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"timer_J",value:function(){o("Timer J expired for transaction "+this.id),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"onTransportError",value:function(){this.transportError||(this.transportError=!0,o("transport error occurred, deleting transaction "+this.id),clearTimeout(this.J),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"receiveResponse",value:function(e,t,n,r){var i=this;if(100===e)switch(this.state){case g.STATUS_TRYING:this.stateChanged(g.STATUS_PROCEEDING),this.transport.send(t)||this.onTransportError();break;case g.STATUS_PROCEEDING:this.last_response=t,this.transport.send(t)?n&&n():(this.onTransportError(),r&&r())}else if(200<=e&&e<=699)switch(this.state){case g.STATUS_TRYING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_COMPLETED),this.last_response=t,this.J=setTimeout(function(){i.timer_J()},f.TIMER_J),this.transport.send(t)?n&&n():(this.onTransportError(),r&&r())}}},{key:"C",get:function(){return g}}]),i}(),w=function(e){function i(e,t,n){s(this,i);var r=c(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return r.type=g.INVITE_SERVER,r.id=n.via_branch,r.ua=e,r.transport=t,r.request=n,r.last_response="",(n.server_transaction=r).state=g.STATUS_PROCEEDING,e.newTransaction(r),r.resendProvisionalTimer=null,n.reply(100),r}return a(i,l),r(i,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"timer_H",value:function(){m("Timer H expired for transaction "+this.id),this.state===g.STATUS_COMPLETED&&m("ACK not received, dialog will be terminated"),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"timer_I",value:function(){this.stateChanged(g.STATUS_TERMINATED)}},{key:"timer_L",value:function(){m("Timer L expired for transaction "+this.id),this.state===g.STATUS_ACCEPTED&&(this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"onTransportError",value:function(){this.transportError||(this.transportError=!0,m("transport error occurred, deleting transaction "+this.id),null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null),clearTimeout(this.L),clearTimeout(this.H),clearTimeout(this.I),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"resend_provisional",value:function(){this.transport.send(this.last_response)||this.onTransportError()}},{key:"receiveResponse",value:function(e,t,n,r){var i=this;if(100<=e&&e<=199)switch(this.state){case g.STATUS_PROCEEDING:this.transport.send(t)||this.onTransportError(),this.last_response=t}if(100<e&&e<=199&&this.state===g.STATUS_PROCEEDING)null===this.resendProvisionalTimer&&(this.resendProvisionalTimer=setInterval(function(){i.resend_provisional()},f.PROVISIONAL_RESPONSE_INTERVAL));else if(200<=e&&e<=299)switch(this.state){case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_ACCEPTED),this.last_response=t,this.L=setTimeout(function(){i.timer_L()},f.TIMER_L),null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null);case g.STATUS_ACCEPTED:this.transport.send(t)?n&&n():(this.onTransportError(),r&&r())}else if(300<=e&&e<=699)switch(this.state){case g.STATUS_PROCEEDING:null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null),this.transport.send(t)?(this.stateChanged(g.STATUS_COMPLETED),this.H=setTimeout(function(){i.timer_H()},f.TIMER_H),n&&n()):(this.onTransportError(),r&&r())}}},{key:"C",get:function(){return g}}]),i}();t.exports={C:g,NonInviteClientTransaction:_,InviteClientTransaction:b,AckClientTransaction:v,NonInviteServerTransaction:y,InviteServerTransaction:w,checkTransaction:function(e,t){var n=e._transactions,r=void 0;switch(t.method){case i.INVITE:if(r=n.ist[t.via_branch]){switch(r.state){case g.STATUS_PROCEEDING:r.transport.send(r.last_response)}return!0}break;case i.ACK:if(!(r=n.ist[t.via_branch]))return!1;if(r.state===g.STATUS_ACCEPTED)return!1;if(r.state===g.STATUS_COMPLETED)return r.state=g.STATUS_CONFIRMED,r.I=setTimeout(function(){r.timer_I()},f.TIMER_I),!0;break;case i.CANCEL:return(r=n.ist[t.via_branch])?(t.reply_sl(200),r.state!==g.STATUS_PROCEEDING):(t.reply_sl(481),!0);default:if(r=n.nist[t.via_branch]){switch(r.state){case g.STATUS_TRYING:break;case g.STATUS_PROCEEDING:case g.STATUS_COMPLETED:r.transport.send(r.last_response)}return!0}}}}},{"./Constants":2,"./SIPMessage":19,"./Timers":21,debug:29,events:31}],23:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("./Socket"),a=e("debug")("JsSIP:Transport"),o=e("debug")("JsSIP:ERROR:Transport");o.log=console.warn.bind(console);var s={STATUS_CONNECTED:0,STATUS_CONNECTING:1,STATUS_DISCONNECTED:2,SOCKET_STATUS_READY:0,SOCKET_STATUS_ERROR:1,recovery_options:{min_interval:2,max_interval:30}};t.exports=function(){function n(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:s.recovery_options;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),a("new()"),this.status=s.STATUS_DISCONNECTED,this.socket=null,this.sockets=[],this.recovery_options=t,this.recover_attempts=0,this.recovery_timer=null,this.close_requested=!1,void 0===e)throw new TypeError("Invalid argument. undefined 'sockets' argument");e instanceof Array||(e=[e]),e.forEach(function(e){if(!i.isSocket(e.socket))throw new TypeError("Invalid argument. invalid 'JsSIP.Socket' instance");if(e.weight&&!Number(e.weight))throw new TypeError("Invalid argument. 'weight' attribute is not a number");this.sockets.push({socket:e.socket,weight:e.weight||0,status:s.SOCKET_STATUS_READY})},this),this._getSocket()}return r(n,[{key:"connect",value:function(){a("connect()"),this.isConnected()?a("Transport is already connected"):this.isConnecting()?a("Transport is connecting"):(this.close_requested=!1,this.status=s.STATUS_CONNECTING,this.onconnecting({socket:this.socket,attempts:this.recover_attempts}),this.close_requested||(this.socket.onconnect=this._onConnect.bind(this),this.socket.ondisconnect=this._onDisconnect.bind(this),this.socket.ondata=this._onData.bind(this),this.socket.connect()))}},{key:"disconnect",value:function(){a("close()"),this.close_requested=!0,this.recover_attempts=0,this.status=s.STATUS_DISCONNECTED,null!==this.recovery_timer&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.socket.onconnect=function(){},this.socket.ondisconnect=function(){},this.socket.ondata=function(){},this.socket.disconnect(),this.ondisconnect({socket:this.socket,error:!1})}},{key:"send",value:function(e){if(a("send()"),!this.isConnected())return o("unable to send message, transport is not connected"),!1;var t=e.toString();return a("sending message:\n\n"+t+"\n"),this.socket.send(t)}},{key:"isConnected",value:function(){return this.status===s.STATUS_CONNECTED}},{key:"isConnecting",value:function(){return this.status===s.STATUS_CONNECTING}},{key:"_reconnect",value:function(){var e=this;this.recover_attempts+=1;var t=Math.floor(Math.random()*Math.pow(2,this.recover_attempts)+1);t<this.recovery_options.min_interval?t=this.recovery_options.min_interval:t>this.recovery_options.max_interval&&(t=this.recovery_options.max_interval),a("reconnection attempt: "+this.recover_attempts+". next connection attempt in "+t+" seconds"),this.recovery_timer=setTimeout(function(){e.close_requested||e.isConnected()||e.isConnecting()||(e._getSocket(),e.connect())},1e3*t)}},{key:"_getSocket",value:function(){var t=[];if(this.sockets.forEach(function(e){e.status!==s.SOCKET_STATUS_ERROR&&(0===t.length?t.push(e):e.weight>t[0].weight?t=[e]:e.weight===t[0].weight&&t.push(e))}),0===t.length)return this.sockets.forEach(function(e){e.status=s.SOCKET_STATUS_READY}),void this._getSocket();var e=Math.floor(Math.random()*t.length);this.socket=t[e].socket}},{key:"_onConnect",value:function(){this.recover_attempts=0,this.status=s.STATUS_CONNECTED,null!==this.recovery_timer&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.onconnect({socket:this})}},{key:"_onDisconnect",value:function(e,t,n){this.status=s.STATUS_DISCONNECTED,this.ondisconnect({socket:this.socket,error:e,code:t,reason:n}),this.close_requested||(this.sockets.forEach(function(e){this.socket===e.socket&&(e.status=s.SOCKET_STATUS_ERROR)},this),this._reconnect(e))}},{key:"_onData",value:function(e){if("\r\n"!==e){if("string"!=typeof e){try{e=String.fromCharCode.apply(null,new Uint8Array(e))}catch(e){return void a("received binary message failed to be converted into string, message discarded")}a("received binary message:\n\n"+e+"\n")}else a("received text message:\n\n"+e+"\n");this.ondata({transport:this,message:e})}else a("received message with CRLF Keep Alive response")}},{key:"via_transport",get:function(){return this.socket.via_transport}},{key:"url",get:function(){return this.socket.url}},{key:"sip_uri",get:function(){return this.socket.sip_uri}}]),n}()},{"./Socket":20,debug:29}],24:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,o=e("./Constants"),a=e("./Registrator"),s=e("./RTCSession"),c=e("./Message"),l=e("./Transactions"),u=e("./Transport"),f=e("./Utils"),d=e("./Exceptions"),h=e("./URI"),p=e("./Grammar"),m=e("./Parser"),g=e("./SIPMessage"),_=e("./sanityCheck"),b=e("./Config"),v=e("debug")("JsSIP:UA"),y=e("debug")("JsSIP:ERROR:UA");y.log=console.warn.bind(console);var w={STATUS_INIT:0,STATUS_READY:1,STATUS_USER_CLOSED:2,STATUS_NOT_READY:3,CONFIGURATION_ERROR:1,NETWORK_ERROR:2};t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),v("new() [configuration:%o]",e);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));if(t._cache={credentials:{}},t._configuration=Object.assign({},b.settings),t._dynConfiguration={},t._dialogs={},t._applicants={},t._sessions={},t._transport=null,t._contact=null,t._status=w.STATUS_INIT,t._error=null,t._transactions={nist:{},nict:{},ist:{},ict:{}},t._data={},t._closeTimer=null,void 0===e)throw new TypeError("Not enough arguments");try{t._loadConfig(e)}catch(e){throw t._status=w.STATUS_NOT_READY,t._error=w.CONFIGURATION_ERROR,e}return t._registrator=new a(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,null,[{key:"C",get:function(){return w}}]),r(n,[{key:"start",value:function(){v("start()"),this._status===w.STATUS_INIT?this._transport.connect():this._status===w.STATUS_USER_CLOSED?(v("restarting UA"),null!==this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null,this._transport.disconnect()),this._status=w.STATUS_INIT,this._transport.connect()):this._status===w.STATUS_READY?v("UA is in READY status, not restarted"):v("ERROR: connection is down, Auto-Recovery system is trying to reconnect"),this._dynConfiguration.register=this._configuration.register}},{key:"register",value:function(){v("register()"),this._dynConfiguration.register=!0,this._registrator.register()}},{key:"unregister",value:function(e){v("unregister()"),this._dynConfiguration.register=!1,this._registrator.unregister(e)}},{key:"registrator",value:function(){return this._registrator}},{key:"isRegistered",value:function(){return this._registrator.registered}},{key:"isConnected",value:function(){return this._transport.isConnected()}},{key:"call",value:function(e,t){v("call()");var n=new s(this);return n.connect(e,t),n}},{key:"sendMessage",value:function(e,t,n){v("sendMessage()");var r=new c(this);return r.send(e,t,n),r}},{key:"terminateSessions",value:function(e){for(var t in v("terminateSessions()"),this._sessions)this._sessions[t].isEnded()||this._sessions[t].terminate(e)}},{key:"stop",value:function(){var e=this;if(v("stop()"),this._dynConfiguration={},this._status!==w.STATUS_USER_CLOSED){this._registrator.close();var t=Object.keys(this._sessions).length;for(var n in this._sessions)if(Object.prototype.hasOwnProperty.call(this._sessions,n)){v("closing session "+n);try{this._sessions[n].terminate()}catch(e){}}for(var r in this._applicants)if(Object.prototype.hasOwnProperty.call(this._applicants,r))try{this._applicants[r].close()}catch(e){}this._status=w.STATUS_USER_CLOSED,0===Object.keys(this._transactions.nict).length+Object.keys(this._transactions.nist).length+Object.keys(this._transactions.ict).length+Object.keys(this._transactions.ist).length&&0===t?this._transport.disconnect():this._closeTimer=setTimeout(function(){e._closeTimer=null,e._transport.disconnect()},2e3)}else v("UA already closed")}},{key:"normalizeTarget",value:function(e){return f.normalizeTarget(e,this._configuration.hostport_params)}},{key:"get",value:function(e){switch(e){case"realm":return this._configuration.realm;case"ha1":return this._configuration.ha1;default:return void y('get() | cannot get "%s" parameter in runtime',e)}}},{key:"set",value:function(e,t){switch(e){case"password":this._configuration.password=String(t);break;case"realm":this._configuration.realm=String(t);break;case"ha1":this._configuration.ha1=String(t),this._configuration.password=null;break;case"display_name":if(-1===p.parse('"'+t+'"',"display_name"))return y('set() | wrong "display_name"'),!1;this._configuration.display_name=t;break;default:return y('set() | cannot set "%s" parameter in runtime',e),!1}return!0}},{key:"newTransaction",value:function(e){this._transactions[e.type][e.id]=e,this.emit("newTransaction",{transaction:e})}},{key:"destroyTransaction",value:function(e){delete this._transactions[e.type][e.id],this.emit("transactionDestroyed",{transaction:e})}},{key:"newDialog",value:function(e){this._dialogs[e.id]=e}},{key:"destroyDialog",value:function(e){delete this._dialogs[e.id]}},{key:"newMessage",value:function(e,t){this._applicants[e]=e,this.emit("newMessage",t)}},{key:"destroyMessage",value:function(e){delete this._applicants[e]}},{key:"newRTCSession",value:function(e,t){this._sessions[e.id]=e,this.emit("newRTCSession",t)}},{key:"destroyRTCSession",value:function(e){delete this._sessions[e.id]}},{key:"registered",value:function(e){this.emit("registered",e)}},{key:"unregistered",value:function(e){this.emit("unregistered",e)}},{key:"registrationFailed",value:function(e){this.emit("registrationFailed",e)}},{key:"receiveRequest",value:function(e){var t=e.method;if(e.ruri.user!==this._configuration.uri.user&&e.ruri.user!==this._contact.uri.user)return v("Request-URI does not point to us"),void(e.method!==o.ACK&&e.reply_sl(404));if(e.ruri.scheme!==o.SIPS){if(!l.checkTransaction(this,e)){if(t===o.INVITE?new l.InviteServerTransaction(this,this._transport,e):t!==o.ACK&&t!==o.CANCEL&&new l.NonInviteServerTransaction(this,this._transport,e),t===o.OPTIONS)e.reply(200);else if(t===o.MESSAGE){if(0===this.listeners("newMessage").length)return void e.reply(405);new c(this).init_incoming(e)}else if(t===o.INVITE&&!e.to_tag&&0===this.listeners("newRTCSession").length)return void e.reply(405);var n=void 0,r=void 0;if(e.to_tag)(n=this._findDialog(e.call_id,e.from_tag,e.to_tag))?n.receiveRequest(e):t===o.NOTIFY?(r=this._findSession(e))?r.receiveRequest(e):(v("received NOTIFY request for a non existent subscription"),e.reply(481,"Subscription does not exist")):t!==o.ACK&&e.reply(481);else switch(t){case o.INVITE:if(window.RTCPeerConnection)if(e.hasHeader("replaces")){var i=e.replaces;(n=this._findDialog(i.call_id,i.from_tag,i.to_tag))?(r=n.owner).isEnded()?e.reply(603):r.receiveRequest(e):e.reply(481)}else(r=new s(this)).init_incoming(e);else y("INVITE received but WebRTC is not supported"),e.reply(488);break;case o.BYE:e.reply(481);break;case o.CANCEL:(r=this._findSession(e))?r.receiveRequest(e):v("received CANCEL request for a non existent session");break;case o.ACK:break;default:e.reply(405)}}}else e.reply_sl(416)}},{key:"_findSession",value:function(e){var t=e.call_id,n=e.from_tag,r=e.to_tag,i=t+n,a=this._sessions[i],o=t+r,s=this._sessions[o];return a||(s||null)}},{key:"_findDialog",value:function(e,t,n){var r=e+t+n,i=this._dialogs[r];return i||(r=e+n+t,(i=this._dialogs[r])||null)}},{key:"_loadConfig",value:function(e){try{b.load(this._configuration,e)}catch(e){throw e}0===this._configuration.display_name&&(this._configuration.display_name="0"),this._configuration.instance_id||(this._configuration.instance_id=f.newUUID()),this._configuration.jssip_id=f.createRandomToken(5);var t=this._configuration.uri.clone();t.user=null,this._configuration.hostport_params=t.toString().replace(/^sip:/i,"");try{this._transport=new u(this._configuration.sockets,{max_interval:this._configuration.connection_recovery_max_interval,min_interval:this._configuration.connection_recovery_min_interval}),this._transport.onconnecting=function(e){this.emit("connecting",e)}.bind(this),this._transport.onconnect=function(e){if(this._status===w.STATUS_USER_CLOSED)return;this._status=w.STATUS_READY,this._error=null,this.emit("connected",e),this._dynConfiguration.register&&this._registrator.register()}.bind(this),this._transport.ondisconnect=function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=["nict","ict","nist","ist"][Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;for(var s in this._transactions[o])Object.prototype.hasOwnProperty.call(this._transactions[o],s)&&this._transactions[o][s].onTransportError()}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}this.emit("disconnected",e),this._registrator.onTransportClosed(),this._status!==w.STATUS_USER_CLOSED&&(this._status=w.STATUS_NOT_READY,this._error=w.NETWORK_ERROR)}.bind(this),this._transport.ondata=function(e){var t=e.transport,n=e.message;if(!(n=m.parseMessage(n,this)))return;if(this._status===w.STATUS_USER_CLOSED&&n instanceof g.IncomingRequest)return;if(!_(n,this,t))return;if(n instanceof g.IncomingRequest)n.transport=t,this.receiveRequest(n);else if(n instanceof g.IncomingResponse){var r=void 0;switch(n.method){case o.INVITE:(r=this._transactions.ict[n.via_branch])&&r.receiveResponse(n);break;case o.ACK:break;default:(r=this._transactions.nict[n.via_branch])&&r.receiveResponse(n)}}}.bind(this)}catch(e){throw y(e),new d.ConfigurationError("sockets",this._configuration.sockets)}if(delete this._configuration.sockets,this._configuration.authorization_user||(this._configuration.authorization_user=this._configuration.uri.user),!this._configuration.registrar_server){var n=this._configuration.uri.clone();n.user=null,n.clearParams(),n.clearHeaders(),this._configuration.registrar_server=n}this._configuration.no_answer_timeout*=1e3,this._configuration.contact_uri?this._configuration.via_host=this._configuration.contact_uri.host:this._configuration.contact_uri=new h("sip",f.createRandomToken(8),this._configuration.via_host,null,{transport:"ws"}),this._contact={pub_gruu:null,temp_gruu:null,uri:this._configuration.contact_uri,toString:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.anonymous||null,n=e.outbound||null,r="<";return r+=t?this.temp_gruu||"sip:anonymous@anonymous.invalid;transport=ws":this.pub_gruu||this.uri.toString(),!n||(t?this.temp_gruu:this.pub_gruu)||(r+=";ob"),r+=">"}};var r=["password","realm","ha1","display_name","register"];for(var i in this._configuration)Object.prototype.hasOwnProperty.call(this._configuration,i)&&(-1!==r.indexOf(i)?Object.defineProperty(this._configuration,i,{writable:!0,configurable:!1}):Object.defineProperty(this._configuration,i,{writable:!1,configurable:!1}));for(var a in v("configuration parameters after validation:"),this._configuration)if(Object.prototype.hasOwnProperty.call(b.settings,a))switch(a){case"uri":case"registrar_server":v("- "+a+": "+this._configuration[a]);break;case"password":case"ha1":v("- "+a+": NOT SHOWN");break;default:v("- "+a+": "+JSON.stringify(this._configuration[a]))}}},{key:"C",get:function(){return w}},{key:"status",get:function(){return this._status}},{key:"contact",get:function(){return this._contact}},{key:"configuration",get:function(){return this._configuration}},{key:"transport",get:function(){return this._transport}}]),n}()},{"./Config":1,"./Constants":2,"./Exceptions":6,"./Grammar":7,"./Message":9,"./Parser":11,"./RTCSession":12,"./Registrator":17,"./SIPMessage":19,"./Transactions":22,"./Transport":23,"./URI":25,"./Utils":26,"./sanityCheck":28,debug:29,events:31}],25:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=e("./Constants"),u=e("./Utils"),i=e("./Grammar");t.exports=function(){function c(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),!n)throw new TypeError('missing or invalid "host" parameter');for(var o in this._parameters={},this._headers={},this._scheme=e||l.SIP,this._user=t,this._host=n,this._port=r,i)Object.prototype.hasOwnProperty.call(i,o)&&this.setParam(o,i[o]);for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&this.setHeader(s,a[s])}return r(c,null,[{key:"parse",value:function(e){return-1!==(e=i.parse(e,"SIP_URI"))?e:void 0}}]),r(c,[{key:"setParam",value:function(e,t){e&&(this._parameters[e.toLowerCase()]=null==t?null:t.toString())}},{key:"getParam",value:function(e){if(e)return this._parameters[e.toLowerCase()]}},{key:"hasParam",value:function(e){if(e)return!!this._parameters.hasOwnProperty(e.toLowerCase())}},{key:"deleteParam",value:function(e){if(e=e.toLowerCase(),this._parameters.hasOwnProperty(e)){var t=this._parameters[e];return delete this._parameters[e],t}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"setHeader",value:function(e,t){this._headers[u.headerize(e)]=Array.isArray(t)?t:[t]}},{key:"getHeader",value:function(e){if(e)return this._headers[u.headerize(e)]}},{key:"hasHeader",value:function(e){if(e)return!!this._headers.hasOwnProperty(u.headerize(e))}},{key:"deleteHeader",value:function(e){if(e=u.headerize(e),this._headers.hasOwnProperty(e)){var t=this._headers[e];return delete this._headers[e],t}}},{key:"clearHeaders",value:function(){this._headers={}}},{key:"clone",value:function(){return new c(this._scheme,this._user,this._host,this._port,JSON.parse(JSON.stringify(this._parameters)),JSON.parse(JSON.stringify(this._headers)))}},{key:"toString",value:function(){var e=[],t=this._scheme+":";for(var n in this._user&&(t+=u.escapeUser(this._user)+"@"),t+=this._host,(this._port||0===this._port)&&(t+=":"+this._port),this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,n)&&(t+=";"+n,null!==this._parameters[n]&&(t+="="+this._parameters[n]));for(var r in this._headers)if(Object.prototype.hasOwnProperty.call(this._headers,r)){var i=!0,a=!1,o=void 0;try{for(var s,c=this._headers[r][Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var l=s.value;e.push(r+"="+l)}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}}return 0<e.length&&(t+="?"+e.join("&")),t}},{key:"toAor",value:function(e){var t=this._scheme+":";return this._user&&(t+=u.escapeUser(this._user)+"@"),t+=this._host,e&&(this._port||0===this._port)&&(t+=":"+this._port),t}},{key:"scheme",get:function(){return this._scheme},set:function(e){this._scheme=e.toLowerCase()}},{key:"user",get:function(){return this._user},set:function(e){this._user=e}},{key:"host",get:function(){return this._host},set:function(e){this._host=e.toLowerCase()}},{key:"port",get:function(){return this._port},set:function(e){this._port=0===e?e:parseInt(e,10)||null}}]),c}()},{"./Constants":2,"./Grammar":7,"./Utils":26}],26:[function(e,t,n){"use strict";var _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=e("./Constants"),s=e("./URI"),r=e("./Grammar");n.str_utf8_length=function(e){return unescape(encodeURIComponent(e)).length};var u=n.isFunction=function(e){return void 0!==e&&"[object Function]"===Object.prototype.toString.call(e)};n.isString=function(e){return void 0!==e&&"[object String]"===Object.prototype.toString.call(e)},n.isDecimal=function(e){return!isNaN(e)&&parseFloat(e)===parseInt(e,10)},n.isEmpty=function(e){return null===e||""===e||void 0===e||Array.isArray(e)&&0===e.length||"number"==typeof e&&isNaN(e)},n.hasMethods=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=!0,a=!1,o=void 0;try{for(var s,c=n[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var l=s.value;if(u(e[l]))return!1}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}return!0};var i=n.createRandomToken=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:32,n=void 0,r="";for(n=0;n<e;n++)r+=(Math.random()*t|0).toString(t);return r};n.newTag=function(){return i(10)},n.newUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},n.hostType=function(e){if(e)return-1!==(e=r.parse(e,"host"))?e.host_type:void 0};var c=n.escapeUser=function(e){return encodeURIComponent(decodeURIComponent(e)).replace(/%3A/gi,":").replace(/%2B/gi,"+").replace(/%3F/gi,"?").replace(/%2F/gi,"/")};n.normalizeTarget=function(e,t){if(e){if(e instanceof s)return e;if("string"!=typeof e)return;var n=e.split("@"),r=void 0,i=void 0;switch(n.length){case 1:if(!t)return;r=e,i=t;break;case 2:r=n[0],i=n[1];break;default:r=n.slice(0,n.length-1).join("@"),i=n[n.length-1]}r=r.replace(/^(sips?|tel):/i,""),/^[-.()]*\+?[0-9\-.()]+$/.test(r)&&(r=r.replace(/[-.()]/g,"")),e=o.SIP+":"+c(r)+"@"+i;var a;return(a=s.parse(e))?a:void 0}},n.headerize=function(e){var t={"Call-Id":"Call-ID",Cseq:"CSeq","Www-Authenticate":"WWW-Authenticate"},n=e.toLowerCase().replace(/_/g,"-").split("-"),r="",i=n.length,a=void 0;for(a=0;a<i;a++)0!==a&&(r+="-"),r+=n[a].charAt(0).toUpperCase()+n[a].substring(1);return t[r]&&(r=t[r]),r},n.sipErrorCause=function(e){for(var t in o.SIP_ERROR_CAUSES)if(-1!==o.SIP_ERROR_CAUSES[t].indexOf(e))return o.causes[t];return o.causes.SIP_FAILURE_CODE},n.getRandomTestNetIP=function(){return"192.0.2."+(e=1,t=254,Math.floor(Math.random()*(t-e+1)+e));var e,t},n.calculateMD5=function(e){function c(e,t){return e<<t|e>>>32-t}function l(e,t){var n=2147483648&e,r=2147483648&t,i=1073741824&e,a=1073741824&t,o=(1073741823&e)+(1073741823&t);return i&a?2147483648^o^n^r:i|a?1073741824&o?3221225472^o^n^r:1073741824^o^n^r:o^n^r}function t(e,t,n,r,i,a,o){var s;return l(c(e=l(e,l(l((s=t)&n|~s&r,i),o)),a),t)}function n(e,t,n,r,i,a,o){var s;return l(c(e=l(e,l(l(t&(s=r)|n&~s,i),o)),a),t)}function r(e,t,n,r,i,a,o){return l(c(e=l(e,l(l(t^n^r,i),o)),a),t)}function i(e,t,n,r,i,a,o){return l(c(e=l(e,l(l(n^(t|~r),i),o)),a),t)}function a(e){var t="",n="",r=void 0;for(r=0;r<=3;r++)t+=(n="0"+(e>>>8*r&255).toString(16)).substr(n.length-2,2);return t}var o,s=void 0,u=void 0,f=void 0,d=void 0,h=void 0,p=void 0,m=void 0,g=void 0,_=void 0;for(o=function(e){for(var t=void 0,n=e.length,r=n+8,i=16*((r-r%64)/64+1),a=new Array(i-1),o=0,s=0;s<n;)o=s%4*8,a[t=(s-s%4)/4]=a[t]|e.charCodeAt(s)<<o,s++;return o=s%4*8,a[t=(s-s%4)/4]=a[t]|128<<o,a[i-2]=n<<3,a[i-1]=n>>>29,a}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):(127<r&&r<2048?t+=String.fromCharCode(r>>6|192):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128)),t+=String.fromCharCode(63&r|128))}return t}(e)),p=1732584193,m=4023233417,g=2562383102,_=271733878,s=0;s<o.length;s+=16)m=i(m=i(m=i(m=i(m=r(m=r(m=r(m=r(m=n(m=n(m=n(m=n(m=t(m=t(m=t(m=t(f=m,g=t(d=g,_=t(h=_,p=t(u=p,m,g,_,o[s+0],7,3614090360),m,g,o[s+1],12,3905402710),p,m,o[s+2],17,606105819),_,p,o[s+3],22,3250441966),g=t(g,_=t(_,p=t(p,m,g,_,o[s+4],7,4118548399),m,g,o[s+5],12,1200080426),p,m,o[s+6],17,2821735955),_,p,o[s+7],22,4249261313),g=t(g,_=t(_,p=t(p,m,g,_,o[s+8],7,1770035416),m,g,o[s+9],12,2336552879),p,m,o[s+10],17,4294925233),_,p,o[s+11],22,2304563134),g=t(g,_=t(_,p=t(p,m,g,_,o[s+12],7,1804603682),m,g,o[s+13],12,4254626195),p,m,o[s+14],17,2792965006),_,p,o[s+15],22,1236535329),g=n(g,_=n(_,p=n(p,m,g,_,o[s+1],5,4129170786),m,g,o[s+6],9,3225465664),p,m,o[s+11],14,643717713),_,p,o[s+0],20,3921069994),g=n(g,_=n(_,p=n(p,m,g,_,o[s+5],5,3593408605),m,g,o[s+10],9,38016083),p,m,o[s+15],14,3634488961),_,p,o[s+4],20,3889429448),g=n(g,_=n(_,p=n(p,m,g,_,o[s+9],5,568446438),m,g,o[s+14],9,3275163606),p,m,o[s+3],14,4107603335),_,p,o[s+8],20,1163531501),g=n(g,_=n(_,p=n(p,m,g,_,o[s+13],5,2850285829),m,g,o[s+2],9,4243563512),p,m,o[s+7],14,1735328473),_,p,o[s+12],20,2368359562),g=r(g,_=r(_,p=r(p,m,g,_,o[s+5],4,4294588738),m,g,o[s+8],11,2272392833),p,m,o[s+11],16,1839030562),_,p,o[s+14],23,4259657740),g=r(g,_=r(_,p=r(p,m,g,_,o[s+1],4,2763975236),m,g,o[s+4],11,1272893353),p,m,o[s+7],16,4139469664),_,p,o[s+10],23,3200236656),g=r(g,_=r(_,p=r(p,m,g,_,o[s+13],4,681279174),m,g,o[s+0],11,3936430074),p,m,o[s+3],16,3572445317),_,p,o[s+6],23,76029189),g=r(g,_=r(_,p=r(p,m,g,_,o[s+9],4,3654602809),m,g,o[s+12],11,3873151461),p,m,o[s+15],16,530742520),_,p,o[s+2],23,3299628645),g=i(g,_=i(_,p=i(p,m,g,_,o[s+0],6,4096336452),m,g,o[s+7],10,1126891415),p,m,o[s+14],15,2878612391),_,p,o[s+5],21,4237533241),g=i(g,_=i(_,p=i(p,m,g,_,o[s+12],6,1700485571),m,g,o[s+3],10,2399980690),p,m,o[s+10],15,4293915773),_,p,o[s+1],21,2240044497),g=i(g,_=i(_,p=i(p,m,g,_,o[s+8],6,1873313359),m,g,o[s+15],10,4264355552),p,m,o[s+6],15,2734768916),_,p,o[s+13],21,1309151649),g=i(g,_=i(_,p=i(p,m,g,_,o[s+4],6,4149444226),m,g,o[s+11],10,3174756917),p,m,o[s+2],15,718787259),_,p,o[s+9],21,3951481745),p=l(p,u),m=l(m,f),g=l(g,d),_=l(_,h);return(a(p)+a(m)+a(g)+a(_)).toLowerCase()},n.closeMediaStream=function(t){if(t)try{var e=void 0;if(t.getTracks){e=t.getTracks();var n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){a.value.stop()}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}else{e=t.getAudioTracks();var s=!0,c=!1,l=void 0;try{for(var u,f=e[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){u.value.stop()}}catch(e){c=!0,l=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw l}}e=t.getVideoTracks();var d=!0,h=!1,p=void 0;try{for(var m,g=e[Symbol.iterator]();!(d=(m=g.next()).done);d=!0){m.value.stop()}}catch(e){h=!0,p=e}finally{try{!d&&g.return&&g.return()}finally{if(h)throw p}}}}catch(e){"function"!=typeof t.stop&&"object"!==_(t.stop)||t.stop()}},n.cloneArray=function(e){return e&&e.slice()||[]}},{"./Constants":2,"./Grammar":7,"./URI":25}],27:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("./Grammar"),a=e("debug")("JsSIP:WebSocketInterface"),o=e("debug")("JsSIP:ERROR:WebSocketInterface");o.log=console.warn.bind(console),t.exports=function(){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),a('new() [url:"%s"]',e),this._url=e,this._sip_uri=null,this._via_transport=null,this._ws=null;var t=i.parse(e,"absoluteURI");if(-1===t)throw o("invalid WebSocket URI: "+e),new TypeError("Invalid argument: "+e);if("wss"!==t.scheme&&"ws"!==t.scheme)throw o("invalid WebSocket URI scheme: "+t.scheme),new TypeError("Invalid argument: "+e);this._sip_uri="sip:"+t.host+(t.port?":"+t.port:"")+";transport=ws",this._via_transport=t.scheme.toUpperCase()}return r(n,[{key:"connect",value:function(){if(a("connect()"),this.isConnected())a("WebSocket "+this._url+" is already connected");else if(this.isConnecting())a("WebSocket "+this._url+" is connecting");else{this._ws&&this.disconnect(),a("connecting to WebSocket "+this._url);try{this._ws=new WebSocket(this._url,"sip"),this._ws.binaryType="arraybuffer",this._ws.onopen=this._onOpen.bind(this),this._ws.onclose=this._onClose.bind(this),this._ws.onmessage=this._onMessage.bind(this),this._ws.onerror=this._onError.bind(this)}catch(e){this._onError(e)}}}},{key:"disconnect",value:function(){a("disconnect()"),this._ws&&(this._ws.onopen=function(){},this._ws.onclose=function(){},this._ws.onmessage=function(){},this._ws.onerror=function(){},this._ws.close(),this._ws=null)}},{key:"send",value:function(e){return a("send()"),this.isConnected()?(this._ws.send(e),!0):(o("unable to send message, WebSocket is not open"),!1)}},{key:"isConnected",value:function(){return this._ws&&this._ws.readyState===this._ws.OPEN}},{key:"isConnecting",value:function(){return this._ws&&this._ws.readyState===this._ws.CONNECTING}},{key:"_onOpen",value:function(){a("WebSocket "+this._url+" connected"),this.onconnect()}},{key:"_onClose",value:function(e){var t=e.wasClean,n=e.code,r=e.reason;a("WebSocket "+this._url+" closed"),!1===t&&a("WebSocket abrupt disconnection");var i={socket:this,error:!t,code:n,reason:r};this.ondisconnect(i)}},{key:"_onMessage",value:function(e){var t=e.data;a("received WebSocket message"),this.ondata(t)}},{key:"_onError",value:function(e){o("WebSocket "+this._url+" error: "+e)}},{key:"via_transport",get:function(){return this._via_transport},set:function(e){this._via_transport=e.toUpperCase()}},{key:"sip_uri",get:function(){return this._sip_uri}},{key:"url",get:function(){return this._url}}]),n}()},{"./Grammar":7,debug:29}],28:[function(e,t,n){"use strict";var l=e("./Constants"),b=e("./SIPMessage"),u=e("./Utils"),o=e("debug")("JsSIP:sanityCheck"),v=[function(){var e=!0,t=!1,n=void 0;try{for(var r,i=["from","to","call_id","cseq","via"][Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var a=r.value;if(!C.hasHeader(a))return o("missing mandatory header field : "+a+", dropping the response"),!1}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}}],y=[function(){if("sip"!==C.s("to").uri.scheme)return s(416),!1},function(){if(!C.to_tag&&C.call_id.substr(0,5)===A.configuration.jssip_id)return s(482),!1},function(){var e=u.str_utf8_length(C.body),t=C.getHeader("content-length");if(e<t)return s(400),!1},function(){var e=C.from_tag,t=C.call_id,n=C.cseq,r=void 0;if(C.to_tag)return;if(C.method===l.INVITE){if(A._transactions.ist[C.via_branch])return!1;for(var i in A._transactions.ist)if(Object.prototype.hasOwnProperty.call(A._transactions.ist,i)&&(r=A._transactions.ist[i]).request.from_tag===e&&r.request.call_id===t&&r.request.cseq===n)return s(482),!1}else{if(A._transactions.nist[C.via_branch])return!1;for(var a in A._transactions.nist)if(Object.prototype.hasOwnProperty.call(A._transactions.nist,a)&&(r=A._transactions.nist[a]).request.from_tag===e&&r.request.call_id===t&&r.request.cseq===n)return s(482),!1}}],w=[function(){if(1<C.getHeaders("via").length)return o("more than one Via header field present in the response, dropping the response"),!1},function(){var e=u.str_utf8_length(C.body),t=C.getHeader("content-length");if(e<t)return o("message body length is lower than the value in Content-Length header field, dropping the response"),!1}],C=void 0,A=void 0,S=void 0;function s(e){var t=C.getHeaders("via"),n=void 0,r="SIP/2.0 "+e+" "+l.REASON_PHRASE[e]+"\r\n",i=!0,a=!1,o=void 0;try{for(var s,c=t[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){r+="Via: "+s.value+"\r\n"}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}n=C.getHeader("To"),C.to_tag||(n+=";tag="+u.newTag()),r+="To: "+n+"\r\n",r+="From: "+C.getHeader("From")+"\r\n",r+="Call-ID: "+C.call_id+"\r\n",r+="CSeq: "+C.cseq+" "+C.method+"\r\n",r+="\r\n",S.send(r)}t.exports=function(e,t,n){C=e,A=t,S=n;var r=!0,i=!1,a=void 0;try{for(var o,s=v[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){if(!1===(0,o.value)())return!1}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}if(C instanceof b.IncomingRequest){var c=!0,l=!1,u=void 0;try{for(var f,d=y[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){if(!1===(0,f.value)())return!1}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}else if(C instanceof b.IncomingResponse){var h=!0,p=!1,m=void 0;try{for(var g,_=w[Symbol.iterator]();!(h=(g=_.next()).done);h=!0){if(!1===(0,g.value)())return!1}}catch(e){p=!0,m=e}finally{try{!h&&_.return&&_.return()}finally{if(p)throw m}}}return!0}},{"./Constants":2,"./SIPMessage":19,"./Utils":26,debug:29}],29:[function(n,r,a){(function(t){function e(){var e;try{e=a.storage.debug}catch(e){}return!e&&void 0!==t&&"env"in t&&(e=t.env.DEBUG),e}(a=r.exports=n("./debug")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},a.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+a.humanize(this.diff),!t)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),e.splice(i,0,n)},a.save=function(e){try{null==e?a.storage.removeItem("debug"):a.storage.debug=e}catch(e){}},a.load=e,a.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},a.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],a.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},a.enable(e())}).call(this,n("_process"))},{"./debug":30,_process:33}],30:[function(e,t,c){function n(e){var r;function s(){if(s.enabled){var i=s,e=+new Date,t=e-(r||e);i.diff=t,i.prev=r,i.curr=e,r=e;for(var a=new Array(arguments.length),n=0;n<a.length;n++)a[n]=arguments[n];a[0]=c.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var o=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(e,t){if("%%"===e)return e;o++;var n=c.formatters[t];if("function"==typeof n){var r=a[o];e=n.call(i,r),a.splice(o,1),o--}return e}),c.formatArgs.call(i,a),(s.log||c.log||console.log.bind(console)).apply(i,a)}}return s.namespace=e,s.enabled=c.enabled(e),s.useColors=c.useColors(),s.color=function(e){var t,n=0;for(t in e)n=(n<<5)-n+e.charCodeAt(t),n|=0;return c.colors[Math.abs(n)%c.colors.length]}(e),s.destroy=i,"function"==typeof c.init&&c.init(s),c.instances.push(s),s}function i(){var e=c.instances.indexOf(this);return-1!==e&&(c.instances.splice(e,1),!0)}(c=t.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},c.disable=function(){c.enable("")},c.enable=function(e){var t;c.save(e),c.names=[],c.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?c.skips.push(new RegExp("^"+e.substr(1)+"$")):c.names.push(new RegExp("^"+e+"$")));for(t=0;t<c.instances.length;t++){var i=c.instances[t];i.enabled=c.enabled(i.namespace)}},c.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=c.skips.length;t<n;t++)if(c.skips[t].test(e))return!1;for(t=0,n=c.names.length;t<n;t++)if(c.names[t].test(e))return!0;return!1},c.humanize=e("ms"),c.instances=[],c.names=[],c.skips=[],c.formatters={}},{ms:32}],31:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function c(e){return"function"==typeof e}function l(e){return"object"==typeof e&&null!==e}function u(e){return void 0===e}((t.exports=r).EventEmitter=r).prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,i,a,o;if(this._events||(this._events={}),"error"===e&&(!this._events.error||l(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var s=new Error('Uncaught, unspecified "error" event. ('+t+")");throw s.context=t,s}if(u(n=this._events[e]))return!1;if(c(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(l(n))for(i=Array.prototype.slice.call(arguments,1),r=(o=n.slice()).length,a=0;a<r;a++)o[a].apply(this,i);return!0},r.prototype.on=r.prototype.addListener=function(e,t){var n;if(!c(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,c(t.listener)?t.listener:t),this._events[e]?l(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,l(this._events[e])&&!this._events[e].warned&&(n=u(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&0<n&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.once=function(e,t){if(!c(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var n,r,i,a;if(!c(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(n=this._events[e]).length,r=-1,n===t||c(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(l(n)){for(a=i;0<a--;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(c(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?c(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(c(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],32:[function(e,t,n){function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}t.exports=function(e,t){t=t||{};var n,r=typeof e;if("string"===r&&0<e.length)return function(e){if(100<(e=String(e)).length)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===r&&!1===isNaN(e))return t.long?i(n=e,864e5,"day")||i(n,36e5,"hour")||i(n,6e4,"minute")||i(n,1e3,"second")||n+" ms":function(e){if(864e5<=e)return Math.round(e/864e5)+"d";if(36e5<=e)return Math.round(e/36e5)+"h";if(6e4<=e)return Math.round(e/6e4)+"m";if(1e3<=e)return Math.round(e/1e3)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],33:[function(e,t,n){var r,i,a=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,u=[],f=!1,d=-1;function h(){f&&l&&(f=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!f){var e=c(h);f=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,f=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||f||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],34:[function(e,t,n){"use strict";var N=e("sdp");function c(e,t,n,r,i){var a=N.writeRtpDescription(e.kind,t);if(a+=N.writeIceParameters(e.iceGatherer.getLocalParameters()),a+=N.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===n?"actpass":i||"active"),a+="a=mid:"+e.mid+"\r\n",e.rtpSender&&e.rtpReceiver?a+="a=sendrecv\r\n":e.rtpSender?a+="a=sendonly\r\n":e.rtpReceiver?a+="a=recvonly\r\n":a+="a=inactive\r\n",e.rtpSender){var o="msid:"+(r?r.id:"-")+" "+e.rtpSender.track.id+"\r\n";a+="a="+o,a+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+o,e.sendEncodingParameters[0].rtx&&(a+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+o,a+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return a+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+N.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(a+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+N.localCName+"\r\n"),a}function p(l,u){var f={codecs:[],headerExtensions:[],fecMechanisms:[]},d=function(e,t){e=parseInt(e,10);for(var n=0;n<t.length;n++)if(t[n].payloadType===e||t[n].preferredPayloadType===e)return t[n]};return l.codecs.forEach(function(n){for(var e=0;e<u.codecs.length;e++){var t=u.codecs[e];if(n.name.toLowerCase()===t.name.toLowerCase()&&n.clockRate===t.clockRate){if("rtx"===n.name.toLowerCase()&&n.parameters&&t.parameters.apt&&(r=n,i=t,a=l.codecs,o=u.codecs,c=s=void 0,s=d(r.parameters.apt,a),c=d(i.parameters.apt,o),!s||!c||s.name.toLowerCase()!==c.name.toLowerCase()))continue;(t=JSON.parse(JSON.stringify(t))).numChannels=Math.min(n.numChannels,t.numChannels),f.codecs.push(t),t.rtcpFeedback=t.rtcpFeedback.filter(function(e){for(var t=0;t<n.rtcpFeedback.length;t++)if(n.rtcpFeedback[t].type===e.type&&n.rtcpFeedback[t].parameter===e.parameter)return!0;return!1});break}}var r,i,a,o,s,c}),l.headerExtensions.forEach(function(e){for(var t=0;t<u.headerExtensions.length;t++){var n=u.headerExtensions[t];if(e.uri===n.uri){f.headerExtensions.push(n);break}}}),f}function a(e,t,n){return-1!=={offer:{setLocalDescription:["stable","have-local-offer"],setRemoteDescription:["stable","have-remote-offer"]},answer:{setLocalDescription:["have-remote-offer","have-local-pranswer"],setRemoteDescription:["have-local-offer","have-remote-pranswer"]}}[t][e].indexOf(n)}function L(e,t){var n=e.getRemoteCandidates().find(function(e){return t.foundation===e.foundation&&t.ip===e.ip&&t.port===e.port&&t.priority===e.priority&&t.protocol===e.protocol&&t.type===e.type});return n||e.addRemoteCandidate(t),!n}function m(e,t){var n=new Error(t);return n.name=e,n}t.exports=function($,O){function R(e,t){t.addTrack(e),t.dispatchEvent(new $.MediaStreamTrackEvent("addtrack",{track:e}))}function i(e,t,n,r){var i=new Event("track");i.track=t,i.receiver=n,i.transceiver={receiver:n},i.streams=r,$.setTimeout(function(){e._dispatchEvent("track",i)})}var r=function(e){var t,r,i,n=this,a=document.createDocumentFragment();if(["addEventListener","removeEventListener","dispatchEvent"].forEach(function(e){n[e]=a[e].bind(a)}),this.canTrickleIceCandidates=null,this.needNegotiation=!1,this.localStreams=[],this.remoteStreams=[],this.localDescription=null,this.remoteDescription=null,this.signalingState="stable",this.iceConnectionState="new",this.iceGatheringState="new",e=JSON.parse(JSON.stringify(e||{})),this.usingBundle="max-bundle"===e.bundlePolicy,"negotiate"===e.rtcpMuxPolicy)throw m("NotSupportedError","rtcpMuxPolicy 'negotiate' is not supported");switch(e.rtcpMuxPolicy||(e.rtcpMuxPolicy="require"),e.iceTransportPolicy){case"all":case"relay":break;default:e.iceTransportPolicy="all"}switch(e.bundlePolicy){case"balanced":case"max-compat":case"max-bundle":break;default:e.bundlePolicy="balanced"}if(e.iceServers=(t=e.iceServers||[],r=O,i=!1,(t=JSON.parse(JSON.stringify(t))).filter(function(e){if(e&&(e.urls||e.url)){var t=e.urls||e.url;e.url&&!e.urls&&console.warn("RTCIceServer.url is deprecated! Use urls instead.");var n="string"==typeof t;return n&&(t=[t]),t=t.filter(function(e){return 0!==e.indexOf("turn:")||-1===e.indexOf("transport=udp")||-1!==e.indexOf("turn:[")||i?0===e.indexOf("stun:")&&14393<=r&&-1===e.indexOf("?transport=udp"):i=!0}),delete e.url,e.urls=n?t[0]:t,!!t.length}})),this._iceGatherers=[],e.iceCandidatePoolSize)for(var o=e.iceCandidatePoolSize;0<o;o--)this._iceGatherers.push(new $.RTCIceGatherer({iceServers:e.iceServers,gatherPolicy:e.iceTransportPolicy}));else e.iceCandidatePoolSize=0;this._config=e,this.transceivers=[],this._sdpSessionId=N.generateSessionId(),this._sdpSessionVersion=0,this._dtlsRole=void 0,this._isClosed=!1};r.prototype.onicecandidate=null,r.prototype.onaddstream=null,r.prototype.ontrack=null,r.prototype.onremovestream=null,r.prototype.onsignalingstatechange=null,r.prototype.oniceconnectionstatechange=null,r.prototype.onicegatheringstatechange=null,r.prototype.onnegotiationneeded=null,r.prototype.ondatachannel=null,r.prototype._dispatchEvent=function(e,t){this._isClosed||(this.dispatchEvent(t),"function"==typeof this["on"+e]&&this["on"+e](t))},r.prototype._emitGatheringStateChange=function(){var e=new Event("icegatheringstatechange");this._dispatchEvent("icegatheringstatechange",e)},r.prototype.getConfiguration=function(){return this._config},r.prototype.getLocalStreams=function(){return this.localStreams},r.prototype.getRemoteStreams=function(){return this.remoteStreams},r.prototype._createTransceiver=function(e){var t=0<this.transceivers.length,n={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:e,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,associatedRemoteMediaStreams:[],wantReceive:!0};if(this.usingBundle&&t)n.iceTransport=this.transceivers[0].iceTransport,n.dtlsTransport=this.transceivers[0].dtlsTransport;else{var r=this._createIceAndDtlsTransports();n.iceTransport=r.iceTransport,n.dtlsTransport=r.dtlsTransport}return this.transceivers.push(n),n},r.prototype.addTrack=function(t,e){if(this._isClosed)throw m("InvalidStateError","Attempted to call addTrack on a closed peerconnection.");var n;if(this.transceivers.find(function(e){return e.track===t}))throw m("InvalidAccessError","Track already exists.");for(var r=0;r<this.transceivers.length;r++)this.transceivers[r].track||this.transceivers[r].kind!==t.kind||(n=this.transceivers[r]);return n||(n=this._createTransceiver(t.kind)),this._maybeFireNegotiationNeeded(),-1===this.localStreams.indexOf(e)&&this.localStreams.push(e),n.track=t,n.stream=e,n.rtpSender=new $.RTCRtpSender(t,n.dtlsTransport),n.rtpSender},r.prototype.addStream=function(t){var n=this;if(15025<=O)t.getTracks().forEach(function(e){n.addTrack(e,t)});else{var r=t.clone();t.getTracks().forEach(function(e,t){var n=r.getTracks()[t];e.addEventListener("enabled",function(e){n.enabled=e.enabled})}),r.getTracks().forEach(function(e){n.addTrack(e,r)})}},r.prototype.removeTrack=function(t){if(this._isClosed)throw m("InvalidStateError","Attempted to call removeTrack on a closed peerconnection.");if(!(t instanceof $.RTCRtpSender))throw new TypeError("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.");var e=this.transceivers.find(function(e){return e.rtpSender===t});if(!e)throw m("InvalidAccessError","Sender was not created by this connection.");var n=e.stream;e.rtpSender.stop(),e.rtpSender=null,e.track=null,e.stream=null,-1===this.transceivers.map(function(e){return e.stream}).indexOf(n)&&-1<this.localStreams.indexOf(n)&&this.localStreams.splice(this.localStreams.indexOf(n),1),this._maybeFireNegotiationNeeded()},r.prototype.removeStream=function(e){var n=this;e.getTracks().forEach(function(t){var e=n.getSenders().find(function(e){return e.track===t});e&&n.removeTrack(e)})},r.prototype.getSenders=function(){return this.transceivers.filter(function(e){return!!e.rtpSender}).map(function(e){return e.rtpSender})},r.prototype.getReceivers=function(){return this.transceivers.filter(function(e){return!!e.rtpReceiver}).map(function(e){return e.rtpReceiver})},r.prototype._createIceGatherer=function(n,e){var r=this;if(e&&0<n)return this.transceivers[0].iceGatherer;if(this._iceGatherers.length)return this._iceGatherers.shift();var i=new $.RTCIceGatherer({iceServers:this._config.iceServers,gatherPolicy:this._config.iceTransportPolicy});return Object.defineProperty(i,"state",{value:"new",writable:!0}),this.transceivers[n].bufferedCandidateEvents=[],this.transceivers[n].bufferCandidates=function(e){var t=!e.candidate||0===Object.keys(e.candidate).length;i.state=t?"completed":"gathering",null!==r.transceivers[n].bufferedCandidateEvents&&r.transceivers[n].bufferedCandidateEvents.push(e)},i.addEventListener("localcandidate",this.transceivers[n].bufferCandidates),i},r.prototype._gather=function(s,c){var l=this,u=this.transceivers[c].iceGatherer;if(!u.onlocalcandidate){var e=this.transceivers[c].bufferedCandidateEvents;this.transceivers[c].bufferedCandidateEvents=null,u.removeEventListener("localcandidate",this.transceivers[c].bufferCandidates),u.onlocalcandidate=function(e){if(!(l.usingBundle&&0<c)){var t=new Event("icecandidate");t.candidate={sdpMid:s,sdpMLineIndex:c};var n=e.candidate,r=!n||0===Object.keys(n).length;if(r)"new"!==u.state&&"gathering"!==u.state||(u.state="completed");else{"new"===u.state&&(u.state="gathering"),n.component=1;var i=N.writeCandidate(n);t.candidate=Object.assign(t.candidate,N.parseCandidate(i)),t.candidate.candidate=i}var a=N.splitSections(l.localDescription.sdp);a[t.candidate.sdpMLineIndex+1]+=r?"a=end-of-candidates\r\n":"a="+t.candidate.candidate+"\r\n",l.localDescription.sdp=a.join("");var o=l.transceivers.every(function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state});"gathering"!==l.iceGatheringState&&(l.iceGatheringState="gathering",l._emitGatheringStateChange()),r||l._dispatchEvent("icecandidate",t),o&&(l._dispatchEvent("icecandidate",new Event("icecandidate")),l.iceGatheringState="complete",l._emitGatheringStateChange())}},$.setTimeout(function(){e.forEach(function(e){u.onlocalcandidate(e)})},0)}},r.prototype._createIceAndDtlsTransports=function(){var e=this,t=new $.RTCIceTransport(null);t.onicestatechange=function(){e._updateConnectionState()};var n=new $.RTCDtlsTransport(t);return n.ondtlsstatechange=function(){e._updateConnectionState()},n.onerror=function(){Object.defineProperty(n,"state",{value:"failed",writable:!0}),e._updateConnectionState()},{iceTransport:t,dtlsTransport:n}},r.prototype._disposeIceAndDtlsTransports=function(e){var t=this.transceivers[e].iceGatherer;t&&(delete t.onlocalcandidate,delete this.transceivers[e].iceGatherer);var n=this.transceivers[e].iceTransport;n&&(delete n.onicestatechange,delete this.transceivers[e].iceTransport);var r=this.transceivers[e].dtlsTransport;r&&(delete r.ondtlsstatechange,delete r.onerror,delete this.transceivers[e].dtlsTransport)},r.prototype._transceive=function(e,t,n){var r=p(e.localCapabilities,e.remoteCapabilities);t&&e.rtpSender&&(r.encodings=e.sendEncodingParameters,r.rtcp={cname:N.localCName,compound:e.rtcpParameters.compound},e.recvEncodingParameters.length&&(r.rtcp.ssrc=e.recvEncodingParameters[0].ssrc),e.rtpSender.send(r)),n&&e.rtpReceiver&&0<r.codecs.length&&("video"===e.kind&&e.recvEncodingParameters&&O<15019&&e.recvEncodingParameters.forEach(function(e){delete e.rtx}),e.recvEncodingParameters.length&&(r.encodings=e.recvEncodingParameters),r.rtcp={compound:e.rtcpParameters.compound},e.rtcpParameters.cname&&(r.rtcp.cname=e.rtcpParameters.cname),e.sendEncodingParameters.length&&(r.rtcp.ssrc=e.sendEncodingParameters[0].ssrc),e.rtpReceiver.receive(r))},r.prototype.setLocalDescription=function(e){var t,f,d=this;if(-1===["offer","answer"].indexOf(e.type))return Promise.reject(m("TypeError",'Unsupported type "'+e.type+'"'));if(!a("setLocalDescription",e.type,d.signalingState)||d._isClosed)return Promise.reject(m("InvalidStateError","Can not set local "+e.type+" in state "+d.signalingState));if("offer"===e.type)t=N.splitSections(e.sdp),f=t.shift(),t.forEach(function(e,t){var n=N.parseRtpParameters(e);d.transceivers[t].localCapabilities=n}),d.transceivers.forEach(function(e,t){d._gather(e.mid,t)});else if("answer"===e.type){t=N.splitSections(d.remoteDescription.sdp),f=t.shift();var h=0<N.matchPrefix(f,"a=ice-lite").length;t.forEach(function(e,t){var n=d.transceivers[t],r=n.iceGatherer,i=n.iceTransport,a=n.dtlsTransport,o=n.localCapabilities,s=n.remoteCapabilities;if(!(N.isRejected(e)&&0===N.matchPrefix(e,"a=bundle-only").length)&&!n.isDatachannel){var c=N.getIceParameters(e,f),l=N.getDtlsParameters(e,f);h&&(l.role="server"),d.usingBundle&&0!==t||(d._gather(n.mid,t),"new"===i.state&&i.start(r,c,h?"controlling":"controlled"),"new"===a.state&&a.start(l));var u=p(o,s);d._transceive(n,0<u.codecs.length,!1)}})}return d.localDescription={type:e.type,sdp:e.sdp},"offer"===e.type?d._updateSignalingState("have-local-offer"):d._updateSignalingState("stable"),Promise.resolve()},r.prototype.setRemoteDescription=function(x){var k=this;if(-1===["offer","answer"].indexOf(x.type))return Promise.reject(m("TypeError",'Unsupported type "'+x.type+'"'));if(!a("setRemoteDescription",x.type,k.signalingState)||k._isClosed)return Promise.reject(m("InvalidStateError","Can not set remote "+x.type+" in state "+k.signalingState));var E={};k.remoteStreams.forEach(function(e){E[e.id]=e});var D=[],e=N.splitSections(x.sdp),I=e.shift(),P=0<N.matchPrefix(I,"a=ice-lite").length,M=0<N.matchPrefix(I,"a=group:BUNDLE ").length;k.usingBundle=M;var t=N.matchPrefix(I,"a=ice-options:")[0];return k.canTrickleIceCandidates=!!t&&0<=t.substr(14).split(" ").indexOf("trickle"),e.forEach(function(e,t){var n=N.splitLines(e),r=N.getKind(e),i=N.isRejected(e)&&0===N.matchPrefix(e,"a=bundle-only").length,a=n[0].substr(2).split(" ")[2],o=N.getDirection(e,I),s=N.parseMsid(e),c=N.getMid(e)||N.generateIdentifier();if("application"!==r||"DTLS/SCTP"!==a){var l,u,f,d,h,p,m,g,_,b,v,y=N.parseRtpParameters(e);i||(b=N.getIceParameters(e,I),(v=N.getDtlsParameters(e,I)).role="client"),m=N.parseRtpEncodingParameters(e);var w=N.parseRtcpParameters(e),C=0<N.matchPrefix(e,"a=end-of-candidates",I).length,A=N.matchPrefix(e,"a=candidate:").map(function(e){return N.parseCandidate(e)}).filter(function(e){return 1===e.component});if(("offer"===x.type||"answer"===x.type)&&!i&&M&&0<t&&k.transceivers[t]&&(k._disposeIceAndDtlsTransports(t),k.transceivers[t].iceGatherer=k.transceivers[0].iceGatherer,k.transceivers[t].iceTransport=k.transceivers[0].iceTransport,k.transceivers[t].dtlsTransport=k.transceivers[0].dtlsTransport,k.transceivers[t].rtpSender&&k.transceivers[t].rtpSender.setTransport(k.transceivers[0].dtlsTransport),k.transceivers[t].rtpReceiver&&k.transceivers[t].rtpReceiver.setTransport(k.transceivers[0].dtlsTransport)),"offer"!==x.type||i)"answer"!==x.type||i||(u=(l=k.transceivers[t]).iceGatherer,f=l.iceTransport,d=l.dtlsTransport,h=l.rtpReceiver,p=l.sendEncodingParameters,g=l.localCapabilities,k.transceivers[t].recvEncodingParameters=m,k.transceivers[t].remoteCapabilities=y,k.transceivers[t].rtcpParameters=w,A.length&&"new"===f.state&&(!P&&!C||M&&0!==t?A.forEach(function(e){L(l.iceTransport,e)}):f.setRemoteCandidates(A)),M&&0!==t||("new"===f.state&&f.start(u,b,"controlling"),"new"===d.state&&d.start(v)),k._transceive(l,"sendrecv"===o||"recvonly"===o,"sendrecv"===o||"sendonly"===o),!h||"sendrecv"!==o&&"sendonly"!==o?delete l.rtpReceiver:(_=h.track,s?(E[s.stream]||(E[s.stream]=new $.MediaStream),R(_,E[s.stream]),D.push([_,h,E[s.stream]])):(E.default||(E.default=new $.MediaStream),R(_,E.default),D.push([_,h,E.default]))));else{(l=k.transceivers[t]||k._createTransceiver(r)).mid=c,l.iceGatherer||(l.iceGatherer=k._createIceGatherer(t,M)),A.length&&"new"===l.iceTransport.state&&(!C||M&&0!==t?A.forEach(function(e){L(l.iceTransport,e)}):l.iceTransport.setRemoteCandidates(A)),g=$.RTCRtpReceiver.getCapabilities(r),O<15019&&(g.codecs=g.codecs.filter(function(e){return"rtx"!==e.name})),p=l.sendEncodingParameters||[{ssrc:1001*(2*t+2)}];var S,T=!1;if("sendrecv"===o||"sendonly"===o){if(T=!l.rtpReceiver,h=l.rtpReceiver||new $.RTCRtpReceiver(l.dtlsTransport,r),T)_=h.track,s&&"-"===s.stream||(S=s?(E[s.stream]||(E[s.stream]=new $.MediaStream,Object.defineProperty(E[s.stream],"id",{get:function(){return s.stream}})),Object.defineProperty(_,"id",{get:function(){return s.track}}),E[s.stream]):(E.default||(E.default=new $.MediaStream),E.default)),S&&(R(_,S),l.associatedRemoteMediaStreams.push(S)),D.push([_,h,S])}else l.rtpReceiver&&l.rtpReceiver.track&&(l.associatedRemoteMediaStreams.forEach(function(e){var t,n,r=e.getTracks().find(function(e){return e.id===l.rtpReceiver.track.id});r&&(t=r,(n=e).removeTrack(t),n.dispatchEvent(new $.MediaStreamTrackEvent("removetrack",{track:t})))}),l.associatedRemoteMediaStreams=[]);l.localCapabilities=g,l.remoteCapabilities=y,l.rtpReceiver=h,l.rtcpParameters=w,l.sendEncodingParameters=p,l.recvEncodingParameters=m,k._transceive(k.transceivers[t],!1,T)}}else k.transceivers[t]={mid:c,isDatachannel:!0}}),void 0===k._dtlsRole&&(k._dtlsRole="offer"===x.type?"active":"passive"),k.remoteDescription={type:x.type,sdp:x.sdp},"offer"===x.type?k._updateSignalingState("have-remote-offer"):k._updateSignalingState("stable"),Object.keys(E).forEach(function(e){var r=E[e];if(r.getTracks().length){if(-1===k.remoteStreams.indexOf(r)){k.remoteStreams.push(r);var t=new Event("addstream");t.stream=r,$.setTimeout(function(){k._dispatchEvent("addstream",t)})}D.forEach(function(e){var t=e[0],n=e[1];r.id===e[2].id&&i(k,t,n,[r])})}}),D.forEach(function(e){e[2]||i(k,e[0],e[1],[])}),$.setTimeout(function(){k&&k.transceivers&&k.transceivers.forEach(function(e){e.iceTransport&&"new"===e.iceTransport.state&&0<e.iceTransport.getRemoteCandidates().length&&(console.warn("Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification"),e.iceTransport.addRemoteCandidate({}))})},4e3),Promise.resolve()},r.prototype.close=function(){this.transceivers.forEach(function(e){e.iceTransport&&e.iceTransport.stop(),e.dtlsTransport&&e.dtlsTransport.stop(),e.rtpSender&&e.rtpSender.stop(),e.rtpReceiver&&e.rtpReceiver.stop()}),this._isClosed=!0,this._updateSignalingState("closed")},r.prototype._updateSignalingState=function(e){this.signalingState=e;var t=new Event("signalingstatechange");this._dispatchEvent("signalingstatechange",t)},r.prototype._maybeFireNegotiationNeeded=function(){var t=this;"stable"===this.signalingState&&!0!==this.needNegotiation&&(this.needNegotiation=!0,$.setTimeout(function(){if(t.needNegotiation){t.needNegotiation=!1;var e=new Event("negotiationneeded");t._dispatchEvent("negotiationneeded",e)}},0))},r.prototype._updateConnectionState=function(){var e,t={new:0,closed:0,connecting:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach(function(e){t[e.iceTransport.state]++,t[e.dtlsTransport.state]++}),t.connected+=t.completed,e="new",0<t.failed?e="failed":0<t.connecting||0<t.checking?e="connecting":0<t.disconnected?e="disconnected":0<t.new?e="new":(0<t.connected||0<t.completed)&&(e="connected"),e!==this.iceConnectionState){this.iceConnectionState=e;var n=new Event("iceconnectionstatechange");this._dispatchEvent("iceconnectionstatechange",n)}},r.prototype.createOffer=function(){var s=this;if(s._isClosed)return Promise.reject(m("InvalidStateError","Can not call createOffer after close"));var t=s.transceivers.filter(function(e){return"audio"===e.kind}).length,n=s.transceivers.filter(function(e){return"video"===e.kind}).length,e=arguments[0];if(e){if(e.mandatory||e.optional)throw new TypeError("Legacy mandatory/optional constraints not supported.");void 0!==e.offerToReceiveAudio&&(t=!0===e.offerToReceiveAudio?1:!1===e.offerToReceiveAudio?0:e.offerToReceiveAudio),void 0!==e.offerToReceiveVideo&&(n=!0===e.offerToReceiveVideo?1:!1===e.offerToReceiveVideo?0:e.offerToReceiveVideo)}for(s.transceivers.forEach(function(e){"audio"===e.kind?--t<0&&(e.wantReceive=!1):"video"===e.kind&&--n<0&&(e.wantReceive=!1)});0<t||0<n;)0<t&&(s._createTransceiver("audio"),t--),0<n&&(s._createTransceiver("video"),n--);var r=N.writeSessionBoilerplate(s._sdpSessionId,s._sdpSessionVersion++);s.transceivers.forEach(function(e,t){var n=e.track,r=e.kind,i=e.mid||N.generateIdentifier();e.mid=i,e.iceGatherer||(e.iceGatherer=s._createIceGatherer(t,s.usingBundle));var a=$.RTCRtpSender.getCapabilities(r);O<15019&&(a.codecs=a.codecs.filter(function(e){return"rtx"!==e.name})),a.codecs.forEach(function(e){"H264"===e.name&&void 0===e.parameters["level-asymmetry-allowed"]&&(e.parameters["level-asymmetry-allowed"]="1")});var o=e.sendEncodingParameters||[{ssrc:1001*(2*t+1)}];n&&15019<=O&&"video"===r&&!o[0].rtx&&(o[0].rtx={ssrc:o[0].ssrc+1}),e.wantReceive&&(e.rtpReceiver=new $.RTCRtpReceiver(e.dtlsTransport,r)),e.localCapabilities=a,e.sendEncodingParameters=o}),"max-compat"!==s._config.bundlePolicy&&(r+="a=group:BUNDLE "+s.transceivers.map(function(e){return e.mid}).join(" ")+"\r\n"),r+="a=ice-options:trickle\r\n",s.transceivers.forEach(function(e,t){r+=c(e,e.localCapabilities,"offer",e.stream,s._dtlsRole),r+="a=rtcp-rsize\r\n",!e.iceGatherer||"new"===s.iceGatheringState||0!==t&&s.usingBundle||(e.iceGatherer.getLocalCandidates().forEach(function(e){e.component=1,r+="a="+N.writeCandidate(e)+"\r\n"}),"completed"===e.iceGatherer.state&&(r+="a=end-of-candidates\r\n"))});var i=new $.RTCSessionDescription({type:"offer",sdp:r});return Promise.resolve(i)},r.prototype.createAnswer=function(){var i=this;if(i._isClosed)return Promise.reject(m("InvalidStateError","Can not call createAnswer after close"));var a=N.writeSessionBoilerplate(i._sdpSessionId,i._sdpSessionVersion++);i.usingBundle&&(a+="a=group:BUNDLE "+i.transceivers.map(function(e){return e.mid}).join(" ")+"\r\n");var o=N.splitSections(i.remoteDescription.sdp).length-1;i.transceivers.forEach(function(e,t){if(!(o<t+1))if(e.isDatachannel)a+="m=application 0 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=mid:"+e.mid+"\r\n";else{var n;if(e.stream)"audio"===e.kind?n=e.stream.getAudioTracks()[0]:"video"===e.kind&&(n=e.stream.getVideoTracks()[0]),n&&15019<=O&&"video"===e.kind&&!e.sendEncodingParameters[0].rtx&&(e.sendEncodingParameters[0].rtx={ssrc:e.sendEncodingParameters[0].ssrc+1});var r=p(e.localCapabilities,e.remoteCapabilities);!r.codecs.filter(function(e){return"rtx"===e.name.toLowerCase()}).length&&e.sendEncodingParameters[0].rtx&&delete e.sendEncodingParameters[0].rtx,a+=c(e,r,"answer",e.stream,i._dtlsRole),e.rtcpParameters&&e.rtcpParameters.reducedSize&&(a+="a=rtcp-rsize\r\n")}});var e=new $.RTCSessionDescription({type:"answer",sdp:a});return Promise.resolve(e)},r.prototype.addIceCandidate=function(c){var l,u=this;return c&&void 0===c.sdpMLineIndex&&!c.sdpMid?Promise.reject(new TypeError("sdpMLineIndex or sdpMid required")):new Promise(function(e,t){if(!u.remoteDescription)return t(m("InvalidStateError","Can not add ICE candidate without a remote description"));if(c&&""!==c.candidate){var n=c.sdpMLineIndex;if(c.sdpMid)for(var r=0;r<u.transceivers.length;r++)if(u.transceivers[r].mid===c.sdpMid){n=r;break}var i=u.transceivers[n];if(!i)return t(m("OperationError","Can not add ICE candidate"));if(i.isDatachannel)return e();var a=0<Object.keys(c.candidate).length?N.parseCandidate(c.candidate):{};if("tcp"===a.protocol&&(0===a.port||9===a.port))return e();if(a.component&&1!==a.component)return e();if((0===n||0<n&&i.iceTransport!==u.transceivers[0].iceTransport)&&!L(i.iceTransport,a))return t(m("OperationError","Can not add ICE candidate"));var o=c.candidate.trim();0===o.indexOf("a=")&&(o=o.substr(2)),(l=N.splitSections(u.remoteDescription.sdp))[n+1]+="a="+(a.type?o:"end-of-candidates")+"\r\n",u.remoteDescription.sdp=l.join("")}else for(var s=0;s<u.transceivers.length&&(u.transceivers[s].isDatachannel||(u.transceivers[s].iceTransport.addRemoteCandidate({}),(l=N.splitSections(u.remoteDescription.sdp))[s+1]+="a=end-of-candidates\r\n",u.remoteDescription.sdp=l.join(""),!u.usingBundle));s++);e()})},r.prototype.getStats=function(){var n=[];this.transceivers.forEach(function(t){["rtpSender","rtpReceiver","iceGatherer","iceTransport","dtlsTransport"].forEach(function(e){t[e]&&n.push(t[e].getStats())})});return new Promise(function(t){var r=new Map;Promise.all(n).then(function(e){e.forEach(function(n){Object.keys(n).forEach(function(e){var t;n[e].type={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[(t=n[e]).type]||t.type,r.set(e,n[e])})}),t(r)})})};var e=["createOffer","createAnswer"];return e.forEach(function(e){var n=r.prototype[e];r.prototype[e]=function(){var t=arguments;return"function"==typeof t[0]||"function"==typeof t[1]?n.apply(this,[arguments[2]]).then(function(e){"function"==typeof t[0]&&t[0].apply(null,[e])},function(e){"function"==typeof t[1]&&t[1].apply(null,[e])}):n.apply(this,arguments)}}),(e=["setLocalDescription","setRemoteDescription","addIceCandidate"]).forEach(function(e){var n=r.prototype[e];r.prototype[e]=function(){var t=arguments;return"function"==typeof t[1]||"function"==typeof t[2]?n.apply(this,arguments).then(function(){"function"==typeof t[1]&&t[1].apply(null)},function(e){"function"==typeof t[2]&&t[2].apply(null,[e])}):n.apply(this,arguments)}}),["getStats"].forEach(function(e){var t=r.prototype[e];r.prototype[e]=function(){var e=arguments;return"function"==typeof e[1]?t.apply(this,arguments).then(function(){"function"==typeof e[1]&&e[1].apply(null)}):t.apply(this,arguments)}}),r}},{sdp:39}],35:[function(e,t,n){var r=t.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w\/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-\.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(e){return e.encoding?"rtpmap:%d %s/%s/%s":e.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(e){return null!=e.address?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%d trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(e){return null!=e.subtype?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))? (\S*)(?: (\S*))?/,names:["value","direction","uri","config"],format:function(e){return"extmap:%d"+(e.direction?"/%s":"%v")+" %s"+(e.config?" %s":"")}},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(e){return null!=e.sessionConfig?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(e){var t="candidate:%s %d %s %d %s %d typ %s";return t+=null!=e.raddr?" raddr %s rport %d":"%v%v",t+=null!=e.tcptype?" tcptype %s":"%v",null!=e.generation&&(t+=" generation %d"),t+=null!=e["network-id"]?" network-id %d":"%v",t+=null!=e["network-cost"]?" network-cost %d":"%v"}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_-]*)(?::(.*))?/,names:["id","attribute","value"],format:function(e){var t="ssrc:%d";return null!=e.attribute&&(t+=" %s",null!=e.value&&(t+=":%s")),t}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_\/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(e){return null!=e.maxMessageSize?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(e){return e.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(e){return"imageattr:%s %s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(e){return"simulcast:%s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{push:"invalid",names:["value"]}]};Object.keys(r).forEach(function(e){r[e].forEach(function(e){e.reg||(e.reg=/(.*)/),e.format||(e.format="%s")})})},{}],36:[function(e,t,n){var r=e("./parser"),i=e("./writer");n.write=i,n.parse=r.parse,n.parseFmtpConfig=r.parseFmtpConfig,n.parseParams=r.parseParams,n.parsePayloads=r.parsePayloads,n.parseRemoteCandidates=r.parseRemoteCandidates,n.parseImageAttributes=r.parseImageAttributes,n.parseSimulcastStreamList=r.parseSimulcastStreamList},{"./parser":37,"./writer":38}],37:[function(e,t,n){var a=function(e){return String(Number(e))===e?Number(e):e},s=function(e,t,n){var r=e.name&&e.names;e.push&&!t[e.push]?t[e.push]=[]:r&&!t[e.name]&&(t[e.name]={});var i=e.push?{}:r?t[e.name]:t;!function(e,t,n,r){if(r&&!n)t[r]=a(e[1]);else for(var i=0;i<n.length;i+=1)null!=e[i+1]&&(t[n[i]]=a(e[i+1]))}(n.match(e.reg),i,e.names,e.name),e.push&&t[e.push].push(i)},c=e("./grammar"),r=RegExp.prototype.test.bind(/^([a-z])=(.*)/);n.parse=function(e){var t={},a=[],o=t;return e.split(/(\r\n|\r|\n)/).filter(r).forEach(function(e){var t=e[0],n=e.slice(2);"m"===t&&(a.push({rtp:[],fmtp:[]}),o=a[a.length-1]);for(var r=0;r<(c[t]||[]).length;r+=1){var i=c[t][r];if(i.reg.test(n))return s(i,o,n)}}),t.media=a,t};var i=function(e,t){var n=t.split(/=(.+)/,2);return 2===n.length&&(e[n[0]]=a(n[1])),e};n.parseParams=function(e){return e.split(/\;\s?/).reduce(i,{})},n.parseFmtpConfig=n.parseParams,n.parsePayloads=function(e){return e.split(" ").map(Number)},n.parseRemoteCandidates=function(e){for(var t=[],n=e.split(" ").map(a),r=0;r<n.length;r+=3)t.push({component:n[r],ip:n[r+1],port:n[r+2]});return t},n.parseImageAttributes=function(e){return e.split(" ").map(function(e){return e.substring(1,e.length-1).split(",").reduce(i,{})})},n.parseSimulcastStreamList=function(e){return e.split(";").map(function(e){return e.split(",").map(function(e){var t,n=!1;return"~"!==e[0]?t=a(e):(t=a(e.substring(1,e.length)),n=!0),{scid:t,paused:n}})})}},{"./grammar":35}],38:[function(e,t,n){var a=e("./grammar"),o=/%[sdv%]/g,s=function(e,t,n){var r=[e+"="+(t.format instanceof Function?t.format(t.push?n:n[t.name]):t.format)];if(t.names)for(var i=0;i<t.names.length;i+=1){var a=t.names[i];t.name?r.push(n[t.name][a]):r.push(n[t.names[i]])}else r.push(n[t.name]);return function(e){var n=1,r=arguments,i=r.length;return e.replace(o,function(e){if(i<=n)return e;var t=r[n];switch(n+=1,e){case"%%":return"%";case"%s":return String(t);case"%d":return Number(t);case"%v":return""}})}.apply(null,r)},c=["v","o","s","i","u","e","p","c","b","t","r","z","a"],l=["i","c","b","a"];t.exports=function(e,t){t=t||{},null==e.version&&(e.version=0),null==e.name&&(e.name=" "),e.media.forEach(function(e){null==e.payloads&&(e.payloads="")});var n=t.outerOrder||c,r=t.innerOrder||l,i=[];return n.forEach(function(n){a[n].forEach(function(t){t.name in e&&null!=e[t.name]?i.push(s(n,t,e)):t.push in e&&null!=e[t.push]&&e[t.push].forEach(function(e){i.push(s(n,t,e))})})}),e.media.forEach(function(e){i.push(s("m",a.m[0],e)),r.forEach(function(n){a[n].forEach(function(t){t.name in e&&null!=e[t.name]?i.push(s(n,t,e)):t.push in e&&null!=e[t.push]&&e[t.push].forEach(function(e){i.push(s(n,t,e))})})})}),i.join("\r\n")+"\r\n"}},{"./grammar":35}],39:[function(e,t,n){"use strict";var u={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};u.localCName=u.generateIdentifier(),u.splitLines=function(e){return e.trim().split("\n").map(function(e){return e.trim()})},u.splitSections=function(e){return e.split("\nm=").map(function(e,t){return(0<t?"m="+e:e).trim()+"\r\n"})},u.matchPrefix=function(e,t){return u.splitLines(e).filter(function(e){return 0===e.indexOf(t)})},u.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:parseInt(t[1],10),protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],port:parseInt(t[5],10),type:t[7]},r=8;r<t.length;r+=2)switch(t[r]){case"raddr":n.relatedAddress=t[r+1];break;case"rport":n.relatedPort=parseInt(t[r+1],10);break;case"tcptype":n.tcpType=t[r+1];break;case"ufrag":n.ufrag=t[r+1],n.usernameFragment=t[r+1];break;default:n[t[r]]=t[r+1]}return n},u.writeCandidate=function(e){var t=[];t.push(e.foundation),t.push(e.component),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.ip),t.push(e.port);var n=e.type;return t.push("typ"),t.push(n),"host"!==n&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),e.ufrag&&(t.push("ufrag"),t.push(e.ufrag)),"candidate:"+t.join(" ")},u.parseIceOptions=function(e){return e.substr(14).split(" ")},u.parseRtpMap=function(e){var t=e.substr(9).split(" "),n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.numChannels=3===t.length?parseInt(t[2],10):1,n},u.writeRtpMap=function(e){var t=e.payloadType;return void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType),"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==e.numChannels?"/"+e.numChannels:"")+"\r\n"},u.parseExtmap=function(e){var t=e.substr(9).split(" ");return{id:parseInt(t[0],10),direction:0<t[0].indexOf("/")?t[0].split("/")[1]:"sendrecv",uri:t[1]}},u.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},u.parseFmtp=function(e){for(var t,n={},r=e.substr(e.indexOf(" ")+1).split(";"),i=0;i<r.length;i++)n[(t=r[i].trim().split("="))[0].trim()]=t[1];return n},u.writeFmtp=function(t){var e="",n=t.payloadType;if(void 0!==t.preferredPayloadType&&(n=t.preferredPayloadType),t.parameters&&Object.keys(t.parameters).length){var r=[];Object.keys(t.parameters).forEach(function(e){r.push(e+"="+t.parameters[e])}),e+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return e},u.parseRtcpFb=function(e){var t=e.substr(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},u.writeRtcpFb=function(e){var t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(function(e){t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},u.parseSsrcMedia=function(e){var t=e.indexOf(" "),n={ssrc:parseInt(e.substr(7,t-7),10)},r=e.indexOf(":",t);return-1<r?(n.attribute=e.substr(t+1,r-t-1),n.value=e.substr(r+1)):n.attribute=e.substr(t+1),n},u.getMid=function(e){var t=u.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},u.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},u.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:u.matchPrefix(e+t,"a=fingerprint:").map(u.parseFingerprint)}},u.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},u.getIceParameters=function(e,t){var n=u.splitLines(e);return{usernameFragment:(n=n.concat(u.splitLines(t))).filter(function(e){return 0===e.indexOf("a=ice-ufrag:")})[0].substr(12),password:n.filter(function(e){return 0===e.indexOf("a=ice-pwd:")})[0].substr(10)}},u.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},u.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=u.splitLines(e)[0].split(" "),r=3;r<n.length;r++){var i=n[r],a=u.matchPrefix(e,"a=rtpmap:"+i+" ")[0];if(a){var o=u.parseRtpMap(a),s=u.matchPrefix(e,"a=fmtp:"+i+" ");switch(o.parameters=s.length?u.parseFmtp(s[0]):{},o.rtcpFeedback=u.matchPrefix(e,"a=rtcp-fb:"+i+" ").map(u.parseRtcpFb),t.codecs.push(o),o.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(o.name.toUpperCase())}}}return u.matchPrefix(e,"a=extmap:").forEach(function(e){t.headerExtensions.push(u.parseExtmap(e))}),t},u.writeRtpDescription=function(e,t){var n="";n+="m="+e+" ",n+=0<t.codecs.length?"9":"0",n+=" UDP/TLS/RTP/SAVPF ",n+=t.codecs.map(function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType}).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(function(e){n+=u.writeRtpMap(e),n+=u.writeFmtp(e),n+=u.writeRtcpFb(e)});var r=0;return t.codecs.forEach(function(e){e.maxptime>r&&(r=e.maxptime)}),0<r&&(n+="a=maxptime:"+r+"\r\n"),n+="a=rtcp-mux\r\n",t.headerExtensions.forEach(function(e){n+=u.writeExtmap(e)}),n},u.parseRtpEncodingParameters=function(e){var n,r=[],t=u.parseRtpParameters(e),i=-1!==t.fecMechanisms.indexOf("RED"),a=-1!==t.fecMechanisms.indexOf("ULPFEC"),o=u.matchPrefix(e,"a=ssrc:").map(function(e){return u.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute}),s=0<o.length&&o[0].ssrc,c=u.matchPrefix(e,"a=ssrc-group:FID").map(function(e){var t=e.split(" ");return t.shift(),t.map(function(e){return parseInt(e,10)})});0<c.length&&1<c[0].length&&c[0][0]===s&&(n=c[0][1]),t.codecs.forEach(function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var t={ssrc:s,codecPayloadType:parseInt(e.parameters.apt,10),rtx:{ssrc:n}};r.push(t),i&&((t=JSON.parse(JSON.stringify(t))).fec={ssrc:n,mechanism:a?"red+ulpfec":"red"},r.push(t))}}),0===r.length&&s&&r.push({ssrc:s});var l=u.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substr(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substr(5),10)*.95-16e3:void 0,r.forEach(function(e){e.maxBitrate=l})),r},u.parseRtcpParameters=function(e){var t={},n=u.matchPrefix(e,"a=ssrc:").map(function(e){return u.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute})[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);var r=u.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=0<r.length,t.compound=0===r.length;var i=u.matchPrefix(e,"a=rtcp-mux");return t.mux=0<i.length,t},u.parseMsid=function(e){var t,n=u.matchPrefix(e,"a=msid:");if(1===n.length)return{stream:(t=n[0].substr(7).split(" "))[0],track:t[1]};var r=u.matchPrefix(e,"a=ssrc:").map(function(e){return u.parseSsrcMedia(e)}).filter(function(e){return"msid"===e.attribute});return 0<r.length?{stream:(t=r[0].value.split(" "))[0],track:t[1]}:void 0},u.generateSessionId=function(){return Math.random().toString().substr(2,21)},u.writeSessionBoilerplate=function(e,t){var n=void 0!==t?t:2;return"v=0\r\no=thisisadapterortc "+(e||u.generateSessionId())+" "+n+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},u.writeMediaSection=function(e,t,n,r){var i=u.writeRtpDescription(e.kind,t);if(i+=u.writeIceParameters(e.iceGatherer.getLocalParameters()),i+=u.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===n?"actpass":"active"),i+="a=mid:"+e.mid+"\r\n",e.direction?i+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?i+="a=sendrecv\r\n":e.rtpSender?i+="a=sendonly\r\n":e.rtpReceiver?i+="a=recvonly\r\n":i+="a=inactive\r\n",e.rtpSender){var a="msid:"+r.id+" "+e.rtpSender.track.id+"\r\n";i+="a="+a,i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+a,e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+a,i+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+u.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+u.localCName+"\r\n"),i},u.getDirection=function(e,t){for(var n=u.splitLines(e),r=0;r<n.length;r++)switch(n[r]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[r].substr(2)}return t?u.getDirection(t):"sendrecv"},u.getKind=function(e){return u.splitLines(e)[0].split(" ")[0].substr(2)},u.isRejected=function(e){return"0"===e.split(" ",2)[1]},u.parseMLine=function(e){var t=u.splitLines(e)[0].split(" ");return{kind:t[0].substr(2),port:parseInt(t[1],10),protocol:t[2],fmt:t.slice(3).join(" ")}},"object"==typeof t&&(t.exports=u)},{}],40:[function(n,r,e){(function(e){"use strict";var t=n("./adapter_factory.js");r.exports=t({window:e.window})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./adapter_factory.js":41}],41:[function(h,e,t){"use strict";var p=h("./utils");e.exports=function(e,t){var n=e&&e.window,r={shimChrome:!0,shimFirefox:!0,shimEdge:!0,shimSafari:!0};for(var i in t)hasOwnProperty.call(t,i)&&(r[i]=t[i]);var a=p.log,o=p.detectBrowser(n),s={browserDetails:o,extractVersion:p.extractVersion,disableLog:p.disableLog,disableWarnings:p.disableWarnings},c=h("./chrome/chrome_shim")||null,l=h("./edge/edge_shim")||null,u=h("./firefox/firefox_shim")||null,f=h("./safari/safari_shim")||null,d=h("./common_shim")||null;switch(o.browser){case"chrome":if(!c||!c.shimPeerConnection||!r.shimChrome)return a("Chrome shim is not included in this adapter release."),s;a("adapter.js shimming chrome."),s.browserShim=c,d.shimCreateObjectURL(n),c.shimGetUserMedia(n),c.shimMediaStream(n),c.shimSourceObject(n),c.shimPeerConnection(n),c.shimOnTrack(n),c.shimAddTrackRemoveTrack(n),c.shimGetSendersWithDtmf(n),d.shimRTCIceCandidate(n);break;case"firefox":if(!u||!u.shimPeerConnection||!r.shimFirefox)return a("Firefox shim is not included in this adapter release."),s;a("adapter.js shimming firefox."),s.browserShim=u,d.shimCreateObjectURL(n),u.shimGetUserMedia(n),u.shimSourceObject(n),u.shimPeerConnection(n),u.shimOnTrack(n),u.shimRemoveStream(n),d.shimRTCIceCandidate(n);break;case"edge":if(!l||!l.shimPeerConnection||!r.shimEdge)return a("MS edge shim is not included in this adapter release."),s;a("adapter.js shimming edge."),s.browserShim=l,d.shimCreateObjectURL(n),l.shimGetUserMedia(n),l.shimPeerConnection(n),l.shimReplaceTrack(n);break;case"safari":if(!f||!r.shimSafari)return a("Safari shim is not included in this adapter release."),s;a("adapter.js shimming safari."),s.browserShim=f,d.shimCreateObjectURL(n),f.shimRTCIceServerUrls(n),f.shimCallbacksAPI(n),f.shimLocalStreamsAPI(n),f.shimRemoteStreamsAPI(n),f.shimTrackEventTransceiver(n),f.shimGetUserMedia(n),f.shimCreateOfferLegacy(n),d.shimRTCIceCandidate(n);break;default:a("Unsupported browser!")}return s}},{"./chrome/chrome_shim":42,"./common_shim":44,"./edge/edge_shim":45,"./firefox/firefox_shim":47,"./safari/safari_shim":49,"./utils":50}],42:[function(e,t,n){"use strict";var c=e("../utils.js"),r=c.log;t.exports={shimGetUserMedia:e("./getusermedia"),shimMediaStream:function(e){e.MediaStream=e.MediaStream||e.webkitMediaStream},shimOnTrack:function(a){if("object"==typeof a&&a.RTCPeerConnection&&!("ontrack"in a.RTCPeerConnection.prototype)){Object.defineProperty(a.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)}});var e=a.RTCPeerConnection.prototype.setRemoteDescription;a.RTCPeerConnection.prototype.setRemoteDescription=function(){var i=this;return i._ontrackpoly||(i._ontrackpoly=function(r){r.stream.addEventListener("addtrack",function(t){var e;e=a.RTCPeerConnection.prototype.getReceivers?i.getReceivers().find(function(e){return e.track&&e.track.id===t.track.id}):{track:t.track};var n=new Event("track");n.track=t.track,n.receiver=e,n.transceiver={receiver:e},n.streams=[r.stream],i.dispatchEvent(n)}),r.stream.getTracks().forEach(function(t){var e;e=a.RTCPeerConnection.prototype.getReceivers?i.getReceivers().find(function(e){return e.track&&e.track.id===t.id}):{track:t};var n=new Event("track");n.track=t,n.receiver=e,n.transceiver={receiver:e},n.streams=[r.stream],i.dispatchEvent(n)})},i.addEventListener("addstream",i._ontrackpoly)),e.apply(i,arguments)}}},shimGetSendersWithDtmf:function(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){var r=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var i=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,t){var n=i.apply(this,arguments);return n||(n=r(this,e),this._senders.push(n)),n};var n=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){n.apply(this,arguments);var t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}var a=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var t=this;t._senders=t._senders||[],a.apply(t,[e]),e.getTracks().forEach(function(e){t._senders.push(r(t,e))})};var t=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){var n=this;n._senders=n._senders||[],t.apply(n,[e]),e.getTracks().forEach(function(t){var e=n._senders.find(function(e){return e.track===t});e&&n._senders.splice(n._senders.indexOf(e),1)})}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){var o=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){var t=this,e=o.apply(t,[]);return e.forEach(function(e){e._pc=t}),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}},shimSourceObject:function(e){var n=e&&e.URL;"object"==typeof e&&(!e.HTMLMediaElement||"srcObject"in e.HTMLMediaElement.prototype||Object.defineProperty(e.HTMLMediaElement.prototype,"srcObject",{get:function(){return this._srcObject},set:function(e){var t=this;this._srcObject=e,this.src&&n.revokeObjectURL(this.src),e?(this.src=n.createObjectURL(e),e.addEventListener("addtrack",function(){t.src&&n.revokeObjectURL(t.src),t.src=n.createObjectURL(e)}),e.addEventListener("removetrack",function(){t.src&&n.revokeObjectURL(t.src),t.src=n.createObjectURL(e)})):this.src=""}}))},shimAddTrackRemoveTrackWithNative:function(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){var t=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(function(e){return t._shimmedLocalStreams[e][0]})};var r=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,t){if(!t)return r.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};var n=r.apply(this,arguments);return this._shimmedLocalStreams[t.id]?-1===this._shimmedLocalStreams[t.id].indexOf(n)&&this._shimmedLocalStreams[t.id].push(n):this._shimmedLocalStreams[t.id]=[t,n],n};var i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach(function(t){if(n.getSenders().find(function(e){return e.track===t}))throw new DOMException("Track already exists.","InvalidAccessError")});var t=n.getSenders();i.apply(this,arguments);var r=n.getSenders().filter(function(e){return-1===t.indexOf(e)});this._shimmedLocalStreams[e.id]=[e].concat(r)};var t=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],t.apply(this,arguments)};var a=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(n){var r=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},n&&Object.keys(this._shimmedLocalStreams).forEach(function(e){var t=r._shimmedLocalStreams[e].indexOf(n);-1!==t&&r._shimmedLocalStreams[e].splice(t,1),1===r._shimmedLocalStreams[e].length&&delete r._shimmedLocalStreams[e]}),a.apply(this,arguments)}},shimAddTrackRemoveTrack:function(o){var e=c.detectBrowser(o);if(o.RTCPeerConnection.prototype.addTrack&&65<=e.version)return this.shimAddTrackRemoveTrackWithNative(o);var n=o.RTCPeerConnection.prototype.getLocalStreams;o.RTCPeerConnection.prototype.getLocalStreams=function(){var t=this,e=n.apply(this);return t._reverseStreams=t._reverseStreams||{},e.map(function(e){return t._reverseStreams[e.id]})};var r=o.RTCPeerConnection.prototype.addStream;o.RTCPeerConnection.prototype.addStream=function(e){var n=this;if(n._streams=n._streams||{},n._reverseStreams=n._reverseStreams||{},e.getTracks().forEach(function(t){if(n.getSenders().find(function(e){return e.track===t}))throw new DOMException("Track already exists.","InvalidAccessError")}),!n._reverseStreams[e.id]){var t=new o.MediaStream(e.getTracks());n._streams[e.id]=t,n._reverseStreams[t.id]=e,e=t}r.apply(n,[e])};var i=o.RTCPeerConnection.prototype.removeStream;function a(r,e){var i=e.sdp;return Object.keys(r._reverseStreams||[]).forEach(function(e){var t=r._reverseStreams[e],n=r._streams[t.id];i=i.replace(new RegExp(n.id,"g"),t.id)}),new RTCSessionDescription({type:e.type,sdp:i})}o.RTCPeerConnection.prototype.removeStream=function(e){var t=this;t._streams=t._streams||{},t._reverseStreams=t._reverseStreams||{},i.apply(t,[t._streams[e.id]||e]),delete t._reverseStreams[t._streams[e.id]?t._streams[e.id].id:e.id],delete t._streams[e.id]},o.RTCPeerConnection.prototype.addTrack=function(t,e){var n=this;if("closed"===n.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");var r=[].slice.call(arguments,1);if(1!==r.length||!r[0].getTracks().find(function(e){return e===t}))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(n.getSenders().find(function(e){return e.track===t}))throw new DOMException("Track already exists.","InvalidAccessError");n._streams=n._streams||{},n._reverseStreams=n._reverseStreams||{};var i=n._streams[e.id];if(i)i.addTrack(t),Promise.resolve().then(function(){n.dispatchEvent(new Event("negotiationneeded"))});else{var a=new o.MediaStream([t]);n._streams[e.id]=a,n._reverseStreams[a.id]=e,n.addStream(a)}return n.getSenders().find(function(e){return e.track===t})},["createOffer","createAnswer"].forEach(function(e){var t=o.RTCPeerConnection.prototype[e];o.RTCPeerConnection.prototype[e]=function(){var n=this,r=arguments;return arguments.length&&"function"==typeof arguments[0]?t.apply(n,[function(e){var t=a(n,e);r[0].apply(null,[t])},function(e){r[1]&&r[1].apply(null,e)},arguments[2]]):t.apply(n,arguments).then(function(e){return a(n,e)})}});var t=o.RTCPeerConnection.prototype.setLocalDescription;o.RTCPeerConnection.prototype.setLocalDescription=function(){var r,e,i;return arguments.length&&arguments[0].type&&(arguments[0]=(r=this,e=arguments[0],i=e.sdp,Object.keys(r._reverseStreams||[]).forEach(function(e){var t=r._reverseStreams[e],n=r._streams[t.id];i=i.replace(new RegExp(t.id,"g"),n.id)}),new RTCSessionDescription({type:e.type,sdp:i}))),t.apply(this,arguments)};var s=Object.getOwnPropertyDescriptor(o.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(o.RTCPeerConnection.prototype,"localDescription",{get:function(){var e=s.get.apply(this);return""===e.type?e:a(this,e)}}),o.RTCPeerConnection.prototype.removeTrack=function(t){var n,r=this;if("closed"===r.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!t._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(t._pc===r))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");r._streams=r._streams||{},Object.keys(r._streams).forEach(function(e){r._streams[e].getTracks().find(function(e){return t.track===e})&&(n=r._streams[e])}),n&&(1===n.getTracks().length?r.removeStream(r._reverseStreams[n.id]):n.removeTrack(t.track),r.dispatchEvent(new Event("negotiationneeded")))}},shimPeerConnection:function(n){var e=c.detectBrowser(n);if(n.RTCPeerConnection){var a=n.RTCPeerConnection;n.RTCPeerConnection=function(e,t){if(e&&e.iceServers){for(var n=[],r=0;r<e.iceServers.length;r++){var i=e.iceServers[r];!i.hasOwnProperty("urls")&&i.hasOwnProperty("url")?(c.deprecated("RTCIceServer.url","RTCIceServer.urls"),(i=JSON.parse(JSON.stringify(i))).urls=i.url,n.push(i)):n.push(e.iceServers[r])}e.iceServers=n}return new a(e,t)},n.RTCPeerConnection.prototype=a.prototype,Object.defineProperty(n.RTCPeerConnection,"generateCertificate",{get:function(){return a.generateCertificate}})}else n.RTCPeerConnection=function(e,t){return r("PeerConnection"),e&&e.iceTransportPolicy&&(e.iceTransports=e.iceTransportPolicy),new n.webkitRTCPeerConnection(e,t)},n.RTCPeerConnection.prototype=n.webkitRTCPeerConnection.prototype,n.webkitRTCPeerConnection.generateCertificate&&Object.defineProperty(n.RTCPeerConnection,"generateCertificate",{get:function(){return n.webkitRTCPeerConnection.generateCertificate}});var s=n.RTCPeerConnection.prototype.getStats;n.RTCPeerConnection.prototype.getStats=function(e,t,n){var r=this,i=arguments;if(0<arguments.length&&"function"==typeof e)return s.apply(this,arguments);if(0===s.length&&(0===arguments.length||"function"!=typeof e))return s.apply(this,[]);var a=function(e){var r={};return e.result().forEach(function(t){var n={id:t.id,timestamp:t.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[t.type]||t.type};t.names().forEach(function(e){n[e]=t.stat(e)}),r[n.id]=n}),r},o=function(t){return new Map(Object.keys(t).map(function(e){return[e,t[e]]}))};if(2<=arguments.length){return s.apply(this,[function(e){i[1](o(a(e)))},e])}return new Promise(function(t,e){s.apply(r,[function(e){t(o(a(e)))},e])}).then(t,n)},e.version<51&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var i=n.RTCPeerConnection.prototype[e];n.RTCPeerConnection.prototype[e]=function(){var n=arguments,r=this,e=new Promise(function(e,t){i.apply(r,[n[0],e,t])});return n.length<2?e:e.then(function(){n[1].apply(null,[])},function(e){3<=n.length&&n[2].apply(null,[e])})}}),e.version<52&&["createOffer","createAnswer"].forEach(function(e){var i=n.RTCPeerConnection.prototype[e];n.RTCPeerConnection.prototype[e]=function(){var n=this;if(arguments.length<1||1===arguments.length&&"object"==typeof arguments[0]){var r=1===arguments.length?arguments[0]:void 0;return new Promise(function(e,t){i.apply(n,[e,t,r])})}return i.apply(this,arguments)}}),["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=n.RTCPeerConnection.prototype[e];n.RTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?n.RTCIceCandidate:n.RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}});var t=n.RTCPeerConnection.prototype.addIceCandidate;n.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?t.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())}}}},{"../utils.js":50,"./getusermedia":43}],43:[function(e,t,n){"use strict";var a=e("../utils.js"),l=a.log;t.exports=function(e){var o=a.detectBrowser(e),s=e&&e.navigator,c=function(i){if("object"!=typeof i||i.mandatory||i.optional)return i;var a={};return Object.keys(i).forEach(function(t){if("require"!==t&&"advanced"!==t&&"mediaSource"!==t){var n="object"==typeof i[t]?i[t]:{ideal:i[t]};void 0!==n.exact&&"number"==typeof n.exact&&(n.min=n.max=n.exact);var r=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==n.ideal){a.optional=a.optional||[];var e={};"number"==typeof n.ideal?(e[r("min",t)]=n.ideal,a.optional.push(e),(e={})[r("max",t)]=n.ideal):e[r("",t)]=n.ideal,a.optional.push(e)}void 0!==n.exact&&"number"!=typeof n.exact?(a.mandatory=a.mandatory||{},a.mandatory[r("",t)]=n.exact):["min","max"].forEach(function(e){void 0!==n[e]&&(a.mandatory=a.mandatory||{},a.mandatory[r(e,t)]=n[e])})}}),i.advanced&&(a.optional=(a.optional||[]).concat(i.advanced)),a},r=function(n,r){if(61<=o.version)return r(n);if((n=JSON.parse(JSON.stringify(n)))&&"object"==typeof n.audio){var e=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};e((n=JSON.parse(JSON.stringify(n))).audio,"autoGainControl","googAutoGainControl"),e(n.audio,"noiseSuppression","googNoiseSuppression"),n.audio=c(n.audio)}if(n&&"object"==typeof n.video){var i=n.video.facingMode;i=i&&("object"==typeof i?i:{ideal:i});var a,t=o.version<66;if(i&&("user"===i.exact||"environment"===i.exact||"user"===i.ideal||"environment"===i.ideal)&&(!s.mediaDevices.getSupportedConstraints||!s.mediaDevices.getSupportedConstraints().facingMode||t))if(delete n.video.facingMode,"environment"===i.exact||"environment"===i.ideal?a=["back","rear"]:"user"!==i.exact&&"user"!==i.ideal||(a=["front"]),a)return s.mediaDevices.enumerateDevices().then(function(e){var t=(e=e.filter(function(e){return"videoinput"===e.kind})).find(function(t){return a.some(function(e){return-1!==t.label.toLowerCase().indexOf(e)})});return!t&&e.length&&-1!==a.indexOf("back")&&(t=e[e.length-1]),t&&(n.video.deviceId=i.exact?{exact:t.deviceId}:{ideal:t.deviceId}),n.video=c(n.video),l("chrome: "+JSON.stringify(n)),r(n)});n.video=c(n.video)}return l("chrome: "+JSON.stringify(n)),r(n)},i=function(e){return{name:{PermissionDeniedError:"NotAllowedError",InvalidStateError:"NotReadableError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotReadableError",MediaDeviceKillSwitchOn:"NotReadableError"}[e.name]||e.name,message:e.message,constraint:e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};s.getUserMedia=function(e,t,n){r(e,function(e){s.webkitGetUserMedia(e,t,function(e){n&&n(i(e))})})};var t=function(n){return new Promise(function(e,t){s.getUserMedia(n,e,t)})};if(s.mediaDevices||(s.mediaDevices={getUserMedia:t,enumerateDevices:function(){return new Promise(function(t){var n={audio:"audioinput",video:"videoinput"};return e.MediaStreamTrack.getSources(function(e){t(e.map(function(e){return{label:e.label,kind:n[e.kind],deviceId:e.id,groupId:""}}))})})},getSupportedConstraints:function(){return{deviceId:!0,echoCancellation:!0,facingMode:!0,frameRate:!0,height:!0,width:!0}}}),s.mediaDevices.getUserMedia){var n=s.mediaDevices.getUserMedia.bind(s.mediaDevices);s.mediaDevices.getUserMedia=function(e){return r(e,function(t){return n(t).then(function(e){if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(function(e){e.stop()}),new DOMException("","NotFoundError");return e},function(e){return Promise.reject(i(e))})})}}else s.mediaDevices.getUserMedia=function(e){return t(e)};void 0===s.mediaDevices.addEventListener&&(s.mediaDevices.addEventListener=function(){l("Dummy mediaDevices.addEventListener called.")}),void 0===s.mediaDevices.removeEventListener&&(s.mediaDevices.removeEventListener=function(){l("Dummy mediaDevices.removeEventListener called.")})}},{"../utils.js":50}],44:[function(e,t,n){"use strict";var a=e("sdp"),c=e("./utils");t.exports={shimRTCIceCandidate:function(t){if(!(t.RTCIceCandidate&&"foundation"in t.RTCIceCandidate.prototype)){var i=t.RTCIceCandidate;t.RTCIceCandidate=function(e){"object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substr(2));var t=new i(e),n=a.parseCandidate(e.candidate),r=Object.assign(t,n);return r.toJSON=function(){return{candidate:r.candidate,sdpMid:r.sdpMid,sdpMLineIndex:r.sdpMLineIndex,usernameFragment:r.usernameFragment}},r},function(e,r,i){if(e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,a=t.addEventListener;t.addEventListener=function(e,t){if(e!==r)return a.apply(this,arguments);var n=function(e){t(i(e))};return this._eventMap=this._eventMap||{},this._eventMap[t]=n,a.apply(this,[e,n])};var o=t.removeEventListener;t.removeEventListener=function(e,t){if(e!==r||!this._eventMap||!this._eventMap[t])return o.apply(this,arguments);var n=this._eventMap[t];return delete this._eventMap[t],o.apply(this,[e,n])},Object.defineProperty(t,"on"+r,{get:function(){return this["_on"+r]},set:function(e){this["_on"+r]&&(this.removeEventListener(r,this["_on"+r]),delete this["_on"+r]),e&&this.addEventListener(r,this["_on"+r]=e)}})}}(t,"icecandidate",function(e){return e.candidate&&Object.defineProperty(e,"candidate",{value:new t.RTCIceCandidate(e.candidate),writable:"false"}),e})}},shimCreateObjectURL:function(e){var t=e&&e.URL;if("object"==typeof e&&e.HTMLMediaElement&&"srcObject"in e.HTMLMediaElement.prototype&&t.createObjectURL&&t.revokeObjectURL){var n=t.createObjectURL.bind(t),r=t.revokeObjectURL.bind(t),i=new Map,a=0;t.createObjectURL=function(e){if("getTracks"in e){var t="polyblob:"+ ++a;return i.set(t,e),c.deprecated("URL.createObjectURL(stream)","elem.srcObject = stream"),t}return n(e)},t.revokeObjectURL=function(e){r(e),i.delete(e)};var o=Object.getOwnPropertyDescriptor(e.HTMLMediaElement.prototype,"src");Object.defineProperty(e.HTMLMediaElement.prototype,"src",{get:function(){return o.get.apply(this)},set:function(e){return this.srcObject=i.get(e)||null,o.set.apply(this,[e])}});var s=e.HTMLMediaElement.prototype.setAttribute;e.HTMLMediaElement.prototype.setAttribute=function(){return 2===arguments.length&&"src"===(""+arguments[0]).toLowerCase()&&(this.srcObject=i.get(arguments[1])||null),s.apply(this,arguments)}}}}},{"./utils":50,sdp:39}],45:[function(e,t,n){"use strict";var r=e("../utils"),i=e("rtcpeerconnection-shim");t.exports={shimGetUserMedia:e("./getusermedia"),shimPeerConnection:function(e){var t=r.detectBrowser(e);if(e.RTCIceGatherer&&(e.RTCIceCandidate||(e.RTCIceCandidate=function(e){return e}),e.RTCSessionDescription||(e.RTCSessionDescription=function(e){return e}),t.version<15025)){var n=Object.getOwnPropertyDescriptor(e.MediaStreamTrack.prototype,"enabled");Object.defineProperty(e.MediaStreamTrack.prototype,"enabled",{set:function(e){n.set.call(this,e);var t=new Event("enabled");t.enabled=e,this.dispatchEvent(t)}})}!e.RTCRtpSender||"dtmf"in e.RTCRtpSender.prototype||Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=new e.RTCDtmfSender(this):"video"===this.track.kind&&(this._dtmf=null)),this._dtmf}}),e.RTCPeerConnection=i(e,t.version)},shimReplaceTrack:function(e){!e.RTCRtpSender||"replaceTrack"in e.RTCRtpSender.prototype||(e.RTCRtpSender.prototype.replaceTrack=e.RTCRtpSender.prototype.setTrack)}}},{"../utils":50,"./getusermedia":46,"rtcpeerconnection-shim":34}],46:[function(e,t,n){"use strict";t.exports=function(e){var t=e&&e.navigator,n=t.mediaDevices.getUserMedia.bind(t.mediaDevices);t.mediaDevices.getUserMedia=function(e){return n(e).catch(function(e){return Promise.reject({name:{PermissionDeniedError:"NotAllowedError"}[(t=e).name]||t.name,message:t.message,constraint:t.constraint,toString:function(){return this.name}});var t})}}},{}],47:[function(e,t,n){"use strict";var r=e("../utils");t.exports={shimGetUserMedia:e("./getusermedia"),shimOnTrack:function(e){"object"!=typeof e||!e.RTCPeerConnection||"ontrack"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&(this.removeEventListener("track",this._ontrack),this.removeEventListener("addstream",this._ontrackpoly)),this.addEventListener("track",this._ontrack=e),this.addEventListener("addstream",this._ontrackpoly=function(n){n.stream.getTracks().forEach(function(e){var t=new Event("track");t.track=e,t.receiver={track:e},t.transceiver={receiver:t.receiver},t.streams=[n.stream],this.dispatchEvent(t)}.bind(this))}.bind(this))}}),"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})},shimSourceObject:function(e){"object"==typeof e&&(!e.HTMLMediaElement||"srcObject"in e.HTMLMediaElement.prototype||Object.defineProperty(e.HTMLMediaElement.prototype,"srcObject",{get:function(){return this.mozSrcObject},set:function(e){this.mozSrcObject=e}}))},shimPeerConnection:function(s){var c=r.detectBrowser(s);if("object"==typeof s&&(s.RTCPeerConnection||s.mozRTCPeerConnection)){s.RTCPeerConnection||(s.RTCPeerConnection=function(e,t){if(c.version<38&&e&&e.iceServers){for(var n=[],r=0;r<e.iceServers.length;r++){var i=e.iceServers[r];if(i.hasOwnProperty("urls"))for(var a=0;a<i.urls.length;a++){var o={url:i.urls[a]};0===i.urls[a].indexOf("turn")&&(o.username=i.username,o.credential=i.credential),n.push(o)}else n.push(e.iceServers[r])}e.iceServers=n}return new s.mozRTCPeerConnection(e,t)},s.RTCPeerConnection.prototype=s.mozRTCPeerConnection.prototype,s.mozRTCPeerConnection.generateCertificate&&Object.defineProperty(s.RTCPeerConnection,"generateCertificate",{get:function(){return s.mozRTCPeerConnection.generateCertificate}}),s.RTCSessionDescription=s.mozRTCSessionDescription,s.RTCIceCandidate=s.mozRTCIceCandidate),["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=s.RTCPeerConnection.prototype[e];s.RTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?s.RTCIceCandidate:s.RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}});var e=s.RTCPeerConnection.prototype.addIceCandidate;s.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?e.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())};var a={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},n=s.RTCPeerConnection.prototype.getStats;s.RTCPeerConnection.prototype.getStats=function(e,i,t){return n.apply(this,[e||null]).then(function(n){var t,r;if(c.version<48&&(t=n,r=new Map,Object.keys(t).forEach(function(e){r.set(e,t[e]),r[e]=t[e]}),n=r),c.version<53&&!i)try{n.forEach(function(e){e.type=a[e.type]||e.type})}catch(e){if("TypeError"!==e.name)throw e;n.forEach(function(e,t){n.set(t,Object.assign({},e,{type:a[e.type]||e.type}))})}return n}).then(i,t)}}},shimRemoveStream:function(e){!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(t){var n=this;r.deprecated("removeStream","removeTrack"),this.getSenders().forEach(function(e){e.track&&-1!==t.getTracks().indexOf(e.track)&&n.removeTrack(e)})})}}},{"../utils":50,"./getusermedia":48}],48:[function(e,t,n){"use strict";var d=e("../utils"),h=d.log;t.exports=function(e){var i=d.detectBrowser(e),a=e&&e.navigator,t=e&&e.MediaStreamTrack,o=function(e){return{name:{InternalError:"NotReadableError",NotSupportedError:"TypeError",PermissionDeniedError:"NotAllowedError",SecurityError:"NotAllowedError"}[e.name]||e.name,message:{"The operation is insecure.":"The request is not allowed by the user agent or the platform in the current context."}[e.message]||e.message,constraint:e.constraint,toString:function(){return this.name+(this.message&&": ")+this.message}}},r=function(e,t,n){var r=function(r){if("object"!=typeof r||r.require)return r;var i=[];return Object.keys(r).forEach(function(e){if("require"!==e&&"advanced"!==e&&"mediaSource"!==e){var t=r[e]="object"==typeof r[e]?r[e]:{ideal:r[e]};if(void 0===t.min&&void 0===t.max&&void 0===t.exact||i.push(e),void 0!==t.exact&&("number"==typeof t.exact?t.min=t.max=t.exact:r[e]=t.exact,delete t.exact),void 0!==t.ideal){r.advanced=r.advanced||[];var n={};"number"==typeof t.ideal?n[e]={min:t.ideal,max:t.ideal}:n[e]=t.ideal,r.advanced.push(n),delete t.ideal,Object.keys(t).length||delete r[e]}}}),i.length&&(r.require=i),r};return e=JSON.parse(JSON.stringify(e)),i.version<38&&(h("spec: "+JSON.stringify(e)),e.audio&&(e.audio=r(e.audio)),e.video&&(e.video=r(e.video)),h("ff37: "+JSON.stringify(e))),a.mozGetUserMedia(e,t,function(e){n(o(e))})};if(a.mediaDevices||(a.mediaDevices={getUserMedia:function(n){return new Promise(function(e,t){r(n,e,t)})},addEventListener:function(){},removeEventListener:function(){}}),a.mediaDevices.enumerateDevices=a.mediaDevices.enumerateDevices||function(){return new Promise(function(e){e([{kind:"audioinput",deviceId:"default",label:"",groupId:""},{kind:"videoinput",deviceId:"default",label:"",groupId:""}])})},i.version<41){var n=a.mediaDevices.enumerateDevices.bind(a.mediaDevices);a.mediaDevices.enumerateDevices=function(){return n().then(void 0,function(e){if("NotFoundError"===e.name)return[];throw e})}}if(i.version<49){var s=a.mediaDevices.getUserMedia.bind(a.mediaDevices);a.mediaDevices.getUserMedia=function(t){return s(t).then(function(e){if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(function(e){e.stop()}),new DOMException("The object can not be found here.","NotFoundError");return e},function(e){return Promise.reject(o(e))})}}if(!(55<i.version&&"autoGainControl"in a.mediaDevices.getSupportedConstraints())){var c=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},l=a.mediaDevices.getUserMedia.bind(a.mediaDevices);if(a.mediaDevices.getUserMedia=function(e){return"object"==typeof e&&"object"==typeof e.audio&&(e=JSON.parse(JSON.stringify(e)),c(e.audio,"autoGainControl","mozAutoGainControl"),c(e.audio,"noiseSuppression","mozNoiseSuppression")),l(e)},t&&t.prototype.getSettings){var u=t.prototype.getSettings;t.prototype.getSettings=function(){var e=u.apply(this,arguments);return c(e,"mozAutoGainControl","autoGainControl"),c(e,"mozNoiseSuppression","noiseSuppression"),e}}if(t&&t.prototype.applyConstraints){var f=t.prototype.applyConstraints;t.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"==typeof e&&(e=JSON.parse(JSON.stringify(e)),c(e,"autoGainControl","mozAutoGainControl"),c(e,"noiseSuppression","mozNoiseSuppression")),f.apply(this,[e])}}}a.getUserMedia=function(e,t,n){if(i.version<44)return r(e,t,n);d.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),a.mediaDevices.getUserMedia(e).then(t,n)}}},{"../utils":50}],49:[function(e,t,n){"use strict";var o=e("../utils");t.exports={shimLocalStreamsAPI:function(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),"getStreamById"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getStreamById=function(t){var n=null;return this._localStreams&&this._localStreams.forEach(function(e){e.id===t&&(n=e)}),this._remoteStreams&&this._remoteStreams.forEach(function(e){e.id===t&&(n=e)}),n}),!("addStream"in e.RTCPeerConnection.prototype)){var r=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(t){this._localStreams||(this._localStreams=[]),-1===this._localStreams.indexOf(t)&&this._localStreams.push(t);var n=this;t.getTracks().forEach(function(e){r.call(n,e,t)})},e.RTCPeerConnection.prototype.addTrack=function(e,t){return t&&(this._localStreams?-1===this._localStreams.indexOf(t)&&this._localStreams.push(t):this._localStreams=[t]),r.call(this,e,t)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);var t=this._localStreams.indexOf(e);if(-1!==t){this._localStreams.splice(t,1);var n=this,r=e.getTracks();this.getSenders().forEach(function(e){-1!==r.indexOf(e.track)&&n.removeTrack(e)})}})}},shimRemoteStreamsAPI:function(e){"object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),"onaddstream"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get:function(){return this._onaddstream},set:function(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=function(e){var t=e.streams[0];if(this._remoteStreams||(this._remoteStreams=[]),!(0<=this._remoteStreams.indexOf(t))){this._remoteStreams.push(t);var n=new Event("addstream");n.stream=e.streams[0],this.dispatchEvent(n)}}.bind(this))}}))},shimCallbacksAPI:function(e){if("object"==typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,i=t.createOffer,a=t.createAnswer,o=t.setLocalDescription,s=t.setRemoteDescription,c=t.addIceCandidate;t.createOffer=function(e,t){var n=2<=arguments.length?arguments[2]:e,r=i.apply(this,[n]);return t?(r.then(e,t),Promise.resolve()):r},t.createAnswer=function(e,t){var n=2<=arguments.length?arguments[2]:e,r=a.apply(this,[n]);return t?(r.then(e,t),Promise.resolve()):r};var n=function(e,t,n){var r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=n,n=function(e,t,n){var r=s.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=n,n=function(e,t,n){var r=c.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=n}},shimGetUserMedia:function(e){var r=e&&e.navigator;r.getUserMedia||(r.webkitGetUserMedia?r.getUserMedia=r.webkitGetUserMedia.bind(r):r.mediaDevices&&r.mediaDevices.getUserMedia&&(r.getUserMedia=function(e,t,n){r.mediaDevices.getUserMedia(e).then(t,n)}.bind(r)))},shimRTCIceServerUrls:function(e){var a=e.RTCPeerConnection;e.RTCPeerConnection=function(e,t){if(e&&e.iceServers){for(var n=[],r=0;r<e.iceServers.length;r++){var i=e.iceServers[r];!i.hasOwnProperty("urls")&&i.hasOwnProperty("url")?(o.deprecated("RTCIceServer.url","RTCIceServer.urls"),(i=JSON.parse(JSON.stringify(i))).urls=i.url,delete i.url,n.push(i)):n.push(e.iceServers[r])}e.iceServers=n}return new a(e,t)},e.RTCPeerConnection.prototype=a.prototype,"generateCertificate"in e.RTCPeerConnection&&Object.defineProperty(e.RTCPeerConnection,"generateCertificate",{get:function(){return a.generateCertificate}})},shimTrackEventTransceiver:function(e){"object"==typeof e&&e.RTCPeerConnection&&"receiver"in e.RTCTrackEvent.prototype&&!e.RTCTransceiver&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})},shimCreateOfferLegacy:function(e){var r=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){var t=this.getTransceivers().find(function(e){return e.sender.track&&"audio"===e.sender.track.kind});!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection("sendonly"):"recvonly"===t.direction&&t.setDirection("inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio");var n=this.getTransceivers().find(function(e){return e.sender.track&&"video"===e.sender.track.kind});!1===e.offerToReceiveVideo&&n?"sendrecv"===n.direction?n.setDirection("sendonly"):"recvonly"===n.direction&&n.setDirection("inactive"):!0!==e.offerToReceiveVideo||n||this.addTransceiver("video")}return r.apply(this,arguments)}}}},{"../utils":50}],50:[function(e,t,n){"use strict";var r=!0,i=!0;function a(e,t,n){var r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}t.exports={extractVersion:a,disableLog:function(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(r=e)?"adapter.js logging disabled":"adapter.js logging enabled"},disableWarnings:function(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(i=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))},log:function(){if("object"==typeof window){if(r)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}},deprecated:function(e,t){i&&console.warn(e+" is deprecated, please use "+t+" instead.")},detectBrowser:function(e){var t=e&&e.navigator,n={browser:null,version:null};if(void 0===e||!e.navigator)return n.browser="Not a browser.",n;if(t.mozGetUserMedia)n.browser="firefox",n.version=a(t.userAgent,/Firefox\/(\d+)\./,1);else if(t.webkitGetUserMedia)if(e.webkitRTCPeerConnection)n.browser="chrome",n.version=a(t.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!t.userAgent.match(/Version\/(\d+).(\d+)/))return n.browser="Unsupported webkit-based browser with GUM support but no WebRTC support.",n;n.browser="safari",n.version=a(t.userAgent,/AppleWebKit\/(\d+)\./,1)}else if(t.mediaDevices&&t.userAgent.match(/Edge\/(\d+).(\d+)$/))n.browser="edge",n.version=a(t.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!t.mediaDevices||!t.userAgent.match(/AppleWebKit\/(\d+)\./))return n.browser="Not a supported browser.",n;n.browser="safari",n.version=a(t.userAgent,/AppleWebKit\/(\d+)\./,1)}return n}}},{}],51:[function(e,t,n){t.exports={name:"jssip",title:"JsSIP",description:"the Javascript SIP library",version:"3.2.11",homepage:"http://jssip.net",author:"José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",contributors:["Iñaki Baz Castillo <ibc@aliax.net> (https://github.com/ibc)","Saúl Ibarra Corretgé <saghul@gmail.com> (https://github.com/saghul)"],main:"lib-es5/JsSIP.js",keywords:["sip","websocket","webrtc","node","browser","library"],license:"MIT",repository:{type:"git",url:"https://github.com/versatica/JsSIP.git"},bugs:{url:"https://github.com/versatica/JsSIP/issues"},dependencies:{debug:"^3.1.0",events:"^2.0.0","sdp-transform":"^2.4.1","webrtc-adapter":"^6.1.5"},devDependencies:{"ansi-colors":"^1.1.0","babel-core":"^6.26.0","babel-preset-env":"^1.6.1",browserify:"^16.2.0",eslint:"^4.19.1","fancy-log":"^1.3.2",gulp:"^4.0.0","gulp-babel":"^7.0.1","gulp-eslint":"^4.0.2","gulp-expect-file":"0.0.7","gulp-header":"^2.0.5","gulp-nodeunit-runner":"^0.2.2","gulp-plumber":"^1.2.0","gulp-rename":"^1.2.2","gulp-uglify":"^3.0.0",pegjs:"^0.7.0","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0"},scripts:{test:"gulp test",prepublishOnly:"gulp babel"}}},{}]},{},[8])(8)}),function(e,t){function n(i){return{scope:{selectedTemplate:"=",selectedTemplateName:"=",dateStart:"=?",dateEnd:"=?",firstDayOfWeek:"=?",showTemplate:"=?",mdOnSelect:"&",localizationMap:"=?",customTemplates:"=?",disableTemplates:"@",maxRange:"=?",onePanel:"=?",isDisabledDate:"&?",format:"=?"},template:'<div class="md-date-range-picker md-whiteframe-1dp" ng-class="{\'md-date-range-picker__one-panel\':onePanel}"><div layout="column"><div layout="row" layout-margin><div class="md-date-range-picker__calendar-wrapper"><div class="md-date-range-picker__month-year" layout="row" layout-align="center center"><div flex layout="column" layout-align="center center"><span aria-label="Previous Month" class="md-button md-icon-button" event-key="prev"><md-icon md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate()" ng-model="activeMonth" placeholder="{{::getLocalizationVal(\'Month\')}}" class="md-no-underline"><md-option ng-value="::month.id" ng-repeat="month in months" ng-bind="::month.name"></md-option></md-select><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate()" ng-model="activeYear" placeholder="{{::getLocalizationVal(\'Year\')}}" class="md-no-underline"><md-option ng-value="::year.id" ng-repeat="year in years" ng-bind="::year.name"></md-option></md-select><div flex layout="column" layout-align="center center" class="hide-gt-sm show-sm show-xs"><span aria-label="Next Month" class="md-icon-button md-button" event-key="next"><md-icon style="transform: rotate(-180deg)" md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><div flex ng-if="onePanel" layout="column" layout-align="center center" class="hide-sm hide-xs show-gt-sm"><span aria-label="Next Month" class="md-icon-button md-button" event-key="next"><md-icon style="transform: rotate(-180deg)" md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><div flex ng-if="!onePanel" layout="column" layout-align="center center" class="hide-sm hide-xs show-gt-sm"><span aria-label="Next Month" ng-disabled="true" aria-hidden="true" class="md-icon-button md-button"><md-icon></md-icon></span></div></div><div class="md-date-range-picker__week" style="font-size: 0"><span class="md-date-range-picker__calendar__grid" ng-repeat="day in days">{{::day.name}}</span></div><div class="md-date-range-picker__calendar"><span ng-repeat="date in dates" class="md-date-range-picker__calendar__grid" ng-class="{\'md-date-range-picker__calendar__selected\':inSelectedDateRange(date),\'md-date-range-picker__calendar__start\':isSelectedStartDate(date),\'md-date-range-picker__calendar__end\':isSelectedEndDate(date),\'md-date-range-picker__calendar__not-in-active-month\': !inCurrentMonth(date),\'md-date-range-picker__calendar__today\' : isToday(date),\'md-date-range-picker__calendar__disabled\': !isInMaxRange(date) || isDisabledDate({$date:date})}" event-key="date1" event-param="{{$index}}"><span event-key="date1" event-param="{{$index}}" class="md-date-range-picker__calendar__selection" ng-bind="{{::date.getDate()}}"></span></span></div></div><div ng-show="!onePanel" class="md-date-range-picker__calendar-wrapper hide-sm hide-xs show-gt-sm"><div class="md-date-range-picker__month-year" layout="row" layout-align="center center"><div flex layout="column" layout-align="center center" style="visibility: hidden"><span aria-label="Previous Month" class="md-button md-icon-button" event-key="prev"><md-icon md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate(true)" ng-model="activeMonth2" placeholder="{{::getLocalizationVal(\'Month\')}}" class="md-no-underline"><md-option ng-value="::month.id" ng-repeat="month in months" ng-bind="::month.name"></md-option></md-select><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate(true)" ng-model="activeYear2" placeholder="{{::getLocalizationVal(\'Year\')}}" class="md-no-underline"><md-option ng-value="::year.id" ng-repeat="year in years" ng-bind="::year.name"></md-option></md-select><div flex layout="column" layout-align="center center"><span aria-label="Next Month" class="md-icon-button md-button" event-key="next"><md-icon style="transform: rotate(-180deg)" md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div></div><div class="md-date-range-picker__week" style="font-size: 0" ng-if="!onePanel"><span class="md-date-range-picker__calendar__grid" ng-repeat="day in days">{{::day.name}}</span></div><div class="md-date-range-picker__calendar"><span ng-repeat="date in dates2" class="md-date-range-picker__calendar__grid" ng-class="{\'md-date-range-picker__calendar__selected\':inSelectedDateRange(date), \'md-date-range-picker__calendar__start\':isSelectedStartDate(date), \'md-date-range-picker__calendar__end\':isSelectedEndDate(date), \'md-date-range-picker__calendar__not-in-active-month\': !inCurrentMonth(date, true), \'md-date-range-picker__calendar__today\' : isToday(date),\'md-date-range-picker__calendar__disabled\': !isInMaxRange(date) || isDisabledDate({$date:date}) }" event-key="date2" event-param="{{$index}}"><span event-key="date2" event-param="{{$index}}" class="md-date-range-picker__calendar__selection" ng-bind="{{::date.getDate()}}"></span></span></div></div></div><div class="md-date-range-picker__templates" ng-if="showTemplate"><div ng-if="!onePanel && !maxRange" class="hide-xs hide-sm show-gt-sm" layout="row" layout-align="center center" layout-wrap><div ng-repeat="(tmpltKey,tmpltName) in selectionTemplate" class="md-button" aria-label="{{::tmpltName}}" ng-class="selectedTemplate === tmpltKey ? \'md-primary md-raised\' : \'\'" event-key="{{tmpltKey}}" ng-bind="::tmpltName" flex="20"></div><div ng-repeat="tmplt in customTemplates" class="md-button" aria-label="{{::tmplt.name}}" ng-class="selectedTemplate === tmplt.name ? \'md-primary md-raised\' : \'\'" ng-click="selectCustomRange(tmplt.name,tmplt)" event-key="Custom Template" ng-bind="::tmplt.name" flex="20"></div></div><div ng-if="!maxRange" ng-class="{\'hide-gt-sm\':!onePanel}" layout="column" layout-padding><md-input-container><label>{{::getLocalizationVal(\'Date Range Template\')}}</label><md-select md-container-class="md-date-range-picker__select" class="md-block" placeholder="{{::getLocalizationVal(\'Custom Date Range\')}}" ng-model="selectedTemplate"><md-option value=""></md-option><md-option ng-repeat="(tmpltKey,tmpltName) in selectionTemplate track by tmpltKey" aria-label="{{::tmpltName}}" ng-click="actionByKey(tmpltKey,null)" ng-bind="::tmpltName" value="{{tmpltKey}}"></md-option><md-option ng-repeat="tmplt in customTemplates" aria-label="{{::tmplt.name}}" ng-click="selectCustomRange(tmplt.name,tmplt)" ng-bind="::tmplt.name" value="{{::tmplt.name}}"></md-option></md-select></md-input-container></div></div></div></div>',controller:"mdDateRangePickerCtrl",link:function(r,e,t,n){r.actionByKey=function(e,t,n){switch(e){case"prev":r.handleClickPrevMonth(n),r.runIfNotInDigest();break;case"next":r.handleClickNextMonth(n),r.runIfNotInDigest();break;case"date1":r.handleClickDate(n,r.dates[t])?r.runIfNotInDigest(r.triggerChange):r.runIfNotInDigest();break;case"date2":r.handleClickDate(n,r.dates2[t])?r.runIfNotInDigest(r.triggerChange):r.runIfNotInDigest();break;case"TD":r.handleClickSelectToday(),r.runIfNotInDigest(r.triggerChange);break;case"YD":r.handleClickSelectYesterday(),r.runIfNotInDigest(r.triggerChange);break;case"TW":r.handleClickSelectThisWeek(),r.runIfNotInDigest(r.triggerChange);break;case"LW":r.handleClickSelectLastWeek(),r.runIfNotInDigest(r.triggerChange);break;case"TM":r.handleClickSelectThisMonth(),r.runIfNotInDigest(r.triggerChange);break;case"LM":r.handleClickSelectLastMonth(),r.runIfNotInDigest(r.triggerChange);break;case"TY":r.handleClickSelectThisYear(),r.runIfNotInDigest(r.triggerChange);break;case"LY":r.handleClickSelectLastYear(),r.runIfNotInDigest(r.triggerChange);break;case"Custom Template":r.runIfNotInDigest(r.triggerChange)}},r.runIfNotInDigest=function(e){null==r.$root||r.$root.$$phase||(r.$apply(),e&&"function"==typeof e&&e())},e.on("click",function(e){var t=e.target.getAttribute("event-key"),n=e.target.getAttribute("event-param");r.actionByKey(t,n,e)}),r.triggerChange=function(e){var t=i.getSelectedDate(r.dateStart,r.dateEnd,r.isDisabledDate,r.maxRange);r.mdOnSelect&&r.mdOnSelect({$dates:t})}}}}function r(c,l){var u={TD:f("Today"),YD:f("Yesterday"),TW:f("This Week"),LW:f("Last Week"),TM:f("This Month"),LM:f("Last Month"),TY:f("This Year"),LY:f("Last Year")},e=1;function f(e){return null!=c.localizationMap&&null!=c.localizationMap[e]?c.localizationMap[e]:e}function d(){return-1!==[void 0,null,"",NaN].indexOf(c.firstDayOfWeek)||-1===[0,1,2,3,4,5,6].indexOf(c.firstDayOfWeek)?e:c.firstDayOfWeek}function n(e){var t,n,r=[],i=(new Date(e.getFullYear(),e.getMonth(),1),new Date(e.getFullYear(),e.getMonth()+1,0)),a=d();for(t=1;t<=i.getDate();t++)r.push(new Date(e.getFullYear(),e.getMonth(),t));for(n=r[0].getDay(),t=0;n!==a;)r.unshift(new Date(e.getFullYear(),e.getMonth(),t)),n=n<=0?6:n-1,t--;for(n=(r[r.length-1].getDay()+1)%7,t=1;n!==a;)r.push(new Date(e.getFullYear(),e.getMonth()+1,t)),n=(n+1)%7,t++;return r}function a(e,t){if(e&&t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());return new Date(t.getFullYear(),t.getMonth(),t.getDate())-n}}SELECTION_TEMPLATES_CUSTOM={},c.isMenuContainer=!1,c.days=[],c.label="Date range picker",c.dates=[],c.dates2=[],c.numberOfMonthToDisplay=2,c.today=new Date,c.dateStart&&c.dateStart.setHours(0,0,0,0),c.dateEnd&&c.dateEnd.setHours(23,59,59,999),c.firstDayOfMonth=c.dateStart?new Date(c.dateStart.getFullYear(),c.dateStart.getMonth(),1):Date(c.today.getFullYear(),c.today.getMonth(),1),c.lastDayOfMonth=c.dateStart?new Date(c.dateStart.getFullYear(),c.dateStart.getMonth()+1,0):Date(c.today.getFullYear(),c.today.getMonth()+1,0),c.activeDate=c.dateStart||c.today,c.activeDate2=new Date(c.activeDate.getFullYear(),c.activeDate.getMonth()+1,1),c.activeMonth=c.activeDate.getMonth(),c.activeYear=c.activeDate.getFullYear(),c.activeMonth2=c.activeDate2.getMonth(),c.activeYear2=c.activeDate2.getFullYear(),c.months=[],c.years=[],c.inCurrentMonth=function(e,t){return t?e.getMonth()===c.activeMonth2&&e.getFullYear()===c.activeYear2:e.getMonth()===c.activeMonth&&e.getFullYear()===c.activeYear},c.isToday=function(e){return 0===a(e,new Date)},c.handleClickDate=function(e,t){var n=!1,r=!1;if(0===a(c.dateStart,c.dateEnd)){if(0===a(c.dateStart,t))n=r=!0;else if(!c.isDisabledDate||!c.isDisabledDate({$date:t})){var i=a(c.dateStart,t);0<i?(c.maxRange&&Math.abs(Math.ceil(i/864e5))+1<=c.maxRange||!c.maxRange)&&(c.dateEnd=t,n=r=!0):(c.maxRange&&Math.abs(Math.ceil(i/864e5))+1<=c.maxRange||!c.maxRange)&&(c.dateStart=t,n=r=!0)}}else c.isDisabledDate&&c.isDisabledDate({$date:t})||(c.dateStart=t,c.dateEnd=t,n=!0);n&&(c.selectedTemplate=!1,c.selectedTemplateName=c.selectedDateText());return r},c.inSelectedDateRange=function(e){return!(!c.dateStart||!c.dateEnd)&&(0<=a(c.dateStart,e)&&0<=a(e,c.dateEnd))},c.isSelectedStartDate=function(e){return 0===a(c.dateStart,e)},c.isSelectedEndDate=function(e){return 0===a(c.dateEnd,e)},c.updateActiveDate=function(e){var t=new Date(c.activeYear,c.activeMonth,1),n=new Date(c.activeYear2,c.activeMonth2,1);e?(t=new Date(c.activeYear2,c.activeMonth2-1,1),c.activeYear=t.getFullYear(),c.activeMonth=t.getMonth()):(n=new Date(c.activeYear,c.activeMonth+1,1),c.activeYear2=n.getFullYear(),c.activeMonth2=n.getMonth());c.focusToDate(t)},c.selectedDateText=function(){return c.format&&"function"==typeof c.format?c.format(c.dateStart,c.dateEnd,c.selectedTemplate,c.selectedTemplateName):c.dateStart&&c.dateEnd?c.selectedTemplate?null!=SELECTION_TEMPLATES_CUSTOM&&null!=SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate]?SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].name:u[c.selectedTemplate]:0===a(c.dateStart,c.dateEnd)?l("date")(c.dateStart,"dd MMM yyyy"):l("date")(c.dateStart,"dd"+(c.dateStart.getMonth()!==c.dateEnd.getMonth()||c.dateStart.getFullYear()!==c.dateEnd.getFullYear()?" MMM":"")+(c.dateStart.getFullYear()!==c.dateEnd.getFullYear()?" yyyy":""))+" - "+l("date")(c.dateEnd,"dd MMM yyyy"):""},c.focusToDate=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,1);c.activeDate=e,c.activeMonth=e.getMonth(),c.activeYear=e.getFullYear(),c.activeDate2=t,c.activeMonth2=t.getMonth(),c.activeYear2=t.getFullYear(),c.dates=n(e),c.dates2=n(t)},c.handleClickNextMonth=function(e){var t=new Date(c.activeDate.getFullYear(),c.activeDate.getMonth()+1,1);c.focusToDate(t)},c.handleClickPrevMonth=function(e){var t=new Date(c.activeDate.getFullYear(),c.activeDate.getMonth()-1,1);c.focusToDate(t)},c.handleClickSelectToday=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate());c.dateStart=t,c.dateEnd=t,c.selectedTemplate="TD",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectYesterday=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()-1);c.dateStart=t,c.dateEnd=t,c.selectedTemplate="YD",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectThisWeek=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(t.getFullYear(),t.getMonth(),t.getDate()-(t.getDay()-d())),r=new Date(t.getFullYear(),t.getMonth(),t.getDate()+(6-t.getDay()+d()));c.dateStart=n,c.dateEnd=r,c.selectedTemplate="TW",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectLastWeek=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()-7),n=new Date(t.getFullYear(),t.getMonth(),t.getDate()-(t.getDay()-d())),r=new Date(t.getFullYear(),t.getMonth(),t.getDate()+(6-t.getDay()+d()));c.dateStart=n,c.dateEnd=r,c.selectedTemplate="LW",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectThisMonth=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),1),n=new Date(e.getFullYear(),e.getMonth()+1,0);c.dateStart=t,c.dateEnd=n,c.selectedTemplate="TM",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectLastMonth=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),0),n=new Date(t.getFullYear(),t.getMonth(),1),r=new Date(t.getFullYear(),t.getMonth()+1,0);c.dateStart=n,c.dateEnd=r,c.selectedTemplate="LM",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectThisYear=function(){var e=new Date,t=new Date(e.getFullYear(),0,1),n=new Date(e.getFullYear(),11,31);c.dateStart=t,c.dateEnd=n,c.selectedTemplate="TY",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectLastYear=function(){var e=new Date,t=new Date(e.getFullYear()-1,0,1),n=new Date(e.getFullYear()-1,11,31);c.dateStart=t,c.dateEnd=n,c.selectedTemplate="LY",c.selectedTemplateName=c.selectedDateText()},c.getLocalizationVal=f,c.selectCustomRange=function(e,t){c.dateStart=t.dateStart,c.dateEnd=t.dateEnd,c.selectedTemplate=e,c.selectedTemplateName=c.selectedDateText()},c.isInMaxRange=function(e){if(!c.dateStart)return!0;if(0!==a(c.dateStart,c.dateEnd))return!0;var t=a(c.dateStart,e);return c.maxRange&&Math.abs(Math.ceil(t/864e5))+1<=c.maxRange||!c.maxRange},c.selectionTemplate={},function(){var e,t=0;if(null!=c.customTemplates)for(var n=0;n<c.customTemplates.length;n++)e=c.customTemplates[n],SELECTION_TEMPLATES_CUSTOM[e.name]=e;if(c.selectedTemplate){switch(c.selectedTemplate){case"TD":c.handleClickSelectToday();break;case"YD":c.handleClickSelectYesterday();break;case"TW":c.handleClickSelectThisWeek();break;case"LW":c.handleClickSelectLastWeek();break;case"TM":c.handleClickSelectThisMonth();break;case"LM":c.handleClickSelectLastMonth();break;case"TY":c.handleClickSelectThisYear();break;case"LY":c.handleClickSelectLastYear();break;default:SELECTION_TEMPLATES_CUSTOM&&SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate]&&SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateStart&&SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateEnd&&(c.dateStart=SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateStart,c.dateEnd=SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateEnd),c.selectedTemplateName=c.selectedDateText()}c.updateActiveDate()}else c.selectedTemplate="",c.selectedTemplateName=c.selectedDateText(),c.updateActiveDate();c.$watch("selectedTemplate",function(e,t){e===t||!c.dateStart||c.inCurrentMonth(c.dateStart)||c.inCurrentMonth(c.dateStart,!0)||c.focusToDate(c.dateStart)}),c.$watch("dateStart",function(e,t){e===t||!c.dateStart||c.inCurrentMonth(c.dateStart)||c.inCurrentMonth(c.dateStart,!0)||c.focusToDate(c.dateStart)});var r=new Date(2017,0,1);for(c.days=[],t=0;t<7;t++)r.setDate(t+1+d()),c.days.push({id:t,name:f(l("date")(r,"EEE"))});var i=null;for(c.months=[],t=0;t<12;t++)i=new Date(2017,t,1),c.months.push({id:t,name:f(l("date")(i,"MMMM"))});var a=c.activeYear,o=0;for(c.years=[],o=a-10;o<a+10;o++)c.years.push({id:o,name:f(o)});for(var s in u)u.hasOwnProperty(s)&&(null!=c.disableTemplates&&""!=c.disableTemplates?c.disableTemplates.indexOf(s)<0&&(c.selectionTemplate[s]=u[s]):c.selectionTemplate[s]=u[s])}()}function i(r){this.show=function(e){return r.show({locals:{mdDateRangePickerServiceModel:t.copy(e.model),mdDateRangePickerServiceConfig:t.copy(e)},controller:["$scope","mdDateRangePickerServiceModel","mdDateRangePickerServiceConfig",function(t,e,n){t.model=e||{},t.config=n||{},t.model.selectedTemplateName=t.model.selectedTemplateName||"",t.ok=function(){t.model.dateStart&&t.model.dateStart.setHours(0,0,0,0),t.model.dateEnd&&t.model.dateEnd.setHours(23,59,59,999),r.hide(t.model)},t.cancel=function(){r.cancel()},t.clear=function(){t.model.selectedTemplateName="",t.model.selectedTemplate=null,t.model.dateStart=null,t.model.dateEnd=null},t.handleOnSelect=function(e){"function"==typeof t.config.mdOnSelect&&t.config.mdOnSelect(e),t.config.autoConfirm&&t.ok()},t.getLocalizationVal=function(e){return t.model&&null!=t.model.localizationMap&&null!=t.model.localizationMap[e]?t.model.localizationMap[e]:e},t.model.customTemplates&&console.warn("model.customTemplates will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({customTemplates}) instead"),t.model.localizationMap&&console.warn("model.localizationMap will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({localizationMap}) instead"),t.model.firstDayOfWeek&&console.warn("model.firstDayOfWeek will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({firstDayOfWeek}) instead"),t.model.showTemplate&&console.warn("model.showTemplate will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({showTemplate}) instead"),t.model.maxRange&&console.warn("model.maxRange will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({maxRange}) instead"),t.model.onePanel&&console.warn("model.onePanel will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({onePanel}) instead"),t.model.isDisabledDate&&console.warn("model.isDisabledDate({ $date: $date }) will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({isDisabledDate:($date)=>{}}) instead")}],template:['<md-dialog aria-label="Date Range Picker">','<md-toolbar class="md-primary" layout="row" layout-align="start center">','<md-button aria-label="Date Range Picker" class="md-icon-button" aria-hidden="true" ng-disabled="true">','<md-icon md-svg-icon="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik05IDExSDd2Mmgydi0yem00IDBoLTJ2Mmgydi0yem00IDBoLTJ2Mmgydi0yem0yLTdoLTFWMmgtMnYySDhWMkg2djJINWMtMS4xMSAwLTEuOTkuOS0xLjk5IDJMMyAyMGMwIDEuMS44OSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMlY2YzAtMS4xLS45LTItMi0yem0wIDE2SDVWOWgxNHYxMXoiLz4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4KPC9zdmc+"></md-icon>',"</md-button>",'<span md-truncate class="md-toolbar-tools">{{model.selectedTemplateName}}</span>',"</md-toolbar>","<md-dialog-content>","<md-date-range-picker ",'date-start="model.dateStart" ','date-end="model.dateEnd" ','show-template="config.showTemplate || model.showTemplate" ','selected-template="model.selectedTemplate" ','selected-template-name="model.selectedTemplateName" ','first-day-of-week="config.firstDayOfWeek || model.firstDayOfWeek" ','localization-map="config.localizationMap || model.localizationMap" ','custom-templates="config.customTemplates || model.customTemplates" ','format="config.format" ','disable-templates="{{model.disableTemplates}}" ','md-on-select="handleOnSelect($dates)" ','is-disabled-date="config.isDisabledDate ? config.isDisabledDate($date) : model.isDisabledDate({ $date: $date })" ','max-range="config.maxRange || model.maxRange" ','one-panel="config.onePanel || model.onePanel" ',">","</md-date-range-picker>","</md-dialog-content>",'<md-dialog-actions layout="row" layout-align="end center">','<md-button ng-click="cancel()">{{getLocalizationVal("Cancel")}}</md-button>','<md-button ng-if="!config.autoConfirm" class="md-raised" ng-click="clear()">{{getLocalizationVal("Clear")}}</md-button>','<md-button ng-if="!config.autoConfirm" class="md-raised md-primary" ng-click="ok()">{{getLocalizationVal("Ok")}}</md-button>',"</md-dialog-actions>","</md-dialog>"].join(""),parent:t.element(document.body),multiple:e.multiple,targetEvent:e.targetEvent||document.body,clickOutsideToClose:!0,fullscreen:e.model.fullscreen})},this.getSelectedDate=function(e,t,n,r){var i=[],a=t.getTime(),o=e,s=0,c=e.getFullYear(),l=e.getMonth(),u=e.getDate();for(;o.getTime()<=a&&(n&&!n({$date:o})&&i.push(o),s++,o=new Date(c,l,u+s),!((r||1e4)<s)););return i}}t.module("ngMaterialDateRangePicker",["ngMaterial"]).directive("mdDateRangePicker",n).directive("mdDateRange",function(){return{scope:{ngModel:"=ngModel",autoConfirm:"=autoConfirm",ngDisabled:"=ngDisabled",showTemplate:"=",placeholder:"@",isDisabledDate:"&",localizationMap:"=?",customTemplates:"=?",disableTemplates:"@",mdOnSelect:"&",onePanel:"=?",format:"=?",maxRange:"=?",firstDayOfWeek:"=?"},template:['<md-menu ng-disabled="ngDisabled">','<span class="md-select-value" ng-click="!ngDisabled && (($mdMenu && $mdMenu.open) ? $mdMenu.open($event) : $mdOpenMenu($event))">'," <span>{{ngModel.selectedTemplateName || placeholder}}</span>",' <span class="md-select-icon" aria-hidden="true"></span>',"</span>",'<md-menu-content class="md-custom-menu-content" style="max-height: none!important; height: auto!important; padding: 0!important;">',' <span style="text-align: left; padding: 12px 20px 0 20px" disabled>{{ngModel.selectedTemplateName || placeholder}}</span>',' <md-date-range-picker first-day-of-week="firstDayOfWeek" ',' md-on-select="autoConfirm && ok($dates)" ',' date-start="ngModel.dateStart" ',' date-end="ngModel.dateEnd" ',' selected-template="ngModel.selectedTemplate" ',' show-template="showTemplate" ',' localization-map="localizationMap" ',' custom-templates="customTemplates" ',' disable-templates="{{disableTemplates}}" ',' is-disabled-date="isDisabledDate({ $date: $date })" ',' max-range="maxRange" ',' one-panel="onePanel" ',' format="format" ',' selected-template-name="ngModel.selectedTemplateName"></md-date-range-picker>','<p ng-if="!autoConfirm" layout="row" layout-align="end center">','<md-button ng-if="ngModel.showClear" class="md-raised" ng-click="clear()">{{getLocalizationVal("Clear")}}</md-button>','<md-button class="md-raised md-primary" ng-click="ok()">{{getLocalizationVal("Ok")}}</md-button>',"</p>","</md-menu-content>","</md-menu>"].join(""),controller:["$scope","$mdMenu",function(t,n){t.ok=function(e){t.mdOnSelect({$dates:e}),n.hide()},t.clear=function(){t.ngModel.selectedTemplateName="",t.ngModel.selectedTemplate=null,t.ngModel.dateStart=null,t.ngModel.dateEnd=null},t.getLocalizationVal=function(e){return t.ngModel&&null!=t.ngModel.localizationMap&&null!=t.ngModel.localizationMap[e]?t.ngModel.localizationMap[e]:e}}]}}).controller("mdDateRangePickerCtrl",r).service("$mdDateRangePicker",i),n.$inject=["$mdDateRangePicker"],r.$inject=["$scope","$filter"],i.$inject=["$mdDialog"]}(window,angular),function(){var e,t="Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45";if(b="object"==typeof process&&"object"==typeof process.versions&&process.versions.node&&!process.browser){var n=process.versions.node.toString().replace("v","");t="Nodejs/"+n+" (NodeOS) AppleWebKit/"+n+" (KHTML, like Gecko) Nodejs/"+n+" Nodejs/"+n}e="undefined"!=typeof global?global:window,"undefined"==typeof window&&("undefined"==typeof window&&"undefined"!=typeof global&&(global.navigator={userAgent:t,getUserMedia:function(){}},e.window=global),"undefined"==typeof location&&(e.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(e.screen={width:0,height:0}));var s=window.navigator;void 0!==s?(void 0!==s.webkitGetUserMedia&&(s.getUserMedia=s.webkitGetUserMedia),void 0!==s.mozGetUserMedia&&(s.getUserMedia=s.mozGetUserMedia)):s={getUserMedia:function(){},userAgent:t};var r=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(s.userAgent||""),c=!(-1===s.userAgent.indexOf("Edge")||!s.msSaveOrOpenBlob&&!s.msSaveBlob),l=!!window.opera||0<=s.userAgent.indexOf(" OPR/"),u=-1<s.userAgent.toLowerCase().indexOf("firefox")&&"netscape"in window&&/ rv:/.test(s.userAgent),f=/^((?!chrome|android).)*safari/i.test(s.userAgent),d=!!window.chrome&&!l,h="undefined"!=typeof document&&!!document.documentMode&&!c;function i(e,t){var n=0,r=!1,i=window.setInterval(function(){e()&&(window.clearInterval(i),t(r)),50<n++&&(window.clearInterval(i),t(r=!0))},10)}var a={Android:function(){return s.userAgent.match(/Android/i)},BlackBerry:function(){return s.userAgent.match(/BlackBerry|BB10/i)},iOS:function(){return s.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return s.userAgent.match(/Opera Mini/i)},Windows:function(){return s.userAgent.match(/IEMobile/i)},any:function(){return a.Android()||a.BlackBerry()||a.iOS()||a.Opera()||a.Windows()},getOsName:function(){var e="Unknown OS";return a.Android()&&(e="Android"),a.BlackBerry()&&(e="BlackBerry"),a.iOS()&&(e="iOS"),a.Opera()&&(e="Opera Mini"),a.Windows()&&(e="Windows"),e}};var o="Unknown OS",p="Unknown OS Version";var m,g,_=function(){for(var e,t=s.appVersion,n=s.userAgent,r="-",i=[{s:"Chrome OS",r:/CrOS/},{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}],a=0;e=i[a];a++)if(e.r.test(n)){r=e.s;break}var o="-";switch(/Windows/.test(r)&&(/Windows (.*)/.test(r)&&(o=/Windows (.*)/.exec(r)[1]),r="Windows"),r){case"Mac OS X":/Mac OS X (10[\.\_\d]+)/.test(n)&&(o=/Mac OS X (10[\.\_\d]+)/.exec(n)[1]);break;case"Android":/Android ([\.\_\d]+)/.test(n)&&(o=/Android ([\.\_\d]+)/.exec(n)[1]);break;case"iOS":/OS (\d+)_(\d+)_?(\d+)?/.test(n)&&(o=(o=/OS (\d+)_(\d+)_?(\d+)?/.exec(t))[1]+"."+o[2]+"."+(0|o[3]))}return{osName:r,osVersion:o}}();_&&_.osName&&"-"!=_.osName?(o=_.osName,p=_.osVersion):a.any()&&"Android"==(o=a.getOsName())&&(p=!!(g=(m=(m||s.userAgent).toLowerCase()).match(/android\s([0-9\.]*)/))&&g[1]);var b="object"==typeof process&&"object"==typeof process.versions&&process.versions.node;"Unknown OS"===o&&b&&(o="Nodejs",p=process.versions.node.toString().replace("v",""));var v=!1,y=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){"undefined"!=typeof document&&"function"==typeof document.createElement&&(!v&&e in document.createElement("canvas")&&(v=!0),!y&&e in document.createElement("video")&&(y=!0))});var w=/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/,C=/([0-9]{1,3}(\.[0-9]{1,3}){3})/,A=/[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7}/;var S=[],T=[],x=[],k=[];s.mediaDevices&&s.mediaDevices.enumerateDevices&&(s.enumerateDevices=function(e){var t=s.mediaDevices.enumerateDevices();t&&t.then?s.mediaDevices.enumerateDevices().then(e).catch(function(){e([])}):e([])});var E=!1;"undefined"!=typeof MediaStreamTrack&&"getSources"in MediaStreamTrack?E=!0:s.mediaDevices&&s.mediaDevices.enumerateDevices&&(E=!0);var D=!1,I=!1,P=!1,M=!1,$=!1;function O(t){if(E)if(!s.enumerateDevices&&window.MediaStreamTrack&&window.MediaStreamTrack.getSources&&(s.enumerateDevices=window.MediaStreamTrack.getSources.bind(window.MediaStreamTrack)),!s.enumerateDevices&&s.enumerateDevices&&(s.enumerateDevices=s.enumerateDevices.bind(s)),s.enumerateDevices){S=[],T=[],x=[],$=M=P=I=D=!(k=[]);var r={};s.enumerateDevices(function(e){S=[],T=[],x=[],k=[],e.forEach(function(e){var t={};for(var n in e)try{"function"!=typeof e[n]&&(t[n]=e[n])}catch(e){}r[t.deviceId+t.label+t.kind]||("audio"===t.kind&&(t.kind="audioinput"),"video"===t.kind&&(t.kind="videoinput"),t.deviceId||(t.deviceId=t.id),t.id||(t.id=t.deviceId),t.label?("videoinput"!==t.kind||$||($=!0),"audioinput"!==t.kind||M||(M=!0)):(t.isCustomLabel=!0,"videoinput"===t.kind?t.label="Camera "+(k.length+1):"audioinput"===t.kind?t.label="Microphone "+(T.length+1):"audiooutput"===t.kind?t.label="Speaker "+(x.length+1):t.label="Please invoke getUserMedia once.",void 0!==R&&R.browser.isChrome&&46<=R.browser.version&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(t.label="HTTPs is required to get label of this "+t.kind+" device.")),"audioinput"===t.kind&&(D=!0,-1===T.indexOf(t)&&T.push(t)),"audiooutput"===t.kind&&(I=!0,-1===x.indexOf(t)&&x.push(t)),"videoinput"===t.kind&&(P=!0,-1===k.indexOf(t)&&k.push(t)),S.push(t),r[t.deviceId+t.label+t.kind]=t)}),void 0!==R&&(R.MediaDevices=S,R.hasMicrophone=D,R.hasSpeakers=I,R.hasWebcam=P,R.isWebsiteHasWebcamPermissions=$,R.isWebsiteHasMicrophonePermissions=M,R.audioInputDevices=T,R.audioOutputDevices=x,R.videoInputDevices=k),t&&t()})}else t&&t();else t&&t()}var R=window.DetectRTC||{};R.browser=function(){s.appVersion;var e,t,n,r=s.userAgent,i=s.appName,a=""+parseFloat(s.appVersion),o=parseInt(s.appVersion,10);if(l){i="Opera";try{o=(a=s.userAgent.split("OPR/")[1].split(" ")[0]).split(".")[0]}catch(e){a="0.0.0.0",o=0}}else h?(a=0<(t=r.indexOf("rv:"))?r.substring(t+3):(t=r.indexOf("MSIE"),r.substring(t+5)),i="IE"):d?(t=r.indexOf("Chrome"),i="Chrome",a=r.substring(t+7)):f?-1!==r.indexOf("CriOS")?(t=r.indexOf("CriOS"),i="Chrome",a=r.substring(t+6)):-1!==r.indexOf("FxiOS")?(t=r.indexOf("FxiOS"),i="Firefox",a=r.substring(t+6)):(t=r.indexOf("Safari"),i="Safari",a=r.substring(t+7),-1!==(t=r.indexOf("Version"))&&(a=r.substring(t+8)),-1!==s.userAgent.indexOf("Version/")&&(a=s.userAgent.split("Version/")[1].split(" ")[0])):u?(t=r.indexOf("Firefox"),i="Firefox",a=r.substring(t+8)):(e=r.lastIndexOf(" ")+1)<(t=r.lastIndexOf("/"))&&(i=r.substring(e,t),a=r.substring(t+1),i.toLowerCase()===i.toUpperCase()&&(i=s.appName));return c&&(i="Edge",a=s.userAgent.split("Edge/")[1]),-1!==(n=a.search(/[; \)]/))&&(a=a.substring(0,n)),o=parseInt(""+a,10),isNaN(o)&&(a=""+parseFloat(s.appVersion),o=parseInt(s.appVersion,10)),{fullVersion:a,version:o,name:i,isPrivateBrowsing:!1}}(),function(t){var n;try{if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){n=!1},function(e){n=!0});else if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var r;try{(r=window.indexedDB.open("test")).onerror=function(){return!0}}catch(e){n=!0}void 0===n&&i(function(){return"done"===r.readyState},function(e){e||(n=!r.result)})}else if(function(e){var t=e.toLowerCase();if(0===t.indexOf("msie")&&0===t.indexOf("trident"))return!1;var n=/(?:msie|rv:)\s?([\d\.]+)/.exec(t);return!!(n&&10<=parseInt(n[1],10))}(window.navigator.userAgent)){n=!1;try{window.indexedDB||(n=!0)}catch(e){n=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(e){n=!0}void 0===n&&(n=!1,window.localStorage.removeItem("test"))}}catch(e){n=!1}i(function(){return void 0!==n},function(e){t(n)})}(function(e){R.browser.isPrivateBrowsing=!!e}),R.browser["is"+R.browser.name]=!0,R.osName=o,R.osVersion=p;"object"==typeof process&&"object"==typeof process.versions&&process.versions["node-webkit"];var N=!1;["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){N||e in window&&(N=!0)}),R.isWebRTCSupported=N,R.isORTCSupported="undefined"!=typeof RTCIceGatherer;var L=!1;(R.browser.isChrome&&35<=R.browser.version?L=!0:R.browser.isFirefox&&34<=R.browser.version?L=!0:R.browser.isEdge&&17<=R.browser.version?L=!0:"Android"===R.osName&&R.browser.isChrome&&(L=!0),(s.getDisplayMedia||s.mediaDevices&&s.mediaDevices.getDisplayMedia)&&(L=!0),/^(https:|chrome-extension:)$/g.test(location.protocol||""))||("undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(R.browser.isChrome||R.browser.isEdge||R.browser.isOpera)?L=!1:R.browser.isFirefox&&(L=!1));R.isScreenCapturingSupported=L;var F={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){F.isSupported||e in window&&(F.isSupported=!0,window[e]&&"createMediaStreamSource"in window[e].prototype&&(F.isCreateMediaStreamSourceSupported=!0))}),R.isAudioContextSupported=F.isSupported,R.isCreateMediaStreamSourceSupported=F.isCreateMediaStreamSourceSupported;var G=!1;R.browser.isChrome&&31<R.browser.version&&(G=!0),R.isRtpDataChannelsSupported=G;var j=!1;R.browser.isFirefox&&28<R.browser.version?j=!0:R.browser.isChrome&&25<R.browser.version?j=!0:R.browser.isOpera&&11<=R.browser.version&&(j=!0),R.isSctpDataChannelsSupported=j,R.isMobileDevice=r;var B=!1;s.getUserMedia?B=!0:s.mediaDevices&&s.mediaDevices.getUserMedia&&(B=!0),R.browser.isChrome&&46<=R.browser.version&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(B="Requires HTTPs"),"Nodejs"===R.osName&&(B=!1),R.isGetUserMediaSupported=B;var U,H,W,q="";screen.width&&(q+=(screen.width?screen.width:"")+" x "+(screen.height?screen.height:""));R.displayResolution=q,R.displayAspectRatio=(U=screen.width,H=screen.height,W=function e(t,n){return 0==n?t:e(n,t%n)}(U,H),U/W/(H/W)).toFixed(2),R.isCanvasSupportsStreamCapturing=v,R.isVideoSupportsStreamCapturing=y,"Chrome"==R.browser.name&&53<=R.browser.version&&(R.isCanvasSupportsStreamCapturing||(R.isCanvasSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features"),R.isVideoSupportsStreamCapturing||(R.isVideoSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features")),R.DetectLocalIPAddress=function(t,e){if(R.isWebRTCSupported){var n=!0,r=!0;!function(i,e){if("undefined"!=typeof document&&"function"==typeof document.getElementById){var a={},t=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;if(!t){var n=document.getElementById("iframe");if(!n)return;var r=n.contentWindow;t=r.RTCPeerConnection||r.mozRTCPeerConnection||r.webkitRTCPeerConnection}if(t){var o=null;"Chrome"===R.browser&&R.browser.version<58&&(o={optional:[{RtpDataChannels:!0}]});var s=new t({iceServers:[{urls:"stun:stun.l.google.com:19302"}]},o);if(e&&(s.addStream?s.addStream(e):s.addTrack&&e.getTracks()[0]&&s.addTrack(e.getTracks()[0],e)),s.onicecandidate=function(e){e.candidate&&e.candidate.candidate?c(e.candidate.candidate):c()},!e)try{s.createDataChannel("sctp",{})}catch(e){}R.isPromisesSupported?s.createOffer().then(function(e){s.setLocalDescription(e).then(l)}):s.createOffer(function(e){s.setLocalDescription(e,l,function(){})},function(){})}}function c(e){if(e){var t=C.exec(e);if(t){var n=t[1],r=e.match(w);void 0===a[n]&&i(n,r,!0),a[n]=!0}}else i()}function l(){var e=s.localDescription.sdp.split("\n");e.forEach(function(e){e&&0===e.indexOf("a=candidate:")&&c(e)})}}(function(e){e?e.match(w)?t("Local: "+e,n=!1,r):e.match(A)?t("Public: "+e,n,r=!1):t("Public: "+e,n,r):t()},e)}},R.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,R.isWebSocketsBlocked=!R.isWebSocketsSupported,"Nodejs"===R.osName&&(R.isWebSocketsSupported=!0,R.isWebSocketsBlocked=!1),R.checkWebSocketsSupport=function(t){t=t||function(){};try{var e,n=new WebSocket("wss://echo.websocket.org:443/");n.onopen=function(){R.isWebSocketsBlocked=!1,e=(new Date).getTime(),n.send("ping")},n.onmessage=function(){R.WebsocketLatency=(new Date).getTime()-e+"ms",t(),n.close(),n=null},n.onerror=function(){R.isWebSocketsBlocked=!0,t()}}catch(e){R.isWebSocketsBlocked=!0,t()}},R.load=function(e){O(e=e||function(){})},R.MediaDevices=void 0!==S?S:[],R.hasMicrophone=D,R.hasSpeakers=I,R.hasWebcam=P,R.isWebsiteHasWebcamPermissions=$,R.isWebsiteHasMicrophonePermissions=M,R.audioInputDevices=T,R.audioOutputDevices=x,R.videoInputDevices=k;var z=!1;"undefined"!=typeof document&&"function"==typeof document.createElement&&"setSinkId"in document.createElement("video")&&(z=!0),R.isSetSinkIdSupported=z;var V=!1;R.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(V=!0):R.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(V=!0),R.isRTPSenderReplaceTracksSupported=V;var Y=!1;R.browser.isFirefox&&38<R.browser.version&&(Y=!0),R.isRemoteStreamProcessingSupported=Y;var K=!1;"undefined"!=typeof MediaStreamTrack&&"applyConstraints"in MediaStreamTrack.prototype&&(K=!0),R.isApplyConstraintsSupported=K;var Q=!1;R.browser.isFirefox&&43<=R.browser.version&&(Q=!0),R.isMultiMonitorScreenCapturingSupported=Q,R.isPromisesSupported=!!("Promise"in window),R.version="1.4.0",void 0===R&&(window.DetectRTC={});var X=window.MediaStream;void 0===X&&"undefined"!=typeof webkitMediaStream&&(X=webkitMediaStream),R.MediaStream=void 0!==X&&"function"==typeof X&&Object.keys(X.prototype),"undefined"!=typeof MediaStreamTrack?R.MediaStreamTrack=Object.keys(MediaStreamTrack.prototype):R.MediaStreamTrack=!1;var Z=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;R.RTCPeerConnection=void 0!==Z&&Object.keys(Z.prototype),window.DetectRTC=R,"undefined"!=typeof module&&(module.exports=R),"function"==typeof define&&define.amd&&define("DetectRTC",[],function(){return R})}(),function(e,t){"use strict";"undefined"!=typeof module&&module.exports?module.exports=t(require("angular")):"function"==typeof define&&define.amd?define(["angular"],t):t(e.angular)}(window,function(e){"use strict";e.module("angucomplete-alt",[]).directive("angucompleteAlt",["$q","$parse","$http","$sce","$timeout","$templateCache","$interpolate",function(U,e,H,W,q,t,i){var n="/angucomplete-alt/index.html";function a(c,e,t,n){var r,a,i,o,l,s,u=e.find("input"),f=3,d=null,h="autocomplete-required",p=null,m=null,g=!1,_=e[0].querySelector(".angucomplete-dropdown"),b=!1,v=null;function y(e,t){e&&("object"==typeof e?(c.searchStr=S(e),A({originalObject:e})):"string"==typeof e&&0<e.length?c.searchStr=e:console&&console.error&&console.error("Tried to set "+(t?"initial":"")+" value of angucomplete to",e,"which is an invalid value"),k(!0))}function w(e){v=null,c.hideResults(e),document.body.removeEventListener("click",w)}function C(e){return e.which?e.which:e.keyCode}function A(e){"function"==typeof c.selectedObject?c.selectedObject(e,c.selectedObjectData):c.selectedObject=e,k(!!e)}function S(t){return c.titleField.split(",").map(function(e){return T(t,e)}).join(" ")}function T(e,t){var n,r;if(t){n=t.split("."),r=e;for(var i=0;i<n.length;i++)r=r[n[i]]}else r=e;return r}function x(e,t){var n,r,i;if(i=new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),e)return e.match&&e.replace||(e=e.toString()),n=(r=e.match(i))?e.replace(i,'<span class="'+c.matchClass+'">'+r[0]+"</span>"):e,W.trustAsHtml(n)}function k(e){c.notEmpty=e,p=c.searchStr,c.fieldRequired&&n&&c.inputName&&n[c.inputName].$setValidity(h,e)}function E(e){!c.overrideSuggestions||c.selectedObject&&c.selectedObject.originalObject===c.searchStr||(e&&e.preventDefault(),q.cancel(d),O(),A({originalObject:c.searchStr}),c.clearSelected&&(c.searchStr=null),L())}function D(){return e[0].querySelectorAll(".angucomplete-row")[c.currentIndex]}function I(e){_.scrollTop=_.scrollTop+e}function P(){if(!c.disableAutocomplete){var e=c.results[c.currentIndex];c.matchClass?u.val(S(e.originalObject)):u.val(e.title)}}function M(i){return function(e,t,n,r){t||n||r||!e.data||(e=e.data),c.searching=!1,j(T(a(e),c.remoteUrlDataField),i)}}function $(e,t,n,r){c.searching=g,t||n||r||(t=e.status),0!==t&&-1!==t&&(c.remoteUrlErrorCallback?c.remoteUrlErrorCallback(e,t,n,r):console&&console.error&&console.error("http error"))}function O(){m&&m.resolve()}function R(e){var t={},n=c.remoteUrl+encodeURIComponent(e);c.remoteUrlRequestFormatter&&(t={params:c.remoteUrlRequestFormatter(e)},n=c.remoteUrl),c.remoteUrlRequestWithCredentials&&(t.withCredentials=!0),O(),m=U.defer(),t.timeout=m.promise,g=!0,H.get(n,t).then(M(e)).catch($).finally(function(){g=!1})}function N(e){O(),m=U.defer(),c.remoteApiHandler(e,m.promise).then(M(e)).catch($)}function L(){c.showDropdown=!1,c.results=[],_&&(_.scrollTop=0)}function F(){c.showDropdown=o,c.currentIndex=c.focusFirst?0:-1,c.results=[]}function G(t){!t||t.length<f||(c.localData?c.$apply(function(){var e;e=void 0!==c.localSearch()?c.localSearch()(t,c.localData):function(e){var t,n,r,i,a=c.searchFields.split(","),o=[];for(void 0!==c.parseInput()&&(e=c.parseInput()(e)),t=0;t<c.localData.length;t++){for(n=!1,r=0;r<a.length;r++)i=T(c.localData[t],a[r])||"",n=n||0<=i.toString().toLowerCase().indexOf(e.toString().toLowerCase());n&&(o[o.length]=c.localData[t])}return o}(t),c.searching=!1,j(e,t)}):c.remoteApiHandler?N(t):R(t))}function j(e,t){var n,r,i,a,o,s;if(e&&0<e.length)for(c.results=[],n=0;n<e.length;n++)c.titleField&&""!==c.titleField&&(a=o=S(e[n])),r="",c.descriptionField&&(r=s=T(e[n],c.descriptionField)),i="",c.imageField&&(i=T(e[n],c.imageField)),c.matchClass&&(o=x(a,t),s=x(r,t)),c.results[c.results.length]={title:o,description:s,image:i,originalObject:e[n]};else c.results=[];c.autoMatch&&1===c.results.length&&function(e,t,n){if(!n)return!1;for(var r in t)if(t[r].toLowerCase()===n.toLowerCase())return c.selectResult(e),!0;return!1}(c.results[0],{title:a,desc:r||""},c.searchStr)?c.showDropdown=!1:0!==c.results.length||l?c.showDropdown=!0:c.showDropdown=!1}function B(){c.localData?(c.searching=!1,j(c.localData,"")):c.remoteApiHandler?(c.searching=!0,N("")):(c.searching=!0,R(""))}e.on("mousedown",function(e){e.target.id?(v=e.target.id)===c.id+"_dropdown"&&document.body.addEventListener("click",w):v=e.target.className}),c.currentIndex=c.focusFirst?0:null,c.searching=!1,i=c.$watch("initialValue",function(e){e&&(i(),y(e,!0))}),c.$watch("fieldRequired",function(e,t){e!==t&&(e?p&&-1!==c.currentIndex?k(!0):k(!1):n[c.inputName].$setValidity(h,!0))}),c.$on("angucomplete-alt:clearInput",function(e,t){t&&t!==c.id||(c.searchStr=null,A(),k(!1),L())}),c.$on("angucomplete-alt:changeInput",function(e,t,n){t&&t===c.id&&y(n)}),c.onFocusHandler=function(){c.focusIn&&c.focusIn(),0!==f||c.searchStr&&0!==c.searchStr.length||(c.currentIndex=c.focusFirst?0:c.currentIndex,c.showDropdown=!0,B())},c.hideResults=function(){v&&(v===c.id+"_dropdown"||0<=v.indexOf("angucomplete"))?v=null:(r=q(function(){L(),c.$apply(function(){c.searchStr&&0<c.searchStr.length&&u.val(c.searchStr)})},200),O(),c.focusOut&&c.focusOut(),c.overrideSuggestions&&c.searchStr&&0<c.searchStr.length&&-1===c.currentIndex&&E())},c.resetHideResults=function(){r&&q.cancel(r)},c.hoverRow=function(e){c.currentIndex=e},c.selectResult=function(e){c.matchClass&&(e.title=S(e.originalObject),e.description=T(e.originalObject,c.descriptionField)),c.clearSelected?c.searchStr=null:c.searchStr=e.title,A(e),L()},c.inputChangeHandler=function(e){return e.length<f?(O(),L()):0===e.length&&0===f&&B(),c.inputChanged&&(e=c.inputChanged(e)),e},c.fieldRequiredClass&&""!==c.fieldRequiredClass&&(h=c.fieldRequiredClass),c.minlength&&""!==c.minlength&&(f=parseInt(c.minlength,10)),c.pause||(c.pause=500),c.clearSelected||(c.clearSelected=!1),c.overrideSuggestions||(c.overrideSuggestions=!1),c.fieldRequired&&n&&(c.initialValue?k(!0):k(!1)),c.inputType=t.type?t.type:"text",c.textSearching=t.textSearching?t.textSearching:"Searching...",c.textNoResults=t.textNoResults?t.textNoResults:"No results found",o="false"!==c.textSearching,l="false"!==c.textNoResults,c.maxlength=t.maxlength?t.maxlength:524288,u.on("keydown",function(e){var t,n,r=C(e),i=null,a=null;13===r&&c.results?(0<=c.currentIndex&&c.currentIndex<c.results.length?(e.preventDefault(),c.selectResult(c.results[c.currentIndex])):(E(e),L()),c.$apply()):40===r&&c.results?(e.preventDefault(),c.currentIndex+1<c.results.length&&c.showDropdown&&(c.$apply(function(){c.currentIndex++,P()}),b&&(i=D(),_.getBoundingClientRect().top+parseInt(getComputedStyle(_).maxHeight,10)<i.getBoundingClientRect().bottom&&I((t=i,n=getComputedStyle(t),t.offsetHeight+parseInt(n.marginTop,10)+parseInt(n.marginBottom,10)))))):38===r&&c.results?(e.preventDefault(),1<=c.currentIndex?(c.$apply(function(){c.currentIndex--,P()}),b&&(a=D().getBoundingClientRect().top-(_.getBoundingClientRect().top+parseInt(getComputedStyle(_).paddingTop,10)))<0&&I(a-1)):0===c.currentIndex&&c.$apply(function(){c.currentIndex=-1,u.val(c.searchStr)})):9===r?c.results&&0<c.results.length&&c.showDropdown?-1===c.currentIndex&&c.overrideSuggestions?E():(-1===c.currentIndex&&(c.currentIndex=0),c.selectResult(c.results[c.currentIndex]),c.$digest()):c.searchStr&&0<c.searchStr.length&&E():27===r&&e.preventDefault()}),u.on("keyup compositionend",function(e){var t=C(e);if(37!==t&&39!==t)if(38===t||13===t)e.preventDefault();else if(40===t)e.preventDefault(),!c.showDropdown&&c.searchStr&&c.searchStr.length>=f&&(F(),c.searching=!0,G(c.searchStr));else if(27===t)L(),c.$apply(function(){u.val(c.searchStr)});else{if(0===f&&!c.searchStr)return;c.searchStr&&""!==c.searchStr?c.searchStr.length>=f&&(F(),d&&q.cancel(d),c.searching=!0,d=q(function(){G(c.searchStr)},c.pause)):c.showDropdown=!1,p&&p!==c.searchStr&&!c.clearSelected&&c.$apply(function(){A()})}}),s="remoteUrlResponseFormatter",a=function(e){return c[s]?c[s](e):e},q(function(){var e=getComputedStyle(_);b=e.maxHeight&&"auto"===e.overflowY})}return t.put(n,'<div class="angucomplete-holder" ng-class="{\'angucomplete-dropdown-visible\': showDropdown}"> <input id="{{id}}_value" name="{{inputName}}" tabindex="{{fieldTabindex}}" ng-class="{\'angucomplete-input-not-empty\': notEmpty}" ng-model="searchStr" ng-disabled="disableInput" type="{{inputType}}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" ng-focus="onFocusHandler()" class="{{inputClass}}" ng-focus="resetHideResults()" ng-blur="hideResults($event)" autocapitalize="off" autocorrect="off" autocomplete="off" ng-change="inputChangeHandler(searchStr)"/> <div id="{{id}}_dropdown" class="angucomplete-dropdown" ng-show="showDropdown"> <div class="angucomplete-searching" ng-show="searching" ng-bind="textSearching"></div> <div class="angucomplete-searching" ng-show="!searching && (!results || results.length == 0)" ng-bind="textNoResults"></div> <div class="angucomplete-row" ng-repeat="result in results" ng-click="selectResult(result)" ng-mouseenter="hoverRow($index)" ng-class="{\'angucomplete-selected-row\': $index == currentIndex}"> <div ng-if="imageField" class="angucomplete-image-holder"> <img ng-if="result.image && result.image != \'\'" ng-src="{{result.image}}" class="angucomplete-image"/> <div ng-if="!result.image && result.image != \'\'" class="angucomplete-image-default"></div> </div> <div class="angucomplete-title" ng-if="matchClass" ng-bind-html="result.title"></div> <div class="angucomplete-title" ng-if="!matchClass">{{ result.title }}</div> <div ng-if="matchClass && result.description && result.description != \'\'" class="angucomplete-description" ng-bind-html="result.description"></div> <div ng-if="!matchClass && result.description && result.description != \'\'" class="angucomplete-description">{{result.description}}</div> </div> </div></div>'),{restrict:"EA",require:"^?form",scope:{selectedObject:"=",selectedObjectData:"=",disableInput:"=",initialValue:"=",localData:"=",localSearch:"&",remoteUrlRequestFormatter:"=",remoteUrlRequestWithCredentials:"@",remoteUrlResponseFormatter:"=",remoteUrlErrorCallback:"=",remoteApiHandler:"=",id:"@",type:"@",placeholder:"@",textSearching:"@",textNoResults:"@",remoteUrl:"@",remoteUrlDataField:"@",titleField:"@",descriptionField:"@",imageField:"@",inputClass:"@",pause:"@",searchFields:"@",minlength:"@",matchClass:"@",clearSelected:"@",overrideSuggestions:"@",fieldRequired:"=",fieldRequiredClass:"@",inputChanged:"=",autoMatch:"@",focusOut:"&",focusIn:"&",fieldTabindex:"@",inputName:"@",focusFirst:"@",parseInput:"&",disableAutocomplete:"="},templateUrl:function(e,t){return t.templateUrl||n},compile:function(e){var t=i.startSymbol(),n=i.endSymbol();if("{{"!==t||"}}"!==n){var r=e.html().replace(/\{\{/g,t).replace(/\}\}/g,n);e.html(r)}return a}}}])}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(function(){try{return require("moment")}catch(e){}}()):"function"==typeof define&&define.amd?define(["require"],function(e){return t(function(){try{return e("moment")}catch(e){}}())}):(e=e||self).Chart=t(e.moment)}(this,function(r){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var e,u={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]},l=(function(e){var l={};for(var t in u)u.hasOwnProperty(t)&&(l[u[t]]=t);var o=e.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 n in o)if(o.hasOwnProperty(n)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);var r=o[n].channels,i=o[n].labels;delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:r}),Object.defineProperty(o[n],"labels",{value:i})}o.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),c=s-o;return s===o?t=0:r===s?t=(i-a)/c:i===s?t=2+(a-r)/c:a===s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?c/(s+o):c/(2-s-o)),100*n]},o.rgb.hsv=function(e){var t,n,r,i,a,o=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),f=function(e){return(l-e)/6/u+.5};return 0===u?i=a=0:(a=u/l,t=f(o),n=f(s),r=f(c),o===l?i=r-n:s===l?i=1/3+t-r:c===l&&(i=2/3+n-t),i<0?i+=1:1<i&&(i-=1)),[360*i,100*a,100*l]},o.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[o.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},o.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var t=l[e];if(t)return t;var n,r,i,a=1/0;for(var o in u)if(u.hasOwnProperty(o)){var s=u[o],c=(r=e,i=s,Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2)+Math.pow(r[2]-i[2],2));c<a&&(a=c,n=o)}return n},o.keyword.rgb=function(e){return u[e]},o.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=.04045<t?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=.04045<r?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},o.rgb.lab=function(e){var t=o.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(r=.008856<r?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]},o.hsl.rgb=function(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,c=e[2]/100;if(0===s)return[a=255*c,a,a];t=2*c-(n=c<.5?c*(1+s):c+s-c*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,1<r&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i},o.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[t,100*(0===r?2*i/(a+i):2*n/(r+n)),100*((r+n)/2)]},o.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,o];case 1:return[s,r,o];case 2:return[o,r,c];case 3:return[o,s,r];case 4:return[c,o,r];case 5:return[r,o,s]}},o.hsv.hsl=function(e){var t,n,r,i=e[0],a=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-a)*o,n=a*s,[i,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(r/=2)]},o.hwb.rgb=function(e){var t,n,r,i,a,o,s,c=e[0]/360,l=e[1]/100,u=e[2]/100,f=l+u;switch(1<f&&(l/=f,u/=f),r=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-u)-l),t){default:case 6:case 0:a=n,o=i,s=l;break;case 1:a=i,o=n,s=l;break;case 2:a=l,o=n,s=i;break;case 3:a=l,o=i,s=n;break;case 4:a=i,o=l,s=n;break;case 5:a=n,o=l,s=i}return[255*a,255*o,255*s]},o.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},o.xyz.rgb=function(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=.0031308<(t=3.2406*i+-1.5372*a+-.4986*o)?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=.0031308<r?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},o.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=.008856<r?Math.pow(r,1/3):7.787*r+16/116))]},o.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=.008856<a?a:(n-16/116)/7.787,t=.008856<o?o:(t-16/116)/7.787,r=.008856<s?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},o.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},o.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},o.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:248<t?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return 50<e&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(50<e));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if(232<=e){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},o.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),s=a-o;return t=s<=0?0:a===n?(r-i)/s%6:a===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},o.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},o.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,a=[0,0,0],o=t%1*6,s=o%1,c=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=c,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=c,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=c}return i=(1-n)*r,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},o.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return 0<n&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return 0<n&&n<.5?r=t/(2*n):.5<=n&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(e={exports:{}},e.exports),e.exports);l.rgb,l.hsl,l.hsv,l.hwb,l.cmyk,l.xyz,l.lab,l.lch,l.hex,l.keyword,l.ansi16,l.ansi256,l.hcg,l.apple,l.gray;function c(e){var t=function(){for(var e={},t=Object.keys(l),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(l[r]),a=i.length,o=0;o<a;o++){var s=i[o],c=t[s];-1===c.distance&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(s))}return t}function a(t,n){return function(e){return n(t(e))}}function f(e,t){for(var n=[t[e].parent,e],r=l[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=a(l[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}var d={};Object.keys(l).forEach(function(o){d[o]={},Object.defineProperty(d[o],"channels",{value:l[o].channels}),Object.defineProperty(d[o],"labels",{value:l[o].labels});var s=function(e){for(var t=c(e),n={},r=Object.keys(t),i=r.length,a=0;a<i;a++){var o=r[a];null!==t[o].parent&&(n[o]=f(o,t))}return n}(o);Object.keys(s).forEach(function(e){var i,t,n,r,a=s[e];d[o][e]=(t=function(e){if(null==e)return e;1<arguments.length&&(e=Array.prototype.slice.call(arguments));var t=i(e);if("object"==typeof t)for(var n=t.length,r=0;r<n;r++)t[r]=Math.round(t[r]);return t},"conversion"in(i=a)&&(t.conversion=i.conversion),t),d[o][e].raw=(r=function(e){return null==e?e:(1<arguments.length&&(e=Array.prototype.slice.call(arguments)),n(e))},"conversion"in(n=a)&&(r.conversion=n.conversion),r)})});var h=d,o={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]},n={getRgba:i,getHsla:s,getRgb:function(e){var t=i(e);return t&&t.slice(0,3)},getHsl:function(e){var t=s(e);return t&&t.slice(0,3)},getHwb:p,getAlpha:function(e){var t=i(e);{if(t)return t[3];if(t=s(e))return t[3];if(t=p(e))return t[3]}},hexString:function(e,t){var t=void 0!==t&&3===e.length?t:e[3];return"#"+v(e[0])+v(e[1])+v(e[2])+(0<=t&&t<1?v(Math.round(255*t)):"")},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return m(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:m,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return g(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+i+"%)"},percentaString:g,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return _(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:_,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return t[e.slice(0,3)]}};function i(e){if(e){var t=[0,0,0],n=1,r=e.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(r){i=(r=r[1])[3];for(var a=0;a<t.length;a++)t[a]=parseInt(r[a]+r[a],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(r=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){i=r[2],r=r[1];for(a=0;a<t.length;a++)t[a]=parseInt(r.slice(2*a,2*a+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=parseInt(r[a+1]);n=parseFloat(r[4])}else if(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(r[a+1]));n=parseFloat(r[4])}else if(r=e.match(/(\w+)/)){if("transparent"==r[1])return[0,0,0,0];if(!(t=o[r[1]]))return}for(a=0;a<t.length;a++)t[a]=b(t[a],0,255);return n=n||0==n?b(n,0,1):1,t[3]=n,t}}function s(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[b(parseInt(t[1]),0,360),b(parseFloat(t[2]),0,100),b(parseFloat(t[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function p(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[b(parseInt(t[1]),0,360),b(parseFloat(t[2]),0,100),b(parseFloat(t[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function g(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function _(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function b(e,t,n){return Math.min(Math.max(t,e),n)}function v(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var t={};for(var y in o)t[o[y]]=y;var w=function(e){return e instanceof w?e:this instanceof w?(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},void("string"==typeof e?(t=n.getRgba(e))?this.setValues("rgb",t):(t=n.getHsla(e))?this.setValues("hsl",t):(t=n.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new w(e);var t};w.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 e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return n<t?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,i=2*r-1,a=this.alpha()-n.alpha(),o=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new w,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(e=r[a],"[object Array]"===(t={}.toString.call(e))?i[a]=e.slice(0):"[object Number]"===t?i[a]=e:console.error("unexpected color value:",e));return n}},w.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},w.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},w.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},w.prototype.setValues=function(e,t){var n,r,i=this.values,a=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)i[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)i[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[a[e][0]]){var c=a[e];for(n=0;n<e.length;n++)i[e][n]=t[c[n]];s=t.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===e)return!1;for(n=0;n<e.length;n++)r=Math.max(0,Math.min(o[e][n],i[e][n])),i[e][n]=Math.round(r);for(var l in a)l!==e&&(i[l]=h[e][l](i[e]));return!0},w.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},w.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:(n===r[t]||(r[t]=n,this.setValues(e,r)),this)},"undefined"!=typeof window&&(window.Color=w);var C=w;function A(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var S,T={noop:function(){},uid:(S=0,function(){return S++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return T.valueOrDefault(T.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var i,a,o;if(T.isArray(e))if(a=e.length,r)for(i=a-1;0<=i;i--)t.call(n,e[i],i);else for(i=0;i<a;i++)t.call(n,e[i],i);else if(T.isObject(e))for(a=(o=Object.keys(e)).length,i=0;i<a;i++)t.call(n,e[o[i]],o[i])},arrayEquals:function(e,t){var n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i instanceof Array&&a instanceof Array){if(!T.arrayEquals(i,a))return!1}else if(i!==a)return!1;return!0},clone:function(e){if(T.isArray(e))return e.map(T.clone);if(T.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),r=n.length,i=0;i<r;++i)t[n[i]]=T.clone(e[n[i]]);return t}return e},_merger:function(e,t,n,r){if(A(e)){var i=t[e],a=n[e];T.isObject(i)&&T.isObject(a)?T.merge(i,a,r):t[e]=T.clone(a)}},_mergerIf:function(e,t,n){if(A(e)){var r=t[e],i=n[e];T.isObject(r)&&T.isObject(i)?T.mergeIf(r,i):t.hasOwnProperty(e)||(t[e]=T.clone(i))}},merge:function(e,t,n){var r,i,a,o,s,c=T.isArray(t)?t:[t],l=c.length;if(!T.isObject(e))return e;for(r=(n=n||{}).merger||T._merger,i=0;i<l;++i)if(t=c[i],T.isObject(t))for(s=0,o=(a=Object.keys(t)).length;s<o;++s)r(a[s],e,t,n);return e},mergeIf:function(e,t){return T.merge(e,t,{merger:T._mergerIf})},extend:Object.assign||function(e){return T.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=T.inherits,e&&T.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,r){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+r+'" instead')}},x=T;T.callCallback=T.callback,T.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},T.getValueOrDefault=T.valueOrDefault,T.getValueAtIndexOrDefault=T.valueAtIndexOrDefault;var k={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return 1<=e?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),t=r<1?(r=1,n/4):n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),t=r<1?(r=1,n/4):n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),t=r<1?(r=1,n/4):n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){return e*e*(2.70158*e-1.70158)},easeOutBack:function(e){return(e-=1)*e*(2.70158*e+1.70158)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-k.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*k.easeInBounce(2*e):.5*k.easeOutBounce(2*e-1)+.5}},E={effects:k};x.easingEffects=k;var D=Math.PI,I=D/180,P=2*D,M=D/2,$=D/4,O=2*D/3,R={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,i,a){if(a){var o=Math.min(a,i/2,r/2),s=t+o,c=n+o,l=t+r-o,u=n+i-o;e.moveTo(t,c),s<l&&c<u?(e.arc(s,c,o,-D,-M),e.arc(l,c,o,-M,0),e.arc(l,u,o,0,M),e.arc(s,u,o,M,D)):s<l?(e.moveTo(s,n),e.arc(l,c,o,-M,M),e.arc(s,c,o,M,D+M)):c<u?(e.arc(s,c,o,-D,0),e.arc(s,u,o,0,D)):e.arc(s,c,o,-D,D),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)},drawPoint:function(e,t,n,r,i,a){var o,s,c,l,u,f=(a||0)*I;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(o=t.toString())||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(r,i),e.rotate(f),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(r,i,n,0,P),e.closePath();break;case"triangle":e.moveTo(r+Math.sin(f)*n,i-Math.cos(f)*n),f+=O,e.lineTo(r+Math.sin(f)*n,i-Math.cos(f)*n),f+=O,e.lineTo(r+Math.sin(f)*n,i-Math.cos(f)*n),e.closePath();break;case"rectRounded":l=n-(u=.516*n),s=Math.cos(f+$)*l,c=Math.sin(f+$)*l,e.arc(r-s,i-c,u,f-D,f-M),e.arc(r+c,i-s,u,f-M,f),e.arc(r+s,i+c,u,f,f+M),e.arc(r-c,i+s,u,f+M,f+D),e.closePath();break;case"rect":if(!a){l=Math.SQRT1_2*n,e.rect(r-l,i-l,2*l,2*l);break}f+=$;case"rectRot":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+c,i-s),e.lineTo(r+s,i+c),e.lineTo(r-c,i+s),e.closePath();break;case"crossRot":f+=$;case"cross":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c),e.moveTo(r+c,i-s),e.lineTo(r-c,i+s);break;case"star":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c),e.moveTo(r+c,i-s),e.lineTo(r-c,i+s),f+=$,s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c),e.moveTo(r+c,i-s),e.lineTo(r-c,i+s);break;case"line":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c);break;case"dash":e.moveTo(r,i),e.lineTo(r+Math.cos(f)*n,i+Math.sin(f)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){var i=n.steppedLine;if(i){if("middle"===i){var a=(t.x+n.x)/2;e.lineTo(a,r?n.y:t.y),e.lineTo(a,r?t.y:n.y)}else"after"===i&&!r||"after"!==i&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},N=R;x.clear=R.clear,x.drawRoundedRectangle=function(e){e.beginPath(),R.roundedRect.apply(R,arguments)};var L={_set:function(e,t){return x.merge(this[e]||(this[e]={}),t)}};L._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 F=L,G=x.valueOrDefault;var j={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,r,i;return x.isObject(e)?(t=+e.top||0,n=+e.right||0,r=+e.bottom||0,i=+e.left||0):t=n=r=i=+e||0,{top:t,right:n,bottom:r,left:i,height:t+r,width:i+n}},_parseFont:function(e){var t,n=F.global,r=G(e.fontSize,n.defaultFontSize),i={family:G(e.fontFamily,n.defaultFontFamily),lineHeight:x.options.toLineHeight(G(e.lineHeight,n.defaultLineHeight),r),size:r,style:G(e.fontStyle,n.defaultFontStyle),weight:null,string:""};return i.string=!(t=i)||x.isNullOrUndef(t.size)||x.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family,i},resolve:function(e,t,n,r){var i,a,o,s=!0;for(i=0,a=e.length;i<a;++i)if(void 0!==(o=e[i])&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==n&&x.isArray(o)&&(o=o[n],s=!1),void 0!==o))return r&&!s&&(r.cacheable=!1),o}},B={_factorize:function(e){var t,n=[],r=Math.sqrt(e);for(t=1;t<r;t++)e%t==0&&(n.push(t),n.push(e/t));return r===(0|r)&&n.push(r),n.sort(function(e,t){return e-t}).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},U=B;x.log10=B.log10;var H=x,W=E,q=N,z=j,V=U,Y={getRtlAdapter:function(e,t,n){return e?(r=t,i=n,{x:function(e){return r+r+i-e},setWidth:function(e){i=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}};var r,i},overrideTextDirection:function(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};H.easing=W,H.canvas=q,H.options=z,H.math=V,H.rtl=Y;var K=function(e){H.extend(this,e),this.initialize.apply(this,arguments)};H.extend(K.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=H.extend({},this._model)),this._start={},this},transition:function(e){var t=this._model,n=this._start,r=this._view;return t&&1!==e?(r||(r=this._view={}),n||(n=this._start={}),function(e,t,n,r){var i,a,o,s,c,l,u,f,d,h=Object.keys(n);for(i=0,a=h.length;i<a;++i)if(l=n[o=h[i]],t.hasOwnProperty(o)||(t[o]=l),(s=t[o])!==l&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=s),(u=typeof l)==typeof(c=e[o]))if("string"===u){if((f=C(c)).valid&&(d=C(l)).valid){t[o]=d.mix(f,r).rgbString();continue}}else if(H.isFinite(c)&&H.isFinite(l)){t[o]=c+(l-c)*r;continue}t[o]=l}}(n,r,t,e)):(this._view=H.extend({},t),this._start=null),this},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return H.isNumber(this._model.x)&&H.isNumber(this._model.y)}}),K.extend=H.inherits;var Q=K,X=Q.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Z=X;Object.defineProperty(X.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(X.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),F._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:H.noop,onComplete:H.noop}});var J={animations:[],request:null,addAnimation:function(e,t,n,r){var i,a,o=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,r||(e.animating=!0),i=0,a=o.length;i<a;++i)if(o[i].chart===e)return void(o[i]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=H.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=H.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){this.advance(),0<this.animations.length&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,r,i=this.animations,a=0;a<i.length;)t=(e=i[a]).chart,n=e.numSteps,r=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(r,n),H.callback(e.render,[t,e],t),H.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(H.callback(e.onAnimationComplete,[e],t),t.animating=!1,i.splice(a,1)):++a}},ee=H.options.resolve,te=["push","pop","shift","splice","unshift"];function ne(t,e){var n=t._chartjs;if(n){var r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),0<r.length||(te.forEach(function(e){delete t[e]}),delete t._chartjs)}}var re=function(e,t){this.initialize(e,t)};H.extend(re.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){this.chart=e,this.index=t,this.linkScales(),this.addElements(),this._type=this.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,r=this.getDataset(),i=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!r.xAxisID||(e.xAxisID=r.xAxisID||i.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!r.yAxisID||(e.yAxisID=r.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_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&&ne(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(e=0,t=r.length;e<t;++e)i[e]=i[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var i,e,t=this.getDataset(),n=t.data||(t.data=[]);this._data!==n&&(this._data&&ne(this._data,this),n&&Object.isExtensible(n)&&(e=this,(i=n)._chartjs?i._chartjs.listeners.push(e):(Object.defineProperty(i,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),te.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),r=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),e=r.apply(this,t);return H.each(i._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),e}})}))),this._data=n),this.resyncElements()},_configure:function(){this._config=H.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&H._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:H.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,i=0;i<r;++i)n[i].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},getStyle:function(e){var t,n=this.getMeta(),r=n.dataset;return this._configure(),!1!==(t=r&&void 0===e?this._resolveDatasetElementOptions(r||{}):(e=e||0,this._resolveDataElementOptions(n.data[e]||{},e))).fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,r,i,a,o=this.chart,s=this._config,c=e.custom||{},l=o.options.elements[this.datasetElementType.prototype._type]||{},u=this._datasetElementOptions,f={},d={chart:o,dataset:this.getDataset(),datasetIndex:this.index,hover:t};for(n=0,r=u.length;n<r;++n)i=u[n],a=t?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,f[i]=ee([c[a],s[a],l[a]],d);return f},_resolveDataElementOptions:function(e,t){var n=e&&e.custom,r=this._cachedDataOpts;if(r&&!n)return r;var i,a,o,s,c=this.chart,l=this._config,u=c.options.elements[this.dataElementType.prototype._type]||{},f=this._dataElementOptions,d={},h={chart:c,dataIndex:t,dataset:this.getDataset(),datasetIndex:this.index},p={cacheable:!n};if(n=n||{},H.isArray(f))for(a=0,o=f.length;a<o;++a)d[s=f[a]]=ee([n[s],l[s],u[s]],h,t,p);else for(a=0,o=(i=Object.keys(f)).length;a<o;++a)d[s=i[a]]=ee([n[s],l[f[s]],l[s],u[s]],h,t,p);return p.cacheable&&(this._cachedDataOpts=Object.freeze(d)),d},removeHoverStyle:function(e){H.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},i=e._model,a=H.getHoverColor;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=ee([r.hoverBackgroundColor,t.hoverBackgroundColor,a(i.backgroundColor)],void 0,n),i.borderColor=ee([r.hoverBorderColor,t.hoverBorderColor,a(i.borderColor)],void 0,n),i.borderWidth=ee([r.hoverBorderWidth,t.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,r,i,a,o=this.getMeta().dataset,s={};if(o){for(a=o._model,i=this._resolveDatasetElementOptions(o,!0),e=0,t=(r=Object.keys(i)).length;e<t;++e)s[n=r[e]]=a[n],a[n]=i[n];o.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,r=t.length;r<n?e.data.splice(r,n-r):n<r&&this.insertElements(n,r-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),re.extend=H.inherits;var ie=re,ae=2*Math.PI;function oe(e,t){var n=t.startAngle,r=t.endAngle,i=t.pixelMargin,a=i/t.outerRadius,o=t.x,s=t.y;e.beginPath(),e.arc(o,s,t.outerRadius,n-a,r+a),t.innerRadius>i?(a=i/t.innerRadius,e.arc(o,s,t.innerRadius-i,r+a,n-a,!0)):e.arc(o,s,i,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function se(e,t,n){var r="inner"===t.borderAlign;r?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,r){var i,a=n.endAngle;for(r&&(n.endAngle=n.startAngle+ae,oe(e,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=ae,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+ae,n.startAngle,!0),i=0;i<n.fullCircles;++i)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+ae),i=0;i<n.fullCircles;++i)e.stroke()}(e,t,n,r),r&&oe(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}F._set("global",{elements:{arc:{backgroundColor:F.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ce=Q.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=H.getAngleFromPoint(n,{x:e,y:t}),i=r.angle,a=r.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=ae;for(;s<i;)i-=ae;for(;i<o;)i+=ae;var c=o<=i&&i<=s,l=a>=n.innerRadius&&a<=n.outerRadius;return c&&l}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/ae)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+ae,t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),e=0;e<i.fullCircles;++e)t.fill();i.endAngle=i.startAngle+n.circumference%ae}t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&se(t,n,i),t.restore()}}),le=H.valueOrDefault,ue=F.global.defaultColor;F._set("global",{elements:{line:{tension:.4,backgroundColor:ue,borderWidth:3,borderColor:ue,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var fe=Q.extend({_type:"line",draw:function(){var e,t,n,r=this._view,i=this._chart.ctx,a=r.spanGaps,o=this._children.slice(),s=F.global,c=s.elements.line,l=-1,u=this._loop;if(o.length){if(this._loop){for(e=0;e<o.length;++e)if(t=H.previousItem(o,e),!o[e]._view.skip&&t._view.skip){o=o.slice(e).concat(o.slice(0,e)),u=a;break}u&&o.push(o[0])}for(i.save(),i.lineCap=r.borderCapStyle||c.borderCapStyle,i.setLineDash&&i.setLineDash(r.borderDash||c.borderDash),i.lineDashOffset=le(r.borderDashOffset,c.borderDashOffset),i.lineJoin=r.borderJoinStyle||c.borderJoinStyle,i.lineWidth=le(r.borderWidth,c.borderWidth),i.strokeStyle=r.borderColor||s.defaultColor,i.beginPath(),(n=o[0]._view).skip||(i.moveTo(n.x,n.y),l=0),e=1;e<o.length;++e)n=o[e]._view,t=-1===l?H.previousItem(o,e):o[l],n.skip||(l!==e-1&&!a||-1===l?i.moveTo(n.x,n.y):H.canvas.lineTo(i,t._view,n),l=e);u&&i.closePath(),i.stroke(),i.restore()}}}),de=H.valueOrDefault,he=F.global.defaultColor;function pe(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}F._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:he,borderColor:he,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var me=Q.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:pe,inXRange:pe,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,r=t.pointStyle,i=t.rotation,a=t.radius,o=t.x,s=t.y,c=F.global,l=c.defaultColor;t.skip||(void 0===e||H.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||l,n.lineWidth=de(t.borderWidth,c.elements.point.borderWidth),n.fillStyle=t.backgroundColor||l,H.canvas.drawPoint(n,r,a,o,s,i))}}),ge=F.global.defaultColor;function _e(e){return e&&void 0!==e.width}function be(e){var t,n,r,i,a;return i=_e(e)?(a=e.width/2,t=e.x-a,n=e.x+a,r=Math.min(e.y,e.base),Math.max(e.y,e.base)):(a=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),r=e.y-a,e.y+a),{left:t,top:r,right:n,bottom:i}}function ve(e,t,n){return e===t?n:e===n?t:e}function ye(e,t,n){var r,i,a,o,s,c,l,u=e.borderWidth,f=(i=(r=e).borderSkipped,a={},i&&(r.horizontal?r.base>r.x&&(i=ve(i,"left","right")):r.base<r.y&&(i=ve(i,"bottom","top")),a[i]=!0),a);return H.isObject(u)?(o=+u.top||0,s=+u.right||0,c=+u.bottom||0,l=+u.left||0):o=s=c=l=+u||0,{t:f.top||o<0?0:n<o?n:o,r:f.right||s<0?0:t<s?t:s,b:f.bottom||c<0?0:n<c?n:c,l:f.left||l<0?0:t<l?t:l}}function we(e,t,n){var r=null===t,i=null===n,a=!(!e||r&&i)&&be(e);return a&&(r||t>=a.left&&t<=a.right)&&(i||n>=a.top&&n<=a.bottom)}F._set("global",{elements:{rectangle:{backgroundColor:ge,borderColor:ge,borderSkipped:"bottom",borderWidth:0}}});var Ce=Q.extend({_type:"rectangle",draw:function(){var e,t,n,r,i,a=this._chart.ctx,o=this._view,s=(t=be(e=o),n=t.right-t.left,r=t.bottom-t.top,i=ye(e,n/2,r/2),{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b}}),c=s.outer,l=s.inner;a.fillStyle=o.backgroundColor,a.fillRect(c.x,c.y,c.w,c.h),c.w===l.w&&c.h===l.h||(a.save(),a.beginPath(),a.rect(c.x,c.y,c.w,c.h),a.clip(),a.fillStyle=o.borderColor,a.rect(l.x,l.y,l.w,l.h),a.fill("evenodd"),a.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return we(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return _e(n)?we(n,e,null):we(n,null,t)},inXRange:function(e){return we(this._view,e,null)},inYRange:function(e){return we(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return t=_e(n)?(e=n.x,(n.y+n.base)/2):(e=(n.x+n.base)/2,n.y),{x:e,y:t}},getArea:function(){var e=this._view;return _e(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),Ae={},Se=ce,Te=fe,xe=me,ke=Ce;Ae.Arc=Se,Ae.Line=Te,Ae.Point=xe,Ae.Rectangle=ke;var Ee=H._deprecated,De=H.valueOrDefault;function Ie(e,t,n){var r,i,a=n.barThickness,o=t.stackCount,s=t.pixels[e],c=H.isNullOrUndef(a)?function(e,t){var n,r,i,a,o=e._length;for(i=1,a=t.length;i<a;++i)o=Math.min(o,Math.abs(t[i]-t[i-1]));for(i=0,a=e.getTicks().length;i<a;++i)r=e.getPixelForTick(i),o=0<i?Math.min(o,Math.abs(r-n)):o,n=r;return o}(t.scale,t.pixels):-1;return i=H.isNullOrUndef(a)?(r=c*n.categoryPercentage,n.barPercentage):(r=a*o,1),{chunk:r/o,ratio:i,start:s-r/2}}F._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),F._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Pe=ie.extend({dataElementType:Ae.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t;ie.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0,t=this._getIndexScale().options,Ee("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Ee("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Ee("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Ee("bar chart",this._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Ee("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t<n;++t)this.updateElement(r[t],t,e)},updateElement:function(e,t,n){var r=this.getMeta(),i=this.getDataset(),a=this._resolveDataElementOptions(e,t);e._xScale=this.getScaleForId(r.xAxisID),e._yScale=this.getScaleForId(r.yAxisID),e._datasetIndex=this.index,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:i.label,label:this.chart.data.labels[t]},H.isArray(i.data[t])&&(e._model.borderSkipped=null),this._updateElementGeometry(e,t,n,a),e.pivot()},_updateElementGeometry:function(e,t,n,r){var i=e._model,a=this._getValueScale(),o=a.getBasePixel(),s=a.isHorizontal(),c=this._ruler||this.getRuler(),l=this.calculateBarValuePixels(this.index,t,r),u=this.calculateBarIndexPixels(this.index,t,c,r);i.horizontal=s,i.base=n?o:l.base,i.x=s?n?o:l.head:u.center,i.y=s?u.center:n?o:l.head,i.height=s?u.size:void 0,i.width=s?void 0:u.size},_getStacks:function(e){var t,n,r=this._getIndexScale(),i=r._getMatchingVisibleMetas(this._type),a=r.options.stacked,o=i.length,s=[];for(t=0;t<o&&(n=i[t],(!1===a||-1===s.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n=this._getIndexScale(),r=[];for(e=0,t=this.getMeta().data.length;e<t;++e)r.push(n.getPixelForValue(null,e,this.index));return{pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var r,i,a,o,s,c,l,u=this.chart,f=this._getValueScale(),d=f.isHorizontal(),h=u.data.datasets,p=f._getMatchingVisibleMetas(this._type),m=f._parseValue(h[e].data[t]),g=n.minBarLength,_=f.options.stacked,b=this.getMeta().stack,v=void 0===m.start?0:0<=m.max&&0<=m.min?m.min:m.max,y=void 0===m.start?m.end:0<=m.max&&0<=m.min?m.max-m.min:m.min-m.max,w=p.length;if(_||void 0===_&&void 0!==b)for(r=0;r<w&&(i=p[r]).index!==e;++r)i.stack===b&&(a=void 0===(l=f._parseValue(h[i.index].data[t])).start?l.end:0<=l.min&&0<=l.max?l.max:l.min,(m.min<0&&a<0||0<=m.max&&0<a)&&(v+=a));return o=f.getPixelForValue(v),c=(s=f.getPixelForValue(v+y))-o,void 0!==g&&Math.abs(c)<g&&(c=g,s=0<=y&&!d||y<0&&d?o-g:o+g),{size:c,base:o,head:s,center:s+c/2}},calculateBarIndexPixels:function(e,t,n,r){var i,a,o,s,c,l,u,f,d,h="flex"===r.barThickness?(i=t,o=r,c=(a=n).pixels,l=c[i],u=0<i?c[i-1]:null,f=i<c.length-1?c[i+1]:null,d=o.categoryPercentage,null===u&&(u=l-(null===f?a.end-a.start:f-l)),null===f&&(f=l+l-u),s=l-(l-Math.min(u,f))/2*d,{chunk:Math.abs(f-u)/2*d/a.stackCount,ratio:o.barPercentage,start:s}):Ie(t,n,r),p=this.getStackIndex(e,this.getMeta().stack),m=h.start+h.chunk*p+h.chunk/2,g=Math.min(De(r.maxBarThickness,1/0),h.chunk*h.ratio);return{base:m-g/2,head:m+g/2,center:m,size:g}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,r=this.getDataset(),i=n.length,a=0;for(H.canvas.clipArea(e.ctx,e.chartArea);a<i;++a){var o=t._parseValue(r.data[a]);isNaN(o.min)||isNaN(o.max)||n[a].draw()}H.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=H.extend({},ie.prototype._resolveDataElementOptions.apply(this,arguments)),t=this._getIndexScale().options,n=this._getValueScale().options;return e.barPercentage=De(t.barPercentage,e.barPercentage),e.barThickness=De(t.barThickness,e.barThickness),e.categoryPercentage=De(t.categoryPercentage,e.categoryPercentage),e.maxBarThickness=De(t.maxBarThickness,e.maxBarThickness),e.minBarLength=De(n.minBarLength,e.minBarLength),e}}),Me=H.valueOrDefault,$e=H.options.resolve;F._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(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}});var Oe=ie.extend({dataElementType:Ae.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(n){var r=this,e=r.getMeta().data;H.each(e,function(e,t){r.updateElement(e,t,n)})},updateElement:function(e,t,n){var r=this.getMeta(),i=e.custom||{},a=this.getScaleForId(r.xAxisID),o=this.getScaleForId(r.yAxisID),s=this._resolveDataElementOptions(e,t),c=this.getDataset().data[t],l=this.index,u=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof c?c:NaN,t,l),f=n?o.getBasePixel():o.getPixelForValue(c,t,l);e._xScale=a,e._yScale=o,e._options=s,e._datasetIndex=l,e._index=t,e._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,rotation:s.rotation,radius:n?0:s.radius,skip:i.skip||isNaN(u)||isNaN(f),x:u,y:f},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Me(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Me(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Me(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this.chart,r=this.getDataset(),i=e.custom||{},a=r.data[t]||{},o=ie.prototype._resolveDataElementOptions.apply(this,arguments),s={chart:n,dataIndex:t,dataset:r,datasetIndex:this.index};return this._cachedDataOpts===o&&(o=H.extend({},o)),o.radius=$e([i.radius,a.r,this._config.radius,n.options.elements.point.radius],s,t),o}}),Re=H.valueOrDefault,Ne=Math.PI,Le=2*Ne,Fe=Ne/2;F._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(i.setAttribute("class",e.id+"-legend"),o.length)for(n=o[t=0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(i){var a=i.data;return a.labels.length&&a.datasets.length?a.labels.map(function(e,t){var n=i.getDatasetMeta(0),r=n.controller.getStyle(t);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(a.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)(i=o.getDatasetMeta(n)).data[a]&&(i.data[a].hidden=!i.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-Fe,circumference:Le,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return H.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}});var Ge=ie.extend({dataElementType:Ae.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,r,i,a=this,o=a.chart,s=o.chartArea,c=o.options,l=1,u=1,f=0,d=0,h=a.getMeta(),p=h.data,m=c.cutoutPercentage/100||0,g=c.circumference,_=a._getRingWeight(a.index);if(g<Le){var b=c.rotation%Le,v=(b+=Ne<=b?-Le:b<-Ne?Le:0)+g,y=Math.cos(b),w=Math.sin(b),C=Math.cos(v),A=Math.sin(v),S=b<=0&&0<=v||Le<=v,T=b<=Fe&&Fe<=v||Le+Fe<=v,x=b<=-Fe&&-Fe<=v||Ne+Fe<=v,k=b===-Ne||Ne<=v?-1:Math.min(y,y*m,C,C*m),E=x?-1:Math.min(w,w*m,A,A*m),D=S?1:Math.max(y,y*m,C,C*m),I=T?1:Math.max(w,w*m,A,A*m);l=(D-k)/2,u=(I-E)/2,f=-(D+k)/2,d=-(I+E)/2}for(r=0,i=p.length;r<i;++r)p[r]._options=a._resolveDataElementOptions(p[r],r);for(o.borderWidth=a.getMaxBorderWidth(),t=(s.right-s.left-o.borderWidth)/l,n=(s.bottom-s.top-o.borderWidth)/u,o.outerRadius=Math.max(Math.min(t,n)/2,0),o.innerRadius=Math.max(o.outerRadius*m,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(a._getVisibleDatasetWeightTotal()||1),o.offsetX=f*o.outerRadius,o.offsetY=d*o.outerRadius,h.total=a.calculateTotal(),a.outerRadius=o.outerRadius-o.radiusLength*a._getRingWeightOffset(a.index),a.innerRadius=Math.max(a.outerRadius-o.radiusLength*_,0),r=0,i=p.length;r<i;++r)a.updateElement(p[r],r,e)},updateElement:function(e,t,n){var r=this.chart,i=r.chartArea,a=r.options,o=a.animation,s=(i.left+i.right)/2,c=(i.top+i.bottom)/2,l=a.rotation,u=a.rotation,f=this.getDataset(),d=n&&o.animateRotate?0:e.hidden?0:this.calculateCircumference(f.data[t])*(a.circumference/Le),h=n&&o.animateScale?0:this.innerRadius,p=n&&o.animateScale?0:this.outerRadius,m=e._options||{};H.extend(e,{_datasetIndex:this.index,_index:t,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:s+r.offsetX,y:c+r.offsetY,startAngle:l,endAngle:u,circumference:d,outerRadius:p,innerRadius:h,label:H.valueAtIndexOrDefault(f.label,t,r.data.labels[t])}});var g=e._model;n&&o.animateRotate||(g.startAngle=0===t?a.rotation:this.getMeta().data[t-1]._model.endAngle,g.endAngle=g.startAngle+g.circumference),e.pivot()},calculateTotal:function(){var n,r=this.getDataset(),e=this.getMeta(),i=0;return H.each(e.data,function(e,t){n=r.data[t],isNaN(n)||e.hidden||(i+=Math.abs(n))}),i},calculateCircumference:function(e){var t=this.getMeta().total;return 0<t&&!isNaN(e)?Le*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,i,a,o,s,c,l=0,u=this.chart;if(!e)for(t=0,n=u.data.datasets.length;t<n;++t)if(u.isDatasetVisible(t)){e=(r=u.getDatasetMeta(t)).data,t!==this.index&&(a=r.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)i=e[t],"inner"!==(o=a?(a._configure(),a._resolveDataElementOptions(i,t)):i._options).borderAlign&&(l=(l=l<(s=o.borderWidth)?s:l)<(c=o.hoverBorderWidth)?c:l);return l},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Re(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Re(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Re(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Re(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});F._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"}}),F._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var je=Pe.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Be=H.valueOrDefault,Ue=H.options.resolve,He=H.canvas._isPointInArea;function We(e,t){var n=e&&e.options.ticks||{},r=n.reverse,i=void 0===n.min?t:0,a=void 0===n.max?t:0;return{start:r?a:i,end:r?i:a}}F._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 qe=ie.extend({datasetElementType:Ae.Line,dataElementType:Ae.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(e){var t,n,r=this,i=r.getMeta(),a=i.dataset,o=i.data||[],s=r.chart.options,c=r._config,l=r._showLine=Be(c.showLine,s.showLines);for(r._xScale=r.getScaleForId(i.xAxisID),r._yScale=r.getScaleForId(i.yAxisID),l&&(void 0!==c.tension&&void 0===c.lineTension&&(c.lineTension=c.tension),a._scale=r._yScale,a._datasetIndex=r.index,a._children=o,a._model=r._resolveDatasetElementOptions(a),a.pivot()),t=0,n=o.length;t<n;++t)r.updateElement(o[t],t,e);for(l&&0!==a._model.tension&&r.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var r,i,a=this.getMeta(),o=e.custom||{},s=this.getDataset(),c=this.index,l=s.data[t],u=this._xScale,f=this._yScale,d=a.dataset._model,h=this._resolveDataElementOptions(e,t);r=u.getPixelForValue("object"==typeof l?l:NaN,t,c),i=n?f.getBasePixel():this.calculatePointY(l,t,c),e._xScale=u,e._yScale=f,e._options=h,e._datasetIndex=c,e._index=t,e._model={x:r,y:i,skip:o.skip||isNaN(r)||isNaN(i),radius:h.radius,pointStyle:h.pointStyle,rotation:h.rotation,backgroundColor:h.backgroundColor,borderColor:h.borderColor,borderWidth:h.borderWidth,tension:Be(o.tension,d?d.tension:0),steppedLine:!!d&&d.steppedLine,hitRadius:h.hitRadius}},_resolveDatasetElementOptions:function(e){var t,n,r,i,a,o,s,c,l,u,f,d=this._config,h=e.custom||{},p=this.chart.options,m=p.elements.line,g=ie.prototype._resolveDatasetElementOptions.apply(this,arguments);return g.spanGaps=Be(d.spanGaps,p.spanGaps),g.tension=Be(d.lineTension,m.tension),g.steppedLine=Ue([h.steppedLine,d.steppedLine,m.stepped]),g.clip=(t=Be(d.clip,(o=this._xScale,s=this._yScale,c=g.borderWidth,u=We(o,l=c/2),{top:(f=We(s,l)).end,right:u.end,bottom:f.start,left:u.start})),H.isObject(t)?(n=t.top,r=t.right,i=t.bottom,a=t.left):n=r=i=a=t,{top:n,right:r,bottom:i,left:a}),g},calculatePointY:function(e,t,n){var r,i,a,o,s,c,l,u=this.chart,f=this._yScale,d=0,h=0;if(f.options.stacked){for(s=+f.getRightValue(e),l=(c=u._getSortedVisibleDatasetMetas()).length,r=0;r<l&&(a=c[r]).index!==n;++r)i=u.data.datasets[a.index],"line"===a.type&&a.yAxisID===f.id&&((o=+f.getRightValue(i.data[t]))<0?h+=o||0:d+=o||0);return s<0?f.getPixelForValue(h+s):f.getPixelForValue(d+s)}return f.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this.chart,a=this.getMeta(),o=a.dataset._model,s=i.chartArea,c=a.data||[];function l(e,t,n){return Math.max(Math.min(e,n),t)}if(o.spanGaps&&(c=c.filter(function(e){return!e._model.skip})),"monotone"===o.cubicInterpolationMode)H.splineCurveMonotone(c);else for(e=0,t=c.length;e<t;++e)n=c[e]._model,r=H.splineCurve(H.previousItem(c,e)._model,n,H.nextItem(c,e)._model,o.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(i.options.elements.line.capBezierPoints)for(e=0,t=c.length;e<t;++e)n=c[e]._model,He(n,s)&&(0<e&&He(c[e-1]._model,s)&&(n.controlPointPreviousX=l(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=l(n.controlPointPreviousY,s.top,s.bottom)),e<c.length-1&&He(c[e+1]._model,s)&&(n.controlPointNextX=l(n.controlPointNextX,s.left,s.right),n.controlPointNextY=l(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),r=n.data||[],i=t.chartArea,a=t.canvas,o=0,s=r.length;for(this._showLine&&(e=n.dataset._model.clip,H.canvas.clipArea(t.ctx,{left:!1===e.left?0:i.left-e.left,right:!1===e.right?a.width:i.right+e.right,top:!1===e.top?0:i.top-e.top,bottom:!1===e.bottom?a.height:i.bottom+e.bottom}),n.dataset.draw(),H.canvas.unclipArea(t.ctx));o<s;++o)r[o].draw(i)},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Be(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Be(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Be(n.hoverBorderWidth,n.borderWidth),t.radius=Be(n.hoverRadius,n.radius)}}),ze=H.options.resolve;F._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(e){var t,n,r,i=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(i.setAttribute("class",e.id+"-legend"),o.length)for(n=o[t=0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(i){var a=i.data;return a.labels.length&&a.datasets.length?a.labels.map(function(e,t){var n=i.getDatasetMeta(0),r=n.controller.getStyle(t);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(a.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)(i=o.getDatasetMeta(n)).data[a].hidden=!i.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ve=ie.extend({dataElementType:Ae.Arc,linkScales:H.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(e){var t,n,r,i=this,a=i.getDataset(),o=i.getMeta(),s=i.chart.options.startAngle||0,c=i._starts=[],l=i._angles=[],u=o.data;for(i._updateRadius(),o.count=i.countVisibleElements(),t=0,n=a.data.length;t<n;t++)c[t]=s,r=i._computeAngle(t),s+=l[t]=r;for(t=0,n=u.length;t<n;++t)u[t]._options=i._resolveDataElementOptions(u[t],t),i.updateElement(u[t],t,e)},_updateRadius:function(){var e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),this.outerRadius=e.outerRadius-e.radiusLength*this.index,this.innerRadius=this.outerRadius-e.radiusLength},updateElement:function(e,t,n){var r=this.chart,i=this.getDataset(),a=r.options,o=a.animation,s=r.scale,c=r.data.labels,l=s.xCenter,u=s.yCenter,f=a.startAngle,d=e.hidden?0:s.getDistanceFromCenterForValue(i.data[t]),h=this._starts[t],p=h+(e.hidden?0:this._angles[t]),m=o.animateScale?0:s.getDistanceFromCenterForValue(i.data[t]),g=e._options||{};H.extend(e,{_datasetIndex:this.index,_index:t,_scale:s,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:l,y:u,innerRadius:0,outerRadius:n?m:d,startAngle:n&&o.animateRotate?f:h,endAngle:n&&o.animateRotate?f:p,label:H.valueAtIndexOrDefault(c,t,c[t])}}),e.pivot()},countVisibleElements:function(){var n=this.getDataset(),e=this.getMeta(),r=0;return H.each(e.data,function(e,t){isNaN(n.data[t])||e.hidden||r++}),r},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor,i=H.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=i(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=i(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this.getMeta().count,n=this.getDataset(),r=this.getMeta();if(isNaN(n.data[e])||r.data[e].hidden)return 0;var i={chart:this.chart,dataIndex:e,dataset:n,datasetIndex:this.index};return ze([this.chart.options.elements.arc.angle,2*Math.PI/t],i,e)}});F._set("pie",H.clone(F.doughnut)),F._set("pie",{cutoutPercentage:0});var Ye=Ge,Ke=H.valueOrDefault;F._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Qe=ie.extend({datasetElementType:Ae.Line,dataElementType:Ae.Point,linkScales:H.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(e){var t,n,r=this.getMeta(),i=r.dataset,a=r.data||[],o=this.chart.scale,s=this._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),i._scale=o,i._datasetIndex=this.index,i._children=a,i._loop=!0,i._model=this._resolveDatasetElementOptions(i),i.pivot(),t=0,n=a.length;t<n;++t)this.updateElement(a[t],t,e);for(this.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r=e.custom||{},i=this.getDataset(),a=this.chart.scale,o=a.getPointPositionForValue(t,i.data[t]),s=this._resolveDataElementOptions(e,t),c=this.getMeta().dataset._model,l=n?a.xCenter:o.x,u=n?a.yCenter:o.y;e._scale=a,e._options=s,e._datasetIndex=this.index,e._index=t,e._model={x:l,y:u,skip:r.skip||isNaN(l)||isNaN(u),radius:s.radius,pointStyle:s.pointStyle,rotation:s.rotation,backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,tension:Ke(r.tension,c?c.tension:0),hitRadius:s.hitRadius}},_resolveDatasetElementOptions:function(){var e=this._config,t=this.chart.options,n=ie.prototype._resolveDatasetElementOptions.apply(this,arguments);return n.spanGaps=Ke(e.spanGaps,t.spanGaps),n.tension=Ke(e.lineTension,t.elements.line.tension),n},updateBezierControlPoints:function(){var e,t,n,r,i=this.getMeta(),a=this.chart.chartArea,o=i.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(i.dataset._model.spanGaps&&(o=o.filter(function(e){return!e._model.skip})),e=0,t=o.length;e<t;++e)n=o[e]._model,r=H.splineCurve(H.previousItem(o,e,!0)._model,n,H.nextItem(o,e,!0)._model,n.tension),n.controlPointPreviousX=s(r.previous.x,a.left,a.right),n.controlPointPreviousY=s(r.previous.y,a.top,a.bottom),n.controlPointNextX=s(r.next.x,a.left,a.right),n.controlPointNextY=s(r.next.y,a.top,a.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ke(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ke(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ke(n.hoverBorderWidth,n.borderWidth),t.radius=Ke(n.hoverRadius,n.radius)}});F._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(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),F._set("global",{datasets:{scatter:{showLine:!1}}});var Xe={bar:Pe,bubble:Oe,doughnut:Ge,horizontalBar:je,line:qe,polarArea:Ve,pie:Ye,radar:Qe,scatter:qe};function Ze(e,t){return e.native?{x:e.x,y:e.y}:H.getRelativePosition(e,t)}function Je(e,t){var n,r,i,a,o,s,c=e._getSortedVisibleDatasetMetas();for(r=0,a=c.length;r<a;++r)for(i=0,o=(n=c[r].data).length;i<o;++i)(s=n[i])._view.skip||t(s)}function et(e,t){var n=[];return Je(e,function(e){e.inRange(t.x,t.y)&&n.push(e)}),n}function tt(e,r,i,a){var o=Number.POSITIVE_INFINITY,s=[];return Je(e,function(e){if(!i||e.inRange(r.x,r.y)){var t=e.getCenterPoint(),n=a(r,t);n<o?(s=[e],o=n):n===o&&s.push(e)}}),s}function nt(e){var i=-1!==e.indexOf("x"),a=-1!==e.indexOf("y");return function(e,t){var n=i?Math.abs(e.x-t.x):0,r=a?Math.abs(e.y-t.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2))}}function rt(e,t,n){var r=Ze(t,e);n.axis=n.axis||"x";var i=nt(n.axis),a=n.intersect?et(e,r):tt(e,r,!1,i),o=[];return a.length?(e._getSortedVisibleDatasetMetas().forEach(function(e){var t=e.data[a[0]._index];t&&!t._view.skip&&o.push(t)}),o):[]}var it={modes:{single:function(e,t){var n=Ze(t,e),r=[];return Je(e,function(e){if(e.inRange(n.x,n.y))return r.push(e),r}),r.slice(0,1)},label:rt,index:rt,dataset:function(e,t,n){var r=Ze(t,e);n.axis=n.axis||"xy";var i=nt(n.axis),a=n.intersect?et(e,r):tt(e,r,!1,i);return 0<a.length&&(a=e.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(e,t){return rt(e,t,{intersect:!1})},point:function(e,t){return et(e,Ze(t,e))},nearest:function(e,t,n){var r=Ze(t,e);n.axis=n.axis||"xy";var i=nt(n.axis);return tt(e,r,n.intersect,i)},x:function(e,t,n){var r=Ze(t,e),i=[],a=!1;return Je(e,function(e){e.inXRange(r.x)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)}),n.intersect&&!a&&(i=[]),i},y:function(e,t,n){var r=Ze(t,e),i=[],a=!1;return Je(e,function(e){e.inYRange(r.y)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)}),n.intersect&&!a&&(i=[]),i}}},at=H.extend;function ot(e,t){return H.where(e,function(e){return e.pos===t})}function st(e,i){return e.sort(function(e,t){var n=i?t:e,r=i?e:t;return n.weight===r.weight?n.index-r.index:n.weight-r.weight})}function ct(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function lt(e,t,n){var r,i,a=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,e[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(r=t.outerWidth-ct(o,e,"left","right"),i=t.outerHeight-ct(o,e,"top","bottom"),r!==e.w||i!==e.h){e.w=r,e.h=i;var c=n.horizontal?[r,e.w]:[i,e.h];return!(c[0]===c[1]||isNaN(c[0])&&isNaN(c[1]))}}function ut(e,n){var r=n.maxPadding;function t(e){var t={left:0,top:0,right:0,bottom:0};return e.forEach(function(e){t[e]=Math.max(n[e],r[e])}),t}return t(e?["left","right"]:["top","bottom"])}function ft(e,t,n){var r,i,a,o,s,c,l=[];for(r=0,i=e.length;r<i;++r)(o=(a=e[r]).box).update(a.width||t.w,a.height||t.h,ut(a.horizontal,t)),lt(t,n,a)&&(c=!0,l.length&&(s=!0)),o.fullWidth||l.push(a);return s&&ft(l,t,n)||c}function dt(e,t,n){var r,i,a,o,s=n.padding,c=t.x,l=t.y;for(r=0,i=e.length;r<i;++r)o=(a=e[r]).box,a.horizontal?(o.left=o.fullWidth?s.left:t.left,o.right=o.fullWidth?n.outerWidth-s.right:t.left+t.w,o.top=l,o.bottom=l+o.height,o.width=o.right-o.left,l=o.bottom):(o.left=c,o.right=c+o.width,o.top=t.top,o.bottom=t.top+t.h,o.height=o.bottom-o.top,c=o.right);t.x=c,t.y=l}F._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ht,pt={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],a=i.length,o=0;o<a;++o)r=i[o],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(n,e,t){if(n){var r,i,a,o,s,c,l=n.options.layout||{},u=H.options.toPadding(l.padding),f=e-u.width,d=t-u.height,h=(r=n.boxes,i=function(e){var t,n,r,i=[];for(t=0,n=(e||[]).length;t<n;++t)r=e[t],i.push({index:t,box:r,pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return i}(r),a=st(ot(i,"left"),!0),o=st(ot(i,"right")),s=st(ot(i,"top"),!0),c=st(ot(i,"bottom")),{leftAndTop:a.concat(s),rightAndBottom:o.concat(c),chartArea:ot(i,"chartArea"),vertical:a.concat(o),horizontal:s.concat(c)}),p=h.vertical,m=h.horizontal,g=Object.freeze({outerWidth:e,outerHeight:t,padding:u,availableWidth:f,vBoxMaxWidth:f/2/p.length,hBoxMaxHeight:d/2}),_=at({maxPadding:at({},u),w:f,h:d,x:u.left,y:u.top},u);!function(e,t){var n,r,i;for(n=0,r=e.length;n<r;++n)(i=e[n]).width=i.horizontal?i.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,i.height=i.horizontal&&t.hBoxMaxHeight}(p.concat(m),g),ft(p,_,g),ft(m,_,g)&&ft(p,_,g),function(n){var r=n.maxPadding;function e(e){var t=Math.max(r[e]-n[e],0);return n[e]+=t,t}n.y+=e("top"),n.x+=e("left"),e("right"),e("bottom")}(_),dt(h.leftAndTop,_,g),_.x+=_.w,_.y+=_.h,dt(h.rightAndBottom,_,g),n.chartArea={left:_.left,top:_.top,right:_.left+_.w,bottom:_.top+_.h},H.each(h.chartArea,function(e){var t=e.box;at(t,n.chartArea),t.update(_.w,_.h)})}}},mt=(ht=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"}))&&ht.default||ht,gt="$chartjs",_t="chartjs-",bt=_t+"size-monitor",vt=_t+"render-monitor",yt=_t+"render-animation",wt=["animationstart","webkitAnimationStart"],Ct={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function At(e,t){var n=H.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}var St=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function Tt(e,t,n){e.addEventListener(t,n,St)}function xt(e,t,n){e.removeEventListener(t,n,St)}function kt(e,t,n,r,i){return{type:e,chart:t,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function Et(e){var t=document.createElement("div");return t.className=e||"",t}function Dt(n,r,i){var e,t,a,o,s,c,l,u,f=n[gt]||(n[gt]={}),d=f.resizer=function(e){var t=Et(bt),n=Et(bt+"-expand"),r=Et(bt+"-shrink");n.appendChild(Et()),r.appendChild(Et()),t.appendChild(n),t.appendChild(r),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var i=function(){t._reset(),e()};return Tt(n,"scroll",i.bind(n,"expand")),Tt(r,"scroll",i.bind(r,"shrink")),t}((a=!(e=function(){if(f.resizer){var e=i.options.maintainAspectRatio&&n.parentNode,t=e?e.clientWidth:0;r(kt("resize",i)),e&&e.clientWidth<t&&i.canvas&&r(kt("resize",i))}}),o=[],function(){o=Array.prototype.slice.call(arguments),t=t||this,a||(a=!0,H.requestAnimFrame.call(window,function(){a=!1,e.apply(t,o)}))}));c=function(){if(f.resizer){var e=n.parentNode;e&&e!==d.parentNode&&e.insertBefore(d,e.firstChild),d._reset()}},l=(s=n)[gt]||(s[gt]={}),u=l.renderProxy=function(e){e.animationName===yt&&c()},H.each(wt,function(e){Tt(s,e,u)}),l.reflow=!!s.offsetParent,s.classList.add(vt)}function It(e){var t,n,r,i=e[gt]||{},a=i.resizer;delete i.resizer,n=(t=e)[gt]||{},(r=n.renderProxy)&&(H.each(wt,function(e){xt(t,e,r)}),delete n.renderProxy),t.classList.remove(vt),a&&a.parentNode&&a.parentNode.removeChild(a)}var Pt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e[gt]||(e[gt]={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(t)),e.appendChild(r)}}(t.host?t:document.head,mt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[gt]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var a=At(e,"width");void 0!==a&&(e.width=a)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=At(e,"height");void 0!==a&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var n=e.canvas;if(n[gt]){var r=n[gt].initial;["height","width"].forEach(function(e){var t=r[e];H.isNullOrUndef(t)?n.removeAttribute(e):n.setAttribute(e,t)}),H.each(r.style||{},function(e,t){n.style[t]=e}),n.width=n.width,delete n[gt]}},addEventListener:function(a,e,o){var t=a.canvas;if("resize"!==e){var n=o[gt]||(o[gt]={});Tt(t,e,(n.proxies||(n.proxies={}))[a.id+"_"+e]=function(e){var t,n,r,i;o((n=a,r=Ct[(t=e).type]||t.type,i=H.getRelativePosition(t,n),kt(r,n,i.x,i.y,t)))})}else Dt(t,o,a)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var i=((n[gt]||{}).proxies||{})[e.id+"_"+t];i&&xt(r,t,i)}else It(r)}};H.addEvent=Tt,H.removeEvent=xt;var Mt=Pt._enabled?Pt:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},$t=H.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Mt);F._set("global",{plugins:{}});var Ot={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var n=this._plugins;[].concat(e).forEach(function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,i,a,o,s,c=this.descriptors(e),l=c.length;for(r=0;r<l;++r)if("function"==typeof(s=(a=(i=c[r]).plugin)[t])&&((o=[e].concat(n||[])).push(i.options),!1===s.apply(a,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var r=[],i=[],n=e&&e.config||{},a=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(e){if(-1===r.indexOf(e)){var t=e.id,n=a[t];!1!==n&&(!0===n&&(n=H.clone(F.global.plugins[t])),r.push(e),i.push({plugin:e,options:n||{}}))}}),t.descriptors=i,t.id=this._cacheId,i},_invalidate:function(e){delete e.$plugins}},Rt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=H.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?H.merge(Object.create(null),[F.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=H.extend(this.defaults[e],t))},addScalesToLayout:function(t){H.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,pt.addBox(t,e)})}},Nt=H.valueOrDefault,Lt=H.rtl.getRtlAdapter;F._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:H.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(0<e.length){var a=e[0];a.label?n=a.label:a.xLabel?n=a.xLabel:0<i&&a.index<i&&(n=r[a.index])}return n},afterTitle:H.noop,beforeBody:H.noop,beforeLabel:H.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),H.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:H.noop,afterBody:H.noop,beforeFooter:H.noop,footer:H.noop,afterFooter:H.noop}}});var Ft={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,a=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();r+=s.x,i+=s.y,++a}}return{x:r/a,y:i/a}},nearest:function(e,t){var n,r,i,a=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var c=e[n];if(c&&c.hasValue()){var l=c.getCenterPoint(),u=H.distanceBetweenPoints(t,l);u<s&&(s=u,i=c)}}if(i){var f=i.tooltipPosition();a=f.x,o=f.y}return{x:a,y:o}}};function Gt(e,t){return t&&(H.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function jt(e){return("string"==typeof e||e instanceof String)&&-1<e.indexOf("\n")?e.split("\n"):e}function Bt(e){var t=F.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Nt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Nt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Nt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Nt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Nt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Nt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Nt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Nt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Nt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Ut(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Ht(e){return Gt([],jt(e))}var Wt=Q.extend({initialize:function(){this._model=Bt(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),r=e.afterTitle.apply(this,arguments),i=[];return i=Gt(i=Gt(i=Gt(i,jt(t)),jt(n)),jt(r))},getBeforeBody:function(){return Ht(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,n){var r=this,i=r._options.callbacks,a=[];return H.each(e,function(e){var t={before:[],lines:[],after:[]};Gt(t.before,jt(i.beforeLabel.call(r,e,n))),Gt(t.lines,i.label.call(r,e,n)),Gt(t.after,jt(i.afterLabel.call(r,e,n))),a.push(t)}),a},getAfterBody:function(){return Ht(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),r=e.afterFooter.apply(this,arguments),i=[];return i=Gt(i=Gt(i=Gt(i,jt(t)),jt(n)),jt(r))},update:function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b,v,y,w,C,A,S=this,T=S._options,x=S._model,k=S._model=Bt(T),E=S._active,D=S._data,I={xAlign:x.xAlign,yAlign:x.yAlign},P={x:x.x,y:x.y},M={width:x.width,height:x.height},$={x:x.caretX,y:x.caretY};if(E.length){k.opacity=1;var O=[],R=[];$=Ft[T.position].call(S,E,S._eventPosition);var N=[];for(t=0,n=E.length;t<n;++t)N.push((g=E[t],A=C=w=b=_=void 0,_=g._xScale,b=g._yScale||g._scale,v=g._index,y=g._datasetIndex,w=g._chart.getDatasetMeta(y).controller,C=w._getIndexScale(),A=w._getValueScale(),{xLabel:_?_.getLabelForIndex(v,y):"",yLabel:b?b.getLabelForIndex(v,y):"",label:C?""+C.getLabelForIndex(v,y):"",value:A?""+A.getLabelForIndex(v,y):"",index:v,datasetIndex:y,x:g._model.x,y:g._model.y}));T.filter&&(N=N.filter(function(e){return T.filter(e,D)})),T.itemSort&&(N=N.sort(function(e,t){return T.itemSort(e,t,D)})),H.each(N,function(e){O.push(T.callbacks.labelColor.call(S,e,S._chart)),R.push(T.callbacks.labelTextColor.call(S,e,S._chart))}),k.title=S.getTitle(N,D),k.beforeBody=S.getBeforeBody(N,D),k.body=S.getBody(N,D),k.afterBody=S.getAfterBody(N,D),k.footer=S.getFooter(N,D),k.x=$.x,k.y=$.y,k.caretPadding=T.caretPadding,k.labelColors=O,k.labelTextColors=R,k.dataPoints=N,I=function(e,t){var n,r,i,a,o,s=e._model,c=e._chart,l=e._chart.chartArea,u="center",f="center";s.y<t.height?f="top":s.y>c.height-t.height&&(f="bottom");var d=(l.left+l.right)/2,h=(l.top+l.bottom)/2;r="center"===f?(n=function(e){return e<=d},function(e){return d<e}):(n=function(e){return e<=t.width/2},function(e){return e>=c.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>c.width},a=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=h?"top":"bottom"},n(s.x)?(u="left",i(s.x)&&(u="center",f=o(s.y))):r(s.x)&&(u="right",a(s.x)&&(u="center",f=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:f}}(this,M=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,a=t.body,o=a.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,c=t.footer.length,l=t.titleFontSize,u=t.bodyFontSize,f=t.footerFontSize;r+=s*l,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=o*u,r+=o?(o-1)*t.bodySpacing:0,r+=c?t.footerMarginTop:0,r+=c*f,r+=c?(c-1)*t.footerSpacing:0;var d=0,h=function(e){i=Math.max(i,n.measureText(e).width+d)};return n.font=H.fontString(l,t._titleFontStyle,t._titleFontFamily),H.each(t.title,h),n.font=H.fontString(u,t._bodyFontStyle,t._bodyFontFamily),H.each(t.beforeBody.concat(t.afterBody),h),d=t.displayColors?u+2:0,H.each(a,function(e){H.each(e.before,h),H.each(e.lines,h),H.each(e.after,h)}),d=0,n.font=H.fontString(f,t._footerFontStyle,t._footerFontFamily),H.each(t.footer,h),{width:i+=2*t.xPadding,height:r}}(this,k)),r=k,i=M,a=I,o=S._chart,s=r.x,c=r.y,l=r.caretSize,u=r.caretPadding,f=r.cornerRadius,d=a.xAlign,h=a.yAlign,p=l+u,m=f+u,"right"===d?s-=i.width:"center"===d&&((s-=i.width/2)+i.width>o.width&&(s=o.width-i.width),s<0&&(s=0)),"top"===h?c+=p:c-="bottom"===h?i.height+p:i.height/2,"center"===h?"left"===d?s+=p:"right"===d&&(s-=p):"left"===d?s-=m:"right"===d&&(s+=m),P={x:s,y:c}}else k.opacity=0;return k.xAlign=I.xAlign,k.yAlign=I.yAlign,k.x=P.x,k.y=P.y,k.width=M.width,k.height=M.height,k.caretX=$.x,k.caretY=$.y,S._model=k,e&&T.custom&&T.custom.call(S,k),S},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,a,o,s,c,l=n.caretSize,u=n.cornerRadius,f=n.xAlign,d=n.yAlign,h=e.x,p=e.y,m=t.width,g=t.height;if("center"===d)s=p+g/2,c="left"===f?(i=(r=h)-l,a=r,o=s+l,s-l):(i=(r=h+m)+l,a=r,o=s-l,s+l);else if(a=(r="left"===f?(i=h+u+l)-l:"right"===f?(i=h+m-u-l)-l:(i=n.caretX)-l,i+l),"top"===d)s=(o=p)-l,c=o;else{s=(o=p+g)+l,c=o;var _=a;a=r,r=_}return{x1:r,x2:i,x3:a,y1:o,y2:s,y3:c}},drawTitle:function(e,t,n){var r,i,a,o=t.title,s=o.length;if(s){var c=Lt(t.rtl,t.x,t.width);for(e.x=Ut(t,t._titleAlign),n.textAlign=c.textAlign(t._titleAlign),n.textBaseline="middle",r=t.titleFontSize,i=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=H.fontString(r,t._titleFontStyle,t._titleFontFamily),a=0;a<s;++a)n.fillText(o[a],c.x(e.x),e.y+r/2),e.y+=r+i,a+1===s&&(e.y+=t.titleMarginBottom-i)}},drawBody:function(t,e,n){var r,i,a,o,s,c,l,u,f=e.bodyFontSize,d=e.bodySpacing,h=e._bodyAlign,p=e.body,m=e.displayColors,g=0,_=m?Ut(e,"left"):0,b=Lt(e.rtl,e.x,e.width),v=function(e){n.fillText(e,b.x(t.x+g),t.y+f/2),t.y+=f+d},y=b.textAlign(h);for(n.textAlign=h,n.textBaseline="middle",n.font=H.fontString(f,e._bodyFontStyle,e._bodyFontFamily),t.x=Ut(e,y),n.fillStyle=e.bodyFontColor,H.each(e.beforeBody,v),g=m&&"right"!==y?"center"===h?f/2+1:f+2:0,s=0,l=p.length;s<l;++s){for(r=p[s],i=e.labelTextColors[s],a=e.labelColors[s],n.fillStyle=i,H.each(r.before,v),c=0,u=(o=r.lines).length;c<u;++c){if(m){var w=b.x(_);n.fillStyle=e.legendColorBackground,n.fillRect(b.leftForLtr(w,f),t.y,f,f),n.lineWidth=1,n.strokeStyle=a.borderColor,n.strokeRect(b.leftForLtr(w,f),t.y,f,f),n.fillStyle=a.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(w,1),f-2),t.y+1,f-2,f-2),n.fillStyle=i}v(o[c])}H.each(r.after,v)}g=0,H.each(e.afterBody,v),t.y-=d},drawFooter:function(e,t,n){var r,i,a=t.footer,o=a.length;if(o){var s=Lt(t.rtl,t.x,t.width);for(e.x=Ut(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",r=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=H.fontString(r,t._footerFontStyle,t._footerFontFamily),i=0;i<o;++i)n.fillText(a[i],s.x(e.x),e.y+r/2),e.y+=r+t.footerSpacing}},drawBackground:function(e,t,n,r){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var i=t.xAlign,a=t.yAlign,o=e.x,s=e.y,c=r.width,l=r.height,u=t.cornerRadius;n.beginPath(),n.moveTo(o+u,s),"top"===a&&this.drawCaret(e,r),n.lineTo(o+c-u,s),n.quadraticCurveTo(o+c,s,o+c,s+u),"center"===a&&"right"===i&&this.drawCaret(e,r),n.lineTo(o+c,s+l-u),n.quadraticCurveTo(o+c,s+l,o+c-u,s+l),"bottom"===a&&this.drawCaret(e,r),n.lineTo(o+u,s+l),n.quadraticCurveTo(o,s+l,o,s+l-u),"center"===a&&"left"===i&&this.drawCaret(e,r),n.lineTo(o,s+u),n.quadraticCurveTo(o,s,o+u,s),n.closePath(),n.fill(),0<t.borderWidth&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity,a=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(r,t,e,n),r.y+=t.yPadding,H.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),H.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),r.reverse&&n._active.reverse()),(t=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),qt=Ft,zt=Wt;zt.positioners=qt;var Vt=H.valueOrDefault;function Yt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var i,a,o,s=n[e].length;for(t[e]||(t[e]=[]),i=0;i<s;++i)o=n[e][i],a=Vt(o.type,"xAxes"===e?"category":"linear"),i>=t[e].length&&t[e].push({}),!t[e][i].type||o.type&&o.type!==t[e][i].type?H.merge(t[e][i],[Rt.getScaleDefaults(a),o]):H.merge(t[e][i],o)}else H._merger(e,t,n,r)}})}function Kt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var i=t[e]||Object.create(null),a=n[e];"scales"===e?t[e]=Yt(i,a):"scale"===e?t[e]=H.merge(i,[Rt.getScaleDefaults(a.type),a]):H._merger(e,t,n,r)}})}function Qt(e,t,n){for(var r,i=function(e){return e.id===r};r=t+n++,0<=H.findIndex(e,i););return r}function Xt(e){return"top"===e||"bottom"===e}function Zt(n,r){return function(e,t){return e[n]===t[n]?e[r]-t[r]:e[n]-t[n]}}F._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 Jt=function(e,t){return this.construct(e,t),this};H.extend(Jt.prototype,{construct:function(e,t){var n,r,i=this;(r=(n=(n=t)||Object.create(null)).data=n.data||{}).datasets=r.datasets||[],r.labels=r.labels||[],n.options=Kt(F.global,F[n.type],n.options||{}),t=n;var a=$t.acquireContext(e,t),o=a&&a.canvas,s=o&&o.height,c=o&&o.width;i.id=H.uid(),i.ctx=a,i.canvas=o,i.config=t,i.width=c,i.height=s,i.aspectRatio=s?c/s:null,i.options=t.options,i._bufferedRender=!1,i._layers=[],(i.chart=i).controller=i,Jt.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(e){i.config.data=e}}),a&&o?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){return Ot.notify(this,"beforeInit"),H.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.options.responsive&&this.resize(!0),this.initToolTip(),Ot.notify(this,"afterInit"),this},clear:function(){return H.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,i=n.maintainAspectRatio&&t.aspectRatio||null,a=Math.max(0,Math.floor(H.getMaximumWidth(r))),o=Math.max(0,Math.floor(i?a/i:H.getMaximumHeight(r)));if((t.width!==a||t.height!==o)&&(r.width=t.width=a,r.height=t.height=o,r.style.width=a+"px",r.style.height=o+"px",H.retinaScale(t,n.devicePixelRatio),!e)){var s={width:a,height:o};Ot.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},t=e.scale;H.each(n.xAxes,function(e,t){e.id||(e.id=Qt(n.xAxes,"x-axis-",t))}),H.each(n.yAxes,function(e,t){e.id||(e.id=Qt(n.yAxes,"y-axis-",t))}),t&&(t.id=t.id||"scale")},buildOrUpdateScales:function(){var o=this,e=o.options,s=o.scales||{},t=[],c=Object.keys(s).reduce(function(e,t){return e[t]=!1,e},{});e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(t,function(e){var t=e.options,n=t.id,r=Vt(t.type,e.dtype);Xt(t.position)!==Xt(e.dposition)&&(t.position=e.dposition),c[n]=!0;var i=null;if(n in s&&s[n].type===r)(i=s[n]).options=t,i.ctx=o.ctx,i.chart=o;else{var a=Rt.getScaleConstructor(r);if(!a)return;i=new a({id:n,type:r,options:t,ctx:o.ctx,chart:o}),s[i.id]=i}i.mergeTicksOptions(),e.isDefault&&(o.scale=i)}),H.each(c,function(e,t){e||delete s[t]}),o.scales=s,Rt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=[],r=this.data.datasets;for(e=0,t=r.length;e<t;e++){var i=r[e],a=this.getDatasetMeta(e),o=i.type||this.config.type;if(a.type&&a.type!==o&&(this.destroyDatasetMeta(e),a=this.getDatasetMeta(e)),a.type=o,a.order=i.order||0,a.index=e,a.controller)a.controller.updateIndex(e),a.controller.linkScales();else{var s=Xe[a.type];if(void 0===s)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new s(this,e),n.push(a.controller)}}return n},resetElements:function(){var n=this;H.each(n.data.datasets,function(e,t){n.getDatasetMeta(t).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,r,i,a=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),i=(r=a).options,H.each(r.scales,function(e){pt.removeBox(r,e)}),i=Kt(F.global,F[r.config.type],i),r.options=r.config.options=i,r.ensureScalesHaveIDs(),r.buildOrUpdateScales(),r.tooltip._options=i.tooltips,r.tooltip.initialize(),Ot._invalidate(a),!1!==Ot.notify(a,"beforeUpdate")){a.tooltip._data=a.data;var o=a.buildOrUpdateControllers();for(t=0,n=a.data.datasets.length;t<n;t++)a.getDatasetMeta(t).controller.buildOrUpdateElements();a.updateLayout(),a.options.animation&&a.options.animation.duration&&H.each(o,function(e){e.reset()}),a.updateDatasets(),a.tooltip.initialize(),a.lastActive=[],Ot.notify(a,"afterUpdate"),a._layers.sort(Zt("z","_idx")),a._bufferedRender?a._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:a.render(e)}},updateLayout:function(){var t=this;!1!==Ot.notify(t,"beforeLayout")&&(pt.update(this,this.width,this.height),t._layers=[],H.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(e,t){e._idx=t}),Ot.notify(t,"afterScaleUpdate"),Ot.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Ot.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);Ot.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==Ot.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),Ot.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,r=Vt(e.duration,n&&n.duration),i=e.lazy;if(!1!==Ot.notify(t,"beforeRender")){var a=function(e){Ot.notify(t,"afterRender"),H.callback(n&&n.onComplete,[e],t)};if(n&&r){var o=new Z({numSteps:r/16.66,easing:e.easing||n.easing,render:function(e,t){var n=H.easing.effects[t.easing],r=t.currentStep,i=r/t.numSteps;e.draw(n(i),i,r)},onAnimationProgress:n.onProgress,onAnimationComplete:a});J.addAnimation(t,o,r,i)}else t.draw(),a(new Z({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,r=this;if(r.clear(),H.isNullOrUndef(e)&&(e=1),r.transition(e),!(r.width<=0||r.height<=0)&&!1!==Ot.notify(r,"beforeDraw",[e])){for(n=r._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(r.chartArea);for(r.drawDatasets(e);t<n.length;++t)n[t].draw(r.chartArea);r._drawTooltip(e),Ot.notify(r,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,r=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||r.push(this.getDatasetMeta(t));return r.sort(Zt("order","index")),r},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==Ot.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;0<=n;--n)this.drawDataset(t[n],e);Ot.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Ot.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Ot.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Ot.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Ot.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return it.modes.single(this,e)},getElementsAtEvent:function(e){return it.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return it.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=it.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return it.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,r=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);r&&(n.unbindEvents(),H.canvas.clear(n),$t.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Ot.notify(n,"destroy"),delete Jt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){this.tooltip=new zt({_chart:this,_chartInstance:this,_data:this.data,_options:this.options.tooltips},this)},bindEvents:function(){var t=this,n=t._listeners={},r=function(){t.eventHandler.apply(t,arguments)};H.each(t.options.events,function(e){$t.addEventListener(t,e,r),n[e]=r}),t.options.responsive&&(r=function(){t.resize()},$t.addEventListener(t,"resize",r),n.resize=r)},unbindEvents:function(){var n=this,e=n._listeners;e&&(delete n._listeners,H.each(e,function(e,t){$t.removeEventListener(n,t,e)}))},updateHoverStyle:function(e,t,n){var r,i,a,o=n?"set":"remove";for(i=0,a=e.length;i<a;++i)(r=e[i])&&this.getDatasetMeta(r._datasetIndex).controller[o+"HoverStyle"](r);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Ot.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),Ot.notify(t,"afterEvent",[e]);var i=t._bufferedRequest;return i?t.render(i):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,r=n.options||{},i=r.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,i.mode,i),H.callback(r.onHover||r.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||r.onClick&&r.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),t=!H.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Jt.instances={};var en=Jt;(Jt.Controller=Jt).types={},H.configMerge=Kt,H.scaleMerge=Yt;function tn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function nn(e){this.options=e||{}}H.extend(nn.prototype,{formats:tn,parse:tn,format:tn,add:tn,diff:tn,startOf:tn,endOf:tn,_create:function(e){return e}}),nn.override=function(e){H.extend(nn.prototype,e)};var rn={_date:nn},an={formatters:{values:function(e){return H.isArray(e)?e:""+e},linear:function(e,t,n){var r=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(r)&&e!==Math.floor(e)&&(r=e-Math.floor(e));var i=H.log10(Math.abs(r)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=H.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(i);s=Math.max(Math.min(s,20),0),a=e.toExponential(s)}else{var c=-1*Math.floor(i);c=Math.max(Math.min(c,20),0),a=e.toFixed(c)}else a="0";return a},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(H.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},on=H.isArray,sn=H.isNullOrUndef,cn=H.valueOrDefault,ln=H.valueAtIndexOrDefault;function un(e,t,n){var r,i=e.getTicks().length,a=Math.min(t,i-1),o=e.getPixelForTick(a),s=e._startPixel,c=e._endPixel;if(!(n&&(r=1===i?Math.max(o-s,c-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(a-1))/2,(o+=a<t?r:-r)<s-1e-6||c+1e-6<o)))return o}function fn(e,t,n,r){var i,a,o,s,c,l,u,f,d,h,p,m,g,_,b,v=n.length,y=[],w=[],C=[],A=0,S=0;for(i=0;i<v;++i){if(s=n[i].label,c=n[i].major?t.major:t.minor,e.font=l=c.string,u=r[l]=r[l]||{data:{},gc:[]},f=c.lineHeight,d=h=0,sn(s)||on(s)){if(on(s))for(a=0,o=s.length;a<o;++a)p=s[a],sn(p)||on(p)||(d=H.measureText(e,u.data,u.gc,d,p),h+=f)}else d=H.measureText(e,u.data,u.gc,d,s),h=f;y.push(d),w.push(h),C.push(f/2),A=Math.max(d,A),S=Math.max(h,S)}function T(e){return{width:y[e]||0,height:w[e]||0,offset:C[e]||0}}return _=r,b=v,H.each(_,function(e){var t,n=e.gc,r=n.length/2;if(b<r){for(t=0;t<r;++t)delete e.data[n[t]];n.splice(0,r)}}),m=y.indexOf(A),g=w.indexOf(S),{first:T(0),last:T(v-1),widest:T(m),highest:T(g)}}function dn(e){return e.drawTicks?e.tickMarkLength:0}function hn(e){var t,n;return e.display?(t=H.options._parseFont(e),n=H.options.toPadding(e.padding),t.lineHeight+n.height):0}function pn(e,t){return H.extend(H.options._parseFont({fontFamily:cn(t.fontFamily,e.fontFamily),fontSize:cn(t.fontSize,e.fontSize),fontStyle:cn(t.fontStyle,e.fontStyle),lineHeight:cn(t.lineHeight,e.lineHeight)}),{color:H.options.resolve([t.fontColor,e.fontColor,F.global.defaultFontColor])})}function mn(e){var t=pn(e,e.minor);return{minor:t,major:e.major.enabled?pn(e,e.major):t}}function gn(e){var t,n,r,i=[];for(n=0,r=e.length;n<r;++n)void 0!==(t=e[n])._index&&i.push(t);return i}function _n(e,t,n,r){var i,a,o,s,c=cn(n,0),l=Math.min(cn(r,e.length),e.length),u=0;for(t=Math.ceil(t),r&&(t=(i=r-n)/Math.floor(i/t)),s=c;s<0;)u++,s=Math.round(c+u*t);for(a=Math.max(c,0);a<l;a++)o=e[a],a===s?(o._index=a,u++,s=Math.round(c+u*t)):delete o.label}F._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:an.formatters.values,minor:{},major:{}}});var bn=Q.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){H.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,i,a,o,s,c=this,l=c.options.ticks,u=l.sampleSize;if(c.beforeUpdate(),c.maxWidth=e,c.maxHeight=t,c.margins=H.extend({left:0,right:0,top:0,bottom:0},n),c._ticks=null,c.ticks=null,c._labelSizes=null,c._maxLabelLines=0,c.longestLabelWidth=0,c.longestTextCache=c.longestTextCache||{},c._gridLineItems=null,c._labelItems=null,c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),o=c.buildTicks()||[],(!(o=c.afterBuildTicks(o)||o)||!o.length)&&c.ticks)for(o=[],r=0,i=c.ticks.length;r<i;++r)o.push({value:c.ticks[r],major:!1});return s=u<(c._ticks=o).length,a=c._convertTicksToLabels(s?function(e,t){for(var n=[],r=e.length/t,i=0,a=e.length;i<a;i+=r)n.push(e[Math.floor(i)]);return n}(o,u):o),c._configure(),c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c._ticksToDraw=l.display&&(l.autoSkip||"auto"===l.source)?c._autoSkip(o):o,s&&(a=c._convertTicksToLabels(c._ticksToDraw)),c.ticks=a,c.afterUpdate(),c.minSize},_configure:function(){var e,t,n=this,r=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,r=!r),n._startPixel=e,n._endPixel=t,n._reversePixels=r,n._length=t-e},afterUpdate:function(){H.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){H.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){H.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){H.callback(this.options.beforeDataLimits,[this])},determineDataLimits:H.noop,afterDataLimits:function(){H.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){H.callback(this.options.beforeBuildTicks,[this])},buildTicks:H.noop,afterBuildTicks:function(e){return on(e)&&e.length?H.callback(this.options.afterBuildTicks,[this,e]):(this.ticks=H.callback(this.options.afterBuildTicks,[this,this.ticks])||this.ticks,e)},beforeTickToLabelConversion:function(){H.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){H.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){H.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,r,i,a,o,s=this,c=s.options,l=c.ticks,u=s.getTicks().length,f=l.minRotation||0,d=l.maxRotation,h=f;!s._isVisible()||!l.display||d<=f||u<=1||!s.isHorizontal()?s.labelRotation=f:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),(i=c.offset?s.maxWidth/u:r/(u-1))<t+6&&(i=r/(u-(c.offset?.5:1)),a=s.maxHeight-dn(c.gridLines)-l.padding-hn(c.scaleLabel),o=Math.sqrt(t*t+n*n),h=H.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/i,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),h=Math.max(f,Math.min(d,h))),s.labelRotation=h)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,i=r.ticks,a=r.scaleLabel,o=r.gridLines,s=e._isVisible(),c="bottom"===r.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:s&&(t.width=dn(o)+hn(a)),l?s&&(t.height=dn(o)+hn(a)):t.height=e.maxHeight,i.display&&s){var u=mn(i),f=e._getLabelSizes(),d=f.first,h=f.last,p=f.widest,m=f.highest,g=.4*u.minor.lineHeight,_=i.padding;if(l){var b=0!==e.labelRotation,v=H.toRadians(e.labelRotation),y=Math.cos(v),w=Math.sin(v),C=w*p.width+y*(m.height-(b?m.offset:0))+(b?0:g);t.height=Math.min(e.maxHeight,t.height+C+_);var A,S,T=e.getPixelForTick(0)-e.left,x=e.right-e.getPixelForTick(e.getTicks().length-1);S=b?(A=c?y*d.width+w*d.offset:w*(d.height-d.offset),c?w*(h.height-h.offset):y*h.width+w*h.offset):(A=d.width/2,h.width/2),e.paddingLeft=Math.max((A-T)*e.width/(e.width-T),0)+3,e.paddingRight=Math.max((S-x)*e.width/(e.width-x),0)+3}else{var k=i.mirror?0:p.width+_+g;t.width=Math.min(e.maxWidth,t.width+k),e.paddingTop=d.height/2,e.paddingBottom=h.height/2}}e.handleMargins(),l?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(sn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r;for(this.ticks=e.map(function(e){return e.value}),this.beforeTickToLabelConversion(),t=this.convertTicksToLabels(e)||this.ticks,this.afterTickToLabelConversion(),n=0,r=e.length;n<r;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this._labelSizes;return e||(this._labelSizes=e=fn(this.ctx,mn(this.options.ticks),this.getTicks(),this.longestTextCache),this.longestLabelWidth=e.widest.width),e},_parseValue:function(e){var t,n,r,i;return i=on(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),r=Math.min(t,n),Math.max(t,n)):(t=void 0,r=n=e=+this.getRightValue(e)),{min:r,max:i,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:H.noop,getPixelForValue:H.noop,getValueForPixel:H.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,r=1/Math.max(n-(t?0:1),1);return e<0||n-1<e?null:this.getPixelForDecimal(e*r+(t?r/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0},_autoSkip:function(e){var t,n,r,i,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,c=a.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;t<n;t++)e[t].major&&r.push(t);return r}(e):[],l=c.length,u=c[0],f=c[l-1];if(s<l)return function(e,t,n){var r,i,a=0,o=t[0];for(n=Math.ceil(n),r=0;r<e.length;r++)i=e[r],r===o?(i._index=r,o=t[++a*n]):delete i.label}(e,c,l/s),gn(e);if(r=function(e,t,n,r){var i,a,o,s,c=function(e){var t,n,r=e.length;if(r<2)return!1;for(n=e[0],t=1;t<r;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),l=(t.length-1)/r;if(!c)return Math.max(l,1);for(o=0,s=(i=H.math._factorize(c)).length-1;o<s;o++)if(l<(a=i[o]))return a;return Math.max(l,1)}(c,e,0,s),0<l){for(t=0,n=l-1;t<n;t++)_n(e,r,c[t],c[t+1]);return i=1<l?(f-u)/(l-1):null,_n(e,r,H.isNullOrUndef(i)?0:u-i,u),_n(e,r,f,H.isNullOrUndef(i)?e.length:f+i),gn(e)}return _n(e,r),gn(e)},_tickSize:function(){var e=this.options.ticks,t=H.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,o=i?i.widest.width+a:0,s=i?i.highest.height+a:0;return this.isHorizontal()?o*r<s*n?o/n:s/r:s*r<o*n?s/n:o/r},_isVisible:function(){var e,t,n,r=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(e=0,t=r.data.datasets.length;e<t;++e)if(r.isDatasetVisible(e)&&((n=r.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b=this,v=b.chart,y=b.options,w=y.gridLines,C=y.position,A=w.offsetGridLines,S=b.isHorizontal(),T=b._ticksToDraw,x=T.length+(A?1:0),k=dn(w),E=[],D=w.drawBorder?ln(w.lineWidth,0,0):0,I=D/2,P=H._alignPixel,M=function(e){return P(v,e,D)};for("top"===C?(t=M(b.bottom),s=b.bottom-k,l=t-I,f=M(e.top)+I,h=e.bottom):"bottom"===C?(t=M(b.top),f=e.top,h=M(e.bottom)-I,s=t+I,l=b.top+k):"left"===C?(t=M(b.right),o=b.right-k,c=t-I,u=M(e.left)+I,d=e.right):(t=M(b.left),u=e.left,d=M(e.right)-I,o=t+I,c=b.left+k),n=0;n<x;++n)r=T[n]||{},sn(r.label)&&n<T.length||(_=n===b.zeroLineIndex&&y.offset===A?(p=w.zeroLineWidth,m=w.zeroLineColor,g=w.zeroLineBorderDash||[],w.zeroLineBorderDashOffset||0):(p=ln(w.lineWidth,n,1),m=ln(w.color,n,"rgba(0,0,0,0.1)"),g=w.borderDash||[],w.borderDashOffset||0),void 0!==(i=un(b,r._index||n,A))&&(a=P(v,i,p),S?o=c=u=d=a:s=l=f=h=a,E.push({tx1:o,ty1:s,tx2:c,ty2:l,x1:u,y1:f,x2:d,y2:h,width:p,color:m,borderDash:g,borderDashOffset:_})));return E.ticksLength=x,E.borderValue=t,E},_computeLabelItems:function(){var e,t,n,r,i,a,o,s,c,l,u,f,d=this.options,h=d.ticks,p=d.position,m=h.mirror,g=this.isHorizontal(),_=this._ticksToDraw,b=mn(h),v=h.padding,y=dn(d.gridLines),w=-H.toRadians(this.labelRotation),C=[];for(o="top"===p?(a=this.bottom-y-v,w?"left":"center"):"bottom"===p?(a=this.top+y+v,w?"right":"center"):"left"===p?(i=this.right-(m?0:y)-v,m?"left":"right"):(i=this.left+(m?0:y)+v,m?"right":"left"),e=0,t=_.length;e<t;++e)r=(n=_[e]).label,sn(r)||(s=this.getPixelForTick(n._index||e)+h.labelOffset,l=(c=n.major?b.major:b.minor).lineHeight,u=on(r)?r.length:1,f=g?(i=s,"top"===p?((w?1:.5)-u)*l:(w?0:.5)*l):(a=s,(1-u)*l/2),C.push({x:i,y:a,rotation:w,label:r,font:c,textOffset:f,textAlign:o}));return C},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var r,i,a,o,s,c=t.ctx,l=t.chart,u=H._alignPixel,f=n.drawBorder?ln(n.lineWidth,0,0):0,d=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(a=0,o=d.length;a<o;++a)r=(s=d[a]).width,i=s.color,r&&i&&(c.save(),c.lineWidth=r,c.strokeStyle=i,c.setLineDash&&(c.setLineDash(s.borderDash),c.lineDashOffset=s.borderDashOffset),c.beginPath(),n.drawTicks&&(c.moveTo(s.tx1,s.ty1),c.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(c.moveTo(s.x1,s.y1),c.lineTo(s.x2,s.y2)),c.stroke(),c.restore());if(f){var h,p,m,g,_=f,b=ln(n.lineWidth,d.ticksLength-1,1),v=d.borderValue;t.isHorizontal()?(h=u(l,t.left,_)-_/2,p=u(l,t.right,b)+b/2,m=g=v):(m=u(l,t.top,_)-_/2,g=u(l,t.bottom,b)+b/2,h=p=v),c.lineWidth=f,c.strokeStyle=ln(n.color,0),c.beginPath(),c.moveTo(h,m),c.lineTo(p,g),c.stroke()}}},_drawLabels:function(){if(this.options.ticks.display){var e,t,n,r,i,a,o,s,c=this.ctx,l=this._labelItems||(this._labelItems=this._computeLabelItems());for(e=0,n=l.length;e<n;++e){if(a=(i=l[e]).font,c.save(),c.translate(i.x,i.y),c.rotate(i.rotation),c.font=a.string,c.fillStyle=a.color,c.textBaseline="middle",c.textAlign=i.textAlign,o=i.label,s=i.textOffset,on(o))for(t=0,r=o.length;t<r;++t)c.fillText(""+o[t],0,s),s+=a.lineHeight;else c.fillText(o,0,s);c.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,r=n.scaleLabel;if(r.display){var i,a,o=cn(r.fontColor,F.global.defaultFontColor),s=H.options._parseFont(r),c=H.options.toPadding(r.padding),l=s.lineHeight/2,u=n.position,f=0;if(e.isHorizontal())i=e.left+e.width/2,a="bottom"===u?e.bottom-l-c.bottom:e.top+l+c.top;else{var d="left"===u;i=d?e.left+l+c.top:e.right-l-c.top,a=e.top+e.height/2,f=d?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(i,a),t.rotate(f),t.textAlign="center",t.textBaseline="middle",t.fillStyle=o,t.font=s.string,t.fillText(r.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,r=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==r&&e.draw===e._draw?[{z:r,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(t){var n=this,r=n.isHorizontal();return n.chart._getSortedVisibleDatasetMetas().filter(function(e){return(!t||e.type===t)&&(r?e.xAxisID===n.id:e.yAxisID===n.id)})}});bn.prototype._draw=bn.prototype.draw;var vn=bn,yn=H.isNullOrUndef,wn=vn.extend({determineDataLimits:function(){var e,t=this._getLabels(),n=this.options.ticks,r=n.min,i=n.max,a=0,o=t.length-1;void 0!==r&&0<=(e=t.indexOf(r))&&(a=e),void 0!==i&&0<=(e=t.indexOf(i))&&(o=e),this.minIndex=a,this.maxIndex=o,this.min=t[a],this.max=t[o]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this.options.offset,t=this.ticks;vn.prototype._configure.call(this),this.isHorizontal()||(this._reversePixels=!this._reversePixels),t&&(this._startValue=this.minIndex-(e?.5:0),this._valueRange=Math.max(t.length-(e?0:1),1))},getPixelForValue:function(e,t,n){var r,i,a;return yn(t)||yn(n)||(e=this.chart.data.datasets[n].data[t]),yn(e)||(r=this.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(i=this._getLabels(),e=H.valueOrDefault(r,e),t=-1!==(a=i.indexOf(e))?a:t,isNaN(t)&&(t=e)),this.getPixelForDecimal((t-this._startValue)/this._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Cn={position:"bottom"};wn._defaults=Cn;var An=H.noop,Sn=H.isNullOrUndef;var Tn=vn.extend({getRightValue:function(e){return"string"==typeof e?+e:vn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=H.sign(e.min),r=H.sign(e.max);n<0&&r<0?e.max=0:0<n&&0<r&&(e.min=0)}var i=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),i!==a&&e.min>=e.max&&(i?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,r=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:An,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:H.valueOrDefault(t.fixedStepSize,t.stepSize)},i=e.ticks=function(e,t){var n,r,i,a,o=[],s=e.stepSize,c=s||1,l=e.maxTicks-1,u=e.min,f=e.max,d=e.precision,h=t.min,p=t.max,m=H.niceNum((p-h)/l/c)*c;if(m<1e-14&&Sn(u)&&Sn(f))return[h,p];l<(a=Math.ceil(p/m)-Math.floor(h/m))&&(m=H.niceNum(a*m/l/c)*c),s||Sn(d)?n=Math.pow(10,H._decimalPlaces(m)):(n=Math.pow(10,d),m=Math.ceil(m*n)/n),r=Math.floor(h/m)*m,i=Math.ceil(p/m)*m,s&&(!Sn(u)&&H.almostWhole(u/m,m/1e3)&&(r=u),!Sn(f)&&H.almostWhole(f/m,m/1e3)&&(i=f)),a=(i-r)/m,a=H.almostEquals(a,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),r=Math.round(r*n)/n,i=Math.round(i*n)/n,o.push(Sn(u)?r:u);for(var g=1;g<a;++g)o.push(Math.round((r+g*m)*n)/n);return o.push(Sn(f)?i:f),o}(r,e);e.handleDirectionalChanges(),e.max=H.max(i),e.min=H.min(i),t.reverse?(i.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),vn.prototype.convertTicksToLabels.call(this)},_configure:function(){var e,t=this.getTicks(),n=this.min,r=this.max;vn.prototype._configure.call(this),this.options.offset&&t.length&&(n-=e=(r-n)/Math.max(t.length-1,1)/2,r+=e),this._startValue=n,this._endValue=r,this._valueRange=r-n}}),xn={position:"left",ticks:{callback:an.formatters.linear}};function kn(e,t,n,r){var i,a,o,s,c,l,u=e.options,f=u.stacked,d=(i=t,a=f,s=[(o=n).type,void 0===a&&void 0===o.stack?o.index:"",o.stack].join("."),void 0===i[s]&&(i[s]={pos:[],neg:[]}),i[s]),h=d.pos,p=d.neg,m=r.length;for(c=0;c<m;++c)l=e._parseValue(r[c]),isNaN(l.min)||isNaN(l.max)||n.data[c].hidden||(h[c]=h[c]||0,p[c]=p[c]||0,u.relativePoints?h[c]=100:l.min<0||l.max<0?p[c]+=l.min:h[c]+=l.max)}function En(e,t,n){var r,i,a=n.length;for(r=0;r<a;++r)i=e._parseValue(n[r]),isNaN(i.min)||isNaN(i.max)||t.data[r].hidden||(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}var Dn=Tn.extend({determineDataLimits:function(){var e,t,n,r,i=this,a=i.options,o=i.chart.data.datasets,s=i._getMatchingVisibleMetas(),c=a.stacked,l={},u=s.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===c)for(e=0;!c&&e<u;++e)c=void 0!==(t=s[e]).stack;for(e=0;e<u;++e)n=o[(t=s[e]).index].data,c?kn(i,l,t,n):En(i,t,n);H.each(l,function(e){r=e.pos.concat(e.neg),i.min=Math.min(i.min,H.min(r)),i.max=Math.max(i.max,H.max(r))}),i.min=H.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=H.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=H.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),In=xn;Dn._defaults=In;var Pn=H.valueOrDefault,Mn=H.math.log10;var $n={position:"left",ticks:{callback:an.formatters.logarithmic}};function On(e,t){return H.isFinite(e)&&0<=e?e:t}var Rn=vn.extend({determineDataLimits:function(){var e,t,n,r,i,a,o=this,s=o.options,c=o.chart,l=c.data.datasets,u=o.isHorizontal();function f(e){return u?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var d=s.stacked;if(void 0===d)for(e=0;e<l.length;e++)if(t=c.getDatasetMeta(e),c.isDatasetVisible(e)&&f(t)&&void 0!==t.stack){d=!0;break}if(s.stacked||d){var h={};for(e=0;e<l.length;e++){var p=[(t=c.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(c.isDatasetVisible(e)&&f(t))for(void 0===h[p]&&(h[p]=[]),i=0,a=(r=l[e].data).length;i<a;i++){var m=h[p];n=o._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(m[i]=m[i]||0,m[i]+=n.max)}}H.each(h,function(e){if(0<e.length){var t=H.min(e),n=H.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}})}else for(e=0;e<l.length;e++)if(t=c.getDatasetMeta(e),c.isDatasetVisible(e)&&f(t))for(i=0,a=(r=l[e].data).length;i<a;i++)n=o._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=H.isFinite(o.min)?o.min:null,o.max=H.isFinite(o.max)?o.max:null,o.minNotZero=H.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=On(t.min,e.min),e.max=On(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(Mn(e.min))-1),e.max=Math.pow(10,Math.floor(Mn(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(Mn(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(Mn(e.min))+1):10),null===e.minNotZero&&(0<e.min?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Mn(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:On(t.min),max:On(t.max)},i=e.ticks=function(e,t){var n,r,i=[],a=Pn(e.min,Math.pow(10,Math.floor(Mn(t.min)))),o=Math.floor(Mn(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===a?(n=Math.floor(Mn(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),i.push(a),a=r*Math.pow(10,n)):(n=Math.floor(Mn(a)),r=Math.floor(a/Math.pow(10,n)));for(var c=n<0?Math.pow(10,Math.abs(n)):1;i.push(a),10==++r&&(r=1,c=0<=++n?1:c),a=Math.round(r*Math.pow(10,n)*c)/c,n<o||n===o&&r<s;);var l=Pn(e.max,a);return i.push(l),i}(r,e);e.max=H.max(i),e.min=H.min(i),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),vn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Mn(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;vn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Pn(e.options.ticks.fontSize,F.global.defaultFontSize)/e._length),e._startValue=Mn(t),e._valueOffset=n,e._valueRange=(Mn(e.max)-Mn(t))/(1-n)},getPixelForValue:function(e){var t=0;return(e=+this.getRightValue(e))>this.min&&0<e&&(t=(Mn(e)-this._startValue)/this._valueRange+this._valueOffset),this.getPixelForDecimal(t)},getValueForPixel:function(e){var t=this.getDecimalForPixel(e);return 0===t&&0===this.min?0:Math.pow(10,this._startValue+(t-this._valueOffset)*this._valueRange)}}),Nn=$n;Rn._defaults=Nn;var Ln=H.valueOrDefault,Fn=H.valueAtIndexOrDefault,Gn=H.options.resolve,jn={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:an.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Bn(e){var t=e.ticks;return t.display&&e.display?Ln(t.fontSize,F.global.defaultFontSize)+2*t.backdropPaddingY:0}function Un(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||i<e?{start:t-n,end:t}:{start:t,end:t+n}}function Hn(e,t,n,r){var i,a,o=n.y+r/2;if(H.isArray(t))for(i=0,a=t.length;i<a;++i)e.fillText(t[i],n.x,o),o+=r;else e.fillText(t,n.x,o)}function Wn(e){return H.isNumber(e)?e:0}var qn=Tn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Bn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var i=this,n=i.chart,a=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;H.each(n.data.datasets,function(e,t){if(n.isDatasetVisible(t)){var r=n.getDatasetMeta(t);H.each(e.data,function(e,t){var n=+i.getRightValue(e);isNaN(n)||r.data[t].hidden||(a=Math.min(n,a),o=Math.max(n,o))})}}),i.min=a===Number.POSITIVE_INFINITY?0:a,i.max=o===Number.NEGATIVE_INFINITY?0:o,i.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Bn(this.options))},convertTicksToLabels:function(){var t=this;Tn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=H.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,r,i=H.options._parseFont(e.options.pointLabels),a={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=i.string,e._pointLabelSizes=[];var s,c,l,u=e.chart.data.labels.length;for(t=0;t<u;t++){r=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,c=i.lineHeight,l=e.pointLabels[t],n=H.isArray(l)?{w:H.longestText(s,s.font,l),h:l.length*c}:{w:s.measureText(l).width,h:c},e._pointLabelSizes[t]=n;var f=e.getIndexAngle(t),d=H.toDegrees(f)%360,h=Un(d,r.x,n.w,0,180),p=Un(d,r.y,n.h,90,270);h.start<a.l&&(a.l=h.start,o.l=f),h.end>a.r&&(a.r=h.end,o.r=f),p.start<a.t&&(a.t=p.start,o.t=f),p.end>a.b&&(a.b=p.end,o.b=f)}e.setReductions(e.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var r=t.l/Math.sin(n.l),i=Math.max(t.r-this.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),o=-Math.max(t.b-(this.height-this.paddingTop),0)/Math.cos(n.b);r=Wn(r),i=Wn(i),a=Wn(a),o=Wn(o),this.drawingArea=Math.min(Math.floor(e-(r+i)/2),Math.floor(e-(a+o)/2)),this.setCenterPoint(r,i,a,o)},setCenterPoint:function(e,t,n,r){var i=this,a=i.width-t-i.drawingArea,o=e+i.drawingArea,s=n+i.drawingArea,c=i.height-i.paddingTop-r-i.drawingArea;i.xCenter=Math.floor((o+a)/2+i.left),i.yCenter=Math.floor((s+c)/2+i.top+i.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){if(H.isNullOrUndef(e))return NaN;var t=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-e)*t:(e-this.min)*t},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:0<t&&0<n?t:0)},_drawGrid:function(){var e,n,t,r=this,i=r.ctx,a=r.options,o=a.gridLines,s=a.angleLines,c=Ln(s.lineWidth,o.lineWidth),l=Ln(s.color,o.color);if(a.pointLabels.display&&function(e){var t,n,r,i,a=e.ctx,o=e.options,s=o.pointLabels,c=Bn(o),l=e.getDistanceFromCenterForValue(o.ticks.reverse?e.min:e.max),u=H.options._parseFont(s);a.save(),a.font=u.string,a.textBaseline="middle";for(var f=e.chart.data.labels.length-1;0<=f;f--){var d=0===f?c/2:0,h=e.getPointPosition(f,l+d+5),p=Fn(s.fontColor,f,F.global.defaultFontColor);a.fillStyle=p;var m=e.getIndexAngle(f),g=H.toDegrees(m);a.textAlign=0===(i=g)||180===i?"center":i<180?"left":"right",t=g,n=e._pointLabelSizes[f],r=h,90===t||270===t?r.y-=n.h/2:(270<t||t<90)&&(r.y-=n.h),Hn(a,e.pointLabels[f],h,u.lineHeight)}a.restore()}(r),o.display&&H.each(r.ticks,function(e,t){0!==t&&(n=r.getDistanceFromCenterForValue(r.ticksAsNumbers[t]),function(e,t,n,r){var i,a=e.ctx,o=t.circular,s=e.chart.data.labels.length,c=Fn(t.color,r-1),l=Fn(t.lineWidth,r-1);if((o||s)&&c&&l){if(a.save(),a.strokeStyle=c,a.lineWidth=l,a.setLineDash&&(a.setLineDash(t.borderDash||[]),a.lineDashOffset=t.borderDashOffset||0),a.beginPath(),o)a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{i=e.getPointPosition(0,n),a.moveTo(i.x,i.y);for(var u=1;u<s;u++)i=e.getPointPosition(u,n),a.lineTo(i.x,i.y)}a.closePath(),a.stroke(),a.restore()}}(r,o,n,t))}),s.display&&c&&l){for(i.save(),i.lineWidth=c,i.strokeStyle=l,i.setLineDash&&(i.setLineDash(Gn([s.borderDash,o.borderDash,[]])),i.lineDashOffset=Gn([s.borderDashOffset,o.borderDashOffset,0])),e=r.chart.data.labels.length-1;0<=e;e--)n=r.getDistanceFromCenterForValue(a.ticks.reverse?r.min:r.max),t=r.getPointPosition(e,n),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(t.x,t.y),i.stroke();i.restore()}},_drawLabels:function(){var n=this,r=n.ctx,i=n.options.ticks;if(i.display){var a,o,e=n.getIndexAngle(0),s=H.options._parseFont(i),c=Ln(i.fontColor,F.global.defaultFontColor);r.save(),r.font=s.string,r.translate(n.xCenter,n.yCenter),r.rotate(e),r.textAlign="center",r.textBaseline="middle",H.each(n.ticks,function(e,t){(0!==t||i.reverse)&&(a=n.getDistanceFromCenterForValue(n.ticksAsNumbers[t]),i.showLabelBackdrop&&(o=r.measureText(e).width,r.fillStyle=i.backdropColor,r.fillRect(-o/2-i.backdropPaddingX,-a-s.size/2-i.backdropPaddingY,o+2*i.backdropPaddingX,s.size+2*i.backdropPaddingY)),r.fillStyle=c,r.fillText(e,0,-a))}),r.restore()}},_drawTitle:H.noop}),zn=jn;qn._defaults=zn;var Vn=H._deprecated,Yn=H.options.resolve,Kn=H.valueOrDefault,Qn=Number.MIN_SAFE_INTEGER||-9007199254740991,Xn=Number.MAX_SAFE_INTEGER||9007199254740991,Zn={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}},Jn=Object.keys(Zn);function er(e,t){return e-t}function tr(e){return H.valueOrDefault(e.time.min,e.ticks.min)}function nr(e){return H.valueOrDefault(e.time.max,e.ticks.max)}function rr(e,t,n,r){var i=function(e,t,n){for(var r,i,a,o=0,s=e.length-1;0<=o&&o<=s;){if(i=e[(r=o+s>>1)-1]||null,a=e[r],!i)return{lo:null,hi:a};if(a[t]<n)o=r+1;else{if(!(i[t]>n))return{lo:i,hi:a};s=r-1}}return{lo:a,hi:null}}(e,t,n),a=i.lo?i.hi?i.lo:e[e.length-2]:e[0],o=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=o[t]-a[t],c=s?(n-a[t])/s:0,l=(o[r]-a[r])*c;return a[r]+l}function ir(e,t){var n=e._adapter,r=e.options.time,i=r.parser,a=i||r.format,o=t;return"function"==typeof i&&(o=i(o)),H.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(i||"function"!=typeof a||(o=a(t),H.isFinite(o)||(o=n.parse(o))),o)}function ar(e,t){if(H.isNullOrUndef(t))return null;var n=e.options.time,r=ir(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function or(e,t,n,r){var i,a,o,s=Jn.length;for(i=Jn.indexOf(e);i<s-1;++i)if(o=(a=Zn[Jn[i]]).steps?a.steps:Xn,a.common&&Math.ceil((n-t)/(o*a.size))<=r)return Jn[i];return Jn[s-1]}function sr(e,t,n){var r,i,a=[],o={},s=t.length;for(r=0;r<s;++r)o[i=t[r]]=r,a.push({value:i,major:!1});return 0!==s&&n?function(e,t,n,r){var i,a,o=e._adapter,s=+o.startOf(t[0].value,r),c=t[t.length-1].value;for(i=s;i<=c;i=+o.add(i,1,r))0<=(a=n[i])&&(t[a].major=!0);return t}(e,a,o,n):a}var cr=vn.extend({initialize:function(){this.mergeTicksOptions(),vn.prototype.initialize.call(this)},update:function(){var e=this.options,t=e.time||(e.time={}),n=this._adapter=new rn._date(e.adapters.date);return Vn("time scale",t.format,"time.format","time.parser"),Vn("time scale",t.min,"time.min","ticks.min"),Vn("time scale",t.max,"time.max","ticks.max"),H.mergeIf(t.displayFormats,n.formats()),vn.prototype.update.apply(this,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),vn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,r,i,a,o,s=this,c=s.chart,l=s._adapter,u=s.options,f=u.time.unit||"day",d=Xn,h=Qn,p=[],m=[],g=[],_=s._getLabels();for(e=0,n=_.length;e<n;++e)g.push(ar(s,_[e]));for(e=0,n=(c.data.datasets||[]).length;e<n;++e)if(c.isDatasetVisible(e))if(i=c.data.datasets[e].data,H.isObject(i[0]))for(m[e]=[],t=0,r=i.length;t<r;++t)a=ar(s,i[t]),p.push(a),m[e][t]=a;else m[e]=g.slice(0),o||(p=p.concat(g),o=!0);else m[e]=[];g.length&&(d=Math.min(d,g[0]),h=Math.max(h,g[g.length-1])),p.length&&(p=1<n?function(e){var t,n,r,i={},a=[];for(t=0,n=e.length;t<n;++t)i[r=e[t]]||(i[r]=!0,a.push(r));return a}(p).sort(er):p.sort(er),d=Math.min(d,p[0]),h=Math.max(h,p[p.length-1])),d=ar(s,tr(u))||d,h=ar(s,nr(u))||h,d=d===Xn?+l.startOf(Date.now(),f):d,h=h===Qn?+l.endOf(Date.now(),f)+1:h,s.min=Math.min(d,h),s.max=Math.max(d+1,h),s._table=[],s._timestamps={data:p,datasets:m,labels:g}},buildTicks:function(){var e,t,n,r,i,a,o,s,c,l=this,u=l.min,f=l.max,d=l.options,h=d.ticks,p=d.time,m=l._timestamps,g=[],_=l.getLabelCapacity(u),b=h.source,v=d.distribution;for(m="data"===b||"auto"===b&&"series"===v?m.data:"labels"===b?m.labels:function(e,t,n,r){var i,a=e._adapter,o=e.options,s=o.time,c=s.unit||or(s.minUnit,t,n,r),l=Yn([s.stepSize,s.unitStepSize,1]),u="week"===c&&s.isoWeekday,f=t,d=[];if(u&&(f=+a.startOf(f,"isoWeek",u)),f=+a.startOf(f,u?"day":c),a.diff(n,t,c)>1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+c;for(i=f;i<n;i=+a.add(i,l,c))d.push(i);return i!==n&&"ticks"!==o.bounds||d.push(i),d}(l,u,f,_),"ticks"===d.bounds&&m.length&&(u=m[0],f=m[m.length-1]),u=ar(l,tr(d))||u,f=ar(l,nr(d))||f,e=0,t=m.length;e<t;++e)u<=(n=m[e])&&n<=f&&g.push(n);return l.min=u,l.max=f,l._unit=p.unit||(h.autoSkip?or(p.minUnit,l.min,l.max,_):function(e,t,n,r,i){var a,o;for(a=Jn.length-1;a>=Jn.indexOf(n);a--)if(o=Jn[a],Zn[o].common&&e._adapter.diff(i,r,o)>=t-1)return o;return Jn[n?Jn.indexOf(n):0]}(l,g.length,p.minUnit,l.min,l.max)),l._majorUnit=h.major.enabled&&"year"!==l._unit?function(e){for(var t=Jn.indexOf(e)+1,n=Jn.length;t<n;++t)if(Zn[Jn[t]].common)return Jn[t]}(l._unit):void 0,l._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,a,o,s,c,l=[],u=[t];for(i=0,a=e.length;i<a;++i)t<(s=e[i])&&s<n&&u.push(s);for(u.push(n),i=0,a=u.length;i<a;++i)c=u[i+1],o=u[i-1],s=u[i],void 0!==o&&void 0!==c&&Math.round((c+o)/2)===s||l.push({time:s,pos:i/(a-1)});return l}(l._timestamps.data,u,f,v),l._offsets=(r=l._table,i=g,c=s=0,d.offset&&i.length&&(a=rr(r,"time",i[0],"pos"),s=1===i.length?1-a:(rr(r,"time",i[1],"pos")-a)/2,o=rr(r,"time",i[i.length-1],"pos"),c=1===i.length?o:(o-rr(r,"time",i[i.length-2],"pos"))/2),{start:s,end:c,factor:1/(s+1+c)}),h.reverse&&g.reverse(),sr(l,g,l._majorUnit)},getLabelForIndex:function(e,t){var n=this._adapter,r=this.chart.data,i=this.options.time,a=r.labels&&e<r.labels.length?r.labels[e]:"",o=r.datasets[t].data[e];return H.isObject(o)&&(a=this.getRightValue(o)),i.tooltipFormat?n.format(ir(this,a),i.tooltipFormat):"string"==typeof a?a:n.format(ir(this,a),i.displayFormats.datetime)},tickFormatFunction:function(e,t,n,r){var i=this._adapter,a=this.options,o=a.time.displayFormats,s=o[this._unit],c=this._majorUnit,l=o[c],u=n[t],f=a.ticks,d=c&&l&&u&&u.major,h=i.format(e,r||(d?l:s)),p=d?f.major:f.minor,m=Yn([p.callback,p.userCallback,f.callback,f.userCallback]);return m?m(h,t,n):h},convertTicksToLabels:function(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(this.tickFormatFunction(e[t].value,t,e));return r},getPixelForOffset:function(e){var t=this._offsets,n=rr(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var r=null;if(void 0!==t&&void 0!==n&&(r=this._timestamps.datasets[n][t]),null===r&&(r=ar(this,e)),null!==r)return this.getPixelForOffset(r)},getPixelForTick:function(e){var t=this.getTicks();return 0<=e&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,r=rr(this._table,"pos",n,"time");return this._adapter._create(r)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=H.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),a=Math.sin(r),o=Kn(t.fontSize,F.global.defaultFontSize);return{w:n*i+o*a,h:n*a+o*i}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,i=this.tickFormatFunction(e,0,sr(this,[e],this._majorUnit),r),a=this._getLabelSize(i),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h);return this.options.offset&&o--,0<o?o:1}}),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}}};cr._defaults=lr;var ur={category:wn,linear:Dn,logarithmic:Rn,radialLinear:qn,time:cr},fr={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"};rn._date.override("function"==typeof r?{_id:"moment",formats:function(){return fr},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=r(e,t):e instanceof r||(e=r(e)),e.isValid()?e.valueOf():null},format:function(e,t){return r(e).format(t)},add:function(e,t,n){return r(e).add(t,n).valueOf()},diff:function(e,t,n){return r(e).diff(r(t),n)},startOf:function(e,t,n){return e=r(e),"isoWeek"===t?e.isoWeekday(n).valueOf():e.startOf(t).valueOf()},endOf:function(e,t){return r(e).endOf(t).valueOf()},_create:function(e){return r(e)}}:{}),F._set("global",{plugins:{filler:{propagate:!0}}});var dr={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t)&&r.dataset._children||[],a=i.length||0;return a?function(e,t){return t<a&&i[t]._view||null}:null},boundary:function(e){var n=e.boundary,t=n?n.x:null,r=n?n.y:null;return H.isArray(n)?function(e,t){return n[t]}:function(e){return{x:null===t?e.x:t,y:null===r?e.y:r}}}};function hr(e,t,n){var r,i=e._model||{},a=i.fill;if(void 0===a&&(a=!!i.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(r=parseFloat(a,10),isFinite(r)&&Math.floor(r)===r)return"-"!==a[0]&&"+"!==a[0]||(r=t+r),!(r===t||r<0||n<=r)&&r;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function pr(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,r,i,a,o=e.el._scale,s=o.options,c=o.chart.data.labels.length,l=e.fill,u=[];if(!c)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,t),i=0;i<c;++i)a="start"===l||"end"===l?o.getPointPositionForValue(i,"start"===l?t:n):o.getBasePosition(i),s.gridLines.circular&&(a.cx=r.x,a.cy=r.y,a.angle=o.getIndexAngle(i)-Math.PI/2),u.push(a);return u}(e):function(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,a=null;if(isFinite(i))return null;if("start"===i?a=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?a=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:r.getBasePixel&&(a=r.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if(H.isFinite(a))return{x:(t=r.isHorizontal())?a:null,y:t?null:a}}return null}(e)}function mr(e,t,n){var r,i=e[t].fill,a=[t];if(!n)return i;for(;!1!==i&&-1===a.indexOf(i);){if(!isFinite(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;a.push(i),i=r.fill}return!1}function gr(e){return e&&!e.skip}function _r(e,t,n,r,i){var a,o,s,c;if(r&&i){for(e.moveTo(t[0].x,t[0].y),a=1;a<r;++a)H.canvas.lineTo(e,t[a-1],t[a]);if(void 0===n[0].angle)for(e.lineTo(n[i-1].x,n[i-1].y),a=i-1;0<a;--a)H.canvas.lineTo(e,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,c=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=i-1;0<a;--a)e.arc(o,s,c,n[a].angle,n[a-1].angle,!0)}}function br(e,t,n,r,i,a){var o,s,c,l,u,f,d,h,p=t.length,m=r.spanGaps,g=[],_=[],b=0,v=0;for(e.beginPath(),o=0,s=p;o<s;++o)u=n(l=t[c=o%p]._view,c,r),f=gr(l),d=gr(u),a&&void 0===h&&f&&(s=p+(h=o+1)),f&&d?(b=g.push(l),v=_.push(u)):b&&v&&(m?(f&&g.push(l),d&&_.push(u)):(_r(e,g,_,b,v),b=v=0,g=[],_=[]));_r(e,g,_,b,v),e.closePath(),e.fillStyle=i,e.fill()}var vr={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,i,a,o,s,c,l=(e.data.datasets||[]).length,u=t.propagate,f=[];for(r=0;r<l;++r)a=null,(i=(n=e.getDatasetMeta(r)).dataset)&&i._model&&i instanceof Ae.Line&&(a={visible:e.isDatasetVisible(r),fill:hr(i,r,l),chart:e,el:i}),n.$filler=a,f.push(a);for(r=0;r<l;++r)(a=f[r])&&(a.fill=mr(f,r,u),a.boundary=pr(a),a.mapper=(c=void 0,s=(o=a).fill,!(c="dataset")===s?null:(isFinite(s)||(c="boundary"),dr[c](o))))},beforeDatasetsDraw:function(e){var t,n,r,i,a,o,s,c=e._getSortedVisibleDatasetMetas(),l=e.ctx;for(n=c.length-1;0<=n;--n)(t=c[n].$filler)&&t.visible&&(i=(r=t.el)._view,a=r._children||[],o=t.mapper,s=i.backgroundColor||F.global.defaultColor,o&&s&&a.length&&(H.canvas.clipArea(l,e.chartArea),br(l,a,o,i,s,r._loop),H.canvas.unclipArea(l)))}},yr=H.rtl.getRtlAdapter,wr=H.noop,Cr=H.valueOrDefault;function Ar(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}F._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var r=n.data.datasets,e=n.options.legend||{},i=e.labels&&e.labels.usePointStyle;return n._getSortedDatasetMetas().map(function(e){var t=e.controller.getStyle(i?0:void 0);return{text:r[e.index].label,fillStyle:t.backgroundColor,hidden:!n.isDatasetVisible(e.index),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,rotation:t.rotation,datasetIndex:e.index}},this)}}},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),a=e.data.datasets;for(i.setAttribute("class",e.id+"-legend"),t=0,n=a.length;t<n;t++)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[t].backgroundColor,a[t].label&&r.appendChild(document.createTextNode(a[t].label));return i.outerHTML}});var Sr=Q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:wr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:wr,beforeSetDimensions:wr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:wr,beforeBuildLabels:wr,buildLabels:function(){var t=this,n=t.options.labels||{},e=H.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(e=e.filter(function(e){return n.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:wr,beforeFit:wr,fit:function(){var e=this,t=e.options,r=t.labels,n=t.display,i=e.ctx,a=H.options._parseFont(r),o=a.size,s=e.legendHitBoxes=[],c=e.minSize,l=e.isHorizontal();if(l?(c.width=e.maxWidth,c.height=n?10:0):(c.width=n?10:0,c.height=e.maxHeight),n){if(i.font=a.string,l){var u=e.lineWidths=[0],f=0;i.textAlign="left",i.textBaseline="middle",H.each(e.legendItems,function(e,t){var n=Ar(r,o)+o/2+i.measureText(e.text).width;(0===t||u[u.length-1]+n+2*r.padding>c.width)&&(f+=o+r.padding,u[u.length-(0<t?0:1)]=0),s[t]={left:0,top:0,width:n,height:o},u[u.length-1]+=n+r.padding}),c.height+=f}else{var d=r.padding,h=e.columnWidths=[],p=e.columnHeights=[],m=r.padding,g=0,_=0;H.each(e.legendItems,function(e,t){var n=Ar(r,o)+o/2+i.measureText(e.text).width;0<t&&_+o+2*d>c.height&&(m+=g+r.padding,h.push(g),p.push(_),_=g=0),g=Math.max(g,n),_+=o+d,s[t]={left:0,top:0,width:n,height:o}}),m+=g,h.push(g),p.push(_),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:wr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var p=this,n=p.options,m=n.labels,e=F.global,g=e.defaultColor,_=e.elements.line,b=p.height,v=p.columnHeights,y=p.width,w=p.lineWidths;if(n.display){var C,A=yr(n.rtl,p.left,p.minSize.width),S=p.ctx,t=Cr(m.fontColor,e.defaultFontColor),r=H.options._parseFont(m),T=r.size;S.textAlign=A.textAlign("left"),S.textBaseline="middle",S.lineWidth=.5,S.strokeStyle=t,S.fillStyle=t,S.font=r.string;var x=Ar(m,T),k=p.legendHitBoxes,E=function(e,t){switch(n.align){case"start":return m.padding;case"end":return e-t;default:return(e-t+m.padding)/2}},D=p.isHorizontal();C=D?{x:p.left+E(y,w[0]),y:p.top+m.padding,line:0}:{x:p.left+m.padding,y:p.top+E(b,v[0]),line:0},H.rtl.overrideTextDirection(p.ctx,n.textDirection);var I=T+m.padding;H.each(p.legendItems,function(e,t){var n=S.measureText(e.text).width,r=x+T/2+n,i=C.x,a=C.y;A.setWidth(p.minSize.width),D?0<t&&i+r+m.padding>p.left+p.minSize.width&&(a=C.y+=I,C.line++,i=C.x=p.left+E(y,w[C.line])):0<t&&a+I>p.top+p.minSize.height&&(i=C.x=i+p.columnWidths[C.line]+m.padding,C.line++,a=C.y=p.top+E(b,v[C.line]));var o,s,c,l,u,f,d,h=A.x(i);!function(e,t,n){if(!(isNaN(x)||x<=0)){S.save();var r=Cr(n.lineWidth,_.borderWidth);if(S.fillStyle=Cr(n.fillStyle,g),S.lineCap=Cr(n.lineCap,_.borderCapStyle),S.lineDashOffset=Cr(n.lineDashOffset,_.borderDashOffset),S.lineJoin=Cr(n.lineJoin,_.borderJoinStyle),S.lineWidth=r,S.strokeStyle=Cr(n.strokeStyle,g),S.setLineDash&&S.setLineDash(Cr(n.lineDash,_.borderDash)),m&&m.usePointStyle){var i=x*Math.SQRT2/2,a=A.xPlus(e,x/2),o=t+T/2;H.canvas.drawPoint(S,n.pointStyle,i,a,o,n.rotation)}else S.fillRect(A.leftForLtr(e,x),t,x,T),0!==r&&S.strokeRect(A.leftForLtr(e,x),t,x,T);S.restore()}}(h,a,e),k[t].left=A.leftForLtr(h,k[t].width),k[t].top=a,o=h,s=a,c=e,l=n,u=T/2,f=A.xPlus(o,x+u),d=s+u,S.fillText(c.text,f,d),c.hidden&&(S.beginPath(),S.lineWidth=2,S.moveTo(f,d),S.lineTo(A.xPlus(f,l),d),S.stroke()),D?C.x+=r+m.padding:C.y+=I}),H.rtl.restoreTextDirection(p.ctx,n.textDirection)}},_getLegendItemAt:function(e,t){var n,r,i;if(e>=this.left&&e<=this.right&&t>=this.top&&t<=this.bottom)for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(e>=(r=i[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return this.legendItems[n];return null},handleEvent:function(e){var t,n=this.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else{if("click"!==r)return;if(!n.onClick)return}t=this._getLegendItemAt(e.x,e.y),"click"===r?t&&n.onClick&&n.onClick.call(this,e.native,t):(n.onLeave&&t!==this._hoveredItem&&(this._hoveredItem&&n.onLeave.call(this,e.native,this._hoveredItem),this._hoveredItem=t),n.onHover&&t&&n.onHover.call(this,e.native,t))}});function Tr(e,t){var n=new Sr({ctx:e.ctx,options:t,chart:e});pt.configure(e,n,t),pt.addBox(e,n),e.legend=n}var xr={id:"legend",_element:Sr,beforeInit:function(e){var t=e.options.legend;t&&Tr(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(H.mergeIf(t,F.global.legend),n?(pt.configure(e,n,t),n.options=t):Tr(e,t)):n&&(pt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},kr=H.noop;F._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Er=Q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:kr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:kr,beforeSetDimensions:kr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:kr,beforeBuildLabels:kr,buildLabels:kr,afterBuildLabels:kr,beforeFit:kr,fit:function(){var e,t=this.options,n=this.minSize={},r=this.isHorizontal();t.display?(e=(H.isArray(t.text)?t.text.length:1)*H.options._parseFont(t).lineHeight+2*t.padding,this.width=n.width=r?this.maxWidth:e,this.height=n.height=r?e:this.maxHeight):this.width=n.width=this.height=n.height=0},afterFit:kr,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this.ctx,t=this.options;if(t.display){var n,r,i,a=H.options._parseFont(t),o=a.lineHeight,s=o/2+t.padding,c=0,l=this.top,u=this.left,f=this.bottom,d=this.right;e.fillStyle=H.valueOrDefault(t.fontColor,F.global.defaultFontColor),e.font=a.string,this.isHorizontal()?(r=u+(d-u)/2,i=l+s,n=d-u):(r="left"===t.position?u+s:d-s,i=l+(f-l)/2,n=f-l,c=Math.PI*("left"===t.position?-.5:.5)),e.save(),e.translate(r,i),e.rotate(c),e.textAlign="center",e.textBaseline="middle";var h=t.text;if(H.isArray(h))for(var p=0,m=0;m<h.length;++m)e.fillText(h[m],0,p,n),p+=o;else e.fillText(h,0,0,n);e.restore()}}});function Dr(e,t){var n=new Er({ctx:e.ctx,options:t,chart:e});pt.configure(e,n,t),pt.addBox(e,n),e.titleBlock=n}var Ir={},Pr=vr,Mr=xr,$r={id:"title",_element:Er,beforeInit:function(e){var t=e.options.title;t&&Dr(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(H.mergeIf(t,F.global.title),n?(pt.configure(e,n,t),n.options=t):Dr(e,t)):n&&(pt.removeBox(e,n),delete e.titleBlock)}};for(var Or in Ir.filler=Pr,Ir.legend=Mr,Ir.title=$r,en.helpers=H,function(){function u(e,t,n){var r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function f(e){return null!=e&&"none"!==e}function t(e,t,n){var r=document.defaultView,i=H._getParentNode(e),a=r.getComputedStyle(e)[t],o=r.getComputedStyle(i)[t],s=f(a),c=f(o),l=Number.POSITIVE_INFINITY;return s||c?Math.min(s?u(a,e,n):l,c?u(o,i,n):l):"none"}H.where=function(e,t){if(H.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return H.each(e,function(e){t(e)&&n.push(e)}),n},H.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r<i;++r)if(t.call(n,e[r],r,e))return r;return-1},H.findNextWhere=function(e,t,n){H.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var i=e[r];if(t(i))return i}},H.findPreviousWhere=function(e,t,n){H.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;0<=r;r--){var i=e[r];if(t(i))return i}},H.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},H.almostEquals=function(e,t,n){return Math.abs(e-t)<n},H.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&e<=n+t},H.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},H.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:0<e?1:-1},H.toRadians=function(e){return e*(Math.PI/180)},H.toDegrees=function(e){return e*(180/Math.PI)},H._decimalPlaces=function(e){if(H.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},H.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:i}},H.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},H.aliasPixel=function(e){return e%2==0?0:.5},H._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,i=n/2;return Math.round((t-i)*r)/r+i},H.splineCurve=function(e,t,n,r){var i=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),c=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),l=s/(s+c),u=c/(s+c),f=r*(l=isNaN(l)?0:l),d=r*(u=isNaN(u)?0:u);return{previous:{x:a.x-f*(o.x-i.x),y:a.y-f*(o.y-i.y)},next:{x:a.x+d*(o.x-i.x),y:a.y+d*(o.y-i.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(e){var t,n,r,i,a,o,s,c,l,u=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),f=u.length;for(t=0;t<f;++t)if(!(r=u[t]).model.skip){if(n=0<t?u[t-1]:null,(i=t<f-1?u[t+1]:null)&&!i.model.skip){var d=i.model.x-r.model.x;r.deltaK=0!==d?(i.model.y-r.model.y)/d:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<f-1;++t)r=u[t],i=u[t+1],r.model.skip||i.model.skip||(H.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(a=r.mK/r.deltaK,o=i.mK/r.deltaK,(c=Math.pow(a,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(c),r.mK=a*s*r.deltaK,i.mK=o*s*r.deltaK)));for(t=0;t<f;++t)(r=u[t]).model.skip||(n=0<t?u[t-1]:null,i=t<f-1?u[t+1]:null,n&&!n.model.skip&&(l=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-l,r.model.controlPointPreviousY=r.model.y-l*r.mK),i&&!i.model.skip&&(l=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+l,r.model.controlPointNextY=r.model.y+l*r.mK))},H.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},H.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},H.niceNum=function(e,t){var n=Math.floor(H.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},H.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},H.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,a=e.target||e.srcElement,o=a.getBoundingClientRect(),s=i.touches;r=s&&0<s.length?(n=s[0].clientX,s[0].clientY):(n=i.clientX,i.clientY);var c=parseFloat(H.getStyle(a,"padding-left")),l=parseFloat(H.getStyle(a,"padding-top")),u=parseFloat(H.getStyle(a,"padding-right")),f=parseFloat(H.getStyle(a,"padding-bottom")),d=o.right-o.left-c-u,h=o.bottom-o.top-l-f;return{x:n=Math.round((n-o.left-c)/d*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-o.top-l)/h*a.height/t.currentDevicePixelRatio)}},H.getConstraintWidth=function(e){return t(e,"max-width","clientWidth")},H.getConstraintHeight=function(e){return t(e,"max-height","clientHeight")},H._calculatePadding=function(e,t,n){return-1<(t=H.getStyle(e,t)).indexOf("%")?n*parseInt(t,10)/100:parseInt(t,10)},H._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},H.getMaximumWidth=function(e){var t=H._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-H._calculatePadding(t,"padding-left",n)-H._calculatePadding(t,"padding-right",n),i=H.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},H.getMaximumHeight=function(e){var t=H._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-H._calculatePadding(t,"padding-top",n)-H._calculatePadding(t,"padding-bottom",n),i=H.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},H.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},H.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,i=e.height,a=e.width;r.height=i*n,r.width=a*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=a+"px")}},H.fontString=function(e,t,n){return t+" "+e+"px "+n},H.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.font=t;var o,s,c,l,u,f=0,d=n.length;for(o=0;o<d;o++)if(null!=(l=n[o])&&!0!==H.isArray(l))f=H.measureText(e,i,a,f,l);else if(H.isArray(l))for(s=0,c=l.length;s<c;s++)null==(u=l[s])||H.isArray(u)||(f=H.measureText(e,i,a,f,u));var h=a.length/2;if(h>n.length){for(o=0;o<h;o++)delete i[a[o]];a.splice(0,h)}return f},H.measureText=function(e,t,n,r,i){var a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),r<a&&(r=a),r},H.numberOfLabelLines=function(e){var t=1;return H.each(e,function(e){H.isArray(e)&&e.length>t&&(t=e.length)}),t},H.color=C?function(e){return e instanceof CanvasGradient&&(e=F.global.defaultColor),C(e)}:function(e){return console.error("Color.js not found!"),e},H.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:H.color(e).saturate(.5).darken(.1).rgbString()}}(),en._adapters=rn,en.Animation=Z,en.animationService=J,en.controllers=Xe,en.DatasetController=ie,en.defaults=F,en.Element=Q,en.elements=Ae,en.Interaction=it,en.layouts=pt,en.platform=$t,en.plugins=Ot,en.Scale=vn,en.scaleService=Rt,en.Ticks=an,en.Tooltip=zt,en.helpers.each(ur,function(e,t){en.scaleService.registerScaleType(t,e,e._defaults)}),Ir)Ir.hasOwnProperty(Or)&&en.plugins.register(Ir[Or]);en.platform.initialize();var Rr=en;return"undefined"!=typeof window&&(window.Chart=en),(en.Chart=en).Legend=Ir.legend._element,en.Title=Ir.title._element,en.pluginService=en.plugins,en.PluginBase=en.Element.extend({}),en.canvasHelpers=en.helpers.canvas,en.layoutService=en.layouts,en.LinearScaleBase=Tn,en.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(n){en[n]=function(e,t){return new en(e,en.helpers.merge(t||{},{type:n.charAt(0).toLowerCase()+n.slice(1)}))}}),Rr}),function(e){"use strict";if("object"==typeof exports)module.exports=e("undefined"!=typeof angular?angular:require("angular"),"undefined"!=typeof Chart?Chart:require("chart.js"));else if("function"==typeof define&&define.amd)define(["angular","chart"],e);else{if("undefined"==typeof angular)throw new Error("AngularJS framework needs to be included, see https://angularjs.org/");if("undefined"==typeof Chart)throw new Error("Chart.js library needs to be included, see http://jtblin.github.io/angular-chart.js/");e(angular,Chart)}}(function(M,$){"use strict";$.defaults.global.multiTooltipTemplate="<%if (datasetLabel){%><%=datasetLabel%>: <%}%><%= value %>",$.defaults.global.tooltips.mode="label",$.defaults.global.elements.line.borderWidth=2,$.defaults.global.elements.rectangle.borderWidth=2,$.defaults.global.legend.display=!1,$.defaults.global.colors=["#97BBCD","#DCDCDC","#F7464A","#46BFBD","#FDB45C","#949FB1","#4D5360"];var c="object"==typeof window.G_vmlCanvasManager&&null!==window.G_vmlCanvasManager&&"function"==typeof window.G_vmlCanvasManager.initElement;return c&&($.defaults.global.animation=!1),M.module("chart.js",[]).provider("ChartJs",function(){var n={responsive:!0},r={Chart:$,getOptions:function(e){var t=e&&n[e]||{};return M.extend({},n,t)}};this.setOptions=function(e,t){t?n[e]=M.merge(n[e]||{},t):(t=e,n=M.merge(n,t)),M.merge(r.Chart.defaults,n)},this.$get=function(){return r}}).factory("ChartJsFactory",["ChartJs","$timeout",function(T,x){return function(a){return{restrict:"CA",scope:{chartGetColor:"=?",chartType:"=",chartData:"=?",chartLabels:"=?",chartOptions:"=?",chartSeries:"=?",chartColors:"=?",chartClick:"=?",chartHover:"=?",chartDatasetOverride:"=?"},link:function(r,i){function e(e,t){if(!s(e)&&!M.equals(e,t)){var n=a||r.chartType;n&&k(n,r,i)}}c&&window.G_vmlCanvasManager.initElement(i[0]),r.$watch("chartData",function(e,t){if(!e||!e.length||Array.isArray(e[0])&&!e[0].length)return void P(r);var n=a||r.chartType;if(!n)return;if(r.chart&&function(e,n){if(e&&n&&e.length&&n.length)return Array.isArray(e[0])?e.length===n.length&&e.every(function(e,t){return e.length===n[t].length}):0<n.reduce(o,0)&&e.length===n.length;return!1}(e,t))return function(n,e){Array.isArray(e.chartData[0])?e.chart.data.datasets.forEach(function(e,t){e.data=n[t]}):e.chart.data.datasets[0].data=n;e.chart.update(),e.$emit("chart-update",e.chart)}(e,r);k(n,r,i)},!0),r.$watch("chartSeries",e,!0),r.$watch("chartLabels",e,!0),r.$watch("chartOptions",e,!0),r.$watch("chartColors",e,!0),r.$watch("chartDatasetOverride",e,!0),r.$watch("chartType",function(e,t){if(s(e))return;if(M.equals(e,t))return;k(e,r,i)},!1),r.$on("$destroy",function(){P(r)}),r.$on("$resize",function(){r.chart&&r.chart.resize()})}}};function k(e,t,n){var r,i,a=(r=e,i=t,M.extend({},T.getOptions(r),i.chartOptions));if((o=t).chartData&&o.chartData.length&&function(e,t,n,r){if(r.responsive&&0===n[0].clientHeight)return x(function(){k(e,t,n)},50,!1),!1;return!0}(e,t,n,a)){var o,s,c=n[0],l=c.getContext("2d");t.chartGetColor="function"==typeof(s=t).chartGetColor?s.chartGetColor:I;var u,f,d,h,p,m,g,_,b,v,y,w,C,A,S=(g=function(e,t){var n=M.copy(t.chartColors||T.getOptions(e).chartColors||$.defaults.global.colors),r=n.length<t.chartData.length;for(;n.length<t.chartData.length;)n.push(t.chartGetColor());r&&(t.chartColors=n);return n.map(D)}(e,m=t),Array.isArray(m.chartData[0])?(_=m.chartLabels,b=m.chartData,v=m.chartSeries||[],y=g,w=m.chartDatasetOverride,{labels:_,datasets:b.map(function(e,t){var n=M.extend({},y[t],{label:v[t],data:e});return w&&w.length>=t&&M.merge(n,w[t]),n})}):(u=m.chartLabels,f=m.chartData,d=g,h=m.chartDatasetOverride,p={labels:u,datasets:[{data:f,backgroundColor:d.map(function(e){return e.pointBackgroundColor}),hoverBackgroundColor:d.map(function(e){return e.backgroundColor})}]},h&&M.merge(p.datasets[0],h),p));P(t),t.chart=new T.Chart(l,{type:e,data:S,options:a}),t.$emit("chart-create",t.chart),A=t,(C=c).onclick=A.chartClick?E(A,"chartClick",!1):M.noop,C.onmousemove=A.chartHover?E(A,"chartHover",!0):M.noop}}function o(e,t){return e+t}function E(a,o,s){var c={point:void 0,points:void 0};return function(e){var t=a.chart.getElementAtEvent||a.chart.getPointAtEvent,n=a.chart.getElementsAtEvent||a.chart.getPointsAtEvent;if(n){var r=n.call(a.chart,e),i=t?t.call(a.chart,e)[0]:void 0;!1!==s&&(M.equals(c.points,r)||M.equals(c.point,i))||(c.point=i,c.points=r,a[o](r,e,i))}}}function D(e){return"string"==typeof e&&"r"===e[0]?r(function(e){var t=e.match(/^rgba?\(([\d,.]+)\)$/);if(!t)throw new Error("Cannot parse rgb value");return(e=t[1].split(",")).map(Number)}(e)):"string"==typeof e&&"#"===e[0]?r((t=e.substr(1),[(n=parseInt(t,16))>>16&255,n>>8&255,255&n])):"object"==typeof e&&null!==e?e:I();var t,n}function I(){var e=[t(0,255),t(0,255),t(0,255)];return r(e)}function r(e){var t=e[3]||1;return{backgroundColor:n(e=e.slice(0,3),.2),pointBackgroundColor:n(e,t),pointHoverBackgroundColor:n(e,.8),borderColor:n(e,t),pointBorderColor:"#fff",pointHoverBorderColor:n(e,t)}}function t(e,t){return Math.floor(Math.random()*(t-e+1))+e}function n(e,t){return c?"rgb("+e.join(",")+")":"rgba("+e.concat(t).join(",")+")"}function s(e){return!e||Array.isArray(e)&&!e.length||"object"==typeof e&&!Object.keys(e).length}function P(e){e.chart&&(e.chart.destroy(),e.$emit("chart-destroy",e.chart))}}]).directive("chartBase",["ChartJsFactory",function(e){return new e}]).directive("chartLine",["ChartJsFactory",function(e){return new e("line")}]).directive("chartBar",["ChartJsFactory",function(e){return new e("bar")}]).directive("chartHorizontalBar",["ChartJsFactory",function(e){return new e("horizontalBar")}]).directive("chartRadar",["ChartJsFactory",function(e){return new e("radar")}]).directive("chartDoughnut",["ChartJsFactory",function(e){return new e("doughnut")}]).directive("chartPie",["ChartJsFactory",function(e){return new e("pie")}]).directive("chartPolarArea",["ChartJsFactory",function(e){return new e("polarArea")}]).directive("chartBubble",["ChartJsFactory",function(e){return new e("bubble")}]).name}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(r){"use strict";r.fn.emulateTransitionEnd=function(e){var t=!1,n=this;r(this).one("bsTransitionEnd",function(){t=!0});return setTimeout(function(){t||r(n).trigger(r.support.transition.end)},e),this},r(function(){r.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),r.support.transition&&(r.event.special.bsTransitionEnd={bindType:r.support.transition.end,delegateType:r.support.transition.end,handle:function(e){if(r(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(a){"use strict";var t='[data-dismiss="alert"]',o=function(e){a(e).on("click",t,this.close)};o.VERSION="3.4.1",o.TRANSITION_DURATION=150,o.prototype.close=function(e){var t=a(this),n=t.attr("data-target");n||(n=(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),n="#"===n?[]:n;var r=a(document).find(n);function i(){r.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),r.length||(r=t.closest(".alert")),r.trigger(e=a.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),a.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",i).emulateTransitionEnd(o.TRANSITION_DURATION):i())};var e=a.fn.alert;a.fn.alert=function(n){return this.each(function(){var e=a(this),t=e.data("bs.alert");t||e.data("bs.alert",t=new o(this)),"string"==typeof n&&t[n].call(e)})},a.fn.alert.Constructor=o,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",t,o.prototype.close)}(jQuery),function(a){"use strict";var i=function(e,t){this.$element=a(e),this.options=a.extend({},i.DEFAULTS,t),this.isLoading=!1};function n(r){return this.each(function(){var e=a(this),t=e.data("bs.button"),n="object"==typeof r&&r;t||e.data("bs.button",t=new i(this,n)),"toggle"==r?t.toggle():r&&t.setState(r)})}i.VERSION="3.4.1",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.is("input")?"val":"html",i=n.data();e+="Text",null==i.resetText&&n.data("resetText",n[r]()),setTimeout(a.proxy(function(){n[r](null==i[e]?this.options[e]:i[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(t).attr(t,t).prop(t,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(t).removeAttr(t).prop(t,!1))},this),0)},i.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var e=a.fn.button;a.fn.button=n,a.fn.button.Constructor=i,a.fn.button.noConflict=function(){return a.fn.button=e,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=a(e.target).closest(".btn");n.call(t,"toggle"),a(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),t.is("input,button")?t.trigger("focus"):t.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){a(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(f){"use strict";var d=function(e,t){this.$element=f(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=t,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",f.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",f.proxy(this.pause,this)).on("mouseleave.bs.carousel",f.proxy(this.cycle,this))};function s(i){return this.each(function(){var e=f(this),t=e.data("bs.carousel"),n=f.extend({},d.DEFAULTS,e.data(),"object"==typeof i&&i),r="string"==typeof i?i:n.slide;t||e.data("bs.carousel",t=new d(this,n)),"number"==typeof i?t.to(i):r?t[r]():n.interval&&t.pause().cycle()})}d.VERSION="3.4.1",d.TRANSITION_DURATION=600,d.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},d.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},d.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(f.proxy(this.next,this),this.options.interval)),this},d.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},d.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(r)},d.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(n<e?"next":"prev",this.$items.eq(e))},d.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&f.support.transition&&(this.$element.trigger(f.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},d.prototype.next=function(){if(!this.sliding)return this.slide("next")},d.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},d.prototype.slide=function(e,t){var n=this.$element.find(".item.active"),r=t||this.getItemForDirection(e,n),i=this.interval,a="next"==e?"left":"right",o=this;if(r.hasClass("active"))return this.sliding=!1;var s=r[0],c=f.Event("slide.bs.carousel",{relatedTarget:s,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,i&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=f(this.$indicators.children()[this.getItemIndex(r)]);l&&l.addClass("active")}var u=f.Event("slid.bs.carousel",{relatedTarget:s,direction:a});return f.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),"object"==typeof r&&r.length&&r[0].offsetWidth,n.addClass(a),r.addClass(a),n.one("bsTransitionEnd",function(){r.removeClass([e,a].join(" ")).addClass("active"),n.removeClass(["active",a].join(" ")),o.sliding=!1,setTimeout(function(){o.$element.trigger(u)},0)}).emulateTransitionEnd(d.TRANSITION_DURATION)):(n.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(u)),i&&this.cycle(),this}};var e=f.fn.carousel;f.fn.carousel=s,f.fn.carousel.Constructor=d,f.fn.carousel.noConflict=function(){return f.fn.carousel=e,this};var t=function(e){var t=f(this),n=t.attr("href");n&&(n=n.replace(/.*(?=#[^\s]+$)/,""));var r=t.attr("data-target")||n,i=f(document).find(r);if(i.hasClass("carousel")){var a=f.extend({},i.data(),t.data()),o=t.attr("data-slide-to");o&&(a.interval=!1),s.call(i,a),o&&i.data("bs.carousel").to(o),e.preventDefault()}};f(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),f(window).on("load",function(){f('[data-ride="carousel"]').each(function(){var e=f(this);s.call(e,e.data())})})}(jQuery),function(o){"use strict";var s=function(e,t){this.$element=o(e),this.options=o.extend({},s.DEFAULTS,t),this.$trigger=o('[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()};function i(e){var t,n=e.attr("data-target")||(t=e.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return o(document).find(n)}function c(r){return this.each(function(){var e=o(this),t=e.data("bs.collapse"),n=o.extend({},s.DEFAULTS,e.data(),"object"==typeof r&&r);!t&&n.toggle&&/show|hide/.test(r)&&(n.toggle=!1),t||e.data("bs.collapse",t=new s(this,n)),"string"==typeof r&&t[r]()})}s.VERSION="3.4.1",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0},s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(e=t.data("bs.collapse"))&&e.transitioning)){var n=o.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){t&&t.length&&(c.call(t,"hide"),e||t.data("bs.collapse",null));var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var i=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!o.support.transition)return i.call(this);var a=o.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",o.proxy(i,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[r](this.$element[0][a])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=o.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.dimension();this.$element[t](this.$element[t]())[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 n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!o.support.transition)return n.call(this);this.$element[t](0).one("bsTransitionEnd",o.proxy(n,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return o(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(o.proxy(function(e,t){var n=o(t);this.addAriaAndCollapsedClass(i(n),n)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var e=o.fn.collapse;o.fn.collapse=c,o.fn.collapse.Constructor=s,o.fn.collapse.noConflict=function(){return o.fn.collapse=e,this},o(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=o(this);t.attr("data-target")||e.preventDefault();var n=i(t),r=n.data("bs.collapse")?"toggle":t.data();c.call(n,r)})}(jQuery),function(o){"use strict";var s='[data-toggle="dropdown"]',r=function(e){o(e).on("click.bs.dropdown",this.toggle)};function c(e){var t=e.attr("data-target");t||(t=(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""));var n="#"!==t?o(document).find(t):null;return n&&n.length?n:e.parent()}function a(r){r&&3===r.which||(o(".dropdown-backdrop").remove(),o(s).each(function(){var e=o(this),t=c(e),n={relatedTarget:this};t.hasClass("open")&&(r&&"click"==r.type&&/input|textarea/i.test(r.target.tagName)&&o.contains(t[0],r.target)||(t.trigger(r=o.Event("hide.bs.dropdown",n)),r.isDefaultPrevented()||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(o.Event("hidden.bs.dropdown",n)))))}))}r.VERSION="3.4.1",r.prototype.toggle=function(e){var t=o(this);if(!t.is(".disabled, :disabled")){var n=c(t),r=n.hasClass("open");if(a(),!r){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&o(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(o(this)).on("click",a);var i={relatedTarget:this};if(n.trigger(e=o.Event("show.bs.dropdown",i)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(o.Event("shown.bs.dropdown",i))}return!1}},r.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=o(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var n=c(t),r=n.hasClass("open");if(!r&&27!=e.which||r&&27==e.which)return 27==e.which&&n.find(s).trigger("focus"),t.trigger("click");var i=n.find(".dropdown-menu li:not(.disabled):visible a");if(i.length){var a=i.index(e.target);38==e.which&&0<a&&a--,40==e.which&&a<i.length-1&&a++,~a||(a=0),i.eq(a).trigger("focus")}}}};var e=o.fn.dropdown;o.fn.dropdown=function(n){return this.each(function(){var e=o(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new r(this)),"string"==typeof n&&t[n].call(e)})},o.fn.dropdown.Constructor=r,o.fn.dropdown.noConflict=function(){return o.fn.dropdown=e,this},o(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",s,r.prototype.toggle).on("keydown.bs.dropdown.data-api",s,r.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",r.prototype.keydown)}(jQuery),function(o){"use strict";var a=function(e,t){this.options=t,this.$body=o(document.body),this.$element=o(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,o.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function s(r,i){return this.each(function(){var e=o(this),t=e.data("bs.modal"),n=o.extend({},a.DEFAULTS,e.data(),"object"==typeof r&&r);t||e.data("bs.modal",t=new a(this,n)),"string"==typeof r?t[r](i):n.show&&t.show(i)})}a.VERSION="3.4.1",a.TRANSITION_DURATION=300,a.BACKDROP_TRANSITION_DURATION=150,a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},a.prototype.show=function(n){var r=this,e=o.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(e),this.isShown||e.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"]',o.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(e){o(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=o.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),e&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var t=o.Event("shown.bs.modal",{relatedTarget:n});e?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(t)}).emulateTransitionEnd(a.TRANSITION_DURATION):r.$element.trigger("focus").trigger(t)}))},a.prototype.hide=function(e){e&&e.preventDefault(),e=o.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),o(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),o.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",o.proxy(this.hideModal,this)).emulateTransitionEnd(a.TRANSITION_DURATION):this.hideModal())},a.prototype.enforceFocus=function(){o(document).off("focusin.bs.modal").on("focusin.bs.modal",o.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",o.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},a.prototype.resize=function(){this.isShown?o(window).on("resize.bs.modal",o.proxy(this.handleUpdate,this)):o(window).off("resize.bs.modal")},a.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(e){var t=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=o.support.transition&&n;if(this.$backdrop=o(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",o.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var i=function(){t.removeBackdrop(),e&&e()};o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):i()}else e&&e()},a.prototype.handleUpdate=function(){this.adjustDialog()},a.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},a.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var i=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+i),o(this.fixedContent).each(function(e,t){var n=t.style.paddingRight,r=o(t).css("padding-right");o(t).data("padding-right",n).css("padding-right",parseFloat(r)+i+"px")}))},a.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),o(this.fixedContent).each(function(e,t){var n=o(t).data("padding-right");o(t).removeData("padding-right"),t.style.paddingRight=n||""})},a.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var e=o.fn.modal;o.fn.modal=s,o.fn.modal.Constructor=a,o.fn.modal.noConflict=function(){return o.fn.modal=e,this},o(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t=o(this),n=t.attr("href"),r=t.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),i=o(document).find(r),a=i.data("bs.modal")?"toggle":o.extend({remote:!/#/.test(n)&&n},i.data(),t.data());t.is("a")&&e.preventDefault(),i.one("show.bs.modal",function(e){e.isDefaultPrevented()||i.one("hidden.bs.modal",function(){t.is(":visible")&&t.trigger("focus")})}),s.call(i,a,this)})}(jQuery),function(m){"use strict";var r=["sanitize","whiteList","sanitizeFn"],o=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},s=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,c=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function p(e,t){var n=e.nodeName.toLowerCase();if(-1!==m.inArray(n,t))return-1===m.inArray(n,o)||Boolean(e.nodeValue.match(s)||e.nodeValue.match(c));for(var r=m(t).filter(function(e,t){return t instanceof RegExp}),i=0,a=r.length;i<a;i++)if(n.match(r[i]))return!0;return!1}function i(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var r=document.implementation.createHTMLDocument("sanitization");r.body.innerHTML=e;for(var i=m.map(t,function(e,t){return t}),a=m(r.body).find("*"),o=0,s=a.length;o<s;o++){var c=a[o],l=c.nodeName.toLowerCase();if(-1!==m.inArray(l,i))for(var u=m.map(c.attributes,function(e){return e}),f=[].concat(t["*"]||[],t[l]||[]),d=0,h=u.length;d<h;d++)p(u[d],f)||c.removeAttribute(u[d].nodeName);else c.parentNode.removeChild(c)}return r.body.innerHTML}var g=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.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},sanitize:!0,sanitizeFn:null,whiteList:e},g.prototype.init=function(e,t,n){if(this.enabled=!0,this.type=e,this.$element=m(t),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&m(document).find(m.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},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(" "),i=r.length;i--;){var a=r[i];if("click"==a)this.$element.on("click."+this.type,this.options.selector,m.proxy(this.toggle,this));else if("manual"!=a){var o="hover"==a?"mouseenter":"focusin",s="hover"==a?"mouseleave":"focusout";this.$element.on(o+"."+this.type,this.options.selector,m.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,m.proxy(this.leave,this))}}this.options.selector?this._options=m.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.getOptions=function(e){var t=this.$element.data();for(var n in t)t.hasOwnProperty(n)&&-1!==m.inArray(n,r)&&delete t[n];return(e=m.extend({},this.getDefaults(),t,e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.sanitize&&(e.template=i(e.template,e.whiteList,e.sanitizeFn)),e},g.prototype.getDelegateOptions=function(){var n={},r=this.getDefaults();return this._options&&m.each(this._options,function(e,t){r[e]!=t&&(n[e]=t)}),n},g.prototype.enter=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusin"==e.type?"focus":"hover"]=!0),t.tip().hasClass("in")||"in"==t.hoverState)t.hoverState="in";else{if(clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show()},t.options.delay.show)}},g.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},g.prototype.leave=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusout"==e.type?"focus":"hover"]=!1),!t.isInStateTrue()){if(clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide()},t.options.delay.hide)}},g.prototype.show=function(){var e=m.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var t=m.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!t)return;var n=this,r=this.tip(),i=this.getUID(this.type);this.setContent(),r.attr("id",i),this.$element.attr("aria-describedby",i),this.options.animation&&r.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,o=/\s?auto?\s?/i,s=o.test(a);s&&(a=a.replace(o,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?r.appendTo(m(document).find(this.options.container)):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),l=r[0].offsetWidth,u=r[0].offsetHeight;if(s){var f=a,d=this.getPosition(this.$viewport);a="bottom"==a&&c.bottom+u>d.bottom?"top":"top"==a&&c.top-u<d.top?"bottom":"right"==a&&c.right+l>d.width?"left":"left"==a&&c.left-l<d.left?"right":a,r.removeClass(f).addClass(a)}var h=this.getCalculatedOffset(a,c,l,u);this.applyPlacement(h,a);var p=function(){var e=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==e&&n.leave(n)};m.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",p).emulateTransitionEnd(g.TRANSITION_DURATION):p()}},g.prototype.applyPlacement=function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),o=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(o)&&(o=0),e.top+=a,e.left+=o,m.offset.setOffset(n[0],m.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},e),0),n.addClass("in");var s=n[0].offsetWidth,c=n[0].offsetHeight;"top"==t&&c!=i&&(e.top=e.top+i-c);var l=this.getViewportAdjustedDelta(t,e,s,c);l.left?e.left+=l.left:e.top+=l.top;var u=/top|bottom/.test(t),f=u?2*l.left-r+s:2*l.top-i+c,d=u?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(f,n[0][d],u)},g.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},g.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();this.options.html?(this.options.sanitize&&(t=i(t,this.options.whiteList,this.options.sanitizeFn)),e.find(".tooltip-inner").html(t)):e.find(".tooltip-inner").text(t),e.removeClass("fade in top bottom left right")},g.prototype.hide=function(e){var t=this,n=m(this.$tip),r=m.Event("hide.bs."+this.type);function i(){"in"!=t.hoverState&&n.detach(),t.$element&&t.$element.removeAttr("aria-describedby").trigger("hidden.bs."+t.type),e&&e()}if(this.$element.trigger(r),!r.isDefaultPrevented())return n.removeClass("in"),m.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",i).emulateTransitionEnd(g.TRANSITION_DURATION):i(),this.hoverState=null,this},g.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},g.prototype.hasContent=function(){return this.getTitle()},g.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],n="BODY"==t.tagName,r=t.getBoundingClientRect();null==r.width&&(r=m.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var i=window.SVGElement&&t instanceof window.SVGElement,a=n?{top:0,left:0}:i?null:e.offset(),o={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=n?{width:m(window).width(),height:m(window).height()}:null;return m.extend({},r,o,s,a)},g.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},g.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-o.scroll,c=t.top+a-o.scroll+r;s<o.top?i.top=o.top-s:c>o.top+o.height&&(i.top=o.top+o.height-c)}else{var l=t.left-a,u=t.left+a+n;l<o.left?i.left=o.left-l:u>o.right&&(i.left=o.left+o.width-u)}return i},g.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},g.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},g.prototype.tip=function(){if(!this.$tip&&(this.$tip=m(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},g.prototype.enable=function(){this.enabled=!0},g.prototype.disable=function(){this.enabled=!1},g.prototype.toggleEnabled=function(){this.enabled=!this.enabled},g.prototype.toggle=function(e){var t=this;e&&((t=m(e.currentTarget).data("bs."+this.type))||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t))),e?(t.inState.click=!t.inState.click,t.isInStateTrue()?t.enter(t):t.leave(t)):t.tip().hasClass("in")?t.leave(t):t.enter(t)},g.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})},g.prototype.sanitizeHtml=function(e){return i(e,this.options.whiteList,this.options.sanitizeFn)};var t=m.fn.tooltip;m.fn.tooltip=function(r){return this.each(function(){var e=m(this),t=e.data("bs.tooltip"),n="object"==typeof r&&r;!t&&/destroy|hide/.test(r)||(t||e.data("bs.tooltip",t=new g(this,n)),"string"==typeof r&&t[r]())})},m.fn.tooltip.Constructor=g,m.fn.tooltip.noConflict=function(){return m.fn.tooltip=t,this}}(jQuery),function(i){"use strict";var a=function(e,t){this.init("popover",e,t)};if(!i.fn.tooltip)throw new Error("Popover requires tooltip.js");a.VERSION="3.4.1",a.DEFAULTS=i.extend({},i.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>'}),((a.prototype=i.extend({},i.fn.tooltip.Constructor.prototype)).constructor=a).prototype.getDefaults=function(){return a.DEFAULTS},a.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(t=this.sanitizeHtml(t),"string"===r&&(n=this.sanitizeHtml(n))),e.find(".popover-title").html(t),e.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else e.find(".popover-title").text(t),e.find(".popover-content").children().detach().end().text(n);e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},a.prototype.hasContent=function(){return this.getTitle()||this.getContent()},a.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},a.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var e=i.fn.popover;i.fn.popover=function(r){return this.each(function(){var e=i(this),t=e.data("bs.popover"),n="object"==typeof r&&r;!t&&/destroy|hide/.test(r)||(t||e.data("bs.popover",t=new a(this,n)),"string"==typeof r&&t[r]())})},i.fn.popover.Constructor=a,i.fn.popover.noConflict=function(){return i.fn.popover=e,this}}(jQuery),function(a){"use strict";function i(e,t){this.$body=a(document.body),this.$scrollElement=a(e).is(document.body)?a(window):a(e),this.options=a.extend({},i.DEFAULTS,t),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function t(r){return this.each(function(){var e=a(this),t=e.data("bs.scrollspy"),n="object"==typeof r&&r;t||e.data("bs.scrollspy",t=new i(this,n)),"string"==typeof r&&t[r]()})}i.VERSION="3.4.1",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var e=this,r="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(r="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=a(this),t=e.data("target")||e.attr("href"),n=/^#./.test(t)&&a(t);return n&&n.length&&n.is(":visible")&&[[n[r]().top+i,t]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},i.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),r<=t)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)o!=a[e]&&t>=i[e]&&(void 0===i[e+1]||t<i[e+1])&&this.activate(a[e])},i.prototype.activate=function(e){this.activeTarget=e,this.clear();var t=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=a(t).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},i.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var e=a.fn.scrollspy;a.fn.scrollspy=t,a.fn.scrollspy.Constructor=i,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=e,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var e=a(this);t.call(e,e.data())})})}(jQuery),function(s){"use strict";var o=function(e){this.element=s(e)};function t(n){return this.each(function(){var e=s(this),t=e.data("bs.tab");t||e.data("bs.tab",t=new o(this)),"string"==typeof n&&t[n]()})}o.VERSION="3.4.1",o.TRANSITION_DURATION=150,o.prototype.show=function(){var e=this.element,t=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=t.find(".active:last a"),i=s.Event("hide.bs.tab",{relatedTarget:e[0]}),a=s.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(i),e.trigger(a),!a.isDefaultPrevented()&&!i.isDefaultPrevented()){var o=s(document).find(n);this.activate(e.closest("li"),t),this.activate(o,o.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},o.prototype.activate=function(e,t,n){var r=t.find("> .active"),i=n&&s.support.transition&&(r.length&&r.hasClass("fade")||!!t.find("> .fade").length);function a(){r.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),i?(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),n&&n()}r.length&&i?r.one("bsTransitionEnd",a).emulateTransitionEnd(o.TRANSITION_DURATION):a(),r.removeClass("in")};var e=s.fn.tab;s.fn.tab=t,s.fn.tab.Constructor=o,s.fn.tab.noConflict=function(){return s.fn.tab=e,this};var n=function(e){e.preventDefault(),t.call(s(this),"show")};s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(c){"use strict";var l=function(e,t){this.options=c.extend({},l.DEFAULTS,t);var n=this.options.target===l.DEFAULTS.target?c(this.options.target):c(document).find(this.options.target);this.$target=n.on("scroll.bs.affix.data-api",c.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",c.proxy(this.checkPositionWithEventLoop,this)),this.$element=c(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(r){return this.each(function(){var e=c(this),t=e.data("bs.affix"),n="object"==typeof r&&r;t||e.data("bs.affix",t=new l(this,n)),"string"==typeof r&&t[r]()})}l.VERSION="3.4.1",l.RESET="affix affix-top affix-bottom",l.DEFAULTS={offset:0,target:window},l.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=a.top)&&"bottom":!(i+o<=e-r)&&"bottom";var s=null==this.affixed,c=s?i:a.top;return null!=n&&i<=n?"top":null!=r&&e-r<=c+(s?o:t)&&"bottom"},l.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(l.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},l.prototype.checkPositionWithEventLoop=function(){setTimeout(c.proxy(this.checkPosition,this),1)},l.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),t=this.options.offset,n=t.top,r=t.bottom,i=Math.max(c(document).height(),c(document.body).height());"object"!=typeof t&&(r=n=t),"function"==typeof n&&(n=t.top(this.$element)),"function"==typeof r&&(r=t.bottom(this.$element));var a=this.getState(i,e,n,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var o="affix"+(a?"-"+a:""),s=c.Event(o+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(l.RESET).addClass(o).trigger(o.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:i-e-r})}};var e=c.fn.affix;c.fn.affix=n,c.fn.affix.Constructor=l,c.fn.affix.noConflict=function(){return c.fn.affix=e,this},c(window).on("load",function(){c('[data-spy="affix"]').each(function(){var e=c(this),t=e.data();t.offset=t.offset||{},null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom),null!=t.offsetTop&&(t.offset.top=t.offsetTop),n.call(e,t)})})}(jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="monospaced.elastic"),angular.module("monospaced.elastic",[]).constant("msdElasticConfig",{append:""}).directive("msdElastic",["$timeout","$window","msdElasticConfig",function(T,x,k){"use strict";return{require:"ngModel",restrict:"A, C",link:function(a,e,t,n){var o=e[0],s=e;if("TEXTAREA"===o.nodeName&&x.getComputedStyle){s.css({overflow:"hidden","overflow-y":"hidden","word-wrap":"break-word"});var r=o.value;o.value="",o.value=r;var c,l,u=t.msdElastic?t.msdElastic.replace(/\\n/g,"\n"):k.append,i=angular.element(x),f="position: absolute; top: -999px; right: auto; bottom: auto;left: 0; overflow: hidden; -webkit-box-sizing: content-box;-moz-box-sizing: content-box; box-sizing: content-box;min-height: 0 !important; height: 0 !important; padding: 0;word-wrap: break-word; border: 0;",d=angular.element('<textarea aria-hidden="true" tabindex="-1" style="'+f+'"/>').data("elastic",!0),h=d[0],p=getComputedStyle(o),m=p.getPropertyValue("resize"),g="border-box"===p.getPropertyValue("box-sizing")||"border-box"===p.getPropertyValue("-moz-box-sizing")||"border-box"===p.getPropertyValue("-webkit-box-sizing")?{width:parseInt(p.getPropertyValue("border-right-width"),10)+parseInt(p.getPropertyValue("padding-right"),10)+parseInt(p.getPropertyValue("padding-left"),10)+parseInt(p.getPropertyValue("border-left-width"),10),height:parseInt(p.getPropertyValue("border-top-width"),10)+parseInt(p.getPropertyValue("padding-top"),10)+parseInt(p.getPropertyValue("padding-bottom"),10)+parseInt(p.getPropertyValue("border-bottom-width"),10)}:{width:0,height:0},_=parseInt(p.getPropertyValue("min-height"),10),b=parseInt(p.getPropertyValue("height"),10),v=Math.max(_,b)-g.height,y=parseInt(p.getPropertyValue("max-height"),10),w=["font-family","font-size","font-weight","font-style","letter-spacing","line-height","text-transform","word-spacing","text-indent"];s.data("elastic")||(y=y&&0<y?y:9e4,h.parentNode!==document.body&&angular.element(document.body).append(h),s.css({resize:"none"===m||"vertical"===m?"none":"horizontal"}).data("elastic",!0),o.oninput="onpropertychange"in o&&"oninput"in o?o.onkeyup=A:A,i.bind("resize",S),a.$watch(function(){return n.$modelValue},function(e){S()}),a.$on("elastic:adjust",function(){C(),S()}),T(A,0,!1),a.$on("$destroy",function(){d.remove(),i.unbind("resize",S)}))}function C(){var t=f;p=getComputedStyle(c=o),angular.forEach(w,function(e){t+=e+":"+p.getPropertyValue(e)+";"}),h.setAttribute("style",t)}function A(){var e,t,n,r,i;c!==o&&C(),l||(l=!0,h.value=o.value+u,h.style.overflowY=o.style.overflowY,e=""===o.style.height?"auto":parseInt(o.style.height,10),"px"===(t=getComputedStyle(o).getPropertyValue("width")).substr(t.length-2,2)&&(r=parseInt(t,10)-g.width,h.style.width=r+"px"),n=h.scrollHeight,y<n?(n=y,i="scroll"):n<v&&(n=v),n+=g.height,o.style.overflowY=i||"hidden",e!==n&&(a.$emit("elastic:resize",s,e,n),o.style.height=n+"px"),T(function(){l=!1},1,!1))}function S(){l=!1,A()}}}}]),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(h,p,m,e){var g=e.has("$animateCss")?e.get("$animateCss"):null;return{link:function(t,n,e){var r=m(e.expanding),i=m(e.expanded),a=m(e.collapsing),o=m(e.collapsed),s=!1,c={},l={};function u(e){return s?{width:e.scrollWidth+"px"}:{height:e.scrollHeight+"px"}}function f(){n.removeClass("collapsing").addClass("collapse").css(c),i(t)}function d(){n.css(l),n.removeClass("collapsing").addClass("collapse"),o(t)}!function(){l=(s=!!("horizontal"in e))?(c={width:""},{width:"0"}):(c={height:""},{height:"0"});t.$eval(e.uibCollapse)||n.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css(c)}(),t.$watch(e.uibCollapse,function(e){e?function(){if(!n.hasClass("collapse")&&!n.hasClass("in"))return d();p.resolve(a(t)).then(function(){n.css(u(n[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),g?g(n,{removeClass:"in",to:l}).start().finally(d):h.removeClass(n,"in",{to:l}).then(d)},angular.noop)}():n.hasClass("collapse")&&n.hasClass("in")||p.resolve(r(t)).then(function(){n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),g?g(n,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:u(n[0])}).start().finally(f):h.addClass(n,"in",{css:{overflow:"hidden"},to:u(n[0])}).then(f)},angular.noop)})}}}]),angular.module("ui.bootstrap.tabindex",[]).directive("uibTabindexToggle",function(){return{restrict:"A",link:function(e,t,n){n.$observe("disabled",function(e){n.$set("tabindex",e?-1:null)})}}}),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse","ui.bootstrap.tabindex"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(e,n,r){this.groups=[],this.closeOthers=function(t){(angular.isDefined(n.closeOthers)?e.$eval(n.closeOthers):r.closeOthers)&&angular.forEach(this.groups,function(e){e!==t&&(e.isOpen=!1)})},this.addGroup=function(t){var n=this;this.groups.push(t),t.$on("$destroy",function(e){n.removeGroup(t)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(t,n,e,r){n.addClass("panel"),r.addGroup(t),t.openClass=e.openClass||"panel-open",t.panelClass=e.panelClass||"panel-default",t.$watch("isOpen",function(e){n.toggleClass(t.openClass,!!e),e&&r.closeOthers(t)}),t.toggleOpen=function(e){t.isDisabled||e&&32!==e.which||(t.isOpen=!t.isOpen)};var i="accordiongroup-"+t.$id+"-"+Math.floor(1e4*Math.random());t.headingId=i+"-tab",t.panelId=i+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(e,t,n,r,i){r.setHeading(i(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(e,n,t,r){e.$watch(function(){return r[t.uibAccordionTransclude]},function(e){if(e){var t=angular.element(n[0].querySelector("uib-accordion-header,data-uib-accordion-header,x-uib-accordion-header,uib\\:accordion-header,[uib-accordion-header],[data-uib-accordion-header],[x-uib-accordion-header]"));t.html(""),t.append(e)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$element","$attrs","$interpolate","$timeout",function(e,t,n,r,i){e.closeable=!!n.close,t.addClass("alert"),n.$set("role","alert"),e.closeable&&t.addClass("alert-dismissible");var a=angular.isDefined(n.dismissOnTimeout)?r(n.dismissOnTimeout)(e.$parent):null;a&&i(function(){e.close()},parseInt(a,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/alert/alert.html"},transclude:!0,scope:{close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(s){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(t,n,r,e){var i=e[0],a=e[1],o=s(r.uibUncheckable);n.find("input").css({display:"none"}),a.$render=function(){n.toggleClass(i.activeClass,angular.equals(a.$modelValue,t.$eval(r.uibBtnRadio)))},n.on(i.toggleEvent,function(){if(!r.disabled){var e=n.hasClass(i.activeClass);e&&!angular.isDefined(r.uncheckable)||t.$apply(function(){a.$setViewValue(e?null:t.$eval(r.uibBtnRadio)),a.$render()})}}),r.uibUncheckable&&t.$watch(o,function(e){r.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(n,e,t,r){var i=r[0],a=r[1];function o(){return s(t.btnCheckboxTrue,!0)}function s(e,t){return angular.isDefined(e)?n.$eval(e):t}e.find("input").css({display:"none"}),a.$render=function(){e.toggleClass(i.activeClass,angular.equals(a.$modelValue,o()))},e.on(i.toggleEvent,function(){t.disabled||n.$apply(function(){a.$setViewValue(e.hasClass(i.activeClass)?s(t.btnCheckboxFalse,!1):o()),a.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(i,a,t,e,o){var n,r,s=this,c=s.slides=i.slides=[],l="uib-slideDirection",u=i.active,f=!1;function d(e){for(var t=0;t<c.length;t++)c[t].slide.active=t===e}function h(e){for(var t=0;t<c.length;t++)if(c[t].slide===e)return t}function p(){n&&(t.cancel(n),n=null)}function m(){p();var e=+i.interval;!isNaN(e)&&0<e&&(n=t(g,e))}function g(){var e=+i.interval;r&&!isNaN(e)&&0<e&&c.length?i.next():i.pause()}a.addClass("carousel"),s.addSlide=function(e,t){c.push({slide:e,element:t}),c.sort(function(e,t){return+e.slide.index-+t.slide.index}),(e.index===i.active||1===c.length&&!angular.isNumber(i.active))&&(i.$currentTransition&&(i.$currentTransition=null),u=e.index,i.active=e.index,d(u),s.select(c[h(e)]),1===c.length&&i.play())},s.getCurrentIndex=function(){for(var e=0;e<c.length;e++)if(c[e].slide.index===u)return e},s.next=i.next=function(){var e=(s.getCurrentIndex()+1)%c.length;if(0!==e||!i.noWrap())return s.select(c[e],"next");i.pause()},s.prev=i.prev=function(){var e=s.getCurrentIndex()-1<0?c.length-1:s.getCurrentIndex()-1;if(!i.noWrap()||e!==c.length-1)return s.select(c[e],"prev");i.pause()},s.removeSlide=function(e){var t=h(e);c.splice(t,1),0<c.length&&u===t?t>=c.length?(u=c.length-1,d(i.active=u),s.select(c[c.length-1])):(u=t,d(i.active=u),s.select(c[t])):t<u&&(u--,i.active=u),0===c.length&&(u=null,i.active=null)},s.select=i.select=function(e,t){var n=h(e.slide);void 0===t&&(t=n>s.getCurrentIndex()?"next":"prev"),e.slide.index===u||i.$currentTransition||function(e,t,n){if(f)return;if(angular.extend(e,{direction:n}),angular.extend(c[u].slide||{},{direction:n}),o.enabled(a)&&!i.$currentTransition&&c[t].element&&1<s.slides.length){c[t].element.data(l,e.direction);var r=s.getCurrentIndex();angular.isNumber(r)&&c[r].element&&c[r].element.data(l,e.direction),i.$currentTransition=!0,o.on("addClass",c[t].element,function(e,t){"close"===t&&(i.$currentTransition=null,o.off("addClass",e))})}i.active=e.index,u=e.index,d(t),m()}(e.slide,n,t)},i.indexOfSlide=function(e){return+e.slide.index},i.isActive=function(e){return i.active===e.slide.index},i.isPrevDisabled=function(){return 0===i.active&&i.noWrap()},i.isNextDisabled=function(){return i.active===c.length-1&&i.noWrap()},i.pause=function(){i.noPause||(r=!1,p())},i.play=function(){r||(r=!0,m())},a.on("mouseenter",i.pause),a.on("mouseleave",i.play),i.$on("$destroy",function(){f=!0,p()}),i.$watch("noTransition",function(e){o.enabled(a,!e)}),i.$watch("interval",m),i.$watchCollection("slides",function(e){e.length||(i.$currentTransition=null)}),i.$watch("active",function(e){if(angular.isNumber(e)&&u!==e){for(var t=0;t<c.length;t++)if(c[t].slide.index===e){e=t;break}c[e]&&(d(e),s.select(c[e]),u=e)}})}]).directive("uibCarousel",function(){return{transclude:!0,controller:"UibCarouselController",controllerAs:"carousel",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/carousel.html"},scope:{active:"=",interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",["$animate",function(i){return{require:"^uibCarousel",restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/slide.html"},scope:{actual:"=?",index:"=?"},link:function(e,t,n,r){t.addClass("item"),r.addSlide(e,t),e.$on("$destroy",function(){r.removeSlide(e)}),e.$watch("active",function(e){i[e?"addClass":"removeClass"](t,"active")})}}}]).animation(".item",["$animateCss",function(o){var s="uib-slideDirection";function c(e,t,n){e.removeClass(t),n&&n()}return{beforeAddClass:function(e,t,n){if("active"===t){var r=e.data(s),i="next"===r?"left":"right",a=c.bind(this,e,i+" "+r,n);return e.addClass(r),o(e,{addClass:i}).start().done(a),function(){!0}}n()},beforeRemoveClass:function(e,t,n){if("active"===t){var r="next"===e.data(s)?"left":"right",i=c.bind(this,e,r,n);return o(e,{addClass:r}).start().done(i),function(){!0}}n()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","dateFilter","orderByFilter","filterFilter",function(m,g,n,_,t){var b,v,y=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;function r(e){return t(v,{key:e},!0)[0]}function a(e,t,n){return function(){return e.substr(t+1,n-t-1)}}function o(e,t){for(var n=e.substr(t),r=0;r<v.length;r++)if(new RegExp("^"+v[r].key).test(n)){var i=v[r];return{endIdx:t+i.key.length,parser:i.formatter}}return{endIdx:t+1,parser:function(){return n.charAt(0)}}}function s(e){return parseInt(e,10)}function i(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function c(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function l(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return c(e,n*(i(t,r)-r))}this.init=function(){b=g.id,this.parsers={},this.formatters={},v=[{key:"yyyy",regex:"\\d{4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(e){e=+e,this.year=e<69?e+2e3:e+1900},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){var t=e.getMonth();return/^[0-9]$/.test(t)?n(e,"MM"):n(e,"M")}},{key:"MMMM",regex:g.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=g.DATETIME_FORMATS.MONTH.indexOf(e)},formatter:function(e){return n(e,"MMMM")}},{key:"MMM",regex:g.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=g.DATETIME_FORMATS.SHORTMONTH.indexOf(e)},formatter:function(e){return n(e,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){var t=e.getDate();return/^[1-9]$/.test(t)?n(e,"dd"):n(e,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"d")}},{key:"EEEE",regex:g.DATETIME_FORMATS.DAY.join("|"),formatter:function(e){return n(e,"EEEE")}},{key:"EEE",regex:g.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(e){return n(e,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e},formatter:function(e){return n(e,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"s")}},{key:"a",regex:g.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)},formatter:function(e){return n(e,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(e){var t=e.match(/([+-])(\d{2})(\d{2})/),n=t[1],r=t[2],i=t[3];this.hours+=s(n+r),this.minutes+=s(n+i)},formatter:function(e){return n(e,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(e){return n(e,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(e){return n(e,"w")}},{key:"GGGG",regex:g.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(e){return n(e,"GGGG")}},{key:"GGG",regex:g.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GGG")}},{key:"GG",regex:g.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GG")}},{key:"G",regex:g.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"G")}}],1<=angular.version.major&&4<angular.version.minor&&v.push({key:"LLLL",regex:g.DATETIME_FORMATS.STANDALONEMONTH.join("|"),apply:function(e){this.month=g.DATETIME_FORMATS.STANDALONEMONTH.indexOf(e)},formatter:function(e){return n(e,"LLLL")}})},this.init(),this.getParser=function(e){var t=r(e);return t&&t.apply||null},this.overrideParser=function(e,t){var n=r(e);n&&angular.isFunction(t)&&(this.parsers={},n.apply=t)}.bind(this),this.filter=function(n,e){return angular.isDate(n)&&!isNaN(n)&&e?(e=g.DATETIME_FORMATS[e]||e,g.id!==b&&this.init(),this.formatters[e]||(this.formatters[e]=function(e){for(var t,n,r=[],i=0;i<e.length;)if(angular.isNumber(n)){if("'"===e.charAt(i))(i+1>=e.length||"'"!==e.charAt(i+1))&&(r.push(a(e,n,i)),n=null);else if(i===e.length)for(;n<e.length;)t=o(e,n),r.push(t),n=t.endIdx;i++}else"'"!==e.charAt(i)?(t=o(e,i),r.push(t.parser),i=t.endIdx):(n=i,i++);return r}(e)),this.formatters[e].reduce(function(e,t){return e+t(n)},"")):""},this.parse=function(e,t,n){if(!angular.isString(e)||!t)return e;t=(t=g.DATETIME_FORMATS[t]||t).replace(y,"\\$&"),g.id!==b&&this.init(),this.parsers[t]||(this.parsers[t]=function(i){var a=[],o=i.split(""),e=i.indexOf("'");if(-1<e){var t=!1;i=i.split("");for(var n=e;n<i.length;n++)t?("'"===i[n]&&(n+1<i.length&&"'"===i[n+1]?(i[n+1]="$",o[n+1]=""):(o[n]="",t=!1)),i[n]="$"):"'"===i[n]&&(i[n]="$",t=!(o[n]=""));i=i.join("")}return angular.forEach(v,function(e){var t=i.indexOf(e.key);if(-1<t){i=i.split(""),o[t]="("+e.regex+")",i[t]="$";for(var n=t+1,r=t+e.key.length;n<r;n++)o[n]="",i[n]="$";i=i.join(""),a.push({index:t,key:e.key,apply:e.apply,matcher:e.regex})}}),{regex:new RegExp("^"+o.join("")+"$"),map:_(a,"index")}}(t));var r=this.parsers[t],i=r.regex,a=r.map,o=e.match(i),s=!1;if(o&&o.length){var c,l;c=angular.isDate(n)&&!isNaN(n.getTime())?{year:n.getFullYear(),month:n.getMonth(),date:n.getDate(),hours:n.getHours(),minutes:n.getMinutes(),seconds:n.getSeconds(),milliseconds:n.getMilliseconds()}:(n&&m.warn("dateparser:","baseDate is not a valid date"),{year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var u=1,f=o.length;u<f;u++){var d=a[u-1];"Z"===d.matcher&&(s=!0),d.apply&&d.apply.call(c,o[u])}var h=s?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,p=s?Date.prototype.setUTCHours:Date.prototype.setHours;return function(e,t,n){if(n<1)return!1;if(1===t&&28<n)return 29===n&&(e%4==0&&e%100!=0||e%400==0);return 3!==t&&5!==t&&8!==t&&10!==t||n<31}(c.year,c.month,c.date)&&(!angular.isDate(n)||isNaN(n.getTime())||s?(l=new Date(0),h.call(l,c.year,c.month,c.date),p.call(l,c.hours||0,c.minutes||0,c.seconds||0,c.milliseconds||0)):(l=new Date(n),h.call(l,c.year,c.month,c.date),p.call(l,c.hours,c.minutes,c.seconds,c.milliseconds))),l}},this.toTimezone=function(e,t){return e&&t?l(e,t):e},this.fromTimezone=function(e,t){return e&&t?l(e,t,!0):e},this.timezoneToOffset=i,this.addDateMinutes=c,this.convertTimezoneToLocal=l}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(u){var o=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,f=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(e,t){var i=[],s=[],c={},n=t.uibIsClass.match(o),l=n[2],r=n[1].split(",");return function(n,e,t){i.push(n),s.push({scope:n,element:e}),r.forEach(function(e,t){!function(e,t){var n=e.match(f),i=t.$eval(n[1]),r=n[2],a=c[e];if(!a){var o=function(n){var r=null;s.some(function(e){var t=e.scope.$eval(l);if(t===n)return r=e,!0}),a.lastActivated!==r&&(a.lastActivated&&u.removeClass(a.lastActivated.element,i),r&&u.addClass(r.element,i),a.lastActivated=r)};c[e]=a={lastActivated:null,scope:t,watchFn:o,compareWithExp:r,watcher:t.$watch(r,o)}}a.watchFn(t.$eval(r))}(e,n)}),n.$on("$destroy",a)};function a(e){var t=e.targetScope,n=i.indexOf(t);if(i.splice(n,1),s.splice(n,1),i.length){var r=i[0];angular.forEach(c,function(e){e.scope===t&&(e.watcher=r.$watch(e.compareWithExp,e.watchFn),e.scope=r)})}else c={}}}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",monthColumns:3,ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$element","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(o,e,t,n,r,i,a,s,c,l,u,f){var d=this,h={$setViewValue:angular.noop},p={},m=[];e.addClass("uib-datepicker"),t.$set("role","application"),o.datepickerOptions||(o.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","monthColumns","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(t){switch(t){case"customClass":case"dateDisabled":o[t]=o.datepickerOptions[t]||angular.noop;break;case"datepickerMode":o.datepickerMode=angular.isDefined(o.datepickerOptions.datepickerMode)?o.datepickerOptions.datepickerMode:c.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":d[t]=angular.isDefined(o.datepickerOptions[t])?r(o.datepickerOptions[t])(o.$parent):c[t];break;case"monthColumns":case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":d[t]=angular.isDefined(o.datepickerOptions[t])?o.datepickerOptions[t]:c[t];break;case"startingDay":angular.isDefined(o.datepickerOptions.startingDay)?d.startingDay=o.datepickerOptions.startingDay:angular.isNumber(c.startingDay)?d.startingDay=c.startingDay:d.startingDay=(i.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":o.$watch("datepickerOptions."+t,function(e){e?angular.isDate(e)?d[t]=f.fromTimezone(new Date(e),p.getOption("timezone")):(l&&a.warn("Literal date support has been deprecated, please switch to date object usage"),d[t]=new Date(s(e,"medium"))):d[t]=c[t]?f.fromTimezone(new Date(c[t]),p.getOption("timezone")):null,d.refreshView()});break;case"maxMode":case"minMode":o.datepickerOptions[t]?o.$watch(function(){return o.datepickerOptions[t]},function(e){d[t]=o[t]=angular.isDefined(e)?e:o.datepickerOptions[t],("minMode"===t&&d.modes.indexOf(o.datepickerOptions.datepickerMode)<d.modes.indexOf(d[t])||"maxMode"===t&&d.modes.indexOf(o.datepickerOptions.datepickerMode)>d.modes.indexOf(d[t]))&&(o.datepickerMode=d[t],o.datepickerOptions.datepickerMode=d[t])}):d[t]=o[t]=c[t]||null}}),o.uniqueId="datepicker-"+o.$id+"-"+Math.floor(1e4*Math.random()),o.disabled=angular.isDefined(t.disabled)||!1,angular.isDefined(t.ngDisabled)&&m.push(o.$parent.$watch(t.ngDisabled,function(e){o.disabled=e,d.refreshView()})),o.isActive=function(e){return 0===d.compare(e.date,d.activeDate)&&(o.activeDateId=e.uid,!0)},this.init=function(e){p=function(e){var t;if(angular.version.minor<6)(t=e.$options||o.datepickerOptions.ngModelOptions||c.ngModelOptions||{}).getOption=function(e){return t[e]};else{var n=e.$options.getOption("timezone")||(o.datepickerOptions.ngModelOptions?o.datepickerOptions.ngModelOptions.timezone:null)||(c.ngModelOptions?c.ngModelOptions.timezone:null);t=e.$options.createChild(c.ngModelOptions).createChild(o.datepickerOptions.ngModelOptions).createChild(e.$options).createChild({timezone:n})}return t}(h=e),o.datepickerOptions.initDate?(d.activeDate=f.fromTimezone(o.datepickerOptions.initDate,p.getOption("timezone"))||new Date,o.$watch("datepickerOptions.initDate",function(e){e&&(h.$isEmpty(h.$modelValue)||h.$invalid)&&(d.activeDate=f.fromTimezone(e,p.getOption("timezone")),d.refreshView())})):d.activeDate=new Date;var t=h.$modelValue?new Date(h.$modelValue):new Date;this.activeDate=isNaN(t)?f.fromTimezone(new Date,p.getOption("timezone")):f.fromTimezone(t,p.getOption("timezone")),h.$render=function(){d.render()}},this.render=function(){if(h.$viewValue){var e=new Date(h.$viewValue);!isNaN(e)?this.activeDate=f.fromTimezone(e,p.getOption("timezone")):u||a.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){o.selectedDt=null,this._refreshView(),o.activeDt&&(o.activeDateId=o.activeDt.uid);var e=h.$viewValue?new Date(h.$viewValue):null;e=f.fromTimezone(e,p.getOption("timezone")),h.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,t){var n=h.$viewValue?new Date(h.$viewValue):null;n=f.fromTimezone(n,p.getOption("timezone"));var r=new Date;r=f.fromTimezone(r,p.getOption("timezone"));var i=this.compare(e,r),a={date:e,label:f.filter(e,t),selected:n&&0===this.compare(e,n),disabled:this.isDisabled(e),past:i<0,current:0===i,future:0<i,customClass:this.customClass(e)||null};return n&&0===this.compare(e,n)&&(o.selectedDt=a),d.activeDate&&0===this.compare(a.date,d.activeDate)&&(o.activeDt=a),a},this.isDisabled=function(e){return o.disabled||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&0<this.compare(e,this.maxDate)||o.dateDisabled&&o.dateDisabled({date:e,mode:o.datepickerMode})},this.customClass=function(e){return o.customClass({date:e,mode:o.datepickerMode})},this.split=function(e,t){for(var n=[];0<e.length;)n.push(e.splice(0,t));return n},o.select=function(e){if(o.datepickerMode===d.minMode){var t=h.$viewValue?f.fromTimezone(new Date(h.$viewValue),p.getOption("timezone")):new Date(0,0,0,0,0,0,0);t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t=f.toTimezone(t,p.getOption("timezone")),h.$setViewValue(t),h.$render()}else d.activeDate=e,g(d.modes[d.modes.indexOf(o.datepickerMode)-1]),o.$emit("uib:datepicker.mode");o.$broadcast("uib:datepicker.focus")},o.move=function(e){var t=d.activeDate.getFullYear()+e*(d.step.years||0),n=d.activeDate.getMonth()+e*(d.step.months||0);d.activeDate.setFullYear(t,n,1),d.refreshView()},o.toggleMode=function(e){e=e||1,o.datepickerMode===d.maxMode&&1===e||o.datepickerMode===d.minMode&&-1===e||(g(d.modes[d.modes.indexOf(o.datepickerMode)+e]),o.$emit("uib:datepicker.mode"))},o.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};function g(e){o.datepickerMode=e,o.datepickerOptions.datepickerMode=e}o.$on("uib:datepicker.focus",function(){d.element[0].focus()}),o.keydown=function(e){var t=o.keys[e.which];if(t&&!e.shiftKey&&!e.altKey&&!o.disabled)if(e.preventDefault(),d.shortcutPropagation||e.stopPropagation(),"enter"===t||"space"===t){if(d.isDisabled(d.activeDate))return;o.select(d.activeDate)}else!e.ctrlKey||"up"!==t&&"down"!==t?(d.handleKeyDown(t,e),d.refreshView()):o.toggleMode("up"===t?1:-1)},e.on("keydown",function(e){o.$apply(function(){o.keydown(e)})}),o.$on("$destroy",function(){for(;m.length;)m.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(d,e,h){var n=[31,28,31,30,31,30,31,31,30,31,30,31];function i(e,t){return 1!==t||e%4!=0||e%100==0&&e%400!=0?n[t]:29}function p(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}this.step={months:1},this.element=e,this.init=function(e){angular.extend(e,this),d.showWeeks=e.showWeeks,e.refreshView()},this.getDates=function(e,t){for(var n,r=new Array(t),i=new Date(e),a=0;a<t;)n=new Date(i),r[a++]=n,i.setDate(i.getDate()+1);return r},this._refreshView=function(){var e=this.activeDate.getFullYear(),t=this.activeDate.getMonth(),n=new Date(this.activeDate);n.setFullYear(e,t,1);var r=this.startingDay-n.getDay(),i=0<r?7-r:-r,a=new Date(n);0<i&&a.setDate(1-i);for(var o=this.getDates(a,42),s=0;s<42;s++)o[s]=angular.extend(this.createDateObject(o[s],this.formatDay),{secondary:o[s].getMonth()!==t,uid:d.uniqueId+"-"+s});d.labels=new Array(7);for(var c=0;c<7;c++)d.labels[c]={abbr:h(o[c].date,this.formatDayHeader),full:h(o[c].date,"EEEE")};if(d.title=h(this.activeDate,this.formatDayTitle),d.rows=this.split(o,7),d.showWeeks){d.weekNumbers=[];for(var l=(11-this.startingDay)%7,u=d.rows.length,f=0;f<u;f++)d.weekNumbers.push(p(d.rows[f][l].date))}},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getDate();if("left"===e)n-=1;else if("up"===e)n-=7;else if("right"===e)n+=1;else if("down"===e)n+=7;else if("pageup"===e||"pagedown"===e){var r=this.activeDate.getMonth()+("pageup"===e?-1:1);this.activeDate.setMonth(r,1),n=Math.min(i(this.activeDate.getFullYear(),this.activeDate.getMonth()),n)}else"home"===e?n=1:"end"===e&&(n=i(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(n)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(i,e,a){this.step={years:1},this.element=e,this.init=function(e){angular.extend(e,this),e.refreshView()},this._refreshView=function(){for(var e,t=new Array(12),n=this.activeDate.getFullYear(),r=0;r<12;r++)(e=new Date(this.activeDate)).setFullYear(n,r,1),t[r]=angular.extend(this.createDateObject(e,this.formatMonth),{uid:i.uniqueId+"-"+r});i.title=a(this.activeDate,this.formatMonthTitle),i.rows=this.split(t,this.monthColumns),i.yearHeaderColspan=3<this.monthColumns?this.monthColumns-2:1},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),r=new Date(t.getFullYear(),t.getMonth());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getMonth();if("left"===e)n-=1;else if("up"===e)n-=this.monthColumns;else if("right"===e)n+=1;else if("down"===e)n+=this.monthColumns;else if("pageup"===e||"pagedown"===e){var r=this.activeDate.getFullYear()+("pageup"===e?-1:1);this.activeDate.setFullYear(r)}else"home"===e?n=0:"end"===e&&(n=11);this.activeDate.setMonth(n)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(i,e,t){var a,o;function s(e){return parseInt((e-1)/o,10)*o+1}this.element=e,this.yearpickerInit=function(){a=this.yearColumns,o=this.yearRows*a,this.step={years:o}},this._refreshView=function(){for(var e,t=new Array(o),n=0,r=s(this.activeDate.getFullYear());n<o;n++)(e=new Date(this.activeDate)).setFullYear(r+n,0,1),t[n]=angular.extend(this.createDateObject(e,this.formatYear),{uid:i.uniqueId+"-"+n});i.title=[t[0].label,t[o-1].label].join(" - "),i.rows=this.split(t,a),i.columns=a},this.compare=function(e,t){return e.getFullYear()-t.getFullYear()},this.handleKeyDown=function(e,t){var n=this.activeDate.getFullYear();"left"===e?n-=1:"up"===e?n-=a:"right"===e?n+=1:"down"===e?n+=a:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*o:"home"===e?n=s(this.activeDate.getFullYear()):"end"===e&&(n=s(this.activeDate.getFullYear())+o-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],restrict:"A",controller:"UibDatepickerController",controllerAs:"datepicker",link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}).directive("uibDaypicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],restrict:"A",controller:"UibDaypickerController",link:function(e,t,n,r){var i=r[0];r[1].init(i)}}}).directive("uibMonthpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],restrict:"A",controller:"UibMonthpickerController",link:function(e,t,n,r){var i=r[0];r[1].init(i)}}}).directive("uibYearpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],restrict:"A",controller:"UibYearpickerController",link:function(e,t,n,r){var i=r[0];angular.extend(i,r[1]),i.yearpickerInit(),i.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(l,p){var r,i,u={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},m={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},o=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(e){var t,n=(e=this.getRawNode(e)).offsetParent||l[0].documentElement;for(;n&&n!==l[0].documentElement&&(t=n,"static"===(p.getComputedStyle(t).position||"static"));)n=n.offsetParent;return n||l[0].documentElement},scrollbarWidth:function(e){if(e){if(angular.isUndefined(i)){var t=l.find("body");t.addClass("uib-position-body-scrollbar-measure"),i=p.innerWidth-t[0].clientWidth,i=isFinite(i)?i:0,t.removeClass("uib-position-body-scrollbar-measure")}return i}if(angular.isUndefined(r)){var n=angular.element('<div class="uib-position-scrollbar-measure"></div>');l.find("body").append(n),r=n[0].offsetWidth-n[0].clientWidth,r=isFinite(r)?r:0,n.remove()}return r},scrollbarPadding:function(e){e=this.getRawNode(e);var t=p.getComputedStyle(e),n=this.parseStyle(t.paddingRight),r=this.parseStyle(t.paddingBottom),i=this.scrollParent(e,!1,!0),a=this.scrollbarWidth(o.test(i.tagName));return{scrollbarWidth:a,widthOverflow:i.scrollWidth>i.clientWidth,right:n+a,originalRight:n,heightOverflow:i.scrollHeight>i.clientHeight,bottom:r+a,originalBottom:r}},isScrollable:function(e,t){e=this.getRawNode(e);var n=t?u.hidden:u.normal,r=p.getComputedStyle(e);return n.test(r.overflow+r.overflowY+r.overflowX)},scrollParent:function(e,t,n){e=this.getRawNode(e);var r=t?u.hidden:u.normal,i=l[0].documentElement,a=p.getComputedStyle(e);if(n&&r.test(a.overflow+a.overflowY+a.overflowX))return e;var o="absolute"===a.position,s=e.parentElement||i;if(s===i||"fixed"===a.position)return i;for(;s.parentElement&&s!==i;){var c=p.getComputedStyle(s);if(o&&"static"!==c.position&&(o=!1),!o&&r.test(c.overflow+c.overflowY+c.overflowX))break;s=s.parentElement}return s},position:function(e,t){e=this.getRawNode(e);var n=this.offset(e);if(t){var r=p.getComputedStyle(e);n.top-=this.parseStyle(r.marginTop),n.left-=this.parseStyle(r.marginLeft)}var i=this.offsetParent(e),a={top:0,left:0};return i!==l[0].documentElement&&((a=this.offset(i)).top+=i.clientTop-i.scrollTop,a.left+=i.clientLeft-i.scrollLeft),{width:Math.round(angular.isNumber(n.width)?n.width:e.offsetWidth),height:Math.round(angular.isNumber(n.height)?n.height:e.offsetHeight),top:Math.round(n.top-a.top),left:Math.round(n.left-a.left)}},offset:function(e){var t=(e=this.getRawNode(e)).getBoundingClientRect();return{width:Math.round(angular.isNumber(t.width)?t.width:e.offsetWidth),height:Math.round(angular.isNumber(t.height)?t.height:e.offsetHeight),top:Math.round(t.top+(p.pageYOffset||l[0].documentElement.scrollTop)),left:Math.round(t.left+(p.pageXOffset||l[0].documentElement.scrollLeft))}},viewportOffset:function(e,t,n){n=!1!==n;var r=(e=this.getRawNode(e)).getBoundingClientRect(),i={top:0,left:0,bottom:0,right:0},a=t?l[0].documentElement:this.scrollParent(e),o=a.getBoundingClientRect();if(i.top=o.top+a.clientTop,i.left=o.left+a.clientLeft,a===l[0].documentElement&&(i.top+=p.pageYOffset,i.left+=p.pageXOffset),i.bottom=i.top+a.clientHeight,i.right=i.left+a.clientWidth,n){var s=p.getComputedStyle(a);i.top+=this.parseStyle(s.paddingTop),i.bottom-=this.parseStyle(s.paddingBottom),i.left+=this.parseStyle(s.paddingLeft),i.right-=this.parseStyle(s.paddingRight)}return{top:Math.round(r.top-i.top),bottom:Math.round(i.bottom-r.bottom),left:Math.round(r.left-i.left),right:Math.round(i.right-r.right)}},parsePlacement:function(e){var t=m.auto.test(e);return t&&(e=e.replace(m.auto,"")),(e=e.split("-"))[0]=e[0]||"top",m.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",m.secondary.test(e[1])||(e[1]="center"),e[2]=!!t,e},positionElements:function(e,t,n,r){e=this.getRawNode(e),t=this.getRawNode(t);var i=angular.isDefined(t.offsetWidth)?t.offsetWidth:t.prop("offsetWidth"),a=angular.isDefined(t.offsetHeight)?t.offsetHeight:t.prop("offsetHeight");n=this.parsePlacement(n);var o=r?this.offset(e):this.position(e),s={top:0,left:0,placement:""};if(n[2]){var c=this.viewportOffset(e,r),l=p.getComputedStyle(t),u=i+Math.round(Math.abs(this.parseStyle(l.marginLeft)+this.parseStyle(l.marginRight))),f=a+Math.round(Math.abs(this.parseStyle(l.marginTop)+this.parseStyle(l.marginBottom)));if(n[0]="top"===n[0]&&f>c.top&&f<=c.bottom?"bottom":"bottom"===n[0]&&f>c.bottom&&f<=c.top?"top":"left"===n[0]&&u>c.left&&u<=c.right?"right":"right"===n[0]&&u>c.right&&u<=c.left?"left":n[0],n[1]="top"===n[1]&&f-o.height>c.bottom&&f-o.height<=c.top?"bottom":"bottom"===n[1]&&f-o.height>c.top&&f-o.height<=c.bottom?"top":"left"===n[1]&&u-o.width>c.right&&u-o.width<=c.left?"right":"right"===n[1]&&u-o.width>c.left&&u-o.width<=c.right?"left":n[1],"center"===n[1])if(m.vertical.test(n[0])){var d=o.width/2-i/2;c.left+d<0&&u-o.width<=c.right?n[1]="left":c.right+d<0&&u-o.width<=c.left&&(n[1]="right")}else{var h=o.height/2-f/2;c.top+h<0&&f-o.height<=c.bottom?n[1]="top":c.bottom+h<0&&f-o.height<=c.top&&(n[1]="bottom")}}switch(n[0]){case"top":s.top=o.top-a;break;case"bottom":s.top=o.top+o.height;break;case"left":s.left=o.left-i;break;case"right":s.left=o.left+o.width}switch(n[1]){case"top":s.top=o.top;break;case"bottom":s.top=o.top+o.height-a;break;case"left":s.left=o.left;break;case"right":s.left=o.left+o.width-i;break;case"center":m.vertical.test(n[0])?s.left=o.left+o.width/2-i/2:s.top=o.top+o.height/2-a/2}return s.top=Math.round(s.top),s.left=Math.round(s.left),s.placement="center"===n[1]?n[0]:n[0]+"-"+n[1],s},adjustTop:function(e,t,n,r){if(-1!==e.indexOf("top")&&n!==r)return{top:t.top-r+"px"}},positionArrow:function(e,t){var n=(e=this.getRawNode(e)).querySelector(".tooltip-inner, .popover-inner");if(n){var r=angular.element(n).hasClass("tooltip-inner"),i=r?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(i){var a={top:"",bottom:"",left:"",right:""};if("center"!==(t=this.parsePlacement(t))[1]){var o="border-"+t[0]+"-width",s=p.getComputedStyle(i)[o],c="border-";m.vertical.test(t[0])?c+=t[0]+"-"+t[1]:c+=t[1]+"-"+t[0],c+="-radius";var l=p.getComputedStyle(r?n:e)[c];switch(t[0]){case"top":a.bottom=r?"0":"-"+s;break;case"bottom":a.top=r?"0":"-"+s;break;case"left":a.right=r?"0":"-"+s;break;case"right":a.left=r?"0":"-"+s}a[t[1]]=l,angular.element(i).css(a)}else angular.element(i).css(a)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(i,a,r,t,n,e,o,s,c,l,u,f,d,h,p,m){var g,_,b,v,y,w,C,A,S,T,x,k,E,D=!1,I=[];function P(e){var t=f.parse(e,g,i.date);if(isNaN(t))for(var n=0;n<E.length;n++)if(t=f.parse(e,E[n],i.date),!isNaN(t))return t;return t}function M(e){if(angular.isNumber(e)&&(e=new Date(e)),!e)return null;if(angular.isDate(e)&&!isNaN(e))return e;if(angular.isString(e)){var t=P(e);if(!isNaN(t))return f.toTimezone(t,x.getOption("timezone"))}return x.getOption("allowInvalid")?e:void 0}function $(e,t){var n=e||t;return!r.ngRequired&&!n||(angular.isNumber(n)&&(n=new Date(n)),!n||(!(!angular.isDate(n)||isNaN(n))||!!angular.isString(n)&&!isNaN(P(n))))}function O(e){if(i.isOpen||!i.disabled){var t=k[0],n=a[0].contains(e.target),r=void 0!==t.contains&&t.contains(e.target);!i.isOpen||n||r||i.$apply(function(){i.isOpen=!1})}}function R(e){27===e.which&&i.isOpen?(e.preventDefault(),e.stopPropagation(),i.$apply(function(){i.isOpen=!1}),a[0].focus()):40!==e.which||i.isOpen||(e.preventDefault(),e.stopPropagation(),i.$apply(function(){i.isOpen=!0}))}function N(){if(i.isOpen){var e=angular.element(k[0].querySelector(".uib-datepicker-popup")),t=r.popupPlacement?r.popupPlacement:d.placement,n=l.positionElements(a,e,t,b);e.css({top:n.top+"px",left:n.left+"px"}),e.hasClass("uib-position-measure")&&e.removeClass("uib-position-measure")}}this.init=function(e){if(x=function(e){var t;angular.version.minor<6?(t=angular.isObject(e.$options)?e.$options:{timezone:null}).getOption=function(e){return t[e]}:t=e.$options;return t}(T=e),_=angular.isDefined(r.closeOnDateSelection)?i.$parent.$eval(r.closeOnDateSelection):d.closeOnDateSelection,b=angular.isDefined(r.datepickerAppendToBody)?i.$parent.$eval(r.datepickerAppendToBody):d.appendToBody,v=angular.isDefined(r.onOpenFocus)?i.$parent.$eval(r.onOpenFocus):d.onOpenFocus,y=angular.isDefined(r.datepickerPopupTemplateUrl)?r.datepickerPopupTemplateUrl:d.datepickerPopupTemplateUrl,w=angular.isDefined(r.datepickerTemplateUrl)?r.datepickerTemplateUrl:d.datepickerTemplateUrl,E=angular.isDefined(r.altInputFormats)?i.$parent.$eval(r.altInputFormats):d.altInputFormats,i.showButtonBar=angular.isDefined(r.showButtonBar)?i.$parent.$eval(r.showButtonBar):d.showButtonBar,d.html5Types[r.type]?(g=d.html5Types[r.type],D=!0):(g=r.uibDatepickerPopup||d.datepickerPopup,r.$observe("uibDatepickerPopup",function(e,t){var n=e||d.datepickerPopup;if(n!==g&&(g=n,T.$modelValue=null,!g))throw new Error("uibDatepickerPopup must have a date format specified.")})),!g)throw new Error("uibDatepickerPopup must have a date format specified.");if(D&&r.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");(C=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>")).attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":y}),(A=angular.element(C.children()[0])).attr("template-url",w),i.datepickerOptions||(i.datepickerOptions={}),D&&"month"===r.type&&(i.datepickerOptions.datepickerMode="month",i.datepickerOptions.minMode="month"),A.attr("datepicker-options","datepickerOptions"),D?T.$formatters.push(function(e){return i.date=f.fromTimezone(e,x.getOption("timezone")),e}):(T.$$parserName="date",T.$validators.date=$,T.$parsers.unshift(M),T.$formatters.push(function(e){return T.$isEmpty(e)?i.date=e:(angular.isNumber(e)&&(e=new Date(e)),i.date=f.fromTimezone(e,x.getOption("timezone")),f.filter(i.date,g))})),T.$viewChangeListeners.push(function(){i.date=P(T.$viewValue)}),a.on("keydown",R),k=t(C)(i),C.remove(),b?s.find("body").append(k):a.after(k),i.$on("$destroy",function(){for(!0===i.isOpen&&(c.$$phase||i.$apply(function(){i.isOpen=!1})),k.remove(),a.off("keydown",R),s.off("click",O),S&&S.off("scroll",N),angular.element(o).off("resize",N);I.length;)I.shift()()})},i.getText=function(e){return i[e+"Text"]||d[e+"Text"]},i.isDisabled=function(e){"today"===e&&(e=f.fromTimezone(new Date,x.getOption("timezone")));var t={};return angular.forEach(["minDate","maxDate"],function(e){i.datepickerOptions[e]?angular.isDate(i.datepickerOptions[e])?t[e]=new Date(i.datepickerOptions[e]):(m&&n.warn("Literal date support has been deprecated, please switch to date object usage"),t[e]=new Date(u(i.datepickerOptions[e],"medium"))):t[e]=null}),i.datepickerOptions&&t.minDate&&i.compare(e,t.minDate)<0||t.maxDate&&0<i.compare(e,t.maxDate)},i.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},i.dateSelection=function(e){i.date=e;var t=i.date?f.filter(i.date,g):null;a.val(t),T.$setViewValue(t),_&&(i.isOpen=!1,a[0].focus())},i.keydown=function(e){27===e.which&&(e.stopPropagation(),i.isOpen=!1,a[0].focus())},i.select=function(e,t){if(t.stopPropagation(),"today"===e){var n=new Date;angular.isDate(i.date)?(e=new Date(i.date)).setFullYear(n.getFullYear(),n.getMonth(),n.getDate()):(e=f.fromTimezone(n,x.getOption("timezone"))).setHours(0,0,0,0)}i.dateSelection(e)},i.close=function(e){e.stopPropagation(),i.isOpen=!1,a[0].focus()},i.disabled=angular.isDefined(r.disabled)||!1,r.ngDisabled&&I.push(i.$parent.$watch(e(r.ngDisabled),function(e){i.disabled=e})),i.$watch("isOpen",function(e){e?i.disabled?i.isOpen=!1:h(function(){N(),v&&i.$broadcast("uib:datepicker.focus"),s.on("click",O);var e=r.popupPlacement?r.popupPlacement:d.placement;b||l.parsePlacement(e)[2]?(S=S||angular.element(l.scrollParent(a)))&&S.on("scroll",N):S=null,angular.element(o).on("resize",N)},0,!1):(s.off("click",O),S&&S.off("scroll",N),angular.element(o).off("resize",N))}),i.$on("uib:datepicker.mode",function(){h(N,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(e,t,n,r){var i=r[0];r[1].init(i)}}}).directive("uibDatepickerPopupWrap",function(){return{restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(a){return function(n,r){var i;return function(){var e=this,t=Array.prototype.slice.call(arguments);i&&a.cancel(i),i=a(function(){n.apply(e,t)},r)}}}]),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var i={};return{entries:function(){return Object.keys(i).map(function(e){return{key:e,value:i[e]}})},get:function(e){return i[e]},hasKey:function(e){return!!i[e]},keys:function(){return Object.keys(i)},put:function(e,t){i[e]||(i[e]=[]),i[e].push(t)},remove:function(e,t){var n=i[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1),n.length||delete i[e]}}}}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.multiMap","ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope","$$multiMap",function(a,r,e){var o=null,s=e.createNew();this.isOnlyOpen=function(n,e){var t=s.get(e);if(t&&t.reduce(function(e,t){return t.scope===n?t:e},{}))return 1===t.length;return!1},this.open=function(e,t,n){if(o||a.on("click",c),o&&o!==e&&(o.isOpen=!1),o=e,n){var r=s.get(n);if(r)-1===r.map(function(e){return e.scope}).indexOf(e)&&s.put(n,{scope:e});else s.put(n,{scope:e})}},this.close=function(n,e,t){if(o===n&&(a.off("click",c),a.off("keydown",this.keybindFilter),o=null),t){var r=s.get(t);if(r){var i=r.reduce(function(e,t){return t.scope===n?t:e},{});i&&s.remove(t,i)}}};var c=function(e){if(o&&o.isOpen&&!(e&&"disabled"===o.getAutoClose()||e&&3===e.which)){var t=o.getToggleElement();if(!(e&&t&&t[0].contains(e.target))){var n=o.getDropdownElement();e&&"outsideClick"===o.getAutoClose()&&n&&n[0].contains(e.target)||(o.focusToggleElement(),o.isOpen=!1,r.$$phase||o.$apply())}}};this.keybindFilter=function(e){if(o){var t=o.getDropdownElement(),n=o.getToggleElement(),r=t&&t[0].contains(e.target),i=n&&n[0].contains(e.target);27===e.which?(e.stopPropagation(),o.focusToggleElement(),c()):o.isKeynavEnabled()&&-1!==[38,40].indexOf(e.which)&&o.isOpen&&(r||i)&&(e.preventDefault(),e.stopPropagation(),o.focusDropdownEntry(e.which))}}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(g,_,b,v,e,y,w,C,A,S,T){var x,t,k=this,E=g.$new(),D=e.appendToOpenClass,I=e.openClass,P=angular.noop,M=b.onToggle?v(b.onToggle):angular.noop,n=!1,$=A.find("body");function O(){_.append(k.dropdownMenu)}_.addClass("dropdown"),this.init=function(){b.isOpen&&(t=v(b.isOpen),P=t.assign,g.$watch(t,function(e){E.isOpen=!!e})),n=angular.isDefined(b.keyboardNav)},this.toggle=function(e){return E.isOpen=arguments.length?!!e:!E.isOpen,angular.isFunction(P)&&P(E,E.isOpen),E.isOpen},this.isOpen=function(){return E.isOpen},E.getToggleElement=function(){return k.toggleElement},E.getAutoClose=function(){return b.autoClose||"always"},E.getElement=function(){return _},E.isKeynavEnabled=function(){return n},E.focusDropdownEntry=function(e){var t=k.dropdownMenu?angular.element(k.dropdownMenu).find("a"):_.find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(k.selectedOption)?k.selectedOption=k.selectedOption===t.length-1?k.selectedOption:k.selectedOption+1:k.selectedOption=0;break;case 38:angular.isNumber(k.selectedOption)?k.selectedOption=0===k.selectedOption?0:k.selectedOption-1:k.selectedOption=t.length-1}t[k.selectedOption].focus()},E.getDropdownElement=function(){return k.dropdownMenu},E.focusToggleElement=function(){k.toggleElement&&k.toggleElement[0].focus()},E.$watch("isOpen",function(e,t){var n=null,r=!1;if(angular.isDefined(b.dropdownAppendTo)){var i=v(b.dropdownAppendTo)(E);i&&(n=angular.element(i))}angular.isDefined(b.dropdownAppendToBody)&&(!1!==v(b.dropdownAppendToBody)(E)&&(r=!0));if(r&&!n&&(n=$),n&&k.dropdownMenu&&(e?(n.append(k.dropdownMenu),_.on("$destroy",O)):(_.off("$destroy",O),O())),n&&k.dropdownMenu){var a,o,s,c=C.positionElements(_,k.dropdownMenu,"bottom-left",!0),l=0;if(a={top:c.top+"px",display:e?"block":"none"},(o=k.dropdownMenu.hasClass("dropdown-menu-right"))?(a.left="auto",(s=C.scrollbarPadding(n)).heightOverflow&&s.scrollbarWidth&&(l=s.scrollbarWidth),a.right=window.innerWidth-l-(c.left+_.prop("offsetWidth"))+"px"):(a.left=c.left+"px",a.right="auto"),!r){var u=C.offset(n);a.top=c.top-u.top+"px",o?a.right=window.innerWidth-(c.left-u.left+_.prop("offsetWidth"))+"px":a.left=c.left-u.left+"px"}k.dropdownMenu.css(a)}var f=n||_,d=n?D:I,h=f.hasClass(d),p=y.isOnlyOpen(g,n);h===!e&&w[n?p?"removeClass":"addClass":e?"addClass":"removeClass"](f,d).then(function(){angular.isDefined(e)&&e!==t&&M(g,{open:!!e})});if(e)k.dropdownMenuTemplateUrl?T(k.dropdownMenuTemplateUrl).then(function(e){x=E.$new(),S(e.trim())(x,function(e){var t=e;k.dropdownMenu.replaceWith(t),k.dropdownMenu=t,A.on("keydown",y.keybindFilter)})}):A.on("keydown",y.keybindFilter),E.focusToggleElement(),y.open(E,_,n);else{if(y.close(E,_,n),k.dropdownMenuTemplateUrl){x&&x.$destroy();var m=angular.element('<ul class="dropdown-menu"></ul>');k.dropdownMenu.replaceWith(m),k.dropdownMenu=m}k.selectedOption=null}angular.isFunction(P)&&P(g,e)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,r){r.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,r){if(r&&!angular.isDefined(n.dropdownNested)){t.addClass("dropdown-menu");var i=n.templateUrl;i&&(r.dropdownMenuTemplateUrl=i),r.dropdownMenu||(r.dropdownMenu=t)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(t,n,r,i){if(i){n.addClass("dropdown-toggle"),i.toggleElement=n;var e=function(e){e.preventDefault(),n.hasClass("disabled")||r.disabled||t.$apply(function(){i.toggle()})};n.on("click",e),n.attr({"aria-haspopup":!0,"aria-expanded":!1}),t.$watch(i.isOpen,function(e){n.attr("aria-expanded",!!e)}),t.$on("$destroy",function(){n.off("click",e)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var r=[];return{add:function(e,t){r.push({key:e,value:t})},get:function(e){for(var t=0;t<r.length;t++)if(e===r[t].key)return r[t]},keys:function(){for(var e=[],t=0;t<r.length;t++)e.push(r[t].key);return e},top:function(){return r[r.length-1]},remove:function(e){for(var t=-1,n=0;n<r.length;n++)if(e===r[n].key){t=n;break}return r.splice(t,1)[0]},removeTop:function(){return r.pop()},length:function(){return r.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]).provider("$uibResolve",function(){var e=this;this.resolver=null,this.setResolver=function(e){this.resolver=e},this.$get=["$injector","$q",function(a,o){var s=e.resolver?a.get(e.resolver):null;return{resolve:function(e,t,n,r){if(s)return s.resolve(e,t,n,r);var i=[];return angular.forEach(e,function(e){angular.isFunction(e)||angular.isArray(e)?i.push(o.resolve(a.invoke(e))):angular.isString(e)?i.push(o.resolve(a.get(e))):i.push(o.resolve(e))}),o.all(i).then(function(n){var r={},i=0;return angular.forEach(e,function(e,t){r[t]=n[i++]}),r})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(o,e,t){return{restrict:"A",compile:function(e,t){return e.addClass(t.backdropClass),n}};function n(r,i,a){a.modalInClass&&(o.addClass(i,a.modalInClass),r.$on(t.NOW_CLOSING_EVENT,function(e,t){var n=t();r.modalOptions.animation?o.removeClass(i,a.modalInClass).then(n):n()}))}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(n,a,o,s){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/modal/window.html"},link:function(t,r,i){r.addClass(i.windowTopClass||""),t.size=i.size,t.close=function(e){var t=n.getTop();t&&t.value.backdrop&&"static"!==t.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),n.dismiss(t.key,"backdrop click"))},r.on("click",t.close),t.$isRendered=!0;var e=a.defer();t.$$postDigest(function(){e.resolve()}),e.promise.then(function(){var e=null;i.modalInClass&&(e=o(r,{addClass:i.modalInClass}).start(),t.$on(n.NOW_CLOSING_EVENT,function(e,t){var n=t();o(r,{removeClass:i.modalInClass}).start().then(n)})),a.when(e).then(function(){var e=n.getTop();if(e&&n.modalRendered(e.key),!s[0].activeElement||!r[0].contains(s[0].activeElement)){var t=r[0].querySelector("[autofocus]");t?t.focus():r[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(a){return{link:function(e,t,n,r,i){i(e.$parent,function(e){t.empty(),a.enter(e,t)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(c,e,l,u,f,o,t,n,d){var h,p,m,g="modal-open",_=n.createNew(),b=t.createNew(),s={NOW_CLOSING_EVENT:"modal.stack.now-closing"},v=0,y=null,w="data-bootstrap-modal-aria-hidden-count",C=/[A-Z]/g;function A(){for(var e=-1,t=_.keys(),n=0;n<t.length;n++)_.get(t[n]).value.backdrop&&(e=n);return-1<e&&e<v&&(e=v),e}function r(n,e){var r=_.get(n).value,i=r.appendTo;_.remove(n),(y=_.top())&&(v=parseInt(y.value.modalDomEl.attr("index"),10)),a(r.modalDomEl,r.modalScope,function(){var e=r.openedClass||g;b.remove(e,n);var t=b.hasKey(e);i.toggleClass(e,t),!t&&m&&m.heightOverflow&&m.scrollbarWidth&&(m.originalRight?i.css({paddingRight:m.originalRight+"px"}):i.css({paddingRight:""}),m=null),S(!0)},r.closedDeferred),function(){if(h&&-1===A()){a(h,p,function(){null}),p=h=void 0}}(),e&&e.focus?e.focus():i.focus&&i.focus()}function S(e){var t;0<_.length()&&(t=_.top().value).modalDomEl.toggleClass(t.windowTopClass||"",e)}function a(t,n,r,i){var e,a=null;return n.$broadcast(s.NOW_CLOSING_EVENT,function(){return e||(e=o.defer(),a=e.promise),function(){e.resolve()}}),o.when(a).then(function e(){if(e.done)return;e.done=!0;c.leave(t).then(function(){r&&r(),t.remove(),i&&i.resolve()});n.$destroy()})}function i(e){if(e.isDefaultPrevented())return e;var t=_.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),f.$apply(function(){s.dismiss(t.key,"escape key press")}));break;case 9:var n=s.loadFocusElementList(t),r=!1;e.shiftKey?(s.isFocusInFirstItem(e,n)||s.isModalFocused(e,t))&&(r=s.focusLastFocusableElement(n)):s.isFocusInLastItem(e,n)&&(r=s.focusFirstFocusableElement(n)),r&&(e.preventDefault(),e.stopPropagation())}}function T(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}function x(){Array.prototype.forEach.call(document.querySelectorAll("["+w+"]"),function(e){var t=parseInt(e.getAttribute(w),10)-1;e.setAttribute(w,t),t||(e.removeAttribute(w),e.removeAttribute("aria-hidden"))})}return f.$watch(A,function(e){p&&(p.index=e)}),l.on("keydown",i),f.$on("$destroy",function(){l.off("keydown",i)}),s.open=function(e,t){var n=l[0].activeElement,r=t.openedClass||g;S(!1),y=_.top(),_.add(e,{deferred:t.deferred,renderDeferred:t.renderDeferred,closedDeferred:t.closedDeferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard,openedClass:t.openedClass,windowTopClass:t.windowTopClass,animation:t.animation,appendTo:t.appendTo}),b.put(r,e);var i,a=t.appendTo,o=A();0<=o&&!h&&((p=f.$new(!0)).modalOptions=t,p.index=o,(h=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>')).attr({class:"modal-backdrop","ng-style":"{'z-index': 1040 + (index && 1 || 0) + index*10}","uib-modal-animation-class":"fade","modal-in-class":"in"}),t.backdropClass&&h.addClass(t.backdropClass),t.animation&&h.attr("modal-animation","true"),u(h)(p),c.enter(h,a),d.isScrollable(a)&&(m=d.scrollbarPadding(a)).heightOverflow&&m.scrollbarWidth&&a.css({paddingRight:m.right+"px"})),t.component?(i=document.createElement(t.component.name.replace(C,function(e,t){return(t?"-":"")+e.toLowerCase()})),(i=angular.element(i)).attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):i=t.content,v=y?parseInt(y.value.modalDomEl.attr("index"),10)+1:0;var s=angular.element('<div uib-modal-window="modal-window"></div>');s.attr({class:"modal","template-url":t.windowTemplateUrl,"window-top-class":t.windowTopClass,role:"dialog","aria-labelledby":t.ariaLabelledBy,"aria-describedby":t.ariaDescribedBy,size:t.size,index:v,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(i),t.windowClass&&s.addClass(t.windowClass),t.animation&&s.attr("modal-animation","true"),a.addClass(r),t.scope&&(t.scope.$$topModalIndex=v),c.enter(u(s)(t.scope),a),_.top().value.modalDomEl=s,_.top().value.modalOpener=n,function e(t){if(!t||"BODY"===t[0].tagName)return;n(t).forEach(function(e){var t="true"===e.getAttribute("aria-hidden"),n=parseInt(e.getAttribute(w),10);n||(n=t?1:0),e.setAttribute(w,n+1),e.setAttribute("aria-hidden","true")});return e(t.parent());function n(t){var e=t.parent()?t.parent().children():[];return Array.prototype.filter.call(e,function(e){return e!==t[0]})}}(s)},s.close=function(e,t){var n=_.get(e);return x(),n&&T(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),r(e,n.value.modalOpener),!0):!n},s.dismiss=function(e,t){var n=_.get(e);return x(),n&&T(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),r(e,n.value.modalOpener),!0):!n},s.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},s.getTop=function(){return _.top()},s.modalRendered=function(e){var t=_.get(e);t&&t.value.renderDeferred.resolve()},s.focusFirstFocusableElement=function(e){return 0<e.length&&(e[0].focus(),!0)},s.focusLastFocusableElement=function(e){return 0<e.length&&(e[e.length-1].focus(),!0)},s.isModalFocused=function(e,t){if(e&&t){var n=t.value.modalDomEl;if(n&&n.length)return(e.target||e.srcElement)===n[0]}return!1},s.isFocusInFirstItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[0]},s.isFocusInLastItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[t.length-1]},s.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var n=t[0].querySelectorAll("a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]");return n?Array.prototype.filter.call(n,function(e){return!!((t=e).offsetWidth||t.offsetHeight||t.getClientRects().length);var t}):n}}},s}]).provider("$uibModal",function(){var b={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(m,i,a,o,g,s,_){var e={};var c=null;return e.getPromiseChain=function(){return c},e.open=function(l){var e,t,n,u=i.defer(),f=i.defer(),d=i.defer(),h=i.defer(),p={result:u.promise,opened:f.promise,closed:d.promise,rendered:h.promise,close:function(e){return _.close(p,e)},dismiss:function(e){return _.dismiss(p,e)}};if((l=angular.extend({},b.options,l)).resolve=l.resolve||{},l.appendTo=l.appendTo||a.find("body").eq(0),!l.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");if(!l.component&&!l.template&&!l.templateUrl)throw new Error("One of component or template or templateUrl options is required.");function r(){return e}return e=l.component?i.when(s.resolve(l.resolve,{},null,null)):i.all([(t=l,t.template?i.when(t.template):o(angular.isFunction(t.templateUrl)?t.templateUrl():t.templateUrl)),s.resolve(l.resolve,{},null,null)]),n=c=i.all([c]).then(r,r).then(function(a){var e=l.scope||m,o=e.$new();o.$close=p.close,o.$dismiss=p.dismiss,o.$on("$destroy",function(){o.$$uibDestructionScheduled||o.$dismiss("$uibUnscheduledDestruction")});var t,n,r={scope:o,deferred:u,renderDeferred:h,closedDeferred:d,animation:l.animation,backdrop:l.backdrop,keyboard:l.keyboard,backdropClass:l.backdropClass,windowTopClass:l.windowTopClass,windowClass:l.windowClass,windowTemplateUrl:l.windowTemplateUrl,ariaLabelledBy:l.ariaLabelledBy,ariaDescribedBy:l.ariaDescribedBy,size:l.size,openedClass:l.openedClass,appendTo:l.appendTo},i={},s={};function c(n,e,t,r){n.$scope=o,n.$scope.$resolve={},t?n.$scope.$uibModalInstance=p:n.$uibModalInstance=p;var i=e?a[1]:a;angular.forEach(i,function(e,t){r&&(n[t]=e),n.$scope.$resolve[t]=e})}l.component?(c(i,!1,!0,!1),i.name=l.component,r.component=i):l.controller&&(c(s,!0,!1,!0),n=g(l.controller,s,!0,l.controllerAs),l.controllerAs&&l.bindToController&&((t=n.instance).$close=o.$close,t.$dismiss=o.$dismiss,angular.extend(t,{$resolve:s.$scope.$resolve},e)),t=n(),angular.isFunction(t.$onInit)&&t.$onInit()),l.component||(r.content=a[0]),_.open(p,r),f.resolve(!0)},function(e){f.reject(e),u.reject(e)}).finally(function(){c===n&&(c=null)}),p},e}]};return b}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(e){return{create:function(n,r,i){n.setNumPages=i.numPages?e(i.numPages).assign:angular.noop,n.ngModelCtrl={$setViewValue:angular.noop},n._watchers=[],n.init=function(e,t){n.ngModelCtrl=e,n.config=t,e.$render=function(){n.render()},i.itemsPerPage?n._watchers.push(r.$parent.$watch(i.itemsPerPage,function(e){n.itemsPerPage=parseInt(e,10),r.totalPages=n.calculateTotalPages(),n.updatePage()})):n.itemsPerPage=t.itemsPerPage,r.$watch("totalItems",function(e,t){(angular.isDefined(e)||e!==t)&&(r.totalPages=n.calculateTotalPages(),n.updatePage())})},n.calculateTotalPages=function(){var e=n.itemsPerPage<1?1:Math.ceil(r.totalItems/n.itemsPerPage);return Math.max(e||0,1)},n.render=function(){r.page=parseInt(n.ngModelCtrl.$viewValue,10)||1},r.selectPage=function(e,t){t&&t.preventDefault(),(!r.ngDisabled||!t)&&r.page!==e&&0<e&&e<=r.totalPages&&(t&&t.target&&t.target.blur(),n.ngModelCtrl.$setViewValue(e),n.ngModelCtrl.$render())},r.getText=function(e){return r[e+"Text"]||n.config[e+"Text"]},r.noPrevious=function(){return 1===r.page},r.noNext=function(){return r.page===r.totalPages},n.updatePage=function(){n.setNumPages(r.$parent,r.totalPages),r.page>r.totalPages?r.selectPage(r.totalPages):n.ngModelCtrl.$render()},r.$on("$destroy",function(){for(;n._watchers.length;)n._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(e,t,n,r){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):r.align,n.create(this,e,t)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(o){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],restrict:"A",controller:"UibPagerController",controllerAs:"pager",templateUrl:function(e,t){return t.templateUrl||"uib/template/pager/pager.html"},link:function(e,t,n,r){t.addClass("pager");var i=r[0],a=r[1];a&&i.init(a,o)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(t,n,e,r,i){var a=this,p=angular.isDefined(n.maxSize)?t.$parent.$eval(n.maxSize):i.maxSize,m=angular.isDefined(n.rotate)?t.$parent.$eval(n.rotate):i.rotate,g=angular.isDefined(n.forceEllipses)?t.$parent.$eval(n.forceEllipses):i.forceEllipses,_=angular.isDefined(n.boundaryLinkNumbers)?t.$parent.$eval(n.boundaryLinkNumbers):i.boundaryLinkNumbers,b=angular.isDefined(n.pageLabel)?function(e){return t.$parent.$eval(n.pageLabel,{$page:e})}:angular.identity;function v(e,t,n){return{number:e,text:t,active:n}}t.boundaryLinks=angular.isDefined(n.boundaryLinks)?t.$parent.$eval(n.boundaryLinks):i.boundaryLinks,t.directionLinks=angular.isDefined(n.directionLinks)?t.$parent.$eval(n.directionLinks):i.directionLinks,n.$set("role","menu"),r.create(this,t,n),n.maxSize&&a._watchers.push(t.$parent.$watch(e(n.maxSize),function(e){p=parseInt(e,10),a.render()}));var o=this.render;this.render=function(){o(),0<t.page&&t.page<=t.totalPages&&(t.pages=function(e,t){var n=[],r=1,i=t,a=angular.isDefined(p)&&p<t;a&&(m?t<(i=(r=Math.max(e-Math.floor(p/2),1))+p-1)&&(r=(i=t)-p+1):(r=(Math.ceil(e/p)-1)*p+1,i=Math.min(r+p-1,t)));for(var o=r;o<=i;o++){var s=v(o,b(o),o===e);n.push(s)}if(a&&0<p&&(!m||g||_)){if(1<r){if(!_||3<r){var c=v(r-1,"...",!1);n.unshift(c)}if(_){if(3===r){var l=v(2,"2",!1);n.unshift(l)}var u=v(1,"1",!1);n.unshift(u)}}if(i<t){if(!_||i<t-2){var f=v(i+1,"...",!1);n.push(f)}if(_){if(i===t-2){var d=v(t-1,t-1,!1);n.push(d)}var h=v(t,t,!1);n.push(h)}}}return n}(t.page,t.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(e,o){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],restrict:"A",controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"uib/template/pagination/pagination.html"},link:function(e,t,n,r){t.addClass("pagination");var i=r[0],a=r[1];a&&i.init(a,o)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){var s={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},c={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},l={};this.options=function(e){angular.extend(l,e)},this.setTriggers=function(e){angular.extend(c,e)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(e,a,W,q,z,o,t,V,n){var Y=n.createNew();function r(e){if(27===e.which){var t=Y.top();t&&(t.value.close(),t=null)}}return q.on("keyup",r),t.$on("$destroy",function(){q.off("keyup",r)}),function(j,B,r,U){function H(e){var t=(e||U.trigger||r).split(" "),n=t.map(function(e){return c[e]||e});return{show:t,hide:n}}U=angular.extend({},s,l,U);var e=j.replace(/[A-Z]/g,function(e,t){return(t?"-":"")+e.toLowerCase()}),t=o.startSymbol(),n=o.endSymbol(),i="<div "+e+'-popup uib-title="'+t+"title"+n+'" '+(U.useContentExp?'content-exp="contentExp()" ':'content="'+t+"content"+n+'" ')+'origin-scope="origScope" class="uib-position-measure '+B+'" tooltip-animation-class="fade"uib-tooltip-classes ng-class="{ in: isOpen }" ></div>';return{compile:function(e,t){var G=a(i);return function(r,a,i,e){var o,t,n,s,c,l,u,f,d=!!angular.isDefined(U.appendToBody)&&U.appendToBody,h=H(void 0),p=angular.isDefined(i[B+"Enable"]),m=r.$new(!0),g=!1,_=!!angular.isDefined(i[B+"IsOpen"])&&V(i[B+"IsOpen"]),b=!!U.useContentExp&&V(i[j]),v=[],y=function(){o&&o.html()&&(l||(l=W(function(){var e=z.positionElements(a,o,m.placement,d),n=angular.isDefined(o.offsetHeight)?o.offsetHeight:o.prop("offsetHeight"),r=d?z.offset(a):z.position(a);o.css({top:e.top+"px",left:e.left+"px"});var i=e.placement.split("-");o.hasClass(i[0])||(o.removeClass(f.split("-")[0]),o.addClass(i[0])),o.hasClass(U.placementClassPrefix+e.placement)||(o.removeClass(U.placementClassPrefix+f),o.addClass(U.placementClassPrefix+e.placement)),u=W(function(){var e=angular.isDefined(o.offsetHeight)?o.offsetHeight:o.prop("offsetHeight"),t=z.adjustTop(i,r,n,e);t&&o.css(t),u=null},0,!1),o.hasClass("uib-position-measure")?(z.positionArrow(o,e.placement),o.removeClass("uib-position-measure")):f!==e.placement&&z.positionArrow(o,e.placement),f=e.placement,l=null},0,!1)))};function w(){m.isOpen?A():C()}function C(){p&&!r.$eval(i[B+"Enable"])||(k(),function(){m.title=i[B+"Title"],m.content=b?b(r):i[j];m.popupClass=i[B+"Class"],m.placement=angular.isDefined(i[B+"Placement"])?i[B+"Placement"]:U.placement;var e=z.parsePlacement(m.placement);f=e[1]?e[0]+"-"+e[1]:e[0];var t=parseInt(i[B+"PopupDelay"],10),n=parseInt(i[B+"PopupCloseDelay"],10);m.popupDelay=isNaN(t)?U.popupDelay:t,m.popupCloseDelay=isNaN(n)?U.popupCloseDelay:n}(),m.popupDelay?s||(s=W(S,m.popupDelay,!1)):S())}function A(){T(),m.popupCloseDelay?c||(c=W(x,m.popupCloseDelay,!1)):x()}function S(){if(T(),k(),!m.content)return angular.noop;!function(){if(o)return;t=m.$new(),o=G(t,function(e){d?q.find("body").append(e):a.after(e)}),Y.add(m,{close:x}),function(){v.length=0,b?(v.push(r.$watch(b,function(e){!(m.content=e)&&m.isOpen&&x()})),v.push(t.$watch(function(){g||(g=!0,t.$$postDigest(function(){g=!1,m&&m.isOpen&&y()}))}))):v.push(i.$observe(j,function(e){!(m.content=e)&&m.isOpen?x():y()}));v.push(i.$observe(B+"Title",function(e){m.title=e,m.isOpen&&y()})),v.push(i.$observe(B+"Placement",function(e){m.placement=e||U.placement,m.isOpen&&y()}))}()}(),m.$evalAsync(function(){D(m.isOpen=!0),y()})}function T(){s&&(W.cancel(s),s=null),l&&(W.cancel(l),l=null)}function x(){m&&m.$evalAsync(function(){m&&(D(m.isOpen=!1),m.animation?n||(n=W(E,150,!1)):E())})}function k(){c&&(W.cancel(c),c=null),n&&(W.cancel(n),n=null)}function E(){T(),k(),v.length&&(angular.forEach(v,function(e){e()}),v.length=0),o&&(o.remove(),o=null,u&&W.cancel(u)),Y.remove(m),t&&(t.$destroy(),t=null)}function D(e){_&&angular.isFunction(_.assign)&&_.assign(r,e)}function I(e){m&&m.isOpen&&o&&(a[0].contains(e.target)||o[0].contains(e.target)||A())}function P(e){27===e.which&&A()}m.origScope=r,m.isOpen=!1,m.contentExp=function(){return m.content},i.$observe("disabled",function(e){e&&T(),e&&m.isOpen&&x()}),_&&r.$watch(_,function(e){m&&!e===m.isOpen&&w()});var M,$,O,R=function(){h.show.forEach(function(e){"outsideClick"===e?a.off("click",w):(a.off(e,C),a.off(e,w)),a.off("keypress",P)}),h.hide.forEach(function(e){"outsideClick"===e?q.off("click",I):a.off(e,A)})};M=[],$=[],O=r.$eval(i[B+"Trigger"]),R(),"none"!==(h=angular.isObject(O)?(Object.keys(O).forEach(function(e){M.push(e),$.push(O[e])}),{show:M,hide:$}):H(O)).show&&h.show.forEach(function(e,t){"outsideClick"===e?(a.on("click",w),q.on("click",I)):e===h.hide[t]?a.on(e,w):e&&(a.on(e,C),a.on(h.hide[t],A)),a.on("keypress",P)});var N,L=r.$eval(i[B+"Animation"]);m.animation=angular.isDefined(L)?!!L:U.animation;var F=B+"AppendToBody";N=F in i&&void 0===i[F]||r.$eval(i[F]),d=angular.isDefined(N)?N:d,r.$on("$destroy",function(){R(),E(),m=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(f,r,d,h){return{link:function(e,a,t){var o,n,s,c=e.$eval(t.tooltipTemplateTranscludeScope),l=0,u=function(){n&&(n.remove(),n=null),o&&(o.$destroy(),o=null),s&&(f.leave(s).then(function(){n=null}),n=s,s=null)};e.$watch(r.parseAsResourceUrl(t.uibTooltipTemplateTransclude),function(r){var i=++l;r?(h(r,!0).then(function(e){if(i===l){var t=c.$new(),n=d(e)(t,function(e){u(),f.enter(e,a)});s=n,(o=t).$emit("$includeContentLoaded",r)}},function(){i===l&&(u(),e.$emit("$includeContentError",r))}),e.$emit("$includeContentRequested",r)):u()}),e.$on("$destroy",u)}}}]).directive("uibTooltipClasses",["$uibPosition",function(i){return{restrict:"A",link:function(e,t,n){if(e.placement){var r=i.parsePlacement(e.placement);t.addClass(r[0])}e.popupClass&&t.addClass(e.popupClass),e.animation&&t.addClass(n.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{restrict:"A",scope:{content:"@"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(e){return e("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{restrict:"A",scope:{contentExp:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(e){return e("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(e){return e("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{restrict:"A",scope:{uibTitle:"@",contentExp:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(e){return e("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&",uibTitle:"@"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(e){return e("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{restrict:"A",scope:{uibTitle:"@",content:"@"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(e){return e("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(e,t,n){var r=this,i=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;function a(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}this.bars=[],e.max=a(),this.addBar=function(t,e,n){i||e.css({transition:"none"}),this.bars.push(t),t.max=a(),t.title=n&&angular.isDefined(n.title)?n.title:"progressbar",t.$watch("value",function(e){t.recalculatePercentage()}),t.recalculatePercentage=function(){var e=r.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);100<e&&(t.percent-=e-100)},t.$on("$destroy",function(){e=null,r.removeBar(t)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1),this.bars.forEach(function(e){e.recalculatePercentage()})},e.$watch("maxParam",function(e){r.bars.forEach(function(e){e.max=a(),e.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(e,t,n,r){r.addBar(e,t,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(e,t,n,r){r.addBar(e,angular.element(t.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(r,i,a){var o={$setViewValue:angular.noop},n=this;this.init=function(e){(o=e).$render=this.render,o.$formatters.push(function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e}),this.stateOn=angular.isDefined(i.stateOn)?r.$parent.$eval(i.stateOn):a.stateOn,this.stateOff=angular.isDefined(i.stateOff)?r.$parent.$eval(i.stateOff):a.stateOff,this.enableReset=angular.isDefined(i.enableReset)?r.$parent.$eval(i.enableReset):a.enableReset;var t=angular.isDefined(i.titles)?r.$parent.$eval(i.titles):a.titles;this.titles=angular.isArray(t)&&0<t.length?t:a.titles;var n=angular.isDefined(i.ratingStates)?r.$parent.$eval(i.ratingStates):new Array(angular.isDefined(i.max)?r.$parent.$eval(i.max):a.max);r.range=this.buildTemplateObjects(n)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;t<n;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},r.rate=function(e){if(!r.readonly&&0<=e&&e<=r.range.length){var t=n.enableReset&&o.$viewValue===e?0:e;o.$setViewValue(t),o.$render()}},r.enter=function(e){r.readonly||(r.value=e),r.onHover({value:e})},r.reset=function(){r.value=o.$viewValue,r.onLeave()},r.onKeydown=function(e){/(37|38|39|40)/.test(e.which)&&(e.preventDefault(),e.stopPropagation(),r.rate(r.value+(38===e.which||39===e.which?1:-1)))},this.render=function(){r.value=o.$viewValue,r.title=n.getTitle(r.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],restrict:"A",scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){var a,o,s=this;function c(e){for(var t=0;t<s.tabs.length;t++)if(s.tabs[t].index===e)return t}s.tabs=[],s.select=function(e,t){if(!o){var n=c(a),r=s.tabs[n];if(r){if(r.tab.onDeselect({$event:t,$selectedIndex:e}),t&&t.isDefaultPrevented())return;r.tab.active=!1}var i=s.tabs[e];i?(i.tab.onSelect({$event:t}),i.tab.active=!0,s.active=i.index,a=i.index):!i&&angular.isDefined(a)&&(s.active=null,a=null)}},s.addTab=function(e){if(s.tabs.push({tab:e,index:e.index}),s.tabs.sort(function(e,t){return e.index>t.index?1:e.index<t.index?-1:0}),e.index===s.active||!angular.isDefined(s.active)&&1===s.tabs.length){var t=c(e.index);s.select(t)}},s.removeTab=function(e){for(var t,n=0;n<s.tabs.length;n++)if(s.tabs[n].tab===e){t=n;break}if(s.tabs[t].index===s.active){var r=t===s.tabs.length-1?t-1:t+1%s.tabs.length;s.select(r)}s.tabs.splice(t,1)},e.$watch("tabset.active",function(e){angular.isDefined(e)&&e!==a&&s.select(c(e))}),e.$on("$destroy",function(){o=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{},bindToController:{active:"=?",type:"@"},controller:"UibTabsetController",controllerAs:"tabset",templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tabset.html"},link:function(e,t,n){e.vertical=!!angular.isDefined(n.vertical)&&e.$parent.$eval(n.vertical),e.justified=!!angular.isDefined(n.justified)&&e.$parent.$eval(n.justified)}}}).directive("uibTab",["$parse",function(a){return{require:"^uibTabset",replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tab.html"},transclude:!0,scope:{heading:"@",index:"=?",classes:"@?",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(r,e,t,i,n){r.disabled=!1,t.disable&&r.$parent.$watch(a(t.disable),function(e){r.disabled=!!e}),angular.isUndefined(t.index)&&(i.tabs&&i.tabs.length?r.index=Math.max.apply(null,i.tabs.map(function(e){return e.index}))+1:r.index=0),angular.isUndefined(t.classes)&&(r.classes=""),r.select=function(e){if(!r.disabled){for(var t,n=0;n<i.tabs.length;n++)if(i.tabs[n].tab===r){t=n;break}i.select(t,e)}},i.addTab(r),r.$on("$destroy",function(){i.removeTab(r)}),r.$transcludeFn=n}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(e,t){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}).directive("uibTabContentTransclude",function(){return{restrict:"A",require:"^uibTabset",link:function(e,n,t){var r=e.$eval(t.uibTabContentTransclude).tab;r.$transcludeFn(r.$parent,function(e){angular.forEach(e,function(e){var t;(t=e).tagName&&(t.hasAttribute("uib-tab-heading")||t.hasAttribute("data-uib-tab-heading")||t.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===t.tagName.toLowerCase()||"data-uib-tab-heading"===t.tagName.toLowerCase()||"x-uib-tab-heading"===t.tagName.toLowerCase()||"uib:tab-heading"===t.tagName.toLowerCase())?r.headingElement=e:n.append(e)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(a,e,o,t,n,r,s){var c,l,u,i=new Date,f=[],d={$setViewValue:angular.noop},h=angular.isDefined(o.meridians)?a.$parent.$eval(o.meridians):s.meridians||r.DATETIME_FORMATS.AMPMS,p=!angular.isDefined(o.padHours)||a.$parent.$eval(o.padHours);a.tabindex=angular.isDefined(o.tabindex)?o.tabindex:0,e.removeAttr("tabindex"),this.init=function(e,t){(d=e).$render=this.render,d.$formatters.unshift(function(e){return e?new Date(e):null});var n=t.eq(0),r=t.eq(1),i=t.eq(2);c=n.controller("ngModel"),l=r.controller("ngModel"),u=i.controller("ngModel"),(angular.isDefined(o.mousewheel)?a.$parent.$eval(o.mousewheel):s.mousewheel)&&this.setupMousewheelEvents(n,r,i),(angular.isDefined(o.arrowkeys)?a.$parent.$eval(o.arrowkeys):s.arrowkeys)&&this.setupArrowkeyEvents(n,r,i),a.readonlyInput=angular.isDefined(o.readonlyInput)?a.$parent.$eval(o.readonlyInput):s.readonlyInput,this.setupInputEvents(n,r,i)};var m=s.hourStep;o.hourStep&&f.push(a.$parent.$watch(t(o.hourStep),function(e){m=+e}));var g,_,b=s.minuteStep;o.minuteStep&&f.push(a.$parent.$watch(t(o.minuteStep),function(e){b=+e})),f.push(a.$parent.$watch(t(o.min),function(e){var t=new Date(e);g=isNaN(t)?void 0:t})),f.push(a.$parent.$watch(t(o.max),function(e){var t=new Date(e);_=isNaN(t)?void 0:t}));var v=!1;o.ngDisabled&&f.push(a.$parent.$watch(t(o.ngDisabled),function(e){v=e})),a.noIncrementHours=function(){var e=E(i,60*m);return v||_<e||e<i&&e<g},a.noDecrementHours=function(){var e=E(i,60*-m);return v||e<g||i<e&&_<e},a.noIncrementMinutes=function(){var e=E(i,b);return v||_<e||e<i&&e<g},a.noDecrementMinutes=function(){var e=E(i,-b);return v||e<g||i<e&&_<e},a.noIncrementSeconds=function(){var e=D(i,y);return v||_<e||e<i&&e<g},a.noDecrementSeconds=function(){var e=D(i,-y);return v||e<g||i<e&&_<e},a.noToggleMeridian=function(){return i.getHours()<12?v||E(i,720)>_:v||E(i,-720)<g};var y=s.secondStep;function w(){var e=+a.hours;if((a.showMeridian?0<e&&e<13:0<=e&&e<24)&&""!==a.hours)return a.showMeridian&&(12===e&&(e=0),a.meridian===h[1]&&(e+=12)),e}function C(){var e=+a.minutes;if(0<=e&&e<60&&""!==a.minutes)return e}function A(e,t){return null===e?"":angular.isDefined(e)&&e.toString().length<2&&!t?"0"+e:e.toString()}function S(e){T(),d.$setViewValue(new Date(i)),x(e)}function T(){c&&c.$setValidity("hours",!0),l&&l.$setValidity("minutes",!0),u&&u.$setValidity("seconds",!0),d.$setValidity("time",!0),a.invalidHours=!1,a.invalidMinutes=!1,a.invalidSeconds=!1}function x(e){if(d.$modelValue){var t=i.getHours(),n=i.getMinutes(),r=i.getSeconds();a.showMeridian&&(t=0===t||12===t?12:t%12),a.hours="h"===e?t:A(t,!p),"m"!==e&&(a.minutes=A(n)),a.meridian=i.getHours()<12?h[0]:h[1],"s"!==e&&(a.seconds=A(r)),a.meridian=i.getHours()<12?h[0]:h[1]}else a.hours=null,a.minutes=null,a.seconds=null,a.meridian=h[0]}function k(e){i=D(i,e),S()}function E(e,t){return D(e,60*t)}function D(e,t){var n=new Date(e.getTime()+1e3*t),r=new Date(e);return r.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),r}function I(){return(null===a.hours||""===a.hours)&&(null===a.minutes||""===a.minutes)&&(!a.showSeconds||a.showSeconds&&(null===a.seconds||""===a.seconds))}o.secondStep&&f.push(a.$parent.$watch(t(o.secondStep),function(e){y=+e})),a.showSeconds=s.showSeconds,o.showSeconds&&f.push(a.$parent.$watch(t(o.showSeconds),function(e){a.showSeconds=!!e})),a.showMeridian=s.showMeridian,o.showMeridian&&f.push(a.$parent.$watch(t(o.showMeridian),function(e){if(a.showMeridian=!!e,d.$error.time){var t=w(),n=C();angular.isDefined(t)&&angular.isDefined(n)&&(i.setHours(t),S())}else x()})),this.setupMousewheelEvents=function(e,t,n){var r=function(e){e.originalEvent&&(e=e.originalEvent);var t=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||0<t};e.on("mousewheel wheel",function(e){v||a.$apply(r(e)?a.incrementHours():a.decrementHours()),e.preventDefault()}),t.on("mousewheel wheel",function(e){v||a.$apply(r(e)?a.incrementMinutes():a.decrementMinutes()),e.preventDefault()}),n.on("mousewheel wheel",function(e){v||a.$apply(r(e)?a.incrementSeconds():a.decrementSeconds()),e.preventDefault()})},this.setupArrowkeyEvents=function(e,t,n){e.on("keydown",function(e){v||(38===e.which?(e.preventDefault(),a.incrementHours(),a.$apply()):40===e.which&&(e.preventDefault(),a.decrementHours(),a.$apply()))}),t.on("keydown",function(e){v||(38===e.which?(e.preventDefault(),a.incrementMinutes(),a.$apply()):40===e.which&&(e.preventDefault(),a.decrementMinutes(),a.$apply()))}),n.on("keydown",function(e){v||(38===e.which?(e.preventDefault(),a.incrementSeconds(),a.$apply()):40===e.which&&(e.preventDefault(),a.decrementSeconds(),a.$apply()))})},this.setupInputEvents=function(e,t,n){if(a.readonlyInput)return a.updateHours=angular.noop,a.updateMinutes=angular.noop,void(a.updateSeconds=angular.noop);var r=function(e,t,n){d.$setViewValue(null),d.$setValidity("time",!1),angular.isDefined(e)&&(a.invalidHours=e,c&&c.$setValidity("hours",!1)),angular.isDefined(t)&&(a.invalidMinutes=t,l&&l.$setValidity("minutes",!1)),angular.isDefined(n)&&(a.invalidSeconds=n,u&&u.$setValidity("seconds",!1))};a.updateHours=function(){var e=w(),t=C();d.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(i.setHours(e),i.setMinutes(t),i<g||_<i?r(!0):S("h")):r(!0)},e.on("blur",function(e){d.$setTouched(),I()?T():null===a.hours||""===a.hours?r(!0):!a.invalidHours&&a.hours<10&&a.$apply(function(){a.hours=A(a.hours,!p)})}),a.updateMinutes=function(){var e=C(),t=w();d.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(i.setHours(t),i.setMinutes(e),i<g||_<i?r(void 0,!0):S("m")):r(void 0,!0)},t.on("blur",function(e){d.$setTouched(),I()?T():null===a.minutes?r(void 0,!0):!a.invalidMinutes&&a.minutes<10&&a.$apply(function(){a.minutes=A(a.minutes)})}),a.updateSeconds=function(){var e,t=0<=(e=+a.seconds)&&e<60?e:void 0;d.$setDirty(),angular.isDefined(t)?(i.setSeconds(t),S("s")):r(void 0,void 0,!0)},n.on("blur",function(e){I()?T():!a.invalidSeconds&&a.seconds<10&&a.$apply(function(){a.seconds=A(a.seconds)})})},this.render=function(){var e=d.$viewValue;isNaN(e)?(d.$setValidity("time",!1),n.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(e&&(i=e),i<g||_<i?(d.$setValidity("time",!1),a.invalidHours=!0,a.invalidMinutes=!0):T(),x())},a.showSpinners=angular.isDefined(o.showSpinners)?a.$parent.$eval(o.showSpinners):s.showSpinners,a.incrementHours=function(){a.noIncrementHours()||k(60*m*60)},a.decrementHours=function(){a.noDecrementHours()||k(60*-m*60)},a.incrementMinutes=function(){a.noIncrementMinutes()||k(60*b)},a.decrementMinutes=function(){a.noDecrementMinutes()||k(60*-b)},a.incrementSeconds=function(){a.noIncrementSeconds()||k(y)},a.decrementSeconds=function(){a.noDecrementSeconds()||k(-y)},a.toggleMeridian=function(){var e=C(),t=w();a.noToggleMeridian()||(angular.isDefined(e)&&angular.isDefined(t)?k(720*(i.getHours()<12?60:-60)):a.meridian=a.meridian===h[0]?h[1]:h[0])},a.blur=function(){d.$setTouched()},a.$on("$destroy",function(){for(;f.length;)f.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(n){return{require:["uibTimepicker","?^ngModel"],restrict:"A",controller:"UibTimepickerController",controllerAs:"timepicker",scope:{},templateUrl:function(e,t){return t.templateUrl||n.templateUrl},link:function(e,t,n,r){var i=r[0],a=r[1];a&&i.init(a,t.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(n){var r=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(e){var t=e.match(r);if(!t)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+e+'".');return{itemName:t[3],source:n(t[4]),viewMapper:n(t[2]||t[1]),modelMapper:n(t[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(l,u,s,e,t,n,c,r,i,a,f,o,d){var h,p,m=[9,13,27,38,40],g=l.$eval(s.typeaheadMinLength);g||0===g||(g=1),l.$watch(s.typeaheadMinLength,function(e){g=e||0===e?e:1});var _=l.$eval(s.typeaheadWaitMs)||0,b=!1!==l.$eval(s.typeaheadEditable);l.$watch(s.typeaheadEditable,function(e){b=!1!==e});var v,y,w=t(s.typeaheadLoading).assign||angular.noop,C=s.typeaheadShouldSelect?t(s.typeaheadShouldSelect):function(e,t){var n=t.$event;return 13===n.which||9===n.which},A=t(s.typeaheadOnSelect),S=!!angular.isDefined(s.typeaheadSelectOnBlur)&&l.$eval(s.typeaheadSelectOnBlur),T=t(s.typeaheadNoResults).assign||angular.noop,x=s.typeaheadInputFormatter?t(s.typeaheadInputFormatter):void 0,k=!!s.typeaheadAppendToBody&&l.$eval(s.typeaheadAppendToBody),E=s.typeaheadAppendTo?l.$eval(s.typeaheadAppendTo):null,D=!1!==l.$eval(s.typeaheadFocusFirst),I=!!s.typeaheadSelectOnExact&&l.$eval(s.typeaheadSelectOnExact),P=t(s.typeaheadIsOpen).assign||angular.noop,M=l.$eval(s.typeaheadShowHint)||!1,$=t(s.ngModel),O=t(s.ngModel+"($$$p)"),R=d.parse(s.uibTypeahead),N=l.$new(),L=l.$on("$destroy",function(){N.$destroy()});N.$on("$destroy",L);var F,G,j="typeahead-"+N.$id+"-"+Math.floor(1e4*Math.random());u.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":j}),M&&((F=angular.element("<div></div>")).css("position","relative"),u.after(F),(G=u.clone()).attr("placeholder",""),G.attr("tabindex","-1"),G.val(""),G.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),u.css({position:"relative","vertical-align":"top","background-color":"transparent"}),G.attr("id")&&G.removeAttr("id"),F.append(G),G.after(u));var B=angular.element("<div uib-typeahead-popup></div>");B.attr({id:j,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(s.typeaheadTemplateUrl)&&B.attr("template-url",s.typeaheadTemplateUrl),angular.isDefined(s.typeaheadPopupTemplateUrl)&&B.attr("popup-template-url",s.typeaheadPopupTemplateUrl);var U=function(){N.matches=[],N.activeIdx=-1,u.attr("aria-expanded",!1),M&&G.val("")},H=function(e){return j+"-option-"+e};N.$watch("activeIdx",function(e){e<0?u.removeAttr("aria-activedescendant"):u.attr("aria-activedescendant",H(e))});var W=function(o,s){var c={$viewValue:o};w(l,!0),T(l,!1),n.when(R.source(l,c)).then(function(e){var t,n,r=o===h.$viewValue;if(r&&v)if(e&&0<e.length){N.activeIdx=D?0:-1,T(l,!1);for(var i=N.matches.length=0;i<e.length;i++)c[R.itemName]=e[i],N.matches.push({id:H(i),label:R.viewMapper(N,c),model:e[i]});if(N.query=o,Y(),u.attr("aria-expanded",!0),I&&1===N.matches.length&&(t=o,n=0,N.matches.length>n&&t&&t.toUpperCase()===N.matches[n].label.toUpperCase())&&(angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?f(function(){N.select(0,s)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate.default):N.select(0,s)),M){var a=N.matches[0].label;angular.isString(o)&&0<o.length&&a.slice(0,o.length).toUpperCase()===o.toUpperCase()?G.val(o+a.slice(o.length)):G.val("")}}else U(),T(l,!0);r&&w(l,!1)},function(){U(),w(l,!1),T(l,!0)})};k&&(angular.element(i).on("resize",V),r.find("body").on("scroll",V));var q,z=f(function(){N.matches.length&&Y(),N.moveInProgress=!1},200);function V(){N.moveInProgress||(N.moveInProgress=!0,N.$digest()),z()}function Y(){N.position=k?o.offset(u):o.position(u),N.position.top+=u.prop("offsetHeight")}N.moveInProgress=!1,N.query=void 0;var K=function(){q&&c.cancel(q)};U(),N.assignIsOpen=function(e){P(l,e)},N.select=function(e,t){var n,r,i,a,o={};y=!0,o[R.itemName]=r=N.matches[e].model,n=R.modelMapper(l,o),i=l,a=n,angular.isFunction($(l))&&p.getOption("getterSetter")?O(i,{$$$p:a}):$.assign(i,a),h.$setValidity("editable",!0),h.$setValidity("parse",!0),A(l,{$item:r,$model:n,$label:R.viewMapper(l,o),$event:t}),U(),!1!==N.$eval(s.typeaheadFocusOnSelect)&&c(function(){u[0].focus()},0,!1)},u.on("keydown",function(e){if(0!==N.matches.length&&-1!==m.indexOf(e.which)){var t,n=C(l,{$event:e});if(-1===N.activeIdx&&n||9===e.which&&e.shiftKey)return U(),void N.$digest();switch(e.preventDefault(),e.which){case 27:e.stopPropagation(),U(),l.$digest();break;case 38:N.activeIdx=(0<N.activeIdx?N.activeIdx:N.matches.length)-1,N.$digest(),(t=B[0].querySelectorAll(".uib-typeahead-match")[N.activeIdx]).parentNode.scrollTop=t.offsetTop;break;case 40:N.activeIdx=(N.activeIdx+1)%N.matches.length,N.$digest(),(t=B[0].querySelectorAll(".uib-typeahead-match")[N.activeIdx]).parentNode.scrollTop=t.offsetTop;break;default:n&&N.$apply(function(){angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?f(function(){N.select(N.activeIdx,e)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate.default):N.select(N.activeIdx,e)})}}}),u.on("focus",function(e){v=!0,0!==g||h.$viewValue||c(function(){W(h.$viewValue,e)},0)}),u.on("blur",function(e){S&&N.matches.length&&-1!==N.activeIdx&&!y&&(y=!0,N.$apply(function(){angular.isObject(N.debounceUpdate)&&angular.isNumber(N.debounceUpdate.blur)?f(function(){N.select(N.activeIdx,e)},N.debounceUpdate.blur):N.select(N.activeIdx,e)})),!b&&h.$error.editable&&(h.$setViewValue(),N.$apply(function(){h.$setValidity("editable",!0),h.$setValidity("parse",!0)}),u.val("")),y=v=!1});var Q=function(e){u[0]!==e.target&&3!==e.which&&0!==N.matches.length&&(U(),a.$$phase||l.$digest())};r.on("click",Q),l.$on("$destroy",function(){r.off("click",Q),(k||E)&&X.remove(),k&&(angular.element(i).off("resize",V),r.find("body").off("scroll",V)),B.remove(),M&&F.remove()});var X=e(B)(N);k?r.find("body").append(X):E?angular.element(E).eq(0).append(X):u.after(X),this.init=function(e){p=function(e){var t;angular.version.minor<6?(t=e.$options||{}).getOption=function(e){return t[e]}:t=e.$options;return t}(h=e),N.debounceUpdate=t(p.getOption("debounce"))(l),h.$parsers.unshift(function(e){var t;return v=!0,0===g||e&&e.length>=g?0<_?(K(),t=e,q=c(function(){W(t)},_)):W(e):(w(l,!1),K(),U()),b?e:e?void h.$setValidity("editable",!1):(h.$setValidity("editable",!0),null)}),h.$formatters.push(function(e){var t,n={};return b||h.$setValidity("editable",!0),x?(n.$model=e,x(l,n)):(n[R.itemName]=e,t=R.viewMapper(l,n),n[R.itemName]=void 0,t!==R.viewMapper(l,n)?t:e)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","uibTypeahead"],link:function(e,t,n,r){r[1].init(r[0])}}}).directive("uibTypeaheadPopup",["$$debounce",function(i){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(r,e,t){r.templateUrl=t.templateUrl,r.isOpen=function(){var e=0<r.matches.length;return r.assignIsOpen({isOpen:e}),e},r.isActive=function(e){return r.active===e},r.selectActive=function(e){r.active=e},r.selectMatch=function(e,t){var n=r.debounce();angular.isNumber(n)||angular.isObject(n)?i(function(){r.select({activeIdx:e,evt:t})},angular.isNumber(n)?n:n.default):r.select({activeIdx:e,evt:t})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(i,a,o){return{scope:{index:"=",match:"=",query:"="},link:function(n,r,e){var t=o(e.templateUrl)(n.$parent)||"uib/template/typeahead/typeahead-match.html";i(t).then(function(e){var t=angular.element(e.trim());r.replaceWith(t),a(t)(n)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(n,e,r){var i;return i=e.has("$sanitize"),function(e,t){return!i&&/<.*>/g.test(e)&&r.warn("Unsafe use of typeahead please use ngSanitize"),e=t?(""+e).replace(new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"<strong>$&</strong>"):e,i||(e=n.trustAsHtml(e)),e}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion-group.html",'<div role="tab" id="{{::headingId}}" aria-selected="{{isOpen}}" class="panel-heading" ng-keypress="toggleOpen($event)">\n <h4 class="panel-title">\n <a role="button" data-toggle="collapse" href aria-expanded="{{isOpen}}" aria-controls="{{::panelId}}" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading" ng-disabled="isDisabled" uib-tabindex-toggle><span uib-accordion-header ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n </h4>\n</div>\n<div id="{{::panelId}}" aria-labelledby="{{::headingId}}" aria-hidden="{{!isOpen}}" role="tabpanel" class="panel-collapse collapse" uib-collapse="!isOpen">\n <div class="panel-body" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion.html",'<div role="tablist" class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("uib/template/alert/alert.html",'<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n <span aria-hidden="true">×</span>\n <span class="sr-only">Close</span>\n</button>\n<div ng-transclude></div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/carousel.html",'<div class="carousel-inner" ng-transclude></div>\n<a role="button" href class="left carousel-control" ng-click="prev()" ng-class="{ disabled: isPrevDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n <span class="sr-only">previous</span>\n</a>\n<a role="button" href class="right carousel-control" ng-click="next()" ng-class="{ disabled: isNextDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n <span class="sr-only">next</span>\n</a>\n<ol class="carousel-indicators" ng-show="slides.length > 1">\n <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n </li>\n</ol>\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/slide.html",'<div class="text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/datepicker.html",'<div ng-switch="datepickerMode">\n <div uib-daypicker ng-switch-when="day" tabindex="0" class="uib-daypicker"></div>\n <div uib-monthpicker ng-switch-when="month" tabindex="0" class="uib-monthpicker"></div>\n <div uib-yearpicker ng-switch-when="year" tabindex="0" class="uib-yearpicker"></div>\n</div>\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n </tr>\n <tr>\n <th ng-if="showWeeks" class="text-center"></th>\n <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-weeks" ng-repeat="row in rows track by $index" role="row">\n <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default btn-sm"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::yearHeaderColspan}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-months" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-years" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepickerPopup/popup.html",'<ul role="presentation" class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n <li ng-transclude></li>\n <li ng-if="showButtonBar" class="uib-button-bar">\n <span class="btn-group pull-left">\n <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n </span>\n <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n </li>\n</ul>\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/window.html","<div class=\"modal-dialog {{size ? 'modal-' + size : ''}}\"><div class=\"modal-content\" uib-modal-transclude></div></div>\n")}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(e){e.put("uib/template/pager/pager.html",'<li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("uib/template/pagination/pagination.html",'<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'first\')}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li role="menuitem" ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)" ng-disabled="ngDisabled&&!page.active" uib-tabindex-toggle>{{page.text}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'last\')}}</a></li>\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind="content"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-html.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-template.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind="content"></div>\n</div>\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progressbar.html",'<div class="progress">\n <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("uib/template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}" aria-valuetext="{{title}}">\n <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}"></i>\n</span>\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tab.html",'<li ng-class="[{active: active, disabled: disabled}, classes]" class="uib-tab nav-item">\n <a href ng-click="select($event)" class="nav-link" uib-tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tabset.html",'<div>\n <ul class="nav nav-{{tabset.type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n <div class="tab-content">\n <div class="tab-pane"\n ng-repeat="tab in tabset.tabs"\n ng-class="{active: tabset.active === tab.index}"\n uib-tab-content-transclude="tab">\n </div>\n </div>\n</div>\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n <tbody>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td> </td>\n <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n <tr>\n <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n <input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n </td>\n <td class="uib-separator">:</td>\n <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n <input type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n </td>\n <td ng-show="showSeconds" class="uib-separator">:</td>\n <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n <input type="text" placeholder="SS" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n </td>\n <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n </tr>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td> </td>\n <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-match.html",'<a href\n tabindex="-1"\n ng-bind-html="match.label | uibTypeaheadHighlight:query"\n ng-attr-title="{{match.label}}"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" role="listbox" aria-hidden="{{!isOpen()}}">\n <li class="uib-typeahead-match" ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}</style>'),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}</style>'),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}</style>'),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}</style>'),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-time input{width:50px;}</style>'),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-typeahead-popup].dropdown-menu{display:block;}</style>'),angular.$$uibTypeaheadCss=!0}),angular.module("mwFormUtils",["mwFormUtils.responseUtils"]),angular.module("mwFormUtils.responseUtils",[]).factory("mwFormResponseUtils",function(){var f={},n=["text","textarea","number","date","time","email","range","url","star"];return f.$getObjectByIdMap=function(e,n){var r={};return e&&e.forEach(function(e){var t=e;n&&(t=n(e)),r[e.id]=t}),r},f.$getOfferedAnswerByIdMap=function(e){return f.$getObjectByIdMap(e.offeredAnswers,function(e){return{id:e.id,value:e.value}})},f.$extractResponseForQuestionWithOfferedAnswers=function(e,t){var n=f.$getOfferedAnswerByIdMap(e),r={};return t.selectedAnswers?(r.selectedAnswers=[],t.selectedAnswers.forEach(function(e){r.selectedAnswers.push(n[e])})):t.selectedAnswer&&(r.selectedAnswer=n[t.selectedAnswer]),t.other&&(r.other=t.other),r},f.$extractResponseForPriorityQuestion=function(e,t){var n=[];if(!t.priorityList)return n;var r=f.$getObjectByIdMap(e.priorityList);return t.priorityList.forEach(function(e){var t=r[e.id];n.push({id:t.id,value:t.value,priority:e.priority})}),n},f.$extractResponseForDivisionQuestion=function(e,r){var i=[],a=f.$getObjectByIdMap(e.divisionList);return Object.getOwnPropertyNames(r).forEach(function(e){var t=r[e],n=a[e];n&&i.push({id:n.id,label:n.value,value:t})}),i},f.$extractResponseForGridQuestion=function(i,a){if(!i.grid||!i.grid.rows)return o;if("radio"==i.grid.cellInputType)return f.$extractResponseForRadioGridQuestion(i,a);var o=[];return i.grid.rows.forEach(function(r){i.grid.cols.forEach(function(e){var t={row:{id:r.id,label:r.label},col:{id:e.id,label:e.label},value:null};if(a.hasOwnProperty(r.id)&&a[r.id].hasOwnProperty(e.id)){var n=a[r.id][e.id];"date"==i.grid.cellInputType&&n instanceof Date?t.value=n.toLocaleDateString():"time"==i.grid.cellInputType&&n instanceof Date?t.value=n.toLocaleTimeString():t.value=n}o.push(t)})}),o},f.$extractResponseForRadioGridQuestion=function(e,i){var a=[],o=f.$getObjectByIdMap(e.grid.cols);return e.grid.rows.forEach(function(e){var t=i[e.id],n=null;t&&(n=o[t]);var r={row:{id:e.id,label:e.label},col:null};n&&(r.col={id:n.id,label:n.label}),a.push(r)}),a},f.extractResponse=function(e,t){return-1!==n.indexOf(e.type)?t.answer:"radio"==e.type||"checkbox"==e.type||"select"==e.type?f.$extractResponseForQuestionWithOfferedAnswers(e,t):"grid"==e.type?f.$extractResponseForGridQuestion(e,t):"priority"==e.type?f.$extractResponseForPriorityQuestion(e,t):"division"==e.type?f.$extractResponseForDivisionQuestion(e,t):null},f.mergeFormWithResponse=function(e,r){var t={};return angular.copy(e,t),t.pages.forEach(function(e){e.elements.forEach(function(e){var t=e.question;if(t){var n=r[t.id];n&&(t.response=f.extractResponse(t,n))}})}),t},f.getQuestionList=function(e,n){var r=[];return e.pages.forEach(function(e){e.elements.forEach(function(e){if(e.question){var t=e.question;n&&(t={},angular.copy(e.question,t)),r.push(t)}})}),r},f.getQuestionWithResponseList=function(e,n){var r=[];return f.getQuestionList(e,!0).forEach(function(e){var t=n[e.id];e.response=t?f.extractResponse(e,t):null,r.push(e)}),r},f.$$getHeader=function(e,t,n,r,i){var a="";return i&&((e||0===e)&&(a+=e+"."),null!=n&&(Array.isArray(n)||(n=[n]),n.forEach(function(e){a+=e+"."})),a.length&&(a+=" ")),a+=t,null==r||(Array.isArray(r)||(r=[r]),r.forEach(function(e){a+=" ["+e+"]"})),a},f.getResponseSheetHeaders=function(e,o){var t=["grid","priority","division"],s=[],c=0;return f.getQuestionList(e).forEach(function(i){c++;var a=1;if(-1===t.indexOf(i.type))s.push(f.$$getHeader(c,i.text,null,null,o));else if("grid"==i.type){if(!i.grid)return;"radio"==i.grid.cellInputType?i.grid.rows.forEach(function(e){s.push(f.$$getHeader(c,i.text,a,e.label,o)),a++}):i.grid.rows.forEach(function(n,r){i.grid.cols.forEach(function(e,t){s.push(f.$$getHeader(c,i.text,[r+1,t+1],[n.label,e.label],o)),a++})})}else if("priority"==i.type){if(!i.priorityList)return;i.priorityList.forEach(function(e){s.push(f.$$getHeader(c,i.text,a,e.value,o)),a++})}else if("division"==i.type){if(!i.divisionList)return;i.divisionList.forEach(function(e){s.push(f.$$getHeader(c,i.text,a,e.value,o)),a++})}}),s},f.getResponseSheetRow=function(e,t){var n=[];if(!t)return n;for(var r=f.getQuestionWithResponseList(e,t),i=["radio","checkbox","select","grid","priority","division"],a=0;a<r.length;a++){var o=r[a],s=o.response;if(-1!==i.indexOf(o.type)){if("radio"==o.type||"select"==o.type){if(!s){n.push("");continue}var c="";s.selectedAnswer&&(c=s.selectedAnswer.value),s.other&&(c&&(c+="; "),c+=s.other),n.push(c)}else if("checkbox"==o.type){if(!s||!s.selectedAnswers){n.push("");continue}c="";s.selectedAnswers.forEach(function(e){c&&(c+="; "),c+=e.value}),s.other&&(c&&(c+="; "),c+=s.other),n.push(c)}else if("grid"==o.type){if(!o.grid)continue;if(!s){"radio"==o.grid.cellInputType?o.grid.rows.forEach(function(){n.push("")}):o.grid.rows.forEach(function(){o.grid.cols.forEach(function(){n.push("")})});continue}"radio"==o.grid.cellInputType?s.forEach(function(e){n.push(e.col?e.col.label:"")}):s.forEach(function(e){n.push(e.value)})}else if("priority"==o.type){if(!o.priorityList)continue;var l=f.$getObjectByIdMap(s);o.priorityList.forEach(function(e){var t=l[e.id];t?n.push(t.priority):n.push("")})}else if("division"==o.type){if(!o.divisionList)continue;var u=f.$getObjectByIdMap(s);o.divisionList.forEach(function(e){var t=u[e.id];t?n.push(t.value):n.push("")})}}else n.push(s||"")}return n},f.getResponseSheetRows=function(t,e){return e.map(function(e){return f.getResponseSheetRow(t,e)})},f.getResponseSheet=function(t,e,n){var r=[],i=f.getResponseSheetHeaders(t,n);return r.push(i),e&&(e instanceof Array?e.forEach(function(e){r.push(f.getResponseSheetRow(t,e))}):r.push(f.getResponseSheetRow(t,e))),r},f}),angular.module("mwFormBuilder",["ngSanitize","ng-sortable","pascalprecht.translate"]).config(["$translateProvider",function(e){e.useStaticFilesLoader({prefix:"bower_components/insight-surveys/dist/i18n/",suffix:"/angular-surveys.json"}),e.useSanitizeValueStrategy("sanitize"),e.preferredLanguage("en")}]).filter("ngtranslate",["$parse","$translate",function(a,o){"use strict";var e=function(e,t,n,r){if(!angular.isObject(t)){var i=this||{__SCOPE_IS_NOT_AVAILABLE:"More info at https://github.com/angular/angular.js/commit/8863b9d04c722b278fa93c5d66ad1e578ad6eb1f"};t=a(t)(i)}return o.instant(e,t,n,r)};return o.statefulFilter()&&(e.$stateful=!0),e}]),angular.module("mwFormBuilder").service("mwFormUuid",function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}this.get=function(){return e()+e()+e()+e()+e()+e()+e()+e()}}).factory("mwFormClone",["mwFormUuid",function(i){var a={},o=[];return a.resetIds=function(e,t){if(t&&(o=[]),!(0<=o.indexOf(e))&&(o.push(e),!e!==Object(e))){if(Array.isArray(e))return void e.forEach(a.resetIds);for(var n in e)e.hasOwnProperty(n)&&a.resetIds(e[n]);if(e.hasOwnProperty("id")){var r=i.get();e.id,e.id=r}}},a.cloneElement=function(e){var t={};return angular.copy(e,t),a.resetIds(t,!0),t},a.clonePage=function(e){var t={};angular.copy(e,t),t.id=i.get();var n=[];if(Array.isArray(e.elements))for(var r=0;r<e.elements.length;r++)n.push(a.cloneElement(e.elements[r]));return t.elements=n,t},a.cloneForm=function(e){var t={};angular.copy(e,t);var n=[];if(Array.isArray(e.pages))for(var r=0;r<e.pages.length;r++)n.push(a.clonePage(e.pages[r]));return t.pages=n,t},a}]),angular.module("mwFormBuilder").directive("mwQuestionPriorityListBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-question-priority-list-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(n){var r=this;r.isNewItem={},this.$onInit=function(){r.question.priorityList||(r.question.priorityList=[],r.addNewItem()),r.question.priorityList.sort(function(e,t){return e.orderNo-t.orderNo}),r.itemsSortableConfig={disabled:r.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(e){if(e)for(var t=0;t<e.length;t++)e[t].orderNo=t+1}(r.question.priorityList)}}},r.addNewItem=function(e){var t={id:n.get(),orderNo:r.question.priorityList.length+1,value:null};e||(r.isNewItem[t.id]=!0),r.question.priorityList.push(t)},r.removeItem=function(e){var t=r.question.priorityList.indexOf(e);-1!=t&&r.question.priorityList.splice(t,1)},r.keyPressedOnInput=function(e,t){delete r.isNewItem[t.id],13===e.which&&(e.preventDefault(),r.addNewItem())},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwQuestionOfferedAnswerListBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",formObject:"=",readOnly:"=?",options:"=?",disableOtherAnswer:"=?"},templateUrl:"mw-question-offered-answer-list-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["FormQuestionBuilderId","mwFormUuid",function(e,n){var r=this;this.$onInit=function(){r.config={radio:{},checkbox:{}},r.isNewAnswer={},r.question.offeredAnswers&&r.question.offeredAnswers.sort(function(e,t){return e.orderNo-t.orderNo}),r.offeredAnswersSortableConfig={disabled:r.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(){if(r.question.offeredAnswers)for(var e=0;e<r.question.offeredAnswers.length;e++)r.question.offeredAnswers[e].orderNo=e+1}()}}},r.addNewOfferedAnswer=function(){var e=r.possiblePageFlow[0],t={id:n.get(),orderNo:r.question.offeredAnswers.length+1,value:null,pageFlow:e};r.isNewAnswer[t.id]=!0,r.question.offeredAnswers.push(t)},r.removeOfferedAnswer=function(e){var t=r.question.offeredAnswers.indexOf(e);-1!=t&&r.question.offeredAnswers.splice(t,1)},r.addCustomAnswer=function(){r.question.otherAnswer=!0},r.removeCustomAnswer=function(){r.question.otherAnswer=!1},r.keyPressedOnInput=function(e,t){delete r.isNewAnswer[t.id],13===e.which&&(e.preventDefault(),r.addNewOfferedAnswer())},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl.possiblePageFlow=r.possiblePageFlow}}}),angular.module("mwFormBuilder").directive("mwQuestionGridBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",formObject:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-question-grid-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid","MW_GRID_CELL_INPUT_TYPES",function(n,e){function r(e){if(e)for(var t=0;t<e.length;t++){e[t].orderNo=t+1}}function t(e){e.sort(function(e,t){return e.orderNo-t.orderNo})}var i=this;this.$onInit=function(){i.cellInputTypes=e,i.isNewInput={},i.question.grid||(i.question.grid={rows:[],cols:[]},i.addNewRow(),i.addNewCol(!0)),i.question.grid.cellInputType||(i.question.grid.cellInputType=i.cellInputTypes[0]),t(i.question.grid.rows),t(i.question.grid.cols),i.rowsSortableConfig={disabled:i.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){r(i.question.grid.rows)}},i.colsSortableConfig={disabled:i.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){r(i.question.grid.cols)}}},i.addNewRow=function(e){var t={id:n.get(),orderNo:i.question.grid.rows.length+1,label:null};e||(i.isNewInput[t.id]=!0),i.question.grid.rows.push(t)},i.addNewCol=function(e){var t={id:n.get(),orderNo:i.question.grid.cols.length+1,label:null};e||(i.isNewInput[t.id]=!0),i.question.grid.cols.push(t)},i.removeRow=function(e){var t=i.question.grid.rows.indexOf(e);-1!=t&&i.question.grid.rows.splice(t,1)},i.removeCol=function(e){var t=i.question.grid.cols.indexOf(e);-1!=t&&i.question.grid.cols.splice(t,1)},i.keyPressedOnInput=function(e,t,n){delete i.isNewInput[t.id],13===e.which&&(e.preventDefault(),"row"==n?i.addNewRow():i.addNewCol())},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwQuestionDivisionBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-question-division-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(n){var r=this;r.$onInit=function(){r.isNewItem={},r.question.divisionList||(r.question.divisionList=[],r.addNewItem()),r.question.divisionList.sort(function(e,t){return e.orderNo-t.orderNo}),r.itemsSortableConfig={disabled:r.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(e){if(e)for(var t=0;t<e.length;t++)e[t].orderNo=t+1}(r.question.divisionList)}}},r.addNewItem=function(e){var t={id:n.get(),orderNo:r.question.divisionList.length+1,value:null};e||(r.isNewItem[t.id]=!0),r.question.divisionList.push(t)},r.removeItem=function(e){var t=r.question.divisionList.indexOf(e);-1!=t&&r.question.divisionList.splice(t,1)},r.keyPressedOnInput=function(e,t){delete r.isNewItem[t.id],13===e.which&&(e.preventDefault(),r.addNewItem())},1===angular.version.major&&angular.version.minor<5&&r.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwLabel",function(){return{replace:!0,restrict:"AE",scope:{labelKey:"@?",labelText:"@?",labelFor:"@",labelClass:"@",labelTranslateValues:"="},templateUrl:"mw-label.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(e){}],link:function(e,t,n){}}}),angular.module("mwFormBuilder").factory("FormQuestionBuilderId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormQuestionBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageElementBuilder",scope:{question:"=",formObject:"=",onReady:"&",isPreview:"=?",readOnly:"=?"},templateUrl:"mw-form-question-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormQuestionBuilderId","mwFormBuilderOptions",function(e,t,n){function r(){i.question.offeredAnswers&&i.question.offeredAnswers.forEach(function(e){i.question.pageFlowModifier?e.pageFlow=i.possiblePageFlow[0]:delete e.pageFlow})}var i=this;i.$onInit=function(){i.id=t.next(),i.questionTypes=n.questionTypes,i.formSubmitted=!1,i.question.offeredAnswers&&i.question.offeredAnswers.sort(function(e,t){return e.orderNo-t.orderNo}),i.offeredAnswersSortableConfig={disabled:i.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(){if(i.question.offeredAnswers)for(var e=0;e<i.question.offeredAnswers.length;e++)i.question.offeredAnswers[e].orderNo=e+1}()}}},i.save=function(){i.formSubmitted=!0,i.form.$valid&&i.onReady()};var a=["radio","checkbox","select"];i.questionTypeChanged=function(){-1!==a.indexOf(i.question.type)&&(i.question.offeredAnswers||(i.question.offeredAnswers=[])),"radio"!=i.question.type&&(r(),e(function(){i.question.pageFlowModifier=!1})),-1===a.indexOf(i.question.type)&&delete i.question.offeredAnswers,"grid"!=i.question.type?delete i.question.grid:i.question.required=!1,"priority"!=i.question.type&&delete i.question.priorityList},i.pageFlowModifierChanged=function(){r()},1===angular.version.major&&angular.version.minor<5&&i.$onInit()}],link:function(e,t,n,r){var i=e.ctrl;i.possiblePageFlow=r.possiblePageFlow,i.options=r.options}}}),angular.module("mwFormBuilder").factory("FormParagraphBuilderId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormParagraphBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageElementBuilder",scope:{paragraph:"=",formObject:"=",onReady:"&",isPreview:"=?",readOnly:"=?"},templateUrl:"mw-form-paragraph-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormParagraphBuilderId",function(e,t){var n=this;n.$onInit=function(){n.id=t.next(),n.formSubmitted=!1},n.save=function(){n.formSubmitted=!0,n.form.$valid&&n.onReady()},1===angular.version.major&&angular.version.minor<5&&n.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwFormPageElementBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageBuilder",scope:{pageElement:"=",formObject:"=",isActive:"=",isFirst:"=",isLast:"=",onReady:"&",readOnly:"=?"},templateUrl:"mw-form-page-element-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(e){var n=this;n.$onInit=function(){"question"==n.pageElement.type?n.pageElement.question||(n.pageElement.question={id:e.get(),text:null,type:null,required:!0}):"image"==n.pageElement.type?n.pageElement.image||(n.pageElement.image={id:e.get(),align:"left"}):"paragraph"==n.pageElement.type&&(n.pageElement.paragraph||(n.pageElement.paragraph={id:e.get(),html:""}))},n.callback=function(e,t){e.preventDefault(),e.stopPropagation(),t.callback&&"function"==typeof t.callback&&t.callback(n.pageElement)},n.filter=function(e){return!(!e.showInOpen&&n.isActive)&&!(!e.showInPreview&&!n.isActive)&&(!e.filter||"function"!=typeof e.filter||e.filter(n.pageElement))},1===angular.version.major&&angular.version.minor<5&&n.$onInit()}],link:function(e,t,n,r){var i=e.ctrl;i.possiblePageFlow=r.possiblePageFlow,i.hoverIn=function(){i.isHovered=!0},i.hoverOut=function(){i.isHovered=!1},i.editElement=function(){r.selectElement(i.pageElement)},i.cloneElement=function(e){e.preventDefault(),e.stopPropagation(),r.cloneElement(i.pageElement)},i.removeElement=function(){r.removeElement(i.pageElement)},i.moveDown=function(){r.moveDownElement(i.pageElement),e.$emit("mwForm.questionUpdate")},i.moveUp=function(){r.moveUpElement(i.pageElement),e.$emit("mwForm.questionUpdate")},i.options=r.options,i.onImageSelection=r.onImageSelection}}}),angular.module("mwFormBuilder").directive("mwFormPageBuilder",["$rootScope",function(t){return{replace:!0,restrict:"AE",require:"^mwFormBuilder",scope:{formPage:"=",formObject:"=",isFirst:"=",isLast:"=",readOnly:"=?"},templateUrl:"mw-form-page-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$scope","$timeout","mwFormUuid","mwFormClone","mwFormBuilderOptions",function(n,e,i,a,o){function r(){for(var e=0;e<c.formPage.elements.length;e++)c.formPage.elements[e].orderNo=e+1}function s(e,t,n){var r=e[t];e.splice(t,1),e.splice(n,0,r)}var c=this;c.$onInit=function(){c.hoverEdit=!1,c.formPage.namedPage=!!c.formPage.name,c.isFolded=!1,c.formPage.elements.sort(function(e,t){return e.orderNo-t.orderNo}),c.sortableConfig={disabled:c.readOnly,ghostClass:"beingDragged",group:"survey",handle:".inactive",chosenClass:".page-element-list",onEnd:function(e,t){r(),n.$emit("mwForm.questionUpdate")}},c.activeElement=null},c.unfold=function(){c.isFolded=!1},c.fold=function(){c.isFolded=!0},c.pageNameChanged=function(){t.$broadcast("mwForm.pageEvents.pageNameChanged",{page:c.formPage})},c.addElement=function(e){e||(e=o.elementTypes[0]);var t,n,r=(t=e,n=c.formPage.elements.length+1,{id:i.get(),orderNo:n,type:t});c.activeElement=r,c.formPage.elements.push(r)},c.cloneElement=function(e,t){var n=c.formPage.elements.indexOf(e),r=a.cloneElement(e);t&&(c.activeElement=r),c.formPage.elements.splice(n,0,r)},c.removeElement=function(e){var t=c.formPage.elements.indexOf(e);c.formPage.elements.splice(t,1)},c.moveDownElement=function(e){var t=c.formPage.elements.indexOf(e),n=t+1;n<c.formPage.elements.length&&s(c.formPage.elements,t,n),r()},c.moveUpElement=function(e){var t=c.formPage.elements.indexOf(e),n=t-1;0<=n&&s(c.formPage.elements,t,n),r()},c.isElementTypeEnabled=function(e){return-1!==o.elementTypes.indexOf(e)},c.addQuestion=function(){c.addElement("question")},c.addImage=function(){c.addElement("image")},c.addParagraph=function(){c.addElement("paragraph")},c.isElementActive=function(e){return c.activeElement==e},c.selectElement=function(e){c.activeElement=e},c.onElementReady=function(){e(function(){c.activeElement=null})},c.hoverIn=function(){c.hoverEdit=!0},c.hoverOut=function(){c.hoverEdit=!1},c.updateElementsOrderNo=r,1===angular.version.major&&angular.version.minor<5&&c.$onInit()}],link:function(n,e,t,r){var i=n.ctrl;i.possiblePageFlow=r.possiblePageFlow,i.moveDown=function(){r.moveDownPage(i.formPage)},i.moveUp=function(){r.moveUpPage(i.formPage)},i.removePage=function(){r.removePage(i.formPage)},i.addPage=function(){r.addPageAfter(i.formPage)},n.$watch("ctrl.formPage.elements.length",function(e,t){e!=t&&(i.updateElementsOrderNo(),n.$emit("mwForm.questionUpdate"))}),i.options=r.options,i.onImageSelection=r.onImageSelection}}}]),angular.module("mwFormBuilder").factory("FormImageBuilderId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormImageBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageElementBuilder",scope:{image:"=",formObject:"=",onReady:"&",isPreview:"=?",readOnly:"=?",onImageSelection:"&"},templateUrl:"mw-form-image-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormImageBuilderId","mwFormUuid",function(e,t,n){var r=this;r.id=t.next(),r.formSubmitted=!1,r.save=function(){r.formSubmitted=!0,r.form.$valid&&r.onReady()},r.selectImageButtonClicked=function(){r.onImageSelection().then(function(e){r.image.src=e}).catch(function(){})},r.setAlign=function(e){r.image.align=e}}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwFormConfirmationPageBuilder",function(){return{replace:!0,restrict:"AE",scope:{formObject:"=",readOnly:"=?",defaultMessage:"=?"},templateUrl:"mw-form-confirmation-page-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout",function(e){var t=this;t.hoverEdit=!1,t.hoverIn=function(){t.hoverEdit=!0},t.hoverOut=function(){t.hoverEdit=!1}}],link:function(e,t,n){}}}),angular.module("mwFormBuilder").directive("mwFormBuilder",["$rootScope",function(l){return{replace:!0,restrict:"AE",scope:{formData:"=",readOnly:"=?",options:"=?",formStatus:"=?",onImageSelection:"&",api:"=?"},templateUrl:"mw-form-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$scope","mwFormUuid","MW_QUESTION_TYPES","mwFormBuilderOptions",function(e,n,t,r){function i(e){var t=null;return c.possiblePageFlow&&(t=c.possiblePageFlow[0]),{id:n.get(),number:e,name:null,description:null,pageFlow:t,elements:[]}}function a(){var t=1;void 0!==c.formData.pages&&c.formData.pages.forEach(function(e){void 0!==e.elements&&e.elements.forEach(function(e){"question"==e.type&&void 0!==e.question&&(e.question.number=t++)})})}function o(){for(var e=0;e<c.formData.pages.length;e++)c.formData.pages[e].number=e+1;c.updatePageFlow()}function s(e,t,n){var r=e[t];e.splice(t,1),e.splice(n,0,r)}var c=this;c.$onInit=function(){c.currentPage=0,c.formData.pages&&c.formData.pages.length||(c.formData.pages=[],c.formData.pages.push(i(1))),c.options=r.$init(c.options),c.api&&(c.api.reset=function(){for(var e in c.formData)c.formData.hasOwnProperty(e)&&"pages"!=e&&delete c.formData[e];c.formData.pages.length=0,c.formData.pages.push(i(1))}),setTimeout(function(){a()},0),e.$watch("ctrl.formData",function(e,t){a()})},c.numberOfPages=function(){return Math.ceil(c.formData.pages.length/c.options.pageSize)},c.lastPage=function(){c.currentPage=Math.ceil(c.formData.pages.length/c.options.pageSize-1)},c.addPage=function(){c.formData.pages.push(i(c.formData.pages.length+1)),c.lastPage(),l.$broadcast("mwForm.pageEvents.pageAdded")},c.onChangePageSize=function(){c.currentPage>Math.ceil(c.formData.pages.length/c.options.pageSize-1)&&(c.currentPage=Math.ceil(c.formData.pages.length/c.options.pageSize-1))},e.$on("mwForm.questionUpdate",function(){setTimeout(function(){a()},0)}),c.addPageAfter=function(e){var t=c.formData.pages.indexOf(e)+1,n=i(e.number+1);t<c.formData.pages.length?c.formData.pages.splice(t,0,n):c.formData.pages.push(n),o(),a(),l.$broadcast("mwForm.pageEvents.pageAdded")},c.moveDownPage=function(e){var t=c.formData.pages.indexOf(e),n=t+1;n<c.formData.pages.length&&s(c.formData.pages,t,n),o(),a(),l.$broadcast("mwForm.pageEvents.pageMoved")},c.moveUpPage=function(e){var t=c.formData.pages.indexOf(e),n=t-1;0<=n&&s(c.formData.pages,t,n),o(),a(),l.$broadcast("mwForm.pageEvents.pageMoved")},c.removePage=function(e){var t=c.formData.pages.indexOf(e);c.formData.pages.splice(t,1),o(),a(),l.$broadcast("mwForm.pageEvents.pageRemoved"),c.onChangePageSize()},1===angular.version.major&&angular.version.minor<5&&c.$onInit()}],link:function(e,t,n){var r=e.ctrl;r.formStatus&&(r.formStatus.form=r.form),r.possiblePageFlow=[];var i={nextPage:!0,label:"mwForm.pageFlow.goToNextPage"};r.possiblePageFlow.push(i),r.isSamePageFlow=function(e,t){return e.page&&t.page&&e.page.id==t.page.id||e.formSubmit&&t.formSubmit||e.nextPage&&t.nextPage},r.updatePageFlow=function(){r.possiblePageFlow.length=1,r.formData.pages.forEach(function(e){r.possiblePageFlow.push({page:{id:e.id,number:e.number},label:"mwForm.pageFlow.goToPage"})}),r.possiblePageFlow.push({formSubmit:!0,label:"mwForm.pageFlow.submitForm"}),r.formData.pages.forEach(function(e){r.possiblePageFlow.forEach(function(n){e.pageFlow?r.isSamePageFlow(n,e.pageFlow)&&(e.pageFlow=n):e.pageFlow=i,e.elements.forEach(function(e){var t=e.question;t&&t.pageFlowModifier&&t.offeredAnswers.forEach(function(e){e.pageFlow&&r.isSamePageFlow(n,e.pageFlow)&&(e.pageFlow=n)})})})})},e.$watch("ctrl.formData.pages.length",function(e,t){r.updatePageFlow()}),e.$watch("ctrl.currentPage",function(e,t){l.$broadcast("mwForm.pageEvents.pageCurrentChanged",{index:r.currentPage})}),e.$on("mwForm.pageEvents.changePage",function(e,t){void 0!==t.page&&t.page<r.numberOfPages()&&(r.currentPage=t.page)}),e.$on("mwForm.pageEvents.addPage",function(e,t){r.addPage()})}}}]),angular.module("mwFormBuilder").filter("mwStartFrom",function(){return function(e,t){return t=+t,e.slice(t)}}),angular.module("mwFormBuilder").constant("MW_QUESTION_TYPES",["text","textarea","radio","checkbox","select","grid","priority","division","number","date","time","email","range","url","star"]).constant("MW_ELEMENT_TYPES",["question","image","paragraph"]).constant("MW_GRID_CELL_INPUT_TYPES",["radio","checkbox","text","number","date","time"]).factory("mwFormBuilderOptions",["MW_ELEMENT_TYPES","MW_QUESTION_TYPES",function(e,t){function n(e,t){return e?e.map(function(e){return angular.extend({},t,e)}):[]}var r={title:null,icon:null,text:null,callback:null,filter:null,showInOpen:!1,showInPreview:!0,cssClass:""},i={key:null,label:null,selects:[],required:!0},a={elementTypes:e,questionTypes:t,elementButtons:[],pagesSize:[10,25,50,100],pageSize:10,customQuestionSelects:[],customElements:[]},o={$init:function(e){return angular.extend(o,a,e),o.customQuestionSelects=n(o.customQuestionSelects,i),o.elementButtons=n(o.elementButtons,r),o}};return o}]),angular.module("mwFormBuilder").directive("wdFocusMe",["$timeout","$parse",function(i,a){return{link:function(e,t,n){var r=a(n.wdFocusMe);e.$watch(r,function(e){!0===e&&i(function(){t[0].focus()})}),t.bind("blur",function(){i(function(){e.$apply(r.assign(e,!1))})})}}}]).factory("focus",["$timeout","$window",function(e,n){return function(t){e(function(){var e=n.document.getElementById(t);e&&e.focus()})}}]),angular.module("mwFormBuilder").directive("mwConfirmClick",["$window",function(i){return{restrict:"A",link:function(t,e,n){var r=n.wdConfirmClick||"Are you sure?";e.bind("click",function(e){i.confirm(r)&&t.$apply(n.confirmedAction)})}}}]),angular.module("mwFormBuilder").run(["$templateCache",function(e){e.put("mw-form-builder.html",'<div class=mw-form-builder><form name=ctrl.form role=form novalidate><div class=mw-title-page><md-input-container class=md-block><mw-label label-for=formName label-key=mwForm.form.name></mw-label><input type=text class=form-control name=formName id=formName ng-model=ctrl.formData.name ng-readonly=ctrl.readOnly required></md-input-container><md-input-container class=md-block><mw-label label-for=formDescription label-key=mwForm.form.description></mw-label><textarea msd-elastic class=form-control name=formDescription ng-model=ctrl.formData.description id=formDescription ng-readonly=ctrl.readOnly>\n </textarea></md-input-container></div><div class=form-page-list><mw-form-page-builder ng-repeat="page in ctrl.formData.pages| mwStartFrom:ctrl.currentPage * ctrl.options.pageSize | limitTo:ctrl.options.pageSize" form-page=page form-object=ctrl.formData is-first=$first is-last=$last read-only=ctrl.readOnly></mw-form-page-builder></div><div layout=row layout-align="center center"><div flex-gt-xs=75><div layout=row layout-align="center center"><div flex-gt-xs=50><md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage === 0" ng-click="ctrl.currentPage = 0"><i class="fa fa-angle-double-left fa-lg"></i></md-button><md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage === 0" ng-click="ctrl.currentPage = ctrl.currentPage - 1"><i class="fa fa-angle-left fa-lg"></i></md-button>{{ctrl.currentPage + 1}}/{{ctrl.numberOfPages()}}<md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage >= ctrl.formData.pages.length / ctrl.options.pageSize - 1" ng-click="ctrl.currentPage = ctrl.currentPage + 1"><i class="fa fa-angle-right fa-lg"></i></md-button><md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage >= ctrl.formData.pages.length / ctrl.options.pageSize - 1" ng-click=ctrl.lastPage()><i class="fa fa-angle-double-right fa-lg"></i></md-button></div><div flex-gt-xs=18><md-input-container><md-select ng-change=ctrl.onChangePageSize() class=form-control ng-model=ctrl.options.pageSize><md-option ng-repeat="item in ctrl.options.pagesSize" value={{item}}>{{item}}</md-option></md-select></md-input-container></div></div></div><div flex><div layout=row layout-align=end><md-button type=button class="md-raised md-primary" ng-click=ctrl.addPage() ng-if=!ctrl.readOnly><i class="fa fa-plus"></i> <span translate=mwForm.buttons.addPage></span></md-button></div></div></div><mw-form-confirmation-page-builder form-object=ctrl.formData read-only=ctrl.readOnly></mw-form-confirmation-page-builder></form></div>'),e.put("mw-form-confirmation-page-builder.html",'<div class="mw-form-page-builder mw-confirmation-page"><div><div class=mw-page-tab-container><div class=mw-form-page-tab><span class=mw-page-tab-text role=heading translate=mwForm.confirmationPage.title>Strona potwierdzenia</span></div><div class=mw-page-tab-triangle></div></div><div ng-form=ctrl.form role=form novalidate class=form-page-builder-body><div class=form-group><md-input-container class=md-block><mw-label label-for=customConfirmationMessage label-key=mwForm.confirmationPage.customMessage></mw-label><textarea id=customConfirmationMessage msd-elastic class=form-control name=confirmationMessage ng-model=ctrl.formObject.confirmationMessage ng-disabled=ctrl.readOnly></textarea></md-input-container></div></div></div></div>'),e.put("mw-form-image-builder.html",'<div class=mw-form-image-builder-wrapper><div class=mw-form-image-builder ng-class="{\'ng-submitted\':ctrl.formSubmitted}"><div class=image-editor ng-form=ctrl.form ng-if=!ctrl.isPreview><button ng-if=!ctrl.image.src ng-click=ctrl.selectImageButtonClicked() type=button class="btn btn-default" translate=mwForm.image.selectImageButton>Select image</button><div class="image-edition row" ng-if=ctrl.image.src><div class=col-md-12 ng-class="\'align-\'+ctrl.image.align"><img ng-src={{ctrl.image.src}}></div><div class="col-md-12 image-align-control"><div class=btn-group role=group aria-label="Image align"><button type=button class="btn btn-default" ng-class="{\'selected\': ctrl.image.align==\'left\'}" ng-click="ctrl.setAlign(\'left\')"><i class="fa fa-align-left"></i></button> <button type=button class="btn btn-default" ng-class="{\'selected\': ctrl.image.align==\'center\'}" ng-click="ctrl.setAlign(\'center\')"><i class="fa fa-align-center"></i></button> <button type=button class="btn btn-default" ng-class="{\'selected\': ctrl.image.align==\'right\'}" ng-click="ctrl.setAlign(\'right\')"><i class="fa fa-align-right"></i></button></div></div><md-input-container class=md-block><mw-label label-for=image-caption-{{ctrl.id}} label-key=mwForm.image.caption>Image caption</mw-label><input type=text class=form-control name=text ng-attr-id=image-caption-{{ctrl.id}} ng-model=ctrl.image.caption ng-readonly=ctrl.readOnly></md-input-container></div><div ng-if=ctrl.image.src><br><br><md-button class="md-primary md-raised" type=button role=button ng-click=ctrl.save() translate=mwForm.buttons.questionReady>Ready</md-button></div></div><div class=mw-preview ng-if=ctrl.isPreview><figure ng-class="\'align-\'+ctrl.image.align"><img ng-src={{ctrl.image.src}} ng-attr-alt=ctrl.image.caption><figcaption ng-if=ctrl.image.caption>{{ctrl.image.caption}}</figcaption></figure></div></div></div>'),e.put("mw-form-page-builder.html",'<div class=mw-form-page-builder ng-class="{\'page-folded\': ctrl.isFolded}"><div ng-mouseover=ctrl.hoverIn() ng-mouseleave=ctrl.hoverOut()><div class=mw-page-tab-container><div class=mw-form-page-tab><span class=mw-page-tab-text role=heading translate=mwForm.page.tab.heading translate-values="{page: ctrl.formPage.number, allPages:ctrl.formObject.pages.length}">Strona 1 z 3</span> <span class=mw-page-tab-checkbox><label><input type=checkbox ng-model=ctrl.formPage.namedPage ng-disabled=ctrl.readOnly><span class=mw-page-tab-checkbox-text translate=mwForm.page.pageWithNameCheckbox>named</span></label></span></div><div class=mw-page-tab-triangle></div><div class=mw-page-tab-actions ng-switch=ctrl.readOnly><button type=button class=fold-button ng-click=ctrl.fold() ng-attr-title="{{\'mwForm.buttons.fold\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.fold>Fold</span></md-tooltip><i class="fa fa-compress"></i></button> <button type=button class=unfold-button ng-click=ctrl.unfold() ng-attr-title="{{\'mwForm.buttons.unfold\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.unfold>Unfold</span></md-tooltip><i class="fa fa-expand"></i></button> <button type=button class=move-down-button ng-click=ctrl.moveDown() ng-if=!ctrl.isLast ng-switch-when=false ng-attr-title="{{\'mwForm.buttons.moveDown\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveDown>Move down</span></md-tooltip><i class="fa fa-chevron-down"></i></button> <button type=button class=move-up-button ng-click=ctrl.moveUp() ng-if=!ctrl.isFirst ng-switch-when=false ng-attr-title="{{\'mwForm.buttons.moveUp\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveUp>move Up</span></md-tooltip><i class="fa fa-chevron-up"></i></button> <button type=button class=remove-button mw-confirm-click confirmed-action=ctrl.removePage() ng-switch-when=false ng-attr-title="{{\'mwForm.buttons.removePage\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.removePage>remove Page</span></md-tooltip><i class="fa fa-trash"></i></button></div></div><div ng-form=ctrl.form role=form novalidate class=form-page-builder-body><md-input-container class=md-block ng-if=ctrl.formPage.namedPage><label ng-attr-for=page-name-{{ctrl.formPage.number}} translate=mwForm.page.name>Nazwa strony</label> <input type=text class=form-control name=pageName ng-attr-id=page-name-{{ctrl.formPage.number}} ng-model=ctrl.formPage.name ng-blur=ctrl.pageNameChanged() ng-readonly=ctrl.readOnly></md-input-container><div class=page-element-list ng-sortable=ctrl.sortableConfig ng-model=ctrl.formPage.elements><div class="empty-page-element-list-label form-group" ng-if="!ctrl.formPage.elements || (ctrl.formPage.elements && ctrl.formPage.elements.length === 0)"><span translate=mwForm.page.elements.empty>Brak elementów</span></div><mw-form-page-element-builder ng-repeat="element in ctrl.formPage.elements" page-element=element form-object=ctrl.formObject is-active=ctrl.isElementActive(element) on-ready=ctrl.onElementReady() ng-click=ctrl.selectElement(element) is-first=$first is-last=$last read-only=ctrl.readOnly></mw-form-page-element-builder></div><md-menu ng-if=!ctrl.readOnly><md-button class=md-raised aria-label="{{\'mwForm.buttons.addElement\'|ngtranslate}}" ng-click=$mdOpenMenu($event) translate=mwForm.buttons.addElement>Add element</md-button><md-menu-content width=4><md-menu-item ng-if="ctrl.isElementTypeEnabled(\'question\')"><md-button type=button ng-click=ctrl.addQuestion()><span translate=mwForm.elements.question>Pytanie</span><i class="fa fa-question-circle fa-lg fa-fw" style="margin-left: 10px;"></i></md-button></md-menu-item><md-menu-item ng-if="ctrl.isElementTypeEnabled(\'image\')"><md-button type=button ng-click=ctrl.addImage()><span translate=mwForm.elements.image>Obraz</span><i class="fa fa-picture-o fa-lg fa-fw" style="margin-left: 10px;"></i></md-button></md-menu-item><md-menu-item ng-if="ctrl.isElementTypeEnabled(\'paragraph\')"><md-button type=button ng-click=ctrl.addParagraph()><span translate=mwForm.elements.paragraph>Obraz</span><i class="fa fa-paragraph fa-lg fa-fw" style="margin-left: 10px;"></i></md-button></md-menu-item></md-menu-content></md-menu></div><table cellspacing=0 class=mw-page-bottom-tab-container ng-if=!ctrl.isLast><tr><td class=mw-page-bottom-tab-triangle></td><td class=mw-form-page-bottom-tab><div class="page-flow-select form-inline"><label translate=mwForm.pageFlow.afterPage translate-values={page:ctrl.formPage.number} ng-attr-for=page-flow-select-{{ctrl.formPage.number}}>Po stronie 1</label><select ng-attr-id=page-flow-select-{{ctrl.formPage.number}} ng-options="pageFlow.label|ngtranslate:pageFlow for pageFlow in ctrl.possiblePageFlow" ng-model=ctrl.formPage.pageFlow class=form-control ng-disabled=ctrl.readOnly></select></div></td><td class=mw-page-bottom-tab-actions><button type=button role=button class=btn ng-click=ctrl.addPage() ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.addPage\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.addPage\' | ngtranslate}}</md-tooltip><i class="fa fa-plus"></i></button></td></tr></table></div></div>'),e.put("mw-form-page-element-builder.html",'<div class=mw-form-page-element-builder-wrapper><div class=mw-form-page-element-builder ng-class="{\'active\': ctrl.isActive, \'inactive draggable\': !ctrl.isActive}"><div class=mw-page-element-actions-tab ng-switch=ctrl.isActive&&!ctrl.readOnly><span class=mw-additional-buttons><button type=button ng-click=ctrl.callback($event,button) ng-attr-title="{{button.title | ngtranslate}}" ng-class=button.cssClass class=edit-button aria-label="{{button.title | ngtranslate}}" aria-hidden=false ng-if="ctrl.filter(button) && !ctrl.readOnly" ng-repeat="button in ctrl.options.elementButtons"><md-tooltip md-direction=top><span>{{button.title | ngtranslate}}</span></md-tooltip><i class={{button.icon}}></i> {{button.text}}</button></span> <span ng-switch-when=true><button type=button class=move-down-button ng-click=ctrl.moveDown() ng-if=!ctrl.isLast ng-attr-title="{{\'mwForm.buttons.moveDown\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveDown>moveDown</span></md-tooltip><i class="fa fa-chevron-down"></i></button> <button type=button class=move-up-button ng-click=ctrl.moveUp() ng-if=!ctrl.isFirst ng-attr-title="{{\'mwForm.buttons.moveUp\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveUp>moveUp</span></md-tooltip><i class="fa fa-chevron-up"></i></button> <button type=button class=remove-button mw-confirm-click confirmed-action=ctrl.removeElement() ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.remove>remove</span></md-tooltip><i class="fa fa-trash"></i></button></span> <span ng-switch-when=false><button type=button aria-label="{{\'mwForm.buttons.clone\' | ngtranslate}}" aria-hidden=false class=edit-button ng-click=ctrl.cloneElement($event) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.clone\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.clone>clone</span></md-tooltip><i class="fa fa-clone"></i></button> <button type=button aria-label="{{\'mwForm.buttons.edit\' | ngtranslate}}" aria-hidden=false class=edit-button ng-click=ctrl.editElement() ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.edit\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.edit>edit</span></md-tooltip><i class="fa fa-pencil"></i></button> <button type=button aria-label="{{\'mwForm.buttons.view\' | ngtranslate}}" aria-hidden=false class=edit-button ng-click=ctrl.editElement() ng-if=ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.view\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.view>view</span></md-tooltip><i class="fa fa-eye"></i></button></span></div><div ng-switch=ctrl.pageElement.type><mw-form-question-builder ng-switch-when=question question=ctrl.pageElement.question form-object=ctrl.formObject on-ready=ctrl.onReady() is-preview=!ctrl.isActive read-only=ctrl.readOnly></mw-form-question-builder><mw-form-image-builder ng-switch-when=image image=ctrl.pageElement.image form-object=ctrl.formObject on-ready=ctrl.onReady() is-preview=!ctrl.isActive read-only=ctrl.readOnly on-image-selection=ctrl.onImageSelection()></mw-form-image-builder><mw-form-paragraph-builder ng-switch-when=paragraph paragraph=ctrl.pageElement.paragraph form-object=ctrl.formObject on-ready=ctrl.onReady() is-preview=!ctrl.isActive read-only=ctrl.readOnly></mw-form-paragraph-builder></div></div></div>'),e.put("mw-form-paragraph-builder.html",'<div class=mw-form-paragraph-builder-wrapper><div class=mw-form-paragraph-builder ng-class="{\'ng-submitted\':ctrl.formSubmitted}"><div class=paragraph-editor ng-form=ctrl.form ng-if=!ctrl.isPreview><md-input-container class=md-block><mw-label label-for=paragraph-textarea-{{ctrl.id}} label-key=mwForm.paragraph.placeholder></mw-label><textarea msd-elastic class="form-control mw-form-paragraph-textarea" ng-model=ctrl.paragraph.html required ng-attr-id=paragraph-textarea-{{ctrl.id}} ng-readonly=ctrl.readOnly></textarea></md-input-container><div layout=row><br><md-button class="md-primary md-raised" type=button role=button ng-click=ctrl.save() translate=mwForm.buttons.questionReady>Ready</md-button></div></div><div class=mw-preview ng-if=ctrl.isPreview><p ng-bind-html=ctrl.paragraph.html></p></div></div></div>'),e.put("mw-form-question-builder.html",'<div class=mw-form-question-builder-wrapper><div class=mw-form-question-builder ng-class="{\'ng-submitted\':ctrl.formSubmitted}"><div ng-form=ctrl.form ng-if=!ctrl.isPreview><div class=form-horizontal><md-input-container class=md-block><mw-label label-for=question-text-{{ctrl.id}} label-key=mwForm.question.text></mw-label><input type=text name=text ng-attr-id=question-text-{{ctrl.id}} ng-model=ctrl.question.text ng-readonly=ctrl.readOnly required></md-input-container><div class=mw-question-type layout=row layout-align="start center"><md-input-container flex-gt-md=30><mw-label label-for=question-type-{{ctrl.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.type></mw-label><md-select ng-attr-id=question-type-{{ctrl.id}} ng-model=ctrl.question.type ng-change=ctrl.questionTypeChanged() ng-disabled=ctrl.readOnly required><md-option ng-repeat="type in ctrl.questionTypes" ng-value=type>{{\'mwForm.question.types.\'+type+\'.name\'|ngtranslate}}</md-option></md-select></md-input-container><div flex flex-offset-gt-md=5><md-checkbox ng-if="ctrl.question.type==\'radio\' || ctrl.question.type==\'select\'" ng-model=ctrl.question.pageFlowModifier ng-change=ctrl.pageFlowModifierChanged() ng-readonly=ctrl.readOnly aria-label="Go to page"><span translate=mwForm.pageFlow.afterQuestionAnswer>Przejdź do strony w oparciu o odpowiedź</span></md-checkbox></div></div><div class="form-group mw-question-type" ng-repeat="select in ctrl.options.customQuestionSelects"><mw-label label-for=question-{{select.key}}-{{ctrl.id}} label-class="col-sm-2 control-label" label-key={{select.label}}></mw-label><div class="col-sm-10 form-inline"><select ng-attr-id=question-{{opt.key}}-{{ctrl.id}} ng-options="opt.label for opt in select.options track by opt.key" ng-model=ctrl.question[select.key] class=form-control ng-disabled=ctrl.readOnly ng-required=select.required></select></div></div></div><div ng-if=ctrl.question.type><div class=mw-form-question-answers-builder ng-switch=ctrl.question.type><div ng-if="ctrl.question.type==\'text\'"><md-input-container class=md-block><input class=form-control type=text disabled value="{{\'mwForm.question.preview.text\'|ngtranslate}}"></md-input-container></div><div ng-switch-when=textarea><md-input-container class=md-block><textarea class=form-control maxlength=150 rows=5 disabled>{{\'mwForm.question.preview.textarea\'|ngtranslate}}</textarea></md-input-container></div><div ng-switch-when=radio><mw-question-offered-answer-list-builder question=ctrl.question form-object=ctrl.formObject read-only=ctrl.readOnly></mw-question-offered-answer-list-builder></div><div ng-switch-when=select><mw-question-offered-answer-list-builder question=ctrl.question form-object=ctrl.formObject read-only=ctrl.readOnly disable-other-answer=true></mw-question-offered-answer-list-builder></div><div ng-switch-when=checkbox><mw-question-offered-answer-list-builder question=ctrl.question form-object=ctrl.formObject read-only=ctrl.readOnly></mw-question-offered-answer-list-builder></div><div ng-switch-when=priority><mw-question-priority-list-builder question=ctrl.question read-only=ctrl.readOnly></mw-question-priority-list-builder></div><div ng-switch-when=number class=form-inline><div class="range-config form-inline"><md-input-container><mw-label label-for=question-number-range-min-{{ctrl.id}} label-key=mwForm.question.number.min></mw-label><input ng-attr-id=question-number-range-min-{{ctrl.id}} class=form-control type=number ng-model=ctrl.question.min max={{ctrl.question.max}} ng-readonly=ctrl.readOnly></md-input-container><md-input-container><mw-label label-for=question-number-range-max-{{ctrl.id}} label-key=mwForm.question.number.max></mw-label><input ng-attr-id=question-number-range-max-{{ctrl.id}} class=form-control type=number min={{ctrl.question.min}} ng-model=ctrl.question.max ng-readonly=ctrl.readOnly></md-input-container></div><br><md-input-container><input class=form-control type=number disabled></md-input-container></div><div ng-switch-when=date class=form-inline><md-input-container><input class=form-control type=date disabled></md-input-container></div><div ng-switch-when=datetime class=form-inline><md-input-container><input class=form-control type=datetime disabled></md-input-container></div><div ng-switch-when=time class=form-inline><md-input-container><input class=form-control type=time disabled></md-input-container></div><div ng-switch-when=email class=form-inline><md-input-container><input class=form-control type=email disabled></md-input-container></div><div ng-switch-when=range><div class="range-config form-inline"><md-input-container><mw-label label-for=question-range-from-{{ctrl.id}} label-key=mwForm.question.range.from></mw-label><input ng-attr-id=question-range-from-{{ctrl.id}} type=number ng-model=ctrl.question.min max={{ctrl.question.max}} ng-readonly=ctrl.readOnly></md-input-container><md-input-container><mw-label label-for=question-range-to-{{ctrl.id}} label-key=mwForm.question.range.to></mw-label><input ng-attr-id=question-range-to-{{ctrl.id}} type=number min={{ctrl.question.min}} ng-model=ctrl.question.max ng-readonly=ctrl.readOnly></md-input-container></div><br><div class=mw-range><md-slider min=ctrl.question.min max=ctrl.question.max type=range disabled></md-slider></div></div><div ng-switch-when=url class=form-inline><input class=form-control type=url disabled></div><div ng-switch-when=star class=form-inline><div class="range-config form-inline"><span translate=mwForm.question.star.no>Number of stars</span> <input class=form-control type=number ng-model=ctrl.question.noStars min=3 max=10 step=1 required ng-readonly=ctrl.readOnly ng-init="ctrl.question.noStars = ctrl.question.noStars || 5"></div></div></div><div class=col-sm-12 ng-if="ctrl.question.type==\'grid\'"><mw-question-grid-builder question=ctrl.question read-only=ctrl.readOnly></mw-question-grid-builder></div><div class=col-sm-12 ng-if="ctrl.question.type==\'division\'"><mw-question-division-builder question=ctrl.question read-only=ctrl.readOnly></mw-question-division-builder></div></div><br><br><div layout=row layout-align="start center"><div flex=20><md-button class="md-primary md-raised" type=button role=button ng-click=ctrl.save() translate=mwForm.buttons.questionReady>Ready</md-button></div><div flex><md-checkbox ng-model=ctrl.question.required ng-disabled=ctrl.readOnly flex><span translate=mwForm.question.required>Required</span></md-checkbox></div></div></div><div class=mw-preview ng-if=ctrl.isPreview><div class=mw-question-text>{{ctrl.question.text}} <span ng-if=ctrl.question.required>*</span></div><div class=question-answers ng-switch=ctrl.question.type><div ng-switch-when=text><md-input-container class=md-block><input class=form-control type=text disabled value="{{\'mwForm.question.preview.text\'|ngtranslate}}"></md-input-container></div><div ng-switch-when=number class=form-inline><md-input-container><input class=form-control type=number disabled></md-input-container></div><div ng-switch-when=date class=form-inline><md-input-container><input class=form-control type=date disabled></md-input-container></div><div ng-switch-when=datetime class=form-inline><md-input-container><input class=form-control type=datetime disabled></md-input-container></div><div ng-switch-when=time class=form-inline><md-input-container><input class=form-control type=time disabled></md-input-container></div><div ng-switch-when=email class=form-inline><md-input-container><input class=form-control type=email disabled></md-input-container></div><div ng-switch-when=range class=mw-range><md-slider min=ctrl.question.min max=ctrl.question.max type=range disabled></md-slider></div><div ng-switch-when=url class=form-inline><md-input-container class=md-block><input class=form-control type=url disabled></md-input-container></div><div ng-switch-when=textarea><md-input-container class=md-block><textarea class=form-control type=text disabled>{{\'mwForm.question.preview.textarea\'|ngtranslate}}</textarea></md-input-container></div><div ng-switch-when=radio><md-radio-group disabled><md-radio-button ng-repeat="answer in ctrl.question.offeredAnswers" aria-label="{{ answer.value }}">{{answer.value}}</md-radio-button><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><div><md-radio-button disabled><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-radio-button></div><div><md-input-container><input type=text class=form-control disabled></md-input-container></div></div></md-radio-group></div><div ng-switch-when=checkbox><div ng-repeat="answer in ctrl.question.offeredAnswers"><md-checkbox disabled>{{answer.value}}</md-checkbox></div><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><div><md-checkbox disabled><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-checkbox></div><div><md-input-container><input type=text class=form-control disabled></md-input-container></div></div></div><div ng-switch-when=select><md-input-container><md-select ng-disabled=true ng-model=ctrl.selectAnswerMock><md-option ng-repeat="answer in ctrl.question.offeredAnswers" ng-value=answer.id>{{answer.value}}</md-option></md-select></md-input-container></div><div ng-switch-when=grid><div class=table-responsive><table class="mw-data-table mw-no-border" border=0 cellpadding=5 cellspacing=0><thead><tr><td></td><td ng-repeat="col in ctrl.question.grid.cols"><label>{{col.label}}</label></td></tr></thead><tbody><tr ng-repeat="row in ctrl.question.grid.rows"><td>{{row.label}}</td><td ng-repeat="col in ctrl.question.grid.cols" ng-switch=ctrl.question.grid.cellInputType><md-radio-group ng-switch-when=radio><md-radio-button></md-radio-button></md-radio-group><div ng-switch-when=checkbox><md-checkbox></md-checkbox></div><md-input-container ng-switch-default><input ng-attr-type={{ctrl.question.grid.cellInputType}} disabled ng-class="\'form-control\'"></md-input-container></td></tr></tbody></table></div></div><div class=mw-priority-list ng-switch-when=priority><table><thead><tr><th translate=mwForm.question.priority.sorted>Sorted</th><th translate=mwForm.question.priority.available>Available</th></tr></thead><tbody><tr><td class=mw-ordered-items></td><td class=mw-available-items><div class=mw-item ng-repeat="item in ctrl.question.priorityList">{{::item.value}}</div></td></tr></tbody></table></div><div ng-switch-when=division class=mw-division-list><div class=form-inline style="margin-bottom: 5px" ng-repeat="item in ctrl.question.divisionList"><div class=form-group><label>{{item.value}}</label><md-input-container md-no-float><input type=number class=form-control style="width: 80px"></md-input-container><span>{{ctrl.question.unit}}</span></div></div><div class=form-inline style="margin-bottom: 5px"><div class=form-group><label translate=mwForm.question.division.assignedSumLabel>Przydzielono</label><md-input-container md-no-float><input type=number class="form-control strict-validation" style="width: 80px" readonly value=0></md-input-container><span>{{ctrl.question.unit}} <span translate=mwForm.question.division.fromRequiredLabel>z wymaganych</span> <strong>{{ctrl.question.quantity}}</strong> {{ctrl.question.unit}}</span></div></div></div><div ng-switch-when=star class=stars><span ng-repeat="n in [].constructor(ctrl.question.noStars) track by $index"><i class="fa fa-star star"></i></span></div></div></div></div></div>'),e.put("mw-label.html","<label ng-attr-for={{::ctrl.labelFor}} ng-attr-class={{::ctrl.labelClass}}>{{ctrl.labelKey|ngtranslate:ctrl.labelTranslateValues}}</label>"),e.put("mw-question-division-builder.html",'<div class=mw-question-division-builder><div><div><md-input-container><mw-label label-for=division-quantity-{{ctrl.question.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.division.quantity></mw-label><div class="col-sm-10 col-md-8 form-inline"><input ng-attr-id=division-quantity-{{ctrl.question.id}} type=number ng-model=ctrl.question.quantity required class=form-control min=1 ng-readonly=ctrl.readOnly></div></md-input-container><md-input-container><mw-label label-for=division-unit-{{ctrl.question.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.division.unit></mw-label><div class="col-sm-10 col-md-8 form-inline"><input ng-attr-id=division-unit-{{ctrl.question.id}} type=text ng-model=ctrl.question.unit required class=form-control ng-readonly=ctrl.readOnly></div></md-input-container></div></div><div><div class=question-division-list ng-sortable=ctrl.itemsSortableConfig ng-model=ctrl.question.divisionList role=list><div class=mw-question-division-list-item ng-repeat="item in ctrl.question.divisionList" role=listitem><div class=drag-handle ng-if=!ctrl.readOnly><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input wd-focus-me=ctrl.isNewItem[item.id] type=text ng-model=item.value ng-keypress=ctrl.keyPressedOnInput($event,item) required class="form-control item-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeItem(item) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div><div class="mw-question-division-list-item add-new-item-widget"><div class=drag-handle></div><md-input-container><span ng-click=ctrl.addNewItem() role=button ng-if=!ctrl.readOnly><input type=text required class=form-control value="{{\'mwForm.question.priority.clickToAddItem\'|ngtranslate}}"></span></md-input-container></div></div></div>'),e.put("mw-question-grid-builder.html",'<div class=mw-question-grid-builder><div class=mw-grid-rows-builder><div><div style="margin-top: 20px;" layout=row layout-align="start center"><md-input-container flex-gt-md=30><mw-label label-for=mw-grid-cell-input-type-{{ctrl.question.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.grid.cellInputType></mw-label><md-select ng-attr-id=mw-grid-cell-input-type-{{ctrl.question.id}} ng-model=ctrl.question.grid.cellInputType ng-disabled=ctrl.readOnly required><md-option ng-repeat="opt in ctrl.cellInputTypes" ng-value=opt>{{\'mwForm.question.grid.cellInputTypes.\'+opt|ngtranslate}}</md-option></md-select></md-input-container></div></div><div class=mw-grid-row-list ng-sortable=ctrl.rowsSortableConfig ng-model=ctrl.question.grid.rows role=list><div class="mw-grid-item form-group" ng-repeat="row in ctrl.question.grid.rows" role=listitem layout=row layout-align="start center"><div flex-gt-xs=20><mw-label label-for=mw-grid-row-{{row.id}}-label label-class=col-sm-2 label-key=mwForm.question.grid.rowLabel label-translate-values="{row: row.orderNo}"></mw-label></div><div flex><div class=drag-handle><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input ng-attr-id=mw-grid-row-{{row.id}}-label wd-focus-me=ctrl.isNewInput[row.id] type=text ng-model=row.label ng-keypress="ctrl.keyPressedOnInput($event,row, \'row\')" required class="form-control mw-item-label-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeRow(row) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div></div><div class="mw-grid-item form-group add-new-item-widget" ng-if=!ctrl.readOnly layout=row layout-align="start center"><div flex-gt-xs=20><label translate=mwForm.question.grid.rowLabel translate-values="{row: ctrl.question.grid.rows.length+1}">Etykieta wiersza {{ctrl.question.grid.rows.length+1}}</label></div><div flex><div class=drag-handle></div><span ng-click=ctrl.addNewRow() role=button><md-input-container><input type=text required class=form-control value="{{\'mwForm.question.grid.clickToAddRow\'|ngtranslate}}"></md-input-container></span></div></div></div><div class=row><div class="mw-grid-separator col-sm-9 col-sm-offset-1"></div></div><div class="form-horizontal mw-grid-cols-builder"><div class=mw-grid-col-list ng-sortable=ctrl.colsSortableConfig ng-model=ctrl.question.grid.cols role=list><div class="mw-grid-item form-group" ng-repeat="col in ctrl.question.grid.cols" role=listitem layout=row layout-align="start center"><div flex-gt-xs=20><mw-label label-for=mw-grid-col-{{col.id}}-label label-class="col-sm-2 control-label" label-key=mwForm.question.grid.columnLabel label-translate-values="{col: col.orderNo}"></mw-label></div><div flex><div class=drag-handle><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input ng-attr-id=mw-grid-col-{{col.id}}-label wd-focus-me=ctrl.isNewInput[col.id] type=text ng-model=col.label ng-keypress="ctrl.keyPressedOnInput($event,col, \'col\')" required class="form-control mw-item-label-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeCol(col) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div></div><div class="mw-grid-item form-group add-new-item-widget" ng-if=!ctrl.readOnly layout=row layout-align="start center"><div flex-gt-xs=20><label class="col-sm-2 control-label" translate=mwForm.question.grid.columnLabel translate-values="{col: ctrl.question.grid.cols.length+1}">Etykieta kolumny {{ctrl.question.grid.cols.length+1}}</label></div><div flex><div class=drag-handle></div><span ng-click=ctrl.addNewCol() role=button><md-input-container><input type=text required class=form-control value="{{\'mwForm.question.grid.clickToAddColumn\'|ngtranslate}}"></md-input-container></span></div></div></div></div>'),e.put("mw-question-offered-answer-list-builder.html",'<div class=question-offered-answer-list-builder><div class=question-offered-answer-list ng-sortable=ctrl.offeredAnswersSortableConfig ng-model=ctrl.question.offeredAnswers role=list><div class=mw-question-offered-answer ng-repeat="answer in ctrl.question.offeredAnswers" role=listitem><div class=drag-handle ng-if=!ctrl.readOnly><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><div class=option-type-indicator><i ng-if="ctrl.question.type==\'radio\'" class="fa fa-circle-thin fa-fw"></i> <i ng-if="ctrl.question.type==\'checkbox\'" class="fa fa-square-o fa-fw"></i></div><md-input-container><input wd-focus-me=ctrl.isNewAnswer[answer.id] type=text ng-model=answer.value ng-keypress=ctrl.keyPressedOnInput($event,answer) required class="form-control offered-answer-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeOfferedAnswer(answer) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button><span ng-if=ctrl.question.pageFlowModifier class=form-inline><md-input-container><md-select ng-model=answer.pageFlow ng-disabled=ctrl.readOnly><md-option ng-value=pageFlow ng-repeat="pageFlow in ctrl.possiblePageFlow">{{ pageFlow.label|ngtranslate:pageFlow }}</md-option></md-select></md-input-container></span></div></div><div class="mw-question-offered-answer add-new-answer-widget" ng-if=!ctrl.readOnly><div class=drag-handle></div><div class=option-type-indicator><i ng-if="ctrl.question.type==\'radio\'" class="fa fa-circle-thin fa-fw"></i> <i ng-if="ctrl.question.type==\'checkbox\'" class="fa fa-square-o fa-fw"></i></div><span ng-click=ctrl.addNewOfferedAnswer() role=button><md-input-container><input type=text class="form-control offered-answer-value" value="{{\'mwForm.question.buttons.addOption\'|ngtranslate}}"></md-input-container></span> <span class=add-custom-answer ng-if="!ctrl.disableOtherAnswer && !ctrl.question.otherAnswer"><span translate=mwForm.question.orLabel>or</span><md-button role=button ng-click=ctrl.addCustomAnswer() translate=mwForm.question.buttons.addOther>Dodaj "Inne"</md-button></span></div><div class="mw-question-offered-answer custom-answer" ng-if=ctrl.question.otherAnswer><div class=drag-handle ng-if=!ctrl.readOnly></div><div class=option-type-indicator><i ng-if="ctrl.question.type==\'radio\'" class="fa fa-circle-thin fa-fw"></i> <i ng-if="ctrl.question.type==\'checkbox\'" class="fa fa-square-o fa-fw"></i></div><label translate=mwForm.question.otherLabel>Inna:</label><md-input-container><input type=text value="{{\'mwForm.question.userAnswer\'|ngtranslate}}" class="form-control offered-answer-value" readonly></md-input-container><md-button type=button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeCustomAnswer() ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div>'),e.put("mw-question-priority-list-builder.html",'<div class=mw-question-priority-list-builder><div class=question-priority-list ng-sortable=ctrl.itemsSortableConfig ng-model=ctrl.question.priorityList role=list><div class=mw-question-priority-list-item ng-repeat="item in ctrl.question.priorityList" role=listitem><div class=drag-handle ng-if=!ctrl.readOnly><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input wd-focus-me=ctrl.isNewItem[item.id] type=text ng-model=item.value ng-keypress=ctrl.keyPressedOnInput($event,item) required class="form-control item-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeItem(item) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div><div class="mw-question-priority-list-item add-new-item-widget"><div class=drag-handle></div><span ng-click=ctrl.addNewItem() role=button><md-input-container><input type=text required class=form-control value="{{\'mwForm.question.priority.clickToAddItem\'|ngtranslate}}"></md-input-container></span></div></div>')}]),angular.module("mwFormViewer",["ngSanitize","ui.bootstrap","ng-sortable","pascalprecht.translate"]).config(["$translateProvider",function(e){e.useStaticFilesLoader({prefix:"bower_components/insight-surveys/dist/i18n/",suffix:"/angular-surveys.json"}),e.useSanitizeValueStrategy("sanitize"),e.preferredLanguage("en")}]).filter("ngtranslate",["$parse","$translate",function(a,o){"use strict";var e=function(e,t,n,r){if(!angular.isObject(t)){var i=this||{__SCOPE_IS_NOT_AVAILABLE:"More info at https://github.com/angular/angular.js/commit/8863b9d04c722b278fa93c5d66ad1e578ad6eb1f"};t=a(t)(i)}return o.instant(e,t,n,r)};return o.statefulFilter()&&(e.$stateful=!0),e}]),angular.module("mwFormViewer").directive("mwPriorityList",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestion",scope:{question:"=",questionResponse:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-priority-list.html",controllerAs:"ctrl",bindToController:!0,controller:function(){function n(e){if(e)for(var t=0;t<e.length;t++){e[t].priority=t+1}}var r=this;this.$onInit=function(){r.questionResponse.priorityList||(r.questionResponse.priorityList=[]),r.idToItem={},r.questionResponse.priorityList.sort(function(e,t){return e.priority-t.priority}),r.availableItems=[],r.question.priorityList.forEach(function(t){r.idToItem[t.id]=t,r.questionResponse.priorityList.some(function(e){return t.id==e.id})||r.availableItems.push({priority:null,id:t.id})}),r.allItemsOrdered=0==r.availableItems.length||null;var e={disabled:r.readOnly,ghostClass:"beingDragged"};r.orderedConfig=angular.extend({},e,{group:{name:"A",pull:!1,put:["B"]},onEnd:function(e,t){n(r.questionResponse.priorityList)}}),r.availableConfig=angular.extend({},e,{sort:!1,group:{name:"B",pull:["A"],put:!1},onEnd:function(e,t){n(r.questionResponse.priorityList),r.allItemsOrdered=0==r.availableItems.length||null}})},1===angular.version.major&&angular.version.minor<5&&this.$onInit()},link:function(e,t,n,r){e.ctrl.print=r.print}}}),angular.module("mwFormViewer").directive("mwFormViewer",["$rootScope",function(a){return{replace:!0,restrict:"AE",scope:{formData:"=",responseData:"=",templateData:"=?",readOnly:"=?",options:"=?",formStatus:"=?",onSubmit:"&",api:"=?"},templateUrl:"mw-form-viewer.html",controllerAs:"ctrl",bindToController:!0,controller:["$scope","$timeout","$interpolate",function(e,t,n){function r(){var t=1;void 0!==i.formData.pages&&i.formData.pages.forEach(function(e){void 0!==e.elements&&e.elements.forEach(function(e){"question"==e.type&&void 0!==e.question&&(e.question.number=t++)})})}var i=this;i.$onInit=function(){i.defaultOptions={nestedForm:!1,autoStart:!1,disableSubmit:!1},i.options=angular.extend({},i.defaultOptions,i.options),i.submitStatus="NOT_SUBMITTED",i.formSubmitted=!1,i.formData.pages.sort(function(e,t){return e.number-t.number}),i.pageIdToPage={},i.formData.pages.forEach(function(e){i.pageIdToPage[e.id]=e}),i.buttons={prevPage:{visible:!1,disabled:!1},nextPage:{visible:!1,disabled:!1},submitForm:{visible:!1,disabled:!1}},i.resetPages(),i.api&&(i.api.reset=function(){for(var e in i.responseData)i.responseData.hasOwnProperty(e)&&delete i.responseData[e];i.buttons.submitForm.visible=!1,i.buttons.prevPage.visible=!1,i.buttons.nextPage.visible=!1,i.currentPage=null,t(i.resetPages,0)}),setTimeout(function(){r()},0),e.$watch("ctrl.formData",function(e,t){r()})},i.submitForm=function(){i.formSubmitted=!0,i.submitStatus="IN_PROGRESS",i.setCurrentPage(null),i.onSubmit().then(function(){i.submitStatus="SUCCESS"}).catch(function(){i.submitStatus="ERROR"})},i.setCurrentPage=function(e){return(i.currentPage=e)?(i.setDefaultNextPage(),void i.initResponsesForCurrentPage()):(i.buttons.submitForm.visible=!1,i.buttons.prevPage.visible=!1,void(i.buttons.nextPage.visible=!1))},i.setDefaultNextPage=function(){var e=i.formData.pages.indexOf(i.currentPage);if(i.currentPage.isFirst=0==e,i.currentPage.isLast=e==i.formData.pages.length-1,i.buttons.submitForm.visible=i.currentPage.isLast,i.buttons.prevPage.visible=!i.currentPage.isFirst,i.buttons.nextPage.visible=!i.currentPage.isLast,i.currentPage.isLast?i.nextPage=null:i.nextPage=i.formData.pages[e+1],i.currentPage.pageFlow){var t=!1;i.currentPage.pageFlow.formSubmit?t=!(i.nextPage=null):i.currentPage.pageFlow.page?(i.nextPage=i.pageIdToPage[i.currentPage.pageFlow.page.id],i.buttons.nextPage.visible=!0):i.currentPage.isLast&&(t=!(i.nextPage=null)),i.buttons.submitForm.visible=t,i.buttons.nextPage.visible=!t}},i.initResponsesForCurrentPage=function(){i.currentPage.elements.forEach(function(e){var t=e.question;t&&!i.responseData[t.id]&&(i.responseData[t.id]={})})},i.beginResponse=function(){0<i.formData.pages.length&&(i.setCurrentPage(i.formData.pages[0]),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:i.currentPage}))},i.resetPages=function(){i.prevPages=[],i.currentPage=null,i.nextPage=null,i.formSubmitted=!1,i.options.autoStart&&i.beginResponse()},i.goToPrevPage=function(){var e=i.prevPages.pop();i.setCurrentPage(e),i.updateNextPageBasedOnAllAnswers(),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:i.currentPage})},i.goToNextPage=function(){i.prevPages.push(i.currentPage),i.updateNextPageBasedOnAllAnswers(),i.setCurrentPage(i.nextPage),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:i.currentPage})},i.updateNextPageBasedOnAllAnswers=function(){i.currentPage.elements.forEach(function(e){i.updateNextPageBasedOnPageElementAnswers(e)}),i.buttons.submitForm.visible=!i.nextPage,i.buttons.nextPage.visible=!!i.nextPage},i.updateNextPageBasedOnPageElementAnswers=function(e){var t=e.question;t&&t.pageFlowModifier&&t.offeredAnswers.forEach(function(e){e.pageFlow&&i.responseData[t.id].selectedAnswer==e.id&&(e.pageFlow.formSubmit?i.nextPage=null:e.pageFlow.page&&(i.nextPage=i.pageIdToPage[e.pageFlow.page.id]))})},i.onResponseChanged=function(e){i.setDefaultNextPage(),i.updateNextPageBasedOnAllAnswers()},i.print=function(e){return e&&i.templateData?n(e)(i.templateData):e},1===angular.version.major&&angular.version.minor<5&&i.$onInit()}],link:function(e,t,n){var i=e.ctrl;i.formStatus&&(i.formStatus.form=i.form),e.$on("mwForm.pageEvents.changePage",function(e,t){if(void 0!==t.page&&t.page<i.formData.pages.length){i.resetPages();for(var n=0;n<t.page;n++)i.prevPages.push(i.formData.pages[n]);var r=i.formData.pages[t.page];i.setCurrentPage(r),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:r}),i.updateNextPageBasedOnAllAnswers()}})}}}]),angular.module("mwFormViewer").factory("FormQuestionId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormQuestion",function(){return{replace:!0,restrict:"AE",require:"^mwFormViewer",scope:{question:"=",questionResponse:"=",readOnly:"=?",options:"=?",onResponseChanged:"&?"},templateUrl:"mw-form-question.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormQuestionId",function(e,t){var n=this;this.$onInit=function(){n.id=t.next(),"radio"==n.question.type?(n.questionResponse.selectedAnswer||(n.questionResponse.selectedAnswer=null),n.questionResponse.other&&(n.isOtherAnswer=!0)):"checkbox"==n.question.type?(n.questionResponse.selectedAnswers&&n.questionResponse.selectedAnswers.length?n.selectedAnswer=!0:n.questionResponse.selectedAnswers=[],n.questionResponse.other&&(n.isOtherAnswer=!0)):"grid"==n.question.type?n.question.grid.cellInputType||(n.question.grid.cellInputType="radio"):"division"==n.question.type?(n.computeDivisionSum=function(){n.divisionSum=0,n.question.divisionList.forEach(function(e){0==n.questionResponse[e.id]||n.questionResponse[e.id]?n.divisionSum+=n.questionResponse[e.id]:(n.questionResponse[e.id]=null,n.divisionSum+=0)})},n.computeDivisionSum()):"date"!=n.question.type&&"datetime"!=n.question.type&&"time"!=n.question.type||n.questionResponse.answer&&(n.questionResponse.answer=new Date(n.questionResponse.answer)),n.isAnswerSelected=!1,n.initialized=!0},n.selectedAnswerChanged=function(){delete n.questionResponse.other,n.isOtherAnswer=!1,n.answerChanged()},n.otherAnswerRadioChanged=function(){n.isOtherAnswer&&(n.questionResponse.selectedAnswer=null),n.answerChanged()},n.otherAnswerCheckboxChanged=function(){n.isOtherAnswer||delete n.questionResponse.other,n.selectedAnswer=!(!n.questionResponse.selectedAnswers.length&&!n.isOtherAnswer)||null,n.answerChanged()},n.toggleSelectedAnswer=function(e){-1===n.questionResponse.selectedAnswers.indexOf(e.id)?n.questionResponse.selectedAnswers.push(e.id):n.questionResponse.selectedAnswers.splice(n.questionResponse.selectedAnswers.indexOf(e.id),1),n.selectedAnswer=!(!n.questionResponse.selectedAnswers.length&&!n.isOtherAnswer)||null,n.answerChanged()},n.answerChanged=function(){n.onResponseChanged&&n.onResponseChanged()},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl.print=r.print}}}),angular.module("mwFormViewer").directive("mwFormConfirmationPage",function(){return{replace:!0,restrict:"AE",require:"^mwFormViewer",scope:{submitStatus:"=",confirmationMessage:"=",readOnly:"=?"},templateUrl:"mw-form-confirmation-page.html",controllerAs:"ctrl",bindToController:!0,controller:function(){},link:function(e,t,n,r){e.ctrl.print=r.print}}}),angular.module("mwFormViewer").run(["$templateCache",function(e){e.put("mw-form-confirmation-page.html","<div class=mw-form-confirmation-page><div class=mw-confirmation-message ng-if=\"ctrl.submitStatus=='SUCCESS'\"><span ng-if=ctrl.confirmationMessage>{{::ctrl.print(ctrl.confirmationMessage)}}</span> <span ng-if=!ctrl.confirmationMessage translate=mwForm.confirmationPage.defaultMessage>Twoja odpowiedź została zapisana</span></div><div class=mw-error-message ng-if=\"ctrl.submitStatus=='ERROR'\"><span translate=mwForm.confirmationPage.errorMessage>Bład. Twoja odpowiedź nie została zapisana.</span></div><div class=mw-pending-message ng-if=\"ctrl.submitStatus=='IN_PROGRESS'\"><span translate=mwForm.confirmationPage.pendingMessage>Zapisywanie odpowiedzi w trakcie.</span></div></div>"),e.put("mw-form-question.html",'<div class=mw-form-question><div class=mw-question-text>{{::ctrl.print(ctrl.question.text)}} <span ng-if=ctrl.question.required>*</span></div><div class=mw-question-answers ng-switch=ctrl.question.type><div ng-switch-when=text><md-input-container class=md-block md-no-float><input class=form-control type=text ng-model=ctrl.questionResponse.answer placeholder="{{\'mwForm.question.preview.text\'|ngtranslate}}" ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=textarea><md-input-container class=md-block md-no-float><textarea msd-elastic class=form-control ng-model=ctrl.questionResponse.answer placeholder="{{\'mwForm.question.preview.textarea\'|ngtranslate}}" ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></textarea></md-input-container></div><div ng-switch-when=radio><md-radio-group ng-model=ctrl.questionResponse.selectedAnswer ng-required="ctrl.question.required &&!ctrl.isOtherAnswer" ng-disabled=ctrl.readOnly ng-change=ctrl.selectedAnswerChanged()><md-radio-button ng-repeat="answer in ctrl.question.offeredAnswers" aria-label="{{ answer.value }}" ng-value=answer.id name=answer-for-question-{{ctrl.question.id}} ng-readonly=ctrl.readOnly>{{::ctrl.print(answer.value)}}</md-radio-button></md-radio-group><md-radio-group ng-model=ctrl.isOtherAnswer ng-change=ctrl.otherAnswerRadioChanged() ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><div><md-radio-button ng-model=ctrl.isOtherAnswer ng-value=true name=other-answer-for-question-{{ctrl.question.id}} ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-radio-button></div><div><md-input-container><input type=text name=other-answer-for-question-{{ctrl.question.id}} ng-model=ctrl.questionResponse.other class=form-control ng-disabled="!ctrl.isOtherAnswer || ctrl.readOnly" ng-required=ctrl.isOtherAnswer></md-input-container></div></div></md-radio-group></div><div ng-switch-when=checkbox><div class=checkbox ng-repeat="answer in ::ctrl.question.offeredAnswers" ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly><md-checkbox name=answer-for-question-{{ctrl.question.id}} ng-checked="ctrl.questionResponse.selectedAnswers.indexOf(answer.id) != -1" ng-click=ctrl.toggleSelectedAnswer(answer) ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly>{{::ctrl.print(answer.value)}}</md-checkbox></div><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><md-checkbox name=answer-for-question-{{ctrl.question.id}} ng-model=ctrl.isOtherAnswer ng-change=ctrl.otherAnswerCheckboxChanged() ng-readonly=ctrl.readOnly ng-disabled=ctrl.readOnly><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-checkbox><div><md-input-container><input type=text ng-model=ctrl.questionResponse.other name=other-answer-for-question-{{ctrl.question.id}} class=form-control ng-disabled="!ctrl.isOtherAnswer || ctrl.readOnly" ng-required=ctrl.isOtherAnswer></md-input-container></div></div><input type=hidden ng-model=ctrl.selectedAnswer ng-required="ctrl.question.required &&!ctrl.isOtherAnswer"></div><div ng-switch-when=select><md-input-container><md-select ng-disabled=ctrl.readOnly ng-required=ctrl.question.required ng-model=ctrl.questionResponse.selectedAnswer><md-option ng-repeat="answer in ctrl.question.offeredAnswers" ng-value=answer.id>{{::ctrl.print(answer.value)}}</md-option></md-select></md-input-container></div><div ng-switch-when=grid><div><table class="mw-data-table mw-no-border" border=0 cellpadding=5 cellspacing=0><thead><tr><td></td><td ng-repeat="col in ::ctrl.question.grid.cols"><label>{{::ctrl.print(col.label)}}</label></td></tr></thead><tbody><tr ng-repeat="row in ::ctrl.question.grid.rows"><td>{{::ctrl.print(row.label)}}</td><td ng-repeat="col in ctrl.question.grid.cols" ng-switch=ctrl.question.grid.cellInputType><md-radio-group ng-switch-when=radio ng-model=ctrl.questionResponse[row.id] ng-required=ctrl.question.required ng-disabled=ctrl.readOnly><md-radio-button ng-value=col.id name=answer-for-question-{{row.id}} ng-disabled=ctrl.readOnly></md-radio-button></md-radio-group><div ng-switch-when=checkbox><md-checkbox ng-model=ctrl.questionResponse[row.id][col.id] name=answer-for-question-{{row.id}}-{{col.id}} ng-required=ctrl.question.required ng-disabled=ctrl.readOnly></md-checkbox></div><md-input-container ng-switch-default><input ng-attr-type={{ctrl.question.grid.cellInputType}} ng-model=ctrl.questionResponse[row.id][col.id] name=answer-for-question-{{row.id}}-{{col.id}} ng-required=ctrl.question.required ng-disabled=ctrl.readOnly></md-input-container></td></tr></tbody></table></div></div><div ng-switch-when=division class=mw-division-list ng-form=ctrl.divisionForm><div class=form-inline style="margin-bottom: 5px" ng-repeat="item in ctrl.question.divisionList"><div class=form-group><label>{{::ctrl.print(item.value)}}</label><md-input-container md-no-float><input type=number class=form-control ng-model=ctrl.questionResponse[item.id] min=0 max={{ctrl.question.quantity}} required style="width: 80px" ng-change=ctrl.computeDivisionSum() ng-readonly=ctrl.readOnly></md-input-container><span>{{::ctrl.print(ctrl.question.unit)}}</span></div></div><div class=form-inline style="margin-bottom: 5px"><div class=form-group><label translate=mwForm.question.division.assignedSumLabel>Przydzielono</label><md-input-container md-no-float><input type=number class="form-control strict-validation" ng-model=ctrl.divisionSum min={{ctrl.question.quantity}} max={{ctrl.question.quantity}} style="width: 80px" readonly></md-input-container><span>{{ctrl.question.unit}} <span translate=mwForm.question.division.fromRequiredLabel>z wymaganych</span> <strong>{{ctrl.question.quantity}}</strong> {{ctrl.question.unit}} <i ng-show=ctrl.divisionForm.$valid class="fa fa-check" style=color:#008000;></i></span></div></div></div><mw-priority-list ng-switch-when=priority question-response=ctrl.questionResponse question=ctrl.question read-only=ctrl.readOnly></mw-priority-list><div ng-switch-when=number class=form-inline><md-input-container><input class=form-control min={{ctrl.question.min}} max={{ctrl.question.max}} type=number ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=date class=form-inline><md-input-container><input class=form-control type=date ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=datetime class=form-inline><md-input-container><input class=form-control type=datetime ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=time class=form-inline><md-input-container><input class=form-control type=time ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=email class=form-inline><md-input-container><input class=form-control type=email ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=range class=mw-range><md-slider min={{ctrl.question.min}} max={{ctrl.question.max}} type=range ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-disabled=ctrl.readOnly></md-slider><strong class=mw-range-value-label>{{ctrl.questionResponse.answer}}</strong></div><div ng-switch-when=url class=form-inline><md-input-container><input class=form-control type=url ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=star class=stars><input ng-repeat-start="n in [].constructor(ctrl.question.noStars) track by $index" type=radio id="{{\'star\' + (ctrl.question.noStars - $index)}}" ng-model=ctrl.questionResponse.answer ng-value="{{ctrl.question.noStars - $index}}" ng-required=ctrl.question.required> <label for="{{\'star\' + (ctrl.question.noStars - $index)}}" ng-show=!ctrl.readOnly class=star><i class="fa fa-star"></i></label> <span ng-show=ctrl.readOnly class=star><i class="fa fa-star"></i></span> <span ng-repeat-end class=stars-end></span></div></div></div>'),e.put("mw-form-viewer-content.html",'<div class=mw-form-viewer-content><h1 class=form-title>{{ctrl.formData.name}}</h1><div class=mw-title-page ng-if="!ctrl.currentPage && !ctrl.formSubmitted"><div class=mw-form-description>{{ctrl.formData.description}}</div><md-button type=button class="md-raised begin-response-button" ng-click=ctrl.beginResponse() translate=mwForm.buttons.begin>Rozpocznij</md-button></div><div class=mw-form-page ng-if=ctrl.currentPage><h2 class=mw-page-title ng-if="ctrl.currentPage.namedPage && ctrl.currentPage.name">{{ctrl.currentPage.name}}</h2><div class=mw-form-page-element-list><div class=mw-page-element ng-repeat="pageElement in ctrl.currentPage.elements" ng-switch=pageElement.type><mw-form-question ng-switch-when=question question=pageElement.question question-response=ctrl.responseData[pageElement.question.id] read-only=ctrl.readOnly on-response-changed=ctrl.onResponseChanged(pageElement)></mw-form-question><div class=image-element ng-switch-when=image><figure ng-class="\'align-\'+pageElement.image.align"><img ng-src={{pageElement.image.src}} ng-attr-alt=pageElement.image.caption><figcaption ng-if=pageElement.image.caption>{{pageElement.image.caption}}</figcaption></figure></div><div ng-switch-when=paragraph><p ng-bind-html=::ctrl.print(pageElement.paragraph.html)></p></div></div></div></div><mw-form-confirmation-page ng-if=ctrl.formSubmitted confirmation-message=ctrl.formData.confirmationMessage submit-status=ctrl.submitStatus></mw-form-confirmation-page><div class=mw-form-action-list><md-button type=button ng-if=ctrl.buttons.prevPage.visible class="md-raised prev-page-button" ng-click=ctrl.goToPrevPage()><i class="fa fa-chevron-left"></i> <span translate=mwForm.buttons.back>Wstecz</span></md-button><md-button type=button ng-disabled=ctrl.form.$invalid ng-if=ctrl.buttons.nextPage.visible class="md-raised next-page-button" ng-click=ctrl.goToNextPage()><span translate=mwForm.buttons.next>Dalej</span> <i class="fa fa-chevron-right"></i></md-button><md-button type=submit ng-disabled="ctrl.options.disableSubmit || ctrl.form.$invalid" ng-if="ctrl.buttons.submitForm.visible && !ctrl.readOnly" class="md-raised next-page-button" ng-click=ctrl.submitForm()><span translate=mwForm.buttons.submit>Submit</span></md-button></div></div>'),e.put("mw-form-viewer.html","<div class=mw-form-viewer><form ng-if=!ctrl.options.nestedForm name=ctrl.form role=form novalidate ng-include=\"'mw-form-viewer-content.html'\"></form><div ng-if=ctrl.options.nestedForm ng-form=ctrl.form ng-include=\"'mw-form-viewer-content.html'\"></div></div>"),e.put("mw-priority-list.html",'<div class=mw-priority-list><table><thead><tr><th translate=mwForm.question.priority.sorted>Sorted</th><th translate=mwForm.question.priority.available>Available</th></tr></thead><tbody><tr><td class=mw-ordered-items ng-sortable=ctrl.orderedConfig ng-model=ctrl.questionResponse.priorityList><div class=mw-item ng-repeat="item in ctrl.questionResponse.priorityList"><strong>{{$index+1}}.</strong> {{::ctrl.print(ctrl.idToItem[item.id].value)}}</div></td><td class=mw-available-items ng-sortable=ctrl.availableConfig ng-model=ctrl.availableItems><div class=mw-item ng-repeat="item in ctrl.availableItems">{{::ctrl.print(ctrl.idToItem[item.id].value)}}</div></td></tr></tbody></table><input type=hidden ng-model=ctrl.allItemsOrdered ng-required=ctrl.question.required></div>')}]),function(e,t){"object"==typeof exports&&exports&&"string"!=typeof exports.nodeName?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):(e.Mustache={},t(e.Mustache))}(this,function(w){var t=Object.prototype.toString,C=Array.isArray||function(e){return"[object Array]"===t.call(e)};function l(e){return"function"==typeof e}function A(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function s(e,t){return null!=e&&"object"==typeof e&&t in e}var r=RegExp.prototype.test;var i=/\S/;function S(e){return t=i,n=e,!r.call(t,n);var t,n}var n={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};var T=/\s*/,x=/\s+/,k=/\s*=/,E=/\s*\}/,D=/#|\^|\/|>|\{|&|=|!/;function I(e){this.string=e,this.tail=e,this.pos=0}function a(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function e(){this.cache={}}I.prototype.eos=function(){return""===this.tail},I.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},I.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},a.prototype.push=function(e){return new a(e,this)},a.prototype.lookup=function(e){var t,n=this.cache;if(n.hasOwnProperty(e))t=n[e];else{for(var r,i,a=this,o=!1;a;){if(0<e.indexOf("."))for(t=a.view,r=e.split("."),i=0;null!=t&&i<r.length;)i===r.length-1&&(o=s(t,r[i])),t=t[r[i++]];else t=a.view[e],o=s(a.view,e);if(o)break;a=a.parent}n[e]=t}return l(t)&&(t=t.call(this.view)),t},e.prototype.clearCache=function(){this.cache={}},e.prototype.parse=function(e,t){var n=this.cache,r=n[e];return null==r&&(r=n[e]=function(e,t){if(!e)return[];var n,r,i,a=[],o=[],s=[],c=!1,l=!1;function u(){if(c&&!l)for(;s.length;)delete o[s.pop()];else s=[];l=c=!1}function f(e){if("string"==typeof e&&(e=e.split(x,2)),!C(e)||2!==e.length)throw new Error("Invalid tags: "+e);n=new RegExp(A(e[0])+"\\s*"),r=new RegExp("\\s*"+A(e[1])),i=new RegExp("\\s*"+A("}"+e[1]))}f(t||w.tags);for(var d,h,p,m,g,_,b=new I(e);!b.eos();){if(d=b.pos,p=b.scanUntil(n))for(var v=0,y=p.length;v<y;++v)S(m=p.charAt(v))?s.push(o.length):l=!0,o.push(["text",m,d,d+1]),d+=1,"\n"===m&&u();if(!b.scan(n))break;if(c=!0,h=b.scan(D)||"name",b.scan(T),"="===h?(p=b.scanUntil(k),b.scan(k),b.scanUntil(r)):"{"===h?(p=b.scanUntil(i),b.scan(E),b.scanUntil(r),h="&"):p=b.scanUntil(r),!b.scan(r))throw new Error("Unclosed tag at "+b.pos);if(g=[h,p,d,b.pos],o.push(g),"#"===h||"^"===h)a.push(g);else if("/"===h){if(!(_=a.pop()))throw new Error('Unopened section "'+p+'" at '+d);if(_[1]!==p)throw new Error('Unclosed section "'+_[1]+'" at '+d)}else"name"===h||"{"===h||"&"===h?l=!0:"="===h&&f(p)}if(_=a.pop())throw new Error('Unclosed section "'+_[1]+'" at '+b.pos);return function(e){for(var t,n=[],r=n,i=[],a=0,o=e.length;a<o;++a)switch((t=e[a])[0]){case"#":case"^":r.push(t),i.push(t),r=t[4]=[];break;case"/":i.pop()[5]=t[2],r=0<i.length?i[i.length-1][4]:n;break;default:r.push(t)}return n}(function(e){for(var t,n,r=[],i=0,a=e.length;i<a;++i)(t=e[i])&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(r.push(t),n=t));return r}(o))}(e,t)),r},e.prototype.render=function(e,t,n){var r=this.parse(e),i=t instanceof a?t:new a(t);return this.renderTokens(r,i,n,e)},e.prototype.renderTokens=function(e,t,n,r){for(var i,a,o,s="",c=0,l=e.length;c<l;++c)o=void 0,"#"===(a=(i=e[c])[0])?o=this.renderSection(i,t,n,r):"^"===a?o=this.renderInverted(i,t,n,r):">"===a?o=this.renderPartial(i,t,n,r):"&"===a?o=this.unescapedValue(i,t):"name"===a?o=this.escapedValue(i,t):"text"===a&&(o=this.rawValue(i)),void 0!==o&&(s+=o);return s},e.prototype.renderSection=function(e,t,n,r){var i=this,a="",o=t.lookup(e[1]);if(o){if(C(o))for(var s=0,c=o.length;s<c;++s)a+=this.renderTokens(e[4],t.push(o[s]),n,r);else if("object"==typeof o||"string"==typeof o||"number"==typeof o)a+=this.renderTokens(e[4],t.push(o),n,r);else if(l(o)){if("string"!=typeof r)throw new Error("Cannot use higher-order sections without the original template");null!=(o=o.call(t.view,r.slice(e[3],e[5]),function(e){return i.render(e,t,n)}))&&(a+=o)}else a+=this.renderTokens(e[4],t,n,r);return a}},e.prototype.renderInverted=function(e,t,n,r){var i=t.lookup(e[1]);if(!i||C(i)&&0===i.length)return this.renderTokens(e[4],t,n,r)},e.prototype.renderPartial=function(e,t,n){if(n){var r=l(n)?n(e[1]):n[e[1]];return null!=r?this.renderTokens(this.parse(r),t,n,r):void 0}},e.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},e.prototype.escapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return w.escape(n)},e.prototype.rawValue=function(e){return e[1]},w.name="mustache.js",w.version="2.3.2",w.tags=["{{","}}"];var o=new e;return w.clearCache=function(){return o.clearCache()},w.parse=function(e,t){return o.parse(e,t)},w.render=function(e,t,n){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+(C(r=e)?"array":typeof r)+'" was given as the first argument for mustache#render(template, view, partials)');var r;return o.render(e,t,n)},w.to_html=function(e,t,n,r){var i=w.render(e,t,n);if(!l(r))return i;r(i)},w.escape=function(e){return String(e).replace(/[&<>"'`=\/]/g,function(e){return n[e]})},w.Scanner=I,w.Context=a,w.Writer=e,w}),function(e,t){if("function"==typeof define&&define.amd)define(["moment"],t);else if("object"==typeof exports)try{module.exports=t(require("moment"))}catch(e){module.exports=t}e&&(e.momentDurationFormatSetup=e.moment?t(e.moment):t)}(this,function(ee){var te=!1,S=!1,ne=!1,T=!1,re="escape years months weeks days hours minutes seconds milliseconds general".split(" "),ie=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function ae(e,t){return!(t.length>e.length)&&-1!==e.indexOf(t)}function x(e){for(var t="";e;)t+="0",e-=1;return t}function k(e,t){var n=e+"+"+he(ye(t).sort(),function(e){return e+":"+t[e]}).join(",");return k.cache[n]||(k.cache[n]=Intl.NumberFormat(e,t)),k.cache[n]}function oe(e,t,n){var r,i,a,o=t.useToLocaleString,s=t.useGrouping,c=s&&t.grouping.slice(),l=t.maximumSignificantDigits,u=t.minimumIntegerDigits||1,f=t.fractionDigits||0,d=t.groupingSeparator,h=t.decimalSeparator;if(o&&n){var p={minimumIntegerDigits:u,useGrouping:s};if(f&&(p.maximumFractionDigits=f,p.minimumFractionDigits=f),l&&0<e&&(p.maximumSignificantDigits=l),ne){var m;if(!T)(m=ve({},t)).useGrouping=!1,m.decimalSeparator=".",e=parseFloat(oe(e,m),10);return k(n,p).format(e)}return S||((m=ve({},t)).useGrouping=!1,m.decimalSeparator=".",e=parseFloat(oe(e,m),10)),e.toLocaleString(n,p)}var g=(l?e.toPrecision(l+1):e.toFixed(f+1)).split("e");a=g[1]||"",i=(g=g[0].split("."))[1]||"";var _=(r=g[0]||"").length,b=i.length,v=_+b,y=r+i;(l&&v===l+1||!l&&b===f+1)&&((y=function(e){for(var t=e.split("").reverse(),n=0,r=!0;r&&n<t.length;)n?"9"===t[n]?t[n]="0":(t[n]=(parseInt(t[n],10)+1).toString(),r=!1):(parseInt(t[n],10)<5&&(r=!1),t[n]="0"),n+=1;return r&&t.push("1"),t.reverse().join("")}(y)).length===v+1&&(_+=1),b&&(y=y.slice(0,-1)),r=y.slice(0,_),i=y.slice(_)),l&&(i=i.replace(/0*$/,""));var w=parseInt(a,10);0<w?i=i.length<=w?(r+=i+=x(w-i.length),""):(r+=i.slice(0,w),i.slice(w)):w<0&&(i=x(Math.abs(w)-r.length)+r+i,r="0"),l||((i=i.slice(0,f)).length<f&&(i+=x(f-i.length)),r.length<u&&(r=x(u-r.length)+r));var C,A="";if(s)for(g=r;g.length;)c.length&&(C=c.shift()),A&&(A=d+A),A=g.slice(-C)+A,g=g.slice(0,-C);else A=r;return i&&(A=A+h+i),A}function se(e,t){return e.label.length>t.label.length?-1:e.label.length<t.label.length?1:0}k.cache={};var ce={durationLabelsStandard:{S:"millisecond",SS:"milliseconds",s:"second",ss:"seconds",m:"minute",mm:"minutes",h:"hour",hh:"hours",d:"day",dd:"days",w:"week",ww:"weeks",M:"month",MM:"months",y:"year",yy:"years"},durationLabelsShort:{S:"msec",SS:"msecs",s:"sec",ss:"secs",m:"min",mm:"mins",h:"hr",hh:"hrs",d:"dy",dd:"dys",w:"wk",ww:"wks",M:"mo",MM:"mos",y:"yr",yy:"yrs"},durationTimeTemplates:{HMS:"h:mm:ss",HM:"h:mm",MS:"m:ss"},durationLabelTypes:[{type:"standard",string:"__"},{type:"short",string:"_"}],durationPluralKey:function(e,t,n){return 1===t&&null===n?e:e+e}};function le(e){return"[object Array]"===Object.prototype.toString.call(e)}function ue(e){return"[object Object]"===Object.prototype.toString.call(e)}function fe(e,t){var n,r=0,i=e&&e.length||0;for("function"!=typeof t&&(n=t,t=function(e){return e===n});r<i;){if(t(e[r]))return e[r];r+=1}}function de(e,t){var n=0,r=e.length;if(e&&r)for(;n<r;){if(!1===t(e[n],n))return;n+=1}}function he(e,t){var n=0,r=e.length,i=[];if(!e||!r)return i;for(;n<r;)i[n]=t(e[n],n),n+=1;return i}function pe(e,t){return he(e,function(e){return e[t]})}function me(e){var t=[];return de(e,function(e){e&&t.push(e)}),t}function ge(e){var t=[];return de(e,function(e){fe(t,e)||t.push(e)}),t}function _e(e,n){var r=[];return de(e,function(t){de(n,function(e){t===e&&r.push(t)})}),ge(r)}function be(n,r){var i=[];return de(n,function(e,t){if(!r(e))return i=n.slice(t),!1}),i}function ve(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function ye(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function we(e,t){var n=0,r=e.length;if(!e||!r)return!1;for(;n<r;){if(!0===t(e[n],n))return!0;n+=1}return!1}function e(e){return"3.6"===e(3.55,"en",{useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:1,maximumFractionDigits:1})}function t(e){var t=!0;return!!(t=(t=(t=t&&"1"===e(1,"en",{minimumIntegerDigits:1}))&&"01"===e(1,"en",{minimumIntegerDigits:2}))&&"001"===e(1,"en",{minimumIntegerDigits:3}))&&(!!(t=(t=(t=(t=t&&"100"===e(99.99,"en",{maximumFractionDigits:0,minimumFractionDigits:0}))&&"100.0"===e(99.99,"en",{maximumFractionDigits:1,minimumFractionDigits:1}))&&"99.99"===e(99.99,"en",{maximumFractionDigits:2,minimumFractionDigits:2}))&&"99.990"===e(99.99,"en",{maximumFractionDigits:3,minimumFractionDigits:3}))&&(!!(t=(t=(t=(t=(t=t&&"100"===e(99.99,"en",{maximumSignificantDigits:1}))&&"100"===e(99.99,"en",{maximumSignificantDigits:2}))&&"100"===e(99.99,"en",{maximumSignificantDigits:3}))&&"99.99"===e(99.99,"en",{maximumSignificantDigits:4}))&&"99.99"===e(99.99,"en",{maximumSignificantDigits:5}))&&!!(t=(t=t&&"1,000"===e(1e3,"en",{useGrouping:!0}))&&"1000"===e(1e3,"en",{useGrouping:!1}))))}function n(){var n,e=[].slice.call(arguments),r={};if(de(e,function(e,t){if(!t){if(!le(e))throw"Expected array as the first argument to durationsFormat.";n=e}"string"!=typeof e&&"function"!=typeof e?"number"!=typeof e?ue(e)&&ve(r,e):r.precision=e:r.template=e}),!n||!n.length)return[];r.returnMomentTypes=!0;var t,i=he(n,function(e){return e.format(r)}),a=_e(re,ge(pe((t=[],de(i,function(e){t=t.concat(e)}),t),"type"))),o=r.largest;return o&&(a=a.slice(0,o)),r.returnMomentTypes=!1,r.outputTypes=a,he(n,function(e){return e.format(r)})}function r(){var e=[].slice.call(arguments),c=ve({},this.format.defaults),t=this.asMilliseconds(),n=this.asMonths();"function"==typeof this.isValid&&!1===this.isValid()&&(n=t=0);var r=t<0,l=ee.duration(Math.abs(t),"milliseconds"),u=ee.duration(Math.abs(n),"months");de(e,function(e){"string"!=typeof e&&"function"!=typeof e?"number"!=typeof e?ue(e)&&ve(c,e):c.precision=e:c.template=e});var f={years:"y",months:"M",weeks:"w",days:"d",hours:"h",minutes:"m",seconds:"s",milliseconds:"S"},i={escape:/\[(.+?)\]/,years:/\*?[Yy]+/,months:/\*?M+/,weeks:/\*?[Ww]+/,days:/\*?[Dd]+/,hours:/\*?[Hh]+/,minutes:/\*?m+/,seconds:/\*?s+/,milliseconds:/\*?S+/,general:/.+?/};c.types=re;var a=function(t){return fe(re,function(e){return i[e].test(t)})},o=new RegExp(he(re,function(e){return i[e].source}).join("|"),"g");c.duration=this;var s="function"==typeof c.template?c.template.apply(c):c.template,d=c.outputTypes,h=c.returnMomentTypes,p=c.largest,m=[];d||(le(c.stopTrim)&&(c.stopTrim=c.stopTrim.join("")),c.stopTrim&&de(c.stopTrim.match(o),function(e){var t=a(e);"escape"!==t&&"general"!==t&&m.push(t)}));var g=ee.localeData();g||(g={}),de(ye(ce),function(e){"function"!=typeof ce[e]?g["_"+e]||(g["_"+e]=ce[e]):g[e]||(g[e]=ce[e])}),de(ye(g._durationTimeTemplates),function(e){s=s.replace("_"+e+"_",g._durationTimeTemplates[e])});var _=c.userLocale||ee.locale(),b=c.useLeftUnits,v=c.usePlural,y=c.precision,w=c.forceLength,C=c.useGrouping,A=c.trunc,S=c.useSignificantDigits&&0<y,T=S?c.precision:0,x=T,k=c.minValue,E=!1,D=c.maxValue,I=!1,P=c.useToLocaleString,M=c.groupingSeparator,$=c.decimalSeparator,O=c.grouping;P=P&&(te||ne);var R=c.trim;le(R)&&(R=R.join(" ")),null===R&&(p||D||S)&&(R="all"),null!==R&&!0!==R&&"left"!==R&&"right"!==R||(R="large"),!1===R&&(R="");var N=function(e){return e.test(R)},L=/both/,F=/^all|[^sm]all/,G=0<p||we([/large/,L,F],N),j=we([/small/,L,F],N),B=we([/mid/,F],N),U=we([/final/,F],N),H=he(s.match(o),function(e,t){var n=a(e);return"*"===e.slice(0,1)&&(e=e.slice(1),"escape"!==n&&"general"!==n&&m.push(n)),{index:t,length:e.length,text:"",token:"escape"===n?e.replace(i.escape,"$1"):e,type:"escape"===n||"general"===n?null:n}}),W={index:0,length:0,token:"",text:"",type:null},q=[];b&&H.reverse(),de(H,function(e){if(e.type)return(W.type||W.text)&&q.push(W),void(W=e);b?W.text=e.token+W.text:W.text+=e.token}),(W.type||W.text)&&q.push(W),b&&q.reverse();var z=_e(re,ge(me(pe(q,"type"))));if(!z.length)return pe(q,"text").join("");z=he(z,function(t,e){var n,r=e+1===z.length,i=!e;n="years"===t||"months"===t?u.as(t):l.as(t);var a=Math.floor(n),o=n-a,s=fe(q,function(e){return t===e.type});return i&&D&&D<n&&(I=!0),r&&k&&Math.abs(c.duration.as(t))<k&&(E=!0),i&&null===w&&1<s.length&&(w=!0),l.subtract(a,t),u.subtract(a,t),{rawValue:n,wholeValue:a,decimalValue:r?o:0,isSmallest:r,isLargest:i,type:t,tokenLength:s.length}});var V,Y=A?Math.floor:Math.round,K=function(e,t){var n=Math.pow(10,t);return Y(e*n)/n},Q=!1,X=!1,Z=function(e,t){var n={useGrouping:C,groupingSeparator:M,decimalSeparator:$,grouping:O,useToLocaleString:P};return S&&(T<=0?(e.rawValue=0,e.wholeValue=0,e.decimalValue=0):(n.maximumSignificantDigits=T,e.significantDigits=T)),I&&!X&&(e.isLargest?e.wholeValue=D:e.wholeValue=0,e.decimalValue=0),E&&!X&&(e.isSmallest?e.wholeValue=k:e.wholeValue=0,e.decimalValue=0),e.isSmallest||e.significantDigits&&e.significantDigits-e.wholeValue.toString().length<=0?y<0?e.value=K(e.wholeValue,y):0===y?e.value=Y(e.wholeValue+e.decimalValue):S?(e.value=A?K(e.rawValue,T-e.wholeValue.toString().length):e.rawValue,e.wholeValue&&(T-=e.wholeValue.toString().length)):(n.fractionDigits=y,e.value=A?e.wholeValue+K(e.decimalValue,y):e.wholeValue+e.decimalValue):S&&e.wholeValue?(e.value=Math.round(K(e.wholeValue,e.significantDigits-e.wholeValue.toString().length)),T-=e.wholeValue.toString().length):e.value=e.wholeValue,1<e.tokenLength&&(w||Q)&&(n.minimumIntegerDigits=e.tokenLength,X&&n.maximumSignificantDigits<e.tokenLength&&delete n.maximumSignificantDigits),!Q&&(0<e.value||""===R||fe(m,e.type)||fe(d,e.type))&&(Q=!0),e.formattedValue=oe(e.value,n,_),n.useGrouping=!1,n.decimalSeparator=".",e.formattedValueEn=oe(e.value,n,"en"),2===e.tokenLength&&"milliseconds"===e.type&&(e.formattedValueMS=oe(e.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),e};if(1<(z=me(z=he(z,Z))).length){var J=function(t){return fe(z,function(e){return e.type===t})};de(ie,function(e){var n=J(e.type);n&&de(e.targets,function(e){var t=J(e.type);t&&parseInt(n.formattedValueEn,10)===e.value&&(n.rawValue=0,n.wholeValue=0,n.decimalValue=0,t.rawValue+=1,t.wholeValue+=1,t.decimalValue=0,t.formattedValueEn=t.wholeValue.toString(),X=!0)})})}return X&&(Q=!1,T=x,z=me(z=he(z,Z))),!d||I&&!c.trim?(G&&(z=be(z,function(e){return!e.isSmallest&&!e.wholeValue&&!fe(m,e.type)})),p&&z.length&&(z=z.slice(0,p)),j&&1<z.length&&(V=function(e){return!e.wholeValue&&!fe(m,e.type)&&!e.isLargest},z=be(z.slice().reverse(),V).reverse()),B&&(z=me(z=he(z,function(e,t){return 0<t&&t<z.length-1&&!e.wholeValue?null:e}))),!U||1!==z.length||z[0].wholeValue||!A&&z[0].isSmallest&&z[0].rawValue<k||(z=[])):z=me(z=he(z,function(t){return fe(d,function(e){return t.type===e})?t:null})),h?z:(de(q,function(n){var e=f[n.type],t=fe(z,function(e){return e.type===n.type});if(e&&t){var r=t.formattedValueEn.split(".");r[0]=parseInt(r[0],10),r[1]?r[1]=parseFloat("0."+r[1],10):r[1]=null;var i,a,o,s=g.durationPluralKey(e,r[0],r[1]),c=(i=e,o=[],de(ye(a=g),function(t){if("_durationLabels"===t.slice(0,15)){var n=t.slice(15).toLowerCase();de(ye(a[t]),function(e){e.slice(0,1)===i&&o.push({type:n,key:e,label:a[t][e]})})}}),o),l=!1,u={};de(g._durationLabelTypes,function(t){var e=fe(c,function(e){return e.type===t.type&&e.key===s});e&&(u[e.type]=e.label,ae(n.text,t.string)&&(n.text=n.text.replace(t.string,e.label),l=!0))}),v&&!l&&(c.sort(se),de(c,function(e){return u[e.type]===e.label?!ae(n.text,e.label)&&void 0:ae(n.text,e.label)?(n.text=n.text.replace(e.label,u[e.type]),!1):void 0}))}}),(q=he(q,function(t){if(!t.type)return t.text;var e=fe(z,function(e){return e.type===t.type});if(!e)return"";var n="";return b&&(n+=t.text),(r&&I||!r&&E)&&(n+="< ",E=I=!1),(r&&E||!r&&I)&&(n+="> ",E=I=!1),r&&(0<e.value||""===R||fe(m,e.type)||fe(d,e.type))&&(n+="-",r=!1),"milliseconds"===t.type&&e.formattedValueMS?n+=e.formattedValueMS:n+=e.formattedValue,b||(n+=t.text),n})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function i(){var t=this.duration,e=function(e){return t._data[e]},n=fe(this.types,e),r=function(e,t){for(var n=e.length;n-=1;)if(t(e[n]))return e[n]}(this.types,e);switch(n){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(n===r)return"d __";case"weeks":return n===r?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(n===r)return"M __";case"years":return n===r?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function a(e){if(!e)throw"Moment Duration Format init cannot find moment instance.";e.duration.format=n,e.duration.fn.format=r,e.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:i,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},e.updateLocale("en",ce)}var o=function(e,t,n){return e.toLocaleString(t,n)};te=function(){try{(0).toLocaleString("i")}catch(e){return"RangeError"===e.name}return!1}()&&t(o),S=te&&e(o);var s=function(e,t,n){if("undefined"!=typeof window&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(t,n).format(e)};return ne=t(s),T=ne&&e(s),a(ee),a}),function(t,o,e){"use strict";if(t&&o){var a=t.navigator.msPointerEnabled;r.prototype={on:function(e,t){e=e.toLowerCase(),this.events.hasOwnProperty(e)||(this.events[e]=[]),this.events[e].push(t)},off:function(e,t){var n,r,i;void 0!==e?(e=e.toLowerCase(),void 0!==t?this.events.hasOwnProperty(e)&&(n=this.events[e],r=t,-1<(i=n.indexOf(r))&&n.splice(i,1)):delete this.events[e]):this.events={}},fire:function(e,t){t=Array.prototype.slice.call(arguments),e=e.toLowerCase();var n=!1;return this.events.hasOwnProperty(e)&&d(this.events[e],function(e){n=!1===e.apply(this,t.slice(1))||n},this),"catchall"!=e&&(t.unshift("catchAll"),n=!1===this.fire.apply(this,t)||n),!n},webkitReadDataTransfer:function(e){var t=this,r=e.dataTransfer.items.length,n=[];function i(e,t){e.relativePath=t.substring(1),n.push(e),o()}function a(e){throw o(),e}function o(){0==--r&&t.addFiles(n,e)}d(e.dataTransfer.items,function(e){var t=e.webkitGetAsEntry();t?t.isFile?i(e.getAsFile(),t.fullPath):function n(t){t.readEntries(function(e){e.length?(r+=e.length,d(e,function(e){if(e.isFile){var t=e.fullPath;e.file(function(e){i(e,t)},a)}else e.isDirectory&&n(e.createReader())}),n(t)):o()},a)}(t.createReader()):o()})},generateUniqueIdentifier:function(e){var t=this.opts.generateUniqueIdentifier;if("function"==typeof t)return t(e);var n=e.relativePath||e.webkitRelativePath||e.fileName||e.name;return e.size+"-"+n.replace(/[^0-9a-zA-Z_-]/gim,"")},uploadNextChunk:function(e){var t=!1;if(this.opts.prioritizeFirstAndLastChunk&&(d(this.files,function(e){return!e.paused&&e.chunks.length&&"pending"===e.chunks[0].status()?(e.chunks[0].send(),!(t=!0)):!e.paused&&1<e.chunks.length&&"pending"===e.chunks[e.chunks.length-1].status()?(e.chunks[e.chunks.length-1].send(),!(t=!0)):void 0}),t))return t;if(d(this.files,function(e){if(e.paused||d(e.chunks,function(e){if("pending"===e.status())return e.send(),!(t=!0)}),t)return!1}),t)return!0;var n=!1;return d(this.files,function(e){if(!e.isComplete())return!(n=!0)}),n||e||u(function(){this.fire("complete")},this),!1},assignBrowse:function(e,r,i,a){e instanceof Element&&(e=[e]),d(e,function(e){var n;"INPUT"===e.tagName&&"file"===e.type?n=e:((n=o.createElement("input")).setAttribute("type","file"),f(n.style,{visibility:"hidden",position:"absolute",width:"1px",height:"1px"}),e.appendChild(n),e.addEventListener("click",function(){n.click()},!1)),this.opts.singleFile||i||n.setAttribute("multiple","multiple"),r&&n.setAttribute("webkitdirectory","webkitdirectory"),d(a,function(e,t){n.setAttribute(t,e)});var t=this;n.addEventListener("change",function(e){e.target.value&&(t.addFiles(e.target.files,e),e.target.value="")},!1)},this)},assignDrop:function(e){void 0===e.length&&(e=[e]),d(e,function(e){e.addEventListener("dragover",this.preventEvent,!1),e.addEventListener("dragenter",this.preventEvent,!1),e.addEventListener("drop",this.onDrop,!1)},this)},unAssignDrop:function(e){void 0===e.length&&(e=[e]),d(e,function(e){e.removeEventListener("dragover",this.preventEvent),e.removeEventListener("dragenter",this.preventEvent),e.removeEventListener("drop",this.onDrop)},this)},isUploading:function(){var t=!1;return d(this.files,function(e){if(e.isUploading())return!(t=!0)}),t},_shouldUploadNext:function(){var t=0,n=!0,r=this.opts.simultaneousUploads;return d(this.files,function(e){d(e.chunks,function(e){if("uploading"===e.status()&&r<=++t)return n=!1})}),n&&t},upload:function(){var e=this._shouldUploadNext();if(!1!==e){this.fire("uploadStart");for(var t=!1,n=1;n<=this.opts.simultaneousUploads-e;n++)t=this.uploadNextChunk(!0)||t;t||u(function(){this.fire("complete")},this)}},resume:function(){d(this.files,function(e){e.isComplete()||e.resume()})},pause:function(){d(this.files,function(e){e.pause()})},cancel:function(){for(var e=this.files.length-1;0<=e;e--)this.files[e].cancel()},progress:function(){var t=0,n=0;return d(this.files,function(e){t+=e.progress()*e.size,n+=e.size}),0<n?t/n:0},addFile:function(e,t){this.addFiles([e],t)},addFiles:function(e,r){var i=[];d(e,function(e){if((!a||a&&0<e.size)&&(e.size%4096!=0||"."!==e.name&&"."!==e.fileName)){var t=this.generateUniqueIdentifier(e);if(this.opts.allowDuplicateUploads||!this.getFromUniqueIdentifier(t)){var n=new s(this,e,t);this.fire("fileAdded",n,r)&&i.push(n)}}},this),this.fire("filesAdded",i,r)&&(d(i,function(e){this.opts.singleFile&&0<this.files.length&&this.removeFile(this.files[0]),this.files.push(e)},this),this.fire("filesSubmitted",i,r))},removeFile:function(e){for(var t=this.files.length-1;0<=t;t--)this.files[t]===e&&(this.files.splice(t,1),e.abort(),this.fire("fileRemoved",e))},getFromUniqueIdentifier:function(t){var n=!1;return d(this.files,function(e){e.uniqueIdentifier===t&&(n=e)}),n},getSize:function(){var t=0;return d(this.files,function(e){t+=e.size}),t},sizeUploaded:function(){var t=0;return d(this.files,function(e){t+=e.sizeUploaded()}),t},timeRemaining:function(){var t=0,n=0;return d(this.files,function(e){e.paused||e.error||(t+=e.size-e.sizeUploaded(),n+=e.averageSpeed)}),t&&!n?Number.POSITIVE_INFINITY:t||n?Math.floor(t/n):0}},s.prototype={measureSpeed:function(){var e=Date.now()-this._lastProgressCallback;if(e){var t=this.flowObj.opts.speedSmoothingFactor,n=this.sizeUploaded();this.currentSpeed=Math.max((n-this._prevUploadedSize)/e*1e3,0),this.averageSpeed=t*this.currentSpeed+(1-t)*this.averageSpeed,this._prevUploadedSize=n}},chunkEvent:function(e,t,n){switch(t){case"progress":if(Date.now()-this._lastProgressCallback<this.flowObj.opts.progressCallbacksInterval)break;this.measureSpeed(),this.flowObj.fire("fileProgress",this,e),this.flowObj.fire("progress"),this._lastProgressCallback=Date.now();break;case"error":this.error=!0,this.abort(!0),this.flowObj.fire("fileError",this,n,e),this.flowObj.fire("error",n,this,e);break;case"success":if(this.error)return;this.measureSpeed(),this.flowObj.fire("fileProgress",this,e),this.flowObj.fire("progress"),this._lastProgressCallback=Date.now(),this.isComplete()&&(this.currentSpeed=0,this.averageSpeed=0,this.flowObj.fire("fileSuccess",this,n,e));break;case"retry":this.flowObj.fire("fileRetry",this,e)}},pause:function(){this.paused=!0,this.abort()},resume:function(){this.paused=!1,this.flowObj.upload()},abort:function(e){this.currentSpeed=0,this.averageSpeed=0;var t=this.chunks;e&&(this.chunks=[]),d(t,function(e){"uploading"===e.status()&&(e.abort(),this.flowObj.uploadNextChunk())},this)},cancel:function(){this.flowObj.removeFile(this)},retry:function(){this.bootstrap(),this.flowObj.upload()},bootstrap:function(){"function"==typeof this.flowObj.opts.initFileFn&&this.flowObj.opts.initFileFn(this),this.abort(!0),this.error=!1,this._prevProgress=0;var e=this.flowObj.opts.forceChunkSize?Math.ceil:Math.floor;this.chunkSize=l(this.flowObj.opts.chunkSize,this);for(var t=Math.max(e(this.size/this.chunkSize),1),n=0;n<t;n++)this.chunks.push(new c(this.flowObj,this,n))},progress:function(){if(this.error)return 1;if(1===this.chunks.length)return this._prevProgress=Math.max(this._prevProgress,this.chunks[0].progress()),this._prevProgress;var t=0;d(this.chunks,function(e){t+=e.progress()*(e.endByte-e.startByte)});var e=t/this.size;return this._prevProgress=Math.max(this._prevProgress,.9999<e?1:e),this._prevProgress},isUploading:function(){var t=!1;return d(this.chunks,function(e){if("uploading"===e.status())return!(t=!0)}),t},isComplete:function(){var n=!1;return d(this.chunks,function(e){var t=e.status();if("pending"===t||"uploading"===t||"reading"===t||1===e.preprocessState||1===e.readState)return!(n=!0)}),!n},sizeUploaded:function(){var t=0;return d(this.chunks,function(e){t+=e.sizeUploaded()}),t},timeRemaining:function(){if(this.paused||this.error)return 0;var e=this.size-this.sizeUploaded();return e&&!this.averageSpeed?Number.POSITIVE_INFINITY:e||this.averageSpeed?Math.floor(e/this.averageSpeed):0},getType:function(){return this.file.type&&this.file.type.split("/")[1]},getExtension:function(){return this.name.substr(2+(~-this.name.lastIndexOf(".")>>>0)).toLowerCase()}},c.prototype={getParams:function(){return{flowChunkNumber:this.offset+1,flowChunkSize:this.chunkSize,flowCurrentChunkSize:this.endByte-this.startByte,flowTotalSize:this.fileObj.size,flowIdentifier:this.fileObj.uniqueIdentifier,flowFilename:this.fileObj.name,flowRelativePath:this.fileObj.relativePath,flowTotalChunks:this.fileObj.chunks.length}},getTarget:function(e,t){return 0==t.length?e:(e.indexOf("?")<0?e+="?":e+="&",e+t.join("&"))},test:function(){this.xhr=new XMLHttpRequest,this.xhr.addEventListener("load",this.testHandler,!1),this.xhr.addEventListener("error",this.testHandler,!1);var e=l(this.flowObj.opts.testMethod,this.fileObj,this),t=this.prepareXhrRequest(e,!0);this.xhr.send(t)},preprocessFinished:function(){this.endByte=this.computeEndByte(),this.preprocessState=2,this.send()},readFinished:function(e){this.readState=2,this.bytes=e,this.send()},send:function(){var e=this.flowObj.opts.preprocess,t=this.flowObj.opts.readFileFn;if("function"==typeof e)switch(this.preprocessState){case 0:return this.preprocessState=1,void e(this);case 1:return}switch(this.readState){case 0:return this.readState=1,void t(this.fileObj,this.startByte,this.endByte,this.fileObj.file.type,this);case 1:return}if(!this.flowObj.opts.testChunks||this.tested){this.loaded=0,this.total=0,this.pendingRetry=!1,this.xhr=new XMLHttpRequest,this.xhr.upload.addEventListener("progress",this.progressHandler,!1),this.xhr.addEventListener("load",this.doneHandler,!1),this.xhr.addEventListener("error",this.doneHandler,!1);var n=l(this.flowObj.opts.uploadMethod,this.fileObj,this),r=this.prepareXhrRequest(n,!1,this.flowObj.opts.method,this.bytes),i=this.flowObj.opts.changeRawDataBeforeSend;"function"==typeof i&&(r=i(this,r)),this.xhr.send(r)}else this.test()},abort:function(){var e=this.xhr;this.xhr=null,e&&e.abort()},status:function(e){return 1===this.readState?"reading":this.pendingRetry||1===this.preprocessState?"uploading":this.xhr?this.xhr.readyState<4?"uploading":-1<this.flowObj.opts.successStatuses.indexOf(this.xhr.status)?"success":-1<this.flowObj.opts.permanentErrors.indexOf(this.xhr.status)||!e&&this.retries>=this.flowObj.opts.maxChunkRetries?"error":(this.abort(),"pending"):"pending"},message:function(){return this.xhr?this.xhr.responseText:""},progress:function(){if(this.pendingRetry)return 0;var e=this.status();return"success"===e||"error"===e?1:"pending"===e?0:0<this.total?this.loaded/this.total:0},sizeUploaded:function(){var e=this.endByte-this.startByte;return"success"!==this.status()&&(e=this.progress()*e),e},prepareXhrRequest:function(e,t,n,r){var i=l(this.flowObj.opts.query,this.fileObj,this,t);i=f(i||{},this.getParams());var a=l(this.flowObj.opts.target,this.fileObj,this,t),o=null;if("GET"===e||"octet"===n){var s=[];d(i,function(e,t){s.push([encodeURIComponent(t),encodeURIComponent(e)].join("="))}),a=this.getTarget(a,s),o=r||null}else o=new FormData,d(i,function(e,t){o.append(t,e)}),void 0!==r&&o.append(this.flowObj.opts.fileParameterName,r,this.filename||this.fileObj.file.name);return this.xhr.open(e,a,!0),this.xhr.withCredentials=this.flowObj.opts.withCredentials,d(l(this.flowObj.opts.headers,this.fileObj,this,t),function(e,t){this.xhr.setRequestHeader(t,e)},this),o}},r.evalOpts=l,r.extend=f,r.each=d,r.FlowFile=s,r.FlowChunk=c,r.version="2.14.1","object"==typeof module&&module&&"object"==typeof module.exports?module.exports=r:(t.Flow=r,"function"==typeof define&&define.amd&&define("flow",[],function(){return r}))}else console.warn("Flowjs needs window and document objects to work");function r(e){if(this.support=!("undefined"==typeof File||"undefined"==typeof Blob||"undefined"==typeof FileList||!Blob.prototype.slice&&!Blob.prototype.webkitSlice&&!Blob.prototype.mozSlice),this.support){this.supportDirectory=/Chrome/.test(t.navigator.userAgent)||/Firefox/.test(t.navigator.userAgent)||/Edge/.test(t.navigator.userAgent),this.files=[],this.defaults={chunkSize:1048576,forceChunkSize:!1,simultaneousUploads:3,singleFile:!1,fileParameterName:"file",progressCallbacksInterval:500,speedSmoothingFactor:.1,query:{},headers:{},withCredentials:!1,preprocess:null,changeRawDataBeforeSend:null,method:"multipart",testMethod:"GET",uploadMethod:"POST",prioritizeFirstAndLastChunk:!1,allowDuplicateUploads:!1,target:"/",testChunks:!0,generateUniqueIdentifier:null,maxChunkRetries:0,chunkRetryInterval:null,permanentErrors:[404,413,415,500,501],successStatuses:[200,201,202],onDropStopPropagation:!1,initFileFn:null,readFileFn:i},this.opts={},this.events={};var n=this;this.onDrop=function(e){n.opts.onDropStopPropagation&&e.stopPropagation(),e.preventDefault();var t=e.dataTransfer;t.items&&t.items[0]&&t.items[0].webkitGetAsEntry?n.webkitReadDataTransfer(e):n.addFiles(t.files,e)},this.preventEvent=function(e){e.preventDefault()},this.opts=r.extend({},this.defaults,e||{})}}function s(e,t,n){this.flowObj=e,this.bytes=null,this.file=t,this.name=t.fileName||t.name,this.size=t.size,this.relativePath=t.relativePath||t.webkitRelativePath||this.name,this.uniqueIdentifier=void 0===n?e.generateUniqueIdentifier(t):n,this.chunkSize=0,this.chunks=[],this.paused=!1,this.error=!1,this.averageSpeed=0,this.currentSpeed=0,this._lastProgressCallback=Date.now(),this._prevUploadedSize=0,this._prevProgress=0,this.bootstrap()}function i(e,t,n,r,i){var a="slice";e.file.slice?a="slice":e.file.mozSlice?a="mozSlice":e.file.webkitSlice&&(a="webkitSlice"),i.readFinished(e.file[a](t,n,r))}function c(e,t,n){this.flowObj=e,this.fileObj=t,this.offset=n,this.tested=!1,this.retries=0,this.pendingRetry=!1,this.preprocessState=0,this.readState=0,this.loaded=0,this.total=0,this.chunkSize=this.fileObj.chunkSize,this.startByte=this.offset*this.chunkSize,this.filename=null,this.computeEndByte=function(){var e=Math.min(this.fileObj.size,(this.offset+1)*this.chunkSize);return this.fileObj.size-e<this.chunkSize&&!this.flowObj.opts.forceChunkSize&&(e=this.fileObj.size),e},this.endByte=this.computeEndByte(),this.xhr=null;var r=this;this.event=function(e,t){(t=Array.prototype.slice.call(arguments)).unshift(r),r.fileObj.chunkEvent.apply(r.fileObj,t)},this.progressHandler=function(e){e.lengthComputable&&(r.loaded=e.loaded,r.total=e.total),r.event("progress",e)},this.testHandler=function(e){var t=r.status(!0);"error"===t?(r.event(t,r.message()),r.flowObj.uploadNextChunk()):"success"===t?(r.tested=!0,r.event(t,r.message()),r.flowObj.uploadNextChunk()):r.fileObj.paused||(r.tested=!0,r.send())},this.doneHandler=function(e){var t=r.status();if("success"===t||"error"===t)delete this.data,r.event(t,r.message()),r.flowObj.uploadNextChunk();else if(!r.fileObj.paused){r.event("retry",r.message()),r.pendingRetry=!0,r.abort(),r.retries++;var n=r.flowObj.opts.chunkRetryInterval;null!==n?setTimeout(function(){r.send()},n):r.send()}}}function l(e,t){return"function"==typeof e&&(t=Array.prototype.slice.call(arguments),e=e.apply(null,t.slice(1))),e}function u(e,t){setTimeout(e.bind(t),0)}function f(n,e){return d(arguments,function(e){e!==n&&d(e,function(e,t){n[t]=e})}),n}function d(e,t,n){var r;if(e)if(void 0!==e.length){for(r=0;r<e.length;r++)if(!1===t.call(n,e[r],r))return}else for(r in e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r))return}}("undefined"!=typeof window&&window,"undefined"!=typeof document&&document),angular.module("flow.provider",[]).provider("flowFactory",function(){"use strict";this.defaults={},this.factory=function(e){return new Flow(e)},this.events=[],this.on=function(e,t){this.events.push([e,t])},this.$get=function(){var n=this.factory,r=this.defaults,i=this.events;return{create:function(e){var t=n(angular.extend({},r,e));return angular.forEach(i,function(e){t.on(e[0],e[1])}),t}}}}),angular.module("flow.init",["flow.provider"]).controller("flowCtrl",["$scope","$attrs","$parse","flowFactory",function(r,e,t,n){var i=angular.extend({},r.$eval(e.flowInit)),a=r.$eval(e.flowObject)||n.create(i),o=function(e){var t=Array.prototype.slice.call(arguments);t.shift();var n=r.$broadcast.apply(r,["flow::"+e,a].concat(t));if({progress:1,filesSubmitted:1,fileSuccess:1,fileError:1,complete:1}[e]&&r.$applyAsync(),n.defaultPrevented)return!1};a.on("catchAll",o),r.$on("$destroy",function(){a.off("catchAll",o)}),r.$flow=a,e.hasOwnProperty("flowName")&&(t(e.flowName).assign(r,a),r.$on("$destroy",function(){t(e.flowName).assign(r)}))}]).directive("flowInit",[function(){return{scope:!0,controller:"flowCtrl"}}]),angular.module("flow.btn",["flow.init"]).directive("flowBtn",[function(){return{restrict:"EA",scope:!1,require:"^flowInit",link:function(e,t,n){var r=n.hasOwnProperty("flowDirectory"),i=n.hasOwnProperty("flowSingleFile"),a=n.hasOwnProperty("flowAttrs")&&e.$eval(n.flowAttrs);e.$flow.assignBrowse(t,r,i,a)}}}]),angular.module("flow.dragEvents",["flow.init"]).directive("flowPreventDrop",function(){return{scope:!1,link:function(e,t,n){t.bind("drop dragover",function(e){e.preventDefault()})}}}).directive("flowDragEnter",["$timeout",function(c){return{scope:!1,link:function(i,e,a){var o,s=!1;e.bind("dragover",function(e){var t,n,r;(n=!1,r=(t=e).dataTransfer||t.originalEvent.dataTransfer,angular.forEach(r&&r.types,function(e){"Files"===e&&(n=!0)}),n)&&(s||(i.$apply(a.flowDragEnter),s=!0),c.cancel(o),e.preventDefault())}),e.bind("dragleave drop",function(e){c.cancel(o),o=c(function(){i.$eval(a.flowDragLeave),o=null,s=!1},100)})}}}]),angular.module("flow.drop",["flow.init"]).directive("flowDrop",function(){return{scope:!1,require:"^flowInit",link:function(t,n,e){function r(){t.$flow.assignDrop(n)}e.flowDropEnabled?t.$watch(e.flowDropEnabled,function(e){e?r():t.$flow.unAssignDrop(n)}):r()}}}),function(s){"use strict";var n=s.module("flow.events",["flow.init"]);s.forEach({fileSuccess:["$file","$message"],fileProgress:["$file"],fileAdded:["$file","$event"],filesAdded:["$files","$event"],filesSubmitted:["$files","$event"],fileRetry:["$file"],fileRemoved:["$file"],fileError:["$file","$message"],uploadStart:[],complete:[],progress:[],error:["$message","$file"]},function(a,e){var t,o="flow"+((t=e).charAt(0).toUpperCase()+t.slice(1));"flowUploadStart"==o&&(o="flowUploadStarted"),n.directive(o,[function(){return{require:"^flowInit",controller:["$scope","$attrs",function(t,i){t.$on("flow::"+e,function(){var n=Array.prototype.slice.call(arguments),e=n.shift();if(t.$flow===n.shift()){var r={};s.forEach(a,function(e,t){r[e]=n[t]}),!1===t.$eval(i[o],r)&&e.preventDefault()}})}]}}])})}(angular),angular.module("flow.img",["flow.init"]).directive("flowImg",[function(){return{scope:!1,require:"^flowInit",link:function(n,e,r){var t=r.flowImg;n.$watch(t,function(e){if(e){var t=new FileReader;t.readAsDataURL(e.file),t.onload=function(e){n.$apply(function(){r.$set("src",e.target.result)})}}})}}}]),angular.module("flow.transfers",["flow.init"]).directive("flowTransfers",[function(){return{scope:!0,require:"^flowInit",link:function(e){e.transfers=e.$flow.files}}}]),angular.module("flow",["flow.provider","flow.init","flow.events","flow.btn","flow.drop","flow.transfers","flow.img","flow.dragEvents"]),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("$logger",[],t):"object"==typeof exports?exports.$logger=t():e.$logger=t()}(this,function(){return function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}return i.m=n,i.c=r,i.p="",i(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}}(r);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(11);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n(13);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(9);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var s=n(10);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})})},function(e,_,t){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.track=_.flush=_.tracking=_.buffer=void 0,_.getTransport=function(){return A},_.setTransport=function(e){A=e},_.print=c,_.immediateFlush=n,_.log=i,_.prefix=function(n){return{debug:function(e,t){return i("debug",n+"_"+e,t)},info:function(e,t){return i("info",n+"_"+e,t)},warn:function(e,t){return i("warn",n+"_"+e,t)},error:function(e,t){return i("error",n+"_"+e,t)},track:function(e){return o(e)},flush:function(){return r()}}},_.debug=function(e,t){return i("debug",e,t)},_.info=function(e,t){return i("info",e,t)},_.warn=function(e,t){return i("warn",e,t)},_.error=function(e,t){return i("error",e,t)};var b=t(3),v=t(9),y=t(10),w=_.buffer=[],C=_.tracking=[],A=function(e,t,n){return(0,b.ajax)("post",y.config.uri,e,t,n)};var a=!1;function c(e,t,n){if("undefined"!=typeof window&&window.console&&window.console.log){if(!a)return setTimeout(function(){return c(e,t,n)},1);var r=y.config.logLevel;if(window.LOG_LEVEL&&(r=window.LOG_LEVEL),!(y.logLevels.indexOf(e)>y.logLevels.indexOf(r))){n=n||{};var i=[t];(0,b.isIE)()&&(n=JSON.stringify(n)),i.push(n),(n.error||n.warning)&&i.push("\n\n",n.error||n.warning);try{window.console[e]&&window.console[e].apply?window.console[e].apply(window.console,i):window.console.log&&window.console.log.apply&&window.console.log.apply(window.console,i)}catch(e){}}}}function n(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).fireAndForget,t=void 0!==e&&e;if("undefined"!=typeof window&&y.config.uri){var n=w.length,r=C.length;if(n||r){var i={},a=v.metaBuilders,o=Array.isArray(a),s=0;for(a=o?a:a[Symbol.iterator]();;){var c;if(o){if(s>=a.length)break;c=a[s++]}else{if((s=a.next()).done)break;c=s.value}var l=c;try{(0,b.extend)(i,l(i),!1)}catch(e){console.error("Error in custom meta builder:",e.stack||e.toString())}}var u={},f=v.headerBuilders,d=Array.isArray(f),h=0;for(f=d?f:f[Symbol.iterator]();;){var p;if(d){if(h>=f.length)break;p=f[h++]}else{if((h=f.next()).done)break;p=h.value}var m=p;try{(0,b.extend)(u,m(u),!1)}catch(e){console.error("Error in custom header builder:",e.stack||e.toString())}}var g=A(u,{events:w,meta:i,tracking:C},{fireAndForget:t});return _.buffer=w=[],_.tracking=C=[],g}}}setTimeout(function(){a=!0},1);var r=(0,b.promiseDebounce)(n,y.config.debounceInterval);function l(e,t,n){w.push({level:e,event:t,payload:n}),-1<y.config.autoLog.indexOf(e)&&r()}function i(e,t,n){if("undefined"!=typeof window){y.config.prefix&&(t=y.config.prefix+"_"+t),"string"==typeof(n=n||{})?n={message:n}:n instanceof Error&&(n={error:n.stack||n.toString()});try{JSON.stringify(n)}catch(e){return}n.timestamp=Date.now();var r=v.payloadBuilders,i=Array.isArray(r),a=0;for(r=i?r:r[Symbol.iterator]();;){var o;if(i){if(a>=r.length)break;o=r[a++]}else{if((a=r.next()).done)break;o=a.value}var s=o;try{(0,b.extend)(n,s(n),!1)}catch(e){console.error("Error in custom payload builder:",e.stack||e.toString())}}y.config.silent||c(e,t,n),w.length===y.config.sizeLimit?l("info","logger_max_buffer_length"):w.length<y.config.sizeLimit&&l(e,t,n)}}function o(e){if("undefined"!=typeof window&&e){try{JSON.stringify(e)}catch(e){return}var t=v.trackingBuilders,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if((r=t.next()).done)break;i=r.value}var a=i;try{(0,b.extend)(e,a(e),!1)}catch(e){console.error("Error in custom tracking builder:",e.stack||e.toString())}}c("debug","tracking",e),C.push(e)}}_.flush=r,_.track=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extend=function(e,t){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];for(var r in e=e||{},t=t||{})t.hasOwnProperty(r)&&(!n&&e.hasOwnProperty(r)||(e[r]=t[r]));return e},t.isSameProtocol=u,t.isSameDomain=f,t.ajax=function(i,a){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},e=(4<arguments.length&&void 0!==arguments[4]?arguments[4]:{}).fireAndForget,c=void 0!==e&&e;return new l.ZalgoPromise(function(e){var t=window.XMLHttpRequest||window.ActiveXObject;if(window.XDomainRequest&&!f(a)){if(!u(a))return e();t=window.XDomainRequest}var n=new t("MSXML2.XMLHTTP.3.0");if(n.open(i.toUpperCase(),a,!0),"function"==typeof n.setRequestHeader)for(var r in n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.setRequestHeader("Content-type","application/json"),o)o.hasOwnProperty(r)&&n.setRequestHeader(r,o[r]);c?e():n.onreadystatechange=function(){3<n.readyState&&e()},n.send(JSON.stringify(s).replace(/&/g,"%26"))})},t.promiseDebounce=function(r,e){var i={};return function(){var n=arguments;return i.timeout&&(clearTimeout(i.timeout),delete i.timeout),i.timeout=setTimeout(function(){var e=i.resolver,t=i.rejector;return delete i.promise,delete i.resolver,delete i.rejector,delete i.timeout,l.ZalgoPromise.resolve().then(function(){return r.apply(null,n)}).then(e,t)},e),i.promise=i.promise||new l.ZalgoPromise(function(e,t){i.resolver=e,i.rejector=t}),i.promise}},t.onWindowReady=function(){return new l.ZalgoPromise(function(e){"undefined"!=typeof document&&"complete"===document.readyState&&e(),window.addEventListener("load",e)})},t.safeInterval=function(t,n){var r=void 0;return function e(){r=setTimeout(function(){t(),e()},n)}(),{cancel:function(){clearTimeout(r)}}},t.uniqueID=function(){var e="0123456789abcdef";return"xxxxxxxxxx".replace(/./g,function(){return e.charAt(Math.floor(Math.random()*e.length))})},t.isIE=function(){return Boolean(window.document.documentMode)};var l=n(4);function u(e){return window.location.protocol===e.split("/")[0]}function f(e){var t=e.match(/https?:\/\/[^/]+/);return!t||t[0]===window.location.protocol+"//"+window.location.host}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);Object.defineProperty(t,"ZalgoPromise",{enumerable:!0,get:function(){return r.ZalgoPromise}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZalgoPromise=void 0;var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),f=n(6),i=n(7),d=n(8);var a=function(){function u(e){var t=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),this.resolved=!1,this.rejected=!1,this.errorHandled=!1,this.handlers=[],e){var n=void 0,r=void 0,i=!1,a=!1,o=!1;(0,d.startActive)();try{e(function(e){o?t.resolve(e):(i=!0,n=e)},function(e){o?t.reject(e):(a=!0,r=e)})}catch(e){return(0,d.endActive)(),void this.reject(e)}(0,d.endActive)(),o=!0,i?this.resolve(n):a&&this.reject(r)}}return r(u,[{key:"resolve",value:function(e){if(this.resolved||this.rejected)return this;if((0,f.isPromise)(e))throw new Error("Can not resolve promise with another promise");return this.resolved=!0,this.value=e,this.dispatch(),this}},{key:"reject",value:function(e){var t=this;if(this.resolved||this.rejected)return this;if((0,f.isPromise)(e))throw new Error("Can not reject promise with another promise");if(!e){var n=e&&"function"==typeof e.toString?e.toString():Object.prototype.toString.call(e);e=new Error("Expected reject to be called with Error, got "+n)}return this.rejected=!0,this.error=e,this.errorHandled||setTimeout(function(){t.errorHandled||(0,i.dispatchPossiblyUnhandledError)(e,t)},1),this.dispatch(),this}},{key:"asyncReject",value:function(e){return this.errorHandled=!0,this.reject(e),this}},{key:"dispatch",value:function(){var o=this,e=this.dispatching,s=this.resolved,c=this.rejected,l=this.handlers;if(!e&&(s||c)){this.dispatching=!0,(0,d.startActive)();for(var t=function(e){var t=l[e],n=t.onSuccess,r=t.onError,i=t.promise,a=void 0;if(s)try{a=n?n(o.value):o.value}catch(e){return i.reject(e),"continue"}else if(c){if(!r)return i.reject(o.error),"continue";try{a=r(o.error)}catch(e){return i.reject(e),"continue"}}a instanceof u&&(a.resolved||a.rejected)?(a.resolved?i.resolve(a.value):i.reject(a.error),a.errorHandled=!0):(0,f.isPromise)(a)?a instanceof u&&(a.resolved||a.rejected)?a.resolved?i.resolve(a.value):i.reject(a.error):a.then(function(e){i.resolve(e)},function(e){i.reject(e)}):i.resolve(a)},n=0;n<l.length;n++)t(n);l.length=0,this.dispatching=!1,(0,d.endActive)()}}},{key:"then",value:function(e,t){if(e&&"function"!=typeof e&&!e.call)throw new Error("Promise.then expected a function for success handler");if(t&&"function"!=typeof t&&!t.call)throw new Error("Promise.then expected a function for error handler");var n=new u;return this.handlers.push({promise:n,onSuccess:e,onError:t}),this.errorHandled=!0,this.dispatch(),n}},{key:"catch",value:function(e){return this.then(void 0,e)}},{key:"finally",value:function(t){if(t&&"function"!=typeof t&&!t.call)throw new Error("Promise.finally expected a function");return this.then(function(e){return u.try(t).then(function(){return e})},function(e){return u.try(t).then(function(){throw e})})}},{key:"timeout",value:function(e,t){var n=this;if(this.resolved||this.rejected)return this;var r=setTimeout(function(){n.resolved||n.rejected||n.reject(t||new Error("Promise timed out after "+e+"ms"))},e);return this.then(function(e){return clearTimeout(r),e})}},{key:"toPromise",value:function(){if("undefined"==typeof Promise)throw new TypeError("Could not find Promise");return Promise.resolve(this)}}],[{key:"resolve",value:function(n){return n instanceof u?n:(0,f.isPromise)(n)?new u(function(e,t){return n.then(e,t)}):(new u).resolve(n)}},{key:"reject",value:function(e){return(new u).reject(e)}},{key:"asyncReject",value:function(e){return(new u).asyncReject(e)}},{key:"all",value:function(n){var r=new u,i=n.length,a=[];if(!i)return r.resolve(a),r;for(var e=function(t){var e=n[t];if(e instanceof u){if(e.resolved)return a[t]=e.value,i-=1,"continue"}else if(!(0,f.isPromise)(e))return a[t]=e,i-=1,"continue";u.resolve(e).then(function(e){a[t]=e,0===(i-=1)&&r.resolve(a)},function(e){r.reject(e)})},t=0;t<n.length;t++)e(t);return 0===i&&r.resolve(a),r}},{key:"hash",value:function(e){var n={};return u.all(Object.keys(e).map(function(t){return u.resolve(e[t]).then(function(e){n[t]=e})})).then(function(){return n})}},{key:"map",value:function(e,t){return u.all(e.map(t))}},{key:"onPossiblyUnhandledException",value:function(e){return(0,i.onPossiblyUnhandledException)(e)}},{key:"try",value:function(e,t,n){if(e&&"function"!=typeof e&&!e.call)throw new Error("Promise.try expected a function");var r=void 0;(0,d.startActive)();try{r=e.apply(t,n||[])}catch(e){return(0,d.endActive)(),u.reject(e)}return(0,d.endActive)(),u.resolve(r)}},{key:"delay",value:function(t){return new u(function(e){setTimeout(e,t)})}},{key:"isPromise",value:function(e){return!!(e&&e instanceof u)||(0,f.isPromise)(e)}},{key:"flush",value:function(){return(0,d.awaitActive)(u)}}]),u}();t.ZalgoPromise=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){try{if(!e)return!1;if("undefined"!=typeof Promise&&e instanceof Promise)return!0;if("undefined"!=typeof window&&window.Window&&e instanceof window.Window)return!1;if("undefined"!=typeof window&&window.constructor&&e instanceof window.constructor)return!1;var t={}.toString;if(t){var n=t.call(e);if("[object Window]"===n||"[object global]"===n||"[object DOMWindow]"===n)return!1}if("function"==typeof e.then)return!0}catch(e){return!1}return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchPossiblyUnhandledError=function(e,t){if(-1!==r.indexOf(e))return;r.push(e),setTimeout(function(){throw e},1);for(var n=0;n<i.length;n++)i[n](e,t)},t.onPossiblyUnhandledException=function(e){return i.push(e),{cancel:function(){i.splice(i.indexOf(e),1)}}};var r=[],i=[]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startActive=function(){n+=1},t.endActive=function(){n-=1,i()},t.awaitActive=function(e){var t=r=r||new e;return i(),t};var n=0,r=void 0;function i(){if(!n&&r){var e=r;r=null,e.resolve()}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPayloadBuilder=function(e){n.push(e)},t.addMetaBuilder=function(e){r.push(e)},t.addTrackingBuilder=function(e){i.push(e)},t.addHeaderBuilder=function(e){a.push(e)};var n=t.payloadBuilders=[],r=t.metaBuilders=[],i=t.trackingBuilders=[],a=t.headerBuilders=[]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.config={uri:"",prefix:"",initial_state_name:"init",flushInterval:6e5,debounceInterval:10,sizeLimit:300,silent:!1,heartbeat:!0,heartbeatConsoleLog:!0,heartbeatInterval:5e3,heartbeatTooBusy:!1,heartbeatTooBusyThreshold:1e4,logLevel:"warn",autoLog:["warn","error"],logUnload:!0,logPerformance:!0},t.logLevels=["error","warn","info","debug"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(e){if((0,i.extend)(r.config,e||{}),s)return;s=!0,r.config.logPerformance&&(0,a.initPerformance)();r.config.heartbeat&&(0,a.initHeartBeat)();r.config.logUnload&&(window.addEventListener("beforeunload",function(){(0,o.info)("window_beforeunload"),(0,o.immediateFlush)({fireAndForget:!0})}),window.addEventListener("unload",function(){(0,o.info)("window_unload"),(0,o.immediateFlush)({fireAndForget:!0})}));r.config.flushInterval&&setInterval(o.flush,r.config.flushInterval);window.beaverLogQueue&&(window.beaverLogQueue.forEach(function(e){(0,o.log)(e.level,e.event,e)}),delete window.beaverLogQueue)};var r=n(10),i=n(3),a=n(12),o=n(2),s=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reqTimer=t.clientTimer=void 0,t.now=c,t.reqStartElapsed=u,t.initHeartBeat=function(){var r=l(),i=0;(0,s.safeInterval)(function(){if(!(a.config.heartbeatMaxThreshold&&i>a.config.heartbeatMaxThreshold)){i+=1;var e=r.elapsed(),t=e-a.config.heartbeatInterval,n={count:i,elapsed:e};a.config.heartbeatTooBusy&&(n.lag=t)>=a.config.heartbeatTooBusyThreshold&&(0,o.info)("toobusy",n,{noConsole:!a.config.heartbeatConsoleLog}),(0,o.info)("heartbeat",n,{noConsole:!a.config.heartbeatConsoleLog})}},a.config.heartbeatInterval)},t.initPerformance=function(){if(!i)return(0,o.info)("no_performance_data");(0,r.addPayloadBuilder)(function(){var e={};return e.client_elapsed=f.elapsed(),i&&(e.req_elapsed=d.elapsed()),e}),(0,s.onWindowReady)().then(function(){var n={};["connectEnd","connectStart","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domainLookupEnd","domainLookupStart","fetchStart","loadEventEnd","loadEventStart","navigationStart","redirectEnd","redirectStart","requestStart","responseEnd","responseStart","secureConnectionStart","unloadEventEnd","unloadEventStart"].forEach(function(e){n[e]=parseInt(window.performance.timing[e],10)||0});var r=n.connectEnd-n.navigationStart;n.connectEnd&&Object.keys(n).forEach(function(e){var t=n[e];t&&(0,o.info)("timing_"+e,{client_elapsed:parseInt(t-n.connectEnd-(f.startTime-r),10),req_elapsed:parseInt(t-n.connectEnd,10)})}),(0,o.info)("timing",n),(0,o.info)("memory",window.performance.memory),(0,o.info)("navigation",window.performance.navigation),window.performance.getEntries&&window.performance.getEntries().forEach(function(e){-1<["link","script","img","css"].indexOf(e.initiatorType)&&(0,o.info)(e.initiatorType,e)})})};var a=n(10),o=n(2),r=n(9),s=n(3),i=window&&window.performance&&performance.now&&performance.timing&&performance.timing.connectEnd&&performance.timing.navigationStart&&1e3<Math.abs(performance.now()-Date.now())&&0<performance.now()-(performance.timing.connectEnd-performance.timing.navigationStart);function c(){return i?performance.now():Date.now()}function l(e){return{startTime:e=void 0!==e?e:c(),elapsed:function(){return parseInt(c()-e,10)},reset:function(){e=c()}}}function u(){if(i){var e=window.performance.timing;return parseInt(e.connectEnd-e.navigationStart,10)}}var f=t.clientTimer=l(),d=t.reqTimer=l(u())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startTransition=d,t.endTransition=h,t.transition=function(e){d(),h(e)};var i=n(12),a=n(2),r=n(9),o=n(3),s=n(10),c=(0,o.uniqueID)(),l=(0,o.uniqueID)(),u=s.config.initial_state_name,f=void 0;function d(){f=(0,i.now)()}function h(e){f=f||(0,i.reqStartElapsed)();var t=(0,i.now)(),n=void 0;void 0!==f&&(n=parseInt(t-f,0));var r="transition_"+u+"_to_"+e;(0,a.info)(r,{duration:n}),(0,a.track)({transition:r,transition_time:n}),(0,a.immediateFlush)(),f=t,u=e,l=(0,o.uniqueID)()}(0,r.addPayloadBuilder)(function(){return{windowID:c,pageID:l}}),(0,r.addMetaBuilder)(function(){return{state:"ui_"+u}})}])});
\ No newline at end of file
+if(function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(A,e){var t=[],S=A.document,u=t.slice,m=t.concat,s=t.push,i=t.indexOf,n={},r=n.toString,p=n.hasOwnProperty,g={},a="2.2.4",T=function(e,t){return new T.fn.init(e,t)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,c=/^-ms-/,l=/-([\da-z])/gi,f=function(e,t){return t.toUpperCase()};function d(e){var t=!!e&&"length"in e&&e.length,n=T.type(e);return"function"!==n&&!T.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}T.fn=T.prototype={jquery:a,constructor:T,selector:"",length:0,toArray:function(){return u.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:u.call(this)},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return T.each(this,e)},map:function(n){return this.pushStack(T.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:t.sort,splice:t.splice},T.extend=T.fn.extend=function(){var e,t,n,r,i,a,o=arguments[0]||{},s=1,c=arguments.length,l=!1;for("boolean"==typeof o&&(l=o,o=arguments[s]||{},s++),"object"==typeof o||T.isFunction(o)||(o={}),s===c&&(o=this,s--);s<c;s++)if(null!=(e=arguments[s]))for(t in e)n=o[t],o!==(r=e[t])&&(l&&r&&(T.isPlainObject(r)||(i=T.isArray(r)))?(a=i?(i=!1,n&&T.isArray(n)?n:[]):n&&T.isPlainObject(n)?n:{},o[t]=T.extend(l,a,r)):void 0!==r&&(o[t]=r));return o},T.extend({expando:"jQuery"+(a+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===T.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){var t=e&&e.toString();return!T.isArray(e)&&0<=t-parseFloat(t)+1},isPlainObject:function(e){var t;if("object"!==T.type(e)||e.nodeType||T.isWindow(e))return!1;if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype||{},"isPrototypeOf"))return!1;for(t in e);return void 0===t||p.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[r.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;(e=T.trim(e))&&(1===e.indexOf("use strict")?((t=S.createElement("script")).text=e,S.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(c,"ms-").replace(l,f)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(d(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(o,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(d(Object(e))?T.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,a=e.length,o=!n;i<a;i++)!t(e[i],i)!==o&&r.push(e[i]);return r},map:function(e,t,n){var r,i,a=0,o=[];if(d(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&o.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&o.push(i);return m.apply([],o)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),T.isFunction(e))return r=u.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(u.call(arguments)))}).guid=e.guid=e.guid||T.guid++,i},now:Date.now,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=t[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var h=function(n){var e,p,y,a,i,m,f,g,w,c,l,C,A,o,S,_,s,u,b,T="sizzle"+1*new Date,v=n.document,x=0,r=0,d=ie(),h=ie(),k=ie(),E=function(e,t){return e===t&&(l=!0),0},D={}.hasOwnProperty,t=[],I=t.pop,P=t.push,M=t.push,$=t.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",L="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",F="\\["+N+"*("+L+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+N+"*\\]",G=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",j=new RegExp(N+"+","g"),B=new RegExp("^"+N+"+|((?:^|[^\\\\])(?:\\\\.)*)"+N+"+$","g"),U=new RegExp("^"+N+"*,"+N+"*"),H=new RegExp("^"+N+"*([>+~]|"+N+")"+N+"*"),W=new RegExp("="+N+"*([^\\]'\"]*?)"+N+"*\\]","g"),q=new RegExp(G),z=new RegExp("^"+L+"$"),V={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+G),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+N+"*(even|odd|(([+-]|)(\\d*)n|)"+N+"*(?:([+-]|)"+N+"*(\\d+)|))"+N+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+N+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+N+"*((?:-\\d)?\\d*)"+N+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,J=/'|\\/g,ee=new RegExp("\\\\([\\da-f]{1,6}"+N+"?|("+N+")|.)","ig"),te=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},ne=function(){C()};try{M.apply(t=$.call(v.childNodes),v.childNodes),t[v.childNodes.length].nodeType}catch(e){M={apply:t.length?function(e,t){P.apply(e,$.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function re(e,t,n,r){var i,a,o,s,c,l,u,f,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:v)!==A&&C(t),t=t||A,S)){if(11!==h&&(l=X.exec(e)))if(i=l[1]){if(9===h){if(!(o=t.getElementById(i)))return n;if(o.id===i)return n.push(o),n}else if(d&&(o=d.getElementById(i))&&b(t,o)&&o.id===i)return n.push(o),n}else{if(l[2])return M.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&p.getElementsByClassName&&t.getElementsByClassName)return M.apply(n,t.getElementsByClassName(i)),n}if(p.qsa&&!k[e+" "]&&(!_||!_.test(e))){if(1!==h)d=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(J,"\\$&"):t.setAttribute("id",s=T),a=(u=m(e)).length,c=z.test(s)?"#"+s:"[id='"+s+"']";a--;)u[a]=c+" "+pe(u[a]);f=u.join(","),d=Z.test(e)&&de(t.parentNode)||t}if(f)try{return M.apply(n,d.querySelectorAll(f)),n}catch(e){}finally{s===T&&t.removeAttribute("id")}}}return g(e.replace(B,"$1"),t,n,r)}function ie(){var r=[];return function e(t,n){return r.push(t+" ")>y.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function ae(e){return e[T]=!0,e}function oe(e){var t=A.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function se(e,t){for(var n=e.split("|"),r=n.length;r--;)y.attrHandle[n[r]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||1<<31)-(~e.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function le(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ue(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function fe(o){return ae(function(a){return a=+a,ae(function(e,t){for(var n,r=o([],e.length,a),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function de(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in p=re.support={},i=re.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},C=re.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:v;return r!==A&&9===r.nodeType&&r.documentElement&&(o=(A=r).documentElement,S=!i(A),(n=A.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ne,!1):n.attachEvent&&n.attachEvent("onunload",ne)),p.attributes=oe(function(e){return e.className="i",!e.getAttribute("className")}),p.getElementsByTagName=oe(function(e){return e.appendChild(A.createComment("")),!e.getElementsByTagName("*").length}),p.getElementsByClassName=Q.test(A.getElementsByClassName),p.getById=oe(function(e){return o.appendChild(e).id=T,!A.getElementsByName||!A.getElementsByName(T).length}),p.getById?(y.find.ID=function(e,t){if(void 0!==t.getElementById&&S){var n=t.getElementById(e);return n?[n]:[]}},y.filter.ID=function(e){var t=e.replace(ee,te);return function(e){return e.getAttribute("id")===t}}):(delete y.find.ID,y.filter.ID=function(e){var n=e.replace(ee,te);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}}),y.find.TAG=p.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):p.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,a=t.getElementsByTagName(e);if("*"!==e)return a;for(;n=a[i++];)1===n.nodeType&&r.push(n);return r},y.find.CLASS=p.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&S)return t.getElementsByClassName(e)},s=[],_=[],(p.qsa=Q.test(A.querySelectorAll))&&(oe(function(e){o.appendChild(e).innerHTML="<a id='"+T+"'></a><select id='"+T+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&_.push("[*^$]="+N+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||_.push("\\["+N+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+T+"-]").length||_.push("~="),e.querySelectorAll(":checked").length||_.push(":checked"),e.querySelectorAll("a#"+T+"+*").length||_.push(".#.+[+~]")}),oe(function(e){var t=A.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&_.push("name"+N+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||_.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),_.push(",.*:")})),(p.matchesSelector=Q.test(u=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&oe(function(e){p.disconnectedMatch=u.call(e,"div"),u.call(e,"[s!='']:x"),s.push("!=",G)}),_=_.length&&new RegExp(_.join("|")),s=s.length&&new RegExp(s.join("|")),t=Q.test(o.compareDocumentPosition),b=t||Q.test(o.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!p.sortDetached&&t.compareDocumentPosition(e)===n?e===A||e.ownerDocument===v&&b(v,e)?-1:t===A||t.ownerDocument===v&&b(v,t)?1:c?O(c,e)-O(c,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,a=t.parentNode,o=[e],s=[t];if(!i||!a)return e===A?-1:t===A?1:i?-1:a?1:c?O(c,e)-O(c,t):0;if(i===a)return ce(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;o[r]===s[r];)r++;return r?ce(o[r],s[r]):o[r]===v?-1:s[r]===v?1:0}),A},re.matches=function(e,t){return re(e,null,null,t)},re.matchesSelector=function(e,t){if((e.ownerDocument||e)!==A&&C(e),t=t.replace(W,"='$1']"),p.matchesSelector&&S&&!k[t+" "]&&(!s||!s.test(t))&&(!_||!_.test(t)))try{var n=u.call(e,t);if(n||p.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return 0<re(t,A,null,[e]).length},re.contains=function(e,t){return(e.ownerDocument||e)!==A&&C(e),b(e,t)},re.attr=function(e,t){(e.ownerDocument||e)!==A&&C(e);var n=y.attrHandle[t.toLowerCase()],r=n&&D.call(y.attrHandle,t.toLowerCase())?n(e,t,!S):void 0;return void 0!==r?r:p.attributes||!S?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},re.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},re.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!p.detectDuplicates,c=!p.sortStable&&e.slice(0),e.sort(E),l){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return c=null,e},a=re.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=a(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=a(t);return n},(y=re.selectors={cacheLength:50,createPseudo:ae,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ee,te),e[3]=(e[3]||e[4]||e[5]||"").replace(ee,te),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||re.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&re.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&q.test(n)&&(t=m(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ee,te).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=d[e+" "];return t||(t=new RegExp("(^|"+N+")"+e+"("+N+"|$)"))&&d(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=re.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(j," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(p,e,t,m,g){var _="nth"!==p.slice(0,3),b="last"!==p.slice(-4),v="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,n){var r,i,a,o,s,c,l=_!==b?"nextSibling":"previousSibling",u=e.parentNode,f=v&&e.nodeName.toLowerCase(),d=!n&&!v,h=!1;if(u){if(_){for(;l;){for(o=e;o=o[l];)if(v?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;c=l="only"===p&&!c&&"nextSibling"}return!0}if(c=[b?u.firstChild:u.lastChild],b&&d){for(h=(s=(r=(i=(a=(o=u)[T]||(o[T]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]||[])[0]===x&&r[1])&&r[2],o=s&&u.childNodes[s];o=++s&&o&&o[l]||(h=s=0)||c.pop();)if(1===o.nodeType&&++h&&o===e){i[p]=[x,s,h];break}}else if(d&&(h=s=(r=(i=(a=(o=e)[T]||(o[T]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]||[])[0]===x&&r[1]),!1===h)for(;(o=++s&&o&&o[l]||(h=s=0)||c.pop())&&((v?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++h||(d&&((i=(a=o[T]||(o[T]={}))[o.uniqueID]||(a[o.uniqueID]={}))[p]=[x,h]),o!==e)););return(h-=g)===m||h%m==0&&0<=h/m}}},PSEUDO:function(e,a){var t,o=y.pseudos[e]||y.setFilters[e.toLowerCase()]||re.error("unsupported pseudo: "+e);return o[T]?o(a):1<o.length?(t=[e,e,"",a],y.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,t){for(var n,r=o(e,a),i=r.length;i--;)e[n=O(e,r[i])]=!(t[n]=r[i])}):function(e){return o(e,0,t)}):o}},pseudos:{not:ae(function(e){var r=[],i=[],s=f(e.replace(B,"$1"));return s[T]?ae(function(e,t,n,r){for(var i,a=s(e,null,r,[]),o=e.length;o--;)(i=a[o])&&(e[o]=!(t[o]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:ae(function(t){return function(e){return 0<re(t,e).length}}),contains:ae(function(t){return t=t.replace(ee,te),function(e){return-1<(e.textContent||e.innerText||a(e)).indexOf(t)}}),lang:ae(function(n){return z.test(n||"")||re.error("unsupported lang: "+n),n=n.replace(ee,te).toLowerCase(),function(e){var t;do{if(t=S?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===o},focus:function(e){return e===A.activeElement&&(!A.hasFocus||A.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!y.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:fe(function(){return[0]}),last:fe(function(e,t){return[t-1]}),eq:fe(function(e,t,n){return[n<0?n+t:n]}),even:fe(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:fe(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:fe(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:fe(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=y.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})y.pseudos[e]=le(e);for(e in{submit:!0,reset:!0})y.pseudos[e]=ue(e);function he(){}function pe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(s,e,t){var c=e.dir,l=t&&"parentNode"===c,u=r++;return e.first?function(e,t,n){for(;e=e[c];)if(1===e.nodeType||l)return s(e,t,n)}:function(e,t,n){var r,i,a,o=[x,u];if(n){for(;e=e[c];)if((1===e.nodeType||l)&&s(e,t,n))return!0}else for(;e=e[c];)if(1===e.nodeType||l){if((r=(i=(a=e[T]||(e[T]={}))[e.uniqueID]||(a[e.uniqueID]={}))[c])&&r[0]===x&&r[1]===u)return o[2]=r[2];if((i[c]=o)[2]=s(e,t,n))return!0}}}function ge(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function _e(e,t,n,r,i){for(var a,o=[],s=0,c=e.length,l=null!=t;s<c;s++)(a=e[s])&&(n&&!n(a,r,i)||(o.push(a),l&&t.push(s)));return o}function be(h,p,m,g,_,e){return g&&!g[T]&&(g=be(g)),_&&!_[T]&&(_=be(_,e)),ae(function(e,t,n,r){var i,a,o,s=[],c=[],l=t.length,u=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)re(e,t[r],n);return n}(p||"*",n.nodeType?[n]:n,[]),f=!h||!e&&p?u:_e(u,s,h,n,r),d=m?_||(e?h:l||g)?[]:t:f;if(m&&m(f,d,n,r),g)for(i=_e(d,c),g(i,[],n,r),a=i.length;a--;)(o=i[a])&&(d[c[a]]=!(f[c[a]]=o));if(e){if(_||h){if(_){for(i=[],a=d.length;a--;)(o=d[a])&&i.push(f[a]=o);_(null,d=[],i,r)}for(a=d.length;a--;)(o=d[a])&&-1<(i=_?O(e,o):s[a])&&(e[i]=!(t[i]=o))}}else d=_e(d===t?d.splice(l,d.length):d),_?_(null,t,d,r):M.apply(t,d)})}function ve(e){for(var i,t,n,r=e.length,a=y.relative[e[0].type],o=a||y.relative[" "],s=a?1:0,c=me(function(e){return e===i},o,!0),l=me(function(e){return-1<O(i,e)},o,!0),u=[function(e,t,n){var r=!a&&(n||t!==w)||((i=t).nodeType?c(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=y.relative[e[s].type])u=[me(ge(u),t)];else{if((t=y.filter[e[s].type].apply(null,e[s].matches))[T]){for(n=++s;n<r&&!y.relative[e[n].type];n++);return be(1<s&&ge(u),1<s&&pe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(B,"$1"),t,s<n&&ve(e.slice(s,n)),n<r&&ve(e=e.slice(n)),n<r&&pe(e))}u.push(t)}return ge(u)}return he.prototype=y.filters=y.pseudos,y.setFilters=new he,m=re.tokenize=function(e,t){var n,r,i,a,o,s,c,l=h[e+" "];if(l)return t?0:l.slice(0);for(o=e,s=[],c=y.preFilter;o;){for(a in n&&!(r=U.exec(o))||(r&&(o=o.slice(r[0].length)||o),s.push(i=[])),n=!1,(r=H.exec(o))&&(n=r.shift(),i.push({value:n,type:r[0].replace(B," ")}),o=o.slice(n.length)),y.filter)!(r=V[a].exec(o))||c[a]&&!(r=c[a](r))||(n=r.shift(),i.push({value:n,type:a,matches:r}),o=o.slice(n.length));if(!n)break}return t?o.length:o?re.error(e):h(e,s).slice(0)},f=re.compile=function(e,t){var n,g,_,b,v,r,i=[],a=[],o=k[e+" "];if(!o){for(t||(t=m(e)),n=t.length;n--;)(o=ve(t[n]))[T]?i.push(o):a.push(o);(o=k(e,(g=a,b=0<(_=i).length,v=0<g.length,r=function(e,t,n,r,i){var a,o,s,c=0,l="0",u=e&&[],f=[],d=w,h=e||v&&y.find.TAG("*",i),p=x+=null==d?1:Math.random()||.1,m=h.length;for(i&&(w=t===A||t||i);l!==m&&null!=(a=h[l]);l++){if(v&&a){for(o=0,t||a.ownerDocument===A||(C(a),n=!S);s=g[o++];)if(s(a,t||A,n)){r.push(a);break}i&&(x=p)}b&&((a=!s&&a)&&c--,e&&u.push(a))}if(c+=l,b&&l!==c){for(o=0;s=_[o++];)s(u,f,t,n);if(e){if(0<c)for(;l--;)u[l]||f[l]||(f[l]=I.call(r));f=_e(f)}M.apply(r,f),i&&!e&&0<f.length&&1<c+_.length&&re.uniqueSort(r)}return i&&(x=p,w=d),u},b?ae(r):r))).selector=e}return o},g=re.select=function(e,t,n,r){var i,a,o,s,c,l="function"==typeof e&&e,u=!r&&m(e=l.selector||e);if(n=n||[],1===u.length){if(2<(a=u[0]=u[0].slice(0)).length&&"ID"===(o=a[0]).type&&p.getById&&9===t.nodeType&&S&&y.relative[a[1].type]){if(!(t=(y.find.ID(o.matches[0].replace(ee,te),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(a.shift().value.length)}for(i=V.needsContext.test(e)?0:a.length;i--&&(o=a[i],!y.relative[s=o.type]);)if((c=y.find[s])&&(r=c(o.matches[0].replace(ee,te),Z.test(a[0].type)&&de(t.parentNode)||t))){if(a.splice(i,1),!(e=r.length&&pe(a)))return M.apply(n,r),n;break}}return(l||f(e,u))(r,t,!S,n,!t||Z.test(e)&&de(t.parentNode)||t),n},p.sortStable=T.split("").sort(E).join("")===T,p.detectDuplicates=!!l,C(),p.sortDetached=oe(function(e){return 1&e.compareDocumentPosition(A.createElement("div"))}),oe(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||se("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),p.attributes&&oe(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||se("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),oe(function(e){return null==e.getAttribute("disabled")})||se(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),re}(A);T.find=h,T.expr=h.selectors,T.expr[":"]=T.expr.pseudos,T.uniqueSort=T.unique=h.uniqueSort,T.text=h.getText,T.isXMLDoc=h.isXML,T.contains=h.contains;var _=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&T(e).is(n))break;r.push(e)}return r},b=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},v=T.expr.match.needsContext,y=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function C(e,n,r){if(T.isFunction(n))return T.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return T.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(w.test(n))return T.filter(n,e,r);n=T.filter(n,e)}return T.grep(e,function(e){return-1<i.call(n,e)!==r})}T.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?T.find.matchesSelector(r,e)?[r]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<n;t++)if(T.contains(i[t],this))return!0}));for(t=0;t<n;t++)T.find(e,i[t],r);return(r=this.pushStack(1<n?T.unique(r):r)).selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(C(this,e||[],!1))},not:function(e){return this.pushStack(C(this,e||[],!0))},is:function(e){return!!C(this,"string"==typeof e&&v.test(e)?T(e):e||[],!1).length}});var x,k=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(T.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||x,"string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):T.isFunction(e)?void 0!==n.ready?n.ready(e):e(T):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),T.makeArray(e,this));if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:k.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:S,!0)),y.test(r[1])&&T.isPlainObject(t))for(r in t)T.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=S.getElementById(r[2]))&&i.parentNode&&(this.length=1,this[0]=i),this.context=S,this.selector=e,this}).prototype=T.fn,x=T(S);var E=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,a=[],o=v.test(e)||"string"!=typeof e?T(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&T.find.matchesSelector(n,e))){a.push(n);break}return this.pushStack(1<a.length?T.uniqueSort(a):a)},index:function(e){return e?"string"==typeof e?i.call(T(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return b((e.parentNode||{}).firstChild,e)},children:function(e){return b(e.firstChild)},contents:function(e){return e.contentDocument||T.merge([],e.childNodes)}},function(r,i){T.fn[r]=function(e,t){var n=T.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=T.filter(t,n)),1<this.length&&(D[r]||T.uniqueSort(n),E.test(r)&&n.reverse()),this.pushStack(n)}});var P,M=/\S+/g;function $(){S.removeEventListener("DOMContentLoaded",$),A.removeEventListener("load",$),T.ready()}T.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},T.each(e.match(M)||[],function(e,t){n[t]=!0}),n):T.extend({},r);var i,t,a,o,s=[],c=[],l=-1,u=function(){for(o=r.once,a=i=!0;c.length;l=-1)for(t=c.shift();++l<s.length;)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1);r.memory||(t=!1),i=!1,o&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,c.push(t)),function n(e){T.each(e,function(e,t){T.isFunction(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==T.type(t)&&n(t)})}(arguments),t&&!i&&u()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;-1<(n=T.inArray(t,s,n));)s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<T.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return o=c=[],s=t="",this},disabled:function(){return!s},lock:function(){return o=c=[],t||(s=t=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),i||u()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!a}};return f},T.extend({Deferred:function(e){var a=[["resolve","done",T.Callbacks("once memory"),"resolved"],["reject","fail",T.Callbacks("once memory"),"rejected"],["notify","progress",T.Callbacks("memory")]],i="pending",o={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var i=arguments;return T.Deferred(function(r){T.each(a,function(e,t){var n=T.isFunction(i[e])&&i[e];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&T.isFunction(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this===o?r.promise():this,n?[e]:arguments)})}),i=null}).promise()},promise:function(e){return null!=e?T.extend(e,o):o}},s={};return o.pipe=o.then,T.each(a,function(e,t){var n=t[2],r=t[3];o[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),s[t[0]]=function(){return s[t[0]+"With"](this===s?o:this,arguments),this},s[t[0]+"With"]=n.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){var i,t,n,r=0,a=u.call(arguments),o=a.length,s=1!==o||e&&T.isFunction(e.promise)?o:0,c=1===s?e:T.Deferred(),l=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?u.call(arguments):e,r===i?c.notifyWith(n,r):--s||c.resolveWith(n,r)}};if(1<o)for(i=new Array(o),t=new Array(o),n=new Array(o);r<o;r++)a[r]&&T.isFunction(a[r].promise)?a[r].promise().progress(l(r,t,i)).done(l(r,n,a)).fail(c.reject):--s;return s||c.resolveWith(n,a),c.promise()}}),T.fn.ready=function(e){return T.ready.promise().done(e),this},T.extend({isReady:!1,readyWait:1,holdReady:function(e){e?T.readyWait++:T.ready(!0)},ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||(P.resolveWith(S,[T]),T.fn.triggerHandler&&(T(S).triggerHandler("ready"),T(S).off("ready")))}}),T.ready.promise=function(e){return P||(P=T.Deferred(),"complete"===S.readyState||"loading"!==S.readyState&&!S.documentElement.doScroll?A.setTimeout(T.ready):(S.addEventListener("DOMContentLoaded",$),A.addEventListener("load",$))),P.promise(e)},T.ready.promise();var O=function(e,t,n,r,i,a,o){var s=0,c=e.length,l=null==n;if("object"===T.type(n))for(s in i=!0,n)O(e,t,s,n[s],!0,a,o);else if(void 0!==r&&(i=!0,T.isFunction(r)||(o=!0),l&&(t=o?(t.call(e,r),null):(l=t,function(e,t,n){return l.call(T(e),n)})),t))for(;s<c;s++)t(e[s],n,o?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):c?t(e[0],n):a},R=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function N(){this.expando=T.expando+N.uid++}N.uid=1,N.prototype={register:function(e,t){var n=t||{};return e.nodeType?e[this.expando]=n:Object.defineProperty(e,this.expando,{value:n,writable:!0,configurable:!0}),e[this.expando]},cache:function(e){if(!R(e))return{};var t=e[this.expando];return t||(t={},R(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[t]=n;else for(r in t)i[r]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?void 0!==(r=this.get(e,t))?r:this.get(e,T.camelCase(t)):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,a=e[this.expando];if(void 0!==a){if(void 0===t)this.register(e);else{n=(r=T.isArray(t)?t.concat(t.map(T.camelCase)):(i=T.camelCase(t),t in a?[t,i]:(r=i)in a?[r]:r.match(M)||[])).length;for(;n--;)delete a[r[n]]}(void 0===t||T.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var L=new N,F=new N,G=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,j=/[A-Z]/g;function B(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(j,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:G.test(n)?T.parseJSON(n):n)}catch(e){}F.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return F.hasData(e)||L.hasData(e)},data:function(e,t,n){return F.access(e,t,n)},removeData:function(e,t){F.remove(e,t)},_data:function(e,t,n){return L.access(e,t,n)},_removeData:function(e,t){L.remove(e,t)}}),T.fn.extend({data:function(r,e){var t,n,i,a=this[0],o=a&&a.attributes;if(void 0!==r)return"object"==typeof r?this.each(function(){F.set(this,r)}):O(this,function(t){var e,n;if(a&&void 0===t)return void 0!==(e=F.get(a,r)||F.get(a,r.replace(j,"-$&").toLowerCase()))?e:(n=T.camelCase(r),void 0!==(e=F.get(a,n))?e:void 0!==(e=B(a,n,void 0))?e:void 0);n=T.camelCase(r),this.each(function(){var e=F.get(this,n);F.set(this,n,t),-1<r.indexOf("-")&&void 0!==e&&F.set(this,r,t)})},null,e,1<arguments.length,null,!0);if(this.length&&(i=F.get(a),1===a.nodeType&&!L.get(a,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&0===(n=o[t].name).indexOf("data-")&&(n=T.camelCase(n.slice(5)),B(a,n,i[n]));L.set(a,"hasDataAttrs",!0)}return i},removeData:function(e){return this.each(function(){F.remove(this,e)})}}),T.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=L.get(e,t),n&&(!r||T.isArray(n)?r=L.access(e,t,T.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),r=n.length,i=n.shift(),a=T._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete a.stop,i.call(e,function(){T.dequeue(e,t)},a)),!r&&a&&a.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return L.get(e,n)||L.access(e,n,{empty:T.Callbacks("once memory").add(function(){L.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===n?this:this.each(function(){var e=T.queue(this,t,n);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=T.Deferred(),a=this,o=this.length,s=function(){--r||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(n=L.get(a[o],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var U=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,H=new RegExp("^(?:([+-])=|)("+U+")([a-z%]*)$","i"),W=["Top","Right","Bottom","Left"],q=function(e,t){return e=t||e,"none"===T.css(e,"display")||!T.contains(e.ownerDocument,e)};function z(e,t,n,r){var i,a=1,o=20,s=r?function(){return r.cur()}:function(){return T.css(e,t,"")},c=s(),l=n&&n[3]||(T.cssNumber[t]?"":"px"),u=(T.cssNumber[t]||"px"!==l&&+c)&&H.exec(T.css(e,t));if(u&&u[3]!==l)for(l=l||u[3],n=n||[],u=+c||1;u/=a=a||".5",T.style(e,t,u+l),a!==(a=s()/c)&&1!==a&&--o;);return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var V=/^(?:checkbox|radio)$/i,Y=/<([\w:-]+)/,K=/^$|\/(?:java|ecma)script/i,Q={option:[1,"<select multiple='multiple'>","</select>"],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 X(e,t){var n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&T.nodeName(e,t)?T.merge([e],n):n}function Z(e,t){for(var n=0,r=e.length;n<r;n++)L.set(e[n],"globalEval",!t||L.get(t[n],"globalEval"))}Q.optgroup=Q.option,Q.tbody=Q.tfoot=Q.colgroup=Q.caption=Q.thead,Q.th=Q.td;var J,ee,te=/<|&#?\w+;/;function ne(e,t,n,r,i){for(var a,o,s,c,l,u,f=t.createDocumentFragment(),d=[],h=0,p=e.length;h<p;h++)if((a=e[h])||0===a)if("object"===T.type(a))T.merge(d,a.nodeType?[a]:a);else if(te.test(a)){for(o=o||f.appendChild(t.createElement("div")),s=(Y.exec(a)||["",""])[1].toLowerCase(),c=Q[s]||Q._default,o.innerHTML=c[1]+T.htmlPrefilter(a)+c[2],u=c[0];u--;)o=o.lastChild;T.merge(d,o.childNodes),(o=f.firstChild).textContent=""}else d.push(t.createTextNode(a));for(f.textContent="",h=0;a=d[h++];)if(r&&-1<T.inArray(a,r))i&&i.push(a);else if(l=T.contains(a.ownerDocument,a),o=X(f.appendChild(a),"script"),l&&Z(o),n)for(u=0;a=o[u++];)K.test(a.type||"")&&n.push(a);return f}J=S.createDocumentFragment().appendChild(S.createElement("div")),(ee=S.createElement("input")).setAttribute("type","radio"),ee.setAttribute("checked","checked"),ee.setAttribute("name","t"),J.appendChild(ee),g.checkClone=J.cloneNode(!0).cloneNode(!0).lastChild.checked,J.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!J.cloneNode(!0).lastChild.defaultValue;var re=/^key/,ie=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ae=/^([^.]*)(?:\.(.+)|)/;function oe(){return!0}function se(){return!1}function ce(){try{return S.activeElement}catch(e){}}function le(e,t,n,r,i,a){var o,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)le(e,s,n,r,t[s],a);return e}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=se;else if(!i)return e;return 1===a&&(o=i,(i=function(e){return T().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=T.guid++)),e.each(function(){T.event.add(this,t,i,r,n)})}T.event={global:{},add:function(t,e,n,r,i){var a,o,s,c,l,u,f,d,h,p,m,g=L.get(t);if(g)for(n.handler&&(n=(a=n).handler,i=a.selector),n.guid||(n.guid=T.guid++),(c=g.events)||(c=g.events={}),(o=g.handle)||(o=g.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(M)||[""]).length;l--;)h=m=(s=ae.exec(e[l])||[])[1],p=(s[2]||"").split(".").sort(),h&&(f=T.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=T.event.special[h]||{},u=T.extend({type:h,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&T.expr.match.needsContext.test(i),namespace:p.join(".")},a),(d=c[h])||((d=c[h]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,p,o)||t.addEventListener&&t.addEventListener(h,o)),f.add&&(f.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),T.event.global[h]=!0)},remove:function(e,t,n,r,i){var a,o,s,c,l,u,f,d,h,p,m,g=L.hasData(e)&&L.get(e);if(g&&(c=g.events)){for(l=(t=(t||"").match(M)||[""]).length;l--;)if(h=m=(s=ae.exec(t[l])||[])[1],p=(s[2]||"").split(".").sort(),h){for(f=T.event.special[h]||{},d=c[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)u=d[a],!i&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(d.splice(a,1),u.selector&&d.delegateCount--,f.remove&&f.remove.call(e,u));o&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,p,g.handle)||T.removeEvent(e,h,g.handle),delete c[h])}else for(h in c)T.event.remove(e,h+t[l],n,r,!0);T.isEmptyObject(c)&&L.remove(e,"handle events")}},dispatch:function(e){e=T.event.fix(e);var t,n,r,i,a,o,s=u.call(arguments),c=(L.get(this,"events")||{})[e.type]||[],l=T.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,e)){for(o=T.event.handlers.call(this,e,c),t=0;(i=o[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(a=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((T.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,a,o=[],s=t.delegateCount,c=e.target;if(s&&c.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(!0!==c.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)void 0===r[i=(a=t[n]).selector+" "]&&(r[i]=a.needsContext?-1<T(i,this).index(c):T.find(i,this,null,[c]).length),r[i]&&r.push(a);r.length&&o.push({elem:c,handlers:r})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(r=(n=e.target.ownerDocument||S).documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[T.expando])return e;var t,n,r,i=e.type,a=e,o=this.fixHooks[i];for(o||(this.fixHooks[i]=o=ie.test(i)?this.mouseHooks:re.test(i)?this.keyHooks:{}),r=o.props?this.props.concat(o.props):this.props,e=new T.Event(a),t=r.length;t--;)e[n=r[t]]=a[n];return e.target||(e.target=S),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ce()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ce()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&T.nodeName(this,"input"))return this.click(),!1},_default:function(e){return T.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?oe:se):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||T.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:se,isPropagationStopped:se,isImmediatePropagationStopped:se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=oe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=oe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=oe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){T.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||T.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),T.fn.extend({on:function(e,t,n,r){return le(this,e,t,n,r)},one:function(e,t,n,r){return le(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,T(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=se),this.each(function(){T.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this}});var ue=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,fe=/<script|<style|<link/i,de=/checked\s*(?:[^=]|=\s*.checked.)/i,he=/^true\/(.*)/,pe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function me(e,t){return T.nodeName(e,"table")&&T.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ge(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function _e(e){var t=he.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function be(e,t){var n,r,i,a,o,s,c,l;if(1===t.nodeType){if(L.hasData(e)&&(a=L.access(e),o=L.set(t,a),l=a.events))for(i in delete o.handle,o.events={},l)for(n=0,r=l[i].length;n<r;n++)T.event.add(t,i,l[i][n]);F.hasData(e)&&(s=F.access(e),c=T.extend({},s),F.set(t,c))}}function ve(n,r,i,a){r=m.apply([],r);var e,t,o,s,c,l,u=0,f=n.length,d=f-1,h=r[0],p=T.isFunction(h);if(p||1<f&&"string"==typeof h&&!g.checkClone&&de.test(h))return n.each(function(e){var t=n.eq(e);p&&(r[0]=h.call(this,e,t.html())),ve(t,r,i,a)});if(f&&(t=(e=ne(r,n[0].ownerDocument,!1,n,a)).firstChild,1===e.childNodes.length&&(e=t),t||a)){for(s=(o=T.map(X(e,"script"),ge)).length;u<f;u++)c=e,u!==d&&(c=T.clone(c,!0,!0),s&&T.merge(o,X(c,"script"))),i.call(n[u],c,u);if(s)for(l=o[o.length-1].ownerDocument,T.map(o,_e),u=0;u<s;u++)c=o[u],K.test(c.type||"")&&!L.access(c,"globalEval")&&T.contains(l,c)&&(c.src?T._evalUrl&&T._evalUrl(c.src):T.globalEval(c.textContent.replace(pe,"")))}return n}function ye(e,t,n){for(var r,i=t?T.filter(t,e):e,a=0;null!=(r=i[a]);a++)n||1!==r.nodeType||T.cleanData(X(r)),r.parentNode&&(n&&T.contains(r.ownerDocument,r)&&Z(X(r,"script")),r.parentNode.removeChild(r));return e}T.extend({htmlPrefilter:function(e){return e.replace(ue,"<$1></$2>")},clone:function(e,t,n){var r,i,a,o,s,c,l,u=e.cloneNode(!0),f=T.contains(e.ownerDocument,e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(o=X(u),r=0,i=(a=X(e)).length;r<i;r++)s=a[r],c=o[r],void 0,"input"===(l=c.nodeName.toLowerCase())&&V.test(s.type)?c.checked=s.checked:"input"!==l&&"textarea"!==l||(c.defaultValue=s.defaultValue);if(t)if(n)for(a=a||X(e),o=o||X(u),r=0,i=a.length;r<i;r++)be(a[r],o[r]);else be(e,u);return 0<(o=X(u,"script")).length&&Z(o,!f&&X(e,"script")),u},cleanData:function(e){for(var t,n,r,i=T.event.special,a=0;void 0!==(n=e[a]);a++)if(R(n)){if(t=n[L.expando]){if(t.events)for(r in t.events)i[r]?T.event.remove(n,r):T.removeEvent(n,r,t.handle);n[L.expando]=void 0}n[F.expando]&&(n[F.expando]=void 0)}}}),T.fn.extend({domManip:ve,detach:function(e){return ye(this,e,!0)},remove:function(e){return ye(this,e)},text:function(e){return O(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return ve(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||me(this,e).appendChild(e)})},prepend:function(){return ve(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=me(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return ve(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(X(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return O(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!fe.test(e)&&!Q[(Y.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData(X(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return ve(this,arguments,function(e){var t=this.parentNode;T.inArray(this,n)<0&&(T.cleanData(X(this)),t&&t.replaceChild(e,this))},n)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){T.fn[e]=function(e){for(var t,n=[],r=T(e),i=r.length-1,a=0;a<=i;a++)t=a===i?this:this.clone(!0),T(r[a])[o](t),s.apply(n,t.get());return this.pushStack(n)}});var we,Ce={HTML:"block",BODY:"block"};function Ae(e,t){var n=T(t.createElement(e)).appendTo(t.body),r=T.css(n[0],"display");return n.detach(),r}function Se(e){var t=S,n=Ce[e];return n||("none"!==(n=Ae(e,t))&&n||((t=(we=(we||T("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),n=Ae(e,t),we.detach()),Ce[e]=n),n}var Te=/^margin/,xe=new RegExp("^("+U+")(?!px)[a-z%]+$","i"),ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=A),t.getComputedStyle(e)},Ee=function(e,t,n,r){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in i=n.apply(e,r||[]),t)e.style[a]=o[a];return i},De=S.documentElement;function Ie(e,t,n){var r,i,a,o,s=e.style;return""!==(o=(n=n||ke(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==o||T.contains(e.ownerDocument,e)||(o=T.style(e,t)),n&&!g.pixelMarginRight()&&xe.test(o)&&Te.test(t)&&(r=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=r,s.minWidth=i,s.maxWidth=a),void 0!==o?o+"":o}function Pe(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var t,n,r,i,a=S.createElement("div"),o=S.createElement("div");function e(){o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",o.innerHTML="",De.appendChild(a);var e=A.getComputedStyle(o);t="1%"!==e.top,i="2px"===e.marginLeft,n="4px"===e.width,o.style.marginRight="50%",r="4px"===e.marginRight,De.removeChild(a)}o.style&&(o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===o.style.backgroundClip,a.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",a.appendChild(o),T.extend(g,{pixelPosition:function(){return e(),t},boxSizingReliable:function(){return null==n&&e(),n},pixelMarginRight:function(){return null==n&&e(),r},reliableMarginLeft:function(){return null==n&&e(),i},reliableMarginRight:function(){var e,t=o.appendChild(S.createElement("div"));return t.style.cssText=o.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",o.style.width="1px",De.appendChild(a),e=!parseFloat(A.getComputedStyle(t).marginRight),De.removeChild(a),o.removeChild(t),e}}))}();var Me=/^(none|table(?!-c[ea]).+)/,$e={position:"absolute",visibility:"hidden",display:"block"},Oe={letterSpacing:"0",fontWeight:"400"},Re=["Webkit","O","Moz","ms"],Ne=S.createElement("div").style;function Le(e){if(e in Ne)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=Re.length;n--;)if((e=Re[n]+t)in Ne)return e}function Fe(e,t,n){var r=H.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ge(e,t,n,r,i){for(var a=n===(r?"border":"content")?4:"width"===t?1:0,o=0;a<4;a+=2)"margin"===n&&(o+=T.css(e,n+W[a],!0,i)),r?("content"===n&&(o-=T.css(e,"padding"+W[a],!0,i)),"margin"!==n&&(o-=T.css(e,"border"+W[a]+"Width",!0,i))):(o+=T.css(e,"padding"+W[a],!0,i),"padding"!==n&&(o+=T.css(e,"border"+W[a]+"Width",!0,i)));return o}function je(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=ke(e),o="border-box"===T.css(e,"boxSizing",!1,a);if(i<=0||null==i){if(((i=Ie(e,t,a))<0||null==i)&&(i=e.style[t]),xe.test(i))return i;r=o&&(g.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Ge(e,t,n||(o?"border":"content"),r,a)+"px"}function Be(e,t){for(var n,r,i,a=[],o=0,s=e.length;o<s;o++)(r=e[o]).style&&(a[o]=L.get(r,"olddisplay"),n=r.style.display,t?(a[o]||"none"!==n||(r.style.display=""),""===r.style.display&&q(r)&&(a[o]=L.access(r,"olddisplay",Se(r.nodeName)))):(i=q(r),"none"===n&&i||L.set(r,"olddisplay",i?n:T.css(r,"display"))));for(o=0;o<s;o++)(r=e[o]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?a[o]||"":"none"));return e}function Ue(e,t,n,r,i){return new Ue.prototype.init(e,t,n,r,i)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ie(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=T.camelCase(t),c=e.style;if(t=T.cssProps[s]||(T.cssProps[s]=Le(s)||s),o=T.cssHooks[t]||T.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(i=o.get(e,!1,r))?i:c[t];"string"===(a=typeof n)&&(i=H.exec(n))&&i[1]&&(n=z(e,t,i),a="number"),null!=n&&n==n&&("number"===a&&(n+=i&&i[3]||(T.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),o&&"set"in o&&void 0===(n=o.set(e,n,r))||(c[t]=n))}},css:function(e,t,n,r){var i,a,o,s=T.camelCase(t);return t=T.cssProps[s]||(T.cssProps[s]=Le(s)||s),(o=T.cssHooks[t]||T.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,n)),void 0===i&&(i=Ie(e,t,r)),"normal"===i&&t in Oe&&(i=Oe[t]),""===n||n?(a=parseFloat(i),!0===n||isFinite(a)?a||0:i):i}}),T.each(["height","width"],function(e,o){T.cssHooks[o]={get:function(e,t,n){if(t)return Me.test(T.css(e,"display"))&&0===e.offsetWidth?Ee(e,$e,function(){return je(e,o,n)}):je(e,o,n)},set:function(e,t,n){var r,i=n&&ke(e),a=n&&Ge(e,o,n,"border-box"===T.css(e,"boxSizing",!1,i),i);return a&&(r=H.exec(t))&&"px"!==(r[3]||"px")&&(e.style[o]=t,t=T.css(e,o)),Fe(0,t,a)}}}),T.cssHooks.marginLeft=Pe(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Ie(e,"marginLeft"))||e.getBoundingClientRect().left-Ee(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.cssHooks.marginRight=Pe(g.reliableMarginRight,function(e,t){if(t)return Ee(e,{display:"inline-block"},Ie,[e,"marginRight"])}),T.each({margin:"",padding:"",border:"Width"},function(i,a){T.cssHooks[i+a]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+W[t]+a]=r[t]||r[t-2]||r[0];return n}},Te.test(i)||(T.cssHooks[i+a].set=Fe)}),T.fn.extend({css:function(e,t){return O(this,function(e,t,n){var r,i,a={},o=0;if(T.isArray(t)){for(r=ke(e),i=t.length;o<i;o++)a[t[o]]=T.css(e,t[o],!1,r);return a}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,1<arguments.length)},show:function(){return Be(this,!0)},hide:function(){return Be(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){q(this)?T(this).show():T(this).hide()})}}),((T.Tween=Ue).prototype={constructor:Ue,init:function(e,t,n,r,i,a){this.elem=e,this.prop=n,this.easing=i||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=a||(T.cssNumber[n]?"":"px")},cur:function(){var e=Ue.propHooks[this.prop];return e&&e.get?e.get(this):Ue.propHooks._default.get(this)},run:function(e){var t,n=Ue.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ue.propHooks._default.set(this),this}}).init.prototype=Ue.prototype,(Ue.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[T.cssProps[e.prop]]&&!T.cssHooks[e.prop]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=Ue.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=Ue.prototype.init,T.fx.step={};var He,We,qe,ze,Ve,Ye=/^(?:toggle|show|hide)$/,Ke=/queueHooks$/;function Qe(){return A.setTimeout(function(){He=void 0}),He=T.now()}function Xe(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=W[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Ze(e,t,n){for(var r,i=(Je.tweeners[t]||[]).concat(Je.tweeners["*"]),a=0,o=i.length;a<o;a++)if(r=i[a].call(n,t,e))return r}function Je(a,e,t){var n,o,r=0,i=Je.prefilters.length,s=T.Deferred().always(function(){delete c.elem}),c=function(){if(o)return!1;for(var e=He||Qe(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(a,[l,n,t]),n<1&&i?t:(s.resolveWith(a,[l]),!1)},l=s.promise({elem:a,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},t),originalProperties:e,originalOptions:t,startTime:He||Qe(),duration:t.duration,tweens:[],createTween:function(e,t){var n=T.Tween(a,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(o)return this;for(o=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(a,[l,1,0]),s.resolveWith(a,[l,e])):s.rejectWith(a,[l,e]),this}}),u=l.props;for(!function(e,t){var n,r,i,a,o;for(n in e)if(i=t[r=T.camelCase(n)],a=e[n],T.isArray(a)&&(i=a[1],a=e[n]=a[0]),n!==r&&(e[r]=a,delete e[n]),(o=T.cssHooks[r])&&"expand"in o)for(n in a=o.expand(a),delete e[r],a)n in e||(e[n]=a[n],t[n]=i);else t[r]=i}(u,l.opts.specialEasing);r<i;r++)if(n=Je.prefilters[r].call(l,a,u,l.opts))return T.isFunction(n.stop)&&(T._queueHooks(l.elem,l.opts.queue).stop=T.proxy(n.stop,n)),n;return T.map(u,Ze,l),T.isFunction(l.opts.start)&&l.opts.start.call(a,l),T.fx.timer(T.extend(c,{elem:a,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}T.Animation=T.extend(Je,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return z(n.elem,e,H.exec(t),n),n}]},tweener:function(e,t){for(var n,r=0,i=(e=T.isFunction(e)?(t=e,["*"]):e.match(M)).length;r<i;r++)n=e[r],Je.tweeners[n]=Je.tweeners[n]||[],Je.tweeners[n].unshift(t)},prefilters:[function(t,e,n){var r,i,a,o,s,c,l,u=this,f={},d=t.style,h=t.nodeType&&q(t),p=L.get(t,"fxshow");for(r in n.queue||(null==(s=T._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,c=s.empty.fire,s.empty.fire=function(){s.unqueued||c()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,T.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===("none"===(l=T.css(t,"display"))?L.get(t,"olddisplay")||Se(t.nodeName):l)&&"none"===T.css(t,"float")&&(d.display="inline-block")),n.overflow&&(d.overflow="hidden",u.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),e)if(i=e[r],Ye.exec(i)){if(delete e[r],a=a||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!p||void 0===p[r])continue;h=!0}f[r]=p&&p[r]||T.style(t,r)}else l=void 0;if(T.isEmptyObject(f))"inline"===("none"===l?Se(t.nodeName):l)&&(d.display=l);else for(r in p?"hidden"in p&&(h=p.hidden):p=L.access(t,"fxshow",{}),a&&(p.hidden=!h),h?T(t).show():u.done(function(){T(t).hide()}),u.done(function(){var e;for(e in L.remove(t,"fxshow"),f)T.style(t,e,f[e])}),f)o=Ze(h?p[r]:0,r,u),r in p||(p[r]=o.start,h&&(o.end=o.start,o.start="width"===r||"height"===r?1:0))}],prefilter:function(e,t){t?Je.prefilters.unshift(e):Je.prefilters.push(e)}}),T.speed=function(e,t,n){var r=e&&"object"==typeof e?T.extend({},e):{complete:n||!n&&t||T.isFunction(e)&&e,duration:e,easing:n&&t||t&&!T.isFunction(t)&&t};return r.duration=T.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in T.fx.speeds?T.fx.speeds[r.duration]:T.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){T.isFunction(r.old)&&r.old.call(this),r.queue&&T.dequeue(this,r.queue)},r},T.fn.extend({fadeTo:function(e,t,n,r){return this.filter(q).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=T.isEmptyObject(t),a=T.speed(e,n,r),o=function(){var e=Je(this,T.extend({},t),a);(i||L.get(this,"finish"))&&e.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(i,e,a){var o=function(e){var t=e.stop;delete e.stop,t(a)};return"string"!=typeof i&&(a=e,e=i,i=void 0),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=T.timers,r=L.get(this);if(t)r[t]&&r[t].stop&&o(r[t]);else for(t in r)r[t]&&r[t].stop&&Ke.test(t)&&o(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(a),e=!1,n.splice(t,1));!e&&a||T.dequeue(this,i)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var e,t=L.get(this),n=t[o+"queue"],r=t[o+"queueHooks"],i=T.timers,a=n?n.length:0;for(t.finish=!0,T.queue(this,o,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===o&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<a;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,r){var i=T.fn[r];T.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(Xe(r,!0),e,t,n)}}),T.each({slideDown:Xe("show"),slideUp:Xe("hide"),slideToggle:Xe("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){T.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(He=T.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),He=void 0},T.fx.timer=function(e){T.timers.push(e),e()?T.fx.start():T.timers.pop()},T.fx.interval=13,T.fx.start=function(){We||(We=A.setInterval(T.fx.tick,T.fx.interval))},T.fx.stop=function(){A.clearInterval(We),We=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(r,e){return r=T.fx&&T.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=A.setTimeout(e,r);t.stop=function(){A.clearTimeout(n)}})},qe=S.createElement("input"),ze=S.createElement("select"),Ve=ze.appendChild(S.createElement("option")),qe.type="checkbox",g.checkOn=""!==qe.value,g.optSelected=Ve.selected,ze.disabled=!0,g.optDisabled=!Ve.disabled,(qe=S.createElement("input")).value="t",qe.type="radio",g.radioValue="t"===qe.value;var et,tt=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return O(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return void 0===e.getAttribute?T.prop(e,t,n):(1===a&&T.isXMLDoc(e)||(t=t.toLowerCase(),i=T.attrHooks[t]||(T.expr.match.bool.test(t)?et:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=T.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&T.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,a=t&&t.match(M);if(a&&1===e.nodeType)for(;n=a[i++];)r=T.propFix[n]||n,T.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)}}),et={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var a=tt[t]||T.find.attr;tt[t]=function(e,t,n){var r,i;return n||(i=tt[t],tt[t]=r,r=null!=a(e,t,n)?t.toLowerCase():null,tt[t]=i),r}});var nt=/^(?:input|select|textarea|button)$/i,rt=/^(?:a|area)$/i;T.fn.extend({prop:function(e,t){return O(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var r,i,a=e.nodeType;if(3!==a&&8!==a&&2!==a)return 1===a&&T.isXMLDoc(e)||(t=T.propFix[t]||t,i=T.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):nt.test(e.nodeName)||rt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this});var it=/[\t\r\n\f]/g;function at(e){return e.getAttribute&&e.getAttribute("class")||""}T.fn.extend({addClass:function(t){var e,n,r,i,a,o,s,c=0;if(T.isFunction(t))return this.each(function(e){T(this).addClass(t.call(this,e,at(this)))});if("string"==typeof t&&t)for(e=t.match(M)||[];n=this[c++];)if(i=at(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(o=0;a=e[o++];)r.indexOf(" "+a+" ")<0&&(r+=a+" ");i!==(s=T.trim(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,a,o,s,c=0;if(T.isFunction(t))return this.each(function(e){T(this).removeClass(t.call(this,e,at(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof t&&t)for(e=t.match(M)||[];n=this[c++];)if(i=at(n),r=1===n.nodeType&&(" "+i+" ").replace(it," ")){for(o=0;a=e[o++];)for(;-1<r.indexOf(" "+a+" ");)r=r.replace(" "+a+" "," ");i!==(s=T.trim(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var a=typeof i;return"boolean"==typeof t&&"string"===a?t?this.addClass(i):this.removeClass(i):T.isFunction(i)?this.each(function(e){T(this).toggleClass(i.call(this,e,at(this),t),t)}):this.each(function(){var e,t,n,r;if("string"===a)for(t=0,n=T(this),r=i.match(M)||[];e=r[t++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else void 0!==i&&"boolean"!==a||((e=at(this))&&L.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":L.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+at(n)+" ").replace(it," ").indexOf(t))return!0;return!1}});var ot=/\r/g,st=/[\x20\t\r\n\f]+/g;T.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=T.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,T(this).val()):n)?t="":"number"==typeof t?t+="":T.isArray(t)&&(t=T.map(t,function(e){return null==e?"":e+""})),(r=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=T.valHooks[t.type]||T.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(ot,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:T.trim(T.text(e)).replace(st," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,a="select-one"===e.type||i<0,o=a?null:[],s=a?i+1:r.length,c=i<0?s:a?i:0;c<s;c++)if(((n=r[c]).selected||c===i)&&(g.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!T.nodeName(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var n,r,i=e.options,a=T.makeArray(t),o=i.length;o--;)((r=i[o]).selected=-1<T.inArray(T.valHooks.option.get(r),a))&&(n=!0);return n||(e.selectedIndex=-1),a}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(T.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var ct=/^(?:focusinfocus|focusoutblur)$/;T.extend(T.event,{trigger:function(e,t,n,r){var i,a,o,s,c,l,u,f=[n||S],d=p.call(e,"type")?e.type:e,h=p.call(e,"namespace")?e.namespace.split("."):[];if(a=o=n=n||S,3!==n.nodeType&&8!==n.nodeType&&!ct.test(d+T.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),c=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:T.makeArray(t,[e]),u=T.event.special[d]||{},r||!u.trigger||!1!==u.trigger.apply(n,t))){if(!r&&!u.noBubble&&!T.isWindow(n)){for(s=u.delegateType||d,ct.test(s+d)||(a=a.parentNode);a;a=a.parentNode)f.push(a),o=a;o===(n.ownerDocument||S)&&f.push(o.defaultView||o.parentWindow||A)}for(i=0;(a=f[i++])&&!e.isPropagationStopped();)e.type=1<i?s:u.bindType||d,(l=(L.get(a,"events")||{})[e.type]&&L.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&R(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||u._default&&!1!==u._default.apply(f.pop(),t)||!R(n)||c&&T.isFunction(n[d])&&!T.isWindow(n)&&((o=n[c])&&(n[c]=null),n[T.event.triggered=d](),T.event.triggered=void 0,o&&(n[c]=o)),e.result}},simulate:function(e,t,n){var r=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(r,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}}),T.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,n){T.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),T.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),g.focusin="onfocusin"in A,g.focusin||T.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){T.event.simulate(r,e.target,T.event.fix(e))};T.event.special[r]={setup:function(){var e=this.ownerDocument||this,t=L.access(e,r);t||e.addEventListener(n,i,!0),L.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this,t=L.access(e,r)-1;t?L.access(e,r,t):(e.removeEventListener(n,i,!0),L.remove(e,r))}}});var lt=A.location,ut=T.now(),ft=/\?/;T.parseJSON=function(e){return JSON.parse(e+"")},T.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new A.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||T.error("Invalid XML: "+e),t};var dt=/#.*$/,ht=/([?&])_=[^&]*/,pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,mt=/^(?:GET|HEAD)$/,gt=/^\/\//,_t={},bt={},vt="*/".concat("*"),yt=S.createElement("a");function wt(a){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(M)||[];if(T.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(a[n]=a[n]||[]).unshift(t)):(a[n]=a[n]||[]).push(t)}}function Ct(t,i,a,o){var s={},c=t===bt;function l(e){var r;return s[e]=!0,T.each(t[e]||[],function(e,t){var n=t(i,a,o);return"string"!=typeof n||c||s[n]?c?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function At(e,t){var n,r,i=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&T.extend(!0,e,r),e}yt.href=lt.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:lt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":vt,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":T.parseJSON,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?At(At(e,T.ajaxSettings),t):At(T.ajaxSettings,e)},ajaxPrefilter:wt(_t),ajaxTransport:wt(bt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var u,f,d,n,h,r,p,i,m=T.ajaxSetup({},t),g=m.context||m,_=m.context&&(g.nodeType||g.jquery)?T(g):T.event,b=T.Deferred(),v=T.Callbacks("once memory"),y=m.statusCode||{},a={},o={},w=0,s="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!n)for(n={};t=pt.exec(d);)n[t[1].toLowerCase()]=t[2];t=n[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?d:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=o[n]=o[n]||e,a[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)y[t]=[y[t],e[t]];else C.always(e[C.status]);return this},abort:function(e){var t=e||s;return u&&u.abort(t),c(0,t),this}};if(b.promise(C).complete=v.add,C.success=C.done,C.error=C.fail,m.url=((e||m.url||lt.href)+"").replace(dt,"").replace(gt,lt.protocol+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=T.trim(m.dataType||"*").toLowerCase().match(M)||[""],null==m.crossDomain){r=S.createElement("a");try{r.href=m.url,r.href=r.href,m.crossDomain=yt.protocol+"//"+yt.host!=r.protocol+"//"+r.host}catch(e){m.crossDomain=!0}}if(m.data&&m.processData&&"string"!=typeof m.data&&(m.data=T.param(m.data,m.traditional)),Ct(_t,m,t,C),2===w)return C;for(i in(p=T.event&&m.global)&&0==T.active++&&T.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!mt.test(m.type),f=m.url,m.hasContent||(m.data&&(f=m.url+=(ft.test(f)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=ht.test(f)?f.replace(ht,"$1_="+ut++):f+(ft.test(f)?"&":"?")+"_="+ut++)),m.ifModified&&(T.lastModified[f]&&C.setRequestHeader("If-Modified-Since",T.lastModified[f]),T.etag[f]&&C.setRequestHeader("If-None-Match",T.etag[f])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&C.setRequestHeader("Content-Type",m.contentType),C.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+vt+"; q=0.01":""):m.accepts["*"]),m.headers)C.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,C,m)||2===w))return C.abort();for(i in s="abort",{success:1,error:1,complete:1})C[i](m[i]);if(u=Ct(bt,m,t,C)){if(C.readyState=1,p&&_.trigger("ajaxSend",[C,m]),2===w)return C;m.async&&0<m.timeout&&(h=A.setTimeout(function(){C.abort("timeout")},m.timeout));try{w=1,u.send(a,c)}catch(e){if(!(w<2))throw e;c(-1,e)}}else c(-1,"No Transport");function c(e,t,n,r){var i,a,o,s,c,l=t;2!==w&&(w=2,h&&A.clearTimeout(h),u=void 0,d=r||"",C.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){for(var r,i,a,o,s=e.contents,c=e.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){c.unshift(i);break}if(c[0]in n)a=c[0];else{for(i in n){if(!c[0]||e.converters[i+" "+c[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==c[0]&&c.unshift(a),n[a]}(m,C,n)),s=function(e,t,n,r){var i,a,o,s,c,l={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)l[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(n[e.responseFields[a]]=t),!c&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),c=a,a=u.shift())if("*"===a)a=c;else if("*"!==c&&c!==a){if(!(o=l[c+" "+a]||l["* "+a]))for(i in l)if((s=i.split(" "))[1]===a&&(o=l[c+" "+s[0]]||l["* "+s[0]])){!0===o?o=l[i]:!0!==l[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+c+" to "+a}}}return{state:"success",data:t}}(m,s,C,i),i?(m.ifModified&&((c=C.getResponseHeader("Last-Modified"))&&(T.lastModified[f]=c),(c=C.getResponseHeader("etag"))&&(T.etag[f]=c)),204===e||"HEAD"===m.type?l="nocontent":304===e?l="notmodified":(l=s.state,a=s.data,i=!(o=s.error))):(o=l,!e&&l||(l="error",e<0&&(e=0))),C.status=e,C.statusText=(t||l)+"",i?b.resolveWith(g,[a,l,C]):b.rejectWith(g,[C,l,o]),C.statusCode(y),y=void 0,p&&_.trigger(i?"ajaxSuccess":"ajaxError",[C,m,i?a:o]),v.fireWith(g,[C,l]),p&&(_.trigger("ajaxComplete",[C,m]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,i){T[i]=function(e,t,n,r){return T.isFunction(t)&&(r=r||n,n=t,t=void 0),T.ajax(T.extend({url:e,type:i,dataType:r,data:t,success:n},T.isPlainObject(e)&&e))}}),T._evalUrl=function(e){return T.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},T.fn.extend({wrapAll:function(t){var e;return T.isFunction(t)?this.each(function(e){T(this).wrapAll(t.call(this,e))}):(this[0]&&(e=T(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(n){return T.isFunction(n)?this.each(function(e){T(this).wrapInner(n.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=T.isFunction(t);return this.each(function(e){T(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){T.nodeName(this,"body")||T(this).replaceWith(this.childNodes)}).end()}}),T.expr.filters.hidden=function(e){return!T.expr.filters.visible(e)},T.expr.filters.visible=function(e){return 0<e.offsetWidth||0<e.offsetHeight||0<e.getClientRects().length};var St=/%20/g,Tt=/\[\]$/,xt=/\r?\n/g,kt=/^(?:submit|button|image|reset|file)$/i,Et=/^(?:input|select|textarea|keygen)/i;function Dt(n,e,r,i){var t;if(T.isArray(e))T.each(e,function(e,t){r||Tt.test(n)?i(n,t):Dt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==T.type(e))i(n,e);else for(t in e)Dt(n+"["+t+"]",e[t],r,i)}T.param=function(e,t){var n,r=[],i=function(e,t){t=T.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=T.ajaxSettings&&T.ajaxSettings.traditional),T.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){i(this.name,this.value)});else for(n in e)Dt(n,e[n],t,i);return r.join("&").replace(St,"+")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Et.test(this.nodeName)&&!kt.test(e)&&(this.checked||!V.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:T.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(xt,"\r\n")}}):{name:t.name,value:n.replace(xt,"\r\n")}}).get()}}),T.ajaxSettings.xhr=function(){try{return new A.XMLHttpRequest}catch(e){}};var It={0:200,1223:204},Pt=T.ajaxSettings.xhr();g.cors=!!Pt&&"withCredentials"in Pt,g.ajax=Pt=!!Pt,T.ajaxTransport(function(i){var a,o;if(g.cors||Pt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);a=function(e){return function(){a&&(a=o=r.onload=r.onerror=r.onabort=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(It[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=a(),o=r.onerror=a("error"),void 0!==r.onabort?r.onabort=o:r.onreadystatechange=function(){4===r.readyState&&A.setTimeout(function(){a&&o()})},a=a("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(a)throw e}},abort:function(){a&&a()}}}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(n){var r,i;if(n.crossDomain)return{send:function(e,t){r=T("<script>").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),S.head.appendChild(r[0])},abort:function(){i&&i()}}});var Mt=[],$t=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mt.pop()||T.expando+"_"+ut++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,a,o=!1!==e.jsonp&&($t.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&$t.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=T.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace($t,"$1"+r):!1!==e.jsonp&&(e.url+=(ft.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return a||T.error(r+" was not called"),a[0]},e.dataTypes[0]="json",i=A[r],A[r]=function(){a=arguments},n.always(function(){void 0===i?T(A).removeProp(r):A[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Mt.push(r)),a&&T.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),T.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||S;var r=y.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=ne([e],t,i),i&&i.length&&T(i).remove(),T.merge([],r.childNodes))};var Ot=T.fn.load;function Rt(e){return T.isWindow(e)?e:9===e.nodeType&&e.defaultView}T.fn.load=function(e,t,n){if("string"!=typeof e&&Ot)return Ot.apply(this,arguments);var r,i,a,o=this,s=e.indexOf(" ");return-1<s&&(r=T.trim(e.slice(s)),e=e.slice(0,s)),T.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<o.length&&T.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){a=arguments,o.html(r?T("<div>").append(T.parseHTML(e)).find(r):e)}).always(n&&function(e,t){o.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.expr.filters.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,n){var r,i,a,o,s,c,l=T.css(e,"position"),u=T(e),f={};"static"===l&&(e.style.position="relative"),s=u.offset(),a=T.css(e,"top"),c=T.css(e,"left"),i=("absolute"===l||"fixed"===l)&&-1<(a+c).indexOf("auto")?(o=(r=u.position()).top,r.left):(o=parseFloat(a)||0,parseFloat(c)||0),T.isFunction(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(f.top=t.top-s.top+o),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):u.css(f)}},T.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)});var e,n,r=this[0],i={top:0,left:0},a=r&&r.ownerDocument;return a?(e=a.documentElement,T.contains(e,r)?(i=r.getBoundingClientRect(),n=Rt(a),{top:i.top+n.pageYOffset-e.clientTop,left:i.left+n.pageXOffset-e.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===T.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),T.nodeName(e[0],"html")||(r=e.offset()),r.top+=T.css(e[0],"borderTopWidth",!0),r.left+=T.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-T.css(n,"marginTop",!0),left:t.left-r.left-T.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||De})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var a="pageYOffset"===i;T.fn[t]=function(e){return O(this,function(e,t,n){var r=Rt(e);if(void 0===n)return r?r[i]:e[t];r?r.scrollTo(a?r.pageXOffset:n,a?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),T.each(["top","left"],function(e,n){T.cssHooks[n]=Pe(g.pixelPosition,function(e,t){if(t)return t=Ie(e,n),xe.test(t)?T(e).position()[n]+"px":t})}),T.each({Height:"height",Width:"width"},function(a,o){T.each({padding:"inner"+a,content:o,"":"outer"+a},function(r,e){T.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return O(this,function(e,t,n){var r;return T.isWindow(e)?e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?T.css(e,t,i):T.style(e,t,n,i)},o,n?e:void 0,n,null)}})}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},size:function(){return this.length}}),T.fn.andSelf=T.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return T});var Nt=A.jQuery,Lt=A.$;return T.noConflict=function(e){return A.$===T&&(A.$=Lt),e&&A.jQuery===T&&(A.jQuery=Nt),T},e||(A.jQuery=A.$=T),T}),function(j){"use strict";function w(a,o){return o=o||Error,function(){var e,t,n=arguments,r=n[0],i="["+(a?a+":":"")+r+"] ";for(i+=n[1].replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1)+2;return t<n.length?Be(n[t]):e}),i+="\nhttp://errors.angularjs.org/1.5.10/"+(a?a+"/":"")+r,t=2,e="?";t<n.length;t++,e="&")i+=e+"p"+(t-2)+"="+encodeURIComponent(Be(n[t]));return new o(i)}}var a=/^\/(.+)\/([a-z]*)$/,f="validity",B=Object.prototype.hasOwnProperty,S=function(e){return ve(e)?e.toLowerCase():e},u=function(e){return ve(e)?e.toUpperCase():e};"i"!=="I".toLowerCase()&&(S=function(e){return ve(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},u=function(e){return ve(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e});var U,ue,o,g,s=[].slice,r=[].splice,e=[].push,H=Object.prototype.toString,c=Object.getPrototypeOf,l=w("ng"),v=j.angular||(j.angular={}),t=0;function O(e){if(null==e||D(e))return!1;if(ye(e)||ve(e)||ue&&e instanceof ue)return!0;var t="length"in Object(e)&&e.length;return C(t)&&(0<=t&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function fe(e,t,n){var r,i;if(e)if(we(e))for(r in e)"prototype"===r||"length"===r||"name"===r||e.hasOwnProperty&&!e.hasOwnProperty(r)||t.call(n,e[r],r,e);else if(ye(e)||O(e)){var a="object"!=typeof e;for(r=0,i=e.length;r<i;r++)(a||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==fe)e.forEach(t,n,e);else if(y(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)B.call(e,r)&&t.call(n,e[r],r,e);return e}function d(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function _(n){return function(e,t){n(t,e)}}function k(){return++t}function h(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function p(e,t,n){for(var r=e.$$hashKey,i=0,a=t.length;i<a;++i){var o=t[i];if(be(o)||we(o))for(var s=Object.keys(o),c=0,l=s.length;c<l;c++){var u=s[c],f=o[u];n&&be(f)?A(f)?e[u]=new Date(f.valueOf()):T(f)?e[u]=new RegExp(f):f.nodeName?e[u]=f.cloneNode(!0):$(f)?e[u]=f.clone():(be(e[u])||(e[u]=ye(f)?[]:{}),p(e[u],[f],!0)):e[u]=f}}return h(e,r),e}function de(e){return p(e,s.call(arguments,1),!1)}function n(e){return p(e,s.call(arguments,1),!0)}function m(e){return parseInt(e,10)}U=j.document.documentMode;var E=Number.isNaN||function(e){return e!=e};function he(e,t){return de(Object.create(e),t)}function pe(){}function me(e){return e}function x(e){return function(){return e}}function b(e){return we(e.toString)&&e.toString!==H}function ge(e){return void 0===e}function _e(e){return void 0!==e}function be(e){return null!==e&&"object"==typeof e}function y(e){return null!==e&&"object"==typeof e&&!c(e)}function ve(e){return"string"==typeof e}function C(e){return"number"==typeof e}function A(e){return"[object Date]"===H.call(e)}pe.$inject=[],me.$inject=[];var ye=Array.isArray;function we(e){return"function"==typeof e}function T(e){return"[object RegExp]"===H.call(e)}function D(e){return e&&e.window===e}function Ce(e){return e&&e.$evalAsync&&e.$watch}function Ae(e){return"boolean"==typeof e}function I(e){return e&&we(e.then)}var P=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;var Se=function(e){return ve(e)?e.trim():e},M=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function $(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function Te(e){return S(e.nodeName||e[0]&&e[0].nodeName)}function xe(e,t){var n=e.indexOf(t);return 0<=n&&e.splice(n,1),n}function R(e,n){var t,r,i=[],a=[];if(n){if((r=n)&&C(r.length)&&P.test(H.call(r))||(t=n,"[object ArrayBuffer]"===H.call(t)))throw l("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===n)throw l("cpi","Can't copy! Source and destination are identical.");return ye(n)?n.length=0:fe(n,function(e,t){"$$hashKey"!==t&&delete n[t]}),i.push(e),a.push(n),o(e,n)}return s(e);function o(e,t){var n,r=t.$$hashKey;if(ye(e))for(var i=0,a=e.length;i<a;i++)t.push(s(e[i]));else if(y(e))for(n in e)t[n]=s(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=s(e[n]));else for(n in e)B.call(e,n)&&(t[n]=s(e[n]));return h(t,r),t}function s(e){if(!be(e))return e;var t=i.indexOf(e);if(-1!==t)return a[t];if(D(e)||Ce(e))throw l("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var n=!1,r=function(e){switch(H.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(e.slice)return e.slice(0);var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t;case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(we(e.cloneNode))return e.cloneNode(!0)}(e);return void 0===r&&(r=ye(e)?[]:Object.create(c(e)),n=!0),i.push(e),a.push(r),n?o(e,r):r}}function ke(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,r,i,a=typeof e;if(a===typeof t&&"object"===a){if(!ye(e)){if(A(e))return!!A(t)&&ke(e.getTime(),t.getTime());if(T(e))return!!T(t)&&e.toString()===t.toString();if(Ce(e)||Ce(t)||D(e)||D(t)||ye(t)||A(t)||T(t))return!1;for(r in i=Oe(),e)if("$"!==r.charAt(0)&&!we(e[r])){if(!ke(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&_e(t[r])&&!we(t[r]))return!1;return!0}if(!ye(t))return!1;if((n=e.length)===t.length){for(r=0;r<n;r++)if(!ke(e[r],t[r]))return!1;return!0}}return!1}var N=function(){if(!_e(N.rules)){var e=j.document.querySelector("[ng-csp]")||j.document.querySelector("[data-ng-csp]");if(e){var t=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");N.rules={noUnsafeEval:!t||-1!==t.indexOf("no-unsafe-eval"),noInlineStyle:!t||-1!==t.indexOf("no-inline-style")}}else N.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(e){return!0}}(),noInlineStyle:!1}}return N.rules},L=function(){if(_e(L.name_))return L.name_;var e,t,n,r,i=J.length;for(t=0;t<i;++t)if(n=J[t],e=j.document.querySelector("["+n.replace(":","\\:")+"jq]")){r=e.getAttribute(n+"jq");break}return L.name_=r};function F(e,t,n){return e.concat(s.call(t,n))}function Ee(e,t){return s.call(e,t||0)}function De(e,t){var n=2<arguments.length?Ee(arguments,2):[];return!we(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,F(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function i(e,t){var n=t;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?n=void 0:D(t)?n="$WINDOW":t&&j.document===t?n="$DOCUMENT":Ce(t)&&(n="$SCOPE"),n}function G(e,t){if(!ge(e))return C(t)||(t=t?2:null),JSON.stringify(e,i,t)}function W(e){return ve(e)?JSON.parse(e):e}var q=/:/g;function z(e,t){e=e.replace(q,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return E(n)?t:n}function V(e,t,n){n=n?-1:1;var r,i,a=e.getTimezoneOffset(),o=z(t,a);return r=e,i=n*(o-a),(r=new Date(r.getTime())).setMinutes(r.getMinutes()+i),r}function Ie(e){e=ue(e).clone();try{e.empty()}catch(e){}var t=ue("<div>").append(e).html();try{return e[0].nodeType===Ne?S(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+S(t)})}catch(e){return S(t)}}function Y(e){try{return decodeURIComponent(e)}catch(e){}}function K(e){var i={};return fe((e||"").split("&"),function(e){var t,n,r;e&&(n=e=e.replace(/\+/g,"%20"),-1!==(t=e.indexOf("="))&&(n=e.substring(0,t),r=e.substring(t+1)),_e(n=Y(n))&&(r=!_e(r)||Y(r),B.call(i,n)?ye(i[n])?i[n].push(r):i[n]=[i[n],r]:i[n]=r))}),i}function Q(e){var n=[];return fe(e,function(e,t){ye(e)?fe(e,function(e){n.push(Z(t,!0)+(!0===e?"":"="+Z(e,!0)))}):n.push(Z(t,!0)+(!0===e?"":"="+Z(e,!0)))}),n.length?n.join("&"):""}function X(e){return Z(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Z(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var J=["ng-","data-ng-","ng:","x-ng-"];var ee=function(e){if(!e.currentScript)return!0;var t=e.currentScript.getAttribute("src"),n=e.createElement("a");if(n.href=t,e.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}(j.document);function te(r,e){var i,a,t={};if(fe(J,function(e){var t=e+"app";!i&&r.hasAttribute&&r.hasAttribute(t)&&(a=(i=r).getAttribute(t))}),fe(J,function(e){var t,n=e+"app";!i&&(t=r.querySelector("["+n.replace(":","\\:")+"]"))&&(a=(i=t).getAttribute(n))}),i){if(!ee)return void j.console.error("Angular: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");t.strictDi=null!==function(e,t){var n,r,i=J.length;for(r=0;r<i;++r)if(n=J[r]+t,ve(n=e.getAttribute(n)))return n;return null}(i,"strict-di"),e(i,a?[a]:[],t)}}function ne(n,r,i){be(i)||(i={});i=de({strictDi:!1},i);var t=function(){if((n=ue(n)).injector()){var e=n[0]===j.document?"document":Ie(n);throw l("btstrpd","App already bootstrapped with this element '{0}'",e.replace(/</,"<").replace(/>/,">"))}(r=r||[]).unshift(["$provide",function(e){e.value("$rootElement",n)}]),i.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var t=Ut(r,i.strictDi);return t.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),t},e=/^NG_ENABLE_DEBUG_INFO!/,a=/^NG_DEFER_BOOTSTRAP!/;if(j&&e.test(j.name)&&(i.debugInfoEnabled=!0,j.name=j.name.replace(e,"")),j&&!a.test(j.name))return t();j.name=j.name.replace(a,""),v.resumeBootstrap=function(e){return fe(e,function(e){r.push(e)}),t()},we(v.resumeDeferredBootstrap)&&v.resumeDeferredBootstrap()}function re(){j.name="NG_ENABLE_DEBUG_INFO!"+j.name,j.location.reload()}function ie(e){var t=v.element(e).injector();if(!t)throw l("test","no injector found for element argument to getTestability");return t.get("$$testability")}var ae=/[A-Z]/g;function Pe(e,n){return n=n||"_",e.replace(ae,function(e,t){return(t?n:"")+e.toLowerCase()})}var oe=!1;function Me(e,t,n){if(!e)throw l("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function se(e,t,n){return n&&ye(e)&&(e=e[e.length-1]),Me(we(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function ce(e,t){if("hasOwnProperty"===e)throw l("badname","hasOwnProperty is not a valid {0} name",t)}function le(e,t,n){if(!t)return e;for(var r,i=t.split("."),a=e,o=i.length,s=0;s<o;s++)r=i[s],e&&(e=(a=e)[r]);return!n&&we(e)?De(a,e):e}function $e(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=ue(s.call(e,0,i))),t.push(n));return t||e}function Oe(){return Object.create(null)}var Re=1,Ne=3,Le=8,Fe=9,Ge=11;function je(e,t){if(ye(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(be(e))for(var i in t=t||{},e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i]);return t||e}function Be(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):ge(e)?"undefined":"string"!=typeof e?(t=e,n=[],JSON.stringify(t,function(e,t){if(be(t=i(e,t))){if(0<=n.indexOf(t))return"...";n.push(t)}return t})):e;var t,n}var Ue={full:"1.5.10",major:1,minor:5,dot:10,codeName:"asynchronous-synchronization"};ct.expando="ng339";var He=ct.cache={},We=1,qe=function(e,t,n){e.addEventListener(t,n,!1)},ze=function(e,t,n){e.removeEventListener(t,n,!1)};ct._data=function(e){return this.cache[e[this.expando]]||{}};var Ve=/([:\-_]+(.))/g,Ye=/^moz([A-Z])/,Ke={mouseleave:"mouseout",mouseenter:"mouseover"},Qe=w("jqLite");function Xe(e){return e.replace(Ve,function(e,t,n,r){return r?n.toUpperCase():n}).replace(Ye,"Moz$1")}var Ze=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Je=/<|&#?\w+;/,et=/<([\w:-]+)/,tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt={option:[1,'<select multiple="multiple">',"</select>"],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 rt(e){return!Je.test(e)}function it(e){var t=e.nodeType;return t===Re||!t||t===Fe}function at(e,t){var n,r,i,a,o=t.createDocumentFragment(),s=[];if(rt(e))s.push(t.createTextNode(e));else{for(n=o.appendChild(t.createElement("div")),r=(et.exec(e)||["",""])[1].toLowerCase(),i=nt[r]||nt._default,n.innerHTML=i[1]+e.replace(tt,"<$1></$2>")+i[2],a=i[0];a--;)n=n.lastChild;s=F(s,n.childNodes),(n=o.firstChild).textContent=""}return o.textContent="",o.innerHTML="",fe(s,function(e){o.appendChild(e)}),o}function ot(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}nt.optgroup=nt.option,nt.tbody=nt.tfoot=nt.colgroup=nt.caption=nt.thead,nt.th=nt.td;var st=j.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};function ct(e){if(e instanceof ct)return e;var t,n,r,i;if(ve(e)&&(e=Se(e),t=!0),!(this instanceof ct)){if(t&&"<"!==e.charAt(0))throw Qe("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ct(e)}bt(this,t?(n=e,r=r||j.document,(i=Ze.exec(n))?[r.createElement(i[1])]:(i=at(n,r))?i.childNodes:[]):e)}function lt(e){return e.cloneNode(!0)}function ut(e,t){if(t||dt(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r<i;r++)dt(n[r])}function ft(n,e,r,t){if(_e(t))throw Qe("offargs","jqLite#off() does not support the `selector` argument");var i=ht(n),a=i&&i.events,o=i&&i.handle;if(o)if(e){var s=function(e){var t=a[e];_e(r)&&xe(t||[],r),_e(r)&&t&&0<t.length||(ze(n,e,o),delete a[e])};fe(e.split(" "),function(e){s(e),Ke[e]&&s(Ke[e])})}else for(e in a)"$destroy"!==e&&ze(n,e,o),delete a[e]}function dt(e,t){var n=e.ng339,r=n&&He[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),ft(e)),delete He[n],e.ng339=void 0}}function ht(e,t){var n=e.ng339,r=n&&He[n];return t&&!r&&(e.ng339=n=++We,r=He[n]={events:{},data:{},handle:void 0}),r}function pt(e,t,n){if(it(e)){var r=_e(n),i=!r&&t&&!be(t),a=!t,o=ht(e,!i),s=o&&o.data;if(r)s[t]=n;else{if(a)return s;if(i)return s&&s[t];de(s,t)}}}function mt(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function gt(t,e){e&&t.setAttribute&&fe(e.split(" "),function(e){t.setAttribute("class",Se((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Se(e)+" "," ")))})}function _t(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");fe(t.split(" "),function(e){e=Se(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Se(n))}}function bt(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function vt(e,t){return yt(e,"$"+(t||"ngController")+"Controller")}function yt(e,t,n){e.nodeType===Fe&&(e=e.documentElement);for(var r=ye(t)?t:[t];e;){for(var i=0,a=r.length;i<a;i++)if(_e(n=ue.data(e,r[i])))return n;e=e.parentNode||e.nodeType===Ge&&e.host}}function wt(e){for(ut(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Ct(e,t){t||ut(e);var n=e.parentNode;n&&n.removeChild(e)}var At=ct.prototype={ready:function(e){var t=!1;function n(){t||(t=!0,e())}"complete"===j.document.readyState?j.setTimeout(n):(this.on("DOMContentLoaded",n),ct(j).on("load",n))},toString:function(){var t=[];return fe(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(e){return ue(0<=e?this[e]:this[this.length+e])},length:0,push:e,sort:[].sort,splice:[].splice},St={};fe("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){St[S(e)]=e});var Tt={};fe("input,select,option,textarea,button,form,details".split(","),function(e){Tt[e]=!0});var xt={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};function kt(e,t){var n=St[t.toLowerCase()];return n&&Tt[Te(e)]&&n}function Et(e,t,n){n.call(e,t)}function Dt(e,t,n){var r=t.relatedTarget;r&&(r===e||st.call(e,r))||n.call(e,t)}function It(){this.$get=function(){return de(ct,{hasClass:function(e,t){return e.attr&&(e=e[0]),mt(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),_t(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),gt(e,t)}})}}function Pt(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"===r||"object"===r&&null!==e?e.$$hashKey=r+":"+(t||k)():r+":"+e}function Mt(e,t){if(t){var n=0;this.nextUid=function(){return++n}}fe(e,this.put,this)}fe({data:pt,removeData:dt,hasData:function(e){for(var t in He[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)dt(e[t])}},function(e,t){ct[t]=e}),fe({data:pt,inheritedData:yt,scope:function(e){return ue.data(e,"$scope")||yt(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return ue.data(e,"$isolateScope")||ue.data(e,"$isolateScopeNoTemplate")},controller:vt,injector:function(e){return yt(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:mt,css:function(e,t,n){if(t=Xe(t),!_e(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r=e.nodeType;if(r!==Ne&&2!==r&&r!==Le){var i=S(t);if(St[i]){if(!_e(n))return e[t]||(e.attributes.getNamedItem(t)||pe).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(_e(n))e.setAttribute(t,n);else if(e.getAttribute){var a=e.getAttribute(t,2);return null===a?void 0:a}}},prop:function(e,t,n){if(!_e(n))return e[t];e[t]=n},text:function(){return e.$dv="",e;function e(e,t){if(ge(t)){var n=e.nodeType;return n===Re||n===Ne?e.textContent:""}e.textContent=t}}(),val:function(e,t){if(ge(t)){if(e.multiple&&"select"===Te(e)){var n=[];return fe(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){if(ge(t))return e.innerHTML;ut(e,!0),e.innerHTML=t},empty:wt},function(l,e){ct.prototype[e]=function(e,t){var n,r,i=this.length;if(l!==wt&&ge(2===l.length&&l!==mt&&l!==vt?e:t)){if(be(e)){for(n=0;n<i;n++)if(l===pt)l(this[n],e);else for(r in e)l(this[n],r,e[r]);return this}for(var a=l.$dv,o=ge(a)?Math.min(i,1):i,s=0;s<o;s++){var c=l(this[s],e,t);a=a?a+c:c}return a}for(n=0;n<i;n++)l(this[n],e,t);return this}}),fe({removeData:dt,on:function(i,e,a,t){if(_e(t))throw Qe("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(it(i)){var s,c,n,r=ht(i,!0),o=r.events,l=r.handle;l||(l=r.handle=(c=o,(n=function(e,t){e.isDefaultPrevented=function(){return e.defaultPrevented};var n=c[t||e.type],r=n?n.length:0;if(r){if(ge(e.immediatePropagationStopped)){var i=e.stopImmediatePropagation;e.stopImmediatePropagation=function(){e.immediatePropagationStopped=!0,e.stopPropagation&&e.stopPropagation(),i&&i.call(e)}}e.isImmediatePropagationStopped=function(){return!0===e.immediatePropagationStopped};var a=n.specialHandlerWrapper||Et;1<r&&(n=je(n));for(var o=0;o<r;o++)e.isImmediatePropagationStopped()||a(s,e,n[o])}}).elem=s=i,n));for(var u=0<=e.indexOf(" ")?e.split(" "):[e],f=u.length,d=function(e,t,n){var r=o[e];r||((r=o[e]=[]).specialHandlerWrapper=t,"$destroy"===e||n||qe(i,e,l)),r.push(a)};f--;)e=u[f],Ke[e]?(d(Ke[e],Dt),d(e,void 0,!0)):d(e)}},off:ft,one:function(t,n,r){(t=ue(t)).on(n,function e(){t.off(n,r),t.off(n,e)}),t.on(n,r)},replaceWith:function(t,e){var n,r=t.parentNode;ut(t),fe(new ct(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(e){var t=[];return fe(e.childNodes,function(e){e.nodeType===Re&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Re||n===Ge)for(var r=0,i=(t=new ct(t)).length;r<i;r++){var a=t[r];e.appendChild(a)}},prepend:function(t,e){if(t.nodeType===Re){var n=t.firstChild;fe(new ct(e),function(e){t.insertBefore(e,n)})}},wrap:function(e,t){ot(e,ue(t).eq(0).clone()[0])},remove:Ct,detach:function(e){Ct(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r)for(var i=0,a=(t=new ct(t)).length;i<a;i++){var o=t[i];r.insertBefore(o,n.nextSibling),n=o}},addClass:_t,removeClass:gt,toggleClass:function(n,e,r){e&&fe(e.split(" "),function(e){var t=r;ge(t)&&(t=!mt(n,e)),(t?_t:gt)(n,e)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==Ge?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:lt,triggerHandler:function(t,e,n){var r,i,a,o=e.type||e,s=ht(t),c=s&&s.events,l=c&&c[o];l&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:pe,type:o,target:t},e.type&&(r=de(r,e)),i=je(l),a=n?[r].concat(n):[r],fe(i,function(e){r.isImmediatePropagationStopped()||e.apply(t,a)}))}},function(o,e){ct.prototype[e]=function(e,t,n){for(var r,i=0,a=this.length;i<a;i++)ge(r)?_e(r=o(this[i],e,t,n))&&(r=ue(r)):bt(r,o(this[i],e,t,n));return _e(r)?r:this}}),ct.prototype.bind=ct.prototype.on,ct.prototype.unbind=ct.prototype.off,Mt.prototype={put:function(e,t){this[Pt(e,this.nextUid)]=t},get:function(e){return this[Pt(e,this.nextUid)]},remove:function(e){var t=this[e=Pt(e,this.nextUid)];return delete this[e],t}};var $t=[function(){this.$get=[function(){return Mt}]}],Ot=/^([^(]+?)=>/,Rt=/^[^(]*\(\s*([^)]*)\)/m,Nt=/,/,Lt=/^\s*(_?)(\S+?)\1\s*$/,Ft=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Gt=w("$injector");function jt(e){return Function.prototype.toString.call(e)+" "}function Bt(e){var t=jt(e).replace(Ft,"");return t.match(Ot)||t.match(Rt)}function Ut(e,l){l=!0===l;var i={},a="Provider",s=[],o=new Mt([],!0),u={$provide:{provider:d(h),factory:d(p),service:d(function(e,t){return p(e,["$injector",function(e){return e.instantiate(t)}])}),value:d(function(e,t){return p(e,x(t),!1)}),constant:d(function(e,t){ce(e,"constant"),u[e]=t,n[e]=t}),decorator:function(e,t){var n=c.get(e+a),r=n.$get;n.$get=function(){var e=f.invoke(r,n);return f.invoke(t,null,{$delegate:e})}}}},c=u.$injector=m(u,function(e,t){throw v.isString(t)&&s.push(t),Gt("unpr","Unknown provider: {0}",s.join(" <- "))}),n={},t=m(n,function(e,t){var n=c.get(e+a,t);return f.invoke(n.$get,n,void 0,e)}),f=t;u["$injector"+a]={$get:x(t)};var r=function n(e){Me(ge(e)||ye(e),"modulesToLoad","not an array");var r,i=[];fe(e,function(t){if(!o.get(t)){o.put(t,!0);try{ve(t)?(r=g(t),i=i.concat(n(r.requires)).concat(r._runBlocks),e(r._invokeQueue),e(r._configBlocks)):we(t)?i.push(c.invoke(t)):ye(t)?i.push(c.invoke(t)):se(t,"module")}catch(e){throw ye(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Gt("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function e(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=c.get(r[0]);i[r[1]].apply(i,r[2])}}});return i}(e);return(f=t.get("$injector")).strictDi=l,fe(r,function(e){e&&f.invoke(e)}),f;function d(n){return function(e,t){if(!be(e))return n(e,t);fe(e,_(n))}}function h(e,t){if(ce(e,"service"),(we(t)||ye(t))&&(t=c.instantiate(t)),!t.$get)throw Gt("pget","Provider '{0}' must define $get factory method.",e);return u[e+a]=t}function p(e,t,n){return h(e,{$get:!1!==n?(r=e,i=t,function(){var e=f.invoke(i,this);if(ge(e))throw Gt("undef","Provider '{0}' must return a value from $get factory method.",r);return e}):t});var r,i}function m(n,r){function c(t,e){if(n.hasOwnProperty(t)){if(n[t]===i)throw Gt("cdep","Circular dependency found: {0}",t+" <- "+s.join(" <- "));return n[t]}try{return s.unshift(t),n[t]=i,n[t]=r(t,e),n[t]}catch(e){throw n[t]===i&&delete n[t],e}finally{s.shift()}}function o(e,t,n){for(var r=[],i=Ut.$$annotate(e,l,n),a=0,o=i.length;a<o;a++){var s=i[a];if("string"!=typeof s)throw Gt("itkn","Incorrect injection token! Expected service name as string, got {0}",s);r.push(t&&t.hasOwnProperty(s)?t[s]:c(s,n))}return r}return{invoke:function(e,t,n,r){"string"==typeof n&&(r=n,n=null);var i,a=o(e,n,r);return ye(e)&&(e=e[e.length-1]),i=e,U<=11||"function"!=typeof i||!/^(?:class\b|constructor\()/.test(jt(i))?e.apply(t,a):(a.unshift(null),new(Function.prototype.bind.apply(e,a)))},instantiate:function(e,t,n){var r=ye(e)?e[e.length-1]:e,i=o(e,t,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:c,annotate:Ut.$$annotate,has:function(e){return u.hasOwnProperty(e+a)||n.hasOwnProperty(e)}}}}function Ht(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(r,i,a){var o=r.document;function s(e){if(e){e.scrollIntoView();var t=function(){var e=c.yOffset;if(we(e))e=e();else if($(e)){var t=e[0];e="fixed"!==r.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom}else C(e)||(e=0);return e}();if(t){var n=e.getBoundingClientRect().top;r.scrollBy(0,n-t)}}else r.scrollTo(0,0)}function c(e){var t,n,r;(e=ve(e)?e:C(e)?e.toString():i.hash())?(t=o.getElementById(e))?s(t):(n=o.getElementsByName(e),r=null,Array.prototype.some.call(n,function(e){if("a"===Te(e))return r=e,!0}),(t=r)?s(t):"top"===e&&s(null)):s(null)}return e&&a.$watch(function(){return i.hash()},function(e,t){var n,r;e===t&&""===e||(n=function(){a.$evalAsync(c)},"complete"===(r=r||j).document.readyState?r.setTimeout(n):ue(r).on("load",n))}),c}]}Ut.$$annotate=function(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw ve(n)&&n||(n=e.name||((a=Bt(e))?"function("+(a[1]||"").replace(/[\s\r\n]+/," ")+")":"fn")),Gt("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);fe(Bt(e)[1].split(Nt),function(e){e.replace(Lt,function(e,t,n){r.push(n)})})}e.$inject=r}}else ye(e)?(se(e[i=e.length-1],"fn"),r=e.slice(0,i)):se(e,"fn",!0);return r};var Wt=w("$animate"),qt=1,zt="ng-animate";function Vt(e,t){return e||t?e?t?(ye(e)&&(e=e.join(" ")),ye(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Yt(e){return be(e)?e:{}}var Kt=function(){this.$get=pe},Qt=function(){var m=new Mt,g=[];this.$get=["$$AnimateRunner","$rootScope",function(f,d){return{enabled:pe,on:pe,off:pe,pin:pe,push:function(e,t,n,r){var i,a,o,s,c,l;r&&r(),(n=n||{}).from&&e.css(n.from),n.to&&e.css(n.to),(n.addClass||n.removeClass)&&(i=e,a=n.addClass,o=n.removeClass,s=m.get(i)||{},c=h(s,a,!0),l=h(s,o,!1),(c||l)&&(m.put(i,s),g.push(i),1===g.length&&d.$$postDigest(p)));var u=new f;return u.complete(),u}};function h(t,e,n){var r=!1;return e&&fe(e=ve(e)?e.split(" "):ye(e)?e:[],function(e){e&&(r=!0,t[e]=n)}),r}function p(){fe(g,function(e){var t=m.get(e);if(t){var n=function(e){ve(e)&&(e=e.split(" "));var t=Oe();return fe(e,function(e){e.length&&(t[e]=!0)}),t}(e.attr("class")),r="",i="";fe(t,function(e,t){e!==!!n[t]&&(e?r+=(r.length?" ":"")+t:i+=(i.length?" ":"")+t)}),fe(e,function(e){r&&_t(e,r),i&>(e,i)}),m.remove(e)}}),g.length=0}}]},Xt=["$provide",function(r){var i=this;this.$$registeredAnimations=Object.create(null),this.register=function(e,t){if(e&&"."!==e.charAt(0))throw Wt("notcsel","Expecting class selector starting with '.' got '{0}'.",e);var n=e+"-animation";i.$$registeredAnimations[e.substr(1)]=n,r.factory(n,t)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter&&new RegExp("(\\s+|\\/)"+zt+"(\\s+|\\/)").test(this.$$classNameFilter.toString())))throw Wt("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',zt);return this.$$classNameFilter},this.$get=["$$animateQueue",function(a){function i(e,t,n){if(n){var r=function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===qt)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:a.on,off:a.off,pin:a.pin,enabled:a.enabled,cancel:function(e){e.end&&e.end()},enter:function(e,t,n,r){return t=t&&ue(t),n=n&&ue(n),i(e,t=t||n.parent(),n),a.push(e,"enter",Yt(r))},move:function(e,t,n,r){return t=t&&ue(t),n=n&&ue(n),i(e,t=t||n.parent(),n),a.push(e,"move",Yt(r))},leave:function(e,t){return a.push(e,"leave",Yt(t),function(){e.remove()})},addClass:function(e,t,n){return(n=Yt(n)).addClass=Vt(n.addclass,t),a.push(e,"addClass",n)},removeClass:function(e,t,n){return(n=Yt(n)).removeClass=Vt(n.removeClass,t),a.push(e,"removeClass",n)},setClass:function(e,t,n,r){return(r=Yt(r)).addClass=Vt(r.addClass,t),r.removeClass=Vt(r.removeClass,n),a.push(e,"setClass",r)},animate:function(e,t,n,r,i){return(i=Yt(i)).from=i.from?de(i.from,t):t,i.to=i.to?de(i.to,n):n,r=r||"ng-inline-animate",i.tempClasses=Vt(i.tempClasses,r),a.push(e,"animate",i)}}}]}],Zt=function(){this.$get=["$$rAF",function(t){var n=[];function r(e){n.push(e),1<n.length||t(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}return function(){var t=!1;return r(function(){t=!0}),function(e){t?e():r(e)}}}]},Jt=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$document","$timeout",function(t,e,r,i,a){function n(e){this.setHost(e);var n=r();this._doneCallbacks=[],this._tick=function(e){var t=i[0];t&&t.hidden?a(e,0,!1):n(e)},this._state=0}return n.chain=function(e,n){var r=0;!function t(){if(r===e.length)return void n(!0);e[r](function(e){!1!==e?(r++,t()):n(!1)})}()},n.all=function(t,n){var r=0,i=!0;function a(e){i=i&&e,++r===t.length&&n(i)}fe(t,function(e){e.done(a)})},n.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:pe,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(t){2!==this._state&&(fe(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},n}]},en=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(o,e,s){return function(e,t){var n=t||{};n.$$prepared||(n=R(n)),n.cleanupStyles&&(n.from=n.to=null),n.from&&(e.css(n.from),n.from=null);var r,i=new s;return{start:a,end:a};function a(){return o(function(){!function(){n.addClass&&(e.addClass(n.addClass),n.addClass=null);n.removeClass&&(e.removeClass(n.removeClass),n.removeClass=null);n.to&&(e.css(n.to),n.to=null)}(),r||i.complete(),r=!0}),i}}}]};function tn(s,e,t,c){var l=this,u=s.location,f=s.history,r=s.setTimeout,n=s.clearTimeout,i={};l.isMock=!1;var a=0,o=[];function d(e){try{e.apply(null,Ee(arguments,1))}finally{if(0===--a)for(;o.length;)try{o.pop()()}catch(e){t.error(e)}}}l.$$completeOutstandingRequest=d,l.$$incOutstandingRequestCount=function(){a++},l.notifyWhenNoOutstandingRequests=function(e){0===a?e():o.push(e)};var h,p,m=u.href,g=e.find("base"),_=null,b=c.history?function(){try{return f.state}catch(e){}}:pe;A(),p=h,l.url=function(e,t,n){if(ge(n)&&(n=null),u!==s.location&&(u=s.location),f!==s.history&&(f=s.history),e){var r=p===n;if(m===e&&(!c.history||r))return l;var i=m&&Xn(m)===Xn(e);return m=e,p=n,!c.history||i&&r?(i||(_=e),t?u.replace(e):i?u.hash=-1===(o=(a=e).indexOf("#"))?"":a.substr(o):u.href=e,u.href!==e&&(_=e)):(f[t?"replaceState":"pushState"](n,"",e),A(),p=h),_&&(_=e),l}return _||u.href.replace(/%27/g,"'");var a,o},l.state=function(){return h};var v=[],y=!1;function w(){_=null,A(),S()}var C=null;function A(){ke(h=ge(h=b())?null:h,C)&&(h=C),C=h}function S(){m===l.url()&&p===h||(m=l.url(),p=h,fe(v,function(e){e(l.url(),h)}))}l.onUrlChange=function(e){return y||(c.history&&ue(s).on("popstate",w),ue(s).on("hashchange",w),y=!0),v.push(e),e},l.$$applicationDestroyed=function(){ue(s).off("hashchange popstate",w)},l.$$checkUrlChange=S,l.baseHref=function(){var e=g.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},l.defer=function(e,t){var n;return a++,n=r(function(){delete i[n],d(e)},t||0),i[n]=!0,n},l.defer.cancel=function(e){return!!i[e]&&(delete i[e],n(e),d(pe),!0)}}function nn(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new tn(e,r,t,n)}]}function rn(){this.$get=function(){var f={};function e(e,t){if(e in f)throw w("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var n=0,r=de({},t,{id:e}),i=Oe(),a=t&&t.capacity||Number.MAX_VALUE,o=Oe(),s=null,c=null;return f[e]={put:function(e,t){if(!ge(t)){if(a<Number.MAX_VALUE)l(o[e]||(o[e]={key:e}));return e in i||n++,i[e]=t,a<n&&this.remove(c.key),t}},get:function(e){if(a<Number.MAX_VALUE){var t=o[e];if(!t)return;l(t)}return i[e]},remove:function(e){if(a<Number.MAX_VALUE){var t=o[e];if(!t)return;t===s&&(s=t.p),t===c&&(c=t.n),u(t.n,t.p),delete o[e]}e in i&&(delete i[e],n--)},removeAll:function(){i=Oe(),n=0,o=Oe(),s=c=null},destroy:function(){o=r=i=null,delete f[e]},info:function(){return de({},r,{size:n})}};function l(e){e!==s&&(c?c===e&&(c=e.n):c=e,u(e.n,e.p),u(e,s),(s=e).n=null)}function u(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}}return e.info=function(){var n={};return fe(f,function(e,t){n[t]=e.info()}),n},e.get=function(e){return f[e]},e}}function an(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var on=w("$compile");var sn=new function(){};function cn(n,t){var p={},m="Directive",F=/^\s*directive:\s*([\w-]+)\s+(.*)$/,G=/(([\w-]+)(?::([^;]+))?;?)/,u=function(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),d=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,f=/^(on[a-z]+|formaction)$/,s=Oe();function r(e,r,i){var a=/^\s*([@&<]|=(\*?))(\??)\s*(\w*)\s*$/,o=Oe();return fe(e,function(e,t){if(e in s)o[t]=s[e];else{var n=e.match(a);if(!n)throw on("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",r,t,e,i?"controller bindings definition":"isolate scope definition");o[t]={mode:n[1][0],collection:"*"===n[2],optional:"?"===n[3],attrName:n[4]||t},n[4]&&(s[e]=o[t])}}),o}function g(e,t){var n={isolateScope:null,bindToController:null};if(be(e.scope)&&(!0===e.bindToController?(n.bindToController=r(e.scope,t,!0),n.isolateScope={}):n.isolateScope=r(e.scope,t,!1)),be(e.bindToController)&&(n.bindToController=r(e.bindToController,t,!0)),n.bindToController&&!e.controller)throw on("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);return n}this.directive=function e(c,t){return Me(c,"name"),ce(c,"directive"),ve(c)?(!function(e){var t=e.charAt(0);if(!t||t!==S(t))throw on("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw on("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}(c),Me(t,"directiveFactory"),p.hasOwnProperty(c)||(p[c]=[],n.factory(c+m,["$injector","$exceptionHandler",function(a,o){var s=[];return fe(p[c],function(e,t){try{var n=a.invoke(e);we(n)?n={compile:x(n)}:!n.compile&&n.link&&(n.compile=x(n.link)),n.priority=n.priority||0,n.index=t,n.name=n.name||c,n.require=(i=(r=n).require||r.controller&&r.name,!ye(i)&&be(i)&&fe(i,function(e,t){var n=e.match(d);e.substring(n[0].length)||(i[t]=n[0]+t)}),i),n.restrict=function(e,t){if(e&&(!ve(e)||!/[EACM]/.test(e)))throw on("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",e,t);return e||"EA"}(n.restrict,c),n.$$moduleName=e.$$moduleName,s.push(n)}catch(e){o(e)}var r,i}),s}])),p[c].push(t)):fe(c,_(e)),this},this.component=function(e,i){var a=i.controller||function(){};function n(r){function e(n){return we(n)||ye(n)?function(e,t){return r.invoke(n,this,{$element:e,$attrs:t})}:n}var t=i.template||i.templateUrl?i.template:"",n={controller:a,controllerAs:function(e,t){if(t&&ve(t))return t;if(ve(e)){var n=mn.exec(e);if(n)return n[3]}}(i.controller)||i.controllerAs||"$ctrl",template:e(t),templateUrl:e(i.templateUrl),transclude:i.transclude,scope:{},bindToController:i.bindings||{},restrict:"E",require:i.require};return fe(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e)}),n}return fe(i,function(e,t){"$"===t.charAt(0)&&(n[t]=e,we(a)&&(a[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return _e(e)?(t.aHrefSanitizationWhitelist(e),this):t.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return _e(e)?(t.imgSrcSanitizationWhitelist(e),this):t.imgSrcSanitizationWhitelist()};var l=!0;this.debugInfoEnabled=function(e){return _e(e)?(l=e,this):l};var le=!0;this.preAssignBindingsEnabled=function(e){return _e(e)?(le=e,this):le};var w=10;this.onChangesTtl=function(e){return arguments.length?(w=e,this):w};var C=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(C=e,this):C};var A=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(A=e,this):A},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate","$$sanitizeUri",function(h,T,W,e,v,q,a,i,o,_){var s,b=/^\w/,y=j.document.createElement("div"),x=C,k=A,t=w;function c(){try{if(!--t)throw s=void 0,on("infchng","{0} $onChanges() iterations reached. Aborting!\n",w);a.$apply(function(){for(var t=[],e=0,n=s.length;e<n;++e)try{s[e]()}catch(e){t.push(e)}if(s=void 0,t.length)throw t})}finally{t++}}function z(e,t){if(t){var n,r,i,a=Object.keys(t);for(n=0,r=a.length;n<r;n++)this[i=a[n]]=t[i]}else this.$attr={};this.$$element=e}function E(e,t){try{e.addClass(t)}catch(e){}}z.prototype={$normalize:fn,$addClass:function(e){e&&0<e.length&&o.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&o.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=dn(e,t);n&&n.length&&o.addClass(this.$$element,n);var r=dn(t,e);r&&r.length&&o.removeClass(this.$$element,r)},$set:function(e,t,n,r){var i,a=kt(this.$$element[0],e),o=xt[e],s=e;if(a?(this.$$element.prop(e,t),r=a):o&&(this[o]=t,s=o),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=Pe(e,"-")),"a"===(i=Te(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===i&&"src"===e)this[e]=t=_(t,"src"===e);else if("img"===i&&"srcset"===e&&_e(t)){for(var c="",l=Se(t),u=/\s/.test(l)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,f=l.split(u),d=Math.floor(f.length/2),h=0;h<d;h++){var p=2*h;c+=_(Se(f[p]),!0),c+=" "+Se(f[p+1])}var m=Se(f[2*h]).split(/\s/);c+=_(Se(m[0]),!0),2===m.length&&(c+=" "+Se(m[1])),this[e]=t=c}!1!==n&&(null===t||ge(t)?this.$$element.removeAttr(r):b.test(r)?this.$$element.attr(r,t):function(e,t,n){y.innerHTML="<span "+t+">";var r=y.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],r,t));var g=this.$$observers;g&&fe(g[s],function(e){try{e(t)}catch(e){W(e)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=Oe()),i=r[e]||(r[e]=[]);return i.push(t),a.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||ge(n[e])||t(n[e])}),function(){xe(i,t)}}};var n=T.startSymbol(),r=T.endSymbol(),V="{{"===n&&"}}"===r?me:function(e){return e.replace(/\{\{/g,n).replace(/}}/g,r)},D=/^ngAttr[A-Z]/,I=/^(.+)Start$/;return Y.$$addBindingInfo=l?function(e,t){var n=e.data("$binding")||[];ye(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:pe,Y.$$addBindingClass=l?function(e){E(e,"ng-binding")}:pe,Y.$$addScopeInfo=l?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:pe,Y.$$addScopeClass=l?function(e,t){E(e,t?"ng-isolate-scope":"ng-scope")}:pe,Y.$$createComment=function(e,t){var n="";return l&&(n=" "+(e||"")+": ",t&&(n+=t+" ")),j.document.createComment(n)},Y;function Y(u,e,t,n,f){u instanceof ue||(u=ue(u));for(var r=/\S+/,i=0,a=u.length;i<a;i++){var o=u[i];o.nodeType===Ne&&o.nodeValue.match(r)&&ot(o,u[i]=j.document.createElement("span"))}var d=P(u,e,u,t,n,f);Y.$$addScopeClass(u);var h=null;return function(e,t,n){Me(e,"scope"),f&&f.needsNewScope&&(e=e.$parent.$new());var r,i,a,o=(n=n||{}).parentBoundTranscludeFn,s=n.transcludeControllers,c=n.futureParentElement;if(o&&o.$$boundTransclude&&(o=o.$$boundTransclude),h||(i=(r=c)&&r[0],h=i&&"foreignobject"!==Te(i)&&H.call(i).match(/SVG/)?"svg":"html"),a="html"!==h?ue(ie(h,ue("<div>").append(u).html())):t?At.clone.call(u):u,s)for(var l in s)a.data("$"+l+"Controller",s[l].instance);return Y.$$addScopeInfo(a,e),t&&t(a,e),d&&d(e,a,a,o),a}}function P(e,p,t,n,r,i){for(var a,o,s,c,l,u,m,g=[],f=0;f<e.length;f++)a=new z,(s=(o=K(e[f],[],a,0===f?n:void 0,r)).length?$(o,e[f],a,p,t,null,[],[],i):null)&&s.scope&&Y.$$addScopeClass(a.$$element),l=s&&s.terminal||!(c=e[f].childNodes)||!c.length?null:P(c,s?(s.transcludeOnThisElement||!s.templateOnThisElement)&&s.transclude:p),(s||l)&&(g.push(f,s,l),u=!0,m=m||s),i=null;return u?function(e,t,n,r){var i,a,o,s,c,l,u,f,d;if(m){var h=t.length;for(d=new Array(h),c=0;c<g.length;c+=3)u=g[c],d[u]=t[u]}else d=t;for(c=0,l=g.length;c<l;)o=d[g[c++]],i=g[c++],a=g[c++],i?(i.scope?(s=e.$new(),Y.$$addScopeInfo(ue(o),s)):s=e,f=i.transcludeOnThisElement?M(e,i.transclude,r):!i.templateOnThisElement&&r?r:!r&&p?M(e,p):null,i(a,s,o,n,f)):a&&a(e,o.childNodes,void 0,r)}:null}function M(a,o,s){function e(e,t,n,r,i){return e||((e=a.$new(!1,i)).$$transcluded=!0),o(e,t,{parentBoundTranscludeFn:s,transcludeControllers:n,futureParentElement:r})}var t=e.$$slots=Oe();for(var n in o.$$slots)o.$$slots[n]?t[n]=M(a,o.$$slots[n],s):t[n]=null;return e}function K(e,t,n,r,i){var a,o,s,c,l,u,f=e.nodeType,d=n.$attr;switch(f){case Re:O(t,fn(o=Te(e)),"E",r,i);for(var h,p,m,g,_,b,v=e.attributes,y=0,w=v&&v.length;y<w;y++){var C=!1,A=!1;p=(h=v[y]).name,_=Se(h.value),g=fn(p),(b=D.test(g))&&(p=p.replace(un,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var S=g.match(I);S&&R(S[1])&&(A=(C=p).substr(0,p.length-5)+"end",p=p.substr(0,p.length-6)),d[m=fn(p.toLowerCase())]=p,!b&&n.hasOwnProperty(m)||(n[m]=_,kt(e,m)&&(n[m]=!0)),L(e,t,_,m,b),O(t,m,"A",r,i,C,A)}if("input"===o&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!k)break;if(be(s=e.className)&&(s=s.animVal),ve(s)&&""!==s)for(;a=G.exec(s);)O(t,m=fn(a[2]),"C",r,i)&&(n[m]=Se(a[3])),s=s.substr(a.index+a[0].length);break;case Ne:if(11===U)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===Ne;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);c=t,l=e.nodeValue,(u=T(l,!0))&&c.push({priority:0,compile:function(e){var t=e.parent(),r=!!t.length;return r&&Y.$$addBindingClass(t),function(e,t){var n=t.parent();r||Y.$$addBindingClass(n),Y.$$addBindingInfo(n,u.expressions),e.$watch(u,function(e){t[0].nodeValue=e})}}});break;case Le:if(!x)break;!function(e,t,n,r,i){try{var a=F.exec(e.nodeValue);if(a){var o=fn(a[1]);O(t,o,"M",r,i)&&(n[o]=Se(a[2]))}}catch(e){}}(e,t,n,r,i)}return t.sort(N),t}function Q(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw on("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType===Re&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(0<i);else r.push(e);return ue(r)}function X(a,o,s){return function(e,t,n,r,i){return t=Q(t[0],o,s),a(e,t,n,r,i)}}function Z(e,t,n,r,i,a){var o;return e?Y(t,n,r,i,a):function(){return o||(o=Y(t,n,r,i,a),t=n=a=null),o.apply(this,arguments)}}function $(e,w,C,t,n,r,A,S,i){i=i||{};for(var a,o,s,c,l,u=-Number.MAX_VALUE,T=i.newScopeDirective,x=i.controllerDirectives,k=i.newIsolateScopeDirective,E=i.templateDirective,f=i.nonTlbTranscludeDirective,d=!1,h=!1,D=i.hasElementTranscludeDirective,p=C.$$element=ue(w),m=r,g=t,_=!1,b=!1,v=0,y=e.length;v<y;v++){var I=(a=e[v]).$$start,P=a.$$end;if(I&&(p=Q(w,I,P)),s=void 0,u>a.priority)break;if((l=a.scope)&&(a.templateUrl||(be(l)?(re("new/isolated scope",k||T,a,p),k=a):re("new/isolated scope",k,a,p)),T=T||a),o=a.name,!_&&(a.replace&&(a.templateUrl||a.template)||a.transclude&&!a.$$tlb)){for(var M,$=v+1;M=e[$++];)if(M.transclude&&!M.$$tlb||M.replace&&(M.templateUrl||M.template)){b=!0;break}_=!0}if(!a.templateUrl&&a.controller&&(x=x||Oe(),re("'"+o+"' controller",x[o],a,p),x[o]=a),l=a.transclude)if(d=!0,a.$$tlb||(re("transclusion",f,a,p),f=a),"element"===l)D=!0,u=a.priority,s=p,p=C.$$element=ue(Y.$$createComment(o,C[o])),w=p[0],ae(n,Ee(s),w),s[0].$$parentNode=s[0].parentNode,g=Z(b,s,t,u,m&&m.name,{nonTlbTranscludeDirective:f});else{var O=Oe();if(s=ue(lt(w)).contents(),be(l)){s=[];var R=Oe(),N=Oe();for(var L in fe(l,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,R[e]=t,O[t]=null,N[t]=n}),fe(p.contents(),function(e){var t=R[fn(Te(e))];t?(N[t]=!0,O[t]=O[t]||[],O[t].push(e)):s.push(e)}),fe(N,function(e,t){if(!e)throw on("reqslot","Required transclusion slot `{0}` was not filled.",t)}),O)O[L]&&(O[L]=Z(b,O[L],t))}p.empty(),(g=Z(b,s,t,void 0,void 0,{needsNewScope:a.$$isolateScope||a.$$newScope})).$$slots=O}if(a.template)if(h=!0,re("template",E,a,p),l=we((E=a).template)?a.template(p,C):a.template,l=V(l),a.replace){if(m=a,s=rt(l)?[]:hn(ie(a.templateNamespace,Se(l))),w=s[0],1!==s.length||w.nodeType!==Re)throw on("tplrt","Template for directive '{0}' must have exactly one root element. {1}",o,"");ae(n,p,w);var F={$attr:{}},G=K(w,[],F),j=e.splice(v+1,e.length-(v+1));(k||T)&&ee(G,k,T),e=e.concat(G).concat(j),te(C,F),y=e.length}else p.html(l);if(a.templateUrl)h=!0,re("template",E,a,p),(E=a).replace&&(m=a),H=ne(e.splice(v,e.length-v),p,C,n,d&&g,A,S,{controllerDirectives:x,newScopeDirective:T!==a&&T,newIsolateScopeDirective:k,templateDirective:E,nonTlbTranscludeDirective:f}),y=e.length;else if(a.compile)try{c=a.compile(p,C,g);var B=a.$$originalDirective||a;we(c)?U(null,De(B,c),I,P):c&&U(De(B,c.pre),De(B,c.post),I,P)}catch(e){W(e,Ie(p))}a.terminal&&(H.terminal=!0,u=Math.max(u,a.priority))}return H.scope=T&&!0===T.scope,H.transcludeOnThisElement=d,H.templateOnThisElement=h,H.transclude=g,i.hasElementTranscludeDirective=D,H;function U(e,t,n,r){e&&(n&&(e=X(e,n,r)),e.require=a.require,e.directiveName=o,(k===a||a.$$isolateScope)&&(e=oe(e,{isolateScope:!0})),A.push(e)),t&&(n&&(t=X(t,n,r)),t.require=a.require,t.directiveName=o,(k===a||a.$$isolateScope)&&(t=oe(t,{isolateScope:!0})),S.push(t))}function H(e,t,n,r,o){var i,a,s,c,l,u,f,d,h,p;for(var m in w===n?d=(h=C).$$element:h=new z(d=ue(n),C),l=t,k?c=t.$new(!0):T&&(l=t.$parent),o&&((f=function(e,t,n,r){var i;Ce(e)||(r=n,n=t,t=e,e=void 0);D&&(i=u);n||(n=D?d.parent():d);{if(!r)return o(e,t,i,n,y);var a=o.$$slots[r];if(a)return a(e,t,i,n,y);if(ge(a))throw on("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Ie(d))}}).$$boundTransclude=o,f.isSlotFilled=function(e){return!!o.$$slots[e]}),x&&(u=function(e,t,n,r,i,a,o){var s=Oe();for(var c in r){var l=r[c],u={$scope:l===o||l.$$isolateScope?i:a,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"===f&&(f=t[l.name]);var d=q(f,u,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}(d,h,f,x,c,t,k)),k&&(Y.$$addScopeInfo(d,c,!0,!(E&&(E===k||E===k.$$originalDirective))),Y.$$addScopeClass(d,!0),c.$$isolateBindings=k.$$isolateBindings,(p=ce(t,h,c,c.$$isolateBindings,k)).removeWatches&&c.$on("$destroy",p.removeWatches)),u){var g=x[m],_=u[m],b=g.$$bindings.bindToController;if(le){_.bindingInfo=b?ce(l,h,_.instance,b,g):{};var v=_();v!==_.instance&&(_.instance=v,d.data("$"+g.name+"Controller",v),_.bindingInfo.removeWatches&&_.bindingInfo.removeWatches(),_.bindingInfo=ce(l,h,_.instance,b,g))}else _.instance=_(),d.data("$"+g.name+"Controller",_.instance),_.bindingInfo=ce(l,h,_.instance,b,g)}for(fe(x,function(e,t){var n=e.require;e.bindToController&&!ye(n)&&be(n)&&de(u[t].instance,J(t,n,d,u))}),fe(u,function(e){var t=e.instance;if(we(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){W(e)}if(we(t.$onInit))try{t.$onInit()}catch(e){W(e)}we(t.$doCheck)&&(l.$watch(function(){t.$doCheck()}),t.$doCheck()),we(t.$onDestroy)&&l.$on("$destroy",function(){t.$onDestroy()})}),i=0,a=A.length;i<a;i++)se(s=A[i],s.isolateScope?c:t,d,h,s.require&&J(s.directiveName,s.require,d,u),f);var y=t;for(k&&(k.template||null===k.templateUrl)&&(y=c),e&&e(y,n.childNodes,void 0,o),i=S.length-1;0<=i;i--)se(s=S[i],s.isolateScope?c:t,d,h,s.require&&J(s.directiveName,s.require,d,u),f);fe(u,function(e){var t=e.instance;we(t.$postLink)&&t.$postLink()})}}function J(n,e,r,i){var a;if(ve(e)){var t=e.match(d),o=e.substring(t[0].length),s=t[1]||t[3],c="?"===t[2];if("^^"===s?r=r.parent():a=(a=i&&i[o])&&a.instance,!a){var l="$"+o+"Controller";a=s?r.inheritedData(l):r.data(l)}if(!a&&!c)throw on("ctreq","Controller '{0}', required by directive '{1}', can't be found!",o,n)}else if(ye(e)){a=[];for(var u=0,f=e.length;u<f;u++)a[u]=J(n,e[u],r,i)}else be(e)&&(a={},fe(e,function(e,t){a[t]=J(n,e,r,i)}));return a||null}function ee(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=he(e[r],{$$isolateScope:t,$$newScope:n})}function O(e,t,n,r,i,a,o){if(t===i)return null;var s=null;if(p.hasOwnProperty(t))for(var c,l=h.get(t+m),u=0,f=l.length;u<f;u++)if(c=l[u],(ge(r)||r>c.priority)&&-1!==c.restrict.indexOf(n)){if(a&&(c=he(c,{$$start:a,$$end:o})),!c.$$bindings){var d=c.$$bindings=g(c,c.name);be(d.isolateScope)&&(c.$$isolateBindings=d.isolateScope)}e.push(c),s=c}return s}function R(e){if(p.hasOwnProperty(e))for(var t=h.get(e+m),n=0,r=t.length;n<r;n++)if(t[n].multiElement)return!0;return!1}function te(n,r){var i=r.$attr,a=n.$attr;fe(n,function(e,t){"$"!==t.charAt(0)&&(r[t]&&r[t]!==e&&(e+=("style"===t?";":" ")+r[t]),n.$set(t,e,!0,i[t]))}),fe(r,function(e,t){n.hasOwnProperty(t)||"$"===t.charAt(0)||(n[t]=e,"class"!==t&&"style"!==t&&(a[t]=i[t]))})}function ne(d,h,p,m,g,_,b,v){var y,w,C=[],A=h[0],S=d.shift(),T=he(S,{templateUrl:null,transclude:null,replace:null,$$originalDirective:S}),x=we(S.templateUrl)?S.templateUrl(h,p):S.templateUrl,k=S.templateNamespace;return h.empty(),e(x).then(function(e){var n,t,r,i;if(e=V(e),S.replace){if(r=rt(e)?[]:hn(ie(k,Se(e))),n=r[0],1!==r.length||n.nodeType!==Re)throw on("tplrt","Template for directive '{0}' must have exactly one root element. {1}",S.name,x);t={$attr:{}},ae(m,h,n);var a=K(n,[],t);be(S.scope)&&ee(a,!0),d=a.concat(d),te(p,t)}else n=A,h.html(e);for(d.unshift(T),y=$(d,n,p,g,h,S,_,b,v),fe(m,function(e,t){e===n&&(m[t]=h[0])}),w=P(h[0].childNodes,g);C.length;){var o=C.shift(),s=C.shift(),c=C.shift(),l=C.shift(),u=h[0];if(!o.$$destroyed){if(s!==A){var f=s.className;v.hasElementTranscludeDirective&&S.replace||(u=lt(n)),ae(c,ue(s),u),E(ue(u),f)}i=y.transcludeOnThisElement?M(o,y.transclude,l):l,y(w,o,u,m,i)}}C=null}),function(e,t,n,r,i){var a=i;t.$$destroyed||(C?C.push(t,n,r,a):(y.transcludeOnThisElement&&(a=M(t,y.transclude,i)),y(w,t,n,r,a)))}}function N(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function re(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw on("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,Ie(r))}function ie(e,t){switch(e=S(e||"html")){case"svg":case"math":var n=j.document.createElement("div");return n.innerHTML="<"+e+">"+t+"</"+e+">",n.childNodes[0].childNodes;default:return t}}function L(e,t,a,o,n){var s=function(e,t){if("srcdoc"===t)return i.HTML;var n=Te(e);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(n))return i.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t)return i.RESOURCE_URL}(e,o),r=!n,c=u[o]||n,l=T(a,r,s,c);if(l){if("multiple"===o&&"select"===Te(e))throw on("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Ie(e));t.push({priority:100,compile:function(){return{pre:function(e,t,n){var r=n.$$observers||(n.$$observers=Oe());if(f.test(o))throw on("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var i=n[o];i!==a&&(l=i&&T(i,!0,s,c),a=i),l&&(n[o]=l(e),(r[o]||(r[o]=[])).$$inter=!0,(n.$$observers&&n.$$observers[o].$$scope||e).$watch(l,function(e,t){"class"===o&&e!==t?n.$updateClass(e,t):n.$set(o,e)}))}}}})}}function ae(e,t,n){var r,i,a=t[0],o=t.length,s=a.parentNode;if(e)for(r=0,i=e.length;r<i;r++)if(e[r]===a){e[r++]=n;for(var c=r,l=c+o-1,u=e.length;c<u;c++,l++)l<u?e[c]=e[l]:delete e[c];e.length-=o-1,e.context===a&&(e.context=n);break}s&&s.replaceChild(n,a);var f=j.document.createDocumentFragment();for(r=0;r<o;r++)f.appendChild(t[r]);for(ue.hasData(a)&&(ue.data(n,ue.data(a)),ue(a).off("$destroy")),ue.cleanData(f.querySelectorAll("*")),r=1;r<o;r++)delete t[r];t[0]=n,t.length=1}function oe(e,t){return de(function(){return e.apply(null,arguments)},e,t)}function se(e,t,n,r,i,a){try{e(t,n,r,i,a)}catch(e){W(e,Ie(n))}}function ce(d,h,p,e,m){var r,g=[],_={};function b(e,t,n){!we(p.$onChanges)||t===n||t!=t&&n!=n||(s||(d.$$postDigest(c),s=[]),r||(r={},s.push(i)),r[e]&&(n=r[e].previousValue),r[e]=new ln(n,t))}function i(){p.$onChanges(r),r=void 0}return fe(e,function(e,n){var t,r,i,a,o,s=e.attrName,c=e.optional;switch(e.mode){case"@":c||B.call(h,s)||(p[n]=h[s]=void 0),o=h.$observe(s,function(e){if(ve(e)||Ae(e)){var t=p[n];b(n,e,t),p[n]=e}}),h.$$observers[s].$$scope=d,ve(t=h[s])?p[n]=T(t)(d):Ae(t)&&(p[n]=t),_[n]=new ln(sn,p[n]),g.push(o);break;case"=":if(!B.call(h,s)){if(c)break;h[s]=void 0}if(c&&!h[s])break;r=v(h[s]),a=r.literal?ke:function(e,t){return e===t||e!=e&&t!=t},i=r.assign||function(){throw t=p[n]=r(d),on("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",h[s],s,m.name)},t=p[n]=r(d);var l=function(e){return a(e,p[n])||(a(e,t)?i(d,e=p[n]):p[n]=e),t=e};l.$stateful=!0,o=e.collection?d.$watchCollection(h[s],l):d.$watch(v(h[s],l),null,r.literal),g.push(o);break;case"<":if(!B.call(h,s)){if(c)break;h[s]=void 0}if(c&&!h[s])break;var u=(r=v(h[s])).literal,f=p[n]=r(d);_[n]=new ln(sn,p[n]),o=d.$watch(r,function(e,t){if(t===e){if(t===f||u&&ke(t,f))return;t=f}b(n,e,t),p[n]=e},u),g.push(o);break;case"&":if((r=h.hasOwnProperty(s)?v(h[s]):pe)===pe&&c)break;p[n]=function(e){return r(d,e)}}}),{initialChanges:_,removeWatches:g.length&&function(){for(var e=0,t=g.length;e<t;++e)g[e]()}}}}]}function ln(e,t){this.previousValue=e,this.currentValue=t}cn.$inject=["$provide","$$sanitizeUriProvider"],ln.prototype.isFirstChange=function(){return this.previousValue===sn};var un=/^((?:x|data)[:\-_])/i;function fn(e){return Xe(e.replace(un,""))}function dn(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var a=0;a<r.length;a++){for(var o=r[a],s=0;s<i.length;s++)if(o===i[s])continue e;n+=(0<n.length?" ":"")+o}return n}function hn(e){var t=(e=ue(e)).length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===Le||n.nodeType===Ne&&""===n.nodeValue.trim())&&r.call(e,t,1)}return e}var pn=w("$controller"),mn=/^(\S+)(\s+as\s+([\w$]+))?$/;function gn(){var d={},h=!1;this.has=function(e){return d.hasOwnProperty(e)},this.register=function(e,t){ce(e,"controller"),be(e)?de(d,e):d[e]=t},this.allowGlobals=function(){h=!0},this.$get=["$injector","$window",function(l,u){return function(t,n,e,r){var i,a,o,s;if(e=!0===e,r&&ve(r)&&(s=r),ve(t)){if(!(a=t.match(mn)))throw pn("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(o=a[1],s=s||a[3],!(t=d.hasOwnProperty(o)?d[o]:le(n.$scope,o,!0)||(h?le(u,o,!0):void 0)))throw pn("ctrlreg","The controller with the name '{0}' is not registered.",o);se(t,o,!0)}if(e){var c=(ye(t)?t[t.length-1]:t).prototype;return i=Object.create(c||null),s&&f(n,s,i,o||t.name),de(function(){var e=l.invoke(t,i,n,o);return e!==i&&(be(e)||we(e))&&(i=e,s&&f(n,s,i,o||t.name)),i},{instance:i,identifier:s})}return i=l.instantiate(t,n,o),s&&f(n,s,i,o||t.name),i};function f(e,t,n,r){if(!e||!be(e.$scope))throw w("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",r,t);e.$scope[t]=n}}]}function _n(){this.$get=["$window",function(e){return ue(e.document)}]}function bn(){this.$get=["$log",function(n){return function(e,t){n.error.apply(n,arguments)}}]}var vn=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof ue&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},yn="application/json",wn={"Content-Type":yn+";charset=utf-8"},Cn=/^\[|^\{(?!\{)/,An={"[":/]$/,"{":/}$/},Sn=/^\)]\}',?\n/,Tn=w("$http"),xn=function(e){return function(){throw Tn("legacy","The method `{0}` on the promise returned from `$http` has been disabled.",e)}};function kn(e){return be(e)?A(e)?e.toISOString():G(e):e}function En(){this.$get=function(){return function(e){if(!e)return"";var n=[];return d(e,function(e,t){null===e||ge(e)||(ye(e)?fe(e,function(e){n.push(Z(t)+"="+Z(kn(e)))}):n.push(Z(t)+"="+Z(kn(e))))}),n.join("&")}}}function Dn(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function n(e,r,i){if(null===e||ge(e))return;ye(e)?fe(e,function(e,t){n(e,r+"["+(be(e)?t:"")+"]")}):be(e)&&!A(e)?d(e,function(e,t){n(e,r+(i?"":"[")+t+(i?"":"]"))}):t.push(Z(r)+"="+Z(kn(e)))}(e,"",!0),t.join("&")}}}function In(e,t){if(ve(e)){var n=e.replace(Sn,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(yn)||(a=(i=n).match(Cn))&&An[a[0]].test(i))&&(e=W(n))}}var i,a;return e}function Pn(e){var t,n=Oe();function r(e,t){e&&(n[e]=n[e]?n[e]+", "+t:t)}return ve(e)?fe(e.split("\n"),function(e){t=e.indexOf(":"),r(S(Se(e.substr(0,t))),Se(e.substr(t+1)))}):be(e)&&fe(e,function(e,t){r(S(t),Se(e))}),n}function Mn(n){var r;return function(e){if(r||(r=Pn(n)),e){var t=r[S(e)];return void 0===t&&(t=null),t}return r}}function $n(t,n,r,e){return we(e)?e(t,n,r):(fe(e,function(e){t=e(t,n,r)}),t)}function On(e){return 200<=e&&e<300}function Rn(){var v=this.defaults={transformResponse:[In],transformRequest:[function(e){return be(e)&&(r=e,"[object File]"!==H.call(r))&&(n=e,"[object Blob]"!==H.call(n))&&(t=e,"[object FormData]"!==H.call(t))?G(e):e;var t,n,r}],headers:{common:{Accept:"application/json, text/plain, */*"},post:je(wn),put:je(wn),patch:je(wn)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},y=!1;this.useApplyAsync=function(e){return _e(e)?(y=!!e,this):y};var l=!0;this.useLegacyPromiseExtensions=function(e){return _e(e)?(l=!!e,this):l};var t=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(h,p,e,m,g,s){var _=e("$http");v.paramSerializer=ve(v.paramSerializer)?s.get(v.paramSerializer):v.paramSerializer;var c=[];function b(e){if(!be(e))throw w("$http")("badreq","Http request configuration must be an object. Received: {0}",e);if(!ve(e.url))throw w("$http")("badreq","Http request configuration url must be a string. Received: {0}",e.url);var n=de({method:"get",transformRequest:v.transformRequest,transformResponse:v.transformResponse,paramSerializer:v.paramSerializer},e);n.headers=function(e){var t,n,r,i=v.headers,a=de({},e.headers);i=de({},i.common,i[S(e.method)]);e:for(t in i){for(r in n=S(t),a)if(S(r)===n)continue e;a[t]=i[t]}return o=a,s=je(e),l={},fe(o,function(e,t){we(e)?null!=(c=e(s))&&(l[t]=c):l[t]=e}),l;var o,s,c,l}(e),n.method=u(n.method),n.paramSerializer=ve(n.paramSerializer)?s.get(n.paramSerializer):n.paramSerializer;var t=[],r=[],i=g.when(n);return fe(c,function(e){(e.request||e.requestError)&&t.unshift(e.request,e.requestError),(e.response||e.responseError)&&r.push(e.response,e.responseError)}),i=a(i=(i=a(i,t)).then(function(e){var n=e.headers,t=$n(e.data,Mn(n),void 0,e.transformRequest);ge(t)&&fe(n,function(e,t){"content-type"===S(t)&&delete n[t]});ge(e.withCredentials)&&!ge(v.withCredentials)&&(e.withCredentials=v.withCredentials);return function(i,e){var a,t,o=g.defer(),n=o.promise,r=i.headers,s=function(e,t){0<t.length&&(e+=(-1===e.indexOf("?")?"?":"&")+t);return e}(i.url,i.paramSerializer(i.params));b.pendingRequests.push(i),n.then(d,d),!i.cache&&!v.cache||!1===i.cache||"GET"!==i.method&&"JSONP"!==i.method||(a=be(i.cache)?i.cache:be(v.cache)?v.cache:_);a&&(_e(t=a.get(s))?I(t)?t.then(f,f):ye(t)?u(t[1],t[0],je(t[2]),t[3]):u(t,200,{},"OK"):a.put(s,n));if(ge(t)){var c=di(i.url)?p()[i.xsrfCookieName||v.xsrfCookieName]:void 0;c&&(r[i.xsrfHeaderName||v.xsrfHeaderName]=c),h(i.method,s,e,function(e,t,n,r){a&&(On(e)?a.put(s,[e,t,Pn(n),r]):a.remove(s));function i(){u(t,e,n,r)}y?m.$applyAsync(i):(i(),m.$$phase||m.$apply())},r,i.timeout,i.withCredentials,i.responseType,l(i.eventHandlers),l(i.uploadEventHandlers))}return n;function l(e){if(e){var t={};return fe(e,function(n,e){t[e]=function(e){function t(){n(e)}y?m.$applyAsync(t):m.$$phase?t():m.$apply(t)}}),t}}function u(e,t,n,r){(On(t=-1<=t?t:0)?o.resolve:o.reject)({data:e,status:t,headers:Mn(n),config:i,statusText:r})}function f(e){u(e.data,e.status,je(e.headers()),e.statusText)}function d(){var e=b.pendingRequests.indexOf(i);-1!==e&&b.pendingRequests.splice(e,1)}}(e,t).then(o,o)}),r),l?(i.success=function(t){return se(t,"fn"),i.then(function(e){t(e.data,e.status,e.headers,n)}),i},i.error=function(t){return se(t,"fn"),i.then(null,function(e){t(e.data,e.status,e.headers,n)}),i}):(i.success=xn("success"),i.error=xn("error")),i;function a(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],a=t[n++];e=e.then(i,a)}return t.length=0,e}function o(e){var t=de({},e);return t.data=$n(e.data,e.headers,e.status,n.transformResponse),On(e.status)?t:g.reject(t)}}return fe(t,function(e){c.unshift(ve(e)?s.get(e):s.invoke(e))}),b.pendingRequests=[],function(e){fe(arguments,function(n){b[n]=function(e,t){return b(de({},t||{},{method:n,url:e}))}})}("get","delete","head","jsonp"),function(e){fe(arguments,function(r){b[r]=function(e,t,n){return b(de({},n||{},{method:r,url:e,data:t}))}})}("post","put","patch"),b.defaults=v,b}]}function Nn(){this.$get=function(){return function(){return new j.XMLHttpRequest}}}function Ln(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return b=r,v=(_=e).defer,y=t,w=n[0],function(e,r,t,i,n,a,o,s,c,l){if(_.$$incOutstandingRequestCount(),r=r||_.url(),"jsonp"===S(e))var u=y.createCallback(r),f=function(e,r,i){e=e.replace("JSON_CALLBACK",r);var a=w.createElement("script"),o=null;return a.type="text/javascript",a.src=e,a.async=!0,o=function(e){ze(a,"load",o),ze(a,"error",o),w.body.removeChild(a),a=null;var t=-1,n="unknown";e&&("load"!==e.type||y.wasCalled(r)||(e={type:"error"}),n=e.type,t="error"===e.type?404:200),i&&i(t,n)},qe(a,"load",o),qe(a,"error",o),w.body.appendChild(a),o}(r,u,function(e,t){var n=200===e&&y.getResponse(u);g(i,e,n,"",t),y.removeCallback(u)});else{var d=b(e,r);d.open(e,r,!0),fe(n,function(e,t){_e(e)&&d.setRequestHeader(t,e)}),d.onload=function(){var e=d.statusText||"",t="response"in d?d.response:d.responseText,n=1223===d.status?204:d.status;0===n&&(n=t?200:"file"===fi(r).protocol?404:0),g(i,n,t,d.getAllResponseHeaders(),e)};var h=function(){g(i,-1,null,null,"")};if(d.onerror=h,d.onabort=h,d.ontimeout=h,fe(c,function(e,t){d.addEventListener(t,e)}),fe(l,function(e,t){d.upload.addEventListener(t,e)}),o&&(d.withCredentials=!0),s)try{d.responseType=s}catch(e){if("json"!==s)throw e}d.send(ge(t)?null:t)}if(0<a)var p=v(m,a);else I(a)&&a.then(m);function m(){f&&f(),d&&d.abort()}function g(e,t,n,r,i){_e(p)&&v.cancel(p),f=d=null,e(t,n,r,i),_.$$completeOutstandingRequest(pe)}};var _,b,v,y,w}]}var Fn=v.$interpolateMinErr=w("$interpolate");function Gn(){var S="{{",T="}}";this.startSymbol=function(e){return e?(S=e,this):S},this.endSymbol=function(e){return e?(T=e,this):T},this.$get=["$parse","$exceptionHandler","$sce",function(_,b,v){var y=S.length,w=T.length,t=new RegExp(S.replace(/./g,e),"g"),n=new RegExp(T.replace(/./g,e),"g");function e(e){return"\\\\\\"+e}function C(e){return e.replace(t,S).replace(n,T)}function A(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function r(i,e,t,r){if(!i.length||-1===i.indexOf(S)){var n;if(!e)(n=x(C(i))).exp=i,n.expressions=[],n.$$watchDelegate=A;return n}r=!!r;for(var a,o,s,c=0,l=[],u=[],f=i.length,d=[],h=[];c<f;){if(-1===(a=i.indexOf(S,c))||-1===(o=i.indexOf(T,a+y))){c!==f&&d.push(C(i.substring(c)));break}c!==a&&d.push(C(i.substring(c,a))),s=i.substring(a+y,o),l.push(s),u.push(_(s,g)),c=o+w,h.push(d.length),d.push("")}if(t&&1<d.length&&Fn.throwNoconcat(i),!e||l.length){var p=function(e){for(var t=0,n=l.length;t<n;t++){if(r&&ge(e[t]))return;d[h[t]]=e[t]}return d.join("")},m=function(e){return t?v.getTrusted(t,e):v.valueOf(e)};return de(function(e){var t=0,n=l.length,r=new Array(n);try{for(;t<n;t++)r[t]=u[t](e);return p(r)}catch(e){b(Fn.interr(i,e))}},{exp:i,expressions:l,$$watchDelegate:function(r,i){var a;return r.$watchGroup(u,function(e,t){var n=p(e);we(i)&&i.call(this,n,e!==t?a:n,r),a=n})}})}function g(e){try{return e=m(e),r&&!_e(e)?e:function(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=G(e)}return e}(e)}catch(e){b(Fn.interr(i,e))}}}return r.startSymbol=function(){return S},r.endSymbol=function(){return T},r}]}function jn(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(h,p,m,g,_){var b={};function e(e,t,n,r){var i=4<arguments.length,a=i?Ee(arguments,4):[],o=p.setInterval,s=p.clearInterval,c=0,l=_e(r)&&!r,u=(l?g:m).defer(),f=u.promise;return n=_e(n)?n:0,f.$$intervalId=o(function(){l?_.defer(d):h.$evalAsync(d),u.notify(c++),0<n&&n<=c&&(u.resolve(c),s(f.$$intervalId),delete b[f.$$intervalId]),l||h.$apply()},t),b[f.$$intervalId]=u,f;function d(){i?e.apply(null,a):e(c)}}return e.cancel=function(e){return!!(e&&e.$$intervalId in b)&&(b[e.$$intervalId].reject("canceled"),p.clearInterval(e.$$intervalId),delete b[e.$$intervalId],!0)},e}]}Fn.throwNoconcat=function(e){throw Fn("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce",e)},Fn.interr=function(e,t){return Fn("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Bn=function(){this.$get=["$window",function(e){var a=e.angular.callbacks,o={};return{createCallback:function(e){var t,n="_"+(a.$$counter++).toString(36),r="angular.callbacks."+n,i=((t=function(e){t.data=e,t.called=!0}).id=n,t);return o[r]=a[n]=i,r},wasCalled:function(e){return o[e].called},getResponse:function(e){return o[e].data},removeCallback:function(e){var t=o[e];delete a[t.id],delete o[e]}}}]},Un=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,Hn={http:80,https:443,ftp:21},Wn=w("$location");function qn(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=X(t[n]);return t.join("/")}function zn(e,t){var n=fi(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=m(n.port)||Hn[n.protocol]||null}var Vn=/^\s*[\\/]{2,}/;function Yn(e,t){if(Vn.test(e))throw Wn("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=fi(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Kn(e,t){return e.slice(0,t.length)===t}function Qn(e,t){if(Kn(t,e))return t.substr(e.length)}function Xn(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function Zn(e){return e.replace(/(#.+)|#$/,"$1")}function Jn(a,o,s){this.$$html5=!0,s=s||"",zn(a,this),this.$$parse=function(e){var t=Qn(o,e);if(!ve(t))throw Wn("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,o);Yn(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+X(this.$$hash):"";this.$$url=qn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=o+this.$$url.substr(1)},this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(_e(n=Qn(a,e))?(r=n,i=s&&_e(n=Qn(s,n))?o+(Qn("/",n)||n):a+r):_e(n=Qn(o,e))?i=o+n:o===e+"/"&&(i=o),i&&this.$$parse(i),!!i);var n,r,i}}function er(r,i,a){zn(r,this),this.$$parse=function(e){var t,n=Qn(r,e)||Qn(i,e);ge(n)||"#"!==n.charAt(0)?this.$$html5?t=n:(t="",ge(n)&&(r=e,this.replace())):ge(t=Qn(a,n))&&(t=n),Yn(t,this),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;Kn(t,n)&&(t=t.replace(n,""));if(i.exec(t))return e;return(r=i.exec(e))?r[1]:e}(this.$$path,t,r),this.$$compose()},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+X(this.$$hash):"";this.$$url=qn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=r+(this.$$url?a+this.$$url:"")},this.$$parseLinkUrl=function(e,t){return Xn(r)===Xn(e)&&(this.$$parse(e),!0)}}function tr(i,a,o){this.$$html5=!0,er.apply(this,arguments),this.$$parseLinkUrl=function(e,t){return t&&"#"===t[0]?(this.hash(t.slice(1)),!0):(i===Xn(e)?n=e:(r=Qn(a,e))?n=i+o+r:a===e+"/"&&(n=a),n&&this.$$parse(n),!!n);var n,r},this.$$compose=function(){var e=Q(this.$$search),t=this.$$hash?"#"+X(this.$$hash):"";this.$$url=qn(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=i+o+this.$$url}}var nr={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:rr("$$absUrl"),url:function(e){if(ge(e))return this.$$url;var t=Un.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:rr("$$protocol"),host:rr("$$host"),port:rr("$$port"),path:ir("$$path",function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e}),search:function(n,e){switch(arguments.length){case 0:return this.$$search;case 1:if(ve(n)||C(n))n=n.toString(),this.$$search=K(n);else{if(!be(n))throw Wn("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");fe(n=R(n,{}),function(e,t){null==e&&delete n[t]}),this.$$search=n}break;default:ge(e)||null===e?delete this.$$search[n]:this.$$search[n]=e}return this.$$compose(),this},hash:ir("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};function rr(e){return function(){return this[e]}}function ir(t,n){return function(e){return ge(e)?this[t]:(this[t]=n(e),this.$$compose(),this)}}function ar(){var _="",b={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return _e(e)?(_=e,this):_},this.html5Mode=function(e){return Ae(e)?(b.enabled=e,this):be(e)?(Ae(e.enabled)&&(b.enabled=e.enabled),Ae(e.requireBase)&&(b.requireBase=e.requireBase),(Ae(e.rewriteLinks)||ve(e.rewriteLinks))&&(b.rewriteLinks=e.rewriteLinks),this):b},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(o,s,t,a,c){var l,e,n,r,i=s.baseHref(),u=s.url();if(b.enabled){if(!i&&b.requireBase)throw Wn("nobase","$location in HTML5 mode requires a <base> tag to be present!");n=(r=u).substring(0,r.indexOf("/",r.indexOf("//")+2))+(i||"/"),e=t.history?Jn:tr}else n=Xn(u),e=er;var f,d=(f=n).substr(0,Xn(f).lastIndexOf("/")+1);(l=new e(n,d,"#"+_)).$$parseLinkUrl(u,u),l.$$state=s.state();var h=/^\s*(javascript|mailto):/i;function p(e,t,n){var r=l.url(),i=l.$$state;try{s.url(e,t,n),l.$$state=s.state()}catch(e){throw l.url(r),l.$$state=i,e}}a.on("click",function(e){var t=b.rewriteLinks;if(t&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var n=ue(e.target);"a"!==Te(n[0]);)if(n[0]===a[0]||!(n=n.parent())[0])return;if(!ve(t)||!ge(n.attr(t))){var r=n.prop("href"),i=n.attr("href")||n.attr("xlink:href");be(r)&&"[object SVGAnimatedString]"===r.toString()&&(r=fi(r.animVal).href),h.test(r)||!r||n.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(r,i)&&(e.preventDefault(),l.absUrl()!==s.url()&&(o.$apply(),c.angular["ff-684208-preventDefault"]=!0))}}}),Zn(l.absUrl())!==Zn(u)&&s.url(l.absUrl(),!0);var m=!0;return s.onUrlChange(function(r,i){ge(Qn(d,r))?c.location.href=r:(o.$evalAsync(function(){var e,t=l.absUrl(),n=l.$$state;r=Zn(r),l.$$parse(r),l.$$state=i,e=o.$broadcast("$locationChangeStart",r,t,i,n).defaultPrevented,l.absUrl()===r&&(e?(l.$$parse(t),p(t,!1,l.$$state=n)):(m=!1,g(t,n)))}),o.$$phase||o.$digest())}),o.$watch(function(){var n=Zn(s.url()),e=Zn(l.absUrl()),r=s.state(),i=l.$$replace,a=n!==e||l.$$html5&&t.history&&r!==l.$$state;(m||a)&&(m=!1,o.$evalAsync(function(){var e=l.absUrl(),t=o.$broadcast("$locationChangeStart",e,n,l.$$state,r).defaultPrevented;l.absUrl()===e&&(t?(l.$$parse(n),l.$$state=r):(a&&p(e,i,r===l.$$state?null:l.$$state),g(n,r)))})),l.$$replace=!1}),l;function g(e,t){o.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}}]}function or(){var n=!0,r=this;this.debugEnabled=function(e){return _e(e)?(n=e,this):n},this.$get=["$window",function(i){return{log:t("log"),info:t("info"),warn:t("warn"),error:t("error"),debug:(e=t("debug"),function(){n&&e.apply(r,arguments)})};var e;function t(e){var t=i.console||{},r=t[e]||t.log||pe,n=!1;try{n=!!r.apply}catch(e){}return n?function(){var n=[];return fe(arguments,function(e){var t;n.push(((t=e)instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t))}),r.apply(t,n)}:function(e,t){r(e,null==t?"":t)}}}]}fe([tr,er,Jn],function(t){t.prototype=Object.create(nr),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==Jn||!this.$$html5)throw Wn("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=ge(e)?null:e,this}});var sr=w("$parse"),cr=[].constructor,lr=(!1).constructor,ur=Function.constructor,fr=(0).constructor,dr={}.constructor,hr="".constructor,pr=cr.prototype,mr=lr.prototype,gr=ur.prototype,_r=fr.prototype,br=dr.prototype,vr=hr.prototype,yr=gr.call,wr=gr.apply,Cr=gr.bind,Ar=br.valueOf;function Sr(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw sr("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Tr(e){return e+""}function xr(e,t){if(e){if(e.constructor===e)throw sr("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw sr("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw sr("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw sr("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function kr(e,t){if(e){if(e.constructor===e)throw sr("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===yr||e===wr||e===Cr)throw sr("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function Er(e,t){if(e&&(e===cr||e===lr||e===ur||e===fr||e===dr||e===hr||e===pr||e===mr||e===gr||e===_r||e===br||e===vr))throw sr("isecaf","Assigning to a constructor or its prototype is disallowed! Expression: {0}",t)}var Dr=Oe();fe("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Dr[e]=!0});var Ir={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Pr=function(e){this.options=e};Pr.prototype={constructor:Pr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=Dr[t],a=Dr[n],o=Dr[r];if(i||a||o){var s=o?r:a?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(e){return"0"<=e&&e<="9"&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return 55296<=n&&n<=56319&&56320<=r&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=_e(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw sr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=S(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"===n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var a=this.text.charAt(this.index);if(r+=a,i){if("u"===a){var o=this.text.substring(this.index+1,this.index+5);o.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+o+"]"),this.index+=4,n+=String.fromCharCode(parseInt(o,16))}else{n+=Ir[a]||a}i=!1}else if("\\"===a)i=!0;else{if(a===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,value:n});n+=a}this.index++}this.throwError("Unterminated quote",t)}};var Mr=function(e,t){this.lexer=e,this.options=t};function $r(e,t){return void 0!==e?e:t}function Or(e,t){return void 0===e?t:void 0===t?e:e+t}function Rr(e,t){var n,r,i,a,o;switch(e.type){case Mr.Program:n=!0,fe(e.body,function(e){Rr(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case Mr.Literal:e.constant=!0,e.toWatch=[];break;case Mr.UnaryExpression:Rr(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Mr.BinaryExpression:Rr(e.left,t),Rr(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Mr.LogicalExpression:Rr(e.left,t),Rr(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Mr.ConditionalExpression:Rr(e.test,t),Rr(e.alternate,t),Rr(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Mr.Identifier:e.constant=!1,e.toWatch=[e];break;case Mr.MemberExpression:Rr(e.object,t),e.computed&&Rr(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case Mr.CallExpression:i=!!e.filter&&(a=t,o=e.callee.name,!a(o).$stateful),n=i,r=[],fe(e.arguments,function(e){Rr(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=i?r:[e];break;case Mr.AssignmentExpression:Rr(e.left,t),Rr(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Mr.ArrayExpression:n=!0,r=[],fe(e.elements,function(e){Rr(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case Mr.ObjectExpression:n=!0,r=[],fe(e.properties,function(e){Rr(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case Mr.ThisExpression:case Mr.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Nr(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function Lr(e){return e.type===Mr.Identifier||e.type===Mr.MemberExpression}function Fr(e){if(1===e.body.length&&Lr(e.body[0].expression))return{type:Mr.AssignmentExpression,left:e.body[0].expression,right:{type:Mr.NGValueParameter},operator:"="}}function Gr(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Mr.Literal||e.body[0].expression.type===Mr.ArrayExpression||e.body[0].expression.type===Mr.ObjectExpression)}function jr(e){return e.constant}function Br(e,t){this.astBuilder=e,this.$filter=t}function Ur(e,t){this.astBuilder=e,this.$filter=t}Mr.Program="Program",Mr.ExpressionStatement="ExpressionStatement",Mr.AssignmentExpression="AssignmentExpression",Mr.ConditionalExpression="ConditionalExpression",Mr.LogicalExpression="LogicalExpression",Mr.BinaryExpression="BinaryExpression",Mr.UnaryExpression="UnaryExpression",Mr.CallExpression="CallExpression",Mr.MemberExpression="MemberExpression",Mr.Identifier="Identifier",Mr.Literal="Literal",Mr.ArrayExpression="ArrayExpression",Mr.Property="Property",Mr.ObjectExpression="ObjectExpression",Mr.ThisExpression="ThisExpression",Mr.LocalsExpression="LocalsExpression",Mr.NGValueParameter="NGValueParameter",Mr.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Mr.Program,body:e}},expressionStatement:function(){return{type:Mr.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Lr(e))throw sr("lval","Trying to assign a value to a non l-value");e={type:Mr.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Mr.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Mr.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Mr.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Mr.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Mr.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Mr.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:Mr.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Mr.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Mr.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Mr.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)for(;e.push(this.filterChain()),this.expect(","););return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Mr.Identifier,name:e.text}},constant:function(){return{type:Mr.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Mr.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Mr.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Mr.ObjectExpression,properties:t}},throwError:function(e,t){throw sr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw sr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw sr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var a=this.tokens[e],o=a.text;if(o===t||o===n||o===r||o===i||!t&&!n&&!r&&!i)return a}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{this:{type:Mr.ThisExpression},$locals:{type:Mr.LocalsExpression}}},Br.prototype={compile:function(e,t){var i=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Rr(n,i.$filter);var r,a="";if(this.stage="assign",r=Fr(n)){this.state.computing="assign";var o=this.nextId();this.recurse(r,o),this.return_(o),a="fn.assign="+this.generateFunction("assign","s,v,l")}var s=Nr(n.body);i.stage="inputs",fe(s,function(e,t){var n="fn"+t;i.state[n]={vars:[],body:[],own:{}},i.state.computing=n;var r=i.nextId();i.recurse(e,r),i.return_(r),i.state.inputs.push(n),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(n);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",l=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",c)(this.$filter,Sr,xr,kr,Tr,Er,$r,Or,e);return this.state=this.stage=void 0,l.literal=Gr(n),l.constant=jr(n),l},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return fe(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var n=[],r=this;return fe(this.state.filters,function(e,t){n.push(e+"=$filter("+r.escape(t)+")")}),n.length?"var "+n.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(n,t,e,r,i,a){var o,s,c,l,u,f=this;if(r=r||pe,!a&&_e(n.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",n.watchId)),this.lazyRecurse(n,t,e,r,i,!0));switch(n.type){case Mr.Program:fe(n.body,function(e,t){f.recurse(e.expression,void 0,void 0,function(e){s=e}),t!==n.body.length-1?f.current().body.push(s,";"):f.return_(s)});break;case Mr.Literal:l=this.escape(n.value),this.assign(t,l),r(l);break;case Mr.UnaryExpression:this.recurse(n.argument,void 0,void 0,function(e){s=e}),l=n.operator+"("+this.ifDefined(s,0)+")",this.assign(t,l),r(l);break;case Mr.BinaryExpression:this.recurse(n.left,void 0,void 0,function(e){o=e}),this.recurse(n.right,void 0,void 0,function(e){s=e}),l="+"===n.operator?this.plus(o,s):"-"===n.operator?this.ifDefined(o,0)+n.operator+this.ifDefined(s,0):"("+o+")"+n.operator+"("+s+")",this.assign(t,l),r(l);break;case Mr.LogicalExpression:t=t||this.nextId(),f.recurse(n.left,t),f.if_("&&"===n.operator?t:f.not(t),f.lazyRecurse(n.right,t)),r(t);break;case Mr.ConditionalExpression:t=t||this.nextId(),f.recurse(n.test,t),f.if_(t,f.lazyRecurse(n.alternate,t),f.lazyRecurse(n.consequent,t)),r(t);break;case Mr.Identifier:t=t||this.nextId(),e&&(e.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",n.name)+"?l:s"),e.computed=!1,e.name=n.name),Sr(n.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",n.name)),function(){f.if_("inputs"===f.stage||"s",function(){i&&1!==i&&f.if_(f.not(f.nonComputedMember("s",n.name)),f.lazyAssign(f.nonComputedMember("s",n.name),"{}")),f.assign(t,f.nonComputedMember("s",n.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",n.name))),(f.state.expensiveChecks||Wr(n.name))&&f.addEnsureSafeObject(t),r(t);break;case Mr.MemberExpression:o=e&&(e.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(n.object,o,void 0,function(){f.if_(f.notNull(o),function(){i&&1!==i&&f.addEnsureSafeAssignContext(o),n.computed?(s=f.nextId(),f.recurse(n.property,s),f.getStringValue(s),f.addEnsureSafeMemberName(s),i&&1!==i&&f.if_(f.not(f.computedMember(o,s)),f.lazyAssign(f.computedMember(o,s),"{}")),l=f.ensureSafeObject(f.computedMember(o,s)),f.assign(t,l),e&&(e.computed=!0,e.name=s)):(Sr(n.property.name),i&&1!==i&&f.if_(f.not(f.nonComputedMember(o,n.property.name)),f.lazyAssign(f.nonComputedMember(o,n.property.name),"{}")),l=f.nonComputedMember(o,n.property.name),(f.state.expensiveChecks||Wr(n.property.name))&&(l=f.ensureSafeObject(l)),f.assign(t,l),e&&(e.computed=!1,e.name=n.property.name))},function(){f.assign(t,"undefined")}),r(t)},!!i);break;case Mr.CallExpression:t=t||this.nextId(),n.filter?(s=f.filter(n.callee.name),c=[],fe(n.arguments,function(e){var t=f.nextId();f.recurse(e,t),c.push(t)}),l=s+"("+c.join(",")+")",f.assign(t,l),r(t)):(s=f.nextId(),o={},c=[],f.recurse(n.callee,s,o,function(){f.if_(f.notNull(s),function(){f.addEnsureSafeFunction(s),fe(n.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){c.push(f.ensureSafeObject(e))})}),l=o.name?(f.state.expensiveChecks||f.addEnsureSafeObject(o.context),f.member(o.context,o.name,o.computed)+"("+c.join(",")+")"):s+"("+c.join(",")+")",l=f.ensureSafeObject(l),f.assign(t,l)},function(){f.assign(t,"undefined")}),r(t)}));break;case Mr.AssignmentExpression:s=this.nextId(),o={},this.recurse(n.left,void 0,o,function(){f.if_(f.notNull(o.context),function(){f.recurse(n.right,s),f.addEnsureSafeObject(f.member(o.context,o.name,o.computed)),f.addEnsureSafeAssignContext(o.context),l=f.member(o.context,o.name,o.computed)+n.operator+s,f.assign(t,l),r(t||l)})},1);break;case Mr.ArrayExpression:c=[],fe(n.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){c.push(e)})}),l="["+c.join(",")+"]",this.assign(t,l),r(l);break;case Mr.ObjectExpression:u=!(c=[]),fe(n.properties,function(e){e.computed&&(u=!0)}),u?(t=t||this.nextId(),this.assign(t,"{}"),fe(n.properties,function(e){e.computed?(o=f.nextId(),f.recurse(e.key,o)):o=e.key.type===Mr.Identifier?e.key.name:""+e.key.value,s=f.nextId(),f.recurse(e.value,s),f.assign(f.member(t,o,e.computed),s)})):(fe(n.properties,function(t){f.recurse(t.value,n.constant?void 0:f.nextId(),void 0,function(e){c.push(f.escape(t.key.type===Mr.Identifier?t.key.name:""+t.key.value)+":"+e)})}),l="{"+c.join(",")+"}",this.assign(t,l)),r(t||l);break;case Mr.ThisExpression:this.assign(t,"s"),r("s");break;case Mr.LocalsExpression:this.assign(t,"l"),r("l");break;case Mr.NGValueParameter:this.assign(t,"v"),r("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,a){var o=this;return function(){o.recurse(e,t,n,r,i,a)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(ve(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(C(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw sr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},Ur.prototype={compile:function(e,t){var n,r,i=this,a=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,Rr(a,i.$filter),(n=Fr(a))&&(r=this.recurse(n));var o,s=Nr(a.body);s&&(o=[],fe(s,function(e,t){var n=i.recurse(e);e.input=n,o.push(n),e.watchId=t}));var c=[];fe(a.body,function(e){c.push(i.recurse(e.expression))});var l=0===a.body.length?pe:1===a.body.length?c[0]:function(t,n){var r;return fe(c,function(e){r=e(t,n)}),r};return r&&(l.assign=function(e,t,n){return r(e,n,t)}),o&&(l.inputs=o),l.literal=Gr(a),l.constant=jr(a),l},recurse:function(e,c,t){var o,l,u,f=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Mr.Literal:return this.value(e.value,c);case Mr.UnaryExpression:return l=this.recurse(e.argument),this["unary"+e.operator](l,c);case Mr.BinaryExpression:case Mr.LogicalExpression:return o=this.recurse(e.left),l=this.recurse(e.right),this["binary"+e.operator](o,l,c);case Mr.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),c);case Mr.Identifier:return Sr(e.name,f.expression),f.identifier(e.name,f.expensiveChecks||Wr(e.name),c,t,f.expression);case Mr.MemberExpression:return o=this.recurse(e.object,!1,!!t),e.computed||(Sr(e.property.name,f.expression),l=e.property.name),e.computed&&(l=this.recurse(e.property)),e.computed?this.computedMember(o,l,c,t,f.expression):this.nonComputedMember(o,l,f.expensiveChecks,c,t,f.expression);case Mr.CallExpression:return u=[],fe(e.arguments,function(e){u.push(f.recurse(e))}),e.filter&&(l=this.$filter(e.callee.name)),e.filter||(l=this.recurse(e.callee,!0)),e.filter?function(e,t,n,r){for(var i=[],a=0;a<u.length;++a)i.push(u[a](e,t,n,r));var o=l.apply(void 0,i,r);return c?{context:void 0,name:void 0,value:o}:o}:function(e,t,n,r){var i,a=l(e,t,n,r);if(null!=a.value){xr(a.context,f.expression),kr(a.value,f.expression);for(var o=[],s=0;s<u.length;++s)o.push(xr(u[s](e,t,n,r),f.expression));i=xr(a.value.apply(a.context,o),f.expression)}return c?{value:i}:i};case Mr.AssignmentExpression:return o=this.recurse(e.left,!0,1),l=this.recurse(e.right),function(e,t,n,r){var i=o(e,t,n,r),a=l(e,t,n,r);return xr(i.value,f.expression),Er(i.context),i.context[i.name]=a,c?{value:a}:a};case Mr.ArrayExpression:return u=[],fe(e.elements,function(e){u.push(f.recurse(e))}),function(e,t,n,r){for(var i=[],a=0;a<u.length;++a)i.push(u[a](e,t,n,r));return c?{value:i}:i};case Mr.ObjectExpression:return u=[],fe(e.properties,function(e){e.computed?u.push({key:f.recurse(e.key),computed:!0,value:f.recurse(e.value)}):u.push({key:e.key.type===Mr.Identifier?e.key.name:""+e.key.value,computed:!1,value:f.recurse(e.value)})}),function(e,t,n,r){for(var i={},a=0;a<u.length;++a)u[a].computed?i[u[a].key(e,t,n,r)]=u[a].value(e,t,n,r):i[u[a].key]=u[a].value(e,t,n,r);return c?{value:i}:i};case Mr.ThisExpression:return function(e){return c?{value:e}:e};case Mr.LocalsExpression:return function(e,t){return c?{value:t}:t};case Mr.NGValueParameter:return function(e,t,n){return c?{value:n}:n}}},"unary+":function(a,o){return function(e,t,n,r){var i=a(e,t,n,r);return i=_e(i)?+i:0,o?{value:i}:i}},"unary-":function(a,o){return function(e,t,n,r){var i=a(e,t,n,r);return i=_e(i)?-i:0,o?{value:i}:i}},"unary!":function(a,o){return function(e,t,n,r){var i=!a(e,t,n,r);return o?{value:i}:i}},"binary+":function(a,o,s){return function(e,t,n,r){var i=Or(a(e,t,n,r),o(e,t,n,r));return s?{value:i}:i}},"binary-":function(s,c,l){return function(e,t,n,r){var i=s(e,t,n,r),a=c(e,t,n,r),o=(_e(i)?i:0)-(_e(a)?a:0);return l?{value:o}:o}},"binary*":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)*o(e,t,n,r);return s?{value:i}:i}},"binary/":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)/o(e,t,n,r);return s?{value:i}:i}},"binary%":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)%o(e,t,n,r);return s?{value:i}:i}},"binary===":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)===o(e,t,n,r);return s?{value:i}:i}},"binary!==":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)!==o(e,t,n,r);return s?{value:i}:i}},"binary==":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)==o(e,t,n,r);return s?{value:i}:i}},"binary!=":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)!=o(e,t,n,r);return s?{value:i}:i}},"binary<":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)<o(e,t,n,r);return s?{value:i}:i}},"binary>":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)>o(e,t,n,r);return s?{value:i}:i}},"binary<=":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)<=o(e,t,n,r);return s?{value:i}:i}},"binary>=":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)>=o(e,t,n,r);return s?{value:i}:i}},"binary&&":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)&&o(e,t,n,r);return s?{value:i}:i}},"binary||":function(a,o,s){return function(e,t,n,r){var i=a(e,t,n,r)||o(e,t,n,r);return s?{value:i}:i}},"ternary?:":function(a,o,s,c){return function(e,t,n,r){var i=a(e,t,n,r)?o(e,t,n,r):s(e,t,n,r);return c?{value:i}:i}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(o,s,c,l,u){return function(e,t,n,r){var i=t&&o in t?t:e;l&&1!==l&&i&&!i[o]&&(i[o]={});var a=i?i[o]:void 0;return s&&xr(a,u),c?{context:i,name:o,value:a}:a}},computedMember:function(s,c,l,u,f){return function(e,t,n,r){var i,a,o=s(e,t,n,r);return null!=o&&(Sr(i=Tr(i=c(e,t,n,r)),f),u&&1!==u&&(Er(o),o&&!o[i]&&(o[i]={})),xr(a=o[i],f)),l?{context:o,name:i,value:a}:a}},nonComputedMember:function(o,s,c,l,u,f){return function(e,t,n,r){var i=o(e,t,n,r);u&&1!==u&&(Er(i),i&&!i[s]&&(i[s]={}));var a=null!=i?i[s]:void 0;return(c||Wr(s))&&xr(a,f),l?{context:i,name:s,value:a}:a}},inputs:function(i,a){return function(e,t,n,r){return r?r[a]:i(e,t,n)}}};var Hr=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new Mr(e,n),this.astCompiler=n.csp?new Ur(this.ast,t):new Br(this.ast,t)};function Wr(e){return"constructor"===e}function qr(e){return we(e.valueOf)?e.valueOf():Ar.call(e)}function zr(){var n,r,v=Oe(),y=Oe(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(e,t){return n=e,r=t,this},this.$get=["$filter",function(l){var e=N().noUnsafeEval,u={csp:e,expensiveChecks:!1,literals:R(i),isIdentifierStart:we(n)&&n,isIdentifierContinue:we(r)&&r},f={csp:e,expensiveChecks:!0,literals:R(i),isIdentifierStart:we(n)&&n,isIdentifierContinue:we(r)&&r},d=!1;return t.$$runningExpensiveChecks=function(){return d},t;function t(e,t,n){var r,i,a;switch(n=n||d,typeof e){case"string":e=e.trim();var o=n?y:v;if(!(r=o[a=e])){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=n?f:u,c=new Pr(s);(r=new Hr(c,l,s).parse(e)).constant?r.$$watchDelegate=_:i?r.$$watchDelegate=r.literal?g:m:r.inputs&&(r.$$watchDelegate=p),n&&(r=function e(a){if(!a)return a;n.$$watchDelegate=a.$$watchDelegate;n.assign=e(a.assign);n.constant=a.constant;n.literal=a.literal;for(var t=0;a.inputs&&t<a.inputs.length;++t)a.inputs[t]=e(a.inputs[t]);n.inputs=a.inputs;return n;function n(e,t,n,r){var i=d;d=!0;try{return a(e,t,n,r)}finally{d=i}}}(r)),o[a]=r}return b(r,t);case"function":return b(e,t);default:return b(pe,t)}}function h(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=qr(e)))&&(e===t||e!=e&&t!=t)}function p(e,t,n,a,r){var o,s=a.inputs;if(1===s.length){var i=h;return s=s[0],e.$watch(function(e){var t=s(e);return h(t,i)||(o=a(e,void 0,void 0,[t]),i=t&&qr(t)),o},t,n,r)}for(var c=[],l=[],u=0,f=s.length;u<f;u++)c[u]=h,l[u]=null;return e.$watch(function(e){for(var t=!1,n=0,r=s.length;n<r;n++){var i=s[n](e);(t||(t=!h(i,c[n])))&&(l[n]=i,c[n]=i&&qr(i))}return t&&(o=a(e,void 0,void 0,l)),o},t,n,r)}function m(e,r,t,n){var i,a;return i=e.$watch(function(e){return n(e)},function(e,t,n){a=e,we(r)&&r.apply(this,arguments),_e(e)&&n.$$postDigest(function(){_e(a)&&i()})},t)}function g(e,r,t,n){var i,a;return i=e.$watch(function(e){return n(e)},function(e,t,n){a=e,we(r)&&r.call(this,e,t,n),o(e)&&n.$$postDigest(function(){o(a)&&i()})},t);function o(e){var t=!0;return fe(e,function(e){_e(e)||(t=!1)}),t}}function _(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function b(o,s){if(!s)return o;var e=o.$$watchDelegate,a=!1,t=e!==g&&e!==m?function(e,t,n,r){var i=a&&r?r[0]:o(e,t,n,r);return s(i,e,t)}:function(e,t,n,r){var i=o(e,t,n,r),a=s(i,e,t);return _e(i)?a:i};return o.$$watchDelegate&&o.$$watchDelegate!==p?t.$$watchDelegate=o.$$watchDelegate:s.$stateful||(t.$$watchDelegate=p,a=!o.inputs,t.inputs=o.inputs?o.inputs:[o]),t}}]}function Vr(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return Kr(function(e){t.$evalAsync(e)},e)}]}function Yr(){this.$get=["$browser","$exceptionHandler",function(t,e){return Kr(function(e){t.defer(e)},e)}]}function Kr(t,o){var n=w("$q",TypeError);function r(){var e=new c;return e.resolve=a(e,e.resolve),e.reject=a(e,e.reject),e.notify=a(e,e.notify),e}function e(){this.$$state={status:0}}function a(t,n){return function(e){n.call(t,e)}}function s(e){!e.processScheduled&&e.pending&&(e.processScheduled=!0,t(function(){!function(e){var t,n,r;r=e.pending,e.processScheduled=!1,e.pending=void 0;for(var i=0,a=r.length;i<a;++i){n=r[i][0],t=r[i][e.status];try{we(t)?n.resolve(t(e.value)):1===e.status?n.resolve(e.value):n.reject(e.value)}catch(e){n.reject(e),o(e)}}}(e)}))}function c(){this.promise=new e}function i(e){var t=new c;return t.reject(e),t.promise}function l(e,t,n){var r=null;try{we(n)&&(r=n())}catch(e){return i(e)}return I(r)?r.then(function(){return t(e)},i):t(e)}function u(e,t,n,r){var i=new c;return i.resolve(e),i.promise.then(t,n,r)}de(e.prototype,{then:function(e,t,n){if(ge(e)&&ge(t)&&ge(n))return this;var r=new c;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),0<this.$$state.status&&s(this.$$state),r.promise},catch:function(e){return this.then(null,e)},finally:function(t,e){return this.then(function(e){return l(e,f,t)},function(e){return l(e,i,t)},e)}}),de(c.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(n("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var t,n=this,r=!1;try{(be(e)||we(e))&&(t=e&&e.then),we(t)?(this.promise.$$state.status=-1,t.call(e,function(e){if(r)return;r=!0,n.$$resolve(e)},i,a(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(e){i(e),o(e)}function i(e){r||(r=!0,n.$$reject(e))}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(i){var a=this.promise.$$state.pending;this.promise.$$state.status<=0&&a&&a.length&&t(function(){for(var e,t,n=0,r=a.length;n<r;n++){t=a[n][0],e=a[n][3];try{t.notify(we(e)?e(i):i)}catch(e){o(e)}}})}});var f=u;function d(e){if(!we(e))throw n("norslvr","Expected resolverFn, got '{0}'",e);var t=new c;return e(function(e){t.resolve(e)},function(e){t.reject(e)}),t.promise}return d.prototype=e.prototype,d.defer=r,d.reject=i,d.when=u,d.resolve=f,d.all=function(e){var n=new c,r=0,i=ye(e)?[]:{};return fe(e,function(e,t){r++,u(e).then(function(e){i[t]=e,--r||n.resolve(i)},function(e){n.reject(e)})}),0===r&&n.resolve(i),n.promise},d.race=function(e){var t=r();return fe(e,function(e){u(e).then(t.resolve,t.reject)}),t.promise},d}function Qr(){this.$get=["$window","$timeout",function(e,n){var r=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,t=!!r,a=t?function(e){var t=r(e);return function(){i(t)}}:function(e){var t=n(e,16.66,!1);return function(){n.cancel(t)}};return a.supported=t,a}]}function Xr(){var A=10,S=w("$rootScope"),T=null,x=null;this.digestTtl=function(e){return arguments.length&&(A=e),A},this.$get=["$exceptionHandler","$parse","$browser",function(d,p,h){function r(e){e.currentScope.$$destroyed=!0}function i(){this.$id=k(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,(this.$root=this).$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}i.prototype={constructor:i,$new:function(e,t){var n;return t=t||this,e?(n=new i).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=k(),this.$$ChildScope=null}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",r),n},$watch:function(e,t,n,r){var i=p(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var a=this,o=a.$$watchers,s={fn:t,last:w,get:i,exp:r||e,eq:!!n};return T=null,we(t)||(s.fn=pe),o||((o=a.$$watchers=[]).$$digestWatchIndex=-1),o.unshift(s),o.$$digestWatchIndex++,c(this,1),function(){var e=xe(o,s);0<=e&&(c(a,-1),e<o.$$digestWatchIndex&&o.$$digestWatchIndex--),T=null}},$watchGroup:function(e,r){var i=new Array(e.length),a=new Array(e.length),o=[],s=this,c=!1,t=!0;if(!e.length){var n=!0;return s.$evalAsync(function(){n&&r(a,a,s)}),function(){n=!1}}if(1===e.length)return this.$watch(e[0],function(e,t,n){a[0]=e,i[0]=t,r(a,e===t?a:i,n)});function l(){c=!1,t?(t=!1,r(a,a,s)):r(a,i,s)}return fe(e,function(e,n){var t=s.$watch(e,function(e,t){a[n]=e,i[n]=t,c||(c=!0,s.$evalAsync(l))});o.push(t)}),function(){for(;o.length;)o.shift()()}},$watchCollection:function(e,n){h.$stateful=!0;var o,s,r,i=this,a=1<n.length,c=0,t=p(e,h),l=[],u={},f=!0,d=0;function h(e){var t,n,r,i;if(!ge(o=e)){if(be(o))if(O(o)){s!==l&&(d=(s=l).length=0,c++),t=o.length,d!==t&&(c++,s.length=d=t);for(var a=0;a<t;a++)i=s[a],r=o[a],i!=i&&r!=r||i===r||(c++,s[a]=r)}else{for(n in s!==u&&(s=u={},d=0,c++),t=0,o)B.call(o,n)&&(t++,r=o[n],i=s[n],n in s?i!=i&&r!=r||i===r||(c++,s[n]=r):(d++,s[n]=r,c++));if(t<d)for(n in c++,s)B.call(o,n)||(d--,delete s[n])}else s!==o&&(s=o,c++);return c}}return this.$watch(t,function(){if(f?(f=!1,n(o,o,i)):n(o,r,i),a)if(be(o))if(O(o)){r=new Array(o.length);for(var e=0;e<o.length;e++)r[e]=o[e]}else for(var t in r={},o)B.call(o,t)&&(r[t]=o[t]);else r=o})},$digest:function(){var e,t,n,r,i,a,o,s,c,l=A,u=[];v("$digest"),h.$$checkUrlChange(),this===m&&null!==x&&(h.defer.cancel(x),C()),T=null;do{i=!1,o=this;for(var f=0;f<g.length;f++){try{(c=g[f]).scope.$eval(c.expression,c.locals)}catch(e){d(e)}T=null}g.length=0;e:do{if(r=o.$$watchers)for(r.$$digestWatchIndex=r.length;r.$$digestWatchIndex--;)try{if(e=r[r.$$digestWatchIndex])if((t=(0,e.get)(o))===(n=e.last)||(e.eq?ke(t,n):E(t)&&E(n))){if(e===T){i=!1;break e}}else i=!0,(T=e).last=e.eq?R(t,null):t,(0,e.fn)(t,n===w?t:n,o),l<5&&(u[s=4-l]||(u[s]=[]),u[s].push({msg:we(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:t,oldVal:n}))}catch(e){d(e)}if(!(a=o.$$watchersCount&&o.$$childHead||o!==this&&o.$$nextSibling))for(;o!==this&&!(a=o.$$nextSibling);)o=o.$parent}while(o=a);if((i||g.length)&&!l--)throw y(),S("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",A,u)}while(i||g.length);for(y();b<_.length;)try{_[b++]()}catch(e){d(e)}_.length=b=0},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===m&&h.$$applicationDestroyed(),c(this,-this.$$watchersCount),this.$$listenerCount)a(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=pe,this.$on=this.$watch=this.$watchGroup=function(){return pe},this.$$listeners={},this.$$nextSibling=null,function e(t){9===U&&(t.$$childHead&&e(t.$$childHead),t.$$nextSibling&&e(t.$$nextSibling)),t.$parent=t.$$nextSibling=t.$$prevSibling=t.$$childHead=t.$$childTail=t.$root=t.$$watchers=null}(this)}},$eval:function(e,t){return p(e)(this,t)},$evalAsync:function(e,t){m.$$phase||g.length||h.defer(function(){g.length&&m.$digest()}),g.push({scope:this,expression:p(e),locals:t})},$$postDigest:function(e){_.push(e)},$apply:function(e){try{v("$apply");try{return this.$eval(e)}finally{y()}}catch(e){d(e)}finally{try{m.$digest()}catch(e){throw d(e),e}}},$applyAsync:function(e){var t=this;e&&n.push(function(){t.$eval(e)}),e=p(e),null===x&&(x=h.defer(function(){m.$apply(C)}))},$on:function(t,n){var r=this.$$listeners[t];r||(this.$$listeners[t]=r=[]),r.push(n);for(var e=this;e.$$listenerCount[t]||(e.$$listenerCount[t]=0),e.$$listenerCount[t]++,e=e.$parent;);var i=this;return function(){var e=r.indexOf(n);-1!==e&&(r[e]=null,a(i,1,t))}},$emit:function(e,t){var n,r,i,a=[],o=this,s=!1,c={name:e,targetScope:o,stopPropagation:function(){s=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},l=F([c],arguments,1);do{for(n=o.$$listeners[e]||a,c.currentScope=o,r=0,i=n.length;r<i;r++)if(n[r])try{n[r].apply(null,l)}catch(e){d(e)}else n.splice(r,1),r--,i--;if(s)return c.currentScope=null,c;o=o.$parent}while(o);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,r=this,i={name:e,targetScope:this,preventDefault:function(){i.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return i;for(var a,o,s,c=F([i],arguments,1);n=r;){for(o=0,s=(a=(i.currentScope=n).$$listeners[e]||[]).length;o<s;o++)if(a[o])try{a[o].apply(null,c)}catch(e){d(e)}else a.splice(o,1),o--,s--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return i.currentScope=null,i}};var m=new i,g=m.$$asyncQueue=[],_=m.$$postDigestQueue=[],n=m.$$applyAsyncQueue=[],b=0;return m;function v(e){if(m.$$phase)throw S("inprog","{0} already in progress",m.$$phase);m.$$phase=e}function y(){m.$$phase=null}function c(e,t){for(;e.$$watchersCount+=t,e=e.$parent;);}function a(e,t,n){for(;e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n],e=e.$parent;);}function w(){}function C(){for(;n.length;)try{n.shift()()}catch(e){d(e)}x=null}}]}function Zr(){var i=/^\s*(https?|ftp|mailto|tel|file):/,a=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return _e(e)?(i=e,this):i},this.imgSrcSanitizationWhitelist=function(e){return _e(e)?(a=e,this):a},this.$get=function(){return function(e,t){var n,r=t?a:i;return""===(n=fi(e).href)||n.match(r)?e:"unsafe:"+n}}}Hr.prototype={constructor:Hr,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var Jr=w("$sce"),ei={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"};function ti(e){var t=[];return _e(e)&&fe(e,function(e){t.push(function(e){if("self"===e)return e;if(ve(e)){if(-1<e.indexOf("***"))throw Jr("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=M(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(T(e))return new RegExp("^"+e.source+"$");throw Jr("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}(e))}),t}function ni(){this.SCE_CONTEXTS=ei;var o=["self"],s=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(o=ti(e)),o},this.resourceUrlBlacklist=function(e){return arguments.length&&(s=ti(e)),s},this.$get=["$injector",function(e){var r=function(e){throw Jr("unsafe","Attempting to use an unsafe value in a safe context.")};function a(e,t){return"self"===e?di(t):!!e.exec(t.href)}function t(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}e.has("$sanitize")&&(r=e.get("$sanitize"));var n=t(),i={};return i[ei.HTML]=t(n),i[ei.CSS]=t(n),i[ei.URL]=t(n),i[ei.JS]=t(n),i[ei.RESOURCE_URL]=t(i[ei.URL]),{trustAs:function(e,t){var n=i.hasOwnProperty(e)?i[e]:null;if(!n)throw Jr("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||ge(t)||""===t)return t;if("string"!=typeof t)throw Jr("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)},getTrusted:function(e,t){if(null===t||ge(t)||""===t)return t;var n=i.hasOwnProperty(e)?i[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===ei.RESOURCE_URL){if(function(e){var t,n,r=fi(e.toString()),i=!1;for(t=0,n=o.length;t<n;t++)if(a(o[t],r)){i=!0;break}if(i)for(t=0,n=s.length;t<n;t++)if(a(s[t],r)){i=!1;break}return i}(t))return t;throw Jr("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===ei.HTML)return r(t);throw Jr("unsafe","Attempting to use an unsafe value in a safe context.")},valueOf:function(e){return e instanceof n?e.$$unwrapTrustedValue():e}}}]}function ri(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(r,e){if(t&&U<8)throw Jr("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=je(ei);i.isEnabled=function(){return t},i.trustAs=e.trustAs,i.getTrusted=e.getTrusted,i.valueOf=e.valueOf,t||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=me),i.parseAs=function(t,e){var n=r(e);return n.literal&&n.constant?n:r(e,function(e){return i.getTrusted(t,e)})};var a=i.parseAs,o=i.getTrusted,s=i.trustAs;return fe(ei,function(t,e){var n=S(e);i[Xe("parse_as_"+n)]=function(e){return a(t,e)},i[Xe("get_trusted_"+n)]=function(e){return o(t,e)},i[Xe("trust_as_"+n)]=function(e){return s(t,e)}}),i}]}function ii(){this.$get=["$window","$document",function(e,t){var n,r,i={},a=!(e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,o=m((/android (\d+)/.exec(S((e.navigator||{}).userAgent))||[])[1]),s=/Boxee/i.test((e.navigator||{}).userAgent),c=t[0]||{},l=/^(Moz|webkit|ms)(?=[A-Z])/,u=c.body&&c.body.style,f=!1,d=!1;if(u){for(var h in u)if(r=l.exec(h)){n=(n=r[0])[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in u&&"webkit"),f=!!("transition"in u||n+"Transition"in u),d=!!("animation"in u||n+"Animation"in u),!o||f&&d||(f=ve(u.webkitTransition),d=ve(u.webkitAnimation))}return{history:!(!a||o<4||s),hasEvent:function(e){if("input"===e&&U<=11)return!1;if(ge(i[e])){var t=c.createElement("div");i[e]="on"+e in t}return i[e]},csp:N(),vendorPrefix:n,transitions:f,animations:d,android:o}}]}var ai=w("$compile");function oi(){var c;this.httpOptions=function(e){return e?(c=e,this):c},this.$get=["$templateCache","$http","$q","$sce",function(r,i,a,o){function s(t,n){s.totalPendingRequests++,ve(t)&&!ge(r.get(t))||(t=o.getTrustedResourceUrl(t));var e=i.defaults&&i.defaults.transformResponse;return ye(e)?e=e.filter(function(e){return e!==In}):e===In&&(e=null),i.get(t,de({cache:r,transformResponse:e},c)).finally(function(){s.totalPendingRequests--}).then(function(e){return r.put(t,e.data),e.data},function(e){if(n)return a.reject(e);throw ai("tpload","Failed to load template: {0} (HTTP status: {1} {2})",t,e.status,e.statusText)})}return s.totalPendingRequests=0,s}]}function si(){this.$get=["$rootScope","$browser","$location",function(t,n,r){var e={findBindings:function(e,n,r){var t=e.getElementsByClassName("ng-binding"),i=[];return fe(t,function(t){var e=v.element(t).data("$binding");e&&fe(e,function(e){r?new RegExp("(^|\\s)"+M(n)+"(\\s|\\||$)").test(e)&&i.push(t):-1!==e.indexOf(n)&&i.push(t)})}),i},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var a="["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]',o=e.querySelectorAll(a);if(o.length)return o}},getLocation:function(){return r.url()},setLocation:function(e){e!==r.url()&&(r.url(e),t.$digest())},whenStable:function(e){n.notifyWhenNoOutstandingRequests(e)}};return e}]}function ci(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(c,l,u,f,d){var h={};function e(e,t,n){we(e)||(n=t,t=e,e=pe);var r,i=Ee(arguments,3),a=_e(n)&&!n,o=(a?f:u).defer(),s=o.promise;return r=l.defer(function(){try{o.resolve(e.apply(null,i))}catch(e){o.reject(e),d(e)}finally{delete h[s.$$timeoutId]}a||c.$apply()},t),s.$$timeoutId=r,h[r]=o,s}return e.cancel=function(e){return!!(e&&e.$$timeoutId in h)&&(h[e.$$timeoutId].reject("canceled"),delete h[e.$$timeoutId],l.defer.cancel(e.$$timeoutId))},e}]}var li=j.document.createElement("a"),ui=fi(j.location.href);function fi(e){var t=e;return U&&(li.setAttribute("href",t),t=li.href),li.setAttribute("href",t),{href:li.href,protocol:li.protocol?li.protocol.replace(/:$/,""):"",host:li.host,search:li.search?li.search.replace(/^\?/,""):"",hash:li.hash?li.hash.replace(/^#/,""):"",hostname:li.hostname,port:li.port,pathname:"/"===li.pathname.charAt(0)?li.pathname:"/"+li.pathname}}function di(e){var t=ve(e)?fi(e):e;return t.protocol===ui.protocol&&t.host===ui.host}function hi(){this.$get=x(j)}function pi(e){var o=e[0]||{},s={},c="";function l(t){try{return decodeURIComponent(t)}catch(e){return t}}return function(){var e,t,n,r,i,a=o.cookie||"";if(a!==c)for(e=(c=a).split("; "),s={},n=0;n<e.length;n++)0<(r=(t=e[n]).indexOf("="))&&(i=l(t.substring(0,r)),ge(s[i])&&(s[i]=l(t.substring(r+1))));return s}}function mi(){this.$get=pi}function gi(r){var i="Filter";function a(e,t){if(be(e)){var n={};return fe(e,function(e,t){n[t]=a(t,e)}),n}return r.factory(e+i,t)}this.register=a,this.$get=["$injector",function(t){return function(e){return t.get(e+i)}}],a("currency",Ai),a("date",Ri),a("filter",_i),a("json",Ni),a("limitTo",Gi),a("lowercase",Li),a("number",Si),a("orderBy",Bi),a("uppercase",Fi)}function _i(){return function(e,t,n,r){if(!O(e)){if(null==e)return e;throw w("filter")("notarray","Expected array but received: {0}",e)}var i,a;switch(r=r||"$",vi(t)){case"function":i=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":i=function(t,n,r,i){var a=be(t)&&r in t;!0===n?n=ke:we(n)||(n=function(e,t){return!ge(e)&&(null===e||null===t?e===t:!(be(t)||be(e)&&!b(e))&&(e=S(""+e),t=S(""+t),-1!==e.indexOf(t)))});return function(e){return a&&!be(e)?bi(e,t[r],n,r,!1):bi(e,t,n,r,i)}}(t,n,r,a);break;default:return e}return Array.prototype.filter.call(e,i)}}function bi(e,t,n,r,i,a){var o=vi(e),s=vi(t);if("string"===s&&"!"===t.charAt(0))return!bi(e,t.substring(1),n,r,i);if(ye(e))return e.some(function(e){return bi(e,t,n,r,i)});switch(o){case"object":var c;if(i){for(c in e)if("$"!==c.charAt(0)&&bi(e[c],t,n,r,!0))return!0;return!a&&bi(e,t,n,r,!1)}if("object"!==s)return n(e,t);for(c in t){var l=t[c];if(!we(l)&&!ge(l)){var u=c===r;if(!bi(u?e:e[c],l,n,r,u,u))return!1}}return!0;case"function":return!1;default:return n(e,t)}}function vi(e){return null===e?"null":typeof e}pi.$inject=["$document"],gi.$inject=["$provide"];var yi=22,wi=".",Ci="0";function Ai(e){var r=e.NUMBER_FORMATS;return function(e,t,n){return ge(t)&&(t=r.CURRENCY_SYM),ge(n)&&(n=r.PATTERNS[1].maxFrac),null==e?e:Ti(e,r.PATTERNS[1],r.GROUP_SEP,r.DECIMAL_SEP,n).replace(/\u00A4/g,t)}}function Si(e){var n=e.NUMBER_FORMATS;return function(e,t){return null==e?e:Ti(e,n.PATTERNS[0],n.GROUP_SEP,n.DECIMAL_SEP,t)}}function Ti(e,t,n,r,i){if(!ve(e)&&!C(e)||isNaN(e))return"";var a,o=!isFinite(e),s=!1,c=Math.abs(e)+"",l="";if(o)l="∞";else{(function(e,t,n,r){var i=e.d,a=i.length-e.i,o=(t=ge(t)?Math.min(Math.max(n,a),r):+t)+e.i,s=i[o];if(0<o){i.splice(Math.max(e.i,o));for(var c=o;c<i.length;c++)i[c]=0}else{a=Math.max(0,a),e.i=1,i.length=Math.max(1,o=t+1),i[0]=0;for(var l=1;l<o;l++)i[l]=0}if(5<=s)if(o-1<0){for(var u=0;o<u;u--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[o-1]++;for(;a<Math.max(0,t);a++)i.push(0);var f=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0);f&&(i.unshift(f),e.i++)})(a=function(e){var t,n,r,i,a,o=0;for(-1<(n=e.indexOf(wi))&&(e=e.replace(wi,"")),0<(r=e.search(/e/i))?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Ci;r++);if(r===(a=e.length))t=[0],n=1;else{for(a--;e.charAt(a)===Ci;)a--;for(n-=r,t=[],i=0;r<=a;r++,i++)t[i]=+e.charAt(r)}return yi<n&&(t=t.splice(0,yi-1),o=n-1,n=1),{d:t,e:o,i:n}}(c),i,t.minFrac,t.maxFrac);var u=a.d,f=a.i,d=a.e,h=[];for(s=u.reduce(function(e,t){return e&&!t},!0);f<0;)u.unshift(0),f++;0<f?h=u.splice(f,u.length):(h=u,u=[0]);var p=[];for(u.length>=t.lgSize&&p.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)p.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&p.unshift(u.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function xi(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length<t;)e=Ci+e;return n&&(e=e.substr(e.length-t)),i+e}function ki(n,r,i,a,o){return i=i||0,function(e){var t=e["get"+n]();return(0<i||-i<t)&&(t+=i),0===t&&-12===i&&(t=12),xi(t,r,a,o)}}function Ei(r,i,a){return function(e,t){var n=e["get"+r]();return t[u((a?"STANDALONE":"")+(i?"SHORT":"")+r)][n]}}function Di(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function Ii(i){return function(e){var t,n=Di(e.getFullYear()),r=+(t=e,new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay())))-+n;return xi(1+Math.round(r/6048e5),i)}}function Pi(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}Ai.$inject=["$locale"];var Mi={yyyy:ki("FullYear",4,0,!(Si.$inject=["$locale"]),!0),yy:ki("FullYear",2,0,!0,!0),y:ki("FullYear",1,0,!1,!0),MMMM:Ei("Month"),MMM:Ei("Month",!0),MM:ki("Month",2,1),M:ki("Month",1,1),LLLL:Ei("Month",!1,!0),dd:ki("Date",2),d:ki("Date",1),HH:ki("Hours",2),H:ki("Hours",1),hh:ki("Hours",2,-12),h:ki("Hours",1,-12),mm:ki("Minutes",2),m:ki("Minutes",1),ss:ki("Seconds",2),s:ki("Seconds",1),sss:ki("Milliseconds",3),EEEE:Ei("Day"),EEE:Ei("Day",!0),a:function(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){var r=-1*n,i=0<=r?"+":"";return i+=xi(Math[0<r?"floor":"ceil"](r/60),2)+xi(Math.abs(r%60),2)},ww:Ii(2),w:Ii(1),G:Pi,GG:Pi,GGG:Pi,GGGG:function(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}},$i=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oi=/^-?\d+$/;function Ri(c){var f=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(t,e,n){var r,i,a="",o=[];if(e=e||"mediumDate",e=c.DATETIME_FORMATS[e]||e,ve(t)&&(t=Oi.test(t)?m(t):function(e){var t;if(t=e.match(f)){var n=new Date(0),r=0,i=0,a=t[8]?n.setUTCFullYear:n.setFullYear,o=t[8]?n.setUTCHours:n.setHours;t[9]&&(r=m(t[9]+t[10]),i=m(t[9]+t[11])),a.call(n,m(t[1]),m(t[2])-1,m(t[3]));var s=m(t[4]||0)-r,c=m(t[5]||0)-i,l=m(t[6]||0),u=Math.round(1e3*parseFloat("0."+(t[7]||0)));return o.call(n,s,c,l,u),n}return e}(t)),C(t)&&(t=new Date(t)),!A(t)||!isFinite(t.getTime()))return t;for(;e;)e=(i=$i.exec(e))?(o=F(o,i,1)).pop():(o.push(e),null);var s=t.getTimezoneOffset();return n&&(s=z(n,s),t=V(t,n,!0)),fe(o,function(e){r=Mi[e],a+=r?r(t,c.DATETIME_FORMATS,s):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),a}}function Ni(){return function(e,t){return ge(t)&&(t=2),G(e,t)}}Ri.$inject=["$locale"];var Li=x(S),Fi=x(u);function Gi(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):m(t),E(t)?e:(C(e)&&(e=e.toString()),O(e)?(n=(n=!n||isNaN(n)?0:m(n))<0?Math.max(0,e.length+n):n,0<=t?ji(e,n,n+t):0===n?ji(e,t,e.length):ji(e,Math.max(0,n+t),n)):e)}}function ji(e,t,n){return ve(e)?e.slice(t,n):s.call(e,t,n)}function Bi(c){return function(e,t,n,r){if(null==e)return e;if(!O(e))throw w("orderBy")("notarray","Expected array but received: {0}",e);ye(t)||(t=[t]),0===t.length&&(t=["+"]);var a=t.map(function(e){var t=1,n=me;if(we(e))n=e;else if(ve(e)&&("+"!==e.charAt(0)&&"-"!==e.charAt(0)||(t="-"===e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(n=c(e)).constant)){var r=n();n=function(e){return e[r]}}return{get:n,descending:t}}),o=n?-1:1,s=we(r)?r:u,i=Array.prototype.map.call(e,function(t,n){return{value:t,tieBreaker:{value:n,type:"number",index:n},predicateValues:a.map(function(e){return function(e,t){var n=typeof e;null===e?(n="string",e="null"):"object"===n&&(e=function(e){if(we(e.valueOf)&&l(e=e.valueOf()))return e;if(b(e)&&l(e=e.toString()))return e;return e}(e));return{value:e,type:n,index:t}}(e.get(t),n)})}});return i.sort(function(e,t){for(var n=0,r=a.length;n<r;n++){var i=s(e.predicateValues[n],t.predicateValues[n]);if(i)return i*a[n].descending*o}return s(e.tieBreaker,t.tieBreaker)*o}),e=i.map(function(e){return e.value})};function l(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function u(e,t){var n=0,r=e.type,i=t.type;if(r===i){var a=e.value,o=t.value;"string"===r?(a=a.toLowerCase(),o=o.toLowerCase()):"object"===r&&(be(a)&&(a=e.index),be(o)&&(o=t.index)),a!==o&&(n=a<o?-1:1)}else n=r<i?-1:1;return n}}function Ui(e){return we(e)&&(e={link:e}),e.restrict=e.restrict||"AC",x(e)}Bi.$inject=["$parse"];var Hi=x({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===H.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Wi={};fe(St,function(e,r){if("multiple"!==e){var i=fn("ng-"+r),t=a;"checked"===e&&(t=function(e,t,n){n.ngModel!==n[i]&&a(e,0,n)}),Wi[i]=function(){return{restrict:"A",priority:100,link:t}}}function a(e,t,n){e.$watch(n[i],function(e){n.$set(r,!!e)})}}),fe(xt,function(e,i){Wi[i]=function(){return{priority:100,link:function(e,t,n){if("ngPattern"===i&&"/"===n.ngPattern.charAt(0)){var r=n.ngPattern.match(a);if(r)return void n.$set("ngPattern",new RegExp(r[1],r[2]))}e.$watch(n[i],function(e){n.$set(i,e)})}}}}),fe(["src","srcset","href"],function(a){var o=fn("ng-"+a);Wi[o]=function(){return{priority:99,link:function(e,t,n){var r=a,i=a;"href"===a&&"[object SVGAnimatedString]"===H.call(t.prop("href"))&&(i="xlinkHref",n.$attr[i]="xlink:href",r=null),n.$observe(o,function(e){e?(n.$set(i,e),U&&r&&t.prop(r,n[i])):"href"===a&&n.$set(i,null)})}}}});var qi={$addControl:pe,$$renameControl:function(e,t){e.$name=t},$removeControl:pe,$setValidity:pe,$setDirty:pe,$setPristine:pe,$setSubmitted:pe},zi="ng-submitted";function Vi(e,t,n,r,i){var a=this,o=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=i(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=qi,a.$rollbackViewValue=function(){fe(o,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){fe(o,function(e){e.$commitViewValue()})},a.$addControl=function(e){ce(e.$name,"input"),o.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],(a[t]=e).$name=t},a.$removeControl=function(n){n.$name&&a[n.$name]===n&&delete a[n.$name],fe(a.$pending,function(e,t){a.$setValidity(t,null,n)}),fe(a.$error,function(e,t){a.$setValidity(t,null,n)}),fe(a.$$success,function(e,t){a.$setValidity(t,null,n)}),xe(o,n),n.$$parentForm=qi},Ja({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(xe(r,n),0===r.length&&delete e[t])},$animate:r}),a.$setDirty=function(){r.removeClass(e,Ba),r.addClass(e,Ua),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){r.setClass(e,Ba,Ua+" "+zi),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,fe(o,function(e){e.$setPristine()})},a.$setUntouched=function(){fe(o,function(e){e.$setUntouched()})},a.$setSubmitted=function(){r.addClass(e,zi),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}Vi.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Yi=function(n){return["$timeout","$parse",function(c,t){return{name:"form",restrict:n?"EAC":"E",require:["form","^^?form"],controller:Vi,compile:function(e,t){e.addClass(Ba).addClass(Ga);var s=t.name?"name":!(!n||!t.ngForm)&&"ngForm";return{pre:function(t,e,n,r){var i=r[0];if(!("action"in n)){var a=function(e){t.$apply(function(){i.$commitViewValue(),i.$setSubmitted()}),e.preventDefault()};qe(e[0],"submit",a),e.on("$destroy",function(){c(function(){ze(e[0],"submit",a)},0,!1)})}(r[1]||i.$$parentForm).$addControl(i);var o=s?l(i.$name):pe;s&&(o(t,i),n.$observe(s,function(e){i.$name!==e&&(o(t,void 0),i.$$parentForm.$$renameControl(i,e),(o=l(i.$name))(t,i))})),e.on("$destroy",function(){i.$$parentForm.$removeControl(i),o(t,void 0),de(i,qi)})}}}};function l(e){return""===e?t('this[""]').assign:t(e).assign||pe}}]},Ki=Yi(),Qi=Yi(!0),Xi=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Zi=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Ji=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ea=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,ta=/^(\d{4,})-(\d{2})-(\d{2})$/,na=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ra=/^(\d{4,})-W(\d\d)$/,ia=/^(\d{4,})-(\d\d)$/,aa=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,oa="keydown wheel mousedown",sa=Oe();fe("date,datetime-local,month,time,week".split(","),function(e){sa[e]=!0});var ca={text:function(e,t,n,r,i,a){ua(e,t,n,r,i,a),la(r)},date:da("date",ta,fa(ta,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":da("datetimelocal",na,fa(na,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:da("time",aa,fa(aa,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:da("week",ra,function(e,t){if(A(e))return e;if(ve(e)){ra.lastIndex=0;var n=ra.exec(e);if(n){var r=+n[1],i=+n[2],a=0,o=0,s=0,c=0,l=Di(r),u=7*(i-1);return t&&(a=t.getHours(),o=t.getMinutes(),s=t.getSeconds(),c=t.getMilliseconds()),new Date(r,0,l.getDate()+u,a,o,s,c)}}return NaN},"yyyy-Www"),month:da("month",ia,fa(ia,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,a){var o,s;ha(e,t,n,r),ua(e,t,n,r,i,a),pa(r),(_e(n.min)||n.ngMin)&&(r.$validators.min=function(e){return r.$isEmpty(e)||ge(o)||o<=e},n.$observe("min",function(e){o=ma(e),r.$validate()}));(_e(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||ge(s)||e<=s},n.$observe("max",function(e){s=ma(e),r.$validate()}))},url:function(e,t,n,r,i,a){ua(e,t,n,r,i,a),la(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Zi.test(n)}},email:function(e,t,n,r,i,a){ua(e,t,n,r,i,a),la(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Ji.test(n)}},radio:function(e,t,n,r){ge(n.name)&&t.attr("name",k());t.on("click",function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)}),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)},range:function(e,n,r,i,t,a){ha(e,n,r,i),pa(i),ua(e,n,r,i,t,a);var o=i.$$hasNativeValidators&&"range"===n[0].type,s=o?0:void 0,c=o?100:void 0,l=o?1:void 0,u=n[0].validity,f=_e(r.min),d=_e(r.max),h=_e(r.step),p=i.$render;i.$render=o&&_e(u.rangeUnderflow)&&_e(u.rangeOverflow)?function(){p(),i.$setViewValue(n.val())}:p,f&&(i.$validators.min=o?function(){return!0}:function(e,t){return i.$isEmpty(t)||ge(s)||s<=t},m("min",function(e){if(s=ma(e),E(i.$modelValue))return;if(o){var t=n.val();t<s&&(t=s,n.val(t)),i.$setViewValue(t)}else i.$validate()}));d&&(i.$validators.max=o?function(){return!0}:function(e,t){return i.$isEmpty(t)||ge(c)||t<=c},m("max",function(e){if(c=ma(e),E(i.$modelValue))return;if(o){var t=n.val();c<t&&(n.val(c),t=c<s?s:c),i.$setViewValue(t)}else i.$validate()}));h&&(i.$validators.step=o?function(){return!u.stepMismatch}:function(e,t){return i.$isEmpty(t)||ge(l)||function(e,t,n){var r=Number(e);if(!ga(r)||!ga(t)||!ga(n)){var i=Math.max(_a(r),_a(t),_a(n)),a=Math.pow(10,i);r*=a,t*=a,n*=a}return(r-t)%n==0}(t,s||0,l)},m("step",function(e){if(l=ma(e),E(i.$modelValue))return;o&&i.$viewValue!==n.val()?i.$setViewValue(n.val()):i.$validate()}));function m(e,t){n.attr(e,r[e]),r.$observe(e,t)}},checkbox:function(e,t,n,r,i,a,o,s){var c=ba(s,e,"ngTrueValue",n.ngTrueValue,!0),l=ba(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("click",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return ke(e,c)}),r.$parsers.push(function(e){return e?c:l})},hidden:pe,button:pe,submit:pe,reset:pe,file:pe};function la(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function ua(e,r,i,a,t,o){var s,c=S(r[0].type);if(!t.android){var l=!1;r.on("compositionstart",function(){l=!0}),r.on("compositionend",function(){l=!1,u()})}var u=function(e){if(s&&(o.defer.cancel(s),s=null),!l){var t=r.val(),n=e&&e.type;"password"===c||i.ngTrim&&"false"===i.ngTrim||(t=Se(t)),(a.$viewValue!==t||""===t&&a.$$hasNativeValidators)&&a.$setViewValue(t,n)}};if(t.hasEvent("input"))r.on("input",u);else{var n=function(e,t,n){s||(s=o.defer(function(){s=null,t&&t.value===n||u(e)}))};r.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&t<19||37<=t&&t<=40||n(e,this,this.value)}),t.hasEvent("paste")&&r.on("paste cut",n)}r.on("change",u),sa[c]&&a.$$hasNativeValidators&&c===i.type&&r.on(oa,function(e){if(!s){var t=this[f],n=t.badInput,r=t.typeMismatch;s=o.defer(function(){s=null,t.badInput===n&&t.typeMismatch===r||u(e)})}}),a.$render=function(){var e=a.$isEmpty(a.$viewValue)?"":a.$viewValue;r.val()!==e&&r.val(e)}}function fa(i,a){return function(e,t){var n,r;if(A(e))return e;if(ve(e)){if('"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substring(1,e.length-1)),Xi.test(e))return new Date(e);if(i.lastIndex=0,n=i.exec(e))return n.shift(),r=t?{yyyy:t.getFullYear(),MM:t.getMonth()+1,dd:t.getDate(),HH:t.getHours(),mm:t.getMinutes(),ss:t.getSeconds(),sss:t.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},fe(n,function(e,t){t<a.length&&(r[a[t]]=+e)}),new Date(r.yyyy,r.MM-1,r.dd,r.HH,r.mm,r.ss||0,1e3*r.sss||0)}return NaN}}function da(h,p,m,g){return function(e,t,n,r,i,a,o){ha(e,t,n,r),ua(0,t,n,r,i,a);var s,c,l,u=r&&r.$options&&r.$options.timezone;(r.$$parserName=h,r.$parsers.push(function(e){if(r.$isEmpty(e))return null;if(p.test(e)){var t=m(e,s);return u&&(t=V(t,u)),t}}),r.$formatters.push(function(e){if(e&&!A(e))throw Ya("datefmt","Expected `{0}` to be a date",e);return f(e)?((s=e)&&u&&(s=V(s,u,!0)),o("date")(e,g,u)):(s=null,"")}),_e(n.min)||n.ngMin)&&(r.$validators.min=function(e){return!f(e)||ge(c)||m(e)>=c},n.$observe("min",function(e){c=d(e),r.$validate()}));(_e(n.max)||n.ngMax)&&(r.$validators.max=function(e){return!f(e)||ge(l)||m(e)<=l},n.$observe("max",function(e){l=d(e),r.$validate()}));function f(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function d(e){return _e(e)&&!A(e)?m(e)||void 0:e}}}function ha(e,n,t,r){var i=n[0];(r.$$hasNativeValidators=be(i.validity))&&r.$parsers.push(function(e){var t=n.prop(f)||{};return t.badInput||t.typeMismatch?void 0:e})}function pa(t){t.$$parserName="number",t.$parsers.push(function(e){return t.$isEmpty(e)?null:ea.test(e)?parseFloat(e):void 0}),t.$formatters.push(function(e){if(!t.$isEmpty(e)){if(!C(e))throw Ya("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e})}function ma(e){return _e(e)&&!C(e)&&(e=parseFloat(e)),E(e)?void 0:e}function ga(e){return(0|e)===e}function _a(e){var t=e.toString(),n=t.indexOf(".");if(-1!==n)return t.length-n-1;if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}function ba(e,t,n,r,i){var a;if(_e(r)){if(!(a=e(r)).constant)throw Ya("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return a(t)}return i}var va=["$browser","$sniffer","$filter","$parse",function(a,o,s,c){return{restrict:"E",require:["?ngModel"],link:{pre:function(e,t,n,r){if(r[0]){var i=S(n.type);"range"!==i||n.hasOwnProperty("ngInputRange")||(i="text"),(ca[i]||ca.text)(e,t,n,r[0],o,a,s,c)}}}}}],ya=/^(true|false|\d+)$/,wa=function(){return{restrict:"A",priority:100,compile:function(e,t){return ya.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ca=["$compile",function(r){return{restrict:"AC",compile:function(e){return r.$$addBindingClass(e),function(e,t,n){r.$$addBindingInfo(t,n.ngBind),t=t[0],e.$watch(n.ngBind,function(e){t.textContent=ge(e)?"":e})}}}}],Aa=["$interpolate","$compile",function(i,a){return{compile:function(e){return a.$$addBindingClass(e),function(e,t,n){var r=i(t.attr(n.$attr.ngBindTemplate));a.$$addBindingInfo(t,r.expressions),t=t[0],n.$observe("ngBindTemplate",function(e){t.textContent=ge(e)?"":e})}}}}],Sa=["$sce","$parse","$compile",function(a,n,o){return{restrict:"A",compile:function(e,t){var r=n(t.ngBindHtml),i=n(t.ngBindHtml,function(e){return a.valueOf(e)});return o.$$addBindingClass(e),function(t,n,e){o.$$addBindingInfo(n,e.ngBindHtml),t.$watch(i,function(){var e=r(t);n.html(a.getTrustedHtml(e)||"")})}}}}],Ta=x({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function xa(n,m){return n="ngClass"+n,["$animate",function(d){return{restrict:"AC",link:function(s,c,a){var l;function u(e){var t=f(e,1);a.$addClass(t)}function f(e,t){var n=c.data("$classCounts")||Oe(),r=[];return fe(e,function(e){(0<t||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(0<t)&&r.push(e))}),c.data("$classCounts",n),r.join(" ")}function t(e){if(!0===m||(1&s.$index)===m){var t=p(e||[]);if(l){if(!ke(e,l)){var n=p(l);a=h(i=t,r=n),o=h(r,i),a=f(a,1),o=f(o,-1),a&&a.length&&d.addClass(c,a),o&&o.length&&d.removeClass(c,o)}}else u(t)}var r,i,a,o;l=ye(e)?e.map(function(e){return je(e)}):je(e)}a.$observe("class",function(e){t(s.$eval(a[n]))}),"ngClass"!==n&&s.$watch("$index",function(e,t){var n,r=1&e;if(r!==(1&t)){var i=p(l);r===m?u(i):(n=f(i,-1),a.$removeClass(n))}}),s.$watch(a[n],t,!0)}};function h(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],a=0;a<t.length;a++)if(i===t[a])continue e;n.push(i)}return n}function p(e){var n=[];return ye(e)?(fe(e,function(e){n=n.concat(p(e))}),n):ve(e)?e.split(" "):be(e)?(fe(e,function(e,t){e&&(n=n.concat(t.split(" ")))}),n):e}}]}var ka=xa("",!0),Ea=xa("Odd",0),Da=xa("Even",1),Ia=Ui({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Pa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ma={},$a={blur:!0,focus:!0};fe("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var o=fn("ng-"+a);Ma[o]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(e,t){var r=n(t[o],null,!0);return function(n,e){e.on(a,function(e){var t=function(){r(n,{$event:e})};$a[a]&&i.$$phase?n.$evalAsync(t):n.$apply(t)})}}}}]});var Oa=["$animate","$compile",function(c,l){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(e,n,r,t,i){var a,o,s;e.$watch(r.ngIf,function(e){e?o||i(function(e,t){o=t,e[e.length++]=l.$$createComment("end ngIf",r.ngIf),a={clone:e},c.enter(e,n.parent(),n)}):(s&&(s.remove(),s=null),o&&(o.$destroy(),o=null),a&&(s=$e(a.clone),c.leave(s).done(function(e){!1!==e&&(s=null)}),a=null))})}}}],Ra=["$templateRequest","$anchorScroll","$animate",function(g,_,b){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:v.noop,compile:function(e,t){var n=t.ngInclude||t.src,p=t.onload||"",m=t.autoscroll;return function(o,s,e,c,l){var u,t,f,d=0,h=function(){t&&(t.remove(),t=null),u&&(u.$destroy(),u=null),f&&(b.leave(f).done(function(e){!1!==e&&(t=null)}),t=f,f=null)};o.$watch(n,function(r){var i=function(e){!1===e||!_e(m)||m&&!o.$eval(m)||_()},a=++d;r?(g(r,!0).then(function(e){if(!o.$$destroyed&&a===d){var t=o.$new();c.template=e;var n=l(t,function(e){h(),b.enter(e,null,s).done(i)});f=n,(u=t).$emit("$includeContentLoaded",r),o.$eval(p)}},function(){o.$$destroyed||a===d&&(h(),o.$emit("$includeContentError",r))}),o.$emit("$includeContentRequested",r)):(h(),c.template=null)})}}}}],Na=["$compile",function(i){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(e,t,n,r){if(H.call(t[0]).match(/SVG/))return t.empty(),void i(at(r.template,j.document).childNodes)(e,function(e){t.append(e)},{futureParentElement:t});t.html(r.template),i(t.contents())(e)}}}],La=Ui({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Fa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,o=a?Se(i):i;r.$parsers.push(function(e){if(!ge(e)){var t=[];return e&&fe(e.split(o),function(e){e&&t.push(a?Se(e):e)}),t}}),r.$formatters.push(function(e){if(ye(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},Ga="ng-valid",ja="ng-invalid",Ba="ng-pristine",Ua="ng-dirty",Ha="ng-untouched",Wa="ng-touched",qa="ng-pending",za="ng-empty",Va="ng-not-empty",Ya=w("ngModel"),Ka=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(a,t,i,o,s,n,c,l,u,e){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=e(i.name||"",!1)(a),this.$$parentForm=qi;var f,d=s(i.ngModel),h=d.assign,p=d,m=h,g=null,_=this;this.$$setOptions=function(e){if((_.$options=e)&&e.getterSetter){var n=s(i.ngModel+"()"),r=s(i.ngModel+"($$$p)");p=function(e){var t=d(e);return we(t)&&(t=n(e)),t},m=function(e,t){we(d(e))?r(e,{$$$p:t}):h(e,t)}}else if(!d.assign)throw Ya("nonassign","Expression '{0}' is non-assignable. Element: {1}",i.ngModel,Ie(o))},this.$render=pe,this.$isEmpty=function(e){return ge(e)||""===e||null===e||e!=e},this.$$updateEmptyClasses=function(e){_.$isEmpty(e)?(n.removeClass(o,Va),n.addClass(o,za)):(n.removeClass(o,za),n.addClass(o,Va))};var b=0;Ja({ctrl:this,$element:o,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:n}),this.$setPristine=function(){_.$dirty=!1,_.$pristine=!0,n.removeClass(o,Ua),n.addClass(o,Ba)},this.$setDirty=function(){_.$dirty=!0,_.$pristine=!1,n.removeClass(o,Ba),n.addClass(o,Ua),_.$$parentForm.$setDirty()},this.$setUntouched=function(){_.$touched=!1,_.$untouched=!0,n.setClass(o,Ha,Wa)},this.$setTouched=function(){_.$touched=!0,_.$untouched=!1,n.setClass(o,Wa,Ha)},this.$rollbackViewValue=function(){c.cancel(g),_.$viewValue=_.$$lastCommittedViewValue,_.$render()},this.$validate=function(){if(!E(_.$modelValue)){var e=_.$$lastCommittedViewValue,t=_.$$rawModelValue,n=_.$valid,r=_.$modelValue,i=_.$options&&_.$options.allowInvalid;_.$$runValidators(t,e,function(e){i||n===e||(_.$modelValue=e?t:void 0,_.$modelValue!==r&&_.$$writeModelToScope())})}},this.$$runValidators=function(r,i,t){var a,o,s,n=++b;(function(){var e=_.$$parserName||"parse";{if(!ge(f))return f||(fe(_.$validators,function(e,t){c(t,null)}),fe(_.$asyncValidators,function(e,t){c(t,null)})),c(e,f),f;c(e,null)}return!0})()?(a=!0,fe(_.$validators,function(e,t){var n=e(r,i);a=a&&n,c(t,n)}),a||(fe(_.$asyncValidators,function(e,t){c(t,null)}),0)?(o=[],s=!0,fe(_.$asyncValidators,function(e,t){var n=e(r,i);if(!I(n))throw Ya("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",n);c(t,void 0),o.push(n.then(function(){c(t,!0)},function(){c(t,s=!1)}))}),o.length?u.all(o).then(function(){e(s)},pe):e(!0)):e(!1)):e(!1);function c(e,t){n===b&&_.$setValidity(e,t)}function e(e){n===b&&t(e)}},this.$commitViewValue=function(){var e=_.$viewValue;c.cancel(g),(_.$$lastCommittedViewValue!==e||""===e&&_.$$hasNativeValidators)&&(_.$$updateEmptyClasses(e),_.$$lastCommittedViewValue=e,_.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var t=_.$$lastCommittedViewValue;if(f=!ge(t)||void 0)for(var e=0;e<_.$parsers.length;e++)if(ge(t=_.$parsers[e](t))){f=!1;break}E(_.$modelValue)&&(_.$modelValue=p(a));var n=_.$modelValue,r=_.$options&&_.$options.allowInvalid;function i(){_.$modelValue!==n&&_.$$writeModelToScope()}_.$$rawModelValue=t,r&&(_.$modelValue=t,i()),_.$$runValidators(t,_.$$lastCommittedViewValue,function(e){r||(_.$modelValue=e?t:void 0,i())})},this.$$writeModelToScope=function(){m(a,_.$modelValue),fe(_.$viewChangeListeners,function(e){try{e()}catch(e){t(e)}})},this.$setViewValue=function(e,t){_.$viewValue=e,_.$options&&!_.$options.updateOnDefault||_.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(e){var t,n=0,r=_.$options;r&&_e(r.debounce)&&(C(t=r.debounce)?n=t:C(t[e])?n=t[e]:C(t.default)&&(n=t.default)),c.cancel(g),n?g=c(function(){_.$commitViewValue()},n):l.$$phase?_.$commitViewValue():a.$apply(function(){_.$commitViewValue()})},a.$watch(function(){var e=p(a);if(e!==_.$modelValue&&(_.$modelValue==_.$modelValue||e==e)){_.$modelValue=_.$$rawModelValue=e,f=void 0;for(var t=_.$formatters,n=t.length,r=e;n--;)r=t[n](r);_.$viewValue!==r&&(_.$$updateEmptyClasses(r),_.$viewValue=_.$$lastCommittedViewValue=r,_.$render(),_.$$runValidators(_.$modelValue,_.$viewValue,pe))}return e})}],Qa=["$rootScope",function(a){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Ka,priority:1,compile:function(e){return e.addClass(Ba).addClass(Ha).addClass(Ga),{pre:function(e,t,n,r){var i=r[0],a=r[1]||i.$$parentForm;i.$$setOptions(r[2]&&r[2].$options),a.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(e,t,n,r){var i=r[0];i.$options&&i.$options.updateOn&&t.on(i.$options.updateOn,function(e){i.$$debounceViewValueCommit(e&&e.type)}),t.on("blur",function(){i.$touched||(a.$$phase?e.$evalAsync(i.$setTouched):e.$apply(i.$setTouched))})}}}}}],Xa=/(\s+|^)default(\s+|$)/,Za=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=R(e.$eval(t.ngModelOptions)),_e(this.$options.updateOn)?(this.$options.updateOnDefault=!1,this.$options.updateOn=Se(this.$options.updateOn.replace(Xa,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}};function Ja(e){var i=e.ctrl,n=e.$element,r={},a=e.set,o=e.unset,s=e.$animate;function c(e,t){t&&!r[e]?(s.addClass(n,e),r[e]=!0):!t&&r[e]&&(s.removeClass(n,e),r[e]=!1)}function l(e,t){e=e?"-"+Pe(e,"-"):"",c(Ga+e,!0===t),c(ja+e,!1===t)}r[ja]=!(r[Ga]=n.hasClass(Ga)),i.$setValidity=function(e,t,n){ge(t)?function(e,t,n){i[e]||(i[e]={});a(i[e],t,n)}("$pending",e,n):function(e,t,n){i[e]&&o(i[e],t,n);eo(i[e])&&(i[e]=void 0)}("$pending",e,n);Ae(t)?t?(o(i.$error,e,n),a(i.$$success,e,n)):(a(i.$error,e,n),o(i.$$success,e,n)):(o(i.$error,e,n),o(i.$$success,e,n));i.$pending?(c(qa,!0),i.$valid=i.$invalid=void 0,l("",null)):(c(qa,!1),i.$valid=eo(i.$error),i.$invalid=!i.$valid,l("",i.$valid));var r;r=i.$pending&&i.$pending[e]?void 0:!i.$error[e]&&(!!i.$$success[e]||null);l(e,r),i.$$parentForm.$setValidity(e,r,i)}}function eo(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}var to=Ui({terminal:!0,priority:1e3}),no=w("ngOptions"),ro=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,io=["$compile","$document","$parse",function(w,C,S){var A=j.document.createElement("option"),T=j.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=pe},post:function(e,a,t,n){for(var o,s=n[0],c=n[1],l=t.multiple,r=0,i=a.children(),u=i.length;r<u;r++)if(""===i[r].value){o=i.eq(r);break}var f,d=!!o,h=!1,p=ue(A.cloneNode(!1));p.val("?");var m=function(e,t,d){var f=e.match(ro);if(!f)throw no("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,Ie(t));var n=f[5]||f[7],r=f[6],i=/ as /.test(f[0])&&f[1],h=f[9],a=S(f[2]?f[1]:n),p=i&&S(i)||a,o=h&&S(h),m=h?function(e,t){return o(d,t)}:function(e){return Pt(e)},g=function(e,t){return m(e,w(e,t))},_=S(f[2]||f[1]),b=S(f[3]||""),v=S(f[4]||""),y=S(f[8]),s={},w=r?function(e,t){return s[r]=t,s[n]=e,s}:function(e){return s[n]=e,s};function C(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function A(e){var t;if(!r&&O(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}return{trackBy:h,getTrackByValue:g,getWatchables:S(y,function(e){for(var t=[],n=A(e=e||[]),r=n.length,i=0;i<r;i++){var a=e===n?i:n[i],o=e[a],s=w(o,a),c=m(o,s);if(t.push(c),f[2]||f[1]){var l=_(d,s);t.push(l)}if(f[4]){var u=v(d,s);t.push(u)}}return t}),getOptions:function(){for(var e=[],t={},n=y(d)||[],r=A(n),i=r.length,a=0;a<i;a++){var o=n===r?a:r[a],s=n[o],c=w(s,o),l=p(d,c),u=m(l,c),f=new C(u,l,_(d,c),b(d,c),v(d,c));e.push(f),t[u]=f}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[g(e)]},getViewValueFromOption:function(e){return h?R(e.viewValue):e.viewValue}}}}}(t.ngOptions,a,e),g=C[0].createDocumentFragment(),_=function(){d?h&&o.removeAttr("selected"):o.remove()},b=function(){p.remove()};function v(e,t){var n,r,i=A.cloneNode(!1);t.appendChild(i),r=i,((n=e).element=r).disabled=n.disabled,n.label!==r.label&&(r.label=n.label,r.textContent=n.label),r.value=n.selectValue}function y(){var e=f&&s.readValue();if(f)for(var t=f.items.length-1;0<=t;t--){var n=f.items[t];_e(n.group)?Ct(n.element.parentNode):Ct(n.element)}f=m.getOptions();var r={};if(d&&a.prepend(o),f.items.forEach(function(e){var t;_e(e.group)?((t=r[e.group])||(t=T.cloneNode(!1),g.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t),v(e,t)):v(e,g)}),a[0].appendChild(g),c.$render(),!c.$isEmpty(e)){var i=s.readValue();(m.trackBy||l?ke(e,i):e===i)||(c.$setViewValue(i),c.$render())}}l?(c.$isEmpty=function(e){return!e||0===e.length},s.writeValue=function(e){f.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=f.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},s.readValue=function(){var e=a.val()||[],n=[];return fe(e,function(e){var t=f.selectValueMap[e];t&&!t.disabled&&n.push(f.getViewValueFromOption(t))}),n},m.trackBy&&e.$watchCollection(function(){if(ye(c.$viewValue))return c.$viewValue.map(function(e){return m.getTrackByValue(e)})},function(){c.$render()})):(s.writeValue=function(e){var t=f.selectValueMap[a.val()],n=f.getOptionFromViewValue(e);t&&t.element.removeAttribute("selected"),n?(a[0].value!==n.selectValue&&(b(),_(),a[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):null===e||d?(b(),d||a.prepend(o),a.val(""),h&&(o.prop("selected",!0),o.attr("selected",!0))):(_(),a.prepend(p),a.val("?"),p.prop("selected",!0),p.attr("selected",!0))},s.readValue=function(){var e=f.selectValueMap[a.val()];return e&&!e.disabled?(_(),b(),f.getViewValueFromOption(e)):null},m.trackBy&&e.$watch(function(){return m.getTrackByValue(c.$viewValue)},function(){c.$render()})),d?(o.remove(),w(o)(e),o[0].nodeType===Le?(h=!1,s.registerOption=function(e,t){""===t.val()&&(h=!0,(o=t).removeClass("ng-scope"),c.$render(),t.on("$destroy",function(){o=void 0,h=!1}))}):(o.removeClass("ng-scope"),h=!0)):o=ue(A.cloneNode(!1)),a.empty(),y(),e.$watchCollection(m.getWatchables,y)}}}}],ao=["$locale","$interpolate","$log",function(p,m,g){var _=/{}/g,b=/^when(Minus)?(.+)$/;return{link:function(i,a,o){var s,e=o.count,c=o.$attr.when&&a.attr(o.$attr.when),l=o.offset||0,u=i.$eval(c)||{},f={},t=m.startSymbol(),n=m.endSymbol(),r=t+e+"-"+l+n,d=v.noop;function h(e){a.text(e||"")}fe(o,function(e,t){var n=b.exec(t);if(n){var r=(n[1]?"-":"")+S(n[2]);u[r]=a.attr(o.$attr[t])}}),fe(u,function(e,t){f[t]=m(e.replace(_,r))}),i.$watch(e,function(e){var t=parseFloat(e),n=E(t);if(n||t in u||(t=p.pluralCat(t-l)),!(t===s||n&&E(s))){d();var r=f[t];ge(r)?(null!=e&&g.debug("ngPluralize: no rule defined for '"+t+"' in "+c),d=pe,h()):d=i.$watch(r,h),s=t}})}}}],oo=["$parse","$animate","$compile",function(c,I,l){var P="$$NG_REMOVED",M=w("ngRepeat"),$=function(e,t,n,r,i,a,o){e[n]=r,i&&(e[i]=a),e.$index=t,e.$first=0===t,e.$last=t===o-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(e,t){var C=t.ngRepeat,A=l.$$createComment("end ngRepeat",C),n=C.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!n)throw M("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",C);var r=n[1],i=n[2],S=n[3],a=n[4];if(!(n=r.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw M("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",r);var o,T,x,k,E=n[3]||n[1],D=n[2];if(S&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(S)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(S)))throw M("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",S);var s={$id:Pt};return a?o=c(a):(x=function(e,t){return Pt(t)},k=function(e){return e}),function(b,v,e,t,y){o&&(T=function(e,t,n){return D&&(s[D]=e),s[E]=t,s.$index=n,o(b,s)});var w=Oe();b.$watchCollection(i,function(e){var r,t,n,i,a,o,s,c,l,u,f,d,h,p=v[0],m=Oe();if(S&&(b[S]=e),O(e))l=e,c=T||x;else for(var g in c=T||k,l=[],e)B.call(e,g)&&"$"!==g.charAt(0)&&l.push(g);for(i=l.length,f=new Array(i),r=0;r<i;r++)if(a=e===l?r:l[r],o=e[a],s=c(a,o,r),w[s])u=w[s],delete w[s],m[s]=u,f[r]=u;else{if(m[s])throw fe(f,function(e){e&&e.scope&&(w[e.id]=e)}),M("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",C,s,o);f[r]={id:s,scope:void 0,clone:void 0},m[s]=!0}for(var _ in w){if(d=$e((u=w[_]).clone),I.leave(d),d[0].parentNode)for(r=0,t=d.length;r<t;r++)d[r][P]=!0;u.scope.$destroy()}for(r=0;r<i;r++)if(a=e===l?r:l[r],o=e[a],(u=f[r]).scope){for(n=p;(n=n.nextSibling)&&n[P];);u.clone[0]!==n&&I.move($e(u.clone),null,p),p=(h=u).clone[h.clone.length-1],$(u.scope,r,E,o,D,a,i)}else y(function(e,t){u.scope=t;var n=A.cloneNode(!1);e[e.length++]=n,I.enter(e,null,p),p=n,u.clone=e,m[u.id]=u,$(u.scope,r,E,o,D,a,i)});w=m})}}}}],so="ng-hide",co="ng-hide-animate",lo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngShow,function(e){r[e?"removeClass":"addClass"](t,so,{tempClasses:co})})}}}],uo=["$animate",function(r){return{restrict:"A",multiElement:!0,link:function(e,t,n){e.$watch(n.ngHide,function(e){r[e?"addClass":"removeClass"](t,so,{tempClasses:co})})}}}],fo=Ui(function(e,n,t){e.$watch(t.ngStyle,function(e,t){t&&e!==t&&fe(t,function(e,t){n.css(t,"")}),e&&n.css(e)},!0)}),ho=["$animate","$compile",function(u,f){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(e,t,n,i){var r=n.ngSwitch||n.on,a=[],o=[],s=[],c=[],l=function(t,n){return function(e){!1!==e&&t.splice(n,1)}};e.$watch(r,function(e){for(var t,n;s.length;)u.cancel(s.pop());for(t=0,n=c.length;t<n;++t){var r=$e(o[t].clone);c[t].$destroy(),(s[t]=u.leave(r)).done(l(s,t))}o.length=0,c.length=0,(a=i.cases["!"+e]||i.cases["?"])&&fe(a,function(i){i.transclude(function(e,t){c.push(t);var n=i.element;e[e.length++]=f.$$createComment("end ngSwitchWhen");var r={clone:e};o.push(r),u.enter(e,n.parent(),n)})})})}}}],po=Ui({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){fe(n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})})}}),mo=Ui({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),go=w("ngTransclude"),_o=["$compile",function(t){return{restrict:"EAC",terminal:!0,compile:function(e){var s=t(e.contents());return e.empty(),function(e,n,t,r,i){if(!i)throw go("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",Ie(n));t.ngTransclude===t.$attr.ngTransclude&&(t.ngTransclude="");var a=t.ngTransclude||t.ngTranscludeSlot;function o(){s(e,function(e){n.append(e)})}i(function(e,t){e.length?n.append(e):(o(),t.$destroy())},null,a),a&&!i.isSlotFilled(a)&&o()}}}}],bo=["$templateCache",function(i){return{restrict:"E",terminal:!0,compile:function(e,t){if("text/ng-template"===t.type){var n=t.id,r=e[0].text;i.put(n,r)}}}}],vo={$setViewValue:pe,$render:pe};var yo=["$element","$scope",function(n,e){var o=this,i=new Mt;o.ngModelCtrl=vo,o.unknownOption=ue(j.document.createElement("option")),o.renderUnknownOption=function(e){var t="? "+Pt(e)+" ?";o.unknownOption.val(t),n.prepend(o.unknownOption),n.val(t)},e.$on("$destroy",function(){o.renderUnknownOption=pe}),o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.readValue=function(){return o.removeUnknownOption(),n.val()},o.writeValue=function(e){o.hasOption(e)?(o.removeUnknownOption(),n.val(e),""===e&&o.emptyOption.prop("selected",!0)):null==e&&o.emptyOption?(o.removeUnknownOption(),n.val("")):o.renderUnknownOption(e)},o.addOption=function(e,t){if(t[0].nodeType!==Le){ce(e,'"option value"'),""===e&&(o.emptyOption=t);var n,r=i.get(e)||0;i.put(e,r+1),o.ngModelCtrl.$render(),(n=t)[0].hasAttribute("selected")&&(n[0].selected=!0)}},o.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(o.emptyOption=void 0)):i.put(e,t-1))},o.hasOption=function(e){return!!i.get(e)},o.registerOption=function(e,n,r,t,i){var a;t?r.$observe("value",function(e){_e(a)&&o.removeOption(a),a=e,o.addOption(e,n)}):i?e.$watch(i,function(e,t){r.$set("value",e),t!==e&&o.removeOption(t),o.addOption(e,n)}):o.addOption(r.value,n);n.on("$destroy",function(){o.removeOption(r.value),o.ngModelCtrl.$render()})}}],wo=function(){return{restrict:"E",require:["select","?ngModel"],controller:yo,priority:1,link:{pre:function(e,n,t,r){var i=r[1];if(!i)return;var a=r[0];if(a.ngModelCtrl=i,n.on("change",function(){e.$apply(function(){i.$setViewValue(a.readValue())})}),t.multiple){a.readValue=function(){var t=[];return fe(n.find("option"),function(e){e.selected&&t.push(e.value)}),t},a.writeValue=function(e){var t=new Mt(e);fe(n.find("option"),function(e){e.selected=_e(t.get(e.value))})};var o,s=NaN;e.$watch(function(){s!==i.$viewValue||ke(o,i.$viewValue)||(o=je(i.$viewValue),i.$render()),s=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}},post:function(e,t,n,r){var i=r[1];if(!i)return;var a=r[0];i.$render=function(){a.writeValue(i.$viewValue)}}}}},Co=["$interpolate",function(n){return{restrict:"E",priority:100,compile:function(e,t){var o,s;return _e(t.ngValue)?o=!0:_e(t.value)?o=n(t.value,!0):(s=n(e.text(),!0))||t.$set("value",e.text()),function(e,t,n){var r="$selectController",i=t.parent(),a=i.data(r)||i.parent().data(r);a&&a.registerOption(e,t,n,o,s)}}}}],Ao=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},So=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i,a=n.ngPattern||n.pattern;n.$observe("pattern",function(e){if(ve(e)&&0<e.length&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw w("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Ie(t));i=e||void 0,r.$validate()}),r.$validators.pattern=function(e,t){return r.$isEmpty(t)||ge(i)||i.test(t)}}}}},To=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=m(e);i=E(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},xo=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=m(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};j.angular.bootstrap?j.console&&console.log("WARNING: Tried to load angular more than once."):(!function(){var i;if(!oe){var e=L();(o=ge(e)?j.jQuery:e?j[e]:void 0)&&o.fn.on?(de((ue=o).fn,{scope:At.scope,isolateScope:At.isolateScope,controller:At.controller,injector:At.injector,inheritedData:At.inheritedData}),i=o.cleanData,o.cleanData=function(e){for(var t,n,r=0;null!=(n=e[r]);r++)(t=o._data(n,"events"))&&t.$destroy&&o(n).triggerHandler("$destroy");i(e)}):ue=ct,v.element=ue,oe=!0}}(),de(v,{bootstrap:ne,copy:R,extend:de,merge:n,equals:ke,element:ue,forEach:fe,injector:Ut,noop:pe,bind:De,toJson:G,fromJson:W,identity:me,isUndefined:ge,isDefined:_e,isString:ve,isFunction:we,isObject:be,isNumber:C,isElement:$,isArray:ye,version:Ue,isDate:A,lowercase:S,uppercase:u,callbacks:{$$counter:0},getTestability:ie,$$minErr:w,$$csp:N,reloadWithDebugInfo:re}),(g=function(e){var u=w("$injector"),n=w("ng");function t(e,t,n){return e[t]||(e[t]=n())}var r=t(e,"angular",Object);return r.$$minErr=r.$$minErr||w,t(r,"module",function(){var e={};return function(s,c,l){return function(e,t){if("hasOwnProperty"===e)throw n("badname","hasOwnProperty is not a valid {0} name",t)}(s,"module"),c&&e.hasOwnProperty(s)&&(e[s]=null),t(e,s,function(){if(!c)throw u("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",s);var i=[],e=[],t=[],n=r("$injector","invoke","push",e),a={_invokeQueue:i,_configBlocks:e,_runBlocks:t,requires:c,name:s,provider:o("$provide","provider"),factory:o("$provide","factory"),service:o("$provide","service"),value:r("$provide","value"),constant:r("$provide","constant","unshift"),decorator:o("$provide","decorator"),animation:o("$animateProvider","register"),filter:o("$filterProvider","register"),controller:o("$controllerProvider","register"),directive:o("$compileProvider","directive"),component:o("$compileProvider","component"),config:n,run:function(e){return t.push(e),this}};return l&&n(l),a;function r(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),a}}function o(n,r){return function(e,t){return t&&we(t)&&(t.$$moduleName=s),i.push([n,r,arguments]),a}}})}})}(j))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Zr}),e.provider("$compile",cn).directive({a:Hi,input:va,textarea:va,form:Ki,script:bo,select:wo,option:Co,ngBind:Ca,ngBindHtml:Sa,ngBindTemplate:Aa,ngClass:ka,ngClassEven:Da,ngClassOdd:Ea,ngCloak:Ia,ngController:Pa,ngForm:Qi,ngHide:uo,ngIf:Oa,ngInclude:Ra,ngInit:La,ngNonBindable:to,ngPluralize:ao,ngRepeat:oo,ngShow:lo,ngStyle:fo,ngSwitch:ho,ngSwitchWhen:po,ngSwitchDefault:mo,ngOptions:io,ngTransclude:_o,ngModel:Qa,ngList:Fa,ngChange:Ta,pattern:So,ngPattern:So,required:Ao,ngRequired:Ao,minlength:xo,ngMinlength:xo,maxlength:To,ngMaxlength:To,ngValue:wa,ngModelOptions:Za}).directive({ngInclude:Na}).directive(Wi).directive(Ma),e.provider({$anchorScroll:Ht,$animate:Xt,$animateCss:en,$$animateJs:Kt,$$animateQueue:Qt,$$AnimateRunner:Jt,$$animateAsyncRun:Zt,$browser:nn,$cacheFactory:rn,$controller:gn,$document:_n,$exceptionHandler:bn,$filter:gi,$$forceReflow:vn,$interpolate:Gn,$interval:jn,$http:Rn,$httpParamSerializer:En,$httpParamSerializerJQLike:Dn,$httpBackend:Ln,$xhrFactory:Nn,$jsonpCallbacks:Bn,$location:ar,$log:or,$parse:zr,$rootScope:Xr,$q:Vr,$$q:Yr,$sce:ri,$sceDelegate:ni,$sniffer:ii,$templateCache:an,$templateRequest:oi,$$testability:si,$timeout:ci,$window:hi,$$rAF:Qr,$$jqLite:It,$$HashMap:$t,$$cookieReader:mi})}]),v.module("ngLocale",[],["$provide",function(e){var i="one",a="other";e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n=0|e,r=function(e,t){var n,r,i=t;void 0===i&&(i=Math.min((n=e,-1==(r=(n+="").indexOf("."))?0:n.length-r-1),3));var a=Math.pow(10,i);return{v:i,f:(e*a|0)%a}}(e,t);return 1==n&&0==r.v?i:a}})}]),ue(j.document).ready(function(){te(j.document,ne)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),function(l,e){"use strict";var oe,se,ce,le,Y=1,ue="-add",fe="-remove",de="ng-",A="ng-animate",K="$$ngAnimateChildren";se=void 0===l.ontransitionend&&void 0!==l.onwebkittransitionend?("-webkit-",oe="WebkitTransition","webkitTransitionEnd transitionend"):(oe="transition","transitionend"),le=void 0===l.onanimationend&&void 0!==l.onwebkitanimationend?("-webkit-",ce="WebkitAnimation","webkitAnimationEnd animationend"):(ce="animation","animationend");var i="Duration",he="TimingFunction",a="PlayState",n=ce+"Delay",pe=ce+i,r=oe+"Delay",t=oe+i,o=e.$$minErr("ng");function u(e,t,n){if(!e)throw o("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function S(e,t){return e||t?e?t?($e(e)&&(e=e.join(" ")),$e(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function me(e,n,r){var i="";return e=$e(e)?e:e&&te(e)&&e.length?e.split(/\s+/):[],Me(e,function(e,t){e&&0<e.length&&(i+=0<t?" ":"",i+=r?n+e:e+n)}),i}function Q(e){if(!e[0])return e;for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType==Y)return n}}function T(c){return function(e,t){var n,r,i,a,o,s;t.addClass&&(n=c,r=e,i=t.addClass,Me(r,function(e){n.addClass(e,i)}),t.addClass=null),t.removeClass&&(a=c,o=e,s=t.removeClass,Me(o,function(e){a.removeClass(e,s)}),t.removeClass=null)}}function ge(e){if(!(e=e||{}).$$prepared){var t=e.domOperation||Oe;e.domOperation=function(){e.$$domOperationFired=!0,t(),t=Oe},e.$$prepared=!0}return e}function _e(e,t){be(e,t),ve(e,t)}function be(e,t){t.from&&(e.css(t.from),t.from=null)}function ve(e,t){t.to&&(e.css(t.to),t.to=null)}function X(e,t,n){var r=t.options||{},i=n.options||{},a=(r.addClass||"")+" "+(i.addClass||""),o=(r.removeClass||"")+" "+(i.removeClass||""),s=function(i,e,t){var n={};i=r(i),e=r(e),Me(e,function(e,t){n[t]=1}),t=r(t),Me(t,function(e,t){n[t]=1===n[t]?null:-1});var a={addClass:"",removeClass:""};function r(e){te(e)&&(e=e.split(" "));var t={};return Me(e,function(e){e.length&&(t[e]=!0)}),t}return Me(n,function(e,t){var n,r;1===e?(n="addClass",r=!i[t]||i[t+fe]):-1===e&&(n="removeClass",r=i[t]||i[t+ue]),r&&(a[n].length&&(a[n]+=" "),a[n]+=t)}),a}(e.attr("class"),a,o);i.preparationClasses&&(r.preparationClasses=Z(i.preparationClasses,r.preparationClasses),delete i.preparationClasses);var c=r.domOperation!==Oe?r.domOperation:null;return d(r,i),c&&(r.domOperation=c),s.addClass?r.addClass=s.addClass:r.addClass=null,s.removeClass?r.removeClass=s.removeClass:r.removeClass=null,t.addClass=r.addClass,t.removeClass=r.removeClass,r}function ye(e){return e instanceof re?e[0]:e}function we(e,t){var n=t?"-"+t+"s":"";return Ae(e,[r,n]),[r,n]}function Ce(e,t){var n=t?"paused":"",r=ce+a;return Ae(e,[r,n]),[r,n]}function Ae(e,t){var n=t[0],r=t[1];e.style[n]=r}function Z(e,t){return e?t?e+" "+t:e:t}var s=["$interpolate",function(a){return{link:function(e,t,n){var r=n.ngAnimateChildren;function i(e){e="on"===e||"true"===e,t.data(K,e)}te(r)&&0===r.length?t.data(K,!0):(i(a(r)(e)),n.$observe("ngAnimateChildren",i))}}}],Se="$$animateCss",f={transitionDuration:t,transitionDelay:r,transitionProperty:oe+"Property",animationDuration:pe,animationDelay:n,animationIterationCount:ce+"IterationCount"},Te={transitionDuration:t,transitionDelay:r,animationDuration:pe,animationDelay:n};function xe(e,t){return[t?n:r,e+"s"]}function ke(e,t,n){var o=Object.create(null),s=e.getComputedStyle(t)||{};return Me(n,function(e,t){var n,r,i=s[e];if(i){var a=i.charAt(0);("-"===a||"+"===a||0<=a)&&(n=0,r=i.split(/\s*,\s*/),Me(r,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,n=n?Math.max(e,n):e}),i=n),0===i&&(i=null),o[t]=i}}),o}function Ee(e){return 0===e||null!=e}function De(e,t){var n=oe,r=e+"s";return t?n+=i:r+=" linear all",[n,r]}function c(){var n=Object.create(null);return{flush:function(){n=Object.create(null)},count:function(e){var t=n[e];return t?t.total:0},get:function(e){var t=n[e];return t&&t.value},put:function(e,t){n[e]?n[e].total++:n[e]={total:1,value:t}}}}function Ie(t,n,e){Me(e,function(e){t[e]=J(t[e])?t[e]:n.style.getPropertyValue(e)})}var Pe,d,Me,$e,J,h,w,ee,te,ne,re,Oe,p=["$animateProvider",function(e){var ie=c(),ae=c();this.$get=["$window","$$jqLite","$$AnimateRunner","$timeout","$$forceReflow","$sniffer","$$rAFScheduler","$$animateQueue",function(Y,K,Q,X,n,Z,t,J){var ee=T(K),i=0;function te(e,t){var n="$$ngAnimateParentKey",r=e.parentNode;return(r[n]||(r[n]=++i))+"-"+e.getAttribute("class")+"-"+t}var r=[];function ne(e){r.push(e),t.waitUntilQuiet(function(){ie.flush(),ae.flush();for(var e=n(),t=0;t<r.length;t++)r[t](e);r.length=0})}function re(e,t,n){var r,i,a,o,s=(r=e,i=n,a=f,(o=ie.get(i))||"infinite"===(o=ke(Y,r,a)).animationIterationCount&&(o.animationIterationCount=1),ie.put(i,o),o),c=s.animationDelay,l=s.transitionDelay;return s.maxDelay=c&&l?Math.max(c,l):c||l,s.maxDuration=Math.max(s.animationDuration*s.animationIterationCount,s.transitionDuration),s}return function(l,e){var u=e||{};u.$$prepared||(u=ge(Pe(u)));var f={},d=ye(l);if(!d||!d.parentNode||!J.enabled())return q();var t,n,h,a,o,r,i,p,m,g,_,b,v=[],s=l.attr("class"),c=(n={},(t=u)&&(t.to||t.from)&&(n.to=t.to,n.from=t.from),n),y=[];if(0===u.duration||!Z.animations&&!Z.transitions)return q();var w=u.event&&$e(u.event)?u.event.join(" "):u.event,C="",A="";w&&u.structural?C=me(w,de,!0):w&&(C=w),u.addClass&&(A+=me(u.addClass,ue)),u.removeClass&&(A.length&&(A+=" "),A+=me(u.removeClass,fe)),u.applyClassesEarly&&A.length&&ee(l,u);var S,T,x,k=[C,A].join(" ").trim(),E=s+" "+k,D=me(k,"-active"),I=c.to&&0<Object.keys(c.to).length;if(!(0<(u.keyframeStyle||"").length)&&!I&&!k)return q();if(0<u.stagger){var P=parseFloat(u.stagger);T={transitionDelay:P,animationDelay:P,transitionDuration:0,animationDuration:0}}else S=te(d,E),T=function(e,t,n,r){var i;if(0<ie.count(n)&&!(i=ae.get(n))){var a=me(t,"-stagger");K.addClass(e,a),(i=ke(Y,e,r)).animationDuration=Math.max(i.animationDuration,0),i.transitionDuration=Math.max(i.transitionDuration,0),K.removeClass(e,a),ae.put(n,i)}return i||{}}(d,k,S,Te);if(u.$$skipPreparationClasses||K.addClass(l,k),u.transitionStyle){var M=[oe,u.transitionStyle];Ae(d,M),v.push(M)}if(0<=u.duration){x=0<d.style[oe].length;var $=De(u.duration,x);Ae(d,$),v.push($)}if(u.keyframeStyle){var O=[ce,u.keyframeStyle];Ae(d,O),v.push(O)}var R=T?0<=u.staggerIndex?u.staggerIndex:ie.count(S):0,N=0===R;N&&!u.skipBlocking&&we(d,9999);var L=re(d,0,S),F=L.maxDelay;p=Math.max(F,0),g=L.maxDuration;var G,j={};if(j.hasTransitions=0<L.transitionDuration,j.hasAnimations=0<L.animationDuration,j.hasTransitionAll=j.hasTransitions&&"all"==L.transitionProperty,j.applyTransitionDuration=I&&(j.hasTransitions&&!j.hasTransitionAll||j.hasAnimations&&!j.hasTransitions),j.applyAnimationDuration=u.duration&&j.hasAnimations,j.applyTransitionDelay=Ee(u.delay)&&(j.applyTransitionDuration||j.hasTransitions),j.applyAnimationDelay=Ee(u.delay)&&j.hasAnimations,j.recalculateTimingStyles=0<A.length,(j.applyTransitionDuration||j.applyAnimationDuration)&&(g=u.duration?parseFloat(u.duration):g,j.applyTransitionDuration&&(j.hasTransitions=!0,L.transitionDuration=g,x=0<d.style[oe+"Property"].length,v.push(De(g,x))),j.applyAnimationDuration&&(j.hasAnimations=!0,L.animationDuration=g,v.push([pe,g+"s"]))),0===g&&!j.recalculateTimingStyles)return q();null!=u.delay&&("boolean"!=typeof u.delay&&(G=parseFloat(u.delay),p=Math.max(G,0)),j.applyTransitionDelay&&v.push(xe(G)),j.applyAnimationDelay&&v.push(xe(G,!0)));return null==u.duration&&0<L.transitionDuration&&(j.recalculateTimingStyles=j.recalculateTimingStyles||N),m=1e3*p,_=1e3*g,u.skipBlocking||(j.blockTransition=0<L.transitionDuration,j.blockKeyframeAnimation=0<L.animationDuration&&0<T.animationDelay&&0===T.animationDuration),u.from&&(u.cleanupStyles&&Ie(f,d,Object.keys(u.from)),be(l,u)),j.blockTransition||j.blockKeyframeAnimation?W(g):u.skipBlocking||we(d,!1),{$$willAnimate:!0,end:B,start:function(){if(!h)return r=new Q(i={end:B,cancel:U,resume:null,pause:null}),ne(V),r}};function B(){H()}function U(){H(!0)}function H(e){if(!(h||o&&a)){a=!(h=!0),u.$$skipPreparationClasses||K.removeClass(l,k),K.removeClass(l,D),Ce(d,!1),we(d,!1),Me(v,function(e){d.style[e[0]]=""}),ee(l,u),_e(l,u),Object.keys(f).length&&Me(f,function(e,t){e?d.style.setProperty(t,e):d.style.removeProperty(t)}),u.onDone&&u.onDone(),y&&y.length&&l.off(y.join(" "),z);var t=l.data(Se);t&&(X.cancel(t[0].timer),l.removeData(Se)),r&&r.complete(!e)}}function W(e){j.blockTransition&&we(d,e),j.blockKeyframeAnimation&&Ce(d,!!e)}function q(){return r=new Q({end:B,cancel:U}),ne(Oe),H(),{$$willAnimate:!1,start:function(){return r},end:B}}function z(e){e.stopPropagation();var t=e.originalEvent||e,n=t.$manualTimeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(3));Math.max(n-b,0)>=m&&g<=r&&(o=!0,H())}function V(){if(!h)if(d.parentNode){var e=function(e){if(o)a&&e&&(a=!1,H());else if(a=!e,L.animationDuration){var t=Ce(d,a);a?v.push(t):(r=t,i=(n=v).indexOf(r),0<=r&&n.splice(i,1))}var n,r,i},t=0<R&&(L.transitionDuration&&0===T.transitionDuration||L.animationDuration&&0===T.animationDuration)&&Math.max(T.animationDelay,T.transitionDelay);t?X(n,Math.floor(t*R*1e3),!1):n(),i.resume=function(){e(!0)},i.pause=function(){e(!1)}}else H();function n(){if(!h){if(W(!1),Me(v,function(e){var t=e[0],n=e[1];d.style[t]=n}),ee(l,u),K.addClass(l,D),j.recalculateTimingStyles){if(E=d.className+" "+k,S=te(d,E),L=re(d,0,S),F=L.maxDelay,p=Math.max(F,0),0===(g=L.maxDuration))return void H();j.hasTransitions=0<L.transitionDuration,j.hasAnimations=0<L.animationDuration}if(j.applyAnimationDelay&&(F="boolean"!=typeof u.delay&&Ee(u.delay)?parseFloat(u.delay):F,p=Math.max(F,0),L.animationDelay=F,G=xe(F,!0),v.push(G),d.style[G[0]]=G[1]),m=1e3*p,_=1e3*g,u.easing){var e,t=u.easing;j.hasTransitions&&(e=oe+he,v.push([e,t]),d.style[e]=t),j.hasAnimations&&(e=ce+he,v.push([e,t]),d.style[e]=t)}L.transitionDuration&&y.push(se),L.animationDuration&&y.push(le),b=Date.now();var n=m+1.5*_,r=b+n,i=l.data(Se)||[],a=!0;if(i.length){var o=i[0];(a=r>o.expectedEndTime)?X.cancel(o.timer):i.push(H)}if(a){var s=X(c,n,!1);i[0]={timer:s,expectedEndTime:r},i.push(H),l.data(Se,i)}y.length&&l.on(y.join(" "),z),u.to&&(u.cleanupStyles&&Ie(f,d,Object.keys(u.to)),ve(l,u))}}function c(){var e=l.data(Se);if(e){for(var t=1;t<e.length;t++)e[t]();l.removeData(Se)}}}}}]}],m=["$$animationProvider",function(e){e.drivers.push("$$animateCssDriver");var v="ng-animate-shim",y="ng-anchor-out";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(h,e,p,t,n,r,i){if(!n.animations&&!n.transitions)return Oe;var a,m=i[0].body,o=ye(t),g=re((a=o).parentNode&&11===a.parentNode.nodeType||m.contains(o)?o:m);T(r);return function(e){return e.from&&e.to?function(e,t,n,r){var i=s(e),a=s(t),o=[];if(Me(r,function(e){var t=function(e,t,i){var a=re(ye(t).cloneNode(!0)),o=_(u(a));t.addClass(v),i.addClass(v),a.addClass("ng-anchor"),g.append(a);var r,n,s=(n=h(a,{addClass:y,delay:!0,from:l(t)})).$$willAnimate?n:null;if(!s&&!(r=f()))return d();var c=s||r;return{start:function(){var e,t=c.start();return t.done(function(){if(t=null,!r&&(r=f()))return(t=r.start()).done(function(){t=null,d(),e.complete()}),t;d(),e.complete()}),e=new p({end:n,cancel:n});function n(){t&&t.end()}}};function l(e){var n={},r=ye(e).getBoundingClientRect();return Me(["width","height","top","left"],function(e){var t=r[e];switch(e){case"top":t+=m.scrollTop;break;case"left":t+=m.scrollLeft}n[e]=Math.floor(t)+"px"}),n}function u(e){return e.attr("class")||""}function f(){var e=_(u(i)),t=b(e,o),n=b(o,e),r=h(a,{to:l(i),addClass:"ng-anchor-in "+t,removeClass:y+" "+n,delay:!0});return r.$$willAnimate?r:null}function d(){a.remove(),t.removeClass(v),i.removeClass(v)}}(0,e.out,e.in);t&&o.push(t)}),!i&&!a&&0===o.length)return;return{start:function(){var t=[];i&&t.push(i.start()),a&&t.push(a.start()),Me(o,function(e){t.push(e.start())});var n=new p({end:e,cancel:e});return p.all(t,function(e){n.complete(e)}),n;function e(){Me(t,function(e){e.end()})}}}}(e.from,e.to,e.classes,e.anchors):s(e)};function _(e){return e.replace(/\bng-\S+\b/g,"")}function b(e,t){return te(e)&&(e=e.split(" ")),te(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function s(e){var t=e.element,n=e.options||{};e.structural&&(n.event=e.event,n.structural=!0,n.applyClassesEarly=!0,"leave"===e.event&&(n.onDone=n.domOperation)),n.preparationClasses&&(n.event=Z(n.event,n.preparationClasses));var r=h(t,n);return r.$$willAnimate?r:null}}]}],g=["$animateProvider",function(y){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(_,b,e){var v=T(e);return function(e,t,n,r){var i=!1;3===arguments.length&&ee(n)&&(r=n,n=null),r=ge(r),n||(n=e.attr("class")||"",r.addClass&&(n+=" "+r.addClass),r.removeClass&&(n+=" "+r.removeClass));var a,o,s,c,l,u=r.addClass,f=r.removeClass,d=function(e){e=$e(e)?e:e.split(" ");for(var t=[],n={},r=0;r<e.length;r++){var i=e[r],a=y.$$registeredAnimations[i];a&&!n[i]&&(t.push(_.get(a)),n[i]=!0)}return t}(n);d.length&&(s="leave"==t?(c="leave","afterLeave"):(c="before"+t.charAt(0).toUpperCase()+t.substr(1),t),"enter"!==t&&"move"!==t&&(a=g(e,t,r,d,c)),o=g(e,t,r,d,s));if(a||o)return{$$willAnimate:!0,end:function(){return l?l.end():(p(),(l=new b).complete(!0)),l},start:function(){if(l)return l;var t;l=new b;var e=[];return a&&e.push(function(e){t=a(e)}),e.length?e.push(function(e){h(),e(!0)}):h(),o&&e.push(function(e){t=o(e)}),l.setHost({end:function(){r()},cancel:function(){r(!0)}}),b.chain(e,n),l;function n(e){p(),l.complete(e)}function r(e){i||((t||Oe)(e),n(e))}}};function h(){r.domOperation(),v(e,r)}function p(){i=!0,h(),_e(e,r)}function m(o,s,c,e,t){var n=[];return Me(e,function(e){var a=e[t];a&&n.push(function(){var t,n,r=!1,i=function(e){r||(r=!0,(n||Oe)(e),t.complete(!e))};return t=new b({end:function(){i()},cancel:function(){i(!0)}}),n=function(e,t,n,r,i){var a;switch(n){case"animate":a=[t,r.from,r.to,i];break;case"setClass":a=[t,u,f,i];break;case"addClass":a=[t,u,i];break;case"removeClass":a=[t,f,i];break;default:a=[t,i]}a.push(r);var o=e.apply(e,a);if(o)if(w(o.start)&&(o=o.start()),o instanceof b)o.done(i);else if(w(o))return o;return Oe}(a,o,s,c,function(e){i(!1===e)}),t})}),n}function g(e,t,n,r,i){var a,o,s=m(e,t,n,r,i);0===s.length&&("beforeSetClass"===i?(a=m(e,"removeClass",n,r,"beforeRemoveClass"),o=m(e,"addClass",n,r,"beforeAddClass")):"setClass"===i&&(a=m(e,"removeClass",n,r,"removeClass"),o=m(e,"addClass",n,r,"addClass")),a&&(s=s.concat(a)),o&&(s=s.concat(o)));if(0!==s.length)return function(e){var n=[];return s.length&&Me(s,function(e){n.push(e())}),n.length?b.all(n,e):e(),function(t){Me(n,function(e){t?e.cancel():e.end()})}}}}}]}],_=["$$animationProvider",function(e){e.drivers.push("$$animateJsDriver"),this.$get=["$$animateJs","$$AnimateRunner",function(a,o){return function(e){if(e.from&&e.to){var r=t(e.from),i=t(e.to);if(!r&&!i)return;return{start:function(){var e=[];r&&e.push(r.start()),i&&e.push(i.start()),o.all(e,function(e){t.complete(e)});var t=new o({end:n(),cancel:n()});return t;function n(){return function(){Me(e,function(e){e.end()})}}}}}return t(e)};function t(e){var t=e.element,n=e.event,r=e.options,i=e.classes;return a(t,n,i,r)}}]}],ie="data-ng-animate",ae="$ngAnimatePin",b=["$animateProvider",function(c){var r=" ",i=this.rules={skip:[],cancel:[],join:[]};function s(e,t){if(e&&t){var n=function(e){if(!e)return null;var t=e.split(r),n=Object.create(null);return Me(t,function(e){n[e]=!0}),n}(t);return e.split(r).some(function(e){return n[e]})}}function z(e,t,n,r){return i[e].some(function(e){return e(t,n,r)})}function V(e,t){var n=0<(e.addClass||"").length,r=0<(e.removeClass||"").length;return t?n&&r:n||r}i.join.push(function(e,t,n){return!t.structural&&V(t)}),i.skip.push(function(e,t,n){return!t.structural&&!V(t)}),i.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),i.skip.push(function(e,t,n){return n.structural&&2===n.state&&!t.structural}),i.cancel.push(function(e,t,n){return n.structural&&t.structural}),i.cancel.push(function(e,t,n){return 2===n.state&&t.structural}),i.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,o=n.removeClass;return!(ne(r)&&ne(i)||ne(a)&&ne(o))&&(s(r,o)||s(i,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(E,D,I,P,e,M,$,t,n,r){var O=new e,R=new e,N=null;var i=D.$watch(function(){return 0===t.totalPendingRequests},function(e){e&&(i(),D.$$postDigest(function(){D.$$postDigest(function(){null===N&&(N=!0)})}))}),L=Object.create(null),a=c.classNameFilter(),F=a?function(e){return a.test(e)}:function(){return!0},G=T(n);function j(e,t){return X(e,t,{})}var B=l.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))};function o(e,t,n){var r=Q(t);return e.filter(function(e){return!(e.node===r&&(!n||e.callback===n))})}function U(e,t){"close"!==e||t[0].parentNode||s.off(t)}var s={on:function(e,t,n){var r=Q(t);L[e]=L[e]||[],L[e].push({node:r,callback:n}),re(t).on("$destroy",function(){O.get(r)||s.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||te(e)){var r=L[e];r&&(L[e]=1===arguments.length?null:o(r,t,n))}else for(var i in t=e,L)L[i]=o(L[i],t)},pin:function(e,t){u(h(e),"element","not an element"),u(h(t),"parentElement","not an element"),e.data(ae,t)},push:function(e,t,n,r){return(n=n||{}).domOperation=r,function(u,i,e){var a,f,o=Pe(e);(u=function(e){if(e instanceof re)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===Y)return e;break;default:return re(Q(e))}if(e.nodeType===Y)return re(e)}(u))&&(a=ye(u),f=u.parent());o=ge(o);var s=new $,t=(n=!1,function(e){n?e():D.$$postDigest(function(){n=!0,e()})});var n;$e(o.addClass)&&(o.addClass=o.addClass.join(" "));o.addClass&&!te(o.addClass)&&(o.addClass=null);$e(o.removeClass)&&(o.removeClass=o.removeClass.join(" "));o.removeClass&&!te(o.removeClass)&&(o.removeClass=null);o.from&&!ee(o.from)&&(o.from=null);o.to&&!ee(o.to)&&(o.to=null);if(!a)return k(),s;var r=[a.className,o.addClass,o.removeClass].join(" ");if(!F(r))return k(),s;var c=0<=["enter","move","leave"].indexOf(i),l=P[0].hidden,d=!N||l||R.get(a),h=!d&&O.get(a)||{},p=!!h.state;d||p&&1==h.state||(d=!function(e,t,n){var r,i=re(P[0].body),a=W(e,i)||"HTML"===e[0].nodeName,o=W(e,I),s=!1,c=R.get(ye(e)),l=re.data(e[0],ae);l&&(t=l);t=ye(t);for(;t&&(o||(o=W(t,I)),t.nodeType===Y);){var u=O.get(t)||{};if(!s){var f=R.get(t);if(!0===f&&!1!==c){c=!0;break}!1===f&&(c=!1),s=u.structural}if(ne(r)||!0===r){var d=re.data(t,K);J(d)&&(r=d)}if(s&&!1===r)break;if(a||(a=W(t,i)),a&&o)break;t=o||!(l=re.data(t,ae))?t.parentNode:ye(l)}return(!s||r)&&!0!==c&&o&&a}(u,f));if(d)return l&&x(s,i,"start"),k(),l&&x(s,i,"close"),s;c&&(m=ye(u).querySelectorAll("["+ie+"]"),Me(m,function(e){var t=parseInt(e.getAttribute(ie)),n=O.get(e);if(n)switch(t){case 2:n.runner.end();case 1:O.remove(e)}}));var m;var g={structural:c,element:u,event:i,addClass:o.addClass,removeClass:o.removeClass,close:k,options:o,runner:s};if(p){var _=z("skip",u,g,h);if(_)return 2===h.state?(k(),s):(X(u,h,g),h.runner);var b=z("cancel",u,g,h);if(b)if(2===h.state)h.runner.end();else{if(!h.structural)return X(u,h,g),h.runner;h.close()}else{var v=z("join",u,g,h);if(v){if(2!==h.state)return y=u,C=o,A="",(w=c?i:null)&&(A=me(w,de,!0)),C.addClass&&(A=Z(A,me(C.addClass,ue))),C.removeClass&&(A=Z(A,me(C.removeClass,fe))),A.length&&(C.preparationClasses=A,y.addClass(A)),i=g.event=h.event,o=X(u,h,g),h.runner;j(u,g)}}}else j(u,g);var y,w,C,A;var S=g.structural;S||(S="animate"===g.event&&0<Object.keys(g.options.to||{}).length||V(g));if(!S)return k(),H(u),s;var T=(h.counter||0)+1;return g.counter=T,q(u,1,g),D.$$postDigest(function(){var e=O.get(a),t=!e;e=e||{};var n=0<(u.parent()||[]).length&&("animate"===e.event||e.structural||V(e));if(t||e.counter!==T||!n)return t&&(G(u,o),_e(u,o)),(t||c&&e.event!==i)&&(o.domOperation(),s.end()),void(n||H(u));i=!e.structural&&V(e,!0)?"setClass":e.event,q(u,2);var r=M(u,i,e.options);s.setHost(r),x(s,i,"start",{}),r.done(function(e){k(!e);var t=O.get(a);t&&t.counter===T&&H(ye(u)),x(s,i,"close",{})})}),s;function x(e,s,c,l){t(function(){var e,t,n,r,i,a,o=(e=f,t=s,n=ye(u),r=ye(e),i=[],(a=L[t])&&Me(a,function(e){B.call(e.node,n)?i.push(e.callback):"leave"===t&&B.call(e.node,r)&&i.push(e.callback)}),i);o.length?E(function(){Me(o,function(e){e(u,c,l)}),U(c,u)}):U(c,u)}),e.progress(s,c,l)}function k(e){var t,n;t=u,(n=o).preparationClasses&&(t.removeClass(n.preparationClasses),n.preparationClasses=null),n.activeClasses&&(t.removeClass(n.activeClasses),n.activeClasses=null),G(u,o),_e(u,o),o.domOperation(),s.complete(!e)}}(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!N;else if(h(e)){var r=ye(e);1===n?t=!R.get(r):R.put(r,!t)}else t=N=!!e;return t}};return s;function H(e){var t=ye(e);t.removeAttribute(ie),O.remove(t)}function W(e,t){return ye(e)===ye(t)}function q(e,t,n){(n=n||{}).state=t;var r=ye(e);r.setAttribute(ie,t);var i=O.get(r),a=i?d(i,n):n;O.put(r,a)}}]}],v=["$animateProvider",function(e){var v="ng-animate-ref",y=this.drivers=[],w="$$animationRunner";function C(e){return e.data(w)}this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(f,d,h,p,m,g){var _=[],b=T(f);return function(t,n,r){r=ge(r);var e,i=0<=["enter","move","leave"].indexOf(n),a=new p({end:function(){u()},cancel:function(){u(!0)}});if(!y.length)return u(),a;e=a,t.data(w,e);var o,s=S(t.attr("class"),S(r.addClass,r.removeClass)),c=r.tempClasses;return c&&(s+=" "+c,r.tempClasses=null),i&&(o="ng-"+n+"-prepare",f.addClass(t,o)),_.push({element:t,classes:s,event:n,structural:i,options:r,beforeStart:function(){t.addClass(A),c&&f.addClass(t,c);o&&(f.removeClass(t,o),o=null)},close:u}),t.on("$destroy",l),1<_.length||d.$$postDigest(function(){var t=[];Me(_,function(e){C(e.element)?t.push(e):e.close()}),_.length=0;var e=function(u){var f=[],d={};Me(u,function(e,n){var t,r,i,a=e.element,o=ye(a),s=e.event,c=0<=["enter","move"].indexOf(s),l=e.structural?(r=(t=o).hasAttribute(v)?[t]:t.querySelectorAll("[ng-animate-ref]"),i=[],Me(r,function(e){var t=e.getAttribute(v);t&&t.length&&i.push(e)}),i):[];if(l.length){var u=c?"to":"from";Me(l,function(e){var t=e.getAttribute(v);d[t]=d[t]||{},d[t][u]={animationID:n,element:re(e)}})}else f.push(e)});var h={},p={};return Me(d,function(e,t){var n=e.from,r=e.to;if(n&&r){var i=u[n.animationID],a=u[r.animationID],o=n.animationID.toString();if(!p[o]){var s=p[o]={structural:!0,beforeStart:function(){i.beforeStart(),a.beforeStart()},close:function(){i.close(),a.close()},classes:function(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r<e.length;r++){var i=e[r];if("ng-"!==i.substring(0,3))for(var a=0;a<t.length;a++)if(i===t[a]){n.push(i);break}}return n.join(" ")}(i.classes,a.classes),from:i,to:a,anchors:[]};s.classes.length?f.push(s):(f.push(i),f.push(a))}p[o].anchors.push({out:n.element,in:r.element})}else{var c=n?n.animationID:r.animationID,l=c.toString();h[l]||(h[l]=!0,f.push(u[c]))}}),f}(t),n=[];Me(e,function(i){n.push({domNode:ye(i.from?i.from.element:i.element),fn:function(){i.beforeStart();var e,t=i.close;if(C(i.anchors?i.from.element||i.to.element:i.element)){var n=function(e){for(var t=y.length-1;0<=t;t--){var n=y[t],r=h.get(n),i=r(e);if(i)return i}}(i);n&&(e=n.start)}if(e){var r=e();r.done(function(e){t(!e)}),function(e,n){e.from&&e.to?(t(e.from.element),t(e.to.element)):t(e.element);function t(e){var t=C(e);t&&t.setHost(n)}}(i,r)}else t()}})}),g(function(e){var t,i={children:[]},a=new m;for(t=0;t<e.length;t++){var n=e[t];a.put(n.domNode,e[t]={domNode:n.domNode,fn:n.fn,children:[]})}for(t=0;t<e.length;t++)o(e[t]);return function(e){var t,n=[],r=[];for(t=0;t<e.children.length;t++)r.push(e.children[t]);var i=r.length,a=0,o=[];for(t=0;t<r.length;t++){var s=r[t];i<=0&&(i=a,a=0,n.push(o),o=[]),o.push(s.fn),s.children.forEach(function(e){a++,r.push(e)}),i--}return o.length&&n.push(o),n}(i);function o(e){if(e.processed)return e;e.processed=!0;var t,n=e.domNode,r=n.parentNode;for(a.put(n,e);r;){if(t=a.get(r)){t.processed||(t=o(t));break}r=r.parentNode}return(t||i).children.push(e),e}}(n))}),a;function l(){var e=C(t);!e||"leave"===n&&r.$$domOperationFired||e.end()}function u(e){t.off("$destroy",l),t.removeData(w),b(t,r),_e(t,r),r.domOperation(),c&&f.removeClass(t,c),t.removeClass(A),a.complete(!e)}}}]}];e.module("ngAnimate",[],function(){Oe=e.noop,Pe=e.copy,d=e.extend,re=e.element,Me=e.forEach,$e=e.isArray,te=e.isString,ee=e.isObject,ne=e.isUndefined,J=e.isDefined,w=e.isFunction,h=e.isElement}).directive("ngAnimateSwap",["$animate","$rootScope",function(s,e){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,e,r,i){var a,o;t.$watchCollection(e.ngAnimateSwap||e.for,function(e){a&&s.leave(a),o&&(o.$destroy(),o=null),(e||0===e)&&(o=t.$new(),i(o,function(e){a=e,s.enter(e,null,n)}))})}}}]).directive("ngAnimateChildren",s).factory("$$rAFScheduler",["$$rAF",function(n){var r,i;function e(e){r=r.concat(e),a()}return r=e.queue=[],e.waitUntilQuiet=function(e){i&&i(),i=n(function(){i=null,e(),a()})},e;function a(){if(r.length){for(var e=r.shift(),t=0;t<e.length;t++)e[t]();i||n(function(){i||a()})}}}]).provider("$$animateQueue",b).provider("$$animation",v).provider("$animateCss",p).provider("$$animateCssDriver",m).provider("$$animateJs",g).provider("$$animateJsDriver",_)}(window,window.angular),function(e,t){"use strict";var n=t.module("ngAria",["ng"]).provider("$aria",function(){var c={ariaHidden:!0,ariaChecked:!0,ariaReadonly:!0,ariaDisabled:!0,ariaRequired:!0,ariaInvalid:!0,ariaValue:!0,tabindex:!0,bindKeypress:!0,bindRoleForClick:!0};function e(i,a,o,s){return function(e,t,n){var r=n.$normalize(a);!c[r]||l(t,o)||n[r]||e.$watch(n[i],function(e){e=s?!e:!!e,t.attr(a,e)})}}this.config=function(e){c=t.extend(c,e)},this.$get=function(){return{config:function(e){return c[e]},$$watchExpr:e}}}),a=["BUTTON","A","INPUT","TEXTAREA","SELECT","DETAILS","SUMMARY"],l=function(e,t){if(-1!==t.indexOf(e[0].nodeName))return!0};n.directive("ngShow",["$aria",function(e){return e.$$watchExpr("ngShow","aria-hidden",[],!0)}]).directive("ngHide",["$aria",function(e){return e.$$watchExpr("ngHide","aria-hidden",[],!1)}]).directive("ngValue",["$aria",function(e){return e.$$watchExpr("ngValue","aria-checked",a,!1)}]).directive("ngChecked",["$aria",function(e){return e.$$watchExpr("ngChecked","aria-checked",a,!1)}]).directive("ngReadonly",["$aria",function(e){return e.$$watchExpr("ngReadonly","aria-readonly",a,!1)}]).directive("ngRequired",["$aria",function(e){return e.$$watchExpr("ngRequired","aria-required",a,!1)}]).directive("ngModel",["$aria",function(u){function f(e,t,n,r){return u.config(t)&&!n.attr(e)&&(r||!l(n,a))}function d(e,t){return!t.attr("role")&&t.attr("type")===e&&"INPUT"!==t[0].nodeName}return{restrict:"A",require:"ngModel",priority:200,compile:function(e,t){var n,r,i,l=(r=(n=t).type,i=n.role,"checkbox"===(r||i)||"menuitemcheckbox"===i?"checkbox":"radio"===(r||i)||"menuitemradio"===i?"radio":"range"===r||"progressbar"===i||"slider"===i?"range":"");return{pre:function(e,t,n,r){"checkbox"===l&&(r.$isEmpty=function(e){return!1===e})},post:function(e,n,r,i){var t=f("tabindex","tabindex",n,!1);function a(){return i.$modelValue}switch(l){case"radio":case"checkbox":d(l,n)&&n.attr("role",l),f("aria-checked","ariaChecked",n,!1)&&e.$watch(a,"radio"===l?function(e){var t=r.value==i.$viewValue;n.attr("aria-checked",t)}:function(){n.attr("aria-checked",!i.$isEmpty(i.$viewValue))}),t&&n.attr("tabindex",0);break;case"range":if(d(l,n)&&n.attr("role","slider"),u.config("ariaValue")){var o=!n.attr("aria-valuemin")&&(r.hasOwnProperty("min")||r.hasOwnProperty("ngMin")),s=!n.attr("aria-valuemax")&&(r.hasOwnProperty("max")||r.hasOwnProperty("ngMax")),c=!n.attr("aria-valuenow");o&&r.$observe("min",function(e){n.attr("aria-valuemin",e)}),s&&r.$observe("max",function(e){n.attr("aria-valuemax",e)}),c&&e.$watch(a,function(e){n.attr("aria-valuenow",e)})}t&&n.attr("tabindex",0)}!r.hasOwnProperty("ngRequired")&&i.$validators.required&&f("aria-required","ariaRequired",n,!1)&&r.$observe("required",function(){n.attr("aria-required",!!r.required)}),f("aria-invalid","ariaInvalid",n,!0)&&e.$watch(function(){return i.$invalid},function(e){n.attr("aria-invalid",!!e)})}}}}}]).directive("ngDisabled",["$aria",function(e){return e.$$watchExpr("ngDisabled","aria-disabled",a,!1)}]).directive("ngMessages",function(){return{restrict:"A",require:"?ngMessages",link:function(e,t,n,r){t.attr("aria-live")||t.attr("aria-live","assertive")}}}).directive("ngClick",["$aria","$parse",function(i,n){return{restrict:"A",compile:function(e,t){var r=n(t.ngClick,null,!0);return function(n,e,t){l(e,a)||(i.config("bindRoleForClick")&&!e.attr("role")&&e.attr("role","button"),i.config("tabindex")&&!e.attr("tabindex")&&e.attr("tabindex",0),i.config("bindKeypress")&&!t.ngKeypress&&e.on("keypress",function(e){var t=e.which||e.keyCode;32!==t&&13!==t||n.$apply(function(){r(n,{$event:e})})}))}}}}]).directive("ngDblclick",["$aria",function(r){return function(e,t,n){!r.config("tabindex")||t.attr("tabindex")||l(t,a)||t.attr("tabindex",0)}}])}(window,window.angular),function(e,l){"use strict";function t(e,s,t){var c=t.baseHref(),r=e[0];return function(e,t,n){r.cookie=function(e,t,n){var r,i;i=(n=n||{}).expires,r=l.isDefined(n.path)?n.path:c,l.isUndefined(t)&&(i="Thu, 01 Jan 1970 00:00:00 GMT",t=""),l.isString(i)&&(i=new Date(i));var a=encodeURIComponent(e)+"="+encodeURIComponent(t);a+=r?";path="+r:"",a+=n.domain?";domain="+n.domain:"",a+=i?";expires="+i.toUTCString():"";var o=(a+=n.secure?";secure":"").length+1;return 4096<o&&s.warn("Cookie '"+e+"' possibly not set or overflowed because it was too large ("+o+" > 4096 bytes)!"),a}(e,t,n)}}l.module("ngCookies",["ng"]).provider("$cookies",[function(){var t=this.defaults={};function i(e){return e?l.extend({},t,e):t}this.$get=["$$cookieReader","$$cookieWriter",function(t,r){return{get:function(e){return t()[e]},getObject:function(e){var t=this.get(e);return t?l.fromJson(t):t},getAll:function(){return t()},put:function(e,t,n){r(e,t,i(n))},putObject:function(e,t,n){this.put(e,l.toJson(t),n)},remove:function(e,t){r(e,void 0,i(t))}}}]}]),l.module("ngCookies").factory("$cookieStore",["$cookies",function(n){return{get:function(e){return n.getObject(e)},put:function(e,t){n.putObject(e,t)},remove:function(e){n.remove(e)}}}]),t.$inject=["$document","$log","$browser"],l.module("ngCookies").provider("$$cookieWriter",function(){this.$get=t})}(window,window.angular),function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e||(e=window),t||(t="undefined"!=typeof window?require("jquery"):require("jquery")(e)),n(t,e,e.document)}:n(jQuery,window,document)}(function(U,E,y,H){"use strict";var p,b,t,e,k=function(A){this.$=function(e,t){return this.api(!0).$(e,t)},this._=function(e,t){return this.api(!0).rows(e,t).data()},this.api=function(e){return new b(e?at(this[p.iApiIndex]):this)},this.fnAddData=function(e,t){var n=this.api(!0),r=U.isArray(e)&&(U.isArray(e[0])||U.isPlainObject(e[0]))?n.rows.add(e):n.row.add(e);return(t===H||t)&&n.draw(),r.flatten().toArray()},this.fnAdjustColumnSizing=function(e){var t=this.api(!0).columns.adjust(),n=t.settings()[0],r=n.oScroll;e===H||e?t.draw(!1):""===r.sX&&""===r.sY||Be(n)},this.fnClearTable=function(e){var t=this.api(!0).clear();(e===H||e)&&t.draw()},this.fnClose=function(e){this.api(!0).row(e).child.hide()},this.fnDeleteRow=function(e,t,n){var r=this.api(!0),i=r.rows(e),a=i.settings()[0],o=a.aoData[i[0][0]];return i.remove(),t&&t.call(this,a,o),(n===H||n)&&r.draw(),o},this.fnDestroy=function(e){this.api(!0).destroy(e)},this.fnDraw=function(e){this.api(!0).draw(e)},this.fnFilter=function(e,t,n,r,i,a){var o=this.api(!0);null===t||t===H?o.search(e,n,r,a):o.column(t).search(e,n,r,a),o.draw()},this.fnGetData=function(e,t){var n=this.api(!0);if(e===H)return n.data().toArray();var r=e.nodeName?e.nodeName.toLowerCase():"";return t!==H||"td"==r||"th"==r?n.cell(e,t).data():n.row(e).data()||null},this.fnGetNodes=function(e){var t=this.api(!0);return e!==H?t.row(e).node():t.rows().nodes().flatten().toArray()},this.fnGetPosition=function(e){var t=this.api(!0),n=e.nodeName.toUpperCase();if("TR"==n)return t.row(e).index();if("TD"!=n&&"TH"!=n)return null;var r=t.cell(e).index();return[r.row,r.columnVisible,r.column]},this.fnIsOpen=function(e){return this.api(!0).row(e).child.isShown()},this.fnOpen=function(e,t,n){return this.api(!0).row(e).child(t,n).show().child()[0]},this.fnPageChange=function(e,t){var n=this.api(!0).page(e);(t===H||t)&&n.draw(!1)},this.fnSetColumnVis=function(e,t,n){var r=this.api(!0).column(e).visible(t);(n===H||n)&&r.columns.adjust().draw()},this.fnSettings=function(){return at(this[p.iApiIndex])},this.fnSort=function(e){this.api(!0).order(e).draw()},this.fnSortListener=function(e,t,n){this.api(!0).order.listener(e,t,n)},this.fnUpdate=function(e,t,n,r,i){var a=this.api(!0);return n===H||null===n?a.row(t).data(e):a.cell(t,n).data(e),(i===H||i)&&a.columns.adjust(),(r===H||r)&&a.draw(),0},this.fnVersionCheck=p.fnVersionCheck;var S=this,T=A===H,x=this.length;for(var e in T&&(A={}),this.oApi=this.internal=p.internal,k.ext.internal)e&&(this[e]=Rt(e));return this.each(function(){var a,o=1<x?ct({},A,!0):A,s=0,e=this.getAttribute("id"),c=!1,t=k.defaults,l=U(this);if("table"==this.nodeName.toLowerCase()){P(t),M(t.column),D(t,t,!0),D(t.column,t.column,!0),D(t,U.extend(o,l.data()),!0);var n=k.settings;for(s=0,a=n.length;s<a;s++){var r=n[s];if(r.nTable==this||r.nTHead&&r.nTHead.parentNode==this||r.nTFoot&&r.nTFoot.parentNode==this){var i=o.bRetrieve!==H?o.bRetrieve:t.bRetrieve,u=o.bDestroy!==H?o.bDestroy:t.bDestroy;if(T||i)return r.oInstance;if(u){r.oInstance.fnDestroy();break}return void ot(r,0,"Cannot reinitialise DataTable",3)}if(r.sTableId==this.id){n.splice(s,1);break}}null!==e&&""!==e||(e="DataTables_Table_"+k.ext._unique++,this.id=e);var f=U.extend(!0,{},k.models.oSettings,{sDestroyWidth:l[0].style.width,sInstance:e,sTableId:e});f.nTable=this,f.oApi=S.internal,f.oInit=o,n.push(f),f.oInstance=1===S.length?S:l.dataTable(),P(o),I(o.oLanguage),o.aLengthMenu&&!o.iDisplayLength&&(o.iDisplayLength=U.isArray(o.aLengthMenu[0])?o.aLengthMenu[0][0]:o.aLengthMenu[0]),o=ct(U.extend(!0,{},t),o),st(f.oFeatures,o,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),st(f,o,["asStripeClasses","ajax","fnServerData","fnFormatNumber","sServerMethod","aaSorting","aaSortingFixed","aLengthMenu","sPaginationType","sAjaxSource","sAjaxDataProp","iStateDuration","sDom","bSortCellsTop","iTabIndex","fnStateLoadCallback","fnStateSaveCallback","renderer","searchDelay","rowId",["iCookieDuration","iStateDuration"],["oSearch","oPreviousSearch"],["aoSearchCols","aoPreSearchCols"],["iDisplayLength","_iDisplayLength"]]),st(f.oScroll,o,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),st(f.oLanguage,o,"fnInfoCallback"),ut(f,"aoDrawCallback",o.fnDrawCallback,"user"),ut(f,"aoServerParams",o.fnServerParams,"user"),ut(f,"aoStateSaveParams",o.fnStateSaveParams,"user"),ut(f,"aoStateLoadParams",o.fnStateLoadParams,"user"),ut(f,"aoStateLoaded",o.fnStateLoaded,"user"),ut(f,"aoRowCallback",o.fnRowCallback,"user"),ut(f,"aoRowCreatedCallback",o.fnCreatedRow,"user"),ut(f,"aoHeaderCallback",o.fnHeaderCallback,"user"),ut(f,"aoFooterCallback",o.fnFooterCallback,"user"),ut(f,"aoInitComplete",o.fnInitComplete,"user"),ut(f,"aoPreDrawCallback",o.fnPreDrawCallback,"user"),f.rowIdFn=Q(o.rowId),$(f);var d=f.oClasses;if(U.extend(d,k.ext.classes,o.oClasses),l.addClass(d.sTable),f.iInitDisplayStart===H&&(f.iInitDisplayStart=o.iDisplayStart,f._iDisplayStart=o.iDisplayStart),null!==o.iDeferLoading){f.bDeferLoading=!0;var h=U.isArray(o.iDeferLoading);f._iRecordsDisplay=h?o.iDeferLoading[0]:o.iDeferLoading,f._iRecordsTotal=h?o.iDeferLoading[1]:o.iDeferLoading}var p=f.oLanguage;U.extend(!0,p,o.oLanguage),p.sUrl&&(U.ajax({dataType:"json",url:p.sUrl,success:function(e){I(e),D(t.oLanguage,e),U.extend(!0,p,e),Me(f)},error:function(){Me(f)}}),c=!0),null===o.asStripeClasses&&(f.asStripeClasses=[d.sStripeOdd,d.sStripeEven]);var m=f.asStripeClasses,g=l.children("tbody").find("tr").eq(0);-1!==U.inArray(!0,U.map(m,function(e,t){return g.hasClass(e)}))&&(U("tbody tr",this).removeClass(m.join(" ")),f.asDestroyStripes=m.slice());var _,b=[],v=this.getElementsByTagName("thead");if(0!==v.length&&(ue(f.aoHeader,v[0]),b=fe(f)),null===o.aoColumns)for(_=[],s=0,a=b.length;s<a;s++)_.push(null);else _=o.aoColumns;for(s=0,a=_.length;s<a;s++)O(f,b?b[s]:null);if(F(f,o.aoColumnDefs,_,function(e,t){R(f,e,t)}),g.length){var y=function(e,t){return null!==e.getAttribute("data-"+t)?t:null};U(g[0]).children("th, td").each(function(e,t){var n=f.aoColumns[e];if(n.mData===e){var r=y(t,"sort")||y(t,"order"),i=y(t,"filter")||y(t,"search");null===r&&null===i||(n.mData={_:e+".display",sort:null!==r?e+".@data-"+r:H,type:null!==r?e+".@data-"+r:H,filter:null!==i?e+".@data-"+i:H},R(f,e))}})}var w=f.oFeatures,C=function(){if(o.aaSorting===H){var e=f.aaSorting;for(s=0,a=e.length;s<a;s++)e[s][1]=f.aoColumns[s].asSorting[0]}tt(f),w.bSort&&ut(f,"aoDrawCallback",function(){if(f.bSorted){var e=Qe(f),n={};U.each(e,function(e,t){n[t.src]=t.dir}),ft(f,null,"order",[f,e,n]),Ze(f)}}),ut(f,"aoDrawCallback",function(){(f.bSorted||"ssp"===pt(f)||w.bDeferRender)&&tt(f)},"sc");var t=l.children("caption").each(function(){this._captionSide=U(this).css("caption-side")}),n=l.children("thead");0===n.length&&(n=U("<thead/>").appendTo(l)),f.nTHead=n[0];var r=l.children("tbody");0===r.length&&(r=U("<tbody/>").appendTo(l)),f.nTBody=r[0];var i=l.children("tfoot");if(0===i.length&&0<t.length&&(""!==f.oScroll.sX||""!==f.oScroll.sY)&&(i=U("<tfoot/>").appendTo(l)),0===i.length||0===i.children().length?l.addClass(d.sNoFooter):0<i.length&&(f.nTFoot=i[0],ue(f.aoFooter,f.nTFoot)),o.aaData)for(s=0;s<o.aaData.length;s++)G(f,o.aaData[s]);else(f.bDeferLoading||"dom"==pt(f))&&j(f,U(f.nTBody).children("tr"));f.aiDisplay=f.aiDisplayMaster.slice(),!(f.bInitialised=!0)===c&&Me(f)};o.bStateSave?(w.bStateSave=!0,ut(f,"aoDrawCallback",rt,"state_save"),it(f,o,C)):C()}else ot(null,0,"Non-table node initialisation ("+this.nodeName+")",2)}),S=null,this},n={},r=/[\r\n\u2028]/g,i=/<.*?>/g,a=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,o=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),s=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,c=function(e){return!e||!0===e||"-"===e},h=function(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},l=function(e,t){return n[t]||(n[t]=new RegExp(Ae(t),"g")),"string"==typeof e&&"."!==t?e.replace(/\./g,"").replace(n[t],"."):e},u=function(e,t,n){var r="string"==typeof e;return!!c(e)||(t&&r&&(e=l(e,t)),n&&r&&(e=e.replace(s,"")),!isNaN(parseFloat(e))&&isFinite(e))},f=function(e,t,n){return!!c(e)||((c(r=e)||"string"==typeof r)&&!!u(d(e),t,n)||null);var r},W=function(e,t,n){var r=[],i=0,a=e.length;if(n!==H)for(;i<a;i++)e[i]&&e[i][t]&&r.push(e[i][t][n]);else for(;i<a;i++)e[i]&&r.push(e[i][t]);return r},v=function(e,t,n,r){var i=[],a=0,o=t.length;if(r!==H)for(;a<o;a++)e[t[a]][n]&&i.push(e[t[a]][n][r]);else for(;a<o;a++)i.push(e[t[a]][n]);return i},m=function(e,t){var n,r=[];t===H?(t=0,n=e):(n=t,t=e);for(var i=t;i<n;i++)r.push(i);return r},w=function(e){for(var t=[],n=0,r=e.length;n<r;n++)e[n]&&t.push(e[n]);return t},d=function(e){return e.replace(i,"")},g=function(e){if(function(e){if(e.length<2)return!0;for(var t=e.slice().sort(),n=t[0],r=1,i=t.length;r<i;r++){if(t[r]===n)return!1;n=t[r]}return!0}(e))return e.slice();var t,n,r,i=[],a=e.length,o=0;e:for(n=0;n<a;n++){for(t=e[n],r=0;r<o;r++)if(i[r]===t)continue e;i.push(t),o++}return i};function _(n){var r,i,a={};U.each(n,function(e,t){(r=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(r[1]+" ")&&(i=e.replace(r[0],r[2].toLowerCase()),a[i]=e,"o"===r[1]&&_(n[e]))}),n._hungarianMap=a}function D(n,r,i){var a;n._hungarianMap||_(n),U.each(r,function(e,t){(a=n._hungarianMap[e])===H||!i&&r[a]!==H||("o"===a.charAt(0)?(r[a]||(r[a]={}),U.extend(!0,r[a],r[e]),D(n[a],r[a],i)):r[a]=r[e])})}function I(e){var t=k.defaults.oLanguage,n=t.sDecimal;if(n&&$t(n),e){var r=e.sZeroRecords;!e.sEmptyTable&&r&&"No data available in table"===t.sEmptyTable&&st(e,e,"sZeroRecords","sEmptyTable"),!e.sLoadingRecords&&r&&"Loading..."===t.sLoadingRecords&&st(e,e,"sZeroRecords","sLoadingRecords"),e.sInfoThousands&&(e.sThousands=e.sInfoThousands);var i=e.sDecimal;i&&n!==i&&$t(i)}}k.util={throttle:function(r,e){var i,a,o=e!==H?e:200;return function(){var e=this,t=+new Date,n=arguments;i&&t<i+o?(clearTimeout(a),a=setTimeout(function(){i=H,r.apply(e,n)},o)):(i=t,r.apply(e,n))}},escapeRegex:function(e){return e.replace(o,"\\$1")}};var C=function(e,t,n){e[t]!==H&&(e[n]=e[t])};function P(e){C(e,"ordering","bSort"),C(e,"orderMulti","bSortMulti"),C(e,"orderClasses","bSortClasses"),C(e,"orderCellsTop","bSortCellsTop"),C(e,"order","aaSorting"),C(e,"orderFixed","aaSortingFixed"),C(e,"paging","bPaginate"),C(e,"pagingType","sPaginationType"),C(e,"pageLength","iDisplayLength"),C(e,"searching","bFilter"),"boolean"==typeof e.sScrollX&&(e.sScrollX=e.sScrollX?"100%":""),"boolean"==typeof e.scrollX&&(e.scrollX=e.scrollX?"100%":"");var t=e.aoSearchCols;if(t)for(var n=0,r=t.length;n<r;n++)t[n]&&D(k.models.oSearch,t[n])}function M(e){C(e,"orderable","bSortable"),C(e,"orderData","aDataSort"),C(e,"orderSequence","asSorting"),C(e,"orderDataType","sortDataType");var t=e.aDataSort;"number"!=typeof t||U.isArray(t)||(e.aDataSort=[t])}function $(e){if(!k.__browser){var t={};k.__browser=t;var n=U("<div/>").css({position:"fixed",top:0,left:-1*U(E).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(U("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(U("<div/>").css({width:"100%",height:10}))).appendTo("body"),r=n.children(),i=r.children();t.barWidth=r[0].offsetWidth-r[0].clientWidth,t.bScrollOversize=100===i[0].offsetWidth&&100!==r[0].clientWidth,t.bScrollbarLeft=1!==Math.round(i.offset().left),t.bBounding=!!n[0].getBoundingClientRect().width,n.remove()}U.extend(e.oBrowser,k.__browser),e.oScroll.iBarWidth=k.__browser.barWidth}function A(e,t,n,r,i,a){var o,s=r,c=!1;for(n!==H&&(o=n,c=!0);s!==i;)e.hasOwnProperty(s)&&(o=c?t(o,e[s],s,e):e[s],c=!0,s+=a);return o}function O(e,t){var n=k.defaults.column,r=e.aoColumns.length,i=U.extend({},k.models.oColumn,n,{nTh:t||y.createElement("th"),sTitle:n.sTitle?n.sTitle:t?t.innerHTML:"",aDataSort:n.aDataSort?n.aDataSort:[r],mData:n.mData?n.mData:r,idx:r});e.aoColumns.push(i);var a=e.aoPreSearchCols;a[r]=U.extend({},k.models.oSearch,a[r]),R(e,r,U(t).data())}function R(e,t,n){var r=e.aoColumns[t],i=e.oClasses,a=U(r.nTh);if(!r.sWidthOrig){r.sWidthOrig=a.attr("width")||null;var o=(a.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);o&&(r.sWidthOrig=o[1])}n!==H&&null!==n&&(M(n),D(k.defaults.column,n,!0),n.mDataProp===H||n.mData||(n.mData=n.mDataProp),n.sType&&(r._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),n.sClass&&a.addClass(n.sClass),U.extend(r,n),st(r,n,"sWidth","sWidthOrig"),n.iDataSort!==H&&(r.aDataSort=[n.iDataSort]),st(r,n,"aDataSort"));var s=r.mData,c=Q(s),l=r.mRender?Q(r.mRender):null,u=function(e){return"string"==typeof e&&-1!==e.indexOf("@")};r._bAttrSrc=U.isPlainObject(s)&&(u(s.sort)||u(s.type)||u(s.filter)),r._setter=null,r.fnGetData=function(e,t,n){var r=c(e,t,H,n);return l&&t?l(r,t,e,n):r},r.fnSetData=function(e,t,n){return X(s)(e,t,n)},"number"!=typeof s&&(e._rowReadObject=!0),e.oFeatures.bSort||(r.bSortable=!1,a.addClass(i.sSortableNone));var f=-1!==U.inArray("asc",r.asSorting),d=-1!==U.inArray("desc",r.asSorting);r.bSortable&&(f||d)?f&&!d?(r.sSortingClass=i.sSortableAsc,r.sSortingClassJUI=i.sSortJUIAscAllowed):!f&&d?(r.sSortingClass=i.sSortableDesc,r.sSortingClassJUI=i.sSortJUIDescAllowed):(r.sSortingClass=i.sSortable,r.sSortingClassJUI=i.sSortJUI):(r.sSortingClass=i.sSortableNone,r.sSortingClassJUI="")}function q(e){if(!1!==e.oFeatures.bAutoWidth){var t=e.aoColumns;We(e);for(var n=0,r=t.length;n<r;n++)t[n].nTh.style.width=t[n].sWidth}var i=e.oScroll;""===i.sY&&""===i.sX||Be(e),ft(e,null,"column-sizing",[e])}function z(e,t){var n=L(e,"bVisible");return"number"==typeof n[t]?n[t]:null}function S(e,t){var n=L(e,"bVisible"),r=U.inArray(t,n);return-1!==r?r:null}function N(e){var n=0;return U.each(e.aoColumns,function(e,t){t.bVisible&&"none"!==U(t.nTh).css("display")&&n++}),n}function L(e,n){var r=[];return U.map(e.aoColumns,function(e,t){e[n]&&r.push(t)}),r}function T(e){var t,n,r,i,a,o,s,c,l,u=e.aoColumns,f=e.aoData,d=k.ext.type.detect;for(t=0,n=u.length;t<n;t++)if(l=[],!(s=u[t]).sType&&s._sManualType)s.sType=s._sManualType;else if(!s.sType){for(r=0,i=d.length;r<i;r++){for(a=0,o=f.length;a<o&&(l[a]===H&&(l[a]=x(e,a,t,"type")),(c=d[r](l[a],e))||r===d.length-1)&&"html"!==c;a++);if(c){s.sType=c;break}}s.sType||(s.sType="string")}}function F(e,t,n,r){var i,a,o,s,c,l,u,f=e.aoColumns;if(t)for(i=t.length-1;0<=i;i--){var d=(u=t[i]).targets!==H?u.targets:u.aTargets;for(U.isArray(d)||(d=[d]),o=0,s=d.length;o<s;o++)if("number"==typeof d[o]&&0<=d[o]){for(;f.length<=d[o];)O(e);r(d[o],u)}else if("number"==typeof d[o]&&d[o]<0)r(f.length+d[o],u);else if("string"==typeof d[o])for(c=0,l=f.length;c<l;c++)("_all"==d[o]||U(f[c].nTh).hasClass(d[o]))&&r(c,u)}if(n)for(i=0,a=n.length;i<a;i++)r(i,n[i])}function G(e,t,n,r){var i=e.aoData.length,a=U.extend(!0,{},k.models.oRow,{src:n?"dom":"data",idx:i});a._aData=t,e.aoData.push(a);for(var o=e.aoColumns,s=0,c=o.length;s<c;s++)o[s].sType=null;e.aiDisplayMaster.push(i);var l=e.rowIdFn(t);return l!==H&&(e.aIds[l]=a),!n&&e.oFeatures.bDeferRender||re(e,i,n,r),i}function j(n,e){var r;return e instanceof U||(e=U(e)),e.map(function(e,t){return r=ne(n,t),G(n,r.data,t,r.cells)})}function x(e,t,n,r){var i=e.iDraw,a=e.aoColumns[n],o=e.aoData[t]._aData,s=a.sDefaultContent,c=a.fnGetData(o,r,{settings:e,row:t,col:n});if(c===H)return e.iDrawError!=i&&null===s&&(ot(e,0,"Requested unknown parameter "+("function"==typeof a.mData?"{function}":"'"+a.mData+"'")+" for row "+t+", column "+n,4),e.iDrawError=i),s;if(c!==o&&null!==c||null===s||r===H){if("function"==typeof c)return c.call(o)}else c=s;return null===c&&"display"==r?"":c}function B(e,t,n,r){var i=e.aoColumns[n],a=e.aoData[t]._aData;i.fnSetData(a,r,{settings:e,row:t,col:n})}var V=/\[.*?\]$/,Y=/\(\)$/;function K(e){return U.map(e.match(/(\\.|[^\.])+/g)||[""],function(e){return e.replace(/\\\./g,".")})}function Q(i){if(U.isPlainObject(i)){var a={};return U.each(i,function(e,t){t&&(a[e]=Q(t))}),function(e,t,n,r){var i=a[t]||a._;return i!==H?i(e,t,n,r):e}}if(null===i)return function(e){return e};if("function"==typeof i)return function(e,t,n,r){return i(e,t,n,r)};if("string"!=typeof i||-1===i.indexOf(".")&&-1===i.indexOf("[")&&-1===i.indexOf("("))return function(e,t){return e[i]};var h=function(e,t,n){var r,i,a,o;if(""!==n)for(var s=K(n),c=0,l=s.length;c<l;c++){if(r=s[c].match(V),i=s[c].match(Y),r){if(s[c]=s[c].replace(V,""),""!==s[c]&&(e=e[s[c]]),a=[],s.splice(0,c+1),o=s.join("."),U.isArray(e))for(var u=0,f=e.length;u<f;u++)a.push(h(e[u],t,o));var d=r[0].substring(1,r[0].length-1);e=""===d?a:a.join(d);break}if(i)s[c]=s[c].replace(Y,""),e=e[s[c]]();else{if(null===e||e[s[c]]===H)return H;e=e[s[c]]}}return e};return function(e,t){return h(e,t,i)}}function X(r){if(U.isPlainObject(r))return X(r._);if(null===r)return function(){};if("function"==typeof r)return function(e,t,n){r(e,"set",t,n)};if("string"!=typeof r||-1===r.indexOf(".")&&-1===r.indexOf("[")&&-1===r.indexOf("("))return function(e,t){e[r]=t};var p=function(e,t,n){for(var r,i,a,o,s,c=K(n),l=c[c.length-1],u=0,f=c.length-1;u<f;u++){if(i=c[u].match(V),a=c[u].match(Y),i){if(c[u]=c[u].replace(V,""),e[c[u]]=[],(r=c.slice()).splice(0,u+1),s=r.join("."),U.isArray(t))for(var d=0,h=t.length;d<h;d++)p(o={},t[d],s),e[c[u]].push(o);else e[c[u]]=t;return}a&&(c[u]=c[u].replace(Y,""),e=e[c[u]](t)),null!==e[c[u]]&&e[c[u]]!==H||(e[c[u]]={}),e=e[c[u]]}l.match(Y)?e=e[l.replace(Y,"")](t):e[l.replace(V,"")]=t};return function(e,t){return p(e,t,r)}}function Z(e){return W(e.aoData,"_aData")}function J(e){e.aoData.length=0,e.aiDisplayMaster.length=0,e.aiDisplay.length=0,e.aIds={}}function ee(e,t,n){for(var r=-1,i=0,a=e.length;i<a;i++)e[i]==t?r=i:e[i]>t&&e[i]--;-1!=r&&n===H&&e.splice(r,1)}function te(n,r,e,t){var i,a,o=n.aoData[r],s=function(e,t){for(;e.childNodes.length;)e.removeChild(e.firstChild);e.innerHTML=x(n,r,t,"display")};if("dom"!==e&&(e&&"auto"!==e||"dom"!==o.src)){var c=o.anCells;if(c)if(t!==H)s(c[t],t);else for(i=0,a=c.length;i<a;i++)s(c[i],i)}else o._aData=ne(n,o,t,t===H?H:o._aData).data;o._aSortData=null,o._aFilterData=null;var l=n.aoColumns;if(t!==H)l[t].sType=null;else{for(i=0,a=l.length;i<a;i++)l[i].sType=null;ie(n,o)}}function ne(e,t,n,i){var r,a,o,s=[],c=t.firstChild,l=0,u=e.aoColumns,f=e._rowReadObject;i=i!==H?i:f?{}:[];var d=function(e,t){if("string"==typeof e){var n=e.indexOf("@");if(-1!==n){var r=e.substring(n+1);X(e)(i,t.getAttribute(r))}}},h=function(e){n!==H&&n!==l||(a=u[l],o=U.trim(e.innerHTML),a&&a._bAttrSrc?(X(a.mData._)(i,o),d(a.mData.sort,e),d(a.mData.type,e),d(a.mData.filter,e)):f?(a._setter||(a._setter=X(a.mData)),a._setter(i,o)):i[l]=o);l++};if(c)for(;c;)"TD"!=(r=c.nodeName.toUpperCase())&&"TH"!=r||(h(c),s.push(c)),c=c.nextSibling;else for(var p=0,m=(s=t.anCells).length;p<m;p++)h(s[p]);var g=t.firstChild?t:t.nTr;if(g){var _=g.getAttribute("id");_&&X(e.rowId)(i,_)}return{data:i,cells:s}}function re(e,t,n,r){var i,a,o,s,c,l,u=e.aoData[t],f=u._aData,d=[];if(null===u.nTr){for(i=n||y.createElement("tr"),u.nTr=i,u.anCells=d,i._DT_RowIndex=t,ie(e,u),s=0,c=e.aoColumns.length;s<c;s++)o=e.aoColumns[s],(a=(l=!n)?y.createElement(o.sCellType):r[s])._DT_CellIndex={row:t,column:s},d.push(a),!l&&(n&&!o.mRender&&o.mData===s||U.isPlainObject(o.mData)&&o.mData._===s+".display")||(a.innerHTML=x(e,t,s,"display")),o.sClass&&(a.className+=" "+o.sClass),o.bVisible&&!n?i.appendChild(a):!o.bVisible&&n&&a.parentNode.removeChild(a),o.fnCreatedCell&&o.fnCreatedCell.call(e.oInstance,a,x(e,t,s),f,t,s);ft(e,"aoRowCreatedCallback",null,[i,f,t,d])}u.nTr.setAttribute("role","row")}function ie(e,t){var n=t.nTr,r=t._aData;if(n){var i=e.rowIdFn(r);if(i&&(n.id=i),r.DT_RowClass){var a=r.DT_RowClass.split(" ");t.__rowc=t.__rowc?g(t.__rowc.concat(a)):a,U(n).removeClass(t.__rowc.join(" ")).addClass(r.DT_RowClass)}r.DT_RowAttr&&U(n).attr(r.DT_RowAttr),r.DT_RowData&&U(n).data(r.DT_RowData)}}function ae(e){var t,n,r,i,a,o=e.nTHead,s=e.nTFoot,c=0===U("th, td",o).length,l=e.oClasses,u=e.aoColumns;for(c&&(i=U("<tr/>").appendTo(o)),t=0,n=u.length;t<n;t++)a=u[t],r=U(a.nTh).addClass(a.sClass),c&&r.appendTo(i),e.oFeatures.bSort&&(r.addClass(a.sSortingClass),!1!==a.bSortable&&(r.attr("tabindex",e.iTabIndex).attr("aria-controls",e.sTableId),et(e,a.nTh,t))),a.sTitle!=r[0].innerHTML&&r.html(a.sTitle),ht(e,"header")(e,r,a,l);if(c&&ue(e.aoHeader,o),U(o).find(">tr").attr("role","row"),U(o).find(">tr>th, >tr>td").addClass(l.sHeaderTH),U(s).find(">tr>th, >tr>td").addClass(l.sFooterTH),null!==s){var f=e.aoFooter[0];for(t=0,n=f.length;t<n;t++)(a=u[t]).nTf=f[t].cell,a.sClass&&U(a.nTf).addClass(a.sClass)}}function oe(e,t,n){var r,i,a,o,s,c,l,u,f,d=[],h=[],p=e.aoColumns.length;if(t){for(n===H&&(n=!1),r=0,i=t.length;r<i;r++){for(d[r]=t[r].slice(),d[r].nTr=t[r].nTr,a=p-1;0<=a;a--)e.aoColumns[a].bVisible||n||d[r].splice(a,1);h.push([])}for(r=0,i=d.length;r<i;r++){if(l=d[r].nTr)for(;c=l.firstChild;)l.removeChild(c);for(a=0,o=d[r].length;a<o;a++)if(f=u=1,h[r][a]===H){for(l.appendChild(d[r][a].cell),h[r][a]=1;d[r+u]!==H&&d[r][a].cell==d[r+u][a].cell;)h[r+u][a]=1,u++;for(;d[r][a+f]!==H&&d[r][a].cell==d[r][a+f].cell;){for(s=0;s<u;s++)h[r+s][a+f]=1;f++}U(d[r][a].cell).attr("rowspan",u).attr("colspan",f)}}}}function se(e){var t=ft(e,"aoPreDrawCallback","preDraw",[e]);if(-1===U.inArray(!1,t)){var n=[],r=0,i=e.asStripeClasses,a=i.length,o=(e.aoOpenRows.length,e.oLanguage),s=e.iInitDisplayStart,c="ssp"==pt(e),l=e.aiDisplay;e.bDrawing=!0,s!==H&&-1!==s&&(e._iDisplayStart=c?s:s>=e.fnRecordsDisplay()?0:s,e.iInitDisplayStart=-1);var u=e._iDisplayStart,f=e.fnDisplayEnd();if(e.bDeferLoading)e.bDeferLoading=!1,e.iDraw++,Ge(e,!1);else if(c){if(!e.bDestroying&&!he(e))return}else e.iDraw++;if(0!==l.length)for(var d=c?0:u,h=c?e.aoData.length:f,p=d;p<h;p++){var m=l[p],g=e.aoData[m];null===g.nTr&&re(e,m);var _=g.nTr;if(0!==a){var b=i[r%a];g._sRowStripe!=b&&(U(_).removeClass(g._sRowStripe).addClass(b),g._sRowStripe=b)}ft(e,"aoRowCallback",null,[_,g._aData,r,p,m]),n.push(_),r++}else{var v=o.sZeroRecords;1==e.iDraw&&"ajax"==pt(e)?v=o.sLoadingRecords:o.sEmptyTable&&0===e.fnRecordsTotal()&&(v=o.sEmptyTable),n[0]=U("<tr/>",{class:a?i[0]:""}).append(U("<td />",{valign:"top",colSpan:N(e),class:e.oClasses.sRowEmpty}).html(v))[0]}ft(e,"aoHeaderCallback","header",[U(e.nTHead).children("tr")[0],Z(e),u,f,l]),ft(e,"aoFooterCallback","footer",[U(e.nTFoot).children("tr")[0],Z(e),u,f,l]);var y=U(e.nTBody);y.children().detach(),y.append(U(n)),ft(e,"aoDrawCallback","draw",[e]),e.bSorted=!1,e.bFiltered=!1,e.bDrawing=!1}else Ge(e,!1)}function ce(e,t){var n=e.oFeatures,r=n.bSort,i=n.bFilter;r&&Xe(e),i?be(e,e.oPreviousSearch):e.aiDisplay=e.aiDisplayMaster.slice(),!0!==t&&(e._iDisplayStart=0),e._drawHold=t,se(e),e._drawHold=!1}function le(e){var t=e.oClasses,n=U(e.nTable),r=U("<div/>").insertBefore(n),i=e.oFeatures,a=U("<div/>",{id:e.sTableId+"_wrapper",class:t.sWrapper+(e.nTFoot?"":" "+t.sNoFooter)});e.nHolding=r[0],e.nTableWrapper=a[0],e.nTableReinsertBefore=e.nTable.nextSibling;for(var o,s,c,l,u,f,d=e.sDom.split(""),h=0;h<d.length;h++){if(o=null,"<"==(s=d[h])){if(c=U("<div/>")[0],"'"==(l=d[h+1])||'"'==l){for(u="",f=2;d[h+f]!=l;)u+=d[h+f],f++;if("H"==u?u=t.sJUIHeader:"F"==u&&(u=t.sJUIFooter),-1!=u.indexOf(".")){var p=u.split(".");c.id=p[0].substr(1,p[0].length-1),c.className=p[1]}else"#"==u.charAt(0)?c.id=u.substr(1,u.length-1):c.className=u;h+=f}a.append(c),a=U(c)}else if(">"==s)a=a.parent();else if("l"==s&&i.bPaginate&&i.bLengthChange)o=Re(e);else if("f"==s&&i.bFilter)o=_e(e);else if("r"==s&&i.bProcessing)o=Fe(e);else if("t"==s)o=je(e);else if("i"==s&&i.bInfo)o=De(e);else if("p"==s&&i.bPaginate)o=Ne(e);else if(0!==k.ext.feature.length)for(var m=k.ext.feature,g=0,_=m.length;g<_;g++)if(s==m[g].cFeature){o=m[g].fnInit(e);break}if(o){var b=e.aanFeatures;b[s]||(b[s]=[]),b[s].push(o),a.append(o)}}r.replaceWith(a),e.nHolding=null}function ue(e,t){var n,r,i,a,o,s,c,l,u,f,d=U(t).children("tr"),h=function(e,t,n){for(var r=e[t];r[n];)n++;return n};for(e.splice(0,e.length),i=0,s=d.length;i<s;i++)e.push([]);for(i=0,s=d.length;i<s;i++)for(0,r=(n=d[i]).firstChild;r;){if("TD"==r.nodeName.toUpperCase()||"TH"==r.nodeName.toUpperCase())for(l=(l=1*r.getAttribute("colspan"))&&0!==l&&1!==l?l:1,u=(u=1*r.getAttribute("rowspan"))&&0!==u&&1!==u?u:1,c=h(e,i,0),f=1===l,o=0;o<l;o++)for(a=0;a<u;a++)e[i+a][c+o]={cell:r,unique:f},e[i+a].nTr=n;r=r.nextSibling}}function fe(e,t,n){var r=[];n||(n=e.aoHeader,t&&ue(n=[],t));for(var i=0,a=n.length;i<a;i++)for(var o=0,s=n[i].length;o<s;o++)!n[i][o].unique||r[o]&&e.bSortCellsTop||(r[o]=n[i][o].cell);return r}function de(i,e,t){if(ft(i,"aoServerParams","serverParams",[e]),e&&U.isArray(e)){var a={},o=/(.*?)\[\]$/;U.each(e,function(e,t){var n=t.name.match(o);if(n){var r=n[0];a[r]||(a[r]=[]),a[r].push(t.value)}else a[t.name]=t.value}),e=a}var n,r=i.ajax,s=i.oInstance,c=function(e){ft(i,null,"xhr",[i,e,i.jqXHR]),t(e)};if(U.isPlainObject(r)&&r.data){var l="function"==typeof(n=r.data)?n(e,i):n;e="function"==typeof n&&l?l:U.extend(!0,e,l),delete r.data}var u={data:e,success:function(e){var t=e.error||e.sError;t&&ot(i,0,t),i.json=e,c(e)},dataType:"json",cache:!1,type:i.sServerMethod,error:function(e,t,n){var r=ft(i,null,"xhr",[i,null,i.jqXHR]);-1===U.inArray(!0,r)&&("parsererror"==t?ot(i,0,"Invalid JSON response",1):4===e.readyState&&ot(i,0,"Ajax error",7)),Ge(i,!1)}};i.oAjaxData=e,ft(i,null,"preXhr",[i,e]),i.fnServerData?i.fnServerData.call(s,i.sAjaxSource,U.map(e,function(e,t){return{name:t,value:e}}),c,i):i.sAjaxSource||"string"==typeof r?i.jqXHR=U.ajax(U.extend(u,{url:r||i.sAjaxSource})):"function"==typeof r?i.jqXHR=r.call(s,e,c,i):(i.jqXHR=U.ajax(U.extend(u,r)),r.data=n)}function he(t){return!t.bAjaxDataGet||(t.iDraw++,Ge(t,!0),de(t,pe(t),function(e){me(t,e)}),!1)}function pe(e){var t,n,r,i,a=e.aoColumns,o=a.length,s=e.oFeatures,c=e.oPreviousSearch,l=e.aoPreSearchCols,u=[],f=Qe(e),d=e._iDisplayStart,h=!1!==s.bPaginate?e._iDisplayLength:-1,p=function(e,t){u.push({name:e,value:t})};p("sEcho",e.iDraw),p("iColumns",o),p("sColumns",W(a,"sName").join(",")),p("iDisplayStart",d),p("iDisplayLength",h);var m={draw:e.iDraw,columns:[],order:[],start:d,length:h,search:{value:c.sSearch,regex:c.bRegex}};for(t=0;t<o;t++)r=a[t],i=l[t],n="function"==typeof r.mData?"function":r.mData,m.columns.push({data:n,name:r.sName,searchable:r.bSearchable,orderable:r.bSortable,search:{value:i.sSearch,regex:i.bRegex}}),p("mDataProp_"+t,n),s.bFilter&&(p("sSearch_"+t,i.sSearch),p("bRegex_"+t,i.bRegex),p("bSearchable_"+t,r.bSearchable)),s.bSort&&p("bSortable_"+t,r.bSortable);s.bFilter&&(p("sSearch",c.sSearch),p("bRegex",c.bRegex)),s.bSort&&(U.each(f,function(e,t){m.order.push({column:t.col,dir:t.dir}),p("iSortCol_"+e,t.col),p("sSortDir_"+e,t.dir)}),p("iSortingCols",f.length));var g=k.ext.legacy.ajax;return null===g?e.sAjaxSource?u:m:g?u:m}function me(e,n){var t=function(e,t){return n[e]!==H?n[e]:n[t]},r=ge(e,n),i=t("sEcho","draw"),a=t("iTotalRecords","recordsTotal"),o=t("iTotalDisplayRecords","recordsFiltered");if(i!==H){if(1*i<e.iDraw)return;e.iDraw=1*i}J(e),e._iRecordsTotal=parseInt(a,10),e._iRecordsDisplay=parseInt(o,10);for(var s=0,c=r.length;s<c;s++)G(e,r[s]);e.aiDisplay=e.aiDisplayMaster.slice(),e.bAjaxDataGet=!1,se(e),e._bInitComplete||$e(e,n),e.bAjaxDataGet=!0,Ge(e,!1)}function ge(e,t){var n=U.isPlainObject(e.ajax)&&e.ajax.dataSrc!==H?e.ajax.dataSrc:e.sAjaxDataProp;return"data"===n?t.aaData||t[n]:""!==n?Q(n)(t):t}function _e(n){var e=n.oClasses,t=n.sTableId,r=n.oLanguage,i=n.oPreviousSearch,a=n.aanFeatures,o='<input type="search" class="'+e.sFilterInput+'"/>',s=r.sSearch;s=s.match(/_INPUT_/)?s.replace("_INPUT_",o):s+o;var c=U("<div/>",{id:a.f?null:t+"_filter",class:e.sFilter}).append(U("<label/>").append(s)),l=function(){a.f;var e=this.value?this.value:"";e!=i.sSearch&&(be(n,{sSearch:e,bRegex:i.bRegex,bSmart:i.bSmart,bCaseInsensitive:i.bCaseInsensitive}),n._iDisplayStart=0,se(n))},u=null!==n.searchDelay?n.searchDelay:"ssp"===pt(n)?400:0,f=U("input",c).val(i.sSearch).attr("placeholder",r.sSearchPlaceholder).on("keyup.DT search.DT input.DT paste.DT cut.DT",u?qe(l,u):l).on("mouseup",function(e){setTimeout(function(){l.call(f[0])},10)}).on("keypress.DT",function(e){if(13==e.keyCode)return!1}).attr("aria-controls",t);return U(n.nTable).on("search.dt.DT",function(e,t){if(n===t)try{f[0]!==y.activeElement&&f.val(i.sSearch)}catch(e){}}),c[0]}function be(e,t,n){var r=e.oPreviousSearch,i=e.aoPreSearchCols,a=function(e){r.sSearch=e.sSearch,r.bRegex=e.bRegex,r.bSmart=e.bSmart,r.bCaseInsensitive=e.bCaseInsensitive},o=function(e){return e.bEscapeRegex!==H?!e.bEscapeRegex:e.bRegex};if(T(e),"ssp"!=pt(e)){we(e,t.sSearch,n,o(t),t.bSmart,t.bCaseInsensitive),a(t);for(var s=0;s<i.length;s++)ye(e,i[s].sSearch,s,o(i[s]),i[s].bSmart,i[s].bCaseInsensitive);ve(e)}else a(t);e.bFiltered=!0,ft(e,null,"search",[e])}function ve(e){for(var t,n,r=k.ext.search,i=e.aiDisplay,a=0,o=r.length;a<o;a++){for(var s=[],c=0,l=i.length;c<l;c++)n=i[c],t=e.aoData[n],r[a](e,t._aFilterData,n,t._aData,c)&&s.push(n);i.length=0,U.merge(i,s)}}function ye(e,t,n,r,i,a){if(""!==t){for(var o,s=[],c=e.aiDisplay,l=Ce(t,r,i,a),u=0;u<c.length;u++)o=e.aoData[c[u]]._aFilterData[n],l.test(o)&&s.push(c[u]);e.aiDisplay=s}}function we(e,t,n,r,i,a){var o,s,c,l=Ce(t,r,i,a),u=e.oPreviousSearch.sSearch,f=e.aiDisplayMaster,d=[];if(0!==k.ext.search.length&&(n=!0),s=xe(e),t.length<=0)e.aiDisplay=f.slice();else{for((s||n||r||u.length>t.length||0!==t.indexOf(u)||e.bSorted)&&(e.aiDisplay=f.slice()),o=e.aiDisplay,c=0;c<o.length;c++)l.test(e.aoData[o[c]]._sFilterRow)&&d.push(o[c]);e.aiDisplay=d}}function Ce(e,t,n,r){(e=t?e:Ae(e),n)&&(e="^(?=.*?"+U.map(e.match(/"[^"]+"|[^ ]+/g)||[""],function(e){if('"'===e.charAt(0)){var t=e.match(/^"(.*)"$/);e=t?t[1]:e}return e.replace('"',"")}).join(")(?=.*?")+").*$");return new RegExp(e,r?"i":"")}var Ae=k.util.escapeRegex,Se=U("<div>")[0],Te=Se.textContent!==H;function xe(e){var t,n,r,i,a,o,s,c,l=e.aoColumns,u=k.ext.type.search,f=!1;for(n=0,i=e.aoData.length;n<i;n++)if(!(c=e.aoData[n])._aFilterData){for(o=[],r=0,a=l.length;r<a;r++)(t=l[r]).bSearchable?(s=x(e,n,r,"filter"),u[t.sType]&&(s=u[t.sType](s)),null===s&&(s=""),"string"!=typeof s&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(Se.innerHTML=s,s=Te?Se.textContent:Se.innerText),s.replace&&(s=s.replace(/[\r\n\u2028]/g,"")),o.push(s);c._aFilterData=o,c._sFilterRow=o.join(" "),f=!0}return f}function ke(e){return{search:e.sSearch,smart:e.bSmart,regex:e.bRegex,caseInsensitive:e.bCaseInsensitive}}function Ee(e){return{sSearch:e.search,bSmart:e.smart,bRegex:e.regex,bCaseInsensitive:e.caseInsensitive}}function De(e){var t=e.sTableId,n=e.aanFeatures.i,r=U("<div/>",{class:e.oClasses.sInfo,id:n?null:t+"_info"});return n||(e.aoDrawCallback.push({fn:Ie,sName:"information"}),r.attr("role","status").attr("aria-live","polite"),U(e.nTable).attr("aria-describedby",t+"_info")),r[0]}function Ie(e){var t=e.aanFeatures.i;if(0!==t.length){var n=e.oLanguage,r=e._iDisplayStart+1,i=e.fnDisplayEnd(),a=e.fnRecordsTotal(),o=e.fnRecordsDisplay(),s=o?n.sInfo:n.sInfoEmpty;o!==a&&(s+=" "+n.sInfoFiltered),s=Pe(e,s+=n.sInfoPostFix);var c=n.fnInfoCallback;null!==c&&(s=c.call(e.oInstance,e,r,i,a,o,s)),U(t).html(s)}}function Pe(e,t){var n=e.fnFormatNumber,r=e._iDisplayStart+1,i=e._iDisplayLength,a=e.fnRecordsDisplay(),o=-1===i;return t.replace(/_START_/g,n.call(e,r)).replace(/_END_/g,n.call(e,e.fnDisplayEnd())).replace(/_MAX_/g,n.call(e,e.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(e,a)).replace(/_PAGE_/g,n.call(e,o?1:Math.ceil(r/i))).replace(/_PAGES_/g,n.call(e,o?1:Math.ceil(a/i)))}function Me(n){var r,e,t,i=n.iInitDisplayStart,a=n.aoColumns,o=n.oFeatures,s=n.bDeferLoading;if(n.bInitialised){for(le(n),ae(n),oe(n,n.aoHeader),oe(n,n.aoFooter),Ge(n,!0),o.bAutoWidth&&We(n),r=0,e=a.length;r<e;r++)(t=a[r]).sWidth&&(t.nTh.style.width=Ke(t.sWidth));ft(n,null,"preInit",[n]),ce(n);var c=pt(n);("ssp"!=c||s)&&("ajax"==c?de(n,[],function(e){var t=ge(n,e);for(r=0;r<t.length;r++)G(n,t[r]);n.iInitDisplayStart=i,ce(n),Ge(n,!1),$e(n,e)}):(Ge(n,!1),$e(n)))}else setTimeout(function(){Me(n)},200)}function $e(e,t){e._bInitComplete=!0,(t||e.oInit.aaData)&&q(e),ft(e,null,"plugin-init",[e,t]),ft(e,"aoInitComplete","init",[e,t])}function Oe(e,t){var n=parseInt(t,10);e._iDisplayLength=n,dt(e),ft(e,null,"length",[e,n])}function Re(r){for(var e=r.oClasses,t=r.sTableId,n=r.aLengthMenu,i=U.isArray(n[0]),a=i?n[0]:n,o=i?n[1]:n,s=U("<select/>",{name:t+"_length","aria-controls":t,class:e.sLengthSelect}),c=0,l=a.length;c<l;c++)s[0][c]=new Option("number"==typeof o[c]?r.fnFormatNumber(o[c]):o[c],a[c]);var u=U("<div><label/></div>").addClass(e.sLength);return r.aanFeatures.l||(u[0].id=t+"_length"),u.children().append(r.oLanguage.sLengthMenu.replace("_MENU_",s[0].outerHTML)),U("select",u).val(r._iDisplayLength).on("change.DT",function(e){Oe(r,U(this).val()),se(r)}),U(r.nTable).on("length.dt.DT",function(e,t,n){r===t&&U("select",u).val(n)}),u[0]}function Ne(e){var t=e.sPaginationType,u=k.ext.pager[t],f="function"==typeof u,d=function(e){se(e)},n=U("<div/>").addClass(e.oClasses.sPaging+t)[0],h=e.aanFeatures;return f||u.fnInit(e,n,d),h.p||(n.id=e.sTableId+"_paginate",e.aoDrawCallback.push({fn:function(e){if(f){var t,n,r=e._iDisplayStart,i=e._iDisplayLength,a=e.fnRecordsDisplay(),o=-1===i,s=o?0:Math.ceil(r/i),c=o?1:Math.ceil(a/i),l=u(s,c);for(t=0,n=h.p.length;t<n;t++)ht(e,"pageButton")(e,h.p[t],t,l,s,c)}else u.fnUpdate(e,d)},sName:"pagination"})),n}function Le(e,t,n){var r=e._iDisplayStart,i=e._iDisplayLength,a=e.fnRecordsDisplay();0===a||-1===i?r=0:"number"==typeof t?a<(r=t*i)&&(r=0):"first"==t?r=0:"previous"==t?(r=0<=i?r-i:0)<0&&(r=0):"next"==t?r+i<a&&(r+=i):"last"==t?r=Math.floor((a-1)/i)*i:ot(e,0,"Unknown paging action: "+t,5);var o=e._iDisplayStart!==r;return e._iDisplayStart=r,o&&(ft(e,null,"page",[e]),n&&se(e)),o}function Fe(e){return U("<div/>",{id:e.aanFeatures.r?null:e.sTableId+"_processing",class:e.oClasses.sProcessing}).html(e.oLanguage.sProcessing).insertBefore(e.nTable)[0]}function Ge(e,t){e.oFeatures.bProcessing&&U(e.aanFeatures.r).css("display",t?"block":"none"),ft(e,null,"processing",[e,t])}function je(e){var t=U(e.nTable);t.attr("role","grid");var n=e.oScroll;if(""===n.sX&&""===n.sY)return e.nTable;var r=n.sX,i=n.sY,a=e.oClasses,o=t.children("caption"),s=o.length?o[0]._captionSide:null,c=U(t[0].cloneNode(!1)),l=U(t[0].cloneNode(!1)),u=t.children("tfoot"),f="<div/>",d=function(e){return e?Ke(e):null};u.length||(u=null);var h=U(f,{class:a.sScrollWrapper}).append(U(f,{class:a.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:r?d(r):"100%"}).append(U(f,{class:a.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(c.removeAttr("id").css("margin-left",0).append("top"===s?o:null).append(t.children("thead"))))).append(U(f,{class:a.sScrollBody}).css({position:"relative",overflow:"auto",width:d(r)}).append(t));u&&h.append(U(f,{class:a.sScrollFoot}).css({overflow:"hidden",border:0,width:r?d(r):"100%"}).append(U(f,{class:a.sScrollFootInner}).append(l.removeAttr("id").css("margin-left",0).append("bottom"===s?o:null).append(t.children("tfoot")))));var p=h.children(),m=p[0],g=p[1],_=u?p[2]:null;return r&&U(g).on("scroll.DT",function(e){var t=this.scrollLeft;m.scrollLeft=t,u&&(_.scrollLeft=t)}),U(g).css("max-height",i),n.bCollapse||U(g).css("height",i),e.nScrollHead=m,e.nScrollBody=g,e.nScrollFoot=_,e.aoDrawCallback.push({fn:Be,sName:"scrolling"}),h[0]}function Be(n){var e,t,r,i,a,o,s,c,l,u=n.oScroll,f=u.sX,d=u.sXInner,h=u.sY,p=u.iBarWidth,m=U(n.nScrollHead),g=m[0].style,_=m.children("div"),b=_[0].style,v=_.children("table"),y=n.nScrollBody,w=U(y),C=y.style,A=U(n.nScrollFoot).children("div"),S=A.children("table"),T=U(n.nTHead),x=U(n.nTable),k=x[0],E=k.style,D=n.nTFoot?U(n.nTFoot):null,I=n.oBrowser,P=I.bScrollOversize,M=W(n.aoColumns,"nTh"),$=[],O=[],R=[],N=[],L=function(e){var t=e.style;t.paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0},F=y.scrollHeight>y.clientHeight;if(n.scrollBarVis!==F&&n.scrollBarVis!==H)return n.scrollBarVis=F,void q(n);n.scrollBarVis=F,x.children("thead, tfoot").remove(),D&&(o=D.clone().prependTo(x),t=D.find("tr"),i=o.find("tr")),a=T.clone().prependTo(x),e=T.find("tr"),r=a.find("tr"),a.find("th, td").removeAttr("tabindex"),f||(C.width="100%",m[0].style.width="100%"),U.each(fe(n,a),function(e,t){s=z(n,e),t.style.width=n.aoColumns[s].sWidth}),D&&Ue(function(e){e.style.width=""},i),l=x.outerWidth(),""===f?(E.width="100%",P&&(x.find("tbody").height()>y.offsetHeight||"scroll"==w.css("overflow-y"))&&(E.width=Ke(x.outerWidth()-p)),l=x.outerWidth()):""!==d&&(E.width=Ke(d),l=x.outerWidth()),Ue(L,r),Ue(function(e){R.push(e.innerHTML),$.push(Ke(U(e).css("width")))},r),Ue(function(e,t){-1!==U.inArray(e,M)&&(e.style.width=$[t])},e),U(r).height(0),D&&(Ue(L,i),Ue(function(e){N.push(e.innerHTML),O.push(Ke(U(e).css("width")))},i),Ue(function(e,t){e.style.width=O[t]},t),U(i).height(0)),Ue(function(e,t){e.innerHTML='<div class="dataTables_sizing">'+R[t]+"</div>",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=$[t]},r),D&&Ue(function(e,t){e.innerHTML='<div class="dataTables_sizing">'+N[t]+"</div>",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=O[t]},i),x.outerWidth()<l?(c=y.scrollHeight>y.offsetHeight||"scroll"==w.css("overflow-y")?l+p:l,P&&(y.scrollHeight>y.offsetHeight||"scroll"==w.css("overflow-y"))&&(E.width=Ke(c-p)),""!==f&&""===d||ot(n,1,"Possible column misalignment",6)):c="100%",C.width=Ke(c),g.width=Ke(c),D&&(n.nScrollFoot.style.width=Ke(c)),h||P&&(C.height=Ke(k.offsetHeight+p));var G=x.outerWidth();v[0].style.width=Ke(G),b.width=Ke(G);var j=x.height()>y.clientHeight||"scroll"==w.css("overflow-y"),B="padding"+(I.bScrollbarLeft?"Left":"Right");b[B]=j?p+"px":"0px",D&&(S[0].style.width=Ke(G),A[0].style.width=Ke(G),A[0].style[B]=j?p+"px":"0px"),x.children("colgroup").insertBefore(x.children("thead")),w.trigger("scroll"),!n.bSorted&&!n.bFiltered||n._drawHold||(y.scrollTop=0)}function Ue(e,t,n){for(var r,i,a=0,o=0,s=t.length;o<s;){for(r=t[o].firstChild,i=n?n[o].firstChild:null;r;)1===r.nodeType&&(n?e(r,i,a):e(r,a),a++),r=r.nextSibling,i=n?i.nextSibling:null;o++}}var He=/<.*?>/g;function We(e){var t,n,r,i=e.nTable,a=e.aoColumns,o=e.oScroll,s=o.sY,c=o.sX,l=o.sXInner,u=a.length,f=L(e,"bVisible"),d=U("th",e.nTHead),h=i.getAttribute("width"),p=i.parentNode,m=!1,g=e.oBrowser,_=g.bScrollOversize,b=i.style.width;for(b&&-1!==b.indexOf("%")&&(h=b),t=0;t<f.length;t++)null!==(n=a[f[t]]).sWidth&&(n.sWidth=ze(n.sWidthOrig,p),m=!0);if(_||!m&&!c&&!s&&u==N(e)&&u==d.length)for(t=0;t<u;t++){var v=z(e,t);null!==v&&(a[v].sWidth=Ke(d.eq(t).width()))}else{var y=U(i).clone().css("visibility","hidden").removeAttr("id");y.find("tbody tr").remove();var w=U("<tr/>").appendTo(y.find("tbody"));for(y.find("thead, tfoot").remove(),y.append(U(e.nTHead).clone()).append(U(e.nTFoot).clone()),y.find("tfoot th, tfoot td").css("width",""),d=fe(e,y.find("thead")[0]),t=0;t<f.length;t++)n=a[f[t]],d[t].style.width=null!==n.sWidthOrig&&""!==n.sWidthOrig?Ke(n.sWidthOrig):"",n.sWidthOrig&&c&&U(d[t]).append(U("<div/>").css({width:n.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(e.aoData.length)for(t=0;t<f.length;t++)n=a[r=f[t]],U(Ve(e,r)).clone(!1).append(n.sContentPadding).appendTo(w);U("[name]",y).removeAttr("name");var C=U("<div/>").css(c||s?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(y).appendTo(p);c&&l?y.width(l):c?(y.css("width","auto"),y.removeAttr("width"),y.width()<p.clientWidth&&h&&y.width(p.clientWidth)):s?y.width(p.clientWidth):h&&y.width(h);var A=0;for(t=0;t<f.length;t++){var S=U(d[t]),T=S.outerWidth()-S.width(),x=g.bBounding?Math.ceil(d[t].getBoundingClientRect().width):S.outerWidth();A+=x,a[f[t]].sWidth=Ke(x-T)}i.style.width=Ke(A),C.remove()}if(h&&(i.style.width=Ke(h)),(h||c)&&!e._reszEvt){var k=function(){U(E).on("resize.DT-"+e.sInstance,qe(function(){q(e)}))};_?setTimeout(k,1e3):k(),e._reszEvt=!0}}var qe=k.util.throttle;function ze(e,t){if(!e)return 0;var n=U("<div/>").css("width",Ke(e)).appendTo(t||y.body),r=n[0].offsetWidth;return n.remove(),r}function Ve(e,t){var n=Ye(e,t);if(n<0)return null;var r=e.aoData[n];return r.nTr?r.anCells[t]:U("<td/>").html(x(e,n,t,"display"))[0]}function Ye(e,t){for(var n,r=-1,i=-1,a=0,o=e.aoData.length;a<o;a++)(n=(n=(n=x(e,a,t,"display")+"").replace(He,"")).replace(/ /g," ")).length>r&&(r=n.length,i=a);return i}function Ke(e){return null===e?"0px":"number"==typeof e?e<0?"0px":e+"px":e.match(/\d$/)?e+"px":e}function Qe(e){var t,n,r,i,a,o,s,c=[],l=e.aoColumns,u=e.aaSortingFixed,f=U.isPlainObject(u),d=[],h=function(e){e.length&&!U.isArray(e[0])?d.push(e):U.merge(d,e)};for(U.isArray(u)&&h(u),f&&u.pre&&h(u.pre),h(e.aaSorting),f&&u.post&&h(u.post),t=0;t<d.length;t++)for(n=0,r=(i=l[s=d[t][0]].aDataSort).length;n<r;n++)o=l[a=i[n]].sType||"string",d[t]._idx===H&&(d[t]._idx=U.inArray(d[t][1],l[a].asSorting)),c.push({src:s,col:a,dir:d[t][1],index:d[t]._idx,type:o,formatter:k.ext.type.order[o+"-pre"]});return c}function Xe(e){var t,n,r,i,u,f=[],d=k.ext.type.order,h=e.aoData,a=(e.aoColumns,0),o=e.aiDisplayMaster;for(T(e),t=0,n=(u=Qe(e)).length;t<n;t++)(i=u[t]).formatter&&a++,nt(e,i.col);if("ssp"!=pt(e)&&0!==u.length){for(t=0,r=o.length;t<r;t++)f[o[t]]=t;a===u.length?o.sort(function(e,t){var n,r,i,a,o,s=u.length,c=h[e]._aSortData,l=h[t]._aSortData;for(i=0;i<s;i++)if(0!==(a=(n=c[(o=u[i]).col])<(r=l[o.col])?-1:r<n?1:0))return"asc"===o.dir?a:-a;return(n=f[e])<(r=f[t])?-1:r<n?1:0}):o.sort(function(e,t){var n,r,i,a,o,s=u.length,c=h[e]._aSortData,l=h[t]._aSortData;for(i=0;i<s;i++)if(n=c[(o=u[i]).col],r=l[o.col],0!==(a=(d[o.type+"-"+o.dir]||d["string-"+o.dir])(n,r)))return a;return(n=f[e])<(r=f[t])?-1:r<n?1:0})}e.bSorted=!0}function Ze(e){for(var t,n=e.aoColumns,r=Qe(e),i=e.oLanguage.oAria,a=0,o=n.length;a<o;a++){var s=n[a],c=s.asSorting,l=s.sTitle.replace(/<.*?>/g,""),u=s.nTh;u.removeAttribute("aria-sort"),t=s.bSortable?l+("asc"===(0<r.length&&r[0].col==a?(u.setAttribute("aria-sort","asc"==r[0].dir?"ascending":"descending"),c[r[0].index+1]||c[0]):c[0])?i.sSortAscending:i.sSortDescending):l,u.setAttribute("aria-label",t)}}function Je(e,t,n,r){var i,a=e.aoColumns[t],o=e.aaSorting,s=a.asSorting,c=function(e,t){var n=e._idx;return n===H&&(n=U.inArray(e[1],s)),n+1<s.length?n+1:t?null:0};if("number"==typeof o[0]&&(o=e.aaSorting=[o]),n&&e.oFeatures.bSortMulti){var l=U.inArray(t,W(o,"0"));-1!==l?(null===(i=c(o[l],!0))&&1===o.length&&(i=0),null===i?o.splice(l,1):(o[l][1]=s[i],o[l]._idx=i)):(o.push([t,s[0],0]),o[o.length-1]._idx=0)}else o.length&&o[0][0]==t?(i=c(o[0]),o.length=1,o[0][1]=s[i],o[0]._idx=i):(o.length=0,o.push([t,s[0]]),o[0]._idx=0);ce(e),"function"==typeof r&&r(e)}function et(t,e,n,r){var i=t.aoColumns[n];lt(e,{},function(e){!1!==i.bSortable&&(t.oFeatures.bProcessing?(Ge(t,!0),setTimeout(function(){Je(t,n,e.shiftKey,r),"ssp"!==pt(t)&&Ge(t,!1)},0)):Je(t,n,e.shiftKey,r))})}function tt(e){var t,n,r,i=e.aLastSort,a=e.oClasses.sSortColumn,o=Qe(e),s=e.oFeatures;if(s.bSort&&s.bSortClasses){for(t=0,n=i.length;t<n;t++)r=i[t].src,U(W(e.aoData,"anCells",r)).removeClass(a+(t<2?t+1:3));for(t=0,n=o.length;t<n;t++)r=o[t].src,U(W(e.aoData,"anCells",r)).addClass(a+(t<2?t+1:3))}e.aLastSort=o}function nt(e,t){var n,r,i,a=e.aoColumns[t],o=k.ext.order[a.sSortDataType];o&&(n=o.call(e.oInstance,e,t,S(e,t)));for(var s=k.ext.type.order[a.sType+"-pre"],c=0,l=e.aoData.length;c<l;c++)(r=e.aoData[c])._aSortData||(r._aSortData=[]),r._aSortData[t]&&!o||(i=o?n[c]:x(e,c,t,"sort"),r._aSortData[t]=s?s(i):i)}function rt(n){if(n.oFeatures.bStateSave&&!n.bDestroying){var e={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:U.extend(!0,[],n.aaSorting),search:ke(n.oPreviousSearch),columns:U.map(n.aoColumns,function(e,t){return{visible:e.bVisible,search:ke(n.aoPreSearchCols[t])}})};ft(n,"aoStateSaveParams","stateSaveParams",[n,e]),n.oSavedState=e,n.fnStateSaveCallback.call(n.oInstance,n,e)}}function it(i,e,a){var o,s,c=i.aoColumns,t=function(e){if(e&&e.time){var t=ft(i,"aoStateLoadParams","stateLoadParams",[i,e]);if(-1===U.inArray(!1,t)){var n=i.iStateDuration;if(0<n&&e.time<+new Date-1e3*n)a();else if(e.columns&&c.length!==e.columns.length)a();else{if(i.oLoadedState=U.extend(!0,{},e),e.start!==H&&(i._iDisplayStart=e.start,i.iInitDisplayStart=e.start),e.length!==H&&(i._iDisplayLength=e.length),e.order!==H&&(i.aaSorting=[],U.each(e.order,function(e,t){i.aaSorting.push(t[0]>=c.length?[0,t[1]]:t)})),e.search!==H&&U.extend(i.oPreviousSearch,Ee(e.search)),e.columns)for(o=0,s=e.columns.length;o<s;o++){var r=e.columns[o];r.visible!==H&&(c[o].bVisible=r.visible),r.search!==H&&U.extend(i.aoPreSearchCols[o],Ee(r.search))}ft(i,"aoStateLoaded","stateLoaded",[i,e]),a()}}else a()}else a()};if(i.oFeatures.bStateSave){var n=i.fnStateLoadCallback.call(i.oInstance,i,t);n!==H&&t(n)}else a()}function at(e){var t=k.settings,n=U.inArray(e,W(t,"nTable"));return-1!==n?t[n]:null}function ot(e,t,n,r){if(n="DataTables warning: "+(e?"table id="+e.sTableId+" - ":"")+n,r&&(n+=". For more information about this error, please see http://datatables.net/tn/"+r),t)E.console&&console.log&&console.log(n);else{var i=k.ext,a=i.sErrMode||i.errMode;if(e&&ft(e,null,"error",[e,r,n]),"alert"==a)alert(n);else{if("throw"==a)throw new Error(n);"function"==typeof a&&a(e,r,n)}}}function st(n,r,e,t){U.isArray(e)?U.each(e,function(e,t){U.isArray(t)?st(n,r,t[0],t[1]):st(n,r,t)}):(t===H&&(t=e),r[e]!==H&&(n[t]=r[e]))}function ct(e,t,n){var r;for(var i in t)t.hasOwnProperty(i)&&(r=t[i],U.isPlainObject(r)?(U.isPlainObject(e[i])||(e[i]={}),U.extend(!0,e[i],r)):n&&"data"!==i&&"aaData"!==i&&U.isArray(r)?e[i]=r.slice():e[i]=r);return e}function lt(t,e,n){U(t).on("click.DT",e,function(e){U(t).trigger("blur"),n(e)}).on("keypress.DT",e,function(e){13===e.which&&(e.preventDefault(),n(e))}).on("selectstart.DT",function(){return!1})}function ut(e,t,n,r){n&&e[t].push({fn:n,sName:r})}function ft(n,e,t,r){var i=[];if(e&&(i=U.map(n[e].slice().reverse(),function(e,t){return e.fn.apply(n.oInstance,r)})),null!==t){var a=U.Event(t+".dt");U(n.nTable).trigger(a,r),i.push(a.result)}return i}function dt(e){var t=e._iDisplayStart,n=e.fnDisplayEnd(),r=e._iDisplayLength;n<=t&&(t=n-r),t-=t%r,(-1===r||t<0)&&(t=0),e._iDisplayStart=t}function ht(e,t){var n=e.renderer,r=k.ext.renderer[t];return U.isPlainObject(n)&&n[t]?r[n[t]]||r._:"string"==typeof n&&r[n]||r._}function pt(e){return e.oFeatures.bServerSide?"ssp":e.ajax||e.sAjaxSource?"ajax":"dom"}var mt=[],gt=Array.prototype;b=function(e,t){if(!(this instanceof b))return new b(e,t);var s=[],n=function(e){var t,n,r,i,a,o=(t=e,i=k.settings,a=U.map(i,function(e,t){return e.nTable}),t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(n=U.inArray(t,a))?[i[n]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?r=U(t):t instanceof U&&(r=t),r?r.map(function(e){return-1!==(n=U.inArray(this,a))?i[n]:null}).toArray():void 0):[]);o&&s.push.apply(s,o)};if(U.isArray(e))for(var r=0,i=e.length;r<i;r++)n(e[r]);else n(e);this.context=g(s),t&&U.merge(this,t),this.selector={rows:null,cols:null,opts:null},b.extend(this,this,mt)},k.Api=b,U.extend(b.prototype,{any:function(){return 0!==this.count()},concat:gt.concat,context:[],count:function(){return this.flatten().length},each:function(e){for(var t=0,n=this.length;t<n;t++)e.call(this,this[t],t,this);return this},eq:function(e){var t=this.context;return t.length>e?new b(t[e],this[e]):null},filter:function(e){var t=[];if(gt.filter)t=gt.filter.call(this,e,this);else for(var n=0,r=this.length;n<r;n++)e.call(this,this[n],n,this)&&t.push(this[n]);return new b(this.context,t)},flatten:function(){var e=[];return new b(this.context,e.concat.apply(e,this.toArray()))},join:gt.join,indexOf:gt.indexOf||function(e,t){for(var n=t||0,r=this.length;n<r;n++)if(this[n]===e)return n;return-1},iterator:function(e,t,n,r){var i,a,o,s,c,l,u,f,d=[],h=this.context,p=this.selector;for("string"==typeof e&&(r=n,n=t,t=e,e=!1),a=0,o=h.length;a<o;a++){var m=new b(h[a]);if("table"===t)(i=n.call(m,h[a],a))!==H&&d.push(i);else if("columns"===t||"rows"===t)(i=n.call(m,h[a],this[a],a))!==H&&d.push(i);else if("column"===t||"column-rows"===t||"row"===t||"cell"===t)for(u=this[a],"column-rows"===t&&(l=Ct(h[a],p.opts)),s=0,c=u.length;s<c;s++)f=u[s],(i="cell"===t?n.call(m,h[a],f.row,f.column,a,s):n.call(m,h[a],f,a,s,l))!==H&&d.push(i)}if(d.length||r){var g=new b(h,e?d.concat.apply([],d):d),_=g.selector;return _.rows=p.rows,_.cols=p.cols,_.opts=p.opts,g}return this},lastIndexOf:gt.lastIndexOf||function(e,t){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(e){var t=[];if(gt.map)t=gt.map.call(this,e,this);else for(var n=0,r=this.length;n<r;n++)t.push(e.call(this,this[n],n));return new b(this.context,t)},pluck:function(t){return this.map(function(e){return e[t]})},pop:gt.pop,push:gt.push,reduce:gt.reduce||function(e,t){return A(this,e,t,0,this.length,1)},reduceRight:gt.reduceRight||function(e,t){return A(this,e,t,this.length-1,-1,-1)},reverse:gt.reverse,selector:null,shift:gt.shift,slice:function(){return new b(this.context,this)},sort:gt.sort,splice:gt.splice,toArray:function(){return gt.slice.call(this)},to$:function(){return U(this)},toJQuery:function(){return U(this)},unique:function(){return new b(this.context,g(this))},unshift:gt.unshift}),b.extend=function(e,t,n){if(n.length&&t&&(t instanceof b||t.__dt_wrapper)){var r,i,a,o=function(t,n,r){return function(){var e=n.apply(t,arguments);return b.extend(e,e,r.methodExt),e}};for(r=0,i=n.length;r<i;r++)t[(a=n[r]).name]="function"===a.type?o(e,a.val,a):"object"===a.type?{}:a.val,t[a.name].__dt_wrapper=!0,b.extend(e,t[a.name],a.propExt)}},b.register=t=function(e,t){if(U.isArray(e))for(var n=0,r=e.length;n<r;n++)b.register(e[n],t);else{var i,a,o,s,c=e.split("."),l=mt,u=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n].name===t)return e[n];return null};for(i=0,a=c.length;i<a;i++){var f=u(l,o=(s=-1!==c[i].indexOf("()"))?c[i].replace("()",""):c[i]);f||(f={name:o,val:{},methodExt:[],propExt:[],type:"object"},l.push(f)),i===a-1?(f.val=t,f.type="function"==typeof t?"function":U.isPlainObject(t)?"object":"other"):l=s?f.methodExt:f.propExt}}},b.registerPlural=e=function(e,t,n){b.register(e,n),b.register(t,function(){var e=n.apply(this,arguments);return e===this?this:e instanceof b?e.length?U.isArray(e[0])?new b(e.context,e[0]):e[0]:H:e})};var _t=function(e,n){if(U.isArray(e))return U.map(e,function(e){return _t(e,n)});if("number"==typeof e)return[n[e]];var r=U.map(n,function(e,t){return e.nTable});return U(r).filter(e).map(function(e){var t=U.inArray(this,r);return n[t]}).toArray()};t("tables()",function(e){return e!==H&&null!==e?new b(_t(e,this.context)):this}),t("table()",function(e){var t=this.tables(e),n=t.context;return n.length?new b(n[0]):t}),e("tables().nodes()","table().node()",function(){return this.iterator("table",function(e){return e.nTable},1)}),e("tables().body()","table().body()",function(){return this.iterator("table",function(e){return e.nTBody},1)}),e("tables().header()","table().header()",function(){return this.iterator("table",function(e){return e.nTHead},1)}),e("tables().footer()","table().footer()",function(){return this.iterator("table",function(e){return e.nTFoot},1)}),e("tables().containers()","table().container()",function(){return this.iterator("table",function(e){return e.nTableWrapper},1)}),t("draw()",function(t){return this.iterator("table",function(e){"page"===t?se(e):("string"==typeof t&&(t="full-hold"!==t),ce(e,!1===t))})}),t("page()",function(t){return t===H?this.page.info().page:this.iterator("table",function(e){Le(e,t)})}),t("page.info()",function(e){if(0===this.context.length)return H;var t=this.context[0],n=t._iDisplayStart,r=t.oFeatures.bPaginate?t._iDisplayLength:-1,i=t.fnRecordsDisplay(),a=-1===r;return{page:a?0:Math.floor(n/r),pages:a?1:Math.ceil(i/r),start:n,end:t.fnDisplayEnd(),length:r,recordsTotal:t.fnRecordsTotal(),recordsDisplay:i,serverSide:"ssp"===pt(t)}}),t("page.len()",function(t){return t===H?0!==this.context.length?this.context[0]._iDisplayLength:H:this.iterator("table",function(e){Oe(e,t)})});var bt=function(i,a,e){if(e){var t=new b(i);t.one("draw",function(){e(t.ajax.json())})}if("ssp"==pt(i))ce(i,a);else{Ge(i,!0);var n=i.jqXHR;n&&4!==n.readyState&&n.abort(),de(i,[],function(e){J(i);for(var t=ge(i,e),n=0,r=t.length;n<r;n++)G(i,t[n]);ce(i,a),Ge(i,!1)})}};t("ajax.json()",function(){var e=this.context;if(0<e.length)return e[0].json}),t("ajax.params()",function(){var e=this.context;if(0<e.length)return e[0].oAjaxData}),t("ajax.reload()",function(t,n){return this.iterator("table",function(e){bt(e,!1===n,t)})}),t("ajax.url()",function(t){var e=this.context;return t===H?0===e.length?H:(e=e[0]).ajax?U.isPlainObject(e.ajax)?e.ajax.url:e.ajax:e.sAjaxSource:this.iterator("table",function(e){U.isPlainObject(e.ajax)?e.ajax.url=t:e.ajax=t})}),t("ajax.url().load()",function(t,n){return this.iterator("table",function(e){bt(e,!1===n,t)})});var vt=function(e,t,n,r,i){var a,o,s,c,l,u,f=[],d=typeof t;for(t&&"string"!==d&&"function"!==d&&t.length!==H||(t=[t]),s=0,c=t.length;s<c;s++)for(l=0,u=(o=t[s]&&t[s].split&&!t[s].match(/[\[\(:]/)?t[s].split(","):[t[s]]).length;l<u;l++)(a=n("string"==typeof o[l]?U.trim(o[l]):o[l]))&&a.length&&(f=f.concat(a));var h=p.selector[e];if(h.length)for(s=0,c=h.length;s<c;s++)f=h[s](r,i,f);return g(f)},yt=function(e){return e||(e={}),e.filter&&e.search===H&&(e.search=e.filter),U.extend({search:"none",order:"current",page:"all"},e)},wt=function(e){for(var t=0,n=e.length;t<n;t++)if(0<e[t].length)return e[0]=e[t],e[0].length=1,e.length=1,e.context=[e.context[t]],e;return e.length=0,e},Ct=function(e,t){var n,r=[],i=e.aiDisplay,a=e.aiDisplayMaster,o=t.search,s=t.order,c=t.page;if("ssp"==pt(e))return"removed"===o?[]:m(0,a.length);if("current"==c)for(u=e._iDisplayStart,f=e.fnDisplayEnd();u<f;u++)r.push(i[u]);else if("current"==s||"applied"==s){if("none"==o)r=a.slice();else if("applied"==o)r=i.slice();else if("removed"==o){for(var l={},u=0,f=i.length;u<f;u++)l[i[u]]=null;r=U.map(a,function(e){return l.hasOwnProperty(e)?null:e})}}else if("index"==s||"original"==s)for(u=0,f=e.aoData.length;u<f;u++)"none"==o?r.push(u):(-1===(n=U.inArray(u,i))&&"removed"==o||0<=n&&"applied"==o)&&r.push(u);return r};t("rows()",function(t,n){t===H?t="":U.isPlainObject(t)&&(n=t,t=""),n=yt(n);var e=this.iterator("table",function(e){return vt("row",t,function(n){var e=h(n),r=c.aoData;if(null!==e&&!l)return[e];if(u||(u=Ct(c,l)),null!==e&&-1!==U.inArray(e,u))return[e];if(null===n||n===H||""===n)return u;if("function"==typeof n)return U.map(u,function(e){var t=r[e];return n(e,t._aData,t.nTr)?e:null});if(n.nodeName){var t=n._DT_RowIndex,i=n._DT_CellIndex;if(t!==H)return r[t]&&r[t].nTr===n?[t]:[];if(i)return r[i.row]&&r[i.row].nTr===n.parentNode?[i.row]:[];var a=U(n).closest("*[data-dt-row]");return a.length?[a.data("dt-row")]:[]}if("string"==typeof n&&"#"===n.charAt(0)){var o=c.aIds[n.replace(/^#/,"")];if(o!==H)return[o.idx]}var s=w(v(c.aoData,u,"nTr"));return U(s).filter(n).map(function(){return this._DT_RowIndex}).toArray()},c=e,l=n);var c,l,u},1);return e.selector.rows=t,e.selector.opts=n,e}),t("rows().nodes()",function(){return this.iterator("row",function(e,t){return e.aoData[t].nTr||H},1)}),t("rows().data()",function(){return this.iterator(!0,"rows",function(e,t){return v(e.aoData,t,"_aData")},1)}),e("rows().cache()","row().cache()",function(r){return this.iterator("row",function(e,t){var n=e.aoData[t];return"search"===r?n._aFilterData:n._aSortData},1)}),e("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(e,t){te(e,t,n)})}),e("rows().indexes()","row().index()",function(){return this.iterator("row",function(e,t){return t},1)}),e("rows().ids()","row().id()",function(e){for(var t=[],n=this.context,r=0,i=n.length;r<i;r++)for(var a=0,o=this[r].length;a<o;a++){var s=n[r].rowIdFn(n[r].aoData[this[r][a]]._aData);t.push((!0===e?"#":"")+s)}return new b(n,t)}),e("rows().remove()","row().remove()",function(){var d=this;return this.iterator("row",function(e,t,n){var r,i,a,o,s,c,l=e.aoData,u=l[t];for(l.splice(t,1),r=0,i=l.length;r<i;r++)if(c=(s=l[r]).anCells,null!==s.nTr&&(s.nTr._DT_RowIndex=r),null!==c)for(a=0,o=c.length;a<o;a++)c[a]._DT_CellIndex.row=r;ee(e.aiDisplayMaster,t),ee(e.aiDisplay,t),ee(d[n],t,!1),0<e._iRecordsDisplay&&e._iRecordsDisplay--,dt(e);var f=e.rowIdFn(u._aData);f!==H&&delete e.aIds[f]}),this.iterator("table",function(e){for(var t=0,n=e.aoData.length;t<n;t++)e.aoData[t].idx=t}),this}),t("rows.add()",function(a){var e=this.iterator("table",function(e){var t,n,r,i=[];for(n=0,r=a.length;n<r;n++)(t=a[n]).nodeName&&"TR"===t.nodeName.toUpperCase()?i.push(j(e,t)[0]):i.push(G(e,t));return i},1),t=this.rows(-1);return t.pop(),U.merge(t,e),t}),t("row()",function(e,t){return wt(this.rows(e,t))}),t("row().data()",function(e){var t=this.context;if(e===H)return t.length&&this.length?t[0].aoData[this[0]]._aData:H;var n=t[0].aoData[this[0]];return n._aData=e,U.isArray(e)&&n.nTr&&n.nTr.id&&X(t[0].rowId)(e,n.nTr.id),te(t[0],this[0],"data"),this}),t("row().node()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]].nTr||null}),t("row.add()",function(t){t instanceof U&&t.length&&(t=t[0]);var e=this.iterator("table",function(e){return t.nodeName&&"TR"===t.nodeName.toUpperCase()?j(e,t)[0]:G(e,t)});return this.row(e[0])});var At=function(e,t){var n=e.context;if(n.length){var r=n[0].aoData[t!==H?t:e[0]];r&&r._details&&(r._details.remove(),r._detailsShow=H,r._details=H)}},St=function(e,t){var n=e.context;if(n.length&&e.length){var r=n[0].aoData[e[0]];r._details&&((r._detailsShow=t)?r._details.insertAfter(r.nTr):r._details.detach(),Tt(n[0]))}},Tt=function(c){var i=new b(c),e=".dt.DT_details",t="draw"+e,n="column-visibility"+e,r="destroy"+e,l=c.aoData;i.off(t+" "+n+" "+r),0<W(l,"_details").length&&(i.on(t,function(e,t){c===t&&i.rows({page:"current"}).eq(0).each(function(e){var t=l[e];t._detailsShow&&t._details.insertAfter(t.nTr)})}),i.on(n,function(e,t,n,r){if(c===t)for(var i,a=N(t),o=0,s=l.length;o<s;o++)(i=l[o])._details&&i._details.children("td[colspan]").attr("colspan",a)}),i.on(r,function(e,t){if(c===t)for(var n=0,r=l.length;n<r;n++)l[n]._details&&At(i,n)}))},xt="row().child",kt=xt+"()";t(kt,function(e,t){var a,n,o,s,r=this.context;return e===H?r.length&&this.length?r[0].aoData[this[0]]._details:H:(!0===e?this.child.show():!1===e?At(this):r.length&&this.length&&(a=r[0],n=r[0].aoData[this[0]],o=[],(s=function(e,t){if(U.isArray(e)||e instanceof U)for(var n=0,r=e.length;n<r;n++)s(e[n],t);else if(e.nodeName&&"tr"===e.nodeName.toLowerCase())o.push(e);else{var i=U("<tr><td/></tr>").addClass(t);U("td",i).addClass(t).html(e)[0].colSpan=N(a),o.push(i[0])}})(e,t),n._details&&n._details.detach(),n._details=U(o),n._detailsShow&&n._details.insertAfter(n.nTr)),this)}),t([xt+".show()",kt+".show()"],function(e){return St(this,!0),this}),t([xt+".hide()",kt+".hide()"],function(){return St(this,!1),this}),t([xt+".remove()",kt+".remove()"],function(){return At(this),this}),t(xt+".isShown()",function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]]._detailsShow||!1});var Et=/^([^:]+):(name|visIdx|visible)$/,Dt=function(e,t,n,r,i){for(var a=[],o=0,s=i.length;o<s;o++)a.push(x(e,i[o],t));return a};t("columns()",function(n,r){n===H?n="":U.isPlainObject(n)&&(r=n,n=""),r=yt(r);var e=this.iterator("table",function(e){return t=n,l=r,u=(c=e).aoColumns,f=W(u,"sName"),d=W(u,"nTh"),vt("column",t,function(n){var e=h(n);if(""===n)return m(u.length);if(null!==e)return[0<=e?e:u.length+e];if("function"==typeof n){var r=Ct(c,l);return U.map(u,function(e,t){return n(t,Dt(c,t,0,0,r),d[t])?t:null})}var i="string"==typeof n?n.match(Et):"";if(i)switch(i[2]){case"visIdx":case"visible":var t=parseInt(i[1],10);if(t<0){var a=U.map(u,function(e,t){return e.bVisible?t:null});return[a[a.length+t]]}return[z(c,t)];case"name":return U.map(f,function(e,t){return e===i[1]?t:null});default:return[]}if(n.nodeName&&n._DT_CellIndex)return[n._DT_CellIndex.column];var o=U(d).filter(n).map(function(){return U.inArray(this,d)}).toArray();if(o.length||!n.nodeName)return o;var s=U(n).closest("*[data-dt-column]");return s.length?[s.data("dt-column")]:[]},c,l);var c,t,l,u,f,d},1);return e.selector.cols=n,e.selector.opts=r,e}),e("columns().header()","column().header()",function(e,t){return this.iterator("column",function(e,t){return e.aoColumns[t].nTh},1)}),e("columns().footer()","column().footer()",function(e,t){return this.iterator("column",function(e,t){return e.aoColumns[t].nTf},1)}),e("columns().data()","column().data()",function(){return this.iterator("column-rows",Dt,1)}),e("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(e,t){return e.aoColumns[t].mData},1)}),e("columns().cache()","column().cache()",function(a){return this.iterator("column-rows",function(e,t,n,r,i){return v(e.aoData,i,"search"===a?"_aFilterData":"_aSortData",t)},1)}),e("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(e,t,n,r,i){return v(e.aoData,i,"anCells",t)},1)}),e("columns().visible()","column().visible()",function(n,r){var t=this,e=this.iterator("column",function(e,t){if(n===H)return e.aoColumns[t].bVisible;!function(e,t,n){var r,i,a,o,s=e.aoColumns,c=s[t],l=e.aoData;if(n===H)return c.bVisible;if(c.bVisible!==n){if(n){var u=U.inArray(!0,W(s,"bVisible"),t+1);for(i=0,a=l.length;i<a;i++)o=l[i].nTr,r=l[i].anCells,o&&o.insertBefore(r[t],r[u]||null)}else U(W(e.aoData,"anCells",t)).detach();c.bVisible=n}}(e,t,n)});return n!==H&&this.iterator("table",function(e){oe(e,e.aoHeader),oe(e,e.aoFooter),e.aiDisplay.length||U(e.nTBody).find("td[colspan]").attr("colspan",N(e)),rt(e),t.iterator("column",function(e,t){ft(e,null,"column-visibility",[e,t,n,r])}),(r===H||r)&&t.columns.adjust()}),e}),e("columns().indexes()","column().index()",function(n){return this.iterator("column",function(e,t){return"visible"===n?S(e,t):t},1)}),t("columns.adjust()",function(){return this.iterator("table",function(e){q(e)},1)}),t("column.index()",function(e,t){if(0!==this.context.length){var n=this.context[0];if("fromVisible"===e||"toData"===e)return z(n,t);if("fromData"===e||"toVisible"===e)return S(n,t)}}),t("column()",function(e,t){return wt(this.columns(e,t))});t("cells()",function(g,e,_){if(U.isPlainObject(g)&&(g.row===H?(_=g,g=null):(_=e,e=null)),U.isPlainObject(e)&&(_=e,e=null),null===e||e===H)return this.iterator("table",function(e){return r=e,t=g,n=yt(_),f=r.aoData,d=Ct(r,n),h=w(v(f,d,"anCells")),p=U([].concat.apply([],h)),m=r.aoColumns.length,vt("cell",t,function(e){var t="function"==typeof e;if(null===e||e===H||t){for(a=[],o=0,s=d.length;o<s;o++)for(i=d[o],c=0;c<m;c++)l={row:i,column:c},t?(u=f[i],e(l,x(r,i,c),u.anCells?u.anCells[c]:null)&&a.push(l)):a.push(l);return a}if(U.isPlainObject(e))return e.column!==H&&e.row!==H&&-1!==U.inArray(e.row,d)?[e]:[];var n=p.filter(e).map(function(e,t){return{row:t._DT_CellIndex.row,column:t._DT_CellIndex.column}}).toArray();return n.length||!e.nodeName?n:(u=U(e).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]},r,n);var r,t,n,i,a,o,s,c,l,u,f,d,h,p,m});var r,i,a,o,t=_?{page:_.page,order:_.order,search:_.search}:{},s=this.columns(e,t),c=this.rows(g,t),n=this.iterator("table",function(e,t){var n=[];for(r=0,i=c[t].length;r<i;r++)for(a=0,o=s[t].length;a<o;a++)n.push({row:c[t][r],column:s[t][a]});return n},1),l=_&&_.selected?this.cells(n,_):n;return U.extend(l.selector,{cols:e,rows:g,opts:_}),l}),e("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(e,t,n){var r=e.aoData[t];return r&&r.anCells?r.anCells[n]:H},1)}),t("cells().data()",function(){return this.iterator("cell",function(e,t,n){return x(e,t,n)},1)}),e("cells().cache()","cell().cache()",function(r){return r="search"===r?"_aFilterData":"_aSortData",this.iterator("cell",function(e,t,n){return e.aoData[t][r][n]},1)}),e("cells().render()","cell().render()",function(r){return this.iterator("cell",function(e,t,n){return x(e,t,n,r)},1)}),e("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(e,t,n){return{row:t,column:n,columnVisible:S(e,n)}},1)}),e("cells().invalidate()","cell().invalidate()",function(r){return this.iterator("cell",function(e,t,n){te(e,t,r,n)})}),t("cell()",function(e,t,n){return wt(this.cells(e,t,n))}),t("cell().data()",function(e){var t=this.context,n=this[0];return e===H?t.length&&n.length?x(t[0],n[0].row,n[0].column):H:(B(t[0],n[0].row,n[0].column,e),te(t[0],n[0].row,"data",n[0].column),this)}),t("order()",function(t,e){var n=this.context;return t===H?0!==n.length?n[0].aaSorting:H:("number"==typeof t?t=[[t,e]]:t.length&&!U.isArray(t[0])&&(t=Array.prototype.slice.call(arguments)),this.iterator("table",function(e){e.aaSorting=t.slice()}))}),t("order.listener()",function(t,n,r){return this.iterator("table",function(e){et(e,t,n,r)})}),t("order.fixed()",function(t){if(t)return this.iterator("table",function(e){e.aaSortingFixed=U.extend(!0,{},t)});var e=this.context,n=e.length?e[0].aaSortingFixed:H;return U.isArray(n)?{pre:n}:n}),t(["columns().order()","column().order()"],function(r){var i=this;return this.iterator("table",function(e,t){var n=[];U.each(i[t],function(e,t){n.push([t,r])}),e.aaSorting=n})}),t("search()",function(t,n,r,i){var e=this.context;return t===H?0!==e.length?e[0].oPreviousSearch.sSearch:H:this.iterator("table",function(e){e.oFeatures.bFilter&&be(e,U.extend({},e.oPreviousSearch,{sSearch:t+"",bRegex:null!==n&&n,bSmart:null===r||r,bCaseInsensitive:null===i||i}),1)})}),e("columns().search()","column().search()",function(r,i,a,o){return this.iterator("column",function(e,t){var n=e.aoPreSearchCols;if(r===H)return n[t].sSearch;e.oFeatures.bFilter&&(U.extend(n[t],{sSearch:r+"",bRegex:null!==i&&i,bSmart:null===a||a,bCaseInsensitive:null===o||o}),be(e,e.oPreviousSearch,1))})}),t("state()",function(){return this.context.length?this.context[0].oSavedState:null}),t("state.clear()",function(){return this.iterator("table",function(e){e.fnStateSaveCallback.call(e.oInstance,e,{})})}),t("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),t("state.save()",function(){return this.iterator("table",function(e){rt(e)})}),k.versionCheck=k.fnVersionCheck=function(e){for(var t,n,r=k.version.split("."),i=e.split("."),a=0,o=i.length;a<o;a++)if((t=parseInt(r[a],10)||0)!==(n=parseInt(i[a],10)||0))return n<t;return!0},k.isDataTable=k.fnIsDataTable=function(e){var i=U(e).get(0),a=!1;return e instanceof k.Api||(U.each(k.settings,function(e,t){var n=t.nScrollHead?U("table",t.nScrollHead)[0]:null,r=t.nScrollFoot?U("table",t.nScrollFoot)[0]:null;t.nTable!==i&&n!==i&&r!==i||(a=!0)}),a)},k.tables=k.fnTables=function(t){var e=!1;U.isPlainObject(t)&&(e=t.api,t=t.visible);var n=U.map(k.settings,function(e){if(!t||t&&U(e.nTable).is(":visible"))return e.nTable});return e?new b(n):n},k.camelToHungarian=D,t("$()",function(e,t){var n=this.rows(t).nodes(),r=U(n);return U([].concat(r.filter(e).toArray(),r.find(e).toArray()))}),U.each(["on","one","off"],function(e,n){t(n+"()",function(){var e=Array.prototype.slice.call(arguments);e[0]=U.map(e[0].split(/\s/),function(e){return e.match(/\.dt\b/)?e:e+".dt"}).join(" ");var t=U(this.tables().nodes());return t[n].apply(t,e),this})}),t("clear()",function(){return this.iterator("table",function(e){J(e)})}),t("settings()",function(){return new b(this.context,this.context)}),t("init()",function(){var e=this.context;return e.length?e[0].oInit:null}),t("data()",function(){return this.iterator("table",function(e){return W(e.aoData,"_aData")}).flatten()}),t("destroy()",function(p){return p=p||!1,this.iterator("table",function(t){var n,e=t.nTableWrapper.parentNode,r=t.oClasses,i=t.nTable,a=t.nTBody,o=t.nTHead,s=t.nTFoot,c=U(i),l=U(a),u=U(t.nTableWrapper),f=U.map(t.aoData,function(e){return e.nTr});t.bDestroying=!0,ft(t,"aoDestroyCallback","destroy",[t]),p||new b(t).columns().visible(!0),u.off(".DT").find(":not(tbody *)").off(".DT"),U(E).off(".DT-"+t.sInstance),i!=o.parentNode&&(c.children("thead").detach(),c.append(o)),s&&i!=s.parentNode&&(c.children("tfoot").detach(),c.append(s)),t.aaSorting=[],t.aaSortingFixed=[],tt(t),U(f).removeClass(t.asStripeClasses.join(" ")),U("th, td",o).removeClass(r.sSortable+" "+r.sSortableAsc+" "+r.sSortableDesc+" "+r.sSortableNone),l.children().detach(),l.append(f);var d=p?"remove":"detach";c[d](),u[d](),!p&&e&&(e.insertBefore(i,t.nTableReinsertBefore),c.css("width",t.sDestroyWidth).removeClass(r.sTable),(n=t.asDestroyStripes.length)&&l.children().each(function(e){U(this).addClass(t.asDestroyStripes[e%n])}));var h=U.inArray(t,k.settings);-1!==h&&k.settings.splice(h,1)})}),U.each(["column","row","cell"],function(e,c){t(c+"s().every()",function(a){var o=this.selector.opts,s=this;return this.iterator(c,function(e,t,n,r,i){a.call(s[c](t,"cell"===c?n:o,"cell"===c?o:H),t,n,r,i)})})}),t("i18n()",function(e,t,n){var r=this.context[0],i=Q(e)(r.oLanguage);return i===H&&(i=t),n!==H&&U.isPlainObject(i)&&(i=i[n]!==H?i[n]:i._),i.replace("%d",n)}),k.version="1.10.21",k.settings=[],k.models={},k.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},k.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},k.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},k.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1===e.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+e.sInstance+"_"+location.pathname))}catch(e){return{}}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1===e.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+e.sInstance+"_"+location.pathname,JSON.stringify(t))}catch(e){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:U.extend({},k.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},_(k.defaults),k.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},_(k.defaults.column),k.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:H,oAjaxData:H,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==pt(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==pt(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,n=t+e,r=this.aiDisplay.length,i=this.oFeatures,a=i.bPaginate;return i.bServerSide?!1===a||-1===e?t+r:Math.min(t+e,this._iRecordsDisplay):!a||r<n||-1===e?r:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},k.ext=p={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:k.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:k.version},U.extend(p,{afnFiltering:p.search,aTypes:p.type.detect,ofnSearch:p.type.search,oSort:p.type.order,afnSortData:p.order,aoFeatures:p.feature,oApi:p.internal,oStdClasses:p.classes,oPagination:p.pager}),U.extend(k.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var It=k.ext.pager;function Pt(e,t){var n=[],r=It.numbers_length,i=Math.floor(r/2);return t<=r?n=m(0,t):e<=i?((n=m(0,r-2)).push("ellipsis"),n.push(t-1)):(t-1-i<=e?(n=m(t-(r-2),t)).splice(0,0,"ellipsis"):((n=m(e-i+2,e+i-1)).push("ellipsis"),n.push(t-1),n.splice(0,0,"ellipsis")),n.splice(0,0,0)),n.DT_el="span",n}U.extend(It,{simple:function(e,t){return["previous","next"]},full:function(e,t){return["first","previous","next","last"]},numbers:function(e,t){return[Pt(e,t)]},simple_numbers:function(e,t){return["previous",Pt(e,t),"next"]},full_numbers:function(e,t){return["first","previous",Pt(e,t),"next","last"]},first_last_numbers:function(e,t){return["first",Pt(e,t),"last"]},_numbers:Pt,numbers_length:7}),U.extend(!0,k.ext.renderer,{pageButton:{_:function(l,e,u,t,f,d){var h,p,n,m=l.oClasses,g=l.oLanguage.oPaginate,_=l.oLanguage.oAria.paginate||{},b=0,v=function(e,t){var n,r,i,a,o=m.sPageButtonDisabled,s=function(e){Le(l,e.data.action,!0)};for(n=0,r=t.length;n<r;n++)if(i=t[n],U.isArray(i)){var c=U("<"+(i.DT_el||"div")+"/>").appendTo(e);v(c,i)}else{switch(h=null,p=i,a=l.iTabIndex,i){case"ellipsis":e.append('<span class="ellipsis">…</span>');break;case"first":h=g.sFirst,0===f&&(a=-1,p+=" "+o);break;case"previous":h=g.sPrevious,0===f&&(a=-1,p+=" "+o);break;case"next":h=g.sNext,0!==d&&f!==d-1||(a=-1,p+=" "+o);break;case"last":h=g.sLast,f===d-1&&(a=-1,p+=" "+o);break;default:h=i+1,p=f===i?m.sPageButtonActive:""}null!==h&&(lt(U("<a>",{class:m.sPageButton+" "+p,"aria-controls":l.sTableId,"aria-label":_[i],"data-dt-idx":b,tabindex:a,id:0===u&&"string"==typeof i?l.sTableId+"_"+i:null}).html(h).appendTo(e),{action:i},s),b++)}};try{n=U(e).find(y.activeElement).data("dt-idx")}catch(e){}v(U(e).empty(),t),n!==H&&U(e).find("[data-dt-idx="+n+"]").trigger("focus")}}}),U.extend(k.ext.type.detect,[function(e,t){var n=t.oLanguage.sDecimal;return u(e,n)?"num"+n:null},function(e,t){if(e&&!(e instanceof Date)&&!a.test(e))return null;var n=Date.parse(e);return null!==n&&!isNaN(n)||c(e)?"date":null},function(e,t){var n=t.oLanguage.sDecimal;return u(e,n,!0)?"num-fmt"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return f(e,n)?"html-num"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return f(e,n,!0)?"html-num-fmt"+n:null},function(e,t){return c(e)||"string"==typeof e&&-1!==e.indexOf("<")?"html":null}]),U.extend(k.ext.type.search,{html:function(e){return c(e)?e:"string"==typeof e?e.replace(r," ").replace(i,""):""},string:function(e){return c(e)?e:"string"==typeof e?e.replace(r," "):e}});var Mt=function(e,t,n,r){return 0===e||e&&"-"!==e?(t&&(e=l(e,t)),e.replace&&(n&&(e=e.replace(n,"")),r&&(e=e.replace(r,""))),1*e):-1/0};function $t(n){U.each({num:function(e){return Mt(e,n)},"num-fmt":function(e){return Mt(e,n,s)},"html-num":function(e){return Mt(e,n,i)},"html-num-fmt":function(e){return Mt(e,n,i,s)}},function(e,t){p.type.order[e+n+"-pre"]=t,e.match(/^html\-/)&&(p.type.search[e+n]=p.type.search.html)})}U.extend(p.type.order,{"date-pre":function(e){var t=Date.parse(e);return isNaN(t)?-1/0:t},"html-pre":function(e){return c(e)?"":e.replace?e.replace(/<.*?>/g,"").toLowerCase():e+""},"string-pre":function(e){return c(e)?"":"string"==typeof e?e.toLowerCase():e.toString?e.toString():""},"string-asc":function(e,t){return e<t?-1:t<e?1:0},"string-desc":function(e,t){return e<t?1:t<e?-1:0}}),$t(""),U.extend(!0,k.ext.renderer,{header:{_:function(a,o,s,c){U(a.nTable).on("order.dt.DT",function(e,t,n,r){if(a===t){var i=s.idx;o.removeClass(s.sSortingClass+" "+c.sSortAsc+" "+c.sSortDesc).addClass("asc"==r[i]?c.sSortAsc:"desc"==r[i]?c.sSortDesc:s.sSortingClass)}})},jqueryui:function(a,o,s,c){U("<div/>").addClass(c.sSortJUIWrapper).append(o.contents()).append(U("<span/>").addClass(c.sSortIcon+" "+s.sSortingClassJUI)).appendTo(o),U(a.nTable).on("order.dt.DT",function(e,t,n,r){if(a===t){var i=s.idx;o.removeClass(c.sSortAsc+" "+c.sSortDesc).addClass("asc"==r[i]?c.sSortAsc:"desc"==r[i]?c.sSortDesc:s.sSortingClass),o.find("span."+c.sSortIcon).removeClass(c.sSortJUIAsc+" "+c.sSortJUIDesc+" "+c.sSortJUI+" "+c.sSortJUIAscAllowed+" "+c.sSortJUIDescAllowed).addClass("asc"==r[i]?c.sSortJUIAsc:"desc"==r[i]?c.sSortJUIDesc:s.sSortingClassJUI)}})}}});var Ot=function(e){return"string"==typeof e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):e};function Rt(t){return function(){var e=[at(this[k.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return k.ext.internal[t].apply(this,e)}}return k.render={number:function(a,o,s,c,l){return{display:function(e){if("number"!=typeof e&&"string"!=typeof e)return e;var t=e<0?"-":"",n=parseFloat(e);if(isNaN(n))return Ot(e);n=n.toFixed(s),e=Math.abs(n);var r=parseInt(e,10),i=s?o+(e-r).toFixed(s).substring(2):"";return t+(c||"")+r.toString().replace(/\B(?=(\d{3})+(?!\d))/g,a)+i+(l||"")}}},text:function(){return{display:Ot,filter:Ot}}},U.extend(k.ext.internal,{_fnExternApiFunc:Rt,_fnBuildAjax:de,_fnAjaxUpdate:he,_fnAjaxParameters:pe,_fnAjaxUpdateDraw:me,_fnAjaxDataSrc:ge,_fnAddColumn:O,_fnColumnOptions:R,_fnAdjustColumnSizing:q,_fnVisibleToColumnIndex:z,_fnColumnIndexToVisible:S,_fnVisbleColumns:N,_fnGetColumns:L,_fnColumnTypes:T,_fnApplyColumnDefs:F,_fnHungarianMap:_,_fnCamelToHungarian:D,_fnLanguageCompat:I,_fnBrowserDetect:$,_fnAddData:G,_fnAddTr:j,_fnNodeToDataIndex:function(e,t){return t._DT_RowIndex!==H?t._DT_RowIndex:null},_fnNodeToColumnIndex:function(e,t,n){return U.inArray(n,e.aoData[t].anCells)},_fnGetCellData:x,_fnSetCellData:B,_fnSplitObjNotation:K,_fnGetObjectDataFn:Q,_fnSetObjectDataFn:X,_fnGetDataMaster:Z,_fnClearTable:J,_fnDeleteIndex:ee,_fnInvalidate:te,_fnGetRowElements:ne,_fnCreateTr:re,_fnBuildHead:ae,_fnDrawHead:oe,_fnDraw:se,_fnReDraw:ce,_fnAddOptionsHtml:le,_fnDetectHeader:ue,_fnGetUniqueThs:fe,_fnFeatureHtmlFilter:_e,_fnFilterComplete:be,_fnFilterCustom:ve,_fnFilterColumn:ye,_fnFilter:we,_fnFilterCreateSearch:Ce,_fnEscapeRegex:Ae,_fnFilterData:xe,_fnFeatureHtmlInfo:De,_fnUpdateInfo:Ie,_fnInfoMacros:Pe,_fnInitialise:Me,_fnInitComplete:$e,_fnLengthChange:Oe,_fnFeatureHtmlLength:Re,_fnFeatureHtmlPaginate:Ne,_fnPageChange:Le,_fnFeatureHtmlProcessing:Fe,_fnProcessingDisplay:Ge,_fnFeatureHtmlTable:je,_fnScrollDraw:Be,_fnApplyToChildren:Ue,_fnCalculateColumnWidths:We,_fnThrottle:qe,_fnConvertToWidth:ze,_fnGetWidestNode:Ve,_fnGetMaxLenString:Ye,_fnStringToCss:Ke,_fnSortFlatten:Qe,_fnSort:Xe,_fnSortAria:Ze,_fnSortListener:Je,_fnSortAttachListener:et,_fnSortingClasses:tt,_fnSortData:nt,_fnSaveState:rt,_fnLoadState:it,_fnSettingsFromNode:at,_fnLog:ot,_fnMap:st,_fnBindAction:lt,_fnCallbackReg:ut,_fnCallbackFire:ft,_fnLengthOverflow:dt,_fnRenderer:ht,_fnDataSource:pt,_fnRowAttributes:ie,_fnExtend:ct,_fnCalculateEnd:function(){}}),((U.fn.dataTable=k).$=U).fn.dataTableSettings=k.settings,U.fn.dataTableExt=k.ext,U.fn.DataTable=function(e){return U(this).dataTable(e).api()},U.each(k,function(e,t){U.fn.DataTable[e]=t}),U.fn.dataTable}),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables"),function(p,e,m,_){"use strict";function t(s,c,l,u,f){return e.$inject=["tElm"],t.$inject=["$scope"],{restrict:"A",scope:{dtOptions:"=",dtColumns:"=",dtColumnDefs:"=",datatable:"@",dtInstance:"="},compile:e,controller:t};function e(e){var o=e[0].innerHTML;return function(t,n,e,r){function i(e,t){e!==t&&r.render(n,r.buildOptionsPromise(),o)}var a=e.dtDisableDeepWatchers?"$watchCollection":"$watch";_.forEach(["dtColumns","dtColumnDefs","dtOptions"],function(e){t[a].call(t,e,i,!0)}),u.showLoading(n,t),r.render(n,r.buildOptionsPromise(),o)}}function t(i){var a;function o(e){_.isFunction(i.dtInstance)?i.dtInstance(e):_.isDefined(i.dtInstance)&&(i.dtInstance=e)}this.buildOptionsPromise=function(){var t=s.defer();return s.all([s.when(i.dtOptions),s.when(i.dtColumns),s.when(i.dtColumnDefs)]).then(function(e){var t,n=e[0],r=e[1],i=e[2];if(f.deleteProperty(n,"$promise"),f.deleteProperty(r,"$promise"),f.deleteProperty(i,"$promise"),_.isDefined(n)&&(t={},_.extend(t,n),_.isArray(r)&&(t.aoColumns=r),_.isArray(i)&&(t.aoColumnDefs=i),t.language&&t.language.url)){var a=s.defer();c.get(t.language.url).success(function(e){a.resolve(e)}),t.language=a.promise}return f.resolveObjectPromises(t,["data","aaData","fnPromise"])}).then(function(e){t.resolve(e)}),t.promise},this.render=function(n,e,r){e.then(function(e){u.preRender(e);var t=i.datatable&&"ng"===i.datatable;a&&a._renderer?a._renderer.withOptions(e).render(n,i,r).then(function(e){o(a=e)}):l.fromOptions(e,t).render(n,i,r).then(function(e){o(a=e)})})}}}function n(n){return{newColumnDef:function(e){if(_.isUndefined(e))throw new Error('The parameter "targets" must be defined! See https://datatables.net/reference/option/columnDefs.targets');var t=Object.create(n.DTColumn);return _.isArray(e)?t.aTargets=e:t.aTargets=[e],t}}}function r(t,n,r){return{compileHtml:function(e){return t(_.element('<div class="'+r+'">'+n.loadingTemplate+"</div>"))(e)},isLoading:function(e){return e.hasClass(r)}}}function i(r){var i=[],n={showLoading:function(e,t){var n=_.element(r.compileHtml(t));e.after(n),e.hide(),n.show()},hideLoading:function(e){e.show();var t=e.next();r.isLoading(t)&&t.remove()},renderDataTable:function(e,t){var n="#"+e.attr("id");m.fn.dataTable.isDataTable(n)&&_.isObject(t)&&(t.destroy=!0);var r=e.DataTable(t),i=e.dataTable(),a={id:e.attr("id"),DataTable:r,dataTable:i};return o(t,a),a},hideLoadingAndRenderDataTable:function(e,t){return n.hideLoading(e),n.renderDataTable(e,t)},registerPlugin:function(e){i.push(e)},postRender:o,preRender:function(t){_.forEach(i,function(e){_.isFunction(e.preRender)&&e.preRender(t)})}};return n;function o(t,n){_.forEach(i,function(e){_.isFunction(e.postRender)&&e.postRender(t,n)})}}function a(c,n,l,u){return{create:function(e){var i,a,o,s=Object.create(n);function t(e,t){a=e,o=t;var n=u.newDTInstance(s),r=l.hideLoadingAndRenderDataTable(e,s.options);return i=r.DataTable,u.copyDTProperties(r,n),c.when(n)}return s.name="DTDefaultRenderer",s.options=e,s.render=t,s.reloadData=function(){},s.changeData=function(){},s.rerender=function(){i.destroy(),l.showLoading(a,o),t(a,o)},s}}}function o(n,m,r,g,i,_,b){return{create:function(e){var c,l,u,f,t,d,h=Object.create(i);return h.name="DTNGRenderer",h.options=e,h.render=function(e,t,n){c=n,u=e,f=t.$parent,d=b.newDTInstance(h);var r=m.defer(),i=e.find("tbody").html(),a=i.match(/^\s*.+?\s+in\s+(\S*)\s*/m);if(!a)throw new Error('Expected expression in form of "_item_ in _collection_[ track by _id_]" but got "{0}".',i);var o=a[1],s=!1;return f.$watchCollection(o,function(){l&&s&&p(),g(function(){s=!0,_.preRender(h.options);var e=_.hideLoadingAndRenderDataTable(u,h.options);l=e.DataTable,b.copyDTProperties(e,d),r.resolve(d)},0,!1)},!0),r.promise},h.reloadData=function(){n.warn("The Angular Renderer does not support reloading data. You need to do it directly on your model")},h.changeData=function(){n.warn("The Angular Renderer does not support changing the data. You need to change your model directly.")},h.rerender=function(){p(),_.showLoading(u,f),_.preRender(e),g(function(){var e=_.hideLoadingAndRenderDataTable(u,h.options);l=e.DataTable,b.copyDTProperties(e,d)},0,!1)},h;function p(){t&&t.$destroy(),l.ngDestroy(),u.html(c),t=f.$new(),r(u.contents())(t)}}}}function s(p,m,l,n,g,u){return{create:function(e){var i,f,r,a,d=null,h=Object.create(n);return h.name="DTPromiseRenderer",h.options=e,h.render=t,h.reloadData=function(t,n){var r=i&&i.page()?i.page():0;_.isFunction(h.options.fnPromise)?o(h.options.fnPromise,c).then(function(e){_.isFunction(t)&&t(e.DataTable.data()),!1===n&&e.DataTable.page(r).draw(!1)}):l.warn("In order to use the reloadData functionality with a Promise renderer, you need to provide a function that returns a promise.")},h.changeData=function(e){h.options.fnPromise=e,r.dtOptions.fnPromise=e,o(h.options.fnPromise,c)},h.rerender=function(){i.destroy(),g.showLoading(f,r),g.preRender(e),t(f,r)},h;function t(e,t){var n=p.defer();return a=u.newDTInstance(h),f=e,r=t,o(h.options.fnPromise,g.renderDataTable).then(function(e){i=e.DataTable,u.copyDTProperties(e,a),n.resolve(a)}),n.promise}function o(e,t){var n=p.defer();if(_.isUndefined(e))throw new Error("You must provide a promise or a function that returns a promise!");return d?d.then(function(){n.resolve(s(e,t))}):n.resolve(s(e,t)),n.promise}function s(e,l){var u=p.defer();return(d=_.isFunction(e)?e():e).then(function(e){var t,n,r,i,a,o=e;if(h.options.sAjaxDataProp)for(var s=h.options.sAjaxDataProp.split(".");s.length;){var c=s.shift();c in o&&(o=o[c])}d=null,u.resolve((t=h.options,n=f,r=o,i=l,a=p.defer(),delete r.$promise,t.aaData=r,m(function(){g.hideLoading(n),t.bDestroy=!0,a.resolve(i(n,t))},0,!1),a.promise))}),u.promise}function c(e,t){return i.clear(),i.rows.add(t.aaData).draw(t.redraw),{id:a.id,DataTable:a.DataTable,dataTable:a.dataTable}}}}}function c(c,l,n,u,f,d){return{create:function(e){var i,a,o,s=Object.create(n);return s.name="DTAjaxRenderer",s.options=e,s.render=t,s.reloadData=function(e,t){i&&i.ajax.reload(e,t)},s.changeData=function(e){s.options.ajax=e,o.dtOptions.ajax=e},s.rerender=function(){u.preRender(e),t(a,o)},s;function t(e,t){a=e,o=t;var n=c.defer(),r=d.newDTInstance(s);return _.isUndefined(s.options.sAjaxDataProp)&&(s.options.sAjaxDataProp=f.sAjaxDataProp),_.isUndefined(s.options.aoColumns)&&(s.options.aoColumns=f.aoColumns),function(e,t){var n=c.defer();e.bDestroy=!0,i&&(i.destroy(),u.showLoading(a,o),t.empty());u.hideLoading(t),r=e,_.isDefined(r)&&_.isDefined(r.dom)&&0<=r.dom.indexOf("S")?l(function(){n.resolve(u.renderDataTable(t,e))},0,!1):n.resolve(u.renderDataTable(t,e));var r;return n.promise}(s.options,e).then(function(e){i=e.DataTable,d.copyDTProperties(e,r),n.resolve(r)}),n.promise}}}}function l(n,r,i,a){return{fromOptions:function(e,t){if(t){if(e&&e.serverSide)throw new Error("You cannot use server side processing along with the Angular renderer!");return r.create(e)}if(_.isDefined(e)){if(_.isDefined(e.fnPromise)&&null!==e.fnPromise){if(e.serverSide)throw new Error("You cannot use server side processing along with the Promise renderer!");return i.create(e)}return _.isDefined(e.ajax)&&null!==e.ajax||_.isDefined(e.ajax)&&null!==e.ajax?a.create(e):n.create(e)}return n.create()}}}function u(s){return{overrideProperties:function e(t,n){var r=_.copy(t);(_.isUndefined(r)||null===r)&&(r={});if(_.isUndefined(n)||null===n)return r;if(_.isObject(n))for(var i in n)n.hasOwnProperty(i)&&(r[i]=e(r[i],n[i]));else r=_.copy(n);return r},deleteProperty:function(e,t){_.isObject(e)&&delete e[t]},resolveObjectPromises:i,resolveArrayPromises:c};function i(e,t){var r=s.defer(),n=[],i={},a=t||[];if(!_.isObject(e)||_.isArray(e))r.resolve(e);else{for(var o in i=_.extend(i,e))i.hasOwnProperty(o)&&-1===m.inArray(o,a)&&(_.isArray(i[o])?n.push(c(i[o])):n.push(s.when(i[o])));s.all(n).then(function(e){var t=0;for(var n in i)i.hasOwnProperty(n)&&-1===m.inArray(n,a)&&(i[n]=e[t++]);r.resolve(i)})}return r.promise}function c(e){var t=s.defer(),n=[],r=[];return _.isArray(e)?(_.forEach(e,function(e){_.isObject(e)?n.push(i(e)):n.push(s.when(e))}),s.all(n).then(function(e){_.forEach(e,function(e){r.push(e)}),t.resolve(r)})):t.resolve(e),t.promise}}_.module("datatables.directive",["datatables.instances","datatables.renderer","datatables.options","datatables.util"]).directive("datatable",t),t.$inject=["$q","$http","DTRendererFactory","DTRendererService","DTPropertyUtil"],_.module("datatables.factory",[]).factory("DTOptionsBuilder",function(){var n={withOption:function(e,t){return _.isString(e)&&(this[e]=t),this},withSource:function(e){return this.ajax=e,this},withDataProp:function(e){return this.sAjaxDataProp=e,this},withFnServerData:function(e){if(!_.isFunction(e))throw new Error("The parameter must be a function");return this.fnServerData=e,this},withPaginationType:function(e){if(!_.isString(e))throw new Error("The pagination type must be provided");return this.sPaginationType=e,this},withLanguage:function(e){return this.language=e,this},withLanguageSource:function(e){return this.withLanguage({url:e})},withDisplayLength:function(e){return this.iDisplayLength=e,this},withFnPromise:function(e){return this.fnPromise=e,this},withDOM:function(e){return this.dom=e,this}};return{newOptions:function(){return Object.create(n)},fromSource:function(e){var t=Object.create(n);return t.ajax=e,t},fromFnPromise:function(e){var t=Object.create(n);return t.fnPromise=e,t}}}).factory("DTColumnBuilder",function(){var r={withOption:function(e,t){return _.isString(e)&&(this[e]=t),this},withTitle:function(e){return this.sTitle=e,this},withClass:function(e){return this.sClass=e,this},notVisible:function(){return this.bVisible=!1,this},notSortable:function(){return this.bSortable=!1,this},renderWith:function(e){return this.mRender=e,this}};return{newColumn:function(e,t){if(_.isUndefined(e))throw new Error('The parameter "mData" is not defined!');var n=Object.create(r);return n.mData=e,_.isDefined(t)&&(n.sTitle=t),n},DTColumn:r}}).factory("DTColumnDefBuilder",n).factory("DTLoadingTemplate",r),n.$inject=["DTColumnBuilder"],r.$inject=["$compile","DTDefaultOptions","DT_LOADING_CLASS"],_.module("datatables.instances",["datatables.util"]).factory("DTInstanceFactory",function(){var n={reloadData:function(e,t){this._renderer.reloadData(e,t)},changeData:function(e){this._renderer.changeData(e)},rerender:function(){this._renderer.rerender()}};return{newDTInstance:function(e){var t=Object.create(n);return t._renderer=e,t},copyDTProperties:function(e,t){t.id=e.id,t.DataTable=e.DataTable,t.dataTable=e.dataTable}}}),_.module("datatables",["datatables.directive","datatables.factory"]).run(function(){m.fn.DataTable.Api&&m.fn.DataTable.Api.register("ngDestroy()",function(h){return h=h||!1,this.iterator("table",function(t){var n,e=t.nTableWrapper.parentNode,r=t.oClasses,i=t.nTable,a=t.nTBody,o=t.nTHead,s=t.nTFoot,c=m(i),l=m(a),u=m(t.nTableWrapper),f=m.map(t.aoData,function(e){return e.nTr});t.bDestroying=!0,m.fn.DataTable.ext.internal._fnCallbackFire(t,"aoDestroyCallback","destroy",[t]),h||new m.fn.DataTable.Api(t).columns().visible(!0),u.unbind(".DT").find(":not(tbody *)").unbind(".DT"),m(p).unbind(".DT-"+t.sInstance),i!==o.parentNode&&(c.children("thead").detach(),c.append(o)),s&&i!==s.parentNode&&(c.children("tfoot").detach(),c.append(s)),c.detach(),u.detach(),t.aaSorting=[],t.aaSortingFixed=[],m.fn.DataTable.ext.internal._fnSortingClasses(t),m(f).removeClass(t.asStripeClasses.join(" ")),m("th, td",o).removeClass(r.sSortable+" "+r.sSortableAsc+" "+r.sSortableDesc+" "+r.sSortableNone),t.bJUI&&(m("th span."+r.sSortIcon+", td span."+r.sSortIcon,o).detach(),m("th, td",o).each(function(){var e=m("div."+r.sSortJUIWrapper,this);m(this).append(e.contents()),e.detach()})),!h&&e&&(e.contains(t.nTableReinsertBefore)?e.insertBefore(i,t.nTableReinsertBefore):e.appendChild(i)),c.css("width",t.sDestroyWidth).removeClass(r.sTable),(n=t.asDestroyStripes.length)&&l.children().each(function(e){m(this).addClass(t.asDestroyStripes[e%n])});var d=m.inArray(t,m.fn.DataTable.settings);-1!==d&&m.fn.DataTable.settings.splice(d,1)})})}),_.module("datatables.options",[]).constant("DT_DEFAULT_OPTIONS",{sAjaxDataProp:"",aoColumns:[]}).constant("DT_LOADING_CLASS","dt-loading").service("DTDefaultOptions",function(){var t={loadingTemplate:"<h3>Loading...</h3>",bootstrapOptions:{},setLoadingTemplate:function(e){return t.loadingTemplate=e,t},setLanguageSource:function(e){return m.ajax({dataType:"json",url:e,success:function(e){m.extend(!0,m.fn.DataTable.defaults,{language:e})}}),t},setLanguage:function(e){return m.extend(!0,m.fn.DataTable.defaults,{language:e}),t},setDisplayLength:function(e){return m.extend(m.fn.DataTable.defaults,{displayLength:e}),t},setBootstrapOptions:function(e){return t.bootstrapOptions=e,t},setDOM:function(e){return m.extend(m.fn.DataTable.defaults,{dom:e}),t}};return t}),_.module("datatables.renderer",["datatables.instances","datatables.factory","datatables.options","datatables.instances"]).factory("DTRendererService",i).factory("DTRenderer",function(){return{withOptions:function(e){return this.options=e,this}}}).factory("DTDefaultRenderer",a).factory("DTNGRenderer",o).factory("DTPromiseRenderer",s).factory("DTAjaxRenderer",c).factory("DTRendererFactory",l),i.$inject=["DTLoadingTemplate"],a.$inject=["$q","DTRenderer","DTRendererService","DTInstanceFactory"],o.$inject=["$log","$q","$compile","$timeout","DTRenderer","DTRendererService","DTInstanceFactory"],s.$inject=["$q","$timeout","$log","DTRenderer","DTRendererService","DTInstanceFactory"],c.$inject=["$q","$timeout","DTRenderer","DTRendererService","DT_DEFAULT_OPTIONS","DTInstanceFactory"],l.$inject=["DTDefaultRenderer","DTNGRenderer","DTPromiseRenderer","DTAjaxRenderer"],_.module("datatables.util",[]).factory("DTPropertyUtil",u),u.$inject=["$q"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.bootstrap"),function(e,y,w,d){"use strict";function t(r,i){var a=!1;return{integrate:function(e,t){if(!a){var n=r.overrideProperties(i.getOptions().ColVis,t?t.ColVis:null);w.fn.DataTable.ColVis&&e(function(){w(".ColVis_MasterButton").attr("class","ColVis_MasterButton "+n.classes.masterButton),w(".ColVis_Button").removeClass("ColVis_Button")}),a=!0}},deIntegrate:function(){a&&w.fn.DataTable.ColVis&&(a=!1)}}}function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withBootstrap=function(){n.hasBootstrap=!0,d.isObject(n.oClasses)?n.oClasses.sPageButtonActive="active":n.oClasses={sPageButtonActive:"active"};return n},n.withBootstrapOptions=function(e){return n.bootstrap=e,n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function r(e,t){var n={preRender:function(e){e&&e.hasBootstrap?t.integrate(e):t.deIntegrate()}};e.registerPlugin(n)}function i(r,i,o,s){var c=!1,l=[],u={};return{integrate:function(e){n=e.bootstrap,c||(u.oStdClasses=d.copy(w.fn.dataTableExt.oStdClasses),u.fnPagingInfo=w.fn.dataTableExt.oApi.fnPagingInfo,u.renderer=d.copy(w.fn.DataTable.ext.renderer),w.fn.DataTable.TableTools&&(u.TableTools={classes:d.copy(w.fn.DataTable.TableTools.classes),oTags:d.copy(w.fn.DataTable.TableTools.DEFAULTS.oTags)}),w.extend(w.fn.dataTableExt.oStdClasses,{sWrapper:"dataTables_wrapper form-inline",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sFilter:"dataTables_filter",sLength:"dataTables_length"}),w.fn.dataTableExt.oApi.fnPagingInfo=function(e){return{iStart:e._iDisplayStart,iEnd:e.fnDisplayEnd(),iLength:e._iDisplayLength,iTotal:e.fnRecordsTotal(),iFilteredTotal:e.fnRecordsDisplay(),iPage:-1===e._iDisplayLength?0:Math.ceil(e._iDisplayStart/e._iDisplayLength),iTotalPages:-1===e._iDisplayLength?0:Math.ceil(e.fnRecordsDisplay()/e._iDisplayLength)}},a=n,w.extend(!0,w.fn.DataTable.ext.renderer,{pageButton:{_:function(l,e,u,t,f,d){var h,p,m=l.oClasses,g=l.language?l.language.oPaginate:l.oLanguage.oPaginate,_=0,n=s.overrideProperties(o.getOptions().pagination,a?a.pagination:null),b=w("<ul></ul>",{class:n.classes.ul}),v=function(e,t){var n,r,i,a,o=function(e){e.preventDefault(),w.fn.DataTable.ext.internal._fnPageChange(l,e.data.action,!0)};for(n=0,r=t.length;n<r;n++)if(a=t[n],w.isArray(a)){a.DT_el="li";var s=w("<"+(a.DT_el||"div")+"/>").appendTo(b);v(s,a)}else{p=h="";var c=w("<li></li>");switch(a){case"ellipsis":b.append('<li class="disabled"><a href="#" onClick="event.preventDefault()">…</a></li>');break;case"first":h=g.sFirst,p=a,f<=0&&c.addClass(m.sPageButtonDisabled);break;case"previous":h=g.sPrevious,p=a,f<=0&&c.addClass(m.sPageButtonDisabled);break;case"next":h=g.sNext,p=a,d-1<=f&&c.addClass(m.sPageButtonDisabled);break;case"last":h=g.sLast,p=a,d-1<=f&&c.addClass(m.sPageButtonDisabled);break;default:h=a+1,p="",f===a&&c.addClass(m.sPageButtonActive)}h&&(c.appendTo(b),i=w("<a>",{href:"#",class:p,"aria-controls":l.sTableId,"data-dt-idx":_,tabindex:l.iTabIndex,id:0===u&&"string"==typeof a?l.sTableId+"_"+a:null}).html(h).appendTo(c),w.fn.DataTable.ext.internal._fnBindAction(i,{action:a},o),_++)}};try{var r=w(y.activeElement).data("dt-idx"),i=w(e).empty();b.appendTo(i),v(i,t),null!==r&&w(e).find("[data-dt-idx="+r+"]").focus()}catch(e){}}}}),f(function(){w("div.dataTables_filter").find("input").addClass("form-control"),w("div.dataTables_length").find("select").addClass("form-control")}),c=!0),r.integrate(e.bootstrap),i.integrate(f,e.bootstrap),e.dom=(t=e,t.dom&&t.dom!==w.fn.dataTable.defaults.sDom?t.dom:o.getOptions().dom),d.isUndefined(e.fnDrawCallback)&&(e.fnDrawCallback=function(){for(var e=0;e<l.length;e++)l[e]()});var t;var n,a},deIntegrate:function(){c&&(w.extend(w.fn.dataTableExt.oStdClasses,u.oStdClasses),w.fn.dataTableExt.oApi.fnPagingInfo=u.fnPagingInfo,w.extend(!0,w.fn.DataTable.ext.renderer,u.renderer),r.deIntegrate(),i.deIntegrate(),c=!1)}};function f(e){d.isFunction(e)&&l.push(e)}}function a(e,t,n){return{getOptions:function(){return t.overrideProperties(n,e.bootstrapOptions)}}}function o(n,r){var i=!1,a={};return{integrate:function(e){if(!i){if(w.fn.DataTable.TableTools&&(a.TableTools={classes:d.copy(w.fn.DataTable.TableTools.classes),oTags:d.copy(w.fn.DataTable.TableTools.DEFAULTS.oTags)}),w.fn.DataTable.TableTools){var t=n.overrideProperties(r.getOptions().TableTools,e?e.TableTools:null);w.extend(!0,w.fn.DataTable.TableTools.classes,t.classes),w.extend(!0,w.fn.DataTable.TableTools.DEFAULTS.oTags,t.DEFAULTS.oTags)}i=!0}},deIntegrate:function(){i&&w.fn.DataTable.TableTools&&a.TableTools&&(w.extend(!0,w.fn.DataTable.TableTools.classes,a.TableTools.classes),w.extend(!0,w.fn.DataTable.TableTools.DEFAULTS.oTags,a.TableTools.oTags),i=!1)}}}d.module("datatables.bootstrap.colvis",["datatables.bootstrap.options","datatables.util"]).service("DTBootstrapColVis",t),t.$inject=["DTPropertyUtil","DTBootstrapDefaultOptions"],d.module("datatables.bootstrap",["datatables.bootstrap.options","datatables.bootstrap.tabletools","datatables.bootstrap.colvis"]).config(n).run(r).service("DTBootstrap",i),n.$inject=["$provide"],r.$inject=["DTRendererService","DTBootstrap"],i.$inject=["DTBootstrapTableTools","DTBootstrapColVis","DTBootstrapDefaultOptions","DTPropertyUtil"],d.module("datatables.bootstrap.options",["datatables.options","datatables.util"]).constant("DT_BOOTSTRAP_DEFAULT_OPTIONS",{TableTools:{classes:{container:"DTTT btn-group",buttons:{normal:"btn btn-default",disabled:"disabled"},collection:{container:"DTTT_dropdown dropdown-menu",buttons:{normal:"",disabled:"disabled"}},print:{info:"DTTT_print_info modal"},select:{row:"active"}},DEFAULTS:{oTags:{collection:{container:"ul",button:"li",liner:"a"}}}},ColVis:{classes:{masterButton:"btn btn-default"}},pagination:{classes:{ul:"pagination"}},dom:"<'row'<'col-xs-6'l><'col-xs-6'f>r>t<'row'<'col-xs-6'i><'col-xs-6'p>>"}).factory("DTBootstrapDefaultOptions",a),a.$inject=["DTDefaultOptions","DTPropertyUtil","DT_BOOTSTRAP_DEFAULT_OPTIONS"],d.module("datatables.bootstrap.tabletools",["datatables.bootstrap.options","datatables.util"]).service("DTBootstrapTableTools",o),o.$inject=["DTPropertyUtil","DTBootstrapDefaultOptions"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.colreorder"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withColReorder=function(){n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("R")&&(n.dom="R"+n.dom);return n.hasColReorder=!0,n},n.withColReorderOption=function(e,t){o.isString(e)&&(n.oColReorder=n.oColReorder&&null!==n.oColReorder?n.oColReorder:{},n.oColReorder[e]=t);return n},n.withColReorderOrder=function(e){o.isArray(e)&&n.withColReorderOption("aiOrder",e);return n},n.withColReorderCallback=function(e){{if(!o.isFunction(e))throw new Error("The reorder callback must be a function");n.withColReorderOption("fnReorderCallback",e)}return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}o.module("datatables.colreorder",["datatables"]).config(n),n.$inject=["$provide"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.columnfilter"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withColumnFilter=function(e){n.hasColumnFilter=!0,e&&(n.columnFilterOptions=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function a(e){var t={postRender:function(e,t){e&&e.hasColumnFilter&&t.dataTable.columnFilter(e.columnFilterOptions)}};e.registerPlugin(t)}angular.module("datatables.columnfilter",["datatables"]).config(i).run(a),i.$inject=["$provide"],a.$inject=["DTRendererService"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.light-columnfilter"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withLightColumnFilter=function(e){n.hasLightColumnFilter=!0,e&&(n.lightColumnFilterOptions=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function a(e){var t={postRender:function(e,t){e&&e.hasLightColumnFilter&&new n.fn.dataTable.ColumnFilter(t.DataTable,e.lightColumnFilterOptions)}};e.registerPlugin(t)}angular.module("datatables.light-columnfilter",["datatables"]).config(i).run(a),i.$inject=["$provide"],a.$inject=["DTRendererService"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.colvis"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withColVis=function(){console.warn("The colvis extension has been retired. Please use the button extension instead: https://datatables.net/extensions/buttons/");n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("C")&&(n.dom="C"+n.dom);return n.hasColVis=!0,n},n.withColVisOption=function(e,t){o.isString(e)&&(n.oColVis=n.oColVis&&null!==n.oColVis?n.oColVis:{},n.oColVis[e]=t);return n},n.withColVisStateChange=function(e){{if(!o.isFunction(e))throw new Error("The state change must be a function");n.withColVisOption("fnStateChange",e)}return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}o.module("datatables.colvis",["datatables"]).config(n),n.$inject=["$provide"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.fixedcolumns"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withFixedColumns=function(e){n.fixedColumns=!0,e&&(n.fixedColumns=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}angular.module("datatables.fixedcolumns",["datatables"]).config(i),i.$inject=["$provide"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.fixedheader"),function(e,t,n,r){"use strict";function i(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withFixedHeader=function(e){n.hasFixedHeader=!0,e&&(n.fixedHeaderOptions=e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function a(e){var t={postRender:function(e,t){e&&e.hasFixedHeader&&new n.fn.dataTable.FixedHeader(t.DataTable,e.fixedHeaderOptions)}};e.registerPlugin(t)}angular.module("datatables.fixedheader",["datatables"]).config(i).run(a),i.$inject=["$provide"],a.$inject=["DTRendererService"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.scroller"),function(e,t,a,n){"use strict";function r(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withScroller=function(){n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("S")&&(n.dom=n.dom+"S");return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}angular.module("datatables.scroller",["datatables"]).config(r),r.$inject=["$provide"]}(window,document,jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.tabletools"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withTableTools=function(e){console.warn("The tabletools extension has been retired. Please use the select and buttons extensions instead: https://datatables.net/extensions/select/ and https://datatables.net/extensions/buttons/");n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("T")&&(n.dom="T"+n.dom);n.hasTableTools=!0,o.isString(e)&&n.withTableToolsOption("sSwfPath",e);return n},n.withTableToolsOption=function(e,t){o.isString(e)&&(n.oTableTools=n.oTableTools&&null!==n.oTableTools?n.oTableTools:{},n.oTableTools[e]=t);return n},n.withTableToolsButtons=function(e){o.isArray(e)&&n.withTableToolsOption("aButtons",e);return n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}o.module("datatables.tabletools",["datatables"]).config(n),n.$inject=["$provide"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.buttons"),function(e,t,a,o){"use strict";function n(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withButtons=function(e){n.dom=n.dom?n.dom:a.fn.dataTable.defaults.sDom,-1===n.dom.indexOf("B")&&(n.dom="B"+n.dom);if(o.isUndefined(e))throw new Error("You must define the options for the button extension. See https://datatables.net/reference/option/buttons#Examples for some example");return n.buttons=e,n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}function r(e){var t={preRender:function(e){e&&o.isArray(e.buttons)&&(e.buttonsTmp=e.buttons.slice())},postRender:function(e){e&&o.isDefined(e.buttonsTmp)&&(e.buttons=e.buttonsTmp,delete e.buttonsTmp)}};e.registerPlugin(t)}o.module("datatables.buttons",["datatables"]).config(n).run(r),n.$inject=["$provide"],r.$inject=["DTRendererService"]}(window,document,jQuery,angular),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="datatables.select"),function(e,t,n,a){"use strict";function r(e){function t(e){var t=e.newOptions,n=e.fromSource,r=e.fromFnPromise;return e.newOptions=function(){return i(t)},e.fromSource=function(e){return i(n,e)},e.fromFnPromise=function(e){return i(r,e)},e;function i(e,t){var n=e(t);return n.withSelect=function(e){if(a.isUndefined(e))throw new Error("You must define the options for the select extension. See https://datatables.net/reference/option/#select");return n.select=e,n},n}}e.decorator("DTOptionsBuilder",t),t.$inject=["$delegate"]}a.module("datatables.select",["datatables"]).config(r),r.$inject=["$provide"]}(window,document,jQuery,angular),function(v){"use strict";function y(e){e.dataTransfer&&"none"===e.dataTransfer.dropEffect&&("copy"===e.dataTransfer.effectAllowed||"move"===e.dataTransfer.effectAllowed?e.dataTransfer.dropEffect=e.dataTransfer.effectAllowed:"copyMove"!==e.dataTransfer.effectAllowed&&"copymove"!==e.dataTransfer.effectAllowed||(e.dataTransfer.dropEffect=e.ctrlKey?"copy":"move"))}if("ondrag"in document.createElement("a")){window.jQuery&&-1===window.jQuery.event.props.indexOf("dataTransfer")&&window.jQuery.event.props.push("dataTransfer");var e=v.module("ang-drag-drop",[]);e.directive("uiDraggable",["$parse","$rootScope","$dragImage",function(g,_,b){return function(c,l,u){var f,d,h=!1,p=u.draggingClass||"on-dragging";function m(e){setTimeout(function(){l.unbind("$destroy",m)},0);var t=u.dragChannel||"defaultchannel";if(_.$broadcast("ANGULAR_DRAG_END",e,t),y(e),e.dataTransfer&&"none"!==e.dataTransfer.dropEffect)if(u.onDropSuccess){var n=g(u.onDropSuccess);c.$evalAsync(function(){n(c,{$event:e})})}else if(u.onDropFailure){var r=g(u.onDropFailure);c.$evalAsync(function(){r(c,{$event:e})})}l.removeClass(p)}function t(r){if(!h||d.classList.contains(f)){var e=u.dragChannel||"defaultchannel",t="";u.drag&&(t=c.$eval(u.drag));var n=u.dragImage||null;l.addClass(p),l.bind("$destroy",m);var i=!(document.uniqueID||window.opera);if(n&&i){var a=g(u.dragImage);c.$apply(function(){var e=a(c,{$event:r});if(e&&(v.isString(e)&&(e=b.generate(e)),e.image)){var t=e.xOffset||0,n=e.yOffset||0;r.dataTransfer.setDragImage(e.image,t,n)}})}var o={data:t,channel:e},s=v.toJson(o);r.dataTransfer.setData("text",s),r.dataTransfer.effectAllowed="copyMove",_.$broadcast("ANGULAR_DRAG_START",r,e,o)}else r.preventDefault()}l.attr("draggable",!1),c.$watch(u.uiDraggable,function(e){e?(l.attr("draggable",e),l.bind("dragend",m),l.bind("dragstart",t)):(l.removeAttr("draggable"),l.unbind("dragend",m),l.unbind("dragstart",t))}),v.isString(u.dragHandleClass)&&(h=!0,f=u.dragHandleClass.trim()||"drag-handle",l.bind("mousedown",function(e){d=e.target}))}}]),e.directive("uiOnDrop",["$parse","$rootScope",function(b,o){return function(s,c,l){var r=0,u=l.dropChannel||"defaultchannel",f="",d=l.dragEnterClass||"on-drag-enter",n=l.dragHoverClass||"on-drag-hover",i=b(l.onDragEnter),a=b(l.onDragLeave);function h(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation();var t=b(l.uiOnDragOver);return s.$evalAsync(function(){t(s,{$event:e,$channel:u})}),!1}function p(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),0===--r&&(s.$evalAsync(function(){a(s,{$event:e,$channel:u})}),c.addClass(d),c.removeClass(n));var t=b(l.uiOnDragLeave);s.$evalAsync(function(){t(s,{$event:e,$channel:u})})}function m(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),0===r&&(s.$evalAsync(function(){i(s,{$event:e,$channel:u})}),c.removeClass(d),c.addClass(n)),r++;var t=b(l.uiOnDragEnter);s.$evalAsync(function(){t(s,{$event:e,$channel:u})}),o.$broadcast("ANGULAR_HOVER",f)}function g(e){e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation();var t=e.dataTransfer.getData("text");t=v.fromJson(t),y(e);var n=b(l.uiOnDrop);s.$evalAsync(function(){n(s,{$data:t.data,$event:e,$channel:t.channel})}),c.removeClass(d),r=0}function _(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!(e.dataTransfer.dropEffect="none")}var e=o.$on("ANGULAR_DRAG_START",function(e,t,n,r){var i,a,o=!0;(i=f=n,"*"===(a=u)||new RegExp("(\\s|[,])+("+i+")(\\s|[,])+","i").test(","+a+",")||(o=!1),o&&l.dropValidate)&&(o=b(l.dropValidate)(s,{$drop:{scope:s,element:c},$event:t,$data:r.data,$channel:r.channel}));o?(c.bind("dragover",h),c.bind("dragenter",m),c.bind("dragleave",p),c.bind("drop",g),c.addClass(d)):(c.bind("dragover",_),c.bind("dragenter",_),c.bind("dragleave",_),c.bind("drop",_),c.removeClass(d))}),t=o.$on("ANGULAR_DRAG_END",function(){c.unbind("dragover",h),c.unbind("dragenter",m),c.unbind("dragleave",p),c.unbind("drop",g),c.removeClass(n),c.removeClass(d),c.unbind("dragover",_),c.unbind("dragenter",_),c.unbind("dragleave",_),c.unbind("drop",_)});s.$on("$destroy",function(){e(),t()}),l.$observe("dropChannel",function(e){e&&(u=e)})}}]),e.constant("$dragImageConfig",{height:20,width:200,padding:10,font:"bold 11px Arial",fontColor:"#eee8d5",backgroundColor:"#93a1a1",xOffset:0,yOffset:0}),e.service("$dragImage",["$dragImageConfig",function(s){this.generate=function(e,t){var n=v.extend({},s,t||{}),r=document.createElement("canvas");r.height=n.height,r.width=n.width;var i=r.getContext("2d");i.fillStyle=n.backgroundColor,i.fillRect(0,0,n.width,n.height),i.font=n.font,i.fillStyle=n.fontColor;var a=function(e,t,n){var r=e.measureText(t).width;if(r<n.width)return t;for(;r+n.padding>n.width;)t=t.substring(0,t.length-1),r=e.measureText(t+"…").width;return t+"…"}(i,e,n);i.fillText(a,4,n.padding+4);var o=new Image;return o.src=r.toDataURL(),{image:o,xOffset:n.xOffset,yOffset:n.yOffset}}}])}else v.module("ang-drag-drop",[])}(angular),function(e,t){"use strict";var v,h,c,l;function n(){return["$animate",function(d){return{restrict:"AE",transclude:"element",priority:1,terminal:!0,require:"^^ngMessages",link:function(e,r,t,i,n){var a,o,s,c=r[0],l=t.ngMessage||t.when,u=t.ngMessageExp||t.whenExp,f=function(e){a=e?h(e)?e:e.split(/[\s,]+/):null,i.reRender()};u?(f(e.$eval(u)),e.$watchCollection(u,f)):f(l),i.register(c,s={test:function(e){return function(e,t){if(e)return h(e)?0<=e.indexOf(t):e.hasOwnProperty(t)}(a,e)},attach:function(){o||n(function(e,t){d.enter(e,null,r);var n=(o=e).$$attachId=i.getAttachId();o.on("$destroy",function(){o&&o.$$attachId===n&&(i.deregister(c),s.detach()),t.$destroy()})})},detach:function(){if(o){var e=o;o=null,d.leave(e)}}})}}}]}t.module("ngMessages",[],function(){v=t.forEach,h=t.isArray,c=t.isString,l=t.element}).directive("ngMessages",["$animate",function(m){var g="ng-inactive";return{require:"ngMessages",restrict:"AE",controller:["$element","$scope","$attrs",function(l,u,f){var d=this,r=0,e=0;this.getAttachId=function(){return e++};var h,p,o=this.messages={};function s(e,t){for(var n=t,r=[];n&&n!==e;){var i=n.$$ngMessageNode;if(i&&i.length)return o[i];n.childNodes.length&&-1===r.indexOf(n)?(r.push(n),n=n.childNodes[n.childNodes.length-1]):n.previousSibling?n=n.previousSibling:(n=n.parentNode,r.push(n))}}this.render=function(e){h=!1,p=e=e||{};for(var t=_(u,f.ngMessagesMultiple)||_(u,f.multiple),n=[],r={},i=d.head,a=!1,o=0;null!=i;){o++;var s=i.message,c=!1;a||v(e,function(e,t){if(!c&&b(e)&&s.test(t)){if(r[t])return;r[t]=!0,c=!0,s.attach()}}),c?a=!t:n.push(s),i=i.next}v(n,function(e){e.detach()}),n.length!==o?m.setClass(l,"ng-active",g):m.setClass(l,g,"ng-active")},u.$watchCollection(f.ngMessages||f.for,d.render),l.on("$destroy",function(){v(o,function(e){e.message.detach()})}),this.reRender=function(){h||(h=!0,u.$evalAsync(function(){h&&p&&d.render(p)}))},this.register=function(e,t){var n=r.toString();o[n]={message:t},function(e,t,n){var r=o[n];if(d.head){var i=s(e,t);i?(r.next=i.next,i.next=r):(r.next=d.head,d.head=r)}else d.head=r}(l[0],e,n),e.$$ngMessageNode=n,r++,d.reRender()},this.deregister=function(e){var t,n,r,i,a=e.$$ngMessageNode;delete e.$$ngMessageNode,t=l[0],n=e,r=o[a],(i=s(t,n))?i.next=r.next:d.head=r.next,delete o[a],d.reRender()}}]};function _(e,t){return c(t)&&0===t.length||b(e.$eval(t))}function b(e){return c(e)?e.length:!!e}}]).directive("ngMessagesInclude",["$templateRequest","$document","$compile",function(i,a,o){return{restrict:"AE",require:"^^ngMessages",link:function(t,n,e){var r=e.ngMessagesInclude||e.src;i(r).then(function(e){t.$$destroyed||(c(e)&&!e.trim()?s(n,r):o(e)(t,function(e){n.after(e),s(n,r)}))})}};function s(e,t){var n=o.$$createComment?o.$$createComment("ngMessagesInclude",t):a[0].createComment(" ngMessagesInclude: "+t+" "),r=l(n);e.after(r),e.remove()}}]).directive("ngMessage",n()).directive("ngMessageExp",n())}(window,window.angular),function(G,ie,ae){"use strict";ie.module("ngMaterial",["ng","ngAnimate","ngAria","material.core","material.core.gestures","material.core.layout","material.core.meta","material.core.theming.palette","material.core.theming","material.core.animate","material.components.autocomplete","material.components.backdrop","material.components.bottomSheet","material.components.button","material.components.card","material.components.chips","material.components.checkbox","material.components.colors","material.components.content","material.components.datepicker","material.components.dialog","material.components.divider","material.components.fabActions","material.components.fabShared","material.components.fabSpeedDial","material.components.fabToolbar","material.components.gridList","material.components.icon","material.components.input","material.components.list","material.components.menu","material.components.menuBar","material.components.navBar","material.components.panel","material.components.progressCircular","material.components.progressLinear","material.components.radioButton","material.components.select","material.components.showHide","material.components.sidenav","material.components.slider","material.components.sticky","material.components.subheader","material.components.swipe","material.components.switch","material.components.tabs","material.components.toast","material.components.toolbar","material.components.tooltip","material.components.virtualRepeat","material.components.whiteframe"]),function(){function e(e,t){if(t.has("$swipe")){e.warn("You are using the ngTouch module. \nAngular Material already has mobile click, tap, and swipe support... \nngTouch is not supported with Angular Material!")}}function t(e,t){e.decorator("$$rAF",["$delegate",n]),t.theme("default").primaryPalette("indigo").accentPalette("pink").warnPalette("deep-orange").backgroundPalette("grey")}function n(a){return a.throttle=function(e){var t,n,r,i;return function(){t=arguments,i=this,r=e,n||(n=!0,a(function(){r.apply(i,Array.prototype.slice.call(t)),n=!1}))}},a}e.$inject=["$log","$injector"],t.$inject=["$provide","$mdThemingProvider"],n.$inject=["$delegate"],ie.module("material.core",["ngAnimate","material.core.animate","material.core.layout","material.core.gestures","material.core.theming"]).config(t).run(e)}(),function(){function e(){return{restrict:"A",link:t}}function t(e,t,n){var r=n.mdAutoFocus||n.mdAutofocus||n.mdSidenavFocus;e.$watch(r,function(e){t.toggleClass("md-autofocus",e)})}ie.module("material.core").directive("mdAutofocus",e).directive("mdAutoFocus",e).directive("mdSidenavFocus",e)}(),ie.module("material.core").factory("$mdColorUtil",function(){return{rgbaToHex:function(e){return((e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i))&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):"").toUpperCase()},hexToRgba:function(e){var t="#"===e[0]?e.substr(1):e,n=t.length/3,r=t.substr(0,n),i=t.substr(n,n),a=t.substr(2*n);return 1===n&&(r+=r,i+=i,a+=a),"rgba("+parseInt(r,16)+","+parseInt(i,16)+","+parseInt(a,16)+",0.1)"},rgbToRgba:function(e){return e.replace(")",", 0.1)").replace("(","a(")},rgbaToRgb:function(e){return e?e.replace("rgba","rgb").replace(/,[^\),]+\)/,")"):"rgb(0,0,0)"}}}),function(){function e(e,t,n){var r=e.vendorPrefix,i=/webkit/i.test(r),a=/([:\-_]+(.))/g,o=document.createElement("div");function s(e){var t=(r+"-"+e).replace(a,function(e,t,n,r){return r?n.toUpperCase():n}),n=t.charAt(0).toLowerCase()+t.substring(1);return c(e)?e:c(t)?t:c(n)?n:e}function c(e){return ie.isDefined(o.style[e])}var l={isInputKey:function(e){return 31<=e.keyCode&&e.keyCode<=90},isNumPadKey:function(e){return 3===e.location&&97<=e.keyCode&&e.keyCode<=105},isNavigationKey:function(e){var t=l.KEY_CODE;return-1!=[t.SPACE,t.ENTER,t.UP_ARROW,t.DOWN_ARROW].indexOf(e.keyCode)},KEY_CODE:{COMMA:188,SEMICOLON:186,ENTER:13,ESCAPE:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,TAB:9,BACKSPACE:8,DELETE:46},CSS:{TRANSITIONEND:"transitionend"+(i?" webkitTransitionEnd":""),ANIMATIONEND:"animationend"+(i?" webkitAnimationEnd":""),TRANSFORM:s("transform"),TRANSFORM_ORIGIN:s("transformOrigin"),TRANSITION:s("transition"),TRANSITION_DURATION:s("transitionDuration"),ANIMATION_PLAY_STATE:s("animationPlayState"),ANIMATION_DURATION:s("animationDuration"),ANIMATION_NAME:s("animationName"),ANIMATION_TIMING:s("animationTimingFunction"),ANIMATION_DIRECTION:s("animationDirection")},MEDIA:{xs:"(max-width: 599px)","gt-xs":"(min-width: 600px)",sm:"(min-width: 600px) and (max-width: 959px)","gt-sm":"(min-width: 960px)",md:"(min-width: 960px) and (max-width: 1279px)","gt-md":"(min-width: 1280px)",lg:"(min-width: 1280px) and (max-width: 1919px)","gt-lg":"(min-width: 1920px)",xl:"(min-width: 1920px)",landscape:"(orientation: landscape)",portrait:"(orientation: portrait)",print:"print"},MEDIA_PRIORITY:["xl","gt-lg","lg","gt-md","md","gt-sm","sm","gt-xs","xs","landscape","portrait","print"]};return l}e.$inject=["$sniffer","$window","$document"],ie.module("material.core").factory("$mdConstant",e)}(),function(){function t(e,s){var c=function(){return!0};e&&!ie.isArray(e)&&(e=Array.prototype.slice.call(e)),s=!!s;var l=e||[];return{items:function(){return[].concat(l)},count:function(){return l.length},inRange:u,contains:t,indexOf:f,itemAt:function(e){return u(e)?l[e]:null},findBy:function(t,n){return l.filter(function(e){return e[t]===n})},add:function(e,t){if(!e)return-1;ie.isNumber(t)||(t=l.length);return l.splice(t,0,e),f(e)},remove:function(e){t(e)&&l.splice(f(e),1)},first:d,last:h,next:ie.bind(null,n,!1),previous:ie.bind(null,n,!0),hasPrevious:function(e){return!!e&&u(f(e)-1)},hasNext:function(e){return!!e&&u(f(e)+1)}};function u(e){return l.length&&-1<e&&e<l.length}function f(e){return l.indexOf(e)}function t(e){return e&&-1<f(e)}function d(){return l.length?l[0]:null}function h(){return l.length?l[l.length-1]:null}function n(e,t,n,r){n=n||c;for(var i=f(t);;){if(!u(i))return null;var a=i+(e?-1:1),o=null;if(u(a)?o=l[a]:s&&(a=f(o=e?h():d())),null===o||a===r)return null;if(n(o))return o;ie.isUndefined(r)&&(r=a),i=a}}}ie.module("material.core").config(["$provide",function(e){e.decorator("$mdUtil",["$delegate",function(e){return e.iterator=t,e}])}])}(),function(){function e(o,t,i){var a={},s={},c={},n={};return e.getResponsiveAttribute=function(e,t){for(var n=0;n<o.MEDIA_PRIORITY.length;n++){var r=o.MEDIA_PRIORITY[n];if(s[a[r]].matches){var i=u(e,t+"-"+r);if(e[i])return e[i]}}return e[u(e,t)]},e.getQuery=function(e){return s[e]},e.watchResponsiveAttributes=function(e,r,i){var a=[];return e.forEach(function(e){var t=u(r,e);for(var n in ie.isDefined(r[t])&&a.push(r.$observe(t,ie.bind(void 0,i,null))),o.MEDIA)t=u(r,e+"-"+n),ie.isDefined(r[t])&&a.push(r.$observe(t,ie.bind(void 0,i,n)))}),function(){a.forEach(function(e){e()})}},e;function e(e){var t,n=a[e];ie.isUndefined(n)&&(n=a[e]=(t=e,o.MEDIA[t]||("("!==t.charAt(0)?"("+t+")":t)));var r=c[n];return ie.isUndefined(r)&&(r=function(e){var t=s[e];t||(t=s[e]=i.matchMedia(e));return t.addListener(l),c[t.media]=!!t.matches}(n)),r}function l(e){t.$evalAsync(function(){c[e.media]=!!e.matches})}function u(e,t){return n[t]||(n[t]=e.$normalize(t))}}e.$inject=["$mdConstant","$rootScope","$window"],ie.module("material.core").factory("$mdMedia",e)}(),function(){function t(e,t){var r=["data","x"];return e?t?n(e):i(e):{buildList:i,buildSelector:n,hasAttribute:function(e,t){if(!(e=a(e)))return!1;for(var n=i(t),r=0;r<n.length;r++)if(e.hasAttribute(n[r]))return!0;return!1},removeAttribute:function(t,e){if(!(t=a(t)))return;i(e).forEach(function(e){t.removeAttribute(e)})}};function i(n){return(n=ie.isArray(n)?n:[n]).forEach(function(t){r.forEach(function(e){n.push(e+"-"+t)})}),n}function n(e){return i(e=ie.isArray(e)?e:[e]).map(function(e){return"["+e+"]"}).join(",")}function a(e){if((e=e[0]||e).nodeType)return e}}ie.module("material.core").config(["$provide",function(e){e.decorator("$mdUtil",["$delegate",function(e){return e.prefixer=t,e}])}])}(),function(){e.$inject=["$document","$timeout","$compile","$rootScope","$$mdAnimate","$interpolate","$log","$rootElement","$window","$$rAF"];var _=0;function e(s,c,n,o,e,t,a,r,l,u){var i=t.startSymbol(),f=t.endSymbol(),d="{{"===i&&"}}"===f,h=function(e,t,n){var r=!1;if(e&&e.length){var i=l.getComputedStyle(e[0]);r=ie.isDefined(i[t])&&(!n||i[t]==n)}return r};function p(e){return e?-1<String(e).indexOf("px")||-1<String(e).indexOf("%")?e:e+"px":"0"}var m={dom:{},now:G.performance?ie.bind(G.performance,G.performance.now):Date.now||function(){return(new Date).getTime()},bidi:function(e,t,n,r){var i=!("rtl"==s[0].dir||"rtl"==s[0].body.dir);if(0==arguments.length)return i?"ltr":"rtl";var a=ie.element(e);i&&ie.isDefined(n)?a.css(t,p(n)):!i&&ie.isDefined(r)&&a.css(t,p(r))},bidiProperty:function(e,t,n,r){var i=!("rtl"==s[0].dir||"rtl"==s[0].body.dir),a=ie.element(e);i&&ie.isDefined(t)?(a.css(t,p(r)),a.css(n,"")):!i&&ie.isDefined(n)&&(a.css(n,p(r)),a.css(t,""))},clientRect:function(e,t,n){var r=g(e);t=g(t||r.offsetParent||document.body);var i=r.getBoundingClientRect(),a=n?t.getBoundingClientRect():{left:0,top:0,width:0,height:0};return{left:i.left-a.left,top:i.top-a.top,width:i.width,height:i.height}},offsetRect:function(e,t){return m.clientRect(e,t,!0)},nodesToArray:function(e){e=e||[];for(var t=[],n=0;n<e.length;++n)t.push(e.item(n));return t},scrollTop:function(e){var t=(e=ie.element(e||s[0].body))[0]==s[0].body?s[0].body:ae;return(t?t.scrollTop+t.parentElement.scrollTop:0)||Math.abs(e[0].getBoundingClientRect().top)},findFocusTarget:function(e,t){var n,r=this.prefixer("md-autofocus",!0);return(n=i(e,t||r))||t==r||(n=i(e,this.prefixer("md-auto-focus",!0)))||(n=i(e,r)),n;function i(e,t){var n,r=e[0].querySelectorAll(t);return r&&r.length&&r.length&&ie.forEach(r,function(e){(e=ie.element(e)).hasClass("md-autofocus")&&(n=e)}),n}},disableScrollAround:function(e,t,r){if(m.disableScrollAround._count=m.disableScrollAround._count||0,++m.disableScrollAround._count,m.disableScrollAround._enableScrolling)return m.disableScrollAround._enableScrolling;var a=s[0].body,n=function(){var e=a.parentNode,t=e.style.cssText||"",n=a.style.cssText||"",r=m.scrollTop(a),i=a.clientWidth;a.scrollHeight>a.clientHeight+1&&(o(a,{position:"fixed",width:"100%",top:-r+"px"}),e.style.overflowY="scroll");a.clientWidth<i&&o(a,{overflow:"hidden"});return function(){a.style.cssText=n,e.style.cssText=t,a.scrollTop=r,e.scrollTop=r}}(),i=function(e){var t;e=ie.element(e||a),r&&r.disableScrollMask?t=e:(e=e[0],t=ie.element('<div class="md-scroll-mask"> <div class="md-scroll-mask-bar"></div></div>'),e.appendChild(t[0]));return t.on("wheel",n),t.on("touchmove",n),function(){t.off("wheel"),t.off("touchmove"),t[0].parentNode.removeChild(t[0]),delete m.disableScrollAround._enableScrolling};function n(e){e.preventDefault()}}(t);return m.disableScrollAround._enableScrolling=function(){--m.disableScrollAround._count||(n(),i(),delete m.disableScrollAround._enableScrolling)};function o(e,t){for(var n in t)e.style[n]=t[n]}},enableScrolling:function(){var e=this.disableScrollAround._enableScrolling;e&&e()},floatingScrollbars:function(){if(this.floatingScrollbars.cached===ae){var e=ie.element("<div><div></div></div>").css({width:"100%","z-index":-1,position:"absolute",height:"35px","overflow-y":"scroll"});e.children().css("height","60px"),s[0].body.appendChild(e[0]),this.floatingScrollbars.cached=e[0].offsetWidth==e[0].childNodes[0].offsetWidth,e.remove()}return this.floatingScrollbars.cached},forceFocus:function(e){var n=e[0]||e;document.addEventListener("click",function e(t){t.target===n&&t.$focus&&(n.focus(),t.stopImmediatePropagation(),t.preventDefault(),n.removeEventListener("click",e))},!0);var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!1,!0,G,{},0,0,0,0,!1,!1,!1,!1,0,null),t.$material=!0,t.$focus=!0,n.dispatchEvent(t)},createBackdrop:function(e,t){return n(m.supplant('<md-backdrop class="{0}">',[t]))(e)},supplant:function(e,a,t){return t=t||/\{([^\{\}]*)\}/g,e.replace(t,function(t,e){var n=e.split("."),r=a;try{for(var i in n)n.hasOwnProperty(i)&&(r=r[n[i]])}catch(e){r=t}return"string"==typeof r||"number"==typeof r?r:t})},fakeNgModel:function(){return{$fake:!0,$setTouched:ie.noop,$setViewValue:function(e){this.$viewValue=e,this.$render(e),this.$viewChangeListeners.forEach(function(e){e()})},$isEmpty:function(e){return 0===(""+e).length},$parsers:[],$formatters:[],$viewChangeListeners:[],$render:ie.noop}},debounce:function(n,r,i,a){var o;return function(){var e=i,t=Array.prototype.slice.call(arguments);c.cancel(o),o=c(function(){o=ae,n.apply(e,t)},r||10,a)}},throttle:function(n,r){var i;return function(){var e=arguments,t=m.now();(!i||r<t-i)&&(n.apply(this,e),i=t)}},time:function(e){var t=m.now();return e(),m.now()-t},valueOnUse:function(e,t,n){var r=null,i=Array.prototype.slice.call(arguments),a=3<i.length?i.slice(3):[];Object.defineProperty(e,t,{get:function(){return null===r&&(r=n.apply(e,a)),r}})},nextUid:function(){return""+_++},disconnectScope:function(e){if(e&&e.$root!==e&&!e.$$destroyed){var t=e.$parent;e.$$disconnected=!0,t.$$childHead===e&&(t.$$childHead=e.$$nextSibling),t.$$childTail===e&&(t.$$childTail=e.$$prevSibling),e.$$prevSibling&&(e.$$prevSibling.$$nextSibling=e.$$nextSibling),e.$$nextSibling&&(e.$$nextSibling.$$prevSibling=e.$$prevSibling),e.$$nextSibling=e.$$prevSibling=null}},reconnectScope:function(e){if(e&&e.$root!==e&&e.$$disconnected){var t=e,n=t.$parent;t.$$disconnected=!1,t.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=t,n.$$childTail=t):n.$$childHead=n.$$childTail=t}},getClosest:function(e,t,n){if(ie.isString(t)){var r=t.toUpperCase();t=function(e){return e.nodeName===r}}if(e instanceof ie.element&&(e=e[0]),n&&(e=e.parentNode),!e)return null;do{if(t(e))return e}while(e=e.parentNode);return null},elementContains:function(t,n){return(G.Node&&G.Node.prototype&&Node.prototype.contains?ie.bind(t,t.contains):ie.bind(t,function(e){return t===n||!!(16&this.compareDocumentPosition(e))}))(n)},extractElementByName:function(e,r,t,n){var i=s(e);return!i&&n&&a.warn(m.supplant("Unable to find node '{0}' in element '{1}'.",[r,e[0].outerHTML])),ie.element(i||e);function s(e){return function(e){if(e)for(var t=0,n=e.length;t<n;t++)if(e[t].nodeName.toLowerCase()===r)return e[t];return null}(e)||(t?function(e){var t;if(e)for(var n=0,r=e.length;n<r;n++){var i=e[n];if(!t)for(var a=0,o=i.childNodes.length;a<o;a++)t=t||s([i.childNodes[a]])}return t}(e):null)}},initOptionalProperties:function(r,i,a){a=a||{},ie.forEach(r.$$isolateBindings,function(e,t){if(e.optional&&ie.isUndefined(r[t])){var n=ie.isDefined(i[e.attrName]);r[t]=ie.isDefined(a[t])?a[t]:n}})},nextTick:function(e,t,n){var r=m.nextTick,i=r.timeout,a=r.queue||[];return a.push({scope:n,callback:e}),null==t&&(t=!0),r.digest=r.digest||t,r.queue=a,i||(r.timeout=c(function(){var e=r.queue,t=r.digest;r.queue=[],r.timeout=null,r.digest=!1,e.forEach(function(e){e.scope&&e.scope.$$destroyed||e.callback()}),t&&o.$digest()},0,!1))},processTemplate:function(e){return d?e:e&&ie.isString(e)?e.replace(/\{\{/g,i).replace(/}}/g,f):e},getParentWithPointerEvents:function(e){for(var t=e.parent();h(t,"pointer-events","none");)t=t.parent();return t},getNearestContentElement:function(e){for(var t=e.parent()[0];t&&t!==r[0]&&t!==document.body&&"MD-CONTENT"!==t.nodeName.toUpperCase();)t=t.parentNode;return t},checkStickySupport:function(){var e,t=ie.element("<div>");s[0].body.appendChild(t[0]);for(var n=["sticky","-webkit-sticky"],r=0;r<n.length;++r)if(t.css({position:n[r],top:0,"z-index":2}),t.css("position")==n[r]){e=n[r];break}return t.remove(),e},parseAttributeBoolean:function(e,t){return""===e||!!e&&(!1===t||"false"!==e&&"0"!==e)},hasComputedStyle:h,isParentFormSubmitted:function(e){var t=m.getClosest(e,"form"),n=t?ie.element(t).controller("form"):null;return!!n&&n.$submitted},animateScrollTo:function(r,i){var a=r.scrollTop,o=i-a,s=a<i,c=m.now();u(function e(){var t=(1e3,n=m.now()-c,function(e,t,n,r){if(r<e)return t+n;var i=(e/=r)*e;return t+n*(i*e*-2+3*i)}(n,a,o,1e3));var n;r.scrollTop=t;(s?t<i:i<t)&&u(e)})}};return m.dom.animator=e(m),m;function g(e){return e[0]||e}}ie.module("material.core").factory("$mdUtil",e),ie.element.prototype.focus=ie.element.prototype.focus||function(){return this.length&&this[0].focus(),this},ie.element.prototype.blur=ie.element.prototype.blur||function(){return this.length&&this[0].blur(),this}}(),function(){function a(r,i,c,a){var o=this.showWarnings;return{expect:s,expectAsync:l,expectWithText:function(e,t){var n=u(e)||"";-1<n.indexOf(a.startSymbol())?l(e,t,function(){return u(e)}):s(e,t,n)},expectWithoutText:function(e,t){var n=u(e);-1<n.indexOf(a.startSymbol())||n||s(e,t,n)}};function s(e,t,n){var r=ie.element(e)[0]||e;!r||r.hasAttribute(t)&&0!==r.getAttribute(t).length||function(e,t){var n=e.hasChildNodes(),r=!1;if(n)for(var i=e.childNodes,a=0;a<i.length;a++){var o=i[a];1===o.nodeType&&o.hasAttribute(t)&&(void 0,"none"!==((s=o).currentStyle?s.currentStyle:c.getComputedStyle(s)).display&&(r=!0))}var s;return r}(r,t)||((n=ie.isString(n)?n.trim():"").length?e.attr(t,n):o&&i.warn('ARIA: Attribute "',t,'", required for accessibility, is missing on node:',r))}function l(e,t,n){r(function(){s(e,t,n())})}function u(t){t=t[0]||t;for(var e,n=document.createTreeWalker(t,NodeFilter.SHOW_TEXT,null,!1),r="";e=n.nextNode();)i(e)||(r+=e.textContent);return r.trim()||"";function i(e){for(;e.parentNode&&(e=e.parentNode)!==t;)if(e.getAttribute&&"true"===e.getAttribute("aria-hidden"))return!0}}}a.$inject=["$$rAF","$log","$window","$interpolate"],ie.module("material.core").provider("$mdAria",function(){var i=this;return i.showWarnings=!0,{disableWarnings:function(){i.showWarnings=!1},$get:["$$rAF","$log","$window","$interpolate",function(e,t,n,r){return a.apply(i,arguments)}]}})}(),function(){function e(a,o,f,d,h){this.compile=function(t){var e=t.templateUrl,n=t.template||"",s=t.controller,c=t.controllerAs,r=ie.extend({},t.resolve||{}),i=ie.extend({},t.locals||{}),l=t.transformTemplate||ie.identity,u=t.bindToController;return ie.forEach(r,function(e,t){ie.isString(e)?r[t]=f.get(e):r[t]=f.invoke(e)}),ie.extend(r,i),r.$template=e?o(e).then(function(e){return e}):a.when(n),a.all(r).then(function(r){var i,e=l(r.$template,t),a=t.element||ie.element("<div>").html(e.trim()).contents(),o=d(a);return i={locals:r,element:a,link:function(e){if(r.$scope=e,s){var t=h(s,r,!0,c);u&&ie.extend(t.instance,r);var n=t();a.data("$ngControllerController",n),a.children().data("$ngControllerController",n),i.controller=n}return o(e)}}})}}e.$inject=["$q","$templateRequest","$injector","$compile","$controller"],ie.module("material.core").service("$mdCompiler",e)}(),function(){i.$inject=["$$MdGestureHandler","$$rAF","$timeout"];var a,r,u={},f=!(n.$inject=["$mdGesture","$$MdGestureHandler"]),o=null,s=!1;function e(){}function i(r,e,n){var t=navigator.userAgent||navigator.vendor||G.opera,i=t.match(/ipad|iphone|ipod/i),a=t.match(/android/i),o=function(){for(var e=document.createElement("div"),t=["","webkit","Moz","MS","ms","o"],n=0;n<t.length;n++){var r=t[n],i=r?r+"TouchAction":"touchAction";if(ie.isDefined(e.style[i]))return i}}(),s=void 0!==G.jQuery&&ie.element===G.jQuery,c={handler:function(e,t){var n=new r(e);return ie.extend(n,t),u[e]=n,c},register:function(e,t,n){var r=u[t.replace(/^\$md./,"")];if(r)return r.registerElement(e,n);throw new Error("Failed to register element with handler "+t+". Available handlers: "+Object.keys(u).join(", "))},isIos:i,isAndroid:a,isHijackingClicks:(i||a)&&!s&&!f};if(c.isHijackingClicks){c.handler("click",{options:{maxDistance:6},onEnd:l("click")}),c.handler("focus",{options:{maxDistance:6},onEnd:function(e,t){var n;t.distance<this.state.options.maxDistance&&"-1"!=(n=e.target).getAttribute("tabindex")&&!n.hasAttribute("DISABLED")&&(n.hasAttribute("tabindex")||n.hasAttribute("href")||n.isContentEditable||-1!=["INPUT","SELECT","BUTTON","TEXTAREA","VIDEO","AUDIO"].indexOf(n.nodeName))&&(this.dispatchEvent(e,"focus",t),e.target.focus())}}),c.handler("mouseup",{options:{maxDistance:6},onEnd:l("mouseup")}),c.handler("mousedown",{onStart:function(e){this.dispatchEvent(e,"mousedown")}})}function l(n){return function(e,t){t.distance<this.state.options.maxDistance&&this.dispatchEvent(e,n,t)}}return c.handler("press",{onStart:function(e,t){this.dispatchEvent(e,"$md.pressdown")},onEnd:function(e,t){this.dispatchEvent(e,"$md.pressup")}}).handler("hold",{options:{maxDistance:6,delay:500},onCancel:function(){n.cancel(this.state.timeout)},onStart:function(e,t){if(!this.state.registeredParent)return this.cancel();this.state.pos={x:t.x,y:t.y},this.state.timeout=n(ie.bind(this,function(){this.dispatchEvent(e,"$md.hold"),this.cancel()}),this.state.options.delay,!1)},onMove:function(e,t){o||"touchmove"!==e.type||e.preventDefault();var n=this.state.pos.x-t.x,r=this.state.pos.y-t.y;Math.sqrt(n*n+r*r)>this.options.maxDistance&&this.cancel()},onEnd:function(){this.onCancel()}}).handler("drag",{options:{minDistance:6,horizontal:!0,cancelMultiplier:1.5},onSetup:function(e,t){o&&(this.oldTouchAction=e[0].style[o],e[0].style[o]=!1===t.horizontal?"pan-y":"pan-x")},onCleanup:function(e){this.oldTouchAction&&(e[0].style[o]=this.oldTouchAction)},onStart:function(e){this.state.registeredParent||this.cancel()},onMove:function(e,t){var n,r;o||"touchmove"!==e.type||e.preventDefault(),this.state.dragPointer?this.dispatchDragMove(e):(r=this.state.options.horizontal?(n=Math.abs(t.distanceX)>this.state.options.minDistance,Math.abs(t.distanceY)>this.state.options.minDistance*this.state.options.cancelMultiplier):(n=Math.abs(t.distanceY)>this.state.options.minDistance,Math.abs(t.distanceX)>this.state.options.minDistance*this.state.options.cancelMultiplier),n?(this.state.dragPointer=d(e),h(e,this.state.dragPointer),this.dispatchEvent(e,"$md.dragstart",this.state.dragPointer)):r&&this.cancel())},dispatchDragMove:e.throttle(function(e){this.state.isRunning&&(h(e,this.state.dragPointer),this.dispatchEvent(e,"$md.drag",this.state.dragPointer))}),onEnd:function(e,t){this.state.dragPointer&&(h(e,this.state.dragPointer),this.dispatchEvent(e,"$md.dragend",this.state.dragPointer))}}).handler("swipe",{options:{minVelocity:.65,minDistance:10},onEnd:function(e,t){var n;Math.abs(t.velocityX)>this.state.options.minVelocity&&Math.abs(t.distanceX)>this.state.options.minDistance?(n="left"==t.directionX?"$md.swipeleft":"$md.swiperight",this.dispatchEvent(e,n)):Math.abs(t.velocityY)>this.state.options.minVelocity&&Math.abs(t.distanceY)>this.state.options.minDistance&&(n="up"==t.directionY?"$md.swipeup":"$md.swipedown",this.dispatchEvent(e,n))}})}function t(e){this.name=e,this.state={}}function n(e,i){function t(e){!e.clientX&&!e.clientY||e.$material||e.isIonicTap||l(e)||(e.preventDefault(),e.stopPropagation())}document.contains||(document.contains=function(e){return document.body.contains(e)}),!s&&e.isHijackingClicks&&(document.addEventListener("click",function(e){0===e.clientX&&0===e.clientY||e.$material||e.isIonicTap||l(e)?(o=null,"label"==e.target.tagName.toLowerCase()&&(o={x:e.x,y:e.y})):(e.preventDefault(),e.stopPropagation(),o=null)},!0),document.addEventListener("mouseup",t,!0),document.addEventListener("mousedown",t,!0),document.addEventListener("focus",t,!0),s=!0);function n(e,t){var n;for(var r in u)(n=u[r])instanceof i&&("start"===e&&n.cancel(),n[e](t,a))}ie.element(document).on("mousedown touchstart pointerdown",function(e){if(a)return;var t=+Date.now();if(r&&!c(e,r)&&t-r.endTime<1500)return;a=d(e),n("start",e)}).on("mousemove touchmove pointermove",function(e){if(!a||!c(e,a))return;h(e,a),n("move",e)}).on("mouseup mouseleave touchend touchcancel pointerup pointercancel",function(e){if(!a||!c(e,a))return;h(e,a),a.endTime=+Date.now(),n("end",e),r=a,a=null}).on("$$mdGestureReset",function(){r=a=null})}function d(e){var t=p(e),n={startTime:+Date.now(),target:e.target,type:e.type.charAt(0)};return n.startX=n.x=t.pageX,n.startY=n.y=t.pageY,n}function c(e,t){return e&&t&&e.type.charAt(0)===t.type}function l(e){return o&&o.x==e.x&&o.y==e.y}function h(e,t){var n=p(e),r=t.x=n.pageX,i=t.y=n.pageY;t.distanceX=r-t.startX,t.distanceY=i-t.startY,t.distance=Math.sqrt(t.distanceX*t.distanceX+t.distanceY*t.distanceY),t.directionX=0<t.distanceX?"right":t.distanceX<0?"left":"",t.directionY=0<t.distanceY?"down":t.distanceY<0?"up":"",t.duration=+Date.now()-t.startTime,t.velocityX=t.distanceX/t.duration,t.velocityY=t.distanceY/t.duration}function p(e){return(e=e.originalEvent||e).touches&&e.touches[0]||e.changedTouches&&e.changedTouches[0]||e}ie.module("material.core.gestures",[]).provider("$mdGesture",e).factory("$$MdGestureHandler",function(){var e=void 0!==G.jQuery&&ie.element===G.jQuery;return t.prototype={options:{},dispatchEvent:e?function(e,t,n){n=n||a;var r=new ie.element.Event(t);r.$material=!0,r.pointer=n,r.srcEvent=e,ie.extend(r,{clientX:n.x,clientY:n.y,screenX:n.x,screenY:n.y,pageX:n.x,pageY:n.y,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey,metaKey:e.metaKey}),ie.element(n.target).trigger(r)}:function(e,t,n){var r;n=n||a,"click"===t||"mouseup"==t||"mousedown"==t?(r=document.createEvent("MouseEvents")).initMouseEvent(t,!0,!0,G,e.detail,n.x,n.y,n.x,n.y,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,e.button,e.relatedTarget||null):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!0,{}),r.$material=!0,r.pointer=n,r.srcEvent=e,n.target.dispatchEvent(r)},onSetup:ie.noop,onCleanup:ie.noop,onStart:ie.noop,onMove:ie.noop,onEnd:ie.noop,onCancel:ie.noop,start:function(e,t){if(!this.state.isRunning){var n=this.getNearestParent(e.target),r=n&&n.$mdGesture[this.name]||{};this.state={isRunning:!0,options:ie.extend({},this.options,r),registeredParent:n},this.onStart(e,t)}},move:function(e,t){this.state.isRunning&&this.onMove(e,t)},end:function(e,t){this.state.isRunning&&(this.onEnd(e,t),this.state.isRunning=!1)},cancel:function(e,t){this.onCancel(e,t),this.state={}},getNearestParent:function(e){for(var t=e;t;){if((t.$mdGesture||{})[this.name])return t;t=t.parentNode}return null},registerElement:function(e,t){var n=this;return e[0].$mdGesture=e[0].$mdGesture||{},e[0].$mdGesture[this.name]=t||{},e.on("$destroy",r),n.onSetup(e,t||{}),r;function r(){delete e[0].$mdGesture[n.name],e.off("$destroy",r),n.onCleanup(e,t||{})}}},t}).run(n),e.prototype={skipClickHijack:function(){return f=!0},$get:["$$MdGestureHandler","$$rAF","$timeout",function(e,t,n){return new i(e,t,n)}]}}(),ie.module("material.core").provider("$$interimElement",function(){return t.$inject=["$document","$q","$$q","$rootScope","$timeout","$rootElement","$animate","$mdUtil","$mdCompiler","$mdTheming","$injector"],e.$get=t,e;function e(i){e.$inject=["$$interimElement","$injector"];var n=["onHide","onShow","onRemove"],a={},l={presets:{}},r={setDefaults:function(e){return l.optionsFactory=e.options,l.methods=(e.methods||[]).concat(n),r},addPreset:function(e,t){if((t=t||{}).methods=t.methods||[],t.options=t.options||function(){return{}},/^cancel|hide|show$/.test(e))throw new Error("Preset '"+e+"' in "+i+" is reserved!");if(-1<t.methods.indexOf("_options"))throw new Error("Method '_options' in "+i+" is reserved!");return l.presets[e]={methods:t.methods.concat(n),optionsFactory:t.options,argOption:t.argOption},r},addMethod:function(e,t){return a[e]=t,r},$get:e};return r.addPreset("build",{methods:["controller","controllerAs","resolve","template","templateUrl","themable","transformTemplate","parent"]}),r;function e(e,r){var o,t,n=e(),s={hide:n.hide,cancel:n.cancel,show:function(e){return(e=e||{})._options&&(e=e._options),n.show(ie.extend({},t,e))},destroy:function(e){return n.destroy(e)}};return o=l.methods||[],t=c(l.optionsFactory,{}),ie.forEach(a,function(e,t){s[t]=e}),ie.forEach(l.presets,function(t,n){var r=c(t.optionsFactory,{}),e=(t.methods||[]).concat(o);function i(e){this._options=ie.extend({},r,e)}if(ie.extend(r,{$type:n}),ie.forEach(e,function(t){i.prototype[t]=function(e){return this._options[t]=e,this}}),t.argOption){var a="show"+n.charAt(0).toUpperCase()+n.slice(1);s[a]=function(e){var t=s[n](e);return s.show(t)}}s[n]=function(e){return arguments.length&&t.argOption&&!ie.isObject(e)&&!ie.isArray(e)?(new i)[t.argOption](e):new i(e)}}),s;function c(e,t){var n={};return n[i]=s,r.invoke(e||function(){return t},{},n)}}}function t(d,h,s,t,p,m,r,i,g,_,e){return function(){var f,a=[];return f={show:function(e){var t=new n((e=e||{})||{});return(!e.skipHide&&a.length?f.cancel():h.when(!0)).finally(function(){a.push(t),t.show().catch(function(e){return e})}),t.deferred.promise},hide:function(t,n){if(!a.length)return h.when(t);if((n=n||{}).closeAll){var e=h.all(a.reverse().map(i));return a=[],e}if(n.closeTo!==ae)return h.all(a.splice(n.closeTo).map(i));var r=a.pop();return i(r);function i(e){return e.remove(t,!1,n||{}).catch(function(e){return e}),e.deferred.promise}},cancel:function(e,t){var n=a.pop();return n?(n.remove(e,!0,t||{}).catch(function(e){return e}),n.deferred.promise.catch(ie.noop)):h.when(e)},destroy:function(e){var t=e?null:a.shift(),n=ie.element(e).length?ie.element(e)[0].parentNode:null;if(n){var r=a.filter(function(e){var t=e.options.element[0];return t===n});0<r.length&&(t=r[0],a.splice(a.indexOf(t),1))}return t?t.remove(!1,!1,{$destroy:!0}):h.when(!1)},$injector_:e};function n(c){var a,l,e,u=h.when(!0);return(e=(e=c)||{}).template&&(e.template=i.processTemplate(e.template)),c=ie.extend({preserveScope:!1,cancelAutoHide:ie.noop,scope:e.scope||t.$new(e.isolateScope),onShow:function(e,t,n){return r.enter(t,n.parent)},onRemove:function(e,t){return t&&r.leave(t)||h.when()}},e),a={options:c,deferred:h.defer(),show:function(){return h(function(n,t){var r;function s(e){a.deferred.reject(e),t(e)}c.onCompiling&&c.onCompiling(c),(r=c,(r.skipCompile?null:g.compile(r))||h(function(e){e({locals:{},link:function(){return r.element}})})).then(function(e){var r,i,a,t,o;l=function(e,t){ie.extend(e.locals,t);var n,r,i,a,o=e.link(t.scope);return t.element=o,t.parent=(n=o,a=(r=t).parent,((a=ie.isFunction(a)?a(r.scope,n,r):ie.isString(a)?ie.element(d[0].querySelector(a)):ie.element(a))||{}).length?a:(m[0]&&m[0].querySelector&&(i=m[0].querySelector(":not(svg) > body")),i||(i=m[0]),"#comment"==i.nodeName&&(i=d[0].body),ie.element(i))),t.themable&&_(o),o}(e,c),u=(r=l,i=c,a=e.controller,t=i.onShowing||ie.noop,o=i.onComplete||ie.noop,t(i.scope,r,i,a),h(function(n,t){try{h.when(i.onShow(i.scope,r,i,a)).then(function(){var e,t;o(i.scope,r,i),t=ie.noop,c.hideDelay&&(e=p(f.hide,c.hideDelay),t=function(){p.cancel(e)}),c.cancelAutoHide=function(){t(),c.cancelAutoHide=ae},n(r)},t)}catch(e){t(e.message)}})).then(n,s)},s)})},remove:function(e,t,n){return l?((c=ie.extend(c||{},n||{})).cancelAutoHide&&c.cancelAutoHide(),c.element.triggerHandler("$mdInterimElementRemove"),!0===c.$destroy?o(c.element,c).then(function(){t&&i(e)||r(e)}):(h.when(u).finally(function(){o(c.element,c).then(function(){t&&i(e)||r(e)},i)}),a.deferred.promise)):h.when(!1);function r(e){a.deferred.resolve(e)}function i(e){a.deferred.reject(e)}}};function o(r,i){var a=i.onRemoving||ie.noop;return s(function(e,t){try{var n=s.when(i.onRemove(i.scope,r,i)||!0);a(r,n),1==i.$destroy?e(r):n.then(function(){!i.preserveScope&&i.scope&&i.scope.$destroy(),e(r)},t)}catch(e){t(e)}})}}}}}),function(){var l,s,u,c=/(-gt)?-(sm|md|lg|print)/g,f=/\s+/g,d=["grow","initial","auto","none","noshrink","nogrow"],h=["row","column"],p=["","start","center","end","stretch","space-around","space-between"],m=["","start","center","end","stretch"],g={enabled:!0,breakpoints:[]};function _(){var e=!!document.querySelector("[md-layouts-disabled]");g.enabled=!e}function b(){return g.enabled=!1,{restrict:"A",priority:"900"}}function v(r){return["$mdUtil","$interpolate","$log",function(e,t,n){return l=e,s=t,u=n,{restrict:"A",compile:function(e,t){var n;return g.enabled&&(C(r,T(r,t,""),A(0,r,t)),i(0,e),n=i),n||ie.noop}}}];function i(e,t){t.addClass(r)}}function y(t){var n=t.split("-");return["$log",function(e){return e.warn(t+"has been deprecated. Please use a `"+n[0]+"-gt-<xxx>` variant."),ie.noop}]}function w(e,t,n,r){var i,a=n[0].nodeName.toLowerCase();switch(e.replace(c,"")){case"flex":"md-button"!=a&&"fieldset"!=a||(i="<"+a+" "+e+"></"+a+">",r.warn(l.supplant("Markup '{0}' may not work as expected in IE Browsers. Consult '{1}' for details.",[i,"https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers"])))}}function C(e,t,n){var r,i,a,o=t;if(!S(t)){switch(e.replace(c,"")){case"layout":x(t,h)||(t=h[0]);break;case"flex":x(t,d)||isNaN(t)&&(t="");break;case"flex-offset":case"flex-order":t&&!isNaN(+t)||(t="0");break;case"layout-align":var s=(a={main:"start",cross:"stretch"},0!==(r=(r=t)||"").indexOf("-")&&0!==r.indexOf(" ")||(r="none"+r),(i=r.toLowerCase().trim().replace(f,"-").split("-")).length&&"space"===i[0]&&(i=[i[0]+"-"+i[1],i[2]]),0<i.length&&(a.main=i[0]||a.main),1<i.length&&(a.cross=i[1]||a.cross),p.indexOf(a.main)<0&&(a.main="start"),m.indexOf(a.cross)<0&&(a.cross="stretch"),a);t=l.supplant("{main}-{cross}",s);break;case"layout-padding":case"layout-margin":case"layout-fill":case"layout-wrap":case"layout-nowrap":case"layout-nowrap":t=""}t!=o&&(n||ie.noop)(t)}return t}function A(e,t,n){return function(e){S(e)||(n[n.$normalize(t)]=e)}}function S(e){return-1<(e||"").indexOf(s.startSymbol())}function T(e,t,n){var r=t.$normalize(e);return t[r]?t[r].replace(f,"-"):n||null}function x(t,e,n){t=n&&t?t.replace(f,n):t;var r=!1;return t&&e.forEach(function(e){e=n?e.replace(f,n):e,r=r||e===t}),r}!function(r){var i,t=/^((?:x|data)[\:\-_])/i,n=/([\:\-\_]+(.))/g,e=["layout","flex","flex-order","flex-offset","layout-align"],a=["show","hide","layout-padding","layout-margin"];function o(e){return e.replace(t,"").replace(n,function(e,t,n,r){return r?n.toUpperCase():n})}ie.forEach(["","xs","gt-xs","sm","gt-sm","md","gt-md","lg","gt-lg","xl","print"],function(n){ie.forEach(e,function(e){var t=n?e+"-"+n:e;r.directive(o(t),function(c){return["$mdUtil","$interpolate","$log",function(e,t,n){return l=e,s=t,u=n,{restrict:"A",compile:function(e,t){var n;return g.enabled&&(w(c,0,e,u),C(c,T(c,t,""),A(0,c,t)),n=r),n||ie.noop}}}];function r(e,t,n){var r,i,a,o=(r=t,i=c,function(e){var t=C(i,e||"");ie.isDefined(t)&&(a&&r.removeClass(a),a=t?i+"-"+t.replace(f,"-"):i,r.addClass(a))}),s=n.$observe(n.$normalize(c),o);o(T(c,n,"")),e.$on("$destroy",function(){s()})}}(t))}),ie.forEach(a,function(e){var t=n?e+"-"+n:e;r.directive(o(t),v(t))})}),r.provider("$$mdLayout",function(){return{$get:ie.noop,validateAttributeValue:C,validateAttributeUsage:w,disableLayouts:function(e){g.enabled=!0!==e}}}).directive("mdLayoutCss",b).directive("ngCloak",(i="ng-cloak",["$timeout",function(n){return{restrict:"A",priority:-10,compile:function(e){return g.enabled?(e.addClass(i),function(e,t){n(function(){t.removeClass(i)},10,!1)}):ie.noop}}}])).directive("layoutWrap",v("layout-wrap")).directive("layoutNowrap",v("layout-nowrap")).directive("layoutNoWrap",v("layout-no-wrap")).directive("layoutFill",v("layout-fill")).directive("layoutLtMd",y("layout-lt-md")).directive("layoutLtLg",y("layout-lt-lg")).directive("flexLtMd",y("flex-lt-md")).directive("flexLtLg",y("flex-lt-lg")).directive("layoutAlignLtMd",y("layout-align-lt-md")).directive("layoutAlignLtLg",y("layout-align-lt-lg")).directive("flexOrderLtMd",y("flex-order-lt-md")).directive("flexOrderLtLg",y("flex-order-lt-lg")).directive("offsetLtMd",y("flex-offset-lt-md")).directive("offsetLtLg",y("flex-offset-lt-lg")).directive("hideLtMd",y("hide-lt-md")).directive("hideLtLg",y("hide-lt-lg")).directive("showLtMd",y("show-lt-md")).directive("showLtLg",y("show-lt-lg")).config(_)}(ie.module("material.core.layout",["ng"]))}(),ie.module("material.core.meta",[]).provider("$$mdMeta",function(){var r=ie.element(document.head),i={};function a(e){if(i[e])return!0;var t=document.getElementsByName(e)[0];return!!t&&(i[e]=ie.element(t),!0)}var e={setMeta:function(e,t){if(a(e),i[e])i[e].attr("content",t);else{var n=ie.element('<meta name="'+e+'" content="'+t+'"/>');r.append(n),i[e]=n}return function(){i[e].attr("content",""),i[e].remove(),delete i[e]}},getMeta:function(e){if(!a(e))throw Error("$$mdMeta: could not find a meta tag with the name '"+e+"'");return i[e].attr("content")}};return ie.extend({},e,{$get:function(){return e}})}),function(){function e(n,r){var i,a=[],o={};return i={notFoundError:function(e,t){n.error((t||"")+"No instance found for handle",e)},getInstances:function(){return a},get:function(e){if(!s(e))return null;var t,n,r;for(t=0,n=a.length;t<n;t++)if((r=a[t]).$$mdHandle===e)return r;return null},register:function(t,e){return e?(t.$$mdHandle=e,a.push(t),(n=o[e])&&(n.forEach(function(e){e.resolve(t)}),delete o[e]),function(){var e=a.indexOf(t);-1!==e&&a.splice(e,1)}):ie.noop;var n},when:function(e){if(s(e)){var t=r.defer(),n=i.get(e);return n?t.resolve(n):(o[e]===ae&&(o[e]=[]),o[e].push(t)),t.promise}return r.reject("Invalid `md-component-id` value.")}};function s(e){return e&&""!==e}}e.$inject=["$log","$q"],ie.module("material.core").factory("$mdComponentRegistry",e)}(),function(){function e(i){return{attach:function(e,t,n){var r;return n=ie.extend((r=t).hasClass("md-icon-button")?{isMenuItem:r.hasClass("md-menu-item"),fitRipple:!0,center:!0}:{isMenuItem:r.hasClass("md-menu-item"),dimBackground:!0},n),i.attach(e,t,n)}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdButtonInkRipple",e)}(),function(){function e(r){return{attach:function(e,t,n){return r.attach(e,t,ie.extend({center:!0,dimBackground:!1,fitRipple:!0},n))}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdCheckboxInkRipple",e)}(),function(){function e(r){return{attach:function(e,t,n){return r.attach(e,t,ie.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},n))}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdListInkRipple",e)}(),function(){a.$inject=["$scope","$element","rippleOptions","$window","$timeout","$mdUtil","$mdColorUtil"],e.$inject=["$mdButtonInkRipple","$mdCheckboxInkRipple"],ie.module("material.core").provider("$mdInkRipple",function(){var i=!1;return{disableInkRipple:function(){i=!0},$get:["$injector",function(r){return{attach:function(e,t,n){return i||t.controller("mdNoInk")?ie.noop:r.instantiate(a,{$scope:e,$element:t,rippleOptions:n})}}}]}}).directive("mdInkRipple",e).directive("mdNoInk",n).directive("mdNoBar",n).directive("mdNoStretch",n);function e(r,i){return{controller:ie.noop,link:function(e,t,n){n.hasOwnProperty("mdInkRippleCheckbox")?i.attach(e,t):r.attach(e,t)}}}function a(e,t,n,r,i,a,o){this.$window=r,this.$timeout=i,this.$mdUtil=a,this.$mdColorUtil=o,this.$scope=e,this.$element=t,this.options=n,this.mousedown=!1,this.ripples=[],this.timeout=null,this.lastRipple=null,a.valueOnUse(this,"container",this.createContainer),this.$element.addClass("md-ink-ripple"),(t.controller("mdInkRipple")||{}).createRipple=ie.bind(this,this.createRipple),(t.controller("mdInkRipple")||{}).setColor=ie.bind(this,this.color),this.bindEvents()}function t(e,t){(e.mousedown||e.lastRipple)&&(e.mousedown=!1,e.$mdUtil.nextTick(ie.bind(e,t),!1))}function n(){return{controller:ie.noop}}a.prototype.color=function(e){var t,n,r=this;return ie.isDefined(e)&&(r._color=r._parseColor(e)),r._color||r._parseColor(r.inkRipple())||r._parseColor((t=r.options&&r.options.colorElement?r.options.colorElement:[],(n=t.length?t[0]:r.$element[0])?r.$window.getComputedStyle(n).color:"rgb(0,0,0)"))},a.prototype.calculateColor=function(){return this.color()},a.prototype._parseColor=function(e,t){t=t||1;var n=this.$mdColorUtil;if(e)return 0===e.indexOf("rgba")?e.replace(/\d?\.?\d*\s*\)\s*$/,(.1*t).toString()+")"):0===e.indexOf("rgb")?n.rgbToRgba(e):0===e.indexOf("#")?n.hexToRgba(e):void 0},a.prototype.bindEvents=function(){this.$element.on("mousedown",ie.bind(this,this.handleMousedown)),this.$element.on("mouseup touchend",ie.bind(this,this.handleMouseup)),this.$element.on("mouseleave",ie.bind(this,this.handleMouseup)),this.$element.on("touchmove",ie.bind(this,this.handleTouchmove))},a.prototype.handleMousedown=function(e){if(!this.mousedown)if(e.hasOwnProperty("originalEvent")&&(e=e.originalEvent),this.mousedown=!0,this.options.center)this.createRipple(this.container.prop("clientWidth")/2,this.container.prop("clientWidth")/2);else if(e.srcElement!==this.$element[0]){var t=this.$element[0].getBoundingClientRect(),n=e.clientX-t.left,r=e.clientY-t.top;this.createRipple(n,r)}else this.createRipple(e.offsetX,e.offsetY)},a.prototype.handleMouseup=function(){t(this,this.clearRipples)},a.prototype.handleTouchmove=function(){t(this,this.deleteRipples)},a.prototype.deleteRipples=function(){for(var e=0;e<this.ripples.length;e++)this.ripples[e].remove()},a.prototype.clearRipples=function(){for(var e=0;e<this.ripples.length;e++)this.fadeInComplete(this.ripples[e])},a.prototype.createContainer=function(){var e=ie.element('<div class="md-ripple-container"></div>');return this.$element.append(e),e},a.prototype.clearTimeout=function(){this.timeout&&(this.$timeout.cancel(this.timeout),this.timeout=null)},a.prototype.isRippleAllowed=function(){var e=this.$element[0];do{if(!e.tagName||"BODY"===e.tagName)break;if(e&&ie.isFunction(e.hasAttribute)){if(e.hasAttribute("disabled"))return!1;if("false"===this.inkRipple()||"0"===this.inkRipple())return!1}}while(e=e.parentNode);return!0},a.prototype.inkRipple=function(){return this.$element.attr("md-ink-ripple")},a.prototype.createRipple=function(e,t){if(this.isRippleAllowed()){var n,r,i,a=this,o=a.$mdColorUtil,s=ie.element('<div class="md-ripple"></div>'),c=this.$element.prop("clientWidth"),l=this.$element.prop("clientHeight"),u=2*Math.max(Math.abs(c-e),e),f=2*Math.max(Math.abs(l-t),t),d=(n=this.options.fitRipple,r=u,i=f,n?Math.max(r,i):Math.sqrt(Math.pow(r,2)+Math.pow(i,2))),h=this.calculateColor();s.css({left:e+"px",top:t+"px",background:"black",width:d+"px",height:d+"px",backgroundColor:o.rgbaToRgb(h),borderColor:o.rgbaToRgb(h)}),this.lastRipple=s,this.clearTimeout(),this.timeout=this.$timeout(function(){a.clearTimeout(),a.mousedown||a.fadeInComplete(s)},157.5,!1),this.options.dimBackground&&this.container.css({backgroundColor:h}),this.container.append(s),this.ripples.push(s),s.addClass("md-ripple-placed"),this.$mdUtil.nextTick(function(){s.addClass("md-ripple-scaled md-ripple-active"),a.$timeout(function(){a.clearRipples()},450,!1)},!1)}},a.prototype.fadeInComplete=function(e){this.lastRipple===e&&(this.timeout||this.mousedown)||this.removeRipple(e)},a.prototype.removeRipple=function(e){var t=this;this.ripples.indexOf(e)<0||(this.ripples.splice(this.ripples.indexOf(e),1),e.removeClass("md-ripple-active"),e.addClass("md-ripple-remove"),0===this.ripples.length&&this.container.css({backgroundColor:""}),this.$timeout(function(){t.fadeOutComplete(e)},450,!1))},a.prototype.fadeOutComplete=function(e){e.remove(),this.lastRipple=null}}(),function(){function e(r){return{attach:function(e,t,n){return r.attach(e,t,ie.extend({center:!1,dimBackground:!0,outline:!1,rippleSize:"full"},n))}}}e.$inject=["$mdInkRipple"],ie.module("material.core").factory("$mdTabInkRipple",e)}(),ie.module("material.core.theming.palette",[]).constant("$mdColorPalette",{red:{50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 A100",contrastStrongLightColors:"400 500 600 700 A200 A400 A700"},pink:{50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"500 600 A200 A400 A700"},purple:{50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200 A400 A700"},"deep-purple":{50:"#ede7f6",100:"#d1c4e9",200:"#b39ddb",300:"#9575cd",400:"#7e57c2",500:"#673ab7",600:"#5e35b1",700:"#512da8",800:"#4527a0",900:"#311b92",A100:"#b388ff",A200:"#7c4dff",A400:"#651fff",A700:"#6200ea",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200"},indigo:{50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100",contrastStrongLightColors:"300 400 A200 A400"},blue:{50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 400 A100",contrastStrongLightColors:"500 600 700 A200 A400 A700"},"light-blue":{50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea",contrastDefaultColor:"dark",contrastLightColors:"600 700 800 900 A700",contrastStrongLightColors:"600 700 800 A700"},cyan:{50:"#e0f7fa",100:"#b2ebf2",200:"#80deea",300:"#4dd0e1",400:"#26c6da",500:"#00bcd4",600:"#00acc1",700:"#0097a7",800:"#00838f",900:"#006064",A100:"#84ffff",A200:"#18ffff",A400:"#00e5ff",A700:"#00b8d4",contrastDefaultColor:"dark",contrastLightColors:"700 800 900",contrastStrongLightColors:"700 800 900"},teal:{50:"#e0f2f1",100:"#b2dfdb",200:"#80cbc4",300:"#4db6ac",400:"#26a69a",500:"#009688",600:"#00897b",700:"#00796b",800:"#00695c",900:"#004d40",A100:"#a7ffeb",A200:"#64ffda",A400:"#1de9b6",A700:"#00bfa5",contrastDefaultColor:"dark",contrastLightColors:"500 600 700 800 900",contrastStrongLightColors:"500 600 700"},green:{50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853",contrastDefaultColor:"dark",contrastLightColors:"500 600 700 800 900",contrastStrongLightColors:"500 600 700"},"light-green":{50:"#f1f8e9",100:"#dcedc8",200:"#c5e1a5",300:"#aed581",400:"#9ccc65",500:"#8bc34a",600:"#7cb342",700:"#689f38",800:"#558b2f",900:"#33691e",A100:"#ccff90",A200:"#b2ff59",A400:"#76ff03",A700:"#64dd17",contrastDefaultColor:"dark",contrastLightColors:"700 800 900",contrastStrongLightColors:"700 800 900"},lime:{50:"#f9fbe7",100:"#f0f4c3",200:"#e6ee9c",300:"#dce775",400:"#d4e157",500:"#cddc39",600:"#c0ca33",700:"#afb42b",800:"#9e9d24",900:"#827717",A100:"#f4ff81",A200:"#eeff41",A400:"#c6ff00",A700:"#aeea00",contrastDefaultColor:"dark",contrastLightColors:"900",contrastStrongLightColors:"900"},yellow:{50:"#fffde7",100:"#fff9c4",200:"#fff59d",300:"#fff176",400:"#ffee58",500:"#ffeb3b",600:"#fdd835",700:"#fbc02d",800:"#f9a825",900:"#f57f17",A100:"#ffff8d",A200:"#ffff00",A400:"#ffea00",A700:"#ffd600",contrastDefaultColor:"dark"},amber:{50:"#fff8e1",100:"#ffecb3",200:"#ffe082",300:"#ffd54f",400:"#ffca28",500:"#ffc107",600:"#ffb300",700:"#ffa000",800:"#ff8f00",900:"#ff6f00",A100:"#ffe57f",A200:"#ffd740",A400:"#ffc400",A700:"#ffab00",contrastDefaultColor:"dark"},orange:{50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00",contrastDefaultColor:"dark",contrastLightColors:"800 900",contrastStrongLightColors:"800 900"},"deep-orange":{50:"#fbe9e7",100:"#ffccbc",200:"#ffab91",300:"#ff8a65",400:"#ff7043",500:"#ff5722",600:"#f4511e",700:"#e64a19",800:"#d84315",900:"#bf360c",A100:"#ff9e80",A200:"#ff6e40",A400:"#ff3d00",A700:"#dd2c00",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 400 A100 A200",contrastStrongLightColors:"500 600 700 800 900 A400 A700"},brown:{50:"#efebe9",100:"#d7ccc8",200:"#bcaaa4",300:"#a1887f",400:"#8d6e63",500:"#795548",600:"#6d4c41",700:"#5d4037",800:"#4e342e",900:"#3e2723",A100:"#d7ccc8",A200:"#bcaaa4",A400:"#8d6e63",A700:"#5d4037",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 A100 A200",contrastStrongLightColors:"300 400"},grey:{50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#ffffff",A200:"#000000",A400:"#303030",A700:"#616161",contrastDefaultColor:"dark",contrastLightColors:"600 700 800 900 A200 A400 A700"},"blue-grey":{50:"#eceff1",100:"#cfd8dc",200:"#b0bec5",300:"#90a4ae",400:"#78909c",500:"#607d8b",600:"#546e7a",700:"#455a64",800:"#37474f",900:"#263238",A100:"#cfd8dc",A200:"#b0bec5",A400:"#78909c",A700:"#455a64",contrastDefaultColor:"light",contrastDarkColors:"50 100 200 300 A100 A200",contrastStrongLightColors:"400 500 700"}}),function(p){function e(e){var t=!!document.querySelector("[md-themes-disabled]");e.disableTheming(t)}e.$inject=["$mdThemingProvider"],n.$inject=["$mdTheming","$interpolate","$log"],r.$inject=["$mdTheming"],t.$inject=["$mdColorPalette","$$mdMetaProvider"],i.$inject=["$injector","$mdTheming"],p.module("material.core.theming",["material.core.theming.palette","material.core.meta"]).directive("mdTheme",n).directive("mdThemable",r).directive("mdThemesDisabled",function(){return C.disableTheming=!0,{restrict:"A",priority:"900"}}).provider("$mdTheming",t).config(e).run(i);var m,c={},s={name:"dark",1:"rgba(0,0,0,0.87)",2:"rgba(0,0,0,0.54)",3:"rgba(0,0,0,0.38)",4:"rgba(0,0,0,0.12)"},l={name:"light",1:"rgba(255,255,255,1.0)",2:"rgba(255,255,255,0.7)",3:"rgba(255,255,255,0.5)",4:"rgba(255,255,255,0.12)"},u="1px 1px 0px rgba(0,0,0,0.4), -1px -1px 0px rgba(0,0,0,0.4)",g="",f=x("rgba(0,0,0,0.87)"),d=x("rgba(255,255,255,0.87)"),h=x("rgb(255,255,255)"),_=["primary","accent","warn","background"],b="primary",v={accent:{default:"A200","hue-1":"A100","hue-2":"A400","hue-3":"A700"},background:{default:"50","hue-1":"A100","hue-2":"100","hue-3":"300"}},y={background:{default:"A400","hue-1":"800","hue-2":"900","hue-3":"A200"}};_.forEach(function(e){var t={default:"500","hue-1":"300","hue-2":"800","hue-3":"A100"};v[e]||(v[e]=t),y[e]||(y[e]=t)});var w=["50","100","200","300","400","500","600","700","800","900","A100","A200","A400","A700"],C={disableTheming:!1,generateOnDemand:!1,registeredStyles:[],nonce:null};function t(e,c){a.$inject=["$rootScope","$log"];var n,f={},d=!(m={}),h="default";p.extend(m,e);var t=function(e){var t,n,r,i=(e=p.isObject(e)?e:{}).theme||"default",a=e.hue||"800",o=m[e.palette]||m[f[i].colors[e.palette||"primary"].name],s=p.isObject(o[a])?o[a].hex:o[a];return t=s,n=c.setMeta("theme-color",t),r=c.setMeta("msapplication-navbutton-color",t),function(){n(),r()}};return n={definePalette:function(e,t){return t=t||{},m[e]=r(e,t),n},extendPalette:function(e,t){return r(e,p.extend({},m[e]||{},t))},theme:function(e,t){if(f[e])return f[e];var n="string"==typeof(t=t||"default")?f[t]:t,r=new i(e);return n&&p.forEach(n.colors,function(e,t){r.colors[t]={name:e.name,hues:p.extend({},e.hues)}}),f[e]=r},configuration:function(){return p.extend({},C,{defaultTheme:h,alwaysWatchTheme:d,registeredStyles:[].concat(C.registeredStyles)})},disableTheming:function(e){C.disableTheming=p.isUndefined(e)||!!e},registerStyles:function(e){C.registeredStyles.push(e)},setNonce:function(e){C.nonce=e},generateThemesOnDemand:function(e){C.generateOnDemand=e},setDefaultTheme:function(e){h=e},alwaysWatchTheme:function(e){d=e},enableBrowserColor:t,$get:a,_LIGHT_DEFAULT_HUES:v,_DARK_DEFAULT_HUES:y,_PALETTES:m,_THEMES:f,_parseRules:A,_rgba:k};function r(e,t){var n=w.filter(function(e){return!t[e]});if(n.length)throw new Error("Missing colors %1 in palette %2!".replace("%1",n.join(", ")).replace("%2",e));return t}function i(e){var o=this;function t(e){if((e=0===arguments.length||!!e)!==o.isDark){o.isDark=e,o.foregroundPalette=o.isDark?l:s,o.foregroundShadow=o.isDark?u:g;var t=o.isDark?y:v,a=o.isDark?v:y;return p.forEach(t,function(e,t){var n=o.colors[t],r=a[t];if(n)for(var i in n.hues)n.hues[i]===r[i]&&(n.hues[i]=e[i])}),o}}o.name=e,o.colors={},(o.dark=t)(!1),_.forEach(function(r){var i=(o.isDark?y:v)[r];o[r+"Palette"]=function(t,e){var n=o.colors[r]={name:t,hues:p.extend({},i,e)};return Object.keys(n.hues).forEach(function(e){if(!i[e])throw new Error("Invalid hue name '%1' in theme %2's %3 color %4. Available hue names: %4".replace("%1",e).replace("%2",o.name).replace("%3",t).replace("%4",Object.keys(i).join(", ")))}),Object.keys(n.hues).map(function(e){return n.hues[e]}).forEach(function(e){if(-1==w.indexOf(e))throw new Error("Invalid hue value '%1' in theme %2's %3 color %4. Available hue values: %5".replace("%1",e).replace("%2",o.name).replace("%3",r).replace("%4",t).replace("%5",w.join(", ")))}),o},o[r+"Color"]=function(){var e=Array.prototype.slice.call(arguments);return console.warn("$mdThemingProviderTheme."+r+"Color() has been deprecated. Use $mdThemingProviderTheme."+r+"Palette() instead."),o[r+"Palette"].apply(o,e)}})}function a(c,l){var n=function(e,t){t===ae&&(t=e,e=ae),e===ae&&(e=c),n.inherit(t,t)};return n.THEMES=p.extend({},f),n.PALETTES=p.extend({},m),n.inherit=function(n,e){var t,r=e.controller("mdTheme"),i=n.attr("md-theme-watch"),a=(d||p.isDefined(i))&&"false"!=i;function o(){return(r=e.controller("mdTheme")||n.data("$mdThemeController"))&&r.$mdTheme||("default"==h?"":h)}function s(e){if(e){u(e)||l.warn("Attempted to use unregistered theme '"+e+"'. Register it with $mdThemingProvider.theme().");var t=n.data("$mdThemeName");t&&n.removeClass("md-"+t+"-theme"),n.addClass("md-"+e+"-theme"),n.data("$mdThemeName",e),r&&n.data("$mdThemeController",r)}}s(o()),(d&&(!(t=e.controller("mdTheme"))||(n.on("$destroy",t.registerChanges(function(){s(o())})),0))||!d&&a)&&n.on("$destroy",c.$watch(o,s))},n.registered=u,n.defaultTheme=function(){return h},n.generateTheme=function(e){T(f[e],e,C.nonce)},n.setBrowserColor=t,n;function u(e){return e===ae||""===e||n.THEMES[e]!==ae}}}function n(a,o,s){return{priority:100,link:{pre:function(e,t,n){var r=[],i={registerChanges:function(t,e){return e&&(t=p.bind(e,t)),r.push(t),function(){var e=r.indexOf(t);-1<e&&r.splice(e,1)}},$setTheme:function(e){a.registered(e)||s.warn("attempted to use unregistered theme '"+e+"'"),i.$mdTheme=e,r.forEach(function(e){e()})}};t.data("$mdThemeController",i),i.$setTheme(o(n.mdTheme)(e)),n.$observe("mdTheme",i.$setTheme)}}}}function r(e){return e}function A(o,e,n){!function(e,t){if(!m[(e.colors[t]||{}).name])throw new Error("You supplied an invalid color palette for theme %1's %2 palette. Available palettes: %3".replace("%1",e.name).replace("%2",t).replace("%3",Object.keys(m).join(", ")))}(o,e),n=n.replace(/THEME_NAME/g,o.name);var r=[],t=o.colors[e],i=new RegExp("\\.md-"+o.name+"-theme","g"),s=new RegExp("('|\")?{{\\s*("+e+")-(color|contrast)-?(\\d\\.?\\d*)?\\s*}}(\"|')?","g"),c=m[t.name];return n=n.replace(/'?"?\{\{\s*([a-zA-Z]+)-(A?\d+|hue\-[0-3]|shadow|default)-?(\d\.?\d*)?(contrast)?\s*\}\}'?"?/g,function(e,t,n,r,i){return"foreground"===t?"shadow"==n?o.foregroundShadow:o.foregroundPalette[n]||o.foregroundPalette[1]:(0!==n.indexOf("hue")&&"default"!==n||(n=o.colors[t].hues[n]),k((m[o.colors[t].name][n]||"")[i?"contrast":"value"],r))}),p.forEach(t.hues,function(a,e){var t=n.replace(s,function(e,t,n,r,i){return k(c[a]["color"===r?"value":"contrast"],i)});"default"!==e&&(t=t.replace(i,".md-"+o.name+"-theme.md-"+e)),"default"==o.name&&(t=t.replace(/((?:(?:(?: |>|\.|\w|-|:|\(|\)|\[|\]|"|'|=)+) )?)((?:(?:\w|\.|-)+)?)\.md-default-theme((?: |>|\.|\w|-|:|\(|\)|\[|\]|"|'|=)*)/g,function(e,t,n,r){return e+", "+t+n+r})),r.push(t)}),r}var S={};function i(e,t){var n=document.head,r=n?n.firstElementChild:null,i=!C.disableTheming&&e.has("$MD_THEME_CSS")?e.get("$MD_THEME_CSS"):"";if(i+=C.registeredStyles.join(""),r&&0!==i.length){p.forEach(m,function(r,e){var i=r.contrastDefaultColor,a=r.contrastLightColors||[],o=r.contrastStrongLightColors||[],s=r.contrastDarkColors||[];"string"==typeof a&&(a=a.split(" ")),"string"==typeof o&&(o=o.split(" ")),"string"==typeof s&&(s=s.split(" ")),delete r.contrastDefaultColor,delete r.contrastLightColors,delete r.contrastStrongLightColors,delete r.contrastDarkColors,p.forEach(r,function(e,t){if(!p.isObject(e)){var n=x(e);if(!n)throw new Error("Color %1, in palette %2's hue %3, is invalid. Hex or rgb(a) color expected.".replace("%1",e).replace("%2",r.name).replace("%3",t));r[t]={hex:r[t],value:n,contrast:"light"===i?-1<s.indexOf(t)?f:-1<o.indexOf(t)?h:d:-1<a.indexOf(t)?-1<o.indexOf(t)?h:d:f}}})});var a=i.split(/\}(?!(\}|'|"|;))/).filter(function(e){return e&&e.trim().length}).map(function(e){return e.trim()+"}"}),o=new RegExp("md-("+_.join("|")+")","g");_.forEach(function(e){S[e]=""}),a.forEach(function(e){e.match(o);for(var t,n=0;t=_[n];n++)if(-1<e.indexOf(".md-"+t))return S[t]+=e;for(n=0;t=_[n];n++)if(-1<e.indexOf(t))return S[t]+=e;return S[b]+=e}),C.generateOnDemand||p.forEach(t.THEMES,function(e){c[e.name]||"default"!==t.defaultTheme()&&"default"===e.name||T(e,e.name,C.nonce)})}}function T(i,e,a){var o=document.head,s=o?o.firstElementChild:null;c[e]||(_.forEach(function(e){for(var t=A(i,e,S[e]);t.length;){var n=t.shift();if(n){var r=document.createElement("style");r.setAttribute("md-theme-style",""),a&&r.setAttribute("nonce",a),r.appendChild(document.createTextNode(n)),o.insertBefore(r,s)}}}),c[i.name]=!0)}function x(e){if(p.isArray(e)&&3==e.length)return e;if(/^rgb/.test(e))return e.replace(/(^\s*rgba?\(|\)\s*$)/g,"").split(",").map(function(e,t){return 3==t?parseFloat(e,10):parseInt(e,10)});if("#"==e.charAt(0)&&(e=e.substring(1)),/^([a-fA-F0-9]{3}){1,2}$/g.test(e)){var t=e.length/3,n=e.substr(0,t),r=e.substr(t,t),i=e.substr(2*t);return 1===t&&(n+=n,r+=r,i+=i),[parseInt(n,16),parseInt(r,16),parseInt(i,16)]}}function k(e,t){return e?(4==e.length&&(e=p.copy(e),t?e.pop():t=e.pop()),t&&("number"==typeof t||"string"==typeof t&&t.length)?"rgba("+e.join(",")+","+t+")":"rgb("+e.join(",")+")"):"rgb('0,0,0')"}}(G.angular),ie.module("material.core").factory("$$mdAnimate",["$q","$timeout","$mdConstant","$animateCss",function(n,i,o,s){return function(e){return r=e,t=n,c=i,l=o,a=s,u={translate3d:function(t,n,e,r){return a(t,{from:n,to:e,addClass:r.transitionInClass,removeClass:r.transitionOutClass}).start().then(function(){return i});function i(e){return a(t,{to:e||n,addClass:r.transitionOutClass,removeClass:r.transitionInClass}).start()}},waitTransitionEnd:function(a,o){var s=3e3;return t(function(t,e){var n;("0s"==(n=(n=(o=o||{}).cachedTransitionStyles)||G.getComputedStyle(a[0])).transitionDuration||!n.transition&&!n.transitionProperty)&&(s=0);var r=c(i,o.timeout||s);function i(e){e&&e.target!==a[0]||(e&&c.cancel(r),a.off(l.CSS.TRANSITIONEND,i),t())}a.on(l.CSS.TRANSITIONEND,i)})},calculateTransformValues:function(e,t){var n,r,i=t.element,a=t.bounds;if(i||a){var o=i?u.clientRect(i)||(n=e?e.parent():null,(r=n?n.parent():null)?u.clientRect(r):null):u.copyRect(a),s=u.copyRect(e[0].getBoundingClientRect()),c=u.centerPointFor(s),l=u.centerPointFor(o);return{centerX:l.x-c.x,centerY:l.y-c.y,scaleX:Math.round(100*Math.min(.5,o.width/s.width))/100,scaleY:Math.round(100*Math.min(.5,o.height/s.height))/100}}return{centerX:0,centerY:0,scaleX:.5,scaleY:.5}},calculateZoomToOrigin:function(e,t){var n=ie.bind(null,r.supplant,"translate3d( {centerX}px, {centerY}px, 0 ) scale( {scaleX}, {scaleY} )");return n(u.calculateTransformValues(e,t))},calculateSlideToOrigin:function(e,t){var n=ie.bind(null,r.supplant,"translate3d( {centerX}px, {centerY}px, 0 )");return n(u.calculateTransformValues(e,t))},toCss:function(e){var r={};return ie.forEach(e,function(e,t){if(!ie.isUndefined(e))if(0<="left top right bottom width height x y min-width min-height max-width max-height".indexOf(t))r[t]=e+"px";else switch(t){case"transition":n(t,l.CSS.TRANSITION,e);break;case"transform":n(t,l.CSS.TRANSFORM,e);break;case"transformOrigin":n(t,l.CSS.TRANSFORM_ORIGIN,e);break;case"font-size":r["font-size"]=e}}),r;function n(e,t,n){ie.forEach(t.split(" "),function(e){r[e]=n})}},toTransformCss:function(t,e,n){var r={};return ie.forEach(l.CSS.TRANSFORM.split(" "),function(e){r[e]=t}),e&&(n=n||"all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important",r.transition=n),r},copyRect:function(t,n){return t?(n=n||{},ie.forEach("left top right bottom width height".split(" "),function(e){n[e]=Math.round(t[e])}),n.width=n.width||n.right-n.left,n.height=n.height||n.bottom-n.top,n):null},clientRect:function(e){var t,n=ie.element(e)[0].getBoundingClientRect();return(t=n)&&0<t.width&&0<t.height?u.copyRect(n):null},centerPointFor:function(e){return e?{x:Math.round(e.left+e.width/2),y:Math.round(e.top+e.height/2)}:{x:0,y:0}}};var r,t,c,l,a,u}}]),4<=ie.version.minor?ie.module("material.core.animate",[]):function(){var T=ie.forEach,x=ie.isDefined(document.documentElement.style.WebkitAppearance),k=x?"-webkit-":"",E=(x?"webkitTransitionEnd ":"")+"transitionend",D=(x?"webkitAnimationEnd ":"")+"animationend",e=["$q","$$rAFMutex",function(t,n){function e(e){this.setHost(e),this._doneCallbacks=[],this._runInAnimationFrame=n(),this._state=0}return e.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:ie.noop,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._runInAnimationFrame(function(){t._resolve(e)}))},_resolve:function(t){2!==this._state&&(T(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},e.all=function(t,n){var r=0,i=!0;function a(e){i=i&&e,++r===t.length&&n(i)}T(t,function(e){e.done(a)})},e}];function I(e){return e.replace(/-[a-z]/g,function(e){return e.charAt(1).toUpperCase()})}ie.module("material.core.animate",[]).factory("$$forceReflow",["$document",function(e){return function(){return e[0].body.clientWidth+1}}]).factory("$$AnimateRunner",e).factory("$$rAFMutex",["$$rAF",function(n){return function(){var t=!1;return n(function(){t=!0}),function(e){t?e():n(e)}}}]).factory("$animateCss",["$window","$$rAF","$$AnimateRunner","$$forceReflow","$$jqLite","$timeout","$animate",function(p,a,o,m,n,g,s){function _(e,t){t.addClass&&(n.addClass(e,t.addClass),t.addClass=null),t.removeClass&&(n.removeClass(e,t.removeClass),t.removeClass=null)}function b(e){var t=0,n=(e||"").split(/\s*,\s*/);return T(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}var v,y=[];function w(e,t){t.from&&(e.css(t.from),t.from=null)}function C(e,t){t.to&&(e.css(t.to),t.to=null)}function A(e){for(var t=0;t<e.length;t++)if(1===e[t].nodeType)return e[t]}function S(e,t){var n=A(e),r=I(k+"transition-delay");n.style[r]=t?"-9999s":""}return function(r,c){var l=[],u=A(r),e=u&&s.enabled(),t=!1,n=!1;e&&(c.transitionStyle&&l.push([k+"transition",c.transitionStyle]),c.keyframeStyle&&l.push([k+"animation",c.keyframeStyle]),c.delay&&l.push([k+"transition-delay",c.delay+"s"]),c.duration&&l.push([k+"transition-duration",c.duration+"s"]),t=c.keyframeStyle||c.to&&(0<c.duration||c.transitionStyle),n=!!c.addClass||!!c.removeClass,S(r,!0));var f=e&&(t||n);w(r,c);var d,h,i=!1;return{close:p.close,start:function(){var e,n=new o;return e=function(){if(S(r,!1),!f)return s();T(l,function(e){var t=e[0],n=e[1];u.style[I(t)]=n}),_(r,c);var e=function(e){var t=A(e),n=p.getComputedStyle(t),r=b(n[l("transitionDuration")]),i=b(n[l("animationDuration")]),a=b(n[l("transitionDelay")]),o=b(n[l("animationDelay")]);i*=parseInt(n[l("animationIterationCount")],10)||1;var s=Math.max(i,r),c=Math.max(o,a);return{duration:s,delay:c,animationDuration:i,transitionDuration:r,animationDelay:o,transitionDelay:a};function l(e){return x?"Webkit"+e.charAt(0).toUpperCase()+e.substr(1):e}}(r);if(0===e.duration)return s();var t=[];c.easing&&(e.transitionDuration&&t.push([k+"transition-timing-function",c.easing]),e.animationDuration&&t.push([k+"animation-timing-function",c.easing])),c.delay&&e.animationDelay&&t.push([k+"animation-delay",c.delay+"s"]),c.duration&&e.animationDuration&&t.push([k+"animation-duration",c.duration+"s"]),T(t,function(e){var t=e[0],n=e[1];u.style[I(t)]=n,l.push(e)});var i=1e3*e.delay,a=e.duration,n=1e3*a,o=Date.now();d=[],e.transitionDuration&&d.push(E),e.animationDuration&&d.push(D),d=d.join(" "),h=function(e){e.stopPropagation();var t=e.originalEvent||e,n=t.timeStamp||Date.now(),r=parseFloat(t.elapsedTime.toFixed(3));Math.max(n-o,0)>=i&&a<=r&&s()},r.on(d,h),C(r,c),g(s,i+1.5*n,!1)},v&&v(),y.push(e),v=a(function(){v=null;for(var e=m(),t=0;t<y.length;t++)y[t](e);y.length=0}),n;function s(){var e,t;if(!i)return i=!0,d&&h&&r.off(d,h),_(r,c),w(e=r,t=c),C(e,t),T(l,function(e){u.style[I(e[0])]=""}),n.complete(!0),n}}}}}])}(),ie.module("material.components.autocomplete",["material.core","material.components.icon","material.components.virtualRepeat"]),ie.module("material.components.backdrop",["material.core"]).directive("mdBackdrop",["$mdTheming","$mdUtil","$animate","$rootElement","$window","$log","$$rAF","$document",function(s,c,t,n,l,u,f,d){return{restrict:"E",link:function(r,i,e){var a;function o(){var e=parseInt(a.height,10)+Math.abs(parseInt(a.top,10));i.css("height",e+"px")}t.pin&&t.pin(i,n),f(function(){if("fixed"===(a=l.getComputedStyle(d[0].body)).position){var e=c.debounce(function(){a=l.getComputedStyle(d[0].body),o()},60,null,!1);o(),ie.element(l).on("resize",e),r.$on("$destroy",function(){ie.element(l).off("resize",e)})}var t=i.parent();if(t.length){"BODY"===t[0].nodeName&&i.css("position","fixed");var n=l.getComputedStyle(t[0]);"static"===n.position&&u.warn("<md-backdrop> may not work properly in a scrolled, static-positioned parent container."),s.inherit(i,t)}})}}}]),function(){function e(n){return{restrict:"E",link:function(e,t){t.addClass("_md"),e.$on("$destroy",function(){n.destroy()})}}}function t(e){t.$inject=["$animate","$mdConstant","$mdUtil","$mdTheming","$mdBottomSheet","$rootElement","$mdGesture","$log"];var m=.5,g=80;return e("$mdBottomSheet").setDefaults({methods:["disableParentScroll","escapeToClose","clickOutsideToClose"],options:t});function t(a,o,s,c,l,u,f,d){var h;return{themable:!0,onShow:function(e,t,n,r){if((t=s.extractElementByName(t,"md-bottom-sheet")).attr("tabindex","-1"),t.hasClass("ng-cloak")){d.warn("$mdBottomSheet: using `<md-bottom-sheet ng-cloak >` will affect the bottom-sheet opening animations.",t[0])}n.disableBackdrop||((h=s.createBackdrop(e,"md-bottom-sheet-backdrop md-opaque"))[0].tabIndex=-1,n.clickOutsideToClose&&h.on("click",function(){s.nextTick(l.cancel,!0)}),c.inherit(h,n.parent),a.enter(h,n.parent,null));var i=new p(t,n.parent);n.bottomSheet=i,c.inherit(i.element,n.parent),n.disableParentScroll&&(n.restoreScroll=s.disableScrollAround(i.element,n.parent));return a.enter(i.element,n.parent,h).then(function(){var e=s.findFocusTarget(t)||ie.element(t[0].querySelector("button")||t[0].querySelector("a")||t[0].querySelector(s.prefixer("ng-click",!0)))||h;n.escapeToClose&&(n.rootElementKeyupCallback=function(e){e.keyCode===o.KEY_CODE.ESCAPE&&s.nextTick(l.cancel,!0)},u.on("keyup",n.rootElementKeyupCallback),e&&e.focus())})},onRemove:function(e,t,n){var r=n.bottomSheet;n.disableBackdrop||a.leave(h);return a.leave(r.element).then(function(){n.disableParentScroll&&(n.restoreScroll(),delete n.restoreScroll),r.cleanup()})},disableBackdrop:!1,escapeToClose:!0,clickOutsideToClose:!0,disableParentScroll:!0};function p(r,e){var t=f.register(e,"drag",{horizontal:!1});return e.on("$md.dragstart",n).on("$md.drag",i).on("$md.dragend",a),{element:r,cleanup:function(){t(),e.off("$md.dragstart",n),e.off("$md.drag",i),e.off("$md.dragend",a)}};function n(e){r.css(o.CSS.TRANSITION_DURATION,"0ms")}function i(e){var t=e.pointer.distanceY;t<5&&(t=Math.max(-g,t/2)),r.css(o.CSS.TRANSFORM,"translate3d(0,"+(g+t)+"px,0)")}function a(e){if(0<e.pointer.distanceY&&(20<e.pointer.distanceY||Math.abs(e.pointer.velocityY)>m)){var t=r.prop("offsetHeight")-e.pointer.distanceY,n=Math.min(t/e.pointer.velocityY*.75,500);r.css(o.CSS.TRANSITION_DURATION,n+"ms"),s.nextTick(l.cancel,!0)}else r.css(o.CSS.TRANSITION_DURATION,""),r.css(o.CSS.TRANSFORM,"")}}}}e.$inject=["$mdBottomSheet"],t.$inject=["$$interimElementProvider"],ie.module("material.components.bottomSheet",["material.core","material.components.backdrop"]).directive("mdBottomSheet",e).provider("$mdBottomSheet",t)}(),function(){function e(n){return{restrict:"E",link:function(e,t){n(t)}}}function t(r,i,a,o){return{restrict:"EA",replace:!0,transclude:!0,template:function(e,t){{if(s(t))return'<a class="md-button" ng-transclude></a>';var n=void 0===t.type?"button":t.type;return'<button class="md-button" type="'+n+'" ng-transclude></button>'}},link:function(e,t,n){i(t),r.attach(e,t),a.expectWithoutText(t,"aria-label"),s(n)&&ie.isDefined(n.ngDisabled)&&e.$watch(n.ngDisabled,function(e){t.attr("tabindex",e?-1:0)});t.on("click",function(e){!0===n.disabled&&(e.preventDefault(),e.stopImmediatePropagation())}),t.hasClass("md-no-focus")||(e.mouseActive=!1,t.on("mousedown",function(){e.mouseActive=!0,o(function(){e.mouseActive=!1},100)}).on("focus",function(){!1===e.mouseActive&&t.addClass("md-focused")}).on("blur",function(e){t.removeClass("md-focused")}))}};function s(e){return ie.isDefined(e.href)||ie.isDefined(e.ngHref)||ie.isDefined(e.ngLink)||ie.isDefined(e.uiSref)}}t.$inject=["$mdButtonInkRipple","$mdTheming","$mdAria","$timeout"],e.$inject=["$mdTheming"],ie.module("material.components.button",["material.core"]).directive("mdButton",t).directive("a",e)}(),function(){function e(r){return{restrict:"E",link:function(e,t,n){t.addClass("_md"),r(t)}}}e.$inject=["$mdTheming"],ie.module("material.components.card",["material.core"]).directive("mdCard",e)}(),ie.module("material.components.chips",["material.core","material.components.autocomplete"]),function(){function e(u,f,d,h,p,m){return u=u[0],{restrict:"E",transclude:!0,require:"?ngModel",priority:210,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-icon"></div></div><div ng-transclude class="md-label"></div>',compile:function(e,t){return t.$set("tabindex",t.tabindex||"0"),t.$set("type","checkbox"),t.$set("role",t.type),{pre:function(e,t){t.on("click",function(e){this.hasAttribute("disabled")&&e.stopImmediatePropagation()})},post:function(e,n,r,i){var t,a,o,s;function c(t){n[0].hasAttribute("disabled")||e.skipToggle||e.$apply(function(){var e=r.ngChecked?r.checked:!i.$viewValue;i.$setViewValue(e,t&&t.type),i.$render()})}function l(e){(t=!1!==e)&&n.attr("aria-checked","mixed"),n.toggleClass("md-indeterminate",t)}i=i||p.fakeNgModel(),h(n),n.children().on("focus",function(){n.focus()}),p.parseAttributeBoolean(r.mdIndeterminate)&&(l(),e.$watch(r.mdIndeterminate,l)),r.ngChecked&&e.$watch(e.$eval.bind(e,r.ngChecked),function(e){i.$setViewValue(e),i.$render()}),a="ngDisabled",o="tabindex",s={true:"-1",false:r.tabindex},r[a]&&e.$watch(r[a],function(e){s[e]&&n.attr(o,s[e])}),f.expectWithText(n,"aria-label"),u.link.pre(e,{on:ie.noop,0:{}},r,[i]),e.mouseActive=!1,n.on("click",c).on("keypress",function(e){var t=e.which||e.keyCode;t!==d.KEY_CODE.SPACE&&t!==d.KEY_CODE.ENTER||(e.preventDefault(),n.addClass("md-focused"),c(e))}).on("mousedown",function(){e.mouseActive=!0,m(function(){e.mouseActive=!1},100)}).on("focus",function(){!1===e.mouseActive&&n.addClass("md-focused")}).on("blur",function(){n.removeClass("md-focused")}),i.$render=function(){n.toggleClass("md-checked",!!i.$viewValue&&!t)}}}}}}e.$inject=["inputDirective","$mdAria","$mdConstant","$mdTheming","$mdUtil","$timeout"],ie.module("material.components.checkbox",["material.core"]).directive("mdCheckbox",e)}(),function(){t.$inject=["$mdColors","$mdUtil","$log","$parse"],e.$inject=["$mdTheming","$mdUtil","$log"];var o=/^{((\s|,)*?["'a-zA-Z-]+?\s*?:\s*?('|")[a-zA-Z0-9-.]*('|"))+\s*}$/,l=null;function e(a,o,r){return l=l||Object.keys(a.PALETTES),{applyThemeColors:function(e,t){try{t&&e.css((i={},a=(n=t).hasOwnProperty("color"),ie.forEach(n,function(e,t){var n=c(e),r=-1<t.indexOf("background");i[t]=s(n),r&&!a&&(i.color=s(n,!0))}),i))}catch(e){r.error(e.message)}var n,i,a},getThemeColor:function(e){return s(c(e))},hasTheme:function(e){return ie.isDefined(a.THEMES[e.split("-")[0]])}};function s(e,t){t=t||!1;var n=a.PALETTES[e.palette][e.hue];return n=t?n.contrast:n.value,o.supplant("rgba({0}, {1}, {2}, {3})",[n[0],n[1],n[2],n[3]||e.opacity])}function c(e){var t=e.split("-"),n=ie.isDefined(a.THEMES[t[0]])?t.splice(0,1)[0]:a.defaultTheme();return{theme:n,palette:function(e,t){var n=1<e.length&&-1!==l.indexOf(e[1]),r=e[0].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();if(n&&(r=e[0]+"-"+e.splice(1,1)),-1===l.indexOf(r)){var i=a.THEMES[t].colors[r];if(!i)throw new Error(o.supplant("mdColors: couldn't find '{palette}' in the palettes.",{palette:r}));r=i.name}return r}(t,n),hue:function(e,t){var n=a.THEMES[t].colors;if("hue"!==e[1])return e[1]||n[e[0]in n?e[0]:"primary"].hues.default;var r=parseInt(e.splice(2,1)[0],10);if(r<1||3<r)throw new Error(o.supplant("mdColors: 'hue-{hueNumber}' is not a valid hue, can be only 'hue-1', 'hue-2' and 'hue-3'",{hueNumber:r}));if(e[1]="hue-"+r,e[0]in n)return n[e[0]].hues[e[1]];throw new Error(o.supplant("mdColors: 'hue-x' can only be used with [{availableThemes}], but was used with '{usedTheme}'",{availableThemes:Object.keys(n).join(", "),usedTheme:e[0]}))}(t,n),opacity:t[2]||1}}}function t(u,a,f,d){return{restrict:"A",require:["^?mdTheme"],compile:function(e,i){var l=function(){var e=i.mdColors,t=-1<e.indexOf("::"),n=!!t||o.test(i.mdColors);i.mdColors=e.replace("::","");var r=ie.isDefined(i.mdColorsWatch);return!t&&!n&&(!r||a.parseAttributeBoolean(i.mdColorsWatch))}();return function(e,n,t,r){var i=r[0],a={},o=function(n){"string"!=typeof n&&(n=""),t.mdColors||(t.mdColors="{}");var r=d(t.mdColors)(e);return i&&Object.keys(r).forEach(function(e){var t=r[e];u.hasTheme(t)||(r[e]=(n||i.$mdTheme)+"-"+t)}),s(r),r},s=function(e){if(!ie.equals(e,a)){var t=Object.keys(a);a.background&&!t.color&&t.push("color"),t.forEach(function(e){n.css(e,"")})}a=e},c=ie.noop;i&&(c=i.registerChanges(function(e){u.applyThemeColors(n,o(e))})),e.$on("$destroy",function(){c()});try{l?e.$watch(o,ie.bind(this,u.applyThemeColors,n),!0):u.applyThemeColors(n,o())}catch(e){f.error(e.message)}}}}}ie.module("material.components.colors",["material.core"]).directive("mdColors",t).service("$mdColors",e)}(),function(){function e(r){return{restrict:"E",controller:["$scope","$element",function(e,t){this.$scope=e,this.$element=t}],link:function(e,t){var n;t.addClass("_md"),r(t),e.$broadcast("$mdContentLoaded",t),n=t[0],ie.element(n).on("$md.pressdown",function(e){"t"===e.pointer.type&&(e.$materialScrollFixed||(e.$materialScrollFixed=!0,0===n.scrollTop?n.scrollTop=1:n.scrollHeight===n.scrollTop+n.offsetHeight&&(n.scrollTop-=1)))})}}}e.$inject=["$mdTheming"],ie.module("material.components.content",["material.core"]).directive("mdContent",e)}(),ie.module("material.components.datepicker",["material.core","material.components.icon","material.components.virtualRepeat"]),function(){function e(e,t,a){return{restrict:"E",link:function(r,i){i.addClass("_md"),t(i),e(function(){var e,t=i[0].querySelector("md-dialog-content");function n(){i.toggleClass("md-content-overflow",t.scrollHeight>t.clientHeight)}t&&(e=t.getElementsByTagName("img"),n(),ie.element(e).on("load",n)),r.$on("$destroy",function(){a.destroy(i)})})}}}function t(e){var v,y;return t.$inject=["$mdDialog","$mdConstant"],n.$inject=["$mdDialog","$mdAria","$mdUtil","$mdConstant","$animate","$document","$window","$rootElement","$log","$injector","$mdTheming"],e("$mdDialog").setDefaults({methods:["disableParentScroll","hasBackdrop","clickOutsideToClose","escapeToClose","targetEvent","closeTo","openFrom","parent","fullscreen","contentElement"],options:n}).addPreset("alert",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","theme","css"],options:t}).addPreset("confirm",{methods:["title","htmlContent","textContent","content","ariaLabel","ok","cancel","theme","css"],options:t}).addPreset("prompt",{methods:["title","htmlContent","textContent","initialValue","content","placeholder","ariaLabel","ok","cancel","theme","css"],options:t});function t(t,n){return{template:['<md-dialog md-theme="{{ dialog.theme }}" aria-label="{{ dialog.ariaLabel }}" ng-class="dialog.css">',' <md-dialog-content class="md-dialog-content" role="document" tabIndex="-1">',' <h2 class="md-title">{{ dialog.title }}</h2>',' <div ng-if="::dialog.mdHtmlContent" class="md-dialog-content-body" ',' ng-bind-html="::dialog.mdHtmlContent"></div>',' <div ng-if="::!dialog.mdHtmlContent" class="md-dialog-content-body">'," <p>{{::dialog.mdTextContent}}</p>"," </div>",' <md-input-container md-no-float ng-if="::dialog.$type == \'prompt\'" class="md-prompt-input-container">',' <input ng-keypress="dialog.keypress($event)" md-autofocus ng-model="dialog.result" placeholder="{{::dialog.placeholder}}">'," </md-input-container>"," </md-dialog-content>"," <md-dialog-actions>",' <md-button ng-if="dialog.$type === \'confirm\' || dialog.$type === \'prompt\'" ng-click="dialog.abort()" class="md-primary md-cancel-button">'," {{ dialog.cancel }}"," </md-button>",' <md-button ng-click="dialog.hide()" class="md-primary md-confirm-button" md-autofocus="dialog.$type===\'alert\'">'," {{ dialog.ok }}"," </md-button>"," </md-dialog-actions>","</md-dialog>"].join("").replace(/\s\s+/g,""),controller:function(){var e="prompt"==this.$type;e&&this.initialValue&&(this.result=this.initialValue),this.hide=function(){t.hide(!e||this.result)},this.abort=function(){t.cancel()},this.keypress=function(e){e.keyCode===n.KEY_CODE.ENTER&&t.hide(this.result)}},controllerAs:"dialog",bindToController:!0}}function n(d,c,h,p,l,u,m,f,g,i,n){return{hasBackdrop:!0,isolateScope:!0,onCompiling:function(e){(function(e){if(!e.theme&&(e.theme=n.defaultTheme(),e.targetEvent&&e.targetEvent.target)){var t=ie.element(e.targetEvent.target);e.theme=(t.controller("mdTheme")||{}).$mdTheme||e.theme}})(e),e.contentElement&&(e.restoreContentElement=function(e){var t=e.contentElement,n=null;n=ie.isString(t)?(t=document.querySelector(t),r(t)):(t=t[0]||t,document.contains(t)?r(t):function(){t.parentNode.removeChild(t)});return e.element=ie.element(t),e.skipCompile=!0,n;function r(e){var t=e.parentNode,n=e.nextElementSibling;return function(){n?t.insertBefore(e,n):t.appendChild(e)}}}(e))},onShow:function(e,n,t,r){ie.element(u[0].body).addClass("md-dialog-is-showing");var i=n.find("md-dialog");if(i.hasClass("ng-cloak")){g.warn("$mdDialog: using `<md-dialog ng-cloak >` will affect the dialog opening animations.",n[0])}return function(e){function t(e,t){var n=ie.element(e||{});if(n&&n.length){var r=ie.isFunction(n[0].getBoundingClientRect);return ie.extend(t||{},{element:r?n:ae,bounds:r?n[0].getBoundingClientRect():ie.extend({},{top:0,left:0,height:0,width:0},n[0]),focus:ie.bind(n,n.focus)})}}function n(e,t){return ie.isString(e)&&(e=u[0].querySelector(e)),ie.element(e||t)}e.origin=ie.extend({element:null,bounds:null,focus:ie.noop},e.origin||{}),e.parent=n(e.parent,f),e.closeTo=t(n(e.closeTo)),e.openFrom=t(n(e.openFrom)),e.targetEvent&&(e.origin=t(e.targetEvent.target,e.origin))}(t),function(e,t){var n="alert"===t.$type?"alertdialog":"dialog",r=e.find("md-dialog-content"),i=e.attr("id"),a="dialogContent_"+(i||h.nextUid());e.attr({role:n,tabIndex:"-1"}),0===r.length&&(r=e,i&&(a=i)),r.attr("id",a),e.attr("aria-describedby",a),t.ariaLabel?c.expect(e,"aria-label",t.ariaLabel):c.expectAsync(e,"aria-label",function(){var e=r.text().split(/\s+/);return 3<e.length&&(e=e.slice(0,3).concat("...")),e.join(" ")}),(v=document.createElement("div")).classList.add("md-dialog-focus-trap"),v.tabIndex=0,y=v.cloneNode(!1);var o=function(){e.focus()};v.addEventListener("focus",o),y.addEventListener("focus",o),e[0].parentNode.insertBefore(v,e[0]),e.after(y)}(i,t),a=e,o=n,s=t,s.disableParentScroll&&(s.restoreScroll=h.disableScrollAround(o,s.parent)),s.hasBackdrop&&(s.backdrop=h.createBackdrop(a,"md-dialog-backdrop md-opaque"),l.enter(s.backdrop,s.parent)),s.hideBackdrop=function(e){s.backdrop&&(e?s.backdrop.remove():l.leave(s.backdrop)),s.disableParentScroll&&(s.restoreScroll(),delete s.restoreScroll),s.hideBackdrop=null},function(e,t){var n=ie.element(m),r=h.debounce(function(){_(e,t)},60),i=[],a=function(){var e="alert"==t.$type?d.hide:d.cancel;h.nextTick(e,!0)};if(t.escapeToClose){var o=t.parent,s=function(e){e.keyCode===p.KEY_CODE.ESCAPE&&(e.stopPropagation(),e.preventDefault(),a())};e.on("keydown",s),o.on("keydown",s),i.push(function(){e.off("keydown",s),o.off("keydown",s)})}if(n.on("resize",r),i.push(function(){n.off("resize",r)}),t.clickOutsideToClose){var c,l=e,u=function(e){c=e.target},f=function(e){c===l[0]&&e.target===l[0]&&(e.stopPropagation(),e.preventDefault(),a())};l.on("mousedown",u),l.on("mouseup",f),i.push(function(){l.off("mousedown",u),l.off("mouseup",f)})}t.deactivateListeners=function(){i.forEach(function(e){e()}),t.deactivateListeners=null}}(n,t),function(e,t){t.parent.append(e),t.reverseContainerStretch=_(e,t);var n=e.find("md-dialog"),r=h.dom.animator,i=r.calculateZoomToOrigin,a={transitionInClass:"md-transition-in",transitionOutClass:"md-transition-out"},o=r.toTransformCss(i(n,t.openFrom||t.origin)),s=r.toTransformCss("");return n.toggleClass("md-dialog-fullscreen",!!t.fullscreen),r.translate3d(n,o,s,a).then(function(e){return t.reverseAnimate=function(){return delete t.reverseAnimate,t.closeTo?(a={transitionInClass:"md-transition-out",transitionOutClass:"md-transition-in"},o=s,s=r.toTransformCss(i(n,t.closeTo)),r.translate3d(n,o,s,a)):e(s=r.toTransformCss(i(n,t.origin)))},t.clearAnimate=function(){return delete t.clearAnimate,n.removeClass([a.transitionOutClass,a.transitionInClass].join(" ")),r.translate3d(n,s,r.toTransformCss(""),{})},!0})}(n,t).then(function(){!function(e,t){var r=!0;function i(e){for(;e.parentNode;){if(e===document.body)return;for(var t=e.parentNode.children,n=0;n<t.length;n++)e===t[n]||b(t[n],["SCRIPT","STYLE"])||t[n].setAttribute("aria-hidden",r);i(e=e.parentNode)}}i(e[0]),t.unlockScreenReader=function(){r=!1,i(e[0]),t.unlockScreenReader=null}}(n,t),n[0].querySelector(".md-actions")&&g.warn("Using a class of md-actions is deprecated, please use <md-dialog-actions>."),function(){if(t.focusOnOpen){var e=h.findFocusTarget(n)||function(){var e=n[0].querySelector(".dialog-close");if(!e){var t=n[0].querySelectorAll(".md-actions button, md-dialog-actions button");e=t[t.length-1]}return e}()||i;e.focus()}}()});var a,o,s},onShowing:function(e,t,n,r){if(r){if(r.mdHtmlContent=r.htmlContent||n.htmlContent||"",r.mdTextContent=r.textContent||n.textContent||r.content||n.content||"",r.mdHtmlContent&&!i.has("$sanitize"))throw Error("The ngSanitize module must be loaded in order to use htmlContent.");if(r.mdHtmlContent&&r.mdTextContent)throw Error("md-dialog cannot have both `htmlContent` and `textContent`")}},onRemove:function(e,t,n){n.deactivateListeners(),n.unlockScreenReader(),n.hideBackdrop(n.$destroy),v&&v.parentNode&&v.parentNode.removeChild(v);y&&y.parentNode&&y.parentNode.removeChild(y);return n.$destroy?i():(r=n,r.reverseAnimate().then(function(){r.contentElement&&r.clearAnimate()})).then(i);var r;function i(){ie.element(u[0].body).removeClass("md-dialog-is-showing"),n.contentElement?(n.reverseContainerStretch(),n.restoreContentElement()):t.remove(),n.$destroy||n.origin.focus()}},clickOutsideToClose:!1,escapeToClose:!0,targetEvent:null,contentElement:null,closeTo:null,openFrom:null,focusOnOpen:!0,disableParentScroll:!0,autoWrap:!0,fullscreen:!1,transformTemplate:function(e,t){return'<div class="md-dialog-container" tabindex="-1">'+(n=e,t.autoWrap&&!/<\/md-dialog>/g.test(n)?"<md-dialog>"+(n||"")+"</md-dialog>":n||"")+"</div>";var n}};function _(e,t){var n="fixed"==m.getComputedStyle(u[0].body).position,r=t.backdrop?m.getComputedStyle(t.backdrop[0]):null,i=r?Math.min(u[0].body.clientHeight,Math.ceil(Math.abs(parseInt(r.height,10)))):0,a={top:e.css("top"),height:e.css("height")};return e.css({top:(n?h.scrollTop(t.parent):0)+"px",height:i?i+"px":"100%"}),function(){e.css(a)}}function b(e,t){if(-1!==t.indexOf(e.nodeName))return!0}}}e.$inject=["$$rAF","$mdTheming","$mdDialog"],t.$inject=["$$interimElementProvider"],ie.module("material.components.dialog",["material.core","material.components.backdrop"]).directive("mdDialog",e).provider("$mdDialog",t)}(),function(){function e(e){return{restrict:"E",link:e}}e.$inject=["$mdTheming"],ie.module("material.components.divider",["material.core"]).directive("mdDivider",e)}(),function(){function e(r){return{restrict:"E",require:["^?mdFabSpeedDial","^?mdFabToolbar"],compile:function(e,t){var n=e.children();r.prefixer().hasAttribute(n,"ng-repeat")?n.addClass("md-fab-action-item"):n.wrap('<div class="md-fab-action-item">')}}}e.$inject=["$mdUtil"],ie.module("material.components.fabActions",["material.core"]).directive("mdFabActions",e)}(),function(){function e(e,r,i,a,o,s){var t,c,l,u=this;u.open=function(){e.$evalAsync("vm.isOpen = true")},u.close=function(){e.$evalAsync("vm.isOpen = false"),r.find("md-fab-trigger")[0].focus()},u.toggle=function(){e.$evalAsync("vm.isOpen = !vm.isOpen")},u.direction=u.direction||"down",u.isOpen=u.isOpen||!1,h(),r.addClass("md-animations-waiting"),t=["click","focusin","focusout"],ie.forEach(t,function(e){r.on(e,d)}),e.$on("$destroy",function(){ie.forEach(t,function(e){r.off(e,d)}),p()}),e.$watch("vm.direction",function(e,t){i.removeClass(r,"md-"+t),i.addClass(r,"md-"+e),h()}),e.$watch("vm.isOpen",function(e){h(),c&&l||(c=r.find("md-fab-trigger"),l=y()),e?(r.on("keydown",g),a.nextTick(function(){ie.element(document).on("click touchend",m)})):p();var t=e?"md-is-open":"",n=e?"":"md-is-open";c.attr("aria-haspopup",!0),c.attr("aria-expanded",e),l.attr("aria-hidden",!e),i.setClass(r,t,n)});var f,n=0;function d(e){var t,n,r;"click"==e.type&&(n=(t=e).target,a.getClosest(n,"md-fab-trigger")&&u.toggle(),r=t.target,a.getClosest(r,"md-fab-actions")&&u.close()),"focusout"!=e.type||f||(f=s(function(){u.close()},100,!1)),"focusin"==e.type&&f&&(s.cancel(f),f=null)}function h(){u.currentActionIndex=-1}function p(){r.off("keydown",g),ie.element(document).off("click touchend",m)}function m(e){if(e.target){var t=a.getClosest(e.target,"md-fab-trigger"),n=a.getClosest(e.target,"md-fab-actions");t||n||u.close()}}function g(e){switch(e.which){case o.KEY_CODE.ESCAPE:return u.close(),e.preventDefault(),!1;case o.KEY_CODE.LEFT_ARROW:return i=e,"left"===u.direction?b(i):_(i),!1;case o.KEY_CODE.UP_ARROW:return r=e,"down"===u.direction?_(r):b(r),!1;case o.KEY_CODE.RIGHT_ARROW:return n=e,"left"===u.direction?_(n):b(n),!1;case o.KEY_CODE.DOWN_ARROW:return t=e,"up"===u.direction?_(t):b(t),!1}var t,n,r,i}function _(e){v(e,-1)}function b(e){v(e,1)}function v(e,t){var n,r=(n=y()[0].querySelectorAll(".md-fab-action-item"),ie.forEach(n,function(e){ie.element(ie.element(e).children()[0]).attr("tabindex",-1)}),n);u.currentActionIndex=u.currentActionIndex+t,u.currentActionIndex=Math.min(r.length-1,u.currentActionIndex),u.currentActionIndex=Math.max(0,u.currentActionIndex);var i=ie.element(r[u.currentActionIndex]).children()[0];ie.element(i).attr("tabindex",0),i.focus(),e.preventDefault(),e.stopImmediatePropagation()}function y(){return r.find("md-fab-actions")}!function e(){0<r[0].scrollHeight?i.addClass(r,"_md-animations-ready").then(function(){r.removeClass("md-animations-waiting")}):n<10&&(s(e,100),n+=1)}()}e.$inject=["$scope","$element","$animate","$mdUtil","$mdConstant","$timeout"],ie.module("material.components.fabShared",["material.core"]).controller("MdFabController",e)}(),function(){e.$inject=["$timeout"],t.$inject=["$timeout"];var n=300;function e(t){function r(e){t(e,n,!1)}function i(e){if(!e.hasClass("md-animations-waiting")||e.hasClass("_md-animations-ready")){var t=e[0],c=e.controller("mdFabSpeedDial"),r=t.querySelectorAll(".md-fab-action-item"),l=t.querySelector("md-fab-trigger"),n=t.querySelector("._md-css-variables"),i=parseInt(G.getComputedStyle(n).zIndex);ie.forEach(r,function(e,t){var n=e.style;n.transform=n.webkitTransform="",n.transitionDelay="",n.opacity=1,n.zIndex=r.length-t+i}),l.style.zIndex=i+r.length+1,c.isOpen||ie.forEach(r,function(e,t){var n,r,i=e.style,a=(l.clientHeight-e.clientHeight)/2,o=(l.clientWidth-e.clientWidth)/2;switch(c.direction){case"up":n=e.scrollHeight*(t+1)+a,r="Y";break;case"down":n=-(e.scrollHeight*(t+1)+a),r="Y";break;case"left":n=e.scrollWidth*(t+1)+o,r="X";break;case"right":n=-(e.scrollWidth*(t+1)+o),r="X"}var s="translate"+r+"("+n+"px)";i.transform=i.webkitTransform=s})}}return{addClass:function(e,t,n){e.hasClass("md-fling")?(i(e),r(n)):n()},removeClass:function(e,t,n){i(e),r(n)}}}function t(t){function r(e){t(e,n,!1)}function i(e){var t=e[0],i=e.controller("mdFabSpeedDial"),a=t.querySelectorAll(".md-fab-action-item"),n=t.querySelector("._md-css-variables"),o=parseInt(G.getComputedStyle(n).zIndex);ie.forEach(a,function(e,t){var n=e.style,r=65*t;n.opacity=i.isOpen?1:0,n.transform=n.webkitTransform=i.isOpen?"scale(1)":"scale(0)",n.transitionDelay=(i.isOpen?r:a.length-r)+"ms",n.zIndex=a.length-t+o})}return{addClass:function(e,t,n){i(e),r(n)},removeClass:function(e,t,n){i(e),r(n)}}}ie.module("material.components.fabSpeedDial",["material.core","material.components.fabShared","material.components.fabActions"]).directive("mdFabSpeedDial",function(){return{restrict:"E",scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"MdFabController",controllerAs:"vm",link:function(e,t){t.prepend('<div class="_md-css-variables"></div>')}}}).animation(".md-fling",e).animation(".md-scale",t).service("mdFabSpeedDialFlingAnimation",e).service("mdFabSpeedDialScaleAnimation",t)}(),function(){function e(){function r(e,t,n){if(t){var r=e[0],i=e.controller("mdFabToolbar"),a=r.querySelector(".md-fab-toolbar-background"),o=r.querySelector("md-fab-trigger button"),s=r.querySelector("md-toolbar"),c=r.querySelector("md-fab-trigger button md-icon"),l=e.find("md-fab-actions").children();if(o&&a){var u=G.getComputedStyle(o).getPropertyValue("background-color"),f=r.offsetWidth,d=(r.offsetHeight,f/o.offsetWidth*2);a.style.backgroundColor=u,a.style.borderRadius=f+"px",i.isOpen?(s.style.pointerEvents="inherit",a.style.width=o.offsetWidth+"px",a.style.height=o.offsetHeight+"px",a.style.transform="scale("+d+")",a.style.transitionDelay="0ms",c&&(c.style.transitionDelay=".3s"),ie.forEach(l,function(e,t){e.style.transitionDelay=25*(l.length-t)+"ms"})):(s.style.pointerEvents="none",a.style.transform="scale(1)",a.style.top="0",e.hasClass("md-right")&&(a.style.left="0",a.style.right=null),e.hasClass("md-left")&&(a.style.right="0",a.style.left=null),a.style.transitionDelay="200ms",c&&(c.style.transitionDelay="0ms"),ie.forEach(l,function(e,t){e.style.transitionDelay=200+25*t+"ms"}))}}}return{addClass:function(e,t,n){r(e,t),n()},removeClass:function(e,t,n){r(e,t),n()}}}ie.module("material.components.fabToolbar",["material.core","material.components.fabShared","material.components.fabActions"]).directive("mdFabToolbar",function(){return{restrict:"E",transclude:!0,template:'<div class="md-fab-toolbar-wrapper"> <div class="md-fab-toolbar-content" ng-transclude></div></div>',scope:{direction:"@?mdDirection",isOpen:"=?mdOpen"},bindToController:!0,controller:"MdFabController",controllerAs:"vm",link:function(e,t,n){t.addClass("md-fab-toolbar"),t.find("md-fab-trigger").find("button").prepend('<div class="md-fab-toolbar-background"></div>')}}}).animation(".md-fab-toolbar",e).service("mdFabToolbarAnimation",e)}(),function(){function e(h,_,b,v){return{restrict:"E",controller:t,scope:{mdOnLayout:"&"},link:function(a,o,s,t){o.addClass("_md"),o.attr("role","list"),t.layoutDelegate=function(e){var r=[].filter.call(o.children(),function(e){return"MD-GRID-TILE"==e.tagName&&!e.$$mdDestroyed}),i={tileSpans:(t=r,[].map.call(t,function(e){var t=ie.element(e).controller("mdGridTile");return{row:parseInt(v.getResponsiveAttribute(t.$attrs,"md-rowspan"),10)||1,col:parseInt(v.getResponsiveAttribute(t.$attrs,"md-colspan"),10)||1}})),colCount:function(){var e=parseInt(v.getResponsiveAttribute(s,"md-cols"),10);if(isNaN(e))throw"md-grid-list: md-cols attribute was not found, or contained a non-numeric value";return e}(),rowMode:f(),rowHeight:function(){var e=v.getResponsiveAttribute(s,"md-row-height");if(!e)throw"md-grid-list: md-row-height attribute was not found";switch(f()){case"fixed":return d(e);case"ratio":var t=e.split(":");return parseFloat(t[0])/parseFloat(t[1]);case"fit":return 0}}(),gutter:d(v.getResponsiveAttribute(s,"md-gutter")||1)};var t;if(!e&&ie.equals(i,c))return;var n=b(i.colCount,i.tileSpans,r).map(function(e,n){return{grid:{element:o,style:function(e,t,n,r,i){var a={};switch(r){case"fixed":a.height=g({unit:i,span:t,gutter:n}),a.paddingBottom="";break;case"ratio":var o=1===e?0:(e-1)/e,s=1/e*100,c=s*(1/i),l=p({share:c,gutterShare:o,gutter:n});a.height="",a.paddingBottom=g({unit:l,span:t,gutter:n})}return a}(i.colCount,n,i.gutter,i.rowMode,i.rowHeight)},tiles:e.map(function(e,t){return{element:ie.element(r[t]),style:function(e,t,n,r,i,a,o){var s=1/n*100,c=(n-1)/n,l=p({share:s,gutterShare:c,gutter:i}),u={left:m({unit:l,offset:e.col,gutter:i}),width:g({unit:l,span:t.col,gutter:i}),paddingTop:"",marginTop:"",top:"",height:""};switch(a){case"fixed":u.top=m({unit:o,offset:e.row,gutter:i}),u.height=g({unit:o,span:t.row,gutter:i});break;case"ratio":var f=s/o,d=p({share:f,gutterShare:c,gutter:i});u.paddingTop=g({unit:d,span:t.row,gutter:i}),u.marginTop=m({unit:d,offset:e.row,gutter:i});break;case"fit":var h=(r-1)/r,f=1/r*100,d=p({share:f,gutterShare:h,gutter:i});u.top=m({unit:d,offset:e.row,gutter:i}),u.height=g({unit:d,span:t.row,gutter:i})}return u}(e.position,e.spans,i.colCount,n,i.gutter,i.rowMode,i.rowHeight)}})}}).reflow().performance();a.mdOnLayout({$event:{performance:n}}),c=i};var c,n=ie.bind(t,t.invalidateLayout),r=function(){for(var e in _.MEDIA)v(e),v.getQuery(_.MEDIA[e]).addListener(n);return v.watchResponsiveAttributes(["md-cols","md-row-height","md-gutter"],s,i)}();function i(e){null==e?t.invalidateLayout():v(e)&&t.invalidateLayout()}a.$on("$destroy",function(){for(var e in t.layoutDelegate=ie.noop,r(),_.MEDIA)v.getQuery(_.MEDIA[e]).removeListener(n)});var l=h.startSymbol(),u=h.endSymbol();function e(e){return l+e+u}var p=h(e("share")+"% - ("+e("gutter")+" * "+e("gutterShare")+")"),m=h("calc(("+e("unit")+" + "+e("gutter")+") * "+e("offset")+")"),g=h("calc(("+e("unit")+") * "+e("span")+" + ("+e("span")+" - 1) * "+e("gutter")+")");function f(){var e=v.getResponsiveAttribute(s,"md-row-height");if(!e)throw"md-grid-list: md-row-height attribute was not found";return"fit"==e?"fit":-1!==e.indexOf(":")?"ratio":"fixed"}function d(e){return/\D$/.test(e)?e:e+"px"}}}}function t(e){this.layoutInvalidated=!1,this.tilesInvalidated=!1,this.$timeout_=e.nextTick,this.layoutDelegate=ie.noop}function n(c){var l=t;return e.animateWith=function(e){l=ie.isFunction(e)?e:t},e;function e(e,t){var n,r,i,a,o,s;return a=c.time(function(){r=function(i,e){var a=0,o=0,s=function(){for(var e=[],t=0;t<i;t++)e.push(0);return e}();return{positioning:e.map(function(e,t){return{spans:e,position:function(e,t){if(e.col>i)throw"md-grid-list: Tile at position "+t+" has a colspan ("+e.col+") that exceeds the column count ("+i+")";var n=0,r=0;for(;r-n<e.col;)i<=a?c():-1!==(n=s.indexOf(0,a))&&-1!==(r=u(n+1))?a=r+1:(n=r=0,c());return l(n,e.col,e.row),a=n+e.col,{col:n,row:o}}(e,t)}}),rowCount:o+Math.max.apply(Math,s)};function c(){o++,l(a=0,i,-1)}function l(e,t,n){for(var r=e;r<e+t;r++)s[r]=Math.max(s[r]+n,0)}function u(e){var t;for(t=e;t<s.length;t++)if(0!==s[t])return t;if(t===s.length)return t}}(e,t)}),n={layoutInfo:function(){return r},map:function(t){return o=c.time(function(){var e=n.layoutInfo();i=t(e.positioning,e.rowCount)}),n},reflow:function(e){return s=c.time(function(){(e||l)(i.grid,i.tiles)}),n},performance:function(){return{tileCount:t.length,layoutTime:a,mapTime:o,reflowTime:s,totalTime:a+o+s}}}}function t(e,t){e.element.css(e.style),t.forEach(function(e){e.element.css(e.style)})}}function r(a){return{restrict:"E",require:"^mdGridList",template:"<figure ng-transclude></figure>",transclude:!0,scope:{},controller:["$attrs",function(e){this.$attrs=e}],link:function(e,t,n,r){t.attr("role","listitem");var i=a.watchResponsiveAttributes(["md-colspan","md-rowspan"],n,ie.bind(r,r.invalidateLayout));r.invalidateTiles(),e.$on("$destroy",function(){t[0].$$mdDestroyed=!0,i(),r.invalidateLayout()}),ie.isDefined(e.$parent.$index)&&e.$watch(function(){return e.$parent.$index},function(e,t){e!==t&&r.invalidateTiles()})}}}function i(){return{template:"<figcaption ng-transclude></figcaption>",transclude:!0}}t.$inject=["$mdUtil"],n.$inject=["$mdUtil"],e.$inject=["$interpolate","$mdConstant","$mdGridLayout","$mdMedia"],r.$inject=["$mdMedia"],ie.module("material.components.gridList",["material.core"]).directive("mdGridList",e).directive("mdGridTile",r).directive("mdGridTileFooter",i).directive("mdGridTileHeader",i).factory("$mdGridLayout",n),t.prototype={invalidateTiles:function(){this.tilesInvalidated=!0,this.invalidateLayout()},invalidateLayout:function(){this.layoutInvalidated||(this.layoutInvalidated=!0,this.$timeout_(ie.bind(this,this.layout)))},layout:function(){try{this.layoutDelegate(this.tilesInvalidated)}finally{this.layoutInvalidated=!1,this.tilesInvalidated=!1}}}}(),ie.module("material.components.icon",["material.core"]),function(){function e(r,a){t.$inject=["$scope","$element","$attrs","$animate"];var e=["INPUT","TEXTAREA","SELECT","MD-SELECT"],i=e.reduce(function(e,t){return e.concat(["md-icon ~ "+t,".md-icon ~ "+t])},[]).join(","),o=e.reduce(function(e,t){return e.concat([t+" ~ md-icon",t+" ~ .md-icon"])},[]).join(",");return{restrict:"E",compile:function(e){var t=e[0].querySelector(i),n=e[0].querySelector(o);t&&e.addClass("md-icon-left");n&&e.addClass("md-icon-right");return function(e,t){r(t)}},controller:t};function t(e,t,n,r){var i=this;i.isErrorGetter=n.mdIsError&&a(n.mdIsError),i.delegateClick=function(){i.input.focus()},i.element=t,i.setFocused=function(e){t.toggleClass("md-input-focused",!!e)},i.setHasValue=function(e){t.toggleClass("md-input-has-value",!!e)},i.setHasPlaceholder=function(e){t.toggleClass("md-input-has-placeholder",!!e)},i.setInvalid=function(e){e?r.addClass(t,"md-input-invalid"):r.removeClass(t,"md-input-invalid")},e.$watch(function(){return i.label&&i.input},function(e){e&&!i.label.attr("for")&&i.label.attr("for",i.input.attr("id"))})}}function t(_,b,l,v,y){return{restrict:"E",require:["^?mdInputContainer","?ngModel","?^form"],link:function(f,d,h,e){var p=e[0],m=!!e[1],g=e[1]||_.fakeNgModel(),t=e[2],n=ie.isDefined(h.readonly),r=_.parseAttributeBoolean(h.mdNoAsterisk),i=d[0].tagName.toLowerCase();if(!p)return;{if("hidden"===h.type)return void d.attr("aria-hidden","true");if(p.input){if(p.input[0].contains(d[0]))return;throw new Error("<md-input-container> can only have *one* <input>, <textarea> or <md-select> child element!")}}p.input=d,p.label&&h.$observe("required",function(e){p.label.toggleClass("md-required",e&&!r)});var a=ie.element('<div class="md-errors-spacer">');d.after(a),p.label||l.expect(d,"aria-label",h.placeholder);d.addClass("md-input"),d.attr("id")||d.attr("id","input_"+_.nextUid());"input"===i&&"number"===h.type&&h.min&&h.max&&!h.step?d.attr("step","any"):"textarea"===i&&function(){var t=!h.hasOwnProperty("mdNoAutogrow");if(function(){if(!h.hasOwnProperty("mdNoResize")){var e=ie.element('<div class="md-resize-handle"></div>'),t=!1,n=null,r=0,i=p.element,a=y.register(e,"drag",{horizontal:!1});d.wrap('<div class="md-resize-wrapper">').after(e),e.on("mousedown",o),i.on("$md.dragstart",s).on("$md.drag",c).on("$md.dragend",l),f.$on("$destroy",function(){e.off("mousedown",o).remove(),i.off("$md.dragstart",s).off("$md.drag",c).off("$md.dragend",l),a(),a=i=e=null})}function o(e){e.preventDefault(),t=!0,n=e.clientY,r=parseFloat(d.css("height"))||d.prop("offsetHeight")}function s(e){t&&(e.preventDefault(),u(),i.addClass("md-input-resized"))}function c(e){t&&d.css("height",r+(e.pointer.y-n)-_.scrollTop()+"px")}function l(e){t&&(t=!1,i.removeClass("md-input-resized"))}}(),!t)return;var a=h.hasOwnProperty("rows")?parseInt(h.rows):NaN,o=h.hasOwnProperty("maxRows")?parseInt(h.maxRows):NaN,n=f.$on("md-resize-textarea",r),s=null,c=d[0];v(function(){_.nextTick(r)},10,!1),d.on("input",r),m&&g.$formatters.push(i);a||d.attr("rows",1);function r(){d.attr("rows",1).css("height","auto").addClass("md-no-flex");var e,t,n=(e=c.offsetHeight,t=c.scrollHeight-e,e+Math.max(t,0));if(!s){var r=d[0].style.padding||"";s=d.css("padding",0).prop("offsetHeight"),d[0].style.padding=r}if(a&&s&&(n=Math.max(n,s*a)),o&&s){var i=s*o;i<n?(d.attr("md-no-autogrow",""),n=i):d.removeAttr("md-no-autogrow")}s&&d.attr("rows",Math.round(n/s)),d.css("height",n+"px").removeClass("md-no-flex")}function i(e){return _.nextTick(r),e}function u(){if(t&&(t=!1,ie.element(b).off("resize",r),n&&n(),d.attr("md-no-autogrow","").off("input",r),m)){var e=g.$formatters.indexOf(i);-1<e&&g.$formatters.splice(e,1)}}if(ie.element(b).on("resize",r),f.$on("$destroy",u),h.hasOwnProperty("mdDetectHidden")){var e=(l=!1,function(){var e=0===c.offsetHeight;!1===e&&!0===l&&r(),l=e});f.$watch(function(){return _.nextTick(e,!1),!0})}var l}();m||c();var o=p.isErrorGetter||function(){return g.$invalid&&(g.$touched||t&&t.$submitted)};f.$watch(o,p.setInvalid),h.ngValue&&h.$observe("value",c);g.$parsers.push(s),g.$formatters.push(s),d.on("input",c),n||d.on("focus",function(e){_.nextTick(function(){p.setFocused(!0)})}).on("blur",function(e){_.nextTick(function(){p.setFocused(!1),c()})});function s(e){return p.setHasValue(!g.$isEmpty(e)),e}function c(){p.setHasValue(0<d.val().length||(d[0].validity||{}).badInput)}f.$on("$destroy",function(){p.setFocused(!1),p.setHasValue(!1),p.input=null})}}}function n(u,f){return{restrict:"A",require:["ngModel","^mdInputContainer"],link:function(e,n,t,r){var i,a,o,s=r[0],c=r[1];function l(e){return a.parent&&a.text(String(n.val()||e||"").length+" / "+i),e}f.nextTick(function(){o=ie.element(c.element[0].querySelector(".md-errors-spacer")),a=ie.element('<div class="md-char-counter">'),o.append(a),t.$set("ngTrim","false"),s.$formatters.push(l),s.$viewChangeListeners.push(l),n.on("input keydown keyup",function(){l()}),e.$watch(t.mdMaxlength,function(e){i=e,ie.isNumber(e)&&0<e?(a.parent().length||u.enter(a,o),l()):u.leave(a)}),s.$validators["md-maxlength"]=function(e,t){return!ie.isNumber(i)||i<0||(e||n.val()||t||"").length<=i}})}}}function r(s){return{restrict:"A",require:"^^?mdInputContainer",priority:200,link:{pre:function(e,t,n,r){if(!r)return;var i=r.element.find("label"),a=r.element.attr("md-no-float");if(i&&i.length||""===a||e.$eval(a))return void r.setHasPlaceholder(!0);if("MD-SELECT"!=t[0].nodeName){var o=ie.element('<label ng-click="delegateClick()" tabindex="-1">'+n.placeholder+"</label>");n.$set("placeholder",null),r.element.addClass("md-icon-float").prepend(o),s(o)(e)}}}}}function i(o){return{restrict:"A",link:function(e,t,n){if("INPUT"!==t[0].nodeName&&"TEXTAREA"!==t[0].nodeName)return;var r=!1;function i(){o(function(){t[0].select(),r=!1},1,!(r=!0))}function a(e){r&&e.preventDefault()}t.on("focus",i).on("mouseup",a),e.$on("$destroy",function(){t.off("focus",i).off("mouseup",a)})}}}e.$inject=["$mdTheming","$parse"],t.$inject=["$mdUtil","$window","$mdAria","$timeout","$mdGesture"],n.$inject=["$animate","$mdUtil"],r.$inject=["$compile"],l.$inject=["$mdUtil"],i.$inject=["$timeout"],u.$inject=["$$AnimateRunner","$animateCss","$mdUtil"],f.$inject=["$$AnimateRunner","$animateCss","$mdUtil"],d.$inject=["$$AnimateRunner","$animateCss","$mdUtil"],ie.module("material.components.input",["material.core"]).directive("mdInputContainer",e).directive("label",function(){return{restrict:"E",require:"^?mdInputContainer",link:function(e,t,n,r){!r||n.mdNoFloat||t.hasClass("md-container-ignore")||(r.label=t,e.$on("$destroy",function(){r.label=null}))}}}).directive("input",t).directive("textarea",t).directive("mdMaxlength",n).directive("placeholder",r).directive("ngMessages",function(){return{restrict:"EA",link:function(e,t,n,r){if(!r)return;t.toggleClass("md-input-messages-animation",!0),t.toggleClass("md-auto-hide",!0),("false"==n.mdAutoHide||(i=n,c.some(function(e){return i[e]})))&&t.toggleClass("md-auto-hide",!1);var i},require:"^^?mdInputContainer"}}).directive("ngMessage",l).directive("ngMessageExp",l).directive("mdSelectOnFocus",i).animation(".md-input-invalid",u).animation(".md-input-messages-animation",f).animation(".md-input-message-animation",d).service("mdInputInvalidAnimation",u).service("mdInputMessagesAnimation",f).service("mdInputMessageAnimation",d);var a,o,s,c=["ngIf","ngShow","ngHide","ngSwitchWhen","ngSwitchDefault"];function l(t){return{restrict:"EA",compile:function(n){if(r(n))i(n);else if(function(){var e=n[0];for(;e=e.parentNode;)if(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)return!0;return!1}())return function(e,t){r(t)&&i(n)};function r(e){return!!t.getClosest(e,"md-input-container")}function i(e){e.toggleClass("md-input-message-animation",!0)}},priority:100}}function u(e,t,n){return b(e,t,n),{addClass:function(e,t,n){h(e,n)}}}function f(e,t,n){return b(e,t,n),{enter:function(e,t){h(e,t)},leave:function(e,t){p(e,t)},addClass:function(e,t,n){"ng-hide"==t?p(e,n):n()},removeClass:function(e,t,n){"ng-hide"==t?h(e,n):n()}}}function d(e,t,n){return b(e,t,n),{enter:function(e,t){m(e).start().done(t)},leave:function(e,t){g(e).start().done(t)}}}function h(e,t){var n,r=[],i=_(e);ie.forEach(i.children(),function(e){n=m(ie.element(e)),r.push(n.start())}),a.all(r,t)}function p(e,t){var n,r=[],i=_(e);ie.forEach(i.children(),function(e){n=g(ie.element(e)),r.push(n.start())}),a.all(r,t)}function m(e){var t=parseInt(G.getComputedStyle(e[0]).height),n=parseInt(G.getComputedStyle(e[0]).marginTop),r=_(e),i=e.controller("mdInputContainer").element;return-t<n||r.hasClass("md-auto-hide")&&!i.hasClass("md-input-invalid")?o(e,{}):o(e,{event:"enter",structural:!0,from:{opacity:0,"margin-top":-t+"px"},to:{opacity:1,"margin-top":"0"},duration:.3})}function g(e){var t=e[0].offsetHeight;return 0==G.getComputedStyle(e[0]).opacity?o(e,{}):o(e,{event:"leave",structural:!0,from:{opacity:1,"margin-top":0},to:{opacity:0,"margin-top":-t+"px"},duration:.3})}function _(e){return e.hasClass("md-input-message-animation")?ie.element(s.getClosest(e,function(e){return e.classList.contains("md-input-messages-animation")})):ie.element(e[0].querySelector(".md-input-messages-animation"))}function b(e,t,n){a=e,o=t,s=n}}(),function(){function e(t){return{restrict:"E",compile:function(e){return e[0].setAttribute("role","list"),t}}}function t(d,h,p,m){var g=["md-checkbox","md-switch","md-menu"];return{restrict:"E",controller:"MdListController",compile:function(a,o){var e,i,t,n=a[0].querySelectorAll(".md-secondary"),r=a;if(a[0].setAttribute("role","listitem"),o.ngClick||o.ngDblclick||o.ngHref||o.href||o.uiSref||o.ngAttrUiSref)l("button");else{for(var s,c=0;s=g[c];++c)if(i=a[0].querySelector(s)){e=!0;break}e?l("div"):a[0].querySelector("md-button:not(.md-secondary):not(.md-exclude)")||a.addClass("md-no-proxy")}function l(e){if("div"==e)(r=ie.element('<div class="md-no-style md-list-item-inner">')).append(a.contents()),a.addClass("md-proxy-focus");else{r=ie.element('<div class="md-button md-no-style"> <div class="md-list-item-inner"></div></div>');var t=ie.element('<md-button class="md-no-style"></md-button>');t[0].setAttribute("aria-label",a[0].textContent),u(a[0],t[0]),a.hasClass("md-no-focus")&&t.addClass("md-no-focus"),r.prepend(t),r.children().eq(1).append(a.contents()),a.addClass("_md-button-wrap")}a[0].setAttribute("tabindex","-1"),a.append(r)}function u(t,n,e){var r=p.prefixer(["ng-if","ng-click","ng-dblclick","aria-label","ng-disabled","ui-sref","href","ng-href","target","ng-attr-ui-sref","ui-sref-opts"]);e&&(r=r.concat(p.prefixer(e))),ie.forEach(r,function(e){t.hasAttribute(e)&&(n.setAttribute(e,t.getAttribute(e)),t.removeAttribute(e))})}function f(e){for(var t=e.attributes,n=0;n<t.length;n++)if("ngClick"===o.$normalize(t[n].name))return!0;return!1}return t=ie.element('<div class="md-secondary-container">'),ie.forEach(n,function(e){!function(e,t){if(e&&("MD-BUTTON"!=(r=e.nodeName.toUpperCase())&&"BUTTON"!=r)&&e.hasAttribute("ng-click")){d.expect(e,"aria-label");var n=ie.element('<md-button class="md-secondary md-icon-button">');u(e,n[0],["ng-if","ng-hide","ng-show"]),e.setAttribute("tabindex","-1"),n.append(e),e=n[0]}var r,i;!e||f(e)&&(o.ngClick||(i=e,-1==g.indexOf(i.nodeName.toLowerCase())))||ie.element(e).removeClass("md-secondary"),a.addClass("md-with-secondary"),t.append(e)}(e,t)}),r.append(t),function(){for(var e,t,n=["md-switch","md-checkbox"],r=0;t=n[r];++r)if((e=a.find(t)[0])&&!e.hasAttribute("aria-label")){var i=a.find("p")[0];if(!i)return;e.setAttribute("aria-label","Toggle "+i.textContent)}}(),e&&"MD-MENU"===i.nodeName&&function(){var e=ie.element(i),t=e.parent().hasClass("md-secondary-container")||i.parentNode.firstElementChild!==i,n="left";t&&(n="right");e.attr("md-position-mode")||e.attr("md-position-mode",n+" target");var r=e.children().eq(0);f(r[0])||r.attr("ng-click","$mdOpenMenu($event)");r.attr("aria-label")||r.attr("aria-label","Open List Menu")}(),function(e,i,t,n){i.addClass("_md");var r=[],a=i[0].firstElementChild,o=i.hasClass("_md-button-wrap")?a.firstElementChild:a,s=o&&f(o);a&&a.children&&!s&&ie.forEach(g,function(e){ie.forEach(a.querySelectorAll(e+":not(.md-secondary)"),function(e){r.push(e)})}),(1==r.length||s)&&(i.addClass("md-clickable"),s||n.attachRipple(e,ie.element(i[0].querySelector(".md-no-style")))),i.hasClass("md-proxy-focus")&&r.length&&ie.forEach(r,function(t){t=ie.element(t),e.mouseActive=!1,t.on("mousedown",function(){e.mouseActive=!0,m(function(){e.mouseActive=!1},100)}).on("focus",function(){!1===e.mouseActive&&i.addClass("md-focused"),t.on("blur",function e(){i.removeClass("md-focused"),t.off("blur",e)})})});var c=function(e){if("INPUT"!=e.target.nodeName&&"TEXTAREA"!=e.target.nodeName&&!e.target.isContentEditable){var t=e.which||e.keyCode;t==h.KEY_CODE.SPACE&&o&&(o.click(),e.preventDefault(),e.stopPropagation())}};s||r.length||o&&o.addEventListener("keypress",c);i.off("click"),i.off("keypress"),1==r.length&&o&&i.children().eq(0).on("click",function(t){if(!function(e){var t=["md-slider"];if(!e.path)return-1!==t.indexOf(e.target.tagName.toLowerCase());for(var n=e.path.indexOf(i.children()[0]),r=0;r<n;r++)if(-1!==t.indexOf(e.path[r].tagName.toLowerCase()))return!0}(t)){var e=p.getClosest(t.target,"BUTTON");!e&&o.contains(t.target)&&ie.forEach(r,function(e){t.target===e||e.contains(t.target)||("MD-MENU"===e.nodeName&&(e=e.children[0]),ie.element(e).triggerHandler("click"))})}});e.$on("$destroy",function(){o&&o.removeEventListener("keypress",c)})}}}}function n(e,t,n){this.attachRipple=function(e,t){n.attach(e,t,{})}}n.$inject=["$scope","$element","$mdListInkRipple"],e.$inject=["$mdTheming"],t.$inject=["$mdAria","$mdConstant","$mdUtil","$timeout"],ie.module("material.components.list",["material.core"]).controller("MdListController",n).directive("mdList",e).directive("mdListItem",t)}(),ie.module("material.components.menu",["material.core","material.components.backdrop"]),ie.module("material.components.menuBar",["material.core","material.components.icon","material.components.menu"]),function(){function e(i,a){return{restrict:"E",transclude:!0,controller:t,controllerAs:"ctrl",bindToController:!0,scope:{mdSelectedNavItem:"=?",navBarAriaLabel:"@?"},template:'<div class="md-nav-bar"><nav role="navigation"><ul class="_md-nav-bar-list" ng-transclude role="listbox"tabindex="0"ng-focus="ctrl.onFocus()"ng-blur="ctrl.onBlur()"ng-keydown="ctrl.onKeydown($event)"aria-label="{{ctrl.navBarAriaLabel}}"></ul></nav><md-nav-ink-bar></md-nav-ink-bar></div>',link:function(e,t,n,r){a(t),r.navBarAriaLabel||i.expectAsync(t,"aria-label",ie.noop)}}}function t(e,t,n,r){this._$timeout=n,this._$scope=t,this._$mdConstant=r,this.mdSelectedNavItem,this.navBarAriaLabel,this._navBarEl=e[0],this._inkbar;var i=this,a=this._$scope.$watch(function(){return i._navBarEl.querySelectorAll("._md-nav-button").length},function(e){0<e&&(i._initTabs(),a())})}function n(o){return{restrict:"E",require:["mdNavItem","^mdNavBar"],controller:r,bindToController:!0,controllerAs:"ctrl",replace:!0,transclude:!0,template:'<li class="md-nav-item" role="option" aria-selected="{{ctrl.isSelected()}}"><md-button ng-if="ctrl.mdNavSref" class="_md-nav-button md-accent"ng-class="ctrl.getNgClassMap()"tabindex="-1"ui-sref="{{ctrl.mdNavSref}}"><span ng-transclude class="_md-nav-button-text"></span></md-button><md-button ng-if="ctrl.mdNavHref" class="_md-nav-button md-accent"ng-class="ctrl.getNgClassMap()"tabindex="-1"ng-href="{{ctrl.mdNavHref}}"><span ng-transclude class="_md-nav-button-text"></span></md-button><md-button ng-if="ctrl.mdNavClick" class="_md-nav-button md-accent"ng-class="ctrl.getNgClassMap()"tabindex="-1"ng-click="ctrl.mdNavClick()"><span ng-transclude class="_md-nav-button-text"></span></md-button></li>',scope:{mdNavClick:"&?",mdNavHref:"@?",mdNavSref:"@?",name:"@"},link:function(e,t,n,r){var i=r[0],a=r[1];o(function(){i.name||(i.name=ie.element(t[0].querySelector("._md-nav-button-text")).text().trim()),ie.element(t[0].querySelector("._md-nav-button")).on("click",function(){a.mdSelectedNavItem=i.name,e.$apply()})})}}}function r(e){if(this._$element=e,this.mdNavClick,this.mdNavHref,this.name,this._selected=!1,this._focused=!1,1<(!!e.attr("md-nav-click")?1:0)+(!!e.attr("md-nav-href")?1:0)+(!!e.attr("md-nav-sref")?1:0))throw Error("Must specify exactly one of md-nav-click, md-nav-href, md-nav-sref for nav-item directive")}t.$inject=["$element","$scope","$timeout","$mdConstant"],n.$inject=["$$rAF"],r.$inject=["$element"],e.$inject=["$mdAria","$mdTheming"],ie.module("material.components.navBar",["material.core"]).controller("MdNavBarController",t).directive("mdNavBar",e).controller("MdNavItemController",r).directive("mdNavItem",n),t.prototype._initTabs=function(){this._inkbar=ie.element(this._navBarEl.getElementsByTagName("md-nav-ink-bar")[0]);var n=this;this._$timeout(function(){n._updateTabs(n.mdSelectedNavItem,ae)}),this._$scope.$watch("ctrl.mdSelectedNavItem",function(e,t){n._$timeout(function(){n._updateTabs(e,t)})})},t.prototype._updateTabs=function(e,t){var n=this,r=this._getTabs(),i=-1,a=-1,o=this._getTabByName(e),s=this._getTabByName(t);s&&(s.setSelected(!1),i=r.indexOf(s)),o&&(o.setSelected(!0),a=r.indexOf(o)),this._$timeout(function(){n._updateInkBarStyles(o,a,i)})},t.prototype._updateInkBarStyles=function(e,t,n){if(this._inkbar.toggleClass("_md-left",t<n).toggleClass("_md-right",n<t),this._inkbar.css({display:t<0?"none":""}),e){var r=e.getButtonEl(),i=r.offsetLeft;this._inkbar.css({left:i+"px",width:r.offsetWidth+"px"})}},t.prototype._getTabs=function(){return Array.prototype.slice.call(this._navBarEl.querySelectorAll(".md-nav-item")).map(function(e){return ie.element(e).controller("mdNavItem")})},t.prototype._getTabByName=function(t){return this._findTab(function(e){return e.getName()==t})},t.prototype._getSelectedTab=function(){return this._findTab(function(e){return e.isSelected()})},t.prototype.getFocusedTab=function(){return this._findTab(function(e){return e.hasFocus()})},t.prototype._findTab=function(e){for(var t=this._getTabs(),n=0;n<t.length;n++)if(e(t[n]))return t[n];return null},t.prototype.onFocus=function(){var e=this._getSelectedTab();e&&e.setFocused(!0)},t.prototype.onBlur=function(){var e=this.getFocusedTab();e&&e.setFocused(!1)},t.prototype._moveFocus=function(e,t){e.setFocused(!1),t.setFocused(!0)},t.prototype.onKeydown=function(e){var t=this._$mdConstant.KEY_CODE,n=this._getTabs(),r=this.getFocusedTab();if(r){var i=n.indexOf(r);switch(e.keyCode){case t.UP_ARROW:case t.LEFT_ARROW:0<i&&this._moveFocus(r,n[i-1]);break;case t.DOWN_ARROW:case t.RIGHT_ARROW:i<n.length-1&&this._moveFocus(r,n[i+1]);break;case t.SPACE:case t.ENTER:this._$timeout(function(){r.getButtonEl().click()})}}},r.prototype.getNgClassMap=function(){return{"md-active":this._selected,"md-primary":this._selected,"md-unselected":!this._selected,"md-focused":this._focused}},r.prototype.getName=function(){return this.name},r.prototype.getButtonEl=function(){return this._$element[0].querySelector("._md-nav-button")},r.prototype.setSelected=function(e){this._selected=e},r.prototype.isSelected=function(){return this._selected},r.prototype.setFocused=function(e){this._focused=e},r.prototype.hasFocus=function(){return this._focused}}(),function(){e.$inject=["$rootElement","$rootScope","$injector","$window"],ie.module("material.components.panel",["material.core","material.components.backdrop"]).service("$mdPanel",e);var i=80,a="_md-panel-hidden",n=ie.element('<div class="_md-panel-focus-trap" tabindex="0"></div>');function e(e,t,n,r){this._defaultConfigOptions={bindToController:!0,clickOutsideToClose:!1,disableParentScroll:!1,escapeToClose:!1,focusOnOpen:!0,fullscreen:!1,hasBackdrop:!1,propagateContainerEvents:!1,transformTemplate:ie.bind(this,this._wrapTemplate),trapFocus:!1,zIndex:i},this._config={},this._$rootElement=e,this._$rootScope=t,this._$injector=n,this._$window=r,this._trackedPanels={},this.animation=c.animation,this.xPosition=p.xPosition,this.yPosition=p.yPosition}function r(e,t){this._$q=t.get("$q"),this._$mdCompiler=t.get("$mdCompiler"),this._$mdConstant=t.get("$mdConstant"),this._$mdUtil=t.get("$mdUtil"),this._$rootScope=t.get("$rootScope"),this._$animate=t.get("$animate"),this._$mdPanel=t.get("$mdPanel"),this._$log=t.get("$log"),this._$window=t.get("$window"),this._$$rAF=t.get("$$rAF"),this.id=e.id,this.config=e,this.panelContainer,this.panelEl,this.isAttached=!1,this._removeListeners=[],this._topFocusTrap,this._bottomFocusTrap,this._backdropRef,this._restoreScroll=null}function p(e){this._$window=e.get("$window"),this._isRTL="rtl"===e.get("$mdUtil").bidi(),this._absolute=!1,this._relativeToEl,this._top="",this._bottom="",this._left="",this._right="",this._translateX=[],this._translateY=[],this._positions=[],this._actualPosition}function c(e){this._$mdUtil=e.get("$mdUtil"),this._openFrom,this._closeTo,this._animationClass=""}function o(e){var t=ie.isString(e)?document.querySelector(e):e;return ie.element(t)}e.prototype.create=function(e){if(e=e||{},ie.isDefined(e.id)&&this._trackedPanels[e.id])return this._trackedPanels[e.id];this._config={id:e.id||"panel_"+this._$injector.get("$mdUtil").nextUid(),scope:this._$rootScope.$new(!0),attachTo:this._$rootElement},ie.extend(this._config,this._defaultConfigOptions,e);var t=new r(this._config,this._$injector);return this._trackedPanels[e.id]=t},e.prototype.open=function(e){var t=this.create(e);return t.open().then(function(){return t})},e.prototype.newPanelPosition=function(){return new p(this._$injector)},e.prototype.newPanelAnimation=function(){return new c(this._$injector)},e.prototype._wrapTemplate=function(e){return'<div class="md-panel-outer-wrapper"> <div class="md-panel" style="left: -9999px;">'+(e||"")+"</div></div>"},r.prototype.open=function(){var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i._simpleBind(i.show,i);i.attach().then(r).then(n).catch(t)})},r.prototype.close=function(){var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i._simpleBind(i.detach,i);i.hide().then(r).then(n).catch(t)})},r.prototype.attach=function(){if(this.isAttached&&this.panelEl)return this._$q.when(this);var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i.config.onDomAdded||ie.noop;i._$q.all([i._createBackdrop(),i._createPanel().then(function(e){return i.isAttached=!0,i._addEventListeners(),e}).catch(t)]).then(r).then(n).catch(t)})},r.prototype.detach=function(){if(!this.isAttached)return this._$q.when(this);var r=this,i=r.config.onDomRemoved||ie.noop;return this._restoreScroll&&(this._restoreScroll(),this._restoreScroll=null),this._$q(function(e,t){var n=r._done(e,r);r._$q.all([(r._removeEventListeners(),r._topFocusTrap&&r._topFocusTrap.parentNode&&r._topFocusTrap.parentNode.removeChild(r._topFocusTrap),r._bottomFocusTrap&&r._bottomFocusTrap.parentNode&&r._bottomFocusTrap.parentNode.removeChild(r._bottomFocusTrap),r.panelContainer.remove(),r.isAttached=!1,r._$q.when(r)),!r._backdropRef||r._backdropRef.detach()]).then(i).then(n).catch(t)})},r.prototype.destroy=function(){this.config.scope.$destroy(),this.config.locals=null},r.prototype.show=function(){if(!this.panelContainer)return this._$q(function(e,t){t("Panel does not exist yet. Call open() or attach().")});if(!this.panelContainer.hasClass(a))return this._$q.when(this);var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i.config.onOpenComplete||ie.noop;i._$q.all([i._backdropRef?i._backdropRef.show():i,(i.panelContainer.removeClass(a),i._animateOpen()).then(function(){i._focusOnOpen()},t)]).then(r).then(n).catch(t)})},r.prototype.hide=function(){if(!this.panelContainer)return this._$q(function(e,t){t("Panel does not exist yet. Call open() or attach().")});if(this.panelContainer.hasClass(a))return this._$q.when(this);var i=this;return this._$q(function(e,t){var n=i._done(e,i),r=i.config.onRemoving||ie.noop;i._$q.all([i._backdropRef?i._backdropRef.hide():i,i._animateClose().then(r).then(function(){i.panelContainer.addClass(a)}).then(function(){var e=i.config.origin;e&&o(e).focus()}).catch(t)]).then(n,t)})},r.prototype.addClass=function(e,t){if(this._$log.warn("The addClass method is in the process of being deprecated. Full deprecation is scheduled for the Angular Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");t||this.panelContainer.hasClass(e)?t&&!this.panelEl.hasClass(e)&&this.panelEl.addClass(e):this.panelContainer.addClass(e)},r.prototype.removeClass=function(e,t){if(this._$log.warn("The removeClass method is in the process of being deprecated. Full deprecation is scheduled for the Angular Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");!t&&this.panelContainer.hasClass(e)?this.panelContainer.removeClass(e):t&&this.panelEl.hasClass(e)&&this.panelEl.removeClass(e)},r.prototype.toggleClass=function(e,t){if(this._$log.warn("The toggleClass method is in the process of being deprecated. Full deprecation is scheduled for the Angular Material 1.2 release. To achieve the same results, use the panelContainer or panelEl JQLite elements that are referenced in MdPanelRef."),!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");t?this.panelEl.toggleClass(e):this.panelContainer.toggleClass(e)},r.prototype._createPanel=function(){var r=this;return this._$q(function(t,n){r.config.locals||(r.config.locals={}),(r.config.locals.mdPanelRef=r)._$mdCompiler.compile(r.config).then(function(e){r.panelContainer=e.link(r.config.scope),o(r.config.attachTo).append(r.panelContainer),r.config.disableParentScroll&&(r._restoreScroll=r._$mdUtil.disableScrollAround(null,r.panelContainer,{disableScrollMask:!0})),r.panelEl=ie.element(r.panelContainer[0].querySelector(".md-panel")),r.config.panelClass&&r.panelEl.addClass(r.config.panelClass),r.config.propagateContainerEvents&&r.panelContainer.css("pointer-events","none"),r._$animate.pin&&r._$animate.pin(r.panelContainer,o(r.config.attachTo)),r._configureTrapFocus(),r._addStyles().then(function(){t(r)},n)},n)})},r.prototype._addStyles=function(){var n=this;return this._$q(function(e){n.panelContainer.css("z-index",n.config.zIndex),n.panelEl.css("z-index",n.config.zIndex+1);var t=function(){n.panelEl.css("left",""),n.panelContainer.addClass(a),e(n)};if(n.config.fullscreen)return n.panelEl.addClass("_md-panel-fullscreen"),void t();n.config.position?n._$rootScope.$$postDigest(function(){n._updatePosition(!0),e(n)}):t()})},r.prototype.updatePosition=function(e){if(!this.panelContainer)throw new Error("Panel does not exist yet. Call open() or attach().");this.config.position=e,this._updatePosition()},r.prototype._updatePosition=function(e){var t=this.config.position;if(t){t._setPanelPosition(this.panelEl),e&&this.panelContainer.addClass(a),this.panelEl.css(p.absPosition.TOP,t.getTop()),this.panelEl.css(p.absPosition.BOTTOM,t.getBottom()),this.panelEl.css(p.absPosition.LEFT,t.getLeft()),this.panelEl.css(p.absPosition.RIGHT,t.getRight());var n=this._$mdConstant.CSS.TRANSFORM;this.panelEl.css(n,t.getTransform())}},r.prototype._focusOnOpen=function(){if(this.config.focusOnOpen){var e=this;this._$rootScope.$$postDigest(function(){(e._$mdUtil.findFocusTarget(e.panelEl)||e.panelEl).focus()})}},r.prototype._createBackdrop=function(){if(this.config.hasBackdrop){if(!this._backdropRef){var e={animation:this._$mdPanel.newPanelAnimation().openFrom(this.config.attachTo).withAnimation({open:"_md-opaque-enter",close:"_md-opaque-leave"}),attachTo:this.config.attachTo,focusOnOpen:!1,panelClass:"_md-panel-backdrop",zIndex:this.config.zIndex-1};this._backdropRef=this._$mdPanel.create(e)}if(!this._backdropRef.isAttached)return this._backdropRef.attach()}},r.prototype._addEventListeners=function(){this._configureEscapeToClose(),this._configureClickOutsideToClose(),this._configureScrollListener()},r.prototype._removeEventListeners=function(){this._removeListeners&&this._removeListeners.forEach(function(e){e()}),this._removeListeners=[]},r.prototype._configureEscapeToClose=function(){if(this.config.escapeToClose){var e=o(this.config.attachTo),t=this,n=function(e){e.keyCode===t._$mdConstant.KEY_CODE.ESCAPE&&(e.stopPropagation(),e.preventDefault(),t.close())};this.panelContainer.on("keydown",n),e.on("keydown",n),this._removeListeners.push(function(){t.panelContainer.off("keydown",n),e.off("keydown",n)})}},r.prototype._configureClickOutsideToClose=function(){if(this.config.clickOutsideToClose){var t,n=this.panelContainer,e=function(e){t=e.target},r=this,i=function(e){t===n[0]&&e.target===n[0]&&(e.stopPropagation(),e.preventDefault(),r.close())};n.on("mousedown",e),n.on("mouseup",i),this._removeListeners.push(function(){n.off("mousedown",e),n.off("mouseup",i)})}},r.prototype._configureScrollListener=function(){var e=ie.bind(this,this._updatePosition),t=this._$$rAF.throttle(e),n=this,r=function(){n.config.disableParentScroll||t()};this._$window.addEventListener("scroll",r,!0),this._removeListeners.push(function(){n._$window.removeEventListener("scroll",r,!0)})},r.prototype._configureTrapFocus=function(){if(this.panelEl.attr("tabIndex","-1"),this.config.trapFocus){var e=this.panelEl;this._topFocusTrap=n.clone()[0],this._bottomFocusTrap=n.clone()[0];var t=function(){e.focus()};this._topFocusTrap.addEventListener("focus",t),this._bottomFocusTrap.addEventListener("focus",t),this._removeListeners.push(this._simpleBind(function(){this._topFocusTrap.removeEventListener("focus",t),this._bottomFocusTrap.removeEventListener("focus",t)},this)),e[0].parentNode.insertBefore(this._topFocusTrap,e[0]),e.after(this._bottomFocusTrap)}},r.prototype._animateOpen=function(){this.panelContainer.addClass("md-panel-is-showing");var n=this.config.animation;if(!n)return this.panelContainer.addClass("_md-panel-shown"),this._$q.when(this);var r=this;return this._$q(function(e){var t=r._done(e,r);n.animateOpen(r.panelEl).then(t,function(){r._$log.warn("MdPanel Animations failed. Showing panel without animating."),t()})})},r.prototype._animateClose=function(){var n=this.config.animation;if(!n)return this.panelContainer.removeClass("md-panel-is-showing"),this.panelContainer.removeClass("_md-panel-shown"),this._$q.when(this);var r=this;return this._$q(function(e){var t=function(){r.panelContainer.removeClass("md-panel-is-showing"),e(r)};n.animateClose(r.panelEl).then(t,function(){r._$log.warn("MdPanel Animations failed. Hiding panel without animating."),t()})})},r.prototype._simpleBind=function(t,n){return function(e){return t.apply(n,e)}},r.prototype._done=function(e,t){return function(){e(t)}},p.xPosition={CENTER:"center",ALIGN_START:"align-start",ALIGN_END:"align-end",OFFSET_START:"offset-start",OFFSET_END:"offset-end"},p.yPosition={CENTER:"center",ALIGN_TOPS:"align-tops",ALIGN_BOTTOMS:"align-bottoms",ABOVE:"above",BELOW:"below"},p.absPosition={TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},p.prototype.absolute=function(){return this._absolute=!0,this},p.prototype._setPosition=function(e,t){if(e===p.absPosition.RIGHT||e===p.absPosition.LEFT)this._left=this._right="";else{if(e!==p.absPosition.BOTTOM&&e!==p.absPosition.TOP){var n=Object.keys(p.absPosition).join().toLowerCase();throw new Error("Position must be one of "+n+".")}this._top=this._bottom=""}return this["_"+e]=ie.isString(t)?t:"0",this},p.prototype.top=function(e){return this._setPosition(p.absPosition.TOP,e)},p.prototype.bottom=function(e){return this._setPosition(p.absPosition.BOTTOM,e)},p.prototype.start=function(e){var t=this._isRTL?p.absPosition.RIGHT:p.absPosition.LEFT;return this._setPosition(t,e)},p.prototype.end=function(e){var t=this._isRTL?p.absPosition.LEFT:p.absPosition.RIGHT;return this._setPosition(t,e)},p.prototype.left=function(e){return this._setPosition(p.absPosition.LEFT,e)},p.prototype.right=function(e){return this._setPosition(p.absPosition.RIGHT,e)},p.prototype.centerHorizontally=function(){return this._left="50%",this._right="",this._translateX=["-50%"],this},p.prototype.centerVertically=function(){return this._top="50%",this._bottom="",this._translateY=["-50%"],this},p.prototype.center=function(){return this.centerHorizontally().centerVertically()},p.prototype.relativeTo=function(e){return this._absolute=!1,this._relativeToEl=o(e),this},p.prototype.addPanelPosition=function(e,t){if(!this._relativeToEl)throw new Error("addPanelPosition can only be used with relative positioning. Set relativeTo first.");return this._validateXPosition(e),this._validateYPosition(t),this._positions.push({x:e,y:t}),this},p.prototype._validateYPosition=function(e){if(null!=e){for(var t,n=Object.keys(p.yPosition),r=[],i=0;t=n[i];i++){var a=p.yPosition[t];if(r.push(a),a===e)return}throw new Error("Panel y position only accepts the following values:\n"+r.join(" | "))}},p.prototype._validateXPosition=function(e){if(null!=e){for(var t,n=Object.keys(p.xPosition),r=[],i=0;t=n[i];i++){var a=p.xPosition[t];if(r.push(a),a===e)return}throw new Error("Panel x Position only accepts the following values:\n"+r.join(" | "))}},p.prototype.withOffsetX=function(e){return this._translateX.push(e),this},p.prototype.withOffsetY=function(e){return this._translateY.push(e),this},p.prototype.getTop=function(){return this._top},p.prototype.getBottom=function(){return this._bottom},p.prototype.getLeft=function(){return this._left},p.prototype.getRight=function(){return this._right},p.prototype.getTransform=function(){return(this._reduceTranslateValues("translateX",this._translateX)+" "+this._reduceTranslateValues("translateY",this._translateY)).trim()},p.prototype._isOnscreen=function(e){var t=parseInt(this.getLeft()),n=parseInt(this.getTop()),r=t+e[0].offsetWidth,i=n+e[0].offsetHeight;return 0<=t&&0<=n&&i<=this._$window.innerHeight&&r<=this._$window.innerWidth},p.prototype.getActualPosition=function(){return this._actualPosition},p.prototype._reduceTranslateValues=function(t,e){return e.map(function(e){return t+"("+e+")"}).join(" ")},p.prototype._setPanelPosition=function(e){if(!this._absolute)if(this._actualPosition)this._calculatePanelPosition(e,this._actualPosition);else for(var t=0;t<this._positions.length&&(this._actualPosition=this._positions[t],this._calculatePanelPosition(e,this._actualPosition),!this._isOnscreen(e));t++);},p.prototype._reverseXPosition=function(e){if(e!==p.xPosition.CENTER){return-1<e.indexOf("start")?e.replace("start","end"):e.replace("end","start")}},p.prototype._bidi=function(e){return this._isRTL?this._reverseXPosition(e):e},p.prototype._calculatePanelPosition=function(e,t){var n=e[0].getBoundingClientRect(),r=n.width,i=n.height,a=this._relativeToEl[0].getBoundingClientRect(),o=a.left,s=a.right,c=a.width;switch(this._bidi(t.x)){case p.xPosition.OFFSET_START:this._left=o-r+"px";break;case p.xPosition.ALIGN_END:this._left=s-r+"px";break;case p.xPosition.CENTER:var l=o+.5*c-.5*r;this._left=l+"px";break;case p.xPosition.ALIGN_START:this._left=o+"px";break;case p.xPosition.OFFSET_END:this._left=s+"px"}var u=a.top,f=a.bottom,d=a.height;switch(t.y){case p.yPosition.ABOVE:this._top=u-i+"px";break;case p.yPosition.ALIGN_BOTTOMS:this._top=f-i+"px";break;case p.yPosition.CENTER:var h=u+.5*d-.5*i;this._top=h+"px";break;case p.yPosition.ALIGN_TOPS:this._top=u+"px";break;case p.yPosition.BELOW:this._top=f+"px"}},c.animation={SLIDE:"md-panel-animate-slide",SCALE:"md-panel-animate-scale",FADE:"md-panel-animate-fade"},c.prototype.openFrom=function(e){return e=e.target?e.target:e,this._openFrom=this._getPanelAnimationTarget(e),this._closeTo||(this._closeTo=this._openFrom),this},c.prototype.closeTo=function(e){return this._closeTo=this._getPanelAnimationTarget(e),this},c.prototype._getPanelAnimationTarget=function(e){return ie.isDefined(e.top)||ie.isDefined(e.left)?{element:ae,bounds:{top:e.top||0,left:e.left||0}}:this._getBoundingClientRect(o(e))},c.prototype.withAnimation=function(e){return this._animationClass=e,this},c.prototype.animateOpen=function(e){var t=this._$mdUtil.dom.animator;this._fixBounds(e);var n={},r=e[0].style.transform||"",i=t.toTransformCss(r),a=t.toTransformCss(r);switch(this._animationClass){case c.animation.SLIDE:e.css("opacity","1"),n={transitionInClass:"_md-panel-animate-enter"};var o=t.calculateSlideToOrigin(e,this._openFrom)||"";i=t.toTransformCss(o+" "+r);break;case c.animation.SCALE:n={transitionInClass:"_md-panel-animate-enter"};var s=t.calculateZoomToOrigin(e,this._openFrom)||"";i=t.toTransformCss(s+" "+r);break;case c.animation.FADE:n={transitionInClass:"_md-panel-animate-enter"};break;default:n=ie.isString(this._animationClass)?{transitionInClass:this._animationClass}:{transitionInClass:this._animationClass.open,transitionOutClass:this._animationClass.close}}return t.translate3d(e,i,a,n)},c.prototype.animateClose=function(e){var t=this._$mdUtil.dom.animator,n={},r=e[0].style.transform||"",i=t.toTransformCss(r),a=t.toTransformCss(r);switch(this._animationClass){case c.animation.SLIDE:e.css("opacity","1"),n={transitionInClass:"_md-panel-animate-leave"};var o=t.calculateSlideToOrigin(e,this._closeTo)||"";a=t.toTransformCss(o+" "+r);break;case c.animation.SCALE:n={transitionInClass:"_md-panel-animate-scale-out _md-panel-animate-leave"};var s=t.calculateZoomToOrigin(e,this._closeTo)||"";a=t.toTransformCss(s+" "+r);break;case c.animation.FADE:n={transitionInClass:"_md-panel-animate-fade-out _md-panel-animate-leave"};break;default:n=ie.isString(this._animationClass)?{transitionOutClass:this._animationClass}:{transitionInClass:this._animationClass.close,transitionOutClass:this._animationClass.open}}return t.translate3d(e,i,a,n)},c.prototype._fixBounds=function(e){var t=e[0].offsetWidth,n=e[0].offsetHeight;this._openFrom&&null==this._openFrom.bounds.height&&(this._openFrom.bounds.height=n),this._openFrom&&null==this._openFrom.bounds.width&&(this._openFrom.bounds.width=t),this._closeTo&&null==this._closeTo.bounds.height&&(this._closeTo.bounds.height=n),this._closeTo&&null==this._closeTo.bounds.width&&(this._closeTo.bounds.width=t)},c.prototype._getBoundingClientRect=function(e){if(e instanceof ie.element)return{element:e,bounds:e[0].getBoundingClientRect()}}}(),ie.module("material.components.progressCircular",["material.core"]),function(){function e(f,d,e){var h="determinate",p="indeterminate",m="buffer",g="query",_="_md-progress-linear-disabled";return{restrict:"E",template:'<div class="md-container"><div class="md-dashed"></div><div class="md-bar md-bar1"></div><div class="md-bar md-bar2"></div></div>',compile:function(e,t,n){return e.attr("aria-valuemin",0),e.attr("aria-valuemax",100),e.attr("role","progressbar"),r}};function r(e,n,r){var t;f(n);var i=r.hasOwnProperty("disabled"),a=d.dom.animator.toCss,o=ie.element(n[0].querySelector(".md-bar1")),s=ie.element(n[0].querySelector(".md-bar2")),c=ie.element(n[0].querySelector(".md-container"));function l(){var e=(r.mdMode||"").trim();if(e)switch(e){case h:case p:case m:case g:break;default:e=p}return e}function u(e,t){if(!i&&l()){var n=d.supplant("translateX({0}%) scale({1},1)",[(t-100)/2,t/100]),r=a({transform:n});ie.element(e).css(r)}}n.attr("md-mode",l()).toggleClass(_,i),function(){if(ie.isUndefined(r.mdMode)){var e=ie.isDefined(r.value),t=e?h:p;n.attr("md-mode",t),r.mdMode=t}}(),r.$observe("value",function(e){var t=b(e);n.attr("aria-valuenow",t),l()!=g&&u(s,t)}),r.$observe("mdBufferValue",function(e){u(o,b(e))}),r.$observe("disabled",function(e){i=!0===e||!1===e?!!e:ie.isDefined(e),n.toggleClass(_,i),c.toggleClass(t,!i)}),r.$observe("mdMode",function(e){switch(t&&c.removeClass(t),e){case g:case m:case h:case p:c.addClass(t="md-mode-"+e);break;default:c.addClass(t="md-mode-"+p)}})}function b(e){return Math.max(0,Math.min(e||0,100))}}e.$inject=["$mdTheming","$mdUtil","$log"],ie.module("material.components.progressLinear",["material.core"]).directive("mdProgressLinear",e)}(),function(){function e(s,c,l,u){return e.prototype={init:function(e){this._ngModelCtrl=e,this._ngModelCtrl.$render=ie.bind(this,this.render)},add:function(e){this._radioButtonRenderFns.push(e)},remove:function(e){var t=this._radioButtonRenderFns.indexOf(e);-1!==t&&this._radioButtonRenderFns.splice(t,1)},render:function(){this._radioButtonRenderFns.forEach(function(e){e()})},setViewValue:function(e,t){this._ngModelCtrl.$setViewValue(e,t),this.render()},getViewValue:function(){return this._ngModelCtrl.$viewValue},selectNext:function(){return t(this.$element,1)},selectPrevious:function(){return t(this.$element,-1)},setActiveDescendant:function(e){this.$element.attr("aria-activedescendant",e)},isDisabled:function(){return this.$element[0].hasAttribute("disabled")}},{restrict:"E",controller:["$element",e],require:["mdRadioGroup","?ngModel"],link:{pre:function(t,r,e,n){r.addClass("_md"),l(r);var i=n[0],a=n[1]||s.fakeNgModel();function o(){r.hasClass("md-focused")||r.addClass("md-focused")}i.init(a),t.mouseActive=!1,r.attr({role:"radiogroup",tabIndex:r.attr("tabindex")||"0"}).on("keydown",function(e){var t=e.which||e.keyCode;if(t!=c.KEY_CODE.ENTER&&e.currentTarget!=e.target)return;switch(t){case c.KEY_CODE.LEFT_ARROW:case c.KEY_CODE.UP_ARROW:e.preventDefault(),i.selectPrevious(),o();break;case c.KEY_CODE.RIGHT_ARROW:case c.KEY_CODE.DOWN_ARROW:e.preventDefault(),i.selectNext(),o();break;case c.KEY_CODE.ENTER:var n=ie.element(s.getClosest(r[0],"form"));0<n.length&&n.triggerHandler("submit")}}).on("mousedown",function(e){t.mouseActive=!0,u(function(){t.mouseActive=!1},100)}).on("focus",function(){!1===t.mouseActive&&i.$element.addClass("md-focused")}).on("blur",function(){i.$element.removeClass("md-focused")})}}};function e(e){this._radioButtonRenderFns=[],this.$element=e}function t(e,t){var n=s.iterator(e[0].querySelectorAll("md-radio-button"),!0);if(n.count()){var r=e[0].querySelector("md-radio-button.md-checked"),i=n[t<0?"previous":"next"](r,function(e){return!ie.element(e).attr("disabled")})||n.first();ie.element(i).triggerHandler("click")}}}function t(l,u,f){var d="md-checked";return{restrict:"E",require:"^mdRadioGroup",transclude:!0,template:'<div class="md-container" md-ink-ripple md-ink-ripple-checkbox><div class="md-off"></div><div class="md-on"></div></div><div ng-transclude class="md-label"></div>',link:function(t,n,r,i){var a;function e(e){n[0].hasAttribute("disabled")||i.isDisabled()||t.$apply(function(){i.setViewValue(r.value,e&&e.type)})}function o(){var e=i.getViewValue()==r.value;function t(e){"MD-RADIO-GROUP"!=n.parent()[0].nodeName&&n.parent()[e?"addClass":"removeClass"](d)}e!==a&&(a=e,n.attr("aria-checked",e),e?(t(!0),n.addClass(d),i.setActiveDescendant(n.attr("id"))):(t(!1),n.removeClass(d)))}f(n),s=n,c=t,c.ariaId=r.id||"radio_"+u.nextUid(),s.attr({id:c.ariaId,role:"radio","aria-checked":"false"}),l.expectWithText(s,"aria-label"),function(){if(!i)throw"RadioButton: No RadioGroupController could be found.";i.add(o),r.$observe("value",o),n.on("click",e).on("$destroy",function(){i.remove(o)})}();var s,c}}}e.$inject=["$mdUtil","$mdConstant","$mdTheming","$timeout"],t.$inject=["$mdAria","$mdUtil","$mdTheming"],ie.module("material.components.radioButton",["material.core"]).directive("mdRadioGroup",e).directive("mdRadioButton",t)}(),function(){e.$inject=["$mdSelect","$mdUtil","$mdConstant","$mdTheming","$mdAria","$compile","$parse"],t.$inject=["$parse","$mdUtil","$mdConstant","$mdTheming"],n.$inject=["$mdButtonInkRipple","$mdUtil"],r.$inject=["$$interimElementProvider"];var F=8,g=0,l=ie.element('<div class="md-container"><div class="md-icon"></div></div>');function e(E,D,I,P,M,e,$){var t=I.KEY_CODE;t.SPACE,t.ENTER,t.UP_ARROW,t.DOWN_ARROW;return{restrict:"E",require:["^?mdInputContainer","mdSelect","ngModel","?^form"],compile:function(e,t){var n=ie.element("<md-select-value><span></span></md-select-value>");n.append('<span class="md-select-icon" aria-hidden="true"></span>'),n.addClass("md-select-value"),n[0].hasAttribute("id")||n.attr("id","select_value_label_"+D.nextUid());e.find("md-content").length||e.append(ie.element("<md-content>").append(e.contents()));t.mdOnOpen&&(e.find("md-content").prepend(ie.element('<div> <md-progress-circular md-mode="indeterminate" ng-if="$$loadingAsyncDone === false" md-diameter="25px"></md-progress-circular></div>')),e.find("md-option").attr("ng-show","$$loadingAsyncDone"));if(t.name){var r=ie.element('<select class="md-visually-hidden">');r.attr({name:t.name,"aria-hidden":"true",tabindex:"-1"});var i=e.find("md-option");ie.forEach(i,function(e){var t=ie.element("<option>"+e.innerHTML+"</option>");e.hasAttribute("ng-value")?t.attr("ng-value",e.getAttribute("ng-value")):e.hasAttribute("value")&&t.attr("value",e.getAttribute("value")),r.append(t)}),r.append('<option ng-value="'+t.ngModel+'" selected></option>'),e.parent().append(r)}var k=D.parseAttributeBoolean(t.multiple),a=k?"multiple":"",o='<div class="md-select-menu-container" aria-hidden="true"><md-select-menu {0}>{1}</md-select-menu></div>';o=D.supplant(o,[a,e.html()]),e.empty().append(n),e.append(o),t.tabindex||t.$set("tabindex",0);return function(r,n,i,e){var t,a,o,s,c,l=!0,u=e[0],f=e[1],d=e[2],h=e[3],p=n.find("md-select-value"),m=ie.isDefined(i.readonly),g=D.parseAttributeBoolean(i.mdNoAsterisk);if(g&&n.addClass("md-no-asterisk"),u){var _=u.isErrorGetter||function(){return d.$invalid&&(d.$touched||h&&h.$submitted)};if(u.input&&n.find("md-select-header").find("input")[0]!==u.input[0])throw new Error("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");u.input=n,u.label||M.expect(n,"aria-label",n.attr("placeholder")),r.$watch(_,u.setInvalid)}!function(){if(o=ie.element(n[0].querySelector(".md-select-menu-container")),s=r,i.mdContainerClass){var e=o[0].getAttribute("class")+" "+i.mdContainerClass;o[0].setAttribute("class",e)}(c=o.find("md-select-menu").controller("mdSelectMenu")).init(d,i.ngModel),n.on("$destroy",function(){o.remove()})}(),P(n),h&&ie.isDefined(i.multiple)&&D.nextTick(function(){var e=d.$modelValue||d.$viewValue;e&&h.$setPristine()});var b,v=d.$render;function y(){o&&(c=c||o.find("md-select-menu").controller("mdSelectMenu"),f.setLabelText(c.selectedLabels()))}function w(){if(a){var e=c.selectedLabels({mode:"aria"});n.attr("aria-label",e.length?a+": "+e:a)}}d.$render=function(){v(),y(),w(),S()},i.$observe("placeholder",d.$render),u&&u.label&&i.$observe("required",function(e){u.label.toggleClass("md-required",e&&!g)}),f.setLabelText=function(e){if(f.setIsPlaceholder(!e),i.mdSelectedText)e=$(i.mdSelectedText)(r);else{var t=i.placeholder||(u&&u.label?u.label.text():"");e=e||t||""}var n=p.children().eq(0);n.html(e)},f.setIsPlaceholder=function(e){e?(p.addClass("md-select-placeholder"),u&&u.label&&u.label.addClass("md-placeholder")):(p.removeClass("md-select-placeholder"),u&&u.label&&u.label.removeClass("md-placeholder"))},m||(n.on("focus",function(e){u&&u.setFocused(!0)}),n.on("blur",function(e){l&&(l=!1,s._mdSelectIsOpen&&e.stopImmediatePropagation()),s._mdSelectIsOpen||(u&&u.setFocused(!1),S())})),f.triggerClose=function(){$(i.mdOnClose)(r)},r.$$postDigest(function(){!function(){var e=n.attr("aria-label")||n.attr("placeholder");!e&&u&&u.label&&(e=u.label.text());a=e,M.expect(n,"aria-label",e)}(),y(),w()}),r.$watch(function(){return c.selectedLabels()},y),i.$observe("ngMultiple",function(e){b&&b();var t=$(e);b=r.$watch(function(){return t(r)},function(e,t){e===ae&&t===ae||(e?n.attr("multiple","multiple"):n.removeAttr("multiple"),n.attr("aria-multiselectable",e?"true":"false"),o&&(c.setMultiple(e),v=d.$render,d.$render=function(){v(),y(),w(),S()},d.$render()))})}),i.$observe("disabled",function(e){ie.isString(e)&&(e=!0),t!==ae&&t===e||((t=e)?n.attr({"aria-disabled":"true"}).removeAttr("tabindex").off("click",x).off("keydown",T):n.attr({tabindex:i.tabindex,"aria-disabled":"false"}).on("click",x).on("keydown",T))}),i.hasOwnProperty("disabled")||i.hasOwnProperty("ngDisabled")||(n.attr({"aria-disabled":"false"}),n.on("click",x),n.on("keydown",T));var C={role:"listbox","aria-expanded":"false","aria-multiselectable":k&&!i.ngMultiple?"true":"false"};n[0].hasAttribute("id")||(C.id="select_"+D.nextUid());var A="select_container_"+D.nextUid();function S(){u&&u.setHasValue(0<c.selectedLabels().length||(n[0].validity||{}).badInput)}function T(e){if(I.isNavigationKey(e))e.preventDefault(),x();else if(I.isInputKey(e)||I.isNumPadKey(e)){e.preventDefault();var t=c.optNodeForKeyboardSearch(e);if(!t||t.hasAttribute("disabled"))return;var n=ie.element(t).controller("mdOption");c.isMultiple||c.deselect(Object.keys(c.selected)[0]),c.select(n.hashKey,n.value),c.refreshViewValue()}}function x(){s._mdSelectIsOpen=!0,n.attr("aria-expanded","true"),E.show({scope:s,preserveScope:!0,skipCompile:!0,element:o,target:n[0],selectCtrl:f,preserveElement:!0,hasBackdrop:!0,loadingAsync:!!i.mdOnOpen&&(r.$eval(i.mdOnOpen)||!0)}).finally(function(){s._mdSelectIsOpen=!1,n.focus(),n.attr("aria-expanded","false"),d.$setTouched()})}o.attr("id",A),C["aria-owns"]=A,n.attr(C),r.$on("$destroy",function(){E.destroy().finally(function(){u&&(u.setFocused(!1),u.setHasValue(!1),u.input=null),d.$setTouched()})})}},controller:function(){}}}function t(h,p,m,i){return{restrict:"E",require:["mdSelectMenu"],scope:!(e.$inject=["$scope","$attrs","$element"]),controller:e,link:{pre:function(a,e,t,n){var o=n[0];function r(e){var t=p.getClosest(e.target,"md-option"),n=t&&ie.element(t).data("$mdOptionController");if(t&&n){if(t.hasAttribute("disabled"))return e.stopImmediatePropagation(),!1;var r=o.hashGetter(n.value),i=ie.isDefined(o.selected[r]);a.$apply(function(){o.isMultiple?i?o.deselect(r):o.select(r,n.value):i||(o.deselect(Object.keys(o.selected)[0]),o.select(r,n.value)),o.refreshViewValue()})}}e.addClass("_md"),i(e),e.on("click",r),e.on("keypress",function(e){13!=e.keyCode&&32!=e.keyCode||r(e)})}}};function e(i,e,a){var r,o=this;o.isMultiple=ie.isDefined(e.multiple),o.selected={},o.options={},i.$watchCollection(function(){return o.options},function(){o.ngModel.$render()}),o.setMultiple=function(e){var t=o.ngModel;function n(e,t){return ie.isArray(e||t||[])}r=r||t.$isEmpty,o.isMultiple=e,o.isMultiple?(t.$validators["md-multiple"]=n,t.$render=f,i.$watchCollection(o.modelBinding,function(e){n(e)&&f(),o.ngModel.$setPristine()}),t.$isEmpty=function(e){return!e||0===e.length}):(delete t.$validators["md-multiple"],t.$render=d)};var s,c,l,u="";function f(){var n=o.ngModel.$modelValue||o.ngModel.$viewValue||[];if(ie.isArray(n)){var e=Object.keys(o.selected),t=n.map(o.hashGetter);e.filter(function(e){return-1===t.indexOf(e)}).forEach(o.deselect),t.forEach(function(e,t){o.select(e,n[t])})}}function d(){var e=o.ngModel.$viewValue||o.ngModel.$modelValue;Object.keys(o.selected).forEach(o.deselect),o.select(o.hashGetter(e),e)}o.optNodeForKeyboardSearch=function(e){s&&clearTimeout(s),s=setTimeout(function(){u="",c=l=s=ae},300);var t=e.keyCode-(m.isNumPadKey(e)?48:0);u+=String.fromCharCode(t);var n=new RegExp("^"+u,"i");c||(c=a.find("md-option"),l=new Array(c.length),ie.forEach(c,function(e,t){l[t]=e.textContent.trim()}));for(var r=0;r<l.length;++r)if(n.test(l[r]))return c[r]},o.init=function(e,t){if(o.ngModel=e,o.modelBinding=t,o.ngModel.$isEmpty=function(e){return!o.options[o.hashGetter(e)]},e.$options&&e.$options.trackBy){var n={},r=h(e.$options.trackBy);o.hashGetter=function(e,t){return n.$value=e,r(t||i,n)}}else o.hashGetter=function(e){return ie.isObject(e)?"object_"+(e.$$mdSelectId||(e.$$mdSelectId=++g)):e};o.setMultiple(o.isMultiple)},o.selectedLabels=function(e){var t,n=(e=e||{}).mode||"html",r=p.nodesToArray(a[0].querySelectorAll("md-option[selected]"));return r.length?("html"==n?t=function(e){if(e.hasAttribute("md-option-empty"))return"";var t=e.innerHTML,n=e.querySelector(".md-ripple-container");n&&(t=t.replace(n.outerHTML,""));var r=e.querySelector(".md-container");return r&&(t=t.replace(r.outerHTML,"")),t}:"aria"==n&&(t=function(e){return e.hasAttribute("aria-label")?e.getAttribute("aria-label"):e.textContent}),r.map(t).join(", ")):""},o.select=function(e,t){var n=o.options[e];n&&n.setSelected(!0),o.selected[e]=t},o.deselect=function(e){var t=o.options[e];t&&t.setSelected(!1),delete o.selected[e]},o.addOption=function(e,t){if(ie.isDefined(o.options[e]))throw new Error('Duplicate md-option values are not allowed in a select. Duplicate value "'+t.value+'" found.');o.options[e]=t,ie.isDefined(o.selected[e])&&(o.select(e,t.value),ie.isDefined(o.ngModel.$modelValue)&&o.hashGetter(o.ngModel.$modelValue)===e&&o.ngModel.$validate(),o.refreshViewValue())},o.removeOption=function(e){delete o.options[e]},o.refreshViewValue=function(){var e,t=[];for(var n in o.selected)(e=o.options[n])?t.push(e.value):t.push(o.selected[n]);var r=o.ngModel.$options&&o.ngModel.$options.trackBy,i=o.isMultiple?t:t[0],a=o.ngModel.$modelValue;(r?ie.equals(a,i):a==i)||(o.ngModel.$setViewValue(i),o.ngModel.$render())}}}function n(r,i){return e.$inject=["$element"],{restrict:"E",require:["mdOption","^^mdSelectMenu"],controller:e,compile:function(e,t){e.append(ie.element('<div class="md-text">').append(e.contents())),e.attr("tabindex",t.tabindex||"0"),n=t,r=n.value,i=n.ngValue,r||i||e.attr("md-option-empty","");var n,r,i;return a}};function a(a,t,e,n){var o=n[0],s=n[1];function c(e,t,n){if(s.hashGetter){var r=s.hashGetter(t,a),i=s.hashGetter(e,a);o.hashKey=i,o.value=e,s.removeOption(r,o),s.addOption(i,o)}else n||a.$$postDigest(function(){c(e,t,!0)})}s.isMultiple&&(t.addClass("md-checkbox-enabled"),t.prepend(l.clone())),ie.isDefined(e.ngValue)?a.$watch(e.ngValue,c):ie.isDefined(e.value)?c(e.value):a.$watch(function(){return t.text().trim()},c),e.$observe("disabled",function(e){e?t.attr("tabindex","-1"):t.attr("tabindex","0")}),a.$$postDigest(function(){e.$observe("selected",function(e){ie.isDefined(e)&&("string"==typeof e&&(e=!0),e?(s.isMultiple||s.deselect(Object.keys(s.selected)[0]),s.select(o.hashKey,o.value)):s.deselect(o.hashKey),s.refreshViewValue())})}),r.attach(a,t),function(){var e={role:"option","aria-selected":"false"};t[0].hasAttribute("id")||(e.id="select_option_"+i.nextUid());t.attr(e)}(),a.$on("$destroy",function(){s.removeOption(o.hashKey,o)})}function e(t){this.selected=!1,this.setSelected=function(e){e&&!this.selected?t.attr({selected:"selected","aria-selected":"true"}):!e&&this.selected&&(t.removeAttr("selected"),t.attr("aria-selected","false")),this.selected=e}}}function r(e){return t.$inject=["$mdSelect","$mdConstant","$mdUtil","$window","$q","$$rAF","$animateCss","$animate","$document"],e("$mdSelect").setDefaults({methods:["target"],options:t});function t(l,u,O,R,a,f,d,h,N){var p=O.dom.animator,m=u.KEY_CODE;return{parent:"body",themable:!0,onShow:function(o,s,c){return c.loadingAsync&&!c.isRemoved&&(o.$$loadingAsyncDone=!1,a.when(c.loadingAsync).then(function(){o.$$loadingAsyncDone=!0,delete c.loadingAsync}).then(function(){f(i)})),function(e,t){var n=s.find("md-select-menu");if(!t.target)throw new Error(O.supplant("$mdSelect.show() expected a target element in options.target but got '{0}'!",[t.target]));ie.extend(t,{isRemoved:!1,target:ie.element(t.target),parent:ie.element(t.parent),selectEl:n,contentEl:s.find("md-content"),optionNodes:n[0].getElementsByTagName("md-option")})}(0,c),c.hideBackdrop=(t=o,r=c,r.disableParentScroll&&!O.getClosest(r.target,"MD-DIALOG")?r.restoreScroll=O.disableScrollAround(r.element,r.parent):r.disableParentScroll=!1,r.hasBackdrop&&(r.backdrop=O.createBackdrop(t,"md-select-backdrop md-click-catcher"),h.enter(r.backdrop,N[0].body,null,{duration:0})),function(){r.backdrop&&r.backdrop.remove(),r.disableParentScroll&&r.restoreScroll(),delete r.restoreScroll}),(n=s,e=c,e.parent.append(n),a(function(e,t){try{d(n,{removeClass:"md-leave",duration:0}).start().then(i).then(e)}catch(e){t(e)}})).then(function(e){var t,n,r,i,a;return s.attr("aria-hidden","false"),c.alreadyOpen=!0,c.cleanupInteraction=function(){if(!c.isRemoved){var r=c.selectEl,t=r.controller("mdSelectMenu")||{};return s.addClass("md-clickable"),c.backdrop&&c.backdrop.on("click",e),r.on("keydown",n),r.on("click",a),function(){c.backdrop&&c.backdrop.off("click",e),r.off("keydown",n),r.off("click",a),s.removeClass("md-clickable"),c.isRemoved=!0}}function e(e){e.preventDefault(),e.stopPropagation(),c.restoreFocus=!1,O.nextTick(l.hide,!0)}function n(e){switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case m.UP_ARROW:return void i("prev");case m.DOWN_ARROW:return void i("next");case m.SPACE:case m.ENTER:var t=O.getClosest(e.target,"md-option");t&&(r.triggerHandler({type:"click",target:t}),e.preventDefault()),a(e);break;case m.TAB:case m.ESCAPE:e.stopPropagation(),e.preventDefault(),c.restoreFocus=!0,O.nextTick(l.hide,!0);break;default:if(u.isInputKey(e)||u.isNumPadKey(e)){var n=r.controller("mdSelectMenu").optNodeForKeyboardSearch(e);c.focusedNode=n||c.focusedNode,n&&n.focus()}}}function i(e){for(var t,n=O.nodesToArray(c.optionNodes),r=n.indexOf(c.focusedNode);-1===r?r=0:"next"===e&&r<n.length-1?r++:"prev"===e&&0<r&&r--,(t=n[r]).hasAttribute("disabled")&&(t=ae),!t&&r<n.length-1&&0<r;);t&&t.focus(),c.focusedNode=t}function a(i){if(!(i&&"click"==i.type&&i.currentTarget!=r[0]||function(){var e=!1;if(i&&0<i.currentTarget.children.length){var t=i.currentTarget.children[0],n=t.scrollHeight>t.clientHeight;if(n&&0<t.children.length){var r=i.pageX-i.currentTarget.getBoundingClientRect().left;r>t.querySelector("md-option").offsetWidth&&(e=!0)}}return e}())){var e=O.getClosest(i.target,"md-option");e&&e.hasAttribute&&!e.hasAttribute("disabled")&&(i.preventDefault(),i.stopPropagation(),t.isMultiple||(c.restoreFocus=!0,O.nextTick(function(){l.hide(t.ngModel.$viewValue)},!0)))}}}(),c.cleanupResizing=(r=o,i=s,a=c,t=function(){if(!a.isRemoved){var e=g(r,i,a),t=e.container,n=e.dropDown;t.element.css(p.toCss(t.styles)),n.element.css(p.toCss(n.styles))}},(n=ie.element(R)).on("resize",t),n.on("orientationchange",t),function(){n.off("resize",t),n.off("orientationchange",t)}),e},c.hideBackdrop);var n,e;var t,r;function i(){return a(function(t){if(c.isRemoved)return a.reject(!1);var n=g(o,s,c);n.container.element.css(p.toCss(n.container.styles)),n.dropDown.element.css(p.toCss(n.dropDown.styles)),f(function(){var e;s.addClass("md-active"),n.dropDown.element.css(p.toCss({transform:""})),(e=c.focusedNode)&&!e.hasAttribute("disabled")&&e.focus(),t()})})}},onRemove:function(e,t,n){return(n=n||{}).cleanupInteraction(),n.cleanupResizing(),n.hideBackdrop(),!0===n.$destroy?r():d(t,{addClass:"md-leave"}).start().then(r);function r(){t.removeClass("md-active"),t.attr("aria-hidden","true"),t[0].style.display="none",function(e){var t=e.selectCtrl;if(t){var n=e.selectEl.controller("mdSelectMenu");t.setLabelText(n?n.selectedLabels():""),t.triggerClose()}}(n),!n.$destroy&&n.restoreFocus&&n.target.focus()}},hasBackdrop:!0,disableParentScroll:!0};function g(e,t,n){var r,i,a=t[0],o=n.target[0].children[0],s=N[0].body,c=n.selectEl[0],l=n.contentEl[0],u=s.getBoundingClientRect(),f=o.getBoundingClientRect(),d={left:u.left+F,top:F,bottom:u.height-F,right:u.width-F-(O.floatingScrollbars()?16:0)},h=f.top-d.top,p=(f.left,f.left,f.width,d.bottom-(f.top+f.height)),m=u.width-2*F,g=c.querySelector("md-option[selected]"),_=c.getElementsByTagName("md-option"),b=c.getElementsByTagName("md-optgroup"),v=function(e,t){var n=!1;try{var r=e[0].style.display;e[0].style.display="block",n=t.scrollHeight>t.offsetHeight,e[0].style.display=r}finally{}return n}(t,l);r=(i=n.loadingAsync)&&ie.isFunction(i.then)?l.firstElementChild||l:g||(b.length?b[0]:_.length?_[0]:l.firstElementChild||l),l.offsetWidth>m?l.style["max-width"]=m+"px":l.style.maxWidth=null,v&&c.classList.add("md-overflow");var y=r;"MD-OPTGROUP"===(y.tagName||"").toUpperCase()&&(r=y=_[0]||l.firstElementChild||l),n.focusedNode=y,a.style.display="block";var w,C,A,S,T,x,k=c.getBoundingClientRect(),E=(w=r)?{left:w.offsetLeft,top:w.offsetTop,width:w.offsetWidth,height:w.offsetHeight}:{left:0,top:0,width:0,height:0};if(r){var D=R.getComputedStyle(r);E.paddingLeft=parseInt(D.paddingLeft,10)||0,E.paddingRight=parseInt(D.paddingRight,10)||0}if(v){var I=l.offsetHeight/2;l.scrollTop=E.top+E.height/2-I,h<I?l.scrollTop=Math.min(E.top,l.scrollTop+I-h):p<I&&(l.scrollTop=Math.max(E.top+E.height-k.height,l.scrollTop-I+p))}C=f.left+E.left-E.paddingLeft+2,A=Math.floor(f.top+f.height/2-E.height/2-E.top+l.scrollTop)+2,S=E.left+f.width/2+"px "+(E.top+E.height/2-l.scrollTop)+"px 0px",T=Math.min(f.width+E.paddingLeft+E.paddingRight,m),x=G.getComputedStyle(o)["font-size"];var P=a.getBoundingClientRect(),M=Math.round(100*Math.min(f.width/k.width,1))/100,$=Math.round(100*Math.min(f.height/k.height,1))/100;return{container:{element:ie.element(a),styles:{left:Math.floor(L(d.left,C,d.right-P.width)),top:Math.floor(L(d.top,A,d.bottom-P.height)),"min-width":T,"font-size":x}},dropDown:{element:ie.element(c),styles:{transformOrigin:S,transform:n.alreadyOpen?"":O.supplant("scale({0},{1})",[M,$])}}}}}function L(e,t,n){return Math.max(e,Math.min(t,n))}}ie.module("material.components.select",["material.core","material.components.backdrop"]).directive("mdSelect",e).directive("mdSelectMenu",t).directive("mdOption",n).directive("mdOptgroup",function(){return{restrict:"E",compile:function(t,n){t.parent().find("md-select-header").length||function(){var e=t.find("label");e.length||(e=ie.element("<label>"),t.prepend(e));e.addClass("md-container-ignore"),n.label&&e.text(n.label)}()}}}).directive("mdSelectHeader",function(){return{restrict:"E"}}).provider("$mdSelect",r)}(),function(){function e(c,l){return["$mdUtil","$window",function(o,s){return{restrict:"A",multiElement:!0,link:function(r,i,t){var a=r.$on("$md-resize-enable",function(){a();var e=i[0],n=e.nodeType===s.Node.ELEMENT_NODE?s.getComputedStyle(e):{};r.$watch(t[c],function(e){if(!!e===l){o.nextTick(function(){r.$broadcast("$md-resize")});var t={cachedTransitionStyles:n};o.dom.animator.waitTransitionEnd(i,t).then(function(){r.$broadcast("$md-resize")})}})})}}}]}ie.module("material.components.showHide",["material.core"]).directive("ngShow",e("ngShow",!0)).directive("ngHide",e("ngHide",!1))}(),function(){function e(r,c,l,i){var u="SideNav '{0}' is not available! Did you use md-component-id='{0}'?",f={find:function(e,t){var n=r.get(e);return n||t?n:(i.error(c.supplant(u,[e||""])),ae)},waitFor:d};return function(e,t){if(ie.isUndefined(e))return f;var n,r,i,a,o=!0===t,s=f.find(e,o);return!s&&o?f.waitFor(e):!s&&ie.isUndefined(t)?(n=f,r=e,i=function(){return!1},a=function(){return l.when(c.supplant(u,[r||""]))},ie.extend({isLockedOpen:i,isOpen:i,toggle:a,open:a,close:a,onClose:ie.noop,then:function(e){return d(r).then(e||ie.noop)}},n)):s};function d(e){return r.when(e).catch(i.error)}}function t(r,m,i,g,_,e,b,v,y,w){return{restrict:"E",scope:{isOpen:"=?mdIsOpen"},controller:"$mdSidenavController",compile:function(e){return e.addClass("md-closed"),e.attr("tabIndex","-1"),t}};function t(a,o,e,t){var s,c,l,u=null,f=null,d=y.when(!0),n=b(e.mdIsLockedOpen);function h(e){return e.keyCode===i.KEY_CODE.ESCAPE?p(e):y.when(!0)}function p(e){return e.preventDefault(),t.close()}e.mdDisableScrollTarget&&((u=w[0].querySelector(e.mdDisableScrollTarget))?u=ie.element(u):v.warn(m.supplant('mdSidenav: couldn\'t find element matching selector "{selector}". Falling back to parent.',{selector:e.mdDisableScrollTarget}))),u||(u=o.parent()),e.hasOwnProperty("mdDisableBackdrop")||(c=m.createBackdrop(a,"md-sidenav-backdrop md-opaque ng-enter")),o.addClass("_md"),g(o),c&&g.inherit(c,o),o.on("$destroy",function(){c&&c.remove(),t.destroy()}),a.$on("$destroy",function(){c&&c.remove()}),a.$watch(function(){return n(a.$parent,{$media:function(e){return v.warn("$media is deprecated for is-locked-open. Use $mdMedia instead."),r(e)},$mdMedia:r})},function(e,t){(a.isLockedOpen=e)===t?o.toggleClass("md-locked-open",!!e):_[e?"addClass":"removeClass"](o,"md-locked-open");c&&c.toggleClass("md-locked-open",!!e)}),a.$watch("isOpen",function(e){var t=m.findFocusTarget(o)||m.findFocusTarget(o,"[md-sidenav-focus]")||o,n=o.parent();n[e?"on":"off"]("keydown",h),c&&c[e?"on":"off"]("click",p);var r=function(e,t){var n=o[0],r=e[0].scrollTop;if(t&&r){l={top:n.style.top,bottom:n.style.bottom,height:n.style.height};var i={top:r+"px",bottom:"auto",height:e[0].clientHeight+"px"};o.css(i),c.css(i)}if(!t&&l)return function(){n.style.top=l.top,n.style.bottom=l.bottom,n.style.height=l.height,c[0].style.top=null,c[0].style.bottom=null,c[0].style.height=null,l=null}}(n,e);e&&(f=w[0].activeElement);return i=e,i&&!s?(s=u.css("overflow"),u.css("overflow","hidden")):ie.isDefined(s)&&(u.css("overflow",s),s=ae),d=y.all([e&&c?_.enter(c,n):c?_.leave(c):y.when(!0),_[e?"removeClass":"addClass"](o,"md-closed")]).then(function(){a.isOpen&&t&&t.focus(),r&&r()});var i}),t.$toggleOpen=function(e){return a.isOpen==e?y.when(!0):(a.isOpen&&t.onCloseCb&&t.onCloseCb(),y(function(t){a.isOpen=e,m.nextTick(function(){d.then(function(e){a.isOpen||(f&&f.focus(),f=null),t(e)})})}))}}}function n(t,e,n,r,i){var a=this;a.isOpen=function(){return!!t.isOpen},a.isLockedOpen=function(){return!!t.isLockedOpen},a.onClose=function(e){return a.onCloseCb=e,a},a.open=function(){return a.$toggleOpen(!0)},a.close=function(){return a.$toggleOpen(!1)},a.toggle=function(){return a.$toggleOpen(!t.isOpen)},a.$toggleOpen=function(e){return i.when(t.isOpen=e)},a.destroy=r.register(a,n.mdComponentId)}e.$inject=["$mdComponentRegistry","$mdUtil","$q","$log"],t.$inject=["$mdMedia","$mdUtil","$mdConstant","$mdTheming","$animate","$compile","$parse","$log","$q","$document"],n.$inject=["$scope","$element","$attrs","$mdComponentRegistry","$q"],ie.module("material.components.sidenav",["material.core","material.components.backdrop"]).factory("$mdSidenav",e).directive("mdSidenav",t).directive("mdSidenavFocus",function(){return{restrict:"A",require:"^mdSidenav",link:function(e,t,n,r){}}}).controller("$mdSidenavController",n)}(),function(){function e(H,W,i,q,z,V,Y,K,Q,X){return{scope:{},require:["?ngModel","?^mdSliderContainer"],template:'<div class="md-slider-wrapper"><div class="md-slider-content"><div class="md-track-container"><div class="md-track"></div><div class="md-track md-track-fill"></div><div class="md-track-ticks"></div></div><div class="md-thumb-container"><div class="md-thumb"></div><div class="md-focus-thumb"></div><div class="md-focus-ring"></div><div class="md-sign"><span class="md-thumb-text"></span></div><div class="md-disabled-thumb"></div></div></div></div>',compile:function(e,t){var n=ie.element(e[0].getElementsByClassName("md-slider-wrapper")),r=t.tabindex||0;n.attr("tabindex",r),(t.disabled||t.ngDisabled)&&n.attr("tabindex",-1);return n.attr("role","slider"),i.expect(e,"aria-label"),a}};function a(i,a,e,t){V(a);var n=t[0]||{$setViewValue:function(e){this.$viewValue=e,this.$viewChangeListeners.forEach(function(e){e()})},$parsers:[],$formatters:[],$viewChangeListeners:[]},r=t[1],o=(ie.element(q.getClosest(a,"_md-slider-container",!0)),e.ngDisabled?ie.bind(null,K(e.ngDisabled),i.$parent):function(){return a[0].hasAttribute("disabled")}),s=ie.element(a[0].querySelector(".md-thumb")),c=ie.element(a[0].querySelector(".md-thumb-text")),l=s.parent(),u=ie.element(a[0].querySelector(".md-track-container")),f=ie.element(a[0].querySelector(".md-track-fill")),d=ie.element(a[0].querySelector(".md-track-ticks")),h=ie.element(a[0].getElementsByClassName("md-slider-wrapper")),p=(ie.element(a[0].getElementsByClassName("md-slider-content")),q.throttle(P,5e3)),m=ie.isDefined(e.mdVertical),g=ie.isDefined(e.mdDiscrete),_=ie.isDefined(e.mdInvert);ie.isDefined(e.min)?e.$observe("min",x):x(0),ie.isDefined(e.max)?e.$observe("max",k):k(100),ie.isDefined(e.step)?e.$observe("step",E):E(1),ie.isDefined(e.round)?e.$observe("round",D):D(3);ie.noop;function b(){P(),O()}e.ngDisabled&&i.$parent.$watch(e.ngDisabled,function(){a.attr("aria-disabled",!!o())}),Y.register(h,"drag",{horizontal:!m}),i.mouseActive=!1,h.on("keydown",function(e){if(o())return;var t;(m?e.keyCode===z.KEY_CODE.DOWN_ARROW:e.keyCode===z.KEY_CODE.LEFT_ARROW)?t=-w:(m?e.keyCode===z.KEY_CODE.UP_ARROW:e.keyCode===z.KEY_CODE.RIGHT_ARROW)&&(t=w);(t=_?-t:t)&&((e.metaKey||e.ctrlKey||e.altKey)&&(t*=4),e.preventDefault(),e.stopPropagation(),i.$evalAsync(function(){$(n.$viewValue+t)}))}).on("mousedown",function(){(function(){if(!g||o())return;if(ie.isUndefined(w))return;if(w<=0){var e="Slider step value must be greater than zero when in discrete mode";throw Q.error(e),new Error(e)}var t=Math.floor((y-v)/w);A||(A=ie.element("<canvas>").css("position","absolute"),d.append(A),S=A[0].getContext("2d"));var n,r=M();!r||r.height||r.width||(P(),r=I);A[0].width=r.width,A[0].height=r.height;for(var i=0;i<=t;i++){var a=W.getComputedStyle(d[0]);S.fillStyle=a.color||"black",n=Math.floor((m?r.height:r.width)*(i/t)),S.fillRect(m?0:n-1,m?n-1:0,m?r.width:2,m?2:r.height)}})(),i.mouseActive=!0,h.removeClass("md-focused"),X(function(){i.mouseActive=!1},100)}).on("focus",function(){!1===i.mouseActive&&h.addClass("md-focused")}).on("blur",function(){h.removeClass("md-focused"),a.removeClass("md-active"),function(){if(A&&S){var e=M();S.clearRect(0,0,e.width,e.height)}}()}).on("$md.pressdown",function(e){if(o())return;a.addClass("md-active"),a[0].focus(),P();var t=R(N(B(j(m?e.pointer.y:e.pointer.x))));i.$apply(function(){$(t),L(U(t))})}).on("$md.pressup",function(e){if(o())return;a.removeClass("md-dragging");var t=R(N(B(j(m?e.pointer.y:e.pointer.x))));i.$apply(function(){$(t),O()})}).on("$md.dragstart",function(e){if(o())return;F=!0,e.stopPropagation(),a.addClass("md-dragging"),G(e)}).on("$md.drag",function(e){if(!F)return;e.stopPropagation(),G(e)}).on("$md.dragend",function(e){if(!F)return;e.stopPropagation(),F=!1}),setTimeout(b,0);var v,y,w,C,A,S,T=H.throttle(b);function x(e){v=parseFloat(e),a.attr("aria-valuemin",e),b()}function k(e){y=parseFloat(e),a.attr("aria-valuemax",e),b()}function E(e){w=parseFloat(e)}function D(e){C=R(parseInt(e),0,6)}ie.element(W).on("resize",T),i.$on("$destroy",function(){ie.element(W).off("resize",T)}),n.$render=O,n.$viewChangeListeners.push(O),n.$formatters.push(R),n.$formatters.push(N);var I={};function P(){I=u[0].getBoundingClientRect()}function M(){return p(),I}function $(e){n.$setViewValue(R(N(e)))}function O(){isNaN(n.$viewValue)&&(n.$viewValue=n.$modelValue),n.$viewValue=R(n.$viewValue);var e=U(n.$viewValue);i.modelValue=n.$viewValue,a.attr("aria-valuenow",n.$viewValue),L(e),c.text(n.$viewValue)}function R(e,t,n){if(ie.isNumber(e))return t=ie.isNumber(t)?t:v,n=ie.isNumber(n)?n:y,Math.max(t,Math.min(n,e))}function N(e){if(ie.isNumber(e)){var t=Math.round((e-v)/w)*w+v;return t=Math.round(t*Math.pow(10,C))/Math.pow(10,C),r&&r.fitInputWidthToTextLength&&q.debounce(function(){r.fitInputWidthToTextLength(t.toString().length)},100)(),t}}function L(e){var t;t=e;var n=100*(e=Math.max(0,Math.min(t||0,1)))+"%",r=_?100*(1-e)+"%":n;m?l.css("bottom",n):q.bidiProperty(l,"left","right",n),f.css(m?"height":"width",r),a.toggleClass(_?"md-max":"md-min",0===e),a.toggleClass(_?"md-min":"md-max",1===e)}P();var F=!1;function G(e){var t,n,r;g?(n=m?e.pointer.y:e.pointer.x,r=R(N(B(j(n)))),L(j(n)),c.text(r)):(t=m?e.pointer.y:e.pointer.x,i.$evalAsync(function(){$(B(j(t)))}))}function j(e){var t=(e-(m?I.top:I.left))/(m?I.height:I.width);return m||"rtl"!==q.bidi()||(t=1-t),Math.max(0,Math.min(1,m?1-t:t))}function B(e){return v+(_?1-e:e)*(y-v)}function U(e){var t=(e-v)/(y-v);return _?1-t:t}}}e.$inject=["$$rAF","$window","$mdAria","$mdUtil","$mdConstant","$mdTheming","$mdGesture","$parse","$log","$timeout"],ie.module("material.components.slider",["material.core"]).directive("mdSlider",e).directive("mdSliderContainer",function(){return{controller:function(){},compile:function(e){var t=e.find("md-slider");if(t){var n=t.attr("md-vertical");return n!==ae&&e.attr("md-vertical",""),t.attr("flex")||t.attr("flex",""),function(e,o,t,n){function r(e){o.children().attr("disabled",e),o.find("input").attr("disabled",e)}o.addClass("_md");var s,i=ie.noop;t.disabled?r(!0):t.ngDisabled&&(i=e.$watch(t.ngDisabled,function(e){r(e)})),e.$on("$destroy",function(){i()}),n.fitInputWidthToTextLength=function(e){var t=o[0].querySelector("md-input-container");if(t){var n=getComputedStyle(t),r=parseInt(n.minWidth),i=2*parseInt(n.padding);s=s||parseInt(n.maxWidth);var a=Math.max(s,r+i+r/2*e);t.style.maxWidth=a+"px"}}}}}}})}(),function(){function e(l,u,f,s){var c=f.checkStickySupport();return function(e,t,n){var r=t.controller("mdContent");if(r)if(c)t.css({position:c,top:0,"z-index":2});else{var i=r.$element.data("$$sticky");i||(i=function(e){var r,i=e.$element,a=u.throttle(t);return function(e){var t,n,r=200;function i(){+f.now()-n>r?(t=!1,e.triggerHandler("$scrollend")):(e.triggerHandler("$scroll"),u.throttle(i))}e.on("scroll touchmove",function(){t||(t=!0,u.throttle(i),e.triggerHandler("$scrollstart")),e.triggerHandler("$scroll"),n=+f.now()})}(i),i.on("$scrollstart",a),i.on("$scroll",function e(){var t=i.prop("scrollTop"),n=(e.prevScrollTop||0)<t;if(0!==(e.prevScrollTop=t)){if(n){if(r.next&&r.next.top<=t)return void s(r.next);if(r.current&&r.next&&r.next.top-t<=r.next.height)return void c(r.current,t+(r.next.top-r.next.height-t))}if(!n){if(r.current&&r.prev&&t<r.current.top)return void s(r.prev);if(r.next&&r.current&&t>=r.next.top-r.current.height)return void c(r.current,t+(r.next.top-t-r.current.height))}r.current&&c(r.current,t)}else s(null)}),r={prev:null,current:null,next:null,items:[],add:function(n,e){e.addClass("md-sticky-clone");var t={element:n,clone:e};return r.items.push(t),f.nextTick(function(){i.prepend(t.clone)}),a(),function(){r.items.forEach(function(e,t){e.element[0]===n[0]&&(r.items.splice(t,1),e.clone.remove())}),a()}},refreshElements:t};function t(){var e;r.items.forEach(o),r.items=r.items.sort(function(e,t){return e.top<t.top?-1:1});for(var t=i.prop("scrollTop"),n=r.items.length-1;0<=n;n--)if(t>r.items[n].top){e=r.items[n];break}s(e)}function o(e){var t=e.element[0];for(e.top=0,e.left=0,e.right=0;t&&t!==i[0];)e.top+=t.offsetTop,e.left+=t.offsetLeft,t.offsetParent&&(e.right+=t.offsetParent.offsetWidth-t.offsetWidth-t.offsetLeft),t=t.offsetParent;e.height=e.element.prop("offsetHeight");var n=f.floatingScrollbars()?"0":ae;f.bidi(e.clone,"margin-left",e.left,n),f.bidi(e.clone,"margin-right",n,e.right)}function s(e){if(r.current!==e){r.current&&(c(r.current,null),n(r.current,null)),e&&n(e,"active"),r.current=e;var t=r.items.indexOf(e);r.next=r.items[t+1],r.prev=r.items[t-1],n(r.next,"next"),n(r.prev,"prev")}}function n(e,t){e&&e.state!==t&&(e.state&&(e.clone.attr("sticky-prev-state",e.state),e.element.attr("sticky-prev-state",e.state)),e.clone.attr("sticky-state",t),e.element.attr("sticky-state",t),e.state=t)}function c(e,t){e&&(null===t||t===ae?e.translateY&&(e.translateY=null,e.clone.css(l.CSS.TRANSFORM,"")):(e.translateY=t,f.bidi(e.clone,l.CSS.TRANSFORM,"translate3d("+e.left+"px,"+t+"px,0)","translateY("+t+"px)")))}}(r),r.$element.data("$$sticky",i));var a=n||s(t.clone())(e),o=i.add(t,a);e.$on("$destroy",o)}}}e.$inject=["$mdConstant","$$rAF","$mdUtil","$compile"],ie.module("material.components.sticky",["material.core","material.components.content"]).factory("$mdSticky",e)}(),function(){function e(s,c,l,u){return{restrict:"E",replace:!0,transclude:!0,template:'<div class="md-subheader _md"> <div class="md-subheader-inner"> <div class="md-subheader-content"></div> </div></div>',link:function(n,r,e,t,i){l(r),r.addClass("_md"),u.prefixer().removeAttribute(r,"ng-repeat");var a=r[0].outerHTML;function o(e){return ie.element(e[0].querySelector(".md-subheader-content"))}i(n,function(e){o(r).append(e)}),r.hasClass("md-no-sticky")||i(n,function(e){var t=c('<div class="md-subheader-wrapper">'+a+"</div>")(n);u.nextTick(function(){o(t).append(e)}),s(n,r,t)})}}}e.$inject=["$mdSticky","$compile","$mdTheming","$mdUtil"],ie.module("material.components.subheader",["material.core","material.components.sticky"]).directive("mdSubheader",e)}(),function(){function e(e){t.$inject=["$parse"];var a="md"+e,o="$md."+e.toLowerCase();return t;function t(i){return{restrict:"A",link:function(t,e,n){var r=i(n[a]);e.on(o,function(e){t.$applyAsync(function(){r(t,{$event:e})})})}}}}ie.module("material.components.swipe",["material.core"]).directive("mdSwipeLeft",e("SwipeLeft")).directive("mdSwipeRight",e("SwipeRight")).directive("mdSwipeUp",e("SwipeUp")).directive("mdSwipeDown",e("SwipeDown"))}(),function(){function e(e,l,u,f,d,h,p){var n=e[0];return{restrict:"E",priority:210,transclude:!0,template:'<div class="md-container"><div class="md-bar"></div><div class="md-thumb-container"><div class="md-thumb" md-ink-ripple md-ink-ripple-checkbox></div></div></div><div ng-transclude class="md-label"></div>',require:"?ngModel",compile:function(e,t){var c=n.compile(e,t).post;return e.addClass("md-dragging"),function(n,r,e,i){i=i||l.fakeNgModel();var t=null;null!=e.disabled?t=function(){return!0}:e.ngDisabled&&(t=f(e.ngDisabled));var a,o=ie.element(r[0].querySelector(".md-thumb-container")),s=ie.element(r[0].querySelector(".md-container"));d(function(){r.removeClass("md-dragging")}),c(n,r,e,i),t&&n.$watch(t,function(e){r.attr("tabindex",e?-1:0)}),h.register(s,"drag"),s.on("$md.dragstart",function(e){t&&t(n)||(e.stopPropagation(),r.addClass("md-dragging"),a={width:o.prop("offsetWidth")})}).on("$md.drag",function(e){if(a){e.stopPropagation(),e.srcEvent&&e.srcEvent.preventDefault();var t=e.pointer.distanceX/a.width,n=i.$viewValue?1+t:t;n=Math.max(0,Math.min(1,n)),o.css(u.CSS.TRANSFORM,"translate3d("+100*n+"%,0,0)"),a.translate=n}}).on("$md.dragend",function(e){var t;a&&(e.stopPropagation(),r.removeClass("md-dragging"),o.css(u.CSS.TRANSFORM,""),(i.$viewValue?a.translate<.5:.5<a.translate)&&(t=!i.$viewValue,n.$apply(function(){i.$setViewValue(t),i.$render()})),a=null,n.skipToggle=!0,p(function(){n.skipToggle=!1},1))})}}}}e.$inject=["mdCheckboxDirective","$mdUtil","$mdConstant","$parse","$$rAF","$mdGesture","$timeout"],ie.module("material.components.switch",["material.core","material.components.checkbox"]).directive("mdSwitch",e)}(),ie.module("material.components.tabs",["material.core","material.components.icon"]),function(){function e(n){return{restrict:"E",link:function(e,t){t.addClass("_md"),e.$on("$destroy",function(){n.destroy()})}}}function t(e){n.$inject=["$animate","$mdToast","$mdUtil","$mdMedia"];var u;function t(e){u=e}return e("$mdToast").setDefaults({methods:["position","hideDelay","capsule","parent","position","toastClass"],options:n}).addPreset("simple",{argOption:"textContent",methods:["textContent","content","action","highlightAction","highlightClass","theme","parent"],options:["$mdToast","$mdTheming",function(n,e){return{template:'<md-toast md-theme="{{ toast.theme }}" ng-class="{\'md-capsule\': toast.capsule}"> <div class="md-toast-content"> <span class="md-toast-text" role="alert" aria-relevant="all" aria-atomic="true"> {{ toast.content }} </span> <md-button class="md-action" ng-if="toast.action" ng-click="toast.resolve()" ng-class="highlightClasses"> {{ toast.action }} </md-button> </div></md-toast>',controller:["$scope",function(e){var t=this;t.highlightAction&&(e.highlightClasses=["md-highlight",t.highlightClass]),e.$watch(function(){return u},function(){t.content=u}),this.resolve=function(){n.hide("ok")}}],theme:e.defaultTheme(),controllerAs:"toast",bindToController:!0}}]}).addMethod("updateTextContent",t).addMethod("updateContent",t);function n(r,s,c,n){var l="$md.swipeleft $md.swiperight $md.swipeup $md.swipedown";return{onShow:function(e,i,a){u=a.textContent||a.content;var o=!n("gt-sm");i=c.extractElementByName(i,"md-toast",!0),a.element=i,a.onSwipe=function(e,t){var n=e.type.replace("$md.",""),r=n.replace("swipe","");"down"===r&&-1!=a.position.indexOf("top")&&!o||"up"===r&&(-1!=a.position.indexOf("bottom")||o)||("left"!==r&&"right"!==r||!o)&&(i.addClass("md-"+n),c.nextTick(s.cancel))},a.openClass=(t=a.position,n("gt-xs")?"md-toast-open-"+(-1<t.indexOf("top")?"top":"bottom"):"md-toast-open-bottom"),i.addClass(a.toastClass),a.parent.addClass(a.openClass),c.hasComputedStyle(a.parent,"position","static")&&a.parent.css("position","relative");var t;i.on(l,a.onSwipe),i.addClass(o?"md-bottom":a.position.split(" ").map(function(e){return"md-"+e}).join(" ")),a.parent&&a.parent.addClass("md-toast-animating");return r.enter(i,a.parent).then(function(){a.parent&&a.parent.removeClass("md-toast-animating")})},onRemove:function(e,t,n){t.off(l,n.onSwipe),n.parent&&n.parent.addClass("md-toast-animating");n.openClass&&n.parent.removeClass(n.openClass);return(1==n.$destroy?t.remove():r.leave(t)).then(function(){n.parent&&n.parent.removeClass("md-toast-animating"),c.hasComputedStyle(n.parent,"position","static")&&n.parent.css("position","")})},toastClass:"",position:"bottom left",themable:!0,hideDelay:3e3,autoWrap:!0,transformTemplate:function(e,t){if(t.autoWrap&&e&&!/md-toast-content/g.test(e)){var n=document.createElement("md-template");n.innerHTML=e;for(var r=0;r<n.children.length;r++)if("MD-TOAST"===n.children[r].nodeName){var i=ie.element('<div class="md-toast-content">');i.append(ie.element(n.children[r].childNodes)),n.children[r].appendChild(i[0])}return n.innerHTML}return e||""}}}}e.$inject=["$mdToast"],t.$inject=["$$interimElementProvider"],ie.module("material.components.toast",["material.core","material.components.button"]).directive("mdToast",e).provider("$mdToast",t)}(),function(){function e(m,g,_,e,b){var v=ie.bind(null,_.supplant,"translate3d(0,{0}px,0)");return{template:"",restrict:"E",link:function(d,h,p){h.addClass("_md"),e(h),_.nextTick(function(){h.addClass("_md-toolbar-transitions")},!1),ie.isDefined(p.mdScrollShrink)&&function(){var n,r,i=ie.noop,a=0,o=0,s=p.mdShrinkSpeedFactor||.5,c=m.throttle(t),l=_.debounce(e,5e3);d.$on("$mdContentLoaded",u),p.$observe("mdScrollShrink",function(e){var t=h.parent().find("md-content");!r&&t.length&&u(null,t),!1===(e=d.$eval(e))?i():i=f()}),p.ngShow&&d.$watch(p.ngShow,e);p.ngHide&&d.$watch(p.ngHide,e);function u(e,t){t&&h.parent()[0]===t.parent()[0]&&(r&&r.off("scroll",c),r=t,i=f())}function t(e){var t=e?e.target.scrollTop:o;l(),a=Math.min(n/s,Math.max(0,a+t-o)),h.css(g.CSS.TRANSFORM,v([-a*s])),r.css(g.CSS.TRANSFORM,v([(n-a)*s])),o=t,_.nextTick(function(){var e=h.hasClass("md-whiteframe-z1");e&&!a?b.removeClass(h,"md-whiteframe-z1"):!e&&a&&b.addClass(h,"md-whiteframe-z1")})}function f(){return r?(r.on("scroll",c),r.attr("scroll-shrink","true"),_.nextTick(e,!1),function(){r.off("scroll",c),r.attr("scroll-shrink","false"),e()}):ie.noop}function e(){var e=-(n=h.prop("offsetHeight"))*s+"px";r.css({"margin-top":e,"margin-bottom":e}),t()}d.$on("$destroy",i)}()}}}e.$inject=["$$rAF","$mdConstant","$mdUtil","$mdTheming","$animate"],ie.module("material.components.toolbar",["material.core","material.components.content"]).directive("mdToolbar",e)}(),function(){function e(p,m,a,g,_,b,e,v,t,y){var w="focus touchstart mouseenter",C="blur touchcancel mouseleave",A="md-show";return{restrict:"E",transclude:!0,priority:210,template:'<div class="md-content _md" ng-transclude></div>',scope:{delay:"=?mdDelay",visible:"=?mdVisible",autohide:"=?mdAutohide",direction:"@?mdDirection"},compile:function(e,t){return t.mdDirection||t.$set("mdDirection","bottom"),n}};function n(c,o,l){b(o);var u=_.getParentWithPointerEvents(o),t=ie.element(o[0].getElementsByClassName("md-content")[0]),s=ie.element(document.body),f=null,d=a.throttle(function(){i()});function e(){var e="center top";switch(c.direction){case"left":e="right center";break;case"right":e="left center";break;case"top":e="center bottom";break;case"bottom":e="center top"}t.css("transform-origin",e)}function n(e){e?function(){if(!o[0].textContent.trim())return;if(o.css({top:0,left:0}),s.append(o),_.hasComputedStyle(o,"display","none"))return c.visible=!1,o.detach();i(),v.addClass(t,A).then(function(){o.addClass(A)})}():v.removeClass(t,A).then(function(){o.removeClass(A),c.visible||o.detach()})}function r(e){if((e||!u.attr("aria-label"))&&!u.text().trim()){var t=e||o.text().trim(),n=y(t)(u.scope());u.attr("aria-label",n)}}function h(e){h.queued&&h.value===!!e||!h.queued&&c.visible===!!e||(h.value=!!e,h.queued||(e?(h.queued=!0,f=p(function(){c.visible=h.value,h.queued=!1,f=null,c.visibleWatcher||n(c.visible)},c.delay)):_.nextTick(function(){c.visible=!1,c.visibleWatcher||n(!1)})))}function i(){c.visible&&(e(),function(){var n=_.offsetRect(o,s),t=_.offsetRect(u,s),e=a(c.direction),r=o.prop("offsetParent");c.direction?e=i(e):r&&e.top>r.scrollHeight-n.height-8&&(e=i(a("top")));function i(e){var t={left:e.left,top:e.top};return t.left=Math.min(t.left,s.prop("scrollWidth")-n.width-8),t.left=Math.max(t.left,8),t.top=Math.min(t.top,s.prop("scrollHeight")-n.height-8),t.top=Math.max(t.top,8),t}function a(e){return"left"===e?{left:t.left-n.width-8,top:t.top+t.height/2-n.height/2}:"right"===e?{left:t.left+t.width+8,top:t.top+t.height/2-n.height/2}:"top"===e?{left:t.left+t.width/2-n.width/2,top:t.top-n.height-8}:{left:t.left+t.width/2-n.width/2,top:t.top+t.height+8}}o.css({left:e.left+"px",top:e.top+"px"})}())}v.pin&&v.pin(o,u),c.delay=c.delay||0,o.detach(),o.attr("role","tooltip"),function(){var t=!1;if(u[0]&&"MutationObserver"in m){var e=new MutationObserver(function(e){e.some(function(e){return"disabled"===e.attributeName&&u[0].disabled})&&_.nextTick(function(){h(!1)})});e.observe(u[0],{attributes:!0})}var n=function(){r=document.activeElement===u[0]},r=!1;function i(){h(!1)}ie.element(m).on("blur",n).on("resize",d),document.addEventListener("scroll",i,!0),c.$on("$destroy",function(){ie.element(m).off("blur",n).off("resize",d),u.off(w,a).off(C,o).off("mousedown",s),o(),document.removeEventListener("scroll",i,!0),e&&e.disconnect()});var a=function(e){"focus"===e.type&&r?r=!1:c.visible||(u.on(C,o),h(!0),"touchstart"===e.type&&u.one("touchend",function(){_.nextTick(function(){g.one("touchend",o)},!1)}))},o=function(){var e=c.hasOwnProperty("autohide")?c.autohide:l.hasOwnProperty("mdAutohide");(e||t||g[0].activeElement!==u[0])&&(f&&(p.cancel(f),h.queued=!1,f=null),u.off(C,o),u.triggerHandler("blur"),h(!1)),t=!1},s=function(){t=!0};u.on("mousedown",s),u.on(w,a)}(),e(),function(){if(o[0]&&"MutationObserver"in m){var e=new MutationObserver(function(e){e.forEach(function(e){"md-visible"===e.attributeName&&(c.visibleWatcher||(c.visibleWatcher=c.$watch("visible",n))),"md-direction"===e.attributeName&&i(c.direction)})});e.observe(o[0],{attributes:!0}),l.hasOwnProperty("mdVisible")&&(c.visibleWatcher=c.$watch("visible",n))}else c.visibleWatcher=c.$watch("visible",n),c.$watch("direction",i);var t=function(){c.$destroy()};o.one("$destroy",t),u.one("$destroy",t),c.$on("$destroy",function(){h(!1),o.remove(),e&&e.disconnect()}),-1<o.text().indexOf(y.startSymbol())&&c.$watch(function(){return o.text().trim()},r)}(),r()}}e.$inject=["$timeout","$window","$$rAF","$document","$mdUtil","$mdTheming","$rootElement","$animate","$q","$interpolate"],ie.module("material.components.tooltip",["material.core"]).directive("mdTooltip",e)}(),function(){function e(e){return'<div class="md-virtual-repeat-scroller"><div class="md-virtual-repeat-sizer"></div><div class="md-virtual-repeat-offsetter">'+e[0].innerHTML+"</div></div>"}t.$inject=["$$rAF","$mdUtil","$parse","$rootScope","$window","$scope","$element","$attrs"],i.$inject=["$scope","$element","$attrs","$browser","$document","$rootScope","$$rAF","$mdUtil"],n.$inject=["$parse"],ie.module("material.components.virtualRepeat",["material.core","material.components.showHide"]).directive("mdVirtualRepeatContainer",function(){return{controller:t,template:e,compile:function(e,t){e.addClass("md-virtual-repeat-container").addClass(t.hasOwnProperty("mdOrientHorizontal")?"md-orient-horizontal":"md-orient-vertical")}}}).directive("mdVirtualRepeat",n);var o=1533917;function t(e,n,t,r,i,a,o,s){this.$rootScope=r,this.$scope=a,this.$element=o,this.$attrs=s,this.size=0,this.scrollSize=0,this.scrollOffset=0,this.horizontal=this.$attrs.hasOwnProperty("mdOrientHorizontal"),this.repeater=null,this.autoShrink=this.$attrs.hasOwnProperty("mdAutoShrink"),this.autoShrinkMin=parseInt(this.$attrs.mdAutoShrinkMin,10)||0,this.originalSize=null,this.offsetSize=parseInt(this.$attrs.mdOffsetSize,10)||0,this.oldElementSize=null,this.$attrs.mdTopIndex?(this.bindTopIndex=t(this.$attrs.mdTopIndex),this.topIndex=this.bindTopIndex(this.$scope),ie.isDefined(this.topIndex)||(this.topIndex=0,this.bindTopIndex.assign(this.$scope,0)),this.$scope.$watch(this.bindTopIndex,ie.bind(this,function(e){e!==this.topIndex&&this.scrollToIndex(e)}))):this.topIndex=0,this.scroller=o[0].querySelector(".md-virtual-repeat-scroller"),this.sizer=this.scroller.querySelector(".md-virtual-repeat-sizer"),this.offsetter=this.scroller.querySelector(".md-virtual-repeat-offsetter");var c=ie.bind(this,this.updateSize);e(ie.bind(this,function(){c();var e=n.debounce(c,10,null,!1),t=ie.element(i);this.size||e(),t.on("resize",e),a.$on("$destroy",function(){t.off("resize",e)}),a.$emit("$md-resize-enable"),a.$on("$md-resize",c)}))}function n(r){return{controller:i,priority:1e3,require:["mdVirtualRepeat","^^mdVirtualRepeatContainer"],restrict:"A",terminal:!0,transclude:"element",compile:function(e,t){var n=t.mdVirtualRepeat.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)\s*$/),a=n[1],o=r(n[2]),s=t.mdExtraName&&r(t.mdExtraName);return function(e,t,n,r,i){r[0].link_(r[1],i,a,o,s)}}}}function i(e,t,n,r,i,a,o,s){this.$scope=e,this.$element=t,this.$attrs=n,this.$browser=r,this.$document=i,this.$rootScope=a,this.$$rAF=o,this.onDemand=s.parseAttributeBoolean(n.mdOnDemand),this.browserCheckUrlChange=r.$$checkUrlChange,this.newStartIndex=0,this.newEndIndex=0,this.newVisibleEnd=0,this.startIndex=0,this.endIndex=0,this.itemSize=e.$eval(n.mdItemSize)||null,this.isFirstRender=!0,this.isVirtualRepeatUpdating_=!1,this.itemsLength=0,this.unwatchItemSize_=ie.noop,this.blocks={},this.pooledBlocks=[],e.$on("$destroy",ie.bind(this,this.cleanupBlocks_))}function r(e){if(!ie.isFunction(e.getItemAtIndex)||!ie.isFunction(e.getLength))throw Error("When md-on-demand is enabled, the Object passed to md-virtual-repeat must implement functions getItemAtIndex() and getLength() ");this.model=e}t.prototype.register=function(e){this.repeater=e,ie.element(this.scroller).on("scroll wheel touchmove touchend",ie.bind(this,this.handleScroll_))},t.prototype.isHorizontal=function(){return this.horizontal},t.prototype.getSize=function(){return this.size},t.prototype.setSize_=function(e){var t=this.getDimensionName_();this.size=e,this.$element[0].style[t]=e+"px"},t.prototype.unsetSize_=function(){this.$element[0].style[this.getDimensionName_()]=this.oldElementSize,this.oldElementSize=null},t.prototype.updateSize=function(){this.originalSize||(this.size=this.isHorizontal()?this.$element[0].clientWidth:this.$element[0].clientHeight,this.handleScroll_(),this.repeater&&this.repeater.containerUpdated())},t.prototype.getScrollSize=function(){return this.scrollSize},t.prototype.getDimensionName_=function(){return this.isHorizontal()?"width":"height"},t.prototype.sizeScroller_=function(e){var t=this.getDimensionName_(),n=this.isHorizontal()?"height":"width";if(this.sizer.innerHTML="",e<o)this.sizer.style[t]=e+"px";else{this.sizer.style[t]="auto",this.sizer.style[n]="auto";var r=Math.floor(e/o),i=document.createElement("div");i.style[t]=o+"px",i.style[n]="1px";for(var a=0;a<r;a++)this.sizer.appendChild(i.cloneNode(!1));i.style[t]=e-r*o+"px",this.sizer.appendChild(i)}},t.prototype.autoShrink_=function(e){var t=Math.max(e,this.autoShrinkMin*this.repeater.getItemSize());if(this.autoShrink&&t!==this.size){null===this.oldElementSize&&(this.oldElementSize=this.$element[0].style[this.getDimensionName_()]);var n=this.originalSize||this.size;if(!n||t<n)this.originalSize||(this.originalSize=this.size),this.setSize_(t);else if(null!==this.originalSize){this.unsetSize_();var r=this.originalSize;this.originalSize=null,r||this.updateSize(),this.setSize_(r||this.size)}this.repeater.containerUpdated()}},t.prototype.setScrollSize=function(e){var t=e+this.offsetSize;this.scrollSize!==t&&(this.sizeScroller_(t),this.autoShrink_(t),this.scrollSize=t)},t.prototype.getScrollOffset=function(){return this.scrollOffset},t.prototype.scrollTo=function(e){this.scroller[this.isHorizontal()?"scrollLeft":"scrollTop"]=e,this.handleScroll_()},t.prototype.scrollToIndex=function(e){var t=this.repeater.getItemSize(),n=this.repeater.itemsLength;n<e&&(e=n-1),this.scrollTo(t*e)},t.prototype.resetScroll=function(){this.scrollTo(0)},t.prototype.handleScroll_=function(){var e=ie.element(document)[0],t="rtl"!=e.dir&&"rtl"!=e.body.dir;t||this.maxSize||(this.scroller.scrollLeft=this.scrollSize,this.maxSize=this.scroller.scrollLeft);var n=this.isHorizontal()?t?this.scroller.scrollLeft:this.maxSize-this.scroller.scrollLeft:this.scroller.scrollTop;if(!(n===this.scrollOffset||n>this.scrollSize-this.size)){var r=this.repeater.getItemSize();if(r){var i=Math.max(0,Math.floor(n/r)-3),a=(this.isHorizontal()?"translateX(":"translateY(")+(!this.isHorizontal()||t?i*r:-i*r)+"px)";if(this.scrollOffset=n,this.offsetter.style.webkitTransform=a,this.offsetter.style.transform=a,this.bindTopIndex){var o=Math.floor(n/r);o!==this.topIndex&&o<this.repeater.getItemCount()&&(this.topIndex=o,this.bindTopIndex.assign(this.$scope,o),this.$rootScope.$$phase||this.$scope.$digest())}this.repeater.containerUpdated()}}},i.prototype.link_=function(e,t,n,r,i){this.container=e,this.transclude=t,this.repeatName=n,this.rawRepeatListExpression=r,this.extraName=i,this.sized=!1,this.repeatListExpression=ie.bind(this,this.repeatListExpression_),this.container.register(this)},i.prototype.cleanupBlocks_=function(){ie.forEach(this.pooledBlocks,function(e){e.element.remove()})},i.prototype.readItemSize_=function(){if(!this.itemSize){this.items=this.repeatListExpression(this.$scope),this.parentNode=this.$element[0].parentNode;var e=this.getBlock_(0);e.element[0].parentNode||this.parentNode.appendChild(e.element[0]),this.itemSize=e.element[0][this.container.isHorizontal()?"offsetWidth":"offsetHeight"]||null,this.blocks[0]=e,this.poolBlock_(0),this.itemSize&&this.containerUpdated()}},i.prototype.repeatListExpression_=function(e){var t=this.rawRepeatListExpression(e);if(this.onDemand&&t){var n=new r(t);return n.$$includeIndexes(this.newStartIndex,this.newVisibleEnd),n}return t},i.prototype.containerUpdated=function(){if(!this.itemSize)return this.unwatchItemSize_&&this.unwatchItemSize_!==ie.noop&&this.unwatchItemSize_(),this.unwatchItemSize_=this.$scope.$watchCollection(this.repeatListExpression,ie.bind(this,function(e){e&&e.length&&this.readItemSize_()})),void(this.$rootScope.$$phase||this.$scope.$digest());this.sized||(this.items=this.repeatListExpression(this.$scope)),this.sized||(this.unwatchItemSize_(),this.sized=!0,this.$scope.$watchCollection(this.repeatListExpression,ie.bind(this,function(e,t){this.isVirtualRepeatUpdating_||this.virtualRepeatUpdate_(e,t)}))),this.updateIndexes_(),(this.newStartIndex!==this.startIndex||this.newEndIndex!==this.endIndex||this.container.getScrollOffset()>this.container.getScrollSize())&&(this.items instanceof r&&this.items.$$includeIndexes(this.newStartIndex,this.newEndIndex),this.virtualRepeatUpdate_(this.items,this.items))},i.prototype.getItemSize=function(){return this.itemSize},i.prototype.getItemCount=function(){return this.itemsLength},i.prototype.virtualRepeatUpdate_=function(e,t){this.isVirtualRepeatUpdating_=!0;var n=e&&e.length||0,r=!1;if(this.items&&n<this.items.length&&0!==this.container.getScrollOffset()){this.items=e;var i=this.container.getScrollOffset();this.container.resetScroll(),this.container.scrollTo(i)}if(n!==this.itemsLength&&(r=!0,this.itemsLength=n),((this.items=e)!==t||r)&&this.updateIndexes_(),this.parentNode=this.$element[0].parentNode,r&&this.container.setScrollSize(n*this.itemSize),this.isFirstRender){this.isFirstRender=!1;var a=this.$attrs.mdStartIndex?this.$scope.$eval(this.$attrs.mdStartIndex):this.container.topIndex;this.container.scrollToIndex(a)}Object.keys(this.blocks).forEach(function(e){var t=parseInt(e,10);(t<this.newStartIndex||t>=this.newEndIndex)&&this.poolBlock_(t)},this),this.$browser.$$checkUrlChange=ie.noop;var o,s,c=[],l=[];for(o=this.newStartIndex;o<this.newEndIndex&&null==this.blocks[o];o++)s=this.getBlock_(o),this.updateBlock_(s,o),c.push(s);for(;null!=this.blocks[o];o++)this.updateBlock_(this.blocks[o],o);for(var u=o-1;o<this.newEndIndex;o++)s=this.getBlock_(o),this.updateBlock_(s,o),l.push(s);c.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(c),this.$element[0].nextSibling),l.length&&this.parentNode.insertBefore(this.domFragmentFromBlocks_(l),this.blocks[u]&&this.blocks[u].element[0].nextSibling),this.$browser.$$checkUrlChange=this.browserCheckUrlChange,this.startIndex=this.newStartIndex,this.endIndex=this.newEndIndex,this.isVirtualRepeatUpdating_=!1},i.prototype.getBlock_=function(n){return this.pooledBlocks.length?this.pooledBlocks.pop():(this.transclude(ie.bind(this,function(e,t){r={element:e,new:!0,scope:t},this.updateScope_(t,n),this.parentNode.appendChild(e[0])})),r);var r},i.prototype.updateBlock_=function(e,t){((this.blocks[t]=e).new||e.scope.$index!==t||e.scope[this.repeatName]!==this.items[t])&&(e.new=!1,this.updateScope_(e.scope,t),this.$rootScope.$$phase||e.scope.$digest())},i.prototype.updateScope_=function(e,t){e.$index=t,e[this.repeatName]=this.items&&this.items[t],this.extraName&&(e[this.extraName(this.$scope)]=this.items[t])},i.prototype.poolBlock_=function(e){this.pooledBlocks.push(this.blocks[e]),this.parentNode.removeChild(this.blocks[e].element[0]),delete this.blocks[e]},i.prototype.domFragmentFromBlocks_=function(e){var t=this.$document[0].createDocumentFragment();return e.forEach(function(e){t.appendChild(e.element[0])}),t},i.prototype.updateIndexes_=function(){var e=this.items?this.items.length:0,t=Math.ceil(this.container.getSize()/this.itemSize);this.newStartIndex=Math.max(0,Math.min(e-t,Math.floor(this.container.getScrollOffset()/this.itemSize))),this.newVisibleEnd=this.newStartIndex+t+3,this.newEndIndex=Math.min(e,this.newVisibleEnd),this.newStartIndex=Math.max(0,this.newStartIndex-3)},r.prototype.$$includeIndexes=function(e,t){for(var n=e;n<t;n++)this.hasOwnProperty(n)||(this[n]=this.model.getItemAtIndex(n));this.length=this.model.getLength()}}(),function(){function e(a){return{link:function(e,n,r){var i="";r.$observe("mdWhiteframe",function(e){-1!=(e=parseInt(e,10)||4)&&(24<e||e<1)&&(a.warn("md-whiteframe attribute value is invalid. It should be a number between 1 and 24",n[0]),e=4);var t=-1==e?"":"md-whiteframe-"+e+"dp";r.$updateClass(t,i),i=t})}}}e.$inject=["$log"],ie.module("material.components.whiteframe",["material.core"]).directive("mdWhiteframe",e)}(),function(){e.$inject=["$scope","$element","$mdUtil","$mdConstant","$mdTheming","$window","$animate","$rootElement","$attrs","$q","$log"],ie.module("material.components.autocomplete").controller("MdAutocompleteCtrl",e);var te=225.5,ne=8,re=2;function e(l,u,f,t,e,n,r,i,d,s,a){var o,c,h,p,m=this,g=l.itemsExpr.split(/ in /i),_=g[1],b=null,v={},y=!1,w=[],C=!1,A=0,S=0,T=null,x=null;return o="hidden",c=function(e,t){!e&&t?(E(),b&&(f.disableScrollAround(b.ul),T=function(e){function t(e){e.preventDefault()}return e.on("wheel",t),e.on("touchmove",t),function(){e.off("wheel",t),e.off("touchmove",t)}}(ie.element(b.wrap)))):e&&!t&&(f.enableScrolling(),T&&(T(),T=null))},h=!0,Object.defineProperty(m,o,{get:function(){return h},set:function(e){var t=h;c(h=e,t)}}),m.scope=l,m.parent=l.$parent,m.itemName=g[0],m.matches=[],m.loading=!1,m.hidden=!0,m.index=null,m.messages=[],m.id=f.nextUid(),m.isDisabled=null,m.isRequired=null,m.isReadonly=null,m.hasNotFound=!1,m.keydown=function(e){switch(e.keyCode){case t.KEY_CODE.DOWN_ARROW:if(m.loading)return;e.stopPropagation(),e.preventDefault(),m.index=Math.min(m.index+1,m.matches.length-1),K(),Y();break;case t.KEY_CODE.UP_ARROW:if(m.loading)return;e.stopPropagation(),e.preventDefault(),m.index=m.index<0?m.matches.length-1:Math.max(0,m.index-1),K(),Y();break;case t.KEY_CODE.TAB:if(P(),m.hidden||m.loading||m.index<0||m.matches.length<1)return;q(m.index);break;case t.KEY_CODE.ENTER:if(m.hidden||m.loading||m.index<0||m.matches.length<1)return;if(U())return;e.stopPropagation(),e.preventDefault(),q(m.index);break;case t.KEY_CODE.ESCAPE:if(e.preventDefault(),!(j("blur")||!m.hidden||m.loading||j("clear")&&l.searchText))return;e.stopPropagation(),z(),l.searchText&&j("clear")&&V(),m.hidden=!0,j("blur")&&function(e){e&&(C=y=!1);b.input.blur()}(!0)}},m.blur=function(e){C=!1,y||(m.hidden=F(),ee("ngBlur",{$event:e}))},m.focus=function(e){C=!0,G()&&W()&&Z();m.hidden=F(),ee("ngFocus",{$event:e})},m.clear=function(){z(),V()},m.select=q,m.listEnter=function(){y=!0},m.listLeave=P,m.mouseUp=function(){b.input.focus()},m.getCurrentDisplayValue=H,m.registerSelectedItemWatcher=function(e){-1==w.indexOf(e)&&w.push(e)},m.unregisterSelectedItemWatcher=function(e){var t=w.indexOf(e);-1!=t&&w.splice(t,1)},m.notFoundVisible=X,m.loadingIsVisible=function(){return m.loading&&!U()},m.positionDropdown=E,f.initOptionalProperties(l,d,{searchText:"",selectedItem:null}),e(u),p=parseInt(l.delay,10)||0,d.$observe("disabled",function(e){m.isDisabled=f.parseAttributeBoolean(e,!1)}),d.$observe("required",function(e){m.isRequired=f.parseAttributeBoolean(e,!1)}),d.$observe("readonly",function(e){m.isReadonly=f.parseAttributeBoolean(e,!1)}),l.$watch("searchText",p?f.debounce($,p):$),l.$watch("selectedItem",M),ie.element(n).on("resize",E),l.$on("$destroy",I),void f.nextTick(function(){(b={main:u[0],scrollContainer:u[0].querySelector(".md-virtual-repeat-container"),scroller:u[0].querySelector(".md-virtual-repeat-scroller"),ul:u.find("ul")[0],input:u.find("input")[0],wrap:u.find("md-autocomplete-wrap")[0],root:document.body}).li=b.ul.getElementsByTagName("li"),b.snap=function(){for(var e=u;e.length;e=e.parent())if(ie.isDefined(e.attr("md-autocomplete-snap")))return e[0];return b.wrap}(),b.$=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=ie.element(e[n]));return t}(b),x=b.$.input.controller("ngModel"),b.$.root.length&&(e(b.$.scrollContainer),b.$.scrollContainer.detach(),b.$.root.append(b.$.scrollContainer),r.pin&&r.pin(b.$.scrollContainer,i)),l.autofocus&&u.on("focus",D)});function k(){l.requireMatch&&x&&x.$setValidity("md-require-match",!!l.selectedItem)}function E(){if(!b)return f.nextTick(E,!1,l);var e,n=b.wrap.getBoundingClientRect(),t=b.snap.getBoundingClientRect(),r=b.root.getBoundingClientRect(),i=t.bottom-r.top,a=r.bottom-t.top,o=n.left-r.left,s=n.width,c=function(){var e=0,t=u.find("md-input-container");if(t.length){var n=t.find("input");e=t.prop("offsetHeight"),e-=n.prop("offsetTop"),e-=n.prop("offsetHeight"),e+=t.prop("offsetTop")}return e}();d.mdFloatingLabel&&(o+=re,s-=2*re),e={left:o+"px",minWidth:s+"px",maxWidth:Math.max(n.right-r.left,r.right-n.left)-ne+"px"},a<i&&r.height-n.bottom-ne<te?(e.top="auto",e.bottom=a+"px",e.maxHeight=Math.min(te,n.top-r.top-ne)+"px"):(e.top=i-c+"px",e.bottom="auto",e.maxHeight=Math.min(te,r.bottom+f.scrollTop()-n.bottom-ne)+"px"),b.$.scrollContainer.css(e),f.nextTick(function(){var e=b.scrollContainer.getBoundingClientRect(),t={};e.right>r.right-ne&&(t.left=n.right-e.width+"px");b.$.scrollContainer.css(t)},!1)}function D(){b.input.focus()}function I(){if(m.hidden||f.enableScrolling(),ie.element(n).off("resize",E),b){ie.forEach(["ul","scroller","scrollContainer","input"],function(e){b.$[e].remove()})}}function P(){C||m.hidden||b.input.focus(),y=!1,m.hidden=F()}function M(r,i){k(),r?R(r).then(function(e){var t,n;l.searchText=e,t=r,n=i,w.forEach(function(e){e(t,n)})}):i&&l.searchText&&R(i).then(function(e){e.toString().toLowerCase()===l.searchText.toLowerCase()&&(l.searchText="")}),r!==i&&ie.isFunction(l.itemChange)&&l.itemChange(N(l.selectedItem))}function $(t,n){m.index=l.autoselect?0:-1,t!==n&&(k(),R(l.selectedItem).then(function(e){t!==e&&(l.selectedItem=null,t!==n&&ie.isFunction(l.textChange)&&l.textChange(),W()?Z():(L(!(m.matches=[])),Y()))}))}function O(){return ie.isNumber(l.minLength)?l.minLength:1}function R(e){return s.when((t=e,(t&&l.itemText?l.itemText(N(t)):null)||e)).then(function(e){return e&&!ie.isString(e)&&a.warn("md-autocomplete: Could not resolve display value to a string. Please check the `md-item-text` attribute."),e});var t}function N(e){if(!e)return ae;var t={};return m.itemName&&(t[m.itemName]=e),t}function L(e){m.loading!=e&&(m.loading=e),m.hidden=F()}function F(){return!G()||!(W()&&B()||X())}function G(){return!(m.loading&&!B())&&(!U()&&!!C)}function j(e){return!l.escapeOptions||-1!==l.escapeOptions.toLowerCase().indexOf(e)}function B(){return!!m.matches.length}function U(){return!!m.scope.selectedItem}function H(){return R(m.matches[m.index])}function W(){return(l.searchText||"").length>=O()}function q(e){f.nextTick(function(){R(m.matches[e]).then(function(e){var t=b.$.input.controller("ngModel");t.$setViewValue(e),t.$render()}).finally(function(){l.selectedItem=m.matches[e],L(!1)})},!1)}function z(){m.index=0,m.matches=[]}function V(){L(!0),l.searchText="";var e=document.createEvent("CustomEvent");e.initCustomEvent("change",!0,!0,{value:""}),b.input.dispatchEvent(e),b.input.blur(),l.searchText="",b.input.focus()}function Y(){H().then(function(e){m.messages=[function(){if(A===m.matches.length)return"";switch(A=m.matches.length,m.matches.length){case 0:return"There are no matches available.";case 1:return"There is 1 match available.";default:return"There are "+m.matches.length+" matches available."}}(),e]})}function K(){if(b.li[0]){var e=b.li[0].offsetHeight,t=e*m.index,n=t+e,r=b.scroller.clientHeight,i=b.scroller.scrollTop;t<i?Q(t):i+r<n&&Q(n-r)}}function Q(e){b.$.scrollContainer.controller("mdVirtualRepeatContainer").scrollTo(e)}function X(){var e=(m.scope.searchText||"").length;return m.hasNotFound&&!B()&&(!m.loading||0!==S)&&e>=O()&&(C||y)&&!U()}function Z(){var e=l.searchText||"",t=e.toLowerCase();!l.noCache&&v[t]?J(v[t]):function(t){var e=l.$parent.$eval(_),n=t.toLowerCase(),r=ie.isArray(e),i=!!e.then;function a(e){v[n]=e,(t||"")===(l.searchText||"")&&J(e)}r?a(e):i&&(o=e,o&&(o=s.when(o),S++,L(!0),f.nextTick(function(){o.then(a).finally(function(){0==--S&&L(!1)})},!0,l)));var o}(e),m.hidden=F()}function J(e){var n,t,r;m.matches=e,m.hidden=F(),m.loading&&L(!1),l.selectOnMatch&&(n=l.searchText,t=m.matches,r=t[0],1===t.length&&R(r).then(function(e){var t=n==e;l.matchInsensitive&&!t&&(t=n.toLowerCase()==e.toLowerCase()),t&&q(0)})),Y(),E()}function ee(e,t){d[e]&&l.$parent.$eval(d[e],t||{})}}}(),function(){function e(c){return{controller:"MdAutocompleteCtrl",controllerAs:"$mdAutocompleteCtrl",scope:{inputName:"@mdInputName",inputMinlength:"@mdInputMinlength",inputMaxlength:"@mdInputMaxlength",searchText:"=?mdSearchText",selectedItem:"=?mdSelectedItem",itemsExpr:"@mdItems",itemText:"&mdItemText",placeholder:"@placeholder",noCache:"=?mdNoCache",requireMatch:"=?mdRequireMatch",selectOnMatch:"=?mdSelectOnMatch",matchInsensitive:"=?mdMatchCaseInsensitive",itemChange:"&?mdSelectedItemChange",textChange:"&?mdSearchTextChange",minLength:"=?mdMinLength",delay:"=?mdDelay",autofocus:"=?mdAutofocus",floatingLabel:"@?mdFloatingLabel",autoselect:"=?mdAutoselect",menuClass:"@?mdMenuClass",inputId:"@?mdInputId",escapeOptions:"@?mdEscapeOptions"},link:function(e,t,n,r){r.hasNotFound=!!t.attr("md-has-not-found")},template:function(n,e){var t,r,i=(t=n.find("md-not-found").detach(),(r=t.length?t.html():"")?'<li ng-if="$mdAutocompleteCtrl.notFoundVisible()" md-autocomplete-parent-scope>'+r+"</li>":""),a=function(){var e=n.find("md-item-template").detach(),t=e.length?e.html():n.html();e.length||n.empty();return"<md-autocomplete-parent-scope md-autocomplete-replace>"+t+"</md-autocomplete-parent-scope>"}(),o=n.html(),s=e.tabindex;return i&&n.attr("md-has-not-found",!0),n.attr("tabindex","-1")," <md-autocomplete-wrap ng-class=\"{ 'md-whiteframe-z1': !floatingLabel, 'md-menu-showing': !$mdAutocompleteCtrl.hidden }\"> "+(e.mdFloatingLabel?' <md-input-container ng-if="floatingLabel"> <label>{{floatingLabel}}</label> <input type="search" '+(null!=s?'tabindex="'+s+'"':"")+' id="{{ inputId || \'fl-input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-readonly="$mdAutocompleteCtrl.isReadonly" ng-minlength="inputMinlength" ng-maxlength="inputMaxlength" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-model-options="{ allowInvalid: true }" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur($event)" ng-focus="$mdAutocompleteCtrl.focus($event)" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" '+(null!=e.mdNoAsterisk?'md-no-asterisk="'+e.mdNoAsterisk+'"':"")+" "+(null!=e.mdSelectOnFocus?'md-select-on-focus=""':"")+' aria-label="{{floatingLabel}}" aria-autocomplete="list" role="combobox" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <div md-autocomplete-parent-scope md-autocomplete-replace>'+o+"</div> </md-input-container>":' <input type="search" '+(null!=s?'tabindex="'+s+'"':"")+' id="{{ inputId || \'input-\' + $mdAutocompleteCtrl.id }}" name="{{inputName}}" ng-if="!floatingLabel" autocomplete="off" ng-required="$mdAutocompleteCtrl.isRequired" ng-disabled="$mdAutocompleteCtrl.isDisabled" ng-readonly="$mdAutocompleteCtrl.isReadonly" ng-model="$mdAutocompleteCtrl.scope.searchText" ng-keydown="$mdAutocompleteCtrl.keydown($event)" ng-blur="$mdAutocompleteCtrl.blur($event)" ng-focus="$mdAutocompleteCtrl.focus($event)" placeholder="{{placeholder}}" aria-owns="ul-{{$mdAutocompleteCtrl.id}}" '+(null!=e.mdSelectOnFocus?'md-select-on-focus=""':"")+' aria-label="{{placeholder}}" aria-autocomplete="list" role="combobox" aria-haspopup="true" aria-activedescendant="" aria-expanded="{{!$mdAutocompleteCtrl.hidden}}"/> <button type="button" tabindex="-1" ng-if="$mdAutocompleteCtrl.scope.searchText && !$mdAutocompleteCtrl.isDisabled" ng-click="$mdAutocompleteCtrl.clear($event)"> <md-icon md-svg-src="'+c.mdClose+'"></md-icon> <span class="md-visually-hidden">Clear</span> </button> ')+' <md-progress-linear class="'+(e.mdFloatingLabel?"md-inline":"")+'" ng-if="$mdAutocompleteCtrl.loadingIsVisible()" md-mode="indeterminate"></md-progress-linear> <md-virtual-repeat-container md-auto-shrink md-auto-shrink-min="1" ng-mouseenter="$mdAutocompleteCtrl.listEnter()" ng-mouseleave="$mdAutocompleteCtrl.listLeave()" ng-mouseup="$mdAutocompleteCtrl.mouseUp()" ng-hide="$mdAutocompleteCtrl.hidden" class="md-autocomplete-suggestions-container md-whiteframe-z1" ng-class="{ \'md-not-found\': $mdAutocompleteCtrl.notFoundVisible() }" role="presentation"> <ul class="md-autocomplete-suggestions" ng-class="::menuClass" id="ul-{{$mdAutocompleteCtrl.id}}"> <li md-virtual-repeat="item in $mdAutocompleteCtrl.matches" ng-class="{ selected: $index === $mdAutocompleteCtrl.index }" ng-click="$mdAutocompleteCtrl.select($index)" md-extra-name="$mdAutocompleteCtrl.itemName"> '+a+" </li>"+i+' </ul> </md-virtual-repeat-container> </md-autocomplete-wrap> <aria-status class="md-visually-hidden" role="status" aria-live="assertive"> <p ng-repeat="message in $mdAutocompleteCtrl.messages track by $index" ng-if="message">{{message}}</p> </aria-status>'}}}e.$inject=["$$mdSvgRegistry"],ie.module("material.components.autocomplete").directive("mdAutocomplete",e)}(),function(){function e(e,u){return{restrict:"AE",compile:function(e,t,l){return function(n,t,e){var r,i,a=n.$mdAutocompleteCtrl,o=a.parent.$new(),s=a.itemName;function c(e,t){o[t]=n[e],n.$watch(e,function(e){u.nextTick(function(){o[t]=e})})}c("$index","$index"),c("item",s),i=r=!1,n.$watch(function(){i||r||(r=!0,n.$$postDigest(function(){i||o.$digest(),r=i=!1}))}),o.$watch(function(){i=!0}),l(o,function(e){t.after(e)})}},terminal:!0,transclude:"element"}}e.$inject=["$compile","$mdUtil"],ie.module("material.components.autocomplete").directive("mdAutocompleteParentScope",e)}(),function(){function e(e,t,n){this.$scope=e,this.$element=t,this.$attrs=n,this.regex=null}e.$inject=["$scope","$element","$attrs"],ie.module("material.components.autocomplete").controller("MdHighlightCtrl",e),e.prototype.init=function(t,n){this.flags=this.$attrs.mdHighlightFlags||"",this.unregisterFn=this.$scope.$watch(function(e){return{term:t(e),contentText:n(e)}}.bind(this),this.onRender.bind(this),!0),this.$element.on("$destroy",this.unregisterFn)},e.prototype.onRender=function(e,t){var n=e.contentText;null!==this.regex&&e.term===t.term||(this.regex=this.createRegex(e.term,this.flags)),e.term?this.applyRegex(n):this.$element.text(n)},e.prototype.applyRegex=function(e){var t=this.resolveTokens(e);this.$element.empty(),t.forEach(function(e){if(e.isMatch){var t=ie.element('<span class="highlight">').text(e.text);this.$element.append(t)}else this.$element.append(document.createTextNode(e))}.bind(this))},e.prototype.resolveTokens=function(r){var i=[],n=0;return r.replace(this.regex,function(e,t){a(n,t),i.push({text:e,isMatch:!0}),n=t+e.length}),a(n),i;function a(e,t){var n=r.slice(e,t);n&&i.push(n)}},e.prototype.createRegex=function(e,t){var n="",r="",i=this.sanitizeRegex(e);return 0<=t.indexOf("^")&&(n="^"),0<=t.indexOf("$")&&(r="$"),new RegExp(n+i+r,t.replace(/[$\^]/g,""))},e.prototype.sanitizeRegex=function(e){return e&&e.toString().replace(/[\\\^\$\*\+\?\.\(\)\|\{}\[\]]/g,"\\$&")}}(),function(){function e(n,r){return{terminal:!0,controller:"MdHighlightCtrl",compile:function(e,t){var i=r(t.mdHighlightText),a=n(e.html());return function(e,t,n,r){r.init(i,a)}}}}e.$inject=["$interpolate","$parse"],ie.module("material.components.autocomplete").directive("mdHighlightText",e)}(),function(){function e(e,t,n,r,i){this.$scope=e,this.$element=t,this.$mdConstant=n,this.$timeout=r,this.$mdUtil=i,this.isEditting=!1,this.parentController=ae,this.enableChipEdit=!1}e.$inject=["$scope","$element","$mdConstant","$timeout","$mdUtil"],ie.module("material.components.chips").controller("MdChipCtrl",e),e.prototype.init=function(e){this.parentController=e,this.enableChipEdit=this.parentController.enableChipEdit,this.enableChipEdit&&(this.$element.on("keydown",this.chipKeyDown.bind(this)),this.$element.on("mousedown",this.chipMouseDown.bind(this)),this.getChipContent().addClass("_md-chip-content-edit-is-enabled"))},e.prototype.getChipContent=function(){var e=this.$element[0].getElementsByClassName("md-chip-content");return ie.element(e[0])},e.prototype.getContentElement=function(){return ie.element(this.getChipContent().children()[0])},e.prototype.getChipIndex=function(){return parseInt(this.$element.attr("index"))},e.prototype.goOutOfEditMode=function(){if(this.isEditting){this.isEditting=!1,this.$element.removeClass("_md-chip-editing"),this.getChipContent()[0].contentEditable="false";var e=this.getChipIndex();this.getContentElement().text()?(this.parentController.updateChipContents(e,this.getContentElement().text()),this.$mdUtil.nextTick(function(){this.parentController.selectedChip===e&&this.parentController.focusChip(e)}.bind(this))):this.parentController.removeChipAndFocusInput(e)}},e.prototype.selectNodeContents=function(e){var t,n;document.body.createTextRange?((t=document.body.createTextRange()).moveToElementText(e),t.select()):G.getSelection&&(n=G.getSelection(),(t=document.createRange()).selectNodeContents(e),n.removeAllRanges(),n.addRange(t))},e.prototype.goInEditMode=function(){this.isEditting=!0,this.$element.addClass("_md-chip-editing"),this.getChipContent()[0].contentEditable="true",this.getChipContent().on("blur",function(){this.goOutOfEditMode()}.bind(this)),this.selectNodeContents(this.getChipContent()[0])},e.prototype.chipKeyDown=function(e){this.isEditting||e.keyCode!==this.$mdConstant.KEY_CODE.ENTER&&e.keyCode!==this.$mdConstant.KEY_CODE.SPACE?this.isEditting&&e.keyCode===this.$mdConstant.KEY_CODE.ENTER&&(e.preventDefault(),this.goOutOfEditMode()):(e.preventDefault(),this.goInEditMode())},e.prototype.chipMouseDown=function(){this.getChipIndex()==this.parentController.selectedChip&&this.enableChipEdit&&!this.isEditting&&this.goInEditMode()}}(),function(){t.$inject=["$mdTheming","$mdUtil"],ie.module("material.components.chips").directive("mdChip",t);var e=' <span ng-if="!$mdChipsCtrl.readonly" class="md-visually-hidden"> {{$mdChipsCtrl.deleteHint}} </span>';function t(o,n){var r=n.processTemplate(e);return{restrict:"E",require:["^?mdChips","mdChip"],compile:function(e,t){return e.append(n.processTemplate(r)),function(e,t,n,r){var i=r.shift(),a=r.shift();o(t),i&&(a.init(i),ie.element(t[0].querySelector(".md-chip-content")).on("blur",function(){i.resetSelectedChip(),i.$scope.$applyAsync()}))}},controller:"MdChipCtrl"}}}(),function(){function e(i){return{restrict:"A",require:"^mdChips",scope:!1,link:function(t,e,n,r){e.on("click",function(e){t.$apply(function(){r.removeChip(t.$$replacedScope.$index)})}),i(function(){e.attr({tabindex:-1,"aria-hidden":!0}),e.find("button").attr("tabindex","-1")})}}}e.$inject=["$timeout"],ie.module("material.components.chips").directive("mdChipRemove",e)}(),function(){function e(o){return{restrict:"EA",terminal:!0,link:function(e,t,n){var r=e.$parent.$mdChipsCtrl,i=r.parent.$new(!1,r.parent);i.$$replacedScope=e,i.$chip=e.$chip,i.$index=e.$index;var a=(i.$mdChipsCtrl=r).$scope.$eval(n.mdChipTransclude);t.html(a),o(t.contents())(i)},scope:!1}}e.$inject=["$compile"],ie.module("material.components.chips").directive("mdChipTransclude",e)}(),function(){function e(e,t,n,r,i,a,o){this.$timeout=a,this.$mdConstant=n,this.$scope=e,this.parent=e.$parent,this.$log=r,this.$element=i,this.ngModelCtrl=null,this.userInputNgModelCtrl=null,this.autocompleteCtrl=null,this.userInputElement=null,this.items=[],this.selectedChip=-1,this.enableChipEdit=o.parseAttributeBoolean(t.mdEnableChipEdit),this.addOnBlur=o.parseAttributeBoolean(t.mdAddOnBlur),this.deleteHint="Press delete to remove this chip.",this.deleteButtonLabel="Remove",this.chipBuffer="",this.useTransformChip=!1,this.useOnAdd=!1,this.useOnRemove=!1}e.$inject=["$scope","$attrs","$mdConstant","$log","$element","$timeout","$mdUtil"],ie.module("material.components.chips").controller("MdChipsCtrl",e),e.prototype.inputKeydown=function(e){var t=this.getChipBuffer();if(!(this.autocompleteCtrl&&e.isDefaultPrevented&&e.isDefaultPrevented())){if(e.keyCode===this.$mdConstant.KEY_CODE.BACKSPACE){if(0!==this.getCursorPosition(e.target))return;return e.preventDefault(),e.stopPropagation(),void(this.items.length&&this.selectAndFocusChipSafe(this.items.length-1))}if((!this.separatorKeys||this.separatorKeys.length<1)&&(this.separatorKeys=[this.$mdConstant.KEY_CODE.ENTER]),-1!==this.separatorKeys.indexOf(e.keyCode)){if(this.autocompleteCtrl&&this.requireMatch||!t)return;if(e.preventDefault(),this.hasMaxChipsReached())return;this.appendChip(t.trim()),this.resetChipBuffer()}}},e.prototype.getCursorPosition=function(t){try{if(t.selectionStart===t.selectionEnd)return t.selectionStart}catch(e){if(!t.value)return 0}},e.prototype.updateChipContents=function(e,t){0<=e&&e<this.items.length&&(this.items[e]=t,this.ngModelCtrl.$setDirty())},e.prototype.isEditingChip=function(){return!!this.$element[0].getElementsByClassName("_md-chip-editing").length},e.prototype.isRemovable=function(){return!!this.ngModelCtrl&&(this.readonly?this.removable:!ie.isDefined(this.removable)||this.removable)},e.prototype.chipKeydown=function(e){if(!this.getChipBuffer()&&!this.isEditingChip())switch(e.keyCode){case this.$mdConstant.KEY_CODE.BACKSPACE:case this.$mdConstant.KEY_CODE.DELETE:if(this.selectedChip<0)return;if(e.preventDefault(),!this.isRemovable())return;this.removeAndSelectAdjacentChip(this.selectedChip);break;case this.$mdConstant.KEY_CODE.LEFT_ARROW:e.preventDefault(),this.selectedChip<0&&(this.selectedChip=this.items.length),this.items.length&&this.selectAndFocusChipSafe(this.selectedChip-1);break;case this.$mdConstant.KEY_CODE.RIGHT_ARROW:e.preventDefault(),this.selectAndFocusChipSafe(this.selectedChip+1);break;case this.$mdConstant.KEY_CODE.ESCAPE:case this.$mdConstant.KEY_CODE.TAB:if(this.selectedChip<0)return;e.preventDefault(),this.onFocus()}},e.prototype.getPlaceholder=function(){return this.items&&this.items.length&&(""==this.secondaryPlaceholder||this.secondaryPlaceholder)?this.secondaryPlaceholder:this.placeholder},e.prototype.removeAndSelectAdjacentChip=function(e){var t=this.getAdjacentChipIndex(e);this.removeChip(e),this.$timeout(ie.bind(this,function(){this.selectAndFocusChipSafe(t)}))},e.prototype.resetSelectedChip=function(){this.selectedChip=-1},e.prototype.getAdjacentChipIndex=function(e){var t=this.items.length-1;return 0==t?-1:e==t?e-1:e},e.prototype.appendChip=function(t){if(this.useTransformChip&&this.transformChip){var e=this.transformChip({$chip:t});ie.isDefined(e)&&(t=e)}if(ie.isObject(t)&&this.items.some(function(e){return ie.equals(t,e)}))return;if(!(null==t||this.items.indexOf(t)+1)){var n=this.items.push(t);this.ngModelCtrl.$setDirty(),this.validateModel(),this.useOnAdd&&this.onAdd&&this.onAdd({$chip:t,$index:n})}},e.prototype.useTransformChipExpression=function(){this.useTransformChip=!0},e.prototype.useOnAddExpression=function(){this.useOnAdd=!0},e.prototype.useOnRemoveExpression=function(){this.useOnRemove=!0},e.prototype.useOnSelectExpression=function(){this.useOnSelect=!0},e.prototype.getChipBuffer=function(){return this.userInputElement?this.userInputNgModelCtrl?this.userInputNgModelCtrl.$viewValue:this.userInputElement[0].value:this.chipBuffer},e.prototype.resetChipBuffer=function(){this.userInputElement?this.userInputNgModelCtrl?(this.userInputNgModelCtrl.$setViewValue(""),this.userInputNgModelCtrl.$render()):this.userInputElement[0].value="":this.chipBuffer=""},e.prototype.hasMaxChipsReached=function(){return ie.isString(this.maxChips)&&(this.maxChips=parseInt(this.maxChips,10)||0),0<this.maxChips&&this.items.length>=this.maxChips},e.prototype.validateModel=function(){this.ngModelCtrl.$setValidity("md-max-chips",!this.hasMaxChipsReached())},e.prototype.removeChip=function(e){var t=this.items.splice(e,1);this.ngModelCtrl.$setDirty(),this.validateModel(),t&&t.length&&this.useOnRemove&&this.onRemove&&this.onRemove({$chip:t[0],$index:e})},e.prototype.removeChipAndFocusInput=function(e){this.removeChip(e),this.autocompleteCtrl?(this.autocompleteCtrl.hidden=!0,this.$mdUtil.nextTick(this.onFocus.bind(this))):this.onFocus()},e.prototype.selectAndFocusChipSafe=function(e){return this.items.length?e===this.items.length?this.onFocus():(e=Math.max(e,0),e=Math.min(e,this.items.length-1),this.selectChip(e),void this.focusChip(e)):(this.selectChip(-1),void this.onFocus())},e.prototype.selectChip=function(e){-1<=e&&e<=this.items.length?(this.selectedChip=e,this.useOnSelect&&this.onSelect&&this.onSelect({$chip:this.items[this.selectedChip]})):this.$log.warn("Selected Chip index out of bounds; ignoring.")},e.prototype.selectAndFocusChip=function(e){this.selectChip(e),-1!=e&&this.focusChip(e)},e.prototype.focusChip=function(e){this.$element[0].querySelector('md-chip[index="'+e+'"] .md-chip-content').focus()},e.prototype.configureNgModel=function(e){this.ngModelCtrl=e;var t=this;e.$render=function(){t.items=t.ngModelCtrl.$viewValue}},e.prototype.onFocus=function(){var e=this.$element[0].querySelector("input");e&&e.focus(),this.resetSelectedChip()},e.prototype.onInputFocus=function(){this.inputHasFocus=!0,this.resetSelectedChip()},e.prototype.onInputBlur=function(){this.inputHasFocus=!1;var e=this.getChipBuffer().trim();this.validateModel();var t=this.ngModelCtrl.$valid;this.userInputNgModelCtrl&&(t&=this.userInputNgModelCtrl.$valid),this.addOnBlur&&e&&t&&(this.appendChip(e),this.resetChipBuffer())},e.prototype.configureUserInput=function(e){var t=(this.userInputElement=e).controller("ngModel");t!=this.ngModelCtrl&&(this.userInputNgModelCtrl=t);var n=this.$scope,r=this,i=function(e,t){n.$evalAsync(ie.bind(r,t,e))};e.attr({tabindex:0}).on("keydown",function(e){i(e,r.inputKeydown)}).on("focus",function(e){i(e,r.onInputFocus)}).on("blur",function(e){i(e,r.onInputBlur)})},e.prototype.configureAutocomplete=function(e){e&&((this.autocompleteCtrl=e).registerSelectedItemWatcher(ie.bind(this,function(e){if(e){if(this.hasMaxChipsReached())return;this.appendChip(e),this.resetChipBuffer()}})),this.$element.find("input").on("focus",ie.bind(this,this.onInputFocus)).on("blur",ie.bind(this,this.onInputBlur)))},e.prototype.hasFocus=function(){return this.inputHasFocus||0<=this.selectedChip}}(),function(){r.$inject=["$mdTheming","$mdUtil","$compile","$log","$timeout","$$mdSvgRegistry"],ie.module("material.components.chips").directive("mdChips",r);var e=' <md-chips-wrap ng-keydown="$mdChipsCtrl.chipKeydown($event)" ng-class="{ \'md-focused\': $mdChipsCtrl.hasFocus(), \'md-readonly\': !$mdChipsCtrl.ngModelCtrl || $mdChipsCtrl.readonly, \'md-removable\': $mdChipsCtrl.isRemovable() }" class="md-chips"> <md-chip ng-repeat="$chip in $mdChipsCtrl.items" index="{{$index}}" ng-class="{\'md-focused\': $mdChipsCtrl.selectedChip == $index, \'md-readonly\': !$mdChipsCtrl.ngModelCtrl || $mdChipsCtrl.readonly}"> <div class="md-chip-content" tabindex="-1" aria-hidden="true" ng-click="!$mdChipsCtrl.readonly && $mdChipsCtrl.focusChip($index)" ng-focus="!$mdChipsCtrl.readonly && $mdChipsCtrl.selectChip($index)" md-chip-transclude="$mdChipsCtrl.chipContentsTemplate"></div> <div ng-if="$mdChipsCtrl.isRemovable()" class="md-chip-remove-container" md-chip-transclude="$mdChipsCtrl.chipRemoveTemplate"></div> </md-chip> <div class="md-chip-input-container" ng-if="!$mdChipsCtrl.readonly && $mdChipsCtrl.ngModelCtrl"> <div md-chip-transclude="$mdChipsCtrl.chipInputTemplate"></div> </div> </md-chips-wrap>',t=' <input class="md-input" tabindex="0" placeholder="{{$mdChipsCtrl.getPlaceholder()}}" aria-label="{{$mdChipsCtrl.getPlaceholder()}}" ng-model="$mdChipsCtrl.chipBuffer" ng-focus="$mdChipsCtrl.onInputFocus()" ng-blur="$mdChipsCtrl.onInputBlur()" ng-keydown="$mdChipsCtrl.inputKeydown($event)">',n=" <span>{{$chip}}</span>",i=' <button class="md-chip-remove" ng-if="$mdChipsCtrl.isRemovable()" ng-click="$mdChipsCtrl.removeChipAndFocusInput($$replacedScope.$index)" type="button" aria-hidden="true" tabindex="-1"> <md-icon md-svg-src="{{ $mdChipsCtrl.mdCloseIcon }}"></md-icon> <span class="md-visually-hidden"> {{$mdChipsCtrl.deleteButtonLabel}} </span> </button>';function r(d,h,p,r,m,g){var _={chips:h.processTemplate(e),input:h.processTemplate(t),default:h.processTemplate(n),remove:h.processTemplate(i)};return{template:function(e,t){return t.$mdUserTemplate=e.clone(),_.chips},require:["mdChips"],restrict:"E",controller:"MdChipsCtrl",controllerAs:"$mdChipsCtrl",bindToController:!0,compile:function(e,o){var n=o.$mdUserTemplate;o.$mdUserTemplate=null;var s=t("md-chips>md-chip-template"),c=t(h.prefixer().buildList("md-chip-remove").map(function(e){return"md-chips>*["+e+"]"}).join(","))||_.remove,l=s||_.default,u=t("md-chips>md-autocomplete")||t("md-chips>input")||_.input,f=n.find("md-chip");n[0].querySelector("md-chip-template>*[md-chip-remove]")&&r.warn("invalid placement of md-chip-remove within md-chip-template.");function t(e){if(o.ngModel){var t=n[0].querySelector(e);return t&&t.outerHTML}}return function(e,t,n,r){h.initOptionalProperties(e,o),d(t);var i=r[0];if(s&&(i.enableChipEdit=!1),i.chipContentsTemplate=l,i.chipRemoveTemplate=c,i.chipInputTemplate=u,i.mdCloseIcon=g.mdClose,t.attr({"aria-hidden":!0,tabindex:-1}).on("focus",function(){i.onFocus()}),o.ngModel&&(i.configureNgModel(t.controller("ngModel")),n.mdTransformChip&&i.useTransformChipExpression(),n.mdOnAppend&&i.useOnAppendExpression(),n.mdOnAdd&&i.useOnAddExpression(),n.mdOnRemove&&i.useOnRemoveExpression(),n.mdOnSelect&&i.useOnSelectExpression(),u!=_.input&&e.$watch("$mdChipsCtrl.readonly",function(e){e||h.nextTick(function(){if(0===u.indexOf("<md-autocomplete")){var e=t.find("md-autocomplete");i.configureAutocomplete(e.controller("mdAutocomplete"))}i.configureUserInput(t.find("input"))})}),h.nextTick(function(){var e=t.find("input");e&&e.toggleClass("md-input",!0)})),0<f.length){var a=p(f.clone())(e.$parent);m(function(){t.find("md-chips-wrap").prepend(a)})}}},scope:{readonly:"=readonly",removable:"=mdRemovable",placeholder:"@",secondaryPlaceholder:"@",maxChips:"@mdMaxChips",transformChip:"&mdTransformChip",onAppend:"&mdOnAppend",onAdd:"&mdOnAdd",onRemove:"&mdOnRemove",onSelect:"&mdOnSelect",deleteHint:"@",deleteButtonLabel:"@",separatorKeys:"=?mdSeparatorKeys",requireMatch:"=?mdRequireMatch"}}}}(),function(){function e(){this.selectedItem=null,this.searchText=""}ie.module("material.components.chips").controller("MdContactChipsCtrl",e),e.prototype.queryContact=function(e){var t=this.contactQuery({$query:e});return this.filterSelected?t.filter(ie.bind(this,this.filterSelectedContacts)):t},e.prototype.itemName=function(e){return e[this.contactName]},e.prototype.filterSelectedContacts=function(e){return-1==this.contacts.indexOf(e)}}(),function(){e.$inject=["$mdTheming","$mdUtil"],ie.module("material.components.chips").directive("mdContactChips",e);var n=' <md-chips class="md-contact-chips" ng-model="$mdContactChipsCtrl.contacts" md-require-match="$mdContactChipsCtrl.requireMatch" md-autocomplete-snap> <md-autocomplete md-menu-class="md-contact-chips-suggestions" md-selected-item="$mdContactChipsCtrl.selectedItem" md-search-text="$mdContactChipsCtrl.searchText" md-items="item in $mdContactChipsCtrl.queryContact($mdContactChipsCtrl.searchText)" md-item-text="$mdContactChipsCtrl.itemName(item)" md-no-cache="true" md-autoselect placeholder="{{$mdContactChipsCtrl.contacts.length == 0 ? $mdContactChipsCtrl.placeholder : $mdContactChipsCtrl.secondaryPlaceholder}}"> <div class="md-contact-suggestion"> <img ng-src="{{item[$mdContactChipsCtrl.contactImage]}}" alt="{{item[$mdContactChipsCtrl.contactName]}}" ng-if="item[$mdContactChipsCtrl.contactImage]" /> <span class="md-contact-name" md-highlight-text="$mdContactChipsCtrl.searchText" md-highlight-flags="{{$mdContactChipsCtrl.highlightFlags}}"> {{item[$mdContactChipsCtrl.contactName]}} </span> <span class="md-contact-email" >{{item[$mdContactChipsCtrl.contactEmail]}}</span> </div> </md-autocomplete> <md-chip-template> <div class="md-contact-avatar"> <img ng-src="{{$chip[$mdContactChipsCtrl.contactImage]}}" alt="{{$chip[$mdContactChipsCtrl.contactName]}}" ng-if="$chip[$mdContactChipsCtrl.contactImage]" /> </div> <div class="md-contact-name"> {{$chip[$mdContactChipsCtrl.contactName]}} </div> </md-chip-template> </md-chips>';function e(a,o){return{template:function(e,t){return n},restrict:"E",controller:"MdContactChipsCtrl",controllerAs:"$mdContactChipsCtrl",bindToController:!0,compile:function(e,i){return function(e,t,n,r){o.initOptionalProperties(e,i),a(t),t.attr("tabindex","-1")}},scope:{contactQuery:"&mdContacts",placeholder:"@",secondaryPlaceholder:"@",contactName:"@mdContactName",contactImage:"@mdContactImage",contactEmail:"@mdContactEmail",contacts:"=ngModel",requireMatch:"=?mdRequireMatch",highlightFlags:"@?mdHighlightFlags"}}}}(),function(){e.$inject=["$element","$scope","$$mdDateUtil","$mdUtil","$mdConstant","$mdTheming","$$rAF","$attrs","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendar",function(){return{template:function(e,t){var n=t.hasOwnProperty("ngIf")?"":'ng-if="calendarCtrl.isInitialized"',r='<div ng-switch="calendarCtrl.currentView" '+n+'><md-calendar-year ng-switch-when="year"></md-calendar-year><md-calendar-month ng-switch-default></md-calendar-month></div>';return r},scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",dateFilter:"=mdDateFilter",_currentView:"@mdCurrentView"},require:["ngModel","mdCalendar"],controller:e,controllerAs:"calendarCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1];a.configureNgModel(i)}}});var u=0;function e(e,t,n,r,i,a,o,s,c){a(e),this.$element=e,this.$scope=t,this.dateUtil=n,this.$mdUtil=r,this.keyCode=i.KEY_CODE,this.$$rAF=o,this.today=this.dateUtil.createDateAtMidnight(),this.ngModelCtrl=null,this.currentView=this._currentView||"month",this.SELECTED_DATE_CLASS="md-calendar-selected-date",this.TODAY_CLASS="md-calendar-date-today",this.FOCUSED_DATE_CLASS="md-focus",this.id=u++,this.displayDate=null,this.selectedDate=null,this.firstRenderableDate=null,this.lastRenderableDate=null,this.isInitialized=!1,this.width=0,this.scrollbarWidth=0,s.tabindex||e.attr("tabindex","-1");var l=ie.bind(this,this.handleKeyEvent);ie.element(document.body).on("keydown",l),t.$on("$destroy",function(){ie.element(document.body).off("keydown",l)}),this.minDate&&this.minDate>c.firstRenderableDate?this.firstRenderableDate=this.minDate:this.firstRenderableDate=c.firstRenderableDate,this.maxDate&&this.maxDate<c.lastRenderableDate?this.lastRenderableDate=this.maxDate:this.lastRenderableDate=c.lastRenderableDate}e.prototype.configureNgModel=function(e){var t=this;t.ngModelCtrl=e,t.$mdUtil.nextTick(function(){t.isInitialized=!0}),e.$render=function(){var e=this.$viewValue;t.$scope.$broadcast("md-calendar-parent-changed",e),t.selectedDate||(t.selectedDate=e),t.displayDate||(t.displayDate=t.selectedDate||t.today)}},e.prototype.setNgModelValue=function(e){var t=this.dateUtil.createDateAtMidnight(e);return this.focus(t),this.$scope.$emit("md-calendar-change",t),this.ngModelCtrl.$setViewValue(t),this.ngModelCtrl.$render(),t},e.prototype.setCurrentView=function(e,t){var n=this;n.$mdUtil.nextTick(function(){n.currentView=e,t&&(n.displayDate=ie.isDate(t)?t:new Date(t))})},e.prototype.focus=function(e){if(this.dateUtil.isValidDate(e)){var t=this.$element[0].querySelector(".md-focus");t&&t.classList.remove(this.FOCUSED_DATE_CLASS);var n=this.getDateId(e,this.currentView),r=document.getElementById(n);r&&(r.classList.add(this.FOCUSED_DATE_CLASS),r.focus(),this.displayDate=e)}else{var i=this.$element[0].querySelector("[ng-switch]");i&&i.focus()}},e.prototype.getActionFromKeyEvent=function(e){var t=this.keyCode;switch(e.which){case t.ENTER:return"select";case t.RIGHT_ARROW:return"move-right";case t.LEFT_ARROW:return"move-left";case t.DOWN_ARROW:return e.metaKey?"move-page-down":"move-row-down";case t.UP_ARROW:return e.metaKey?"move-page-up":"move-row-up";case t.PAGE_DOWN:return"move-page-down";case t.PAGE_UP:return"move-page-up";case t.HOME:return"start";case t.END:return"end";default:return null}},e.prototype.handleKeyEvent=function(t){var n=this;this.$scope.$apply(function(){if(t.which==n.keyCode.ESCAPE||t.which==n.keyCode.TAB)return n.$scope.$emit("md-calendar-close"),void(t.which==n.keyCode.TAB&&t.preventDefault());var e=n.getActionFromKeyEvent(t);e&&(t.preventDefault(),t.stopPropagation(),n.$scope.$broadcast("md-calendar-parent-action",e))})},e.prototype.hideVerticalScrollbar=function(r){var i=this,t=r.$element[0],a=t.querySelector(".md-calendar-scroll-mask");function n(){var e=i.width||340,t=i.scrollbarWidth,n=r.calendarScroller;a.style.width=e+"px",n.style.width=e+t+"px",n.style.paddingRight=t+"px"}0<i.width?n():i.$$rAF(function(){var e=r.calendarScroller;i.scrollbarWidth=e.offsetWidth-e.clientWidth,i.width=t.querySelector("table").offsetWidth,n()})},e.prototype.getDateId=function(e,t){if(!t)throw new Error("A namespace for the date id has to be specified.");return["md",this.id,t,e.getFullYear(),e.getMonth(),e.getDate()].join("-")},e.prototype.updateVirtualRepeat=function(){var e=this.$scope,t=e.$on("$md-resize-enable",function(){e.$$phase||e.$apply(),t()})}}(),function(){t.$inject=["$element","$scope","$animate","$q","$$mdDateUtil","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendarMonth",function(){return{template:'<table aria-hidden="true" class="md-calendar-day-header"><thead></thead></table><div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container" md-offset-size="'+(e-n)+'"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody md-calendar-month-body role="rowgroup" md-virtual-repeat="i in monthCtrl.items" md-month-offset="$index" class="md-calendar-month" md-start-index="monthCtrl.getSelectedMonthIndex()" md-item-size="'+n+'"></tbody></table></md-virtual-repeat-container></div>',require:["^^mdCalendar","mdCalendarMonth"],controller:t,controllerAs:"monthCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1];a.initialize(i)}}});var n=265,e=45;function t(e,t,n,r,i,a){this.$element=e,this.$scope=t,this.$animate=n,this.$q=r,this.dateUtil=i,this.dateLocale=a,this.calendarScroller=e[0].querySelector(".md-virtual-repeat-scroller"),this.isInitialized=!1,this.isMonthTransitionInProgress=!1;var o=this;this.cellClickHandler=function(){var e=i.getTimestampFromNode(this);o.$scope.$apply(function(){o.calendarCtrl.setNgModelValue(e)})},this.headerClickHandler=function(){o.calendarCtrl.setCurrentView("year",i.getTimestampFromNode(this))}}t.prototype.initialize=function(e){this.items={length:this.dateUtil.getMonthDistance(e.firstRenderableDate,e.lastRenderableDate)+2},this.calendarCtrl=e,this.attachScopeListeners(),e.updateVirtualRepeat(),e.ngModelCtrl&&e.ngModelCtrl.$render()},t.prototype.getSelectedMonthIndex=function(){var e=this.calendarCtrl;return this.dateUtil.getMonthDistance(e.firstRenderableDate,e.displayDate||e.selectedDate||e.today)},t.prototype.changeSelectedDate=function(r){var i=this.calendarCtrl,a=i.selectedDate;i.selectedDate=r,this.changeDisplayDate(r).then(function(){var e=i.SELECTED_DATE_CLASS;if(a){var t=document.getElementById(i.getDateId(a,"month"));t&&(t.classList.remove(e),t.setAttribute("aria-selected","false"))}if(r){var n=document.getElementById(i.getDateId(r,"month"));n&&(n.classList.add(e),n.setAttribute("aria-selected","true"))}})},t.prototype.changeDisplayDate=function(e){if(!this.isInitialized)return this.buildWeekHeader(),this.calendarCtrl.hideVerticalScrollbar(this),this.isInitialized=!0,this.$q.when();if(!this.dateUtil.isValidDate(e)||this.isMonthTransitionInProgress)return this.$q.when();this.isMonthTransitionInProgress=!0;var t=this.animateDateChange(e);this.calendarCtrl.displayDate=e;var n=this;return t.then(function(){n.isMonthTransitionInProgress=!1}),t},t.prototype.animateDateChange=function(e){if(this.dateUtil.isValidDate(e)){var t=this.dateUtil.getMonthDistance(this.calendarCtrl.firstRenderableDate,e);this.calendarScroller.scrollTop=t*n}return this.$q.when()},t.prototype.buildWeekHeader=function(){for(var e=this.dateLocale.firstDayOfWeek,t=this.dateLocale.shortDays,n=document.createElement("tr"),r=0;r<7;r++){var i=document.createElement("th");i.textContent=t[(r+e)%7],n.appendChild(i)}this.$element.find("thead").append(n)},t.prototype.attachScopeListeners=function(){var n=this;n.$scope.$on("md-calendar-parent-changed",function(e,t){n.changeSelectedDate(t)}),n.$scope.$on("md-calendar-parent-action",ie.bind(this,this.handleKeyEvent))},t.prototype.handleKeyEvent=function(e,t){var n=this.calendarCtrl,r=n.displayDate;if("select"===t)n.setNgModelValue(r);else{var i=null,a=this.dateUtil;switch(t){case"move-right":i=a.incrementDays(r,1);break;case"move-left":i=a.incrementDays(r,-1);break;case"move-page-down":i=a.incrementMonths(r,1);break;case"move-page-up":i=a.incrementMonths(r,-1);break;case"move-row-down":i=a.incrementDays(r,7);break;case"move-row-up":i=a.incrementDays(r,-7);break;case"start":i=a.getFirstDateOfMonth(r);break;case"end":i=a.getLastDateOfMonth(r)}i&&(i=this.dateUtil.clampDate(i,n.minDate,n.maxDate),this.changeDisplayDate(i).then(function(){n.focus(i)}))}}}(),function(){function e(e,t){var s=e('<md-icon md-svg-src="'+t.mdTabsArrow+'"></md-icon>')({})[0];return{require:["^^mdCalendar","^^mdCalendarMonth","mdCalendarMonthBody"],scope:{offset:"=mdMonthOffset"},controller:n,controllerAs:"mdMonthBodyCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1],o=r[2];o.calendarCtrl=i,o.monthCtrl=a,o.arrowIcon=s.cloneNode(!0),e.$watch(function(){return o.offset},function(e,t){e!==t&&o.generateContent()})}}}function n(e,t,n){this.$element=e,this.dateUtil=t,this.dateLocale=n,this.monthCtrl=null,this.calendarCtrl=null,this.offset=null,this.focusAfterAppend=null}e.$inject=["$compile","$$mdSvgRegistry"],n.$inject=["$element","$$mdDateUtil","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendarMonthBody",e),n.prototype.generateContent=function(){var e=this.dateUtil.incrementMonths(this.calendarCtrl.firstRenderableDate,this.offset);this.$element.empty().append(this.buildCalendarForMonth(e)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(this.calendarCtrl.FOCUSED_DATE_CLASS),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},n.prototype.buildDateCell=function(e){var t=this.monthCtrl,n=this.calendarCtrl,r=document.createElement("td");if(r.tabIndex=-1,r.classList.add("md-calendar-date"),r.setAttribute("role","gridcell"),e){r.setAttribute("tabindex","-1"),r.setAttribute("aria-label",this.dateLocale.longDateFormatter(e)),r.id=n.getDateId(e,"month"),r.setAttribute("data-timestamp",e.getTime()),this.dateUtil.isSameDay(e,n.today)&&r.classList.add(n.TODAY_CLASS),this.dateUtil.isValidDate(n.selectedDate)&&this.dateUtil.isSameDay(e,n.selectedDate)&&(r.classList.add(n.SELECTED_DATE_CLASS),r.setAttribute("aria-selected","true"));var i=this.dateLocale.dates[e.getDate()];if(this.isDateEnabled(e)){var a=document.createElement("span");a.classList.add("md-calendar-date-selection-indicator"),a.textContent=i,r.appendChild(a),r.addEventListener("click",t.cellClickHandler),n.displayDate&&this.dateUtil.isSameDay(e,n.displayDate)&&(this.focusAfterAppend=r)}else r.classList.add("md-calendar-date-disabled"),r.textContent=i}return r},n.prototype.isDateEnabled=function(e){return this.dateUtil.isDateWithinRange(e,this.calendarCtrl.minDate,this.calendarCtrl.maxDate)&&(!ie.isFunction(this.calendarCtrl.dateFilter)||this.calendarCtrl.dateFilter(e))},n.prototype.buildDateRow=function(e){var t=document.createElement("tr");return t.setAttribute("role","row"),t.setAttribute("aria-label",this.dateLocale.weekNumberFormatter(e)),t},n.prototype.buildCalendarForMonth=function(e){var t=this.dateUtil.isValidDate(e)?e:new Date,n=this.dateUtil.getFirstDateOfMonth(t),r=this.getLocaleDay_(n),i=this.dateUtil.getNumberOfDaysInMonth(t),a=document.createDocumentFragment(),o=1,s=this.buildDateRow(o);a.appendChild(s);var c=this.offset===this.monthCtrl.items.length-1,l=0,u=document.createElement("td"),f=document.createElement("span");if(f.textContent=this.dateLocale.monthHeaderFormatter(t),u.appendChild(f),u.classList.add("md-calendar-month-label"),this.calendarCtrl.maxDate&&n>this.calendarCtrl.maxDate?u.classList.add("md-calendar-month-label-disabled"):(u.addEventListener("click",this.monthCtrl.headerClickHandler),u.setAttribute("data-timestamp",n.getTime()),u.setAttribute("aria-label",this.dateLocale.monthFormatter(t)),u.appendChild(this.arrowIcon.cloneNode(!0))),r<=2){u.setAttribute("colspan","7");var d=this.buildDateRow();if(d.appendChild(u),a.insertBefore(d,s),c)return a}else l=3,u.setAttribute("colspan","3"),s.appendChild(u);for(var h=l;h<r;h++)s.appendChild(this.buildDateCell());for(var p=r,m=n,g=1;g<=i;g++){if(7===p){if(c)return a;p=0,o++,s=this.buildDateRow(o),a.appendChild(s)}m.setDate(g);var _=this.buildDateCell(m);s.appendChild(_),p++}for(;s.childNodes.length<7;)s.appendChild(this.buildDateCell());for(;a.childNodes.length<6;){for(var b=this.buildDateRow(),v=0;v<7;v++)b.appendChild(this.buildDateCell());a.appendChild(b)}return a},n.prototype.getLocaleDay_=function(e){return(e.getDay()+(7-this.dateLocale.firstDayOfWeek))%7}}(),function(){e.$inject=["$element","$scope","$animate","$q","$$mdDateUtil"],ie.module("material.components.datepicker").directive("mdCalendarYear",function(){return{template:'<div class="md-calendar-scroll-mask"><md-virtual-repeat-container class="md-calendar-scroll-container"><table role="grid" tabindex="0" class="md-calendar" aria-readonly="true"><tbody md-calendar-year-body role="rowgroup" md-virtual-repeat="i in yearCtrl.items" md-year-offset="$index" class="md-calendar-year" md-start-index="yearCtrl.getFocusedYearIndex()" md-item-size="'+n+'"></tbody></table></md-virtual-repeat-container></div>',require:["^^mdCalendar","mdCalendarYear"],controller:e,controllerAs:"yearCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1];a.initialize(i)}}});var n=88;function e(e,t,n,r,i){this.$element=e,this.$scope=t,this.$animate=n,this.$q=r,this.dateUtil=i,this.calendarScroller=e[0].querySelector(".md-virtual-repeat-scroller"),this.isInitialized=!1,this.isMonthTransitionInProgress=!1;var a=this;this.cellClickHandler=function(){a.calendarCtrl.setCurrentView("month",i.getTimestampFromNode(this))}}e.prototype.initialize=function(e){this.items={length:this.dateUtil.getYearDistance(e.firstRenderableDate,e.lastRenderableDate)+1},this.calendarCtrl=e,this.attachScopeListeners(),e.updateVirtualRepeat(),e.ngModelCtrl&&e.ngModelCtrl.$render()},e.prototype.getFocusedYearIndex=function(){var e=this.calendarCtrl;return this.dateUtil.getYearDistance(e.firstRenderableDate,e.displayDate||e.selectedDate||e.today)},e.prototype.changeDate=function(e){if(!this.isInitialized)return this.calendarCtrl.hideVerticalScrollbar(this),this.isInitialized=!0,this.$q.when();if(this.dateUtil.isValidDate(e)&&!this.isMonthTransitionInProgress){var t=this,n=this.animateDateChange(e);return t.isMonthTransitionInProgress=!0,t.calendarCtrl.displayDate=e,n.then(function(){t.isMonthTransitionInProgress=!1})}},e.prototype.animateDateChange=function(e){if(this.dateUtil.isValidDate(e)){var t=this.dateUtil.getYearDistance(this.calendarCtrl.firstRenderableDate,e);this.calendarScroller.scrollTop=t*n}return this.$q.when()},e.prototype.handleKeyEvent=function(e,t){var n=this.calendarCtrl,r=n.displayDate;if("select"===t)this.changeDate(r).then(function(){n.setCurrentView("month",r),n.focus(r)});else{var i=null,a=this.dateUtil;switch(t){case"move-right":i=a.incrementMonths(r,1);break;case"move-left":i=a.incrementMonths(r,-1);break;case"move-row-down":i=a.incrementMonths(r,6);break;case"move-row-up":i=a.incrementMonths(r,-6)}if(i){var o=n.minDate?a.getFirstDateOfMonth(n.minDate):null,s=n.maxDate?a.getFirstDateOfMonth(n.maxDate):null;i=a.getFirstDateOfMonth(this.dateUtil.clampDate(i,o,s)),this.changeDate(i).then(function(){n.focus(i)})}}},e.prototype.attachScopeListeners=function(){var n=this;n.$scope.$on("md-calendar-parent-changed",function(e,t){n.changeDate(t)}),n.$scope.$on("md-calendar-parent-action",ie.bind(n,n.handleKeyEvent))}}(),function(){function e(e,t,n){this.$element=e,this.dateUtil=t,this.dateLocale=n,this.calendarCtrl=null,this.yearCtrl=null,this.offset=null,this.focusAfterAppend=null}e.$inject=["$element","$$mdDateUtil","$mdDateLocale"],ie.module("material.components.datepicker").directive("mdCalendarYearBody",function(){return{require:["^^mdCalendar","^^mdCalendarYear","mdCalendarYearBody"],scope:{offset:"=mdYearOffset"},controller:e,controllerAs:"mdYearBodyCtrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1],o=r[2];o.calendarCtrl=i,o.yearCtrl=a,e.$watch(function(){return o.offset},function(e,t){e!==t&&o.generateContent()})}}}),e.prototype.generateContent=function(){var e=this.dateUtil.incrementYears(this.calendarCtrl.firstRenderableDate,this.offset);this.$element.empty().append(this.buildCalendarForYear(e)),this.focusAfterAppend&&(this.focusAfterAppend.classList.add(this.calendarCtrl.FOCUSED_DATE_CLASS),this.focusAfterAppend.focus(),this.focusAfterAppend=null)},e.prototype.buildMonthCell=function(e,t){var n=this.calendarCtrl,r=this.yearCtrl,i=this.buildBlankCell(),a=new Date(e,t,1);i.setAttribute("aria-label",this.dateLocale.monthFormatter(a)),i.id=n.getDateId(a,"year"),i.setAttribute("data-timestamp",a.getTime()),this.dateUtil.isSameMonthAndYear(a,n.today)&&i.classList.add(n.TODAY_CLASS),this.dateUtil.isValidDate(n.selectedDate)&&this.dateUtil.isSameMonthAndYear(a,n.selectedDate)&&(i.classList.add(n.SELECTED_DATE_CLASS),i.setAttribute("aria-selected","true"));var o=this.dateLocale.shortMonths[t];if(this.dateUtil.isMonthWithinRange(a,n.minDate,n.maxDate)){var s=document.createElement("span");s.classList.add("md-calendar-date-selection-indicator"),s.textContent=o,i.appendChild(s),i.addEventListener("click",r.cellClickHandler),n.displayDate&&this.dateUtil.isSameMonthAndYear(a,n.displayDate)&&(this.focusAfterAppend=i)}else i.classList.add("md-calendar-date-disabled"),i.textContent=o;return i},e.prototype.buildBlankCell=function(){var e=document.createElement("td");return e.tabIndex=-1,e.classList.add("md-calendar-date"),e.setAttribute("role","gridcell"),e.setAttribute("tabindex","-1"),e},e.prototype.buildCalendarForYear=function(e){var t,n=e.getFullYear(),r=document.createDocumentFragment(),i=document.createElement("tr"),a=document.createElement("td");for(a.className="md-calendar-month-label",a.textContent=n,i.appendChild(a),t=0;t<6;t++)i.appendChild(this.buildMonthCell(n,t));r.appendChild(i);var o=document.createElement("tr");for(o.appendChild(this.buildBlankCell()),t=6;t<12;t++)o.appendChild(this.buildMonthCell(n,t));return r.appendChild(o),r}}(),ie.module("material.components.datepicker").config(["$provide",function(e){function t(){this.months=null,this.shortMonths=null,this.days=null,this.shortDays=null,this.dates=null,this.firstDayOfWeek=0,this.formatDate=null,this.parseDate=null,this.monthHeaderFormatter=null,this.weekNumberFormatter=null,this.longDateFormatter=null,this.msgCalendar="",this.msgOpenCalendar=""}(t.prototype.$get=function(e,r){for(var t=e.DATETIME_FORMATS.SHORTDAY.map(function(e){return e.substring(0,1)}),n=Array(32),i=1;i<=31;i++)n[i]=i;var a=new Date(1880,0,1),o=new Date(a.getFullYear()+250,0,1),s={months:this.months||e.DATETIME_FORMATS.MONTH,shortMonths:this.shortMonths||e.DATETIME_FORMATS.SHORTMONTH,days:this.days||e.DATETIME_FORMATS.DAY,shortDays:this.shortDays||t,dates:this.dates||n,firstDayOfWeek:this.firstDayOfWeek||0,formatDate:this.formatDate||function(e){if(!e)return"";var t=e.toLocaleTimeString(),n=e;return 0!=e.getHours()||-1===t.indexOf("11:")&&-1===t.indexOf("23:")||(n=new Date(e.getFullYear(),e.getMonth(),e.getDate(),1,0,0)),r("date")(n,"M/d/yyyy")},parseDate:this.parseDate||function(e){return new Date(e)},isDateComplete:this.isDateComplete||function(e){return e=e.trim(),/^(([a-zA-Z]{3,}|[0-9]{1,4})([ \.,]+|[\/\-])){2}([a-zA-Z]{3,}|[0-9]{1,4})$/.test(e)},monthHeaderFormatter:this.monthHeaderFormatter||function(e){return s.shortMonths[e.getMonth()]+" "+e.getFullYear()},monthFormatter:this.monthFormatter||function(e){return s.months[e.getMonth()]+" "+e.getFullYear()},weekNumberFormatter:this.weekNumberFormatter||function(e){return"Week "+e},longDateFormatter:this.longDateFormatter||function(e){return[s.days[e.getDay()],s.months[e.getMonth()],s.dates[e.getDate()],e.getFullYear()].join(" ")},msgCalendar:this.msgCalendar||"Calendar",msgOpenCalendar:this.msgOpenCalendar||"Open calendar",firstRenderableDate:this.firstRenderableDate||a,lastRenderableDate:this.lastRenderableDate||o};return s}).$inject=["$locale","$filter"],e.provider("$mdDateLocale",new t)}]),ie.module("material.components.datepicker").factory("$$mdDateUtil",function(){return{getFirstDateOfMonth:n,getNumberOfDaysInMonth:i,getDateInNextMonth:r,getDateInPreviousMonth:a,isInNextMonth:function(e,t){return o(r(e),t)},isInPreviousMonth:function(e,t){var n=a(e);return o(t,n)},getDateMidpoint:function(e,t){return u((e.getTime()+t.getTime())/2)},isSameMonthAndYear:o,getWeekOfMonth:function(e){var t=n(e);return Math.floor((t.getDay()+e.getDate()-1)/7)},incrementDays:function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},incrementMonths:s,getLastDateOfMonth:function(e){return new Date(e.getFullYear(),e.getMonth(),i(e))},isSameDay:function(e,t){return e.getDate()==t.getDate()&&o(e,t)},getMonthDistance:function(e,t){return 12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth())},isValidDate:c,setDateTimeToMidnight:l,createDateAtMidnight:u,isDateWithinRange:function(e,t,n){var r=u(e),i=c(t)?u(t):null,a=c(n)?u(n):null;return(!i||i<=r)&&(!a||r<=a)},incrementYears:function(e,t){return s(e,12*t)},getYearDistance:function(e,t){return t.getFullYear()-e.getFullYear()},clampDate:function(e,t,n){var r=e;return t&&e<t&&(r=new Date(t.getTime())),n&&n<e&&(r=new Date(n.getTime())),r},getTimestampFromNode:function(e){if(e&&e.hasAttribute("data-timestamp"))return Number(e.getAttribute("data-timestamp"))},isMonthWithinRange:function(e,t,n){var r=e.getMonth(),i=e.getFullYear();return(!t||t.getFullYear()<i||t.getMonth()<=r)&&(!n||n.getFullYear()>i||n.getMonth()>=r)}};function n(e){return new Date(e.getFullYear(),e.getMonth(),1)}function i(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()}function r(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function a(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function o(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()}function s(e,t){var n=new Date(e.getFullYear(),e.getMonth()+t,1),r=i(n);return r<e.getDate()?n.setDate(r):n.setDate(e.getDate()),n}function c(e){return null!=e&&e.getTime&&!isNaN(e.getTime())}function l(e){c(e)&&e.setHours(0,0,0,0)}function u(e){var t;return l(t=ie.isUndefined(e)?new Date:new Date(e)),t}}),function(){function e(i,f,d,h){return{template:function(e,t){var n=t.mdHideIcons,r=t.ariaLabel||t.mdPlaceholder;return("all"===n||"calendar"===n?"":'<md-button class="md-datepicker-button md-icon-button" type="button" tabindex="-1" aria-hidden="true" ng-click="ctrl.openCalendarPane($event)"><md-icon class="md-datepicker-calendar-icon" aria-label="md-calendar" md-svg-src="'+i.mdCalendar+'"></md-icon></md-button>')+'<div class="md-datepicker-input-container" ng-class="{\'md-datepicker-focused\': ctrl.isFocused}"><input '+(r?'aria-label="'+r+'" ':"")+'class="md-datepicker-input" aria-haspopup="true" ng-focus="ctrl.setFocused(true)" ng-blur="ctrl.setFocused(false)"> '+("all"===n||"triangle"===n?"":'<md-button type="button" md-no-ink class="md-datepicker-triangle-button md-icon-button" ng-click="ctrl.openCalendarPane($event)" aria-label="{{::ctrl.dateLocale.msgOpenCalendar}}"><div class="md-datepicker-expand-triangle"></div></md-button>')+'</div><div class="md-datepicker-calendar-pane md-whiteframe-z1"><div class="md-datepicker-input-mask"><div class="md-datepicker-input-mask-opaque"></div></div><div class="md-datepicker-calendar"><md-calendar role="dialog" aria-label="{{::ctrl.dateLocale.msgCalendar}}" md-current-view="{{::ctrl.currentView}}"md-min-date="ctrl.minDate"md-max-date="ctrl.maxDate"md-date-filter="ctrl.dateFilter"ng-model="ctrl.date" ng-if="ctrl.isCalendarOpen"></md-calendar></div></div>'},require:["ngModel","mdDatepicker","?^mdInputContainer","?^form"],scope:{minDate:"=mdMinDate",maxDate:"=mdMaxDate",placeholder:"@mdPlaceholder",currentView:"@mdCurrentView",dateFilter:"=mdDateFilter",isOpen:"=?mdIsOpen",debounceInterval:"=mdDebounceInterval"},controller:t,controllerAs:"ctrl",bindToController:!0,link:function(e,t,n,r){var i=r[0],a=r[1],o=r[2],s=r[3],c=f.parseAttributeBoolean(n.mdNoAsterisk);if(a.configureNgModel(i,o,h),o){var l=t[0].querySelector(".md-errors-spacer");l&&t.after(ie.element("<div>").append(l)),o.setHasPlaceholder(n.mdPlaceholder),o.input=t,o.element.addClass(p).toggleClass(m,"calendar"!==n.mdHideIcons&&"all"!==n.mdHideIcons),o.label?c||n.$observe("required",function(e){o.label.toggleClass("md-required",!!e)}):d.expect(t,"aria-label",n.mdPlaceholder),e.$watch(o.isErrorGetter||function(){return i.$invalid&&(i.$touched||s&&s.$submitted)},o.setInvalid)}else if(s)var u=e.$watch(function(){return s.$submitted},function(e){e&&(a.updateErrorState(),u())})}}}t.$inject=["$scope","$element","$attrs","$window","$mdConstant","$mdTheming","$mdUtil","$mdDateLocale","$$mdDateUtil","$$rAF","$mdGesture","$filter"],e.$inject=["$$mdSvgRegistry","$mdUtil","$mdAria","inputDirective"],ie.module("material.components.datepicker").directive("mdDatepicker",e);var i="md-datepicker-invalid",f="md-datepicker-open",p="_md-datepicker-floating-label",m="_md-datepicker-has-calendar-icon";function t(e,t,n,r,i,a,o,s,c,l,u,f){this.$window=r,this.dateLocale=s,this.dateUtil=c,this.$mdConstant=i,this.$mdUtil=o,this.$$rAF=l,this.documentElement=ie.element(document.documentElement),this.ngModelCtrl=null,this.inputElement=t[0].querySelector("input"),this.ngInputElement=ie.element(this.inputElement),this.inputContainer=t[0].querySelector(".md-datepicker-input-container"),this.calendarPane=t[0].querySelector(".md-datepicker-calendar-pane"),this.calendarButton=t[0].querySelector(".md-datepicker-button"),this.inputMask=ie.element(t[0].querySelector(".md-datepicker-input-mask-opaque")),this.$element=t,this.$attrs=n,this.$scope=e,this.date=null,this.isFocused=!1,this.isDisabled,this.setDisabled(t[0].disabled||ie.isString(n.disabled)),this.isCalendarOpen=!1,this.openOnFocus=n.hasOwnProperty("mdOpenOnFocus"),this.mdInputContainer=null,this.calendarPaneOpenedFrom=null,this.calendarPane.id="md-date-pane"+o.nextUid(),this.bodyClickHandler=ie.bind(this,this.handleBodyClick),this.windowEventName=u.isIos||u.isAndroid?"orientationchange":"resize",this.windowEventHandler=o.debounce(ie.bind(this,this.closeCalendarPane),100),this.windowBlurHandler=ie.bind(this,this.handleWindowBlur),this.ngDateFilter=f("date"),this.leftMargin=20,this.topMargin=null,n.tabindex?(this.ngInputElement.attr("tabindex",n.tabindex),n.$set("tabindex",null)):n.$set("tabindex","-1"),a(t),a(ie.element(this.calendarPane)),this.installPropertyInterceptors(),this.attachChangeListeners(),this.attachInteractionListeners();var d=this;e.$on("$destroy",function(){d.detachCalendarPane()}),n.mdIsOpen&&e.$watch("ctrl.isOpen",function(e){e?d.openCalendarPane({target:d.inputElement}):d.closeCalendarPane()})}t.prototype.configureNgModel=function(e,t,n){this.ngModelCtrl=e,this.mdInputContainer=t,this.$attrs.$set("type","date"),n[0].link.pre(this.$scope,{on:ie.noop,val:ie.noop,0:{}},this.$attrs,[e]);var r=this;r.ngModelCtrl.$formatters.push(function(e){if(e&&!(e instanceof Date))throw Error("The ng-model for md-datepicker must be a Date instance. Currently the model is a: "+typeof e);return r.date=e,r.inputElement.value=r.dateLocale.formatDate(e),r.mdInputContainer&&r.mdInputContainer.setHasValue(!!e),r.resizeInputElement(),r.updateErrorState(),e}),e.$viewChangeListeners.unshift(ie.bind(this,this.updateErrorState))},t.prototype.attachChangeListeners=function(){var n=this;n.$scope.$on("md-calendar-change",function(e,t){n.setModelValue(t),n.date=t,n.inputElement.value=n.dateLocale.formatDate(t),n.mdInputContainer&&n.mdInputContainer.setHasValue(!!t),n.closeCalendarPane(),n.resizeInputElement(),n.updateErrorState()}),n.ngInputElement.on("input",ie.bind(n,n.resizeInputElement));var e=ie.isDefined(this.debounceInterval)?this.debounceInterval:500;n.ngInputElement.on("input",n.$mdUtil.debounce(n.handleInputEvent,e,n))},t.prototype.attachInteractionListeners=function(){var t=this,n=this.$scope,r=this.$mdConstant.KEY_CODE;t.ngInputElement.on("keydown",function(e){e.altKey&&e.keyCode==r.DOWN_ARROW&&(t.openCalendarPane(e),n.$digest())}),t.openOnFocus&&(t.ngInputElement.on("focus",ie.bind(t,t.openCalendarPane)),ie.element(t.$window).on("blur",t.windowBlurHandler),n.$on("$destroy",function(){ie.element(t.$window).off("blur",t.windowBlurHandler)})),n.$on("md-calendar-close",function(){t.closeCalendarPane()})},t.prototype.installPropertyInterceptors=function(){var t=this;if(this.$attrs.ngDisabled){var e=this.$scope.$parent;e&&e.$watch(this.$attrs.ngDisabled,function(e){t.setDisabled(e)})}Object.defineProperty(this,"placeholder",{get:function(){return t.inputElement.placeholder},set:function(e){t.inputElement.placeholder=e||""}})},t.prototype.setDisabled=function(e){this.isDisabled=e,this.inputElement.disabled=e,this.calendarButton&&(this.calendarButton.disabled=e)},t.prototype.updateErrorState=function(e){var t=e||this.date;if(this.clearErrorState(),this.dateUtil.isValidDate(t)){if(t=this.dateUtil.createDateAtMidnight(t),this.dateUtil.isValidDate(this.minDate)){var n=this.dateUtil.createDateAtMidnight(this.minDate);this.ngModelCtrl.$setValidity("mindate",n<=t)}if(this.dateUtil.isValidDate(this.maxDate)){var r=this.dateUtil.createDateAtMidnight(this.maxDate);this.ngModelCtrl.$setValidity("maxdate",t<=r)}ie.isFunction(this.dateFilter)&&this.ngModelCtrl.$setValidity("filtered",this.dateFilter(t))}else this.ngModelCtrl.$setValidity("valid",null==t);this.ngModelCtrl.$valid||this.inputContainer.classList.add(i)},t.prototype.clearErrorState=function(){this.inputContainer.classList.remove(i),["mindate","maxdate","filtered","valid"].forEach(function(e){this.ngModelCtrl.$setValidity(e,!0)},this)},t.prototype.resizeInputElement=function(){this.inputElement.size=this.inputElement.value.length+3},t.prototype.handleInputEvent=function(){var e=this.inputElement.value,t=e?this.dateLocale.parseDate(e):null;this.dateUtil.setDateTimeToMidnight(t),(""==e||this.dateUtil.isValidDate(t)&&this.dateLocale.isDateComplete(e)&&this.isDateEnabled(t))&&(this.setModelValue(t),this.date=t),this.updateErrorState(t)},t.prototype.isDateEnabled=function(e){return this.dateUtil.isDateWithinRange(e,this.minDate,this.maxDate)&&(!ie.isFunction(this.dateFilter)||this.dateFilter(e))},t.prototype.attachCalendarPane=function(){var e=this.calendarPane,t=document.body;e.style.transform="",this.$element.addClass(f),this.mdInputContainer&&this.mdInputContainer.element.addClass(f),ie.element(t).addClass("md-datepicker-is-showing");var n=this.inputContainer.getBoundingClientRect(),r=t.getBoundingClientRect();(!this.topMargin||this.topMargin<0)&&(this.topMargin=(this.inputMask.parent().prop("clientHeight")-this.ngInputElement.prop("clientHeight"))/2);var i=n.top-r.top-this.topMargin,a=n.left-r.left-this.leftMargin,o=r.top<0&&0==document.body.scrollTop?-r.top:document.body.scrollTop,s=r.left<0&&0==document.body.scrollLeft?-r.left:document.body.scrollLeft,c=o+this.$window.innerHeight,l=s+this.$window.innerWidth;if(this.inputMask.css({position:"absolute",left:this.leftMargin+"px",top:this.topMargin+"px",width:n.width-1+"px",height:n.height-2+"px"}),l<a+360){if(0<l-360)a=l-360;else{a=s;var u=this.$window.innerWidth/360;e.style.transform="scale("+u+")"}e.classList.add("md-datepicker-pos-adjusted")}c<i+368&&o<c-368&&(i=c-368,e.classList.add("md-datepicker-pos-adjusted")),e.style.left=a+"px",e.style.top=i+"px",document.body.appendChild(e),this.$$rAF(function(){e.classList.add("md-pane-open")})},t.prototype.detachCalendarPane=function(){this.$element.removeClass(f),this.mdInputContainer&&this.mdInputContainer.element.removeClass(f),ie.element(document.body).removeClass("md-datepicker-is-showing"),this.calendarPane.classList.remove("md-pane-open"),this.calendarPane.classList.remove("md-datepicker-pos-adjusted"),this.isCalendarOpen&&this.$mdUtil.enableScrolling(),this.calendarPane.parentNode&&this.calendarPane.parentNode.removeChild(this.calendarPane)},t.prototype.openCalendarPane=function(e){if(!this.isCalendarOpen&&!this.isDisabled&&!this.inputFocusedOnWindowBlur){this.isCalendarOpen=this.isOpen=!0,this.calendarPaneOpenedFrom=e.target,this.$mdUtil.disableScrollAround(this.calendarPane),this.attachCalendarPane(),this.focusCalendar(),this.evalAttr("ngFocus");var t=this;this.$mdUtil.nextTick(function(){t.documentElement.on("click touchstart",t.bodyClickHandler)},!1),G.addEventListener(this.windowEventName,this.windowEventHandler)}},t.prototype.closeCalendarPane=function(){if(this.isCalendarOpen){var e=this;e.detachCalendarPane(),e.ngModelCtrl.$setTouched(),e.evalAttr("ngBlur"),e.documentElement.off("click touchstart",e.bodyClickHandler),G.removeEventListener(e.windowEventName,e.windowEventHandler),e.calendarPaneOpenedFrom.focus(),e.calendarPaneOpenedFrom=null,e.openOnFocus?e.$mdUtil.nextTick(t):t()}function t(){e.isCalendarOpen=e.isOpen=!1}},t.prototype.getCalendarCtrl=function(){return ie.element(this.calendarPane.querySelector("md-calendar")).controller("mdCalendar")},t.prototype.focusCalendar=function(){var e=this;this.$mdUtil.nextTick(function(){e.getCalendarCtrl().focus()},!1)},t.prototype.setFocused=function(e){e||this.ngModelCtrl.$setTouched(),this.openOnFocus||this.evalAttr(e?"ngFocus":"ngBlur"),this.isFocused=e},t.prototype.handleBodyClick=function(e){this.isCalendarOpen&&(this.$mdUtil.getClosest(e.target,"md-calendar")||this.closeCalendarPane(),this.$scope.$digest())},t.prototype.handleWindowBlur=function(){this.inputFocusedOnWindowBlur=document.activeElement===this.inputElement},t.prototype.evalAttr=function(e){this.$attrs[e]&&this.$scope.$parent.$eval(this.$attrs[e])},t.prototype.setModelValue=function(e){this.ngModelCtrl.$setViewValue(this.ngDateFilter(e,"yyyy-MM-dd"))}}(),ie.module("material.components.icon").directive("mdIcon",["$mdIcon","$mdTheming","$mdAria","$sce",function(l,u,f,e){return{restrict:"E",link:function(e,t,n){u(t);var r=n.mdFontIcon,i=l.fontSet(n.mdFontSet);n.mdSvgIcon||n.mdSvgSrc||(n.mdFontIcon&&t.addClass("md-font "+n.mdFontIcon),t.addClass(i)),n.$observe("mdFontIcon",c),n.$observe("mdFontSet",c),t[0].getAttribute(n.$attr.mdSvgSrc);var a,o=n.alt||n.mdFontIcon||n.mdSvgIcon||t.text(),s=n.$normalize(n.$attr.mdSvgIcon||n.$attr.mdSvgSrc||"");function c(){if(!n.mdSvgIcon&&!n.mdSvgSrc){n.mdFontIcon&&(t.removeClass(r),t.addClass(n.mdFontIcon),r=n.mdFontIcon);var e=l.fontSet(n.mdFontSet);i!==e&&(t.removeClass(i),t.addClass(e),i=e)}}n["aria-label"]||(""===o||((a=t.parent()).attr("aria-label")||a.text()||a.parent().attr("aria-label")||a.parent().text())?t.text()||f.expect(t,"aria-hidden","true"):(f.expect(t,"aria-label",o),f.expect(t,"role","img"))),s&&n.$observe(s,function(e){t.empty(),e&&l(e).then(function(e){t.empty(),t.append(e)})})}}}]),function(){o.$inject=["config","$templateRequest","$q","$log","$mdUtil","$sce"],ie.module("material.components.icon").constant("$$mdSvgRegistry",{mdTabsArrow:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4=",mdClose:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik0xOSA2LjQxbC0xLjQxLTEuNDEtNS41OSA1LjU5LTUuNTktNS41OS0xLjQxIDEuNDEgNS41OSA1LjU5LTUuNTkgNS41OSAxLjQxIDEuNDEgNS41OS01LjU5IDUuNTkgNS41OSAxLjQxLTEuNDEtNS41OS01LjU5eiIvPjwvZz48L3N2Zz4=",mdCancel:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik0xMiAyYy01LjUzIDAtMTAgNC40Ny0xMCAxMHM0LjQ3IDEwIDEwIDEwIDEwLTQuNDcgMTAtMTAtNC40Ny0xMC0xMC0xMHptNSAxMy41OWwtMS40MSAxLjQxLTMuNTktMy41OS0zLjU5IDMuNTktMS40MS0xLjQxIDMuNTktMy41OS0zLjU5LTMuNTkgMS40MS0xLjQxIDMuNTkgMy41OSAzLjU5LTMuNTkgMS40MSAxLjQxLTMuNTkgMy41OSAzLjU5IDMuNTl6Ii8+PC9nPjwvc3ZnPg==",mdMenu:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGQ9Ik0zLDZIMjFWOEgzVjZNMywxMUgyMVYxM0gzVjExTTMsMTZIMjFWMThIM1YxNloiIC8+PC9zdmc+",mdToggleArrow:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgNDggNDgiPjxwYXRoIGQ9Ik0yNCAxNmwtMTIgMTIgMi44MyAyLjgzIDkuMTctOS4xNyA5LjE3IDkuMTcgMi44My0yLjgzeiIvPjxwYXRoIGQ9Ik0wIDBoNDh2NDhoLTQ4eiIgZmlsbD0ibm9uZSIvPjwvc3ZnPg==",mdCalendar:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTkgM2gtMVYxaC0ydjJIOFYxSDZ2Mkg1Yy0xLjExIDAtMS45OS45LTEuOTkgMkwzIDE5YzAgMS4xLjg5IDIgMiAyaDE0YzEuMSAwIDItLjkgMi0yVjVjMC0xLjEtLjktMi0yLTJ6bTAgMTZINVY4aDE0djExek03IDEwaDV2NUg3eiIvPjwvc3ZnPg==",mdChecked:"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwYXRoIGQ9Ik05IDE2LjE3TDQuODMgMTJsLTEuNDIgMS40MUw5IDE5IDIxIDdsLTEuNDEtMS40MXoiLz48L2c+PC9zdmc+"}).provider("$mdIcon",e);var a={defaultViewBoxSize:24,defaultFontSet:"material-icons",fontSets:[]};function e(){}function r(e,t){this.url=e,this.viewBoxSize=t||a.defaultViewBoxSize}function o(o,a,s,c,r,t){var i={},l={},n=/[-\w@:%\+.~#?&//=]{2,}\.[a-z]{2,4}\b(\/[-\w@:%\+.~#?&//=]*)?/i,u=/^data:image\/svg\+xml[\s*;\w\-\=]*?(base64)?,(.*)$/i;return m.prototype={clone:function(){return this.element.cloneNode(!0)},prepare:function(){var e=this.config?this.config.viewBoxSize:o.defaultViewBoxSize;ie.forEach({fit:"",height:"100%",width:"100%",preserveAspectRatio:"xMidYMid meet",viewBox:this.element.getAttribute("viewBox")||"0 0 "+e+" "+e,focusable:!1},function(e,t){this.element.setAttribute(t,e)},this)}},e.fontSet=function(t){if(ie.isUndefined(t)||!t||!t.length)return o.defaultFontSet;var n=t;return ie.forEach(o.fontSets,function(e){e.alias==t&&(n=e.fontSet||n)}),n},e;function e(e){return e=e||"",ie.isString(e)||(e=t.getTrustedUrl(e)),i[e]?s.when(function(e){var t=e.clone(),n="_cache"+r.nextUid();t.id&&(t.id+=n);return ie.forEach(t.querySelectorAll("[id]"),function(e){e.id+=n}),t}(i[e])):n.test(e)||u.test(e)?p(e).then(f(e)):(-1==e.indexOf(":")&&(e="$default:"+e),(o[e]?d:h)(e).then(f(e)))}function f(n){return function(e){var t;return i[n]=(t=e,ie.isDefined(t.element)&&ie.isDefined(t.config)?e:new m(e,o[n])),i[n].clone()}}function d(e){var t=o[e];return p(t.url).then(function(e){return new m(e,t)})}function h(r){var e=r.substring(0,r.lastIndexOf(":"))||"$default",i=o[e];return i?p(i.url).then(function(e){var t=r.slice(r.lastIndexOf(":")+1),n=e.querySelector("#"+t);return n?new m(n,i):a(r)}):a(r);function a(e){var t="icon "+e+" not found";return c.warn(t),s.reject(t||e)}}function p(e){return u.test(e)?(t=e,n=u.exec(t),i=/base64/i.test(t)?G.atob(n[2]):n[2],s.when(ie.element(i)[0])):(r=e,s(function(t,n){a(r,!0).then(function(e){l[r]||(l[r]=ie.element("<div>").append(e)[0].querySelector("svg")),t(l[r])},function(e){var t=ie.isString(e)?e:e.message||e.data||e.statusText;c.warn(t),n(e)})}));var r,t,n,i}function m(e,t){e&&"svg"!=e.tagName&&(e=ie.element('<svg xmlns="http://www.w3.org/2000/svg">').append(e.cloneNode(!0))[0]),e.getAttribute("xmlns")||e.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.element=e,this.config=t,this.prepare()}}e.prototype={icon:function(e,t,n){return-1==e.indexOf(":")&&(e="$default:"+e),a[e]=new r(t,n),this},iconSet:function(e,t,n){return a[e]=new r(t,n),this},defaultIconSet:function(e,t){var n="$default";return a[n]||(a[n]=new r(e,t)),a[n].viewBoxSize=t||a.defaultViewBoxSize,this},defaultViewBoxSize:function(e){return a.defaultViewBoxSize=e,this},fontSet:function(e,t){return a.fontSets.push({alias:e,fontSet:t||e}),this},defaultFontSet:function(e){return a.defaultFontSet=e||"",this},defaultIconSize:function(e){return a.defaultIconSize=e,this},$get:["$templateRequest","$q","$log","$mdUtil","$sce",function(e,t,n,r,i){return o(a,e,t,n,r,i)}]}}(),function(){function e(i,t,a,o,s,r,e,n){var c,l,u=s.prefixer(),f=this;this.nestLevel=parseInt(t.mdNestLevel,10)||0,this.init=function(e,t){t=t||{},c=e,(l=a[0].querySelector(u.buildSelector(["ng-click","ng-mouseenter"]))).setAttribute("aria-expanded","false"),this.isInMenuBar=t.isInMenuBar,this.nestedMenus=s.nodesToArray(c[0].querySelectorAll(".md-nested-menu")),c.on("$mdInterimElementRemove",function(){f.isOpen=!1,s.nextTick(function(){f.onIsOpenChanged(f.isOpen)})}),s.nextTick(function(){f.onIsOpenChanged(f.isOpen)});var n="menu_container_"+s.nextUid();c.attr("id",n),ie.element(l).attr({"aria-owns":n,"aria-haspopup":"true"}),o.$on("$destroy",ie.bind(this,function(){this.disableHoverListener(),i.destroy()})),c.on("$destroy",function(){i.destroy()})};var d,h,p=[];this.enableHoverListener=function(){p.push(e.$on("$mdMenuOpen",function(e,t){c[0].contains(t[0])&&(f.currentlyOpenMenu=t.controller("mdMenu"),f.isAlreadyOpening=!1,f.currentlyOpenMenu.registerContainerProxy(f.triggerContainerProxy.bind(f)))})),p.push(e.$on("$mdMenuClose",function(e,t){c[0].contains(t[0])&&(f.currentlyOpenMenu=ae)})),(h=ie.element(s.nodesToArray(c[0].children[0].children))).on("mouseenter",f.handleMenuItemHover),h.on("mouseleave",f.handleMenuItemMouseLeave)},this.disableHoverListener=function(){for(;p.length;)p.shift()();h&&h.off("mouseenter",f.handleMenuItemHover),h&&h.off("mouseleave",f.handleMenuItemMouseLeave)},this.handleMenuItemHover=function(e){if(!f.isAlreadyOpening){var t=e.target.querySelector("md-menu")||s.getClosest(e.target,"MD-MENU");d=r(function(){if(t&&(t=ie.element(t).controller("mdMenu")),f.currentlyOpenMenu&&f.currentlyOpenMenu!=t){var e=f.nestLevel+1;f.currentlyOpenMenu.close(!0,{closeTo:e}),f.isAlreadyOpening=!!t,t&&t.open()}else t&&!t.isOpen&&t.open&&(f.isAlreadyOpening=!!t,t&&t.open())},t?100:250);var n=e.currentTarget.querySelector(".md-button:not([disabled])");n&&n.focus()}},this.handleMenuItemMouseLeave=function(){d&&(r.cancel(d),d=ae)},this.open=function(e){e&&e.stopPropagation(),e&&e.preventDefault(),f.isOpen||(f.enableHoverListener(),f.isOpen=!0,s.nextTick(function(){f.onIsOpenChanged(f.isOpen)}),(l=l||(e?e.target:a[0])).setAttribute("aria-expanded","true"),o.$emit("$mdMenuOpen",a),i.show({scope:o,mdMenuCtrl:f,nestLevel:f.nestLevel,element:c,target:l,preserveElement:!0,parent:"body"}).finally(function(){l.setAttribute("aria-expanded","false"),f.disableHoverListener()}))},o.$mdOpenMenu=this.open,this.onIsOpenChanged=function(e){e?(c.attr("aria-hidden","false"),a[0].classList.add("md-open"),ie.forEach(f.nestedMenus,function(e){e.classList.remove("md-open")})):(c.attr("aria-hidden","true"),a[0].classList.remove("md-open")),o.$mdMenuIsOpen=f.isOpen},this.focusMenuContainer=function(){var e=c[0].querySelector(u.buildSelector(["md-menu-focus-target","md-autofocus"]));e||(e=c[0].querySelector(".md-button")),e.focus()},this.registerContainerProxy=function(e){this.containerProxy=e},this.triggerContainerProxy=function(e){this.containerProxy&&this.containerProxy(e)},this.destroy=function(){return f.isOpen?i.destroy():n.when(!1)},this.close=function(e,t){if(f.isOpen){f.isOpen=!1,s.nextTick(function(){f.onIsOpenChanged(f.isOpen)});var n=ie.extend({},t,{skipFocus:e});if(o.$emit("$mdMenuClose",a,n),i.hide(null,t),!e){var r=f.restoreFocusTo||a.find("button")[0];r instanceof ie.element&&(r=r[0]),r&&r.focus()}}},this.positionMode=function(){var e=(t.mdPositionMode||"target").split(" ");return 1==e.length&&e.push(e[0]),{left:e[0],top:e[1]}},this.offsets=function(){var e=(t.mdOffset||"0 0").split(" ").map(parseFloat);if(2==e.length)return{left:e[0],top:e[1]};if(1==e.length)return{top:e[0],left:e[0]};throw Error("Invalid offsets specified. Please follow format <x, y> or <n>")}}e.$inject=["$mdMenu","$attrs","$element","$scope","$mdUtil","$timeout","$rootScope","$q"],ie.module("material.components.menu").controller("mdMenuCtrl",e)}(),function(){function e(a){return{restrict:"E",require:["mdMenu","?^mdMenuBar"],controller:"mdMenuCtrl",scope:!0,compile:function(e){e.addClass("md-menu");var t=e.children()[0],n=a.prefixer();n.hasAttribute(t,"ng-click")||(t=t.querySelector(n.buildSelector(["ng-click","ng-mouseenter"]))||t);!t||"MD-BUTTON"!=t.nodeName&&"BUTTON"!=t.nodeName||t.hasAttribute("type")||t.setAttribute("type","button");if(2!=e.children().length)throw Error("Invalid HTML for md-menu: Expected two children elements.");t&&t.setAttribute("aria-haspopup","true");var r=e[0].querySelectorAll("md-menu"),i=parseInt(e[0].getAttribute("md-nest-level"),10)||0;r&&ie.forEach(a.nodesToArray(r),function(e){e.hasAttribute("md-position-mode")||e.setAttribute("md-position-mode","cascade"),e.classList.add("_md-nested-menu"),e.setAttribute("md-nest-level",i+1)});return o}};function o(e,t,n,r){var i=r[0],a=r[1]!=ae,o=ie.element('<div class="_md md-open-menu-container md-whiteframe-z2"></div>'),s=t.children()[1];t.addClass("_md"),s.hasAttribute("role")||s.setAttribute("role","menu"),o.append(s),t.on("$destroy",function(){o.remove()}),t.append(o),o[0].style.display="none",i.init(o,{isInMenuBar:a})}}e.$inject=["$mdUtil"],ie.module("material.components.menu").directive("mdMenu",e)}(),function(){function e(e){t.$inject=["$mdUtil","$mdTheming","$mdConstant","$document","$window","$q","$$rAF","$animateCss","$animate"];var x=8;return e("$mdMenu").setDefaults({methods:["target"],options:t});function t(C,c,l,A,S,u,f,d,h){var T=C.prefixer(),p=C.dom.animator;return{parent:"body",onShow:function(a,o,s){return function(){if(!s.target)throw Error("$mdMenu.show() expected a target to animate from in options.target");ie.extend(s,{alreadyOpen:!1,isRemoved:!1,target:ie.element(s.target),parent:ie.element(s.parent),menuContentEl:ie.element(o[0].querySelector("md-menu-content"))})}(),c.inherit(s.menuContentEl,s.target),s.cleanupResizing=(n=o,r=s,i=f.throttle(function(){if(!s.isRemoved){var e=_(n,r);n.css(p.toCss(e))}}),S.addEventListener("resize",i),S.addEventListener("orientationchange",i),function(){S.removeEventListener("resize",i),S.removeEventListener("orientationchange",i)}),s.hideBackdrop=(e=a,t=s,t.nestLevel?ie.noop:(t.disableParentScroll&&!C.getClosest(t.target,"MD-DIALOG")?t.restoreScroll=C.disableScrollAround(t.element,t.parent):t.disableParentScroll=!1,t.hasBackdrop&&(t.backdrop=C.createBackdrop(e,"md-menu-backdrop md-click-catcher"),h.enter(t.backdrop,A[0].body)),function(){t.backdrop&&t.backdrop.remove(),t.disableParentScroll&&t.restoreScroll()})),(s.parent.append(o),o[0].style.display="",u(function(e){var t=_(o,s);o.removeClass("md-leave"),d(o,{addClass:"md-active",from:p.toCss(t),to:p.toCss({transform:""})}).start().then(e)})).then(function(e){return s.alreadyOpen=!0,s.cleanupInteraction=function(){o.addClass("md-clickable"),s.backdrop&&s.backdrop.on("click",r),s.menuContentEl.on("keydown",n),s.menuContentEl[0].addEventListener("click",i,!0);var e=s.menuContentEl[0].querySelector(T.buildSelector(["md-menu-focus-target","md-autofocus"]));if(!e){var t=s.menuContentEl[0].firstElementChild;e=t&&(t.querySelector(".md-button:not([disabled])")||t.firstElementChild)}return e&&e.focus(),function(){o.removeClass("md-clickable"),s.backdrop&&s.backdrop.off("click",r),s.menuContentEl.off("keydown",n),s.menuContentEl[0].removeEventListener("click",i,!0)};function n(e){var t;switch(e.keyCode){case l.KEY_CODE.ESCAPE:s.mdMenuCtrl.close(!1,{closeAll:!0}),t=!0;break;case l.KEY_CODE.UP_ARROW:m(e,s.menuContentEl,s,-1)||s.nestLevel||s.mdMenuCtrl.triggerContainerProxy(e),t=!0;break;case l.KEY_CODE.DOWN_ARROW:m(e,s.menuContentEl,s,1)||s.nestLevel||s.mdMenuCtrl.triggerContainerProxy(e),t=!0;break;case l.KEY_CODE.LEFT_ARROW:s.nestLevel?s.mdMenuCtrl.close():s.mdMenuCtrl.triggerContainerProxy(e),t=!0;break;case l.KEY_CODE.RIGHT_ARROW:var n=C.getClosest(e.target,"MD-MENU");n&&n!=s.parent[0]?e.target.click():s.mdMenuCtrl.triggerContainerProxy(e),t=!0}t&&(e.preventDefault(),e.stopImmediatePropagation())}function r(e){e.preventDefault(),e.stopPropagation(),a.$apply(function(){s.mdMenuCtrl.close(!0,{closeAll:!0})})}function i(e){var t=e.target;do{if(t==s.menuContentEl[0])return;if((r(t,["ng-click","ng-href","ui-sref"])||"BUTTON"==t.nodeName||"MD-BUTTON"==t.nodeName)&&!r(t,["md-prevent-menu-close"])){var n=C.getClosest(t,"MD-MENU");t.hasAttribute("disabled")||n&&n!=s.parent[0]||a.$apply(function(){s.mdMenuCtrl.close(!0,{closeAll:!0})});break}}while(t=t.parentNode);function r(e,t){if(!e)return!1;for(var n,r=0;n=t[r];++r)if(T.hasAttribute(e,n))return!0;return!1}}}(),e});var e,t;var n,r,i},onRemove:function(e,n,r){return r.cleanupInteraction&&r.cleanupInteraction(),r.cleanupResizing(),r.hideBackdrop(),!0===r.$destroy?t():d(n,{addClass:"md-leave"}).start().then(t);function t(){var e,t;n.removeClass("md-active"),e=n,(t=r).preserveElement?i(e).style.display="none":i(e).parentNode===i(t.parent)&&i(t.parent).removeChild(i(e)),r.alreadyOpen=!1}},hasBackdrop:!0,disableParentScroll:!0,skipCompile:!0,preserveScope:!0,skipHide:!0,themable:!0};function m(e,t,n,r){for(var i,a=C.getClosest(e.target,"MD-MENU-ITEM"),o=C.nodesToArray(t[0].children),s=o.indexOf(a)+r;0<=s&&s<o.length;s+=r){if(i=g(o[s].querySelector(".md-button")))break}return i}function g(e){if(e&&-1!=e.getAttribute("tabindex"))return e.focus(),A[0].activeElement==e}function _(e,t){var n,r=e[0],i=e[0].firstElementChild,a=i.getBoundingClientRect(),o=A[0].body.getBoundingClientRect(),s=S.getComputedStyle(i),c=t.target[0].querySelector(T.buildSelector("md-menu-origin"))||t.target[0],l=c.getBoundingClientRect(),u={left:o.left+x,top:Math.max(o.top,0)+x,bottom:Math.max(o.bottom,Math.max(o.top,0)+o.height)-x,right:o.right-x},f={top:0,left:0,right:0,bottom:0},d={top:0,left:0,right:0,bottom:0},h=t.mdMenuCtrl.positionMode();"target"!=h.top&&"target"!=h.left&&"target-right"!=h.left||(n=function(){for(var e=0;e<i.children.length;++e)if("none"!=S.getComputedStyle(i.children[e]).display)return i.children[e]}())&&(f=(n=(n=n.firstElementChild||n).querySelector(T.buildSelector("md-menu-align-target"))||n).getBoundingClientRect(),d={top:parseFloat(r.style.top||0),left:parseFloat(r.style.left||0)});var p={},m="top ";switch(h.top){case"target":p.top=d.top+l.top-f.top;break;case"cascade":p.top=l.top-parseFloat(s.paddingTop)-c.style.top;break;case"bottom":p.top=l.top+l.height;break;default:throw new Error('Invalid target mode "'+h.top+'" specified for md-menu on Y axis.')}var g="rtl"==C.bidi();switch(h.left){case"target":p.left=d.left+l.left-f.left,m+=g?"right":"left";break;case"target-left":p.left=l.left,m+="left";break;case"target-right":p.left=l.right-a.width+(a.right-f.right),m+="right";break;case"cascade":var _=g?l.left-a.width<u.left:l.right+a.width<u.right;p.left=_?l.right-c.style.left:l.left-c.style.left-a.width,m+=_?"left":"right";break;case"right":g?(p.left=l.right-l.width,m+="left"):(p.left=l.right-a.width,m+="right");break;case"left":g?(p.left=l.right-a.width,m+="right"):(p.left=l.left,m+="left");break;default:throw new Error('Invalid target mode "'+h.left+'" specified for md-menu on X axis.')}var b,v=t.mdMenuCtrl.offsets();p.top+=v.top,p.left+=v.left,(b=p).top=Math.max(Math.min(b.top,u.bottom-r.offsetHeight),u.top),b.left=Math.max(Math.min(b.left,u.right-r.offsetWidth),u.left);var y=Math.round(100*Math.min(l.width/r.offsetWidth,1))/100,w=Math.round(100*Math.min(l.height/r.offsetHeight,1))/100;return{top:Math.round(p.top),left:Math.round(p.left),transform:t.alreadyOpen?ae:C.supplant("scale({0},{1})",[y,w]),transformOrigin:m}}}function i(e){return e instanceof ie.element&&(e=e[0]),e}}e.$inject=["$$interimElementProvider"],ie.module("material.components.menu").provider("$mdMenu",e)}(),function(){e.$inject=["$scope","$rootScope","$element","$attrs","$mdConstant","$document","$mdUtil","$timeout"],ie.module("material.components.menuBar").controller("MenuBarController",e);var l=["handleKeyDown","handleMenuHover","scheduleOpenHoveredMenu","cancelScheduledOpen"];function e(e,t,n,r,i,a,o,s){this.$element=n,this.$attrs=r,this.$mdConstant=i,this.$mdUtil=o,this.$document=a,this.$scope=e,this.$rootScope=t,this.$timeout=s;var c=this;ie.forEach(l,function(e){c[e]=ie.bind(c,c[e])})}e.prototype.init=function(){var a=this.$element,o=this.$mdUtil,e=this.$scope,s=this,t=[];a.on("keydown",this.handleKeyDown),this.parentToolbar=o.getClosest(a,"MD-TOOLBAR"),t.push(this.$rootScope.$on("$mdMenuOpen",function(e,t){-1!=s.getMenus().indexOf(t[0])&&(a[0].classList.add("md-open"),t[0].classList.add("md-open"),s.currentlyOpenMenu=t.controller("mdMenu"),s.currentlyOpenMenu.registerContainerProxy(s.handleKeyDown),s.enableOpenOnHover())})),t.push(this.$rootScope.$on("$mdMenuClose",function(e,t,n){var r=s.getMenus();if(-1!=r.indexOf(t[0])&&(a[0].classList.remove("md-open"),t[0].classList.remove("md-open")),a[0].contains(t[0])){for(var i=t[0];i&&-1==r.indexOf(i);)i=o.getClosest(i,"MD-MENU",!0);i&&(n.skipFocus||i.querySelector("button:not([disabled])").focus(),s.currentlyOpenMenu=ae,s.disableOpenOnHover(),s.setKeyboardMode(!0))}})),e.$on("$destroy",function(){for(s.disableOpenOnHover();t.length;)t.shift()()}),this.setKeyboardMode(!0)},e.prototype.setKeyboardMode=function(e){e?this.$element[0].classList.add("md-keyboard-mode"):this.$element[0].classList.remove("md-keyboard-mode")},e.prototype.enableOpenOnHover=function(){if(!this.openOnHoverEnabled){var e=this;e.openOnHoverEnabled=!0,e.parentToolbar&&(e.parentToolbar.classList.add("md-has-open-menu"),e.$mdUtil.nextTick(function(){ie.element(e.parentToolbar).on("click",e.handleParentClick)},!1)),ie.element(e.getMenus()).on("mouseenter",e.handleMenuHover)}},e.prototype.handleMenuHover=function(e){this.setKeyboardMode(!1),this.openOnHoverEnabled&&this.scheduleOpenHoveredMenu(e)},e.prototype.disableOpenOnHover=function(){this.openOnHoverEnabled&&(this.openOnHoverEnabled=!1,this.parentToolbar&&(this.parentToolbar.classList.remove("md-has-open-menu"),ie.element(this.parentToolbar).off("click",this.handleParentClick)),ie.element(this.getMenus()).off("mouseenter",this.handleMenuHover))},e.prototype.scheduleOpenHoveredMenu=function(e){var t=ie.element(e.currentTarget).controller("mdMenu");this.setKeyboardMode(!1),this.scheduleOpenMenu(t)},e.prototype.scheduleOpenMenu=function(e){var t=this,n=this.$timeout;e!=t.currentlyOpenMenu&&(n.cancel(t.pendingMenuOpen),t.pendingMenuOpen=n(function(){t.pendingMenuOpen=ae,t.currentlyOpenMenu&&t.currentlyOpenMenu.close(!0,{closeAll:!0}),e.open()},200,!1))},e.prototype.handleKeyDown=function(e){var t,n,r,i=this.$mdConstant.KEY_CODE,a=this.currentlyOpenMenu,o=a&&a.isOpen;switch(this.setKeyboardMode(!0),e.keyCode){case i.DOWN_ARROW:a?a.focusMenuContainer():this.openFocusedMenu(),t=!0;break;case i.UP_ARROW:a&&a.close(),t=!0;break;case i.LEFT_ARROW:n=this.focusMenu(-1),o&&(r=ie.element(n).controller("mdMenu"),this.scheduleOpenMenu(r)),t=!0;break;case i.RIGHT_ARROW:n=this.focusMenu(1),o&&(r=ie.element(n).controller("mdMenu"),this.scheduleOpenMenu(r)),t=!0}t&&(e&&e.preventDefault&&e.preventDefault(),e&&e.stopImmediatePropagation&&e.stopImmediatePropagation())},e.prototype.focusMenu=function(e){var t=this.getMenus(),n=this.getFocusedMenuIndex();-1==n&&(n=this.getOpenMenuIndex());var r=!1;if(-1==n?r=!(n=0):(e<0&&0<n||0<e&&n<t.length-e)&&(n+=e,r=!0),r)return t[n].querySelector("button").focus(),t[n]},e.prototype.openFocusedMenu=function(){var e=this.getFocusedMenu();e&&ie.element(e).controller("mdMenu").open()},e.prototype.getMenus=function(){var e=this.$element;return this.$mdUtil.nodesToArray(e[0].children).filter(function(e){return"MD-MENU"==e.nodeName})},e.prototype.getFocusedMenu=function(){return this.getMenus()[this.getFocusedMenuIndex()]},e.prototype.getFocusedMenuIndex=function(){var e=this.$mdUtil.getClosest(this.$document[0].activeElement,"MD-MENU");return e?this.getMenus().indexOf(e):-1},e.prototype.getOpenMenuIndex=function(){for(var e=this.getMenus(),t=0;t<e.length;++t)if(e[t].classList.contains("md-open"))return t;return-1},e.prototype.handleParentClick=function(e){var t=this.querySelector("md-menu.md-open");t&&!t.contains(e.target)&&ie.element(t).controller("mdMenu").close()}}(),function(){function e(n,i){return{restrict:"E",require:"mdMenuBar",controller:"MenuBarController",compile:function(e,t){return t.ariaRole||e[0].setAttribute("role","menubar"),ie.forEach(e[0].children,function(e){if("MD-MENU"==e.nodeName){e.hasAttribute("md-position-mode")||(e.setAttribute("md-position-mode","left bottom"),e.querySelector("button, a, md-button").setAttribute("role","menuitem"));var t=n.nodesToArray(e.querySelectorAll("md-menu-content"));ie.forEach(t,function(e){e.classList.add("md-menu-bar-menu"),e.classList.add("md-dense"),e.hasAttribute("width")||e.setAttribute("width",5)})}}),e.find("md-menu-item").addClass("md-in-menu-bar"),function(e,t,n,r){t.addClass("_md"),i(e,t),r.init()}}}}e.$inject=["$mdUtil","$mdTheming"],ie.module("material.components.menuBar").directive("mdMenuBar",e)}(),ie.module("material.components.menuBar").directive("mdMenuDivider",function(){return{restrict:"E",compile:function(e,t){t.role||e[0].setAttribute("role","separator")}}}),function(){function e(e,t,n){this.$element=t,this.$attrs=n,this.$scope=e}e.$inject=["$scope","$element","$attrs"],ie.module("material.components.menuBar").controller("MenuItemController",e),e.prototype.init=function(e){var t=this.$element,n=this.$attrs;this.ngModel=e,"checkbox"!=n.type&&"radio"!=n.type||(this.mode=n.type,this.iconEl=t[0].children[0],this.buttonEl=t[0].children[1],e&&this.initClickListeners())},e.prototype.clearNgAria=function(){var t=this.$element[0];ie.forEach(["role","tabindex","aria-invalid","aria-checked"],function(e){t.removeAttribute(e)})},e.prototype.initClickListeners=function(){var e=this,t=this.ngModel,n=this.$scope,r=this.$attrs,i=(this.$element,this.mode);this.handleClick=ie.bind(this,this.handleClick);var a=this.iconEl,o=ie.element(this.buttonEl),s=this.handleClick;function c(e){e?o.off("click",s):o.on("click",s)}r.$observe("disabled",c),c(r.disabled),t.$render=function(){e.clearNgAria(),!function(){{if("radio"!=i)return t.$modelValue;var e=r.ngValue?n.$eval(r.ngValue):r.value;return t.$modelValue==e}}()?(a.style.display="none",o.attr("aria-checked","false")):(a.style.display="",o.attr("aria-checked","true"))},n.$$postDigest(t.$render)},e.prototype.handleClick=function(e){var t,n=this.mode,r=this.ngModel,i=this.$attrs;"checkbox"==n?t=!r.$modelValue:"radio"==n&&(t=i.ngValue?this.$scope.$eval(i.ngValue):i.value),r.$setViewValue(t),r.$render()}}(),function(){function e(u,f){return{controller:"MenuItemController",require:["mdMenuItem","?ngModel"],priority:210,compile:function(r,e){var t,n,i=e.type,a="md-in-menu-bar";if("checkbox"!=i&&"radio"!=i||!r.hasClass(a))l("role","menuitem",r[0].querySelector("md-button, button, a"));else{var o=r[0].textContent,s=ie.element('<md-button type="button"></md-button>'),c='<md-icon md-svg-src="'+f.mdChecked+'"></md-icon>';s.html(o),s.attr("tabindex","0"),r.html(""),r.append(ie.element(c)),r.append(s),r.addClass("md-indent").removeClass(a),l("role","checkbox"==i?"menuitemcheckbox":"menuitemradio",s),t="ng-disabled",n=u.prefixer(t),ie.forEach(n,function(e){if(r[0].hasAttribute(e)){var t=r[0].getAttribute(e);s[0].setAttribute(e,t),r[0].removeAttribute(e)}})}return function(e,t,n,r){var i=r[0],a=r[1];i.init(a)};function l(e,t,n){(n=n||r)instanceof ie.element&&(n=n[0]),n.hasAttribute(e)||n.setAttribute(e,t)}}}}e.$inject=["$mdUtil","$$mdSvgRegistry"],ie.module("material.components.menuBar").directive("mdMenuItem",e)}(),function(){function e(g,_,b,v,y,e){var w=g.requestAnimationFrame||g.webkitRequestAnimationFrame||ie.noop,C=g.cancelAnimationFrame||g.webkitCancelAnimationFrame||g.webkitCancelRequestAnimationFrame||ie.noop,i=g.Math.PI/180,A="determinate",S="indeterminate",T="_md-progress-circular-disabled",x="md-mode-indeterminate";return{restrict:"E",scope:{value:"@",mdDiameter:"@",mdMode:"@"},template:'<svg xmlns="http://www.w3.org/2000/svg"><path fill="none"/></svg>',compile:function(e,t){if(e.attr({"aria-valuemin":0,"aria-valuemax":100,role:"progressbar"}),ie.isUndefined(t.mdMode)){var n=ie.isDefined(t.value)?A:S;t.$set("mdMode",n)}else t.$set("mdMode",t.mdMode.trim());return r}};function r(d,a,o){var h,e,t=a[0],s=ie.element(t.querySelector("svg")),p=ie.element(t.querySelector("path")),n=_.startIndeterminate,r=_.endIndeterminate,i=0,m=0;function c(n,e,t,r,i){var a=++m,o=v.now(),s=e-n,c=D(d.mdDiameter),l=c-I(c),u=t||_.easeFn,f=r||_.duration;e===n?p.attr("d",k(e,c,l,i)):h=w(function e(){var t=g.Math.max(0,g.Math.min(v.now()-o,f));p.attr("d",k(u(t,n,s,f),c,l,i)),a===m&&t<f&&(h=w(e))})}function l(){c(n,r,_.easeFnIndeterminate,_.durationIndeterminate,i),i=(i+r)%100;var e=n;n=-r,r=-e}function u(){e||(e=y(l,_.durationIndeterminate+50,0,!1),l(),a.addClass(x).removeAttr("aria-valuenow"))}function f(){e&&(y.cancel(e),e=null,a.removeClass(x))}b(a),a.toggleClass(T,o.hasOwnProperty("disabled")),d.mdMode===S&&u(),d.$on("$destroy",function(){f(),h&&C(h)}),d.$watchGroup(["value","mdMode",function(){var e=t.disabled;return!0===e||!1===e?e:ie.isDefined(a.attr("disabled"))}],function(e,t){var n=e[1],r=e[2];if(r!==t[2]&&a.toggleClass(T,!!r),r)f();else if(n!==A&&n!==S&&(n=S,o.$set("mdMode",n)),n===S)u();else{var i=E(e[0]);f(),a.attr("aria-valuenow",i),c(E(t[0]),i)}}),d.$watch("mdDiameter",function(e){var t=D(e),n=I(t),r=t/2+"px",i={width:t+"px",height:t+"px"};s[0].setAttribute("viewBox","0 0 "+t+" "+t),s.css(i).css("transform-origin",r+" "+r+" "+r),a.css(i),p.css("stroke-width",n+"px")})}function k(e,t,n,r){var i=t/2,a=n/2,o=3.5999*(r||0),s=3.5999*e;return"M"+c(i,a,o)+"A"+a+","+a+" 0 "+(s<0?-180<=s?0:1:s<=180?0:1)+","+(s<0?0:1)+" "+c(i,a,s+o)}function c(e,t,n){var r=(n-90)*i;return e+t*g.Math.cos(r)+","+(e+t*g.Math.sin(r))}function E(e){return g.Math.max(0,g.Math.min(e||0,100))}function D(e){var t=_.progressSize;if(e){var n=parseFloat(e);return e.lastIndexOf("%")===e.length-1&&(n=n/100*t),n}return t}function I(e){return _.strokeWidth/100*e}}e.$inject=["$window","$mdProgressCircular","$mdTheming","$mdUtil","$interval","$log"],ie.module("material.components.progressCircular").directive("mdProgressCircular",e)}(),ie.module("material.components.progressCircular").provider("$mdProgressCircular",function(){var t={progressSize:50,strokeWidth:10,duration:100,easeFn:e,durationIndeterminate:500,startIndeterminate:3,endIndeterminate:80,easeFnIndeterminate:n,easingPresets:{linearEase:e,materialEase:n}};return{configure:function(e){return t=ie.extend(t,e||{})},$get:function(){return t}};function e(e,t,n,r){return n*e/r+t}function n(e,t,n,r){var i=(e/=r)*e,a=i*e;return t+n*(6*a*i+-15*i*i+10*a)}}),ie.module("material.components.tabs").directive("mdTab",function(){return{require:"^?mdTabs",terminal:!0,compile:function(e,t){var n=c(e,"md-tab-label"),r=c(e,"md-tab-body");if(0==n.length&&(n=ie.element("<md-tab-label></md-tab-label>"),t.label?n.text(t.label):n.append(e.contents()),0==r.length)){var i=e.contents().detach();(r=ie.element("<md-tab-body></md-tab-body>")).append(i)}return e.append(n),r.html()&&e.append(r),a},scope:{active:"=?mdActive",disabled:"=?ngDisabled",select:"&?mdOnSelect",deselect:"&?mdOnDeselect"}};function a(e,t,n,r){if(r){var i=r.getTabElementIndex(t),a=c(t,"md-tab-body").remove(),o=c(t,"md-tab-label").remove(),s=r.insertTab({scope:e,parent:e.$parent,index:i,element:t,template:a.html(),label:o.html()},i);e.select=e.select||ie.noop,e.deselect=e.deselect||ie.noop,e.$watch("active",function(e){e&&r.select(s.getIndex(),!0)}),e.$watch("disabled",function(){r.refreshIndex()}),e.$watch(function(){return r.getTabElementIndex(t)},function(e){s.index=e,r.updateTabOrder()}),e.$on("$destroy",function(){r.removeTab(s)})}}function c(e,t){for(var n=e[0].children,r=0,i=n.length;r<i;r++){var a=n[r];if(a.tagName===t.toUpperCase())return ie.element(a)}return ie.element()}}),ie.module("material.components.tabs").directive("mdTabItem",function(){return{require:"^?mdTabs",link:function(e,t,n,r){r&&r.attachRipple(e,t)}}}),ie.module("material.components.tabs").directive("mdTabLabel",function(){return{terminal:!0}}),function(){function e(r){return{restrict:"A",compile:function(e,t){var n=r(t.mdTabScroll,null,!0);return function(t,e){e.on("mousewheel",function(e){t.$apply(function(){n(t,{$event:e})})})}}}}e.$inject=["$parse"],ie.module("material.components.tabs").directive("mdTabScroll",e)}(),function(){function e(o,c,e,r,i,l,u,a,t,n){var s,f,d=this,h=!1,p=(C(),[]),m=!1,g=!1;function _(t,e){var n=a.$normalize("md-"+t);function r(e){d[t]="false"!==e}e&&x(t,e),a.hasOwnProperty(n)&&r(a[n]),a.$observe(n,r)}function b(){m=!0,ie.element(e).off("resize",w)}function v(e,t){e!==t&&(d.selectedIndex=T(e),d.lastSelectedIndex=t,d.updateInkBarStyles(),O(),M(e),o.$broadcast("$mdTabsChanged"),d.tabs[t]&&d.tabs[t].scope.deselect(),d.tabs[e]&&d.tabs[e].scope.select())}function y(e,t){h||(d.focusIndex=d.selectedIndex=e),d.lastClick=!0,t&&d.noSelectClick||l.nextTick(function(){d.tabs[e].element.triggerHandler("click")},!1)}function w(){d.lastSelectedIndex=d.selectedIndex,d.offsetLeft=N(d.offsetLeft),l.nextTick(function(){d.updateInkBarStyles(),k()})}function C(){var e={},t=c[0];return e.wrapper=t.querySelector("md-tabs-wrapper"),e.canvas=e.wrapper.querySelector("md-tabs-canvas"),e.paging=e.canvas.querySelector("md-pagination-wrapper"),e.inkBar=e.paging.querySelector("md-ink-bar"),e.contents=t.querySelectorAll("md-tabs-content-wrapper > md-tab-content"),e.tabs=e.paging.querySelectorAll("md-tab-item"),e.dummies=e.canvas.querySelectorAll("md-dummy-tab"),e}function A(){switch(d.stretchTabs){case"always":return!0;case"never":return!1;default:return!d.shouldPaginate&&e.matchMedia("(max-width: 600px)").matches}}function S(){return d.centerTabs&&!d.shouldPaginate}function T(e){if(-1===e)return-1;var t,n,r=Math.max(d.tabs.length-e,e);for(t=0;t<=r;t++){if((n=d.tabs[e+t])&&!0!==n.scope.disabled)return n.getIndex();if((n=d.tabs[e-t])&&!0!==n.scope.disabled)return n.getIndex()}return e}function x(e,n,r){Object.defineProperty(d,e,{get:function(){return r},set:function(e){var t=r;r=e,n&&n(e,t)}})}function k(){var e;e=C(),A()?ie.element(e.paging).css("width",""):ie.element(e.paging).css("width",E(C().dummies)+"px"),d.maxTabWidth=D(),d.shouldPaginate=function(){if(d.noPagination||!g)return!1;var t=c.prop("clientWidth");return ie.forEach(C().dummies,function(e){t-=e.offsetWidth}),t<0}()}function E(e){var t=0;return ie.forEach(e,function(e){t+=Math.max(e.offsetWidth,e.getBoundingClientRect().width)}),Math.ceil(t)}function D(){return c.prop("clientWidth")}function I(e,t){var n,r=t?"focusIndex":"selectedIndex";for(n=d[r]+e;d.tabs[n]&&d.tabs[n].scope.disabled;n+=e);d.tabs[n]&&(d[r]=n)}function P(){C().dummies[d.focusIndex].focus()}function M(e){var t=C();if(null==e&&(e=d.focusIndex),t.tabs[e]&&!d.shouldCenterTabs){var n=t.tabs[e],r=n.offsetLeft,i=n.offsetWidth+r;d.offsetLeft=Math.max(d.offsetLeft,N(i-t.canvas.clientWidth+64)),d.offsetLeft=Math.min(d.offsetLeft,N(r))}}function $(){d.selectedIndex=T(d.selectedIndex),d.focusIndex=T(d.focusIndex)}function O(){if(!d.dynamicHeight)return c.css("height","");if(!d.tabs.length)return p.push(O);var e=C(),t=e.contents[d.selectedIndex],n=t?t.offsetHeight:0,r=e.wrapper.offsetHeight,i=n+r,a=c.prop("clientHeight");if(a!==i){"bottom"===c.attr("md-align-tabs")&&(a-=r,i-=r,c.attr("md-border-bottom")!==ae&&++a),h=!0;var o={height:a+"px"},s={height:i+"px"};c.css(o),u(c,{from:o,to:s,easing:"cubic-bezier(0.35, 0, 0.25, 1)",duration:.5}).start().done(function(){c.css({transition:"none",height:""}),l.nextTick(function(){c.css("transition","")}),h=!1})}}function R(){var e=C();if(e.tabs[d.selectedIndex]){if(!d.tabs.length)return p.push(d.updateInkBarStyles);if(!c.prop("offsetParent"))return function e(){e.watcher||(e.watcher=o.$watch(function(){l.nextTick(function(){e.watcher&&c.prop("offsetParent")&&(e.watcher(),e.watcher=null,w())},!1)}))}();var t=d.selectedIndex,n=e.paging.offsetWidth,r=e.tabs[t],i=r.offsetLeft,a=n-i-r.offsetWidth;if(d.shouldCenterTabs)E(e.tabs)<n&&l.nextTick(R,!1);!function(){var e=C(),t=d.selectedIndex,n=d.lastSelectedIndex,r=ie.element(e.inkBar);if(!ie.isNumber(n))return;r.toggleClass("md-left",t<n).toggleClass("md-right",n<t)}(),ie.element(e.inkBar).css({left:i+"px",right:a+"px"})}else ie.element(e.inkBar).css({left:"auto",right:"auto"})}function N(e){var t=C();if(!t.tabs.length||!d.shouldPaginate)return 0;var n=t.tabs[t.tabs.length-1],r=n.offsetLeft+n.offsetWidth;return e=Math.max(0,e),e=Math.min(r-t.canvas.clientWidth,e)}!function(t,e){var n=a.$normalize("md-"+t);e&&x(t,e);a.$observe(n,function(e){d[t]=e})}("stretchTabs",function(e){var t=C();ie.element(t.wrapper).toggleClass("md-stretch-tabs",A()),R()}),x("focusIndex",function(e,t){if(e===t)return;if(!C().tabs[e])return;M(),P()},d.selectedIndex||0),x("offsetLeft",function(e){var t=C(),n=d.shouldCenterTabs?"":"-"+e+"px";ie.element(t.paging).css(r.CSS.TRANSFORM,"translate3d("+n+", 0, 0)"),o.$broadcast("$mdTabsPaginationChanged")},0),x("hasContent",function(e){c[e?"removeClass":"addClass"]("md-no-tab-content")},!1),x("maxTabWidth",function(t,e){if(t!==e){var n=C();ie.forEach(n.tabs,function(e){e.style.maxWidth=t+"px"}),l.nextTick(d.updateInkBarStyles)}},D()),x("shouldPaginate",function(e,t){e!==t&&(d.maxTabWidth=D(),d.shouldCenterTabs=S(),l.nextTick(function(){d.maxTabWidth=D(),M(d.selectedIndex)}))},!1),_("noInkBar",function(e){ie.element(C().inkBar).toggleClass("ng-hide",e)}),_("dynamicHeight",function(e){c.toggleClass("md-dynamic-height",e)}),_("noPagination"),_("swipeContent"),_("noDisconnect"),_("autoselect"),_("noSelectClick"),_("centerTabs",function(e){d.shouldCenterTabs=S()}),_("enableDisconnect"),d.scope=o,d.parent=o.$parent,d.tabs=[],d.lastSelectedIndex=null,d.hasFocus=!1,d.lastClick=!0,d.shouldCenterTabs=S(),d.updatePagination=l.debounce(k,100),d.redirectFocus=P,d.attachRipple=function(e,t){var n=C(),r={colorElement:ie.element(n.inkBar)};i.attach(e,t,r)},d.insertTab=function(e,t){var n=g,r={getIndex:function(){return d.tabs.indexOf(i)},isActive:function(){return this.getIndex()===d.selectedIndex},isLeft:function(){return this.getIndex()<d.selectedIndex},isRight:function(){return this.getIndex()>d.selectedIndex},shouldRender:function(){return!d.noDisconnect||this.isActive()},hasFocus:function(){return!d.lastClick&&d.hasFocus&&this.getIndex()===d.focusIndex},id:l.nextUid()},i=ie.extend(r,e);ie.isDefined(t)?d.tabs.splice(t,0,i):d.tabs.push(i);return p.forEach(function(e){l.nextTick(e)}),p=[],a=!1,ie.forEach(d.tabs,function(e){e.template&&(a=!0)}),d.hasContent=a,l.nextTick(function(){k(),n&&d.autoselect&&l.nextTick(function(){l.nextTick(function(){y(d.tabs.indexOf(i))})})}),i;var a},d.removeTab=function(e){if(m)return;var t=d.selectedIndex,n=d.tabs.splice(e.getIndex(),1)[0];$(),d.selectedIndex===t&&(n.scope.deselect(),d.tabs[d.selectedIndex]&&d.tabs[d.selectedIndex].scope.select());l.nextTick(function(){k(),d.offsetLeft=N(d.offsetLeft)})},d.select=y,d.scroll=function(e){if(!d.shouldPaginate)return;e.preventDefault(),d.offsetLeft=N(d.offsetLeft-e.wheelDelta)},d.nextPage=function(){var e,t,n=C(),r=n.canvas.clientWidth,i=r+d.offsetLeft;for(e=0;e<n.tabs.length&&!((t=n.tabs[e]).offsetLeft+t.offsetWidth>i);e++);r>t.offsetWidth?d.offsetLeft=N(t.offsetLeft):d.offsetLeft=N(t.offsetLeft+(t.offsetWidth-r+1))},d.previousPage=function(){var e,t,n=C();for(e=0;e<n.tabs.length&&!((t=n.tabs[e]).offsetLeft+t.offsetWidth>=d.offsetLeft);e++);n.canvas.clientWidth>t.offsetWidth?d.offsetLeft=N(t.offsetLeft+t.offsetWidth-n.canvas.clientWidth):d.offsetLeft=N(t.offsetLeft)},d.keydown=function(e){switch(e.keyCode){case r.KEY_CODE.LEFT_ARROW:e.preventDefault(),I(-1,!0);break;case r.KEY_CODE.RIGHT_ARROW:e.preventDefault(),I(1,!0);break;case r.KEY_CODE.SPACE:case r.KEY_CODE.ENTER:e.preventDefault(),h||y(d.focusIndex)}d.lastClick=!1},d.canPageForward=function(){var e=C(),t=e.tabs[e.tabs.length-1];return t&&t.offsetLeft+t.offsetWidth>e.canvas.clientWidth+d.offsetLeft},d.canPageBack=function(){return 0<d.offsetLeft},d.refreshIndex=$,d.incrementIndex=I,d.getTabElementIndex=function(e){var t=c[0].getElementsByTagName("md-tab");return Array.prototype.indexOf.call(t,e[0])},d.updateInkBarStyles=l.debounce(R,100),d.updateTabOrder=l.debounce(function(){var e=d.tabs[d.selectedIndex],t=d.tabs[d.focusIndex];d.tabs=d.tabs.sort(function(e,t){return e.index-t.index}),d.selectedIndex=d.tabs.indexOf(e),d.focusIndex=d.tabs.indexOf(t)},100),d.selectedIndex=d.selectedIndex||0,s=a.$mdTabsTemplate,(f=ie.element(c[0].querySelector("md-tab-data"))).html(s),t(f.contents())(d.parent),delete a.$mdTabsTemplate,o.$watch("$mdTabsCtrl.selectedIndex",v),ie.element(e).on("resize",w),o.$on("$destroy",b),n(c),l.nextTick(function(){C(),O(),M(),R(),d.tabs[d.selectedIndex]&&d.tabs[d.selectedIndex].scope.select(),g=!0,k()})}e.$inject=["$scope","$element","$window","$mdConstant","$mdTabInkRipple","$mdUtil","$animateCss","$attrs","$compile","$mdTheming"],ie.module("material.components.tabs").controller("MdTabsController",e)}(),function(){function e(n){return{scope:{selectedIndex:"=?mdSelected"},template:function(e,t){return t.$mdTabsTemplate=e.html(),'<md-tabs-wrapper> <md-tab-data></md-tab-data> <md-prev-button tabindex="-1" role="button" aria-label="Previous Page" aria-disabled="{{!$mdTabsCtrl.canPageBack()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageBack() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.previousPage()"> <md-icon md-svg-src="'+n.mdTabsArrow+'"></md-icon> </md-prev-button> <md-next-button tabindex="-1" role="button" aria-label="Next Page" aria-disabled="{{!$mdTabsCtrl.canPageForward()}}" ng-class="{ \'md-disabled\': !$mdTabsCtrl.canPageForward() }" ng-if="$mdTabsCtrl.shouldPaginate" ng-click="$mdTabsCtrl.nextPage()"> <md-icon md-svg-src="'+n.mdTabsArrow+'"></md-icon> </md-next-button> <md-tabs-canvas tabindex="{{ $mdTabsCtrl.hasFocus ? -1 : 0 }}" aria-activedescendant="tab-item-{{$mdTabsCtrl.tabs[$mdTabsCtrl.focusIndex].id}}" ng-focus="$mdTabsCtrl.redirectFocus()" ng-class="{ \'md-paginated\': $mdTabsCtrl.shouldPaginate, \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" ng-keydown="$mdTabsCtrl.keydown($event)" role="tablist"> <md-pagination-wrapper ng-class="{ \'md-center-tabs\': $mdTabsCtrl.shouldCenterTabs }" md-tab-scroll="$mdTabsCtrl.scroll($event)"> <md-tab-item tabindex="-1" class="md-tab" ng-repeat="tab in $mdTabsCtrl.tabs" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-click="$mdTabsCtrl.select(tab.getIndex())" ng-class="{ \'md-active\': tab.isActive(), \'md-focused\': tab.hasFocus(), \'md-disabled\': tab.scope.disabled }" ng-disabled="tab.scope.disabled" md-swipe-left="$mdTabsCtrl.nextPage()" md-swipe-right="$mdTabsCtrl.previousPage()" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-tab-item> <md-ink-bar></md-ink-bar> </md-pagination-wrapper> <md-tabs-dummy-wrapper class="md-visually-hidden md-dummy-wrapper"> <md-dummy-tab class="md-tab" tabindex="-1" id="tab-item-{{::tab.id}}" role="tab" aria-controls="tab-content-{{::tab.id}}" aria-selected="{{tab.isActive()}}" aria-disabled="{{tab.scope.disabled || \'false\'}}" ng-focus="$mdTabsCtrl.hasFocus = true" ng-blur="$mdTabsCtrl.hasFocus = false" ng-repeat="tab in $mdTabsCtrl.tabs" md-tabs-template="::tab.label" md-scope="::tab.parent"></md-dummy-tab> </md-tabs-dummy-wrapper> </md-tabs-canvas> </md-tabs-wrapper> <md-tabs-content-wrapper ng-show="$mdTabsCtrl.hasContent && $mdTabsCtrl.selectedIndex >= 0" class="_md"> <md-tab-content id="tab-content-{{::tab.id}}" class="_md" role="tabpanel" aria-labelledby="tab-item-{{::tab.id}}" md-swipe-left="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(1)" md-swipe-right="$mdTabsCtrl.swipeContent && $mdTabsCtrl.incrementIndex(-1)" ng-if="$mdTabsCtrl.hasContent" ng-repeat="(index, tab) in $mdTabsCtrl.tabs" ng-class="{ \'md-no-transition\': $mdTabsCtrl.lastSelectedIndex == null, \'md-active\': tab.isActive(), \'md-left\': tab.isLeft(), \'md-right\': tab.isRight(), \'md-no-scroll\': $mdTabsCtrl.dynamicHeight }"> <div md-tabs-template="::tab.template" md-connected-if="tab.isActive()" md-scope="::tab.parent" ng-if="$mdTabsCtrl.enableDisconnect || tab.shouldRender()"></div> </md-tab-content> </md-tabs-content-wrapper>'},controller:"MdTabsController",controllerAs:"$mdTabsCtrl",bindToController:!0}}e.$inject=["$$mdSvgRegistry"],ie.module("material.components.tabs").directive("mdTabs",e)}(),function(){function e(c,l){return{require:"^?mdTabs",link:function(e,t,n,r){if(r){var i,a,o=function(){r.updatePagination(),r.updateInkBarStyles()};if("MutationObserver"in l){(i=new MutationObserver(o)).observe(t[0],{childList:!0,subtree:!0,characterData:!0}),a=i.disconnect.bind(i)}else{var s=c.debounce(o,15,null,!1);t.on("DOMSubtreeModified",s),a=t.off.bind(t,"DOMSubtreeModified",s)}e.$on("$destroy",function(){a()})}}}}e.$inject=["$mdUtil","$window"],ie.module("material.components.tabs").directive("mdTabsDummyWrapper",e)}(),function(){function e(o,s){return{restrict:"A",link:function(e,t,n,r){if(!r)return;var i=r.enableDisconnect?e.compileScope.$new():e.compileScope;return t.html(e.template),o(t.contents())(i),s.nextTick(function(){e.$watch("connected",function(e){!1===e?r.enableDisconnect&&s.disconnectScope(i):a()}),e.$on("$destroy",a)});function a(){r.enableDisconnect&&s.reconnectScope(i)}},scope:{template:"=mdTabsTemplate",connected:"=?mdConnectedIf",compileScope:"=mdScope"},require:"^?mdTabs"}}e.$inject=["$compile","$mdUtil"],ie.module("material.components.tabs").directive("mdTabsTemplate",e)}(),ie.module("material.core").constant("$MD_THEME_CSS","md-autocomplete.md-THEME_NAME-theme { background: '{{background-A100}}'; } md-autocomplete.md-THEME_NAME-theme[disabled]:not([md-floating-label]) { background: '{{background-100}}'; } md-autocomplete.md-THEME_NAME-theme button md-icon path { fill: '{{background-600}}'; } md-autocomplete.md-THEME_NAME-theme button:after { background: '{{background-600-0.3}}'; }.md-autocomplete-suggestions-container.md-THEME_NAME-theme { background: '{{background-A100}}'; } .md-autocomplete-suggestions-container.md-THEME_NAME-theme li { color: '{{background-900}}'; } .md-autocomplete-suggestions-container.md-THEME_NAME-theme li .highlight { color: '{{background-600}}'; } .md-autocomplete-suggestions-container.md-THEME_NAME-theme li:hover, .md-autocomplete-suggestions-container.md-THEME_NAME-theme li.selected { background: '{{background-200}}'; }md-backdrop { background-color: '{{background-900-0.0}}'; } md-backdrop.md-opaque.md-THEME_NAME-theme { background-color: '{{background-900-1.0}}'; }md-bottom-sheet.md-THEME_NAME-theme { background-color: '{{background-50}}'; border-top-color: '{{background-300}}'; } md-bottom-sheet.md-THEME_NAME-theme.md-list md-list-item { color: '{{foreground-1}}'; } md-bottom-sheet.md-THEME_NAME-theme .md-subheader { background-color: '{{background-50}}'; } md-bottom-sheet.md-THEME_NAME-theme .md-subheader { color: '{{foreground-1}}'; }.md-button.md-THEME_NAME-theme:not([disabled]):hover { background-color: '{{background-500-0.2}}'; }.md-button.md-THEME_NAME-theme:not([disabled]).md-focused { background-color: '{{background-500-0.2}}'; }.md-button.md-THEME_NAME-theme:not([disabled]).md-icon-button:hover { background-color: transparent; }.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab md-icon { color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; }.md-button.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised, .md-button.md-THEME_NAME-theme.md-primary.md-fab { color: '{{primary-contrast}}'; background-color: '{{primary-color}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]) md-icon { color: '{{primary-contrast}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]):hover { background-color: '{{primary-600}}'; } .md-button.md-THEME_NAME-theme.md-primary.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-primary.md-fab:not([disabled]).md-focused { background-color: '{{primary-600}}'; } .md-button.md-THEME_NAME-theme.md-primary:not([disabled]) md-icon { color: '{{primary-color}}'; }.md-button.md-THEME_NAME-theme.md-fab { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]) .md-icon { color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]):hover { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; }.md-button.md-THEME_NAME-theme.md-raised { color: '{{background-900}}'; background-color: '{{background-50}}'; } .md-button.md-THEME_NAME-theme.md-raised:not([disabled]) md-icon { color: '{{background-900}}'; } .md-button.md-THEME_NAME-theme.md-raised:not([disabled]):hover { background-color: '{{background-50}}'; } .md-button.md-THEME_NAME-theme.md-raised:not([disabled]).md-focused { background-color: '{{background-200}}'; }.md-button.md-THEME_NAME-theme.md-warn { color: '{{warn-color}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised, .md-button.md-THEME_NAME-theme.md-warn.md-fab { color: '{{warn-contrast}}'; background-color: '{{warn-color}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]) md-icon { color: '{{warn-contrast}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]):hover { background-color: '{{warn-600}}'; } .md-button.md-THEME_NAME-theme.md-warn.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-warn.md-fab:not([disabled]).md-focused { background-color: '{{warn-600}}'; } .md-button.md-THEME_NAME-theme.md-warn:not([disabled]) md-icon { color: '{{warn-color}}'; }.md-button.md-THEME_NAME-theme.md-accent { color: '{{accent-color}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised, .md-button.md-THEME_NAME-theme.md-accent.md-fab { color: '{{accent-contrast}}'; background-color: '{{accent-color}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]) md-icon, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]) md-icon { color: '{{accent-contrast}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]):hover, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]):hover { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-accent.md-raised:not([disabled]).md-focused, .md-button.md-THEME_NAME-theme.md-accent.md-fab:not([disabled]).md-focused { background-color: '{{accent-A700}}'; } .md-button.md-THEME_NAME-theme.md-accent:not([disabled]) md-icon { color: '{{accent-color}}'; }.md-button.md-THEME_NAME-theme[disabled], .md-button.md-THEME_NAME-theme.md-raised[disabled], .md-button.md-THEME_NAME-theme.md-fab[disabled], .md-button.md-THEME_NAME-theme.md-accent[disabled], .md-button.md-THEME_NAME-theme.md-warn[disabled] { color: '{{foreground-3}}'; cursor: default; } .md-button.md-THEME_NAME-theme[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-raised[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-fab[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-accent[disabled] md-icon, .md-button.md-THEME_NAME-theme.md-warn[disabled] md-icon { color: '{{foreground-3}}'; }.md-button.md-THEME_NAME-theme.md-raised[disabled], .md-button.md-THEME_NAME-theme.md-fab[disabled] { background-color: '{{foreground-4}}'; }.md-button.md-THEME_NAME-theme[disabled] { background-color: transparent; }._md a.md-THEME_NAME-theme:not(.md-button).md-primary { color: '{{primary-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-primary:hover { color: '{{primary-700}}'; }._md a.md-THEME_NAME-theme:not(.md-button).md-accent { color: '{{accent-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-accent:hover { color: '{{accent-700}}'; }._md a.md-THEME_NAME-theme:not(.md-button).md-accent { color: '{{accent-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-accent:hover { color: '{{accent-A700}}'; }._md a.md-THEME_NAME-theme:not(.md-button).md-warn { color: '{{warn-color}}'; } ._md a.md-THEME_NAME-theme:not(.md-button).md-warn:hover { color: '{{warn-700}}'; }md-card.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-hue-1}}'; border-radius: 2px; } md-card.md-THEME_NAME-theme .md-card-image { border-radius: 2px 2px 0 0; } md-card.md-THEME_NAME-theme md-card-header md-card-avatar md-icon { color: '{{background-color}}'; background-color: '{{foreground-3}}'; } md-card.md-THEME_NAME-theme md-card-header md-card-header-text .md-subhead { color: '{{foreground-2}}'; } md-card.md-THEME_NAME-theme md-card-title md-card-title-text:not(:only-child) .md-subhead { color: '{{foreground-2}}'; }md-chips.md-THEME_NAME-theme .md-chips { box-shadow: 0 1px '{{foreground-4}}'; } md-chips.md-THEME_NAME-theme .md-chips.md-focused { box-shadow: 0 2px '{{primary-color}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input { color: '{{foreground-1}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-webkit-input-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input:-moz-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-moz-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input:-ms-input-placeholder { color: '{{foreground-3}}'; } md-chips.md-THEME_NAME-theme .md-chips .md-chip-input-container input::-webkit-input-placeholder { color: '{{foreground-3}}'; }md-chips.md-THEME_NAME-theme md-chip { background: '{{background-300}}'; color: '{{background-800}}'; } md-chips.md-THEME_NAME-theme md-chip md-icon { color: '{{background-700}}'; } md-chips.md-THEME_NAME-theme md-chip.md-focused { background: '{{primary-color}}'; color: '{{primary-contrast}}'; } md-chips.md-THEME_NAME-theme md-chip.md-focused md-icon { color: '{{primary-contrast}}'; } md-chips.md-THEME_NAME-theme md-chip._md-chip-editing { background: transparent; color: '{{background-800}}'; }md-chips.md-THEME_NAME-theme md-chip-remove .md-button md-icon path { fill: '{{background-500}}'; }.md-contact-suggestion span.md-contact-email { color: '{{background-400}}'; }md-checkbox.md-THEME_NAME-theme .md-ripple { color: '{{accent-A700}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-ripple { color: '{{background-600}}'; }md-checkbox.md-THEME_NAME-theme.md-checked.md-focused .md-container:before { background-color: '{{accent-color-0.26}}'; }md-checkbox.md-THEME_NAME-theme .md-ink-ripple { color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-ink-ripple { color: '{{accent-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-icon { background-color: '{{accent-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme.md-checked .md-icon:after { border-color: '{{accent-contrast-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-ripple { color: '{{primary-600}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ripple { color: '{{background-600}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-ink-ripple { color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple { color: '{{primary-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-icon { background-color: '{{primary-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked.md-focused .md-container:before { background-color: '{{primary-color-0.26}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-icon:after { border-color: '{{primary-contrast-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-primary .md-indeterminate[disabled] .md-container { color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn .md-ripple { color: '{{warn-600}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn .md-ink-ripple { color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple { color: '{{warn-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-icon { background-color: '{{warn-color-0.87}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked.md-focused:not([disabled]) .md-container:before { background-color: '{{warn-color-0.26}}'; }md-checkbox.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-icon:after { border-color: '{{background-200}}'; }md-checkbox.md-THEME_NAME-theme[disabled]:not(.md-checked) .md-icon { border-color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme[disabled].md-checked .md-icon { background-color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme[disabled].md-checked .md-icon:after { border-color: '{{background-200}}'; }md-checkbox.md-THEME_NAME-theme[disabled] .md-icon:after { border-color: '{{foreground-3}}'; }md-checkbox.md-THEME_NAME-theme[disabled] .md-label { color: '{{foreground-3}}'; }md-content.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-default}}'; }/** Theme styles for mdCalendar. */.md-calendar.md-THEME_NAME-theme { background: '{{background-A100}}'; color: '{{background-A200-0.87}}'; } .md-calendar.md-THEME_NAME-theme tr:last-child td { border-bottom-color: '{{background-200}}'; }.md-THEME_NAME-theme .md-calendar-day-header { background: '{{background-300}}'; color: '{{background-A200-0.87}}'; }.md-THEME_NAME-theme .md-calendar-date.md-calendar-date-today .md-calendar-date-selection-indicator { border: 1px solid '{{primary-500}}'; }.md-THEME_NAME-theme .md-calendar-date.md-calendar-date-today.md-calendar-date-disabled { color: '{{primary-500-0.6}}'; }.md-calendar-date.md-focus .md-THEME_NAME-theme .md-calendar-date-selection-indicator, .md-THEME_NAME-theme .md-calendar-date-selection-indicator:hover { background: '{{background-300}}'; }.md-THEME_NAME-theme .md-calendar-date.md-calendar-selected-date .md-calendar-date-selection-indicator,.md-THEME_NAME-theme .md-calendar-date.md-focus.md-calendar-selected-date .md-calendar-date-selection-indicator { background: '{{primary-500}}'; color: '{{primary-500-contrast}}'; border-color: transparent; }.md-THEME_NAME-theme .md-calendar-date-disabled,.md-THEME_NAME-theme .md-calendar-month-label-disabled { color: '{{background-A200-0.435}}'; }/** Theme styles for mdDatepicker. */.md-THEME_NAME-theme .md-datepicker-input { color: '{{foreground-1}}'; } .md-THEME_NAME-theme .md-datepicker-input::-webkit-input-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input:-moz-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input::-moz-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input:-ms-input-placeholder { color: '{{foreground-3}}'; } .md-THEME_NAME-theme .md-datepicker-input::-webkit-input-placeholder { color: '{{foreground-3}}'; }.md-THEME_NAME-theme .md-datepicker-input-container { border-bottom-color: '{{foreground-4}}'; } .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused { border-bottom-color: '{{primary-color}}'; } .md-accent .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused { border-bottom-color: '{{accent-color}}'; } .md-warn .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-focused { border-bottom-color: '{{warn-A700}}'; } .md-THEME_NAME-theme .md-datepicker-input-container.md-datepicker-invalid { border-bottom-color: '{{warn-A700}}'; }.md-THEME_NAME-theme .md-datepicker-calendar-pane { border-color: '{{background-hue-1}}'; }.md-THEME_NAME-theme .md-datepicker-triangle-button .md-datepicker-expand-triangle { border-top-color: '{{foreground-3}}'; }.md-THEME_NAME-theme .md-datepicker-triangle-button:hover .md-datepicker-expand-triangle { border-top-color: '{{foreground-2}}'; }.md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon { color: '{{primary-color}}'; }.md-THEME_NAME-theme .md-datepicker-open.md-accent .md-datepicker-calendar-icon, .md-accent .md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon { color: '{{accent-color}}'; }.md-THEME_NAME-theme .md-datepicker-open.md-warn .md-datepicker-calendar-icon, .md-warn .md-THEME_NAME-theme .md-datepicker-open .md-datepicker-calendar-icon { color: '{{warn-A700}}'; }.md-THEME_NAME-theme .md-datepicker-calendar { background: '{{background-A100}}'; }.md-THEME_NAME-theme .md-datepicker-input-mask-opaque { box-shadow: 0 0 0 9999px \"{{background-hue-1}}\"; }.md-THEME_NAME-theme .md-datepicker-open .md-datepicker-input-container { background: \"{{background-hue-1}}\"; }md-dialog.md-THEME_NAME-theme { border-radius: 4px; background-color: '{{background-hue-1}}'; color: '{{foreground-1}}'; } md-dialog.md-THEME_NAME-theme.md-content-overflow .md-actions, md-dialog.md-THEME_NAME-theme.md-content-overflow md-dialog-actions { border-top-color: '{{foreground-4}}'; }md-divider.md-THEME_NAME-theme { border-top-color: '{{foreground-4}}'; }.layout-row > md-divider.md-THEME_NAME-theme,.layout-xs-row > md-divider.md-THEME_NAME-theme, .layout-gt-xs-row > md-divider.md-THEME_NAME-theme,.layout-sm-row > md-divider.md-THEME_NAME-theme, .layout-gt-sm-row > md-divider.md-THEME_NAME-theme,.layout-md-row > md-divider.md-THEME_NAME-theme, .layout-gt-md-row > md-divider.md-THEME_NAME-theme,.layout-lg-row > md-divider.md-THEME_NAME-theme, .layout-gt-lg-row > md-divider.md-THEME_NAME-theme,.layout-xl-row > md-divider.md-THEME_NAME-theme { border-right-color: '{{foreground-4}}'; }md-icon.md-THEME_NAME-theme { color: '{{foreground-2}}'; } md-icon.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } md-icon.md-THEME_NAME-theme.md-accent { color: '{{accent-color}}'; } md-icon.md-THEME_NAME-theme.md-warn { color: '{{warn-color}}'; }md-input-container.md-THEME_NAME-theme .md-input { color: '{{foreground-1}}'; border-color: '{{foreground-4}}'; } md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input:-moz-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input::-moz-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input:-ms-input-placeholder { color: '{{foreground-3}}'; } md-input-container.md-THEME_NAME-theme .md-input::-webkit-input-placeholder { color: '{{foreground-3}}'; }md-input-container.md-THEME_NAME-theme > md-icon { color: '{{foreground-1}}'; }md-input-container.md-THEME_NAME-theme label,md-input-container.md-THEME_NAME-theme .md-placeholder { color: '{{foreground-3}}'; }md-input-container.md-THEME_NAME-theme label.md-required:after { color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-focused):not(.md-input-invalid) label.md-required:after { color: '{{foreground-2}}'; }md-input-container.md-THEME_NAME-theme .md-input-messages-animation, md-input-container.md-THEME_NAME-theme .md-input-message-animation { color: '{{warn-A700}}'; } md-input-container.md-THEME_NAME-theme .md-input-messages-animation .md-char-counter, md-input-container.md-THEME_NAME-theme .md-input-message-animation .md-char-counter { color: '{{foreground-1}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-has-value label { color: '{{foreground-2}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused .md-input, md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-resized .md-input { border-color: '{{primary-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused md-icon { color: '{{primary-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent .md-input { border-color: '{{accent-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-accent md-icon { color: '{{accent-color}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn .md-input { border-color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn label,md-input-container.md-THEME_NAME-theme:not(.md-input-invalid).md-input-focused.md-warn md-icon { color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input { border-color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme.md-input-invalid label,md-input-container.md-THEME_NAME-theme.md-input-invalid .md-input-message-animation,md-input-container.md-THEME_NAME-theme.md-input-invalid .md-char-counter { color: '{{warn-A700}}'; }md-input-container.md-THEME_NAME-theme .md-input[disabled],[disabled] md-input-container.md-THEME_NAME-theme .md-input { border-bottom-color: transparent; color: '{{foreground-3}}'; background-image: linear-gradient(to right, \"{{foreground-3}}\" 0%, \"{{foreground-3}}\" 33%, transparent 0%); background-image: -ms-linear-gradient(left, transparent 0%, \"{{foreground-3}}\" 100%); }md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h3, md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text h4,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h3,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text h4 { color: '{{foreground-1}}'; }md-list.md-THEME_NAME-theme md-list-item.md-2-line .md-list-item-text p,md-list.md-THEME_NAME-theme md-list-item.md-3-line .md-list-item-text p { color: '{{foreground-2}}'; }md-list.md-THEME_NAME-theme .md-proxy-focus.md-focused div.md-no-style { background-color: '{{background-100}}'; }md-list.md-THEME_NAME-theme md-list-item .md-avatar-icon { background-color: '{{foreground-3}}'; color: '{{background-color}}'; }md-list.md-THEME_NAME-theme md-list-item > md-icon { color: '{{foreground-2}}'; } md-list.md-THEME_NAME-theme md-list-item > md-icon.md-highlight { color: '{{primary-color}}'; } md-list.md-THEME_NAME-theme md-list-item > md-icon.md-highlight.md-accent { color: '{{accent-color}}'; }md-menu-content.md-THEME_NAME-theme { background-color: '{{background-A100}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item { color: '{{background-A200-0.87}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item md-icon { color: '{{background-A200-0.54}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item .md-button[disabled] { color: '{{background-A200-0.25}}'; } md-menu-content.md-THEME_NAME-theme md-menu-item .md-button[disabled] md-icon { color: '{{background-A200-0.25}}'; } md-menu-content.md-THEME_NAME-theme md-menu-divider { background-color: '{{background-A200-0.11}}'; }md-menu-bar.md-THEME_NAME-theme > button.md-button { color: '{{foreground-2}}'; border-radius: 2px; }md-menu-bar.md-THEME_NAME-theme md-menu.md-open > button, md-menu-bar.md-THEME_NAME-theme md-menu > button:focus { outline: none; background: '{{background-200}}'; }md-menu-bar.md-THEME_NAME-theme.md-open:not(.md-keyboard-mode) md-menu:hover > button { background-color: '{{ background-500-0.2}}'; }md-menu-bar.md-THEME_NAME-theme:not(.md-keyboard-mode):not(.md-open) md-menu button:hover,md-menu-bar.md-THEME_NAME-theme:not(.md-keyboard-mode):not(.md-open) md-menu button:focus { background: transparent; }md-menu-content.md-THEME_NAME-theme .md-menu > .md-button:after { color: '{{background-A200-0.54}}'; }md-menu-content.md-THEME_NAME-theme .md-menu.md-open > .md-button { background-color: '{{ background-500-0.2}}'; }md-toolbar.md-THEME_NAME-theme.md-menu-toolbar { background-color: '{{background-A100}}'; color: '{{background-A200}}'; } md-toolbar.md-THEME_NAME-theme.md-menu-toolbar md-toolbar-filler { background-color: '{{primary-color}}'; color: '{{background-A100-0.87}}'; } md-toolbar.md-THEME_NAME-theme.md-menu-toolbar md-toolbar-filler md-icon { color: '{{background-A100-0.87}}'; }md-nav-bar.md-THEME_NAME-theme .md-nav-bar { background-color: transparent; border-color: '{{foreground-4}}'; }md-nav-bar.md-THEME_NAME-theme .md-button._md-nav-button.md-unselected { color: '{{foreground-2}}'; }md-nav-bar.md-THEME_NAME-theme md-nav-ink-bar { color: '{{accent-color}}'; background: '{{accent-color}}'; }.md-panel { background-color: '{{background-900-0.0}}'; } .md-panel._md-panel-backdrop.md-THEME_NAME-theme { background-color: '{{background-900-1.0}}'; }md-progress-circular.md-THEME_NAME-theme path { stroke: '{{primary-color}}'; }md-progress-circular.md-THEME_NAME-theme.md-warn path { stroke: '{{warn-color}}'; }md-progress-circular.md-THEME_NAME-theme.md-accent path { stroke: '{{accent-color}}'; }md-progress-linear.md-THEME_NAME-theme .md-container { background-color: '{{primary-100}}'; }md-progress-linear.md-THEME_NAME-theme .md-bar { background-color: '{{primary-color}}'; }md-progress-linear.md-THEME_NAME-theme.md-warn .md-container { background-color: '{{warn-100}}'; }md-progress-linear.md-THEME_NAME-theme.md-warn .md-bar { background-color: '{{warn-color}}'; }md-progress-linear.md-THEME_NAME-theme.md-accent .md-container { background-color: '{{accent-100}}'; }md-progress-linear.md-THEME_NAME-theme.md-accent .md-bar { background-color: '{{accent-color}}'; }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn .md-bar1 { background-color: '{{warn-100}}'; }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-warn .md-dashed:before { background: radial-gradient(\"{{warn-100}}\" 0%, \"{{warn-100}}\" 16%, transparent 42%); }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent .md-bar1 { background-color: '{{accent-100}}'; }md-progress-linear.md-THEME_NAME-theme[md-mode=buffer].md-accent .md-dashed:before { background: radial-gradient(\"{{accent-100}}\" 0%, \"{{accent-100}}\" 16%, transparent 42%); }md-radio-button.md-THEME_NAME-theme .md-off { border-color: '{{foreground-2}}'; }md-radio-button.md-THEME_NAME-theme .md-on { background-color: '{{accent-color-0.87}}'; }md-radio-button.md-THEME_NAME-theme.md-checked .md-off { border-color: '{{accent-color-0.87}}'; }md-radio-button.md-THEME_NAME-theme.md-checked .md-ink-ripple { color: '{{accent-color-0.87}}'; }md-radio-button.md-THEME_NAME-theme .md-container .md-ripple { color: '{{accent-A700}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-on, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-on { background-color: '{{primary-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-off { border-color: '{{primary-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary.md-checked .md-ink-ripple { color: '{{primary-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-primary .md-container .md-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-primary .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-primary .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-primary .md-container .md-ripple { color: '{{primary-600}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-on, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-on,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-on { background-color: '{{warn-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-off, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-off,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-off { border-color: '{{warn-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-ink-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn.md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-checked .md-ink-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn.md-checked .md-ink-ripple { color: '{{warn-color-0.87}}'; }md-radio-group.md-THEME_NAME-theme:not([disabled]) .md-warn .md-container .md-ripple, md-radio-group.md-THEME_NAME-theme:not([disabled]).md-warn .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]) .md-warn .md-container .md-ripple,md-radio-button.md-THEME_NAME-theme:not([disabled]).md-warn .md-container .md-ripple { color: '{{warn-600}}'; }md-radio-group.md-THEME_NAME-theme[disabled],md-radio-button.md-THEME_NAME-theme[disabled] { color: '{{foreground-3}}'; } md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-off, md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-off { border-color: '{{foreground-3}}'; } md-radio-group.md-THEME_NAME-theme[disabled] .md-container .md-on, md-radio-button.md-THEME_NAME-theme[disabled] .md-container .md-on { border-color: '{{foreground-3}}'; }md-radio-group.md-THEME_NAME-theme .md-checked .md-ink-ripple { color: '{{accent-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-primary .md-checked:not([disabled]) .md-ink-ripple, md-radio-group.md-THEME_NAME-theme .md-checked:not([disabled]).md-primary .md-ink-ripple { color: '{{primary-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme .md-checked.md-primary .md-ink-ripple { color: '{{warn-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked .md-container:before { background-color: '{{accent-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty).md-primary .md-checked .md-container:before,md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked.md-primary .md-container:before { background-color: '{{primary-color-0.26}}'; }md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty).md-warn .md-checked .md-container:before,md-radio-group.md-THEME_NAME-theme.md-focused:not(:empty) .md-checked.md-warn .md-container:before { background-color: '{{warn-color-0.26}}'; }md-input-container md-select.md-THEME_NAME-theme .md-select-value span:first-child:after { color: '{{warn-A700}}'; }md-input-container:not(.md-input-focused):not(.md-input-invalid) md-select.md-THEME_NAME-theme .md-select-value span:first-child:after { color: '{{foreground-3}}'; }md-input-container.md-input-focused:not(.md-input-has-value) md-select.md-THEME_NAME-theme .md-select-value { color: '{{primary-color}}'; } md-input-container.md-input-focused:not(.md-input-has-value) md-select.md-THEME_NAME-theme .md-select-value.md-select-placeholder { color: '{{primary-color}}'; }md-input-container.md-input-invalid md-select.md-THEME_NAME-theme .md-select-value { color: '{{warn-A700}}' !important; border-bottom-color: '{{warn-A700}}' !important; }md-input-container.md-input-invalid md-select.md-THEME_NAME-theme.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme[disabled] .md-select-value { border-bottom-color: transparent; background-image: linear-gradient(to right, \"{{foreground-3}}\" 0%, \"{{foreground-3}}\" 33%, transparent 0%); background-image: -ms-linear-gradient(left, transparent 0%, \"{{foreground-3}}\" 100%); }md-select.md-THEME_NAME-theme .md-select-value { border-bottom-color: '{{foreground-4}}'; } md-select.md-THEME_NAME-theme .md-select-value.md-select-placeholder { color: '{{foreground-3}}'; } md-select.md-THEME_NAME-theme .md-select-value span:first-child:after { color: '{{warn-A700}}'; }md-select.md-THEME_NAME-theme.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme.ng-invalid.ng-touched .md-select-value { color: '{{warn-A700}}' !important; border-bottom-color: '{{warn-A700}}' !important; }md-select.md-THEME_NAME-theme.ng-invalid.ng-touched.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-value { border-bottom-color: '{{primary-color}}'; color: '{{ foreground-1 }}'; } md-select.md-THEME_NAME-theme:not([disabled]):focus .md-select-value.md-select-placeholder { color: '{{ foreground-1 }}'; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-no-underline .md-select-value { border-bottom-color: transparent !important; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-accent .md-select-value { border-bottom-color: '{{accent-color}}'; }md-select.md-THEME_NAME-theme:not([disabled]):focus.md-warn .md-select-value { border-bottom-color: '{{warn-color}}'; }md-select.md-THEME_NAME-theme[disabled] .md-select-value { color: '{{foreground-3}}'; } md-select.md-THEME_NAME-theme[disabled] .md-select-value.md-select-placeholder { color: '{{foreground-3}}'; }md-select-menu.md-THEME_NAME-theme md-content { background: '{{background-A100}}'; } md-select-menu.md-THEME_NAME-theme md-content md-optgroup { color: '{{background-600-0.87}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option { color: '{{background-900-0.87}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[disabled] .md-text { color: '{{background-400-0.87}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option:not([disabled]):focus, md-select-menu.md-THEME_NAME-theme md-content md-option:not([disabled]):hover { background: '{{background-200}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected] { color: '{{primary-500}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected]:focus { color: '{{primary-600}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected].md-accent { color: '{{accent-color}}'; } md-select-menu.md-THEME_NAME-theme md-content md-option[selected].md-accent:focus { color: '{{accent-A700}}'; }.md-checkbox-enabled.md-THEME_NAME-theme .md-ripple { color: '{{primary-600}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-ripple { color: '{{background-600}}'; }.md-checkbox-enabled.md-THEME_NAME-theme .md-ink-ripple { color: '{{foreground-2}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-ink-ripple { color: '{{primary-color-0.87}}'; }.md-checkbox-enabled.md-THEME_NAME-theme:not(.md-checked) .md-icon { border-color: '{{foreground-2}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-icon { background-color: '{{primary-color-0.87}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected].md-focused .md-container:before { background-color: '{{primary-color-0.26}}'; }.md-checkbox-enabled.md-THEME_NAME-theme[selected] .md-icon:after { border-color: '{{primary-contrast-0.87}}'; }.md-checkbox-enabled.md-THEME_NAME-theme .md-indeterminate[disabled] .md-container { color: '{{foreground-3}}'; }.md-checkbox-enabled.md-THEME_NAME-theme md-option .md-text { color: '{{background-900-0.87}}'; }md-sidenav.md-THEME_NAME-theme, md-sidenav.md-THEME_NAME-theme md-content { background-color: '{{background-hue-1}}'; }md-slider.md-THEME_NAME-theme .md-track { background-color: '{{foreground-3}}'; }md-slider.md-THEME_NAME-theme .md-track-ticks { color: '{{background-contrast}}'; }md-slider.md-THEME_NAME-theme .md-focus-ring { background-color: '{{accent-A200-0.2}}'; }md-slider.md-THEME_NAME-theme .md-disabled-thumb { border-color: '{{background-color}}'; background-color: '{{background-color}}'; }md-slider.md-THEME_NAME-theme.md-min .md-thumb:after { background-color: '{{background-color}}'; border-color: '{{foreground-3}}'; }md-slider.md-THEME_NAME-theme.md-min .md-focus-ring { background-color: '{{foreground-3-0.38}}'; }md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-thumb:after { background-color: '{{background-contrast}}'; border-color: transparent; }md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-sign { background-color: '{{background-400}}'; } md-slider.md-THEME_NAME-theme.md-min[md-discrete] .md-sign:after { border-top-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme.md-min[md-discrete][md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme .md-track.md-track-fill { background-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme .md-thumb:after { border-color: '{{accent-color}}'; background-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme .md-sign { background-color: '{{accent-color}}'; } md-slider.md-THEME_NAME-theme .md-sign:after { border-top-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme[md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{accent-color}}'; }md-slider.md-THEME_NAME-theme .md-thumb-text { color: '{{accent-contrast}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-focus-ring { background-color: '{{warn-200-0.38}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-track.md-track-fill { background-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-thumb:after { border-color: '{{warn-color}}'; background-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-sign { background-color: '{{warn-color}}'; } md-slider.md-THEME_NAME-theme.md-warn .md-sign:after { border-top-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn[md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{warn-color}}'; }md-slider.md-THEME_NAME-theme.md-warn .md-thumb-text { color: '{{warn-contrast}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-focus-ring { background-color: '{{primary-200-0.38}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-track.md-track-fill { background-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-thumb:after { border-color: '{{primary-color}}'; background-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-sign { background-color: '{{primary-color}}'; } md-slider.md-THEME_NAME-theme.md-primary .md-sign:after { border-top-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary[md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{primary-color}}'; }md-slider.md-THEME_NAME-theme.md-primary .md-thumb-text { color: '{{primary-contrast}}'; }md-slider.md-THEME_NAME-theme[disabled] .md-thumb:after { border-color: transparent; }md-slider.md-THEME_NAME-theme[disabled]:not(.md-min) .md-thumb:after, md-slider.md-THEME_NAME-theme[disabled][md-discrete] .md-thumb:after { background-color: '{{foreground-3}}'; border-color: transparent; }md-slider.md-THEME_NAME-theme[disabled][readonly] .md-sign { background-color: '{{background-400}}'; } md-slider.md-THEME_NAME-theme[disabled][readonly] .md-sign:after { border-top-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme[disabled][readonly][md-vertical] .md-sign:after { border-top-color: transparent; border-left-color: '{{background-400}}'; }md-slider.md-THEME_NAME-theme[disabled][readonly] .md-disabled-thumb { border-color: transparent; background-color: transparent; }md-slider-container[disabled] > *:first-child:not(md-slider),md-slider-container[disabled] > *:last-child:not(md-slider) { color: '{{foreground-3}}'; }.md-subheader.md-THEME_NAME-theme { color: '{{ foreground-2-0.23 }}'; background-color: '{{background-default}}'; } .md-subheader.md-THEME_NAME-theme.md-primary { color: '{{primary-color}}'; } .md-subheader.md-THEME_NAME-theme.md-accent { color: '{{accent-color}}'; } .md-subheader.md-THEME_NAME-theme.md-warn { color: '{{warn-color}}'; }md-switch.md-THEME_NAME-theme .md-ink-ripple { color: '{{background-500}}'; }md-switch.md-THEME_NAME-theme .md-thumb { background-color: '{{background-50}}'; }md-switch.md-THEME_NAME-theme .md-bar { background-color: '{{background-500}}'; }md-switch.md-THEME_NAME-theme.md-checked .md-ink-ripple { color: '{{accent-color}}'; }md-switch.md-THEME_NAME-theme.md-checked .md-thumb { background-color: '{{accent-color}}'; }md-switch.md-THEME_NAME-theme.md-checked .md-bar { background-color: '{{accent-color-0.5}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-focused .md-thumb:before { background-color: '{{accent-color-0.26}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-ink-ripple { color: '{{primary-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-thumb { background-color: '{{primary-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary .md-bar { background-color: '{{primary-color-0.5}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-primary.md-focused .md-thumb:before { background-color: '{{primary-color-0.26}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-ink-ripple { color: '{{warn-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-thumb { background-color: '{{warn-color}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn .md-bar { background-color: '{{warn-color-0.5}}'; }md-switch.md-THEME_NAME-theme.md-checked.md-warn.md-focused .md-thumb:before { background-color: '{{warn-color-0.26}}'; }md-switch.md-THEME_NAME-theme[disabled] .md-thumb { background-color: '{{background-400}}'; }md-switch.md-THEME_NAME-theme[disabled] .md-bar { background-color: '{{foreground-4}}'; }md-tabs.md-THEME_NAME-theme md-tabs-wrapper { background-color: transparent; border-color: '{{foreground-4}}'; }md-tabs.md-THEME_NAME-theme .md-paginator md-icon { color: '{{primary-color}}'; }md-tabs.md-THEME_NAME-theme md-ink-bar { color: '{{accent-color}}'; background: '{{accent-color}}'; }md-tabs.md-THEME_NAME-theme .md-tab { color: '{{foreground-2}}'; } md-tabs.md-THEME_NAME-theme .md-tab[disabled], md-tabs.md-THEME_NAME-theme .md-tab[disabled] md-icon { color: '{{foreground-3}}'; } md-tabs.md-THEME_NAME-theme .md-tab.md-active, md-tabs.md-THEME_NAME-theme .md-tab.md-active md-icon, md-tabs.md-THEME_NAME-theme .md-tab.md-focused, md-tabs.md-THEME_NAME-theme .md-tab.md-focused md-icon { color: '{{primary-color}}'; } md-tabs.md-THEME_NAME-theme .md-tab.md-focused { background: '{{primary-color-0.1}}'; } md-tabs.md-THEME_NAME-theme .md-tab .md-ripple-container { color: '{{accent-A100}}'; }md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper { background-color: '{{accent-color}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{accent-A100}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{accent-contrast}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{accent-contrast-0.1}}'; } md-tabs.md-THEME_NAME-theme.md-accent > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-ink-bar { color: '{{primary-600-1}}'; background: '{{primary-600-1}}'; }md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper { background-color: '{{primary-color}}'; } md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{primary-100}}'; } md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{primary-contrast}}'; } md-tabs.md-THEME_NAME-theme.md-primary > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{primary-contrast-0.1}}'; }md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper { background-color: '{{warn-color}}'; } md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{warn-100}}'; } md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{warn-contrast}}'; } md-tabs.md-THEME_NAME-theme.md-warn > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{warn-contrast-0.1}}'; }md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper { background-color: '{{primary-color}}'; } md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{primary-100}}'; } md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{primary-contrast}}'; } md-toolbar > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{primary-contrast-0.1}}'; }md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper { background-color: '{{accent-color}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{accent-A100}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{accent-contrast}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{accent-contrast-0.1}}'; } md-toolbar.md-accent > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-ink-bar { color: '{{primary-600-1}}'; background: '{{primary-600-1}}'; }md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper { background-color: '{{warn-color}}'; } md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]) { color: '{{warn-100}}'; } md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active, md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-active md-icon, md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused, md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused md-icon { color: '{{warn-contrast}}'; } md-toolbar.md-warn > md-tabs.md-THEME_NAME-theme > md-tabs-wrapper > md-tabs-canvas > md-pagination-wrapper > md-tab-item:not([disabled]).md-focused { background: '{{warn-contrast-0.1}}'; }md-toast.md-THEME_NAME-theme .md-toast-content { background-color: #323232; color: '{{background-50}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button { color: '{{background-50}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight { color: '{{accent-color}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-primary { color: '{{primary-color}}'; } md-toast.md-THEME_NAME-theme .md-toast-content .md-button.md-highlight.md-warn { color: '{{warn-color}}'; }md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) { background-color: '{{primary-color}}'; color: '{{primary-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) md-icon { color: '{{primary-contrast}}'; fill: '{{primary-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar) .md-button[disabled] md-icon { color: '{{primary-contrast-0.26}}'; fill: '{{primary-contrast-0.26}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent { background-color: '{{accent-color}}'; color: '{{accent-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-ink-ripple { color: '{{accent-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent md-icon { color: '{{accent-contrast}}'; fill: '{{accent-contrast}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-accent .md-button[disabled] md-icon { color: '{{accent-contrast-0.26}}'; fill: '{{accent-contrast-0.26}}'; } md-toolbar.md-THEME_NAME-theme:not(.md-menu-toolbar).md-warn { background-color: '{{warn-color}}'; color: '{{warn-contrast}}'; }md-tooltip.md-THEME_NAME-theme { color: '{{background-700-contrast}}'; } md-tooltip.md-THEME_NAME-theme .md-content { background-color: '{{background-700}}'; }/* Only used with Theme processes */html.md-THEME_NAME-theme, body.md-THEME_NAME-theme { color: '{{foreground-1}}'; background-color: '{{background-color}}'; }")}(window,window.angular),window.ngMaterial={version:{full:"1.1.1"}},function(e,N){"use strict";var L=N.$$minErr("$resource"),s=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;function F(e,t){if(null==(n=t)||""===n||"hasOwnProperty"===n||!s.test("."+n))throw L("badmember",'Dotted member path "@{0}" is invalid.',t);for(var n,r=t.split("."),i=0,a=r.length;i<a&&N.isDefined(e);i++){var o=r[i];e=null!==e?e[o]:void 0}return e}function G(e,n){for(var t in n=n||{},N.forEach(n,function(e,t){delete n[t]}),e)!e.hasOwnProperty(t)||"$"===t.charAt(0)&&"$"===t.charAt(1)||(n[t]=e[t]);return n}N.module("ngResource",["ng"]).provider("$resource",function(){var u=/^https?:\/\/[^\/]*/,o=this;this.defaults={stripTrailingSlashes:!0,cancellable:!1,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},delete:{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(E,i,D,I){var P=N.noop,M=N.forEach,$=N.extend,O=N.copy,R=N.isFunction;function l(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function a(e,t){this.template=e,this.defaults=$({},o.defaults,t),this.urlParams={}}return a.prototype={setUrlParams:function(n,r,e){var i,a,o=this,s=e||o.template,t="",c=o.urlParams={};M(s.split(/\W/),function(e){if("hasOwnProperty"===e)throw L("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(s)&&(c[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(s)})}),s=(s=s.replace(/\\:/g,":")).replace(u,function(e){return t=e,""}),r=r||{},M(o.urlParams,function(e,t){i=r.hasOwnProperty(t)?r[t]:o.defaults[t],s=N.isDefined(i)&&null!==i?(a=e.isQueryParamValue?l(i,!0):l(i,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+"),s.replace(new RegExp(":"+t+"(\\W|$)","g"),function(e,t){return a+t})):s.replace(new RegExp("(/?):"+t+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),o.defaults.stripTrailingSlashes&&(s=s.replace(/\/+$/,"")||"/"),s=s.replace(/\/\.(?=\w+($|\?))/,"."),n.url=t+s.replace(/\/\\\./,"/."),M(r,function(e,t){o.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},function t(n,S,r,e){var T=new a(n,e);function x(e){return e.resource}function k(e){G(e||{},this)}return r=$({},o.defaults.actions,r),k.prototype.toJSON=function(){var e=$({},this);return delete e.$promise,delete e.$resolved,e},M(r,function(v,y){var w=/^(POST|PUT|PATCH)$/i.test(v.method),C=v.timeout,A=N.isDefined(v.cancellable)?v.cancellable:e&&N.isDefined(e.cancellable)?e.cancellable:o.defaults.cancellable;C&&!N.isNumber(C)&&(i.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete v.timeout,C=null),k[y]=function(e,t,n,r){var i,a,o,s={};switch(arguments.length){case 4:o=r,a=n;case 3:case 2:if(!R(t)){s=e,i=t,a=n;break}if(R(e)){a=e,o=t;break}a=t,o=n;case 1:R(e)?a=e:w?i=e:s=e;break;case 0:break;default:throw L("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var c,l,u,f,d,h=this instanceof k,p=h?i:v.isArray?[]:new k(i),m={},g=v.interceptor&&v.interceptor.response||x,_=v.interceptor&&v.interceptor.responseError||void 0;M(v,function(e,t){switch(t){default:m[t]=O(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!h&&A&&(c=D.defer(),m.timeout=c.promise,C&&(l=I(c.resolve,C))),w&&(m.data=i),T.setUrlParams(m,$({},(u=i,f=v.params||{},d={},f=$({},S,f),M(f,function(e,t){R(e)&&(e=e(u)),d[t]=e&&e.charAt&&"@"==e.charAt(0)?F(u,e.substr(1)):e}),d),s),v.url);var b=E(m).then(function(e){var t=e.data;if(t){if(N.isArray(t)!==!!v.isArray)throw L("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",y,v.isArray?"array":"object",N.isArray(t)?"array":"object",m.method,m.url);if(v.isArray)p.length=0,M(t,function(e){"object"==typeof e?p.push(new k(e)):p.push(e)});else{var n=p.$promise;G(t,p),p.$promise=n}}return e.resource=p,e},function(e){return(o||P)(e),D.reject(e)});return b.finally(function(){p.$resolved=!0,!h&&A&&(p.$cancelRequest=N.noop,I.cancel(l),c=l=m.timeout=null)}),b=b.then(function(e){var t=g(e);return(a||P)(t,e.headers),t},_),h?b:(p.$promise=b,p.$resolved=!1,A&&(p.$cancelRequest=c.resolve),p)},k.prototype["$"+y]=function(e,t,n){R(e)&&(n=t,t=e,e={});var r=k[y].call(this,e,this,t,n);return r.$promise||r}}),k.bind=function(e){return t(n,$({},S,e),r)},k}}]})}(window,window.angular),function(w,C){"use strict";var A,S,T,x,k,E,D,I,P=C.$$minErr("$sanitize");C.module("ngSanitize",[]).provider("$sanitize",function(){var t=!1;this.$get=["$$sanitizeUri",function(n){return t&&S(d,u),function(e){var t=[];return D(e,I(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(e){return x(e)?(t=e,this):t},A=C.bind,S=C.extend,T=C.forEach,x=C.isDefined,k=C.lowercase,E=C.noop,D=function(e,t){null==e?e="":"string"!=typeof e&&(e=""+e),a.innerHTML=e;var n=5;do{if(0===n)throw P("uinput","Failed to sanitize html because the input is unstable");n--,w.document.documentMode&&y(a),e=a.innerHTML,a.innerHTML=e}while(e!==a.innerHTML);for(var r=a.firstChild;r;){switch(r.nodeType){case 1:t.start(r.nodeName.toLowerCase(),b(r.attributes));break;case 3:t.chars(r.textContent)}var i;if(!((i=r.firstChild)||(1==r.nodeType&&t.end(r.nodeName.toLowerCase()),i=r.nextSibling)))for(;null==i&&(r=r.parentNode)!==a;)i=r.nextSibling,1==r.nodeType&&t.end(r.nodeName.toLowerCase());r=i}for(;r=a.firstChild;)a.removeChild(r)},I=function(e,a){var t=!1,o=A(e,e.push);return{start:function(i,e){i=k(i),!t&&f[i]&&(t=i),t||!0!==d[i]||(o("<"),o(i),T(e,function(e,t){var n=k(t),r="img"===i&&"src"===n||"background"===n;!0!==g[n]||!0===h[n]&&!a(e,r)||(o(" "),o(t),o('="'),o(v(e)),o('"'))}),o(">"))},end:function(e){e=k(e),t||!0!==d[e]||!0===i[e]||(o("</"),o(e),o(">")),e==t&&(t=!1)},chars:function(e){t||o(v(e))}}};var a,n=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,r=/([^\#-~ |!])/g,i=_("area,br,col,hr,img,wbr"),e=_("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),o=_("rp,rt"),s=S({},o,e),c=S({},e,_("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),l=S({},o,_("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),u=_("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),f=_("script,style"),d=S({},i,c,l,s),h=_("background,cite,href,longdesc,src,xlink:href"),p=_("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),m=_("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),g=S({},h,m,p);function _(e,t){var n,r={},i=e.split(",");for(n=0;n<i.length;n++)r[t?k(i[n]):i[n]]=!0;return r}function b(e){for(var t={},n=0,r=e.length;n<r;n++){var i=e[n];t[i.name]=i.value}return t}function v(e){return e.replace(/&/g,"&").replace(n,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(r,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function y(e){if(e.nodeType===w.Node.ELEMENT_NODE)for(var t=e.attributes,n=0,r=t.length;n<r;n++){var i=t[n],a=i.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.lastIndexOf("ns1:",0)||(e.removeAttributeNode(i),n--,r--)}var o=e.firstChild;o&&y(o),(o=e.nextSibling)&&y(o)}!function(e){var t;if(!e.document||!e.document.implementation)throw P("noinert","Can't create an inert html document");var n=((t=e.document.implementation.createHTMLDocument("inert")).documentElement||t.getDocumentElement()).getElementsByTagName("body");if(1===n.length)a=n[0];else{var r=t.createElement("html");a=t.createElement("body"),r.appendChild(a),t.appendChild(r)}}(w)}),C.module("ngSanitize").filter("linky",["$sanitize",function(f){var d=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,h=/^mailto:/i,p=C.$$minErr("linky"),m=C.isDefined,g=C.isFunction,_=C.isObject,b=C.isString;return function(e,i,t){if(null==e||""===e)return e;if(!b(e))throw p("notstring","Expected string but received: {0}",e);for(var n,r,a,o=g(t)?t:_(t)?function(){return t}:function(){return{}},s=e,c=[];n=s.match(d);)r=n[0],n[2]||n[4]||(r=(n[3]?"http://":"mailto:")+r),a=n.index,l(s.substr(0,a)),u(r,n[0].replace(h,"")),s=s.substring(a+n[0].length);return l(s),f(c.join(""));function l(e){var t,n;e&&c.push((t=e,I(n=[],E).chars(t),n.join("")))}function u(e,t){var n,r=o(e);for(n in c.push("<a "),r)c.push(n+'="'+r[n]+'" ');!m(i)||"target"in r||c.push('target="',i,'" '),c.push('href="',e.replace(/"/g,"""),'">'),l(t),c.push("</a>")}}}])}(window,window.angular),function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof exports?module.exports=t():t()}(0,function(){function e(t){"use strict";var n=t.storageKey(),r=t.storage(),e=function(){var e=t.preferredLanguage();angular.isString(e)?t.use(e):r.put(n,t.use())};e.displayName="fallbackFromIncorrectStorageValue",r?r.get(n)?t.use(r.get(n)).catch(e):e():angular.isString(t.preferredLanguage())&&t.use(t.preferredLanguage())}function t(e,i,t,a){"use strict";var M,u,$,O,R,N,L,n,F,G,j,B,U,H,W,q,z={},V=[],Y=e,K=[],Q="translate-cloak",X=!1,Z=!1,J=".",ee=!1,te=0,ne=!0,r="default",o={default:function(e){return(e||"").split("-").join("_")},java:function(e){var t=(e||"").split("-").join("_"),n=t.split("_");return 1<n.length?n[0].toLowerCase()+"_"+n[1].toUpperCase():t},bcp47:function(e){var t=(e||"").split("_").join("-"),n=t.split("-");return 1<n.length?n[0].toLowerCase()+"-"+n[1].toUpperCase():t},"iso639-1":function(e){return(e||"").split("_").join("-").split("-")[0].toLowerCase()}},s=function(){if(angular.isFunction(a.getLocale))return a.getLocale();var e,t,n=i.$get().navigator,r=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(n.languages))for(e=0;e<n.languages.length;e++)if((t=n.languages[e])&&t.length)return t;for(e=0;e<r.length;e++)if((t=n[r[e]])&&t.length)return t;return null};s.displayName="angular-translate/service: getFirstBrowserLanguage";var re=function(){var e=s()||"";return o[r]&&(e=o[r](e)),e};re.displayName="angular-translate/service: getLocale";var ie=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},ae=function(){return this.toString().replace(/^\s+|\s+$/g,"")},oe=function(e){if(e){for(var t,n=[],r=angular.lowercase(e),i=0,a=V.length;i<a;i++)n.push(angular.lowercase(V[i]));if(-1<ie(n,r))return e;if(u)for(var o in u)if(u.hasOwnProperty(o)){var s=!1,c=Object.prototype.hasOwnProperty.call(u,o)&&angular.lowercase(o)===angular.lowercase(e);if("*"===o.slice(-1)&&(s=o.slice(0,-1)===e.slice(0,o.length-1)),(c||s)&&(t=u[o],-1<ie(n,angular.lowercase(t))))return t}var l=e.split("_");return 1<l.length&&-1<ie(n,angular.lowercase(l[0]))?l[0]:void 0}},se=function(e,t){if(!e&&!t)return z;if(e&&!t){if(angular.isString(e))return z[e]}else angular.isObject(z[e])||(z[e]={}),angular.extend(z[e],ce(t));return this};this.translations=se,this.cloakClassName=function(e){return e?(Q=e,this):Q},this.nestedObjectDelimeter=function(e){return e?(J=e,this):J};var ce=function(e,t,n,r){var i,a,o;for(i in t||(t=[]),n||(n={}),e)Object.prototype.hasOwnProperty.call(e,i)&&(o=e[i],angular.isObject(o)?ce(o,t.concat(i),n,i):(a=t.length?""+t.join(J)+J+i:i,t.length&&i===r&&(n[""+t.join(J)]="@:"+a),n[a]=o));return n};ce.displayName="flatObject",this.addInterpolation=function(e){return K.push(e),this},this.useMessageFormatInterpolation=function(){return this.useInterpolation("$translateMessageFormatInterpolation")},this.useInterpolation=function(e){return G=e,this},this.useSanitizeValueStrategy=function(e){return t.useStrategy(e),this},this.preferredLanguage=function(e){return e?(le(e),this):M};var le=function(e){return e&&(M=e),M};this.translationNotFoundIndicator=function(e){return this.translationNotFoundIndicatorLeft(e),this.translationNotFoundIndicatorRight(e),this},this.translationNotFoundIndicatorLeft=function(e){return e?(U=e,this):U},this.translationNotFoundIndicatorRight=function(e){return e?(H=e,this):H},this.fallbackLanguage=function(e){return ue(e),this};var ue=function(e){return e?(angular.isString(e)?(O=!0,$=[e]):angular.isArray(e)&&(O=!1,$=e),angular.isString(M)&&ie($,M)<0&&$.push(M),this):O?$[0]:$};this.use=function(e){if(e){if(!z[e]&&!j)throw new Error("$translateProvider couldn't find translationTable for langKey: '"+e+"'");return R=e,this}return R},this.resolveClientLocale=function(){return re()};var fe=function(e){return e?(Y=e,this):n?n+Y:Y};this.storageKey=fe,this.useUrlLoader=function(e,t){return this.useLoader("$translateUrlLoader",angular.extend({url:e},t))},this.useStaticFilesLoader=function(e){return this.useLoader("$translateStaticFilesLoader",e)},this.useLoader=function(e,t){return j=e,B=t||{},this},this.useLocalStorage=function(){return this.useStorage("$translateLocalStorage")},this.useCookieStorage=function(){return this.useStorage("$translateCookieStorage")},this.useStorage=function(e){return L=e,this},this.storagePrefix=function(e){return e?(n=e,this):e},this.useMissingTranslationHandlerLog=function(){return this.useMissingTranslationHandler("$translateMissingTranslationHandlerLog")},this.useMissingTranslationHandler=function(e){return F=e,this},this.usePostCompiling=function(e){return X=!!e,this},this.forceAsyncReload=function(e){return Z=!!e,this},this.uniformLanguageTag=function(e){return e?angular.isString(e)&&(e={standard:e}):e={},r=e.standard,this},this.determinePreferredLanguage=function(e){var t=e&&angular.isFunction(e)?e():re();return M=V.length&&oe(t)||t,this},this.registerAvailableLanguageKeys=function(e,t){return e?(V=e,t&&(u=t),this):V},this.useLoaderCache=function(e){return!1===e?W=void 0:!0===e?W=!0:void 0===e?W="$translationCache":e&&(W=e),this},this.directivePriority=function(e){return void 0===e?te:(te=e,this)},this.statefulFilter=function(e){return void 0===e?ne:(ne=e,this)},this.postProcess=function(e){return q=e||void 0,this},this.$get=["$log","$injector","$rootScope","$q",function(e,o,u,m){var a,g,_,b=o.get(G||"$translateDefaultInterpolation"),v=!1,y={},f={},w=function(e,o,s,c,l){!R&&M&&(R=M);var r=l&&l!==R?oe(l)||l:R;if(l&&k(l),angular.isArray(e)){return function(e){for(var r={},t=[],n=function(t){var n=m.defer(),e=function(e){r[t]=e,n.resolve([t,e])};return w(t,o,s,c,l).then(e,e),n.promise},i=0,a=e.length;i<a;i++)t.push(n(e[i]));return m.all(t).then(function(){return r})}(e)}var t=m.defer();e&&(e=ae.apply(e));var n=function(){var e=M?f[M]:f[r];if(g=0,L&&!e){var t=a.get(Y);if(e=f[t],$&&$.length){var n=ie($,t);g=0===n?1:0,ie($,M)<0&&$.push(M)}}return e}();if(n){var i=function(){l||(r=R),p(e,o,s,c,r).then(t.resolve,t.reject)};i.displayName="promiseResolved",n.finally(i)}else p(e,o,s,c,r).then(t.resolve,t.reject);return t.promise},C=function(e){return U&&(e=[U,e].join(" ")),H&&(e=[e,H].join(" ")),e},d=function(e){R=e,L&&a.put(w.storageKey(),R),u.$emit("$translateChangeSuccess",{language:e}),b.setLocale(R);var t=function(e,t){y[t].setLocale(R)};t.displayName="eachInterpolatorLocaleSetter",angular.forEach(y,t),u.$emit("$translateChangeEnd",{language:e})},h=function(n){if(!n)throw"No language key specified for loading.";var r=m.defer();u.$emit("$translateLoadingStart",{language:n}),v=!0;var e=W;"string"==typeof e&&(e=o.get(e));var t=angular.extend({},B,{key:n,$http:angular.extend({},{cache:e},B.$http)}),i=function(e){var t={};u.$emit("$translateLoadingSuccess",{language:n}),angular.isArray(e)?angular.forEach(e,function(e){angular.extend(t,ce(e))}):angular.extend(t,ce(e)),v=!1,r.resolve({key:n,table:t}),u.$emit("$translateLoadingEnd",{language:n})};i.displayName="onLoaderSuccess";var a=function(e){u.$emit("$translateLoadingError",{language:e}),r.reject(e),u.$emit("$translateLoadingEnd",{language:e})};return a.displayName="onLoaderError",o.get(j)(t).then(i,a),r.promise};if(L&&(!(a=o.get(L)).get||!a.put))throw new Error("Couldn't use storage '"+L+"', missing get() or put() method!");if(K.length){var t=function(e){var t=o.get(e);t.setLocale(M||R),y[t.getInterpolationIdentifier()]=t};t.displayName="interpolationFactoryAdder",angular.forEach(K,t)}var c=function(r,i,a,o){var s=m.defer(),e=function(e){if(Object.prototype.hasOwnProperty.call(e,i)){o.setLocale(r);var t=e[i];if("@:"===t.substr(0,2))c(r,t.substr(2),a,o).then(s.resolve,s.reject);else{var n=o.interpolate(e[i],a);n=x(i,e[i],n,a,r),s.resolve(n)}o.setLocale(R)}else s.reject()};return e.displayName="fallbackTranslationResolver",function(e){var t=m.defer();if(Object.prototype.hasOwnProperty.call(z,e))t.resolve(z[e]);else if(f[e]){var n=function(e){se(e.key,e.table),t.resolve(e.table)};n.displayName="translationTableResolver",f[e].then(n,t.reject)}else t.reject();return t.promise}(r).then(e,s.reject),s.promise},s=function(e,t,n,r){var i,a=z[e];if(a&&Object.prototype.hasOwnProperty.call(a,t)){if(r.setLocale(e),"@:"===(i=r.interpolate(a[t],n)).substr(0,2))return s(e,i.substr(2),n,r);r.setLocale(R)}return i},A=function(e,t,n){if(F){var r=o.get(F)(e,R,t,n);return void 0!==r?r:e}return e},S=function(e,t,n,r,i){var a=m.defer();if(e<$.length){var o=$[e];c(o,t,n,r).then(function(e){a.resolve(e)},function(){return S(e+1,t,n,r,i).then(a.resolve,a.reject)})}else i?a.resolve(i):F?a.resolve(A(t,n)):a.reject(A(t,n));return a.promise},l=function(e,t,n,r){var i;if(e<$.length){var a=$[e];(i=s(a,t,n,r))||(i=l(e+1,t,n,r))}return i},p=function(e,t,n,r,i){var a,o,s,c,l=m.defer(),u=i?z[i]:z,f=n?y[n]:b;if(u&&Object.prototype.hasOwnProperty.call(u,e)){var d=u[e];if("@:"===d.substr(0,2))w(d.substr(2),t,n,r,i).then(l.resolve,l.reject);else{var h=f.interpolate(d,t);h=x(e,d,h,t,i),l.resolve(h)}}else{var p;F&&!v&&(p=A(e,t,r)),i&&$&&$.length?(a=e,o=t,s=f,c=r,S(0<_?_:g,a,o,s,c)).then(function(e){l.resolve(e)},function(e){l.reject(C(e))}):F&&!v&&p?r?l.resolve(r):l.resolve(p):r?l.resolve(r):l.reject(C(e))}return l.promise},T=function(e,t,n,r){var i,a=r?z[r]:z,o=b;if(y&&Object.prototype.hasOwnProperty.call(y,n)&&(o=y[n]),a&&Object.prototype.hasOwnProperty.call(a,e)){var s=a[e];i="@:"===s.substr(0,2)?T(s.substr(2),t,n,r):o.interpolate(s,t)}else{var c;F&&!v&&(c=A(e,t)),i=r&&$&&$.length?l((g=0)<_?_:g,e,t,o):F&&!v&&c?c:C(e)}return i},x=function(e,t,n,r,i){var a=q;return a&&("string"==typeof a&&(a=o.get(a)),a)?a(e,t,n,r,i):n},k=function(e){z[e]||!j||f[e]||(f[e]=h(e).then(function(e){se(e.key,e.table)}))};w.preferredLanguage=function(e){return e&&le(e),M},w.cloakClassName=function(){return Q},w.nestedObjectDelimeter=function(){return J},w.fallbackLanguage=function(e){if(null!=e){if(ue(e),j&&$&&$.length)for(var t=0,n=$.length;t<n;t++)f[$[t]]||(f[$[t]]=h($[t]));w.use(w.use())}return O?$[0]:$},w.useFallbackLanguage=function(e){if(null!=e)if(e){var t=ie($,e);-1<t&&(_=t)}else _=0},w.proposedLanguage=function(){return N},w.storage=function(){return a},w.negotiateLocale=oe,w.use=function(t){if(!t)return R;var n=m.defer();u.$emit("$translateChangeStart",{language:t});var e=oe(t);return 0<V.length&&!e?m.reject(t):(e&&(t=e),N=t,!Z&&z[t]||!j||f[t]?f[t]?f[t].then(function(e){return N===e.key&&d(e.key),n.resolve(e.key),e},function(e){return!R&&$&&0<$.length?w.use($[0]).then(n.resolve,n.reject):n.reject(e)}):(n.resolve(t),d(t)):(f[t]=h(t).then(function(e){return se(e.key,e.table),n.resolve(e.key),N===t&&d(e.key),e},function(e){return u.$emit("$translateChangeError",{language:e}),n.reject(e),u.$emit("$translateChangeEnd",{language:e}),m.reject(e)}),f[t].finally(function(){var e;N===(e=t)&&(N=void 0),f[e]=void 0})),n.promise)},w.resolveClientLocale=function(){return re()},w.storageKey=function(){return fe()},w.isPostCompilingEnabled=function(){return X},w.isForceAsyncReloadEnabled=function(){return Z},w.refresh=function(t){if(!j)throw new Error("Couldn't refresh translation table, no loader registered!");var e=m.defer();function n(){e.resolve(),u.$emit("$translateRefreshEnd",{language:t})}function r(){e.reject(),u.$emit("$translateRefreshEnd",{language:t})}if(u.$emit("$translateRefreshStart",{language:t}),t)if(z[t]){var i=function(e){se(e.key,e.table),t===R&&d(R),n()};i.displayName="refreshPostProcessor",h(t).then(i,r)}else r();else{var a=[],o={};if($&&$.length)for(var s=0,c=$.length;s<c;s++)a.push(h($[s])),o[$[s]]=!0;R&&!o[R]&&a.push(h(R));var l=function(e){z={},angular.forEach(e,function(e){se(e.key,e.table)}),R&&d(R),n()};l.displayName="refreshPostProcessor",m.all(a).then(l,r)}return e.promise},w.instant=function(e,t,n,r){var i=r&&r!==R?oe(r)||r:R;if(null===e||angular.isUndefined(e))return e;if(r&&k(r),angular.isArray(e)){for(var a={},o=0,s=e.length;o<s;o++)a[e[o]]=w.instant(e[o],t,n,r);return a}if(angular.isString(e)&&e.length<1)return e;e&&(e=ae.apply(e));var c,l=[];M&&l.push(M),i&&l.push(i),$&&$.length&&(l=l.concat($));for(var u=0,f=l.length;u<f;u++){var d=l[u];if(z[d]&&void 0!==z[d][e]&&(c=T(e,t,n,i)),void 0!==c)break}return c||""===c||(U||H?c=C(e):(c=b.interpolate(e,t),F&&!v&&(c=A(e,t)))),c},w.versionInfo=function(){return"2.11.0"},w.loaderCache=function(){return W},w.directivePriority=function(){return te},w.statefulFilter=function(){return ne},w.isReady=function(){return ee};var n=m.defer();n.promise.then(function(){ee=!0}),w.onReady=function(e){var t=m.defer();return angular.isFunction(e)&&t.promise.then(e),ee?t.resolve():n.promise.then(t.resolve),t.promise},w.getAvailableLanguageKeys=function(){return 0<V.length?V:null};var r=u.$on("$translateReady",function(){n.resolve(),r(),r=null}),i=u.$on("$translateChangeEnd",function(){n.resolve(),i(),i=null});if(j){if(angular.equals(z,{})&&w.use()&&w.use(w.use()),$&&$.length)for(var E=function(e){return se(e.key,e.table),u.$emit("$translateChangeEnd",{language:e.key}),e},D=0,I=$.length;D<I;D++){var P=$[D];!Z&&z[P]||(f[P]=h(P).then(E))}}else u.$emit("$translateReady",{language:w.use()});return w}]}function n(r,i){"use strict";var e={};return e.setLocale=function(e){e},e.getInterpolationIdentifier=function(){return"default"},e.useSanitizeValueStrategy=function(e){return i.useStrategy(e),this},e.interpolate=function(e,t){t=t||{},t=i.sanitize(t,"params");var n=r(e)(t);return n=i.sanitize(n,"text")},e}function r(w,e,C,A,S,T){"use strict";return{restrict:"AE",scope:!0,priority:w.directivePriority(),compile:function(e,m){var g=m.translateValues?m.translateValues:void 0,_=m.translateInterpolation?m.translateInterpolation:void 0,b=e[0].outerHTML.match(/translate-value-+/i),v="^(.*)("+C.startSymbol()+".*"+C.endSymbol()+")(.*)",y="^(.*)"+C.startSymbol()+"(.*)"+C.endSymbol()+"(.*)";return function(i,c,l){i.interpolateParams={},i.preText="",i.postText="",i.translateNamespace=x(i);var a={},o=function(e){if(angular.isFunction(o._unwatchOld)&&(o._unwatchOld(),o._unwatchOld=void 0),angular.equals(e,"")||!angular.isDefined(e)){var t=function(){return this.toString().replace(/^\s+|\s+$/g,"")}.apply(c.text()),n=t.match(v);if(angular.isArray(n)){i.preText=n[1],i.postText=n[3],a.translate=C(n[2])(i.$parent);var r=t.match(y);angular.isArray(r)&&r[2]&&r[2].length&&(o._unwatchOld=i.$watch(r[2],function(e){a.translate=e,u()}))}else a.translate=t||void 0}else a.translate=e;u()},e=function(t){l.$observe(t,function(e){a[t]=e,u()})};!function(e,t,n){if(t.translateValues&&angular.extend(e,S(t.translateValues)(i.$parent)),b)for(var r in n)Object.prototype.hasOwnProperty.call(t,r)&&"translateValue"===r.substr(0,14)&&"translateValues"!==r&&(e[angular.lowercase(r.substr(14,1))+r.substr(15)]=n[r])}(i.interpolateParams,l,m);var t=!0;for(var n in l.$observe("translate",function(e){void 0===e?o(""):""===e&&t||(a.translate=e,u()),t=!1}),l)l.hasOwnProperty(n)&&"translateAttr"===n.substr(0,13)&&e(n);if(l.$observe("translateDefault",function(e){i.defaultText=e,u()}),g&&l.$observe("translateValues",function(e){e&&i.$parent.$watch(function(){angular.extend(i.interpolateParams,S(e)(i.$parent))})}),b){var r=function(n){l.$observe(n,function(e){var t=angular.lowercase(n.substr(14,1))+n.substr(15);i.interpolateParams[t]=e})};for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&"translateValue"===s.substr(0,14)&&"translateValues"!==s&&r(s)}var u=function(){for(var e in a)a.hasOwnProperty(e)&&void 0!==a[e]&&f(e,a[e],i,i.interpolateParams,i.defaultText,i.translateNamespace)},f=function(t,e,n,r,i,a){e?(a&&"."===e.charAt(0)&&(e=a+e),w(e,r,_,i,n.translateLanguage).then(function(e){d(e,n,!0,t)},function(e){d(e,n,!1,t)})):d(e,n,!1,t)},d=function(e,t,n,r){if(n||void 0!==t.defaultText&&(e=t.defaultText),"translate"===r){(n||!n&&void 0===l.translateKeepContent)&&c.empty().append(t.preText+e+t.postText);var i=w.isPostCompilingEnabled(),a=void 0!==m.translateCompile,o=a&&"false"!==m.translateCompile;(i&&!a||o)&&A(c.contents())(t)}else{var s=l.$attr[r];"data-"===s.substr(0,5)&&(s=s.substr(5)),s=s.substr(15),c.attr(s,e)}};(g||b||l.translateDefault)&&i.$watch("interpolateParams",u,!0);var h=i.$on("translateLanguageChanged",u),p=T.$on("$translateChangeSuccess",u);c.text().length?l.translate?o(l.translate):o(""):l.translate&&o(l.translate),u(),i.$on("$destroy",function(){h(),p()})}}}}function x(e){"use strict";return e.translateNamespace?e.translateNamespace:e.$parent?x(e.$parent):void 0}function i(a,o){"use strict";return{compile:function(e){var r=function(){e.addClass(a.cloakClassName())},i=function(){e.removeClass(a.cloakClassName())};return a.onReady(function(){i()}),r(),function(e,t,n){n.translateCloak&&n.translateCloak.length&&(n.$observe("translateCloak",function(e){a(e).then(i,r)}),o.$on("$translateChangeSuccess",function(){a(n.translateCloak).then(i,r)}))}}}}function a(){"use strict";return{restrict:"A",scope:!0,compile:function(){return{pre:function(e,t,n){e.translateNamespace=x(e),e.translateNamespace&&"."===n.translateNamespace.charAt(0)?e.translateNamespace+=n.translateNamespace:e.translateNamespace=n.translateNamespace}}}}}function x(e){"use strict";return e.translateNamespace?e.translateNamespace:e.$parent?x(e.$parent):void 0}function o(){"use strict";return{restrict:"A",scope:!0,compile:function(){return function(t,e,n){n.$observe("translateLanguage",function(e){t.translateLanguage=e}),t.$watch("translateLanguage",function(){t.$broadcast("translateLanguageChanged")})}}}}function s(i,a){"use strict";var e=function(e,t,n,r){return angular.isObject(t)||(t=i(t)(this)),a.instant(e,t,n,r)};return a.statefulFilter()&&(e.$stateful=!0),e}function c(e){"use strict";return e("translations")}return e.$inject=["$translate"],t.$inject=["$STORAGE_KEY","$windowProvider","$translateSanitizationProvider","pascalprechtTranslateOverrider"],n.$inject=["$interpolate","$translateSanitization"],r.$inject=["$translate","$q","$interpolate","$compile","$parse","$rootScope"],i.$inject=["$translate","$rootScope"],s.$inject=["$parse","$translate"],c.$inject=["$cacheFactory"],angular.module("pascalprecht.translate",["ng"]).run(e),e.displayName="runTranslate",angular.module("pascalprecht.translate").provider("$translateSanitization",function(){"use strict";var n,u,f=null,d=!1,h=!1;(u={sanitize:function(e,t){return"text"===t&&(e=i(e)),e},escape:function(e,t){return"text"===t&&(e=r(e)),e},sanitizeParameters:function(e,t){return"params"===t&&(e=a(e,i)),e},escapeParameters:function(e,t){return"params"===t&&(e=a(e,r)),e}}).escaped=u.escapeParameters,this.addStrategy=function(e,t){return u[e]=t,this},this.removeStrategy=function(e){return delete u[e],this},this.useStrategy=function(e){return d=!0,f=e,this},this.$get=["$injector","$log",function(s,c){var t,l={};return s.has("$sanitize")&&(n=s.get("$sanitize")),{useStrategy:(t=this,function(e){t.useStrategy(e)}),sanitize:function(e,t,n){if(f||d||h||(c.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),h=!0),arguments.length<3&&(n=f),!n)return e;var r,i,a,o=angular.isArray(n)?n:[n];return r=e,i=t,a=o,angular.forEach(a,function(t){if(angular.isFunction(t))r=t(r,i);else if(angular.isFunction(u[t]))r=u[t](r,i);else{if(!angular.isString(u[t]))throw new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+t+"'");if(!l[u[t]])try{l[u[t]]=s.get(u[t])}catch(e){throw l[u[t]]=function(){},new Error("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+t+"'")}r=l[u[t]](r,i)}}),r}}}];var r=function(e){var t=angular.element("<div></div>");return t.text(e),t.html()},i=function(e){if(!n)throw new Error("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.");return n(e)},a=function(e,n,r){if(angular.isObject(e)){var i=angular.isArray(e)?[]:{};if(r){if(-1<r.indexOf(e))throw new Error("pascalprecht.translate.$translateSanitization: Error cannot interpolate parameter due recursive object")}else r=[];return r.push(e),angular.forEach(e,function(e,t){i[t]=a(e,n,r)}),r.splice(-1,1),i}return angular.isNumber(e)?e:n(e)}}),angular.module("pascalprecht.translate").constant("pascalprechtTranslateOverrider",{}).provider("$translate",t),t.displayName="displayName",angular.module("pascalprecht.translate").factory("$translateDefaultInterpolation",n),n.displayName="$translateDefaultInterpolation",angular.module("pascalprecht.translate").constant("$STORAGE_KEY","NG_TRANSLATE_LANG_KEY"),angular.module("pascalprecht.translate").directive("translate",r),r.displayName="translateDirective",angular.module("pascalprecht.translate").directive("translateCloak",i),i.displayName="translateCloakDirective",angular.module("pascalprecht.translate").directive("translateNamespace",a),a.displayName="translateNamespaceDirective",angular.module("pascalprecht.translate").directive("translateLanguage",o),o.displayName="translateLanguageDirective",angular.module("pascalprecht.translate").filter("translate",s),s.displayName="translateFilterFactory",angular.module("pascalprecht.translate").factory("$translationCache",c),c.displayName="$translationCache","pascalprecht.translate"}),function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof exports?module.exports=t():t()}(0,function(){function e(){"use strict";function r(e,t){this.name=e,this.isActive=!0,this.tables={},this.priority=t||0}r.prototype.parseUrl=function(e,t){return angular.isFunction(e)?e(this.name,t):e.replace(/\{part\}/g,this.name).replace(/\{lang\}/g,t)},r.prototype.getTable=function(t,e,n,r,i,a){if(this.tables[t])return e.when(this.tables[t]);var o=this;return n(angular.extend({method:"GET",url:this.parseUrl(i,t)},r)).then(function(e){return o.tables[t]=e.data,e.data},function(){return a?a(o.name,t).then(function(e){return o.tables[t]=e},function(){return e.reject(o.name)}):e.reject(o.name)})};var l={};function u(e){return Object.prototype.hasOwnProperty.call(l,e)}function f(e){return angular.isString(e)&&""!==e}function e(e){if(!f(e))throw new TypeError("Invalid type of a first argument, a non-empty string expected.");return u(e)&&l[e].isActive}function d(){var e=[];for(var t in l)l[t].isActive&&e.push(l[t]);return e.sort(function(e,t){return e.priority-t.priority}),e}this.addPart=function(e,t){if(!f(e))throw new TypeError("Couldn't add part, part name has to be a string!");return u(e)||(l[e]=new r(e,t)),l[e].isActive=!0,this},this.setPart=function(e,t,n){if(!f(e))throw new TypeError("Couldn't set part.`lang` parameter has to be a string!");if(!f(t))throw new TypeError("Couldn't set part.`part` parameter has to be a string!");if("object"!=typeof n||null===n)throw new TypeError("Couldn't set part. `table` parameter has to be an object!");return u(t)||(l[t]=new r(t),l[t].isActive=!1),l[t].tables[e]=n,this},this.deletePart=function(e){if(!f(e))throw new TypeError("Couldn't delete part, first arg has to be string.");return u(e)&&(l[e].isActive=!1),this},this.isPartAvailable=e,this.$get=["$rootScope","$injector","$q","$http",function(i,a,o,s){var c=function(n){if(!f(n.key))throw new TypeError("Unable to load data, a key is not a non-empty string.");if(!f(n.urlTemplate)&&!angular.isFunction(n.urlTemplate))throw new TypeError("Unable to load data, a urlTemplate is not a non-empty string or not a function.");var t=n.loadFailureHandler;if(void 0!==t){if(!angular.isString(t))throw new Error("Unable to load data, a loadFailureHandler is not a string.");t=a.get(t)}var r=[],e=d();return angular.forEach(e,function(e){r.push(e.getTable(n.key,o,s,n.$http,n.urlTemplate,t)),e.urlTemplate=n.urlTemplate}),o.all(r).then(function(){var t={};return e=d(),angular.forEach(e,function(e){!function e(t,n){for(var r in n)n[r]&&n[r].constructor&&n[r].constructor===Object?(t[r]=t[r]||{},e(t[r],n[r])):t[r]=n[r];return t}(t,e.tables[n.key])}),t},function(){return o.reject(n.key)})};return c.addPart=function(e,t){if(!f(e))throw new TypeError("Couldn't add part, first arg has to be a string");return u(e)?l[e].isActive||(l[e].isActive=!0,i.$emit("$translatePartialLoaderStructureChanged",e)):(l[e]=new r(e,t),i.$emit("$translatePartialLoaderStructureChanged",e)),c},c.deletePart=function(n,e){if(!f(n))throw new TypeError("Couldn't delete part, first arg has to be string");if(void 0===e)e=!1;else if("boolean"!=typeof e)throw new TypeError("Invalid type of a second argument, a boolean expected.");if(u(n)){var t=l[n].isActive;if(e){var r=a.get("$translate").loaderCache();"string"==typeof r&&(r=a.get(r)),"object"==typeof r&&angular.forEach(l[n].tables,function(e,t){r.remove(l[n].parseUrl(l[n].urlTemplate,t))}),delete l[n]}else l[n].isActive=!1;t&&i.$emit("$translatePartialLoaderStructureChanged",n)}return c},c.isPartLoaded=function(e,t){return angular.isDefined(l[e])&&angular.isDefined(l[e].tables[t])},c.getRegisteredParts=function(){var t=[];return angular.forEach(l,function(e){e.isActive&&t.push(e.name)}),t},c.isPartAvailable=e,c}]}return angular.module("pascalprecht.translate").provider("$translatePartialLoader",e),e.displayName="$translatePartialLoader","pascalprecht.translate"}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";var e,r;function d(){return e.apply(null,arguments)}function s(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n<e.length;++n)r.push(t(e[n],n));return r}function h(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function u(e,t){for(var n in t)h(t,n)&&(e[n]=t[n]);return h(t,"toString")&&(e.toString=t.toString),h(t,"valueOf")&&(e.valueOf=t.valueOf),e}function f(e,t,n,r){return st(e,t,n,r,!0).utc()}function p(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}function m(e){if(null==e._isValid){var t=p(e),n=r.call(t.parsedDateParts,function(e){return null!=e});e._isValid=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n),e._strict&&(e._isValid=e._isValid&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour)}return e._isValid}function g(e){var t=f(NaN);return null!=e?u(p(t),e):p(t).userInvalidated=!0,t}function a(e){return void 0===e}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r<n;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var o=d.momentProperties=[];function _(e,t){var n,r,i;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=p(t)),a(t._locale)||(e._locale=t._locale),0<o.length)for(n in o)a(i=t[r=o[n]])||(e[r]=i);return e}var t=!1;function b(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===t&&(t=!0,d.updateOffset(this),t=!1)}function v(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function y(e){return e<0?Math.ceil(e):Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=y(t)),n}function C(e,t,n){var r,i=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&w(e[r])!==w(t[r]))&&o++;return o+a}function i(e){!1===d.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(e,t){var n=!0;return u(function(){return null!=d.deprecationHandler&&d.deprecationHandler(null,e),n&&(i(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),n=!1),t.apply(this,arguments)},t)}var A,S={};function T(e,t){null!=d.deprecationHandler&&d.deprecationHandler(e,t),S[e]||(i(t),S[e]=!0)}function x(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function k(e){return"[object Object]"===Object.prototype.toString.call(e)}function E(e,t){var n,r=u({},e);for(n in t)h(t,n)&&(k(e[n])&&k(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}d.suppressDeprecationWarnings=!1,d.deprecationHandler=null,A=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)h(e,t)&&n.push(t);return n};var I,P={};function M(e){return e?e.toLowerCase().replace("_","-"):e}function $(e){var t=null;if(!P[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=I._abbr,require("./locale/"+e),O(t)}catch(e){}return P[e]}function O(e,t){var n;return e&&(n=a(t)?N(e):R(e,t))&&(I=n),I._abbr}function R(e,t){return null!==t?(t.abbr=e,null!=P[e]?(T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(P[e]._config,t)):null!=t.parentLocale&&(null!=P[t.parentLocale]?t=E(P[t.parentLocale]._config,t):T("parentLocaleUndefined","specified parentLocale is not defined yet")),P[e]=new D(t),O(e),P[e]):(delete P[e],null)}function N(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return I;if(!s(e)){if(t=$(e))return t;e=[e]}return function(e){for(var t,n,r,i,a=0;a<e.length;){for(t=(i=M(e[a]).split("-")).length,n=(n=M(e[a+1]))?n.split("-"):null;0<t;){if(r=$(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&C(i,n,!0)>=t-1)break;t--}a++}return null}(e)}var L={};function F(e,t){var n=e.toLowerCase();L[n]=L[n+"s"]=L[t]=e}function G(e){return"string"==typeof e?L[e]||L[e.toLowerCase()]:void 0}function j(e){var t,n,r={};for(n in e)h(e,n)&&(t=G(n))&&(r[t]=e[n]);return r}function B(t,n){return function(e){return null!=e?(H(this,t,e),d.updateOffset(this,n),this):U(this,t)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function W(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(x(this[e=G(e)]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var z=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,V=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Y={},K={};function Q(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(K[e]=i),t&&(K[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(K[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function X(e,t){return e.isValid()?(t=Z(t,e.localeData()),Y[t]=Y[t]||function(r){var e,i,t,a=r.match(z);for(e=0,i=a.length;e<i;e++)K[a[e]]?a[e]=K[a[e]]:a[e]=(t=a[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(e){var t,n="";for(t=0;t<i;t++)n+=a[t]instanceof Function?a[t].call(e,r):a[t];return n}}(t),Y[t](e)):e.localeData().invalidDate()}function Z(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(V.lastIndex=0;0<=n&&V.test(e);)e=e.replace(V,r),V.lastIndex=0,n-=1;return e}var J=/\d/,ee=/\d\d/,te=/\d{3}/,ne=/\d{4}/,re=/[+-]?\d{6}/,ie=/\d\d?/,ae=/\d\d\d\d?/,oe=/\d\d\d\d\d\d?/,se=/\d{1,3}/,ce=/\d{1,4}/,le=/[+-]?\d{1,6}/,ue=/\d+/,fe=/[+-]?\d+/,de=/Z|[+-]\d\d:?\d\d/gi,he=/Z|[+-]\d\d(?::?\d\d)?/gi,pe=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,me={};function ge(e,n,r){me[e]=x(n)?n:function(e,t){return e&&r?r:n}}function _e(e,t){return h(me,e)?me[e](t._strict,t._locale):new RegExp(be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i})))}function be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ve={};function ye(e,n){var t,r=n;for("string"==typeof e&&(e=[e]),"number"==typeof n&&(r=function(e,t){t[n]=w(e)}),t=0;t<e.length;t++)ve[e[t]]=r}function we(e,i){ye(e,function(e,t,n,r){n._w=n._w||{},i(e,n._w,n,r)})}var Ce,Ae=0,Se=1,Te=2,xe=3,ke=4,Ee=5,De=6,Ie=7,Pe=8;function Me(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Q("M",["MM",2],"Mo",function(){return this.month()+1}),Q("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),Q("MMMM",0,0,function(e){return this.localeData().months(this,e)}),F("month","M"),ge("M",ie),ge("MM",ie,ee),ge("MMM",function(e,t){return t.monthsShortRegex(e)}),ge("MMMM",function(e,t){return t.monthsRegex(e)}),ye(["M","MM"],function(e,t){t[Se]=w(e)-1}),ye(["MMM","MMMM"],function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);null!=i?t[Se]=i:p(n).invalidMonth=e});var $e=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Oe="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Re="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ne(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Me(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Le(e){return null!=e?(Ne(this,e),d.updateOffset(this,!0),this):U(this,"Month")}var Fe=pe;var Ge=pe;function je(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],a=[];for(t=0;t<12;t++)n=f([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),a.sort(e),t=0;t<12;t++)r[t]=be(r[t]),i[t]=be(i[t]),a[t]=be(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function Be(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Se]<0||11<n[Se]?Se:n[Te]<1||n[Te]>Me(n[Ae],n[Se])?Te:n[xe]<0||24<n[xe]||24===n[xe]&&(0!==n[ke]||0!==n[Ee]||0!==n[De])?xe:n[ke]<0||59<n[ke]?ke:n[Ee]<0||59<n[Ee]?Ee:n[De]<0||999<n[De]?De:-1,p(e)._overflowDayOfYear&&(t<Ae||Te<t)&&(t=Te),p(e)._overflowWeeks&&-1===t&&(t=Ie),p(e)._overflowWeekday&&-1===t&&(t=Pe),p(e).overflow=t),e}var Ue=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,He=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,We=/Z|[+-]\d\d(?::?\d\d)?/,qe=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],ze=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ve=/^\/?Date\((\-?\d+)/i;function Ye(e){var t,n,r,i,a,o,s=e._i,c=Ue.exec(s)||He.exec(s);if(c){for(p(e).iso=!0,t=0,n=qe.length;t<n;t++)if(qe[t][1].exec(c[1])){i=qe[t][0],r=!1!==qe[t][2];break}if(null==i)return void(e._isValid=!1);if(c[3]){for(t=0,n=ze.length;t<n;t++)if(ze[t][1].exec(c[3])){a=(c[2]||" ")+ze[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(c[4]){if(!We.exec(c[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),at(e)}else e._isValid=!1}function Ke(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&0<=e&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Qe(e){return Xe(e)?366:365}function Xe(e){return e%4==0&&e%100!=0||e%400==0}d.createFromInputFallback=n("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),Q("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),Q(0,["YY",2],0,function(){return this.year()%100}),Q(0,["YYYY",4],0,"year"),Q(0,["YYYYY",5],0,"year"),Q(0,["YYYYYY",6,!0],0,"year"),F("year","y"),ge("Y",fe),ge("YY",ie,ee),ge("YYYY",ce,ne),ge("YYYYY",le,re),ge("YYYYYY",le,re),ye(["YYYYY","YYYYYY"],Ae),ye("YYYY",function(e,t){t[Ae]=2===e.length?d.parseTwoDigitYear(e):w(e)}),ye("YY",function(e,t){t[Ae]=d.parseTwoDigitYear(e)}),ye("Y",function(e,t){t[Ae]=parseInt(e,10)}),d.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var Ze=B("FullYear",!0);function Je(e,t,n){var r=7+t-n;return-((7+Ke(e,0,r).getUTCDay()-t)%7)+r-1}function et(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+Je(e,r,i);return o=s<=0?Qe(a=e-1)+s:s>Qe(e)?(a=e+1,s-Qe(e)):(a=e,s),{year:a,dayOfYear:o}}function tt(e,t,n){var r,i,a=Je(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+nt(i=e.year()-1,t,n):o>nt(e.year(),t,n)?(r=o-nt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function nt(e,t,n){var r=Je(e,t,n),i=Je(e+1,t,n);return(Qe(e)-r+i)/7}function rt(e,t,n){return null!=e?e:null!=t?t:n}function it(e){var t,n,r,i,a=[];if(!e._d){var o,s;for(o=e,s=new Date(d.now()),r=o._useUTC?[s.getUTCFullYear(),s.getUTCMonth(),s.getUTCDate()]:[s.getFullYear(),s.getMonth(),s.getDate()],e._w&&null==e._a[Te]&&null==e._a[Se]&&function(e){var t,n,r,i,a,o,s,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,o=4,n=rt(t.GG,e._a[Ae],tt(ct(),1,4).year),r=rt(t.W,1),((i=rt(t.E,1))<1||7<i)&&(c=!0)):(a=e._locale._week.dow,o=e._locale._week.doy,n=rt(t.gg,e._a[Ae],tt(ct(),a,o).year),r=rt(t.w,1),null!=t.d?((i=t.d)<0||6<i)&&(c=!0):null!=t.e?(i=t.e+a,(t.e<0||6<t.e)&&(c=!0)):i=a);r<1||r>nt(n,a,o)?p(e)._overflowWeeks=!0:null!=c?p(e)._overflowWeekday=!0:(s=et(n,r,i,a,o),e._a[Ae]=s.year,e._dayOfYear=s.dayOfYear)}(e),e._dayOfYear&&(i=rt(e._a[Ae],r[Ae]),e._dayOfYear>Qe(i)&&(p(e)._overflowDayOfYear=!0),n=Ke(i,0,e._dayOfYear),e._a[Se]=n.getUTCMonth(),e._a[Te]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[xe]&&0===e._a[ke]&&0===e._a[Ee]&&0===e._a[De]&&(e._nextDay=!0,e._a[xe]=0),e._d=(e._useUTC?Ke:function(e,t,n,r,i,a,o){var s=new Date(e,t,n,r,i,a,o);return e<100&&0<=e&&isFinite(s.getFullYear())&&s.setFullYear(e),s}).apply(null,a),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[xe]=24)}}function at(e){if(e._f!==d.ISO_8601){e._a=[],p(e).empty=!0;var t,n,r,i,a,o,s,c,l=""+e._i,u=l.length,f=0;for(r=Z(e._f,e._locale).match(z)||[],t=0;t<r.length;t++)i=r[t],(n=(l.match(_e(i,e))||[])[0])&&(0<(a=l.substr(0,l.indexOf(n))).length&&p(e).unusedInput.push(a),l=l.slice(l.indexOf(n)+n.length),f+=n.length),K[i]?(n?p(e).empty=!1:p(e).unusedTokens.push(i),o=i,c=e,null!=(s=n)&&h(ve,o)&&ve[o](s,c._a,c,o)):e._strict&&!n&&p(e).unusedTokens.push(i);p(e).charsLeftOver=u-f,0<l.length&&p(e).unusedInput.push(l),!0===p(e).bigHour&&e._a[xe]<=12&&0<e._a[xe]&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[xe]=function(e,t,n){var r;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0)),t)}(e._locale,e._a[xe],e._meridiem),it(e),Be(e)}else Ye(e)}function ot(e){var t,n,r,i,a=e._i,o=e._f;return e._locale=e._locale||N(e._l),null===a||void 0===o&&""===a?g({nullInput:!0}):("string"==typeof a&&(e._i=a=e._locale.preparse(a)),v(a)?new b(Be(a)):(s(o)?function(e){var t,n,r,i,a;if(0===e._f.length)return p(e).invalidFormat=!0,e._d=new Date(NaN);for(i=0;i<e._f.length;i++)a=0,t=_({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],at(t),m(t)&&(a+=p(t).charsLeftOver,a+=10*p(t).unusedTokens.length,p(t).score=a,(null==r||a<r)&&(r=a,n=t));u(e,n||t)}(e):o?at(e):c(a)?e._d=a:void 0===(n=(t=e)._i)?t._d=new Date(d.now()):c(n)?t._d=new Date(n.valueOf()):"string"==typeof n?(r=t,null===(i=Ve.exec(r._i))?(Ye(r),!1===r._isValid&&(delete r._isValid,d.createFromInputFallback(r))):r._d=new Date(+i[1])):s(n)?(t._a=l(n.slice(0),function(e){return parseInt(e,10)}),it(t)):"object"==typeof n?function(e){if(!e._d){var t=j(e._i);e._a=l([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),it(e)}}(t):"number"==typeof n?t._d=new Date(n):d.createFromInputFallback(t),m(e)||(e._d=null),e))}function st(e,t,n,r,i){var a,o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,(a=new b(Be(ot(o))))._nextDay&&(a.add(1,"d"),a._nextDay=void 0),a}function ct(e,t,n,r){return st(e,t,n,r,!1)}d.ISO_8601=function(){};var lt=n("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=ct.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:g()}),ut=n("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=ct.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:g()});function ft(e,t){var n,r;if(1===t.length&&s(t[0])&&(t=t[0]),!t.length)return ct();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function dt(e){var t=j(e),n=t.year||0,r=t.quarter||0,i=t.month||0,a=t.week||0,o=t.day||0,s=t.hour||0,c=t.minute||0,l=t.second||0,u=t.millisecond||0;this._milliseconds=+u+1e3*l+6e4*c+1e3*s*60*60,this._days=+o+7*a,this._months=+i+3*r+12*n,this._data={},this._locale=N(),this._bubble()}function ht(e){return e instanceof dt}function pt(e,n){Q(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+q(~~(e/60),2)+n+q(~~e%60,2)})}pt("Z",":"),pt("ZZ",""),ge("Z",he),ge("ZZ",he),ye(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=gt(he,e)});var mt=/([\+\-]|\d\d)/gi;function gt(e,t){var n=(t||"").match(e)||[],r=((n[n.length-1]||[])+"").match(mt)||["-",0,0],i=60*r[1]+w(r[2]);return"+"===r[0]?i:-i}function _t(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(v(e)||c(e)?e.valueOf():ct(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),d.updateOffset(n,!1),n):ct(e).local()}function bt(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}d.updateOffset=function(){};var yt=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,wt=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function Ct(e,t){var n,r,i,a=e,o=null;return ht(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(a={},t?a[t]=e:a.milliseconds=e):(o=yt.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:w(o[Te])*n,h:w(o[xe])*n,m:w(o[ke])*n,s:w(o[Ee])*n,ms:w(o[De])*n}):(o=wt.exec(e))?(n="-"===o[1]?-1:1,a={y:At(o[2],n),M:At(o[3],n),w:At(o[4],n),d:At(o[5],n),h:At(o[6],n),m:At(o[7],n),s:At(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=_t(t,e),e.isBefore(t)?n=St(e,t):((n=St(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(ct(a.from),ct(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new dt(a),ht(e)&&h(e,"_locale")&&(r._locale=e._locale),r}function At(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function St(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Tt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function xt(r,i){return function(e,t){var n;return null===t||isNaN(+t)||(T(i,"moment()."+i+"(period, number) is deprecated. Please use moment()."+i+"(number, period)."),n=e,e=t,t=n),kt(this,Ct(e="string"==typeof e?+e:e,t),r),this}}function kt(e,t,n,r){var i=t._milliseconds,a=Tt(t._days),o=Tt(t._months);e.isValid()&&(r=null==r||r,i&&e._d.setTime(e._d.valueOf()+i*n),a&&H(e,"Date",U(e,"Date")+a*n),o&&Ne(e,U(e,"Month")+o*n),r&&d.updateOffset(e,a||o))}Ct.fn=dt.prototype;var Et=xt(1,"add"),Dt=xt(-1,"subtract");function It(e){var t;return void 0===e?this._locale._abbr:(null!=(t=N(e))&&(this._locale=t),this)}d.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",d.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Pt=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function Mt(){return this._locale}function $t(e,t){Q(0,[e,e.length],0,t)}function Ot(e,t,n,r,i){var a;return null==e?tt(this,r,i).year:((a=nt(e,r,i))<t&&(t=a),function(e,t,n,r,i){var a=et(e,t,n,r,i),o=Ke(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,r,i))}Q(0,["gg",2],0,function(){return this.weekYear()%100}),Q(0,["GG",2],0,function(){return this.isoWeekYear()%100}),$t("gggg","weekYear"),$t("ggggg","weekYear"),$t("GGGG","isoWeekYear"),$t("GGGGG","isoWeekYear"),F("weekYear","gg"),F("isoWeekYear","GG"),ge("G",fe),ge("g",fe),ge("GG",ie,ee),ge("gg",ie,ee),ge("GGGG",ce,ne),ge("gggg",ce,ne),ge("GGGGG",le,re),ge("ggggg",le,re),we(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),we(["gg","GG"],function(e,t,n,r){t[r]=d.parseTwoDigitYear(e)}),Q("Q",0,"Qo","quarter"),F("quarter","Q"),ge("Q",J),ye("Q",function(e,t){t[Se]=3*(w(e)-1)}),Q("w",["ww",2],"wo","week"),Q("W",["WW",2],"Wo","isoWeek"),F("week","w"),F("isoWeek","W"),ge("w",ie),ge("ww",ie,ee),ge("W",ie),ge("WW",ie,ee),we(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});Q("D",["DD",2],"Do","date"),F("date","D"),ge("D",ie),ge("DD",ie,ee),ge("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ye(["D","DD"],Te),ye("Do",function(e,t){t[Te]=w(e.match(ie)[0])});var Rt=B("Date",!0);Q("d",0,"do","day"),Q("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Q("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Q("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Q("e",0,0,"weekday"),Q("E",0,0,"isoWeekday"),F("day","d"),F("weekday","e"),F("isoWeekday","E"),ge("d",ie),ge("e",ie),ge("E",ie),ge("dd",function(e,t){return t.weekdaysMinRegex(e)}),ge("ddd",function(e,t){return t.weekdaysShortRegex(e)}),ge("dddd",function(e,t){return t.weekdaysRegex(e)}),we(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),we(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Ft="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Gt=pe;var jt=pe;var Bt=pe;function Ut(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],c=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(r),s.push(i),c.push(a),l.push(r),l.push(i),l.push(a);for(o.sort(e),s.sort(e),c.sort(e),l.sort(e),t=0;t<7;t++)s[t]=be(s[t]),c[t]=be(c[t]),l[t]=be(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Ht(){return this.hours()%12||12}function Wt(e,t){Q(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function qt(e,t){return t._meridiemParse}Q("DDD",["DDDD",3],"DDDo","dayOfYear"),F("dayOfYear","DDD"),ge("DDD",se),ge("DDDD",te),ye(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),Q("H",["HH",2],0,"hour"),Q("h",["hh",2],0,Ht),Q("k",["kk",2],0,function(){return this.hours()||24}),Q("hmm",0,0,function(){return""+Ht.apply(this)+q(this.minutes(),2)}),Q("hmmss",0,0,function(){return""+Ht.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Q("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Q("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),Wt("a",!0),Wt("A",!1),F("hour","h"),ge("a",qt),ge("A",qt),ge("H",ie),ge("h",ie),ge("HH",ie,ee),ge("hh",ie,ee),ge("hmm",ae),ge("hmmss",oe),ge("Hmm",ae),ge("Hmmss",oe),ye(["H","HH"],xe),ye(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ye(["h","hh"],function(e,t,n){t[xe]=w(e),p(n).bigHour=!0}),ye("hmm",function(e,t,n){var r=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r)),p(n).bigHour=!0}),ye("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[Ee]=w(e.substr(i)),p(n).bigHour=!0}),ye("Hmm",function(e,t,n){var r=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r))}),ye("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[xe]=w(e.substr(0,r)),t[ke]=w(e.substr(r,2)),t[Ee]=w(e.substr(i))});var zt=B("Hours",!0);Q("m",["mm",2],0,"minute"),F("minute","m"),ge("m",ie),ge("mm",ie,ee),ye(["m","mm"],ke);var Vt=B("Minutes",!1);Q("s",["ss",2],0,"second"),F("second","s"),ge("s",ie),ge("ss",ie,ee),ye(["s","ss"],Ee);var Yt,Kt=B("Seconds",!1);for(Q("S",0,0,function(){return~~(this.millisecond()/100)}),Q(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Q(0,["SSS",3],0,"millisecond"),Q(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Q(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Q(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Q(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Q(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Q(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),F("millisecond","ms"),ge("S",se,J),ge("SS",se,ee),ge("SSS",se,te),Yt="SSSS";Yt.length<=9;Yt+="S")ge(Yt,ue);function Qt(e,t){t[De]=w(1e3*("0."+e))}for(Yt="S";Yt.length<=9;Yt+="S")ye(Yt,Qt);var Xt=B("Milliseconds",!1);Q("z",0,0,"zoneAbbr"),Q("zz",0,0,"zoneName");var Zt=b.prototype;Zt.add=Et,Zt.calendar=function(e,t){var n=e||ct(),r=_t(n,this).startOf("day"),i=this.diff(r,"days",!0),a=i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse",o=t&&(x(t[a])?t[a]():t[a]);return this.format(o||this.localeData().calendar(a,this,ct(n)))},Zt.clone=function(){return new b(this)},Zt.diff=function(e,t,n){var r,i,a,o;return this.isValid()&&(r=_t(e,this)).isValid()?(i=6e4*(r.utcOffset()-this.utcOffset()),"year"===(t=G(t))||"month"===t||"quarter"===t?(s=this,c=r,f=12*(c.year()-s.year())+(c.month()-s.month()),d=s.clone().add(f,"months"),u=c-d<0?(l=s.clone().add(f-1,"months"),(c-d)/(d-l)):(l=s.clone().add(f+1,"months"),(c-d)/(l-d)),o=-(f+u)||0,"quarter"===t?o/=3:"year"===t&&(o/=12)):(a=this-r,o="second"===t?a/1e3:"minute"===t?a/6e4:"hour"===t?a/36e5:"day"===t?(a-i)/864e5:"week"===t?(a-i)/6048e5:a),n?o:y(o)):NaN;var s,c,l,u,f,d},Zt.endOf=function(e){return void 0===(e=G(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))},Zt.format=function(e){e||(e=this.isUtc()?d.defaultFormatUtc:d.defaultFormat);var t=X(this,e);return this.localeData().postformat(t)},Zt.from=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||ct(e).isValid())?Ct({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Zt.fromNow=function(e){return this.from(ct(),e)},Zt.to=function(e,t){return this.isValid()&&(v(e)&&e.isValid()||ct(e).isValid())?Ct({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},Zt.toNow=function(e){return this.to(ct(),e)},Zt.get=W,Zt.invalidAt=function(){return p(this).overflow},Zt.isAfter=function(e,t){var n=v(e)?e:ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=G(a(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},Zt.isBefore=function(e,t){var n=v(e)?e:ct(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=G(a(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},Zt.isBetween=function(e,t,n,r){return("("===(r=r||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===r[1]?this.isBefore(t,n):!this.isAfter(t,n))},Zt.isSame=function(e,t){var n,r=v(e)?e:ct(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=G(t||"millisecond"))?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},Zt.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},Zt.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},Zt.isValid=function(){return m(this)},Zt.lang=Pt,Zt.locale=It,Zt.localeData=Mt,Zt.max=ut,Zt.min=lt,Zt.parsingFlags=function(){return u({},p(this))},Zt.set=W,Zt.startOf=function(e){switch(e=G(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this},Zt.subtract=Dt,Zt.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},Zt.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},Zt.toDate=function(){return this._offset?new Date(this.valueOf()):this._d},Zt.toISOString=function(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?x(Date.prototype.toISOString)?this.toDate().toISOString():X(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):X(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},Zt.toJSON=function(){return this.isValid()?this.toISOString():null},Zt.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Zt.unix=function(){return Math.floor(this.valueOf()/1e3)},Zt.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},Zt.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Zt.year=Ze,Zt.isLeapYear=function(){return Xe(this.year())},Zt.weekYear=function(e){return Ot.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},Zt.isoWeekYear=function(e){return Ot.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},Zt.quarter=Zt.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},Zt.month=Le,Zt.daysInMonth=function(){return Me(this.year(),this.month())},Zt.week=Zt.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},Zt.isoWeek=Zt.isoWeeks=function(e){var t=tt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},Zt.weeksInYear=function(){var e=this.localeData()._week;return nt(this.year(),e.dow,e.doy)},Zt.isoWeeksInYear=function(){return nt(this.year(),1,4)},Zt.date=Rt,Zt.day=Zt.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t,n,r=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(t=e,n=this.localeData(),e="string"!=typeof t?t:isNaN(t)?"number"==typeof(t=n.weekdaysParse(t))?t:null:parseInt(t,10),this.add(e-r,"d")):r},Zt.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},Zt.isoWeekday=function(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN},Zt.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},Zt.hour=Zt.hours=zt,Zt.minute=Zt.minutes=Vt,Zt.second=Zt.seconds=Kt,Zt.millisecond=Zt.milliseconds=Xt,Zt.utcOffset=function(e,t){var n,r=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=gt(he,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(n=bt(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?kt(this,Ct(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,d.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?r:bt(this):null!=e?this:NaN},Zt.utc=function(e){return this.utcOffset(0,e)},Zt.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(bt(this),"m")),this},Zt.parseZone=function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(gt(de,this._i)),this},Zt.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?ct(e).utcOffset():0,(this.utcOffset()-e)%60==0)},Zt.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Zt.isDSTShifted=function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(_(e,this),(e=ot(e))._a){var t=e._isUTC?f(e._a):ct(e._a);this._isDSTShifted=this.isValid()&&0<C(e._a,t.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted},Zt.isLocal=function(){return!!this.isValid()&&!this._isUTC},Zt.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},Zt.isUtc=vt,Zt.isUTC=vt,Zt.zoneAbbr=function(){return this._isUTC?"UTC":""},Zt.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},Zt.dates=n("dates accessor is deprecated. Use date instead.",Rt),Zt.months=n("months accessor is deprecated. Use month instead",Le),Zt.years=n("years accessor is deprecated. Use year instead",Ze),Zt.zone=n("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()});var Jt=Zt;function en(e){return e}var tn=D.prototype;function nn(e,t,n,r){var i=N(),a=f().set(r,t);return i[n](a,e)}function rn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return nn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=nn(e,r,n,"month");return i}function an(e,t,n,r){t=("boolean"==typeof e?"number"==typeof t&&(n=t,t=void 0):(t=e,e=!1,"number"==typeof(n=t)&&(n=t,t=void 0)),t||"");var i,a=N(),o=e?a._week.dow:0;if(null!=n)return nn(t,(n+o)%7,r,"day");var s=[];for(i=0;i<7;i++)s[i]=nn(t,(i+o)%7,r,"day");return s}tn._calendar={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},tn.calendar=function(e,t,n){var r=this._calendar[e];return x(r)?r.call(t,n):r},tn._longDateFormat={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},tn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},tn._invalidDate="Invalid date",tn.invalidDate=function(){return this._invalidDate},tn._ordinal="%d",tn.ordinal=function(e){return this._ordinal.replace("%d",e)},tn._ordinalParse=/\d{1,2}/,tn.preparse=en,tn.postformat=en,tn._relativeTime={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},tn.relativeTime=function(e,t,n,r){var i=this._relativeTime[n];return x(i)?i(e,t,n,r):i.replace(/%d/i,e)},tn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return x(n)?n(t):n.replace(/%s/i,t)},tn.set=function(e){var t,n;for(n in e)x(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},tn.months=function(e,t){return s(this._months)?this._months[e.month()]:this._months[$e.test(t)?"format":"standalone"][e.month()]},tn._months=Oe,tn.monthsShort=function(e,t){return s(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[$e.test(t)?"format":"standalone"][e.month()]},tn._monthsShort=Re,tn.monthsParse=function(e,t,n){var r,i,a;if(this._monthsParseExact)return function(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ce.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ce.call(this._shortMonthsParse,o))?i:-1!==(i=Ce.call(this._longMonthsParse,o))?i:null:-1!==(i=Ce.call(this._longMonthsParse,o))?i:-1!==(i=Ce.call(this._shortMonthsParse,o))?i:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(i=f([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(a="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}},tn._monthsRegex=Ge,tn.monthsRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex},tn._monthsShortRegex=Fe,tn.monthsShortRegex=function(e){return this._monthsParseExact?(h(this,"_monthsRegex")||je.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex},tn.week=function(e){return tt(e,this._week.dow,this._week.doy).week},tn._week={dow:0,doy:6},tn.firstDayOfYear=function(){return this._week.doy},tn.firstDayOfWeek=function(){return this._week.dow},tn.weekdays=function(e,t){return s(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]},tn._weekdays=Nt,tn.weekdaysMin=function(e){return this._weekdaysMin[e.day()]},tn._weekdaysMin=Ft,tn.weekdaysShort=function(e){return this._weekdaysShort[e.day()]},tn._weekdaysShort=Lt,tn.weekdaysParse=function(e,t,n){var r,i,a;if(this._weekdaysParseExact)return function(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ce.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ce.call(this._weekdaysParse,o))?i:-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:-1!==(i=Ce.call(this._weekdaysParse,o))?i:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ce.call(this._minWeekdaysParse,o))?i:-1!==(i=Ce.call(this._weekdaysParse,o))?i:-1!==(i=Ce.call(this._shortWeekdaysParse,o))?i:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(a="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}},tn._weekdaysRegex=Gt,tn.weekdaysRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ut.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex},tn._weekdaysShortRegex=jt,tn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ut.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex},tn._weekdaysMinRegex=Bt,tn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(h(this,"_weekdaysRegex")||Ut.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex},tn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},tn._meridiemParse=/[ap]\.?m?\.?/i,tn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),d.lang=n("moment.lang is deprecated. Use moment.locale instead.",O),d.langData=n("moment.langData is deprecated. Use moment.localeData instead.",N);var on=Math.abs;function sn(e,t,n,r){var i=Ct(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function cn(e){return e<0?Math.floor(e):Math.ceil(e)}function ln(e){return 4800*e/146097}function un(e){return 146097*e/4800}function fn(e){return function(){return this.as(e)}}var dn=fn("ms"),hn=fn("s"),pn=fn("m"),mn=fn("h"),gn=fn("d"),_n=fn("w"),bn=fn("M"),vn=fn("y");function yn(e){return function(){return this._data[e]}}var wn=yn("milliseconds"),Cn=yn("seconds"),An=yn("minutes"),Sn=yn("hours"),Tn=yn("days"),xn=yn("months"),kn=yn("years");var En=Math.round,Dn={s:45,m:45,h:22,d:26,M:11};var In=Math.abs;function Pn(){var e,t,n=In(this._milliseconds)/1e3,r=In(this._days),i=In(this._months);t=y((e=y(n/60))/60),n%=60,e%=60;var a=y(i/12),o=i%=12,s=r,c=t,l=e,u=n,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(s?s+"D":"")+(c||l||u?"T":"")+(c?c+"H":"")+(l?l+"M":"")+(u?u+"S":""):"P0D"}var Mn=dt.prototype;return Mn.abs=function(){var e=this._data;return this._milliseconds=on(this._milliseconds),this._days=on(this._days),this._months=on(this._months),e.milliseconds=on(e.milliseconds),e.seconds=on(e.seconds),e.minutes=on(e.minutes),e.hours=on(e.hours),e.months=on(e.months),e.years=on(e.years),this},Mn.add=function(e,t){return sn(this,e,t,1)},Mn.subtract=function(e,t){return sn(this,e,t,-1)},Mn.as=function(e){var t,n,r=this._milliseconds;if("month"===(e=G(e))||"year"===e)return t=this._days+r/864e5,n=this._months+ln(t),"month"===e?n:n/12;switch(t=this._days+Math.round(un(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}},Mn.asMilliseconds=dn,Mn.asSeconds=hn,Mn.asMinutes=pn,Mn.asHours=mn,Mn.asDays=gn,Mn.asWeeks=_n,Mn.asMonths=bn,Mn.asYears=vn,Mn.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)},Mn._bubble=function(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,c=this._data;return 0<=a&&0<=o&&0<=s||a<=0&&o<=0&&s<=0||(a+=864e5*cn(un(s)+o),s=o=0),c.milliseconds=a%1e3,e=y(a/1e3),c.seconds=e%60,t=y(e/60),c.minutes=t%60,n=y(t/60),c.hours=n%24,s+=i=y(ln(o+=y(n/24))),o-=cn(un(i)),r=y(s/12),s%=12,c.days=o,c.months=s,c.years=r,this},Mn.get=function(e){return this[(e=G(e))+"s"]()},Mn.milliseconds=wn,Mn.seconds=Cn,Mn.minutes=An,Mn.hours=Sn,Mn.days=Tn,Mn.weeks=function(){return y(this.days()/7)},Mn.months=xn,Mn.years=kn,Mn.humanize=function(e){var t,n,r,i,a,o,s,c,l,u,f,d=this.localeData(),h=(n=!e,r=d,i=Ct(t=this).abs(),a=En(i.as("s")),o=En(i.as("m")),s=En(i.as("h")),c=En(i.as("d")),l=En(i.as("M")),u=En(i.as("y")),(f=a<Dn.s&&["s",a]||o<=1&&["m"]||o<Dn.m&&["mm",o]||s<=1&&["h"]||s<Dn.h&&["hh",s]||c<=1&&["d"]||c<Dn.d&&["dd",c]||l<=1&&["M"]||l<Dn.M&&["MM",l]||u<=1&&["y"]||["yy",u])[2]=n,f[3]=0<+t,f[4]=r,function(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}.apply(null,f));return e&&(h=d.pastFuture(+this,h)),d.postformat(h)},Mn.toISOString=Pn,Mn.toString=Pn,Mn.toJSON=Pn,Mn.locale=It,Mn.localeData=Mt,Mn.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Pn),Mn.lang=Pt,Q("X",0,0,"unix"),Q("x",0,0,"valueOf"),ge("x",fe),ge("X",/[+-]?\d+(\.\d{1,3})?/),ye("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ye("x",function(e,t,n){n._d=new Date(w(e))}),d.version="2.13.0",e=ct,d.fn=Jt,d.min=function(){return ft("isBefore",[].slice.call(arguments,0))},d.max=function(){return ft("isAfter",[].slice.call(arguments,0))},d.now=function(){return Date.now?Date.now():+new Date},d.utc=f,d.unix=function(e){return ct(1e3*e)},d.months=function(e,t){return rn(e,t,"months")},d.isDate=c,d.locale=O,d.invalid=g,d.duration=Ct,d.isMoment=v,d.weekdays=function(e,t,n){return an(e,t,n,"weekdays")},d.parseZone=function(){return ct.apply(null,arguments).parseZone()},d.localeData=N,d.isDuration=ht,d.monthsShort=function(e,t){return rn(e,t,"monthsShort")},d.weekdaysMin=function(e,t,n){return an(e,t,n,"weekdaysMin")},d.defineLocale=R,d.updateLocale=function(e,t){var n;return null!=t?(null!=P[e]&&(t=E(P[e]._config,t)),(n=new D(t)).parentLocale=P[e],P[e]=n,O(e)):null!=P[e]&&(null!=P[e].parentLocale?P[e]=P[e].parentLocale:null!=P[e]&&delete P[e]),P[e]},d.locales=function(){return A(P)},d.weekdaysShort=function(e,t,n){return an(e,t,n,"weekdaysShort")},d.normalizeUnits=G,d.relativeTimeThreshold=function(e,t){return void 0!==Dn[e]&&(void 0===t?Dn[e]:(Dn[e]=t,!0))},d.prototype=Jt,d}),function(e){"function"==typeof define&&define.amd?define(["jquery","moment"],e):"object"==typeof exports?module.exports=e(require("jquery"),require("moment")):e(jQuery,moment)}(function(M,$){var O=M.fullCalendar={version:"2.3.1"},f=O.views={};M.fn.fullCalendar=function(a){var o=Array.prototype.slice.call(arguments,1),s=this;return this.each(function(e,t){var n,r=M(t),i=r.data("fullCalendar");"string"==typeof a?i&&M.isFunction(i[a])&&(n=i[a].apply(i,o),e||(s=n),"destroy"===a&&r.removeData("fullCalendar")):i||(i=new O.CalendarBase(r,a),r.data("fullCalendar",i),i.render())}),s};var s=["header","buttonText","buttonIcons","themeButtonIcons"];function d(){var e,t,n,r,i,a=Array.prototype.slice.call(arguments),o={};for(e=0;e<s.length;e++){for(t=s[e],n=null,r=0;r<a.length;r++)i=a[r][t],M.isPlainObject(i)?n=M.extend(n||{},i):null!=i&&(n=null);null!==n&&(o[t]=n)}return a.unshift({}),a.push(o),M.extend.apply(M,a)}function i(e,t){t.left&&e.css({"border-left-width":1,"margin-left":t.left-1}),t.right&&e.css({"border-right-width":1,"margin-right":t.right-1})}function a(e){e.css({"margin-left":"","margin-right":"","border-left-width":"","border-right-width":""})}function h(){M("body").addClass("fc-not-allowed")}function p(){M("body").removeClass("fc-not-allowed")}function n(i,e,t){var a=Math.floor(e/i.length),o=Math.floor(e-a*(i.length-1)),s=[],c=[],l=[],u=0;r(i),i.each(function(e,t){var n=e===i.length-1?o:a,r=M(t).outerHeight(!0);r<n?(s.push(t),c.push(r),l.push(M(t).height())):u+=r}),t&&(e-=u,a=Math.floor(e/s.length),o=Math.floor(e-a*(s.length-1))),M(s).each(function(e,t){var n=e===s.length-1?o:a,r=c[e],i=n-(r-l[e]);r<n&&M(t).height(i)})}function r(e){e.height("")}function e(e){var r=0;return e.find("> *").each(function(e,t){var n=M(t).outerWidth();r<n&&(r=n)}),r++,e.width(r),r}function o(e,t){return e.height(t).addClass("fc-scroller"),e[0].scrollHeight-1>e[0].clientHeight||(c(e),!1)}function c(e){e.height("").removeClass("fc-scroller")}function m(e){var t=e.css("position"),n=e.parents().filter(function(){var e=M(this);return/(auto|scroll)/.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&n.length?n:M(e[0].ownerDocument||document)}function g(e){var t=e.offset();return{left:t.left,right:t.left+e.outerWidth(),top:t.top,bottom:t.top+e.outerHeight()}}function t(e){var t=e.offset(),n=l(e),r=t.left+_(e,"border-left-width")+n.left,i=t.top+_(e,"border-top-width")+n.top;return{left:r,right:r+e[0].clientWidth,top:i,bottom:i+e[0].clientHeight}}function l(e){var t=e.innerWidth()-e[0].clientWidth,n={left:0,right:0,top:0,bottom:e.innerHeight()-e[0].clientHeight};return!function(){null===u&&(e=M("<div><div/></div>").css({position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}).appendTo("body"),t=e.children().offset().left>e.offset().left,e.remove(),u=t);var e,t;return u}()||"rtl"!=e.css("direction")?n.right=t:n.left=t,n}O.intersectionToSeg=v,O.applyAll=F,O.debounce=H,O.isInt=B,O.htmlEscape=E,O.cssToStr=P,O.proxy=U,O.getClientRect=t,O.getContentRect=function(e){var t=e.offset(),n=t.left+_(e,"border-left-width")+_(e,"padding-left"),r=t.top+_(e,"border-top-width")+_(e,"padding-top");return{left:n,right:n+e.width(),top:r,bottom:r+e.height()}},O.getScrollbarWidths=l;var u=null;function _(e,t){return parseFloat(e.css(t))||0}function b(e){return 1==e.which&&!e.ctrlKey}function v(e,t){var n,r,i,a,o=e.start,s=e.end,c=t.start,l=t.end;if(c<s&&o<l)return i=c<=o?(n=o.clone(),!0):(n=c.clone(),!1),a=s<=l?(r=s.clone(),!0):(r=l.clone(),!1),{start:n,end:r,isStart:i,isEnd:a}}O.computeIntervalUnit=C,O.durationHasTime=S;var y=["sun","mon","tue","wed","thu","fri","sat"],w=["year","month","week","day","hour","minute","second","millisecond"];function R(e,t){return $.duration({days:e.clone().stripTime().diff(t.clone().stripTime(),"days"),ms:e.time()-t.time()})}function N(e,t,n){return $.duration(Math.round(e.diff(t,n,!0)),n)}function C(e,t){var n,r,i;for(n=0;n<w.length&&!(1<=(i=A(r=w[n],e,t))&&B(i));n++);return r}function A(e,t,n){return null!=n?n.diff(t,e,!0):$.isDuration(t)?t.as(e):t.end.diff(t.start,e,!0)}function S(e){return Boolean(e.hours()||e.minutes()||e.seconds()||e.milliseconds())}function L(e){return/^\d+\:\d+(?:\:\d+\.?(?:\d{3})?)?$/.test(e)}var T={}.hasOwnProperty;function I(e){var t=function(){};return t.prototype=e,new t}function x(e,t){for(var n in e)k(e,n)&&(t[n]=e[n])}function k(e,t){return T.call(e,t)}function F(e,t,n){if(M.isFunction(e)&&(e=[e]),e){var r,i;for(r=0;r<e.length;r++)i=e[r].apply(t,n)||i;return i}}function G(){for(var e=0;e<arguments.length;e++)if(void 0!==arguments[e])return arguments[e]}function E(e){return(e+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g,"<br />")}function D(e){return e.replace(/&.*?;/g,"")}function P(e){var n=[];return M.each(e,function(e,t){null!=t&&n.push(e+":"+t)}),n.join(";")}function j(e,t){return e-t}function B(e){return e%1==0}function U(e,t){var n=e[t];return function(){return n.apply(e,arguments)}}function H(t,n){var r,i,a,o,s=function(){var e=+new Date-o;e<n&&0<e?r=setTimeout(s,n-e):(r=null,t.apply(a,i),r||(a=i=null))};return function(){a=this,i=arguments,o=+new Date,r||(r=setTimeout(s,n))}}var W,q,z,V=/^\s*\d{4}-\d\d$/,Y=/^\s*\d{4}-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?)?$/,K=$.fn,Q=M.extend({},K);function X(e,t,n){var r,i,a,o,s,c=e[0],l=1==e.length&&"string"==typeof c;return $.isMoment(c)?J(c,o=$.apply(null,e)):(s=c,"[object Date]"===Object.prototype.toString.call(s)||s instanceof Date||void 0===c?o=$.apply(null,e):(i=r=!1,l?V.test(c)?(e=[c+="-01"],i=r=!0):(a=Y.exec(c))&&(r=!a[5],i=!0):M.isArray(c)&&(i=!0),o=t||r?$.utc.apply($,e):$.apply(null,e),r?(o._ambigTime=!0,o._ambigZone=!0):n&&(i?o._ambigZone=!0:l&&(o.utcOffset?o.utcOffset(c):o.zone(c))))),o._fullCalendar=!0,o}function Z(e,t){var n,r,i=!1,a=!1,o=e.length,s=[];for(n=0;n<o;n++)r=e[n],$.isMoment(r)||(r=O.moment.parseZone(r)),i=i||r._ambigTime,a=a||r._ambigZone,s.push(r);for(n=0;n<o;n++)r=s[n],t||!i||r._ambigTime?a&&!r._ambigZone&&(s[n]=r.clone().stripZone()):s[n]=r.clone().stripTime();return s}function J(e,t){e._ambigTime?t._ambigTime=!0:t._ambigTime&&(t._ambigTime=!1),e._ambigZone?t._ambigZone=!0:t._ambigZone&&(t._ambigZone=!1)}function ee(e,t){e.year(t[0]||0).month(t[1]||0).date(t[2]||0).hours(t[3]||0).minutes(t[4]||0).seconds(t[5]||0).milliseconds(t[6]||0)}function te(e,t){return Q.format.call(e,t)}function ne(e,t){var n,r="";for(n=0;n<t.length;n++)r+=ie(e,t[n]);return r}O.moment=function(){return X(arguments)},O.moment.utc=function(){var e=X(arguments,!0);return e.hasTime()&&e.utc(),e},O.moment.parseZone=function(){return X(arguments,!0,!0)},K.clone=function(){var e=Q.clone.apply(this,arguments);return J(this,e),this._fullCalendar&&(e._fullCalendar=!0),e},K.week=K.weeks=function(e){var t=(this._locale||this._lang)._fullCalendar_weekCalc;return null==e&&"function"==typeof t?t(this):"ISO"===t?Q.isoWeek.apply(this,arguments):Q.week.apply(this,arguments)},K.time=function(e){if(!this._fullCalendar)return Q.time.apply(this,arguments);if(null==e)return $.duration({hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()});this._ambigTime=!1,$.isDuration(e)||$.isMoment(e)||(e=$.duration(e));var t=0;return $.isDuration(e)&&(t=24*Math.floor(e.asDays())),this.hours(t+e.hours()).minutes(e.minutes()).seconds(e.seconds()).milliseconds(e.milliseconds())},K.stripTime=function(){var e;return this._ambigTime||(e=this.toArray(),this.utc(),q(this,e.slice(0,3)),this._ambigTime=!0,this._ambigZone=!0),this},K.hasTime=function(){return!this._ambigTime},K.stripZone=function(){var e,t;return this._ambigZone||(e=this.toArray(),t=this._ambigTime,this.utc(),q(this,e),this._ambigTime=t||!1,this._ambigZone=!0),this},K.hasZone=function(){return!this._ambigZone},K.local=function(){var e=this.toArray(),t=this._ambigZone;return Q.local.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,t&&z(this,e),this},K.utc=function(){return Q.utc.apply(this,arguments),this._ambigTime=!1,this._ambigZone=!1,this},M.each(["zone","utcOffset"],function(e,t){Q[t]&&(K[t]=function(e){return null!=e&&(this._ambigTime=!1,this._ambigZone=!1),Q[t].apply(this,arguments)})}),K.format=function(){return this._fullCalendar&&arguments[0]?(e=this,t=arguments[0],ne(e,le(t))):this._ambigTime?te(this,"YYYY-MM-DD"):this._ambigZone?te(this,"YYYY-MM-DD[T]HH:mm:ss"):Q.format.apply(this,arguments);var e,t},K.toISOString=function(){return this._ambigTime?te(this,"YYYY-MM-DD"):this._ambigZone?te(this,"YYYY-MM-DD[T]HH:mm:ss"):Q.toISOString.apply(this,arguments)},K.isWithin=function(e,t){var n=Z([this,e,t]);return n[0]>=n[1]&&n[0]<n[2]},K.isSame=function(e,t){var n;return this._fullCalendar?t?(n=Z([this,e],!0),Q.isSame.call(n[0],n[1],t)):(e=O.moment.parseZone(e),Q.isSame.call(this,e)&&Boolean(this._ambigTime)===Boolean(e._ambigTime)&&Boolean(this._ambigZone)===Boolean(e._ambigZone)):Q.isSame.apply(this,arguments)},M.each(["isBefore","isAfter"],function(e,r){K[r]=function(e,t){var n;return this._fullCalendar?(n=Z([this,e]),Q[r].call(n[0],n[1],t)):Q[r].apply(this,arguments)}}),W="_d"in $()&&"updateOffset"in $,q=W?function(e,t){e._d.setTime(Date.UTC.apply(Date,t)),$.updateOffset(e,!1)}:ee,z=W?function(e,t){e._d.setTime(+new Date(t[0]||0,t[1]||0,t[2]||0,t[3]||0,t[4]||0,t[5]||0,t[6]||0)),$.updateOffset(e,!1)}:ee;var re={t:function(e){return te(e,"a").charAt(0)},T:function(e){return te(e,"A").charAt(0)}};function ie(e,t){var n,r;return"string"==typeof t?t:(n=t.token)?re[n]?re[n](e):te(e,n):t.maybe&&(r=ne(e,t.maybe)).match(/[1-9]/)?r:""}function ae(e,t,n,r,i){return r=r||" - ",function(e,t,n,r,i){var a,o,s,c,l="",u="",f="",d="",h="";for(o=0;o<n.length&&!1!==(a=se(e,t,n[o]));o++)l+=a;for(s=n.length-1;o<s&&!1!==(a=se(e,t,n[s]));s--)u=a+u;for(c=o;c<=s;c++)f+=ie(e,n[c]),d+=ie(t,n[c]);(f||d)&&(h=i?d+r+f:f+r+d);return l+h+u}(e=O.moment.parseZone(e),t=O.moment.parseZone(t),le(n=(e.localeData||e.lang).call(e).longDateFormat(n)||n),r,i)}O.formatRange=ae;var oe={Y:"year",M:"month",D:"day",d:"day",A:"second",a:"second",T:"second",t:"second",H:"second",h:"second",m:"second",s:"second"};function se(e,t,n){var r,i;return"string"==typeof n?n:!!((r=n.token)&&(i=oe[r.charAt(0)])&&e.isSame(t,i))&&te(e,r)}var ce={};function le(e){return e in ce?ce[e]:ce[e]=function e(t){var n=[];var r=/\[([^\]]*)\]|\(([^\)]*)\)|(LTS|LT|(\w)\4*o?)|([^\w\[\(]+)/g;var i;for(;i=r.exec(t);)i[1]?n.push(i[1]):i[2]?n.push({maybe:e(i[2])}):i[3]?n.push({token:i[3]}):i[5]&&n.push(i[5]);return n}(e)}function ue(){}(O.Class=ue).extend=function(e){var t,n=this;return k(e=e||{},"constructor")&&(t=e.constructor),"function"!=typeof t&&(t=e.constructor=function(){n.apply(this,arguments)}),t.prototype=I(n.prototype),x(e,t.prototype),function(e,t){var n,r,i=["constructor","toString","valueOf"];for(n=0;n<i.length;n++)e[r=i[n]]!==Object.prototype[r]&&(t[r]=e[r])}(e,t.prototype),x(n,t),t},ue.mixin=function(e){x(e.prototype||e,this.prototype)};var fe=ue.extend({isHidden:!0,options:null,el:null,documentMousedownProxy:null,margin:10,constructor:function(e){this.options=e||{}},show:function(){this.isHidden&&(this.el||this.render(),this.el.show(),this.position(),this.isHidden=!1,this.trigger("show"))},hide:function(){this.isHidden||(this.el.hide(),this.isHidden=!0,this.trigger("hide"))},render:function(){var e=this,t=this.options;this.el=M('<div class="fc-popover"/>').addClass(t.className||"").css({top:0,left:0}).append(t.content).appendTo(t.parentEl),this.el.on("click",".fc-close",function(){e.hide()}),t.autoHide&&M(document).on("mousedown",this.documentMousedownProxy=U(this,"documentMousedown"))},documentMousedown:function(e){this.el&&!M(e.target).closest(this.el).length&&this.hide()},destroy:function(){this.hide(),this.el&&(this.el.remove(),this.el=null),M(document).off("mousedown",this.documentMousedownProxy)},position:function(){var e,t,n,r,i,a=this.options,o=this.el.offsetParent().offset(),s=this.el.outerWidth(),c=this.el.outerHeight(),l=M(window),u=m(this.el);r=a.top||0,i=void 0!==a.left?a.left:void 0!==a.right?a.right-s:0,t=u.is(window)||u.is(document)?(u=l,e=0):(e=(n=u.offset()).top,n.left),e+=l.scrollTop(),t+=l.scrollLeft(),!1!==a.viewportConstrain&&(r=Math.min(r,e+u.outerHeight()-c-this.margin),r=Math.max(r,e+this.margin),i=Math.min(i,t+u.outerWidth()-s-this.margin),i=Math.max(i,t+this.margin)),this.el.css({top:r-o.top,left:i-o.left})},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))}}),de=ue.extend({grid:null,rowCoords:null,colCoords:null,containerEl:null,bounds:null,constructor:function(e){this.grid=e},build:function(){this.rowCoords=this.grid.computeRowCoords(),this.colCoords=this.grid.computeColCoords(),this.computeBounds()},clear:function(){this.rowCoords=null,this.colCoords=null},getCell:function(e,t){var n,r,i,a=this.rowCoords,o=a.length,s=this.colCoords,c=s.length,l=null,u=null;if(this.inBounds(e,t)){for(n=0;n<o;n++)if(t>=(r=a[n]).top&&t<r.bottom){l=n;break}for(n=0;n<c;n++)if(e>=(r=s[n]).left&&e<r.right){u=n;break}if(null!==l&&null!==u)return(i=this.grid.getCell(l,u)).grid=this.grid,M.extend(i,a[l],s[u]),i}return null},computeBounds:function(){this.bounds=this.containerEl?t(this.containerEl):null},inBounds:function(e,t){var n=this.bounds;return!n||e>=n.left&&e<n.right&&t>=n.top&&t<n.bottom}}),he=ue.extend({coordMaps:null,constructor:function(e){this.coordMaps=e},build:function(){var e,t=this.coordMaps;for(e=0;e<t.length;e++)t[e].build()},getCell:function(e,t){var n,r=this.coordMaps,i=null;for(n=0;n<r.length&&!i;n++)i=r[n].getCell(e,t);return i},clear:function(){var e,t=this.coordMaps;for(e=0;e<t.length;e++)t[e].clear()}}),pe=O.DragListener=ue.extend({options:null,isListening:!1,isDragging:!1,originX:null,originY:null,mousemoveProxy:null,mouseupProxy:null,subjectEl:null,subjectHref:null,scrollEl:null,scrollBounds:null,scrollTopVel:null,scrollLeftVel:null,scrollIntervalId:null,scrollHandlerProxy:null,scrollSensitivity:30,scrollSpeed:200,scrollIntervalMs:50,constructor:function(e){e=e||{},this.options=e,this.subjectEl=e.subjectEl},mousedown:function(e){b(e)&&(e.preventDefault(),this.startListening(e),this.options.distance||this.startDrag(e))},startListening:function(e){var t;this.isListening||(e&&this.options.scroll&&((t=m(M(e.target))).is(window)||t.is(document)||(this.scrollEl=t,this.scrollHandlerProxy=H(U(this,"scrollHandler"),100),this.scrollEl.on("scroll",this.scrollHandlerProxy))),M(document).on("mousemove",this.mousemoveProxy=U(this,"mousemove")).on("mouseup",this.mouseupProxy=U(this,"mouseup")).on("selectstart",this.preventDefault),e?(this.originX=e.pageX,this.originY=e.pageY):(this.originX=0,this.originY=0),this.isListening=!0,this.listenStart(e))},listenStart:function(e){this.trigger("listenStart",e)},mousemove:function(e){var t,n=e.pageX-this.originX,r=e.pageY-this.originY;this.isDragging||(t=this.options.distance||1)*t<=n*n+r*r&&this.startDrag(e),this.isDragging&&this.drag(n,r,e)},startDrag:function(e){this.isListening||this.startListening(),this.isDragging||(this.isDragging=!0,this.dragStart(e))},dragStart:function(e){var t=this.subjectEl;this.trigger("dragStart",e),(this.subjectHref=t?t.attr("href"):null)&&t.removeAttr("href")},drag:function(e,t,n){this.trigger("drag",e,t,n),this.updateScroll(n)},mouseup:function(e){this.stopListening(e)},stopDrag:function(e){this.isDragging&&(this.stopScrolling(),this.dragStop(e),this.isDragging=!1)},dragStop:function(e){var t=this;this.trigger("dragStop",e),setTimeout(function(){t.subjectHref&&t.subjectEl.attr("href",t.subjectHref)},0)},stopListening:function(e){this.stopDrag(e),this.isListening&&(this.scrollEl&&(this.scrollEl.off("scroll",this.scrollHandlerProxy),this.scrollHandlerProxy=null),M(document).off("mousemove",this.mousemoveProxy).off("mouseup",this.mouseupProxy).off("selectstart",this.preventDefault),this.mousemoveProxy=null,this.mouseupProxy=null,this.isListening=!1,this.listenStop(e))},listenStop:function(e){this.trigger("listenStop",e)},trigger:function(e){this.options[e]&&this.options[e].apply(this,Array.prototype.slice.call(arguments,1))},preventDefault:function(e){e.preventDefault()},computeScrollBounds:function(){var e=this.scrollEl;this.scrollBounds=e?g(e):null},updateScroll:function(e){var t,n,r,i,a=this.scrollSensitivity,o=this.scrollBounds,s=0,c=0;o&&(t=(a-(e.pageY-o.top))/a,n=(a-(o.bottom-e.pageY))/a,r=(a-(e.pageX-o.left))/a,i=(a-(o.right-e.pageX))/a,0<=t&&t<=1?s=t*this.scrollSpeed*-1:0<=n&&n<=1&&(s=n*this.scrollSpeed),0<=r&&r<=1?c=r*this.scrollSpeed*-1:0<=i&&i<=1&&(c=i*this.scrollSpeed)),this.setScrollVel(s,c)},setScrollVel:function(e,t){this.scrollTopVel=e,this.scrollLeftVel=t,this.constrainScrollVel(),!this.scrollTopVel&&!this.scrollLeftVel||this.scrollIntervalId||(this.scrollIntervalId=setInterval(U(this,"scrollIntervalFunc"),this.scrollIntervalMs))},constrainScrollVel:function(){var e=this.scrollEl;this.scrollTopVel<0?e.scrollTop()<=0&&(this.scrollTopVel=0):0<this.scrollTopVel&&e.scrollTop()+e[0].clientHeight>=e[0].scrollHeight&&(this.scrollTopVel=0),this.scrollLeftVel<0?e.scrollLeft()<=0&&(this.scrollLeftVel=0):0<this.scrollLeftVel&&e.scrollLeft()+e[0].clientWidth>=e[0].scrollWidth&&(this.scrollLeftVel=0)},scrollIntervalFunc:function(){var e=this.scrollEl,t=this.scrollIntervalMs/1e3;this.scrollTopVel&&e.scrollTop(e.scrollTop()+this.scrollTopVel*t),this.scrollLeftVel&&e.scrollLeft(e.scrollLeft()+this.scrollLeftVel*t),this.constrainScrollVel(),this.scrollTopVel||this.scrollLeftVel||this.stopScrolling()},stopScrolling:function(){this.scrollIntervalId&&(clearInterval(this.scrollIntervalId),this.scrollIntervalId=null,this.scrollStop())},scrollHandler:function(){this.scrollIntervalId||this.scrollStop()},scrollStop:function(){}}),me=pe.extend({coordMap:null,origCell:null,cell:null,coordAdjust:null,constructor:function(e,t){pe.prototype.constructor.call(this,t),this.coordMap=e},listenStart:function(e){var t,n,r,i,a,o,s,c,l,u,f,d=this.subjectEl;pe.prototype.listenStart.apply(this,arguments),this.computeCoords(),e?(r=n={left:e.pageX,top:e.pageY},d&&(t=g(d),u=r,f=t,r={left:Math.min(Math.max(u.left,f.left),f.right),top:Math.min(Math.max(u.top,f.top),f.bottom)}),this.origCell=this.getCell(r.left,r.top),d&&this.options.subjectCenter&&(this.origCell&&(s=this.origCell,c=t,t=(l={left:Math.max(s.left,c.left),right:Math.min(s.right,c.right),top:Math.max(s.top,c.top),bottom:Math.min(s.bottom,c.bottom)}).left<l.right&&l.top<l.bottom&&l||t),r={left:((o=t).left+o.right)/2,top:(o.top+o.bottom)/2}),this.coordAdjust=(a=n,{left:(i=r).left-a.left,top:i.top-a.top})):(this.origCell=null,this.coordAdjust=null)},computeCoords:function(){this.coordMap.build(),this.computeScrollBounds()},dragStart:function(e){var t;pe.prototype.dragStart.apply(this,arguments),(t=this.getCell(e.pageX,e.pageY))&&this.cellOver(t)},drag:function(e,t,n){var r;pe.prototype.drag.apply(this,arguments),ge(r=this.getCell(n.pageX,n.pageY),this.cell)||(this.cell&&this.cellOut(),r&&this.cellOver(r))},dragStop:function(){this.cellDone(),pe.prototype.dragStop.apply(this,arguments)},cellOver:function(e){this.cell=e,this.trigger("cellOver",e,ge(e,this.origCell),this.origCell)},cellOut:function(){this.cell&&(this.trigger("cellOut",this.cell),this.cellDone(),this.cell=null)},cellDone:function(){this.cell&&this.trigger("cellDone",this.cell)},listenStop:function(){pe.prototype.listenStop.apply(this,arguments),this.origCell=this.cell=null,this.coordMap.clear()},scrollStop:function(){pe.prototype.scrollStop.apply(this,arguments),this.computeCoords()},getCell:function(e,t){return this.coordAdjust&&(e+=this.coordAdjust.left,t+=this.coordAdjust.top),this.coordMap.getCell(e,t)}});function ge(e,t){return!e&&!t||!(!e||!t)&&(e.grid===t.grid&&e.row===t.row&&e.col===t.col)}var _e=ue.extend({options:null,sourceEl:null,el:null,parentEl:null,top0:null,left0:null,mouseY0:null,mouseX0:null,topDelta:null,leftDelta:null,mousemoveProxy:null,isFollowing:!1,isHidden:!1,isAnimating:!1,constructor:function(e,t){this.options=t=t||{},this.sourceEl=e,this.parentEl=t.parentEl?M(t.parentEl):e.parent()},start:function(e){this.isFollowing||(this.isFollowing=!0,this.mouseY0=e.pageY,this.mouseX0=e.pageX,this.topDelta=0,this.leftDelta=0,this.isHidden||this.updatePosition(),M(document).on("mousemove",this.mousemoveProxy=U(this,"mousemove")))},stop:function(e,t){var n=this,r=this.options.revertDuration;function i(){this.isAnimating=!1,n.destroyEl(),this.top0=this.left0=null,t&&t()}this.isFollowing&&!this.isAnimating&&(this.isFollowing=!1,M(document).off("mousemove",this.mousemoveProxy),e&&r&&!this.isHidden?(this.isAnimating=!0,this.el.animate({top:this.top0,left:this.left0},{duration:r,complete:i})):i())},getEl:function(){var e=this.el;return e||(this.sourceEl.width(),e=this.el=this.sourceEl.clone().css({position:"absolute",visibility:"",display:this.isHidden?"none":"",margin:0,right:"auto",bottom:"auto",width:this.sourceEl.width(),height:this.sourceEl.height(),opacity:this.options.opacity||"",zIndex:this.options.zIndex}).appendTo(this.parentEl)),e},destroyEl:function(){this.el&&(this.el.remove(),this.el=null)},updatePosition:function(){var e,t;this.getEl(),null===this.top0&&(this.sourceEl.width(),e=this.sourceEl.offset(),t=this.el.offsetParent().offset(),this.top0=e.top-t.top,this.left0=e.left-t.left),this.el.css({top:this.top0+this.topDelta,left:this.left0+this.leftDelta})},mousemove:function(e){this.topDelta=e.pageY-this.mouseY0,this.leftDelta=e.pageX-this.mouseX0,this.isHidden||this.updatePosition()},hide:function(){this.isHidden||(this.isHidden=!0,this.el&&this.el.hide())},show:function(){this.isHidden&&(this.isHidden=!1,this.updatePosition(),this.getEl().show())}}),be=ue.extend({view:null,isRTL:null,cellHtml:"<td/>",constructor:function(e){this.view=e,this.isRTL=e.opt("isRTL")},rowHtml:function(e,t){var n,r=this.getHtmlRenderer("cell",e),i="";for(t=t||0,n=0;n<this.colCnt;n++)i+=r(this.getCell(t,n));return"<tr>"+(i=this.bookendCells(i,e,t))+"</tr>"},bookendCells:function(e,t,n){var r=this.getHtmlRenderer("intro",t)(n||0),i=this.getHtmlRenderer("outro",t)(n||0),a=this.isRTL?i:r,o=this.isRTL?r:i;return"string"==typeof e?a+e+o:e.prepend(a).append(o)},getHtmlRenderer:function(e,t){var n,r,i,a,o,s=this.view;return n=e+"Html",t&&(r=t+((o=e).charAt(0).toUpperCase()+o.slice(1))+"Html"),r&&(a=s[r])?i=s:r&&(a=this[r])?i=this:(a=s[n])?i=s:(a=this[n])&&(i=this),"function"==typeof a?function(){return a.apply(i,arguments)||""}:function(){return a||""}}}),ve=O.Grid=be.extend({start:null,end:null,rowCnt:0,colCnt:0,rowData:null,colData:null,el:null,coordMap:null,elsByFill:null,externalDragStartProxy:null,colHeadFormat:null,eventTimeFormat:null,displayEventTime:null,displayEventEnd:null,cellDuration:null,largeUnit:null,constructor:function(){be.apply(this,arguments),this.coordMap=new de(this),this.elsByFill={},this.externalDragStartProxy=U(this,"externalDragStart")},computeColHeadFormat:function(){},computeEventTimeFormat:function(){return this.view.opt("smallTimeFormat")},computeDisplayEventTime:function(){return!0},computeDisplayEventEnd:function(){return!0},setRange:function(e){var t,n,r=this.view;this.start=e.start.clone(),this.end=e.end.clone(),this.rowData=[],this.colData=[],this.updateCells(),this.colHeadFormat=r.opt("columnFormat")||this.computeColHeadFormat(),this.eventTimeFormat=r.opt("eventTimeFormat")||r.opt("timeFormat")||this.computeEventTimeFormat(),null==(t=r.opt("displayEventTime"))&&(t=this.computeDisplayEventTime()),null==(n=r.opt("displayEventEnd"))&&(n=this.computeDisplayEventEnd()),this.displayEventTime=t,this.displayEventEnd=n},updateCells:function(){},rangeToSegs:function(e){},diffDates:function(e,t){return this.largeUnit?N(e,t,this.largeUnit):R(e,t)},getCell:function(e,t){var n;return null==t&&(e="number"==typeof e?(t=e%this.colCnt,Math.floor(e/this.colCnt)):(t=e.col,e.row)),n={row:e,col:t},M.extend(n,this.getRowData(e),this.getColData(t)),M.extend(n,this.computeCellRange(n)),n},computeCellRange:function(e){var t=this.computeCellDate(e);return{start:t,end:t.clone().add(this.cellDuration)}},computeCellDate:function(e){},getRowData:function(e){return this.rowData[e]||{}},getColData:function(e){return this.colData[e]||{}},getRowEl:function(e){},getColEl:function(e){},getCellDayEl:function(e){return this.getColEl(e.col)||this.getRowEl(e.row)},computeRowCoords:function(){var e,t,n,r=[];for(e=0;e<this.rowCnt;e++)n=(t=this.getRowEl(e)).offset().top,r.push({top:n,bottom:n+t.outerHeight()});return r},computeColCoords:function(){var e,t,n,r=[];for(e=0;e<this.colCnt;e++)n=(t=this.getColEl(e)).offset().left,r.push({left:n,right:n+t.outerWidth()});return r},setElement:function(e){var t=this;(this.el=e).on("mousedown",function(e){M(e.target).is(".fc-event-container *, .fc-more")||M(e.target).closest(".fc-popover").length||t.dayMousedown(e)}),this.bindSegHandlers(),this.bindGlobalHandlers()},removeElement:function(){this.unbindGlobalHandlers(),this.el.remove()},renderSkeleton:function(){},renderDates:function(){},destroyDates:function(){},bindGlobalHandlers:function(){M(document).on("dragstart sortstart",this.externalDragStartProxy)},unbindGlobalHandlers:function(){M(document).off("dragstart sortstart",this.externalDragStartProxy)},dayMousedown:function(e){var r,i,a=this,t=this.view,o=t.opt("selectable");new me(this.coordMap,{scroll:t.opt("dragScroll"),dragStart:function(){t.unselect()},cellOver:function(e,t,n){n&&(r=t?e:null,o&&((i=a.computeSelection(n,e))?a.renderSelection(i):h()))},cellOut:function(e){i=r=null,a.destroySelection(),p()},listenStop:function(e){r&&t.trigger("dayClick",a.getCellDayEl(r),r.start,e),i&&t.reportSelection(i,e),p()}}).mousedown(e)},renderRangeHelper:function(e,t){var n=this.fabricateHelperEvent(e,t);this.renderHelper(n,t)},fabricateHelperEvent:function(e,t){var n=t?I(t.event):{};return n.start=e.start.clone(),n.end=e.end?e.end.clone():null,n.allDay=null,this.view.calendar.normalizeEventRange(n),n.className=(n.className||[]).concat("fc-helper"),t||(n.editable=!1),n},renderHelper:function(e,t){},destroyHelper:function(){},renderSelection:function(e){this.renderHighlight(e)},destroySelection:function(){this.destroyHighlight()},computeSelection:function(e,t){var n,r=[e.start,e.end,t.start,t.end];return r.sort(j),n={start:r[0].clone(),end:r[3].clone()},this.view.calendar.isSelectionRangeAllowed(n)?n:null},renderHighlight:function(e){this.renderFill("highlight",this.rangeToSegs(e))},destroyHighlight:function(){this.destroyFill("highlight")},highlightSegClasses:function(){return["fc-highlight"]},renderFill:function(e,t){},destroyFill:function(e){var t=this.elsByFill[e];t&&(t.remove(),delete this.elsByFill[e])},renderFillSegEls:function(e,i){var t,a=this,o=this[e+"SegEl"],n="",s=[];if(i.length){for(t=0;t<i.length;t++)n+=this.fillSegHtml(e,i[t]);M(n).each(function(e,t){var n=i[e],r=M(t);o&&(r=o.call(a,n,r)),r&&(r=M(r)).is(a.fillSegTag)&&(n.el=r,s.push(n))})}return s},fillSegTag:"div",fillSegHtml:function(e,t){var n=this[e+"SegClasses"],r=this[e+"SegCss"],i=n?n.call(this,t):[],a=P(r?r.call(this,t):{});return"<"+this.fillSegTag+(i.length?' class="'+i.join(" ")+'"':"")+(a?' style="'+a+'"':"")+" />"},headHtml:function(){return'<div class="fc-row '+this.view.widgetHeaderClass+'"><table><thead>'+this.rowHtml("head")+"</thead></table></div>"},headCellHtml:function(e){var t=this.view,n=e.start;return'<th class="fc-day-header '+t.widgetHeaderClass+" fc-"+y[n.day()]+'">'+E(n.format(this.colHeadFormat))+"</th>"},bgCellHtml:function(e){var t=this.view,n=e.start,r=this.getDayClasses(n);return r.unshift("fc-day",t.widgetContentClass),'<td class="'+r.join(" ")+'" data-date="'+n.format("YYYY-MM-DD")+'"></td>'},getDayClasses:function(e){var t=this.view,n=t.calendar.getNow().stripTime(),r=["fc-"+y[e.day()]];return 1==t.intervalDuration.as("months")&&e.month()!=t.intervalStart.month()&&r.push("fc-other-month"),e.isSame(n,"day")?r.push("fc-today",t.highlightStateClass):e<n?r.push("fc-past"):r.push("fc-future"),r}});function ye(e){return G((e.source||{}).rendering,e.rendering)}function we(e,t){return e.eventStartMS-t.eventStartMS}function Ce(e,t){return e.eventStartMS-t.eventStartMS||t.eventDurationMS-e.eventDurationMS||t.event.allDay-e.event.allDay||(e.event.title||"").localeCompare(t.event.title)}ve.mixin({mousedOverSeg:null,isDraggingSeg:!1,isResizingSeg:!1,isDraggingExternal:!1,segs:null,renderEvents:function(e){var t,n,r,i,a=this.eventsToSegs(e),o=[],s=[];for(t=0;t<a.length;t++)n=a[t],r=n.event,void 0,"background"===(i=ye(r))||"inverse-background"===i?o.push(n):s.push(n);o=this.renderBgSegs(o)||o,s=this.renderFgSegs(s)||s,this.segs=o.concat(s)},destroyEvents:function(){this.triggerSegMouseout(),this.destroyFgSegs(),this.destroyBgSegs(),this.segs=null},getEventSegs:function(){return this.segs||[]},renderFgSegs:function(e){},destroyFgSegs:function(){},renderFgSegEls:function(i,e){var t,a=this.view,n="",o=[];if(i.length){for(t=0;t<i.length;t++)n+=this.fgSegHtml(i[t],e);M(n).each(function(e,t){var n=i[e],r=a.resolveEventEl(n.event,M(t));r&&(r.data("fc-seg",n),n.el=r,o.push(n))})}return o},fgSegHtml:function(e,t){},renderBgSegs:function(e){return this.renderFill("bgEvent",e)},destroyBgSegs:function(){this.destroyFill("bgEvent")},bgEventSegEl:function(e,t){return this.view.resolveEventEl(e.event,t)},bgEventSegClasses:function(e){var t=e.event,n=t.source||{};return["fc-bgevent"].concat(t.className,n.className||[])},bgEventSegCss:function(e){var t=this.view,n=e.event,r=n.source||{};return{"background-color":n.backgroundColor||n.color||r.backgroundColor||r.color||t.opt("eventBackgroundColor")||t.opt("eventColor")}},businessHoursSegClasses:function(e){return["fc-nonbusiness","fc-bgevent"]},bindSegHandlers:function(){var r=this,n=this.view;M.each({mouseenter:function(e,t){r.triggerSegMouseover(e,t)},mouseleave:function(e,t){r.triggerSegMouseout(e,t)},click:function(e,t){return n.trigger("eventClick",this,e.event,t)},mousedown:function(e,t){M(t.target).is(".fc-resizer")&&n.isEventResizable(e.event)?r.segResizeMousedown(e,t,M(t.target).is(".fc-start-resizer")):n.isEventDraggable(e.event)&&r.segDragMousedown(e,t)}},function(e,n){r.el.on(e,".fc-event-container > *",function(e){var t=M(this).data("fc-seg");if(t&&!r.isDraggingSeg&&!r.isResizingSeg)return n.call(this,t,e)})})},triggerSegMouseover:function(e,t){this.mousedOverSeg||(this.mousedOverSeg=e,this.view.trigger("eventMouseover",e.el[0],e.event,t))},triggerSegMouseout:function(e,t){t=t||{},this.mousedOverSeg&&(e=e||this.mousedOverSeg,this.mousedOverSeg=null,this.view.trigger("eventMouseout",e.el[0],e.event,t))},segDragMousedown:function(r,e){var i,a=this,o=this.view,s=o.calendar,t=r.el,c=r.event,l=new _e(r.el,{parentEl:o.el,opacity:o.opt("dragOpacity"),revertDuration:o.opt("dragRevertDuration"),zIndex:2});new me(o.coordMap,{distance:5,scroll:o.opt("dragScroll"),subjectEl:t,subjectCenter:!0,listenStart:function(e){l.hide(),l.start(e)},dragStart:function(e){a.triggerSegMouseout(r,e),a.segDragStart(r,e),o.hideEvent(c)},cellOver:function(e,t,n){r.cell&&(n=r.cell),(i=a.computeEventDrop(n,e,c))&&!s.isEventRangeAllowed(i,c)&&(h(),i=null),i&&o.renderDrag(i,r)?l.hide():l.show(),t&&(i=null)},cellOut:function(){o.destroyDrag(),l.show(),i=null},cellDone:function(){p()},dragStop:function(e){l.stop(!i,function(){o.destroyDrag(),o.showEvent(c),a.segDragStop(r,e),i&&o.reportEventDrop(c,i,this.largeUnit,t,e)})},listenStop:function(){l.stop()}}).mousedown(e)},segDragStart:function(e,t){this.isDraggingSeg=!0,this.view.trigger("eventDragStart",e.el[0],e.event,t,{})},segDragStop:function(e,t){this.isDraggingSeg=!1,this.view.trigger("eventDragStop",e.el[0],e.event,t,{})},computeEventDrop:function(e,t,n){var r,i,a=this.view.calendar,o=e.start,s=t.start;return o.hasTime()===s.hasTime()?(r=this.diffDates(s,o),n.allDay&&S(r)?(i={start:n.start.clone(),end:a.getEventEnd(n),allDay:!1},a.normalizeEventRangeTimes(i)):i={start:n.start.clone(),end:n.end?n.end.clone():null,allDay:n.allDay},i.start.add(r),i.end&&i.end.add(r)):i={start:s.clone(),end:null,allDay:!s.hasTime()},i},applyDragOpacity:function(e){var n=this.view.opt("dragOpacity");null!=n&&e.each(function(e,t){t.style.opacity=n})},externalDragStart:function(e,t){var n,r,i=this.view;i.opt("droppable")&&(n=M((t?t.item:null)||e.target),r=i.opt("dropAccept"),(M.isFunction(r)?r.call(n[0],n):n.is(r))&&(this.isDraggingExternal||this.listenToExternalDrag(n,e,t)))},listenToExternalDrag:function(e,t,n){var r,i=this,a=function(e){var t,n,r,i,a=O.dataAttrPrefix;a&&(a+="-");(t=e.data(a+"event")||null)&&(t="object"==typeof t?M.extend({},t):{},null==(n=t.start)&&(n=t.time),r=t.duration,i=t.stick,delete t.start,delete t.time,delete t.duration,delete t.stick);null==n&&(n=e.data(a+"start"));null==n&&(n=e.data(a+"time"));null==r&&(r=e.data(a+"duration"));null==i&&(i=e.data(a+"stick"));return n=null!=n?$.duration(n):null,r=null!=r?$.duration(r):null,i=Boolean(i),{eventProps:t,startTime:n,duration:r,stick:i}}(e);new me(this.coordMap,{listenStart:function(){i.isDraggingExternal=!0},cellOver:function(e){(r=i.computeExternalDrop(e,a))?i.renderDrag(r):h()},cellOut:function(){r=null,i.destroyDrag(),p()},dragStop:function(){i.destroyDrag(),p(),r&&i.view.reportExternalDrop(a,r,e,t,n)},listenStop:function(){i.isDraggingExternal=!1}}).startDrag(t)},computeExternalDrop:function(e,t){var n={start:e.start.clone(),end:null};return t.startTime&&!n.start.hasTime()&&n.start.time(t.startTime),t.duration&&(n.end=n.start.clone().add(t.duration)),this.view.calendar.isExternalDropRangeAllowed(n,t.eventProps)?n:null},renderDrag:function(e,t){},destroyDrag:function(){},segResizeMousedown:function(r,e,i){var a,o=this,s=this.view,c=s.calendar,t=r.el,l=r.event,u=c.getEventEnd(l);new me(this.coordMap,{distance:5,scroll:s.opt("dragScroll"),subjectEl:t,dragStart:function(e){o.triggerSegMouseout(r,e),o.segResizeStart(r,e)},cellOver:function(e,t,n){(a=i?o.computeEventStartResize(n,e,l):o.computeEventEndResize(n,e,l))&&(c.isEventRangeAllowed(a,l)?a.start.isSame(l.start)&&a.end.isSame(u)&&(a=null):(h(),a=null)),a&&(s.hideEvent(l),o.renderEventResize(a,r))},cellOut:function(){a=null},cellDone:function(){o.destroyEventResize(),s.showEvent(l),p()},dragStop:function(e){o.segResizeStop(r,e),a&&s.reportEventResize(l,a,this.largeUnit,t,e)}}).mousedown(e)},segResizeStart:function(e,t){this.isResizingSeg=!0,this.view.trigger("eventResizeStart",e.el[0],e.event,t,{})},segResizeStop:function(e,t){this.isResizingSeg=!1,this.view.trigger("eventResizeStop",e.el[0],e.event,t,{})},computeEventStartResize:function(e,t,n){return this.computeEventResize("start",e,t,n)},computeEventEndResize:function(e,t,n){return this.computeEventResize("end",e,t,n)},computeEventResize:function(e,t,n,r){var i,a,o=this.view.calendar,s=this.diffDates(n[e],t[e]);return(i={start:r.start.clone(),end:o.getEventEnd(r),allDay:r.allDay}).allDay&&S(s)&&(i.allDay=!1,o.normalizeEventRangeTimes(i)),i[e].add(s),i.start.isBefore(i.end)||(a=r.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration,this.cellDuration&&this.cellDuration<a&&(a=this.cellDuration),"start"==e?i.start=i.end.clone().subtract(a):i.end=i.start.clone().add(a)),i},renderEventResize:function(e,t){},destroyEventResize:function(){},getEventTimeText:function(e,t,n){return null==t&&(t=this.eventTimeFormat),null==n&&(n=this.displayEventEnd),this.displayEventTime&&e.start.hasTime()?n&&e.end?this.view.formatRange(e,t):e.start.format(t):""},getSegClasses:function(e,t,n){var r=e.event,i=["fc-event",e.isStart?"fc-start":"fc-not-start",e.isEnd?"fc-end":"fc-not-end"].concat(r.className,r.source?r.source.className:[]);return t&&i.push("fc-draggable"),n&&i.push("fc-resizable"),i},getEventSkinCss:function(e){var t=this.view,n=e.source||{},r=e.color,i=n.color,a=t.opt("eventColor");return{"background-color":e.backgroundColor||r||n.backgroundColor||i||t.opt("eventBackgroundColor")||a,"border-color":e.borderColor||r||n.borderColor||i||t.opt("eventBorderColor")||a,color:e.textColor||n.textColor||t.opt("eventTextColor")}},eventsToSegs:function(e,t){var n,r=this.eventsToRanges(e),i=[];for(n=0;n<r.length;n++)i.push.apply(i,this.eventRangeToSegs(r[n],t));return i},eventsToRanges:function(e){var n=this,t=function(e){var t,n,r={};for(t=0;t<e.length;t++)n=e[t],(r[n._id]||(r[n._id]=[])).push(n);return r}(e),r=[];return M.each(t,function(e,t){t.length&&r.push.apply(r,"inverse-background"===ye(t[0])?n.eventsToInverseRanges(t):n.eventsToNormalRanges(t))}),r},eventsToNormalRanges:function(e){var t,n,r,i,a=this.view.calendar,o=[];for(t=0;t<e.length;t++)r=(n=e[t]).start.clone().stripZone(),i=a.getEventEnd(n).stripZone(),o.push({event:n,start:r,end:i,eventStartMS:+r,eventDurationMS:i-r});return o},eventsToInverseRanges:function(e){var t,n,r=this.view,i=r.start.clone().stripZone(),a=r.end.clone().stripZone(),o=this.eventsToNormalRanges(e),s=[],c=e[0],l=i;for(o.sort(we),t=0;t<o.length;t++)(n=o[t]).start>l&&s.push({event:c,start:l,end:n.start}),l=n.end;return l<a&&s.push({event:c,start:l,end:a}),s},eventRangeToSegs:function(e,t){var n,r,i;for(n=t?t(e):this.rangeToSegs(e),r=0;r<n.length;r++)(i=n[r]).event=e.event,i.eventStartMS=e.eventStartMS,i.eventDurationMS=e.eventDurationMS;return n}}),O.compareSegs=Ce,O.dataAttrPrefix="";var Ae=ve.extend({numbersVisible:!1,bottomCoordPadding:0,breakOnWeeks:null,cellDates:null,dayToCellOffsets:null,rowEls:null,dayEls:null,helperEls:null,constructor:function(){ve.apply(this,arguments),this.cellDuration=$.duration(1,"day")},renderDates:function(e){var t,n,r,i=this.view,a=this.rowCnt,o=a*this.colCnt,s="";for(t=0;t<a;t++)s+=this.dayRowHtml(t,e);for(this.el.html(s),this.rowEls=this.el.find(".fc-row"),this.dayEls=this.el.find(".fc-day"),n=0;n<o;n++)r=this.getCell(n),i.trigger("dayRender",null,r.start,this.dayEls.eq(n))},destroyDates:function(){this.destroySegPopover()},renderBusinessHours:function(){var e=this.view.calendar.getBusinessHoursEvents(!0),t=this.eventsToSegs(e);this.renderFill("businessHours",t,"bgevent")},dayRowHtml:function(e,t){var n=["fc-row","fc-week",this.view.widgetContentClass];return t&&n.push("fc-rigid"),'<div class="'+n.join(" ")+'"><div class="fc-bg"><table>'+this.rowHtml("day",e)+'</table></div><div class="fc-content-skeleton"><table>'+(this.numbersVisible?"<thead>"+this.rowHtml("number",e)+"</thead>":"")+"</table></div></div>"},dayCellHtml:function(e){return this.bgCellHtml(e)},computeColHeadFormat:function(){return 1<this.rowCnt?"ddd":1<this.colCnt?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("extraSmallTimeFormat")},computeDisplayEventEnd:function(){return 1==this.colCnt},updateCells:function(){var e,t,n,r;if(this.updateCellDates(),e=this.cellDates,this.breakOnWeeks){for(t=e[0].day(),r=1;r<e.length&&e[r].day()!=t;r++);n=Math.ceil(e.length/r)}else n=1,r=e.length;this.rowCnt=n,this.colCnt=r},updateCellDates:function(){for(var e=this.view,t=this.start.clone(),n=[],r=-1,i=[];t.isBefore(this.end);)e.isHiddenDay(t)?i.push(r+.5):(r++,i.push(r),n.push(t.clone())),t.add(1,"days");this.cellDates=n,this.dayToCellOffsets=i},computeCellDate:function(e){var t=this.colCnt,n=e.row*t+(this.isRTL?t-e.col-1:e.col);return this.cellDates[n].clone()},getRowEl:function(e){return this.rowEls.eq(e)},getColEl:function(e){return this.dayEls.eq(e)},getCellDayEl:function(e){return this.dayEls.eq(e.row*this.colCnt+e.col)},computeRowCoords:function(){var e=ve.prototype.computeRowCoords.call(this);return e[e.length-1].bottom+=this.bottomCoordPadding,e},rangeToSegs:function(e){var t,n,r,i,a,o,s,c,l,u,f=this.isRTL,d=this.rowCnt,h=this.colCnt,p=[];for(e=this.view.computeDayRange(e),t=this.dateToCellOffset(e.start),n=this.dateToCellOffset(e.end.subtract(1,"days")),r=0;r<d;r++)a=(i=r*h)+h-1,c=Math.max(i,t),l=Math.min(a,n),(c=Math.ceil(c))<=(l=Math.floor(l))&&(o=c===t,s=l===n,c-=i,l-=i,u={row:r,isStart:o,isEnd:s},f?(u.leftCol=h-l-1,u.rightCol=h-c-1):(u.leftCol=c,u.rightCol=l),p.push(u));return p},dateToCellOffset:function(e){var t=this.dayToCellOffsets,n=e.diff(this.start,"days");return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},renderDrag:function(e,t){if(this.renderHighlight(this.view.calendar.ensureVisibleEventRange(e)),t&&!t.el.closest(this.el).length)return this.renderRangeHelper(e,t),this.applyDragOpacity(this.helperEls),!0},destroyDrag:function(){this.destroyHighlight(),this.destroyHelper()},renderEventResize:function(e,t){this.renderHighlight(e),this.renderRangeHelper(e,t)},destroyEventResize:function(){this.destroyHighlight(),this.destroyHelper()},renderHelper:function(e,a){var o,s=[],t=this.eventsToSegs([e]);t=this.renderFgSegEls(t),o=this.renderSegRows(t),this.rowEls.each(function(e,t){var n,r=M(t),i=M('<div class="fc-helper-skeleton"><table/></div>');n=a&&a.row===e?a.el.position().top:r.find(".fc-content-skeleton tbody").position().top,i.css("top",n).find("table").append(o[e].tbodyEl),r.append(i),s.push(i[0])}),this.helperEls=M(s)},destroyHelper:function(){this.helperEls&&(this.helperEls.remove(),this.helperEls=null)},fillSegTag:"td",renderFill:function(e,t,n){var r,i,a,o=[];for(t=this.renderFillSegEls(e,t),r=0;r<t.length;r++)i=t[r],a=this.renderFillRow(e,i,n),this.rowEls.eq(i.row).append(a),o.push(a[0]);return this.elsByFill[e]=M(o),t},renderFillRow:function(e,t,n){var r,i,a=this.colCnt,o=t.leftCol,s=t.rightCol+1;return n=n||e.toLowerCase(),i=(r=M('<div class="fc-'+n+'-skeleton"><table><tr/></table></div>')).find("tr"),0<o&&i.append('<td colspan="'+o+'"/>'),i.append(t.el.attr("colspan",s-o)),s<a&&i.append('<td colspan="'+(a-s)+'"/>'),this.bookendCells(i,e),r}});function Se(e,t){var n,r;for(n=0;n<t.length;n++)if((r=t[n]).leftCol<=e.rightCol&&r.rightCol>=e.leftCol)return!0;return!1}function Te(e,t){return e.leftCol-t.leftCol}Ae.mixin({rowStructs:null,destroyEvents:function(){this.destroySegPopover(),ve.prototype.destroyEvents.apply(this,arguments)},getEventSegs:function(){return ve.prototype.getEventSegs.call(this).concat(this.popoverSegs||[])},renderBgSegs:function(e){var t=M.grep(e,function(e){return e.event.allDay});return ve.prototype.renderBgSegs.call(this,t)},renderFgSegs:function(e){var n;return e=this.renderFgSegEls(e),n=this.rowStructs=this.renderSegRows(e),this.rowEls.each(function(e,t){M(t).find(".fc-content-skeleton > table").append(n[e].tbodyEl)}),e},destroyFgSegs:function(){for(var e,t=this.rowStructs||[];e=t.pop();)e.tbodyEl.remove();this.rowStructs=null},renderSegRows:function(e){var t,n,r=[];for(t=this.groupSegRows(e),n=0;n<t.length;n++)r.push(this.renderSegRow(n,t[n]));return r},fgSegHtml:function(e,t){var n,r,i=this.view,a=e.event,o=i.isEventDraggable(a),s=!t&&a.allDay&&e.isStart&&i.isEventResizableFromStart(a),c=!t&&a.allDay&&e.isEnd&&i.isEventResizableFromEnd(a),l=this.getSegClasses(e,o,s||c),u=P(this.getEventSkinCss(a)),f="";return l.unshift("fc-day-grid-event","fc-h-event"),e.isStart&&(n=this.getEventTimeText(a))&&(f='<span class="fc-time">'+E(n)+"</span>"),r='<span class="fc-title">'+(E(a.title||"")||" ")+"</span>",'<a class="'+l.join(" ")+'"'+(a.url?' href="'+E(a.url)+'"':"")+(u?' style="'+u+'"':"")+'><div class="fc-content">'+(this.isRTL?r+" "+f:f+" "+r)+"</div>"+(s?'<div class="fc-resizer fc-start-resizer" />':"")+(c?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},renderSegRow:function(e,t){var n,r,i,a,o,s,c,l=this.colCnt,u=this.buildSegLevels(t),f=Math.max(1,u.length),d=M("<tbody/>"),h=[],p=[],m=[];function g(e){for(;i<e;)(c=(m[n-1]||[])[i])?c.attr("rowspan",parseInt(c.attr("rowspan")||1,10)+1):(c=M("<td/>"),a.append(c)),p[n][i]=c,m[n][i]=c,i++}for(n=0;n<f;n++){if(r=u[n],i=0,a=M("<tr/>"),h.push([]),p.push([]),m.push([]),r)for(o=0;o<r.length;o++){for(g((s=r[o]).leftCol),c=M('<td class="fc-event-container"/>').append(s.el),s.leftCol!=s.rightCol?c.attr("colspan",s.rightCol-s.leftCol+1):m[n][i]=c;i<=s.rightCol;)p[n][i]=c,h[n][i]=s,i++;a.append(c)}g(l),this.bookendCells(a,"eventSkeleton"),d.append(a)}return{row:e,tbodyEl:d,cellMatrix:p,segMatrix:h,segLevels:u,segs:t}},buildSegLevels:function(e){var t,n,r,i=[];for(e.sort(Ce),t=0;t<e.length;t++){for(n=e[t],r=0;r<i.length&&Se(n,i[r]);r++);(i[n.level=r]||(i[r]=[])).push(n)}for(r=0;r<i.length;r++)i[r].sort(Te);return i},groupSegRows:function(e){var t,n=[];for(t=0;t<this.rowCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].row].push(e[t]);return n}}),Ae.mixin({segPopover:null,popoverSegs:null,destroySegPopover:function(){this.segPopover&&this.segPopover.hide()},limitRows:function(e){var t,n,r=this.rowStructs||[];for(t=0;t<r.length;t++)this.unlimitRow(t),!1!==(n=!!e&&("number"==typeof e?e:this.computeRowLevelLimit(t)))&&this.limitRow(t,n)},computeRowLevelLimit:function(e){var t,n,r,i=this.rowEls.eq(e).height(),a=this.rowStructs[e].tbodyEl.children();function o(e,t){r=Math.max(r,M(t).outerHeight())}for(t=0;t<a.length;t++)if(n=a.eq(t).removeClass("fc-limited"),r=0,n.find("> td > :first-child").each(o),n.position().top+r>i)return t;return!1},limitRow:function(t,n){var r,e,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b=this,v=this.rowStructs[t],y=[],w=0;function C(e){for(;w<e;)r=b.getCell(t,w),(c=b.getCellSegs(r,n)).length&&(f=i[n-1][w],_=b.renderMoreLink(r,c),g=M("<div/>").append(_),f.append(g),y.push(g[0])),w++}if(n&&n<v.segLevels.length){for(e=v.segLevels[n-1],i=v.cellMatrix,a=v.tbodyEl.children().slice(n).addClass("fc-limited").get(),o=0;o<e.length;o++){for(C((s=e[o]).leftCol),u=[],l=0;w<=s.rightCol;)r=this.getCell(t,w),c=this.getCellSegs(r,n),u.push(c),l+=c.length,w++;if(l){for(d=(f=i[n-1][s.leftCol]).attr("rowspan")||1,h=[],p=0;p<u.length;p++)m=M('<td class="fc-more-cell"/>').attr("rowspan",d),c=u[p],r=this.getCell(t,s.leftCol+p),_=this.renderMoreLink(r,[s].concat(c)),g=M("<div/>").append(_),m.append(g),h.push(m[0]),y.push(m[0]);f.addClass("fc-limited").after(M(h)),a.push(f[0])}}C(this.colCnt),v.moreEls=M(y),v.limitedEls=M(a)}},unlimitRow:function(e){var t=this.rowStructs[e];t.moreEls&&(t.moreEls.remove(),t.moreEls=null),t.limitedEls&&(t.limitedEls.removeClass("fc-limited"),t.limitedEls=null)},renderMoreLink:function(c,l){var u=this,f=this.view;return M('<a class="fc-more"/>').text(this.getMoreLinkText(l.length)).on("click",function(e){var t=f.opt("eventLimitClick"),n=c.start,r=M(this),i=u.getCellDayEl(c),a=u.getCellSegs(c),o=u.resliceDaySegs(a,n),s=u.resliceDaySegs(l,n);"function"==typeof t&&(t=f.trigger("eventLimitClick",null,{date:n,dayEl:i,moreEl:r,segs:o,hiddenSegs:s},e)),"popover"===t?u.showSegPopover(c,r,o):"string"==typeof t&&f.calendar.zoomTo(n,t)})},showSegPopover:function(e,t,n){var r,i,a=this,o=this.view,s=t.parent();r=1==this.rowCnt?o.el:this.rowEls.eq(e.row),i={className:"fc-more-popover",content:this.renderSegPopoverContent(e,n),parentEl:this.el,top:r.offset().top,autoHide:!0,viewportConstrain:o.opt("popoverViewportConstrain"),hide:function(){a.segPopover.destroy(),a.segPopover=null,a.popoverSegs=null}},this.isRTL?i.right=s.offset().left+s.outerWidth()+1:i.left=s.offset().left-1,this.segPopover=new fe(i),this.segPopover.show()},renderSegPopoverContent:function(e,t){var n,r=this.view,i=r.opt("theme"),a=e.start.format(r.opt("dayPopoverFormat")),o=M('<div class="fc-header '+r.widgetHeaderClass+'"><span class="fc-close '+(i?"ui-icon ui-icon-closethick":"fc-icon fc-icon-x")+'"></span><span class="fc-title">'+E(a)+'</span><div class="fc-clear"/></div><div class="fc-body '+r.widgetContentClass+'"><div class="fc-event-container"></div></div>'),s=o.find(".fc-event-container");for(t=this.renderFgSegEls(t,!0),this.popoverSegs=t,n=0;n<t.length;n++)t[n].cell=e,s.append(t[n].el);return o},resliceDaySegs:function(e,t){var n=M.map(e,function(e){return e.event}),r=t.clone().stripTime(),i=r.clone().add(1,"days"),a={start:r,end:i};return(e=this.eventsToSegs(n,function(e){var t=v(e,a);return t?[t]:[]})).sort(Ce),e},getMoreLinkText:function(e){var t=this.view.opt("eventLimitText");return"function"==typeof t?t(e):"+"+e+" "+t},getCellSegs:function(e,t){for(var n,r=this.rowStructs[e.row].segMatrix,i=t||0,a=[];i<r.length;)(n=r[i][e.col])&&a.push(n),i++;return a}});var xe=ve.extend({slotDuration:null,snapDuration:null,minTime:null,maxTime:null,axisFormat:null,dayEls:null,slatEls:null,slatTops:null,helperEl:null,businessHourSegs:null,constructor:function(){ve.apply(this,arguments),this.processOptions()},renderDates:function(){this.el.html(this.renderHtml()),this.dayEls=this.el.find(".fc-day"),this.slatEls=this.el.find(".fc-slats tr")},renderBusinessHours:function(){var e=this.view.calendar.getBusinessHoursEvents();this.businessHourSegs=this.renderFill("businessHours",this.eventsToSegs(e),"bgevent")},renderHtml:function(){return'<div class="fc-bg"><table>'+this.rowHtml("slotBg")+'</table></div><div class="fc-slats"><table>'+this.slatRowHtml()+"</table></div>"},slotBgCellHtml:function(e){return this.bgCellHtml(e)},slatRowHtml:function(){for(var e,t,n,r=this.view,i=this.isRTL,a="",o=this.slotDuration.asMinutes()%15==0,s=$.duration(+this.minTime);s<this.maxTime;)t=(e=this.start.clone().time(s)).minutes(),n='<td class="fc-axis fc-time '+r.widgetContentClass+'" '+r.axisStyleAttr()+">"+(o&&t?"":"<span>"+E(e.format(this.axisFormat))+"</span>")+"</td>",a+="<tr "+(t?'class="fc-minor"':"")+">"+(i?"":n)+'<td class="'+r.widgetContentClass+'"/>'+(i?n:"")+"</tr>",s.add(this.slotDuration);return a},processOptions:function(){var e=this.view,t=e.opt("slotDuration"),n=e.opt("snapDuration");t=$.duration(t),n=n?$.duration(n):t,this.slotDuration=t,this.snapDuration=n,this.cellDuration=n,this.minTime=$.duration(e.opt("minTime")),this.maxTime=$.duration(e.opt("maxTime")),this.axisFormat=e.opt("axisFormat")||e.opt("smallTimeFormat")},computeColHeadFormat:function(){return 1<this.colCnt?this.view.opt("dayOfMonthFormat"):"dddd"},computeEventTimeFormat:function(){return this.view.opt("noMeridiemTimeFormat")},computeDisplayEventEnd:function(){return!0},updateCells:function(){var e,t=this.view,n=[];for(e=this.start.clone();e.isBefore(this.end);)n.push({day:e.clone()}),e.add(1,"day"),e=t.skipHiddenDays(e);this.isRTL&&n.reverse(),this.colData=n,this.colCnt=n.length,this.rowCnt=Math.ceil((this.maxTime-this.minTime)/this.snapDuration)},computeCellDate:function(e){var t=this.computeSnapTime(e.row);return this.view.calendar.rezoneDate(e.day).time(t)},getColEl:function(e){return this.dayEls.eq(e)},computeSnapTime:function(e){return $.duration(this.minTime+this.snapDuration*e)},rangeToSegs:function(e){var t,n,r,i=this.colCnt,a=[];for(e={start:e.start.clone().stripZone(),end:e.end.clone().stripZone()},n=0;n<i;n++)(t=v(e,{start:(r=this.colData[n].day).clone().time(this.minTime),end:r.clone().time(this.maxTime)}))&&(t.col=n,a.push(t));return a},updateSize:function(e){this.computeSlatTops(),e&&this.updateSegVerticals()},computeRowCoords:function(){var e,t,n=this.el.offset().top,r=[];for(e=0;e<this.rowCnt;e++)t={top:n+this.computeTimeTop(this.computeSnapTime(e))},0<e&&(r[e-1].bottom=t.top),r.push(t);return t.bottom=t.top+this.computeTimeTop(this.computeSnapTime(e)),r},computeDateTop:function(e,t){return this.computeTimeTop($.duration(e.clone().stripZone()-t.clone().stripTime()))},computeTimeTop:function(e){var t,n,r,i=(e-this.minTime)/this.slotDuration;return i=Math.max(0,i),n=(i=Math.min(this.slatEls.length,i))-(t=Math.floor(i)),r=this.slatTops[t],n?r+(this.slatTops[t+1]-r)*n:r},computeSlatTops:function(){var n,r=[];this.slatEls.each(function(e,t){n=M(t).position().top,r.push(n)}),r.push(n+this.slatEls.last().outerHeight()),this.slatTops=r},renderDrag:function(e,t){if(t)return this.renderRangeHelper(e,t),this.applyDragOpacity(this.helperEl),!0;this.renderHighlight(this.view.calendar.ensureVisibleEventRange(e))},destroyDrag:function(){this.destroyHelper(),this.destroyHighlight()},renderEventResize:function(e,t){this.renderRangeHelper(e,t)},destroyEventResize:function(){this.destroyHelper()},renderHelper:function(e,t){var n,r,i,a,o=this.eventsToSegs([e]);for(o=this.renderFgSegEls(o),n=this.renderSegTable(o),r=0;r<o.length;r++)i=o[r],t&&t.col===i.col&&(a=t.el,i.el.css({left:a.css("left"),right:a.css("right"),"margin-left":a.css("margin-left"),"margin-right":a.css("margin-right")}));this.helperEl=M('<div class="fc-helper-skeleton"/>').append(n).appendTo(this.el)},destroyHelper:function(){this.helperEl&&(this.helperEl.remove(),this.helperEl=null)},renderSelection:function(e){this.view.opt("selectHelper")?this.renderRangeHelper(e):this.renderHighlight(e)},destroySelection:function(){this.destroyHelper(),this.destroyHighlight()},renderFill:function(e,t,n){var r,i,a,o,s,c,l,u,f,d;if(t.length){for(t=this.renderFillSegEls(e,t),r=this.groupSegCols(t),n=n||e.toLowerCase(),a=(i=M('<div class="fc-'+n+'-skeleton"><table><tr/></table></div>')).find("tr"),o=0;o<r.length;o++)if(s=r[o],c=M("<td/>").appendTo(a),s.length)for(l=M('<div class="fc-'+n+'-container"/>').appendTo(c),u=this.colData[o].day,f=0;f<s.length;f++)d=s[f],l.append(d.el.css({top:this.computeDateTop(d.start,u),bottom:-this.computeDateTop(d.end,u)}));this.bookendCells(a,e),this.el.append(i),this.elsByFill[e]=i}return t}});function ke(e){var t,n,r;if(e.sort(Ce),function(e){var t,n,r,i,a;for(t=0;t<e.length;t++)for(n=e[t],r=0;r<n.length;r++)for((i=n[r]).forwardSegs=[],a=t+1;a<e.length;a++)Ie(i,e[a],i.forwardSegs)}(t=function(e){var t,n,r,i=[];for(t=0;t<e.length;t++){for(n=e[t],r=0;r<i.length&&Ie(n,i[r]).length;r++);n.level=r,(i[r]||(i[r]=[])).push(n)}return i}(e)),n=t[0]){for(r=0;r<n.length;r++)Ee(n[r]);for(r=0;r<n.length;r++)De(n[r],0,0)}}function Ee(e){var t,n,r=e.forwardSegs,i=0;if(void 0===e.forwardPressure){for(t=0;t<r.length;t++)Ee(n=r[t]),i=Math.max(i,1+n.forwardPressure);e.forwardPressure=i}}function De(e,t,n){var r,i=e.forwardSegs;if(void 0===e.forwardCoord)for(i.length?(i.sort(Pe),De(i[0],t+1,n),e.forwardCoord=i[0].backwardCoord):e.forwardCoord=1,e.backwardCoord=e.forwardCoord-(e.forwardCoord-n)/(t+1),r=0;r<i.length;r++)De(i[r],0,e.forwardCoord)}function Ie(e,t,n){n=n||[];for(var r=0;r<t.length;r++)i=e,a=t[r],i.bottom>a.top&&i.top<a.bottom&&n.push(t[r]);var i,a;return n}function Pe(e,t){return t.forwardPressure-e.forwardPressure||(e.backwardCoord||0)-(t.backwardCoord||0)||Ce(e,t)}xe.mixin({eventSkeletonEl:null,renderFgSegs:function(e){return e=this.renderFgSegEls(e),this.el.append(this.eventSkeletonEl=M('<div class="fc-content-skeleton"/>').append(this.renderSegTable(e))),e},destroyFgSegs:function(e){this.eventSkeletonEl&&(this.eventSkeletonEl.remove(),this.eventSkeletonEl=null)},renderSegTable:function(e){var t,n,r,i,a,o,s=M("<table><tr/></table>"),c=s.find("tr");for(t=this.groupSegCols(e),this.computeSegVerticals(e),i=0;i<t.length;i++){for(ke(a=t[i]),o=M('<div class="fc-event-container"/>'),n=0;n<a.length;n++)(r=a[n]).el.css(this.generateSegPositionCss(r)),r.bottom-r.top<30&&r.el.addClass("fc-short"),o.append(r.el);c.append(M("<td/>").append(o))}return this.bookendCells(c,"eventSkeleton"),s},updateSegVerticals:function(){var e,t=(this.segs||[]).concat(this.businessHourSegs||[]);for(this.computeSegVerticals(t),e=0;e<t.length;e++)t[e].el.css(this.generateSegVerticalCss(t[e]))},computeSegVerticals:function(e){var t,n;for(t=0;t<e.length;t++)(n=e[t]).top=this.computeDateTop(n.start,n.start),n.bottom=this.computeDateTop(n.end,n.start)},fgSegHtml:function(e,t){var n,r,i,a=this.view,o=e.event,s=a.isEventDraggable(o),c=!t&&e.isStart&&a.isEventResizableFromStart(o),l=!t&&e.isEnd&&a.isEventResizableFromEnd(o),u=this.getSegClasses(e,s,c||l),f=P(this.getEventSkinCss(o));return u.unshift("fc-time-grid-event","fc-v-event"),a.isMultiDayEvent(o)?(e.isStart||e.isEnd)&&(n=this.getEventTimeText(e),r=this.getEventTimeText(e,"LT"),i=this.getEventTimeText(e,null,!1)):(n=this.getEventTimeText(o),r=this.getEventTimeText(o,"LT"),i=this.getEventTimeText(o,null,!1)),'<a class="'+u.join(" ")+'"'+(o.url?' href="'+E(o.url)+'"':"")+(f?' style="'+f+'"':"")+'><div class="fc-content">'+(n?'<div class="fc-time" data-start="'+E(i)+'" data-full="'+E(r)+'"><span>'+E(n)+"</span></div>":"")+(o.title?'<div class="fc-title">'+E(o.title)+"</div>":"")+'</div><div class="fc-bg"/>'+(l?'<div class="fc-resizer fc-end-resizer" />':"")+"</a>"},generateSegPositionCss:function(e){var t,n,r=this.view.opt("slotEventOverlap"),i=e.backwardCoord,a=e.forwardCoord,o=this.generateSegVerticalCss(e);return r&&(a=Math.min(1,i+2*(a-i))),n=this.isRTL?(t=1-a,i):(t=i,1-a),o.zIndex=e.level+1,o.left=100*t+"%",o.right=100*n+"%",r&&e.forwardPressure&&(o[this.isRTL?"marginLeft":"marginRight"]=20),o},generateSegVerticalCss:function(e){return{top:e.top,bottom:-e.bottom}},groupSegCols:function(e){var t,n=[];for(t=0;t<this.colCnt;t++)n.push([]);for(t=0;t<e.length;t++)n[e[t].col].push(e[t]);return n}});var Me=O.View=ue.extend({type:null,name:null,title:null,calendar:null,options:null,coordMap:null,el:null,isDisplayed:!1,isSkeletonRendered:!1,isEventsRendered:!1,start:null,end:null,intervalStart:null,intervalEnd:null,intervalDuration:null,intervalUnit:null,isSelected:!1,scrollerEl:null,scrollTop:null,widgetHeaderClass:null,widgetContentClass:null,highlightStateClass:null,nextDayThreshold:null,isHiddenDayHash:null,documentMousedownProxy:null,constructor:function(e,t,n,r){this.calendar=e,this.type=this.name=t,this.options=n,this.intervalDuration=r||$.duration(1,"day"),this.nextDayThreshold=$.duration(this.opt("nextDayThreshold")),this.initThemingProps(),this.initHiddenDays(),this.documentMousedownProxy=U(this,"documentMousedown"),this.initialize()},initialize:function(){},opt:function(e){return this.options[e]},trigger:function(e,t){var n=this.calendar;return n.trigger.apply(n,[e,t||this].concat(Array.prototype.slice.call(arguments,2),[this]))},setDate:function(e){this.setRange(this.computeRange(e))},setRange:function(e){M.extend(this,e),this.updateTitle()},computeRange:function(e){var t,n,r=C(this.intervalDuration),i=e.clone().startOf(r),a=i.clone().add(this.intervalDuration);return/year|month|week|day/.test(r)?(i.stripTime(),a.stripTime()):(i.hasTime()||(i=this.calendar.rezoneDate(i)),a.hasTime()||(a=this.calendar.rezoneDate(a))),t=i.clone(),t=this.skipHiddenDays(t),n=a.clone(),{intervalUnit:r,intervalStart:i,intervalEnd:a,start:t,end:n=this.skipHiddenDays(n,-1,!0)}},computePrevDate:function(e){return this.massageCurrentDate(e.clone().startOf(this.intervalUnit).subtract(this.intervalDuration),-1)},computeNextDate:function(e){return this.massageCurrentDate(e.clone().startOf(this.intervalUnit).add(this.intervalDuration))},massageCurrentDate:function(e,t){return this.intervalDuration.as("days")<=1&&this.isHiddenDay(e)&&(e=this.skipHiddenDays(e,t)).startOf("day"),e},updateTitle:function(){this.title=this.computeTitle()},computeTitle:function(){return this.formatRange({start:this.intervalStart,end:this.intervalEnd},this.opt("titleFormat")||this.computeTitleFormat(),this.opt("titleRangeSeparator"))},computeTitleFormat:function(){return"year"==this.intervalUnit?"YYYY":"month"==this.intervalUnit?this.opt("monthYearFormat"):1<this.intervalDuration.as("days")?"ll":"LL"},formatRange:function(e,t,n){var r=e.end;return r.hasTime()||(r=r.clone().subtract(1)),ae(e.start,r,t,n,this.opt("isRTL"))},setElement:function(e){this.el=e,this.bindGlobalHandlers()},removeElement:function(){this.clear(),this.isSkeletonRendered&&(this.destroySkeleton(),this.isSkeletonRendered=!1),this.unbindGlobalHandlers(),this.el.remove()},display:function(e){var t=null;this.isDisplayed&&(t=this.queryScroll()),this.clear(),this.setDate(e),this.render(),this.updateSize(),this.renderBusinessHours(),this.isDisplayed=!0,t=this.computeInitialScroll(t),this.forceScroll(t),this.triggerRender()},clear:function(){this.isDisplayed&&(this.unselect(),this.clearEvents(),this.triggerDestroy(),this.destroyBusinessHours(),this.destroy(),this.isDisplayed=!1)},render:function(){this.isSkeletonRendered||(this.renderSkeleton(),this.isSkeletonRendered=!0),this.renderDates()},destroy:function(){this.destroyDates()},renderSkeleton:function(){},destroySkeleton:function(){},renderDates:function(){},destroyDates:function(){},renderBusinessHours:function(){},destroyBusinessHours:function(){},triggerRender:function(){this.trigger("viewRender",this,this,this.el)},triggerDestroy:function(){this.trigger("viewDestroy",this,this,this.el)},bindGlobalHandlers:function(){M(document).on("mousedown",this.documentMousedownProxy)},unbindGlobalHandlers:function(){M(document).off("mousedown",this.documentMousedownProxy)},initThemingProps:function(){var e=this.opt("theme")?"ui":"fc";this.widgetHeaderClass=e+"-widget-header",this.widgetContentClass=e+"-widget-content",this.highlightStateClass=e+"-state-highlight"},updateSize:function(e){var t;e&&(t=this.queryScroll()),this.updateHeight(),this.updateWidth(),e&&this.setScroll(t)},updateWidth:function(){},updateHeight:function(){var e=this.calendar;this.setHeight(e.getSuggestedViewHeight(),e.isHeightAuto())},setHeight:function(e,t){},computeScrollerHeight:function(e){var t,n,r=this.scrollerEl;return(t=this.el.add(r)).css({position:"relative",left:-1}),n=this.el.outerHeight()-r.height(),t.css({position:"",left:""}),e-n},computeInitialScroll:function(e){return 0},queryScroll:function(){if(this.scrollerEl)return this.scrollerEl.scrollTop()},setScroll:function(e){if(this.scrollerEl)return this.scrollerEl.scrollTop(e)},forceScroll:function(e){var t=this;this.setScroll(e),setTimeout(function(){t.setScroll(e)},0)},displayEvents:function(e){var t=this.queryScroll();this.clearEvents(),this.renderEvents(e),this.isEventsRendered=!0,this.setScroll(t),this.triggerEventRender()},clearEvents:function(){this.isEventsRendered&&(this.triggerEventDestroy(),this.destroyEvents(),this.isEventsRendered=!1)},renderEvents:function(e){},destroyEvents:function(){},triggerEventRender:function(){this.renderedEventSegEach(function(e){this.trigger("eventAfterRender",e.event,e.event,e.el)}),this.trigger("eventAfterAllRender")},triggerEventDestroy:function(){this.renderedEventSegEach(function(e){this.trigger("eventDestroy",e.event,e.event,e.el)})},resolveEventEl:function(e,t){var n=this.trigger("eventRender",e,e,t);return!1===n?t=null:n&&!0!==n&&(t=M(n)),t},showEvent:function(e){this.renderedEventSegEach(function(e){e.el.css("visibility","")},e)},hideEvent:function(e){this.renderedEventSegEach(function(e){e.el.css("visibility","hidden")},e)},renderedEventSegEach:function(e,t){var n,r=this.getEventSegs();for(n=0;n<r.length;n++)t&&r[n].event._id!==t._id||r[n].el&&e.call(this,r[n])},getEventSegs:function(){return[]},isEventDraggable:function(e){var t=e.source||{};return G(e.startEditable,t.startEditable,this.opt("eventStartEditable"),e.editable,t.editable,this.opt("editable"))},reportEventDrop:function(e,t,n,r,i){var a=this.calendar,o=a.mutateEvent(e,t,n);this.triggerEventDrop(e,o.dateDelta,function(){o.undo(),a.reportEventChange()},r,i),a.reportEventChange()},triggerEventDrop:function(e,t,n,r,i){this.trigger("eventDrop",r[0],e,t,n,i,{})},reportExternalDrop:function(e,t,n,r,i){var a,o,s=e.eventProps;s&&(a=M.extend({},s,t),o=this.calendar.renderEvent(a,e.stick)[0]),this.triggerExternalDrop(o,t,n,r,i)},triggerExternalDrop:function(e,t,n,r,i){this.trigger("drop",n[0],t.start,r,i),e&&this.trigger("eventReceive",null,e)},renderDrag:function(e,t){},destroyDrag:function(){},isEventResizableFromStart:function(e){return this.opt("eventResizableFromStart")&&this.isEventResizable(e)},isEventResizableFromEnd:function(e){return this.isEventResizable(e)},isEventResizable:function(e){var t=e.source||{};return G(e.durationEditable,t.durationEditable,this.opt("eventDurationEditable"),e.editable,t.editable,this.opt("editable"))},reportEventResize:function(e,t,n,r,i){var a=this.calendar,o=a.mutateEvent(e,t,n);this.triggerEventResize(e,o.durationDelta,function(){o.undo(),a.reportEventChange()},r,i),a.reportEventChange()},triggerEventResize:function(e,t,n,r,i){this.trigger("eventResize",r[0],e,t,n,i,{})},select:function(e,t){this.unselect(t),this.renderSelection(e),this.reportSelection(e,t)},renderSelection:function(e){},reportSelection:function(e,t){this.isSelected=!0,this.trigger("select",null,e.start,e.end,t)},unselect:function(e){this.isSelected&&(this.isSelected=!1,this.destroySelection(),this.trigger("unselect",null,e))},destroySelection:function(){},documentMousedown:function(e){var t;this.isSelected&&this.opt("unselectAuto")&&b(e)&&((t=this.opt("unselectCancel"))&&M(e.target).closest(t).length||this.unselect(e))},initHiddenDays:function(){var e,t=this.opt("hiddenDays")||[],n=[],r=0;for(!1===this.opt("weekends")&&t.push(0,6),e=0;e<7;e++)(n[e]=-1!==M.inArray(e,t))||r++;if(!r)throw"invalid hiddenDays";this.isHiddenDayHash=n},isHiddenDay:function(e){return $.isMoment(e)&&(e=e.day()),this.isHiddenDayHash[e]},skipHiddenDays:function(e,t,n){var r=e.clone();for(t=t||1;this.isHiddenDayHash[(r.day()+(n?t:0)+7)%7];)r.add(t,"days");return r},computeDayRange:function(e){var t,n=e.start.clone().stripTime(),r=e.end,i=null;return r&&(i=r.clone().stripTime(),(t=+r.time())&&t>=this.nextDayThreshold&&i.add(1,"days")),(!r||i<=n)&&(i=n.clone().add(1,"days")),{start:n,end:i}},isMultiDayEvent:function(e){var t=this.computeDayRange(e);return 1<t.end.diff(t.start,"days")}}),$e=O.Calendar=O.CalendarBase=ue.extend({dirDefaults:null,langDefaults:null,overrides:null,options:null,viewSpecCache:null,view:null,header:null,constructor:function(e,t){var r=this;r.initOptions(t||{});var n=this.options;r.render=function(){l?y()&&(A(),w()):function(){n.theme?"ui":"fc",e.addClass("fc"),n.isRTL?e.addClass("fc-rtl"):e.addClass("fc-ltr");n.theme?e.addClass("ui-widget"):e.addClass("fc-unthemed");l=M("<div class='fc-view-container'/>").prependTo(e),s=r.header=new je(r,n),(c=s.render())&&e.prepend(c);w(n.defaultView),n.handleWindowResize&&(d=H(T,n.windowResizeDelay),M(window).resize(d))}()},r.destroy=function(){u&&u.removeElement();s.destroy(),l.remove(),e.removeClass("fc fc-ltr fc-rtl fc-unthemed ui-widget"),d&&M(window).unbind("resize",d)},r.refetchEvents=function(){E(),u.clearEvents(),D(),k()},r.reportEvents=function(e){v=e,x()},r.reportEventChange=function(){x()},r.rerenderEvents=x,r.changeView=w,r.select=function(e,t){e=r.moment(e),t=t?r.moment(t):e.hasTime()?e.clone().add(r.defaultTimedEventDuration):e.clone().add(r.defaultAllDayEventDuration);u.select({start:e,end:t})},r.unselect=function(){u&&u.unselect()},r.prev=function(){h=u.computePrevDate(h),w()},r.next=function(){h=u.computeNextDate(h),w()},r.prevYear=function(){h.add(-1,"years"),w()},r.nextYear=function(){h.add(1,"years"),w()},r.today=function(){h=r.getNow(),w()},r.gotoDate=function(e){h=r.moment(e),w()},r.incrementDate=function(e){h.add($.duration(e)),w()},r.zoomTo=function(e,t){var n;t=t||"day",n=r.getViewSpec(t)||r.getUnitViewSpec(t),h=e,w(n?n.type:null)},r.getDate=function(){return h.clone()},r.getCalendar=function(){return r},r.getView=function(){return u},r.option=function(e,t){if(void 0===t)return n[e];"height"!=e&&"contentHeight"!=e&&"aspectRatio"!=e||(n[e]=t,C(!0))},r.trigger=function(e,t){if(n[e])return n[e].apply(t||g,Array.prototype.slice.call(arguments,2))};var i=I(Ge(n.lang));n.monthNames&&(i._months=n.monthNames);n.monthNamesShort&&(i._monthsShort=n.monthNamesShort);n.dayNames&&(i._weekdays=n.dayNames);n.dayNamesShort&&(i._weekdaysShort=n.dayNamesShort);if(null!=n.firstDay){var a=I(i._week);a.dow=n.firstDay,i._week=a}i._fullCalendar_weekCalc=(o=n.weekNumberCalculation,"function"==typeof o?o:"local"===o?o:"iso"===o||"ISO"===o?"ISO":void 0),r.defaultAllDayEventDuration=$.duration(n.defaultAllDayEventDuration),r.defaultTimedEventDuration=$.duration(n.defaultTimedEventDuration),r.moment=function(){var e;return"local"===n.timezone?(e=O.moment.apply(null,arguments)).hasTime()&&e.local():e="UTC"===n.timezone?O.moment.utc.apply(null,arguments):O.moment.parseZone.apply(null,arguments),"_locale"in e?e._locale=i:e._lang=i,e},r.getIsAmbigTimezone=function(){return"local"!==n.timezone&&"UTC"!==n.timezone},r.rezoneDate=function(e){return r.moment(e.toArray())},r.getNow=function(){var e=n.now;return"function"==typeof e&&(e=e()),r.moment(e)},r.getEventEnd=function(e){return e.end?e.end.clone():r.getDefaultEventEnd(e.allDay,e.start)},r.getDefaultEventEnd=function(e,t){var n=t.clone();return e?n.stripTime().add(r.defaultAllDayEventDuration):n.add(r.defaultTimedEventDuration),r.getIsAmbigTimezone()&&n.stripZone(),n},r.humanizeDuration=function(e){return(e.locale||e.lang).call(e,n.lang).humanize()},function(g){var v=this;v.isFetchNeeded=function(e,t){return!_||e.clone().stripZone()<_.clone().stripZone()||t.clone().stripZone()>b.clone().stripZone()},v.fetchEvents=function(e,t){_=e,b=t,u=[];var n=++c,r=a.length;l=r;for(var i=0;i<r;i++)f(a[i],n)},v.addEventSource=function(e){var t=r(e);t&&(a.push(t),l++,f(t,c))},v.removeEventSource=function(t){a=M.grep(a,function(e){return!i(e,t)}),u=M.grep(u,function(e){return!i(e.source,t)}),s(u)},v.updateEvent=function(e){e.start=v.moment(e.start),e.end?e.end=v.moment(e.end):e.end=null;k(e,(t=e,r={},M.each(t,function(e,t){var n;h(e)&&void 0!==t&&(n=t,/undefined|null|boolean|number|string/.test(M.type(n)))&&(r[e]=t)}),r)),s(u);var t,r},v.renderEvent=function(e,t){var n,r,i,a=A(e);if(a){for(n=x(a),r=0;r<n.length;r++)(i=n[r]).source||(t&&(o.events.push(i),i.source=o),u.push(i));return s(u),n}return[]},v.removeEvents=function(e){var t,n;null==e?e=function(){return!0}:M.isFunction(e)||(t=e+"",e=function(e){return e._id==t});for(u=M.grep(u,e,!0),n=0;n<a.length;n++)M.isArray(a[n].events)&&(a[n].events=M.grep(a[n].events,e,!0));s(u)},v.clientEvents=y,v.mutateEvent=k,v.normalizeEventRange=m,v.normalizeEventRangeTimes=S,v.ensureVisibleEventRange=T;var _,b,e=v.trigger,t=v.getView,s=v.reportEvents,o={events:[]},a=[o],c=0,l=0,n=0,u=[];function f(a,o){!function e(t,n){var r;var i=O.sourceFetchers;var a;for(r=0;r<i.length;r++){if(!0===(a=i[r].call(v,t,_.clone(),b.clone(),g.timezone,n)))return;if("object"==typeof a)return void e(a,n)}var o=t.events;if(o)M.isFunction(o)?(w(),o.call(v,_.clone(),b.clone(),g.timezone,function(e){n(e),C()})):M.isArray(o)?n(o):n();else{var s=t.url;if(s){var c,l=t.success,u=t.error,f=t.complete;c=M.isFunction(t.data)?t.data():t.data;var d=M.extend({},c||{}),h=G(t.startParam,g.startParam),p=G(t.endParam,g.endParam),m=G(t.timezoneParam,g.timezoneParam);h&&(d[h]=_.format()),p&&(d[p]=b.format()),g.timezone&&"local"!=g.timezone&&(d[m]=g.timezone),w(),M.ajax(M.extend({},Be,t,{data:d,success:function(e){e=e||[];var t=F(l,this,arguments);M.isArray(t)&&(e=t),n(e)},error:function(){F(u,this,arguments),n()},complete:function(){F(f,this,arguments),C()}}))}else n()}}(a,function(e){var t,n,r,i=M.isArray(a.events);if(o==c){if(e)for(t=0;t<e.length;t++)n=e[t],(r=i?n:A(n,a))&&u.push.apply(u,x(r));--l||s(u)}})}function r(e){var t,n,r=O.sourceNormalizers;if(M.isFunction(e)||M.isArray(e)?t={events:e}:"string"==typeof e?t={url:e}:"object"==typeof e&&(t=M.extend({},e)),t){for(t.className?"string"==typeof t.className&&(t.className=t.className.split(/\s+/)):t.className=[],M.isArray(t.events)&&(t.origArray=t.events,t.events=M.map(t.events,function(e){return A(e,t)})),n=0;n<r.length;n++)r[n].call(v,t);return t}}function i(e,t){return e&&t&&d(e)==d(t)}function d(e){return("object"==typeof e?e.origArray||e.googleCalendarId||e.url||e.events:null)||e}function h(e){return!/^_|^(id|allDay|start|end)$/.test(e)}function y(t){return M.isFunction(t)?M.grep(u,t):null!=t?(t+="",M.grep(u,function(e){return e._id==t})):u}function w(){n++||e("loading",null,!0,t())}function C(){--n||e("loading",null,!1,t())}function A(e,t){var n,r,i,a={};if(g.eventDataTransform&&(e=g.eventDataTransform(e)),t&&t.eventDataTransform&&(e=t.eventDataTransform(e)),M.extend(a,e),t&&(a.source=t),a._id=e._id||(void 0===e.id?"_fc"+Ue++:e.id+""),e.className?"string"==typeof e.className?a.className=e.className.split(/\s+/):a.className=e.className:a.className=[],n=e.start||e.date,r=e.end,L(n)&&(n=$.duration(n)),L(r)&&(r=$.duration(r)),e.dow||$.isDuration(n)||$.isDuration(r))a.start=n?$.duration(n):null,a.end=r?$.duration(r):null,a._recurring=!0;else{if(n&&!(n=v.moment(n)).isValid())return!1;r&&((r=v.moment(r)).isValid()||(r=null)),void 0===(i=e.allDay)&&(i=G(t?t.allDayDefault:void 0,g.allDayDefault)),p(n,r,i,a)}return a}function p(e,t,n,r){r.start=e,r.end=t,r.allDay=n,m(r),He(r)}function m(e){S(e),e.end&&!e.end.isAfter(e.start)&&(e.end=null),e.end||(g.forceEventDuration?e.end=v.getDefaultEventEnd(e.allDay,e.start):e.end=null)}function S(e){null==e.allDay&&(e.allDay=!(e.start.hasTime()||e.end&&e.end.hasTime())),e.allDay?(e.start.stripTime(),e.end&&e.end.stripTime()):(e.start.hasTime()||(e.start=v.rezoneDate(e.start)),e.end&&!e.end.hasTime()&&(e.end=v.rezoneDate(e.end)))}function T(e){var t;return e.end||(null==(t=e.allDay)&&(t=!e.start.hasTime()),(e=M.extend({},e)).end=v.getDefaultEventEnd(t,e.start)),e}function x(e,t,n){var r,i,a,o,s,c,l,u,f,d=[];if(t=t||_,n=n||b,e)if(e._recurring){if(i=e.dow)for(r={},a=0;a<i.length;a++)r[i[a]]=!0;for(o=t.clone().stripTime();o.isBefore(n);)r&&!r[o.day()]||(s=e.start,c=e.end,l=o.clone(),u=null,s&&(l=l.time(s)),c&&(u=o.clone().time(c)),f=M.extend({},e),p(l,u,!s&&!c,f),d.push(f)),o.add(1,"days")}else d.push(e);return d}function k(e,i,a){var t,n,r,o,s,c={};function l(e,t){return a?N(e,t,a):i.allDay?(n=e,r=t,$.duration({days:n.clone().stripTime().diff(r.clone().stripTime(),"days")})):R(e,t);var n,r}return(i=i||{}).start||(i.start=e.start.clone()),void 0===i.end&&(i.end=e.end?e.end.clone():null),null==i.allDay&&(i.allDay=e.allDay),m(i),m(t={start:e._start.clone(),end:e._end?e._end.clone():v.getDefaultEventEnd(e._allDay,e._start),allDay:i.allDay}),n=null!==e._end&&null===i.end,r=l(i.start,t.start),o=i.end?l(i.end,t.end).subtract(r):null,M.each(i,function(e,t){h(e)&&void 0!==t&&(c[e]=t)}),s=function(e,i,a,o,s,c){var l=v.getIsAmbigTimezone(),u=[];o&&!o.valueOf()&&(o=null);s&&!s.valueOf()&&(s=null);return M.each(e,function(e,t){var n,r;n={start:t.start.clone(),end:t.end?t.end.clone():null,allDay:t.allDay},M.each(c,function(e){n[e]=t[e]}),m(r={start:t._start,end:t._end,allDay:a}),i?r.end=null:s&&!r.end&&(r.end=v.getDefaultEventEnd(r.allDay,r.start)),o&&(r.start.add(o),r.end&&r.end.add(o)),s&&r.end.add(s),l&&!r.allDay&&(o||s)&&(r.start.stripZone(),r.end&&r.end.stripZone()),M.extend(t,c,r),He(t),u.push(function(){M.extend(t,n),He(t)})}),function(){for(var e=0;e<u.length;e++)u[e]()}}(y(e._id),n,i.allDay,r,o,c),{dateDelta:r,durationDelta:o,undo:s}}function E(e){var t,n=g.businessHours,r=v.getView();return n&&(t=M.extend({},{className:"fc-nonbusiness",start:"09:00",end:"17:00",dow:[1,2,3,4,5],rendering:"inverse-background"},"object"==typeof n?n:{})),t?(e&&(t.start=null,t.end=null),x(A(t),r.start,r.end)):[]}function D(e,t){var n=t.source||{},r=G(t.constraint,n.constraint,g.eventConstraint),i=G(t.overlap,n.overlap,g.eventOverlap);return P(e=T(e),r,i,t)}function I(e){return P(e,g.selectConstraint,g.selectOverlap)}function P(e,t,n,r){var i,a,o,s,c,l,u,f,d,h,p,m,g,_,b;if((e=M.extend({},e)).start=e.start.clone().stripZone(),e.end=e.end.clone().stripZone(),null!=t){for(i="businessHours"!==(p=t)?"object"!=typeof p?y(p):x(A(p)):E(),a=!1,s=0;s<i.length;s++)if(u=i[s],f=e,void 0,d=u.start.clone().stripZone(),h=v.getEventEnd(u).stripZone(),f.start>=d&&f.end<=h){a=!0;break}if(!a)return!1}for(o=v.getPeerEvents(r,e),s=0;s<o.length;s++)if(c=o[s],g=e,void 0,_=(m=c).start.clone().stripZone(),b=v.getEventEnd(m).stripZone(),g.start<b&&g.end>_){if(!1===n)return!1;if("function"==typeof n&&!n(c,r))return!1;if(r){if(!1===(l=G(c.overlap,(c.source||{}).overlap)))return!1;if("function"==typeof l&&!l(r,c))return!1}}return!0}M.each((g.events?[g.events]:[]).concat(g.eventSources||[]),function(e,t){var n=r(t);n&&a.push(n)}),v.getBusinessHoursEvents=E,v.isEventRangeAllowed=D,v.isSelectionRangeAllowed=I,v.isExternalDropRangeAllowed=function(e,t){var n,r;t&&(n=M.extend({},t,e),r=x(A(n))[0]);return r?D(e,r):I(e=T(e))},v.getEventCache=function(){return u}}.call(r,n);var o;var s,c,l,u,f,d,h,p=r.isFetchNeeded,m=r.fetchEvents,g=e[0],_={},b=0,v=[];h=null!=n.defaultDate?r.moment(n.defaultDate):r.getNow();function y(){return e.is(":visible")}function w(e){b++,u&&e&&u.type!==e&&(s.deactivateButton(u.type),E(),u.removeElement(),u=r.view=null),!u&&e&&((u=r.view=_[e]||(_[e]=r.instantiateView(e))).setElement(M("<div class='fc-view fc-"+e+"-view' />").appendTo(l)),s.activateButton(e)),u&&(h=u.massageCurrentDate(h),u.isDisplayed&&h.isWithin(u.intervalStart,u.intervalEnd)||y()&&(E(),u.display(h),D(),s.updateTitle(u.title),r.getNow().isWithin(u.intervalStart,u.intervalEnd)?s.disableButton("today"):s.enableButton("today"),!n.lazyFetching||p(u.start,u.end)?k():x())),D(),b--}function C(e){if(y())return e&&S(),b++,u.updateSize(!0),b--,!0}function A(){y()&&S()}function S(){f="number"==typeof n.contentHeight?n.contentHeight:"number"==typeof n.height?n.height-(c?c.outerHeight(!0):0):Math.round(l.width()/Math.max(n.aspectRatio,.5))}function T(e){!b&&e.target===window&&u.start&&C(!0)&&u.trigger("windowResize",g)}function x(){y()&&(E(),u.displayEvents(v),D())}function k(){m(u.start,u.end)}function E(){l.css({width:"100%",height:l.height(),overflow:"hidden"})}function D(){l.css({width:"",height:"",overflow:""})}r.getSuggestedViewHeight=function(){return void 0===f&&A(),f},r.isHeightAuto=function(){return"auto"===n.contentHeight||"auto"===n.height}},initOptions:function(e){var t,n,r,i,a,o;o={views:(i=e).views||{}},M.each(i,function(n,e){"views"!=n&&(M.isPlainObject(e)&&!/(time|duration|interval)$/i.test(n)&&-1==M.inArray(n,s)?(a=null,M.each(e,function(e,t){/^(month|week|day|default|basic(Week|Day)?|agenda(Week|Day)?)$/.test(e)?(o.views[e]||(o.views[e]={}),o.views[e][n]=t):(a||(a={}),a[e]=t)}),a&&(o[n]=a)):o[n]=e)}),t=(e=o).lang,(n=Oe[t])||(t=$e.defaults.lang,n=Oe[t]||{}),r=G(e.isRTL,n.isRTL,$e.defaults.isRTL)?$e.rtlDefaults:{},this.dirDefaults=r,this.langDefaults=n,this.overrides=e,this.options=d($e.defaults,r,n,e),Fe(this.options),this.viewSpecCache={}},getViewSpec:function(e){var t=this.viewSpecCache;return t[e]||(t[e]=this.buildViewSpec(e))},getUnitViewSpec:function(e){var t,n,r;if(-1!=M.inArray(e,w))for(t=this.header.getViewsWithButtons(),M.each(O.views,function(e){t.push(e)}),n=0;n<t.length;n++)if((r=this.getViewSpec(t[n]))&&r.singleUnit==e)return r},buildViewSpec:function(e){for(var t,n,r,i,a,o,s=this.overrides.views||{},c=[],l=[],u=e;u&&!t;)n=f[u]||{},r=s[u]||{},i=i||r.duration||n.duration,u=r.type||n.type,"function"==typeof n?(t=n,c.unshift(t.defaults||{})):c.unshift(n),l.unshift(r);if(t)return o={class:t,type:e},i&&((i=$.duration(i)).valueOf()||(i=null)),i&&(a=C(o.duration=i),1===i.as(a)&&(o.singleUnit=a,l.unshift(s[a]||{}))),o.defaults=d.apply(null,c),o.overrides=d.apply(null,l),this.buildViewSpecOptions(o),this.buildViewSpecButtonText(o,e),o},buildViewSpecOptions:function(e){e.options=d($e.defaults,e.defaults,this.dirDefaults,this.langDefaults,this.overrides,e.overrides),Fe(e.options)},buildViewSpecButtonText:function(n,r){function e(e){var t=e.buttonText||{};return t[r]||(n.singleUnit?t[n.singleUnit]:null)}n.buttonTextOverride=e(this.overrides)||n.overrides.buttonText,n.buttonTextDefault=e(this.langDefaults)||e(this.dirDefaults)||n.defaults.buttonText||e($e.defaults)||(n.duration?this.humanizeDuration(n.duration):null)||r},instantiateView:function(e){var t=this.getViewSpec(e);return new t.class(this,e,t.options,t.duration)},isValidViewType:function(e){return Boolean(this.getViewSpec(e))}});$e.defaults={titleRangeSeparator:" — ",monthYearFormat:"MMMM YYYY",defaultTimedEventDuration:"02:00:00",defaultAllDayEventDuration:{days:1},forceEventDuration:!1,nextDayThreshold:"09:00:00",defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberTitle:"W",weekNumberCalculation:"local",lazyFetching:!0,startParam:"start",endParam:"end",timezoneParam:"timezone",timezone:!1,isRTL:!1,buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day"},buttonIcons:{prev:"left-single-arrow",next:"right-single-arrow",prevYear:"left-double-arrow",nextYear:"right-double-arrow"},theme:!1,themeButtonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e",prevYear:"seek-prev",nextYear:"seek-next"},dragOpacity:.75,dragRevertDuration:500,dragScroll:!0,unselectAuto:!0,dropAccept:"*",eventLimit:!1,eventLimitText:"more",eventLimitClick:"popover",dayPopoverFormat:"LL",handleWindowResize:!0,windowResizeDelay:200},$e.englishDefaults={dayPopoverFormat:"dddd, MMMM D"},$e.rtlDefaults={header:{left:"next,prev today",center:"",right:"title"},buttonIcons:{prev:"right-single-arrow",next:"left-single-arrow",prevYear:"right-double-arrow",nextYear:"left-double-arrow"},themeButtonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w",nextYear:"seek-prev",prevYear:"seek-next"}};var Oe=O.langs={};O.datepickerLang=function(e,t,n){var r=Oe[e]||(Oe[e]={});r.isRTL=n.isRTL,r.weekNumberTitle=n.weekHeader,M.each(Re,function(e,t){r[e]=t(n)}),M.datepicker&&(M.datepicker.regional[t]=M.datepicker.regional[e]=n,M.datepicker.regional.en=M.datepicker.regional[""],M.datepicker.setDefaults(n))},O.lang=function(e,t){var n,r;n=Oe[e]||(Oe[e]={}),t&&(n=Oe[e]=d(n,t)),r=Ge(e),M.each(Ne,function(e,t){null==n[e]&&(n[e]=t(r,n))}),$e.defaults.lang=e};var Re={buttonText:function(e){return{prev:D(e.prevText),next:D(e.nextText),today:D(e.currentText)}},monthYearFormat:function(e){return e.showMonthAfterYear?"YYYY["+e.yearSuffix+"] MMMM":"MMMM YYYY["+e.yearSuffix+"]"}},Ne={dayOfMonthFormat:function(e,t){var n=e.longDateFormat("l");return n=n.replace(/^Y+[^\w\s]*|[^\w\s]*Y+$/g,""),t.isRTL?n+=" ddd":n="ddd "+n,n},mediumTimeFormat:function(e){return e.longDateFormat("LT").replace(/\s*a$/i,"a")},smallTimeFormat:function(e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"a")},extraSmallTimeFormat:function(e){return e.longDateFormat("LT").replace(":mm","(:mm)").replace(/(\Wmm)$/,"($1)").replace(/\s*a$/i,"t")},hourFormat:function(e){return e.longDateFormat("LT").replace(":mm","").replace(/(\Wmm)$/,"").replace(/\s*a$/i,"a")},noMeridiemTimeFormat:function(e){return e.longDateFormat("LT").replace(/\s*a$/i,"")}},Le={smallDayDateFormat:function(e){return e.isRTL?"D dd":"dd D"},weekFormat:function(e){return e.isRTL?"w[ "+e.weekNumberTitle+"]":"["+e.weekNumberTitle+" ]w"},smallWeekFormat:function(e){return e.isRTL?"w["+e.weekNumberTitle+"]":"["+e.weekNumberTitle+"]w"}};function Fe(n){M.each(Le,function(e,t){null==n[e]&&(n[e]=t(n))})}function Ge(e){var t=$.localeData||$.langData;return t.call($,e)||t.call($,"en")}function je(d,h){this.render=function(){var e=h.header;if(p=h.theme?"ui":"fc",e)return t=M("<div class='fc-toolbar'/>").append(n("left")).append(n("right")).append(n("center")).append('<div class="fc-clear"/>')},this.destroy=function(){t.remove()},this.updateTitle=function(e){t.find("h2").text(e)},this.activateButton=function(e){t.find(".fc-"+e+"-button").addClass(p+"-state-active")},this.deactivateButton=function(e){t.find(".fc-"+e+"-button").removeClass(p+"-state-active")},this.disableButton=function(e){t.find(".fc-"+e+"-button").attr("disabled","disabled").addClass(p+"-state-disabled")},this.enableButton=function(e){t.find(".fc-"+e+"-button").removeAttr("disabled").removeClass(p+"-state-disabled")},this.getViewsWithButtons=function(){return m};var p,t=M(),m=[];function n(e){var n=M('<div class="fc-'+e+'"/>'),t=h.header[e];return t&&M.each(t.split(" "),function(e){var t,u=M(),f=!0;M.each(this.split(","),function(e,t){var n,r,i,a,o,s,c,l;"title"==t?(u=u.add(M("<h2> </h2>")),f=!1):((n=d.getViewSpec(t))?(r=function(){d.changeView(t)},m.push(t),i=n.buttonTextOverride,a=n.buttonTextDefault):d[t]&&(r=function(){d[t]()},i=(d.overrides.buttonText||{})[t],a=h.buttonText[t]),r&&(o=h.themeButtonIcons[t],s=h.buttonIcons[t],c=i?E(i):o&&h.theme?"<span class='ui-icon ui-icon-"+o+"'></span>":s&&!h.theme?"<span class='fc-icon fc-icon-"+s+"'></span>":E(a),l=M('<button type="button" class="'+["fc-"+t+"-button",p+"-button",p+"-state-default"].join(" ")+'">'+c+"</button>").click(function(){l.hasClass(p+"-state-disabled")||(r(),(l.hasClass(p+"-state-active")||l.hasClass(p+"-state-disabled"))&&l.removeClass(p+"-state-hover"))}).mousedown(function(){l.not("."+p+"-state-active").not("."+p+"-state-disabled").addClass(p+"-state-down")}).mouseup(function(){l.removeClass(p+"-state-down")}).hover(function(){l.not("."+p+"-state-active").not("."+p+"-state-disabled").addClass(p+"-state-hover")},function(){l.removeClass(p+"-state-hover").removeClass(p+"-state-down")}),u=u.add(l)))}),f&&u.first().addClass(p+"-corner-left").end().last().addClass(p+"-corner-right").end(),1<u.length?(t=M("<div/>"),f&&t.addClass("fc-button-group"),t.append(u),n.append(t)):n.append(u)}),n}}O.lang("en",$e.englishDefaults),O.sourceNormalizers=[];var Be={dataType:"json",cache:!(O.sourceFetchers=[])},Ue=1;function He(e){e._allDay=e.allDay,e._start=e.start.clone(),e._end=e.end?e.end.clone():null}$e.prototype.getPeerEvents=function(e,t){var n,r,i=this.getEventCache(),a=[];for(n=0;n<i.length;n++)r=i[n],e&&e._id===r._id||a.push(r);return a};var We=f.basic=Me.extend({dayGrid:null,dayNumbersVisible:!1,weekNumbersVisible:!1,weekNumberWidth:null,headRowEl:null,initialize:function(){this.dayGrid=new Ae(this),this.coordMap=this.dayGrid.coordMap},setRange:function(e){Me.prototype.setRange.call(this,e),this.dayGrid.breakOnWeeks=/year|month|week/.test(this.intervalUnit),this.dayGrid.setRange(e)},computeRange:function(e){var t=Me.prototype.computeRange.call(this,e);return/year|month/.test(t.intervalUnit)&&(t.start.startOf("week"),t.start=this.skipHiddenDays(t.start),t.end.weekday()&&(t.end.add(1,"week").startOf("week"),t.end=this.skipHiddenDays(t.end,-1,!0))),t},render:function(){this.dayNumbersVisible=1<this.dayGrid.rowCnt,this.weekNumbersVisible=this.opt("weekNumbers"),this.dayGrid.numbersVisible=this.dayNumbersVisible||this.weekNumbersVisible,this.el.addClass("fc-basic-view").html(this.renderHtml()),this.headRowEl=this.el.find("thead .fc-row"),this.scrollerEl=this.el.find(".fc-day-grid-container"),this.dayGrid.coordMap.containerEl=this.scrollerEl,this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.renderDates(this.hasRigidRows())},destroy:function(){this.dayGrid.destroyDates(),this.dayGrid.removeElement()},renderBusinessHours:function(){this.dayGrid.renderBusinessHours()},renderHtml:function(){return'<table><thead class="fc-head"><tr><td class="'+this.widgetHeaderClass+'">'+this.dayGrid.headHtml()+'</td></tr></thead><tbody class="fc-body"><tr><td class="'+this.widgetContentClass+'"><div class="fc-day-grid-container"><div class="fc-day-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){if(this.weekNumbersVisible)return'<th class="fc-week-number '+this.widgetHeaderClass+'" '+this.weekNumberStyleAttr()+"><span>"+E(this.opt("weekNumberTitle"))+"</span></th>"},numberIntroHtml:function(e){if(this.weekNumbersVisible)return'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"><span>"+this.dayGrid.getCell(e,0).start.format("w")+"</span></td>"},dayIntroHtml:function(){if(this.weekNumbersVisible)return'<td class="fc-week-number '+this.widgetContentClass+'" '+this.weekNumberStyleAttr()+"></td>"},introHtml:function(){if(this.weekNumbersVisible)return'<td class="fc-week-number" '+this.weekNumberStyleAttr()+"></td>"},numberCellHtml:function(e){var t,n=e.start;return this.dayNumbersVisible?((t=this.dayGrid.getDayClasses(n)).unshift("fc-day-number"),'<td class="'+t.join(" ")+'" data-date="'+n.format()+'">'+n.date()+"</td>"):"<td/>"},weekNumberStyleAttr:function(){return null!==this.weekNumberWidth?'style="width:'+this.weekNumberWidth+'px"':""},hasRigidRows:function(){var e=this.opt("eventLimit");return e&&"number"!=typeof e},updateWidth:function(){this.weekNumbersVisible&&(this.weekNumberWidth=e(this.el.find(".fc-week-number")))},setHeight:function(e,t){var n,r=this.opt("eventLimit");c(this.scrollerEl),a(this.headRowEl),this.dayGrid.destroySegPopover(),r&&"number"==typeof r&&this.dayGrid.limitRows(r),n=this.computeScrollerHeight(e),this.setGridHeight(n,t),r&&"number"!=typeof r&&this.dayGrid.limitRows(r),!t&&o(this.scrollerEl,n)&&(i(this.headRowEl,l(this.scrollerEl)),n=this.computeScrollerHeight(e),this.scrollerEl.height(n))},setGridHeight:function(e,t){t?r(this.dayGrid.rowEls):n(this.dayGrid.rowEls,e,!0)},renderEvents:function(e){this.dayGrid.renderEvents(e),this.updateHeight()},getEventSegs:function(){return this.dayGrid.getEventSegs()},destroyEvents:function(){this.dayGrid.destroyEvents()},renderDrag:function(e,t){return this.dayGrid.renderDrag(e,t)},destroyDrag:function(){this.dayGrid.destroyDrag()},renderSelection:function(e){this.dayGrid.renderSelection(e)},destroySelection:function(){this.dayGrid.destroySelection()}}),qe=f.month=We.extend({computeRange:function(e){var t,n=We.prototype.computeRange.call(this,e);return this.isFixedWeeks()&&(t=Math.ceil(n.end.diff(n.start,"weeks",!0)),n.end.add(6-t,"weeks")),n},setGridHeight:function(e,t){(t=t||"variable"===this.opt("weekMode"))&&(e*=this.rowCnt/6),n(this.dayGrid.rowEls,e,!t)},isFixedWeeks:function(){var e=this.opt("weekMode");return e?"fixed"===e:this.opt("fixedWeekCount")}});qe.duration={months:1},qe.defaults={fixedWeekCount:!0},f.basicWeek={type:"basic",duration:{weeks:1}},f.basicDay={type:"basic",duration:{days:1}};return(f.agenda=Me.extend({timeGrid:null,dayGrid:null,axisWidth:null,noScrollRowEls:null,bottomRuleEl:null,bottomRuleHeight:null,initialize:function(){this.timeGrid=new xe(this),this.opt("allDaySlot")?(this.dayGrid=new Ae(this),this.coordMap=new he([this.dayGrid.coordMap,this.timeGrid.coordMap])):this.coordMap=this.timeGrid.coordMap},setRange:function(e){Me.prototype.setRange.call(this,e),this.timeGrid.setRange(e),this.dayGrid&&this.dayGrid.setRange(e)},render:function(){this.el.addClass("fc-agenda-view").html(this.renderHtml()),this.scrollerEl=this.el.find(".fc-time-grid-container"),this.timeGrid.coordMap.containerEl=this.scrollerEl,this.timeGrid.setElement(this.el.find(".fc-time-grid")),this.timeGrid.renderDates(),this.bottomRuleEl=M('<hr class="fc-divider '+this.widgetHeaderClass+'"/>').appendTo(this.timeGrid.el),this.dayGrid&&(this.dayGrid.setElement(this.el.find(".fc-day-grid")),this.dayGrid.renderDates(),this.dayGrid.bottomCoordPadding=this.dayGrid.el.next("hr").outerHeight()),this.noScrollRowEls=this.el.find(".fc-row:not(.fc-scroller *)")},destroy:function(){this.timeGrid.destroyDates(),this.timeGrid.removeElement(),this.dayGrid&&(this.dayGrid.destroyDates(),this.dayGrid.removeElement())},renderBusinessHours:function(){this.timeGrid.renderBusinessHours(),this.dayGrid&&this.dayGrid.renderBusinessHours()},renderHtml:function(){return'<table><thead class="fc-head"><tr><td class="'+this.widgetHeaderClass+'">'+this.timeGrid.headHtml()+'</td></tr></thead><tbody class="fc-body"><tr><td class="'+this.widgetContentClass+'">'+(this.dayGrid?'<div class="fc-day-grid"/><hr class="fc-divider '+this.widgetHeaderClass+'"/>':"")+'<div class="fc-time-grid-container"><div class="fc-time-grid"/></div></td></tr></tbody></table>'},headIntroHtml:function(){var e;return this.opt("weekNumbers")?(e=this.timeGrid.getCell(0).start.format(this.opt("smallWeekFormat")),'<th class="fc-axis fc-week-number '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"><span>"+E(e)+"</span></th>"):'<th class="fc-axis '+this.widgetHeaderClass+'" '+this.axisStyleAttr()+"></th>"},dayIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"><span>"+(this.opt("allDayHtml")||E(this.opt("allDayText")))+"</span></td>"},slotBgIntroHtml:function(){return'<td class="fc-axis '+this.widgetContentClass+'" '+this.axisStyleAttr()+"></td>"},introHtml:function(){return'<td class="fc-axis" '+this.axisStyleAttr()+"></td>"},axisStyleAttr:function(){return null!==this.axisWidth?'style="width:'+this.axisWidth+'px"':""},updateSize:function(e){this.timeGrid.updateSize(e),Me.prototype.updateSize.call(this,e)},updateWidth:function(){this.axisWidth=e(this.el.find(".fc-axis"))},setHeight:function(e,t){var n,r;null===this.bottomRuleHeight&&(this.bottomRuleHeight=this.bottomRuleEl.outerHeight()),this.bottomRuleEl.hide(),this.scrollerEl.css("overflow",""),c(this.scrollerEl),a(this.noScrollRowEls),this.dayGrid&&(this.dayGrid.destroySegPopover(),(n=this.opt("eventLimit"))&&"number"!=typeof n&&(n=5),n&&this.dayGrid.limitRows(n)),t||(r=this.computeScrollerHeight(e),o(this.scrollerEl,r)?(i(this.noScrollRowEls,l(this.scrollerEl)),r=this.computeScrollerHeight(e),this.scrollerEl.height(r)):(this.scrollerEl.height(r).css("overflow","hidden"),this.bottomRuleEl.show()))},computeInitialScroll:function(){var e=$.duration(this.opt("scrollTime")),t=this.timeGrid.computeTimeTop(e);return(t=Math.ceil(t))&&t++,t},renderEvents:function(e){var t,n=[],r=[];for(t=0;t<e.length;t++)e[t].allDay?n.push(e[t]):r.push(e[t]);this.timeGrid.renderEvents(r),this.dayGrid&&this.dayGrid.renderEvents(n),this.updateHeight()},getEventSegs:function(){return this.timeGrid.getEventSegs().concat(this.dayGrid?this.dayGrid.getEventSegs():[])},destroyEvents:function(){this.timeGrid.destroyEvents(),this.dayGrid&&this.dayGrid.destroyEvents()},renderDrag:function(e,t){return e.start.hasTime()?this.timeGrid.renderDrag(e,t):this.dayGrid?this.dayGrid.renderDrag(e,t):void 0},destroyDrag:function(){this.timeGrid.destroyDrag(),this.dayGrid&&this.dayGrid.destroyDrag()},renderSelection:function(e){e.start.hasTime()||e.end.hasTime()?this.timeGrid.renderSelection(e):this.dayGrid&&this.dayGrid.renderSelection(e)},destroySelection:function(){this.timeGrid.destroySelection(),this.dayGrid&&this.dayGrid.destroySelection()}})).defaults={allDaySlot:!0,allDayText:"all-day",scrollTime:"06:00:00",slotDuration:"00:30:00",minTime:"00:00:00",maxTime:"24:00:00",slotEventOverlap:!0},f.agendaWeek={type:"agenda",duration:{weeks:1}},f.agendaDay={type:"agenda",duration:{days:1}},O}),angular.module("ui.calendar",[]).constant("uiCalendarConfig",{calendars:{}}).controller("uiCalendarCtrl",["$scope","$locale",function(i,r){var s=i.eventSources,t=i.calendarWatchEvent?i.calendarWatchEvent:angular.noop,n=1;this.eventFingerprint=function(e){return e._id||(e._id=n++),""+e._id+(e.id||"")+(e.title||"")+(e.url||"")+(+e.start||"")+(+e.end||"")+(e.allDay||"")+(e.className||"")+t({event:e})||""};var a=1,o=1;this.sourceFingerprint=function(e){var t=""+(e.__id||(e.__id=a++)),n=angular.isObject(e)&&e.events;return n&&(t=t+"-"+(n.__id||(n.__id=o++))),t},this.allEvents=function(){for(var e=[],t=0,n=s.length;t<n;t++){var r=s[t];if(angular.isArray(r))e.push(r);else if(angular.isObject(r)&&angular.isArray(r.events)){var i={};for(var a in r)"_id"!==a&&"events"!==a&&(i[a]=r[a]);for(var o=0;o<r.events.length;o++)angular.extend(r.events[o],i);e.push(r.events)}}return Array.prototype.concat.apply([],e)},this.changeWatcher=function(o,f){var d,t=function(){for(var e,t,n=angular.isFunction(o)?o():o,r=[],i=0,a=n.length;i<a;i++)t=n[i],e=f(t),p[e]=t,r.push(e);return r},h=function(e,t){var n,r,i=[],a={};for(n=0,r=t.length;n<r;n++)a[t[n]]=!0;for(n=0,r=e.length;n<r;n++)a[e[n]]||i.push(e[n]);return i},p={};return d={subscribe:function(e,n){e.$watch(t,function(e,t){!(n&&!1===n(e,t))&&function(e,t){var n,r,i,a,o={},s=h(t,e);for(n=0,r=s.length;n<r;n++){var c=s[n];i=p[c],delete p[c];var l=f(i);l===c?d.onRemoved(i):(o[l]=c,d.onChanged(i))}var u=h(e,t);for(n=0,r=u.length;n<r;n++)a=u[n],i=p[a],o[a]||d.onAdded(i)}(e,t)},!0)},onAdded:angular.noop,onChanged:angular.noop,onRemoved:angular.noop}},this.getFullCalendarConfig=function(e,t){var r={};return angular.extend(r,t),angular.extend(r,e),angular.forEach(r,function(e,t){var n;"function"==typeof e&&(r[t]=(n=r[t],function(){if(i.$root.$$phase)return n.apply(this,arguments);var e=arguments,t=this;return i.$root.$apply(function(){return n.apply(t,e)})}))}),r},this.getLocaleConfig=function(e){if(e.lang&&!e.useNgLocale)return{};var t=function(e){var t,n;for(n in t=[],e)t[n]=e[n];return t},n=r.DATETIME_FORMATS;return{monthNames:t(n.MONTH),monthNamesShort:t(n.SHORTMONTH),dayNames:t(n.DAY),dayNamesShort:t(n.SHORTDAY)}}}]).directive("uiCalendar",["uiCalendarConfig",function(u){return{restrict:"A",scope:{eventSources:"=ngModel",calendarWatchEvent:"&"},controller:"uiCalendarCtrl",link:function(a,e,o,s){var i,c=a.eventSources,t=!1,n=s.changeWatcher(c,s.sourceFingerprint),r=s.changeWatcher(s.allEvents,s.eventFingerprint),l=null;a.destroy=function(){i&&i.fullCalendar&&i.fullCalendar("destroy"),i=o.calendar?u.calendars[o.calendar]=$(e).html(""):$(e).html("")},a.init=function(){i.fullCalendar(l),o.calendar&&(u.calendars[o.calendar]=i)},n.onAdded=function(e){i.fullCalendar("addEventSource",e),t=!0},n.onRemoved=function(e){i.fullCalendar("removeEventSource",e),t=!0},n.onChanged=function(e){i.fullCalendar("refetchEvents"),t=!0},r.onAdded=function(e){i.fullCalendar("renderEvent",e,!!e.stick)},r.onRemoved=function(e){i.fullCalendar("removeEvents",e._id)},r.onChanged=function(e){for(var t=i.fullCalendar("clientEvents",e._id),n=0;n<t.length;n++){var r=t[n];r=angular.extend(r,e),i.fullCalendar("updateEvent",r)}},n.subscribe(a),r.subscribe(a,function(){if(!0===t)return t=!1}),a.$watch(function(){var e,t=o.uiCalendar?a.$parent.$eval(o.uiCalendar):{};e=s.getFullCalendarConfig(t,u);var n=s.getLocaleConfig(e);angular.extend(n,e),l={eventSources:c},angular.extend(l,n),l.calendars=null;var r={};for(var i in l)"eventSources"!==i&&(r[i]=l[i]);return JSON.stringify(r)},function(e,t){a.destroy(),a.init()})}}}]),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("angular")):"function"==typeof define&&define.amd?define(["exports","angular"],t):t((e=e||self)["@uirouter/angularjs"]={},e.angular)}(this,function(m,e){"use strict";kr.$inject=["state"];var t=angular,A=e&&e.module?e:t,r=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r};function l(n){return function e(){if(arguments.length>=n.length)return n.apply(this,arguments);var t=Array.prototype.slice.call(arguments);return e.bind.apply(e,r([this],t))}}function n(){var n=arguments,r=n.length-1;return function(){for(var e=r,t=n[r].apply(this,arguments);e--;)t=n[e].call(this,t);return t}}function c(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.apply(null,[].slice.call(arguments).reverse())}var v=function(t){return function(e){return e&&e[t]}},_=l(function(e,t,n){return n&&n[e]===t}),S=function(e){return c.apply(null,e.split(".").map(v))},f=function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return!n.apply(null,e)}};function i(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.apply(null,e)&&r.apply(null,e)}}function a(n,r){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return n.apply(null,e)||r.apply(null,e)}}var u=function(n){return function(e){return e.reduce(function(e,t){return e&&!!n(t)},!0)}},d=function(n){return function(e){return e.reduce(function(e,t){return e||!!n(t)},!1)}},h=function(t){return function(e){return null!=e&&e.constructor===t||e instanceof t}},o=function(t){return function(e){return t===e}},p=function(e){return function(){return e}};function s(t,n){return function(e){return e[t].apply(e,n)}}function g(n){return function(e){for(var t=0;t<n.length;t++)if(n[t][0](e))return n[t][1](e)}}var b=Object.prototype.toString,y=function(t){return function(e){return typeof e===t}},w=y("undefined"),T=f(w),C=function(e){return null===e},x=a(C,w),k=y("function"),E=y("number"),D=y("string"),I=function(e){return null!==e&&"object"==typeof e},P=Array.isArray,M=function(e){return"[object Date]"===b.call(e)},$=function(e){return"[object RegExp]"===b.call(e)};function O(e){if(P(e)&&e.length){var t=e.slice(0,-1),n=e.slice(-1);return!(t.filter(f(D)).length||n.filter(f(k)).length)}return k(e)}var R=i(I,c(v("then"),k)),N=function(r,e){return e.reduce(function(e,t){return e[t]=(n=r+"."+t+"()",function(){throw new Error("No implementation for "+n+". The framework specific code did not implement this method.")}),e;var n},{})},L={$q:void 0,$injector:void 0},F=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)r[i]=a[o];return r},G="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||void 0,j=G.angular||{},B=j.fromJson||JSON.parse.bind(JSON),U=j.toJson||JSON.stringify.bind(JSON),H=j.forEach||function(t,n,e){if(P(t))return t.forEach(n,e);Object.keys(t).forEach(function(e){return n(t[e],e)})},W=Object.assign||Ie,q=j.equals||Pe;function z(e){return e}function V(){}function Y(t,r,n,e,i){void 0===i&&(i=!1);var a=function(e){return t()[e].bind(n())};return(e=e||Object.keys(t())).reduce(function(e,t){var n;return e[t]=i?(n=t,function(){return r[n]=a(n),r[n].apply(null,arguments)}):a(t),e},r)}var K=function(e,t){return W(Object.create(e),t)},Q=l(X);function X(e,t){return-1!==e.indexOf(t)}var Z=l(J);function J(e,t){var n=e.indexOf(t);return 0<=n&&e.splice(n,1),e}var ee=l(te);function te(e,t){return e.push(t),t}var ne=function(t){return t.slice().forEach(function(e){"function"==typeof e&&e(),Z(t,e)})};function re(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=W.apply(void 0,F([{}],t.reverse()));return W(r,oe(e||{},Object.keys(r)))}var ie=function(e,t){return W(e,t)};function ae(e,t){var n=[];for(var r in e.path){if(e.path[r]!==t.path[r])break;n.push(e.path[r])}return n}function oe(e,t){var n={};for(var r in e)-1!==t.indexOf(r)&&(n[r]=e[r]);return n}function se(n,e){return Object.keys(n).filter(f(Q(e))).reduce(function(e,t){return e[t]=n[t],e},{})}function ce(e,t){return de(e,v(t))}function le(e,n){var t=P(e),r=t?[]:{},i=t?function(e){return r.push(e)}:function(e,t){return r[t]=e};return H(e,function(e,t){n(e,t)&&i(e,t)}),r}function ue(e,n){var r;return H(e,function(e,t){r||n(e,t)&&(r=e)}),r}var fe=de;function de(e,n,r){return r=r||(P(e)?[]:{}),H(e,function(e,t){return r[t]=n(e,t)}),r}var he=function(t){return Object.keys(t).map(function(e){return t[e]})},pe=function(e,t){return e&&t},me=function(e,t){return e||t},ge=function(e,t){return e.concat(t)},_e=function(e,t){return P(t)?e.concat(t.reduce(_e,[])):be(e,t)};function be(e,t){return e.push(t),e}var ve=function(e,t){return Q(e,t)?e:be(e,t)},ye=function(e){return e.reduce(ge,[])},we=function(e){return e.reduce(_e,[])},Ce=Se,Ae=Se;function Se(n,r){return void 0===r&&(r="assert failure"),function(e){var t=n(e);if(!t)throw new Error(k(r)?r(e):r);return t}}var Te=function(t){return Object.keys(t).map(function(e){return[e,t[e]]})};function xe(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(0===e.length)return[];for(var n=e.reduce(function(e,t){return Math.min(t.length,e)},9007199254740991),r=[],i=function(t){switch(e.length){case 1:r.push([e[0][t]]);break;case 2:r.push([e[0][t],e[1][t]]);break;case 3:r.push([e[0][t],e[1][t],e[2][t]]);break;case 4:r.push([e[0][t],e[1][t],e[2][t],e[3][t]]);break;default:r.push(e.map(function(e){return e[t]}))}},a=0;a<n;a++)i(a);return r}function ke(e,t){var n,r;if(P(t)&&(n=t[0],r=t[1]),!D(n))throw new Error("invalid parameters to applyPairs");return e[n]=r,e}function Ee(e){return e.length&&e[e.length-1]||void 0}function De(e,t){return t&&Object.keys(t).forEach(function(e){return delete t[e]}),t||(t={}),W(t,e)}function Ie(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n)for(var r=Object.keys(n),i=0;i<r.length;i++)e[r[i]]=n[r[i]]}return e}function Pe(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n=typeof e;if(n!==typeof t||"object"!==n)return!1;var r,i,a=[e,t];if(u(P)(a))return i=t,(r=e).length===i.length&&xe(r,i).reduce(function(e,t){return e&&Pe(t[0],t[1])},!0);if(u(M)(a))return e.getTime()===t.getTime();if(u($)(a))return e.toString()===t.toString();if(u(k)(a))return!0;if([k,P,M,$].map(d).reduce(function(e,t){return e||!!t(a)},!1))return!1;var o={};for(var s in e){if(!Pe(e[s],t[s]))return!1;o[s]=!0}for(var s in t)if(!o[s])return!1;return!0}var Me,$e=function(e){return e.catch(function(e){return 0})&&e},Oe=function(e){return $e(L.$q.reject(e))},Re=function(){function t(e){this.text=e,this.glob=e.split(".");var t=this.text.split(".").map(function(e){return"**"===e?"(?:|(?:\\.[^.]*)*)":"*"===e?"\\.[^.]*":"\\."+e}).join("");this.regexp=new RegExp("^"+t+"$")}return t.is=function(e){return!!/[!,*]+/.exec(e)},t.fromString=function(e){return t.is(e)?new t(e):null},t.prototype.matches=function(e){return this.regexp.test("."+e)},t}(),Ne=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=null),this._items=e,this._limit=t,this._evictListeners=[],this.onEvict=ee(this._evictListeners)}return e.prototype.enqueue=function(e){var t=this._items;return t.push(e),this._limit&&t.length>this._limit&&this.evict(),e},e.prototype.evict=function(){var t=this._items.shift();return this._evictListeners.forEach(function(e){return e(t)}),t},e.prototype.dequeue=function(){if(this.size())return this._items.splice(0,1)[0]},e.prototype.clear=function(){var e=this._items;return this._items=[],e},e.prototype.size=function(){return this._items.length},e.prototype.remove=function(e){var t=this._items.indexOf(e);return-1<t&&this._items.splice(t,1)[0]},e.prototype.peekTail=function(){return this._items[this._items.length-1]},e.prototype.peekHead=function(){if(this.size())return this._items[0]},e}();(Me=m.RejectType||(m.RejectType={}))[Me.SUPERSEDED=2]="SUPERSEDED",Me[Me.ABORTED=3]="ABORTED",Me[Me.INVALID=4]="INVALID",Me[Me.IGNORED=5]="IGNORED",Me[Me.ERROR=6]="ERROR";var Le=0,Fe=function(){function r(e,t,n){this.$id=Le++,this.type=e,this.message=t,this.detail=n}return r.isRejectionPromise=function(e){return e&&"function"==typeof e.then&&h(r)(e._transitionRejection)},r.superseded=function(e,t){var n=new r(m.RejectType.SUPERSEDED,"The transition has been superseded by a different transition",e);return t&&t.redirected&&(n.redirected=!0),n},r.redirected=function(e){return r.superseded(e,{redirected:!0})},r.invalid=function(e){return new r(m.RejectType.INVALID,"This transition is invalid",e)},r.ignored=function(e){return new r(m.RejectType.IGNORED,"The transition was ignored",e)},r.aborted=function(e){return new r(m.RejectType.ABORTED,"The transition has been aborted",e)},r.errored=function(e){return new r(m.RejectType.ERROR,"The transition errored",e)},r.normalize=function(e){return h(r)(e)?e:r.errored(e)},r.prototype.toString=function(){var e,t=(e=this.detail)&&e.toString!==Object.prototype.toString?e.toString():ze(e);return"Transition Rejection($id: "+this.$id+" type: "+this.type+", message: "+this.message+", detail: "+t+")"},r.prototype.toPromise=function(){return W(Oe(this),{_transitionRejection:this})},r}();function Ge(e,t){return t.length<=e?t:t.substr(0,e-3)+"..."}function je(e,t){for(;t.length<e;)t+=" ";return t}function Be(e){return e.replace(/^([A-Z])/,function(e){return e.toLowerCase()}).replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}function Ue(e){var t=He(e),n=t.match(/^(function [^ ]+\([^)]*\))/),r=n?n[1]:t,i=e.name||"";return i&&r.match(/function \(/)?"function "+i+r.substr(9):r}function He(e){var t=P(e)?e.slice(-1)[0]:e;return t&&t.toString()||"undefined"}var We=Fe.isRejectionPromise,qe=g([[w,p("undefined")],[C,p("null")],[R,p("[Promise]")],[We,function(e){return e._transitionRejection.toString()}],[function(e){return I(e)&&!P(e)&&e.constructor!==Object&&k(e.toString)},function(e){return e.toString()}],[O,Ue],[p(!0),z]]);function ze(e){var t=[];function n(e){if(I(e)){if(-1!==t.indexOf(e))return"[circular ref]";t.push(e)}return qe(e)}return w(e)?n(e):JSON.stringify(e,function(e,t){return n(t)}).replace(/\\"/g,'"')}var Ve=function(n){return function(e){if(!e)return["",""];var t=e.indexOf(n);return-1===t?[e,""]:[e.substr(0,t),e.substr(t+1)]}},Ye=new RegExp("^(?:[a-z]+:)?//[^/]+/"),Ke=function(e){return e.replace(/\/[^/]*$/,"")},Qe=Ve("#"),Xe=Ve("?"),Ze=Ve("="),Je=function(e){return e?e.replace(/^#/,""):""};function et(e){var t=new RegExp("("+e+")","g");return function(e){return e.split(t).filter(z)}}function tt(e,t){return D(Ee(e))&&D(t)?e.slice(0,-1).concat(Ee(e)+t):be(e,t)}var nt={log:V,error:V,table:V};var rt,it,at,ot,st="undefined"!=typeof document&&document.documentMode&&9===document.documentMode?window&&window.console?(at=window.console,{log:(ot=function(e){return Function.prototype.bind.call(e,at)})(at.log),error:ot(at.log),table:ot(at.log)}):nt:console.table&&console.error?console:(rt=console,{log:it=rt.log.bind(rt),error:rt.error?rt.error.bind(rt):it,table:rt.table?rt.table.bind(rt):it});function ct(e){if(!e)return"ui-view (defunct)";var t=e.creationContext?e.creationContext.name||"(root)":"(none)";return"[ui-view#"+e.id+" "+e.$type+":"+e.fqn+" ("+e.name+"@"+t+")]"}var lt;function ut(e){return E(e)?m.Category[e]:m.Category[m.Category[e]]}(lt=m.Category||(m.Category={}))[lt.RESOLVE=0]="RESOLVE",lt[lt.TRANSITION=1]="TRANSITION",lt[lt.HOOK=2]="HOOK",lt[lt.UIVIEW=3]="UIVIEW",lt[lt.VIEWCONFIG=4]="VIEWCONFIG";var ft=S("$id"),dt=S("router.$id"),ht=function(e){return"Transition #"+ft(e)+"-"+dt(e)},pt=function(){function e(){this._enabled={},this.approximateDigests=0}return e.prototype._set=function(t,e){var n=this;e.length||(e=Object.keys(m.Category).map(function(e){return parseInt(e,10)}).filter(function(e){return!isNaN(e)}).map(function(e){return m.Category[e]})),e.map(ut).forEach(function(e){return n._enabled[e]=t})},e.prototype.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!0,e)},e.prototype.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this._set(!1,e)},e.prototype.enabled=function(e){return!!this._enabled[ut(e)]},e.prototype.traceTransitionStart=function(e){this.enabled(m.Category.TRANSITION)&&st.log(ht(e)+": Started -> "+ze(e))},e.prototype.traceTransitionIgnored=function(e){this.enabled(m.Category.TRANSITION)&&st.log(ht(e)+": Ignored <> "+ze(e))},e.prototype.traceHookInvocation=function(e,t,n){if(this.enabled(m.Category.HOOK)){var r=S("traceData.hookType")(n)||"internal",i=S("traceData.context.state.name")(n)||S("traceData.context")(n)||"unknown",a=Ue(e.registeredHook.callback);st.log(ht(t)+": Hook -> "+r+" context: "+i+", "+Ge(200,a))}},e.prototype.traceHookResult=function(e,t,n){this.enabled(m.Category.HOOK)&&st.log(ht(t)+": <- Hook returned: "+Ge(200,ze(e)))},e.prototype.traceResolvePath=function(e,t,n){this.enabled(m.Category.RESOLVE)&&st.log(ht(n)+": Resolving "+e+" ("+t+")")},e.prototype.traceResolvableResolved=function(e,t){this.enabled(m.Category.RESOLVE)&&st.log(ht(t)+": <- Resolved "+e+" to: "+Ge(200,ze(e.data)))},e.prototype.traceError=function(e,t){this.enabled(m.Category.TRANSITION)&&st.log(ht(t)+": <- Rejected "+ze(t)+", reason: "+e)},e.prototype.traceSuccess=function(e,t){this.enabled(m.Category.TRANSITION)&&st.log(ht(t)+": <- Success "+ze(t)+", final state: "+e.name)},e.prototype.traceUIViewEvent=function(e,t,n){void 0===n&&(n=""),this.enabled(m.Category.UIVIEW)&&st.log("ui-view: "+je(30,e)+" "+ct(t)+n)},e.prototype.traceUIViewConfigUpdated=function(e,t){this.enabled(m.Category.UIVIEW)&&this.traceUIViewEvent("Updating",e," with ViewConfig from context='"+t+"'")},e.prototype.traceUIViewFill=function(e,t){this.enabled(m.Category.UIVIEW)&&this.traceUIViewEvent("Fill",e," with: "+Ge(200,t))},e.prototype.traceViewSync=function(e){if(this.enabled(m.Category.VIEWCONFIG)){var o="uiview component fqn",t=e.map(function(e){var t,n=e.uiView,r=e.viewConfig,i=n&&n.fqn,a=r&&r.viewDecl.$context.name+": ("+r.viewDecl.$name+")";return(t={})[o]=i,t["view config state (view name)"]=a,t}).sort(function(e,t){return(e[o]||"").localeCompare(t[o]||"")});st.table(t)}},e.prototype.traceViewServiceEvent=function(e,t){var n,r,i;this.enabled(m.Category.VIEWCONFIG)&&st.log("VIEWCONFIG: "+e+" "+(r=(n=t).viewDecl,i=r.$context.name||"(root)","[View#"+n.$id+" from '"+i+"' state]: target ui-view: '"+r.$uiViewName+"@"+r.$uiViewContextAnchor+"'"))},e.prototype.traceViewServiceUIViewEvent=function(e,t){this.enabled(m.Category.VIEWCONFIG)&&st.log("VIEWCONFIG: "+e+" "+ct(t))},e}(),mt=new pt,gt=function(){function e(e){this.pattern=/.*/,this.inherit=!0,W(this,e)}return e.prototype.is=function(e,t){return!0},e.prototype.encode=function(e,t){return e},e.prototype.decode=function(e,t){return e},e.prototype.equals=function(e,t){return e==t},e.prototype.$subPattern=function(){var e=this.pattern.toString();return e.substr(1,e.length-2)},e.prototype.toString=function(){return"{ParamType:"+this.name+"}"},e.prototype.$normalize=function(e){return this.is(e)?e:this.decode(e)},e.prototype.$asArray=function(e,t){if(!e)return this;if("auto"===e&&!t)throw new Error("'auto' array mode is for query parameters only");return new _t(this,e)},e}();function _t(r,i){var a=this;function o(e){return P(e)?e:T(e)?[e]:[]}function s(n,r){return function(e){if(P(e)&&0===e.length)return e;var t=de(o(e),n);return!0===r?0===le(t,function(e){return!e}).length:function(e){switch(e.length){case 0:return;case 1:return"auto"===i?e[0]:e;default:return e}}(t)}}function c(a){return function(e,t){var n=o(e),r=o(t);if(n.length!==r.length)return!1;for(var i=0;i<n.length;i++)if(!a(n[i],r[i]))return!1;return!0}}["encode","decode","equals","$normalize"].forEach(function(e){var t=r[e].bind(r),n="equals"===e?c:s;a[e]=n(t)}),W(this,{dynamic:r.dynamic,name:r.name,pattern:r.pattern,inherit:r.inherit,raw:r.raw,is:s(r.is.bind(r),!0),$arrayMode:i})}var bt,vt=Object.prototype.hasOwnProperty,yt=function(e){return 0===["value","type","squash","array","dynamic"].filter(vt.bind(e||{})).length};function wt(e,t,n){var r=!1===n.reloadOnSearch&&t===m.DefType.SEARCH||void 0,i=ue([n.dynamic,r],T),a=T(i)?{dynamic:i}:{},o=function(e){function t(){return e.value}e=yt(e)?{value:e}:e,t.__cacheable=!0;var n=O(e.value)?e.value:t;return W(e,{$$fn:n})}(n&&n.params&&n.params[e]);return W(a,o)}(bt=m.DefType||(m.DefType={}))[bt.PATH=0]="PATH",bt[bt.SEARCH=1]="SEARCH",bt[bt.CONFIG=2]="CONFIG";var Ct,At=function(){function r(e,t,n,r,i){var a=wt(e,n,i);t=function(e,t,n,r,i){if(e.type&&t&&"string"!==t.name)throw new Error("Param '"+r+"' has two type configurations.");if(e.type&&t&&"string"===t.name&&i.type(e.type))return i.type(e.type);if(t)return t;if(e.type)return e.type instanceof gt?e.type:i.type(e.type);var a=n===m.DefType.CONFIG?"any":n===m.DefType.PATH?"path":n===m.DefType.SEARCH?"query":"string";return i.type(a)}(a,t,n,e,r.paramTypes);var o,s,c=(o={array:n===m.DefType.SEARCH&&"auto"},s=e.match(/\[\]$/)?{array:!0}:{},W(o,s,a).array);t=c?t.$asArray(c,n===m.DefType.SEARCH):t;var l=void 0!==a.value||n===m.DefType.SEARCH,u=T(a.dynamic)?!!a.dynamic:!!t.dynamic,f=T(a.raw)?!!a.raw:!!t.raw,d=function(e,t,n){var r=e.squash;if(!t||!1===r)return!1;if(!T(r)||null==r)return n;if(!0===r||D(r))return r;throw new Error("Invalid squash policy: '"+r+"'. Valid policies: false, true, or arbitrary string")}(a,l,r.defaultSquashPolicy()),h=function(e,t,n,r){var i=[{from:"",to:n||t?void 0:""},{from:null,to:n||t?void 0:""}],a=P(e.replace)?e.replace:[];D(r)&&a.push({from:r,to:void 0});var o=de(a,v("from"));return le(i,function(e){return-1===o.indexOf(e.from)}).concat(a)}(a,c,l,d),p=T(a.inherit)?!!a.inherit:!!t.inherit;W(this,{id:e,type:t,location:n,isOptional:l,dynamic:u,raw:f,squash:d,replace:h,inherit:p,array:c,config:a})}return r.values=function(e,t){void 0===t&&(t={});for(var n={},r=0,i=e;r<i.length;r++){var a=i[r];n[a.id]=a.value(t[a.id])}return n},r.changed=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),e.filter(function(e){return!e.type.equals(t[e.id],n[e.id])})},r.equals=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),0===r.changed(e,t,n).length},r.validates=function(e,t){return void 0===t&&(t={}),e.map(function(e){return e.validates(t[e.id])}).reduce(pe,!0)},r.prototype.isDefaultValue=function(e){return this.isOptional&&this.type.equals(this.value(),e)},r.prototype.value=function(e){var i=this;return e=function(e){for(var t=0,n=i.replace;t<n.length;t++){var r=n[t];if(r.from===e)return r.to}return e}(e),w(e)?function(){if(i._defaultValueCache)return i._defaultValueCache.defaultValue;if(!L.$injector)throw new Error("Injectable functions cannot be called at configuration time");var e=L.$injector.invoke(i.config.$$fn);if(null!=e&&!i.type.is(e))throw new Error("Default value ("+e+") for parameter '"+i.id+"' is not an instance of ParamType ("+i.type.name+")");return i.config.$$fn.__cacheable&&(i._defaultValueCache={defaultValue:e}),e}():this.type.$normalize(e)},r.prototype.isSearch=function(){return this.location===m.DefType.SEARCH},r.prototype.validates=function(e){if((w(e)||null===e)&&this.isOptional)return!0;var t=this.type.$normalize(e);if(!this.type.is(t))return!1;var n=this.type.encode(t);return!(D(n)&&!this.type.pattern.exec(n))},r.prototype.toString=function(){return"{Param:"+this.id+" "+this.type+" squash: '"+this.squash+"' optional: "+this.isOptional+"}"},r}(),St=function(){function e(){this.enqueue=!0,this.typeQueue=[],this.defaultTypes=oe(e.prototype,["hash","string","query","path","int","bool","date","json","any"]);this.types=K(de(this.defaultTypes,function(e,t){return new gt(W({name:t},e))}),{})}return e.prototype.dispose=function(){this.types={}},e.prototype.type=function(e,t,n){if(!T(t))return this.types[e];if(this.types.hasOwnProperty(e))throw new Error("A type named '"+e+"' has already been defined.");return this.types[e]=new gt(W({name:e},t)),n&&(this.typeQueue.push({name:e,def:n}),this.enqueue||this._flushTypeQueue()),this},e.prototype._flushTypeQueue=function(){for(;this.typeQueue.length;){var e=this.typeQueue.shift();if(e.pattern)throw new Error("You cannot override a type's .pattern at runtime.");W(this.types[e.name],L.$injector.invoke(e.def))}},e}();Ct=function(e){var t=function(e){return null!=e?e.toString():e},n={encode:t,decode:t,is:h(String),pattern:/.*/,equals:function(e,t){return e==t}};return W({},n,e)},W(St.prototype,{string:Ct({}),path:Ct({pattern:/[^/]*/}),query:Ct({}),hash:Ct({inherit:!1}),int:Ct({decode:function(e){return parseInt(e,10)},is:function(e){return!x(e)&&this.decode(e.toString())===e},pattern:/-?\d+/}),bool:Ct({encode:function(e){return e?1:0},decode:function(e){return 0!==parseInt(e,10)},is:h(Boolean),pattern:/0|1/}),date:Ct({encode:function(e){return this.is(e)?[e.getFullYear(),("0"+(e.getMonth()+1)).slice(-2),("0"+e.getDate()).slice(-2)].join("-"):void 0},decode:function(e){if(this.is(e))return e;var t=this.capture.exec(e);return t?new Date(t[1],t[2]-1,t[3]):void 0},is:function(e){return e instanceof Date&&!isNaN(e.valueOf())},equals:function(n,r){return["getFullYear","getMonth","getDate"].reduce(function(e,t){return e&&n[t]()===r[t]()},!0)},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/}),json:Ct({encode:U,decode:B,is:h(Object),equals:q,pattern:/[^/]*/}),any:Ct({encode:z,decode:z,is:function(){return!0},equals:q})});var Tt=function(){function e(e){void 0===e&&(e={}),W(this,e)}return e.prototype.$inherit=function(e,t,n){var r,i=ae(t,n),a={},o=[];for(var s in i)if(i[s]&&i[s].params&&(r=Object.keys(i[s].params)).length)for(var c in r)0<=o.indexOf(r[c])||(o.push(r[c]),a[r[c]]=this[r[c]]);return W({},a,e)},e}(),xt=function(){function r(e){if(e instanceof r){var t=e;this.state=t.state,this.paramSchema=t.paramSchema.slice(),this.paramValues=W({},t.paramValues),this.resolvables=t.resolvables.slice(),this.views=t.views&&t.views.slice()}else{var n=e;this.state=n,this.paramSchema=n.parameters({inherit:!1}),this.paramValues={},this.resolvables=n.resolvables.map(function(e){return e.clone()})}}return r.prototype.clone=function(){return new r(this)},r.prototype.applyRawParams=function(r){return this.paramValues=this.paramSchema.reduce(function(e,t){return ke(e,[(n=t).id,n.value(r[n.id])]);var n},{}),this},r.prototype.parameter=function(e){return ue(this.paramSchema,_("id",e))},r.prototype.equals=function(e,t){var n=this.diff(e,t);return n&&0===n.length},r.prototype.diff=function(e,t){if(this.state!==e.state)return!1;var n=t?t(this):this.paramSchema;return At.changed(n,this.paramValues,e.paramValues)},r.clone=function(e){return e.clone()},r}(),kt=function(){function r(e,t,n,r){this._stateRegistry=e,this._identifier=t,this._identifier=t,this._params=W({},n||{}),this._options=W({},r||{}),this._definition=e.matcher.find(t,this._options.relative)}return r.prototype.name=function(){return this._definition&&this._definition.name||this._identifier},r.prototype.identifier=function(){return this._identifier},r.prototype.params=function(){return this._params},r.prototype.$state=function(){return this._definition},r.prototype.state=function(){return this._definition&&this._definition.self},r.prototype.options=function(){return this._options},r.prototype.exists=function(){return!(!this._definition||!this._definition.self)},r.prototype.valid=function(){return!this.error()},r.prototype.error=function(){var e=this.options().relative;if(this._definition||!e)return this._definition?this._definition.self?void 0:"State '"+this.name()+"' has an invalid definition":"No such state '"+this.name()+"'";var t=e.name?e.name:e;return"Could not resolve '"+this.name()+"' from state '"+t+"'"},r.prototype.toString=function(){return"'"+this.name()+"'"+ze(this.params())},r.prototype.withState=function(e){return new r(this._stateRegistry,e,this._params,this._options)},r.prototype.withParams=function(e,t){void 0===t&&(t=!1);var n=t?e:W({},this._params,e);return new r(this._stateRegistry,this._identifier,n,this._options)},r.prototype.withOptions=function(e,t){void 0===t&&(t=!1);var n=t?e:W({},this._options,e);return new r(this._stateRegistry,this._identifier,this._params,n)},r.isDef=function(e){return e&&e.state&&(D(e.state)||D(e.state.name))},r}(),Et=function(){function d(){}return d.makeTargetState=function(e,t){var n=Ee(t).state;return new kt(e,n,t.map(v("paramValues")).reduce(ie,{}),{})},d.buildPath=function(e){var t=e.params();return e.$state().path.map(function(e){return new xt(e).applyRawParams(t)})},d.buildToPath=function(e,t){var n=d.buildPath(t);return t.options().inherit?d.inheritParams(e,n,Object.keys(t.params())):n},d.applyViewConfigs=function(i,a,t){a.filter(function(e){return Q(t,e.state)}).forEach(function(t){var e=he(t.state.views||{}),n=d.subPath(a,function(e){return e===t}),r=e.map(function(e){return i.createViewConfig(n,e)});t.views=r.reduce(ge,[])})},d.inheritParams=function(c,e,l){void 0===l&&(l=[]);var u=c.map(function(e){return e.paramSchema}).reduce(ge,[]).filter(function(e){return!e.inherit}).map(v("id"));return e.map(function(e){var t=W({},e&&e.paramValues),n=oe(t,l);t=se(t,l);var r,i,a,o=se((r=c,i=e.state,a=ue(r,_("state",i)),W({},a&&a.paramValues)||{}),u),s=W(t,o,n);return new xt(e.state).applyRawParams(s)})},d.treeChanges=function(e,r,t){for(var n,i,a,o,s,c,l=Math.min(e.length,r.length),u=0;u<l&&e[u].state!==t&&(n=e[u],i=r[u],n.equals(i,d.nonDynamicParams));)u++;o=(a=e).slice(0,u),s=a.slice(u);var f=o.map(function(e,t){var n=e.clone();return n.paramValues=r[t].paramValues,n});return c=r.slice(u),{from:a,to:f.concat(c),retained:o,retainedWithToParams:f,exiting:s,entering:c}},d.matching=function(e,t,i){var a=!1;return xe(e,t).reduce(function(e,t){var n=t[0],r=t[1];return(a=a||!n.equals(r,i))?e:e.concat(n)},[])},d.equals=function(e,t,n){return e.length===t.length&&d.matching(e,t,n).length===e.length},d.subPath=function(e,t){var n=ue(e,t),r=e.indexOf(n);return-1===r?void 0:e.slice(0,r+1)},d.nonDynamicParams=function(e){return e.state.parameters({inherit:!1}).filter(function(e){return!e.dynamic})},d.paramValues=function(e){return e.reduce(function(e,t){return W(e,t.paramValues)},{})},d}(),Dt={when:{LAZY:"LAZY",EAGER:"EAGER"},async:{WAIT:"WAIT",NOWAIT:"NOWAIT"}},It={when:"LAZY",async:"WAIT"},Pt=function(){function o(e,t,n,r,i){if(this.resolved=!1,this.promise=void 0,e instanceof o)W(this,e);else if(k(t)){if(x(e))throw new Error("new Resolvable(): token argument is required");if(!k(t))throw new Error("new Resolvable(): resolveFn argument must be a function");this.token=e,this.policy=r,this.resolveFn=t,this.deps=n||[],this.data=i,this.resolved=void 0!==i,this.promise=this.resolved?L.$q.when(this.data):void 0}else if(I(e)&&e.token&&(e.hasOwnProperty("resolveFn")||e.hasOwnProperty("data"))){var a=e;return new o(a.token,a.resolveFn,a.deps,a.policy,a.data)}}return o.prototype.getPolicy=function(e){var t=this.policy||{},n=e&&e.resolvePolicy||{};return{when:t.when||n.when||It.when,async:t.async||n.async||It.async}},o.prototype.resolve=function(t,n){var r=this,e=L.$q,i=t.findNode(this),a=i&&i.state,o=this.getPolicy(a).async,s=k(o)?o:z;return this.promise=e.when().then(function(){return e.all(t.getDependencies(r).map(function(e){return e.get(t,n)}))}).then(function(e){return r.resolveFn.apply(null,e)}).then(s).then(function(e){return r.data=e,r.resolved=!0,r.resolveFn=null,mt.traceResolvableResolved(r,n),r.data})},o.prototype.get=function(e,t){return this.promise||this.resolve(e,t)},o.prototype.toString=function(){return"Resolvable(token: "+ze(this.token)+", requires: ["+this.deps.map(ze)+"])"},o.prototype.clone=function(){return new o(this)},o.fromData=function(e,t){return new o(e,function(){return t},null,null,t)},o}(),Mt=Dt.when,$t=[Mt.EAGER,Mt.LAZY],Ot=[Mt.EAGER],Rt="Native Injector",Nt=function(){function e(e){this._path=e}return e.prototype.getTokens=function(){return this._path.reduce(function(e,t){return e.concat(t.resolvables.map(function(e){return e.token}))},[]).reduce(ve,[])},e.prototype.getResolvable=function(t){return Ee(this._path.map(function(e){return e.resolvables}).reduce(ge,[]).filter(function(e){return e.token===t}))},e.prototype.getPolicy=function(e){var t=this.findNode(e);return e.getPolicy(t.state)},e.prototype.subContext=function(t){return new e(Et.subPath(this._path,function(e){return e.state===t}))},e.prototype.addResolvables=function(e,t){var n=ue(this._path,_("state",t)),r=e.map(function(e){return e.token});n.resolvables=n.resolvables.filter(function(e){return-1===r.indexOf(e.token)}).concat(e)},e.prototype.resolvePath=function(e,s){var c=this;void 0===e&&(e="LAZY");var l=(Q($t,e)?e:"LAZY")===Dt.when.EAGER?Ot:$t;mt.traceResolvePath(this._path,e,s);var u=function(t,n){return function(e){return Q(t,c.getPolicy(e)[n])}},t=this._path.reduce(function(e,t){var n=t.resolvables.filter(u(l,"when")),r=n.filter(u(["NOWAIT"],"async")),i=n.filter(f(u(["NOWAIT"],"async"))),a=c.subContext(t.state),o=function(t){return t.get(a,s).then(function(e){return{token:t.token,value:e}})};return r.forEach(o),e.concat(i.map(o))},[]);return L.$q.all(t)},e.prototype.injector=function(){return this._injector||(this._injector=new Lt(this))},e.prototype.findNode=function(t){return ue(this._path,function(e){return Q(e.resolvables,t)})},e.prototype.getDependencies=function(t){var r=this,n=this.findNode(t),i=(Et.subPath(this._path,function(e){return e===n})||this._path).reduce(function(e,t){return e.concat(t.resolvables)},[]).filter(function(e){return e!==t});return t.deps.map(function(t){var e=i.filter(function(e){return e.token===t});if(e.length)return Ee(e);var n=r.injector().getNative(t);if(w(n))throw new Error("Could not find Dependency Injection token: "+ze(t));return new Pt(t,function(){return n},[],n)})},e}(),Lt=function(){function e(e){this.context=e,this.native=this.get(Rt)||L.$injector}return e.prototype.get=function(e){var t=this.context.getResolvable(e);if(t){if("NOWAIT"===this.context.getPolicy(t).async)return t.get(this.context);if(!t.resolved)throw new Error("Resolvable async .get() not complete:"+ze(t.token));return t.data}return this.getNative(e)},e.prototype.getAsync=function(e){var t=this.context.getResolvable(e);return t?t.get(this.context):L.$q.when(this.native.get(e))},e.prototype.getNative=function(e){return this.native&&this.native.get(e)},e}();function Ft(e){return e.name}function Gt(e){return e.self.$$state=function(){return e},e.self}function jt(e){return e.parent&&e.parent.data&&(e.data=e.self.data=K(e.parent.data,e.data)),e.data}var Bt=function(o,s){return function(e){var t=e.self;if(t&&t.url&&t.name&&t.name.match(/\.\*\*$/)){var n={};De(t,n),n.url+="{remainder:any}",t=n}var r=e.parent,i=function(e){if(!D(e))return!1;var t="^"===e.charAt(0);return{val:t?e.substring(1):e,root:t}}(t.url),a=i?o.compile(i.val,{state:t}):t.url;if(!a)return null;if(!o.isMatcher(a))throw new Error("Invalid url '"+a+"' in state '"+e+"'");return i&&i.root?a:(r&&r.navigable||s()).url.append(a)}};function Ut(e){return e.parent?e.parent.path.concat(e):[e]}function Ht(e){var t=e.parent?W({},e.parent.includes):{};return t[e.name]=!0,t}function Wt(e){var t,n,r=function(e){return e.provide||e.token},i=g([[v("resolveFn"),function(e){return new Pt(r(e),e.resolveFn,e.deps,e.policy)}],[v("useFactory"),function(e){return new Pt(r(e),e.useFactory,e.deps||e.dependencies,e.policy)}],[v("useClass"),function(e){return new Pt(r(e),function(){return new e.useClass},[],e.policy)}],[v("useValue"),function(e){return new Pt(r(e),function(){return e.useValue},[],e.policy,e.useValue)}],[v("useExisting"),function(e){return new Pt(r(e),z,[e.useExisting],e.policy)}]]),a=g([[c(v("val"),D),function(e){return new Pt(e.token,z,[e.val],e.policy)}],[c(v("val"),P),function(e){return new Pt(e.token,Ee(e.val),e.val.slice(0,-1),e.policy)}],[c(v("val"),k),function(e){return new Pt(e.token,e.val,(t=e.val,n=L.$injector,t.$inject||n&&n.annotate(t,n.strictDi)||"deferred"),e.policy);var t,n}]]),o=g([[h(Pt),function(e){return e}],[function(e){return!(!e.token||!e.resolveFn)},i],[function(e){return!(!e.provide&&!e.token||!(e.useValue||e.useFactory||e.useExisting||e.useClass))},i],[function(e){return!!(e&&e.val&&(D(e.val)||P(e.val)||k(e.val)))},a],[p(!0),function(e){throw new Error("Invalid resolve value: "+ze(e))}]]),s=e.resolve;return(P(s)?s:(t=s,n=e.resolvePolicy||{},Object.keys(t||{}).map(function(e){return{token:e,val:t[e],deps:void 0,policy:n[e]}}))).map(o)}var qt,zt,Vt=function(){function e(t,e){this.matcher=t;var r,n,i=this,a=function(){return t.find("")},o=function(e){return""===e.name};this.builders={name:[Ft],self:[Gt],parent:[function(e){return o(e)?null:t.find(i.parentName(e))||a()}],data:[jt],url:[Bt(e,a)],navigable:[(n=o,function(e){return!n(e)&&e.url?e:e.parent?e.parent.navigable:null})],params:[(r=e.paramFactory,function(n){var e=n.url&&n.url.parameters({inherit:!1})||[],t=he(fe(se(n.params||{},e.map(v("id"))),function(e,t){return r.fromConfig(t,null,n.self)}));return e.concat(t).map(function(e){return[e.id,e]}).reduce(ke,{})})],views:[],path:[Ut],includes:[Ht],resolvables:[Wt]}}return e.prototype.builder=function(e,t){var n=this.builders,r=n[e]||[];return D(e)&&!T(t)?1<r.length?r:r[0]:D(e)&&k(t)?(n[e]=r,n[e].push(t),function(){return n[e].splice(n[e].indexOf(t,1))&&null}):void 0},e.prototype.build=function(e){var t=this.matcher,n=this.builders,r=this.parentName(e);if(r&&!t.find(r,void 0,!1))return null;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i].reduce(function(t,n){return function(e){return n(e,t)}},V);e[i]=a(e)}return e},e.prototype.parentName=function(e){var t=e.name||"",n=t.split(".");if("**"===n.pop()&&n.pop(),n.length){if(e.parent)throw new Error("States that specify the 'parent:' property should not have a '.' in their name ("+t+")");return n.join(".")}return e.parent?D(e.parent)?e.parent:e.parent.name:""},e.prototype.name=function(e){var t=e.name;if(-1!==t.indexOf(".")||!e.parent)return t;var n=D(e.parent)?e.parent:e.parent.name;return n?n+"."+t:t},e}(),Yt=function(){function n(e){return n.create(e||{})}return n.create=function(e){e=n.isStateClass(e)?new e:e;var t=K(K(e,n.prototype));return e.$$state=function(){return t},t.self=e,t.__stateObjectCache={nameGlob:Re.fromString(t.name)},t},n.prototype.is=function(e){return this===e||this.self===e||this.fqn()===e},n.prototype.fqn=function(){if(!(this.parent&&this.parent instanceof this.constructor))return this.name;var e=this.parent.fqn();return e?e+"."+this.name:this.name},n.prototype.root=function(){return this.parent&&this.parent.root()||this},n.prototype.parameters=function(t){return((t=re(t,{inherit:!0,matchingKeys:null})).inherit&&this.parent&&this.parent.parameters()||[]).concat(he(this.params)).filter(function(e){return!t.matchingKeys||t.matchingKeys.hasOwnProperty(e.id)})},n.prototype.parameter=function(e,t){return void 0===t&&(t={}),this.url&&this.url.parameter(e,t)||ue(he(this.params),_("id",e))||t.inherit&&this.parent&&this.parent.parameter(e)},n.prototype.toString=function(){return this.fqn()},n.isStateClass=function(e){return k(e)&&!0===e.__uiRouterState},n.isState=function(e){return I(e.__stateObjectCache)},n}(),Kt=function(){function e(e){this._states=e}return e.prototype.isRelative=function(e){return 0===(e=e||"").indexOf(".")||0===e.indexOf("^")},e.prototype.find=function(e,t,n){if(void 0===n&&(n=!0),e||""===e){var r=D(e),i=r?e:e.name;this.isRelative(i)&&(i=this.resolvePath(i,t));var a=this._states[i];if(a&&(r||!(r||a!==e&&a.self!==e)))return a;if(r&&n){var o=he(this._states).filter(function(e){return e.__stateObjectCache.nameGlob&&e.__stateObjectCache.nameGlob.matches(i)});return 1<o.length&&st.error("stateMatcher.find: Found multiple matches for "+i+" using glob: ",o.map(function(e){return e.name})),o[0]}}},e.prototype.resolvePath=function(e,t){if(!t)throw new Error("No reference point given for path '"+e+"'");for(var n=this.find(t),r=e.split("."),i=r.length,a=0,o=n;a<i;a++)if(""!==r[a]||0!==a){if("^"!==r[a])break;if(!o.parent)throw new Error("Path '"+e+"' not valid for state '"+n.name+"'");o=o.parent}else o=n;var s=r.slice(a).join(".");return o.name+(o.name&&s?".":"")+s},e}(),Qt=function(){function e(e,t,n,r){this.router=e,this.states=t,this.builder=n,this.listeners=r,this.queue=[]}return e.prototype.dispose=function(){this.queue=[]},e.prototype.register=function(e){var t=this.queue,n=Yt.create(e),r=n.name;if(!D(r))throw new Error("State must have a valid name");if(this.states.hasOwnProperty(r)||Q(t.map(v("name")),r))throw new Error("State '"+r+"' is already defined");return t.push(n),this.flush(),n},e.prototype.flush=function(){for(var t=this,e=this.queue,n=this.states,r=this.builder,i=[],a=[],o={},s=function(e){return t.states.hasOwnProperty(e)&&t.states[e]},c=function(){i.length&&t.listeners.forEach(function(e){return e("registered",i.map(function(e){return e.self}))})};0<e.length;){var l=e.shift(),u=l.name,f=r.build(l),d=a.indexOf(l);if(f){var h=s(u);if(h&&h.name===u)throw new Error("State '"+u+"' is already defined");var p=s(u+".**");p&&this.router.stateRegistry.deregister(p),n[u]=l,this.attachRoute(l),0<=d&&a.splice(d,1),i.push(l)}else{var m=o[u];if(o[u]=e.length,0<=d&&m===e.length)return e.push(l),c(),n;d<0&&a.push(l),e.push(l)}}return c(),n},e.prototype.attachRoute=function(e){if(!e.abstract&&e.url){var t=this.router.urlService.rules;t.rule(t.urlRuleFactory.create(e))}},e}(),Xt=function(){function e(e){this.router=e,this.states={},this.listeners=[],this.matcher=new Kt(this.states),this.builder=new Vt(this.matcher,e.urlMatcherFactory),this.stateQueue=new Qt(e,this.states,this.builder,this.listeners),this._registerRoot()}return e.prototype._registerRoot=function(){(this._root=this.stateQueue.register({name:"",url:"^",views:null,params:{"#":{value:null,type:"hash",dynamic:!0}},abstract:!0})).navigable=null},e.prototype.dispose=function(){var t=this;this.stateQueue.dispose(),this.listeners=[],this.get().forEach(function(e){return t.get(e)&&t.deregister(e)})},e.prototype.onStatesChanged=function(e){return this.listeners.push(e),function(){Z(this.listeners)(e)}.bind(this)},e.prototype.root=function(){return this._root},e.prototype.register=function(e){return this.stateQueue.register(e)},e.prototype._deregisterTree=function(e){var n=this,r=this.get().map(function(e){return e.$$state()}),i=function(t){var e=r.filter(function(e){return-1!==t.indexOf(e.parent)});return 0===e.length?e:e.concat(i(e))},t=i([e]),a=[e].concat(t).reverse();return a.forEach(function(e){var t=n.router.urlService.rules;t.rules().filter(_("state",e)).forEach(function(e){return t.removeRule(e)}),delete n.states[e.name]}),a},e.prototype.deregister=function(e){var t=this.get(e);if(!t)throw new Error("Can't deregister state; not found: "+e);var n=this._deregisterTree(t.$$state());return this.listeners.forEach(function(e){return e("deregistered",n.map(function(e){return e.self}))}),n},e.prototype.get=function(e,t){var n=this;if(0===arguments.length)return Object.keys(this.states).map(function(e){return n.states[e].self});var r=this.matcher.find(e,t);return r&&r.self||null},e.prototype.decorator=function(e,t){return this.builder.builder(e,t)},e}();(qt=m.TransitionHookPhase||(m.TransitionHookPhase={}))[qt.CREATE=0]="CREATE",qt[qt.BEFORE=1]="BEFORE",qt[qt.RUN=2]="RUN",qt[qt.SUCCESS=3]="SUCCESS",qt[qt.ERROR=4]="ERROR",(zt=m.TransitionHookScope||(m.TransitionHookScope={}))[zt.TRANSITION=0]="TRANSITION",zt[zt.STATE=1]="STATE";var Zt={current:V,transition:null,traceData:{},bind:null},Jt=function(){function a(e,t,n,r){var i=this;this.transition=e,this.stateContext=t,this.registeredHook=n,this.options=r,this.isSuperseded=function(){return i.type.hookPhase===m.TransitionHookPhase.RUN&&!i.options.transition.isActive()},this.options=re(r,Zt),this.type=n.eventType}return a.chain=function(e,t){return e.reduce(function(e,t){return e.then(function(){return t.invokeHook()})},t||L.$q.when())},a.invokeHooks=function(e,t){for(var n=0;n<e.length;n++){var r=e[n].invokeHook();if(R(r)){var i=e.slice(n+1);return a.chain(i,r).then(t)}}return t()},a.runAllHooks=function(e){e.forEach(function(e){return e.invokeHook()})},a.prototype.logError=function(e){this.transition.router.stateService.defaultErrorHandler()(e)},a.prototype.invokeHook=function(){var t=this,n=this.registeredHook;if(!n._deregistered){var e=this.getNotCurrentRejection();if(e)return e;var r=this.options;mt.traceHookInvocation(this,this.transition,r);var i=function(e){return n.eventType.getErrorHandler(t)(e)},a=function(e){return n.eventType.getResultHandler(t)(e)};try{var o=n.callback.call(r.bind,t.transition,t.stateContext);return!this.type.synchronous&&R(o)?o.catch(function(e){return Fe.normalize(e).toPromise()}).then(a,i):a(o)}catch(e){return i(Fe.normalize(e))}finally{n.invokeLimit&&++n.invokeCount>=n.invokeLimit&&n.deregister()}}},a.prototype.handleHookResult=function(e){var t=this,n=this.getNotCurrentRejection();return n||(R(e)?e.then(function(e){return t.handleHookResult(e)}):(mt.traceHookResult(e,this.transition,this.options),!1===e?Fe.aborted("Hook aborted transition").toPromise():h(kt)(e)?Fe.redirected(e).toPromise():void 0))},a.prototype.getNotCurrentRejection=function(){var e=this.transition.router;return e._disposed?Fe.aborted("UIRouter instance #"+e.$id+" has been stopped (disposed)").toPromise():this.transition._aborted?Fe.aborted().toPromise():this.isSuperseded()?Fe.superseded(this.options.current()).toPromise():void 0},a.prototype.toString=function(){var e=this.options,t=this.registeredHook;return(S("traceData.hookType")(e)||"internal")+" context: "+(S("traceData.context.state.name")(e)||S("traceData.context")(e)||"unknown")+", "+Ge(200,He(t.callback))},a.HANDLE_RESULT=function(t){return function(e){return t.handleHookResult(e)}},a.LOG_REJECTED_RESULT=function(t){return function(e){R(e)&&e.catch(function(e){return t.logError(Fe.normalize(e))})}},a.LOG_ERROR=function(t){return function(e){return t.logError(e)}},a.REJECT_ERROR=function(e){return function(e){return Oe(e)}},a.THROW_ERROR=function(e){return function(e){throw e}},a}();function en(e,t,n){var i=D(t)?[t]:t;return!!(k(i)?i:function(e){for(var t=i,n=0;n<t.length;n++){var r=new Re(t[n]);if(r&&r.matches(e.name)||!r&&t[n]===e.name)return!0}return!1})(e,n)}var tn=function(){function e(e,t,n,r,i,a){void 0===a&&(a={}),this.tranSvc=e,this.eventType=t,this.callback=n,this.matchCriteria=r,this.removeHookFromRegistry=i,this.invokeCount=0,this._deregistered=!1,this.priority=a.priority||0,this.bind=a.bind||null,this.invokeLimit=a.invokeLimit}return e.prototype._matchingNodes=function(e,t,n){if(!0===t)return e;var r=e.filter(function(e){return en(e.state,t,n)});return r.length?r:null},e.prototype._getDefaultMatchCriteria=function(){return fe(this.tranSvc._pluginapi._getPathTypes(),function(){return!0})},e.prototype._getMatchingNodes=function(a,o){var s=this,c=W(this._getDefaultMatchCriteria(),this.matchCriteria);return he(this.tranSvc._pluginapi._getPathTypes()).reduce(function(e,t){var n=t.scope===m.TransitionHookScope.STATE,r=a[t.name]||[],i=n?r:[Ee(r)];return e[t.name]=s._matchingNodes(i,c[t.name],o),e},{})},e.prototype.matches=function(e,t){var n=this._getMatchingNodes(e,t);return he(n).every(z)?n:null},e.prototype.deregister=function(){this.removeHookFromRegistry(this),this._deregistered=!0},e}();function nn(e,i,a){var o=(e._registeredHooks=e._registeredHooks||{})[a.name]=[],s=Z(o);function t(e,t,n){void 0===n&&(n={});var r=new tn(i,a,t,e,s,n);return o.push(r),r.deregister.bind(r)}return e[a.name]=t}var rn=function(){function e(e){this.transition=e}return e.prototype.buildHooksForPhase=function(e){var t=this;return this.transition.router.transitionService._pluginapi._getEvents(e).map(function(e){return t.buildHooks(e)}).reduce(ge,[]).filter(z)},e.prototype.buildHooks=function(a){var o=this.transition,e=o.treeChanges(),t=this.getMatchingHooks(a,e,o);if(!t)return[];var s={transition:o,current:o.options().current};return t.map(function(i){return i.matches(e,o)[a.criteriaMatchPath.name].map(function(e){var t=W({bind:i.bind,traceData:{hookType:a.name,context:e}},s),n=a.criteriaMatchPath.scope===m.TransitionHookScope.STATE?e.state.self:null,r=new Jt(o,n,i,t);return{hook:i,node:e,transitionHook:r}})}).reduce(ge,[]).sort(function(i){void 0===i&&(i=!1);return function(e,t){var n=i?-1:1,r=(e.node.state.path.length-t.node.state.path.length)*n;return 0!==r?r:t.hook.priority-e.hook.priority}}(a.reverseSort)).map(function(e){return e.transitionHook})},e.prototype.getMatchingHooks=function(t,n,r){var e=t.hookPhase===m.TransitionHookPhase.CREATE,i=this.transition.router.transitionService;return(e?[i]:[this.transition,i]).map(function(e){return e.getHooks(t.name)}).filter(Ce(P,"broken event named: "+t.name)).reduce(ge,[]).filter(function(e){return e.matches(n,r)})},e}();var an=v("self"),on=function(){function t(e,t,n){var r=this;if(this._deferred=L.$q.defer(),this.promise=this._deferred.promise,this._registeredHooks={},this._hookBuilder=new rn(this),this.isActive=function(){return r.router.globals.transition===r},this.router=n,!(this._targetState=t).valid())throw new Error(t.error());this._options=W({current:p(this)},t.options()),this.$id=n.transitionService._transitionCount++;var i=Et.buildToPath(e,t);this._treeChanges=Et.treeChanges(e,i,this._options.reloadState),this.createTransitionHookRegFns();var a=this._hookBuilder.buildHooksForPhase(m.TransitionHookPhase.CREATE);Jt.invokeHooks(a,function(){return null}),this.applyViewConfigs(n)}return t.prototype.onBefore=function(e,t,n){},t.prototype.onStart=function(e,t,n){},t.prototype.onExit=function(e,t,n){},t.prototype.onRetain=function(e,t,n){},t.prototype.onEnter=function(e,t,n){},t.prototype.onFinish=function(e,t,n){},t.prototype.onSuccess=function(e,t,n){},t.prototype.onError=function(e,t,n){},t.prototype.createTransitionHookRegFns=function(){var t=this;this.router.transitionService._pluginapi._getEvents().filter(function(e){return e.hookPhase!==m.TransitionHookPhase.CREATE}).forEach(function(e){return nn(t,t.router.transitionService,e)})},t.prototype.getHooks=function(e){return this._registeredHooks[e]},t.prototype.applyViewConfigs=function(e){var t=this._treeChanges.entering.map(function(e){return e.state});Et.applyViewConfigs(e.transitionService.$view,this._treeChanges.to,t)},t.prototype.$from=function(){return Ee(this._treeChanges.from).state},t.prototype.$to=function(){return Ee(this._treeChanges.to).state},t.prototype.from=function(){return this.$from().self},t.prototype.to=function(){return this.$to().self},t.prototype.targetState=function(){return this._targetState},t.prototype.is=function(e){return e instanceof t?this.is({to:e.$to().name,from:e.$from().name}):!(e.to&&!en(this.$to(),e.to,this)||e.from&&!en(this.$from(),e.from,this))},t.prototype.params=function(e){return void 0===e&&(e="to"),Object.freeze(this._treeChanges[e].map(v("paramValues")).reduce(ie,{}))},t.prototype.paramsChanged=function(){var e=this.params("from"),n=this.params("to"),t=[].concat(this._treeChanges.to).concat(this._treeChanges.from).map(function(e){return e.paramSchema}).reduce(_e,[]).reduce(ve,[]);return At.changed(t,e,n).reduce(function(e,t){return e[t.id]=n[t.id],e},{})},t.prototype.injector=function(t,e){void 0===e&&(e="to");var n=this._treeChanges[e];return t&&(n=Et.subPath(n,function(e){return e.state===t||e.state.name===t})),new Nt(n).injector()},t.prototype.getResolveTokens=function(e){return void 0===e&&(e="to"),new Nt(this._treeChanges[e]).getTokens()},t.prototype.addResolvable=function(e,t){void 0===t&&(t=""),e=h(Pt)(e)?e:new Pt(e);var n="string"==typeof t?t:t.name,r=this._treeChanges.to,i=ue(r,function(e){return e.state.name===n});new Nt(r).addResolvables([e],i.state)},t.prototype.redirectedFrom=function(){return this._options.redirectedFrom||null},t.prototype.originalTransition=function(){var e=this.redirectedFrom();return e&&e.originalTransition()||this},t.prototype.options=function(){return this._options},t.prototype.entering=function(){return de(this._treeChanges.entering,v("state")).map(an)},t.prototype.exiting=function(){return de(this._treeChanges.exiting,v("state")).map(an).reverse()},t.prototype.retained=function(){return de(this._treeChanges.retained,v("state")).map(an)},t.prototype.views=function(e,t){void 0===e&&(e="entering");var n=this._treeChanges[e];return(n=t?n.filter(_("state",t)):n).map(v("views")).filter(z).reduce(ge,[])},t.prototype.treeChanges=function(e){return e?this._treeChanges[e]:this._treeChanges},t.prototype.redirect=function(e){for(var t=1,n=this;null!=(n=n.redirectedFrom());)if(20<++t)throw new Error("Too many consecutive Transition redirects (20+)");var r={redirectedFrom:this,source:"redirect"};"url"===this.options().source&&!1!==e.options().location&&(r.location="replace");var i=W({},this.options(),e.options(),r);e=e.withOptions(i,!0);var a,o=this.router.transitionService.create(this._treeChanges.from,e),s=this._treeChanges.entering,c=o._treeChanges.entering;return Et.matching(c,s,Et.nonDynamicParams).filter(f((a=e.options().reloadState,function(e){return a&&e.state.includes[a.name]}))).forEach(function(e,t){e.resolvables=s[t].resolvables}),o},t.prototype._changedParams=function(){var e=this._treeChanges;if(!this._options.reload&&(!e.exiting.length&&!e.entering.length&&e.to.length===e.from.length&&!xe(e.to,e.from).map(function(e){return e[0].state!==e[1].state}).reduce(me,!1))){var t=e.to.map(function(e){return e.paramSchema}),n=[e.to,e.from].map(function(e){return e.map(function(e){return e.paramValues})});return xe(t,n[0],n[1]).map(function(e){var t=e[0],n=e[1],r=e[2];return At.changed(t,n,r)}).reduce(ge,[])}},t.prototype.dynamic=function(){var e=this._changedParams();return!!e&&e.map(function(e){return e.dynamic}).reduce(me,!1)},t.prototype.ignored=function(){return!!this._ignoredReason()},t.prototype._ignoredReason=function(){var e=this.router.globals.transition,r=this._options.reloadState,t=function(e,t){if(e.length!==t.length)return!1;var n=Et.matching(e,t);return e.length===n.filter(function(e){return!r||!e.state.includes[r.name]}).length},n=this.treeChanges(),i=e&&e.treeChanges();return i&&t(i.to,n.to)&&t(i.exiting,n.exiting)?"SameAsPending":0===n.exiting.length&&0===n.entering.length&&t(n.from,n.to)?"SameAsCurrent":void 0},t.prototype.run=function(){var t=this,n=Jt.runAllHooks,r=function(e){return t._hookBuilder.buildHooksForPhase(e)},e=r(m.TransitionHookPhase.BEFORE);return Jt.invokeHooks(e,function(){var e=t.router.globals;return e.lastStartedTransitionId=t.$id,e.transition=t,e.transitionHistory.enqueue(t),mt.traceTransitionStart(t),L.$q.when(void 0)}).then(function(){var e=r(m.TransitionHookPhase.RUN);return Jt.invokeHooks(e,function(){return L.$q.when(void 0)})}).then(function(){mt.traceSuccess(t.$to(),t),t.success=!0,t._deferred.resolve(t.to()),n(r(m.TransitionHookPhase.SUCCESS))},function(e){mt.traceError(e,t),t.success=!1,t._deferred.reject(e),t._error=e,n(r(m.TransitionHookPhase.ERROR))}),this.promise},t.prototype.valid=function(){return!this.error()||void 0!==this.success},t.prototype.abort=function(){w(this.success)&&(this._aborted=!0)},t.prototype.error=function(){var e=this.$to();if(e.self.abstract)return Fe.invalid("Cannot transition to abstract state '"+e.name+"'");var t=e.parameters(),n=this.params(),r=t.filter(function(e){return!e.validates(n[e.id])});if(r.length){var i=r.map(function(e){return"["+e.id+":"+ze(n[e.id])+"]"}).join(", "),a="The following parameter values are not valid for state '"+e.name+"': "+i;return Fe.invalid(a)}return!1===this.success?this._error:void 0},t.prototype.toString=function(){var e=this.from(),t=this.to(),n=function(e){return null!==e["#"]&&void 0!==e["#"]?e:se(e,["#"])};return"Transition#"+this.$id+"( '"+(I(e)?e.name:e)+"'"+ze(n(this._treeChanges.from.map(v("paramValues")).reduce(ie,{})))+" -> "+(this.valid()?"":"(X) ")+"'"+(I(t)?t.name:t)+"'"+ze(n(this.params()))+" )"},t.diToken=t}();function sn(e,t){var n=["",""],r=e.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!t)return r;switch(t.squash){case!1:n=["(",")"+(t.isOptional?"?":"")];break;case!0:r=r.replace(/\/$/,""),n=["(?:/(",")|/)?"];break;default:n=["("+t.squash+"|",")?"]}return r+n[0]+t.type.pattern.source+n[1]}var cn=et("/"),ln={state:{params:{}},strict:!0,caseInsensitive:!0},un=function(){function g(a,o,e,t){var s=this;this._cache={path:[this]},this._children=[],this._params=[],this._segments=[],this._compiled=[],this.config=t=re(t,ln),this.pattern=a;for(var n,r,i,c=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,l=/([:]?)([\w\[\].-]+)|\{([\w\[\].-]+)(?:\:\s*((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,u=[],f=0,d=function(e){if(!g.nameValidator.test(e))throw new Error("Invalid parameter name '"+e+"' in pattern '"+a+"'");if(ue(s._params,_("id",e)))throw new Error("Duplicate parameter name '"+e+"' in pattern '"+a+"'")},h=function(e,t){var n,r=e[2]||e[3],i=t?e[4]:e[4]||("*"===e[1]?"[\\s\\S]*":null);return{id:r,regexp:i,segment:a.substring(f,e.index),type:i?o.type(i)||(n=i,K(o.type(t?"query":"path"),{pattern:new RegExp(n,s.config.caseInsensitive?"i":void 0)})):null}};(n=c.exec(a))&&!(0<=(r=h(n,!1)).segment.indexOf("?"));)d(r.id),this._params.push(e.fromPath(r.id,r.type,t.state)),this._segments.push(r.segment),u.push([r.segment,Ee(this._params)]),f=c.lastIndex;var p=(i=a.substring(f)).indexOf("?");if(0<=p){var m=i.substring(p);if(i=i.substring(0,p),0<m.length)for(f=0;n=l.exec(m);)d((r=h(n,!0)).id),this._params.push(e.fromSearch(r.id,r.type,t.state)),f=c.lastIndex}this._segments.push(i),this._compiled=u.map(function(e){return sn.apply(null,e)}).concat(sn(i))}return g.encodeDashes=function(e){return encodeURIComponent(e).replace(/-/g,function(e){return"%5C%"+e.charCodeAt(0).toString(16).toUpperCase()})},g.pathSegmentsAndParams=function(e){return xe(e._segments,e._params.filter(function(e){return e.location===m.DefType.PATH}).concat(void 0)).reduce(ge,[]).filter(function(e){return""!==e&&T(e)})},g.queryParams=function(e){return e._params.filter(function(e){return e.location===m.DefType.SEARCH})},g.compare=function(e,t){var n=function(e){return e._cache.weights=e._cache.weights||(t=e,t._cache.segments=t._cache.segments||t._cache.path.map(g.pathSegmentsAndParams).reduce(ge,[]).reduce(tt,[]).map(function(e){return D(e)?cn(e):e}).reduce(ge,[])).map(function(e){return"/"===e?1:D(e)?2:e instanceof At?3:void 0});var t},r=n(e),i=n(t);!function(e,t,n){for(var r=Math.max(e.length,t.length);e.length<r;)e.push(n);for(;t.length<r;)t.push(n)}(r,i,0);var a,o,s=xe(r,i);for(o=0;o<s.length;o++)if(0!==(a=s[o][0]-s[o][1]))return a;return 0},g.prototype.append=function(e){return this._children.push(e),e._cache={path:this._cache.path.concat(e),parent:this,pattern:null},e},g.prototype.isRoot=function(){return this._cache.path[0]===this},g.prototype.toString=function(){return this.pattern},g.prototype.exec=function(e,r,t,n){var i=this;void 0===r&&(r={});var a,o,s,c=(a=this._cache,o="pattern",s=function(){return new RegExp(["^",ye(i._cache.path.map(v("_compiled"))).join(""),!1===i.config.strict?"/?":"","$"].join(""),i.config.caseInsensitive?"i":void 0)},a[o]=a[o]||s()).exec(e);if(!c)return null;var l,u=this.parameters(),f=u.filter(function(e){return!e.isSearch()}),d=u.filter(function(e){return e.isSearch()}),h=this._cache.path.map(function(e){return e._segments.length-1}).reduce(function(e,t){return e+t}),p={};if(h!==c.length-1)throw new Error("Unbalanced capture group in route '"+this.pattern+"'");for(var m=0;m<h;m++){for(var g=f[m],_=c[m+1],b=0;b<g.replace.length;b++)g.replace[b].from===_&&(_=g.replace[b].to);_&&!0===g.array&&(void 0,_=de(de((l=function(e){return e.split("").reverse().join("")})(_).split(/-(?!\\)/),l),function(e){return e.replace(/\\-/g,"-")}).reverse()),T(_)&&(_=g.type.decode(_)),p[g.id]=g.value(_)}return d.forEach(function(e){for(var t=r[e.id],n=0;n<e.replace.length;n++)e.replace[n].from===t&&(t=e.replace[n].to);T(t)&&(t=e.type.decode(t)),p[e.id]=e.value(t)}),t&&(p["#"]=t),p},g.prototype.parameters=function(e){return void 0===e&&(e={}),!1===e.inherit?this._params:ye(this._cache.path.map(function(e){return e._params}))},g.prototype.parameter=function(r,e){var i=this;void 0===e&&(e={});var t=this._cache.parent;return function(){for(var e=0,t=i._params;e<t.length;e++){var n=t[e];if(n.id===r)return n}}()||!1!==e.inherit&&t&&t.parameter(r,e)||null},g.prototype.validates=function(r){return r=r||{},this.parameters().filter(function(e){return r.hasOwnProperty(e.id)}).map(function(e){return n=r[(t=e).id],!t||t.validates(n);var t,n}).reduce(pe,!0)},g.prototype.format=function(o){void 0===o&&(o={});var e=this._cache.path,t=e.map(g.pathSegmentsAndParams).reduce(ge,[]).map(function(e){return D(e)?e:r(e)}),n=e.map(g.queryParams).reduce(ge,[]).map(r);if(t.concat(n).filter(function(e){return!1===e.isValid}).length)return null;function r(e){var t=e.value(o[e.id]),n=e.validates(t),r=e.isDefaultValue(t),i=!!r&&e.squash,a=e.type.encode(t);return{param:e,value:t,isValid:n,isDefaultValue:r,squash:i,encoded:a}}var i=t.reduce(function(e,t){if(D(t))return e+t;var n=t.squash,r=t.encoded,i=t.param;return!0===n?e.match(/\/$/)?e.slice(0,-1):e:D(n)?e+n:!1!==n?e:null==r?e:P(r)?e+de(r,g.encodeDashes).join("-"):i.raw?e+r:e+encodeURIComponent(r)},""),a=n.map(function(e){var t=e.param,n=e.squash,r=e.encoded,i=e.isDefaultValue;if(!(null==r||i&&!1!==n)&&(P(r)||(r=[r]),0!==r.length))return t.raw||(r=de(r,encodeURIComponent)),r.map(function(e){return t.id+"="+e})}).filter(z).reduce(ge,[]).join("&");return i+(a?"?"+a:"")+(o["#"]?"#"+o["#"]:"")},g.nameValidator=/^\w+([-.]+\w+)*(?:\[\])?$/,g}(),fn=function(){return(fn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},dn=function(){function e(e){this.router=e}return e.prototype.fromConfig=function(e,t,n){return new At(e,t,m.DefType.CONFIG,this.router.urlService.config,n)},e.prototype.fromPath=function(e,t,n){return new At(e,t,m.DefType.PATH,this.router.urlService.config,n)},e.prototype.fromSearch=function(e,t,n){return new At(e,t,m.DefType.SEARCH,this.router.urlService.config,n)},e}(),hn=function(){function e(e){var r=this;this.router=e,this.paramFactory=new dn(this.router),this.caseInsensitive=function(e){return r.router.urlService.config.caseInsensitive(e)},this.defaultSquashPolicy=function(e){return r.router.urlService.config.defaultSquashPolicy(e)},this.strictMode=function(e){return r.router.urlService.config.strictMode(e)},this.type=function(e,t,n){return r.router.urlService.config.type(e,t,n)||r},W(this,{UrlMatcher:un,Param:At})}return e.prototype.compile=function(e,t){var n=this.router.urlService.config,r=t&&!t.state&&t.params;t=r?fn({state:{params:r}},t):t;var i={strict:n._isStrictMode,caseInsensitive:n._isCaseInsensitive};return new un(e,n.paramTypes,this.paramFactory,W(i,t))},e.prototype.isMatcher=function(n){if(!I(n))return!1;var r=!0;return H(un.prototype,function(e,t){k(e)&&(r=r&&T(n[t])&&k(n[t]))}),r},e.prototype.$get=function(){var e=this.router.urlService.config;return e.paramTypes.enqueue=!1,e.paramTypes._flushTypeQueue(),this},e}(),pn=function(){function e(e){this.router=e}return e.prototype.compile=function(e){return this.router.urlMatcherFactory.compile(e)},e.prototype.create=function(e,t){var n=this,r=Yt.isState,i=g([[D,function(e){return i(n.compile(e))}],[h(un),function(e){return n.fromUrlMatcher(e,t)}],[r,function(e){return n.fromState(e,n.router)}],[h(RegExp),function(e){return n.fromRegExp(e,t)}],[k,function(e){return new mn(e,t)}]]),a=i(e);if(!a)throw new Error("invalid 'what' in when()");return a},e.prototype.fromUrlMatcher=function(n,t){var e=t;D(t)&&(t=this.router.urlMatcherFactory.compile(t)),h(un)(t)&&(e=function(e){return t.format(e)});var r={urlMatcher:n,matchPriority:function(t){var e=n.parameters().filter(function(e){return e.isOptional});return e.length?e.filter(function(e){return t[e.id]}).length/e.length:1e-6},type:"URLMATCHER"};return W(new mn(function(e){var t=n.exec(e.path,e.search,e.hash);return n.validates(t)&&t},e),r)},e.prototype.fromState=function(r,i){var e={state:r,type:"STATE"};return W(this.fromUrlMatcher(r.url,function(e){var t=i.stateService,n=i.globals;t.href(r,e)!==t.href(n.current,n.params)&&t.transitionTo(r,e,{inherit:!0,source:"url"})}),e)},e.prototype.fromRegExp=function(t,e){if(t.global||t.sticky)throw new Error("Rule RegExp must not be global or sticky");var n=D(e)?function(n){return e.replace(/\$(\$|\d{1,2})/,function(e,t){return n["$"===t?0:Number(t)]})}:e,r={regexp:t,type:"REGEXP"};return W(new mn(function(e){return t.exec(e.path)},n),r)},e.isUrlRule=function(t){return t&&["type","match","handler"].every(function(e){return T(t[e])})},e}(),mn=function(e,t){var n=this;this.match=e,this.type="RAW",this.matchPriority=function(e){return 0-n.$id},this.handler=t||z};var gn,_n=function(){function e(e){var r=this;this.router=e,this.sync=function(e){return r.router.urlService.sync(e)},this.listen=function(e){return r.router.urlService.listen(e)},this.deferIntercept=function(e){return r.router.urlService.deferIntercept(e)},this.match=function(e){return r.router.urlService.match(e)},this.initial=function(e){return r.router.urlService.rules.initial(e)},this.otherwise=function(e){return r.router.urlService.rules.otherwise(e)},this.removeRule=function(e){return r.router.urlService.rules.removeRule(e)},this.rule=function(e){return r.router.urlService.rules.rule(e)},this.rules=function(){return r.router.urlService.rules.rules()},this.sort=function(e){return r.router.urlService.rules.sort(e)},this.when=function(e,t,n){return r.router.urlService.rules.when(e,t,n)},this.urlRuleFactory=new pn(e)}return e.prototype.update=function(e){var t=this.router.locationService;e?this.location=t.url():t.url()!==this.location&&t.url(this.location,!0)},e.prototype.push=function(e,t,n){var r=n&&!!n.replace;this.router.urlService.url(e.format(t||{}),r)},e.prototype.href=function(e,t,n){var r=e.format(t);if(null==r)return null;n=n||{absolute:!1};var i,a,o,s,c=this.router.urlService.config,l=c.html5Mode();if(l||null===r||(r="#"+c.hashPrefix()+r),i=r,a=l,o=n.absolute,r="/"===(s=c.baseHref())?i:a?Ke(s)+i:o?s.slice(1)+i:i,!n.absolute||!r)return r;var u=!l&&r?"/":"",f=c.port(),d=80===f||443===f?"":":"+f;return[c.protocol(),"://",c.host(),d,u,r].join("")},Object.defineProperty(e.prototype,"interceptDeferred",{get:function(){return this.router.urlService.interceptDeferred},enumerable:!0,configurable:!0}),e}(),bn=function(){function c(e){var n=this;this.router=e,this._uiViews=[],this._viewConfigs=[],this._viewConfigFactories={},this._listeners=[],this._pluginapi={_rootViewContext:this._rootViewContext.bind(this),_viewConfigFactory:this._viewConfigFactory.bind(this),_registeredUIView:function(t){return ue(n._uiViews,function(e){return n.router.$id+"."+e.id===t})},_registeredUIViews:function(){return n._uiViews},_activeViewConfigs:function(){return n._viewConfigs},_onSync:function(e){return n._listeners.push(e),function(){return Z(n._listeners,e)}}}}return c.normalizeUIViewTarget=function(e,t){void 0===t&&(t="");var n=t.split("@"),r=n[0]||"$default",i=D(n[1])?n[1]:"^",a=/^(\^(?:\.\^)*)\.(.*$)/.exec(r);a&&(i=a[1],r=a[2]),"!"===r.charAt(0)&&(r=r.substr(1),i="");/^(\^(?:\.\^)*)$/.exec(i)?i=i.split(".").reduce(function(e,t){return e.parent},e).name:"."===i&&(i=e.name);return{uiViewName:r,uiViewContextAnchor:i}},c.prototype._rootViewContext=function(e){return this._rootContext=e||this._rootContext},c.prototype._viewConfigFactory=function(e,t){this._viewConfigFactories[e]=t},c.prototype.createViewConfig=function(e,t){var n=this._viewConfigFactories[t.$type];if(!n)throw new Error("ViewService: No view config factory registered for type "+t.$type);var r=n(e,t);return P(r)?r:[r]},c.prototype.deactivateViewConfig=function(e){mt.traceViewServiceEvent("<- Removing",e),Z(this._viewConfigs,e)},c.prototype.activateViewConfig=function(e){mt.traceViewServiceEvent("-> Registering",e),this._viewConfigs.push(e)},c.prototype.sync=function(){var n=this,r=this._uiViews.map(function(e){return[e.fqn,e]}).reduce(ke,{});function i(e){for(var t=e.viewDecl.$context,n=0;++n&&t.parent;)t=t.parent;return n}var a=l(function(e,t,n,r){return t*(e(n)-e(r))}),e=this._uiViews.sort(a(function(e){var t=function(e){return e&&e.parent?t(e.parent)+1:1};return 1e4*e.fqn.split(".").length+t(e.creationContext)},1)).map(function(e){var t=n._viewConfigs.filter(c.matches(r,e));return 1<t.length&&t.sort(a(i,-1)),{uiView:e,viewConfig:t[0]}}),t=e.map(function(e){return e.viewConfig}),o=this._viewConfigs.filter(function(e){return!Q(t,e)}).map(function(e){return{uiView:void 0,viewConfig:e}});e.forEach(function(e){-1!==n._uiViews.indexOf(e.uiView)&&e.uiView.configUpdated(e.viewConfig)});var s=e.concat(o);this._listeners.forEach(function(e){return e(s)}),mt.traceViewSync(s)},c.prototype.registerUIView=function(t){mt.traceViewServiceUIViewEvent("-> Registering",t);var e=this._uiViews;return e.filter(function(e){return e.fqn===t.fqn&&e.$type===t.$type}).length&&mt.traceViewServiceUIViewEvent("!!!! duplicate uiView named:",t),e.push(t),this.sync(),function(){-1!==e.indexOf(t)?(mt.traceViewServiceUIViewEvent("<- Deregistering",t),Z(e)(t)):mt.traceViewServiceUIViewEvent("Tried removing non-registered uiView",t)}},c.prototype.available=function(){return this._uiViews.map(v("fqn"))},c.prototype.active=function(){return this._uiViews.filter(v("$config")).map(v("name"))},c.matches=function(s,c){return function(e){if(c.$type!==e.viewDecl.$type)return!1;var t=e.viewDecl,n=t.$uiViewName.split("."),r=c.fqn.split(".");if(!q(n,r.slice(0-n.length)))return!1;var i=1-n.length||void 0,a=r.slice(0,i).join("."),o=s[a].creationContext;return t.$uiViewContextAnchor===(o&&o.name)}},c}(),vn=function(){function e(){this.params=new Tt,this.lastStartedTransitionId=-1,this.transitionHistory=new Ne([],1),this.successfulTransitions=new Ne([],1)}return e.prototype.dispose=function(){this.transitionHistory.clear(),this.successfulTransitions.clear(),this.transition=null},e}();function yn(e){if(!(k(e)||D(e)||h(kt)(e)||kt.isDef(e)))throw new Error("'handler' must be a string, function, TargetState, or have a state: 'newtarget' property");return k(e)?e:p(e)}gn=function(e,t){var n,r,i,a,o,s,c,l,u=(n=e,(t.priority||0)-(n.priority||0));return 0!==u?u:(r=t,0!==(u=((i={STATE:4,URLMATCHER:4,REGEXP:3,RAW:2,OTHER:1})[e.type]||0)-(i[r.type]||0))?u:(o=t,0!==(u=(a=e).urlMatcher&&o.urlMatcher?un.compare(a.urlMatcher,o.urlMatcher):0)?u:(c=t,(l={STATE:!0,URLMATCHER:!0})[(s=e).type]&&l[c.type]?0:(s.$id||0)-(c.$id||0))))};var wn=function(){function e(e){this.router=e,this._sortFn=gn,this._rules=[],this._id=0,this.urlRuleFactory=new pn(e)}return e.prototype.dispose=function(e){this._rules=[],delete this._otherwiseFn},e.prototype.initial=function(e){var t=yn(e);this.rule(this.urlRuleFactory.create(function(e,t){return 0===t.globals.transitionHistory.size()&&!!/^\/?$/.exec(e.path)},t))},e.prototype.otherwise=function(e){var t=yn(e);this._otherwiseFn=this.urlRuleFactory.create(p(!0),t),this._sorted=!1},e.prototype.removeRule=function(e){Z(this._rules,e)},e.prototype.rule=function(e){var t=this;if(!pn.isUrlRule(e))throw new Error("invalid rule");return e.$id=this._id++,e.priority=e.priority||0,this._rules.push(e),this._sorted=!1,function(){return t.removeRule(e)}},e.prototype.rules=function(){return this.ensureSorted(),this._rules.concat(this._otherwiseFn?[this._otherwiseFn]:[])},e.prototype.sort=function(e){for(var t=this.stableSort(this._rules,this._sortFn=e||this._sortFn),n=0,r=0;r<t.length;r++)t[r]._group=n,r<t.length-1&&0!==this._sortFn(t[r],t[r+1])&&n++;this._rules=t,this._sorted=!0},e.prototype.ensureSorted=function(){this._sorted||this.sort()},e.prototype.stableSort=function(e,r){var t=e.map(function(e,t){return{elem:e,idx:t}});return t.sort(function(e,t){var n=r(e.elem,t.elem);return 0===n?e.idx-t.idx:n}),t.map(function(e){return e.elem})},e.prototype.when=function(e,t,n){var r=this.urlRuleFactory.create(e,t);return T(n&&n.priority)&&(r.priority=n.priority),this.rule(r),r},e}(),Cn=function(){function e(e){var t=this;this.router=e,this.paramTypes=new St,this._isCaseInsensitive=!1,this._isStrictMode=!0,this._defaultSquashPolicy=!1,this.dispose=function(){return t.paramTypes.dispose()},this.baseHref=function(){return t.router.locationConfig.baseHref()},this.hashPrefix=function(e){return t.router.locationConfig.hashPrefix(e)},this.host=function(){return t.router.locationConfig.host()},this.html5Mode=function(){return t.router.locationConfig.html5Mode()},this.port=function(){return t.router.locationConfig.port()},this.protocol=function(){return t.router.locationConfig.protocol()}}return e.prototype.caseInsensitive=function(e){return this._isCaseInsensitive=T(e)?e:this._isCaseInsensitive},e.prototype.defaultSquashPolicy=function(e){if(T(e)&&!0!==e&&!1!==e&&!D(e))throw new Error("Invalid squash policy: "+e+". Valid policies: false, true, arbitrary-string");return this._defaultSquashPolicy=T(e)?e:this._defaultSquashPolicy},e.prototype.strictMode=function(e){return this._isStrictMode=T(e)?e:this._isStrictMode},e.prototype.type=function(e,t,n){var r=this.paramTypes.type(e,t,n);return T(t)?this:r},e}(),An=function(){function e(e){var r=this;this.router=e,this.interceptDeferred=!1,this.rules=new wn(this.router),this.config=new Cn(this.router),this.url=function(e,t,n){return r.router.locationService.url(e,t,n)},this.path=function(){return r.router.locationService.path()},this.search=function(){return r.router.locationService.search()},this.hash=function(){return r.router.locationService.hash()},this.onChange=function(e){return r.router.locationService.onChange(e)}}return e.prototype.dispose=function(){this.listen(!1),this.rules.dispose()},e.prototype.parts=function(){return{path:this.path(),search:this.search(),hash:this.hash()}},e.prototype.sync=function(e){if(!e||!e.defaultPrevented){var t=this.router,n=t.urlService,r=t.stateService,i={path:n.path(),search:n.search(),hash:n.hash()},a=this.match(i);g([[D,function(e){return n.url(e,!0)}],[kt.isDef,function(e){return r.go(e.state,e.params,e.options)}],[h(kt),function(e){return r.go(e.state(),e.params(),e.options())}]])(a&&a.rule.handler(a.match,i,this.router))}},e.prototype.listen=function(e){var t=this;if(!1!==e)return this._stopListeningFn=this._stopListeningFn||this.router.urlService.onChange(function(e){return t.sync(e)});this._stopListeningFn&&this._stopListeningFn(),delete this._stopListeningFn},e.prototype.deferIntercept=function(e){void 0===e&&(e=!0),this.interceptDeferred=e},e.prototype.match=function(e){var t=this;e=W({path:"",search:{},hash:""},e);for(var n,r,i,a=this.rules.rules(),o=0;o<a.length&&(!n||n.rule._group===a[o]._group);o++){var s=(r=a[o],void 0,(i=r.match(e,t.router))&&{match:i,rule:r,weight:r.matchPriority(i)});n=!n||s&&s.weight>n.weight?s:n}return n},e}(),Sn=0,Tn=N("LocationServices",["url","path","search","hash","onChange"]),xn=N("LocationConfig",["port","protocol","host","baseHref","html5Mode","hashPrefix"]),kn=function(){function e(e,t){void 0===e&&(e=Tn),void 0===t&&(t=xn),this.locationService=e,this.locationConfig=t,this.$id=Sn++,this._disposed=!1,this._disposables=[],this.trace=mt,this.viewService=new bn(this),this.globals=new vn,this.transitionService=new Kn(this),this.urlMatcherFactory=new hn(this),this.urlRouter=new _n(this),this.urlService=new An(this),this.stateRegistry=new Xt(this),this.stateService=new Qn(this),this._plugins={},this.viewService._pluginapi._rootViewContext(this.stateRegistry.root()),this.globals.$current=this.stateRegistry.root(),this.globals.current=this.globals.$current.self,this.disposable(this.globals),this.disposable(this.stateService),this.disposable(this.stateRegistry),this.disposable(this.transitionService),this.disposable(this.urlService),this.disposable(e),this.disposable(t)}return e.prototype.disposable=function(e){this._disposables.push(e)},e.prototype.dispose=function(e){var t=this;e&&k(e.dispose)?e.dispose(this):(this._disposed=!0,this._disposables.slice().forEach(function(e){try{"function"==typeof e.dispose&&e.dispose(t),Z(t._disposables,e)}catch(e){}}))},e.prototype.plugin=function(e,t){void 0===t&&(t={});var n=new e(this,t);if(!n.name)throw new Error("Required property `name` missing on plugin: "+n);return this._disposables.push(n),this._plugins[n.name]=n},e.prototype.getPlugin=function(e){return e?this._plugins[e]:he(this._plugins)},e}();function En(t){t.addResolvable(Pt.fromData(kn,t.router),""),t.addResolvable(Pt.fromData(on,t),""),t.addResolvable(Pt.fromData("$transition$",t),""),t.addResolvable(Pt.fromData("$stateParams",t.params()),""),t.entering().forEach(function(e){t.addResolvable(Pt.fromData("$state$",e),e)})}var Dn=Q(["$transition$",on]),In=function(e){var t=he(e.treeChanges()).reduce(ge,[]).reduce(ve,[]),n=function(e){return Dn(e.token)?Pt.fromData(e.token,null):e};t.forEach(function(e){e.resolvables=e.resolvables.map(n)})},Pn=function(t){var e=t.to().redirectTo;if(e){var n=t.router.stateService;return k(e)?L.$q.when(e(t)).then(r):r(e)}function r(e){if(e)return e instanceof kt?e:D(e)?n.target(e,t.params(),t.options()):e.state||e.params?n.target(e.state||t.to(),e.params||t.params(),t.options()):void 0}};function Mn(n){return function(e,t){return(0,t.$$state()[n])(e,t)}}var $n=Mn("onExit"),On=Mn("onRetain"),Rn=Mn("onEnter"),Nn=function(e){return new Nt(e.treeChanges().to).resolvePath("EAGER",e).then(V)},Ln=function(e,t){return new Nt(e.treeChanges().to).subContext(t.$$state()).resolvePath("LAZY",e).then(V)},Fn=function(e){return new Nt(e.treeChanges().to).resolvePath("LAZY",e).then(V)},Gn=function(e){var t=L.$q,n=e.views("entering");if(n.length)return t.all(n.map(function(e){return t.when(e.load())})).then(V)},jn=function(e){var t=e.views("entering"),n=e.views("exiting");if(t.length||n.length){var r=e.router.viewService;n.forEach(function(e){return r.deactivateViewConfig(e)}),t.forEach(function(e){return r.activateViewConfig(e)}),r.sync()}},Bn=function(e){var t=e.router.globals,n=function(){t.transition===e&&(t.transition=null)};e.onSuccess({},function(){t.successfulTransitions.enqueue(e),t.$current=e.$to(),t.current=t.$current.self,De(e.params(),t.params)},{priority:1e4}),e.promise.then(n,n)},Un=function(e){var t=e.options(),n=e.router.stateService,r=e.router.urlRouter;if("url"!==t.source&&t.location&&n.$current.navigable){var i={replace:"replace"===t.location};r.push(n.$current.navigable.url,n.params,i)}r.update(!0)},Hn=function(o){var s=o.router;var e=o.entering().filter(function(e){return!!e.$$state().lazyLoad}).map(function(e){return Wn(o,e)});return L.$q.all(e).then(function(){if("url"!==o.originalTransition().options().source){var e=o.targetState();return s.stateService.target(e.identifier(),e.params(),e.options())}var t=s.urlService,n=t.match(t.parts()),r=n&&n.rule;if(r&&"STATE"===r.type){var i=r.state,a=n.match;return s.stateService.target(i,a,o.options())}s.urlService.sync()})};function Wn(t,n){var r=n.$$state().lazyLoad,e=r._promise;if(!e){e=r._promise=L.$q.when(r(t,n)).then(function(e){e&&Array.isArray(e.states)&&e.states.forEach(function(e){return t.router.stateRegistry.register(e)});return e}).then(function(e){return delete n.lazyLoad,delete n.$$state().lazyLoad,delete r._promise,e},function(e){return delete r._promise,L.$q.reject(e)})}return e}var qn=function(e,t,n,r,i,a,o,s){void 0===i&&(i=!1),void 0===a&&(a=Jt.HANDLE_RESULT),void 0===o&&(o=Jt.REJECT_ERROR),void 0===s&&(s=!1),this.name=e,this.hookPhase=t,this.hookOrder=n,this.criteriaMatchPath=r,this.reverseSort=i,this.getResultHandler=a,this.getErrorHandler=o,this.synchronous=s};function zn(e){var t=e._ignoredReason();if(t){mt.traceTransitionIgnored(e);var n=e.router.globals.transition;return"SameAsCurrent"===t&&n&&n.abort(),Fe.ignored().toPromise()}}function Vn(e){if(!e.valid())throw new Error(e.error().toString())}var Yn={location:!0,relative:null,inherit:!1,notify:!0,reload:!1,supercede:!0,custom:{},current:function(){return null},source:"unknown"},Kn=function(){function e(e){this._transitionCount=0,this._eventTypes=[],this._registeredHooks={},this._criteriaPaths={},this._router=e,this.$view=e.viewService,this._deregisterHookFns={},this._pluginapi=Y(p(this),{},p(this),["_definePathType","_defineEvent","_getPathTypes","_getEvents","getHooks"]),this._defineCorePaths(),this._defineCoreEvents(),this._registerCoreTransitionHooks(),e.globals.successfulTransitions.onEvict(In)}return e.prototype.onCreate=function(e,t,n){},e.prototype.onBefore=function(e,t,n){},e.prototype.onStart=function(e,t,n){},e.prototype.onExit=function(e,t,n){},e.prototype.onRetain=function(e,t,n){},e.prototype.onEnter=function(e,t,n){},e.prototype.onFinish=function(e,t,n){},e.prototype.onSuccess=function(e,t,n){},e.prototype.onError=function(e,t,n){},e.prototype.dispose=function(e){he(this._registeredHooks).forEach(function(t){return t.forEach(function(e){e._deregistered=!0,Z(t,e)})})},e.prototype.create=function(e,t){return new on(e,t,this._router)},e.prototype._defineCoreEvents=function(){var e=m.TransitionHookPhase,t=Jt,n=this._criteriaPaths;this._defineEvent("onCreate",e.CREATE,0,n.to,!1,t.LOG_REJECTED_RESULT,t.THROW_ERROR,!0),this._defineEvent("onBefore",e.BEFORE,0,n.to),this._defineEvent("onStart",e.RUN,0,n.to),this._defineEvent("onExit",e.RUN,100,n.exiting,!0),this._defineEvent("onRetain",e.RUN,200,n.retained),this._defineEvent("onEnter",e.RUN,300,n.entering),this._defineEvent("onFinish",e.RUN,400,n.to),this._defineEvent("onSuccess",e.SUCCESS,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0),this._defineEvent("onError",e.ERROR,0,n.to,!1,t.LOG_REJECTED_RESULT,t.LOG_ERROR,!0)},e.prototype._defineCorePaths=function(){var e=m.TransitionHookScope.STATE,t=m.TransitionHookScope.TRANSITION;this._definePathType("to",t),this._definePathType("from",t),this._definePathType("exiting",e),this._definePathType("retained",e),this._definePathType("entering",e)},e.prototype._defineEvent=function(e,t,n,r,i,a,o,s){void 0===i&&(i=!1),void 0===a&&(a=Jt.HANDLE_RESULT),void 0===o&&(o=Jt.REJECT_ERROR),void 0===s&&(s=!1);var c=new qn(e,t,n,r,i,a,o,s);this._eventTypes.push(c),nn(this,this,c)},e.prototype._getEvents=function(t){return(T(t)?this._eventTypes.filter(function(e){return e.hookPhase===t}):this._eventTypes.slice()).sort(function(e,t){var n=e.hookPhase-t.hookPhase;return 0===n?e.hookOrder-t.hookOrder:n})},e.prototype._definePathType=function(e,t){this._criteriaPaths[e]={name:e,scope:t}},e.prototype._getPathTypes=function(){return this._criteriaPaths},e.prototype.getHooks=function(e){return this._registeredHooks[e]},e.prototype._registerCoreTransitionHooks=function(){var e=this._deregisterHookFns;e.addCoreResolves=this.onCreate({},En),e.ignored=this.onBefore({},zn,{priority:-9999}),e.invalid=this.onBefore({},Vn,{priority:-1e4}),e.redirectTo=this.onStart({to:function(e){return!!e.redirectTo}},Pn),e.onExit=this.onExit({exiting:function(e){return!!e.onExit}},$n),e.onRetain=this.onRetain({retained:function(e){return!!e.onRetain}},On),e.onEnter=this.onEnter({entering:function(e){return!!e.onEnter}},Rn),e.eagerResolve=this.onStart({},Nn,{priority:1e3}),e.lazyResolve=this.onEnter({entering:p(!0)},Ln,{priority:1e3}),e.resolveAll=this.onFinish({},Fn,{priority:1e3}),e.loadViews=this.onFinish({},Gn),e.activateViews=this.onSuccess({},jn),e.updateGlobals=this.onCreate({},Bn),e.updateUrl=this.onSuccess({},Un,{priority:9999}),e.lazyLoad=this.onBefore({entering:function(e){return!!e.lazyLoad}},Hn)},e}(),Qn=function(){function n(e){this.router=e,this.invalidCallbacks=[],this._defaultErrorHandler=function(e){e instanceof Error&&e.stack?(console.error(e),console.error(e.stack)):e instanceof Fe?(console.error(e.toString()),e.detail&&e.detail.stack&&console.error(e.detail.stack)):console.error(e)};var t=Object.keys(n.prototype).filter(f(Q(["current","$current","params","transition"])));Y(p(n.prototype),this,p(this),t)}return Object.defineProperty(n.prototype,"transition",{get:function(){return this.router.globals.transition},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"params",{get:function(){return this.router.globals.params},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"current",{get:function(){return this.router.globals.current},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"$current",{get:function(){return this.router.globals.$current},enumerable:!0,configurable:!0}),n.prototype.dispose=function(){this.defaultErrorHandler(V),this.invalidCallbacks=[]},n.prototype._handleInvalidTargetState=function(e,n){var r=this,i=Et.makeTargetState(this.router.stateRegistry,e),t=this.router.globals,a=function(){return t.transitionHistory.peekTail()},o=a(),s=new Ne(this.invalidCallbacks.slice()),c=new Nt(e).injector(),l=function(e){if(e instanceof kt){var t=e;return(t=r.target(t.identifier(),t.params(),t.options())).valid()?a()!==o?Fe.superseded().toPromise():r.transitionTo(t.identifier(),t.params(),t.options()):Fe.invalid(t.error()).toPromise()}};return function t(){var e=s.dequeue();return void 0===e?Fe.invalid(n.error()).toPromise():L.$q.when(e(n,i,c)).then(l).then(function(e){return e||t()})}()},n.prototype.onInvalid=function(e){return this.invalidCallbacks.push(e),function(){Z(this.invalidCallbacks)(e)}.bind(this)},n.prototype.reload=function(e){return this.transitionTo(this.current,this.params,{reload:!T(e)||e,inherit:!1,notify:!1})},n.prototype.go=function(e,t,n){var r=re(n,{relative:this.$current,inherit:!0},Yn);return this.transitionTo(e,t,r)},n.prototype.target=function(e,t,n){if(void 0===n&&(n={}),I(n.reload)&&!n.reload.name)throw new Error("Invalid reload state object");var r=this.router.stateRegistry;if(n.reloadState=!0===n.reload?r.root():r.matcher.find(n.reload,n.relative),n.reload&&!n.reloadState)throw new Error("No such reload state '"+(D(n.reload)?n.reload:n.reload.name)+"'");return new kt(this.router.stateRegistry,e,t,n)},n.prototype.getCurrentPath=function(){var e=this,t=this.router.globals.successfulTransitions.peekTail();return t?t.treeChanges().to:[new xt(e.router.stateRegistry.root())]},n.prototype.transitionTo=function(e,t,n){var a=this;void 0===t&&(t={}),void 0===n&&(n={});var o=this.router,s=o.globals;n=re(n,Yn);var r=function(){return s.transition};n=W(n,{current:r});var i=this.target(e,t,n),c=this.getCurrentPath();if(!i.exists())return this._handleInvalidTargetState(c,i);if(!i.valid())return Oe(i.error());if(!1===n.supercede&&r())return Fe.ignored("Another transition is in progress and supercede has been set to false in TransitionOptions for the transition. So the transition was ignored in favour of the existing one in progress.").toPromise();var l=function(i){return function(e){if(e instanceof Fe){var t=o.globals.lastStartedTransitionId<=i.$id;if(e.type===m.RejectType.IGNORED)return t&&o.urlRouter.update(),L.$q.when(s.current);var n=e.detail;if(e.type===m.RejectType.SUPERSEDED&&e.redirected&&n instanceof kt){var r=i.redirect(n);return r.run().catch(l(r))}if(e.type===m.RejectType.ABORTED)return t&&o.urlRouter.update(),L.$q.reject(e)}return a.defaultErrorHandler()(e),L.$q.reject(e)}},u=this.router.transitionService.create(c,i),f=u.run().catch(l(u));return $e(f),W(f,{transition:u})},n.prototype.is=function(e,t,n){n=re(n,{relative:this.$current});var r=this.router.stateRegistry.matcher.find(e,n.relative);if(T(r)){if(this.$current!==r)return!1;if(!t)return!0;var i=r.parameters({inherit:!0,matchingKeys:t});return At.equals(i,At.values(i,t),this.params)}},n.prototype.includes=function(e,t,n){n=re(n,{relative:this.$current});var r=D(e)&&Re.fromString(e);if(r){if(!r.matches(this.$current.name))return!1;e=this.$current.name}var i=this.router.stateRegistry.matcher.find(e,n.relative),a=this.$current.includes;if(T(i)){if(!T(a[i.name]))return!1;if(!t)return!0;var o=i.parameters({inherit:!0,matchingKeys:t});return At.equals(o,At.values(o,t),this.params)}},n.prototype.href=function(e,t,n){n=re(n,{lossy:!0,inherit:!0,absolute:!1,relative:this.$current}),t=t||{};var r=this.router.stateRegistry.matcher.find(e,n.relative);if(!T(r))return null;n.inherit&&(t=this.params.$inherit(t,this.$current,r));var i=r&&n.lossy?r.navigable:r;return i&&void 0!==i.url&&null!==i.url?this.router.urlRouter.href(i.url,t,{absolute:n.absolute}):null},n.prototype.defaultErrorHandler=function(e){return this._defaultErrorHandler=e||this._defaultErrorHandler},n.prototype.get=function(e,t){var n=this.router.stateRegistry;return 0===arguments.length?n.get():n.get(e,t||this.$current)},n.prototype.lazyLoad=function(e,t){var n=this.get(e);if(!n||!n.lazyLoad)throw new Error("Can not lazy load "+e);var r=this.getCurrentPath(),i=Et.makeTargetState(this.router.stateRegistry,r);return Wn(t=t||this.router.transitionService.create(r,i),n)},n}(),Xn={when:function(n){return new Promise(function(e,t){return e(n)})},reject:function(n){return new Promise(function(e,t){t(n)})},defer:function(){var n={};return n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n},all:function(e){if(P(e))return Promise.all(e);if(I(e)){var t=Object.keys(e).map(function(t){return e[t].then(function(e){return{key:t,val:e}})});return Xn.all(t).then(function(e){return e.reduce(function(e,t){return e[t.key]=t.val,e},{})})}}},Zn={},Jn=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,er=/([^\s,]+)/g,tr={get:function(e){return Zn[e]},has:function(e){return null!=tr.get(e)},invoke:function(e,t,n){var r=W({},Zn,n||{}),i=tr.annotate(e),a=Ce(function(e){return r.hasOwnProperty(e)},function(e){return"DI can't find injectable: '"+e+"'"}),o=i.filter(a).map(function(e){return r[e]});return k(e)?e.apply(t,o):e.slice(-1)[0].apply(t,o)},annotate:function(e){if(!O(e))throw new Error("Not an injectable function: "+e);if(e&&e.$inject)return e.$inject;if(P(e))return e.slice(0,-1);var t=e.toString().replace(Jn,"");return t.slice(t.indexOf("(")+1,t.indexOf(")")).match(er)||[]}},nr=function(e,t){var n=t[0],r=t[1];return e.hasOwnProperty(n)?P(e[n])?e[n].push(r):e[n]=[e[n],r]:e[n]=r,e},rr=function(e){return e.split("&").filter(z).map(Ze).reduce(nr,{})};function ir(e){var t=function(e){return e||""},n=Qe(e).map(t),r=n[0],i=n[1],a=Xe(r).map(t);return{path:a[0],search:a[1],hash:i,url:e}}var ar=function(e){var t=e.path(),n=e.search(),r=e.hash(),i=Object.keys(n).map(function(t){var e=n[t];return(P(e)?e:[e]).map(function(e){return t+"="+e})}).reduce(ge,[]).join("&");return t+(i?"?"+i:"")+(r?"#"+r:"")};function or(r,i,a,o){return function(e){var t=e.locationService=new a(e),n=e.locationConfig=new o(e,i);return{name:r,service:t,configuration:n,dispose:function(e){e.dispose(t),e.dispose(n)}}}}var sr,cr,lr,ur=function(){function e(e,t){var n=this;this.fireAfterUpdate=t,this._listeners=[],this._listener=function(t){return n._listeners.forEach(function(e){return e(t)})},this.hash=function(){return ir(n._get()).hash},this.path=function(){return ir(n._get()).path},this.search=function(){return rr(ir(n._get()).search)},this._location=G.location,this._history=G.history}return e.prototype.url=function(t,e){return void 0===e&&(e=!0),T(t)&&t!==this._get()&&(this._set(null,null,t,e),this.fireAfterUpdate&&this._listeners.forEach(function(e){return e({url:t})})),ar(this)},e.prototype.onChange=function(e){var t=this;return this._listeners.push(e),function(){return Z(t._listeners,e)}},e.prototype.dispose=function(e){ne(this._listeners)},e}(),fr=(sr=function(e,t){return(sr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}sr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),dr=function(n){function e(e){var t=n.call(this,e,!1)||this;return G.addEventListener("hashchange",t._listener,!1),t}return fr(e,n),e.prototype._get=function(){return Je(this._location.hash)},e.prototype._set=function(e,t,n,r){this._location.hash=n},e.prototype.dispose=function(e){n.prototype.dispose.call(this,e),G.removeEventListener("hashchange",this._listener)},e}(ur),hr=(cr=function(e,t){return(cr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}cr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),pr=function(t){function e(e){return t.call(this,e,!0)||this}return hr(e,t),e.prototype._get=function(){return this._url},e.prototype._set=function(e,t,n,r){this._url=n},e}(ur),mr=(lr=function(e,t){return(lr=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}lr(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),gr=function(n){function e(e){var t=n.call(this,e,!0)||this;return t._config=e.urlService.config,G.addEventListener("popstate",t._listener,!1),t}return mr(e,n),e.prototype._getBasePrefix=function(){return Ke(this._config.baseHref())},e.prototype._get=function(){var e=this._location,t=e.pathname,n=e.hash,r=e.search;r=Xe(r)[1],n=Qe(n)[1];var i=this._getBasePrefix(),a=t===this._config.baseHref(),o=t.substr(0,i.length)===i;return(t=a?"/":o?t.substring(i.length):t)+(r?"?"+r:"")+(n?"#"+n:"")},e.prototype._set=function(e,t,n,r){var i=this._getBasePrefix(),a=n&&"/"!==n[0]?"/":"",o=""===n||"/"===n?this._config.baseHref():i+a+n;r?this._history.replaceState(e,t,o):this._history.pushState(e,t,o)},e.prototype.dispose=function(e){n.prototype.dispose.call(this,e),G.removeEventListener("popstate",this._listener)},e}(ur),_r=function(){var t=this;this.dispose=V,this._baseHref="",this._port=80,this._protocol="http",this._host="localhost",this._hashPrefix="",this.port=function(){return t._port},this.protocol=function(){return t._protocol},this.host=function(){return t._host},this.baseHref=function(){return t._baseHref},this.html5Mode=function(){return!1},this.hashPrefix=function(e){return T(e)?t._hashPrefix=e:t._hashPrefix}},br=function(){function e(e,t){void 0===t&&(t=!1),this._isHtml5=t,this._baseHref=void 0,this._hashPrefix=""}return e.prototype.port=function(){return location.port?Number(location.port):"https"===this.protocol()?443:80},e.prototype.protocol=function(){return location.protocol.replace(/:/g,"")},e.prototype.host=function(){return location.hostname},e.prototype.html5Mode=function(){return this._isHtml5},e.prototype.hashPrefix=function(e){return T(e)?this._hashPrefix=e:this._hashPrefix},e.prototype.baseHref=function(e){return T(e)&&(this._baseHref=e),w(this._baseHref)&&(this._baseHref=this.getBaseHref()),this._baseHref},e.prototype.getBaseHref=function(){var e=document.getElementsByTagName("base")[0];return e&&e.href?e.href.replace(/^([^/:]*:)?\/\/[^/]*/,""):this._isHtml5?"/":location.pathname||"/"},e.prototype.dispose=function(){},e}();function vr(e){return L.$injector=tr,{name:"vanilla.services",$q:L.$q=Xn,$injector:tr,dispose:function(){return null}}}var yr=or("vanilla.hashBangLocation",!1,dr,br),wr=or("vanilla.pushStateLocation",!0,gr,br),Cr=or("vanilla.memoryLocation",!1,pr,_r),Ar=function(){function e(){}return e.prototype.dispose=function(e){},e}(),Sr=Object.freeze({__proto__:null,root:G,fromJson:B,toJson:U,forEach:H,extend:W,equals:q,identity:z,noop:V,createProxyFunctions:Y,inherit:K,inArray:Q,_inArray:X,removeFrom:Z,_removeFrom:J,pushTo:ee,_pushTo:te,deregAll:ne,defaults:re,mergeR:ie,ancestors:ae,pick:oe,omit:se,pluck:ce,filter:le,find:ue,mapObj:fe,map:de,values:he,allTrueR:pe,anyTrueR:me,unnestR:ge,flattenR:_e,pushR:be,uniqR:ve,unnest:ye,flatten:we,assertPredicate:Ce,assertMap:Ae,assertFn:Se,pairs:Te,arrayTuples:xe,applyPairs:ke,tail:Ee,copy:De,_extend:Ie,silenceUncaughtInPromise:$e,silentRejection:Oe,makeStub:N,services:L,Glob:Re,curry:l,compose:n,pipe:c,prop:v,propEq:_,parse:S,not:f,and:i,or:a,all:u,any:d,is:h,eq:o,val:p,invoke:s,pattern:g,isUndefined:w,isDefined:T,isNull:C,isNullOrUndefined:x,isFunction:k,isNumber:E,isString:D,isObject:I,isArray:P,isDate:M,isRegExp:$,isInjectable:O,isPromise:R,Queue:Ne,maxLength:Ge,padString:je,kebobString:Be,functionToString:Ue,fnToString:He,stringify:ze,beforeAfterSubstr:Ve,hostRegex:Ye,stripLastPathElement:Ke,splitHash:Qe,splitQuery:Xe,splitEqual:Ze,trimHashVal:Je,splitOnDelim:et,joinNeighborsR:tt,get Category(){return m.Category},Trace:pt,trace:mt,get DefType(){return m.DefType},Param:At,ParamTypes:St,StateParams:Tt,ParamType:gt,PathNode:xt,PathUtils:Et,resolvePolicies:Dt,defaultResolvePolicy:It,Resolvable:Pt,NATIVE_INJECTOR_TOKEN:Rt,ResolveContext:Nt,resolvablesBuilder:Wt,StateBuilder:Vt,StateObject:Yt,StateMatcher:Kt,StateQueueManager:Qt,StateRegistry:Xt,StateService:Qn,TargetState:kt,get TransitionHookPhase(){return m.TransitionHookPhase},get TransitionHookScope(){return m.TransitionHookScope},HookBuilder:rn,matchState:en,RegisteredHook:tn,makeEvent:nn,get RejectType(){return m.RejectType},Rejection:Fe,Transition:on,TransitionHook:Jt,TransitionEventType:qn,defaultTransOpts:Yn,TransitionService:Kn,UrlRules:wn,UrlConfig:Cn,UrlMatcher:un,ParamFactory:dn,UrlMatcherFactory:hn,UrlRouter:_n,UrlRuleFactory:pn,BaseUrlRule:mn,UrlService:An,ViewService:bn,UIRouterGlobals:vn,UIRouter:kn,$q:Xn,$injector:tr,BaseLocationServices:ur,HashLocationService:dr,MemoryLocationService:pr,PushStateLocationService:gr,MemoryLocationConfig:_r,BrowserLocationConfig:br,keyValsToObjectR:nr,getParams:rr,parseUrl:ir,buildUrl:ar,locationPluginFactory:or,servicesPlugin:vr,hashLocationPlugin:yr,pushStateLocationPlugin:wr,memoryLocationPlugin:Cr,UIRouterPluginBase:Ar});function Tr(){var n=null;return function(e,t){return n=n||L.$injector.get("$templateFactory"),[new Dr(e,t,n)]}}var xr=function(e,n){return e.reduce(function(e,t){return e||T(n[t])},!1)};function kr(r){if(!r.parent)return{};var i=["component","bindings","componentProvider"],a=["templateProvider","templateUrl","template","notify","async"].concat(["controller","controllerProvider","controllerAs","resolveAs"]),e=i.concat(a);if(T(r.views)&&xr(e,r))throw new Error("State '"+r.name+"' has a 'views' object. It cannot also have \"view properties\" at the state level. Move the following properties into a view (in the 'views' object): "+e.filter(function(e){return T(r[e])}).join(", "));var o={},t=r.views||{$default:oe(r,e)};return H(t,function(e,t){if(t=t||"$default",D(e)&&(e={component:e}),e=W({},e),xr(i,e)&&xr(a,e))throw new Error("Cannot combine: "+i.join("|")+" with: "+a.join("|")+" in stateview: '"+t+"@"+r.name+"'");e.resolveAs=e.resolveAs||"$resolve",e.$type="ng1",e.$context=r,e.$name=t;var n=bn.normalizeUIViewTarget(e.$context,e.$name);e.$uiViewName=n.uiViewName,e.$uiViewContextAnchor=n.uiViewContextAnchor,o[t]=e}),o}var Er=0,Dr=function(){function e(e,t,n){var r=this;this.path=e,this.viewDecl=t,this.factory=n,this.$id=Er++,this.loaded=!1,this.getTemplate=function(e,t){return r.component?r.factory.makeComponentTemplate(e,t,r.component,r.viewDecl.bindings):r.template}}return e.prototype.load=function(){var t=this,e=L.$q,n=new Nt(this.path),r=this.path.reduce(function(e,t){return W(e,t.paramValues)},{}),i={template:e.when(this.factory.fromConfig(this.viewDecl,r,n)),controller:e.when(this.getController(n))};return e.all(i).then(function(e){return mt.traceViewServiceEvent("Loaded",t),t.controller=e.controller,W(t,e.template),t})},e.prototype.getController=function(e){var t=this.viewDecl.controllerProvider;if(!O(t))return this.viewDecl.controller;var n=L.$injector.annotate(t),r=P(t)?Ee(t):t;return new Pt("",r,n).get(e)},e}(),Ir=function(){function e(){var r=this;this._useHttp=A.version.minor<3,this.$get=["$http","$templateCache","$injector",function(e,t,n){return r.$templateRequest=n.has&&n.has("$templateRequest")&&n.get("$templateRequest"),r.$http=e,r.$templateCache=t,r}]}return e.prototype.useHttpService=function(e){this._useHttp=e},e.prototype.fromConfig=function(e,t,n){var r=function(e){return L.$q.when(e).then(function(e){return{template:e}})},i=function(e){return L.$q.when(e).then(function(e){return{component:e}})};return T(e.template)?r(this.fromString(e.template,t)):T(e.templateUrl)?r(this.fromUrl(e.templateUrl,t)):T(e.templateProvider)?r(this.fromProvider(e.templateProvider,t,n)):T(e.component)?i(e.component):T(e.componentProvider)?i(this.fromComponentProvider(e.componentProvider,t,n)):r("<ui-view></ui-view>")},e.prototype.fromString=function(e,t){return k(e)?e(t):e},e.prototype.fromUrl=function(e,t){return k(e)&&(e=e(t)),null==e?null:this._useHttp?this.$http.get(e,{cache:this.$templateCache,headers:{Accept:"text/html"}}).then(function(e){return e.data}):this.$templateRequest(e)},e.prototype.fromProvider=function(e,t,n){var r=L.$injector.annotate(e),i=P(e)?Ee(e):e;return new Pt("",i,r).get(n)},e.prototype.fromComponentProvider=function(e,t,n){var r=L.$injector.annotate(e),i=P(e)?Ee(e):e;return new Pt("",i,r).get(n)},e.prototype.makeComponentTemplate=function(c,l,e,u){u=u||{};var f=3<=A.version.minor?"::":"",d=function(e){var t=Be(e);return/^(x|data)-/.exec(t)?"x-"+t:t},t=function(e){var t=L.$injector.get(e+"Directive");if(!t||!t.length)throw new Error("Unable to find component named '"+e+"'");return t.map(Pr).reduce(ge,[])}(e).map(function(e){var t=e.name,n=e.type,r=d(t);if(c.attr(r)&&!u[t])return r+"='"+c.attr(r)+"'";var i=u[t]||t;if("@"===n)return r+"='{{"+f+"$resolve."+i+"}}'";if("&"!==n)return r+"='"+f+"$resolve."+i+"'";var a=l.getResolvable(i),o=a&&a.data,s=o&&L.$injector.annotate(o)||[];return r+"='$resolve."+i+(P(o)?"["+(o.length-1)+"]":"")+"("+s.join(",")+")'"}).join(" "),n=d(e);return"<"+n+" "+t+"></"+n+">"},e}();var Pr=function(e){return I(e.bindToController)?Mr(e.bindToController):Mr(e.scope)},Mr=function(t){return Object.keys(t||{}).map(function(e){return[e,/^([=<@&])[?]?(.*)/.exec(t[e])]}).filter(function(e){return T(e)&&P(e[1])}).map(function(e){return{name:e[1][2]||e[0],type:e[1][1]}})},$r=function(){function n(e,t){this.stateRegistry=e,this.stateService=t,Y(p(n.prototype),this,p(this))}return n.prototype.decorator=function(e,t){return this.stateRegistry.decorator(e,t)||this},n.prototype.state=function(e,t){return I(e)?t=e:t.name=e,this.stateRegistry.register(t),this},n.prototype.onInvalid=function(e){return this.stateService.onInvalid(e)},n}(),Or=function(n){return function(e,t){var i=e[n],a="onExit"===n?"from":"to";return i?function(e,t){var n=new Nt(e.treeChanges(a)).subContext(t.$$state()),r=W(Xr(n),{$state$:t,$transition$:e});return L.$injector.invoke(i,this,r)}:void 0}},Rr=function(){function e(e){this._urlListeners=[],this.$locationProvider=e;var t=p(e);Y(t,this,t,["hashPrefix"])}return e.monkeyPatchPathParameterType=function(e){var t=e.urlMatcherFactory.type("path");t.encode=function(e){return null!=e?e.toString().replace(/(~|\/)/g,function(e){return{"~":"~~","/":"~2F"}[e]}):e},t.decode=function(e){return null!=e?e.toString().replace(/(~~|~2F)/g,function(e){return{"~~":"~","~2F":"/"}[e]}):e}},e.prototype.dispose=function(){},e.prototype.onChange=function(e){var t=this;return this._urlListeners.push(e),function(){return Z(t._urlListeners)(e)}},e.prototype.html5Mode=function(){var e=this.$locationProvider.html5Mode();return(e=I(e)?e.enabled:e)&&this.$sniffer.history},e.prototype.baseHref=function(){return this._baseHref||(this._baseHref=this.$browser.baseHref()||this.$window.location.pathname)},e.prototype.url=function(e,t,n){return void 0===t&&(t=!1),T(e)&&this.$location.url(e),t&&this.$location.replace(),n&&this.$location.state(n),this.$location.url()},e.prototype._runtimeServices=function(e,t,n,r,i){var a=this;this.$location=t,this.$sniffer=n,this.$browser=r,this.$window=i,e.$on("$locationChangeSuccess",function(t){return a._urlListeners.forEach(function(e){return e(t)})});var o=p(t);Y(o,this,o,["replace","path","search","hash"]),Y(o,this,o,["port","protocol","host"])},e}(),Nr=function(){function n(e){this.router=e}return n.injectableHandler=function(t,n){return function(e){return L.$injector.invoke(n,null,{$match:e,$stateParams:t.globals.params})}},n.prototype.$get=function(){var e=this.router.urlService;return this.router.urlRouter.update(!0),e.interceptDeferred||e.listen(),this.router.urlRouter},n.prototype.rule=function(e){var t=this;if(!k(e))throw new Error("'rule' must be a function");var n=new mn(function(){return e(L.$injector,t.router.locationService)},z);return this.router.urlService.rules.rule(n),this},n.prototype.otherwise=function(e){var t=this,n=this.router.urlService.rules;if(D(e))n.otherwise(e);else{if(!k(e))throw new Error("'rule' must be a string or function");n.otherwise(function(){return e(L.$injector,t.router.locationService)})}return this},n.prototype.when=function(e,t){return(P(t)||k(t))&&(t=n.injectableHandler(this.router,t)),this.router.urlService.rules.when(e,t),this},n.prototype.deferIntercept=function(e){this.router.urlService.deferIntercept(e)},n}();A.module("ui.router.angular1",[]);var Lr=A.module("ui.router.init",["ng"]),Fr=A.module("ui.router.util",["ui.router.init"]),Gr=A.module("ui.router.router",["ui.router.util"]),jr=A.module("ui.router.state",["ui.router.router","ui.router.util","ui.router.angular1"]),Br=A.module("ui.router",["ui.router.init","ui.router.state","ui.router.angular1"]),Ur=(A.module("ui.router.compat",["ui.router"]),null);function Hr(e){(Ur=this.router=new kn).stateProvider=new $r(Ur.stateRegistry,Ur.stateService),Ur.stateRegistry.decorator("views",kr),Ur.stateRegistry.decorator("onExit",Or("onExit")),Ur.stateRegistry.decorator("onRetain",Or("onRetain")),Ur.stateRegistry.decorator("onEnter",Or("onEnter")),Ur.viewService._pluginapi._viewConfigFactory("ng1",Tr());var s=Ur.locationService=Ur.locationConfig=new Rr(e);function t(e,t,n,r,i,a,o){return s._runtimeServices(i,e,r,t,n),delete Ur.router,delete Ur.$get,Ur}return Rr.monkeyPatchPathParameterType(Ur),((Ur.router=Ur).$get=t).$inject=["$location","$browser","$window","$sniffer","$rootScope","$http","$templateCache"],Ur}Hr.$inject=["$locationProvider"];var Wr=function(n){return["$uiRouterProvider",function(e){var t=e.router[n];return t.$get=function(){return t},t}]};function qr(t,e,n){if(L.$injector=t,L.$q=e,!t.hasOwnProperty("strictDi"))try{t.invoke(["checkStrictDi",function(e){}])}catch(e){t.strictDi=!!/strict mode/.exec(e&&e.toString())}n.stateRegistry.get().map(function(e){return e.$$state().resolvables}).reduce(ge,[]).filter(function(e){return"deferred"===e.deps}).forEach(function(e){return e.deps=t.annotate(e.resolveFn,t.strictDi)})}qr.$inject=["$injector","$q","$uiRouter"];function zr(e){e.$watch(function(){mt.approximateDigests++})}zr.$inject=["$rootScope"],Lr.provider("$uiRouter",Hr),Gr.provider("$urlRouter",["$uiRouterProvider",function(e){return e.urlRouterProvider=new Nr(e)}]),Fr.provider("$urlService",Wr("urlService")),Fr.provider("$urlMatcherFactory",["$uiRouterProvider",function(){return Ur.urlMatcherFactory}]),Fr.provider("$templateFactory",function(){return new Ir}),jr.provider("$stateRegistry",Wr("stateRegistry")),jr.provider("$uiRouterGlobals",Wr("globals")),jr.provider("$transitions",Wr("transitionService")),jr.provider("$state",["$uiRouterProvider",function(){return W(Ur.stateProvider,{$get:function(){return Ur.stateService}})}]),jr.factory("$stateParams",["$uiRouter",function(e){return e.globals.params}]),Br.factory("$view",function(){return Ur.viewService}),Br.service("$trace",function(){return mt}),Br.run(zr),Fr.run(["$urlMatcherFactory",function(e){}]),jr.run(["$state",function(e){}]),Gr.run(["$urlRouter",function(e){}]),Lr.run(qr);var Vr,Yr,Kr,Qr,Xr=function(n){return n.getTokens().filter(D).map(function(e){var t=n.getResolvable(e);return[e,"NOWAIT"===n.getPolicy(t).async?t.promise:t.data]}).reduce(ke,{})};function Zr(e){var t,n=e.match(/^\s*({[^}]*})\s*$/);if(n&&(e="("+n[1]+")"),!(t=e.replace(/\n/g," ").match(/^\s*([^(]*?)\s*(\((.*)\))?\s*$/))||4!==t.length)throw new Error("Invalid state ref '"+e+"'");return{state:t[1]||null,paramExpr:t[3]||null}}function Jr(e){var t=e.parent().inheritedData("$uiView"),n=S("$cfg.path")(t);return n?Ee(n).state.name:void 0}function ei(e,t,n){var r,i=n.uiState||e.current.name,a=W((r=e,{relative:Jr(t)||r.$current,inherit:!0,source:"sref"}),n.uiStateOpts||{}),o=e.href(i,n.uiStateParams,a);return{uiState:i,uiStateParams:n.uiStateParams,uiStateOpts:a,href:o}}function ti(e){var t="[object SVGAnimatedString]"===Object.prototype.toString.call(e.prop("href")),n="FORM"===e[0].nodeName;return{attr:n?"action":t?"xlink:href":"href",isAnchor:"A"===e.prop("tagName").toUpperCase(),clickable:!n}}function ni(a,o,s,c,l){return function(e){var t=e.which||e.button,n=l();if(!(1<t||e.ctrlKey||e.metaKey||e.shiftKey||a.attr("target"))){var r=s(function(){a.attr("disabled")||o.go(n.uiState,n.uiStateParams,n.uiStateOpts)});e.preventDefault();var i=c.isAnchor&&!n.href?1:0;e.preventDefault=function(){i--<=0&&s.cancel(r)}}}}function ri(i,e,a,t){var o;t&&(o=t.events),P(o)||(o=["click"]);for(var n=i.on?"on":"bind",r=0,s=o;r<s.length;r++){var c=s[r];i[n](c,a)}e.$on("$destroy",function(){for(var e=i.off?"off":"unbind",t=0,n=o;t<n.length;t++){var r=n[t];i[e](r,a)}})}function ii(r){var e=function(e,t,n){return r.is(e,t,n)};return e.$stateful=!0,e}function ai(r){var e=function(e,t,n){return r.includes(e,t,n)};return e.$stateful=!0,e}function oi(m,g,_,e,b,t){var v=S("viewDecl.controllerAs"),y=S("viewDecl.resolveAs");return{restrict:"ECA",priority:-400,compile:function(e){var p=e.html();return e.empty(),function(t,n){var e=n.data("$uiView");if(!e)return n.html(p),void m(n.contents())(t);var r=e.$cfg||{viewDecl:{},getTemplate:V},i=r.path&&new Nt(r.path);n.html(r.getTemplate(n,i)||p),mt.traceUIViewFill(e.$uiView,n.html());var a=m(n.contents()),o=r.controller,s=v(r),c=y(r),l=i&&Xr(i);if(t[c]=l,o){var u=g(o,W({},l,{$scope:t,$element:n}));s&&(t[s]=u,t[s][c]=l),n.data("$ngControllerController",u),n.children().data("$ngControllerController",u),li(b,_,u,t,r)}if(D(r.component))var f=Be(r.component),d=new RegExp("^(x-|data-)?"+f+"$","i"),h=t.$watch(function(){var e=[].slice.call(n[0].children).filter(function(e){return e&&e.tagName&&d.exec(e.tagName)});return e&&A.element(e).data("$"+r.component+"Controller")},function(e){e&&(li(b,_,e,t,r),h())});a(t)}}}}Vr=["$uiRouter","$timeout",function(d,h){var p=d.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(e,t,n,r){var i,a=ti(t),o=r[1]||r[0],s=null,c={},l=function(){return ei(p,t,c)},u=Zr(n.uiSref);function f(){var e=l();s&&s(),o&&(s=o.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&n.$set(a.attr,e.href)}c.uiState=u.state,c.uiStateOpts=n.uiSrefOpts?e.$eval(n.uiSrefOpts):{},u.paramExpr&&(e.$watch(u.paramExpr,function(e){c.uiStateParams=W({},e),f()},!0),c.uiStateParams=W({},e.$eval(u.paramExpr))),f(),e.$on("$destroy",d.stateRegistry.onStatesChanged(f)),e.$on("$destroy",d.transitionService.onSuccess({},f)),a.clickable&&(i=ni(t,p,h,a,l),ri(t,e,i,c.uiStateOpts))}}}],Yr=["$uiRouter","$timeout",function(h,p){var m=h.stateService;return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(n,e,r,t){var i,a=ti(e),o=t[1]||t[0],s=null,c={},l=function(){return ei(m,e,c)},u=["uiState","uiStateParams","uiStateOpts"],f=u.reduce(function(e,t){return e[t]=V,e},{});function d(){var e=l();s&&s(),o&&(s=o.$$addStateInfo(e.uiState,e.uiStateParams)),null!=e.href&&r.$set(a.attr,e.href)}u.forEach(function(t){c[t]=r[t]?n.$eval(r[t]):null,r.$observe(t,function(e){f[t](),f[t]=n.$watch(e,function(e){c[t]=e,d()},!0)})}),d(),n.$on("$destroy",h.stateRegistry.onStatesChanged(d)),n.$on("$destroy",h.transitionService.onSuccess({},d)),a.clickable&&(i=ni(e,m,p,a,l),ri(e,n,i,c.uiStateOpts))}}}],Kr=["$state","$stateParams","$interpolate","$uiRouter",function(p,e,m,g){return{restrict:"A",controller:["$scope","$element","$attrs",function(s,c,e){var l,r,t,n,i,u=[];l=m(e.uiSrefActiveEq||"",!1)(s);try{r=s.$eval(e.uiSrefActive)}catch(e){}function a(e){e.promise.then(h,V)}function o(){f(r)}function f(e){I(e)&&(u=[],H(e,function(e,t){var n=function(e,t){var n=Zr(e);d(n.state,s.$eval(n.paramExpr),t)};D(e)?n(e,t):P(e)&&H(e,function(e){n(e,t)})}))}function d(e,t,n){var r={state:p.get(e,Jr(c))||{name:e},params:t,activeClass:n};return u.push(r),function(){Z(u)(r)}}function h(){var t=function(e){return e.split(/\s/).filter(z)},e=function(e){return e.map(function(e){return e.activeClass}).map(t).reduce(ge,[])},n=e(u).concat(t(l)).reduce(ve,[]),r=e(u.filter(function(e){return p.includes(e.state.name,e.params)})),i=!!u.filter(function(e){return p.is(e.state.name,e.params)}).length?t(l):[],a=r.concat(i).reduce(ve,[]),o=n.filter(function(e){return!Q(a,e)});s.$evalAsync(function(){a.forEach(function(e){return c.addClass(e)}),o.forEach(function(e){return c.removeClass(e)})})}f(r=r||m(e.uiSrefActive||"",!1)(s)),this.$$addStateInfo=function(e,t){if(!(I(r)&&0<u.length)){var n=d(e,t,r);return h(),n}},s.$on("$destroy",(t=g.stateRegistry.onStatesChanged(o),n=g.transitionService.onStart({},a),i=s.$on("$stateChangeSuccess",h),function(){t(),n(),i()})),g.globals.transition&&a(g.globals.transition),h()}]}}],A.module("ui.router.state").directive("uiSref",Vr).directive("uiSrefActive",Kr).directive("uiSrefActiveEq",Kr).directive("uiState",Yr),ii.$inject=["$state"],ai.$inject=["$state"],A.module("ui.router.state").filter("isState",ii).filter("includedByState",ai),Qr=["$view","$animate","$uiViewScroll","$interpolate","$q",function(i,a,b,v,y){var w={$cfg:{viewDecl:{$context:i._pluginapi._rootViewContext()}},$uiView:{}},C={count:0,restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(e,t,_){return function(o,s,e){var c,l,u,f,t,d=e.onload||"",h=e.autoscroll,p={enter:function(e,t,n){2<A.version.minor?a.enter(e,null,t).then(n):a.enter(e,null,t,n)},leave:function(e,t){2<A.version.minor?a.leave(e).then(t):a.leave(e,t)}},n=s.inheritedData("$uiView")||w,m=v(e.uiView||e.name||"")(o)||"$default",g={$type:"ng1",id:C.count++,name:m,fqn:n.$uiView.fqn?n.$uiView.fqn+"."+m:m,config:null,configUpdated:function(e){if(e&&!(e instanceof Dr))return;if(t=f,n=e,t===n)return;var t,n;mt.traceUIViewConfigUpdated(g,e&&e.viewDecl&&e.viewDecl.$context),r(f=e)},get creationContext(){var e=S("$cfg.viewDecl.$context")(n),t=S("$uiView.creationContext")(n);return e||t}};function r(e){var t=o.$new(),n=y.defer(),r=y.defer(),i={$cfg:e,$uiView:g},a={$animEnter:n.promise,$animLeave:r.promise,$$animLeave:r};t.$emit("$viewContentLoading",m),l=_(t,function(e){e.data("$uiViewAnim",a),e.data("$uiView",i),p.enter(e,s,function(){n.resolve(),u&&u.$emit("$viewContentAnimationEnded"),(T(h)&&!h||o.$eval(h))&&b(e)}),function(){if(c&&(mt.traceUIViewEvent("Removing (previous) el",c.data("$uiView")),c.remove(),c=null),u&&(mt.traceUIViewEvent("Destroying scope",g),u.$destroy(),u=null),l){var e=l.data("$uiViewAnim");mt.traceUIViewEvent("Animate out",e),p.leave(l,function(){e.$$animLeave.resolve(),c=null}),c=l,l=null}}()}),(u=t).$emit("$viewContentLoaded",e||f),u.$eval(d)}mt.traceUIViewEvent("Linking",g),s.data("$uiView",{$uiView:g}),r(),t=i.registerUIView(g),o.$on("$destroy",function(){mt.traceUIViewEvent("Destroying/Unregistering",g),t()})}}};return C}],oi.$inject=["$compile","$controller","$transitions","$view","$q","$timeout"];var si="function"==typeof A.module("ui.router").component,ci=0;function li(r,e,l,t,n){!k(l.$onInit)||(n.viewDecl.component||n.viewDecl.componentProvider)&&si||l.$onInit();var u=Ee(n.path).state.self,i={bind:l};if(k(l.uiOnParamsChanged)){var f=new Nt(n.path).getResolvable("$transition$").data;t.$on("$destroy",e.onSuccess({},function(e){if(e!==f&&-1===e.exiting().indexOf(u)){var n=e.params("to"),r=e.params("from"),t=function(e){return e.paramSchema},i=e.treeChanges("to").map(t).reduce(ge,[]),a=e.treeChanges("from").map(t).reduce(ge,[]),o=i.filter(function(e){var t=a.indexOf(e);return-1===t||!a[t].type.equals(n[e.id],r[e.id])});if(o.length){var s=o.map(function(e){return e.id}),c=le(n,function(e,t){return-1!==s.indexOf(t)});l.uiOnParamsChanged(c,e)}}},i))}if(k(l.uiCanExit)){var a=ci++,o="_uiCanExitIds",s=function(e){return!!e&&(e[o]&&!0===e[o][a]||s(e.redirectedFrom()))},c={exiting:u.name};t.$on("$destroy",e.onBefore(c,function(e){var t,n=e[o]=e[o]||{};return s(e)||(t=r.when(l.uiCanExit(e))).then(function(e){return n[a]=!1!==e}),t},i))}}A.module("ui.router.state").directive("uiView",Qr),A.module("ui.router.state").directive("uiView",oi),A.module("ui.router.state").provider("$uiViewScroll",function(){var n=!1;this.useAnchorScroll=function(){n=!0},this.$get=["$anchorScroll","$timeout",function(e,t){return n?e:function(e){return t(function(){e[0].scrollIntoView()},0,!1)}}]});m.$injector=tr,m.$q=Xn,m.BaseLocationServices=ur,m.BaseUrlRule=mn,m.BrowserLocationConfig=br,m.Glob=Re,m.HashLocationService=dr,m.HookBuilder=rn,m.MemoryLocationConfig=_r,m.MemoryLocationService=pr,m.NATIVE_INJECTOR_TOKEN=Rt,m.Ng1ViewConfig=Dr,m.Param=At,m.ParamFactory=dn,m.ParamType=gt,m.ParamTypes=St,m.PathNode=xt,m.PathUtils=Et,m.PushStateLocationService=gr,m.Queue=Ne,m.RegisteredHook=tn,m.Rejection=Fe,m.Resolvable=Pt,m.ResolveContext=Nt,m.StateBuilder=Vt,m.StateMatcher=Kt,m.StateObject=Yt,m.StateParams=Tt,m.StateProvider=$r,m.StateQueueManager=Qt,m.StateRegistry=Xt,m.StateService=Qn,m.TargetState=kt,m.Trace=pt,m.Transition=on,m.TransitionEventType=qn,m.TransitionHook=Jt,m.TransitionService=Kn,m.UIRouter=kn,m.UIRouterGlobals=vn,m.UIRouterPluginBase=Ar,m.UrlConfig=Cn,m.UrlMatcher=un,m.UrlMatcherFactory=hn,m.UrlRouter=_n,m.UrlRouterProvider=Nr,m.UrlRuleFactory=pn,m.UrlRules=wn,m.UrlService=An,m.ViewService=bn,m._extend=Ie,m._inArray=X,m._pushTo=te,m._removeFrom=J,m.all=u,m.allTrueR=pe,m.ancestors=ae,m.and=i,m.any=d,m.anyTrueR=me,m.applyPairs=ke,m.arrayTuples=xe,m.assertFn=Se,m.assertMap=Ae,m.assertPredicate=Ce,m.beforeAfterSubstr=Ve,m.buildUrl=ar,m.compose=n,m.copy=De,m.core=Sr,m.createProxyFunctions=Y,m.curry=l,m.default="ui.router",m.defaultResolvePolicy=It,m.defaultTransOpts=Yn,m.defaults=re,m.deregAll=ne,m.eq=o,m.equals=q,m.extend=W,m.filter=le,m.find=ue,m.flatten=we,m.flattenR=_e,m.fnToString=He,m.forEach=H,m.fromJson=B,m.functionToString=Ue,m.getLocals=Xr,m.getNg1ViewConfigFactory=Tr,m.getParams=rr,m.hashLocationPlugin=yr,m.hostRegex=Ye,m.identity=z,m.inArray=Q,m.inherit=K,m.invoke=s,m.is=h,m.isArray=P,m.isDate=M,m.isDefined=T,m.isFunction=k,m.isInjectable=O,m.isNull=C,m.isNullOrUndefined=x,m.isNumber=E,m.isObject=I,m.isPromise=R,m.isRegExp=$,m.isString=D,m.isUndefined=w,m.joinNeighborsR=tt,m.kebobString=Be,m.keyValsToObjectR=nr,m.locationPluginFactory=or,m.makeEvent=nn,m.makeStub=N,m.map=de,m.mapObj=fe,m.matchState=en,m.maxLength=Ge,m.memoryLocationPlugin=Cr,m.mergeR=ie,m.ng1ViewsBuilder=kr,m.noop=V,m.not=f,m.omit=se,m.or=a,m.padString=je,m.pairs=Te,m.parse=S,m.parseUrl=ir,m.pattern=g,m.pick=oe,m.pipe=c,m.pluck=ce,m.prop=v,m.propEq=_,m.pushR=be,m.pushStateLocationPlugin=wr,m.pushTo=ee,m.removeFrom=Z,m.resolvablesBuilder=Wt,m.resolvePolicies=Dt,m.root=G,m.services=L,m.servicesPlugin=vr,m.silenceUncaughtInPromise=$e,m.silentRejection=Oe,m.splitEqual=Ze,m.splitHash=Qe,m.splitOnDelim=et,m.splitQuery=Xe,m.stringify=ze,m.stripLastPathElement=Ke,m.tail=Ee,m.toJson=U,m.trace=mt,m.trimHashVal=Je,m.uniqR=ve,m.unnest=ye,m.unnestR=ge,m.val=p,m.values=he,m.watchDigests=zr,Object.defineProperty(m,"__esModule",{value:!0})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("angular")):"function"==typeof define&&define.amd?define(["exports","angular"],t):t((e=e||self)["@uirouter/angularjs-state-events"]={},e.angular)}(this,function(e,t){"use strict";var n=angular,r=t&&t.module?t:n;!function(){var l=r.isFunction,i=r.isString;function o(e,t){var n,r;if(Array.isArray(t)&&(n=t[0],r=t[1]),!i(n))throw new Error("invalid parameters to applyPairs");return e[n]=r,e}function s(t){if(t.options().notify&&t.valid()&&!t.ignored()){var e=t.injector(),n=e.get("$stateEvents"),r=e.get("$rootScope"),i=e.get("$state"),a=e.get("$urlRouter"),o=n.provider.enabled(),s=t.params("to"),c=t.params("from");if(o.$stateChangeSuccess){if(r.$broadcast("$stateChangeStart",t.to(),s,t.from(),c,t.options(),t).defaultPrevented)return o.$stateChangeCancel&&r.$broadcast("$stateChangeCancel",t.to(),s,t.from(),c,t.options(),t),null==i.transition&&a.update(),!1;t.onSuccess({},function(){r.$broadcast("$stateChangeSuccess",t.to(),s,t.from(),c,t.options(),t)},{priority:9999})}o.$stateChangeError&&t.promise.catch(function(e){(!e||2!==e.type&&3!==e.type)&&(r.$broadcast("$stateChangeError",t.to(),s,t.from(),c,e,t.options(),t).defaultPrevented||a.update())})}}function c(e,t,n){var r=n.get("$state"),i=n.get("$rootScope"),a=n.get("$urlRouter"),o={to:e.identifier(),toParams:e.params(),options:e.options()},s=i.$broadcast("$stateNotFound",o,t.state(),t.params());function c(){return r.target(o.to,o.toParams,o.options)}return(s.defaultPrevented||s.retry)&&a.update(),!s.defaultPrevented&&(s.retry||r.get(o.to)?s.retry&&l(s.retry.then)?s.retry.then(c):c():void 0)}function u(t){u.prototype.instance=this;var n=!1,r=["$stateChangeStart","$stateNotFound","$stateChangeSuccess","$stateChangeError"],i=r.map(function(e){return[e,!0]}).reduce(o,{});function a(){if(n)throw new Error("Cannot enable events at runtime (use $stateEventsProvider")}function e(e){return n=!0,i.$stateNotFound&&t.onInvalid(c),i.$stateChangeStart&&e.onBefore({},s,{priority:1e3}),{provider:u.prototype.instance}}this.enable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a(),e&&e.length||(e=r),e.forEach(function(e){return i[e]=!0})},this.disable=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];a(),e&&e.length||(e=r),e.forEach(function(e){return delete i[e]})},this.enabled=function(){return i},(this.$get=e).$inject=["$transitions"]}c.$inject=["$to$","$from$","$state","$rootScope","$urlRouter"],u.$inject=["$stateProvider"],r.module("ui.router.state.events",["ui.router.state"]).provider("$stateEvents",u).run(["$stateEvents",function(e){}])}(),e.$stateChangeCancel=void 0,e.$stateChangeError=void 0,e.$stateChangeStart=void 0,e.$stateChangeSuccess=void 0,e.$stateNotFound=void 0,Object.defineProperty(e,"__esModule",{value:!0})}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(x){x.ui=x.ui||{};x.ui.version="1.12.1";var i,n=0,s=Array.prototype.slice;x.cleanData=(i=x.cleanData,function(e){var t,n,r;for(r=0;null!=(n=e[r]);r++)try{(t=x._data(n,"events"))&&t.remove&&x(n).triggerHandler("remove")}catch(e){}i(e)}),x.widget=function(e,n,t){var r,i,a,o={},s=e.split(".")[0],c=s+"-"+(e=e.split(".")[1]);return t||(t=n,n=x.Widget),x.isArray(t)&&(t=x.extend.apply(null,[{}].concat(t))),x.expr[":"][c.toLowerCase()]=function(e){return!!x.data(e,c)},x[s]=x[s]||{},r=x[s][e],i=x[s][e]=function(e,t){if(!this._createWidget)return new i(e,t);arguments.length&&this._createWidget(e,t)},x.extend(i,r,{version:t.version,_proto:x.extend({},t),_childConstructors:[]}),(a=new n).options=x.widget.extend({},a.options),x.each(t,function(t,a){x.isFunction(a)?o[t]=function(){function r(){return n.prototype[t].apply(this,arguments)}function i(e){return n.prototype[t].apply(this,e)}return function(){var e,t=this._super,n=this._superApply;return this._super=r,this._superApply=i,e=a.apply(this,arguments),this._super=t,this._superApply=n,e}}():o[t]=a}),i.prototype=x.widget.extend(a,{widgetEventPrefix:r&&a.widgetEventPrefix||e},o,{constructor:i,namespace:s,widgetName:e,widgetFullName:c}),r?(x.each(r._childConstructors,function(e,t){var n=t.prototype;x.widget(n.namespace+"."+n.widgetName,i,t._proto)}),delete r._childConstructors):n._childConstructors.push(i),x.widget.bridge(e,i),i},x.widget.extend=function(e){for(var t,n,r=s.call(arguments,1),i=0,a=r.length;i<a;i++)for(t in r[i])n=r[i][t],r[i].hasOwnProperty(t)&&void 0!==n&&(x.isPlainObject(n)?e[t]=x.isPlainObject(e[t])?x.widget.extend({},e[t],n):x.widget.extend({},n):e[t]=n);return e},x.widget.bridge=function(a,t){var o=t.prototype.widgetFullName||a;x.fn[a]=function(n){var e="string"==typeof n,r=s.call(arguments,1),i=this;return e?this.length||"instance"!==n?this.each(function(){var e,t=x.data(this,o);return"instance"===n?(i=t,!1):t?x.isFunction(t[n])&&"_"!==n.charAt(0)?(e=t[n].apply(t,r))!==t&&void 0!==e?(i=e&&e.jquery?i.pushStack(e.get()):e,!1):void 0:x.error("no such method '"+n+"' for "+a+" widget instance"):x.error("cannot call methods on "+a+" prior to initialization; attempted to call method '"+n+"'")}):i=void 0:(r.length&&(n=x.widget.extend.apply(null,[n].concat(r))),this.each(function(){var e=x.data(this,o);e?(e.option(n||{}),e._init&&e._init()):x.data(this,o,new t(n,this))})),i}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=x(t||this.defaultElement||this)[0],this.element=x(t),this.uuid=n++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},t!==this&&(x.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=x(t.style?t.ownerDocument:t.document||t),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.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:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var n=this;this._destroy(),x.each(this.classesElementLookup,function(e,t){n._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(e,t){var n,r,i,a=e;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof e)if(a={},e=(n=e.split(".")).shift(),n.length){for(r=a[e]=x.widget.extend({},this.options[e]),i=0;i<n.length-1;i++)r[n[i]]=r[n[i]]||{},r=r[n[i]];if(e=n.pop(),1===arguments.length)return void 0===r[e]?null:r[e];r[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=t}return this._setOptions(a),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,n,r;for(t in e)r=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&r&&r.length&&(n=x(r.get()),this._removeClass(r,t),n.addClass(this._classes({element:n,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(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(i){var a=[],o=this;function e(e,t){var n,r;for(r=0;r<e.length;r++)n=o.classesElementLookup[e[r]]||x(),n=i.add?x(x.unique(n.get().concat(i.element.get()))):x(n.not(i.element).get()),o.classesElementLookup[e[r]]=n,a.push(e[r]),t&&i.classes[e[r]]&&a.push(i.classes[e[r]])}return i=x.extend({element:this.element,classes:this.options.classes||{}},i),this._on(i.element,{remove:"_untrackClassesElement"}),i.keys&&e(i.keys.match(/\S+/g)||[],!0),i.extra&&e(i.extra.match(/\S+/g)||[]),a.join(" ")},_untrackClassesElement:function(n){var r=this;x.each(r.classesElementLookup,function(e,t){-1!==x.inArray(n.target,t)&&(r.classesElementLookup[e]=x(t.not(n.target).get()))})},_removeClass:function(e,t,n){return this._toggleClass(e,t,n,!1)},_addClass:function(e,t,n){return this._toggleClass(e,t,n,!0)},_toggleClass:function(e,t,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof e||null===e,a={extra:i?t:n,keys:i?e:t,element:i?this.element:e,add:r};return a.element.toggleClass(this._classes(a),r),this},_on:function(o,s,e){var c,l=this;"boolean"!=typeof o&&(e=s,s=o,o=!1),e?(s=c=x(s),this.bindings=this.bindings.add(s)):(e=s,s=this.element,c=this.widget()),x.each(e,function(e,t){function n(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof t?l[t]:t).apply(l,arguments)}"string"!=typeof t&&(n.guid=t.guid=t.guid||n.guid||x.guid++);var r=e.match(/^([\w:-]*)\s*(.*)$/),i=r[1]+l.eventNamespace,a=r[2];a?c.on(i,a,n):s.on(i,n)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t).off(t),this.bindings=x(this.bindings.not(e).get()),this.focusable=x(this.focusable.not(e).get()),this.hoverable=x(this.hoverable.not(e).get())},_delay:function(e,t){var n=this;return setTimeout(function(){return("string"==typeof e?n[e]:e).apply(n,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(x(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(x(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(x(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(x(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,n){var r,i,a=this.options[e];if(n=n||{},(t=x.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],i=t.originalEvent)for(r in i)r in t||(t[r]=i[r]);return this.element.trigger(t,n),!(x.isFunction(a)&&!1===a.apply(this.element[0],[t].concat(n))||t.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(a,o){x.Widget.prototype["_"+a]=function(t,e,n){var r;"string"==typeof e&&(e={effect:e});var i=e?!0===e||"number"==typeof e?o:e.effect||o:a;"number"==typeof(e=e||{})&&(e={duration:e}),r=!x.isEmptyObject(e),e.complete=n,e.delay&&t.delay(e.delay),r&&x.effects&&x.effects.effect[i]?t[a](e):i!==a&&t[i]?t[i](e.duration,e.easing,n):t.queue(function(e){x(this)[a](),n&&n.call(t[0]),e()})}});x.widget;!function(){var i,C=Math.max,A=Math.abs,r=/left|center|right/,a=/top|center|bottom/,o=/[\+\-]\d+(\.[\d]+)?%?/,s=/^\w+/,c=/%$/,l=x.fn.position;function S(e,t,n){return[parseFloat(e[0])*(c.test(e[0])?t/100:1),parseFloat(e[1])*(c.test(e[1])?n/100:1)]}function T(e,t){return parseInt(x.css(e,t),10)||0}x.position={scrollbarWidth:function(){if(void 0!==i)return i;var e,t,n=x("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=n.children()[0];return x("body").append(n),e=r.offsetWidth,n.css("overflow","scroll"),e===(t=r.offsetWidth)&&(t=n[0].clientWidth),n.remove(),i=e-t},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),r="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight?x.position.scrollbarWidth():0,height:r?x.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=x(e||window),n=x.isWindow(t[0]),r=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:n,isDocument:r,offset:!n&&!r?x(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},x.fn.position=function(f){if(!f||!f.of)return l.apply(this,arguments);f=x.extend({},f);var d,h,p,m,g,e,t,n,_=x(f.of),b=x.position.getWithinInfo(f.within),v=x.position.getScrollInfo(b),y=(f.collision||"flip").split(" "),w={};return e=9===(n=(t=_)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:x.isWindow(n)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:n.preventDefault?{width:0,height:0,offset:{top:n.pageY,left:n.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},_[0].preventDefault&&(f.at="left top"),h=e.width,p=e.height,m=e.offset,g=x.extend({},m),x.each(["my","at"],function(){var e,t,n=(f[this]||"").split(" ");1===n.length&&(n=r.test(n[0])?n.concat(["center"]):a.test(n[0])?["center"].concat(n):["center","center"]),n[0]=r.test(n[0])?n[0]:"center",n[1]=a.test(n[1])?n[1]:"center",e=o.exec(n[0]),t=o.exec(n[1]),w[this]=[e?e[0]:0,t?t[0]:0],f[this]=[s.exec(n[0])[0],s.exec(n[1])[0]]}),1===y.length&&(y[1]=y[0]),"right"===f.at[0]?g.left+=h:"center"===f.at[0]&&(g.left+=h/2),"bottom"===f.at[1]?g.top+=p:"center"===f.at[1]&&(g.top+=p/2),d=S(w.at,h,p),g.left+=d[0],g.top+=d[1],this.each(function(){var n,e,o=x(this),s=o.outerWidth(),c=o.outerHeight(),t=T(this,"marginLeft"),r=T(this,"marginTop"),i=s+t+T(this,"marginRight")+v.width,a=c+r+T(this,"marginBottom")+v.height,l=x.extend({},g),u=S(w.my,o.outerWidth(),o.outerHeight());"right"===f.my[0]?l.left-=s:"center"===f.my[0]&&(l.left-=s/2),"bottom"===f.my[1]?l.top-=c:"center"===f.my[1]&&(l.top-=c/2),l.left+=u[0],l.top+=u[1],n={marginLeft:t,marginTop:r},x.each(["left","top"],function(e,t){x.ui.position[y[e]]&&x.ui.position[y[e]][t](l,{targetWidth:h,targetHeight:p,elemWidth:s,elemHeight:c,collisionPosition:n,collisionWidth:i,collisionHeight:a,offset:[d[0]+u[0],d[1]+u[1]],my:f.my,at:f.at,within:b,elem:o})}),f.using&&(e=function(e){var t=m.left-l.left,n=t+h-s,r=m.top-l.top,i=r+p-c,a={target:{element:_,left:m.left,top:m.top,width:h,height:p},element:{element:o,left:l.left,top:l.top,width:s,height:c},horizontal:n<0?"left":0<t?"right":"center",vertical:i<0?"top":0<r?"bottom":"middle"};h<s&&A(t+n)<h&&(a.horizontal="center"),p<c&&A(r+i)<p&&(a.vertical="middle"),C(A(t),A(n))>C(A(r),A(i))?a.important="horizontal":a.important="vertical",f.using.call(this,e,a)}),o.offset(x.extend(l,{using:e}))})},x.ui.position={fit:{left:function(e,t){var n,r=t.within,i=r.isWindow?r.scrollLeft:r.offset.left,a=r.width,o=e.left-t.collisionPosition.marginLeft,s=i-o,c=o+t.collisionWidth-a-i;t.collisionWidth>a?0<s&&c<=0?(n=e.left+s+t.collisionWidth-a-i,e.left+=s-n):e.left=0<c&&s<=0?i:c<s?i+a-t.collisionWidth:i:0<s?e.left+=s:0<c?e.left-=c:e.left=C(e.left-o,e.left)},top:function(e,t){var n,r=t.within,i=r.isWindow?r.scrollTop:r.offset.top,a=t.within.height,o=e.top-t.collisionPosition.marginTop,s=i-o,c=o+t.collisionHeight-a-i;t.collisionHeight>a?0<s&&c<=0?(n=e.top+s+t.collisionHeight-a-i,e.top+=s-n):e.top=0<c&&s<=0?i:c<s?i+a-t.collisionHeight:i:0<s?e.top+=s:0<c?e.top-=c:e.top=C(e.top-o,e.top)}},flip:{left:function(e,t){var n,r,i=t.within,a=i.offset.left+i.scrollLeft,o=i.width,s=i.isWindow?i.scrollLeft:i.offset.left,c=e.left-t.collisionPosition.marginLeft,l=c-s,u=c+t.collisionWidth-o-s,f="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,d="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,h=-2*t.offset[0];l<0?((n=e.left+f+d+h+t.collisionWidth-o-a)<0||n<A(l))&&(e.left+=f+d+h):0<u&&(0<(r=e.left-t.collisionPosition.marginLeft+f+d+h-s)||A(r)<u)&&(e.left+=f+d+h)},top:function(e,t){var n,r,i=t.within,a=i.offset.top+i.scrollTop,o=i.height,s=i.isWindow?i.scrollTop:i.offset.top,c=e.top-t.collisionPosition.marginTop,l=c-s,u=c+t.collisionHeight-o-s,f="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,d="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,h=-2*t.offset[1];l<0?((r=e.top+f+d+h+t.collisionHeight-o-a)<0||r<A(l))&&(e.top+=f+d+h):0<u&&(0<(n=e.top-t.collisionPosition.marginTop+f+d+h-s)||A(n)<u)&&(e.top+=f+d+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}}}();x.ui.position,x.extend(x.expr[":"],{data:x.expr.createPseudo?x.expr.createPseudo(function(t){return function(e){return!!x.data(e,t)}}):function(e,t,n){return!!x.data(e,n[3])}}),x.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e,r,c="ui-effects-",l="ui-effects-style",f="ui-effects-animated",u=x;x.effects={effect:{}},function(u,f){var l,d=/^([\-+])=\s*(\d+\.?\d*)/,e=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],h=u.Color=function(e,t,n,r){return new u.Color.fn.parse(e,t,n,r)},p={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},m={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},o=h.support={},t=u("<p>")[0],g=u.each;function _(e,t,n){var r=m[t.type]||{};return null==e?n||!t.def?null:t.def:(e=r.floor?~~e:parseFloat(e),isNaN(e)?t.def:r.mod?(e+r.mod)%r.mod:e<0?0:r.max<e?r.max:e)}function s(o){var s=h(),c=s._rgba=[];return o=o.toLowerCase(),g(e,function(e,t){var n,r=t.re.exec(o),i=r&&t.parse(r),a=t.space||"rgba";if(i)return n=s[a](i),s[p[a].cache]=n[p[a].cache],c=s._rgba=n._rgba,!1}),c.length?("0,0,0,0"===c.join()&&u.extend(c,l.transparent),s):l[o]}function c(e,t,n){return 6*(n=(n+1)%1)<1?e+(t-e)*n*6:2*n<1?t:3*n<2?e+(t-e)*(2/3-n)*6:e}t.style.cssText="background-color:rgba(1,1,1,.5)",o.rgba=-1<t.style.backgroundColor.indexOf("rgba"),g(p,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),h.fn=u.extend(h.prototype,{parse:function(i,e,t,n){if(i===f)return this._rgba=[null,null,null,null],this;(i.jquery||i.nodeType)&&(i=u(i).css(e),e=f);var a=this,r=u.type(i),o=this._rgba=[];return e!==f&&(i=[i,e,t,n],r="array"),"string"===r?this.parse(s(i)||l._default):"array"===r?(g(p.rgba.props,function(e,t){o[t.idx]=_(i[t.idx],t)}),this):"object"===r?(g(p,i instanceof h?function(e,t){i[t.cache]&&(a[t.cache]=i[t.cache].slice())}:function(e,n){var r=n.cache;g(n.props,function(e,t){if(!a[r]&&n.to){if("alpha"===e||null==i[e])return;a[r]=n.to(a._rgba)}a[r][t.idx]=_(i[e],t,!0)}),a[r]&&u.inArray(null,a[r].slice(0,3))<0&&(a[r][3]=1,n.from&&(a._rgba=n.from(a[r])))}),this):void 0},is:function(e){var i=h(e),a=!0,o=this;return g(p,function(e,t){var n,r=i[t.cache];return r&&(n=o[t.cache]||t.to&&t.to(o._rgba)||[],g(t.props,function(e,t){if(null!=r[t.idx])return a=r[t.idx]===n[t.idx]})),a}),a},_space:function(){var n=[],r=this;return g(p,function(e,t){r[t.cache]&&n.push(e)}),n.pop()},transition:function(e,o){var s=h(e),t=s._space(),n=p[t],r=0===this.alpha()?h("transparent"):this,c=r[n.cache]||n.to(r._rgba),l=c.slice();return s=s[n.cache],g(n.props,function(e,t){var n=t.idx,r=c[n],i=s[n],a=m[t.type]||{};null!==i&&(null===r?l[n]=i:(a.mod&&(i-r>a.mod/2?r+=a.mod:r-i>a.mod/2&&(r-=a.mod)),l[n]=_((i-r)*o+r,t)))}),this[t](l)},blend:function(e){if(1===this._rgba[3])return this;var t=this._rgba.slice(),n=t.pop(),r=h(e)._rgba;return h(u.map(t,function(e,t){return(1-n)*r[t]+n*e}))},toRgbaString:function(){var e="rgba(",t=u.map(this._rgba,function(e,t){return null==e?2<t?1:0:e});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join()+")"},toHslaString:function(){var e="hsla(",t=u.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),t&&t<3&&(e=Math.round(100*e)+"%"),e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join()+")"},toHexString:function(e){var t=this._rgba.slice(),n=t.pop();return e&&t.push(~~(255*n)),"#"+u.map(t,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),h.fn.parse.prototype=h.fn,p.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=e[3],s=Math.max(r,i,a),c=Math.min(r,i,a),l=s-c,u=s+c,f=.5*u;return t=c===s?0:r===s?60*(i-a)/l+360:i===s?60*(a-r)/l+120:60*(r-i)/l+240,n=0===l?0:f<=.5?l/u:l/(2-u),[Math.round(t)%360,n,f,null==o?1:o]},p.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,n=e[1],r=e[2],i=e[3],a=r<=.5?r*(1+n):r+n-r*n,o=2*r-a;return[Math.round(255*c(o,a,t+1/3)),Math.round(255*c(o,a,t)),Math.round(255*c(o,a,t-1/3)),i]},g(p,function(c,e){var n=e.props,o=e.cache,s=e.to,l=e.from;h.fn[c]=function(e){if(s&&!this[o]&&(this[o]=s(this._rgba)),e===f)return this[o].slice();var t,r=u.type(e),i="array"===r||"object"===r?e:arguments,a=this[o].slice();return g(n,function(e,t){var n=i["object"===r?e:t.idx];null==n&&(n=a[t.idx]),a[t.idx]=_(n,t)}),l?((t=h(l(a)))[o]=a,t):h(a)},g(n,function(o,s){h.fn[o]||(h.fn[o]=function(e){var t,n=u.type(e),r="alpha"===o?this._hsla?"hsla":"rgba":c,i=this[r](),a=i[s.idx];return"undefined"===n?a:("function"===n&&(e=e.call(this,a),n=u.type(e)),null==e&&s.empty?this:("string"===n&&(t=d.exec(e))&&(e=a+parseFloat(t[2])*("+"===t[1]?1:-1)),i[s.idx]=e,this[r](i)))})})}),h.hook=function(e){var t=e.split(" ");g(t,function(e,a){u.cssHooks[a]={set:function(e,t){var n,r,i="";if("transparent"!==t&&("string"!==u.type(t)||(n=s(t)))){if(t=h(n||t),!o.rgba&&1!==t._rgba[3]){for(r="backgroundColor"===a?e.parentNode:e;(""===i||"transparent"===i)&&r&&r.style;)try{i=u.css(r,"backgroundColor"),r=r.parentNode}catch(e){}t=t.blend(i&&"transparent"!==i?i:"_default")}t=t.toRgbaString()}try{e.style[a]=t}catch(e){}}},u.fx.step[a]=function(e){e.colorInit||(e.start=h(e.elem,a),e.end=h(e.end),e.colorInit=!0),u.cssHooks[a].set(e.elem,e.start.transition(e.end,e.pos))}})},h.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),u.cssHooks.borderColor={expand:function(n){var r={};return g(["Top","Right","Bottom","Left"],function(e,t){r["border"+t+"Color"]=n}),r}},l=u.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(u),function(){var a,i,o,s=["add","remove","toggle"],c={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};function l(e){var t,n,r=e.ownerDocument.defaultView?e.ownerDocument.defaultView.getComputedStyle(e,null):e.currentStyle,i={};if(r&&r.length&&r[0]&&r[r[0]])for(n=r.length;n--;)"string"==typeof r[t=r[n]]&&(i[x.camelCase(t)]=r[t]);else for(t in r)"string"==typeof r[t]&&(i[t]=r[t]);return i}x.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){x.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(u.style(e.elem,t,e.end),e.setAttr=!0)}}),x.fn.addBack||(x.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),x.effects.animateClass=function(i,e,t,n){var a=x.speed(e,t,n);return this.queue(function(){var e,n=x(this),t=n.attr("class")||"",r=a.children?n.find("*").addBack():n;r=r.map(function(){return{el:x(this),start:l(this)}}),(e=function(){x.each(s,function(e,t){i[t]&&n[t+"Class"](i[t])})})(),r=r.map(function(){return this.end=l(this.el[0]),this.diff=function(e,t){var n,r,i={};for(n in t)r=t[n],e[n]!==r&&(c[n]||!x.fx.step[n]&&isNaN(parseFloat(r))||(i[n]=r));return i}(this.start,this.end),this}),n.attr("class",t),r=r.map(function(){var e=this,t=x.Deferred(),n=x.extend({},a,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,n),t.promise()}),x.when.apply(x,r.get()).done(function(){e(),x.each(arguments,function(){var t=this.el;x.each(this.diff,function(e){t.css(e,"")})}),a.complete.call(n[0])})})},x.fn.extend({addClass:(o=x.fn.addClass,function(e,t,n,r){return t?x.effects.animateClass.call(this,{add:e},t,n,r):o.apply(this,arguments)}),removeClass:(i=x.fn.removeClass,function(e,t,n,r){return 1<arguments.length?x.effects.animateClass.call(this,{remove:e},t,n,r):i.apply(this,arguments)}),toggleClass:(a=x.fn.toggleClass,function(e,t,n,r,i){return"boolean"==typeof t||void 0===t?n?x.effects.animateClass.call(this,t?{add:e}:{remove:e},n,r,i):a.apply(this,arguments):x.effects.animateClass.call(this,{toggle:e},t,n,r)}),switchClass:function(e,t,n,r,i){return x.effects.animateClass.call(this,{add:t,remove:e},n,r,i)}})}(),function(){var t,n,r,i;function u(e,t,n,r){return x.isPlainObject(e)&&(e=(t=e).effect),e={effect:e},null==t&&(t={}),x.isFunction(t)&&(r=t,n=null,t={}),("number"==typeof t||x.fx.speeds[t])&&(r=n,n=t,t={}),x.isFunction(n)&&(r=n,n=null),t&&x.extend(e,t),n=n||t.duration,e.duration=x.fx.off?0:"number"==typeof n?n:n in x.fx.speeds?x.fx.speeds[n]:x.fx.speeds._default,e.complete=r||t.complete,e}function a(e){return!(e&&"number"!=typeof e&&!x.fx.speeds[e])||("string"==typeof e&&!x.effects.effect[e]||(!!x.isFunction(e)||"object"==typeof e&&!e.effect))}function o(e,t){var n=t.outerWidth(),r=t.outerHeight(),i=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,n,r,0];return{top:parseFloat(i[1])||0,right:"auto"===i[2]?n:parseFloat(i[2]),bottom:"auto"===i[3]?r:parseFloat(i[3]),left:parseFloat(i[4])||0}}x.expr&&x.expr.filters&&x.expr.filters.animated&&(x.expr.filters.animated=(t=x.expr.filters.animated,function(e){return!!x(e).data(f)||t(e)})),!1!==x.uiBackCompat&&x.extend(x.effects,{save:function(e,t){for(var n=0,r=t.length;n<r;n++)null!==t[n]&&e.data(c+t[n],e[0].style[t[n]])},restore:function(e,t){for(var n,r=0,i=t.length;r<i;r++)null!==t[r]&&(n=e.data(c+t[r]),e.css(t[r],n))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(n){if(n.parent().is(".ui-effects-wrapper"))return n.parent();var r={width:n.outerWidth(!0),height:n.outerHeight(!0),float:n.css("float")},e=x("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:n.width(),height:n.height()},i=document.activeElement;try{i.id}catch(e){i=document.body}return n.wrap(e),(n[0]===i||x.contains(n[0],i))&&x(i).trigger("focus"),e=n.parent(),"static"===n.css("position")?(e.css({position:"relative"}),n.css({position:"relative"})):(x.extend(r,{position:n.css("position"),zIndex:n.css("z-index")}),x.each(["top","left","bottom","right"],function(e,t){r[t]=n.css(t),isNaN(parseInt(r[t],10))&&(r[t]="auto")}),n.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),n.css(t),e.css(r).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),(e[0]===t||x.contains(e[0],t))&&x(t).trigger("focus")),e}}),x.extend(x.effects,{version:"1.12.1",define:function(e,t,n){return n||(n=t,t="effect"),x.effects.effect[e]=n,x.effects.effect[e].mode=t,n},scaledDimensions:function(e,t,n){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var r="horizontal"!==n?(t||100)/100:1,i="vertical"!==n?(t||100)/100:1;return{height:e.height()*i,width:e.width()*r,outerHeight:e.outerHeight()*i,outerWidth:e.outerWidth()*r}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,n){var r=e.queue();1<t&&r.splice.apply(r,[1,0].concat(r.splice(t,n))),e.dequeue()},saveStyle:function(e){e.data(l,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(l)||"",e.removeData(l)},mode:function(e,t){var n=e.is(":hidden");return"toggle"===t&&(t=n?"show":"hide"),(n?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var n,r;switch(e[0]){case"top":n=0;break;case"middle":n=.5;break;case"bottom":n=1;break;default:n=e[0]/t.height}switch(e[1]){case"left":r=0;break;case"center":r=.5;break;case"right":r=1;break;default:r=e[1]/t.width}return{x:r,y:n}},createPlaceholder:function(e){var t,n=e.css("position"),r=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(n)&&(n="absolute",t=x("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(c+"placeholder",t)),e.css({position:n,left:r.left,top:r.top}),t},removePlaceholder:function(e){var t=c+"placeholder",n=e.data(t);n&&(n.remove(),e.removeData(t))},cleanUp:function(e){x.effects.restoreStyle(e),x.effects.removePlaceholder(e)},setTransition:function(r,e,i,a){return a=a||{},x.each(e,function(e,t){var n=r.cssUnit(t);0<n[0]&&(a[t]=n[0]*i+n[1])}),a}}),x.fn.extend({effect:function(){var r=u.apply(this,arguments),i=x.effects.effect[r.effect],a=i.mode,e=r.queue,t=e||"fx",o=r.complete,s=r.mode,c=[],n=function(e){var t=x(this),n=x.effects.mode(t,s)||a;t.data(f,!0),c.push(n),a&&("show"===n||n===a&&"hide"===n)&&t.show(),a&&"none"===n||x.effects.saveStyle(t),x.isFunction(e)&&e()};if(x.fx.off||!i)return s?this[s](r.duration,o):this.each(function(){o&&o.call(this)});function l(e){var t=x(this);function n(){x.isFunction(o)&&o.call(t[0]),x.isFunction(e)&&e()}r.mode=c.shift(),!1===x.uiBackCompat||a?"none"===r.mode?(t[s](),n()):i.call(t[0],r,function(){t.removeData(f),x.effects.cleanUp(t),"hide"===r.mode&&t.hide(),n()}):(t.is(":hidden")?"hide"===s:"show"===s)?(t[s](),n()):i.call(t[0],r,n)}return!1===e?this.each(n).each(l):this.queue(t,n).queue(t,l)},show:(i=x.fn.show,function(e){if(a(e))return i.apply(this,arguments);var t=u.apply(this,arguments);return t.mode="show",this.effect.call(this,t)}),hide:(r=x.fn.hide,function(e){if(a(e))return r.apply(this,arguments);var t=u.apply(this,arguments);return t.mode="hide",this.effect.call(this,t)}),toggle:(n=x.fn.toggle,function(e){if(a(e)||"boolean"==typeof e)return n.apply(this,arguments);var t=u.apply(this,arguments);return t.mode="toggle",this.effect.call(this,t)}),cssUnit:function(e){var n=this.css(e),r=[];return x.each(["em","px","%","pt"],function(e,t){0<n.indexOf(t)&&(r=[parseFloat(n),t])}),r},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):o(this.css("clip"),this)},transfer:function(e,t){var n=x(this),r=x(e.to),i="fixed"===r.css("position"),a=x("body"),o=i?a.scrollTop():0,s=i?a.scrollLeft():0,c=r.offset(),l={top:c.top-o,left:c.left-s,height:r.innerHeight(),width:r.innerWidth()},u=n.offset(),f=x("<div class='ui-effects-transfer'></div>").appendTo("body").addClass(e.className).css({top:u.top-o,left:u.left-s,height:n.innerHeight(),width:n.innerWidth(),position:i?"fixed":"absolute"}).animate(l,e.duration,e.easing,function(){f.remove(),x.isFunction(t)&&t()})}}),x.fx.step.clip=function(e){e.clipInit||(e.start=x(e.elem).cssClip(),"string"==typeof e.end&&(e.end=o(e.end,e.elem)),e.clipInit=!0),x(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})}}(),r={},x.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){r[e]=function(e){return Math.pow(e,t+2)}}),x.extend(r,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,n=4;e<((t=Math.pow(2,--n))-1)/11;);return 1/Math.pow(4,3-n)-7.5625*Math.pow((3*t-2)/22-e,2)}}),x.each(r,function(e,t){x.easing["easeIn"+e]=t,x.easing["easeOut"+e]=function(e){return 1-t(1-e)},x.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});x.effects,x.effects.define("blind","hide",function(e,t){var n={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},r=x(this),i=e.direction||"up",a=r.cssClip(),o={clip:x.extend({},a)},s=x.effects.createPlaceholder(r);o.clip[n[i][0]]=o.clip[n[i][1]],"show"===e.mode&&(r.cssClip(o.clip),s&&s.css(x.effects.clipToBox(o)),o.clip=a),s&&s.animate(x.effects.clipToBox(o),e.duration,e.easing),r.animate(o,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("bounce",function(e,t){var n,r,i,a=x(this),o=e.mode,s="hide"===o,c="show"===o,l=e.direction||"up",u=e.distance,f=e.times||5,d=2*f+(c||s?1:0),h=e.duration/d,p=e.easing,m="up"===l||"down"===l?"top":"left",g="up"===l||"left"===l,_=0,b=a.queue().length;for(x.effects.createPlaceholder(a),i=a.css(m),u||(u=a["top"===m?"outerHeight":"outerWidth"]()/3),c&&((r={opacity:1})[m]=i,a.css("opacity",0).css(m,g?2*-u:2*u).animate(r,h,p)),s&&(u/=Math.pow(2,f-1)),(r={})[m]=i;_<f;_++)(n={})[m]=(g?"-=":"+=")+u,a.animate(n,h,p).animate(r,h,p),u=s?2*u:u/2;s&&((n={opacity:0})[m]=(g?"-=":"+=")+u,a.animate(n,h,p)),a.queue(t),x.effects.unshift(a,b,d+1)}),x.effects.define("clip","hide",function(e,t){var n,r={},i=x(this),a=e.direction||"vertical",o="both"===a,s=o||"horizontal"===a,c=o||"vertical"===a;n=i.cssClip(),r.clip={top:c?(n.bottom-n.top)/2:n.top,right:s?(n.right-n.left)/2:n.right,bottom:c?(n.bottom-n.top)/2:n.bottom,left:s?(n.right-n.left)/2:n.left},x.effects.createPlaceholder(i),"show"===e.mode&&(i.cssClip(r.clip),r.clip=n),i.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("drop","hide",function(e,t){var n,r=x(this),i="show"===e.mode,a=e.direction||"left",o="up"===a||"down"===a?"top":"left",s="up"===a||"left"===a?"-=":"+=",c="+="===s?"-=":"+=",l={opacity:0};x.effects.createPlaceholder(r),n=e.distance||r["top"===o?"outerHeight":"outerWidth"](!0)/2,l[o]=s+n,i&&(r.css(l),l[o]=c+n,l.opacity=1),r.animate(l,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("explode","hide",function(e,t){var n,r,i,a,o,s,c=e.pieces?Math.round(Math.sqrt(e.pieces)):3,l=c,u=x(this),f="show"===e.mode,d=u.show().css("visibility","hidden").offset(),h=Math.ceil(u.outerWidth()/l),p=Math.ceil(u.outerHeight()/c),m=[];function g(){m.push(this),m.length===c*l&&(u.css({visibility:"visible"}),x(m).remove(),t())}for(n=0;n<c;n++)for(a=d.top+n*p,s=n-(c-1)/2,r=0;r<l;r++)i=d.left+r*h,o=r-(l-1)/2,u.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-r*h,top:-n*p}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:h,height:p,left:i+(f?o*h:0),top:a+(f?s*p:0),opacity:f?0:1}).animate({left:i+(f?0:o*h),top:a+(f?0:s*p),opacity:f?1:0},e.duration||500,e.easing,g)}),x.effects.define("fade","toggle",function(e,t){var n="show"===e.mode;x(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("fold","hide",function(t,e){var n=x(this),r=t.mode,i="show"===r,a="hide"===r,o=t.size||15,s=/([0-9]+)%/.exec(o),c=!!t.horizFirst?["right","bottom"]:["bottom","right"],l=t.duration/2,u=x.effects.createPlaceholder(n),f=n.cssClip(),d={clip:x.extend({},f)},h={clip:x.extend({},f)},p=[f[c[0]],f[c[1]]],m=n.queue().length;s&&(o=parseInt(s[1],10)/100*p[a?0:1]),d.clip[c[0]]=o,h.clip[c[0]]=o,h.clip[c[1]]=0,i&&(n.cssClip(h.clip),u&&u.css(x.effects.clipToBox(h)),h.clip=f),n.queue(function(e){u&&u.animate(x.effects.clipToBox(d),l,t.easing).animate(x.effects.clipToBox(h),l,t.easing),e()}).animate(d,l,t.easing).animate(h,l,t.easing).queue(e),x.effects.unshift(n,m,4)}),x.effects.define("highlight","show",function(e,t){var n=x(this),r={backgroundColor:n.css("backgroundColor")};"hide"===e.mode&&(r.opacity=0),x.effects.saveStyle(n),n.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),x.effects.define("size",function(i,t){var e,a,n,r=x(this),o=["fontSize"],s=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],c=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],l=i.mode,u="effect"!==l,f=i.scale||"both",d=i.origin||["middle","center"],h=r.css("position"),p=r.position(),m=x.effects.scaledDimensions(r),g=i.from||m,_=i.to||x.effects.scaledDimensions(r,0);x.effects.createPlaceholder(r),"show"===l&&(n=g,g=_,_=n),a={from:{y:g.height/m.height,x:g.width/m.width},to:{y:_.height/m.height,x:_.width/m.width}},"box"!==f&&"both"!==f||(a.from.y!==a.to.y&&(g=x.effects.setTransition(r,s,a.from.y,g),_=x.effects.setTransition(r,s,a.to.y,_)),a.from.x!==a.to.x&&(g=x.effects.setTransition(r,c,a.from.x,g),_=x.effects.setTransition(r,c,a.to.x,_))),"content"!==f&&"both"!==f||a.from.y!==a.to.y&&(g=x.effects.setTransition(r,o,a.from.y,g),_=x.effects.setTransition(r,o,a.to.y,_)),d&&(e=x.effects.getBaseline(d,m),g.top=(m.outerHeight-g.outerHeight)*e.y+p.top,g.left=(m.outerWidth-g.outerWidth)*e.x+p.left,_.top=(m.outerHeight-_.outerHeight)*e.y+p.top,_.left=(m.outerWidth-_.outerWidth)*e.x+p.left),r.css(g),"content"!==f&&"both"!==f||(s=s.concat(["marginTop","marginBottom"]).concat(o),c=c.concat(["marginLeft","marginRight"]),r.find("*[width]").each(function(){var e=x(this),t=x.effects.scaledDimensions(e),n={height:t.height*a.from.y,width:t.width*a.from.x,outerHeight:t.outerHeight*a.from.y,outerWidth:t.outerWidth*a.from.x},r={height:t.height*a.to.y,width:t.width*a.to.x,outerHeight:t.height*a.to.y,outerWidth:t.width*a.to.x};a.from.y!==a.to.y&&(n=x.effects.setTransition(e,s,a.from.y,n),r=x.effects.setTransition(e,s,a.to.y,r)),a.from.x!==a.to.x&&(n=x.effects.setTransition(e,c,a.from.x,n),r=x.effects.setTransition(e,c,a.to.x,r)),u&&x.effects.saveStyle(e),e.css(n),e.animate(r,i.duration,i.easing,function(){u&&x.effects.restoreStyle(e)})})),r.animate(_,{queue:!1,duration:i.duration,easing:i.easing,complete:function(){var e=r.offset();0===_.opacity&&r.css("opacity",g.opacity),u||(r.css("position","static"===h?"relative":h).offset(e),x.effects.saveStyle(r)),t()}})}),x.effects.define("scale",function(e,t){var n=x(this),r=e.mode,i=parseInt(e.percent,10)||(0===parseInt(e.percent,10)?0:"effect"!==r?0:100),a=x.extend(!0,{from:x.effects.scaledDimensions(n),to:x.effects.scaledDimensions(n,i,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(a.from.opacity=1,a.to.opacity=0),x.effects.effect.size.call(this,a,t)}),x.effects.define("puff","hide",function(e,t){var n=x.extend(!0,{},e,{fade:!0,percent:parseInt(e.percent,10)||150});x.effects.effect.scale.call(this,n,t)}),x.effects.define("pulsate","show",function(e,t){var n=x(this),r=e.mode,i="show"===r,a=i||"hide"===r,o=2*(e.times||5)+(a?1:0),s=e.duration/o,c=0,l=1,u=n.queue().length;for(!i&&n.is(":visible")||(n.css("opacity",0).show(),c=1);l<o;l++)n.animate({opacity:c},s,e.easing),c=1-c;n.animate({opacity:c},s,e.easing),n.queue(t),x.effects.unshift(n,u,o+1)}),x.effects.define("shake",function(e,t){var n=1,r=x(this),i=e.direction||"left",a=e.distance||20,o=e.times||3,s=2*o+1,c=Math.round(e.duration/s),l="up"===i||"down"===i?"top":"left",u="up"===i||"left"===i,f={},d={},h={},p=r.queue().length;for(x.effects.createPlaceholder(r),f[l]=(u?"-=":"+=")+a,d[l]=(u?"+=":"-=")+2*a,h[l]=(u?"-=":"+=")+2*a,r.animate(f,c,e.easing);n<o;n++)r.animate(d,c,e.easing).animate(h,c,e.easing);r.animate(d,c,e.easing).animate(f,c/2,e.easing).queue(t),x.effects.unshift(r,p,s+1)}),x.effects.define("slide","show",function(e,t){var n,r,i=x(this),a={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=e.mode,s=e.direction||"left",c="up"===s||"down"===s?"top":"left",l="up"===s||"left"===s,u=e.distance||i["top"===c?"outerHeight":"outerWidth"](!0),f={};x.effects.createPlaceholder(i),n=i.cssClip(),r=i.position()[c],f[c]=(l?-1:1)*u+r,f.clip=i.cssClip(),f.clip[a[s][1]]=f.clip[a[s][0]],"show"===o&&(i.cssClip(f.clip),i.css(c,f[c]),f.clip=n,f[c]=r),i.animate(f,{queue:!1,duration:e.duration,easing:e.easing,complete:t})});!1!==x.uiBackCompat&&x.effects.define("transfer",function(e,t){x(this).transfer(e,t)});x.ui.focusable=function(e,t){var n,r,i,a,o,s=e.nodeName.toLowerCase();return"area"===s?(r=(n=e.parentNode).name,!(!e.href||!r||"map"!==n.nodeName.toLowerCase())&&(0<(i=x("img[usemap='#"+r+"']")).length&&i.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(s)?(a=!e.disabled)&&(o=x(e).closest("fieldset")[0])&&(a=!o.disabled):a="a"===s&&e.href||t,a&&x(e).is(":visible")&&function(e){var t=e.css("visibility");for(;"inherit"===t;)e=e.parent(),t=e.css("visibility");return"hidden"!==t}(x(e)))},x.extend(x.expr[":"],{focusable:function(e){return x.ui.focusable(e,null!=x.attr(e,"tabindex"))}});x.ui.focusable,x.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},x.ui.formResetMixin={_formResetHandler:function(){var t=x(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");x.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var e=this.form.data("ui-form-reset-instances")||[];e.length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(x.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};"1.7"===x.fn.jquery.substring(0,3)&&(x.each(["Width","Height"],function(e,n){var i="Width"===n?["Left","Right"]:["Top","Bottom"],r=n.toLowerCase(),a={innerWidth:x.fn.innerWidth,innerHeight:x.fn.innerHeight,outerWidth:x.fn.outerWidth,outerHeight:x.fn.outerHeight};function o(e,t,n,r){return x.each(i,function(){t-=parseFloat(x.css(e,"padding"+this))||0,n&&(t-=parseFloat(x.css(e,"border"+this+"Width"))||0),r&&(t-=parseFloat(x.css(e,"margin"+this))||0)}),t}x.fn["inner"+n]=function(e){return void 0===e?a["inner"+n].call(this):this.each(function(){x(this).css(r,o(this,e)+"px")})},x.fn["outer"+n]=function(e,t){return"number"!=typeof e?a["outer"+n].call(this,e):this.each(function(){x(this).css(r,o(this,e,!0,t)+"px")})}}),x.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))});var t,a;x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},x.ui.escapeSelector=(t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g,function(e){return e.replace(t,"\\$1")}),x.fn.labels=function(){var e,t,n,r,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(r=this.eq(0).parents("label"),(n=this.attr("id"))&&(i=(e=this.eq(0).parents().last()).add(e.length?e.siblings():this.siblings()),t="label[for='"+x.ui.escapeSelector(n)+"']",r=r.add(i.find(t).addBack(t))),this.pushStack(r))},x.fn.scrollParent=function(e){var t=this.css("position"),n="absolute"===t,r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter(function(){var e=x(this);return(!n||"static"!==e.css("position"))&&r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&i.length?i:x(this[0].ownerDocument||document)},x.extend(x.expr[":"],{tabbable:function(e){var t=x.attr(e,"tabindex"),n=null!=t;return(!n||0<=t)&&x.ui.focusable(e,n)}}),x.fn.extend({uniqueId:(a=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++a)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}}),x.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=x(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():x()}},_createIcons:function(){var e,t,n=this.options.icons;n&&(e=x("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+n.header),e.prependTo(this.headers),t=this.active.children(".ui-accordion-header-icon"),this._removeClass(t,n.header)._addClass(t,null,n.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"!==e?("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t&&this._createIcons())):this._activate(t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=x.ui.keyCode,n=this.headers.length,r=this.headers.index(e.target),i=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:i=this.headers[(r+1)%n];break;case t.LEFT:case t.UP:i=this.headers[(r-1+n)%n];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:i=this.headers[0];break;case t.END:i=this.headers[n-1]}i&&(x(e.target).attr("tabIndex",-1),x(i).attr("tabIndex",0),x(i).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===x.ui.keyCode.UP&&e.ctrlKey&&x(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=x()):!1===e.active?this._activate(0):this.active.length&&!x.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=x()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var n,e=this.options,t=e.heightStyle,r=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=x(this),t=e.uniqueId().attr("id"),n=e.next(),r=n.uniqueId().attr("id");e.attr("aria-controls",r),n.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(n=r.height(),this.element.siblings(":visible").each(function(){var e=x(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(n-=e.outerHeight(!0))}),this.headers.each(function(){n-=x(this).outerHeight(!0)}),this.headers.next().each(function(){x(this).height(Math.max(0,n-x(this).innerHeight()+x(this).height()))}).css("overflow","auto")):"auto"===t&&(n=0,this.headers.next().each(function(){var e=x(this).is(":visible");e||x(this).show(),n=Math.max(n,x(this).css("height","").height()),e||x(this).hide()}).height(n))},_activate:function(e){var t=this._findActive(e)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:x.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):x()},_setupEvents:function(e){var n={keydown:"_keydown"};e&&x.each(e.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,n),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t,n,r=this.options,i=this.active,a=x(e.currentTarget),o=a[0]===i[0],s=o&&r.collapsible,c=s?x():a.next(),l=i.next(),u={oldHeader:i,oldPanel:l,newHeader:s?x():a,newPanel:c};e.preventDefault(),o&&!r.collapsible||!1===this._trigger("beforeActivate",e,u)||(r.active=!s&&this.headers.index(a),this.active=o?x():a,this._toggle(u),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),r.icons&&(t=i.children(".ui-accordion-header-icon"),this._removeClass(t,null,r.icons.activeHeader)._addClass(t,null,r.icons.header)),o||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),r.icons&&(n=a.children(".ui-accordion-header-icon"),this._removeClass(n,null,r.icons.header)._addClass(n,null,r.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active")))},_toggle:function(e){var t=e.newPanel,n=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=n,this.options.animate?this._animate(t,n,e):(n.hide(),t.show(),this._toggleComplete(e)),n.attr({"aria-hidden":"true"}),n.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&n.length?n.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(x(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,n,t){var r,i,a,o=this,s=0,c=e.css("box-sizing"),l=e.length&&(!n.length||e.index()<n.index()),u=this.options.animate||{},f=l&&u.down||u,d=function(){o._toggleComplete(t)};return"number"==typeof f&&(a=f),"string"==typeof f&&(i=f),i=i||f.easing||u.easing,a=a||f.duration||u.duration,n.length?e.length?(r=e.show().outerHeight(),n.animate(this.hideProps,{duration:a,easing:i,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:a,easing:i,complete:d,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===c&&(s+=t.now):"content"!==o.options.heightStyle&&(t.now=Math.round(r-n.outerHeight()-s),s=0)}})):n.animate(this.hideProps,a,i,d):e.animate(this.showProps,a,i,d)},_toggleComplete:function(e){var t=e.oldPanel,n=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(n,"ui-accordion-header-active")._addClass(n,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}}),x.ui.safeActiveElement=function(t){var n;try{n=t.activeElement}catch(e){n=t.body}return n||(n=t.body),n.nodeName||(n=t.body),n},x.widget("ui.menu",{version:"1.12.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault()},"click .ui-menu-item":function(e){var t=x(e.target),n=x(x.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&n.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer)))},"mouseenter .ui-menu-item":function(e){if(!this.previousFilter){var t=x(e.target).closest(".ui-menu-item"),n=x(e.currentTarget);t[0]===n[0]&&(this._removeClass(n.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,n))}},mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var n=this.active||this.element.find(this.options.items).eq(0);t||this.focus(e,n)},blur:function(e){this._delay(function(){!x.contains(this.element[0],x.ui.safeActiveElement(this.document[0]))&&this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e),this.mouseHandled=!1}})},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=x(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,n,r,i,a=!0;switch(e.keyCode){case x.ui.keyCode.PAGE_UP:this.previousPage(e);break;case x.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case x.ui.keyCode.HOME:this._move("first","first",e);break;case x.ui.keyCode.END:this._move("last","last",e);break;case x.ui.keyCode.UP:this.previous(e);break;case x.ui.keyCode.DOWN:this.next(e);break;case x.ui.keyCode.LEFT:this.collapse(e);break;case x.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case x.ui.keyCode.ENTER:case x.ui.keyCode.SPACE:this._activate(e);break;case x.ui.keyCode.ESCAPE:this.collapse(e);break;default:a=!1,n=this.previousFilter||"",i=!1,r=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),r===n?i=!0:r=n+r,t=this._filterMenuItems(r),(t=i&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(r=String.fromCharCode(e.keyCode),t=this._filterMenuItems(r)),t.length?(this.focus(e,t),this.previousFilter=r,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}a&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,n,r,i=this,a=this.options.icons.submenu,o=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),t=o.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=x(this),t=e.prev(),n=x("<span>").data("ui-menu-submenu-caret",!0);i._addClass(n,"ui-menu-icon","ui-icon "+a),t.attr("aria-haspopup","true").prepend(n),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(t,"ui-menu","ui-widget ui-widget-content ui-front"),(e=o.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=x(this);i._isDivider(e)&&i._addClass(e,"ui-menu-divider","ui-widget-content")}),r=(n=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(n,"ui-menu-item")._addClass(r,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!x.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){if("icons"===e){var n=this.element.find(".ui-menu-icon");this._removeClass(n,null,this.options.icons.submenu)._addClass(n,null,t.submenu)}this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var n,r,i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),r=this.active.children(".ui-menu-item-wrapper"),this._addClass(r,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",r.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(n=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(n),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,n,r,i,a,o;this._hasScroll()&&(t=parseFloat(x.css(this.activeMenu[0],"borderTopWidth"))||0,n=parseFloat(x.css(this.activeMenu[0],"paddingTop"))||0,r=e.offset().top-this.activeMenu.offset().top-t-n,i=this.activeMenu.scrollTop(),a=this.activeMenu.height(),o=e.outerHeight(),r<0?this.activeMenu.scrollTop(i+r):a<r+o&&this.activeMenu.scrollTop(i+r-a+o))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=x.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,n){clearTimeout(this.timer),this.timer=this._delay(function(){var e=n?this.element:x(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this._removeClass(e.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=e},this.delay)},_close:function(e){e||(e=this.active?this.active.parent():this.element),e.find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","false")},_closeOnDocumentClick:function(e){return!x(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this.active.children(".ui-menu ").find(this.options.items).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_move:function(e,t,n){var r;this.active&&(r="first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").eq(-1):this.active[e+"All"](".ui-menu-item").eq(0)),r&&r.length&&this.active||(r=this.activeMenu.find(this.options.items)[t]()),this.focus(n,r)},nextPage:function(e){var t,n,r;this.active?this.isLastItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.nextAll(".ui-menu-item").each(function(){return(t=x(this)).offset().top-n-r<0}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var t,n,r;this.active?this.isFirstItem()||(this._hasScroll()?(n=this.active.offset().top,r=this.element.height(),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=x(this)).offset().top-n+r}),this.focus(e,t)):this.focus(e,this.activeMenu.find(this.options.items).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||x(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var t=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),n=new RegExp("^"+t,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return n.test(x.trim(x(this).children(".ui-menu-item-wrapper").text()))})}});x.widget("ui.autocomplete",{version:"1.12.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var n,r,i,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,a="input"===e;this.isMultiLine=t||!a&&this._isContentEditable(this.element),this.valueMethod=this.element[t||a?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))r=i=n=!0;else{r=i=n=!1;var t=x.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:n=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:n=!0,this._move("nextPage",e);break;case t.UP:n=!0,this._keyEvent("previous",e);break;case t.DOWN:n=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(n=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:r=!0,this._searchTimeout(e)}}},keypress:function(e){if(n)return n=!1,void(this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault());if(!r){var t=x.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){if(i)return i=!1,void e.preventDefault();this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(e),this._change(e))}}),this._initSource(),this.menu=x("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==x.ui.safeActiveElement(this.document[0])&&this.element.trigger("focus")})},menufocus:function(e,t){var n,r;if(this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent&&/^mouse/.test(e.originalEvent.type)))return this.menu.blur(),void this.document.one("mousemove",function(){x(e.target).trigger(e.originalEvent)});r=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:r})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(r.value),(n=t.item.attr("aria-label")||r.value)&&x.trim(n).length&&(this.liveRegion.children().hide(),x("<div>").text(n).appendTo(this.liveRegion))},menuselect:function(e,t){var n=t.item.data("ui-autocomplete-item"),r=this.previous;this.element[0]!==x.ui.safeActiveElement(this.document[0])&&(this.element.trigger("focus"),this.previous=r,this._delay(function(){this.previous=r,this.selectedItem=n})),!1!==this._trigger("select",e,{item:n})&&this._value(n.value),this.term=this._value(),this.close(e),this.selectedItem=n}}),this.liveRegion=x("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var t=this.menu.element[0];return e.target===this.element[0]||e.target===t||x.contains(t,e.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?x(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_initSource:function(){var n,r,i=this;x.isArray(this.options.source)?(n=this.options.source,this.source=function(e,t){t(x.ui.autocomplete.filter(n,e.term))}):"string"==typeof this.options.source?(r=this.options.source,this.source=function(e,t){i.xhr&&i.xhr.abort(),i.xhr=x.ajax({url:r,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(r){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),n=r.altKey||r.ctrlKey||r.metaKey||r.shiftKey;e&&(!e||t||n)||(this.selectedItem=null,this.search(null,r))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return x.proxy(function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(e){e&&(e=this._normalize(e)),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:x.map(e,function(e){return"string"==typeof e?{label:e,value:e}:x.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(x.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(n,e){var r=this;x.each(e,function(e,t){r._renderItemData(n,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return x("<li>").append(x("<div>").text(t.label)).appendTo(e)},_move:function(e,t){if(this.menu.element.is(":visible"))return this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[e](t);this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())},_isContentEditable:function(e){if(!e.length)return!1;var t=e.prop("contentEditable");return"inherit"===t?this._isContentEditable(e.parent()):"true"===t}}),x.extend(x.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var n=new RegExp(x.ui.autocomplete.escapeRegex(t),"i");return x.grep(e,function(e){return n.test(e.label||e.value||e)})}}),x.widget("ui.autocomplete",x.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),x("<div>").text(t).appendTo(this.liveRegion))}});x.ui.autocomplete;var o=/ui-corner-([a-z]){2,6}/g;x.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var o=this,s=[];x.each(this.options.items,function(i,e){var t,a={};if(e)return"controlgroupLabel"===i?((t=o.element.find(e)).each(function(){var e=x(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),o._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),void(s=s.concat(t.get()))):void(x.fn[i]&&(a=o["_"+i+"Options"]?o["_"+i+"Options"]("middle"):{classes:{}},o.element.find(e).each(function(){var e=x(this),t=e[i]("instance"),n=x.widget.extend({},a);if("button"!==i||!e.parent(".ui-spinner").length){t||(t=e[i]()[i]("instance")),t&&(n.classes=o._resolveClassesValues(n.classes,t)),e[i](n);var r=e[i]("widget");x.data(r[0],"ui-controlgroup-data",t||e[i]("instance")),s.push(r[0])}})))}),this.childWidgets=x(x.unique(s)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=x(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){var n=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,n)},_buildSimpleOptions:function(e,t){var n="vertical"===this.options.direction,r={classes:{}};return r.classes[t]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[e],r},_spinnerOptions:function(e){var t=this._buildSimpleOptions(e,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:!!t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(n,r){var i={};return x.each(n,function(e){var t=r.options.classes[e]||"";t=x.trim(t.replace(o,"")),i[e]=(t+" "+n[e]).replace(/\s+/g," ")}),i},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"!==e?this.refresh():this._callChildMethod(t?"disable":"enable")},refresh:function(){var i,a=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),i=this.childWidgets,this.options.onlyVisible&&(i=i.filter(":visible")),i.length&&(x.each(["first","last"],function(e,t){var n=i[t]().data("ui-controlgroup-data");if(n&&a["_"+n.widgetName+"Options"]){var r=a["_"+n.widgetName+"Options"](1===i.length?"only":t);r.classes=a._resolveClassesValues(r.classes,n),n.element[n.widgetName](r)}else a._updateCornerClass(i[t](),t)}),this._callChildMethod("refresh"))}});x.widget("ui.checkboxradio",[x.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,t,n=this,r=this._super()||{};return this._readType(),t=this.element.labels(),this.label=x(t[t.length-1]),this.label.length||x.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){n.originalLabel+=3===this.nodeType?x(this).text():this.outerHTML}),this.originalLabel&&(r.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(r.disabled=e),r},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||x.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,t="input[name='"+x.ui.escapeSelector(e)+"']";return e?(this.form.length?x(this.form[0].elements).filter(t):x(t).filter(function(){return 0===x(this).form().length})).not(this.element):x([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=x(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){if("label"!==e||t){if(this._super(e,t),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",t),void(this.element[0].disabled=t);this.refresh()}},_updateIcon:function(e){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=x("<span>"),this.iconSpace=x("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),this.iconSpace&&(e=e.not(this.iconSpace[0])),e.remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]);var d;x.ui.checkboxradio;x.widget("ui.button",{version:"1.12.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===x.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,t){var n="iconPosition"!==e,r=n?this.options.iconPosition:t,i="top"===r||"bottom"===r;this.icon?n&&this._removeClass(this.icon,null,this.options.icon):(this.icon=x("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),n&&this._addClass(this.icon,null,t),this._attachIcon(r),i?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=x("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(r))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=void 0===e.showLabel?this.options.showLabel:e.showLabel,n=void 0===e.icon?this.options.icon:e.icon;t||n||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),(this.element[0].disabled=t)&&this.element.blur())},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!1!==x.uiBackCompat&&(x.widget("ui.button",x.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"!==e?("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",t)}}),x.fn.button=(d=x.fn.button,function(){return!this.length||this.length&&"INPUT"!==this[0].tagName||this.length&&"INPUT"===this[0].tagName&&"checkbox"!==this.attr("type")&&"radio"!==this.attr("type")?d.apply(this,arguments):(x.ui.checkboxradio||x.error("Checkboxradio widget missing"),0===arguments.length?this.checkboxradio({icon:!1}):this.checkboxradio.apply(this,arguments))}),x.fn.buttonset=function(){return x.ui.controlgroup||x.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))});var h;x.ui.button;function p(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:""},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},x.extend(this._defaults,this.regional[""]),this.regional.en=x.extend(!0,{},this.regional[""]),this.regional["en-US"]=x.extend(!0,{},this.regional.en),this.dpDiv=m(x("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function m(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){x(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,g)}function g(){x.datepicker._isDisabledDatepicker(h.inline?h.dpDiv.parent()[0]:h.input[0])||(x(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),x(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&x(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&x(this).addClass("ui-datepicker-next-hover"))}function _(e,t){for(var n in x.extend(e,t),t)null==t[n]&&(e[n]=t[n]);return e}x.extend(x.ui,{datepicker:{version:"1.12.1"}}),x.extend(p.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return _(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var n,r,i;r="div"===(n=e.nodeName.toLowerCase())||"span"===n,e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(x(e),r)).settings=x.extend({},t||{}),"input"===n?this._connectDatepicker(e,i):r&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?m(x("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var n=x(e);t.append=x([]),t.trigger=x([]),n.hasClass(this.markerClassName)||(this._attachments(n,t),n.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),x.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var n,r,i,a=this._get(t,"appendText"),o=this._get(t,"isRTL");t.append&&t.append.remove(),a&&(t.append=x("<span class='"+this._appendClass+"'>"+a+"</span>"),e[o?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(n=this._get(t,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(r=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),t.trigger=x(this._get(t,"buttonImageOnly")?x("<img/>").addClass(this._triggerClass).attr({src:i,alt:r,title:r}):x("<button type='button'></button>").addClass(this._triggerClass).html(i?x("<img/>").attr({src:i,alt:r,title:r}):r)),e[o?"before":"after"](t.trigger),t.trigger.on("click",function(){return x.datepicker._datepickerShowing&&x.datepicker._lastInput===e[0]?x.datepicker._hideDatepicker():(x.datepicker._datepickerShowing&&x.datepicker._lastInput!==e[0]&&x.datepicker._hideDatepicker(),x.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){if(this._get(e,"autoSize")&&!e.inline){var t,n,r,i,a=new Date(2009,11,20),o=this._get(e,"dateFormat");o.match(/[DM]/)&&(t=function(e){for(i=r=n=0;i<e.length;i++)e[i].length>n&&(n=e[i].length,r=i);return r},a.setMonth(t(this._get(e,o.match(/MM/)?"monthNames":"monthNamesShort"))),a.setDate(t(this._get(e,o.match(/DD/)?"dayNames":"dayNamesShort"))+20-a.getDay())),e.input.attr("size",this._formatDate(e,a).length)}},_inlineDatepicker:function(e,t){var n=x(e);n.hasClass(this.markerClassName)||(n.addClass(this.markerClassName).append(t.dpDiv),x.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,n,r,i){var a,o,s,c,l,u=this._dialogInst;return u||(this.uuid+=1,a="dp"+this.uuid,this._dialogInput=x("<input type='text' id='"+a+"' style='position: absolute; top: -100px; width: 0px;'/>"),this._dialogInput.on("keydown",this._doKeyDown),x("body").append(this._dialogInput),(u=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},x.data(this._dialogInput[0],"datepicker",u)),_(u.settings,r||{}),t=t&&t.constructor===Date?this._formatDate(u,t):t,this._dialogInput.val(t),this._pos=i?i.length?i:[i.pageX,i.pageY]:null,this._pos||(o=document.documentElement.clientWidth,s=document.documentElement.clientHeight,c=document.documentElement.scrollLeft||document.body.scrollLeft,l=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+c,s/2-150+l]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),u.settings.onSelect=n,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),x.blockUI&&x.blockUI(this.dpDiv),x.data(this._dialogInput[0],"datepicker",u),this},_destroyDatepicker:function(e){var t,n=x(e),r=x.data(e,"datepicker");n.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),x.removeData(e,"datepicker"),"input"===t?(r.append.remove(),r.trigger.remove(),n.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||n.removeClass(this.markerClassName).empty(),h===r&&(h=null))},_enableDatepicker:function(t){var e,n,r=x(t),i=x.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,i.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((n=r.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=x.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,n,r=x(t),i=x.data(t,"datepicker");r.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,i.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((n=r.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=x.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(!e)return!1;for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return x.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,n){var r,i,a,o,s=this._getInst(e);if(2===arguments.length&&"string"==typeof t)return"defaults"===t?x.extend({},x.datepicker._defaults):s?"all"===t?x.extend({},s.settings):this._get(s,t):null;r=t||{},"string"==typeof t&&((r={})[t]=n),s&&(this._curInst===s&&this._hideDatepicker(),i=this._getDateDatepicker(e,!0),a=this._getMinMaxDate(s,"min"),o=this._getMinMaxDate(s,"max"),_(s.settings,r),null!==a&&void 0!==r.dateFormat&&void 0===r.minDate&&(s.settings.minDate=this._formatDate(s,a)),null!==o&&void 0!==r.dateFormat&&void 0===r.maxDate&&(s.settings.maxDate=this._formatDate(s,o)),"disabled"in r&&(r.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(x(e),s),this._autoSize(s),this._setDate(s,i),this._updateAlternate(s),this._updateDatepicker(s))},_changeDatepicker:function(e,t,n){this._optionDatepicker(e,t,n)},_refreshDatepicker:function(e){var t=this._getInst(e);t&&this._updateDatepicker(t)},_setDateDatepicker:function(e,t){var n=this._getInst(e);n&&(this._setDate(n,t),this._updateDatepicker(n),this._updateAlternate(n))},_getDateDatepicker:function(e,t){var n=this._getInst(e);return n&&!n.inline&&this._setDateFromField(n,t),n?this._getDate(n):null},_doKeyDown:function(e){var t,n,r,i=x.datepicker._getInst(e.target),a=!0,o=i.dpDiv.is(".ui-datepicker-rtl");if(i._keyEvent=!0,x.datepicker._datepickerShowing)switch(e.keyCode){case 9:x.datepicker._hideDatepicker(),a=!1;break;case 13:return(r=x("td."+x.datepicker._dayOverClass+":not(."+x.datepicker._currentClass+")",i.dpDiv))[0]&&x.datepicker._selectDay(e.target,i.selectedMonth,i.selectedYear,r[0]),(t=x.datepicker._get(i,"onSelect"))?(n=x.datepicker._formatDate(i),t.apply(i.input?i.input[0]:null,[n,i])):x.datepicker._hideDatepicker(),!1;case 27:x.datepicker._hideDatepicker();break;case 33:x.datepicker._adjustDate(e.target,e.ctrlKey?-x.datepicker._get(i,"stepBigMonths"):-x.datepicker._get(i,"stepMonths"),"M");break;case 34:x.datepicker._adjustDate(e.target,e.ctrlKey?+x.datepicker._get(i,"stepBigMonths"):+x.datepicker._get(i,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&x.datepicker._clearDate(e.target),a=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&x.datepicker._gotoToday(e.target),a=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,o?1:-1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&x.datepicker._adjustDate(e.target,e.ctrlKey?-x.datepicker._get(i,"stepBigMonths"):-x.datepicker._get(i,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,-7,"D"),a=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,o?-1:1,"D"),a=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&x.datepicker._adjustDate(e.target,e.ctrlKey?+x.datepicker._get(i,"stepBigMonths"):+x.datepicker._get(i,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&x.datepicker._adjustDate(e.target,7,"D"),a=e.ctrlKey||e.metaKey;break;default:a=!1}else 36===e.keyCode&&e.ctrlKey?x.datepicker._showDatepicker(this):a=!1;a&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,n,r=x.datepicker._getInst(e.target);if(x.datepicker._get(r,"constrainInput"))return t=x.datepicker._possibleChars(x.datepicker._get(r,"dateFormat")),n=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||n<" "||!t||-1<t.indexOf(n)},_doKeyUp:function(e){var t=x.datepicker._getInst(e.target);if(t.input.val()!==t.lastVal)try{x.datepicker.parseDate(x.datepicker._get(t,"dateFormat"),t.input?t.input.val():null,x.datepicker._getFormatConfig(t))&&(x.datepicker._setDateFromField(t),x.datepicker._updateAlternate(t),x.datepicker._updateDatepicker(t))}catch(e){}return!0},_showDatepicker:function(e){var t,n,r,i,a,o,s;("input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=x("input",e.parentNode)[0]),x.datepicker._isDisabledDatepicker(e)||x.datepicker._lastInput===e)||(t=x.datepicker._getInst(e),x.datepicker._curInst&&x.datepicker._curInst!==t&&(x.datepicker._curInst.dpDiv.stop(!0,!0),t&&x.datepicker._datepickerShowing&&x.datepicker._hideDatepicker(x.datepicker._curInst.input[0])),!1!==(r=(n=x.datepicker._get(t,"beforeShow"))?n.apply(e,[e,t]):{})&&(_(t.settings,r),t.lastVal=null,x.datepicker._lastInput=e,x.datepicker._setDateFromField(t),x.datepicker._inDialog&&(e.value=""),x.datepicker._pos||(x.datepicker._pos=x.datepicker._findPos(e),x.datepicker._pos[1]+=e.offsetHeight),i=!1,x(e).parents().each(function(){return!(i|="fixed"===x(this).css("position"))}),a={left:x.datepicker._pos[0],top:x.datepicker._pos[1]},x.datepicker._pos=null,t.dpDiv.empty(),t.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),x.datepicker._updateDatepicker(t),a=x.datepicker._checkOffset(t,a,i),t.dpDiv.css({position:x.datepicker._inDialog&&x.blockUI?"static":i?"fixed":"absolute",display:"none",left:a.left+"px",top:a.top+"px"}),t.inline||(o=x.datepicker._get(t,"showAnim"),s=x.datepicker._get(t,"duration"),t.dpDiv.css("z-index",function(e){for(var t,n;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(n=parseInt(e.css("zIndex"),10),!isNaN(n)&&0!==n))return n;e=e.parent()}return 0}(x(e))+1),x.datepicker._datepickerShowing=!0,x.effects&&x.effects.effect[o]?t.dpDiv.show(o,x.datepicker._get(t,"showOptions"),s):t.dpDiv[o||"show"](o?s:null),x.datepicker._shouldFocusInput(t)&&t.input.trigger("focus"),x.datepicker._curInst=t)))},_updateDatepicker:function(e){this.maxRows=4,(h=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,n=this._getNumberOfMonths(e),r=n[1],i=e.dpDiv.find("."+this._dayOverClass+" a");0<i.length&&g.apply(i.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<r&&e.dpDiv.addClass("ui-datepicker-multi-"+r).css("width",17*r+"em"),e.dpDiv[(1!==n[0]||1!==n[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===x.datepicker._curInst&&x.datepicker._datepickerShowing&&x.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year:first").replaceWith(e.yearshtml),t=e.yearshtml=null},0))},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")&&!e.input.is(":focus")},_checkOffset:function(e,t,n){var r=e.dpDiv.outerWidth(),i=e.dpDiv.outerHeight(),a=e.input?e.input.outerWidth():0,o=e.input?e.input.outerHeight():0,s=document.documentElement.clientWidth+(n?0:x(document).scrollLeft()),c=document.documentElement.clientHeight+(n?0:x(document).scrollTop());return t.left-=this._get(e,"isRTL")?r-a:0,t.left-=n&&t.left===e.input.offset().left?x(document).scrollLeft():0,t.top-=n&&t.top===e.input.offset().top+o?x(document).scrollTop():0,t.left-=Math.min(t.left,t.left+r>s&&r<s?Math.abs(t.left+r-s):0),t.top-=Math.min(t.top,t.top+i>c&&i<c?Math.abs(i+o):0),t},_findPos:function(e){for(var t,n=this._getInst(e),r=this._get(n,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||x.expr.filters.hidden(e));)e=e[r?"previousSibling":"nextSibling"];return[(t=x(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,n,r,i,a=this._curInst;!a||e&&a!==x.data(e,"datepicker")||this._datepickerShowing&&(t=this._get(a,"showAnim"),n=this._get(a,"duration"),r=function(){x.datepicker._tidyDialog(a)},x.effects&&(x.effects.effect[t]||x.effects[t])?a.dpDiv.hide(t,x.datepicker._get(a,"showOptions"),n,r):a.dpDiv["slideDown"===t?"slideUp":"fadeIn"===t?"fadeOut":"hide"](t?n:null,r),t||r(),this._datepickerShowing=!1,(i=this._get(a,"onClose"))&&i.apply(a.input?a.input[0]:null,[a.input?a.input.val():"",a]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),x.blockUI&&(x.unblockUI(),x("body").append(this.dpDiv))),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){if(x.datepicker._curInst){var t=x(e.target),n=x.datepicker._getInst(t[0]);(t[0].id===x.datepicker._mainDivId||0!==t.parents("#"+x.datepicker._mainDivId).length||t.hasClass(x.datepicker.markerClassName)||t.closest("."+x.datepicker._triggerClass).length||!x.datepicker._datepickerShowing||x.datepicker._inDialog&&x.blockUI)&&(!t.hasClass(x.datepicker.markerClassName)||x.datepicker._curInst===n)||x.datepicker._hideDatepicker()}},_adjustDate:function(e,t,n){var r=x(e),i=this._getInst(r[0]);this._isDisabledDatepicker(r[0])||(this._adjustInstDate(i,t+("M"===n?this._get(i,"showCurrentAtPos"):0),n),this._updateDatepicker(i))},_gotoToday:function(e){var t,n=x(e),r=this._getInst(n[0]);this._get(r,"gotoCurrent")&&r.currentDay?(r.selectedDay=r.currentDay,r.drawMonth=r.selectedMonth=r.currentMonth,r.drawYear=r.selectedYear=r.currentYear):(t=new Date,r.selectedDay=t.getDate(),r.drawMonth=r.selectedMonth=t.getMonth(),r.drawYear=r.selectedYear=t.getFullYear()),this._notifyChange(r),this._adjustDate(n)},_selectMonthYear:function(e,t,n){var r=x(e),i=this._getInst(r[0]);i["selected"+("M"===n?"Month":"Year")]=i["draw"+("M"===n?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(i),this._adjustDate(r)},_selectDay:function(e,t,n,r){var i,a=x(e);x(r).hasClass(this._unselectableClass)||this._isDisabledDatepicker(a[0])||((i=this._getInst(a[0])).selectedDay=i.currentDay=x("a",r).html(),i.selectedMonth=i.currentMonth=t,i.selectedYear=i.currentYear=n,this._selectDate(e,this._formatDate(i,i.currentDay,i.currentMonth,i.currentYear)))},_clearDate:function(e){var t=x(e);this._selectDate(t,"")},_selectDate:function(e,t){var n,r=x(e),i=this._getInst(r[0]);t=null!=t?t:this._formatDate(i),i.input&&i.input.val(t),this._updateAlternate(i),(n=this._get(i,"onSelect"))?n.apply(i.input?i.input[0]:null,[t,i]):i.input&&i.input.trigger("change"),i.inline?this._updateDatepicker(i):(this._hideDatepicker(),this._lastInput=i.input[0],"object"!=typeof i.input[0]&&i.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,n,r,i=this._get(e,"altField");i&&(t=this._get(e,"altFormat")||this._get(e,"dateFormat"),n=this._getDate(e),r=this.formatDate(t,n,this._getFormatConfig(e)),x(i).val(r))},noWeekends:function(e){var t=e.getDay();return[0<t&&t<6,""]},iso8601Week:function(e){var t,n=new Date(e.getTime());return n.setDate(n.getDate()+4-(n.getDay()||7)),t=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((t-n)/864e5)/7)+1},parseDate:function(n,a,e){if(null==n||null==a)throw"Invalid arguments";if(""===(a="object"==typeof a?a.toString():a+""))return null;var r,t,i,o,s=0,c=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,l="string"!=typeof c?c:(new Date).getFullYear()%100+parseInt(c,10),u=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,f=(e?e.dayNames:null)||this._defaults.dayNames,d=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,h=(e?e.monthNames:null)||this._defaults.monthNames,p=-1,m=-1,g=-1,_=-1,b=!1,v=function(e){var t=r+1<n.length&&n.charAt(r+1)===e;return t&&r++,t},y=function(e){var t=v(e),n="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,r=new RegExp("^\\d{"+("y"===e?n:1)+","+n+"}"),i=a.substring(s).match(r);if(!i)throw"Missing number at position "+s;return s+=i[0].length,parseInt(i[0],10)},w=function(e,t,n){var r=-1,i=x.map(v(e)?n:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(x.each(i,function(e,t){var n=t[1];if(a.substr(s,n.length).toLowerCase()===n.toLowerCase())return r=t[0],s+=n.length,!1}),-1!==r)return r+1;throw"Unknown name at position "+s},C=function(){if(a.charAt(s)!==n.charAt(r))throw"Unexpected literal at position "+s;s++};for(r=0;r<n.length;r++)if(b)"'"!==n.charAt(r)||v("'")?C():b=!1;else switch(n.charAt(r)){case"d":g=y("d");break;case"D":w("D",u,f);break;case"o":_=y("o");break;case"m":m=y("m");break;case"M":m=w("M",d,h);break;case"y":p=y("y");break;case"@":p=(o=new Date(y("@"))).getFullYear(),m=o.getMonth()+1,g=o.getDate();break;case"!":p=(o=new Date((y("!")-this._ticksTo1970)/1e4)).getFullYear(),m=o.getMonth()+1,g=o.getDate();break;case"'":v("'")?C():b=!0;break;default:C()}if(s<a.length&&(i=a.substr(s),!/^\s+/.test(i)))throw"Extra/unparsed characters found in date: "+i;if(-1===p?p=(new Date).getFullYear():p<100&&(p+=(new Date).getFullYear()-(new Date).getFullYear()%100+(p<=l?0:-100)),-1<_)for(m=1,g=_;;){if(g<=(t=this._getDaysInMonth(p,m-1)))break;m++,g-=t}if((o=this._daylightSavingAdjust(new Date(p,m-1,g))).getFullYear()!==p||o.getMonth()+1!==m||o.getDate()!==g)throw"Invalid date";return o},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(n,e,t){if(!e)return"";var r,i=(t?t.dayNamesShort:null)||this._defaults.dayNamesShort,a=(t?t.dayNames:null)||this._defaults.dayNames,o=(t?t.monthNamesShort:null)||this._defaults.monthNamesShort,s=(t?t.monthNames:null)||this._defaults.monthNames,c=function(e){var t=r+1<n.length&&n.charAt(r+1)===e;return t&&r++,t},l=function(e,t,n){var r=""+t;if(c(e))for(;r.length<n;)r="0"+r;return r},u=function(e,t,n,r){return c(e)?r[t]:n[t]},f="",d=!1;if(e)for(r=0;r<n.length;r++)if(d)"'"!==n.charAt(r)||c("'")?f+=n.charAt(r):d=!1;else switch(n.charAt(r)){case"d":f+=l("d",e.getDate(),2);break;case"D":f+=u("D",e.getDay(),i,a);break;case"o":f+=l("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":f+=l("m",e.getMonth()+1,2);break;case"M":f+=u("M",e.getMonth(),o,s);break;case"y":f+=c("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":f+=e.getTime();break;case"!":f+=1e4*e.getTime()+this._ticksTo1970;break;case"'":c("'")?f+="'":d=!0;break;default:f+=n.charAt(r)}return f},_possibleChars:function(n){var r,e="",t=!1,i=function(e){var t=r+1<n.length&&n.charAt(r+1)===e;return t&&r++,t};for(r=0;r<n.length;r++)if(t)"'"!==n.charAt(r)||i("'")?e+=n.charAt(r):t=!1;else switch(n.charAt(r)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":i("'")?e+="'":t=!0;break;default:e+=n.charAt(r)}return e},_get:function(e,t){return void 0!==e.settings[t]?e.settings[t]:this._defaults[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var n=this._get(e,"dateFormat"),r=e.lastVal=e.input?e.input.val():null,i=this._getDefaultDate(e),a=i,o=this._getFormatConfig(e);try{a=this.parseDate(n,r,o)||i}catch(e){r=t?"":r}e.selectedDay=a.getDate(),e.drawMonth=e.selectedMonth=a.getMonth(),e.drawYear=e.selectedYear=a.getFullYear(),e.currentDay=r?a.getDate():0,e.currentMonth=r?a.getMonth():0,e.currentYear=r?a.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(s,e,t){var n,r,i=null==e||""===e?t:"string"==typeof e?function(e){try{return x.datepicker.parseDate(x.datepicker._get(s,"dateFormat"),e,x.datepicker._getFormatConfig(s))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?x.datepicker._getDate(s):null)||new Date,n=t.getFullYear(),r=t.getMonth(),i=t.getDate(),a=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,o=a.exec(e);o;){switch(o[2]||"d"){case"d":case"D":i+=parseInt(o[1],10);break;case"w":case"W":i+=7*parseInt(o[1],10);break;case"m":case"M":r+=parseInt(o[1],10),i=Math.min(i,x.datepicker._getDaysInMonth(n,r));break;case"y":case"Y":n+=parseInt(o[1],10),i=Math.min(i,x.datepicker._getDaysInMonth(n,r))}o=a.exec(e)}return new Date(n,r,i)}(e):"number"==typeof e?isNaN(e)?t:(n=e,(r=new Date).setDate(r.getDate()+n),r):new Date(e.getTime());return(i=i&&"Invalid Date"===i.toString()?t:i)&&(i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0)),this._daylightSavingAdjust(i)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,n){var r=!t,i=e.selectedMonth,a=e.selectedYear,o=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=o.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=o.getMonth(),e.drawYear=e.selectedYear=e.currentYear=o.getFullYear(),i===e.selectedMonth&&a===e.selectedYear||n||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(r?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){x.datepicker._adjustDate(n,-t,"M")},next:function(){x.datepicker._adjustDate(n,+t,"M")},hide:function(){x.datepicker._hideDatepicker()},today:function(){x.datepicker._gotoToday(n)},selectDay:function(){return x.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return x.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return x.datepicker._selectMonthYear(n,this,"Y"),!1}};x(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b,v,y,w,C,A,S,T,x,k,E,D,I,P,M,$,O,R,N,L,F,G,j=new Date,B=this._daylightSavingAdjust(new Date(j.getFullYear(),j.getMonth(),j.getDate())),U=this._get(e,"isRTL"),H=this._get(e,"showButtonPanel"),W=this._get(e,"hideIfNoPrevNext"),q=this._get(e,"navigationAsDateFormat"),z=this._getNumberOfMonths(e),V=this._get(e,"showCurrentAtPos"),Y=this._get(e,"stepMonths"),K=1!==z[0]||1!==z[1],Q=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),X=this._getMinMaxDate(e,"min"),Z=this._getMinMaxDate(e,"max"),J=e.drawMonth-V,ee=e.drawYear;if(J<0&&(J+=12,ee--),Z)for(t=this._daylightSavingAdjust(new Date(Z.getFullYear(),Z.getMonth()-z[0]*z[1]+1,Z.getDate())),t=X&&t<X?X:t;this._daylightSavingAdjust(new Date(ee,J,1))>t;)--J<0&&(J=11,ee--);for(e.drawMonth=J,e.drawYear=ee,n=this._get(e,"prevText"),n=q?this.formatDate(n,this._daylightSavingAdjust(new Date(ee,J-Y,1)),this._getFormatConfig(e)):n,r=this._canAdjustMonth(e,-1,ee,J)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"e":"w")+"'>"+n+"</span></a>":W?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+n+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"e":"w")+"'>"+n+"</span></a>",i=this._get(e,"nextText"),i=q?this.formatDate(i,this._daylightSavingAdjust(new Date(ee,J+Y,1)),this._getFormatConfig(e)):i,a=this._canAdjustMonth(e,1,ee,J)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"w":"e")+"'>"+i+"</span></a>":W?"":"<a class='ui-datepicker-next ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(U?"w":"e")+"'>"+i+"</span></a>",o=this._get(e,"currentText"),s=this._get(e,"gotoCurrent")&&e.currentDay?Q:B,o=q?this.formatDate(o,s,this._getFormatConfig(e)):o,c=e.inline?"":"<button type='button' class='ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all' data-handler='hide' data-event='click'>"+this._get(e,"closeText")+"</button>",l=H?"<div class='ui-datepicker-buttonpane ui-widget-content'>"+(U?c:"")+(this._isInRange(e,s)?"<button type='button' class='ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all' data-handler='today' data-event='click'>"+o+"</button>":"")+(U?"":c)+"</div>":"",u=parseInt(this._get(e,"firstDay"),10),u=isNaN(u)?0:u,f=this._get(e,"showWeek"),d=this._get(e,"dayNames"),h=this._get(e,"dayNamesMin"),p=this._get(e,"monthNames"),m=this._get(e,"monthNamesShort"),g=this._get(e,"beforeShowDay"),_=this._get(e,"showOtherMonths"),b=this._get(e,"selectOtherMonths"),v=this._getDefaultDate(e),y="",C=0;C<z[0];C++){for(A="",this.maxRows=4,S=0;S<z[1];S++){if(T=this._daylightSavingAdjust(new Date(ee,J,e.selectedDay)),x=" ui-corner-all",k="",K){if(k+="<div class='ui-datepicker-group",1<z[1])switch(S){case 0:k+=" ui-datepicker-group-first",x=" ui-corner-"+(U?"right":"left");break;case z[1]-1:k+=" ui-datepicker-group-last",x=" ui-corner-"+(U?"left":"right");break;default:k+=" ui-datepicker-group-middle",x=""}k+="'>"}for(k+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+x+"'>"+(/all|left/.test(x)&&0===C?U?a:r:"")+(/all|right/.test(x)&&0===C?U?r:a:"")+this._generateMonthYearHeader(e,J,ee,X,Z,0<C||0<S,p,m)+"</div><table class='ui-datepicker-calendar'><thead><tr>",E=f?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",w=0;w<7;w++)E+="<th scope='col'"+(5<=(w+u+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+d[D=(w+u)%7]+"'>"+h[D]+"</span></th>";for(k+=E+"</tr></thead><tbody>",I=this._getDaysInMonth(ee,J),ee===e.selectedYear&&J===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,I)),P=(this._getFirstDayOfMonth(ee,J)-u+7)%7,M=Math.ceil((P+I)/7),$=K&&this.maxRows>M?this.maxRows:M,this.maxRows=$,O=this._daylightSavingAdjust(new Date(ee,J,1-P)),R=0;R<$;R++){for(k+="<tr>",N=f?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(O)+"</td>":"",w=0;w<7;w++)L=g?g.apply(e.input?e.input[0]:null,[O]):[!0,""],G=(F=O.getMonth()!==J)&&!b||!L[0]||X&&O<X||Z&&Z<O,N+="<td class='"+(5<=(w+u+6)%7?" ui-datepicker-week-end":"")+(F?" ui-datepicker-other-month":"")+(O.getTime()===T.getTime()&&J===e.selectedMonth&&e._keyEvent||v.getTime()===O.getTime()&&v.getTime()===T.getTime()?" "+this._dayOverClass:"")+(G?" "+this._unselectableClass+" ui-state-disabled":"")+(F&&!_?"":" "+L[1]+(O.getTime()===Q.getTime()?" "+this._currentClass:"")+(O.getTime()===B.getTime()?" ui-datepicker-today":""))+"'"+(F&&!_||!L[2]?"":" title='"+L[2].replace(/'/g,"'")+"'")+(G?"":" data-handler='selectDay' data-event='click' data-month='"+O.getMonth()+"' data-year='"+O.getFullYear()+"'")+">"+(F&&!_?" ":G?"<span class='ui-state-default'>"+O.getDate()+"</span>":"<a class='ui-state-default"+(O.getTime()===B.getTime()?" ui-state-highlight":"")+(O.getTime()===Q.getTime()?" ui-state-active":"")+(F?" ui-priority-secondary":"")+"' href='#'>"+O.getDate()+"</a>")+"</td>",O.setDate(O.getDate()+1),O=this._daylightSavingAdjust(O);k+=N+"</tr>"}11<++J&&(J=0,ee++),A+=k+="</tbody></table>"+(K?"</div>"+(0<z[0]&&S===z[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}y+=A}return y+=l,e._keyEvent=!1,y},_generateMonthYearHeader:function(e,t,n,r,i,a,o,s){var c,l,u,f,d,h,p,m,g=this._get(e,"changeMonth"),_=this._get(e,"changeYear"),b=this._get(e,"showMonthAfterYear"),v="<div class='ui-datepicker-title'>",y="";if(a||!g)y+="<span class='ui-datepicker-month'>"+o[t]+"</span>";else{for(c=r&&r.getFullYear()===n,l=i&&i.getFullYear()===n,y+="<select class='ui-datepicker-month' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!c||u>=r.getMonth())&&(!l||u<=i.getMonth())&&(y+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+s[u]+"</option>");y+="</select>"}if(b||(v+=y+(!a&&g&&_?"":" ")),!e.yearshtml)if(e.yearshtml="",a||!_)v+="<span class='ui-datepicker-year'>"+n+"</span>";else{for(f=this._get(e,"yearRange").split(":"),d=(new Date).getFullYear(),p=(h=function(e){var t=e.match(/c[+\-].*/)?n+parseInt(e.substring(1),10):e.match(/[+\-].*/)?d+parseInt(e,10):parseInt(e,10);return isNaN(t)?d:t})(f[0]),m=Math.max(p,h(f[1]||"")),p=r?Math.max(p,r.getFullYear()):p,m=i?Math.min(m,i.getFullYear()):m,e.yearshtml+="<select class='ui-datepicker-year' data-handler='selectYear' data-event='change'>";p<=m;p++)e.yearshtml+="<option value='"+p+"'"+(p===n?" selected='selected'":"")+">"+p+"</option>";e.yearshtml+="</select>",v+=e.yearshtml,e.yearshtml=null}return v+=this._get(e,"yearSuffix"),b&&(v+=(!a&&g&&_?"":" ")+y),v+="</div>"},_adjustInstDate:function(e,t,n){var r=e.selectedYear+("Y"===n?t:0),i=e.selectedMonth+("M"===n?t:0),a=Math.min(e.selectedDay,this._getDaysInMonth(r,i))+("D"===n?t:0),o=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(r,i,a)));e.selectedDay=o.getDate(),e.drawMonth=e.selectedMonth=o.getMonth(),e.drawYear=e.selectedYear=o.getFullYear(),"M"!==n&&"Y"!==n||this._notifyChange(e)},_restrictMinMax:function(e,t){var n=this._getMinMaxDate(e,"min"),r=this._getMinMaxDate(e,"max"),i=n&&t<n?n:t;return r&&r<i?r:i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){var t=this._get(e,"numberOfMonths");return null==t?[1,1]:"number"==typeof t?[1,t]:t},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,n,r){var i=this._getNumberOfMonths(e),a=this._daylightSavingAdjust(new Date(n,r+(t<0?t:i[0]*i[1]),1));return t<0&&a.setDate(this._getDaysInMonth(a.getFullYear(),a.getMonth())),this._isInRange(e,a)},_isInRange:function(e,t){var n,r,i=this._getMinMaxDate(e,"min"),a=this._getMinMaxDate(e,"max"),o=null,s=null,c=this._get(e,"yearRange");return c&&(n=c.split(":"),r=(new Date).getFullYear(),o=parseInt(n[0],10),s=parseInt(n[1],10),n[0].match(/[+\-].*/)&&(o+=r),n[1].match(/[+\-].*/)&&(s+=r)),(!i||t.getTime()>=i.getTime())&&(!a||t.getTime()<=a.getTime())&&(!o||t.getFullYear()>=o)&&(!s||t.getFullYear()<=s)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:t="string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,n,r){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);var i=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(r,n,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),i,this._getFormatConfig(e))}}),x.fn.datepicker=function(e){if(!this.length)return this;x.datepicker.initialized||(x(document).on("mousedown",x.datepicker._checkExternalClick),x.datepicker.initialized=!0),0===x("#"+x.datepicker._mainDivId).length&&x("body").append(x.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"!=typeof e||"isDisabled"!==e&&"getDate"!==e&&"widget"!==e?"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?x.datepicker["_"+e+"Datepicker"].apply(x.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?x.datepicker["_"+e+"Datepicker"].apply(x.datepicker,[this].concat(t)):x.datepicker._attachDatepicker(this,e)}):x.datepicker["_"+e+"Datepicker"].apply(x.datepicker,[this[0]].concat(t))},x.datepicker=new p,x.datepicker.initialized=!1,x.datepicker.uuid=(new Date).getTime(),x.datepicker.version="1.12.1";x.datepicker,x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var b=!1;x(document).on("mouseup",function(){b=!1});x.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===x.data(e.target,t.widgetName+".preventClickEvent"))return x.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!b){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var t=this,n=1===e.which,r=!("string"!=typeof this.options.cancel||!e.target.nodeName)&&x(e.target).closest(this.options.cancel).length;return!(n&&!r&&this._mouseCapture(e))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?(e.preventDefault(),!0):(!0===x.data(e.target,this.widgetName+".preventClickEvent")&&x.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),b=!0))}},_mouseMove:function(e){if(this._mouseMoved){if(x.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&x.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,b=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),x.ui.plugin={add:function(e,t,n){var r,i=x.ui[e].prototype;for(r in n)i.plugins[r]=i.plugins[r]||[],i.plugins[r].push([t,n[r]])},call:function(e,t,n,r){var i,a=e.plugins[t];if(a&&(r||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(i=0;i<a.length;i++)e.options[a[i][0]]&&a[i][1].apply(e.element,n)}},x.ui.safeBlur=function(e){e&&"body"!==e.nodeName.toLowerCase()&&x(e).trigger("blur")};x.widget("ui.draggable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<x(e.target).closest(".ui-resizable-handle").length)&&(this.handle=this._getHandle(e),!!this.handle&&(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),!0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=x(this);return x("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=x.ui.safeActiveElement(this.document[0]);x(e.target).closest(t).length||x.ui.safeBlur(t)},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),x.ui.ddmanager&&(x.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===x(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),x.ui.ddmanager&&!t.dropBehaviour&&x.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),x.ui.ddmanager&&x.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){var n=this._uiHash();if(!1===this._trigger("drag",e,n))return this._mouseUp(new x.Event("mouseup",e)),!1;this.position=n.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",x.ui.ddmanager&&x.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,n=!1;return x.ui.ddmanager&&!this.options.dropBehaviour&&(n=x.ui.ddmanager.drop(this,e)),this.dropped&&(n=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!n||"valid"===this.options.revert&&n||!0===this.options.revert||x.isFunction(this.options.revert)&&this.options.revert.call(this.element,n)?x(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),x.ui.ddmanager&&x.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),x.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new x.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!x(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,n=x.isFunction(t.helper),r=n?x(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return r.parents("body").length||r.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),n&&r[0]===this.element[0]&&this._setPositionRelative(),r[0]===this.element[0]||/(fixed|absolute)/.test(r.css("position"))||r.css("position","absolute"),r},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),x.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&x.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),this._isRootNode(this.offsetParent[0])&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.element.position(),t=this._isRootNode(this.scrollParent[0]);return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,n,r=this.options,i=this.document[0];this.relativeContainer=null,r.containment?"window"!==r.containment?"document"!==r.containment?r.containment.constructor!==Array?("parent"===r.containment&&(r.containment=this.helper[0].parentNode),(n=(t=x(r.containment))[0])&&(e=/(scroll|auto)/.test(t.css("overflow")),this.containment=[(parseInt(t.css("borderLeftWidth"),10)||0)+(parseInt(t.css("paddingLeft"),10)||0),(parseInt(t.css("borderTopWidth"),10)||0)+(parseInt(t.css("paddingTop"),10)||0),(e?Math.max(n.scrollWidth,n.offsetWidth):n.offsetWidth)-(parseInt(t.css("borderRightWidth"),10)||0)-(parseInt(t.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(n.scrollHeight,n.offsetHeight):n.offsetHeight)-(parseInt(t.css("borderBottomWidth"),10)||0)-(parseInt(t.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=t)):this.containment=r.containment:this.containment=[0,0,x(i).width()-this.helperProportions.width-this.margins.left,(x(i).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=[x(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,x(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,x(window).scrollLeft()+x(window).width()-this.helperProportions.width-this.margins.left,x(window).scrollTop()+(x(window).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:this.containment=null},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,r=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.offset.scroll.top:r?0:this.offset.scroll.top)*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.offset.scroll.left:r?0:this.offset.scroll.left)*n}},_generatePosition:function(e,t){var n,r,i,a,o=this.options,s=this._isRootNode(this.scrollParent[0]),c=e.pageX,l=e.pageY;return s&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),t&&(this.containment&&(n=this.relativeContainer?(r=this.relativeContainer.offset(),[this.containment[0]+r.left,this.containment[1]+r.top,this.containment[2]+r.left,this.containment[3]+r.top]):this.containment,e.pageX-this.offset.click.left<n[0]&&(c=n[0]+this.offset.click.left),e.pageY-this.offset.click.top<n[1]&&(l=n[1]+this.offset.click.top),e.pageX-this.offset.click.left>n[2]&&(c=n[2]+this.offset.click.left),e.pageY-this.offset.click.top>n[3]&&(l=n[3]+this.offset.click.top)),o.grid&&(i=o.grid[1]?this.originalPageY+Math.round((l-this.originalPageY)/o.grid[1])*o.grid[1]:this.originalPageY,l=n?i-this.offset.click.top>=n[1]||i-this.offset.click.top>n[3]?i:i-this.offset.click.top>=n[1]?i-o.grid[1]:i+o.grid[1]:i,a=o.grid[0]?this.originalPageX+Math.round((c-this.originalPageX)/o.grid[0])*o.grid[0]:this.originalPageX,c=n?a-this.offset.click.left>=n[0]||a-this.offset.click.left>n[2]?a:a-this.offset.click.left>=n[0]?a-o.grid[0]:a+o.grid[0]:a),"y"===o.axis&&(c=this.originalPageX),"x"===o.axis&&(l=this.originalPageY)),{top:l-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:s?0:this.offset.scroll.top),left:c-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:s?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,n){return n=n||this._uiHash(),x.ui.plugin.call(this,e,[t,n,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),n.offset=this.positionAbs),x.Widget.prototype._trigger.call(this,e,t,n)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),x.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,n){var r=x.extend({},e,{item:n.element});n.sortables=[],x(n.options.connectToSortable).each(function(){var e=x(this).sortable("instance");e&&!e.options.disabled&&(n.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,r))})},stop:function(t,e,n){var r=x.extend({},e,{item:n.element});n.cancelHelperRemoval=!1,x.each(n.sortables,function(){var e=this;e.isOver?(e.isOver=0,n.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,r))})},drag:function(n,r,i){x.each(i.sortables,function(){var e=!1,t=this;t.positionAbs=i.positionAbs,t.helperProportions=i.helperProportions,t.offset.click=i.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,x.each(i.sortables,function(){return this.positionAbs=i.positionAbs,this.helperProportions=i.helperProportions,this.offset.click=i.offset.click,this!==t&&this._intersectsWith(this.containerCache)&&x.contains(t.element[0],this.element[0])&&(e=!1),e})),e?(t.isOver||(t.isOver=1,i._parent=r.helper.parent(),t.currentItem=r.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return r.helper[0]},n.target=t.currentItem[0],t._mouseCapture(n,!0),t._mouseStart(n,!0,!0),t.offset.click.top=i.offset.click.top,t.offset.click.left=i.offset.click.left,t.offset.parent.left-=i.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=i.offset.parent.top-t.offset.parent.top,i._trigger("toSortable",n),i.dropped=t.element,x.each(i.sortables,function(){this.refreshPositions()}),i.currentItem=i.element,t.fromOutside=i),t.currentItem&&(t._mouseDrag(n),r.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",n,t._uiHash(t)),t._mouseStop(n,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),r.helper.appendTo(i._parent),i._refreshOffsets(n),r.position=i._generatePosition(n,!0),i._trigger("fromSortable",n),i.dropped=!1,x.each(i.sortables,function(){this.refreshPositions()}))})}}),x.ui.plugin.add("draggable","cursor",{start:function(e,t,n){var r=x("body"),i=n.options;r.css("cursor")&&(i._cursor=r.css("cursor")),r.css("cursor",i.cursor)},stop:function(e,t,n){var r=n.options;r._cursor&&x("body").css("cursor",r._cursor)}}),x.ui.plugin.add("draggable","opacity",{start:function(e,t,n){var r=x(t.helper),i=n.options;r.css("opacity")&&(i._opacity=r.css("opacity")),r.css("opacity",i.opacity)},stop:function(e,t,n){var r=n.options;r._opacity&&x(t.helper).css("opacity",r._opacity)}}),x.ui.plugin.add("draggable","scroll",{start:function(e,t,n){n.scrollParentNotHidden||(n.scrollParentNotHidden=n.helper.scrollParent(!1)),n.scrollParentNotHidden[0]!==n.document[0]&&"HTML"!==n.scrollParentNotHidden[0].tagName&&(n.overflowOffset=n.scrollParentNotHidden.offset())},drag:function(e,t,n){var r=n.options,i=!1,a=n.scrollParentNotHidden[0],o=n.document[0];a!==o&&"HTML"!==a.tagName?(r.axis&&"x"===r.axis||(n.overflowOffset.top+a.offsetHeight-e.pageY<r.scrollSensitivity?a.scrollTop=i=a.scrollTop+r.scrollSpeed:e.pageY-n.overflowOffset.top<r.scrollSensitivity&&(a.scrollTop=i=a.scrollTop-r.scrollSpeed)),r.axis&&"y"===r.axis||(n.overflowOffset.left+a.offsetWidth-e.pageX<r.scrollSensitivity?a.scrollLeft=i=a.scrollLeft+r.scrollSpeed:e.pageX-n.overflowOffset.left<r.scrollSensitivity&&(a.scrollLeft=i=a.scrollLeft-r.scrollSpeed))):(r.axis&&"x"===r.axis||(e.pageY-x(o).scrollTop()<r.scrollSensitivity?i=x(o).scrollTop(x(o).scrollTop()-r.scrollSpeed):x(window).height()-(e.pageY-x(o).scrollTop())<r.scrollSensitivity&&(i=x(o).scrollTop(x(o).scrollTop()+r.scrollSpeed))),r.axis&&"y"===r.axis||(e.pageX-x(o).scrollLeft()<r.scrollSensitivity?i=x(o).scrollLeft(x(o).scrollLeft()-r.scrollSpeed):x(window).width()-(e.pageX-x(o).scrollLeft())<r.scrollSensitivity&&(i=x(o).scrollLeft(x(o).scrollLeft()+r.scrollSpeed)))),!1!==i&&x.ui.ddmanager&&!r.dropBehaviour&&x.ui.ddmanager.prepareOffsets(n,e)}}),x.ui.plugin.add("draggable","snap",{start:function(e,t,n){var r=n.options;n.snapElements=[],x(r.snap.constructor!==String?r.snap.items||":data(ui-draggable)":r.snap).each(function(){var e=x(this),t=e.offset();this!==n.element[0]&&n.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left:t.left})})},drag:function(e,t,n){var r,i,a,o,s,c,l,u,f,d,h=n.options,p=h.snapTolerance,m=t.offset.left,g=m+n.helperProportions.width,_=t.offset.top,b=_+n.helperProportions.height;for(f=n.snapElements.length-1;0<=f;f--)c=(s=n.snapElements[f].left-n.margins.left)+n.snapElements[f].width,u=(l=n.snapElements[f].top-n.margins.top)+n.snapElements[f].height,g<s-p||c+p<m||b<l-p||u+p<_||!x.contains(n.snapElements[f].item.ownerDocument,n.snapElements[f].item)?(n.snapElements[f].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,x.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=!1):("inner"!==h.snapMode&&(r=Math.abs(l-b)<=p,i=Math.abs(u-_)<=p,a=Math.abs(s-g)<=p,o=Math.abs(c-m)<=p,r&&(t.position.top=n._convertPositionTo("relative",{top:l-n.helperProportions.height,left:0}).top),i&&(t.position.top=n._convertPositionTo("relative",{top:u,left:0}).top),a&&(t.position.left=n._convertPositionTo("relative",{top:0,left:s-n.helperProportions.width}).left),o&&(t.position.left=n._convertPositionTo("relative",{top:0,left:c}).left)),d=r||i||a||o,"outer"!==h.snapMode&&(r=Math.abs(l-_)<=p,i=Math.abs(u-b)<=p,a=Math.abs(s-m)<=p,o=Math.abs(c-g)<=p,r&&(t.position.top=n._convertPositionTo("relative",{top:l,left:0}).top),i&&(t.position.top=n._convertPositionTo("relative",{top:u-n.helperProportions.height,left:0}).top),a&&(t.position.left=n._convertPositionTo("relative",{top:0,left:s}).left),o&&(t.position.left=n._convertPositionTo("relative",{top:0,left:c-n.helperProportions.width}).left)),!n.snapElements[f].snapping&&(r||i||a||o||d)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,x.extend(n._uiHash(),{snapItem:n.snapElements[f].item})),n.snapElements[f].snapping=r||i||a||o||d)}}),x.ui.plugin.add("draggable","stack",{start:function(e,t,n){var r,i=n.options,a=x.makeArray(x(i.stack)).sort(function(e,t){return(parseInt(x(e).css("zIndex"),10)||0)-(parseInt(x(t).css("zIndex"),10)||0)});a.length&&(r=parseInt(x(a[0]).css("zIndex"),10)||0,x(a).each(function(e){x(this).css("zIndex",r+e)}),this.css("zIndex",r+a.length))}}),x.ui.plugin.add("draggable","zIndex",{start:function(e,t,n){var r=x(t.helper),i=n.options;r.css("zIndex")&&(i._zIndex=r.css("zIndex")),r.css("zIndex",i.zIndex)},stop:function(e,t,n){var r=n.options;r._zIndex&&x(t.helper).css("zIndex",r._zIndex)}});x.ui.draggable;x.widget("ui.resizable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){if("hidden"===x(e).css("overflow"))return!1;var n,r=t&&"left"===t?"scrollLeft":"scrollTop";return 0<e[r]||(e[r]=1,n=0<e[r],e[r]=0,n)},_create:function(){var e,t=this.options,n=this;this._addClass("ui-resizable"),x.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(x("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),t.autoHide&&x(this.element).on("mouseenter",function(){t.disabled||(n._removeClass("ui-resizable-autohide"),n._handles.show())}).on("mouseleave",function(){t.disabled||n.resizing||(n._addClass("ui-resizable-autohide"),n._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,t=function(e){x(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles()}},_setupHandles:function(){var e,t,n,r,i,a=this.options,o=this;if(this.handles=a.handles||(x(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=x(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),n=this.handles.split(","),this.handles={},t=0;t<n.length;t++)r="ui-resizable-"+(e=x.trim(n[t])),i=x("<div>"),this._addClass(i,"ui-resizable-handle "+r),i.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(i);this._renderAxis=function(e){var t,n,r,i;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String?this.handles[t]=this.element.children(this.handles[t]).first().show():(this.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=x(this.handles[t]),this._on(this.handles[t],{mousedown:o._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=x(this.handles[t],this.element),i=/sw|ne|nw|se|n|s/.test(t)?n.outerHeight():n.outerWidth(),r=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(r,i),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){o.resizing||(this.className&&(i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),o.axis=i&&i[1]?i[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var t,n,r=!1;for(t in this.handles)((n=x(this.handles[t])[0])===e.target||x.contains(n,e.target))&&(r=!0);return!this.options.disabled&&r},_mouseStart:function(e){var t,n,r,i=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),n=this._num(this.helper.css("top")),i.containment&&(t+=x(i.containment).scrollLeft()||0,n+=x(i.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:n},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:t,top:n},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof i.aspectRatio?i.aspectRatio:this.originalSize.width/this.originalSize.height||1,r=x(".ui-resizable-"+this.axis).css("cursor"),x("body").css("cursor","auto"===r?this.axis+"-resize":r),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t,n,r=this.originalMousePosition,i=this.axis,a=e.pageX-r.left||0,o=e.pageY-r.top||0,s=this._change[i];return this._updatePrevProperties(),s&&(t=s.apply(this,[e,a,o]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(t=this._updateRatio(t,e)),t=this._respectSize(t,e),this._updateCache(t),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),x.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,n,r,i,a,o,s,c=this.options,l=this;return this._helper&&(r=(n=(t=this._proportionallyResizeElements).length&&/textarea/i.test(t[0].nodeName))&&this._hasScroll(t[0],"left")?0:l.sizeDiff.height,i=n?0:l.sizeDiff.width,a={width:l.helper.width()-i,height:l.helper.height()-r},o=parseFloat(l.element.css("left"))+(l.position.left-l.originalPosition.left)||null,s=parseFloat(l.element.css("top"))+(l.position.top-l.originalPosition.top)||null,c.animate||this.element.css(x.extend(a,{top:s,left:o})),l.helper.height(l.size.height),l.helper.width(l.size.width),this._helper&&!c.animate&&this._proportionallyResize()),x("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px"),this.helper.css(e),e},_updateVirtualBoundaries:function(e){var t,n,r,i,a,o=this.options;a={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0},(this._aspectRatio||e)&&(t=a.minHeight*this.aspectRatio,r=a.minWidth/this.aspectRatio,n=a.maxHeight*this.aspectRatio,i=a.maxWidth/this.aspectRatio,t>a.minWidth&&(a.minWidth=t),r>a.minHeight&&(a.minHeight=r),n<a.maxWidth&&(a.maxWidth=n),i<a.maxHeight&&(a.maxHeight=i)),this._vBoundaries=a},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,n=this.size,r=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===r&&(e.left=t.left+(n.width-e.width),e.top=null),"nw"===r&&(e.top=t.top+(n.height-e.height),e.left=t.left+(n.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,n=this.axis,r=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,i=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,a=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,o=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,s=this.originalPosition.left+this.originalSize.width,c=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(n),u=/nw|ne|n/.test(n);return a&&(e.width=t.minWidth),o&&(e.height=t.minHeight),r&&(e.width=t.maxWidth),i&&(e.height=t.maxHeight),a&&l&&(e.left=s-t.minWidth),r&&l&&(e.left=s-t.maxWidth),o&&u&&(e.top=c-t.minHeight),i&&u&&(e.top=c-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,n=[],r=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],i=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)n[t]=parseFloat(r[t])||0,n[t]+=parseFloat(i[t])||0;return{height:n[0]+n[2],width:n[1]+n[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,n=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:n.height()-this.outerDimensions.height||0,width:n.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||x("<div style='overflow:hidden;'></div>"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var n=this.originalSize;return{left:this.originalPosition.left+t,width:n.width-t}},n:function(e,t,n){var r=this.originalSize;return{top:this.originalPosition.top+n,height:r.height-n}},s:function(e,t,n){return{height:this.originalSize.height+n}},se:function(e,t,n){return x.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},sw:function(e,t,n){return x.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,n]))},ne:function(e,t,n){return x.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,n]))},nw:function(e,t,n){return x.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,n]))}},_propagate:function(e,t){x.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),x.ui.plugin.add("resizable","animate",{stop:function(t){var n=x(this).resizable("instance"),e=n.options,r=n._proportionallyResizeElements,i=r.length&&/textarea/i.test(r[0].nodeName),a=i&&n._hasScroll(r[0],"left")?0:n.sizeDiff.height,o=i?0:n.sizeDiff.width,s={width:n.size.width-o,height:n.size.height-a},c=parseFloat(n.element.css("left"))+(n.position.left-n.originalPosition.left)||null,l=parseFloat(n.element.css("top"))+(n.position.top-n.originalPosition.top)||null;n.element.animate(x.extend(s,l&&c?{top:l,left:c}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={width:parseFloat(n.element.css("width")),height:parseFloat(n.element.css("height")),top:parseFloat(n.element.css("top")),left:parseFloat(n.element.css("left"))};r&&r.length&&x(r[0]).css({width:e.width,height:e.height}),n._updateCache(e),n._propagate("resize",t)}})}}),x.ui.plugin.add("resizable","containment",{start:function(){var n,r,e,t,i,a,o,s=x(this).resizable("instance"),c=s.options,l=s.element,u=c.containment,f=u instanceof x?u.get(0):/parent/.test(u)?l.parent().get(0):u;f&&(s.containerElement=x(f),/document/.test(u)||u===document?(s.containerOffset={left:0,top:0},s.containerPosition={left:0,top:0},s.parentData={element:x(document),left:0,top:0,width:x(document).width(),height:x(document).height()||document.body.parentNode.scrollHeight}):(n=x(f),r=[],x(["Top","Right","Left","Bottom"]).each(function(e,t){r[e]=s._num(n.css("padding"+t))}),s.containerOffset=n.offset(),s.containerPosition=n.position(),s.containerSize={height:n.innerHeight()-r[3],width:n.innerWidth()-r[1]},e=s.containerOffset,t=s.containerSize.height,i=s.containerSize.width,a=s._hasScroll(f,"left")?f.scrollWidth:i,o=s._hasScroll(f)?f.scrollHeight:t,s.parentData={element:f,left:e.left,top:e.top,width:a,height:o}))},resize:function(e){var t,n,r,i,a=x(this).resizable("instance"),o=a.options,s=a.containerOffset,c=a.position,l=a._aspectRatio||e.shiftKey,u={top:0,left:0},f=a.containerElement,d=!0;f[0]!==document&&/static/.test(f.css("position"))&&(u=s),c.left<(a._helper?s.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-s.left:a.position.left-u.left),l&&(a.size.height=a.size.width/a.aspectRatio,d=!1),a.position.left=o.helper?s.left:0),c.top<(a._helper?s.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-s.top:a.position.top),l&&(a.size.width=a.size.height*a.aspectRatio,d=!1),a.position.top=a._helper?s.top:0),r=a.containerElement.get(0)===a.element.parent().get(0),i=/relative|absolute/.test(a.containerElement.css("position")),r&&i?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),t=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-s.left)),n=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-s.top)),t+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-t,l&&(a.size.height=a.size.width/a.aspectRatio,d=!1)),n+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-n,l&&(a.size.width=a.size.height*a.aspectRatio,d=!1)),d||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=x(this).resizable("instance"),t=e.options,n=e.containerOffset,r=e.containerPosition,i=e.containerElement,a=x(e.helper),o=a.offset(),s=a.outerWidth()-e.sizeDiff.width,c=a.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(i.css("position"))&&x(this).css({left:o.left-r.left-n.left,width:s,height:c}),e._helper&&!t.animate&&/static/.test(i.css("position"))&&x(this).css({left:o.left-r.left-n.left,width:s,height:c})}}),x.ui.plugin.add("resizable","alsoResize",{start:function(){var e=x(this).resizable("instance").options;x(e.alsoResize).each(function(){var e=x(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,n){var t=x(this).resizable("instance"),r=t.options,i=t.originalSize,a=t.originalPosition,o={height:t.size.height-i.height||0,width:t.size.width-i.width||0,top:t.position.top-a.top||0,left:t.position.left-a.left||0};x(r.alsoResize).each(function(){var e=x(this),r=x(this).data("ui-resizable-alsoresize"),i={},t=e.parents(n.originalElement[0]).length?["width","height"]:["width","height","top","left"];x.each(t,function(e,t){var n=(r[t]||0)+(o[t]||0);n&&0<=n&&(i[t]=n||null)}),e.css(i)})},stop:function(){x(this).removeData("ui-resizable-alsoresize")}}),x.ui.plugin.add("resizable","ghost",{start:function(){var e=x(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!1!==x.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=x(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=x(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),x.ui.plugin.add("resizable","grid",{resize:function(){var e,t=x(this).resizable("instance"),n=t.options,r=t.size,i=t.originalSize,a=t.originalPosition,o=t.axis,s="number"==typeof n.grid?[n.grid,n.grid]:n.grid,c=s[0]||1,l=s[1]||1,u=Math.round((r.width-i.width)/c)*c,f=Math.round((r.height-i.height)/l)*l,d=i.width+u,h=i.height+f,p=n.maxWidth&&n.maxWidth<d,m=n.maxHeight&&n.maxHeight<h,g=n.minWidth&&n.minWidth>d,_=n.minHeight&&n.minHeight>h;n.grid=s,g&&(d+=c),_&&(h+=l),p&&(d-=c),m&&(h-=l),/^(se|s|e)$/.test(o)?(t.size.width=d,t.size.height=h):/^(ne)$/.test(o)?(t.size.width=d,t.size.height=h,t.position.top=a.top-f):/^(sw)$/.test(o)?(t.size.width=d,t.size.height=h,t.position.left=a.left-u):((h-l<=0||d-c<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<h-l?(t.size.height=h,t.position.top=a.top-f):(h=l-e.height,t.size.height=h,t.position.top=a.top+i.height-h),0<d-c?(t.size.width=d,t.position.left=a.left-u):(d=c-e.width,t.size.width=d,t.position.left=a.left+i.width-d))}});x.ui.resizable;x.widget("ui.dialog",{version:"1.12.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=x(this).css(e).offset().top;t<0&&x(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&x.fn.draggable&&this._makeDraggable(),this.options.resizable&&x.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?x(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:x.noop,enable:x.noop,close:function(e){var t=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||x.ui.safeBlur(x.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){t._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var n=!1,r=this.uiDialog.siblings(".ui-front:visible").map(function(){return+x(this).css("z-index")}).get(),i=Math.max.apply(null,r);return i>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",i+1),n=!0),n&&!t&&this._trigger("focus",e),n},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=x(x.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;e||(e=this.element.find("[autofocus]")),e.length||(e=this.element.find(":tabbable")),e.length||(e=this.uiDialogButtonPane.find(":tabbable")),e.length||(e=this.uiDialogTitlebarClose.filter(":tabbable")),e.length||(e=this.uiDialog),e.eq(0).trigger("focus")},_keepFocus:function(e){function t(){var e=x.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===e||x.contains(this.uiDialog[0],e)||this._focusTabbable()}e.preventDefault(),t.call(this),this._delay(t)},_createWrapper:function(){this.uiDialog=x("<div>").hide().attr({tabIndex:-1,role:"dialog"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){if(this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===x.ui.keyCode.ESCAPE)return e.preventDefault(),void this.close(e);if(e.keyCode===x.ui.keyCode.TAB&&!e.isDefaultPrevented()){var t=this.uiDialog.find(":tabbable"),n=t.filter(":first"),r=t.filter(":last");e.target!==r[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==n[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){r.trigger("focus")}),e.preventDefault()):(this._delay(function(){n.trigger("focus")}),e.preventDefault())}},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){var e;this.uiDialogTitlebar=x("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){x(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=x("<button type='button'></button>").button({label:x("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}}),e=x("<span>").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html(" ")},_createButtonPane:function(){this.uiDialogButtonPane=x("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=x("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var i=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),x.isEmptyObject(e)||x.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(x.each(e,function(e,t){var n,r;t=x.isFunction(t)?{click:t,text:e}:t,t=x.extend({type:"button"},t),n=t.click,r={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text},delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,x("<button></button>",t).button(r).appendTo(i.uiButtonSet).on("click",function(){n.apply(i.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var i=this,a=this.options;function o(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){i._addClass(x(this),"ui-dialog-dragging"),i._blockFrames(),i._trigger("dragStart",e,o(t))},drag:function(e,t){i._trigger("drag",e,o(t))},stop:function(e,t){var n=t.offset.left-i.document.scrollLeft(),r=t.offset.top-i.document.scrollTop();a.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=r?"+":"")+r,of:i.window},i._removeClass(x(this),"ui-dialog-dragging"),i._unblockFrames(),i._trigger("dragStop",e,o(t))}})},_makeResizable:function(){var a=this,o=this.options,e=o.resizable,t=this.uiDialog.css("position"),n="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";function s(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:n,start:function(e,t){a._addClass(x(this),"ui-dialog-resizing"),a._blockFrames(),a._trigger("resizeStart",e,s(t))},resize:function(e,t){a._trigger("resize",e,s(t))},stop:function(e,t){var n=a.uiDialog.offset(),r=n.left-a.document.scrollLeft(),i=n.top-a.document.scrollTop();o.height=a.uiDialog.height(),o.width=a.uiDialog.width(),o.position={my:"left top",at:"left"+(0<=r?"+":"")+r+" top"+(0<=i?"+":"")+i,of:a.window},a._removeClass(x(this),"ui-dialog-resizing"),a._unblockFrames(),a._trigger("resizeStop",e,s(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=x(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=x.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||(e=[],this.document.data("ui-dialog-instances",e)),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var n=this,r=!1,i={};x.each(e,function(e,t){n._setOption(e,t),e in n.sizeRelatedOptions&&(r=!0),e in n.resizableRelatedOptions&&(i[e]=t)}),r&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",i)},_setOption:function(e,t){var n,r,i=this.uiDialog;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:x("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((n=i.is(":data(ui-draggable)"))&&!t&&i.draggable("destroy"),!n&&t&&this._makeDraggable()),"position"===e&&this._position(),"resizable"===e&&((r=i.is(":data(ui-resizable)"))&&!t&&i.resizable("destroy"),r&&"string"==typeof t&&i.resizable("option","handles",t),r||!1===t||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")))},_size:function(){var e,t,n,r=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),r.minWidth>r.width&&(r.width=r.minWidth),e=this.uiDialog.css({height:"auto",width:r.width}).outerHeight(),t=Math.max(0,r.minHeight-e),n="number"==typeof r.maxHeight?Math.max(0,r.maxHeight-e):"none","auto"===r.height?this.element.css({minHeight:t,maxHeight:n,height:"auto"}):this.element.height(Math.max(0,r.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=x(this);return x("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!x(e.target).closest(".ui-dialog").length||!!x(e.target).closest(".ui-datepicker").length},_createOverlay:function(){if(this.options.modal){var t=!0;this._delay(function(){t=!1}),this.document.data("ui-dialog-overlays")||this._on(this.document,{focusin:function(e){t||this._allowInteraction(e)||(e.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=x("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var e=this.document.data("ui-dialog-overlays")-1;e?this.document.data("ui-dialog-overlays",e):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),!1!==x.uiBackCompat&&x.widget("ui.dialog",x.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}});x.ui.dialog;x.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,t=this.options,n=t.accept;this.isover=!1,this.isout=!0,this.accept=x.isFunction(n)?n:function(e){return e.is(n)},this.proportions=function(){if(!arguments.length)return e||(e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight});e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){x.ui.ddmanager.droppables[e]=x.ui.ddmanager.droppables[e]||[],x.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=x.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,t){if("accept"===e)this.accept=x.isFunction(t)?t:function(e){return e.is(t)};else if("scope"===e){var n=x.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(t)}this._super(e,t)},_activate:function(e){var t=x.ui.ddmanager.current;this._addActiveClass(),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=x.ui.ddmanager.current;this._removeActiveClass(),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=x.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=x.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var n=e||x.ui.ddmanager.current,r=!1;return!(!n||(n.currentItem||n.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=x(this).droppable("instance");if(e.options.greedy&&!e.options.disabled&&e.options.scope===n.options.scope&&e.accept.call(e.element[0],n.currentItem||n.element)&&v(n,x.extend(e,{offset:e.element.offset()}),e.options.tolerance,t))return!(r=!0)}),!r&&(!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(n)),this.element)))},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var v=x.ui.intersect=function(){function d(e,t,n){return t<=e&&e<t+n}return function(e,t,n,r){if(!t.offset)return!1;var i=(e.positionAbs||e.position.absolute).left+e.margins.left,a=(e.positionAbs||e.position.absolute).top+e.margins.top,o=i+e.helperProportions.width,s=a+e.helperProportions.height,c=t.offset.left,l=t.offset.top,u=c+t.proportions().width,f=l+t.proportions().height;switch(n){case"fit":return c<=i&&o<=u&&l<=a&&s<=f;case"intersect":return c<i+e.helperProportions.width/2&&o-e.helperProportions.width/2<u&&l<a+e.helperProportions.height/2&&s-e.helperProportions.height/2<f;case"pointer":return d(r.pageY,l,t.proportions().height)&&d(r.pageX,c,t.proportions().width);case"touch":return(l<=a&&a<=f||l<=s&&s<=f||a<l&&f<s)&&(c<=i&&i<=u||c<=o&&o<=u||i<c&&u<o);default:return!1}}}();!(x.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var n,r,i=x.ui.ddmanager.droppables[e.options.scope]||[],a=t?t.type:null,o=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(n=0;n<i.length;n++)if(!(i[n].options.disabled||e&&!i[n].accept.call(i[n].element[0],e.currentItem||e.element))){for(r=0;r<o.length;r++)if(o[r]===i[n].element[0]){i[n].proportions().height=0;continue e}i[n].visible="none"!==i[n].element.css("display"),i[n].visible&&("mousedown"===a&&i[n]._activate.call(i[n],t),i[n].offset=i[n].element.offset(),i[n].proportions({width:i[n].element[0].offsetWidth,height:i[n].element[0].offsetHeight}))}},drop:function(e,t){var n=!1;return x.each((x.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&v(e,this,this.options.tolerance,t)&&(n=this._drop.call(this,t)||n),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t)))}),n},dragStart:function(e,t){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||x.ui.ddmanager.prepareOffsets(e,t)})},drag:function(a,o){a.options.refreshPositions&&x.ui.ddmanager.prepareOffsets(a,o),x.each(x.ui.ddmanager.droppables[a.options.scope]||[],function(){if(!this.options.disabled&&!this.greedyChild&&this.visible){var e,t,n,r=v(a,this,this.options.tolerance,o),i=!r&&this.isover?"isout":r&&!this.isover?"isover":null;i&&(this.options.greedy&&(t=this.options.scope,(n=this.element.parents(":data(ui-droppable)").filter(function(){return x(this).droppable("instance").options.scope===t})).length&&((e=x(n[0]).droppable("instance")).greedyChild="isover"===i)),e&&"isover"===i&&(e.isover=!1,e.isout=!0,e._out.call(e,o)),this[i]=!0,this["isout"===i?"isover":"isout"]=!1,this["isover"===i?"_over":"_out"].call(this,o),e&&"isout"===i&&(e.isout=!1,e.isover=!0,e._over.call(e,o)))}})},dragStop:function(e,t){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||x.ui.ddmanager.prepareOffsets(e,t)}})!==x.uiBackCompat&&x.widget("ui.droppable",x.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});x.ui.droppable,x.widget("ui.progressbar",{version:"1.12.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=x("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(t.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=x("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),x.widget("ui.selectable",x.ui.mouse,{version:"1.12.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var r=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){r.elementPos=x(r.element[0]).offset(),r.selectees=x(r.options.filter,r.element[0]),r._addClass(r.selectees,"ui-selectee"),r.selectees.each(function(){var e=x(this),t=e.offset(),n={left:t.left-r.elementPos.left,top:t.top-r.elementPos.top};x.data(this,"selectable-item",{element:this,$element:e,left:n.left,top:n.top,right:n.left+e.outerWidth(),bottom:n.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=x("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(n){var r=this,e=this.options;this.opos=[n.pageX,n.pageY],this.elementPos=x(this.element[0]).offset(),this.options.disabled||(this.selectees=x(e.filter,this.element[0]),this._trigger("start",n),x(e.appendTo).append(this.helper),this.helper.css({left:n.pageX,top:n.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=x.data(this,"selectable-item");e.startselected=!0,n.metaKey||n.ctrlKey||(r._removeClass(e.$element,"ui-selected"),e.selected=!1,r._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,r._trigger("unselecting",n,{unselecting:e.element}))}),x(n.target).parents().addBack().each(function(){var e,t=x.data(this,"selectable-item");if(t)return e=!n.metaKey&&!n.ctrlKey||!t.$element.hasClass("ui-selected"),r._removeClass(t.$element,e?"ui-unselecting":"ui-selected")._addClass(t.$element,e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.selected=e)?r._trigger("selecting",n,{selecting:t.element}):r._trigger("unselecting",n,{unselecting:t.element}),!1}))},_mouseDrag:function(r){if(this.dragged=!0,!this.options.disabled){var e,i=this,a=this.options,o=this.opos[0],s=this.opos[1],c=r.pageX,l=r.pageY;return c<o&&(e=c,c=o,o=e),l<s&&(e=l,l=s,s=e),this.helper.css({left:o,top:s,width:c-o,height:l-s}),this.selectees.each(function(){var e=x.data(this,"selectable-item"),t=!1,n={};e&&e.element!==i.element[0]&&(n.left=e.left+i.elementPos.left,n.right=e.right+i.elementPos.left,n.top=e.top+i.elementPos.top,n.bottom=e.bottom+i.elementPos.top,"touch"===a.tolerance?t=!(n.left>c||n.right<o||n.top>l||n.bottom<s):"fit"===a.tolerance&&(t=n.left>o&&n.right<c&&n.top>s&&n.bottom<l),t?(e.selected&&(i._removeClass(e.$element,"ui-selected"),e.selected=!1),e.unselecting&&(i._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1),e.selecting||(i._addClass(e.$element,"ui-selecting"),e.selecting=!0,i._trigger("selecting",r,{selecting:e.element}))):(e.selecting&&((r.metaKey||r.ctrlKey)&&e.startselected?(i._removeClass(e.$element,"ui-selecting"),e.selecting=!1,i._addClass(e.$element,"ui-selected"),e.selected=!0):(i._removeClass(e.$element,"ui-selecting"),e.selecting=!1,e.startselected&&(i._addClass(e.$element,"ui-unselecting"),e.unselecting=!0),i._trigger("unselecting",r,{unselecting:e.element}))),e.selected&&(r.metaKey||r.ctrlKey||e.startselected||(i._removeClass(e.$element,"ui-selected"),e.selected=!1,i._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,i._trigger("unselecting",r,{unselecting:e.element})))))}),!1}},_mouseStop:function(t){var n=this;return this.dragged=!1,x(".ui-unselecting",this.element[0]).each(function(){var e=x.data(this,"selectable-item");n._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1,e.startselected=!1,n._trigger("unselected",t,{unselected:e.element})}),x(".ui-selecting",this.element[0]).each(function(){var e=x.data(this,"selectable-item");n._removeClass(e.$element,"ui-selecting")._addClass(e.$element,"ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,n._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),x.widget("ui.selectmenu",[x.ui.formResetMixin,{version:"1.12.1",defaultElement:"<select>",options:{appendTo:null,classes:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"},disabled:null,icons:{button:"ui-icon-triangle-1-s"},position:{my:"left top",at:"left bottom",collision:"none"},width:!1,change:null,close:null,focus:null,open:null,select:null},_create:function(){var e=this.element.uniqueId().attr("id");this.ids={element:e,button:e+"-button",menu:e+"-menu"},this._drawButton(),this._drawMenu(),this._bindFormResetHandler(),this._rendered=!1,this.menuItems=x()},_drawButton:function(){var e,t=this,n=this._parseOption(this.element.find("option:selected"),this.element[0].selectedIndex);this.labels=this.element.labels().attr("for",this.ids.button),this._on(this.labels,{click:function(e){this.button.focus(),e.preventDefault()}}),this.element.hide(),this.button=x("<span>",{tabindex:this.options.disabled?-1:0,id:this.ids.button,role:"combobox","aria-expanded":"false","aria-autocomplete":"list","aria-owns":this.ids.menu,"aria-haspopup":"true",title:this.element.attr("title")}).insertAfter(this.element),this._addClass(this.button,"ui-selectmenu-button ui-selectmenu-button-closed","ui-button ui-widget"),e=x("<span>").appendTo(this.button),this._addClass(e,"ui-selectmenu-icon","ui-icon "+this.options.icons.button),this.buttonItem=this._renderButtonItem(n).appendTo(this.button),!1!==this.options.width&&this._resizeButton(),this._on(this.button,this._buttonEvents),this.button.one("focusin",function(){t._rendered||t._refreshMenu()})},_drawMenu:function(){var r=this;this.menu=x("<ul>",{"aria-hidden":"true","aria-labelledby":this.ids.button,id:this.ids.menu}),this.menuWrap=x("<div>").append(this.menu),this._addClass(this.menuWrap,"ui-selectmenu-menu","ui-front"),this.menuWrap.appendTo(this._appendTo()),this.menuInstance=this.menu.menu({classes:{"ui-menu":"ui-corner-bottom"},role:"listbox",select:function(e,t){e.preventDefault(),r._setSelection(),r._select(t.item.data("ui-selectmenu-item"),e)},focus:function(e,t){var n=t.item.data("ui-selectmenu-item");null!=r.focusIndex&&n.index!==r.focusIndex&&(r._trigger("focus",e,{item:n}),r.isOpen||r._select(n,e)),r.focusIndex=n.index,r.button.attr("aria-activedescendant",r.menuItems.eq(n.index).attr("id"))}}).menu("instance"),this.menuInstance._off(this.menu,"mouseleave"),this.menuInstance._closeOnDocumentClick=function(){return!1},this.menuInstance._isDivider=function(){return!1}},refresh:function(){this._refreshMenu(),this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(this._getSelectedItem().data("ui-selectmenu-item")||{})),null===this.options.width&&this._resizeButton()},_refreshMenu:function(){var e,t=this.element.find("option");this.menu.empty(),this._parseOptions(t),this._renderMenu(this.menu,this.items),this.menuInstance.refresh(),this.menuItems=this.menu.find("li").not(".ui-selectmenu-optgroup").find(".ui-menu-item-wrapper"),this._rendered=!0,t.length&&(e=this._getSelectedItem(),this.menuInstance.focus(null,e),this._setAria(e.data("ui-selectmenu-item")),this._setOption("disabled",this.element.prop("disabled")))},open:function(e){this.options.disabled||(this._rendered?(this._removeClass(this.menu.find(".ui-state-active"),null,"ui-state-active"),this.menuInstance.focus(null,this._getSelectedItem())):this._refreshMenu(),this.menuItems.length&&(this.isOpen=!0,this._toggleAttr(),this._resizeMenu(),this._position(),this._on(this.document,this._documentClick),this._trigger("open",e)))},_position:function(){this.menuWrap.position(x.extend({of:this.button},this.options.position))},close:function(e){this.isOpen&&(this.isOpen=!1,this._toggleAttr(),this.range=null,this._off(this.document),this._trigger("close",e))},widget:function(){return this.button},menuWidget:function(){return this.menu},_renderButtonItem:function(e){var t=x("<span>");return this._setText(t,e.label),this._addClass(t,"ui-selectmenu-text"),t},_renderMenu:function(r,e){var i=this,a="";x.each(e,function(e,t){var n;t.optgroup!==a&&(n=x("<li>",{text:t.optgroup}),i._addClass(n,"ui-selectmenu-optgroup","ui-menu-divider"+(t.element.parent("optgroup").prop("disabled")?" ui-state-disabled":"")),n.appendTo(r),a=t.optgroup),i._renderItemData(r,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-selectmenu-item",t)},_renderItem:function(e,t){var n=x("<li>"),r=x("<div>",{title:t.element.attr("title")});return t.disabled&&this._addClass(n,null,"ui-state-disabled"),this._setText(r,t.label),n.append(r).appendTo(e)},_setText:function(e,t){t?e.text(t):e.html(" ")},_move:function(e,t){var n,r,i=".ui-menu-item";this.isOpen?n=this.menuItems.eq(this.focusIndex).parent("li"):(n=this.menuItems.eq(this.element[0].selectedIndex).parent("li"),i+=":not(.ui-state-disabled)"),(r="first"===e||"last"===e?n["first"===e?"prevAll":"nextAll"](i).eq(-1):n[e+"All"](i).eq(0)).length&&this.menuInstance.focus(t,r)},_getSelectedItem:function(){return this.menuItems.eq(this.element[0].selectedIndex).parent("li")},_toggle:function(e){this[this.isOpen?"close":"open"](e)},_setSelection:function(){var e;this.range&&(window.getSelection?((e=window.getSelection()).removeAllRanges(),e.addRange(this.range)):this.range.select(),this.button.focus())},_documentClick:{mousedown:function(e){this.isOpen&&(x(e.target).closest(".ui-selectmenu-menu, #"+x.ui.escapeSelector(this.ids.button)).length||this.close(e))}},_buttonEvents:{mousedown:function(){var e;window.getSelection?(e=window.getSelection()).rangeCount&&(this.range=e.getRangeAt(0)):this.range=document.selection.createRange()},click:function(e){this._setSelection(),this._toggle(e)},keydown:function(e){var t=!0;switch(e.keyCode){case x.ui.keyCode.TAB:case x.ui.keyCode.ESCAPE:this.close(e),t=!1;break;case x.ui.keyCode.ENTER:this.isOpen&&this._selectFocusedItem(e);break;case x.ui.keyCode.UP:e.altKey?this._toggle(e):this._move("prev",e);break;case x.ui.keyCode.DOWN:e.altKey?this._toggle(e):this._move("next",e);break;case x.ui.keyCode.SPACE:this.isOpen?this._selectFocusedItem(e):this._toggle(e);break;case x.ui.keyCode.LEFT:this._move("prev",e);break;case x.ui.keyCode.RIGHT:this._move("next",e);break;case x.ui.keyCode.HOME:case x.ui.keyCode.PAGE_UP:this._move("first",e);break;case x.ui.keyCode.END:case x.ui.keyCode.PAGE_DOWN:this._move("last",e);break;default:this.menu.trigger(e),t=!1}t&&e.preventDefault()}},_selectFocusedItem:function(e){var t=this.menuItems.eq(this.focusIndex).parent("li");t.hasClass("ui-state-disabled")||this._select(t.data("ui-selectmenu-item"),e)},_select:function(e,t){var n=this.element[0].selectedIndex;this.element[0].selectedIndex=e.index,this.buttonItem.replaceWith(this.buttonItem=this._renderButtonItem(e)),this._setAria(e),this._trigger("select",t,{item:e}),e.index!==n&&this._trigger("change",t,{item:e}),this.close(t)},_setAria:function(e){var t=this.menuItems.eq(e.index).attr("id");this.button.attr({"aria-labelledby":t,"aria-activedescendant":t}),this.menu.attr("aria-activedescendant",t)},_setOption:function(e,t){if("icons"===e){var n=this.button.find("span.ui-icon");this._removeClass(n,null,this.options.icons.button)._addClass(n,null,t.button)}this._super(e,t),"appendTo"===e&&this.menuWrap.appendTo(this._appendTo()),"width"===e&&this._resizeButton()},_setOptionDisabled:function(e){this._super(e),this.menuInstance.option("disabled",e),this.button.attr("aria-disabled",e),this._toggleClass(this.button,null,"ui-state-disabled",e),this.element.prop("disabled",e),e?(this.button.attr("tabindex",-1),this.close()):this.button.attr("tabindex",0)},_appendTo:function(){var e=this.options.appendTo;return e&&(e=e.jquery||e.nodeType?x(e):this.document.find(e).eq(0)),e&&e[0]||(e=this.element.closest(".ui-front, dialog")),e.length||(e=this.document[0].body),e},_toggleAttr:function(){this.button.attr("aria-expanded",this.isOpen),this._removeClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"closed":"open"))._addClass(this.button,"ui-selectmenu-button-"+(this.isOpen?"open":"closed"))._toggleClass(this.menuWrap,"ui-selectmenu-open",null,this.isOpen),this.menu.attr("aria-hidden",!this.isOpen)},_resizeButton:function(){var e=this.options.width;!1!==e?(null===e&&(e=this.element.show().outerWidth(),this.element.hide()),this.button.outerWidth(e)):this.button.css("width","")},_resizeMenu:function(){this.menu.outerWidth(Math.max(this.button.outerWidth(),this.menu.width("").outerWidth()+1))},_getCreateOptions:function(){var e=this._super();return e.disabled=this.element.prop("disabled"),e},_parseOptions:function(e){var n=this,r=[];e.each(function(e,t){r.push(n._parseOption(x(t),e))}),this.items=r},_parseOption:function(e,t){var n=e.parent("optgroup");return{element:e,index:t,value:e.val(),label:e.text(),optgroup:n.attr("label")||"",disabled:n.prop("disabled")||e.prop("disabled")}},_destroy:function(){this._unbindFormResetHandler(),this.menuWrap.remove(),this.button.remove(),this.element.show(),this.element.removeUniqueId(),this.labels.attr("for",this.ids.element)}}]),x.widget("ui.slider",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t,n=this.options,r=this.element.find(".ui-slider-handle"),i=[];for(t=n.values&&n.values.length||1,r.length>t&&(r.slice(t).remove(),r=r.slice(0,t)),e=r.length;e<t;e++)i.push("<span tabindex='0'></span>");this.handles=r.add(x(i.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){x(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:x.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=x("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var t,n,r,i,a,o,s,c=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t),r=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(n-c.values(e));(t<r||r===t&&(e===c._lastChangedValue||c.values(e)===l.min))&&(r=t,i=x(this),a=e)}),!1!==this._start(e,a)&&(this._mouseSliding=!0,this._handleIndex=a,this._addClass(i,null,"ui-state-active"),i.trigger("focus"),o=i.offset(),s=!x(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=s?{left:0,top:0}:{left:e.pageX-o.left-i.width()/2,top:e.pageY-o.top-i.height()/2-(parseInt(i.css("borderTopWidth"),10)||0)-(parseInt(i.css("borderBottomWidth"),10)||0)+(parseInt(i.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,a,n),this._animateOff=!0))},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},n=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,n),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,n,r,i;return 1<(n=("horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)))/t)&&(n=1),n<0&&(n=0),"vertical"===this.orientation&&(n=1-n),r=this._valueMax()-this._valueMin(),i=this._valueMin()+n*r,this._trimAlignValue(i)},_uiHash:function(e,t,n){var r={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(r.value=void 0!==t?t:this.values(e),r.values=n||this.values()),r},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,n){var r,i=this.value(),a=this.values();this._hasMultipleValues()&&(r=this.values(t?0:1),i=this.values(t),2===this.options.values.length&&!0===this.options.range&&(n=0===t?Math.min(r,n):Math.max(r,n)),a[t]=n),n!==i&&!1!==this._trigger("slide",e,this._uiHash(t,n,a))&&(this._hasMultipleValues()?this.values(t,n):this.value(n))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){return arguments.length?(this.options.value=this._trimAlignValue(e),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,t){var n,r,i;if(1<arguments.length)return this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!x.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(n=this.options.values,r=e,i=0;i<n.length;i+=1)n[i]=this._trimAlignValue(r[i]),this._change(null,i);this._refreshValue()},_setOption:function(e,t){var n,r=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),x.isArray(this.options.values)&&(r=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),n=r-1;0<=n;n--)this._change(null,n);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return e=this._trimAlignValue(e)},_values:function(e){var t,n,r;if(arguments.length)return t=this.options.values[e],t=this._trimAlignValue(t);if(this._hasMultipleValues()){for(n=this.options.values.slice(),r=0;r<n.length;r+=1)n[r]=this._trimAlignValue(n[r]);return n}return[]},_trimAlignValue:function(e){if(e<=this._valueMin())return this._valueMin();if(e>=this._valueMax())return this._valueMax();var t=0<this.options.step?this.options.step:1,n=(e-this._valueMin())%t,r=e-n;return 2*Math.abs(n)>=t&&(r+=0<n?t:-t),parseFloat(r.toFixed(5))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),n=this.options.step;(e=Math.round((e-t)/n)*n+t)>this.options.max&&(e-=n),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return-1===n?0:t.length-n-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,n,e,r,i,a=this.options.range,o=this.options,s=this,c=!this._animateOff&&o.animate,l={};this._hasMultipleValues()?this.handles.each(function(e){n=(s.values(e)-s._valueMin())/(s._valueMax()-s._valueMin())*100,l["horizontal"===s.orientation?"left":"bottom"]=n+"%",x(this).stop(1,1)[c?"animate":"css"](l,o.animate),!0===s.options.range&&("horizontal"===s.orientation?(0===e&&s.range.stop(1,1)[c?"animate":"css"]({left:n+"%"},o.animate),1===e&&s.range[c?"animate":"css"]({width:n-t+"%"},{queue:!1,duration:o.animate})):(0===e&&s.range.stop(1,1)[c?"animate":"css"]({bottom:n+"%"},o.animate),1===e&&s.range[c?"animate":"css"]({height:n-t+"%"},{queue:!1,duration:o.animate}))),t=n}):(e=this.value(),r=this._valueMin(),i=this._valueMax(),n=i!==r?(e-r)/(i-r)*100:0,l["horizontal"===this.orientation?"left":"bottom"]=n+"%",this.handle.stop(1,1)[c?"animate":"css"](l,o.animate),"min"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:n+"%"},o.animate),"max"===a&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:100-n+"%"},o.animate),"min"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:n+"%"},o.animate),"max"===a&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-n+"%"},o.animate))},_handleEvents:{keydown:function(e){var t,n,r,i=x(e.target).data("ui-slider-handle-index");switch(e.keyCode){case x.ui.keyCode.HOME:case x.ui.keyCode.END:case x.ui.keyCode.PAGE_UP:case x.ui.keyCode.PAGE_DOWN:case x.ui.keyCode.UP:case x.ui.keyCode.RIGHT:case x.ui.keyCode.DOWN:case x.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(x(e.target),null,"ui-state-active"),!1===this._start(e,i)))return}switch(r=this.options.step,t=n=this._hasMultipleValues()?this.values(i):this.value(),e.keyCode){case x.ui.keyCode.HOME:n=this._valueMin();break;case x.ui.keyCode.END:n=this._valueMax();break;case x.ui.keyCode.PAGE_UP:n=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case x.ui.keyCode.PAGE_DOWN:n=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case x.ui.keyCode.UP:case x.ui.keyCode.RIGHT:if(t===this._valueMax())return;n=this._trimAlignValue(t+r);break;case x.ui.keyCode.DOWN:case x.ui.keyCode.LEFT:if(t===this._valueMin())return;n=this._trimAlignValue(t-r)}this._slide(e,i,n)},keyup:function(e){var t=x(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),this._removeClass(x(e.target),null,"ui-state-active"))}}}),x.widget("ui.sortable",x.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(e,t,n){return t<=e&&e<t+n},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),x.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var n=null,r=!1,i=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),x(e.target).parents().each(function(){if(x.data(this,i.widgetName+"-item")===i)return n=x(this),!1}),x.data(e.target,i.widgetName+"-item")===i&&(n=x(e.target)),!!n&&(!(this.options.handle&&!t&&(x(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(r=!0)}),!r))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,t,n){var r,i,a=this.options;if((this.currentContainer=this).refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},x.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,a.cursorAt&&this._adjustOffsetFromHelper(a.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),a.containment&&this._setContainment(),a.cursor&&"auto"!==a.cursor&&(i=this.document.find("body"),this.storedCursor=i.css("cursor"),i.css("cursor",a.cursor),this.storedStylesheet=x("<style>*{ cursor: "+a.cursor+" !important; }</style>").appendTo(i)),a.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",a.opacity)),a.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",a.zIndex)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!n)for(r=this.containers.length-1;0<=r;r--)this.containers[r]._trigger("activate",e,this._uiHash(this));return x.ui.ddmanager&&(x.ui.ddmanager.current=this),x.ui.ddmanager&&!a.dropBehaviour&&x.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this._mouseDrag(e),!0},_mouseDrag:function(e){var t,n,r,i,a=this.options,o=!1;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<a.scrollSensitivity?this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop+a.scrollSpeed:e.pageY-this.overflowOffset.top<a.scrollSensitivity&&(this.scrollParent[0].scrollTop=o=this.scrollParent[0].scrollTop-a.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<a.scrollSensitivity?this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft+a.scrollSpeed:e.pageX-this.overflowOffset.left<a.scrollSensitivity&&(this.scrollParent[0].scrollLeft=o=this.scrollParent[0].scrollLeft-a.scrollSpeed)):(e.pageY-this.document.scrollTop()<a.scrollSensitivity?o=this.document.scrollTop(this.document.scrollTop()-a.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<a.scrollSensitivity&&(o=this.document.scrollTop(this.document.scrollTop()+a.scrollSpeed)),e.pageX-this.document.scrollLeft()<a.scrollSensitivity?o=this.document.scrollLeft(this.document.scrollLeft()-a.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<a.scrollSensitivity&&(o=this.document.scrollLeft(this.document.scrollLeft()+a.scrollSpeed))),!1!==o&&x.ui.ddmanager&&!a.dropBehaviour&&x.ui.ddmanager.prepareOffsets(this,e)),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),t=this.items.length-1;0<=t;t--)if(r=(n=this.items[t]).item[0],(i=this._intersectsWithPointer(n))&&n.instance===this.currentContainer&&!(r===this.currentItem[0]||this.placeholder[1===i?"next":"prev"]()[0]===r||x.contains(this.placeholder[0],r)||"semi-dynamic"===this.options.type&&x.contains(this.element[0],r))){if(this.direction=1===i?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(n))break;this._rearrange(e,n),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),x.ui.ddmanager&&x.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){if(e){if(x.ui.ddmanager&&!this.options.dropBehaviour&&x.ui.ddmanager.drop(this,e),this.options.revert){var n=this,r=this.placeholder.offset(),i=this.options.axis,a={};i&&"x"!==i||(a.left=r.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),i&&"y"!==i||(a.top=r.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,x(this.helper).animate(a,parseInt(this.options.revert,10)||500,function(){n._clear(e)})}else this._clear(e,t);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new x.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),x.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?x(this.domPosition.prev).after(this.currentItem):x(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),n=[];return t=t||{},x(e).each(function(){var e=(x(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&n.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!n.length&&t.key&&n.push(t.key+"="),n.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),n=[];return e=e||{},t.each(function(){n.push(x(e.item||this).attr(e.attribute||"id")||"")}),n},_intersectsWith:function(e){var t=this.positionAbs.left,n=t+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,a=e.left,o=a+e.width,s=e.top,c=s+e.height,l=this.offset.click.top,u=this.offset.click.left,f="x"===this.options.axis||s<r+l&&r+l<c,d="y"===this.options.axis||a<t+u&&t+u<o,h=f&&d;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?h:a<t+this.helperProportions.width/2&&n-this.helperProportions.width/2<o&&s<r+this.helperProportions.height/2&&i-this.helperProportions.height/2<c},_intersectsWithPointer:function(e){var t,n,r="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),i="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!r||!i)&&(t=this._getDragVerticalDirection(),n=this._getDragHorizontalDirection(),this.floating?"right"===n||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),r=this._getDragVerticalDirection(),i=this._getDragHorizontalDirection();return this.floating&&i?"right"===i&&n||"left"===i&&!n:r&&("down"===r&&t||"up"===r&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!==e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!==e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){var t,n,r,i,a=[],o=[],s=this._connectWith();if(s&&e)for(t=s.length-1;0<=t;t--)for(n=(r=x(s[t],this.document[0])).length-1;0<=n;n--)(i=x.data(r[n],this.widgetFullName))&&i!==this&&!i.options.disabled&&o.push([x.isFunction(i.options.items)?i.options.items.call(i.element):x(i.options.items,i.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),i]);function c(){a.push(this)}for(o.push([x.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):x(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=o.length-1;0<=t;t--)o[t][0].each(c);return x(a)},_removeCurrentsFromItems:function(){var n=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=x.grep(this.items,function(e){for(var t=0;t<n.length;t++)if(n[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,n,r,i,a,o,s,c,l=this.items,u=[[x.isFunction(this.options.items)?this.options.items.call(this.element[0],e,{item:this.currentItem}):x(this.options.items,this.element),this]],f=this._connectWith();if(f&&this.ready)for(t=f.length-1;0<=t;t--)for(n=(r=x(f[t],this.document[0])).length-1;0<=n;n--)(i=x.data(r[n],this.widgetFullName))&&i!==this&&!i.options.disabled&&(u.push([x.isFunction(i.options.items)?i.options.items.call(i.element[0],e,{item:this.currentItem}):x(i.options.items,i.element),i]),this.containers.push(i));for(t=u.length-1;0<=t;t--)for(a=u[t][1],n=0,c=(o=u[t][0]).length;n<c;n++)(s=x(o[n])).data(this.widgetName+"-item",a),l.push({item:s,instance:a,width:0,height:0,left:0,top:0})},refreshPositions:function(e){var t,n,r,i;for(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),t=this.items.length-1;0<=t;t--)(n=this.items[t]).instance!==this.currentContainer&&this.currentContainer&&n.item[0]!==this.currentItem[0]||(r=this.options.toleranceElement?x(this.options.toleranceElement,n.item):n.item,e||(n.width=r.outerWidth(),n.height=r.outerHeight()),i=r.offset(),n.left=i.left,n.top=i.top);if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)i=this.containers[t].element.offset(),this.containers[t].containerCache.left=i.left,this.containers[t].containerCache.top=i.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(n){var r,i=(n=n||this).options;i.placeholder&&i.placeholder.constructor!==String||(r=i.placeholder,i.placeholder={element:function(){var e=n.currentItem[0].nodeName.toLowerCase(),t=x("<"+e+">",n.document[0]);return n._addClass(t,"ui-sortable-placeholder",r||n.currentItem[0].className)._removeClass(t,"ui-sortable-helper"),"tbody"===e?n._createTrPlaceholder(n.currentItem.find("tr").eq(0),x("<tr>",n.document[0]).appendTo(t)):"tr"===e?n._createTrPlaceholder(n.currentItem,t):"img"===e&&t.attr("src",n.currentItem.attr("src")),r||t.css("visibility","hidden"),t},update:function(e,t){r&&!i.forcePlaceholderSize||(t.height()||t.height(n.currentItem.innerHeight()-parseInt(n.currentItem.css("paddingTop")||0,10)-parseInt(n.currentItem.css("paddingBottom")||0,10)),t.width()||t.width(n.currentItem.innerWidth()-parseInt(n.currentItem.css("paddingLeft")||0,10)-parseInt(n.currentItem.css("paddingRight")||0,10)))}}),n.placeholder=x(i.placeholder.element.call(n.element,n.currentItem)),n.currentItem.after(n.placeholder),i.placeholder.update(n,n.placeholder)},_createTrPlaceholder:function(e,t){var n=this;e.children().each(function(){x("<td> </td>",n.document[0]).attr("colspan",x(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){var t,n,r,i,a,o,s,c,l,u,f=null,d=null;for(t=this.containers.length-1;0<=t;t--)if(!x.contains(this.currentItem[0],this.containers[t].element[0]))if(this._intersectsWith(this.containers[t].containerCache)){if(f&&x.contains(this.containers[t].element[0],f.element[0]))continue;f=this.containers[t],d=t}else this.containers[t].containerCache.over&&(this.containers[t]._trigger("out",e,this._uiHash(this)),this.containers[t].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(r=1e4,i=null,a=(l=f.floating||this._isFloating(this.currentItem))?"left":"top",o=l?"width":"height",u=l?"pageX":"pageY",n=this.items.length-1;0<=n;n--)x.contains(this.containers[d].element[0],this.items[n].item[0])&&this.items[n].item[0]!==this.currentItem[0]&&(s=this.items[n].item.offset()[a],c=!1,e[u]-s>this.items[n][o]/2&&(c=!0),Math.abs(e[u]-s)<r&&(r=Math.abs(e[u]-s),i=this.items[n],this.direction=c?"up":"down"));if(!i&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return void(this.currentContainer.containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));i?this._rearrange(e,i,null,!0):this._rearrange(e,null,this.containers[d].element,!0),this._trigger("change",e,this._uiHash()),this.containers[d]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(e){var t=this.options,n=x.isFunction(t.helper)?x(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return n.parents("body").length||x("parent"!==t.appendTo?t.appendTo:this.currentItem[0].parentNode)[0].appendChild(n[0]),n[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),n[0].style.width&&!t.forceHelperSize||n.width(this.currentItem.width()),n[0].style.height&&!t.forceHelperSize||n.height(this.currentItem.height()),n},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),x.isArray(e)&&(e={left:+e[0],top:+e[1]||0}),"left"in e&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&x.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&x.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"!==this.cssPosition)return{top:0,left:0};var e=this.currentItem.position();return{top:e.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,n,r=this.options;"parent"===r.containment&&(r.containment=this.helper[0].parentNode),"document"!==r.containment&&"window"!==r.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===r.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===r.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(r.containment)||(e=x(r.containment)[0],t=x(r.containment).offset(),n="hidden"!==x(e).css("overflow"),this.containment=[t.left+(parseInt(x(e).css("borderLeftWidth"),10)||0)+(parseInt(x(e).css("paddingLeft"),10)||0)-this.margins.left,t.top+(parseInt(x(e).css("borderTopWidth"),10)||0)+(parseInt(x(e).css("paddingTop"),10)||0)-this.margins.top,t.left+(n?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(x(e).css("borderLeftWidth"),10)||0)-(parseInt(x(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,t.top+(n?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(x(e).css("borderTopWidth"),10)||0)-(parseInt(x(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t||(t=this.position);var n="absolute"===e?1:-1,r="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&x.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,i=/(html|body)/i.test(r[0].tagName);return{top:t.top+this.offset.relative.top*n+this.offset.parent.top*n-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():i?0:r.scrollTop())*n,left:t.left+this.offset.relative.left*n+this.offset.parent.left*n-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():i?0:r.scrollLeft())*n}},_generatePosition:function(e){var t,n,r=this.options,i=e.pageX,a=e.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&x.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(a=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(a=this.containment[3]+this.offset.click.top)),r.grid&&(t=this.originalPageY+Math.round((a-this.originalPageY)/r.grid[1])*r.grid[1],a=this.containment?t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-r.grid[1]:t+r.grid[1]:t,n=this.originalPageX+Math.round((i-this.originalPageX)/r.grid[0])*r.grid[0],i=this.containment?n-this.offset.click.left>=this.containment[0]&&n-this.offset.click.left<=this.containment[2]?n:n-this.offset.click.left>=this.containment[0]?n-r.grid[0]:n+r.grid[0]:n)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())}},_rearrange:function(e,t,n,r){n?n[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay(function(){i===this.counter&&this.refreshPositions(!r)})},_clear:function(e,t){this.reverting=!1;var n,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function i(t,n,r){return function(e){r._trigger(t,e,n._uiHash(n))}}for(this.fromOutside&&!t&&r.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||r.push(function(e){this._trigger("update",e,this._uiHash())}),this!==this.currentContainer&&(t||(r.push(function(e){this._trigger("remove",e,this._uiHash())}),r.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;0<=n;n--)t||r.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(n=0;n<r.length;n++)r[n].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===x.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||x([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}});function y(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}x.widget("ui.spinner",{version:"1.12.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var r=this._super(),i=this.element;return x.each(["min","max","step"],function(e,t){var n=i.attr(t);null!=n&&n.length&&(r[t]=n)}),r},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e))},mousewheel:function(e,t){if(t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){var t;function n(){this.element[0]===x.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=t,this._delay(function(){this.previous=t}))}t=this.element[0]===x.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),e.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,n.call(this)}),!1!==this._start(e)&&this._repeat(null,x(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(x(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,x(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var t=this.options,n=x.ui.keyCode;switch(e.keyCode){case n.UP:return this._repeat(null,1,e),!0;case n.DOWN:return this._repeat(null,-1,e),!0;case n.PAGE_UP:return this._repeat(null,t.page,e),!0;case n.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,n){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,n)},e),this._spin(t*this.options.step,n)},_spin:function(e,t){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:n})||(this._value(n),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?x.isFunction(t)?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return null!==this.options.min&&(e=Math.max(e,this._precisionOf(this.options.min))),e},_precisionOf:function(e){var t=e.toString(),n=t.indexOf(".");return-1===n?0:t.length-n-1},_adjustValue:function(e){var t,n,r=this.options;return n=e-(t=null!==r.min?r.min:0),e=t+(n=Math.round(n/r.step)*r.step),e=parseFloat(e.toFixed(this._precision())),null!==r.max&&e>r.max?r.max:null!==r.min&&e<r.min?r.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var n,r,i;if("culture"===e||"numberFormat"===e)return n=this._parse(this.element.val()),this.options[e]=t,void this.element.val(this._format(n));"max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(r=this.buttons.first().find(".ui-icon"),this._removeClass(r,null,this.options.icons.up),this._addClass(r,null,t.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,t.down)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:y(function(e){this._super(e)}),_parse:function(e){return"string"==typeof e&&""!==e&&(e=window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e),""===e||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var n;""!==e&&null!==(n=this._parse(e))&&(t||(n=this._adjustValue(n)),e=this._format(n)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:y(function(e){this._stepUp(e)}),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:y(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:y(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:y(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());y(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!1!==x.uiBackCompat&&x.widget("ui.spinner",x.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});var w;x.ui.spinner;x.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(w=/#.*$/,function(e){var t,n;t=e.href.replace(w,""),n=location.href.replace(w,"");try{t=decodeURIComponent(t)}catch(e){}try{n=decodeURIComponent(n)}catch(e){}return 1<e.hash.length&&t===n}),_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),x.isArray(e.disabled)&&(e.disabled=x.unique(e.disabled.concat(x.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=x(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var n=this.options.active,e=this.options.collapsible,r=location.hash.substring(1);return null===n&&(r&&this.tabs.each(function(e,t){if(x(t).attr("aria-controls")===r)return n=e,!1}),null===n&&(n=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==n&&-1!==n||(n=!!this.tabs.length&&0)),!1!==n&&-1===(n=this.tabs.index(this.tabs.eq(n)))&&(n=!e&&0),!e&&!1===n&&this.anchors.length&&(n=0),n},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):x()}},_tabKeydown:function(e){var t=x(x.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(t),r=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case x.ui.keyCode.RIGHT:case x.ui.keyCode.DOWN:n++;break;case x.ui.keyCode.UP:case x.ui.keyCode.LEFT:r=!1,n--;break;case x.ui.keyCode.END:n=this.anchors.length-1;break;case x.ui.keyCode.HOME:n=0;break;case x.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case x.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,r),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===x.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===x.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===x.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){var n=this.tabs.length-1;for(;-1!==x.inArray((n<e&&(e=0),e<0&&(e=n),e),this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"!==e?(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t)):this._activate(t)},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=x.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!x.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=x()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=x()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var c=this,e=this.tabs,t=this.anchors,n=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){x(this).is(".ui-state-disabled")&&e.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){x(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return x("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=x(),this.anchors.each(function(e,t){var n,r,i,a=x(t).uniqueId().attr("id"),o=x(t).closest("li"),s=o.attr("aria-controls");c._isLocal(t)?(i=(n=t.hash).substring(1),r=c.element.find(c._sanitizeSelector(n))):(n="#"+(i=o.attr("aria-controls")||x({}).uniqueId()[0].id),(r=c.element.find(n)).length||(r=c._createPanel(i)).insertAfter(c.panels[e-1]||c.tablist),r.attr("aria-live","polite")),r.length&&(c.panels=c.panels.add(r)),s&&o.data("ui-tabs-aria-controls",s),o.attr({"aria-controls":i,"aria-labelledby":a}),r.attr("aria-labelledby",a)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),this._off(t.not(this.anchors)),this._off(n.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return x("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,n,r;for(x.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),r=0;n=this.tabs[r];r++)t=x(n),!0===e||-1!==x.inArray(r,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var n={};e&&x.each(e.split(" "),function(e,t){n[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,n),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var n,t=this.element.parent();"fill"===e?(n=t.height(),n-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=x(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(n-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){n-=x(this).outerHeight(!0)}),this.panels.each(function(){x(this).height(Math.max(0,n-x(this).innerHeight()+x(this).height()))}).css("overflow","auto")):"auto"===e&&(n=0,this.panels.each(function(){n=Math.max(n,x(this).height("").height())}).height(n))},_eventHandler:function(e){var t=this.options,n=this.active,r=x(e.currentTarget).closest("li"),i=r[0]===n[0],a=i&&t.collapsible,o=a?x():this._getPanelForTab(r),s=n.length?this._getPanelForTab(n):x(),c={oldTab:n,oldPanel:s,newTab:a?x():r,newPanel:o};e.preventDefault(),r.hasClass("ui-state-disabled")||r.hasClass("ui-tabs-loading")||this.running||i&&!t.collapsible||!1===this._trigger("beforeActivate",e,c)||(t.active=!a&&this.tabs.index(r),this.active=i?x():r,this.xhr&&this.xhr.abort(),s.length||o.length||x.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(r),e),this._toggle(e,c))},_toggle:function(e,t){var n=this,r=t.newPanel,i=t.oldPanel;function a(){n.running=!1,n._trigger("activate",e,t)}function o(){n._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),r.length&&n.options.show?n._show(r,n.options.show,a):(r.show(),a())}this.running=!0,i.length&&this.options.hide?this._hide(i,this.options.hide,function(){n._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),i.hide(),o()),i.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),r.length&&i.length?t.oldTab.attr("tabIndex",-1):r.length&&this.tabs.filter(function(){return 0===x(this).attr("tabIndex")}).attr("tabIndex",-1),r.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var t,n=this._findActive(e);n[0]!==this.active[0]&&(n.length||(n=this.active),t=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:x.noop}))},_findActive:function(e){return!1===e?x():this.tabs.eq(e)},_getIndex:function(e){return"string"==typeof e&&(e=this.anchors.index(this.anchors.filter("[href$='"+x.ui.escapeSelector(e)+"']"))),e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){x.data(this,"ui-tabs-destroy")?x(this).remove():x(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=x(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(n){var e=this.options.disabled;!1!==e&&(e=void 0!==n&&(n=this._getIndex(n),x.isArray(e)?x.map(e,function(e){return e!==n?e:null}):x.map(this.tabs,function(e,t){return t!==n?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==x.inArray(e,t))return;t=x.isArray(t)?x.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,r){e=this._getIndex(e);var i=this,n=this.tabs.eq(e),t=n.find(".ui-tabs-anchor"),a=this._getPanelForTab(n),o={tab:n,panel:a},s=function(e,t){"abort"===t&&i.panels.stop(!1,!0),i._removeClass(n,"ui-tabs-loading"),a.removeAttr("aria-busy"),e===i.xhr&&delete i.xhr};this._isLocal(t[0])||(this.xhr=x.ajax(this._ajaxSettings(t,r,o)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(n,"ui-tabs-loading"),a.attr("aria-busy","true"),this.xhr.done(function(e,t,n){setTimeout(function(){a.html(e),i._trigger("load",r,o),s(n,t)},1)}).fail(function(e,t){setTimeout(function(){s(e,t)},1)})))},_ajaxSettings:function(e,n,r){var i=this;return{url:e.attr("href").replace(/#.*$/,""),beforeSend:function(e,t){return i._trigger("beforeLoad",n,x.extend({jqXHR:e,ajaxSettings:t},r))}}},_getPanelForTab:function(e){var t=x(e).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==x.uiBackCompat&&x.widget("ui.tabs",x.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}});x.ui.tabs;x.widget("ui.tooltip",{version:"1.12.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=x(this).attr("title")||"";return x("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var n=(e.attr("aria-describedby")||"").split(/\s+/);n.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",x.trim(n.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),n=(e.attr("aria-describedby")||"").split(/\s+/),r=x.inArray(t,n);-1!==r&&n.splice(r,1),e.removeData("ui-tooltip-id"),(n=x.trim(n.join(" ")))?e.attr("aria-describedby",n):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=x("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=x([])},_setOption:function(e,t){var n=this;this._super(e,t),"content"===e&&x.each(this.tooltips,function(e,t){n._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var r=this;x.each(this.tooltips,function(e,t){var n=x.Event("blur");n.target=n.currentTarget=t.element[0],r.close(n,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=x(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=x(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=x([])},open:function(e){var n=this,t=x(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=x(this);t.data("ui-tooltip-open")&&((e=x.Event("blur")).target=e.currentTarget=this,n.close(e,!0)),t.attr("title")&&(t.uniqueId(),n.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,n){var e,r=this.options.content,i=this,a=n?n.type:null;if("string"==typeof r||r.nodeType||r.jquery)return this._open(n,t,r);(e=r.call(t[0],function(e){i._delay(function(){t.data("ui-tooltip-open")&&(n&&(n.type=a),this._open(n,t,e))})}))&&this._open(n,t,e)},_open:function(e,t,n){var r,i,a,o,s=x.extend({},this.options.position);function c(e){s.of=e,i.is(":hidden")||i.position(s)}n&&((r=this._find(t))?r.tooltip.find(".ui-tooltip-content").html(n):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),r=this._tooltip(t),i=r.tooltip,this._addDescribedBy(t,i.attr("id")),i.find(".ui-tooltip-content").html(n),this.liveRegion.children().hide(),(o=x("<div>").html(i.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),o.removeAttr("id").find("[id]").removeAttr("id"),o.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:c}),c(e)):i.position(x.extend({of:t},this.options.position)),i.hide(),this._show(i,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(a=this.delayedShow=setInterval(function(){i.is(":visible")&&(c(s.of),clearInterval(a))},x.fx.interval)),this._trigger("open",e,{tooltip:i})))},_registerCloseHandlers:function(e,n){var t={keyup:function(e){if(e.keyCode===x.ui.keyCode.ESCAPE){var t=x.Event(e);t.currentTarget=n[0],this.close(t,!0)}}};n[0]!==this.element[0]&&(t.remove=function(){this._removeTooltip(this._find(n).tooltip)}),e&&"mouseover"!==e.type||(t.mouseleave="close"),e&&"focusin"!==e.type||(t.focusout="close"),this._on(!0,n,t)},close:function(e){var t,n=this,r=x(e?e.currentTarget:this.element),i=this._find(r);i?(t=i.tooltip,i.closing||(clearInterval(this.delayedShow),r.data("ui-tooltip-title")&&!r.attr("title")&&r.attr("title",r.data("ui-tooltip-title")),this._removeDescribedBy(r),i.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){n._removeTooltip(x(this))}),r.removeData("ui-tooltip-open"),this._off(r,"mouseleave focusout keyup"),r[0]!==this.element[0]&&this._off(r,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&x.each(this.parents,function(e,t){x(t.element).attr("title",t.title),delete n.parents[e]}),i.closing=!0,this._trigger("close",e,{tooltip:t}),i.hiding||(i.closing=!1))):r.removeData("ui-tooltip-open")},_tooltip:function(e){var t=x("<div>").attr("role","tooltip"),n=x("<div>").appendTo(t),r=t.uniqueId().attr("id");return this._addClass(n,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[r]={element:e,tooltip:t}},_find:function(e){var t=e.data("ui-tooltip-id");return t?this.tooltips[t]:null},_removeTooltip:function(e){e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){var t=e.closest(".ui-front, dialog");return t.length||(t=this.document[0].body),t},_destroy:function(){var i=this;x.each(this.tooltips,function(e,t){var n=x.Event("blur"),r=t.element;n.target=n.currentTarget=r[0],i.close(n,!0),x("#"+e).remove(),r.data("ui-tooltip-title")&&(r.attr("title")||r.attr("title",r.data("ui-tooltip-title")),r.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!1!==x.uiBackCompat&&x.widget("ui.tooltip",x.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}});x.ui.tooltip}),function(e,w,t){"use strict";w.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(b,v,y){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(c,l,e,a){var u;function n(e,t){var n=t&&"function"==typeof t;return e&&"function"==typeof e&&n?function(){e.apply(this,arguments),t.apply(this,arguments)}:n?t:e}function o(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function s(e,t){return m[e]?("stop"===e&&(t=n(t=n(t,function(){c.$apply()}),r)),t=n(m[e],t)):g[e]&&(t=g[e](t)),t||("items"===e?t=b.items:"ui-model-items"===e&&(t=b.items)),t}function i(r,e,n){w.forEach(m,function(e,t){t in h||(h[t]=null)});var i,a=null;e&&w.forEach(e,function(e,t){if(!(r&&t in r)){if(t in p)return void(h[t]="ui-floating"===t?"auto":s(t,void 0));i||(i=w.element.ui.sortable().options);var n=i[t];n=s(t,n),a||(a={}),a[t]=n,h[t]=n}});return w.forEach(r,function(e,t){if(t in p)return"ui-floating"!==t||!1!==e&&!0!==e||!n||(n.floating=e),void(h[t]=s(t,e));e=s(t,e),a||(a={}),a[t]=e,h[t]=e}),a}function f(e,t,n){var r,i,a=null;return r=t,("clone"===(i=e.sortable("option","helper"))||"function"==typeof i&&r.item.sortable.isCustomHelperUsed())&&"parent"===e.sortable("option","appendTo")&&(a=n.last()),a}function r(e,t){t.item.sortable._destroy()}function d(e){return e.item.parent().find(h["ui-model-items"]).index(e.item)}var h={},p={"ui-floating":void 0,"ui-model-items":b.items},m={receive:null,remove:null,start:null,stop:null,update:null},g={helper:null};function t(){c.$watchCollection("ngModel",function(){v(function(){o(l)&&l.sortable("refresh")},0,!1)}),m.start=function(e,n){if("auto"===h["ui-floating"]){var t=n.item.siblings();o(w.element(e.target)).floating=/left|right/.test((r=t).css("float"))||/inline|table-cell/.test(r.css("display"))}var r,i=d(n);n.item.sortable={model:a.$modelValue[i],index:i,source:n.item.parent(),sourceModel:a.$modelValue,cancel:function(){n.item.sortable._isCanceled=!0},isCanceled:function(){return n.item.sortable._isCanceled},isCustomHelperUsed:function(){return!!n.item.sortable._isCustomHelperUsed},_isCanceled:!1,_isCustomHelperUsed:n.item.sortable._isCustomHelperUsed,_destroy:function(){w.forEach(n.item.sortable,function(e,t){n.item.sortable[t]=void 0})}}},m.activate=function(e,t){u=l.contents();var n,r,i,a=function(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=w.element(n)}return null}(l);if(a&&a.length){var o=(n=l,r=a,i=h["ui-model-items"].replace(/[^,]*>/g,""),n.find('[class="'+r.attr("class")+'"]:not('+i+")"));u=u.not(o)}var s=t.item.sortable._connectedSortables||[];s.push({element:l,scope:c}),t.item.sortable._connectedSortables=s},m.update=function(e,t){if(!t.item.sortable.received){t.item.sortable.dropindex=d(t);var n=t.item.parent();t.item.sortable.droptarget=n;var r=function(e,t){for(var n=null,r=0;r<e.length;r++){var i=e[r];if(i.element[0]===t[0]){n=i.scope;break}}return n}(t.item.sortable._connectedSortables,n);t.item.sortable.droptargetModel=r.ngModel,l.sortable("cancel")}var i=!t.item.sortable.received&&f(l,t,u);i&&i.length&&(u=u.not(i)),u.appendTo(l),t.item.sortable.received&&(u=null),t.item.sortable.received&&!t.item.sortable.isCanceled()&&c.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,t.item.sortable.moved)})},m.stop=function(e,t){if(!t.item.sortable.received&&"dropindex"in t.item.sortable&&!t.item.sortable.isCanceled())c.$apply(function(){a.$modelValue.splice(t.item.sortable.dropindex,0,a.$modelValue.splice(t.item.sortable.index,1)[0])});else if((!("dropindex"in t.item.sortable)||t.item.sortable.isCanceled())&&!w.equals(l.contents(),u)){var n=f(l,t,u);n&&n.length&&(u=u.not(n)),u.appendTo(l)}u=null},m.receive=function(e,t){t.item.sortable.received=!0},m.remove=function(e,t){"dropindex"in t.item.sortable||(l.sortable("cancel"),t.item.sortable.cancel()),t.item.sortable.isCanceled()||c.$apply(function(){t.item.sortable.moved=a.$modelValue.splice(t.item.sortable.index,1)[0]})},g.helper=function(r){return r&&"function"==typeof r?function(e,t){var n=r.apply(this,arguments);return t.sortable._isCustomHelperUsed=t!==n,n}:r},c.$watchCollection("uiSortable",function(e,t){var n=o(l);if(n){var r=i(e,t,n);r&&l.sortable("option",r)}},!0),i(h)}function _(){return(!c.uiSortable||!c.uiSortable.disabled)&&(a?t():y.info("ui.sortable: ngModel not provided!",l),l.sortable(h),_.cancelWatcher(),_.cancelWatcher=w.noop,!0)}w.extend(h,p,b,c.uiSortable),w.element.fn&&w.element.fn.jquery?(_.cancelWatcher=w.noop,_()||(_.cancelWatcher=c.$watch("uiSortable.disabled",_))):y.error("ui.sortable: jQuery should be included before AngularJS!")}}}])}(window,window.angular),function(){"use strict";angular.module("ui.tree",[]).constant("treeConfig",{treeClass:"angular-ui-tree",emptyTreeClass:"angular-ui-tree-empty",hiddenClass:"angular-ui-tree-hidden",nodesClass:"angular-ui-tree-nodes",nodeClass:"angular-ui-tree-node",handleClass:"angular-ui-tree-handle",placeholderClass:"angular-ui-tree-placeholder",dragClass:"angular-ui-tree-drag",dragThreshold:3,levelThreshold:30,defaultCollapsed:!1})}(),function(){"use strict";angular.module("ui.tree").controller("TreeHandleController",["$scope","$element",function(e,t){(this.scope=e).$element=t,e.$nodeScope=null,e.$type="uiTreeHandle"}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodeController",["$scope","$element",function(n,r){(this.scope=n).$element=r,n.$modelValue=null,n.$parentNodeScope=null,n.$childNodesScope=null,n.$parentNodesScope=null,n.$treeScope=null,n.$handleScope=null,n.$type="uiTreeNode",n.$$allowNodeDrop=!1,n.collapsed=!1,n.init=function(e){var t=e[0];n.$treeScope=e[1]?e[1].scope:null,n.$parentNodeScope=t.scope.$nodeScope,n.$modelValue=t.scope.$modelValue[n.$index],n.$parentNodesScope=t.scope,t.scope.initSubNode(n),r.on("$destroy",function(){t.scope.destroySubNode(n)})},n.index=function(){return n.$parentNodesScope.$modelValue.indexOf(n.$modelValue)},n.dragEnabled=function(){return!(n.$treeScope&&!n.$treeScope.dragEnabled)},n.isSibling=function(e){return n.$parentNodesScope==e.$parentNodesScope},n.isChild=function(e){var t=n.childNodes();return t&&-1<t.indexOf(e)},n.prev=function(){var e=n.index();return 0<e?n.siblings()[e-1]:null},n.siblings=function(){return n.$parentNodesScope.childNodes()},n.childNodesCount=function(){return n.childNodes()?n.childNodes().length:0},n.hasChild=function(){return 0<n.childNodesCount()},n.childNodes=function(){return n.$childNodesScope&&n.$childNodesScope.$modelValue?n.$childNodesScope.childNodes():null},n.accept=function(e,t){return n.$childNodesScope&&n.$childNodesScope.$modelValue&&n.$childNodesScope.accept(e,t)},n.remove=function(){return n.$parentNodesScope.removeNode(n)},n.toggle=function(){n.collapsed=!n.collapsed},n.collapse=function(){n.collapsed=!0},n.expand=function(){n.collapsed=!1},n.depth=function(){var e=n.$parentNodeScope;return e?e.depth()+1:1},n.maxSubDepth=function(){return n.$childNodesScope?function e(t){var n,r,i=0,a=t.childNodes();if(!a||0===a.length)return 0;for(r=a.length-1;0<=r;r--)n=1+e(a[r]),i=Math.max(i,n);return i}(n.$childNodesScope):0}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeNodesController",["$scope","$element",function(n,e){(this.scope=n).$element=e,n.$modelValue=null,n.$nodeScope=null,n.$treeScope=null,n.$type="uiTreeNodes",n.$nodesMap={},n.nodropEnabled=!1,n.maxDepth=0,n.cloneEnabled=!1,n.initSubNode=function(e){if(!e.$modelValue)return null;n.$nodesMap[e.$modelValue.$$hashKey]=e},n.destroySubNode=function(e){if(!e.$modelValue)return null;n.$nodesMap[e.$modelValue.$$hashKey]=null},n.accept=function(e,t){return n.$treeScope.$callbacks.accept(e,n,t)},n.beforeDrag=function(e){return n.$treeScope.$callbacks.beforeDrag(e)},n.isParent=function(e){return e.$parentNodesScope==n},n.hasChild=function(){return 0<n.$modelValue.length},n.safeApply=function(e){var t=this.$root.$$phase;"$apply"==t||"$digest"==t?e&&"function"==typeof e&&e():this.$apply(e)},n.removeNode=function(e){var t=n.$modelValue.indexOf(e.$modelValue);return-1<t?(n.safeApply(function(){n.$modelValue.splice(t,1)[0]}),n.$treeScope.$callbacks.removed(e)):null},n.insertNode=function(e,t){n.safeApply(function(){n.$modelValue.splice(e,0,t)})},n.childNodes=function(){var e,t=[];if(n.$modelValue)for(e=0;e<n.$modelValue.length;e++)t.push(n.$nodesMap[n.$modelValue[e].$$hashKey]);return t},n.depth=function(){return n.$nodeScope?n.$nodeScope.depth():0},n.outOfDepth=function(e){var t=n.maxDepth||n.$treeScope.maxDepth;return 0<t&&n.depth()+e.maxSubDepth()+1>t}}])}(),function(){"use strict";angular.module("ui.tree").controller("TreeController",["$scope","$element",function(t,e){(this.scope=t).$element=e,t.$nodesScope=null,t.$type="uiTree",t.$emptyElm=null,t.$callbacks=null,t.dragEnabled=!0,t.emptyPlaceholderEnabled=!0,t.maxDepth=0,t.dragDelay=0,t.cloneEnabled=!1,t.nodropEnabled=!1,t.isEmpty=function(){return t.$nodesScope&&t.$nodesScope.$modelValue&&0===t.$nodesScope.$modelValue.length},t.place=function(e){t.$nodesScope.$element.append(e),t.$emptyElm.remove()},this.resetEmptyElement=function(){t.$nodesScope.$modelValue&&0!==t.$nodesScope.$modelValue.length||!t.emptyPlaceholderEnabled?t.$emptyElm.remove():e.append(t.$emptyElm)},t.resetEmptyElement=this.resetEmptyElement}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTree",["treeConfig","$window",function(l,u){return{restrict:"A",scope:!0,controller:"TreeController",link:function(n,e,t,r){var i,a,o,s={accept:null,beforeDrag:null},c={};angular.extend(c,l),c.treeClass&&e.addClass(c.treeClass),"table"===e.prop("tagName").toLowerCase()?(n.$emptyElm=angular.element(u.document.createElement("tr")),o=0<(a=e.find("tr")).length?angular.element(a).children().length:1e6,i=angular.element(u.document.createElement("td")).attr("colspan",o),n.$emptyElm.append(i)):n.$emptyElm=angular.element(u.document.createElement("div")),c.emptyTreeClass&&n.$emptyElm.addClass(c.emptyTreeClass),n.$watch("$nodesScope.$modelValue.length",function(e){angular.isNumber(e)&&r.resetEmptyElement()},!0),n.$watch(t.dragEnabled,function(e){"boolean"==typeof e&&(n.dragEnabled=e)}),n.$watch(t.emptyPlaceholderEnabled,function(e){"boolean"==typeof e&&(n.emptyPlaceholderEnabled=e,r.resetEmptyElement())}),n.$watch(t.nodropEnabled,function(e){"boolean"==typeof e&&(n.nodropEnabled=e)}),n.$watch(t.cloneEnabled,function(e){"boolean"==typeof e&&(n.cloneEnabled=e)}),n.$watch(t.maxDepth,function(e){"number"==typeof e&&(n.maxDepth=e)}),n.$watch(t.dragDelay,function(e){"number"==typeof e&&(n.dragDelay=e)}),s.accept=function(e,t,n){return!(t.nodropEnabled||t.$treeScope.nodropEnabled||t.outOfDepth(e))},s.beforeDrag=function(e){return!0},s.removed=function(e){},s.dropped=function(e){},s.dragStart=function(e){},s.dragMove=function(e){},s.dragStop=function(e){},s.beforeDrop=function(e){},n.$watch(t.uiTree,function(e,t){angular.forEach(e,function(e,t){s[t]&&"function"==typeof e&&(s[t]=e)}),n.$callbacks=s},!0)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeHandle",["treeConfig",function(a){return{require:"^uiTreeNode",restrict:"A",scope:!0,controller:"TreeHandleController",link:function(e,t,n,r){var i={};angular.extend(i,a),i.handleClass&&t.addClass(i.handleClass),e!=r.scope&&(e.$nodeScope=r.scope,r.scope.$handleScope=e)}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNode",["treeConfig","UiTreeHelper","$window","$document","$timeout","$q","$rootElement",function(O,R,N,L,F,G,j){return{require:["^uiTreeNodes","^uiTree"],restrict:"A",controller:"TreeNodeController",link:function(g,f,t,e){var _,b,v,y,d,w,C,A,S,n,r,i,a,o,s,c,l,u,h,p,m,T,x,k,E,D={},I="ontouchstart"in window,P=null,M=document.body,$=document.documentElement;angular.extend(D,O),D.nodeClass&&f.addClass(D.nodeClass),g.init(e),g.collapsed=!!R.getNodeAttribute(g,"collapsed")||O.defaultCollapsed,g.sourceOnly=g.nodropEnabled||g.$treeScope.nodropEnabled,g.$watch(t.collapsed,function(e){"boolean"==typeof e&&(g.collapsed=e)}),g.$watch("collapsed",function(e){R.setNodeAttribute(g,"collapsed",e),t.$set("collapsed",e)}),g.$on("angular-ui-tree:collapse-all",function(){g.collapsed=!0}),g.$on("angular-ui-tree:expand-all",function(){g.collapsed=!1}),n=function(e){if((I||2!==e.button&&3!==e.which)&&!(e.uiTreeDragging||e.originalEvent&&e.originalEvent.uiTreeDragging)){var t,n,r,i,a,o,s,c,l,u=angular.element(e.target);if((t=R.treeNodeHandlerContainerOfElement(u))&&(u=angular.element(t)),n=f.clone(),c=R.elementIsTreeNode(u),l=R.elementIsTreeNodeHandle(u),(c||l)&&!(c&&R.elementContainsTreeNodeHandler(u)||"input"==(r=u.prop("tagName").toLowerCase())||"textarea"==r||"button"==r||"select"==r)){for(k=angular.element(e.target);k&&k[0]&&k[0]!==f;){if(R.nodrag(k))return;k=k.parent()}g.beforeDrag(g)&&(e.uiTreeDragging=!0,e.originalEvent&&(e.originalEvent.uiTreeDragging=!0),e.preventDefault(),a=R.eventObj(e),_=!0,b=R.dragInfo(g),"tr"===(i=f.prop("tagName")).toLowerCase()?(y=angular.element(N.document.createElement(i)),o=angular.element(N.document.createElement("td")).addClass(D.placeholderClass).attr("colspan",f[0].children.length),y.append(o)):y=angular.element(N.document.createElement(i)).addClass(D.placeholderClass),d=angular.element(N.document.createElement(i)),D.hiddenClass&&d.addClass(D.hiddenClass),v=R.positionStarted(a,f),y.css("height",R.height(f)+"px"),(w=angular.element(N.document.createElement(g.$parentNodesScope.$element.prop("tagName"))).addClass(g.$parentNodesScope.$element.attr("class")).addClass(D.dragClass)).css("width",R.width(f)+"px"),w.css("z-index",9999),(s=(f[0].querySelector(".angular-ui-tree-handle")||f[0]).currentStyle)&&(document.body.setAttribute("ui-tree-cursor",L.find("body").css("cursor")||""),L.find("body").css({cursor:s.cursor+"!important"})),g.sourceOnly&&y.css("display","none"),f.after(y),f.after(d),b.isClone()&&g.sourceOnly?w.append(n):w.append(f),j.append(w),w.css({left:a.pageX-v.offsetX+"px",top:a.pageY-v.offsetY+"px"}),C={placeholder:y,dragging:w},h(),g.$apply(function(){g.$treeScope.$callbacks.dragStart(b.eventArgs(C,v))}),A=Math.max(M.scrollHeight,M.offsetHeight,$.clientHeight,$.scrollHeight,$.offsetHeight),S=Math.max(M.scrollWidth,M.offsetWidth,$.clientWidth,$.scrollWidth,$.offsetWidth))}}},r=function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m=R.eventObj(e);if(w){if(e.preventDefault(),N.getSelection?N.getSelection().removeAllRanges():N.document.selection&&N.document.selection.empty(),(n=m.pageX-v.offsetX)<0&&(n=0),(r=m.pageY-v.offsetY)<0&&(r=0),A<r+10&&(r=A-10),S<n+10&&(n=S-10),w.css({left:n+"px",top:r+"px"}),(a=(i=window.pageYOffset||N.document.documentElement.scrollTop)+(window.innerHeight||N.document.clientHeight||N.document.clientHeight))<m.pageY&&a<=A&&window.scrollBy(0,10),i>m.pageY&&window.scrollBy(0,-10),R.positionMoved(e,v,_),_)return void(_=!1);if(R.offset(w).left-R.offset(y).left>=D.threshold,s=m.pageX-(N.pageXOffset||N.document.body.scrollLeft||N.document.documentElement.scrollLeft)-(N.document.documentElement.clientLeft||0),c=m.pageY-(N.pageYOffset||N.document.body.scrollTop||N.document.documentElement.scrollTop)-(N.document.documentElement.clientTop||0),angular.isFunction(w.hide)?w.hide():(l=w[0].style.display,w[0].style.display="none"),N.document.elementFromPoint(s,c),f=angular.element(N.document.elementFromPoint(s,c)),(x=R.treeNodeHandlerContainerOfElement(f))&&(f=angular.element(x)),angular.isFunction(w.show)?w.show():w[0].style.display=l,(T=!(R.elementIsTreeNodeHandle(f)||R.elementIsTreeNode(f)||R.elementIsTreeNodes(f)||R.elementIsTree(f)||R.elementIsPlaceholder(f)))&&(y.remove(),P&&(P.resetEmptyElement(),P=null)),v.dirAx&&v.distAxX>=D.levelThreshold&&((v.distAxX=0)<v.distX&&(t=b.prev())&&!t.collapsed&&t.accept(g,t.childNodesCount())&&(t.$childNodesScope.$element.append(y),b.moveTo(t.$childNodesScope,t.childNodes(),t.childNodesCount())),v.distX<0&&(b.next()||(o=b.parentNode())&&o.$parentNodesScope.accept(g,o.index()+1)&&(o.$element.after(y),b.moveTo(o.$parentNodesScope,o.siblings(),o.index()+1)))),!v.dirAx){if(R.elementIsTree(f)?u=f.controller("uiTree").scope:R.elementIsTreeNodeHandle(f)?u=f.controller("uiTreeHandle").scope:R.elementIsTreeNode(f)?u=f.controller("uiTreeNode").scope:R.elementIsTreeNodes(f)?u=f.controller("uiTreeNodes").scope:R.elementIsPlaceholder(f)?u=f.controller("uiTreeNodes").scope:f.controller("uiTreeNode")&&(u=f.controller("uiTreeNode").scope),d=!1,!u)return;if(!u.$treeScope||u.$parent.nodropEnabled||u.$treeScope.nodropEnabled||y.css("display",""),"uiTree"==u.$type&&u.dragEnabled&&(d=u.isEmpty()),"uiTreeHandle"==u.$type&&(u=u.$nodeScope),"uiTreeNode"!=u.$type&&!d)return;P&&y.parent()[0]!=P.$element[0]&&(P.resetEmptyElement(),P=null),d?(P=u).$nodesScope.accept(g,0)&&(u.place(y),b.moveTo(u.$nodesScope,u.$nodesScope.childNodes(),0)):u.dragEnabled()&&(f=u.$element,h=R.offset(f),p=u.horizontal?m.pageX<h.left+R.width(f)/2:m.pageY<h.top+R.height(f)/2,u.$parentNodesScope.accept(g,u.index())?p?(f[0].parentNode.insertBefore(y[0],f[0]),b.moveTo(u.$parentNodesScope,u.siblings(),u.index())):(f.after(y),b.moveTo(u.$parentNodesScope,u.siblings(),u.index()+1)):!p&&u.accept(g,u.childNodesCount())?(u.$childNodesScope.$element.append(y),b.moveTo(u.$childNodesScope,u.childNodes(),u.childNodesCount())):T=!0)}g.$apply(function(){g.$treeScope.$callbacks.dragMove(b.eventArgs(C,v))})}},i=function(e){var t=b.eventArgs(C,v);e.preventDefault(),p(),g.$treeScope.$apply(function(){G.when(g.$treeScope.$callbacks.beforeDrop(t)).then(function(e){!1!==e&&g.$$allowNodeDrop&&!T?(b.apply(),g.$treeScope.$callbacks.dropped(t)):u()}).catch(function(){u()}).finally(function(){d.replaceWith(g.$element),y.remove(),w&&(w.remove(),w=null),g.$treeScope.$callbacks.dragStop(t),g.$$allowNodeDrop=!1,b=null;var e=document.body.getAttribute("ui-tree-cursor");null!==e&&(L.find("body").css({cursor:e}),document.body.removeAttribute("ui-tree-cursor"))})})},a=function(e){g.dragEnabled()&&n(e)},o=function(e){r(e)},s=function(e){g.$$allowNodeDrop=!0,i(e)},c=function(e){i(e)},l={exec:function(e,t){t||(t=0),this.cancel(),E=F(e,t)},cancel:function(){F.cancel(E)}},(u=function(){f.bind("touchstart mousedown",function(e){l.exec(function(){a(e)},g.dragDelay||0)}),f.bind("touchend touchcancel mouseup",function(){l.cancel()})})(),h=function(){angular.element(L).bind("touchend",s),angular.element(L).bind("touchcancel",s),angular.element(L).bind("touchmove",o),angular.element(L).bind("mouseup",s),angular.element(L).bind("mousemove",o),angular.element(L).bind("mouseleave",c)},p=function(){angular.element(L).unbind("touchend",s),angular.element(L).unbind("touchcancel",s),angular.element(L).unbind("touchmove",o),angular.element(L).unbind("mouseup",s),angular.element(L).unbind("mousemove",o),angular.element(L).unbind("mouseleave",c)},m=function(e){27==e.keyCode&&(g.$$allowNodeDrop=!1,i(e))},angular.element(N.document).bind("keydown",m),g.$on("$destroy",function(){angular.element(N.document).unbind("keydown",m)})}}}])}(),function(){"use strict";angular.module("ui.tree").directive("uiTreeNodes",["treeConfig","$window",function(c){return{require:["ngModel","?^uiTreeNode","^uiTree"],restrict:"A",scope:!0,controller:"TreeNodesController",link:function(t,e,n,r){var i={},a=r[0],o=r[1],s=r[2];angular.extend(i,c),i.nodesClass&&e.addClass(i.nodesClass),o?(o.scope.$childNodesScope=t).$nodeScope=o.scope:s.scope.$nodesScope=t,t.$treeScope=s.scope,a&&(a.$render=function(){t.$modelValue=a.$modelValue}),t.$watch(function(){return n.maxDepth},function(e){"number"==typeof e&&(t.maxDepth=e)}),t.$watch(function(){return n.nodropEnabled},function(e){void 0!==e&&(t.nodropEnabled=!0)},!0),n.$observe("horizontal",function(e){t.horizontal=void 0!==e})}}}])}(),function(){"use strict";angular.module("ui.tree").factory("UiTreeHelper",["$document","$window","treeConfig",function(n,r,t){return{nodesData:{},setNodeAttribute:function(e,t,n){if(!e.$modelValue)return null;var r=this.nodesData[e.$modelValue.$$hashKey];r||(r={},this.nodesData[e.$modelValue.$$hashKey]=r),r[t]=n},getNodeAttribute:function(e,t){if(!e.$modelValue)return null;var n=this.nodesData[e.$modelValue.$$hashKey];return n?n[t]:null},nodrag:function(e){return void 0!==e.attr("data-nodrag")&&"false"!==e.attr("data-nodrag")},eventObj:function(e){var t=e;return void 0!==e.targetTouches?t=e.targetTouches.item(0):void 0!==e.originalEvent&&void 0!==e.originalEvent.targetTouches&&(t=e.originalEvent.targetTouches.item(0)),t},dragInfo:function(e){return{source:e,sourceInfo:{cloneModel:!0===e.$treeScope.cloneEnabled?angular.copy(e.$modelValue):void 0,nodeScope:e,index:e.index(),nodesScope:e.$parentNodesScope},index:e.index(),siblings:e.siblings().slice(0),parent:e.$parentNodesScope,moveTo:function(e,t,n){this.parent=e,this.siblings=t.slice(0);var r=this.siblings.indexOf(this.source);-1<r&&(this.siblings.splice(r,1),this.source.index()<n&&n--),this.siblings.splice(n,0,this.source),this.index=n},parentNode:function(){return this.parent.$nodeScope},prev:function(){return 0<this.index?this.siblings[this.index-1]:null},next:function(){return this.index<this.siblings.length-1?this.siblings[this.index+1]:null},isClone:function(){return!0===this.source.$treeScope.cloneEnabled},clonedNode:function(e){return angular.copy(e)},isDirty:function(){return this.source.$parentNodesScope!=this.parent||this.source.index()!=this.index},isForeign:function(){return this.source.$treeScope!==this.parent.$treeScope},eventArgs:function(e,t){return{source:this.sourceInfo,dest:{index:this.index,nodesScope:this.parent},elements:e,pos:t}},apply:function(){var e=this.source.$modelValue;this.parent.nodropEnabled||this.parent.$treeScope.nodropEnabled||this.isDirty()&&(this.isClone()&&this.isForeign()?this.parent.insertNode(this.index,this.sourceInfo.cloneModel):(this.source.remove(),this.parent.insertNode(this.index,e)))}}},height:function(e){return e.prop("scrollHeight")},width:function(e){return e.prop("scrollWidth")},offset:function(e){var t=e[0].getBoundingClientRect();return{width:e.prop("offsetWidth"),height:e.prop("offsetHeight"),top:t.top+(r.pageYOffset||n[0].body.scrollTop||n[0].documentElement.scrollTop),left:t.left+(r.pageXOffset||n[0].body.scrollLeft||n[0].documentElement.scrollLeft)}},positionStarted:function(e,t){var n={},r=e.pageX,i=e.pageY;return e.originalEvent&&e.originalEvent.touches&&0<e.originalEvent.touches.length&&(r=e.originalEvent.touches[0].pageX,i=e.originalEvent.touches[0].pageY),n.offsetX=r-this.offset(t).left,n.offsetY=i-this.offset(t).top,n.startX=n.lastX=r,n.startY=n.lastY=i,n.nowX=n.nowY=n.distX=n.distY=n.dirAx=0,n.dirX=n.dirY=n.lastDirX=n.lastDirY=n.distAxX=n.distAxY=0,n},positionMoved:function(e,t,n){var r,i=e.pageX,a=e.pageY;if(e.originalEvent&&e.originalEvent.touches&&0<e.originalEvent.touches.length&&(i=e.originalEvent.touches[0].pageX,a=e.originalEvent.touches[0].pageY),t.lastX=t.nowX,t.lastY=t.nowY,t.nowX=i,t.nowY=a,t.distX=t.nowX-t.lastX,t.distY=t.nowY-t.lastY,t.lastDirX=t.dirX,t.lastDirY=t.dirY,t.dirX=0===t.distX?0:0<t.distX?1:-1,t.dirY=0===t.distY?0:0<t.distY?1:-1,r=Math.abs(t.distX)>Math.abs(t.distY)?1:0,n)return t.dirAx=r,void(t.moving=!0);t.dirAx!==r?(t.distAxX=0,t.distAxY=0):(t.distAxX+=Math.abs(t.distX),0!==t.dirX&&t.dirX!==t.lastDirX&&(t.distAxX=0),t.distAxY+=Math.abs(t.distY),0!==t.dirY&&t.dirY!==t.lastDirY&&(t.distAxY=0)),t.dirAx=r},elementIsTreeNode:function(e){return void 0!==e.attr("ui-tree-node")},elementIsTreeNodeHandle:function(e){return void 0!==e.attr("ui-tree-handle")},elementIsTree:function(e){return void 0!==e.attr("ui-tree")},elementIsTreeNodes:function(e){return void 0!==e.attr("ui-tree-nodes")},elementIsPlaceholder:function(e){return e.hasClass(t.placeholderClass)},elementContainsTreeNodeHandler:function(e){return 1<=e[0].querySelectorAll("[ui-tree-handle]").length},treeNodeHandlerContainerOfElement:function(e){return function(e,t){if(void 0===t)return null;var n=t.parentNode,r="function"==typeof n.setAttribute&&n.hasAttribute(e)?n:null;for(;n&&"function"==typeof n.setAttribute&&!n.hasAttribute(e);){if(n=n.parentNode,(r=n)===document.documentElement){r=null;break}0}return r}("ui-tree-handle",e[0])}}}])}(),function(){var _=window.ResizeSensor;"undefined"!=typeof module&&void 0!==module.exports&&(_=require("./ResizeSensor"));var t=this.ElementQueries=function(){var d=!1,h=[];function a(e){e||(e=document.documentElement);var t=getComputedStyle(e,"fontSize");return parseFloat(t)||16}function f(e,t){var n=t.replace(/[0-9]*/,"");switch(t=parseFloat(t),n){case"px":return t;case"em":return t*a(e);case"rem":return t*a();case"vw":return t*document.documentElement.clientWidth/100;case"vh":return t*document.documentElement.clientHeight/100;case"vmin":case"vmax":var r=document.documentElement.clientWidth/100,i=document.documentElement.clientHeight/100;return t*(0,Math["vmin"===n?"min":"max"])(r,i);default:return t}}function n(e){this.element=e,this.options={};var t,n,r,i,a,o,s,c=0,l=0;this.addOption=function(e){var t=[e.mode,e.property,e.value].join(",");this.options[t]=e};var u=["min-width","min-height","max-width","max-height"];this.call=function(){for(t in c=this.element.offsetWidth,l=this.element.offsetHeight,a={},this.options)this.options.hasOwnProperty(t)&&(n=this.options[t],r=f(this.element,n.value),i="width"==n.property?c:l,s=n.mode+"-"+n.property,o="","min"==n.mode&&r<=i&&(o+=n.value),"max"==n.mode&&i<=r&&(o+=n.value),a[s]||(a[s]=""),o&&-1===(" "+a[s]+" ").indexOf(" "+o+" ")&&(a[s]+=" "+o));for(var e in u)u.hasOwnProperty(e)&&(a[u[e]]?this.element.setAttribute(u[e],a[u[e]].substr(1)):this.element.removeAttribute(u[e]))}}function s(e,t){e.elementQueriesSetupInformation?e.elementQueriesSetupInformation.addOption(t):(e.elementQueriesSetupInformation=new n(e),e.elementQueriesSetupInformation.addOption(t),e.elementQueriesSensor=new _(e,function(){e.elementQueriesSetupInformation.call()})),e.elementQueriesSetupInformation.call(),d&&h.indexOf(e)<0&&h.push(e)}var c={};function l(){var e;if(document.querySelectorAll&&(e=document.querySelectorAll.bind(document)),e||"undefined"==typeof $$||(e=$$),e||"undefined"==typeof jQuery||(e=jQuery),!e)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return e}function i(r){var i=[],a=[],o=[],s=0,c=-1,l=[];for(var e in r.children)if(r.children.hasOwnProperty(e)&&r.children[e].tagName&&"img"===r.children[e].tagName.toLowerCase()){i.push(r.children[e]);var t=r.children[e].getAttribute("min-width")||r.children[e].getAttribute("data-min-width"),n=r.children[e].getAttribute("data-src")||r.children[e].getAttribute("url");o.push(n);var u={minWidth:t};a.push(u),t?r.children[e].style.display="none":(s=i.length-1,r.children[e].style.display="block")}function f(){var e,t=!1;for(e in i)i.hasOwnProperty(e)&&a[e].minWidth&&r.offsetWidth>a[e].minWidth&&(t=e);if(t||(t=s),c!=t)if(l[t])i[c].style.display="none",i[t].style.display="block",c=t;else{var n=new Image;n.onload=function(){i[t].src=o[t],i[c].style.display="none",i[t].style.display="block",l[t]=!0,c=t},n.src=o[t]}else i[t].src=o[t]}c=s,r.resizeSensor=new _(r,f),f(),d&&h.push(r)}var u=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,p=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function o(e){var t,n,r,i,a,o;for(e=e.replace(/'/g,'"');null!==(t=u.exec(e));)for(n=t[1]+t[3],attrs=t[2];null!==(attrMatch=p.exec(attrs));)r=n,i=attrMatch[1],a=attrMatch[2],o=attrMatch[3],void 0===c[i]&&(c[i]={}),void 0===c[i][a]&&(c[i][a]={}),void 0===c[i][a][o]?c[i][a][o]=r:c[i][a][o]+=","+r}function m(e){var t="";if(e)if("string"==typeof e)-1===(e=e.toLowerCase()).indexOf("min-width")&&-1===e.indexOf("max-width")||o(e);else for(var n=0,r=e.length;n<r;n++)1===e[n].type?-1!==(t=e[n].selectorText||e[n].cssText).indexOf("min-height")||-1!==t.indexOf("max-height")?o(t):-1===t.indexOf("min-width")&&-1===t.indexOf("max-width")||o(t):4===e[n].type&&m(e[n].cssRules||e[n].rules)}var g=!1;this.init=function(e){d=void 0!==e&&e;for(var t=0,n=document.styleSheets.length;t<n;t++)try{m(document.styleSheets[t].cssRules||document.styleSheets[t].rules||document.styleSheets[t].cssText)}catch(e){if("SecurityError"!==e.name)throw e}if(!g){var r=document.createElement("style");r.type="text/css",r.innerHTML="[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img { width: 100%;}",document.getElementsByTagName("head")[0].appendChild(r),g=!0}!function(){var e=l();for(var t in c)if(c.hasOwnProperty(t))for(var n in c[t])if(c[t].hasOwnProperty(n))for(var r in c[t][n])if(c[t][n].hasOwnProperty(r))for(var i=e(c[t][n][r]),a=0,o=i.length;a<o;a++)s(i[a],{mode:t,property:n,value:r})}(),function(){for(var e=l()("[data-responsive-image],[responsive-image]"),t=0,n=e.length;t<n;t++)i(e[t])}()},this.update=function(e){this.init(e)},this.detach=function(){if(!this.withTracking)throw"withTracking is not enabled. We can not detach elements since we don not store it.Use ElementQueries.withTracking = true; before domready or call ElementQueryes.update(true).";for(var e;e=h.pop();)t.detach(e);h=[]}};t.update=function(e){t.instance.update(e)},t.detach=function(e){e.elementQueriesSetupInformation?(e.elementQueriesSensor.detach(),delete e.elementQueriesSetupInformation,delete e.elementQueriesSensor):e.resizeSensor&&(e.resizeSensor.detach(),delete e.resizeSensor)},t.withTracking=!1,t.init=function(){t.instance||(t.instance=new t),t.instance.init(t.withTracking)};t.listen=function(){!function(e){if(document.addEventListener)document.addEventListener("DOMContentLoaded",e,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var t=setInterval(function(){/loaded|complete/i.test(document.readyState)&&(e(),clearInterval(t))},10);else window.onload=e}(t.init)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=t:(window.ElementQueries=t).listen()}(),function(){var s=function(n,e){function p(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e<t;e++)this.q[e].call()}}function t(e,t){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(t)}else e.resizedAttached=new p,e.resizedAttached.add(t);e.resizeSensor=document.createElement("div"),e.resizeSensor.className="resize-sensor";var n,r,i="position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;",a="position: absolute; left: 0; top: 0; transition: 0s;";e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML='<div class="resize-sensor-expand" style="'+i+'"><div style="'+a+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="'+a+' width: 200%; height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[(n=e,r="position",n.currentStyle?n.currentStyle[r]:window.getComputedStyle?window.getComputedStyle(n,null).getPropertyValue(r):n.style[r])]||(e.style.position="relative");var o,s,c=e.resizeSensor.childNodes[0],l=c.childNodes[0],u=e.resizeSensor.childNodes[1],f=(u.childNodes[0],function(){l.style.width=c.offsetWidth+10+"px",l.style.height=c.offsetHeight+10+"px",c.scrollLeft=c.scrollWidth,c.scrollTop=c.scrollHeight,u.scrollLeft=u.scrollWidth,u.scrollTop=u.scrollHeight,o=e.offsetWidth,s=e.offsetHeight});f();var d=function(e,t,n){e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener(t,n)},h=function(){e.offsetWidth==o&&e.offsetHeight==s||e.resizedAttached&&e.resizedAttached.call(),f()};d(c,"scroll",h),d(u,"scroll",h)}var r=Object.prototype.toString.call(n),i="[object Array]"===r||"[object NodeList]"===r||"[object HTMLCollection]"===r||"undefined"!=typeof jQuery&&n instanceof jQuery||"undefined"!=typeof Elements&&n instanceof Elements;if(i)for(var a=0,o=n.length;a<o;a++)t(n[a],e);else t(n,e);this.detach=function(){if(i)for(var e=0,t=n.length;e<t;e++)s.detach(n[e]);else s.detach(n)}};s.detach=function(e){e.resizeSensor&&(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},"undefined"!=typeof module&&void 0!==module.exports?module.exports=s:window.ResizeSensor=s}(),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e||(e=window),t&&t.fn.dataTable||(t=require("datatables.net")(e,t).$),n(t,e,e.document)}:n(jQuery,window,document)}(function(p,d,o,h){"use strict";var a=p.fn.dataTable,i=function(e,t){if(!a.versionCheck||!a.versionCheck("1.10.3"))throw"DataTables Responsive requires DataTables 1.10.3 or newer";this.s={dt:new a.Api(e),columns:[],current:[]},this.s.dt.settings()[0].responsive||(t&&"string"==typeof t.details?t.details={type:t.details}:t&&!1===t.details?t.details={type:!1}:t&&!0===t.details&&(t.details={type:"inline"}),this.c=p.extend(!0,{},i.defaults,a.defaults.responsive,t),(e.responsive=this)._constructor())};p.extend(i.prototype,{_constructor:function(){var i=this,r=this.s.dt,e=r.settings()[0],t=p(d).width();r.settings()[0]._responsive=this,p(d).on("resize.dtr orientationchange.dtr",a.util.throttle(function(){var e=p(d).width();e!==t&&(i._resize(),t=e)})),e.oApi._fnCallbackReg(e,"aoRowCreatedCallback",function(e,t,n){-1!==p.inArray(!1,i.s.current)&&p("td, th",e).each(function(e){var t=r.column.index("toData",e);!1===i.s.current[t]&&p(this).css("display","none")})}),r.on("destroy.dtr",function(){r.off(".dtr"),p(r.table().body()).off(".dtr"),p(d).off("resize.dtr orientationchange.dtr"),p.each(i.s.current,function(e,t){!1===t&&i._setColumnVis(e,!0)})}),this.c.breakpoints.sort(function(e,t){return e.width<t.width?1:e.width>t.width?-1:0}),this._classLogic(),this._resizeAuto();var n=this.c.details;!1!==n.type&&(i._detailsInit(),r.on("column-visibility.dtr",function(e,t,n,r){i._classLogic(),i._resizeAuto(),i._resize()}),r.on("draw.dtr",function(){i._redrawChildren()}),p(r.table().node()).addClass("dtr-"+n.type)),r.on("column-reorder.dtr",function(e,t,n){i._classLogic(),i._resizeAuto(),i._resize()}),r.on("column-sizing.dtr",function(){i._resizeAuto(),i._resize()}),r.on("init.dtr",function(e,t,n){i._resizeAuto(),i._resize(),p.inArray(!1,i.s.current)&&r.columns.adjust()}),this._resize()},_columnsVisiblity:function(t){var e,n,r=this.s.dt,i=this.s.columns,a=i.map(function(e,t){return{columnIdx:t,priority:e.priority}}).sort(function(e,t){return e.priority!==t.priority?e.priority-t.priority:e.columnIdx-t.columnIdx}),o=p.map(i,function(e){return(!e.auto||null!==e.minWidth)&&(!0===e.auto?"-":-1!==p.inArray(t,e.includeIn))}),s=0;for(e=0,n=o.length;e<n;e++)!0===o[e]&&(s+=i[e].minWidth);var c=r.settings()[0].oScroll,l=c.sY||c.sX?c.iBarWidth:0,u=r.table().container().offsetWidth-l-s;for(e=0,n=o.length;e<n;e++)i[e].control&&(u-=i[e].minWidth);var f=!1;for(e=0,n=a.length;e<n;e++){var d=a[e].columnIdx;"-"===o[d]&&!i[d].control&&i[d].minWidth&&(f||u-i[d].minWidth<0?(f=!0,o[d]=!1):o[d]=!0,u-=i[d].minWidth)}var h=!1;for(e=0,n=i.length;e<n;e++)if(!i[e].control&&!i[e].never&&!o[e]){h=!0;break}for(e=0,n=i.length;e<n;e++)i[e].control&&(o[e]=h);return-1===p.inArray(!0,o)&&(o[0]=!0),o},_classLogic:function(){var s=this,c=this.c.breakpoints,a=this.s.dt,l=a.columns().eq(0).map(function(e){var t=this.column(e),n=t.header().className,r=a.settings()[0].aoColumns[e].responsivePriority;if(r===h){var i=p(t.header()).data("priority");r=i!==h?1*i:1e4}return{className:n,includeIn:[],auto:!1,control:!1,never:!!n.match(/\bnever\b/),priority:r}}),u=function(e,t){var n=l[e].includeIn;-1===p.inArray(t,n)&&n.push(t)},f=function(e,t,n,r){var i,a,o;if(n){if("max-"===n)for(i=s._find(t).width,a=0,o=c.length;a<o;a++)c[a].width<=i&&u(e,c[a].name);else if("min-"===n)for(i=s._find(t).width,a=0,o=c.length;a<o;a++)c[a].width>=i&&u(e,c[a].name);else if("not-"===n)for(a=0,o=c.length;a<o;a++)-1===c[a].name.indexOf(r)&&u(e,c[a].name)}else l[e].includeIn.push(t)};l.each(function(e,a){for(var t=e.className.split(" "),o=!1,n=0,r=t.length;n<r;n++){var s=p.trim(t[n]);if("all"===s)return o=!0,void(e.includeIn=p.map(c,function(e){return e.name}));if("none"===s||e.never)return void(o=!0);if("control"===s)return o=!0,void(e.control=!0);p.each(c,function(e,t){var n=t.name.split("-"),r=new RegExp("(min\\-|max\\-|not\\-)?("+n[0]+")(\\-[_a-zA-Z0-9])?"),i=s.match(r);i&&(o=!0,i[2]===n[0]&&i[3]==="-"+n[1]?f(a,t.name,i[1],i[2]+i[3]):i[2]!==n[0]||i[3]||f(a,t.name,i[1],i[2]))})}o||(e.auto=!0)}),this.s.columns=l},_detailsDisplay:function(e,t){var n=this,r=this.s.dt,i=this.c.details;if(i&&!1!==i.type){var a=i.display(e,t,function(){return i.renderer(r,e[0],n._detailsObj(e[0]))});!0!==a&&!1!==a||p(r.table().node()).triggerHandler("responsive-display.dt",[r,e,a,t])}},_detailsInit:function(){var r=this,i=this.s.dt,e=this.c.details;"inline"===e.type&&(e.target="td:first-child, th:first-child"),i.on("draw.dtr",function(){r._tabIndexes()}),r._tabIndexes(),p(i.table().body()).on("keyup.dtr","td, th",function(e){13===e.keyCode&&p(this).data("dtr-keyboard")&&p(this).click()});var a=e.target,t="string"==typeof a?a:"td, th";p(i.table().body()).on("click.dtr mousedown.dtr mouseup.dtr",t,function(e){if(p(i.table().node()).hasClass("collapsed")&&i.row(p(this).closest("tr")).length){if("number"==typeof a){var t=a<0?i.columns().eq(0).length+a:a;if(i.cell(this).index().column!==t)return}var n=i.row(p(this).closest("tr"));"click"===e.type?r._detailsDisplay(n,!1):"mousedown"===e.type?p(this).css("outline","none"):"mouseup"===e.type&&p(this).blur().css("outline","")}})},_detailsObj:function(n){var r=this,i=this.s.dt;return p.map(this.s.columns,function(e,t){if(!e.never&&!e.control)return{title:i.settings()[0].aoColumns[t].sTitle,data:i.cell(n,t).render(r.c.orthogonal),hidden:i.column(t).visible()&&!r.s.current[t],columnIndex:t,rowIndex:n}})},_find:function(e){for(var t=this.c.breakpoints,n=0,r=t.length;n<r;n++)if(t[n].name===e)return t[n]},_redrawChildren:function(){var n=this,r=this.s.dt;r.rows({page:"current"}).iterator("row",function(e,t){r.row(t);n._detailsDisplay(r.row(t),!0)})},_resize:function(){var e,t,n=this,r=this.s.dt,i=p(d).width(),a=this.c.breakpoints,o=a[0].name,s=this.s.columns,c=this.s.current.slice();for(e=a.length-1;0<=e;e--)if(i<=a[e].width){o=a[e].name;break}var l=this._columnsVisiblity(o);this.s.current=l;var u=!1;for(e=0,t=s.length;e<t;e++)if(!1===l[e]&&!s[e].never&&!s[e].control){u=!0;break}p(r.table().node()).toggleClass("collapsed",u);var f=!1;r.columns().eq(0).each(function(e,t){l[t]!==c[t]&&(f=!0,n._setColumnVis(e,l[t]))}),f&&(this._redrawChildren(),p(r.table().node()).trigger("responsive-resize.dt",[r,this.s.current]))},_resizeAuto:function(){var n=this.s.dt,r=this.s.columns;if(this.c.auto&&-1!==p.inArray(!0,p.map(r,function(e){return e.auto}))){n.table().node().offsetWidth,n.columns;var e=n.table().node().cloneNode(!1),t=p(n.table().header().cloneNode(!1)).appendTo(e),i=p(n.table().body()).clone(!1,!1).empty().appendTo(e),a=n.columns().header().filter(function(e){return n.column(e).visible()}).to$().clone(!1).css("display","table-cell");p(i).append(p(n.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display","");var o=n.table().footer();if(o){var s=p(o.cloneNode(!1)).appendTo(e),c=n.columns().footer().filter(function(e){return n.column(e).visible()}).to$().clone(!1).css("display","table-cell");p("<tr/>").append(c).appendTo(s)}p("<tr/>").append(a).appendTo(t),"inline"===this.c.details.type&&p(e).addClass("dtr-inline collapsed"),p(e).find("[name]").removeAttr("name");var l=p("<div/>").css({width:1,height:1,overflow:"hidden"}).append(e);l.insertBefore(n.table().node()),a.each(function(e){var t=n.column.index("fromVisible",e);r[t].minWidth=this.offsetWidth||0}),l.remove()}},_setColumnVis:function(e,t){var n=this.s.dt,r=t?"":"none";p(n.column(e).header()).css("display",r),p(n.column(e).footer()).css("display",r),n.column(e).nodes().to$().css("display",r)},_tabIndexes:function(){var e=this.s.dt,t=e.cells({page:"current"}).nodes().to$(),n=e.settings()[0],r=this.c.details.target;t.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),p("number"==typeof r?":eq("+r+")":r,e.rows({page:"current"}).nodes()).attr("tabIndex",n.iTabIndex).data("dtr-keyboard",1)}}),i.breakpoints=[{name:"desktop",width:1/0},{name:"tablet-l",width:1024},{name:"tablet-p",width:768},{name:"mobile-l",width:480},{name:"mobile-p",width:320}],i.display={childRow:function(e,t,n){return t?p(e.node()).hasClass("parent")?(e.child(n(),"child").show(),!0):void 0:e.child.isShown()?(e.child(!1),p(e.node()).removeClass("parent"),!1):(e.child(n(),"child").show(),p(e.node()).addClass("parent"),!0)},childRowImmediate:function(e,t,n){return!t&&e.child.isShown()||!e.responsive.hasHidden()?(e.child(!1),p(e.node()).removeClass("parent"),!1):(e.child(n(),"child").show(),p(e.node()).addClass("parent"),!0)},modal:function(a){return function(e,t,n){if(t)p("div.dtr-modal-content").empty().append(n());else{var r=function(){i.remove(),p(o).off("keypress.dtr")},i=p('<div class="dtr-modal"/>').append(p('<div class="dtr-modal-display"/>').append(p('<div class="dtr-modal-content"/>').append(n())).append(p('<div class="dtr-modal-close">×</div>').click(function(){r()}))).append(p('<div class="dtr-modal-background"/>').click(function(){r()})).appendTo("body");p(o).on("keyup.dtr",function(e){27===e.keyCode&&(e.stopPropagation(),r())})}a&&a.header&&p("div.dtr-modal-content").prepend("<h2>"+a.header(e)+"</h2>")}}},i.renderer={listHidden:function(){return function(e,t,n){var r=p.map(n,function(e){return e.hidden?'<li data-dtr-index="'+e.columnIndex+'" data-dt-row="'+e.rowIndex+'" data-dt-column="'+e.columnIndex+'"><span class="dtr-title">'+e.title+'</span> <span class="dtr-data">'+e.data+"</span></li>":""}).join("");return!!r&&p('<ul data-dtr-index="'+t+'"/>').append(r)}},tableAll:function(i){return i=p.extend({tableClass:""},i),function(e,t,n){var r=p.map(n,function(e){return'<tr data-dt-row="'+e.rowIndex+'" data-dt-column="'+e.columnIndex+'"><td>'+e.title+":</td> <td>"+e.data+"</td></tr>"}).join("");return p('<table class="'+i.tableClass+'" width="100%"/>').append(r)}}},i.defaults={breakpoints:i.breakpoints,auto:!0,details:{display:i.display.childRow,renderer:i.renderer.listHidden(),target:0,type:"inline"},orthogonal:"display"};var e=p.fn.dataTable.Api;return e.register("responsive()",function(){return this}),e.register("responsive.index()",function(e){return{column:(e=p(e)).data("dtr-index"),row:e.parent().data("dtr-index")}}),e.register("responsive.rebuild()",function(){return this.iterator("table",function(e){e._responsive&&e._responsive._classLogic()})}),e.register("responsive.recalc()",function(){return this.iterator("table",function(e){e._responsive&&(e._responsive._resizeAuto(),e._responsive._resize())})}),e.register("responsive.hasHidden()",function(){var e=this.context[0];return!!e._responsive&&-1!==p.inArray(!1,e._responsive.s.current)}),i.version="2.1.0",p.fn.dataTable.Responsive=i,p.fn.DataTable.Responsive=i,p(o).on("preInit.dt.dtr",function(e,t,n){if("dt"===e.namespace&&(p(t.nTable).hasClass("responsive")||p(t.nTable).hasClass("dt-responsive")||t.oInit.responsive||a.defaults.responsive)){var r=t.oInit.responsive;!1!==r&&new i(t,p.isPlainObject(r)?r:{})}}),i}),function(e){"undefined"!=typeof exports?e(exports):(window.hljs=e({}),"function"==typeof define&&define.amd&&define("hljs",[],function(){return window.hljs}))}(function(i){function b(e){return e.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function d(e){return e.nodeName.toLowerCase()}function v(e,t){var n=e&&e.exec(t);return n&&0==n.index}function h(e){return/^(no-?highlight|plain|text)$/i.test(e)}function y(e,t){var n,r={};for(n in e)r[n]=e[n];if(t)for(n in t)r[n]=t[n];return r}function p(e){var i=[];return function e(t,n){for(var r=t.firstChild;r;r=r.nextSibling)3==r.nodeType?n+=r.nodeValue.length:1==r.nodeType&&(i.push({event:"start",offset:n,node:r}),n=e(r,n),d(r).match(/br|hr|img|input/)||i.push({event:"stop",offset:n,node:r}));return n}(e,0),i}function w(e,t,s,n){function c(e,t,n,r){var i='<span class="'+(r?"":A.classPrefix);return(i+=e+'">')+t+(n?"":"</span>")}function l(){return void 0!==d.subLanguage?function(){var e="string"==typeof d.subLanguage;if(e&&!S[d.subLanguage])return b(p);var t=e?w(d.subLanguage,p,!0,a[d.subLanguage]):C(p,d.subLanguage.length?d.subLanguage:void 0);return 0<d.relevance&&(m+=t.relevance),e&&(a[d.subLanguage]=t.top),c(t.language,t.value,!1,!0)}():function(){if(!d.keywords)return b(p);var e="",t=0;d.lexemesRe.lastIndex=0;for(var n,r,i,a=d.lexemesRe.exec(p);a;){e+=b(p.substr(t,a.index-t));var o=(n=d,r=a,i=f.case_insensitive?r[0].toLowerCase():r[0],n.keywords.hasOwnProperty(i)&&n.keywords[i]);o?(m+=o[1],e+=c(o[0],b(a[0]))):e+=b(a[0]),t=d.lexemesRe.lastIndex,a=d.lexemesRe.exec(p)}return e+b(p.substr(t))}()}function u(e,t){var n=e.className?c(e.className,"",!0):"";p=e.returnBegin?(h+=n,""):e.excludeBegin?(h+=b(t)+n,""):(h+=n,t),d=Object.create(e,{parent:{value:d}})}function r(e,t){if(p+=e,void 0===t)return h+=l(),0;var n=function(e,t){for(var n=0;n<t.contains.length;n++)if(v(t.contains[n].beginRe,e))return t.contains[n]}(t,d);if(n)return h+=l(),u(n,t),n.returnBegin?0:t.length;var r,i,a=function e(t,n){if(v(t.endRe,n)){for(;t.endsParent&&t.parent;)t=t.parent;return t}if(t.endsWithParent)return e(t.parent,n)}(d,t);if(a){var o=d;for(o.returnEnd||o.excludeEnd||(p+=t),h+=l();d.className&&(h+="</span>"),m+=d.relevance,(d=d.parent)!=a.parent;);return o.excludeEnd&&(h+=b(t)),p="",a.starts&&u(a.starts,""),o.returnEnd?0:t.length}if(r=t,i=d,!s&&v(i.illegalRe,r))throw new Error('Illegal lexeme "'+t+'" for mode "'+(d.className||"<unnamed>")+'"');return p+=t,t.length||1}var f=T(e);if(!f)throw new Error('Unknown language: "'+e+'"');!function(s){function c(e){return e&&e.source||e}function l(e,t){return new RegExp(c(e),"m"+(s.case_insensitive?"i":"")+(t?"g":""))}!function t(n,e){if(!n.compiled){if(n.compiled=!0,n.keywords=n.keywords||n.beginKeywords,n.keywords){var r={},i=function(n,e){s.case_insensitive&&(e=e.toLowerCase()),e.split(" ").forEach(function(e){var t=e.split("|");r[t[0]]=[n,t[1]?Number(t[1]):1]})};"string"==typeof n.keywords?i("keyword",n.keywords):Object.keys(n.keywords).forEach(function(e){i(e,n.keywords[e])}),n.keywords=r}n.lexemesRe=l(n.lexemes||/\b\w+\b/,!0),e&&(n.beginKeywords&&(n.begin="\\b("+n.beginKeywords.split(" ").join("|")+")\\b"),n.begin||(n.begin=/\B|\b/),n.beginRe=l(n.begin),n.end||n.endsWithParent||(n.end=/\B|\b/),n.end&&(n.endRe=l(n.end)),n.terminator_end=c(n.end)||"",n.endsWithParent&&e.terminator_end&&(n.terminator_end+=(n.end?"|":"")+e.terminator_end)),n.illegal&&(n.illegalRe=l(n.illegal)),void 0===n.relevance&&(n.relevance=1),n.contains||(n.contains=[]);var a=[];n.contains.forEach(function(t){t.variants?t.variants.forEach(function(e){a.push(y(t,e))}):a.push("self"==t?n:t)}),n.contains=a,n.contains.forEach(function(e){t(e,n)}),n.starts&&t(n.starts,e);var o=n.contains.map(function(e){return e.beginKeywords?"\\.?("+e.begin+")\\.?":e.begin}).concat([n.terminator_end,n.illegal]).map(c).filter(Boolean);n.terminators=o.length?l(o.join("|"),!0):{exec:function(){return null}}}}(s)}(f);var i,d=n||f,a={},h="";for(i=d;i!=f;i=i.parent)i.className&&(h=c(i.className,"",!0)+h);var p="",m=0;try{for(var o,g,_=0;d.terminators.lastIndex=_,o=d.terminators.exec(t);)g=r(t.substr(_,o.index-_),o[0]),_=o.index+g;for(r(t.substr(_)),i=d;i.parent;i=i.parent)i.className&&(h+="</span>");return{relevance:m,value:h,language:e,top:d}}catch(e){if(-1!=e.message.indexOf("Illegal"))return{relevance:0,value:b(t)};throw e}}function C(n,e){e=e||A.languages||Object.keys(S);var r={relevance:0,value:b(n)},i=r;return e.forEach(function(e){if(T(e)){var t=w(e,n,!1);t.language=e,t.relevance>i.relevance&&(i=t),t.relevance>r.relevance&&(i=r,r=t)}}),i.language&&(r.second_best=i),r}function m(e){return A.tabReplace&&(e=e.replace(/^((<[^>]+>|\t)+)/gm,function(e,t){return t.replace(/\t/g,A.tabReplace)})),A.useBR&&(e=e.replace(/\n/g,"<br>")),e}function t(e){var t=function(e){var t,n,r,i=e.className+" ";if(i+=e.parentNode?e.parentNode.className:"",n=/\blang(?:uage)?-([\w-]+)\b/i.exec(i))return T(n[1])?n[1]:"no-highlight";for(t=0,r=(i=i.split(/\s+/)).length;t<r;t++)if(T(i[t])||h(i[t]))return i[t]}(e);if(!h(t)){var n;A.useBR?(n=document.createElementNS("http://www.w3.org/1999/xhtml","div")).innerHTML=e.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n"):n=e;var r,i,a,o,s,c=n.textContent,l=t?w(t,c,!0):C(c),u=p(n);if(u.length){var f=document.createElementNS("http://www.w3.org/1999/xhtml","div");f.innerHTML=l.value,l.value=function(e,t,n){var r=0,i="",a=[];function o(){return e.length&&t.length?e[0].offset!=t[0].offset?e[0].offset<t[0].offset?e:t:"start"==t[0].event?e:t:e.length?e:t}function s(e){i+="<"+d(e)+Array.prototype.map.call(e.attributes,function(e){return" "+e.nodeName+'="'+b(e.value)+'"'}).join("")+">"}function c(e){i+="</"+d(e)+">"}function l(e){("start"==e.event?s:c)(e.node)}for(;e.length||t.length;){var u=o();if(i+=b(n.substr(r,u[0].offset-r)),r=u[0].offset,u==e){for(a.reverse().forEach(c);l(u.splice(0,1)[0]),(u=o())==e&&u.length&&u[0].offset==r;);a.reverse().forEach(s)}else"start"==u[0].event?a.push(u[0].node):a.pop(),l(u.splice(0,1)[0])}return i+b(n.substr(r))}(u,p(f),c)}l.value=m(l.value),e.innerHTML=l.value,e.className=(r=e.className,i=t,a=l.language,o=i?g[i]:a,s=[r.trim()],r.match(/\bhljs\b/)||s.push("hljs"),-1===r.indexOf(o)&&s.push(o),s.join(" ").trim()),e.result={language:l.language,re:l.relevance},l.second_best&&(e.second_best={language:l.second_best.language,re:l.second_best.relevance})}}var A={classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:void 0};function n(){if(!n.called){n.called=!0;var e=document.querySelectorAll("pre code");Array.prototype.forEach.call(e,t)}}var S={},g={};function T(e){return e=(e||"").toLowerCase(),S[e]||S[g[e]]}return i.highlight=w,i.highlightAuto=C,i.fixMarkup=m,i.highlightBlock=t,i.configure=function(e){A=y(A,e)},i.initHighlighting=n,i.initHighlightingOnLoad=function(){addEventListener("DOMContentLoaded",n,!1),addEventListener("load",n,!1)},i.registerLanguage=function(t,e){var n=S[t]=e(i);n.aliases&&n.aliases.forEach(function(e){g[e]=t})},i.listLanguages=function(){return Object.keys(S)},i.getLanguage=T,i.inherit=y,i.IDENT_RE="[a-zA-Z]\\w*",i.UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",i.NUMBER_RE="\\b\\d+(\\.\\d+)?",i.C_NUMBER_RE="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",i.BINARY_NUMBER_RE="\\b(0b[01]+)",i.RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",i.BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},i.APOS_STRING_MODE={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},i.QUOTE_STRING_MODE={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[i.BACKSLASH_ESCAPE]},i.PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|like)\b/},i.COMMENT=function(e,t,n){var r=i.inherit({className:"comment",begin:e,end:t,contains:[]},n||{});return r.contains.push(i.PHRASAL_WORDS_MODE),r.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|XXX):",relevance:0}),r},i.C_LINE_COMMENT_MODE=i.COMMENT("//","$"),i.C_BLOCK_COMMENT_MODE=i.COMMENT("/\\*","\\*/"),i.HASH_COMMENT_MODE=i.COMMENT("#","$"),i.NUMBER_MODE={className:"number",begin:i.NUMBER_RE,relevance:0},i.C_NUMBER_MODE={className:"number",begin:i.C_NUMBER_RE,relevance:0},i.BINARY_NUMBER_MODE={className:"number",begin:i.BINARY_NUMBER_RE,relevance:0},i.CSS_NUMBER_MODE={className:"number",begin:i.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},i.REGEXP_MODE={className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[i.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[i.BACKSLASH_ESCAPE]}]},i.TITLE_MODE={className:"title",begin:i.IDENT_RE,relevance:0},i.UNDERSCORE_TITLE_MODE={className:"title",begin:i.UNDERSCORE_IDENT_RE,relevance:0},i.registerLanguage("1c",function(e){var t="[a-zA-Zа-яА-Я][a-zA-Z0-9_а-яА-Я]*",n={className:"dquote",begin:'""'},r={className:"string",begin:'"',end:'"|$',contains:[n]},i={className:"string",begin:"\\|",end:'"|$',contains:[n]};return{case_insensitive:!0,lexemes:t,keywords:{keyword:"возврат дата для если и или иначе иначеесли исключение конецесли конецпопытки конецпроцедуры конецфункции конеццикла константа не перейти перем перечисление по пока попытка прервать продолжить процедура строка тогда фс функция цикл число экспорт",built_in:"ansitooem oemtoansi ввестивидсубконто ввестидату ввестизначение ввестиперечисление ввестипериод ввестиплансчетов ввестистроку ввестичисло вопрос восстановитьзначение врег выбранныйплансчетов вызватьисключение датагод датамесяц датачисло добавитьмесяц завершитьработусистемы заголовоксистемы записьжурналарегистрации запуститьприложение зафиксироватьтранзакцию значениевстроку значениевстрокувнутр значениевфайл значениеизстроки значениеизстрокивнутр значениеизфайла имякомпьютера имяпользователя каталогвременныхфайлов каталогиб каталогпользователя каталогпрограммы кодсимв командасистемы конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лев лог лог10 макс максимальноеколичествосубконто мин монопольныйрежим названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найти найтипомеченныенаудаление найтиссылки началопериодаби началостандартногоинтервала начатьтранзакцию начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода нрег обработкаожидания окр описаниеошибки основнойжурналрасчетов основнойплансчетов основнойязык открытьформу открытьформумодально отменитьтранзакцию очиститьокносообщений периодстр полноеимяпользователя получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта прав праводоступа предупреждение префиксавтонумерации пустаястрока пустоезначение рабочаядаттьпустоезначение рабочаядата разделительстраниц разделительстрок разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо сигнал симв символтабуляции создатьобъект сокрл сокрлп сокрп сообщить состояние сохранитьзначение сред статусвозврата стрдлина стрзаменить стрколичествострок стрполучитьстроку стрчисловхождений сформироватьпозициюдокумента счетпокоду текущаядата текущеевремя типзначения типзначениястр удалитьобъекты установитьтана установитьтапо фиксшаблон формат цел шаблон"},contains:[e.C_LINE_COMMENT_MODE,e.NUMBER_MODE,r,i,{className:"function",begin:"(процедура|функция)",end:"$",lexemes:t,keywords:"процедура функция",contains:[e.inherit(e.TITLE_MODE,{begin:t}),{className:"tail",endsWithParent:!0,contains:[{className:"params",begin:"\\(",end:"\\)",lexemes:t,keywords:"знач",contains:[r,i]},{className:"export",begin:"экспорт",endsWithParent:!0,lexemes:t,keywords:"экспорт",contains:[e.C_LINE_COMMENT_MODE]}]},e.C_LINE_COMMENT_MODE]},{className:"preprocessor",begin:"#",end:"$"},{className:"date",begin:"'\\d{2}\\.\\d{2}\\.(\\d{2}|\\d{4})'"}]}}),i.registerLanguage("accesslog",function(e){return{contains:[{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+\\b",relevance:0},{className:"string",begin:'"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)',end:'"',keywords:"GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE",illegal:"\\n",relevance:10},{className:"string",begin:/\[/,end:/\]/,illegal:"\\n"},{className:"string",begin:'"',end:'"',illegal:"\\n"}]}}),i.registerLanguage("actionscript",function(e){var t={className:"rest_arg",begin:"[.]{3}",end:"[a-zA-Z_$][a-zA-Z0-9_$]*",relevance:10};return{aliases:["as"],keywords:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"package",beginKeywords:"package",end:"{",contains:[e.TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.TITLE_MODE]},{className:"preprocessor",beginKeywords:"import include",end:";"},{className:"function",beginKeywords:"function",end:"[{;]",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t]},{className:"type",begin:":",end:"([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)",relevance:10}]}],illegal:/#/}}),i.registerLanguage("apache",function(e){var t={className:"number",begin:"[\\$%]\\d+"};return{aliases:["apacheconf"],case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"tag",begin:"</?",end:">"},{className:"keyword",begin:/\w+/,relevance:0,keywords:{common:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{end:/$/,relevance:0,keywords:{literal:"on off all"},contains:[{className:"sqbracket",begin:"\\s\\[",end:"\\]$"},{className:"cbracket",begin:"[\\$%]\\{",end:"\\}",contains:["self",t]},t,e.QUOTE_STRING_MODE]}}],illegal:/\S/}}),i.registerLanguage("applescript",function(e){var t=e.inherit(e.QUOTE_STRING_MODE,{illegal:""}),n={className:"params",begin:"\\(",end:"\\)",contains:["self",e.C_NUMBER_MODE,t]},r=e.COMMENT("--","$"),i=[r,e.COMMENT("\\(\\*","\\*\\)",{contains:["self",r]}),e.HASH_COMMENT_MODE];return{aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",constant:"AppleScript false linefeed return pi quote result space tab true",type:"alias application boolean class constant date file integer list number real record string text",command:"activate beep count delay launch log offset read round run say summarize write",property:"character characters contents day frontmost id item length month name paragraph paragraphs rest reverse running time version weekday word words year"},contains:[t,e.C_NUMBER_MODE,{className:"type",begin:"\\bPOSIX file\\b"},{className:"command",begin:"\\b(clipboard info|the clipboard|info for|list (disks|folder)|mount volume|path to|(close|open for) access|(get|set) eof|current date|do shell script|get volume settings|random number|set volume|system attribute|system info|time to GMT|(load|run|store) script|scripting components|ASCII (character|number)|localized string|choose (application|color|file|file name|folder|from list|remote application|URL)|display (alert|dialog))\\b|^\\s*return\\b"},{className:"constant",begin:"\\b(text item delimiters|current application|missing value)\\b"},{className:"keyword",begin:"\\b(apart from|aside from|instead of|out of|greater than|isn't|(doesn't|does not) (equal|come before|come after|contain)|(greater|less) than( or equal)?|(starts?|ends|begins?) with|contained by|comes (before|after)|a (ref|reference))\\b"},{className:"property",begin:"\\b(POSIX path|(date|time) string|quoted form)\\b"},{className:"function_start",beginKeywords:"on",illegal:"[${=;\\n]",contains:[e.UNDERSCORE_TITLE_MODE,n]}].concat(i),illegal:"//|->|=>|\\[\\["}}),i.registerLanguage("armasm",function(e){return{case_insensitive:!0,aliases:["arm"],lexemes:"\\.?"+e.IDENT_RE,keywords:{literal:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 ",preprocessor:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"{PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @ "},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?",end:"\\s"},e.COMMENT("[;@]","$",{relevance:0}),e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"label",variants:[{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"[=#]\\w+"}],relevance:0}]}}),i.registerLanguage("xml",function(e){var t={begin:/<\?(php)?(?!\w)/,end:/\?>/,subLanguage:"php"},n={endsWithParent:!0,illegal:/</,relevance:0,contains:[t,{className:"attribute",begin:"[A-Za-z0-9\\._:-]+",relevance:0},{begin:"=",relevance:0,contains:[{className:"value",contains:[t],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/[^\s\/>]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],case_insensitive:!0,contains:[{className:"doctype",begin:"<!DOCTYPE",end:">",relevance:10,contains:[{begin:"\\[",end:"\\]"}]},e.COMMENT("\x3c!--","--\x3e",{relevance:10}),{className:"cdata",begin:"<\\!\\[CDATA\\[",end:"\\]\\]>",relevance:10},{className:"tag",begin:"<style(?=\\s|>|$)",end:">",keywords:{title:"style"},contains:[n],starts:{end:"</style>",returnEnd:!0,subLanguage:"css"}},{className:"tag",begin:"<script(?=\\s|>|$)",end:">",keywords:{title:"script"},contains:[n],starts:{end:"<\/script>",returnEnd:!0,subLanguage:["actionscript","javascript","handlebars"]}},t,{className:"pi",begin:/<\?\w+/,end:/\?>/,relevance:10},{className:"tag",begin:"</?",end:"/?>",contains:[{className:"title",begin:/[^ \/><\n\t]+/,relevance:0},n]}]}}),i.registerLanguage("asciidoc",function(e){return{aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"header",begin:"^(={1,5}) .+?( \\1)?$",relevance:10},{className:"header",begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$",relevance:10},{className:"attribute",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"attribute",begin:"^\\[.+?\\]$",relevance:0},{className:"blockquote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},{className:"bullet",begin:"^(\\*+|\\-+|\\.+|[^\\n]+?::)\\s+"},{className:"label",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},{className:"strong",begin:"\\B\\*(?![\\*\\s])",end:"(\\n{2}|\\*)",contains:[{begin:"\\\\*\\w",relevance:0}]},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0},{className:"emphasis",begin:"_(?![_\\s])",end:"(\\n{2}|_)",relevance:0},{className:"smartquote",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},{className:"horizontal_rule",begin:"^'{3,}[ \\t]*$",relevance:10},{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+\\[.*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link_url",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"link_label",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}),i.registerLanguage("aspectj",function(e){var t="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else extends implements break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws privileged aspectOf adviceexecution proceed cflowbelow cflow initialization preinitialization staticinitialization withincode target within execution getWithinTypeName handler thisJoinPoint thisJoinPointStaticPart thisEnclosingJoinPointStaticPart declare parents warning error soft precedence thisAspectInstance",n="get set args call";return{keywords:t,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"aspect",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},e.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:t+" "+n,excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,contains:[e.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:t,illegal:/["\[\]]/,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",keywords:t+" "+n},e.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.)?\w+\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:t,excludeEnd:!0,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:t,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("autohotkey",function(e){var t={className:"escape",begin:"`[\\s\\S]"},n=e.COMMENT(";","$",{relevance:0});return{case_insensitive:!0,keywords:{keyword:"Break Continue Else Gosub If Loop Return While",literal:"A true false NOT AND OR"},contains:[{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{className:"built_in",beginKeywords:"ComSpec Clipboard ClipboardAll ErrorLevel"}].concat([t,e.inherit(e.QUOTE_STRING_MODE,{contains:[t]}),n,{className:"number",begin:e.NUMBER_RE,relevance:0},{className:"var_expand",begin:"%",end:"%",illegal:"\\n",contains:[t]},{className:"label",contains:[t],variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{begin:",\\s*,",relevance:10}])}}),i.registerLanguage("autoit",function(e){var t={variants:[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={className:"variable",begin:"\\$[A-z0-9_]+"},r={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:"ByRef Case Const ContinueCase ContinueLoop Default Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",built_in:"Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Opt Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown TCPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend UDPShutdown UDPStartup VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive Array1DToHistogram ArrayAdd ArrayBinarySearch ArrayColDelete ArrayColInsert ArrayCombinations ArrayConcatenate ArrayDelete ArrayDisplay ArrayExtract ArrayFindAll ArrayInsert ArrayMax ArrayMaxIndex ArrayMin ArrayMinIndex ArrayPermute ArrayPop ArrayPush ArrayReverse ArraySearch ArrayShuffle ArraySort ArraySwap ArrayToClip ArrayToString ArrayTranspose ArrayTrim ArrayUnique Assert ChooseColor ChooseFont ClipBoard_ChangeChain ClipBoard_Close ClipBoard_CountFormats ClipBoard_Empty ClipBoard_EnumFormats ClipBoard_FormatStr ClipBoard_GetData ClipBoard_GetDataEx ClipBoard_GetFormatName ClipBoard_GetOpenWindow ClipBoard_GetOwner ClipBoard_GetPriorityFormat ClipBoard_GetSequenceNumber ClipBoard_GetViewer ClipBoard_IsFormatAvailable ClipBoard_Open ClipBoard_RegisterFormat ClipBoard_SetData ClipBoard_SetDataEx ClipBoard_SetViewer ClipPutFile ColorConvertHSLtoRGB ColorConvertRGBtoHSL ColorGetBlue ColorGetCOLORREF ColorGetGreen ColorGetRed ColorGetRGB ColorSetCOLORREF ColorSetRGB Crypt_DecryptData Crypt_DecryptFile Crypt_DeriveKey Crypt_DestroyKey Crypt_EncryptData Crypt_EncryptFile Crypt_GenRandom Crypt_HashData Crypt_HashFile Crypt_Shutdown Crypt_Startup DateAdd DateDayOfWeek DateDaysInMonth DateDiff DateIsLeapYear DateIsValid DateTimeFormat DateTimeSplit DateToDayOfWeek DateToDayOfWeekISO DateToDayValue DateToMonth Date_Time_CompareFileTime Date_Time_DOSDateTimeToArray Date_Time_DOSDateTimeToFileTime Date_Time_DOSDateTimeToStr Date_Time_DOSDateToArray Date_Time_DOSDateToStr Date_Time_DOSTimeToArray Date_Time_DOSTimeToStr Date_Time_EncodeFileTime Date_Time_EncodeSystemTime Date_Time_FileTimeToArray Date_Time_FileTimeToDOSDateTime Date_Time_FileTimeToLocalFileTime Date_Time_FileTimeToStr Date_Time_FileTimeToSystemTime Date_Time_GetFileTime Date_Time_GetLocalTime Date_Time_GetSystemTime Date_Time_GetSystemTimeAdjustment Date_Time_GetSystemTimeAsFileTime Date_Time_GetSystemTimes Date_Time_GetTickCount Date_Time_GetTimeZoneInformation Date_Time_LocalFileTimeToFileTime Date_Time_SetFileTime Date_Time_SetLocalTime Date_Time_SetSystemTime Date_Time_SetSystemTimeAdjustment Date_Time_SetTimeZoneInformation Date_Time_SystemTimeToArray Date_Time_SystemTimeToDateStr Date_Time_SystemTimeToDateTimeStr Date_Time_SystemTimeToFileTime Date_Time_SystemTimeToTimeStr Date_Time_SystemTimeToTzSpecificLocalTime Date_Time_TzSpecificLocalTimeToSystemTime DayValueToDate DebugBugReportEnv DebugCOMError DebugOut DebugReport DebugReportEx DebugReportVar DebugSetup Degree EventLog__Backup EventLog__Clear EventLog__Close EventLog__Count EventLog__DeregisterSource EventLog__Full EventLog__Notify EventLog__Oldest EventLog__Open EventLog__OpenBackup EventLog__Read EventLog__RegisterSource EventLog__Report Excel_BookAttach Excel_BookClose Excel_BookList Excel_BookNew Excel_BookOpen Excel_BookOpenText Excel_BookSave Excel_BookSaveAs Excel_Close Excel_ColumnToLetter Excel_ColumnToNumber Excel_ConvertFormula Excel_Export Excel_FilterGet Excel_FilterSet Excel_Open Excel_PictureAdd Excel_Print Excel_RangeCopyPaste Excel_RangeDelete Excel_RangeFind Excel_RangeInsert Excel_RangeLinkAddRemove Excel_RangeRead Excel_RangeReplace Excel_RangeSort Excel_RangeValidate Excel_RangeWrite Excel_SheetAdd Excel_SheetCopyMove Excel_SheetDelete Excel_SheetList FileCountLines FileCreate FileListToArray FileListToArrayRec FilePrint FileReadToArray FileWriteFromArray FileWriteLog FileWriteToLine FTP_Close FTP_Command FTP_Connect FTP_DecodeInternetStatus FTP_DirCreate FTP_DirDelete FTP_DirGetCurrent FTP_DirPutContents FTP_DirSetCurrent FTP_FileClose FTP_FileDelete FTP_FileGet FTP_FileGetSize FTP_FileOpen FTP_FilePut FTP_FileRead FTP_FileRename FTP_FileTimeLoHiToStr FTP_FindFileClose FTP_FindFileFirst FTP_FindFileNext FTP_GetLastResponseInfo FTP_ListToArray FTP_ListToArray2D FTP_ListToArrayEx FTP_Open FTP_ProgressDownload FTP_ProgressUpload FTP_SetStatusCallback GDIPlus_ArrowCapCreate GDIPlus_ArrowCapDispose GDIPlus_ArrowCapGetFillState GDIPlus_ArrowCapGetHeight GDIPlus_ArrowCapGetMiddleInset GDIPlus_ArrowCapGetWidth GDIPlus_ArrowCapSetFillState GDIPlus_ArrowCapSetHeight GDIPlus_ArrowCapSetMiddleInset GDIPlus_ArrowCapSetWidth GDIPlus_BitmapApplyEffect GDIPlus_BitmapApplyEffectEx GDIPlus_BitmapCloneArea GDIPlus_BitmapConvertFormat GDIPlus_BitmapCreateApplyEffect GDIPlus_BitmapCreateApplyEffectEx GDIPlus_BitmapCreateDIBFromBitmap GDIPlus_BitmapCreateFromFile GDIPlus_BitmapCreateFromGraphics GDIPlus_BitmapCreateFromHBITMAP GDIPlus_BitmapCreateFromHICON GDIPlus_BitmapCreateFromHICON32 GDIPlus_BitmapCreateFromMemory GDIPlus_BitmapCreateFromResource GDIPlus_BitmapCreateFromScan0 GDIPlus_BitmapCreateFromStream GDIPlus_BitmapCreateHBITMAPFromBitmap GDIPlus_BitmapDispose GDIPlus_BitmapGetHistogram GDIPlus_BitmapGetHistogramEx GDIPlus_BitmapGetHistogramSize GDIPlus_BitmapGetPixel GDIPlus_BitmapLockBits GDIPlus_BitmapSetPixel GDIPlus_BitmapUnlockBits GDIPlus_BrushClone GDIPlus_BrushCreateSolid GDIPlus_BrushDispose GDIPlus_BrushGetSolidColor GDIPlus_BrushGetType GDIPlus_BrushSetSolidColor GDIPlus_ColorMatrixCreate GDIPlus_ColorMatrixCreateGrayScale GDIPlus_ColorMatrixCreateNegative GDIPlus_ColorMatrixCreateSaturation GDIPlus_ColorMatrixCreateScale GDIPlus_ColorMatrixCreateTranslate GDIPlus_CustomLineCapClone GDIPlus_CustomLineCapCreate GDIPlus_CustomLineCapDispose GDIPlus_CustomLineCapGetStrokeCaps GDIPlus_CustomLineCapSetStrokeCaps GDIPlus_Decoders GDIPlus_DecodersGetCount GDIPlus_DecodersGetSize GDIPlus_DrawImageFX GDIPlus_DrawImageFXEx GDIPlus_DrawImagePoints GDIPlus_EffectCreate GDIPlus_EffectCreateBlur GDIPlus_EffectCreateBrightnessContrast GDIPlus_EffectCreateColorBalance GDIPlus_EffectCreateColorCurve GDIPlus_EffectCreateColorLUT GDIPlus_EffectCreateColorMatrix GDIPlus_EffectCreateHueSaturationLightness GDIPlus_EffectCreateLevels GDIPlus_EffectCreateRedEyeCorrection GDIPlus_EffectCreateSharpen GDIPlus_EffectCreateTint GDIPlus_EffectDispose GDIPlus_EffectGetParameters GDIPlus_EffectSetParameters GDIPlus_Encoders GDIPlus_EncodersGetCLSID GDIPlus_EncodersGetCount GDIPlus_EncodersGetParamList GDIPlus_EncodersGetParamListSize GDIPlus_EncodersGetSize GDIPlus_FontCreate GDIPlus_FontDispose GDIPlus_FontFamilyCreate GDIPlus_FontFamilyCreateFromCollection GDIPlus_FontFamilyDispose GDIPlus_FontFamilyGetCellAscent GDIPlus_FontFamilyGetCellDescent GDIPlus_FontFamilyGetEmHeight GDIPlus_FontFamilyGetLineSpacing GDIPlus_FontGetHeight GDIPlus_FontPrivateAddFont GDIPlus_FontPrivateAddMemoryFont GDIPlus_FontPrivateCollectionDispose GDIPlus_FontPrivateCreateCollection GDIPlus_GraphicsClear GDIPlus_GraphicsCreateFromHDC GDIPlus_GraphicsCreateFromHWND GDIPlus_GraphicsDispose GDIPlus_GraphicsDrawArc GDIPlus_GraphicsDrawBezier GDIPlus_GraphicsDrawClosedCurve GDIPlus_GraphicsDrawClosedCurve2 GDIPlus_GraphicsDrawCurve GDIPlus_GraphicsDrawCurve2 GDIPlus_GraphicsDrawEllipse GDIPlus_GraphicsDrawImage GDIPlus_GraphicsDrawImagePointsRect GDIPlus_GraphicsDrawImageRect GDIPlus_GraphicsDrawImageRectRect GDIPlus_GraphicsDrawLine GDIPlus_GraphicsDrawPath GDIPlus_GraphicsDrawPie GDIPlus_GraphicsDrawPolygon GDIPlus_GraphicsDrawRect GDIPlus_GraphicsDrawString GDIPlus_GraphicsDrawStringEx GDIPlus_GraphicsFillClosedCurve GDIPlus_GraphicsFillClosedCurve2 GDIPlus_GraphicsFillEllipse GDIPlus_GraphicsFillPath GDIPlus_GraphicsFillPie GDIPlus_GraphicsFillPolygon GDIPlus_GraphicsFillRect GDIPlus_GraphicsFillRegion GDIPlus_GraphicsGetCompositingMode GDIPlus_GraphicsGetCompositingQuality GDIPlus_GraphicsGetDC GDIPlus_GraphicsGetInterpolationMode GDIPlus_GraphicsGetSmoothingMode GDIPlus_GraphicsGetTransform GDIPlus_GraphicsMeasureCharacterRanges GDIPlus_GraphicsMeasureString GDIPlus_GraphicsReleaseDC GDIPlus_GraphicsResetClip GDIPlus_GraphicsResetTransform GDIPlus_GraphicsRestore GDIPlus_GraphicsRotateTransform GDIPlus_GraphicsSave GDIPlus_GraphicsScaleTransform GDIPlus_GraphicsSetClipPath GDIPlus_GraphicsSetClipRect GDIPlus_GraphicsSetClipRegion GDIPlus_GraphicsSetCompositingMode GDIPlus_GraphicsSetCompositingQuality GDIPlus_GraphicsSetInterpolationMode GDIPlus_GraphicsSetPixelOffsetMode GDIPlus_GraphicsSetSmoothingMode GDIPlus_GraphicsSetTextRenderingHint GDIPlus_GraphicsSetTransform GDIPlus_GraphicsTransformPoints GDIPlus_GraphicsTranslateTransform GDIPlus_HatchBrushCreate GDIPlus_HICONCreateFromBitmap GDIPlus_ImageAttributesCreate GDIPlus_ImageAttributesDispose GDIPlus_ImageAttributesSetColorKeys GDIPlus_ImageAttributesSetColorMatrix GDIPlus_ImageDispose GDIPlus_ImageGetDimension GDIPlus_ImageGetFlags GDIPlus_ImageGetGraphicsContext GDIPlus_ImageGetHeight GDIPlus_ImageGetHorizontalResolution GDIPlus_ImageGetPixelFormat GDIPlus_ImageGetRawFormat GDIPlus_ImageGetThumbnail GDIPlus_ImageGetType GDIPlus_ImageGetVerticalResolution GDIPlus_ImageGetWidth GDIPlus_ImageLoadFromFile GDIPlus_ImageLoadFromStream GDIPlus_ImageResize GDIPlus_ImageRotateFlip GDIPlus_ImageSaveToFile GDIPlus_ImageSaveToFileEx GDIPlus_ImageSaveToStream GDIPlus_ImageScale GDIPlus_LineBrushCreate GDIPlus_LineBrushCreateFromRect GDIPlus_LineBrushCreateFromRectWithAngle GDIPlus_LineBrushGetColors GDIPlus_LineBrushGetRect GDIPlus_LineBrushMultiplyTransform GDIPlus_LineBrushResetTransform GDIPlus_LineBrushSetBlend GDIPlus_LineBrushSetColors GDIPlus_LineBrushSetGammaCorrection GDIPlus_LineBrushSetLinearBlend GDIPlus_LineBrushSetPresetBlend GDIPlus_LineBrushSetSigmaBlend GDIPlus_LineBrushSetTransform GDIPlus_MatrixClone GDIPlus_MatrixCreate GDIPlus_MatrixDispose GDIPlus_MatrixGetElements GDIPlus_MatrixInvert GDIPlus_MatrixMultiply GDIPlus_MatrixRotate GDIPlus_MatrixScale GDIPlus_MatrixSetElements GDIPlus_MatrixShear GDIPlus_MatrixTransformPoints GDIPlus_MatrixTranslate GDIPlus_PaletteInitialize GDIPlus_ParamAdd GDIPlus_ParamInit GDIPlus_ParamSize GDIPlus_PathAddArc GDIPlus_PathAddBezier GDIPlus_PathAddClosedCurve GDIPlus_PathAddClosedCurve2 GDIPlus_PathAddCurve GDIPlus_PathAddCurve2 GDIPlus_PathAddCurve3 GDIPlus_PathAddEllipse GDIPlus_PathAddLine GDIPlus_PathAddLine2 GDIPlus_PathAddPath GDIPlus_PathAddPie GDIPlus_PathAddPolygon GDIPlus_PathAddRectangle GDIPlus_PathAddString GDIPlus_PathBrushCreate GDIPlus_PathBrushCreateFromPath GDIPlus_PathBrushGetCenterPoint GDIPlus_PathBrushGetFocusScales GDIPlus_PathBrushGetPointCount GDIPlus_PathBrushGetRect GDIPlus_PathBrushGetWrapMode GDIPlus_PathBrushMultiplyTransform GDIPlus_PathBrushResetTransform GDIPlus_PathBrushSetBlend GDIPlus_PathBrushSetCenterColor GDIPlus_PathBrushSetCenterPoint GDIPlus_PathBrushSetFocusScales GDIPlus_PathBrushSetGammaCorrection GDIPlus_PathBrushSetLinearBlend GDIPlus_PathBrushSetPresetBlend GDIPlus_PathBrushSetSigmaBlend GDIPlus_PathBrushSetSurroundColor GDIPlus_PathBrushSetSurroundColorsWithCount GDIPlus_PathBrushSetTransform GDIPlus_PathBrushSetWrapMode GDIPlus_PathClone GDIPlus_PathCloseFigure GDIPlus_PathCreate GDIPlus_PathCreate2 GDIPlus_PathDispose GDIPlus_PathFlatten GDIPlus_PathGetData GDIPlus_PathGetFillMode GDIPlus_PathGetLastPoint GDIPlus_PathGetPointCount GDIPlus_PathGetPoints GDIPlus_PathGetWorldBounds GDIPlus_PathIsOutlineVisiblePoint GDIPlus_PathIsVisiblePoint GDIPlus_PathIterCreate GDIPlus_PathIterDispose GDIPlus_PathIterGetSubpathCount GDIPlus_PathIterNextMarkerPath GDIPlus_PathIterNextSubpathPath GDIPlus_PathIterRewind GDIPlus_PathReset GDIPlus_PathReverse GDIPlus_PathSetFillMode GDIPlus_PathSetMarker GDIPlus_PathStartFigure GDIPlus_PathTransform GDIPlus_PathWarp GDIPlus_PathWiden GDIPlus_PathWindingModeOutline GDIPlus_PenCreate GDIPlus_PenCreate2 GDIPlus_PenDispose GDIPlus_PenGetAlignment GDIPlus_PenGetColor GDIPlus_PenGetCustomEndCap GDIPlus_PenGetDashCap GDIPlus_PenGetDashStyle GDIPlus_PenGetEndCap GDIPlus_PenGetMiterLimit GDIPlus_PenGetWidth GDIPlus_PenSetAlignment GDIPlus_PenSetColor GDIPlus_PenSetCustomEndCap GDIPlus_PenSetDashCap GDIPlus_PenSetDashStyle GDIPlus_PenSetEndCap GDIPlus_PenSetLineCap GDIPlus_PenSetLineJoin GDIPlus_PenSetMiterLimit GDIPlus_PenSetStartCap GDIPlus_PenSetWidth GDIPlus_RectFCreate GDIPlus_RegionClone GDIPlus_RegionCombinePath GDIPlus_RegionCombineRect GDIPlus_RegionCombineRegion GDIPlus_RegionCreate GDIPlus_RegionCreateFromPath GDIPlus_RegionCreateFromRect GDIPlus_RegionDispose GDIPlus_RegionGetBounds GDIPlus_RegionGetHRgn GDIPlus_RegionTransform GDIPlus_RegionTranslate GDIPlus_Shutdown GDIPlus_Startup GDIPlus_StringFormatCreate GDIPlus_StringFormatDispose GDIPlus_StringFormatGetMeasurableCharacterRangeCount GDIPlus_StringFormatSetAlign GDIPlus_StringFormatSetLineAlign GDIPlus_StringFormatSetMeasurableCharacterRanges GDIPlus_TextureCreate GDIPlus_TextureCreate2 GDIPlus_TextureCreateIA GetIP GUICtrlAVI_Close GUICtrlAVI_Create GUICtrlAVI_Destroy GUICtrlAVI_IsPlaying GUICtrlAVI_Open GUICtrlAVI_OpenEx GUICtrlAVI_Play GUICtrlAVI_Seek GUICtrlAVI_Show GUICtrlAVI_Stop GUICtrlButton_Click GUICtrlButton_Create GUICtrlButton_Destroy GUICtrlButton_Enable GUICtrlButton_GetCheck GUICtrlButton_GetFocus GUICtrlButton_GetIdealSize GUICtrlButton_GetImage GUICtrlButton_GetImageList GUICtrlButton_GetNote GUICtrlButton_GetNoteLength GUICtrlButton_GetSplitInfo GUICtrlButton_GetState GUICtrlButton_GetText GUICtrlButton_GetTextMargin GUICtrlButton_SetCheck GUICtrlButton_SetDontClick GUICtrlButton_SetFocus GUICtrlButton_SetImage GUICtrlButton_SetImageList GUICtrlButton_SetNote GUICtrlButton_SetShield GUICtrlButton_SetSize GUICtrlButton_SetSplitInfo GUICtrlButton_SetState GUICtrlButton_SetStyle GUICtrlButton_SetText GUICtrlButton_SetTextMargin GUICtrlButton_Show GUICtrlComboBoxEx_AddDir GUICtrlComboBoxEx_AddString GUICtrlComboBoxEx_BeginUpdate GUICtrlComboBoxEx_Create GUICtrlComboBoxEx_CreateSolidBitMap GUICtrlComboBoxEx_DeleteString GUICtrlComboBoxEx_Destroy GUICtrlComboBoxEx_EndUpdate GUICtrlComboBoxEx_FindStringExact GUICtrlComboBoxEx_GetComboBoxInfo GUICtrlComboBoxEx_GetComboControl GUICtrlComboBoxEx_GetCount GUICtrlComboBoxEx_GetCurSel GUICtrlComboBoxEx_GetDroppedControlRect GUICtrlComboBoxEx_GetDroppedControlRectEx GUICtrlComboBoxEx_GetDroppedState GUICtrlComboBoxEx_GetDroppedWidth GUICtrlComboBoxEx_GetEditControl GUICtrlComboBoxEx_GetEditSel GUICtrlComboBoxEx_GetEditText GUICtrlComboBoxEx_GetExtendedStyle GUICtrlComboBoxEx_GetExtendedUI GUICtrlComboBoxEx_GetImageList GUICtrlComboBoxEx_GetItem GUICtrlComboBoxEx_GetItemEx GUICtrlComboBoxEx_GetItemHeight GUICtrlComboBoxEx_GetItemImage GUICtrlComboBoxEx_GetItemIndent GUICtrlComboBoxEx_GetItemOverlayImage GUICtrlComboBoxEx_GetItemParam GUICtrlComboBoxEx_GetItemSelectedImage GUICtrlComboBoxEx_GetItemText GUICtrlComboBoxEx_GetItemTextLen GUICtrlComboBoxEx_GetList GUICtrlComboBoxEx_GetListArray GUICtrlComboBoxEx_GetLocale GUICtrlComboBoxEx_GetLocaleCountry GUICtrlComboBoxEx_GetLocaleLang GUICtrlComboBoxEx_GetLocalePrimLang GUICtrlComboBoxEx_GetLocaleSubLang GUICtrlComboBoxEx_GetMinVisible GUICtrlComboBoxEx_GetTopIndex GUICtrlComboBoxEx_GetUnicode GUICtrlComboBoxEx_InitStorage GUICtrlComboBoxEx_InsertString GUICtrlComboBoxEx_LimitText GUICtrlComboBoxEx_ReplaceEditSel GUICtrlComboBoxEx_ResetContent GUICtrlComboBoxEx_SetCurSel GUICtrlComboBoxEx_SetDroppedWidth GUICtrlComboBoxEx_SetEditSel GUICtrlComboBoxEx_SetEditText GUICtrlComboBoxEx_SetExtendedStyle GUICtrlComboBoxEx_SetExtendedUI GUICtrlComboBoxEx_SetImageList GUICtrlComboBoxEx_SetItem GUICtrlComboBoxEx_SetItemEx GUICtrlComboBoxEx_SetItemHeight GUICtrlComboBoxEx_SetItemImage GUICtrlComboBoxEx_SetItemIndent GUICtrlComboBoxEx_SetItemOverlayImage GUICtrlComboBoxEx_SetItemParam GUICtrlComboBoxEx_SetItemSelectedImage GUICtrlComboBoxEx_SetMinVisible GUICtrlComboBoxEx_SetTopIndex GUICtrlComboBoxEx_SetUnicode GUICtrlComboBoxEx_ShowDropDown GUICtrlComboBox_AddDir GUICtrlComboBox_AddString GUICtrlComboBox_AutoComplete GUICtrlComboBox_BeginUpdate GUICtrlComboBox_Create GUICtrlComboBox_DeleteString GUICtrlComboBox_Destroy GUICtrlComboBox_EndUpdate GUICtrlComboBox_FindString GUICtrlComboBox_FindStringExact GUICtrlComboBox_GetComboBoxInfo GUICtrlComboBox_GetCount GUICtrlComboBox_GetCueBanner GUICtrlComboBox_GetCurSel GUICtrlComboBox_GetDroppedControlRect GUICtrlComboBox_GetDroppedControlRectEx GUICtrlComboBox_GetDroppedState GUICtrlComboBox_GetDroppedWidth GUICtrlComboBox_GetEditSel GUICtrlComboBox_GetEditText GUICtrlComboBox_GetExtendedUI GUICtrlComboBox_GetHorizontalExtent GUICtrlComboBox_GetItemHeight GUICtrlComboBox_GetLBText GUICtrlComboBox_GetLBTextLen GUICtrlComboBox_GetList GUICtrlComboBox_GetListArray GUICtrlComboBox_GetLocale GUICtrlComboBox_GetLocaleCountry GUICtrlComboBox_GetLocaleLang GUICtrlComboBox_GetLocalePrimLang GUICtrlComboBox_GetLocaleSubLang GUICtrlComboBox_GetMinVisible GUICtrlComboBox_GetTopIndex GUICtrlComboBox_InitStorage GUICtrlComboBox_InsertString GUICtrlComboBox_LimitText GUICtrlComboBox_ReplaceEditSel GUICtrlComboBox_ResetContent GUICtrlComboBox_SelectString GUICtrlComboBox_SetCueBanner GUICtrlComboBox_SetCurSel GUICtrlComboBox_SetDroppedWidth GUICtrlComboBox_SetEditSel GUICtrlComboBox_SetEditText GUICtrlComboBox_SetExtendedUI GUICtrlComboBox_SetHorizontalExtent GUICtrlComboBox_SetItemHeight GUICtrlComboBox_SetMinVisible GUICtrlComboBox_SetTopIndex GUICtrlComboBox_ShowDropDown GUICtrlDTP_Create GUICtrlDTP_Destroy GUICtrlDTP_GetMCColor GUICtrlDTP_GetMCFont GUICtrlDTP_GetMonthCal GUICtrlDTP_GetRange GUICtrlDTP_GetRangeEx GUICtrlDTP_GetSystemTime GUICtrlDTP_GetSystemTimeEx GUICtrlDTP_SetFormat GUICtrlDTP_SetMCColor GUICtrlDTP_SetMCFont GUICtrlDTP_SetRange GUICtrlDTP_SetRangeEx GUICtrlDTP_SetSystemTime GUICtrlDTP_SetSystemTimeEx GUICtrlEdit_AppendText GUICtrlEdit_BeginUpdate GUICtrlEdit_CanUndo GUICtrlEdit_CharFromPos GUICtrlEdit_Create GUICtrlEdit_Destroy GUICtrlEdit_EmptyUndoBuffer GUICtrlEdit_EndUpdate GUICtrlEdit_Find GUICtrlEdit_FmtLines GUICtrlEdit_GetCueBanner GUICtrlEdit_GetFirstVisibleLine GUICtrlEdit_GetLimitText GUICtrlEdit_GetLine GUICtrlEdit_GetLineCount GUICtrlEdit_GetMargins GUICtrlEdit_GetModify GUICtrlEdit_GetPasswordChar GUICtrlEdit_GetRECT GUICtrlEdit_GetRECTEx GUICtrlEdit_GetSel GUICtrlEdit_GetText GUICtrlEdit_GetTextLen GUICtrlEdit_HideBalloonTip GUICtrlEdit_InsertText GUICtrlEdit_LineFromChar GUICtrlEdit_LineIndex GUICtrlEdit_LineLength GUICtrlEdit_LineScroll GUICtrlEdit_PosFromChar GUICtrlEdit_ReplaceSel GUICtrlEdit_Scroll GUICtrlEdit_SetCueBanner GUICtrlEdit_SetLimitText GUICtrlEdit_SetMargins GUICtrlEdit_SetModify GUICtrlEdit_SetPasswordChar GUICtrlEdit_SetReadOnly GUICtrlEdit_SetRECT GUICtrlEdit_SetRECTEx GUICtrlEdit_SetRECTNP GUICtrlEdit_SetRectNPEx GUICtrlEdit_SetSel GUICtrlEdit_SetTabStops GUICtrlEdit_SetText GUICtrlEdit_ShowBalloonTip GUICtrlEdit_Undo GUICtrlHeader_AddItem GUICtrlHeader_ClearFilter GUICtrlHeader_ClearFilterAll GUICtrlHeader_Create GUICtrlHeader_CreateDragImage GUICtrlHeader_DeleteItem GUICtrlHeader_Destroy GUICtrlHeader_EditFilter GUICtrlHeader_GetBitmapMargin GUICtrlHeader_GetImageList GUICtrlHeader_GetItem GUICtrlHeader_GetItemAlign GUICtrlHeader_GetItemBitmap GUICtrlHeader_GetItemCount GUICtrlHeader_GetItemDisplay GUICtrlHeader_GetItemFlags GUICtrlHeader_GetItemFormat GUICtrlHeader_GetItemImage GUICtrlHeader_GetItemOrder GUICtrlHeader_GetItemParam GUICtrlHeader_GetItemRect GUICtrlHeader_GetItemRectEx GUICtrlHeader_GetItemText GUICtrlHeader_GetItemWidth GUICtrlHeader_GetOrderArray GUICtrlHeader_GetUnicodeFormat GUICtrlHeader_HitTest GUICtrlHeader_InsertItem GUICtrlHeader_Layout GUICtrlHeader_OrderToIndex GUICtrlHeader_SetBitmapMargin GUICtrlHeader_SetFilterChangeTimeout GUICtrlHeader_SetHotDivider GUICtrlHeader_SetImageList GUICtrlHeader_SetItem GUICtrlHeader_SetItemAlign GUICtrlHeader_SetItemBitmap GUICtrlHeader_SetItemDisplay GUICtrlHeader_SetItemFlags GUICtrlHeader_SetItemFormat GUICtrlHeader_SetItemImage GUICtrlHeader_SetItemOrder GUICtrlHeader_SetItemParam GUICtrlHeader_SetItemText GUICtrlHeader_SetItemWidth GUICtrlHeader_SetOrderArray GUICtrlHeader_SetUnicodeFormat GUICtrlIpAddress_ClearAddress GUICtrlIpAddress_Create GUICtrlIpAddress_Destroy GUICtrlIpAddress_Get GUICtrlIpAddress_GetArray GUICtrlIpAddress_GetEx GUICtrlIpAddress_IsBlank GUICtrlIpAddress_Set GUICtrlIpAddress_SetArray GUICtrlIpAddress_SetEx GUICtrlIpAddress_SetFocus GUICtrlIpAddress_SetFont GUICtrlIpAddress_SetRange GUICtrlIpAddress_ShowHide GUICtrlListBox_AddFile GUICtrlListBox_AddString GUICtrlListBox_BeginUpdate GUICtrlListBox_ClickItem GUICtrlListBox_Create GUICtrlListBox_DeleteString GUICtrlListBox_Destroy GUICtrlListBox_Dir GUICtrlListBox_EndUpdate GUICtrlListBox_FindInText GUICtrlListBox_FindString GUICtrlListBox_GetAnchorIndex GUICtrlListBox_GetCaretIndex GUICtrlListBox_GetCount GUICtrlListBox_GetCurSel GUICtrlListBox_GetHorizontalExtent GUICtrlListBox_GetItemData GUICtrlListBox_GetItemHeight GUICtrlListBox_GetItemRect GUICtrlListBox_GetItemRectEx GUICtrlListBox_GetListBoxInfo GUICtrlListBox_GetLocale GUICtrlListBox_GetLocaleCountry GUICtrlListBox_GetLocaleLang GUICtrlListBox_GetLocalePrimLang GUICtrlListBox_GetLocaleSubLang GUICtrlListBox_GetSel GUICtrlListBox_GetSelCount GUICtrlListBox_GetSelItems GUICtrlListBox_GetSelItemsText GUICtrlListBox_GetText GUICtrlListBox_GetTextLen GUICtrlListBox_GetTopIndex GUICtrlListBox_InitStorage GUICtrlListBox_InsertString GUICtrlListBox_ItemFromPoint GUICtrlListBox_ReplaceString GUICtrlListBox_ResetContent GUICtrlListBox_SelectString GUICtrlListBox_SelItemRange GUICtrlListBox_SelItemRangeEx GUICtrlListBox_SetAnchorIndex GUICtrlListBox_SetCaretIndex GUICtrlListBox_SetColumnWidth GUICtrlListBox_SetCurSel GUICtrlListBox_SetHorizontalExtent GUICtrlListBox_SetItemData GUICtrlListBox_SetItemHeight GUICtrlListBox_SetLocale GUICtrlListBox_SetSel GUICtrlListBox_SetTabStops GUICtrlListBox_SetTopIndex GUICtrlListBox_Sort GUICtrlListBox_SwapString GUICtrlListBox_UpdateHScroll GUICtrlListView_AddArray GUICtrlListView_AddColumn GUICtrlListView_AddItem GUICtrlListView_AddSubItem GUICtrlListView_ApproximateViewHeight GUICtrlListView_ApproximateViewRect GUICtrlListView_ApproximateViewWidth GUICtrlListView_Arrange GUICtrlListView_BeginUpdate GUICtrlListView_CancelEditLabel GUICtrlListView_ClickItem GUICtrlListView_CopyItems GUICtrlListView_Create GUICtrlListView_CreateDragImage GUICtrlListView_CreateSolidBitMap GUICtrlListView_DeleteAllItems GUICtrlListView_DeleteColumn GUICtrlListView_DeleteItem GUICtrlListView_DeleteItemsSelected GUICtrlListView_Destroy GUICtrlListView_DrawDragImage GUICtrlListView_EditLabel GUICtrlListView_EnableGroupView GUICtrlListView_EndUpdate GUICtrlListView_EnsureVisible GUICtrlListView_FindInText GUICtrlListView_FindItem GUICtrlListView_FindNearest GUICtrlListView_FindParam GUICtrlListView_FindText GUICtrlListView_GetBkColor GUICtrlListView_GetBkImage GUICtrlListView_GetCallbackMask GUICtrlListView_GetColumn GUICtrlListView_GetColumnCount GUICtrlListView_GetColumnOrder GUICtrlListView_GetColumnOrderArray GUICtrlListView_GetColumnWidth GUICtrlListView_GetCounterPage GUICtrlListView_GetEditControl GUICtrlListView_GetExtendedListViewStyle GUICtrlListView_GetFocusedGroup GUICtrlListView_GetGroupCount GUICtrlListView_GetGroupInfo GUICtrlListView_GetGroupInfoByIndex GUICtrlListView_GetGroupRect GUICtrlListView_GetGroupViewEnabled GUICtrlListView_GetHeader GUICtrlListView_GetHotCursor GUICtrlListView_GetHotItem GUICtrlListView_GetHoverTime GUICtrlListView_GetImageList GUICtrlListView_GetISearchString GUICtrlListView_GetItem GUICtrlListView_GetItemChecked GUICtrlListView_GetItemCount GUICtrlListView_GetItemCut GUICtrlListView_GetItemDropHilited GUICtrlListView_GetItemEx GUICtrlListView_GetItemFocused GUICtrlListView_GetItemGroupID GUICtrlListView_GetItemImage GUICtrlListView_GetItemIndent GUICtrlListView_GetItemParam GUICtrlListView_GetItemPosition GUICtrlListView_GetItemPositionX GUICtrlListView_GetItemPositionY GUICtrlListView_GetItemRect GUICtrlListView_GetItemRectEx GUICtrlListView_GetItemSelected GUICtrlListView_GetItemSpacing GUICtrlListView_GetItemSpacingX GUICtrlListView_GetItemSpacingY GUICtrlListView_GetItemState GUICtrlListView_GetItemStateImage GUICtrlListView_GetItemText GUICtrlListView_GetItemTextArray GUICtrlListView_GetItemTextString GUICtrlListView_GetNextItem GUICtrlListView_GetNumberOfWorkAreas GUICtrlListView_GetOrigin GUICtrlListView_GetOriginX GUICtrlListView_GetOriginY GUICtrlListView_GetOutlineColor GUICtrlListView_GetSelectedColumn GUICtrlListView_GetSelectedCount GUICtrlListView_GetSelectedIndices GUICtrlListView_GetSelectionMark GUICtrlListView_GetStringWidth GUICtrlListView_GetSubItemRect GUICtrlListView_GetTextBkColor GUICtrlListView_GetTextColor GUICtrlListView_GetToolTips GUICtrlListView_GetTopIndex GUICtrlListView_GetUnicodeFormat GUICtrlListView_GetView GUICtrlListView_GetViewDetails GUICtrlListView_GetViewLarge GUICtrlListView_GetViewList GUICtrlListView_GetViewRect GUICtrlListView_GetViewSmall GUICtrlListView_GetViewTile GUICtrlListView_HideColumn GUICtrlListView_HitTest GUICtrlListView_InsertColumn GUICtrlListView_InsertGroup GUICtrlListView_InsertItem GUICtrlListView_JustifyColumn GUICtrlListView_MapIDToIndex GUICtrlListView_MapIndexToID GUICtrlListView_RedrawItems GUICtrlListView_RegisterSortCallBack GUICtrlListView_RemoveAllGroups GUICtrlListView_RemoveGroup GUICtrlListView_Scroll GUICtrlListView_SetBkColor GUICtrlListView_SetBkImage GUICtrlListView_SetCallBackMask GUICtrlListView_SetColumn GUICtrlListView_SetColumnOrder GUICtrlListView_SetColumnOrderArray GUICtrlListView_SetColumnWidth GUICtrlListView_SetExtendedListViewStyle GUICtrlListView_SetGroupInfo GUICtrlListView_SetHotItem GUICtrlListView_SetHoverTime GUICtrlListView_SetIconSpacing GUICtrlListView_SetImageList GUICtrlListView_SetItem GUICtrlListView_SetItemChecked GUICtrlListView_SetItemCount GUICtrlListView_SetItemCut GUICtrlListView_SetItemDropHilited GUICtrlListView_SetItemEx GUICtrlListView_SetItemFocused GUICtrlListView_SetItemGroupID GUICtrlListView_SetItemImage GUICtrlListView_SetItemIndent GUICtrlListView_SetItemParam GUICtrlListView_SetItemPosition GUICtrlListView_SetItemPosition32 GUICtrlListView_SetItemSelected GUICtrlListView_SetItemState GUICtrlListView_SetItemStateImage GUICtrlListView_SetItemText GUICtrlListView_SetOutlineColor GUICtrlListView_SetSelectedColumn GUICtrlListView_SetSelectionMark GUICtrlListView_SetTextBkColor GUICtrlListView_SetTextColor GUICtrlListView_SetToolTips GUICtrlListView_SetUnicodeFormat GUICtrlListView_SetView GUICtrlListView_SetWorkAreas GUICtrlListView_SimpleSort GUICtrlListView_SortItems GUICtrlListView_SubItemHitTest GUICtrlListView_UnRegisterSortCallBack GUICtrlMenu_AddMenuItem GUICtrlMenu_AppendMenu GUICtrlMenu_CalculatePopupWindowPosition GUICtrlMenu_CheckMenuItem GUICtrlMenu_CheckRadioItem GUICtrlMenu_CreateMenu GUICtrlMenu_CreatePopup GUICtrlMenu_DeleteMenu GUICtrlMenu_DestroyMenu GUICtrlMenu_DrawMenuBar GUICtrlMenu_EnableMenuItem GUICtrlMenu_FindItem GUICtrlMenu_FindParent GUICtrlMenu_GetItemBmp GUICtrlMenu_GetItemBmpChecked GUICtrlMenu_GetItemBmpUnchecked GUICtrlMenu_GetItemChecked GUICtrlMenu_GetItemCount GUICtrlMenu_GetItemData GUICtrlMenu_GetItemDefault GUICtrlMenu_GetItemDisabled GUICtrlMenu_GetItemEnabled GUICtrlMenu_GetItemGrayed GUICtrlMenu_GetItemHighlighted GUICtrlMenu_GetItemID GUICtrlMenu_GetItemInfo GUICtrlMenu_GetItemRect GUICtrlMenu_GetItemRectEx GUICtrlMenu_GetItemState GUICtrlMenu_GetItemStateEx GUICtrlMenu_GetItemSubMenu GUICtrlMenu_GetItemText GUICtrlMenu_GetItemType GUICtrlMenu_GetMenu GUICtrlMenu_GetMenuBackground GUICtrlMenu_GetMenuBarInfo GUICtrlMenu_GetMenuContextHelpID GUICtrlMenu_GetMenuData GUICtrlMenu_GetMenuDefaultItem GUICtrlMenu_GetMenuHeight GUICtrlMenu_GetMenuInfo GUICtrlMenu_GetMenuStyle GUICtrlMenu_GetSystemMenu GUICtrlMenu_InsertMenuItem GUICtrlMenu_InsertMenuItemEx GUICtrlMenu_IsMenu GUICtrlMenu_LoadMenu GUICtrlMenu_MapAccelerator GUICtrlMenu_MenuItemFromPoint GUICtrlMenu_RemoveMenu GUICtrlMenu_SetItemBitmaps GUICtrlMenu_SetItemBmp GUICtrlMenu_SetItemBmpChecked GUICtrlMenu_SetItemBmpUnchecked GUICtrlMenu_SetItemChecked GUICtrlMenu_SetItemData GUICtrlMenu_SetItemDefault GUICtrlMenu_SetItemDisabled GUICtrlMenu_SetItemEnabled GUICtrlMenu_SetItemGrayed GUICtrlMenu_SetItemHighlighted GUICtrlMenu_SetItemID GUICtrlMenu_SetItemInfo GUICtrlMenu_SetItemState GUICtrlMenu_SetItemSubMenu GUICtrlMenu_SetItemText GUICtrlMenu_SetItemType GUICtrlMenu_SetMenu GUICtrlMenu_SetMenuBackground GUICtrlMenu_SetMenuContextHelpID GUICtrlMenu_SetMenuData GUICtrlMenu_SetMenuDefaultItem GUICtrlMenu_SetMenuHeight GUICtrlMenu_SetMenuInfo GUICtrlMenu_SetMenuStyle GUICtrlMenu_TrackPopupMenu GUICtrlMonthCal_Create GUICtrlMonthCal_Destroy GUICtrlMonthCal_GetCalendarBorder GUICtrlMonthCal_GetCalendarCount GUICtrlMonthCal_GetColor GUICtrlMonthCal_GetColorArray GUICtrlMonthCal_GetCurSel GUICtrlMonthCal_GetCurSelStr GUICtrlMonthCal_GetFirstDOW GUICtrlMonthCal_GetFirstDOWStr GUICtrlMonthCal_GetMaxSelCount GUICtrlMonthCal_GetMaxTodayWidth GUICtrlMonthCal_GetMinReqHeight GUICtrlMonthCal_GetMinReqRect GUICtrlMonthCal_GetMinReqRectArray GUICtrlMonthCal_GetMinReqWidth GUICtrlMonthCal_GetMonthDelta GUICtrlMonthCal_GetMonthRange GUICtrlMonthCal_GetMonthRangeMax GUICtrlMonthCal_GetMonthRangeMaxStr GUICtrlMonthCal_GetMonthRangeMin GUICtrlMonthCal_GetMonthRangeMinStr GUICtrlMonthCal_GetMonthRangeSpan GUICtrlMonthCal_GetRange GUICtrlMonthCal_GetRangeMax GUICtrlMonthCal_GetRangeMaxStr GUICtrlMonthCal_GetRangeMin GUICtrlMonthCal_GetRangeMinStr GUICtrlMonthCal_GetSelRange GUICtrlMonthCal_GetSelRangeMax GUICtrlMonthCal_GetSelRangeMaxStr GUICtrlMonthCal_GetSelRangeMin GUICtrlMonthCal_GetSelRangeMinStr GUICtrlMonthCal_GetToday GUICtrlMonthCal_GetTodayStr GUICtrlMonthCal_GetUnicodeFormat GUICtrlMonthCal_HitTest GUICtrlMonthCal_SetCalendarBorder GUICtrlMonthCal_SetColor GUICtrlMonthCal_SetCurSel GUICtrlMonthCal_SetDayState GUICtrlMonthCal_SetFirstDOW GUICtrlMonthCal_SetMaxSelCount GUICtrlMonthCal_SetMonthDelta GUICtrlMonthCal_SetRange GUICtrlMonthCal_SetSelRange GUICtrlMonthCal_SetToday GUICtrlMonthCal_SetUnicodeFormat GUICtrlRebar_AddBand GUICtrlRebar_AddToolBarBand GUICtrlRebar_BeginDrag GUICtrlRebar_Create GUICtrlRebar_DeleteBand GUICtrlRebar_Destroy GUICtrlRebar_DragMove GUICtrlRebar_EndDrag GUICtrlRebar_GetBandBackColor GUICtrlRebar_GetBandBorders GUICtrlRebar_GetBandBordersEx GUICtrlRebar_GetBandChildHandle GUICtrlRebar_GetBandChildSize GUICtrlRebar_GetBandCount GUICtrlRebar_GetBandForeColor GUICtrlRebar_GetBandHeaderSize GUICtrlRebar_GetBandID GUICtrlRebar_GetBandIdealSize GUICtrlRebar_GetBandLength GUICtrlRebar_GetBandLParam GUICtrlRebar_GetBandMargins GUICtrlRebar_GetBandMarginsEx GUICtrlRebar_GetBandRect GUICtrlRebar_GetBandRectEx GUICtrlRebar_GetBandStyle GUICtrlRebar_GetBandStyleBreak GUICtrlRebar_GetBandStyleChildEdge GUICtrlRebar_GetBandStyleFixedBMP GUICtrlRebar_GetBandStyleFixedSize GUICtrlRebar_GetBandStyleGripperAlways GUICtrlRebar_GetBandStyleHidden GUICtrlRebar_GetBandStyleHideTitle GUICtrlRebar_GetBandStyleNoGripper GUICtrlRebar_GetBandStyleTopAlign GUICtrlRebar_GetBandStyleUseChevron GUICtrlRebar_GetBandStyleVariableHeight GUICtrlRebar_GetBandText GUICtrlRebar_GetBarHeight GUICtrlRebar_GetBarInfo GUICtrlRebar_GetBKColor GUICtrlRebar_GetColorScheme GUICtrlRebar_GetRowCount GUICtrlRebar_GetRowHeight GUICtrlRebar_GetTextColor GUICtrlRebar_GetToolTips GUICtrlRebar_GetUnicodeFormat GUICtrlRebar_HitTest GUICtrlRebar_IDToIndex GUICtrlRebar_MaximizeBand GUICtrlRebar_MinimizeBand GUICtrlRebar_MoveBand GUICtrlRebar_SetBandBackColor GUICtrlRebar_SetBandForeColor GUICtrlRebar_SetBandHeaderSize GUICtrlRebar_SetBandID GUICtrlRebar_SetBandIdealSize GUICtrlRebar_SetBandLength GUICtrlRebar_SetBandLParam GUICtrlRebar_SetBandStyle GUICtrlRebar_SetBandStyleBreak GUICtrlRebar_SetBandStyleChildEdge GUICtrlRebar_SetBandStyleFixedBMP GUICtrlRebar_SetBandStyleFixedSize GUICtrlRebar_SetBandStyleGripperAlways GUICtrlRebar_SetBandStyleHidden GUICtrlRebar_SetBandStyleHideTitle GUICtrlRebar_SetBandStyleNoGripper GUICtrlRebar_SetBandStyleTopAlign GUICtrlRebar_SetBandStyleUseChevron GUICtrlRebar_SetBandStyleVariableHeight GUICtrlRebar_SetBandText GUICtrlRebar_SetBarInfo GUICtrlRebar_SetBKColor GUICtrlRebar_SetColorScheme GUICtrlRebar_SetTextColor GUICtrlRebar_SetToolTips GUICtrlRebar_SetUnicodeFormat GUICtrlRebar_ShowBand GUICtrlRichEdit_AppendText GUICtrlRichEdit_AutoDetectURL GUICtrlRichEdit_CanPaste GUICtrlRichEdit_CanPasteSpecial GUICtrlRichEdit_CanRedo GUICtrlRichEdit_CanUndo GUICtrlRichEdit_ChangeFontSize GUICtrlRichEdit_Copy GUICtrlRichEdit_Create GUICtrlRichEdit_Cut GUICtrlRichEdit_Deselect GUICtrlRichEdit_Destroy GUICtrlRichEdit_EmptyUndoBuffer GUICtrlRichEdit_FindText GUICtrlRichEdit_FindTextInRange GUICtrlRichEdit_GetBkColor GUICtrlRichEdit_GetCharAttributes GUICtrlRichEdit_GetCharBkColor GUICtrlRichEdit_GetCharColor GUICtrlRichEdit_GetCharPosFromXY GUICtrlRichEdit_GetCharPosOfNextWord GUICtrlRichEdit_GetCharPosOfPreviousWord GUICtrlRichEdit_GetCharWordBreakInfo GUICtrlRichEdit_GetFirstCharPosOnLine GUICtrlRichEdit_GetFont GUICtrlRichEdit_GetLineCount GUICtrlRichEdit_GetLineLength GUICtrlRichEdit_GetLineNumberFromCharPos GUICtrlRichEdit_GetNextRedo GUICtrlRichEdit_GetNextUndo GUICtrlRichEdit_GetNumberOfFirstVisibleLine GUICtrlRichEdit_GetParaAlignment GUICtrlRichEdit_GetParaAttributes GUICtrlRichEdit_GetParaBorder GUICtrlRichEdit_GetParaIndents GUICtrlRichEdit_GetParaNumbering GUICtrlRichEdit_GetParaShading GUICtrlRichEdit_GetParaSpacing GUICtrlRichEdit_GetParaTabStops GUICtrlRichEdit_GetPasswordChar GUICtrlRichEdit_GetRECT GUICtrlRichEdit_GetScrollPos GUICtrlRichEdit_GetSel GUICtrlRichEdit_GetSelAA GUICtrlRichEdit_GetSelText GUICtrlRichEdit_GetSpaceUnit GUICtrlRichEdit_GetText GUICtrlRichEdit_GetTextInLine GUICtrlRichEdit_GetTextInRange GUICtrlRichEdit_GetTextLength GUICtrlRichEdit_GetVersion GUICtrlRichEdit_GetXYFromCharPos GUICtrlRichEdit_GetZoom GUICtrlRichEdit_GotoCharPos GUICtrlRichEdit_HideSelection GUICtrlRichEdit_InsertText GUICtrlRichEdit_IsModified GUICtrlRichEdit_IsTextSelected GUICtrlRichEdit_Paste GUICtrlRichEdit_PasteSpecial GUICtrlRichEdit_PauseRedraw GUICtrlRichEdit_Redo GUICtrlRichEdit_ReplaceText GUICtrlRichEdit_ResumeRedraw GUICtrlRichEdit_ScrollLineOrPage GUICtrlRichEdit_ScrollLines GUICtrlRichEdit_ScrollToCaret GUICtrlRichEdit_SetBkColor GUICtrlRichEdit_SetCharAttributes GUICtrlRichEdit_SetCharBkColor GUICtrlRichEdit_SetCharColor GUICtrlRichEdit_SetEventMask GUICtrlRichEdit_SetFont GUICtrlRichEdit_SetLimitOnText GUICtrlRichEdit_SetModified GUICtrlRichEdit_SetParaAlignment GUICtrlRichEdit_SetParaAttributes GUICtrlRichEdit_SetParaBorder GUICtrlRichEdit_SetParaIndents GUICtrlRichEdit_SetParaNumbering GUICtrlRichEdit_SetParaShading GUICtrlRichEdit_SetParaSpacing GUICtrlRichEdit_SetParaTabStops GUICtrlRichEdit_SetPasswordChar GUICtrlRichEdit_SetReadOnly GUICtrlRichEdit_SetRECT GUICtrlRichEdit_SetScrollPos GUICtrlRichEdit_SetSel GUICtrlRichEdit_SetSpaceUnit GUICtrlRichEdit_SetTabStops GUICtrlRichEdit_SetText GUICtrlRichEdit_SetUndoLimit GUICtrlRichEdit_SetZoom GUICtrlRichEdit_StreamFromFile GUICtrlRichEdit_StreamFromVar GUICtrlRichEdit_StreamToFile GUICtrlRichEdit_StreamToVar GUICtrlRichEdit_Undo GUICtrlSlider_ClearSel GUICtrlSlider_ClearTics GUICtrlSlider_Create GUICtrlSlider_Destroy GUICtrlSlider_GetBuddy GUICtrlSlider_GetChannelRect GUICtrlSlider_GetChannelRectEx GUICtrlSlider_GetLineSize GUICtrlSlider_GetLogicalTics GUICtrlSlider_GetNumTics GUICtrlSlider_GetPageSize GUICtrlSlider_GetPos GUICtrlSlider_GetRange GUICtrlSlider_GetRangeMax GUICtrlSlider_GetRangeMin GUICtrlSlider_GetSel GUICtrlSlider_GetSelEnd GUICtrlSlider_GetSelStart GUICtrlSlider_GetThumbLength GUICtrlSlider_GetThumbRect GUICtrlSlider_GetThumbRectEx GUICtrlSlider_GetTic GUICtrlSlider_GetTicPos GUICtrlSlider_GetToolTips GUICtrlSlider_GetUnicodeFormat GUICtrlSlider_SetBuddy GUICtrlSlider_SetLineSize GUICtrlSlider_SetPageSize GUICtrlSlider_SetPos GUICtrlSlider_SetRange GUICtrlSlider_SetRangeMax GUICtrlSlider_SetRangeMin GUICtrlSlider_SetSel GUICtrlSlider_SetSelEnd GUICtrlSlider_SetSelStart GUICtrlSlider_SetThumbLength GUICtrlSlider_SetTic GUICtrlSlider_SetTicFreq GUICtrlSlider_SetTipSide GUICtrlSlider_SetToolTips GUICtrlSlider_SetUnicodeFormat GUICtrlStatusBar_Create GUICtrlStatusBar_Destroy GUICtrlStatusBar_EmbedControl GUICtrlStatusBar_GetBorders GUICtrlStatusBar_GetBordersHorz GUICtrlStatusBar_GetBordersRect GUICtrlStatusBar_GetBordersVert GUICtrlStatusBar_GetCount GUICtrlStatusBar_GetHeight GUICtrlStatusBar_GetIcon GUICtrlStatusBar_GetParts GUICtrlStatusBar_GetRect GUICtrlStatusBar_GetRectEx GUICtrlStatusBar_GetText GUICtrlStatusBar_GetTextFlags GUICtrlStatusBar_GetTextLength GUICtrlStatusBar_GetTextLengthEx GUICtrlStatusBar_GetTipText GUICtrlStatusBar_GetUnicodeFormat GUICtrlStatusBar_GetWidth GUICtrlStatusBar_IsSimple GUICtrlStatusBar_Resize GUICtrlStatusBar_SetBkColor GUICtrlStatusBar_SetIcon GUICtrlStatusBar_SetMinHeight GUICtrlStatusBar_SetParts GUICtrlStatusBar_SetSimple GUICtrlStatusBar_SetText GUICtrlStatusBar_SetTipText GUICtrlStatusBar_SetUnicodeFormat GUICtrlStatusBar_ShowHide GUICtrlTab_ActivateTab GUICtrlTab_ClickTab GUICtrlTab_Create GUICtrlTab_DeleteAllItems GUICtrlTab_DeleteItem GUICtrlTab_DeselectAll GUICtrlTab_Destroy GUICtrlTab_FindTab GUICtrlTab_GetCurFocus GUICtrlTab_GetCurSel GUICtrlTab_GetDisplayRect GUICtrlTab_GetDisplayRectEx GUICtrlTab_GetExtendedStyle GUICtrlTab_GetImageList GUICtrlTab_GetItem GUICtrlTab_GetItemCount GUICtrlTab_GetItemImage GUICtrlTab_GetItemParam GUICtrlTab_GetItemRect GUICtrlTab_GetItemRectEx GUICtrlTab_GetItemState GUICtrlTab_GetItemText GUICtrlTab_GetRowCount GUICtrlTab_GetToolTips GUICtrlTab_GetUnicodeFormat GUICtrlTab_HighlightItem GUICtrlTab_HitTest GUICtrlTab_InsertItem GUICtrlTab_RemoveImage GUICtrlTab_SetCurFocus GUICtrlTab_SetCurSel GUICtrlTab_SetExtendedStyle GUICtrlTab_SetImageList GUICtrlTab_SetItem GUICtrlTab_SetItemImage GUICtrlTab_SetItemParam GUICtrlTab_SetItemSize GUICtrlTab_SetItemState GUICtrlTab_SetItemText GUICtrlTab_SetMinTabWidth GUICtrlTab_SetPadding GUICtrlTab_SetToolTips GUICtrlTab_SetUnicodeFormat GUICtrlToolbar_AddBitmap GUICtrlToolbar_AddButton GUICtrlToolbar_AddButtonSep GUICtrlToolbar_AddString GUICtrlToolbar_ButtonCount GUICtrlToolbar_CheckButton GUICtrlToolbar_ClickAccel GUICtrlToolbar_ClickButton GUICtrlToolbar_ClickIndex GUICtrlToolbar_CommandToIndex GUICtrlToolbar_Create GUICtrlToolbar_Customize GUICtrlToolbar_DeleteButton GUICtrlToolbar_Destroy GUICtrlToolbar_EnableButton GUICtrlToolbar_FindToolbar GUICtrlToolbar_GetAnchorHighlight GUICtrlToolbar_GetBitmapFlags GUICtrlToolbar_GetButtonBitmap GUICtrlToolbar_GetButtonInfo GUICtrlToolbar_GetButtonInfoEx GUICtrlToolbar_GetButtonParam GUICtrlToolbar_GetButtonRect GUICtrlToolbar_GetButtonRectEx GUICtrlToolbar_GetButtonSize GUICtrlToolbar_GetButtonState GUICtrlToolbar_GetButtonStyle GUICtrlToolbar_GetButtonText GUICtrlToolbar_GetColorScheme GUICtrlToolbar_GetDisabledImageList GUICtrlToolbar_GetExtendedStyle GUICtrlToolbar_GetHotImageList GUICtrlToolbar_GetHotItem GUICtrlToolbar_GetImageList GUICtrlToolbar_GetInsertMark GUICtrlToolbar_GetInsertMarkColor GUICtrlToolbar_GetMaxSize GUICtrlToolbar_GetMetrics GUICtrlToolbar_GetPadding GUICtrlToolbar_GetRows GUICtrlToolbar_GetString GUICtrlToolbar_GetStyle GUICtrlToolbar_GetStyleAltDrag GUICtrlToolbar_GetStyleCustomErase GUICtrlToolbar_GetStyleFlat GUICtrlToolbar_GetStyleList GUICtrlToolbar_GetStyleRegisterDrop GUICtrlToolbar_GetStyleToolTips GUICtrlToolbar_GetStyleTransparent GUICtrlToolbar_GetStyleWrapable GUICtrlToolbar_GetTextRows GUICtrlToolbar_GetToolTips GUICtrlToolbar_GetUnicodeFormat GUICtrlToolbar_HideButton GUICtrlToolbar_HighlightButton GUICtrlToolbar_HitTest GUICtrlToolbar_IndexToCommand GUICtrlToolbar_InsertButton GUICtrlToolbar_InsertMarkHitTest GUICtrlToolbar_IsButtonChecked GUICtrlToolbar_IsButtonEnabled GUICtrlToolbar_IsButtonHidden GUICtrlToolbar_IsButtonHighlighted GUICtrlToolbar_IsButtonIndeterminate GUICtrlToolbar_IsButtonPressed GUICtrlToolbar_LoadBitmap GUICtrlToolbar_LoadImages GUICtrlToolbar_MapAccelerator GUICtrlToolbar_MoveButton GUICtrlToolbar_PressButton GUICtrlToolbar_SetAnchorHighlight GUICtrlToolbar_SetBitmapSize GUICtrlToolbar_SetButtonBitMap GUICtrlToolbar_SetButtonInfo GUICtrlToolbar_SetButtonInfoEx GUICtrlToolbar_SetButtonParam GUICtrlToolbar_SetButtonSize GUICtrlToolbar_SetButtonState GUICtrlToolbar_SetButtonStyle GUICtrlToolbar_SetButtonText GUICtrlToolbar_SetButtonWidth GUICtrlToolbar_SetCmdID GUICtrlToolbar_SetColorScheme GUICtrlToolbar_SetDisabledImageList GUICtrlToolbar_SetDrawTextFlags GUICtrlToolbar_SetExtendedStyle GUICtrlToolbar_SetHotImageList GUICtrlToolbar_SetHotItem GUICtrlToolbar_SetImageList GUICtrlToolbar_SetIndent GUICtrlToolbar_SetIndeterminate GUICtrlToolbar_SetInsertMark GUICtrlToolbar_SetInsertMarkColor GUICtrlToolbar_SetMaxTextRows GUICtrlToolbar_SetMetrics GUICtrlToolbar_SetPadding GUICtrlToolbar_SetParent GUICtrlToolbar_SetRows GUICtrlToolbar_SetStyle GUICtrlToolbar_SetStyleAltDrag GUICtrlToolbar_SetStyleCustomErase GUICtrlToolbar_SetStyleFlat GUICtrlToolbar_SetStyleList GUICtrlToolbar_SetStyleRegisterDrop GUICtrlToolbar_SetStyleToolTips GUICtrlToolbar_SetStyleTransparent GUICtrlToolbar_SetStyleWrapable GUICtrlToolbar_SetToolTips GUICtrlToolbar_SetUnicodeFormat GUICtrlToolbar_SetWindowTheme GUICtrlTreeView_Add GUICtrlTreeView_AddChild GUICtrlTreeView_AddChildFirst GUICtrlTreeView_AddFirst GUICtrlTreeView_BeginUpdate GUICtrlTreeView_ClickItem GUICtrlTreeView_Create GUICtrlTreeView_CreateDragImage GUICtrlTreeView_CreateSolidBitMap GUICtrlTreeView_Delete GUICtrlTreeView_DeleteAll GUICtrlTreeView_DeleteChildren GUICtrlTreeView_Destroy GUICtrlTreeView_DisplayRect GUICtrlTreeView_DisplayRectEx GUICtrlTreeView_EditText GUICtrlTreeView_EndEdit GUICtrlTreeView_EndUpdate GUICtrlTreeView_EnsureVisible GUICtrlTreeView_Expand GUICtrlTreeView_ExpandedOnce GUICtrlTreeView_FindItem GUICtrlTreeView_FindItemEx GUICtrlTreeView_GetBkColor GUICtrlTreeView_GetBold GUICtrlTreeView_GetChecked GUICtrlTreeView_GetChildCount GUICtrlTreeView_GetChildren GUICtrlTreeView_GetCount GUICtrlTreeView_GetCut GUICtrlTreeView_GetDropTarget GUICtrlTreeView_GetEditControl GUICtrlTreeView_GetExpanded GUICtrlTreeView_GetFirstChild GUICtrlTreeView_GetFirstItem GUICtrlTreeView_GetFirstVisible GUICtrlTreeView_GetFocused GUICtrlTreeView_GetHeight GUICtrlTreeView_GetImageIndex GUICtrlTreeView_GetImageListIconHandle GUICtrlTreeView_GetIndent GUICtrlTreeView_GetInsertMarkColor GUICtrlTreeView_GetISearchString GUICtrlTreeView_GetItemByIndex GUICtrlTreeView_GetItemHandle GUICtrlTreeView_GetItemParam GUICtrlTreeView_GetLastChild GUICtrlTreeView_GetLineColor GUICtrlTreeView_GetNext GUICtrlTreeView_GetNextChild GUICtrlTreeView_GetNextSibling GUICtrlTreeView_GetNextVisible GUICtrlTreeView_GetNormalImageList GUICtrlTreeView_GetParentHandle GUICtrlTreeView_GetParentParam GUICtrlTreeView_GetPrev GUICtrlTreeView_GetPrevChild GUICtrlTreeView_GetPrevSibling GUICtrlTreeView_GetPrevVisible GUICtrlTreeView_GetScrollTime GUICtrlTreeView_GetSelected GUICtrlTreeView_GetSelectedImageIndex GUICtrlTreeView_GetSelection GUICtrlTreeView_GetSiblingCount GUICtrlTreeView_GetState GUICtrlTreeView_GetStateImageIndex GUICtrlTreeView_GetStateImageList GUICtrlTreeView_GetText GUICtrlTreeView_GetTextColor GUICtrlTreeView_GetToolTips GUICtrlTreeView_GetTree GUICtrlTreeView_GetUnicodeFormat GUICtrlTreeView_GetVisible GUICtrlTreeView_GetVisibleCount GUICtrlTreeView_HitTest GUICtrlTreeView_HitTestEx GUICtrlTreeView_HitTestItem GUICtrlTreeView_Index GUICtrlTreeView_InsertItem GUICtrlTreeView_IsFirstItem GUICtrlTreeView_IsParent GUICtrlTreeView_Level GUICtrlTreeView_SelectItem GUICtrlTreeView_SelectItemByIndex GUICtrlTreeView_SetBkColor GUICtrlTreeView_SetBold GUICtrlTreeView_SetChecked GUICtrlTreeView_SetCheckedByIndex GUICtrlTreeView_SetChildren GUICtrlTreeView_SetCut GUICtrlTreeView_SetDropTarget GUICtrlTreeView_SetFocused GUICtrlTreeView_SetHeight GUICtrlTreeView_SetIcon GUICtrlTreeView_SetImageIndex GUICtrlTreeView_SetIndent GUICtrlTreeView_SetInsertMark GUICtrlTreeView_SetInsertMarkColor GUICtrlTreeView_SetItemHeight GUICtrlTreeView_SetItemParam GUICtrlTreeView_SetLineColor GUICtrlTreeView_SetNormalImageList GUICtrlTreeView_SetScrollTime GUICtrlTreeView_SetSelected GUICtrlTreeView_SetSelectedImageIndex GUICtrlTreeView_SetState GUICtrlTreeView_SetStateImageIndex GUICtrlTreeView_SetStateImageList GUICtrlTreeView_SetText GUICtrlTreeView_SetTextColor GUICtrlTreeView_SetToolTips GUICtrlTreeView_SetUnicodeFormat GUICtrlTreeView_Sort GUIImageList_Add GUIImageList_AddBitmap GUIImageList_AddIcon GUIImageList_AddMasked GUIImageList_BeginDrag GUIImageList_Copy GUIImageList_Create GUIImageList_Destroy GUIImageList_DestroyIcon GUIImageList_DragEnter GUIImageList_DragLeave GUIImageList_DragMove GUIImageList_Draw GUIImageList_DrawEx GUIImageList_Duplicate GUIImageList_EndDrag GUIImageList_GetBkColor GUIImageList_GetIcon GUIImageList_GetIconHeight GUIImageList_GetIconSize GUIImageList_GetIconSizeEx GUIImageList_GetIconWidth GUIImageList_GetImageCount GUIImageList_GetImageInfoEx GUIImageList_Remove GUIImageList_ReplaceIcon GUIImageList_SetBkColor GUIImageList_SetIconSize GUIImageList_SetImageCount GUIImageList_Swap GUIScrollBars_EnableScrollBar GUIScrollBars_GetScrollBarInfoEx GUIScrollBars_GetScrollBarRect GUIScrollBars_GetScrollBarRGState GUIScrollBars_GetScrollBarXYLineButton GUIScrollBars_GetScrollBarXYThumbBottom GUIScrollBars_GetScrollBarXYThumbTop GUIScrollBars_GetScrollInfo GUIScrollBars_GetScrollInfoEx GUIScrollBars_GetScrollInfoMax GUIScrollBars_GetScrollInfoMin GUIScrollBars_GetScrollInfoPage GUIScrollBars_GetScrollInfoPos GUIScrollBars_GetScrollInfoTrackPos GUIScrollBars_GetScrollPos GUIScrollBars_GetScrollRange GUIScrollBars_Init GUIScrollBars_ScrollWindow GUIScrollBars_SetScrollInfo GUIScrollBars_SetScrollInfoMax GUIScrollBars_SetScrollInfoMin GUIScrollBars_SetScrollInfoPage GUIScrollBars_SetScrollInfoPos GUIScrollBars_SetScrollRange GUIScrollBars_ShowScrollBar GUIToolTip_Activate GUIToolTip_AddTool GUIToolTip_AdjustRect GUIToolTip_BitsToTTF GUIToolTip_Create GUIToolTip_Deactivate GUIToolTip_DelTool GUIToolTip_Destroy GUIToolTip_EnumTools GUIToolTip_GetBubbleHeight GUIToolTip_GetBubbleSize GUIToolTip_GetBubbleWidth GUIToolTip_GetCurrentTool GUIToolTip_GetDelayTime GUIToolTip_GetMargin GUIToolTip_GetMarginEx GUIToolTip_GetMaxTipWidth GUIToolTip_GetText GUIToolTip_GetTipBkColor GUIToolTip_GetTipTextColor GUIToolTip_GetTitleBitMap GUIToolTip_GetTitleText GUIToolTip_GetToolCount GUIToolTip_GetToolInfo GUIToolTip_HitTest GUIToolTip_NewToolRect GUIToolTip_Pop GUIToolTip_PopUp GUIToolTip_SetDelayTime GUIToolTip_SetMargin GUIToolTip_SetMaxTipWidth GUIToolTip_SetTipBkColor GUIToolTip_SetTipTextColor GUIToolTip_SetTitle GUIToolTip_SetToolInfo GUIToolTip_SetWindowTheme GUIToolTip_ToolExists GUIToolTip_ToolToArray GUIToolTip_TrackActivate GUIToolTip_TrackPosition GUIToolTip_Update GUIToolTip_UpdateTipText HexToString IEAction IEAttach IEBodyReadHTML IEBodyReadText IEBodyWriteHTML IECreate IECreateEmbedded IEDocGetObj IEDocInsertHTML IEDocInsertText IEDocReadHTML IEDocWriteHTML IEErrorNotify IEFormElementCheckBoxSelect IEFormElementGetCollection IEFormElementGetObjByName IEFormElementGetValue IEFormElementOptionSelect IEFormElementRadioSelect IEFormElementSetValue IEFormGetCollection IEFormGetObjByName IEFormImageClick IEFormReset IEFormSubmit IEFrameGetCollection IEFrameGetObjByName IEGetObjById IEGetObjByName IEHeadInsertEventScript IEImgClick IEImgGetCollection IEIsFrameSet IELinkClickByIndex IELinkClickByText IELinkGetCollection IELoadWait IELoadWaitTimeout IENavigate IEPropertyGet IEPropertySet IEQuit IETableGetCollection IETableWriteToArray IETagNameAllGetCollection IETagNameGetCollection IE_Example IE_Introduction IE_VersionInfo INetExplorerCapable INetGetSource INetMail INetSmtpMail IsPressed MathCheckDiv Max MemGlobalAlloc MemGlobalFree MemGlobalLock MemGlobalSize MemGlobalUnlock MemMoveMemory MemVirtualAlloc MemVirtualAllocEx MemVirtualFree MemVirtualFreeEx Min MouseTrap NamedPipes_CallNamedPipe NamedPipes_ConnectNamedPipe NamedPipes_CreateNamedPipe NamedPipes_CreatePipe NamedPipes_DisconnectNamedPipe NamedPipes_GetNamedPipeHandleState NamedPipes_GetNamedPipeInfo NamedPipes_PeekNamedPipe NamedPipes_SetNamedPipeHandleState NamedPipes_TransactNamedPipe NamedPipes_WaitNamedPipe Net_Share_ConnectionEnum Net_Share_FileClose Net_Share_FileEnum Net_Share_FileGetInfo Net_Share_PermStr Net_Share_ResourceStr Net_Share_SessionDel Net_Share_SessionEnum Net_Share_SessionGetInfo Net_Share_ShareAdd Net_Share_ShareCheck Net_Share_ShareDel Net_Share_ShareEnum Net_Share_ShareGetInfo Net_Share_ShareSetInfo Net_Share_StatisticsGetSvr Net_Share_StatisticsGetWrk Now NowCalc NowCalcDate NowDate NowTime PathFull PathGetRelative PathMake PathSplit ProcessGetName ProcessGetPriority Radian ReplaceStringInFile RunDos ScreenCapture_Capture ScreenCapture_CaptureWnd ScreenCapture_SaveImage ScreenCapture_SetBMPFormat ScreenCapture_SetJPGQuality ScreenCapture_SetTIFColorDepth ScreenCapture_SetTIFCompression Security__AdjustTokenPrivileges Security__CreateProcessWithToken Security__DuplicateTokenEx Security__GetAccountSid Security__GetLengthSid Security__GetTokenInformation Security__ImpersonateSelf Security__IsValidSid Security__LookupAccountName Security__LookupAccountSid Security__LookupPrivilegeValue Security__OpenProcessToken Security__OpenThreadToken Security__OpenThreadTokenEx Security__SetPrivilege Security__SetTokenInformation Security__SidToStringSid Security__SidTypeStr Security__StringSidToSid SendMessage SendMessageA SetDate SetTime Singleton SoundClose SoundLength SoundOpen SoundPause SoundPlay SoundPos SoundResume SoundSeek SoundStatus SoundStop SQLite_Changes SQLite_Close SQLite_Display2DResult SQLite_Encode SQLite_ErrCode SQLite_ErrMsg SQLite_Escape SQLite_Exec SQLite_FastEncode SQLite_FastEscape SQLite_FetchData SQLite_FetchNames SQLite_GetTable SQLite_GetTable2d SQLite_LastInsertRowID SQLite_LibVersion SQLite_Open SQLite_Query SQLite_QueryFinalize SQLite_QueryReset SQLite_QuerySingleRow SQLite_SafeMode SQLite_SetTimeout SQLite_Shutdown SQLite_SQLiteExe SQLite_Startup SQLite_TotalChanges StringBetween StringExplode StringInsert StringProper StringRepeat StringTitleCase StringToHex TCPIpToName TempFile TicksToTime Timer_Diff Timer_GetIdleTime Timer_GetTimerID Timer_Init Timer_KillAllTimers Timer_KillTimer Timer_SetTimer TimeToTicks VersionCompare viClose viExecCommand viFindGpib viGpibBusReset viGTL viInteractiveControl viOpen viSetAttribute viSetTimeout WeekNumberISO WinAPI_AbortPath WinAPI_ActivateKeyboardLayout WinAPI_AddClipboardFormatListener WinAPI_AddFontMemResourceEx WinAPI_AddFontResourceEx WinAPI_AddIconOverlay WinAPI_AddIconTransparency WinAPI_AddMRUString WinAPI_AdjustBitmap WinAPI_AdjustTokenPrivileges WinAPI_AdjustWindowRectEx WinAPI_AlphaBlend WinAPI_AngleArc WinAPI_AnimateWindow WinAPI_Arc WinAPI_ArcTo WinAPI_ArrayToStruct WinAPI_AssignProcessToJobObject WinAPI_AssocGetPerceivedType WinAPI_AssocQueryString WinAPI_AttachConsole WinAPI_AttachThreadInput WinAPI_BackupRead WinAPI_BackupReadAbort WinAPI_BackupSeek WinAPI_BackupWrite WinAPI_BackupWriteAbort WinAPI_Beep WinAPI_BeginBufferedPaint WinAPI_BeginDeferWindowPos WinAPI_BeginPaint WinAPI_BeginPath WinAPI_BeginUpdateResource WinAPI_BitBlt WinAPI_BringWindowToTop WinAPI_BroadcastSystemMessage WinAPI_BrowseForFolderDlg WinAPI_BufferedPaintClear WinAPI_BufferedPaintInit WinAPI_BufferedPaintSetAlpha WinAPI_BufferedPaintUnInit WinAPI_CallNextHookEx WinAPI_CallWindowProc WinAPI_CallWindowProcW WinAPI_CascadeWindows WinAPI_ChangeWindowMessageFilterEx WinAPI_CharToOem WinAPI_ChildWindowFromPointEx WinAPI_ClientToScreen WinAPI_ClipCursor WinAPI_CloseDesktop WinAPI_CloseEnhMetaFile WinAPI_CloseFigure WinAPI_CloseHandle WinAPI_CloseThemeData WinAPI_CloseWindow WinAPI_CloseWindowStation WinAPI_CLSIDFromProgID WinAPI_CoInitialize WinAPI_ColorAdjustLuma WinAPI_ColorHLSToRGB WinAPI_ColorRGBToHLS WinAPI_CombineRgn WinAPI_CombineTransform WinAPI_CommandLineToArgv WinAPI_CommDlgExtendedError WinAPI_CommDlgExtendedErrorEx WinAPI_CompareString WinAPI_CompressBitmapBits WinAPI_CompressBuffer WinAPI_ComputeCrc32 WinAPI_ConfirmCredentials WinAPI_CopyBitmap WinAPI_CopyCursor WinAPI_CopyEnhMetaFile WinAPI_CopyFileEx WinAPI_CopyIcon WinAPI_CopyImage WinAPI_CopyRect WinAPI_CopyStruct WinAPI_CoTaskMemAlloc WinAPI_CoTaskMemFree WinAPI_CoTaskMemRealloc WinAPI_CoUninitialize WinAPI_Create32BitHBITMAP WinAPI_Create32BitHICON WinAPI_CreateANDBitmap WinAPI_CreateBitmap WinAPI_CreateBitmapIndirect WinAPI_CreateBrushIndirect WinAPI_CreateBuffer WinAPI_CreateBufferFromStruct WinAPI_CreateCaret WinAPI_CreateColorAdjustment WinAPI_CreateCompatibleBitmap WinAPI_CreateCompatibleBitmapEx WinAPI_CreateCompatibleDC WinAPI_CreateDesktop WinAPI_CreateDIB WinAPI_CreateDIBColorTable WinAPI_CreateDIBitmap WinAPI_CreateDIBSection WinAPI_CreateDirectory WinAPI_CreateDirectoryEx WinAPI_CreateEllipticRgn WinAPI_CreateEmptyIcon WinAPI_CreateEnhMetaFile WinAPI_CreateEvent WinAPI_CreateFile WinAPI_CreateFileEx WinAPI_CreateFileMapping WinAPI_CreateFont WinAPI_CreateFontEx WinAPI_CreateFontIndirect WinAPI_CreateGUID WinAPI_CreateHardLink WinAPI_CreateIcon WinAPI_CreateIconFromResourceEx WinAPI_CreateIconIndirect WinAPI_CreateJobObject WinAPI_CreateMargins WinAPI_CreateMRUList WinAPI_CreateMutex WinAPI_CreateNullRgn WinAPI_CreateNumberFormatInfo WinAPI_CreateObjectID WinAPI_CreatePen WinAPI_CreatePoint WinAPI_CreatePolygonRgn WinAPI_CreateProcess WinAPI_CreateProcessWithToken WinAPI_CreateRect WinAPI_CreateRectEx WinAPI_CreateRectRgn WinAPI_CreateRectRgnIndirect WinAPI_CreateRoundRectRgn WinAPI_CreateSemaphore WinAPI_CreateSize WinAPI_CreateSolidBitmap WinAPI_CreateSolidBrush WinAPI_CreateStreamOnHGlobal WinAPI_CreateString WinAPI_CreateSymbolicLink WinAPI_CreateTransform WinAPI_CreateWindowEx WinAPI_CreateWindowStation WinAPI_DecompressBuffer WinAPI_DecryptFile WinAPI_DeferWindowPos WinAPI_DefineDosDevice WinAPI_DefRawInputProc WinAPI_DefSubclassProc WinAPI_DefWindowProc WinAPI_DefWindowProcW WinAPI_DeleteDC WinAPI_DeleteEnhMetaFile WinAPI_DeleteFile WinAPI_DeleteObject WinAPI_DeleteObjectID WinAPI_DeleteVolumeMountPoint WinAPI_DeregisterShellHookWindow WinAPI_DestroyCaret WinAPI_DestroyCursor WinAPI_DestroyIcon WinAPI_DestroyWindow WinAPI_DeviceIoControl WinAPI_DisplayStruct WinAPI_DllGetVersion WinAPI_DllInstall WinAPI_DllUninstall WinAPI_DPtoLP WinAPI_DragAcceptFiles WinAPI_DragFinish WinAPI_DragQueryFileEx WinAPI_DragQueryPoint WinAPI_DrawAnimatedRects WinAPI_DrawBitmap WinAPI_DrawEdge WinAPI_DrawFocusRect WinAPI_DrawFrameControl WinAPI_DrawIcon WinAPI_DrawIconEx WinAPI_DrawLine WinAPI_DrawShadowText WinAPI_DrawText WinAPI_DrawThemeBackground WinAPI_DrawThemeEdge WinAPI_DrawThemeIcon WinAPI_DrawThemeParentBackground WinAPI_DrawThemeText WinAPI_DrawThemeTextEx WinAPI_DuplicateEncryptionInfoFile WinAPI_DuplicateHandle WinAPI_DuplicateTokenEx WinAPI_DwmDefWindowProc WinAPI_DwmEnableBlurBehindWindow WinAPI_DwmEnableComposition WinAPI_DwmExtendFrameIntoClientArea WinAPI_DwmGetColorizationColor WinAPI_DwmGetColorizationParameters WinAPI_DwmGetWindowAttribute WinAPI_DwmInvalidateIconicBitmaps WinAPI_DwmIsCompositionEnabled WinAPI_DwmQueryThumbnailSourceSize WinAPI_DwmRegisterThumbnail WinAPI_DwmSetColorizationParameters WinAPI_DwmSetIconicLivePreviewBitmap WinAPI_DwmSetIconicThumbnail WinAPI_DwmSetWindowAttribute WinAPI_DwmUnregisterThumbnail WinAPI_DwmUpdateThumbnailProperties WinAPI_DWordToFloat WinAPI_DWordToInt WinAPI_EjectMedia WinAPI_Ellipse WinAPI_EmptyWorkingSet WinAPI_EnableWindow WinAPI_EncryptFile WinAPI_EncryptionDisable WinAPI_EndBufferedPaint WinAPI_EndDeferWindowPos WinAPI_EndPaint WinAPI_EndPath WinAPI_EndUpdateResource WinAPI_EnumChildProcess WinAPI_EnumChildWindows WinAPI_EnumDesktops WinAPI_EnumDesktopWindows WinAPI_EnumDeviceDrivers WinAPI_EnumDisplayDevices WinAPI_EnumDisplayMonitors WinAPI_EnumDisplaySettings WinAPI_EnumDllProc WinAPI_EnumFiles WinAPI_EnumFileStreams WinAPI_EnumFontFamilies WinAPI_EnumHardLinks WinAPI_EnumMRUList WinAPI_EnumPageFiles WinAPI_EnumProcessHandles WinAPI_EnumProcessModules WinAPI_EnumProcessThreads WinAPI_EnumProcessWindows WinAPI_EnumRawInputDevices WinAPI_EnumResourceLanguages WinAPI_EnumResourceNames WinAPI_EnumResourceTypes WinAPI_EnumSystemGeoID WinAPI_EnumSystemLocales WinAPI_EnumUILanguages WinAPI_EnumWindows WinAPI_EnumWindowsPopup WinAPI_EnumWindowStations WinAPI_EnumWindowsTop WinAPI_EqualMemory WinAPI_EqualRect WinAPI_EqualRgn WinAPI_ExcludeClipRect WinAPI_ExpandEnvironmentStrings WinAPI_ExtCreatePen WinAPI_ExtCreateRegion WinAPI_ExtFloodFill WinAPI_ExtractIcon WinAPI_ExtractIconEx WinAPI_ExtSelectClipRgn WinAPI_FatalAppExit WinAPI_FatalExit WinAPI_FileEncryptionStatus WinAPI_FileExists WinAPI_FileIconInit WinAPI_FileInUse WinAPI_FillMemory WinAPI_FillPath WinAPI_FillRect WinAPI_FillRgn WinAPI_FindClose WinAPI_FindCloseChangeNotification WinAPI_FindExecutable WinAPI_FindFirstChangeNotification WinAPI_FindFirstFile WinAPI_FindFirstFileName WinAPI_FindFirstStream WinAPI_FindNextChangeNotification WinAPI_FindNextFile WinAPI_FindNextFileName WinAPI_FindNextStream WinAPI_FindResource WinAPI_FindResourceEx WinAPI_FindTextDlg WinAPI_FindWindow WinAPI_FlashWindow WinAPI_FlashWindowEx WinAPI_FlattenPath WinAPI_FloatToDWord WinAPI_FloatToInt WinAPI_FlushFileBuffers WinAPI_FlushFRBuffer WinAPI_FlushViewOfFile WinAPI_FormatDriveDlg WinAPI_FormatMessage WinAPI_FrameRect WinAPI_FrameRgn WinAPI_FreeLibrary WinAPI_FreeMemory WinAPI_FreeMRUList WinAPI_FreeResource WinAPI_GdiComment WinAPI_GetActiveWindow WinAPI_GetAllUsersProfileDirectory WinAPI_GetAncestor WinAPI_GetApplicationRestartSettings WinAPI_GetArcDirection WinAPI_GetAsyncKeyState WinAPI_GetBinaryType WinAPI_GetBitmapBits WinAPI_GetBitmapDimension WinAPI_GetBitmapDimensionEx WinAPI_GetBkColor WinAPI_GetBkMode WinAPI_GetBoundsRect WinAPI_GetBrushOrg WinAPI_GetBufferedPaintBits WinAPI_GetBufferedPaintDC WinAPI_GetBufferedPaintTargetDC WinAPI_GetBufferedPaintTargetRect WinAPI_GetBValue WinAPI_GetCaretBlinkTime WinAPI_GetCaretPos WinAPI_GetCDType WinAPI_GetClassInfoEx WinAPI_GetClassLongEx WinAPI_GetClassName WinAPI_GetClientHeight WinAPI_GetClientRect WinAPI_GetClientWidth WinAPI_GetClipboardSequenceNumber WinAPI_GetClipBox WinAPI_GetClipCursor WinAPI_GetClipRgn WinAPI_GetColorAdjustment WinAPI_GetCompressedFileSize WinAPI_GetCompression WinAPI_GetConnectedDlg WinAPI_GetCurrentDirectory WinAPI_GetCurrentHwProfile WinAPI_GetCurrentObject WinAPI_GetCurrentPosition WinAPI_GetCurrentProcess WinAPI_GetCurrentProcessExplicitAppUserModelID WinAPI_GetCurrentProcessID WinAPI_GetCurrentThemeName WinAPI_GetCurrentThread WinAPI_GetCurrentThreadId WinAPI_GetCursor WinAPI_GetCursorInfo WinAPI_GetDateFormat WinAPI_GetDC WinAPI_GetDCEx WinAPI_GetDefaultPrinter WinAPI_GetDefaultUserProfileDirectory WinAPI_GetDesktopWindow WinAPI_GetDeviceCaps WinAPI_GetDeviceDriverBaseName WinAPI_GetDeviceDriverFileName WinAPI_GetDeviceGammaRamp WinAPI_GetDIBColorTable WinAPI_GetDIBits WinAPI_GetDiskFreeSpaceEx WinAPI_GetDlgCtrlID WinAPI_GetDlgItem WinAPI_GetDllDirectory WinAPI_GetDriveBusType WinAPI_GetDriveGeometryEx WinAPI_GetDriveNumber WinAPI_GetDriveType WinAPI_GetDurationFormat WinAPI_GetEffectiveClientRect WinAPI_GetEnhMetaFile WinAPI_GetEnhMetaFileBits WinAPI_GetEnhMetaFileDescription WinAPI_GetEnhMetaFileDimension WinAPI_GetEnhMetaFileHeader WinAPI_GetErrorMessage WinAPI_GetErrorMode WinAPI_GetExitCodeProcess WinAPI_GetExtended WinAPI_GetFileAttributes WinAPI_GetFileID WinAPI_GetFileInformationByHandle WinAPI_GetFileInformationByHandleEx WinAPI_GetFilePointerEx WinAPI_GetFileSizeEx WinAPI_GetFileSizeOnDisk WinAPI_GetFileTitle WinAPI_GetFileType WinAPI_GetFileVersionInfo WinAPI_GetFinalPathNameByHandle WinAPI_GetFinalPathNameByHandleEx WinAPI_GetFocus WinAPI_GetFontMemoryResourceInfo WinAPI_GetFontName WinAPI_GetFontResourceInfo WinAPI_GetForegroundWindow WinAPI_GetFRBuffer WinAPI_GetFullPathName WinAPI_GetGeoInfo WinAPI_GetGlyphOutline WinAPI_GetGraphicsMode WinAPI_GetGuiResources WinAPI_GetGUIThreadInfo WinAPI_GetGValue WinAPI_GetHandleInformation WinAPI_GetHGlobalFromStream WinAPI_GetIconDimension WinAPI_GetIconInfo WinAPI_GetIconInfoEx WinAPI_GetIdleTime WinAPI_GetKeyboardLayout WinAPI_GetKeyboardLayoutList WinAPI_GetKeyboardState WinAPI_GetKeyboardType WinAPI_GetKeyNameText WinAPI_GetKeyState WinAPI_GetLastActivePopup WinAPI_GetLastError WinAPI_GetLastErrorMessage WinAPI_GetLayeredWindowAttributes WinAPI_GetLocaleInfo WinAPI_GetLogicalDrives WinAPI_GetMapMode WinAPI_GetMemorySize WinAPI_GetMessageExtraInfo WinAPI_GetModuleFileNameEx WinAPI_GetModuleHandle WinAPI_GetModuleHandleEx WinAPI_GetModuleInformation WinAPI_GetMonitorInfo WinAPI_GetMousePos WinAPI_GetMousePosX WinAPI_GetMousePosY WinAPI_GetMUILanguage WinAPI_GetNumberFormat WinAPI_GetObject WinAPI_GetObjectID WinAPI_GetObjectInfoByHandle WinAPI_GetObjectNameByHandle WinAPI_GetObjectType WinAPI_GetOpenFileName WinAPI_GetOutlineTextMetrics WinAPI_GetOverlappedResult WinAPI_GetParent WinAPI_GetParentProcess WinAPI_GetPerformanceInfo WinAPI_GetPEType WinAPI_GetPhysicallyInstalledSystemMemory WinAPI_GetPixel WinAPI_GetPolyFillMode WinAPI_GetPosFromRect WinAPI_GetPriorityClass WinAPI_GetProcAddress WinAPI_GetProcessAffinityMask WinAPI_GetProcessCommandLine WinAPI_GetProcessFileName WinAPI_GetProcessHandleCount WinAPI_GetProcessID WinAPI_GetProcessIoCounters WinAPI_GetProcessMemoryInfo WinAPI_GetProcessName WinAPI_GetProcessShutdownParameters WinAPI_GetProcessTimes WinAPI_GetProcessUser WinAPI_GetProcessWindowStation WinAPI_GetProcessWorkingDirectory WinAPI_GetProfilesDirectory WinAPI_GetPwrCapabilities WinAPI_GetRawInputBuffer WinAPI_GetRawInputBufferLength WinAPI_GetRawInputData WinAPI_GetRawInputDeviceInfo WinAPI_GetRegionData WinAPI_GetRegisteredRawInputDevices WinAPI_GetRegKeyNameByHandle WinAPI_GetRgnBox WinAPI_GetROP2 WinAPI_GetRValue WinAPI_GetSaveFileName WinAPI_GetShellWindow WinAPI_GetStartupInfo WinAPI_GetStdHandle WinAPI_GetStockObject WinAPI_GetStretchBltMode WinAPI_GetString WinAPI_GetSysColor WinAPI_GetSysColorBrush WinAPI_GetSystemDefaultLangID WinAPI_GetSystemDefaultLCID WinAPI_GetSystemDefaultUILanguage WinAPI_GetSystemDEPPolicy WinAPI_GetSystemInfo WinAPI_GetSystemMetrics WinAPI_GetSystemPowerStatus WinAPI_GetSystemTimes WinAPI_GetSystemWow64Directory WinAPI_GetTabbedTextExtent WinAPI_GetTempFileName WinAPI_GetTextAlign WinAPI_GetTextCharacterExtra WinAPI_GetTextColor WinAPI_GetTextExtentPoint32 WinAPI_GetTextFace WinAPI_GetTextMetrics WinAPI_GetThemeAppProperties WinAPI_GetThemeBackgroundContentRect WinAPI_GetThemeBackgroundExtent WinAPI_GetThemeBackgroundRegion WinAPI_GetThemeBitmap WinAPI_GetThemeBool WinAPI_GetThemeColor WinAPI_GetThemeDocumentationProperty WinAPI_GetThemeEnumValue WinAPI_GetThemeFilename WinAPI_GetThemeFont WinAPI_GetThemeInt WinAPI_GetThemeMargins WinAPI_GetThemeMetric WinAPI_GetThemePartSize WinAPI_GetThemePosition WinAPI_GetThemePropertyOrigin WinAPI_GetThemeRect WinAPI_GetThemeString WinAPI_GetThemeSysBool WinAPI_GetThemeSysColor WinAPI_GetThemeSysColorBrush WinAPI_GetThemeSysFont WinAPI_GetThemeSysInt WinAPI_GetThemeSysSize WinAPI_GetThemeSysString WinAPI_GetThemeTextExtent WinAPI_GetThemeTextMetrics WinAPI_GetThemeTransitionDuration WinAPI_GetThreadDesktop WinAPI_GetThreadErrorMode WinAPI_GetThreadLocale WinAPI_GetThreadUILanguage WinAPI_GetTickCount WinAPI_GetTickCount64 WinAPI_GetTimeFormat WinAPI_GetTopWindow WinAPI_GetUDFColorMode WinAPI_GetUpdateRect WinAPI_GetUpdateRgn WinAPI_GetUserDefaultLangID WinAPI_GetUserDefaultLCID WinAPI_GetUserDefaultUILanguage WinAPI_GetUserGeoID WinAPI_GetUserObjectInformation WinAPI_GetVersion WinAPI_GetVersionEx WinAPI_GetVolumeInformation WinAPI_GetVolumeInformationByHandle WinAPI_GetVolumeNameForVolumeMountPoint WinAPI_GetWindow WinAPI_GetWindowDC WinAPI_GetWindowDisplayAffinity WinAPI_GetWindowExt WinAPI_GetWindowFileName WinAPI_GetWindowHeight WinAPI_GetWindowInfo WinAPI_GetWindowLong WinAPI_GetWindowOrg WinAPI_GetWindowPlacement WinAPI_GetWindowRect WinAPI_GetWindowRgn WinAPI_GetWindowRgnBox WinAPI_GetWindowSubclass WinAPI_GetWindowText WinAPI_GetWindowTheme WinAPI_GetWindowThreadProcessId WinAPI_GetWindowWidth WinAPI_GetWorkArea WinAPI_GetWorldTransform WinAPI_GetXYFromPoint WinAPI_GlobalMemoryStatus WinAPI_GradientFill WinAPI_GUIDFromString WinAPI_GUIDFromStringEx WinAPI_HashData WinAPI_HashString WinAPI_HiByte WinAPI_HideCaret WinAPI_HiDWord WinAPI_HiWord WinAPI_InflateRect WinAPI_InitMUILanguage WinAPI_InProcess WinAPI_IntersectClipRect WinAPI_IntersectRect WinAPI_IntToDWord WinAPI_IntToFloat WinAPI_InvalidateRect WinAPI_InvalidateRgn WinAPI_InvertANDBitmap WinAPI_InvertColor WinAPI_InvertRect WinAPI_InvertRgn WinAPI_IOCTL WinAPI_IsAlphaBitmap WinAPI_IsBadCodePtr WinAPI_IsBadReadPtr WinAPI_IsBadStringPtr WinAPI_IsBadWritePtr WinAPI_IsChild WinAPI_IsClassName WinAPI_IsDoorOpen WinAPI_IsElevated WinAPI_IsHungAppWindow WinAPI_IsIconic WinAPI_IsInternetConnected WinAPI_IsLoadKBLayout WinAPI_IsMemory WinAPI_IsNameInExpression WinAPI_IsNetworkAlive WinAPI_IsPathShared WinAPI_IsProcessInJob WinAPI_IsProcessorFeaturePresent WinAPI_IsRectEmpty WinAPI_IsThemeActive WinAPI_IsThemeBackgroundPartiallyTransparent WinAPI_IsThemePartDefined WinAPI_IsValidLocale WinAPI_IsWindow WinAPI_IsWindowEnabled WinAPI_IsWindowUnicode WinAPI_IsWindowVisible WinAPI_IsWow64Process WinAPI_IsWritable WinAPI_IsZoomed WinAPI_Keybd_Event WinAPI_KillTimer WinAPI_LineDDA WinAPI_LineTo WinAPI_LoadBitmap WinAPI_LoadCursor WinAPI_LoadCursorFromFile WinAPI_LoadIcon WinAPI_LoadIconMetric WinAPI_LoadIconWithScaleDown WinAPI_LoadImage WinAPI_LoadIndirectString WinAPI_LoadKeyboardLayout WinAPI_LoadLibrary WinAPI_LoadLibraryEx WinAPI_LoadMedia WinAPI_LoadResource WinAPI_LoadShell32Icon WinAPI_LoadString WinAPI_LoadStringEx WinAPI_LoByte WinAPI_LocalFree WinAPI_LockDevice WinAPI_LockFile WinAPI_LockResource WinAPI_LockWindowUpdate WinAPI_LockWorkStation WinAPI_LoDWord WinAPI_LongMid WinAPI_LookupIconIdFromDirectoryEx WinAPI_LoWord WinAPI_LPtoDP WinAPI_MAKELANGID WinAPI_MAKELCID WinAPI_MakeLong WinAPI_MakeQWord WinAPI_MakeWord WinAPI_MapViewOfFile WinAPI_MapVirtualKey WinAPI_MaskBlt WinAPI_MessageBeep WinAPI_MessageBoxCheck WinAPI_MessageBoxIndirect WinAPI_MirrorIcon WinAPI_ModifyWorldTransform WinAPI_MonitorFromPoint WinAPI_MonitorFromRect WinAPI_MonitorFromWindow WinAPI_Mouse_Event WinAPI_MoveFileEx WinAPI_MoveMemory WinAPI_MoveTo WinAPI_MoveToEx WinAPI_MoveWindow WinAPI_MsgBox WinAPI_MulDiv WinAPI_MultiByteToWideChar WinAPI_MultiByteToWideCharEx WinAPI_NtStatusToDosError WinAPI_OemToChar WinAPI_OffsetClipRgn WinAPI_OffsetPoints WinAPI_OffsetRect WinAPI_OffsetRgn WinAPI_OffsetWindowOrg WinAPI_OpenDesktop WinAPI_OpenFileById WinAPI_OpenFileDlg WinAPI_OpenFileMapping WinAPI_OpenIcon WinAPI_OpenInputDesktop WinAPI_OpenJobObject WinAPI_OpenMutex WinAPI_OpenProcess WinAPI_OpenProcessToken WinAPI_OpenSemaphore WinAPI_OpenThemeData WinAPI_OpenWindowStation WinAPI_PageSetupDlg WinAPI_PaintDesktop WinAPI_PaintRgn WinAPI_ParseURL WinAPI_ParseUserName WinAPI_PatBlt WinAPI_PathAddBackslash WinAPI_PathAddExtension WinAPI_PathAppend WinAPI_PathBuildRoot WinAPI_PathCanonicalize WinAPI_PathCommonPrefix WinAPI_PathCompactPath WinAPI_PathCompactPathEx WinAPI_PathCreateFromUrl WinAPI_PathFindExtension WinAPI_PathFindFileName WinAPI_PathFindNextComponent WinAPI_PathFindOnPath WinAPI_PathGetArgs WinAPI_PathGetCharType WinAPI_PathGetDriveNumber WinAPI_PathIsContentType WinAPI_PathIsDirectory WinAPI_PathIsDirectoryEmpty WinAPI_PathIsExe WinAPI_PathIsFileSpec WinAPI_PathIsLFNFileSpec WinAPI_PathIsRelative WinAPI_PathIsRoot WinAPI_PathIsSameRoot WinAPI_PathIsSystemFolder WinAPI_PathIsUNC WinAPI_PathIsUNCServer WinAPI_PathIsUNCServerShare WinAPI_PathMakeSystemFolder WinAPI_PathMatchSpec WinAPI_PathParseIconLocation WinAPI_PathRelativePathTo WinAPI_PathRemoveArgs WinAPI_PathRemoveBackslash WinAPI_PathRemoveExtension WinAPI_PathRemoveFileSpec WinAPI_PathRenameExtension WinAPI_PathSearchAndQualify WinAPI_PathSkipRoot WinAPI_PathStripPath WinAPI_PathStripToRoot WinAPI_PathToRegion WinAPI_PathUndecorate WinAPI_PathUnExpandEnvStrings WinAPI_PathUnmakeSystemFolder WinAPI_PathUnquoteSpaces WinAPI_PathYetAnotherMakeUniqueName WinAPI_PickIconDlg WinAPI_PlayEnhMetaFile WinAPI_PlaySound WinAPI_PlgBlt WinAPI_PointFromRect WinAPI_PolyBezier WinAPI_PolyBezierTo WinAPI_PolyDraw WinAPI_Polygon WinAPI_PostMessage WinAPI_PrimaryLangId WinAPI_PrintDlg WinAPI_PrintDlgEx WinAPI_PrintWindow WinAPI_ProgIDFromCLSID WinAPI_PtInRect WinAPI_PtInRectEx WinAPI_PtInRegion WinAPI_PtVisible WinAPI_QueryDosDevice WinAPI_QueryInformationJobObject WinAPI_QueryPerformanceCounter WinAPI_QueryPerformanceFrequency WinAPI_RadialGradientFill WinAPI_ReadDirectoryChanges WinAPI_ReadFile WinAPI_ReadProcessMemory WinAPI_Rectangle WinAPI_RectInRegion WinAPI_RectIsEmpty WinAPI_RectVisible WinAPI_RedrawWindow WinAPI_RegCloseKey WinAPI_RegConnectRegistry WinAPI_RegCopyTree WinAPI_RegCopyTreeEx WinAPI_RegCreateKey WinAPI_RegDeleteEmptyKey WinAPI_RegDeleteKey WinAPI_RegDeleteKeyValue WinAPI_RegDeleteTree WinAPI_RegDeleteTreeEx WinAPI_RegDeleteValue WinAPI_RegDisableReflectionKey WinAPI_RegDuplicateHKey WinAPI_RegEnableReflectionKey WinAPI_RegEnumKey WinAPI_RegEnumValue WinAPI_RegFlushKey WinAPI_RegisterApplicationRestart WinAPI_RegisterClass WinAPI_RegisterClassEx WinAPI_RegisterHotKey WinAPI_RegisterPowerSettingNotification WinAPI_RegisterRawInputDevices WinAPI_RegisterShellHookWindow WinAPI_RegisterWindowMessage WinAPI_RegLoadMUIString WinAPI_RegNotifyChangeKeyValue WinAPI_RegOpenKey WinAPI_RegQueryInfoKey WinAPI_RegQueryLastWriteTime WinAPI_RegQueryMultipleValues WinAPI_RegQueryReflectionKey WinAPI_RegQueryValue WinAPI_RegRestoreKey WinAPI_RegSaveKey WinAPI_RegSetValue WinAPI_ReleaseCapture WinAPI_ReleaseDC WinAPI_ReleaseMutex WinAPI_ReleaseSemaphore WinAPI_ReleaseStream WinAPI_RemoveClipboardFormatListener WinAPI_RemoveDirectory WinAPI_RemoveFontMemResourceEx WinAPI_RemoveFontResourceEx WinAPI_RemoveWindowSubclass WinAPI_ReOpenFile WinAPI_ReplaceFile WinAPI_ReplaceTextDlg WinAPI_ResetEvent WinAPI_RestartDlg WinAPI_RestoreDC WinAPI_RGB WinAPI_RotatePoints WinAPI_RoundRect WinAPI_SaveDC WinAPI_SaveFileDlg WinAPI_SaveHBITMAPToFile WinAPI_SaveHICONToFile WinAPI_ScaleWindowExt WinAPI_ScreenToClient WinAPI_SearchPath WinAPI_SelectClipPath WinAPI_SelectClipRgn WinAPI_SelectObject WinAPI_SendMessageTimeout WinAPI_SetActiveWindow WinAPI_SetArcDirection WinAPI_SetBitmapBits WinAPI_SetBitmapDimensionEx WinAPI_SetBkColor WinAPI_SetBkMode WinAPI_SetBoundsRect WinAPI_SetBrushOrg WinAPI_SetCapture WinAPI_SetCaretBlinkTime WinAPI_SetCaretPos WinAPI_SetClassLongEx WinAPI_SetColorAdjustment WinAPI_SetCompression WinAPI_SetCurrentDirectory WinAPI_SetCurrentProcessExplicitAppUserModelID WinAPI_SetCursor WinAPI_SetDCBrushColor WinAPI_SetDCPenColor WinAPI_SetDefaultPrinter WinAPI_SetDeviceGammaRamp WinAPI_SetDIBColorTable WinAPI_SetDIBits WinAPI_SetDIBitsToDevice WinAPI_SetDllDirectory WinAPI_SetEndOfFile WinAPI_SetEnhMetaFileBits WinAPI_SetErrorMode WinAPI_SetEvent WinAPI_SetFileAttributes WinAPI_SetFileInformationByHandleEx WinAPI_SetFilePointer WinAPI_SetFilePointerEx WinAPI_SetFileShortName WinAPI_SetFileValidData WinAPI_SetFocus WinAPI_SetFont WinAPI_SetForegroundWindow WinAPI_SetFRBuffer WinAPI_SetGraphicsMode WinAPI_SetHandleInformation WinAPI_SetInformationJobObject WinAPI_SetKeyboardLayout WinAPI_SetKeyboardState WinAPI_SetLastError WinAPI_SetLayeredWindowAttributes WinAPI_SetLocaleInfo WinAPI_SetMapMode WinAPI_SetMessageExtraInfo WinAPI_SetParent WinAPI_SetPixel WinAPI_SetPolyFillMode WinAPI_SetPriorityClass WinAPI_SetProcessAffinityMask WinAPI_SetProcessShutdownParameters WinAPI_SetProcessWindowStation WinAPI_SetRectRgn WinAPI_SetROP2 WinAPI_SetSearchPathMode WinAPI_SetStretchBltMode WinAPI_SetSysColors WinAPI_SetSystemCursor WinAPI_SetTextAlign WinAPI_SetTextCharacterExtra WinAPI_SetTextColor WinAPI_SetTextJustification WinAPI_SetThemeAppProperties WinAPI_SetThreadDesktop WinAPI_SetThreadErrorMode WinAPI_SetThreadExecutionState WinAPI_SetThreadLocale WinAPI_SetThreadUILanguage WinAPI_SetTimer WinAPI_SetUDFColorMode WinAPI_SetUserGeoID WinAPI_SetUserObjectInformation WinAPI_SetVolumeMountPoint WinAPI_SetWindowDisplayAffinity WinAPI_SetWindowExt WinAPI_SetWindowLong WinAPI_SetWindowOrg WinAPI_SetWindowPlacement WinAPI_SetWindowPos WinAPI_SetWindowRgn WinAPI_SetWindowsHookEx WinAPI_SetWindowSubclass WinAPI_SetWindowText WinAPI_SetWindowTheme WinAPI_SetWinEventHook WinAPI_SetWorldTransform WinAPI_SfcIsFileProtected WinAPI_SfcIsKeyProtected WinAPI_ShellAboutDlg WinAPI_ShellAddToRecentDocs WinAPI_ShellChangeNotify WinAPI_ShellChangeNotifyDeregister WinAPI_ShellChangeNotifyRegister WinAPI_ShellCreateDirectory WinAPI_ShellEmptyRecycleBin WinAPI_ShellExecute WinAPI_ShellExecuteEx WinAPI_ShellExtractAssociatedIcon WinAPI_ShellExtractIcon WinAPI_ShellFileOperation WinAPI_ShellFlushSFCache WinAPI_ShellGetFileInfo WinAPI_ShellGetIconOverlayIndex WinAPI_ShellGetImageList WinAPI_ShellGetKnownFolderIDList WinAPI_ShellGetKnownFolderPath WinAPI_ShellGetLocalizedName WinAPI_ShellGetPathFromIDList WinAPI_ShellGetSetFolderCustomSettings WinAPI_ShellGetSettings WinAPI_ShellGetSpecialFolderLocation WinAPI_ShellGetSpecialFolderPath WinAPI_ShellGetStockIconInfo WinAPI_ShellILCreateFromPath WinAPI_ShellNotifyIcon WinAPI_ShellNotifyIconGetRect WinAPI_ShellObjectProperties WinAPI_ShellOpenFolderAndSelectItems WinAPI_ShellOpenWithDlg WinAPI_ShellQueryRecycleBin WinAPI_ShellQueryUserNotificationState WinAPI_ShellRemoveLocalizedName WinAPI_ShellRestricted WinAPI_ShellSetKnownFolderPath WinAPI_ShellSetLocalizedName WinAPI_ShellSetSettings WinAPI_ShellStartNetConnectionDlg WinAPI_ShellUpdateImage WinAPI_ShellUserAuthenticationDlg WinAPI_ShellUserAuthenticationDlgEx WinAPI_ShortToWord WinAPI_ShowCaret WinAPI_ShowCursor WinAPI_ShowError WinAPI_ShowLastError WinAPI_ShowMsg WinAPI_ShowOwnedPopups WinAPI_ShowWindow WinAPI_ShutdownBlockReasonCreate WinAPI_ShutdownBlockReasonDestroy WinAPI_ShutdownBlockReasonQuery WinAPI_SizeOfResource WinAPI_StretchBlt WinAPI_StretchDIBits WinAPI_StrFormatByteSize WinAPI_StrFormatByteSizeEx WinAPI_StrFormatKBSize WinAPI_StrFromTimeInterval WinAPI_StringFromGUID WinAPI_StringLenA WinAPI_StringLenW WinAPI_StrLen WinAPI_StrokeAndFillPath WinAPI_StrokePath WinAPI_StructToArray WinAPI_SubLangId WinAPI_SubtractRect WinAPI_SwapDWord WinAPI_SwapQWord WinAPI_SwapWord WinAPI_SwitchColor WinAPI_SwitchDesktop WinAPI_SwitchToThisWindow WinAPI_SystemParametersInfo WinAPI_TabbedTextOut WinAPI_TerminateJobObject WinAPI_TerminateProcess WinAPI_TextOut WinAPI_TileWindows WinAPI_TrackMouseEvent WinAPI_TransparentBlt WinAPI_TwipsPerPixelX WinAPI_TwipsPerPixelY WinAPI_UnhookWindowsHookEx WinAPI_UnhookWinEvent WinAPI_UnionRect WinAPI_UnionStruct WinAPI_UniqueHardwareID WinAPI_UnloadKeyboardLayout WinAPI_UnlockFile WinAPI_UnmapViewOfFile WinAPI_UnregisterApplicationRestart WinAPI_UnregisterClass WinAPI_UnregisterHotKey WinAPI_UnregisterPowerSettingNotification WinAPI_UpdateLayeredWindow WinAPI_UpdateLayeredWindowEx WinAPI_UpdateLayeredWindowIndirect WinAPI_UpdateResource WinAPI_UpdateWindow WinAPI_UrlApplyScheme WinAPI_UrlCanonicalize WinAPI_UrlCombine WinAPI_UrlCompare WinAPI_UrlCreateFromPath WinAPI_UrlFixup WinAPI_UrlGetPart WinAPI_UrlHash WinAPI_UrlIs WinAPI_UserHandleGrantAccess WinAPI_ValidateRect WinAPI_ValidateRgn WinAPI_VerQueryRoot WinAPI_VerQueryValue WinAPI_VerQueryValueEx WinAPI_WaitForInputIdle WinAPI_WaitForMultipleObjects WinAPI_WaitForSingleObject WinAPI_WideCharToMultiByte WinAPI_WidenPath WinAPI_WindowFromDC WinAPI_WindowFromPoint WinAPI_WordToShort WinAPI_Wow64EnableWow64FsRedirection WinAPI_WriteConsole WinAPI_WriteFile WinAPI_WriteProcessMemory WinAPI_ZeroMemory WinNet_AddConnection WinNet_AddConnection2 WinNet_AddConnection3 WinNet_CancelConnection WinNet_CancelConnection2 WinNet_CloseEnum WinNet_ConnectionDialog WinNet_ConnectionDialog1 WinNet_DisconnectDialog WinNet_DisconnectDialog1 WinNet_EnumResource WinNet_GetConnection WinNet_GetConnectionPerformance WinNet_GetLastError WinNet_GetNetworkInformation WinNet_GetProviderName WinNet_GetResourceInformation WinNet_GetResourceParent WinNet_GetUniversalName WinNet_GetUser WinNet_OpenEnum WinNet_RestoreConnection WinNet_UseConnection Word_Create Word_DocAdd Word_DocAttach Word_DocClose Word_DocExport Word_DocFind Word_DocFindReplace Word_DocGet Word_DocLinkAdd Word_DocLinkGet Word_DocOpen Word_DocPictureAdd Word_DocPrint Word_DocRangeSet Word_DocSave Word_DocSaveAs Word_DocTableRead Word_DocTableWrite Word_Quit",literal:"True False And Null Not Or"},contains:[t,n,r,i,{className:"preprocessor",begin:"#",end:"$",keywords:"include include-once NoTrayIcon OnAutoItStartRegister RequireAdmin pragma Au3Stripper_Ignore_Funcs Au3Stripper_Ignore_Variables Au3Stripper_Off Au3Stripper_On Au3Stripper_Parameters AutoIt3Wrapper_Add_Constants AutoIt3Wrapper_Au3Check_Parameters AutoIt3Wrapper_Au3Check_Stop_OnWarning AutoIt3Wrapper_Aut2Exe AutoIt3Wrapper_AutoIt3 AutoIt3Wrapper_AutoIt3Dir AutoIt3Wrapper_Change2CUI AutoIt3Wrapper_Compile_Both AutoIt3Wrapper_Compression AutoIt3Wrapper_EndIf AutoIt3Wrapper_Icon AutoIt3Wrapper_If_Compile AutoIt3Wrapper_If_Run AutoIt3Wrapper_Jump_To_First_Error AutoIt3Wrapper_OutFile AutoIt3Wrapper_OutFile_Type AutoIt3Wrapper_OutFile_X64 AutoIt3Wrapper_PlugIn_Funcs AutoIt3Wrapper_Res_Comment Autoit3Wrapper_Res_Compatibility AutoIt3Wrapper_Res_Description AutoIt3Wrapper_Res_Field AutoIt3Wrapper_Res_File_Add AutoIt3Wrapper_Res_FileVersion AutoIt3Wrapper_Res_FileVersion_AutoIncrement AutoIt3Wrapper_Res_Icon_Add AutoIt3Wrapper_Res_Language AutoIt3Wrapper_Res_LegalCopyright AutoIt3Wrapper_Res_ProductVersion AutoIt3Wrapper_Res_requestedExecutionLevel AutoIt3Wrapper_Res_SaveSource AutoIt3Wrapper_Run_After AutoIt3Wrapper_Run_Au3Check AutoIt3Wrapper_Run_Au3Stripper AutoIt3Wrapper_Run_Before AutoIt3Wrapper_Run_Debug_Mode AutoIt3Wrapper_Run_SciTE_Minimized AutoIt3Wrapper_Run_SciTE_OutputPane_Minimized AutoIt3Wrapper_Run_Tidy AutoIt3Wrapper_ShowProgress AutoIt3Wrapper_Testing AutoIt3Wrapper_Tidy_Stop_OnError AutoIt3Wrapper_UPX_Parameters AutoIt3Wrapper_UseUPX AutoIt3Wrapper_UseX64 AutoIt3Wrapper_Version AutoIt3Wrapper_Versioning AutoIt3Wrapper_Versioning_Parameters Tidy_Off Tidy_On Tidy_Parameters EndRegion Region",contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",contains:[r,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},r,t]},{className:"constant",begin:"@[A-z0-9_]+"},{className:"function",beginKeywords:"Func",end:"$",excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[n,r,i]}]}]}}),i.registerLanguage("avrasm",function(e){return{case_insensitive:!0,lexemes:"\\.?"+e.IDENT_RE,keywords:{keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",preprocessor:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT(";","$",{relevance:0}),e.C_NUMBER_MODE,e.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"label",begin:"^[A-Za-z0-9_.$]+:"},{className:"preprocessor",begin:"#",end:"$"},{className:"localvars",begin:"@[0-9]+"}]}}),i.registerLanguage("axapta",function(e){return{keywords:"false int abstract private char boolean static null if for true while long throw finally protected final return void enum else break new catch byte super case short default double public try this switch continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count order group by asc desc index hint like dispaly edit client server ttsbegin ttscommit str real date container anytype common div mod",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$"},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]}]}}),i.registerLanguage("bash",function(e){var t={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)}/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t,{className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]}]};return{aliases:["sh","zsh"],lexemes:/-?[a-z\.]+/,keywords:{keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp",operator:"-ne -eq -lt -gt -f -d -e -s -l -a"},contains:[{className:"shebang",begin:/^#![^\n]+sh\s*$/,relevance:10},{className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},e.HASH_COMMENT_MODE,e.NUMBER_MODE,n,{className:"string",begin:/'/,end:/'/},t]}}),i.registerLanguage("brainfuck",function(e){var t={className:"literal",begin:"[\\+\\-]",relevance:0};return{aliases:["bf"],contains:[e.COMMENT("[^\\[\\]\\.,\\+\\-<> \r\n]","[\\[\\]\\.,\\+\\-<> \r\n]",{returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/\+\+|\-\-/,returnBegin:!0,contains:[t]},t]}}),i.registerLanguage("cal",function(e){var t="div mod in and or not xor asserterror begin case do downto else end exit for if of repeat then to until while with var",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},a={className:"function",beginKeywords:"procedure",end:/[:;]/,keywords:"procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,i]}].concat(n)},o={className:"class",begin:"OBJECT (Table|Form|Report|Dataport|Codeunit|XMLport|MenuSuite|Page|Query) (\\d+) ([^\\r\\n]+)",returnBegin:!0,contains:[e.TITLE_MODE,a]};return{case_insensitive:!0,keywords:{keyword:t,literal:"false true"},illegal:/\/\*/,contains:[r,i,{className:"date",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},{className:"variable",begin:'"',end:'"'},e.NUMBER_MODE,o,a]}}),i.registerLanguage("capnproto",function(e){return{aliases:["capnp"],keywords:{keyword:"struct enum interface union group import using const annotation extends in of on as with from fixed",built_in:"Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 Text Data AnyPointer AnyStruct Capability List",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE,{className:"shebang",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"number",begin:/@\d+\b/},{className:"class",beginKeywords:"struct enum",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"class",beginKeywords:"interface",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]}]}}),i.registerLanguage("ceylon",function(e){var t="assembly module package import alias class interface object given value assign void function new of extends satisfies abstracts in out return break continue throw assert dynamic if else switch case for while try catch finally then let this outer super is exists nonempty",n={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:t,relevance:10},r=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[n]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return n.contains=r,{keywords:{keyword:t,annotation:"shared abstract formal default actual variable late native deprecatedfinal sealed annotation suppressWarnings small doc by license see throws tagged"},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"annotation",begin:'@[a-z]\\w*(?:\\:"[^"]*")?'}].concat(r)}}),i.registerLanguage("clojure",function(e){var t="a-zA-Z_\\-!.?+*=<>&#'",n="["+t+"]["+t+"0-9/;:]*",r={begin:n,relevance:0},i={className:"number",begin:"[-+]?\\d+(\\.\\d+)?",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),o=e.COMMENT(";","$",{relevance:0}),s={className:"literal",begin:/\b(true|false|nil)\b/},c={className:"collection",begin:"[\\[\\{]",end:"[\\]\\}]"},l={className:"comment",begin:"\\^"+n},u=e.COMMENT("\\^\\{","\\}"),f={className:"attribute",begin:"[:]"+n},d={className:"list",begin:"\\(",end:"\\)"},h={endsWithParent:!0,relevance:0},p={keywords:{built_in:"def defonce cond apply if-not if-let if not not= = < > <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},lexemes:n,className:"keyword",begin:n,starts:h},m=[d,a,l,u,o,f,c,i,s,r];return d.contains=[e.COMMENT("comment",""),p,h],h.contains=m,c.contains=m,{aliases:["clj"],illegal:/\S/,contains:[d,a,l,u,o,f,c,i,s]}}),i.registerLanguage("clojure-repl",function(e){return{contains:[{className:"prompt",begin:/^([\w.-]+|\s*#_)=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}),i.registerLanguage("cmake",function(e){return{aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_subdirectory add_test aux_source_directory break build_command cmake_minimum_required cmake_policy configure_file create_test_sourcelist define_property else elseif enable_language enable_testing endforeach endfunction endif endmacro endwhile execute_process export find_file find_library find_package find_path find_program fltk_wrap_ui foreach function get_cmake_property get_directory_property get_filename_component get_property get_source_file_property get_target_property get_test_property if include include_directories include_external_msproject include_regular_expression install link_directories load_cache load_command macro mark_as_advanced message option output_required_files project qt_wrap_cpp qt_wrap_ui remove_definitions return separate_arguments set set_directory_properties set_property set_source_files_properties set_target_properties set_tests_properties site_name source_group string target_link_libraries try_compile try_run unset variable_watch while build_name exec_program export_library_dependencies install_files install_programs install_targets link_libraries make_directory remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or",operator:"equal less greater strless strgreater strequal matches"},contains:[{className:"envvar",begin:"\\${",end:"}"},e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE]}}),i.registerLanguage("coffeescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",built_in:"npm require console print module global window document"},n="[A-Za-z$_][0-9A-Za-z$_]*",r={className:"subst",begin:/#\{/,end:/}/,keywords:t},i=[e.BINARY_NUMBER_MODE,e.inherit(e.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,r]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,r]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[r,e.HASH_COMMENT_MODE]},{begin:"//[gim]*",relevance:0},{begin:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{className:"property",begin:"@"+n},{begin:"`",end:"`",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];r.contains=i;var a=e.inherit(e.TITLE_MODE,{begin:n}),o="(\\(.*\\))?\\s*\\B[-=]>",s={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(i)}]};return{aliases:["coffee","cson","iced"],keywords:t,illegal:/\/\*/,contains:i.concat([e.COMMENT("###","###"),e.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+n+"\\s*=\\s*"+o,end:"[-=]>",returnBegin:!0,contains:[a,s]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:o,end:"[-=]>",returnBegin:!0,contains:[s]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[a]},a]},{className:"attribute",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}),i.registerLanguage("cpp",function(e){var t={className:"keyword",begin:"\\b[a-z\\d_]*_t\\b"},n={className:"string",variants:[e.inherit(e.QUOTE_STRING_MODE,{begin:'((u8?|U)|L)?"'}),{begin:'(u8?|U)?R"',end:'"',contains:[e.BACKSLASH_ESCAPE]},{begin:"'\\\\?.",end:"'",illegal:"."}]},r={className:"number",variants:[{begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},{begin:e.C_NUMBER_RE}]},i={className:"preprocessor",begin:"#",end:"$",keywords:"if else elif endif define undef warning error line pragma ifdef ifndef",contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",contains:[n,{className:"string",begin:"<",end:">",illegal:"\\n"}]},n,r,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a=e.IDENT_RE+"\\s*\\(",o={keyword:"int float while private char catch export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long volatile static protected bool template mutable if public friend do goto auto void enum else break extern using class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue inline delete alignof constexpr decltype noexcept static_assert thread_local restrict _Bool complex _Complex _Imaginary atomic_bool atomic_char atomic_schar atomic_uchar atomic_short atomic_ushort atomic_int atomic_uint atomic_long atomic_ulong atomic_llong atomic_ullong",built_in:"std string cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf",literal:"true false nullptr NULL"};return{aliases:["c","cc","h","c++","h++","hpp"],keywords:o,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,n,i,{begin:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",end:">",keywords:o,contains:["self",t]},{begin:e.IDENT_RE+"::",keywords:o},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"("+e.IDENT_RE+"[\\*&\\s]+)+"+a,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:o,illegal:/[^\w\s\*&]/,contains:[{begin:a,returnBegin:!0,contains:[e.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:o,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,r]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,i]}]}}),i.registerLanguage("crmsh",function(e){var t="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml";return{aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:"params meta operations op rule attributes utilization",operator:"read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",type:"number string",literal:"Master Started Slave Stopped start promote demote stop monitor true false"},contains:[e.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{className:"identifier",end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:"primitive rsc_template",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{className:"pragma",end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+t.split(" ").join("|")+")\\s+",keywords:t,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:"property rsc_defaults op_defaults",starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},e.QUOTE_STRING_MODE,{className:"pragma",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"number",begin:"[-]?(infinity|inf)",relevance:0},{className:"variable",begin:/([A-Za-z\$_\#][\w_-]+)=/,relevance:0},{className:"tag",begin:"</?",end:"/?>",relevance:0}]}}),i.registerLanguage("crystal",function(e){var t="(_[uif](8|16|32|64))?",n="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\][=?]?",r={keyword:"abstract alias as asm begin break case class def do else elsif end ensure enum extend for fun if ifdef include instance_sizeof is_a? lib macro module next of out pointerof private protected rescue responds_to? return require self sizeof struct super then type typeof union unless until when while with yield __DIR__ __FILE__ __LINE__",literal:"false nil true"},i={className:"subst",begin:"#{",end:"}",keywords:r},a={className:"expansion",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:r,relevance:10};function o(e,t){var n=[{begin:e,end:t}];return n[0].contains=n}var s={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%w?\\(",end:"\\)",contains:o("\\(","\\)")},{begin:"%w?\\[",end:"\\]",contains:o("\\[","\\]")},{begin:"%w?{",end:"}",contains:o("{","}")},{begin:"%w?<",end:">",contains:o("<",">")},{begin:"%w?/",end:"/"},{begin:"%w?%",end:"%"},{begin:"%w?-",end:"-"},{begin:"%w?\\|",end:"\\|"}],relevance:0},c={className:"annotation",begin:"@\\[",end:"\\]",relevance:5},l=[a,s,{begin:"(!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~)\\s*",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\(",end:"\\)",contains:o("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:o("\\[","\\]")},{begin:"%r{",end:"}",contains:o("{","}")},{begin:"%r<",end:">",contains:o("<",">")},{begin:"%r/",end:"/"},{begin:"%r%",end:"%"},{begin:"%r-",end:"-"},{begin:"%r\\|",end:"\\|"}]}],relevance:0},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:"%r\\(",end:"\\)",contains:o("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:o("\\[","\\]")},{begin:"%r{",end:"}",contains:o("{","}")},{begin:"%r<",end:">",contains:o("<",">")},{begin:"%r/",end:"/"},{begin:"%r%",end:"%"},{begin:"%r-",end:"-"},{begin:"%r\\|",end:"\\|"}],relevance:0},c,e.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{className:"inheritance",begin:"<\\s*",contains:[{className:"parent",begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[e.HASH_COMMENT_MODE,e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"})],relevance:10},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:n,endsParent:!0})],relevance:5},{className:"constant",begin:"(::)?(\\b[A-Z]\\w*(::)?)+",relevance:0},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[s,{begin:n}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]*[01])"+t},{begin:"\\b0o([0-7_]*[0-7])"+t},{begin:"\\b0x([A-Fa-f0-9_]*[A-Fa-f0-9])"+t},{begin:"\\b(([0-9][0-9_]*[0-9]|[0-9])(\\.[0-9_]*[0-9])?([eE][+-]?[0-9_]*[0-9])?)"+t}],relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?|%)(\\w+))"}];return i.contains=l,c.contains=l,a.contains=l.slice(1),{aliases:["cr"],lexemes:"[a-zA-Z_]\\w*[!?=]?",keywords:r,contains:l}}),i.registerLanguage("cs",function(e){var t="abstract as base bool break byte case catch char checked const continue decimal dynamic default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long null when object operator out override params private protected public readonly ref sbyte sealed short sizeof stackalloc static string struct switch this true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while async protected public private internal ascending descending from get group into join let orderby partial select set value var where yield",n=e.IDENT_RE+"(<"+e.IDENT_RE+">)?";return{aliases:["csharp"],keywords:t,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"xmlDocTag",variants:[{begin:"///",relevance:0},{begin:"\x3c!--|--\x3e"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"preprocessor",begin:"#",end:"$",keywords:"if else elif endif define undef warning error line region endregion pragma checksum"},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[{className:"title",begin:"[a-zA-Z](\\.?\\w)*",relevance:0},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new return throw await",relevance:0},{className:"function",begin:"("+n+"\\s+)+"+e.IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:t,contains:[{begin:e.IDENT_RE+"\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE],relevance:0},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}]}}),i.registerLanguage("css",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",n={className:"function",begin:t+"\\(",returnBegin:!0,excludeEnd:!0,end:"\\("},r={className:"rule",begin:/[A-Z\_\.\-]+\s*:/,returnBegin:!0,end:";",endsWithParent:!0,contains:[{className:"attribute",begin:/\S/,end:":",excludeEnd:!0,starts:{className:"value",endsWithParent:!0,excludeEnd:!0,contains:[n,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE,{className:"hexcolor",begin:"#[0-9A-Fa-f]+"},{className:"important",begin:"!important"}]}}]};return{case_insensitive:!0,illegal:/[=\/|'\$]/,contains:[e.C_BLOCK_COMMENT_MODE,{className:"id",begin:/\#[A-Za-z0-9_-]+/},{className:"class",begin:/\.[A-Za-z0-9_-]+/},{className:"attr_selector",begin:/\[/,end:/\]/,illegal:"$"},{className:"pseudo",begin:/:(:)?[a-zA-Z0-9\_\-\+\(\)"']+/},{className:"at_rule",begin:"@(font-face|page)",lexemes:"[a-z-]+",keywords:"font-face page"},{className:"at_rule",begin:"@",end:"[{;]",contains:[{className:"keyword",begin:/\S+/},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,contains:[n,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.CSS_NUMBER_MODE]}]},{className:"tag",begin:t,relevance:0},{className:"rules",begin:"{",end:"}",illegal:/\S/,contains:[e.C_BLOCK_COMMENT_MODE,r]}]}}),i.registerLanguage("d",function(e){var t="(0|[1-9][\\d_]*)",n="("+t+"|0[bB][01_]+|0[xX]([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))",r="\\\\(['\"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};",i={className:"number",begin:"\\b"+n+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},a={className:"number",begin:"\\b(((0[xX](([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)\\.([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)|\\.?([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*))[pP][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))|((0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(\\.\\d*|([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)))|\\d+\\.(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)|\\.(0|[1-9][\\d_]*)([eE][+-]?(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d))?))([fF]|L|i|[fF]i|Li)?|"+n+"(i|[fF]i|Li))",relevance:0},o={className:"string",begin:"'("+r+"|.)",end:"'",illegal:"."},s={className:"string",begin:'"',contains:[{begin:r,relevance:0}],end:'"[cwd]?'},c=e.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:{keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,c,{className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},s,{className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},{className:"string",begin:"`",end:"`[cwd]?"},{className:"string",begin:'q"\\{',end:'\\}"'},a,i,o,{className:"shebang",begin:"^#!",end:"$",relevance:5},{className:"preprocessor",begin:"#(line)",end:"$",relevance:5},{className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"}]}}),i.registerLanguage("markdown",function(e){return{aliases:["md","mkdown","mkd"],contains:[{className:"header",variants:[{begin:"^#{1,6}",end:"$"},{begin:"^.+?\\n[=-]{2,}$"}]},{begin:"<",end:">",subLanguage:"xml",relevance:0},{className:"bullet",begin:"^([*+-]|(\\d+\\.))\\s+"},{className:"strong",begin:"[*_]{2}.+?[*_]{2}"},{className:"emphasis",variants:[{begin:"\\*.+?\\*"},{begin:"_.+?_",relevance:0}]},{className:"blockquote",begin:"^>\\s+",end:"$"},{className:"code",variants:[{begin:"`.+?`"},{begin:"^( {4}|\t)",end:"$",relevance:0}]},{className:"horizontal_rule",begin:"^[-\\*]{3,}",end:"$"},{begin:"\\[.+?\\][\\(\\[].*?[\\)\\]]",returnBegin:!0,contains:[{className:"link_label",begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0,relevance:0},{className:"link_url",begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"link_reference",begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}],relevance:10},{begin:"^\\[.+\\]:",returnBegin:!0,contains:[{className:"link_reference",begin:"\\[",end:"\\]:",excludeBegin:!0,excludeEnd:!0,starts:{className:"link_url",end:"$"}}]}]}}),i.registerLanguage("dart",function(e){var t={className:"subst",begin:"\\$\\{",end:"}",keywords:"true false null this is new super"},n={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[e.BACKSLASH_ESCAPE,t]},{begin:'"""',end:'"""',contains:[e.BACKSLASH_ESCAPE,t]},{begin:"'",end:"'",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]},{begin:'"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,t]}]};t.contains=[e.C_NUMBER_MODE,n];return{keywords:{keyword:"assert break case catch class const continue default do else enum extends false final finally for if in is new null rethrow return super switch this throw true try var void while with",literal:"abstract as dynamic export external factory get implements import library operator part set static typedef",built_in:"print Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num document window querySelector querySelectorAll Element ElementList"},contains:[n,e.COMMENT("/\\*\\*","\\*/",{subLanguage:"markdown"}),e.COMMENT("///","$",{subLanguage:"markdown"}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"},{begin:"=>"}]}}),i.registerLanguage("delphi",function(e){var t="exports register file shl array record property for mod while set ally label uses raise not stored class safecall var interface or private static exit index inherited to else stdcall override shr asm far resourcestring finalization packed virtual out and protected library do xorwrite goto near function end div overload object unit begin string on inline repeat until destructor write message program with read initialization except default nil if case cdecl in downto threadvar of try pascal const external constructor type public then implementation finally published procedure",n=[e.C_LINE_COMMENT_MODE,e.COMMENT(/\{/,/\}/,{relevance:0}),e.COMMENT(/\(\*/,/\*\)/,{relevance:10})],r={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},i={className:"string",begin:/(#\d+)+/},a={begin:e.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[e.TITLE_MODE]},o={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:t,contains:[r,i]}].concat(n)};return{case_insensitive:!0,keywords:t,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[r,i,e.NUMBER_MODE,a,o].concat(n)}}),i.registerLanguage("diff",function(e){return{aliases:["patch"],contains:[{className:"chunk",relevance:10,variants:[{begin:/^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/},{begin:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{begin:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{className:"header",variants:[{begin:/Index: /,end:/$/},{begin:/=====/,end:/=====$/},{begin:/^\-\-\-/,end:/$/},{begin:/^\*{3} /,end:/$/},{begin:/^\+\+\+/,end:/$/},{begin:/\*{5}/,end:/\*{5}$/}]},{className:"addition",begin:"^\\+",end:"$"},{className:"deletion",begin:"^\\-",end:"$"},{className:"change",begin:"^\\!",end:"$"}]}}),i.registerLanguage("django",function(e){var t={className:"filter",begin:/\|[A-Za-z]+:?/,keywords:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone",contains:[{className:"argument",begin:/"/,end:/"/},{className:"argument",begin:/'/,end:/'/}]};return{aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{%\s*comment\s*%}/,/\{%\s*endcomment\s*%}/),e.COMMENT(/\{#/,/#}/),{className:"template_tag",begin:/\{%/,end:/%}/,keywords:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor in ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup by as ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim",contains:[t]},{className:"variable",begin:/\{\{/,end:/}}/,contains:[t]}]}}),i.registerLanguage("dns",function(e){return{aliases:["bind","zone"],keywords:{keyword:"IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT"},contains:[e.COMMENT(";","$"),{className:"operator",beginKeywords:"$TTL $GENERATE $INCLUDE $ORIGIN"},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])"}]}}),i.registerLanguage("dockerfile",function(e){return{aliases:["docker"],case_insensitive:!0,keywords:{built_ins:"from maintainer cmd expose add copy entrypoint volume user workdir onbuild run env label"},contains:[e.HASH_COMMENT_MODE,{keywords:{built_in:"run cmd entrypoint volume add copy workdir onbuild label"},begin:/^ *(onbuild +)?(run|cmd|entrypoint|volume|add|copy|workdir|label) +/,starts:{end:/[^\\]\n/,subLanguage:"bash"}},{keywords:{built_in:"from maintainer expose env user onbuild"},begin:/^ *(onbuild +)?(from|maintainer|expose|env|user|onbuild) +/,end:/[^\\]\n/,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.HASH_COMMENT_MODE]}]}}),i.registerLanguage("dos",function(e){var t=e.COMMENT(/@?rem\b/,/$/,{relevance:10});return{aliases:["bat","cmd"],case_insensitive:!0,illegal:/\/\*/,keywords:{flow:"if else goto for in do call exit not exist errorlevel defined",operator:"equ neq lss leq gtr geq",keyword:"shift cd dir echo setlocal endlocal set pause copy",stream:"prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux",winutils:"ping net ipconfig taskkill xcopy ren del",built_in:"append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color comp compact convert date dir diskcomp diskcopy doskey erase fs find findstr format ftype graftabl help keyb label md mkdir mode more move path pause print popd pushd promt rd recover rem rename replace restore rmdir shiftsort start subst time title tree type ver verify vol"},contains:[{className:"envvar",begin:/%%[^ ]|%[^ ]+?%|![^ ]+?!/},{className:"function",begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)",end:"goto:eof",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),t]},{className:"number",begin:"\\b\\d+",relevance:0},t]}}),i.registerLanguage("dust",function(e){var t="if eq ne lt lte gt gte select default math sep";return{aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"expression",begin:"{",end:"}",relevance:0,contains:[{className:"begin-block",begin:"#[a-zA-Z- .]+",keywords:t},{className:"string",begin:'"',end:'"'},{className:"end-block",begin:"\\/[a-zA-Z- .]+",keywords:t},{className:"variable",begin:"[a-zA-Z-.]+",keywords:t,relevance:0}]}]}}),i.registerLanguage("elixir",function(e){var t="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?",n="and false then defined module in return redo retry end for true self when next until do begin unless nil break not case cond alias while ensure or include use alias fn quote",r={className:"subst",begin:"#\\{",end:"}",lexemes:t,keywords:n},i={className:"string",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},a={className:"function",beginKeywords:"def defp defmacro",end:/\B\b/,contains:[e.inherit(e.TITLE_MODE,{begin:t,endsParent:!0})]},o=e.inherit(a,{className:"class",beginKeywords:"defmodule defrecord",end:/\bdo\b|$|;/}),s=[i,e.HASH_COMMENT_MODE,o,a,{className:"constant",begin:"(\\b[A-Z_]\\w*(.)?)+",relevance:0},{className:"symbol",begin:":",contains:[i,{begin:"[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?"}],relevance:0},{className:"symbol",begin:t+":",relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"->"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[e.HASH_COMMENT_MODE,{className:"regexp",illegal:"\\n",contains:[e.BACKSLASH_ESCAPE,r],variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}],relevance:0}];return{lexemes:t,keywords:n,contains:r.contains=s}}),i.registerLanguage("elm",function(e){var t=[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})],n={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},r={className:"container",begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"}].concat(t)},i={className:"container",begin:"{",end:"}",contains:r.contains};return{keywords:"let in if then else case of where module import exposing type alias as infix infixl infixr port",contains:[{className:"module",begin:"\\bmodule\\b",end:"where",keywords:"module where",contains:[r].concat(t),illegal:"\\W\\.|;"},{className:"import",begin:"\\bimport\\b",end:"$",keywords:"import|0 as exposing",contains:[r].concat(t),illegal:"\\W\\.|;"},{className:"typedef",begin:"\\btype\\b",end:"$",keywords:"type alias",contains:[n,r,i].concat(t)},{className:"infix",beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE].concat(t)},{className:"foreign",begin:"\\bport\\b",end:"$",keywords:"port",contains:t},e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,n,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:"->|<-"}].concat(t)}}),i.registerLanguage("ruby",function(e){var t="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",n="and false then defined module in return redo if BEGIN retry end for true self when next until do begin unless END rescue nil else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor",r={className:"doctag",begin:"@[A-Za-z]+"},i={className:"value",begin:"#<",end:">"},a=[e.COMMENT("#","$",{contains:[r]}),e.COMMENT("^\\=begin","^\\=end",{contains:[r],relevance:10}),e.COMMENT("^__END__","\\n$")],o={className:"subst",begin:"#\\{",end:"}",keywords:n},s={className:"string",contains:[e.BACKSLASH_ESCAPE,o],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[qQwWx]?\\(",end:"\\)"},{begin:"%[qQwWx]?\\[",end:"\\]"},{begin:"%[qQwWx]?{",end:"}"},{begin:"%[qQwWx]?<",end:">"},{begin:"%[qQwWx]?/",end:"/"},{begin:"%[qQwWx]?%",end:"%"},{begin:"%[qQwWx]?-",end:"-"},{begin:"%[qQwWx]?\\|",end:"\\|"},{begin:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/}]},c={className:"params",begin:"\\(",end:"\\)",keywords:n},l=[s,i,{className:"class",beginKeywords:"class module",end:"$|;",illegal:/=/,contains:[e.inherit(e.TITLE_MODE,{begin:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{className:"inheritance",begin:"<\\s*",contains:[{className:"parent",begin:"("+e.IDENT_RE+"::)?"+e.IDENT_RE}]}].concat(a)},{className:"function",beginKeywords:"def",end:"$|;",contains:[e.inherit(e.TITLE_MODE,{begin:t}),c].concat(a)},{className:"constant",begin:"(::)?(\\b[A-Z]\\w*(::)?)+",relevance:0},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(\\!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[s,{begin:t}],relevance:0},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"variable",begin:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{begin:"("+e.RE_STARTERS_RE+")\\s*",contains:[i,{className:"regexp",contains:[e.BACKSLASH_ESCAPE,o],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:"%r{",end:"}[a-z]*"},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(a),relevance:0}].concat(a);o.contains=l;var u=[{begin:/^\s*=>/,className:"status",starts:{end:"$",contains:c.contains=l}},{className:"prompt",begin:"^([>?]>|[\\w#]+\\(\\w+\\):\\d+:\\d+>|(\\w+-)?\\d+\\.\\d+\\.\\d(p\\d+)?[^>]+>)",starts:{end:"$",contains:l}}];return{aliases:["rb","gemspec","podspec","thor","irb"],keywords:n,illegal:/\/\*/,contains:a.concat(u).concat(l)}}),i.registerLanguage("erb",function(e){return{subLanguage:"xml",contains:[e.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}),i.registerLanguage("erlang-repl",function(e){return{keywords:{special_functions:"spawn spawn_link self",reserved:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"prompt",begin:"^[0-9]+> ",relevance:10},e.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"constant",begin:"\\?(::)?([A-Z]\\w*(::)?)+"},{className:"arrow",begin:"->"},{className:"ok",begin:"ok"},{className:"exclamation_mark",begin:"!"},{className:"function_or_atom",begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{className:"variable",begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}),i.registerLanguage("erlang",function(e){var t="[a-z'][a-zA-Z0-9_']*",n="("+t+":"+t+"|"+t+")",r={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},i=e.COMMENT("%","$"),a={className:"number",begin:"\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)",relevance:0},o={begin:"fun\\s+"+t+"/\\d+"},s={begin:n+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{className:"function_name",begin:n,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},c={className:"tuple",begin:"{",end:"}",relevance:0},l={className:"variable",begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},u={className:"variable",begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},f={begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{className:"record_name",begin:"#"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:"{",end:"}",relevance:0}]},d={beginKeywords:"fun receive if try case",end:"end",keywords:r};d.contains=[i,o,e.inherit(e.APOS_STRING_MODE,{className:""}),d,s,e.QUOTE_STRING_MODE,a,c,l,u,f];var h=[i,o,d,s,e.QUOTE_STRING_MODE,a,c,l,u,f];s.contains[1].contains=h,c.contains=h;var p={className:"params",begin:"\\(",end:"\\)",contains:f.contains[1].contains=h};return{aliases:["erl"],keywords:r,illegal:"(</|\\*=|\\+=|-=|/\\*|\\*/|\\(\\*|\\*\\))",contains:[{className:"function",begin:"^"+t+"\\s*\\(",end:"->",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[p,e.inherit(e.TITLE_MODE,{begin:t})],starts:{end:";|\\.",keywords:r,contains:h}},i,{className:"pp",begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,lexemes:"-"+e.IDENT_RE,keywords:"-module -record -undef -export -ifdef -ifndef -author -copyright -doc -vsn -import -include -include_lib -compile -define -else -endif -file -behaviour -behavior -spec",contains:[p]},a,e.QUOTE_STRING_MODE,f,l,u,c,{begin:/\.$/}]}}),i.registerLanguage("fix",function(e){return{contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attribute"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}),i.registerLanguage("fortran",function(e){return{case_insensitive:!0,aliases:["f90","f95"],keywords:{constant:".False. .True.",type:"integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}),i.registerLanguage("fsharp",function(e){var t={begin:"<",end:">",contains:[e.inherit(e.TITLE_MODE,{begin:/'[a-zA-Z0-9_]+/})]};return{aliases:["fs"],keywords:"abstract and as assert base begin class default delegate do done downcast downto elif else end exception extern false finally for fun function global if in inherit inline interface internal lazy let match member module mutable namespace new null of open or override private public rec return sig static struct then to true try type upcast use val void when while with yield",illegal:/\/\*/,contains:[{className:"keyword",begin:/\b(yield|return|let|do)!/},{className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},{className:"string",begin:'"""',end:'"""'},e.COMMENT("\\(\\*","\\*\\)"),{className:"class",beginKeywords:"type",end:"\\(|=|$",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE,t]},{className:"annotation",begin:"\\[<",end:">\\]",relevance:10},{className:"attribute",begin:"\\B('[A-Za-z])\\b",contains:[e.BACKSLASH_ESCAPE]},e.C_LINE_COMMENT_MODE,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),e.C_NUMBER_MODE]}}),i.registerLanguage("gams",function(e){return{aliases:["gms"],case_insensitive:!0,keywords:"abort acronym acronyms alias all and assign binary card diag display else1 eps eq equation equations file files for1 free ge gt if inf integer le loop lt maximizing minimizing model models na ne negative no not option options or ord parameter parameters positive prod putpage puttl repeat sameas scalar scalars semicont semiint set1 sets smax smin solve sos1 sos2 sum system table then until using variable variables while1 xor yes",contains:[{className:"section",beginKeywords:"sets parameters variables equations",end:";",contains:[{begin:"/",end:"/",contains:[e.NUMBER_MODE]}]},{className:"string",begin:"\\*{3}",end:"\\*{3}"},e.NUMBER_MODE,{className:"number",begin:"\\$[a-zA-Z0-9]+"}]}}),i.registerLanguage("gcode",function(e){var t=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT(/\(/,/\)/),e.inherit(e.C_NUMBER_MODE,{begin:"([-+]?([0-9]*\\.?[0-9]+\\.?))|"+e.C_NUMBER_RE}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"keyword",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"title",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"title",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"title",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",end:"([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])"},{className:"label",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{aliases:["nc"],case_insensitive:!0,lexemes:"[A-Z_][A-Z0-9_.]*",keywords:{literal:"",built_in:"",keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},contains:[{className:"preprocessor",begin:"\\%"},{className:"preprocessor",begin:"([O])([0-9]+)"}].concat(t)}}),i.registerLanguage("gherkin",function(e){return{aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"keyword",begin:"\\*"},e.COMMENT("@[^@\r\n\t ]+","$"),{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},e.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},e.QUOTE_STRING_MODE]}}),i.registerLanguage("glsl",function(e){return{keywords:{keyword:"atomic_uint attribute bool break bvec2 bvec3 bvec4 case centroid coherent const continue default discard dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 do double dvec2 dvec3 dvec4 else flat float for highp if iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray in inout int invariant isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 layout lowp mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 mediump noperspective out patch precision readonly restrict return sample sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow smooth struct subroutine switch uimage1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint uniform usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D usamplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 varying vec2 vec3 vec4 void volatile while writeonly",built_in:"gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffsetgl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_PerVertex gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicCounter atomicCounterDecrement atomicCounterIncrement barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow gl_TextureMatrix gl_TextureMatrixInverse",literal:"true false"},illegal:'"',contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$"}]}}),i.registerLanguage("go",function(e){return{aliases:["golang"],keywords:{keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer",constant:"true false iota nil",typename:"bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",built_in:"append cap close complex copy imag len make new panic print println real recover delete"},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'"},{className:"string",begin:"`",end:"`"},{className:"number",begin:e.C_NUMBER_RE+"[dflsi]?",relevance:0},e.C_NUMBER_MODE]}}),i.registerLanguage("golo",function(e){return{keywords:{keyword:"println readln print import module function local return let var while for foreach times in case when match with break continue augment augmentation each find filter reduce if then else otherwise try catch finally raise throw orIfNull",typename:"DynamicObject|10 DynamicVariable struct Observable map set vector list array",literal:"true false null"},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("gradle",function(e){return{case_insensitive:!0,keywords:{keyword:"task project allprojects subprojects artifacts buildscript configurations dependencies repositories sourceSets description delete from into include exclude source classpath destinationDir includes options sourceCompatibility targetCompatibility group flatDir doLast doFirst flatten todir fromdir ant def abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true antlrtask checkstyle codenarc copy boolean byte char class double float int interface long short void compile runTime file fileTree abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}),i.registerLanguage("groovy",function(e){return{keywords:{typename:"byte short char int long boolean float double void",literal:"true false null",keyword:"def as in assert trait super this abstract static volatile transient public private protected synchronized final class interface enum if else for while switch case break default continue throw throws try catch finally implements extends new import package return instanceof"},contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},{className:"string",begin:"'''",end:"'''"},{className:"string",begin:"\\$/",end:"/\\$",relevance:10},e.APOS_STRING_MODE,{className:"regexp",begin:/~?\/[^\/\n]+\//,contains:[e.BACKSLASH_ESCAPE]},e.QUOTE_STRING_MODE,{className:"shebang",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},e.BINARY_NUMBER_MODE,{className:"class",beginKeywords:"class interface trait enum",end:"{",illegal:":",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"},{className:"string",begin:/[^\?]{0}[A-Za-z0-9_$]+ *:/},{begin:/\?/,end:/\:/},{className:"label",begin:"^\\s*[A-Za-z0-9_$]+:",relevance:0}],illegal:/#/}}),i.registerLanguage("haml",function(e){return{case_insensitive:!0,contains:[{className:"doctype",begin:"^!!!( (5|1\\.1|Strict|Frameset|Basic|Mobile|RDFa|XML\\b.*))?$",relevance:10},e.COMMENT("^\\s*(!=#|=#|-#|/).*$",!1,{relevance:0}),{begin:"^\\s*(-|=|!=)(?!#)",starts:{end:"\\n",subLanguage:"ruby"}},{className:"tag",begin:"^\\s*%",contains:[{className:"title",begin:"\\w+"},{className:"value",begin:"[#\\.][\\w-]+"},{begin:"{\\s*",end:"\\s*}",excludeEnd:!0,contains:[{begin:":\\w+\\s*=>",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"symbol",begin:":\\w+"},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attribute",begin:"\\w+",relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{className:"bullet",begin:"^\\s*[=~]\\s*",relevance:0},{begin:"#{",starts:{end:"}",subLanguage:"ruby"}}]}}),i.registerLanguage("handlebars",function(e){var t="each in with if else unless bindattr action collection debugger log outlet template unbound view yield";return{aliases:["hbs","html.hbs","html.handlebars"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"expression",begin:"{{",end:"}}",contains:[{className:"begin-block",begin:"#[a-zA-Z- .]+",keywords:t},{className:"string",begin:'"',end:'"'},{className:"end-block",begin:"\\/[a-zA-Z- .]+",keywords:t},{className:"variable",begin:"[a-zA-Z-.]+",keywords:t}]}]}}),i.registerLanguage("haskell",function(e){var t=[e.COMMENT("--","$"),e.COMMENT("{-","-}",{contains:["self"]})],n={className:"pragma",begin:"{-#",end:"#-}"},r={className:"preprocessor",begin:"^#",end:"$"},i={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},a={className:"container",begin:"\\(",end:"\\)",illegal:'"',contains:[n,r,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},e.inherit(e.TITLE_MODE,{begin:"[_a-z][\\w']*"})].concat(t)},o={className:"container",begin:"{",end:"}",contains:a.contains};return{aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",contains:[{className:"module",begin:"\\bmodule\\b",end:"where",keywords:"module where",contains:[a].concat(t),illegal:"\\W\\.|;"},{className:"import",begin:"\\bimport\\b",end:"$",keywords:"import|0 qualified as hiding",contains:[a].concat(t),illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[i,a].concat(t)},{className:"typedef",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[n,i,a,o].concat(t)},{className:"default",beginKeywords:"default",end:"$",contains:[i,a].concat(t)},{className:"infix",beginKeywords:"infix infixl infixr",end:"$",contains:[e.C_NUMBER_MODE].concat(t)},{className:"foreign",begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[i,e.QUOTE_STRING_MODE].concat(t)},{className:"shebang",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},n,r,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,i,e.inherit(e.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:"->|<-"}].concat(t)}}),i.registerLanguage("haxe",function(e){return{aliases:["hx"],keywords:{keyword:"break callback case cast catch class continue default do dynamic else enum extends extern for function here if implements import in inline interface never new override package private public return static super switch this throw trace try typedef untyped using var while",literal:"true false null"},contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.TITLE_MODE]},{className:"preprocessor",begin:"#",end:"$",keywords:"if else elseif end error"},{className:"function",beginKeywords:"function",end:"[{;]",excludeEnd:!0,illegal:"\\S",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"type",begin:":",end:"([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)",relevance:10}]}]}}),i.registerLanguage("http",function(e){return{aliases:["https"],illegal:"\\S",contains:[{className:"status",begin:"^HTTP/[0-9\\.]+",end:"$",contains:[{className:"number",begin:"\\b\\d{3}\\b"}]},{className:"request",begin:"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$",returnBegin:!0,end:"$",contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0}]},{className:"attribute",begin:"^\\w",end:": ",excludeEnd:!0,illegal:"\\n|\\s|=",starts:{className:"string",end:"$"}},{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}]}}),i.registerLanguage("inform7",function(e){return{aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:"\\[",end:"\\]"}]},{className:"title",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\b\\(This",end:"\\)"}]},{className:"comment",begin:"\\[",end:"\\]",contains:["self"]}]}}),i.registerLanguage("ini",function(e){var t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]};return{aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT(";","$"),e.HASH_COMMENT_MODE,{className:"title",begin:/^\s*\[+/,end:/\]+/},{className:"setting",begin:/^[a-z0-9\[\]_-]+\s*=\s*/,end:"$",contains:[{className:"value",endsWithParent:!0,keywords:"on off true false yes no",contains:[{className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)}/}]},t,{className:"number",begin:/([\+\-]+)?[\d]+_[\d_]+/},e.NUMBER_MODE],relevance:0}]}]}}),i.registerLanguage("irpf90",function(e){return{case_insensitive:!0,keywords:{constant:".False. .True.",type:"integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_ofacosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},e.COMMENT("!","$",{relevance:0}),e.COMMENT("begin_doc","end_doc",{relevance:10}),{className:"number",begin:"(?=\\b|\\+|\\-|\\.)(?=\\.\\d|\\d)(?:\\d+)?(?:\\.?\\d*)(?:[de][+-]?\\d+)?\\b\\.?",relevance:0}]}}),i.registerLanguage("java",function(e){var t=e.UNDERSCORE_IDENT_RE+"(<"+e.UNDERSCORE_IDENT_RE+">)?",n="false synchronized int abstract float private char boolean static null if const for true while long strictfp finally protected import native final void enum else break transient catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",r={className:"number",begin:"\\b(0[bB]([01]+[01_]+[01]+|[01]+)|0[xX]([a-fA-F0-9]+[a-fA-F0-9_]+[a-fA-F0-9]+|[a-fA-F0-9]+)|(([\\d]+[\\d_]+[\\d]+|[\\d]+)(\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))?|\\.([\\d]+[\\d_]+[\\d]+|[\\d]+))([eE][-+]?\\d+)?)[lLfF]?",relevance:0};return{aliases:["jsp"],keywords:n,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"new throw return else",relevance:0},{className:"function",begin:"("+t+"\\s+)+"+e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:n,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,keywords:n,relevance:0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},r,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("javascript",function(e){return{aliases:["js"],keywords:{keyword:"in of if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Promise"},contains:[{className:"pi",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE,{begin:/</,end:/>\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:/\$[(.]/},{begin:"\\."+e.IDENT_RE,relevance:0},{beginKeywords:"import",end:"[;$]",keywords:"import from as",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends"},e.UNDERSCORE_TITLE_MODE]}],illegal:/#/}}),i.registerLanguage("json",function(e){var t={literal:"true false null"},n=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],r={className:"value",end:",",endsWithParent:!0,excludeEnd:!0,contains:n,keywords:t},i={begin:"{",end:"}",contains:[{className:"attribute",begin:'\\s*"',end:'"\\s*:\\s*',excludeBegin:!0,excludeEnd:!0,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n",starts:r}],illegal:"\\S"},a={begin:"\\[",end:"\\]",contains:[e.inherit(r,{className:null})],illegal:"\\S"};return n.splice(n.length,0,i,a),{contains:n,keywords:t,illegal:"\\S"}}),i.registerLanguage("julia",function(e){var t={keyword:"in abstract baremodule begin bitstype break catch ccall const continue do else elseif end export finally for function global if immutable import importall let local macro module quote return try type typealias using while",literal:"true false ANY ARGS CPU_CORES C_NULL DL_LOAD_PATH DevNull ENDIAN_BOM ENV I|0 Inf Inf16 Inf32 InsertionSort JULIA_HOME LOAD_PATH MS_ASYNC MS_INVALIDATE MS_SYNC MergeSort NaN NaN16 NaN32 OS_NAME QuickSort RTLD_DEEPBIND RTLD_FIRST RTLD_GLOBAL RTLD_LAZY RTLD_LOCAL RTLD_NODELETE RTLD_NOLOAD RTLD_NOW RoundDown RoundFromZero RoundNearest RoundToZero RoundUp STDERR STDIN STDOUT VERSION WORD_SIZE catalan cglobal e|0 eu|0 eulergamma golden im nothing pi γ π φ",built_in:"ASCIIString AbstractArray AbstractRNG AbstractSparseArray Any ArgumentError Array Associative Base64Pipe Bidiagonal BigFloat BigInt BitArray BitMatrix BitVector Bool BoundsError Box CFILE Cchar Cdouble Cfloat Char CharString Cint Clong Clonglong ClusterManager Cmd Coff_t Colon Complex Complex128 Complex32 Complex64 Condition Cptrdiff_t Cshort Csize_t Cssize_t Cuchar Cuint Culong Culonglong Cushort Cwchar_t DArray DataType DenseArray Diagonal Dict DimensionMismatch DirectIndexString Display DivideError DomainError EOFError EachLine Enumerate ErrorException Exception Expr Factorization FileMonitor FileOffset Filter Float16 Float32 Float64 FloatRange FloatingPoint Function GetfieldNode GotoNode Hermitian IO IOBuffer IOStream IPv4 IPv6 InexactError Int Int128 Int16 Int32 Int64 Int8 IntSet Integer InterruptException IntrinsicFunction KeyError LabelNode LambdaStaticData LineNumberNode LoadError LocalProcess MIME MathConst MemoryError MersenneTwister Method MethodError MethodTable Module NTuple NewvarNode Nothing Number ObjectIdDict OrdinalRange OverflowError ParseError PollingFileWatcher ProcessExitedException ProcessGroup Ptr QuoteNode Range Range1 Ranges Rational RawFD Real Regex RegexMatch RemoteRef RepString RevString RopeString RoundingMode Set SharedArray Signed SparseMatrixCSC StackOverflowError Stat StatStruct StepRange String SubArray SubString SymTridiagonal Symbol SymbolNode Symmetric SystemError Task TextDisplay Timer TmStruct TopNode Triangular Tridiagonal Type TypeConstructor TypeError TypeName TypeVar UTF16String UTF32String UTF8String UdpSocket Uint Uint128 Uint16 Uint32 Uint64 Uint8 UndefRefError UndefVarError UniformScaling UnionType UnitRange Unsigned Vararg VersionNumber WString WeakKeyDict WeakRef Woodbury Zip"},n="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",r={lexemes:n,keywords:t},i={className:"subst",begin:/\$\(/,end:/\)/,keywords:t},a={className:"variable",begin:"\\$"+n},o={className:"string",contains:[e.BACKSLASH_ESCAPE,i,a],variants:[{begin:/\w*"/,end:/"\w*/},{begin:/\w*"""/,end:/"""\w*/}]},s={className:"string",contains:[e.BACKSLASH_ESCAPE,i,a],begin:"`",end:"`"},c={className:"macrocall",begin:"@"+n};return r.contains=[{className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},{className:"char",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},{className:"type-annotation",begin:/::/},{className:"subtype",begin:/<:/},o,s,c,{className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]},e.HASH_COMMENT_MODE],i.contains=r.contains,r}),i.registerLanguage("kotlin",function(e){var t="val var get set class trait object public open private protected final enum if else do while for when break continue throw try catch finally import package is as in return fun override default companion reified inline volatile transient native";return{keywords:{typename:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null",keyword:t},contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"type",begin:/</,end:/>/,returnBegin:!0,excludeEnd:!1,relevance:0},{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,illegal:/fun\s+(<.*>)?[^\s\(]+(\s+[^\s\(]+)\s*=/,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,keywords:t,relevance:0,illegal:/\([^\(,\s:]+,/,contains:[{className:"typename",begin:/:\s*/,end:/\s*[=\)]/,excludeBegin:!0,returnEnd:!0,relevance:0}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",beginKeywords:"class trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"typename",begin:/[,:]\s*/,end:/[<\(,]|$/,excludeBegin:!0,returnEnd:!0}]},{className:"variable",beginKeywords:"var val",end:/\s*[=:$]/,excludeEnd:!0},e.QUOTE_STRING_MODE,{className:"shebang",begin:"^#!/usr/bin/env",end:"$",illegal:"\n"},e.C_NUMBER_MODE]}}),i.registerLanguage("lasso",function(e){var t="[a-zA-Z_][a-zA-Z0-9_.]*",n="<\\?(lasso(script)?|=)",r="\\]|\\?>",i={literal:"true false none minimal full all void bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"error_code error_msg error_pop error_push error_reset cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},a=e.COMMENT("\x3c!--","--\x3e",{relevance:0}),o={className:"preprocessor",begin:"\\[noprocess\\]",starts:{className:"markup",end:"\\[/noprocess\\]",returnEnd:!0,contains:[a]}},s={className:"preprocessor",begin:"\\[/noprocess|"+n},c={className:"variable",begin:"'"+t+"'"},l=[e.COMMENT("/\\*\\*!","\\*/"),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.inherit(e.C_NUMBER_MODE,{begin:e.C_NUMBER_RE+"|(infinity|nan)\\b"}),e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{className:"variable",variants:[{begin:"[#$]"+t},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"tag",begin:"::\\s*",end:t,illegal:"\\W"},{className:"attribute",variants:[{begin:"-(?!infinity)"+e.UNDERSCORE_IDENT_RE,relevance:0},{begin:"(\\.\\.\\.)"}]},{className:"subst",variants:[{begin:"->\\s*",contains:[c]},{begin:"->|\\\\|&&?|\\|\\||!(?!=|>)|(and|or|not)\\b",relevance:0}]},{className:"built_in",begin:"\\.\\.?\\s*",relevance:0,contains:[c]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[e.inherit(e.TITLE_MODE,{begin:e.UNDERSCORE_IDENT_RE+"(=(?!>))?"})]}];return{aliases:["ls","lassoscript"],case_insensitive:!0,lexemes:t+"|&[lg]t;",keywords:i,contains:[{className:"preprocessor",begin:r,relevance:0,starts:{className:"markup",end:"\\[|"+n,returnEnd:!0,relevance:0,contains:[a]}},o,s,{className:"preprocessor",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",lexemes:t+"|&[lg]t;",keywords:i,contains:[{className:"preprocessor",begin:r,relevance:0,starts:{className:"markup",end:"\\[noprocess\\]|"+n,returnEnd:!0,contains:[a]}},o,s].concat(l)}},{className:"preprocessor",begin:"\\[",relevance:0},{className:"shebang",begin:"^#!.+lasso9\\b",relevance:10}].concat(l)}}),i.registerLanguage("less",function(r){var e="[\\w-]+",t="([\\w-]+|@{[\\w-]+})",n=[],i=[],a=function(e){return{className:"string",begin:"~?"+e+".*?"+e}},o=function(e,t,n){return{className:e,begin:t,relevance:n}},s=function(e,t,n){return r.inherit({className:e,begin:t+"\\(",end:"\\(",returnBegin:!0,excludeEnd:!0,relevance:0},n)},c={begin:"\\(",end:"\\)",contains:i,relevance:0};i.push(r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,a("'"),a('"'),r.CSS_NUMBER_MODE,o("hexcolor","#[0-9A-Fa-f]+\\b"),s("function","(url|data-uri)",{starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}}),s("function",e),c,o("variable","@@?"+e,10),o("variable","@{[\\w-]+}"),o("built_in","~?`[^`]*?`"),{className:"attribute",begin:e+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0});var l=i.concat({begin:"{",end:"}",contains:n}),u={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(i)},f={className:"attribute",begin:t,end:":",excludeEnd:!0,contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE],illegal:/\S/,starts:{end:"[;}]",returnEnd:!0,contains:i,illegal:"[<=$]"}},d={className:"at_rule",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",returnEnd:!0,contains:i,relevance:0}},h={className:"variable",variants:[{begin:"@[\\w-]+\\s*:",relevance:15},{begin:"@"+e}],starts:{end:"[;}]",returnEnd:!0,contains:l}},p={variants:[{begin:"[\\.#:&\\[]",end:"[;{}]"},{begin:t+"[^;]*{",end:"{"}],returnBegin:!0,returnEnd:!0,illegal:"[<='$\"]",contains:[r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,u,o("keyword","all\\b"),o("variable","@{[\\w-]+}"),o("tag",t+"%?",0),o("id","#"+t),o("class","\\."+t,0),o("keyword","&",0),s("pseudo",":not"),s("keyword",":extend"),o("pseudo","::?"+t),{className:"attr_selector",begin:"\\[",end:"\\]"},{begin:"\\(",end:"\\)",contains:l},{begin:"!important"}]};return n.push(r.C_LINE_COMMENT_MODE,r.C_BLOCK_COMMENT_MODE,d,h,p,f),{case_insensitive:!0,illegal:"[=>'/<($\"]",contains:n}}),i.registerLanguage("lisp",function(e){var t="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#!]*",n="\\|[^]*?\\|",r="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|\\-)?\\d+)?",i={className:"literal",begin:"\\b(t{1}|nil)\\b"},a={className:"number",variants:[{begin:r,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+r+" +"+r,end:"\\)"}]},o=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),s=e.COMMENT(";","$",{relevance:0}),c={className:"variable",begin:"\\*",end:"\\*"},l={className:"keyword",begin:"[:&]"+t},u={begin:t,relevance:0},f={begin:n},d={className:"quoted",contains:[a,o,c,l,{begin:"\\(",end:"\\)",contains:["self",i,o,a,u]},u],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:"quote"},{begin:"'"+n}]},h={className:"quoted",variants:[{begin:"'"+t},{begin:"#'"+t+"(::"+t+")*"}]},p={className:"list",begin:"\\(\\s*",end:"\\)"},m={endsWithParent:!0,relevance:0};return p.contains=[{className:"keyword",variants:[{begin:t},{begin:n}]},m],m.contains=[d,h,p,i,a,o,s,c,l,f,u],{illegal:/\S/,contains:[a,{className:"shebang",begin:"^#!",end:"$"},i,o,s,d,h,p,u]}}),i.registerLanguage("livecodeserver",function(e){var t={className:"variable",begin:"\\b[gtps][A-Z]+[A-Za-z0-9_\\-]*\\b|\\$_[A-Z]+",relevance:0},n=[e.C_BLOCK_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("--","$"),e.COMMENT("[^:]//","$")],r=e.inherit(e.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z]+[A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),i=e.inherit(e.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if",constant:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",operator:"div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract union unload wait write"},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[i,r]},{className:"command",beginKeywords:"command on",end:"$",contains:[t,i,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"preprocessor",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r].concat(n),illegal:";$|^\\[|^="}}),i.registerLanguage("livescript",function(e){var t={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger case default function var with then unless until loop of by when and or is isnt not it that otherwise from to til fallthrough super case default function var void const let enum export import native __hasProp __extends __slice __bind __indexOf",literal:"true false null undefined yes no on off it that void",built_in:"npm require console print module global window document"},n="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",r=e.inherit(e.TITLE_MODE,{begin:n}),i={className:"subst",begin:/#\{/,end:/}/,keywords:t},a={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:\-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:t},o=[e.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[e.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,i,a]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"pi",variants:[{begin:"//",end:"//[gim]*",contains:[i,e.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{className:"property",begin:"@"+n},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];i.contains=o;var s={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:t,contains:["self"].concat(o)}]};return{aliases:["ls"],keywords:t,illegal:/\/\*/,contains:o.concat([e.COMMENT("\\/\\*","\\*\\/"),e.HASH_COMMENT_MODE,{className:"function",contains:[r,s],returnBegin:!0,variants:[{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B\\->\\*?",end:"\\->\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\))?\\s*\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+n+"\\s*(?:=|:=)\\s*)?(\\(.*\\))?\\s*\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[r]},r]},{className:"attribute",begin:n+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}),i.registerLanguage("lua",function(e){var t="\\[=*\\[",n="\\]=*\\]",r={begin:t,end:n,contains:["self"]},i=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[r],relevance:10})];return{lexemes:e.UNDERSCORE_IDENT_RE,keywords:{keyword:"and break do else elseif end false for if in local nil not or repeat return then true until while",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},contains:i.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[r],relevance:5}])}}),i.registerLanguage("makefile",function(e){var t={className:"variable",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]};return{aliases:["mk","mak"],contains:[e.HASH_COMMENT_MODE,{begin:/^\w+\s*\W*=/,returnBegin:!0,relevance:0,starts:{className:"constant",end:/\s*\W*=/,excludeEnd:!0,starts:{end:/$/,relevance:0,contains:[t]}}},{className:"title",begin:/^[\w]+:\s*$/},{className:"phony",begin:/^\.PHONY:/,end:/$/,keywords:".PHONY",lexemes:/[\.\w]+/},{begin:/^\t+/,end:/$/,relevance:0,contains:[e.QUOTE_STRING_MODE,t]}]}}),i.registerLanguage("mathematica",function(e){return{aliases:["mma"],lexemes:"(\\$|\\b)"+e.IDENT_RE+"\\b",keywords:"AbelianGroup Abort AbortKernels AbortProtect Above Abs Absolute AbsoluteCorrelation AbsoluteCorrelationFunction AbsoluteCurrentValue AbsoluteDashing AbsoluteFileName AbsoluteOptions AbsolutePointSize AbsoluteThickness AbsoluteTime AbsoluteTiming AccountingForm Accumulate Accuracy AccuracyGoal ActionDelay ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime AiryBiZero AlgebraicIntegerQ AlgebraicNumber AlgebraicNumberDenominator AlgebraicNumberNorm AlgebraicNumberPolynomial AlgebraicNumberTrace AlgebraicRules AlgebraicRulesData Algebraics AlgebraicUnitQ Alignment AlignmentMarker AlignmentPoint All AllowedDimensions AllowGroupClose AllowInlineCells AllowKernelInitialization AllowReverseGroupClose AllowScriptLevelChange AlphaChannel AlternatingGroup AlternativeHypothesis Alternatives AmbientLight Analytic AnchoredSearch And AndersonDarlingTest AngerJ AngleBracket AngularGauge Animate AnimationCycleOffset AnimationCycleRepetitions AnimationDirection AnimationDisplayTime AnimationRate AnimationRepetitions AnimationRunning Animator AnimatorBox AnimatorBoxOptions AnimatorElements Annotation Annuity AnnuityDue Antialiasing Antisymmetric Apart ApartSquareFree Appearance AppearanceElements AppellF1 Append AppendTo Apply ArcCos ArcCosh ArcCot ArcCoth ArcCsc ArcCsch ArcSec ArcSech ArcSin ArcSinDistribution ArcSinh ArcTan ArcTanh Arg ArgMax ArgMin ArgumentCountQ ARIMAProcess ArithmeticGeometricMean ARMAProcess ARProcess Array ArrayComponents ArrayDepth ArrayFlatten ArrayPad ArrayPlot ArrayQ ArrayReshape ArrayRules Arrays Arrow Arrow3DBox ArrowBox Arrowheads AspectRatio AspectRatioFixed Assert Assuming Assumptions AstronomicalData Asynchronous AsynchronousTaskObject AsynchronousTasks AtomQ Attributes AugmentedSymmetricPolynomial AutoAction AutoDelete AutoEvaluateEvents AutoGeneratedPackage AutoIndent AutoIndentSpacings AutoItalicWords AutoloadPath AutoMatch Automatic AutomaticImageSize AutoMultiplicationSymbol AutoNumberFormatting AutoOpenNotebooks AutoOpenPalettes AutorunSequencing AutoScaling AutoScroll AutoSpacing AutoStyleOptions AutoStyleWords Axes AxesEdge AxesLabel AxesOrigin AxesStyle Axis BabyMonsterGroupB Back Background BackgroundTasksSettings Backslash Backsubstitution Backward Band BandpassFilter BandstopFilter BarabasiAlbertGraphDistribution BarChart BarChart3D BarLegend BarlowProschanImportance BarnesG BarOrigin BarSpacing BartlettHannWindow BartlettWindow BaseForm Baseline BaselinePosition BaseStyle BatesDistribution BattleLemarieWavelet Because BeckmannDistribution Beep Before Begin BeginDialogPacket BeginFrontEndInteractionPacket BeginPackage BellB BellY Below BenfordDistribution BeniniDistribution BenktanderGibratDistribution BenktanderWeibullDistribution BernoulliB BernoulliDistribution BernoulliGraphDistribution BernoulliProcess BernsteinBasis BesselFilterModel BesselI BesselJ BesselJZero BesselK BesselY BesselYZero Beta BetaBinomialDistribution BetaDistribution BetaNegativeBinomialDistribution BetaPrimeDistribution BetaRegularized BetweennessCentrality BezierCurve BezierCurve3DBox BezierCurve3DBoxOptions BezierCurveBox BezierCurveBoxOptions BezierFunction BilateralFilter Binarize BinaryFormat BinaryImageQ BinaryRead BinaryReadList BinaryWrite BinCounts BinLists Binomial BinomialDistribution BinomialProcess BinormalDistribution BiorthogonalSplineWavelet BipartiteGraphQ BirnbaumImportance BirnbaumSaundersDistribution BitAnd BitClear BitGet BitLength BitNot BitOr BitSet BitShiftLeft BitShiftRight BitXor Black BlackmanHarrisWindow BlackmanNuttallWindow BlackmanWindow Blank BlankForm BlankNullSequence BlankSequence Blend Block BlockRandom BlomqvistBeta BlomqvistBetaTest Blue Blur BodePlot BohmanWindow Bold Bookmarks Boole BooleanConsecutiveFunction BooleanConvert BooleanCountingFunction BooleanFunction BooleanGraph BooleanMaxterms BooleanMinimize BooleanMinterms Booleans BooleanTable BooleanVariables BorderDimensions BorelTannerDistribution Bottom BottomHatTransform BoundaryStyle Bounds Box BoxBaselineShift BoxData BoxDimensions Boxed Boxes BoxForm BoxFormFormatTypes BoxFrame BoxID BoxMargins BoxMatrix BoxRatios BoxRotation BoxRotationPoint BoxStyle BoxWhiskerChart Bra BracketingBar BraKet BrayCurtisDistance BreadthFirstScan Break Brown BrownForsytheTest BrownianBridgeProcess BrowserCategory BSplineBasis BSplineCurve BSplineCurve3DBox BSplineCurveBox BSplineCurveBoxOptions BSplineFunction BSplineSurface BSplineSurface3DBox BubbleChart BubbleChart3D BubbleScale BubbleSizes BulletGauge BusinessDayQ ButterflyGraph ButterworthFilterModel Button ButtonBar ButtonBox ButtonBoxOptions ButtonCell ButtonContents ButtonData ButtonEvaluator ButtonExpandable ButtonFrame ButtonFunction ButtonMargins ButtonMinHeight ButtonNote ButtonNotebook ButtonSource ButtonStyle ButtonStyleMenuListing Byte ByteCount ByteOrdering C CachedValue CacheGraphics CalendarData CalendarType CallPacket CanberraDistance Cancel CancelButton CandlestickChart Cap CapForm CapitalDifferentialD CardinalBSplineBasis CarmichaelLambda Cases Cashflow Casoratian Catalan CatalanNumber Catch CauchyDistribution CauchyWindow CayleyGraph CDF CDFDeploy CDFInformation CDFWavelet Ceiling Cell CellAutoOverwrite CellBaseline CellBoundingBox CellBracketOptions CellChangeTimes CellContents CellContext CellDingbat CellDynamicExpression CellEditDuplicate CellElementsBoundingBox CellElementSpacings CellEpilog CellEvaluationDuplicate CellEvaluationFunction CellEventActions CellFrame CellFrameColor CellFrameLabelMargins CellFrameLabels CellFrameMargins CellGroup CellGroupData CellGrouping CellGroupingRules CellHorizontalScrolling CellID CellLabel CellLabelAutoDelete CellLabelMargins CellLabelPositioning CellMargins CellObject CellOpen CellPrint CellProlog Cells CellSize CellStyle CellTags CellularAutomaton CensoredDistribution Censoring Center CenterDot CentralMoment CentralMomentGeneratingFunction CForm ChampernowneNumber ChanVeseBinarize Character CharacterEncoding CharacterEncodingsPath CharacteristicFunction CharacteristicPolynomial CharacterRange Characters ChartBaseStyle ChartElementData ChartElementDataFunction ChartElementFunction ChartElements ChartLabels ChartLayout ChartLegends ChartStyle Chebyshev1FilterModel Chebyshev2FilterModel ChebyshevDistance ChebyshevT ChebyshevU Check CheckAbort CheckAll Checkbox CheckboxBar CheckboxBox CheckboxBoxOptions ChemicalData ChessboardDistance ChiDistribution ChineseRemainder ChiSquareDistribution ChoiceButtons ChoiceDialog CholeskyDecomposition Chop Circle CircleBox CircleDot CircleMinus CirclePlus CircleTimes CirculantGraph CityData Clear ClearAll ClearAttributes ClearSystemCache ClebschGordan ClickPane Clip ClipboardNotebook ClipFill ClippingStyle ClipPlanes ClipRange Clock ClockGauge ClockwiseContourIntegral Close Closed CloseKernels ClosenessCentrality Closing ClosingAutoSave ClosingEvent ClusteringComponents CMYKColor Coarse Coefficient CoefficientArrays CoefficientDomain CoefficientList CoefficientRules CoifletWavelet Collect Colon ColonForm ColorCombine ColorConvert ColorData ColorDataFunction ColorFunction ColorFunctionScaling Colorize ColorNegate ColorOutput ColorProfileData ColorQuantize ColorReplace ColorRules ColorSelectorSettings ColorSeparate ColorSetter ColorSetterBox ColorSetterBoxOptions ColorSlider ColorSpace Column ColumnAlignments ColumnBackgrounds ColumnForm ColumnLines ColumnsEqual ColumnSpacings ColumnWidths CommonDefaultFormatTypes Commonest CommonestFilter CommonUnits CommunityBoundaryStyle CommunityGraphPlot CommunityLabels CommunityRegionStyle CompatibleUnitQ CompilationOptions CompilationTarget Compile Compiled CompiledFunction Complement CompleteGraph CompleteGraphQ CompleteKaryTree CompletionsListPacket Complex Complexes ComplexExpand ComplexInfinity ComplexityFunction ComponentMeasurements ComponentwiseContextMenu Compose ComposeList ComposeSeries Composition CompoundExpression CompoundPoissonDistribution CompoundPoissonProcess CompoundRenewalProcess Compress CompressedData Condition ConditionalExpression Conditioned Cone ConeBox ConfidenceLevel ConfidenceRange ConfidenceTransform ConfigurationPath Congruent Conjugate ConjugateTranspose Conjunction Connect ConnectedComponents ConnectedGraphQ ConnesWindow ConoverTest ConsoleMessage ConsoleMessagePacket ConsolePrint Constant ConstantArray Constants ConstrainedMax ConstrainedMin ContentPadding ContentsBoundingBox ContentSelectable ContentSize Context ContextMenu Contexts ContextToFilename ContextToFileName Continuation Continue ContinuedFraction ContinuedFractionK ContinuousAction ContinuousMarkovProcess ContinuousTimeModelQ ContinuousWaveletData ContinuousWaveletTransform ContourDetect ContourGraphics ContourIntegral ContourLabels ContourLines ContourPlot ContourPlot3D Contours ContourShading ContourSmoothing ContourStyle ContraharmonicMean Control ControlActive ControlAlignment ControllabilityGramian ControllabilityMatrix ControllableDecomposition ControllableModelQ ControllerDuration ControllerInformation ControllerInformationData ControllerLinking ControllerManipulate ControllerMethod ControllerPath ControllerState ControlPlacement ControlsRendering ControlType Convergents ConversionOptions ConversionRules ConvertToBitmapPacket ConvertToPostScript ConvertToPostScriptPacket Convolve ConwayGroupCo1 ConwayGroupCo2 ConwayGroupCo3 CoordinateChartData CoordinatesToolOptions CoordinateTransform CoordinateTransformData CoprimeQ Coproduct CopulaDistribution Copyable CopyDirectory CopyFile CopyTag CopyToClipboard CornerFilter CornerNeighbors Correlation CorrelationDistance CorrelationFunction CorrelationTest Cos Cosh CoshIntegral CosineDistance CosineWindow CosIntegral Cot Coth Count CounterAssignments CounterBox CounterBoxOptions CounterClockwiseContourIntegral CounterEvaluator CounterFunction CounterIncrements CounterStyle CounterStyleMenuListing CountRoots CountryData Covariance CovarianceEstimatorFunction CovarianceFunction CoxianDistribution CoxIngersollRossProcess CoxModel CoxModelFit CramerVonMisesTest CreateArchive CreateDialog CreateDirectory CreateDocument CreateIntermediateDirectories CreatePalette CreatePalettePacket CreateScheduledTask CreateTemporary CreateWindow CriticalityFailureImportance CriticalitySuccessImportance CriticalSection Cross CrossingDetect CrossMatrix Csc Csch CubeRoot Cubics Cuboid CuboidBox Cumulant CumulantGeneratingFunction Cup CupCap Curl CurlyDoubleQuote CurlyQuote CurrentImage CurrentlySpeakingPacket CurrentValue CurvatureFlowFilter CurveClosed Cyan CycleGraph CycleIndexPolynomial Cycles CyclicGroup Cyclotomic Cylinder CylinderBox CylindricalDecomposition D DagumDistribution DamerauLevenshteinDistance DampingFactor Darker Dashed Dashing DataCompression DataDistribution DataRange DataReversed Date DateDelimiters DateDifference DateFunction DateList DateListLogPlot DateListPlot DatePattern DatePlus DateRange DateString DateTicksFormat DaubechiesWavelet DavisDistribution DawsonF DayCount DayCountConvention DayMatchQ DayName DayPlus DayRange DayRound DeBruijnGraph Debug DebugTag Decimal DeclareKnownSymbols DeclarePackage Decompose Decrement DedekindEta Default DefaultAxesStyle DefaultBaseStyle DefaultBoxStyle DefaultButton DefaultColor DefaultControlPlacement DefaultDuplicateCellStyle DefaultDuration DefaultElement DefaultFaceGridsStyle DefaultFieldHintStyle DefaultFont DefaultFontProperties DefaultFormatType DefaultFormatTypeForStyle DefaultFrameStyle DefaultFrameTicksStyle DefaultGridLinesStyle DefaultInlineFormatType DefaultInputFormatType DefaultLabelStyle DefaultMenuStyle DefaultNaturalLanguage DefaultNewCellStyle DefaultNewInlineCellStyle DefaultNotebook DefaultOptions DefaultOutputFormatType DefaultStyle DefaultStyleDefinitions DefaultTextFormatType DefaultTextInlineFormatType DefaultTicksStyle DefaultTooltipStyle DefaultValues Defer DefineExternal DefineInputStreamMethod DefineOutputStreamMethod Definition Degree DegreeCentrality DegreeGraphDistribution DegreeLexicographic DegreeReverseLexicographic Deinitialization Del Deletable Delete DeleteBorderComponents DeleteCases DeleteContents DeleteDirectory DeleteDuplicates DeleteFile DeleteSmallComponents DeleteWithContents DeletionWarning Delimiter DelimiterFlashTime DelimiterMatching Delimiters Denominator DensityGraphics DensityHistogram DensityPlot DependentVariables Deploy Deployed Depth DepthFirstScan Derivative DerivativeFilter DescriptorStateSpace DesignMatrix Det DGaussianWavelet DiacriticalPositioning Diagonal DiagonalMatrix Dialog DialogIndent DialogInput DialogLevel DialogNotebook DialogProlog DialogReturn DialogSymbols Diamond DiamondMatrix DiceDissimilarity DictionaryLookup DifferenceDelta DifferenceOrder DifferenceRoot DifferenceRootReduce Differences DifferentialD DifferentialRoot DifferentialRootReduce DifferentiatorFilter DigitBlock DigitBlockMinimum DigitCharacter DigitCount DigitQ DihedralGroup Dilation Dimensions DiracComb DiracDelta DirectedEdge DirectedEdges DirectedGraph DirectedGraphQ DirectedInfinity Direction Directive Directory DirectoryName DirectoryQ DirectoryStack DirichletCharacter DirichletConvolve DirichletDistribution DirichletL DirichletTransform DirichletWindow DisableConsolePrintPacket DiscreteChirpZTransform DiscreteConvolve DiscreteDelta DiscreteHadamardTransform DiscreteIndicator DiscreteLQEstimatorGains DiscreteLQRegulatorGains DiscreteLyapunovSolve DiscreteMarkovProcess DiscretePlot DiscretePlot3D DiscreteRatio DiscreteRiccatiSolve DiscreteShift DiscreteTimeModelQ DiscreteUniformDistribution DiscreteVariables DiscreteWaveletData DiscreteWaveletPacketTransform DiscreteWaveletTransform Discriminant Disjunction Disk DiskBox DiskMatrix Dispatch DispersionEstimatorFunction Display DisplayAllSteps DisplayEndPacket DisplayFlushImagePacket DisplayForm DisplayFunction DisplayPacket DisplayRules DisplaySetSizePacket DisplayString DisplayTemporary DisplayWith DisplayWithRef DisplayWithVariable DistanceFunction DistanceTransform Distribute Distributed DistributedContexts DistributeDefinitions DistributionChart DistributionDomain DistributionFitTest DistributionParameterAssumptions DistributionParameterQ Dithering Div Divergence Divide DivideBy Dividers Divisible Divisors DivisorSigma DivisorSum DMSList DMSString Do DockedCells DocumentNotebook DominantColors DOSTextFormat Dot DotDashed DotEqual Dotted DoubleBracketingBar DoubleContourIntegral DoubleDownArrow DoubleLeftArrow DoubleLeftRightArrow DoubleLeftTee DoubleLongLeftArrow DoubleLongLeftRightArrow DoubleLongRightArrow DoubleRightArrow DoubleRightTee DoubleUpArrow DoubleUpDownArrow DoubleVerticalBar DoublyInfinite Down DownArrow DownArrowBar DownArrowUpArrow DownLeftRightVector DownLeftTeeVector DownLeftVector DownLeftVectorBar DownRightTeeVector DownRightVector DownRightVectorBar Downsample DownTee DownTeeArrow DownValues DragAndDrop DrawEdges DrawFrontFaces DrawHighlighted Drop DSolve Dt DualLinearProgramming DualSystemsModel DumpGet DumpSave DuplicateFreeQ Dynamic DynamicBox DynamicBoxOptions DynamicEvaluationTimeout DynamicLocation DynamicModule DynamicModuleBox DynamicModuleBoxOptions DynamicModuleParent DynamicModuleValues DynamicName DynamicNamespace DynamicReference DynamicSetting DynamicUpdating DynamicWrapper DynamicWrapperBox DynamicWrapperBoxOptions E EccentricityCentrality EdgeAdd EdgeBetweennessCentrality EdgeCapacity EdgeCapForm EdgeColor EdgeConnectivity EdgeCost EdgeCount EdgeCoverQ EdgeDashing EdgeDelete EdgeDetect EdgeForm EdgeIndex EdgeJoinForm EdgeLabeling EdgeLabels EdgeLabelStyle EdgeList EdgeOpacity EdgeQ EdgeRenderingFunction EdgeRules EdgeShapeFunction EdgeStyle EdgeThickness EdgeWeight Editable EditButtonSettings EditCellTagsSettings EditDistance EffectiveInterest Eigensystem Eigenvalues EigenvectorCentrality Eigenvectors Element ElementData Eliminate EliminationOrder EllipticE EllipticExp EllipticExpPrime EllipticF EllipticFilterModel EllipticK EllipticLog EllipticNomeQ EllipticPi EllipticReducedHalfPeriods EllipticTheta EllipticThetaPrime EmitSound EmphasizeSyntaxErrors EmpiricalDistribution Empty EmptyGraphQ EnableConsolePrintPacket Enabled Encode End EndAdd EndDialogPacket EndFrontEndInteractionPacket EndOfFile EndOfLine EndOfString EndPackage EngineeringForm Enter EnterExpressionPacket EnterTextPacket Entropy EntropyFilter Environment Epilog Equal EqualColumns EqualRows EqualTilde EquatedTo Equilibrium EquirippleFilterKernel Equivalent Erf Erfc Erfi ErlangB ErlangC ErlangDistribution Erosion ErrorBox ErrorBoxOptions ErrorNorm ErrorPacket ErrorsDialogSettings EstimatedDistribution EstimatedProcess EstimatorGains EstimatorRegulator EuclideanDistance EulerE EulerGamma EulerianGraphQ EulerPhi Evaluatable Evaluate Evaluated EvaluatePacket EvaluationCell EvaluationCompletionAction EvaluationElements EvaluationMode EvaluationMonitor EvaluationNotebook EvaluationObject EvaluationOrder Evaluator EvaluatorNames EvenQ EventData EventEvaluator EventHandler EventHandlerTag EventLabels ExactBlackmanWindow ExactNumberQ ExactRootIsolation ExampleData Except ExcludedForms ExcludePods Exclusions ExclusionsStyle Exists Exit ExitDialog Exp Expand ExpandAll ExpandDenominator ExpandFileName ExpandNumerator Expectation ExpectationE ExpectedValue ExpGammaDistribution ExpIntegralE ExpIntegralEi Exponent ExponentFunction ExponentialDistribution ExponentialFamily ExponentialGeneratingFunction ExponentialMovingAverage ExponentialPowerDistribution ExponentPosition ExponentStep Export ExportAutoReplacements ExportPacket ExportString Expression ExpressionCell ExpressionPacket ExpToTrig ExtendedGCD Extension ExtentElementFunction ExtentMarkers ExtentSize ExternalCall ExternalDataCharacterEncoding Extract ExtractArchive ExtremeValueDistribution FaceForm FaceGrids FaceGridsStyle Factor FactorComplete Factorial Factorial2 FactorialMoment FactorialMomentGeneratingFunction FactorialPower FactorInteger FactorList FactorSquareFree FactorSquareFreeList FactorTerms FactorTermsList Fail FailureDistribution False FARIMAProcess FEDisableConsolePrintPacket FeedbackSector FeedbackSectorStyle FeedbackType FEEnableConsolePrintPacket Fibonacci FieldHint FieldHintStyle FieldMasked FieldSize File FileBaseName FileByteCount FileDate FileExistsQ FileExtension FileFormat FileHash FileInformation FileName FileNameDepth FileNameDialogSettings FileNameDrop FileNameJoin FileNames FileNameSetter FileNameSplit FileNameTake FilePrint FileType FilledCurve FilledCurveBox Filling FillingStyle FillingTransform FilterRules FinancialBond FinancialData FinancialDerivative FinancialIndicator Find FindArgMax FindArgMin FindClique FindClusters FindCurvePath FindDistributionParameters FindDivisions FindEdgeCover FindEdgeCut FindEulerianCycle FindFaces FindFile FindFit FindGeneratingFunction FindGeoLocation FindGeometricTransform FindGraphCommunities FindGraphIsomorphism FindGraphPartition FindHamiltonianCycle FindIndependentEdgeSet FindIndependentVertexSet FindInstance FindIntegerNullVector FindKClan FindKClique FindKClub FindKPlex FindLibrary FindLinearRecurrence FindList FindMaximum FindMaximumFlow FindMaxValue FindMinimum FindMinimumCostFlow FindMinimumCut FindMinValue FindPermutation FindPostmanTour FindProcessParameters FindRoot FindSequenceFunction FindSettings FindShortestPath FindShortestTour FindThreshold FindVertexCover FindVertexCut Fine FinishDynamic FiniteAbelianGroupCount FiniteGroupCount FiniteGroupData First FirstPassageTimeDistribution FischerGroupFi22 FischerGroupFi23 FischerGroupFi24Prime FisherHypergeometricDistribution FisherRatioTest FisherZDistribution Fit FitAll FittedModel FixedPoint FixedPointList FlashSelection Flat Flatten FlattenAt FlatTopWindow FlipView Floor FlushPrintOutputPacket Fold FoldList Font FontColor FontFamily FontForm FontName FontOpacity FontPostScriptName FontProperties FontReencoding FontSize FontSlant FontSubstitutions FontTracking FontVariations FontWeight For ForAll Format FormatRules FormatType FormatTypeAutoConvert FormatValues FormBox FormBoxOptions FortranForm Forward ForwardBackward Fourier FourierCoefficient FourierCosCoefficient FourierCosSeries FourierCosTransform FourierDCT FourierDCTFilter FourierDCTMatrix FourierDST FourierDSTMatrix FourierMatrix FourierParameters FourierSequenceTransform FourierSeries FourierSinCoefficient FourierSinSeries FourierSinTransform FourierTransform FourierTrigSeries FractionalBrownianMotionProcess FractionalPart FractionBox FractionBoxOptions FractionLine Frame FrameBox FrameBoxOptions Framed FrameInset FrameLabel Frameless FrameMargins FrameStyle FrameTicks FrameTicksStyle FRatioDistribution FrechetDistribution FreeQ FrequencySamplingFilterKernel FresnelC FresnelS Friday FrobeniusNumber FrobeniusSolve FromCharacterCode FromCoefficientRules FromContinuedFraction FromDate FromDigits FromDMS Front FrontEndDynamicExpression FrontEndEventActions FrontEndExecute FrontEndObject FrontEndResource FrontEndResourceString FrontEndStackSize FrontEndToken FrontEndTokenExecute FrontEndValueCache FrontEndVersion FrontFaceColor FrontFaceOpacity Full FullAxes FullDefinition FullForm FullGraphics FullOptions FullSimplify Function FunctionExpand FunctionInterpolation FunctionSpace FussellVeselyImportance GaborFilter GaborMatrix GaborWavelet GainMargins GainPhaseMargins Gamma GammaDistribution GammaRegularized GapPenalty Gather GatherBy GaugeFaceElementFunction GaugeFaceStyle GaugeFrameElementFunction GaugeFrameSize GaugeFrameStyle GaugeLabels GaugeMarkers GaugeStyle GaussianFilter GaussianIntegers GaussianMatrix GaussianWindow GCD GegenbauerC General GeneralizedLinearModelFit GenerateConditions GeneratedCell GeneratedParameters GeneratingFunction Generic GenericCylindricalDecomposition GenomeData GenomeLookup GeodesicClosing GeodesicDilation GeodesicErosion GeodesicOpening GeoDestination GeodesyData GeoDirection GeoDistance GeoGridPosition GeometricBrownianMotionProcess GeometricDistribution GeometricMean GeometricMeanFilter GeometricTransformation GeometricTransformation3DBox GeometricTransformation3DBoxOptions GeometricTransformationBox GeometricTransformationBoxOptions GeoPosition GeoPositionENU GeoPositionXYZ GeoProjectionData GestureHandler GestureHandlerTag Get GetBoundingBoxSizePacket GetContext GetEnvironment GetFileName GetFrontEndOptionsDataPacket GetLinebreakInformationPacket GetMenusPacket GetPageBreakInformationPacket Glaisher GlobalClusteringCoefficient GlobalPreferences GlobalSession Glow GoldenRatio GompertzMakehamDistribution GoodmanKruskalGamma GoodmanKruskalGammaTest Goto Grad Gradient GradientFilter GradientOrientationFilter Graph GraphAssortativity GraphCenter GraphComplement GraphData GraphDensity GraphDiameter GraphDifference GraphDisjointUnion GraphDistance GraphDistanceMatrix GraphElementData GraphEmbedding GraphHighlight GraphHighlightStyle GraphHub Graphics Graphics3D Graphics3DBox Graphics3DBoxOptions GraphicsArray GraphicsBaseline GraphicsBox GraphicsBoxOptions GraphicsColor GraphicsColumn GraphicsComplex GraphicsComplex3DBox GraphicsComplex3DBoxOptions GraphicsComplexBox GraphicsComplexBoxOptions GraphicsContents GraphicsData GraphicsGrid GraphicsGridBox GraphicsGroup GraphicsGroup3DBox GraphicsGroup3DBoxOptions GraphicsGroupBox GraphicsGroupBoxOptions GraphicsGrouping GraphicsHighlightColor GraphicsRow GraphicsSpacing GraphicsStyle GraphIntersection GraphLayout GraphLinkEfficiency GraphPeriphery GraphPlot GraphPlot3D GraphPower GraphPropertyDistribution GraphQ GraphRadius GraphReciprocity GraphRoot GraphStyle GraphUnion Gray GrayLevel GreatCircleDistance Greater GreaterEqual GreaterEqualLess GreaterFullEqual GreaterGreater GreaterLess GreaterSlantEqual GreaterTilde Green Grid GridBaseline GridBox GridBoxAlignment GridBoxBackground GridBoxDividers GridBoxFrame GridBoxItemSize GridBoxItemStyle GridBoxOptions GridBoxSpacings GridCreationSettings GridDefaultElement GridElementStyleOptions GridFrame GridFrameMargins GridGraph GridLines GridLinesStyle GroebnerBasis GroupActionBase GroupCentralizer GroupElementFromWord GroupElementPosition GroupElementQ GroupElements GroupElementToWord GroupGenerators GroupMultiplicationTable GroupOrbits GroupOrder GroupPageBreakWithin GroupSetwiseStabilizer GroupStabilizer GroupStabilizerChain Gudermannian GumbelDistribution HaarWavelet HadamardMatrix HalfNormalDistribution HamiltonianGraphQ HammingDistance HammingWindow HankelH1 HankelH2 HankelMatrix HannPoissonWindow HannWindow HaradaNortonGroupHN HararyGraph HarmonicMean HarmonicMeanFilter HarmonicNumber Hash HashTable Haversine HazardFunction Head HeadCompose Heads HeavisideLambda HeavisidePi HeavisideTheta HeldGroupHe HeldPart HelpBrowserLookup HelpBrowserNotebook HelpBrowserSettings HermiteDecomposition HermiteH HermitianMatrixQ HessenbergDecomposition Hessian HexadecimalCharacter Hexahedron HexahedronBox HexahedronBoxOptions HiddenSurface HighlightGraph HighlightImage HighpassFilter HigmanSimsGroupHS HilbertFilter HilbertMatrix Histogram Histogram3D HistogramDistribution HistogramList HistogramTransform HistogramTransformInterpolation HitMissTransform HITSCentrality HodgeDual HoeffdingD HoeffdingDTest Hold HoldAll HoldAllComplete HoldComplete HoldFirst HoldForm HoldPattern HoldRest HolidayCalendar HomeDirectory HomePage Horizontal HorizontalForm HorizontalGauge HorizontalScrollPosition HornerForm HotellingTSquareDistribution HoytDistribution HTMLSave Hue HumpDownHump HumpEqual HurwitzLerchPhi HurwitzZeta HyperbolicDistribution HypercubeGraph HyperexponentialDistribution Hyperfactorial Hypergeometric0F1 Hypergeometric0F1Regularized Hypergeometric1F1 Hypergeometric1F1Regularized Hypergeometric2F1 Hypergeometric2F1Regularized HypergeometricDistribution HypergeometricPFQ HypergeometricPFQRegularized HypergeometricU Hyperlink HyperlinkCreationSettings Hyphenation HyphenationOptions HypoexponentialDistribution HypothesisTestData I Identity IdentityMatrix If IgnoreCase Im Image Image3D Image3DSlices ImageAccumulate ImageAdd ImageAdjust ImageAlign ImageApply ImageAspectRatio ImageAssemble ImageCache ImageCacheValid ImageCapture ImageChannels ImageClip ImageColorSpace ImageCompose ImageConvolve ImageCooccurrence ImageCorners ImageCorrelate ImageCorrespondingPoints ImageCrop ImageData ImageDataPacket ImageDeconvolve ImageDemosaic ImageDifference ImageDimensions ImageDistance ImageEffect ImageFeatureTrack ImageFileApply ImageFileFilter ImageFileScan ImageFilter ImageForestingComponents ImageForwardTransformation ImageHistogram ImageKeypoints ImageLevels ImageLines ImageMargins ImageMarkers ImageMeasurements ImageMultiply ImageOffset ImagePad ImagePadding ImagePartition ImagePeriodogram ImagePerspectiveTransformation ImageQ ImageRangeCache ImageReflect ImageRegion ImageResize ImageResolution ImageRotate ImageRotated ImageScaled ImageScan ImageSize ImageSizeAction ImageSizeCache ImageSizeMultipliers ImageSizeRaw ImageSubtract ImageTake ImageTransformation ImageTrim ImageType ImageValue ImageValuePositions Implies Import ImportAutoReplacements ImportString ImprovementImportance In IncidenceGraph IncidenceList IncidenceMatrix IncludeConstantBasis IncludeFileExtension IncludePods IncludeSingularTerm Increment Indent IndentingNewlineSpacings IndentMaxFraction IndependenceTest IndependentEdgeSetQ IndependentUnit IndependentVertexSetQ Indeterminate IndexCreationOptions Indexed IndexGraph IndexTag Inequality InexactNumberQ InexactNumbers Infinity Infix Information Inherited InheritScope Initialization InitializationCell InitializationCellEvaluation InitializationCellWarning InlineCounterAssignments InlineCounterIncrements InlineRules Inner Inpaint Input InputAliases InputAssumptions InputAutoReplacements InputField InputFieldBox InputFieldBoxOptions InputForm InputGrouping InputNamePacket InputNotebook InputPacket InputSettings InputStream InputString InputStringPacket InputToBoxFormPacket Insert InsertionPointObject InsertResults Inset Inset3DBox Inset3DBoxOptions InsetBox InsetBoxOptions Install InstallService InString Integer IntegerDigits IntegerExponent IntegerLength IntegerPart IntegerPartitions IntegerQ Integers IntegerString Integral Integrate Interactive InteractiveTradingChart Interlaced Interleaving InternallyBalancedDecomposition InterpolatingFunction InterpolatingPolynomial Interpolation InterpolationOrder InterpolationPoints InterpolationPrecision Interpretation InterpretationBox InterpretationBoxOptions InterpretationFunction InterpretTemplate InterquartileRange Interrupt InterruptSettings Intersection Interval IntervalIntersection IntervalMemberQ IntervalUnion Inverse InverseBetaRegularized InverseCDF InverseChiSquareDistribution InverseContinuousWaveletTransform InverseDistanceTransform InverseEllipticNomeQ InverseErf InverseErfc InverseFourier InverseFourierCosTransform InverseFourierSequenceTransform InverseFourierSinTransform InverseFourierTransform InverseFunction InverseFunctions InverseGammaDistribution InverseGammaRegularized InverseGaussianDistribution InverseGudermannian InverseHaversine InverseJacobiCD InverseJacobiCN InverseJacobiCS InverseJacobiDC InverseJacobiDN InverseJacobiDS InverseJacobiNC InverseJacobiND InverseJacobiNS InverseJacobiSC InverseJacobiSD InverseJacobiSN InverseLaplaceTransform InversePermutation InverseRadon InverseSeries InverseSurvivalFunction InverseWaveletTransform InverseWeierstrassP InverseZTransform Invisible InvisibleApplication InvisibleTimes IrreduciblePolynomialQ IsolatingInterval IsomorphicGraphQ IsotopeData Italic Item ItemBox ItemBoxOptions ItemSize ItemStyle ItoProcess JaccardDissimilarity JacobiAmplitude Jacobian JacobiCD JacobiCN JacobiCS JacobiDC JacobiDN JacobiDS JacobiNC JacobiND JacobiNS JacobiP JacobiSC JacobiSD JacobiSN JacobiSymbol JacobiZeta JankoGroupJ1 JankoGroupJ2 JankoGroupJ3 JankoGroupJ4 JarqueBeraALMTest JohnsonDistribution Join Joined JoinedCurve JoinedCurveBox JoinForm JordanDecomposition JordanModelDecomposition K KagiChart KaiserBesselWindow KaiserWindow KalmanEstimator KalmanFilter KarhunenLoeveDecomposition KaryTree KatzCentrality KCoreComponents KDistribution KelvinBei KelvinBer KelvinKei KelvinKer KendallTau KendallTauTest KernelExecute KernelMixtureDistribution KernelObject Kernels Ket Khinchin KirchhoffGraph KirchhoffMatrix KleinInvariantJ KnightTourGraph KnotData KnownUnitQ KolmogorovSmirnovTest KroneckerDelta KroneckerModelDecomposition KroneckerProduct KroneckerSymbol KuiperTest KumaraswamyDistribution Kurtosis KuwaharaFilter Label Labeled LabeledSlider LabelingFunction LabelStyle LaguerreL LambdaComponents LambertW LanczosWindow LandauDistribution Language LanguageCategory LaplaceDistribution LaplaceTransform Laplacian LaplacianFilter LaplacianGaussianFilter Large Larger Last Latitude LatitudeLongitude LatticeData LatticeReduce Launch LaunchKernels LayeredGraphPlot LayerSizeFunction LayoutInformation LCM LeafCount LeapYearQ LeastSquares LeastSquaresFilterKernel Left LeftArrow LeftArrowBar LeftArrowRightArrow LeftDownTeeVector LeftDownVector LeftDownVectorBar LeftRightArrow LeftRightVector LeftTee LeftTeeArrow LeftTeeVector LeftTriangle LeftTriangleBar LeftTriangleEqual LeftUpDownVector LeftUpTeeVector LeftUpVector LeftUpVectorBar LeftVector LeftVectorBar LegendAppearance Legended LegendFunction LegendLabel LegendLayout LegendMargins LegendMarkers LegendMarkerSize LegendreP LegendreQ LegendreType Length LengthWhile LerchPhi Less LessEqual LessEqualGreater LessFullEqual LessGreater LessLess LessSlantEqual LessTilde LetterCharacter LetterQ Level LeveneTest LeviCivitaTensor LevyDistribution Lexicographic LibraryFunction LibraryFunctionError LibraryFunctionInformation LibraryFunctionLoad LibraryFunctionUnload LibraryLoad LibraryUnload LicenseID LiftingFilterData LiftingWaveletTransform LightBlue LightBrown LightCyan Lighter LightGray LightGreen Lighting LightingAngle LightMagenta LightOrange LightPink LightPurple LightRed LightSources LightYellow Likelihood Limit LimitsPositioning LimitsPositioningTokens LindleyDistribution Line Line3DBox LinearFilter LinearFractionalTransform LinearModelFit LinearOffsetFunction LinearProgramming LinearRecurrence LinearSolve LinearSolveFunction LineBox LineBreak LinebreakAdjustments LineBreakChart LineBreakWithin LineColor LineForm LineGraph LineIndent LineIndentMaxFraction LineIntegralConvolutionPlot LineIntegralConvolutionScale LineLegend LineOpacity LineSpacing LineWrapParts LinkActivate LinkClose LinkConnect LinkConnectedQ LinkCreate LinkError LinkFlush LinkFunction LinkHost LinkInterrupt LinkLaunch LinkMode LinkObject LinkOpen LinkOptions LinkPatterns LinkProtocol LinkRead LinkReadHeld LinkReadyQ Links LinkWrite LinkWriteHeld LiouvilleLambda List Listable ListAnimate ListContourPlot ListContourPlot3D ListConvolve ListCorrelate ListCurvePathPlot ListDeconvolve ListDensityPlot Listen ListFourierSequenceTransform ListInterpolation ListLineIntegralConvolutionPlot ListLinePlot ListLogLinearPlot ListLogLogPlot ListLogPlot ListPicker ListPickerBox ListPickerBoxBackground ListPickerBoxOptions ListPlay ListPlot ListPlot3D ListPointPlot3D ListPolarPlot ListQ ListStreamDensityPlot ListStreamPlot ListSurfacePlot3D ListVectorDensityPlot ListVectorPlot ListVectorPlot3D ListZTransform Literal LiteralSearch LocalClusteringCoefficient LocalizeVariables LocationEquivalenceTest LocationTest Locator LocatorAutoCreate LocatorBox LocatorBoxOptions LocatorCentering LocatorPane LocatorPaneBox LocatorPaneBoxOptions LocatorRegion Locked Log Log10 Log2 LogBarnesG LogGamma LogGammaDistribution LogicalExpand LogIntegral LogisticDistribution LogitModelFit LogLikelihood LogLinearPlot LogLogisticDistribution LogLogPlot LogMultinormalDistribution LogNormalDistribution LogPlot LogRankTest LogSeriesDistribution LongEqual Longest LongestAscendingSequence LongestCommonSequence LongestCommonSequencePositions LongestCommonSubsequence LongestCommonSubsequencePositions LongestMatch LongForm Longitude LongLeftArrow LongLeftRightArrow LongRightArrow Loopback LoopFreeGraphQ LowerCaseQ LowerLeftArrow LowerRightArrow LowerTriangularize LowpassFilter LQEstimatorGains LQGRegulator LQOutputRegulatorGains LQRegulatorGains LUBackSubstitution LucasL LuccioSamiComponents LUDecomposition LyapunovSolve LyonsGroupLy MachineID MachineName MachineNumberQ MachinePrecision MacintoshSystemPageSetup Magenta Magnification Magnify MainSolve MaintainDynamicCaches Majority MakeBoxes MakeExpression MakeRules MangoldtLambda ManhattanDistance Manipulate Manipulator MannWhitneyTest MantissaExponent Manual Map MapAll MapAt MapIndexed MAProcess MapThread MarcumQ MardiaCombinedTest MardiaKurtosisTest MardiaSkewnessTest MarginalDistribution MarkovProcessProperties Masking MatchingDissimilarity MatchLocalNameQ MatchLocalNames MatchQ Material MathematicaNotation MathieuC MathieuCharacteristicA MathieuCharacteristicB MathieuCharacteristicExponent MathieuCPrime MathieuGroupM11 MathieuGroupM12 MathieuGroupM22 MathieuGroupM23 MathieuGroupM24 MathieuS MathieuSPrime MathMLForm MathMLText Matrices MatrixExp MatrixForm MatrixFunction MatrixLog MatrixPlot MatrixPower MatrixQ MatrixRank Max MaxBend MaxDetect MaxExtraBandwidths MaxExtraConditions MaxFeatures MaxFilter Maximize MaxIterations MaxMemoryUsed MaxMixtureKernels MaxPlotPoints MaxPoints MaxRecursion MaxStableDistribution MaxStepFraction MaxSteps MaxStepSize MaxValue MaxwellDistribution McLaughlinGroupMcL Mean MeanClusteringCoefficient MeanDegreeConnectivity MeanDeviation MeanFilter MeanGraphDistance MeanNeighborDegree MeanShift MeanShiftFilter Median MedianDeviation MedianFilter Medium MeijerG MeixnerDistribution MemberQ MemoryConstrained MemoryInUse Menu MenuAppearance MenuCommandKey MenuEvaluator MenuItem MenuPacket MenuSortingValue MenuStyle MenuView MergeDifferences Mesh MeshFunctions MeshRange MeshShading MeshStyle Message MessageDialog MessageList MessageName MessageOptions MessagePacket Messages MessagesNotebook MetaCharacters MetaInformation Method MethodOptions MexicanHatWavelet MeyerWavelet Min MinDetect MinFilter MinimalPolynomial MinimalStateSpaceModel Minimize Minors MinRecursion MinSize MinStableDistribution Minus MinusPlus MinValue Missing MissingDataMethod MittagLefflerE MixedRadix MixedRadixQuantity MixtureDistribution Mod Modal Mode Modular ModularLambda Module Modulus MoebiusMu Moment Momentary MomentConvert MomentEvaluate MomentGeneratingFunction Monday Monitor MonomialList MonomialOrder MonsterGroupM MorletWavelet MorphologicalBinarize MorphologicalBranchPoints MorphologicalComponents MorphologicalEulerNumber MorphologicalGraph MorphologicalPerimeter MorphologicalTransform Most MouseAnnotation MouseAppearance MouseAppearanceTag MouseButtons Mouseover MousePointerNote MousePosition MovingAverage MovingMedian MoyalDistribution MultiedgeStyle MultilaunchWarning MultiLetterItalics MultiLetterStyle MultilineFunction Multinomial MultinomialDistribution MultinormalDistribution MultiplicativeOrder Multiplicity Multiselection MultivariateHypergeometricDistribution MultivariatePoissonDistribution MultivariateTDistribution N NakagamiDistribution NameQ Names NamespaceBox Nand NArgMax NArgMin NBernoulliB NCache NDSolve NDSolveValue Nearest NearestFunction NeedCurrentFrontEndPackagePacket NeedCurrentFrontEndSymbolsPacket NeedlemanWunschSimilarity Needs Negative NegativeBinomialDistribution NegativeMultinomialDistribution NeighborhoodGraph Nest NestedGreaterGreater NestedLessLess NestedScriptRules NestList NestWhile NestWhileList NevilleThetaC NevilleThetaD NevilleThetaN NevilleThetaS NewPrimitiveStyle NExpectation Next NextPrime NHoldAll NHoldFirst NHoldRest NicholsGridLines NicholsPlot NIntegrate NMaximize NMaxValue NMinimize NMinValue NominalVariables NonAssociative NoncentralBetaDistribution NoncentralChiSquareDistribution NoncentralFRatioDistribution NoncentralStudentTDistribution NonCommutativeMultiply NonConstants None NonlinearModelFit NonlocalMeansFilter NonNegative NonPositive Nor NorlundB Norm Normal NormalDistribution NormalGrouping Normalize NormalizedSquaredEuclideanDistance NormalsFunction NormFunction Not NotCongruent NotCupCap NotDoubleVerticalBar Notebook NotebookApply NotebookAutoSave NotebookClose NotebookConvertSettings NotebookCreate NotebookCreateReturnObject NotebookDefault NotebookDelete NotebookDirectory NotebookDynamicExpression NotebookEvaluate NotebookEventActions NotebookFileName NotebookFind NotebookFindReturnObject NotebookGet NotebookGetLayoutInformationPacket NotebookGetMisspellingsPacket NotebookInformation NotebookInterfaceObject NotebookLocate NotebookObject NotebookOpen NotebookOpenReturnObject NotebookPath NotebookPrint NotebookPut NotebookPutReturnObject NotebookRead NotebookResetGeneratedCells Notebooks NotebookSave NotebookSaveAs NotebookSelection NotebookSetupLayoutInformationPacket NotebooksMenu NotebookWrite NotElement NotEqualTilde NotExists NotGreater NotGreaterEqual NotGreaterFullEqual NotGreaterGreater NotGreaterLess NotGreaterSlantEqual NotGreaterTilde NotHumpDownHump NotHumpEqual NotLeftTriangle NotLeftTriangleBar NotLeftTriangleEqual NotLess NotLessEqual NotLessFullEqual NotLessGreater NotLessLess NotLessSlantEqual NotLessTilde NotNestedGreaterGreater NotNestedLessLess NotPrecedes NotPrecedesEqual NotPrecedesSlantEqual NotPrecedesTilde NotReverseElement NotRightTriangle NotRightTriangleBar NotRightTriangleEqual NotSquareSubset NotSquareSubsetEqual NotSquareSuperset NotSquareSupersetEqual NotSubset NotSubsetEqual NotSucceeds NotSucceedsEqual NotSucceedsSlantEqual NotSucceedsTilde NotSuperset NotSupersetEqual NotTilde NotTildeEqual NotTildeFullEqual NotTildeTilde NotVerticalBar NProbability NProduct NProductFactors NRoots NSolve NSum NSumTerms Null NullRecords NullSpace NullWords Number NumberFieldClassNumber NumberFieldDiscriminant NumberFieldFundamentalUnits NumberFieldIntegralBasis NumberFieldNormRepresentatives NumberFieldRegulator NumberFieldRootsOfUnity NumberFieldSignature NumberForm NumberFormat NumberMarks NumberMultiplier NumberPadding NumberPoint NumberQ NumberSeparator NumberSigns NumberString Numerator NumericFunction NumericQ NuttallWindow NValues NyquistGridLines NyquistPlot O ObservabilityGramian ObservabilityMatrix ObservableDecomposition ObservableModelQ OddQ Off Offset OLEData On ONanGroupON OneIdentity Opacity Open OpenAppend Opener OpenerBox OpenerBoxOptions OpenerView OpenFunctionInspectorPacket Opening OpenRead OpenSpecialOptions OpenTemporary OpenWrite Operate OperatingSystem OptimumFlowData Optional OptionInspectorSettings OptionQ Options OptionsPacket OptionsPattern OptionValue OptionValueBox OptionValueBoxOptions Or Orange Order OrderDistribution OrderedQ Ordering Orderless OrnsteinUhlenbeckProcess Orthogonalize Out Outer OutputAutoOverwrite OutputControllabilityMatrix OutputControllableModelQ OutputForm OutputFormData OutputGrouping OutputMathEditExpression OutputNamePacket OutputResponse OutputSizeLimit OutputStream Over OverBar OverDot Overflow OverHat Overlaps Overlay OverlayBox OverlayBoxOptions Overscript OverscriptBox OverscriptBoxOptions OverTilde OverVector OwenT OwnValues PackingMethod PaddedForm Padding PadeApproximant PadLeft PadRight PageBreakAbove PageBreakBelow PageBreakWithin PageFooterLines PageFooters PageHeaderLines PageHeaders PageHeight PageRankCentrality PageWidth PairedBarChart PairedHistogram PairedSmoothHistogram PairedTTest PairedZTest PaletteNotebook PalettePath Pane PaneBox PaneBoxOptions Panel PanelBox PanelBoxOptions Paneled PaneSelector PaneSelectorBox PaneSelectorBoxOptions PaperWidth ParabolicCylinderD ParagraphIndent ParagraphSpacing ParallelArray ParallelCombine ParallelDo ParallelEvaluate Parallelization Parallelize ParallelMap ParallelNeeds ParallelProduct ParallelSubmit ParallelSum ParallelTable ParallelTry Parameter ParameterEstimator ParameterMixtureDistribution ParameterVariables ParametricFunction ParametricNDSolve ParametricNDSolveValue ParametricPlot ParametricPlot3D ParentConnect ParentDirectory ParentForm Parenthesize ParentList ParetoDistribution Part PartialCorrelationFunction PartialD ParticleData Partition PartitionsP PartitionsQ ParzenWindow PascalDistribution PassEventsDown PassEventsUp Paste PasteBoxFormInlineCells PasteButton Path PathGraph PathGraphQ Pattern PatternSequence PatternTest PauliMatrix PaulWavelet Pause PausedTime PDF PearsonChiSquareTest PearsonCorrelationTest PearsonDistribution PerformanceGoal PeriodicInterpolation Periodogram PeriodogramArray PermutationCycles PermutationCyclesQ PermutationGroup PermutationLength PermutationList PermutationListQ PermutationMax PermutationMin PermutationOrder PermutationPower PermutationProduct PermutationReplace Permutations PermutationSupport Permute PeronaMalikFilter Perpendicular PERTDistribution PetersenGraph PhaseMargins Pi Pick PIDData PIDDerivativeFilter PIDFeedforward PIDTune Piecewise PiecewiseExpand PieChart PieChart3D PillaiTrace PillaiTraceTest Pink Pivoting PixelConstrained PixelValue PixelValuePositions Placed Placeholder PlaceholderReplace Plain PlanarGraphQ Play PlayRange Plot Plot3D Plot3Matrix PlotDivision PlotJoined PlotLabel PlotLayout PlotLegends PlotMarkers PlotPoints PlotRange PlotRangeClipping PlotRangePadding PlotRegion PlotStyle Plus PlusMinus Pochhammer PodStates PodWidth Point Point3DBox PointBox PointFigureChart PointForm PointLegend PointSize PoissonConsulDistribution PoissonDistribution PoissonProcess PoissonWindow PolarAxes PolarAxesOrigin PolarGridLines PolarPlot PolarTicks PoleZeroMarkers PolyaAeppliDistribution PolyGamma Polygon Polygon3DBox Polygon3DBoxOptions PolygonBox PolygonBoxOptions PolygonHoleScale PolygonIntersections PolygonScale PolyhedronData PolyLog PolynomialExtendedGCD PolynomialForm PolynomialGCD PolynomialLCM PolynomialMod PolynomialQ PolynomialQuotient PolynomialQuotientRemainder PolynomialReduce PolynomialRemainder Polynomials PopupMenu PopupMenuBox PopupMenuBoxOptions PopupView PopupWindow Position Positive PositiveDefiniteMatrixQ PossibleZeroQ Postfix PostScript Power PowerDistribution PowerExpand PowerMod PowerModList PowerSpectralDensity PowersRepresentations PowerSymmetricPolynomial Precedence PrecedenceForm Precedes PrecedesEqual PrecedesSlantEqual PrecedesTilde Precision PrecisionGoal PreDecrement PredictionRoot PreemptProtect PreferencesPath Prefix PreIncrement Prepend PrependTo PreserveImageOptions Previous PriceGraphDistribution PrimaryPlaceholder Prime PrimeNu PrimeOmega PrimePi PrimePowerQ PrimeQ Primes PrimeZetaP PrimitiveRoot PrincipalComponents PrincipalValue Print PrintAction PrintForm PrintingCopies PrintingOptions PrintingPageRange PrintingStartingPageNumber PrintingStyleEnvironment PrintPrecision PrintTemporary Prism PrismBox PrismBoxOptions PrivateCellOptions PrivateEvaluationOptions PrivateFontOptions PrivateFrontEndOptions PrivateNotebookOptions PrivatePaths Probability ProbabilityDistribution ProbabilityPlot ProbabilityPr ProbabilityScalePlot ProbitModelFit ProcessEstimator ProcessParameterAssumptions ProcessParameterQ ProcessStateDomain ProcessTimeDomain Product ProductDistribution ProductLog ProgressIndicator ProgressIndicatorBox ProgressIndicatorBoxOptions Projection Prolog PromptForm Properties Property PropertyList PropertyValue Proportion Proportional Protect Protected ProteinData Pruning PseudoInverse Purple Put PutAppend Pyramid PyramidBox PyramidBoxOptions QBinomial QFactorial QGamma QHypergeometricPFQ QPochhammer QPolyGamma QRDecomposition QuadraticIrrationalQ Quantile QuantilePlot Quantity QuantityForm QuantityMagnitude QuantityQ QuantityUnit Quartics QuartileDeviation Quartiles QuartileSkewness QueueingNetworkProcess QueueingProcess QueueProperties Quiet Quit Quotient QuotientRemainder RadialityCentrality RadicalBox RadicalBoxOptions RadioButton RadioButtonBar RadioButtonBox RadioButtonBoxOptions Radon RamanujanTau RamanujanTauL RamanujanTauTheta RamanujanTauZ Random RandomChoice RandomComplex RandomFunction RandomGraph RandomImage RandomInteger RandomPermutation RandomPrime RandomReal RandomSample RandomSeed RandomVariate RandomWalkProcess Range RangeFilter RangeSpecification RankedMax RankedMin Raster Raster3D Raster3DBox Raster3DBoxOptions RasterArray RasterBox RasterBoxOptions Rasterize RasterSize Rational RationalFunctions Rationalize Rationals Ratios Raw RawArray RawBoxes RawData RawMedium RayleighDistribution Re Read ReadList ReadProtected Real RealBlockDiagonalForm RealDigits RealExponent Reals Reap Record RecordLists RecordSeparators Rectangle RectangleBox RectangleBoxOptions RectangleChart RectangleChart3D RecurrenceFilter RecurrenceTable RecurringDigitsForm Red Reduce RefBox ReferenceLineStyle ReferenceMarkers ReferenceMarkerStyle Refine ReflectionMatrix ReflectionTransform Refresh RefreshRate RegionBinarize RegionFunction RegionPlot RegionPlot3D RegularExpression Regularization Reinstall Release ReleaseHold ReliabilityDistribution ReliefImage ReliefPlot Remove RemoveAlphaChannel RemoveAsynchronousTask Removed RemoveInputStreamMethod RemoveOutputStreamMethod RemoveProperty RemoveScheduledTask RenameDirectory RenameFile RenderAll RenderingOptions RenewalProcess RenkoChart Repeated RepeatedNull RepeatedString Replace ReplaceAll ReplaceHeldPart ReplaceImageValue ReplaceList ReplacePart ReplacePixelValue ReplaceRepeated Resampling Rescale RescalingTransform ResetDirectory ResetMenusPacket ResetScheduledTask Residue Resolve Rest Resultant ResumePacket Return ReturnExpressionPacket ReturnInputFormPacket ReturnPacket ReturnTextPacket Reverse ReverseBiorthogonalSplineWavelet ReverseElement ReverseEquilibrium ReverseGraph ReverseUpEquilibrium RevolutionAxis RevolutionPlot3D RGBColor RiccatiSolve RiceDistribution RidgeFilter RiemannR RiemannSiegelTheta RiemannSiegelZ Riffle Right RightArrow RightArrowBar RightArrowLeftArrow RightCosetRepresentative RightDownTeeVector RightDownVector RightDownVectorBar RightTee RightTeeArrow RightTeeVector RightTriangle RightTriangleBar RightTriangleEqual RightUpDownVector RightUpTeeVector RightUpVector RightUpVectorBar RightVector RightVectorBar RiskAchievementImportance RiskReductionImportance RogersTanimotoDissimilarity Root RootApproximant RootIntervals RootLocusPlot RootMeanSquare RootOfUnityQ RootReduce Roots RootSum Rotate RotateLabel RotateLeft RotateRight RotationAction RotationBox RotationBoxOptions RotationMatrix RotationTransform Round RoundImplies RoundingRadius Row RowAlignments RowBackgrounds RowBox RowHeights RowLines RowMinHeight RowReduce RowsEqual RowSpacings RSolve RudvalisGroupRu Rule RuleCondition RuleDelayed RuleForm RulerUnits Run RunScheduledTask RunThrough RuntimeAttributes RuntimeOptions RussellRaoDissimilarity SameQ SameTest SampleDepth SampledSoundFunction SampledSoundList SampleRate SamplingPeriod SARIMAProcess SARMAProcess SatisfiabilityCount SatisfiabilityInstances SatisfiableQ Saturday Save Saveable SaveAutoDelete SaveDefinitions SawtoothWave Scale Scaled ScaleDivisions ScaledMousePosition ScaleOrigin ScalePadding ScaleRanges ScaleRangeStyle ScalingFunctions ScalingMatrix ScalingTransform Scan ScheduledTaskActiveQ ScheduledTaskData ScheduledTaskObject ScheduledTasks SchurDecomposition ScientificForm ScreenRectangle ScreenStyleEnvironment ScriptBaselineShifts ScriptLevel ScriptMinSize ScriptRules ScriptSizeMultipliers Scrollbars ScrollingOptions ScrollPosition Sec Sech SechDistribution SectionGrouping SectorChart SectorChart3D SectorOrigin SectorSpacing SeedRandom Select Selectable SelectComponents SelectedCells SelectedNotebook Selection SelectionAnimate SelectionCell SelectionCellCreateCell SelectionCellDefaultStyle SelectionCellParentStyle SelectionCreateCell SelectionDebuggerTag SelectionDuplicateCell SelectionEvaluate SelectionEvaluateCreateCell SelectionMove SelectionPlaceholder SelectionSetStyle SelectWithContents SelfLoops SelfLoopStyle SemialgebraicComponentInstances SendMail Sequence SequenceAlignment SequenceForm SequenceHold SequenceLimit Series SeriesCoefficient SeriesData SessionTime Set SetAccuracy SetAlphaChannel SetAttributes Setbacks SetBoxFormNamesPacket SetDelayed SetDirectory SetEnvironment SetEvaluationNotebook SetFileDate SetFileLoadingContext SetNotebookStatusLine SetOptions SetOptionsPacket SetPrecision SetProperty SetSelectedNotebook SetSharedFunction SetSharedVariable SetSpeechParametersPacket SetStreamPosition SetSystemOptions Setter SetterBar SetterBox SetterBoxOptions Setting SetValue Shading Shallow ShannonWavelet ShapiroWilkTest Share Sharpen ShearingMatrix ShearingTransform ShenCastanMatrix Short ShortDownArrow Shortest ShortestMatch ShortestPathFunction ShortLeftArrow ShortRightArrow ShortUpArrow Show ShowAutoStyles ShowCellBracket ShowCellLabel ShowCellTags ShowClosedCellArea ShowContents ShowControls ShowCursorTracker ShowGroupOpenCloseIcon ShowGroupOpener ShowInvisibleCharacters ShowPageBreaks ShowPredictiveInterface ShowSelection ShowShortBoxForm ShowSpecialCharacters ShowStringCharacters ShowSyntaxStyles ShrinkingDelay ShrinkWrapBoundingBox SiegelTheta SiegelTukeyTest Sign Signature SignedRankTest SignificanceLevel SignPadding SignTest SimilarityRules SimpleGraph SimpleGraphQ Simplify Sin Sinc SinghMaddalaDistribution SingleEvaluation SingleLetterItalics SingleLetterStyle SingularValueDecomposition SingularValueList SingularValuePlot SingularValues Sinh SinhIntegral SinIntegral SixJSymbol Skeleton SkeletonTransform SkellamDistribution Skewness SkewNormalDistribution Skip SliceDistribution Slider Slider2D Slider2DBox Slider2DBoxOptions SliderBox SliderBoxOptions SlideView Slot SlotSequence Small SmallCircle Smaller SmithDelayCompensator SmithWatermanSimilarity SmoothDensityHistogram SmoothHistogram SmoothHistogram3D SmoothKernelDistribution SocialMediaData Socket SokalSneathDissimilarity Solve SolveAlways SolveDelayed Sort SortBy Sound SoundAndGraphics SoundNote SoundVolume Sow Space SpaceForm Spacer Spacings Span SpanAdjustments SpanCharacterRounding SpanFromAbove SpanFromBoth SpanFromLeft SpanLineThickness SpanMaxSize SpanMinSize SpanningCharacters SpanSymmetric SparseArray SpatialGraphDistribution Speak SpeakTextPacket SpearmanRankTest SpearmanRho Spectrogram SpectrogramArray Specularity SpellingCorrection SpellingDictionaries SpellingDictionariesPath SpellingOptions SpellingSuggestionsPacket Sphere SphereBox SphericalBesselJ SphericalBesselY SphericalHankelH1 SphericalHankelH2 SphericalHarmonicY SphericalPlot3D SphericalRegion SpheroidalEigenvalue SpheroidalJoiningFactor SpheroidalPS SpheroidalPSPrime SpheroidalQS SpheroidalQSPrime SpheroidalRadialFactor SpheroidalS1 SpheroidalS1Prime SpheroidalS2 SpheroidalS2Prime Splice SplicedDistribution SplineClosed SplineDegree SplineKnots SplineWeights Split SplitBy SpokenString Sqrt SqrtBox SqrtBoxOptions Square SquaredEuclideanDistance SquareFreeQ SquareIntersection SquaresR SquareSubset SquareSubsetEqual SquareSuperset SquareSupersetEqual SquareUnion SquareWave StabilityMargins StabilityMarginsStyle StableDistribution Stack StackBegin StackComplete StackInhibit StandardDeviation StandardDeviationFilter StandardForm Standardize StandbyDistribution Star StarGraph StartAsynchronousTask StartingStepSize StartOfLine StartOfString StartScheduledTask StartupSound StateDimensions StateFeedbackGains StateOutputEstimator StateResponse StateSpaceModel StateSpaceRealization StateSpaceTransform StationaryDistribution StationaryWaveletPacketTransform StationaryWaveletTransform StatusArea StatusCentrality StepMonitor StieltjesGamma StirlingS1 StirlingS2 StopAsynchronousTask StopScheduledTask StrataVariables StratonovichProcess StreamColorFunction StreamColorFunctionScaling StreamDensityPlot StreamPlot StreamPoints StreamPosition Streams StreamScale StreamStyle String StringBreak StringByteCount StringCases StringCount StringDrop StringExpression StringForm StringFormat StringFreeQ StringInsert StringJoin StringLength StringMatchQ StringPosition StringQ StringReplace StringReplaceList StringReplacePart StringReverse StringRotateLeft StringRotateRight StringSkeleton StringSplit StringTake StringToStream StringTrim StripBoxes StripOnInput StripWrapperBoxes StrokeForm StructuralImportance StructuredArray StructuredSelection StruveH StruveL Stub StudentTDistribution Style StyleBox StyleBoxAutoDelete StyleBoxOptions StyleData StyleDefinitions StyleForm StyleKeyMapping StyleMenuListing StyleNameDialogSettings StyleNames StylePrint StyleSheetPath Subfactorial Subgraph SubMinus SubPlus SubresultantPolynomialRemainders SubresultantPolynomials Subresultants Subscript SubscriptBox SubscriptBoxOptions Subscripted Subset SubsetEqual Subsets SubStar Subsuperscript SubsuperscriptBox SubsuperscriptBoxOptions Subtract SubtractFrom SubValues Succeeds SucceedsEqual SucceedsSlantEqual SucceedsTilde SuchThat Sum SumConvergence Sunday SuperDagger SuperMinus SuperPlus Superscript SuperscriptBox SuperscriptBoxOptions Superset SupersetEqual SuperStar Surd SurdForm SurfaceColor SurfaceGraphics SurvivalDistribution SurvivalFunction SurvivalModel SurvivalModelFit SuspendPacket SuzukiDistribution SuzukiGroupSuz SwatchLegend Switch Symbol SymbolName SymletWavelet Symmetric SymmetricGroup SymmetricMatrixQ SymmetricPolynomial SymmetricReduction Symmetrize SymmetrizedArray SymmetrizedArrayRules SymmetrizedDependentComponents SymmetrizedIndependentComponents SymmetrizedReplacePart SynchronousInitialization SynchronousUpdating Syntax SyntaxForm SyntaxInformation SyntaxLength SyntaxPacket SyntaxQ SystemDialogInput SystemException SystemHelpPath SystemInformation SystemInformationData SystemOpen SystemOptions SystemsModelDelay SystemsModelDelayApproximate SystemsModelDelete SystemsModelDimensions SystemsModelExtract SystemsModelFeedbackConnect SystemsModelLabels SystemsModelOrder SystemsModelParallelConnect SystemsModelSeriesConnect SystemsModelStateFeedbackConnect SystemStub Tab TabFilling Table TableAlignments TableDepth TableDirections TableForm TableHeadings TableSpacing TableView TableViewBox TabSpacings TabView TabViewBox TabViewBoxOptions TagBox TagBoxNote TagBoxOptions TaggingRules TagSet TagSetDelayed TagStyle TagUnset Take TakeWhile Tally Tan Tanh TargetFunctions TargetUnits TautologyQ TelegraphProcess TemplateBox TemplateBoxOptions TemplateSlotSequence TemporalData Temporary TemporaryVariable TensorContract TensorDimensions TensorExpand TensorProduct TensorQ TensorRank TensorReduce TensorSymmetry TensorTranspose TensorWedge Tetrahedron TetrahedronBox TetrahedronBoxOptions TeXForm TeXSave Text Text3DBox Text3DBoxOptions TextAlignment TextBand TextBoundingBox TextBox TextCell TextClipboardType TextData TextForm TextJustification TextLine TextPacket TextParagraph TextRecognize TextRendering TextStyle Texture TextureCoordinateFunction TextureCoordinateScaling Therefore ThermometerGauge Thick Thickness Thin Thinning ThisLink ThompsonGroupTh Thread ThreeJSymbol Threshold Through Throw Thumbnail Thursday Ticks TicksStyle Tilde TildeEqual TildeFullEqual TildeTilde TimeConstrained TimeConstraint Times TimesBy TimeSeriesForecast TimeSeriesInvertibility TimeUsed TimeValue TimeZone Timing Tiny TitleGrouping TitsGroupT ToBoxes ToCharacterCode ToColor ToContinuousTimeModel ToDate ToDiscreteTimeModel ToeplitzMatrix ToExpression ToFileName Together Toggle ToggleFalse Toggler TogglerBar TogglerBox TogglerBoxOptions ToHeldExpression ToInvertibleTimeSeries TokenWords Tolerance ToLowerCase ToNumberField TooBig Tooltip TooltipBox TooltipBoxOptions TooltipDelay TooltipStyle Top TopHatTransform TopologicalSort ToRadicals ToRules ToString Total TotalHeight TotalVariationFilter TotalWidth TouchscreenAutoZoom TouchscreenControlPlacement ToUpperCase Tr Trace TraceAbove TraceAction TraceBackward TraceDepth TraceDialog TraceForward TraceInternal TraceLevel TraceOff TraceOn TraceOriginal TracePrint TraceScan TrackedSymbols TradingChart TraditionalForm TraditionalFunctionNotation TraditionalNotation TraditionalOrder TransferFunctionCancel TransferFunctionExpand TransferFunctionFactor TransferFunctionModel TransferFunctionPoles TransferFunctionTransform TransferFunctionZeros TransformationFunction TransformationFunctions TransformationMatrix TransformedDistribution TransformedField Translate TranslationTransform TransparentColor Transpose TreeForm TreeGraph TreeGraphQ TreePlot TrendStyle TriangleWave TriangularDistribution Trig TrigExpand TrigFactor TrigFactorList Trigger TrigReduce TrigToExp TrimmedMean True TrueQ TruncatedDistribution TsallisQExponentialDistribution TsallisQGaussianDistribution TTest Tube TubeBezierCurveBox TubeBezierCurveBoxOptions TubeBox TubeBSplineCurveBox TubeBSplineCurveBoxOptions Tuesday TukeyLambdaDistribution TukeyWindow Tuples TuranGraph TuringMachine Transparent UnateQ Uncompress Undefined UnderBar Underflow Underlined Underoverscript UnderoverscriptBox UnderoverscriptBoxOptions Underscript UnderscriptBox UnderscriptBoxOptions UndirectedEdge UndirectedGraph UndirectedGraphQ UndocumentedTestFEParserPacket UndocumentedTestGetSelectionPacket Unequal Unevaluated UniformDistribution UniformGraphDistribution UniformSumDistribution Uninstall Union UnionPlus Unique UnitBox UnitConvert UnitDimensions Unitize UnitRootTest UnitSimplify UnitStep UnitTriangle UnitVector Unprotect UnsameQ UnsavedVariables Unset UnsetShared UntrackedVariables Up UpArrow UpArrowBar UpArrowDownArrow Update UpdateDynamicObjects UpdateDynamicObjectsSynchronous UpdateInterval UpDownArrow UpEquilibrium UpperCaseQ UpperLeftArrow UpperRightArrow UpperTriangularize Upsample UpSet UpSetDelayed UpTee UpTeeArrow UpValues URL URLFetch URLFetchAsynchronous URLSave URLSaveAsynchronous UseGraphicsRange Using UsingFrontEnd V2Get ValidationLength Value ValueBox ValueBoxOptions ValueForm ValueQ ValuesData Variables Variance VarianceEquivalenceTest VarianceEstimatorFunction VarianceGammaDistribution VarianceTest VectorAngle VectorColorFunction VectorColorFunctionScaling VectorDensityPlot VectorGlyphData VectorPlot VectorPlot3D VectorPoints VectorQ Vectors VectorScale VectorStyle Vee Verbatim Verbose VerboseConvertToPostScriptPacket VerifyConvergence VerifySolutions VerifyTestAssumptions Version VersionNumber VertexAdd VertexCapacity VertexColors VertexComponent VertexConnectivity VertexCoordinateRules VertexCoordinates VertexCorrelationSimilarity VertexCosineSimilarity VertexCount VertexCoverQ VertexDataCoordinates VertexDegree VertexDelete VertexDiceSimilarity VertexEccentricity VertexInComponent VertexInDegree VertexIndex VertexJaccardSimilarity VertexLabeling VertexLabels VertexLabelStyle VertexList VertexNormals VertexOutComponent VertexOutDegree VertexQ VertexRenderingFunction VertexReplace VertexShape VertexShapeFunction VertexSize VertexStyle VertexTextureCoordinates VertexWeight Vertical VerticalBar VerticalForm VerticalGauge VerticalSeparator VerticalSlider VerticalTilde ViewAngle ViewCenter ViewMatrix ViewPoint ViewPointSelectorSettings ViewPort ViewRange ViewVector ViewVertical VirtualGroupData Visible VisibleCell VoigtDistribution VonMisesDistribution WaitAll WaitAsynchronousTask WaitNext WaitUntil WakebyDistribution WalleniusHypergeometricDistribution WaringYuleDistribution WatershedComponents WatsonUSquareTest WattsStrogatzGraphDistribution WaveletBestBasis WaveletFilterCoefficients WaveletImagePlot WaveletListPlot WaveletMapIndexed WaveletMatrixPlot WaveletPhi WaveletPsi WaveletScale WaveletScalogram WaveletThreshold WeaklyConnectedComponents WeaklyConnectedGraphQ WeakStationarity WeatherData WeberE Wedge Wednesday WeibullDistribution WeierstrassHalfPeriods WeierstrassInvariants WeierstrassP WeierstrassPPrime WeierstrassSigma WeierstrassZeta WeightedAdjacencyGraph WeightedAdjacencyMatrix WeightedData WeightedGraphQ Weights WelchWindow WheelGraph WhenEvent Which While White Whitespace WhitespaceCharacter WhittakerM WhittakerW WienerFilter WienerProcess WignerD WignerSemicircleDistribution WilksW WilksWTest WindowClickSelect WindowElements WindowFloating WindowFrame WindowFrameElements WindowMargins WindowMovable WindowOpacity WindowSelected WindowSize WindowStatusArea WindowTitle WindowToolbars WindowWidth With WolframAlpha WolframAlphaDate WolframAlphaQuantity WolframAlphaResult Word WordBoundary WordCharacter WordData WordSearch WordSeparators WorkingPrecision Write WriteString Wronskian XMLElement XMLObject Xnor Xor Yellow YuleDissimilarity ZernikeR ZeroSymmetric ZeroTest ZeroWidthTimes Zeta ZetaZero ZipfDistribution ZTest ZTransform $Aborted $ActivationGroupID $ActivationKey $ActivationUserRegistered $AddOnsDirectory $AssertFunction $Assumptions $AsynchronousTask $BaseDirectory $BatchInput $BatchOutput $BoxForms $ByteOrdering $Canceled $CharacterEncoding $CharacterEncodings $CommandLine $CompilationTarget $ConditionHold $ConfiguredKernels $Context $ContextPath $ControlActiveSetting $CreationDate $CurrentLink $DateStringFormat $DefaultFont $DefaultFrontEnd $DefaultImagingDevice $DefaultPath $Display $DisplayFunction $DistributedContexts $DynamicEvaluation $Echo $Epilog $ExportFormats $Failed $FinancialDataSource $FormatType $FrontEnd $FrontEndSession $GeoLocation $HistoryLength $HomeDirectory $HTTPCookies $IgnoreEOF $ImagingDevices $ImportFormats $InitialDirectory $Input $InputFileName $InputStreamMethods $Inspector $InstallationDate $InstallationDirectory $InterfaceEnvironment $IterationLimit $KernelCount $KernelID $Language $LaunchDirectory $LibraryPath $LicenseExpirationDate $LicenseID $LicenseProcesses $LicenseServer $LicenseSubprocesses $LicenseType $Line $Linked $LinkSupported $LoadedFiles $MachineAddresses $MachineDomain $MachineDomains $MachineEpsilon $MachineID $MachineName $MachinePrecision $MachineType $MaxExtraPrecision $MaxLicenseProcesses $MaxLicenseSubprocesses $MaxMachineNumber $MaxNumber $MaxPiecewiseCases $MaxPrecision $MaxRootDegree $MessageGroups $MessageList $MessagePrePrint $Messages $MinMachineNumber $MinNumber $MinorReleaseNumber $MinPrecision $ModuleNumber $NetworkLicense $NewMessage $NewSymbol $Notebooks $NumberMarks $Off $OperatingSystem $Output $OutputForms $OutputSizeLimit $OutputStreamMethods $Packages $ParentLink $ParentProcessID $PasswordFile $PatchLevelID $Path $PathnameSeparator $PerformanceGoal $PipeSupported $Post $Pre $PreferencesDirectory $PrePrint $PreRead $PrintForms $PrintLiteral $ProcessID $ProcessorCount $ProcessorType $ProductInformation $ProgramName $RandomState $RecursionLimit $ReleaseNumber $RootDirectory $ScheduledTask $ScriptCommandLine $SessionID $SetParentLink $SharedFunctions $SharedVariables $SoundDisplay $SoundDisplayFunction $SuppressInputFormHeads $SynchronousEvaluation $SyntaxHandler $System $SystemCharacterEncoding $SystemID $SystemWordLength $TemporaryDirectory $TemporaryPrefix $TextStyle $TimedOut $TimeUnit $TimeZone $TopDirectory $TraceOff $TraceOn $TracePattern $TracePostAction $TracePreAction $Urgent $UserAddOnsDirectory $UserBaseDirectory $UserDocumentsDirectory $UserName $Version $VersionNumber",contains:[{className:"comment",begin:/\(\*/,end:/\*\)/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"list",begin:/\{/,end:/\}/,illegal:/:/}]}}),i.registerLanguage("matlab",function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}],n={relevance:0,contains:[{className:"operator",begin:/'['\.]*/}]};return{keywords:{keyword:"break case catch classdef continue else elseif end enumerated events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i inf nan isnan isinf isfinite j why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson"},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"},{className:"params",begin:"\\[",end:"\\]"}]},{begin:/[a-zA-Z_][a-zA-Z_0-9]*'['\.]*/,returnBegin:!0,relevance:0,contains:[{begin:/[a-zA-Z_][a-zA-Z_0-9]*/,relevance:0},n.contains[0]]},{className:"matrix",begin:"\\[",end:"\\]",contains:t,relevance:0,starts:n},{className:"cell",begin:"\\{",end:/}/,contains:t,relevance:0,starts:n},{begin:/\)/,relevance:0,starts:n},e.COMMENT("^\\s*\\%\\{\\s*$","^\\s*\\%\\}\\s*$"),e.COMMENT("\\%","$")].concat(t)}}),i.registerLanguage("mel",function(e){return{keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{className:"variable",variants:[{begin:"\\$\\d"},{begin:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},{begin:"\\*(\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)",relevance:0}]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}),i.registerLanguage("mercury",function(e){var t={className:"label",begin:"XXX",end:"$",endsWithParent:!0,relevance:0},n=e.inherit(e.C_LINE_COMMENT_MODE,{begin:"%"}),r=e.inherit(e.C_BLOCK_COMMENT_MODE,{relevance:0});n.contains.push(t),r.contains.push(t);var i=e.inherit(e.APOS_STRING_MODE,{relevance:0}),a=e.inherit(e.QUOTE_STRING_MODE,{relevance:0});a.contains.push({className:"constant",begin:"\\\\[abfnrtv]\\|\\\\x[0-9a-fA-F]*\\\\\\|%[-+# *.0-9]*[dioxXucsfeEgGp]",relevance:0});return{aliases:["m","moo"],keywords:{keyword:"module use_module import_module include_module end_module initialise mutable initialize finalize finalise interface implementation pred mode func type inst solver any_pred any_func is semidet det nondet multi erroneous failure cc_nondet cc_multi typeclass instance where pragma promise external trace atomic or_else require_complete_switch require_det require_semidet require_multi require_nondet require_cc_multi require_cc_nondet require_erroneous require_failure",pragma:"inline no_inline type_spec source_file fact_table obsolete memo loop_check minimal_model terminates does_not_terminate check_termination promise_equivalent_clauses",preprocessor:"foreign_proc foreign_decl foreign_code foreign_type foreign_import_module foreign_export_enum foreign_export foreign_enum may_call_mercury will_not_call_mercury thread_safe not_thread_safe maybe_thread_safe promise_pure promise_semipure tabled_for_io local untrailed trailed attach_to_io_state can_pass_as_mercury_type stable will_not_throw_exception may_modify_trail will_not_modify_trail may_duplicate may_not_duplicate affects_liveness does_not_affect_liveness doesnt_affect_liveness no_sharing unknown_sharing sharing",built_in:"some all not if then else true fail false try catch catch_any semidet_true semidet_false semidet_fail impure_true impure semipure"},contains:[{className:"built_in",variants:[{begin:"<=>"},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|--\x3e"},{begin:"=",relevance:0}]},n,r,{className:"number",begin:"0'.\\|0[box][0-9a-fA-F]*"},e.NUMBER_MODE,i,a,{begin:/:-/}]}}),i.registerLanguage("mizar",function(e){return{keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[e.COMMENT("::","$")]}}),i.registerLanguage("perl",function(e){var t="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when",n={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:t},r={begin:"->{",end:"}"},i={className:"variable",variants:[{begin:/\$\d/},{begin:/[\$%@](\^\w\b|#\w+(::\w+)*|{\w+}|\w+(::\w*)*)/},{begin:/[\$%@][^\s\w{]/,relevance:0}]},a=[e.BACKSLASH_ESCAPE,n,i],o=[i,e.HASH_COMMENT_MODE,e.COMMENT("^\\=\\w","\\=cut",{endsWithParent:!0}),r,{className:"string",contains:a,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*\\<",end:"\\>",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"{\\w+}",contains:[],relevance:0},{begin:"-?\\w+\\s*\\=\\>",contains:[],relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",begin:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",relevance:10},{className:"regexp",begin:"(m|qr)?/",end:"/[a-z]*",contains:[e.BACKSLASH_ESCAPE],relevance:0}]},{className:"sub",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",relevance:5},{className:"operator",begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return n.contains=o,{aliases:["pl"],keywords:t,contains:r.contains=o}}),i.registerLanguage("mojolicious",function(e){return{subLanguage:"xml",contains:[{className:"preprocessor",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}),i.registerLanguage("monkey",function(e){var t={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},e.NUMBER_MODE]};return{case_insensitive:!0,keywords:{keyword:"public private property continue exit extern new try catch eachin not abstract final select case default const local global field end if then else elseif endif while wend repeat until forever for to step next return module inline throw",built_in:"DebugLog DebugStop Error Print ACos ACosr ASin ASinr ATan ATan2 ATan2r ATanr Abs Abs Ceil Clamp Clamp Cos Cosr Exp Floor Log Max Max Min Min Pow Sgn Sgn Sin Sinr Sqrt Tan Tanr Seed PI HALFPI TWOPI",literal:"true false null and or shl shr mod"},illegal:/\/\*/,contains:[e.COMMENT("#rem","#end"),e.COMMENT("'","$",{relevance:0}),{className:"function",beginKeywords:"function method",end:"[(=:]|$",illegal:/\n/,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"class",beginKeywords:"class interface",end:"$",contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{className:"variable",begin:"\\b(self|super)\\b"},{className:"preprocessor",beginKeywords:"import",end:"$"},{className:"preprocessor",begin:"\\s*#",end:"$",keywords:"if else elseif endif end then"},{className:"pi",begin:"^\\s*strict\\b"},{beginKeywords:"alias",end:"=",contains:[e.UNDERSCORE_TITLE_MODE]},e.QUOTE_STRING_MODE,t]}}),i.registerLanguage("nginx",function(e){var t={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{/,end:/}/},{begin:"[\\$\\@]"+e.UNDERSCORE_IDENT_RE}]},n={endsWithParent:!0,lexemes:"[a-z/_]+",keywords:{built_in:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{className:"url",begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[t]},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,t],variants:[{begin:"\\s\\^",end:"\\s|{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]*\\b",relevance:0},t]};return{aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{begin:e.UNDERSCORE_IDENT_RE+"\\s",end:";|{",returnBegin:!0,contains:[{className:"title",begin:e.UNDERSCORE_IDENT_RE,starts:n}],relevance:0}],illegal:"[^\\s\\}]"}}),i.registerLanguage("nimrod",function(e){return{aliases:["nim"],keywords:{keyword:"addr and as asm bind block break|0 case|0 cast const|0 continue|0 converter discard distinct|10 div do elif else|0 end|0 enum|0 except export finally for from generic if|0 import|0 in include|0 interface is isnot|10 iterator|10 let|0 macro method|10 mixin mod nil not notin|10 object|0 of or out proc|10 ptr raise ref|10 return shl shr static template try|0 tuple type|0 using|0 var|0 when while|0 with without xor yield",literal:"shared guarded stdin stdout stderr result|10 true false"},contains:[{className:"decorator",begin:/{\./,end:/\.}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},e.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"type",begin:/\b(int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|float|float32|float64|bool|char|string|cstring|pointer|expr|stmt|void|auto|any|range|array|openarray|varargs|seq|set|clong|culong|cchar|cschar|cshort|cint|csize|clonglong|cfloat|cdouble|clongdouble|cuchar|cushort|cuint|culonglong|cstringarray|semistatic)\b/},{className:"number",begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/,relevance:0},{className:"number",begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/,relevance:0},{className:"number",begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/,relevance:0},{className:"number",begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/,relevance:0},e.HASH_COMMENT_MODE]}}),i.registerLanguage("nix",function(e){var t={keyword:"rec with let in inherit assert if else then",constant:"true false or and null",built_in:"import abort baseNameOf dirOf isNull builtins map removeAttrs throw toString derivation"},n={className:"subst",begin:/\$\{/,end:/}/,keywords:t},r={className:"string",begin:"''",end:"''",contains:[n]},i={className:"string",begin:'"',end:'"',contains:[n]},a=[e.NUMBER_MODE,e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,i,{className:"variable",begin:/[a-zA-Z0-9-_]+(\s*=)/,relevance:0}];return{aliases:["nixos"],keywords:t,contains:n.contains=a}}),i.registerLanguage("nsis",function(e){var t={className:"constant",begin:"\\$+{[a-zA-Z0-9_]+}"},n={className:"variable",begin:"\\$+[a-zA-Z0-9_]+",illegal:"\\(\\){}"},r={className:"constant",begin:"\\$+\\([a-zA-Z0-9_]+\\)"};return{case_insensitive:!1,keywords:{keyword:"Abort AddBrandingImage AddSize AllowRootDirInstall AllowSkipFiles AutoCloseWindow BGFont BGGradient BrandingText BringToFront Call CallInstDLL Caption ChangeUI CheckBitmap ClearErrors CompletedText ComponentText CopyFiles CRCCheck CreateDirectory CreateFont CreateShortCut Delete DeleteINISec DeleteINIStr DeleteRegKey DeleteRegValue DetailPrint DetailsButtonText DirText DirVar DirVerify EnableWindow EnumRegKey EnumRegValue Exch Exec ExecShell ExecWait ExpandEnvStrings File FileBufSize FileClose FileErrorText FileOpen FileRead FileReadByte FileReadUTF16LE FileReadWord FileSeek FileWrite FileWriteByte FileWriteUTF16LE FileWriteWord FindClose FindFirst FindNext FindWindow FlushINI FunctionEnd GetCurInstType GetCurrentAddress GetDlgItem GetDLLVersion GetDLLVersionLocal GetErrorLevel GetFileTime GetFileTimeLocal GetFullPathName GetFunctionAddress GetInstDirError GetLabelAddress GetTempFileName Goto HideWindow Icon IfAbort IfErrors IfFileExists IfRebootFlag IfSilent InitPluginsDir InstallButtonText InstallColors InstallDir InstallDirRegKey InstProgressFlags InstType InstTypeGetText InstTypeSetText IntCmp IntCmpU IntFmt IntOp IsWindow LangString LicenseBkColor LicenseData LicenseForceSelection LicenseLangString LicenseText LoadLanguageFile LockWindow LogSet LogText ManifestDPIAware ManifestSupportedOS MessageBox MiscButtonText Name Nop OutFile Page PageCallbacks PageExEnd Pop Push Quit ReadEnvStr ReadINIStr ReadRegDWORD ReadRegStr Reboot RegDLL Rename RequestExecutionLevel ReserveFile Return RMDir SearchPath SectionEnd SectionGetFlags SectionGetInstTypes SectionGetSize SectionGetText SectionGroupEnd SectionIn SectionSetFlags SectionSetInstTypes SectionSetSize SectionSetText SendMessage SetAutoClose SetBrandingImage SetCompress SetCompressor SetCompressorDictSize SetCtlColors SetCurInstType SetDatablockOptimize SetDateSave SetDetailsPrint SetDetailsView SetErrorLevel SetErrors SetFileAttributes SetFont SetOutPath SetOverwrite SetPluginUnload SetRebootFlag SetRegView SetShellVarContext SetSilent ShowInstDetails ShowUninstDetails ShowWindow SilentInstall SilentUnInstall Sleep SpaceTexts StrCmp StrCmpS StrCpy StrLen SubCaption SubSectionEnd Unicode UninstallButtonText UninstallCaption UninstallIcon UninstallSubCaption UninstallText UninstPage UnRegDLL Var VIAddVersionKey VIFileVersion VIProductVersion WindowIcon WriteINIStr WriteRegBin WriteRegDWORD WriteRegExpandStr WriteRegStr WriteUninstaller XPStyle",literal:"admin all auto both colored current false force hide highest lastused leave listonly none normal notset off on open print show silent silentlog smooth textonly true user "},contains:[e.HASH_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[{className:"symbol",begin:"\\$(\\\\(n|r|t)|\\$)"},{className:"symbol",begin:"\\$(ADMINTOOLS|APPDATA|CDBURN_AREA|CMDLINE|COMMONFILES32|COMMONFILES64|COMMONFILES|COOKIES|DESKTOP|DOCUMENTS|EXEDIR|EXEFILE|EXEPATH|FAVORITES|FONTS|HISTORY|HWNDPARENT|INSTDIR|INTERNET_CACHE|LANGUAGE|LOCALAPPDATA|MUSIC|NETHOOD|OUTDIR|PICTURES|PLUGINSDIR|PRINTHOOD|PROFILE|PROGRAMFILES32|PROGRAMFILES64|PROGRAMFILES|QUICKLAUNCH|RECENT|RESOURCES_LOCALIZED|RESOURCES|SENDTO|SMPROGRAMS|SMSTARTUP|STARTMENU|SYSDIR|TEMP|TEMPLATES|VIDEOS|WINDIR)"},t,n,r]},e.COMMENT(";","$",{relevance:0}),{className:"function",beginKeywords:"Function PageEx Section SectionGroup SubSection",end:"$"},{className:"constant",begin:"\\!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversionsystem|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|searchparse|searchreplace|tempfile|undef|verbose|warning)"},t,n,r,{className:"params",begin:"(ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HKCR|HKCU|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM|HKPD|HKU|IDABORT|IDCANCEL|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)"},e.NUMBER_MODE,{className:"literal",begin:e.IDENT_RE+"::"+e.IDENT_RE}]}}),i.registerLanguage("objectivec",function(e){var t=/[a-zA-Z@][a-zA-Z0-9_]*/,n="@interface @class @protocol @implementation";return{aliases:["mm","objc","obj-c"],keywords:{keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"BOOL dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"},lexemes:t,illegal:"</",contains:[{className:"built_in",begin:"(AV|CA|CF|CG|CI|MK|MP|NS|UI)\\w+"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"}]},{className:"preprocessor",begin:"#",end:"$",contains:[{className:"title",variants:[{begin:'"',end:'"'},{begin:"<",end:">"}]}]},{className:"class",begin:"("+n.split(" ").join("|")+")\\b",end:"({|$)",excludeEnd:!0,keywords:n,lexemes:t,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"variable",begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}),i.registerLanguage("ocaml",function(e){return{aliases:["ml"],keywords:{keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,lexemes:"[a-z_]\\w*!?",contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"tag",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"char",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}),i.registerLanguage("openscad",function(e){var t={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},n={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},r=e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),i={className:"function",beginKeywords:"module function",end:"\\=|\\{",contains:[{className:"params",begin:"\\(",end:"\\)",contains:["self",n,r,t,{className:"literal",begin:"false|true|PI|undef"}]},e.UNDERSCORE_TITLE_MODE]};return{aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"preprocessor",keywords:"include use",begin:"include|use <",end:">"},r,t,{className:"built_in",begin:"[*!#%]",relevance:0},i]}}),i.registerLanguage("oxygene",function(e){var t="abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained",n=e.COMMENT("{","}",{relevance:0}),r=e.COMMENT("\\(\\*","\\*\\)",{relevance:10}),i={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},a={className:"string",begin:"(#\\d+)+"},o={className:"function",beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",keywords:t,contains:[i,a]},n,r]};return{case_insensitive:!0,keywords:t,illegal:'("|\\$[G-Zg-z]|\\/\\*|</|=>|->)',contains:[n,r,e.C_LINE_COMMENT_MODE,i,a,e.NUMBER_MODE,o,{className:"class",begin:"=\\bclass\\b",end:"end;",keywords:t,contains:[i,a,n,r,e.C_LINE_COMMENT_MODE,o]}]}}),i.registerLanguage("parser3",function(e){var t=e.COMMENT("{","}",{contains:["self"]});return{subLanguage:"xml",relevance:0,contains:[e.COMMENT("^#","$"),e.COMMENT("\\^rem{","}",{relevance:10,contains:[t]}),{className:"preprocessor",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:"\\$\\{?[\\w\\-\\.\\:]+\\}?"},{className:"keyword",begin:"\\^[\\w\\-\\.\\:]+"},{className:"number",begin:"\\^#[0-9a-fA-F]+"},e.C_NUMBER_MODE]}}),i.registerLanguage("pf",function(e){return{aliases:["pf.conf"],lexemes:/[a-z0-9_<>-]+/,keywords:{built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to routeallow-opts divert-packet divert-reply divert-to flags group icmp-typeicmp6-type label once probability recieved-on rtable prio queuetos tag tagged user keep fragment for os dropaf-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robinsource-hash static-portdup-to reply-to route-toparent bandwidth default min max qlimitblock-policy debug fingerprints hostid limit loginterface optimizationreassemble ruleset-optimization basic none profile skip state-defaultsstate-policy timeoutconst counters persistno modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppysource-track global rule max-src-nodes max-src-states max-src-connmax-src-conn-rate overload flushscrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,{className:"variable",begin:/\$[\w\d#@][\w\d_]*/},{className:"variable",begin:/</,end:/>/}]}}),i.registerLanguage("php",function(e){var t={className:"variable",begin:"\\$+[a-zA-Z_\7f-ÿ][a-zA-Z0-9_\7f-ÿ]*"},n={className:"preprocessor",begin:/<\?(php)?|\?>/},r={className:"string",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},i={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["php3","php4","php5","php6"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",contains:[e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"},n]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;?$/,contains:[e.BACKSLASH_ESCAPE,{className:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]}]},n,t,{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",t,e.C_BLOCK_COMMENT_MODE,r,i]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},r,i]}}),i.registerLanguage("powershell",function(e){var t={className:"variable",variants:[{begin:/\$[\w\d][\w\d_:]*/}]},n={className:"string",begin:/"/,end:/"/,contains:[{begin:"`[\\s\\S]",relevance:0},t,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]};return{aliases:["ps"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch",literal:"$null $true $false",built_in:"Add-Content Add-History Add-Member Add-PSSnapin Clear-Content Clear-Item Clear-Item Property Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ConvertTo-Html ConvertTo-SecureString Copy-Item Copy-ItemProperty Export-Alias Export-Clixml Export-Console Export-Csv ForEach-Object Format-Custom Format-List Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item Join-Path Measure-Command Measure-Object Move-Item Move-ItemProperty New-Alias New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug Set-Service Set-TraceSource Set-Variable Sort-Object Split-Path Start-Service Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where-Object Write-Debug Write-Error Write-Host Write-Output Write-Progress Write-Verbose Write-Warning",operator:"-ne -eq -lt -gt -ge -le -not -like -notlike -match -notmatch -contains -notcontains -in -notin -replace"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,n,{className:"string",begin:/'/,end:/'/},t]}}),i.registerLanguage("processing",function(e){return{keywords:{keyword:"BufferedReader PVector PFont PImage PGraphics HashMap boolean byte char color double float int long String Array FloatDict FloatList IntDict IntList JSONArray JSONObject Object StringDict StringList Table TableRow XML false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private",constant:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI",variable:"displayHeight displayWidth mouseY mouseX mousePressed pmouseX pmouseY key keyCode pixels focused frameCount frameRate height width",title:"setup draw",built_in:"size createGraphics beginDraw createShape loadShape PShape arc ellipse line point quad rect triangle bezier bezierDetail bezierPoint bezierTangent curve curveDetail curvePoint curveTangent curveTightness shape shapeMode beginContour beginShape bezierVertex curveVertex endContour endShape quadraticVertex vertex ellipseMode noSmooth rectMode smooth strokeCap strokeJoin strokeWeight mouseClicked mouseDragged mouseMoved mousePressed mouseReleased mouseWheel keyPressed keyPressedkeyReleased keyTyped print println save saveFrame day hour millis minute month second year background clear colorMode fill noFill noStroke stroke alpha blue brightness color green hue lerpColor red saturation modelX modelY modelZ screenX screenY screenZ ambient emissive shininess specular add createImage beginCamera camera endCamera frustum ortho perspective printCamera printProjection cursor frameRate noCursor exit loop noLoop popStyle pushStyle redraw binary boolean byte char float hex int str unbinary unhex join match matchAll nf nfc nfp nfs split splitTokens trim append arrayCopy concat expand reverse shorten sort splice subset box sphere sphereDetail createInput createReader loadBytes loadJSONArray loadJSONObject loadStrings loadTable loadXML open parseXML saveTable selectFolder selectInput beginRaw beginRecord createOutput createWriter endRaw endRecord PrintWritersaveBytes saveJSONArray saveJSONObject saveStream saveStrings saveXML selectOutput popMatrix printMatrix pushMatrix resetMatrix rotate rotateX rotateY rotateZ scale shearX shearY translate ambientLight directionalLight lightFalloff lights lightSpecular noLights normal pointLight spotLight image imageMode loadImage noTint requestImage tint texture textureMode textureWrap blend copy filter get loadPixels set updatePixels blendMode loadShader PShaderresetShader shader createFont loadFont text textFont textAlign textLeading textMode textSize textWidth textAscent textDescent abs ceil constrain dist exp floor lerp log mag map max min norm pow round sq sqrt acos asin atan atan2 cos degrees radians sin tan noise noiseDetail noiseSeed random randomGaussian randomSeed"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}),i.registerLanguage("profile",function(e){return{contains:[e.C_NUMBER_MODE,{className:"built_in",begin:"{",end:"}$",excludeBegin:!0,excludeEnd:!0,contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE],relevance:0},{className:"filename",begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{className:"header",begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{className:"summary",begin:"function calls",end:"$",contains:[e.C_NUMBER_MODE],relevance:10},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"function",begin:"\\(",end:"\\)$",contains:[e.UNDERSCORE_TITLE_MODE],relevance:0}]}}),i.registerLanguage("prolog",function(e){var t={begin:/\(/,end:/\)/,relevance:0},n={begin:/\[/,end:/\]/},r={className:"comment",begin:/%/,end:/$/,contains:[e.PHRASAL_WORDS_MODE]},i={className:"string",begin:/`/,end:/`/,contains:[e.BACKSLASH_ESCAPE]},a=[{className:"atom",begin:/[a-z][A-Za-z0-9_]*/,relevance:0},{className:"name",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},t,{begin:/:-/},n,r,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,{className:"string",begin:/0\'(\\\'|.)/},{className:"string",begin:/0\'\\s/},e.C_NUMBER_MODE];return t.contains=a,{contains:(n.contains=a).concat([{begin:/\.$/}])}}),i.registerLanguage("protobuf",function(e){return{keywords:{keyword:"package import option optional required repeated group",built_in:"double float int32 int64 uint32 uint64 sint32 sint64 fixed32 fixed64 sfixed32 sfixed64 bool string bytes",literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,{className:"class",beginKeywords:"message enum service",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{className:"function",beginKeywords:"rpc",end:/;/,excludeEnd:!0,keywords:"rpc returns"},{className:"constant",begin:/^\s*[A-Z_]+/,end:/\s*=/,excludeEnd:!0}]}}),i.registerLanguage("puppet",function(e){var t=e.COMMENT("#","$"),n="([A-Za-z_]|::)(\\w|::)*",r=e.inherit(e.TITLE_MODE,{begin:n}),i={className:"variable",begin:"\\$"+n},a={className:"string",contains:[e.BACKSLASH_ESCAPE,i],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{aliases:["pp"],contains:[t,i,a,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[r,t]},{beginKeywords:"define",end:/\{/,contains:[{className:"title",begin:e.IDENT_RE,endsParent:!0}]},{begin:e.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"name",begin:e.IDENT_RE},{begin:/\{/,end:/\}/,keywords:{keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},relevance:0,contains:[a,t,{begin:"[a-zA-Z_]+\\s*=>"},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},i]}],relevance:0}]}}),i.registerLanguage("python",function(e){var t={className:"prompt",begin:/^(>>>|\.\.\.) /},n={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,contains:[t],relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,contains:[t],relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},r={className:"number",relevance:0,variants:[{begin:e.BINARY_NUMBER_RE+"[lLjJ]?"},{begin:"\\b(0o[0-7]+)[lLjJ]?"},{begin:e.C_NUMBER_RE+"[lLjJ]?"}]},i={className:"params",begin:/\(/,end:/\)/,contains:["self",t,r,n]};return{aliases:["py","gyp"],keywords:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda async await nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},illegal:/(<\/|->|\?)/,contains:[t,r,n,e.HASH_COMMENT_MODE,{variants:[{className:"function",beginKeywords:"def",relevance:10},{className:"class",beginKeywords:"class"}],end:/:/,illegal:/[${=;\n,]/,contains:[e.UNDERSCORE_TITLE_MODE,i]},{className:"decorator",begin:/^[\t ]*@/,end:/$/},{begin:/\b(print|exec)\(/}]}}),i.registerLanguage("q",function(e){return{aliases:["k","kdb"],keywords:{keyword:"do while select delete by update from",constant:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",typename:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},lexemes:/\b(`?)[A-Za-z0-9_]+\b/,contains:[e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE]}}),i.registerLanguage("r",function(e){var t="([a-zA-Z]|\\.[a-zA-Z.])[a-zA-Z0-9._]*";return{contains:[e.HASH_COMMENT_MODE,{begin:t,lexemes:t,keywords:{keyword:"function if in break next repeat else for return switch while try tryCatch stop warning require library attach detach source setMethod setGeneric setGroupGeneric setClass ...",literal:"NULL NA TRUE FALSE T F Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10"},relevance:0},{className:"number",begin:"0[xX][0-9a-fA-F]+[Li]?\\b",relevance:0},{className:"number",begin:"\\d+(?:[eE][+\\-]?\\d*)?L\\b",relevance:0},{className:"number",begin:"\\d+\\.(?!\\d)(?:i\\b)?",relevance:0},{className:"number",begin:"\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{className:"number",begin:"\\.\\d+(?:[eE][+\\-]?\\d*)?i?\\b",relevance:0},{begin:"`",end:"`",relevance:0},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]}]}}),i.registerLanguage("rib",function(e){return{keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"</",contains:[e.HASH_COMMENT_MODE,e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]}}),i.registerLanguage("roboconf",function(e){var t="[a-zA-Z-_][^\n{\r\n]+\\{";return{aliases:["graph","instances"],case_insensitive:!0,keywords:"import",contains:[{className:"facet",begin:"^facet "+t,end:"}",keywords:"facet installer exports children extends",contains:[e.HASH_COMMENT_MODE]},{className:"instance-of",begin:"^instance of "+t,end:"}",keywords:"name count channels instance-data instance-state instance of",contains:[{className:"keyword",begin:"[a-zA-Z-_]+( |\t)*:"},e.HASH_COMMENT_MODE]},{className:"component",begin:"^"+t,end:"}",lexemes:"\\(?[a-zA-Z]+\\)?",keywords:"installer exports children extends imports facets alias (optional)",contains:[{className:"string",begin:"\\.[a-zA-Z-_]+",end:"\\s|,|;",excludeEnd:!0},e.HASH_COMMENT_MODE]},e.HASH_COMMENT_MODE]}}),i.registerLanguage("rsl",function(e){return{keywords:{keyword:"float color point normal vector matrix while for if do return else break extern continue",built_in:"abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp faceforward filterstep floor format fresnel incident length lightsource log match max min mod noise normalize ntransform opposite option phong pnoise pow printf ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan texture textureinfo trace transform vtransform xcomp ycomp zcomp"},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$"},{className:"shader",beginKeywords:"surface displacement light volume imager",end:"\\("},{className:"shading",beginKeywords:"illuminate illuminance gather",end:"\\("}]}}),i.registerLanguage("ruleslanguage",function(e){return{keywords:{keyword:"BILL_PERIOD BILL_START BILL_STOP RS_EFFECTIVE_START RS_EFFECTIVE_STOP RS_JURIS_CODE RS_OPCO_CODE INTDADDATTRIBUTE|5 INTDADDVMSG|5 INTDBLOCKOP|5 INTDBLOCKOPNA|5 INTDCLOSE|5 INTDCOUNT|5 INTDCOUNTSTATUSCODE|5 INTDCREATEMASK|5 INTDCREATEDAYMASK|5 INTDCREATEFACTORMASK|5 INTDCREATEHANDLE|5 INTDCREATEOVERRIDEDAYMASK|5 INTDCREATEOVERRIDEMASK|5 INTDCREATESTATUSCODEMASK|5 INTDCREATETOUPERIOD|5 INTDDELETE|5 INTDDIPTEST|5 INTDEXPORT|5 INTDGETERRORCODE|5 INTDGETERRORMESSAGE|5 INTDISEQUAL|5 INTDJOIN|5 INTDLOAD|5 INTDLOADACTUALCUT|5 INTDLOADDATES|5 INTDLOADHIST|5 INTDLOADLIST|5 INTDLOADLISTDATES|5 INTDLOADLISTENERGY|5 INTDLOADLISTHIST|5 INTDLOADRELATEDCHANNEL|5 INTDLOADSP|5 INTDLOADSTAGING|5 INTDLOADUOM|5 INTDLOADUOMDATES|5 INTDLOADUOMHIST|5 INTDLOADVERSION|5 INTDOPEN|5 INTDREADFIRST|5 INTDREADNEXT|5 INTDRECCOUNT|5 INTDRELEASE|5 INTDREPLACE|5 INTDROLLAVG|5 INTDROLLPEAK|5 INTDSCALAROP|5 INTDSCALE|5 INTDSETATTRIBUTE|5 INTDSETDSTPARTICIPANT|5 INTDSETSTRING|5 INTDSETVALUE|5 INTDSETVALUESTATUS|5 INTDSHIFTSTARTTIME|5 INTDSMOOTH|5 INTDSORT|5 INTDSPIKETEST|5 INTDSUBSET|5 INTDTOU|5 INTDTOURELEASE|5 INTDTOUVALUE|5 INTDUPDATESTATS|5 INTDVALUE|5 STDEV INTDDELETEEX|5 INTDLOADEXACTUAL|5 INTDLOADEXCUT|5 INTDLOADEXDATES|5 INTDLOADEX|5 INTDLOADEXRELATEDCHANNEL|5 INTDSAVEEX|5 MVLOAD|5 MVLOADACCT|5 MVLOADACCTDATES|5 MVLOADACCTHIST|5 MVLOADDATES|5 MVLOADHIST|5 MVLOADLIST|5 MVLOADLISTDATES|5 MVLOADLISTHIST|5 IF FOR NEXT DONE SELECT END CALL ABORT CLEAR CHANNEL FACTOR LIST NUMBER OVERRIDE SET WEEK DISTRIBUTIONNODE ELSE WHEN THEN OTHERWISE IENUM CSV INCLUDE LEAVE RIDER SAVE DELETE NOVALUE SECTION WARN SAVE_UPDATE DETERMINANT LABEL REPORT REVENUE EACH IN FROM TOTAL CHARGE BLOCK AND OR CSV_FILE RATE_CODE AUXILIARY_DEMAND UIDACCOUNT RS BILL_PERIOD_SELECT HOURS_PER_MONTH INTD_ERROR_STOP SEASON_SCHEDULE_NAME ACCOUNTFACTOR ARRAYUPPERBOUND CALLSTOREDPROC GETADOCONNECTION GETCONNECT GETDATASOURCE GETQUALIFIER GETUSERID HASVALUE LISTCOUNT LISTOP LISTUPDATE LISTVALUE PRORATEFACTOR RSPRORATE SETBINPATH SETDBMONITOR WQ_OPEN BILLINGHOURS DATE DATEFROMFLOAT DATETIMEFROMSTRING DATETIMETOSTRING DATETOFLOAT DAY DAYDIFF DAYNAME DBDATETIME HOUR MINUTE MONTH MONTHDIFF MONTHHOURS MONTHNAME ROUNDDATE SAMEWEEKDAYLASTYEAR SECOND WEEKDAY WEEKDIFF YEAR YEARDAY YEARSTR COMPSUM HISTCOUNT HISTMAX HISTMIN HISTMINNZ HISTVALUE MAXNRANGE MAXRANGE MINRANGE COMPIKVA COMPKVA COMPKVARFROMKQKW COMPLF IDATTR FLAG LF2KW LF2KWH MAXKW POWERFACTOR READING2USAGE AVGSEASON MAXSEASON MONTHLYMERGE SEASONVALUE SUMSEASON ACCTREADDATES ACCTTABLELOAD CONFIGADD CONFIGGET CREATEOBJECT CREATEREPORT EMAILCLIENT EXPBLKMDMUSAGE EXPMDMUSAGE EXPORT_USAGE FACTORINEFFECT GETUSERSPECIFIEDSTOP INEFFECT ISHOLIDAY RUNRATE SAVE_PROFILE SETREPORTTITLE USEREXIT WATFORRUNRATE TO TABLE ACOS ASIN ATAN ATAN2 BITAND CEIL COS COSECANT COSH COTANGENT DIVQUOT DIVREM EXP FABS FLOOR FMOD FREPM FREXPN LOG LOG10 MAX MAXN MIN MINNZ MODF POW ROUND ROUND2VALUE ROUNDINT SECANT SIN SINH SQROOT TAN TANH FLOAT2STRING FLOAT2STRINGNC INSTR LEFT LEN LTRIM MID RIGHT RTRIM STRING STRINGNC TOLOWER TOUPPER TRIM NUMDAYS READ_DATE STAGING",built_in:"IDENTIFIER OPTIONS XML_ELEMENT XML_OP XML_ELEMENT_OF DOMDOCCREATE DOMDOCLOADFILE DOMDOCLOADXML DOMDOCSAVEFILE DOMDOCGETROOT DOMDOCADDPI DOMNODEGETNAME DOMNODEGETTYPE DOMNODEGETVALUE DOMNODEGETCHILDCT DOMNODEGETFIRSTCHILD DOMNODEGETSIBLING DOMNODECREATECHILDELEMENT DOMNODESETATTRIBUTE DOMNODEGETCHILDELEMENTCT DOMNODEGETFIRSTCHILDELEMENT DOMNODEGETSIBLINGELEMENT DOMNODEGETATTRIBUTECT DOMNODEGETATTRIBUTEI DOMNODEGETATTRIBUTEBYNAME DOMNODEGETBYNAME"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"array",variants:[{begin:"#\\s+[a-zA-Z\\ \\.]*",relevance:0},{begin:"#[a-zA-Z\\ \\.]+"}]}]}}),i.registerLanguage("rust",function(e){var t="([uif](8|16|32|64|size))?",n=e.inherit(e.C_BLOCK_COMMENT_MODE);return n.contains.push("self"),{aliases:["rs"],keywords:{keyword:"alignof as be box break const continue crate do else enum extern false fn for if impl in let loop match mod mut offsetof once priv proc pub pure ref return self Self sizeof static struct super trait true type typeof unsafe unsized use virtual while where yield int i8 i16 i32 i64 uint u8 u32 u64 float f32 f64 str char bool",built_in:"Copy Send Sized Sync Drop Fn FnMut FnOnce drop Box ToOwned Clone PartialEq PartialOrd Eq Ord AsRef AsMut Into From Default Iterator Extend IntoIterator DoubleEndedIterator ExactSizeIterator Option Some None Result Ok Err SliceConcatExt String ToString Vec assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! debug_assert! debug_assert_eq! env! panic! file! format! format_args! include_bin! include_str! line! local_data_key! module_path! option_env! print! println! select! stringify! try! unimplemented! unreachable! vec! write! writeln!"},lexemes:e.IDENT_RE+"!?",illegal:"</",contains:[e.C_LINE_COMMENT_MODE,n,e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",variants:[{begin:/r(#*)".*?"\1(?!#)/},{begin:/'\\?(x\w{2}|u\w{4}|U\w{8}|.)'/},{begin:/'[a-zA-Z_][a-zA-Z0-9_]*/}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+t},{begin:"\\b0o([0-7_]+)"+t},{begin:"\\b0x([A-Fa-f0-9_]+)"+t},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+t}],relevance:0},{className:"function",beginKeywords:"fn",end:"(\\(|<)",excludeEnd:!0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"preprocessor",begin:"#\\!?\\[",end:"\\]"},{beginKeywords:"type",end:"(=|<)",contains:[e.UNDERSCORE_TITLE_MODE],illegal:"\\S"},{beginKeywords:"trait enum",end:"{",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"[\\w\\d]"},{begin:e.IDENT_RE+"::"},{begin:"->"}]}}),i.registerLanguage("scala",function(e){var t={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},n={className:"class",beginKeywords:"class object trait type",end:/[:={\[(\n;]/,contains:[{className:"keyword",beginKeywords:"extends with",relevance:10},t]},r={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,contains:[t]};return{keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'u?r?"""',end:'"""',relevance:10},e.QUOTE_STRING_MODE,{className:"symbol",begin:"'\\w[\\w\\d_]*(?!')"},{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},r,n,e.C_NUMBER_MODE,{className:"annotation",begin:"@[A-Za-z]+"}]}}),i.registerLanguage("scheme",function(e){var t="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",n="(\\-|\\+)?\\d+([./]\\d+)?",r={className:"literal",begin:"(#t|#f|#\\\\"+t+"|#\\\\.)"},i={className:"number",variants:[{begin:n,relevance:0},{begin:"(\\-|\\+)?\\d+([./]\\d+)?[+\\-](\\-|\\+)?\\d+([./]\\d+)?i",relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},a=e.QUOTE_STRING_MODE,o=[e.COMMENT(";","$",{relevance:0}),e.COMMENT("#\\|","\\|#")],s={begin:t,relevance:0},c={className:"variable",begin:"'"+t},l={endsWithParent:!0,relevance:0},u={className:"list",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{className:"keyword",begin:t,lexemes:t,keywords:{built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci<? string-ci=? string-ci>=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string<? string=? string>=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"}},l]};return l.contains=[r,i,a,s,c,u].concat(o),{illegal:/\S/,contains:[{className:"shebang",begin:"^#!",end:"$"},i,a,c,u].concat(o)}}),i.registerLanguage("scilab",function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'|\"",end:"'|\"",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]}];return{aliases:["sci"],keywords:{keyword:"abort break case clear catch continue do elseif else endfunction end for functionglobal if pause return resume select try then while%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp errorexec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isemptyisinfisnan isvector lasterror length load linspace list listfiles log10 log2 logmax min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand realround sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tantype typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function endfunction",end:"$",keywords:"function endfunction|10",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{className:"transposed_variable",begin:"[a-zA-Z_][a-zA-Z_0-9]*('+[\\.']*|[\\.']+)",end:"",relevance:0},{className:"matrix",begin:"\\[",end:"\\]'*[\\.']*",relevance:0,contains:t},e.COMMENT("//","$")].concat(t)}}),i.registerLanguage("scss",function(e){var t="[a-zA-Z-][a-zA-Z0-9_-]*",n={className:"variable",begin:"(\\$"+t+")\\b"},r={className:"function",begin:t+"\\(",returnBegin:!0,excludeEnd:!0,end:"\\("},i={className:"hexcolor",begin:"#[0-9A-Fa-f]+"};e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_BLOCK_COMMENT_MODE;return{case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,r,{className:"id",begin:"\\#[A-Za-z0-9_-]+",relevance:0},{className:"class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},{className:"attr_selector",begin:"\\[",end:"\\]",illegal:"$"},{className:"tag",begin:"\\b(a|abbr|acronym|address|area|article|aside|audio|b|base|big|blockquote|body|br|button|canvas|caption|cite|code|col|colgroup|command|datalist|dd|del|details|dfn|div|dl|dt|em|embed|fieldset|figcaption|figure|footer|form|frame|frameset|(h[1-6])|head|header|hgroup|hr|html|i|iframe|img|input|ins|kbd|keygen|label|legend|li|link|map|mark|meta|meter|nav|noframes|noscript|object|ol|optgroup|option|output|p|param|pre|progress|q|rp|rt|ruby|samp|script|section|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|time|title|tr|tt|ul|var|video)\\b",relevance:0},{className:"pseudo",begin:":(visited|valid|root|right|required|read-write|read-only|out-range|optional|only-of-type|only-child|nth-of-type|nth-last-of-type|nth-last-child|nth-child|not|link|left|last-of-type|last-child|lang|invalid|indeterminate|in-range|hover|focus|first-of-type|first-line|first-letter|first-child|first|enabled|empty|disabled|default|checked|before|after|active)"},{className:"pseudo",begin:"::(after|before|choices|first-letter|first-line|repeat-index|repeat-item|selection|value)"},n,{className:"attribute",begin:"\\b(z-index|word-wrap|word-spacing|word-break|width|widows|white-space|visibility|vertical-align|unicode-bidi|transition-timing-function|transition-property|transition-duration|transition-delay|transition|transform-style|transform-origin|transform|top|text-underline-position|text-transform|text-shadow|text-rendering|text-overflow|text-indent|text-decoration-style|text-decoration-line|text-decoration-color|text-decoration|text-align-last|text-align|tab-size|table-layout|right|resize|quotes|position|pointer-events|perspective-origin|perspective|page-break-inside|page-break-before|page-break-after|padding-top|padding-right|padding-left|padding-bottom|padding|overflow-y|overflow-x|overflow-wrap|overflow|outline-width|outline-style|outline-offset|outline-color|outline|orphans|order|opacity|object-position|object-fit|normal|none|nav-up|nav-right|nav-left|nav-index|nav-down|min-width|min-height|max-width|max-height|mask|marks|margin-top|margin-right|margin-left|margin-bottom|margin|list-style-type|list-style-position|list-style-image|list-style|line-height|letter-spacing|left|justify-content|initial|inherit|ime-mode|image-orientation|image-resolution|image-rendering|icon|hyphens|height|font-weight|font-variant-ligatures|font-variant|font-style|font-stretch|font-size-adjust|font-size|font-language-override|font-kerning|font-feature-settings|font-family|font|float|flex-wrap|flex-shrink|flex-grow|flex-flow|flex-direction|flex-basis|flex|filter|empty-cells|display|direction|cursor|counter-reset|counter-increment|content|column-width|column-span|column-rule-width|column-rule-style|column-rule-color|column-rule|column-gap|column-fill|column-count|columns|color|clip-path|clip|clear|caption-side|break-inside|break-before|break-after|box-sizing|box-shadow|box-decoration-break|bottom|border-width|border-top-width|border-top-style|border-top-right-radius|border-top-left-radius|border-top-color|border-top|border-style|border-spacing|border-right-width|border-right-style|border-right-color|border-right|border-radius|border-left-width|border-left-style|border-left-color|border-left|border-image-width|border-image-source|border-image-slice|border-image-repeat|border-image-outset|border-image|border-color|border-collapse|border-bottom-width|border-bottom-style|border-bottom-right-radius|border-bottom-left-radius|border-bottom-color|border-bottom|border|background-size|background-repeat|background-position|background-origin|background-image|background-color|background-clip|background-attachment|background-blend-mode|background|backface-visibility|auto|animation-timing-function|animation-play-state|animation-name|animation-iteration-count|animation-fill-mode|animation-duration|animation-direction|animation-delay|animation|align-self|align-items|align-content)\\b",illegal:"[^\\s]"},{className:"value",begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{className:"value",begin:":",end:";",contains:[r,n,i,e.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"important",begin:"!important"}]},{className:"at_rule",begin:"@",end:"[{;]",keywords:"mixin include extend for if else each while charset import debug media page content font-face namespace warn",contains:[r,n,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,i,e.CSS_NUMBER_MODE,{className:"preprocessor",begin:"\\s[A-Za-z0-9_.-]+",relevance:0}]}]}}),i.registerLanguage("smali",function(e){var t=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"];return{aliases:["smali"],contains:[{className:"string",begin:'"',end:'"',relevance:0},e.COMMENT("#","$",{relevance:0}),{className:"keyword",begin:"\\s*\\.end\\s[a-zA-Z0-9]*",relevance:1},{className:"keyword",begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{className:"keyword",begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{className:"keyword",begin:"\\s("+["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"].join("|")+")",relevance:1},{className:"keyword",begin:"\\[",relevance:0},{className:"instruction",begin:"\\s("+t.join("|")+")\\s",relevance:1},{className:"instruction",begin:"\\s("+t.join("|")+")((\\-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{className:"instruction",begin:"\\s("+["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"].join("|")+")((\\-|/)[a-zA-Z0-9]+)*\\s",relevance:10},{className:"class",begin:"L[^(;:\n]*;",relevance:0},{className:"function",begin:'( |->)[^(\n ;"]*\\(',relevance:0},{className:"function",begin:"\\)",relevance:0},{className:"variable",begin:"[vp][0-9]+",relevance:0}]}}),i.registerLanguage("smalltalk",function(e){var t="[a-z][a-zA-Z0-9_]*",n={className:"char",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{aliases:["st"],keywords:"self super nil true false thisContext",contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"class",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{className:"method",begin:t+":",relevance:0},e.C_NUMBER_MODE,r,n,{className:"localvars",begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{className:"array",begin:"\\#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,r]}]}}),i.registerLanguage("sml",function(e){return{aliases:["ml"],keywords:{keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,lexemes:"[a-z_]\\w*!?",contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)"},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"tag",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"char",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}),i.registerLanguage("sqf",function(e){var t=["case","catch","default","do","else","exit","exitWith|5","for","forEach","from","if","switch","then","throw","to","try","while","with"],n=["!","-","+","!=","%","&&","*","/","=","==",">",">=","<","<=","^",":",">>"],r=["true","false","nil"],i=["!","-","+","!=","%","&&","*","/","=","==",">",">=","<","<=","or","plus","^",":",">>","abs","accTime","acos","action","actionKeys","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","activateAddons","activatedAddons","activateKey","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazine array","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addUniform","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponPool","addWeaponTurret","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityRTD","airportSide","AISFinishHeal","alive","allControls","allCurators","allDead","allDeadMen","allDisplays","allGroups","allMapMarkers","allMines","allMissionObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowFileOperations","allowFleeing","allowGetIn","allPlayers","allSites","allTurrets","allUnits","allUnitsUAV","allVariables","ammo","and","animate","animateDoor","animationPhase","animationState","append","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","binocular","blufor","boundingBox","boundingBoxReal","boundingCenter","breakOut","breakTo","briefingName","buildingExit","buildingPos","buttonAction","buttonSetAction","cadetMode","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canFire","canMove","canSlingLoad","canStand","canUnloadInCombat","captive","captiveNum","case","catch","cbChecked","cbSetChecked","ceil","cheatsEnabled","checkAIFeature","civilian","className","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandTarget","commandWatch","comment","commitOverlay","compile","compileFinal","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configProperties","configSourceMod","configSourceModList","connectTerminalToUAV","controlNull","controlsGroupCtrl","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createUnit array","createVehicle","createVehicle array","createVehicleCrew","createVehicleLocal","crew","ctrlActivate","ctrlAddEventHandler","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlParent","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlSetActiveColor","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontP","ctrlSetFontPB","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetPosition","ctrlSetScale","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlShow","ctrlShown","ctrlText","ctrlTextHeight","ctrlType","ctrlVisible","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorTarget","customChat","customRadio","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","daytime","deActivateKey","debriefingText","debugFSM","debugLog","default","deg","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag activeMissionFSMs","diag activeSQFScripts","diag activeSQSScripts","diag captureFrame","diag captureSlowFrame","diag fps","diag fpsMin","diag frameNo","diag log","diag logSlowFrame","diag tickTime","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","direction","directSay","disableAI","disableCollisionWith","disableConversation","disableDebriefingStats","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayCtrl","displayNull","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLine","drawLine3D","drawLink","drawLocation","drawRectangle","driver","drop","east","echo","editObject","editorSetEventHandler","effectiveCommander","else","emptyPositions","enableAI","enableAIFeature","enableAttack","enableCamShake","enableCaustics","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableTeamSwitch","enableUAVConnectability","enableUAVWaypoints","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesRpmRTD","enginesTorqueRTD","entities","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exit","exitWith","exp","expectedDestination","eyeDirection","eyePos","face","faction","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","false","fillWeaponsFromPool","find","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagOwner","fleeing","floor","flyInHeight","fog","fogForecast","fogParams","for","forceAddUniform","forceEnd","forceMap","forceRespawn","forceSpeed","forceWalk","forceWeaponFire","forceWeatherChange","forEach","forEachMember","forEachMemberAgent","forEachMemberTeam","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeLook","from","fromEditor","fuel","fullCrew","gearSlotAmmoCount","gearSlotData","getAllHitPointsDamage","getAmmoCargo","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssignedCuratorLogic","getAssignedCuratorUnit","getBackpackCargo","getBleedingRemaining","getBurningValue","getCargoIndex","getCenterOfMass","getClientState","getConnectedUAV","getDammage","getDescription","getDir","getDirVisual","getDLCs","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getFatigue","getFriend","getFSMVariable","getFuelCargo","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getModelInfo","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectMaterials","getObjectProxy","getObjectTextures","getObjectType","getObjectViewDistance","getOxygenRemaining","getPersonUsedDLCs","getPlayerChannel","getPlayerUID","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getRepairCargo","getResolution","getShadowDistance","getSlingLoad","getSpeed","getSuppression","getTerrainHeightASL","getText","getVariable","getWeaponCargo","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupId","groupOwner","groupRadio","groupSelectedUnits","groupSelectUnit","grpNull","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hasInterface","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","if","image","importAllGroups","importance","in","incapacitatedState","independent","inflame","inflamed","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inputAction","inRangeOfArtillery","insertEditorObject","intersect","isAbleToBreathe","isAgent","isArray","isAutoHoverOn","isAutonomous","isAutotest","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDedicated","isDLCAvailable","isEngineOn","isEqualTo","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMultiplayer","isNil","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPipEnabled","isPlayer","isRealTime","isServer","isShowing3DIcons","isSteamMission","isStreamFriendlyUIEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUniformAllowed","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbSelection","lbSetColor","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortByValue","lbText","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineBreak","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbSetColor","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetText","lnbSetValue","lnbSize","lnbText","lnbValue","load","loadAbs","loadBackpack","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","local","localize","locationNull","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCargo","lockedDriver","lockedTurret","lockTurret","lockWP","log","logEntities","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerColor","markerDir","markerPos","markerShape","markerSize","markerText","markerType","max","members","min","mineActive","mineDetectedBy","missionConfigFile","missionName","missionNamespace","missionStart","mod","modelToWorld","modelToWorldVisual","moonIntensity","morale","move","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","name location","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestObject","nearestObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nil","nMenuItems","not","numberToDate","objectCurators","objectFromNetId","objectParent","objNull","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openMap","openYoutubeVideo","opfor","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseText","parsingNamespace","particlesQuality","pi","pickWeaponPool","pitch","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","private","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioVolume","rain","rainbow","random","rank","rankId","rating","rectangular","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","removeAction","removeAllActions","removeAllAssignedItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllPrimaryWeaponItems","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeVest","removeWeapon","removeWeaponGlobal","removeWeaponTurret","requiredVersion","resetCamShake","resetSubgroupDirection","resistance","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeEndPosition","ropeLength","ropes","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","saveGame","saveIdentity","saveJoysticks","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenToWorld","scriptDone","scriptName","scriptNull","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionPosition","selectLeader","selectNoPlayer","selectPlayer","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverTime","set","setAccTime","setAirportSide","setAmmo","setAmmoCargo","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBleedingRemaining","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatMode","setCompassOscillation","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDir","setDirection","setDrawIcon","setDropInterval","setEditorMode","setEditorObjectScope","setEffectCondition","setFace","setFaceAnimation","setFatigue","setFlagOwner","setFlagSide","setFlagTexture","setFog","setFog array","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupId","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setIdentity","setImportance","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightnings","setLightUseFlare","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPos","setMarkerPosLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMimic","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectProxy","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotLight","setPiPEffect","setPitch","setPlayable","setPlayerRespawnTime","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setShadowDistance","setSide","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimulWeatherLayers","setSize","setSkill","setSkill array","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskResult","setTaskState","setTerrainGrid","setText","setTimeMultiplier","setTitleEffect","setTriggerActivation","setTriggerArea","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setType","setUnconscious","setUnitAbility","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnloadInCombat","setUserActionText","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWind","setWindDir","setWindForce","setWindStr","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGPS","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGPS","shownHUD","shownMap","shownPad","shownRadio","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","side","sideChat","sideEnemy","sideFriendly","sideLogic","sideRadio","sideUnknown","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","step","stop","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceType","swimInDepth","switch","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","synchronizeWaypoint trigger","systemChat","systemOfUnits","tan","targetKnowledge","targetsAggregate","targetsQuery","taskChildren","taskCompleted","taskDescription","taskDestination","taskHint","taskNull","taskParent","taskResult","taskState","teamMember","teamMemberNull","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","text","text location","textLog","textLogFormat","tg","then","throw","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","to","toArray","toLower","toString","toUpper","triggerActivated","triggerActivation","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","true","try","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvPicture","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetTooltip","tvSetValue","tvSort","tvSortByValue","tvText","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","unitAddons","unitBackpack","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAudioTimeForMoves","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorMagnitude","vectorMagnitudeSqr","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vehicle","vehicleChat","vehicleRadio","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGPS","visibleMap","visiblePosition","visiblePositionASL","visibleWatch","waitUntil","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointFormation","waypointHousePosition","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponCargo","weaponDirection","weaponLowered","weapons","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","west","WFSideText","while","wind","windDir","windStr","wingsForcesRTD","with","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"].filter(function(e){return-1==t.indexOf(e)&&-1==r.indexOf(e)&&-1==n.indexOf(e)});i=i.concat(["_forEachIndex|10","_this|10","_x|10"]);var a={className:"number",begin:e.NUMBER_RE,relevance:0},o={className:"string",variants:[e.QUOTE_STRING_MODE,{begin:"'\\\\?.",end:"'",illegal:"."}]},s={className:"preprocessor",begin:"#",end:"$",keywords:"if else elif endif define undef warning error line pragma ifdef ifndef",contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",contains:[o,{className:"string",begin:"<",end:">",illegal:"\\n"}]},o,a,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]};return{aliases:["sqf"],case_insensitive:!0,keywords:{keyword:t.join(" "),built_in:i.join(" "),literal:r.join(" ")},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{className:"string",relevance:0,variants:[{begin:'"',end:'"',contains:[{begin:'""'}]},{begin:"'",end:"'",contains:[{begin:"''"}]}]},s]}}),i.registerLanguage("sql",function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*]/,contains:[{className:"operator",beginKeywords:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup revoke",end:/;/,endsWithParent:!0,keywords:{keyword:"abort abs absolute acc acce accep accept access accessed accessible account acos action activate add addtime admin administer advanced advise aes_decrypt aes_encrypt after agent aggregate ali alia alias allocate allow alter always analyze ancillary and any anydata anydataset anyschema anytype apply archive archived archivelog are as asc ascii asin assembly assertion associate asynchronous at atan atn2 attr attri attrib attribu attribut attribute attributes audit authenticated authentication authid authors auto autoallocate autodblink autoextend automatic availability avg backup badfile basicfile before begin beginning benchmark between bfile bfile_base big bigfile bin binary_double binary_float binlog bit_and bit_count bit_length bit_or bit_xor bitmap blob_base block blocksize body both bound buffer_cache buffer_pool build bulk by byte byteordermark bytes c cache caching call calling cancel capacity cascade cascaded case cast catalog category ceil ceiling chain change changed char_base char_length character_length characters characterset charindex charset charsetform charsetid check checksum checksum_agg child choose chr chunk class cleanup clear client clob clob_base clone close cluster_id cluster_probability cluster_set clustering coalesce coercibility col collate collation collect colu colum column column_value columns columns_updated comment commit compact compatibility compiled complete composite_limit compound compress compute concat concat_ws concurrent confirm conn connec connect connect_by_iscycle connect_by_isleaf connect_by_root connect_time connection consider consistent constant constraint constraints constructor container content contents context contributors controlfile conv convert convert_tz corr corr_k corr_s corresponding corruption cos cost count count_big counted covar_pop covar_samp cpu_per_call cpu_per_session crc32 create creation critical cross cube cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime customdatum cycle d data database databases datafile datafiles datalength date_add date_cache date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts day day_to_second dayname dayofmonth dayofweek dayofyear days db_role_change dbtimezone ddl deallocate declare decode decompose decrement decrypt deduplicate def defa defau defaul default defaults deferred defi defin define degrees delayed delegate delete delete_all delimited demand dense_rank depth dequeue des_decrypt des_encrypt des_key_file desc descr descri describ describe descriptor deterministic diagnostics difference dimension direct_load directory disable disable_all disallow disassociate discardfile disconnect diskgroup distinct distinctrow distribute distributed div do document domain dotnet double downgrade drop dumpfile duplicate duration e each edition editionable editions element ellipsis else elsif elt empty enable enable_all enclosed encode encoding encrypt end end-exec endian enforced engine engines enqueue enterprise entityescaping eomonth error errors escaped evalname evaluate event eventdata events except exception exceptions exchange exclude excluding execu execut execute exempt exists exit exp expire explain export export_set extended extent external external_1 external_2 externally extract f failed failed_login_attempts failover failure far fast feature_set feature_value fetch field fields file file_name_convert filesystem_like_logging final finish first first_value fixed flash_cache flashback floor flush following follows for forall force form forma format found found_rows freelist freelists freepools fresh from from_base64 from_days ftp full function g general generated get get_format get_lock getdate getutcdate global global_name globally go goto grant grants greatest group group_concat group_id grouping grouping_id groups gtid_subtract guarantee guard handler hash hashkeys having hea head headi headin heading heap help hex hierarchy high high_priority hosts hour http i id ident_current ident_incr ident_seed identified identity idle_time if ifnull ignore iif ilike ilm immediate import in include including increment index indexes indexing indextype indicator indices inet6_aton inet6_ntoa inet_aton inet_ntoa infile initial initialized initially initrans inmemory inner innodb input insert install instance instantiable instr interface interleaved intersect into invalidate invisible is is_free_lock is_ipv4 is_ipv4_compat is_not is_not_null is_used_lock isdate isnull isolation iterate java join json json_exists k keep keep_duplicates key keys kill l language large last last_day last_insert_id last_value lax lcase lead leading least leaves left len lenght length less level levels library like like2 like4 likec limit lines link list listagg little ln load load_file lob lobs local localtime localtimestamp locate locator lock locked log log10 log2 logfile logfiles logging logical logical_reads_per_call logoff logon logs long loop low low_priority lower lpad lrtrim ltrim m main make_set makedate maketime managed management manual map mapping mask master master_pos_wait match matched materialized max maxextents maximize maxinstances maxlen maxlogfiles maxloghistory maxlogmembers maxsize maxtrans md5 measures median medium member memcompress memory merge microsecond mid migration min minextents minimum mining minus minute minvalue missing mod mode model modification modify module monitoring month months mount move movement multiset mutex n name name_const names nan national native natural nav nchar nclob nested never new newline next nextval no no_write_to_binlog noarchivelog noaudit nobadfile nocheck nocompress nocopy nocycle nodelay nodiscardfile noentityescaping noguarantee nokeep nologfile nomapping nomaxvalue nominimize nominvalue nomonitoring none noneditionable nonschema noorder nopr nopro noprom nopromp noprompt norely noresetlogs noreverse normal norowdependencies noschemacheck noswitch not nothing notice notrim novalidate now nowait nth_value nullif nulls num numb numbe nvarchar nvarchar2 object ocicoll ocidate ocidatetime ociduration ociinterval ociloblocator ocinumber ociref ocirefcursor ocirowid ocistring ocitype oct octet_length of off offline offset oid oidindex old on online only opaque open operations operator optimal optimize option optionally or oracle oracle_date oradata ord ordaudio orddicom orddoc order ordimage ordinality ordvideo organization orlany orlvary out outer outfile outline output over overflow overriding p package pad parallel parallel_enable parameters parent parse partial partition partitions pascal passing password password_grace_time password_lock_time password_reuse_max password_reuse_time password_verify_function patch path patindex pctincrease pctthreshold pctused pctversion percent percent_rank percentile_cont percentile_disc performance period period_add period_diff permanent physical pi pipe pipelined pivot pluggable plugin policy position post_transaction pow power pragma prebuilt precedes preceding precision prediction prediction_cost prediction_details prediction_probability prediction_set prepare present preserve prior priority private private_sga privileges procedural procedure procedure_analyze processlist profiles project prompt protection public publishingservername purge quarter query quick quiesce quota quotename radians raise rand range rank raw read reads readsize rebuild record records recover recovery recursive recycle redo reduced ref reference referenced references referencing refresh regexp_like register regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy reject rekey relational relative relaylog release release_lock relies_on relocate rely rem remainder rename repair repeat replace replicate replication required reset resetlogs resize resource respect restore restricted result result_cache resumable resume retention return returning returns reuse reverse revoke right rlike role roles rollback rolling rollup round row row_count rowdependencies rowid rownum rows rtrim rules safe salt sample save savepoint sb1 sb2 sb4 scan schema schemacheck scn scope scroll sdo_georaster sdo_topo_geometry search sec_to_time second section securefile security seed segment select self sequence sequential serializable server servererror session session_user sessions_per_user set sets settings sha sha1 sha2 share shared shared_pool short show shrink shutdown si_averagecolor si_colorhistogram si_featurelist si_positionalcolor si_stillimage si_texture siblings sid sign sin size size_t sizes skip slave sleep smalldatetimefromparts smallfile snapshot some soname sort soundex source space sparse spfile split sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_small_result sql_variant_property sqlcode sqldata sqlerror sqlname sqlstate sqrt square standalone standby start starting startup statement static statistics stats_binomial_test stats_crosstab stats_ks_test stats_mode stats_mw_test stats_one_way_anova stats_t_test_ stats_t_test_indep stats_t_test_one stats_t_test_paired stats_wsr_test status std stddev stddev_pop stddev_samp stdev stop storage store stored str str_to_date straight_join strcmp strict string struct stuff style subdate subpartition subpartitions substitutable substr substring subtime subtring_index subtype success sum suspend switch switchoffset switchover sync synchronous synonym sys sys_xmlagg sysasm sysaux sysdate sysdatetimeoffset sysdba sysoper system system_user sysutcdatetime t table tables tablespace tan tdo template temporary terminated tertiary_weights test than then thread through tier ties time time_format time_zone timediff timefromparts timeout timestamp timestampadd timestampdiff timezone_abbr timezone_minute timezone_region to to_base64 to_date to_days to_seconds todatetimeoffset trace tracking transaction transactional translate translation treat trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse type ub1 ub2 ub4 ucase unarchived unbounded uncompress under undo unhex unicode uniform uninstall union unique unix_timestamp unknown unlimited unlock unpivot unrecoverable unsafe unsigned until untrusted unusable unused update updated upgrade upped upper upsert url urowid usable usage use use_stored_outlines user user_data user_resources users using utc_date utc_timestamp uuid uuid_short validate validate_password_strength validation valist value values var var_samp varcharc vari varia variab variabl variable variables variance varp varraw varrawc varray verify version versions view virtual visible void wait wallet warning warnings week weekday weekofyear wellformed when whene whenev wheneve whenever where while whitespace with within without work wrapped xdb xml xmlagg xmlattributes xmlcast xmlcolattval xmlelement xmlexists xmlforest xmlindex xmlnamespaces xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltype xor year year_to_month years yearweek",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int int8 integer interval number numeric real record serial serial8 smallint text varchar varying void"},contains:[{className:"string",begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE,{begin:"''"}]},{className:"string",begin:'"',end:'"',contains:[e.BACKSLASH_ESCAPE,{begin:'""'}]},{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,t]},e.C_BLOCK_COMMENT_MODE,t]}}),i.registerLanguage("stata",function(e){return{aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate g gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l la lab labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize meqparse mer merg merge mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"label",variants:[{begin:"\\$\\{?[a-zA-Z0-9_]+\\}?"},{begin:"`[a-zA-Z0-9_]+'"}]},{className:"string",variants:[{begin:'`"[^\r\n]*?"\''},{begin:'"[^\r\n"]*"'}]},{className:"literal",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\(|$)"}]},e.COMMENT("^[ \t]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}),i.registerLanguage("step21",function(e){var t=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"label",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}];return{aliases:["p21","step","stp"],case_insensitive:!0,lexemes:"[A-Z_][A-Z0-9_.]*",keywords:{literal:"",built_in:"",keyword:"HEADER ENDSEC DATA"},contains:[{className:"preprocessor",begin:"END-ISO-10303-21;",relevance:10},{className:"preprocessor",begin:"ISO-10303-21;",relevance:10}].concat(t)}}),i.registerLanguage("stylus",function(e){var t={className:"variable",begin:"\\$"+e.IDENT_RE},n={className:"hexcolor",begin:"#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})",relevance:10},r="[\\.\\s\\n\\[\\:,]";return{aliases:["styl"],case_insensitive:!1,illegal:"("+["\\{","\\}","\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",keywords:"if else for in",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+r,returnBegin:!0,contains:[{className:"class",begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"}]},{begin:"\\#[a-zA-Z][a-zA-Z0-9_-]*"+r,returnBegin:!0,contains:[{className:"id",begin:"\\#[a-zA-Z][a-zA-Z0-9_-]*"}]},{begin:"\\b("+["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"].join("|")+")"+r,returnBegin:!0,contains:[{className:"tag",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"}]},{className:"pseudo",begin:"&?:?:\\b("+["after","before","first-letter","first-line","active","first-child","focus","hover","lang","link","visited"].join("|")+")"+r},{className:"at_rule",begin:"@("+["charset","css","debug","extend","font-face","for","import","include","media","mixin","page","warn","while"].join("|")+")\\b"},t,e.CSS_NUMBER_MODE,e.NUMBER_MODE,{className:"function",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[n,t,e.APOS_STRING_MODE,e.CSS_NUMBER_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE]}]},{className:"attribute",begin:"\\b("+["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","auto","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","clip-path","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","font","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-variant-ligatures","font-weight","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inherit","initial","justify-content","left","letter-spacing","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marks","mask","max-height","max-width","min-height","min-width","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","pointer-events","position","quotes","resize","right","tab-size","table-layout","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-indent","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","white-space","widows","width","word-break","word-spacing","word-wrap","z-index"].reverse().join("|")+")\\b"}]}}),i.registerLanguage("swift",function(e){var t={keyword:"__COLUMN__ __FILE__ __FUNCTION__ __LINE__ as as! as? associativity break case catch class continue convenience default defer deinit didSet do dynamic dynamicType else enum extension fallthrough false final for func get guard if import in indirect infix init inout internal is lazy left let mutating nil none nonmutating operator optional override postfix precedence prefix private protocol Protocol public repeat required rethrows return right self Self set static struct subscript super switch throw throws true try try! try? Type typealias unowned var weak where while willSet",literal:"true false nil",built_in:"abs advance alignof alignofValue anyGenerator assert assertionFailure bridgeFromObjectiveC bridgeFromObjectiveCUnconditional bridgeToObjectiveC bridgeToObjectiveCUnconditional c contains count countElements countLeadingZeros debugPrint debugPrintln distance dropFirst dropLast dump encodeBitsAsWords enumerate equal fatalError filter find getBridgedObjectiveCType getVaList indices insertionSort isBridgedToObjectiveC isBridgedVerbatimToObjectiveC isUniquelyReferenced isUniquelyReferencedNonObjC join lazy lexicographicalCompare map max maxElement min minElement numericCast overlaps partition posix precondition preconditionFailure print println quickSort readLine reduce reflect reinterpretCast reverse roundUpToAlignment sizeof sizeofValue sort split startsWith stride strideof strideofValue swap toString transcode underestimateCount unsafeAddressOf unsafeBitCast unsafeDowncast unsafeUnwrap unsafeReflect withExtendedLifetime withObjectAtPlusZero withUnsafePointer withUnsafePointerToObject withUnsafeMutablePointer withUnsafeMutablePointers withUnsafePointer withUnsafePointers withVaList zip"},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r={className:"subst",begin:/\\\(/,end:"\\)",keywords:t,contains:[]},i={className:"number",begin:"\\b([\\d_]+(\\.[\\deE_]+)?|0x[a-fA-F0-9_]+(\\.[a-fA-F0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b",relevance:0},a=e.inherit(e.QUOTE_STRING_MODE,{contains:[r,e.BACKSLASH_ESCAPE]});return r.contains=[i],{keywords:t,contains:[a,e.C_LINE_COMMENT_MODE,n,{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},i,{className:"func",beginKeywords:"func",end:"{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/,illegal:/\(/}),{className:"generics",begin:/</,end:/>/,illegal:/>/},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,contains:["self",i,a,e.C_BLOCK_COMMENT_MODE,{begin:":"}],illegal:/["']/}],illegal:/\[|%/},{className:"class",beginKeywords:"struct protocol class extension enum",keywords:t,end:"\\{",excludeEnd:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/})]},{className:"preprocessor",begin:"(@warn_unused_result|@exported|@lazy|@noescape|@NSCopying|@NSManaged|@objc|@convention|@required|@noreturn|@IBAction|@IBDesignable|@IBInspectable|@IBOutlet|@infix|@prefix|@postfix|@autoclosure|@testable|@available|@nonobjc|@NSApplicationMain|@UIApplicationMain)"},{beginKeywords:"import",end:/$/,contains:[e.C_LINE_COMMENT_MODE,n]}]}}),i.registerLanguage("tcl",function(e){return{aliases:["tk"],keywords:"after append apply array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd chan clock close concat continue dde dict encoding eof error eval exec exit expr fblocked fconfigure fcopy file fileevent filename flush for foreach format gets glob global history http if incr info interp join lappend|10 lassign|10 lindex|10 linsert|10 list llength|10 load lrange|10 lrepeat|10 lreplace|10 lreverse|10 lsearch|10 lset|10 lsort|10 mathfunc mathop memory msgcat namespace open package parray pid pkg::create pkg_mkIndex platform platform::shell proc puts pwd read refchan regexp registry regsub|10 rename return safe scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_startOfPreviousWord tcl_wordBreakAfter tcl_wordBreakBefore tcltest tclvars tell time tm trace unknown unload unset update uplevel upvar variable vwait while",contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"symbol",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",excludeEnd:!0,variants:[{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*\\(([a-zA-Z0-9_])*\\)",end:"[^a-zA-Z0-9_\\}\\$]"},{begin:"\\$(\\{)?(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"(\\))?[^a-zA-Z0-9_\\}\\$]"}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},{className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]}]}}),i.registerLanguage("tex",function(e){var t={className:"command",begin:"\\\\[a-zA-Zа-яА-я]+[\\*]?"},n={className:"command",begin:"\\\\[^a-zA-Zа-яА-я0-9]"},r={className:"special",begin:"[{}\\[\\]\\&#~]",relevance:0};return{contains:[{begin:"\\\\[a-zA-Zа-яА-я]+[\\*]? *= *-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?",returnBegin:!0,contains:[t,n,{className:"number",begin:" *=",end:"-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?",excludeBegin:!0}],relevance:10},t,n,r,{className:"formula",begin:"\\$\\$",end:"\\$\\$",contains:[t,n,r],relevance:0},{className:"formula",begin:"\\$",end:"\\$",contains:[t,n,r],relevance:0},e.COMMENT("%","$",{relevance:0})]}}),i.registerLanguage("thrift",function(e){var t="bool byte i16 i32 i64 double string binary";return{keywords:{keyword:"namespace const typedef struct enum service exception void oneway set list map required optional",built_in:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",end:">",keywords:t,contains:["self"]}]}}),i.registerLanguage("tp",function(e){var t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"comment",begin:":[^\\]]+"};return{keywords:{keyword:"ABORT ACC ADJUST AND AP_LD BREAK CALL CNT COL CONDITION CONFIG DA DB DIV DETECT ELSE END ENDFOR ERR_NUM ERROR_PROG FINE FOR GP GUARD INC IF JMP LINEAR_MAX_SPEED LOCK MOD MONITOR OFFSET Offset OR OVERRIDE PAUSE PREG PTH RT_LD RUN SELECT SKIP Skip TA TB TO TOOL_OFFSET Tool_Offset UF UT UFRAME_NUM UTOOL_NUM UNLOCK WAIT X Y Z W P R STRLEN SUBSTR FINDSTR VOFFSET",constant:"ON OFF max_speed LPOS JPOS ENABLE DISABLE START STOP RESET"},contains:[{className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER| TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},{className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]},{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT("//","[;$]"),e.COMMENT("!","[;$]"),e.COMMENT("--eg:","$"),e.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},e.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}),i.registerLanguage("twig",function(e){var t={className:"function",beginKeywords:"attribute block constant cycle date dump include max min parent random range source template_from_string",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},n={className:"filter",begin:/\|[A-Za-z_]+:?/,keywords:"abs batch capitalize convert_encoding date date_modify default escape first format join json_encode keys last length lower merge nl2br number_format raw replace reverse round slice sort split striptags title trim upper url_encode",contains:[t]},r="autoescape block do embed extends filter flush for if import include macro sandbox set spaceless use verbatim";return r=r+" "+r.split(" ").map(function(e){return"end"+e}).join(" "),{aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[e.COMMENT(/\{#/,/#}/),{className:"template_tag",begin:/\{%/,end:/%}/,keywords:r,contains:[n,t]},{className:"variable",begin:/\{\{/,end:/}}/,contains:[n,t]}]}}),i.registerLanguage("typescript",function(e){var t={keyword:"in if for while finally var new function|0 do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class public private protected get set super static implements enum export import declare type namespace abstract",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document any number boolean string void"};return{aliases:["ts"],keywords:t,contains:[{className:"pi",begin:/^\s*['"]use strict['"]/,relevance:0},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:e.C_NUMBER_RE}],relevance:0},{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.REGEXP_MODE],relevance:0},{className:"function",begin:"function",end:/[\{;]/,excludeEnd:!0,keywords:t,contains:["self",e.inherit(e.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:t,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:/["'\(]/}],illegal:/\[|%/,relevance:0},{className:"constructor",beginKeywords:"constructor",end:/\{/,excludeEnd:!0,relevance:10},{className:"module",beginKeywords:"module",end:/\{/,excludeEnd:!0},{className:"interface",beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:"interface extends"},{begin:/\$[(.]/},{begin:"\\."+e.IDENT_RE,relevance:0}]}}),i.registerLanguage("vala",function(e){return{keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface delegate namespace",end:"{",excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[e.UNDERSCORE_TITLE_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{className:"preprocessor",begin:"^#",end:"$",relevance:2},{className:"constant",begin:" [A-Z_]+ ",relevance:0}]}}),i.registerLanguage("vbnet",function(e){return{aliases:["vb"],case_insensitive:!0,keywords:{keyword:"addhandler addressof alias and andalso aggregate ansi as assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into is isfalse isnot istrue join key let lib like loop me mid mod module mustinherit mustoverride mybase myclass namespace narrowing new next not notinheritable notoverridable of off on operator option optional or order orelse overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim rem removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly xor",built_in:"boolean byte cbool cbyte cchar cdate cdec cdbl char cint clng cobj csbyte cshort csng cstr ctype date decimal directcast double gettype getxmlnamespace iif integer long object sbyte short single string trycast typeof uinteger ulong ushort",literal:"true false nothing"},illegal:"//|{|}|endif|gosub|variant|wend",contains:[e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT("'","$",{returnBegin:!0,contains:[{className:"xmlDocTag",begin:"'''|\x3c!--|--\x3e",contains:[e.PHRASAL_WORDS_MODE]},{className:"xmlDocTag",begin:"</?",end:">",contains:[e.PHRASAL_WORDS_MODE]}]}),e.C_NUMBER_MODE,{className:"preprocessor",begin:"#",end:"$",keywords:"if else elseif end region externalsource"}]}}),i.registerLanguage("vbscript",function(e){return{aliases:["vbs"],case_insensitive:!0,keywords:{keyword:"call class const dim do loop erase execute executeglobal exit for each next function if then else on error option explicit new private property let get public randomize redim rem select case set stop sub while wend with end to elseif is or xor and not class_initialize class_terminate default preserve in me byval byref step resume goto",built_in:"lcase month vartype instrrev ubound setlocale getobject rgb getref string weekdayname rnd dateadd monthname now day minute isarray cbool round formatcurrency conversions csng timevalue second year space abs clng timeserial fixs len asc isempty maths dateserial atn timer isobject filter weekday datevalue ccur isdate instr datediff formatdatetime replace isnull right sgn array snumeric log cdbl hex chr lbound msgbox ucase getlocale cos cdate cbyte rtrim join hour oct typename trim strcomp int createobject loadpicture tan formatnumber mid scriptenginebuildversion scriptengine split scriptengineminorversion cint sin datepart ltrim sqr scriptenginemajorversion time derived eval date formatpercent exp inputbox left ascw chrw regexp server response request cstr err",literal:"true false null nothing empty"},illegal:"//",contains:[e.inherit(e.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),e.COMMENT(/'/,/$/,{relevance:0}),e.C_NUMBER_MODE]}}),i.registerLanguage("vbscript-html",function(e){return{subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}),i.registerLanguage("verilog",function(e){return{aliases:["v"],case_insensitive:!0,keywords:{keyword:"always and assign begin buf bufif0 bufif1 case casex casez cmos deassign default defparam disable edge else end endcase endfunction endmodule endprimitive endspecify endtable endtask event for force forever fork function if ifnone initial inout input join macromodule module nand negedge nmos nor not notif0 notif1 or output parameter pmos posedge primitive pulldown pullup rcmos release repeat rnmos rpmos rtran rtranif0 rtranif1 specify specparam table task timescale tran tranif0 tranif1 wait while xnor xor",typename:"highz0 highz1 integer large medium pull0 pull1 real realtime reg scalared signed small strong0 strong1 supply0 supply0 supply1 supply1 time tri tri0 tri1 triand trior trireg vectored wand weak0 weak1 wire wor"},contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,e.QUOTE_STRING_MODE,{className:"number",begin:"\\b(\\d+'(b|h|o|d|B|H|O|D))?[0-9xzXZ]+",contains:[e.BACKSLASH_ESCAPE],relevance:0},{className:"typename",begin:"\\.\\w+",relevance:0},{className:"value",begin:"#\\((?!parameter).+\\)"},{className:"keyword",begin:"\\+|-|\\*|/|%|<|>|=|#|`|\\!|&|\\||@|:|\\^|~|\\{|\\}",relevance:0}]}}),i.registerLanguage("vhdl",function(e){return{case_insensitive:!0,keywords:{keyword:"abs access after alias all and architecture array assert attribute begin block body buffer bus case component configuration constant context cover disconnect downto default else elsif end entity exit fairness file for force function generate generic group guarded if impure in inertial inout is label library linkage literal loop map mod nand new next nor not null of on open or others out package port postponed procedure process property protected pure range record register reject release rem report restrict restrict_guarantee return rol ror select sequence severity shared signal sla sll sra srl strong subtype then to transport type unaffected units until use variable vmode vprop vunit wait when while with xnor xor",typename:"boolean bit character severity_level integer time delay_length natural positive string bit_vector file_open_kind file_open_status std_ulogic std_ulogic_vector std_logic std_logic_vector unsigned signed boolean_vector integer_vector real_vector time_vector"},illegal:"{",contains:[e.C_BLOCK_COMMENT_MODE,e.COMMENT("--","$"),e.QUOTE_STRING_MODE,{className:"number",begin:"\\b(\\d(_|\\d)*#\\w+(\\.\\w+)?#([eE][-+]?\\d(_|\\d)*)?|\\d(_|\\d)*(\\.\\d(_|\\d)*)?([eE][-+]?\\d(_|\\d)*)?)",relevance:0},{className:"literal",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[e.BACKSLASH_ESCAPE]},{className:"attribute",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[e.BACKSLASH_ESCAPE]}]}}),i.registerLanguage("vim",function(e){return{lexemes:/[!#@\w]+/,keywords:{keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw d|0 delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu g|0 go gr grepa gu gv ha h|0 helpf helpg helpt hi hid his i|0 ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs n|0 new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf q|0 quita qa r|0 rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv s|0 sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync t|0 tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up v|0 ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"abs acos add and append argc argidx argv asin atan atan2 browse browsedir bufexists buflisted bufloaded bufname bufnr bufwinnr byte2line byteidx call ceil changenr char2nr cindent clearmatches col complete complete_add complete_check confirm copy cos cosh count cscope_connection cursor deepcopy delete did_filetype diff_filler diff_hlID empty escape eval eventhandler executable exists exp expand extend feedkeys filereadable filewritable filter finddir findfile float2nr floor fmod fnameescape fnamemodify foldclosed foldclosedend foldlevel foldtext foldtextresult foreground function garbagecollect get getbufline getbufvar getchar getcharmod getcmdline getcmdpos getcmdtype getcwd getfontname getfperm getfsize getftime getftype getline getloclist getmatches getpid getpos getqflist getreg getregtype gettabvar gettabwinvar getwinposx getwinposy getwinvar glob globpath has has_key haslocaldir hasmapto histadd histdel histget histnr hlexists hlID hostname iconv indent index input inputdialog inputlist inputrestore inputsave inputsecret insert invert isdirectory islocked items join keys len libcall libcallnr line line2byte lispindent localtime log log10 luaeval map maparg mapcheck match matchadd matcharg matchdelete matchend matchlist matchstr max min mkdir mode mzeval nextnonblank nr2char or pathshorten pow prevnonblank printf pumvisible py3eval pyeval range readfile reltime reltimestr remote_expr remote_foreground remote_peek remote_read remote_send remove rename repeat resolve reverse round screenattr screenchar screencol screenrow search searchdecl searchpair searchpairpos searchpos server2client serverlist setbufvar setcmdpos setline setloclist setmatches setpos setqflist setreg settabvar settabwinvar setwinvar sha256 shellescape shiftwidth simplify sin sinh sort soundfold spellbadword spellsuggest split sqrt str2float str2nr strchars strdisplaywidth strftime stridx string strlen strpart strridx strtrans strwidth submatch substitute synconcealed synID synIDattr synIDtrans synstack system tabpagebuflist tabpagenr tabpagewinnr tagfiles taglist tan tanh tempname tolower toupper tr trunc type undofile undotree values virtcol visualmode wildmenumode winbufnr wincol winheight winline winnr winrestcmd winrestview winsaveview winwidth writefile xor"},illegal:/[{:]/,contains:[e.NUMBER_MODE,e.APOS_STRING_MODE,{className:"string",begin:/"((\\")|[^"\n])*("|\n)/},{className:"variable",begin:/[bwtglsav]:[\w\d_]*/},{className:"function",beginKeywords:"function function!",end:"$",relevance:0,contains:[e.TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]}]}}),i.registerLanguage("x86asm",function(e){return{case_insensitive:!0,lexemes:"\\.?"+e.IDENT_RE,keywords:{keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",literal:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l",pseudo:"db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times",preprocessor:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public ",built_in:"bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[e.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*\\.?[0-9_]*(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},e.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"},{begin:"\\.[A-Za-z0-9]+"}],relevance:0},{className:"label",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"argument",begin:"%[0-9]+",relevance:0},{className:"built_in",begin:"%!S+",relevance:0}]}}),i.registerLanguage("xl",function(e){var t="ObjectLoader Animate MovieCredits Slides Filters Shading Materials LensFlare Mapping VLCAudioVideo StereoDecoder PointCloud NetworkAccess RemoteControl RegExp ChromaKey Snowfall NodeJS Speech Charts",n={className:"string",begin:'"',end:'"',illegal:"\\n"},r={className:"import",beginKeywords:"import",end:"$",keywords:{keyword:"import",module:t},relevance:0,contains:[n]};return{aliases:["tao"],lexemes:/[a-zA-Z][a-zA-Z0-9_?]*/,keywords:{keyword:"if then else do while until for loop import with is as where when by data constant",literal:"true false nil",type:"integer real text name boolean symbol infix prefix postfix block tree",built_in:"in mod rem and or xor not abs sign floor ceil sqrt sin cos tan asin acos atan exp expm1 log log2 log10 log1p pi at",module:t,id:"text_length text_range text_find text_replace contains page slide basic_slide title_slide title subtitle fade_in fade_out fade_at clear_color color line_color line_width texture_wrap texture_transform texture scale_?x scale_?y scale_?z? translate_?x translate_?y translate_?z? rotate_?x rotate_?y rotate_?z? rectangle circle ellipse sphere path line_to move_to quad_to curve_to theme background contents locally time mouse_?x mouse_?y mouse_buttons"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,n,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:"<<",end:">>"},{className:"function",begin:"[a-z].*->"},r,{className:"constant",begin:"[A-Z][A-Z_0-9]+",relevance:0},{className:"variable",begin:"([A-Z][a-z_0-9]+)+",relevance:0},{className:"id",begin:"[a-z][a-z_0-9]+",relevance:0},{className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?",relevance:10},e.NUMBER_MODE]}}),i.registerLanguage("xquery",function(e){var t={begin:"{",end:"}"},n=[{className:"variable",begin:/\$[a-zA-Z0-9\-]+/,relevance:5},{className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{className:"comment",begin:"\\(:",end:":\\)",relevance:10,contains:[{className:"doc",begin:"@\\w+"}]},{className:"decorator",begin:"%\\w+"},t];return{aliases:["xpath","xq"],case_insensitive:!1,lexemes:/[a-zA-Z\$][a-zA-Z0-9_:\-]*/,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{keyword:"for let if while then else return where group by xquery encoding versionmodule namespace boundary-space preserve strip default collation base-uri orderingcopy-namespaces order declare import schema namespace function option in allowing emptyat tumbling window sliding window start when only end when previous next stable ascendingdescending empty greatest least some every satisfies switch case typeswitch try catch andor to union intersect instance of treat as castable cast map array delete insert intoreplace value rename copy modify update",literal:"false true xs:string xs:integer element item xs:date xs:datetime xs:float xs:double xs:decimal QName xs:anyURI xs:long xs:int xs:short xs:byte attribute"},contains:t.contains=n}}),i.registerLanguage("zephir",function(e){var t={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:'b"',end:'"'},{begin:"b'",end:"'"},e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{aliases:["zep"],case_insensitive:!0,keywords:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var let while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally int uint long ulong char uchar double float bool boolean stringlikely unlikely",contains:[e.C_LINE_COMMENT_MODE,e.HASH_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.COMMENT("__halt_compiler.+?;",!1,{endsWithParent:!0,keywords:"__halt_compiler",lexemes:e.UNDERSCORE_IDENT_RE}),{className:"string",begin:"<<<['\"]?\\w+['\"]?$",end:"^\\w+;",contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function",end:/[;{]/,excludeEnd:!0,illegal:"\\$|\\[|%",contains:[e.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)",contains:["self",e.C_BLOCK_COMMENT_MODE,t,n]}]},{className:"class",beginKeywords:"class interface",end:"{",excludeEnd:!0,illegal:/[:\(\$"]/,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",end:";",illegal:/[\.']/,contains:[e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"use",end:";",contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"=>"},t,n]}}),i}),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return-1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return-1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=0,i=n[r];t=t||[];for(var a=this._onceEvents&&this._onceEvents[e];i;){var o=a&&a[i];o&&(this.off(e,i),delete a[i]),i.apply(this,t),i=n[r+=o?0:1]}return this}},e}),function(t,n){"use strict";"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(e){return n(t,e)}):"object"==typeof module&&module.exports?module.exports=n(t,require("ev-emitter")):t.imagesLoaded=n(t,t.EvEmitter)}(window,function(t,e){"use strict";var r=t.jQuery,i=t.console;function a(e,t){for(var n in t)e[n]=t[n];return e}function o(e,t,n){if(!(this instanceof o))return new o(e,t,n);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=function(e){var t=[];if(Array.isArray(e))t=e;else if("number"==typeof e.length)for(var n=0;n<e.length;n++)t.push(e[n]);else t.push(e);return t}(e),this.options=a({},this.options),"function"==typeof t?n=t:a(this.options,t),n&&this.on("always",n),this.getImages(),r&&(this.jqDeferred=new r.Deferred),setTimeout(function(){this.check()}.bind(this))}(o.prototype=Object.create(e.prototype)).options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&s[t]){for(var n=e.querySelectorAll("img"),r=0;r<n.length;r++){var i=n[r];this.addImage(i)}if("string"==typeof this.options.background){var a=e.querySelectorAll(this.options.background);for(r=0;r<a.length;r++){var o=a[r];this.addElementBackgroundImages(o)}}}};var s={1:!0,9:!0,11:!0};function n(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(t.backgroundImage);null!==r;){var i=r&&r[2];i&&this.addBackground(i,e),r=n.exec(t.backgroundImage)}},o.prototype.addImage=function(e){var t=new n(e);this.images.push(t)},o.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},o.prototype.check=function(){var r=this;function t(e,t,n){setTimeout(function(){r.progress(e,t,n)})}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach(function(e){e.once("progress",t),e.check()}):this.complete()},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&i&&i.log("progress: "+n,e,t)},o.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},(n.prototype=Object.create(e.prototype)).check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},n.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWidth},n.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},n.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},n.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},n.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},(c.prototype=Object.create(n.prototype)).check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((r=e).fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(r(this))})},o.makeJQueryPlugin(),o}),function(e){function t(e,t){if(!(1<e.originalEvent.touches.length)){e.preventDefault();var n=e.originalEvent.changedTouches[0],r=document.createEvent("MouseEvents");r.initMouseEvent(t,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(r)}}if(e.support.touch="ontouchend"in document,e.support.touch){var n,r=e.ui.mouse.prototype,i=r._mouseInit,a=r._mouseDestroy;r._touchStart=function(e){!n&&this._mouseCapture(e.originalEvent.changedTouches[0])&&(n=!0,this._touchMoved=!1,t(e,"mouseover"),t(e,"mousemove"),t(e,"mousedown"))},r._touchMove=function(e){n&&(this._touchMoved=!0,t(e,"mousemove"))},r._touchEnd=function(e){n&&(t(e,"mouseup"),t(e,"mouseout"),this._touchMoved||t(e,"click"),n=!1)},r._mouseInit=function(){this.element.bind({touchstart:e.proxy(this,"_touchStart"),touchmove:e.proxy(this,"_touchMove"),touchend:e.proxy(this,"_touchEnd")}),i.call(this)},r._mouseDestroy=function(){this.element.unbind({touchstart:e.proxy(this,"_touchStart"),touchmove:e.proxy(this,"_touchMove"),touchend:e.proxy(this,"_touchEnd")}),a.call(this)}}}(jQuery),function(e,f){(function(e){if(typeof module!=="undefined"&&module.exports){return function(e){module.exports=e()}}else if(typeof define==="function"&&define.amd){return define}else if(typeof window!=="undefined"){return function(e){window.MobileDetect=e()}}else{throw new Error("unknown environment")}})()(function(){"use strict";var s,c={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"Samsung|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI)\\b",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K017 |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris E10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bJolla\\b|\\bTP750\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",Tizen:"Tizen",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:"Firefox/[VER]",Fennec:"Fennec/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},l=Object.prototype.hasOwnProperty;function t(e,t){return null!=e&&null!=t&&e.toLowerCase()===t.toLowerCase()}function n(e,t){var n,r,i=e.length;if(!i||!t)return!1;for(n=t.toLowerCase(),r=0;r<i;++r)if(n===e[r].toLowerCase())return!0;return!1}function u(e){for(var t in e)l.call(e,t)&&(e[t]=new RegExp(e[t],"i"))}function o(e,t){this.ua=e||"",this._cache={},this.maxPhoneWidth=t||600}return c.FALLBACK_PHONE="UnknownPhone",c.FALLBACK_TABLET="UnknownTablet",c.FALLBACK_MOBILE="UnknownMobile",s="isArray"in Array?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},function(){var e,t,n,r,i,a,o=c.mobileDetectRules;for(e in o.props)if(l.call(o.props,e)){for(t=o.props[e],s(t)||(t=[t]),i=t.length,r=0;r<i;++r)0<=(a=(n=t[r]).indexOf("[VER]"))&&(n=n.substring(0,a)+"([\\w._\\+]+)"+n.substring(a+5)),t[r]=new RegExp(n,"i");o.props[e]=t}u(o.oss),u(o.phones),u(o.tablets),u(o.uas),u(o.utils),o.oss0={WindowsPhoneOS:o.oss.WindowsPhoneOS,WindowsMobileOS:o.oss.WindowsMobileOS}}(),c.findMatch=function(e,t){for(var n in e)if(l.call(e,n)&&e[n].test(t))return n;return null},c.findMatches=function(e,t){var n=[];for(var r in e)l.call(e,r)&&e[r].test(t)&&n.push(r);return n},c.getVersionStr=function(e,t){var n,r,i,a,o=c.mobileDetectRules.props;if(l.call(o,e))for(i=(n=o[e]).length,r=0;r<i;++r)if(null!==(a=n[r].exec(t)))return a[1];return null},c.getVersion=function(e,t){var n=c.getVersionStr(e,t);return n?c.prepareVersionNo(n):NaN},c.prepareVersionNo=function(e){var t;return 1===(t=e.split(/[a-z._ \/\-]/i)).length&&(e=t[0]),1<t.length&&(e=t[0]+".",t.shift(),e+=t.join("")),Number(e)},c.isMobileFallback=function(e){return c.detectMobileBrowsers.fullPattern.test(e)||c.detectMobileBrowsers.shortPattern.test(e.substr(0,4))},c.isTabletFallback=function(e){return c.detectMobileBrowsers.tabletPattern.test(e)},c.prepareDetectionCache=function(e,t,n){if(e.mobile===f){var r,i,a;if(i=c.findMatch(c.mobileDetectRules.tablets,t))return e.mobile=e.tablet=i,void(e.phone=null);if(r=c.findMatch(c.mobileDetectRules.phones,t))return e.mobile=e.phone=r,void(e.tablet=null);c.isMobileFallback(t)?(a=o.isPhoneSized(n))===f?(e.mobile=c.FALLBACK_MOBILE,e.tablet=e.phone=null):a?(e.mobile=e.phone=c.FALLBACK_PHONE,e.tablet=null):(e.mobile=e.tablet=c.FALLBACK_TABLET,e.phone=null):c.isTabletFallback(t)?(e.mobile=e.tablet=c.FALLBACK_TABLET,e.phone=null):e.mobile=e.tablet=e.phone=null}},c.mobileGrade=function(e){var t=null!==e.mobile();return e.os("iOS")&&4.3<=e.version("iPad")||e.os("iOS")&&3.1<=e.version("iPhone")||e.os("iOS")&&3.1<=e.version("iPod")||2.1<e.version("Android")&&e.is("Webkit")||7<=e.version("Windows Phone OS")||e.is("BlackBerry")&&6<=e.version("BlackBerry")||e.match("Playbook.*Tablet")||1.4<=e.version("webOS")&&e.match("Palm|Pre|Pixi")||e.match("hp.*TouchPad")||e.is("Firefox")&&12<=e.version("Firefox")||e.is("Chrome")&&e.is("AndroidOS")&&4<=e.version("Android")||e.is("Skyfire")&&4.1<=e.version("Skyfire")&&e.is("AndroidOS")&&2.3<=e.version("Android")||e.is("Opera")&&11<e.version("Opera Mobi")&&e.is("AndroidOS")||e.is("MeeGoOS")||e.is("Tizen")||e.is("Dolfin")&&2<=e.version("Bada")||(e.is("UC Browser")||e.is("Dolfin"))&&2.3<=e.version("Android")||e.match("Kindle Fire")||e.is("Kindle")&&3<=e.version("Kindle")||e.is("AndroidOS")&&e.is("NookTablet")||11<=e.version("Chrome")&&!t||5<=e.version("Safari")&&!t||4<=e.version("Firefox")&&!t||7<=e.version("MSIE")&&!t||10<=e.version("Opera")&&!t?"A":e.os("iOS")&&e.version("iPad")<4.3||e.os("iOS")&&e.version("iPhone")<3.1||e.os("iOS")&&e.version("iPod")<3.1||e.is("Blackberry")&&5<=e.version("BlackBerry")&&e.version("BlackBerry")<6||5<=e.version("Opera Mini")&&e.version("Opera Mini")<=6.5&&(2.3<=e.version("Android")||e.is("iOS"))||e.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||11<=e.version("Opera Mobi")&&e.is("SymbianOS")?"B":(e.version("BlackBerry")<5||e.match("MSIEMobile|Windows CE.*Mobile")||e.version("Windows Mobile"),"C")},c.detectOS=function(e){return c.findMatch(c.mobileDetectRules.oss0,e)||c.findMatch(c.mobileDetectRules.oss,e)},c.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},o.prototype={constructor:o,mobile:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return c.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===f&&(this._cache.userAgent=c.findMatch(c.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===f&&(this._cache.userAgents=c.findMatches(c.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===f&&(this._cache.os=c.detectOS(this.ua)),this._cache.os},version:function(e){return c.getVersion(e,this.ua)},versionStr:function(e){return c.getVersionStr(e,this.ua)},is:function(e){return n(this.userAgents(),e)||t(e,this.os())||t(e,this.phone())||t(e,this.tablet())||n(c.findMatches(c.mobileDetectRules.utils,this.ua),e)},match:function(e){return e instanceof RegExp||(e=new RegExp(e,"i")),e.test(this.ua)},isPhoneSized:function(e){return o.isPhoneSized(e||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===f&&(this._cache.grade=c.mobileGrade(this)),this._cache.grade}},o.isPhoneSized="undefined"!=typeof window&&window.screen?function(e){return e<0?f:c.getDeviceSmallerSide()<=e}:function(){},o._impl=c,o})}(),function(o){var s,c,l,u,f,e=function(){function e(){defaults={locale:"en",format:"L LTS",minView:"year",maxView:"minute",startView:"year",leftArrow:"←",rightArrow:"→",monthsFormat:"MMM",daysFormat:"D",hoursFormat:"HH:[00]",minutesFormat:moment.localeData().longDateFormat("LT").replace(/[aA]/,""),secondsFormat:"ss",minutesStep:5,secondsStep:1}}return e.prototype.options=function(e){return o.extend(defaults,e),o.copy(defaults)},e.prototype.$get=function(){return defaults},e}(),a=function(){function e(e,t,n,r,i){this.restrict="A",this.scope={model:"=momentPicker",locale:"@?",format:"@?",minView:"@?",maxView:"@?",startView:"@?",minDate:"=?",maxDate:"=?",disabled:"=?disable",change:"&?"},s=e,c=t,l=n,u=r,f=i}return e.prototype.$inject=["$timeout","$sce","$compile","$document","momentPicker"],e.prototype.link=function(a,e,t){a.template='<div class="moment-picker-container {{view.selected}}-view" ng-show="view.isOpen && !disabled" ng-class="{\'moment-picker-disabled\': disabled}"><table class="header-view"><thead><tr><th ng-class="{disabled: !view.previous.selectable}" ng-bind-html="view.previous.label" ng-click="view.previous.set()"></th><th ng-bind="view.title" ng-click="view.setParentView()"></th><th ng-class="{disabled: !view.next.selectable}" ng-bind-html="view.next.label" ng-click="view.next.set()"></th></tr></thead></table><div class="moment-picker-specific-views"><table ng-if="view.selected == \'year\'"><tbody><tr ng-repeat="fourMonth in yearView.fourMonths"><td ng-repeat="month in fourMonth track by month.month" ng-class="month.class" ng-bind="month.label" ng-click="yearView.setMonth(month)"></td></tr></tbody></table><table ng-if="view.selected == \'month\'"><thead><tr><th ng-repeat="day in monthView.days" ng-bind="day"></th></tr></thead><tbody><tr ng-repeat="days in monthView.weeks"><td ng-repeat="day in days track by day.date" ng-class="day.class" ng-bind="day.label" ng-click="monthView.setDate(day)"></td></tr></tbody></table><table ng-if="view.selected == \'day\'"><tbody><tr ng-repeat="threeHours in dayView.threeHours"><td ng-repeat="hour in threeHours track by hour.hour" ng-class="hour.class" ng-bind="hour.label" ng-click="dayView.setHour(hour)"></td></tr></tbody></table><table ng-if="view.selected == \'hour\'"><tbody><tr ng-repeat="minutes in hourView.minutes"><td ng-repeat="minute in minutes" ng-class="minute.class" ng-bind="minute.label" ng-click="hourView.setMinute(minute)"></td></tr></tbody></table><table ng-if="view.selected == \'minute\'"><tbody><tr ng-repeat="seconds in minuteView.seconds"><td ng-repeat="second in seconds" ng-class="second.class" ng-bind="second.label" ng-click="minuteView.setSecond(second)"></td></tr></tbody></table></div></div>',o.forEach(["locale","format","minView","maxView","startView","leftArrow","rightArrow"],function(e){o.isDefined(a[e])||(a[e]=f[e]),o.isDefined(t[e])||(t[e]=a[e])}),a.momentToDate=function(e){return o.isDefined(e)&&e.isValid()?e.clone().toDate():void 0},a.valueUpdate=function(){a.disabled||(a.value=a.momentToDate(a.valueMoment))},a.limits={isAfterOrEqualMin:function(e,t){return!o.isDefined(a.minDateMoment)||e.isAfter(a.minDateMoment,t)||e.isSame(a.minDateMoment,t)},isBeforeOrEqualMax:function(e,t){return!o.isDefined(a.maxDateMoment)||e.isBefore(a.maxDateMoment,t)||e.isSame(a.maxDateMoment,t)},isSelectable:function(e,t){return a.limits.isAfterOrEqualMin(e,t)&&a.limits.isBeforeOrEqualMax(e,t)},checkValue:function(){o.isDefined(a.valueMoment)&&(a.limits.isAfterOrEqualMin(a.valueMoment)||a.valueUpdate(a.valueMoment=a.minDateMoment.clone()),a.limits.isBeforeOrEqualMax(a.valueMoment)||a.valueUpdate(a.valueMoment=a.maxDateMoment.clone()))},checkView:function(){o.isDefined(a.view.moment)||(a.view.moment=moment().locale(a.locale)),a.limits.isAfterOrEqualMin(a.view.moment)||(a.view.moment=a.minDateMoment.clone()),a.limits.isBeforeOrEqualMax(a.view.moment)||(a.view.moment=a.maxDateMoment.clone()),a.view.update()}},a.views={all:["year","month","day","hour","minute"],formats:{year:"M{1,4}(?![Mo])|Mo|Q|[Ll]{1,4}(?!T)",month:"[Dd]{1,4}(?![Ddo])|DDDo|[Dd]o|[Ww]{1,2}(?![Wwo])|[Ww]o|[Ee]|L{1,4}(?!T)|l{1,4}",day:"[Hh]{1,2}|LTS?",hour:"m{1,2}|[Ll]{3,4}|LT(?!S)",minute:"s{1,2}|S{1,}|X|LTS"},detectMinMax:function(){var r,i;o.forEach(a.views.formats,function(e,t){var n=new RegExp("("+e+")(?![^[]*])","g");a.format.match(n)&&(o.isDefined(r)||(r=t),i=t)}),r=o.isDefined(r)?Math.max(0,a.views.all.indexOf(r)):0,i=o.isDefined(i)?Math.min(a.views.all.length-1,a.views.all.indexOf(i)):a.views.all.length-1,r>a.views.all.indexOf(a.minView)&&(a.minView=a.views.all[r]),i<a.views.all.indexOf(a.maxView)&&(a.maxView=a.views.all[i])}},a.view={isOpen:!1,selected:a.startView,update:function(){a.view.value=a.momentToDate(a.view.moment)},toggle:function(){a.view.isOpen?a.view.close():a.view.open()},open:function(){o.forEach(u[0].querySelectorAll(".moment-picker-container.open"),function(e){((o.element(e).scope().view||{}).close||o.noop)()}),a.view.isOpen=!0},close:function(){a.view.isOpen=!1,a.view.selected=a.startView},title:"",previous:{selectable:!0,label:c.trustAsHtml(a.leftArrow),selectable:!0,set:function(){a.view.previous.selectable&&a.view.update(a.view.moment.subtract(1,a.view.selected).toDate())}},next:{selectable:!0,label:c.trustAsHtml(a.rightArrow),set:function(){a.view.next.selectable&&a.view.update(a.view.moment.add(1,a.view.selected).toDate())}},setParentView:function(){a.view.change(a.views.all[Math.max(0,a.views.all.indexOf(a.view.selected)-1)])},render:function(){var e=a.view.moment.clone().startOf(a.view.selected).subtract(1,a.view.selected),t=a.view.moment.clone().endOf(a.view.selected).add(1,a.view.selected);a.view.previous.selectable=a.limits.isAfterOrEqualMin(e,a.view.selected),a.view.previous.label=c.trustAsHtml(a.view.previous.selectable?a.leftArrow:" "),a.view.next.selectable=a.limits.isBeforeOrEqualMax(t,a.view.selected),a.view.next.label=c.trustAsHtml(a.view.next.selectable?a.rightArrow:" "),a.view.title=a[a.view.selected+"View"].render()},change:function(e){var t=a.views.all.indexOf(e),n=a.views.all.indexOf(a.minView),r=a.views.all.indexOf(a.maxView);t<0||r<t?(a.valueUpdate(a.valueMoment=a.view.moment.clone()),a.view.close()):n<=t&&(a.view.selected=e)}},a.yearView={fourMonths:{},render:function(){var i=a.view.moment.clone().startOf("year"),e=moment.monthsShort();return a.yearView.fourMonths=[],e.forEach(function(e,t){var n=Math.floor(t/4),r=a.limits.isSelectable(i,"month");a.yearView.fourMonths[n]||(a.yearView.fourMonths[n]=[]),a.yearView.fourMonths[n].push({label:i.format(f.monthsFormat),year:i.year(),month:i.month(),class:r?i.isSame(a.valueMoment,"month")?"selected":"":"disabled",selectable:r}),i.add(1,"months")}),a.view.moment.format("YYYY")},setMonth:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month)),a.view.change("month"))}},a.monthView={days:function(){for(var e=[],t=moment().locale(a.locale).startOf("week"),n=0;n<7;n++)e.push(t.format("dd")),t.add(1,"days");return e}(),weeks:[],render:function(){var n=a.view.moment.month(),r=a.view.moment.clone().startOf("month").startOf("week"),e=(a.view.moment.clone().endOf("month").endOf("week"),r.week()),t=e+5;weeks={},a.monthView.weeks=[];for(var i=e;i<=t;i++)weeks[i]="0000000".split("").map(function(){var e=a.limits.isSelectable(r,"day"),t={label:r.format(f.daysFormat),year:r.year(),date:r.date(),month:r.month(),class:e&&r.month()==n?r.isSame(a.valueMoment,"day")?"selected":"":"disabled",selectable:e};return r.add(1,"days"),t});return o.forEach(weeks,function(e){a.monthView.weeks.push(e)}),a.view.moment.format("MMMM YYYY")},setDate:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date)),a.view.change("day"))}},a.dayView={threeHours:[],render:function(){var e=a.view.moment.clone().startOf("day");moment.localeData().longDateFormat("LT").replace(/[aA]/,""),a.dayView.threeHours=[];for(var t=0;t<24;t++){var n=Math.floor(t/4),r=a.limits.isSelectable(e,"hour");a.dayView.threeHours[n]||(a.dayView.threeHours[n]=[]),a.dayView.threeHours[n].push({label:e.format(f.hoursFormat),year:e.year(),month:e.month(),date:e.date(),hour:e.hour(),class:r?e.isSame(a.valueMoment,"hour")?"selected":"":"disabled",selectable:r}),e.add(1,"hours")}return a.view.moment.format("LL")},setHour:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date).hour(e.hour)),a.view.change("hour"))}},a.hourView={minutes:[],render:function(){var e=0,t=a.view.moment.clone().startOf("hour");a.hourView.minutes=[];for(var n=0;n<60;n+=f.minutesStep){var r=Math.floor(e/4),i=a.limits.isSelectable(t,"minute");a.hourView.minutes[r]||(a.hourView.minutes[r]=[]),a.hourView.minutes[r].push({label:t.format(f.minutesFormat),year:t.year(),month:t.month(),date:t.date(),hour:t.hour(),minute:t.minute(),class:i?t.isSame(a.valueMoment,"minute")?"selected":"":"disabled",selectable:i}),e++,t.add(f.minutesStep,"minutes")}return a.view.moment.clone().startOf("hour").format("lll")},setMinute:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date).hour(e.hour).minute(e.minute)),a.view.change("minute"))}},a.minuteView={seconds:[],render:function(){var e=0,t=a.view.moment.clone().startOf("minute");a.minuteView.seconds=[];for(var n=0;n<60;n+=f.secondsStep){var r=Math.floor(e/6),i=a.limits.isSelectable(t,"second");a.minuteView.seconds[r]||(a.minuteView.seconds[r]=[]),a.minuteView.seconds[r].push({label:t.format(f.secondsFormat),year:t.year(),month:t.month(),date:t.date(),hour:t.hour(),minute:t.minute(),second:t.second(),class:i?t.isSame(a.valueMoment,"second")?"selected":"":"disabled",selectable:i}),e++,t.add(f.secondsStep,"seconds")}return a.view.moment.clone().startOf("minute").format("lll")},setSecond:function(e){e.selectable&&(a.view.update(a.view.moment.year(e.year).month(e.month).date(e.date).hour(e.hour).minute(e.minute).second(e.second)),a.view.change("second"))}},a.picker=o.element('<span class="moment-picker"></span>'),e.after(a.picker),a.contents=e.addClass("moment-picker-contents").removeAttr("moment-picker"),a.container=l(a.template)(a),a.picker.append(a.contents),a.picker.append(a.container),a.views.detectMinMax(),a.limits.checkView(),a.$watch("model",function(e,t){o.isDefined(e)&&(a.valueMoment=moment(e,a.format,a.locale),a.valueMoment.isValid()?(a.view.moment=a.valueMoment.clone(),a.view.update()):a.valueMoment=void 0),a.valueUpdate(a.valueMoment),a.limits.checkValue()}),a.$watch("value",function(e,t){if(o.isDefined(a.valueMoment)){var n=a.model,r=a.valueMoment.format(a.format);r!=n&&s(function(){a.view.update(a.view.moment=a.valueMoment.clone()),a.model=r,o.isFunction(a.change)&&a.change({newValue:r,oldValue:n})})}}),a.$watch("[view.selected, view.value]",a.view.render,!0),a.$watch("[minView, maxView]",function(){a.views.detectMinMax(),a.startView=a.views.all[Math.max(Math.min(a.views.all.indexOf(a.startView),a.views.all.indexOf(a.maxView)),a.views.all.indexOf(a.minView))],a.view.selected=a.startView}),a.$watch("[minDate, maxDate]",function(){o.forEach(["minDate","maxDate"],function(e){o.isDefined(a[e])&&(a[e+"Moment"]=moment(a[e],a.format,a.locale),a[e+"Moment"].isValid()||(a[e+"Moment"]=void 0))}),a.limits.checkValue(),a.limits.checkView(),a.view.render()},!0),u.on("click",function(){a.view.isOpen&&s(a.view.close)}),a.container.on("click",function(e){e.stopPropagation()}),a.contents.on("click",function(e){e.stopPropagation(),a.view.isOpen||s(a.view.open)}),o.element(a.contents[0].querySelector("input")).on("focus",function(){a.view.isOpen||s(a.view.open)})},e}();o.module("moment-picker",[]).provider("momentPicker",[function(){return new e}]).directive("momentPicker",["$timeout","$sce","$compile","$document","momentPicker",function(e,t,n,r,i){return new a(e,t,n,r,i)}])}(window.angular),function(t,n){"function"==typeof define&&define.amd?define(["moment"],function(e){return t.DateRange=n(e)}):"object"==typeof exports?module.exports=n(require("moment")):t.DateRange=n(moment)}(this,function(o){var n={year:!0,month:!0,week:!0,day:!0,hour:!0,minute:!0,second:!0};function i(e,t){var n,r=e,i=t;1!==arguments.length&&void 0!==t||("object"==typeof e&&2===e.length?(r=e[0],i=e[1]):"string"==typeof e&&(r=(n=e.split("/"))[0],i=n[1])),this.start=o(null===r?-864e13:r),this.end=o(null===i?864e13:i)}return(i.prototype.constructor=i).prototype.clone=function(){return o().range(this.start,this.end)},i.prototype.contains=function(e,t){var n=this.start,r=this.end;return e instanceof i?n<=e.start&&(r>e.end||r.isSame(e.end)&&!t):n<=e&&(e<r||r.isSame(e)&&!t)},i.prototype.overlaps=function(e){return null!==this.intersect(e)},i.prototype.intersect=function(e){var t=this.start,n=this.end;return t<=e.start&&e.start<n&&n<e.end?new i(e.start,n):e.start<t&&t<e.end&&e.end<=n?new i(t,e.end):e.start<t&&t<=n&&n<e.end?this:t<=e.start&&e.start<=e.end&&e.end<=n?e:null},i.prototype.add=function(e){return this.overlaps(e)?new i(o.min(this.start,e.start),o.max(this.end,e.end)):null},i.prototype.subtract=function(e){var t=this.start,n=this.end;return null===this.intersect(e)?[this]:e.start<=t&&t<n&&n<=e.end?[]:e.start<=t&&t<e.end&&e.end<n?[new i(e.end,n)]:t<e.start&&e.start<n&&n<=e.end?[new i(t,e.start)]:t<e.start&&e.start<e.end&&e.end<n?[new i(t,e.start),new i(e.end,n)]:t<e.start&&e.start<n&&e.end<n?[new i(t,e.start),new i(e.start,n)]:void 0},i.prototype.toArray=function(e,t){var n=[];return this.by(e,function(e){n.push(e)},t),n},i.prototype.by=function(e,t,n){return"string"==typeof e?function(e,t,n){var r=o(this.start);for(;this.contains(r,n);)t.call(this,r.clone()),r.add(1,e)}.call(this,e,t,n):function(e,t,n){var r=this/e,i=Math.floor(r);if(i===1/0)return;i===r&&n&&i--;for(var a=0;a<=i;a++)t.call(this,o(this.start.valueOf()+e.valueOf()*a))}.call(this,e,t,n),this},i.prototype.toString=function(){return this.start.format()+"/"+this.end.format()},i.prototype.valueOf=function(){return this.end-this.start},i.prototype.center=function(){var e=this.start+this.diff()/2;return o(e)},i.prototype.toDate=function(){return[this.start.toDate(),this.end.toDate()]},i.prototype.isSame=function(e){return this.start.isSame(e.start)&&this.end.isSame(e.end)},i.prototype.diff=function(e){return this.end.diff(this.start,e)},o.range=function(e,t){return e in n?new i(o(this).startOf(e),o(this).endOf(e)):new i(e,t)},o.range.constructor=i,o.fn.range=o.range,o.fn.within=function(e){return e.contains(this._d)},i}),function(e){"use strict";"function"==typeof define&&define.amd?define(e):"undefined"!=typeof module&&void 0!==module.exports?module.exports=e():"undefined"!=typeof Package?Sortable=e():window.Sortable=e()}(function(){"use strict";var T,x,k,E,D,I,h,p,P,M,$,l,r,O,c,a,R,e,m={},i=/\s+/g,N="Sortable"+(new Date).getTime(),g=window,u=g.document,o=g.parseInt,s=!!("draggable"in u.createElement("div")),f=((e=u.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),L=!1,_=Math.abs,d=[],F=t(function(e,t,n){if(n&&t.scroll){var r,i,a,o,s=t.scrollSensitivity,c=t.scrollSpeed,l=e.clientX,u=e.clientY,f=window.innerWidth,d=window.innerHeight;if(p!==n&&(h=t.scroll,p=n,!0===h)){h=n;do{if(h.offsetWidth<h.scrollWidth||h.offsetHeight<h.scrollHeight)break}while(h=h.parentNode)}h&&(i=(r=h).getBoundingClientRect(),a=(_(i.right-l)<=s)-(_(i.left-l)<=s),o=(_(i.bottom-u)<=s)-(_(i.top-u)<=s)),a||o||(o=(d-u<=s)-(u<=s),((a=(f-l<=s)-(l<=s))||o)&&(r=g)),m.vx===a&&m.vy===o&&m.el===r||(m.el=r,m.vx=a,m.vy=o,clearInterval(m.pid),r&&(m.pid=setInterval(function(){r===g?g.scrollTo(g.pageXOffset+a*c,g.pageYOffset+o*c):(o&&(r.scrollTop+=o*c),a&&(r.scrollLeft+=a*c))},24)))}},30),b=function(e){var t=e.group;t&&"object"==typeof t||(t=e.group={name:t}),["pull","put"].forEach(function(e){e in t||(t[e]=!0)}),e.groups=" "+t.name+(t.put.join?" "+t.put.join(" "):"")+" "};function v(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=V({},t),e[N]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",ignore:"a, img",filter:null,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1};for(var r in n)!(r in t)&&(t[r]=n[r]);for(var i in b(t),this)"_"===i.charAt(0)&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&s,y(e,"mousedown",this._onTapStart),y(e,"touchstart",this._onTapStart),this.nativeDraggable&&(y(e,"dragover",this),y(e,"dragenter",this)),d.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function G(e){E&&E.state!==e&&(B(E,"display",e?"none":""),!e&&E.state&&D.insertBefore(E,T),E.state=e)}function j(e,t,n){if(e){n=n||u;var r=(t=t.split(".")).shift().toUpperCase(),i=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");do{if(">*"===r&&e.parentNode===n||(""===r||e.nodeName.toUpperCase()==r)&&(!t.length||((" "+e.className+" ").match(i)||[]).length==t.length))return e}while(e!==n&&(e=e.parentNode))}return null}function y(e,t,n){e.addEventListener(t,n,!1)}function w(e,t,n){e.removeEventListener(t,n,!1)}function C(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(i," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(i," ")}}function B(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return u.defaultView&&u.defaultView.getComputedStyle?n=u.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function A(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i<a;i++)n(r[i],i);return r}return[]}function S(e,t,n,r,i,a,o){var s=u.createEvent("Event"),c=(e||t[N]).options,l="on"+n.charAt(0).toUpperCase()+n.substr(1);s.initEvent(n,!0,!0),s.to=t,s.from=i||t,s.item=r||t,s.clone=E,s.oldIndex=a,s.newIndex=o,t.dispatchEvent(s),c[l]&&c[l].call(e,s)}function U(e,t,n,r,i,a){var o,s,c=e[N],l=c.options.onMove;return(o=u.createEvent("Event")).initEvent("move",!0,!0),o.to=t,o.from=e,o.dragged=n,o.draggedRect=r,o.related=i||t,o.relatedRect=a||t.getBoundingClientRect(),e.dispatchEvent(o),l&&(s=l.call(c,o)),s}function H(e){e.draggable=!1}function W(){L=!1}function q(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function z(e){var t=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"!==e.nodeName.toUpperCase()&&t++;return t}function t(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function V(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}return v.prototype={constructor:v,_onTapStart:function(e){var t=this,n=this.el,r=this.options,i=e.type,a=e.touches&&e.touches[0],o=(a||e).target,s=o,c=r.filter;if(!("mousedown"===i&&0!==e.button||r.disabled)&&(o=j(o,r.draggable,n))){if(l=z(o),"function"==typeof c){if(c.call(this,e,o,this))return S(t,s,"filter",o,n,l),void e.preventDefault()}else if(c&&(c=c.split(",").some(function(e){if(e=j(s,e.trim(),n))return S(t,e,"filter",o,n,l),!0})))return void e.preventDefault();r.handle&&!j(s,r.handle,n)||this._prepareDragStart(e,a,o)}},_prepareDragStart:function(e,t,n){var r,i=this,a=i.el,o=i.options,s=a.ownerDocument;n&&!T&&n.parentNode===a&&(c=e,D=a,x=(T=n).parentNode,I=T.nextSibling,O=o.group,r=function(){i._disableDelayedDrag(),T.draggable=!0,C(T,i.options.chosenClass,!0),i._triggerDragStart(t)},o.ignore.split(",").forEach(function(e){A(T,e.trim(),H)}),y(s,"mouseup",i._onDrop),y(s,"touchend",i._onDrop),y(s,"touchcancel",i._onDrop),o.delay?(y(s,"mouseup",i._disableDelayedDrag),y(s,"touchend",i._disableDelayedDrag),y(s,"touchcancel",i._disableDelayedDrag),y(s,"mousemove",i._disableDelayedDrag),y(s,"touchmove",i._disableDelayedDrag),i._dragStartTimer=setTimeout(r,o.delay)):r())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),w(e,"mouseup",this._disableDelayedDrag),w(e,"touchend",this._disableDelayedDrag),w(e,"touchcancel",this._disableDelayedDrag),w(e,"mousemove",this._disableDelayedDrag),w(e,"touchmove",this._disableDelayedDrag)},_triggerDragStart:function(e){e?(c={target:T,clientX:e.clientX,clientY:e.clientY},this._onDragStart(c,"touch")):this.nativeDraggable?(y(T,"dragend",this),y(D,"dragstart",this._onDragStart)):this._onDragStart(c,!0);try{u.selection?u.selection.empty():window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){D&&T&&(C(T,this.options.ghostClass,!0),S(v.active=this,D,"start",T,D,l))},_emulateDragOver:function(){if(a){if(this._lastX===a.clientX&&this._lastY===a.clientY)return;this._lastX=a.clientX,this._lastY=a.clientY,f||B(k,"display","none");var e=u.elementFromPoint(a.clientX,a.clientY),t=e,n=" "+this.options.group.name,r=d.length;if(t)do{if(t[N]&&-1<t[N].options.groups.indexOf(n)){for(;r--;)d[r]({clientX:a.clientX,clientY:a.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);f||B(k,"display","")}},_onTouchMove:function(e){if(c){v.active||this._dragStarted(),this._appendGhost();var t=e.touches?e.touches[0]:e,n=t.clientX-c.clientX,r=t.clientY-c.clientY,i=e.touches?"translate3d("+n+"px,"+r+"px,0)":"translate("+n+"px,"+r+"px)";R=!0,a=t,B(k,"webkitTransform",i),B(k,"mozTransform",i),B(k,"msTransform",i),B(k,"transform",i),e.preventDefault()}},_appendGhost:function(){if(!k){var e,t=T.getBoundingClientRect(),n=B(T),r=this.options;C(k=T.cloneNode(!0),r.ghostClass,!1),C(k,r.fallbackClass,!0),B(k,"top",t.top-o(n.marginTop,10)),B(k,"left",t.left-o(n.marginLeft,10)),B(k,"width",t.width),B(k,"height",t.height),B(k,"opacity","0.8"),B(k,"position","fixed"),B(k,"zIndex","100000"),B(k,"pointerEvents","none"),r.fallbackOnBody&&u.body.appendChild(k)||D.appendChild(k),e=k.getBoundingClientRect(),B(k,"width",2*t.width-e.width),B(k,"height",2*t.height-e.height)}},_onDragStart:function(e,t){var n=e.dataTransfer,r=this.options;this._offUpEvents(),"clone"==O.pull&&(B(E=T.cloneNode(!0),"display","none"),D.insertBefore(E,T)),t?("touch"===t?(y(u,"touchmove",this._onTouchMove),y(u,"touchend",this._onDrop),y(u,"touchcancel",this._onDrop)):(y(u,"mousemove",this._onTouchMove),y(u,"mouseup",this._onDrop)),this._loopId=setInterval(this._emulateDragOver,50)):(n&&(n.effectAllowed="move",r.setData&&r.setData.call(this,n,T)),y(u,"drop",this),setTimeout(this._dragStarted,0))},_onDragOver:function(e){var t,n,r,i,a,o,s=this.el,c=this.options,l=c.group,u=l.put,f=O===l,d=c.sort;if(void 0!==e.preventDefault&&(e.preventDefault(),!c.dragoverBubble&&e.stopPropagation()),R=!0,O&&!c.disabled&&(f?d||(r=!D.contains(T)):O.pull&&u&&(O.name===l.name||u.indexOf&&~u.indexOf(O.name)))&&(void 0===e.rootEl||e.rootEl===this.el)){if(F(e,c,this.el),L)return;if(t=j(e.target,c.draggable,s),n=T.getBoundingClientRect(),r)return G(!0),void(E||I?D.insertBefore(T,E||I):d||D.appendChild(T));if(0===s.children.length||s.children[0]===k||s===e.target&&(i=e,a=s.lastElementChild,o=a.getBoundingClientRect(),t=(5<i.clientY-(o.top+o.height)||5<i.clientX-(o.right+o.width))&&a)){if(t){if(t.animated)return;p=t.getBoundingClientRect()}G(f),!1!==U(D,s,T,n,t,p)&&(T.contains(s)||(s.appendChild(T),x=s),this._animate(n,T),t&&this._animate(p,t))}else if(t&&!t.animated&&t!==T&&void 0!==t.parentNode[N]){P!==t&&(M=B(P=t),$=B(t.parentNode));var h,p=t.getBoundingClientRect(),m=p.right-p.left,g=p.bottom-p.top,_=/left|right|inline/.test(M.cssFloat+M.display)||"flex"==$.display&&0===$["flex-direction"].indexOf("row"),b=t.offsetWidth>T.offsetWidth,v=t.offsetHeight>T.offsetHeight,y=.5<(_?(e.clientX-p.left)/m:(e.clientY-p.top)/g),w=t.nextElementSibling,C=U(D,s,T,n,t,p);if(!1!==C){if(L=!0,setTimeout(W,30),G(f),1===C||-1===C)h=1===C;else if(_){var A=T.offsetTop,S=t.offsetTop;h=A===S?t.previousElementSibling===T&&!b||y&&b:A<S}else h=w!==T&&!v||y&&v;T.contains(s)||(h&&!w?s.appendChild(T):t.parentNode.insertBefore(T,h?w:t)),x=T.parentNode,this._animate(n,T),this._animate(p,t)}}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();B(t,"transition","none"),B(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,B(t,"transition","all "+n+"ms"),B(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){B(t,"transition",""),B(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;w(u,"touchmove",this._onTouchMove),w(e,"mouseup",this._onDrop),w(e,"touchend",this._onDrop),w(e,"touchcancel",this._onDrop)},_onDrop:function(e){var t=this.el,n=this.options;clearInterval(this._loopId),clearInterval(m.pid),clearTimeout(this._dragStartTimer),w(u,"mousemove",this._onTouchMove),this.nativeDraggable&&(w(u,"drop",this),w(t,"dragstart",this._onDragStart)),this._offUpEvents(),e&&(R&&(e.preventDefault(),!n.dropBubble&&e.stopPropagation()),k&&k.parentNode.removeChild(k),T&&(this.nativeDraggable&&w(T,"dragend",this),H(T),C(T,this.options.ghostClass,!1),C(T,this.options.chosenClass,!1),D!==x?0<=(r=z(T))&&(S(null,x,"sort",T,D,l,r),S(this,D,"sort",T,D,l,r),S(null,x,"add",T,D,l,r),S(this,D,"remove",T,D,l,r)):(E&&E.parentNode.removeChild(E),T.nextSibling!==I&&0<=(r=z(T))&&(S(this,D,"update",T,D,l,r),S(this,D,"sort",T,D,l,r))),v.active&&(null!==r&&-1!==r||(r=l),S(this,D,"end",T,D,l,r),this.save())),D=T=x=k=I=E=h=p=c=a=R=r=P=M=O=v.active=null)},handleEvent:function(e){var t=e.type;"dragover"===t||"dragenter"===t?T&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move");e.preventDefault()}(e)):"drop"!==t&&"dragend"!==t||this._onDrop(e)},toArray:function(){for(var e,t=[],n=this.el.children,r=0,i=n.length,a=this.options;r<i;r++)j(e=n[r],a.draggable,this.el)&&t.push(e.getAttribute(a.dataIdAttr)||q(e));return t},sort:function(e){var r={},i=this.el;this.toArray().forEach(function(e,t){var n=i.children[t];j(n,this.options.draggable,i)&&(r[e]=n)},this),e.forEach(function(e){r[e]&&(i.removeChild(r[e]),i.appendChild(r[e]))})},save:function(){var e=this.options.store;e&&e.set(this)},closest:function(e,t){return j(e,t||this.options.draggable,this.el)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];n[e]=t,"group"===e&&b(n)},destroy:function(){var e=this.el;e[N]=null,w(e,"mousedown",this._onTapStart),w(e,"touchstart",this._onTapStart),this.nativeDraggable&&(w(e,"dragover",this),w(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),d.splice(d.indexOf(this._onDragOver),1),this._onDrop(),this.el=e=null}},v.utils={on:y,off:w,css:B,find:A,is:function(e,t){return!!j(e,t,e)},extend:V,throttle:t,closest:j,toggleClass:C,index:z},v.create=function(e,t){return new v(e,t)},v.version="1.4.2",v}),function(e){"use strict";"function"==typeof define&&define.amd?define(["angular","./Sortable"],e):"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?(require("angular"),e(angular,require("./Sortable")),module.exports="ng-sortable"):window.angular&&window.Sortable&&e(angular,Sortable)}(function(h,p){"use strict";var m="Sortable:ng-sortable";h.module("ng-sortable",[]).constant("ngSortableVersion","0.4.0").constant("ngSortableConfig",{}).directive("ngSortable",["$parse","ngSortableConfig",function(l,u){var f,d;return{restrict:"AC",scope:{ngSortable:"=?"},link:function(a,e){var n,o=e[0],i=h.extend(a.ngSortable||{},u),r=[],s=function(e,t){var n=[].filter.call(e.childNodes,function(e){return 8===e.nodeType&&-1!==e.nodeValue.indexOf("ngRepeat:")})[0];if(!n)return function(){return null};n=n.nodeValue.match(/ngRepeat:\s*(?:\(.*?,\s*)?([^\s)]+)[\s)]+in\s+([^\s|]+)/);var r=l(n[2]);return function(){return r(t.$parent)||[]}}(o,a);function t(e,t){var n="on"+e.type.charAt(0).toUpperCase()+e.type.substr(1),r=s();i[n]&&i[n]({model:t||r[e.newIndex],models:r,oldIndex:e.oldIndex,newIndex:e.newIndex})}function c(e){var t=s();if(t){var n=e.oldIndex,r=e.newIndex;if(o!==e.from){var i=e.from[m]();f=i[n],e.clone?(f=h.copy(f),i.splice(p.utils.index(e.clone),0,i.splice(n,1)[0]),e.from.removeChild(e.clone)):i.splice(n,1),t.splice(r,0,f),e.from.insertBefore(e.item,d)}else t.splice(r,0,t.splice(n,1)[0]);a.$apply()}}o[m]=s,n=p.create(o,Object.keys(i).reduce(function(e,t){return e[t]=e[t]||i[t],e},{onStart:function(e){d=e.item.nextSibling,t(e),a.$apply()},onEnd:function(e){t(e,f),a.$apply()},onAdd:function(e){c(e),t(e,f),a.$apply()},onUpdate:function(e){c(e),t(e)},onRemove:function(e){t(e,f)},onSort:function(e){t(e)}})),e.on("$destroy",function(){h.forEach(r,function(e){e()}),n.destroy(),o[m]=null,d=n=r=o=null}),h.forEach(["sort","disabled","draggable","handle","animation","group","ghostClass","filter","onStart","onEnd","onAdd","onUpdate","onRemove","onSort"],function(t){r.push(a.$watch("ngSortable."+t,function(e){void 0!==e&&(i[t]=e,/^on[A-Z]/.test(t)||n.option(t,e))}))})}}}])}),function(l){angular.module("ngCsv.config",[]).value("ngCsv.config",{debug:!0}).config(["$compileProvider",function(e){angular.isDefined(e.urlSanitizationWhitelist)?e.urlSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|data):/):e.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|data):/)}]),angular.module("ngCsv.directives",["ngCsv.services"]),angular.module("ngCsv.services",[]),angular.module("ngCsv",["ngCsv.config","ngCsv.services","ngCsv.directives","ngSanitize"]),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ngCsv"),angular.module("ngCsv.services").service("CSV",["$q",function(n){var t={"\\t":"\t","\\b":"\b","\\v":"\v","\\f":"\f","\\r":"\r"};this.stringifyField=function(e,t){return"locale"===t.decimalSep&&this.isFloat(e)?e.toLocaleString():"."!==t.decimalSep&&this.isFloat(e)?e.toString().replace(".",t.decimalSep):"string"==typeof e?(e=e.replace(/"/g,'""'),(t.quoteStrings||-1<e.indexOf(",")||-1<e.indexOf("\n")||-1<e.indexOf("\r"))&&(e=t.txtDelim+e+t.txtDelim),e):"boolean"==typeof e?e?"TRUE":"FALSE":e},this.isFloat=function(e){return+e===e&&(!isFinite(e)||Boolean(e%1))},this.stringify=function(e,s){var a=n.defer(),c=this,l="",u="",t=n.when(e).then(function(e){var t,n;angular.isDefined(s.header)&&s.header&&(t=[],angular.forEach(s.header,function(e){this.push(c.stringifyField(e,s))},t),n=t.join(s.fieldSep?s.fieldSep:","),u+=n+"\r\n");var r,i,o=[];(angular.isArray(e)?o=e:angular.isFunction(e)&&(o=e()),angular.isDefined(s.label)&&s.label&&"boolean"==typeof s.label)&&(r=[],angular.forEach(o[0],function(e,t){this.push(c.stringifyField(t,s))},r),i=r.join(s.fieldSep?s.fieldSep:","),u+=i+"\r\n");angular.forEach(o,function(e,t){var n,r,i=angular.copy(o[t]);r=[];var a=s.columnOrder?s.columnOrder:i;angular.forEach(a,function(e){var t=s.columnOrder?i[e]:e;this.push(c.stringifyField(t,s))},r),n=r.join(s.fieldSep?s.fieldSep:","),u+=t<o.length?n+"\r\n":n}),s.addByteOrderMarker&&(l+="\ufeff"),l+=u,a.resolve(l)});return"function"==typeof t.catch&&t.catch(function(e){a.reject(e)}),a.promise},this.isSpecialChar=function(e){return void 0!==t[e]},this.getSpecialChar=function(e){return t[e]}}]),angular.module("ngCsv.directives").directive("ngCsv",["$parse","$q","CSV","$document","$timeout",function(e,a,o,s,c){return{restrict:"AC",scope:{data:"&ngCsv",filename:"@filename",header:"&csvHeader",columnOrder:"&csvColumnOrder",txtDelim:"@textDelimiter",decimalSep:"@decimalSeparator",quoteStrings:"@quoteStrings",fieldSep:"@fieldSeparator",lazyLoad:"@lazyLoad",addByteOrderMarker:"@addBom",ngClick:"&",charset:"@charset",label:"&csvLabel"},controller:["$scope","$element","$attrs","$transclude",function(n,r,i){n.csv="",angular.isDefined(n.lazyLoad)&&"true"==n.lazyLoad||angular.isArray(n.data)&&n.$watch("data",function(){n.buildCSV()},!0),n.getFilename=function(){return n.filename||"download.csv"},n.buildCSV=function(){var e,t=a.defer();return r.addClass(i.ngCsvLoadingClass||"ng-csv-loading"),o.stringify(n.data(),(e={txtDelim:n.txtDelim?n.txtDelim:'"',decimalSep:n.decimalSep?n.decimalSep:".",quoteStrings:n.quoteStrings,addByteOrderMarker:n.addByteOrderMarker},angular.isDefined(i.csvHeader)&&(e.header=n.$eval(n.header)),angular.isDefined(i.csvColumnOrder)&&(e.columnOrder=n.$eval(n.columnOrder)),angular.isDefined(i.csvLabel)&&(e.label=n.$eval(n.label)),e.fieldSep=n.fieldSep?n.fieldSep:",",e.fieldSep=o.isSpecialChar(e.fieldSep)?o.getSpecialChar(e.fieldSep):e.fieldSep,e)).then(function(e){n.csv=e,r.removeClass(i.ngCsvLoadingClass||"ng-csv-loading"),t.resolve(e)}),n.$apply(),t.promise}}],link:function(i,e){e.bind("click",function(){i.buildCSV().then(function(){!function(){var e=i.charset||"utf-8",t=new Blob([i.csv],{type:"text/csv;charset="+e+";"});if(l.navigator.msSaveOrOpenBlob)navigator.msSaveBlob(t,i.getFilename());else{var n=angular.element('<div data-tap-disabled="true"><a></a></div>'),r=angular.element(n.children()[0]);r.attr("href",l.URL.createObjectURL(t)),r.attr("download",i.getFilename()),r.attr("target","_blank"),s.find("body").append(n),c(function(){r[0].click(),r.remove()},null)}}()}),i.$apply()})}}}])}(window,document),function(){"use strict";angular.module("ngPassword",[]).directive("matchPassword",function(){return{restrict:"A",require:["^ngModel","^form"],link:function(e,t,n,r){var i=r[1],a=r[0],o=i[n.matchPassword];e.$watch(function(){return o.$viewValue},function(){a.$$parseAndValidate()}),a.$validators?a.$validators.passwordMatch=function(e){return!e&&!o.$modelValue||e===o.$modelValue}:a.$parsers.push(function(e){return a.$setValidity("passwordMatch",!e&&!o.$viewValue||e===o.$viewValue),e}),o.$parsers.push(function(e){return a.$setValidity("passwordMatch",!e&&!a.$viewValue||e===a.$viewValue),e})}}}),angular.module("angular.password",["ngPassword"]),angular.module("angular-password",["ngPassword"]),"object"==typeof module&&"function"!=typeof define&&(module.exports=angular.module("ngPassword"))}(),function(e,k,t){"use strict";function n(h,p){function t(t,n,e,r){var i=r.shift(),a=r.shift();function o(){Array.prototype.some.call(n.find("md-icon"),function(e){return e.classList.contains("md-sort-icon")&&n[0].removeChild(e)}),n.removeClass("md-sort").off("click",f)}function s(){var e;e=k.element('<md-icon md-svg-icon="arrow-up.svg">'),h(e.addClass("md-sort-icon").attr("ng-class","getDirection()"))(t),n.hasClass("md-numeric")?n.prepend(e):n.append(e),n.addClass("md-sort").on("click",f)}function c(){return Array.prototype.indexOf.call(n.parent().children(),n[0])}function l(){return t.orderBy&&(i.order===t.orderBy||i.order==="-"+t.orderBy)}function u(){return""===e.mdNumeric||t.numeric}function f(){t.$applyAsync(function(){l()?i.order="md-asc"===t.getDirection()?"-"+t.orderBy:t.orderBy:i.order="md-asc"===t.getDirection()?t.orderBy:"-"+t.orderBy,k.isFunction(i.onReorder)&&p.nextTick(function(){i.onReorder(i.order)})})}function d(e,t){(a.$$columns[e]=t).numeric?n.addClass("md-numeric"):n.removeClass("md-numeric")}t.getDirection=function(){return l()?"-"===i.order.charAt(0)?"md-desc":"md-asc":""===e.mdDesc||t.$eval(e.mdDesc)?"md-desc":"md-asc"},t.$watch(l,function(e){e?n.addClass("md-active"):n.removeClass("md-active")}),t.$watch(c,function(e){d(e,{numeric:u()})}),t.$watch(u,function(e){d(c(),{numeric:e})}),t.$watch("orderBy",function(e){e?n.hasClass("md-sort")||s():n.hasClass("md-sort")&&o()})}return{compile:function(e){return e.addClass("md-column"),t},require:["^^mdHead","^^mdTable"],restrict:"A",scope:{numeric:"=?mdNumeric",orderBy:"@?mdOrderBy"}}}function r(a){return function(e,t,n,r){if(n&&"object"==typeof n){var i=a(e,t,!0,r);return k.extend(i.instance,n),i()}return a(e,t,n,r)}}function i(v,y,e,w,a,C,o,s,A){var S=27,T=!1,x=k.element(e.prop("body")),c={clickOutsideToClose:!0,disableScroll:!0,escToClose:!0,focusOnOpen:!0};function l(e,t){var n,r,i,a,o,s,c,l,u,f,d,h,p,m,g=C.$new(),_=v(e)(g),b=w.createBackdrop(g,"md-edit-dialog-backdrop");return t.controller?n=function(e,t,n){if(!e.controller)return;e.resolve&&k.extend(n,e.resolve);e.locals&&k.extend(n,e.locals);e.controllerAs?(t[e.controllerAs]={},e.bindToController?k.extend(t[e.controllerAs],e.scope):k.extend(t,e.scope)):k.extend(t,e.scope);return e.bindToController?y(e.controller,n,t[e.controllerAs]):y(e.controller,n)}(t,g,{$element:_,$scope:g}):k.extend(g,t.scope),t.disableScroll&&(r=_,i=w.disableScrollAround(r,x),r.on("$destroy",function(){i()})),x.prepend(b).append(_.addClass("md-whiteframe-1dp")),a=_,o=t.target,s=k.element(o).controller("mdCell").getTable(),c=function(){return a.prop("clientHeight")},l=function(){return a.prop("clientWidth")},u=function(){var e,t={width:l(),height:c()},n=o.getBoundingClientRect(),r="MD-TABLE-CONTAINER"===(e=s.parent()).prop("tagName")?e[0].getBoundingClientRect():s[0].getBoundingClientRect();t.width>r.right-n.left?a.css("left",r.right-t.width+"px"):a.css("left",n.left+"px"),t.height>r.bottom-n.top?a.css("top",r.bottom-t.height+"px"):a.css("top",n.top+1+"px"),a.css("minWidth",n.width+"px")},f=C.$watch(l,u),d=C.$watch(c,u),A.addEventListener("resize",u),a.on("$destroy",function(){f(),d(),A.removeEventListener("resize",u)}),t.focusOnOpen&&(h=_,w.nextTick(function(){var e=w.findFocusTarget(h);e&&e.focus()},!1)),t.clickOutsideToClose&&b.on("click",function(){_.remove()}),t.escToClose&&(p=_,m=function(e){e.keyCode===S&&p.remove()},x.on("keyup",m),p.on("$destroy",function(){x.off("keyup",m)})),_.on("$destroy",function(){T=!1,b.remove()}),n}function u(e){T=!1,console.error(e)}function t(e,n){return{controller:["$element","$q","save","$scope",function(e,t,n,r){this.dismiss=function(){e.remove()},this.getInput=function(){return r.editDialog.input},r.dismiss=this.dismiss,r.submit=function(){(r.editDialog.$invalid?t.reject():k.isFunction(n)?t.when(n(r.editDialog.input)):t.resolve()).then(function(){r.dismiss()})}}],locals:{save:n.save},scope:{cancel:n.cancel||"Cancel",messages:n.messages,model:n.modelValue,ok:n.ok||"Save",placeholder:n.placeholder,title:n.title,size:e},template:'<md-edit-dialog><div layout="column" class="md-content"><div ng-if="size === \'large\'" class="md-title">{{title || \'Edit\'}}</div><form name="editDialog" layout="column" ng-submit="submit(model)"><md-input-container md-no-float><input name="input" ng-model="model" md-autofocus placeholder="{{placeholder}} "'+function(){var e='type="'+(n.type||"text")+'"';for(var t in n.validators)e+=" "+t+'="'+n.validators[t]+'"';return e}()+'><div ng-messages="editDialog.input.$error"><div ng-repeat="(key, message) in messages" ng-message="{{key}}">{{message}}</div></div></md-input-container></form></div><div ng-if="size === \'large\'" layout="row" layout-align="end" class="md-actions"><md-button class="md-primary" ng-click="dismiss()">{{cancel}}</md-button><md-button class="md-primary" ng-click="submit()">{{ok}}</md-button></div></md-edit-dialog>'}}return this.show=function(r){if(T)return a.reject();if(T=!0,!(r=k.extend({},c,r)).targetEvent)return u("options.targetEvent is required to align the dialog with the table cell.");if(!r.targetEvent.currentTarget.classList.contains("md-cell"))return u("The event target must be a table cell.");if(r.bindToController&&!r.controllerAs)return u("You must define options.controllerAs when options.bindToController is true.");r.target=r.targetEvent.currentTarget;var i,e=(i=r,a(function(t,e){var n=i.template;return n?k.isString(n)?t(n):void e("Unexpected template value. Expected a string; received a "+typeof n+"."):i.templateUrl?(n=o.get(i.templateUrl))?t(n):s(i.templateUrl).then(function(e){return t(e)},function(){return e("Error retrieving template from URL.")}):void e("Template not provided.")})),t=[e];for(var n in r.resolve)e=r.resolve[n],t.push(a.when(k.isFunction(e)?e():e));return(e=a.all(t)).catch(u),e.then(function(e){var t=e.shift();for(var n in r.resolve)r.resolve[n]=e.shift();return l(t,r)})},this.small=function(e){return this.show(k.extend({},e,t("small",e)))}.bind(this),this.large=function(e){return this.show(k.extend({},e,t("large",e)))}.bind(this),this}function a(s){function t(t,n,e,r){var i=new Array(2);function a(){n.prop("lastElementChild").firstElementChild.appendChild(s(k.element("<md-checkbox>").attr({"aria-label":"Select All","ng-click":"toggleAll()","ng-checked":"allSelected()","ng-disabled":"!getSelectableRows().length"}))(t)[0])}function o(e){return k.element(e).controller("mdSelect")}t.allSelected=function(){var e=t.getSelectableRows();return e.length&&e.every(function(e){return e.isSelected()})},t.getSelectableRows=function(){return r.getBodyRows().map(o).filter(function(e){return e&&!e.disabled})},t.selectAll=function(){r.getBodyRows().map(o).forEach(function(e){e&&!e.isSelected()&&e.select()})},t.toggleAll=function(){return t.allSelected()?t.unSelectAll():t.selectAll()},t.unSelectAll=function(){r.getBodyRows().map(o).forEach(function(e){e&&e.isSelected()&&e.deselect()})},t.$watchGroup([function(){return r.$$rowSelect},r.enableMultiSelect],function(e){var t;e[0]!==i[0]?e[0]?(n.children().prepend('<th class="md-column md-checkbox-column">'),e[1]&&a()):Array.prototype.some.call(n.find("th"),function(e){return e.classList.contains("md-checkbox-column")&&e.remove()}):e[0]&&e[1]!==i[1]&&(e[1]?a():(t=n.prop("lastElementChild").firstElementChild).classList.contains("md-checkbox-column")&&k.element(t).empty()),k.copy(e,i)})}return{bindToController:!0,compile:function(e){return e.addClass("md-head"),t},controller:function(){},controllerAs:"$mdHead",require:"^^mdTable",restrict:"A",scope:{order:"=?mdOrder",onReorder:"=?mdOnReorder"}}}function o(d,h){return{bindToController:!0,controller:function(){},controllerAs:"$mdSelect",link:function(t,n,e,r){var i=r.shift(),a=r.shift(),o=h(e.mdSelectId);if(i.id=o(i.model),a.$$rowSelect&&i.id)if(a.$$hash.has(i.id)){var s=a.selected.indexOf(a.$$hash.get(i.id));-1===s?a.$$hash.purge(i.id):a.$$hash.equals(i.id,i.model)||(a.$$hash.update(i.id,i.model),a.selected.splice(s,1,i.model))}else a.selected.some(function(e,t){if(o(e)===i.id)return a.$$hash.update(i.id,i.model),a.selected.splice(t,1,i.model),!0});function c(){return""===e.mdAutoSelect||i.autoSelect}function l(){var e;n.prepend((e=k.element("<md-checkbox>").attr({"aria-label":"Select Row","ng-click":"$mdSelect.toggle($event)","ng-checked":"$mdSelect.isSelected()","ng-disabled":"$mdSelect.disabled"}),k.element('<td class="md-cell md-checkbox-cell">').append(d(e)(t)))),c()&&n.on("click",f)}function u(e){i.id&&(a.$$hash.has(i.id)?-1===e.indexOf(a.$$hash.get(i.id))&&a.$$hash.purge(i.id):-1!==e.indexOf(i.model)&&a.$$hash.update(i.id,i.model))}function f(e){t.$applyAsync(function(){i.toggle(e)})}i.isSelected=function(){return!!a.$$rowSelect&&(i.id?a.$$hash.has(i.id):-1!==a.selected.indexOf(i.model))},i.select=function(){i.disabled||(a.enableMultiSelect()?a.selected.push(i.model):a.selected.splice(0,a.selected.length,i.model),k.isFunction(i.onSelect)&&i.onSelect(i.model))},i.deselect=function(){i.disabled||(a.selected.splice(a.selected.indexOf(i.model),1),k.isFunction(i.onDeselect)&&i.onDeselect(i.model))},i.toggle=function(e){return e&&e.stopPropagation&&e.stopPropagation(),i.isSelected()?i.deselect():i.select()},t.$watch(function(){return a.$$rowSelect},function(e){e?l():(Array.prototype.some.call(n.children(),function(e){return e.classList.contains("md-checkbox-cell")&&n[0].removeChild(e)}),c()&&n.off("click",f))}),t.$watch(c,function(e,t){e!==t&&(a.$$rowSelect&&e?n.on("click",f):n.off("click",f))}),t.$watch(i.isSelected,function(e){return e?n.addClass("md-selected"):n.removeClass("md-selected")}),t.$watch(a.enableMultiSelect,function(e){a.$$rowSelect&&!e&&a.selected.splice(1)}),a.registerModelChangeListener(u),n.on("$destroy",function(){a.removeModelChangeListener(u)})},require:["mdSelect","^^mdTable"],restrict:"A",scope:{model:"=mdSelect",disabled:"=ngDisabled",onSelect:"=?mdOnSelect",onDeselect:"=?mdOnDeselect",autoSelect:"=mdAutoSelect"}}}function c(){var n={};this.equals=function(e,t){return n[e]===t},this.get=function(e){return n[e]},this.has=function(e){return n.hasOwnProperty(e)},this.purge=function(e){delete n[e]},this.update=function(e,t){n[e]=t}}k.module("md.table.templates",["md-table-pagination.html","md-table-progress.html","arrow-up.svg","navigate-before.svg","navigate-first.svg","navigate-last.svg","navigate-next.svg"]),k.module("md-table-pagination.html",[]).run(["$templateCache",function(e){e.put("md-table-pagination.html",'<div class="page-select" ng-if="$pagination.showPageSelect()">\n <div class="label">{{$pagination.label.page}}</div>\n\n <md-select virtual-page-select total="{{$pagination.pages()}}" class="md-table-select" ng-model="$pagination.page" md-container-class="md-pagination-select" ng-change="$pagination.onPaginationChange()" ng-disabled="$pagination.disabled" aria-label="Page">\n <md-content>\n <md-option ng-repeat="page in $pageSelect.pages" ng-value="page">{{page}}</md-option>\n </md-content>\n </md-select>\n</div>\n\n<div class="limit-select" ng-if="$pagination.limitOptions">\n <div class="label">{{$pagination.label.rowsPerPage}}</div>\n\n <md-select class="md-table-select" ng-model="$pagination.limit" md-container-class="md-pagination-select" ng-disabled="$pagination.disabled" aria-label="Rows" placeholder="{{ $pagination.limitOptions[0] }}">\n <md-option ng-repeat="option in $pagination.limitOptions" ng-value="option.value ? $pagination.eval(option.value) : option">{{::option.label ? option.label : option}}</md-option>\n </md-select>\n</div>\n\n<div class="buttons">\n <div class="label">{{$pagination.min()}} - {{$pagination.max()}} {{$pagination.label.of}} {{$pagination.total}}</div>\n\n <md-button class="md-icon-button" type="button" ng-if="$pagination.showBoundaryLinks()" ng-click="$pagination.first()" ng-disabled="$pagination.disabled || !$pagination.hasPrevious()" aria-label="First">\n <md-icon md-svg-icon="navigate-first.svg"></md-icon>\n </md-button>\n\n <md-button class="md-icon-button" type="button" ng-click="$pagination.previous()" ng-disabled="$pagination.disabled || !$pagination.hasPrevious()" aria-label="Previous">\n <md-icon md-svg-icon="navigate-before.svg"></md-icon>\n </md-button>\n\n <md-button class="md-icon-button" type="button" ng-click="$pagination.next()" ng-disabled="$pagination.disabled || !$pagination.hasNext()" aria-label="Next">\n <md-icon md-svg-icon="navigate-next.svg"></md-icon>\n </md-button>\n\n <md-button class="md-icon-button" type="button" ng-if="$pagination.showBoundaryLinks()" ng-click="$pagination.last()" ng-disabled="$pagination.disabled || !$pagination.hasNext()" aria-label="Last">\n <md-icon md-svg-icon="navigate-last.svg"></md-icon>\n </md-button>\n</div>')}]),k.module("md-table-progress.html",[]).run(["$templateCache",function(e){e.put("md-table-progress.html",'<tr>\n <th colspan="{{columnCount()}}">\n <md-progress-linear ng-show="deferred()" md-mode="indeterminate"></md-progress-linear>\n </th>\n</tr>')}]),k.module("arrow-up.svg",[]).run(["$templateCache",function(e){e.put("arrow-up.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z"/></svg>')}]),k.module("navigate-before.svg",[]).run(["$templateCache",function(e){e.put("navigate-before.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>')}]),k.module("navigate-first.svg",[]).run(["$templateCache",function(e){e.put("navigate-first.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M7 6 v12 h2 v-12 h-2z M17.41 7.41L16 6l-6 6 6 6 1.41-1.41L12.83 12z"/></svg>')}]),k.module("navigate-last.svg",[]).run(["$templateCache",function(e){e.put("navigate-last.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 6 v12 h2 v-12 h-2z M8 6L6.59 7.41 11.17 12l-4.58 4.59L8 18l6-6z"/></svg>')}]),k.module("navigate-next.svg",[]).run(["$templateCache",function(e){e.put("navigate-next.svg",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>')}]),k.module("md.data.table",["md.table.templates"]),k.module("md.data.table").directive("mdBody",function(){return{compile:function(e){e.addClass("md-body")},restrict:"A"}}),k.module("md.data.table").directive("mdCell",function(){function n(e,t,n,r){var i=t.find("md-select"),a=r.shift(),o=r.shift();n.ngClick&&t.addClass("md-clickable"),i.length&&(i.on("click",function(e){e.stopPropagation()}),t.addClass("md-clickable").on("click",function(e){e.stopPropagation(),i[0].click()})),a.getTable=o.getElement,e.$watch(function(){return o.$$columns[Array.prototype.indexOf.call(t.parent().children(),t[0])]},function(e){e&&(e.numeric?t.addClass("md-numeric"):t.removeClass("md-numeric"))})}return{controller:function(){},compile:function(e){var t=e.find("md-select");t.length&&t.addClass("md-table-select").attr("md-container-class","md-table-select");return e.addClass("md-cell"),n},require:["mdCell","^^mdTable"],restrict:"A"}}),k.module("md.data.table").directive("mdColumn",n),n.$inject=["$compile","$mdUtil"],k.module("md.data.table").decorator("$controller",r).factory("$mdEditDialog",i),r.$inject=["$delegate"],i.$inject=["$compile","$controller","$document","$mdUtil","$q","$rootScope","$templateCache","$templateRequest","$window"],k.module("md.data.table").directive("mdFoot",function(){return{compile:function(e){e.addClass("md-foot")},restrict:"A"}}),k.module("md.data.table").directive("mdHead",a),a.$inject=["$compile"],k.module("md.data.table").directive("mdRow",function(){function t(e,t,n,r){function i(e){return t[0].contains(e[0])}if(-1!==r.getBodyRows().indexOf(t[0])){var a=k.element('<td class="md-cell">');e.$watch(function(){return r.$$rowSelect},function(e){!e||n.mdSelect?i(a)&&a.remove():i(a)||t.prepend(a)})}}return{compile:function(e){return e.addClass("md-row"),t},require:"^^mdTable",restrict:"A"}}),k.module("md.data.table").directive("mdSelect",o),o.$inject=["$compile","$parse"],k.module("md.data.table").directive("mdTable",function(){function e(e,t,n,r){var i,a=this,o=[],s=[];a.$$hash=new c,a.$$columns={},a.columnCount=function(){return a.getRows(t[0]).reduce(function(e,t){return t.cells.length>e?t.cells.length:e},0)},a.getRows=function(e){return Array.prototype.filter.call(e.rows,function(e){return!e.classList.contains("ng-leave")})},a.getBodyRows=function(){return Array.prototype.reduce.call(t.prop("tBodies"),function(e,t){return e.concat(a.getRows(t))},[])},a.getElement=function(){return t},a.getHeaderRows=function(){return a.getRows(t.prop("tHead"))},a.enableMultiSelect=function(){return""===e.multiple||r.$eval(e.multiple)},a.waitingOnPromise=function(){return!!o.length},a.queuePromise=function(e){e&&1===o.push(k.isArray(e)?n.all(e):n.when(e))&&function e(){if(!o.length)return r.$applyAsync();o[0].finally(function(){o.shift(),e()})}()},a.registerModelChangeListener=function(e){s.push(e)},a.removeModelChangeListener=function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1)},e.hasOwnProperty("mdProgress")&&r.$watch("$mdTable.progress",a.queuePromise),r.$watch(function(){return""===e.mdRowSelect||a.rowSelect},function(e){e&&(a.selected?k.isArray(a.selected)||console.error("Row selection: Expected an array. Recived "+typeof a.selected+"."):console.error("Row selection: ngModel is not defined."))?(a.$$rowSelect=!0,i=r.$watchCollection("$mdTable.selected",function(t){s.forEach(function(e){e(t)})}),t.addClass("md-row-select")):function(){a.$$rowSelect=!1,k.isFunction(i)&&i();t.removeClass("md-row-select")}()})}return e.$inject=["$attrs","$element","$q","$scope"],{bindToController:!0,compile:function(e,t){if(e.addClass("md-table"),t.hasOwnProperty("mdProgress")){var n=e.find("tbody")[0],r=k.element('<thead class="md-table-progress" md-table-progress>');n&&e[0].insertBefore(r[0],n)}},controller:e,controllerAs:"$mdTable",restrict:"A",scope:{progress:"=?mdProgress",selected:"=ngModel",rowSelect:"=mdRowSelect"}}}),k.module("md.data.table").directive("mdTablePagination",function(){function e(e,t,n){var r=this,i={page:"Page:",rowsPerPage:"Rows per page:",of:"of"};function a(e){return 0<parseInt(e,10)}r.label=k.copy(i),r.eval=function(e){return n.$eval(e)},r.first=function(){r.page=1,r.onPaginationChange()},r.hasNext=function(){return r.page*r.limit<r.total},r.hasPrevious=function(){return 1<r.page},r.last=function(){r.page=r.pages(),r.onPaginationChange()},r.max=function(){return r.hasNext()?r.page*r.limit:r.total},r.min=function(){return a(r.total)?r.page*r.limit-r.limit+1:0},r.next=function(){r.page++,r.onPaginationChange()},r.onPaginationChange=function(){k.isFunction(r.onPaginate)&&t.nextTick(function(){r.onPaginate(r.page,r.limit)})},r.pages=function(){return a(r.total)?Math.ceil(r.total/(a(r.limit)?r.limit:1)):1},r.previous=function(){r.page--,r.onPaginationChange()},r.showBoundaryLinks=function(){return""===e.mdBoundaryLinks||r.boundaryLinks},r.showPageSelect=function(){return""===e.mdPageSelect||r.pageSelect},n.$watch("$pagination.limit",function(e,t){isNaN(e)||isNaN(t)||e===t||(r.page=Math.floor((r.page*t-t+e)/(a(e)?e:1)),r.onPaginationChange())}),e.$observe("mdLabel",function(e){k.extend(r.label,i,n.$eval(e))}),n.$watch("$pagination.total",function(e,t){isNaN(e)||e===t||r.page>r.pages()&&r.last()})}return e.$inject=["$attrs","$mdUtil","$scope"],{bindToController:{boundaryLinks:"=?mdBoundaryLinks",disabled:"=ngDisabled",limit:"=mdLimit",page:"=mdPage",pageSelect:"=?mdPageSelect",onPaginate:"=?mdOnPaginate",limitOptions:"=?mdLimitOptions",total:"@mdTotal"},compile:function(e){e.addClass("md-table-pagination")},controller:e,controllerAs:"$pagination",restrict:"E",scope:{},templateUrl:"md-table-pagination.html"}}),k.module("md.data.table").directive("mdTableProgress",function(){return{link:function(e,t,n,r){e.columnCount=r.columnCount,e.deferred=r.waitingOnPromise},require:"^^mdTable",restrict:"A",scope:{},templateUrl:"md-table-progress.html"}}),k.module("md.data.table").directive("virtualPageSelect",function(){function e(e,t){var n=this,r=e.find("md-content");function i(e,t){return Math.min(e,isFinite(t)&&0<t?t:1)}function a(e){if(n.pages.length>e)return n.pages.splice(e);for(var t=n.pages.length;t<e;t++)n.pages.push(t+1)}n.pages=[],r.on("scroll",function(){r.prop("clientHeight")+r.prop("scrollTop")>=r.prop("scrollHeight")&&t.$applyAsync(function(){a(i(n.pages.length+10,n.total))})}),t.$watch("$pageSelect.total",function(e){a(i(Math.max(n.pages.length,10),e))}),t.$watch("$pagination.page",function(e){for(var t=n.pages.length;t<e;t++)n.pages.push(t+1)})}return e.$inject=["$element","$scope"],{bindToController:{total:"@"},controller:e,controllerAs:"$pageSelect"}})}(window,angular),angular.module("angular-toasty",[]),angular.module("angular-toasty").directive("toasty",["toasty","$timeout","$sce",function(e,g,_){return{replace:!0,restrict:"EA",scope:!0,link:function(f,e,t){var d=0,h=["default","material","bootstrap"];function p(n){n?angular.forEach(f.toasty,function(e,t){e.id==n&&(f.$broadcast("toasty-cleared",f.toasty[t]),e.onRemove&&angular.isFunction(e.onRemove)&&e.onRemove.call(f.toasty[t]),f.toasty.splice(t,1),f.$$phase||f.$digest())}):(angular.forEach(f.toasty,function(e,t){e.onRemove&&angular.isFunction(e.onRemove)&&e.onRemove.call(f.toasty[t])}),f.toasty=[],f.$broadcast("toasty-cleared"))}function m(e,t,n){return 0!=t[n]&&(!!t[n]||e[n])}f.position="",f.toasty=[],f.$on("toasty-new",function(e,t){var n=t.config,r=t.options;f.position||(f.position="toasty-position-"+n.position),function(e,t){d++;var n,r=m(e,t,"sound"),i=m(e,t,"showClose"),a=m(e,t,"clickToClose"),o=m(e,t,"html"),s=m(e,t,"shake");n=t.theme&&-1<h.indexOf(t.theme)?t.theme:e.theme;f.toasty.length>=e.limit&&f.toasty.shift();r&&document.getElementById("toasty-sound").play();var c={id:d,title:o?_.trustAsHtml(t.title):t.title,msg:o?_.trustAsHtml(t.msg):t.msg,showClose:i,clickToClose:a,sound:r,shake:s?"toasty-shake":"",html:o,type:"toasty-type-"+t.type,theme:"toasty-theme-"+n,onAdd:t.onAdd&&angular.isFunction(t.onAdd)?t.onAdd:null,onRemove:t.onRemove&&angular.isFunction(t.onRemove)?t.onRemove:null,onClick:t.onClick&&angular.isFunction(t.onClick)?t.onClick:null,onAccept:t.onAccept&&angular.isFunction(t.onAccept)?t.onAccept:null,onReject:t.onReject&&angular.isFunction(t.onReject)?t.onReject:null};f.toasty.push(c),t.onAdd&&angular.isFunction(t.onAdd)&&t.onAdd.call(c);f.$broadcast("toasty-added",c),0!=t.timeout&&(t.timeout||e.timeout)&&(l=f.toasty[f.toasty.length-1],u=t.timeout||e.timeout,l.timeout=g(function(){p(l.id)},u));var l,u}(n,r)}),f.$on("toasty-clear",function(e,t){p(t.id)}),f.close=function(e){p(e)},f.clickToasty=function(e){f.$broadcast("toasty-clicked",e),e.onClick&&angular.isFunction(e.onClick)&&e.onClick.call(e),e.clickToClose&&p(e.id)}},template:'<div id="toasty" ng-class="[position]"><audio id="toasty-sound" src="data:audio/wav;base64,UklGRiQ9AABXQVZFZm10IBAAAAABAAEAIlYAAESsAAACABAAZGF0YQA9AAA4AFAASABAADgAQAAwACgAGAAoADAAIAAoADgAKAAgACAAKAA4ADgAMABIADgAQABIAFAAWABQAHAASABYAFAAUAA4AEAAMAAwADgAQABQAFAASABYAFgAaABwAHgAeABoAGgAaABoAGgAUABQAFAAWABQAEgASAA4AEAAOAAgADAAMABIAEAAOABAADAAQAAwADgAKAAwACAAIAAwACAAIAAwACgAGAAQABAAAAD4//D/2P/o/+j/8P/o/+D/0P/Y/9D/2P/I/8D/yP/g/8j/0P/Y/+j/2P/w/9D/2P/A/8D/yP/A/9D/yP/A/9D/0P/I/8j/yP+4/9j/6P/g/+D/2P/Y/+D/4P/Y/9j/4P/o/+j/0P/g/+D/4P/o/+D/4P/g/9D/4P/g/+D/4P/w/wAAIAAwABgAMABAADAAOAAwADAAKAAwADgAIAAYACAAAAAAAAgAIAAIABAACAAgACAAIAAgAAgAEAAIAAAAAAAAAOj/8P8AAAAA+P/4//j/+P/o/+j/6P/g/+j/+P8AAPD/6P/o//D/2P/o/9D/4P/w/+j/4P8IABAAAAAQABgAAAAAAAgAAAAAAPj/8P/w//D/6P/4//D/+P8AAPj/AAAAAAgACAD4//j/CAAAAPj/CAAAAAAAAAAQABgAIAA4ADgAMABIAEgAOAAwAFAAOABAAEAASABIAEAAOAAgACgAGAAwACAAKAAwADgAMAA4ADgAQABAADAAKAAYAPj/6P/4/+j/4P/I/8D/uP+w/8D/uP+o/7j/qP/A/9j/qP/I/9j/wP/A/8D/4P/g/9j/2P+4/8D/wP+w/9D/wP/Q/9j/0P/Q/8D/2P/I/9j/6P/o/+j/+P/o//j/AAAAAAgAEAAIAAAAAAAIAAgAEAAYABAACAAgACAAAAAYADgAMABIAEAAKAA4ADAASABQAFAAUABYAEAAKAAQAAgAEAAQACgAGAAYABgAGAAgACAAMAAgADgAMAAwADgAMABIAEAASAAoAEgAQABYADAAUABQADgAMAAoACgAOABAAEAAMAAoACgAIAAgACAAOAAwACgAKAAoADAAKAAwACAAIAAYADAAKAAgACgAIAAQABgAGAAIAAgAAAAIAAAAAAD4//j/EAAYAAAAAAAQAPD/GAAgABAAEAAYACAAOABIAEAAMABAACgAKAAoAAgAEAAgABgACAAQAAgAEAAgAAgAAAAAABgACAAYABAACAAQAAAAAAAQAAgA+P/w/+j/4P/w/+D/6P/o//D/2P/g/9D/6P/o/8D/wP+w/7j/0P/I/9D/wP/g/9j/6P/g/+D/2P/Y/9D/2P/g/9j/0P+w/6j/4P/Y/9j/2P/Y/9D/0P/A/8D/8P+w/8D/uP/A/8j/0P/Q/9D/0P/w//D/2P/g/+D/6P8AAPD/6P/g/+j/6P/Q/+D/4P/4/+j/+P/o/+D/8P/4/wAAAAD4//j/6P/Y/9D/yP/g/+j/2P/Y/9j/yP/Q/9D/yP/Q/9D/yP+4/6D/qP+g/7j/sP+4/8D/yP/Y/8D/wP/Q//D/0P/g/8j/wP/A/7j/qP+w/7D/sP+w/6j/sP+w/7j/uP/A/8D/2P/A/+D/6P/o/+j/4P/Y/+j/2P/Q/9j/4P/o//j/EAAAAAgA+P/4//D/AAAAAAAAAAD4//j/8P/4/wAAIAAQACAAEAAIABgACAAQADAAKAAgACAAMABAAEgAMAAwAFgAWABgAFgAQABIAFgAYABYAGgAUABwAEgAQABAADgAOAA4ADgAMAAgACgAKAAoACgAMAAoACAAEAAQABAACAAIAAAAAAD4/wAAEAAIAPj/6P/Y//D/AAAAAOj/4P/w//j/8P8IAPj/EAAAAPj/6P/4/+D/4P/Y/9j/2P/g//D/8P/o/+D/6P8gABAACAD4/yAAIABAADgAMAA4ADgAIAAQACAAIAAgADAAKAAwAEgAOAA4AEAAQABIAEAAMABAAEAAMABQADAAYABAAEgAQABQADAAUABYABgAQABAAEAAKABIADAAIAAYABgAAAAgACAAGAAgAAgAGAAAAAgACAAQABAACAAQAPD/IAAoAPD/CAAgAPj/4P/w//D/+P/g/9j/2P/Y/9j/6P/I/6j/4P/Y/+D/0P/A/8D/yP/A/8D/2P8AAPD/CAAAAAAAGAAQAOj/GAAoAPD/GAAYAPD/IAAgAOj/GAAgAAAACABQACgAEABQADAAKADw//j/+P8IABAAGAAYADgAEAD4/8D/2P8AAFAAKAAoAPj/8P8QAOj/6P/Q/7j/iP+I/7j/8P8oAPj/aP9w/5j/+P8YAAAACAB4/5j/CAAQAOj/GADg/1D/uP8oAHAAKADw/4D/sAAwABAA4P9I/2j/AACAAXAAiABo/zAAMAAA/+D9EP7w/2AAKAGAAOAAiP8YAFD/YP5I/7j+mP2g/jAAIAPQAYAAMP/Y/8D/SP6g/ID9yP/QAYgCiAGQAMgAKAD4/0j+CP9g/ij9AP+QAAACQAAwADAAmP8gATD/cP6Y/rD/gADA/7j8iP04/WD/QAEYATD+yP9g/Lj8WP/I/tAAIP6I/wj+uP8IAagA8P9g/gj+cAOw/dD+QADYAYgDSP8QAhj8uP5wAXj+wAMIAfgBsP+w/7gBmAMwA4AAmAC4AAj/SP0IAegEoAWw/lD7iPrY/IACuP+QA4gEqAgAACj4CAFQ+9gB8P9wAjgDOP5QBbgCSAfgAfD/IP+Y/qgFmACIAsAEIP0wBTAAeAGo/OgFWP2oDrADoAZAAqgK+P5ACsgBCALwD0AL0AlwBhgCiP9o/dj7+AJg/6AEWAXICej7KADYAjgCEP94B4j4SAEY/yAAWP4Y/8D8QACIAYgDUP4w/fj98AEYANgDGAIoAJD90AcIBXgC4AeYB+D9OP0Q+IAAWAKQCPgFsAZI/AADmPxQBKD/kABIAcAFqP+IBnAH4AQoApgSYP4QDmjvwAGgBdgCiAJw+wgDAAE4B6gT8P6wB9D78AdQCbj/aACo/oAAWPtYAvj/IPug+MgDQAJQA7D7EPdI/yD2uPSg+dDyyPWw7pjysOvY9vjugO8Y6ZjfeOZw62jkgOXA4ijgsOSw4dDdKOBY1QjTMNUg1GDciNfY0ADbUNhA29DUqNQY3HDe4Ncg1QjVoND41aDUcNno2QDWYNdw2tDjUOEA5QDpoO3Y70D46PFY8vj3iP4QBRgBAAiADVAP6BDIFogfqCHQKTgzcDGgNfg48EPQRzBGCEvQUMhQ4FLgV2BZ8FpAUnBVUFhgUehRCFDYUShKeEMYQhg9uDCAMfgrACUwG8AUcBXYDBAGuALA/oD0mOt451jlyOAg3vDaQNhw1BDRgNBgzVDOIM+Y04jR0NJA0pDY0N0g3rjlUOow7tDt4PdA/agACASYCGAOSBHgEhAX8ByQH1AneCd4KbApACqALhAv+C4gMLgvuC/4MPgqyCmIJRgfAB2QGTgTyA6QCjgHcAK4+oj4MPHI7BDrYOgg4fjcSNrg1zDUINHAz2jNuMqAybjJaMewydjJYM7wz4DSgNRQ2XjciOP46ODrmPCg9UD5SP1YAcAE4AqYDDgSUBPAGKgb4BqYHiAg6CFoIFAj8CNgIvggoCBoHqAawBUwEygQMAtoB2gCYP6Y+Pj3APFA7UDqeOfw4qDeQN7I2nDYWNUQ1qjRCNJg0KjRANKQ1NDWGNfo2qDckN/44NjnyOuY8LD1OPvI/lgEAAegCqgOwBGoGFgZKB6IH3Ak8CHYJgAnqCh4KZgpACqQJ8gnICdQJUghuCDQHFAYMBPgD+gMaAfoBQgB2PwQ+LD1OPLo7kDsOOwo6ojn4OYw5vDj4OO45CDk2OSQ5MDnuOlI7SjukO9Q8yD2cPuY/LgBoAQAB0ALUA4wEVgTMBUQF9AYUBloG2ga+BlwGzgamBlIF3gWSBQoE7ARQBHADfAJaAdQA+AAaP14+iD2WPKQ8fjsCOuI6EDmqOM44ujhyOAQ30DgIOIg4tDiyOPA5ODlgOgw60DsIO+Y8hD22PmY+xD/cAB4AhgHoAgoDKAOOBIgFNAVOBcAGPAWgBewF/AWCBeQF7gUuBMAEuAPGA2ACfgJUAd4BWADKALg/pD6APo49sjz+PAg8PjtMO7Q7mjtEOpg6xjs2Ozg7MDtMO9A8HDySPQ49oD3iPpI/KD+QAEwBMgFaAjIC7gNAA4gDrAQCBGQEtATABVAFHgUgBR4E5gR4BB4DwgNAAzwCQAHUAQQA/gAeP5w/ID6IPcY9Yj0cPIY8RDu6O3g6jjrMOqY6SDpMOo462DsqO5g7uDvmO+A8nj0OPbo+GD7wP4QAbgDGAUYBkAJQAzIDbAQaBE4FMgTWBa4FogWABZAFiAXGBbIFfgUgBSoE7gRyA4IDXgKwAjYBUgEsAJo/xj9oPoA+Zj28PXg8xDycPEo8NDuIO1g7CjsqOo46/jrGO0w7WjvSPII80D0CPWo9hD5WPtA/Xj+uABYA+gFcAcQCmgLWAxYDSAQQBHYETgS8BKIEzATGBPwEWARmBGgEEgQUA+4DlANKAuYCegHcAWoA9AB4AA4/xj+aP3w+xD6IPlI95j26PV49qD1wPWA9RD1mPRw9aD10PUo9yD5kPp4+qD7SP1I/pj+eAA4APAAUAK4A3gECAWwBzAGuAfgBuAGUAeQBugGgAYgBqgEkAMIA2ACoAAYAIj/UP/Y/Wj98Psg+wj6CPhY9wD28PUo9cD1iPWY9VD14PT49MD1uPXQ9QD26Pao+Lj4OPqg+6D8oP2I/nAAUAKAA2AF0AbwB3AIMAgwCbAJcAsQCzAM8AzgDDgNSA04DVAMeAswC6AJsAjwBxgHAAY4BQgE8AHQAEgAyP8I/hj9OP3w+3j6EPqw+LD46Peo9tj32PfI+Gj4yPiA+dj5ePqo+kj8cP3I/Sj/WAAwAVgCYAKQBKgEwAUwBuAHuAhQCUgKqAkwCpAJWAmoCOAIaAiwCOAHEAgAB/AFUATQAtAB0P8A/9D9yP1I/MD6EPqI+Ej4KPco9nD20PUg9Sj0kPMA9GDzGPMQ8/DyiPPQ9MD1IPeg95j44PiA+RD6cPqo++D8aP2Y/qD/SABoAegBsAJ4A9ADUAT4BAgFcAVgBTAFuASQBHAE2AOgAzADaAMIAxgCoAEIAFj/wP4g/ij9uPxo/BD8ePvA+kD6uPm4+dD5aPlw+Yj5QPmY+WD50Pkw+jj6APtg+0j8QP0g/gD/OP/Y/xAAkP9oAFAA4AFIAvACCARwBIAEiASIBBgFgAXgBDgG2AUoBhgFSAVoBVgFKAVwBDAEgARYBAAE4ATQA3AEsANIA+ACqALwAhgDIAOwA6AD8AKAAzADMAOoAuACGAM4A3gDMANQA5gDCAQABLgEgAVoBQgGeAWgBfAEgARgBPADuANgA3gDgAP4A3ADUAMYA2gC8AFwAdgAWAAAAPj/oP8g/0j+yP2g/Xj9KP1Q/Bj9mPxA/Cj8WPzQ+6D7kPuo+1D7mPvg+1j8aP2A/Wj9UPwg/BD8gPwY/aj9SP6o/sj+gP6g/qj+gP5A/zj/mP+w/xD/QP9o/nj+IP7A/dD9yP3w/Rj+2P34/eD9SP3I/JD8GPz4+0D8EPwo/Cj8+PuQ+9D7cPsQ+8j7+Ptg/Aj8YPzI/PD82PyY/Aj9UP1g/lj+eP8IAEgAOADo/wAAUAAAAXABOAKAApgC6AL4AgADkAMwA/gDAATgA6ADiAOQA6ADSAMgA8gCyAGQAbAB2AGYASABiADwAAgAYP+o/iD+iP2Q/ZD9gP14/eD8iPyo+zj7APtQ+wD7EPsQ+zD7CPv4+nD72PvY+3D8qP2g/eD9cP6w/rj+6P4IAOj/OACYAHgBCALQAngDmAMIBAAE+APYA2AE4ATYBcAF4AWoBTAFUAXYBJAEqAQQBVgFYAXgBHAEiAO4AyADAAPwAhAD4AJYAoACGAKoARgBAAFYADAAmACAAKgAEADQ/yAA8P/A/wAAWACwAEgAuACoACAA4P9gAHAA0ACAAJAAsAAAATABAAF4ARABKAHgAJgAsABwAAABmABQAEAA2P+o/2j/eP+A/1j/WP8Y/4D/KP/Q/tj+uP7Q/pj+oP7A/rD+0P7Y/rD+gP5o/kj+OP64/mj+kP4I/yD/EP9I/4D/sP/Y/ygASAA4AHAAkADgAPAAmACIAKAAwAA4ATgB0AG4AZgBYAE4AcgAsACwAHgAsABYAIgAWABoAPD/sP+o/+j+0P7Y/gD/cP74/Qj+IP6A/Yj9QP0o/VD9cP1Y/ZD9CP3w/CD9+Pz4/PD84Px4/Vj9iP24/Yj9kP3Q/fD9aP7Y/lj/uP/Y/xgAeAB4ALgAMAFgAcgBYAJoApACaAIoAhgCiAJwAkACQAIwAlACQAIYAngCCALQAaAB8AC4AGgAAAD4/+j/UP/4/rj+4P2Q/cj9iP1A/Tj9QP1Y/cj8+Pzo/Mj8EP2I/XD9oP3w/Rj+KP5A/jj+aP7w/lD/yP+AAAgBmAHgAYACwALwAmgDoAMgBFAEgASYBDgEcAQIBfgEAAU4BUAFQAV4BUgFCAW4BGAECARwA+gCoAJgAigCkAEQAXAA6P9o//j+2P5w/hj+cP3A/Gj8KPwI/Nj7mPtA++D6kPp4+tD6uPq4+sD6APvQ+sD6yPpo+wj8CPwQ/Hj8UPzg/Ej9YP1o/dj9SP54/oj+2P5I/zj/eP+Y/5D/sP8QAFgAkACAAHgAWAAYALj/QP84/7j+2P7w/hD/8P6I/nj+gP54/kD+OP4w/kD+aP54/nD+0P6w/hD/GP8o/1D/gP8IAEgA+ABoAbABoAJYA4gD8ANwBNAEMAWIBegF8AX4BRAGeAagBrgGyAaoBoAGQAZABugFqAVgBRgFqARwBMADaAPwApgCwAHYACAAYP9Y/+D+mP4w/sD9KP34/ID8IPwQ/Pj7EPwA/OD7uPuw+4D7APwY/Ej8sPwY/RD9mP0Q/oD+2P7w/rj/0P+IABgBqAHYAUACqALYAvgCCAOIA8ADOATQA9gD+AMABJgDsANIAyADmAJIAgAC0AGgAVABEAFAAMj/OP/A/nD+6P2g/UD98PzA/HD8GPy4+5j7kPt4+zD7OPtI+2j7oPuY++D78Pvw+1j8uPzo/FD9oP0g/mj+uP4w/4j/yP9wABABUAGoAZgB8AEAAgAC6AEwAggCSAJIAiAC0AFYAfgA2ADQAIAAeAD4/6D/WP9A/4j+aP64/aD9cP0I/dj8yPyI/GD8iPww/Cj8EPxI/KD8uPz4/Kj9yP1A/sj+gP/Y/wgAiADQAIABEAKwAmgDIATIBAgFYAXIBSgGsAYoB7gH6AcYCCgIsAeIB1gHIAfIBqgGGAbgBWgF+ASIBNgDMAOIAugBmAGwAOj/KP9I/rD96PxA/JD72PqI+jD6wPmQ+Yj5QPnw+GD4gPiA+MD4MPlo+ej5+PlA+pj68Pqg+zD84PyY/Uj+2P6I/9j/SAD4AJgBAAKIAsACMAOIA9ADOAQYBCAEIAT4AxgEyAOAA3gDOAPAAnAC6AFoAeAAoABAAND/UP/I/ij+wP1o/fj8oPwY/Mj7YPuY+8D7sPug+6D7iPuo+9D76Ps4/LD8SP2o/Sj+cP44/3j/8P+AABABmAEQAsACKAO4A/ADWASIBOgESAVwBdgF6AXIBZgFkAVwBTgFAAUABaAEeAQIBJgDMAPQAmAC0AEwAeAAQAC4/xj/oP74/XD9yPxg/Mj7IPvw+qj6aPoY+uj54PnI+bD5mPl4+Xj5ePn4+Xj6IPsg+6j78PsY/KD8UP0w/rD+iP9AANAAWAEIAsACgAMgBHAE4AQYBdAFQAaoBvgG4AYoBygHSAc4B1AHYAdQB2AHEAfIBiAG2AWQBSAFsAQABHAD2AI4AtABEAGQADAAkP8Q/3D+GP6w/Uj9KP3Y/JD8EPzY+8j7ePu4+6D7uPvo+7D7qPvY++j7OPyY/BD9gP3g/Sj+WP6A/tj+EP+o/+j/OACAAIgA+ABoAcABsAHIAeABIAJQAmACcAJIAlACMAIoAtABeAEwAQgBKAHYAKgAWADY/2D/OP8Y/7D+oP5w/jj+2P3I/aj9gP2I/Vj9EP3Q/PD8+Pw4/XD9eP1Q/Uj9kP2I/fj9SP6Q/rD+uP4A/xj/CP9o/1j/cP9g/4j/eP9w/5j/gP+Y/5j/sP/Q/yAAGAAwAIAAQABQADAAMABgAFgAiACIAFgAYABwAHgAIADQ/9j/IAAgAPj/MAA4AAgA+P/I/6j/yP/I/7j/qP9o/0D/SP8Y/xj/AP/g/qj+cP54/oD+gP64/oj+YP5Q/uD90P0o/nD+qP6Y/uD+GP8g/yj/UP94/+j/EABQALgAAAEQAXgB6AHIAQACUAJwAqgC8AIwA1gDIAMQAygDSANgA5ADoANwA4gDSANQAygDyAKYAlAC6AG4AUAB+AC4AHAA4P+o/xj/yP6I/lj+MP4A/rD9SP3o/KD8iPxQ/DD8KPw4/ED8aPyQ/ID8wPwI/UD9cP24/VD+6P6A/+D/KABYAMgAWAHYATgCsAIQA5AD0AMoBHgE+AQQBWAFiAWwBcgF8AUABhAGoAVoBSgF2ASoBIAEAASoAygDoAIQAlgBsAAoAIj/AP94/hj+cP24/Dj8sPs4+7D6YPr4+fD52Pnw+cj5sPmY+cD56Pko+rD6APt4++j7gPzQ/HD98P2g/ij/2P9QAMAAkAFAAnAC6AKIA+ADaATIBCAFiAWgBfgF4AXwBegFuAWABXAFSAUgBeAEgAQQBHgDCAOQAvgBaAEAAYgAIACY/0j/sP5I/gj+cP34/Lj8aPwI/DD8KPwo/BD8KPwo/Fj8aPyg/Cj9qP1A/pj+8P4I/5D/EACYABABkAH4AWgC+AIoA5AD0AP4AyAEQARoBIgEeASYBFgE+AN4AxAD2AKQApgCCAJQAdgAUAC4/wD/eP7I/SD9aPwA/Ij7GPvY+mj6wPlQ+RD58PjA+LD4wPiQ+Lj46Pj4+Dj5cPng+Wj62PpA++j7aPwA/Yj90P1I/sj+UP/w/6AAMAGoATACwAIYAxgDMAN4A7gDAAQIBPgDwAOwA4ADIAPYArgCQALgAZgBcAEwAbAASACg/xD/uP5A/kD++P0I/uD9qP1w/VD9+PwY/UD9QP2Q/aj94P3w/RD+aP7Y/ij/kP/A/xAAeADQABABcAHAAdAB+AE4AmgCkAKwAtgC+AIIAwADsAKIAnACUAIgAugBiAEwAdgAeAAoAOj/aP/4/qj+eP4o/gD+yP1o/UD9CP3Q/MD8yPwI/XD9WP1Y/Tj9cP2Q/cj9GP5w/vD+QP+I//D/KACAANgAQAG4ASACoALoAkADmAPIA+ADEARYBJAE2AToBBgF+ATwBOAEqASYBJgEYAQYBOADsANYAxgD6AIoAuABmAFgASgB0ACQAFgA+P/Q/4j/QP8Y/wD/2P7g/sD+wP7o/rD+0P7Q/rj+4P4A/zj/UP9o/5D/uP/g//D/AAAQACgASABYAIgAkAB4AJAAoABgACgAGAAIAAAA6P/Y/7D/kP9w/1D/+P6o/lj+OP5I/gD+8P2w/Xj9QP0I/QD9GP0g/UD9eP2Q/Zj9wP3Q/QD+SP6Q/uj+IP+Y/8j/CABIAIgA2AAYAXABoAEQAkACmALYAhgDWAOAA5gDoAOwA7ADyAOwA4ADYAMwA8gCiAJQAhAC+AGYAUgB6AC4AGgA8P+w/2j/CP+4/pD+UP44/vj9gP1Q/Sj9AP3o/Mj88Pzw/AD9CP0g/WD9iP2Y/dj9EP5A/qj+AP8o/5D/8P8gAHgAoADIABgBUAHAAdgBCAIQAjACMAIgAggCEAIIAvAByAGoAWABGAHIAIgAMAD4/8D/eP8o/+j+aP4w/vD9wP1w/Tj98PzQ/MD8sPy4/ID8aPxg/Fj8YPyY/Lj8CP1Y/Yj9qP2w/eD9AP6A/tD+SP9w/9j/EABoAMAAAAEwAVABmAGgAdgB+AEYAgACKAI4AhAC6AHgAegBwAHIAcABmAFAASgB2AC4AJgAcABgAGgASAAIAOj/yP9o/0D/cP9A/zj/OP8Q//j+0P7A/rj+kP5w/nj+gP5g/nj+mP6I/qD+gP6Y/nD+eP6A/mD+cP6I/mj+YP6Q/oD+kP6o/qD+0P6o/tD+2P7g/vj+CP8g/xj/QP9o/8D/4P/w/wAAGABQAHgAsAC4ABABWAGgAdAB+AEIAigCUAJgApgCgAKgAtgC6ALoAgADCAP4AtgCoAJwAkACIALwAeABuAGAATgBKAHIAKAAeAAYAAgAsP9g/xD/oP5w/jD+6P3A/aj9iP1Y/Uj9MP0o/QD9EP1A/Xj9iP2g/bD96P1A/mD+gP6o/tj+CP9Q/6D/GAAwAIAAsADYAPAAMAFwAbgBAAIgAjgCQAIoAkgCWAJoAoACWAJIAmACYAJIAkgCGALwAagBaAFQAVgBEAEAAfgAyACwAIAAWABIAEgAMAAIAMj/uP+Q/5D/oP+o/8j/2P/Y/8D/0P/Q/9D/wP/Q/+D/+P8AAPj/CAAAABAAEAAoAEAAUABYABgACAAIAAgAEAA4ACgAWABoAFgAQAAwAEgAOABIADgAIAD4//j/AAD4/wAAMAAwACAACAAIAAAAAAAYABgACAAIACAAIAA4ADgAWABwAIAAgACIAHgAmACgALAAsACgALgAoACYAKAAmACgALAAmACgAJAAeABwAGgAgABoAEgAMAAgABAA4P/I/6j/kP9Y/0j/GP8Q/wD/0P7Q/pD+gP5o/lD+UP5Q/lj+eP5A/lj+SP44/jj+QP5g/lj+aP6Y/rj+wP74/iD/SP9g/2D/gP+I/7j/wP/Y/+j/CAAIAPD/8P/w/wgA+P/g/9j/2P/A/8D/eP+A/2D/QP9I/0D/CP/o/sj+qP6I/mj+YP44/jj+QP4I/vj9KP44/kj+UP54/oj+sP7Q/vD+MP9Q/4j/wP+g/zAAIACIAKgAAAEgAWABeAFwAbgB0AHgAfABCAIgAjgCQAJAAiACKAIIAugByAGoAbABuAGgAVgBIAEIAcgAkABgAEgAUABIACAA6P/Q/8j/mP94/3D/aP9g/0D/QP9I/yD/OP84/0j/IP9I/0j/aP94/3j/gP+Y/6D/sP+4/9j/6P/g/xAAGAA4ABAAAAAIAAAA+P8QACAAQAAwACgAOAAYADAAKAAIAPj/+P/o/9j/qP/Y/9j/sP+4/5D/kP+w/7D/yP+o/7j/qP+g/8D/4P/Q/8D/yP/w//j/CAAoADAAaAB4AIAAkACIALgAsACoAMAAsACoALAA8ADQAOAA2ADAAKgAmACYAKAAeAB4AGgASABQAGAAaABoAFAAWABgAHAAaABYAFgAeABwAHAAcACQAIAAeACQAJAAcACAAJgAiACwAMgAwADQALgAsADIAMgAyAC4ALgAmACIAIAAcABYAFAAOAAYAAgA8P/o/7j/uP+Q/4D/gP9I/yj/MP8w/wD/+P7Q/qj+kP54/pj+oP6o/qj+eP54/qj+oP64/tj+AP8I/xj/SP84/1j/gP+w/9D/6P8AABAAQABwAIgAsACwAPAAIAFAAVABSAFoAXgBcAGYAagBsAGoAYgBeAGgAYgBcAF4AVgBQAEIAfgAuACAAEAAQAAQAAAAuP+A/0j/OP8I/+D+qP6Y/nD+eP5g/lj+aP5Q/mD+YP5w/nj+mP6w/rj+4P4A/yj/OP9w/5j/mP+o/9j/AAAYAEgAiAB4AKAAuADAALgAAAEgAQABOAEIARAB+ADwAPAA6ADQAMAAqACIAEgAMAAIAPj/6P+w/3j/QP8Y/wj/6P7Y/pj+eP5Y/iD+AP4Y/iD+IP4g/jD+OP5A/kD+MP5A/oj+uP7Y/vD+IP9Q/4D/yP/o/xgAUAB4AKAA2AD4APgAKAFYAZABoAGwAbgBwAHYAdgB4AHwAegB0AGgAYgBeAFQATABGAH4AMgAuABwAGAAGAAAANj/sP+Y/3D/UP8Y//j++P7o/uD+yP7Q/tj+wP7A/sD+wP7w/gj/OP9A/0j/cP+I/7j/+P8QADAASABwAIgAuADYAOgA6ADwAOgA4AAAAfgAIAEwASgBMAE4AQgBEAHwAPAA4ADIAKAAqAB4AGgAGAAIAOj/0P+g/5D/cP9I/0j/QP8g//D+AP8A/+D+8P7Q/uj+8P74/hj/GP8Y/yj/GP8Y/1D/eP+4/7j/0P/A/9D/6P8AACAAKAAwADAAUABYADgAaAB4AFgAWABIAFgAQABQAGgAGAAAAAgAEAD4//j/AADo/9D/wP+o/5D/kP+Q/6D/mP+Q/4j/oP+Q/5D/kP+I/5D/qP+Y/7j/0P/o/wAA8P/o//D/6P/w/wAAEAAIACAACAAoAEgAQABYAFAAUABoAEgASABAACgAGAAoABgAKAA4ACgAIAAIAAgAAADw/+j/+P/w/+j/AAAAAPj/AAAAABgAIAAQACAAQAAoAGgAgACIALAAuADAAOAAAAEwAUgBcAFwAXgBiAGYAZABuAGwAbgBuAGoAaABkAGQAXABYAEoAQAB4ACwAJAAaABQABgA4P+w/3D/KP8Y/9D+oP5w/lD+OP4Q/uD9wP2w/aD9qP2I/Zj9oP2g/cD96P34/TD+UP54/qj++P4o/5D/uP8IAFgAkACwAAABUAGAAcgBEAI4AjgCUAJIAlgCcAJgAlgCOAJAAjACIALgAbABeAFQARAB2ACoAFgAAADQ/6j/WP8Y/7j+iP5Y/gD+wP2g/XD9UP0w/Qj96PzQ/Oj8+Pzw/Pj8CP1A/XD9mP3Q/Qj+QP6A/tD+IP9o/5j/2P8oAHAAoADoADgBSAGIAdAB0AHwARACIAIoAjACSAJAAjgCOAIIAuABqAF4ATgBKAHoALAAeAA4ABgA2P+w/3D/OP8g/+j+wP6Y/pD+cP5g/mj+WP5o/oj+kP7I/vj++P5I/2j/oP/A//D/SACgAMgAAAFAAWgBqAHYAfgBQAJIAlgCcAKAAogCiAKAAngCWAJQAkgCGALoAcABkAFIARAB0ACIAEAA8P+o/1j/CP+w/oD+aP5A/uj9sP2g/Wj9UP1I/Rj9EP0Q/RD9QP0w/WD9mP2Y/dj9KP5Y/pD+6P4w/3D/oP/w/xAAcADAAPgAOAF4AagByAHoARgCKAI4AkgCYAJQAkgCSAIgAgACuAF4AWABKAEIAdAAkABQACgA4P+4/1D/GP+4/nD+WP4Q/tj9mP2Q/XD9WP04/Sj9IP0I/Sj9MP1A/VD9aP2Y/bj9+P0A/lD+gP7Q/vj+QP9w/7j/8P8gAHgAuAAIAUABWAFoAZABmAG4AcgB0AHYAdgB2AG4AagBkAFwAXABUAE4AQgBwACoAHAASAAgAOj/uP+Y/4D/MP/g/uD+wP6Y/oj+aP5Q/kj+UP5Q/mD+cP6I/oj+iP6w/rj+0P7o/iD/KP9Q/4D/mP/Q/+j/EAAwAGgAmACwANgACAEwARgBMAE4AUgBKAFAATgBMAE4ASgBEAEYAfgA+ADoANAA0ADAAKAAkABwAGgAWAAwAPD/6P/Q/+D/4P/w/8j/0P/I/8j/0P/I/+j/8P/o/wAA6P8AAPj/AAAIADAAMAAwADAAQABAAFgAcACQAIAAsAC4ANgAwADgAOAA+ADoANgA2ACwALgAmACIAHgAcABwAGAAWABYAEgASABIAEAASABQAEAAQAAoABgAGAAIAAgAEAD4/wAAAAD4/wAA+P/w/+j/8P8AACAAKAA4AEAAKABYAEgAaABoAGAAeACQALAAkACIAJAAiAB4AIAAiACIAHgAgABwAGAAQAAwACAAIAAoABAAAAD4/wAA6P/Y/9j/wP+g/5j/kP+o/5j/kP+I/6j/mP+w/4j/mP+o/6j/oP+o/8D/qP+4/6j/sP/I/9j/2P/g//D/AAAIABAACAAAAPj/AADo//D/2P+4/6D/mP+o/6j/uP+Y/5D/kP94/3D/eP9w/2D/UP9o/0j/UP9Q/1j/YP94/3D/iP+Q/5j/mP/A/+D/+P8QACAAMAA4AFAAUABwAHgAsADYAOAA6ADwAAgBEAEQAQABOAFAAUABQAFIAVgBUAEoASABCAHgANgAuACgAHgAYAAwAAgA6P+w/3j/UP8w/xj/AP/w/sD+sP6Q/oj+YP5g/mD+SP5g/jj+OP4g/ij+OP44/jj+SP5Y/lj+cP6Q/rD+4P4I/0D/cP+Y/7D/4P8YADAAcACgANAA2ADwAAgBGAE4AWABYAFYAWgBcAFoAWgBSAFQATABIAHoANgAsAB4AJAAkABIAEgAKAAIAPj/wP+Y/5D/eP9o/1D/OP8w/yD/AP8A//D+4P7o/uD+6P74/gD/GP8g/yD/QP9I/2j/iP/A/9j/+P8QABAAIAAQADAAQABAAFgAgACAAJAAmACgAKgAoACoAJAAiACIAHgAaABYAFAAOAAYAAgA+P/Y/8j/uP+Q/3j/YP9I/1D/MP84/zj/KP8Y/xj/EP/o/uj+AP8Q/xD/KP9I/3j/mP+w/8D/0P/g/wAAIAA4AFgAkAC4AMgA4AAQARABGAFIAUgBWAFoAXgBmAGgAagBiAGQAXgBcAFwAVgBUAFIAUABKAEAAfgA0AC4AKgAmACQAHAAaABQAEgAKAAoABAAGAAAAAAACADo//D/0P/A/7j/uP/I/9j/6P/Y//D/+P8IABAAKAAIACgAEAAYABgAKAAYAAAACAAAAAAA+P/o/+D/yP/A/8j/mP+A/2j/cP9I/1D/SP9A/zj/KP8o/wD/+P7g/uj+8P7o/vD++P7o/tD+0P74/uD+8P4A//j+8P4Q/yD/SP9g/3D/cP94/3j/oP+w/8j/6P/4/wgAAAAYABgAGAAwADAAMAAoADAAEAAQAAAAAADo//j/+P/4/+j/8P/4/8j/4P/g/+D/4P/I/9D/yP/Q/9D/2P/Y/9D/uP/Q/8D/2P/A/+D/4P/w//j/8P/4/+j/EAA4ADgASABQAFAASABAADAAOAAYACAAKAAAAPj/CAD4//D/8P/Y/+j/0P/I/8j/oP+Q/5D/cP9g/1D/MP84/zj/OP8o/0j/KP8o/zj/KP9A/1D/SP9o/2j/eP+I/5D/mP+4/+j/4P8IABAAKAA4AFAAeACIAKAAwADIANAA0ADoAOgA+ADwAPgACAEAAfgA6ADYAOAA0AC4AKgAkAB4AGgAWABYAEgAOAAwABgA8P/g/+j/2P+4/8D/uP+4/7j/wP+w/8j/wP+4/8D/yP/g/9j/8P/g//D/+P8AAAAAEAAgADAAKABAAEgAWABgAGAAQABQAFgAWABwAGAAaAB4AFgAUAAwACgAEAAwAAgACAAAAPj/6P/Y/7j/wP+w/5j/kP+Q/5j/mP9w/3D/eP94/2j/gP+Q/6D/2P/Q/+D/8P8AAAAAEAAoAEgAYAB4AKAAqACwANAA4AAAAfgA8ADwAPAAEAEQAQgBEAEIASABAAEAAfgA8AD4AOgA2ADIALAAkACIAHAAYABAAFAAIAAoABAAAADo/9j/2P/I/7D/0P/A/7D/qP+g/6j/oP+w/9D/0P/Y/9j/+P/g/+D/UAB4AHAAeACIAJAAqACYAMAA4AAAATABMAFIATgBGAEoASgBMAEwAVABSAFIATABMAEgAQgBCAEAAdgAyACwAKgAsACQAJAAiABwAGAAOAAoABgAEAD4//j/4P/I/6D/eP9w/2D/UP9Q/0D/IP8w/yD/QP8o/xj/OP8o/xD/GP8g/wj/EP8Y/xj/CP8g/xj/IP8Y/yj/KP8g/xj/IP8Y/wj/GP8o/yD/OP9Q/1D/WP9w/1j/UP9g/2D/YP9Y/2D/aP9w/4j/kP+g/6j/uP+4/6j/oP+w/5j/sP+g/5j/kP+I/3j/cP9g/1j/WP9Y/1D/SP9A/zj/KP8w/zj/OP84/yD/KP8o/yj/KP9A/0j/OP8w/0D/OP9Q/1D/gP9w/4D/aP+A/4j/kP/A/7j/0P/I//D/+P8AABgAMABQAGgAiACQAKgAsACgALgAwADYAPAA6ADgAOgA4ADYAMgAyAC4AMAAwACoAJgAkABwAFgAUABQACgAMAAIABAA+P/g/8D/oP+I/3j/aP9o/2j/YP9A/zj/QP84/0D/UP9Y/1D/aP9o/2j/cP94/5D/kP+Y/7D/sP+4/7D/0P/4/wgAIABAAFgAWABoAIgAgACAAIgAkACQAJAAmACQAJAAiAB4AHAAcABoAFgAUAAwADgAMAAQAAgAAADg/9D/2P/Q/8D/yP+o/6D/iP+I/4j/gP+Q/3j/cP+A/5D/kP+I/5D/mP+o/6j/kP+w/9D/wP/o//D/+P8IABgAIAA4ADgAQABIAFAAUABQAGgAkABwAHAAcABoAHAAWABgAFAAOABAADAAIAAYADAAKAAgADAAIAAYAAAAAADo/wAA+P/4/+j/4P/A/7j/sP+Y/6D/sP+w/8D/wP/Q/9D/0P/Q/9D/2P/g//j/AAAgADAAQABAAGAAeACAAJgAwADAAOAAyADgAMAA6ADgANAA8ADoAAAB+AAIAdgAyADoAOgA2ADYAMgAwAC4AKgAqACQAHgAaABQAEAAKAAYAAgAAAAAAOD/uP+w/7D/oP+Y/5j/gP+A/3j/aP9w/3D/SP9g/2j/YP9g/2j/eP9w/3j/eP9w/3D/iP+Q/5D/mP+4/7j/wP/I/+j/6P/4/wAAAAAIABAAAAAIADAAOAAwAEgAQABIAFAASABQAGgAWABIAEgAUABYAFgAQAAoABgACAAQAPD/2P/Q/+D/yP/A/7j/uP/A/8D/sP+4/6j/oP+Y/4j/mP+Q/4D/gP+A/3j/iP+I/5j/oP+g/7D/yP/Y/+D/4P/g//D/+P8AAAAA6P8QAAAA+P8YABgACAAQACAAGAAYACAAKAA4AEgAUABYAGgAUAA4AEgASABAAEgAQAAoACgAMAAgABAAGAAwADAAIAAQACAAGAAwADgAKAAoADAAIAAYABgAIAAIABAACAAYAAAACAAoACgAMABAADgAUABIAFgAaABoAHgAeABwAGgAUABAADgAKAAwACAAGAAgABgACAAQACAAIAAgADAAQABAAFAAUABQAFAASABIADgAOAAwAEAAOABAACgAIAAgACgAKAAoADAAMAAYADAAMABAAEAAOABQAGgAaABwAIAAcABoAHAAYABIAFgAQABgAFAAcABwAHgAeABwAIAAiAB4AHAAaABoAEAAWABIACgAMAAgACAAAAAAAOj/6P/Q/+j/yP/A/7D/qP+g/4j/iP94/3D/aP9o/3D/OP8w/zj/GP8o/0D/MP9A/0D/OP8w/yj/OP9A/0j/UP9A/2D/WP9o/3j/gP9w/6D/mP+o/7j/qP+4/7D/2P/A/+D/yP/Q//D/6P/o/+D/AAD4/wgAKAAgADgAKAAgACgAMAAoACgACAAAABgAAAAIAAgACAAAAPD/AADw/9j/4P/Q/8j/0P+w/7j/sP+w/5j/iP9w/3D/YP9Y/1j/UP84/yj/IP9I/1j/WP9w/3D/cP+I/4j/eP+Q/4j/oP+w/6j/uP+4/7D/0P/Y//D/AAAIABAAIAAwAEAASABwAHgAcAB4AJAAmACIAIAAcABgAFAAYAAwADAAQAAgAAgACAD4//D/0P/Q/8D/qP+Y/4j/aP9w/2j/YP9A/yD/IP8I//D+GP8I/wj/AP8I/xD/KP9A/0j/UP9Y/3j/eP+Q/6j/yP/Q//D/AAAAADAAQABIAFAAaACIAJgAsAC4ANAA2ADgANAA2ADoAOgAyADQAMAAsACYAIgAgACIAIAAaABgAEgAKAAQAAAA+P/w/+D/wP+4/6D/mP+A/4D/UP9Q/0D/UP9A/xj/IP8g/yD/KP8g/zD/QP9A/0j/YP9w/4D/kP+Y/7D/wP/Q/+D/+P8AAAgAGAAoADgAUABQAGAAcACAAIgAiACIAJgAgACIAJAAiACYAJgAoACIAIgAkACIAHgAcABwAGAAWABAADgAKAAwACAAQAAoACAAKAAYACgAIAAwADAAKAAgADgAIAAgAEAAMABYAFgAaABoAGgAgACAAHAAaACAAHgAiABoAGgAeABgAGgAiABwAGgAQABAACAAIAAQAAAACAAIAAAA6P/Y/9D/4P/Y/8D/0P+4/7D/sP+o/5j/eP9w/0j/UP9I/0j/MP9Y/1j/aP+I/3j/kP+Y/5j/qP/A/8D/wP/Y//j/8P8QABAACAAgABAAEAAgADAAMABIAGAAYABYAFgAaABoAGgAaABoAFAAaABQAFgAUAAwADAAIAAgABAACAAYABAAAAAAAAgA+P8IAPj/CADw/+D/AAAAAAAAAAAYAAgAAAAAAAAAAAD4//j/AAAAAPj/8P/w//D/8P/w/wAACAAQAAAA8P/w//D/4P/w/+D/2P/o/8D/2P/g/7j/0P+w/8D/qP/A/7D/sP+o/7j/uP/I/8j/yP/Y/9j/0P/I/8j/4P/o//j/+P8QAAgAGAAYACAAEAAgAEAASABIAEgAUABgAGAAcABYAFgAaABQAEgAWABIAFgAWABgAFAASABQAEgAQABYAEgAUABYAEgAUAAwADAAOAAYABgAEAAAAPj/+P/4/+D/wP/A/7D/qP+w/6j/sP/Q/8j/2P/g/+D/AAAAAPj/+P8IAPD/AAAQAAgAAAAYABgACAAQABgAIAAgABgAGAAgACAAKAAwADAAKAAgABgAEAAYAAAA+P/o//D/2P/o/+D/0P/Q/9j/2P/I/+j/4P/w/9D/0P/A/7j/qP+w/5D/qP+Y/7D/sP+o/8D/yP/Y/+D/6P/4/wgAKAAwACgAOABAAEgASABAAEAAQAA4ACgAMABIAEgAUABwAGgAaABoAHgAaABoAGgAYABwAFAAWABQAEgASAA4ACgAOAAwABgAKAAAAAgAAAD4//j/6P/o//D/yP/I/9j/4P/g/9D/yP/I/8j/sP/I/8D/yP/Y/9D/4P/Y/+D/4P/Y//D/+P/g/wAACAAIAPD/EAAgADAAIAAQABAAGAAYABAAEAAwAEgAMAAwAEgAMAA4ACgAMAAgADAAKAAoABgACADw/+D/2P+4/8D/wP+g/5j/mP+o/6D/kP+Q/5j/qP+o/5j/qP+g/7D/qP+g/6D/qP+Y/6j/uP/A/8j/2P/Y/wAA8P/4/wAACAAYABgAIAAoABgAOAA4AEAAYAB4AHAAcABwAHgAeABQAGAAOAAgACgACAAQAAgACAAIAPj/4P/Y/+D/uP+w/7D/qP+Q/5j/kP94/2D/UP9A/1D/SP9I/2D/OP9A/0j/UP9Y/1D/UP9I/2D/aP94/4D/gP+Q/6D/oP+o/6D/qP/I/+D/4P/w/wAACAAQAAgAAAAgACAAMAAwAEAASABQAGgAYABoAHAAaACAAGAAaABQAEgASABAADAAMABAADgAMAAgABAAGAAQABgAIAAoABAAGAAoACAAGAAIAAAAAAAQAAAAAAAIAPD/AAAYAOj/AAAQABAAMAAoABgAMABAAEAAIAA4ADgAQABAACAAKAAYADgAKAA4AEgAOABIAFgAYABgAFgAcABwAIgAiACAAGAAaABwAHAAgABoAGAAeABIAGAAcABYAGgAUABIAFgAUABQAGAAWABgAGAAYABoAEgASABIADAAKAAwACgAIAAYABAACAAIAPj/6P/4/wAA+P/w/+j/AADo/+j/AADY//j/AADw//j/4P/Q/9j/2P/g/8D/uP/Q/8D/uP/I/8D/0P/Q/9D/wP+4/7D/mP+Y/5D/eP9w/2j/cP9g/2j/YP9Q/1j/WP9g/1j/cP94/4D/gP+A/4j/aP9g/2D/UP9o/2j/cP9Y/4D/gP94/4j/kP+Q/6D/sP+4/9j/4P8IAAAAAAAYABgAEAAQABgAKAAwACAAGAAgAEAAMAAwADgAKAAwADgAOAAYADAAGAAgABAAGAAAAAgAAADg/9D/yP/Y/9D/wP+4/8j/2P+4/7D/sP+4/8D/qP+Y/4j/cP9w/3D/cP9w/4j/kP+Y/6D/sP+w/7j/uP/Y/+D/4P8QAAgAIABAAEgAUABgAHAAeAB4AJAAmACoALAAuADAAMgAyADYAMAAuADAALAAoACYAJAAcABwAFAAQAAwABgAAAAQAOj/4P/Y/6D/oP+Y/4D/aP9g/1D/QP9I/1j/SP84/zD/SP9g/2j/cP+A/3j/iP+A/5j/kP+w/8D/4P/4//D/AAAQACAAUABAAFAAWACAAJAAiACIAIgAcAB4AGAAWABoAEgAUABIADAAMAAoACgAGAAQAPD/8P8AAPD/8P/Y/+D/+P/Q/8D/yP+w/7D/sP+w/6j/oP+g/5D/iP+I/5j/qP+o/6j/wP/Y/+D/8P8IACAAMAAoAEAAUABYAGAAcACIAKAAoACIAKgAsACwAKgAqACgALgAsACoAKgAsACgAJgAmACAAIgAYABQAFAASABgAEgASAAoADAAKAAYAAAAEAAYABAAAAAAAAAAAAAQAAgAAAAQAAgAAAAYACgAIAA4AEAAWABoAHAAeACIAIAAiACAAIAAcACAAIgAiACIAIgAeACAAHAAeABoAHgAeABIAEgAKAAoADgAMAAwADAAMAAYAAAAAADo/+j/+P/w//j/8P/g/+j/0P/I/7j/wP/A/7j/sP+w/7D/uP+w/5j/sP+o/7D/sP/A/8j/wP/I/+D/2P/g/+j/0P+4/9D/yP/Q/7j/uP/I/8D/wP+o/5j/gP94/2D/cP9w/4D/aP9w/1j/WP9g/0j/UP9Y/1D/QP9Q/zj/QP8o/zj/QP8w/0D/MP9I/1j/WP9o/2j/YP+A/2j/eP94/2D/aP94/3D/cP+Y/6D/sP+o/8D/uP+4/7j/sP/A/8D/uP+4/5j/uP+g/5j/mP+g/5j/kP+A/5D/iP+g/5j/sP+Y/4j/mP+g/5D/qP+Y/5D/mP+Y/4j/sP+o/7D/wP/Q/9D/0P8AAAgAAAAAACgAMAAwADgAWABYAFAAaABgAGAAUABgAFgA" preload="auto"></audio><div class="toast" ng-repeat="toast in toasty" ng-class="[toast.type, toast.interact, toast.shake, toast.theme]" ng-click="clickToasty(toast)"><div ng-click="close(toast.id)" class="close-button" ng-if="toast.showClose"></div><div ng-if="toast.title || toast.msg" class="toast-text"><span class="toast-title" ng-if="!toast.html && toast.title" ng-bind="toast.title"></span><span class="toast-title" ng-if="toast.html && toast.title" ng-bind-html="toast.title"></span><br ng-if="toast.title && toast.msg" /><span class="toast-msg" ng-if="!toast.html && toast.msg" ng-bind="toast.msg"></span><span class="toast-msg" ng-if="toast.html && toast.msg" ng-bind-html="toast.msg"></span><div layout="row"><span ng-if="toast.onAccept" class="md-button md-raised md-accent" ng-click="toast.onAccept()">ACCEPT</span><span ng-if="toast.onReject" class="md-button md-raised md-warn" ng-click="toast.onReject()">REJECT</span></div></div></div></div>'}}]),angular.module("angular-toasty").provider("toastyConfig",function(){var e={limit:5,showClose:!0,clickToClose:!1,position:"bottom-right",timeout:5e3,sound:!0,html:!1,shake:!1,theme:"default"},t={};return{setConfig:function(e){t=e},$get:function(){return{config:angular.extend(e,t)}}}}),angular.module("angular-toasty").factory("toasty",["$rootScope","toastyConfig",function(n,e){var r=e.config,t=function(e,t){(angular.isString(e)&&""!=e||angular.isNumber(e))&&(e={title:e.toString()}),e&&(e.title||e.msg)?(e.type=t||"default",n.$broadcast("toasty-new",{config:r,options:e})):console.error("angular-toasty: No toast title or message specified!")};return t.default=function(e){t(e)},t.info=function(e){t(e,"info")},t.wait=function(e){t(e,"wait")},t.success=function(e){t(e,"success")},t.error=function(e){t(e,"error")},t.warning=function(e){t(e,"warning")},t.clear=function(e){n.$broadcast("toasty-clear",{id:e})},t.getGlobalConfig=function(){return r},t}]),function(e,n,s){"use strict";var a=n.isDefined,p=n.isUndefined,c=n.isFunction,l=n.isString,u=n.isNumber,m=n.isObject,f=n.isArray,g=n.forEach,o=n.extend,d=n.copy,h=n.equals;function _(t){return f(t)?t:Object.keys(t).map(function(e){return t[e]})}function b(e){return null===e}function r(t,n){return-1==Object.keys(t).map(function(e){return n[e]!==s&&n[e]==t[e]}).indexOf(!1)}function v(e,t){function n(e,t,n){for(var r=0;t+r<=e.length;){if(e.charAt(t+r)==n)return r;r++}return-1}for(var r=0,i=0;i<=t.length;i++){var a=n(e,r,t.charAt(i));if(-1==a)return!1;r+=a+1}return!0}function y(e,n,r){var i=0;return e.filter(function(e){var t=a(r)?i<n&&r(e):i<n;return i=t?i+1:i,t})}function i(e,t){return Math.round(e*Math.pow(10,t))/Math.pow(10,t)}function w(e){return e&&e.$evalAsync&&e.$watch}function t(){return function(e,t){return t<e}}function C(){return function(e,t){return t<=e}}function A(){return function(e,t){return e<t}}function S(){return function(e,t){return e<=t}}function T(){return function(e,t){return e==t}}function x(){return function(e,t){return e!=t}}function k(){return function(e,t){return e===t}}function E(){return function(e,t){return e!==t}}function D(n){return function(e,t){return e=m(e)?_(e):e,!(!f(e)||p(t))&&e.some(function(e){return l(t)&&m(e)||c(t)?n(t)(e):e===t})}}function I(i){return function(e,t){if(e=m(e)?_(e):e,!f(e))return e;var n=[],r=i(t);return p(t)?e.filter(function(e,t,n){return n.indexOf(e)===t}):e.filter(function(e){var t=r(e);return!function(e,t){if(p(t))return!1;return e.some(function(e){return h(e,t)})}(n,t)&&(n.push(t),!0)})}}function P(){return function(e){return l(e)?e.split(" ").map(function(e){return e.charAt(0).toUpperCase()+e.substring(1)}).join(" "):e}}String.prototype.contains||(String.prototype.contains=function(){return-1!==String.prototype.indexOf.apply(this,arguments)}),n.module("a8m.angular",[]).filter("isUndefined",function(){return function(e){return n.isUndefined(e)}}).filter("isDefined",function(){return function(e){return n.isDefined(e)}}).filter("isFunction",function(){return function(e){return n.isFunction(e)}}).filter("isString",function(){return function(e){return n.isString(e)}}).filter("isNumber",function(){return function(e){return n.isNumber(e)}}).filter("isArray",function(){return function(e){return n.isArray(e)}}).filter("isObject",function(){return function(e){return n.isObject(e)}}).filter("isEqual",function(){return function(e,t){return n.equals(e,t)}}),n.module("a8m.conditions",[]).filter({isGreaterThan:t,">":t,isGreaterThanOrEqualTo:C,">=":C,isLessThan:A,"<":A,isLessThanOrEqualTo:S,"<=":S,isEqualTo:T,"==":T,isNotEqualTo:x,"!=":x,isIdenticalTo:k,"===":k,isNotIdenticalTo:E,"!==":E}),n.module("a8m.is-null",[]).filter("isNull",function(){return function(e){return b(e)}}),n.module("a8m.after-where",[]).filter("afterWhere",function(){return function(e,t){if(e=m(e)?_(e):e,!f(e)||p(t))return e;var n=e.map(function(e){return r(t,e)}).indexOf(!0);return e.slice(-1===n?0:n)}}),n.module("a8m.after",[]).filter("after",function(){return function(e,t){return e=m(e)?_(e):e,f(e)?e.slice(t):e}}),n.module("a8m.before-where",[]).filter("beforeWhere",function(){return function(e,t){if(e=m(e)?_(e):e,!f(e)||p(t))return e;var n=e.map(function(e){return r(t,e)}).indexOf(!0);return e.slice(0,-1===n?e.length:++n)}}),n.module("a8m.before",[]).filter("before",function(){return function(e,t){return e=m(e)?_(e):e,f(e)?e.slice(0,t?--t:t):e}}),n.module("a8m.chunk-by",["a8m.filter-watcher"]).filter("chunkBy",["filterWatcher",function(o){return function(e,t,n){return o.isMemoized("chunkBy",arguments)||o.memoize("chunkBy",arguments,this,(i=t,a=n,f(r=e)?r.map(function(e,t,n){return t*=i,e=n.slice(t,t+i),!p(a)&&e.length<i?e.concat(function(e,t){for(var n=[];e--;)n[e]=t;return n}(i-e.length,a)):e}).slice(0,Math.ceil(r.length/i)):r));var r,i,a}}]),n.module("a8m.concat",[]).filter("concat",[function(){return function(e,t){if(p(t))return e;if(f(e))return m(t)?e.concat(_(t)):e.concat(t);if(m(e)){var n=_(e);return m(t)?n.concat(_(t)):n.concat(t)}return e}}]),n.module("a8m.contains",[]).filter({contains:["$parse",D],some:["$parse",D]}),n.module("a8m.count-by",[]).filter("countBy",["$parse",function(a){return function(e,t){var n,r={},i=a(t);return e=m(e)?_(e):e,!f(e)||p(t)?e:(e.forEach(function(e){n=i(e),r[n]||(r[n]=0),r[n]++}),r)}}]),n.module("a8m.defaults",[]).filter("defaults",["$parse",function(a){return function(e,i){if(e=m(e)?_(e):e,!f(e)||!m(i))return e;var t=function r(i,a,o){return a=a||[],Object.keys(i).forEach(function(e){if(m(i[e])&&!f(i[e])){var t=o?o+"."+e:o;r(i[e],a,t||e)}else{var n=o?o+"."+e:e;a.push(n)}}),a}(i);return e.forEach(function(r){t.forEach(function(e){var t=a(e),n=t.assign;p(t(r))&&n(r,t(i))})}),e}}]),n.module("a8m.every",[]).filter("every",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!(f(e)&&!p(t))||e.every(function(e){return m(e)||c(t)?n(t)(e):e===t})}}]),n.module("a8m.filter-by",[]).filter("filterBy",["$parse",function(o){return function(e,t,r,i){var a;return r=l(r)||u(r)?String(r).toLowerCase():s,e=m(e)?_(e):e,!f(e)||p(r)?e:e.filter(function(n){return t.some(function(e){if(~e.indexOf("+")){var t=e.replace(/\s+/g,"").split("+");a=t.map(function(e){return o(e)(n)}).join(" ")}else a=o(e)(n);return!(!l(a)&&!u(a))&&(a=String(a).toLowerCase(),i?a===r:a.contains(r))})})}}]),n.module("a8m.first",[]).filter("first",["$parse",function(i){return function(e){var t,n,r;return e=m(e)?_(e):e,f(e)?(r=Array.prototype.slice.call(arguments,1),t=u(r[0])?r[0]:1,n=u(r[0])?u(r[1])?s:r[1]:r[0],r.length?y(e,t,n?i(n):n):e[0]):e}}]),n.module("a8m.flatten",[]).filter("flatten",function(){return function(e,t){return t=t||!1,e=m(e)?_(e):e,f(e)?t?[].concat.apply([],e):function e(t,n){n=n||0;if(n>=t.length)return t;if(f(t[n]))return e(t.slice(0,n).concat(t[n],t.slice(n+1)),n);return e(t,n+1)}(e,0):e}}),n.module("a8m.fuzzy-by",[]).filter("fuzzyBy",["$parse",function(s){return function(e,t,n,r){var i,a,o=r||!1;return e=m(e)?_(e):e,!f(e)||p(t)||p(n)?e:(a=s(t),e.filter(function(e){return i=a(e),!!l(i)&&(i=o?i:i.toLowerCase(),n=o?n:n.toLowerCase(),!1!==v(i,n))}))}}]),n.module("a8m.fuzzy",[]).filter("fuzzy",function(){return function(e,a,t){var o=t||!1;return e=m(e)?_(e):e,!f(e)||p(a)?e:(a=o?a:a.toLowerCase(),e.filter(function(e){return l(e)?!1!==v(e=o?e:e.toLowerCase(),a):!!m(e)&&(t=e,n=a,0<Object.keys(t).filter(function(e){return r=t[e],!!i||!!l(r)&&(r=o?r:r.toLowerCase(),i=!1!==v(r,n))}).length);var t,n,r,i}))}}),n.module("a8m.group-by",["a8m.filter-watcher"]).filter("groupBy",["$parse","filterWatcher",function(o,s){return function(e,t){return!m(e)||p(t)?e:s.isMemoized("groupBy",arguments)||s.memoize("groupBy",arguments,this,(n=e,r=o(t),a={},g(n,function(e){i=r(e),a[i]||(a[i]=[]),a[i].push(e)}),a));var n,r,i,a}}]),n.module("a8m.is-empty",[]).filter("isEmpty",function(){return function(e){return m(e)?!_(e).length:!e.length}}),n.module("a8m.join",[]).filter("join",function(){return function(e,t){return p(e)||!f(e)?e:(p(t)&&(t=" "),e.join(t))}}),n.module("a8m.last",[]).filter("last",["$parse",function(a){return function(e){var t,n,r,i=d(e);return i=m(i)?_(i):i,f(i)?(r=Array.prototype.slice.call(arguments,1),t=u(r[0])?r[0]:1,n=u(r[0])?u(r[1])?s:r[1]:r[0],r.length?y(i.reverse(),t,n?a(n):n).reverse():i[i.length-1]):i}}]),n.module("a8m.map",[]).filter("map",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!f(e)||p(t)?e:e.map(function(e){return n(t)(e)})}}]),n.module("a8m.omit",[]).filter("omit",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!f(e)||p(t)?e:e.filter(function(e){return!n(t)(e)})}}]),n.module("a8m.pick",[]).filter("pick",["$parse",function(n){return function(e,t){return e=m(e)?_(e):e,!f(e)||p(t)?e:e.filter(function(e){return n(t)(e)})}}]),n.module("a8m.range",[]).filter("range",function(){return function(e,t,n,r,i){n=n||0,r=r||1;for(var a=0;a<parseInt(t);a++){var o=n+a*r;e.push(c(i)?i(o):o)}return e}}),n.module("a8m.remove-with",[]).filter("removeWith",function(){return function(e,t){return p(t)?e:(e=m(e)?_(e):e).filter(function(e){return!r(t,e)})}}),n.module("a8m.remove",[]).filter("remove",function(){return function(e){e=m(e)?_(e):e;var n=Array.prototype.slice.call(arguments,1);return f(e)?e.filter(function(t){return!n.some(function(e){return h(e,t)})}):e}}),n.module("a8m.reverse",[]).filter("reverse",[function(){return function(e){return e=m(e)?_(e):e,l(e)?e.split("").reverse().join(""):f(e)?e.slice().reverse():e}}]),n.module("a8m.search-field",[]).filter("searchField",["$parse",function(i){return function(e){var n;e=m(e)?_(e):e;var r=Array.prototype.slice.call(arguments,1);return f(e)&&r.length?e.map(function(t){return n=r.map(function(e){return i(e)(t)}).join(" "),o(t,{searchField:n})}):e}}]),n.module("a8m.to-array",[]).filter("toArray",function(){return function(t,e){return m(t)?e?Object.keys(t).map(function(e){return o(t[e],{$key:e})}):_(t):t}}),n.module("a8m.unique",[]).filter({unique:["$parse",I],uniq:["$parse",I]}),n.module("a8m.where",[]).filter("where",function(){return function(e,t){return p(t)?e:(e=m(e)?_(e):e).filter(function(e){return r(t,e)})}}),n.module("a8m.xor",[]).filter("xor",["$parse",function(a){return function(t,n,r){return r=r||!1,t=m(t)?_(t):t,n=m(n)?_(n):n,f(t)&&f(n)?t.concat(n).filter(function(e){return!(i(e,t)&&i(e,n))}):t;function i(t,e){var n=a(r);return e.some(function(e){return r?h(n(e),n(t)):h(e,t)})}}}]),n.module("a8m.math.abs",[]).filter("abs",function(){return function(e){return Math.abs(e)}}),n.module("a8m.math.byteFmt",[]).filter("byteFmt",function(){var r=[{str:"B",val:1024}];return["KB","MB","GB","TB","PB","EB","ZB","YB"].forEach(function(e,t){r.push({str:e,val:1024*r[t].val})}),function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){for(var n=0;n<r.length-1&&e>=r[n].val;)n++;return i(e/=0<n?r[n-1].val:1,t)+" "+r[n].str}return"NaN"}}),n.module("a8m.math.degrees",[]).filter("degrees",function(){return function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){var n=180*e/Math.PI;return Math.round(n*Math.pow(10,t))/Math.pow(10,t)}return"NaN"}}),n.module("a8m.math.kbFmt",[]).filter("kbFmt",function(){var r=[{str:"KB",val:1024}];return["MB","GB","TB","PB","EB","ZB","YB"].forEach(function(e,t){r.push({str:e,val:1024*r[t].val})}),function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){for(var n=0;n<r.length-1&&e>=r[n].val;)n++;return i(e/=0<n?r[n-1].val:1,t)+" "+r[n].str}return"NaN"}}),n.module("a8m.math.max",[]).filter("max",["$parse",function(a){return function(e,t){return f(e)?p(t)?Math.max.apply(Math,e):e[(n=e,r=t,i=n.map(function(e){return a(r)(e)}),i.indexOf(Math.max.apply(Math,i)))]:e;var n,r,i}}]),n.module("a8m.math.min",[]).filter("min",["$parse",function(a){return function(e,t){return f(e)?p(t)?Math.min.apply(Math,e):e[(n=e,r=t,i=n.map(function(e){return a(r)(e)}),i.indexOf(Math.min.apply(Math,i)))]:e;var n,r,i}}]),n.module("a8m.math.percent",[]).filter("percent",function(){return function(e,t,n){var r=l(e)?Number(e):e;return t=t||100,n=n||!1,!u(r)||isNaN(r)?e:n?Math.round(r/t*100):r/t*100}}),n.module("a8m.math.radians",[]).filter("radians",function(){return function(e,t){if(u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)){var n=3.14159265359*e/180;return Math.round(n*Math.pow(10,t))/Math.pow(10,t)}return"NaN"}}),n.module("a8m.math.radix",[]).filter("radix",function(){return function(e,t){return u(e)&&/^[2-9]$|^[1-2]\d$|^3[0-6]$/.test(t)?e.toString(t).toUpperCase():e}}),n.module("a8m.math.shortFmt",[]).filter("shortFmt",function(){return function(e,t){return u(t)&&isFinite(t)&&t%1==0&&0<=t&&u(e)&&isFinite(e)?e<1e3?""+e:e<1e6?i(e/1e3,t)+" K":e<1e9?i(e/1e6,t)+" M":i(e/1e9,t)+" B":"NaN"}}),n.module("a8m.math.sum",[]).filter("sum",function(){return function(e,t){return f(e)?e.reduce(function(e,t){return e+t},t||0):e}}),n.module("a8m.ends-with",[]).filter("endsWith",function(){return function(e,t,n){var r,i=n||!1;return!l(e)||p(t)?e:(r=(e=i?e:e.toLowerCase()).length-t.length,-1!==e.indexOf(i?t:t.toLowerCase(),r))}}),n.module("a8m.latinize",[]).filter("latinize",[function(){for(var e=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"OE",letters:"\8cŒ"},{base:"oe",letters:"\9cœ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],t={},n=0;n<e.length;n++)for(var r=e[n].letters.split(""),i=0;i<r.length;i++)t[r[i]]=e[n].base;return function(e){return l(e)?e.replace(/[^\u0000-\u007E]/g,function(e){return t[e]||e}):e}}]),n.module("a8m.ltrim",[]).filter("ltrim",function(){return function(e,t){var n=t||"\\s";return l(e)?e.replace(new RegExp("^"+n+"+"),""):e}}),n.module("a8m.match",[]).filter("match",function(){return function(e,t,n){var r=new RegExp(t,n);return l(e)?e.match(r):null}}),n.module("a8m.phoneUS",[]).filter("phoneUS",function(){return function(e){return"("+(e+="").slice(0,3)+") "+e.slice(3,6)+"-"+e.slice(6)}}),n.module("a8m.repeat",[]).filter("repeat",[function(){return function(e,t,n){var r=~~t;return l(e)&&r?function e(t,n,r){if(!n)return t;return t+r+e(t,--n,r)}(e,--t,n||""):e}}]),n.module("a8m.rtrim",[]).filter("rtrim",function(){return function(e,t){var n=t||"\\s";return l(e)?e.replace(new RegExp(n+"+$"),""):e}}),n.module("a8m.slugify",[]).filter("slugify",[function(){return function(e,t){var n=p(t)?"-":t;return l(e)?e.toLowerCase().replace(/\s+/g,n):e}}]),n.module("a8m.split",[]).filter("split",function(){return function(e,t,n){var r,i,a,o;return p(e)||!l(e)?null:(p(t)&&(t=""),isNaN(n)&&(n=0),r=new RegExp(t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),"g"),b(i=e.match(r))||n>=i.length?[e]:0===n?e.split(t):(o=(a=e.split(t)).splice(0,n+1),a.unshift(o.join(t)),a))}}),n.module("a8m.starts-with",[]).filter("startsWith",function(){return function(e,t,n){var r=n||!1;return!l(e)||p(t)?e:!(e=r?e:e.toLowerCase()).indexOf(r?t:t.toLowerCase())}}),n.module("a8m.stringular",[]).filter("stringular",function(){return function(e){var n=Array.prototype.slice.call(arguments,1);return e.replace(/{(\d+)}/g,function(e,t){return p(n[t])?e:n[t]})}}),n.module("a8m.strip-tags",[]).filter("stripTags",function(){return function(e){return l(e)?e.replace(/<\S[^><]*>/g,""):e}}),n.module("a8m.test",[]).filter("test",function(){return function(e,t,n){var r=new RegExp(t,n);return l(e)?r.test(e):e}}),n.module("a8m.trim",[]).filter("trim",function(){return function(e,t){var n=t||"\\s";return l(e)?e.replace(new RegExp("^"+n+"+|"+n+"+$","g"),""):e}}),n.module("a8m.truncate",[]).filter("truncate",function(){return function(e,t,n,r){return t=p(t)?e.length:t,r=r||!1,n=n||"",!l(e)||e.length<=t?e:e.substring(0,r?-1===e.indexOf(" ",t)?e.length:e.indexOf(" ",t):t)+n}}),n.module("a8m.ucfirst",[]).filter({ucfirst:P,titleize:P}),n.module("a8m.uri-component-encode",[]).filter("uriComponentEncode",["$window",function(t){return function(e){return l(e)?t.encodeURIComponent(e):e}}]),n.module("a8m.uri-encode",[]).filter("uriEncode",["$window",function(t){return function(e){return l(e)?t.encodeURI(e):e}}]),n.module("a8m.wrap",[]).filter("wrap",function(){return function(e,t,n){return l(e)&&a(t)?[t,e,n||t].join(""):e}}),n.module("a8m.filter-watcher",[]).provider("filterWatcher",function(){this.$get=["$window","$rootScope",function(r,c){var l={},u={},f=r.setTimeout;function d(e,t){return[e,JSON.stringify(t,(n=[],function(e,t){if(m(t)&&!b(t)){if(~n.indexOf(t))return"[Circular]";n.push(t)}return r==t?"$WINDOW":r.document==t?"$DOCUMENT":w(t)?"$SCOPE":t}))].join("#").replace(/"/g,"");var n}function h(e){var t=e.targetScope.$id;g(u[t],function(e){delete l[e]}),delete u[t]}return{isMemoized:function(e,t){var n=d(e,t);return l[n]},memoize:function(e,t,n,r){var i,a,o,s=d(e,t);return l[s]=r,w(n)?(a=s,o=(i=n).$id,p(u[o])&&(i.$on("$destroy",h),u[o]=[]),u[o].push(a)):f(function(){c.$$phase||(l={})},2e3),r}}}]}),n.module("angular.filter",["a8m.ucfirst","a8m.uri-encode","a8m.uri-component-encode","a8m.slugify","a8m.latinize","a8m.strip-tags","a8m.stringular","a8m.truncate","a8m.starts-with","a8m.ends-with","a8m.wrap","a8m.trim","a8m.ltrim","a8m.rtrim","a8m.repeat","a8m.test","a8m.match","a8m.split","a8m.phoneUS","a8m.to-array","a8m.concat","a8m.contains","a8m.unique","a8m.is-empty","a8m.after","a8m.after-where","a8m.before","a8m.before-where","a8m.defaults","a8m.where","a8m.reverse","a8m.remove","a8m.remove-with","a8m.group-by","a8m.count-by","a8m.chunk-by","a8m.search-field","a8m.fuzzy-by","a8m.fuzzy","a8m.omit","a8m.pick","a8m.every","a8m.filter-by","a8m.xor","a8m.map","a8m.first","a8m.last","a8m.flatten","a8m.join","a8m.range","a8m.math.max","a8m.math.min","a8m.math.abs","a8m.math.percent","a8m.math.radix","a8m.math.sum","a8m.math.degrees","a8m.math.radians","a8m.math.byteFmt","a8m.math.kbFmt","a8m.math.shortFmt","a8m.angular","a8m.conditions","a8m.is-null","a8m.filter-watcher"])}(window,window.angular),Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof module&&"undefined"!=typeof exports?module.exports=t():e.Papa=t()}(this,function(){"use strict";var a,e,u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==u?u:{},i=!u.document&&!!u.postMessage,s=i&&/(\?|&)papaworker(=|&|$)/.test(u.location.search),o=!1,c={},l=0,y={parse:function(e,t){var n=(t=t||{}).dynamicTyping||!1;L(n)&&(t.dynamicTypingFunction=n,n={});if(t.dynamicTyping=n,t.transform=!!L(t.transform)&&t.transform,t.worker&&y.WORKERS_SUPPORTED){var r=function(){if(!y.WORKERS_SUPPORTED)return!1;if(!o&&null===y.SCRIPT_PATH)throw new Error("Script path cannot be determined automatically when Papa Parse is loaded asynchronously. You need to set Papa.SCRIPT_PATH manually.");var e=y.SCRIPT_PATH||a;e+=(-1!==e.indexOf("?")?"&":"?")+"papaworker";var t=new u.Worker(e);return t.onmessage=b,t.id=l++,c[t.id]=t}();return r.userStep=t.step,r.userChunk=t.chunk,r.userComplete=t.complete,r.userError=t.error,t.step=L(t.step),t.chunk=L(t.chunk),t.complete=L(t.complete),t.error=L(t.error),delete t.worker,void r.postMessage({input:e,config:t,workerId:r.id})}var i=null;{if(e===y.NODE_STREAM_INPUT&&"undefined"==typeof PAPA_BROWSER_CONTEXT)return(i=new _(t)).getStream();"string"==typeof e?i=t.download?new h(t):new m(t):!0===e.readable&&L(e.read)&&L(e.on)?i=new g(t):(u.File&&e instanceof File||e instanceof Object)&&(i=new p(t))}return i.stream(e)},unparse:function(e,t){var r=!1,g=!0,_=",",b="\r\n",i='"',n=!1;!function(){if("object"!=typeof t)return;"string"!=typeof t.delimiter||y.BAD_DELIMITERS.filter(function(e){return-1!==t.delimiter.indexOf(e)}).length||(_=t.delimiter);("boolean"==typeof t.quotes||Array.isArray(t.quotes))&&(r=t.quotes);"boolean"!=typeof t.skipEmptyLines&&"string"!=typeof t.skipEmptyLines||(n=t.skipEmptyLines);"string"==typeof t.newline&&(b=t.newline);"string"==typeof t.quoteChar&&(i=t.quoteChar);"boolean"==typeof t.header&&(g=t.header)}();var a=new RegExp(N(i),"g");"string"==typeof e&&(e=JSON.parse(e));if(Array.isArray(e)){if(!e.length||Array.isArray(e[0]))return s(null,e,n);if("object"==typeof e[0])return s(o(e[0]),e,n)}else if("object"==typeof e)return"string"==typeof e.data&&(e.data=JSON.parse(e.data)),Array.isArray(e.data)&&(e.fields||(e.fields=e.meta&&e.meta.fields),e.fields||(e.fields=Array.isArray(e.data[0])?e.fields:o(e.data[0])),Array.isArray(e.data[0])||"object"==typeof e.data[0]||(e.data=[e.data])),s(e.fields||[],e.data||[],n);throw"exception: Unable to serialize unrecognized input";function o(e){if("object"!=typeof e)return[];var t=[];for(var n in e)t.push(n);return t}function s(e,t,n){var r="";"string"==typeof e&&(e=JSON.parse(e)),"string"==typeof t&&(t=JSON.parse(t));var i=Array.isArray(e)&&0<e.length,a=!Array.isArray(t[0]);if(i&&g){for(var o=0;o<e.length;o++)0<o&&(r+=_),r+=v(e[o],o);0<t.length&&(r+=b)}for(var s=0;s<t.length;s++){var c=i?e.length:t[s].length,l=!1,u=i?0===Object.keys(t[s]).length:0===t[s].length;if(n&&!i&&(l="greedy"===n?""===t[s].join("").trim():1===t[s].length&&0===t[s][0].length),"greedy"===n&&i){for(var f=[],d=0;d<c;d++){var h=a?e[d]:d;f.push(t[s][h])}l=""===f.join("").trim()}if(!l){for(var p=0;p<c;p++){0<p&&!u&&(r+=_);var m=i&&a?e[p]:p;r+=v(t[s][m],p)}s<t.length-1&&(!n||0<c&&!u)&&(r+=b)}}return r}function v(e,t){if(null==e)return"";if(e.constructor===Date)return JSON.stringify(e).slice(1,25);e=e.toString().replace(a,i+i);var n="boolean"==typeof r&&r||Array.isArray(r)&&r[t]||function(e,t){for(var n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return!1}(e,y.BAD_DELIMITERS)||-1<e.indexOf(_)||" "===e.charAt(0)||" "===e.charAt(e.length-1);return n?i+e+i:e}}};if(y.RECORD_SEP=String.fromCharCode(30),y.UNIT_SEP=String.fromCharCode(31),y.BYTE_ORDER_MARK="\ufeff",y.BAD_DELIMITERS=["\r","\n",'"',y.BYTE_ORDER_MARK],y.WORKERS_SUPPORTED=!i&&!!u.Worker,y.SCRIPT_PATH=null,y.NODE_STREAM_INPUT=1,y.LocalChunkSize=10485760,y.RemoteChunkSize=5242880,y.DefaultDelimiter=",",y.Parser=v,y.ParserHandle=n,y.NetworkStreamer=h,y.FileStreamer=p,y.StringStreamer=m,y.ReadableStreamStreamer=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&(y.DuplexStreamStreamer=_),u.jQuery){var f=u.jQuery;f.fn.parse=function(s){var n=s.config||{},c=[];return this.each(function(e){if(!("INPUT"===f(this).prop("tagName").toUpperCase()&&"file"===f(this).attr("type").toLowerCase()&&u.FileReader)||!this.files||0===this.files.length)return!0;for(var t=0;t<this.files.length;t++)c.push({file:this.files[t],inputElem:this,instanceConfig:f.extend({},n)})}),e(),this;function e(){if(0!==c.length){var e,t,n,r,i=c[0];if(L(s.before)){var a=s.before(i.file,i.inputElem);if("object"==typeof a){if("abort"===a.action)return e="AbortError",t=i.file,n=i.inputElem,r=a.reason,void(L(s.error)&&s.error({name:e},t,n,r));if("skip"===a.action)return void l();"object"==typeof a.config&&(i.instanceConfig=f.extend(i.instanceConfig,a.config))}else if("skip"===a)return void l()}var o=i.instanceConfig.complete;i.instanceConfig.complete=function(e){L(o)&&o(e,i.file,i.inputElem),l()},y.parse(i.file,i.instanceConfig)}else L(s.complete)&&s.complete()}function l(){c.splice(0,1),e()}}}function d(e){this._handle=null,this._finished=!1,this._completed=!1,this._input=null,this._baseIndex=0,this._partialLine="",this._rowCount=0,this._start=0,this._nextChunk=null,this.isFirstChunk=!0,this._completeResults={data:[],errors:[],meta:{}},function(e){var t=A(e);t.chunkSize=parseInt(t.chunkSize),e.step||e.chunk||(t.chunkSize=null);this._handle=new n(t),(this._handle.streamer=this)._config=t}.call(this,e),this.parseChunk=function(e,t){if(this.isFirstChunk&&L(this._config.beforeFirstChunk)){var n=this._config.beforeFirstChunk(e);void 0!==n&&(e=n)}this.isFirstChunk=!1;var r=this._partialLine+e;this._partialLine="";var i=this._handle.parse(r,this._baseIndex,!this._finished);if(!this._handle.paused()&&!this._handle.aborted()){var a=i.meta.cursor;this._finished||(this._partialLine=r.substring(a-this._baseIndex),this._baseIndex=a),i&&i.data&&(this._rowCount+=i.data.length);var o=this._finished||this._config.preview&&this._rowCount>=this._config.preview;if(s)u.postMessage({results:i,workerId:y.WORKER_ID,finished:o});else if(L(this._config.chunk)&&!t){if(this._config.chunk(i,this._handle),this._handle.paused()||this._handle.aborted())return;i=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(i.data),this._completeResults.errors=this._completeResults.errors.concat(i.errors),this._completeResults.meta=i.meta),this._completed||!o||!L(this._config.complete)||i&&i.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),o||i&&i.meta.paused||this._nextChunk(),i}},this._sendError=function(e){L(this._config.error)?this._config.error(e):s&&this._config.error&&u.postMessage({workerId:y.WORKER_ID,error:e,finished:!1})}}function h(e){var r;(e=e||{}).chunkSize||(e.chunkSize=y.RemoteChunkSize),d.call(this,e),this._nextChunk=i?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(e){this._input=e,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(r=new XMLHttpRequest,this._config.withCredentials&&(r.withCredentials=this._config.withCredentials),i||(r.onload=S(this._chunkLoaded,this),r.onerror=S(this._chunkError,this)),r.open("GET",this._input,!i),this._config.downloadRequestHeaders){var e=this._config.downloadRequestHeaders;for(var t in e)r.setRequestHeader(t,e[t])}if(this._config.chunkSize){var n=this._start+this._config.chunkSize-1;r.setRequestHeader("Range","bytes="+this._start+"-"+n),r.setRequestHeader("If-None-Match","webkit-no-cache")}try{r.send()}catch(e){this._chunkError(e.message)}i&&0===r.status?this._chunkError():this._start+=this._config.chunkSize}},this._chunkLoaded=function(){var e;4===r.readyState&&(r.status<200||400<=r.status?this._chunkError():(this._finished=!this._config.chunkSize||this._start>(null!==(e=r.getResponseHeader("Content-Range"))?parseInt(e.substr(e.lastIndexOf("/")+1)):-1),this.parseChunk(r.responseText)))},this._chunkError=function(e){var t=r.statusText||e;this._sendError(new Error(t))}}function p(e){var r,i;(e=e||{}).chunkSize||(e.chunkSize=y.LocalChunkSize),d.call(this,e);var a="undefined"!=typeof FileReader;this.stream=function(e){this._input=e,i=e.slice||e.webkitSlice||e.mozSlice,a?((r=new FileReader).onload=S(this._chunkLoaded,this),r.onerror=S(this._chunkError,this)):r=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount<this._config.preview)||this._readChunk()},this._readChunk=function(){var e=this._input;if(this._config.chunkSize){var t=Math.min(this._start+this._config.chunkSize,this._input.size);e=i.call(e,this._start,t)}var n=r.readAsText(e,this._config.encoding);a||this._chunkLoaded({target:{result:n}})},this._chunkLoaded=function(e){this._start+=this._config.chunkSize,this._finished=!this._config.chunkSize||this._start>=this._input.size,this.parseChunk(e.target.result)},this._chunkError=function(){this._sendError(r.error)}}function m(e){var n;d.call(this,e=e||{}),this.stream=function(e){return n=e,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var e=this._config.chunkSize,t=e?n.substr(0,e):n;return n=e?n.substr(e):"",this._finished=!n,this.parseChunk(t)}}}function g(e){d.call(this,e=e||{});var t=[],n=!0,r=!1;this.pause=function(){d.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){d.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(e){this._input=e,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){r&&1===t.length&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),t.length?this.parseChunk(t.shift()):n=!0},this._streamData=S(function(e){try{t.push("string"==typeof e?e:e.toString(this._config.encoding)),n&&(n=!1,this._checkIsFinished(),this.parseChunk(t.shift()))}catch(e){this._streamError(e)}},this),this._streamError=S(function(e){this._streamCleanUp(),this._sendError(e)},this),this._streamEnd=S(function(){this._streamCleanUp(),r=!0,this._streamData("")},this),this._streamCleanUp=S(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function _(e){var t=require("stream").Duplex,n=A(e),r=!0,i=!1,a=[],o=null;this._onCsvData=function(e){for(var t=e.data,n=0;n<t.length;n++)o.push(t[n])||this._handle.paused()||this._handle.pause()},this._onCsvComplete=function(){o.push(null)},n.step=S(this._onCsvData,this),n.complete=S(this._onCsvComplete,this),d.call(this,n),this._nextChunk=function(){i&&1===a.length&&(this._finished=!0),a.length?a.shift()():r=!0},this._addToParseQueue=function(e,t){a.push(S(function(){if(this.parseChunk("string"==typeof e?e:e.toString(n.encoding)),L(t))return t()},this)),r&&(r=!1,this._nextChunk())},this._onRead=function(){this._handle.paused()&&this._handle.resume()},this._onWrite=function(e,t,n){this._addToParseQueue(e,n)},this._onWriteComplete=function(){i=!0,this._addToParseQueue("")},this.getStream=function(){return o},(o=new t({readableObjectMode:!0,decodeStrings:!1,read:S(this._onRead,this),write:S(this._onWrite,this)})).once("finish",S(this._onWriteComplete,this))}function n(g){var o,s,c,r=/^\s*-?(\d*\.?\d+|\d+\.?\d*)(e[-+]?\d+)?\s*$/i,i=/(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/,t=this,n=0,a=0,l=!1,e=!1,u=[],f={data:[],errors:[],meta:{}};if(L(g.step)){var d=g.step;g.step=function(e){if(f=e,p())h();else{if(h(),0===f.data.length)return;n+=e.data.length,g.preview&&n>g.preview?s.abort():d(f,t)}}}function _(e){return"greedy"===g.skipEmptyLines?""===e.join("").trim():1===e.length&&0===e[0].length}function h(){if(f&&c&&(b("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+y.DefaultDelimiter+"'"),c=!1),g.skipEmptyLines)for(var e=0;e<f.data.length;e++)_(f.data[e])&&f.data.splice(e--,1);return p()&&function(){if(!f)return;for(var e=0;p()&&e<f.data.length;e++)for(var t=0;t<f.data[e].length;t++){var n=f.data[e][t];g.trimHeaders&&(n=n.trim()),u.push(n)}f.data.splice(0,1)}(),function(){if(!f||!g.header&&!g.dynamicTyping&&!g.transform)return f;for(var e=0;e<f.data.length;e++){var t,n=g.header?{}:[];for(t=0;t<f.data[e].length;t++){var r=t,i=f.data[e][t];g.header&&(r=t>=u.length?"__parsed_extra":u[t]),g.transform&&(i=g.transform(i,r)),i=m(r,i),"__parsed_extra"===r?(n[r]=n[r]||[],n[r].push(i)):n[r]=i}f.data[e]=n,g.header&&(t>u.length?b("FieldMismatch","TooManyFields","Too many fields: expected "+u.length+" fields but parsed "+t,a+e):t<u.length&&b("FieldMismatch","TooFewFields","Too few fields: expected "+u.length+" fields but parsed "+t,a+e))}g.header&&f.meta&&(f.meta.fields=u);return a+=f.data.length,f}()}function p(){return g.header&&0===u.length}function m(e,t){return n=e,g.dynamicTypingFunction&&void 0===g.dynamicTyping[n]&&(g.dynamicTyping[n]=g.dynamicTypingFunction(n)),!0===(g.dynamicTyping[n]||g.dynamicTyping)?"true"===t||"TRUE"===t||"false"!==t&&"FALSE"!==t&&(r.test(t)?parseFloat(t):i.test(t)?new Date(t):""===t?null:t):t;var n}function b(e,t,n,r){f.errors.push({type:e,code:t,message:n,row:r})}this.parse=function(e,t,n){var r=g.quoteChar||'"';if(g.newline||(g.newline=function(e,t){e=e.substr(0,1048576);var n=new RegExp(N(t)+"([^]*?)"+N(t),"gm"),r=(e=e.replace(n,"")).split("\r"),i=e.split("\n"),a=1<i.length&&i[0].length<r[0].length;if(1===r.length||a)return"\n";for(var o=0,s=0;s<r.length;s++)"\n"===r[s][0]&&o++;return o>=r.length/2?"\r\n":"\r"}(e,r)),c=!1,g.delimiter)L(g.delimiter)&&(g.delimiter=g.delimiter(e),f.meta.delimiter=g.delimiter);else{var i=function(e,t,n,r){for(var i,a,o,s=[",","\t","|",";",y.RECORD_SEP,y.UNIT_SEP],c=0;c<s.length;c++){var l=s[c],u=0,f=0,d=0;o=void 0;for(var h=new v({comments:r,delimiter:l,newline:t,preview:10}).parse(e),p=0;p<h.data.length;p++)if(n&&_(h.data[p]))d++;else{var m=h.data[p].length;f+=m,void 0!==o?1<m&&(u+=Math.abs(m-o),o=m):o=0}0<h.data.length&&(f/=h.data.length-d),(void 0===a||a<u)&&1.99<f&&(a=u,i=l)}return{successful:!!(g.delimiter=i),bestDelimiter:i}}(e,g.newline,g.skipEmptyLines,g.comments);i.successful?g.delimiter=i.bestDelimiter:(c=!0,g.delimiter=y.DefaultDelimiter),f.meta.delimiter=g.delimiter}var a=A(g);return g.preview&&g.header&&a.preview++,o=e,s=new v(a),f=s.parse(o,t,n),h(),l?{meta:{paused:!0}}:f||{meta:{paused:!1}}},this.paused=function(){return l},this.pause=function(){l=!0,s.abort(),o=o.substr(s.getCharIndex())},this.resume=function(){l=!1,t.streamer.parseChunk(o,!0)},this.aborted=function(){return e},this.abort=function(){e=!0,s.abort(),f.meta.aborted=!0,L(g.complete)&&g.complete(f),o=""}}function N(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function v(e){var x,k=(e=e||{}).delimiter,E=e.newline,D=e.comments,I=e.step,P=e.preview,M=e.fastMode,$=x=void 0===e.quoteChar?'"':e.quoteChar;if(void 0!==e.escapeChar&&($=e.escapeChar),("string"!=typeof k||-1<y.BAD_DELIMITERS.indexOf(k))&&(k=","),D===k)throw"Comment character same as delimiter";!0===D?D="#":("string"!=typeof D||-1<y.BAD_DELIMITERS.indexOf(D))&&(D=!1),"\n"!==E&&"\r"!==E&&"\r\n"!==E&&(E="\n");var O=0,R=!1;this.parse=function(r,t,n){if("string"!=typeof r)throw"Input must be a string";var i=r.length,e=k.length,a=E.length,o=D.length,s=L(I),c=[],l=[],u=[],f=O=0;if(!r)return S();if(M||!1!==M&&-1===r.indexOf(x)){for(var d=r.split(E),h=0;h<d.length;h++){if(u=d[h],O+=u.length,h!==d.length-1)O+=E.length;else if(n)return S();if(!D||u.substr(0,o)!==D){if(s){if(c=[],y(u.split(k)),T(),R)return S()}else y(u.split(k));if(P&&P<=h)return c=c.slice(0,P),S(!0)}}return S()}for(var p,m=r.indexOf(k,O),g=r.indexOf(E,O),_=new RegExp(N($)+N(x),"g");;)if(r[O]!==x)if(D&&0===u.length&&r.substr(O,o)===D){if(-1===g)return S();O=g+a,g=r.indexOf(E,O),m=r.indexOf(k,O)}else if(-1!==m&&(m<g||-1===g))u.push(r.substring(O,m)),O=m+e,m=r.indexOf(k,O);else{if(-1===g)break;if(u.push(r.substring(O,g)),A(g+a),s&&(T(),R))return S();if(P&&c.length>=P)return S(!0)}else for(p=O,O++;;){if(-1===(p=r.indexOf(x,p+1)))return n||l.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:c.length,index:O}),C();if(p===i-1)return C(r.substring(O,p).replace(_,x));if(x!==$||r[p+1]!==$){if(x===$||0===p||r[p-1]!==$){var b=w(-1===g?m:Math.min(m,g));if(r[p+1+b]===k){u.push(r.substring(O,p).replace(_,x)),O=p+1+b+e,m=r.indexOf(k,O),g=r.indexOf(E,O);break}var v=w(g);if(r.substr(p+1+v,a)===E){if(u.push(r.substring(O,p).replace(_,x)),A(p+1+v+a),m=r.indexOf(k,O),s&&(T(),R))return S();if(P&&c.length>=P)return S(!0);break}l.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:c.length,index:O}),p++}}else p++}return C();function y(e){c.push(e),f=O}function w(e){var t=0;if(-1!==e){var n=r.substring(p+1,e);n&&""===n.trim()&&(t=n.length)}return t}function C(e){return n||(void 0===e&&(e=r.substr(O)),u.push(e),O=i,y(u),s&&T()),S()}function A(e){O=e,y(u),u=[],g=r.indexOf(E,O)}function S(e){return{data:c,errors:l,meta:{delimiter:k,linebreak:E,aborted:R,truncated:!!e,cursor:f+(t||0)}}}function T(){I(S()),c=[],l=[]}},this.abort=function(){R=!0},this.getCharIndex=function(){return O}}function b(e){var t=e.data,n=c[t.workerId],r=!1;if(t.error)n.userError(t.error,t.file);else if(t.results&&t.results.data){var i={abort:function(){r=!0,w(t.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(L(n.userStep)){for(var a=0;a<t.results.data.length&&(n.userStep({data:[t.results.data[a]],errors:t.results.errors,meta:t.results.meta},i),!r);a++);delete t.results}else L(n.userChunk)&&(n.userChunk(t.results,i,t.file),delete t.results)}t.finished&&!r&&w(t.workerId,t.results)}function w(e,t){var n=c[e];L(n.userComplete)&&n.userComplete(t),n.terminate(),delete c[e]}function C(){throw"Not implemented."}function A(e){if("object"!=typeof e||null===e)return e;var t=Array.isArray(e)?[]:{};for(var n in e)t[n]=A(e[n]);return t}function S(e,t){return function(){e.apply(t,arguments)}}function L(e){return"function"==typeof e}return s?u.onmessage=function(e){var t=e.data;void 0===y.WORKER_ID&&t&&(y.WORKER_ID=t.workerId);if("string"==typeof t.input)u.postMessage({workerId:y.WORKER_ID,results:y.parse(t.input,t.config),finished:!0});else if(u.File&&t.input instanceof File||t.input instanceof Object){var n=y.parse(t.input,t.config);n&&u.postMessage({workerId:y.WORKER_ID,results:n,finished:!0})}}:y.WORKERS_SUPPORTED&&(e=document.getElementsByTagName("script"),a=e.length?e[e.length-1].src:"",document.body?document.addEventListener("DOMContentLoaded",function(){o=!0},!0):o=!0),(h.prototype=Object.create(d.prototype)).constructor=h,(p.prototype=Object.create(d.prototype)).constructor=p,(m.prototype=Object.create(m.prototype)).constructor=m,(g.prototype=Object.create(d.prototype)).constructor=g,"undefined"==typeof PAPA_BROWSER_CONTEXT&&((_.prototype=Object.create(d.prototype)).constructor=_),y}),function(){"use strict";var e=angular.module("mdPickers",["ngMaterial","ngAnimate","ngAria"]);function u(t,n,e,r,i,a){var o=this;this.date=moment(i),this.minDate=a.minDate&&moment(a.minDate).isValid()?moment(a.minDate):null,this.maxDate=a.maxDate&&moment(a.maxDate).isValid()?moment(a.maxDate):null,this.displayFormat=a.displayFormat||"ddd, MMM DD",this.dateFilter=angular.isFunction(a.dateFilter)?a.dateFilter:null,this.selectingYear=!1,this.minDate&&this.maxDate&&this.maxDate.isBefore(this.minDate)&&(this.maxDate=moment(this.minDate).add(1,"days")),this.date&&(this.minDate&&this.date.isBefore(this.minDate)&&(this.date=moment(this.minDate)),this.maxDate&&this.date.isAfter(this.maxDate)&&(this.date=moment(this.maxDate))),this.yearItems={currentIndex_:0,PAGE_SIZE:5,START:o.minDate?o.minDate.year():1900,END:o.maxDate?o.maxDate.year():0,getItemAtIndex:function(e){return this.currentIndex_<e&&(this.currentIndex_=e),this.START+e},getLength:function(){return Math.min(this.currentIndex_+Math.floor(this.PAGE_SIZE/2),Math.abs(this.START-this.END)+1)}},t.$mdMedia=e,t.year=this.date.year(),this.selectYear=function(e){o.date.year(e),t.year=e,o.selectingYear=!1,o.animate()},this.showYear=function(){o.yearTopIndex=o.date.year()-o.yearItems.START+Math.floor(o.yearItems.PAGE_SIZE/2),o.yearItems.currentIndex_=o.date.year()-o.yearItems.START+1,o.selectingYear=!0},this.showCalendar=function(){o.selectingYear=!1},this.cancel=function(){n.cancel()},this.confirm=function(){var e=this.date;this.minDate&&this.date.isBefore(this.minDate)&&(e=moment(this.minDate)),this.maxDate&&this.date.isAfter(this.maxDate)&&(e=moment(this.maxDate)),n.hide(e.toDate())},this.animate=function(){o.animating=!0,r(angular.noop).then(function(){o.animating=!1})}}function t(e){var a=this;this.$onInit=function(){a.daysInMonth=[],a.dow=moment.localeData().firstDayOfWeek(),a.weekDays=[].concat(moment.weekdaysMin().slice(a.dow),moment.weekdaysMin().slice(0,a.dow)),e.$watch(function(){return a.date.unix()},function(e,t){e&&e!==t&&a.updateDaysInMonth()}),a.updateDaysInMonth()},this.getDaysInMonth=function(){var e=a.date.daysInMonth(),t=moment(a.date).date(1).day()-this.dow;t<0&&(t=this.weekDays.length-1);for(var n=[],r=1;r<=t+e;r++){var i=null;t<r&&(i={value:r-t,enabled:a.isDayEnabled(moment(a.date).date(r-t).toDate())}),n.push(i)}return n},this.isDayEnabled=function(e){return!(this.minDate&&!(this.minDate<=e)||this.maxDate&&!(this.maxDate>=e)||a.dateFilter&&a.dateFilter(e))},this.selectDate=function(e){a.date.date(e)},this.nextMonth=function(){a.date.add(1,"months")},this.prevMonth=function(){a.date.subtract(1,"months")},this.updateDaysInMonth=function(){a.daysInMonth=a.getDaysInMonth()},e.$watch(function(){return a.date.unix()},function(e,t){e&&e!==t&&a.updateDaysInMonth()})}function _(e,t){return!e||angular.isDate(e)||moment(e,t,!0).isValid()}function r(e,t,n,r){angular.isDate(n)&&(n=moment(n).format(t)),n=moment(n,t,!0);var i=angular.isDate(e)?moment(e):moment(e,t,!0);return!e||angular.isDate(e)||!n.isValid()||r(i,n)}function b(e,t,n){return r(e,t,n,function(e,t){return e.isSameOrAfter(t)})}function v(e,t,n){return r(e,t,n,function(e,t){return e.isSameOrBefore(t)})}function y(e,t,n){var r=angular.isDate(e)?moment(e):moment(e,t,!0);return!e||angular.isDate(e)||!angular.isFunction(n)||!n(r.toDate())}function l(e,t,n,r,i,a){var o=this;this.VIEW_HOURS=1,this.VIEW_MINUTES=2,this.currentView=this.VIEW_HOURS,this.time=moment(n),this.autoSwitch=!!r,this.ampm=!!i,this.hoursFormat=o.ampm?"h":"H",this.minutesFormat="mm",this.clockHours=parseInt(this.time.format(this.hoursFormat)),this.clockMinutes=parseInt(this.time.format(this.minutesFormat)),e.$mdMedia=a,this.switchView=function(){o.currentView=o.currentView==o.VIEW_HOURS?o.VIEW_MINUTES:o.VIEW_HOURS},this.setAM=function(){12<=o.time.hours()&&o.time.hour(o.time.hour()-12)},this.setPM=function(){o.time.hours()<12&&o.time.hour(o.time.hour()+12)},this.cancel=function(){t.cancel()},this.confirm=function(){t.hide(this.time.toDate())}}function n(e){var r=this,i="hours",a="minutes";this.$onInit=function(){switch(r.STEP_DEG=30,r.steps=[],this.CLOCK_TYPES={hours:{range:r.ampm?12:24},minutes:{range:60}},r.type=r.type||"hours",r.type){case i:for(var e=r.ampm?1:2,t=r.ampm?12:23,n=e;n<=t;n+=e)r.steps.push(n);r.ampm||r.steps.push(0),r.selected=r.time.hours()||0,r.ampm&&12<r.selected&&(r.selected-=12);break;case a:for(n=5;n<=55;n+=5)r.steps.push(n);r.steps.push(0),r.selected=r.time.minutes()||0}},this.getPointerStyle=function(){var e=1;switch(r.type){case i:e=r.ampm?12:24;break;case a:e=60}var t=Math.round(r.selected*(360/e))-180;return{"-webkit-transform":"rotate("+t+"deg)","-ms-transform":"rotate("+t+"deg)",transform:"rotate("+t+"deg)"}},this.setTimeByDeg=function(e){e=360<=e?0:e;var t=0;switch(r.type){case i:t=r.ampm?12:24;break;case a:t=60}r.setTime(Math.round(t/360*e))},this.setTime=function(e,t){switch(this.selected=e,r.type){case i:r.ampm&&"PM"==r.time.format("A")&&(e+=12),this.time.hours(e);break;case a:59<e&&(e-=60),this.time.minutes(e)}}}function w(e,t,n,r){angular.isDate(n)&&(n=moment(n).format(t)),n=moment(n,t,!0);var i=angular.isDate(e)?moment(e):moment(e,t,!0);return!e||angular.isDate(e)||!n.isValid()||r(i,n)}e.config(["$mdIconProvider","mdpIconsRegistry",function(n,e){angular.forEach(e,function(e,t){n.icon(e.id,e.url)})}]),e.run(["$templateCache","mdpIconsRegistry",function(n,e){angular.forEach(e,function(e,t){n.put(e.url,e.svg)})}]),e.constant("mdpIconsRegistry",[{id:"mdp-chevron-left",url:"mdp-chevron-left.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'},{id:"mdp-chevron-right",url:"mdp-chevron-right.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'},{id:"mdp-access-time",url:"mdp-access-time.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"/><path d="M0 0h24v24H0z" fill="none"/><path d="M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>'},{id:"mdp-event",url:"mdp-event.svg",svg:'<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"/><path d="M0 0h24v24H0z" fill="none"/></svg>'}]),e.factory("$mdpLocale",[function(){return{time:{minTime:null,maxTime:null,okLabel:"OK",cancelLabel:"Cancel",timeFormat:"HH:mm",noFloat:!1,openOnClick:!1,autoSwitch:!1,ampm:!0,clearOnCancel:!1},date:{minDate:null,maxDate:null,okLabel:"OK",cancelLabel:"Cancel",dateFilter:null,dateFormat:"YYYY-MM-DD",displayFormat:"ddd, MMM DD",noFloat:!1,openOnClick:!1,clearOnCancel:!1}}}]),e.directive("ngMessage",["$mdUtil",function(t){return{restrict:"EA",priority:101,compile:function(e){if(t.getClosest(e,"mdp-time-picker",!0)||t.getClosest(e,"mdp-date-picker",!0))return e.toggleClass("md-input-message-animation",!0),{}}}}]),e.provider("$mdpDatePicker",function(){var o="OK",s="Cancel",c="ddd, MMM DD",l=function(){};this.setDisplayFormat=function(e){c=e},this.setOKButtonLabel=function(e){o=e},this.setCancelButtonLabel=function(e){s=e},this.setDialogParentGetter=function(e){l=e},this.$get=["$mdDialog","$mdpLocale",function(i,a){return function(e,t){angular.isDate(e)||(e=Date.now()),angular.isObject(t)||(t={}),t.displayFormat=t.displayFormat||a.date.displayFormat||c;var n=t.okLabel||a.date.okLabel||o,r=t.cancelLabel||a.date.cancelLabel||s;return i.show({controller:["$scope","$mdDialog","$mdMedia","$timeout","currentDate","options",u],controllerAs:"datepicker",clickOutsideToClose:!0,skipHide:!0,multiple:!0,template:'<md-dialog aria-label="" class="mdp-datepicker" ng-class="{ \'portrait\': !$mdMedia(\'gt-xs\') }"><md-dialog-content layout="row" layout-wrap><div layout="column" layout-align="start center"><md-toolbar layout-align="start start" flex class="mdp-datepicker-date-wrapper md-hue-1 md-primary" layout="column"><span class="mdp-datepicker-year" ng-click="datepicker.showYear()" ng-class="{ \'active\': datepicker.selectingYear }">{{ datepicker.date.format(\'YYYY\') }}</span><span class="mdp-datepicker-date" ng-click="datepicker.showCalendar()" ng-class="{ \'active\': !datepicker.selectingYear }">{{ datepicker.date.format(datepicker.displayFormat) }}</span> </md-toolbar></div><div><div class="mdp-datepicker-select-year mdp-animation-zoom" layout="column" layout-align="center start" ng-if="datepicker.selectingYear"><md-virtual-repeat-container md-auto-shrink md-top-index="datepicker.yearTopIndex"><div flex md-virtual-repeat="item in datepicker.yearItems" md-on-demand class="repeated-year"><span class="md-button" ng-click="datepicker.selectYear(item)" md-ink-ripple ng-class="{ \'md-primary current\': item == year }">{{ item }}</span></div></md-virtual-repeat-container></div><mdp-calendar ng-if="!datepicker.selectingYear" class="mdp-animation-zoom" date="datepicker.date" min-date="datepicker.minDate" date-filter="datepicker.dateFilter" max-date="datepicker.maxDate"></mdp-calendar><md-dialog-actions layout="row"><span flex></span><md-button ng-click="datepicker.cancel()" aria-label="'+r+'">'+r+'</md-button><md-button ng-click="datepicker.confirm()" class="md-primary" aria-label="'+n+'">'+n+"</md-button></md-dialog-actions></div></md-dialog-content></md-dialog>",targetEvent:t.targetEvent,locals:{currentDate:e,options:t},parent:l()})}}]}),e.directive("mdpCalendar",["$animate",function(a){return{restrict:"E",bindToController:{date:"=",minDate:"=",maxDate:"=",dateFilter:"="},template:'<div class="mdp-calendar"><div layout="row" layout-align="space-between center"><md-button aria-label="previous month" class="md-icon-button" ng-click="calendar.prevMonth()"><md-icon md-svg-icon="mdp-chevron-left"></md-icon></md-button><div class="mdp-calendar-monthyear" ng-show="!calendar.animating">{{ calendar.date.format("MMMM YYYY") }}</div><md-button aria-label="next month" class="md-icon-button" ng-click="calendar.nextMonth()"><md-icon md-svg-icon="mdp-chevron-right"></md-icon></md-button></div><div layout="row" layout-align="space-around center" class="mdp-calendar-week-days" ng-show="!calendar.animating"><div layout layout-align="center center" ng-repeat="d in calendar.weekDays track by $index">{{ d }}</div></div><div layout="row" layout-align="start center" layout-wrap class="mdp-calendar-days" ng-class="{ \'mdp-animate-next\': calendar.animating }" ng-show="!calendar.animating" md-swipe-left="calendar.nextMonth()" md-swipe-right="calendar.prevMonth()"><div layout layout-align="center center" ng-repeat-start="day in calendar.daysInMonth track by $index" ng-class="{ \'mdp-day-placeholder\': !day }"><md-button class="md-icon-button" aria-label="Select day" ng-mouseenter="raised = true" ng-mouseleave="raised = false" ng-if="day" ng-class="{ \'md-accent\': calendar.date.date() == day.value, \'md-raised\': raised || calendar.date.date() == day.value }" ng-click="calendar.selectDate(day.value)" ng-disabled="!day.enabled">{{ day.value }}</md-button></div><div flex="100" ng-if="($index + 1) % 7 == 0" ng-repeat-end></div></div></div>',controller:["$scope",t],controllerAs:"calendar",link:function(e,t,n,r){var i=[t[0].querySelector(".mdp-calendar-week-days"),t[0].querySelector(".mdp-calendar-days"),t[0].querySelector(".mdp-calendar-monthyear")].map(function(e){return angular.element(e)});e.raised=!1,e.$watch(function(){return r.date.format("YYYYMM")},function(e,t){var n=null;if(t<e?n="mdp-animate-next":e<t&&(n="mdp-animate-prev"),n)for(var r in i)i[r].addClass(n),a.removeClass(i[r],n)})}}}]),e.directive("mdpDatePicker",["$mdpDatePicker","$timeout","$mdpLocale",function(m,e,g){return{restrict:"E",require:["ngModel","^^?form"],transclude:!0,template:function(e,t){var n=angular.isDefined(t.mdpNoFloat)||g.date.noFloat,r=angular.isDefined(t.mdpOpenOnClick)||g.date.openOnClick;return'<div layout layout-align="start start"><md-button'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+' class="md-icon-button" ng-click="showPicker($event)"><md-icon md-svg-icon="mdp-event"></md-icon></md-button><md-input-container'+(n?" md-no-float":"")+' md-is-error="isError()"><input name="{{ inputName }}" ng-model="model.$viewValue" ng-required="required()" type="{{ ::type }}"'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+' aria-label="{{placeholder}}" placeholder="{{placeholder}}"'+(r?' ng-click="showPicker($event)" ':"")+" /></md-input-container></div>"},scope:{minDate:"=mdpMinDate",maxDate:"=mdpMaxDate",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",dateFilter:"=mdpDateFilter",dateFormat:"@mdpFormat",placeholder:"@mdpPlaceholder",noFloat:"=mdpNoFloat",openOnClick:"=mdpOpenOnClick",disabled:"=?mdpDisabled",inputName:"@?mdpInputName",clearOnCancel:"=?mdpClearOnCancel"},link:{pre:function(e,t,n,r,i){},post:function(r,e,n,t,i){var a=t[0],o=t[1],s={get minDate(){return r.minDate||g.date.minDate},get maxDate(){return r.maxDate||g.date.maxDate},get dateFilter(){return r.dateFilter||g.date.dateFilter},get clearOnCancel(){return angular.isDefined(r.clearOnCancel)?r.clearOnCancel:g.date.clearOnCancel}},c=angular.element(e[0].querySelector("input")),l=angular.element(e[0].querySelector("md-input-container")),u=l.controller("mdInputContainer");i(function(e){l.append(e)});var f=angular.element(l[0].querySelector("[ng-messages]"));function d(e){c[0].value=e,u.setHasValue(!a.$isEmpty(e))}function h(e){var t=moment(e,angular.isDate(e)?null:r.dateFormat,!0),n=t.format(r.dateFormat);t.isValid()?(d(n),a.$setViewValue(n)):(d(e),a.$setViewValue(e)),!a.$pristine&&f.hasClass("md-auto-hide")&&l.hasClass("md-input-invalid")&&f.removeClass("md-auto-hide"),a.$render()}function p(e){e.target.value!==a.$viewVaue&&h(e.target.value)}r.type=r.dateFormat||g.date.dateFormat?"text":"date",r.dateFormat=r.dateFormat||g.date.dateFormat||"YYYY-MM-DD",r.model=a,r.isError=function(){return!!a.$invalid&&(!a.$pristine||null!=o&&o.$submitted)},r.required=function(){return!!n.required},a.$formatters.unshift(function(e){var t=angular.isDate(e)&&moment(e);if(t&&t.isValid()){var n=t.format(r.dateFormat);return d(n),n}return d(null),null}),a.$validators.format=function(e,t){return _(t,r.dateFormat)},a.$validators.minDate=function(e,t){return b(t,r.dateFormat,s.minDate)},a.$validators.maxDate=function(e,t){return v(t,r.dateFormat,s.maxDate)},a.$validators.filter=function(e,t){return y(t,r.dateFormat,s.dateFilter)},a.$validators.required=function(e,t){return angular.isUndefined(n.required)||!1===n.required||!a.$isEmpty(e)||!a.$isEmpty(t)},a.$parsers.unshift(function(e){var t=moment(e,r.dateFormat,!0);if(t.isValid()){if(angular.isDate(a.$modelValue)){var n=moment(a.$modelValue);n.year(t.year()),n.month(t.month()),n.date(t.date()),t=n}return t.toDate()}return null}),r.showPicker=function(e){m(a.$modelValue,{minDate:s.minDate,maxDate:s.maxDate,dateFilter:s.dateFilter,okLabel:r.okLabel,cancelLabel:r.cancelLabel,targetEvent:e}).then(function(e){h(e)},function(e){s.clearOnCancel&&h(null)})},c.on("reset input blur",p),r.$on("$destroy",function(){c.off("reset input blur",p)}),r.$watch("minDate + maxDate",function(){a.$validate()})}}}}]),e.directive("mdpDatePicker",["$mdpDatePicker","$timeout",function(o,e){return{restrict:"A",require:"ngModel",scope:{minDate:"@min",maxDate:"@max",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",dateFilter:"=mdpDateFilter",dateFormat:"@mdpFormat"},link:function(n,e,t,r,i){function a(e){o(r.$modelValue,{minDate:n.minDate,maxDate:n.maxDate,dateFilter:n.dateFilter,okLabel:n.okLabel,cancelLabel:n.cancelLabel,targetEvent:e}).then(function(e){r.$setViewValue(moment(e).format(n.format)),r.$render()})}n.dateFormat=n.dateFormat||"YYYY-MM-DD",r.$validators.format=function(e,t){return _(t,n.format)},r.$validators.minDate=function(e,t){return b(t,n.format,n.minDate)},r.$validators.maxDate=function(e,t){return v(t,n.format,n.maxDate)},r.$validators.filter=function(e,t){return y(t,n.format,n.dateFilter)},e.on("click",a),n.$on("$destroy",function(){e.off("click",a)})}}}]),e.directive("mdpClock",["$animate","$timeout",function(e,s){return{restrict:"E",bindToController:{type:"@?",time:"=",autoSwitch:"=?",ampm:"=?"},replace:!0,template:'<md-card class="mdp-clock"><div class="mdp-clock-container"><md-toolbar class="mdp-clock-center md-primary"></md-toolbar><md-toolbar ng-style="clock.getPointerStyle()" class="mdp-pointer md-primary"><span class="mdp-clock-selected md-button md-raised md-primary"></span></md-toolbar><md-button ng-class="{ \'md-primary\': clock.selected == step, \'md-raised\': raised || clock.selected == step }" ng-mouseenter="raised = true" ng-mouseleave="raised = false" class="md-icon-button mdp-clock-deg{{ ::(clock.STEP_DEG * ($index + 1)) }}" ng-repeat="step in clock.steps" ng-click="clock.setTime(step)">{{ step }}</md-button></div></md-card>',controller:["$scope",n],controllerAs:"clock",link:function(e,t,n,a){angular.element(t[0].querySelector(".mdp-pointer"));var o=e.$parent.timepicker;e.raised=!1;var r=function(e){var t=e.currentTarget.getClientRects()[0],n=e.currentTarget.offsetWidth/2-(e.pageX-t.left),r=e.pageY-t.top-e.currentTarget.offsetHeight/2,i=Math.round(Math.atan2(n,r)*(180/Math.PI));s(function(){a.setTimeByDeg(i+180),a.autoSwitch&&-1!==["mouseup","click"].indexOf(e.type)&&o&&o.switchView()})};t.on("mousedown",function(){t.on("mousemove",r)}),t.on("mouseup",function(e){t.off("mousemove")}),t.on("click",r),e.$on("$destroy",function(){t.off("click",r),t.off("mousemove",r)})}}}]),e.provider("$mdpTimePicker",function(){var o="OK",s="Cancel",c=function(){};this.setOKButtonLabel=function(e){o=e},this.setCancelButtonLabel=function(e){s=e},this.setDialogParentGetter=function(e){c=e},this.$get=["$mdDialog","$mdpLocale",function(i,a){return function(e,t){angular.isDate(e)||(e=Date.now()),angular.isObject(t)||(t={});var n=t.okLabel||a.time.okLabel||o,r=t.cancelLabel||a.time.cancelLabel||s;return i.show({controller:["$scope","$mdDialog","time","autoSwitch","ampm","$mdMedia",l],controllerAs:"timepicker",clickOutsideToClose:!0,skipHide:!0,multiple:!0,template:'<md-dialog aria-label="" class="mdp-timepicker" ng-class="{ \'portrait\': !$mdMedia(\'gt-xs\') }"><md-dialog-content layout-gt-xs="row" layout-wrap><md-toolbar layout-gt-xs="column" layout-xs="row" layout-align="center center" flex class="mdp-timepicker-time md-hue-1 md-primary"><div class="mdp-timepicker-selected-time"><span ng-class="{ \'active\': timepicker.currentView == timepicker.VIEW_HOURS }" ng-click="timepicker.currentView = timepicker.VIEW_HOURS">{{ timepicker.time.format(timepicker.hoursFormat) }}</span>:<span ng-class="{ \'active\': timepicker.currentView == timepicker.VIEW_MINUTES }" ng-click="timepicker.currentView = timepicker.VIEW_MINUTES">{{ timepicker.time.format(timepicker.minutesFormat) }}</span></div><div layout="column" ng-show="timepicker.ampm" class="mdp-timepicker-selected-ampm"><span ng-click="timepicker.setAM()" ng-class="{ \'active\': timepicker.time.hours() < 12 }">AM</span><span ng-click="timepicker.setPM()" ng-class="{ \'active\': timepicker.time.hours() >= 12 }">PM</span></div></md-toolbar><md-content><div class="mdp-clock-switch-container" ng-switch="timepicker.currentView" layout layout-align="center center"><mdp-clock class="mdp-animation-zoom" ampm="timepicker.ampm" auto-switch="timepicker.autoSwitch" time="timepicker.time" type="hours" ng-switch-when="1"></mdp-clock><mdp-clock class="mdp-animation-zoom" ampm="timepicker.ampm" auto-switch="timepicker.autoSwitch" time="timepicker.time" type="minutes" ng-switch-when="2"></mdp-clock></div><md-dialog-actions layout="row"><span flex></span><md-button ng-click="timepicker.cancel()" aria-label="'+r+'">'+r+'</md-button><md-button ng-click="timepicker.confirm()" class="md-primary" aria-label="'+n+'">'+n+"</md-button></md-dialog-actions></md-content></md-dialog-content></md-dialog>",targetEvent:t.targetEvent,locals:{time:e,autoSwitch:t.autoSwitch,ampm:angular.isDefined(t.ampm)?t.ampm:a.time.ampm},parent:c()})}}]}),e.directive("mdpTimePicker",["$mdpTimePicker","$timeout","$mdpLocale",function(m,e,g){return{restrict:"E",require:["ngModel","^^?form"],transclude:!0,template:function(e,t){var n=angular.isDefined(t.mdpNoFloat)||g.time.noFloat,r=angular.isDefined(t.mdpOpenOnClick)||g.time.openOnClick;return'<div layout layout-align="start start"><md-button class="md-icon-button" ng-click="showPicker($event)"'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+'><md-icon md-svg-icon="mdp-access-time"></md-icon></md-button><md-input-container'+(n?" md-no-float":"")+' md-is-error="isError()"><input name="{{ inputName }}" ng-model="model.$viewValue" ng-required="required()" type="{{ ::type }}"'+(angular.isDefined(t.mdpDisabled)?' ng-disabled="disabled"':"")+' aria-label="{{placeholder}}" placeholder="{{placeholder}}"'+(r?' ng-click="showPicker($event)" ':"")+" /></md-input-container></div>"},scope:{minTime:"=?mdpMinTime",maxTime:"=?mdpMaxTime",timeFormat:"@mdpFormat",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",placeholder:"@mdpPlaceholder",autoSwitch:"=?mdpAutoSwitch",disabled:"=?mdpDisabled",ampm:"=?mdpAmpm",inputName:"@?mdpInputName",clearOnCancel:"=?mdpClearOnCancel"},link:function(a,e,n,t,r){var i=t[0],o=t[1],s={get minTime(){return a.minTime||g.time.minTime},get maxTime(){return a.maxTime||g.time.maxTime},get clearOnCancel(){return angular.isDefined(a.clearOnCancel)?a.clearOnCancel:g.time.clearOnCancel}},c=angular.element(e[0].querySelector("input")),l=angular.element(e[0].querySelector("md-input-container")),u=l.controller("mdInputContainer");r(function(e){l.append(e)});var f=angular.element(l[0].querySelector("[ng-messages]"));function d(e){c[0].value=e,u.setHasValue(!i.$isEmpty(e))}function h(e){var t=moment(e,angular.isDate(e)?null:a.timeFormat,!0),n=t.format(a.timeFormat);t.isValid()?(d(n),i.$setViewValue(n)):(d(e),i.$setViewValue(e)),!i.$pristine&&f.hasClass("md-auto-hide")&&l.hasClass("md-input-invalid")&&f.removeClass("md-auto-hide"),i.$render()}function p(e){e.target.value!==i.$viewVaue&&h(e.target.value)}a.type=a.timeFormat||g.time.timeFormat?"text":"time",a.timeFormat=a.timeFormat||g.time.timeFormat||"HH:mm",a.autoSwitch=void 0===a.autoSwitch?g.time.autoSwitch:a.autoSwitch,a.model=i,a.isError=function(){return!!i.$invalid&&(!i.$pristine||null!=o&&o.$submitted)},a.required=function(){return!!n.required},a.$watch(function(){return i.$error},function(e,t){u.setInvalid(!i.$pristine&&!!Object.keys(i.$error).length)},!0),i.$formatters.unshift(function(e){var t=angular.isDate(e)&&moment(e);if(t&&t.isValid()){var n=t.format(a.timeFormat);return d(n),n}return d(null),null}),i.$validators.format=function(e,t){return!t||angular.isDate(t)||moment(t,a.timeFormat,!0).isValid()},i.$validators.required=function(e,t){return angular.isUndefined(n.required)||!1===n.required||!i.$isEmpty(e)||!i.$isEmpty(t)},i.$validators.minTime=function(e,t){return n=t,r=a.timeFormat,i=s.minTime,w(n,r,i,function(e,t){return e.isSameOrAfter(t)});var n,r,i},i.$validators.maxTime=function(e,t){return n=t,r=a.timeFormat,i=s.maxTime,w(n,r,i,function(e,t){return e.isSameOrBefore(t)});var n,r,i},i.$parsers.unshift(function(e){var t=moment(e,a.timeFormat,!0);if(t.isValid()){if(angular.isDate(i.$modelValue)){var n=moment(i.$modelValue);n.minutes(t.minutes()),n.hours(t.hours()),n.seconds(t.seconds()),t=n}return t.toDate()}return null}),a.showPicker=function(e){m(i.$modelValue,{targetEvent:e,okLabel:a.okLabel,cancelLabel:a.cancelLabel,autoSwitch:a.autoSwitch,ampm:a.ampm}).then(function(e){h(e)},function(e){s.clearOnCancel&&h(null)})},c.on("reset input blur",p),a.$on("$destroy",function(){c.off("reset input blur",p)}),a.$watch("minTime + maxTime",function(){i.$validate()})}}}]),e.directive("mdpTimePicker",["$mdpTimePicker","$timeout",function(o,e){return{restrict:"A",require:"ngModel",scope:{timeFormat:"@mdpFormat",okLabel:"@?mdpOkLabel",cancelLabel:"@?mdpCancelLabel",autoSwitch:"=?mdpAutoSwitch",ampm:"=?mdpAmpm"},link:function(t,e,n,r,i){function a(e){o(r.$modelValue,{targetEvent:e,autoSwitch:t.autoSwitch,okLabel:t.okLabel,cancelLabel:t.cancelLabel,ampm:t.ampm}).then(function(e){r.$setViewValue(moment(e).format(t.format)),r.$render()})}t.format=t.format||"HH:mm",e.on("click",a),t.$on("$destroy",function(){e.off("click",a)})}}}])}(),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(P,M){"use strict";if(!P.jstree){var i=0,a=!1,o=!1,s=!1,r=[],e=P("script:last").attr("src"),y=window.document,l=window.setImmediate,n=window.Promise;!l&&n&&(l=function(e,t){n.resolve(t).then(e)}),P.jstree={version:"3.3.14",defaults:{plugins:[]},plugins:{},path:e&&-1!==e.indexOf("/")?e.replace(/\/[^\/]+$/,""):"",idregex:/[\\:&!^|()\[\]<>@*'+~#";.,=\- \/${}%?`]/g,root:"#"},P.jstree.create=function(e,n){var r=new P.jstree.core(++i),t=n;return n=P.extend(!0,{},P.jstree.defaults,n),t&&t.plugins&&(n.plugins=t.plugins),P.each(n.plugins,function(e,t){"core"!==e&&(r=r.plugin(t,n[t]))}),P(e).data("jstree",r),r.init(e,n),r},P.jstree.destroy=function(){P(".jstree:jstree").jstree("destroy"),P(y).off(".jstree")},P.jstree.core=function(e){this._id=e,this._cnt=0,this._wrk=null,this._data={core:{themes:{name:!1,dots:!1,icons:!1,ellipsis:!1},selected:[],last_error:{},working:!1,worker_queue:[],focused:null}}},P.jstree.reference=function(t){var n=null,e=null;if(!t||!t.id||t.tagName&&t.nodeType||(t=t.id),!e||!e.length)try{e=P(t)}catch(e){}if(!e||!e.length)try{e=P("#"+t.replace(P.jstree.idregex,"\\$&"))}catch(e){}return e&&e.length&&(e=e.closest(".jstree")).length&&(e=e.data("jstree"))?n=e:P(".jstree").each(function(){var e=P(this).data("jstree");if(e&&e._model.data[t])return n=e,!1}),n},P.fn.jstree=function(n){var r="string"==typeof n,i=Array.prototype.slice.call(arguments,1),a=null;return!(!0===n&&!this.length)&&(this.each(function(){var e=P.jstree.reference(this),t=r&&e?e[n]:null;if(a=r&&t?t.apply(e,i):null,e||r||n!==M&&!P.isPlainObject(n)||P.jstree.create(this,n),(e&&!r||!0===n)&&(a=e||!1),null!==a&&a!==M)return!1}),null!==a&&a!==M?a:this)},P.expr.pseudos.jstree=P.expr.createPseudo(function(e){return function(e){return P(e).hasClass("jstree")&&P(e).data("jstree")!==M}}),P.jstree.defaults.core={data:!1,strings:!1,check_callback:!1,error:P.noop,animation:200,multiple:!0,themes:{name:!1,url:!1,dir:!1,dots:!0,icons:!0,ellipsis:!1,stripes:!1,variant:!1,responsive:!1},expand_selected_onload:!0,worker:!0,force_text:!1,dblclick_toggle:!0,loaded_state:!1,restore_focus:!0,compute_elements_positions:!1,keyboard:{"ctrl-space":function(e){e.type="click",P(e.currentTarget).trigger(e)},enter:function(e){e.type="click",P(e.currentTarget).trigger(e)},left:function(e){if(e.preventDefault(),this.is_open(e.currentTarget))this.close_node(e.currentTarget);else{var t=this.get_parent(e.currentTarget);t&&t.id!==P.jstree.root&&this.get_node(t,!0).children(".jstree-anchor").trigger("focus")}},up:function(e){e.preventDefault();var t=this.get_prev_dom(e.currentTarget);t&&t.length&&t.children(".jstree-anchor").trigger("focus")},right:function(e){if(e.preventDefault(),this.is_closed(e.currentTarget))this.open_node(e.currentTarget,function(e){this.get_node(e,!0).children(".jstree-anchor").trigger("focus")});else if(this.is_open(e.currentTarget)){var t=this.get_node(e.currentTarget,!0).children(".jstree-children")[0];t&&P(this._firstChild(t)).children(".jstree-anchor").trigger("focus")}},down:function(e){e.preventDefault();var t=this.get_next_dom(e.currentTarget);t&&t.length&&t.children(".jstree-anchor").trigger("focus")},"*":function(e){this.open_all()},home:function(e){e.preventDefault();var t=this._firstChild(this.get_container_ul()[0]);t&&P(t).children(".jstree-anchor").filter(":visible").trigger("focus")},end:function(e){e.preventDefault(),this.element.find(".jstree-anchor").filter(":visible").last().trigger("focus")},f2:function(e){e.preventDefault(),this.edit(e.currentTarget)}}},P.jstree.core.prototype={plugin:function(e,t){var n=P.jstree.plugins[e];return n?(this._data[e]={},n.prototype=this,new n(t,this)):this},init:function(e,t){this._model={data:{},changed:[],force_full_redraw:!1,redraw_timeout:!1,default_state:{loaded:!0,opened:!1,selected:!1,disabled:!1}},this._model.data[P.jstree.root]={id:P.jstree.root,parent:null,parents:[],children:[],children_d:[],state:{loaded:!1}},this.element=P(e).addClass("jstree jstree-"+this._id),this.settings=t,this._data.core.ready=!1,this._data.core.loaded=!1,this._data.core.rtl="rtl"===this.element.css("direction"),this.element[this._data.core.rtl?"addClass":"removeClass"]("jstree-rtl"),this.element.attr("role","tree"),this.settings.core.multiple&&this.element.attr("aria-multiselectable",!0),this.element.attr("tabindex")||this.element.attr("tabindex","0"),this.bind(),this.trigger("init"),this._data.core.original_container_html=this.element.find(" > ul > li").clone(!0),this._data.core.original_container_html.find("li").addBack().contents().filter(function(){return 3===this.nodeType&&(!this.nodeValue||/^\s+$/.test(this.nodeValue))}).remove(),this.element.html("<ul class='jstree-container-ul jstree-children' role='group'><li id='j"+this._id+"_loading' class='jstree-initial-node jstree-loading jstree-leaf jstree-last' role='none'><i class='jstree-icon jstree-ocl'></i><a class='jstree-anchor' role='treeitem' href='#'><i class='jstree-icon jstree-themeicon-hidden'></i>"+this.get_string("Loading ...")+"</a></li></ul>"),this.element.attr("aria-activedescendant","j"+this._id+"_loading"),this._data.core.li_height=this.get_container_ul().children("li").first().outerHeight()||24,this._data.core.node=this._create_prototype_node(),this.trigger("loading"),this.load_node(P.jstree.root)},destroy:function(e){if(this.trigger("destroy"),this._wrk)try{window.URL.revokeObjectURL(this._wrk),this._wrk=null}catch(e){}e||this.element.empty(),this.teardown()},_create_prototype_node:function(){var e,t,n=y.createElement("LI");return n.setAttribute("role","none"),(e=y.createElement("I")).className="jstree-icon jstree-ocl",e.setAttribute("role","presentation"),n.appendChild(e),(e=y.createElement("A")).className="jstree-anchor",e.setAttribute("href","#"),e.setAttribute("tabindex","-1"),e.setAttribute("role","treeitem"),(t=y.createElement("I")).className="jstree-icon jstree-themeicon",t.setAttribute("role","presentation"),e.appendChild(t),n.appendChild(e),e=t=null,n},_kbevent_to_func:function(e){var t={8:"Backspace",9:"Tab",13:"Enter",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock",16:"Shift",17:"Ctrl",18:"Alt",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*",173:"-"},n=[];if(e.ctrlKey&&n.push("ctrl"),e.altKey&&n.push("alt"),e.shiftKey&&n.push("shift"),n.push(t[e.which]?t[e.which].toLowerCase():e.which),"shift-shift"===(n=n.sort().join("-").toLowerCase())||"ctrl-ctrl"===n||"alt-alt"===n)return null;var r,i,a=this.settings.core.keyboard;for(r in a)if(a.hasOwnProperty(r)&&("-"!==(i=r)&&"+"!==i&&(i=(i=i.replace("--","-MINUS").replace("+-","-MINUS").replace("++","-PLUS").replace("-+","-PLUS")).split(/-|\+/).sort().join("-").replace("MINUS","-").replace("PLUS","+").toLowerCase()),i===n))return a[r];return null},teardown:function(){this.unbind(),this.element.removeClass("jstree").removeData("jstree").find("[class^='jstree']").addBack().attr("class",function(){return this.className.replace(/jstree[^ ]*|$/gi,"")}),this.element=null},bind:function(){var a="",o=null,t=0;this.element.on("dblclick.jstree",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;if(y.selection&&y.selection.empty)y.selection.empty();else if(window.getSelection){var t=window.getSelection();try{t.removeAllRanges(),t.collapse()}catch(e){}}}).on("mousedown.jstree",function(e){e.target===this.element[0]&&(e.preventDefault(),t=+new Date)}.bind(this)).on("mousedown.jstree",".jstree-ocl",function(e){e.preventDefault()}).on("click.jstree",".jstree-ocl",function(e){this.toggle_node(e.target)}.bind(this)).on("dblclick.jstree",".jstree-anchor",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;this.settings.core.dblclick_toggle&&this.toggle_node(e.target)}.bind(this)).on("click.jstree",".jstree-anchor",function(e){e.preventDefault(),e.currentTarget!==y.activeElement&&P(e.currentTarget).trigger("focus"),this.activate_node(e.currentTarget,e)}.bind(this)).on("keydown.jstree",".jstree-anchor",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;this._data.core.rtl&&(37===e.which?e.which=39:39===e.which&&(e.which=37));var t=this._kbevent_to_func(e);if(t){var n=t.call(this,e);if(!1===n||!0===n)return n}}.bind(this)).on("load_node.jstree",function(e,t){t.status&&(t.node.id!==P.jstree.root||this._data.core.loaded||(this._data.core.loaded=!0,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.trigger("loaded")),this._data.core.ready||setTimeout(function(){if(this.element&&!this.get_container_ul().find(".jstree-loading").length){if(this._data.core.ready=!0,this._data.core.selected.length){if(this.settings.core.expand_selected_onload){var e,t,n=[];for(e=0,t=this._data.core.selected.length;e<t;e++)n=n.concat(this._model.data[this._data.core.selected[e]].parents);for(e=0,t=(n=P.vakata.array_unique(n)).length;e<t;e++)this.open_node(n[e],!1,0)}this.trigger("changed",{action:"ready",selected:this._data.core.selected})}this.trigger("ready")}}.bind(this),0))}.bind(this)).on("keypress.jstree",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;o&&clearTimeout(o),o=setTimeout(function(){a=""},500);var n=String.fromCharCode(e.which).toLowerCase(),t=this.element.find(".jstree-anchor").filter(":visible"),r=t.index(y.activeElement)||0,i=!1;if(1<(a+=n).length){if(t.slice(r).each(function(e,t){if(0===P(t).text().toLowerCase().indexOf(a))return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return;if(t.slice(0,r).each(function(e,t){if(0===P(t).text().toLowerCase().indexOf(a))return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return}if(new RegExp("^"+n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")+"+$").test(a)){if(t.slice(r+1).each(function(e,t){if(P(t).text().toLowerCase().charAt(0)===n)return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return;if(t.slice(0,r+1).each(function(e,t){if(P(t).text().toLowerCase().charAt(0)===n)return P(t).trigger("focus"),!(i=!0)}.bind(this)),i)return}}.bind(this)).on("init.jstree",function(){var e=this.settings.core.themes;this._data.core.themes.dots=e.dots,this._data.core.themes.stripes=e.stripes,this._data.core.themes.icons=e.icons,this._data.core.themes.ellipsis=e.ellipsis,this.set_theme(e.name||"default",e.url),this.set_theme_variant(e.variant)}.bind(this)).on("loading.jstree",function(){this[this._data.core.themes.dots?"show_dots":"hide_dots"](),this[this._data.core.themes.icons?"show_icons":"hide_icons"](),this[this._data.core.themes.stripes?"show_stripes":"hide_stripes"](),this[this._data.core.themes.ellipsis?"show_ellipsis":"hide_ellipsis"]()}.bind(this)).on("blur.jstree",".jstree-anchor",function(e){this._data.core.focused=null,P(e.currentTarget).filter(".jstree-hovered").trigger("mouseleave"),this.element.attr("tabindex","0"),P(e.currentTarget).attr("tabindex","-1")}.bind(this)).on("focus.jstree",".jstree-anchor",function(e){var t=this.get_node(e.currentTarget);t&&t.id&&(this._data.core.focused=t.id),this.element.find(".jstree-hovered").not(e.currentTarget).trigger("mouseleave"),P(e.currentTarget).trigger("mouseenter"),this.element.attr("tabindex","-1"),P(e.currentTarget).attr("tabindex","0")}.bind(this)).on("focus.jstree",function(){if(500<+new Date-t&&!this._data.core.focused&&this.settings.core.restore_focus){t=0;var e=this.get_node(this.element.attr("aria-activedescendant"),!0);e&&e.find("> .jstree-anchor").trigger("focus")}}.bind(this)).on("mouseenter.jstree",".jstree-anchor",function(e){this.hover_node(e.currentTarget)}.bind(this)).on("mouseleave.jstree",".jstree-anchor",function(e){this.dehover_node(e.currentTarget)}.bind(this))},unbind:function(){this.element.off(".jstree"),P(y).off(".jstree-"+this._id)},trigger:function(e,t){t||(t={}),(t.instance=this).element.triggerHandler(e.replace(".jstree","")+".jstree",t)},get_container:function(){return this.element},get_container_ul:function(){return this.element.children(".jstree-children").first()},get_string:function(e){var t=this.settings.core.strings;return P.vakata.is_function(t)?t.call(this,e):t&&t[e]?t[e]:e},_firstChild:function(e){for(e=e?e.firstChild:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return e},_nextSibling:function(e){for(e=e?e.nextSibling:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return e},_previousSibling:function(e){for(e=e?e.previousSibling:null;null!==e&&1!==e.nodeType;)e=e.previousSibling;return e},get_node:function(e,t){var n;e&&e.id&&(e=e.id),e instanceof P&&e.length&&e[0].id&&(e=e[0].id);try{if(this._model.data[e])e=this._model.data[e];else if("string"==typeof e&&this._model.data[e.replace(/^#/,"")])e=this._model.data[e.replace(/^#/,"")];else if("string"==typeof e&&(n=P("#"+e.replace(P.jstree.idregex,"\\$&"),this.element)).length&&this._model.data[n.closest(".jstree-node").attr("id")])e=this._model.data[n.closest(".jstree-node").attr("id")];else if((n=this.element.find(e)).length&&this._model.data[n.closest(".jstree-node").attr("id")])e=this._model.data[n.closest(".jstree-node").attr("id")];else{if(!(n=this.element.find(e)).length||!n.hasClass("jstree"))return!1;e=this._model.data[P.jstree.root]}return t&&(e=e.id===P.jstree.root?this.element:P("#"+e.id.replace(P.jstree.idregex,"\\$&"),this.element)),e}catch(e){return!1}},get_path:function(e,t,n){if(!(e=e.parents?e:this.get_node(e))||e.id===P.jstree.root||!e.parents)return!1;var r,i,a=[];for(a.push(n?e.id:e.text),r=0,i=e.parents.length;r<i;r++)a.push(n?e.parents[r]:this.get_text(e.parents[r]));return a=a.reverse().slice(1),t?a.join(t):a},get_next_dom:function(e,t){var n;if((e=this.get_node(e,!0))[0]===this.element[0]){for(n=this._firstChild(this.get_container_ul()[0]);n&&0===n.offsetHeight;)n=this._nextSibling(n);return!!n&&P(n)}if(!e||!e.length)return!1;if(t){for(n=e[0];(n=this._nextSibling(n))&&0===n.offsetHeight;);return!!n&&P(n)}if(e.hasClass("jstree-open")){for(n=this._firstChild(e.children(".jstree-children")[0]);n&&0===n.offsetHeight;)n=this._nextSibling(n);if(null!==n)return P(n)}for(n=e[0];(n=this._nextSibling(n))&&0===n.offsetHeight;);return null!==n?P(n):e.parentsUntil(".jstree",".jstree-node").nextAll(".jstree-node:visible").first()},get_prev_dom:function(e,t){var n;if((e=this.get_node(e,!0))[0]===this.element[0]){for(n=this.get_container_ul()[0].lastChild;n&&0===n.offsetHeight;)n=this._previousSibling(n);return!!n&&P(n)}if(!e||!e.length)return!1;if(t){for(n=e[0];(n=this._previousSibling(n))&&0===n.offsetHeight;);return!!n&&P(n)}for(n=e[0];(n=this._previousSibling(n))&&0===n.offsetHeight;);if(null===n)return!(!(n=e[0].parentNode.parentNode)||!n.className||-1===n.className.indexOf("jstree-node"))&&P(n);for(e=P(n);e.hasClass("jstree-open");)e=e.children(".jstree-children").first().children(".jstree-node:visible:last");return e},get_parent:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.parent},get_children_dom:function(e){return(e=this.get_node(e,!0))[0]===this.element[0]?this.get_container_ul().children(".jstree-node"):!(!e||!e.length)&&e.children(".jstree-children").children(".jstree-node")},is_parent:function(e){return(e=this.get_node(e))&&(!1===e.state.loaded||0<e.children.length)},is_loaded:function(e){return(e=this.get_node(e))&&e.state.loaded},is_loading:function(e){return(e=this.get_node(e))&&e.state&&e.state.loading},is_open:function(e){return(e=this.get_node(e))&&e.state.opened},is_closed:function(e){return(e=this.get_node(e))&&this.is_parent(e)&&!e.state.opened},is_leaf:function(e){return!this.is_parent(e)},load_node:function(o,s){var e,t,n,r,i,a=this.get_node(o,!0);if(P.vakata.is_array(o))return this._load_nodes(o.slice(),s),!0;if(!(o=this.get_node(o)))return s&&s.call(this,o,!1),!1;if(o.state.loaded){for(o.state.loaded=!1,n=0,r=o.parents.length;n<r;n++)this._model.data[o.parents[n]].children_d=P.vakata.array_filter(this._model.data[o.parents[n]].children_d,function(e){return-1===P.inArray(e,o.children_d)});for(e=0,t=o.children_d.length;e<t;e++)this._model.data[o.children_d[e]].state.selected&&(i=!0),delete this._model.data[o.children_d[e]];i&&(this._data.core.selected=P.vakata.array_filter(this._data.core.selected,function(e){return-1===P.inArray(e,o.children_d)})),o.children=[],o.children_d=[],i&&this.trigger("changed",{action:"load_node",node:o,selected:this._data.core.selected})}return o.state.failed=!1,o.state.loading=!0,o.id!==P.jstree.root?a.children(".jstree-anchor").attr("aria-busy",!0):a.attr("aria-busy",!0),a.addClass("jstree-loading"),this._load_node(o,function(e){(o=this._model.data[o.id]).state.loading=!1,o.state.loaded=e,o.state.failed=!o.state.loaded;var t,n=this.get_node(o,!0),r=0,i=this._model.data,a=!1;for(r=0,t=o.children.length;r<t;r++)if(i[o.children[r]]&&!i[o.children[r]].state.hidden){a=!0;break}o.state.loaded&&n&&n.length&&(n.removeClass("jstree-closed jstree-open jstree-leaf"),a?"#"!==o.id&&n.addClass(o.state.opened?"jstree-open":"jstree-closed"):n.addClass("jstree-leaf")),o.id!==P.jstree.root?n.children(".jstree-anchor").attr("aria-busy",!1):n.attr("aria-busy",!1),n.removeClass("jstree-loading"),this.trigger("load_node",{node:o,status:e}),s&&s.call(this,o,e)}.bind(this)),!0},_load_nodes:function(e,t,n,r){var i,a,o=!0,s=function(){this._load_nodes(e,t,!0)},c=this._model.data,l=[];for(i=0,a=e.length;i<a;i++)c[e[i]]&&(!c[e[i]].state.loaded&&!c[e[i]].state.failed||!n&&r)&&(this.is_loading(e[i])||this.load_node(e[i],s),o=!1);if(o){for(i=0,a=e.length;i<a;i++)c[e[i]]&&c[e[i]].state.loaded&&l.push(e[i]);t&&!t.done&&(t.call(this,l),t.done=!0)}},load_all:function(e,t){if(e||(e=P.jstree.root),!(e=this.get_node(e)))return!1;var n,r,i=[],a=this._model.data,o=a[e.id].children_d;for(e.state&&!e.state.loaded&&i.push(e.id),n=0,r=o.length;n<r;n++)a[o[n]]&&a[o[n]].state&&!a[o[n]].state.loaded&&i.push(o[n]);i.length?this._load_nodes(i,function(){this.load_all(e,t)}):(t&&t.call(this,e),this.trigger("load_all",{node:e}))},_load_node:function(i,a){var e,t=this.settings.core.data,o=function(){return 3!==this.nodeType&&8!==this.nodeType};return t?P.vakata.is_function(t)?t.call(this,i,function(e){!1===e?a.call(this,!1):this["string"==typeof e?"_append_html_data":"_append_json_data"](i,"string"==typeof e?P(P.parseHTML(e)).filter(o):e,function(e){a.call(this,e)})}.bind(this)):"object"==typeof t?t.url?(t=P.extend(!0,{},t),P.vakata.is_function(t.url)&&(t.url=t.url.call(this,i)),P.vakata.is_function(t.data)&&(t.data=t.data.call(this,i)),P.ajax(t).done(function(e,t,n){var r=n.getResponseHeader("Content-Type");return r&&-1!==r.indexOf("json")||"object"==typeof e?this._append_json_data(i,e,function(e){a.call(this,e)}):r&&-1!==r.indexOf("html")||"string"==typeof e?this._append_html_data(i,P(P.parseHTML(e)).filter(o),function(e){a.call(this,e)}):(this._data.core.last_error={error:"ajax",plugin:"core",id:"core_04",reason:"Could not load node",data:JSON.stringify({id:i.id,xhr:n})},this.settings.core.error.call(this,this._data.core.last_error),a.call(this,!1))}.bind(this)).fail(function(e){this._data.core.last_error={error:"ajax",plugin:"core",id:"core_04",reason:"Could not load node",data:JSON.stringify({id:i.id,xhr:e})},a.call(this,!1),this.settings.core.error.call(this,this._data.core.last_error)}.bind(this))):(e=P.vakata.is_array(t)?P.extend(!0,[],t):P.isPlainObject(t)?P.extend(!0,{},t):t,i.id===P.jstree.root?this._append_json_data(i,e,function(e){a.call(this,e)}):(this._data.core.last_error={error:"nodata",plugin:"core",id:"core_05",reason:"Could not load node",data:JSON.stringify({id:i.id})},this.settings.core.error.call(this,this._data.core.last_error),a.call(this,!1))):"string"==typeof t?i.id===P.jstree.root?this._append_html_data(i,P(P.parseHTML(t)).filter(o),function(e){a.call(this,e)}):(this._data.core.last_error={error:"nodata",plugin:"core",id:"core_06",reason:"Could not load node",data:JSON.stringify({id:i.id})},this.settings.core.error.call(this,this._data.core.last_error),a.call(this,!1)):a.call(this,!1):i.id===P.jstree.root?this._append_html_data(i,this._data.core.original_container_html.clone(!0),function(e){a.call(this,e)}):a.call(this,!1)},_node_changed:function(e){(e=this.get_node(e))&&-1===P.inArray(e.id,this._model.changed)&&this._model.changed.push(e.id)},_append_html_data:function(e,t,n){(e=this.get_node(e)).children=[],e.children_d=[];var r,i,a,o=t.is("ul")?t.children():t,s=e.id,c=[],l=[],u=this._model.data,f=u[s],d=this._data.core.selected.length;for(o.each(function(e,t){(r=this._parse_model_from_html(P(t),s,f.parents.concat()))&&(c.push(r),l.push(r),u[r].children_d.length&&(l=l.concat(u[r].children_d)))}.bind(this)),f.children=c,f.children_d=l,i=0,a=f.parents.length;i<a;i++)u[f.parents[i]].children_d=u[f.parents[i]].children_d.concat(l);this.trigger("model",{nodes:l,parent:s}),s!==P.jstree.root?(this._node_changed(s),this.redraw()):(this.get_container_ul().children(".jstree-initial-node").remove(),this.redraw(!0)),this._data.core.selected.length!==d&&this.trigger("changed",{action:"model",selected:this._data.core.selected}),n.call(this,!0)},_append_json_data:function(e,t,c,n){if(null!==this.element){(e=this.get_node(e)).children=[],e.children_d=[],t.d&&"string"==typeof(t=t.d)&&(t=JSON.parse(t)),P.vakata.is_array(t)||(t=[t]);var r=null,i={df:this._model.default_state,dat:t,par:e.id,m:this._model.data,t_id:this._id,t_cnt:this._cnt,sel:this._data.core.selected},v=this,a=function(e,l){e.data&&(e=e.data);var t,n,r,i,a=e.dat,o=e.par,s=[],c=[],u=[],f=e.df,d=e.t_id,h=e.t_cnt,p=e.m,m=p[o],g=e.sel,_=function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);var r,i,a,o,s=e.id.toString(),c={id:s,text:e.text||"",icon:e.icon===l||e.icon,parent:t,parents:n,children:e.children||[],children_d:e.children_d||[],data:e.data,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(r in f)f.hasOwnProperty(r)&&(c.state[r]=f[r]);if(e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(c.icon=e.data.jstree.icon),c.icon!==l&&null!==c.icon&&""!==c.icon||(c.icon=!0),e&&e.data&&(c.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(c.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(c.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(c.li_attr[r]=e.li_attr[r]);if(c.li_attr.id||(c.li_attr.id=s),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(c.a_attr[r]=e.a_attr[r]);for(e&&e.children&&!0===e.children&&(c.state.loaded=!1,c.children=[],c.children_d=[]),r=0,i=(p[c.id]=c).children.length;r<i;r++)a=_(p[c.children[r]],c.id,n),o=p[a],c.children_d.push(a),o.children_d.length&&(c.children_d=c.children_d.concat(o.children_d));return delete e.data,delete e.children,p[c.id].original=e,c.state.selected&&u.push(c.id),c.id},b=function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);for(var r,i,a,o,s,c=!1;c="j"+d+"_"+ ++h,p[c];);for(r in s={id:!1,text:"string"==typeof e?e:"",icon:"object"!=typeof e||e.icon===l||e.icon,parent:t,parents:n,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1},f)f.hasOwnProperty(r)&&(s.state[r]=f[r]);if(e&&e.id&&(s.id=e.id.toString()),e&&e.text&&(s.text=e.text),e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(s.icon=e.data.jstree.icon),s.icon!==l&&null!==s.icon&&""!==s.icon||(s.icon=!0),e&&e.data&&(s.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(s.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(s.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(s.li_attr[r]=e.li_attr[r]);if(s.li_attr.id&&!s.id&&(s.id=s.li_attr.id.toString()),s.id||(s.id=c),s.li_attr.id||(s.li_attr.id=s.id),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(s.a_attr[r]=e.a_attr[r]);if(e&&e.children&&e.children.length){for(r=0,i=e.children.length;r<i;r++)a=b(e.children[r],s.id,n),o=p[a],s.children.push(a),o.children_d.length&&(s.children_d=s.children_d.concat(o.children_d));s.children_d=s.children_d.concat(s.children)}return e&&e.children&&!0===e.children&&(s.state.loaded=!1,s.children=[],s.children_d=[]),delete e.data,delete e.children,s.original=e,(p[s.id]=s).state.selected&&u.push(s.id),s.id};if(a.length&&a[0].id!==l&&a[0].parent!==l){for(n=0,r=a.length;n<r;n++)a[n].children||(a[n].children=[]),a[n].state||(a[n].state={}),p[a[n].id.toString()]=a[n];for(n=0,r=a.length;n<r;n++)p[a[n].parent.toString()]?(p[a[n].parent.toString()].children.push(a[n].id.toString()),m.children_d.push(a[n].id.toString())):void 0!==v&&(v._data.core.last_error={error:"parse",plugin:"core",id:"core_07",reason:"Node with invalid parent",data:JSON.stringify({id:a[n].id.toString(),parent:a[n].parent.toString()})},v.settings.core.error.call(v,v._data.core.last_error));for(n=0,r=m.children.length;n<r;n++)t=_(p[m.children[n]],o,m.parents.concat()),c.push(t),p[t].children_d.length&&(c=c.concat(p[t].children_d));for(n=0,r=m.parents.length;n<r;n++)p[m.parents[n]].children_d=p[m.parents[n]].children_d.concat(c);i={cnt:h,mod:p,sel:g,par:o,dpc:c,add:u}}else{for(n=0,r=a.length;n<r;n++)(t=b(a[n],o,m.parents.concat()))&&(s.push(t),c.push(t),p[t].children_d.length&&(c=c.concat(p[t].children_d)));for(m.children=s,m.children_d=c,n=0,r=m.parents.length;n<r;n++)p[m.parents[n]].children_d=p[m.parents[n]].children_d.concat(c);i={cnt:h,mod:p,sel:g,par:o,dpc:c,add:u}}if("undefined"!=typeof window&&void 0!==window.document)return i;postMessage(i)},o=function(e,t){if(null!==this.element){this._cnt=e.cnt;var n,r=this._model.data;for(n in r)r.hasOwnProperty(n)&&r[n].state&&r[n].state.loading&&e.mod[n]&&(e.mod[n].state.loading=!0);if(this._model.data=e.mod,t){var i,a=e.add,o=e.sel,s=this._data.core.selected.slice();if(r=this._model.data,o.length!==s.length||P.vakata.array_unique(o.concat(s)).length!==o.length){for(n=0,i=o.length;n<i;n++)-1===P.inArray(o[n],a)&&-1===P.inArray(o[n],s)&&(r[o[n]].state.selected=!1);for(n=0,i=s.length;n<i;n++)-1===P.inArray(s[n],o)&&(r[s[n]].state.selected=!0)}}e.add.length&&(this._data.core.selected=this._data.core.selected.concat(e.add)),this.trigger("model",{nodes:e.dpc,parent:e.par}),e.par!==P.jstree.root?(this._node_changed(e.par),this.redraw()):this.redraw(!0),e.add.length&&this.trigger("changed",{action:"model",selected:this._data.core.selected}),!t&&l?l(function(){c.call(v,!0)}):c.call(v,!0)}};if(this.settings.core.worker&&window.Blob&&window.URL&&window.Worker)try{null===this._wrk&&(this._wrk=window.URL.createObjectURL(new window.Blob(["self.onmessage = "+a.toString()],{type:"text/javascript"}))),!this._data.core.working||n?(this._data.core.working=!0,(r=new window.Worker(this._wrk)).onmessage=function(e){o.call(this,e.data,!0);try{r.terminate(),r=null}catch(e){}this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1}.bind(this),r.onerror=function(e){o.call(this,a(i),!1),this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1}.bind(this),i.par?r.postMessage(i):this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1):this._data.core.worker_queue.push([e,t,c,!0])}catch(e){o.call(this,a(i),!1),this._data.core.worker_queue.length?this._append_json_data.apply(this,this._data.core.worker_queue.shift()):this._data.core.working=!1}else o.call(this,a(i),!1)}},_parse_model_from_html:function(e,t,n){n=n?[].concat(n):[],t&&n.unshift(t);var r,i,a,o,s,c=this._model.data,l={id:!1,text:!1,icon:!0,parent:t,parents:n,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(a in this._model.default_state)this._model.default_state.hasOwnProperty(a)&&(l.state[a]=this._model.default_state[a]);if(o=P.vakata.attributes(e,!0),P.each(o,function(e,t){if(!(t=P.vakata.trim(t)).length)return!0;l.li_attr[e]=t,"id"===e&&(l.id=t.toString())}),(o=e.children("a").first()).length&&(o=P.vakata.attributes(o,!0),P.each(o,function(e,t){(t=P.vakata.trim(t)).length&&(l.a_attr[e]=t)})),(o=e.children("a").first().length?e.children("a").first().clone():e.clone()).children("ins, i, ul").remove(),o=o.html(),o=P("<div></div>").html(o),l.text=this.settings.core.force_text?o.text():o.html(),o=e.data(),l.data=o?P.extend(!0,{},o):null,l.state.opened=e.hasClass("jstree-open"),l.state.selected=e.children("a").hasClass("jstree-clicked"),l.state.disabled=e.children("a").hasClass("jstree-disabled"),l.data&&l.data.jstree)for(a in l.data.jstree)l.data.jstree.hasOwnProperty(a)&&(l.state[a]=l.data.jstree[a]);for((o=e.children("a").children(".jstree-themeicon")).length&&(l.icon=!o.hasClass("jstree-themeicon-hidden")&&o.attr("rel")),l.state.icon!==M&&(l.icon=l.state.icon),l.icon!==M&&null!==l.icon&&""!==l.icon||(l.icon=!0),o=e.children("ul").children("li");c[s="j"+this._id+"_"+ ++this._cnt];);return l.id=l.li_attr.id?l.li_attr.id.toString():s,o.length?(o.each(function(e,t){r=this._parse_model_from_html(P(t),l.id,n),i=this._model.data[r],l.children.push(r),i.children_d.length&&(l.children_d=l.children_d.concat(i.children_d))}.bind(this)),l.children_d=l.children_d.concat(l.children)):e.hasClass("jstree-closed")&&(l.state.loaded=!1),l.li_attr.class&&(l.li_attr.class=l.li_attr.class.replace("jstree-closed","").replace("jstree-open","")),l.a_attr.class&&(l.a_attr.class=l.a_attr.class.replace("jstree-clicked","").replace("jstree-disabled","")),(c[l.id]=l).state.selected&&this._data.core.selected.push(l.id),l.id},_parse_model_from_flat_json:function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);var r,i,a,o,s=e.id.toString(),c=this._model.data,l=this._model.default_state,u={id:s,text:e.text||"",icon:e.icon===M||e.icon,parent:t,parents:n,children:e.children||[],children_d:e.children_d||[],data:e.data,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(r in l)l.hasOwnProperty(r)&&(u.state[r]=l[r]);if(e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(u.icon=e.data.jstree.icon),u.icon!==M&&null!==u.icon&&""!==u.icon||(u.icon=!0),e&&e.data&&(u.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(u.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(u.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(u.li_attr[r]=e.li_attr[r]);if(u.li_attr.id||(u.li_attr.id=s),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(u.a_attr[r]=e.a_attr[r]);for(e&&e.children&&!0===e.children&&(u.state.loaded=!1,u.children=[],u.children_d=[]),r=0,i=(c[u.id]=u).children.length;r<i;r++)o=c[a=this._parse_model_from_flat_json(c[u.children[r]],u.id,n)],u.children_d.push(a),o.children_d.length&&(u.children_d=u.children_d.concat(o.children_d));return delete e.data,delete e.children,c[u.id].original=e,u.state.selected&&this._data.core.selected.push(u.id),u.id},_parse_model_from_json:function(e,t,n){n=n?n.concat():[],t&&n.unshift(t);for(var r,i,a,o,s,c=!1,l=this._model.data,u=this._model.default_state;l[c="j"+this._id+"_"+ ++this._cnt];);for(r in s={id:!1,text:"string"==typeof e?e:"",icon:"object"!=typeof e||e.icon===M||e.icon,parent:t,parents:n,children:[],children_d:[],data:null,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1},u)u.hasOwnProperty(r)&&(s.state[r]=u[r]);if(e&&e.id&&(s.id=e.id.toString()),e&&e.text&&(s.text=e.text),e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(s.icon=e.data.jstree.icon),s.icon!==M&&null!==s.icon&&""!==s.icon||(s.icon=!0),e&&e.data&&(s.data=e.data,e.data.jstree))for(r in e.data.jstree)e.data.jstree.hasOwnProperty(r)&&(s.state[r]=e.data.jstree[r]);if(e&&"object"==typeof e.state)for(r in e.state)e.state.hasOwnProperty(r)&&(s.state[r]=e.state[r]);if(e&&"object"==typeof e.li_attr)for(r in e.li_attr)e.li_attr.hasOwnProperty(r)&&(s.li_attr[r]=e.li_attr[r]);if(s.li_attr.id&&!s.id&&(s.id=s.li_attr.id.toString()),s.id||(s.id=c),s.li_attr.id||(s.li_attr.id=s.id),e&&"object"==typeof e.a_attr)for(r in e.a_attr)e.a_attr.hasOwnProperty(r)&&(s.a_attr[r]=e.a_attr[r]);if(e&&e.children&&e.children.length){for(r=0,i=e.children.length;r<i;r++)o=l[a=this._parse_model_from_json(e.children[r],s.id,n)],s.children.push(a),o.children_d.length&&(s.children_d=s.children_d.concat(o.children_d));s.children_d=s.children.concat(s.children_d)}return e&&e.children&&!0===e.children&&(s.state.loaded=!1,s.children=[],s.children_d=[]),delete e.data,delete e.children,s.original=e,(l[s.id]=s).state.selected&&this._data.core.selected.push(s.id),s.id},_redraw:function(){var e,t,n,r=this._model.force_full_redraw?this._model.data[P.jstree.root].children.concat([]):this._model.changed.concat([]),i=y.createElement("UL"),a=this._data.core.focused;for(t=0,n=r.length;t<n;t++)(e=this.redraw_node(r[t],!0,this._model.force_full_redraw))&&this._model.force_full_redraw&&i.appendChild(e);this._model.force_full_redraw&&(i.className=this.get_container_ul()[0].className,i.setAttribute("role","presentation"),this.element.empty().append(i)),null!==a&&this.settings.core.restore_focus&&((e=this.get_node(a,!0))&&e.length&&e.children(".jstree-anchor")[0]!==y.activeElement?e.children(".jstree-anchor").trigger("focus"):this._data.core.focused=null),this._model.force_full_redraw=!1,this._model.changed=[],this.trigger("redraw",{nodes:r})},redraw:function(e){e&&(this._model.force_full_redraw=!0),this._redraw()},draw_children:function(e){var t=this.get_node(e),n=!1,r=!1,i=!1,a=y;if(!t)return!1;if(t.id===P.jstree.root)return this.redraw(!0);if(!(e=this.get_node(e,!0))||!e.length)return!1;if(e.children(".jstree-children").remove(),e=e[0],t.children.length&&t.state.loaded){for((i=a.createElement("UL")).setAttribute("role","group"),i.className="jstree-children",n=0,r=t.children.length;n<r;n++)i.appendChild(this.redraw_node(t.children[n],!0,!0));e.appendChild(i)}},redraw_node:function(e,t,n,r){var i=this.get_node(e),a=!1,o=!1,s=!1,c=!1,l=!1,u=!1,f="",d=y,h=this._model.data,p=!1,m=null,g=0,_=0,b=!1,v=!1;if(!i)return!1;if(i.id===P.jstree.root)return this.redraw(!0);if(t=t||0===i.children.length,e=y.querySelector?this.element[0].querySelector("#"+(-1!=="0123456789".indexOf(i.id[0])?"\\3"+i.id[0]+" "+i.id.substr(1).replace(P.jstree.idregex,"\\$&"):i.id.replace(P.jstree.idregex,"\\$&"))):y.getElementById(i.id))e=P(e),n||((a=e.parent().parent()[0])===this.element[0]&&(a=null),o=e.index()),t||!i.children.length||e.children(".jstree-children").length||(t=!0),t||(s=e.children(".jstree-children")[0]),p=e.children(".jstree-anchor")[0]===y.activeElement,e.remove();else if(t=!0,!n){if(!(null===(a=i.parent!==P.jstree.root?P("#"+i.parent.replace(P.jstree.idregex,"\\$&"),this.element)[0]:null)||a&&h[i.parent].state.opened))return!1;o=P.inArray(i.id,null===a?h[P.jstree.root].children:h[i.parent].children)}for(c in e=this._data.core.node.cloneNode(!0),f="jstree-node ",i.li_attr)if(i.li_attr.hasOwnProperty(c)){if("id"===c)continue;"class"!==c?e.setAttribute(c,i.li_attr[c]):f+=i.li_attr[c]}for(i.a_attr.id||(i.a_attr.id=i.id+"_anchor"),e.childNodes[1].setAttribute("aria-selected",!!i.state.selected),e.childNodes[1].setAttribute("aria-level",i.parents.length),this.settings.core.compute_elements_positions&&(e.childNodes[1].setAttribute("aria-setsize",h[i.parent].children.length),e.childNodes[1].setAttribute("aria-posinset",h[i.parent].children.indexOf(i.id)+1)),i.state.disabled&&e.childNodes[1].setAttribute("aria-disabled",!0),c=0,l=i.children.length;c<l;c++)if(!h[i.children[c]].state.hidden){b=!0;break}if(null!==i.parent&&h[i.parent]&&!i.state.hidden&&(c=P.inArray(i.id,h[i.parent].children),v=i.id,-1!==c))for(c++,l=h[i.parent].children.length;c<l&&(h[h[i.parent].children[c]].state.hidden||(v=h[i.parent].children[c]),v===i.id);c++);for(l in i.state.hidden&&(f+=" jstree-hidden"),i.state.loading&&(f+=" jstree-loading"),i.state.loaded&&!b?f+=" jstree-leaf":(f+=i.state.opened&&i.state.loaded?" jstree-open":" jstree-closed",e.childNodes[1].setAttribute("aria-expanded",i.state.opened&&i.state.loaded)),v===i.id&&(f+=" jstree-last"),e.id=i.id,e.className=f,f=(i.state.selected?" jstree-clicked":"")+(i.state.disabled?" jstree-disabled":""),i.a_attr)if(i.a_attr.hasOwnProperty(l)){if("href"===l&&"#"===i.a_attr[l])continue;"class"!==l?e.childNodes[1].setAttribute(l,i.a_attr[l]):f+=" "+i.a_attr[l]}if(f.length&&(e.childNodes[1].className="jstree-anchor "+f),(i.icon&&!0!==i.icon||!1===i.icon)&&(!1===i.icon?e.childNodes[1].childNodes[0].className+=" jstree-themeicon-hidden":-1===i.icon.indexOf("/")&&-1===i.icon.indexOf(".")?e.childNodes[1].childNodes[0].className+=" "+i.icon+" jstree-themeicon-custom":(e.childNodes[1].childNodes[0].style.backgroundImage='url("'+i.icon+'")',e.childNodes[1].childNodes[0].style.backgroundPosition="center center",e.childNodes[1].childNodes[0].style.backgroundSize="auto",e.childNodes[1].childNodes[0].className+=" jstree-themeicon-custom")),this.settings.core.force_text?e.childNodes[1].appendChild(d.createTextNode(i.text)):e.childNodes[1].innerHTML+=i.text,t&&i.children.length&&(i.state.opened||r)&&i.state.loaded){for((u=d.createElement("UL")).setAttribute("role","group"),u.className="jstree-children",c=0,l=i.children.length;c<l;c++)u.appendChild(this.redraw_node(i.children[c],t,!0));e.appendChild(u)}if(s&&e.appendChild(s),!n){for(a||(a=this.element[0]),c=0,l=a.childNodes.length;c<l;c++)if(a.childNodes[c]&&a.childNodes[c].className&&-1!==a.childNodes[c].className.indexOf("jstree-children")){m=a.childNodes[c];break}m||((m=d.createElement("UL")).setAttribute("role","group"),m.className="jstree-children",a.appendChild(m)),o<(a=m).childNodes.length?a.insertBefore(e,a.childNodes[o]):a.appendChild(e),p&&(g=this.element[0].scrollTop,_=this.element[0].scrollLeft,e.childNodes[1].focus(),this.element[0].scrollTop=g,this.element[0].scrollLeft=_)}return i.state.opened&&!i.state.loaded&&(i.state.opened=!1,setTimeout(function(){this.open_node(i.id,!1,0)}.bind(this),0)),e},open_node:function(e,n,r){var t,i,a,o;if(P.vakata.is_array(e)){for(t=0,i=(e=e.slice()).length;t<i;t++)this.open_node(e[t],n,r);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(r=r===M?this.settings.core.animation:r,this.is_closed(e)?this.is_loaded(e)?(a=this.get_node(e,!0),o=this,a.length&&(r&&a.children(".jstree-children").length&&a.children(".jstree-children").stop(!0,!0),e.children.length&&!this._firstChild(a.children(".jstree-children")[0])&&this.draw_children(e),r?(this.trigger("before_open",{node:e}),a.children(".jstree-children").css("display","none").end().removeClass("jstree-closed").addClass("jstree-open").children(".jstree-anchor").attr("aria-expanded",!0).end().children(".jstree-children").stop(!0,!0).slideDown(r,function(){this.style.display="",o.element&&o.trigger("after_open",{node:e})})):(this.trigger("before_open",{node:e}),a[0].className=a[0].className.replace("jstree-closed","jstree-open"),a[0].childNodes[1].setAttribute("aria-expanded",!0))),e.state.opened=!0,n&&n.call(this,e,!0),a.length||this.trigger("before_open",{node:e}),this.trigger("open_node",{node:e}),r&&a.length||this.trigger("after_open",{node:e}),!0):this.is_loading(e)?setTimeout(function(){this.open_node(e,n,r)}.bind(this),500):void this.load_node(e,function(e,t){return t?this.open_node(e,n,r):!!n&&n.call(this,e,!1)}):(n&&n.call(this,e,!1),!1))},_open_to:function(e){if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;var t,n,r=e.parents;for(t=0,n=r.length;t<n;t+=1)t!==P.jstree.root&&this.open_node(r[t],!1,0);return P("#"+e.id.replace(P.jstree.idregex,"\\$&"),this.element)},close_node:function(e,t){var n,r,i,a;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.close_node(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(!this.is_closed(e)&&(t=t===M?this.settings.core.animation:t,a=(i=this).get_node(e,!0),e.state.opened=!1,this.trigger("close_node",{node:e}),void(a.length?t?a.children(".jstree-children").attr("style","display:block !important").end().removeClass("jstree-open").addClass("jstree-closed").children(".jstree-anchor").attr("aria-expanded",!1).end().children(".jstree-children").stop(!0,!0).slideUp(t,function(){this.style.display="",a.children(".jstree-children").remove(),i.element&&i.trigger("after_close",{node:e})}):(a[0].className=a[0].className.replace("jstree-open","jstree-closed"),a.children(".jstree-anchor").attr("aria-expanded",!1),a.children(".jstree-children").remove(),this.trigger("after_close",{node:e})):this.trigger("after_close",{node:e}))))},toggle_node:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.toggle_node(e[t]);return!0}return this.is_closed(e)?this.open_node(e):this.is_open(e)?this.close_node(e):void 0},open_all:function(e,n,r){if(e||(e=P.jstree.root),!(e=this.get_node(e)))return!1;var t,i,a,o=e.id===P.jstree.root?this.get_container_ul():this.get_node(e,!0);if(!o.length){for(t=0,i=e.children_d.length;t<i;t++)this.is_closed(this._model.data[e.children_d[t]])&&(this._model.data[e.children_d[t]].state.opened=!0);return this.trigger("open_all",{node:e})}r=r||o,(o=(a=this).is_closed(e)?o.find(".jstree-closed").addBack():o.find(".jstree-closed")).each(function(){a.open_node(this,function(e,t){t&&this.is_parent(e)&&this.open_all(e,n,r)},n||0)}),0===r.find(".jstree-closed").length&&this.trigger("open_all",{node:this.get_node(r)})},close_all:function(e,t){if(e||(e=P.jstree.root),!(e=this.get_node(e)))return!1;var n,r,i=e.id===P.jstree.root?this.get_container_ul():this.get_node(e,!0),a=this;for(i.length&&(i=this.is_open(e)?i.find(".jstree-open").addBack():i.find(".jstree-open"),P(i.get().reverse()).each(function(){a.close_node(this,t||0)})),n=0,r=e.children_d.length;n<r;n++)this._model.data[e.children_d[n]].state.opened=!1;this.trigger("close_all",{node:e})},is_disabled:function(e){return(e=this.get_node(e))&&e.state&&e.state.disabled},enable_node:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.enable_node(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.disabled=!1,this.get_node(e,!0).children(".jstree-anchor").removeClass("jstree-disabled").attr("aria-disabled",!1),this.trigger("enable_node",{node:e})},disable_node:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.disable_node(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.disabled=!0,this.get_node(e,!0).children(".jstree-anchor").addClass("jstree-disabled").attr("aria-disabled",!0),this.trigger("disable_node",{node:e})},is_hidden:function(e){return!0===(e=this.get_node(e)).state.hidden},hide_node:function(e,t){var n,r;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.hide_node(e[n],!0);return t||this.redraw(),!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.hidden||(e.state.hidden=!0,this._node_changed(e.parent),t||this.redraw(),this.trigger("hide_node",{node:e}))},show_node:function(e,t){var n,r;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.show_node(e[n],!0);return t||this.redraw(),!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;e.state.hidden&&(e.state.hidden=!1,this._node_changed(e.parent),t||this.redraw(),this.trigger("show_node",{node:e}))},hide_all:function(e){var t,n=this._model.data,r=[];for(t in n)n.hasOwnProperty(t)&&t!==P.jstree.root&&!n[t].state.hidden&&(n[t].state.hidden=!0,r.push(t));return this._model.force_full_redraw=!0,e||this.redraw(),this.trigger("hide_all",{nodes:r}),r},show_all:function(e){var t,n=this._model.data,r=[];for(t in n)n.hasOwnProperty(t)&&t!==P.jstree.root&&n[t].state.hidden&&(n[t].state.hidden=!1,r.push(t));return this._model.force_full_redraw=!0,e||this.redraw(),this.trigger("show_all",{nodes:r}),r},activate_node:function(e,t){if(this.is_disabled(e))return!1;if(t&&"object"==typeof t||(t={}),this._data.core.last_clicked=this._data.core.last_clicked&&this._data.core.last_clicked.id!==M?this.get_node(this._data.core.last_clicked.id):null,this._data.core.last_clicked&&!this._data.core.last_clicked.state.selected&&(this._data.core.last_clicked=null),!this._data.core.last_clicked&&this._data.core.selected.length&&(this._data.core.last_clicked=this.get_node(this._data.core.selected[this._data.core.selected.length-1])),this.settings.core.multiple&&(t.metaKey||t.ctrlKey||t.shiftKey)&&(!t.shiftKey||this._data.core.last_clicked&&this.get_parent(e)&&this.get_parent(e)===this._data.core.last_clicked.parent))if(t.shiftKey){var n,r,i=this.get_node(e).id,a=this._data.core.last_clicked.id,o=this.get_node(this._data.core.last_clicked.parent).children,s=!1;for(n=0,r=o.length;n<r;n+=1)o[n]===i&&(s=!s),o[n]===a&&(s=!s),this.is_disabled(o[n])||!s&&o[n]!==i&&o[n]!==a?t.ctrlKey||this.deselect_node(o[n],!0,t):this.is_hidden(o[n])||this.select_node(o[n],!0,!1,t);this.trigger("changed",{action:"select_node",node:this.get_node(e),selected:this._data.core.selected,event:t})}else this.is_selected(e)?this.deselect_node(e,!1,t):(t.ctrlKey&&(this._data.core.last_clicked=this.get_node(e)),this.select_node(e,!1,!1,t));else!this.settings.core.multiple&&(t.metaKey||t.ctrlKey||t.shiftKey)&&this.is_selected(e)?this.deselect_node(e,!1,t):(this.is_selected(e)&&1===this._data.core.selected.length||(this.deselect_all(!0),this.select_node(e,!1,!1,t)),this._data.core.last_clicked=this.get_node(e));this.trigger("activate_node",{node:this.get_node(e),event:t})},hover_node:function(e){if(!(e=this.get_node(e,!0))||!e.length||e.children(".jstree-hovered").length)return!1;var t=this.element.find(".jstree-hovered"),n=this.element;t&&t.length&&this.dehover_node(t),e.children(".jstree-anchor").addClass("jstree-hovered"),this.trigger("hover_node",{node:this.get_node(e)}),setTimeout(function(){n.attr("aria-activedescendant",e[0].id)},0)},dehover_node:function(e){if(!(e=this.get_node(e,!0))||!e.length||!e.children(".jstree-hovered").length)return!1;e.children(".jstree-anchor").removeClass("jstree-hovered"),this.trigger("dehover_node",{node:this.get_node(e)})},select_node:function(e,t,n,r){var i,a,o;if(P.vakata.is_array(e)){for(a=0,o=(e=e.slice()).length;a<o;a++)this.select_node(e[a],t,n,r);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;i=this.get_node(e,!0),e.state.selected||(e.state.selected=!0,this._data.core.selected.push(e.id),n||(i=this._open_to(e)),i&&i.length&&i.children(".jstree-anchor").addClass("jstree-clicked").attr("aria-selected",!0),this.trigger("select_node",{node:e,selected:this._data.core.selected,event:r}),t||this.trigger("changed",{action:"select_node",node:e,selected:this._data.core.selected,event:r}))},deselect_node:function(e,t,n){var r,i,a;if(P.vakata.is_array(e)){for(r=0,i=(e=e.slice()).length;r<i;r++)this.deselect_node(e[r],t,n);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;a=this.get_node(e,!0),e.state.selected&&(e.state.selected=!1,this._data.core.selected=P.vakata.array_remove_item(this._data.core.selected,e.id),a.length&&a.children(".jstree-anchor").removeClass("jstree-clicked").attr("aria-selected",!1),this.trigger("deselect_node",{node:e,selected:this._data.core.selected,event:n}),t||this.trigger("changed",{action:"deselect_node",node:e,selected:this._data.core.selected,event:n}))},select_all:function(e){var t,n,r=this._data.core.selected.concat([]);for(this._data.core.selected=this._model.data[P.jstree.root].children_d.concat(),t=0,n=this._data.core.selected.length;t<n;t++)this._model.data[this._data.core.selected[t]]&&(this._model.data[this._data.core.selected[t]].state.selected=!0);this.redraw(!0),this.trigger("select_all",{selected:this._data.core.selected}),e||this.trigger("changed",{action:"select_all",selected:this._data.core.selected,old_selection:r})},deselect_all:function(e){var t,n,r=this._data.core.selected.concat([]);for(t=0,n=this._data.core.selected.length;t<n;t++)this._model.data[this._data.core.selected[t]]&&(this._model.data[this._data.core.selected[t]].state.selected=!1);this._data.core.selected=[],this.element.find(".jstree-clicked").removeClass("jstree-clicked").attr("aria-selected",!1),this.trigger("deselect_all",{selected:this._data.core.selected,node:r}),e||this.trigger("changed",{action:"deselect_all",selected:this._data.core.selected,old_selection:r})},is_selected:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.state.selected},get_selected:function(e){return e?P.map(this._data.core.selected,function(e){return this.get_node(e)}.bind(this)):this._data.core.selected.slice()},get_top_selected:function(e){var t,n,r,i,a=this.get_selected(!0),o={};for(t=0,n=a.length;t<n;t++)o[a[t].id]=a[t];for(t=0,n=a.length;t<n;t++)for(r=0,i=a[t].children_d.length;r<i;r++)o[a[t].children_d[r]]&&delete o[a[t].children_d[r]];for(t in a=[],o)o.hasOwnProperty(t)&&a.push(t);return e?P.map(a,function(e){return this.get_node(e)}.bind(this)):a},get_bottom_selected:function(e){var t,n,r=this.get_selected(!0),i=[];for(t=0,n=r.length;t<n;t++)r[t].children.length||i.push(r[t].id);return e?P.map(i,function(e){return this.get_node(e)}.bind(this)):i},get_state:function(){var e,t={core:{open:[],loaded:[],scroll:{left:this.element.scrollLeft(),top:this.element.scrollTop()},selected:[]}};for(e in this._model.data)this._model.data.hasOwnProperty(e)&&e!==P.jstree.root&&(this._model.data[e].state.loaded&&this.settings.core.loaded_state&&t.core.loaded.push(e),this._model.data[e].state.opened&&t.core.open.push(e),this._model.data[e].state.selected&&t.core.selected.push(e));return t},set_state:function(t,n){if(t){if(t.core&&t.core.selected&&t.core.initial_selection===M&&(t.core.initial_selection=this._data.core.selected.concat([]).sort().join(",")),t.core){var r,e;if(t.core.loaded)return this.settings.core.loaded_state&&P.vakata.is_array(t.core.loaded)&&t.core.loaded.length?this._load_nodes(t.core.loaded,function(e){delete t.core.loaded,this.set_state(t,n)}):(delete t.core.loaded,this.set_state(t,n)),!1;if(t.core.open)return P.vakata.is_array(t.core.open)&&t.core.open.length?this._load_nodes(t.core.open,function(e){this.open_node(e,!1,0),delete t.core.open,this.set_state(t,n)}):(delete t.core.open,this.set_state(t,n)),!1;if(t.core.scroll)return t.core.scroll&&t.core.scroll.left!==M&&this.element.scrollLeft(t.core.scroll.left),t.core.scroll&&t.core.scroll.top!==M&&this.element.scrollTop(t.core.scroll.top),delete t.core.scroll,this.set_state(t,n),!1;if(t.core.selected)return r=this,t.core.initial_selection!==M&&t.core.initial_selection!==this._data.core.selected.concat([]).sort().join(",")||(this.deselect_all(),P.each(t.core.selected,function(e,t){r.select_node(t,!1,!0)})),delete t.core.initial_selection,delete t.core.selected,this.set_state(t,n),!1;for(e in t)t.hasOwnProperty(e)&&"core"!==e&&-1===P.inArray(e,this.settings.plugins)&&delete t[e];if(P.isEmptyObject(t.core))return delete t.core,this.set_state(t,n),!1}return!P.isEmptyObject(t)||(t=null,n&&n.call(this),this.trigger("set_state"),!1)}return!1},refresh:function(e,t){this._data.core.state=!0===t?{}:this.get_state(),t&&P.vakata.is_function(t)&&(this._data.core.state=t.call(this,this._data.core.state)),this._cnt=0,this._model.data={},this._model.data[P.jstree.root]={id:P.jstree.root,parent:null,parents:[],children:[],children_d:[],state:{loaded:!1}},this._data.core.selected=[],this._data.core.last_clicked=null,this._data.core.focused=null;var n=this.get_container_ul()[0].className;e||(this.element.html("<ul class='"+n+"' role='group'><li class='jstree-initial-node jstree-loading jstree-leaf jstree-last' role='none' id='j"+this._id+"_loading'><i class='jstree-icon jstree-ocl'></i><a class='jstree-anchor' role='treeitem' href='#'><i class='jstree-icon jstree-themeicon-hidden'></i>"+this.get_string("Loading ...")+"</a></li></ul>"),this.element.attr("aria-activedescendant","j"+this._id+"_loading")),this.load_node(P.jstree.root,function(e,t){t&&(this.get_container_ul()[0].className=n,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.set_state(P.extend(!0,{},this._data.core.state),function(){this.trigger("refresh")})),this._data.core.state=null})},refresh_node:function(t){if(!(t=this.get_node(t))||t.id===P.jstree.root)return!1;var n=[],e=[],r=this._data.core.selected.concat([]);e.push(t.id),!0===t.state.opened&&n.push(t.id),this.get_node(t,!0).find(".jstree-open").each(function(){e.push(this.id),n.push(this.id)}),this._load_nodes(e,function(e){this.open_node(n,!1,0),this.select_node(r),this.trigger("refresh_node",{node:t,nodes:e})}.bind(this),!1,!0)},set_id:function(e,t){if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;var n,r,i=this._model.data,a=e.id;for(t=t.toString(),i[e.parent].children[P.inArray(e.id,i[e.parent].children)]=t,n=0,r=e.parents.length;n<r;n++)i[e.parents[n]].children_d[P.inArray(e.id,i[e.parents[n]].children_d)]=t;for(n=0,r=e.children.length;n<r;n++)i[e.children[n]].parent=t;for(n=0,r=e.children_d.length;n<r;n++)i[e.children_d[n]].parents[P.inArray(e.id,i[e.children_d[n]].parents)]=t;return-1!==(n=P.inArray(e.id,this._data.core.selected))&&(this._data.core.selected[n]=t),(n=this.get_node(e.id,!0))&&(n.attr("id",t),this.element.attr("aria-activedescendant")===e.id&&this.element.attr("aria-activedescendant",t)),delete i[e.id],e.id=t,i[e.li_attr.id=t]=e,this.trigger("set_id",{node:e,new:e.id,old:a}),!0},get_text:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.text},set_text:function(e,t){var n,r;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.set_text(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(e.text=t,this.get_node(e,!0).length&&this.redraw_node(e.id),this.trigger("set_text",{obj:e,text:t}),!0)},get_json:function(e,t,n){if(!(e=this.get_node(e||P.jstree.root)))return!1;t&&t.flat&&!n&&(n=[]);var r,i,a={id:e.id,text:e.text,icon:this.get_icon(e),li_attr:P.extend(!0,{},e.li_attr),a_attr:P.extend(!0,{},e.a_attr),state:{},data:(!t||!t.no_data)&&P.extend(!0,P.vakata.is_array(e.data)?[]:{},e.data)};if(t&&t.flat?a.parent=e.parent:a.children=[],t&&t.no_state)delete a.state;else for(r in e.state)e.state.hasOwnProperty(r)&&(a.state[r]=e.state[r]);if(t&&t.no_li_attr&&delete a.li_attr,t&&t.no_a_attr&&delete a.a_attr,t&&t.no_id&&(delete a.id,a.li_attr&&a.li_attr.id&&delete a.li_attr.id,a.a_attr&&a.a_attr.id&&delete a.a_attr.id),t&&t.flat&&e.id!==P.jstree.root&&n.push(a),!t||!t.no_children)for(r=0,i=e.children.length;r<i;r++)t&&t.flat?this.get_json(e.children[r],t,n):a.children.push(this.get_json(e.children[r],t));return t&&t.flat?n:e.id===P.jstree.root?a.children:a},create_node:function(e,t,n,r,i){if(null===e&&(e=P.jstree.root),!(e=this.get_node(e)))return!1;if(!(n=n===M?"last":n).toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(e))return this.load_node(e,function(){this.create_node(e,t,n,r,!0)});var a,o,s,c;switch(t||(t={text:this.get_string("New node")}),(t="string"==typeof t?{text:t}:P.extend(!0,{},t)).text===M&&(t.text=this.get_string("New node")),e.id===P.jstree.root&&("before"===n&&(n="first"),"after"===n&&(n="last")),n){case"before":a=this.get_node(e.parent),n=P.inArray(e.id,a.children),e=a;break;case"after":a=this.get_node(e.parent),n=P.inArray(e.id,a.children)+1,e=a;break;case"inside":case"first":n=0;break;case"last":n=e.children.length;break;default:n||(n=0)}if(n>e.children.length&&(n=e.children.length),t.id||(t.id=!0),!this.check("create_node",t,e,n))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(!0===t.id&&delete t.id,!(t=this._parse_model_from_json(t,e.id,e.parents.concat())))return!1;for(a=this.get_node(t),(o=[]).push(t),o=o.concat(a.children_d),this.trigger("model",{nodes:o,parent:e.id}),e.children_d=e.children_d.concat(o),s=0,c=e.parents.length;s<c;s++)this._model.data[e.parents[s]].children_d=this._model.data[e.parents[s]].children_d.concat(o);for(t=a,a=[],s=0,c=e.children.length;s<c;s++)a[n<=s?s+1:s]=e.children[s];return a[n]=t.id,e.children=a,this.redraw_node(e,!0),this.trigger("create_node",{node:this.get_node(t),parent:e.id,position:n}),r&&r.call(this,this.get_node(t)),t.id},rename_node:function(e,t){var n,r,i;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.rename_node(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(i=e.text,this.check("rename_node",e,this.get_parent(e),t)?(this.set_text(e,t),this.trigger("rename_node",{node:e,text:t,old:i}),!0):(this.settings.core.error.call(this,this._data.core.last_error),!1))},delete_node:function(e){var t,n,r,i,a,o,s,c,l,u,f,d;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.delete_node(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;if(r=this.get_node(e.parent),i=P.inArray(e.id,r.children),u=!1,!this.check("delete_node",e,r,i))return this.settings.core.error.call(this,this._data.core.last_error),!1;for(-1!==i&&(r.children=P.vakata.array_remove(r.children,i)),(a=e.children_d.concat([])).push(e.id),o=0,s=e.parents.length;o<s;o++)this._model.data[e.parents[o]].children_d=P.vakata.array_filter(this._model.data[e.parents[o]].children_d,function(e){return-1===P.inArray(e,a)});for(c=0,l=a.length;c<l;c++)if(this._model.data[a[c]].state.selected){u=!0;break}for(u&&(this._data.core.selected=P.vakata.array_filter(this._data.core.selected,function(e){return-1===P.inArray(e,a)})),this.trigger("delete_node",{node:e,parent:r.id}),u&&this.trigger("changed",{action:"delete_node",node:e,selected:this._data.core.selected,parent:r.id}),c=0,l=a.length;c<l;c++)delete this._model.data[a[c]];return-1!==P.inArray(this._data.core.focused,a)&&(this._data.core.focused=null,f=this.element[0].scrollTop,d=this.element[0].scrollLeft,r.id===P.jstree.root?this._model.data[P.jstree.root].children[0]&&this.get_node(this._model.data[P.jstree.root].children[0],!0).children(".jstree-anchor").trigger("focus"):this.get_node(r,!0).children(".jstree-anchor").trigger("focus"),this.element[0].scrollTop=f,this.element[0].scrollLeft=d),this.redraw_node(r,!0),!0},check:function(e,t,n,r,i){t=t&&t.id?t:this.get_node(t),n=n&&n.id?n:this.get_node(n);var a=e.match(/^(move_node|copy_node|create_node)$/i)?n:t,o=this.settings.core.check_callback;if("move_node"===e||"copy_node"===e){if(!(i&&i.is_multi||"move_node"!==e||P.inArray(t.id,n.children)!==r))return!(this._data.core.last_error={error:"check",plugin:"core",id:"core_08",reason:"Moving node to its current position",data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});if(!(i&&i.is_multi||t.id!==n.id&&("move_node"!==e||P.inArray(t.id,n.children)!==r)&&-1===P.inArray(n.id,t.children_d)))return!(this._data.core.last_error={error:"check",plugin:"core",id:"core_01",reason:"Moving parent inside child",data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})})}return a&&a.data&&(a=a.data),a&&a.functions&&(!1===a.functions[e]||!0===a.functions[e])?(!1===a.functions[e]&&(this._data.core.last_error={error:"check",plugin:"core",id:"core_02",reason:"Node data prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a.functions[e]):!(!1===o||P.vakata.is_function(o)&&!1===o.call(this,e,t,n,r,i)||o&&!1===o[e])||!(this._data.core.last_error={error:"check",plugin:"core",id:"core_03",reason:"User config for core.check_callback prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})})},last_error:function(){return this._data.core.last_error},move_node:function(e,t,n,r,i,a,o){var s,c,l,u,f,d,h,p,m,g,_,b,v,y;if(t=this.get_node(t),n=n===M?0:n,!t)return!1;if(!n.toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(t))return this.load_node(t,function(){this.move_node(e,t,n,r,!0,!1,o)});if(P.vakata.is_array(e)){if(1!==e.length){for(s=0,c=e.length;s<c;s++)(m=this.move_node(e[s],t,n,r,i,!1,o))&&(t=m,n="after");return this.redraw(),!0}e=e[0]}if(!(e=e&&e.id?e:this.get_node(e))||e.id===P.jstree.root)return!1;if(l=(e.parent||P.jstree.root).toString(),f=n.toString().match(/^(before|after)$/)&&t.id!==P.jstree.root?this.get_node(t.parent):t,h=!(d=o||(this._model.data[e.id]?this:P.jstree.reference(e.id)))||!d._id||this._id!==d._id,u=d&&d._id&&l&&d._model.data[l]&&d._model.data[l].children?P.inArray(e.id,d._model.data[l].children):-1,d&&d._id&&(e=d._model.data[e.id]),h)return!!(m=this.copy_node(e,t,n,r,i,!1,o))&&(d&&d.delete_node(e),m);switch(t.id===P.jstree.root&&("before"===n&&(n="first"),"after"===n&&(n="last")),n){case"before":n=P.inArray(t.id,f.children);break;case"after":n=P.inArray(t.id,f.children)+1;break;case"inside":case"first":n=0;break;case"last":n=f.children.length;break;default:n||(n=0)}if(n>f.children.length&&(n=f.children.length),!this.check("move_node",e,f,n,{core:!0,origin:o,is_multi:d&&d._id&&d._id!==this._id,is_foreign:!d||!d._id}))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(e.parent===f.id){for(p=f.children.concat(),-1!==(m=P.inArray(e.id,p))&&(p=P.vakata.array_remove(p,m),m<n&&n--),m=[],g=0,_=p.length;g<_;g++)m[n<=g?g+1:g]=p[g];m[n]=e.id,f.children=m,this._node_changed(f.id),this.redraw(f.id===P.jstree.root)}else{for((m=e.children_d.concat()).push(e.id),g=0,_=e.parents.length;g<_;g++){for(p=[],b=0,v=(y=d._model.data[e.parents[g]].children_d).length;b<v;b++)-1===P.inArray(y[b],m)&&p.push(y[b]);d._model.data[e.parents[g]].children_d=p}for(d._model.data[l].children=P.vakata.array_remove_item(d._model.data[l].children,e.id),g=0,_=f.parents.length;g<_;g++)this._model.data[f.parents[g]].children_d=this._model.data[f.parents[g]].children_d.concat(m);for(p=[],g=0,_=f.children.length;g<_;g++)p[n<=g?g+1:g]=f.children[g];for(p[n]=e.id,f.children=p,f.children_d.push(e.id),f.children_d=f.children_d.concat(e.children_d),e.parent=f.id,(m=f.parents.concat()).unshift(f.id),y=e.parents.length,m=(e.parents=m).concat(),g=0,_=e.children_d.length;g<_;g++)this._model.data[e.children_d[g]].parents=this._model.data[e.children_d[g]].parents.slice(0,-1*y),Array.prototype.push.apply(this._model.data[e.children_d[g]].parents,m);l!==P.jstree.root&&f.id!==P.jstree.root||(this._model.force_full_redraw=!0),this._model.force_full_redraw||(this._node_changed(l),this._node_changed(f.id)),a||this.redraw()}return r&&r.call(this,e,f,n),this.trigger("move_node",{node:e,parent:f.id,position:n,old_parent:l,old_position:u,is_multi:d&&d._id&&d._id!==this._id,is_foreign:!d||!d._id,old_instance:d,new_instance:this}),e.id},copy_node:function(e,t,n,r,i,a,o){var s,c,l,u,f,d,h,p,m,g;if(t=this.get_node(t),n=n===M?0:n,!t)return!1;if(!n.toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(t))return this.load_node(t,function(){this.copy_node(e,t,n,r,!0,!1,o)});if(P.vakata.is_array(e)){if(1!==e.length){for(s=0,c=e.length;s<c;s++)(u=this.copy_node(e[s],t,n,r,i,!0,o))&&(t=u,n="after");return this.redraw(),!0}e=e[0]}if(!(e=e&&e.id?e:this.get_node(e))||e.id===P.jstree.root)return!1;switch(p=(e.parent||P.jstree.root).toString(),m=n.toString().match(/^(before|after)$/)&&t.id!==P.jstree.root?this.get_node(t.parent):t,!(g=o||(this._model.data[e.id]?this:P.jstree.reference(e.id)))||!g._id||this._id!==g._id,g&&g._id&&(e=g._model.data[e.id]),t.id===P.jstree.root&&("before"===n&&(n="first"),"after"===n&&(n="last")),n){case"before":n=P.inArray(t.id,m.children);break;case"after":n=P.inArray(t.id,m.children)+1;break;case"inside":case"first":n=0;break;case"last":n=m.children.length;break;default:n||(n=0)}if(n>m.children.length&&(n=m.children.length),!this.check("copy_node",e,m,n,{core:!0,origin:o,is_multi:g&&g._id&&g._id!==this._id,is_foreign:!g||!g._id}))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(!(h=g?g.get_json(e,{no_id:!0,no_data:!0,no_state:!0}):e))return!1;if(!0===h.id&&delete h.id,!(h=this._parse_model_from_json(h,m.id,m.parents.concat())))return!1;for(u=this.get_node(h),e&&e.state&&!1===e.state.loaded&&(u.state.loaded=!1),(l=[]).push(h),l=l.concat(u.children_d),this.trigger("model",{nodes:l,parent:m.id}),f=0,d=m.parents.length;f<d;f++)this._model.data[m.parents[f]].children_d=this._model.data[m.parents[f]].children_d.concat(l);for(l=[],f=0,d=m.children.length;f<d;f++)l[n<=f?f+1:f]=m.children[f];return l[n]=u.id,m.children=l,m.children_d.push(u.id),m.children_d=m.children_d.concat(u.children_d),m.id===P.jstree.root&&(this._model.force_full_redraw=!0),this._model.force_full_redraw||this._node_changed(m.id),a||this.redraw(m.id===P.jstree.root),r&&r.call(this,u,m,n),this.trigger("copy_node",{node:u,original:e,parent:m.id,position:n,old_parent:p,old_position:g&&g._id&&p&&g._model.data[p]&&g._model.data[p].children?P.inArray(e.id,g._model.data[p].children):-1,is_multi:g&&g._id&&g._id!==this._id,is_foreign:!g||!g._id,old_instance:g,new_instance:this}),u.id},cut:function(e){if(e||(e=this._data.core.selected.concat()),P.vakata.is_array(e)||(e=[e]),!e.length)return!1;var t,n,r,i=[];for(n=0,r=e.length;n<r;n++)(t=this.get_node(e[n]))&&t.id&&t.id!==P.jstree.root&&i.push(t);if(!i.length)return!1;a=i,o="move_node",(s=this).trigger("cut",{node:e})},copy:function(e){if(e||(e=this._data.core.selected.concat()),P.vakata.is_array(e)||(e=[e]),!e.length)return!1;var t,n,r,i=[];for(n=0,r=e.length;n<r;n++)(t=this.get_node(e[n]))&&t.id&&t.id!==P.jstree.root&&i.push(t);if(!i.length)return!1;a=i,o="copy_node",(s=this).trigger("copy",{node:e})},get_buffer:function(){return{mode:o,node:a,inst:s}},can_paste:function(){return!1!==o&&!1!==a},paste:function(e,t){if(!((e=this.get_node(e))&&o&&o.match(/^(copy_node|move_node)$/)&&a))return!1;this[o](a,e,t,!1,!1,!1,s)&&this.trigger("paste",{parent:e.id,node:a,mode:o}),s=o=a=!1},clear_buffer:function(){s=o=a=!1,this.trigger("clear_buffer")},edit:function(i,e,a){var t,n,o,s,c,l,u,r,f,d=!1;return!!(i=this.get_node(i))&&(this.check("edit",i,this.get_parent(i))?(f=i,e="string"==typeof e?e:i.text,this.set_text(i,""),i=this._open_to(i),f.text=e,t=this._data.core.rtl,n=this.element.width(),this._data.core.focused=f.id,o=i.children(".jstree-anchor").trigger("focus"),s=P("<span></span>"),c=e,l=P("<div></div>",{css:{position:"absolute",top:"-200px",left:t?"0px":"-1000px",visibility:"hidden"}}).appendTo(y.body),u=P("<input />",{value:c,class:"jstree-rename-input",css:{padding:"0",border:"1px solid silver","box-sizing":"border-box",display:"inline-block",height:this._data.core.li_height+"px",lineHeight:this._data.core.li_height+"px",width:"150px"},blur:function(e){e.stopImmediatePropagation(),e.preventDefault();var t,n=s.children(".jstree-rename-input").val(),r=this.settings.core.force_text;""===n&&(n=c),l.remove(),s.replaceWith(o),s.remove(),c=r?c:P("<div></div>").append(P.parseHTML(c)).html(),i=this.get_node(i),this.set_text(i,c),(t=!!this.rename_node(i,r?P("<div></div>").text(n).text():P("<div></div>").append(P.parseHTML(n)).html()))||this.set_text(i,c),this._data.core.focused=f.id,setTimeout(function(){var e=this.get_node(f.id,!0);e.length&&(this._data.core.focused=f.id,e.children(".jstree-anchor").trigger("focus"))}.bind(this),0),a&&a.call(this,f,t,d,n),u=null}.bind(this),keydown:function(e){var t=e.which;27===t&&(d=!0,this.value=c),27!==t&&13!==t&&37!==t&&38!==t&&39!==t&&40!==t&&32!==t||e.stopImmediatePropagation(),27!==t&&13!==t||(e.preventDefault(),this.blur())},click:function(e){e.stopImmediatePropagation()},mousedown:function(e){e.stopImmediatePropagation()},keyup:function(e){u.width(Math.min(l.text("pW"+this.value).width(),n))},keypress:function(e){if(13===e.which)return!1}}),r={fontFamily:o.css("fontFamily")||"",fontSize:o.css("fontSize")||"",fontWeight:o.css("fontWeight")||"",fontStyle:o.css("fontStyle")||"",fontStretch:o.css("fontStretch")||"",fontVariant:o.css("fontVariant")||"",letterSpacing:o.css("letterSpacing")||"",wordSpacing:o.css("wordSpacing")||""},s.attr("class",o.attr("class")).append(o.contents().clone()).append(u),o.replaceWith(s),l.css(r),u.css(r).width(Math.min(l.text("pW"+u[0].value).width(),n))[0].select(),void P(y).one("mousedown.jstree touchstart.jstree dnd_start.vakata",function(e){u&&e.target!==u&&P(u).trigger("blur")})):(this.settings.core.error.call(this,this._data.core.last_error),!1))},set_theme:function(e,t){if(!e)return!1;if(!0===t){var n=this.settings.core.themes.dir;n||(n=P.jstree.path+"/themes"),t=n+"/"+e+"/style.css"}t&&-1===P.inArray(t,r)&&(P("head").append('<link rel="stylesheet" href="'+t+'" type="text/css" />'),r.push(t)),this._data.core.themes.name&&this.element.removeClass("jstree-"+this._data.core.themes.name),this._data.core.themes.name=e,this.element.addClass("jstree-"+e),this.element[this.settings.core.themes.responsive?"addClass":"removeClass"]("jstree-"+e+"-responsive"),this.trigger("set_theme",{theme:e})},get_theme:function(){return this._data.core.themes.name},set_theme_variant:function(e){this._data.core.themes.variant&&this.element.removeClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant),(this._data.core.themes.variant=e)&&this.element.addClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant)},get_theme_variant:function(){return this._data.core.themes.variant},show_stripes:function(){this._data.core.themes.stripes=!0,this.get_container_ul().addClass("jstree-striped"),this.trigger("show_stripes")},hide_stripes:function(){this._data.core.themes.stripes=!1,this.get_container_ul().removeClass("jstree-striped"),this.trigger("hide_stripes")},toggle_stripes:function(){this._data.core.themes.stripes?this.hide_stripes():this.show_stripes()},show_dots:function(){this._data.core.themes.dots=!0,this.get_container_ul().removeClass("jstree-no-dots"),this.trigger("show_dots")},hide_dots:function(){this._data.core.themes.dots=!1,this.get_container_ul().addClass("jstree-no-dots"),this.trigger("hide_dots")},toggle_dots:function(){this._data.core.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this._data.core.themes.icons=!0,this.get_container_ul().removeClass("jstree-no-icons"),this.trigger("show_icons")},hide_icons:function(){this._data.core.themes.icons=!1,this.get_container_ul().addClass("jstree-no-icons"),this.trigger("hide_icons")},toggle_icons:function(){this._data.core.themes.icons?this.hide_icons():this.show_icons()},show_ellipsis:function(){this._data.core.themes.ellipsis=!0,this.get_container_ul().addClass("jstree-ellipsis"),this.trigger("show_ellipsis")},hide_ellipsis:function(){this._data.core.themes.ellipsis=!1,this.get_container_ul().removeClass("jstree-ellipsis"),this.trigger("hide_ellipsis")},toggle_ellipsis:function(){this._data.core.themes.ellipsis?this.hide_ellipsis():this.show_ellipsis()},set_icon:function(e,t){var n,r,i,a;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.set_icon(e[n],t);return!0}return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&(a=e.icon,e.icon=!0===t||null===t||t===M||""===t||t,i=this.get_node(e,!0).children(".jstree-anchor").children(".jstree-themeicon"),!1===t?(i.removeClass("jstree-themeicon-custom "+a).css("background","").removeAttr("rel"),this.hide_icon(e)):(!0===t||null===t||t===M||""===t?i.removeClass("jstree-themeicon-custom "+a).css("background","").removeAttr("rel"):-1===t.indexOf("/")&&-1===t.indexOf(".")?(i.removeClass(a).css("background",""),i.addClass(t+" jstree-themeicon-custom").attr("rel",t)):(i.removeClass(a).css("background",""),i.addClass("jstree-themeicon-custom").css("background","url('"+t+"') center center no-repeat").attr("rel",t)),!1===a&&this.show_icon(e)),!0)},get_icon:function(e){return!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.icon},hide_icon:function(e){var t,n;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.hide_icon(e[t]);return!0}return!(!(e=this.get_node(e))||e===P.jstree.root)&&(e.icon=!1,this.get_node(e,!0).children(".jstree-anchor").children(".jstree-themeicon").addClass("jstree-themeicon-hidden"),!0)},show_icon:function(e){var t,n,r;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.show_icon(e[t]);return!0}return!(!(e=this.get_node(e))||e===P.jstree.root)&&(r=this.get_node(e,!0),e.icon=!r.length||r.children(".jstree-anchor").children(".jstree-themeicon").attr("rel"),e.icon||(e.icon=!0),r.children(".jstree-anchor").children(".jstree-themeicon").removeClass("jstree-themeicon-hidden"),!0)}},P.vakata={},P.vakata.attributes=function(e,n){e=P(e)[0];var r=n?{}:[];return e&&e.attributes&&P.each(e.attributes,function(e,t){-1===P.inArray(t.name.toLowerCase(),["style","contenteditable","hasfocus","tabindex"])&&null!==t.value&&""!==P.vakata.trim(t.value)&&(n?r[t.name]=t.value:r.push(t.name))}),r},P.vakata.array_unique=function(e){var t,n,r=[],i={};for(t=0,n=e.length;t<n;t++)i[e[t]]===M&&(r.push(e[t]),i[e[t]]=!0);return r},P.vakata.array_remove=function(e,t){return e.splice(t,1),e},P.vakata.array_remove_item=function(e,t){var n=P.inArray(t,e);return-1!==n?P.vakata.array_remove(e,n):e},P.vakata.array_filter=function(e,t,n,r,i){if(e.filter)return e.filter(t,n);for(i in r=[],e)~~i+""==i+""&&0<=i&&t.call(n,e[i],+i,e)&&r.push(e[i]);return r},P.vakata.trim=function(e){return String.prototype.trim?String.prototype.trim.call(e.toString()):e.toString().replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},P.vakata.is_function=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},P.vakata.is_array=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},Function.prototype.bind||(Function.prototype.bind=function(){var t=this,n=arguments[0],r=Array.prototype.slice.call(arguments,1);if("function"!=typeof t)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");return function(){var e=r.concat(Array.prototype.slice.call(arguments));return t.apply(n,e)}}),P.jstree.plugins.changed=function(e,a){var o=[];this.trigger=function(e,t){var n,r;if(t||(t={}),"changed"===e.replace(".jstree","")){t.changed={selected:[],deselected:[]};var i={};for(n=0,r=o.length;n<r;n++)i[o[n]]=1;for(n=0,r=t.selected.length;n<r;n++)i[t.selected[n]]?i[t.selected[n]]=2:t.changed.selected.push(t.selected[n]);for(n=0,r=o.length;n<r;n++)1===i[o[n]]&&t.changed.deselected.push(o[n]);o=t.selected.slice()}a.trigger.call(this,e,t)},this.refresh=function(e,t){return o=[],a.refresh.apply(this,arguments)}};var f,d,h,c,u,p,m,S,g=y.createElement("I");g.className="jstree-icon jstree-checkbox",g.setAttribute("role","presentation"),P.jstree.defaults.checkbox={visible:!0,three_state:!0,whole_node:!0,keep_selected_style:!0,cascade:"",tie_selection:!0,cascade_to_disabled:!0,cascade_to_hidden:!0},P.jstree.plugins.checkbox=function(e,c){this.bind=function(){c.bind.call(this),this._data.checkbox.uto=!1,this._data.checkbox.selected=[],this.settings.checkbox.three_state&&(this.settings.checkbox.cascade="up+down+undetermined"),this.element.on("init.jstree",function(){this._data.checkbox.visible=this.settings.checkbox.visible,this.settings.checkbox.keep_selected_style||this.element.addClass("jstree-checkbox-no-clicked"),this.settings.checkbox.tie_selection&&this.element.addClass("jstree-checkbox-selection")}.bind(this)).on("loading.jstree",function(){this[this._data.checkbox.visible?"show_checkboxes":"hide_checkboxes"]()}.bind(this)),-1!==this.settings.checkbox.cascade.indexOf("undetermined")&&this.element.on("changed.jstree uncheck_node.jstree check_node.jstree uncheck_all.jstree check_all.jstree move_node.jstree copy_node.jstree redraw.jstree open_node.jstree",function(){this._data.checkbox.uto&&clearTimeout(this._data.checkbox.uto),this._data.checkbox.uto=setTimeout(this._undetermined.bind(this),50)}.bind(this)),this.settings.checkbox.tie_selection||this.element.on("model.jstree",function(e,t){var n,r,i=this._model.data,a=(i[t.parent],t.nodes);for(n=0,r=a.length;n<r;n++)i[a[n]].state.checked=i[a[n]].state.checked||i[a[n]].original&&i[a[n]].original.state&&i[a[n]].original.state.checked,i[a[n]].state.checked&&this._data.checkbox.selected.push(a[n])}.bind(this)),-1===this.settings.checkbox.cascade.indexOf("up")&&-1===this.settings.checkbox.cascade.indexOf("down")||this.element.on("model.jstree",function(e,t){var n,r,i,a,o,s,c=this._model.data,l=c[t.parent],u=t.nodes,f=[],d=this.settings.checkbox.cascade,h=this.settings.checkbox.tie_selection;if(-1!==d.indexOf("down"))if(l.state[h?"selected":"checked"]){for(r=0,i=u.length;r<i;r++)c[u[r]].state[h?"selected":"checked"]=!0;this._data[h?"core":"checkbox"].selected=this._data[h?"core":"checkbox"].selected.concat(u)}else for(r=0,i=u.length;r<i;r++)if(c[u[r]].state[h?"selected":"checked"]){for(a=0,o=c[u[r]].children_d.length;a<o;a++)c[c[u[r]].children_d[a]].state[h?"selected":"checked"]=!0;this._data[h?"core":"checkbox"].selected=this._data[h?"core":"checkbox"].selected.concat(c[u[r]].children_d)}if(-1!==d.indexOf("up")){for(r=0,i=l.children_d.length;r<i;r++)c[l.children_d[r]].children.length||f.push(c[l.children_d[r]].parent);for(a=0,o=(f=P.vakata.array_unique(f)).length;a<o;a++)for(l=c[f[a]];l&&l.id!==P.jstree.root;){for(r=n=0,i=l.children.length;r<i;r++)n+=c[l.children[r]].state[h?"selected":"checked"];if(n!==i)break;l.state[h?"selected":"checked"]=!0,this._data[h?"core":"checkbox"].selected.push(l.id),(s=this.get_node(l,!0))&&s.length&&s.children(".jstree-anchor").attr("aria-selected",!0).addClass(h?"jstree-clicked":"jstree-checked"),l=this.get_node(l.parent)}}this._data[h?"core":"checkbox"].selected=P.vakata.array_unique(this._data[h?"core":"checkbox"].selected)}.bind(this)).on(this.settings.checkbox.tie_selection?"select_node.jstree":"check_node.jstree",function(e,t){var n,r,i,a,o=t.node,s=this._model.data,c=this.get_node(o.parent),l=this.settings.checkbox.cascade,u=this.settings.checkbox.tie_selection,f={},d=this._data[u?"core":"checkbox"].selected;for(n=0,r=d.length;n<r;n++)f[d[n]]=!0;if(-1!==l.indexOf("down")){var h=this._cascade_new_checked_state(o.id,!0),p=o.children_d.concat(o.id);for(n=0,r=p.length;n<r;n++)-1<h.indexOf(p[n])?f[p[n]]=!0:delete f[p[n]]}if(-1!==l.indexOf("up"))for(;c&&c.id!==P.jstree.root;){for(n=i=0,r=c.children.length;n<r;n++)i+=s[c.children[n]].state[u?"selected":"checked"];if(i!==r)break;c.state[u?"selected":"checked"]=!0,f[c.id]=!0,(a=this.get_node(c,!0))&&a.length&&a.children(".jstree-anchor").attr("aria-selected",!0).addClass(u?"jstree-clicked":"jstree-checked"),c=this.get_node(c.parent)}for(n in d=[],f)f.hasOwnProperty(n)&&d.push(n);this._data[u?"core":"checkbox"].selected=d}.bind(this)).on(this.settings.checkbox.tie_selection?"deselect_all.jstree":"uncheck_all.jstree",function(e,t){var n,r,i,a=this.get_node(P.jstree.root),o=this._model.data;for(n=0,r=a.children_d.length;n<r;n++)(i=o[a.children_d[n]])&&i.original&&i.original.state&&i.original.state.undetermined&&(i.original.state.undetermined=!1)}.bind(this)).on(this.settings.checkbox.tie_selection?"deselect_node.jstree":"uncheck_node.jstree",function(e,t){var n,r,i,a=t.node,o=(this.get_node(a,!0),this.settings.checkbox.cascade),s=this.settings.checkbox.tie_selection,c=this._data[s?"core":"checkbox"].selected,l=a.children_d.concat(a.id);if(-1!==o.indexOf("down")){var u=this._cascade_new_checked_state(a.id,!1);c=P.vakata.array_filter(c,function(e){return-1===l.indexOf(e)||-1<u.indexOf(e)})}if(-1!==o.indexOf("up")&&-1===c.indexOf(a.id)){for(n=0,r=a.parents.length;n<r;n++)(i=this._model.data[a.parents[n]]).state[s?"selected":"checked"]=!1,i&&i.original&&i.original.state&&i.original.state.undetermined&&(i.original.state.undetermined=!1),(i=this.get_node(a.parents[n],!0))&&i.length&&i.children(".jstree-anchor").attr("aria-selected",!1).removeClass(s?"jstree-clicked":"jstree-checked");c=P.vakata.array_filter(c,function(e){return-1===a.parents.indexOf(e)})}this._data[s?"core":"checkbox"].selected=c}.bind(this)),-1!==this.settings.checkbox.cascade.indexOf("up")&&this.element.on("delete_node.jstree",function(e,t){for(var n,r,i,a,o=this.get_node(t.parent),s=this._model.data,c=this.settings.checkbox.tie_selection;o&&o.id!==P.jstree.root&&!o.state[c?"selected":"checked"];){for(n=i=0,r=o.children.length;n<r;n++)i+=s[o.children[n]].state[c?"selected":"checked"];if(!(0<r&&i===r))break;o.state[c?"selected":"checked"]=!0,this._data[c?"core":"checkbox"].selected.push(o.id),(a=this.get_node(o,!0))&&a.length&&a.children(".jstree-anchor").attr("aria-selected",!0).addClass(c?"jstree-clicked":"jstree-checked"),o=this.get_node(o.parent)}}.bind(this)).on("move_node.jstree",function(e,t){var n,r,i,a,o,s=t.is_multi,c=t.old_parent,l=this.get_node(t.parent),u=this._model.data,f=this.settings.checkbox.tie_selection;if(!s)for(n=this.get_node(c);n&&n.id!==P.jstree.root&&!n.state[f?"selected":"checked"];){for(i=r=0,a=n.children.length;i<a;i++)r+=u[n.children[i]].state[f?"selected":"checked"];if(!(0<a&&r===a))break;n.state[f?"selected":"checked"]=!0,this._data[f?"core":"checkbox"].selected.push(n.id),(o=this.get_node(n,!0))&&o.length&&o.children(".jstree-anchor").attr("aria-selected",!0).addClass(f?"jstree-clicked":"jstree-checked"),n=this.get_node(n.parent)}for(n=l;n&&n.id!==P.jstree.root;){for(i=r=0,a=n.children.length;i<a;i++)r+=u[n.children[i]].state[f?"selected":"checked"];if(r===a)n.state[f?"selected":"checked"]||(n.state[f?"selected":"checked"]=!0,this._data[f?"core":"checkbox"].selected.push(n.id),(o=this.get_node(n,!0))&&o.length&&o.children(".jstree-anchor").attr("aria-selected",!0).addClass(f?"jstree-clicked":"jstree-checked"));else{if(!n.state[f?"selected":"checked"])break;n.state[f?"selected":"checked"]=!1,this._data[f?"core":"checkbox"].selected=P.vakata.array_remove_item(this._data[f?"core":"checkbox"].selected,n.id),(o=this.get_node(n,!0))&&o.length&&o.children(".jstree-anchor").attr("aria-selected",!1).removeClass(f?"jstree-clicked":"jstree-checked")}n=this.get_node(n.parent)}}.bind(this))},this.get_undetermined=function(e){if(-1===this.settings.checkbox.cascade.indexOf("undetermined"))return[];var n,r,i,a,o={},s=this._model.data,t=this.settings.checkbox.tie_selection,c=this._data[t?"core":"checkbox"].selected,l=[],u=this,f=[];for(n=0,r=c.length;n<r;n++)if(s[c[n]]&&s[c[n]].parents)for(i=0,a=s[c[n]].parents.length;i<a&&o[s[c[n]].parents[i]]===M;i++)s[c[n]].parents[i]!==P.jstree.root&&(o[s[c[n]].parents[i]]=!0,l.push(s[c[n]].parents[i]));for(this.element.find(".jstree-closed").not(":has(.jstree-children)").each(function(){var e,t=u.get_node(this);if(t)if(t.state.loaded){for(n=0,r=t.children_d.length;n<r;n++)if(!(e=s[t.children_d[n]]).state.loaded&&e.original&&e.original.state&&e.original.state.undetermined&&!0===e.original.state.undetermined)for(o[e.id]===M&&e.id!==P.jstree.root&&(o[e.id]=!0,l.push(e.id)),i=0,a=e.parents.length;i<a;i++)o[e.parents[i]]===M&&e.parents[i]!==P.jstree.root&&(o[e.parents[i]]=!0,l.push(e.parents[i]))}else if(t.original&&t.original.state&&t.original.state.undetermined&&!0===t.original.state.undetermined)for(o[t.id]===M&&t.id!==P.jstree.root&&(o[t.id]=!0,l.push(t.id)),i=0,a=t.parents.length;i<a;i++)o[t.parents[i]]===M&&t.parents[i]!==P.jstree.root&&(o[t.parents[i]]=!0,l.push(t.parents[i]))}),n=0,r=l.length;n<r;n++)s[l[n]].state[t?"selected":"checked"]||f.push(e?s[l[n]]:l[n]);return f},this._undetermined=function(){if(null!==this.element){var e,t,n,r=this.get_undetermined(!1);for(this.element.find(".jstree-undetermined").removeClass("jstree-undetermined"),e=0,t=r.length;e<t;e++)(n=this.get_node(r[e],!0))&&n.length&&n.children(".jstree-anchor").children(".jstree-checkbox").addClass("jstree-undetermined")}},this.redraw_node=function(e,t,n,r){if(e=c.redraw_node.apply(this,arguments)){var i,a,o=null,s=null;for(i=0,a=e.childNodes.length;i<a;i++)if(e.childNodes[i]&&e.childNodes[i].className&&-1!==e.childNodes[i].className.indexOf("jstree-anchor")){o=e.childNodes[i];break}o&&(!this.settings.checkbox.tie_selection&&this._model.data[e.id].state.checked&&(o.className+=" jstree-checked"),s=g.cloneNode(!1),this._model.data[e.id].state.checkbox_disabled&&(s.className+=" jstree-checkbox-disabled"),o.insertBefore(s,o.childNodes[0]))}return n||-1===this.settings.checkbox.cascade.indexOf("undetermined")||(this._data.checkbox.uto&&clearTimeout(this._data.checkbox.uto),this._data.checkbox.uto=setTimeout(this._undetermined.bind(this),50)),e},this.show_checkboxes=function(){this._data.core.themes.checkboxes=!0,this.get_container_ul().removeClass("jstree-no-checkboxes")},this.hide_checkboxes=function(){this._data.core.themes.checkboxes=!1,this.get_container_ul().addClass("jstree-no-checkboxes")},this.toggle_checkboxes=function(){this._data.core.themes.checkboxes?this.hide_checkboxes():this.show_checkboxes()},this.is_undetermined=function(e){e=this.get_node(e);var t,n,r=this.settings.checkbox.cascade,i=this.settings.checkbox.tie_selection,a=this._data[i?"core":"checkbox"].selected,o=this._model.data;if(!e||!0===e.state[i?"selected":"checked"]||-1===r.indexOf("undetermined")||-1===r.indexOf("down")&&-1===r.indexOf("up"))return!1;if(!e.state.loaded&&!0===e.original.state.undetermined)return!0;for(t=0,n=e.children_d.length;t<n;t++)if(-1!==P.inArray(e.children_d[t],a)||!o[e.children_d[t]].state.loaded&&o[e.children_d[t]].original.state.undetermined)return!0;return!1},this.disable_checkbox=function(e){var t,n,r;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.disable_checkbox(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;r=this.get_node(e,!0),e.state.checkbox_disabled||(e.state.checkbox_disabled=!0,r&&r.length&&r.children(".jstree-anchor").children(".jstree-checkbox").addClass("jstree-checkbox-disabled"),this.trigger("disable_checkbox",{node:e}))},this.enable_checkbox=function(e){var t,n,r;if(P.vakata.is_array(e)){for(t=0,n=(e=e.slice()).length;t<n;t++)this.enable_checkbox(e[t]);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;r=this.get_node(e,!0),e.state.checkbox_disabled&&(e.state.checkbox_disabled=!1,r&&r.length&&r.children(".jstree-anchor").children(".jstree-checkbox").removeClass("jstree-checkbox-disabled"),this.trigger("enable_checkbox",{node:e}))},this.activate_node=function(e,t){return!P(t.target).hasClass("jstree-checkbox-disabled")&&(this.settings.checkbox.tie_selection&&(this.settings.checkbox.whole_node||P(t.target).hasClass("jstree-checkbox"))&&(t.ctrlKey=!0),this.settings.checkbox.tie_selection||!this.settings.checkbox.whole_node&&!P(t.target).hasClass("jstree-checkbox")?c.activate_node.call(this,e,t):!this.is_disabled(e)&&(this.is_checked(e)?this.uncheck_node(e,t):this.check_node(e,t),void this.trigger("activate_node",{node:this.get_node(e)})))},this.delete_node=function(e){if(this.settings.checkbox.tie_selection||P.vakata.is_array(e))return c.delete_node(e);var t,n,r,i=!1;if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;for((t=e.children_d.concat([])).push(e.id),n=0,r=t.length;n<r;n++)if(this._model.data[t[n]].state.checked){i=!0;break}return i&&(this._data.checkbox.selected=P.vakata.array_filter(this._data.checkbox.selected,function(e){return-1===P.inArray(e,t)})),c.delete_node.call(this,e)},this._cascade_new_checked_state=function(e,t){var n,r,i,a=this.settings.checkbox.tie_selection,o=this._model.data[e],s=[],c=[];if(!this.settings.checkbox.cascade_to_disabled&&o.state.disabled||!this.settings.checkbox.cascade_to_hidden&&o.state.hidden)i=this.get_checked_descendants(e),o.state[a?"selected":"checked"]&&i.push(o.id),s=s.concat(i);else{if(o.children)for(n=0,r=o.children.length;n<r;n++){var l=o.children[n];i=this._cascade_new_checked_state(l,t),s=s.concat(i),-1<i.indexOf(l)&&c.push(l)}var u=this.get_node(o,!0),f=0<c.length&&c.length<o.children.length;o.original&&o.original.state&&o.original.state.undetermined&&(o.original.state.undetermined=f),f?(o.state[a?"selected":"checked"]=!1,u.children(".jstree-anchor").attr("aria-selected",!1).removeClass(a?"jstree-clicked":"jstree-checked")):t&&c.length===o.children.length?(o.state[a?"selected":"checked"]=t,s.push(o.id),u.children(".jstree-anchor").attr("aria-selected",!0).addClass(a?"jstree-clicked":"jstree-checked")):(o.state[a?"selected":"checked"]=!1,u.children(".jstree-anchor").attr("aria-selected",!1).removeClass(a?"jstree-clicked":"jstree-checked"))}return s},this.get_checked_descendants=function(e){var t=this,n=t.settings.checkbox.tie_selection,r=t._model.data[e];return P.vakata.array_filter(r.children_d,function(e){return t._model.data[e].state[n?"selected":"checked"]})},this.check_node=function(e,t){if(this.settings.checkbox.tie_selection)return this.select_node(e,!1,!0,t);var n,r,i;if(P.vakata.is_array(e)){for(r=0,i=(e=e.slice()).length;r<i;r++)this.check_node(e[r],t);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;n=this.get_node(e,!0),e.state.checked||(e.state.checked=!0,this._data.checkbox.selected.push(e.id),n&&n.length&&n.children(".jstree-anchor").addClass("jstree-checked"),this.trigger("check_node",{node:e,selected:this._data.checkbox.selected,event:t}))},this.uncheck_node=function(e,t){if(this.settings.checkbox.tie_selection)return this.deselect_node(e,!1,t);var n,r,i;if(P.vakata.is_array(e)){for(n=0,r=(e=e.slice()).length;n<r;n++)this.uncheck_node(e[n],t);return!0}if(!(e=this.get_node(e))||e.id===P.jstree.root)return!1;i=this.get_node(e,!0),e.state.checked&&(e.state.checked=!1,this._data.checkbox.selected=P.vakata.array_remove_item(this._data.checkbox.selected,e.id),i.length&&i.children(".jstree-anchor").removeClass("jstree-checked"),this.trigger("uncheck_node",{node:e,selected:this._data.checkbox.selected,event:t}))},this.check_all=function(){if(this.settings.checkbox.tie_selection)return this.select_all();var e,t;this._data.checkbox.selected.concat([]);for(this._data.checkbox.selected=this._model.data[P.jstree.root].children_d.concat(),e=0,t=this._data.checkbox.selected.length;e<t;e++)this._model.data[this._data.checkbox.selected[e]]&&(this._model.data[this._data.checkbox.selected[e]].state.checked=!0);this.redraw(!0),this.trigger("check_all",{selected:this._data.checkbox.selected})},this.uncheck_all=function(){if(this.settings.checkbox.tie_selection)return this.deselect_all();var e,t,n=this._data.checkbox.selected.concat([]);for(e=0,t=this._data.checkbox.selected.length;e<t;e++)this._model.data[this._data.checkbox.selected[e]]&&(this._model.data[this._data.checkbox.selected[e]].state.checked=!1);this._data.checkbox.selected=[],this.element.find(".jstree-checked").removeClass("jstree-checked"),this.trigger("uncheck_all",{selected:this._data.checkbox.selected,node:n})},this.is_checked=function(e){return this.settings.checkbox.tie_selection?this.is_selected(e):!(!(e=this.get_node(e))||e.id===P.jstree.root)&&e.state.checked},this.get_checked=function(e){return this.settings.checkbox.tie_selection?this.get_selected(e):e?P.map(this._data.checkbox.selected,function(e){return this.get_node(e)}.bind(this)):this._data.checkbox.selected.slice()},this.get_top_checked=function(e){if(this.settings.checkbox.tie_selection)return this.get_top_selected(e);var t,n,r,i,a=this.get_checked(!0),o={};for(t=0,n=a.length;t<n;t++)o[a[t].id]=a[t];for(t=0,n=a.length;t<n;t++)for(r=0,i=a[t].children_d.length;r<i;r++)o[a[t].children_d[r]]&&delete o[a[t].children_d[r]];for(t in a=[],o)o.hasOwnProperty(t)&&a.push(t);return e?P.map(a,function(e){return this.get_node(e)}.bind(this)):a},this.get_bottom_checked=function(e){if(this.settings.checkbox.tie_selection)return this.get_bottom_selected(e);var t,n,r=this.get_checked(!0),i=[];for(t=0,n=r.length;t<n;t++)r[t].children.length||i.push(r[t].id);return e?P.map(i,function(e){return this.get_node(e)}.bind(this)):i},this.load_node=function(e,t){var n,r,i;if(!P.vakata.is_array(e)&&!this.settings.checkbox.tie_selection&&(i=this.get_node(e))&&i.state.loaded)for(n=0,r=i.children_d.length;n<r;n++)this._model.data[i.children_d[n]].state.checked&&(!0,this._data.checkbox.selected=P.vakata.array_remove_item(this._data.checkbox.selected,i.children_d[n]));return c.load_node.apply(this,arguments)},this.get_state=function(){var e=c.get_state.apply(this,arguments);return this.settings.checkbox.tie_selection||(e.checkbox=this._data.checkbox.selected.slice()),e},this.set_state=function(e,t){var n=c.set_state.apply(this,arguments);if(n&&e.checkbox){if(!this.settings.checkbox.tie_selection){this.uncheck_all();var r=this;P.each(e.checkbox,function(e,t){r.check_node(t)})}return delete e.checkbox,this.set_state(e,t),!1}return n},this.refresh=function(e,t){return this.settings.checkbox.tie_selection&&(this._data.checkbox.selected=[]),c.refresh.apply(this,arguments)}},P.jstree.defaults.conditionalselect=function(){return!0},P.jstree.plugins.conditionalselect=function(e,n){this.activate_node=function(e,t){if(this.settings.conditionalselect.call(this,this.get_node(e),t))return n.activate_node.call(this,e,t)}},P.jstree.defaults.contextmenu={select_node:!0,show_at_node:!0,items:function(e,t){return{create:{separator_before:!1,separator_after:!0,_disabled:!1,label:"Create",action:function(e){var n=P.jstree.reference(e.reference),t=n.get_node(e.reference);n.create_node(t,{},"last",function(t){try{n.edit(t)}catch(e){setTimeout(function(){n.edit(t)},0)}})}},rename:{separator_before:!1,separator_after:!1,_disabled:!1,label:"Rename",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.edit(n)}},remove:{separator_before:!1,icon:!1,separator_after:!1,_disabled:!1,label:"Delete",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.is_selected(n)?t.delete_node(t.get_selected()):t.delete_node(n)}},ccp:{separator_before:!0,icon:!1,separator_after:!1,label:"Edit",action:!1,submenu:{cut:{separator_before:!1,separator_after:!1,label:"Cut",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.is_selected(n)?t.cut(t.get_top_selected()):t.cut(n)}},copy:{separator_before:!1,icon:!1,separator_after:!1,label:"Copy",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.is_selected(n)?t.copy(t.get_top_selected()):t.copy(n)}},paste:{separator_before:!1,icon:!1,_disabled:function(e){return!P.jstree.reference(e.reference).can_paste()},separator_after:!1,label:"Paste",action:function(e){var t=P.jstree.reference(e.reference),n=t.get_node(e.reference);t.paste(n)}}}}}}},P.jstree.plugins.contextmenu=function(e,a){this.bind=function(){a.bind.call(this);var t,n,r=0,i=null;this.element.on("init.jstree loading.jstree ready.jstree",function(){this.get_container_ul().addClass("jstree-contextmenu")}.bind(this)).on("contextmenu.jstree",".jstree-anchor",function(e,t){"input"!==e.target.tagName.toLowerCase()&&(e.preventDefault(),r=e.ctrlKey?+new Date:0,(t||i)&&(r=+new Date+1e4),i&&clearTimeout(i),this.is_loading(e.currentTarget)||this.show_contextmenu(e.currentTarget,e.pageX,e.pageY,e))}.bind(this)).on("click.jstree",".jstree-anchor",function(e){this._data.contextmenu.visible&&(!r||250<+new Date-r)&&P.vakata.context.hide(),r=0}.bind(this)).on("touchstart.jstree",".jstree-anchor",function(e){e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(t=e.originalEvent.changedTouches[0].clientX,n=e.originalEvent.changedTouches[0].clientY,i=setTimeout(function(){P(e.currentTarget).trigger("contextmenu",!0)},750))}).on("touchmove.vakata.jstree",function(e){i&&e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(10<Math.abs(t-e.originalEvent.changedTouches[0].clientX)||10<Math.abs(n-e.originalEvent.changedTouches[0].clientY))&&(clearTimeout(i),P.vakata.context.hide())}).on("touchend.vakata.jstree",function(e){i&&clearTimeout(i)}),P(y).on("context_hide.vakata.jstree",function(e,t){this._data.contextmenu.visible=!1,P(t.reference).removeClass("jstree-context")}.bind(this))},this.teardown=function(){this._data.contextmenu.visible&&P.vakata.context.hide(),P(y).off("context_hide.vakata.jstree"),a.teardown.call(this)},this.show_contextmenu=function(t,n,r,e){if(!(t=this.get_node(t))||t.id===P.jstree.root)return!1;var i=this.settings.contextmenu,a=this.get_node(t,!0).children(".jstree-anchor"),o=!1,s=!1;(i.show_at_node||n===M||r===M)&&(o=a.offset(),n=o.left,r=o.top+this._data.core.li_height),this.settings.contextmenu.select_node&&!this.is_selected(t)&&this.activate_node(t,e),s=i.items,P.vakata.is_function(s)&&(s=s.call(this,t,function(e){this._show_contextmenu(t,n,r,e)}.bind(this))),P.isPlainObject(s)&&this._show_contextmenu(t,n,r,s)},this._show_contextmenu=function(e,t,n,r){var i=this.get_node(e,!0).children(".jstree-anchor");P(y).one("context_show.vakata.jstree",function(e,t){var n="jstree-contextmenu jstree-"+this.get_theme()+"-contextmenu";P(t.element).addClass(n),i.addClass("jstree-context")}.bind(this)),this._data.contextmenu.visible=!0,P.vakata.context.show(i,{x:t,y:n},r),this.trigger("show_contextmenu",{node:e,x:t,y:n})}},h={element:d=!1,reference:!1,position_x:0,position_y:0,items:[],html:"",is_visible:!1},(f=P).vakata.context={settings:{hide_onmouseleave:0,icons:!0},_trigger:function(e){f(y).triggerHandler("context_"+e+".vakata",{reference:h.reference,element:h.element,position:{x:h.position_x,y:h.position_y}})},_execute:function(e){return!(!(e=h.items[e])||e._disabled&&(!f.vakata.is_function(e._disabled)||e._disabled({item:e,reference:h.reference,element:h.element}))||!e.action)&&e.action.call(null,{item:e,reference:h.reference,element:h.element,position:{x:h.position_x,y:h.position_y}})},_parse:function(e,t){if(!e)return!1;t||(h.html="",h.items=[]);var n,r="",i=!1;return t&&(r+="<ul>"),f.each(e,function(e,t){if(!t)return!0;h.items.push(t),!i&&t.separator_before&&(r+="<li class='vakata-context-separator'><a href='#' "+(f.vakata.context.settings.icons?"":'class="vakata-context-no-icons"')+"> </a></li>"),i=!1,r+="<li class='"+(t._class||"")+(!0===t._disabled||f.vakata.is_function(t._disabled)&&t._disabled({item:t,reference:h.reference,element:h.element})?" vakata-contextmenu-disabled ":"")+"' "+(t.shortcut?" data-shortcut='"+t.shortcut+"' ":"")+">",r+="<a href='#' rel='"+(h.items.length-1)+"' "+(t.title?"title='"+t.title+"'":"")+">",f.vakata.context.settings.icons&&(r+="<i ",t.icon&&(-1!==t.icon.indexOf("/")||-1!==t.icon.indexOf(".")?r+=" style='background:url(\""+t.icon+"\") center center no-repeat' ":r+=" class='"+t.icon+"' "),r+="></i><span class='vakata-contextmenu-sep'> </span>"),r+=(f.vakata.is_function(t.label)?t.label({item:e,reference:h.reference,element:h.element}):t.label)+(t.shortcut?' <span class="vakata-contextmenu-shortcut vakata-contextmenu-shortcut-'+t.shortcut+'">'+(t.shortcut_label||"")+"</span>":"")+"</a>",t.submenu&&(n=f.vakata.context._parse(t.submenu,!0))&&(r+=n),r+="</li>",t.separator_after&&(r+="<li class='vakata-context-separator'><a href='#' "+(f.vakata.context.settings.icons?"":'class="vakata-context-no-icons"')+"> </a></li>",i=!0)}),r=r.replace(/<li class\='vakata-context-separator'\><\/li\>$/,""),t&&(r+="</ul>"),t||(h.html=r,f.vakata.context._trigger("parse")),10<r.length&&r},_show_submenu:function(e){if((e=f(e)).length&&e.children("ul").length){var t=e.children("ul"),n=e.offset().left,r=n+e.outerWidth(),i=e.offset().top,a=t.width(),o=t.height(),s=f(window).width()+f(window).scrollLeft(),c=f(window).height()+f(window).scrollTop();d?e[r-(a+10+e.outerWidth())<0?"addClass":"removeClass"]("vakata-context-left"):e[s<r+a&&s-r<n?"addClass":"removeClass"]("vakata-context-right"),c<i+o+10&&t.css("bottom","-1px"),e.hasClass("vakata-context-right")?n<a&&t.css("margin-right",n-a):s-r<a&&t.css("margin-left",s-r-a),t.show()}},show:function(e,t,n){var r,i,a,o,s,c,l,u;switch(h.element&&h.element.length&&h.element.width(""),!0){case!t&&!e:return!1;case!!t&&!!e:h.reference=e,h.position_x=t.x,h.position_y=t.y;break;case!t&&!!e:r=(h.reference=e).offset(),h.position_x=r.left+e.outerHeight(),h.position_y=r.top;break;case!!t&&!e:h.position_x=t.x,h.position_y=t.y}e&&!n&&f(e).data("vakata_contextmenu")&&(n=f(e).data("vakata_contextmenu")),f.vakata.context._parse(n)&&h.element.html(h.html),h.items.length&&(h.element.appendTo(y.body),i=h.element,a=h.position_x,o=h.position_y,s=i.width(),c=i.height(),l=f(window).width()+f(window).scrollLeft(),u=f(window).height()+f(window).scrollTop(),d&&(a-=i.outerWidth()-f(e).outerWidth())<f(window).scrollLeft()+20&&(a=f(window).scrollLeft()+20),l<a+s+20&&(a=l-(s+20)),u<o+c+20&&(o=u-(c+20)),h.element.css({left:a,top:o}).show().find("a").first().trigger("focus").parent().addClass("vakata-context-hover"),h.is_visible=!0,f.vakata.context._trigger("show"))},hide:function(){h.is_visible&&(h.element.hide().find("ul").hide().end().find(":focus").trigger("blur").end().detach(),h.is_visible=!1,f.vakata.context._trigger("hide"))}},f(function(){d="rtl"===f(y.body).css("direction");var t=!1;h.element=f("<ul class='vakata-context'></ul>"),h.element.on("mouseenter","li",function(e){e.stopImmediatePropagation(),f.contains(this,e.relatedTarget)||(t&&clearTimeout(t),h.element.find(".vakata-context-hover").removeClass("vakata-context-hover").end(),f(this).siblings().find("ul").hide().end().end().parentsUntil(".vakata-context","li").addBack().addClass("vakata-context-hover"),f.vakata.context._show_submenu(this))}).on("mouseleave","li",function(e){f.contains(this,e.relatedTarget)||f(this).find(".vakata-context-hover").addBack().removeClass("vakata-context-hover")}).on("mouseleave",function(e){f(this).find(".vakata-context-hover").removeClass("vakata-context-hover"),f.vakata.context.settings.hide_onmouseleave&&(t=setTimeout(function(){f.vakata.context.hide()},f.vakata.context.settings.hide_onmouseleave))}).on("click","a",function(e){e.preventDefault(),f(this).trigger("blur").parent().hasClass("vakata-context-disabled")||!1===f.vakata.context._execute(f(this).attr("rel"))||f.vakata.context.hide()}).on("keydown","a",function(e){var t=null;switch(e.which){case 13:case 32:e.type="click",e.preventDefault(),f(e.currentTarget).trigger(e);break;case 37:h.is_visible&&(h.element.find(".vakata-context-hover").last().closest("li").first().find("ul").hide().find(".vakata-context-hover").removeClass("vakata-context-hover").end().end().children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 38:h.is_visible&&((t=h.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").prevAll("li:not(.vakata-context-separator)").first()).length||(t=h.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").last()),t.addClass("vakata-context-hover").children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 39:h.is_visible&&(h.element.find(".vakata-context-hover").last().children("ul").show().children("li:not(.vakata-context-separator)").removeClass("vakata-context-hover").first().addClass("vakata-context-hover").children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 40:h.is_visible&&((t=h.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").nextAll("li:not(.vakata-context-separator)").first()).length||(t=h.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").first()),t.addClass("vakata-context-hover").children("a").trigger("focus"),e.stopImmediatePropagation(),e.preventDefault());break;case 27:f.vakata.context.hide(),e.preventDefault()}}).on("keydown",function(e){e.preventDefault();var t=h.element.find(".vakata-contextmenu-shortcut-"+e.which).parent();t.parent().not(".vakata-context-disabled")&&t.trigger("click")}),f(y).on("mousedown.vakata.jstree",function(e){h.is_visible&&h.element[0]!==e.target&&!f.contains(h.element[0],e.target)&&f.vakata.context.hide()}).on("context_show.vakata.jstree",function(e,t){h.element.find("li:has(ul)").children("a").addClass("vakata-context-parent"),d&&h.element.addClass("vakata-context-rtl").css("direction","rtl"),h.element.find("ul").hide().end()})}),P.jstree.defaults.dnd={copy:!0,open_timeout:500,is_draggable:!0,check_while_dragging:!0,always_copy:!1,inside_pos:0,drag_selection:!0,touch:!0,large_drop_target:!1,large_drag_target:!1,use_html5:!1,blank_space_drop:!1},P.jstree.plugins.dnd=function(e,s){this.init=function(e,t){s.init.call(this,e,t),this.settings.dnd.use_html5=this.settings.dnd.use_html5&&"draggable"in y.createElement("span")},this.bind=function(){s.bind.call(this),this.element.on(this.settings.dnd.use_html5?"dragstart.jstree":"mousedown.jstree touchstart.jstree",this.settings.dnd.large_drag_target?".jstree-node":".jstree-anchor",function(e){if(this.settings.dnd.large_drag_target&&P(e.target).closest(".jstree-node")[0]!==e.currentTarget)return!0;if("touchstart"===e.type&&(!this.settings.dnd.touch||"selected"===this.settings.dnd.touch&&!P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").hasClass("jstree-clicked")))return!0;var t=this.get_node(e.target),n=this.is_selected(t)&&this.settings.dnd.drag_selection?this.get_top_selected().length:1,r=1<n?n+" "+this.get_string("nodes"):this.get_text(e.currentTarget);if(this.settings.core.force_text&&(r=P.vakata.html.escape(r)),t&&t.id&&t.id!==P.jstree.root&&(1===e.which||"touchstart"===e.type||"dragstart"===e.type)&&(!0===this.settings.dnd.is_draggable||P.vakata.is_function(this.settings.dnd.is_draggable)&&this.settings.dnd.is_draggable.call(this,1<n?this.get_top_selected(!0):[t],e))){if(c={jstree:!0,origin:this,obj:this.get_node(t,!0),nodes:1<n?this.get_top_selected():[t.id]},u=e.currentTarget,!this.settings.dnd.use_html5)return this.element.trigger("mousedown.jstree"),P.vakata.dnd.start(e,c,'<div id="jstree-dnd" class="jstree-'+this.get_theme()+" jstree-"+this.get_theme()+"-"+this.get_theme_variant()+" "+(this.settings.core.themes.responsive?" jstree-dnd-responsive":"")+'"><i class="jstree-icon jstree-er"></i>'+r+'<ins class="jstree-copy">+</ins></div>');P.vakata.dnd._trigger("start",e,{helper:P(),element:u,data:c})}}.bind(this)),this.settings.dnd.use_html5&&this.element.on("dragover.jstree",function(e){return e.preventDefault(),P.vakata.dnd._trigger("move",e,{helper:P(),element:u,data:c}),!1}).on("drop.jstree",function(e){return e.preventDefault(),P.vakata.dnd._trigger("stop",e,{helper:P(),element:u,data:c}),!1}.bind(this))},this.redraw_node=function(e,t,n,r){if((e=s.redraw_node.apply(this,arguments))&&this.settings.dnd.use_html5)if(this.settings.dnd.large_drag_target)e.setAttribute("draggable",!0);else{var i,a,o=null;for(i=0,a=e.childNodes.length;i<a;i++)if(e.childNodes[i]&&e.childNodes[i].className&&-1!==e.childNodes[i].className.indexOf("jstree-anchor")){o=e.childNodes[i];break}o&&o.setAttribute("draggable",!0)}return e}},P(function(){var x=!1,k=!1,E=!1,D=!1,I=P('<div id="jstree-marker"> </div>').hide();P(y).on("dragover.vakata.jstree",function(e){u&&P.vakata.dnd._trigger("move",e,{helper:P(),element:u,data:c})}).on("drop.vakata.jstree",function(e){u&&(P.vakata.dnd._trigger("stop",e,{helper:P(),element:u,data:c}),c=u=null)}).on("dnd_start.vakata.jstree",function(e,t){E=x=!1,t&&t.data&&t.data.jstree&&I.appendTo(y.body)}).on("dnd_move.vakata.jstree",function(e,i){var a=i.event.target!==E.target;if(D&&(i.event&&"dragover"===i.event.type&&!a||clearTimeout(D)),i&&i.data&&i.data.jstree&&(!i.event.target.id||"jstree-marker"!==i.event.target.id)){E=i.event;var o,s,c,l,u,f,d,h,p,m,g,_,b,v,y,w,C,A=P.jstree.reference(i.event.target),S=!1,T=!1,t=!1;if(A&&A._data&&A._data.dnd)if(I.attr("class","jstree-"+A.get_theme()+(A.settings.core.themes.responsive?" jstree-dnd-responsive":"")),y=i.data.origin&&(i.data.origin.settings.dnd.always_copy||i.data.origin.settings.dnd.copy&&(i.event.metaKey||i.event.ctrlKey)),i.helper.children().attr("class","jstree-"+A.get_theme()+" jstree-"+A.get_theme()+"-"+A.get_theme_variant()+" "+(A.settings.core.themes.responsive?" jstree-dnd-responsive":"")).find(".jstree-copy").first()[y?"show":"hide"](),i.event.target!==A.element[0]&&i.event.target!==A.get_container_ul()[0]||0!==A.get_container_ul().children().length&&!A.settings.dnd.blank_space_drop){if((S=A.settings.dnd.large_drop_target?P(i.event.target).closest(".jstree-node").children(".jstree-anchor"):P(i.event.target).closest(".jstree-anchor"))&&S.length&&S.parent().is(".jstree-closed, .jstree-open, .jstree-leaf")&&(T=S.offset(),t=(i.event.pageY!==M?i.event.pageY:i.event.originalEvent.pageY)-T.top,c=S.outerHeight(),f=t<c/3?["b","i","a"]:c-c/3<t?["a","i","b"]:c/2<t?["i","a","b"]:["i","b","a"],P.each(f,function(e,t){switch(t){case"b":o=T.left-6,s=T.top,l=A.get_parent(S),u=S.parent().index(),C="jstree-below";break;case"i":b=A.settings.dnd.inside_pos,v=A.get_node(S.parent()),o=T.left-2,s=T.top+c/2+1,l=v.id,u="first"===b?0:"last"===b?v.children.length:Math.min(b,v.children.length),C="jstree-inside";break;case"a":o=T.left-6,s=T.top+c,l=A.get_parent(S),u=S.parent().index()+1,C="jstree-above"}for(d=!0,h=0,p=i.data.nodes.length;h<p;h++)if(m=i.data.origin&&(i.data.origin.settings.dnd.always_copy||i.data.origin.settings.dnd.copy&&(i.event.metaKey||i.event.ctrlKey))?"copy_node":"move_node",g=u,"move_node"===m&&"a"===t&&i.data.origin&&i.data.origin===A&&l===A.get_parent(i.data.nodes[h])&&(_=A.get_node(l),g>P.inArray(i.data.nodes[h],_.children)&&(g-=1)),!(d=d&&(A&&A.settings&&A.settings.dnd&&!1===A.settings.dnd.check_while_dragging||A.check(m,i.data.origin&&i.data.origin!==A?i.data.origin.get_node(i.data.nodes[h]):i.data.nodes[h],l,g,{dnd:!0,ref:A.get_node(S.parent()),pos:t,origin:i.data.origin,is_multi:i.data.origin&&i.data.origin!==A,is_foreign:!i.data.origin})))){A&&A.last_error&&(k=A.last_error());break}var n,r;if("i"===t&&S.parent().is(".jstree-closed")&&A.settings.dnd.open_timeout&&(i.event&&"dragover"===i.event.type&&!a||(D&&clearTimeout(D),D=setTimeout((n=A,r=S,function(){n.open_node(r)}),A.settings.dnd.open_timeout))),d)return(w=A.get_node(l,!0)).hasClass(".jstree-dnd-parent")||(P(".jstree-dnd-parent").removeClass("jstree-dnd-parent"),w.addClass("jstree-dnd-parent")),x={ins:A,par:l,pos:"i"!==t||"last"!==b||0!==u||A.is_loaded(v)?u:"last"},I.css({left:o+"px",top:s+"px"}).show(),I.removeClass("jstree-above jstree-inside jstree-below").addClass(C),i.helper.find(".jstree-icon").first().removeClass("jstree-er").addClass("jstree-ok"),i.event.originalEvent&&i.event.originalEvent.dataTransfer&&(i.event.originalEvent.dataTransfer.dropEffect=y?"copy":"move"),k={},!(f=!0)}),!0===f))return}else{for(d=!0,h=0,p=i.data.nodes.length;h<p&&(d=d&&A.check(i.data.origin&&(i.data.origin.settings.dnd.always_copy||i.data.origin.settings.dnd.copy&&(i.event.metaKey||i.event.ctrlKey))?"copy_node":"move_node",i.data.origin&&i.data.origin!==A?i.data.origin.get_node(i.data.nodes[h]):i.data.nodes[h],P.jstree.root,"last",{dnd:!0,ref:A.get_node(P.jstree.root),pos:"i",origin:i.data.origin,is_multi:i.data.origin&&i.data.origin!==A,is_foreign:!i.data.origin}));h++);if(d)return x={ins:A,par:P.jstree.root,pos:"last"},I.hide(),i.helper.find(".jstree-icon").first().removeClass("jstree-er").addClass("jstree-ok"),void(i.event.originalEvent&&i.event.originalEvent.dataTransfer&&(i.event.originalEvent.dataTransfer.dropEffect=y?"copy":"move"))}P(".jstree-dnd-parent").removeClass("jstree-dnd-parent"),x=!1,i.helper.find(".jstree-icon").removeClass("jstree-ok").addClass("jstree-er"),i.event.originalEvent&&i.event.originalEvent.dataTransfer,I.hide()}}).on("dnd_scroll.vakata.jstree",function(e,t){t&&t.data&&t.data.jstree&&(I.hide(),E=x=!1,t.helper.find(".jstree-icon").first().removeClass("jstree-ok").addClass("jstree-er"))}).on("dnd_stop.vakata.jstree",function(e,t){if(P(".jstree-dnd-parent").removeClass("jstree-dnd-parent"),D&&clearTimeout(D),t&&t.data&&t.data.jstree){I.hide().detach();var n,r,i=[];if(x){for(n=0,r=t.data.nodes.length;n<r;n++)i[n]=t.data.origin?t.data.origin.get_node(t.data.nodes[n]):t.data.nodes[n];x.ins[t.data.origin&&(t.data.origin.settings.dnd.always_copy||t.data.origin.settings.dnd.copy&&(t.event.metaKey||t.event.ctrlKey))?"copy_node":"move_node"](i,x.par,x.pos,!1,!1,!1,t.data.origin)}else(n=P(t.event.target).closest(".jstree")).length&&k&&k.error&&"check"===k.error&&(n=n.jstree(!0))&&n.settings.core.error.call(this,k);x=E=!1}}).on("keyup.jstree keydown.jstree",function(e,t){(t=P.vakata.dnd._get())&&t.data&&t.data.jstree&&("keyup"===e.type&&27===e.which?(D&&clearTimeout(D),D=E=k=x=!1,I.hide().detach(),P.vakata.dnd._clean()):(t.helper.find(".jstree-copy").first()[t.data.origin&&(t.data.origin.settings.dnd.always_copy||t.data.origin.settings.dnd.copy&&(e.metaKey||e.ctrlKey))?"show":"hide"](),E&&(E.metaKey=e.metaKey,E.ctrlKey=e.ctrlKey,P.vakata.dnd._trigger("move",E))))})}),m={element:!((p=P).vakata.html={div:p("<div></div>"),escape:function(e){return p.vakata.html.div.text(e).html()},strip:function(e){return p.vakata.html.div.empty().append(p.parseHTML(e)).text()}}),target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1},p.vakata.dnd={settings:{scroll_speed:10,scroll_proximity:20,helper_left:5,helper_top:10,threshold:5,threshold_touch:10},_trigger:function(e,t,n){n===M&&(n=p.vakata.dnd._get()),n.event=t,p(y).triggerHandler("dnd_"+e+".vakata",n)},_get:function(){return{data:m.data,element:m.element,helper:m.helper}},_clean:function(){m.helper&&m.helper.remove(),m.scroll_i&&(clearInterval(m.scroll_i),m.scroll_i=!1),m={element:!1,target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1},u=null,p(y).off("mousemove.vakata.jstree touchmove.vakata.jstree",p.vakata.dnd.drag),p(y).off("mouseup.vakata.jstree touchend.vakata.jstree",p.vakata.dnd.stop)},_scroll:function(e){if(!m.scroll_e||!m.scroll_l&&!m.scroll_t)return m.scroll_i&&(clearInterval(m.scroll_i),m.scroll_i=!1),!1;if(!m.scroll_i)return m.scroll_i=setInterval(p.vakata.dnd._scroll,100),!1;if(!0===e)return!1;var t=m.scroll_e.scrollTop(),n=m.scroll_e.scrollLeft();m.scroll_e.scrollTop(t+m.scroll_t*p.vakata.dnd.settings.scroll_speed),m.scroll_e.scrollLeft(n+m.scroll_l*p.vakata.dnd.settings.scroll_speed),t===m.scroll_e.scrollTop()&&n===m.scroll_e.scrollLeft()||p.vakata.dnd._trigger("scroll",m.scroll_e)},start:function(e,t,n){"touchstart"===e.type&&e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(e.pageX=e.originalEvent.changedTouches[0].pageX,e.pageY=e.originalEvent.changedTouches[0].pageY,e.target=y.elementFromPoint(e.originalEvent.changedTouches[0].pageX-window.pageXOffset,e.originalEvent.changedTouches[0].pageY-window.pageYOffset)),m.is_drag&&p.vakata.dnd.stop({});try{e.currentTarget.unselectable="on",e.currentTarget.onselectstart=function(){return!1},e.currentTarget.style&&(e.currentTarget.style.touchAction="none",e.currentTarget.style.msTouchAction="none",e.currentTarget.style.MozUserSelect="none")}catch(e){}return m.init_x=e.pageX,m.init_y=e.pageY,m.data=t,m.is_down=!0,m.element=e.currentTarget,m.target=e.target,m.is_touch="touchstart"===e.type,!1!==n&&(m.helper=p("<div id='vakata-dnd'></div>").html(n).css({display:"block",margin:"0",padding:"0",position:"absolute",top:"-2000px",lineHeight:"16px",zIndex:"10000"})),p(y).on("mousemove.vakata.jstree touchmove.vakata.jstree",p.vakata.dnd.drag),p(y).on("mouseup.vakata.jstree touchend.vakata.jstree",p.vakata.dnd.stop),!1},drag:function(n){if("touchmove"===n.type&&n.originalEvent&&n.originalEvent.changedTouches&&n.originalEvent.changedTouches[0]&&(n.pageX=n.originalEvent.changedTouches[0].pageX,n.pageY=n.originalEvent.changedTouches[0].pageY,n.target=y.elementFromPoint(n.originalEvent.changedTouches[0].pageX-window.pageXOffset,n.originalEvent.changedTouches[0].pageY-window.pageYOffset)),m.is_down){if(!m.is_drag){if(!(Math.abs(n.pageX-m.init_x)>(m.is_touch?p.vakata.dnd.settings.threshold_touch:p.vakata.dnd.settings.threshold)||Math.abs(n.pageY-m.init_y)>(m.is_touch?p.vakata.dnd.settings.threshold_touch:p.vakata.dnd.settings.threshold)))return;m.helper&&(m.helper.appendTo(y.body),m.helper_w=m.helper.outerWidth()),m.is_drag=!0,p(m.target).one("click.vakata",!1),p.vakata.dnd._trigger("start",n)}var e=!1,t=!1,r=!1,i=!1,a=!1,o=!1,s=!1,c=!1,l=!1,u=!1;return m.scroll_t=0,m.scroll_l=0,m.scroll_e=!1,p(p(n.target).parentsUntil("body").addBack().get().reverse()).filter(function(){return this.ownerDocument&&/^auto|scroll$/.test(p(this).css("overflow"))&&(this.scrollHeight>this.offsetHeight||this.scrollWidth>this.offsetWidth)}).each(function(){var e=p(this),t=e.offset();if(this.scrollHeight>this.offsetHeight&&(t.top+e.height()-n.pageY<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=1),n.pageY-t.top<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=-1)),this.scrollWidth>this.offsetWidth&&(t.left+e.width()-n.pageX<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=1),n.pageX-t.left<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=-1)),m.scroll_t||m.scroll_l)return m.scroll_e=p(this),!1}),m.scroll_e||(e=p(y),t=p(window),r=e.height(),i=t.height(),a=e.width(),o=t.width(),s=e.scrollTop(),c=e.scrollLeft(),i<r&&n.pageY-s<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=-1),i<r&&i-(n.pageY-s)<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_t=1),o<a&&n.pageX-c<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=-1),o<a&&o-(n.pageX-c)<p.vakata.dnd.settings.scroll_proximity&&(m.scroll_l=1),(m.scroll_t||m.scroll_l)&&(m.scroll_e=e)),m.scroll_e&&p.vakata.dnd._scroll(!0),m.helper&&(l=parseInt(n.pageY+p.vakata.dnd.settings.helper_top,10),u=parseInt(n.pageX+p.vakata.dnd.settings.helper_left,10),r&&r<l+25&&(l=r-50),a&&u+m.helper_w>a&&(u=a-(m.helper_w+2)),m.helper.css({left:u+"px",top:l+"px"})),p.vakata.dnd._trigger("move",n),!1}},stop:function(e){if("touchend"===e.type&&e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(e.pageX=e.originalEvent.changedTouches[0].pageX,e.pageY=e.originalEvent.changedTouches[0].pageY,e.target=y.elementFromPoint(e.originalEvent.changedTouches[0].pageX-window.pageXOffset,e.originalEvent.changedTouches[0].pageY-window.pageYOffset)),m.is_drag)e.target!==m.target&&p(m.target).off("click.vakata"),p.vakata.dnd._trigger("stop",e);else if("touchend"===e.type&&e.target===m.target){var t=setTimeout(function(){p(e.target).trigger("click")},100);p(e.target).one("click",function(){t&&clearTimeout(t)})}return p.vakata.dnd._clean(),!1}},P.jstree.defaults.massload=null,P.jstree.plugins.massload=function(e,u){this.init=function(e,t){this._data.massload={},u.init.call(this,e,t)},this._load_nodes=function(a,o,s,c){var e,t,l,n=this.settings.massload,r=[],i=this._model.data;if(!s){for(e=0,t=a.length;e<t;e++)i[a[e]]&&(i[a[e]].state.loaded||i[a[e]].state.failed)&&!c||(r.push(a[e]),(l=this.get_node(a[e],!0))&&l.length&&l.addClass("jstree-loading").attr("aria-busy",!0));if(this._data.massload={},r.length){if(P.vakata.is_function(n))return n.call(this,r,function(e){var t,n;if(e)for(t in e)e.hasOwnProperty(t)&&(this._data.massload[t]=e[t]);for(t=0,n=a.length;t<n;t++)(l=this.get_node(a[t],!0))&&l.length&&l.removeClass("jstree-loading").attr("aria-busy",!1);u._load_nodes.call(this,a,o,s,c)}.bind(this));if("object"==typeof n&&n&&n.url)return n=P.extend(!0,{},n),P.vakata.is_function(n.url)&&(n.url=n.url.call(this,r)),P.vakata.is_function(n.data)&&(n.data=n.data.call(this,r)),P.ajax(n).done(function(e,t,n){var r,i;if(e)for(r in e)e.hasOwnProperty(r)&&(this._data.massload[r]=e[r]);for(r=0,i=a.length;r<i;r++)(l=this.get_node(a[r],!0))&&l.length&&l.removeClass("jstree-loading").attr("aria-busy",!1);u._load_nodes.call(this,a,o,s,c)}.bind(this)).fail(function(e){u._load_nodes.call(this,a,o,s,c)}.bind(this))}}return u._load_nodes.call(this,a,o,s,c)},this._load_node=function(e,t){var n,r=this._data.massload[e.id],i=null;return r?(i=this["string"==typeof r?"_append_html_data":"_append_json_data"](e,"string"==typeof r?P(P.parseHTML(r)).filter(function(){return 3!==this.nodeType}):r,function(e){t.call(this,e)}),(n=this.get_node(e.id,!0))&&n.length&&n.removeClass("jstree-loading").attr("aria-busy",!1),delete this._data.massload[e.id],i):u._load_node.call(this,e,t)}},P.jstree.defaults.search={ajax:!1,fuzzy:!1,case_sensitive:!1,show_only_matches:!1,show_only_matches_children:!1,close_opened_onclear:!0,search_leaves_only:!1,search_callback:!1},P.jstree.plugins.search=function(e,s){this.bind=function(){s.bind.call(this),this._data.search.str="",this._data.search.dom=P(),this._data.search.res=[],this._data.search.opn=[],this._data.search.som=!1,this._data.search.smc=!1,this._data.search.hdn=[],this.element.on("search.jstree",function(e,t){if(this._data.search.som&&t.res.length){var n,r,i,a,o=this._model.data,s=[];for(n=0,r=t.res.length;n<r;n++)if(o[t.res[n]]&&!o[t.res[n]].state.hidden&&(s.push(t.res[n]),s=s.concat(o[t.res[n]].parents),this._data.search.smc))for(i=0,a=o[t.res[n]].children_d.length;i<a;i++)o[o[t.res[n]].children_d[i]]&&!o[o[t.res[n]].children_d[i]].state.hidden&&s.push(o[t.res[n]].children_d[i]);s=P.vakata.array_remove_item(P.vakata.array_unique(s),P.jstree.root),this._data.search.hdn=this.hide_all(!0),this.show_node(s,!0),this.redraw(!0)}}.bind(this)).on("clear_search.jstree",function(e,t){this._data.search.som&&t.res.length&&(this.show_node(this._data.search.hdn,!0),this.redraw(!0))}.bind(this))},this.search=function(r,e,t,n,i,a){if(!1===r||""===P.vakata.trim(r.toString()))return this.clear_search();n=(n=this.get_node(n))&&n.id?n.id:null,r=r.toString();var o,s,c=this.settings.search,l=!!c.ajax&&c.ajax,u=this._model.data,f=null,d=[],h=[];if(this._data.search.res.length&&!i&&this.clear_search(),t===M&&(t=c.show_only_matches),a===M&&(a=c.show_only_matches_children),!e&&!1!==l)return P.vakata.is_function(l)?l.call(this,r,function(e){e&&e.d&&(e=e.d),this._load_nodes(P.vakata.is_array(e)?P.vakata.array_unique(e):[],function(){this.search(r,!0,t,n,i,a)})}.bind(this),n):((l=P.extend({},l)).data||(l.data={}),l.data.str=r,n&&(l.data.inside=n),this._data.search.lastRequest&&this._data.search.lastRequest.abort(),this._data.search.lastRequest=P.ajax(l).fail(function(){this._data.core.last_error={error:"ajax",plugin:"search",id:"search_01",reason:"Could not load search parents",data:JSON.stringify(l)},this.settings.core.error.call(this,this._data.core.last_error)}.bind(this)).done(function(e){e&&e.d&&(e=e.d),this._load_nodes(P.vakata.is_array(e)?P.vakata.array_unique(e):[],function(){this.search(r,!0,t,n,i,a)})}.bind(this)),this._data.search.lastRequest);if(i||(this._data.search.str=r,this._data.search.dom=P(),this._data.search.res=[],this._data.search.opn=[],this._data.search.som=t,this._data.search.smc=a),f=new P.vakata.search(r,!0,{caseSensitive:c.case_sensitive,fuzzy:c.fuzzy}),P.each(u[n||P.jstree.root].children_d,function(e,t){var n=u[t];n.text&&!n.state.hidden&&(!c.search_leaves_only||n.state.loaded&&0===n.children.length)&&(c.search_callback&&c.search_callback.call(this,r,n)||!c.search_callback&&f.search(n.text).isMatch)&&(d.push(t),h=h.concat(n.parents))}),d.length){for(o=0,s=(h=P.vakata.array_unique(h)).length;o<s;o++)h[o]!==P.jstree.root&&u[h[o]]&&!0===this.open_node(h[o],null,0)&&this._data.search.opn.push(h[o]);i?(this._data.search.dom=this._data.search.dom.add(P(this.element[0].querySelectorAll("#"+P.map(d,function(e){return-1!=="0123456789".indexOf(e[0])?"\\3"+e[0]+" "+e.substr(1).replace(P.jstree.idregex,"\\$&"):e.replace(P.jstree.idregex,"\\$&")}).join(", #")))),this._data.search.res=P.vakata.array_unique(this._data.search.res.concat(d))):(this._data.search.dom=P(this.element[0].querySelectorAll("#"+P.map(d,function(e){return-1!=="0123456789".indexOf(e[0])?"\\3"+e[0]+" "+e.substr(1).replace(P.jstree.idregex,"\\$&"):e.replace(P.jstree.idregex,"\\$&")}).join(", #"))),this._data.search.res=d),this._data.search.dom.children(".jstree-anchor").addClass("jstree-search")}this.trigger("search",{nodes:this._data.search.dom,str:r,res:this._data.search.res,show_only_matches:t})},this.clear_search=function(){this.settings.search.close_opened_onclear&&this.close_node(this._data.search.opn,0),this.trigger("clear_search",{nodes:this._data.search.dom,str:this._data.search.str,res:this._data.search.res}),this._data.search.res.length&&(this._data.search.dom=P(this.element[0].querySelectorAll("#"+P.map(this._data.search.res,function(e){return-1!=="0123456789".indexOf(e[0])?"\\3"+e[0]+" "+e.substr(1).replace(P.jstree.idregex,"\\$&"):e.replace(P.jstree.idregex,"\\$&")}).join(", #"))),this._data.search.dom.children(".jstree-anchor").removeClass("jstree-search")),this._data.search.str="",this._data.search.res=[],this._data.search.opn=[],this._data.search.dom=P()},this.redraw_node=function(e,t,n,r){if((e=s.redraw_node.apply(this,arguments))&&-1!==P.inArray(e.id,this._data.search.res)){var i,a,o=null;for(i=0,a=e.childNodes.length;i<a;i++)if(e.childNodes[i]&&e.childNodes[i].className&&-1!==e.childNodes[i].className.indexOf("jstree-anchor")){o=e.childNodes[i];break}o&&(o.className+=" jstree-search")}return e}},(S=P).vakata.search=function(g,e,_){_=_||{},!1!==(_=S.extend({},S.vakata.search.defaults,_)).fuzzy&&(_.fuzzy=!0),g=_.caseSensitive?g:g.toLowerCase();var b,v,y,t,w=_.location,i=_.distance,C=_.threshold,A=g.length;return 32<A&&(_.fuzzy=!1),_.fuzzy&&(b=1<<A-1,v=function(){var e={},t=0;for(t=0;t<A;t++)e[g.charAt(t)]=0;for(t=0;t<A;t++)e[g.charAt(t)]|=1<<A-t-1;return e}(),y=function(e,t){var n=e/A,r=Math.abs(w-t);return i?n+r/i:r?1:n}),t=function(e){if(e=_.caseSensitive?e.toString():e.toString().toLowerCase(),g===e||-1!==e.indexOf(g))return{isMatch:!0,score:0};if(!_.fuzzy)return{isMatch:!1,score:1};var t,n,r,i,a,o,s,c,l,u=e.length,f=C,d=e.indexOf(g,w),h=A+u,p=1,m=[];for(-1!==d&&(f=Math.min(y(0,d),f),-1!==(d=e.lastIndexOf(g,w+A))&&(f=Math.min(y(0,d),f))),d=-1,t=0;t<A;t++){for(r=0,i=h;r<i;)y(t,w+i)<=f?r=i:h=i,i=Math.floor((h-r)/2+r);for(h=i,o=Math.max(1,w-i+1),s=Math.min(w+i,u)+A,(c=new Array(s+2))[s+1]=(1<<t)-1,n=s;o<=n;n--)if(l=v[e.charAt(n-1)],c[n]=0===t?(c[n+1]<<1|1)&l:(c[n+1]<<1|1)&l|(a[n+1]|a[n])<<1|1|a[n+1],c[n]&b&&(p=y(t,n-1))<=f){if(f=p,d=n-1,m.push(d),!(w<d))break;o=Math.max(1,2*w-d)}if(y(t+1,w)>f)break;a=c}return{isMatch:0<=d,score:p}},!0===e?{search:t}:t(e)},S.vakata.search.defaults={location:0,distance:100,threshold:.6,fuzzy:!1,caseSensitive:!1},P.jstree.defaults.sort=function(e,t){return this.get_text(e)>this.get_text(t)?1:-1};var _=!(P.jstree.plugins.sort=function(e,t){this.bind=function(){t.bind.call(this),this.element.on("model.jstree",function(e,t){this.sort(t.parent,!0)}.bind(this)).on("rename_node.jstree create_node.jstree",function(e,t){this.sort(t.parent||t.node.parent,!1),this.redraw_node(t.parent||t.node.parent,!0)}.bind(this)).on("move_node.jstree copy_node.jstree",function(e,t){this.sort(t.parent,!1),this.redraw_node(t.parent,!0)}.bind(this))},this.sort=function(e,t){var n,r;if((e=this.get_node(e))&&e.children&&e.children.length&&(e.children.sort(this.settings.sort.bind(this)),t))for(n=0,r=e.children_d.length;n<r;n++)this.sort(e.children_d[n],!1)}});P.jstree.defaults.state={key:"jstree",events:"changed.jstree open_node.jstree close_node.jstree check_node.jstree uncheck_node.jstree",ttl:!1,filter:!1,preserve_loaded:!1},P.jstree.plugins.state=function(e,t){this.bind=function(){t.bind.call(this);var n=function(){this.element.on(this.settings.state.events,function(){_&&clearTimeout(_),_=setTimeout(function(){this.save_state()}.bind(this),100)}.bind(this)),this.trigger("state_ready")}.bind(this);this.element.on("ready.jstree",function(e,t){this.element.one("restore_state.jstree",n),this.restore_state()||n()}.bind(this))},this.save_state=function(){var e=this.get_state();this.settings.state.preserve_loaded||delete e.core.loaded;var t={state:e,ttl:this.settings.state.ttl,sec:+new Date};P.vakata.storage.set(this.settings.state.key,JSON.stringify(t))},this.restore_state=function(){var n=P.vakata.storage.get(this.settings.state.key);if(n)try{n=JSON.parse(n)}catch(e){return!1}return!(n&&n.ttl&&n.sec&&+new Date-n.sec>n.ttl)&&(n&&n.state&&(n=n.state),n&&P.vakata.is_function(this.settings.state.filter)&&(n=this.settings.state.filter.call(this,n)),!!n&&(this.settings.state.preserve_loaded||delete n.core.loaded,this.element.one("set_state.jstree",function(e,t){t.instance.trigger("restore_state",{state:P.extend(!0,{},n)})}),this.set_state(n),!0))},this.clear_state=function(){return P.vakata.storage.del(this.settings.state.key)}},P.vakata.storage={set:function(e,t){return window.localStorage.setItem(e,t)},get:function(e){return window.localStorage.getItem(e)},del:function(e){return window.localStorage.removeItem(e)}},P.jstree.defaults.types={default:{}},P.jstree.defaults.types[P.jstree.root]={},P.jstree.plugins.types=function(e,u){this.init=function(e,t){var n,r;if(t&&t.types&&t.types.default)for(n in t.types)if("default"!==n&&n!==P.jstree.root&&t.types.hasOwnProperty(n))for(r in t.types.default)t.types.default.hasOwnProperty(r)&&t.types[n][r]===M&&(t.types[n][r]=t.types.default[r]);u.init.call(this,e,t),this._model.data[P.jstree.root].type=P.jstree.root},this.refresh=function(e,t){u.refresh.call(this,e,t),this._model.data[P.jstree.root].type=P.jstree.root},this.bind=function(){this.element.on("model.jstree",function(e,t){var n,r,i,a=this._model.data,o=t.nodes,s=this.settings.types,c="default";for(n=0,r=o.length;n<r;n++){if(c="default",a[o[n]].original&&a[o[n]].original.type&&s[a[o[n]].original.type]&&(c=a[o[n]].original.type),a[o[n]].data&&a[o[n]].data.jstree&&a[o[n]].data.jstree.type&&s[a[o[n]].data.jstree.type]&&(c=a[o[n]].data.jstree.type),a[o[n]].type=c,!0===a[o[n]].icon&&s[c].icon!==M&&(a[o[n]].icon=s[c].icon),s[c].li_attr!==M&&"object"==typeof s[c].li_attr)for(i in s[c].li_attr)if(s[c].li_attr.hasOwnProperty(i)){if("id"===i)continue;a[o[n]].li_attr[i]===M?a[o[n]].li_attr[i]=s[c].li_attr[i]:"class"===i&&(a[o[n]].li_attr.class=s[c].li_attr.class+" "+a[o[n]].li_attr.class)}if(s[c].a_attr!==M&&"object"==typeof s[c].a_attr)for(i in s[c].a_attr)if(s[c].a_attr.hasOwnProperty(i)){if("id"===i)continue;a[o[n]].a_attr[i]===M?a[o[n]].a_attr[i]=s[c].a_attr[i]:"href"===i&&"#"===a[o[n]].a_attr[i]?a[o[n]].a_attr.href=s[c].a_attr.href:"class"===i&&(a[o[n]].a_attr.class=s[c].a_attr.class+" "+a[o[n]].a_attr.class)}}a[P.jstree.root].type=P.jstree.root}.bind(this)),u.bind.call(this)},this.get_json=function(e,t,n){var r,i,a=this._model.data,o=t?P.extend(!0,{},t,{no_id:!1}):{},s=u.get_json.call(this,e,o,n);if(!1===s)return!1;if(P.vakata.is_array(s))for(r=0,i=s.length;r<i;r++)s[r].type=s[r].id&&a[s[r].id]&&a[s[r].id].type?a[s[r].id].type:"default",t&&t.no_id&&(delete s[r].id,s[r].li_attr&&s[r].li_attr.id&&delete s[r].li_attr.id,s[r].a_attr&&s[r].a_attr.id&&delete s[r].a_attr.id);else s.type=s.id&&a[s.id]&&a[s.id].type?a[s.id].type:"default",t&&t.no_id&&(s=this._delete_ids(s));return s},this._delete_ids=function(e){if(P.vakata.is_array(e)){for(var t=0,n=e.length;t<n;t++)e[t]=this._delete_ids(e[t]);return e}return delete e.id,e.li_attr&&e.li_attr.id&&delete e.li_attr.id,e.a_attr&&e.a_attr.id&&delete e.a_attr.id,e.children&&P.vakata.is_array(e.children)&&(e.children=this._delete_ids(e.children)),e},this.check=function(e,t,n,r,i){if(!1===u.check.call(this,e,t,n,r,i))return!1;t=t&&t.id?t:this.get_node(t),n=n&&n.id?n:this.get_node(n);var a,o,s,c,l=t&&t.id?i&&i.origin?i.origin:P.jstree.reference(t.id):null;switch(l=l&&l._model&&l._model.data?l._model.data:null,e){case"create_node":case"move_node":case"copy_node":if("move_node"!==e||-1===P.inArray(t.id,n.children)){if((a=this.get_rules(n)).max_children!==M&&-1!==a.max_children&&a.max_children===n.children.length)return!(this._data.core.last_error={error:"check",plugin:"types",id:"types_01",reason:"max_children prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});if(a.valid_children!==M&&-1!==a.valid_children&&-1===P.inArray(t.type||"default",a.valid_children))return!(this._data.core.last_error={error:"check",plugin:"types",id:"types_02",reason:"valid_children prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});if(l&&t.children_d&&t.parents){for(s=o=0,c=t.children_d.length;s<c;s++)o=Math.max(o,l[t.children_d[s]].parents.length);o=o-t.parents.length+1}(o<=0||o===M)&&(o=1);do{if(a.max_depth!==M&&-1!==a.max_depth&&a.max_depth<o)return!(this._data.core.last_error={error:"check",plugin:"types",id:"types_03",reason:"max_depth prevents function: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})});n=this.get_node(n.parent),a=this.get_rules(n),o++}while(n)}}return!0},this.get_rules=function(e){if(!(e=this.get_node(e)))return!1;var t=this.get_type(e,!0);return t.max_depth===M&&(t.max_depth=-1),t.max_children===M&&(t.max_children=-1),t.valid_children===M&&(t.valid_children=-1),t},this.get_type=function(e,t){return!!(e=this.get_node(e))&&(t?P.extend({type:e.type},this.settings.types[e.type]):e.type)},this.set_type=function(e,t){var n,r,i,a,o,s,c,l,u=this._model.data;if(P.vakata.is_array(e)){for(r=0,i=(e=e.slice()).length;r<i;r++)this.set_type(e[r],t);return!0}if(n=this.settings.types,e=this.get_node(e),!n[t]||!e)return!1;if((c=this.get_node(e,!0))&&c.length&&(l=c.children(".jstree-anchor")),a=e.type,o=this.get_icon(e),e.type=t,(!0===o||!n[a]||n[a].icon!==M&&o===n[a].icon)&&this.set_icon(e,n[t].icon===M||n[t].icon),n[a]&&n[a].li_attr!==M&&"object"==typeof n[a].li_attr)for(s in n[a].li_attr)if(n[a].li_attr.hasOwnProperty(s)){if("id"===s)continue;"class"===s?(u[e.id].li_attr.class=(u[e.id].li_attr.class||"").replace(n[a].li_attr[s],""),c&&c.removeClass(n[a].li_attr[s])):u[e.id].li_attr[s]===n[a].li_attr[s]&&(u[e.id].li_attr[s]=null,c&&c.removeAttr(s))}if(n[a]&&n[a].a_attr!==M&&"object"==typeof n[a].a_attr)for(s in n[a].a_attr)if(n[a].a_attr.hasOwnProperty(s)){if("id"===s)continue;"class"===s?(u[e.id].a_attr.class=(u[e.id].a_attr.class||"").replace(n[a].a_attr[s],""),l&&l.removeClass(n[a].a_attr[s])):u[e.id].a_attr[s]===n[a].a_attr[s]&&("href"===s?(u[e.id].a_attr[s]="#",l&&l.attr("href","#")):(delete u[e.id].a_attr[s],l&&l.removeAttr(s)))}if(n[t].li_attr!==M&&"object"==typeof n[t].li_attr)for(s in n[t].li_attr)if(n[t].li_attr.hasOwnProperty(s)){if("id"===s)continue;u[e.id].li_attr[s]===M?(u[e.id].li_attr[s]=n[t].li_attr[s],c&&("class"===s?c.addClass(n[t].li_attr[s]):c.attr(s,n[t].li_attr[s]))):"class"===s&&(u[e.id].li_attr.class=n[t].li_attr[s]+" "+u[e.id].li_attr.class,c&&c.addClass(n[t].li_attr[s]))}if(n[t].a_attr!==M&&"object"==typeof n[t].a_attr)for(s in n[t].a_attr)if(n[t].a_attr.hasOwnProperty(s)){if("id"===s)continue;u[e.id].a_attr[s]===M?(u[e.id].a_attr[s]=n[t].a_attr[s],l&&("class"===s?l.addClass(n[t].a_attr[s]):l.attr(s,n[t].a_attr[s]))):"href"===s&&"#"===u[e.id].a_attr[s]?(u[e.id].a_attr.href=n[t].a_attr.href,l&&l.attr("href",n[t].a_attr.href)):"class"===s&&(u[e.id].a_attr.class=n[t].a_attr.class+" "+u[e.id].a_attr.class,l&&l.addClass(n[t].a_attr[s]))}return!0}},P.jstree.defaults.unique={case_sensitive:!1,trim_whitespace:!1,duplicate:function(e,t){return e+" ("+t+")"}},P.jstree.plugins.unique=function(e,m){this.check=function(e,t,n,r,i){if(!1===m.check.call(this,e,t,n,r,i))return!1;if(t=t&&t.id?t:this.get_node(t),!(n=n&&n.id?n:this.get_node(n))||!n.children)return!0;var a,o,s,c="rename_node"===e?r:t.text,l=[],u=this.settings.unique.case_sensitive,f=this.settings.unique.trim_whitespace,d=this._model.data;for(a=0,o=n.children.length;a<o;a++)s=d[n.children[a]].text,u||(s=s.toLowerCase()),f&&(s=s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),l.push(s);switch(u||(c=c.toLowerCase()),f&&(c=c.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),e){case"delete_node":return!0;case"rename_node":return s=t.text||"",u||(s=s.toLowerCase()),f&&(s=s.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),(a=-1===P.inArray(c,l)||t.text&&s===c)||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_01",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a;case"create_node":return(a=-1===P.inArray(c,l))||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_04",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a;case"copy_node":return(a=-1===P.inArray(c,l))||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_02",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a;case"move_node":return(a=t.parent===n.id&&(!i||!i.is_multi)||-1===P.inArray(c,l))||(this._data.core.last_error={error:"check",plugin:"unique",id:"unique_03",reason:"Child with name "+c+" already exists. Preventing: "+e,data:JSON.stringify({chk:e,pos:r,obj:!(!t||!t.id)&&t.id,par:!(!n||!n.id)&&n.id})}),a}return!0},this.create_node=function(e,t,n,r,i){if(!t||"object"==typeof t&&t.text===M){if(null===e&&(e=P.jstree.root),!(e=this.get_node(e)))return m.create_node.call(this,e,t,n,r,i);if(!(n=n===M?"last":n).toString().match(/^(before|after)$/)&&!i&&!this.is_loaded(e))return m.create_node.call(this,e,t,n,r,i);t||(t={});var a,o,s,c,l,u,f=this._model.data,d=this.settings.unique.case_sensitive,h=this.settings.unique.trim_whitespace,p=this.settings.unique.duplicate;for(o=a=this.get_string("New node"),s=[],c=0,l=e.children.length;c<l;c++)u=f[e.children[c]].text,d||(u=u.toLowerCase()),h&&(u=u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")),s.push(u);for(c=1,u=o,d||(u=u.toLowerCase()),h&&(u=u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""));-1!==P.inArray(u,s);)u=o=p.call(this,a,++c).toString(),d||(u=u.toLowerCase()),h&&(u=u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""));t.text=o}return m.create_node.call(this,e,t,n,r,i)}};var b=y.createElement("DIV");if(b.setAttribute("unselectable","on"),b.setAttribute("role","presentation"),b.className="jstree-wholerow",b.innerHTML=" ",P.jstree.plugins.wholerow=function(e,a){this.bind=function(){a.bind.call(this),this.element.on("ready.jstree set_state.jstree",function(){this.hide_dots()}.bind(this)).on("init.jstree loading.jstree ready.jstree",function(){this.get_container_ul().addClass("jstree-wholerow-ul")}.bind(this)).on("deselect_all.jstree",function(e,t){this.element.find(".jstree-wholerow-clicked").removeClass("jstree-wholerow-clicked")}.bind(this)).on("changed.jstree",function(e,t){this.element.find(".jstree-wholerow-clicked").removeClass("jstree-wholerow-clicked");var n,r,i=!1;for(n=0,r=t.selected.length;n<r;n++)(i=this.get_node(t.selected[n],!0))&&i.length&&i.children(".jstree-wholerow").addClass("jstree-wholerow-clicked")}.bind(this)).on("open_node.jstree",function(e,t){this.get_node(t.node,!0).find(".jstree-clicked").parent().children(".jstree-wholerow").addClass("jstree-wholerow-clicked")}.bind(this)).on("hover_node.jstree dehover_node.jstree",function(e,t){"hover_node"===e.type&&this.is_disabled(t.node)||this.get_node(t.node,!0).children(".jstree-wholerow")["hover_node"===e.type?"addClass":"removeClass"]("jstree-wholerow-hovered")}.bind(this)).on("contextmenu.jstree",".jstree-wholerow",function(e){if(this._data.contextmenu){e.preventDefault();var t=P.Event("contextmenu",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey,pageX:e.pageX,pageY:e.pageY});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t)}}.bind(this)).on("click.jstree",".jstree-wholerow",function(e){e.stopImmediatePropagation();var t=P.Event("click",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t).trigger("focus")}).on("dblclick.jstree",".jstree-wholerow",function(e){e.stopImmediatePropagation();var t=P.Event("dblclick",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t).trigger("focus")}).on("click.jstree",".jstree-leaf > .jstree-ocl",function(e){e.stopImmediatePropagation();var t=P.Event("click",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey});P(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t).trigger("focus")}.bind(this)).on("mouseover.jstree",".jstree-wholerow, .jstree-icon",function(e){return e.stopImmediatePropagation(),this.is_disabled(e.currentTarget)||this.hover_node(e.currentTarget),!1}.bind(this)).on("mouseleave.jstree",".jstree-node",function(e){this.dehover_node(e.currentTarget)}.bind(this))},this.teardown=function(){this.settings.wholerow&&this.element.find(".jstree-wholerow").remove(),a.teardown.call(this)},this.redraw_node=function(e,t,n,r){if(e=a.redraw_node.apply(this,arguments)){var i=b.cloneNode(!0);-1!==P.inArray(e.id,this._data.core.selected)&&(i.className+=" jstree-wholerow-clicked"),this._data.core.focused&&this._data.core.focused===e.id&&(i.className+=" jstree-wholerow-hovered"),e.insertBefore(i,e.childNodes[0])}return e}},window.customElements&&Object&&Object.create){var t=Object.create(HTMLElement.prototype);t.createdCallback=function(){var e,t={core:{},plugins:[]};for(e in P.jstree.plugins)P.jstree.plugins.hasOwnProperty(e)&&this.attributes[e]&&(t.plugins.push(e),this.getAttribute(e)&&JSON.parse(this.getAttribute(e))&&(t[e]=JSON.parse(this.getAttribute(e))));for(e in P.jstree.defaults.core)P.jstree.defaults.core.hasOwnProperty(e)&&this.attributes[e]&&(t.core[e]=JSON.parse(this.getAttribute(e))||this.getAttribute(e));P(this).jstree(t)};try{window.customElements.define("vakata-jstree",function(){},{prototype:t})}catch(e){}}}}),function(o,e){"use strict";o.jstree.defaults.alltrigger=null,o.jstree.plugins.alltrigger=function(i,a){this.init=function(e,t){if(i){this.trigger=function(e,t){a.trigger.call(this,e,t),i(e.replace(".jstree","")+".jstree",t)};var n=o.vakata.context._trigger;o.vakata.context._trigger=function(e){n(e),i("context_"+e+".vakata")};var r=o.vakata.dnd._trigger;o.vakata.dnd._trigger=function(e,t,n){r(e,t,n),i("dnd_"+e+".vakata",t,n)}}a.init.call(this,e,t)}}}(jQuery),function(u){"use strict";var e=u.module("ngJsTree",[]);e.controller("jsTreeCtrl",function(){var t=1;this.nodesFingerprint=function(e){return e.__uiNodeId||(e.__uiNodeId=t++),""+e.__uiNodeId+(e.id||"")+(e.text||"")+(e.type||"")},this.changeWatcher=function(o,f){var d,t=function(){var e,t,n=[];if(o)for(var r=u.isFunction(o)?o():o,i=0,a=r.length;i<a;i++)t=r[i],e=f(t),p[e]=t,n.push(e);return n},h=function(e,t){var n,r,i=[],a={};for(n=0,r=t.length;n<r;n++)a[t[n]]=!0;for(n=0,r=e.length;n<r;n++)a[e[n]]||i.push(e[n]);return i},p={};return d={subscribe:function(e,n){e.$watch(t,function(e,t){n&&!1===n(e,t)||function(e,t){var n,r,i,a,o={},s=h(t,e);for(n=0,r=s.length;n<r;n++){var c=s[n];i=p[c],delete p[c];var l=f(i);l===c?d.onRemoved(i):(o[l]=c,d.onChanged(i))}var u=h(e,t);for(n=0,r=u.length;n<r;n++)a=u[n],i=p[a],o[a]||d.onAdded(i)}(e,t)},!0)},onAdded:u.noop,onChanged:u.noop,onRemoved:u.noop}}}),e.directive("jsTree",["$timeout",function(l){return{restrict:"A",scope:{treeData:"=ngModel",treeEventsObj:"=?treeEventsObj",shouldApply:"&"},controller:"jsTreeCtrl",link:function(i,a,o,e){var n=null,t=e.changeWatcher(i.treeData,e.nodesFingerprint),s=[],r=!1;function c(n,r){return function(){var e=arguments,t=n.$parent.$eval(r);n.$root.$$phase?t.apply(n.$parent,e):n.$parent.$apply(function(){t.apply(n.$parent,e)})}}i.destroy=function(){if(s=[],o.tree)if(-1!==o.tree.indexOf(".")){for(var e=o.tree.split("."),t=e.pop(),n=i.$parent,r=0;r<e.length;r++)n=n[e[r]];i.tree=n[t]=a}else i.tree=i.$parent[o.tree]=a;else i.tree=a;i.tree.jstree("destroy")},i.init=function(){i.tree.jstree(n),l(function(){!function(n,e,t){if(t.treeEvents)for(var r=t.treeEvents.split(";"),i=0;i<r.length;i++)if(0<r[i].length){var a=r[i].split(":")[0],o=r[i].split(":")[1];-1===a.indexOf(".")&&(a+=".jstree"),s.push(a),-1===a.indexOf(".vakata")?n.tree.on(a,c(n,o)):$(document).on(a,c(n,o))}u.isObject(n.treeEventsObj)&&u.forEach(n.treeEventsObj,function(t,e){-1===e.indexOf(".")&&(e+=".jstree"),s.push(e),-1===e.indexOf(".vakata")?n.tree.on(e,function(){var e=arguments;n.$root.$$phase?t.apply(n.$parent,e):n.$parent.$apply(function(){t.apply(n.$parent,e)})}):$(document).on(e,function(){var e=arguments;n.$root.$$phase?t.apply(n.$parent,e):n.$parent.$apply(function(){t.apply(n.$parent,e)})})})}(i,0,o)})},t.onChanged=function(e){u.isDefined(i.tree.jstree(!0).set_type)&&i.tree.jstree(!0).set_type(e.id,e.type),i.tree.jstree(!0).rename_node(e.id,e.text)},t.onAdded=function(t){l(function(){for(;r;);r=!0;var e=i.tree.jstree(!0).get_node(t.parent);i.tree.jstree(!0).create_node(e,t,"inside",function(){r=!1})||(r=!1)})},t.onRemoved=function(e){i.tree.jstree(!0).delete_node(e.id)},t.subscribe(i,function(){return!i.shouldApply||i.shouldApply()}),i.$watch(function(){var e=o.jsTree?i.$parent.$eval(o.jsTree):{};n={},u.copy(e,n);var t=JSON.stringify(n);return n.core?n.core.data=i.treeData:n.core={data:i.treeData},n.plugins?n.plugins.push("alltrigger"):n.plugins=["alltrigger"],n.alltrigger=function(e){i.$root.$$phase||-1!==s.indexOf(e)||i.$apply()},t},function(){i.destroy(),i.init()})}}}])}(angular),function(){var to,no="Expected a function",ro="__lodash_hash_undefined__",io="__lodash_placeholder__",ao=9007199254740991,oo=NaN,so=4294967295,co=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]],lo="[object Arguments]",uo="[object Array]",fo="[object Boolean]",ho="[object Date]",po="[object Error]",mo="[object Function]",go="[object GeneratorFunction]",_o="[object Map]",bo="[object Number]",vo="[object Object]",yo="[object Promise]",wo="[object RegExp]",Co="[object Set]",Ao="[object String]",So="[object Symbol]",To="[object WeakMap]",xo="[object ArrayBuffer]",ko="[object DataView]",Eo="[object Float32Array]",Do="[object Float64Array]",Io="[object Int8Array]",Po="[object Int16Array]",Mo="[object Int32Array]",$o="[object Uint8Array]",Oo="[object Uint8ClampedArray]",Ro="[object Uint16Array]",No="[object Uint32Array]",Lo=/\b__p \+= '';/g,Fo=/\b(__p \+=) '' \+/g,Go=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jo=/&(?:amp|lt|gt|quot|#39);/g,Bo=/[&<>"']/g,Uo=RegExp(jo.source),Ho=RegExp(Bo.source),Wo=/<%-([\s\S]+?)%>/g,qo=/<%([\s\S]+?)%>/g,zo=/<%=([\s\S]+?)%>/g,Vo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yo=/^\w*$/,Ko=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qo=/[\\^$.*+?()[\]{}|]/g,Xo=RegExp(Qo.source),Zo=/^\s+/,n=/\s/,Jo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,es=/\{\n\/\* \[wrapped with (.+)\] \*/,ts=/,? & /,ns=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,rs=/[()=,{}\[\]\/\s]/,is=/\\(\\)?/g,as=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,os=/\w*$/,ss=/^[-+]0x[0-9a-f]+$/i,cs=/^0b[01]+$/i,ls=/^\[object .+?Constructor\]$/,us=/^0o[0-7]+$/i,fs=/^(?:0|[1-9]\d*)$/,ds=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hs=/($^)/,ps=/['\n\r\u2028\u2029\\]/g,e="\\ud800-\\udfff",t="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",r="\\u2700-\\u27bf",i="a-z\\xdf-\\xf6\\xf8-\\xff",a="A-Z\\xc0-\\xd6\\xd8-\\xde",o="\\ufe0e\\ufe0f",s="\\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",c="["+e+"]",l="["+s+"]",u="["+t+"]",f="\\d+",d="["+r+"]",h="["+i+"]",p="[^"+e+s+f+r+i+a+"]",m="\\ud83c[\\udffb-\\udfff]",g="[^"+e+"]",_="(?:\\ud83c[\\udde6-\\uddff]){2}",b="[\\ud800-\\udbff][\\udc00-\\udfff]",v="["+a+"]",y="(?:"+h+"|"+p+")",w="(?:"+v+"|"+p+")",C="(?:['’](?:d|ll|m|re|s|t|ve))?",A="(?:['’](?:D|LL|M|RE|S|T|VE))?",S="(?:"+u+"|"+m+")"+"?",T="["+o+"]?",x=T+S+("(?:\\u200d(?:"+[g,_,b].join("|")+")"+T+S+")*"),k="(?:"+[d,_,b].join("|")+")"+x,E="(?:"+[g+u+"?",u,_,b,c].join("|")+")",ms=RegExp("['’]","g"),gs=RegExp(u,"g"),D=RegExp(m+"(?="+m+")|"+E+x,"g"),_s=RegExp([v+"?"+h+"+"+C+"(?="+[l,v,"$"].join("|")+")",w+"+"+A+"(?="+[l,v+y,"$"].join("|")+")",v+"?"+y+"+"+C,v+"+"+A,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",f,k].join("|"),"g"),I=RegExp("[\\u200d"+e+t+o+"]"),bs=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,vs=["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"],ys=-1,ws={};ws[Eo]=ws[Do]=ws[Io]=ws[Po]=ws[Mo]=ws[$o]=ws[Oo]=ws[Ro]=ws[No]=!0,ws[lo]=ws[uo]=ws[xo]=ws[fo]=ws[ko]=ws[ho]=ws[po]=ws[mo]=ws[_o]=ws[bo]=ws[vo]=ws[wo]=ws[Co]=ws[Ao]=ws[To]=!1;var Cs={};Cs[lo]=Cs[uo]=Cs[xo]=Cs[ko]=Cs[fo]=Cs[ho]=Cs[Eo]=Cs[Do]=Cs[Io]=Cs[Po]=Cs[Mo]=Cs[_o]=Cs[bo]=Cs[vo]=Cs[wo]=Cs[Co]=Cs[Ao]=Cs[So]=Cs[$o]=Cs[Oo]=Cs[Ro]=Cs[No]=!0,Cs[po]=Cs[mo]=Cs[To]=!1;var P={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},As=parseFloat,Ss=parseInt,M="object"==typeof global&&global&&global.Object===Object&&global,$="object"==typeof self&&self&&self.Object===Object&&self,Ts=M||$||Function("return this")(),O="object"==typeof exports&&exports&&!exports.nodeType&&exports,R=O&&"object"==typeof module&&module&&!module.nodeType&&module,xs=R&&R.exports===O,N=xs&&M.process,L=function(){try{var e=R&&R.require&&R.require("util").types;return e||N&&N.binding&&N.binding("util")}catch(e){}}(),ks=L&&L.isArrayBuffer,Es=L&&L.isDate,Ds=L&&L.isMap,Is=L&&L.isRegExp,Ps=L&&L.isSet,Ms=L&&L.isTypedArray;function $s(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Os(e,t,n,r){for(var i=-1,a=null==e?0:e.length;++i<a;){var o=e[i];t(r,o,n(o),e)}return r}function Rs(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Ns(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ls(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Fs(e,t){for(var n=-1,r=null==e?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}function Gs(e,t){return!!(null==e?0:e.length)&&-1<Ys(e,t,0)}function js(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function Bs(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function Us(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function Hs(e,t,n,r){var i=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}function Ws(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function qs(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var F=Zs("length");function zs(e,r,t){var i;return t(e,function(e,t,n){if(r(e,t,n))return i=t,!1}),i}function Vs(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}function Ys(e,t,n){return t==t?function(e,t,n){var r=n-1,i=e.length;for(;++r<i;)if(e[r]===t)return r;return-1}(e,t,n):Vs(e,Qs,n)}function Ks(e,t,n,r){for(var i=n-1,a=e.length;++i<a;)if(r(e[i],t))return i;return-1}function Qs(e){return e!=e}function Xs(e,t){var n=null==e?0:e.length;return n?ec(e,t)/n:oo}function Zs(t){return function(e){return null==e?to:e[t]}}function G(t){return function(e){return null==t?to:t[e]}}function Js(e,r,i,a,t){return t(e,function(e,t,n){i=a?(a=!1,e):r(i,e,t,n)}),i}function ec(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==to&&(n=n===to?a:n+a)}return n}function tc(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function nc(e){return e?e.slice(0,bc(e)+1).replace(Zo,""):e}function rc(t){return function(e){return t(e)}}function ic(t,e){return Bs(e,function(e){return t[e]})}function ac(e,t){return e.has(t)}function oc(e,t){for(var n=-1,r=e.length;++n<r&&-1<Ys(t,e[n],0););return n}function sc(e,t){for(var n=e.length;n--&&-1<Ys(t,e[n],0););return n}var cc=G({"À":"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"}),lc=G({"&":"&","<":"<",">":">",'"':""","'":"'"});function uc(e){return"\\"+P[e]}function fc(e){return I.test(e)}function dc(e){var n=-1,r=Array(e.size);return e.forEach(function(e,t){r[++n]=[t,e]}),r}function hc(t,n){return function(e){return t(n(e))}}function pc(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n];o!==t&&o!==io||(e[n]=io,a[i++]=n)}return a}function mc(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function gc(e){return fc(e)?function(e){var t=D.lastIndex=0;for(;D.test(e);)++t;return t}(e):F(e)}function _c(e){return fc(e)?e.match(D)||[]:e.split("")}function bc(e){for(var t=e.length;t--&&n.test(e.charAt(t)););return t}var vc=G({"&":"&","<":"<",">":">",""":'"',"'":"'"});var yc=function e(t){var n,E=(t=null==t?Ts:yc.defaults(Ts.Object(),t,yc.pick(Ts,vs))).Array,r=t.Date,g=t.Error,_=t.Function,i=t.Math,S=t.Object,b=t.RegExp,u=t.String,D=t.TypeError,a=E.prototype,o=_.prototype,f=S.prototype,s=t["__core-js_shared__"],c=o.toString,T=f.hasOwnProperty,l=0,d=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",h=f.toString,p=c.call(S),m=Ts._,v=b("^"+c.call(T).replace(Qo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=xs?t.Buffer:to,w=t.Symbol,C=t.Uint8Array,A=y?y.allocUnsafe:to,x=hc(S.getPrototypeOf,S),k=S.create,I=f.propertyIsEnumerable,P=a.splice,M=w?w.isConcatSpreadable:to,$=w?w.iterator:to,O=w?w.toStringTag:to,R=function(){try{var e=jn(S,"defineProperty");return e({},"",{}),e}catch(e){}}(),N=t.clearTimeout!==Ts.clearTimeout&&t.clearTimeout,L=r&&r.now!==Ts.Date.now&&r.now,F=t.setTimeout!==Ts.setTimeout&&t.setTimeout,G=i.ceil,j=i.floor,B=S.getOwnPropertySymbols,U=y?y.isBuffer:to,H=t.isFinite,W=a.join,q=hc(S.keys,S),z=i.max,V=i.min,Y=r.now,K=t.parseInt,Q=i.random,X=a.reverse,Z=jn(t,"DataView"),J=jn(t,"Map"),ee=jn(t,"Promise"),te=jn(t,"Set"),ne=jn(t,"WeakMap"),re=jn(S,"create"),ie=ne&&new ne,ae={},oe=pr(Z),se=pr(J),ce=pr(ee),le=pr(te),ue=pr(ne),fe=w?w.prototype:to,de=fe?fe.valueOf:to,he=fe?fe.toString:to;function pe(e){if(Pi(e)&&!yi(e)&&!(e instanceof be)){if(e instanceof _e)return e;if(T.call(e,"__wrapped__"))return mr(e)}return new _e(e)}var me=function(){function n(){}return function(e){if(!Ii(e))return{};if(k)return k(e);n.prototype=e;var t=new n;return n.prototype=to,t}}();function ge(){}function _e(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=to}function be(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=so,this.__views__=[]}function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function we(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Ce(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new we;++t<n;)this.add(e[t])}function Ae(e){var t=this.__data__=new ye(e);this.size=t.size}function Se(e,t){var n=yi(e),r=!n&&vi(e),i=!n&&!r&&Si(e),a=!n&&!r&&!i&&Gi(e),o=n||r||i||a,s=o?tc(e.length,u):[],c=s.length;for(var l in e)!t&&!T.call(e,l)||o&&("length"==l||i&&("offset"==l||"parent"==l)||a&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||Vn(l,c))||s.push(l);return s}function Te(e){var t=e.length;return t?e[Ct(0,t-1)]:to}function xe(e,t){return lr(rn(e),Re(t,0,e.length))}function ke(e){return lr(rn(e))}function Ee(e,t,n){(n===to||gi(e[t],n))&&(n!==to||t in e)||$e(e,t,n)}function De(e,t,n){var r=e[t];T.call(e,t)&&gi(r,n)&&(n!==to||t in e)||$e(e,t,n)}function Ie(e,t){for(var n=e.length;n--;)if(gi(e[n][0],t))return n;return-1}function Pe(e,r,i,a){return je(e,function(e,t,n){r(a,e,i(e),n)}),a}function Me(e,t){return e&&an(t,sa(t),e)}function $e(e,t,n){"__proto__"==t&&R?R(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Oe(e,t){for(var n=-1,r=t.length,i=E(r),a=null==e;++n<r;)i[n]=a?to:na(e,t[n]);return i}function Re(e,t,n){return e==e&&(n!==to&&(e=e<=n?e:n),t!==to&&(e=t<=e?e:t)),e}function Ne(n,r,i,e,t,a){var o,s=1&r,c=2&r,l=4&r;if(i&&(o=t?i(n,e,t,a):i(n)),o!==to)return o;if(!Ii(n))return n;var u,f,d,h,p,m,g,_,b,v=yi(n);if(v){if(_=(g=n).length,b=new g.constructor(_),_&&"string"==typeof g[0]&&T.call(g,"index")&&(b.index=g.index,b.input=g.input),o=b,!s)return rn(n,o)}else{var y=Hn(n),w=y==mo||y==go;if(Si(n))return Xt(n,s);if(y==vo||y==lo||w&&!t){if(o=c||w?{}:qn(n),!s)return c?(m=d=n,h=(p=o)&&an(m,ca(m),p),an(d,Un(d),h)):(f=Me(o,u=n),an(u,Bn(u),f))}else{if(!Cs[y])return t?n:{};o=function(e,t,n){var r,i,a,o,s,c=e.constructor;switch(t){case xo:return Zt(e);case fo:case ho:return new c(+e);case ko:return o=e,s=n?Zt(o.buffer):o.buffer,new o.constructor(s,o.byteOffset,o.byteLength);case Eo:case Do:case Io:case Po:case Mo:case $o:case Oo:case Ro:case No:return Jt(e,n);case _o:return new c;case bo:case Ao:return new c(e);case wo:return(a=new(i=e).constructor(i.source,os.exec(i))).lastIndex=i.lastIndex,a;case Co:return new c;case So:return r=e,de?S(de.call(r)):{}}}(n,y,s)}}a||(a=new Ae);var C=a.get(n);if(C)return C;a.set(n,o),Ni(n)?n.forEach(function(e){o.add(Ne(e,r,i,e,n,a))}):Mi(n)&&n.forEach(function(e,t){o.set(t,Ne(e,r,i,t,n,a))});var A=v?to:(l?c?$n:Mn:c?ca:sa)(n);return Rs(A||n,function(e,t){A&&(e=n[t=e]),De(o,t,Ne(e,r,i,t,n,a))}),o}function Le(e,t,n){var r=n.length;if(null==e)return!r;for(e=S(e);r--;){var i=n[r],a=t[i],o=e[i];if(o===to&&!(i in e)||!a(o))return!1}return!0}function Fe(e,t,n){if("function"!=typeof e)throw new D(no);return ar(function(){e.apply(to,n)},t)}function Ge(e,t,n,r){var i=-1,a=Gs,o=!0,s=e.length,c=[],l=t.length;if(!s)return c;n&&(t=Bs(t,rc(n))),r?(a=js,o=!1):200<=t.length&&(a=ac,o=!1,t=new Ce(t));e:for(;++i<s;){var u=e[i],f=null==n?u:n(u);if(u=r||0!==u?u:0,o&&f==f){for(var d=l;d--;)if(t[d]===f)continue e;c.push(u)}else a(t,f,r)||c.push(u)}return c}pe.templateSettings={escape:Wo,evaluate:qo,interpolate:zo,variable:"",imports:{_:pe}},(pe.prototype=ge.prototype).constructor=pe,(_e.prototype=me(ge.prototype)).constructor=_e,(be.prototype=me(ge.prototype)).constructor=be,ve.prototype.clear=function(){this.__data__=re?re(null):{},this.size=0},ve.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve.prototype.get=function(e){var t=this.__data__;if(re){var n=t[e];return n===ro?to:n}return T.call(t,e)?t[e]:to},ve.prototype.has=function(e){var t=this.__data__;return re?t[e]!==to:T.call(t,e)},ve.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=re&&t===to?ro:t,this},ye.prototype.clear=function(){this.__data__=[],this.size=0},ye.prototype.delete=function(e){var t=this.__data__,n=Ie(t,e);return!(n<0||(n==t.length-1?t.pop():P.call(t,n,1),--this.size,0))},ye.prototype.get=function(e){var t=this.__data__,n=Ie(t,e);return n<0?to:t[n][1]},ye.prototype.has=function(e){return-1<Ie(this.__data__,e)},ye.prototype.set=function(e,t){var n=this.__data__,r=Ie(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},we.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(J||ye),string:new ve}},we.prototype.delete=function(e){var t=Fn(this,e).delete(e);return this.size-=t?1:0,t},we.prototype.get=function(e){return Fn(this,e).get(e)},we.prototype.has=function(e){return Fn(this,e).has(e)},we.prototype.set=function(e,t){var n=Fn(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ce.prototype.add=Ce.prototype.push=function(e){return this.__data__.set(e,ro),this},Ce.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.clear=function(){this.__data__=new ye,this.size=0},Ae.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Ae.prototype.get=function(e){return this.__data__.get(e)},Ae.prototype.has=function(e){return this.__data__.has(e)},Ae.prototype.set=function(e,t){var n=this.__data__;if(n instanceof ye){var r=n.__data__;if(!J||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new we(r)}return n.set(e,t),this.size=n.size,this};var je=cn(Ye),Be=cn(Ke,!0);function Ue(e,r){var i=!0;return je(e,function(e,t,n){return i=!!r(e,t,n)}),i}function He(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(null!=o&&(s===to?o==o&&!Fi(o):n(o,s)))var s=o,c=a}return c}function We(e,r){var i=[];return je(e,function(e,t,n){r(e,t,n)&&i.push(e)}),i}function qe(e,t,n,r,i){var a=-1,o=e.length;for(n||(n=zn),i||(i=[]);++a<o;){var s=e[a];0<t&&n(s)?1<t?qe(s,t-1,n,r,i):Us(i,s):r||(i[i.length]=s)}return i}var ze=ln(),Ve=ln(!0);function Ye(e,t){return e&&ze(e,t,sa)}function Ke(e,t){return e&&Ve(e,t,sa)}function Qe(t,e){return Fs(e,function(e){return ki(t[e])})}function Xe(e,t){for(var n=0,r=(t=Vt(t,e)).length;null!=e&&n<r;)e=e[hr(t[n++])];return n&&n==r?e:to}function Ze(e,t,n){var r=t(e);return yi(e)?r:Us(r,n(e))}function Je(e){return null==e?e===to?"[object Undefined]":"[object Null]":O&&O in S(e)?function(e){var t=T.call(e,O),n=e[O];try{e[O]=to;var r=!0}catch(e){}var i=h.call(e);return r&&(t?e[O]=n:delete e[O]),i}(e):(t=e,h.call(t));var t}function et(e,t){return t<e}function tt(e,t){return null!=e&&T.call(e,t)}function nt(e,t){return null!=e&&t in S(e)}function rt(e,t,n){for(var r=n?js:Gs,i=e[0].length,a=e.length,o=a,s=E(a),c=1/0,l=[];o--;){var u=e[o];o&&t&&(u=Bs(u,rc(t))),c=V(u.length,c),s[o]=!n&&(t||120<=i&&120<=u.length)?new Ce(o&&u):to}u=e[0];var f=-1,d=s[0];e:for(;++f<i&&l.length<c;){var h=u[f],p=t?t(h):h;if(h=n||0!==h?h:0,!(d?ac(d,p):r(l,p,n))){for(o=a;--o;){var m=s[o];if(!(m?ac(m,p):r(e[o],p,n)))continue e}d&&d.push(p),l.push(h)}}return l}function it(e,t,n){var r=null==(e=nr(e,t=Vt(t,e)))?e:e[hr(xr(t))];return null==r?to:$s(r,e,n)}function at(e){return Pi(e)&&Je(e)==lo}function ot(e,t,n,r,i){return e===t||(null==e||null==t||!Pi(e)&&!Pi(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var o=yi(e),s=yi(t),c=o?uo:Hn(e),l=s?uo:Hn(t),u=(c=c==lo?vo:c)==vo,f=(l=l==lo?vo:l)==vo,d=c==l;if(d&&Si(e)){if(!Si(t))return!1;u=!(o=!0)}if(d&&!u)return a||(a=new Ae),o||Gi(e)?In(e,t,n,r,i,a):function(e,t,n,r,i,a,o){switch(n){case ko:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case xo:return!(e.byteLength!=t.byteLength||!a(new C(e),new C(t)));case fo:case ho:case bo:return gi(+e,+t);case po:return e.name==t.name&&e.message==t.message;case wo:case Ao:return e==t+"";case _o:var s=dc;case Co:var c=1&r;if(s||(s=mc),e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=2,o.set(e,t);var u=In(s(e),s(t),r,i,a,o);return o.delete(e),u;case So:if(de)return de.call(e)==de.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var h=u&&T.call(e,"__wrapped__"),p=f&&T.call(t,"__wrapped__");if(h||p){var m=h?e.value():e,g=p?t.value():t;return a||(a=new Ae),i(m,g,n,r,a)}}return!!d&&(a||(a=new Ae),function(e,t,n,r,i,a){var o=1&n,s=Mn(e),c=s.length,l=Mn(t).length;if(c!=l&&!o)return!1;for(var u=c;u--;){var f=s[u];if(!(o?f in t:T.call(t,f)))return!1}var d=a.get(e),h=a.get(t);if(d&&h)return d==t&&h==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++u<c;){f=s[u];var g=e[f],_=t[f];if(r)var b=o?r(_,g,f,t,e,a):r(g,_,f,e,t,a);if(!(b===to?g===_||i(g,_,n,r,a):b)){p=!1;break}m||(m="constructor"==f)}if(p&&!m){var v=e.constructor,y=t.constructor;v!=y&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof y&&y instanceof y)&&(p=!1)}return a.delete(e),a.delete(t),p}(e,t,n,r,i,a))}(e,t,n,r,ot,i))}function st(e,t,n,r){var i=n.length,a=i,o=!r;if(null==e)return!a;for(e=S(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){var c=(s=n[i])[0],l=e[c],u=s[1];if(o&&s[2]){if(l===to&&!(c in e))return!1}else{var f=new Ae;if(r)var d=r(l,u,c,e,t,f);if(!(d===to?ot(u,l,3,r,f):d))return!1}}return!0}function ct(e){return!(!Ii(e)||(t=e,d&&d in t))&&(ki(e)?v:ls).test(pr(e));var t}function lt(e){return"function"==typeof e?e:null==e?$a:"object"==typeof e?yi(e)?mt(e[0],e[1]):pt(e):Ua(e)}function ut(e){if(!Zn(e))return q(e);var t=[];for(var n in S(e))T.call(e,n)&&"constructor"!=n&&t.push(n);return t}function ft(e){if(!Ii(e))return function(e){var t=[];if(null!=e)for(var n in S(e))t.push(n);return t}(e);var t=Zn(e),n=[];for(var r in e)("constructor"!=r||!t&&T.call(e,r))&&n.push(r);return n}function dt(e,t){return e<t}function ht(e,r){var i=-1,a=Ci(e)?E(e.length):[];return je(e,function(e,t,n){a[++i]=r(e,t,n)}),a}function pt(t){var n=Gn(t);return 1==n.length&&n[0][2]?er(n[0][0],n[0][1]):function(e){return e===t||st(e,t,n)}}function mt(n,r){return Kn(n)&&Jn(r)?er(hr(n),r):function(e){var t=na(e,n);return t===to&&t===r?ra(e,n):ot(r,t,3)}}function gt(r,i,a,o,s){r!==i&&ze(i,function(e,t){if(s||(s=new Ae),Ii(e))!function(e,t,n,r,i,a,o){var s=rr(e,n),c=rr(t,n),l=o.get(c);if(l)return Ee(e,n,l);var u=a?a(s,c,n+"",e,t,o):to,f=u===to;if(f){var d=yi(c),h=!d&&Si(c),p=!d&&!h&&Gi(c);u=c,d||h||p?u=yi(s)?s:Ai(s)?rn(s):h?Xt(c,!(f=!1)):p?Jt(c,!(f=!1)):[]:Oi(c)||vi(c)?vi(u=s)?u=Vi(s):Ii(s)&&!ki(s)||(u=qn(c)):f=!1}f&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),Ee(e,n,u)}(r,i,t,a,gt,o,s);else{var n=o?o(rr(r,t),e,t+"",r,i,s):to;n===to&&(n=e),Ee(r,t,n)}},ca)}function _t(e,t){var n=e.length;if(n)return Vn(t+=t<0?n:0,n)?e[t]:to}function bt(e,r,n){r=r.length?Bs(r,function(t){return yi(t)?function(e){return Xe(e,1===t.length?t[0]:t)}:t}):[$a];var i=-1;return r=Bs(r,rc(Ln())),function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(ht(e,function(t,e,n){return{criteria:Bs(r,function(e){return e(t)}),index:++i,value:t}}),function(e,t){return function(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=en(i[r],a[r]);if(c){if(s<=r)return c;var l=n[r];return c*("desc"==l?-1:1)}}return e.index-t.index}(e,t,n)})}function vt(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=Xe(e,o);n(s,o)&&kt(a,Vt(o,e),s)}return a}function yt(e,t,n,r){var i=r?Ks:Ys,a=-1,o=t.length,s=e;for(e===t&&(t=rn(t)),n&&(s=Bs(e,rc(n)));++a<o;)for(var c=0,l=t[a],u=n?n(l):l;-1<(c=i(s,u,c,r));)s!==e&&P.call(s,c,1),P.call(e,c,1);return e}function wt(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==a){var a=i;Vn(i)?P.call(e,i,1):Gt(e,i)}}return e}function Ct(e,t){return e+j(Q()*(t-e+1))}function At(e,t){var n="";if(!e||t<1||ao<t)return n;for(;t%2&&(n+=e),(t=j(t/2))&&(e+=e),t;);return n}function St(e,t){return or(tr(e,t,$a),e+"")}function Tt(e){return Te(ga(e))}function xt(e,t){var n=ga(e);return lr(n,Re(t,0,n.length))}function kt(e,t,n,r){if(!Ii(e))return e;for(var i=-1,a=(t=Vt(t,e)).length,o=a-1,s=e;null!=s&&++i<a;){var c=hr(t[i]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=o){var u=s[c];(l=r?r(u,c,s):to)===to&&(l=Ii(u)?u:Vn(t[i+1])?[]:{})}De(s,c,l),s=s[c]}return e}var Et=ie?function(e,t){return ie.set(e,t),e}:$a,Dt=R?function(e,t){return R(e,"toString",{configurable:!0,enumerable:!1,value:Ia(t),writable:!0})}:$a;function It(e){return lr(ga(e))}function Pt(e,t,n){var r=-1,i=e.length;t<0&&(t=i<-t?0:i+t),(n=i<n?i:n)<0&&(n+=i),i=n<t?0:n-t>>>0,t>>>=0;for(var a=E(i);++r<i;)a[r]=e[r+t];return a}function Mt(e,r){var i;return je(e,function(e,t,n){return!(i=r(e,t,n))}),!!i}function $t(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t==t&&i<=2147483647){for(;r<i;){var a=r+i>>>1,o=e[a];null!==o&&!Fi(o)&&(n?o<=t:o<t)?r=a+1:i=a}return i}return Ot(e,t,$a,n)}function Ot(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var o=(t=n(t))!=t,s=null===t,c=Fi(t),l=t===to;i<a;){var u=j((i+a)/2),f=n(e[u]),d=f!==to,h=null===f,p=f==f,m=Fi(f);if(o)var g=r||p;else g=l?p&&(r||d):s?p&&d&&(r||!h):c?p&&d&&!h&&(r||!m):!h&&!m&&(r?f<=t:f<t);g?i=u+1:a=u}return V(a,4294967294)}function Rt(e,t){for(var n=-1,r=e.length,i=0,a=[];++n<r;){var o=e[n],s=t?t(o):o;if(!n||!gi(s,c)){var c=s;a[i++]=0===o?0:o}}return a}function Nt(e){return"number"==typeof e?e:Fi(e)?oo:+e}function Lt(e){if("string"==typeof e)return e;if(yi(e))return Bs(e,Lt)+"";if(Fi(e))return he?he.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function Ft(e,t,n){var r=-1,i=Gs,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=js;else if(200<=a){var l=t?null:Sn(e);if(l)return mc(l);o=!1,i=ac,c=new Ce}else c=t?[]:s;e:for(;++r<a;){var u=e[r],f=t?t(u):u;if(u=n||0!==u?u:0,o&&f==f){for(var d=c.length;d--;)if(c[d]===f)continue e;t&&c.push(f),s.push(u)}else i(c,f,n)||(c!==s&&c.push(f),s.push(u))}return s}function Gt(e,t){return null==(e=nr(e,t=Vt(t,e)))||delete e[hr(xr(t))]}function jt(e,t,n,r){return kt(e,t,n(Xe(e,t)),r)}function Bt(e,t,n,r){for(var i=e.length,a=r?i:-1;(r?a--:++a<i)&&t(e[a],a,e););return n?Pt(e,r?0:a,r?a+1:i):Pt(e,r?a+1:0,r?i:a)}function Ut(e,t){var n=e;return n instanceof be&&(n=n.value()),Hs(t,function(e,t){return t.func.apply(t.thisArg,Us([e],t.args))},n)}function Ht(e,t,n){var r=e.length;if(r<2)return r?Ft(e[0]):[];for(var i=-1,a=E(r);++i<r;)for(var o=e[i],s=-1;++s<r;)s!=i&&(a[i]=Ge(a[i]||o,e[s],t,n));return Ft(qe(a,1),t,n)}function Wt(e,t,n){for(var r=-1,i=e.length,a=t.length,o={};++r<i;){var s=r<a?t[r]:to;n(o,e[r],s)}return o}function qt(e){return Ai(e)?e:[]}function zt(e){return"function"==typeof e?e:$a}function Vt(e,t){return yi(e)?e:Kn(e,t)?[e]:dr(Yi(e))}var Yt=St;function Kt(e,t,n){var r=e.length;return n=n===to?r:n,!t&&r<=n?e:Pt(e,t,n)}var Qt=N||function(e){return Ts.clearTimeout(e)};function Xt(e,t){if(t)return e.slice();var n=e.length,r=A?A(n):new e.constructor(n);return e.copy(r),r}function Zt(e){var t=new e.constructor(e.byteLength);return new C(t).set(new C(e)),t}function Jt(e,t){var n=t?Zt(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function en(e,t){if(e!==t){var n=e!==to,r=null===e,i=e==e,a=Fi(e),o=t!==to,s=null===t,c=t==t,l=Fi(t);if(!s&&!l&&!a&&t<e||a&&o&&c&&!s&&!l||r&&o&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!c)return-1}return 0}function tn(e,t,n,r){for(var i=-1,a=e.length,o=n.length,s=-1,c=t.length,l=z(a-o,0),u=E(c+l),f=!r;++s<c;)u[s]=t[s];for(;++i<o;)(f||i<a)&&(u[n[i]]=e[i]);for(;l--;)u[s++]=e[i++];return u}function nn(e,t,n,r){for(var i=-1,a=e.length,o=-1,s=n.length,c=-1,l=t.length,u=z(a-s,0),f=E(u+l),d=!r;++i<u;)f[i]=e[i];for(var h=i;++c<l;)f[h+c]=t[c];for(;++o<s;)(d||i<a)&&(f[h+n[o]]=e[i++]);return f}function rn(e,t){var n=-1,r=e.length;for(t||(t=E(r));++n<r;)t[n]=e[n];return t}function an(e,t,n,r){var i=!n;n||(n={});for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):to;c===to&&(c=e[s]),i?$e(n,s,c):De(n,s,c)}return n}function on(i,a){return function(e,t){var n=yi(e)?Os:Pe,r=a?a():{};return n(e,i,Ln(t,2),r)}}function sn(s){return St(function(e,t){var n=-1,r=t.length,i=1<r?t[r-1]:to,a=2<r?t[2]:to;for(i=3<s.length&&"function"==typeof i?(r--,i):to,a&&Yn(t[0],t[1],a)&&(i=r<3?to:i,r=1),e=S(e);++n<r;){var o=t[n];o&&s(e,o,n,i)}return e})}function cn(a,o){return function(e,t){if(null==e)return e;if(!Ci(e))return a(e,t);for(var n=e.length,r=o?n:-1,i=S(e);(o?r--:++r<n)&&!1!==t(i[r],r,i););return e}}function ln(c){return function(e,t,n){for(var r=-1,i=S(e),a=n(e),o=a.length;o--;){var s=a[c?o:++r];if(!1===t(i[s],s,i))break}return e}}function un(i){return function(e){var t=fc(e=Yi(e))?_c(e):to,n=t?t[0]:e.charAt(0),r=t?Kt(t,1).join(""):e.slice(1);return n[i]()+r}}function fn(t){return function(e){return Hs(ka(va(e).replace(ms,"")),t,"")}}function dn(r){return function(){var e=arguments;switch(e.length){case 0:return new r;case 1:return new r(e[0]);case 2:return new r(e[0],e[1]);case 3:return new r(e[0],e[1],e[2]);case 4:return new r(e[0],e[1],e[2],e[3]);case 5:return new r(e[0],e[1],e[2],e[3],e[4]);case 6:return new r(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new r(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=me(r.prototype),n=r.apply(t,e);return Ii(n)?n:t}}function hn(o){return function(e,t,n){var r=S(e);if(!Ci(e)){var i=Ln(t,3);e=sa(e),t=function(e){return i(r[e],e,r)}}var a=o(e,t,n);return-1<a?r[i?e[a]:a]:to}}function pn(c){return Pn(function(i){var a=i.length,e=a,t=_e.prototype.thru;for(c&&i.reverse();e--;){var n=i[e];if("function"!=typeof n)throw new D(no);if(t&&!o&&"wrapper"==Rn(n))var o=new _e([],!0)}for(e=o?e:a;++e<a;){var r=Rn(n=i[e]),s="wrapper"==r?On(n):to;o=s&&Qn(s[0])&&424==s[1]&&!s[4].length&&1==s[9]?o[Rn(s[0])].apply(o,s[3]):1==n.length&&Qn(n)?o[r]():o.thru(n)}return function(){var e=arguments,t=e[0];if(o&&1==e.length&&yi(t))return o.plant(t).value();for(var n=0,r=a?i[n].apply(this,e):t;++n<a;)r=i[n].call(this,r);return r}})}function mn(l,u,f,d,h,p,m,g,_,b){var v=128&u,y=1&u,w=2&u,C=24&u,A=512&u,S=w?to:dn(l);return function e(){for(var t=arguments.length,n=E(t),r=t;r--;)n[r]=arguments[r];if(C)var i=Nn(e),a=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(n,i);if(d&&(n=tn(n,d,h,C)),p&&(n=nn(n,p,m,C)),t-=a,C&&t<b){var o=pc(n,i);return Cn(l,u,mn,e.placeholder,f,n,o,g,_,b-t)}var s=y?f:this,c=w?s[l]:l;return t=n.length,g?n=function(e,t){for(var n=e.length,r=V(t.length,n),i=rn(e);r--;){var a=t[r];e[r]=Vn(a,n)?i[a]:to}return e}(n,g):A&&1<t&&n.reverse(),v&&_<t&&(n.length=_),this&&this!==Ts&&this instanceof e&&(c=S||dn(c)),c.apply(s,n)}}function gn(o,s){return function(e,t){return n=e,r=o,i=s(t),a={},Ye(n,function(e,t,n){r(a,i(e),t,n)}),a;var n,r,i,a}}function _n(r,i){return function(e,t){var n;if(e===to&&t===to)return i;if(e!==to&&(n=e),t!==to){if(n===to)return t;t="string"==typeof e||"string"==typeof t?(e=Lt(e),Lt(t)):(e=Nt(e),Nt(t)),n=r(e,t)}return n}}function bn(r){return Pn(function(e){return e=Bs(e,rc(Ln())),St(function(t){var n=this;return r(e,function(e){return $s(e,n,t)})})})}function vn(e,t){var n=(t=t===to?" ":Lt(t)).length;if(n<2)return n?At(t,e):t;var r=At(t,G(e/gc(t)));return fc(t)?Kt(_c(r),0,e).join(""):r.slice(0,e)}function yn(r){return function(e,t,n){return n&&"number"!=typeof n&&Yn(e,t,n)&&(t=n=to),e=Hi(e),t===to?(t=e,e=0):t=Hi(t),function(e,t,n,r){for(var i=-1,a=z(G((t-e)/(n||1)),0),o=E(a);a--;)o[r?a:++i]=e,e+=n;return o}(e,t,n=n===to?e<t?1:-1:Hi(n),r)}}function wn(n){return function(e,t){return"string"==typeof e&&"string"==typeof t||(e=zi(e),t=zi(t)),n(e,t)}}function Cn(e,t,n,r,i,a,o,s,c,l){var u=8&t;t|=u?32:64,4&(t&=~(u?64:32))||(t&=-4);var f=[e,t,i,u?a:to,u?o:to,u?to:a,u?to:o,s,c,l],d=n.apply(to,f);return Qn(e)&&ir(d,f),d.placeholder=r,sr(d,e,t)}function An(e){var r=i[e];return function(e,t){if(e=zi(e),(t=null==t?0:V(Wi(t),292))&&H(e)){var n=(Yi(e)+"e").split("e");return+((n=(Yi(r(n[0]+"e"+(+n[1]+t)))+"e").split("e"))[0]+"e"+(+n[1]-t))}return r(e)}}var Sn=te&&1/mc(new te([,-0]))[1]==1/0?function(e){return new te(e)}:Fa;function Tn(o){return function(e){var t,n,r,i,a=Hn(e);return a==_o?dc(e):a==Co?(t=e,n=-1,r=Array(t.size),t.forEach(function(e){r[++n]=[e,e]}),r):Bs(o(i=e),function(e){return[e,i[e]]})}}function xn(e,t,n,r,i,a,o,s){var c=2&t;if(!c&&"function"!=typeof e)throw new D(no);var l=r?r.length:0;if(l||(t&=-97,r=i=to),o=o===to?o:z(Wi(o),0),s=s===to?s:Wi(s),l-=i?i.length:0,64&t){var u=r,f=i;r=i=to}var d,h,p,m,g,_,b,v,y,w,C,A,S,T=c?to:On(e),x=[e,t,n,r,i,u,f,a,o,s];if(T&&function(e,t){var n=e[1],r=t[1],i=n|r,a=i<131,o=128==r&&8==n||128==r&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(a||o){1&r&&(e[2]=t[2],i|=1&n?0:4);var s=t[3];if(s){var c=e[3];e[3]=c?tn(c,s,t[4]):s,e[4]=c?pc(e[3],io):t[4]}(s=t[5])&&(c=e[5],e[5]=c?nn(c,s,t[6]):s,e[6]=c?pc(e[5],io):t[6]),(s=t[7])&&(e[7]=s),128&r&&(e[8]=null==e[8]?t[8]:V(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i}}(x,T),e=x[0],t=x[1],n=x[2],r=x[3],i=x[4],!(s=x[9]=x[9]===to?c?0:e.length:z(x[9]-l,0))&&24&t&&(t&=-25),t&&1!=t)k=8==t||16==t?(b=t,v=s,y=dn(_=e),function e(){for(var t=arguments.length,n=E(t),r=t,i=Nn(e);r--;)n[r]=arguments[r];var a=t<3&&n[0]!==i&&n[t-1]!==i?[]:pc(n,i);return(t-=a.length)<v?Cn(_,b,mn,e.placeholder,to,n,a,to,to,v-t):$s(this&&this!==Ts&&this instanceof e?y:_,this,n)}):32!=t&&33!=t||i.length?mn.apply(to,x):(h=n,p=r,m=1&t,g=dn(d=e),function e(){for(var t=-1,n=arguments.length,r=-1,i=p.length,a=E(i+n),o=this&&this!==Ts&&this instanceof e?g:d;++r<i;)a[r]=p[r];for(;n--;)a[r++]=arguments[++t];return $s(o,m?h:this,a)});else var k=(C=n,A=1&t,S=dn(w=e),function e(){return(this&&this!==Ts&&this instanceof e?S:w).apply(A?C:this,arguments)});return sr((T?Et:ir)(k,x),e,t)}function kn(e,t,n,r){return e===to||gi(e,f[n])&&!T.call(r,n)?t:e}function En(e,t,n,r,i,a){return Ii(e)&&Ii(t)&&(a.set(t,e),gt(e,t,to,En,a),a.delete(t)),e}function Dn(e){return Oi(e)?to:e}function In(e,t,n,r,i,a){var o=1&n,s=e.length,c=t.length;if(s!=c&&!(o&&s<c))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var f=-1,d=!0,h=2&n?new Ce:to;for(a.set(e,t),a.set(t,e);++f<s;){var p=e[f],m=t[f];if(r)var g=o?r(m,p,f,t,e,a):r(p,m,f,e,t,a);if(g!==to){if(g)continue;d=!1;break}if(h){if(!qs(t,function(e,t){if(!ac(h,t)&&(p===e||i(p,e,n,r,a)))return h.push(t)})){d=!1;break}}else if(p!==m&&!i(p,m,n,r,a)){d=!1;break}}return a.delete(e),a.delete(t),d}function Pn(e){return or(tr(e,to,wr),e+"")}function Mn(e){return Ze(e,sa,Bn)}function $n(e){return Ze(e,ca,Un)}var On=ie?function(e){return ie.get(e)}:Fa;function Rn(e){for(var t=e.name+"",n=ae[t],r=T.call(ae,t)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==e)return i.name}return t}function Nn(e){return(T.call(pe,"placeholder")?pe:e).placeholder}function Ln(){var e=pe.iteratee||Oa;return e=e===Oa?lt:e,arguments.length?e(arguments[0],arguments[1]):e}function Fn(e,t){var n,r,i=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function Gn(e){for(var t=sa(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Jn(i)]}return t}function jn(e,t){var n,r,i=(r=t,null==(n=e)?to:n[r]);return ct(i)?i:to}var Bn=B?function(t){return null==t?[]:(t=S(t),Fs(B(t),function(e){return I.call(t,e)}))}:qa,Un=B?function(e){for(var t=[];e;)Us(t,Bn(e)),e=x(e);return t}:qa,Hn=Je;function Wn(e,t,n){for(var r=-1,i=(t=Vt(t,e)).length,a=!1;++r<i;){var o=hr(t[r]);if(!(a=null!=e&&n(e,o)))break;e=e[o]}return a||++r!=i?a:!!(i=null==e?0:e.length)&&Di(i)&&Vn(o,i)&&(yi(e)||vi(e))}function qn(e){return"function"!=typeof e.constructor||Zn(e)?{}:me(x(e))}function zn(e){return yi(e)||vi(e)||!!(M&&e&&e[M])}function Vn(e,t){var n=typeof e;return!!(t=null==t?ao:t)&&("number"==n||"symbol"!=n&&fs.test(e))&&-1<e&&e%1==0&&e<t}function Yn(e,t,n){if(!Ii(n))return!1;var r=typeof t;return!!("number"==r?Ci(n)&&Vn(t,n.length):"string"==r&&t in n)&&gi(n[t],e)}function Kn(e,t){if(yi(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Fi(e))||Yo.test(e)||!Vo.test(e)||null!=t&&e in S(t)}function Qn(e){var t=Rn(e),n=pe[t];if("function"!=typeof n||!(t in be.prototype))return!1;if(e===n)return!0;var r=On(n);return!!r&&e===r[0]}(Z&&Hn(new Z(new ArrayBuffer(1)))!=ko||J&&Hn(new J)!=_o||ee&&Hn(ee.resolve())!=yo||te&&Hn(new te)!=Co||ne&&Hn(new ne)!=To)&&(Hn=function(e){var t=Je(e),n=t==vo?e.constructor:to,r=n?pr(n):"";if(r)switch(r){case oe:return ko;case se:return _o;case ce:return yo;case le:return Co;case ue:return To}return t});var Xn=s?ki:za;function Zn(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||f)}function Jn(e){return e==e&&!Ii(e)}function er(t,n){return function(e){return null!=e&&e[t]===n&&(n!==to||t in S(e))}}function tr(a,o,s){return o=z(o===to?a.length-1:o,0),function(){for(var e=arguments,t=-1,n=z(e.length-o,0),r=E(n);++t<n;)r[t]=e[o+t];t=-1;for(var i=E(o+1);++t<o;)i[t]=e[t];return i[o]=s(r),$s(a,this,i)}}function nr(e,t){return t.length<2?e:Xe(e,Pt(t,0,-1))}function rr(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ir=cr(Et),ar=F||function(e,t){return Ts.setTimeout(e,t)},or=cr(Dt);function sr(e,t,n){var r,i,a,o=t+"";return or(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(1<n?"& ":"")+t[r],t=t.join(2<n?", ":" "),e.replace(Jo,"{\n/* [wrapped with "+t+"] */\n")}(o,(a=o.match(es),r=a?a[1].split(ts):[],i=n,Rs(co,function(e){var t="_."+e[0];i&e[1]&&!Gs(r,t)&&r.push(t)}),r.sort())))}function cr(n){var r=0,i=0;return function(){var e=Y(),t=16-(e-i);if(i=e,0<t){if(800<=++r)return arguments[0]}else r=0;return n.apply(to,arguments)}}function lr(e,t){var n=-1,r=e.length,i=r-1;for(t=t===to?r:t;++n<t;){var a=Ct(n,i),o=e[a];e[a]=e[n],e[n]=o}return e.length=t,e}var ur,fr,dr=(fr=(ur=ui(function(e){var i=[];return 46===e.charCodeAt(0)&&i.push(""),e.replace(Ko,function(e,t,n,r){i.push(n?r.replace(is,"$1"):t||e)}),i},function(e){return 500===fr.size&&fr.clear(),e})).cache,ur);function hr(e){if("string"==typeof e||Fi(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function pr(e){if(null!=e){try{return c.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function mr(e){if(e instanceof be)return e.clone();var t=new _e(e.__wrapped__,e.__chain__);return t.__actions__=rn(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var gr=St(function(e,t){return Ai(e)?Ge(e,qe(t,1,Ai,!0)):[]}),_r=St(function(e,t){var n=xr(t);return Ai(n)&&(n=to),Ai(e)?Ge(e,qe(t,1,Ai,!0),Ln(n,2)):[]}),br=St(function(e,t){var n=xr(t);return Ai(n)&&(n=to),Ai(e)?Ge(e,qe(t,1,Ai,!0),to,n):[]});function vr(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Wi(n);return i<0&&(i=z(r+i,0)),Vs(e,Ln(t,3),i)}function yr(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==to&&(i=Wi(n),i=n<0?z(r+i,0):V(i,r-1)),Vs(e,Ln(t,3),i,!0)}function wr(e){return null!=e&&e.length?qe(e,1):[]}function Cr(e){return e&&e.length?e[0]:to}var Ar=St(function(e){var t=Bs(e,qt);return t.length&&t[0]===e[0]?rt(t):[]}),Sr=St(function(e){var t=xr(e),n=Bs(e,qt);return t===xr(n)?t=to:n.pop(),n.length&&n[0]===e[0]?rt(n,Ln(t,2)):[]}),Tr=St(function(e){var t=xr(e),n=Bs(e,qt);return(t="function"==typeof t?t:to)&&n.pop(),n.length&&n[0]===e[0]?rt(n,to,t):[]});function xr(e){var t=null==e?0:e.length;return t?e[t-1]:to}var kr=St(Er);function Er(e,t){return e&&e.length&&t&&t.length?yt(e,t):e}var Dr=Pn(function(e,t){var n=null==e?0:e.length,r=Oe(e,t);return wt(e,Bs(t,function(e){return Vn(e,n)?+e:e}).sort(en)),r});function Ir(e){return null==e?e:X.call(e)}var Pr=St(function(e){return Ft(qe(e,1,Ai,!0))}),Mr=St(function(e){var t=xr(e);return Ai(t)&&(t=to),Ft(qe(e,1,Ai,!0),Ln(t,2))}),$r=St(function(e){var t=xr(e);return t="function"==typeof t?t:to,Ft(qe(e,1,Ai,!0),to,t)});function Or(t){if(!t||!t.length)return[];var n=0;return t=Fs(t,function(e){if(Ai(e))return n=z(e.length,n),!0}),tc(n,function(e){return Bs(t,Zs(e))})}function Rr(e,t){if(!e||!e.length)return[];var n=Or(e);return null==t?n:Bs(n,function(e){return $s(t,to,e)})}var Nr=St(function(e,t){return Ai(e)?Ge(e,t):[]}),Lr=St(function(e){return Ht(Fs(e,Ai))}),Fr=St(function(e){var t=xr(e);return Ai(t)&&(t=to),Ht(Fs(e,Ai),Ln(t,2))}),Gr=St(function(e){var t=xr(e);return t="function"==typeof t?t:to,Ht(Fs(e,Ai),to,t)}),jr=St(Or);var Br=St(function(e){var t=e.length,n=1<t?e[t-1]:to;return n="function"==typeof n?(e.pop(),n):to,Rr(e,n)});function Ur(e){var t=pe(e);return t.__chain__=!0,t}function Hr(e,t){return t(e)}var Wr=Pn(function(t){var n=t.length,e=n?t[0]:0,r=this.__wrapped__,i=function(e){return Oe(e,t)};return!(1<n||this.__actions__.length)&&r instanceof be&&Vn(e)?((r=r.slice(e,+e+(n?1:0))).__actions__.push({func:Hr,args:[i],thisArg:to}),new _e(r,this.__chain__).thru(function(e){return n&&!e.length&&e.push(to),e})):this.thru(i)});var qr=on(function(e,t,n){T.call(e,n)?++e[n]:$e(e,n,1)});var zr=hn(vr),Vr=hn(yr);function Yr(e,t){return(yi(e)?Rs:je)(e,Ln(t,3))}function Kr(e,t){return(yi(e)?Ns:Be)(e,Ln(t,3))}var Qr=on(function(e,t,n){T.call(e,n)?e[n].push(t):$e(e,n,[t])});var Xr=St(function(e,t,n){var r=-1,i="function"==typeof t,a=Ci(e)?E(e.length):[];return je(e,function(e){a[++r]=i?$s(t,e,n):it(e,t,n)}),a}),Zr=on(function(e,t,n){$e(e,n,t)});function Jr(e,t){return(yi(e)?Bs:ht)(e,Ln(t,3))}var ei=on(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]});var ti=St(function(e,t){if(null==e)return[];var n=t.length;return 1<n&&Yn(e,t[0],t[1])?t=[]:2<n&&Yn(t[0],t[1],t[2])&&(t=[t[0]]),bt(e,qe(t,1),[])}),ni=L||function(){return Ts.Date.now()};function ri(e,t,n){return t=n?to:t,t=e&&null==t?e.length:t,xn(e,128,to,to,to,to,t)}function ii(e,t){var n;if("function"!=typeof t)throw new D(no);return e=Wi(e),function(){return 0<--e&&(n=t.apply(this,arguments)),e<=1&&(t=to),n}}var ai=St(function(e,t,n){var r=1;if(n.length){var i=pc(n,Nn(ai));r|=32}return xn(e,r,t,n,i)}),oi=St(function(e,t,n){var r=3;if(n.length){var i=pc(n,Nn(oi));r|=32}return xn(t,r,e,n,i)});function si(r,i,e){var a,o,s,c,l,u,f=0,d=!1,h=!1,t=!0;if("function"!=typeof r)throw new D(no);function p(e){var t=a,n=o;return a=o=to,f=e,c=r.apply(n,t)}function m(e){var t=e-u;return u===to||i<=t||t<0||h&&s<=e-f}function g(){var e,t,n=ni();if(m(n))return _(n);l=ar(g,(t=i-((e=n)-u),h?V(t,s-(e-f)):t))}function _(e){return l=to,t&&a?p(e):(a=o=to,c)}function n(){var e,t=ni(),n=m(t);if(a=arguments,o=this,u=t,n){if(l===to)return f=e=u,l=ar(g,i),d?p(e):c;if(h)return Qt(l),l=ar(g,i),p(u)}return l===to&&(l=ar(g,i)),c}return i=zi(i)||0,Ii(e)&&(d=!!e.leading,s=(h="maxWait"in e)?z(zi(e.maxWait)||0,i):s,t="trailing"in e?!!e.trailing:t),n.cancel=function(){l!==to&&Qt(l),f=0,a=u=o=l=to},n.flush=function(){return l===to?c:_(ni())},n}var ci=St(function(e,t){return Fe(e,1,t)}),li=St(function(e,t,n){return Fe(e,zi(t)||0,n)});function ui(i,a){if("function"!=typeof i||null!=a&&"function"!=typeof a)throw new D(no);var o=function(){var e=arguments,t=a?a.apply(this,e):e[0],n=o.cache;if(n.has(t))return n.get(t);var r=i.apply(this,e);return o.cache=n.set(t,r)||n,r};return o.cache=new(ui.Cache||we),o}function fi(t){if("function"!=typeof t)throw new D(no);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)}}ui.Cache=we;var di=Yt(function(r,i){var a=(i=1==i.length&&yi(i[0])?Bs(i[0],rc(Ln())):Bs(qe(i,1),rc(Ln()))).length;return St(function(e){for(var t=-1,n=V(e.length,a);++t<n;)e[t]=i[t].call(this,e[t]);return $s(r,this,e)})}),hi=St(function(e,t){var n=pc(t,Nn(hi));return xn(e,32,to,t,n)}),pi=St(function(e,t){var n=pc(t,Nn(pi));return xn(e,64,to,t,n)}),mi=Pn(function(e,t){return xn(e,256,to,to,to,t)});function gi(e,t){return e===t||e!=e&&t!=t}var _i=wn(et),bi=wn(function(e,t){return t<=e}),vi=at(function(){return arguments}())?at:function(e){return Pi(e)&&T.call(e,"callee")&&!I.call(e,"callee")},yi=E.isArray,wi=ks?rc(ks):function(e){return Pi(e)&&Je(e)==xo};function Ci(e){return null!=e&&Di(e.length)&&!ki(e)}function Ai(e){return Pi(e)&&Ci(e)}var Si=U||za,Ti=Es?rc(Es):function(e){return Pi(e)&&Je(e)==ho};function xi(e){if(!Pi(e))return!1;var t=Je(e);return t==po||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!Oi(e)}function ki(e){if(!Ii(e))return!1;var t=Je(e);return t==mo||t==go||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ei(e){return"number"==typeof e&&e==Wi(e)}function Di(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=ao}function Ii(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Pi(e){return null!=e&&"object"==typeof e}var Mi=Ds?rc(Ds):function(e){return Pi(e)&&Hn(e)==_o};function $i(e){return"number"==typeof e||Pi(e)&&Je(e)==bo}function Oi(e){if(!Pi(e)||Je(e)!=vo)return!1;var t=x(e);if(null===t)return!0;var n=T.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==p}var Ri=Is?rc(Is):function(e){return Pi(e)&&Je(e)==wo};var Ni=Ps?rc(Ps):function(e){return Pi(e)&&Hn(e)==Co};function Li(e){return"string"==typeof e||!yi(e)&&Pi(e)&&Je(e)==Ao}function Fi(e){return"symbol"==typeof e||Pi(e)&&Je(e)==So}var Gi=Ms?rc(Ms):function(e){return Pi(e)&&Di(e.length)&&!!ws[Je(e)]};var ji=wn(dt),Bi=wn(function(e,t){return e<=t});function Ui(e){if(!e)return[];if(Ci(e))return Li(e)?_c(e):rn(e);if($&&e[$])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$]());var t=Hn(e);return(t==_o?dc:t==Co?mc:ga)(e)}function Hi(e){return e?(e=zi(e))!==1/0&&e!==-1/0?e==e?e:0:17976931348623157e292*(e<0?-1:1):0===e?e:0}function Wi(e){var t=Hi(e),n=t%1;return t==t?n?t-n:t:0}function qi(e){return e?Re(Wi(e),0,so):0}function zi(e){if("number"==typeof e)return e;if(Fi(e))return oo;if(Ii(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ii(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=nc(e);var n=cs.test(e);return n||us.test(e)?Ss(e.slice(2),n?2:8):ss.test(e)?oo:+e}function Vi(e){return an(e,ca(e))}function Yi(e){return null==e?"":Lt(e)}var Ki=sn(function(e,t){if(Zn(t)||Ci(t))an(t,sa(t),e);else for(var n in t)T.call(t,n)&&De(e,n,t[n])}),Qi=sn(function(e,t){an(t,ca(t),e)}),Xi=sn(function(e,t,n,r){an(t,ca(t),e,r)}),Zi=sn(function(e,t,n,r){an(t,sa(t),e,r)}),Ji=Pn(Oe);var ea=St(function(e,t){e=S(e);var n=-1,r=t.length,i=2<r?t[2]:to;for(i&&Yn(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],o=ca(a),s=-1,c=o.length;++s<c;){var l=o[s],u=e[l];(u===to||gi(u,f[l])&&!T.call(e,l))&&(e[l]=a[l])}return e}),ta=St(function(e){return e.push(to,En),$s(ua,to,e)});function na(e,t,n){var r=null==e?to:Xe(e,t);return r===to?n:r}function ra(e,t){return null!=e&&Wn(e,t,nt)}var ia=gn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=h.call(t)),e[t]=n},Ia($a)),aa=gn(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=h.call(t)),T.call(e,t)?e[t].push(n):e[t]=[n]},Ln),oa=St(it);function sa(e){return Ci(e)?Se(e):ut(e)}function ca(e){return Ci(e)?Se(e,!0):ft(e)}var la=sn(function(e,t,n){gt(e,t,n)}),ua=sn(function(e,t,n,r){gt(e,t,n,r)}),fa=Pn(function(t,e){var n={};if(null==t)return n;var r=!1;e=Bs(e,function(e){return e=Vt(e,t),r||(r=1<e.length),e}),an(t,$n(t),n),r&&(n=Ne(n,7,Dn));for(var i=e.length;i--;)Gt(n,e[i]);return n});var da=Pn(function(e,t){return null==e?{}:vt(n=e,t,function(e,t){return ra(n,t)});var n});function ha(e,n){if(null==e)return{};var t=Bs($n(e),function(e){return[e]});return n=Ln(n),vt(e,t,function(e,t){return n(e,t[0])})}var pa=Tn(sa),ma=Tn(ca);function ga(e){return null==e?[]:ic(e,sa(e))}var _a=fn(function(e,t,n){return t=t.toLowerCase(),e+(n?ba(t):t)});function ba(e){return xa(Yi(e).toLowerCase())}function va(e){return(e=Yi(e))&&e.replace(ds,cc).replace(gs,"")}var ya=fn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),wa=fn(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Ca=un("toLowerCase");var Aa=fn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});var Sa=fn(function(e,t,n){return e+(n?" ":"")+xa(t)});var Ta=fn(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),xa=un("toUpperCase");function ka(e,t,n){return e=Yi(e),(t=n?to:t)===to?(r=e,bs.test(r)?e.match(_s)||[]:e.match(ns)||[]):e.match(t)||[];var r}var Ea=St(function(e,t){try{return $s(e,to,t)}catch(e){return xi(e)?e:new g(e)}}),Da=Pn(function(t,e){return Rs(e,function(e){e=hr(e),$e(t,e,ai(t[e],t))}),t});function Ia(e){return function(){return e}}var Pa=pn(),Ma=pn(!0);function $a(e){return e}function Oa(e){return lt("function"==typeof e?e:Ne(e,1))}var Ra=St(function(t,n){return function(e){return it(e,t,n)}}),Na=St(function(t,n){return function(e){return it(t,e,n)}});function La(r,t,e){var n=sa(t),i=Qe(t,n);null!=e||Ii(t)&&(i.length||!n.length)||(e=t,t=r,r=this,i=Qe(t,sa(t)));var a=!(Ii(e)&&"chain"in e&&!e.chain),o=ki(r);return Rs(i,function(e){var n=t[e];r[e]=n,o&&(r.prototype[e]=function(){var e=this.__chain__;if(a||e){var t=r(this.__wrapped__);return(t.__actions__=rn(this.__actions__)).push({func:n,args:arguments,thisArg:r}),t.__chain__=e,t}return n.apply(r,Us([this.value()],arguments))})}),r}function Fa(){}var Ga=bn(Bs),ja=bn(Ls),Ba=bn(qs);function Ua(e){return Kn(e)?Zs(hr(e)):(t=e,function(e){return Xe(e,t)});var t}var Ha=yn(),Wa=yn(!0);function qa(){return[]}function za(){return!1}var Va=_n(function(e,t){return e+t},0),Ya=An("ceil"),Ka=_n(function(e,t){return e/t},1),Qa=An("floor");var Xa,Za=_n(function(e,t){return e*t},1),Ja=An("round"),eo=_n(function(e,t){return e-t},0);return pe.after=function(e,t){if("function"!=typeof t)throw new D(no);return e=Wi(e),function(){if(--e<1)return t.apply(this,arguments)}},pe.ary=ri,pe.assign=Ki,pe.assignIn=Qi,pe.assignInWith=Xi,pe.assignWith=Zi,pe.at=Ji,pe.before=ii,pe.bind=ai,pe.bindAll=Da,pe.bindKey=oi,pe.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return yi(e)?e:[e]},pe.chain=Ur,pe.chunk=function(e,t,n){t=(n?Yn(e,t,n):t===to)?1:z(Wi(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,a=0,o=E(G(r/t));i<r;)o[a++]=Pt(e,i,i+=t);return o},pe.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var a=e[t];a&&(i[r++]=a)}return i},pe.concat=function(){var e=arguments.length;if(!e)return[];for(var t=E(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Us(yi(n)?rn(n):[n],qe(t,1))},pe.cond=function(r){var i=null==r?0:r.length,t=Ln();return r=i?Bs(r,function(e){if("function"!=typeof e[1])throw new D(no);return[t(e[0]),e[1]]}):[],St(function(e){for(var t=-1;++t<i;){var n=r[t];if($s(n[0],this,e))return $s(n[1],this,e)}})},pe.conforms=function(e){return t=Ne(e,1),n=sa(t),function(e){return Le(e,t,n)};var t,n},pe.constant=Ia,pe.countBy=qr,pe.create=function(e,t){var n=me(e);return null==t?n:Me(n,t)},pe.curry=function e(t,n,r){var i=xn(t,8,to,to,to,to,to,n=r?to:n);return i.placeholder=e.placeholder,i},pe.curryRight=function e(t,n,r){var i=xn(t,16,to,to,to,to,to,n=r?to:n);return i.placeholder=e.placeholder,i},pe.debounce=si,pe.defaults=ea,pe.defaultsDeep=ta,pe.defer=ci,pe.delay=li,pe.difference=gr,pe.differenceBy=_r,pe.differenceWith=br,pe.drop=function(e,t,n){var r=null==e?0:e.length;return r?Pt(e,(t=n||t===to?1:Wi(t))<0?0:t,r):[]},pe.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?Pt(e,0,(t=r-(t=n||t===to?1:Wi(t)))<0?0:t):[]},pe.dropRightWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3),!0,!0):[]},pe.dropWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3),!0):[]},pe.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Yn(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=Wi(n))<0&&(n=i<-n?0:i+n),(r=r===to||i<r?i:Wi(r))<0&&(r+=i),r=r<n?0:qi(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},pe.filter=function(e,t){return(yi(e)?Fs:We)(e,Ln(t,3))},pe.flatMap=function(e,t){return qe(Jr(e,t),1)},pe.flatMapDeep=function(e,t){return qe(Jr(e,t),1/0)},pe.flatMapDepth=function(e,t,n){return n=n===to?1:Wi(n),qe(Jr(e,t),n)},pe.flatten=wr,pe.flattenDeep=function(e){return null!=e&&e.length?qe(e,1/0):[]},pe.flattenDepth=function(e,t){return null!=e&&e.length?qe(e,t=t===to?1:Wi(t)):[]},pe.flip=function(e){return xn(e,512)},pe.flow=Pa,pe.flowRight=Ma,pe.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r},pe.functions=function(e){return null==e?[]:Qe(e,sa(e))},pe.functionsIn=function(e){return null==e?[]:Qe(e,ca(e))},pe.groupBy=Qr,pe.initial=function(e){return null!=e&&e.length?Pt(e,0,-1):[]},pe.intersection=Ar,pe.intersectionBy=Sr,pe.intersectionWith=Tr,pe.invert=ia,pe.invertBy=aa,pe.invokeMap=Xr,pe.iteratee=Oa,pe.keyBy=Zr,pe.keys=sa,pe.keysIn=ca,pe.map=Jr,pe.mapKeys=function(e,r){var i={};return r=Ln(r,3),Ye(e,function(e,t,n){$e(i,r(e,t,n),e)}),i},pe.mapValues=function(e,r){var i={};return r=Ln(r,3),Ye(e,function(e,t,n){$e(i,t,r(e,t,n))}),i},pe.matches=function(e){return pt(Ne(e,1))},pe.matchesProperty=function(e,t){return mt(e,Ne(t,1))},pe.memoize=ui,pe.merge=la,pe.mergeWith=ua,pe.method=Ra,pe.methodOf=Na,pe.mixin=La,pe.negate=fi,pe.nthArg=function(t){return t=Wi(t),St(function(e){return _t(e,t)})},pe.omit=fa,pe.omitBy=function(e,t){return ha(e,fi(Ln(t)))},pe.once=function(e){return ii(2,e)},pe.orderBy=function(e,t,n,r){return null==e?[]:(yi(t)||(t=null==t?[]:[t]),yi(n=r?to:n)||(n=null==n?[]:[n]),bt(e,t,n))},pe.over=Ga,pe.overArgs=di,pe.overEvery=ja,pe.overSome=Ba,pe.partial=hi,pe.partialRight=pi,pe.partition=ei,pe.pick=da,pe.pickBy=ha,pe.property=Ua,pe.propertyOf=function(t){return function(e){return null==t?to:Xe(t,e)}},pe.pull=kr,pe.pullAll=Er,pe.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?yt(e,t,Ln(n,2)):e},pe.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?yt(e,t,to,n):e},pe.pullAt=Dr,pe.range=Ha,pe.rangeRight=Wa,pe.rearg=mi,pe.reject=function(e,t){return(yi(e)?Fs:We)(e,fi(Ln(t,3)))},pe.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],a=e.length;for(t=Ln(t,3);++r<a;){var o=e[r];t(o,r,e)&&(n.push(o),i.push(r))}return wt(e,i),n},pe.rest=function(e,t){if("function"!=typeof e)throw new D(no);return St(e,t=t===to?t:Wi(t))},pe.reverse=Ir,pe.sampleSize=function(e,t,n){return t=(n?Yn(e,t,n):t===to)?1:Wi(t),(yi(e)?xe:xt)(e,t)},pe.set=function(e,t,n){return null==e?e:kt(e,t,n)},pe.setWith=function(e,t,n,r){return r="function"==typeof r?r:to,null==e?e:kt(e,t,n,r)},pe.shuffle=function(e){return(yi(e)?ke:It)(e)},pe.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n=n&&"number"!=typeof n&&Yn(e,t,n)?(t=0,r):(t=null==t?0:Wi(t),n===to?r:Wi(n)),Pt(e,t,n)):[]},pe.sortBy=ti,pe.sortedUniq=function(e){return e&&e.length?Rt(e):[]},pe.sortedUniqBy=function(e,t){return e&&e.length?Rt(e,Ln(t,2)):[]},pe.split=function(e,t,n){return n&&"number"!=typeof n&&Yn(e,t,n)&&(t=n=to),(n=n===to?so:n>>>0)?(e=Yi(e))&&("string"==typeof t||null!=t&&!Ri(t))&&!(t=Lt(t))&&fc(e)?Kt(_c(e),0,n):e.split(t,n):[]},pe.spread=function(r,i){if("function"!=typeof r)throw new D(no);return i=null==i?0:z(Wi(i),0),St(function(e){var t=e[i],n=Kt(e,0,i);return t&&Us(n,t),$s(r,this,n)})},pe.tail=function(e){var t=null==e?0:e.length;return t?Pt(e,1,t):[]},pe.take=function(e,t,n){return e&&e.length?Pt(e,0,(t=n||t===to?1:Wi(t))<0?0:t):[]},pe.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?Pt(e,(t=r-(t=n||t===to?1:Wi(t)))<0?0:t,r):[]},pe.takeRightWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3),!1,!0):[]},pe.takeWhile=function(e,t){return e&&e.length?Bt(e,Ln(t,3)):[]},pe.tap=function(e,t){return t(e),e},pe.throttle=function(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new D(no);return Ii(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),si(e,t,{leading:r,maxWait:t,trailing:i})},pe.thru=Hr,pe.toArray=Ui,pe.toPairs=pa,pe.toPairsIn=ma,pe.toPath=function(e){return yi(e)?Bs(e,hr):Fi(e)?[e]:rn(dr(Yi(e)))},pe.toPlainObject=Vi,pe.transform=function(e,r,i){var t=yi(e),n=t||Si(e)||Gi(e);if(r=Ln(r,4),null==i){var a=e&&e.constructor;i=n?t?new a:[]:Ii(e)&&ki(a)?me(x(e)):{}}return(n?Rs:Ye)(e,function(e,t,n){return r(i,e,t,n)}),i},pe.unary=function(e){return ri(e,1)},pe.union=Pr,pe.unionBy=Mr,pe.unionWith=$r,pe.uniq=function(e){return e&&e.length?Ft(e):[]},pe.uniqBy=function(e,t){return e&&e.length?Ft(e,Ln(t,2)):[]},pe.uniqWith=function(e,t){return t="function"==typeof t?t:to,e&&e.length?Ft(e,to,t):[]},pe.unset=function(e,t){return null==e||Gt(e,t)},pe.unzip=Or,pe.unzipWith=Rr,pe.update=function(e,t,n){return null==e?e:jt(e,t,zt(n))},pe.updateWith=function(e,t,n,r){return r="function"==typeof r?r:to,null==e?e:jt(e,t,zt(n),r)},pe.values=ga,pe.valuesIn=function(e){return null==e?[]:ic(e,ca(e))},pe.without=Nr,pe.words=ka,pe.wrap=function(e,t){return hi(zt(t),e)},pe.xor=Lr,pe.xorBy=Fr,pe.xorWith=Gr,pe.zip=jr,pe.zipObject=function(e,t){return Wt(e||[],t||[],De)},pe.zipObjectDeep=function(e,t){return Wt(e||[],t||[],kt)},pe.zipWith=Br,pe.entries=pa,pe.entriesIn=ma,pe.extend=Qi,pe.extendWith=Xi,La(pe,pe),pe.add=Va,pe.attempt=Ea,pe.camelCase=_a,pe.capitalize=ba,pe.ceil=Ya,pe.clamp=function(e,t,n){return n===to&&(n=t,t=to),n!==to&&(n=(n=zi(n))==n?n:0),t!==to&&(t=(t=zi(t))==t?t:0),Re(zi(e),t,n)},pe.clone=function(e){return Ne(e,4)},pe.cloneDeep=function(e){return Ne(e,5)},pe.cloneDeepWith=function(e,t){return Ne(e,5,t="function"==typeof t?t:to)},pe.cloneWith=function(e,t){return Ne(e,4,t="function"==typeof t?t:to)},pe.conformsTo=function(e,t){return null==t||Le(e,t,sa(t))},pe.deburr=va,pe.defaultTo=function(e,t){return null==e||e!=e?t:e},pe.divide=Ka,pe.endsWith=function(e,t,n){e=Yi(e),t=Lt(t);var r=e.length,i=n=n===to?r:Re(Wi(n),0,r);return 0<=(n-=t.length)&&e.slice(n,i)==t},pe.eq=gi,pe.escape=function(e){return(e=Yi(e))&&Ho.test(e)?e.replace(Bo,lc):e},pe.escapeRegExp=function(e){return(e=Yi(e))&&Xo.test(e)?e.replace(Qo,"\\$&"):e},pe.every=function(e,t,n){var r=yi(e)?Ls:Ue;return n&&Yn(e,t,n)&&(t=to),r(e,Ln(t,3))},pe.find=zr,pe.findIndex=vr,pe.findKey=function(e,t){return zs(e,Ln(t,3),Ye)},pe.findLast=Vr,pe.findLastIndex=yr,pe.findLastKey=function(e,t){return zs(e,Ln(t,3),Ke)},pe.floor=Qa,pe.forEach=Yr,pe.forEachRight=Kr,pe.forIn=function(e,t){return null==e?e:ze(e,Ln(t,3),ca)},pe.forInRight=function(e,t){return null==e?e:Ve(e,Ln(t,3),ca)},pe.forOwn=function(e,t){return e&&Ye(e,Ln(t,3))},pe.forOwnRight=function(e,t){return e&&Ke(e,Ln(t,3))},pe.get=na,pe.gt=_i,pe.gte=bi,pe.has=function(e,t){return null!=e&&Wn(e,t,tt)},pe.hasIn=ra,pe.head=Cr,pe.identity=$a,pe.includes=function(e,t,n,r){e=Ci(e)?e:ga(e),n=n&&!r?Wi(n):0;var i=e.length;return n<0&&(n=z(i+n,0)),Li(e)?n<=i&&-1<e.indexOf(t,n):!!i&&-1<Ys(e,t,n)},pe.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:Wi(n);return i<0&&(i=z(r+i,0)),Ys(e,t,i)},pe.inRange=function(e,t,n){return t=Hi(t),n===to?(n=t,t=0):n=Hi(n),e=zi(e),(r=e)>=V(i=t,a=n)&&r<z(i,a);var r,i,a},pe.invoke=oa,pe.isArguments=vi,pe.isArray=yi,pe.isArrayBuffer=wi,pe.isArrayLike=Ci,pe.isArrayLikeObject=Ai,pe.isBoolean=function(e){return!0===e||!1===e||Pi(e)&&Je(e)==fo},pe.isBuffer=Si,pe.isDate=Ti,pe.isElement=function(e){return Pi(e)&&1===e.nodeType&&!Oi(e)},pe.isEmpty=function(e){if(null==e)return!0;if(Ci(e)&&(yi(e)||"string"==typeof e||"function"==typeof e.splice||Si(e)||Gi(e)||vi(e)))return!e.length;var t=Hn(e);if(t==_o||t==Co)return!e.size;if(Zn(e))return!ut(e).length;for(var n in e)if(T.call(e,n))return!1;return!0},pe.isEqual=function(e,t){return ot(e,t)},pe.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:to)?n(e,t):to;return r===to?ot(e,t,to,n):!!r},pe.isError=xi,pe.isFinite=function(e){return"number"==typeof e&&H(e)},pe.isFunction=ki,pe.isInteger=Ei,pe.isLength=Di,pe.isMap=Mi,pe.isMatch=function(e,t){return e===t||st(e,t,Gn(t))},pe.isMatchWith=function(e,t,n){return n="function"==typeof n?n:to,st(e,t,Gn(t),n)},pe.isNaN=function(e){return $i(e)&&e!=+e},pe.isNative=function(e){if(Xn(e))throw new g("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return ct(e)},pe.isNil=function(e){return null==e},pe.isNull=function(e){return null===e},pe.isNumber=$i,pe.isObject=Ii,pe.isObjectLike=Pi,pe.isPlainObject=Oi,pe.isRegExp=Ri,pe.isSafeInteger=function(e){return Ei(e)&&-ao<=e&&e<=ao},pe.isSet=Ni,pe.isString=Li,pe.isSymbol=Fi,pe.isTypedArray=Gi,pe.isUndefined=function(e){return e===to},pe.isWeakMap=function(e){return Pi(e)&&Hn(e)==To},pe.isWeakSet=function(e){return Pi(e)&&"[object WeakSet]"==Je(e)},pe.join=function(e,t){return null==e?"":W.call(e,t)},pe.kebabCase=ya,pe.last=xr,pe.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==to&&(i=(i=Wi(n))<0?z(r+i,0):V(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Vs(e,Qs,i,!0)},pe.lowerCase=wa,pe.lowerFirst=Ca,pe.lt=ji,pe.lte=Bi,pe.max=function(e){return e&&e.length?He(e,$a,et):to},pe.maxBy=function(e,t){return e&&e.length?He(e,Ln(t,2),et):to},pe.mean=function(e){return Xs(e,$a)},pe.meanBy=function(e,t){return Xs(e,Ln(t,2))},pe.min=function(e){return e&&e.length?He(e,$a,dt):to},pe.minBy=function(e,t){return e&&e.length?He(e,Ln(t,2),dt):to},pe.stubArray=qa,pe.stubFalse=za,pe.stubObject=function(){return{}},pe.stubString=function(){return""},pe.stubTrue=function(){return!0},pe.multiply=Za,pe.nth=function(e,t){return e&&e.length?_t(e,Wi(t)):to},pe.noConflict=function(){return Ts._===this&&(Ts._=m),this},pe.noop=Fa,pe.now=ni,pe.pad=function(e,t,n){e=Yi(e);var r=(t=Wi(t))?gc(e):0;if(!t||t<=r)return e;var i=(t-r)/2;return vn(j(i),n)+e+vn(G(i),n)},pe.padEnd=function(e,t,n){e=Yi(e);var r=(t=Wi(t))?gc(e):0;return t&&r<t?e+vn(t-r,n):e},pe.padStart=function(e,t,n){e=Yi(e);var r=(t=Wi(t))?gc(e):0;return t&&r<t?vn(t-r,n)+e:e},pe.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),K(Yi(e).replace(Zo,""),t||0)},pe.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Yn(e,t,n)&&(t=n=to),n===to&&("boolean"==typeof t?(n=t,t=to):"boolean"==typeof e&&(n=e,e=to)),e===to&&t===to?(e=0,t=1):(e=Hi(e),t===to?(t=e,e=0):t=Hi(t)),t<e){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Q();return V(e+i*(t-e+As("1e-"+((i+"").length-1))),t)}return Ct(e,t)},pe.reduce=function(e,t,n){var r=yi(e)?Hs:Js,i=arguments.length<3;return r(e,Ln(t,4),n,i,je)},pe.reduceRight=function(e,t,n){var r=yi(e)?Ws:Js,i=arguments.length<3;return r(e,Ln(t,4),n,i,Be)},pe.repeat=function(e,t,n){return t=(n?Yn(e,t,n):t===to)?1:Wi(t),At(Yi(e),t)},pe.replace=function(){var e=arguments,t=Yi(e[0]);return e.length<3?t:t.replace(e[1],e[2])},pe.result=function(e,t,n){var r=-1,i=(t=Vt(t,e)).length;for(i||(i=1,e=to);++r<i;){var a=null==e?to:e[hr(t[r])];a===to&&(r=i,a=n),e=ki(a)?a.call(e):a}return e},pe.round=Ja,pe.runInContext=e,pe.sample=function(e){return(yi(e)?Te:Tt)(e)},pe.size=function(e){if(null==e)return 0;if(Ci(e))return Li(e)?gc(e):e.length;var t=Hn(e);return t==_o||t==Co?e.size:ut(e).length},pe.snakeCase=Aa,pe.some=function(e,t,n){var r=yi(e)?qs:Mt;return n&&Yn(e,t,n)&&(t=to),r(e,Ln(t,3))},pe.sortedIndex=function(e,t){return $t(e,t)},pe.sortedIndexBy=function(e,t,n){return Ot(e,t,Ln(n,2))},pe.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=$t(e,t);if(r<n&&gi(e[r],t))return r}return-1},pe.sortedLastIndex=function(e,t){return $t(e,t,!0)},pe.sortedLastIndexBy=function(e,t,n){return Ot(e,t,Ln(n,2),!0)},pe.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=$t(e,t,!0)-1;if(gi(e[n],t))return n}return-1},pe.startCase=Sa,pe.startsWith=function(e,t,n){return e=Yi(e),n=null==n?0:Re(Wi(n),0,e.length),t=Lt(t),e.slice(n,n+t.length)==t},pe.subtract=eo,pe.sum=function(e){return e&&e.length?ec(e,$a):0},pe.sumBy=function(e,t){return e&&e.length?ec(e,Ln(t,2)):0},pe.template=function(o,e,t){var n=pe.templateSettings;t&&Yn(o,e,t)&&(e=to),o=Yi(o),e=Xi({},e,n,kn);var s,c,r=Xi({},e.imports,n.imports,kn),i=sa(r),a=ic(r,i),l=0,u=e.interpolate||hs,f="__p += '",d=b((e.escape||hs).source+"|"+u.source+"|"+(u===zo?as:hs).source+"|"+(e.evaluate||hs).source+"|$","g"),h="//# sourceURL="+(T.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ys+"]")+"\n";o.replace(d,function(e,t,n,r,i,a){return n||(n=r),f+=o.slice(l,a).replace(ps,uc),t&&(s=!0,f+="' +\n__e("+t+") +\n'"),i&&(c=!0,f+="';\n"+i+";\n__p += '"),n&&(f+="' +\n((__t = ("+n+")) == null ? '' : __t) +\n'"),l=a+e.length,e}),f+="';\n";var p=T.call(e,"variable")&&e.variable;if(p){if(rs.test(p))throw new g("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(c?f.replace(Lo,""):f).replace(Fo,"$1").replace(Go,"$1;"),f="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(s?", __e = _.escape":"")+(c?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Ea(function(){return _(i,h+"return "+f).apply(to,a)});if(m.source=f,xi(m))throw m;return m},pe.times=function(e,t){if((e=Wi(e))<1||ao<e)return[];var n=so,r=V(e,so);t=Ln(t),e-=so;for(var i=tc(r,t);++n<e;)t(n);return i},pe.toFinite=Hi,pe.toInteger=Wi,pe.toLength=qi,pe.toLower=function(e){return Yi(e).toLowerCase()},pe.toNumber=zi,pe.toSafeInteger=function(e){return e?Re(Wi(e),-ao,ao):0===e?e:0},pe.toString=Yi,pe.toUpper=function(e){return Yi(e).toUpperCase()},pe.trim=function(e,t,n){if((e=Yi(e))&&(n||t===to))return nc(e);if(!e||!(t=Lt(t)))return e;var r=_c(e),i=_c(t);return Kt(r,oc(r,i),sc(r,i)+1).join("")},pe.trimEnd=function(e,t,n){if((e=Yi(e))&&(n||t===to))return e.slice(0,bc(e)+1);if(!e||!(t=Lt(t)))return e;var r=_c(e);return Kt(r,0,sc(r,_c(t))+1).join("")},pe.trimStart=function(e,t,n){if((e=Yi(e))&&(n||t===to))return e.replace(Zo,"");if(!e||!(t=Lt(t)))return e;var r=_c(e);return Kt(r,oc(r,_c(t))).join("")},pe.truncate=function(e,t){var n=30,r="...";if(Ii(t)){var i="separator"in t?t.separator:i;n="length"in t?Wi(t.length):n,r="omission"in t?Lt(t.omission):r}var a=(e=Yi(e)).length;if(fc(e)){var o=_c(e);a=o.length}if(a<=n)return e;var s=n-gc(r);if(s<1)return r;var c=o?Kt(o,0,s).join(""):e.slice(0,s);if(i===to)return c+r;if(o&&(s+=c.length-s),Ri(i)){if(e.slice(s).search(i)){var l,u=c;for(i.global||(i=b(i.source,Yi(os.exec(i))+"g")),i.lastIndex=0;l=i.exec(u);)var f=l.index;c=c.slice(0,f===to?s:f)}}else if(e.indexOf(Lt(i),s)!=s){var d=c.lastIndexOf(i);-1<d&&(c=c.slice(0,d))}return c+r},pe.unescape=function(e){return(e=Yi(e))&&Uo.test(e)?e.replace(jo,vc):e},pe.uniqueId=function(e){var t=++l;return Yi(e)+t},pe.upperCase=Ta,pe.upperFirst=xa,pe.each=Yr,pe.eachRight=Kr,pe.first=Cr,La(pe,(Xa={},Ye(pe,function(e,t){T.call(pe.prototype,t)||(Xa[t]=e)}),Xa),{chain:!1}),pe.VERSION="4.17.21",Rs(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){pe[e].placeholder=pe}),Rs(["drop","take"],function(n,r){be.prototype[n]=function(e){e=e===to?1:z(Wi(e),0);var t=this.__filtered__&&!r?new be(this):this.clone();return t.__filtered__?t.__takeCount__=V(e,t.__takeCount__):t.__views__.push({size:V(e,so),type:n+(t.__dir__<0?"Right":"")}),t},be.prototype[n+"Right"]=function(e){return this.reverse()[n](e).reverse()}}),Rs(["filter","map","takeWhile"],function(e,t){var n=t+1,r=1==n||3==n;be.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:Ln(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),Rs(["head","last"],function(e,t){var n="take"+(t?"Right":"");be.prototype[e]=function(){return this[n](1).value()[0]}}),Rs(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");be.prototype[e]=function(){return this.__filtered__?new be(this):this[n](1)}}),be.prototype.compact=function(){return this.filter($a)},be.prototype.find=function(e){return this.filter(e).head()},be.prototype.findLast=function(e){return this.reverse().find(e)},be.prototype.invokeMap=St(function(t,n){return"function"==typeof t?new be(this):this.map(function(e){return it(e,t,n)})}),be.prototype.reject=function(e){return this.filter(fi(Ln(e)))},be.prototype.slice=function(e,t){e=Wi(e);var n=this;return n.__filtered__&&(0<e||t<0)?new be(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==to&&(n=(t=Wi(t))<0?n.dropRight(-t):n.take(t-e)),n)},be.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},be.prototype.toArray=function(){return this.take(so)},Ye(be.prototype,function(f,e){var d=/^(?:filter|find|map|reject)|While$/.test(e),h=/^(?:head|last)$/.test(e),p=pe[h?"take"+("last"==e?"Right":""):e],m=h||/^find/.test(e);p&&(pe.prototype[e]=function(){var e=this.__wrapped__,n=h?[1]:arguments,t=e instanceof be,r=n[0],i=t||yi(e),a=function(e){var t=p.apply(pe,Us([e],n));return h&&o?t[0]:t};i&&d&&"function"==typeof r&&1!=r.length&&(t=i=!1);var o=this.__chain__,s=!!this.__actions__.length,c=m&&!o,l=t&&!s;if(m||!i)return c&&l?f.apply(this,n):(u=this.thru(a),c?h?u.value()[0]:u.value():u);e=l?e:new be(this);var u=f.apply(e,n);return u.__actions__.push({func:Hr,args:[a],thisArg:to}),new _e(u,o)})}),Rs(["pop","push","shift","sort","splice","unshift"],function(e){var n=a[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);pe.prototype[e]=function(){var t=arguments;if(!i||this.__chain__)return this[r](function(e){return n.apply(yi(e)?e:[],t)});var e=this.value();return n.apply(yi(e)?e:[],t)}}),Ye(be.prototype,function(e,t){var n=pe[t];if(n){var r=n.name+"";T.call(ae,r)||(ae[r]=[]),ae[r].push({name:t,func:n})}}),ae[mn(to,2).name]=[{name:"wrapper",func:to}],be.prototype.clone=function(){var e=new be(this.__wrapped__);return e.__actions__=rn(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=rn(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=rn(this.__views__),e},be.prototype.reverse=function(){if(this.__filtered__){var e=new be(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},be.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=yi(e),r=t<0,i=n?e.length:0,a=function(e,t,n){for(var r=-1,i=n.length;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":e+=o;break;case"dropRight":t-=o;break;case"take":t=V(t,e+o);break;case"takeRight":e=z(e,t-o)}}return{start:e,end:t}}(0,i,this.__views__),o=a.start,s=a.end,c=s-o,l=r?s:o-1,u=this.__iteratees__,f=u.length,d=0,h=V(c,this.__takeCount__);if(!n||!r&&i==c&&h==c)return Ut(e,this.__actions__);var p=[];e:for(;c--&&d<h;){for(var m=-1,g=e[l+=t];++m<f;){var _=u[m],b=_.iteratee,v=_.type,y=b(g);if(2==v)g=y;else if(!y){if(1==v)continue e;break e}}p[d++]=g}return p},pe.prototype.at=Wr,pe.prototype.chain=function(){return Ur(this)},pe.prototype.commit=function(){return new _e(this.value(),this.__chain__)},pe.prototype.next=function(){this.__values__===to&&(this.__values__=Ui(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?to:this.__values__[this.__index__++]}},pe.prototype.plant=function(e){for(var t,n=this;n instanceof ge;){var r=mr(n);r.__index__=0,r.__values__=to,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},pe.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof be){var t=e;return this.__actions__.length&&(t=new be(this)),(t=t.reverse()).__actions__.push({func:Hr,args:[Ir],thisArg:to}),new _e(t,this.__chain__)}return this.thru(Ir)},pe.prototype.toJSON=pe.prototype.valueOf=pe.prototype.value=function(){return Ut(this.__wrapped__,this.__actions__)},pe.prototype.first=pe.prototype.head,$&&(pe.prototype[$]=function(){return this}),pe}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Ts._=yc,define(function(){return yc})):R?((R.exports=yc)._=yc,O._=yc):Ts._=yc}.call(this),function(){var t,n,r=document.attachEvent,i=!1;if(!r){var e=(n=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){return window.setTimeout(e,20)},function(e){return n(e)}),a=(t=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout,function(e){return t(e)});function o(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,i=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,i.style.width=n.offsetWidth+1+"px",i.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight}function s(t){var n=this;o(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=e(function(){var e;((e=n).offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height)&&(n.__resizeLast__.width=n.offsetWidth,n.__resizeLast__.height=n.offsetHeight,n.__resizeListeners__.forEach(function(e){e.call(n,t)}))})}var c=!1,l="",u="animationstart",f="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h="",p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(c=!0),!1===c)for(var m=0;m<f.length;m++)if(void 0!==p.style[f[m]+"AnimationName"]){(h=f[m])+"Animation",l="-"+h.toLowerCase()+"-",u=d[m],c=!0;break}var g="resizeanim",_="@"+l+"keyframes "+g+" { from { opacity: 0; } to { opacity: 0; } } ",b=l+"animation: 1ms "+g+"; "}window.addResizeListener=function(t,e){r?t.attachEvent("onresize",e):(t.__resizeTriggers__||("static"==getComputedStyle(t).position&&(t.style.position="relative"),function(){if(!i){var e=(_||"")+".resize-triggers { "+(b||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),t.appendChild(n),i=!0}}(),t.__resizeLast__={},t.__resizeListeners__=[],(t.__resizeTriggers__=document.createElement("div")).className="resize-triggers",t.__resizeTriggers__.innerHTML='<div class="expand-trigger"><div></div></div><div class="contract-trigger"></div>',t.appendChild(t.__resizeTriggers__),o(t),t.addEventListener("scroll",s,!0),u&&t.__resizeTriggers__.addEventListener(u,function(e){e.animationName==g&&o(t)})),t.__resizeListeners__.push(e))},window.removeResizeListener=function(e,t){r?e.detachEvent("onresize",t):(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||(e.removeEventListener("scroll",s),e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)))}}(),function(e,t){"use strict";"function"==typeof define&&define.amd?define(["angular"],t):"object"==typeof exports?module.exports=t(require("angular")):t(e.angular)}(this,function(M){"use strict";return M.module("gridster",[]).constant("gridsterConfig",{columns:6,pushing:!0,floating:!0,swapping:!1,width:"auto",colWidth:"auto",rowHeight:"match",margins:[10,10],outerMargin:!0,sparse:!1,isMobile:!1,mobileBreakPoint:600,mobileModeEnabled:!0,minColumns:1,minRows:1,maxRows:100,defaultSizeX:2,defaultSizeY:1,minSizeX:1,maxSizeX:null,minSizeY:1,maxSizeY:null,saveGridItemCalculatedHeightInMobile:!1,resizable:{enabled:!0,handles:["s","e","n","w","se","ne","sw","nw"]},draggable:{enabled:!0,scrollSensitivity:20,scrollSpeed:15}}).controller("GridsterCtrl",["gridsterConfig","$timeout",function(e,t){var n=this;M.extend(this,e),this.resizable=M.extend({},e.resizable||{}),this.draggable=M.extend({},e.draggable||{});var r=!1;this.layoutChanged=function(){r||(r=!0,t(function(){r=!1,n.loaded&&n.floatItemsUp(),n.updateHeight(n.movingItem?n.movingItem.sizeY:0)},30))},this.grid=[],this.allItems=[],this.destroy=function(){this.grid&&(this.grid=[]),this.$element=null,this.allItems&&(this.allItems.length=0,this.allItems=null)},this.setOptions=function(e){if(e)if((e=M.extend({},e)).draggable&&(M.extend(this.draggable,e.draggable),delete e.draggable),e.resizable&&(M.extend(this.resizable,e.resizable),delete e.resizable),M.extend(this,e),this.margins&&2===this.margins.length)for(var t=0,n=this.margins.length;t<n;++t)this.margins[t]=parseInt(this.margins[t],10),isNaN(this.margins[t])&&(this.margins[t]=0);else this.margins=[0,0]},this.canItemOccupy=function(e,t,n){return-1<t&&-1<n&&e.sizeX+n<=this.columns&&e.sizeY+t<=this.maxRows},this.autoSetItemPosition=function(e){for(var t=0;t<this.maxRows;++t)for(var n=0;n<this.columns;++n){if(0===this.getItems(t,n,e.sizeX,e.sizeY,e).length&&this.canItemOccupy(e,t,n))return void this.putItem(e,t,n)}throw new Error("Unable to place item!")},this.getItems=function(e,t,n,r,i){var a,o=[];if(n&&r||(n=r=1),!i||i instanceof Array||(i=[i]),!1===this.sparse)for(var s=0;s<r;++s)for(var c=0;c<n;++c)!(a=this.getItem(e+s,t+c,i))||i&&-1!==i.indexOf(a)||-1!==o.indexOf(a)||o.push(a);else for(var l=e+r-1,u=t+n-1,f=0;f<this.allItems.length;++f)!(a=this.allItems[f])||i&&-1!==i.indexOf(a)||-1!==o.indexOf(a)||!this.intersect(a,t,u,e,l)||o.push(a);return o},this.getBoundingBox=function(e){if(0===e.length)return null;if(1===e.length)return{row:e[0].row,col:e[0].col,sizeY:e[0].sizeY,sizeX:e[0].sizeX};for(var t=0,n=0,r=9999,i=9999,a=0,o=e.length;a<o;++a){var s=e[a];r=Math.min(s.row,r),i=Math.min(s.col,i),t=Math.max(s.row+s.sizeY,t),n=Math.max(s.col+s.sizeX,n)}return{row:r,col:i,sizeY:t-r,sizeX:n-i}},this.intersect=function(e,t,n,r,i){return t<=e.col+e.sizeX-1&&n>=e.col&&r<=e.row+e.sizeY-1&&i>=e.row},this.removeItem=function(e){for(var t,n=0,r=this.grid.length;n<r;++n){var i=this.grid[n];if(i&&-1!==(t=i.indexOf(e))){i[t]=null;break}}this.sparse&&-1!==(t=this.allItems.indexOf(e))&&this.allItems.splice(t,1),this.layoutChanged()},this.getItem=function(e,t,n){!n||n instanceof Array||(n=[n]);for(var r=1;-1<e;){for(var i=1,a=t;-1<a;){var o=this.grid[e];if(o){var s=o[a];if(s&&(!n||-1===n.indexOf(s))&&s.sizeX>=i&&s.sizeY>=r)return s}++i,--a}--e,++r}return null},this.putItems=function(e){for(var t=0,n=e.length;t<n;++t)this.putItem(e[t])},this.putItem=function(e,t,n,r){if(null!=t||(t=e.row,n=e.col,null!=t)){if(this.canItemOccupy(e,t,n)||(n=Math.min(this.columns-e.sizeX,Math.max(0,n)),t=Math.min(this.maxRows-e.sizeY,Math.max(0,t))),null!==e.oldRow&&void 0!==e.oldRow){var i=e.oldRow===t&&e.oldColumn===n,a=this.grid[t]&&this.grid[t][n]===e;if(i&&a)return e.row=t,void(e.col=n);var o=this.grid[e.oldRow];o&&o[e.oldColumn]===e&&delete o[e.oldColumn]}e.oldRow=e.row=t,e.oldColumn=e.col=n,this.moveOverlappingItems(e,r),this.grid[t]||(this.grid[t]=[]),this.grid[t][n]=e,this.sparse&&-1===this.allItems.indexOf(e)&&this.allItems.push(e),this.movingItem===e&&this.floatItemUp(e),this.layoutChanged()}else this.autoSetItemPosition(e)},this.swapItems=function(e,t){this.grid[e.row][e.col]=t;var n=(this.grid[t.row][t.col]=e).row,r=e.col;e.row=t.row,e.col=t.col,t.row=n,t.col=r},this.moveOverlappingItems=function(e,t){t?-1===t.indexOf(e)&&(t=t.slice(0)).push(e):t=[e];var n=this.getItems(e.row,e.col,e.sizeX,e.sizeY,t);this.moveItemsDown(n,e.row+e.sizeY,t)},this.moveItemsDown=function(e,t,n){if(e&&0!==e.length){e.sort(function(e,t){return e.row-t.row}),n=n?n.slice(0):[];var r,i,a,o={};for(i=0,a=e.length;i<a;++i){var s=o[(r=e[i]).col];(void 0===s||r.row<s)&&(o[r.col]=r.row)}for(i=0,a=e.length;i<a;++i){var c=t-o[(r=e[i]).col];this.moveItemDown(r,r.row+c,n),n.push(r)}}},this.moveItemDown=function(e,t,n){if(!(e.row>=t)){for(;e.row<t;)++e.row,this.moveOverlappingItems(e,n);this.putItem(e,e.row,e.col,n)}},this.floatItemsUp=function(){if(!1!==this.floating)for(var e=0,t=this.grid.length;e<t;++e){var n=this.grid[e];if(n)for(var r=0,i=n.length;r<i;++r){var a=n[r];a&&this.floatItemUp(a)}}},this.floatItemUp=function(e){if(!1!==this.floating){for(var t=e.col,n=e.sizeY,r=e.sizeX,i=null,a=null,o=e.row-1;-1<o;){if(0!==this.getItems(o,t,r,n,e).length)break;i=o,a=t,--o}null!==i&&this.putItem(e,i,a)}},this.updateHeight=function(e){var t=this.minRows;e=e||0;for(var n=this.grid.length;0<=n;--n){var r=this.grid[n];if(r)for(var i=0,a=r.length;i<a;++i)r[i]&&(t=Math.max(t,n+e+r[i].sizeY))}this.gridHeight=0<this.maxRows-t?Math.min(this.maxRows,t):Math.max(this.maxRows,t)},this.pixelsToRows=function(e,t){return this.outerMargin||(e+=this.margins[0]/2),!0===t?Math.ceil(e/this.curRowHeight):!1===t?Math.floor(e/this.curRowHeight):Math.round(e/this.curRowHeight)},this.pixelsToColumns=function(e,t){return this.outerMargin||(e+=this.margins[1]/2),!0===t?Math.ceil(e/this.curColWidth):!1===t?Math.floor(e/this.curColWidth):Math.round(e/this.curColWidth)}}]).directive("gridsterPreview",function(){return{replace:!0,scope:!0,require:"^gridster",template:'<div ng-style="previewStyle()" class="gridster-item gridster-preview-holder"></div>',link:function(e,t,n,r){e.previewStyle=function(){return r.movingItem?{display:"block",height:r.movingItem.sizeY*r.curRowHeight-r.margins[0]+"px",width:r.movingItem.sizeX*r.curColWidth-r.margins[1]+"px",top:r.movingItem.row*r.curRowHeight+(r.outerMargin?r.margins[0]:0)+"px",left:r.movingItem.col*r.curColWidth+(r.outerMargin?r.margins[1]:0)+"px"}:{display:"none"}}}}}).directive("gridster",["$timeout","$window","$rootScope","gridsterDebounce",function(d,h,p,m){return{scope:!0,restrict:"EAC",controller:"GridsterCtrl",controllerAs:"gridster",compile:function(e){return e.prepend('<div ng-if="gridster.movingItem" gridster-preview></div>'),function(e,s,t,c){c.loaded=!1,c.$element=s,e.gridster=c,s.addClass("gridster");var l=function(e){return"hidden"!==e.style.visibility&&"none"!==e.style.display};function u(){s.css("height",c.gridHeight*c.curRowHeight+(c.outerMargin?c.margins[0]:-c.margins[0])+"px")}function n(e){if(c.setOptions(e),l(s[0])){"auto"===c.width?c.curWidth=s[0].offsetWidth||parseInt(s.css("width"),10):c.curWidth=c.width,"auto"===c.colWidth?c.curColWidth=(c.curWidth+(c.outerMargin?-c.margins[1]:c.margins[1]))/c.columns:c.curColWidth=c.colWidth,c.curRowHeight=c.rowHeight,"string"==typeof c.rowHeight&&("match"===c.rowHeight?c.curRowHeight=Math.round(c.curColWidth):-1!==c.rowHeight.indexOf("*")?c.curRowHeight=Math.round(c.curColWidth*c.rowHeight.replace("*","").replace(" ","")):-1!==c.rowHeight.indexOf("/")&&(c.curRowHeight=Math.round(c.curColWidth/c.rowHeight.replace("/","").replace(" ","")))),c.isMobile=c.mobileModeEnabled&&c.curWidth<=c.mobileBreakPoint;for(var t=0,n=c.grid.length;t<n;++t){var r=c.grid[t];if(r)for(var i=0,a=r.length;i<a;++i)if(r[i]){var o=r[i];o.setElementPosition(),o.setElementSizeY(),o.setElementSizeX()}}u()}}e.$watch(function(){return c.gridHeight},u),e.$watch(function(){return c.movingItem},function(){c.updateHeight(c.movingItem?c.movingItem.sizeY:0)});var r=t.gridster;r?e.$parent.$watch(r,function(e){n(e)},!0):n({}),e.$watch(function(){return c.loaded},function(){c.loaded?(s.addClass("gridster-loaded"),p.$broadcast("gridster-loaded",c)):s.removeClass("gridster-loaded")}),e.$watch(function(){return c.isMobile},function(){c.isMobile?s.addClass("gridster-mobile").removeClass("gridster-desktop"):s.removeClass("gridster-mobile").addClass("gridster-desktop"),p.$broadcast("gridster-mobile-changed",c)}),e.$watch(function(){return c.draggable},function(){p.$broadcast("gridster-draggable-changed",c)},!0),e.$watch(function(){return c.resizable},function(){p.$broadcast("gridster-resizable-changed",c)},!0);var i=s[0].offsetWidth||parseInt(s.css("width"),10),a=function(){var e=s[0].offsetWidth||parseInt(s.css("width"),10);e&&e!==i&&!c.movingItem&&(i=e,c.loaded&&s.removeClass("gridster-loaded"),n(),c.loaded&&s.addClass("gridster-loaded"),p.$broadcast("gridster-resized",[e,s[0].offsetHeight],c))},o=m(function(){a(),d(function(){e.$apply()})},100);e.$watch(function(){return l(s[0])},o),"function"==typeof window.addResizeListener?window.addResizeListener(s[0],o):e.$watch(function(){return s[0].offsetWidth||parseInt(s.css("width"),10)},a);var f=M.element(h);f.on("resize",o),e.$on("$destroy",function(){c.destroy(),f.off("resize",o),"function"==typeof window.removeResizeListener&&window.removeResizeListener(s[0],o)}),d(function(){e.$watch("gridster.floating",function(){c.floatItemsUp()}),c.loaded=!0},100)}}}}]).controller("GridsterItemCtrl",function(){this.$element=null,this.gridster=null,this.row=null,this.col=null,this.sizeX=null,this.sizeY=null,this.minSizeX=0,this.minSizeY=0,this.maxSizeX=null,this.maxSizeY=null,this.init=function(e,t){this.$element=e,this.gridster=t,this.sizeX=t.defaultSizeX,this.sizeY=t.defaultSizeY},this.destroy=function(){this.gridster=null,this.$element=null},this.toJSON=function(){return{row:this.row,col:this.col,sizeY:this.sizeY,sizeX:this.sizeX}},this.isMoving=function(){return this.gridster.movingItem===this},this.setPosition=function(e,t){this.gridster.putItem(this,e,t),this.isMoving()||this.setElementPosition()},this.setSize=function(e,t,n){var r="size"+(e=e.toUpperCase()),i="Size"+e;if(""!==t){t=parseInt(t,10),(isNaN(t)||0===t)&&(t=this.gridster["default"+i]);var a="X"===e?this.gridster.columns:this.gridster.maxRows;this["max"+i]&&(a=Math.min(this["max"+i],a)),this.gridster["max"+i]&&(a=Math.min(this.gridster["max"+i],a)),"X"===e&&this.cols?a-=this.cols:"Y"===e&&this.rows&&(a-=this.rows);var o=0;this["min"+i]&&(o=Math.max(this["min"+i],o)),this.gridster["min"+i]&&(o=Math.max(this.gridster["min"+i],o)),t=Math.max(Math.min(t,a),o);var s=this[r]!==t||this["old"+i]&&this["old"+i]!==t;return this["old"+i]=this[r]=t,this.isMoving()||this["setElement"+i](),!n&&s&&(this.gridster.moveOverlappingItems(this),this.gridster.layoutChanged()),s}},this.setSizeY=function(e,t){return this.setSize("Y",e,t)},this.setSizeX=function(e,t){return this.setSize("X",e,t)},this.setElementPosition=function(){this.gridster.isMobile?this.$element.css({marginLeft:this.gridster.margins[0]+"px",marginRight:this.gridster.margins[0]+"px",marginTop:this.gridster.margins[1]+"px",marginBottom:this.gridster.margins[1]+"px",top:"",left:""}):this.$element.css({margin:0,top:this.row*this.gridster.curRowHeight+(this.gridster.outerMargin?this.gridster.margins[0]:0)+"px",left:this.col*this.gridster.curColWidth+(this.gridster.outerMargin?this.gridster.margins[1]:0)+"px"})},this.setElementSizeY=function(){this.gridster.isMobile&&!this.gridster.saveGridItemCalculatedHeightInMobile?this.$element.css("height",""):this.$element.css("height",this.sizeY*this.gridster.curRowHeight-this.gridster.margins[0]+"px")},this.setElementSizeX=function(){this.gridster.isMobile?this.$element.css("width",""):this.$element.css("width",this.sizeX*this.gridster.curColWidth-this.gridster.margins[1]+"px")},this.getElementSizeX=function(){return this.sizeX*this.gridster.curColWidth-this.gridster.margins[1]},this.getElementSizeY=function(){return this.sizeY*this.gridster.curRowHeight-this.gridster.margins[0]}}).factory("GridsterTouch",[function(){return function(f,d,h,p){var e,t,m={},g=function(e){if(Object.keys)return Object.keys(e).length;var t,n=0;for(t in e)++n;return n},_=function(e){for(var t=0,n=0,r=navigator.userAgent.match(/\bMSIE\b/),i=e;null!=i;i=i.offsetParent)r&&(!document.documentMode||document.documentMode<8)&&"relative"===i.currentStyle.position&&i.offsetParent&&"relative"===i.offsetParent.currentStyle.position&&i.offsetLeft===i.offsetParent.offsetLeft||(t+=i.offsetLeft),n+=i.offsetTop;return{x:t,y:n}},b=_(f),v=!1,y=function(e){if("mousemove"!==e.type||0!==g(m)){for(var t=!0,n=e.changedTouches?e.changedTouches:[e],r=0;r<n.length;++r){var i=n[r],a=void 0!==i.identifier?i.identifier:void 0!==i.pointerId?i.pointerId:1;if(void 0===i.pageX)if(i.pageX=i.offsetX+b.x,i.pageY=i.offsetY+b.y,i.srcElement.offsetParent===f&&document.documentMode&&8===document.documentMode&&"mousedown"===i.type)i.pageX+=i.srcElement.offsetLeft,i.pageY+=i.srcElement.offsetTop;else if(i.srcElement!==f&&!document.documentMode||document.documentMode<8){for(var o=-2,s=-2,c=i.srcElement;null!==c;c=c.parentNode)o+=c.scrollLeft?c.scrollLeft:0,s+=c.scrollTop?c.scrollTop:0;i.pageX=i.clientX+o,i.pageY=i.clientY+s}var l=i.pageX,u=i.pageY;e.type.match(/(start|down)$/i)?(b=_(f),m[a]&&(p&&p({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u}),delete m[a]),d&&t&&(t=d({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u})),m[a]={x:l,y:u},f.msSetPointerCapture&&t?f.msSetPointerCapture(a):"mousedown"===e.type&&1===g(m)&&(v?f.setCapture(!0):(document.addEventListener("mousemove",y,!1),document.addEventListener("mouseup",y,!1)))):e.type.match(/move$/i)?!m[a]||m[a].x===l&&m[a].y===u||(h&&t&&(t=h({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u})),m[a].x=l,m[a].y=u):m[a]&&e.type.match(/(up|end|cancel)$/i)&&(p&&t&&(t=p({target:e.target,which:e.which,pointerId:a,pageX:l,pageY:u})),delete m[a],f.msReleasePointerCapture?f.msReleasePointerCapture(a):"mouseup"===e.type&&0===g(m)&&(v?f.releaseCapture():(document.removeEventListener("mousemove",y,!1),document.removeEventListener("mouseup",y,!1))))}t&&(e.preventDefault&&e.preventDefault(),e.preventManipulation&&e.preventManipulation(),e.preventMouseEvent&&e.preventMouseEvent())}};return this.enable=function(){window.navigator.msPointerEnabled?(f.addEventListener("MSPointerDown",y,!1),f.addEventListener("MSPointerMove",y,!1),f.addEventListener("MSPointerUp",y,!1),f.addEventListener("MSPointerCancel",y,!1),void 0!==f.style.msContentZooming&&(e=f.style.msContentZooming,f.style.msContentZooming="none"),void 0!==f.style.msTouchAction&&(t=f.style.msTouchAction,f.style.msTouchAction="none")):f.addEventListener?(f.addEventListener("touchstart",y,!1),f.addEventListener("touchmove",y,!1),f.addEventListener("touchend",y,!1),f.addEventListener("touchcancel",y,!1),f.addEventListener("mousedown",y,!1),f.setCapture&&!window.navigator.userAgent.match(/\bGecko\b/)&&(v=!0,f.addEventListener("mousemove",y,!1),f.addEventListener("mouseup",y,!1))):f.attachEvent&&f.setCapture&&(v=!0,f.attachEvent("onmousedown",function(){return y(window.event),window.event.returnValue=!1}),f.attachEvent("onmousemove",function(){return y(window.event),window.event.returnValue=!1}),f.attachEvent("onmouseup",function(){return y(window.event),window.event.returnValue=!1}))},this.disable=function(){window.navigator.msPointerEnabled?(f.removeEventListener("MSPointerDown",y,!1),f.removeEventListener("MSPointerMove",y,!1),f.removeEventListener("MSPointerUp",y,!1),f.removeEventListener("MSPointerCancel",y,!1),e&&(f.style.msContentZooming=e),t&&(f.style.msTouchAction=t)):f.removeEventListener?(f.removeEventListener("touchstart",y,!1),f.removeEventListener("touchmove",y,!1),f.removeEventListener("touchend",y,!1),f.removeEventListener("touchcancel",y,!1),f.removeEventListener("mousedown",y,!1),f.setCapture&&!window.navigator.userAgent.match(/\bGecko\b/)&&(v=!0,f.removeEventListener("mousemove",y,!1),f.removeEventListener("mouseup",y,!1))):f.detachEvent&&f.setCapture&&(v=!0,f.detachEvent("onmousedown"),f.detachEvent("onmousemove"),f.detachEvent("onmouseup"))},this}}]).factory("GridsterDraggable",["$document","$window","GridsterTouch",function(a,P,o){return function(A,S,T,x,k){var E,D,f,d,s=0,c=0,h=0,p=0,l=0,u=0,I=a[0],m=["select","option","input","textarea","button"];function e(e){if(-1!==m.indexOf(e.target.nodeName.toLowerCase()))return!1;var t,n=M.element(e.target);if(n.hasClass("gridster-item-resizable-handler"))return!1;if(n.attr("onclick")||n.attr("ng-click"))return!1;if(n.closest&&n.closest(".gridster-no-drag").length)return!1;if(T.draggable&&T.draggable.handle){var r=M.element(A[0].querySelectorAll(T.draggable.handle)),i=!1;e:for(var a=0,o=r.length;a<o;++a){var s=r[a];if(s===e.target){i=!0;break}for(var c=e.target,l=0;l<20;++l){var u=c.parentNode;if(u===A[0]||!u)break;if(u===s){i=!0;break e}c=u}}if(!i)return!1}switch(e.which){case 1:break;case 2:case 3:return}return h=e.pageX,p=e.pageY,E=parseInt(A.css("left"),10),D=parseInt(A.css("top"),10),f=A[0].offsetWidth,d=A[0].offsetHeight,x.col,x.row,t=e,A.addClass("gridster-item-moving"),T.movingItem=x,T.updateHeight(x.sizeY),S.$apply(function(){T.draggable&&T.draggable.start&&T.draggable.start(t,A,k,x)}),!0}function t(e){if(!A.hasClass("gridster-item-moving")||A.hasClass("gridster-item-resizing"))return!1;var t=T.curWidth-1,n=T.curRowHeight*T.maxRows-1;s=e.pageX,c=e.pageY;var r=s-h+l,i=c-p+u;l=u=0,h=s,p=c;var a=r,o=i;return E+a<0?l=a-(r=0-E):t<E+f+a&&(l=a-(r=t-E-f)),D+o<0?u=o-(i=0-D):n<D+d+o&&(u=o-(i=n-D-d)),E+=r,D+=i,A.css({top:D+"px",left:E+"px"}),function(e){var t=x.row,n=x.col,r=T.draggable&&T.draggable.drag,i=T.draggable.scrollSensitivity,a=T.draggable.scrollSpeed,o=Math.min(T.pixelsToRows(D),T.maxRows-1),s=Math.min(T.pixelsToColumns(E),T.columns-1),c=T.getItems(o,s,x.sizeX,x.sizeY,x),l=0!==c.length;if(!0===T.swapping&&l){var u=T.getBoundingBox(c),f=u.sizeX===x.sizeX&&u.sizeY===x.sizeY,d=u.row===t,h=u.col===n,p=u.row===o&&u.col===s,m=d||h;if(f&&1===c.length){if(p)T.swapItems(x,c[0]);else if(m)return}else if(u.sizeX<=x.sizeX&&u.sizeY<=x.sizeY&&m)for(var g=x.row<=o?x.row:o+x.sizeY,_=x.col<=s?x.col:s+x.sizeX,b=g-u.row,v=_-u.col,y=0,w=c.length;y<w;++y){var C=c[y];0===T.getItems(C.row+b,C.col+v,C.sizeX,C.sizeY,x).length&&T.putItem(C,C.row+b,C.col+v)}}!1===T.pushing&&l||(x.row=o,x.col=s),e.pageY-I.body.scrollTop<i?I.body.scrollTop=I.body.scrollTop-a:P.innerHeight-(e.pageY-I.body.scrollTop)<i&&(I.body.scrollTop=I.body.scrollTop+a),e.pageX-I.body.scrollLeft<i?I.body.scrollLeft=I.body.scrollLeft-a:P.innerWidth-(e.pageX-I.body.scrollLeft)<i&&(I.body.scrollLeft=I.body.scrollLeft+a),(r||t!==x.row||n!==x.col)&&S.$apply(function(){r&&T.draggable.drag(e,A,k,x)})}(e),!0}function n(e){return!(!A.hasClass("gridster-item-moving")||A.hasClass("gridster-item-resizing")||(l=u=0,function(e){A.removeClass("gridster-item-moving");var t=Math.min(T.pixelsToRows(D),T.maxRows-1),n=Math.min(T.pixelsToColumns(E),T.columns-1);!1===T.pushing&&0!==T.getItems(t,n,x.sizeX,x.sizeY,x).length||(x.row=t,x.col=n),T.movingItem=null,x.setPosition(x.row,x.col),S.$apply(function(){T.draggable&&T.draggable.stop&&T.draggable.stop(e,A,k,x)})}(e),0))}var r=null,i=null;this.enable=function(){!0!==r&&(r=!0,i?i.enable():(i=new o(A[0],e,t,n)).enable())},this.disable=function(){!1!==r&&(r=!1,i&&i.disable())},this.toggle=function(e){e?this.enable():this.disable()},this.destroy=function(){this.disable()}}}]).factory("GridsterResizable",["GridsterTouch",function(T){return function(y,w,C,A,S){function e(f){var d,h,p,m,n,o=f,s=0,c=0,l=0,u=0,g=0,_=0,b=function(){return(A.minSizeY?A.minSizeY:1)*C.curRowHeight-C.margins[0]},v=function(){return(A.minSizeX?A.minSizeX:1)*C.curColWidth-C.margins[1]};function e(e){switch(e.which){case 1:break;case 2:case 3:return}var t;return(n=C.draggable.enabled)&&(C.draggable.enabled=!1,w.$broadcast("gridster-draggable-changed",C)),l=e.pageX,u=e.pageY,d=parseInt(y.css("left"),10),h=parseInt(y.css("top"),10),p=y[0].offsetWidth,m=y[0].offsetHeight,A.sizeX,A.sizeY,t=e,y.addClass("gridster-item-moving"),y.addClass("gridster-item-resizing"),(C.movingItem=A).setElementSizeX(),A.setElementSizeY(),A.setElementPosition(),C.updateHeight(1),w.$apply(function(){C.resizable&&C.resizable.start&&C.resizable.start(t,y,S,A)}),!0}function t(e){var t=C.curWidth-1;s=e.pageX,c=e.pageY;var n=s-l+g,r=c-u+_;g=_=0,l=s,u=c;var i=r,a=n;return 0<=o.indexOf("n")&&(m-i<b()?(r=m-b(),_=i-r):h+i<0&&(_=i-(r=0-h)),h+=r,m-=r),0<=o.indexOf("s")&&(m+i<b()?(r=b()-m,_=i-r):9999<h+m+i&&(_=i-(r=9999-h-m)),m+=r),0<=o.indexOf("w")&&(p-a<v()?(n=p-v(),g=a-n):d+a<0&&(g=a-(n=0-d)),d+=n,p-=n),0<=o.indexOf("e")&&(p+a<v()?(n=v()-p,g=a-n):t<d+p+a&&(g=a-(n=t-d-p)),p+=n),y.css({top:h+"px",left:d+"px",width:p+"px",height:m+"px"}),function(e){var t=A.row,n=A.col,r=A.sizeX,i=A.sizeY,a=C.resizable&&C.resizable.resize,o=A.col;-1!==["w","nw","sw"].indexOf(f)&&(o=C.pixelsToColumns(d,!1));var s=A.row;-1!==["n","ne","nw"].indexOf(f)&&(s=C.pixelsToRows(h,!1));var c=A.sizeX;-1===["n","s"].indexOf(f)&&(c=C.pixelsToColumns(p,!0));var l=A.sizeY;-1===["e","w"].indexOf(f)&&(l=C.pixelsToRows(m,!0)),!(-1<s&&-1<o&&c+o<=C.columns&&l+s<=C.maxRows)||!1===C.pushing&&0!==C.getItems(s,o,c,l,A).length||(A.row=s,A.col=o,A.sizeX=c,A.sizeY=l);var u=A.row!==t||A.col!==n||A.sizeX!==r||A.sizeY!==i;(a||u)&&w.$apply(function(){a&&C.resizable.resize(e,y,S,A)})}(e),!0}function r(e){var t;return C.draggable.enabled!==n&&(C.draggable.enabled=n,w.$broadcast("gridster-draggable-changed",C)),g=_=0,t=e,y.removeClass("gridster-item-moving"),y.removeClass("gridster-item-resizing"),C.movingItem=null,A.setPosition(A.row,A.col),A.setSizeY(A.sizeY),A.setSizeX(A.sizeX),w.$apply(function(){C.resizable&&C.resizable.stop&&C.resizable.stop(t,y,S,A)}),!0}var i,a=null;this.enable=function(){a||(a=M.element('<div class="gridster-item-resizable-handler handle-'+o+'"></div>'),y.append(a)),(i=new T(a[0],e,t,r)).enable()},this.disable=function(){a&&(a.remove(),a=null),i.disable(),i=void 0},this.destroy=function(){this.disable()}}var n=[],t=C.resizable.handles;"string"==typeof t&&(t=C.resizable.handles.split(","));for(var r=!1,i=0,a=t.length;i<a;i++)n.push(new e(t[i]));this.enable=function(){if(!r){for(var e=0,t=n.length;e<t;e++)n[e].enable();r=!0}},this.disable=function(){if(r){for(var e=0,t=n.length;e<t;e++)n[e].disable();r=!1}},this.toggle=function(e){e?this.enable():this.disable()},this.destroy=function(){for(var e=0,t=n.length;e<t;e++)n[e].destroy()}}}]).factory("gridsterDebounce",function(){return function(r,i,a){var o;return function(){var e=this,t=arguments,n=a&&!o;clearTimeout(o),o=setTimeout(function(){o=null,a||r.apply(e,t)},i),n&&r.apply(e,t)}}}).directive("gridsterItem",["$parse","GridsterDraggable","GridsterResizable","gridsterDebounce",function(w,C,A,S){return{scope:!0,restrict:"EA",controller:"GridsterItemCtrl",controllerAs:"gridsterItem",require:["^gridster","gridsterItem"],link:function(r,e,t,n){var i,a=t.gridsterItem,o=n[0],s=n[1];if(r.gridster=o,a){var c=w(a);!(i=c(r)||{})&&c.assign&&(i={row:s.row,col:s.col,sizeX:s.sizeX,sizeY:s.sizeY,minSizeX:0,minSizeY:0,maxSizeX:null,maxSizeY:null},c.assign(r,i))}else i=t;s.init(e,o),e.addClass("gridster-item");for(var l=["minSizeX","maxSizeX","minSizeY","maxSizeY","sizeX","sizeY","row","col"],u={},f=[],d=function(e){var t;if("string"==typeof i[e])t=i[e];else if("string"==typeof i[e.toLowerCase()])t=i[e.toLowerCase()];else{if(!a)return;t=a+"."+e}f.push('"'+e+'":'+t),u[e]=w(t);var n=u[e](r);"number"==typeof n&&(s[e]=n)},h=0,p=l.length;h<p;++h)d(l[h]);var m="{"+f.join(",")+"}";r.$watchCollection(m,function(e,t){for(var n in e){var r=e[n];t[n]!==r&&(r=parseInt(r,10),isNaN(r)||(s[n]=r))}}),r.$watch(function(){return s.row+","+s.col},function(){s.setPosition(s.row,s.col),u.row&&u.row.assign&&u.row.assign(r,s.row),u.col&&u.col.assign&&u.col.assign(r,s.col)}),r.$watch(function(){return s.sizeY+","+s.sizeX+","+s.minSizeX+","+s.maxSizeX+","+s.minSizeY+","+s.maxSizeY},function(){var e=s.setSizeX(s.sizeX,!0);e&&u.sizeX&&u.sizeX.assign&&u.sizeX.assign(r,s.sizeX);var t=s.setSizeY(s.sizeY,!0);t&&u.sizeY&&u.sizeY.assign&&u.sizeY.assign(r,s.sizeY),(e||t)&&(s.gridster.moveOverlappingItems(s),o.layoutChanged(),r.$broadcast("gridster-item-resized",s))});var g=new C(e,r,o,s,i),_=new A(e,r,o,s,i),b=function(){_.toggle(!o.isMobile&&o.resizable&&o.resizable.enabled)};b();var v=function(){g.toggle(!o.isMobile&&o.draggable&&o.draggable.enabled)};v(),r.$on("gridster-draggable-changed",v),r.$on("gridster-resizable-changed",b),r.$on("gridster-resized",b),r.$on("gridster-mobile-changed",function(){b(),v()});var y=S(function(){r.$apply(function(){r.$broadcast("gridster-item-transition-end",s)})},50);return e.on(function(){var e=document.createElement("div"),t={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(var n in t)if(void 0!==e.style[n])return t[n]}(),y),r.$broadcast("gridster-item-initialized",s),r.$on("$destroy",function(){try{_.destroy(),g.destroy()}catch(e){}try{o.removeItem(s)}catch(e){}try{s.destroy()}catch(e){}})}}}]).directive("gridsterNoDrag",function(){return{restrict:"A",link:function(e,t){t.addClass("gridster-no-drag")}}})}),function(){"use strict";function s(e){var t=isNaN(e.startTime)?new Date:new Date(e.startTime);if(null===e.gmtOffset||!1===e.gmtOffset)return{hrs:t.getHours(),mins:t.getMinutes(),secs:t.getSeconds(),date:t};var n=t.getTime()+6e4*t.getTimezoneOffset(),r=new Date(n+36e5*e.gmtOffset);return{hrs:r.getHours(),mins:r.getMinutes(),secs:r.getSeconds(),date:r}}angular.module("ds.clock",[]).directive("dsWidgetClock",["$interval","$filter",function(e,t){return a=e,o=t,{restrict:"EA",scope:{gmtOffset:"=gmtOffset",digitalFormat:"=digitalFormat",showDigital:"=showDigital",showAnalog:"=showAnalog",startTime:"=startTime",theme:"=theme"},template:'<div class="widget-clock" ng-class="themeClass" ng-if="date"><div class="digital" ng-if="digital"><span class="time"><span class="hours">{{digital}}</span></span></div><div class="analog" ng-if="analog"><div class="square"><svg viewBox="0 0 100 100"><g transform="translate(50,50)"><circle class="clock-face" r="48" /><line ng-repeat="minor in minors track by $index" class="minor" y1="42" y2="45" ng-attr-transform="rotate({{360 * $index / minors.length}})" /><line ng-repeat="major in majors track by $index" class="major" y1="35" y2="46" ng-attr-transform="rotate({{360 * $index / majors.length}})" /><line class="hour" y1="2" y2="-20" ng-attr-transform="rotate({{30 * date.hrs + date.mins / 2}})" /><line class="minute" y1="4" y2="-30" ng-attr-transform="rotate({{6 * date.mins + date.secs / 10}})" /><g ng-attr-transform="rotate({{6 * date.secs}})"><line class="second" y1="10" y2="-38" /><line class="second-counterweight" y1="10" y2="2" /></g></g></svg></div></div><div ng-if="gmtInfo" class="gmt-info">{{gmtInfo}}</div></div>',link:function(c,e,n){var t,l={},u=c.gmtOffset,r=c.digitalFormat?c.digitalFormat:"HH:mm:ss";l.showDigital=null!=c.showDigital?c.showDigital:void 0!==n.showDigital,l.showAnalog=null!=c.showAnalog?c.showAnalog:void 0!==n.showAnalog,l.showGmtInfo=void 0!==n.showGmtInfo,l.startTime=parseInt(c.startTime,10),c.themeClass=c.theme?c.theme:n.theme?n.theme:"light",l.showDigital||l.showAnalog||(l.showAnalog=!0,l.showDigital=!0),c.gmtInfo=!1,c.date=s(l),c.digital=!!l.showDigital&&"Loading..",c.analog=l.showAnalog,c.majors=new Array(12),c.minors=new Array(60);var i=null,f=function(){var e,t,n;isNaN(l.startTime)||(l.startTime=l.startTime+1e3),i=s(l),c.date=i,l.showDigital&&(c.digital=(e=i,t=r,n=u,o("date")(e.date,t,n)))};t=a(f,1e3),c.$watch("gmtOffset",function(e,t){var n,r,i,a,o,s;u=e,l.gmtOffset=null!=u&&(n=u,(0<(n=parseFloat(n))?Math.floor(n):Math.ceil(n))+n%1/.6),l.showGmtInfo&&!1!==l.gmtOffset&&(c.gmtInfo=(r=l.gmtOffset,i=0<r?Math.floor(r):Math.ceil(r),a=Math.round((0<r?r:-1*r)%1*60),"GMT"+(0===r?"":(0<r?" +":" ")+((s=i)<0?(-10<s?"-0":"-")+-1*s:(s<10?"0":"")+s)+"."+(o=a,o+(o<10?"0":"")).substring(0,2)))),f()}),c.$watch("digitalFormat",function(e,t){e!=t&&(r=e)}),c.$watch("showDigital",function(e,t){e!=t&&(l.showDigital=e,c.digital=!!l.showDigital&&"Loading..")}),c.$watch("showAnalog",function(e,t){e!=t&&(l.showAnalog=e,c.analog=e)}),c.$watch("theme",function(e,t){e!=t&&(c.themeClass=e||(n.theme?n.theme:"light"))}),e.on("$destroy",function(){a.cancel(t),t=null})}};var a,o}])}(),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Clipboard=e()}}(function(){return function a(o,s,c){function l(n,e){if(!s[n]){if(!o[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(u)return u(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[n]={exports:{}};o[n][0].call(i.exports,function(e){var t=o[n][1][e];return l(t||e)},i,i.exports,a,o,s,c)}return s[n].exports}for(var u="function"==typeof require&&require,e=0;e<c.length;e++)l(c[e]);return l}({1:[function(e,t,n){if(Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}t.exports=function(e,t){for(;e&&9!==e.nodeType;){if(e.matches(t))return e;e=e.parentNode}}},{}],2:[function(e,t,n){var o=e("./closest");t.exports=function(e,t,n,r,i){var a=function(t,n,e,r){return function(e){e.delegateTarget=o(e.target,n),e.delegateTarget&&r.call(t,e)}}.apply(this,arguments);return e.addEventListener(n,a,i),{destroy:function(){e.removeEventListener(n,a,i)}}}},{"./closest":1}],3:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],4:[function(e,t,n){var d=e("./is"),h=e("delegate");t.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!d.string(t))throw new TypeError("Second argument must be a String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(e))return u=t,f=n,(l=e).addEventListener(u,f),{destroy:function(){l.removeEventListener(u,f)}};if(d.nodeList(e))return o=e,s=t,c=n,Array.prototype.forEach.call(o,function(e){e.addEventListener(s,c)}),{destroy:function(){Array.prototype.forEach.call(o,function(e){e.removeEventListener(s,c)})}};if(d.string(e))return r=e,i=t,a=n,h(document.body,r,i,a);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var r,i,a,o,s,c,l,u,f}},{"./is":3,delegate:2}],5:[function(e,t,n){t.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}},{}],6:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var a=0,o=r.length;a<o;a++)r[a].fn!==t&&r[a].fn._!==t&&i.push(r[a]);return i.length?n[e]=i:delete n[e],this}},t.exports=r},{}],7:[function(r,i,a){!function(e,t){if(void 0!==a)t(i,r("select"));else{var n={exports:{}};t(n,e.select),e.clipboardAction=n.exports}}(this,function(e,t){"use strict";var n,r=(n=t)&&n.__esModule?n:{default:n};var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};var a=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),o=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this.resolveOptions(e),this.initSelection()}return a(t,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),t}();e.exports=o})},{select:5}],8:[function(r,i,a){!function(e,t){if(void 0!==a)t(i,r("./clipboard-action"),r("tiny-emitter"),r("good-listener"));else{var n={exports:{}};t(n,e.clipboardAction,e.tinyEmitter,e.goodListener),e.clipboard=n.exports}}(this,function(e,t,n,r){"use strict";var i=s(t),a=s(n),o=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var c=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=function(e){function r(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return n.resolveOptions(t),n.listenClick(e),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,a.default),c(r,[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,o.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new i.default({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),r}();function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=l})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)}),function(){"use strict";var e,r,t="ngclipboard";"object"==typeof module&&module.exports?(e=require("angular"),r=require("clipboard"),module.exports=t):(e=window.angular,r=window.Clipboard),e.module(t,[]).directive("ngclipboard",function(){return{restrict:"A",scope:{ngclipboardSuccess:"&",ngclipboardError:"&"},link:function(t,e){var n=new r(e[0]);n.on("success",function(e){t.$apply(function(){t.ngclipboardSuccess({e:e})})}),n.on("error",function(e){t.$apply(function(){t.ngclipboardError({e:e})})}),e.on("$destroy",function(){n.destroy()})}}})}(),function(o,T){"use strict";T.mock={},T.mock.$BrowserProvider=function(){this.$get=function(){return new T.mock.$Browser}},T.mock.$Browser=function(){var i=this;this.isMock=!0,i.$$url="http://server/",i.$$lastUrl=i.$$url,i.pollFns=[],i.$$completeOutstandingRequest=T.noop,i.$$incOutstandingRequestCount=T.noop,i.onUrlChange=function(e){return i.pollFns.push(function(){i.$$lastUrl===i.$$url&&i.$$state===i.$$lastState||(i.$$lastUrl=i.$$url,i.$$lastState=i.$$state,e(i.$$url,i.$$state))}),e},i.$$applicationDestroyed=T.noop,i.$$checkUrlChange=T.noop,i.deferredFns=[],i.deferredNextId=0,i.defer=function(e,t){return t=t||0,i.deferredFns.push({time:i.defer.now+t,fn:e,id:i.deferredNextId}),i.deferredFns.sort(function(e,t){return e.time-t.time}),i.deferredNextId++},i.defer.now=0,i.defer.cancel=function(n){var r;return T.forEach(i.deferredFns,function(e,t){e.id===n&&(r=t)}),!!T.isDefined(r)&&(i.deferredFns.splice(r,1),!0)},i.defer.flush=function(e){var t;if(T.isDefined(e))t=i.defer.now+e;else{if(!i.deferredFns.length)throw new Error("No deferred tasks to be flushed");t=i.deferredFns[i.deferredFns.length-1].time}for(;i.deferredFns.length&&i.deferredFns[0].time<=t;)i.defer.now=i.deferredFns[0].time,i.deferredFns.shift().fn();i.defer.now=t},i.$$baseHref="/",i.baseHref=function(){return this.$$baseHref}},T.mock.$Browser.prototype={poll:function(){T.forEach(this.pollFns,function(e){e()})},url:function(e,t,n){return T.isUndefined(n)&&(n=null),e?(this.$$url=e,this.$$state=T.copy(n),this):this.$$url},state:function(){return this.$$state},notifyWhenNoOutstandingRequests:function(e){e()}},T.mock.$ExceptionHandlerProvider=function(){var e;this.mode=function(t){switch(t){case"log":case"rethrow":var n=[];(e=function(e){if(1==arguments.length?n.push(e):n.push([].slice.call(arguments,0)),"rethrow"===t)throw e}).errors=n;break;default:throw new Error("Unknown mode '"+t+"', only 'log'/'rethrow' modes are allowed!")}},this.$get=function(){return e},this.mode("rethrow")},T.mock.$LogProvider=function(){var t=!0;function n(e,t,n){return e.concat(Array.prototype.slice.call(t,n))}this.debugEnabled=function(e){return T.isDefined(e)?(t=e,this):t},this.$get=function(){var e={log:function(){e.log.logs.push(n([],arguments,0))},warn:function(){e.warn.logs.push(n([],arguments,0))},info:function(){e.info.logs.push(n([],arguments,0))},error:function(){e.error.logs.push(n([],arguments,0))},debug:function(){t&&e.debug.logs.push(n([],arguments,0))},reset:function(){e.log.logs=[],e.info.logs=[],e.warn.logs=[],e.error.logs=[],e.debug.logs=[]},assertEmpty:function(){var n=[];if(T.forEach(["error","warn","info","log","debug"],function(t){T.forEach(e[t].logs,function(e){T.forEach(e,function(e){n.push("MOCK $log ("+t+"): "+String(e)+"\n"+(e.stack||""))})})}),n.length)throw n.unshift("Expected $log to be empty! Either a message was logged unexpectedly, or an expected log message was not checked and removed:"),n.push(""),new Error(n.join("\n---------\n"))}};return e.reset(),e}},T.mock.$IntervalProvider=function(){this.$get=["$browser","$rootScope","$q","$$q",function(u,f,d,h){var p=[],m=0,g=0,e=function(e,t,r,n){var i=4<arguments.length,a=i?Array.prototype.slice.call(arguments,4):[],o=0,s=T.isDefined(n)&&!n,c=(s?h:d).defer(),l=c.promise;return r=T.isDefined(r)?r:0,l.then(null,null,i?function(){e.apply(null,a)}:e),l.$$intervalId=m,p.push({nextTime:g+t,delay:t,fn:function(){var n;c.notify(o++),0<r&&r<=o&&(c.resolve(o),T.forEach(p,function(e,t){e.id===l.$$intervalId&&(n=t)}),T.isDefined(n)&&p.splice(n,1)),s?u.defer.flush():f.$apply()},id:m,deferred:c}),p.sort(function(e,t){return e.nextTime-t.nextTime}),m++,l};return e.cancel=function(n){return!!n&&(T.forEach(p,function(e,t){e.id===n.$$intervalId&&(r=t)}),!!T.isDefined(r)&&(p[r].deferred.reject("canceled"),p.splice(r,1),!0));var r},e.flush=function(e){for(g+=e;p.length&&p[0].nextTime<=g;){var t=p[0];t.fn(),t.nextTime+=t.delay,p.sort(function(e,t){return e.nextTime-t.nextTime})}return e},e}]};var l,a=/^(-?\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?:\:?(\d\d)(?:\:?(\d\d)(?:\.(\d{3}))?)?)?(Z|([+-])(\d\d):?(\d\d)))?$/;function s(e){return parseInt(e,10)}function c(e,t,n){var r="";for(e<0&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function e(n,_,b,v){var y=[],w=[],C=[],A=T.bind(C,C.push),S=T.copy;function s(e,t,n,r){return T.isFunction(e)?e:function(){return T.isNumber(e)?[e,t,n,r]:[200,e,t,n]}}function o(r,i,a,o,s,c,e,t,n,l){var u=new x,f=w[0],d=!1;function h(e){return T.isString(e)||T.isFunction(e)||e instanceof RegExp?e:T.toJson(e)}function p(t){return!v&&c&&(c.then?c.then(e):_(e,c)),n;function n(){var e=t.response(r,i,a,s,t.params(i));u.$$respHeaders=e[2],o(S(e[0]),S(e[1]),u.getAllResponseHeaders(),S(e[3]||""))}function e(){for(var e=0,t=C.length;e<t;e++)if(C[e]===n){C.splice(e,1),o(-1,void 0,"");break}}}if(u.$$events=n,u.upload.$$events=l,f&&f.match(r,i)){if(!f.matchData(a))throw new Error("Expected "+f+" with different data\nEXPECTED: "+h(f.data)+"\nGOT: "+a);if(!f.matchHeaders(s))throw new Error("Expected "+f+" with different headers\nEXPECTED: "+h(f.headers)+"\nGOT: "+h(s));if(w.shift(),f.response)return void C.push(p(f));d=!0}for(var m,g=-1;m=y[++g];)if(m.match(r,i,a,s||{})){if(m.response)(v?v.defer:A)(p(m));else{if(!m.passThrough)throw new Error("No response defined !");b(r,i,a,o,s,c,e,t,n,l)}return}throw d?new Error("No response defined !"):new Error("Unexpected request: "+r+" "+i+"\n"+(f?"Expected "+f:"No more request expected"))}function r(e){var t={regexp:e},o=t.keys=[];return e&&T.isString(e)&&(e=e.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(e,t,n,r){var i="?"===r?r:null,a="*"===r?r:null;return o.push({name:n,optional:!!i}),t=t||"",(i?"":t)+"(?:"+(i?t:"")+(a?"(.+?)":"([^/]+)")+(i||"")+")"+(i||"")}).replace(/([\/$\*])/g,"\\$1"),t.regexp=new RegExp("^"+e,"i")),t}return o.when=function(e,t,n,r,i){var a=new u(e,t,n,r,i),o={respond:function(e,t,n,r){return a.passThrough=void 0,a.response=s(e,t,n,r),o}};return v&&(o.passThrough=function(){return a.response=void 0,a.passThrough=!0,o}),y.push(a),o},e("when"),o.whenRoute=function(e,t){var n=r(t);return o.when(e,n.regexp,void 0,void 0,n.keys)},o.expect=function(e,t,n,r,i){var a=new u(e,t,n,r,i),o={respond:function(e,t,n,r){return a.response=s(e,t,n,r),o}};return w.push(a),o},e("expect"),o.expectRoute=function(e,t){var n=r(t);return o.expect(e,n.regexp,void 0,void 0,n.keys)},o.flush=function(e,t){if(!1!==t&&n.$digest(),!C.length)throw new Error("No pending request to flush !");if(T.isDefined(e)&&null!==e)for(;e--;){if(!C.length)throw new Error("No more pending request to flush !");C.shift()()}else for(;C.length;)C.shift()();o.verifyNoOutstandingExpectation(t)},o.verifyNoOutstandingExpectation=function(e){if(!1!==e&&n.$digest(),w.length)throw new Error("Unsatisfied requests: "+w.join(", "))},o.verifyNoOutstandingRequest=function(){if(C.length)throw new Error("Unflushed requests: "+C.length)},o.resetExpectations=function(){w.length=0,C.length=0},o;function e(a){T.forEach(["GET","DELETE","JSONP","HEAD"],function(r){o[a+r]=function(e,t,n){return o[a](r,e,void 0,t,n)}}),T.forEach(["PUT","POST","PATCH"],function(i){o[a+i]=function(e,t,n,r){return o[a](i,e,t,n,r)}})}}function u(i,s,t,n,c){function r(e){return e.slice(e.indexOf("?")+1).split("&").sort()}this.data=t,this.headers=n,this.match=function(e,t,n,r){return i==e&&(!!this.matchUrl(t)&&(!(T.isDefined(n)&&!this.matchData(n))&&!(T.isDefined(r)&&!this.matchHeaders(r))))},this.matchUrl=function(e){return!s||(T.isFunction(s.test)?s.test(e):T.isFunction(s)?s(e):s==e||(t=e,s.slice(0,s.indexOf("?"))==t.slice(0,t.indexOf("?"))&&r(s).join()==r(t).join()));var t},this.matchHeaders=function(e){return!!T.isUndefined(n)||(T.isFunction(n)?n(e):T.equals(n,e))},this.matchData=function(e){return!!T.isUndefined(t)||(t&&T.isFunction(t.test)?t.test(e):t&&T.isFunction(t)?t(e):t&&!T.isString(t)?T.equals(T.fromJson(T.toJson(t)),T.fromJson(e)):t==e)},this.toString=function(){return i+" "+s},this.params=function(o){return T.extend((i={},e=-1<o.indexOf("?")?o.substring(o.indexOf("?")+1):"",T.forEach(e.split("&"),function(e){if(e&&(n=e.replace(/\+/g,"%20").split("="),r=a(n[0]),T.isDefined(r))){var t=!T.isDefined(n[1])||a(n[1]);hasOwnProperty.call(i,r)?T.isArray(i[r])?i[r].push(t):i[r]=[i[r],t]:i[r]=t}}),i),function(){var e={};if(!s||!T.isFunction(s.test)||!c||0===c.length)return e;var t=s.exec(o);if(!t)return e;for(var n=1,r=t.length;n<r;++n){var i=c[n-1],a=t[n];i&&a&&(e[i.name||i]=a)}return e}());var n,r,i,e;function a(e){try{return decodeURIComponent(e)}catch(e){}}}}function x(){(x.$$lastInstance=this).open=function(e,t,n){this.$$method=e,this.$$url=t,this.$$async=n,this.$$reqHeaders={},this.$$respHeaders={}},this.send=function(e){this.$$data=e},this.setRequestHeader=function(e,t){this.$$reqHeaders[e]=t},this.getResponseHeader=function(n){var r=this.$$respHeaders[n];return r||(n=T.lowercase(n),(r=this.$$respHeaders[n])||(r=void 0,T.forEach(this.$$respHeaders,function(e,t){r||T.lowercase(t)!=n||(r=e)})),r)},this.getAllResponseHeaders=function(){var n=[];return T.forEach(this.$$respHeaders,function(e,t){n.push(t+": "+e)}),n.join("\n")},this.abort=T.noop,this.$$events={},this.addEventListener=function(e,t){T.isUndefined(this.$$events[e])&&(this.$$events[e]=[]),this.$$events[e].push(t)},this.upload={$$events:{},addEventListener:this.addEventListener}}T.mock.TzDate=function(e,t){var n=new Date(0);if(T.isString(t)){var r=t;if(n.origDate=function(e){var t;if(t=e.match(a)){var n=new Date(0),r=0,i=0;return t[9]&&(r=s(t[9]+t[10]),i=s(t[9]+t[11])),n.setUTCFullYear(s(t[1]),s(t[2])-1,s(t[3])),n.setUTCHours(s(t[4]||0)-r,s(t[5]||0)-i,s(t[6]||0),s(t[7]||0)),n}return e}(t),t=n.origDate.getTime(),isNaN(t))throw{name:"Illegal Argument",message:"Arg '"+r+"' passed into TzDate constructor is not a valid date string"}}else n.origDate=new Date(t);var i=new Date(t).getTimezoneOffset();n.offsetDiff=60*i*1e3-1e3*e*60*60,n.date=new Date(t+n.offsetDiff),n.getTime=function(){return n.date.getTime()-n.offsetDiff},n.toLocaleDateString=function(){return n.date.toLocaleDateString()},n.getFullYear=function(){return n.date.getFullYear()},n.getMonth=function(){return n.date.getMonth()},n.getDate=function(){return n.date.getDate()},n.getHours=function(){return n.date.getHours()},n.getMinutes=function(){return n.date.getMinutes()},n.getSeconds=function(){return n.date.getSeconds()},n.getMilliseconds=function(){return n.date.getMilliseconds()},n.getTimezoneOffset=function(){return 60*e},n.getUTCFullYear=function(){return n.origDate.getUTCFullYear()},n.getUTCMonth=function(){return n.origDate.getUTCMonth()},n.getUTCDate=function(){return n.origDate.getUTCDate()},n.getUTCHours=function(){return n.origDate.getUTCHours()},n.getUTCMinutes=function(){return n.origDate.getUTCMinutes()},n.getUTCSeconds=function(){return n.origDate.getUTCSeconds()},n.getUTCMilliseconds=function(){return n.origDate.getUTCMilliseconds()},n.getDay=function(){return n.date.getDay()},n.toISOString&&(n.toISOString=function(){return c(n.origDate.getUTCFullYear(),4)+"-"+c(n.origDate.getUTCMonth()+1,2)+"-"+c(n.origDate.getUTCDate(),2)+"T"+c(n.origDate.getUTCHours(),2)+":"+c(n.origDate.getUTCMinutes(),2)+":"+c(n.origDate.getUTCSeconds(),2)+"."+c(n.origDate.getUTCMilliseconds(),3)+"Z"});return T.forEach(["getUTCDay","getYear","setDate","setFullYear","setHours","setMilliseconds","setMinutes","setMonth","setSeconds","setTime","setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds","setYear","toDateString","toGMTString","toJSON","toLocaleFormat","toLocaleString","toLocaleTimeString","toSource","toString","toTimeString","toUTCString","valueOf"],function(e){n[e]=function(){throw new Error("Method '"+e+"' is not implemented in the TzDate mock")}}),n},T.mock.TzDate.prototype=Date.prototype,T.mock.animate=T.module("ngAnimateMock",["ng"]).config(["$provide",function(e){e.factory("$$forceReflow",function(){function e(){e.totalReflows++}return e.totalReflows=0,e}),e.factory("$$animateAsyncRun",function(){var t=[],e=function(){return function(e){t.push(e)}};return e.flush=function(){if(0===t.length)return!1;for(var e=0;e<t.length;e++)t[e]();return t=[],!0},e}),e.decorator("$$animateJs",["$delegate",function(t){var n=[],e=function(){var e=t.apply(t,arguments);return e&&n.push(e),e};return e.$closeAndFlush=function(){n.forEach(function(e){e.end()}),n=[]},e}]),e.decorator("$animateCss",["$delegate",function(r){var i=[],e=function(e,t){var n=r(e,t);return i.push(n),n};return e.$closeAndFlush=function(){i.forEach(function(e){e.end()}),i=[]},e}]),e.decorator("$animate",["$delegate","$timeout","$browser","$$rAF","$animateCss","$$animateJs","$$forceReflow","$$animateAsyncRun","$rootScope",function(t,e,n,r,i,a,o,s,c){var l={queue:[],cancel:t.cancel,on:t.on,off:t.off,pin:t.pin,get reflows(){return o.totalReflows},enabled:t.enabled,closeAndFlush:function(){this.flush(!0),i.$closeAndFlush(),a.$closeAndFlush(),this.flush()},flush:function(e){c.$digest();for(var t,n=!1;t=!1,r.queue.length&&(r.flush(),t=n=!0),s.flush()&&(t=n=!0),t;);if(!n&&!e)throw new Error("No pending animations ready to be closed or flushed");c.$digest()}};return T.forEach(["animate","enter","leave","move","addClass","removeClass","setClass"],function(e){l[e]=function(){return l.queue.push({event:e,element:arguments[0],options:arguments[arguments.length-1],args:arguments}),t[e].apply(t,arguments)}}),l}])}]),T.mock.dump=function(e){return function t(e){var n;n=T.isElement(e)?(e=T.element(e),n=T.element("<div></div>"),T.forEach(e,function(e){n.append(T.element(e).clone())}),n.html()):T.isArray(e)?(n=[],T.forEach(e,function(e){n.push(t(e))}),"[ "+n.join(", ")+" ]"):T.isObject(e)?T.isFunction(e.$eval)&&T.isFunction(e.$apply)?a(e):e instanceof Error?e.stack||e.name+": "+e.message:T.toJson(e,!0):String(e);return n}(e);function a(e,t){var n=[(t=t||" ")+"Scope("+e.$id+"): {"];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&!r.match(/^(\$|this)/)&&n.push(" "+r+": "+T.toJson(e[r]));for(var i=e.$$childHead;i;)n.push(a(i,t+" ")),i=i.$$nextSibling;return n.push("}"),n.join("\n"+t)}},T.mock.$HttpBackendProvider=function(){this.$get=["$rootScope","$timeout",e]},T.mock.$TimeoutDecorator=["$delegate","$browser",function(e,n){return e.flush=function(e){n.defer.flush(e)},e.verifyNoPendingTasks=function(){if(n.deferredFns.length)throw new Error("Deferred tasks to flush ("+n.deferredFns.length+"): "+(e=n.deferredFns,t=[],T.forEach(e,function(e){t.push("{id: "+e.id+", time: "+e.time+"}")}),t.join(", ")));var e,t},e}],T.mock.$RAFDecorator=["$delegate",function(e){var n=function(e){var t=n.queue.length;return n.queue.push(e),function(){n.queue.splice(t,1)}};return n.queue=[],n.supported=e.supported,n.flush=function(){if(0===n.queue.length)throw new Error("No rAF callbacks present");for(var e=n.queue.length,t=0;t<e;t++)n.queue[t]();n.queue=n.queue.slice(t)},n}],T.mock.$RootElementProvider=function(){this.$get=["$injector",function(e){return l=T.element("<div ng-app></div>").data("$injector",e)}]},T.mock.$ControllerDecorator=["$delegate",function(o){return function(e,t,n,r){if(n&&"object"==typeof n){var i=o(e,t,!0,r);T.extend(i.instance,n);var a=i();return a!==i.instance&&T.extend(a,n),a}return o(e,t,n,r)}}],T.mock.$ComponentControllerProvider=["$compileProvider",function(e){this.$get=["$controller","$injector","$rootScope",function(o,s,c){return function(e,t,n,r){var i=s.get(e+"Directive").filter(function(e){return e.controller&&e.controllerAs&&"E"===e.restrict});if(0===i.length)throw new Error("No component found");if(1<i.length)throw new Error("Too many components found");var a=i[0];return(t=t||{}).$scope=t.$scope||c.$new(!0),o(a.controller,t,n,r||a.controllerAs)}}]}],T.module("ngMock",["ng"]).provider({$browser:T.mock.$BrowserProvider,$exceptionHandler:T.mock.$ExceptionHandlerProvider,$log:T.mock.$LogProvider,$interval:T.mock.$IntervalProvider,$httpBackend:T.mock.$HttpBackendProvider,$rootElement:T.mock.$RootElementProvider,$componentController:T.mock.$ComponentControllerProvider}).config(["$provide",function(e){e.decorator("$timeout",T.mock.$TimeoutDecorator),e.decorator("$$rAF",T.mock.$RAFDecorator),e.decorator("$rootScope",T.mock.$RootScopeDecorator),e.decorator("$controller",T.mock.$ControllerDecorator)}]),T.module("ngMockE2E",["ng"]).config(["$provide",function(e){e.value("$httpBackend",T.injector(["ng"]).get("$httpBackend")),e.decorator("$httpBackend",T.mock.e2e.$httpBackendDecorator)}]),T.mock.e2e={},T.mock.e2e.$httpBackendDecorator=["$rootScope","$timeout","$delegate","$browser",e],T.mock.$RootScopeDecorator=["$delegate",function(e){var t=Object.getPrototypeOf(e);return t.$countChildScopes=function(){var e,t=0,n=[this.$$childHead];for(;n.length;)for(e=n.shift();e;)t+=1,n.push(e.$$childHead),e=e.$$nextSibling;return t},t.$countWatchers=function(){var e,t=this.$$watchers?this.$$watchers.length:0,n=[this.$$childHead];for(;n.length;)for(e=n.shift();e;)t+=e.$$watchers?e.$$watchers.length:0,n.push(e.$$childHead),e=e.$$nextSibling;return t},e}],function(e){if(o.jasmine||o.mocha){var s=null,n=new i,a=[],r=function(){return!!s};T.mock.$$annotate=T.injector.$$annotate,T.injector.$$annotate=function(e){return"function"!=typeof e||e.$inject||a.push(e),T.mock.$$annotate.apply(this,arguments)};var t=o.module=T.mock.module=function(){var e=Array.prototype.slice.call(arguments,0);return r()?t():t;function t(){if(s.$injector)throw new Error("Injector already created, can not register a module!");var t,n=s.$modules||(s.$modules=[]);T.forEach(e,function(e){t=T.isObject(e)&&!T.isArray(e)?["$provide",function(n){T.forEach(e,function(e,t){n.value(t,e)})}]:e,s.$providerInjector?s.$providerInjector.invoke(t):n.push(t)})}};t.$$beforeAllHook=o.before||o.beforeAll,t.$$afterAllHook=o.after||o.afterAll,t.$$currentSpec=function(e){if(0===arguments.length)return e;s=e},t.sharedInjector=function(){if(!t.$$beforeAllHook||!t.$$afterAllHook)throw Error("sharedInjector() cannot be used unless your test runner defines beforeAll/afterAll");var e=!1;t.$$beforeAllHook(function(){if(n.shared)throw n.sharedError=Error("sharedInjector() cannot be called inside a context that has already called sharedInjector()"),n.sharedError;e=!0,s=this,n.shared=!0}),t.$$afterAllHook(function(){e?(n=new i,t.$$cleanup()):n.sharedError=null})},t.$$beforeEach=function(){if(n.shared&&s&&s!=this){var t=s;s=this,T.forEach(["$injector","$modules","$providerInjector","$injectorStrict"],function(e){s[e]=t[e],t[e]=null})}else s=this,l=null,a=[]},t.$$afterEach=function(){n.cleanupAfterEach()&&t.$$cleanup()},t.$$cleanup=function(){var e=s.$injector;if(a.forEach(function(e){delete e.$inject}),T.forEach(s.$modules,function(e){e&&e.$$hashKey&&(e.$$hashKey=void 0)}),s.$injector=null,s.$modules=null,s.$providerInjector=null,s=null,e){var t=e.get("$rootElement"),n=t&&t[0],r=l?[l[0]]:[];!n||l&&n===l[0]||r.push(n),T.element.cleanData(r);var i=e.get("$rootScope");i&&i.$destroy&&i.$destroy()}T.forEach(T.element.fragments,function(e,t){delete T.element.fragments[t]}),x.$$lastInstance=null,T.forEach(T.callbacks,function(e,t){delete T.callbacks[t]}),T.callbacks.$$counter=0},(o.beforeEach||o.setup)(t.$$beforeEach),(o.afterEach||o.teardown)(t.$$afterEach);var c=function(e,t){this.message=e.message,this.name=e.name,e.line&&(this.line=e.line),e.sourceId&&(this.sourceId=e.sourceId),e.stack&&t&&(this.stack=e.stack+"\n"+t.stack),e.stackArray&&(this.stackArray=e.stackArray)};c.prototype=Error.prototype,o.inject=T.mock.inject=function(){var a=Array.prototype.slice.call(arguments,0),o=new Error("Declaration Location");if(!o.stack)try{throw o}catch(e){}return r()?e.call(s):e;function e(){var e=s.$modules||[],t=!!s.$injectorStrict;e.unshift(["$injector",function(e){s.$providerInjector=e}]),e.unshift("ngMock"),e.unshift("ng");var n=s.$injector;n||(t&&T.forEach(e,function(e){"function"==typeof e&&T.injector.$$annotate(e)}),n=s.$injector=T.injector(e,t),s.$injectorStrict=t);for(var r=0,i=a.length;r<i;r++){s.$injectorStrict&&n.annotate(a[r]);try{n.invoke(a[r]||T.noop,this)}catch(e){if(e.stack&&o)throw new c(e,o);throw e}finally{o=null}}}},T.mock.inject.strictDi=function(e){return e=!arguments.length||!!e,r()?t():t;function t(){if(e!==s.$injectorStrict){if(s.$injector)throw new Error("Injector already created, can not modify strict annotations");s.$injectorStrict=e}}}}function i(){this.shared=!1,this.sharedError=null,this.cleanupAfterEach=function(){return!this.shared||this.sharedError}}}()}(window,window.angular),angular.module("templates-angularcronjobs",["cronselection.html"]),angular.module("cronselection.html",[]).run(["$templateCache",function(e){e.put("cronselection.html",'<div class="cron-wrap">\n <span>Every: </span>\n <div class="cron-select-wrap">\n <select class="cron-select" ng-model="myFrequency.base" ng-options="item.value as item.label for item in frequency"></select>\n </div>\n <div class="select-options">\n <span ng-show="myFrequency.base == 4">on </span>\n <div ng-show="myFrequency.base == 4" class="cron-select-wrap">\n \x3c!-- If Multiple is Enabled --\x3e\n <select class="cron-select day-value"\n ng-model="myFrequency.dayValues"\n ng-if="allowMultiple" multiple\n ng-options="value as (value | cronDayName: cronStyle) for value in dayValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select day-value"\n ng-model="myFrequency.dayValues"\n ng-if="!allowMultiple"\n ng-options="value as (value | cronDayName: cronStyle) for value in dayValues">\n </select>\n </div>\n <span ng-show="myFrequency.base >= 5">on the </span>\n <div ng-show="myFrequency.base >= 5" class="cron-select-wrap">\n \x3c!-- If Multiple is Enabled --\x3e\n <select class="cron-select day-of-month-value"\n ng-model="myFrequency.dayOfMonthValues"\n ng-if="allowMultiple" multiple\n ng-options="value as (value | cronNumeral) for value in dayOfMonthValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select day-of-month-value"\n ng-model="myFrequency.dayOfMonthValues"\n ng-if="!allowMultiple"\n ng-options="value as (value | cronNumeral) for value in dayOfMonthValues">\n </select>\n </div>\n <span ng-show="myFrequency.base == 6">of </span>\n \x3c!-- If Multiple is Enabled --\x3e\n <div ng-show="myFrequency.base == 6" class="cron-select-wrap">\n <select class="cron-select month-value"\n ng-model="myFrequency.monthValues"\n ng-if="allowMultiple" multiple\n ng-options="value as (value | cronMonthName) for value in monthValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select month-value"\n ng-model="myFrequency.monthValues"\n ng-if="!allowMultiple"\n ng-options="value as (value | cronMonthName) for value in monthValues">\n </select>\n </div>\n <span ng-show="myFrequency.base >= 2">at </span>\n \x3c!-- If Multiple is Enabled --\x3e\n <div ng-show="myFrequency.base >= 3" class="cron-select-wrap">\n <select class="cron-select hour-value"\n ng-model="myFrequency.hourValues"\n ng-if="allowMultiple" multiple\n ng-options="value as value for value in hourValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select hour-value"\n ng-model="myFrequency.hourValues"\n ng-if="!allowMultiple"\n ng-options="value as value for value in hourValues">\n </select>\n </div>\n <span ng-show="myFrequency.base >= 3"> : </span>\n \x3c!-- If Multiple is Enabled --\x3e\n <div ng-show="myFrequency.base >= 2" class="cron-select-wrap">\n <select class="cron-select minute-value"\n ng-model="myFrequency.minuteValues"\n ng-if="allowMultiple" multiple\n ng-options="value as value for value in minuteValues">\n </select>\n \x3c!-- If Multiple is not Enabled --\x3e\n <select class="cron-select minute-value"\n ng-model="myFrequency.minuteValues"\n ng-if="!allowMultiple"\n ng-options="value as value for value in minuteValues">\n </select>\n </div>\n <span ng-show="myFrequency.base == 2"> past the hour</span>\n </div>\n</div>')}]),angular.module("angular-cron-jobs",["templates-angularcronjobs"]),angular.module("angular-cron-jobs").directive("cronSelection",["cronService","baseFrequency",function(u,f){return{restrict:"EA",replace:!0,transclude:!0,require:"ngModel",scope:{ngModel:"=",config:"=",myFrequency:"=?frequency"},templateUrl:function(e,t){return t.template||"cronselection.html"},link:function(r,e,t,i){var a=!1;if(r.baseFrequency=f,r.frequency=[{value:1,label:"Minute"},{value:2,label:"Hour"},{value:3,label:"Day"},{value:4,label:"Week"},{value:5,label:"Month"},{value:6,label:"Year"}],r.$watch("ngModel",function(e){angular.isDefined(e)&&e?(a=!0,r.myFrequency=u.fromCron(e,r.allowMultiple,r.cronStyle)):""===e&&(r.myFrequency=void 0)}),"object"==typeof r.config&&!r.config.length){if("object"==typeof r.config.options){var n=Object.keys(r.config.options);for(var o in n){var s=n[o].replace(/^allow/,""),c=n[o];if(!r.config.options[c])for(var l in r.frequency)r.frequency[l].label===s&&r.frequency.splice(l,1)}}angular.isDefined(r.config.allowMultiple)?r.allowMultiple=r.config.allowMultiple:r.allowMultiple=!1,angular.isDefined(r.config.quartz)&&r.config.quartz?r.cronStyle="quartz":r.cronStyle="default"}r.minuteValues=[0,5,10,15,20,25,30,35,40,45,50,55],r.hourValues=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],r.dayOfMonthValues=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],r.dayValues=[0,1,2,3,4,5,6],r.monthValues=[1,2,3,4,5,6,7,8,9,10,11,12],"quartz"===r.cronStyle&&(r.dayValues=[1,2,3,4,5,6,7]),r.$watch("myFrequency",function(e,t){if(void 0!==e){!e||!e.base||t&&e.base===t.base||a?e&&e.base&&t&&t.base&&(a=!1):function(e){e.base=parseInt(e.base),e.base>=f.hour&&(e.minuteValues=r.minuteValues[0]);e.base>=f.day&&(e.hourValues=r.hourValues[0]);e.base===f.week&&(e.dayValues=r.dayValues[0]);e.base>=f.month&&(e.dayOfMonthValues=r.dayOfMonthValues[0]);e.base===f.year&&(e.monthValues=r.monthValues[0])}(e);var n=u.setCron(e,r.cronStyle);i.$setViewValue(n)}},!0)}}}]).filter("cronNumeral",function(){return function(e){switch(e){case 1:return"1st";case 2:return"2nd";case 3:return"3rd";case 21:return"21st";case 22:return"22nd";case 23:return"23rd";case 31:return"31st";case null:return null;default:return e+"th"}}}).filter("cronMonthName",function(){return function(e){var t={1:"January",2:"February",3:"March",4:"April",5:"May",6:"June",7:"July",8:"August",9:"September",10:"October",11:"November",12:"December"};return null!==e&&angular.isDefined(t[e])?t[e]:null}}).filter("cronDayName",function(){return function(e,t){var n;return n="quartz"===t?{1:"Sunday",2:"Monday",3:"Tuesday",4:"Wednesday",5:"Thursday",6:"Friday",7:"Saturday"}:{0:"Sunday",1:"Monday",2:"Tuesday",3:"Wednesday",4:"Thursday",5:"Friday",6:"Saturday"},null!==e&&angular.isDefined(n[e])?n[e]:null}}).directive("ngMultiple",function(){return{restrict:"A",scope:{ngMultiple:"="},link:function(e,t){e.$watch("ngMultiple",function(e){e?t.attr("multiple","multiple"):t.removeAttr("multiple")})}}}),angular.module("angular-cron-jobs").value("baseFrequency",{minute:1,hour:2,day:3,week:4,month:5,year:6}).factory("cronService",["baseFrequency",function(o){var e={setCron:function(e,t){return"quartz"===t?this.setQuartzCron(e):this.setDefaultCron(e)},setQuartzCron:function(e){var t=["0","*","*","*","*","?"];return e&&e.base&&e.base>=o.hour&&(t[1]=void 0!==e.minuteValues?e.minuteValues:"0"),e&&e.base&&e.base>=o.day&&(t[2]=void 0!==e.hourValues?e.hourValues:"*"),e&&e.base&&e.base===o.week&&(t[3]="?",t[5]=e.dayValues),e&&e.base&&e.base>=o.month&&(t[3]=void 0!==e.dayOfMonthValues?e.dayOfMonthValues:"?"),e&&e.base&&e.base===o.year&&(t[4]=void 0!==e.monthValues?e.monthValues:"*"),t.join(" ")},setDefaultCron:function(e){var t=["*","*","*","*","*"];return e&&e.base&&e.base>=o.hour&&(t[0]=void 0!==e.minuteValues?e.minuteValues:"*"),e&&e.base&&e.base>=o.day&&(t[1]=void 0!==e.hourValues?e.hourValues:"*"),e&&e.base&&e.base===o.week&&(t[4]=e.dayValues),e&&e.base&&e.base>=o.month&&(t[2]=void 0!==e.dayOfMonthValues?e.dayOfMonthValues:"*"),e&&e.base&&e.base===o.year&&(t[3]=void 0!==e.monthValues?e.monthValues:"*"),t.join(" ")},fromCron:function(e,t,n){return"quartz"===n?this.fromQuartzCron(e,t):this.fromDefaultCron(e,t)},fromDefaultCron:function(e,t){var n=e.replace(/\s+/g," ").split(" "),r={base:"1"},i=[];if("*"===n[0]&&"*"===n[1]&&"*"===n[2]&&"*"===n[3]&&"*"===n[4]?r.base=o.minute:"*"===n[1]&&"*"===n[2]&&"*"===n[3]&&"*"===n[4]?r.base=o.hour:"*"===n[2]&&"*"===n[3]&&"*"===n[4]?r.base=o.day:"*"===n[2]&&"*"===n[3]?r.base=o.week:"*"===n[3]&&"*"===n[4]?r.base=o.month:"*"===n[4]&&(r.base=o.year),"*"!==n[0])if(t){i=n[0].split(",");for(var a=0;a<i.length;a++)i[a]=+i[a];r.minuteValues=i}else r.minuteValues=parseInt(n[0]);if("*"!==n[1])if(t){i=n[1].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.hourValues=i}else r.hourValues=parseInt(n[1]);if("*"!==n[2])if(t){i=n[2].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayOfMonthValues=i}else r.dayOfMonthValues=parseInt(n[2]);if("*"!==n[3])if(t){i=n[3].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.monthValues=i}else r.monthValues=parseInt(n[3]);if("*"!==n[4])if(t){i=n[4].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayValues=i}else r.dayValues=parseInt(n[4]);return r},fromQuartzCron:function(e,t){var n=e.replace(/\s+/g," ").split(" "),r={base:"1"},i=[];if("*"===n[1]&&"*"===n[2]&&"*"===n[3]&&"*"===n[4]&&"?"===n[5]?r.base=1:"*"===n[2]&&"*"===n[3]&&"*"===n[4]&&"?"===n[5]?r.base=2:"*"===n[3]&&"*"===n[4]&&"?"===n[5]?r.base=3:"?"===n[3]?r.base=4:"*"===n[4]&&"?"===n[5]?r.base=5:"?"===n[5]&&(r.base=6),"*"!==n[1])if(t){i=n[1].split(",");for(var a=0;a<i.length;a++)i[a]=+i[a];r.minuteValues=i}else r.minuteValues=parseInt(n[1]);if("*"!==n[2])if(t){i=n[2].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.hourValues=i}else r.hourValues=parseInt(n[2]);if("*"!==n[3]&&"?"!==n[3])if(t){i=n[3].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayOfMonthValues=i}else r.dayOfMonthValues=parseInt(n[3]);if("*"!==n[4])if(t){i=n[4].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.monthValues=i}else r.monthValues=parseInt(n[4]);if("*"!==n[5]&&"?"!==n[5])if(t){i=n[5].split(",");for(a=0;a<i.length;a++)i[a]=+i[a];r.dayValues=i}else r.dayValues=parseInt(n[5]);return r}};return e}]),function(){"use strict";angular.module("ngEmbed",["ngSanitize"]).filter("embed",["$sce",function(c){var l=[{text:":)",class:"smiley",code:"e60a"},{text:":D",class:"happy",code:"e608"},{text:":d",class:"happy",code:"e608"},{text:":(",class:"sad",code:"e60e"},{text:":/",class:"wondering",code:"e620"},{text:":P",class:"tongue",code:"e60c"},{text:":p",class:"tongue",code:"e60c"},{text:"3:)",class:"evil",code:"e618"},{text:"(^)",class:"thumbsup2",code:"e607"},{text:";)",class:"wink",code:"e610"},{text:":o",class:"shocked",code:"e61a"},{text:"-_-",class:"neutral",code:"e61e"},{text:"(y)",class:"thumbs-up",code:"e606"},{text:":*",class:"heart",code:"e604"},{text:"<3",class:"heart",code:"e604"},{text:"<3",class:"heart",code:"e604"},{text:"</3",class:"heart-broken",code:"e605"},{text:"</3",class:"heart-broken",code:"e605"},{text:"^_^",class:"grin",code:"e612"},{text:"8-)",class:"cool",code:"e614"},{text:"8|",class:"cool",code:"e614"},{text:":S",class:"confused",code:"e61c"},{text:":s",class:"confused",code:"e61c"}],u=["bowtie","smile","laughing","blush","smiley","relaxed","smirk","heart_eyes","kissing_heart","kissing_closed_eyes","flushed","relieved","satisfied","grin","wink","stuck_out_tongue_winking_eye","stuck_out_tongue_closed_eyes","grinning","kissing","winky_face","kissing_smiling_eyes","stuck_out_tongue","sleeping","worried","frowning","anguished","open_mouth","grimacing","confused","hushed","expressionless","unamused","sweat_smile","sweat","wow","disappointed_relieved","weary","pensive","disappointed","confounded","fearful","cold_sweat","persevere","cry","sob","joy","astonished","scream","neckbeard","tired_face","angry","rage","triumph","sleepy","yum","mask","sunglasses","dizzy_face","imp","smiling_imp","neutral_face","no_mouth","innocent","alien","yellow_heart","blue_heart","purple_heart","heart","green_heart","broken_heart","heartbeat","heartpulse","two_hearts","revolving_hearts","cupid","sparkling_heart","sparkles","star","star2","dizzy","boom","collision","anger","exclamation","question","grey_exclamation","grey_question","zzz","dash","sweat_drops","notes","musical_note","fire","hankey","poop","shit","\\+1","thumbsup","-1","thumbsdown","ok_hand","punch","facepunch","fist","v","wave","hand","raised_hand","open_hands","point_up","point_down","point_left","point_right","raised_hands","pray","point_up_2","clap","muscle","metal","fu","walking","runner","running","couple","family","two_men_holding_hands","two_women_holding_hands","dancer","dancers","ok_woman","no_good","information_desk_person","raising_hand","bride_with_veil","person_with_pouting_face","person_frowning","bow","couplekiss","couple_with_heart","massage","haircut","nail_care","boy","girl","woman","man","baby","older_woman","older_man","person_with_blond_hair","man_with_gua_pi_mao","man_with_turban","construction_worker","cop","angel","princess","smiley_cat","smile_cat","heart_eyes_cat","kissing_cat","smirk_cat","scream_cat","crying_cat_face","joy_cat","pouting_cat","japanese_ogre","japanese_goblin","see_no_evil","hear_no_evil","speak_no_evil","guardsman","skull","feet","lips","kiss","droplet","ear","eyes","nose","tongue","love_letter","bust_in_silhouette","busts_in_silhouette","speech_balloon","thought_balloon","feelsgood","finnadie","goberserk","godmode","hurtrealbad","rage1","rage2","rage3","rage4","suspect","trollface","sunny","umbrella","cloud","snowflake","snowman","zap","cyclone","foggy","ocean","cat","dog","mouse","hamster","rabbit","wolf","frog","tiger","koala","bear","pig","pig_nose","cow","boar","monkey_face","monkey","horse","racehorse","camel","sheep","elephant","panda_face","snake","bird","baby_chick","hatched_chick","hatching_chick","chicken","penguin","turtle","bug","honeybee","ant","beetle","snail","octopus","tropical_fish","fish","whale","whale2","dolphin","cow2","ram","rat","water_buffalo","tiger2","rabbit2","dragon","goat","rooster","dog2","pig2","mouse2","ox","dragon_face","blowfish","crocodile","dromedary_camel","leopard","cat2","poodle","paw_prints","bouquet","cherry_blossom","tulip","four_leaf_clover","rose","sunflower","hibiscus","maple_leaf","leaves","fallen_leaf","herb","mushroom","cactus","palm_tree","evergreen_tree","deciduous_tree","chestnut","seedling","blossom","ear_of_rice","shell","globe_with_meridians","sun_with_face","full_moon_with_face","new_moon_with_face","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","last_quarter_moon_with_face","first_quarter_moon_with_face","moon","earth_africa","earth_americas","earth_asia","volcano","milky_way","partly_sunny","octocat","squirrel","bamboo","gift_heart","dolls","school_satchel","mortar_board","flags","fireworks","sparkler","wind_chime","rice_scene","jack_o_lantern","ghost","santa","christmas_tree","gift","bell","no_bell","tanabata_tree","tada","confetti_ball","balloon","crystal_ball","cd","dvd","floppy_disk","camera","video_camera","movie_camera","computer","tv","iphone","phone","telephone","telephone_receiver","pager","fax","minidisc","vhs","sound","speaker","mute","loudspeaker","mega","hourglass","hourglass_flowing_sand","alarm_clock","watch","radio","satellite","loop","mag","mag_right","unlock","lock","lock_with_ink_pen","closed_lock_with_key","key","bulb","flashlight","high_brightness","low_brightness","electric_plug","battery","calling","email","mailbox","postbox","bath","bathtub","shower","toilet","wrench","nut_and_bolt","hammer","seat","moneybag","yen","dollar","pound","euro","credit_card","money_with_wings","e-mail","inbox_tray","outbox_tray","envelope","incoming_envelope","postal_horn","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","door","smoking","bomb","gun","hocho","pill","syringe","page_facing_up","page_with_curl","bookmark_tabs","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","scroll","clipboard","calendar","date","card_index","file_folder","open_file_folder","scissors","pushpin","paperclip","black_nib","pencil2","straight_ruler","triangular_ruler","closed_book","green_book","blue_book","orange_book","notebook","notebook_with_decorative_cover","ledger","books","bookmark","name_badge","microscope","telescope","newspaper","football","basketball","soccer","baseball","tennis","8ball","rugby_football","bowling","golf","mountain_bicyclist","bicyclist","horse_racing","snowboarder","swimmer","surfer","ski","spades","hearts","clubs","diamonds","gem","ring","trophy","musical_score","musical_keyboard","violin","space_invader","video_game","black_joker","flower_playing_cards","game_die","dart","mahjong","clapper","memo","pencil","book","art","microphone","headphones","trumpet","saxophone","guitar","shoe","sandal","high_heel","lipstick","boot","shirt","tshirt","necktie","womans_clothes","dress","running_shirt_with_sash","jeans","kimono","bikini","ribbon","tophat","crown","womans_hat","mans_shoe","closed_umbrella","briefcase","handbag","pouch","purse","eyeglasses","fishing_pole_and_fish","coffee","tea","sake","baby_bottle","beer","beers","cocktail","tropical_drink","wine_glass","fork_and_knife","pizza","hamburger","fries","poultry_leg","meat_on_bone","spaghetti","curry","fried_shrimp","bento","sushi","fish_cake","rice_ball","rice_cracker","rice","ramen","stew","oden","dango","egg","bread","doughnut","custard","icecream","ice_cream","shaved_ice","birthday","cake","cookie","chocolate_bar","candy","lollipop","honey_pot","apple","green_apple","tangerine","lemon","cherries","grapes","watermelon","strawberry","peach","melon","banana","pear","pineapple","sweet_potato","eggplant","tomato","corn","house","house_with_garden","school","office","post_office","hospital","bank","convenience_store","love_hotel","hotel","wedding","church","department_store","european_post_office","city_sunrise","city_sunset","japanese_castle","european_castle","tent","factory","tokyo_tower","japan","mount_fuji","sunrise_over_mountains","sunrise","stars","themoreyouknow","tmyk","statue_of_liberty","bridge_at_night","carousel_horse","rainbow","ferris_wheel","fountain","roller_coaster","ship","speedboat","boat","sailboat","rowboat","anchor","rocket","airplane","helicopter","steam_locomotive","tram","mountain_railway","bike","aerial_tramway","suspension_railway","mountain_cableway","tractor","blue_car","oncoming_automobile","car","red_car","taxi","oncoming_taxi","articulated_lorry","bus","oncoming_bus","rotating_light","police_car","oncoming_police_car","fire_engine","ambulance","minibus","truck","train","station","train2","bullettrain_front","bullettrain_side","light_rail","monorail","railway_car","trolleybus","ticket","fuelpump","vertical_traffic_light","traffic_light","warning","construction","beginner","atm","slot_machine","busstop","barber","hotsprings","checkered_flag","crossed_flags","izakaya_lantern","moyai","circus_tent","performing_arts","round_pushpin","triangular_flag_on_post","jp","kr","cn","us","fr","es","it","ru","gb","uk","de","one","two","three","four","five","six","seven","eight","nine","keycap_ten","1234","zero","hash","symbols","arrow_backward","arrow_down","arrow_forward","arrow_left","capital_abcd","abcd","abc","arrow_lower_left","arrow_lower_right","arrow_right","arrow_up","arrow_upper_left","arrow_upper_right","arrow_double_down","arrow_double_up","arrow_down_small","arrow_heading_down","arrow_heading_up","leftwards_arrow_with_hook","arrow_right_hook","left_right_arrow","arrow_up_down","arrow_up_small","arrows_clockwise","arrows_counterclockwise","rewind","fast_forward","information_source","ok","twisted_rightwards_arrows","repeat","repeat_one","new","top","up","cool","free","ng","cinema","koko","signal_strength","u5272","u5408","u55b6","u6307","u6708","u6709","u6e80","u7121","u7533","u7a7a","u7981","sa","restroom","mens","womens","baby_symbol","no_smoking","parking","wheelchair","metro","baggage_claim","accept","wc","potable_water","put_litter_in_its_place","secret","congratulations","m","passport_control","left_luggage","customs","ideograph_advantage","cl","sos","id","no_entry_sign","underage","no_mobile_phones","do_not_litter","non-potable_water","no_bicycles","no_pedestrians","children_crossing","no_entry","eight_spoked_asterisk","eight_pointed_black_star","heart_decoration","vs","vibration_mode","mobile_phone_off","chart","currency_exchange","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","six_pointed_star","negative_squared_cross_mark","a","b","ab","o2","diamond_shape_with_a_dot_inside","recycle","end","on","soon","clock1","clock130","clock10","clock1030","clock11","clock1130","clock12","clock1230","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","heavy_dollar_sign","copyright","registered","tm","x","heavy_exclamation_mark","bangbang","interrobang","o","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","white_flower","100","heavy_check_mark","ballot_box_with_check","radio_button","link","curly_loop","wavy_dash","part_alternation_mark","trident","black_square","white_square","white_check_mark","black_square_button","white_square_button","black_circle","white_circle","red_circle","large_blue_circle","large_blue_diamond","large_orange_diamond","small_blue_diamond","small_orange_diamond","small_red_triangle","small_red_triangle_down","shipit"];return function(e,t){var n={fontSmiley:!0,emoji:!0,link:!0,linkTarget:"_self"};if(function n(r){return angular.forEach(arguments,function(e){e!==r&&angular.forEach(e,function(e,t){r[t]&&r[t].constructor&&r[t].constructor===Object?n(r[t],e):r[t]=e})}),r}(n,t),null!=e){if("object"==typeof e)return e;var r,i,a,o,s={"&":"&",">":">","<":"<"};return angular.isNumber(e)||(e=e.toString()),e=e.replace(/[&<>]/g,function(e){return s[e]}),n.fontSmiley&&(r=e.split(" "),angular.forEach(l,function(e){for(var t=0;t<r.length;t++)r[t]===e.text&&(r[t]='<i class="ne-emoticon" title="'+e.text+'">&#x'+e.code+"</i>")}),e=r.join(" ")),n.emoji&&(i=e,a=new RegExp(":("+u.join("|")+"):","g"),e=i.replace(a,function(e,t){return"<i class='emoticon emoticon-"+t+"' title=':"+t+":'></i>"})),n.link&&(o=/^[a-z]+\:\/\//i,e=e.replace(/\b(?:(https?|ftp|file):\/\/|www\.)[-A-Z0-9+()&@$#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|]/gi,function(e){var t=e;return o.test(e)||(t="http://"+e),"cordova"==n.linkTarget?'<a href="#" onclick="window.open(\''+t+"', '_system', 'location=yes')\" >"+e+"</a>":'<a href="'+t+'" target="'+n.linkTarget+'">'+e+"</a>"})),c.trustAsHtml(e)}}}]).directive("ngEmbed",["$filter","$sce","$http","$timeout","$templateCache",function(w,C,A,S,e){return e.put("",'<div ng-bind-html="neText"></div> <div class="ne-video" ng-if="video.host" class="fade"> <div class="ne-video-preview" ng-hide="nePlayVideo || !options.video.details"> <div class="ne-video-thumb" ng-click="nePlayVideo=!nePlayVideo"> <img ng-src="{{video.thumbnail}}" alt=""/> <i class="fa fa-play-circle-o"></i> </div> <div class="ne-video-detail"> <div class="ne-video-title"> <a ng-href="{{video.url}}">{{video.title}}</a> </div> <div class="ne-video-desc"> {{video.description}} </div> <div class="ne-video-stats"> <span><i class="fa fa-eye"></i> {{video.views}}</span> <span><i class="fa fa-heart"></i> {{video.likes}}</span> </div> </div> </div> <div class="ne-video-player" ng-if="nePlayVideo || !(options.video.details)"> <iframe ng-src="{{video.embedSrc}}" frameBorder="0" width="{{video.width}}" height="{{video.height}}" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> </div> </div> <div class="ne-video" ng-if="video.basic"> <div class="ne-video-player"> <div class="player"> <video ng-src="{{video.basic}}" controls></video> </div> </div> </div> <div ng-init="neImageLong=false" ng-class="{false:\'ne-image\', true:\'ne-image ne-image-long\'}[neImageLong]" ng-if="image.url"> <div class="ne-image-wrapper"> <img ng-src="{{image.url}}" ng-click="neImageLong=!neImageLong" alt=""/> </div> </div> <div class="ne-pdf" ng-if="pdf.url"> <div class="ne-pdf-preview" ng-hide="neShowPdf"> <div class="ne-pdf-icon"> <i class="fa fa-file-pdf-o"></i> </div> <div class="ne-pdf-detail" > <div class="ne-pdf-title"> <a href="">{{pdf.url}}</a> </div> <div class="ne-pdf-view"> <button><i class="fa fa-download"></i> <a ng-href="{{pdf.url}}" target="_blank">Download</a></button> <button ng-click="neShowPdf=!neShowPdf"><i class="fa fa-eye"></i> View PDF</button> </div> </div> </div> <div class="ne-pdf-viewer" ng-if="neShowPdf" ng-show="neShowPdf"> <iframe ng-src="{{pdf.url}}" frameBorder="0"></iframe> </div> </div> <div class="ne-audio" ng-if="audio.url"> <audio ng-src="{{audio.url}}" controls></audio> </div> <div ng-if="tweets" ng-repeat="tweet in tweets"> <div ng-bind-html="tweet"></div> </div> <div ng-if="videoServices" class="ne-video" ng-repeat="v in videoServices"> <div class="ne-video-player"> <div class="player"> <div ng-bind-html="v"></div> </div> </div> </div> <div ng-if="audioServices" class="ne-audio" ng-repeat="a in audioServices"> <div ng-bind-html="a"></div> </div> <div ng-if="codeServices" class="ne-embed" ng-repeat="c in codeServices"> <div ng-bind-html="c"></div> </div> <div ng-if="gist" class="ne-gist" ng-repeat="g in gist"> <ne-gist id="{{g}}"></ne-gist> </div>'),{restrict:"AE",scope:!0,templateUrl:function(e,t){return t.embedTemplateUrl||""},link:function(s,e,t){var n=s.$eval(t.embedData),r=s.$eval(t.embedOptions);s.video={},s.image={},s.pdf={},s.audio={},s.videoServices=[],s.audioServices=[],s.codeServices=[];var i={fontSmiley:!0,emoji:!0,link:!0,linkTarget:"_self",pdf:{embed:!0},image:{embed:!(s.gist=[])},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!1,gdevAuth:null,video:{embed:!1,width:null,height:null,ytTheme:"dark",details:!1,thumbnailQuality:"medium"},tweetEmbed:!0,tweetOptions:{maxWidth:550,hideMedia:!1,hideThread:!1,align:"none",lang:"en"},twitchtvEmbed:!0,dailymotionEmbed:!0,tedEmbed:!0,dotsubEmbed:!0,liveleakEmbed:!0,soundCloudEmbed:!0,soundCloudOptions:{height:160,themeColor:"f50000",autoPlay:!1,hideRelated:!1,showComments:!0,showUser:!0,showReposts:!1,visual:!1,download:!1},spotifyEmbed:!0,codepenEmbed:!0,codepenHeight:300,jsfiddleEmbed:!0,jsfiddleHeight:300,jsbinEmbed:!0,jsbinHeight:300,plunkerEmbed:!0,githubgistEmbed:!0,ideoneEmbed:!0,ideoneHeight:300};!function n(r){return angular.forEach(arguments,function(e){e!==r&&angular.forEach(e,function(e,t){r[t]&&r[t].constructor&&r[t].constructor===Object?n(r[t],e):r[t]=e})}),r}(i,r),String.prototype.trunc=function(e,t){var n=this.length>e,r=n?this.substr(0,e-1):this;return r=t&&n?r.substr(0,r.lastIndexOf(" ")):r,n?r+"...":r},Array.prototype.getUnique=function(){for(var e={},t=[],n=0,r=this.length;n<r;++n)e.hasOwnProperty(this[n])||(t.push(this[n]),e[this[n]]=1);return t};var c={calcDimensions:function(e){var t={width:null,height:null};return t.width=e.video.width,t.height=e.video.height,e.video.height&&e.video.width||(e.video.height?t.width=e.video.height/390*640:e.video.width?t.height=t.width/640*390:(t.width=640,t.height=390)),t},embed:function(e,r){if(e.match(/https?:\/\/(?:[0-9A-Z-]+\.)?(?:youtu\.be\/|youtube\.com(?:\/embed\/|\/v\/|\/watch\?v=|\/ytscreeningroom\?v=|\/feeds\/api\/videos\/|\/user\S*[^\w\-\s]|\S*[^\w\-\s]))([\w\-]{11})[?=&+%\w-]*/gi)){var i=this.calcDimensions(r);return s.video.id=RegExp.$1,r.video.details?A.get("https://www.googleapis.com/youtube/v3/videos?id="+RegExp.$1+"&key="+r.gdevAuth+"&part=snippet,statistics").success(function(e){var t=void 0===r.video.autoPlay||!0===r.video.autoPlay?"?autoplay=1":"?autoplay=0",n=e.items[0];s.video.host="youtube",s.video.title=n.snippet.title,s.video.thumbnail=n.snippet.thumbnails.medium.url,s.video.description=n.snippet.description.trunc(250,!0).replace(/\n/g," ").replace(/ /g," "),s.video.rawDescription=n.snippet.description,s.video.views=n.statistics.viewCount,s.video.likes=n.statistics.likeCount,s.video.uploader=n.snippet.channelTitle,s.video.uploaderPage="https://www.youtube.com/channel/"+n.snippet.channelId,s.video.uploadDate=n.snippet.publishedAt,s.video.url=C.trustAsResourceUrl("https://www.youtube.com/watch?v="+n.id),s.video.embedSrc=C.trustAsResourceUrl("https://www.youtube.com/embed/"+s.video.id+t),s.video.width=i.width,s.video.height=i.height}):(s.video.width=i.width,s.video.height=i.height,s.video.host="youtube",s.video.embedSrc=C.trustAsResourceUrl("https://www.youtube.com/embed/"+RegExp.$1+"?autoplay=0")),e}if(e.match(/https?:\/\/(?:www\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|)(\d+)(?:$|\/|\?)*/gi)){var n=this.calcDimensions(r);s.video.id=RegExp.$3,r.video.details?A.get("https://vimeo.com/api/v2/video/"+RegExp.$3+".json").success(function(e){var t=void 0===r.video.autoPlay||!0===r.video.autoPlay?"&autoplay=1":"&autoplay=0";s.video.host="vimeo",s.video.title=e[0].title,s.video.rawDescription=e[0].description.replace(/\n/g,"<br/>").replace(/ /g,"<br/>"),s.video.description=e[0].description.replace(/((<|<)br\s*\/*(>|>)\r\n)/g," ").trunc(250,!0),s.video.thumbnail=e[0].thumbnail_medium,s.video.views=e[0].stats_number_of_plays,s.video.likes=e[0].stats_number_of_likes,s.video.uploader=e[0].user_name,s.video.uploaderPage=e[0].user_url,s.video.uploadDate=e[0].uploadDate,s.video.url=e[0].url,s.video.embedSrc=C.trustAsResourceUrl("//player.vimeo.com/video/"+e[0].id+"?title=0&byline=0&portrait=0"+t),s.video.width=n.width,s.video.height=n.height}):(s.video.width=n.width,s.video.height=n.height,s.video.host="vimeo",s.video.embedSrc=C.trustAsResourceUrl("//player.vimeo.com/video/"+RegExp.$3+"?title=0&byline=0&portrait=0&autoplay=0"))}return e},embedBasic:function(e){return e.match(/((?:https?):\/\/\S*\.(?:ogv|webm|mp4))/gi)&&(s.video.basic=C.trustAsResourceUrl(RegExp.$1)),e},twitchtvEmbed:function(e,t){var n=/www.twitch.tv\/[a-zA_Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<object bgcolor="#000000" data="//www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" height="'+i.height+'" id="clip_embed_player_flash" type="application/x-shockwave-flash" width="'+i.width+'"><param name="movie" value="http://www-cdn.jtvnw.net/swflibs/TwitchPlayer.swf" /><param name="allowScriptAccess" value="always" /><param name="allowNetworking" value="all" /><param name="allowFullScreen" value="true" /><param name="flashvars" value="channel='+r[a].split("/")[1]+'&auto_play=false" /></object>');s.videoServices.push(o),a++}return e},dailymotionEmbed:function(e,t){var n=/dailymotion.com\/video\/[a-zA-Z0-9-_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="http://www.dailymotion.com/embed/video/'+r[a].split("/")[2]+'" height="'+i.height+'" width="'+i.width+'"></iframe>');s.videoServices.push(o),a++}return e},tedEmbed:function(e,t){var n=/ted.com\/talks\/[a-zA-Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="https://embed.ted.com/talks/'+r[a].split("/")[2]+'.html" height="'+i.height+'" width="'+i.width+'"></iframe>');s.videoServices.push(o),a++}return e},dotsubEmbed:function(e,t){var n=/dotsub.com\/view\/[a-zA-Z0-9-]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="https://dotsub.com/media/'+r[a].split("/")[2]+'/embed/" width="'+i.width+'" height="'+i.height+'"></iframe>');s.videoServices.push(o),a++}return e},liveleakEmbed:function(e,t){var n=/liveleak.com\/view\?i=[a-zA-Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null,i=c.calcDimensions(t);if(r)for(var a=0;a<r.length;){var o=C.trustAsHtml('<iframe src="http://www.liveleak.com/e/'+r[a].split("=")[1]+'" height="'+i.height+'" width="'+i.width+'"></iframe></div>');s.videoServices.push(o),a++}return e}},a=function(e){return e.match(/((?:https?):\/\/\S*\.(?:wav|mp3|ogg))/gi)&&(s.audio.url=C.trustAsResourceUrl(RegExp.$1)),e},o=function(e,t){var n=/soundcloud.com\/[a-zA-Z0-9-_]+\/[a-zA-Z0-9-_]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe height="160" scrolling="no" src="https://w.soundcloud.com/player/?url=https://'+r[i]+"&auto_play="+t.soundCloudOptions.autoPlay+"&hide_related="+t.soundCloudOptions.hideRelated+"&show_comments="+t.soundCloudOptions.showComments+"&show_user="+t.soundCloudOptions.showUser+"&show_reposts="+t.soundCloudOptions.showReposts+"&visual="+t.soundCloudOptions.visual+"&download="+t.soundCloudOptions.download+"&color="+t.soundCloudOptions.themeColor+"&theme_color="+t.soundCloudOptions.themeColor+'"></iframe>');s.videoServices.push(a),i++}return e},l=function(e){var t=/spotify.com\/track\/[a-zA-Z0-9_]+/gi,n=e.match(t)?e.match(t).getUnique():null;if(n)for(var r=0;r<n.length;){var i=C.trustAsHtml('<iframe src="https://embed.spotify.com/?uri=spotify:track:'+n[r].split("/")[2]+'" height="80"></iframe>');s.audioServices.push(i),r++}return e},u=function(e){return e.match(/((?:https?):\/\/\S*\.(?:gif|jpg|jpeg|tiff|png|svg|webp))/gi)&&(s.image.url=RegExp.$1),e},f=function(e){return e=e.replace(/(`+)(\s|[a-z]+)\s*([\s\S]*?[^`])\s*\1(?!`)/gm,function(e,t,n,r){var i=r;i=(i=(i=i.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,"")).replace(/:\/\//g,"~P");var a=[];return n&&a.push(n),'<pre><code class="ne-code hljs '+n+'">'+hljs.highlightAuto(i,a).value+"</code></pre>"})},d=function(e){return e.match(/((?:https?):\/\/\S*\.(?:pdf|PDF))/gi)&&(s.pdf.url=C.trustAsResourceUrl(RegExp.$1)),e},h=function(e,t){if(!window.twttr)throw new ReferenceError("twttr is not defined. Load http://platform.twitter.com/widgets.js");var n=/https:\/\/twitter\.com\/\w+\/\w+\/\d+/gi,r=e.match(n)?e.match(n).getUnique():null;if(s.tweets=[],r)for(var i=0;i<r.length;){var a="https://api.twitter.com/1/statuses/oembed.json?omit_script=true&callback=JSON_CALLBACK&url="+r[i]+"&maxwidth="+t.tweetOptions.maxWidth+"&hide_media="+t.tweetOptions.hideMedia+"&hide_thread="+t.tweetOptions.hideThread+"&align="+t.tweetOptions.align+"&lang="+t.tweetOptions.lang;A.jsonp(a).success(function(e){s.tweets.push(e.html),s.tweets.length==r.length&&S(function(){twttr.widgets.load()},10)}),i++}return e},p=function(e,t){var n=/http:\/\/codepen.io\/([A-Za-z0-9_]+)\/pen\/([A-Za-z0-9_]+)/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe scrolling="no" height="'+t.codepenHeight+'" src="'+r[i].replace(/\/pen\//,"/embed/")+"/?height="+t.codepenHeight+'" frameborder="no" allowtransparency="true" allowfullscreen="true"></iframe>');s.codeServices.push(a),i++}return e},m=function(e,t){var n=/jsfiddle.net\/[a-zA-Z0-9_]+\/[a-zA-Z0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe height="'+t.jsfiddleHeight+'" src="http://'+r[i]+'/embedded"></iframe>');s.codeServices.push(a),i++}return e},g=function(e,t){var n=/jsbin.com\/[a-zA-Z0-9_]+\/[0-9_]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe height="'+t.jsbinHeight+'" class="jsbin-embed foo" src="http://'+r[i]+'/embed?html,js,output">Simple Animation Tests</iframe>');s.codeServices.push(a),i++}return e},_=function(e,t){var n=/plnkr.co\/edit\/[a-zA-Z0-9\?=]+/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=-1===r[i].indexOf("?")?r[i].split("/")[2]:r[i].split("/")[2].split("?")[0],o=C.trustAsHtml('<iframe class="ne-plunker" src="http://embed.plnkr.co/'+a+'" height="'+t.jsbinHeight+'"></iframe>');s.codeServices.push(o),i++}return e},b=function(e){var t=/gist.github.com\/[a-zA-Z0-9_-]+\/([a-zA-Z0-9]+)/g,n=e.match(t)?e.match(t).getUnique():null;if(n)for(var r=0;r<n.length;)s.gist.push(n[r].split("/")[2]),r++;return e},v=function(e,t){var n=/ideone.com\/[a-zA-Z0-9]{6}/gi,r=e.match(n)?e.match(n).getUnique():null;if(r)for(var i=0;i<r.length;){var a=C.trustAsHtml('<iframe src="http://ideone.com/embed/'+r[i].split("/")[1]+'" height="'+t.ideoneHeight+'"></iframe>');s.codeServices.push(a),i++}return e};if(i.code.highlight){if(!window.hljs)throw new ReferenceError("hlsj (Highlight JS is not defined.");n=f(n),S(function(){i.code.lineNumbers&&angular.element(".ne-code").each(function(){var e=1,t=$(this).text().split("\n").length,n=$("<ul/>").addClass("pre-numbering");for(angular.element(this).addClass("has-numbering").parent().append(n);e<=t;e++)n.append(angular.element("<li/>").text(e))})},0)}var y=w("embed")(n,i).$$unwrapTrustedValue();if(i.video.embed){if(!i.gdevAuth)throw"Youtube authentication key is required to get data from youtube.";y=c.embed(y,i)}y=i.basicVideo?c.embedBasic(y):y,y=i.audio.embed?a(y):y,y=i.image.embed?u(y):y,y=i.pdf.embed?d(y):y,y=i.tweetEmbed?h(y,i):y,y=i.twitchtvEmbed?c.twitchtvEmbed(y,i):y,y=i.dailymotionEmbed?c.dailymotionEmbed(y,i):y,y=i.tedEmbed?c.tedEmbed(y,i):y,y=i.dotsubEmbed?c.dotsubEmbed(y,i):y,y=i.liveleakEmbed?c.liveleakEmbed(y,i):y,y=i.soundCloudEmbed?o(y,i):y,y=i.spotifyEmbed?l(y):y,y=i.codepenEmbed?p(y,i):y,y=i.jsfiddleEmbed?m(y,i):y,y=i.jsbinEmbed?g(y,i):y,y=i.plunkerEmbed?_(y,i):y,y=i.githubgistEmbed?b(y,i):y,y=i.ideoneEmbed?v(y,i):y,s.neText=C.trustAsHtml(y)}}}]).directive("neGist",function(){return{restrict:"EA",replace:!0,template:"<div></div>",link:function(e,t,n){var r=n.id,i=document.createElement("iframe");i.setAttribute("width","100%"),i.setAttribute("frameborder","0"),i.id="gist-"+r,t[0].appendChild(i);var a='<html><head><base target="_parent"><style>table{font-size:12px;}</style></head><body onload="parent.document.getElementById(\''+i.id+'\').style.height=document.body.scrollHeight + \'px\'" style="margin:10px 0;"><script type="text/javascript">!function(){"use strict";window.retargetLinks=function(){ var gists=document.getElementsByClassName("gist");for(var i=0,links;i<gists.length;i++){links=gists[i].getElementsByTagName("a");for(var j=0;j<links.length;j++){ links[j].setAttribute("target","_blank");}}}}();<\/script><script type="text/javascript" src="https://gist.github.com/'+r+'.js" onload="retargetLinks()"><\/script></body></html>',o=i.document;i.contentDocument?o=i.contentDocument:i.contentWindow&&(o=i.contentWindow.document),o.open(),o.writeln(a),o.close()}}})}(),function(){"use strict";angular.module("material.components.expansionPanels",["material.core"])}(),function(){"use strict";angular.module("material.components.expansionPanels").run(["$templateCache",function(e){e.put("icons/ic_keyboard_arrow_right_black_24px.svg",'<svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">\n <path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/>\n <path d="M0-.25h24v24H0z" fill="none"/>\n</svg>')}])}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanel",function(){return{restrict:"E",require:["mdExpansionPanel","?^^mdExpansionPanelGroup"],scope:!0,compile:function(e,t){var n="Invalid HTML for md-expansion-panel: ";if(e.attr("tabindex",t.tabindex||"0"),null===e[0].querySelector("md-expansion-panel-collapsed"))throw Error(n+"Expected a child element of `md-epxansion-panel-collapsed`");if(null!==e[0].querySelector("md-expansion-panel-expanded"))return function(e,t,n,r){var i=r[0],a=r[1];i.epxansionPanelGroupCtrl=a||void 0,i.init()};throw Error(n+"Expected a child element of `md-epxansion-panel-expanded`")},controller:["$scope","$element","$attrs","$window","$$rAF","$mdConstant","$mdUtil","$mdComponentRegistry","$timeout","$q","$animate","$parse",function(n,r,e,i,t,a,o,s,c,l,u,f){var d,h,p,m,g,_,b,v,y,w,C,A=this,S=!1,T=!1,x=!1,k=!1,E=t.throttle(function(e){var t,n,r;r=!0===h.setHeight?h.$element[0].getBoundingClientRect():_.getBoundingClientRect();var i=w?w.getBoundingClientRect().top:0;t=Math.max(r.top,0),n=t+r.height,m&&!1===m.noSticky&&m.onScroll(t,n,i);p&&!1===p.noSticky&&p.onScroll(t,n,i)}),D=t.throttle(function(){var e=r[0].offsetWidth;m&&!1===m.noSticky&&m.onResize(e);p&&!1===p.noSticky&&p.onResize(e)});A.registerCollapsed=function(e){d=e},A.registerExpanded=function(e){h=e},A.registerHeader=function(e){p=e},A.registerFooter=function(e){m=e},void 0===e.mdComponentId?(e.$set("mdComponentId","_expansion_panel_id_"+o.nextUid()),P()):e.$observe("mdComponentId",function(){P()});A.$element=r,A.expand=$,A.collapse=O,A.remove=R,A.destroy=F,A.onRemove=N,A.init=function(){(S=!0)===T&&P()},void 0!==e.ngDisabled?n.$watch(e.ngDisabled,function(e){k=e,r.attr("tabindex",k?-1:0)}):void 0!==e.disabled&&(k=void 0!==e.disabled&&"false"!==e.disabled&&!1!==e.disabled,r.attr("tabindex",k?-1:0));function I(e){var t=a.KEY_CODE;switch(e.keyCode){case t.ENTER:$();break;case t.ESCAPE:O()}}function P(){!1!==S?("function"==typeof g&&(g(),g=void 0),A.componentId&&A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.removePanel(A.componentId),void 0===e.mdComponentId&&e.$set("mdComponentId","_expansion_panel_id_"+o.nextUid()),A.componentId=e.mdComponentId,g=s.register({expand:$,collapse:O,remove:R,onRemove:N,isOpen:M,addClickCatcher:B,removeClickCatcher:U,componentId:e.mdComponentId},e.mdComponentId),A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.addPanel(A.componentId,{expand:$,collapse:O,remove:R,onRemove:N,destroy:F,isOpen:M})):T=!0}function M(){return x}function $(e){if(!0!==x&&!0!==k){x=!0,e=e||{};var t=l.defer();return A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.expandPanel(A.componentId),r.removeClass("md-close"),r.addClass("md-open"),!1===e.animation?r.addClass("md-no-animation"):r.removeClass("md-no-animation"),function(){if(!(m&&!0!==m.noSticky||p&&!0!==p.noSticky))return;b=n.$watch(function(){return r[0].offsetTop},E,!0),v=n.$watch(function(){return r[0].offsetWidth},D,!0),"MD-CONTENT"===(_=o.getNearestContentElement(r)).nodeName?(w=function(e){var t=e.parentNode;for(;t&&t!==document;){if(j(t,"transform"))return t;t=t.parentNode}return}(_),angular.element(_).on("scroll",E)):w=void 0;!0===h.setHeight&&h.$element.on("scroll",E);angular.element(i).on("scroll",E).on("resize",E).on("resize",D)}(),d.hide(e),h.show(e),p&&p.show(e),m&&m.show(e),c(function(){t.resolve()},!1===e.animation?0:H),t.promise}}function O(e){if(!1!==x){x=!1,e=e||{};var t=l.defer();return r.addClass("md-close"),r.removeClass("md-open"),!1===e.animation?r.addClass("md-no-animation"):r.removeClass("md-no-animation"),G(),d.show(e),h.hide(e),p&&p.hide(e),m&&m.hide(e),c(function(){t.resolve()},!1===e.animation?0:H),t.promise}}function R(e){e=e||{};var t=l.defer();return A.epxansionPanelGroupCtrl&&A.epxansionPanelGroupCtrl.removePanel(A.componentId),"function"==typeof g&&(g(),g=void 0),!1===e.animation||!1===x?(n.$destroy(),r.remove(),t.resolve(),L()):(O(),c(function(){n.$destroy(),r.remove(),t.resolve(),L()},H)),t.promise}function N(e){y=e}function L(){"function"==typeof y&&(y(),y=void 0)}function F(){n.$destroy()}function G(){"function"==typeof b&&(b(),b=void 0),"function"==typeof v&&(v(),v=void 0),_&&"MD-CONTENT"===_.nodeName&&angular.element(_).off("scroll",E),!0===h.setHeight&&h.$element.off("scroll",E),angular.element(i).off("scroll",E).off("resize",E).off("resize",D)}function j(e,t){var n=!1;if(e){var r=i.getComputedStyle(e);n=void 0!==r[t]&&"none"!==r[t]}return n}function B(e){(C=o.createBackdrop(n))[0].tabIndex=-1,"function"==typeof e&&C.on("click",e),u.enter(C,r.parent(),null,{duration:0}),r.css("z-index",60)}function U(){C&&(C.remove(),C.off("click"),C=void 0,r.css("z-index",""))}r.on("focus",function(e){r.on("keydown",I)}).on("blur",function(e){r.off("keydown",I)}),n.$panel={collapse:O,expand:$,remove:R,isOpen:M},n.$on("$destroy",function(){U(),"function"==typeof g&&(g(),g=void 0),G()})}]}});var H=180}(),function(){"use strict";function e(n,r,i){var t={find:a,waitFor:function(e){return n.when(e).catch(i.error)}};return function(e){return void 0===e?t:a(e)};function a(e){var t=n.get(e);if(t)return t;i.error(r.supplant("ExpansionPanel '{0}' is not available! Did you use md-component-id='{0}'?",[e||""]))}}angular.module("material.components.expansionPanels").factory("$mdExpansionPanel",e),e.$inject=["$mdComponentRegistry","$mdUtil","$log"]}(),function(){"use strict";function e(i,a){return{restrict:"E",require:"^^mdExpansionPanel",link:function(e,n,t,r){r.registerCollapsed({show:function(e){n.css("display",""),n.css("width",n[0].parentNode.offsetWidth+"px");var t={addClass:"md-show",from:{opacity:0},to:{opacity:1}};!1===e.animation&&(t.duration=0);i(n,t).start().then(function(){r.$element.css("transition","none"),n.removeClass("md-absolute md-show"),n.css("width",""),r.$element.css("min-height",""),a(function(){r.$element.css("transition","")},0)})},hide:function(e){n.css("width",n[0].offsetWidth+"px"),r.$element.css("min-height",n[0].offsetHeight+"px");var t={addClass:"md-absolute md-hide",from:{opacity:1},to:{opacity:0}};!1===e.animation&&(t.duration=0);i(n,t).start().then(function(){n.removeClass("md-hide"),n.css("display","none")})}}),n.on("click",function(){r.expand()})}}}angular.module("material.components.expansionPanels").directive("mdExpansionPanelCollapsed",e),e.$inject=["$animateCss","$timeout"]}(),function(){"use strict";function e(a,o){return{restrict:"E",require:"^^mdExpansionPanel",link:function(e,r,t,n){var i=t.height||void 0;void 0!==i&&(i=i.replace("px","")+"px");n.registerExpanded({show:function(e){r.css("display",""),r.addClass("md-show md-overflow");var t={from:{"max-height":"48px",opacity:0},to:{"max-height":i||r[0].scrollHeight+"px",opacity:1}};!1===e.animation&&(t.duration=0);a(r,t).start().then(function(){void 0!==i?r.addClass("md-scroll-y"):(r.css("transition","none"),r.css("max-height","none"),o(function(){r.css("transition","")},0)),r.removeClass("md-overflow")})},hide:function(e){var t=i||r[0].scrollHeight+"px";r.addClass("md-hide md-overflow"),r.removeClass("md-show md-scroll-y");var n={from:{"max-height":t,opacity:1},to:{"max-height":"48px",opacity:0}};!1===e.animation&&(n.duration=0);a(r,n).start().then(function(){r.css("display","none"),r.removeClass("md-hide")})},setHeight:void 0!==i,$element:r})}}}angular.module("material.components.expansionPanels").directive("mdExpansionPanelExpanded",e),e.$inject=["$animateCss","$timeout"]}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanelFooter",function(){return{restrict:"E",transclude:!0,template:'<div class="md-expansion-panel-footer-container" ng-transclude></div>',require:"^^mdExpansionPanel",link:function(e,a,t,o){var s=!1,n=void 0!==t.mdNoSticky,c=angular.element(a[0].querySelector(".md-expansion-panel-footer-container"));function l(){s=!1,c.css("width",""),c.css("top",""),a.css("height",""),a.removeClass("md-stick")}o.registerFooter({show:function(){},hide:function(){l()},onScroll:function(e,t,n){var r,i;a[0].getBoundingClientRect().bottom>t?(r=c[0].offsetHeight,(i=t-r-n)<a[0].parentNode.getBoundingClientRect().top&&(i=a[0].parentNode.getBoundingClientRect().top),c.css("width",o.$element[0].offsetWidth+"px"),a.css("height",r+"px"),c.css("top",i+"px"),a.addClass("md-stick"),s=!0):!0===s&&l()},onResize:function(e){if(!1===s)return;c.css("width",e+"px")},noSticky:n})}}})}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanelGroup",function(){return{restrict:"E",controller:["$scope","$attrs","$element","$mdComponentRegistry",function(e,t,n,r){var i,a={},o={},s=[],c=void 0!==t.mdMultiple||void 0!==t.multiple,l=void 0!==t.mdAutoExpand||void 0!==t.autoExpand;function u(){var t=f();s.forEach(function(e){e(t)})}function f(){return Object.keys(o).length}function d(t){!1===c&&Object.keys(o).forEach(function(e){e!==t&&o[e].collapse()})}i=r.register({$element:n,register:function(e,t){if(void 0!==a[e])throw Error('$mdExpansionPanelGroup.register() The name "'+e+'" has already been registered');a[e]=t},getRegistered:function(e){if(void 0!==a[e])return a[e];throw Error('$mdExpansionPanelGroup.addPanel() Cannot find Panel with name of "'+e+'"')},getAll:function(){return Object.keys(o).map(function(e){return o[e]})},getOpen:function(){return Object.keys(o).map(function(e){return o[e]}).filter(function(e){return e.isOpen()})},remove:function(e,t){return o[e].remove(t)},removeAll:function(t){Object.keys(o).forEach(function(e){o[e].remove(t)})},collapseAll:function(e){var t=!0!==e;Object.keys(o).forEach(function(e){o[e].collapse({animation:t})})},onChange:function(e){return s.push(e),function(){s.splice(s.indexOf(e),1)}},count:f},t.mdComponentId),this.addPanel=function(e,t){o[e]=t,!0===l&&(t.expand(),d(e));u()},this.expandPanel=function(e){d(e)},this.removePanel=function(e){delete o[e],u()},e.$on("$destroy",function(){"function"==typeof i&&(i(),i=void 0),Object.keys(o).forEach(function(e){o[e].destroy()})})}]}})}(),function(){"use strict";function e(n,d,h,r,i,p,m,a,o){var t={find:s,waitFor:function(e){var t=a.defer();return n.when(e).then(function(e){t.resolve(c(e))}).catch(function(e){t.reject(),o.error(e)}),t.promise}};return function(e){return void 0===e?t:s(e)};function s(e){var t=n.get(e);if(t)return c(t);o.error(d.supplant("ExpansionPanelGroup '{0}' is not available! Did you use md-component-id='{0}'?",[e||""]))}function c(f){return{add:function e(s,c){c=c||{};if("string"==typeof s)return e(f.getRegistered(s),c);n(s);if(s.componentId&&f.isPanelActive(s.componentId))return a.reject('panel with componentId "'+s.componentId+'" is currently active');var l=a.defer();var u=i.$new();angular.extend(u,s.scope);t(s,function(e){var t=angular.element(e),n=s.componentId||t.attr("md-component-id")||"_panelComponentId_"+d.nextUid(),r=h().waitFor(n);t.attr("md-component-id",n);var i=p(t);if(s.controller){angular.extend(c,s.locals||{}),c.$scope=u,c.$panel=r;var a=m(s.controller,c,!0),o=a();t.data("$ngControllerController",o),t.children().data("$ngControllerController",o),s.controllerAs&&(u[s.controllerAs]=o)}f.$element.append(t),i(u),r.then(function(e){l.resolve(e)})});return l.promise},register:function(e,t){if("string"!=typeof e)throw Error("$mdExpansionPanelGroup.register() Expects name to be a string");n(t),f.register(e,t)},getAll:function(){return f.getAll()},getOpen:function(){return f.getOpen()},remove:function(e,t){return f.remove(e,t)},removeAll:function(e){f.removeAll(e)},collapseAll:function(e){f.collapseAll(e)},onChange:function(e){return f.onChange(e)},count:function(){return f.count()}};function n(e){if("object"!=typeof e||null===e)throw Error("$mdExapnsionPanelGroup.add()/.register() : Requires an options object to be passed in");if(!e.template&&!e.templateUrl)throw Error("$mdExapnsionPanelGroup.add()/.register() : Is missing required paramters to create. Required One of the following: template, templateUrl")}function t(e,t){void 0!==e.templateUrl?r(e.templateUrl).then(function(e){t(e)}):t(e.template)}}}angular.module("material.components.expansionPanels").factory("$mdExpansionPanelGroup",e),e.$inject=["$mdComponentRegistry","$mdUtil","$mdExpansionPanel","$templateRequest","$rootScope","$compile","$controller","$q","$log"]}(),function(){"use strict";function e(){return{restrict:"E",transclude:!0,template:'<div class="md-expansion-panel-header-container" ng-transclude></div>',require:"^^mdExpansionPanel",link:function(e,o,t,n){var s=!1,r=void 0!==t.mdNoSticky,c=angular.element(o[0].querySelector(".md-expansion-panel-header-container"));function l(){s=!1,c.css("width",""),o.css("height",""),o.css("top",""),o.removeClass("md-stick"),o.addClass("md-no-stick")}n.registerHeader({show:function(){},hide:function(){l()},noSticky:r,onScroll:function(e,t,n){var r,i,a=o[0].getBoundingClientRect();a.top<e?(r=e-n,(i=o[0].parentNode.getBoundingClientRect().bottom-e-a.height)<0&&(r+=i),c.css("width",o[0].offsetWidth+"px"),c.css("top",r+"px"),o.css("height",c[0].offsetHeight+"px"),o.removeClass("md-no-stick"),o.addClass("md-stick"),s=!0):!0===s&&l()},onResize:function(e){if(!1===s)return;c.css("width",e+"px")}})}}}angular.module("material.components.expansionPanels").directive("mdExpansionPanelHeader",e),e.$inject=[]}(),function(){"use strict";angular.module("material.components.expansionPanels").directive("mdExpansionPanelIcon",function(){return{restrict:"E",template:'<md-icon class="md-expansion-panel-icon" md-svg-icon="icons/ic_keyboard_arrow_right_black_24px.svg"></md-icon>',replace:!0}})}(),function(e,C){"use strict";var t=C.module("angular-sortable-view",[]);function _(e){if(!("clientX"in e||"clientY"in e)){var t=e.touches||e.originalEvent.touches;t&&t.length&&(e.clientX=t[0].clientX,e.clientY=t[0].clientY),e.preventDefault()}}t.directive("svRoot",[function(){function y(e){return r[e]}var w,r=Object.create(null);return{restrict:"A",controller:["$scope","$attrs","$interpolate","$parse",function(f,e,t,n){var d=t(e.svRoot)(f)||f.$id;r[d]||(r[d]=[]);var h,p,m,g,_,b=!1,c=n(e.svOnSort);e.svOnStart=e.$$element[0].attributes["sv-on-start"],e.svOnStart=e.svOnStart&&e.svOnStart.value,e.svOnStop=e.$$element[0].attributes["sv-on-stop"],e.svOnStop=e.svOnStop&&e.svOnStop.value;var v=n(e.svOnStart),l=n(e.svOnStop);if(this.sortingInProgress=function(){return w},e.svGrid){if(null===(b="true"===e.svGrid||"false"!==e.svGrid&&null))throw"Invalid value of sv-grid attribute"}else f.$watchCollection(function(){return y(d)},function(e){b=!1;var t=e.filter(function(e){return!e.container}).map(function(e){return{part:e.getPart().id,y:e.element[0].getBoundingClientRect().top}}),r=Object.create(null);t.forEach(function(e){r[e.part]?r[e.part].push(e.y):r[e.part]=[e.y]}),Object.keys(r).forEach(function(n){r[n].sort(),r[n].forEach(function(e,t){t<r[n].length-1&&0<e&&e===r[n][t+1]&&(b=!0)})})});this.$moveUpdate=function(s,c,e,t,n,r,i){var a=e[0].getBoundingClientRect();"element"===s.tolerance&&(c={x:~~(a.left+a.width/2),y:~~(a.top+a.height/2)}),w=!0,h=[],p||(n?(p=n.clone()).removeClass("ng-hide"):((p=t.clone()).addClass("sv-visibility-hidden"),p.addClass("sv-placeholder"),p.css({height:a.height+"px",width:a.width+"px"})),t.after(p),t.addClass("ng-hide"),g=t,s,v(f,{$helper:{element:m=e},$part:r.model(r.scope),$index:i,$item:r.model(r.scope)[i]}),f.$root&&f.$root.$$phase||f.$apply()),m[0].reposition({x:c.x+document.body.scrollLeft-c.offset.x*a.width,y:c.y+document.body.scrollTop-c.offset.y*a.height}),y(d).forEach(function(e,t){if(null==s.containment||A(e.element,s.containment)||A(e.element,s.containment+" *")){var n,r,i,a=e.element[0].getBoundingClientRect(),o={x:~~(a.left+a.width/2),y:~~(a.top+a.height/2)};e.container||!e.element[0].scrollHeight&&!e.element[0].scrollWidth||h.push({element:e.element,q:(o.x-c.x)*(o.x-c.x)+(o.y-c.y)*(o.y-c.y),view:e.getPart(),targetIndex:e.getIndex(),after:(n=o,r=c,i=b,i?n.x-r.x<0:n.y-r.y<0)}),e.container&&!e.element[0].querySelector("[sv-element]:not(.sv-placeholder):not(.sv-source)")&&h.push({element:e.element,q:(o.x-c.x)*(o.x-c.x)+(o.y-c.y)*(o.y-c.y),view:e.getPart(),targetIndex:0,container:!0})}});var o=p[0].getBoundingClientRect(),l=~~(o.left+o.width/2),u=~~(o.top+o.height/2);h.push({q:(l-c.x)*(l-c.x)+(u-c.y)*(u-c.y),element:p,placeholder:!0}),h.sort(function(e,t){return e.q-t.q}),h.forEach(function(e,t){var n,r,i;0!==t||e.placeholder||e.container?0===t&&e.container?(_=e).element.append(p):e.element.removeClass("sv-candidate"):((_=e).element.addClass("sv-candidate"),e.after?e.element.after(p):(n=e.element,r=p,0<(i=function(e){{if((e=e[0]).previousElementSibling)return C.element(e.previousElementSibling);for(var t=e.previousSibling;null!=t&&1!=t.nodeType;)t=t.previousSibling;return C.element(t)}}(n)).length?i.after(r):n.parent().prepend(r)))})},this.$drop=function(n,r,i){if(p)if(i.revert){var e=p[0].getBoundingClientRect(),t=m[0].getBoundingClientRect(),a=Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2)),o=+i.revert*a/200;o=Math.min(o,+i.revert),["-webkit-","-moz-","-ms-","-o-",""].forEach(function(e){void 0!==m[0].style[e+"transition"]&&(m[0].style[e+"transition"]="all "+o+"ms ease")}),setTimeout(s,o),m.css({top:e.top+document.body.scrollTop+"px",left:e.left+document.body.scrollLeft+"px"})}else s();function s(){if(w=!1,p.remove(),m.remove(),g.removeClass("ng-hide"),g=m=i=p=h=void 0,l(f,{$part:n.model(n.scope),$index:r,$item:n.model(n.scope)[r]}),_){_.element.removeClass("sv-candidate");var e=n.model(n.scope).splice(r,1),t=_.targetIndex;_.view===n&&_.targetIndex>r&&t--,_.after&&t++,_.view.model(_.view.scope).splice(t,0,e[0]),_.view===n&&r===t||c(f,{$partTo:_.view.model(_.view.scope),$partFrom:n.model(n.scope),$item:e[0],$indexTo:t,$indexFrom:r})}_=void 0,f.$root&&f.$root.$$phase||f.$apply()}},this.addToSortableElements=function(e){y(d).push(e)},this.removeFromSortableElements=function(e){var t=y(d),n=t.indexOf(e);-1<n&&(t.splice(n,1),0===t.length&&delete r[d])}}]}}]),t.directive("svPart",["$parse",function(o){return{restrict:"A",require:"^svRoot",controller:["$scope",function(n){(n.$ctrl=this).getPart=function(){return n.part},this.$drop=function(e,t){n.$sortableRoot.$drop(n.part,e,t)}}],scope:!0,link:function(e,t,n,r){if(!n.svPart)throw new Error("no model provided");var i=o(n.svPart);if(!i.assign)throw new Error("model not assignable");e.part={id:e.$id,element:t,model:i,scope:e},e.$sortableRoot=r;var a={element:t,getPart:e.$ctrl.getPart,container:!0};r.addToSortableElements(a),e.$on("$destroy",function(){r.removeFromSortableElements(a)})}}}]),t.directive("svElement",["$parse",function(g){return{restrict:"A",require:["^svPart","^svRoot"],controller:["$scope",function(e){e.$ctrl=this}],link:function(c,l,u,f){var e={element:l,getPart:f[0].getPart,getIndex:function(){return c.$index}};f[1].addToSortableElements(e),c.$on("$destroy",function(){f[1].removeFromSortableElements(e)});var d,h,t=l;t.on("mousedown touchstart",n),c.$watch("$ctrl.handle",function(e){e&&(t.off("mousedown touchstart",n),(t=e).on("mousedown touchstart",n))}),c.$watch("$ctrl.helper",function(e){e&&(d=e)}),c.$watch("$ctrl.placeholder",function(e){e&&(h=e)});C.element(document.body);var p,m=C.element(document.documentElement);function n(e){if(_(e),!f[1].sortingInProgress()&&(0==e.button||"mousedown"!==e.type)){p=!1;var n=g(u.svElement)(c);if((n=C.extend({},{tolerance:"pointer",revert:200,containment:"html"},n)).containment)var a=b.call(l,n.containment)[0].getBoundingClientRect();var o,t=l,r=l[0].getBoundingClientRect();d||(d=f[0].helper),h||(h=f[0].placeholder),d?((o=d.clone()).removeClass("ng-hide"),o.css({left:r.left+document.body.scrollLeft+"px",top:r.top+document.body.scrollTop+"px"}),t.addClass("sv-visibility-hidden")):(o=t.clone()).addClass("sv-helper").css({left:r.left+document.body.scrollLeft+"px",top:r.top+document.body.scrollTop+"px",width:r.width+"px"}),o[0].reposition=function(e){var t=e.x,n=e.y,r=o[0].getBoundingClientRect(),i=document.body;a&&(n<a.top+i.scrollTop&&(n=a.top+i.scrollTop),n+r.height>a.top+i.scrollTop+a.height&&(n=a.top+i.scrollTop+a.height-r.height),t<a.left+i.scrollLeft&&(t=a.left+i.scrollLeft),t+r.width>a.left+i.scrollLeft+a.width&&(t=a.left+i.scrollLeft+a.width-r.width)),this.style.left=t-i.scrollLeft+"px",this.style.top=n-i.scrollTop+"px"};var i={x:(e.clientX-r.left)/r.width,y:(e.clientY-r.top)/r.height};m.addClass("sv-sorting-in-progress"),m.on("mousemove touchmove",s).on("mouseup touchend touchcancel",function e(t){m.off("mousemove touchmove",s),m.off("mouseup touchend touchcancel",e),m.removeClass("sv-sorting-in-progress"),p&&f[0].$drop(c.$index,n),l.removeClass("sv-visibility-hidden")})}function s(e){_(e),p||(l.parent().prepend(o),p=!0),f[1].$moveUpdate(n,{x:e.clientX,y:e.clientY,offset:i},o,l,h,f[0].getPart(),c.$index)}}}}}]),t.directive("svHandle",function(){return{require:"?^svElement",link:function(e,t,n,r){r&&(r.handle=t.add(r.handle))}}}),t.directive("svHelper",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,n,r){t.addClass("sv-helper").addClass("ng-hide"),r[1]?r[1].helper=t:r[0]&&(r[0].helper=t)}}}),t.directive("svPlaceholder",function(){return{require:["?^svPart","?^svElement"],link:function(e,t,n,r){t.addClass("sv-placeholder").addClass("ng-hide"),r[1]?r[1].placeholder=t:r[0]&&(r[0].placeholder=t)}}}),C.element(document.head).append(["<style>.sv-helper{position: fixed !important;z-index: 99999;margin: 0 !important;}.sv-candidate{}.sv-placeholder{}.sv-sorting-in-progress{-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}.sv-visibility-hidden{visibility: hidden !important;opacity: 0 !important;}</style>"].join(""));var n=document.documentElement,r=n.matches?"matches":n.matchesSelector?"matchesSelector":n.webkitMatches?"webkitMatches":n.webkitMatchesSelector?"webkitMatchesSelector":n.msMatches?"msMatches":n.msMatchesSelector?"msMatchesSelector":n.mozMatches?"mozMatches":n.mozMatchesSelector?"mozMatchesSelector":null;if(null==r)throw"This browser doesn't support the HTMLElement.matches method";function A(e,t){if(e instanceof C.element&&(e=e[0]),null!==r)return e[r](t)}var b=C.element.prototype.closest||function(e){for(var t=this[0].parentNode;t!==document.documentElement&&!t[r](e);)t=t.parentNode;return t[r](e)?C.element(t):C.element()};"function"!=typeof C.element.prototype.add&&(C.element.prototype.add=function(e){var t,n=C.element();for(e=C.element(e),t=0;t<this.length;t++)n.push(this[t]);for(t=0;t<e.length;t++)n.push(e[t]);return n})}(window,window.angular),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).tinycolor=t()}(this,function(){"use strict";var f=/^\s+/,d=/\s+$/,o=Math.round,h=Math.min,p=Math.max,e=Math.random;function u(e,t){if(t=t||{},(e=e||"")instanceof u)return e;if(!(this instanceof u))return new u(e,t);var n=function(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,a=null,o=!1,s=!1;"string"==typeof e&&(e=function(e){e=e.replace(f,"").replace(d,"").toLowerCase();var t,n=!1;if(S[e])e=S[e],n=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};if(t=L.rgb.exec(e))return{r:t[1],g:t[2],b:t[3]};if(t=L.rgba.exec(e))return{r:t[1],g:t[2],b:t[3],a:t[4]};if(t=L.hsl.exec(e))return{h:t[1],s:t[2],l:t[3]};if(t=L.hsla.exec(e))return{h:t[1],s:t[2],l:t[3],a:t[4]};if(t=L.hsv.exec(e))return{h:t[1],s:t[2],v:t[3]};if(t=L.hsva.exec(e))return{h:t[1],s:t[2],v:t[3],a:t[4]};if(t=L.hex8.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),a:$(t[4]),format:n?"name":"hex8"};if(t=L.hex6.exec(e))return{r:D(t[1]),g:D(t[2]),b:D(t[3]),format:n?"name":"hex"};if(t=L.hex4.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),a:$(t[4]+""+t[4]),format:n?"name":"hex8"};if(t=L.hex3.exec(e))return{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),format:n?"name":"hex"};return!1}(e));"object"==typeof e&&(F(e.r)&&F(e.g)&&F(e.b)?(c=e.r,l=e.g,u=e.b,t={r:255*k(c,255),g:255*k(l,255),b:255*k(u,255)},o=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):F(e.h)&&F(e.s)&&F(e.v)?(r=P(e.s),i=P(e.v),t=function(e,t,n){e=6*k(e,360),t=k(t,100),n=k(n,100);var r=Math.floor(e),i=e-r,a=n*(1-t),o=n*(1-i*t),s=n*(1-(1-i)*t),c=r%6;return{r:255*[n,o,a,a,s,n][c],g:255*[s,n,n,o,a,a][c],b:255*[a,a,s,n,n,o][c]}}(e.h,r,i),o=!0,s="hsv"):F(e.h)&&F(e.s)&&F(e.l)&&(r=P(e.s),a=P(e.l),t=function(e,t,n){var r,i,a;function o(e,t,n){return n<0&&(n+=1),1<n&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=k(e,360),t=k(t,100),n=k(n,100),0===t)r=i=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,c=2*n-s;r=o(c,s,e+1/3),i=o(c,s,e),a=o(c,s,e-1/3)}return{r:255*r,g:255*i,b:255*a}}(e.h,r,a),o=!0,s="hsl"),e.hasOwnProperty("a")&&(n=e.a));var c,l,u;return n=x(n),{ok:o,format:e.format||s,r:h(255,p(t.r,0)),g:h(255,p(t.g,0)),b:h(255,p(t.b,0)),a:n}}(e);this._originalInput=e,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=o(100*this._a)/100,this._format=t.format||n.format,this._gradientType=t.gradientType,this._r<1&&(this._r=o(this._r)),this._g<1&&(this._g=o(this._g)),this._b<1&&(this._b=o(this._b)),this._ok=n.ok}function i(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,i,a=p(e,t,n),o=h(e,t,n),s=(a+o)/2;if(a==o)r=i=0;else{var c=a-o;switch(i=.5<s?c/(2-a-o):c/(a+o),a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,l:s}}function a(e,t,n){e=k(e,255),t=k(t,255),n=k(n,255);var r,i,a=p(e,t,n),o=h(e,t,n),s=a,c=a-o;if(i=0===a?0:c/a,a==o)r=0;else{switch(a){case e:r=(t-n)/c+(t<n?6:0);break;case t:r=(n-e)/c+2;break;case n:r=(e-t)/c+4}r/=6}return{h:r,s:i,v:s}}function t(e,t,n,r){var i=[I(o(e).toString(16)),I(o(t).toString(16)),I(o(n).toString(16))];return r&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function s(e,t,n,r){return[I(M(r)),I(o(e).toString(16)),I(o(t).toString(16)),I(o(n).toString(16))].join("")}function n(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.s-=t/100,n.s=E(n.s),u(n)}function r(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.s+=t/100,n.s=E(n.s),u(n)}function c(e){return u(e).desaturate(100)}function l(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.l+=t/100,n.l=E(n.l),u(n)}function m(e,t){t=0===t?0:t||10;var n=u(e).toRgb();return n.r=p(0,h(255,n.r-o(-t/100*255))),n.g=p(0,h(255,n.g-o(-t/100*255))),n.b=p(0,h(255,n.b-o(-t/100*255))),u(n)}function g(e,t){t=0===t?0:t||10;var n=u(e).toHsl();return n.l-=t/100,n.l=E(n.l),u(n)}function _(e,t){var n=u(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,u(n)}function b(e){var t=u(e).toHsl();return t.h=(t.h+180)%360,u(t)}function v(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+120)%360,s:t.s,l:t.l}),u({h:(n+240)%360,s:t.s,l:t.l})]}function y(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+90)%360,s:t.s,l:t.l}),u({h:(n+180)%360,s:t.s,l:t.l}),u({h:(n+270)%360,s:t.s,l:t.l})]}function w(e){var t=u(e).toHsl(),n=t.h;return[u(e),u({h:(n+72)%360,s:t.s,l:t.l}),u({h:(n+216)%360,s:t.s,l:t.l})]}function C(e,t,n){t=t||6,n=n||30;var r=u(e).toHsl(),i=360/n,a=[u(e)];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,a.push(u(r));return a}function A(e,t){t=t||6;for(var n=u(e).toHsv(),r=n.h,i=n.s,a=n.v,o=[],s=1/t;t--;)o.push(u({h:r,s:i,v:a})),a=(a+s)%1;return o}u.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.b/255,.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},setAlpha:function(e){return this._a=x(e),this._roundA=o(100*this._a)/100,this},toHsv:function(){var e=a(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=a(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=i(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=i(this._r,this._g,this._b),t=o(360*e.h),n=o(100*e.s),r=o(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return t(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,i){var a=[I(o(e).toString(16)),I(o(t).toString(16)),I(o(n).toString(16)),I(M(r))];if(i&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1))return a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0);return a.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:o(this._r),g:o(this._g),b:o(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+o(this._r)+", "+o(this._g)+", "+o(this._b)+")":"rgba("+o(this._r)+", "+o(this._g)+", "+o(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:o(100*k(this._r,255))+"%",g:o(100*k(this._g,255))+"%",b:o(100*k(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+o(100*k(this._r,255))+"%, "+o(100*k(this._g,255))+"%, "+o(100*k(this._b,255))+"%)":"rgba("+o(100*k(this._r,255))+"%, "+o(100*k(this._g,255))+"%, "+o(100*k(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(T[t(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+s(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var i=u(e);n="#"+s(i._r,i._g,i._b,i._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&0<=this._a;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return u(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(l,arguments)},brighten:function(){return this._applyModification(m,arguments)},darken:function(){return this._applyModification(g,arguments)},desaturate:function(){return this._applyModification(n,arguments)},saturate:function(){return this._applyModification(r,arguments)},greyscale:function(){return this._applyModification(c,arguments)},spin:function(){return this._applyModification(_,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(C,arguments)},complement:function(){return this._applyCombination(b,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(w,arguments)},triad:function(){return this._applyCombination(v,arguments)},tetrad:function(){return this._applyCombination(y,arguments)}},u.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:P(e[r]));e=n}return u(e,t)},u.equals=function(e,t){return!(!e||!t)&&u(e).toRgbString()==u(t).toRgbString()},u.random=function(){return u.fromRatio({r:e(),g:e(),b:e()})},u.mix=function(e,t,n){n=0===n?0:n||50;var r=u(e).toRgb(),i=u(t).toRgb(),a=n/100;return u({r:(i.r-r.r)*a+r.r,g:(i.g-r.g)*a+r.g,b:(i.b-r.b)*a+r.b,a:(i.a-r.a)*a+r.a})},u.readability=function(e,t){var n=u(e),r=u(t);return(Math.max(n.getLuminance(),r.getLuminance())+.05)/(Math.min(n.getLuminance(),r.getLuminance())+.05)},u.isReadable=function(e,t,n){var r,i,a=u.readability(e,t);switch(i=!1,(r=function(e){var t,n;t=((e=e||{level:"AA",size:"small"}).level||"AA").toUpperCase(),n=(e.size||"small").toLowerCase(),"AA"!==t&&"AAA"!==t&&(t="AA");"small"!==n&&"large"!==n&&(n="small");return{level:t,size:n}}(n)).level+r.size){case"AAsmall":case"AAAlarge":i=4.5<=a;break;case"AAlarge":i=3<=a;break;case"AAAsmall":i=7<=a}return i},u.mostReadable=function(e,t,n){var r,i,a,o,s=null,c=0;i=(n=n||{}).includeFallbackColors,a=n.level,o=n.size;for(var l=0;l<t.length;l++)c<(r=u.readability(e,t[l]))&&(c=r,s=u(t[l]));return u.isReadable(e,s,{level:a,size:o})||!i?s:(n.includeFallbackColors=!1,u.mostReadable(e,["#fff","#000"],n))};var S=u.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",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",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",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:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},T=u.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(S);function x(e){return e=parseFloat(e),(isNaN(e)||e<0||1<e)&&(e=1),e}function k(e,t){var n;"string"==typeof(n=e)&&-1!=n.indexOf(".")&&1===parseFloat(n)&&(e="100%");var r,i="string"==typeof(r=e)&&-1!=r.indexOf("%");return e=h(t,p(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function E(e){return h(1,p(0,e))}function D(e){return parseInt(e,16)}function I(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function M(e){return Math.round(255*parseFloat(e)).toString(16)}function $(e){return D(e)/255}var O,R,N,L=(R="[\\s|\\(]+("+(O="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",N="[\\s|\\(]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")[,|\\s]+("+O+")\\s*\\)?",{CSS_UNIT:new RegExp(O),rgb:new RegExp("rgb"+R),rgba:new RegExp("rgba"+N),hsl:new RegExp("hsl"+R),hsla:new RegExp("hsla"+N),hsv:new RegExp("hsv"+R),hsva:new RegExp("hsva"+N),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function F(e){return!!L.CSS_UNIT.exec(e)}return u}),function(e,t,f){!function(e,u,l){"use strict";var n={hue:{getColorByPoint:function(e,t){var n=this.getImageData(e,t);return this.setMarkerCenter(t),new f({r:n[0],g:n[1],b:n[2]}).toHsl().h},draw:function(){this.$element.css({height:this.height+"px"}),this.canvas.height=this.height,this.canvas.width=this.height;var e=this.context.createLinearGradient(90,0,90,this.height);e.addColorStop(.01,"rgba(255, 0, 0, 1.000)"),e.addColorStop(.167,"rgba(255, 0, 255, 1.000)"),e.addColorStop(.333,"rgba(0, 0, 255, 1.000)"),e.addColorStop(.5,"rgba(0, 255, 255, 1.000)"),e.addColorStop(.666,"rgba(0, 255, 0, 1.000)"),e.addColorStop(.828,"rgba(255, 255, 0, 1.000)"),e.addColorStop(.999,"rgba(255, 0, 0, 1.000)"),this.context.fillStyle=e,this.context.fillRect(0,0,this.canvas.width,this.height)}},alpha:{getColorByPoint:function(e,t){var n=this.getImageData(e,t);return this.setMarkerCenter(t),n[3]/255},draw:function(){this.$element.css({height:this.height+"px"}),this.canvas.height=this.height,this.canvas.width=this.height;var e=this.context.createLinearGradient(90,0,90,this.height);e.addColorStop(.01,"rgba("+this.currentColor.r+","+this.currentColor.g+","+this.currentColor.b+", 1.000)"),e.addColorStop(.99,"rgba("+this.currentColor.r+","+this.currentColor.g+","+this.currentColor.b+", 0.000)"),this.context.fillStyle=e,this.context.fillRect(-1,-1,this.canvas.width+2,this.height+2)},extra:function(){this.$scope.$on("mdColorPicker:spectrumColorChange",u.bind(this,function(e,t){this.currentColor=t.color,this.draw()}))}},spectrum:{getColorByPoint:function(e,t){var n=this.getImageData(e,t);return this.setMarkerCenter(e,t),{r:n[0],g:n[1],b:n[2]}},draw:function(){this.canvas.height=this.height,this.canvas.width=this.height,this.context.clearRect(0,0,this.canvas.width,this.canvas.height);var e=this.context.createLinearGradient(0,0,this.canvas.width,0);e.addColorStop(.01,"rgba(255, 255, 255, 1.000)"),e.addColorStop(.99,"rgba(255, 255, 255, 0.000)");var t=this.context.createLinearGradient(0,0,0,this.canvas.height);t.addColorStop(.01,"rgba(0, 0, 0, 0.000)"),t.addColorStop(.99,"rgba(0, 0, 0, 1.000)"),this.context.fillStyle="hsl( "+this.currentHue+", 100%, 50%)",this.context.fillRect(0,0,this.canvas.width,this.canvas.height),this.context.fillStyle=e,this.context.fillRect(-1,-1,this.canvas.width+2,this.canvas.height+2),this.context.fillStyle=t,this.context.fillRect(-1,-1,this.canvas.width+2,this.canvas.height+2)},extra:function(){this.$scope.$on("mdColorPicker:spectrumHueChange",u.bind(this,function(e,t){this.currentHue=t.hue,this.draw();var n=this.getMarkerCenter(),r=this.getColorByPoint(n.x,n.y);this.setColor(r)}))}}};function r(e,t){this.type=e,this.restrictX=t,this.offset={x:null,y:null},this.height=255,this.$scope=null,this.$element=null,this.get=u.bind(this,function(e,t,n){this.$scope=e,this.$element=t,this.canvas=this.$element.children()[0],this.marker=this.$element.children()[1],this.context=this.canvas.getContext("2d"),this.currentColor=this.$scope.color.toRgb(),this.currentHue=this.$scope.color.toHsv().h,this.$element.on("touchstart mousedown",u.bind(this,this.onMouseDown)),this.$scope.$on("mdColorPicker:colorSet",u.bind(this,this.onColorSet)),this.extra&&this.extra(),this.draw()})}r.prototype.$window=u.element(e),r.prototype.getColorByMouse=function(e){var t=e.touches&&e.touches[0],n=t&&t.pageX||e.pageX,r=t&&t.pageY||e.pageY,i=Math.round(n-this.offset.x),a=Math.round(r-this.offset.y);return this.getColorByPoint(i,a)},r.prototype.setMarkerCenter=function(e,t){var n,r,i,a,o=-1*this.marker.offsetWidth/2,s=-1*this.marker.offsetHeight/2;t===l?(i=e+s,a=Math.round(Math.max(Math.min(this.height-1+s,i),s)),r=0):(n=e+o,i=t+s,r=Math.floor(Math.max(Math.min(this.height+o,n),o)),a=Math.floor(Math.max(Math.min(this.height+s,i),s))),u.element(this.marker).css({left:r+"px"}),u.element(this.marker).css({top:a+"px"})},r.prototype.getMarkerCenter=function(){return{x:this.marker.offsetLeft+Math.floor(this.marker.offsetWidth/2),y:this.marker.offsetTop+Math.floor(this.marker.offsetHeight/2)}},r.prototype.getImageData=function(e,t){return e=Math.max(0,Math.min(e,this.canvas.width-1)),t=Math.max(0,Math.min(t,this.canvas.height-1)),this.context.getImageData(e,t,1,1).data},r.prototype.onMouseDown=function(e){e.preventDefault(),e.stopImmediatePropagation(),this.$scope.previewUnfocus(),this.$element.css({cursor:"none"}),this.offset.x=this.canvas.getBoundingClientRect().left,this.offset.y=this.canvas.getBoundingClientRect().top;var t=u.bind(this,function(e){switch(this.type){case"hue":var t=this.getColorByMouse(e);this.$scope.$broadcast("mdColorPicker:spectrumHueChange",{hue:t});break;case"alpha":var n=this.getColorByMouse(e);this.$scope.color.setAlpha(n),this.$scope.alpha=n,this.$scope.$apply();break;case"spectrum":var r=this.getColorByMouse(e);this.setColor(r)}});this.$window.on("touchmove mousemove",t),this.$window.one("touchend mouseup",u.bind(this,function(e){this.$window.off("touchmove mousemove",t),this.$element.css({cursor:"crosshair"})})),t(e)},r.prototype.setColor=function(e){this.$scope.color._r=e.r,this.$scope.color._g=e.g,this.$scope.color._b=e.b,this.$scope.$apply(),this.$scope.$broadcast("mdColorPicker:spectrumColorChange",{color:e})},r.prototype.onColorSet=function(e,t){switch(this.type){case"hue":var n=this.$scope.color.toHsv();this.setMarkerCenter(this.canvas.height-this.canvas.height*(n.h/360));break;case"alpha":this.currentColor=t.color.toRgb(),this.draw();var r=t.color.getAlpha(),i=this.canvas.height-this.canvas.height*r;this.setMarkerCenter(i);break;case"spectrum":n=t.color.toHsv();this.currentHue=n.h,this.draw();var a=this.canvas.width*n.s,o=this.canvas.height-this.canvas.height*n.v;this.setMarkerCenter(a,o)}},u.module("mdColorPicker",[]).run(["$templateCache",function(e){var t={clear:'<path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>',gradient:'<path d="M11 9h2v2h-2zm-2 2h2v2H9zm4 0h2v2h-2zm2-2h2v2h-2zM7 9h2v2H7zm12-6H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 18H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm2-7h-2v2h2v2h-2v-2h-2v2h-2v-2h-2v2H9v-2H7v2H5v-2h2v-2H5V5h14v6z"/>',tune:'<path d="M13 21v-2h8v-2h-8v-2h-2v6h2zM3 17v2h6v-2H3z"/><path d="M21 13v-2H11v2h10zM7 9v2H3v2h4v2h2V9H7z"/><path d="M15 9h2V7h4V5h-4V3h-2v6zM3 5v2h10V5H3z"/>',view_module:'<path d="M4 11h5V5H4v6z"/><path d="M4 18h5v-6H4v6z"/><path d="M10 18h5v-6h-5v6z"/><path d="M16 18h5v-6h-5v6z"/><path d="M10 11h5V5h-5v6z"/><path d="M16 5v6h5V5h-5z"/>',view_headline:'<path d="M4 15h17v-2H4v2z"/><path d="M4 19h17v-2H4v2z"/><path d="M4 11h17V9H4v2z"/><path d="M4 5v2h17V5H4z"/>',history:'<path d="M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9z"/><path d="M12 8v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"/>',clear_all:'<path d="M5 13h14v-2H5v2zm-2 4h14v-2H3v2zM7 7v2h14V7H7z"/>'};for(var n in t)t.hasOwnProperty(n)&&e.put([n,"svg"].join("."),['<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24">',t[n],"</svg>"].join(""))}]).factory("mdColorGradientCanvas",function(){return function(e){var t=new r(e,"spectrum"!=e);return{template:'<canvas width="100%" height="100%"></canvas><div class="md-color-picker-marker"></div>',link:(t=u.merge(t,n[e])).get,controller:function(){}}}}).factory("mdColorPickerHistory",["$injector",function(e){var n=[],r=[],i=!1;try{i=e.get("$cookies")}catch(e){}if(i)for(var t=i.getObject("mdColorPickerHistory")||[],a=0;a<t.length;a++)n.push(f(t[a])),r.push(t[a]);var o=40;return{length:function(){if(!arguments[0])return n.length;o=arguments[0]},add:function(e){for(var t=0;t<n.length;t++)n[t].toRgbString()===e.toRgbString()&&(n.splice(t,1),r.splice(t,1));n.unshift(e),r.unshift(e.toRgbString()),n.length>o&&(n.pop(),r.pop()),i&&i.putObject("mdColorPickerHistory",r)},get:function(){return n},reset:function(){n=[],r=[],i&&i.putObject("mdColorPickerHistory",r)}}}]).directive("mdColorPicker",["$timeout","mdColorPickerHistory",function(e,t){return{templateUrl:"mdColorPicker.tpl.html",require:"^ngModel",scope:{options:"=mdColorPicker",type:"@",label:"@?",icon:"@?",random:"@?",default:"@?",openOnInput:"=?",hasBackdrop:"=?",clickOutsideToClose:"=?",skipHide:"=?",preserveScope:"=?",mdColorClearButton:"=?",mdColorPreview:"=?",mdColorAlphaChannel:"=?",mdColorSpectrum:"=?",mdColorSliders:"=?",mdColorGenericPalette:"=?",mdColorMaterialPalette:"=?",mdColorHistory:"=?",mdColorHex:"=?",mdColorRgb:"=?",mdColorHsl:"=?",mdColorDefaultTab:"=?"},controller:["$scope","$element","$attrs","$mdDialog","$mdColorPicker",function(t,e,n,r,i){if(t.options!==l)for(var a in t.options){var o;if(t.options.hasOwnProperty(a))o=a,t.hasOwnProperty("mdColor"+a.slice(0,1).toUpperCase()+a.slice(1))&&(o="mdColor"+a.slice(0,1).toUpperCase()+a.slice(1)),!o||t[o]!==l&&""!==t[o]||(t[o]=t.options[a])}var s=e.controller("ngModel"),c=function(e){t.value=e||s.$viewValue||""};t.mdColorClearButton=t.mdColorClearButton===l||t.mdColorClearButton,t.mdColorPreview=t.mdColorPreview===l||t.mdColorPreview,t.mdColorAlphaChannel=t.mdColorAlphaChannel===l||t.mdColorAlphaChannel,t.mdColorSpectrum=t.mdColorSpectrum===l||t.mdColorSpectrum,t.mdColorSliders=t.mdColorSliders===l||t.mdColorSliders,t.mdColorGenericPalette=t.mdColorGenericPalette===l||t.mdColorGenericPalette,t.mdColorMaterialPalette=t.mdColorMaterialPalette===l||t.mdColorMaterialPalette,t.mdColorHistory=t.mdColorHistory===l||t.mdColorHistory,t.mdColorHex=t.mdColorHex===l||t.mdColorHex,t.mdColorRgb=t.mdColorRgb===l||t.mdColorRgb,t.mdColorHsl=t.mdColorHsl===l||t.mdColorHsl,c(),t.$watch(function(){return s.$modelValue},function(e){c(e)}),t.$watch("value",function(e,t){""!==e&&void 0!==e&&e&&e!==t&&s.$setViewValue(e)}),t.clearValue=function(){s.$setViewValue("")},t.showColorPicker=function(e){i.show({value:t.value,defaultValue:t.default,random:t.random,clickOutsideToClose:t.clickOutsideToClose,hasBackdrop:t.hasBackdrop,skipHide:t.skipHide,preserveScope:t.preserveScope,mdColorAlphaChannel:t.mdColorAlphaChannel,mdColorSpectrum:t.mdColorSpectrum,mdColorSliders:t.mdColorSliders,mdColorGenericPalette:t.mdColorGenericPalette,mdColorMaterialPalette:t.mdColorMaterialPalette,mdColorHistory:t.mdColorHistory,mdColorHex:t.mdColorHex,mdColorRgb:t.mdColorRgb,mdColorHsl:t.mdColorHsl,mdColorDefaultTab:t.mdColorDefaultTab,$event:e}).then(function(e){t.value=e})}}],compile:function(e,t){t.type=t.type!==l?t.type:0}}}]).directive("mdColorPickerContainer",["$compile","$timeout","$mdColorPalette","mdColorPickerHistory",function(e,o,s,c){return{templateUrl:"mdColorPickerContainer.tpl.html",scope:{value:"=?",default:"@",random:"@",ok:"=?",mdColorAlphaChannel:"=",mdColorSpectrum:"=",mdColorSliders:"=",mdColorGenericPalette:"=",mdColorMaterialPalette:"=",mdColorHistory:"=",mdColorHex:"=",mdColorRgb:"=",mdColorHsl:"=",mdColorDefaultTab:"="},controller:["$scope","$element","$attrs",function(a,e,t){var n=u.element(e[0].querySelector(".md-color-picker-container")),r=(u.element(n[0].querySelector(".md-color-picker-result")),u.element(e[0].querySelector(".md-color-picker-preview-input"))),i=["toHexString","toRgbString","toHslString"];a.default=a.default?a.default:a.random?f.random():"rgb(255,255,255)",0<=a.value.search("#")?a.type=0:0<=a.value.search("rgb")?a.type=1:0<=a.value.search("hsl")&&(a.type=2),a.color=new f(a.value||a.default),a.alpha=a.color.getAlpha(),a.history=c,a.materialFamily=[],a.whichPane=function(e){var t=0;if(e&&"string"==typeof e){for(var n="mdColor"+e.slice(0,1).toUpperCase()+e.slice(1),r=["mdColorSpectrum","mdColorSliders","mdColorGenericPalette","mdColorMaterialPalette","mdColorHistory"],i=0;i<r.length;i++)if(r[i]==n&&a[n]){t=i;break}}else e&&"number"==typeof e&&(t=e);return t}(a.mdColorDefaultTab),a.inputFocus=!1;Math.PI;a.palette=[["rgb(255, 204, 204)","rgb(255, 230, 204)","rgb(255, 255, 204)","rgb(204, 255, 204)","rgb(204, 255, 230)","rgb(204, 255, 255)","rgb(204, 230, 255)","rgb(204, 204, 255)","rgb(230, 204, 255)","rgb(255, 204, 255)"],["rgb(255, 153, 153)","rgb(255, 204, 153)","rgb(255, 255, 153)","rgb(153, 255, 153)","rgb(153, 255, 204)","rgb(153, 255, 255)","rgb(153, 204, 255)","rgb(153, 153, 255)","rgb(204, 153, 255)","rgb(255, 153, 255)"],["rgb(255, 102, 102)","rgb(255, 179, 102)","rgb(255, 255, 102)","rgb(102, 255, 102)","rgb(102, 255, 179)","rgb(102, 255, 255)","rgb(102, 179, 255)","rgb(102, 102, 255)","rgb(179, 102, 255)","rgb(255, 102, 255)"],["rgb(255, 51, 51)","rgb(255, 153, 51)","rgb(255, 255, 51)","rgb(51, 255, 51)","rgb(51, 255, 153)","rgb(51, 255, 255)","rgb(51, 153, 255)","rgb(51, 51, 255)","rgb(153, 51, 255)","rgb(255, 51, 255)"],["rgb(255, 0, 0)","rgb(255, 128, 0)","rgb(255, 255, 0)","rgb(0, 255, 0)","rgb(0, 255, 128)","rgb(0, 255, 255)","rgb(0, 128, 255)","rgb(0, 0, 255)","rgb(128, 0, 255)","rgb(255, 0, 255)"],["rgb(245, 0, 0)","rgb(245, 123, 0)","rgb(245, 245, 0)","rgb(0, 245, 0)","rgb(0, 245, 123)","rgb(0, 245, 245)","rgb(0, 123, 245)","rgb(0, 0, 245)","rgb(123, 0, 245)","rgb(245, 0, 245)"],["rgb(214, 0, 0)","rgb(214, 108, 0)","rgb(214, 214, 0)","rgb(0, 214, 0)","rgb(0, 214, 108)","rgb(0, 214, 214)","rgb(0, 108, 214)","rgb(0, 0, 214)","rgb(108, 0, 214)","rgb(214, 0, 214)"],["rgb(163, 0, 0)","rgb(163, 82, 0)","rgb(163, 163, 0)","rgb(0, 163, 0)","rgb(0, 163, 82)","rgb(0, 163, 163)","rgb(0, 82, 163)","rgb(0, 0, 163)","rgb(82, 0, 163)","rgb(163, 0, 163)"],["rgb(92, 0, 0)","rgb(92, 46, 0)","rgb(92, 92, 0)","rgb(0, 92, 0)","rgb(0, 92, 46)","rgb(0, 92, 92)","rgb(0, 46, 92)","rgb(0, 0, 92)","rgb(46, 0, 92)","rgb(92, 0, 92)"],["rgb(255, 255, 255)","rgb(205, 205, 205)","rgb(178, 178, 178)","rgb(153, 153, 153)","rgb(127, 127, 127)","rgb(102, 102, 102)","rgb(76, 76, 76)","rgb(51, 51, 51)","rgb(25, 25, 25)","rgb(0, 0, 0)"]],a.materialPalette=s,a.isDark=function(e){return u.isArray(e)?f({r:e[0],g:e[1],b:e[2]}).isDark():f(e).isDark()},a.previewFocus=function(){a.inputFocus=!0,o(function(){r[0].setSelectionRange(0,r[0].value.length)})},a.previewUnfocus=function(){a.inputFocus=!1,r[0].blur()},a.previewBlur=function(){a.inputFocus=!1,a.setValue()},a.previewKeyDown=function(e){13==e.keyCode&&a.ok&&a.ok()},a.setPaletteColor=function(e){o(function(){a.color=f(e.target.style.backgroundColor)})},a.setValue=function(){a.color&&a.color&&i[a.type]&&"rgba(0, 0, 0, 0)"!==a.color.toRgbString()&&(a.value=a.color[i[a.type]]())},a.changeValue=function(){a.color=f(a.value),a.$broadcast("mdColorPicker:colorSet",{color:a.color})},a.$watch("color._a",function(e){a.color.setAlpha(e)},!0),a.$watch("whichPane",function(e){a.$broadcast("mdColorPicker:colorSet",{color:a.color})}),a.$watch("type",function(){r.removeClass("switch"),o(function(){r.addClass("switch")})}),a.$watchGroup(["color.toRgbString()","type"],function(e){a.inputFocus||a.setValue()}),o(function(){a.$broadcast("mdColorPicker:colorSet",{color:a.color}),r.focus(),a.previewFocus()})}],link:function(l,e,t){e[0].getElementsByTagName("md-tab");o(function(){var r,i,a,o,s,c;r=u.element(e[0].querySelector(".md-color-picker-palette")),i=u.element(e[0].querySelector(".md-color-picker-material-palette")),a=u.element('<div class="flex-15 layout-fill layout-row layout-align-space-between" layout-align="space-between" layout="row" layout-fill"></div>'),o=u.element('<div class="flex-10"></div>'),s=u.element('<div class="md-color-picker-material-title"></div>'),c=u.element('<div class="md-color-picker-with-label"></div>'),u.forEach(l.palette,function(e,t){var n=a.clone();u.forEach(e,function(e){var t=o.clone();t.css({height:"25.5px",backgroundColor:e}),t.bind("click",l.setPaletteColor),n.append(t)}),r.append(n)}),u.forEach(l.materialPalette,function(e,t){var n=s.clone();n.html("<span>"+t.replace("-"," ")+"</span>"),n.css({height:"75px",backgroundColor:"rgb("+e[500].value[0]+","+e[500].value[1]+","+e[500].value[2]+")"}),l.isDark(e[500].value)&&n.addClass("dark"),i.append(n),u.forEach(e,function(e,t){var n=c.clone();n.css({height:"33px",backgroundColor:"rgb("+e.value[0]+","+e.value[1]+","+e.value[2]+")"}),l.isDark(e.value)&&n.addClass("dark"),n.html("<span>"+t+"</span>"),n.bind("click",l.setPaletteColor),i.append(n)})})})}}}]).directive("mdColorPickerHue",["mdColorGradientCanvas",function(e){return new e("hue")}]).directive("mdColorPickerAlpha",["mdColorGradientCanvas",function(e){return new e("alpha")}]).directive("mdColorPickerSpectrum",["mdColorGradientCanvas",function(e){return new e("spectrum")}]).factory("$mdColorPicker",["$q","$mdDialog","mdColorPickerHistory",function(e,n,t){var r;return{show:function(e){return e===l&&(e={}),e.hasBackdrop=e.hasBackdrop===l||e.hasBackdrop,e.clickOutsideToClose=e.clickOutsideToClose===l||e.clickOutsideToClose,e.defaultValue=e.defaultValue===l?"#FFFFFF":e.defaultValue,e.focusOnOpen=e.focusOnOpen!==l&&e.focusOnOpen,e.preserveScope=e.preserveScope===l||e.preserveScope,e.skipHide=e.skipHide===l||e.skipHide,e.mdColorAlphaChannel=e.mdColorAlphaChannel!==l&&e.mdColorAlphaChannel,e.mdColorSpectrum=e.mdColorSpectrum===l||e.mdColorSpectrum,e.mdColorSliders=e.mdColorSliders===l||e.mdColorSliders,e.mdColorGenericPalette=e.mdColorGenericPalette===l||e.mdColorGenericPalette,e.mdColorMaterialPalette=e.mdColorMaterialPalette===l||e.mdColorMaterialPalette,e.mdColorHistory=e.mdColorHistory===l||e.mdColorHistory,e.mdColorRgb=e.mdColorRgb===l||e.mdColorRgb,e.mdColorHsl=e.mdColorHsl===l||e.mdColorHsl,e.mdColorHex=e.mdColorHex===l||!e.mdColorRgb&&!e.mdColorHsl||e.mdColorHex,e.mdColorAlphaChannel=!(!e.mdColorRgb&&!e.mdColorHsl)&&e.mdColorAlphaChannel,(r=n.show({templateUrl:"mdColorPickerDialog.tpl.html",hasBackdrop:e.hasBackdrop,multiple:!0,clickOutsideToClose:e.clickOutsideToClose,controller:["$scope","options",function(e,t){e.close=function(){n.cancel()},e.ok=function(){n.hide(e.value)},e.hide=e.ok,e.value=t.value,e.default=t.defaultValue,e.random=t.random,e.mdColorAlphaChannel=t.mdColorAlphaChannel,e.mdColorSpectrum=t.mdColorSpectrum,e.mdColorSliders=t.mdColorSliders,e.mdColorGenericPalette=t.mdColorGenericPalette,e.mdColorMaterialPalette=t.mdColorMaterialPalette,e.mdColorHistory=t.mdColorHistory,e.mdColorHex=t.mdColorHex,e.mdColorRgb=t.mdColorRgb,e.mdColorHsl=t.mdColorHsl,e.mdColorDefaultTab=t.mdColorDefaultTab}],locals:{options:e},preserveScope:e.preserveScope,skipHide:e.skipHide,targetEvent:e.$event,focusOnOpen:e.focusOnOpen,autoWrap:!1,onShowing:function(){},onComplete:function(){}})).then(function(e){t.add(new f(e))},function(){}),r},hide:function(){return r.hide()},cancel:function(){return r.cancel()}}}])}(t,t.angular),e.module("mdColorPicker").run(["$templateCache",function(e){e.put("mdColorPicker.tpl.html",'<div class="md-color-picker-input-container" layout="row">\n\t<div class="md-color-picker-preview md-color-picker-checkered-bg" ng-click="showColorPicker($event)" ng-if="mdColorPreview">\n\t\t<div class="md-color-picker-result" ng-style="{background: value}"></div>\n\t</div>\n\t<md-input-container flex>\n\t\t<label><md-icon ng-if="icon">{{icon}}</md-icon>{{label}}</label>\n\t\t<input type="input" ng-model="value" class=\'md-color-picker-input\' ng-mousedown="(openOnInput || !mdColorPreview) && showColorPicker($event)"/>\n\t</md-input-container>\n\t<md-button class="md-icon-button md-color-picker-clear" ng-if="mdColorClearButton && value" ng-click="clearValue();" aria-label="Clear Color">\n\t\t<md-icon md-svg-icon="clear.svg"></md-icon>\n\t</md-button>\n</div>\n'),e.put("mdColorPickerContainer.tpl.html",'<div class="md-color-picker-container in" layout="column">\n\t<div class="md-color-picker-arrow" ng-style="{\'border-bottom-color\': color.toRgbString() }"></div>\n\n\t<div class="md-color-picker-preview md-color-picker-checkered-bg" ng-class="{\'dark\': !color.isDark() || color.getAlpha() < .45}" flex="1" layout="column">\n\n\t\t<div class="md-color-picker-result" ng-style="{\'background\': color.toRgbString()}" flex="100" layout="column" layout-fill layout-align="center center" ng-click="focusPreviewInput( $event )">\n\t\t\t\x3c!--<span flex layout="column" layout-align="center center">{{value}}</span>--\x3e\n\t\t\t<div flex layout="row" layout-align="center center">\n\t\t\t\t<input class="md-color-picker-preview-input" type="text" ng-model="value" ng-focus="previewFocus($event);" ng-blur="previewBlur()" ng-change="changeValue()" ng-keypress="previewKeyDown($event)" layout-fill />\n\t\t\t</div>\n\t\t\t<div class="md-color-picker-tabs" style="width: 100%">\n\t\t\t\t<md-tabs md-selected="type" md-stretch-tabs="always" md-no-bar md-no-ink md-no-pagination="true" >\n\t\t\t\t\t<md-tab ng-if="mdColorHex" label="Hex" ng-disabled="color.getAlpha() !== 1" md-ink-ripple="#ffffff"></md-tab>\n\t\t\t\t\t<md-tab ng-if="mdColorRgb" label="RGB"></md-tab>\n\t\t\t\t\t<md-tab ng-if="mdColorHsl" label="HSL"></md-tab>\n\t\t\t\t\t\x3c!--<md-tab label="HSV"></md-tab>\n\t\t\t\t\t<md-tab label="VEC"></md-tab>--\x3e\n\t\t\t\t</md-tabs>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<div class="md-color-picker-tabs md-color-picker-colors">\n\t\t<md-tabs md-stretch-tabs="always" md-align-tabs="bottom" md-selected="whichPane" md-no-pagination>\n\t\t\t<md-tab ng-if="mdColorSpectrum">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="gradient.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="row" layout-align="space-between" style="height: 255px">\n\t\t\t\t\t\t<div md-color-picker-spectrum></div>\n\t\t\t\t\t\t<div md-color-picker-hue ng-class="{\'md-color-picker-wide\': !mdColorAlphaChannel}"></div>\n\t\t\t\t\t\t<div md-color-picker-alpha class="md-color-picker-checkered-bg" ng-if="mdColorAlphaChannel"></div>\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorSliders">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="tune.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="column" flex="100" layout-fill layout-align="space-between start center" class="md-color-picker-sliders">\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill>\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">R</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="255" ng-model="color._r" aria-label="red" class="red-slider"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="255" type="number" ng-model="color._r" aria-label="red" aria-controls="red-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill>\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">G</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="255" ng-model="color._g" aria-label="green" class="green-slider"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="255" type="number" ng-model="color._g" aria-label="green" aria-controls="green-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill>\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">B</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="255" ng-model="color._b" aria-label="blue" class="blue-slider"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center" >\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="255" type="number" ng-model="color._b" aria-label="blue" aria-controls="blue-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div layout="row" layout-align="start center" layout-wrap flex layout-fill ng-if="!mdColorAlphaChannel">\n\t\t\t\t\t\t\t<div flex="10" layout layout-align="center center">\n\t\t\t\t\t\t\t\t<span class="md-body-1">A</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<md-slider flex="65" min="0" max="1" step=".01" ng-model="color._a" aria-label="alpha" class="md-primary"></md-slider>\n\t\t\t\t\t\t\t<span flex></span>\n\t\t\t\t\t\t\t<div flex="20" layout layout-align="center center" >\n\t\t\t\t\t\t\t\t<input style="width: 100%;" min="0" max="1" step=".01" type="number" ng-model="color._a" aria-label="alpha" aria-controls="alpha-slider">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorGenericPalette">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="view_module.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="column" layout-align="space-between start center" flex class="md-color-picker-palette">\n\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorMaterialPalette">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="view_headline.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body>\n\t\t\t\t\t<div layout="column" layout-fill flex class="md-color-picker-material-palette">\n\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t\t<md-tab ng-if="mdColorHistory">\n\t\t\t\t<md-tab-label>\n\t\t\t\t\t<md-icon md-svg-icon="history.svg"></md-icon>\n\t\t\t\t</md-tab-label>\n\t\t\t\t<md-tab-body layout="row" layout-fill>\n\t\t\t\t\t<div layout="column" flex layout-align="space-between start" layout-wrap layout-fill class="md-color-picker-history">\n\t\t\t\t\t\t<div layout="row" flex="80" layout-align="space-between start start" layout-wrap layout-fill>\n\t\t\t\t\t\t\t<div flex="10" ng-repeat="historyColor in history.get() track by $index">\n\t\t\t\t\t\t\t\t<div ng-style="{\'background\': historyColor.toRgbString()}" ng-click="setPaletteColor($event)"></div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\n\t\t\t\t\t\t<md-button flex-end ng-click="history.reset()" class="md-mini" aria-label="Clear History">\n\t\t\t\t\t\t\t<md-icon md-svg-icon="clear_all.svg"></md-icon>\n\t\t\t\t\t\t</md-button>\n\t\t\t\t\t</div>\n\t\t\t\t</md-tab-body>\n\t\t\t</md-tab>\n\t\t</md-tabs>\n\t</div>\n\n</div>\n'),e.put("mdColorPickerDialog.tpl.html",'<md-dialog class="md-color-picker-dialog">\n\t<div md-color-picker-container\n\t\tvalue="value"\n\t\tdefault="{{defaultValue}}"\n\t\trandom="{{random}}"\n\t\tok="ok"\n\t\tmd-color-alpha-channel="mdColorAlphaChannel"\n\t\tmd-color-spectrum="mdColorSpectrum"\n\t\tmd-color-sliders="mdColorSliders"\n\t\tmd-color-generic-palette="mdColorGenericPalette"\n\t\tmd-color-material-palette="mdColorMaterialPalette"\n\t\tmd-color-history="mdColorHistory"\n\t\tmd-color-hex="mdColorHex"\n\t\tmd-color-rgb="mdColorRgb"\n\t\tmd-color-hsl="mdColorHsl"\n\t\tmd-color-default-tab="mdColorDefaultTab"\n\t></div>\n\t<md-actions layout="row">\n\t\t<md-button class="md-mini" ng-click="close()" style="width: 50%;">Cancel</md-button>\n\t\t<md-button class="md-mini" ng-click="ok()" style="width: 50%;">Select</md-button>\n\t</md-actions>\n</md-dialog>\n')}])}(angular,window,tinycolor),function(e,t){"function"==typeof define&&define.amd?define(["angular"],t):t(angular)}(0,function(e){e.module("ckeditor",[]).directive("ckeditor",["$parse",function(o){return{restrict:"A",require:["ckeditor","ngModel"],controller:["$scope","$element","$attrs","$parse","$q",t],link:function(e,t,n,r){var i=r[0],a=r[1];i.ready().then(function(){["dataReady","change","blur","saveSnapshot"].forEach(function(e){i.onCKEvent(e,function(){a.$setViewValue(i.instance.getData()||"")})}),i.instance.setReadOnly(!!n.readonly),n.$observe("readonly",function(e){i.instance.setReadOnly(!!e)}),l(function(){o(n.ready)(e)})}),a.$render=function(){i.ready().then(function(){i.instance.setData(a.$viewValue||"",{noSnapshot:!0,callback:function(){i.instance.fire("updateSnapshot")}})})}}}}]);var l=window&&window.setImmediate?window.setImmediate:function(e){setTimeout(e,0)};function t(r,e,t,n,i){var a,o=n(t.ckeditor)(r)||{},s=e[0],c=i.defer();a=s.hasAttribute("contenteditable")&&"true"==s.getAttribute("contenteditable").toLowerCase()?this.instance=CKEDITOR.inline(s,o):this.instance=CKEDITOR.replace(s,o),this.onCKEvent=function(e,t){function n(){var e=arguments;r.$apply(function(){t.apply(null,e)})}return a.on(e,function(){var e=arguments;l(function(){n.apply(null,e)})}),function(){a.removeListener(e,n)}},this.onCKEvent("instanceReady",function(){c.resolve(!0)}),this.ready=function(){return c.promise},r.$on("$destroy",function(){c.promise.then(function(){a.destroy(!1)})})}}),function(d){d.emojioneList={":kiss_mm:":{uc_base:"1f468-2764-1f48b-1f468",uc_output:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",uc_match:"1f468-2764-fe0f-1f48b-1f468",uc_greedy:"1f468-2764-1f48b-1f468",shortnames:[":couplekiss_mm:"],category:"people"},":kiss_woman_man:":{uc_base:"1f469-2764-1f48b-1f468",uc_output:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",uc_match:"1f469-2764-fe0f-1f48b-1f468",uc_greedy:"1f469-2764-1f48b-1f468",shortnames:[],category:"people"},":kiss_ww:":{uc_base:"1f469-2764-1f48b-1f469",uc_output:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",uc_match:"1f469-2764-fe0f-1f48b-1f469",uc_greedy:"1f469-2764-1f48b-1f469",shortnames:[":couplekiss_ww:"],category:"people"},":england:":{uc_base:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",uc_output:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",uc_match:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",uc_greedy:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",shortnames:[],category:"flags"},":scotland:":{uc_base:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",uc_output:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",uc_match:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",uc_greedy:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",shortnames:[],category:"flags"},":wales:":{uc_base:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",uc_output:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",uc_match:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",uc_greedy:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",shortnames:[],category:"flags"},":family_mmbb:":{uc_base:"1f468-1f468-1f466-1f466",uc_output:"1f468-200d-1f468-200d-1f466-200d-1f466",uc_match:"1f468-1f468-1f466-1f466",uc_greedy:"1f468-1f468-1f466-1f466",shortnames:[],category:"people"},":family_mmgb:":{uc_base:"1f468-1f468-1f467-1f466",uc_output:"1f468-200d-1f468-200d-1f467-200d-1f466",uc_match:"1f468-1f468-1f467-1f466",uc_greedy:"1f468-1f468-1f467-1f466",shortnames:[],category:"people"},":family_mmgg:":{uc_base:"1f468-1f468-1f467-1f467",uc_output:"1f468-200d-1f468-200d-1f467-200d-1f467",uc_match:"1f468-1f468-1f467-1f467",uc_greedy:"1f468-1f468-1f467-1f467",shortnames:[],category:"people"},":family_mwbb:":{uc_base:"1f468-1f469-1f466-1f466",uc_output:"1f468-200d-1f469-200d-1f466-200d-1f466",uc_match:"1f468-1f469-1f466-1f466",uc_greedy:"1f468-1f469-1f466-1f466",shortnames:[],category:"people"},":family_mwgb:":{uc_base:"1f468-1f469-1f467-1f466",uc_output:"1f468-200d-1f469-200d-1f467-200d-1f466",uc_match:"1f468-1f469-1f467-1f466",uc_greedy:"1f468-1f469-1f467-1f466",shortnames:[],category:"people"},":family_mwgg:":{uc_base:"1f468-1f469-1f467-1f467",uc_output:"1f468-200d-1f469-200d-1f467-200d-1f467",uc_match:"1f468-1f469-1f467-1f467",uc_greedy:"1f468-1f469-1f467-1f467",shortnames:[],category:"people"},":family_wwbb:":{uc_base:"1f469-1f469-1f466-1f466",uc_output:"1f469-200d-1f469-200d-1f466-200d-1f466",uc_match:"1f469-1f469-1f466-1f466",uc_greedy:"1f469-1f469-1f466-1f466",shortnames:[],category:"people"},":family_wwgb:":{uc_base:"1f469-1f469-1f467-1f466",uc_output:"1f469-200d-1f469-200d-1f467-200d-1f466",uc_match:"1f469-1f469-1f467-1f466",uc_greedy:"1f469-1f469-1f467-1f466",shortnames:[],category:"people"},":family_wwgg:":{uc_base:"1f469-1f469-1f467-1f467",uc_output:"1f469-200d-1f469-200d-1f467-200d-1f467",uc_match:"1f469-1f469-1f467-1f467",uc_greedy:"1f469-1f469-1f467-1f467",shortnames:[],category:"people"},":couple_mm:":{uc_base:"1f468-2764-1f468",uc_output:"1f468-200d-2764-fe0f-200d-1f468",uc_match:"1f468-2764-fe0f-1f468",uc_greedy:"1f468-2764-1f468",shortnames:[":couple_with_heart_mm:"],category:"people"},":couple_with_heart_woman_man:":{uc_base:"1f469-2764-1f468",uc_output:"1f469-200d-2764-fe0f-200d-1f468",uc_match:"1f469-2764-fe0f-1f468",uc_greedy:"1f469-2764-1f468",shortnames:[],category:"people"},":couple_ww:":{uc_base:"1f469-2764-1f469",uc_output:"1f469-200d-2764-fe0f-200d-1f469",uc_match:"1f469-2764-fe0f-1f469",uc_greedy:"1f469-2764-1f469",shortnames:[":couple_with_heart_ww:"],category:"people"},":family_man_boy_boy:":{uc_base:"1f468-1f466-1f466",uc_output:"1f468-200d-1f466-200d-1f466",uc_match:"1f468-1f466-1f466",uc_greedy:"1f468-1f466-1f466",shortnames:[],category:"people"},":family_man_girl_boy:":{uc_base:"1f468-1f467-1f466",uc_output:"1f468-200d-1f467-200d-1f466",uc_match:"1f468-1f467-1f466",uc_greedy:"1f468-1f467-1f466",shortnames:[],category:"people"},":family_man_girl_girl:":{uc_base:"1f468-1f467-1f467",uc_output:"1f468-200d-1f467-200d-1f467",uc_match:"1f468-1f467-1f467",uc_greedy:"1f468-1f467-1f467",shortnames:[],category:"people"},":family_man_woman_boy:":{uc_base:"1f468-1f469-1f466",uc_output:"1f468-200d-1f469-200d-1f466",uc_match:"1f468-1f469-1f466",uc_greedy:"1f468-1f469-1f466",shortnames:[],category:"people"},":family_mmb:":{uc_base:"1f468-1f468-1f466",uc_output:"1f468-200d-1f468-200d-1f466",uc_match:"1f468-1f468-1f466",uc_greedy:"1f468-1f468-1f466",shortnames:[],category:"people"},":family_mmg:":{uc_base:"1f468-1f468-1f467",uc_output:"1f468-200d-1f468-200d-1f467",uc_match:"1f468-1f468-1f467",uc_greedy:"1f468-1f468-1f467",shortnames:[],category:"people"},":family_mwg:":{uc_base:"1f468-1f469-1f467",uc_output:"1f468-200d-1f469-200d-1f467",uc_match:"1f468-1f469-1f467",uc_greedy:"1f468-1f469-1f467",shortnames:[],category:"people"},":family_woman_boy_boy:":{uc_base:"1f469-1f466-1f466",uc_output:"1f469-200d-1f466-200d-1f466",uc_match:"1f469-1f466-1f466",uc_greedy:"1f469-1f466-1f466",shortnames:[],category:"people"},":family_woman_girl_boy:":{uc_base:"1f469-1f467-1f466",uc_output:"1f469-200d-1f467-200d-1f466",uc_match:"1f469-1f467-1f466",uc_greedy:"1f469-1f467-1f466",shortnames:[],category:"people"},":family_woman_girl_girl:":{uc_base:"1f469-1f467-1f467",uc_output:"1f469-200d-1f467-200d-1f467",uc_match:"1f469-1f467-1f467",uc_greedy:"1f469-1f467-1f467",shortnames:[],category:"people"},":family_wwb:":{uc_base:"1f469-1f469-1f466",uc_output:"1f469-200d-1f469-200d-1f466",uc_match:"1f469-1f469-1f466",uc_greedy:"1f469-1f469-1f466",shortnames:[],category:"people"},":family_wwg:":{uc_base:"1f469-1f469-1f467",uc_output:"1f469-200d-1f469-200d-1f467",uc_match:"1f469-1f469-1f467",uc_greedy:"1f469-1f469-1f467",shortnames:[],category:"people"},":blond-haired_man_tone1:":{uc_base:"1f471-1f3fb-2642",uc_output:"1f471-1f3fb-200d-2642-fe0f",uc_match:"1f471-1f3fb-2642-fe0f",uc_greedy:"1f471-1f3fb-2642",shortnames:[":blond-haired_man_light_skin_tone:"],category:"people"},":blond-haired_man_tone2:":{uc_base:"1f471-1f3fc-2642",uc_output:"1f471-1f3fc-200d-2642-fe0f",uc_match:"1f471-1f3fc-2642-fe0f",uc_greedy:"1f471-1f3fc-2642",shortnames:[":blond-haired_man_medium_light_skin_tone:"],category:"people"},":blond-haired_man_tone3:":{uc_base:"1f471-1f3fd-2642",uc_output:"1f471-1f3fd-200d-2642-fe0f",uc_match:"1f471-1f3fd-2642-fe0f",uc_greedy:"1f471-1f3fd-2642",shortnames:[":blond-haired_man_medium_skin_tone:"],category:"people"},":blond-haired_man_tone4:":{uc_base:"1f471-1f3fe-2642",uc_output:"1f471-1f3fe-200d-2642-fe0f",uc_match:"1f471-1f3fe-2642-fe0f",uc_greedy:"1f471-1f3fe-2642",shortnames:[":blond-haired_man_medium_dark_skin_tone:"],category:"people"},":blond-haired_man_tone5:":{uc_base:"1f471-1f3ff-2642",uc_output:"1f471-1f3ff-200d-2642-fe0f",uc_match:"1f471-1f3ff-2642-fe0f",uc_greedy:"1f471-1f3ff-2642",shortnames:[":blond-haired_man_dark_skin_tone:"],category:"people"},":blond-haired_woman_tone1:":{uc_base:"1f471-1f3fb-2640",uc_output:"1f471-1f3fb-200d-2640-fe0f",uc_match:"1f471-1f3fb-2640-fe0f",uc_greedy:"1f471-1f3fb-2640",shortnames:[":blond-haired_woman_light_skin_tone:"],category:"people"},":blond-haired_woman_tone2:":{uc_base:"1f471-1f3fc-2640",uc_output:"1f471-1f3fc-200d-2640-fe0f",uc_match:"1f471-1f3fc-2640-fe0f",uc_greedy:"1f471-1f3fc-2640",shortnames:[":blond-haired_woman_medium_light_skin_tone:"],category:"people"},":blond-haired_woman_tone3:":{uc_base:"1f471-1f3fd-2640",uc_output:"1f471-1f3fd-200d-2640-fe0f",uc_match:"1f471-1f3fd-2640-fe0f",uc_greedy:"1f471-1f3fd-2640",shortnames:[":blond-haired_woman_medium_skin_tone:"],category:"people"},":blond-haired_woman_tone4:":{uc_base:"1f471-1f3fe-2640",uc_output:"1f471-1f3fe-200d-2640-fe0f",uc_match:"1f471-1f3fe-2640-fe0f",uc_greedy:"1f471-1f3fe-2640",shortnames:[":blond-haired_woman_medium_dark_skin_tone:"],category:"people"},":blond-haired_woman_tone5:":{uc_base:"1f471-1f3ff-2640",uc_output:"1f471-1f3ff-200d-2640-fe0f",uc_match:"1f471-1f3ff-2640-fe0f",uc_greedy:"1f471-1f3ff-2640",shortnames:[":blond-haired_woman_dark_skin_tone:"],category:"people"},":eye_in_speech_bubble:":{uc_base:"1f441-1f5e8",uc_output:"1f441-fe0f-200d-1f5e8-fe0f",uc_match:"1f441-fe0f-200d-1f5e8",uc_greedy:"1f441-1f5e8",shortnames:[],category:"symbols"},":man_biking_tone1:":{uc_base:"1f6b4-1f3fb-2642",uc_output:"1f6b4-1f3fb-200d-2642-fe0f",uc_match:"1f6b4-1f3fb-2642-fe0f",uc_greedy:"1f6b4-1f3fb-2642",shortnames:[":man_biking_light_skin_tone:"],category:"activity"},":man_biking_tone2:":{uc_base:"1f6b4-1f3fc-2642",uc_output:"1f6b4-1f3fc-200d-2642-fe0f",uc_match:"1f6b4-1f3fc-2642-fe0f",uc_greedy:"1f6b4-1f3fc-2642",shortnames:[":man_biking_medium_light_skin_tone:"],category:"activity"},":man_biking_tone3:":{uc_base:"1f6b4-1f3fd-2642",uc_output:"1f6b4-1f3fd-200d-2642-fe0f",uc_match:"1f6b4-1f3fd-2642-fe0f",uc_greedy:"1f6b4-1f3fd-2642",shortnames:[":man_biking_medium_skin_tone:"],category:"activity"},":man_biking_tone4:":{uc_base:"1f6b4-1f3fe-2642",uc_output:"1f6b4-1f3fe-200d-2642-fe0f",uc_match:"1f6b4-1f3fe-2642-fe0f",uc_greedy:"1f6b4-1f3fe-2642",shortnames:[":man_biking_medium_dark_skin_tone:"],category:"activity"},":man_biking_tone5:":{uc_base:"1f6b4-1f3ff-2642",uc_output:"1f6b4-1f3ff-200d-2642-fe0f",uc_match:"1f6b4-1f3ff-2642-fe0f",uc_greedy:"1f6b4-1f3ff-2642",shortnames:[":man_biking_dark_skin_tone:"],category:"activity"},":man_bowing_tone1:":{uc_base:"1f647-1f3fb-2642",uc_output:"1f647-1f3fb-200d-2642-fe0f",uc_match:"1f647-1f3fb-2642-fe0f",uc_greedy:"1f647-1f3fb-2642",shortnames:[":man_bowing_light_skin_tone:"],category:"people"},":man_bowing_tone2:":{uc_base:"1f647-1f3fc-2642",uc_output:"1f647-1f3fc-200d-2642-fe0f",uc_match:"1f647-1f3fc-2642-fe0f",uc_greedy:"1f647-1f3fc-2642",shortnames:[":man_bowing_medium_light_skin_tone:"],category:"people"},":man_bowing_tone3:":{uc_base:"1f647-1f3fd-2642",uc_output:"1f647-1f3fd-200d-2642-fe0f",uc_match:"1f647-1f3fd-2642-fe0f",uc_greedy:"1f647-1f3fd-2642",shortnames:[":man_bowing_medium_skin_tone:"],category:"people"},":man_bowing_tone4:":{uc_base:"1f647-1f3fe-2642",uc_output:"1f647-1f3fe-200d-2642-fe0f",uc_match:"1f647-1f3fe-2642-fe0f",uc_greedy:"1f647-1f3fe-2642",shortnames:[":man_bowing_medium_dark_skin_tone:"],category:"people"},":man_bowing_tone5:":{uc_base:"1f647-1f3ff-2642",uc_output:"1f647-1f3ff-200d-2642-fe0f",uc_match:"1f647-1f3ff-2642-fe0f",uc_greedy:"1f647-1f3ff-2642",shortnames:[":man_bowing_dark_skin_tone:"],category:"people"},":man_cartwheeling_tone1:":{uc_base:"1f938-1f3fb-2642",uc_output:"1f938-1f3fb-200d-2642-fe0f",uc_match:"1f938-1f3fb-2642-fe0f",uc_greedy:"1f938-1f3fb-2642",shortnames:[":man_cartwheeling_light_skin_tone:"],category:"activity"},":man_cartwheeling_tone2:":{uc_base:"1f938-1f3fc-2642",uc_output:"1f938-1f3fc-200d-2642-fe0f",uc_match:"1f938-1f3fc-2642-fe0f",uc_greedy:"1f938-1f3fc-2642",shortnames:[":man_cartwheeling_medium_light_skin_tone:"],category:"activity"},":man_cartwheeling_tone3:":{uc_base:"1f938-1f3fd-2642",uc_output:"1f938-1f3fd-200d-2642-fe0f",uc_match:"1f938-1f3fd-2642-fe0f",uc_greedy:"1f938-1f3fd-2642",shortnames:[":man_cartwheeling_medium_skin_tone:"],category:"activity"},":man_cartwheeling_tone4:":{uc_base:"1f938-1f3fe-2642",uc_output:"1f938-1f3fe-200d-2642-fe0f",uc_match:"1f938-1f3fe-2642-fe0f",uc_greedy:"1f938-1f3fe-2642",shortnames:[":man_cartwheeling_medium_dark_skin_tone:"],category:"activity"},":man_cartwheeling_tone5:":{uc_base:"1f938-1f3ff-2642",uc_output:"1f938-1f3ff-200d-2642-fe0f",uc_match:"1f938-1f3ff-2642-fe0f",uc_greedy:"1f938-1f3ff-2642",shortnames:[":man_cartwheeling_dark_skin_tone:"],category:"activity"},":man_climbing_tone1:":{uc_base:"1f9d7-1f3fb-2642",uc_output:"1f9d7-1f3fb-200d-2642-fe0f",uc_match:"1f9d7-1f3fb-2642-fe0f",uc_greedy:"1f9d7-1f3fb-2642",shortnames:[":man_climbing_light_skin_tone:"],category:"activity"},":man_climbing_tone2:":{uc_base:"1f9d7-1f3fc-2642",uc_output:"1f9d7-1f3fc-200d-2642-fe0f",uc_match:"1f9d7-1f3fc-2642-fe0f",uc_greedy:"1f9d7-1f3fc-2642",shortnames:[":man_climbing_medium_light_skin_tone:"],category:"activity"},":man_climbing_tone3:":{uc_base:"1f9d7-1f3fd-2642",uc_output:"1f9d7-1f3fd-200d-2642-fe0f",uc_match:"1f9d7-1f3fd-2642-fe0f",uc_greedy:"1f9d7-1f3fd-2642",shortnames:[":man_climbing_medium_skin_tone:"],category:"activity"},":man_climbing_tone4:":{uc_base:"1f9d7-1f3fe-2642",uc_output:"1f9d7-1f3fe-200d-2642-fe0f",uc_match:"1f9d7-1f3fe-2642-fe0f",uc_greedy:"1f9d7-1f3fe-2642",shortnames:[":man_climbing_medium_dark_skin_tone:"],category:"activity"},":man_climbing_tone5:":{uc_base:"1f9d7-1f3ff-2642",uc_output:"1f9d7-1f3ff-200d-2642-fe0f",uc_match:"1f9d7-1f3ff-2642-fe0f",uc_greedy:"1f9d7-1f3ff-2642",shortnames:[":man_climbing_dark_skin_tone:"],category:"activity"},":man_construction_worker_tone1:":{uc_base:"1f477-1f3fb-2642",uc_output:"1f477-1f3fb-200d-2642-fe0f",uc_match:"1f477-1f3fb-2642-fe0f",uc_greedy:"1f477-1f3fb-2642",shortnames:[":man_construction_worker_light_skin_tone:"],category:"people"},":man_construction_worker_tone2:":{uc_base:"1f477-1f3fc-2642",uc_output:"1f477-1f3fc-200d-2642-fe0f",uc_match:"1f477-1f3fc-2642-fe0f",uc_greedy:"1f477-1f3fc-2642",shortnames:[":man_construction_worker_medium_light_skin_tone:"],category:"people"},":man_construction_worker_tone3:":{uc_base:"1f477-1f3fd-2642",uc_output:"1f477-1f3fd-200d-2642-fe0f",uc_match:"1f477-1f3fd-2642-fe0f",uc_greedy:"1f477-1f3fd-2642",shortnames:[":man_construction_worker_medium_skin_tone:"],category:"people"},":man_construction_worker_tone4:":{uc_base:"1f477-1f3fe-2642",uc_output:"1f477-1f3fe-200d-2642-fe0f",uc_match:"1f477-1f3fe-2642-fe0f",uc_greedy:"1f477-1f3fe-2642",shortnames:[":man_construction_worker_medium_dark_skin_tone:"],category:"people"},":man_construction_worker_tone5:":{uc_base:"1f477-1f3ff-2642",uc_output:"1f477-1f3ff-200d-2642-fe0f",uc_match:"1f477-1f3ff-2642-fe0f",uc_greedy:"1f477-1f3ff-2642",shortnames:[":man_construction_worker_dark_skin_tone:"],category:"people"},":man_detective_tone1:":{uc_base:"1f575-1f3fb-2642",uc_output:"1f575-1f3fb-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fb-2642-fe0f",uc_greedy:"1f575-1f3fb-2642",shortnames:[":man_detective_light_skin_tone:"],category:"people"},":man_detective_tone2:":{uc_base:"1f575-1f3fc-2642",uc_output:"1f575-1f3fc-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fc-2642-fe0f",uc_greedy:"1f575-1f3fc-2642",shortnames:[":man_detective_medium_light_skin_tone:"],category:"people"},":man_detective_tone3:":{uc_base:"1f575-1f3fd-2642",uc_output:"1f575-1f3fd-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fd-2642-fe0f",uc_greedy:"1f575-1f3fd-2642",shortnames:[":man_detective_medium_skin_tone:"],category:"people"},":man_detective_tone4:":{uc_base:"1f575-1f3fe-2642",uc_output:"1f575-1f3fe-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3fe-2642-fe0f",uc_greedy:"1f575-1f3fe-2642",shortnames:[":man_detective_medium_dark_skin_tone:"],category:"people"},":man_detective_tone5:":{uc_base:"1f575-1f3ff-2642",uc_output:"1f575-1f3ff-200d-2642-fe0f",uc_match:"1f575-fe0f-1f3ff-2642-fe0f",uc_greedy:"1f575-1f3ff-2642",shortnames:[":man_detective_dark_skin_tone:"],category:"people"},":man_elf_tone1:":{uc_base:"1f9dd-1f3fb-2642",uc_output:"1f9dd-1f3fb-200d-2642-fe0f",uc_match:"1f9dd-1f3fb-2642-fe0f",uc_greedy:"1f9dd-1f3fb-2642",shortnames:[":man_elf_light_skin_tone:"],category:"people"},":man_elf_tone2:":{uc_base:"1f9dd-1f3fc-2642",uc_output:"1f9dd-1f3fc-200d-2642-fe0f",uc_match:"1f9dd-1f3fc-2642-fe0f",uc_greedy:"1f9dd-1f3fc-2642",shortnames:[":man_elf_medium_light_skin_tone:"],category:"people"},":man_elf_tone3:":{uc_base:"1f9dd-1f3fd-2642",uc_output:"1f9dd-1f3fd-200d-2642-fe0f",uc_match:"1f9dd-1f3fd-2642-fe0f",uc_greedy:"1f9dd-1f3fd-2642",shortnames:[":man_elf_medium_skin_tone:"],category:"people"},":man_elf_tone4:":{uc_base:"1f9dd-1f3fe-2642",uc_output:"1f9dd-1f3fe-200d-2642-fe0f",uc_match:"1f9dd-1f3fe-2642-fe0f",uc_greedy:"1f9dd-1f3fe-2642",shortnames:[":man_elf_medium_dark_skin_tone:"],category:"people"},":man_elf_tone5:":{uc_base:"1f9dd-1f3ff-2642",uc_output:"1f9dd-1f3ff-200d-2642-fe0f",uc_match:"1f9dd-1f3ff-2642-fe0f",uc_greedy:"1f9dd-1f3ff-2642",shortnames:[":man_elf_dark_skin_tone:"],category:"people"},":man_facepalming_tone1:":{uc_base:"1f926-1f3fb-2642",uc_output:"1f926-1f3fb-200d-2642-fe0f",uc_match:"1f926-1f3fb-2642-fe0f",uc_greedy:"1f926-1f3fb-2642",shortnames:[":man_facepalming_light_skin_tone:"],category:"people"},":man_facepalming_tone2:":{uc_base:"1f926-1f3fc-2642",uc_output:"1f926-1f3fc-200d-2642-fe0f",uc_match:"1f926-1f3fc-2642-fe0f",uc_greedy:"1f926-1f3fc-2642",shortnames:[":man_facepalming_medium_light_skin_tone:"],category:"people"},":man_facepalming_tone3:":{uc_base:"1f926-1f3fd-2642",uc_output:"1f926-1f3fd-200d-2642-fe0f",uc_match:"1f926-1f3fd-2642-fe0f",uc_greedy:"1f926-1f3fd-2642",shortnames:[":man_facepalming_medium_skin_tone:"],category:"people"},":man_facepalming_tone4:":{uc_base:"1f926-1f3fe-2642",uc_output:"1f926-1f3fe-200d-2642-fe0f",uc_match:"1f926-1f3fe-2642-fe0f",uc_greedy:"1f926-1f3fe-2642",shortnames:[":man_facepalming_medium_dark_skin_tone:"],category:"people"},":man_facepalming_tone5:":{uc_base:"1f926-1f3ff-2642",uc_output:"1f926-1f3ff-200d-2642-fe0f",uc_match:"1f926-1f3ff-2642-fe0f",uc_greedy:"1f926-1f3ff-2642",shortnames:[":man_facepalming_dark_skin_tone:"],category:"people"},":man_fairy_tone1:":{uc_base:"1f9da-1f3fb-2642",uc_output:"1f9da-1f3fb-200d-2642-fe0f",uc_match:"1f9da-1f3fb-2642-fe0f",uc_greedy:"1f9da-1f3fb-2642",shortnames:[":man_fairy_light_skin_tone:"],category:"people"},":man_fairy_tone2:":{uc_base:"1f9da-1f3fc-2642",uc_output:"1f9da-1f3fc-200d-2642-fe0f",uc_match:"1f9da-1f3fc-2642-fe0f",uc_greedy:"1f9da-1f3fc-2642",shortnames:[":man_fairy_medium_light_skin_tone:"],category:"people"},":man_fairy_tone3:":{uc_base:"1f9da-1f3fd-2642",uc_output:"1f9da-1f3fd-200d-2642-fe0f",uc_match:"1f9da-1f3fd-2642-fe0f",uc_greedy:"1f9da-1f3fd-2642",shortnames:[":man_fairy_medium_skin_tone:"],category:"people"},":man_fairy_tone4:":{uc_base:"1f9da-1f3fe-2642",uc_output:"1f9da-1f3fe-200d-2642-fe0f",uc_match:"1f9da-1f3fe-2642-fe0f",uc_greedy:"1f9da-1f3fe-2642",shortnames:[":man_fairy_medium_dark_skin_tone:"],category:"people"},":man_fairy_tone5:":{uc_base:"1f9da-1f3ff-2642",uc_output:"1f9da-1f3ff-200d-2642-fe0f",uc_match:"1f9da-1f3ff-2642-fe0f",uc_greedy:"1f9da-1f3ff-2642",shortnames:[":man_fairy_dark_skin_tone:"],category:"people"},":man_frowning_tone1:":{uc_base:"1f64d-1f3fb-2642",uc_output:"1f64d-1f3fb-200d-2642-fe0f",uc_match:"1f64d-1f3fb-2642-fe0f",uc_greedy:"1f64d-1f3fb-2642",shortnames:[":man_frowning_light_skin_tone:"],category:"people"},":man_frowning_tone2:":{uc_base:"1f64d-1f3fc-2642",uc_output:"1f64d-1f3fc-200d-2642-fe0f",uc_match:"1f64d-1f3fc-2642-fe0f",uc_greedy:"1f64d-1f3fc-2642",shortnames:[":man_frowning_medium_light_skin_tone:"],category:"people"},":man_frowning_tone3:":{uc_base:"1f64d-1f3fd-2642",uc_output:"1f64d-1f3fd-200d-2642-fe0f",uc_match:"1f64d-1f3fd-2642-fe0f",uc_greedy:"1f64d-1f3fd-2642",shortnames:[":man_frowning_medium_skin_tone:"],category:"people"},":man_frowning_tone4:":{uc_base:"1f64d-1f3fe-2642",uc_output:"1f64d-1f3fe-200d-2642-fe0f",uc_match:"1f64d-1f3fe-2642-fe0f",uc_greedy:"1f64d-1f3fe-2642",shortnames:[":man_frowning_medium_dark_skin_tone:"],category:"people"},":man_frowning_tone5:":{uc_base:"1f64d-1f3ff-2642",uc_output:"1f64d-1f3ff-200d-2642-fe0f",uc_match:"1f64d-1f3ff-2642-fe0f",uc_greedy:"1f64d-1f3ff-2642",shortnames:[":man_frowning_dark_skin_tone:"],category:"people"},":man_gesturing_no_tone1:":{uc_base:"1f645-1f3fb-2642",uc_output:"1f645-1f3fb-200d-2642-fe0f",uc_match:"1f645-1f3fb-2642-fe0f",uc_greedy:"1f645-1f3fb-2642",shortnames:[":man_gesturing_no_light_skin_tone:"],category:"people"},":man_gesturing_no_tone2:":{uc_base:"1f645-1f3fc-2642",uc_output:"1f645-1f3fc-200d-2642-fe0f",uc_match:"1f645-1f3fc-2642-fe0f",uc_greedy:"1f645-1f3fc-2642",shortnames:[":man_gesturing_no_medium_light_skin_tone:"],category:"people"},":man_gesturing_no_tone3:":{uc_base:"1f645-1f3fd-2642",uc_output:"1f645-1f3fd-200d-2642-fe0f",uc_match:"1f645-1f3fd-2642-fe0f",uc_greedy:"1f645-1f3fd-2642",shortnames:[":man_gesturing_no_medium_skin_tone:"],category:"people"},":man_gesturing_no_tone4:":{uc_base:"1f645-1f3fe-2642",uc_output:"1f645-1f3fe-200d-2642-fe0f",uc_match:"1f645-1f3fe-2642-fe0f",uc_greedy:"1f645-1f3fe-2642",shortnames:[":man_gesturing_no_medium_dark_skin_tone:"],category:"people"},":man_gesturing_no_tone5:":{uc_base:"1f645-1f3ff-2642",uc_output:"1f645-1f3ff-200d-2642-fe0f",uc_match:"1f645-1f3ff-2642-fe0f",uc_greedy:"1f645-1f3ff-2642",shortnames:[":man_gesturing_no_dark_skin_tone:"],category:"people"},":man_gesturing_ok_tone1:":{uc_base:"1f646-1f3fb-2642",uc_output:"1f646-1f3fb-200d-2642-fe0f",uc_match:"1f646-1f3fb-2642-fe0f",uc_greedy:"1f646-1f3fb-2642",shortnames:[":man_gesturing_ok_light_skin_tone:"],category:"people"},":man_gesturing_ok_tone2:":{uc_base:"1f646-1f3fc-2642",uc_output:"1f646-1f3fc-200d-2642-fe0f",uc_match:"1f646-1f3fc-2642-fe0f",uc_greedy:"1f646-1f3fc-2642",shortnames:[":man_gesturing_ok_medium_light_skin_tone:"],category:"people"},":man_gesturing_ok_tone3:":{uc_base:"1f646-1f3fd-2642",uc_output:"1f646-1f3fd-200d-2642-fe0f",uc_match:"1f646-1f3fd-2642-fe0f",uc_greedy:"1f646-1f3fd-2642",shortnames:[":man_gesturing_ok_medium_skin_tone:"],category:"people"},":man_gesturing_ok_tone4:":{uc_base:"1f646-1f3fe-2642",uc_output:"1f646-1f3fe-200d-2642-fe0f",uc_match:"1f646-1f3fe-2642-fe0f",uc_greedy:"1f646-1f3fe-2642",shortnames:[":man_gesturing_ok_medium_dark_skin_tone:"],category:"people"},":man_gesturing_ok_tone5:":{uc_base:"1f646-1f3ff-2642",uc_output:"1f646-1f3ff-200d-2642-fe0f",uc_match:"1f646-1f3ff-2642-fe0f",uc_greedy:"1f646-1f3ff-2642",shortnames:[":man_gesturing_ok_dark_skin_tone:"],category:"people"},":man_getting_face_massage_tone1:":{uc_base:"1f486-1f3fb-2642",uc_output:"1f486-1f3fb-200d-2642-fe0f",uc_match:"1f486-1f3fb-2642-fe0f",uc_greedy:"1f486-1f3fb-2642",shortnames:[":man_getting_face_massage_light_skin_tone:"],category:"people"},":man_getting_face_massage_tone2:":{uc_base:"1f486-1f3fc-2642",uc_output:"1f486-1f3fc-200d-2642-fe0f",uc_match:"1f486-1f3fc-2642-fe0f",uc_greedy:"1f486-1f3fc-2642",shortnames:[":man_getting_face_massage_medium_light_skin_tone:"],category:"people"},":man_getting_face_massage_tone3:":{uc_base:"1f486-1f3fd-2642",uc_output:"1f486-1f3fd-200d-2642-fe0f",uc_match:"1f486-1f3fd-2642-fe0f",uc_greedy:"1f486-1f3fd-2642",shortnames:[":man_getting_face_massage_medium_skin_tone:"],category:"people"},":man_getting_face_massage_tone4:":{uc_base:"1f486-1f3fe-2642",uc_output:"1f486-1f3fe-200d-2642-fe0f",uc_match:"1f486-1f3fe-2642-fe0f",uc_greedy:"1f486-1f3fe-2642",shortnames:[":man_getting_face_massage_medium_dark_skin_tone:"],category:"people"},":man_getting_face_massage_tone5:":{uc_base:"1f486-1f3ff-2642",uc_output:"1f486-1f3ff-200d-2642-fe0f",uc_match:"1f486-1f3ff-2642-fe0f",uc_greedy:"1f486-1f3ff-2642",shortnames:[":man_getting_face_massage_dark_skin_tone:"],category:"people"},":man_getting_haircut_tone1:":{uc_base:"1f487-1f3fb-2642",uc_output:"1f487-1f3fb-200d-2642-fe0f",uc_match:"1f487-1f3fb-2642-fe0f",uc_greedy:"1f487-1f3fb-2642",shortnames:[":man_getting_haircut_light_skin_tone:"],category:"people"},":man_getting_haircut_tone2:":{uc_base:"1f487-1f3fc-2642",uc_output:"1f487-1f3fc-200d-2642-fe0f",uc_match:"1f487-1f3fc-2642-fe0f",uc_greedy:"1f487-1f3fc-2642",shortnames:[":man_getting_haircut_medium_light_skin_tone:"],category:"people"},":man_getting_haircut_tone3:":{uc_base:"1f487-1f3fd-2642",uc_output:"1f487-1f3fd-200d-2642-fe0f",uc_match:"1f487-1f3fd-2642-fe0f",uc_greedy:"1f487-1f3fd-2642",shortnames:[":man_getting_haircut_medium_skin_tone:"],category:"people"},":man_getting_haircut_tone4:":{uc_base:"1f487-1f3fe-2642",uc_output:"1f487-1f3fe-200d-2642-fe0f",uc_match:"1f487-1f3fe-2642-fe0f",uc_greedy:"1f487-1f3fe-2642",shortnames:[":man_getting_haircut_medium_dark_skin_tone:"],category:"people"},":man_getting_haircut_tone5:":{uc_base:"1f487-1f3ff-2642",uc_output:"1f487-1f3ff-200d-2642-fe0f",uc_match:"1f487-1f3ff-2642-fe0f",uc_greedy:"1f487-1f3ff-2642",shortnames:[":man_getting_haircut_dark_skin_tone:"],category:"people"},":man_golfing_tone1:":{uc_base:"1f3cc-1f3fb-2642",uc_output:"1f3cc-1f3fb-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fb-2642-fe0f",uc_greedy:"1f3cc-1f3fb-2642",shortnames:[":man_golfing_light_skin_tone:"],category:"activity"},":man_golfing_tone2:":{uc_base:"1f3cc-1f3fc-2642",uc_output:"1f3cc-1f3fc-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fc-2642-fe0f",uc_greedy:"1f3cc-1f3fc-2642",shortnames:[":man_golfing_medium_light_skin_tone:"],category:"activity"},":man_golfing_tone3:":{uc_base:"1f3cc-1f3fd-2642",uc_output:"1f3cc-1f3fd-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fd-2642-fe0f",uc_greedy:"1f3cc-1f3fd-2642",shortnames:[":man_golfing_medium_skin_tone:"],category:"activity"},":man_golfing_tone4:":{uc_base:"1f3cc-1f3fe-2642",uc_output:"1f3cc-1f3fe-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3fe-2642-fe0f",uc_greedy:"1f3cc-1f3fe-2642",shortnames:[":man_golfing_medium_dark_skin_tone:"],category:"activity"},":man_golfing_tone5:":{uc_base:"1f3cc-1f3ff-2642",uc_output:"1f3cc-1f3ff-200d-2642-fe0f",uc_match:"1f3cc-fe0f-1f3ff-2642-fe0f",uc_greedy:"1f3cc-1f3ff-2642",shortnames:[":man_golfing_dark_skin_tone:"],category:"activity"},":man_guard_tone1:":{uc_base:"1f482-1f3fb-2642",uc_output:"1f482-1f3fb-200d-2642-fe0f",uc_match:"1f482-1f3fb-2642-fe0f",uc_greedy:"1f482-1f3fb-2642",shortnames:[":man_guard_light_skin_tone:"],category:"people"},":man_guard_tone2:":{uc_base:"1f482-1f3fc-2642",uc_output:"1f482-1f3fc-200d-2642-fe0f",uc_match:"1f482-1f3fc-2642-fe0f",uc_greedy:"1f482-1f3fc-2642",shortnames:[":man_guard_medium_light_skin_tone:"],category:"people"},":man_guard_tone3:":{uc_base:"1f482-1f3fd-2642",uc_output:"1f482-1f3fd-200d-2642-fe0f",uc_match:"1f482-1f3fd-2642-fe0f",uc_greedy:"1f482-1f3fd-2642",shortnames:[":man_guard_medium_skin_tone:"],category:"people"},":man_guard_tone4:":{uc_base:"1f482-1f3fe-2642",uc_output:"1f482-1f3fe-200d-2642-fe0f",uc_match:"1f482-1f3fe-2642-fe0f",uc_greedy:"1f482-1f3fe-2642",shortnames:[":man_guard_medium_dark_skin_tone:"],category:"people"},":man_guard_tone5:":{uc_base:"1f482-1f3ff-2642",uc_output:"1f482-1f3ff-200d-2642-fe0f",uc_match:"1f482-1f3ff-2642-fe0f",uc_greedy:"1f482-1f3ff-2642",shortnames:[":man_guard_dark_skin_tone:"],category:"people"},":man_health_worker_tone1:":{uc_base:"1f468-1f3fb-2695",uc_output:"1f468-1f3fb-200d-2695-fe0f",uc_match:"1f468-1f3fb-2695-fe0f",uc_greedy:"1f468-1f3fb-2695",shortnames:[":man_health_worker_light_skin_tone:"],category:"people"},":man_health_worker_tone2:":{uc_base:"1f468-1f3fc-2695",uc_output:"1f468-1f3fc-200d-2695-fe0f",uc_match:"1f468-1f3fc-2695-fe0f",uc_greedy:"1f468-1f3fc-2695",shortnames:[":man_health_worker_medium_light_skin_tone:"],category:"people"},":man_health_worker_tone3:":{uc_base:"1f468-1f3fd-2695",uc_output:"1f468-1f3fd-200d-2695-fe0f",uc_match:"1f468-1f3fd-2695-fe0f",uc_greedy:"1f468-1f3fd-2695",shortnames:[":man_health_worker_medium_skin_tone:"],category:"people"},":man_health_worker_tone4:":{uc_base:"1f468-1f3fe-2695",uc_output:"1f468-1f3fe-200d-2695-fe0f",uc_match:"1f468-1f3fe-2695-fe0f",uc_greedy:"1f468-1f3fe-2695",shortnames:[":man_health_worker_medium_dark_skin_tone:"],category:"people"},":man_health_worker_tone5:":{uc_base:"1f468-1f3ff-2695",uc_output:"1f468-1f3ff-200d-2695-fe0f",uc_match:"1f468-1f3ff-2695-fe0f",uc_greedy:"1f468-1f3ff-2695",shortnames:[":man_health_worker_dark_skin_tone:"],category:"people"},":man_in_lotus_position_tone1:":{uc_base:"1f9d8-1f3fb-2642",uc_output:"1f9d8-1f3fb-200d-2642-fe0f",uc_match:"1f9d8-1f3fb-2642-fe0f",uc_greedy:"1f9d8-1f3fb-2642",shortnames:[":man_in_lotus_position_light_skin_tone:"],category:"activity"},":man_in_lotus_position_tone2:":{uc_base:"1f9d8-1f3fc-2642",uc_output:"1f9d8-1f3fc-200d-2642-fe0f",uc_match:"1f9d8-1f3fc-2642-fe0f",uc_greedy:"1f9d8-1f3fc-2642",shortnames:[":man_in_lotus_position_medium_light_skin_tone:"],category:"activity"},":man_in_lotus_position_tone3:":{uc_base:"1f9d8-1f3fd-2642",uc_output:"1f9d8-1f3fd-200d-2642-fe0f",uc_match:"1f9d8-1f3fd-2642-fe0f",uc_greedy:"1f9d8-1f3fd-2642",shortnames:[":man_in_lotus_position_medium_skin_tone:"],category:"activity"},":man_in_lotus_position_tone4:":{uc_base:"1f9d8-1f3fe-2642",uc_output:"1f9d8-1f3fe-200d-2642-fe0f",uc_match:"1f9d8-1f3fe-2642-fe0f",uc_greedy:"1f9d8-1f3fe-2642",shortnames:[":man_in_lotus_position_medium_dark_skin_tone:"],category:"activity"},":man_in_lotus_position_tone5:":{uc_base:"1f9d8-1f3ff-2642",uc_output:"1f9d8-1f3ff-200d-2642-fe0f",uc_match:"1f9d8-1f3ff-2642-fe0f",uc_greedy:"1f9d8-1f3ff-2642",shortnames:[":man_in_lotus_position_dark_skin_tone:"],category:"activity"},":man_in_steamy_room_tone1:":{uc_base:"1f9d6-1f3fb-2642",uc_output:"1f9d6-1f3fb-200d-2642-fe0f",uc_match:"1f9d6-1f3fb-2642-fe0f",uc_greedy:"1f9d6-1f3fb-2642",shortnames:[":man_in_steamy_room_light_skin_tone:"],category:"people"},":man_in_steamy_room_tone2:":{uc_base:"1f9d6-1f3fc-2642",uc_output:"1f9d6-1f3fc-200d-2642-fe0f",uc_match:"1f9d6-1f3fc-2642-fe0f",uc_greedy:"1f9d6-1f3fc-2642",shortnames:[":man_in_steamy_room_medium_light_skin_tone:"],category:"people"},":man_in_steamy_room_tone3:":{uc_base:"1f9d6-1f3fd-2642",uc_output:"1f9d6-1f3fd-200d-2642-fe0f",uc_match:"1f9d6-1f3fd-2642-fe0f",uc_greedy:"1f9d6-1f3fd-2642",shortnames:[":man_in_steamy_room_medium_skin_tone:"],category:"people"},":man_in_steamy_room_tone4:":{uc_base:"1f9d6-1f3fe-2642",uc_output:"1f9d6-1f3fe-200d-2642-fe0f",uc_match:"1f9d6-1f3fe-2642-fe0f",uc_greedy:"1f9d6-1f3fe-2642",shortnames:[":man_in_steamy_room_medium_dark_skin_tone:"],category:"people"},":man_in_steamy_room_tone5:":{uc_base:"1f9d6-1f3ff-2642",uc_output:"1f9d6-1f3ff-200d-2642-fe0f",uc_match:"1f9d6-1f3ff-2642-fe0f",uc_greedy:"1f9d6-1f3ff-2642",shortnames:[":man_in_steamy_room_dark_skin_tone:"],category:"people"},":man_judge_tone1:":{uc_base:"1f468-1f3fb-2696",uc_output:"1f468-1f3fb-200d-2696-fe0f",uc_match:"1f468-1f3fb-2696-fe0f",uc_greedy:"1f468-1f3fb-2696",shortnames:[":man_judge_light_skin_tone:"],category:"people"},":man_judge_tone2:":{uc_base:"1f468-1f3fc-2696",uc_output:"1f468-1f3fc-200d-2696-fe0f",uc_match:"1f468-1f3fc-2696-fe0f",uc_greedy:"1f468-1f3fc-2696",shortnames:[":man_judge_medium_light_skin_tone:"],category:"people"},":man_judge_tone3:":{uc_base:"1f468-1f3fd-2696",uc_output:"1f468-1f3fd-200d-2696-fe0f",uc_match:"1f468-1f3fd-2696-fe0f",uc_greedy:"1f468-1f3fd-2696",shortnames:[":man_judge_medium_skin_tone:"],category:"people"},":man_judge_tone4:":{uc_base:"1f468-1f3fe-2696",uc_output:"1f468-1f3fe-200d-2696-fe0f",uc_match:"1f468-1f3fe-2696-fe0f",uc_greedy:"1f468-1f3fe-2696",shortnames:[":man_judge_medium_dark_skin_tone:"],category:"people"},":man_judge_tone5:":{uc_base:"1f468-1f3ff-2696",uc_output:"1f468-1f3ff-200d-2696-fe0f",uc_match:"1f468-1f3ff-2696-fe0f",uc_greedy:"1f468-1f3ff-2696",shortnames:[":man_judge_dark_skin_tone:"],category:"people"},":man_juggling_tone1:":{uc_base:"1f939-1f3fb-2642",uc_output:"1f939-1f3fb-200d-2642-fe0f",uc_match:"1f939-1f3fb-2642-fe0f",uc_greedy:"1f939-1f3fb-2642",shortnames:[":man_juggling_light_skin_tone:"],category:"activity"},":man_juggling_tone2:":{uc_base:"1f939-1f3fc-2642",uc_output:"1f939-1f3fc-200d-2642-fe0f",uc_match:"1f939-1f3fc-2642-fe0f",uc_greedy:"1f939-1f3fc-2642",shortnames:[":man_juggling_medium_light_skin_tone:"],category:"activity"},":man_juggling_tone3:":{uc_base:"1f939-1f3fd-2642",uc_output:"1f939-1f3fd-200d-2642-fe0f",uc_match:"1f939-1f3fd-2642-fe0f",uc_greedy:"1f939-1f3fd-2642",shortnames:[":man_juggling_medium_skin_tone:"],category:"activity"},":man_juggling_tone4:":{uc_base:"1f939-1f3fe-2642",uc_output:"1f939-1f3fe-200d-2642-fe0f",uc_match:"1f939-1f3fe-2642-fe0f",uc_greedy:"1f939-1f3fe-2642",shortnames:[":man_juggling_medium_dark_skin_tone:"],category:"activity"},":man_juggling_tone5:":{uc_base:"1f939-1f3ff-2642",uc_output:"1f939-1f3ff-200d-2642-fe0f",uc_match:"1f939-1f3ff-2642-fe0f",uc_greedy:"1f939-1f3ff-2642",shortnames:[":man_juggling_dark_skin_tone:"],category:"activity"},":man_lifting_weights_tone1:":{uc_base:"1f3cb-1f3fb-2642",uc_output:"1f3cb-1f3fb-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fb-2642-fe0f",uc_greedy:"1f3cb-1f3fb-2642",shortnames:[":man_lifting_weights_light_skin_tone:"],category:"activity"},":man_lifting_weights_tone2:":{uc_base:"1f3cb-1f3fc-2642",uc_output:"1f3cb-1f3fc-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fc-2642-fe0f",uc_greedy:"1f3cb-1f3fc-2642",shortnames:[":man_lifting_weights_medium_light_skin_tone:"],category:"activity"},":man_lifting_weights_tone3:":{uc_base:"1f3cb-1f3fd-2642",uc_output:"1f3cb-1f3fd-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fd-2642-fe0f",uc_greedy:"1f3cb-1f3fd-2642",shortnames:[":man_lifting_weights_medium_skin_tone:"],category:"activity"},":man_lifting_weights_tone4:":{uc_base:"1f3cb-1f3fe-2642",uc_output:"1f3cb-1f3fe-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3fe-2642-fe0f",uc_greedy:"1f3cb-1f3fe-2642",shortnames:[":man_lifting_weights_medium_dark_skin_tone:"],category:"activity"},":man_lifting_weights_tone5:":{uc_base:"1f3cb-1f3ff-2642",uc_output:"1f3cb-1f3ff-200d-2642-fe0f",uc_match:"1f3cb-fe0f-1f3ff-2642-fe0f",uc_greedy:"1f3cb-1f3ff-2642",shortnames:[":man_lifting_weights_dark_skin_tone:"],category:"activity"},":man_mage_tone1:":{uc_base:"1f9d9-1f3fb-2642",uc_output:"1f9d9-1f3fb-200d-2642-fe0f",uc_match:"1f9d9-1f3fb-2642-fe0f",uc_greedy:"1f9d9-1f3fb-2642",shortnames:[":man_mage_light_skin_tone:"],category:"people"},":man_mage_tone2:":{uc_base:"1f9d9-1f3fc-2642",uc_output:"1f9d9-1f3fc-200d-2642-fe0f",uc_match:"1f9d9-1f3fc-2642-fe0f",uc_greedy:"1f9d9-1f3fc-2642",shortnames:[":man_mage_medium_light_skin_tone:"],category:"people"},":man_mage_tone3:":{uc_base:"1f9d9-1f3fd-2642",uc_output:"1f9d9-1f3fd-200d-2642-fe0f",uc_match:"1f9d9-1f3fd-2642-fe0f",uc_greedy:"1f9d9-1f3fd-2642",shortnames:[":man_mage_medium_skin_tone:"],category:"people"},":man_mage_tone4:":{uc_base:"1f9d9-1f3fe-2642",uc_output:"1f9d9-1f3fe-200d-2642-fe0f",uc_match:"1f9d9-1f3fe-2642-fe0f",uc_greedy:"1f9d9-1f3fe-2642",shortnames:[":man_mage_medium_dark_skin_tone:"],category:"people"},":man_mage_tone5:":{uc_base:"1f9d9-1f3ff-2642",uc_output:"1f9d9-1f3ff-200d-2642-fe0f",uc_match:"1f9d9-1f3ff-2642-fe0f",uc_greedy:"1f9d9-1f3ff-2642",shortnames:[":man_mage_dark_skin_tone:"],category:"people"},":man_mountain_biking_tone1:":{uc_base:"1f6b5-1f3fb-2642",uc_output:"1f6b5-1f3fb-200d-2642-fe0f",uc_match:"1f6b5-1f3fb-2642-fe0f",uc_greedy:"1f6b5-1f3fb-2642",shortnames:[":man_mountain_biking_light_skin_tone:"],category:"activity"},":man_mountain_biking_tone2:":{uc_base:"1f6b5-1f3fc-2642",uc_output:"1f6b5-1f3fc-200d-2642-fe0f",uc_match:"1f6b5-1f3fc-2642-fe0f",uc_greedy:"1f6b5-1f3fc-2642",shortnames:[":man_mountain_biking_medium_light_skin_tone:"],category:"activity"},":man_mountain_biking_tone3:":{uc_base:"1f6b5-1f3fd-2642",uc_output:"1f6b5-1f3fd-200d-2642-fe0f",uc_match:"1f6b5-1f3fd-2642-fe0f",uc_greedy:"1f6b5-1f3fd-2642",shortnames:[":man_mountain_biking_medium_skin_tone:"],category:"activity"},":man_mountain_biking_tone4:":{uc_base:"1f6b5-1f3fe-2642",uc_output:"1f6b5-1f3fe-200d-2642-fe0f",uc_match:"1f6b5-1f3fe-2642-fe0f",uc_greedy:"1f6b5-1f3fe-2642",shortnames:[":man_mountain_biking_medium_dark_skin_tone:"],category:"activity"},":man_mountain_biking_tone5:":{uc_base:"1f6b5-1f3ff-2642",uc_output:"1f6b5-1f3ff-200d-2642-fe0f",uc_match:"1f6b5-1f3ff-2642-fe0f",uc_greedy:"1f6b5-1f3ff-2642",shortnames:[":man_mountain_biking_dark_skin_tone:"],category:"activity"},":man_pilot_tone1:":{uc_base:"1f468-1f3fb-2708",uc_output:"1f468-1f3fb-200d-2708-fe0f",uc_match:"1f468-1f3fb-2708-fe0f",uc_greedy:"1f468-1f3fb-2708",shortnames:[":man_pilot_light_skin_tone:"],category:"people"},":man_pilot_tone2:":{uc_base:"1f468-1f3fc-2708",uc_output:"1f468-1f3fc-200d-2708-fe0f",uc_match:"1f468-1f3fc-2708-fe0f",uc_greedy:"1f468-1f3fc-2708",shortnames:[":man_pilot_medium_light_skin_tone:"],category:"people"},":man_pilot_tone3:":{uc_base:"1f468-1f3fd-2708",uc_output:"1f468-1f3fd-200d-2708-fe0f",uc_match:"1f468-1f3fd-2708-fe0f",uc_greedy:"1f468-1f3fd-2708",shortnames:[":man_pilot_medium_skin_tone:"],category:"people"},":man_pilot_tone4:":{uc_base:"1f468-1f3fe-2708",uc_output:"1f468-1f3fe-200d-2708-fe0f",uc_match:"1f468-1f3fe-2708-fe0f",uc_greedy:"1f468-1f3fe-2708",shortnames:[":man_pilot_medium_dark_skin_tone:"],category:"people"},":man_pilot_tone5:":{uc_base:"1f468-1f3ff-2708",uc_output:"1f468-1f3ff-200d-2708-fe0f",uc_match:"1f468-1f3ff-2708-fe0f",uc_greedy:"1f468-1f3ff-2708",shortnames:[":man_pilot_dark_skin_tone:"],category:"people"},":man_playing_handball_tone1:":{uc_base:"1f93e-1f3fb-2642",uc_output:"1f93e-1f3fb-200d-2642-fe0f",uc_match:"1f93e-1f3fb-2642-fe0f",uc_greedy:"1f93e-1f3fb-2642",shortnames:[":man_playing_handball_light_skin_tone:"],category:"activity"},":man_playing_handball_tone2:":{uc_base:"1f93e-1f3fc-2642",uc_output:"1f93e-1f3fc-200d-2642-fe0f",uc_match:"1f93e-1f3fc-2642-fe0f",uc_greedy:"1f93e-1f3fc-2642",shortnames:[":man_playing_handball_medium_light_skin_tone:"],category:"activity"},":man_playing_handball_tone3:":{uc_base:"1f93e-1f3fd-2642",uc_output:"1f93e-1f3fd-200d-2642-fe0f",uc_match:"1f93e-1f3fd-2642-fe0f",uc_greedy:"1f93e-1f3fd-2642",shortnames:[":man_playing_handball_medium_skin_tone:"],category:"activity"},":man_playing_handball_tone4:":{uc_base:"1f93e-1f3fe-2642",uc_output:"1f93e-1f3fe-200d-2642-fe0f",uc_match:"1f93e-1f3fe-2642-fe0f",uc_greedy:"1f93e-1f3fe-2642",shortnames:[":man_playing_handball_medium_dark_skin_tone:"],category:"activity"},":man_playing_handball_tone5:":{uc_base:"1f93e-1f3ff-2642",uc_output:"1f93e-1f3ff-200d-2642-fe0f",uc_match:"1f93e-1f3ff-2642-fe0f",uc_greedy:"1f93e-1f3ff-2642",shortnames:[":man_playing_handball_dark_skin_tone:"],category:"activity"},":man_playing_water_polo_tone1:":{uc_base:"1f93d-1f3fb-2642",uc_output:"1f93d-1f3fb-200d-2642-fe0f",uc_match:"1f93d-1f3fb-2642-fe0f",uc_greedy:"1f93d-1f3fb-2642",shortnames:[":man_playing_water_polo_light_skin_tone:"],category:"activity"},":man_playing_water_polo_tone2:":{uc_base:"1f93d-1f3fc-2642",uc_output:"1f93d-1f3fc-200d-2642-fe0f",uc_match:"1f93d-1f3fc-2642-fe0f",uc_greedy:"1f93d-1f3fc-2642",shortnames:[":man_playing_water_polo_medium_light_skin_tone:"],category:"activity"},":man_playing_water_polo_tone3:":{uc_base:"1f93d-1f3fd-2642",uc_output:"1f93d-1f3fd-200d-2642-fe0f",uc_match:"1f93d-1f3fd-2642-fe0f",uc_greedy:"1f93d-1f3fd-2642",shortnames:[":man_playing_water_polo_medium_skin_tone:"],category:"activity"},":man_playing_water_polo_tone4:":{uc_base:"1f93d-1f3fe-2642",uc_output:"1f93d-1f3fe-200d-2642-fe0f",uc_match:"1f93d-1f3fe-2642-fe0f",uc_greedy:"1f93d-1f3fe-2642",shortnames:[":man_playing_water_polo_medium_dark_skin_tone:"],category:"activity"},":man_playing_water_polo_tone5:":{uc_base:"1f93d-1f3ff-2642",uc_output:"1f93d-1f3ff-200d-2642-fe0f",uc_match:"1f93d-1f3ff-2642-fe0f",uc_greedy:"1f93d-1f3ff-2642",shortnames:[":man_playing_water_polo_dark_skin_tone:"],category:"activity"},":man_police_officer_tone1:":{uc_base:"1f46e-1f3fb-2642",uc_output:"1f46e-1f3fb-200d-2642-fe0f",uc_match:"1f46e-1f3fb-2642-fe0f",uc_greedy:"1f46e-1f3fb-2642",shortnames:[":man_police_officer_light_skin_tone:"],category:"people"},":man_police_officer_tone2:":{uc_base:"1f46e-1f3fc-2642",uc_output:"1f46e-1f3fc-200d-2642-fe0f",uc_match:"1f46e-1f3fc-2642-fe0f",uc_greedy:"1f46e-1f3fc-2642",shortnames:[":man_police_officer_medium_light_skin_tone:"],category:"people"},":man_police_officer_tone3:":{uc_base:"1f46e-1f3fd-2642",uc_output:"1f46e-1f3fd-200d-2642-fe0f",uc_match:"1f46e-1f3fd-2642-fe0f",uc_greedy:"1f46e-1f3fd-2642",shortnames:[":man_police_officer_medium_skin_tone:"],category:"people"},":man_police_officer_tone4:":{uc_base:"1f46e-1f3fe-2642",uc_output:"1f46e-1f3fe-200d-2642-fe0f",uc_match:"1f46e-1f3fe-2642-fe0f",uc_greedy:"1f46e-1f3fe-2642",shortnames:[":man_police_officer_medium_dark_skin_tone:"],category:"people"},":man_police_officer_tone5:":{uc_base:"1f46e-1f3ff-2642",uc_output:"1f46e-1f3ff-200d-2642-fe0f",uc_match:"1f46e-1f3ff-2642-fe0f",uc_greedy:"1f46e-1f3ff-2642",shortnames:[":man_police_officer_dark_skin_tone:"],category:"people"},":man_pouting_tone1:":{uc_base:"1f64e-1f3fb-2642",uc_output:"1f64e-1f3fb-200d-2642-fe0f",uc_match:"1f64e-1f3fb-2642-fe0f",uc_greedy:"1f64e-1f3fb-2642",shortnames:[":man_pouting_light_skin_tone:"],category:"people"},":man_pouting_tone2:":{uc_base:"1f64e-1f3fc-2642",uc_output:"1f64e-1f3fc-200d-2642-fe0f",uc_match:"1f64e-1f3fc-2642-fe0f",uc_greedy:"1f64e-1f3fc-2642",shortnames:[":man_pouting_medium_light_skin_tone:"],category:"people"},":man_pouting_tone3:":{uc_base:"1f64e-1f3fd-2642",uc_output:"1f64e-1f3fd-200d-2642-fe0f",uc_match:"1f64e-1f3fd-2642-fe0f",uc_greedy:"1f64e-1f3fd-2642",shortnames:[":man_pouting_medium_skin_tone:"],category:"people"},":man_pouting_tone4:":{uc_base:"1f64e-1f3fe-2642",uc_output:"1f64e-1f3fe-200d-2642-fe0f",uc_match:"1f64e-1f3fe-2642-fe0f",uc_greedy:"1f64e-1f3fe-2642",shortnames:[":man_pouting_medium_dark_skin_tone:"],category:"people"},":man_pouting_tone5:":{uc_base:"1f64e-1f3ff-2642",uc_output:"1f64e-1f3ff-200d-2642-fe0f",uc_match:"1f64e-1f3ff-2642-fe0f",uc_greedy:"1f64e-1f3ff-2642",shortnames:[":man_pouting_dark_skin_tone:"],category:"people"},":man_raising_hand_tone1:":{uc_base:"1f64b-1f3fb-2642",uc_output:"1f64b-1f3fb-200d-2642-fe0f",uc_match:"1f64b-1f3fb-2642-fe0f",uc_greedy:"1f64b-1f3fb-2642",shortnames:[":man_raising_hand_light_skin_tone:"],category:"people"},":man_raising_hand_tone2:":{uc_base:"1f64b-1f3fc-2642",uc_output:"1f64b-1f3fc-200d-2642-fe0f",uc_match:"1f64b-1f3fc-2642-fe0f",uc_greedy:"1f64b-1f3fc-2642",shortnames:[":man_raising_hand_medium_light_skin_tone:"],category:"people"},":man_raising_hand_tone3:":{uc_base:"1f64b-1f3fd-2642",uc_output:"1f64b-1f3fd-200d-2642-fe0f",uc_match:"1f64b-1f3fd-2642-fe0f",uc_greedy:"1f64b-1f3fd-2642",shortnames:[":man_raising_hand_medium_skin_tone:"],category:"people"},":man_raising_hand_tone4:":{uc_base:"1f64b-1f3fe-2642",uc_output:"1f64b-1f3fe-200d-2642-fe0f",uc_match:"1f64b-1f3fe-2642-fe0f",uc_greedy:"1f64b-1f3fe-2642",shortnames:[":man_raising_hand_medium_dark_skin_tone:"],category:"people"},":man_raising_hand_tone5:":{uc_base:"1f64b-1f3ff-2642",uc_output:"1f64b-1f3ff-200d-2642-fe0f",uc_match:"1f64b-1f3ff-2642-fe0f",uc_greedy:"1f64b-1f3ff-2642",shortnames:[":man_raising_hand_dark_skin_tone:"],category:"people"},":man_rowing_boat_tone1:":{uc_base:"1f6a3-1f3fb-2642",uc_output:"1f6a3-1f3fb-200d-2642-fe0f",uc_match:"1f6a3-1f3fb-2642-fe0f",uc_greedy:"1f6a3-1f3fb-2642",shortnames:[":man_rowing_boat_light_skin_tone:"],category:"activity"},":man_rowing_boat_tone2:":{uc_base:"1f6a3-1f3fc-2642",uc_output:"1f6a3-1f3fc-200d-2642-fe0f",uc_match:"1f6a3-1f3fc-2642-fe0f",uc_greedy:"1f6a3-1f3fc-2642",shortnames:[":man_rowing_boat_medium_light_skin_tone:"],category:"activity"},":man_rowing_boat_tone3:":{uc_base:"1f6a3-1f3fd-2642",uc_output:"1f6a3-1f3fd-200d-2642-fe0f",uc_match:"1f6a3-1f3fd-2642-fe0f",uc_greedy:"1f6a3-1f3fd-2642",shortnames:[":man_rowing_boat_medium_skin_tone:"],category:"activity"},":man_rowing_boat_tone4:":{uc_base:"1f6a3-1f3fe-2642",uc_output:"1f6a3-1f3fe-200d-2642-fe0f",uc_match:"1f6a3-1f3fe-2642-fe0f",uc_greedy:"1f6a3-1f3fe-2642",shortnames:[":man_rowing_boat_medium_dark_skin_tone:"],category:"activity"},":man_rowing_boat_tone5:":{uc_base:"1f6a3-1f3ff-2642",uc_output:"1f6a3-1f3ff-200d-2642-fe0f",uc_match:"1f6a3-1f3ff-2642-fe0f",uc_greedy:"1f6a3-1f3ff-2642",shortnames:[":man_rowing_boat_dark_skin_tone:"],category:"activity"},":man_running_tone1:":{uc_base:"1f3c3-1f3fb-2642",uc_output:"1f3c3-1f3fb-200d-2642-fe0f",uc_match:"1f3c3-1f3fb-2642-fe0f",uc_greedy:"1f3c3-1f3fb-2642",shortnames:[":man_running_light_skin_tone:"],category:"people"},":man_running_tone2:":{uc_base:"1f3c3-1f3fc-2642",uc_output:"1f3c3-1f3fc-200d-2642-fe0f",uc_match:"1f3c3-1f3fc-2642-fe0f",uc_greedy:"1f3c3-1f3fc-2642",shortnames:[":man_running_medium_light_skin_tone:"],category:"people"},":man_running_tone3:":{uc_base:"1f3c3-1f3fd-2642",uc_output:"1f3c3-1f3fd-200d-2642-fe0f",uc_match:"1f3c3-1f3fd-2642-fe0f",uc_greedy:"1f3c3-1f3fd-2642",shortnames:[":man_running_medium_skin_tone:"],category:"people"},":man_running_tone4:":{uc_base:"1f3c3-1f3fe-2642",uc_output:"1f3c3-1f3fe-200d-2642-fe0f",uc_match:"1f3c3-1f3fe-2642-fe0f",uc_greedy:"1f3c3-1f3fe-2642",shortnames:[":man_running_medium_dark_skin_tone:"],category:"people"},":man_running_tone5:":{uc_base:"1f3c3-1f3ff-2642",uc_output:"1f3c3-1f3ff-200d-2642-fe0f",uc_match:"1f3c3-1f3ff-2642-fe0f",uc_greedy:"1f3c3-1f3ff-2642",shortnames:[":man_running_dark_skin_tone:"],category:"people"},":man_shrugging_tone1:":{uc_base:"1f937-1f3fb-2642",uc_output:"1f937-1f3fb-200d-2642-fe0f",uc_match:"1f937-1f3fb-2642-fe0f",uc_greedy:"1f937-1f3fb-2642",shortnames:[":man_shrugging_light_skin_tone:"],category:"people"},":man_shrugging_tone2:":{uc_base:"1f937-1f3fc-2642",uc_output:"1f937-1f3fc-200d-2642-fe0f",uc_match:"1f937-1f3fc-2642-fe0f",uc_greedy:"1f937-1f3fc-2642",shortnames:[":man_shrugging_medium_light_skin_tone:"],category:"people"},":man_shrugging_tone3:":{uc_base:"1f937-1f3fd-2642",uc_output:"1f937-1f3fd-200d-2642-fe0f",uc_match:"1f937-1f3fd-2642-fe0f",uc_greedy:"1f937-1f3fd-2642",shortnames:[":man_shrugging_medium_skin_tone:"],category:"people"},":man_shrugging_tone4:":{uc_base:"1f937-1f3fe-2642",uc_output:"1f937-1f3fe-200d-2642-fe0f",uc_match:"1f937-1f3fe-2642-fe0f",uc_greedy:"1f937-1f3fe-2642",shortnames:[":man_shrugging_medium_dark_skin_tone:"],category:"people"},":man_shrugging_tone5:":{uc_base:"1f937-1f3ff-2642",uc_output:"1f937-1f3ff-200d-2642-fe0f",uc_match:"1f937-1f3ff-2642-fe0f",uc_greedy:"1f937-1f3ff-2642",shortnames:[":man_shrugging_dark_skin_tone:"],category:"people"},":man_superhero_tone1:":{uc_base:"1f9b8-1f3fb-2642",uc_output:"1f9b8-1f3fb-200d-2642-fe0f",uc_match:"1f9b8-1f3fb-2642-fe0f",uc_greedy:"1f9b8-1f3fb-2642",shortnames:[":man_superhero_light_skin_tone:"],category:"people"},":man_superhero_tone2:":{uc_base:"1f9b8-1f3fc-2642",uc_output:"1f9b8-1f3fc-200d-2642-fe0f",uc_match:"1f9b8-1f3fc-2642-fe0f",uc_greedy:"1f9b8-1f3fc-2642",shortnames:[":man_superhero_medium_light_skin_tone:"],category:"people"},":man_superhero_tone3:":{uc_base:"1f9b8-1f3fd-2642",uc_output:"1f9b8-1f3fd-200d-2642-fe0f",uc_match:"1f9b8-1f3fd-2642-fe0f",uc_greedy:"1f9b8-1f3fd-2642",shortnames:[":man_superhero_medium_skin_tone:"],category:"people"},":man_superhero_tone4:":{uc_base:"1f9b8-1f3fe-2642",uc_output:"1f9b8-1f3fe-200d-2642-fe0f",uc_match:"1f9b8-1f3fe-2642-fe0f",uc_greedy:"1f9b8-1f3fe-2642",shortnames:[":man_superhero_medium_dark_skin_tone:"],category:"people"},":man_superhero_tone5:":{uc_base:"1f9b8-1f3ff-2642",uc_output:"1f9b8-1f3ff-200d-2642-fe0f",uc_match:"1f9b8-1f3ff-2642-fe0f",uc_greedy:"1f9b8-1f3ff-2642",shortnames:[":man_superhero_dark_skin_tone:"],category:"people"},":man_supervillain_tone1:":{uc_base:"1f9b9-1f3fb-2642",uc_output:"1f9b9-1f3fb-200d-2642-fe0f",uc_match:"1f9b9-1f3fb-2642-fe0f",uc_greedy:"1f9b9-1f3fb-2642",shortnames:[":man_supervillain_light_skin_tone:"],category:"people"},":man_supervillain_tone2:":{uc_base:"1f9b9-1f3fc-2642",uc_output:"1f9b9-1f3fc-200d-2642-fe0f",uc_match:"1f9b9-1f3fc-2642-fe0f",uc_greedy:"1f9b9-1f3fc-2642",shortnames:[":man_supervillain_medium_light_skin_tone:"],category:"people"},":man_supervillain_tone3:":{uc_base:"1f9b9-1f3fd-2642",uc_output:"1f9b9-1f3fd-200d-2642-fe0f",uc_match:"1f9b9-1f3fd-2642-fe0f",uc_greedy:"1f9b9-1f3fd-2642",shortnames:[":man_supervillain_medium_skin_tone:"],category:"people"},":man_supervillain_tone4:":{uc_base:"1f9b9-1f3fe-2642",uc_output:"1f9b9-1f3fe-200d-2642-fe0f",uc_match:"1f9b9-1f3fe-2642-fe0f",uc_greedy:"1f9b9-1f3fe-2642",shortnames:[":man_supervillain_medium_dark_skin_tone:"],category:"people"},":man_supervillain_tone5:":{uc_base:"1f9b9-1f3ff-2642",uc_output:"1f9b9-1f3ff-200d-2642-fe0f",uc_match:"1f9b9-1f3ff-2642-fe0f",uc_greedy:"1f9b9-1f3ff-2642",shortnames:[":man_supervillain_dark_skin_tone:"],category:"people"},":man_surfing_tone1:":{uc_base:"1f3c4-1f3fb-2642",uc_output:"1f3c4-1f3fb-200d-2642-fe0f",uc_match:"1f3c4-1f3fb-2642-fe0f",uc_greedy:"1f3c4-1f3fb-2642",shortnames:[":man_surfing_light_skin_tone:"],category:"activity"},":man_surfing_tone2:":{uc_base:"1f3c4-1f3fc-2642",uc_output:"1f3c4-1f3fc-200d-2642-fe0f",uc_match:"1f3c4-1f3fc-2642-fe0f",uc_greedy:"1f3c4-1f3fc-2642",shortnames:[":man_surfing_medium_light_skin_tone:"],category:"activity"},":man_surfing_tone3:":{uc_base:"1f3c4-1f3fd-2642",uc_output:"1f3c4-1f3fd-200d-2642-fe0f",uc_match:"1f3c4-1f3fd-2642-fe0f",uc_greedy:"1f3c4-1f3fd-2642",shortnames:[":man_surfing_medium_skin_tone:"],category:"activity"},":man_surfing_tone4:":{uc_base:"1f3c4-1f3fe-2642",uc_output:"1f3c4-1f3fe-200d-2642-fe0f",uc_match:"1f3c4-1f3fe-2642-fe0f",uc_greedy:"1f3c4-1f3fe-2642",shortnames:[":man_surfing_medium_dark_skin_tone:"],category:"activity"},":man_surfing_tone5:":{uc_base:"1f3c4-1f3ff-2642",uc_output:"1f3c4-1f3ff-200d-2642-fe0f",uc_match:"1f3c4-1f3ff-2642-fe0f",uc_greedy:"1f3c4-1f3ff-2642",shortnames:[":man_surfing_dark_skin_tone:"],category:"activity"},":man_swimming_tone1:":{uc_base:"1f3ca-1f3fb-2642",uc_output:"1f3ca-1f3fb-200d-2642-fe0f",uc_match:"1f3ca-1f3fb-2642-fe0f",uc_greedy:"1f3ca-1f3fb-2642",shortnames:[":man_swimming_light_skin_tone:"],category:"activity"},":man_swimming_tone2:":{uc_base:"1f3ca-1f3fc-2642",uc_output:"1f3ca-1f3fc-200d-2642-fe0f",uc_match:"1f3ca-1f3fc-2642-fe0f",uc_greedy:"1f3ca-1f3fc-2642",shortnames:[":man_swimming_medium_light_skin_tone:"],category:"activity"},":man_swimming_tone3:":{uc_base:"1f3ca-1f3fd-2642",uc_output:"1f3ca-1f3fd-200d-2642-fe0f",uc_match:"1f3ca-1f3fd-2642-fe0f",uc_greedy:"1f3ca-1f3fd-2642",shortnames:[":man_swimming_medium_skin_tone:"],category:"activity"},":man_swimming_tone4:":{uc_base:"1f3ca-1f3fe-2642",uc_output:"1f3ca-1f3fe-200d-2642-fe0f",uc_match:"1f3ca-1f3fe-2642-fe0f",uc_greedy:"1f3ca-1f3fe-2642",shortnames:[":man_swimming_medium_dark_skin_tone:"],category:"activity"},":man_swimming_tone5:":{uc_base:"1f3ca-1f3ff-2642",uc_output:"1f3ca-1f3ff-200d-2642-fe0f",uc_match:"1f3ca-1f3ff-2642-fe0f",uc_greedy:"1f3ca-1f3ff-2642",shortnames:[":man_swimming_dark_skin_tone:"],category:"activity"},":man_tipping_hand_tone1:":{uc_base:"1f481-1f3fb-2642",uc_output:"1f481-1f3fb-200d-2642-fe0f",uc_match:"1f481-1f3fb-2642-fe0f",uc_greedy:"1f481-1f3fb-2642",shortnames:[":man_tipping_hand_light_skin_tone:"],category:"people"},":man_tipping_hand_tone2:":{uc_base:"1f481-1f3fc-2642",uc_output:"1f481-1f3fc-200d-2642-fe0f",uc_match:"1f481-1f3fc-2642-fe0f",uc_greedy:"1f481-1f3fc-2642",shortnames:[":man_tipping_hand_medium_light_skin_tone:"],category:"people"},":man_tipping_hand_tone3:":{uc_base:"1f481-1f3fd-2642",uc_output:"1f481-1f3fd-200d-2642-fe0f",uc_match:"1f481-1f3fd-2642-fe0f",uc_greedy:"1f481-1f3fd-2642",shortnames:[":man_tipping_hand_medium_skin_tone:"],category:"people"},":man_tipping_hand_tone4:":{uc_base:"1f481-1f3fe-2642",uc_output:"1f481-1f3fe-200d-2642-fe0f",uc_match:"1f481-1f3fe-2642-fe0f",uc_greedy:"1f481-1f3fe-2642",shortnames:[":man_tipping_hand_medium_dark_skin_tone:"],category:"people"},":man_tipping_hand_tone5:":{uc_base:"1f481-1f3ff-2642",uc_output:"1f481-1f3ff-200d-2642-fe0f",uc_match:"1f481-1f3ff-2642-fe0f",uc_greedy:"1f481-1f3ff-2642",shortnames:[":man_tipping_hand_dark_skin_tone:"],category:"people"},":man_vampire_tone1:":{uc_base:"1f9db-1f3fb-2642",uc_output:"1f9db-1f3fb-200d-2642-fe0f",uc_match:"1f9db-1f3fb-2642-fe0f",uc_greedy:"1f9db-1f3fb-2642",shortnames:[":man_vampire_light_skin_tone:"],category:"people"},":man_vampire_tone2:":{uc_base:"1f9db-1f3fc-2642",uc_output:"1f9db-1f3fc-200d-2642-fe0f",uc_match:"1f9db-1f3fc-2642-fe0f",uc_greedy:"1f9db-1f3fc-2642",shortnames:[":man_vampire_medium_light_skin_tone:"],category:"people"},":man_vampire_tone3:":{uc_base:"1f9db-1f3fd-2642",uc_output:"1f9db-1f3fd-200d-2642-fe0f",uc_match:"1f9db-1f3fd-2642-fe0f",uc_greedy:"1f9db-1f3fd-2642",shortnames:[":man_vampire_medium_skin_tone:"],category:"people"},":man_vampire_tone4:":{uc_base:"1f9db-1f3fe-2642",uc_output:"1f9db-1f3fe-200d-2642-fe0f",uc_match:"1f9db-1f3fe-2642-fe0f",uc_greedy:"1f9db-1f3fe-2642",shortnames:[":man_vampire_medium_dark_skin_tone:"],category:"people"},":man_vampire_tone5:":{uc_base:"1f9db-1f3ff-2642",uc_output:"1f9db-1f3ff-200d-2642-fe0f",uc_match:"1f9db-1f3ff-2642-fe0f",uc_greedy:"1f9db-1f3ff-2642",shortnames:[":man_vampire_dark_skin_tone:"],category:"people"},":man_walking_tone1:":{uc_base:"1f6b6-1f3fb-2642",uc_output:"1f6b6-1f3fb-200d-2642-fe0f",uc_match:"1f6b6-1f3fb-2642-fe0f",uc_greedy:"1f6b6-1f3fb-2642",shortnames:[":man_walking_light_skin_tone:"],category:"people"},":man_walking_tone2:":{uc_base:"1f6b6-1f3fc-2642",uc_output:"1f6b6-1f3fc-200d-2642-fe0f",uc_match:"1f6b6-1f3fc-2642-fe0f",uc_greedy:"1f6b6-1f3fc-2642",shortnames:[":man_walking_medium_light_skin_tone:"],category:"people"},":man_walking_tone3:":{uc_base:"1f6b6-1f3fd-2642",uc_output:"1f6b6-1f3fd-200d-2642-fe0f",uc_match:"1f6b6-1f3fd-2642-fe0f",uc_greedy:"1f6b6-1f3fd-2642",shortnames:[":man_walking_medium_skin_tone:"],category:"people"},":man_walking_tone4:":{uc_base:"1f6b6-1f3fe-2642",uc_output:"1f6b6-1f3fe-200d-2642-fe0f",uc_match:"1f6b6-1f3fe-2642-fe0f",uc_greedy:"1f6b6-1f3fe-2642",shortnames:[":man_walking_medium_dark_skin_tone:"],category:"people"},":man_walking_tone5:":{uc_base:"1f6b6-1f3ff-2642",uc_output:"1f6b6-1f3ff-200d-2642-fe0f",uc_match:"1f6b6-1f3ff-2642-fe0f",uc_greedy:"1f6b6-1f3ff-2642",shortnames:[":man_walking_dark_skin_tone:"],category:"people"},":man_wearing_turban_tone1:":{uc_base:"1f473-1f3fb-2642",uc_output:"1f473-1f3fb-200d-2642-fe0f",uc_match:"1f473-1f3fb-2642-fe0f",uc_greedy:"1f473-1f3fb-2642",shortnames:[":man_wearing_turban_light_skin_tone:"],category:"people"},":man_wearing_turban_tone2:":{uc_base:"1f473-1f3fc-2642",uc_output:"1f473-1f3fc-200d-2642-fe0f",uc_match:"1f473-1f3fc-2642-fe0f",uc_greedy:"1f473-1f3fc-2642",shortnames:[":man_wearing_turban_medium_light_skin_tone:"],category:"people"},":man_wearing_turban_tone3:":{uc_base:"1f473-1f3fd-2642",uc_output:"1f473-1f3fd-200d-2642-fe0f",uc_match:"1f473-1f3fd-2642-fe0f",uc_greedy:"1f473-1f3fd-2642",shortnames:[":man_wearing_turban_medium_skin_tone:"],category:"people"},":man_wearing_turban_tone4:":{uc_base:"1f473-1f3fe-2642",uc_output:"1f473-1f3fe-200d-2642-fe0f",uc_match:"1f473-1f3fe-2642-fe0f",uc_greedy:"1f473-1f3fe-2642",shortnames:[":man_wearing_turban_medium_dark_skin_tone:"],category:"people"},":man_wearing_turban_tone5:":{uc_base:"1f473-1f3ff-2642",uc_output:"1f473-1f3ff-200d-2642-fe0f",uc_match:"1f473-1f3ff-2642-fe0f",uc_greedy:"1f473-1f3ff-2642",shortnames:[":man_wearing_turban_dark_skin_tone:"],category:"people"},":mermaid_tone1:":{uc_base:"1f9dc-1f3fb-2640",uc_output:"1f9dc-1f3fb-200d-2640-fe0f",uc_match:"1f9dc-1f3fb-2640-fe0f",uc_greedy:"1f9dc-1f3fb-2640",shortnames:[":mermaid_light_skin_tone:"],category:"people"},":mermaid_tone2:":{uc_base:"1f9dc-1f3fc-2640",uc_output:"1f9dc-1f3fc-200d-2640-fe0f",uc_match:"1f9dc-1f3fc-2640-fe0f",uc_greedy:"1f9dc-1f3fc-2640",shortnames:[":mermaid_medium_light_skin_tone:"],category:"people"},":mermaid_tone3:":{uc_base:"1f9dc-1f3fd-2640",uc_output:"1f9dc-1f3fd-200d-2640-fe0f",uc_match:"1f9dc-1f3fd-2640-fe0f",uc_greedy:"1f9dc-1f3fd-2640",shortnames:[":mermaid_medium_skin_tone:"],category:"people"},":mermaid_tone4:":{uc_base:"1f9dc-1f3fe-2640",uc_output:"1f9dc-1f3fe-200d-2640-fe0f",uc_match:"1f9dc-1f3fe-2640-fe0f",uc_greedy:"1f9dc-1f3fe-2640",shortnames:[":mermaid_medium_dark_skin_tone:"],category:"people"},":mermaid_tone5:":{uc_base:"1f9dc-1f3ff-2640",uc_output:"1f9dc-1f3ff-200d-2640-fe0f",uc_match:"1f9dc-1f3ff-2640-fe0f",uc_greedy:"1f9dc-1f3ff-2640",shortnames:[":mermaid_dark_skin_tone:"],category:"people"},":merman_tone1:":{uc_base:"1f9dc-1f3fb-2642",uc_output:"1f9dc-1f3fb-200d-2642-fe0f",uc_match:"1f9dc-1f3fb-2642-fe0f",uc_greedy:"1f9dc-1f3fb-2642",shortnames:[":merman_light_skin_tone:"],category:"people"},":merman_tone2:":{uc_base:"1f9dc-1f3fc-2642",uc_output:"1f9dc-1f3fc-200d-2642-fe0f",uc_match:"1f9dc-1f3fc-2642-fe0f",uc_greedy:"1f9dc-1f3fc-2642",shortnames:[":merman_medium_light_skin_tone:"],category:"people"},":merman_tone3:":{uc_base:"1f9dc-1f3fd-2642",uc_output:"1f9dc-1f3fd-200d-2642-fe0f",uc_match:"1f9dc-1f3fd-2642-fe0f",uc_greedy:"1f9dc-1f3fd-2642",shortnames:[":merman_medium_skin_tone:"],category:"people"},":merman_tone4:":{uc_base:"1f9dc-1f3fe-2642",uc_output:"1f9dc-1f3fe-200d-2642-fe0f",uc_match:"1f9dc-1f3fe-2642-fe0f",uc_greedy:"1f9dc-1f3fe-2642",shortnames:[":merman_medium_dark_skin_tone:"],category:"people"},":merman_tone5:":{uc_base:"1f9dc-1f3ff-2642",uc_output:"1f9dc-1f3ff-200d-2642-fe0f",uc_match:"1f9dc-1f3ff-2642-fe0f",uc_greedy:"1f9dc-1f3ff-2642",shortnames:[":merman_dark_skin_tone:"],category:"people"},":woman_biking_tone1:":{uc_base:"1f6b4-1f3fb-2640",uc_output:"1f6b4-1f3fb-200d-2640-fe0f",uc_match:"1f6b4-1f3fb-2640-fe0f",uc_greedy:"1f6b4-1f3fb-2640",shortnames:[":woman_biking_light_skin_tone:"],category:"activity"},":woman_biking_tone2:":{uc_base:"1f6b4-1f3fc-2640",uc_output:"1f6b4-1f3fc-200d-2640-fe0f",uc_match:"1f6b4-1f3fc-2640-fe0f",uc_greedy:"1f6b4-1f3fc-2640",shortnames:[":woman_biking_medium_light_skin_tone:"],category:"activity"},":woman_biking_tone3:":{uc_base:"1f6b4-1f3fd-2640",uc_output:"1f6b4-1f3fd-200d-2640-fe0f",uc_match:"1f6b4-1f3fd-2640-fe0f",uc_greedy:"1f6b4-1f3fd-2640",shortnames:[":woman_biking_medium_skin_tone:"],category:"activity"},":woman_biking_tone4:":{uc_base:"1f6b4-1f3fe-2640",uc_output:"1f6b4-1f3fe-200d-2640-fe0f",uc_match:"1f6b4-1f3fe-2640-fe0f",uc_greedy:"1f6b4-1f3fe-2640",shortnames:[":woman_biking_medium_dark_skin_tone:"],category:"activity"},":woman_biking_tone5:":{uc_base:"1f6b4-1f3ff-2640",uc_output:"1f6b4-1f3ff-200d-2640-fe0f",uc_match:"1f6b4-1f3ff-2640-fe0f",uc_greedy:"1f6b4-1f3ff-2640",shortnames:[":woman_biking_dark_skin_tone:"],category:"activity"},":woman_bowing_tone1:":{uc_base:"1f647-1f3fb-2640",uc_output:"1f647-1f3fb-200d-2640-fe0f",uc_match:"1f647-1f3fb-2640-fe0f",uc_greedy:"1f647-1f3fb-2640",shortnames:[":woman_bowing_light_skin_tone:"],category:"people"},":woman_bowing_tone2:":{uc_base:"1f647-1f3fc-2640",uc_output:"1f647-1f3fc-200d-2640-fe0f",uc_match:"1f647-1f3fc-2640-fe0f",uc_greedy:"1f647-1f3fc-2640",shortnames:[":woman_bowing_medium_light_skin_tone:"],category:"people"},":woman_bowing_tone3:":{uc_base:"1f647-1f3fd-2640",uc_output:"1f647-1f3fd-200d-2640-fe0f",uc_match:"1f647-1f3fd-2640-fe0f",uc_greedy:"1f647-1f3fd-2640",shortnames:[":woman_bowing_medium_skin_tone:"],category:"people"},":woman_bowing_tone4:":{uc_base:"1f647-1f3fe-2640",uc_output:"1f647-1f3fe-200d-2640-fe0f",uc_match:"1f647-1f3fe-2640-fe0f",uc_greedy:"1f647-1f3fe-2640",shortnames:[":woman_bowing_medium_dark_skin_tone:"],category:"people"},":woman_bowing_tone5:":{uc_base:"1f647-1f3ff-2640",uc_output:"1f647-1f3ff-200d-2640-fe0f",uc_match:"1f647-1f3ff-2640-fe0f",uc_greedy:"1f647-1f3ff-2640",shortnames:[":woman_bowing_dark_skin_tone:"],category:"people"},":woman_cartwheeling_tone1:":{uc_base:"1f938-1f3fb-2640",uc_output:"1f938-1f3fb-200d-2640-fe0f",uc_match:"1f938-1f3fb-2640-fe0f",uc_greedy:"1f938-1f3fb-2640",shortnames:[":woman_cartwheeling_light_skin_tone:"],category:"activity"},":woman_cartwheeling_tone2:":{uc_base:"1f938-1f3fc-2640",uc_output:"1f938-1f3fc-200d-2640-fe0f",uc_match:"1f938-1f3fc-2640-fe0f",uc_greedy:"1f938-1f3fc-2640",shortnames:[":woman_cartwheeling_medium_light_skin_tone:"],category:"activity"},":woman_cartwheeling_tone3:":{uc_base:"1f938-1f3fd-2640",uc_output:"1f938-1f3fd-200d-2640-fe0f",uc_match:"1f938-1f3fd-2640-fe0f",uc_greedy:"1f938-1f3fd-2640",shortnames:[":woman_cartwheeling_medium_skin_tone:"],category:"activity"},":woman_cartwheeling_tone4:":{uc_base:"1f938-1f3fe-2640",uc_output:"1f938-1f3fe-200d-2640-fe0f",uc_match:"1f938-1f3fe-2640-fe0f",uc_greedy:"1f938-1f3fe-2640",shortnames:[":woman_cartwheeling_medium_dark_skin_tone:"],category:"activity"},":woman_cartwheeling_tone5:":{uc_base:"1f938-1f3ff-2640",uc_output:"1f938-1f3ff-200d-2640-fe0f",uc_match:"1f938-1f3ff-2640-fe0f",uc_greedy:"1f938-1f3ff-2640",shortnames:[":woman_cartwheeling_dark_skin_tone:"],category:"activity"},":woman_climbing_tone1:":{uc_base:"1f9d7-1f3fb-2640",uc_output:"1f9d7-1f3fb-200d-2640-fe0f",uc_match:"1f9d7-1f3fb-2640-fe0f",uc_greedy:"1f9d7-1f3fb-2640",shortnames:[":woman_climbing_light_skin_tone:"],category:"activity"},":woman_climbing_tone2:":{uc_base:"1f9d7-1f3fc-2640",uc_output:"1f9d7-1f3fc-200d-2640-fe0f",uc_match:"1f9d7-1f3fc-2640-fe0f",uc_greedy:"1f9d7-1f3fc-2640",shortnames:[":woman_climbing_medium_light_skin_tone:"],category:"activity"},":woman_climbing_tone3:":{uc_base:"1f9d7-1f3fd-2640",uc_output:"1f9d7-1f3fd-200d-2640-fe0f",uc_match:"1f9d7-1f3fd-2640-fe0f",uc_greedy:"1f9d7-1f3fd-2640",shortnames:[":woman_climbing_medium_skin_tone:"],category:"activity"},":woman_climbing_tone4:":{uc_base:"1f9d7-1f3fe-2640",uc_output:"1f9d7-1f3fe-200d-2640-fe0f",uc_match:"1f9d7-1f3fe-2640-fe0f",uc_greedy:"1f9d7-1f3fe-2640",shortnames:[":woman_climbing_medium_dark_skin_tone:"],category:"activity"},":woman_climbing_tone5:":{uc_base:"1f9d7-1f3ff-2640",uc_output:"1f9d7-1f3ff-200d-2640-fe0f",uc_match:"1f9d7-1f3ff-2640-fe0f",uc_greedy:"1f9d7-1f3ff-2640",shortnames:[":woman_climbing_dark_skin_tone:"],category:"activity"},":woman_construction_worker_tone1:":{uc_base:"1f477-1f3fb-2640",uc_output:"1f477-1f3fb-200d-2640-fe0f",uc_match:"1f477-1f3fb-2640-fe0f",uc_greedy:"1f477-1f3fb-2640",shortnames:[":woman_construction_worker_light_skin_tone:"],category:"people"},":woman_construction_worker_tone2:":{uc_base:"1f477-1f3fc-2640",uc_output:"1f477-1f3fc-200d-2640-fe0f",uc_match:"1f477-1f3fc-2640-fe0f",uc_greedy:"1f477-1f3fc-2640",shortnames:[":woman_construction_worker_medium_light_skin_tone:"],category:"people"},":woman_construction_worker_tone3:":{uc_base:"1f477-1f3fd-2640",uc_output:"1f477-1f3fd-200d-2640-fe0f",uc_match:"1f477-1f3fd-2640-fe0f",uc_greedy:"1f477-1f3fd-2640",shortnames:[":woman_construction_worker_medium_skin_tone:"],category:"people"},":woman_construction_worker_tone4:":{uc_base:"1f477-1f3fe-2640",uc_output:"1f477-1f3fe-200d-2640-fe0f",uc_match:"1f477-1f3fe-2640-fe0f",uc_greedy:"1f477-1f3fe-2640",shortnames:[":woman_construction_worker_medium_dark_skin_tone:"],category:"people"},":woman_construction_worker_tone5:":{uc_base:"1f477-1f3ff-2640",uc_output:"1f477-1f3ff-200d-2640-fe0f",uc_match:"1f477-1f3ff-2640-fe0f",uc_greedy:"1f477-1f3ff-2640",shortnames:[":woman_construction_worker_dark_skin_tone:"],category:"people"},":woman_detective_tone1:":{uc_base:"1f575-1f3fb-2640",uc_output:"1f575-1f3fb-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fb-2640-fe0f",uc_greedy:"1f575-1f3fb-2640",shortnames:[":woman_detective_light_skin_tone:"],category:"people"},":woman_detective_tone2:":{uc_base:"1f575-1f3fc-2640",uc_output:"1f575-1f3fc-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fc-2640-fe0f",uc_greedy:"1f575-1f3fc-2640",shortnames:[":woman_detective_medium_light_skin_tone:"],category:"people"},":woman_detective_tone3:":{uc_base:"1f575-1f3fd-2640",uc_output:"1f575-1f3fd-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fd-2640-fe0f",uc_greedy:"1f575-1f3fd-2640",shortnames:[":woman_detective_medium_skin_tone:"],category:"people"},":woman_detective_tone4:":{uc_base:"1f575-1f3fe-2640",uc_output:"1f575-1f3fe-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3fe-2640-fe0f",uc_greedy:"1f575-1f3fe-2640",shortnames:[":woman_detective_medium_dark_skin_tone:"],category:"people"},":woman_detective_tone5:":{uc_base:"1f575-1f3ff-2640",uc_output:"1f575-1f3ff-200d-2640-fe0f",uc_match:"1f575-fe0f-1f3ff-2640-fe0f",uc_greedy:"1f575-1f3ff-2640",shortnames:[":woman_detective_dark_skin_tone:"],category:"people"},":woman_elf_tone1:":{uc_base:"1f9dd-1f3fb-2640",uc_output:"1f9dd-1f3fb-200d-2640-fe0f",uc_match:"1f9dd-1f3fb-2640-fe0f",uc_greedy:"1f9dd-1f3fb-2640",shortnames:[":woman_elf_light_skin_tone:"],category:"people"},":woman_elf_tone2:":{uc_base:"1f9dd-1f3fc-2640",uc_output:"1f9dd-1f3fc-200d-2640-fe0f",uc_match:"1f9dd-1f3fc-2640-fe0f",uc_greedy:"1f9dd-1f3fc-2640",shortnames:[":woman_elf_medium_light_skin_tone:"],category:"people"},":woman_elf_tone3:":{uc_base:"1f9dd-1f3fd-2640",uc_output:"1f9dd-1f3fd-200d-2640-fe0f",uc_match:"1f9dd-1f3fd-2640-fe0f",uc_greedy:"1f9dd-1f3fd-2640",shortnames:[":woman_elf_medium_skin_tone:"],category:"people"},":woman_elf_tone4:":{uc_base:"1f9dd-1f3fe-2640",uc_output:"1f9dd-1f3fe-200d-2640-fe0f",uc_match:"1f9dd-1f3fe-2640-fe0f",uc_greedy:"1f9dd-1f3fe-2640",shortnames:[":woman_elf_medium_dark_skin_tone:"],category:"people"},":woman_elf_tone5:":{uc_base:"1f9dd-1f3ff-2640",uc_output:"1f9dd-1f3ff-200d-2640-fe0f",uc_match:"1f9dd-1f3ff-2640-fe0f",uc_greedy:"1f9dd-1f3ff-2640",shortnames:[":woman_elf_dark_skin_tone:"],category:"people"},":woman_facepalming_tone1:":{uc_base:"1f926-1f3fb-2640",uc_output:"1f926-1f3fb-200d-2640-fe0f",uc_match:"1f926-1f3fb-2640-fe0f",uc_greedy:"1f926-1f3fb-2640",shortnames:[":woman_facepalming_light_skin_tone:"],category:"people"},":woman_facepalming_tone2:":{uc_base:"1f926-1f3fc-2640",uc_output:"1f926-1f3fc-200d-2640-fe0f",uc_match:"1f926-1f3fc-2640-fe0f",uc_greedy:"1f926-1f3fc-2640",shortnames:[":woman_facepalming_medium_light_skin_tone:"],category:"people"},":woman_facepalming_tone3:":{uc_base:"1f926-1f3fd-2640",uc_output:"1f926-1f3fd-200d-2640-fe0f",uc_match:"1f926-1f3fd-2640-fe0f",uc_greedy:"1f926-1f3fd-2640",shortnames:[":woman_facepalming_medium_skin_tone:"],category:"people"},":woman_facepalming_tone4:":{uc_base:"1f926-1f3fe-2640",uc_output:"1f926-1f3fe-200d-2640-fe0f",uc_match:"1f926-1f3fe-2640-fe0f",uc_greedy:"1f926-1f3fe-2640",shortnames:[":woman_facepalming_medium_dark_skin_tone:"],category:"people"},":woman_facepalming_tone5:":{uc_base:"1f926-1f3ff-2640",uc_output:"1f926-1f3ff-200d-2640-fe0f",uc_match:"1f926-1f3ff-2640-fe0f",uc_greedy:"1f926-1f3ff-2640",shortnames:[":woman_facepalming_dark_skin_tone:"],category:"people"},":woman_fairy_tone1:":{uc_base:"1f9da-1f3fb-2640",uc_output:"1f9da-1f3fb-200d-2640-fe0f",uc_match:"1f9da-1f3fb-2640-fe0f",uc_greedy:"1f9da-1f3fb-2640",shortnames:[":woman_fairy_light_skin_tone:"],category:"people"},":woman_fairy_tone2:":{uc_base:"1f9da-1f3fc-2640",uc_output:"1f9da-1f3fc-200d-2640-fe0f",uc_match:"1f9da-1f3fc-2640-fe0f",uc_greedy:"1f9da-1f3fc-2640",shortnames:[":woman_fairy_medium_light_skin_tone:"],category:"people"},":woman_fairy_tone3:":{uc_base:"1f9da-1f3fd-2640",uc_output:"1f9da-1f3fd-200d-2640-fe0f",uc_match:"1f9da-1f3fd-2640-fe0f",uc_greedy:"1f9da-1f3fd-2640",shortnames:[":woman_fairy_medium_skin_tone:"],category:"people"},":woman_fairy_tone4:":{uc_base:"1f9da-1f3fe-2640",uc_output:"1f9da-1f3fe-200d-2640-fe0f",uc_match:"1f9da-1f3fe-2640-fe0f",uc_greedy:"1f9da-1f3fe-2640",shortnames:[":woman_fairy_medium_dark_skin_tone:"],category:"people"},":woman_fairy_tone5:":{uc_base:"1f9da-1f3ff-2640",uc_output:"1f9da-1f3ff-200d-2640-fe0f",uc_match:"1f9da-1f3ff-2640-fe0f",uc_greedy:"1f9da-1f3ff-2640",shortnames:[":woman_fairy_dark_skin_tone:"],category:"people"},":woman_frowning_tone1:":{uc_base:"1f64d-1f3fb-2640",uc_output:"1f64d-1f3fb-200d-2640-fe0f",uc_match:"1f64d-1f3fb-2640-fe0f",uc_greedy:"1f64d-1f3fb-2640",shortnames:[":woman_frowning_light_skin_tone:"],category:"people"},":woman_frowning_tone2:":{uc_base:"1f64d-1f3fc-2640",uc_output:"1f64d-1f3fc-200d-2640-fe0f",uc_match:"1f64d-1f3fc-2640-fe0f",uc_greedy:"1f64d-1f3fc-2640",shortnames:[":woman_frowning_medium_light_skin_tone:"],category:"people"},":woman_frowning_tone3:":{uc_base:"1f64d-1f3fd-2640",uc_output:"1f64d-1f3fd-200d-2640-fe0f",uc_match:"1f64d-1f3fd-2640-fe0f",uc_greedy:"1f64d-1f3fd-2640",shortnames:[":woman_frowning_medium_skin_tone:"],category:"people"},":woman_frowning_tone4:":{uc_base:"1f64d-1f3fe-2640",uc_output:"1f64d-1f3fe-200d-2640-fe0f",uc_match:"1f64d-1f3fe-2640-fe0f",uc_greedy:"1f64d-1f3fe-2640",shortnames:[":woman_frowning_medium_dark_skin_tone:"],category:"people"},":woman_frowning_tone5:":{uc_base:"1f64d-1f3ff-2640",uc_output:"1f64d-1f3ff-200d-2640-fe0f",uc_match:"1f64d-1f3ff-2640-fe0f",uc_greedy:"1f64d-1f3ff-2640",shortnames:[":woman_frowning_dark_skin_tone:"],category:"people"},":woman_gesturing_no_tone1:":{uc_base:"1f645-1f3fb-2640",uc_output:"1f645-1f3fb-200d-2640-fe0f",uc_match:"1f645-1f3fb-2640-fe0f",uc_greedy:"1f645-1f3fb-2640",shortnames:[":woman_gesturing_no_light_skin_tone:"],category:"people"},":woman_gesturing_no_tone2:":{uc_base:"1f645-1f3fc-2640",uc_output:"1f645-1f3fc-200d-2640-fe0f",uc_match:"1f645-1f3fc-2640-fe0f",uc_greedy:"1f645-1f3fc-2640",shortnames:[":woman_gesturing_no_medium_light_skin_tone:"],category:"people"},":woman_gesturing_no_tone3:":{uc_base:"1f645-1f3fd-2640",uc_output:"1f645-1f3fd-200d-2640-fe0f",uc_match:"1f645-1f3fd-2640-fe0f",uc_greedy:"1f645-1f3fd-2640",shortnames:[":woman_gesturing_no_medium_skin_tone:"],category:"people"},":woman_gesturing_no_tone4:":{uc_base:"1f645-1f3fe-2640",uc_output:"1f645-1f3fe-200d-2640-fe0f",uc_match:"1f645-1f3fe-2640-fe0f",uc_greedy:"1f645-1f3fe-2640",shortnames:[":woman_gesturing_no_medium_dark_skin_tone:"],category:"people"},":woman_gesturing_no_tone5:":{uc_base:"1f645-1f3ff-2640",uc_output:"1f645-1f3ff-200d-2640-fe0f",uc_match:"1f645-1f3ff-2640-fe0f",uc_greedy:"1f645-1f3ff-2640",shortnames:[":woman_gesturing_no_dark_skin_tone:"],category:"people"},":woman_gesturing_ok_tone1:":{uc_base:"1f646-1f3fb-2640",uc_output:"1f646-1f3fb-200d-2640-fe0f",uc_match:"1f646-1f3fb-2640-fe0f",uc_greedy:"1f646-1f3fb-2640",shortnames:[":woman_gesturing_ok_light_skin_tone:"],category:"people"},":woman_gesturing_ok_tone2:":{uc_base:"1f646-1f3fc-2640",uc_output:"1f646-1f3fc-200d-2640-fe0f",uc_match:"1f646-1f3fc-2640-fe0f",uc_greedy:"1f646-1f3fc-2640",shortnames:[":woman_gesturing_ok_medium_light_skin_tone:"],category:"people"},":woman_gesturing_ok_tone3:":{uc_base:"1f646-1f3fd-2640",uc_output:"1f646-1f3fd-200d-2640-fe0f",uc_match:"1f646-1f3fd-2640-fe0f",uc_greedy:"1f646-1f3fd-2640",shortnames:[":woman_gesturing_ok_medium_skin_tone:"],category:"people"},":woman_gesturing_ok_tone4:":{uc_base:"1f646-1f3fe-2640",uc_output:"1f646-1f3fe-200d-2640-fe0f",uc_match:"1f646-1f3fe-2640-fe0f",uc_greedy:"1f646-1f3fe-2640",shortnames:[":woman_gesturing_ok_medium_dark_skin_tone:"],category:"people"},":woman_gesturing_ok_tone5:":{uc_base:"1f646-1f3ff-2640",uc_output:"1f646-1f3ff-200d-2640-fe0f",uc_match:"1f646-1f3ff-2640-fe0f",uc_greedy:"1f646-1f3ff-2640",shortnames:[":woman_gesturing_ok_dark_skin_tone:"],category:"people"},":woman_getting_face_massage_tone1:":{uc_base:"1f486-1f3fb-2640",uc_output:"1f486-1f3fb-200d-2640-fe0f",uc_match:"1f486-1f3fb-2640-fe0f",uc_greedy:"1f486-1f3fb-2640",shortnames:[":woman_getting_face_massage_light_skin_tone:"],category:"people"},":woman_getting_face_massage_tone2:":{uc_base:"1f486-1f3fc-2640",uc_output:"1f486-1f3fc-200d-2640-fe0f",uc_match:"1f486-1f3fc-2640-fe0f",uc_greedy:"1f486-1f3fc-2640",shortnames:[":woman_getting_face_massage_medium_light_skin_tone:"],category:"people"},":woman_getting_face_massage_tone3:":{uc_base:"1f486-1f3fd-2640",uc_output:"1f486-1f3fd-200d-2640-fe0f",uc_match:"1f486-1f3fd-2640-fe0f",uc_greedy:"1f486-1f3fd-2640",shortnames:[":woman_getting_face_massage_medium_skin_tone:"],category:"people"},":woman_getting_face_massage_tone4:":{uc_base:"1f486-1f3fe-2640",uc_output:"1f486-1f3fe-200d-2640-fe0f",uc_match:"1f486-1f3fe-2640-fe0f",uc_greedy:"1f486-1f3fe-2640",shortnames:[":woman_getting_face_massage_medium_dark_skin_tone:"],category:"people"},":woman_getting_face_massage_tone5:":{uc_base:"1f486-1f3ff-2640",uc_output:"1f486-1f3ff-200d-2640-fe0f",uc_match:"1f486-1f3ff-2640-fe0f",uc_greedy:"1f486-1f3ff-2640",shortnames:[":woman_getting_face_massage_dark_skin_tone:"],category:"people"},":woman_getting_haircut_tone1:":{uc_base:"1f487-1f3fb-2640",uc_output:"1f487-1f3fb-200d-2640-fe0f",uc_match:"1f487-1f3fb-2640-fe0f",uc_greedy:"1f487-1f3fb-2640",shortnames:[":woman_getting_haircut_light_skin_tone:"],category:"people"},":woman_getting_haircut_tone2:":{uc_base:"1f487-1f3fc-2640",uc_output:"1f487-1f3fc-200d-2640-fe0f",uc_match:"1f487-1f3fc-2640-fe0f",uc_greedy:"1f487-1f3fc-2640",shortnames:[":woman_getting_haircut_medium_light_skin_tone:"],category:"people"},":woman_getting_haircut_tone3:":{uc_base:"1f487-1f3fd-2640",uc_output:"1f487-1f3fd-200d-2640-fe0f",uc_match:"1f487-1f3fd-2640-fe0f",uc_greedy:"1f487-1f3fd-2640",shortnames:[":woman_getting_haircut_medium_skin_tone:"],category:"people"},":woman_getting_haircut_tone4:":{uc_base:"1f487-1f3fe-2640",uc_output:"1f487-1f3fe-200d-2640-fe0f",uc_match:"1f487-1f3fe-2640-fe0f",uc_greedy:"1f487-1f3fe-2640",shortnames:[":woman_getting_haircut_medium_dark_skin_tone:"],category:"people"},":woman_getting_haircut_tone5:":{uc_base:"1f487-1f3ff-2640",uc_output:"1f487-1f3ff-200d-2640-fe0f",uc_match:"1f487-1f3ff-2640-fe0f",uc_greedy:"1f487-1f3ff-2640",shortnames:[":woman_getting_haircut_dark_skin_tone:"],category:"people"},":woman_golfing_tone1:":{uc_base:"1f3cc-1f3fb-2640",uc_output:"1f3cc-1f3fb-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fb-2640-fe0f",uc_greedy:"1f3cc-1f3fb-2640",shortnames:[":woman_golfing_light_skin_tone:"],category:"activity"},":woman_golfing_tone2:":{uc_base:"1f3cc-1f3fc-2640",uc_output:"1f3cc-1f3fc-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fc-2640-fe0f",uc_greedy:"1f3cc-1f3fc-2640",shortnames:[":woman_golfing_medium_light_skin_tone:"],category:"activity"},":woman_golfing_tone3:":{uc_base:"1f3cc-1f3fd-2640",uc_output:"1f3cc-1f3fd-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fd-2640-fe0f",uc_greedy:"1f3cc-1f3fd-2640",shortnames:[":woman_golfing_medium_skin_tone:"],category:"activity"},":woman_golfing_tone4:":{uc_base:"1f3cc-1f3fe-2640",uc_output:"1f3cc-1f3fe-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3fe-2640-fe0f",uc_greedy:"1f3cc-1f3fe-2640",shortnames:[":woman_golfing_medium_dark_skin_tone:"],category:"activity"},":woman_golfing_tone5:":{uc_base:"1f3cc-1f3ff-2640",uc_output:"1f3cc-1f3ff-200d-2640-fe0f",uc_match:"1f3cc-fe0f-1f3ff-2640-fe0f",uc_greedy:"1f3cc-1f3ff-2640",shortnames:[":woman_golfing_dark_skin_tone:"],category:"activity"},":woman_guard_tone1:":{uc_base:"1f482-1f3fb-2640",uc_output:"1f482-1f3fb-200d-2640-fe0f",uc_match:"1f482-1f3fb-2640-fe0f",uc_greedy:"1f482-1f3fb-2640",shortnames:[":woman_guard_light_skin_tone:"],category:"people"},":woman_guard_tone2:":{uc_base:"1f482-1f3fc-2640",uc_output:"1f482-1f3fc-200d-2640-fe0f",uc_match:"1f482-1f3fc-2640-fe0f",uc_greedy:"1f482-1f3fc-2640",shortnames:[":woman_guard_medium_light_skin_tone:"],category:"people"},":woman_guard_tone3:":{uc_base:"1f482-1f3fd-2640",uc_output:"1f482-1f3fd-200d-2640-fe0f",uc_match:"1f482-1f3fd-2640-fe0f",uc_greedy:"1f482-1f3fd-2640",shortnames:[":woman_guard_medium_skin_tone:"],category:"people"},":woman_guard_tone4:":{uc_base:"1f482-1f3fe-2640",uc_output:"1f482-1f3fe-200d-2640-fe0f",uc_match:"1f482-1f3fe-2640-fe0f",uc_greedy:"1f482-1f3fe-2640",shortnames:[":woman_guard_medium_dark_skin_tone:"],category:"people"},":woman_guard_tone5:":{uc_base:"1f482-1f3ff-2640",uc_output:"1f482-1f3ff-200d-2640-fe0f",uc_match:"1f482-1f3ff-2640-fe0f",uc_greedy:"1f482-1f3ff-2640",shortnames:[":woman_guard_dark_skin_tone:"],category:"people"},":woman_health_worker_tone1:":{uc_base:"1f469-1f3fb-2695",uc_output:"1f469-1f3fb-200d-2695-fe0f",uc_match:"1f469-1f3fb-2695-fe0f",uc_greedy:"1f469-1f3fb-2695",shortnames:[":woman_health_worker_light_skin_tone:"],category:"people"},":woman_health_worker_tone2:":{uc_base:"1f469-1f3fc-2695",uc_output:"1f469-1f3fc-200d-2695-fe0f",uc_match:"1f469-1f3fc-2695-fe0f",uc_greedy:"1f469-1f3fc-2695",shortnames:[":woman_health_worker_medium_light_skin_tone:"],category:"people"},":woman_health_worker_tone3:":{uc_base:"1f469-1f3fd-2695",uc_output:"1f469-1f3fd-200d-2695-fe0f",uc_match:"1f469-1f3fd-2695-fe0f",uc_greedy:"1f469-1f3fd-2695",shortnames:[":woman_health_worker_medium_skin_tone:"],category:"people"},":woman_health_worker_tone4:":{uc_base:"1f469-1f3fe-2695",uc_output:"1f469-1f3fe-200d-2695-fe0f",uc_match:"1f469-1f3fe-2695-fe0f",uc_greedy:"1f469-1f3fe-2695",shortnames:[":woman_health_worker_medium_dark_skin_tone:"],category:"people"},":woman_health_worker_tone5:":{uc_base:"1f469-1f3ff-2695",uc_output:"1f469-1f3ff-200d-2695-fe0f",uc_match:"1f469-1f3ff-2695-fe0f",uc_greedy:"1f469-1f3ff-2695",shortnames:[":woman_health_worker_dark_skin_tone:"],category:"people"},":woman_in_lotus_position_tone1:":{uc_base:"1f9d8-1f3fb-2640",uc_output:"1f9d8-1f3fb-200d-2640-fe0f",uc_match:"1f9d8-1f3fb-2640-fe0f",uc_greedy:"1f9d8-1f3fb-2640",shortnames:[":woman_in_lotus_position_light_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone2:":{uc_base:"1f9d8-1f3fc-2640",uc_output:"1f9d8-1f3fc-200d-2640-fe0f",uc_match:"1f9d8-1f3fc-2640-fe0f",uc_greedy:"1f9d8-1f3fc-2640",shortnames:[":woman_in_lotus_position_medium_light_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone3:":{uc_base:"1f9d8-1f3fd-2640",uc_output:"1f9d8-1f3fd-200d-2640-fe0f",uc_match:"1f9d8-1f3fd-2640-fe0f",uc_greedy:"1f9d8-1f3fd-2640",shortnames:[":woman_in_lotus_position_medium_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone4:":{uc_base:"1f9d8-1f3fe-2640",uc_output:"1f9d8-1f3fe-200d-2640-fe0f",uc_match:"1f9d8-1f3fe-2640-fe0f",uc_greedy:"1f9d8-1f3fe-2640",shortnames:[":woman_in_lotus_position_medium_dark_skin_tone:"],category:"activity"},":woman_in_lotus_position_tone5:":{uc_base:"1f9d8-1f3ff-2640",uc_output:"1f9d8-1f3ff-200d-2640-fe0f",uc_match:"1f9d8-1f3ff-2640-fe0f",uc_greedy:"1f9d8-1f3ff-2640",shortnames:[":woman_in_lotus_position_dark_skin_tone:"],category:"activity"},":woman_in_steamy_room_tone1:":{uc_base:"1f9d6-1f3fb-2640",uc_output:"1f9d6-1f3fb-200d-2640-fe0f",uc_match:"1f9d6-1f3fb-2640-fe0f",uc_greedy:"1f9d6-1f3fb-2640",shortnames:[":woman_in_steamy_room_light_skin_tone:"],category:"people"},":woman_in_steamy_room_tone2:":{uc_base:"1f9d6-1f3fc-2640",uc_output:"1f9d6-1f3fc-200d-2640-fe0f",uc_match:"1f9d6-1f3fc-2640-fe0f",uc_greedy:"1f9d6-1f3fc-2640",shortnames:[":woman_in_steamy_room_medium_light_skin_tone:"],category:"people"},":woman_in_steamy_room_tone3:":{uc_base:"1f9d6-1f3fd-2640",uc_output:"1f9d6-1f3fd-200d-2640-fe0f",uc_match:"1f9d6-1f3fd-2640-fe0f",uc_greedy:"1f9d6-1f3fd-2640",shortnames:[":woman_in_steamy_room_medium_skin_tone:"],category:"people"},":woman_in_steamy_room_tone4:":{uc_base:"1f9d6-1f3fe-2640",uc_output:"1f9d6-1f3fe-200d-2640-fe0f",uc_match:"1f9d6-1f3fe-2640-fe0f",uc_greedy:"1f9d6-1f3fe-2640",shortnames:[":woman_in_steamy_room_medium_dark_skin_tone:"],category:"people"},":woman_in_steamy_room_tone5:":{uc_base:"1f9d6-1f3ff-2640",uc_output:"1f9d6-1f3ff-200d-2640-fe0f",uc_match:"1f9d6-1f3ff-2640-fe0f",uc_greedy:"1f9d6-1f3ff-2640",shortnames:[":woman_in_steamy_room_dark_skin_tone:"],category:"people"},":woman_judge_tone1:":{uc_base:"1f469-1f3fb-2696",uc_output:"1f469-1f3fb-200d-2696-fe0f",uc_match:"1f469-1f3fb-2696-fe0f",uc_greedy:"1f469-1f3fb-2696",shortnames:[":woman_judge_light_skin_tone:"],category:"people"},":woman_judge_tone2:":{uc_base:"1f469-1f3fc-2696",uc_output:"1f469-1f3fc-200d-2696-fe0f",uc_match:"1f469-1f3fc-2696-fe0f",uc_greedy:"1f469-1f3fc-2696",shortnames:[":woman_judge_medium_light_skin_tone:"],category:"people"},":woman_judge_tone3:":{uc_base:"1f469-1f3fd-2696",uc_output:"1f469-1f3fd-200d-2696-fe0f",uc_match:"1f469-1f3fd-2696-fe0f",uc_greedy:"1f469-1f3fd-2696",shortnames:[":woman_judge_medium_skin_tone:"],category:"people"},":woman_judge_tone4:":{uc_base:"1f469-1f3fe-2696",uc_output:"1f469-1f3fe-200d-2696-fe0f",uc_match:"1f469-1f3fe-2696-fe0f",uc_greedy:"1f469-1f3fe-2696",shortnames:[":woman_judge_medium_dark_skin_tone:"],category:"people"},":woman_judge_tone5:":{uc_base:"1f469-1f3ff-2696",uc_output:"1f469-1f3ff-200d-2696-fe0f",uc_match:"1f469-1f3ff-2696-fe0f",uc_greedy:"1f469-1f3ff-2696",shortnames:[":woman_judge_dark_skin_tone:"],category:"people"},":woman_juggling_tone1:":{uc_base:"1f939-1f3fb-2640",uc_output:"1f939-1f3fb-200d-2640-fe0f",uc_match:"1f939-1f3fb-2640-fe0f",uc_greedy:"1f939-1f3fb-2640",shortnames:[":woman_juggling_light_skin_tone:"],category:"activity"},":woman_juggling_tone2:":{uc_base:"1f939-1f3fc-2640",uc_output:"1f939-1f3fc-200d-2640-fe0f",uc_match:"1f939-1f3fc-2640-fe0f",uc_greedy:"1f939-1f3fc-2640",shortnames:[":woman_juggling_medium_light_skin_tone:"],category:"activity"},":woman_juggling_tone3:":{uc_base:"1f939-1f3fd-2640",uc_output:"1f939-1f3fd-200d-2640-fe0f",uc_match:"1f939-1f3fd-2640-fe0f",uc_greedy:"1f939-1f3fd-2640",shortnames:[":woman_juggling_medium_skin_tone:"],category:"activity"},":woman_juggling_tone4:":{uc_base:"1f939-1f3fe-2640",uc_output:"1f939-1f3fe-200d-2640-fe0f",uc_match:"1f939-1f3fe-2640-fe0f",uc_greedy:"1f939-1f3fe-2640",shortnames:[":woman_juggling_medium_dark_skin_tone:"],category:"activity"},":woman_juggling_tone5:":{uc_base:"1f939-1f3ff-2640",uc_output:"1f939-1f3ff-200d-2640-fe0f",uc_match:"1f939-1f3ff-2640-fe0f",uc_greedy:"1f939-1f3ff-2640",shortnames:[":woman_juggling_dark_skin_tone:"],category:"activity"},":woman_lifting_weights_tone1:":{uc_base:"1f3cb-1f3fb-2640",uc_output:"1f3cb-1f3fb-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fb-2640-fe0f",uc_greedy:"1f3cb-1f3fb-2640",shortnames:[":woman_lifting_weights_light_skin_tone:"],category:"activity"},":woman_lifting_weights_tone2:":{uc_base:"1f3cb-1f3fc-2640",uc_output:"1f3cb-1f3fc-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fc-2640-fe0f",uc_greedy:"1f3cb-1f3fc-2640",shortnames:[":woman_lifting_weights_medium_light_skin_tone:"],category:"activity"},":woman_lifting_weights_tone3:":{uc_base:"1f3cb-1f3fd-2640",uc_output:"1f3cb-1f3fd-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fd-2640-fe0f",uc_greedy:"1f3cb-1f3fd-2640",shortnames:[":woman_lifting_weights_medium_skin_tone:"],category:"activity"},":woman_lifting_weights_tone4:":{uc_base:"1f3cb-1f3fe-2640",uc_output:"1f3cb-1f3fe-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3fe-2640-fe0f",uc_greedy:"1f3cb-1f3fe-2640",shortnames:[":woman_lifting_weights_medium_dark_skin_tone:"],category:"activity"},":woman_lifting_weights_tone5:":{uc_base:"1f3cb-1f3ff-2640",uc_output:"1f3cb-1f3ff-200d-2640-fe0f",uc_match:"1f3cb-fe0f-1f3ff-2640-fe0f",uc_greedy:"1f3cb-1f3ff-2640",shortnames:[":woman_lifting_weights_dark_skin_tone:"],category:"activity"},":woman_mage_tone1:":{uc_base:"1f9d9-1f3fb-2640",uc_output:"1f9d9-1f3fb-200d-2640-fe0f",uc_match:"1f9d9-1f3fb-2640-fe0f",uc_greedy:"1f9d9-1f3fb-2640",shortnames:[":woman_mage_light_skin_tone:"],category:"people"},":woman_mage_tone2:":{uc_base:"1f9d9-1f3fc-2640",uc_output:"1f9d9-1f3fc-200d-2640-fe0f",uc_match:"1f9d9-1f3fc-2640-fe0f",uc_greedy:"1f9d9-1f3fc-2640",shortnames:[":woman_mage_medium_light_skin_tone:"],category:"people"},":woman_mage_tone3:":{uc_base:"1f9d9-1f3fd-2640",uc_output:"1f9d9-1f3fd-200d-2640-fe0f",uc_match:"1f9d9-1f3fd-2640-fe0f",uc_greedy:"1f9d9-1f3fd-2640",shortnames:[":woman_mage_medium_skin_tone:"],category:"people"},":woman_mage_tone4:":{uc_base:"1f9d9-1f3fe-2640",uc_output:"1f9d9-1f3fe-200d-2640-fe0f",uc_match:"1f9d9-1f3fe-2640-fe0f",uc_greedy:"1f9d9-1f3fe-2640",shortnames:[":woman_mage_medium_dark_skin_tone:"],category:"people"},":woman_mage_tone5:":{uc_base:"1f9d9-1f3ff-2640",uc_output:"1f9d9-1f3ff-200d-2640-fe0f",uc_match:"1f9d9-1f3ff-2640-fe0f",uc_greedy:"1f9d9-1f3ff-2640",shortnames:[":woman_mage_dark_skin_tone:"],category:"people"},":woman_mountain_biking_tone1:":{uc_base:"1f6b5-1f3fb-2640",uc_output:"1f6b5-1f3fb-200d-2640-fe0f",uc_match:"1f6b5-1f3fb-2640-fe0f",uc_greedy:"1f6b5-1f3fb-2640",shortnames:[":woman_mountain_biking_light_skin_tone:"],category:"activity"},":woman_mountain_biking_tone2:":{uc_base:"1f6b5-1f3fc-2640",uc_output:"1f6b5-1f3fc-200d-2640-fe0f",uc_match:"1f6b5-1f3fc-2640-fe0f",uc_greedy:"1f6b5-1f3fc-2640",shortnames:[":woman_mountain_biking_medium_light_skin_tone:"],category:"activity"},":woman_mountain_biking_tone3:":{uc_base:"1f6b5-1f3fd-2640",uc_output:"1f6b5-1f3fd-200d-2640-fe0f",uc_match:"1f6b5-1f3fd-2640-fe0f",uc_greedy:"1f6b5-1f3fd-2640",shortnames:[":woman_mountain_biking_medium_skin_tone:"],category:"activity"},":woman_mountain_biking_tone4:":{uc_base:"1f6b5-1f3fe-2640",uc_output:"1f6b5-1f3fe-200d-2640-fe0f",uc_match:"1f6b5-1f3fe-2640-fe0f",uc_greedy:"1f6b5-1f3fe-2640",shortnames:[":woman_mountain_biking_medium_dark_skin_tone:"],category:"activity"},":woman_mountain_biking_tone5:":{uc_base:"1f6b5-1f3ff-2640",uc_output:"1f6b5-1f3ff-200d-2640-fe0f",uc_match:"1f6b5-1f3ff-2640-fe0f",uc_greedy:"1f6b5-1f3ff-2640",shortnames:[":woman_mountain_biking_dark_skin_tone:"],category:"activity"},":woman_pilot_tone1:":{uc_base:"1f469-1f3fb-2708",uc_output:"1f469-1f3fb-200d-2708-fe0f",uc_match:"1f469-1f3fb-2708-fe0f",uc_greedy:"1f469-1f3fb-2708",shortnames:[":woman_pilot_light_skin_tone:"],category:"people"},":woman_pilot_tone2:":{uc_base:"1f469-1f3fc-2708",uc_output:"1f469-1f3fc-200d-2708-fe0f",uc_match:"1f469-1f3fc-2708-fe0f",uc_greedy:"1f469-1f3fc-2708",shortnames:[":woman_pilot_medium_light_skin_tone:"],category:"people"},":woman_pilot_tone3:":{uc_base:"1f469-1f3fd-2708",uc_output:"1f469-1f3fd-200d-2708-fe0f",uc_match:"1f469-1f3fd-2708-fe0f",uc_greedy:"1f469-1f3fd-2708",shortnames:[":woman_pilot_medium_skin_tone:"],category:"people"},":woman_pilot_tone4:":{uc_base:"1f469-1f3fe-2708",uc_output:"1f469-1f3fe-200d-2708-fe0f",uc_match:"1f469-1f3fe-2708-fe0f",uc_greedy:"1f469-1f3fe-2708",shortnames:[":woman_pilot_medium_dark_skin_tone:"],category:"people"},":woman_pilot_tone5:":{uc_base:"1f469-1f3ff-2708",uc_output:"1f469-1f3ff-200d-2708-fe0f",uc_match:"1f469-1f3ff-2708-fe0f",uc_greedy:"1f469-1f3ff-2708",shortnames:[":woman_pilot_dark_skin_tone:"],category:"people"},":woman_playing_handball_tone1:":{uc_base:"1f93e-1f3fb-2640",uc_output:"1f93e-1f3fb-200d-2640-fe0f",uc_match:"1f93e-1f3fb-2640-fe0f",uc_greedy:"1f93e-1f3fb-2640",shortnames:[":woman_playing_handball_light_skin_tone:"],category:"activity"},":woman_playing_handball_tone2:":{uc_base:"1f93e-1f3fc-2640",uc_output:"1f93e-1f3fc-200d-2640-fe0f",uc_match:"1f93e-1f3fc-2640-fe0f",uc_greedy:"1f93e-1f3fc-2640",shortnames:[":woman_playing_handball_medium_light_skin_tone:"],category:"activity"},":woman_playing_handball_tone3:":{uc_base:"1f93e-1f3fd-2640",uc_output:"1f93e-1f3fd-200d-2640-fe0f",uc_match:"1f93e-1f3fd-2640-fe0f",uc_greedy:"1f93e-1f3fd-2640",shortnames:[":woman_playing_handball_medium_skin_tone:"],category:"activity"},":woman_playing_handball_tone4:":{uc_base:"1f93e-1f3fe-2640",uc_output:"1f93e-1f3fe-200d-2640-fe0f",uc_match:"1f93e-1f3fe-2640-fe0f",uc_greedy:"1f93e-1f3fe-2640",shortnames:[":woman_playing_handball_medium_dark_skin_tone:"],category:"activity"},":woman_playing_handball_tone5:":{uc_base:"1f93e-1f3ff-2640",uc_output:"1f93e-1f3ff-200d-2640-fe0f",uc_match:"1f93e-1f3ff-2640-fe0f",uc_greedy:"1f93e-1f3ff-2640",shortnames:[":woman_playing_handball_dark_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone1:":{uc_base:"1f93d-1f3fb-2640",uc_output:"1f93d-1f3fb-200d-2640-fe0f",uc_match:"1f93d-1f3fb-2640-fe0f",uc_greedy:"1f93d-1f3fb-2640",shortnames:[":woman_playing_water_polo_light_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone2:":{uc_base:"1f93d-1f3fc-2640",uc_output:"1f93d-1f3fc-200d-2640-fe0f",uc_match:"1f93d-1f3fc-2640-fe0f",uc_greedy:"1f93d-1f3fc-2640",shortnames:[":woman_playing_water_polo_medium_light_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone3:":{uc_base:"1f93d-1f3fd-2640",uc_output:"1f93d-1f3fd-200d-2640-fe0f",uc_match:"1f93d-1f3fd-2640-fe0f",uc_greedy:"1f93d-1f3fd-2640",shortnames:[":woman_playing_water_polo_medium_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone4:":{uc_base:"1f93d-1f3fe-2640",uc_output:"1f93d-1f3fe-200d-2640-fe0f",uc_match:"1f93d-1f3fe-2640-fe0f",uc_greedy:"1f93d-1f3fe-2640",shortnames:[":woman_playing_water_polo_medium_dark_skin_tone:"],category:"activity"},":woman_playing_water_polo_tone5:":{uc_base:"1f93d-1f3ff-2640",uc_output:"1f93d-1f3ff-200d-2640-fe0f",uc_match:"1f93d-1f3ff-2640-fe0f",uc_greedy:"1f93d-1f3ff-2640",shortnames:[":woman_playing_water_polo_dark_skin_tone:"],category:"activity"},":woman_police_officer_tone1:":{uc_base:"1f46e-1f3fb-2640",uc_output:"1f46e-1f3fb-200d-2640-fe0f",uc_match:"1f46e-1f3fb-2640-fe0f",uc_greedy:"1f46e-1f3fb-2640",shortnames:[":woman_police_officer_light_skin_tone:"],category:"people"},":woman_police_officer_tone2:":{uc_base:"1f46e-1f3fc-2640",uc_output:"1f46e-1f3fc-200d-2640-fe0f",uc_match:"1f46e-1f3fc-2640-fe0f",uc_greedy:"1f46e-1f3fc-2640",shortnames:[":woman_police_officer_medium_light_skin_tone:"],category:"people"},":woman_police_officer_tone3:":{uc_base:"1f46e-1f3fd-2640",uc_output:"1f46e-1f3fd-200d-2640-fe0f",uc_match:"1f46e-1f3fd-2640-fe0f",uc_greedy:"1f46e-1f3fd-2640",shortnames:[":woman_police_officer_medium_skin_tone:"],category:"people"},":woman_police_officer_tone4:":{uc_base:"1f46e-1f3fe-2640",uc_output:"1f46e-1f3fe-200d-2640-fe0f",uc_match:"1f46e-1f3fe-2640-fe0f",uc_greedy:"1f46e-1f3fe-2640",shortnames:[":woman_police_officer_medium_dark_skin_tone:"],category:"people"},":woman_police_officer_tone5:":{uc_base:"1f46e-1f3ff-2640",uc_output:"1f46e-1f3ff-200d-2640-fe0f",uc_match:"1f46e-1f3ff-2640-fe0f",uc_greedy:"1f46e-1f3ff-2640",shortnames:[":woman_police_officer_dark_skin_tone:"],category:"people"},":woman_pouting_tone1:":{uc_base:"1f64e-1f3fb-2640",uc_output:"1f64e-1f3fb-200d-2640-fe0f",uc_match:"1f64e-1f3fb-2640-fe0f",uc_greedy:"1f64e-1f3fb-2640",shortnames:[":woman_pouting_light_skin_tone:"],category:"people"},":woman_pouting_tone2:":{uc_base:"1f64e-1f3fc-2640",uc_output:"1f64e-1f3fc-200d-2640-fe0f",uc_match:"1f64e-1f3fc-2640-fe0f",uc_greedy:"1f64e-1f3fc-2640",shortnames:[":woman_pouting_medium_light_skin_tone:"],category:"people"},":woman_pouting_tone3:":{uc_base:"1f64e-1f3fd-2640",uc_output:"1f64e-1f3fd-200d-2640-fe0f",uc_match:"1f64e-1f3fd-2640-fe0f",uc_greedy:"1f64e-1f3fd-2640",shortnames:[":woman_pouting_medium_skin_tone:"],category:"people"},":woman_pouting_tone4:":{uc_base:"1f64e-1f3fe-2640",uc_output:"1f64e-1f3fe-200d-2640-fe0f",uc_match:"1f64e-1f3fe-2640-fe0f",uc_greedy:"1f64e-1f3fe-2640",shortnames:[":woman_pouting_medium_dark_skin_tone:"],category:"people"},":woman_pouting_tone5:":{uc_base:"1f64e-1f3ff-2640",uc_output:"1f64e-1f3ff-200d-2640-fe0f",uc_match:"1f64e-1f3ff-2640-fe0f",uc_greedy:"1f64e-1f3ff-2640",shortnames:[":woman_pouting_dark_skin_tone:"],category:"people"},":woman_raising_hand_tone1:":{uc_base:"1f64b-1f3fb-2640",uc_output:"1f64b-1f3fb-200d-2640-fe0f",uc_match:"1f64b-1f3fb-2640-fe0f",uc_greedy:"1f64b-1f3fb-2640",shortnames:[":woman_raising_hand_light_skin_tone:"],category:"people"},":woman_raising_hand_tone2:":{uc_base:"1f64b-1f3fc-2640",uc_output:"1f64b-1f3fc-200d-2640-fe0f",uc_match:"1f64b-1f3fc-2640-fe0f",uc_greedy:"1f64b-1f3fc-2640",shortnames:[":woman_raising_hand_medium_light_skin_tone:"],category:"people"},":woman_raising_hand_tone3:":{uc_base:"1f64b-1f3fd-2640",uc_output:"1f64b-1f3fd-200d-2640-fe0f",uc_match:"1f64b-1f3fd-2640-fe0f",uc_greedy:"1f64b-1f3fd-2640",shortnames:[":woman_raising_hand_medium_skin_tone:"],category:"people"},":woman_raising_hand_tone4:":{uc_base:"1f64b-1f3fe-2640",uc_output:"1f64b-1f3fe-200d-2640-fe0f",uc_match:"1f64b-1f3fe-2640-fe0f",uc_greedy:"1f64b-1f3fe-2640",shortnames:[":woman_raising_hand_medium_dark_skin_tone:"],category:"people"},":woman_raising_hand_tone5:":{uc_base:"1f64b-1f3ff-2640",uc_output:"1f64b-1f3ff-200d-2640-fe0f",uc_match:"1f64b-1f3ff-2640-fe0f",uc_greedy:"1f64b-1f3ff-2640",shortnames:[":woman_raising_hand_dark_skin_tone:"],category:"people"},":woman_rowing_boat_tone1:":{uc_base:"1f6a3-1f3fb-2640",uc_output:"1f6a3-1f3fb-200d-2640-fe0f",uc_match:"1f6a3-1f3fb-2640-fe0f",uc_greedy:"1f6a3-1f3fb-2640",shortnames:[":woman_rowing_boat_light_skin_tone:"],category:"activity"},":woman_rowing_boat_tone2:":{uc_base:"1f6a3-1f3fc-2640",uc_output:"1f6a3-1f3fc-200d-2640-fe0f",uc_match:"1f6a3-1f3fc-2640-fe0f",uc_greedy:"1f6a3-1f3fc-2640",shortnames:[":woman_rowing_boat_medium_light_skin_tone:"],category:"activity"},":woman_rowing_boat_tone3:":{uc_base:"1f6a3-1f3fd-2640",uc_output:"1f6a3-1f3fd-200d-2640-fe0f",uc_match:"1f6a3-1f3fd-2640-fe0f",uc_greedy:"1f6a3-1f3fd-2640",shortnames:[":woman_rowing_boat_medium_skin_tone:"],category:"activity"},":woman_rowing_boat_tone4:":{uc_base:"1f6a3-1f3fe-2640",uc_output:"1f6a3-1f3fe-200d-2640-fe0f",uc_match:"1f6a3-1f3fe-2640-fe0f",uc_greedy:"1f6a3-1f3fe-2640",shortnames:[":woman_rowing_boat_medium_dark_skin_tone:"],category:"activity"},":woman_rowing_boat_tone5:":{uc_base:"1f6a3-1f3ff-2640",uc_output:"1f6a3-1f3ff-200d-2640-fe0f",uc_match:"1f6a3-1f3ff-2640-fe0f",uc_greedy:"1f6a3-1f3ff-2640",shortnames:[":woman_rowing_boat_dark_skin_tone:"],category:"activity"},":woman_running_tone1:":{uc_base:"1f3c3-1f3fb-2640",uc_output:"1f3c3-1f3fb-200d-2640-fe0f",uc_match:"1f3c3-1f3fb-2640-fe0f",uc_greedy:"1f3c3-1f3fb-2640",shortnames:[":woman_running_light_skin_tone:"],category:"people"},":woman_running_tone2:":{uc_base:"1f3c3-1f3fc-2640",uc_output:"1f3c3-1f3fc-200d-2640-fe0f",uc_match:"1f3c3-1f3fc-2640-fe0f",uc_greedy:"1f3c3-1f3fc-2640",shortnames:[":woman_running_medium_light_skin_tone:"],category:"people"},":woman_running_tone3:":{uc_base:"1f3c3-1f3fd-2640",uc_output:"1f3c3-1f3fd-200d-2640-fe0f",uc_match:"1f3c3-1f3fd-2640-fe0f",uc_greedy:"1f3c3-1f3fd-2640",shortnames:[":woman_running_medium_skin_tone:"],category:"people"},":woman_running_tone4:":{uc_base:"1f3c3-1f3fe-2640",uc_output:"1f3c3-1f3fe-200d-2640-fe0f",uc_match:"1f3c3-1f3fe-2640-fe0f",uc_greedy:"1f3c3-1f3fe-2640",shortnames:[":woman_running_medium_dark_skin_tone:"],category:"people"},":woman_running_tone5:":{uc_base:"1f3c3-1f3ff-2640",uc_output:"1f3c3-1f3ff-200d-2640-fe0f",uc_match:"1f3c3-1f3ff-2640-fe0f",uc_greedy:"1f3c3-1f3ff-2640",shortnames:[":woman_running_dark_skin_tone:"],category:"people"},":woman_shrugging_tone1:":{uc_base:"1f937-1f3fb-2640",uc_output:"1f937-1f3fb-200d-2640-fe0f",uc_match:"1f937-1f3fb-2640-fe0f",uc_greedy:"1f937-1f3fb-2640",shortnames:[":woman_shrugging_light_skin_tone:"],category:"people"},":woman_shrugging_tone2:":{uc_base:"1f937-1f3fc-2640",uc_output:"1f937-1f3fc-200d-2640-fe0f",uc_match:"1f937-1f3fc-2640-fe0f",uc_greedy:"1f937-1f3fc-2640",shortnames:[":woman_shrugging_medium_light_skin_tone:"],category:"people"},":woman_shrugging_tone3:":{uc_base:"1f937-1f3fd-2640",uc_output:"1f937-1f3fd-200d-2640-fe0f",uc_match:"1f937-1f3fd-2640-fe0f",uc_greedy:"1f937-1f3fd-2640",shortnames:[":woman_shrugging_medium_skin_tone:"],category:"people"},":woman_shrugging_tone4:":{uc_base:"1f937-1f3fe-2640",uc_output:"1f937-1f3fe-200d-2640-fe0f",uc_match:"1f937-1f3fe-2640-fe0f",uc_greedy:"1f937-1f3fe-2640",shortnames:[":woman_shrugging_medium_dark_skin_tone:"],category:"people"},":woman_shrugging_tone5:":{uc_base:"1f937-1f3ff-2640",uc_output:"1f937-1f3ff-200d-2640-fe0f",uc_match:"1f937-1f3ff-2640-fe0f",uc_greedy:"1f937-1f3ff-2640",shortnames:[":woman_shrugging_dark_skin_tone:"],category:"people"},":woman_superhero_tone1:":{uc_base:"1f9b8-1f3fb-2640",uc_output:"1f9b8-1f3fb-200d-2640-fe0f",uc_match:"1f9b8-1f3fb-2640-fe0f",uc_greedy:"1f9b8-1f3fb-2640",shortnames:[":woman_superhero_light_skin_tone:"],category:"people"},":woman_superhero_tone2:":{uc_base:"1f9b8-1f3fc-2640",uc_output:"1f9b8-1f3fc-200d-2640-fe0f",uc_match:"1f9b8-1f3fc-2640-fe0f",uc_greedy:"1f9b8-1f3fc-2640",shortnames:[":woman_superhero_medium_light_skin_tone:"],category:"people"},":woman_superhero_tone3:":{uc_base:"1f9b8-1f3fd-2640",uc_output:"1f9b8-1f3fd-200d-2640-fe0f",uc_match:"1f9b8-1f3fd-2640-fe0f",uc_greedy:"1f9b8-1f3fd-2640",shortnames:[":woman_superhero_medium_skin_tone:"],category:"people"},":woman_superhero_tone4:":{uc_base:"1f9b8-1f3fe-2640",uc_output:"1f9b8-1f3fe-200d-2640-fe0f",uc_match:"1f9b8-1f3fe-2640-fe0f",uc_greedy:"1f9b8-1f3fe-2640",shortnames:[":woman_superhero_medium_dark_skin_tone:"],category:"people"},":woman_superhero_tone5:":{uc_base:"1f9b8-1f3ff-2640",uc_output:"1f9b8-1f3ff-200d-2640-fe0f",uc_match:"1f9b8-1f3ff-2640-fe0f",uc_greedy:"1f9b8-1f3ff-2640",shortnames:[":woman_superhero_dark_skin_tone:"],category:"people"},":woman_supervillain_tone1:":{uc_base:"1f9b9-1f3fb-2640",uc_output:"1f9b9-1f3fb-200d-2640-fe0f",uc_match:"1f9b9-1f3fb-2640-fe0f",uc_greedy:"1f9b9-1f3fb-2640",shortnames:[":woman_supervillain_light_skin_tone:"],category:"people"},":woman_supervillain_tone2:":{uc_base:"1f9b9-1f3fc-2640",uc_output:"1f9b9-1f3fc-200d-2640-fe0f",uc_match:"1f9b9-1f3fc-2640-fe0f",uc_greedy:"1f9b9-1f3fc-2640",shortnames:[":woman_supervillain_medium_light_skin_tone:"],category:"people"},":woman_supervillain_tone3:":{uc_base:"1f9b9-1f3fd-2640",uc_output:"1f9b9-1f3fd-200d-2640-fe0f",uc_match:"1f9b9-1f3fd-2640-fe0f",uc_greedy:"1f9b9-1f3fd-2640",shortnames:[":woman_supervillain_medium_skin_tone:"],category:"people"},":woman_supervillain_tone4:":{uc_base:"1f9b9-1f3fe-2640",uc_output:"1f9b9-1f3fe-200d-2640-fe0f",uc_match:"1f9b9-1f3fe-2640-fe0f",uc_greedy:"1f9b9-1f3fe-2640",shortnames:[":woman_supervillain_medium_dark_skin_tone:"],category:"people"},":woman_supervillain_tone5:":{uc_base:"1f9b9-1f3ff-2640",uc_output:"1f9b9-1f3ff-200d-2640-fe0f",uc_match:"1f9b9-1f3ff-2640-fe0f",uc_greedy:"1f9b9-1f3ff-2640",shortnames:[":woman_supervillain_dark_skin_tone:"],category:"people"},":woman_surfing_tone1:":{uc_base:"1f3c4-1f3fb-2640",uc_output:"1f3c4-1f3fb-200d-2640-fe0f",uc_match:"1f3c4-1f3fb-2640-fe0f",uc_greedy:"1f3c4-1f3fb-2640",shortnames:[":woman_surfing_light_skin_tone:"],category:"activity"},":woman_surfing_tone2:":{uc_base:"1f3c4-1f3fc-2640",uc_output:"1f3c4-1f3fc-200d-2640-fe0f",uc_match:"1f3c4-1f3fc-2640-fe0f",uc_greedy:"1f3c4-1f3fc-2640",shortnames:[":woman_surfing_medium_light_skin_tone:"],category:"activity"},":woman_surfing_tone3:":{uc_base:"1f3c4-1f3fd-2640",uc_output:"1f3c4-1f3fd-200d-2640-fe0f",uc_match:"1f3c4-1f3fd-2640-fe0f",uc_greedy:"1f3c4-1f3fd-2640",shortnames:[":woman_surfing_medium_skin_tone:"],category:"activity"},":woman_surfing_tone4:":{uc_base:"1f3c4-1f3fe-2640",uc_output:"1f3c4-1f3fe-200d-2640-fe0f",uc_match:"1f3c4-1f3fe-2640-fe0f",uc_greedy:"1f3c4-1f3fe-2640",shortnames:[":woman_surfing_medium_dark_skin_tone:"],category:"activity"},":woman_surfing_tone5:":{uc_base:"1f3c4-1f3ff-2640",uc_output:"1f3c4-1f3ff-200d-2640-fe0f",uc_match:"1f3c4-1f3ff-2640-fe0f",uc_greedy:"1f3c4-1f3ff-2640",shortnames:[":woman_surfing_dark_skin_tone:"],category:"activity"},":woman_swimming_tone1:":{uc_base:"1f3ca-1f3fb-2640",uc_output:"1f3ca-1f3fb-200d-2640-fe0f",uc_match:"1f3ca-1f3fb-2640-fe0f",uc_greedy:"1f3ca-1f3fb-2640",shortnames:[":woman_swimming_light_skin_tone:"],category:"activity"},":woman_swimming_tone2:":{uc_base:"1f3ca-1f3fc-2640",uc_output:"1f3ca-1f3fc-200d-2640-fe0f",uc_match:"1f3ca-1f3fc-2640-fe0f",uc_greedy:"1f3ca-1f3fc-2640",shortnames:[":woman_swimming_medium_light_skin_tone:"],category:"activity"},":woman_swimming_tone3:":{uc_base:"1f3ca-1f3fd-2640",uc_output:"1f3ca-1f3fd-200d-2640-fe0f",uc_match:"1f3ca-1f3fd-2640-fe0f",uc_greedy:"1f3ca-1f3fd-2640",shortnames:[":woman_swimming_medium_skin_tone:"],category:"activity"},":woman_swimming_tone4:":{uc_base:"1f3ca-1f3fe-2640",uc_output:"1f3ca-1f3fe-200d-2640-fe0f",uc_match:"1f3ca-1f3fe-2640-fe0f",uc_greedy:"1f3ca-1f3fe-2640",shortnames:[":woman_swimming_medium_dark_skin_tone:"],category:"activity"},":woman_swimming_tone5:":{uc_base:"1f3ca-1f3ff-2640",uc_output:"1f3ca-1f3ff-200d-2640-fe0f",uc_match:"1f3ca-1f3ff-2640-fe0f",uc_greedy:"1f3ca-1f3ff-2640",shortnames:[":woman_swimming_dark_skin_tone:"],category:"activity"},":woman_tipping_hand_tone1:":{uc_base:"1f481-1f3fb-2640",uc_output:"1f481-1f3fb-200d-2640-fe0f",uc_match:"1f481-1f3fb-2640-fe0f",uc_greedy:"1f481-1f3fb-2640",shortnames:[":woman_tipping_hand_light_skin_tone:"],category:"people"},":woman_tipping_hand_tone2:":{uc_base:"1f481-1f3fc-2640",uc_output:"1f481-1f3fc-200d-2640-fe0f",uc_match:"1f481-1f3fc-2640-fe0f",uc_greedy:"1f481-1f3fc-2640",shortnames:[":woman_tipping_hand_medium_light_skin_tone:"],category:"people"},":woman_tipping_hand_tone3:":{uc_base:"1f481-1f3fd-2640",uc_output:"1f481-1f3fd-200d-2640-fe0f",uc_match:"1f481-1f3fd-2640-fe0f",uc_greedy:"1f481-1f3fd-2640",shortnames:[":woman_tipping_hand_medium_skin_tone:"],category:"people"},":woman_tipping_hand_tone4:":{uc_base:"1f481-1f3fe-2640",uc_output:"1f481-1f3fe-200d-2640-fe0f",uc_match:"1f481-1f3fe-2640-fe0f",uc_greedy:"1f481-1f3fe-2640",shortnames:[":woman_tipping_hand_medium_dark_skin_tone:"],category:"people"},":woman_tipping_hand_tone5:":{uc_base:"1f481-1f3ff-2640",uc_output:"1f481-1f3ff-200d-2640-fe0f",uc_match:"1f481-1f3ff-2640-fe0f",uc_greedy:"1f481-1f3ff-2640",shortnames:[":woman_tipping_hand_dark_skin_tone:"],category:"people"},":woman_vampire_tone1:":{uc_base:"1f9db-1f3fb-2640",uc_output:"1f9db-1f3fb-200d-2640-fe0f",uc_match:"1f9db-1f3fb-2640-fe0f",uc_greedy:"1f9db-1f3fb-2640",shortnames:[":woman_vampire_light_skin_tone:"],category:"people"},":woman_vampire_tone2:":{uc_base:"1f9db-1f3fc-2640",uc_output:"1f9db-1f3fc-200d-2640-fe0f",uc_match:"1f9db-1f3fc-2640-fe0f",uc_greedy:"1f9db-1f3fc-2640",shortnames:[":woman_vampire_medium_light_skin_tone:"],category:"people"},":woman_vampire_tone3:":{uc_base:"1f9db-1f3fd-2640",uc_output:"1f9db-1f3fd-200d-2640-fe0f",uc_match:"1f9db-1f3fd-2640-fe0f",uc_greedy:"1f9db-1f3fd-2640",shortnames:[":woman_vampire_medium_skin_tone:"],category:"people"},":woman_vampire_tone4:":{uc_base:"1f9db-1f3fe-2640",uc_output:"1f9db-1f3fe-200d-2640-fe0f",uc_match:"1f9db-1f3fe-2640-fe0f",uc_greedy:"1f9db-1f3fe-2640",shortnames:[":woman_vampire_medium_dark_skin_tone:"],category:"people"},":woman_vampire_tone5:":{uc_base:"1f9db-1f3ff-2640",uc_output:"1f9db-1f3ff-200d-2640-fe0f",uc_match:"1f9db-1f3ff-2640-fe0f",uc_greedy:"1f9db-1f3ff-2640",shortnames:[":woman_vampire_dark_skin_tone:"],category:"people"},":woman_walking_tone1:":{uc_base:"1f6b6-1f3fb-2640",uc_output:"1f6b6-1f3fb-200d-2640-fe0f",uc_match:"1f6b6-1f3fb-2640-fe0f",uc_greedy:"1f6b6-1f3fb-2640",shortnames:[":woman_walking_light_skin_tone:"],category:"people"},":woman_walking_tone2:":{uc_base:"1f6b6-1f3fc-2640",uc_output:"1f6b6-1f3fc-200d-2640-fe0f",uc_match:"1f6b6-1f3fc-2640-fe0f",uc_greedy:"1f6b6-1f3fc-2640",shortnames:[":woman_walking_medium_light_skin_tone:"],category:"people"},":woman_walking_tone3:":{uc_base:"1f6b6-1f3fd-2640",uc_output:"1f6b6-1f3fd-200d-2640-fe0f",uc_match:"1f6b6-1f3fd-2640-fe0f",uc_greedy:"1f6b6-1f3fd-2640",shortnames:[":woman_walking_medium_skin_tone:"],category:"people"},":woman_walking_tone4:":{uc_base:"1f6b6-1f3fe-2640",uc_output:"1f6b6-1f3fe-200d-2640-fe0f",uc_match:"1f6b6-1f3fe-2640-fe0f",uc_greedy:"1f6b6-1f3fe-2640",shortnames:[":woman_walking_medium_dark_skin_tone:"],category:"people"},":woman_walking_tone5:":{uc_base:"1f6b6-1f3ff-2640",uc_output:"1f6b6-1f3ff-200d-2640-fe0f",uc_match:"1f6b6-1f3ff-2640-fe0f",uc_greedy:"1f6b6-1f3ff-2640",shortnames:[":woman_walking_dark_skin_tone:"],category:"people"},":woman_wearing_turban_tone1:":{uc_base:"1f473-1f3fb-2640",uc_output:"1f473-1f3fb-200d-2640-fe0f",uc_match:"1f473-1f3fb-2640-fe0f",uc_greedy:"1f473-1f3fb-2640",shortnames:[":woman_wearing_turban_light_skin_tone:"],category:"people"},":woman_wearing_turban_tone2:":{uc_base:"1f473-1f3fc-2640",uc_output:"1f473-1f3fc-200d-2640-fe0f",uc_match:"1f473-1f3fc-2640-fe0f",uc_greedy:"1f473-1f3fc-2640",shortnames:[":woman_wearing_turban_medium_light_skin_tone:"],category:"people"},":woman_wearing_turban_tone3:":{uc_base:"1f473-1f3fd-2640",uc_output:"1f473-1f3fd-200d-2640-fe0f",uc_match:"1f473-1f3fd-2640-fe0f",uc_greedy:"1f473-1f3fd-2640",shortnames:[":woman_wearing_turban_medium_skin_tone:"],category:"people"},":woman_wearing_turban_tone4:":{uc_base:"1f473-1f3fe-2640",uc_output:"1f473-1f3fe-200d-2640-fe0f",uc_match:"1f473-1f3fe-2640-fe0f",uc_greedy:"1f473-1f3fe-2640",shortnames:[":woman_wearing_turban_medium_dark_skin_tone:"],category:"people"},":woman_wearing_turban_tone5:":{uc_base:"1f473-1f3ff-2640",uc_output:"1f473-1f3ff-200d-2640-fe0f",uc_match:"1f473-1f3ff-2640-fe0f",uc_greedy:"1f473-1f3ff-2640",shortnames:[":woman_wearing_turban_dark_skin_tone:"],category:"people"},":man_bouncing_ball_tone1:":{uc_base:"26f9-1f3fb-2642",uc_output:"26f9-1f3fb-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fb-2642-fe0f",uc_greedy:"26f9-1f3fb-2642",shortnames:[":man_bouncing_ball_light_skin_tone:"],category:"activity"},":man_bouncing_ball_tone2:":{uc_base:"26f9-1f3fc-2642",uc_output:"26f9-1f3fc-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fc-2642-fe0f",uc_greedy:"26f9-1f3fc-2642",shortnames:[":man_bouncing_ball_medium_light_skin_tone:"],category:"activity"},":man_bouncing_ball_tone3:":{uc_base:"26f9-1f3fd-2642",uc_output:"26f9-1f3fd-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fd-2642-fe0f",uc_greedy:"26f9-1f3fd-2642",shortnames:[":man_bouncing_ball_medium_skin_tone:"],category:"activity"},":man_bouncing_ball_tone4:":{uc_base:"26f9-1f3fe-2642",uc_output:"26f9-1f3fe-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3fe-2642-fe0f",uc_greedy:"26f9-1f3fe-2642",shortnames:[":man_bouncing_ball_medium_dark_skin_tone:"],category:"activity"},":man_bouncing_ball_tone5:":{uc_base:"26f9-1f3ff-2642",uc_output:"26f9-1f3ff-200d-2642-fe0f",uc_match:"26f9-fe0f-1f3ff-2642-fe0f",uc_greedy:"26f9-1f3ff-2642",shortnames:[":man_bouncing_ball_dark_skin_tone:"],category:"activity"},":man_detective:":{uc_base:"1f575-2642",uc_output:"1f575-fe0f-200d-2642-fe0f",uc_match:"1f575-fe0f-200d-2642",uc_greedy:"1f575-2642",shortnames:[],category:"people"},":man_golfing:":{uc_base:"1f3cc-2642",uc_output:"1f3cc-fe0f-200d-2642-fe0f",uc_match:"1f3cc-fe0f-200d-2642",uc_greedy:"1f3cc-2642",shortnames:[],category:"activity"},":man_lifting_weights:":{uc_base:"1f3cb-2642",uc_output:"1f3cb-fe0f-200d-2642-fe0f",uc_match:"1f3cb-fe0f-200d-2642",uc_greedy:"1f3cb-2642",shortnames:[],category:"activity"},":woman_bouncing_ball_tone1:":{uc_base:"26f9-1f3fb-2640",uc_output:"26f9-1f3fb-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fb-2640-fe0f",uc_greedy:"26f9-1f3fb-2640",shortnames:[":woman_bouncing_ball_light_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone2:":{uc_base:"26f9-1f3fc-2640",uc_output:"26f9-1f3fc-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fc-2640-fe0f",uc_greedy:"26f9-1f3fc-2640",shortnames:[":woman_bouncing_ball_medium_light_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone3:":{uc_base:"26f9-1f3fd-2640",uc_output:"26f9-1f3fd-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fd-2640-fe0f",uc_greedy:"26f9-1f3fd-2640",shortnames:[":woman_bouncing_ball_medium_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone4:":{uc_base:"26f9-1f3fe-2640",uc_output:"26f9-1f3fe-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3fe-2640-fe0f",uc_greedy:"26f9-1f3fe-2640",shortnames:[":woman_bouncing_ball_medium_dark_skin_tone:"],category:"activity"},":woman_bouncing_ball_tone5:":{uc_base:"26f9-1f3ff-2640",uc_output:"26f9-1f3ff-200d-2640-fe0f",uc_match:"26f9-fe0f-1f3ff-2640-fe0f",uc_greedy:"26f9-1f3ff-2640",shortnames:[":woman_bouncing_ball_dark_skin_tone:"],category:"activity"},":woman_detective:":{uc_base:"1f575-2640",uc_output:"1f575-fe0f-200d-2640-fe0f",uc_match:"1f575-fe0f-200d-2640",uc_greedy:"1f575-2640",shortnames:[],category:"people"},":woman_golfing:":{uc_base:"1f3cc-2640",uc_output:"1f3cc-fe0f-200d-2640-fe0f",uc_match:"1f3cc-fe0f-200d-2640",uc_greedy:"1f3cc-2640",shortnames:[],category:"activity"},":woman_lifting_weights:":{uc_base:"1f3cb-2640",uc_output:"1f3cb-fe0f-200d-2640-fe0f",uc_match:"1f3cb-fe0f-200d-2640",uc_greedy:"1f3cb-2640",shortnames:[],category:"activity"},":man_bouncing_ball:":{uc_base:"26f9-2642",uc_output:"26f9-fe0f-200d-2642-fe0f",uc_match:"26f9-fe0f-200d-2642",uc_greedy:"26f9-2642",shortnames:[],category:"activity"},":woman_bouncing_ball:":{uc_base:"26f9-2640",uc_output:"26f9-fe0f-200d-2640-fe0f",uc_match:"26f9-fe0f-200d-2640",uc_greedy:"26f9-2640",shortnames:[],category:"activity"},":man_artist_tone1:":{uc_base:"1f468-1f3fb-1f3a8",uc_output:"1f468-1f3fb-200d-1f3a8",uc_match:"1f468-1f3fb-1f3a8",uc_greedy:"1f468-1f3fb-1f3a8",shortnames:[":man_artist_light_skin_tone:"],category:"people"},":man_artist_tone2:":{uc_base:"1f468-1f3fc-1f3a8",uc_output:"1f468-1f3fc-200d-1f3a8",uc_match:"1f468-1f3fc-1f3a8",uc_greedy:"1f468-1f3fc-1f3a8",shortnames:[":man_artist_medium_light_skin_tone:"],category:"people"},":man_artist_tone3:":{uc_base:"1f468-1f3fd-1f3a8",uc_output:"1f468-1f3fd-200d-1f3a8",uc_match:"1f468-1f3fd-1f3a8",uc_greedy:"1f468-1f3fd-1f3a8",shortnames:[":man_artist_medium_skin_tone:"],category:"people"},":man_artist_tone4:":{uc_base:"1f468-1f3fe-1f3a8",uc_output:"1f468-1f3fe-200d-1f3a8",uc_match:"1f468-1f3fe-1f3a8",uc_greedy:"1f468-1f3fe-1f3a8",shortnames:[":man_artist_medium_dark_skin_tone:"],category:"people"},":man_artist_tone5:":{uc_base:"1f468-1f3ff-1f3a8",uc_output:"1f468-1f3ff-200d-1f3a8",uc_match:"1f468-1f3ff-1f3a8",uc_greedy:"1f468-1f3ff-1f3a8",shortnames:[":man_artist_dark_skin_tone:"],category:"people"},":man_astronaut_tone1:":{uc_base:"1f468-1f3fb-1f680",uc_output:"1f468-1f3fb-200d-1f680",uc_match:"1f468-1f3fb-1f680",uc_greedy:"1f468-1f3fb-1f680",shortnames:[":man_astronaut_light_skin_tone:"],category:"people"},":man_astronaut_tone2:":{uc_base:"1f468-1f3fc-1f680",uc_output:"1f468-1f3fc-200d-1f680",uc_match:"1f468-1f3fc-1f680",uc_greedy:"1f468-1f3fc-1f680",shortnames:[":man_astronaut_medium_light_skin_tone:"],category:"people"},":man_astronaut_tone3:":{uc_base:"1f468-1f3fd-1f680",uc_output:"1f468-1f3fd-200d-1f680",uc_match:"1f468-1f3fd-1f680",uc_greedy:"1f468-1f3fd-1f680",shortnames:[":man_astronaut_medium_skin_tone:"],category:"people"},":man_astronaut_tone4:":{uc_base:"1f468-1f3fe-1f680",uc_output:"1f468-1f3fe-200d-1f680",uc_match:"1f468-1f3fe-1f680",uc_greedy:"1f468-1f3fe-1f680",shortnames:[":man_astronaut_medium_dark_skin_tone:"],category:"people"},":man_astronaut_tone5:":{uc_base:"1f468-1f3ff-1f680",uc_output:"1f468-1f3ff-200d-1f680",uc_match:"1f468-1f3ff-1f680",uc_greedy:"1f468-1f3ff-1f680",shortnames:[":man_astronaut_dark_skin_tone:"],category:"people"},":man_bald_tone1:":{uc_base:"1f468-1f3fb-1f9b2",uc_output:"1f468-1f3fb-200d-1f9b2",uc_match:"1f468-1f3fb-1f9b2",uc_greedy:"1f468-1f3fb-1f9b2",shortnames:[":man_bald_light_skin_tone:"],category:"people"},":man_bald_tone2:":{uc_base:"1f468-1f3fc-1f9b2",uc_output:"1f468-1f3fc-200d-1f9b2",uc_match:"1f468-1f3fc-1f9b2",uc_greedy:"1f468-1f3fc-1f9b2",shortnames:[":man_bald_medium_light_skin_tone:"],category:"people"},":man_bald_tone3:":{uc_base:"1f468-1f3fd-1f9b2",uc_output:"1f468-1f3fd-200d-1f9b2",uc_match:"1f468-1f3fd-1f9b2",uc_greedy:"1f468-1f3fd-1f9b2",shortnames:[":man_bald_medium_skin_tone:"],category:"people"},":man_bald_tone4:":{uc_base:"1f468-1f3fe-1f9b2",uc_output:"1f468-1f3fe-200d-1f9b2",uc_match:"1f468-1f3fe-1f9b2",uc_greedy:"1f468-1f3fe-1f9b2",shortnames:[":man_bald_medium_dark_skin_tone:"],category:"people"},":man_bald_tone5:":{uc_base:"1f468-1f3ff-1f9b2",uc_output:"1f468-1f3ff-200d-1f9b2",uc_match:"1f468-1f3ff-1f9b2",uc_greedy:"1f468-1f3ff-1f9b2",shortnames:[":man_bald_dark_skin_tone:"],category:"people"},":man_cook_tone1:":{uc_base:"1f468-1f3fb-1f373",uc_output:"1f468-1f3fb-200d-1f373",uc_match:"1f468-1f3fb-1f373",uc_greedy:"1f468-1f3fb-1f373",shortnames:[":man_cook_light_skin_tone:"],category:"people"},":man_cook_tone2:":{uc_base:"1f468-1f3fc-1f373",uc_output:"1f468-1f3fc-200d-1f373",uc_match:"1f468-1f3fc-1f373",uc_greedy:"1f468-1f3fc-1f373",shortnames:[":man_cook_medium_light_skin_tone:"],category:"people"},":man_cook_tone3:":{uc_base:"1f468-1f3fd-1f373",uc_output:"1f468-1f3fd-200d-1f373",uc_match:"1f468-1f3fd-1f373",uc_greedy:"1f468-1f3fd-1f373",shortnames:[":man_cook_medium_skin_tone:"],category:"people"},":man_cook_tone4:":{uc_base:"1f468-1f3fe-1f373",uc_output:"1f468-1f3fe-200d-1f373",uc_match:"1f468-1f3fe-1f373",uc_greedy:"1f468-1f3fe-1f373",shortnames:[":man_cook_medium_dark_skin_tone:"],category:"people"},":man_cook_tone5:":{uc_base:"1f468-1f3ff-1f373",uc_output:"1f468-1f3ff-200d-1f373",uc_match:"1f468-1f3ff-1f373",uc_greedy:"1f468-1f3ff-1f373",shortnames:[":man_cook_dark_skin_tone:"],category:"people"},":man_curly_haired_tone1:":{uc_base:"1f468-1f3fb-1f9b1",uc_output:"1f468-1f3fb-200d-1f9b1",uc_match:"1f468-1f3fb-1f9b1",uc_greedy:"1f468-1f3fb-1f9b1",shortnames:[":man_curly_haired_light_skin_tone:"],category:"people"},":man_curly_haired_tone2:":{uc_base:"1f468-1f3fc-1f9b1",uc_output:"1f468-1f3fc-200d-1f9b1",uc_match:"1f468-1f3fc-1f9b1",uc_greedy:"1f468-1f3fc-1f9b1",shortnames:[":man_curly_haired_medium_light_skin_tone:"],category:"people"},":man_curly_haired_tone3:":{uc_base:"1f468-1f3fd-1f9b1",uc_output:"1f468-1f3fd-200d-1f9b1",uc_match:"1f468-1f3fd-1f9b1",uc_greedy:"1f468-1f3fd-1f9b1",shortnames:[":man_curly_haired_medium_skin_tone:"],category:"people"},":man_curly_haired_tone4:":{uc_base:"1f468-1f3fe-1f9b1",uc_output:"1f468-1f3fe-200d-1f9b1",uc_match:"1f468-1f3fe-1f9b1",uc_greedy:"1f468-1f3fe-1f9b1",shortnames:[":man_curly_haired_medium_dark_skin_tone:"],category:"people"},":man_curly_haired_tone5:":{uc_base:"1f468-1f3ff-1f9b1",uc_output:"1f468-1f3ff-200d-1f9b1",uc_match:"1f468-1f3ff-1f9b1",uc_greedy:"1f468-1f3ff-1f9b1",shortnames:[":man_curly_haired_dark_skin_tone:"],category:"people"},":man_factory_worker_tone1:":{uc_base:"1f468-1f3fb-1f3ed",uc_output:"1f468-1f3fb-200d-1f3ed",uc_match:"1f468-1f3fb-1f3ed",uc_greedy:"1f468-1f3fb-1f3ed",shortnames:[":man_factory_worker_light_skin_tone:"],category:"people"},":man_factory_worker_tone2:":{uc_base:"1f468-1f3fc-1f3ed",uc_output:"1f468-1f3fc-200d-1f3ed",uc_match:"1f468-1f3fc-1f3ed",uc_greedy:"1f468-1f3fc-1f3ed",shortnames:[":man_factory_worker_medium_light_skin_tone:"],category:"people"},":man_factory_worker_tone3:":{uc_base:"1f468-1f3fd-1f3ed",uc_output:"1f468-1f3fd-200d-1f3ed",uc_match:"1f468-1f3fd-1f3ed",uc_greedy:"1f468-1f3fd-1f3ed",shortnames:[":man_factory_worker_medium_skin_tone:"],category:"people"},":man_factory_worker_tone4:":{uc_base:"1f468-1f3fe-1f3ed",uc_output:"1f468-1f3fe-200d-1f3ed",uc_match:"1f468-1f3fe-1f3ed",uc_greedy:"1f468-1f3fe-1f3ed",shortnames:[":man_factory_worker_medium_dark_skin_tone:"],category:"people"},":man_factory_worker_tone5:":{uc_base:"1f468-1f3ff-1f3ed",uc_output:"1f468-1f3ff-200d-1f3ed",uc_match:"1f468-1f3ff-1f3ed",uc_greedy:"1f468-1f3ff-1f3ed",shortnames:[":man_factory_worker_dark_skin_tone:"],category:"people"},":man_farmer_tone1:":{uc_base:"1f468-1f3fb-1f33e",uc_output:"1f468-1f3fb-200d-1f33e",uc_match:"1f468-1f3fb-1f33e",uc_greedy:"1f468-1f3fb-1f33e",shortnames:[":man_farmer_light_skin_tone:"],category:"people"},":man_farmer_tone2:":{uc_base:"1f468-1f3fc-1f33e",uc_output:"1f468-1f3fc-200d-1f33e",uc_match:"1f468-1f3fc-1f33e",uc_greedy:"1f468-1f3fc-1f33e",shortnames:[":man_farmer_medium_light_skin_tone:"],category:"people"},":man_farmer_tone3:":{uc_base:"1f468-1f3fd-1f33e",uc_output:"1f468-1f3fd-200d-1f33e",uc_match:"1f468-1f3fd-1f33e",uc_greedy:"1f468-1f3fd-1f33e",shortnames:[":man_farmer_medium_skin_tone:"],category:"people"},":man_farmer_tone4:":{uc_base:"1f468-1f3fe-1f33e",uc_output:"1f468-1f3fe-200d-1f33e",uc_match:"1f468-1f3fe-1f33e",uc_greedy:"1f468-1f3fe-1f33e",shortnames:[":man_farmer_medium_dark_skin_tone:"],category:"people"},":man_farmer_tone5:":{uc_base:"1f468-1f3ff-1f33e",uc_output:"1f468-1f3ff-200d-1f33e",uc_match:"1f468-1f3ff-1f33e",uc_greedy:"1f468-1f3ff-1f33e",shortnames:[":man_farmer_dark_skin_tone:"],category:"people"},":man_firefighter_tone1:":{uc_base:"1f468-1f3fb-1f692",uc_output:"1f468-1f3fb-200d-1f692",uc_match:"1f468-1f3fb-1f692",uc_greedy:"1f468-1f3fb-1f692",shortnames:[":man_firefighter_light_skin_tone:"],category:"people"},":man_firefighter_tone2:":{uc_base:"1f468-1f3fc-1f692",uc_output:"1f468-1f3fc-200d-1f692",uc_match:"1f468-1f3fc-1f692",uc_greedy:"1f468-1f3fc-1f692",shortnames:[":man_firefighter_medium_light_skin_tone:"],category:"people"},":man_firefighter_tone3:":{uc_base:"1f468-1f3fd-1f692",uc_output:"1f468-1f3fd-200d-1f692",uc_match:"1f468-1f3fd-1f692",uc_greedy:"1f468-1f3fd-1f692",shortnames:[":man_firefighter_medium_skin_tone:"],category:"people"},":man_firefighter_tone4:":{uc_base:"1f468-1f3fe-1f692",uc_output:"1f468-1f3fe-200d-1f692",uc_match:"1f468-1f3fe-1f692",uc_greedy:"1f468-1f3fe-1f692",shortnames:[":man_firefighter_medium_dark_skin_tone:"],category:"people"},":man_firefighter_tone5:":{uc_base:"1f468-1f3ff-1f692",uc_output:"1f468-1f3ff-200d-1f692",uc_match:"1f468-1f3ff-1f692",uc_greedy:"1f468-1f3ff-1f692",shortnames:[":man_firefighter_dark_skin_tone:"],category:"people"},":man_mechanic_tone1:":{uc_base:"1f468-1f3fb-1f527",uc_output:"1f468-1f3fb-200d-1f527",uc_match:"1f468-1f3fb-1f527",uc_greedy:"1f468-1f3fb-1f527",shortnames:[":man_mechanic_light_skin_tone:"],category:"people"},":man_mechanic_tone2:":{uc_base:"1f468-1f3fc-1f527",uc_output:"1f468-1f3fc-200d-1f527",uc_match:"1f468-1f3fc-1f527",uc_greedy:"1f468-1f3fc-1f527",shortnames:[":man_mechanic_medium_light_skin_tone:"],category:"people"},":man_mechanic_tone3:":{uc_base:"1f468-1f3fd-1f527",uc_output:"1f468-1f3fd-200d-1f527",uc_match:"1f468-1f3fd-1f527",uc_greedy:"1f468-1f3fd-1f527",shortnames:[":man_mechanic_medium_skin_tone:"],category:"people"},":man_mechanic_tone4:":{uc_base:"1f468-1f3fe-1f527",uc_output:"1f468-1f3fe-200d-1f527",uc_match:"1f468-1f3fe-1f527",uc_greedy:"1f468-1f3fe-1f527",shortnames:[":man_mechanic_medium_dark_skin_tone:"],category:"people"},":man_mechanic_tone5:":{uc_base:"1f468-1f3ff-1f527",uc_output:"1f468-1f3ff-200d-1f527",uc_match:"1f468-1f3ff-1f527",uc_greedy:"1f468-1f3ff-1f527",shortnames:[":man_mechanic_dark_skin_tone:"],category:"people"},":man_office_worker_tone1:":{uc_base:"1f468-1f3fb-1f4bc",uc_output:"1f468-1f3fb-200d-1f4bc",uc_match:"1f468-1f3fb-1f4bc",uc_greedy:"1f468-1f3fb-1f4bc",shortnames:[":man_office_worker_light_skin_tone:"],category:"people"},":man_office_worker_tone2:":{uc_base:"1f468-1f3fc-1f4bc",uc_output:"1f468-1f3fc-200d-1f4bc",uc_match:"1f468-1f3fc-1f4bc",uc_greedy:"1f468-1f3fc-1f4bc",shortnames:[":man_office_worker_medium_light_skin_tone:"],category:"people"},":man_office_worker_tone3:":{uc_base:"1f468-1f3fd-1f4bc",uc_output:"1f468-1f3fd-200d-1f4bc",uc_match:"1f468-1f3fd-1f4bc",uc_greedy:"1f468-1f3fd-1f4bc",shortnames:[":man_office_worker_medium_skin_tone:"],category:"people"},":man_office_worker_tone4:":{uc_base:"1f468-1f3fe-1f4bc",uc_output:"1f468-1f3fe-200d-1f4bc",uc_match:"1f468-1f3fe-1f4bc",uc_greedy:"1f468-1f3fe-1f4bc",shortnames:[":man_office_worker_medium_dark_skin_tone:"],category:"people"},":man_office_worker_tone5:":{uc_base:"1f468-1f3ff-1f4bc",uc_output:"1f468-1f3ff-200d-1f4bc",uc_match:"1f468-1f3ff-1f4bc",uc_greedy:"1f468-1f3ff-1f4bc",shortnames:[":man_office_worker_dark_skin_tone:"],category:"people"},":man_red_haired_tone1:":{uc_base:"1f468-1f3fb-1f9b0",uc_output:"1f468-1f3fb-200d-1f9b0",uc_match:"1f468-1f3fb-1f9b0",uc_greedy:"1f468-1f3fb-1f9b0",shortnames:[":man_red_haired_light_skin_tone:"],category:"people"},":man_red_haired_tone2:":{uc_base:"1f468-1f3fc-1f9b0",uc_output:"1f468-1f3fc-200d-1f9b0",uc_match:"1f468-1f3fc-1f9b0",uc_greedy:"1f468-1f3fc-1f9b0",shortnames:[":man_red_haired_medium_light_skin_tone:"],category:"people"},":man_red_haired_tone3:":{uc_base:"1f468-1f3fd-1f9b0",uc_output:"1f468-1f3fd-200d-1f9b0",uc_match:"1f468-1f3fd-1f9b0",uc_greedy:"1f468-1f3fd-1f9b0",shortnames:[":man_red_haired_medium_skin_tone:"],category:"people"},":man_red_haired_tone4:":{uc_base:"1f468-1f3fe-1f9b0",uc_output:"1f468-1f3fe-200d-1f9b0",uc_match:"1f468-1f3fe-1f9b0",uc_greedy:"1f468-1f3fe-1f9b0",shortnames:[":man_red_haired_medium_dark_skin_tone:"],category:"people"},":man_red_haired_tone5:":{uc_base:"1f468-1f3ff-1f9b0",uc_output:"1f468-1f3ff-200d-1f9b0",uc_match:"1f468-1f3ff-1f9b0",uc_greedy:"1f468-1f3ff-1f9b0",shortnames:[":man_red_haired_dark_skin_tone:"],category:"people"},":man_scientist_tone1:":{uc_base:"1f468-1f3fb-1f52c",uc_output:"1f468-1f3fb-200d-1f52c",uc_match:"1f468-1f3fb-1f52c",uc_greedy:"1f468-1f3fb-1f52c",shortnames:[":man_scientist_light_skin_tone:"],category:"people"},":man_scientist_tone2:":{uc_base:"1f468-1f3fc-1f52c",uc_output:"1f468-1f3fc-200d-1f52c",uc_match:"1f468-1f3fc-1f52c",uc_greedy:"1f468-1f3fc-1f52c",shortnames:[":man_scientist_medium_light_skin_tone:"],category:"people"},":man_scientist_tone3:":{uc_base:"1f468-1f3fd-1f52c",uc_output:"1f468-1f3fd-200d-1f52c",uc_match:"1f468-1f3fd-1f52c",uc_greedy:"1f468-1f3fd-1f52c",shortnames:[":man_scientist_medium_skin_tone:"],category:"people"},":man_scientist_tone4:":{uc_base:"1f468-1f3fe-1f52c",uc_output:"1f468-1f3fe-200d-1f52c",uc_match:"1f468-1f3fe-1f52c",uc_greedy:"1f468-1f3fe-1f52c",shortnames:[":man_scientist_medium_dark_skin_tone:"],category:"people"},":man_scientist_tone5:":{uc_base:"1f468-1f3ff-1f52c",uc_output:"1f468-1f3ff-200d-1f52c",uc_match:"1f468-1f3ff-1f52c",uc_greedy:"1f468-1f3ff-1f52c",shortnames:[":man_scientist_dark_skin_tone:"],category:"people"},":man_singer_tone1:":{uc_base:"1f468-1f3fb-1f3a4",uc_output:"1f468-1f3fb-200d-1f3a4",uc_match:"1f468-1f3fb-1f3a4",uc_greedy:"1f468-1f3fb-1f3a4",shortnames:[":man_singer_light_skin_tone:"],category:"people"},":man_singer_tone2:":{uc_base:"1f468-1f3fc-1f3a4",uc_output:"1f468-1f3fc-200d-1f3a4",uc_match:"1f468-1f3fc-1f3a4",uc_greedy:"1f468-1f3fc-1f3a4",shortnames:[":man_singer_medium_light_skin_tone:"],category:"people"},":man_singer_tone3:":{uc_base:"1f468-1f3fd-1f3a4",uc_output:"1f468-1f3fd-200d-1f3a4",uc_match:"1f468-1f3fd-1f3a4",uc_greedy:"1f468-1f3fd-1f3a4",shortnames:[":man_singer_medium_skin_tone:"],category:"people"},":man_singer_tone4:":{uc_base:"1f468-1f3fe-1f3a4",uc_output:"1f468-1f3fe-200d-1f3a4",uc_match:"1f468-1f3fe-1f3a4",uc_greedy:"1f468-1f3fe-1f3a4",shortnames:[":man_singer_medium_dark_skin_tone:"],category:"people"},":man_singer_tone5:":{uc_base:"1f468-1f3ff-1f3a4",uc_output:"1f468-1f3ff-200d-1f3a4",uc_match:"1f468-1f3ff-1f3a4",uc_greedy:"1f468-1f3ff-1f3a4",shortnames:[":man_singer_dark_skin_tone:"],category:"people"},":man_student_tone1:":{uc_base:"1f468-1f3fb-1f393",uc_output:"1f468-1f3fb-200d-1f393",uc_match:"1f468-1f3fb-1f393",uc_greedy:"1f468-1f3fb-1f393",shortnames:[":man_student_light_skin_tone:"],category:"people"},":man_student_tone2:":{uc_base:"1f468-1f3fc-1f393",uc_output:"1f468-1f3fc-200d-1f393",uc_match:"1f468-1f3fc-1f393",uc_greedy:"1f468-1f3fc-1f393",shortnames:[":man_student_medium_light_skin_tone:"],category:"people"},":man_student_tone3:":{uc_base:"1f468-1f3fd-1f393",uc_output:"1f468-1f3fd-200d-1f393",uc_match:"1f468-1f3fd-1f393",uc_greedy:"1f468-1f3fd-1f393",shortnames:[":man_student_medium_skin_tone:"],category:"people"},":man_student_tone4:":{uc_base:"1f468-1f3fe-1f393",uc_output:"1f468-1f3fe-200d-1f393",uc_match:"1f468-1f3fe-1f393",uc_greedy:"1f468-1f3fe-1f393",shortnames:[":man_student_medium_dark_skin_tone:"],category:"people"},":man_student_tone5:":{uc_base:"1f468-1f3ff-1f393",uc_output:"1f468-1f3ff-200d-1f393",uc_match:"1f468-1f3ff-1f393",uc_greedy:"1f468-1f3ff-1f393",shortnames:[":man_student_dark_skin_tone:"],category:"people"},":man_teacher_tone1:":{uc_base:"1f468-1f3fb-1f3eb",uc_output:"1f468-1f3fb-200d-1f3eb",uc_match:"1f468-1f3fb-1f3eb",uc_greedy:"1f468-1f3fb-1f3eb",shortnames:[":man_teacher_light_skin_tone:"],category:"people"},":man_teacher_tone2:":{uc_base:"1f468-1f3fc-1f3eb",uc_output:"1f468-1f3fc-200d-1f3eb",uc_match:"1f468-1f3fc-1f3eb",uc_greedy:"1f468-1f3fc-1f3eb",shortnames:[":man_teacher_medium_light_skin_tone:"],category:"people"},":man_teacher_tone3:":{uc_base:"1f468-1f3fd-1f3eb",uc_output:"1f468-1f3fd-200d-1f3eb",uc_match:"1f468-1f3fd-1f3eb",uc_greedy:"1f468-1f3fd-1f3eb",shortnames:[":man_teacher_medium_skin_tone:"],category:"people"},":man_teacher_tone4:":{uc_base:"1f468-1f3fe-1f3eb",uc_output:"1f468-1f3fe-200d-1f3eb",uc_match:"1f468-1f3fe-1f3eb",uc_greedy:"1f468-1f3fe-1f3eb",shortnames:[":man_teacher_medium_dark_skin_tone:"],category:"people"},":man_teacher_tone5:":{uc_base:"1f468-1f3ff-1f3eb",uc_output:"1f468-1f3ff-200d-1f3eb",uc_match:"1f468-1f3ff-1f3eb",uc_greedy:"1f468-1f3ff-1f3eb",shortnames:[":man_teacher_dark_skin_tone:"],category:"people"},":man_technologist_tone1:":{uc_base:"1f468-1f3fb-1f4bb",uc_output:"1f468-1f3fb-200d-1f4bb",uc_match:"1f468-1f3fb-1f4bb",uc_greedy:"1f468-1f3fb-1f4bb",shortnames:[":man_technologist_light_skin_tone:"],category:"people"},":man_technologist_tone2:":{uc_base:"1f468-1f3fc-1f4bb",uc_output:"1f468-1f3fc-200d-1f4bb",uc_match:"1f468-1f3fc-1f4bb",uc_greedy:"1f468-1f3fc-1f4bb",shortnames:[":man_technologist_medium_light_skin_tone:"],category:"people"},":man_technologist_tone3:":{uc_base:"1f468-1f3fd-1f4bb",uc_output:"1f468-1f3fd-200d-1f4bb",uc_match:"1f468-1f3fd-1f4bb",uc_greedy:"1f468-1f3fd-1f4bb",shortnames:[":man_technologist_medium_skin_tone:"],category:"people"},":man_technologist_tone4:":{uc_base:"1f468-1f3fe-1f4bb",uc_output:"1f468-1f3fe-200d-1f4bb",uc_match:"1f468-1f3fe-1f4bb",uc_greedy:"1f468-1f3fe-1f4bb",shortnames:[":man_technologist_medium_dark_skin_tone:"],category:"people"},":man_technologist_tone5:":{uc_base:"1f468-1f3ff-1f4bb",uc_output:"1f468-1f3ff-200d-1f4bb",uc_match:"1f468-1f3ff-1f4bb",uc_greedy:"1f468-1f3ff-1f4bb",shortnames:[":man_technologist_dark_skin_tone:"],category:"people"},":man_white_haired_tone1:":{uc_base:"1f468-1f3fb-1f9b3",uc_output:"1f468-1f3fb-200d-1f9b3",uc_match:"1f468-1f3fb-1f9b3",uc_greedy:"1f468-1f3fb-1f9b3",shortnames:[":man_white_haired_light_skin_tone:"],category:"people"},":man_white_haired_tone2:":{uc_base:"1f468-1f3fc-1f9b3",uc_output:"1f468-1f3fc-200d-1f9b3",uc_match:"1f468-1f3fc-1f9b3",uc_greedy:"1f468-1f3fc-1f9b3",shortnames:[":man_white_haired_medium_light_skin_tone:"],category:"people"},":man_white_haired_tone3:":{uc_base:"1f468-1f3fd-1f9b3",uc_output:"1f468-1f3fd-200d-1f9b3",uc_match:"1f468-1f3fd-1f9b3",uc_greedy:"1f468-1f3fd-1f9b3",shortnames:[":man_white_haired_medium_skin_tone:"],category:"people"},":man_white_haired_tone4:":{uc_base:"1f468-1f3fe-1f9b3",uc_output:"1f468-1f3fe-200d-1f9b3",uc_match:"1f468-1f3fe-1f9b3",uc_greedy:"1f468-1f3fe-1f9b3",shortnames:[":man_white_haired_medium_dark_skin_tone:"],category:"people"},":man_white_haired_tone5:":{uc_base:"1f468-1f3ff-1f9b3",uc_output:"1f468-1f3ff-200d-1f9b3",uc_match:"1f468-1f3ff-1f9b3",uc_greedy:"1f468-1f3ff-1f9b3",shortnames:[":man_white_haired_dark_skin_tone:"],category:"people"},":woman_artist_tone1:":{uc_base:"1f469-1f3fb-1f3a8",uc_output:"1f469-1f3fb-200d-1f3a8",uc_match:"1f469-1f3fb-1f3a8",uc_greedy:"1f469-1f3fb-1f3a8",shortnames:[":woman_artist_light_skin_tone:"],category:"people"},":woman_artist_tone2:":{uc_base:"1f469-1f3fc-1f3a8",uc_output:"1f469-1f3fc-200d-1f3a8",uc_match:"1f469-1f3fc-1f3a8",uc_greedy:"1f469-1f3fc-1f3a8",shortnames:[":woman_artist_medium_light_skin_tone:"],category:"people"},":woman_artist_tone3:":{uc_base:"1f469-1f3fd-1f3a8",uc_output:"1f469-1f3fd-200d-1f3a8",uc_match:"1f469-1f3fd-1f3a8",uc_greedy:"1f469-1f3fd-1f3a8",shortnames:[":woman_artist_medium_skin_tone:"],category:"people"},":woman_artist_tone4:":{uc_base:"1f469-1f3fe-1f3a8",uc_output:"1f469-1f3fe-200d-1f3a8",uc_match:"1f469-1f3fe-1f3a8",uc_greedy:"1f469-1f3fe-1f3a8",shortnames:[":woman_artist_medium_dark_skin_tone:"],category:"people"},":woman_artist_tone5:":{uc_base:"1f469-1f3ff-1f3a8",uc_output:"1f469-1f3ff-200d-1f3a8",uc_match:"1f469-1f3ff-1f3a8",uc_greedy:"1f469-1f3ff-1f3a8",shortnames:[":woman_artist_dark_skin_tone:"],category:"people"},":woman_astronaut_tone1:":{uc_base:"1f469-1f3fb-1f680",uc_output:"1f469-1f3fb-200d-1f680",uc_match:"1f469-1f3fb-1f680",uc_greedy:"1f469-1f3fb-1f680",shortnames:[":woman_astronaut_light_skin_tone:"],category:"people"},":woman_astronaut_tone2:":{uc_base:"1f469-1f3fc-1f680",uc_output:"1f469-1f3fc-200d-1f680",uc_match:"1f469-1f3fc-1f680",uc_greedy:"1f469-1f3fc-1f680",shortnames:[":woman_astronaut_medium_light_skin_tone:"],category:"people"},":woman_astronaut_tone3:":{uc_base:"1f469-1f3fd-1f680",uc_output:"1f469-1f3fd-200d-1f680",uc_match:"1f469-1f3fd-1f680",uc_greedy:"1f469-1f3fd-1f680",shortnames:[":woman_astronaut_medium_skin_tone:"],category:"people"},":woman_astronaut_tone4:":{uc_base:"1f469-1f3fe-1f680",uc_output:"1f469-1f3fe-200d-1f680",uc_match:"1f469-1f3fe-1f680",uc_greedy:"1f469-1f3fe-1f680",shortnames:[":woman_astronaut_medium_dark_skin_tone:"],category:"people"},":woman_astronaut_tone5:":{uc_base:"1f469-1f3ff-1f680",uc_output:"1f469-1f3ff-200d-1f680",uc_match:"1f469-1f3ff-1f680",uc_greedy:"1f469-1f3ff-1f680",shortnames:[":woman_astronaut_dark_skin_tone:"],category:"people"},":woman_bald_tone1:":{uc_base:"1f469-1f3fb-1f9b2",uc_output:"1f469-1f3fb-200d-1f9b2",uc_match:"1f469-1f3fb-1f9b2",uc_greedy:"1f469-1f3fb-1f9b2",shortnames:[":woman_bald_light_skin_tone:"],category:"people"},":woman_bald_tone2:":{uc_base:"1f469-1f3fc-1f9b2",uc_output:"1f469-1f3fc-200d-1f9b2",uc_match:"1f469-1f3fc-1f9b2",uc_greedy:"1f469-1f3fc-1f9b2",shortnames:[":woman_bald_medium_light_skin_tone:"],category:"people"},":woman_bald_tone3:":{uc_base:"1f469-1f3fd-1f9b2",uc_output:"1f469-1f3fd-200d-1f9b2",uc_match:"1f469-1f3fd-1f9b2",uc_greedy:"1f469-1f3fd-1f9b2",shortnames:[":woman_bald_medium_skin_tone:"],category:"people"},":woman_bald_tone4:":{uc_base:"1f469-1f3fe-1f9b2",uc_output:"1f469-1f3fe-200d-1f9b2",uc_match:"1f469-1f3fe-1f9b2",uc_greedy:"1f469-1f3fe-1f9b2",shortnames:[":woman_bald_medium_dark_skin_tone:"],category:"people"},":woman_bald_tone5:":{uc_base:"1f469-1f3ff-1f9b2",uc_output:"1f469-1f3ff-200d-1f9b2",uc_match:"1f469-1f3ff-1f9b2",uc_greedy:"1f469-1f3ff-1f9b2",shortnames:[":woman_bald_dark_skin_tone:"],category:"people"},":woman_cook_tone1:":{uc_base:"1f469-1f3fb-1f373",uc_output:"1f469-1f3fb-200d-1f373",uc_match:"1f469-1f3fb-1f373",uc_greedy:"1f469-1f3fb-1f373",shortnames:[":woman_cook_light_skin_tone:"],category:"people"},":woman_cook_tone2:":{uc_base:"1f469-1f3fc-1f373",uc_output:"1f469-1f3fc-200d-1f373",uc_match:"1f469-1f3fc-1f373",uc_greedy:"1f469-1f3fc-1f373",shortnames:[":woman_cook_medium_light_skin_tone:"],category:"people"},":woman_cook_tone3:":{uc_base:"1f469-1f3fd-1f373",uc_output:"1f469-1f3fd-200d-1f373",uc_match:"1f469-1f3fd-1f373",uc_greedy:"1f469-1f3fd-1f373",shortnames:[":woman_cook_medium_skin_tone:"],category:"people"},":woman_cook_tone4:":{uc_base:"1f469-1f3fe-1f373",uc_output:"1f469-1f3fe-200d-1f373",uc_match:"1f469-1f3fe-1f373",uc_greedy:"1f469-1f3fe-1f373",shortnames:[":woman_cook_medium_dark_skin_tone:"],category:"people"},":woman_cook_tone5:":{uc_base:"1f469-1f3ff-1f373",uc_output:"1f469-1f3ff-200d-1f373",uc_match:"1f469-1f3ff-1f373",uc_greedy:"1f469-1f3ff-1f373",shortnames:[":woman_cook_dark_skin_tone:"],category:"people"},":woman_curly_haired_tone1:":{uc_base:"1f469-1f3fb-1f9b1",uc_output:"1f469-1f3fb-200d-1f9b1",uc_match:"1f469-1f3fb-1f9b1",uc_greedy:"1f469-1f3fb-1f9b1",shortnames:[":woman_curly_haired_light_skin_tone:"],category:"people"},":woman_curly_haired_tone2:":{uc_base:"1f469-1f3fc-1f9b1",uc_output:"1f469-1f3fc-200d-1f9b1",uc_match:"1f469-1f3fc-1f9b1",uc_greedy:"1f469-1f3fc-1f9b1",shortnames:[":woman_curly_haired_medium_light_skin_tone:"],category:"people"},":woman_curly_haired_tone3:":{uc_base:"1f469-1f3fd-1f9b1",uc_output:"1f469-1f3fd-200d-1f9b1",uc_match:"1f469-1f3fd-1f9b1",uc_greedy:"1f469-1f3fd-1f9b1",shortnames:[":woman_curly_haired_medium_skin_tone:"],category:"people"},":woman_curly_haired_tone4:":{uc_base:"1f469-1f3fe-1f9b1",uc_output:"1f469-1f3fe-200d-1f9b1",uc_match:"1f469-1f3fe-1f9b1",uc_greedy:"1f469-1f3fe-1f9b1",shortnames:[":woman_curly_haired_medium_dark_skin_tone:"],category:"people"},":woman_curly_haired_tone5:":{uc_base:"1f469-1f3ff-1f9b1",uc_output:"1f469-1f3ff-200d-1f9b1",uc_match:"1f469-1f3ff-1f9b1",uc_greedy:"1f469-1f3ff-1f9b1",shortnames:[":woman_curly_haired_dark_skin_tone:"],category:"people"},":woman_factory_worker_tone1:":{uc_base:"1f469-1f3fb-1f3ed",uc_output:"1f469-1f3fb-200d-1f3ed",uc_match:"1f469-1f3fb-1f3ed",uc_greedy:"1f469-1f3fb-1f3ed",shortnames:[":woman_factory_worker_light_skin_tone:"],category:"people"},":woman_factory_worker_tone2:":{uc_base:"1f469-1f3fc-1f3ed",uc_output:"1f469-1f3fc-200d-1f3ed",uc_match:"1f469-1f3fc-1f3ed",uc_greedy:"1f469-1f3fc-1f3ed",shortnames:[":woman_factory_worker_medium_light_skin_tone:"],category:"people"},":woman_factory_worker_tone3:":{uc_base:"1f469-1f3fd-1f3ed",uc_output:"1f469-1f3fd-200d-1f3ed",uc_match:"1f469-1f3fd-1f3ed",uc_greedy:"1f469-1f3fd-1f3ed",shortnames:[":woman_factory_worker_medium_skin_tone:"],category:"people"},":woman_factory_worker_tone4:":{uc_base:"1f469-1f3fe-1f3ed",uc_output:"1f469-1f3fe-200d-1f3ed",uc_match:"1f469-1f3fe-1f3ed",uc_greedy:"1f469-1f3fe-1f3ed",shortnames:[":woman_factory_worker_medium_dark_skin_tone:"],category:"people"},":woman_factory_worker_tone5:":{uc_base:"1f469-1f3ff-1f3ed",uc_output:"1f469-1f3ff-200d-1f3ed",uc_match:"1f469-1f3ff-1f3ed",uc_greedy:"1f469-1f3ff-1f3ed",shortnames:[":woman_factory_worker_dark_skin_tone:"],category:"people"},":woman_farmer_tone1:":{uc_base:"1f469-1f3fb-1f33e",uc_output:"1f469-1f3fb-200d-1f33e",uc_match:"1f469-1f3fb-1f33e",uc_greedy:"1f469-1f3fb-1f33e",shortnames:[":woman_farmer_light_skin_tone:"],category:"people"},":woman_farmer_tone2:":{uc_base:"1f469-1f3fc-1f33e",uc_output:"1f469-1f3fc-200d-1f33e",uc_match:"1f469-1f3fc-1f33e",uc_greedy:"1f469-1f3fc-1f33e",shortnames:[":woman_farmer_medium_light_skin_tone:"],category:"people"},":woman_farmer_tone3:":{uc_base:"1f469-1f3fd-1f33e",uc_output:"1f469-1f3fd-200d-1f33e",uc_match:"1f469-1f3fd-1f33e",uc_greedy:"1f469-1f3fd-1f33e",shortnames:[":woman_farmer_medium_skin_tone:"],category:"people"},":woman_farmer_tone4:":{uc_base:"1f469-1f3fe-1f33e",uc_output:"1f469-1f3fe-200d-1f33e",uc_match:"1f469-1f3fe-1f33e",uc_greedy:"1f469-1f3fe-1f33e",shortnames:[":woman_farmer_medium_dark_skin_tone:"],category:"people"},":woman_farmer_tone5:":{uc_base:"1f469-1f3ff-1f33e",uc_output:"1f469-1f3ff-200d-1f33e",uc_match:"1f469-1f3ff-1f33e",uc_greedy:"1f469-1f3ff-1f33e",shortnames:[":woman_farmer_dark_skin_tone:"],category:"people"},":woman_firefighter_tone1:":{uc_base:"1f469-1f3fb-1f692",uc_output:"1f469-1f3fb-200d-1f692",uc_match:"1f469-1f3fb-1f692",uc_greedy:"1f469-1f3fb-1f692",shortnames:[":woman_firefighter_light_skin_tone:"],category:"people"},":woman_firefighter_tone2:":{uc_base:"1f469-1f3fc-1f692",uc_output:"1f469-1f3fc-200d-1f692",uc_match:"1f469-1f3fc-1f692",uc_greedy:"1f469-1f3fc-1f692",shortnames:[":woman_firefighter_medium_light_skin_tone:"],category:"people"},":woman_firefighter_tone3:":{uc_base:"1f469-1f3fd-1f692",uc_output:"1f469-1f3fd-200d-1f692",uc_match:"1f469-1f3fd-1f692",uc_greedy:"1f469-1f3fd-1f692",shortnames:[":woman_firefighter_medium_skin_tone:"],category:"people"},":woman_firefighter_tone4:":{uc_base:"1f469-1f3fe-1f692",uc_output:"1f469-1f3fe-200d-1f692",uc_match:"1f469-1f3fe-1f692",uc_greedy:"1f469-1f3fe-1f692",shortnames:[":woman_firefighter_medium_dark_skin_tone:"],category:"people"},":woman_firefighter_tone5:":{uc_base:"1f469-1f3ff-1f692",uc_output:"1f469-1f3ff-200d-1f692",uc_match:"1f469-1f3ff-1f692",uc_greedy:"1f469-1f3ff-1f692",shortnames:[":woman_firefighter_dark_skin_tone:"],category:"people"},":woman_mechanic_tone1:":{uc_base:"1f469-1f3fb-1f527",uc_output:"1f469-1f3fb-200d-1f527",uc_match:"1f469-1f3fb-1f527",uc_greedy:"1f469-1f3fb-1f527",shortnames:[":woman_mechanic_light_skin_tone:"],category:"people"},":woman_mechanic_tone2:":{uc_base:"1f469-1f3fc-1f527",uc_output:"1f469-1f3fc-200d-1f527",uc_match:"1f469-1f3fc-1f527",uc_greedy:"1f469-1f3fc-1f527",shortnames:[":woman_mechanic_medium_light_skin_tone:"],category:"people"},":woman_mechanic_tone3:":{uc_base:"1f469-1f3fd-1f527",uc_output:"1f469-1f3fd-200d-1f527",uc_match:"1f469-1f3fd-1f527",uc_greedy:"1f469-1f3fd-1f527",shortnames:[":woman_mechanic_medium_skin_tone:"],category:"people"},":woman_mechanic_tone4:":{uc_base:"1f469-1f3fe-1f527",uc_output:"1f469-1f3fe-200d-1f527",uc_match:"1f469-1f3fe-1f527",uc_greedy:"1f469-1f3fe-1f527",shortnames:[":woman_mechanic_medium_dark_skin_tone:"],category:"people"},":woman_mechanic_tone5:":{uc_base:"1f469-1f3ff-1f527",uc_output:"1f469-1f3ff-200d-1f527",uc_match:"1f469-1f3ff-1f527",uc_greedy:"1f469-1f3ff-1f527",shortnames:[":woman_mechanic_dark_skin_tone:"],category:"people"},":woman_office_worker_tone1:":{uc_base:"1f469-1f3fb-1f4bc",uc_output:"1f469-1f3fb-200d-1f4bc",uc_match:"1f469-1f3fb-1f4bc",uc_greedy:"1f469-1f3fb-1f4bc",shortnames:[":woman_office_worker_light_skin_tone:"],category:"people"},":woman_office_worker_tone2:":{uc_base:"1f469-1f3fc-1f4bc",uc_output:"1f469-1f3fc-200d-1f4bc",uc_match:"1f469-1f3fc-1f4bc",uc_greedy:"1f469-1f3fc-1f4bc",shortnames:[":woman_office_worker_medium_light_skin_tone:"],category:"people"},":woman_office_worker_tone3:":{uc_base:"1f469-1f3fd-1f4bc",uc_output:"1f469-1f3fd-200d-1f4bc",uc_match:"1f469-1f3fd-1f4bc",uc_greedy:"1f469-1f3fd-1f4bc",shortnames:[":woman_office_worker_medium_skin_tone:"],category:"people"},":woman_office_worker_tone4:":{uc_base:"1f469-1f3fe-1f4bc",uc_output:"1f469-1f3fe-200d-1f4bc",uc_match:"1f469-1f3fe-1f4bc",uc_greedy:"1f469-1f3fe-1f4bc",shortnames:[":woman_office_worker_medium_dark_skin_tone:"],category:"people"},":woman_office_worker_tone5:":{uc_base:"1f469-1f3ff-1f4bc",uc_output:"1f469-1f3ff-200d-1f4bc",uc_match:"1f469-1f3ff-1f4bc",uc_greedy:"1f469-1f3ff-1f4bc",shortnames:[":woman_office_worker_dark_skin_tone:"],category:"people"},":woman_red_haired_tone1:":{uc_base:"1f469-1f3fb-1f9b0",uc_output:"1f469-1f3fb-200d-1f9b0",uc_match:"1f469-1f3fb-1f9b0",uc_greedy:"1f469-1f3fb-1f9b0",shortnames:[":woman_red_haired_light_skin_tone:"],category:"people"},":woman_red_haired_tone2:":{uc_base:"1f469-1f3fc-1f9b0",uc_output:"1f469-1f3fc-200d-1f9b0",uc_match:"1f469-1f3fc-1f9b0",uc_greedy:"1f469-1f3fc-1f9b0",shortnames:[":woman_red_haired_medium_light_skin_tone:"],category:"people"},":woman_red_haired_tone3:":{uc_base:"1f469-1f3fd-1f9b0",uc_output:"1f469-1f3fd-200d-1f9b0",uc_match:"1f469-1f3fd-1f9b0",uc_greedy:"1f469-1f3fd-1f9b0",shortnames:[":woman_red_haired_medium_skin_tone:"],category:"people"},":woman_red_haired_tone4:":{uc_base:"1f469-1f3fe-1f9b0",uc_output:"1f469-1f3fe-200d-1f9b0",uc_match:"1f469-1f3fe-1f9b0",uc_greedy:"1f469-1f3fe-1f9b0",shortnames:[":woman_red_haired_medium_dark_skin_tone:"],category:"people"},":woman_red_haired_tone5:":{uc_base:"1f469-1f3ff-1f9b0",uc_output:"1f469-1f3ff-200d-1f9b0",uc_match:"1f469-1f3ff-1f9b0",uc_greedy:"1f469-1f3ff-1f9b0",shortnames:[":woman_red_haired_dark_skin_tone:"],category:"people"},":woman_scientist_tone1:":{uc_base:"1f469-1f3fb-1f52c",uc_output:"1f469-1f3fb-200d-1f52c",uc_match:"1f469-1f3fb-1f52c",uc_greedy:"1f469-1f3fb-1f52c",shortnames:[":woman_scientist_light_skin_tone:"],category:"people"},":woman_scientist_tone2:":{uc_base:"1f469-1f3fc-1f52c",uc_output:"1f469-1f3fc-200d-1f52c",uc_match:"1f469-1f3fc-1f52c",uc_greedy:"1f469-1f3fc-1f52c",shortnames:[":woman_scientist_medium_light_skin_tone:"],category:"people"},":woman_scientist_tone3:":{uc_base:"1f469-1f3fd-1f52c",uc_output:"1f469-1f3fd-200d-1f52c",uc_match:"1f469-1f3fd-1f52c",uc_greedy:"1f469-1f3fd-1f52c",shortnames:[":woman_scientist_medium_skin_tone:"],category:"people"},":woman_scientist_tone4:":{uc_base:"1f469-1f3fe-1f52c",uc_output:"1f469-1f3fe-200d-1f52c",uc_match:"1f469-1f3fe-1f52c",uc_greedy:"1f469-1f3fe-1f52c",shortnames:[":woman_scientist_medium_dark_skin_tone:"],category:"people"},":woman_scientist_tone5:":{uc_base:"1f469-1f3ff-1f52c",uc_output:"1f469-1f3ff-200d-1f52c",uc_match:"1f469-1f3ff-1f52c",uc_greedy:"1f469-1f3ff-1f52c",shortnames:[":woman_scientist_dark_skin_tone:"],category:"people"},":woman_singer_tone1:":{uc_base:"1f469-1f3fb-1f3a4",uc_output:"1f469-1f3fb-200d-1f3a4",uc_match:"1f469-1f3fb-1f3a4",uc_greedy:"1f469-1f3fb-1f3a4",shortnames:[":woman_singer_light_skin_tone:"],category:"people"},":woman_singer_tone2:":{uc_base:"1f469-1f3fc-1f3a4",uc_output:"1f469-1f3fc-200d-1f3a4",uc_match:"1f469-1f3fc-1f3a4",uc_greedy:"1f469-1f3fc-1f3a4",shortnames:[":woman_singer_medium_light_skin_tone:"],category:"people"},":woman_singer_tone3:":{uc_base:"1f469-1f3fd-1f3a4",uc_output:"1f469-1f3fd-200d-1f3a4",uc_match:"1f469-1f3fd-1f3a4",uc_greedy:"1f469-1f3fd-1f3a4",shortnames:[":woman_singer_medium_skin_tone:"],category:"people"},":woman_singer_tone4:":{uc_base:"1f469-1f3fe-1f3a4",uc_output:"1f469-1f3fe-200d-1f3a4",uc_match:"1f469-1f3fe-1f3a4",uc_greedy:"1f469-1f3fe-1f3a4",shortnames:[":woman_singer_medium_dark_skin_tone:"],category:"people"},":woman_singer_tone5:":{uc_base:"1f469-1f3ff-1f3a4",uc_output:"1f469-1f3ff-200d-1f3a4",uc_match:"1f469-1f3ff-1f3a4",uc_greedy:"1f469-1f3ff-1f3a4",shortnames:[":woman_singer_dark_skin_tone:"],category:"people"},":woman_student_tone1:":{uc_base:"1f469-1f3fb-1f393",uc_output:"1f469-1f3fb-200d-1f393",uc_match:"1f469-1f3fb-1f393",uc_greedy:"1f469-1f3fb-1f393",shortnames:[":woman_student_light_skin_tone:"],category:"people"},":woman_student_tone2:":{uc_base:"1f469-1f3fc-1f393",uc_output:"1f469-1f3fc-200d-1f393",uc_match:"1f469-1f3fc-1f393",uc_greedy:"1f469-1f3fc-1f393",shortnames:[":woman_student_medium_light_skin_tone:"],category:"people"},":woman_student_tone3:":{uc_base:"1f469-1f3fd-1f393",uc_output:"1f469-1f3fd-200d-1f393",uc_match:"1f469-1f3fd-1f393",uc_greedy:"1f469-1f3fd-1f393",shortnames:[":woman_student_medium_skin_tone:"],category:"people"},":woman_student_tone4:":{uc_base:"1f469-1f3fe-1f393",uc_output:"1f469-1f3fe-200d-1f393",uc_match:"1f469-1f3fe-1f393",uc_greedy:"1f469-1f3fe-1f393",shortnames:[":woman_student_medium_dark_skin_tone:"],category:"people"},":woman_student_tone5:":{uc_base:"1f469-1f3ff-1f393",uc_output:"1f469-1f3ff-200d-1f393",uc_match:"1f469-1f3ff-1f393",uc_greedy:"1f469-1f3ff-1f393",shortnames:[":woman_student_dark_skin_tone:"],category:"people"},":woman_teacher_tone1:":{uc_base:"1f469-1f3fb-1f3eb",uc_output:"1f469-1f3fb-200d-1f3eb",uc_match:"1f469-1f3fb-1f3eb",uc_greedy:"1f469-1f3fb-1f3eb",shortnames:[":woman_teacher_light_skin_tone:"],category:"people"},":woman_teacher_tone2:":{uc_base:"1f469-1f3fc-1f3eb",uc_output:"1f469-1f3fc-200d-1f3eb",uc_match:"1f469-1f3fc-1f3eb",uc_greedy:"1f469-1f3fc-1f3eb",shortnames:[":woman_teacher_medium_light_skin_tone:"],category:"people"},":woman_teacher_tone3:":{uc_base:"1f469-1f3fd-1f3eb",uc_output:"1f469-1f3fd-200d-1f3eb",uc_match:"1f469-1f3fd-1f3eb",uc_greedy:"1f469-1f3fd-1f3eb",shortnames:[":woman_teacher_medium_skin_tone:"],category:"people"},":woman_teacher_tone4:":{uc_base:"1f469-1f3fe-1f3eb",uc_output:"1f469-1f3fe-200d-1f3eb",uc_match:"1f469-1f3fe-1f3eb",uc_greedy:"1f469-1f3fe-1f3eb",shortnames:[":woman_teacher_medium_dark_skin_tone:"],category:"people"},":woman_teacher_tone5:":{uc_base:"1f469-1f3ff-1f3eb",uc_output:"1f469-1f3ff-200d-1f3eb",uc_match:"1f469-1f3ff-1f3eb",uc_greedy:"1f469-1f3ff-1f3eb",shortnames:[":woman_teacher_dark_skin_tone:"],category:"people"},":woman_technologist_tone1:":{uc_base:"1f469-1f3fb-1f4bb",uc_output:"1f469-1f3fb-200d-1f4bb",uc_match:"1f469-1f3fb-1f4bb",uc_greedy:"1f469-1f3fb-1f4bb",shortnames:[":woman_technologist_light_skin_tone:"],category:"people"},":woman_technologist_tone2:":{uc_base:"1f469-1f3fc-1f4bb",uc_output:"1f469-1f3fc-200d-1f4bb",uc_match:"1f469-1f3fc-1f4bb",uc_greedy:"1f469-1f3fc-1f4bb",shortnames:[":woman_technologist_medium_light_skin_tone:"],category:"people"},":woman_technologist_tone3:":{uc_base:"1f469-1f3fd-1f4bb",uc_output:"1f469-1f3fd-200d-1f4bb",uc_match:"1f469-1f3fd-1f4bb",uc_greedy:"1f469-1f3fd-1f4bb",shortnames:[":woman_technologist_medium_skin_tone:"],category:"people"},":woman_technologist_tone4:":{uc_base:"1f469-1f3fe-1f4bb",uc_output:"1f469-1f3fe-200d-1f4bb",uc_match:"1f469-1f3fe-1f4bb",uc_greedy:"1f469-1f3fe-1f4bb",shortnames:[":woman_technologist_medium_dark_skin_tone:"],category:"people"},":woman_technologist_tone5:":{uc_base:"1f469-1f3ff-1f4bb",uc_output:"1f469-1f3ff-200d-1f4bb",uc_match:"1f469-1f3ff-1f4bb",uc_greedy:"1f469-1f3ff-1f4bb",shortnames:[":woman_technologist_dark_skin_tone:"],category:"people"},":woman_white_haired_tone1:":{uc_base:"1f469-1f3fb-1f9b3",uc_output:"1f469-1f3fb-200d-1f9b3",uc_match:"1f469-1f3fb-1f9b3",uc_greedy:"1f469-1f3fb-1f9b3",shortnames:[":woman_white_haired_light_skin_tone:"],category:"people"},":woman_white_haired_tone2:":{uc_base:"1f469-1f3fc-1f9b3",uc_output:"1f469-1f3fc-200d-1f9b3",uc_match:"1f469-1f3fc-1f9b3",uc_greedy:"1f469-1f3fc-1f9b3",shortnames:[":woman_white_haired_medium_light_skin_tone:"],category:"people"},":woman_white_haired_tone3:":{uc_base:"1f469-1f3fd-1f9b3",uc_output:"1f469-1f3fd-200d-1f9b3",uc_match:"1f469-1f3fd-1f9b3",uc_greedy:"1f469-1f3fd-1f9b3",shortnames:[":woman_white_haired_medium_skin_tone:"],category:"people"},":woman_white_haired_tone4:":{uc_base:"1f469-1f3fe-1f9b3",uc_output:"1f469-1f3fe-200d-1f9b3",uc_match:"1f469-1f3fe-1f9b3",uc_greedy:"1f469-1f3fe-1f9b3",shortnames:[":woman_white_haired_medium_dark_skin_tone:"],category:"people"},":woman_white_haired_tone5:":{uc_base:"1f469-1f3ff-1f9b3",uc_output:"1f469-1f3ff-200d-1f9b3",uc_match:"1f469-1f3ff-1f9b3",uc_greedy:"1f469-1f3ff-1f9b3",shortnames:[":woman_white_haired_dark_skin_tone:"],category:"people"},":rainbow_flag:":{uc_base:"1f3f3-1f308",uc_output:"1f3f3-fe0f-200d-1f308",uc_match:"1f3f3-fe0f-1f308",uc_greedy:"1f3f3-1f308",shortnames:[":gay_pride_flag:"],category:"flags"},":blond-haired_man:":{uc_base:"1f471-2642",uc_output:"1f471-200d-2642-fe0f",uc_match:"1f471-2642-fe0f",uc_greedy:"1f471-2642",shortnames:[],category:"people"},":blond-haired_woman:":{uc_base:"1f471-2640",uc_output:"1f471-200d-2640-fe0f",uc_match:"1f471-2640-fe0f",uc_greedy:"1f471-2640",shortnames:[],category:"people"},":man_biking:":{uc_base:"1f6b4-2642",uc_output:"1f6b4-200d-2642-fe0f",uc_match:"1f6b4-2642-fe0f",uc_greedy:"1f6b4-2642",shortnames:[],category:"activity"},":man_bowing:":{uc_base:"1f647-2642",uc_output:"1f647-200d-2642-fe0f",uc_match:"1f647-2642-fe0f",uc_greedy:"1f647-2642",shortnames:[],category:"people"},":man_cartwheeling:":{uc_base:"1f938-2642",uc_output:"1f938-200d-2642-fe0f",uc_match:"1f938-2642-fe0f",uc_greedy:"1f938-2642",shortnames:[],category:"activity"},":man_climbing:":{uc_base:"1f9d7-2642",uc_output:"1f9d7-200d-2642-fe0f",uc_match:"1f9d7-2642-fe0f",uc_greedy:"1f9d7-2642",shortnames:[],category:"activity"},":man_construction_worker:":{uc_base:"1f477-2642",uc_output:"1f477-200d-2642-fe0f",uc_match:"1f477-2642-fe0f",uc_greedy:"1f477-2642",shortnames:[],category:"people"},":man_elf:":{uc_base:"1f9dd-2642",uc_output:"1f9dd-200d-2642-fe0f",uc_match:"1f9dd-2642-fe0f",uc_greedy:"1f9dd-2642",shortnames:[],category:"people"},":man_facepalming:":{uc_base:"1f926-2642",uc_output:"1f926-200d-2642-fe0f",uc_match:"1f926-2642-fe0f",uc_greedy:"1f926-2642",shortnames:[],category:"people"},":man_fairy:":{uc_base:"1f9da-2642",uc_output:"1f9da-200d-2642-fe0f",uc_match:"1f9da-2642-fe0f",uc_greedy:"1f9da-2642",shortnames:[],category:"people"},":man_frowning:":{uc_base:"1f64d-2642",uc_output:"1f64d-200d-2642-fe0f",uc_match:"1f64d-2642-fe0f",uc_greedy:"1f64d-2642",shortnames:[],category:"people"},":man_genie:":{uc_base:"1f9de-2642",uc_output:"1f9de-200d-2642-fe0f",uc_match:"1f9de-2642-fe0f",uc_greedy:"1f9de-2642",shortnames:[],category:"people"},":man_gesturing_no:":{uc_base:"1f645-2642",uc_output:"1f645-200d-2642-fe0f",uc_match:"1f645-2642-fe0f",uc_greedy:"1f645-2642",shortnames:[],category:"people"},":man_gesturing_ok:":{uc_base:"1f646-2642",uc_output:"1f646-200d-2642-fe0f",uc_match:"1f646-2642-fe0f",uc_greedy:"1f646-2642",shortnames:[],category:"people"},":man_getting_face_massage:":{uc_base:"1f486-2642",uc_output:"1f486-200d-2642-fe0f",uc_match:"1f486-2642-fe0f",uc_greedy:"1f486-2642",shortnames:[],category:"people"},":man_getting_haircut:":{uc_base:"1f487-2642",uc_output:"1f487-200d-2642-fe0f",uc_match:"1f487-2642-fe0f",uc_greedy:"1f487-2642",shortnames:[],category:"people"},":man_guard:":{uc_base:"1f482-2642",uc_output:"1f482-200d-2642-fe0f",uc_match:"1f482-2642-fe0f",uc_greedy:"1f482-2642",shortnames:[],category:"people"},":man_health_worker:":{uc_base:"1f468-2695",uc_output:"1f468-200d-2695-fe0f",uc_match:"1f468-2695-fe0f",uc_greedy:"1f468-2695",shortnames:[],category:"people"},":man_in_lotus_position:":{uc_base:"1f9d8-2642",uc_output:"1f9d8-200d-2642-fe0f",uc_match:"1f9d8-2642-fe0f",uc_greedy:"1f9d8-2642",shortnames:[],category:"activity"},":man_in_steamy_room:":{uc_base:"1f9d6-2642",uc_output:"1f9d6-200d-2642-fe0f",uc_match:"1f9d6-2642-fe0f",uc_greedy:"1f9d6-2642",shortnames:[],category:"people"},":man_judge:":{uc_base:"1f468-2696",uc_output:"1f468-200d-2696-fe0f",uc_match:"1f468-2696-fe0f",uc_greedy:"1f468-2696",shortnames:[],category:"people"},":man_juggling:":{uc_base:"1f939-2642",uc_output:"1f939-200d-2642-fe0f",uc_match:"1f939-2642-fe0f",uc_greedy:"1f939-2642",shortnames:[],category:"activity"},":man_mage:":{uc_base:"1f9d9-2642",uc_output:"1f9d9-200d-2642-fe0f",uc_match:"1f9d9-2642-fe0f",uc_greedy:"1f9d9-2642",shortnames:[],category:"people"},":man_mountain_biking:":{uc_base:"1f6b5-2642",uc_output:"1f6b5-200d-2642-fe0f",uc_match:"1f6b5-2642-fe0f",uc_greedy:"1f6b5-2642",shortnames:[],category:"activity"},":man_pilot:":{uc_base:"1f468-2708",uc_output:"1f468-200d-2708-fe0f",uc_match:"1f468-2708-fe0f",uc_greedy:"1f468-2708",shortnames:[],category:"people"},":man_playing_handball:":{uc_base:"1f93e-2642",uc_output:"1f93e-200d-2642-fe0f",uc_match:"1f93e-2642-fe0f",uc_greedy:"1f93e-2642",shortnames:[],category:"activity"},":man_playing_water_polo:":{uc_base:"1f93d-2642",uc_output:"1f93d-200d-2642-fe0f",uc_match:"1f93d-2642-fe0f",uc_greedy:"1f93d-2642",shortnames:[],category:"activity"},":man_police_officer:":{uc_base:"1f46e-2642",uc_output:"1f46e-200d-2642-fe0f",uc_match:"1f46e-2642-fe0f",uc_greedy:"1f46e-2642",shortnames:[],category:"people"},":man_pouting:":{uc_base:"1f64e-2642",uc_output:"1f64e-200d-2642-fe0f",uc_match:"1f64e-2642-fe0f",uc_greedy:"1f64e-2642",shortnames:[],category:"people"},":man_raising_hand:":{uc_base:"1f64b-2642",uc_output:"1f64b-200d-2642-fe0f",uc_match:"1f64b-2642-fe0f",uc_greedy:"1f64b-2642",shortnames:[],category:"people"},":man_rowing_boat:":{uc_base:"1f6a3-2642",uc_output:"1f6a3-200d-2642-fe0f",uc_match:"1f6a3-2642-fe0f",uc_greedy:"1f6a3-2642",shortnames:[],category:"activity"},":man_running:":{uc_base:"1f3c3-2642",uc_output:"1f3c3-200d-2642-fe0f",uc_match:"1f3c3-2642-fe0f",uc_greedy:"1f3c3-2642",shortnames:[],category:"people"},":man_shrugging:":{uc_base:"1f937-2642",uc_output:"1f937-200d-2642-fe0f",uc_match:"1f937-2642-fe0f",uc_greedy:"1f937-2642",shortnames:[],category:"people"},":man_superhero:":{uc_base:"1f9b8-2642",uc_output:"1f9b8-200d-2642-fe0f",uc_match:"1f9b8-2642-fe0f",uc_greedy:"1f9b8-2642",shortnames:[],category:"people"},":man_supervillain:":{uc_base:"1f9b9-2642",uc_output:"1f9b9-200d-2642-fe0f",uc_match:"1f9b9-2642-fe0f",uc_greedy:"1f9b9-2642",shortnames:[],category:"people"},":man_surfing:":{uc_base:"1f3c4-2642",uc_output:"1f3c4-200d-2642-fe0f",uc_match:"1f3c4-2642-fe0f",uc_greedy:"1f3c4-2642",shortnames:[],category:"activity"},":man_swimming:":{uc_base:"1f3ca-2642",uc_output:"1f3ca-200d-2642-fe0f",uc_match:"1f3ca-2642-fe0f",uc_greedy:"1f3ca-2642",shortnames:[],category:"activity"},":man_tipping_hand:":{uc_base:"1f481-2642",uc_output:"1f481-200d-2642-fe0f",uc_match:"1f481-2642-fe0f",uc_greedy:"1f481-2642",shortnames:[],category:"people"},":man_vampire:":{uc_base:"1f9db-2642",uc_output:"1f9db-200d-2642-fe0f",uc_match:"1f9db-2642-fe0f",uc_greedy:"1f9db-2642",shortnames:[],category:"people"},":man_walking:":{uc_base:"1f6b6-2642",uc_output:"1f6b6-200d-2642-fe0f",uc_match:"1f6b6-2642-fe0f",uc_greedy:"1f6b6-2642",shortnames:[],category:"people"},":man_wearing_turban:":{uc_base:"1f473-2642",uc_output:"1f473-200d-2642-fe0f",uc_match:"1f473-2642-fe0f",uc_greedy:"1f473-2642",shortnames:[],category:"people"},":man_zombie:":{uc_base:"1f9df-2642",uc_output:"1f9df-200d-2642-fe0f",uc_match:"1f9df-2642-fe0f",uc_greedy:"1f9df-2642",shortnames:[],category:"people"},":men_with_bunny_ears_partying:":{uc_base:"1f46f-2642",uc_output:"1f46f-200d-2642-fe0f",uc_match:"1f46f-2642-fe0f",uc_greedy:"1f46f-2642",shortnames:[],category:"people"},":men_wrestling:":{uc_base:"1f93c-2642",uc_output:"1f93c-200d-2642-fe0f",uc_match:"1f93c-2642-fe0f",uc_greedy:"1f93c-2642",shortnames:[],category:"activity"},":mermaid:":{uc_base:"1f9dc-2640",uc_output:"1f9dc-200d-2640-fe0f",uc_match:"1f9dc-2640-fe0f",uc_greedy:"1f9dc-2640",shortnames:[],category:"people"},":merman:":{uc_base:"1f9dc-2642",uc_output:"1f9dc-200d-2642-fe0f",uc_match:"1f9dc-2642-fe0f",uc_greedy:"1f9dc-2642",shortnames:[],category:"people"},":pirate_flag:":{uc_base:"1f3f4-2620",uc_output:"1f3f4-200d-2620-fe0f",uc_match:"1f3f4-2620-fe0f",uc_greedy:"1f3f4-2620",shortnames:[],category:"flags"},":woman_biking:":{uc_base:"1f6b4-2640",uc_output:"1f6b4-200d-2640-fe0f",uc_match:"1f6b4-2640-fe0f",uc_greedy:"1f6b4-2640",shortnames:[],category:"activity"},":woman_bowing:":{uc_base:"1f647-2640",uc_output:"1f647-200d-2640-fe0f",uc_match:"1f647-2640-fe0f",uc_greedy:"1f647-2640",shortnames:[],category:"people"},":woman_cartwheeling:":{uc_base:"1f938-2640",uc_output:"1f938-200d-2640-fe0f",uc_match:"1f938-2640-fe0f",uc_greedy:"1f938-2640",shortnames:[],category:"activity"},":woman_climbing:":{uc_base:"1f9d7-2640",uc_output:"1f9d7-200d-2640-fe0f",uc_match:"1f9d7-2640-fe0f",uc_greedy:"1f9d7-2640",shortnames:[],category:"activity"},":woman_construction_worker:":{uc_base:"1f477-2640",uc_output:"1f477-200d-2640-fe0f",uc_match:"1f477-2640-fe0f",uc_greedy:"1f477-2640",shortnames:[],category:"people"},":woman_elf:":{uc_base:"1f9dd-2640",uc_output:"1f9dd-200d-2640-fe0f",uc_match:"1f9dd-2640-fe0f",uc_greedy:"1f9dd-2640",shortnames:[],category:"people"},":woman_facepalming:":{uc_base:"1f926-2640",uc_output:"1f926-200d-2640-fe0f",uc_match:"1f926-2640-fe0f",uc_greedy:"1f926-2640",shortnames:[],category:"people"},":woman_fairy:":{uc_base:"1f9da-2640",uc_output:"1f9da-200d-2640-fe0f",uc_match:"1f9da-2640-fe0f",uc_greedy:"1f9da-2640",shortnames:[],category:"people"},":woman_frowning:":{uc_base:"1f64d-2640",uc_output:"1f64d-200d-2640-fe0f",uc_match:"1f64d-2640-fe0f",uc_greedy:"1f64d-2640",shortnames:[],category:"people"},":woman_genie:":{uc_base:"1f9de-2640",uc_output:"1f9de-200d-2640-fe0f",uc_match:"1f9de-2640-fe0f",uc_greedy:"1f9de-2640",shortnames:[],category:"people"},":woman_gesturing_no:":{uc_base:"1f645-2640",uc_output:"1f645-200d-2640-fe0f",uc_match:"1f645-2640-fe0f",uc_greedy:"1f645-2640",shortnames:[],category:"people"},":woman_gesturing_ok:":{uc_base:"1f646-2640",uc_output:"1f646-200d-2640-fe0f",uc_match:"1f646-2640-fe0f",uc_greedy:"1f646-2640",shortnames:[],category:"people"},":woman_getting_face_massage:":{uc_base:"1f486-2640",uc_output:"1f486-200d-2640-fe0f",uc_match:"1f486-2640-fe0f",uc_greedy:"1f486-2640",shortnames:[],category:"people"},":woman_getting_haircut:":{uc_base:"1f487-2640",uc_output:"1f487-200d-2640-fe0f",uc_match:"1f487-2640-fe0f",uc_greedy:"1f487-2640",shortnames:[],category:"people"},":woman_guard:":{uc_base:"1f482-2640",uc_output:"1f482-200d-2640-fe0f",uc_match:"1f482-2640-fe0f",uc_greedy:"1f482-2640",shortnames:[],category:"people"},":woman_health_worker:":{uc_base:"1f469-2695",uc_output:"1f469-200d-2695-fe0f",uc_match:"1f469-2695-fe0f",uc_greedy:"1f469-2695",shortnames:[],category:"people"},":woman_in_lotus_position:":{uc_base:"1f9d8-2640",uc_output:"1f9d8-200d-2640-fe0f",uc_match:"1f9d8-2640-fe0f",uc_greedy:"1f9d8-2640",shortnames:[],category:"activity"},":woman_in_steamy_room:":{uc_base:"1f9d6-2640",uc_output:"1f9d6-200d-2640-fe0f",uc_match:"1f9d6-2640-fe0f",uc_greedy:"1f9d6-2640",shortnames:[],category:"people"},":woman_judge:":{uc_base:"1f469-2696",uc_output:"1f469-200d-2696-fe0f",uc_match:"1f469-2696-fe0f",uc_greedy:"1f469-2696",shortnames:[],category:"people"},":woman_juggling:":{uc_base:"1f939-2640",uc_output:"1f939-200d-2640-fe0f",uc_match:"1f939-2640-fe0f",uc_greedy:"1f939-2640",shortnames:[],category:"activity"},":woman_mage:":{uc_base:"1f9d9-2640",uc_output:"1f9d9-200d-2640-fe0f",uc_match:"1f9d9-2640-fe0f",uc_greedy:"1f9d9-2640",shortnames:[],category:"people"},":woman_mountain_biking:":{uc_base:"1f6b5-2640",uc_output:"1f6b5-200d-2640-fe0f",uc_match:"1f6b5-2640-fe0f",uc_greedy:"1f6b5-2640",shortnames:[],category:"activity"},":woman_pilot:":{uc_base:"1f469-2708",uc_output:"1f469-200d-2708-fe0f",uc_match:"1f469-2708-fe0f",uc_greedy:"1f469-2708",shortnames:[],category:"people"},":woman_playing_handball:":{uc_base:"1f93e-2640",uc_output:"1f93e-200d-2640-fe0f",uc_match:"1f93e-2640-fe0f",uc_greedy:"1f93e-2640",shortnames:[],category:"activity"},":woman_playing_water_polo:":{uc_base:"1f93d-2640",uc_output:"1f93d-200d-2640-fe0f",uc_match:"1f93d-2640-fe0f",uc_greedy:"1f93d-2640",shortnames:[],category:"activity"},":woman_police_officer:":{uc_base:"1f46e-2640",uc_output:"1f46e-200d-2640-fe0f",uc_match:"1f46e-2640-fe0f",uc_greedy:"1f46e-2640",shortnames:[],category:"people"},":woman_pouting:":{uc_base:"1f64e-2640",uc_output:"1f64e-200d-2640-fe0f",uc_match:"1f64e-2640-fe0f",uc_greedy:"1f64e-2640",shortnames:[],category:"people"},":woman_raising_hand:":{uc_base:"1f64b-2640",uc_output:"1f64b-200d-2640-fe0f",uc_match:"1f64b-2640-fe0f",uc_greedy:"1f64b-2640",shortnames:[],category:"people"},":woman_rowing_boat:":{uc_base:"1f6a3-2640",uc_output:"1f6a3-200d-2640-fe0f",uc_match:"1f6a3-2640-fe0f",uc_greedy:"1f6a3-2640",shortnames:[],category:"activity"},":woman_running:":{uc_base:"1f3c3-2640",uc_output:"1f3c3-200d-2640-fe0f",uc_match:"1f3c3-2640-fe0f",uc_greedy:"1f3c3-2640",shortnames:[],category:"people"},":woman_shrugging:":{uc_base:"1f937-2640",uc_output:"1f937-200d-2640-fe0f",uc_match:"1f937-2640-fe0f",uc_greedy:"1f937-2640",shortnames:[],category:"people"},":woman_superhero:":{uc_base:"1f9b8-2640",uc_output:"1f9b8-200d-2640-fe0f",uc_match:"1f9b8-2640-fe0f",uc_greedy:"1f9b8-2640",shortnames:[],category:"people"},":woman_supervillain:":{uc_base:"1f9b9-2640",uc_output:"1f9b9-200d-2640-fe0f",uc_match:"1f9b9-2640-fe0f",uc_greedy:"1f9b9-2640",shortnames:[],category:"people"},":woman_surfing:":{uc_base:"1f3c4-2640",uc_output:"1f3c4-200d-2640-fe0f",uc_match:"1f3c4-2640-fe0f",uc_greedy:"1f3c4-2640",shortnames:[],category:"activity"},":woman_swimming:":{uc_base:"1f3ca-2640",uc_output:"1f3ca-200d-2640-fe0f",uc_match:"1f3ca-2640-fe0f",uc_greedy:"1f3ca-2640",shortnames:[],category:"activity"},":woman_tipping_hand:":{uc_base:"1f481-2640",uc_output:"1f481-200d-2640-fe0f",uc_match:"1f481-2640-fe0f",uc_greedy:"1f481-2640",shortnames:[],category:"people"},":woman_vampire:":{uc_base:"1f9db-2640",uc_output:"1f9db-200d-2640-fe0f",uc_match:"1f9db-2640-fe0f",uc_greedy:"1f9db-2640",shortnames:[],category:"people"},":woman_walking:":{uc_base:"1f6b6-2640",uc_output:"1f6b6-200d-2640-fe0f",uc_match:"1f6b6-2640-fe0f",uc_greedy:"1f6b6-2640",shortnames:[],category:"people"},":woman_wearing_turban:":{uc_base:"1f473-2640",uc_output:"1f473-200d-2640-fe0f",uc_match:"1f473-2640-fe0f",uc_greedy:"1f473-2640",shortnames:[],category:"people"},":woman_zombie:":{uc_base:"1f9df-2640",uc_output:"1f9df-200d-2640-fe0f",uc_match:"1f9df-2640-fe0f",uc_greedy:"1f9df-2640",shortnames:[],category:"people"},":women_with_bunny_ears_partying:":{uc_base:"1f46f-2640",uc_output:"1f46f-200d-2640-fe0f",uc_match:"1f46f-2640-fe0f",uc_greedy:"1f46f-2640",shortnames:[],category:"people"},":women_wrestling:":{uc_base:"1f93c-2640",uc_output:"1f93c-200d-2640-fe0f",uc_match:"1f93c-2640-fe0f",uc_greedy:"1f93c-2640",shortnames:[],category:"activity"},":family_man_boy:":{uc_base:"1f468-1f466",uc_output:"1f468-200d-1f466",uc_match:"1f468-1f466",uc_greedy:"1f468-1f466",shortnames:[],category:"people"},":family_man_girl:":{uc_base:"1f468-1f467",uc_output:"1f468-200d-1f467",uc_match:"1f468-1f467",uc_greedy:"1f468-1f467",shortnames:[],category:"people"},":family_woman_boy:":{uc_base:"1f469-1f466",uc_output:"1f469-200d-1f466",uc_match:"1f469-1f466",uc_greedy:"1f469-1f466",shortnames:[],category:"people"},":family_woman_girl:":{uc_base:"1f469-1f467",uc_output:"1f469-200d-1f467",uc_match:"1f469-1f467",uc_greedy:"1f469-1f467",shortnames:[],category:"people"},":man_artist:":{uc_base:"1f468-1f3a8",uc_output:"1f468-200d-1f3a8",uc_match:"1f468-1f3a8",uc_greedy:"1f468-1f3a8",shortnames:[],category:"people"},":man_astronaut:":{uc_base:"1f468-1f680",uc_output:"1f468-200d-1f680",uc_match:"1f468-1f680",uc_greedy:"1f468-1f680",shortnames:[],category:"people"},":man_bald:":{uc_base:"1f468-1f9b2",uc_output:"1f468-200d-1f9b2",uc_match:"1f468-1f9b2",uc_greedy:"1f468-1f9b2",shortnames:[],category:"people"},":man_cook:":{uc_base:"1f468-1f373",uc_output:"1f468-200d-1f373",uc_match:"1f468-1f373",uc_greedy:"1f468-1f373",shortnames:[],category:"people"},":man_curly_haired:":{uc_base:"1f468-1f9b1",uc_output:"1f468-200d-1f9b1",uc_match:"1f468-1f9b1",uc_greedy:"1f468-1f9b1",shortnames:[],category:"people"},":man_factory_worker:":{uc_base:"1f468-1f3ed",uc_output:"1f468-200d-1f3ed",uc_match:"1f468-1f3ed",uc_greedy:"1f468-1f3ed",shortnames:[],category:"people"},":man_farmer:":{uc_base:"1f468-1f33e",uc_output:"1f468-200d-1f33e",uc_match:"1f468-1f33e",uc_greedy:"1f468-1f33e",shortnames:[],category:"people"},":man_firefighter:":{uc_base:"1f468-1f692",uc_output:"1f468-200d-1f692",uc_match:"1f468-1f692",uc_greedy:"1f468-1f692",shortnames:[],category:"people"},":man_mechanic:":{uc_base:"1f468-1f527",uc_output:"1f468-200d-1f527",uc_match:"1f468-1f527",uc_greedy:"1f468-1f527",shortnames:[],category:"people"},":man_office_worker:":{uc_base:"1f468-1f4bc",uc_output:"1f468-200d-1f4bc",uc_match:"1f468-1f4bc",uc_greedy:"1f468-1f4bc",shortnames:[],category:"people"},":man_red_haired:":{uc_base:"1f468-1f9b0",uc_output:"1f468-200d-1f9b0",uc_match:"1f468-1f9b0",uc_greedy:"1f468-1f9b0",shortnames:[],category:"people"},":man_scientist:":{uc_base:"1f468-1f52c",uc_output:"1f468-200d-1f52c",uc_match:"1f468-1f52c",uc_greedy:"1f468-1f52c",shortnames:[],category:"people"},":man_singer:":{uc_base:"1f468-1f3a4",uc_output:"1f468-200d-1f3a4",uc_match:"1f468-1f3a4",uc_greedy:"1f468-1f3a4",shortnames:[],category:"people"},":man_student:":{uc_base:"1f468-1f393",uc_output:"1f468-200d-1f393",uc_match:"1f468-1f393",uc_greedy:"1f468-1f393",shortnames:[],category:"people"},":man_teacher:":{uc_base:"1f468-1f3eb",uc_output:"1f468-200d-1f3eb",uc_match:"1f468-1f3eb",uc_greedy:"1f468-1f3eb",shortnames:[],category:"people"},":man_technologist:":{uc_base:"1f468-1f4bb",uc_output:"1f468-200d-1f4bb",uc_match:"1f468-1f4bb",uc_greedy:"1f468-1f4bb",shortnames:[],category:"people"},":man_white_haired:":{uc_base:"1f468-1f9b3",uc_output:"1f468-200d-1f9b3",uc_match:"1f468-1f9b3",uc_greedy:"1f468-1f9b3",shortnames:[],category:"people"},":woman_artist:":{uc_base:"1f469-1f3a8",uc_output:"1f469-200d-1f3a8",uc_match:"1f469-1f3a8",uc_greedy:"1f469-1f3a8",shortnames:[],category:"people"},":woman_astronaut:":{uc_base:"1f469-1f680",uc_output:"1f469-200d-1f680",uc_match:"1f469-1f680",uc_greedy:"1f469-1f680",shortnames:[],category:"people"},":woman_bald:":{uc_base:"1f469-1f9b2",uc_output:"1f469-200d-1f9b2",uc_match:"1f469-1f9b2",uc_greedy:"1f469-1f9b2",shortnames:[],category:"people"},":woman_cook:":{uc_base:"1f469-1f373",uc_output:"1f469-200d-1f373",uc_match:"1f469-1f373",uc_greedy:"1f469-1f373",shortnames:[],category:"people"},":woman_curly_haired:":{uc_base:"1f469-1f9b1",uc_output:"1f469-200d-1f9b1",uc_match:"1f469-1f9b1",uc_greedy:"1f469-1f9b1",shortnames:[],category:"people"},":woman_factory_worker:":{uc_base:"1f469-1f3ed",uc_output:"1f469-200d-1f3ed",uc_match:"1f469-1f3ed",uc_greedy:"1f469-1f3ed",shortnames:[],category:"people"},":woman_farmer:":{uc_base:"1f469-1f33e",uc_output:"1f469-200d-1f33e",uc_match:"1f469-1f33e",uc_greedy:"1f469-1f33e",shortnames:[],category:"people"},":woman_firefighter:":{uc_base:"1f469-1f692",uc_output:"1f469-200d-1f692",uc_match:"1f469-1f692",uc_greedy:"1f469-1f692",shortnames:[],category:"people"},":woman_mechanic:":{uc_base:"1f469-1f527",uc_output:"1f469-200d-1f527",uc_match:"1f469-1f527",uc_greedy:"1f469-1f527",shortnames:[],category:"people"},":woman_office_worker:":{uc_base:"1f469-1f4bc",uc_output:"1f469-200d-1f4bc",uc_match:"1f469-1f4bc",uc_greedy:"1f469-1f4bc",shortnames:[],category:"people"},":woman_red_haired:":{uc_base:"1f469-1f9b0",uc_output:"1f469-200d-1f9b0",uc_match:"1f469-1f9b0",uc_greedy:"1f469-1f9b0",shortnames:[],category:"people"},":woman_scientist:":{uc_base:"1f469-1f52c",uc_output:"1f469-200d-1f52c",uc_match:"1f469-1f52c",uc_greedy:"1f469-1f52c",shortnames:[],category:"people"},":woman_singer:":{uc_base:"1f469-1f3a4",uc_output:"1f469-200d-1f3a4",uc_match:"1f469-1f3a4",uc_greedy:"1f469-1f3a4",shortnames:[],category:"people"},":woman_student:":{uc_base:"1f469-1f393",uc_output:"1f469-200d-1f393",uc_match:"1f469-1f393",uc_greedy:"1f469-1f393",shortnames:[],category:"people"},":woman_teacher:":{uc_base:"1f469-1f3eb",uc_output:"1f469-200d-1f3eb",uc_match:"1f469-1f3eb",uc_greedy:"1f469-1f3eb",shortnames:[],category:"people"},":woman_technologist:":{uc_base:"1f469-1f4bb",uc_output:"1f469-200d-1f4bb",uc_match:"1f469-1f4bb",uc_greedy:"1f469-1f4bb",shortnames:[],category:"people"},":woman_white_haired:":{uc_base:"1f469-1f9b3",uc_output:"1f469-200d-1f9b3",uc_match:"1f469-1f9b3",uc_greedy:"1f469-1f9b3",shortnames:[],category:"people"},":asterisk:":{uc_base:"002a-20e3",uc_output:"002a-fe0f-20e3",uc_match:"002a-20e3",uc_greedy:"002a-20e3",shortnames:[":keycap_asterisk:"],category:"symbols"},":eight:":{uc_base:"0038-20e3",uc_output:"0038-fe0f-20e3",uc_match:"0038-20e3",uc_greedy:"0038-20e3",shortnames:[],category:"symbols"},":five:":{uc_base:"0035-20e3",uc_output:"0035-fe0f-20e3",uc_match:"0035-20e3",uc_greedy:"0035-20e3",shortnames:[],category:"symbols"},":four:":{uc_base:"0034-20e3",uc_output:"0034-fe0f-20e3",uc_match:"0034-20e3",uc_greedy:"0034-20e3",shortnames:[],category:"symbols"},":hash:":{uc_base:"0023-20e3",uc_output:"0023-fe0f-20e3",uc_match:"0023-20e3",uc_greedy:"0023-20e3",shortnames:[],category:"symbols"},":nine:":{uc_base:"0039-20e3",uc_output:"0039-fe0f-20e3",uc_match:"0039-20e3",uc_greedy:"0039-20e3",shortnames:[],category:"symbols"},":one:":{uc_base:"0031-20e3",uc_output:"0031-fe0f-20e3",uc_match:"0031-20e3",uc_greedy:"0031-20e3",shortnames:[],category:"symbols"},":seven:":{uc_base:"0037-20e3",uc_output:"0037-fe0f-20e3",uc_match:"0037-20e3",uc_greedy:"0037-20e3",shortnames:[],category:"symbols"},":six:":{uc_base:"0036-20e3",uc_output:"0036-fe0f-20e3",uc_match:"0036-20e3",uc_greedy:"0036-20e3",shortnames:[],category:"symbols"},":three:":{uc_base:"0033-20e3",uc_output:"0033-fe0f-20e3",uc_match:"0033-20e3",uc_greedy:"0033-20e3",shortnames:[],category:"symbols"},":two:":{uc_base:"0032-20e3",uc_output:"0032-fe0f-20e3",uc_match:"0032-20e3",uc_greedy:"0032-20e3",shortnames:[],category:"symbols"},":zero:":{uc_base:"0030-20e3",uc_output:"0030-fe0f-20e3",uc_match:"0030-20e3",uc_greedy:"0030-20e3",shortnames:[],category:"symbols"},":adult_tone1:":{uc_base:"1f9d1-1f3fb",uc_output:"1f9d1-1f3fb",uc_match:"1f9d1-1f3fb",uc_greedy:"1f9d1-1f3fb",shortnames:[":adult_light_skin_tone:"],category:"people"},":adult_tone2:":{uc_base:"1f9d1-1f3fc",uc_output:"1f9d1-1f3fc",uc_match:"1f9d1-1f3fc",uc_greedy:"1f9d1-1f3fc",shortnames:[":adult_medium_light_skin_tone:"],category:"people"},":adult_tone3:":{uc_base:"1f9d1-1f3fd",uc_output:"1f9d1-1f3fd",uc_match:"1f9d1-1f3fd",uc_greedy:"1f9d1-1f3fd",shortnames:[":adult_medium_skin_tone:"],category:"people"},":adult_tone4:":{uc_base:"1f9d1-1f3fe",uc_output:"1f9d1-1f3fe",uc_match:"1f9d1-1f3fe",uc_greedy:"1f9d1-1f3fe",shortnames:[":adult_medium_dark_skin_tone:"],category:"people"},":adult_tone5:":{uc_base:"1f9d1-1f3ff",uc_output:"1f9d1-1f3ff",uc_match:"1f9d1-1f3ff",uc_greedy:"1f9d1-1f3ff",shortnames:[":adult_dark_skin_tone:"],category:"people"},":angel_tone1:":{uc_base:"1f47c-1f3fb",uc_output:"1f47c-1f3fb",uc_match:"1f47c-1f3fb",uc_greedy:"1f47c-1f3fb",shortnames:[],category:"people"},":angel_tone2:":{uc_base:"1f47c-1f3fc",uc_output:"1f47c-1f3fc",uc_match:"1f47c-1f3fc",uc_greedy:"1f47c-1f3fc",shortnames:[],category:"people"},":angel_tone3:":{uc_base:"1f47c-1f3fd",uc_output:"1f47c-1f3fd",uc_match:"1f47c-1f3fd",uc_greedy:"1f47c-1f3fd",shortnames:[],category:"people"},":angel_tone4:":{uc_base:"1f47c-1f3fe",uc_output:"1f47c-1f3fe",uc_match:"1f47c-1f3fe",uc_greedy:"1f47c-1f3fe",shortnames:[],category:"people"},":angel_tone5:":{uc_base:"1f47c-1f3ff",uc_output:"1f47c-1f3ff",uc_match:"1f47c-1f3ff",uc_greedy:"1f47c-1f3ff",shortnames:[],category:"people"},":baby_tone1:":{uc_base:"1f476-1f3fb",uc_output:"1f476-1f3fb",uc_match:"1f476-1f3fb",uc_greedy:"1f476-1f3fb",shortnames:[],category:"people"},":baby_tone2:":{uc_base:"1f476-1f3fc",uc_output:"1f476-1f3fc",uc_match:"1f476-1f3fc",uc_greedy:"1f476-1f3fc",shortnames:[],category:"people"},":baby_tone3:":{uc_base:"1f476-1f3fd",uc_output:"1f476-1f3fd",uc_match:"1f476-1f3fd",uc_greedy:"1f476-1f3fd",shortnames:[],category:"people"},":baby_tone4:":{uc_base:"1f476-1f3fe",uc_output:"1f476-1f3fe",uc_match:"1f476-1f3fe",uc_greedy:"1f476-1f3fe",shortnames:[],category:"people"},":baby_tone5:":{uc_base:"1f476-1f3ff",uc_output:"1f476-1f3ff",uc_match:"1f476-1f3ff",uc_greedy:"1f476-1f3ff",shortnames:[],category:"people"},":bath_tone1:":{uc_base:"1f6c0-1f3fb",uc_output:"1f6c0-1f3fb",uc_match:"1f6c0-1f3fb",uc_greedy:"1f6c0-1f3fb",shortnames:[],category:"objects"},":bath_tone2:":{uc_base:"1f6c0-1f3fc",uc_output:"1f6c0-1f3fc",uc_match:"1f6c0-1f3fc",uc_greedy:"1f6c0-1f3fc",shortnames:[],category:"objects"},":bath_tone3:":{uc_base:"1f6c0-1f3fd",uc_output:"1f6c0-1f3fd",uc_match:"1f6c0-1f3fd",uc_greedy:"1f6c0-1f3fd",shortnames:[],category:"objects"},":bath_tone4:":{uc_base:"1f6c0-1f3fe",uc_output:"1f6c0-1f3fe",uc_match:"1f6c0-1f3fe",uc_greedy:"1f6c0-1f3fe",shortnames:[],category:"objects"},":bath_tone5:":{uc_base:"1f6c0-1f3ff",uc_output:"1f6c0-1f3ff",uc_match:"1f6c0-1f3ff",uc_greedy:"1f6c0-1f3ff",shortnames:[],category:"objects"},":bearded_person_tone1:":{uc_base:"1f9d4-1f3fb",uc_output:"1f9d4-1f3fb",uc_match:"1f9d4-1f3fb",uc_greedy:"1f9d4-1f3fb",shortnames:[":bearded_person_light_skin_tone:"],category:"people"},":bearded_person_tone2:":{uc_base:"1f9d4-1f3fc",uc_output:"1f9d4-1f3fc",uc_match:"1f9d4-1f3fc",uc_greedy:"1f9d4-1f3fc",shortnames:[":bearded_person_medium_light_skin_tone:"],category:"people"},":bearded_person_tone3:":{uc_base:"1f9d4-1f3fd",uc_output:"1f9d4-1f3fd",uc_match:"1f9d4-1f3fd",uc_greedy:"1f9d4-1f3fd",shortnames:[":bearded_person_medium_skin_tone:"],category:"people"},":bearded_person_tone4:":{uc_base:"1f9d4-1f3fe",uc_output:"1f9d4-1f3fe",uc_match:"1f9d4-1f3fe",uc_greedy:"1f9d4-1f3fe",shortnames:[":bearded_person_medium_dark_skin_tone:"],category:"people"},":bearded_person_tone5:":{uc_base:"1f9d4-1f3ff",uc_output:"1f9d4-1f3ff",uc_match:"1f9d4-1f3ff",uc_greedy:"1f9d4-1f3ff",shortnames:[":bearded_person_dark_skin_tone:"],category:"people"},":blond_haired_person_tone1:":{uc_base:"1f471-1f3fb",uc_output:"1f471-1f3fb",uc_match:"1f471-1f3fb",uc_greedy:"1f471-1f3fb",shortnames:[":person_with_blond_hair_tone1:"],category:"people"},":blond_haired_person_tone2:":{uc_base:"1f471-1f3fc",uc_output:"1f471-1f3fc",uc_match:"1f471-1f3fc",uc_greedy:"1f471-1f3fc",shortnames:[":person_with_blond_hair_tone2:"],category:"people"},":blond_haired_person_tone3:":{uc_base:"1f471-1f3fd",uc_output:"1f471-1f3fd",uc_match:"1f471-1f3fd",uc_greedy:"1f471-1f3fd",shortnames:[":person_with_blond_hair_tone3:"],category:"people"},":blond_haired_person_tone4:":{uc_base:"1f471-1f3fe",uc_output:"1f471-1f3fe",uc_match:"1f471-1f3fe",uc_greedy:"1f471-1f3fe",shortnames:[":person_with_blond_hair_tone4:"],category:"people"},":blond_haired_person_tone5:":{uc_base:"1f471-1f3ff",uc_output:"1f471-1f3ff",uc_match:"1f471-1f3ff",uc_greedy:"1f471-1f3ff",shortnames:[":person_with_blond_hair_tone5:"],category:"people"},":boy_tone1:":{uc_base:"1f466-1f3fb",uc_output:"1f466-1f3fb",uc_match:"1f466-1f3fb",uc_greedy:"1f466-1f3fb",shortnames:[],category:"people"},":boy_tone2:":{uc_base:"1f466-1f3fc",uc_output:"1f466-1f3fc",uc_match:"1f466-1f3fc",uc_greedy:"1f466-1f3fc",shortnames:[],category:"people"},":boy_tone3:":{uc_base:"1f466-1f3fd",uc_output:"1f466-1f3fd",uc_match:"1f466-1f3fd",uc_greedy:"1f466-1f3fd",shortnames:[],category:"people"},":boy_tone4:":{uc_base:"1f466-1f3fe",uc_output:"1f466-1f3fe",uc_match:"1f466-1f3fe",uc_greedy:"1f466-1f3fe",shortnames:[],category:"people"},":boy_tone5:":{uc_base:"1f466-1f3ff",uc_output:"1f466-1f3ff",uc_match:"1f466-1f3ff",uc_greedy:"1f466-1f3ff",shortnames:[],category:"people"},":breast_feeding_tone1:":{uc_base:"1f931-1f3fb",uc_output:"1f931-1f3fb",uc_match:"1f931-1f3fb",uc_greedy:"1f931-1f3fb",shortnames:[":breast_feeding_light_skin_tone:"],category:"people"},":breast_feeding_tone2:":{uc_base:"1f931-1f3fc",uc_output:"1f931-1f3fc",uc_match:"1f931-1f3fc",uc_greedy:"1f931-1f3fc",shortnames:[":breast_feeding_medium_light_skin_tone:"],category:"people"},":breast_feeding_tone3:":{uc_base:"1f931-1f3fd",uc_output:"1f931-1f3fd",uc_match:"1f931-1f3fd",uc_greedy:"1f931-1f3fd",shortnames:[":breast_feeding_medium_skin_tone:"],category:"people"},":breast_feeding_tone4:":{uc_base:"1f931-1f3fe",uc_output:"1f931-1f3fe",uc_match:"1f931-1f3fe",uc_greedy:"1f931-1f3fe",shortnames:[":breast_feeding_medium_dark_skin_tone:"],category:"people"},":breast_feeding_tone5:":{uc_base:"1f931-1f3ff",uc_output:"1f931-1f3ff",uc_match:"1f931-1f3ff",uc_greedy:"1f931-1f3ff",shortnames:[":breast_feeding_dark_skin_tone:"],category:"people"},":bride_with_veil_tone1:":{uc_base:"1f470-1f3fb",uc_output:"1f470-1f3fb",uc_match:"1f470-1f3fb",uc_greedy:"1f470-1f3fb",shortnames:[],category:"people"},":bride_with_veil_tone2:":{uc_base:"1f470-1f3fc",uc_output:"1f470-1f3fc",uc_match:"1f470-1f3fc",uc_greedy:"1f470-1f3fc",shortnames:[],category:"people"},":bride_with_veil_tone3:":{uc_base:"1f470-1f3fd",uc_output:"1f470-1f3fd",uc_match:"1f470-1f3fd",uc_greedy:"1f470-1f3fd",shortnames:[],category:"people"},":bride_with_veil_tone4:":{uc_base:"1f470-1f3fe",uc_output:"1f470-1f3fe",uc_match:"1f470-1f3fe",uc_greedy:"1f470-1f3fe",shortnames:[],category:"people"},":bride_with_veil_tone5:":{uc_base:"1f470-1f3ff",uc_output:"1f470-1f3ff",uc_match:"1f470-1f3ff",uc_greedy:"1f470-1f3ff",shortnames:[],category:"people"},":call_me_tone1:":{uc_base:"1f919-1f3fb",uc_output:"1f919-1f3fb",uc_match:"1f919-1f3fb",uc_greedy:"1f919-1f3fb",shortnames:[":call_me_hand_tone1:"],category:"people"},":call_me_tone2:":{uc_base:"1f919-1f3fc",uc_output:"1f919-1f3fc",uc_match:"1f919-1f3fc",uc_greedy:"1f919-1f3fc",shortnames:[":call_me_hand_tone2:"],category:"people"},":call_me_tone3:":{uc_base:"1f919-1f3fd",uc_output:"1f919-1f3fd",uc_match:"1f919-1f3fd",uc_greedy:"1f919-1f3fd",shortnames:[":call_me_hand_tone3:"],category:"people"},":call_me_tone4:":{uc_base:"1f919-1f3fe",uc_output:"1f919-1f3fe",uc_match:"1f919-1f3fe",uc_greedy:"1f919-1f3fe",shortnames:[":call_me_hand_tone4:"],category:"people"},":call_me_tone5:":{uc_base:"1f919-1f3ff",uc_output:"1f919-1f3ff",uc_match:"1f919-1f3ff",uc_greedy:"1f919-1f3ff",shortnames:[":call_me_hand_tone5:"],category:"people"},":child_tone1:":{uc_base:"1f9d2-1f3fb",uc_output:"1f9d2-1f3fb",uc_match:"1f9d2-1f3fb",uc_greedy:"1f9d2-1f3fb",shortnames:[":child_light_skin_tone:"],category:"people"},":child_tone2:":{uc_base:"1f9d2-1f3fc",uc_output:"1f9d2-1f3fc",uc_match:"1f9d2-1f3fc",uc_greedy:"1f9d2-1f3fc",shortnames:[":child_medium_light_skin_tone:"],category:"people"},":child_tone3:":{uc_base:"1f9d2-1f3fd",uc_output:"1f9d2-1f3fd",uc_match:"1f9d2-1f3fd",uc_greedy:"1f9d2-1f3fd",shortnames:[":child_medium_skin_tone:"],category:"people"},":child_tone4:":{uc_base:"1f9d2-1f3fe",uc_output:"1f9d2-1f3fe",uc_match:"1f9d2-1f3fe",uc_greedy:"1f9d2-1f3fe",shortnames:[":child_medium_dark_skin_tone:"],category:"people"},":child_tone5:":{uc_base:"1f9d2-1f3ff",uc_output:"1f9d2-1f3ff",uc_match:"1f9d2-1f3ff",uc_greedy:"1f9d2-1f3ff",shortnames:[":child_dark_skin_tone:"],category:"people"},":clap_tone1:":{uc_base:"1f44f-1f3fb",uc_output:"1f44f-1f3fb",uc_match:"1f44f-1f3fb",uc_greedy:"1f44f-1f3fb",shortnames:[],category:"people"},":clap_tone2:":{uc_base:"1f44f-1f3fc",uc_output:"1f44f-1f3fc",uc_match:"1f44f-1f3fc",uc_greedy:"1f44f-1f3fc",shortnames:[],category:"people"},":clap_tone3:":{uc_base:"1f44f-1f3fd",uc_output:"1f44f-1f3fd",uc_match:"1f44f-1f3fd",uc_greedy:"1f44f-1f3fd",shortnames:[],category:"people"},":clap_tone4:":{uc_base:"1f44f-1f3fe",uc_output:"1f44f-1f3fe",uc_match:"1f44f-1f3fe",uc_greedy:"1f44f-1f3fe",shortnames:[],category:"people"},":clap_tone5:":{uc_base:"1f44f-1f3ff",uc_output:"1f44f-1f3ff",uc_match:"1f44f-1f3ff",uc_greedy:"1f44f-1f3ff",shortnames:[],category:"people"},":construction_worker_tone1:":{uc_base:"1f477-1f3fb",uc_output:"1f477-1f3fb",uc_match:"1f477-1f3fb",uc_greedy:"1f477-1f3fb",shortnames:[],category:"people"},":construction_worker_tone2:":{uc_base:"1f477-1f3fc",uc_output:"1f477-1f3fc",uc_match:"1f477-1f3fc",uc_greedy:"1f477-1f3fc",shortnames:[],category:"people"},":construction_worker_tone3:":{uc_base:"1f477-1f3fd",uc_output:"1f477-1f3fd",uc_match:"1f477-1f3fd",uc_greedy:"1f477-1f3fd",shortnames:[],category:"people"},":construction_worker_tone4:":{uc_base:"1f477-1f3fe",uc_output:"1f477-1f3fe",uc_match:"1f477-1f3fe",uc_greedy:"1f477-1f3fe",shortnames:[],category:"people"},":construction_worker_tone5:":{uc_base:"1f477-1f3ff",uc_output:"1f477-1f3ff",uc_match:"1f477-1f3ff",uc_greedy:"1f477-1f3ff",shortnames:[],category:"people"},":dancer_tone1:":{uc_base:"1f483-1f3fb",uc_output:"1f483-1f3fb",uc_match:"1f483-1f3fb",uc_greedy:"1f483-1f3fb",shortnames:[],category:"people"},":dancer_tone2:":{uc_base:"1f483-1f3fc",uc_output:"1f483-1f3fc",uc_match:"1f483-1f3fc",uc_greedy:"1f483-1f3fc",shortnames:[],category:"people"},":dancer_tone3:":{uc_base:"1f483-1f3fd",uc_output:"1f483-1f3fd",uc_match:"1f483-1f3fd",uc_greedy:"1f483-1f3fd",shortnames:[],category:"people"},":dancer_tone4:":{uc_base:"1f483-1f3fe",uc_output:"1f483-1f3fe",uc_match:"1f483-1f3fe",uc_greedy:"1f483-1f3fe",shortnames:[],category:"people"},":dancer_tone5:":{uc_base:"1f483-1f3ff",uc_output:"1f483-1f3ff",uc_match:"1f483-1f3ff",uc_greedy:"1f483-1f3ff",shortnames:[],category:"people"},":detective_tone1:":{uc_base:"1f575-1f3fb",uc_output:"1f575-1f3fb",uc_match:"1f575-fe0f-1f3fb",uc_greedy:"1f575-fe0f-1f3fb",shortnames:[":spy_tone1:",":sleuth_or_spy_tone1:"],category:"people"},":detective_tone2:":{uc_base:"1f575-1f3fc",uc_output:"1f575-1f3fc",uc_match:"1f575-fe0f-1f3fc",uc_greedy:"1f575-fe0f-1f3fc",shortnames:[":spy_tone2:",":sleuth_or_spy_tone2:"],category:"people"},":detective_tone3:":{uc_base:"1f575-1f3fd",uc_output:"1f575-1f3fd",uc_match:"1f575-fe0f-1f3fd",uc_greedy:"1f575-fe0f-1f3fd",shortnames:[":spy_tone3:",":sleuth_or_spy_tone3:"],category:"people"},":detective_tone4:":{uc_base:"1f575-1f3fe",uc_output:"1f575-1f3fe",uc_match:"1f575-fe0f-1f3fe",uc_greedy:"1f575-fe0f-1f3fe",shortnames:[":spy_tone4:",":sleuth_or_spy_tone4:"],category:"people"},":detective_tone5:":{uc_base:"1f575-1f3ff",uc_output:"1f575-1f3ff",uc_match:"1f575-fe0f-1f3ff",uc_greedy:"1f575-fe0f-1f3ff",shortnames:[":spy_tone5:",":sleuth_or_spy_tone5:"],category:"people"},":ear_tone1:":{uc_base:"1f442-1f3fb",uc_output:"1f442-1f3fb",uc_match:"1f442-1f3fb",uc_greedy:"1f442-1f3fb",shortnames:[],category:"people"},":ear_tone2:":{uc_base:"1f442-1f3fc",uc_output:"1f442-1f3fc",uc_match:"1f442-1f3fc",uc_greedy:"1f442-1f3fc",shortnames:[],category:"people"},":ear_tone3:":{uc_base:"1f442-1f3fd",uc_output:"1f442-1f3fd",uc_match:"1f442-1f3fd",uc_greedy:"1f442-1f3fd",shortnames:[],category:"people"},":ear_tone4:":{uc_base:"1f442-1f3fe",uc_output:"1f442-1f3fe",uc_match:"1f442-1f3fe",uc_greedy:"1f442-1f3fe",shortnames:[],category:"people"},":ear_tone5:":{uc_base:"1f442-1f3ff",uc_output:"1f442-1f3ff",uc_match:"1f442-1f3ff",uc_greedy:"1f442-1f3ff",shortnames:[],category:"people"},":elf_tone1:":{uc_base:"1f9dd-1f3fb",uc_output:"1f9dd-1f3fb",uc_match:"1f9dd-1f3fb",uc_greedy:"1f9dd-1f3fb",shortnames:[":elf_light_skin_tone:"],category:"people"},":elf_tone2:":{uc_base:"1f9dd-1f3fc",uc_output:"1f9dd-1f3fc",uc_match:"1f9dd-1f3fc",uc_greedy:"1f9dd-1f3fc",shortnames:[":elf_medium_light_skin_tone:"],category:"people"},":elf_tone3:":{uc_base:"1f9dd-1f3fd",uc_output:"1f9dd-1f3fd",uc_match:"1f9dd-1f3fd",uc_greedy:"1f9dd-1f3fd",shortnames:[":elf_medium_skin_tone:"],category:"people"},":elf_tone4:":{uc_base:"1f9dd-1f3fe",uc_output:"1f9dd-1f3fe",uc_match:"1f9dd-1f3fe",uc_greedy:"1f9dd-1f3fe",shortnames:[":elf_medium_dark_skin_tone:"],category:"people"},":elf_tone5:":{uc_base:"1f9dd-1f3ff",uc_output:"1f9dd-1f3ff",uc_match:"1f9dd-1f3ff",uc_greedy:"1f9dd-1f3ff",shortnames:[":elf_dark_skin_tone:"],category:"people"},":fairy_tone1:":{uc_base:"1f9da-1f3fb",uc_output:"1f9da-1f3fb",uc_match:"1f9da-1f3fb",uc_greedy:"1f9da-1f3fb",shortnames:[":fairy_light_skin_tone:"],category:"people"},":fairy_tone2:":{uc_base:"1f9da-1f3fc",uc_output:"1f9da-1f3fc",uc_match:"1f9da-1f3fc",uc_greedy:"1f9da-1f3fc",shortnames:[":fairy_medium_light_skin_tone:"],category:"people"},":fairy_tone3:":{uc_base:"1f9da-1f3fd",uc_output:"1f9da-1f3fd",uc_match:"1f9da-1f3fd",uc_greedy:"1f9da-1f3fd",shortnames:[":fairy_medium_skin_tone:"],category:"people"},":fairy_tone4:":{uc_base:"1f9da-1f3fe",uc_output:"1f9da-1f3fe",uc_match:"1f9da-1f3fe",uc_greedy:"1f9da-1f3fe",shortnames:[":fairy_medium_dark_skin_tone:"],category:"people"},":fairy_tone5:":{uc_base:"1f9da-1f3ff",uc_output:"1f9da-1f3ff",uc_match:"1f9da-1f3ff",uc_greedy:"1f9da-1f3ff",shortnames:[":fairy_dark_skin_tone:"],category:"people"},":fingers_crossed_tone1:":{uc_base:"1f91e-1f3fb",uc_output:"1f91e-1f3fb",uc_match:"1f91e-1f3fb",uc_greedy:"1f91e-1f3fb",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone1:"],category:"people"},":fingers_crossed_tone2:":{uc_base:"1f91e-1f3fc",uc_output:"1f91e-1f3fc",uc_match:"1f91e-1f3fc",uc_greedy:"1f91e-1f3fc",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone2:"],category:"people"},":fingers_crossed_tone3:":{uc_base:"1f91e-1f3fd",uc_output:"1f91e-1f3fd",uc_match:"1f91e-1f3fd",uc_greedy:"1f91e-1f3fd",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone3:"],category:"people"},":fingers_crossed_tone4:":{uc_base:"1f91e-1f3fe",uc_output:"1f91e-1f3fe",uc_match:"1f91e-1f3fe",uc_greedy:"1f91e-1f3fe",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone4:"],category:"people"},":fingers_crossed_tone5:":{uc_base:"1f91e-1f3ff",uc_output:"1f91e-1f3ff",uc_match:"1f91e-1f3ff",uc_greedy:"1f91e-1f3ff",shortnames:[":hand_with_index_and_middle_fingers_crossed_tone5:"],category:"people"},":flag_ac:":{uc_base:"1f1e6-1f1e8",uc_output:"1f1e6-1f1e8",uc_match:"1f1e6-1f1e8",uc_greedy:"1f1e6-1f1e8",shortnames:[":ac:"],category:"flags"},":flag_ad:":{uc_base:"1f1e6-1f1e9",uc_output:"1f1e6-1f1e9",uc_match:"1f1e6-1f1e9",uc_greedy:"1f1e6-1f1e9",shortnames:[":ad:"],category:"flags"},":flag_ae:":{uc_base:"1f1e6-1f1ea",uc_output:"1f1e6-1f1ea",uc_match:"1f1e6-1f1ea",uc_greedy:"1f1e6-1f1ea",shortnames:[":ae:"],category:"flags"},":flag_af:":{uc_base:"1f1e6-1f1eb",uc_output:"1f1e6-1f1eb",uc_match:"1f1e6-1f1eb",uc_greedy:"1f1e6-1f1eb",shortnames:[":af:"],category:"flags"},":flag_ag:":{uc_base:"1f1e6-1f1ec",uc_output:"1f1e6-1f1ec",uc_match:"1f1e6-1f1ec",uc_greedy:"1f1e6-1f1ec",shortnames:[":ag:"],category:"flags"},":flag_ai:":{uc_base:"1f1e6-1f1ee",uc_output:"1f1e6-1f1ee",uc_match:"1f1e6-1f1ee",uc_greedy:"1f1e6-1f1ee",shortnames:[":ai:"],category:"flags"},":flag_al:":{uc_base:"1f1e6-1f1f1",uc_output:"1f1e6-1f1f1",uc_match:"1f1e6-1f1f1",uc_greedy:"1f1e6-1f1f1",shortnames:[":al:"],category:"flags"},":flag_am:":{uc_base:"1f1e6-1f1f2",uc_output:"1f1e6-1f1f2",uc_match:"1f1e6-1f1f2",uc_greedy:"1f1e6-1f1f2",shortnames:[":am:"],category:"flags"},":flag_ao:":{uc_base:"1f1e6-1f1f4",uc_output:"1f1e6-1f1f4",uc_match:"1f1e6-1f1f4",uc_greedy:"1f1e6-1f1f4",shortnames:[":ao:"],category:"flags"},":flag_aq:":{uc_base:"1f1e6-1f1f6",uc_output:"1f1e6-1f1f6",uc_match:"1f1e6-1f1f6",uc_greedy:"1f1e6-1f1f6",shortnames:[":aq:"],category:"flags"},":flag_ar:":{uc_base:"1f1e6-1f1f7",uc_output:"1f1e6-1f1f7",uc_match:"1f1e6-1f1f7",uc_greedy:"1f1e6-1f1f7",shortnames:[":ar:"],category:"flags"},":flag_as:":{uc_base:"1f1e6-1f1f8",uc_output:"1f1e6-1f1f8",uc_match:"1f1e6-1f1f8",uc_greedy:"1f1e6-1f1f8",shortnames:[":as:"],category:"flags"},":flag_at:":{uc_base:"1f1e6-1f1f9",uc_output:"1f1e6-1f1f9",uc_match:"1f1e6-1f1f9",uc_greedy:"1f1e6-1f1f9",shortnames:[":at:"],category:"flags"},":flag_au:":{uc_base:"1f1e6-1f1fa",uc_output:"1f1e6-1f1fa",uc_match:"1f1e6-1f1fa",uc_greedy:"1f1e6-1f1fa",shortnames:[":au:"],category:"flags"},":flag_aw:":{uc_base:"1f1e6-1f1fc",uc_output:"1f1e6-1f1fc",uc_match:"1f1e6-1f1fc",uc_greedy:"1f1e6-1f1fc",shortnames:[":aw:"],category:"flags"},":flag_ax:":{uc_base:"1f1e6-1f1fd",uc_output:"1f1e6-1f1fd",uc_match:"1f1e6-1f1fd",uc_greedy:"1f1e6-1f1fd",shortnames:[":ax:"],category:"flags"},":flag_az:":{uc_base:"1f1e6-1f1ff",uc_output:"1f1e6-1f1ff",uc_match:"1f1e6-1f1ff",uc_greedy:"1f1e6-1f1ff",shortnames:[":az:"],category:"flags"},":flag_ba:":{uc_base:"1f1e7-1f1e6",uc_output:"1f1e7-1f1e6",uc_match:"1f1e7-1f1e6",uc_greedy:"1f1e7-1f1e6",shortnames:[":ba:"],category:"flags"},":flag_bb:":{uc_base:"1f1e7-1f1e7",uc_output:"1f1e7-1f1e7",uc_match:"1f1e7-1f1e7",uc_greedy:"1f1e7-1f1e7",shortnames:[":bb:"],category:"flags"},":flag_bd:":{uc_base:"1f1e7-1f1e9",uc_output:"1f1e7-1f1e9",uc_match:"1f1e7-1f1e9",uc_greedy:"1f1e7-1f1e9",shortnames:[":bd:"],category:"flags"},":flag_be:":{uc_base:"1f1e7-1f1ea",uc_output:"1f1e7-1f1ea",uc_match:"1f1e7-1f1ea",uc_greedy:"1f1e7-1f1ea",shortnames:[":be:"],category:"flags"},":flag_bf:":{uc_base:"1f1e7-1f1eb",uc_output:"1f1e7-1f1eb",uc_match:"1f1e7-1f1eb",uc_greedy:"1f1e7-1f1eb",shortnames:[":bf:"],category:"flags"},":flag_bg:":{uc_base:"1f1e7-1f1ec",uc_output:"1f1e7-1f1ec",uc_match:"1f1e7-1f1ec",uc_greedy:"1f1e7-1f1ec",shortnames:[":bg:"],category:"flags"},":flag_bh:":{uc_base:"1f1e7-1f1ed",uc_output:"1f1e7-1f1ed",uc_match:"1f1e7-1f1ed",uc_greedy:"1f1e7-1f1ed",shortnames:[":bh:"],category:"flags"},":flag_bi:":{uc_base:"1f1e7-1f1ee",uc_output:"1f1e7-1f1ee",uc_match:"1f1e7-1f1ee",uc_greedy:"1f1e7-1f1ee",shortnames:[":bi:"],category:"flags"},":flag_bj:":{uc_base:"1f1e7-1f1ef",uc_output:"1f1e7-1f1ef",uc_match:"1f1e7-1f1ef",uc_greedy:"1f1e7-1f1ef",shortnames:[":bj:"],category:"flags"},":flag_bl:":{uc_base:"1f1e7-1f1f1",uc_output:"1f1e7-1f1f1",uc_match:"1f1e7-1f1f1",uc_greedy:"1f1e7-1f1f1",shortnames:[":bl:"],category:"flags"},":flag_bm:":{uc_base:"1f1e7-1f1f2",uc_output:"1f1e7-1f1f2",uc_match:"1f1e7-1f1f2",uc_greedy:"1f1e7-1f1f2",shortnames:[":bm:"],category:"flags"},":flag_bn:":{uc_base:"1f1e7-1f1f3",uc_output:"1f1e7-1f1f3",uc_match:"1f1e7-1f1f3",uc_greedy:"1f1e7-1f1f3",shortnames:[":bn:"],category:"flags"},":flag_bo:":{uc_base:"1f1e7-1f1f4",uc_output:"1f1e7-1f1f4",uc_match:"1f1e7-1f1f4",uc_greedy:"1f1e7-1f1f4",shortnames:[":bo:"],category:"flags"},":flag_bq:":{uc_base:"1f1e7-1f1f6",uc_output:"1f1e7-1f1f6",uc_match:"1f1e7-1f1f6",uc_greedy:"1f1e7-1f1f6",shortnames:[":bq:"],category:"flags"},":flag_br:":{uc_base:"1f1e7-1f1f7",uc_output:"1f1e7-1f1f7",uc_match:"1f1e7-1f1f7",uc_greedy:"1f1e7-1f1f7",shortnames:[":br:"],category:"flags"},":flag_bs:":{uc_base:"1f1e7-1f1f8",uc_output:"1f1e7-1f1f8",uc_match:"1f1e7-1f1f8",uc_greedy:"1f1e7-1f1f8",shortnames:[":bs:"],category:"flags"},":flag_bt:":{uc_base:"1f1e7-1f1f9",uc_output:"1f1e7-1f1f9",uc_match:"1f1e7-1f1f9",uc_greedy:"1f1e7-1f1f9",shortnames:[":bt:"],category:"flags"},":flag_bv:":{uc_base:"1f1e7-1f1fb",uc_output:"1f1e7-1f1fb",uc_match:"1f1e7-1f1fb",uc_greedy:"1f1e7-1f1fb",shortnames:[":bv:"],category:"flags"},":flag_bw:":{uc_base:"1f1e7-1f1fc",uc_output:"1f1e7-1f1fc",uc_match:"1f1e7-1f1fc",uc_greedy:"1f1e7-1f1fc",shortnames:[":bw:"],category:"flags"},":flag_by:":{uc_base:"1f1e7-1f1fe",uc_output:"1f1e7-1f1fe",uc_match:"1f1e7-1f1fe",uc_greedy:"1f1e7-1f1fe",shortnames:[":by:"],category:"flags"},":flag_bz:":{uc_base:"1f1e7-1f1ff",uc_output:"1f1e7-1f1ff",uc_match:"1f1e7-1f1ff",uc_greedy:"1f1e7-1f1ff",shortnames:[":bz:"],category:"flags"},":flag_ca:":{uc_base:"1f1e8-1f1e6",uc_output:"1f1e8-1f1e6",uc_match:"1f1e8-1f1e6",uc_greedy:"1f1e8-1f1e6",shortnames:[":ca:"],category:"flags"},":flag_cc:":{uc_base:"1f1e8-1f1e8",uc_output:"1f1e8-1f1e8",uc_match:"1f1e8-1f1e8",uc_greedy:"1f1e8-1f1e8",shortnames:[":cc:"],category:"flags"},":flag_cd:":{uc_base:"1f1e8-1f1e9",uc_output:"1f1e8-1f1e9",uc_match:"1f1e8-1f1e9",uc_greedy:"1f1e8-1f1e9",shortnames:[":congo:"],category:"flags"},":flag_cf:":{uc_base:"1f1e8-1f1eb",uc_output:"1f1e8-1f1eb",uc_match:"1f1e8-1f1eb",uc_greedy:"1f1e8-1f1eb",shortnames:[":cf:"],category:"flags"},":flag_cg:":{uc_base:"1f1e8-1f1ec",uc_output:"1f1e8-1f1ec",uc_match:"1f1e8-1f1ec",uc_greedy:"1f1e8-1f1ec",shortnames:[":cg:"],category:"flags"},":flag_ch:":{uc_base:"1f1e8-1f1ed",uc_output:"1f1e8-1f1ed",uc_match:"1f1e8-1f1ed",uc_greedy:"1f1e8-1f1ed",shortnames:[":ch:"],category:"flags"},":flag_ci:":{uc_base:"1f1e8-1f1ee",uc_output:"1f1e8-1f1ee",uc_match:"1f1e8-1f1ee",uc_greedy:"1f1e8-1f1ee",shortnames:[":ci:"],category:"flags"},":flag_ck:":{uc_base:"1f1e8-1f1f0",uc_output:"1f1e8-1f1f0",uc_match:"1f1e8-1f1f0",uc_greedy:"1f1e8-1f1f0",shortnames:[":ck:"],category:"flags"},":flag_cl:":{uc_base:"1f1e8-1f1f1",uc_output:"1f1e8-1f1f1",uc_match:"1f1e8-1f1f1",uc_greedy:"1f1e8-1f1f1",shortnames:[":chile:"],category:"flags"},":flag_cm:":{uc_base:"1f1e8-1f1f2",uc_output:"1f1e8-1f1f2",uc_match:"1f1e8-1f1f2",uc_greedy:"1f1e8-1f1f2",shortnames:[":cm:"],category:"flags"},":flag_cn:":{uc_base:"1f1e8-1f1f3",uc_output:"1f1e8-1f1f3",uc_match:"1f1e8-1f1f3",uc_greedy:"1f1e8-1f1f3",shortnames:[":cn:"],category:"flags"},":flag_co:":{uc_base:"1f1e8-1f1f4",uc_output:"1f1e8-1f1f4",uc_match:"1f1e8-1f1f4",uc_greedy:"1f1e8-1f1f4",shortnames:[":co:"],category:"flags"},":flag_cp:":{uc_base:"1f1e8-1f1f5",uc_output:"1f1e8-1f1f5",uc_match:"1f1e8-1f1f5",uc_greedy:"1f1e8-1f1f5",shortnames:[":cp:"],category:"flags"},":flag_cr:":{uc_base:"1f1e8-1f1f7",uc_output:"1f1e8-1f1f7",uc_match:"1f1e8-1f1f7",uc_greedy:"1f1e8-1f1f7",shortnames:[":cr:"],category:"flags"},":flag_cu:":{uc_base:"1f1e8-1f1fa",uc_output:"1f1e8-1f1fa",uc_match:"1f1e8-1f1fa",uc_greedy:"1f1e8-1f1fa",shortnames:[":cu:"],category:"flags"},":flag_cv:":{uc_base:"1f1e8-1f1fb",uc_output:"1f1e8-1f1fb",uc_match:"1f1e8-1f1fb",uc_greedy:"1f1e8-1f1fb",shortnames:[":cv:"],category:"flags"},":flag_cw:":{uc_base:"1f1e8-1f1fc",uc_output:"1f1e8-1f1fc",uc_match:"1f1e8-1f1fc",uc_greedy:"1f1e8-1f1fc",shortnames:[":cw:"],category:"flags"},":flag_cx:":{uc_base:"1f1e8-1f1fd",uc_output:"1f1e8-1f1fd",uc_match:"1f1e8-1f1fd",uc_greedy:"1f1e8-1f1fd",shortnames:[":cx:"],category:"flags"},":flag_cy:":{uc_base:"1f1e8-1f1fe",uc_output:"1f1e8-1f1fe",uc_match:"1f1e8-1f1fe",uc_greedy:"1f1e8-1f1fe",shortnames:[":cy:"],category:"flags"},":flag_cz:":{uc_base:"1f1e8-1f1ff",uc_output:"1f1e8-1f1ff",uc_match:"1f1e8-1f1ff",uc_greedy:"1f1e8-1f1ff",shortnames:[":cz:"],category:"flags"},":flag_de:":{uc_base:"1f1e9-1f1ea",uc_output:"1f1e9-1f1ea",uc_match:"1f1e9-1f1ea",uc_greedy:"1f1e9-1f1ea",shortnames:[":de:"],category:"flags"},":flag_dg:":{uc_base:"1f1e9-1f1ec",uc_output:"1f1e9-1f1ec",uc_match:"1f1e9-1f1ec",uc_greedy:"1f1e9-1f1ec",shortnames:[":dg:"],category:"flags"},":flag_dj:":{uc_base:"1f1e9-1f1ef",uc_output:"1f1e9-1f1ef",uc_match:"1f1e9-1f1ef",uc_greedy:"1f1e9-1f1ef",shortnames:[":dj:"],category:"flags"},":flag_dk:":{uc_base:"1f1e9-1f1f0",uc_output:"1f1e9-1f1f0",uc_match:"1f1e9-1f1f0",uc_greedy:"1f1e9-1f1f0",shortnames:[":dk:"],category:"flags"},":flag_dm:":{uc_base:"1f1e9-1f1f2",uc_output:"1f1e9-1f1f2",uc_match:"1f1e9-1f1f2",uc_greedy:"1f1e9-1f1f2",shortnames:[":dm:"],category:"flags"},":flag_do:":{uc_base:"1f1e9-1f1f4",uc_output:"1f1e9-1f1f4",uc_match:"1f1e9-1f1f4",uc_greedy:"1f1e9-1f1f4",shortnames:[":do:"],category:"flags"},":flag_dz:":{uc_base:"1f1e9-1f1ff",uc_output:"1f1e9-1f1ff",uc_match:"1f1e9-1f1ff",uc_greedy:"1f1e9-1f1ff",shortnames:[":dz:"],category:"flags"},":flag_ea:":{uc_base:"1f1ea-1f1e6",uc_output:"1f1ea-1f1e6",uc_match:"1f1ea-1f1e6",uc_greedy:"1f1ea-1f1e6",shortnames:[":ea:"],category:"flags"},":flag_ec:":{uc_base:"1f1ea-1f1e8",uc_output:"1f1ea-1f1e8",uc_match:"1f1ea-1f1e8",uc_greedy:"1f1ea-1f1e8",shortnames:[":ec:"],category:"flags"},":flag_ee:":{uc_base:"1f1ea-1f1ea",uc_output:"1f1ea-1f1ea",uc_match:"1f1ea-1f1ea",uc_greedy:"1f1ea-1f1ea",shortnames:[":ee:"],category:"flags"},":flag_eg:":{uc_base:"1f1ea-1f1ec",uc_output:"1f1ea-1f1ec",uc_match:"1f1ea-1f1ec",uc_greedy:"1f1ea-1f1ec",shortnames:[":eg:"],category:"flags"},":flag_eh:":{uc_base:"1f1ea-1f1ed",uc_output:"1f1ea-1f1ed",uc_match:"1f1ea-1f1ed",uc_greedy:"1f1ea-1f1ed",shortnames:[":eh:"],category:"flags"},":flag_er:":{uc_base:"1f1ea-1f1f7",uc_output:"1f1ea-1f1f7",uc_match:"1f1ea-1f1f7",uc_greedy:"1f1ea-1f1f7",shortnames:[":er:"],category:"flags"},":flag_es:":{uc_base:"1f1ea-1f1f8",uc_output:"1f1ea-1f1f8",uc_match:"1f1ea-1f1f8",uc_greedy:"1f1ea-1f1f8",shortnames:[":es:"],category:"flags"},":flag_et:":{uc_base:"1f1ea-1f1f9",uc_output:"1f1ea-1f1f9",uc_match:"1f1ea-1f1f9",uc_greedy:"1f1ea-1f1f9",shortnames:[":et:"],category:"flags"},":flag_eu:":{uc_base:"1f1ea-1f1fa",uc_output:"1f1ea-1f1fa",uc_match:"1f1ea-1f1fa",uc_greedy:"1f1ea-1f1fa",shortnames:[":eu:"],category:"flags"},":flag_fi:":{uc_base:"1f1eb-1f1ee",uc_output:"1f1eb-1f1ee",uc_match:"1f1eb-1f1ee",uc_greedy:"1f1eb-1f1ee",shortnames:[":fi:"],category:"flags"},":flag_fj:":{uc_base:"1f1eb-1f1ef",uc_output:"1f1eb-1f1ef",uc_match:"1f1eb-1f1ef",uc_greedy:"1f1eb-1f1ef",shortnames:[":fj:"],category:"flags"},":flag_fk:":{uc_base:"1f1eb-1f1f0",uc_output:"1f1eb-1f1f0",uc_match:"1f1eb-1f1f0",uc_greedy:"1f1eb-1f1f0",shortnames:[":fk:"],category:"flags"},":flag_fm:":{uc_base:"1f1eb-1f1f2",uc_output:"1f1eb-1f1f2",uc_match:"1f1eb-1f1f2",uc_greedy:"1f1eb-1f1f2",shortnames:[":fm:"],category:"flags"},":flag_fo:":{uc_base:"1f1eb-1f1f4",uc_output:"1f1eb-1f1f4",uc_match:"1f1eb-1f1f4",uc_greedy:"1f1eb-1f1f4",shortnames:[":fo:"],category:"flags"},":flag_fr:":{uc_base:"1f1eb-1f1f7",uc_output:"1f1eb-1f1f7",uc_match:"1f1eb-1f1f7",uc_greedy:"1f1eb-1f1f7",shortnames:[":fr:"],category:"flags"},":flag_ga:":{uc_base:"1f1ec-1f1e6",uc_output:"1f1ec-1f1e6",uc_match:"1f1ec-1f1e6",uc_greedy:"1f1ec-1f1e6",shortnames:[":ga:"],category:"flags"},":flag_gb:":{uc_base:"1f1ec-1f1e7",uc_output:"1f1ec-1f1e7",uc_match:"1f1ec-1f1e7",uc_greedy:"1f1ec-1f1e7",shortnames:[":gb:"],category:"flags"},":flag_gd:":{uc_base:"1f1ec-1f1e9",uc_output:"1f1ec-1f1e9",uc_match:"1f1ec-1f1e9",uc_greedy:"1f1ec-1f1e9",shortnames:[":gd:"],category:"flags"},":flag_ge:":{uc_base:"1f1ec-1f1ea",uc_output:"1f1ec-1f1ea",uc_match:"1f1ec-1f1ea",uc_greedy:"1f1ec-1f1ea",shortnames:[":ge:"],category:"flags"},":flag_gf:":{uc_base:"1f1ec-1f1eb",uc_output:"1f1ec-1f1eb",uc_match:"1f1ec-1f1eb",uc_greedy:"1f1ec-1f1eb",shortnames:[":gf:"],category:"flags"},":flag_gg:":{uc_base:"1f1ec-1f1ec",uc_output:"1f1ec-1f1ec",uc_match:"1f1ec-1f1ec",uc_greedy:"1f1ec-1f1ec",shortnames:[":gg:"],category:"flags"},":flag_gh:":{uc_base:"1f1ec-1f1ed",uc_output:"1f1ec-1f1ed",uc_match:"1f1ec-1f1ed",uc_greedy:"1f1ec-1f1ed",shortnames:[":gh:"],category:"flags"},":flag_gi:":{uc_base:"1f1ec-1f1ee",uc_output:"1f1ec-1f1ee",uc_match:"1f1ec-1f1ee",uc_greedy:"1f1ec-1f1ee",shortnames:[":gi:"],category:"flags"},":flag_gl:":{uc_base:"1f1ec-1f1f1",uc_output:"1f1ec-1f1f1",uc_match:"1f1ec-1f1f1",uc_greedy:"1f1ec-1f1f1",shortnames:[":gl:"],category:"flags"},":flag_gm:":{uc_base:"1f1ec-1f1f2",uc_output:"1f1ec-1f1f2",uc_match:"1f1ec-1f1f2",uc_greedy:"1f1ec-1f1f2",shortnames:[":gm:"],category:"flags"},":flag_gn:":{uc_base:"1f1ec-1f1f3",uc_output:"1f1ec-1f1f3",uc_match:"1f1ec-1f1f3",uc_greedy:"1f1ec-1f1f3",shortnames:[":gn:"],category:"flags"},":flag_gp:":{uc_base:"1f1ec-1f1f5",uc_output:"1f1ec-1f1f5",uc_match:"1f1ec-1f1f5",uc_greedy:"1f1ec-1f1f5",shortnames:[":gp:"],category:"flags"},":flag_gq:":{uc_base:"1f1ec-1f1f6",uc_output:"1f1ec-1f1f6",uc_match:"1f1ec-1f1f6",uc_greedy:"1f1ec-1f1f6",shortnames:[":gq:"],category:"flags"},":flag_gr:":{uc_base:"1f1ec-1f1f7",uc_output:"1f1ec-1f1f7",uc_match:"1f1ec-1f1f7",uc_greedy:"1f1ec-1f1f7",shortnames:[":gr:"],category:"flags"},":flag_gs:":{uc_base:"1f1ec-1f1f8",uc_output:"1f1ec-1f1f8",uc_match:"1f1ec-1f1f8",uc_greedy:"1f1ec-1f1f8",shortnames:[":gs:"],category:"flags"},":flag_gt:":{uc_base:"1f1ec-1f1f9",uc_output:"1f1ec-1f1f9",uc_match:"1f1ec-1f1f9",uc_greedy:"1f1ec-1f1f9",shortnames:[":gt:"],category:"flags"},":flag_gu:":{uc_base:"1f1ec-1f1fa",uc_output:"1f1ec-1f1fa",uc_match:"1f1ec-1f1fa",uc_greedy:"1f1ec-1f1fa",shortnames:[":gu:"],category:"flags"},":flag_gw:":{uc_base:"1f1ec-1f1fc",uc_output:"1f1ec-1f1fc",uc_match:"1f1ec-1f1fc",uc_greedy:"1f1ec-1f1fc",shortnames:[":gw:"],category:"flags"},":flag_gy:":{uc_base:"1f1ec-1f1fe",uc_output:"1f1ec-1f1fe",uc_match:"1f1ec-1f1fe",uc_greedy:"1f1ec-1f1fe",shortnames:[":gy:"],category:"flags"},":flag_hk:":{uc_base:"1f1ed-1f1f0",uc_output:"1f1ed-1f1f0",uc_match:"1f1ed-1f1f0",uc_greedy:"1f1ed-1f1f0",shortnames:[":hk:"],category:"flags"},":flag_hm:":{uc_base:"1f1ed-1f1f2",uc_output:"1f1ed-1f1f2",uc_match:"1f1ed-1f1f2",uc_greedy:"1f1ed-1f1f2",shortnames:[":hm:"],category:"flags"},":flag_hn:":{uc_base:"1f1ed-1f1f3",uc_output:"1f1ed-1f1f3",uc_match:"1f1ed-1f1f3",uc_greedy:"1f1ed-1f1f3",shortnames:[":hn:"],category:"flags"},":flag_hr:":{uc_base:"1f1ed-1f1f7",uc_output:"1f1ed-1f1f7",uc_match:"1f1ed-1f1f7",uc_greedy:"1f1ed-1f1f7",shortnames:[":hr:"],category:"flags"},":flag_ht:":{uc_base:"1f1ed-1f1f9",uc_output:"1f1ed-1f1f9",uc_match:"1f1ed-1f1f9",uc_greedy:"1f1ed-1f1f9",shortnames:[":ht:"],category:"flags"},":flag_hu:":{uc_base:"1f1ed-1f1fa",uc_output:"1f1ed-1f1fa",uc_match:"1f1ed-1f1fa",uc_greedy:"1f1ed-1f1fa",shortnames:[":hu:"],category:"flags"},":flag_ic:":{uc_base:"1f1ee-1f1e8",uc_output:"1f1ee-1f1e8",uc_match:"1f1ee-1f1e8",uc_greedy:"1f1ee-1f1e8",shortnames:[":ic:"],category:"flags"},":flag_id:":{uc_base:"1f1ee-1f1e9",uc_output:"1f1ee-1f1e9",uc_match:"1f1ee-1f1e9",uc_greedy:"1f1ee-1f1e9",shortnames:[":indonesia:"],category:"flags"},":flag_ie:":{uc_base:"1f1ee-1f1ea",uc_output:"1f1ee-1f1ea",uc_match:"1f1ee-1f1ea",uc_greedy:"1f1ee-1f1ea",shortnames:[":ie:"],category:"flags"},":flag_il:":{uc_base:"1f1ee-1f1f1",uc_output:"1f1ee-1f1f1",uc_match:"1f1ee-1f1f1",uc_greedy:"1f1ee-1f1f1",shortnames:[":il:"],category:"flags"},":flag_im:":{uc_base:"1f1ee-1f1f2",uc_output:"1f1ee-1f1f2",uc_match:"1f1ee-1f1f2",uc_greedy:"1f1ee-1f1f2",shortnames:[":im:"],category:"flags"},":flag_in:":{uc_base:"1f1ee-1f1f3",uc_output:"1f1ee-1f1f3",uc_match:"1f1ee-1f1f3",uc_greedy:"1f1ee-1f1f3",shortnames:[":in:"],category:"flags"},":flag_io:":{uc_base:"1f1ee-1f1f4",uc_output:"1f1ee-1f1f4",uc_match:"1f1ee-1f1f4",uc_greedy:"1f1ee-1f1f4",shortnames:[":io:"],category:"flags"},":flag_iq:":{uc_base:"1f1ee-1f1f6",uc_output:"1f1ee-1f1f6",uc_match:"1f1ee-1f1f6",uc_greedy:"1f1ee-1f1f6",shortnames:[":iq:"],category:"flags"},":flag_ir:":{uc_base:"1f1ee-1f1f7",uc_output:"1f1ee-1f1f7",uc_match:"1f1ee-1f1f7",uc_greedy:"1f1ee-1f1f7",shortnames:[":ir:"],category:"flags"},":flag_is:":{uc_base:"1f1ee-1f1f8",uc_output:"1f1ee-1f1f8",uc_match:"1f1ee-1f1f8",uc_greedy:"1f1ee-1f1f8",shortnames:[":is:"],category:"flags"},":flag_it:":{uc_base:"1f1ee-1f1f9",uc_output:"1f1ee-1f1f9",uc_match:"1f1ee-1f1f9",uc_greedy:"1f1ee-1f1f9",shortnames:[":it:"],category:"flags"},":flag_je:":{uc_base:"1f1ef-1f1ea",uc_output:"1f1ef-1f1ea",uc_match:"1f1ef-1f1ea",uc_greedy:"1f1ef-1f1ea",shortnames:[":je:"],category:"flags"},":flag_jm:":{uc_base:"1f1ef-1f1f2",uc_output:"1f1ef-1f1f2",uc_match:"1f1ef-1f1f2",uc_greedy:"1f1ef-1f1f2",shortnames:[":jm:"],category:"flags"},":flag_jo:":{uc_base:"1f1ef-1f1f4",uc_output:"1f1ef-1f1f4",uc_match:"1f1ef-1f1f4",uc_greedy:"1f1ef-1f1f4",shortnames:[":jo:"],category:"flags"},":flag_jp:":{uc_base:"1f1ef-1f1f5",uc_output:"1f1ef-1f1f5",uc_match:"1f1ef-1f1f5",uc_greedy:"1f1ef-1f1f5",shortnames:[":jp:"],category:"flags"},":flag_ke:":{uc_base:"1f1f0-1f1ea",uc_output:"1f1f0-1f1ea",uc_match:"1f1f0-1f1ea",uc_greedy:"1f1f0-1f1ea",shortnames:[":ke:"],category:"flags"},":flag_kg:":{uc_base:"1f1f0-1f1ec",uc_output:"1f1f0-1f1ec",uc_match:"1f1f0-1f1ec",uc_greedy:"1f1f0-1f1ec",shortnames:[":kg:"],category:"flags"},":flag_kh:":{uc_base:"1f1f0-1f1ed",uc_output:"1f1f0-1f1ed",uc_match:"1f1f0-1f1ed",uc_greedy:"1f1f0-1f1ed",shortnames:[":kh:"],category:"flags"},":flag_ki:":{uc_base:"1f1f0-1f1ee",uc_output:"1f1f0-1f1ee",uc_match:"1f1f0-1f1ee",uc_greedy:"1f1f0-1f1ee",shortnames:[":ki:"],category:"flags"},":flag_km:":{uc_base:"1f1f0-1f1f2",uc_output:"1f1f0-1f1f2",uc_match:"1f1f0-1f1f2",uc_greedy:"1f1f0-1f1f2",shortnames:[":km:"],category:"flags"},":flag_kn:":{uc_base:"1f1f0-1f1f3",uc_output:"1f1f0-1f1f3",uc_match:"1f1f0-1f1f3",uc_greedy:"1f1f0-1f1f3",shortnames:[":kn:"],category:"flags"},":flag_kp:":{uc_base:"1f1f0-1f1f5",uc_output:"1f1f0-1f1f5",uc_match:"1f1f0-1f1f5",uc_greedy:"1f1f0-1f1f5",shortnames:[":kp:"],category:"flags"},":flag_kr:":{uc_base:"1f1f0-1f1f7",uc_output:"1f1f0-1f1f7",uc_match:"1f1f0-1f1f7",uc_greedy:"1f1f0-1f1f7",shortnames:[":kr:"],category:"flags"},":flag_kw:":{uc_base:"1f1f0-1f1fc",uc_output:"1f1f0-1f1fc",uc_match:"1f1f0-1f1fc",uc_greedy:"1f1f0-1f1fc",shortnames:[":kw:"],category:"flags"},":flag_ky:":{uc_base:"1f1f0-1f1fe",uc_output:"1f1f0-1f1fe",uc_match:"1f1f0-1f1fe",uc_greedy:"1f1f0-1f1fe",shortnames:[":ky:"],category:"flags"},":flag_kz:":{uc_base:"1f1f0-1f1ff",uc_output:"1f1f0-1f1ff",uc_match:"1f1f0-1f1ff",uc_greedy:"1f1f0-1f1ff",shortnames:[":kz:"],category:"flags"},":flag_la:":{uc_base:"1f1f1-1f1e6",uc_output:"1f1f1-1f1e6",uc_match:"1f1f1-1f1e6",uc_greedy:"1f1f1-1f1e6",shortnames:[":la:"],category:"flags"},":flag_lb:":{uc_base:"1f1f1-1f1e7",uc_output:"1f1f1-1f1e7",uc_match:"1f1f1-1f1e7",uc_greedy:"1f1f1-1f1e7",shortnames:[":lb:"],category:"flags"},":flag_lc:":{uc_base:"1f1f1-1f1e8",uc_output:"1f1f1-1f1e8",uc_match:"1f1f1-1f1e8",uc_greedy:"1f1f1-1f1e8",shortnames:[":lc:"],category:"flags"},":flag_li:":{uc_base:"1f1f1-1f1ee",uc_output:"1f1f1-1f1ee",uc_match:"1f1f1-1f1ee",uc_greedy:"1f1f1-1f1ee",shortnames:[":li:"],category:"flags"},":flag_lk:":{uc_base:"1f1f1-1f1f0",uc_output:"1f1f1-1f1f0",uc_match:"1f1f1-1f1f0",uc_greedy:"1f1f1-1f1f0",shortnames:[":lk:"],category:"flags"},":flag_lr:":{uc_base:"1f1f1-1f1f7",uc_output:"1f1f1-1f1f7",uc_match:"1f1f1-1f1f7",uc_greedy:"1f1f1-1f1f7",shortnames:[":lr:"],category:"flags"},":flag_ls:":{uc_base:"1f1f1-1f1f8",uc_output:"1f1f1-1f1f8",uc_match:"1f1f1-1f1f8",uc_greedy:"1f1f1-1f1f8",shortnames:[":ls:"],category:"flags"},":flag_lt:":{uc_base:"1f1f1-1f1f9",uc_output:"1f1f1-1f1f9",uc_match:"1f1f1-1f1f9",uc_greedy:"1f1f1-1f1f9",shortnames:[":lt:"],category:"flags"},":flag_lu:":{uc_base:"1f1f1-1f1fa",uc_output:"1f1f1-1f1fa",uc_match:"1f1f1-1f1fa",uc_greedy:"1f1f1-1f1fa",shortnames:[":lu:"],category:"flags"},":flag_lv:":{uc_base:"1f1f1-1f1fb",uc_output:"1f1f1-1f1fb",uc_match:"1f1f1-1f1fb",uc_greedy:"1f1f1-1f1fb",shortnames:[":lv:"],category:"flags"},":flag_ly:":{uc_base:"1f1f1-1f1fe",uc_output:"1f1f1-1f1fe",uc_match:"1f1f1-1f1fe",uc_greedy:"1f1f1-1f1fe",shortnames:[":ly:"],category:"flags"},":flag_ma:":{uc_base:"1f1f2-1f1e6",uc_output:"1f1f2-1f1e6",uc_match:"1f1f2-1f1e6",uc_greedy:"1f1f2-1f1e6",shortnames:[":ma:"],category:"flags"},":flag_mc:":{uc_base:"1f1f2-1f1e8",uc_output:"1f1f2-1f1e8",uc_match:"1f1f2-1f1e8",uc_greedy:"1f1f2-1f1e8",shortnames:[":mc:"],category:"flags"},":flag_md:":{uc_base:"1f1f2-1f1e9",uc_output:"1f1f2-1f1e9",uc_match:"1f1f2-1f1e9",uc_greedy:"1f1f2-1f1e9",shortnames:[":md:"],category:"flags"},":flag_me:":{uc_base:"1f1f2-1f1ea",uc_output:"1f1f2-1f1ea",uc_match:"1f1f2-1f1ea",uc_greedy:"1f1f2-1f1ea",shortnames:[":me:"],category:"flags"},":flag_mf:":{uc_base:"1f1f2-1f1eb",uc_output:"1f1f2-1f1eb",uc_match:"1f1f2-1f1eb",uc_greedy:"1f1f2-1f1eb",shortnames:[":mf:"],category:"flags"},":flag_mg:":{uc_base:"1f1f2-1f1ec",uc_output:"1f1f2-1f1ec",uc_match:"1f1f2-1f1ec",uc_greedy:"1f1f2-1f1ec",shortnames:[":mg:"],category:"flags"},":flag_mh:":{uc_base:"1f1f2-1f1ed",uc_output:"1f1f2-1f1ed",uc_match:"1f1f2-1f1ed",uc_greedy:"1f1f2-1f1ed",shortnames:[":mh:"],category:"flags"},":flag_mk:":{uc_base:"1f1f2-1f1f0",uc_output:"1f1f2-1f1f0",uc_match:"1f1f2-1f1f0",uc_greedy:"1f1f2-1f1f0",shortnames:[":mk:"],category:"flags"},":flag_ml:":{uc_base:"1f1f2-1f1f1",uc_output:"1f1f2-1f1f1",uc_match:"1f1f2-1f1f1",uc_greedy:"1f1f2-1f1f1",shortnames:[":ml:"],category:"flags"},":flag_mm:":{uc_base:"1f1f2-1f1f2",uc_output:"1f1f2-1f1f2",uc_match:"1f1f2-1f1f2",uc_greedy:"1f1f2-1f1f2",shortnames:[":mm:"],category:"flags"},":flag_mn:":{uc_base:"1f1f2-1f1f3",uc_output:"1f1f2-1f1f3",uc_match:"1f1f2-1f1f3",uc_greedy:"1f1f2-1f1f3",shortnames:[":mn:"],category:"flags"},":flag_mo:":{uc_base:"1f1f2-1f1f4",uc_output:"1f1f2-1f1f4",uc_match:"1f1f2-1f1f4",uc_greedy:"1f1f2-1f1f4",shortnames:[":mo:"],category:"flags"},":flag_mp:":{uc_base:"1f1f2-1f1f5",uc_output:"1f1f2-1f1f5",uc_match:"1f1f2-1f1f5",uc_greedy:"1f1f2-1f1f5",shortnames:[":mp:"],category:"flags"},":flag_mq:":{uc_base:"1f1f2-1f1f6",uc_output:"1f1f2-1f1f6",uc_match:"1f1f2-1f1f6",uc_greedy:"1f1f2-1f1f6",shortnames:[":mq:"],category:"flags"},":flag_mr:":{uc_base:"1f1f2-1f1f7",uc_output:"1f1f2-1f1f7",uc_match:"1f1f2-1f1f7",uc_greedy:"1f1f2-1f1f7",shortnames:[":mr:"],category:"flags"},":flag_ms:":{uc_base:"1f1f2-1f1f8",uc_output:"1f1f2-1f1f8",uc_match:"1f1f2-1f1f8",uc_greedy:"1f1f2-1f1f8",shortnames:[":ms:"],category:"flags"},":flag_mt:":{uc_base:"1f1f2-1f1f9",uc_output:"1f1f2-1f1f9",uc_match:"1f1f2-1f1f9",uc_greedy:"1f1f2-1f1f9",shortnames:[":mt:"],category:"flags"},":flag_mu:":{uc_base:"1f1f2-1f1fa",uc_output:"1f1f2-1f1fa",uc_match:"1f1f2-1f1fa",uc_greedy:"1f1f2-1f1fa",shortnames:[":mu:"],category:"flags"},":flag_mv:":{uc_base:"1f1f2-1f1fb",uc_output:"1f1f2-1f1fb",uc_match:"1f1f2-1f1fb",uc_greedy:"1f1f2-1f1fb",shortnames:[":mv:"],category:"flags"},":flag_mw:":{uc_base:"1f1f2-1f1fc",uc_output:"1f1f2-1f1fc",uc_match:"1f1f2-1f1fc",uc_greedy:"1f1f2-1f1fc",shortnames:[":mw:"],category:"flags"},":flag_mx:":{uc_base:"1f1f2-1f1fd",uc_output:"1f1f2-1f1fd",uc_match:"1f1f2-1f1fd",uc_greedy:"1f1f2-1f1fd",shortnames:[":mx:"],category:"flags"},":flag_my:":{uc_base:"1f1f2-1f1fe",uc_output:"1f1f2-1f1fe",uc_match:"1f1f2-1f1fe",uc_greedy:"1f1f2-1f1fe",shortnames:[":my:"],category:"flags"},":flag_mz:":{uc_base:"1f1f2-1f1ff",uc_output:"1f1f2-1f1ff",uc_match:"1f1f2-1f1ff",uc_greedy:"1f1f2-1f1ff",shortnames:[":mz:"],category:"flags"},":flag_na:":{uc_base:"1f1f3-1f1e6",uc_output:"1f1f3-1f1e6",uc_match:"1f1f3-1f1e6",uc_greedy:"1f1f3-1f1e6",shortnames:[":na:"],category:"flags"},":flag_nc:":{uc_base:"1f1f3-1f1e8",uc_output:"1f1f3-1f1e8",uc_match:"1f1f3-1f1e8",uc_greedy:"1f1f3-1f1e8",shortnames:[":nc:"],category:"flags"},":flag_ne:":{uc_base:"1f1f3-1f1ea",uc_output:"1f1f3-1f1ea",uc_match:"1f1f3-1f1ea",uc_greedy:"1f1f3-1f1ea",shortnames:[":ne:"],category:"flags"},":flag_nf:":{uc_base:"1f1f3-1f1eb",uc_output:"1f1f3-1f1eb",uc_match:"1f1f3-1f1eb",uc_greedy:"1f1f3-1f1eb",shortnames:[":nf:"],category:"flags"},":flag_ng:":{uc_base:"1f1f3-1f1ec",uc_output:"1f1f3-1f1ec",uc_match:"1f1f3-1f1ec",uc_greedy:"1f1f3-1f1ec",shortnames:[":nigeria:"],category:"flags"},":flag_ni:":{uc_base:"1f1f3-1f1ee",uc_output:"1f1f3-1f1ee",uc_match:"1f1f3-1f1ee",uc_greedy:"1f1f3-1f1ee",shortnames:[":ni:"],category:"flags"},":flag_nl:":{uc_base:"1f1f3-1f1f1",uc_output:"1f1f3-1f1f1",uc_match:"1f1f3-1f1f1",uc_greedy:"1f1f3-1f1f1",shortnames:[":nl:"],category:"flags"},":flag_no:":{uc_base:"1f1f3-1f1f4",uc_output:"1f1f3-1f1f4",uc_match:"1f1f3-1f1f4",uc_greedy:"1f1f3-1f1f4",shortnames:[":no:"],category:"flags"},":flag_np:":{uc_base:"1f1f3-1f1f5",uc_output:"1f1f3-1f1f5",uc_match:"1f1f3-1f1f5",uc_greedy:"1f1f3-1f1f5",shortnames:[":np:"],category:"flags"},":flag_nr:":{uc_base:"1f1f3-1f1f7",uc_output:"1f1f3-1f1f7",uc_match:"1f1f3-1f1f7",uc_greedy:"1f1f3-1f1f7",shortnames:[":nr:"],category:"flags"},":flag_nu:":{uc_base:"1f1f3-1f1fa",uc_output:"1f1f3-1f1fa",uc_match:"1f1f3-1f1fa",uc_greedy:"1f1f3-1f1fa",shortnames:[":nu:"],category:"flags"},":flag_nz:":{uc_base:"1f1f3-1f1ff",uc_output:"1f1f3-1f1ff",uc_match:"1f1f3-1f1ff",uc_greedy:"1f1f3-1f1ff",shortnames:[":nz:"],category:"flags"},":flag_om:":{uc_base:"1f1f4-1f1f2",uc_output:"1f1f4-1f1f2",uc_match:"1f1f4-1f1f2",uc_greedy:"1f1f4-1f1f2",shortnames:[":om:"],category:"flags"},":flag_pa:":{uc_base:"1f1f5-1f1e6",uc_output:"1f1f5-1f1e6",uc_match:"1f1f5-1f1e6",uc_greedy:"1f1f5-1f1e6",shortnames:[":pa:"],category:"flags"},":flag_pe:":{uc_base:"1f1f5-1f1ea",uc_output:"1f1f5-1f1ea",uc_match:"1f1f5-1f1ea",uc_greedy:"1f1f5-1f1ea",shortnames:[":pe:"],category:"flags"},":flag_pf:":{uc_base:"1f1f5-1f1eb",uc_output:"1f1f5-1f1eb",uc_match:"1f1f5-1f1eb",uc_greedy:"1f1f5-1f1eb",shortnames:[":pf:"],category:"flags"},":flag_pg:":{uc_base:"1f1f5-1f1ec",uc_output:"1f1f5-1f1ec",uc_match:"1f1f5-1f1ec",uc_greedy:"1f1f5-1f1ec",shortnames:[":pg:"],category:"flags"},":flag_ph:":{uc_base:"1f1f5-1f1ed",uc_output:"1f1f5-1f1ed",uc_match:"1f1f5-1f1ed",uc_greedy:"1f1f5-1f1ed",shortnames:[":ph:"],category:"flags"},":flag_pk:":{uc_base:"1f1f5-1f1f0",uc_output:"1f1f5-1f1f0",uc_match:"1f1f5-1f1f0",uc_greedy:"1f1f5-1f1f0",shortnames:[":pk:"],category:"flags"},":flag_pl:":{uc_base:"1f1f5-1f1f1",uc_output:"1f1f5-1f1f1",uc_match:"1f1f5-1f1f1",uc_greedy:"1f1f5-1f1f1",shortnames:[":pl:"],category:"flags"},":flag_pm:":{uc_base:"1f1f5-1f1f2",uc_output:"1f1f5-1f1f2",uc_match:"1f1f5-1f1f2",uc_greedy:"1f1f5-1f1f2",shortnames:[":pm:"],category:"flags"},":flag_pn:":{uc_base:"1f1f5-1f1f3",uc_output:"1f1f5-1f1f3",uc_match:"1f1f5-1f1f3",uc_greedy:"1f1f5-1f1f3",shortnames:[":pn:"],category:"flags"},":flag_pr:":{uc_base:"1f1f5-1f1f7",uc_output:"1f1f5-1f1f7",uc_match:"1f1f5-1f1f7",uc_greedy:"1f1f5-1f1f7",shortnames:[":pr:"],category:"flags"},":flag_ps:":{uc_base:"1f1f5-1f1f8",uc_output:"1f1f5-1f1f8",uc_match:"1f1f5-1f1f8",uc_greedy:"1f1f5-1f1f8",shortnames:[":ps:"],category:"flags"},":flag_pt:":{uc_base:"1f1f5-1f1f9",uc_output:"1f1f5-1f1f9",uc_match:"1f1f5-1f1f9",uc_greedy:"1f1f5-1f1f9",shortnames:[":pt:"],category:"flags"},":flag_pw:":{uc_base:"1f1f5-1f1fc",uc_output:"1f1f5-1f1fc",uc_match:"1f1f5-1f1fc",uc_greedy:"1f1f5-1f1fc",shortnames:[":pw:"],category:"flags"},":flag_py:":{uc_base:"1f1f5-1f1fe",uc_output:"1f1f5-1f1fe",uc_match:"1f1f5-1f1fe",uc_greedy:"1f1f5-1f1fe",shortnames:[":py:"],category:"flags"},":flag_qa:":{uc_base:"1f1f6-1f1e6",uc_output:"1f1f6-1f1e6",uc_match:"1f1f6-1f1e6",uc_greedy:"1f1f6-1f1e6",shortnames:[":qa:"],category:"flags"},":flag_re:":{uc_base:"1f1f7-1f1ea",uc_output:"1f1f7-1f1ea",uc_match:"1f1f7-1f1ea",uc_greedy:"1f1f7-1f1ea",shortnames:[":re:"],category:"flags"},":flag_ro:":{uc_base:"1f1f7-1f1f4",uc_output:"1f1f7-1f1f4",uc_match:"1f1f7-1f1f4",uc_greedy:"1f1f7-1f1f4",shortnames:[":ro:"],category:"flags"},":flag_rs:":{uc_base:"1f1f7-1f1f8",uc_output:"1f1f7-1f1f8",uc_match:"1f1f7-1f1f8",uc_greedy:"1f1f7-1f1f8",shortnames:[":rs:"],category:"flags"},":flag_ru:":{uc_base:"1f1f7-1f1fa",uc_output:"1f1f7-1f1fa",uc_match:"1f1f7-1f1fa",uc_greedy:"1f1f7-1f1fa",shortnames:[":ru:"],category:"flags"},":flag_rw:":{uc_base:"1f1f7-1f1fc",uc_output:"1f1f7-1f1fc",uc_match:"1f1f7-1f1fc",uc_greedy:"1f1f7-1f1fc",shortnames:[":rw:"],category:"flags"},":flag_sa:":{uc_base:"1f1f8-1f1e6",uc_output:"1f1f8-1f1e6",uc_match:"1f1f8-1f1e6",uc_greedy:"1f1f8-1f1e6",shortnames:[":saudiarabia:",":saudi:"],category:"flags"},":flag_sb:":{uc_base:"1f1f8-1f1e7",uc_output:"1f1f8-1f1e7",uc_match:"1f1f8-1f1e7",uc_greedy:"1f1f8-1f1e7",shortnames:[":sb:"],category:"flags"},":flag_sc:":{uc_base:"1f1f8-1f1e8",uc_output:"1f1f8-1f1e8",uc_match:"1f1f8-1f1e8",uc_greedy:"1f1f8-1f1e8",shortnames:[":sc:"],category:"flags"},":flag_sd:":{uc_base:"1f1f8-1f1e9",uc_output:"1f1f8-1f1e9",uc_match:"1f1f8-1f1e9",uc_greedy:"1f1f8-1f1e9",shortnames:[":sd:"],category:"flags"},":flag_se:":{uc_base:"1f1f8-1f1ea",uc_output:"1f1f8-1f1ea",uc_match:"1f1f8-1f1ea",uc_greedy:"1f1f8-1f1ea",shortnames:[":se:"],category:"flags"},":flag_sg:":{uc_base:"1f1f8-1f1ec",uc_output:"1f1f8-1f1ec",uc_match:"1f1f8-1f1ec",uc_greedy:"1f1f8-1f1ec",shortnames:[":sg:"],category:"flags"},":flag_sh:":{uc_base:"1f1f8-1f1ed",uc_output:"1f1f8-1f1ed",uc_match:"1f1f8-1f1ed",uc_greedy:"1f1f8-1f1ed",shortnames:[":sh:"],category:"flags"},":flag_si:":{uc_base:"1f1f8-1f1ee",uc_output:"1f1f8-1f1ee",uc_match:"1f1f8-1f1ee",uc_greedy:"1f1f8-1f1ee",shortnames:[":si:"],category:"flags"},":flag_sj:":{uc_base:"1f1f8-1f1ef",uc_output:"1f1f8-1f1ef",uc_match:"1f1f8-1f1ef",uc_greedy:"1f1f8-1f1ef",shortnames:[":sj:"],category:"flags"},":flag_sk:":{uc_base:"1f1f8-1f1f0",uc_output:"1f1f8-1f1f0",uc_match:"1f1f8-1f1f0",uc_greedy:"1f1f8-1f1f0",shortnames:[":sk:"],category:"flags"},":flag_sl:":{uc_base:"1f1f8-1f1f1",uc_output:"1f1f8-1f1f1",uc_match:"1f1f8-1f1f1",uc_greedy:"1f1f8-1f1f1",shortnames:[":sl:"],category:"flags"},":flag_sm:":{uc_base:"1f1f8-1f1f2",uc_output:"1f1f8-1f1f2",uc_match:"1f1f8-1f1f2",uc_greedy:"1f1f8-1f1f2",shortnames:[":sm:"],category:"flags"},":flag_sn:":{uc_base:"1f1f8-1f1f3",uc_output:"1f1f8-1f1f3",uc_match:"1f1f8-1f1f3",uc_greedy:"1f1f8-1f1f3",shortnames:[":sn:"],category:"flags"},":flag_so:":{uc_base:"1f1f8-1f1f4",uc_output:"1f1f8-1f1f4",uc_match:"1f1f8-1f1f4",uc_greedy:"1f1f8-1f1f4",shortnames:[":so:"],category:"flags"},":flag_sr:":{uc_base:"1f1f8-1f1f7",uc_output:"1f1f8-1f1f7",uc_match:"1f1f8-1f1f7",uc_greedy:"1f1f8-1f1f7",shortnames:[":sr:"],category:"flags"},":flag_ss:":{uc_base:"1f1f8-1f1f8",uc_output:"1f1f8-1f1f8",uc_match:"1f1f8-1f1f8",uc_greedy:"1f1f8-1f1f8",shortnames:[":ss:"],category:"flags"},":flag_st:":{uc_base:"1f1f8-1f1f9",uc_output:"1f1f8-1f1f9",uc_match:"1f1f8-1f1f9",uc_greedy:"1f1f8-1f1f9",shortnames:[":st:"],category:"flags"},":flag_sv:":{uc_base:"1f1f8-1f1fb",uc_output:"1f1f8-1f1fb",uc_match:"1f1f8-1f1fb",uc_greedy:"1f1f8-1f1fb",shortnames:[":sv:"],category:"flags"},":flag_sx:":{uc_base:"1f1f8-1f1fd",uc_output:"1f1f8-1f1fd",uc_match:"1f1f8-1f1fd",uc_greedy:"1f1f8-1f1fd",shortnames:[":sx:"],category:"flags"},":flag_sy:":{uc_base:"1f1f8-1f1fe",uc_output:"1f1f8-1f1fe",uc_match:"1f1f8-1f1fe",uc_greedy:"1f1f8-1f1fe",shortnames:[":sy:"],category:"flags"},":flag_sz:":{uc_base:"1f1f8-1f1ff",uc_output:"1f1f8-1f1ff",uc_match:"1f1f8-1f1ff",uc_greedy:"1f1f8-1f1ff",shortnames:[":sz:"],category:"flags"},":flag_ta:":{uc_base:"1f1f9-1f1e6",uc_output:"1f1f9-1f1e6",uc_match:"1f1f9-1f1e6",uc_greedy:"1f1f9-1f1e6",shortnames:[":ta:"],category:"flags"},":flag_tc:":{uc_base:"1f1f9-1f1e8",uc_output:"1f1f9-1f1e8",uc_match:"1f1f9-1f1e8",uc_greedy:"1f1f9-1f1e8",shortnames:[":tc:"],category:"flags"},":flag_td:":{uc_base:"1f1f9-1f1e9",uc_output:"1f1f9-1f1e9",uc_match:"1f1f9-1f1e9",uc_greedy:"1f1f9-1f1e9",shortnames:[":td:"],category:"flags"},":flag_tf:":{uc_base:"1f1f9-1f1eb",uc_output:"1f1f9-1f1eb",uc_match:"1f1f9-1f1eb",uc_greedy:"1f1f9-1f1eb",shortnames:[":tf:"],category:"flags"},":flag_tg:":{uc_base:"1f1f9-1f1ec",uc_output:"1f1f9-1f1ec",uc_match:"1f1f9-1f1ec",uc_greedy:"1f1f9-1f1ec",shortnames:[":tg:"],category:"flags"},":flag_th:":{uc_base:"1f1f9-1f1ed",uc_output:"1f1f9-1f1ed",uc_match:"1f1f9-1f1ed",uc_greedy:"1f1f9-1f1ed",shortnames:[":th:"],category:"flags"},":flag_tj:":{uc_base:"1f1f9-1f1ef",uc_output:"1f1f9-1f1ef",uc_match:"1f1f9-1f1ef",uc_greedy:"1f1f9-1f1ef",shortnames:[":tj:"],category:"flags"},":flag_tk:":{uc_base:"1f1f9-1f1f0",uc_output:"1f1f9-1f1f0",uc_match:"1f1f9-1f1f0",uc_greedy:"1f1f9-1f1f0",shortnames:[":tk:"],category:"flags"},":flag_tl:":{uc_base:"1f1f9-1f1f1",uc_output:"1f1f9-1f1f1",uc_match:"1f1f9-1f1f1",uc_greedy:"1f1f9-1f1f1",shortnames:[":tl:"],category:"flags"},":flag_tm:":{uc_base:"1f1f9-1f1f2",uc_output:"1f1f9-1f1f2",uc_match:"1f1f9-1f1f2",uc_greedy:"1f1f9-1f1f2",shortnames:[":turkmenistan:"],category:"flags"},":flag_tn:":{uc_base:"1f1f9-1f1f3",uc_output:"1f1f9-1f1f3",uc_match:"1f1f9-1f1f3",uc_greedy:"1f1f9-1f1f3",shortnames:[":tn:"],category:"flags"},":flag_to:":{uc_base:"1f1f9-1f1f4",uc_output:"1f1f9-1f1f4",uc_match:"1f1f9-1f1f4",uc_greedy:"1f1f9-1f1f4",shortnames:[":to:"],category:"flags"},":flag_tr:":{uc_base:"1f1f9-1f1f7",uc_output:"1f1f9-1f1f7",uc_match:"1f1f9-1f1f7",uc_greedy:"1f1f9-1f1f7",shortnames:[":tr:"],category:"flags"},":flag_tt:":{uc_base:"1f1f9-1f1f9",uc_output:"1f1f9-1f1f9",uc_match:"1f1f9-1f1f9",uc_greedy:"1f1f9-1f1f9",shortnames:[":tt:"],category:"flags"},":flag_tv:":{uc_base:"1f1f9-1f1fb",uc_output:"1f1f9-1f1fb",uc_match:"1f1f9-1f1fb",uc_greedy:"1f1f9-1f1fb",shortnames:[":tuvalu:"],category:"flags"},":flag_tw:":{uc_base:"1f1f9-1f1fc",uc_output:"1f1f9-1f1fc",uc_match:"1f1f9-1f1fc",uc_greedy:"1f1f9-1f1fc",shortnames:[":tw:"],category:"flags"},":flag_tz:":{uc_base:"1f1f9-1f1ff",uc_output:"1f1f9-1f1ff",uc_match:"1f1f9-1f1ff",uc_greedy:"1f1f9-1f1ff",shortnames:[":tz:"],category:"flags"},":flag_ua:":{uc_base:"1f1fa-1f1e6",uc_output:"1f1fa-1f1e6",uc_match:"1f1fa-1f1e6",uc_greedy:"1f1fa-1f1e6",shortnames:[":ua:"],category:"flags"},":flag_ug:":{uc_base:"1f1fa-1f1ec",uc_output:"1f1fa-1f1ec",uc_match:"1f1fa-1f1ec",uc_greedy:"1f1fa-1f1ec",shortnames:[":ug:"],category:"flags"},":flag_um:":{uc_base:"1f1fa-1f1f2",uc_output:"1f1fa-1f1f2",uc_match:"1f1fa-1f1f2",uc_greedy:"1f1fa-1f1f2",shortnames:[":um:"],category:"flags"},":flag_us:":{uc_base:"1f1fa-1f1f8",uc_output:"1f1fa-1f1f8",uc_match:"1f1fa-1f1f8",uc_greedy:"1f1fa-1f1f8",shortnames:[":us:"],category:"flags"},":flag_uy:":{uc_base:"1f1fa-1f1fe",uc_output:"1f1fa-1f1fe",uc_match:"1f1fa-1f1fe",uc_greedy:"1f1fa-1f1fe",shortnames:[":uy:"],category:"flags"},":flag_uz:":{uc_base:"1f1fa-1f1ff",uc_output:"1f1fa-1f1ff",uc_match:"1f1fa-1f1ff",uc_greedy:"1f1fa-1f1ff",shortnames:[":uz:"],category:"flags"},":flag_va:":{uc_base:"1f1fb-1f1e6",uc_output:"1f1fb-1f1e6",uc_match:"1f1fb-1f1e6",uc_greedy:"1f1fb-1f1e6",shortnames:[":va:"],category:"flags"},":flag_vc:":{uc_base:"1f1fb-1f1e8",uc_output:"1f1fb-1f1e8",uc_match:"1f1fb-1f1e8",uc_greedy:"1f1fb-1f1e8",shortnames:[":vc:"],category:"flags"},":flag_ve:":{uc_base:"1f1fb-1f1ea",uc_output:"1f1fb-1f1ea",uc_match:"1f1fb-1f1ea",uc_greedy:"1f1fb-1f1ea",shortnames:[":ve:"],category:"flags"},":flag_vg:":{uc_base:"1f1fb-1f1ec",uc_output:"1f1fb-1f1ec",uc_match:"1f1fb-1f1ec",uc_greedy:"1f1fb-1f1ec",shortnames:[":vg:"],category:"flags"},":flag_vi:":{uc_base:"1f1fb-1f1ee",uc_output:"1f1fb-1f1ee",uc_match:"1f1fb-1f1ee",uc_greedy:"1f1fb-1f1ee",shortnames:[":vi:"],category:"flags"},":flag_vn:":{uc_base:"1f1fb-1f1f3",uc_output:"1f1fb-1f1f3",uc_match:"1f1fb-1f1f3",uc_greedy:"1f1fb-1f1f3",shortnames:[":vn:"],category:"flags"},":flag_vu:":{uc_base:"1f1fb-1f1fa",uc_output:"1f1fb-1f1fa",uc_match:"1f1fb-1f1fa",uc_greedy:"1f1fb-1f1fa",shortnames:[":vu:"],category:"flags"},":flag_wf:":{uc_base:"1f1fc-1f1eb",uc_output:"1f1fc-1f1eb",uc_match:"1f1fc-1f1eb",uc_greedy:"1f1fc-1f1eb",shortnames:[":wf:"],category:"flags"},":flag_ws:":{uc_base:"1f1fc-1f1f8",uc_output:"1f1fc-1f1f8",uc_match:"1f1fc-1f1f8",uc_greedy:"1f1fc-1f1f8",shortnames:[":ws:"],category:"flags"},":flag_xk:":{uc_base:"1f1fd-1f1f0",uc_output:"1f1fd-1f1f0",uc_match:"1f1fd-1f1f0",uc_greedy:"1f1fd-1f1f0",shortnames:[":xk:"],category:"flags"},":flag_ye:":{uc_base:"1f1fe-1f1ea",uc_output:"1f1fe-1f1ea",uc_match:"1f1fe-1f1ea",uc_greedy:"1f1fe-1f1ea",shortnames:[":ye:"],category:"flags"},":flag_yt:":{uc_base:"1f1fe-1f1f9",uc_output:"1f1fe-1f1f9",uc_match:"1f1fe-1f1f9",uc_greedy:"1f1fe-1f1f9",shortnames:[":yt:"],category:"flags"},":flag_za:":{uc_base:"1f1ff-1f1e6",uc_output:"1f1ff-1f1e6",uc_match:"1f1ff-1f1e6",uc_greedy:"1f1ff-1f1e6",shortnames:[":za:"],category:"flags"},":flag_zm:":{uc_base:"1f1ff-1f1f2",uc_output:"1f1ff-1f1f2",uc_match:"1f1ff-1f1f2",uc_greedy:"1f1ff-1f1f2",shortnames:[":zm:"],category:"flags"},":flag_zw:":{uc_base:"1f1ff-1f1fc",uc_output:"1f1ff-1f1fc",uc_match:"1f1ff-1f1fc",uc_greedy:"1f1ff-1f1fc",shortnames:[":zw:"],category:"flags"},":foot_tone1:":{uc_base:"1f9b6-1f3fb",uc_output:"1f9b6-1f3fb",uc_match:"1f9b6-1f3fb",uc_greedy:"1f9b6-1f3fb",shortnames:[":foot_light_skin_tone:"],category:"people"},":foot_tone2:":{uc_base:"1f9b6-1f3fc",uc_output:"1f9b6-1f3fc",uc_match:"1f9b6-1f3fc",uc_greedy:"1f9b6-1f3fc",shortnames:[":foot_medium_light_skin_tone:"],category:"people"},":foot_tone3:":{uc_base:"1f9b6-1f3fd",uc_output:"1f9b6-1f3fd",uc_match:"1f9b6-1f3fd",uc_greedy:"1f9b6-1f3fd",shortnames:[":foot_medium_skin_tone:"],category:"people"},":foot_tone4:":{uc_base:"1f9b6-1f3fe",uc_output:"1f9b6-1f3fe",uc_match:"1f9b6-1f3fe",uc_greedy:"1f9b6-1f3fe",shortnames:[":foot_medium_dark_skin_tone:"],category:"people"},":foot_tone5:":{uc_base:"1f9b6-1f3ff",uc_output:"1f9b6-1f3ff",uc_match:"1f9b6-1f3ff",uc_greedy:"1f9b6-1f3ff",shortnames:[":foot_dark_skin_tone:"],category:"people"},":girl_tone1:":{uc_base:"1f467-1f3fb",uc_output:"1f467-1f3fb",uc_match:"1f467-1f3fb",uc_greedy:"1f467-1f3fb",shortnames:[],category:"people"},":girl_tone2:":{uc_base:"1f467-1f3fc",uc_output:"1f467-1f3fc",uc_match:"1f467-1f3fc",uc_greedy:"1f467-1f3fc",shortnames:[],category:"people"},":girl_tone3:":{uc_base:"1f467-1f3fd",uc_output:"1f467-1f3fd",uc_match:"1f467-1f3fd",uc_greedy:"1f467-1f3fd",shortnames:[],category:"people"},":girl_tone4:":{uc_base:"1f467-1f3fe",uc_output:"1f467-1f3fe",uc_match:"1f467-1f3fe",uc_greedy:"1f467-1f3fe",shortnames:[],category:"people"},":girl_tone5:":{uc_base:"1f467-1f3ff",uc_output:"1f467-1f3ff",uc_match:"1f467-1f3ff",uc_greedy:"1f467-1f3ff",shortnames:[],category:"people"},":guard_tone1:":{uc_base:"1f482-1f3fb",uc_output:"1f482-1f3fb",uc_match:"1f482-1f3fb",uc_greedy:"1f482-1f3fb",shortnames:[":guardsman_tone1:"],category:"people"},":guard_tone2:":{uc_base:"1f482-1f3fc",uc_output:"1f482-1f3fc",uc_match:"1f482-1f3fc",uc_greedy:"1f482-1f3fc",shortnames:[":guardsman_tone2:"],category:"people"},":guard_tone3:":{uc_base:"1f482-1f3fd",uc_output:"1f482-1f3fd",uc_match:"1f482-1f3fd",uc_greedy:"1f482-1f3fd",shortnames:[":guardsman_tone3:"],category:"people"},":guard_tone4:":{uc_base:"1f482-1f3fe",uc_output:"1f482-1f3fe",uc_match:"1f482-1f3fe",uc_greedy:"1f482-1f3fe",shortnames:[":guardsman_tone4:"],category:"people"},":guard_tone5:":{uc_base:"1f482-1f3ff",uc_output:"1f482-1f3ff",uc_match:"1f482-1f3ff",uc_greedy:"1f482-1f3ff",shortnames:[":guardsman_tone5:"],category:"people"},":hand_splayed_tone1:":{uc_base:"1f590-1f3fb",uc_output:"1f590-1f3fb",uc_match:"1f590-fe0f-1f3fb",uc_greedy:"1f590-fe0f-1f3fb",shortnames:[":raised_hand_with_fingers_splayed_tone1:"],category:"people"},":hand_splayed_tone2:":{uc_base:"1f590-1f3fc",uc_output:"1f590-1f3fc",uc_match:"1f590-fe0f-1f3fc",uc_greedy:"1f590-fe0f-1f3fc",shortnames:[":raised_hand_with_fingers_splayed_tone2:"],category:"people"},":hand_splayed_tone3:":{uc_base:"1f590-1f3fd",uc_output:"1f590-1f3fd",uc_match:"1f590-fe0f-1f3fd",uc_greedy:"1f590-fe0f-1f3fd",shortnames:[":raised_hand_with_fingers_splayed_tone3:"],category:"people"},":hand_splayed_tone4:":{uc_base:"1f590-1f3fe",uc_output:"1f590-1f3fe",uc_match:"1f590-fe0f-1f3fe",uc_greedy:"1f590-fe0f-1f3fe",shortnames:[":raised_hand_with_fingers_splayed_tone4:"],category:"people"},":hand_splayed_tone5:":{uc_base:"1f590-1f3ff",uc_output:"1f590-1f3ff",uc_match:"1f590-fe0f-1f3ff",uc_greedy:"1f590-fe0f-1f3ff",shortnames:[":raised_hand_with_fingers_splayed_tone5:"],category:"people"},":horse_racing_tone1:":{uc_base:"1f3c7-1f3fb",uc_output:"1f3c7-1f3fb",uc_match:"1f3c7-1f3fb",uc_greedy:"1f3c7-1f3fb",shortnames:[],category:"activity"},":horse_racing_tone2:":{uc_base:"1f3c7-1f3fc",uc_output:"1f3c7-1f3fc",uc_match:"1f3c7-1f3fc",uc_greedy:"1f3c7-1f3fc",shortnames:[],category:"activity"},":horse_racing_tone3:":{uc_base:"1f3c7-1f3fd",uc_output:"1f3c7-1f3fd",uc_match:"1f3c7-1f3fd",uc_greedy:"1f3c7-1f3fd",shortnames:[],category:"activity"},":horse_racing_tone4:":{uc_base:"1f3c7-1f3fe",uc_output:"1f3c7-1f3fe",uc_match:"1f3c7-1f3fe",uc_greedy:"1f3c7-1f3fe",shortnames:[],category:"activity"},":horse_racing_tone5:":{uc_base:"1f3c7-1f3ff",uc_output:"1f3c7-1f3ff",uc_match:"1f3c7-1f3ff",uc_greedy:"1f3c7-1f3ff",shortnames:[],category:"activity"},":left_facing_fist_tone1:":{uc_base:"1f91b-1f3fb",uc_output:"1f91b-1f3fb",uc_match:"1f91b-1f3fb",uc_greedy:"1f91b-1f3fb",shortnames:[":left_fist_tone1:"],category:"people"},":left_facing_fist_tone2:":{uc_base:"1f91b-1f3fc",uc_output:"1f91b-1f3fc",uc_match:"1f91b-1f3fc",uc_greedy:"1f91b-1f3fc",shortnames:[":left_fist_tone2:"],category:"people"},":left_facing_fist_tone3:":{uc_base:"1f91b-1f3fd",uc_output:"1f91b-1f3fd",uc_match:"1f91b-1f3fd",uc_greedy:"1f91b-1f3fd",shortnames:[":left_fist_tone3:"],category:"people"},":left_facing_fist_tone4:":{uc_base:"1f91b-1f3fe",uc_output:"1f91b-1f3fe",uc_match:"1f91b-1f3fe",uc_greedy:"1f91b-1f3fe",shortnames:[":left_fist_tone4:"],category:"people"},":left_facing_fist_tone5:":{uc_base:"1f91b-1f3ff",uc_output:"1f91b-1f3ff",uc_match:"1f91b-1f3ff",uc_greedy:"1f91b-1f3ff",shortnames:[":left_fist_tone5:"],category:"people"},":leg_tone1:":{uc_base:"1f9b5-1f3fb",uc_output:"1f9b5-1f3fb",uc_match:"1f9b5-1f3fb",uc_greedy:"1f9b5-1f3fb",shortnames:[":leg_light_skin_tone:"],category:"people"},":leg_tone2:":{uc_base:"1f9b5-1f3fc",uc_output:"1f9b5-1f3fc",uc_match:"1f9b5-1f3fc",uc_greedy:"1f9b5-1f3fc",shortnames:[":leg_medium_light_skin_tone:"],category:"people"},":leg_tone3:":{uc_base:"1f9b5-1f3fd",uc_output:"1f9b5-1f3fd",uc_match:"1f9b5-1f3fd",uc_greedy:"1f9b5-1f3fd",shortnames:[":leg_medium_skin_tone:"],category:"people"},":leg_tone4:":{uc_base:"1f9b5-1f3fe",uc_output:"1f9b5-1f3fe",uc_match:"1f9b5-1f3fe",uc_greedy:"1f9b5-1f3fe",shortnames:[":leg_medium_dark_skin_tone:"],category:"people"},":leg_tone5:":{uc_base:"1f9b5-1f3ff",uc_output:"1f9b5-1f3ff",uc_match:"1f9b5-1f3ff",uc_greedy:"1f9b5-1f3ff",shortnames:[":leg_dark_skin_tone:"],category:"people"},":levitate_tone1:":{uc_base:"1f574-1f3fb",uc_output:"1f574-1f3fb",uc_match:"1f574-fe0f-1f3fb",uc_greedy:"1f574-fe0f-1f3fb",shortnames:[":man_in_business_suit_levitating_tone1:",":man_in_business_suit_levitating_light_skin_tone:"],category:"people"},":levitate_tone2:":{uc_base:"1f574-1f3fc",uc_output:"1f574-1f3fc",uc_match:"1f574-fe0f-1f3fc",uc_greedy:"1f574-fe0f-1f3fc",shortnames:[":man_in_business_suit_levitating_tone2:",":man_in_business_suit_levitating_medium_light_skin_tone:"],category:"people"},":levitate_tone3:":{uc_base:"1f574-1f3fd",uc_output:"1f574-1f3fd",uc_match:"1f574-fe0f-1f3fd",uc_greedy:"1f574-fe0f-1f3fd",shortnames:[":man_in_business_suit_levitating_tone3:",":man_in_business_suit_levitating_medium_skin_tone:"],category:"people"},":levitate_tone4:":{uc_base:"1f574-1f3fe",uc_output:"1f574-1f3fe",uc_match:"1f574-fe0f-1f3fe",uc_greedy:"1f574-fe0f-1f3fe",shortnames:[":man_in_business_suit_levitating_tone4:",":man_in_business_suit_levitating_medium_dark_skin_tone:"],category:"people"},":levitate_tone5:":{uc_base:"1f574-1f3ff",uc_output:"1f574-1f3ff",uc_match:"1f574-fe0f-1f3ff",uc_greedy:"1f574-fe0f-1f3ff",shortnames:[":man_in_business_suit_levitating_tone5:",":man_in_business_suit_levitating_dark_skin_tone:"],category:"people"},":love_you_gesture_tone1:":{uc_base:"1f91f-1f3fb",uc_output:"1f91f-1f3fb",uc_match:"1f91f-1f3fb",uc_greedy:"1f91f-1f3fb",shortnames:[":love_you_gesture_light_skin_tone:"],category:"people"},":love_you_gesture_tone2:":{uc_base:"1f91f-1f3fc",uc_output:"1f91f-1f3fc",uc_match:"1f91f-1f3fc",uc_greedy:"1f91f-1f3fc",shortnames:[":love_you_gesture_medium_light_skin_tone:"],category:"people"},":love_you_gesture_tone3:":{uc_base:"1f91f-1f3fd",uc_output:"1f91f-1f3fd",uc_match:"1f91f-1f3fd",uc_greedy:"1f91f-1f3fd",shortnames:[":love_you_gesture_medium_skin_tone:"],category:"people"},":love_you_gesture_tone4:":{uc_base:"1f91f-1f3fe",uc_output:"1f91f-1f3fe",uc_match:"1f91f-1f3fe",uc_greedy:"1f91f-1f3fe",shortnames:[":love_you_gesture_medium_dark_skin_tone:"],category:"people"},":love_you_gesture_tone5:":{uc_base:"1f91f-1f3ff",uc_output:"1f91f-1f3ff",uc_match:"1f91f-1f3ff",uc_greedy:"1f91f-1f3ff",shortnames:[":love_you_gesture_dark_skin_tone:"],category:"people"},":mage_tone1:":{uc_base:"1f9d9-1f3fb",uc_output:"1f9d9-1f3fb",uc_match:"1f9d9-1f3fb",uc_greedy:"1f9d9-1f3fb",shortnames:[":mage_light_skin_tone:"],category:"people"},":mage_tone2:":{uc_base:"1f9d9-1f3fc",uc_output:"1f9d9-1f3fc",uc_match:"1f9d9-1f3fc",uc_greedy:"1f9d9-1f3fc",shortnames:[":mage_medium_light_skin_tone:"],category:"people"},":mage_tone3:":{uc_base:"1f9d9-1f3fd",uc_output:"1f9d9-1f3fd",uc_match:"1f9d9-1f3fd",uc_greedy:"1f9d9-1f3fd",shortnames:[":mage_medium_skin_tone:"],category:"people"},":mage_tone4:":{uc_base:"1f9d9-1f3fe",uc_output:"1f9d9-1f3fe",uc_match:"1f9d9-1f3fe",uc_greedy:"1f9d9-1f3fe",shortnames:[":mage_medium_dark_skin_tone:"],category:"people"},":mage_tone5:":{uc_base:"1f9d9-1f3ff",uc_output:"1f9d9-1f3ff",uc_match:"1f9d9-1f3ff",uc_greedy:"1f9d9-1f3ff",shortnames:[":mage_dark_skin_tone:"],category:"people"},":man_dancing_tone1:":{uc_base:"1f57a-1f3fb",uc_output:"1f57a-1f3fb",uc_match:"1f57a-1f3fb",uc_greedy:"1f57a-1f3fb",shortnames:[":male_dancer_tone1:"],category:"people"},":man_dancing_tone2:":{uc_base:"1f57a-1f3fc",uc_output:"1f57a-1f3fc",uc_match:"1f57a-1f3fc",uc_greedy:"1f57a-1f3fc",shortnames:[":male_dancer_tone2:"],category:"people"},":man_dancing_tone3:":{uc_base:"1f57a-1f3fd",uc_output:"1f57a-1f3fd",uc_match:"1f57a-1f3fd",uc_greedy:"1f57a-1f3fd",shortnames:[":male_dancer_tone3:"],category:"people"},":man_dancing_tone4:":{uc_base:"1f57a-1f3fe",uc_output:"1f57a-1f3fe",uc_match:"1f57a-1f3fe",uc_greedy:"1f57a-1f3fe",shortnames:[":male_dancer_tone4:"],category:"people"},":man_dancing_tone5:":{uc_base:"1f57a-1f3ff",uc_output:"1f57a-1f3ff",uc_match:"1f57a-1f3ff",uc_greedy:"1f57a-1f3ff",shortnames:[":male_dancer_tone5:"],category:"people"},":man_in_tuxedo_tone1:":{uc_base:"1f935-1f3fb",uc_output:"1f935-1f3fb",uc_match:"1f935-1f3fb",uc_greedy:"1f935-1f3fb",shortnames:[":tuxedo_tone1:"],category:"people"},":man_in_tuxedo_tone2:":{uc_base:"1f935-1f3fc",uc_output:"1f935-1f3fc",uc_match:"1f935-1f3fc",uc_greedy:"1f935-1f3fc",shortnames:[":tuxedo_tone2:"],category:"people"},":man_in_tuxedo_tone3:":{uc_base:"1f935-1f3fd",uc_output:"1f935-1f3fd",uc_match:"1f935-1f3fd",uc_greedy:"1f935-1f3fd",shortnames:[":tuxedo_tone3:"],category:"people"},":man_in_tuxedo_tone4:":{uc_base:"1f935-1f3fe",uc_output:"1f935-1f3fe",uc_match:"1f935-1f3fe",uc_greedy:"1f935-1f3fe",shortnames:[":tuxedo_tone4:"],category:"people"},":man_in_tuxedo_tone5:":{uc_base:"1f935-1f3ff",uc_output:"1f935-1f3ff",uc_match:"1f935-1f3ff",uc_greedy:"1f935-1f3ff",shortnames:[":tuxedo_tone5:"],category:"people"},":man_tone1:":{uc_base:"1f468-1f3fb",uc_output:"1f468-1f3fb",uc_match:"1f468-1f3fb",uc_greedy:"1f468-1f3fb",shortnames:[],category:"people"},":man_tone2:":{uc_base:"1f468-1f3fc",uc_output:"1f468-1f3fc",uc_match:"1f468-1f3fc",uc_greedy:"1f468-1f3fc",shortnames:[],category:"people"},":man_tone3:":{uc_base:"1f468-1f3fd",uc_output:"1f468-1f3fd",uc_match:"1f468-1f3fd",uc_greedy:"1f468-1f3fd",shortnames:[],category:"people"},":man_tone4:":{uc_base:"1f468-1f3fe",uc_output:"1f468-1f3fe",uc_match:"1f468-1f3fe",uc_greedy:"1f468-1f3fe",shortnames:[],category:"people"},":man_tone5:":{uc_base:"1f468-1f3ff",uc_output:"1f468-1f3ff",uc_match:"1f468-1f3ff",uc_greedy:"1f468-1f3ff",shortnames:[],category:"people"},":man_with_chinese_cap_tone1:":{uc_base:"1f472-1f3fb",uc_output:"1f472-1f3fb",uc_match:"1f472-1f3fb",uc_greedy:"1f472-1f3fb",shortnames:[":man_with_gua_pi_mao_tone1:"],category:"people"},":man_with_chinese_cap_tone2:":{uc_base:"1f472-1f3fc",uc_output:"1f472-1f3fc",uc_match:"1f472-1f3fc",uc_greedy:"1f472-1f3fc",shortnames:[":man_with_gua_pi_mao_tone2:"],category:"people"},":man_with_chinese_cap_tone3:":{uc_base:"1f472-1f3fd",uc_output:"1f472-1f3fd",uc_match:"1f472-1f3fd",uc_greedy:"1f472-1f3fd",shortnames:[":man_with_gua_pi_mao_tone3:"],category:"people"},":man_with_chinese_cap_tone4:":{uc_base:"1f472-1f3fe",uc_output:"1f472-1f3fe",uc_match:"1f472-1f3fe",uc_greedy:"1f472-1f3fe",shortnames:[":man_with_gua_pi_mao_tone4:"],category:"people"},":man_with_chinese_cap_tone5:":{uc_base:"1f472-1f3ff",uc_output:"1f472-1f3ff",uc_match:"1f472-1f3ff",uc_greedy:"1f472-1f3ff",shortnames:[":man_with_gua_pi_mao_tone5:"],category:"people"},":merperson_tone1:":{uc_base:"1f9dc-1f3fb",uc_output:"1f9dc-1f3fb",uc_match:"1f9dc-1f3fb",uc_greedy:"1f9dc-1f3fb",shortnames:[":merperson_light_skin_tone:"],category:"people"},":merperson_tone2:":{uc_base:"1f9dc-1f3fc",uc_output:"1f9dc-1f3fc",uc_match:"1f9dc-1f3fc",uc_greedy:"1f9dc-1f3fc",shortnames:[":merperson_medium_light_skin_tone:"],category:"people"},":merperson_tone3:":{uc_base:"1f9dc-1f3fd",uc_output:"1f9dc-1f3fd",uc_match:"1f9dc-1f3fd",uc_greedy:"1f9dc-1f3fd",shortnames:[":merperson_medium_skin_tone:"],category:"people"},":merperson_tone4:":{uc_base:"1f9dc-1f3fe",uc_output:"1f9dc-1f3fe",uc_match:"1f9dc-1f3fe",uc_greedy:"1f9dc-1f3fe",shortnames:[":merperson_medium_dark_skin_tone:"],category:"people"},":merperson_tone5:":{uc_base:"1f9dc-1f3ff",uc_output:"1f9dc-1f3ff",uc_match:"1f9dc-1f3ff",uc_greedy:"1f9dc-1f3ff",shortnames:[":merperson_dark_skin_tone:"],category:"people"},":metal_tone1:":{uc_base:"1f918-1f3fb",uc_output:"1f918-1f3fb",uc_match:"1f918-1f3fb",uc_greedy:"1f918-1f3fb",shortnames:[":sign_of_the_horns_tone1:"],category:"people"},":metal_tone2:":{uc_base:"1f918-1f3fc",uc_output:"1f918-1f3fc",uc_match:"1f918-1f3fc",uc_greedy:"1f918-1f3fc",shortnames:[":sign_of_the_horns_tone2:"],category:"people"},":metal_tone3:":{uc_base:"1f918-1f3fd",uc_output:"1f918-1f3fd",uc_match:"1f918-1f3fd",uc_greedy:"1f918-1f3fd",shortnames:[":sign_of_the_horns_tone3:"],category:"people"},":metal_tone4:":{uc_base:"1f918-1f3fe",uc_output:"1f918-1f3fe",uc_match:"1f918-1f3fe",uc_greedy:"1f918-1f3fe",shortnames:[":sign_of_the_horns_tone4:"],category:"people"},":metal_tone5:":{uc_base:"1f918-1f3ff",uc_output:"1f918-1f3ff",uc_match:"1f918-1f3ff",uc_greedy:"1f918-1f3ff",shortnames:[":sign_of_the_horns_tone5:"],category:"people"},":middle_finger_tone1:":{uc_base:"1f595-1f3fb",uc_output:"1f595-1f3fb",uc_match:"1f595-1f3fb",uc_greedy:"1f595-1f3fb",shortnames:[":reversed_hand_with_middle_finger_extended_tone1:"],category:"people"},":middle_finger_tone2:":{uc_base:"1f595-1f3fc",uc_output:"1f595-1f3fc",uc_match:"1f595-1f3fc",uc_greedy:"1f595-1f3fc",shortnames:[":reversed_hand_with_middle_finger_extended_tone2:"],category:"people"},":middle_finger_tone3:":{uc_base:"1f595-1f3fd",uc_output:"1f595-1f3fd",uc_match:"1f595-1f3fd",uc_greedy:"1f595-1f3fd",shortnames:[":reversed_hand_with_middle_finger_extended_tone3:"],category:"people"},":middle_finger_tone4:":{uc_base:"1f595-1f3fe",uc_output:"1f595-1f3fe",uc_match:"1f595-1f3fe",uc_greedy:"1f595-1f3fe",shortnames:[":reversed_hand_with_middle_finger_extended_tone4:"],category:"people"},":middle_finger_tone5:":{uc_base:"1f595-1f3ff",uc_output:"1f595-1f3ff",uc_match:"1f595-1f3ff",uc_greedy:"1f595-1f3ff",shortnames:[":reversed_hand_with_middle_finger_extended_tone5:"],category:"people"},":mrs_claus_tone1:":{uc_base:"1f936-1f3fb",uc_output:"1f936-1f3fb",uc_match:"1f936-1f3fb",uc_greedy:"1f936-1f3fb",shortnames:[":mother_christmas_tone1:"],category:"people"},":mrs_claus_tone2:":{uc_base:"1f936-1f3fc",uc_output:"1f936-1f3fc",uc_match:"1f936-1f3fc",uc_greedy:"1f936-1f3fc",shortnames:[":mother_christmas_tone2:"],category:"people"},":mrs_claus_tone3:":{uc_base:"1f936-1f3fd",uc_output:"1f936-1f3fd",uc_match:"1f936-1f3fd",uc_greedy:"1f936-1f3fd",shortnames:[":mother_christmas_tone3:"],category:"people"},":mrs_claus_tone4:":{uc_base:"1f936-1f3fe",uc_output:"1f936-1f3fe",uc_match:"1f936-1f3fe",uc_greedy:"1f936-1f3fe",shortnames:[":mother_christmas_tone4:"],category:"people"},":mrs_claus_tone5:":{uc_base:"1f936-1f3ff",uc_output:"1f936-1f3ff",uc_match:"1f936-1f3ff",uc_greedy:"1f936-1f3ff",shortnames:[":mother_christmas_tone5:"],category:"people"},":muscle_tone1:":{uc_base:"1f4aa-1f3fb",uc_output:"1f4aa-1f3fb",uc_match:"1f4aa-1f3fb",uc_greedy:"1f4aa-1f3fb",shortnames:[],category:"people"},":muscle_tone2:":{uc_base:"1f4aa-1f3fc",uc_output:"1f4aa-1f3fc",uc_match:"1f4aa-1f3fc",uc_greedy:"1f4aa-1f3fc",shortnames:[],category:"people"},":muscle_tone3:":{uc_base:"1f4aa-1f3fd",uc_output:"1f4aa-1f3fd",uc_match:"1f4aa-1f3fd",uc_greedy:"1f4aa-1f3fd",shortnames:[],category:"people"},":muscle_tone4:":{uc_base:"1f4aa-1f3fe",uc_output:"1f4aa-1f3fe",uc_match:"1f4aa-1f3fe",uc_greedy:"1f4aa-1f3fe",shortnames:[],category:"people"},":muscle_tone5:":{uc_base:"1f4aa-1f3ff",uc_output:"1f4aa-1f3ff",uc_match:"1f4aa-1f3ff",uc_greedy:"1f4aa-1f3ff",shortnames:[],category:"people"},":nail_care_tone1:":{uc_base:"1f485-1f3fb",uc_output:"1f485-1f3fb",uc_match:"1f485-1f3fb",uc_greedy:"1f485-1f3fb",shortnames:[],category:"people"},":nail_care_tone2:":{uc_base:"1f485-1f3fc",uc_output:"1f485-1f3fc",uc_match:"1f485-1f3fc",uc_greedy:"1f485-1f3fc",shortnames:[],category:"people"},":nail_care_tone3:":{uc_base:"1f485-1f3fd",uc_output:"1f485-1f3fd",uc_match:"1f485-1f3fd",uc_greedy:"1f485-1f3fd",shortnames:[],category:"people"},":nail_care_tone4:":{uc_base:"1f485-1f3fe",uc_output:"1f485-1f3fe",uc_match:"1f485-1f3fe",uc_greedy:"1f485-1f3fe",shortnames:[],category:"people"},":nail_care_tone5:":{uc_base:"1f485-1f3ff",uc_output:"1f485-1f3ff",uc_match:"1f485-1f3ff",uc_greedy:"1f485-1f3ff",shortnames:[],category:"people"},":nose_tone1:":{uc_base:"1f443-1f3fb",uc_output:"1f443-1f3fb",uc_match:"1f443-1f3fb",uc_greedy:"1f443-1f3fb",shortnames:[],category:"people"},":nose_tone2:":{uc_base:"1f443-1f3fc",uc_output:"1f443-1f3fc",uc_match:"1f443-1f3fc",uc_greedy:"1f443-1f3fc",shortnames:[],category:"people"},":nose_tone3:":{uc_base:"1f443-1f3fd",uc_output:"1f443-1f3fd",uc_match:"1f443-1f3fd",uc_greedy:"1f443-1f3fd",shortnames:[],category:"people"},":nose_tone4:":{uc_base:"1f443-1f3fe",uc_output:"1f443-1f3fe",uc_match:"1f443-1f3fe",uc_greedy:"1f443-1f3fe",shortnames:[],category:"people"},":nose_tone5:":{uc_base:"1f443-1f3ff",uc_output:"1f443-1f3ff",uc_match:"1f443-1f3ff",uc_greedy:"1f443-1f3ff",shortnames:[],category:"people"},":ok_hand_tone1:":{uc_base:"1f44c-1f3fb",uc_output:"1f44c-1f3fb",uc_match:"1f44c-1f3fb",uc_greedy:"1f44c-1f3fb",shortnames:[],category:"people"},":ok_hand_tone2:":{uc_base:"1f44c-1f3fc",uc_output:"1f44c-1f3fc",uc_match:"1f44c-1f3fc",uc_greedy:"1f44c-1f3fc",shortnames:[],category:"people"},":ok_hand_tone3:":{uc_base:"1f44c-1f3fd",uc_output:"1f44c-1f3fd",uc_match:"1f44c-1f3fd",uc_greedy:"1f44c-1f3fd",shortnames:[],category:"people"},":ok_hand_tone4:":{uc_base:"1f44c-1f3fe",uc_output:"1f44c-1f3fe",uc_match:"1f44c-1f3fe",uc_greedy:"1f44c-1f3fe",shortnames:[],category:"people"},":ok_hand_tone5:":{uc_base:"1f44c-1f3ff",uc_output:"1f44c-1f3ff",uc_match:"1f44c-1f3ff",uc_greedy:"1f44c-1f3ff",shortnames:[],category:"people"},":older_adult_tone1:":{uc_base:"1f9d3-1f3fb",uc_output:"1f9d3-1f3fb",uc_match:"1f9d3-1f3fb",uc_greedy:"1f9d3-1f3fb",shortnames:[":older_adult_light_skin_tone:"],category:"people"},":older_adult_tone2:":{uc_base:"1f9d3-1f3fc",uc_output:"1f9d3-1f3fc",uc_match:"1f9d3-1f3fc",uc_greedy:"1f9d3-1f3fc",shortnames:[":older_adult_medium_light_skin_tone:"],category:"people"},":older_adult_tone3:":{uc_base:"1f9d3-1f3fd",uc_output:"1f9d3-1f3fd",uc_match:"1f9d3-1f3fd",uc_greedy:"1f9d3-1f3fd",shortnames:[":older_adult_medium_skin_tone:"],category:"people"},":older_adult_tone4:":{uc_base:"1f9d3-1f3fe",uc_output:"1f9d3-1f3fe",uc_match:"1f9d3-1f3fe",uc_greedy:"1f9d3-1f3fe",shortnames:[":older_adult_medium_dark_skin_tone:"],category:"people"},":older_adult_tone5:":{uc_base:"1f9d3-1f3ff",uc_output:"1f9d3-1f3ff",uc_match:"1f9d3-1f3ff",uc_greedy:"1f9d3-1f3ff",shortnames:[":older_adult_dark_skin_tone:"],category:"people"},":older_man_tone1:":{uc_base:"1f474-1f3fb",uc_output:"1f474-1f3fb",uc_match:"1f474-1f3fb",uc_greedy:"1f474-1f3fb",shortnames:[],category:"people"},":older_man_tone2:":{uc_base:"1f474-1f3fc",uc_output:"1f474-1f3fc",uc_match:"1f474-1f3fc",uc_greedy:"1f474-1f3fc",shortnames:[],category:"people"},":older_man_tone3:":{uc_base:"1f474-1f3fd",uc_output:"1f474-1f3fd",uc_match:"1f474-1f3fd",uc_greedy:"1f474-1f3fd",shortnames:[],category:"people"},":older_man_tone4:":{uc_base:"1f474-1f3fe",uc_output:"1f474-1f3fe",uc_match:"1f474-1f3fe",uc_greedy:"1f474-1f3fe",shortnames:[],category:"people"},":older_man_tone5:":{uc_base:"1f474-1f3ff",uc_output:"1f474-1f3ff",uc_match:"1f474-1f3ff",uc_greedy:"1f474-1f3ff",shortnames:[],category:"people"},":older_woman_tone1:":{uc_base:"1f475-1f3fb",uc_output:"1f475-1f3fb",uc_match:"1f475-1f3fb",uc_greedy:"1f475-1f3fb",shortnames:[":grandma_tone1:"],category:"people"},":older_woman_tone2:":{uc_base:"1f475-1f3fc",uc_output:"1f475-1f3fc",uc_match:"1f475-1f3fc",uc_greedy:"1f475-1f3fc",shortnames:[":grandma_tone2:"],category:"people"},":older_woman_tone3:":{uc_base:"1f475-1f3fd",uc_output:"1f475-1f3fd",uc_match:"1f475-1f3fd",uc_greedy:"1f475-1f3fd",shortnames:[":grandma_tone3:"],category:"people"},":older_woman_tone4:":{uc_base:"1f475-1f3fe",uc_output:"1f475-1f3fe",uc_match:"1f475-1f3fe",uc_greedy:"1f475-1f3fe",shortnames:[":grandma_tone4:"],category:"people"},":older_woman_tone5:":{uc_base:"1f475-1f3ff",uc_output:"1f475-1f3ff",uc_match:"1f475-1f3ff",uc_greedy:"1f475-1f3ff",shortnames:[":grandma_tone5:"],category:"people"},":open_hands_tone1:":{uc_base:"1f450-1f3fb",uc_output:"1f450-1f3fb",uc_match:"1f450-1f3fb",uc_greedy:"1f450-1f3fb",shortnames:[],category:"people"},":open_hands_tone2:":{uc_base:"1f450-1f3fc",uc_output:"1f450-1f3fc",uc_match:"1f450-1f3fc",uc_greedy:"1f450-1f3fc",shortnames:[],category:"people"},":open_hands_tone3:":{uc_base:"1f450-1f3fd",uc_output:"1f450-1f3fd",uc_match:"1f450-1f3fd",uc_greedy:"1f450-1f3fd",shortnames:[],category:"people"},":open_hands_tone4:":{uc_base:"1f450-1f3fe",uc_output:"1f450-1f3fe",uc_match:"1f450-1f3fe",uc_greedy:"1f450-1f3fe",shortnames:[],category:"people"},":open_hands_tone5:":{uc_base:"1f450-1f3ff",uc_output:"1f450-1f3ff",uc_match:"1f450-1f3ff",uc_greedy:"1f450-1f3ff",shortnames:[],category:"people"},":palms_up_together_tone1:":{uc_base:"1f932-1f3fb",uc_output:"1f932-1f3fb",uc_match:"1f932-1f3fb",uc_greedy:"1f932-1f3fb",shortnames:[":palms_up_together_light_skin_tone:"],category:"people"},":palms_up_together_tone2:":{uc_base:"1f932-1f3fc",uc_output:"1f932-1f3fc",uc_match:"1f932-1f3fc",uc_greedy:"1f932-1f3fc",shortnames:[":palms_up_together_medium_light_skin_tone:"],category:"people"},":palms_up_together_tone3:":{uc_base:"1f932-1f3fd",uc_output:"1f932-1f3fd",uc_match:"1f932-1f3fd",uc_greedy:"1f932-1f3fd",shortnames:[":palms_up_together_medium_skin_tone:"],category:"people"},":palms_up_together_tone4:":{uc_base:"1f932-1f3fe",uc_output:"1f932-1f3fe",uc_match:"1f932-1f3fe",uc_greedy:"1f932-1f3fe",shortnames:[":palms_up_together_medium_dark_skin_tone:"],category:"people"},":palms_up_together_tone5:":{uc_base:"1f932-1f3ff",uc_output:"1f932-1f3ff",uc_match:"1f932-1f3ff",uc_greedy:"1f932-1f3ff",shortnames:[":palms_up_together_dark_skin_tone:"],category:"people"},":person_biking_tone1:":{uc_base:"1f6b4-1f3fb",uc_output:"1f6b4-1f3fb",uc_match:"1f6b4-1f3fb",uc_greedy:"1f6b4-1f3fb",shortnames:[":bicyclist_tone1:"],category:"activity"},":person_biking_tone2:":{uc_base:"1f6b4-1f3fc",uc_output:"1f6b4-1f3fc",uc_match:"1f6b4-1f3fc",uc_greedy:"1f6b4-1f3fc",shortnames:[":bicyclist_tone2:"],category:"activity"},":person_biking_tone3:":{uc_base:"1f6b4-1f3fd",uc_output:"1f6b4-1f3fd",uc_match:"1f6b4-1f3fd",uc_greedy:"1f6b4-1f3fd",shortnames:[":bicyclist_tone3:"],category:"activity"},":person_biking_tone4:":{uc_base:"1f6b4-1f3fe",uc_output:"1f6b4-1f3fe",uc_match:"1f6b4-1f3fe",uc_greedy:"1f6b4-1f3fe",shortnames:[":bicyclist_tone4:"],category:"activity"},":person_biking_tone5:":{uc_base:"1f6b4-1f3ff",uc_output:"1f6b4-1f3ff",uc_match:"1f6b4-1f3ff",uc_greedy:"1f6b4-1f3ff",shortnames:[":bicyclist_tone5:"],category:"activity"},":person_bowing_tone1:":{uc_base:"1f647-1f3fb",uc_output:"1f647-1f3fb",uc_match:"1f647-1f3fb",uc_greedy:"1f647-1f3fb",shortnames:[":bow_tone1:"],category:"people"},":person_bowing_tone2:":{uc_base:"1f647-1f3fc",uc_output:"1f647-1f3fc",uc_match:"1f647-1f3fc",uc_greedy:"1f647-1f3fc",shortnames:[":bow_tone2:"],category:"people"},":person_bowing_tone3:":{uc_base:"1f647-1f3fd",uc_output:"1f647-1f3fd",uc_match:"1f647-1f3fd",uc_greedy:"1f647-1f3fd",shortnames:[":bow_tone3:"],category:"people"},":person_bowing_tone4:":{uc_base:"1f647-1f3fe",uc_output:"1f647-1f3fe",uc_match:"1f647-1f3fe",uc_greedy:"1f647-1f3fe",shortnames:[":bow_tone4:"],category:"people"},":person_bowing_tone5:":{uc_base:"1f647-1f3ff",uc_output:"1f647-1f3ff",uc_match:"1f647-1f3ff",uc_greedy:"1f647-1f3ff",shortnames:[":bow_tone5:"],category:"people"},":person_climbing_tone1:":{uc_base:"1f9d7-1f3fb",uc_output:"1f9d7-1f3fb",uc_match:"1f9d7-1f3fb",uc_greedy:"1f9d7-1f3fb",shortnames:[":person_climbing_light_skin_tone:"],category:"activity"},":person_climbing_tone2:":{uc_base:"1f9d7-1f3fc",uc_output:"1f9d7-1f3fc",uc_match:"1f9d7-1f3fc",uc_greedy:"1f9d7-1f3fc",shortnames:[":person_climbing_medium_light_skin_tone:"],category:"activity"},":person_climbing_tone3:":{uc_base:"1f9d7-1f3fd",uc_output:"1f9d7-1f3fd",uc_match:"1f9d7-1f3fd",uc_greedy:"1f9d7-1f3fd",shortnames:[":person_climbing_medium_skin_tone:"],category:"activity"},":person_climbing_tone4:":{uc_base:"1f9d7-1f3fe",uc_output:"1f9d7-1f3fe",uc_match:"1f9d7-1f3fe",uc_greedy:"1f9d7-1f3fe",shortnames:[":person_climbing_medium_dark_skin_tone:"],category:"activity"},":person_climbing_tone5:":{uc_base:"1f9d7-1f3ff",uc_output:"1f9d7-1f3ff",uc_match:"1f9d7-1f3ff",uc_greedy:"1f9d7-1f3ff",shortnames:[":person_climbing_dark_skin_tone:"],category:"activity"},":person_doing_cartwheel_tone1:":{uc_base:"1f938-1f3fb",uc_output:"1f938-1f3fb",uc_match:"1f938-1f3fb",uc_greedy:"1f938-1f3fb",shortnames:[":cartwheel_tone1:"],category:"activity"},":person_doing_cartwheel_tone2:":{uc_base:"1f938-1f3fc",uc_output:"1f938-1f3fc",uc_match:"1f938-1f3fc",uc_greedy:"1f938-1f3fc",shortnames:[":cartwheel_tone2:"],category:"activity"},":person_doing_cartwheel_tone3:":{uc_base:"1f938-1f3fd",uc_output:"1f938-1f3fd",uc_match:"1f938-1f3fd",uc_greedy:"1f938-1f3fd",shortnames:[":cartwheel_tone3:"],category:"activity"},":person_doing_cartwheel_tone4:":{uc_base:"1f938-1f3fe",uc_output:"1f938-1f3fe",uc_match:"1f938-1f3fe",uc_greedy:"1f938-1f3fe",shortnames:[":cartwheel_tone4:"],category:"activity"},":person_doing_cartwheel_tone5:":{uc_base:"1f938-1f3ff",uc_output:"1f938-1f3ff",uc_match:"1f938-1f3ff",uc_greedy:"1f938-1f3ff",shortnames:[":cartwheel_tone5:"],category:"activity"},":person_facepalming_tone1:":{uc_base:"1f926-1f3fb",uc_output:"1f926-1f3fb",uc_match:"1f926-1f3fb",uc_greedy:"1f926-1f3fb",shortnames:[":face_palm_tone1:",":facepalm_tone1:"],category:"people"},":person_facepalming_tone2:":{uc_base:"1f926-1f3fc",uc_output:"1f926-1f3fc",uc_match:"1f926-1f3fc",uc_greedy:"1f926-1f3fc",shortnames:[":face_palm_tone2:",":facepalm_tone2:"],category:"people"},":person_facepalming_tone3:":{uc_base:"1f926-1f3fd",uc_output:"1f926-1f3fd",uc_match:"1f926-1f3fd",uc_greedy:"1f926-1f3fd",shortnames:[":face_palm_tone3:",":facepalm_tone3:"],category:"people"},":person_facepalming_tone4:":{uc_base:"1f926-1f3fe",uc_output:"1f926-1f3fe",uc_match:"1f926-1f3fe",uc_greedy:"1f926-1f3fe",shortnames:[":face_palm_tone4:",":facepalm_tone4:"],category:"people"},":person_facepalming_tone5:":{uc_base:"1f926-1f3ff",uc_output:"1f926-1f3ff",uc_match:"1f926-1f3ff",uc_greedy:"1f926-1f3ff",shortnames:[":face_palm_tone5:",":facepalm_tone5:"],category:"people"},":person_frowning_tone1:":{uc_base:"1f64d-1f3fb",uc_output:"1f64d-1f3fb",uc_match:"1f64d-1f3fb",uc_greedy:"1f64d-1f3fb",shortnames:[],category:"people"},":person_frowning_tone2:":{uc_base:"1f64d-1f3fc",uc_output:"1f64d-1f3fc",uc_match:"1f64d-1f3fc",uc_greedy:"1f64d-1f3fc",shortnames:[],category:"people"},":person_frowning_tone3:":{uc_base:"1f64d-1f3fd",uc_output:"1f64d-1f3fd",uc_match:"1f64d-1f3fd",uc_greedy:"1f64d-1f3fd",shortnames:[],category:"people"},":person_frowning_tone4:":{uc_base:"1f64d-1f3fe",uc_output:"1f64d-1f3fe",uc_match:"1f64d-1f3fe",uc_greedy:"1f64d-1f3fe",shortnames:[],category:"people"},":person_frowning_tone5:":{uc_base:"1f64d-1f3ff",uc_output:"1f64d-1f3ff",uc_match:"1f64d-1f3ff",uc_greedy:"1f64d-1f3ff",shortnames:[],category:"people"},":person_gesturing_no_tone1:":{uc_base:"1f645-1f3fb",uc_output:"1f645-1f3fb",uc_match:"1f645-1f3fb",uc_greedy:"1f645-1f3fb",shortnames:[":no_good_tone1:"],category:"people"},":person_gesturing_no_tone2:":{uc_base:"1f645-1f3fc",uc_output:"1f645-1f3fc",uc_match:"1f645-1f3fc",uc_greedy:"1f645-1f3fc",shortnames:[":no_good_tone2:"],category:"people"},":person_gesturing_no_tone3:":{uc_base:"1f645-1f3fd",uc_output:"1f645-1f3fd",uc_match:"1f645-1f3fd",uc_greedy:"1f645-1f3fd",shortnames:[":no_good_tone3:"],category:"people"},":person_gesturing_no_tone4:":{uc_base:"1f645-1f3fe",uc_output:"1f645-1f3fe",uc_match:"1f645-1f3fe",uc_greedy:"1f645-1f3fe",shortnames:[":no_good_tone4:"],category:"people"},":person_gesturing_no_tone5:":{uc_base:"1f645-1f3ff",uc_output:"1f645-1f3ff",uc_match:"1f645-1f3ff",uc_greedy:"1f645-1f3ff",shortnames:[":no_good_tone5:"],category:"people"},":person_gesturing_ok_tone1:":{uc_base:"1f646-1f3fb",uc_output:"1f646-1f3fb",uc_match:"1f646-1f3fb",uc_greedy:"1f646-1f3fb",shortnames:[":ok_woman_tone1:"],category:"people"},":person_gesturing_ok_tone2:":{uc_base:"1f646-1f3fc",uc_output:"1f646-1f3fc",uc_match:"1f646-1f3fc",uc_greedy:"1f646-1f3fc",shortnames:[":ok_woman_tone2:"],category:"people"},":person_gesturing_ok_tone3:":{uc_base:"1f646-1f3fd",uc_output:"1f646-1f3fd",uc_match:"1f646-1f3fd",uc_greedy:"1f646-1f3fd",shortnames:[":ok_woman_tone3:"],category:"people"},":person_gesturing_ok_tone4:":{uc_base:"1f646-1f3fe",uc_output:"1f646-1f3fe",uc_match:"1f646-1f3fe",uc_greedy:"1f646-1f3fe",shortnames:[":ok_woman_tone4:"],category:"people"},":person_gesturing_ok_tone5:":{uc_base:"1f646-1f3ff",uc_output:"1f646-1f3ff",uc_match:"1f646-1f3ff",uc_greedy:"1f646-1f3ff",shortnames:[":ok_woman_tone5:"],category:"people"},":person_getting_haircut_tone1:":{uc_base:"1f487-1f3fb",uc_output:"1f487-1f3fb",uc_match:"1f487-1f3fb",uc_greedy:"1f487-1f3fb",shortnames:[":haircut_tone1:"],category:"people"},":person_getting_haircut_tone2:":{uc_base:"1f487-1f3fc",uc_output:"1f487-1f3fc",uc_match:"1f487-1f3fc",uc_greedy:"1f487-1f3fc",shortnames:[":haircut_tone2:"],category:"people"},":person_getting_haircut_tone3:":{uc_base:"1f487-1f3fd",uc_output:"1f487-1f3fd",uc_match:"1f487-1f3fd",uc_greedy:"1f487-1f3fd",shortnames:[":haircut_tone3:"],category:"people"},":person_getting_haircut_tone4:":{uc_base:"1f487-1f3fe",uc_output:"1f487-1f3fe",uc_match:"1f487-1f3fe",uc_greedy:"1f487-1f3fe",shortnames:[":haircut_tone4:"],category:"people"},":person_getting_haircut_tone5:":{uc_base:"1f487-1f3ff",uc_output:"1f487-1f3ff",uc_match:"1f487-1f3ff",uc_greedy:"1f487-1f3ff",shortnames:[":haircut_tone5:"],category:"people"},":person_getting_massage_tone1:":{uc_base:"1f486-1f3fb",uc_output:"1f486-1f3fb",uc_match:"1f486-1f3fb",uc_greedy:"1f486-1f3fb",shortnames:[":massage_tone1:"],category:"people"},":person_getting_massage_tone2:":{uc_base:"1f486-1f3fc",uc_output:"1f486-1f3fc",uc_match:"1f486-1f3fc",uc_greedy:"1f486-1f3fc",shortnames:[":massage_tone2:"],category:"people"},":person_getting_massage_tone3:":{uc_base:"1f486-1f3fd",uc_output:"1f486-1f3fd",uc_match:"1f486-1f3fd",uc_greedy:"1f486-1f3fd",shortnames:[":massage_tone3:"],category:"people"},":person_getting_massage_tone4:":{uc_base:"1f486-1f3fe",uc_output:"1f486-1f3fe",uc_match:"1f486-1f3fe",uc_greedy:"1f486-1f3fe",shortnames:[":massage_tone4:"],category:"people"},":person_getting_massage_tone5:":{uc_base:"1f486-1f3ff",uc_output:"1f486-1f3ff",uc_match:"1f486-1f3ff",uc_greedy:"1f486-1f3ff",shortnames:[":massage_tone5:"],category:"people"},":person_golfing_tone1:":{uc_base:"1f3cc-1f3fb",uc_output:"1f3cc-1f3fb",uc_match:"1f3cc-fe0f-1f3fb",uc_greedy:"1f3cc-fe0f-1f3fb",shortnames:[":person_golfing_light_skin_tone:"],category:"activity"},":person_golfing_tone2:":{uc_base:"1f3cc-1f3fc",uc_output:"1f3cc-1f3fc",uc_match:"1f3cc-fe0f-1f3fc",uc_greedy:"1f3cc-fe0f-1f3fc",shortnames:[":person_golfing_medium_light_skin_tone:"],category:"activity"},":person_golfing_tone3:":{uc_base:"1f3cc-1f3fd",uc_output:"1f3cc-1f3fd",uc_match:"1f3cc-fe0f-1f3fd",uc_greedy:"1f3cc-fe0f-1f3fd",shortnames:[":person_golfing_medium_skin_tone:"],category:"activity"},":person_golfing_tone4:":{uc_base:"1f3cc-1f3fe",uc_output:"1f3cc-1f3fe",uc_match:"1f3cc-fe0f-1f3fe",uc_greedy:"1f3cc-fe0f-1f3fe",shortnames:[":person_golfing_medium_dark_skin_tone:"],category:"activity"},":person_golfing_tone5:":{uc_base:"1f3cc-1f3ff",uc_output:"1f3cc-1f3ff",uc_match:"1f3cc-fe0f-1f3ff",uc_greedy:"1f3cc-fe0f-1f3ff",shortnames:[":person_golfing_dark_skin_tone:"],category:"activity"},":person_in_bed_tone1:":{uc_base:"1f6cc-1f3fb",uc_output:"1f6cc-1f3fb",uc_match:"1f6cc-1f3fb",uc_greedy:"1f6cc-1f3fb",shortnames:[":person_in_bed_light_skin_tone:"],category:"objects"},":person_in_bed_tone2:":{uc_base:"1f6cc-1f3fc",uc_output:"1f6cc-1f3fc",uc_match:"1f6cc-1f3fc",uc_greedy:"1f6cc-1f3fc",shortnames:[":person_in_bed_medium_light_skin_tone:"],category:"objects"},":person_in_bed_tone3:":{uc_base:"1f6cc-1f3fd",uc_output:"1f6cc-1f3fd",uc_match:"1f6cc-1f3fd",uc_greedy:"1f6cc-1f3fd",shortnames:[":person_in_bed_medium_skin_tone:"],category:"objects"},":person_in_bed_tone4:":{uc_base:"1f6cc-1f3fe",uc_output:"1f6cc-1f3fe",uc_match:"1f6cc-1f3fe",uc_greedy:"1f6cc-1f3fe",shortnames:[":person_in_bed_medium_dark_skin_tone:"],category:"objects"},":person_in_bed_tone5:":{uc_base:"1f6cc-1f3ff",uc_output:"1f6cc-1f3ff",uc_match:"1f6cc-1f3ff",uc_greedy:"1f6cc-1f3ff",shortnames:[":person_in_bed_dark_skin_tone:"],category:"objects"},":person_in_lotus_position_tone1:":{uc_base:"1f9d8-1f3fb",uc_output:"1f9d8-1f3fb",uc_match:"1f9d8-1f3fb",uc_greedy:"1f9d8-1f3fb",shortnames:[":person_in_lotus_position_light_skin_tone:"],category:"activity"},":person_in_lotus_position_tone2:":{uc_base:"1f9d8-1f3fc",uc_output:"1f9d8-1f3fc",uc_match:"1f9d8-1f3fc",uc_greedy:"1f9d8-1f3fc",shortnames:[":person_in_lotus_position_medium_light_skin_tone:"],category:"activity"},":person_in_lotus_position_tone3:":{uc_base:"1f9d8-1f3fd",uc_output:"1f9d8-1f3fd",uc_match:"1f9d8-1f3fd",uc_greedy:"1f9d8-1f3fd",shortnames:[":person_in_lotus_position_medium_skin_tone:"],category:"activity"},":person_in_lotus_position_tone4:":{uc_base:"1f9d8-1f3fe",uc_output:"1f9d8-1f3fe",uc_match:"1f9d8-1f3fe",uc_greedy:"1f9d8-1f3fe",shortnames:[":person_in_lotus_position_medium_dark_skin_tone:"],category:"activity"},":person_in_lotus_position_tone5:":{uc_base:"1f9d8-1f3ff",uc_output:"1f9d8-1f3ff",uc_match:"1f9d8-1f3ff",uc_greedy:"1f9d8-1f3ff",shortnames:[":person_in_lotus_position_dark_skin_tone:"],category:"activity"},":person_in_steamy_room_tone1:":{uc_base:"1f9d6-1f3fb",uc_output:"1f9d6-1f3fb",uc_match:"1f9d6-1f3fb",uc_greedy:"1f9d6-1f3fb",shortnames:[":person_in_steamy_room_light_skin_tone:"],category:"people"},":person_in_steamy_room_tone2:":{uc_base:"1f9d6-1f3fc",uc_output:"1f9d6-1f3fc",uc_match:"1f9d6-1f3fc",uc_greedy:"1f9d6-1f3fc",shortnames:[":person_in_steamy_room_medium_light_skin_tone:"],category:"people"},":person_in_steamy_room_tone3:":{uc_base:"1f9d6-1f3fd",uc_output:"1f9d6-1f3fd",uc_match:"1f9d6-1f3fd",uc_greedy:"1f9d6-1f3fd",shortnames:[":person_in_steamy_room_medium_skin_tone:"],category:"people"},":person_in_steamy_room_tone4:":{uc_base:"1f9d6-1f3fe",uc_output:"1f9d6-1f3fe",uc_match:"1f9d6-1f3fe",uc_greedy:"1f9d6-1f3fe",shortnames:[":person_in_steamy_room_medium_dark_skin_tone:"],category:"people"},":person_in_steamy_room_tone5:":{uc_base:"1f9d6-1f3ff",uc_output:"1f9d6-1f3ff",uc_match:"1f9d6-1f3ff",uc_greedy:"1f9d6-1f3ff",shortnames:[":person_in_steamy_room_dark_skin_tone:"],category:"people"},":person_juggling_tone1:":{uc_base:"1f939-1f3fb",uc_output:"1f939-1f3fb",uc_match:"1f939-1f3fb",uc_greedy:"1f939-1f3fb",shortnames:[":juggling_tone1:",":juggler_tone1:"],category:"activity"},":person_juggling_tone2:":{uc_base:"1f939-1f3fc",uc_output:"1f939-1f3fc",uc_match:"1f939-1f3fc",uc_greedy:"1f939-1f3fc",shortnames:[":juggling_tone2:",":juggler_tone2:"],category:"activity"},":person_juggling_tone3:":{uc_base:"1f939-1f3fd",uc_output:"1f939-1f3fd",uc_match:"1f939-1f3fd",uc_greedy:"1f939-1f3fd",shortnames:[":juggling_tone3:",":juggler_tone3:"],category:"activity"},":person_juggling_tone4:":{uc_base:"1f939-1f3fe",uc_output:"1f939-1f3fe",uc_match:"1f939-1f3fe",uc_greedy:"1f939-1f3fe",shortnames:[":juggling_tone4:",":juggler_tone4:"],category:"activity"},":person_juggling_tone5:":{uc_base:"1f939-1f3ff",uc_output:"1f939-1f3ff",uc_match:"1f939-1f3ff",uc_greedy:"1f939-1f3ff",shortnames:[":juggling_tone5:",":juggler_tone5:"],category:"activity"},":person_lifting_weights_tone1:":{uc_base:"1f3cb-1f3fb",uc_output:"1f3cb-1f3fb",uc_match:"1f3cb-fe0f-1f3fb",uc_greedy:"1f3cb-fe0f-1f3fb",shortnames:[":lifter_tone1:",":weight_lifter_tone1:"],category:"activity"},":person_lifting_weights_tone2:":{uc_base:"1f3cb-1f3fc",uc_output:"1f3cb-1f3fc",uc_match:"1f3cb-fe0f-1f3fc",uc_greedy:"1f3cb-fe0f-1f3fc",shortnames:[":lifter_tone2:",":weight_lifter_tone2:"],category:"activity"},":person_lifting_weights_tone3:":{uc_base:"1f3cb-1f3fd",uc_output:"1f3cb-1f3fd",uc_match:"1f3cb-fe0f-1f3fd",uc_greedy:"1f3cb-fe0f-1f3fd",shortnames:[":lifter_tone3:",":weight_lifter_tone3:"],category:"activity"},":person_lifting_weights_tone4:":{uc_base:"1f3cb-1f3fe",uc_output:"1f3cb-1f3fe",uc_match:"1f3cb-fe0f-1f3fe",uc_greedy:"1f3cb-fe0f-1f3fe",shortnames:[":lifter_tone4:",":weight_lifter_tone4:"],category:"activity"},":person_lifting_weights_tone5:":{uc_base:"1f3cb-1f3ff",uc_output:"1f3cb-1f3ff",uc_match:"1f3cb-fe0f-1f3ff",uc_greedy:"1f3cb-fe0f-1f3ff",shortnames:[":lifter_tone5:",":weight_lifter_tone5:"],category:"activity"},":person_mountain_biking_tone1:":{uc_base:"1f6b5-1f3fb",uc_output:"1f6b5-1f3fb",uc_match:"1f6b5-1f3fb",uc_greedy:"1f6b5-1f3fb",shortnames:[":mountain_bicyclist_tone1:"],category:"activity"},":person_mountain_biking_tone2:":{uc_base:"1f6b5-1f3fc",uc_output:"1f6b5-1f3fc",uc_match:"1f6b5-1f3fc",uc_greedy:"1f6b5-1f3fc",shortnames:[":mountain_bicyclist_tone2:"],category:"activity"},":person_mountain_biking_tone3:":{uc_base:"1f6b5-1f3fd",uc_output:"1f6b5-1f3fd",uc_match:"1f6b5-1f3fd",uc_greedy:"1f6b5-1f3fd",shortnames:[":mountain_bicyclist_tone3:"],category:"activity"},":person_mountain_biking_tone4:":{uc_base:"1f6b5-1f3fe",uc_output:"1f6b5-1f3fe",uc_match:"1f6b5-1f3fe",uc_greedy:"1f6b5-1f3fe",shortnames:[":mountain_bicyclist_tone4:"],category:"activity"},":person_mountain_biking_tone5:":{uc_base:"1f6b5-1f3ff",uc_output:"1f6b5-1f3ff",uc_match:"1f6b5-1f3ff",uc_greedy:"1f6b5-1f3ff",shortnames:[":mountain_bicyclist_tone5:"],category:"activity"},":person_playing_handball_tone1:":{uc_base:"1f93e-1f3fb",uc_output:"1f93e-1f3fb",uc_match:"1f93e-1f3fb",uc_greedy:"1f93e-1f3fb",shortnames:[":handball_tone1:"],category:"activity"},":person_playing_handball_tone2:":{uc_base:"1f93e-1f3fc",uc_output:"1f93e-1f3fc",uc_match:"1f93e-1f3fc",uc_greedy:"1f93e-1f3fc",shortnames:[":handball_tone2:"],category:"activity"},":person_playing_handball_tone3:":{uc_base:"1f93e-1f3fd",uc_output:"1f93e-1f3fd",uc_match:"1f93e-1f3fd",uc_greedy:"1f93e-1f3fd",shortnames:[":handball_tone3:"],category:"activity"},":person_playing_handball_tone4:":{uc_base:"1f93e-1f3fe",uc_output:"1f93e-1f3fe",uc_match:"1f93e-1f3fe",uc_greedy:"1f93e-1f3fe",shortnames:[":handball_tone4:"],category:"activity"},":person_playing_handball_tone5:":{uc_base:"1f93e-1f3ff",uc_output:"1f93e-1f3ff",uc_match:"1f93e-1f3ff",uc_greedy:"1f93e-1f3ff",shortnames:[":handball_tone5:"],category:"activity"},":person_playing_water_polo_tone1:":{uc_base:"1f93d-1f3fb",uc_output:"1f93d-1f3fb",uc_match:"1f93d-1f3fb",uc_greedy:"1f93d-1f3fb",shortnames:[":water_polo_tone1:"],category:"activity"},":person_playing_water_polo_tone2:":{uc_base:"1f93d-1f3fc",uc_output:"1f93d-1f3fc",uc_match:"1f93d-1f3fc",uc_greedy:"1f93d-1f3fc",shortnames:[":water_polo_tone2:"],category:"activity"},":person_playing_water_polo_tone3:":{uc_base:"1f93d-1f3fd",uc_output:"1f93d-1f3fd",uc_match:"1f93d-1f3fd",uc_greedy:"1f93d-1f3fd",shortnames:[":water_polo_tone3:"],category:"activity"},":person_playing_water_polo_tone4:":{uc_base:"1f93d-1f3fe",uc_output:"1f93d-1f3fe",uc_match:"1f93d-1f3fe",uc_greedy:"1f93d-1f3fe",shortnames:[":water_polo_tone4:"],category:"activity"},":person_playing_water_polo_tone5:":{uc_base:"1f93d-1f3ff",uc_output:"1f93d-1f3ff",uc_match:"1f93d-1f3ff",uc_greedy:"1f93d-1f3ff",shortnames:[":water_polo_tone5:"],category:"activity"},":person_pouting_tone1:":{uc_base:"1f64e-1f3fb",uc_output:"1f64e-1f3fb",uc_match:"1f64e-1f3fb",uc_greedy:"1f64e-1f3fb",shortnames:[":person_with_pouting_face_tone1:"],category:"people"},":person_pouting_tone2:":{uc_base:"1f64e-1f3fc",uc_output:"1f64e-1f3fc",uc_match:"1f64e-1f3fc",uc_greedy:"1f64e-1f3fc",shortnames:[":person_with_pouting_face_tone2:"],category:"people"},":person_pouting_tone3:":{uc_base:"1f64e-1f3fd",uc_output:"1f64e-1f3fd",uc_match:"1f64e-1f3fd",uc_greedy:"1f64e-1f3fd",shortnames:[":person_with_pouting_face_tone3:"],category:"people"},":person_pouting_tone4:":{uc_base:"1f64e-1f3fe",uc_output:"1f64e-1f3fe",uc_match:"1f64e-1f3fe",uc_greedy:"1f64e-1f3fe",shortnames:[":person_with_pouting_face_tone4:"],category:"people"},":person_pouting_tone5:":{uc_base:"1f64e-1f3ff",uc_output:"1f64e-1f3ff",uc_match:"1f64e-1f3ff",uc_greedy:"1f64e-1f3ff",shortnames:[":person_with_pouting_face_tone5:"],category:"people"},":person_raising_hand_tone1:":{uc_base:"1f64b-1f3fb",uc_output:"1f64b-1f3fb",uc_match:"1f64b-1f3fb",uc_greedy:"1f64b-1f3fb",shortnames:[":raising_hand_tone1:"],category:"people"},":person_raising_hand_tone2:":{uc_base:"1f64b-1f3fc",uc_output:"1f64b-1f3fc",uc_match:"1f64b-1f3fc",uc_greedy:"1f64b-1f3fc",shortnames:[":raising_hand_tone2:"],category:"people"},":person_raising_hand_tone3:":{uc_base:"1f64b-1f3fd",uc_output:"1f64b-1f3fd",uc_match:"1f64b-1f3fd",uc_greedy:"1f64b-1f3fd",shortnames:[":raising_hand_tone3:"],category:"people"},":person_raising_hand_tone4:":{uc_base:"1f64b-1f3fe",uc_output:"1f64b-1f3fe",uc_match:"1f64b-1f3fe",uc_greedy:"1f64b-1f3fe",shortnames:[":raising_hand_tone4:"],category:"people"},":person_raising_hand_tone5:":{uc_base:"1f64b-1f3ff",uc_output:"1f64b-1f3ff",uc_match:"1f64b-1f3ff",uc_greedy:"1f64b-1f3ff",shortnames:[":raising_hand_tone5:"],category:"people"},":person_rowing_boat_tone1:":{uc_base:"1f6a3-1f3fb",uc_output:"1f6a3-1f3fb",uc_match:"1f6a3-1f3fb",uc_greedy:"1f6a3-1f3fb",shortnames:[":rowboat_tone1:"],category:"activity"},":person_rowing_boat_tone2:":{uc_base:"1f6a3-1f3fc",uc_output:"1f6a3-1f3fc",uc_match:"1f6a3-1f3fc",uc_greedy:"1f6a3-1f3fc",shortnames:[":rowboat_tone2:"],category:"activity"},":person_rowing_boat_tone3:":{uc_base:"1f6a3-1f3fd",uc_output:"1f6a3-1f3fd",uc_match:"1f6a3-1f3fd",uc_greedy:"1f6a3-1f3fd",shortnames:[":rowboat_tone3:"],category:"activity"},":person_rowing_boat_tone4:":{uc_base:"1f6a3-1f3fe",uc_output:"1f6a3-1f3fe",uc_match:"1f6a3-1f3fe",uc_greedy:"1f6a3-1f3fe",shortnames:[":rowboat_tone4:"],category:"activity"},":person_rowing_boat_tone5:":{uc_base:"1f6a3-1f3ff",uc_output:"1f6a3-1f3ff",uc_match:"1f6a3-1f3ff",uc_greedy:"1f6a3-1f3ff",shortnames:[":rowboat_tone5:"],category:"activity"},":person_running_tone1:":{uc_base:"1f3c3-1f3fb",uc_output:"1f3c3-1f3fb",uc_match:"1f3c3-1f3fb",uc_greedy:"1f3c3-1f3fb",shortnames:[":runner_tone1:"],category:"people"},":person_running_tone2:":{uc_base:"1f3c3-1f3fc",uc_output:"1f3c3-1f3fc",uc_match:"1f3c3-1f3fc",uc_greedy:"1f3c3-1f3fc",shortnames:[":runner_tone2:"],category:"people"},":person_running_tone3:":{uc_base:"1f3c3-1f3fd",uc_output:"1f3c3-1f3fd",uc_match:"1f3c3-1f3fd",uc_greedy:"1f3c3-1f3fd",shortnames:[":runner_tone3:"],category:"people"},":person_running_tone4:":{uc_base:"1f3c3-1f3fe",uc_output:"1f3c3-1f3fe",uc_match:"1f3c3-1f3fe",uc_greedy:"1f3c3-1f3fe",shortnames:[":runner_tone4:"],category:"people"},":person_running_tone5:":{uc_base:"1f3c3-1f3ff",uc_output:"1f3c3-1f3ff",uc_match:"1f3c3-1f3ff",uc_greedy:"1f3c3-1f3ff",shortnames:[":runner_tone5:"],category:"people"},":person_shrugging_tone1:":{uc_base:"1f937-1f3fb",uc_output:"1f937-1f3fb",uc_match:"1f937-1f3fb",uc_greedy:"1f937-1f3fb",shortnames:[":shrug_tone1:"],category:"people"},":person_shrugging_tone2:":{uc_base:"1f937-1f3fc",uc_output:"1f937-1f3fc",uc_match:"1f937-1f3fc",uc_greedy:"1f937-1f3fc",shortnames:[":shrug_tone2:"],category:"people"},":person_shrugging_tone3:":{uc_base:"1f937-1f3fd",uc_output:"1f937-1f3fd",uc_match:"1f937-1f3fd",uc_greedy:"1f937-1f3fd",shortnames:[":shrug_tone3:"],category:"people"},":person_shrugging_tone4:":{uc_base:"1f937-1f3fe",uc_output:"1f937-1f3fe",uc_match:"1f937-1f3fe",uc_greedy:"1f937-1f3fe",shortnames:[":shrug_tone4:"],category:"people"},":person_shrugging_tone5:":{uc_base:"1f937-1f3ff",uc_output:"1f937-1f3ff",uc_match:"1f937-1f3ff",uc_greedy:"1f937-1f3ff",shortnames:[":shrug_tone5:"],category:"people"},":person_surfing_tone1:":{uc_base:"1f3c4-1f3fb",uc_output:"1f3c4-1f3fb",uc_match:"1f3c4-1f3fb",uc_greedy:"1f3c4-1f3fb",shortnames:[":surfer_tone1:"],category:"activity"},":person_surfing_tone2:":{uc_base:"1f3c4-1f3fc",uc_output:"1f3c4-1f3fc",uc_match:"1f3c4-1f3fc",uc_greedy:"1f3c4-1f3fc",shortnames:[":surfer_tone2:"],category:"activity"},":person_surfing_tone3:":{uc_base:"1f3c4-1f3fd",uc_output:"1f3c4-1f3fd",uc_match:"1f3c4-1f3fd",uc_greedy:"1f3c4-1f3fd",shortnames:[":surfer_tone3:"],category:"activity"},":person_surfing_tone4:":{uc_base:"1f3c4-1f3fe",uc_output:"1f3c4-1f3fe",uc_match:"1f3c4-1f3fe",uc_greedy:"1f3c4-1f3fe",shortnames:[":surfer_tone4:"],category:"activity"},":person_surfing_tone5:":{uc_base:"1f3c4-1f3ff",uc_output:"1f3c4-1f3ff",uc_match:"1f3c4-1f3ff",uc_greedy:"1f3c4-1f3ff",shortnames:[":surfer_tone5:"],category:"activity"},":person_swimming_tone1:":{uc_base:"1f3ca-1f3fb",uc_output:"1f3ca-1f3fb",uc_match:"1f3ca-1f3fb",uc_greedy:"1f3ca-1f3fb",shortnames:[":swimmer_tone1:"],category:"activity"},":person_swimming_tone2:":{uc_base:"1f3ca-1f3fc",uc_output:"1f3ca-1f3fc",uc_match:"1f3ca-1f3fc",uc_greedy:"1f3ca-1f3fc",shortnames:[":swimmer_tone2:"],category:"activity"},":person_swimming_tone3:":{uc_base:"1f3ca-1f3fd",uc_output:"1f3ca-1f3fd",uc_match:"1f3ca-1f3fd",uc_greedy:"1f3ca-1f3fd",shortnames:[":swimmer_tone3:"],category:"activity"},":person_swimming_tone4:":{uc_base:"1f3ca-1f3fe",uc_output:"1f3ca-1f3fe",uc_match:"1f3ca-1f3fe",uc_greedy:"1f3ca-1f3fe",shortnames:[":swimmer_tone4:"],category:"activity"},":person_swimming_tone5:":{uc_base:"1f3ca-1f3ff",uc_output:"1f3ca-1f3ff",uc_match:"1f3ca-1f3ff",uc_greedy:"1f3ca-1f3ff",shortnames:[":swimmer_tone5:"],category:"activity"},":person_tipping_hand_tone1:":{uc_base:"1f481-1f3fb",uc_output:"1f481-1f3fb",uc_match:"1f481-1f3fb",uc_greedy:"1f481-1f3fb",shortnames:[":information_desk_person_tone1:"],category:"people"},":person_tipping_hand_tone2:":{uc_base:"1f481-1f3fc",uc_output:"1f481-1f3fc",uc_match:"1f481-1f3fc",uc_greedy:"1f481-1f3fc",shortnames:[":information_desk_person_tone2:"],category:"people"},":person_tipping_hand_tone3:":{uc_base:"1f481-1f3fd",uc_output:"1f481-1f3fd",uc_match:"1f481-1f3fd",uc_greedy:"1f481-1f3fd",shortnames:[":information_desk_person_tone3:"],category:"people"},":person_tipping_hand_tone4:":{uc_base:"1f481-1f3fe",uc_output:"1f481-1f3fe",uc_match:"1f481-1f3fe",uc_greedy:"1f481-1f3fe",shortnames:[":information_desk_person_tone4:"],category:"people"},":person_tipping_hand_tone5:":{uc_base:"1f481-1f3ff",uc_output:"1f481-1f3ff",uc_match:"1f481-1f3ff",uc_greedy:"1f481-1f3ff",shortnames:[":information_desk_person_tone5:"],category:"people"},":person_walking_tone1:":{uc_base:"1f6b6-1f3fb",uc_output:"1f6b6-1f3fb",uc_match:"1f6b6-1f3fb",uc_greedy:"1f6b6-1f3fb",shortnames:[":walking_tone1:"],category:"people"},":person_walking_tone2:":{uc_base:"1f6b6-1f3fc",uc_output:"1f6b6-1f3fc",uc_match:"1f6b6-1f3fc",uc_greedy:"1f6b6-1f3fc",shortnames:[":walking_tone2:"],category:"people"},":person_walking_tone3:":{uc_base:"1f6b6-1f3fd",uc_output:"1f6b6-1f3fd",uc_match:"1f6b6-1f3fd",uc_greedy:"1f6b6-1f3fd",shortnames:[":walking_tone3:"],category:"people"},":person_walking_tone4:":{uc_base:"1f6b6-1f3fe",uc_output:"1f6b6-1f3fe",uc_match:"1f6b6-1f3fe",uc_greedy:"1f6b6-1f3fe",shortnames:[":walking_tone4:"],category:"people"},":person_walking_tone5:":{uc_base:"1f6b6-1f3ff",uc_output:"1f6b6-1f3ff",uc_match:"1f6b6-1f3ff",uc_greedy:"1f6b6-1f3ff",shortnames:[":walking_tone5:"],category:"people"},":person_wearing_turban_tone1:":{uc_base:"1f473-1f3fb",uc_output:"1f473-1f3fb",uc_match:"1f473-1f3fb",uc_greedy:"1f473-1f3fb",shortnames:[":man_with_turban_tone1:"],category:"people"},":person_wearing_turban_tone2:":{uc_base:"1f473-1f3fc",uc_output:"1f473-1f3fc",uc_match:"1f473-1f3fc",uc_greedy:"1f473-1f3fc",shortnames:[":man_with_turban_tone2:"],category:"people"},":person_wearing_turban_tone3:":{uc_base:"1f473-1f3fd",uc_output:"1f473-1f3fd",uc_match:"1f473-1f3fd",uc_greedy:"1f473-1f3fd",shortnames:[":man_with_turban_tone3:"],category:"people"},":person_wearing_turban_tone4:":{uc_base:"1f473-1f3fe",uc_output:"1f473-1f3fe",uc_match:"1f473-1f3fe",uc_greedy:"1f473-1f3fe",shortnames:[":man_with_turban_tone4:"],category:"people"},":person_wearing_turban_tone5:":{uc_base:"1f473-1f3ff",uc_output:"1f473-1f3ff",uc_match:"1f473-1f3ff",uc_greedy:"1f473-1f3ff",shortnames:[":man_with_turban_tone5:"],category:"people"},":point_down_tone1:":{uc_base:"1f447-1f3fb",uc_output:"1f447-1f3fb",uc_match:"1f447-1f3fb",uc_greedy:"1f447-1f3fb",shortnames:[],category:"people"},":point_down_tone2:":{uc_base:"1f447-1f3fc",uc_output:"1f447-1f3fc",uc_match:"1f447-1f3fc",uc_greedy:"1f447-1f3fc",shortnames:[],category:"people"},":point_down_tone3:":{uc_base:"1f447-1f3fd",uc_output:"1f447-1f3fd",uc_match:"1f447-1f3fd",uc_greedy:"1f447-1f3fd",shortnames:[],category:"people"},":point_down_tone4:":{uc_base:"1f447-1f3fe",uc_output:"1f447-1f3fe",uc_match:"1f447-1f3fe",uc_greedy:"1f447-1f3fe",shortnames:[],category:"people"},":point_down_tone5:":{uc_base:"1f447-1f3ff",uc_output:"1f447-1f3ff",uc_match:"1f447-1f3ff",uc_greedy:"1f447-1f3ff",shortnames:[],category:"people"},":point_left_tone1:":{uc_base:"1f448-1f3fb",uc_output:"1f448-1f3fb",uc_match:"1f448-1f3fb",uc_greedy:"1f448-1f3fb",shortnames:[],category:"people"},":point_left_tone2:":{uc_base:"1f448-1f3fc",uc_output:"1f448-1f3fc",uc_match:"1f448-1f3fc",uc_greedy:"1f448-1f3fc",shortnames:[],category:"people"},":point_left_tone3:":{uc_base:"1f448-1f3fd",uc_output:"1f448-1f3fd",uc_match:"1f448-1f3fd",uc_greedy:"1f448-1f3fd",shortnames:[],category:"people"},":point_left_tone4:":{uc_base:"1f448-1f3fe",uc_output:"1f448-1f3fe",uc_match:"1f448-1f3fe",uc_greedy:"1f448-1f3fe",shortnames:[],category:"people"},":point_left_tone5:":{uc_base:"1f448-1f3ff",uc_output:"1f448-1f3ff",uc_match:"1f448-1f3ff",uc_greedy:"1f448-1f3ff",shortnames:[],category:"people"},":point_right_tone1:":{uc_base:"1f449-1f3fb",uc_output:"1f449-1f3fb",uc_match:"1f449-1f3fb",uc_greedy:"1f449-1f3fb",shortnames:[],category:"people"},":point_right_tone2:":{uc_base:"1f449-1f3fc",uc_output:"1f449-1f3fc",uc_match:"1f449-1f3fc",uc_greedy:"1f449-1f3fc",shortnames:[],category:"people"},":point_right_tone3:":{uc_base:"1f449-1f3fd",uc_output:"1f449-1f3fd",uc_match:"1f449-1f3fd",uc_greedy:"1f449-1f3fd",shortnames:[],category:"people"},":point_right_tone4:":{uc_base:"1f449-1f3fe",uc_output:"1f449-1f3fe",uc_match:"1f449-1f3fe",uc_greedy:"1f449-1f3fe",shortnames:[],category:"people"},":point_right_tone5:":{uc_base:"1f449-1f3ff",uc_output:"1f449-1f3ff",uc_match:"1f449-1f3ff",uc_greedy:"1f449-1f3ff",shortnames:[],category:"people"},":point_up_2_tone1:":{uc_base:"1f446-1f3fb",uc_output:"1f446-1f3fb",uc_match:"1f446-1f3fb",uc_greedy:"1f446-1f3fb",shortnames:[],category:"people"},":point_up_2_tone2:":{uc_base:"1f446-1f3fc",uc_output:"1f446-1f3fc",uc_match:"1f446-1f3fc",uc_greedy:"1f446-1f3fc",shortnames:[],category:"people"},":point_up_2_tone3:":{uc_base:"1f446-1f3fd",uc_output:"1f446-1f3fd",uc_match:"1f446-1f3fd",uc_greedy:"1f446-1f3fd",shortnames:[],category:"people"},":point_up_2_tone4:":{uc_base:"1f446-1f3fe",uc_output:"1f446-1f3fe",uc_match:"1f446-1f3fe",uc_greedy:"1f446-1f3fe",shortnames:[],category:"people"},":point_up_2_tone5:":{uc_base:"1f446-1f3ff",uc_output:"1f446-1f3ff",uc_match:"1f446-1f3ff",uc_greedy:"1f446-1f3ff",shortnames:[],category:"people"},":police_officer_tone1:":{uc_base:"1f46e-1f3fb",uc_output:"1f46e-1f3fb",uc_match:"1f46e-1f3fb",uc_greedy:"1f46e-1f3fb",shortnames:[":cop_tone1:"],category:"people"},":police_officer_tone2:":{uc_base:"1f46e-1f3fc",uc_output:"1f46e-1f3fc",uc_match:"1f46e-1f3fc",uc_greedy:"1f46e-1f3fc",shortnames:[":cop_tone2:"],category:"people"},":police_officer_tone3:":{uc_base:"1f46e-1f3fd",uc_output:"1f46e-1f3fd",uc_match:"1f46e-1f3fd",uc_greedy:"1f46e-1f3fd",shortnames:[":cop_tone3:"],category:"people"},":police_officer_tone4:":{uc_base:"1f46e-1f3fe",uc_output:"1f46e-1f3fe",uc_match:"1f46e-1f3fe",uc_greedy:"1f46e-1f3fe",shortnames:[":cop_tone4:"],category:"people"},":police_officer_tone5:":{uc_base:"1f46e-1f3ff",uc_output:"1f46e-1f3ff",uc_match:"1f46e-1f3ff",uc_greedy:"1f46e-1f3ff",shortnames:[":cop_tone5:"],category:"people"},":pray_tone1:":{uc_base:"1f64f-1f3fb",uc_output:"1f64f-1f3fb",uc_match:"1f64f-1f3fb",uc_greedy:"1f64f-1f3fb",shortnames:[],category:"people"},":pray_tone2:":{uc_base:"1f64f-1f3fc",uc_output:"1f64f-1f3fc",uc_match:"1f64f-1f3fc",uc_greedy:"1f64f-1f3fc",shortnames:[],category:"people"},":pray_tone3:":{uc_base:"1f64f-1f3fd",uc_output:"1f64f-1f3fd",uc_match:"1f64f-1f3fd",uc_greedy:"1f64f-1f3fd",shortnames:[],category:"people"},":pray_tone4:":{uc_base:"1f64f-1f3fe",uc_output:"1f64f-1f3fe",uc_match:"1f64f-1f3fe",uc_greedy:"1f64f-1f3fe",shortnames:[],category:"people"},":pray_tone5:":{uc_base:"1f64f-1f3ff",uc_output:"1f64f-1f3ff",uc_match:"1f64f-1f3ff",uc_greedy:"1f64f-1f3ff",shortnames:[],category:"people"},":pregnant_woman_tone1:":{uc_base:"1f930-1f3fb",uc_output:"1f930-1f3fb",uc_match:"1f930-1f3fb",uc_greedy:"1f930-1f3fb",shortnames:[":expecting_woman_tone1:"],category:"people"},":pregnant_woman_tone2:":{uc_base:"1f930-1f3fc",uc_output:"1f930-1f3fc",uc_match:"1f930-1f3fc",uc_greedy:"1f930-1f3fc",shortnames:[":expecting_woman_tone2:"],category:"people"},":pregnant_woman_tone3:":{uc_base:"1f930-1f3fd",uc_output:"1f930-1f3fd",uc_match:"1f930-1f3fd",uc_greedy:"1f930-1f3fd",shortnames:[":expecting_woman_tone3:"],category:"people"},":pregnant_woman_tone4:":{uc_base:"1f930-1f3fe",uc_output:"1f930-1f3fe",uc_match:"1f930-1f3fe",uc_greedy:"1f930-1f3fe",shortnames:[":expecting_woman_tone4:"],category:"people"},":pregnant_woman_tone5:":{uc_base:"1f930-1f3ff",uc_output:"1f930-1f3ff",uc_match:"1f930-1f3ff",uc_greedy:"1f930-1f3ff",shortnames:[":expecting_woman_tone5:"],category:"people"},":prince_tone1:":{uc_base:"1f934-1f3fb",uc_output:"1f934-1f3fb",uc_match:"1f934-1f3fb",uc_greedy:"1f934-1f3fb",shortnames:[],category:"people"},":prince_tone2:":{uc_base:"1f934-1f3fc",uc_output:"1f934-1f3fc",uc_match:"1f934-1f3fc",uc_greedy:"1f934-1f3fc",shortnames:[],category:"people"},":prince_tone3:":{uc_base:"1f934-1f3fd",uc_output:"1f934-1f3fd",uc_match:"1f934-1f3fd",uc_greedy:"1f934-1f3fd",shortnames:[],category:"people"},":prince_tone4:":{uc_base:"1f934-1f3fe",uc_output:"1f934-1f3fe",uc_match:"1f934-1f3fe",uc_greedy:"1f934-1f3fe",shortnames:[],category:"people"},":prince_tone5:":{uc_base:"1f934-1f3ff",uc_output:"1f934-1f3ff",uc_match:"1f934-1f3ff",uc_greedy:"1f934-1f3ff",shortnames:[],category:"people"},":princess_tone1:":{uc_base:"1f478-1f3fb",uc_output:"1f478-1f3fb",uc_match:"1f478-1f3fb",uc_greedy:"1f478-1f3fb",shortnames:[],category:"people"},":princess_tone2:":{uc_base:"1f478-1f3fc",uc_output:"1f478-1f3fc",uc_match:"1f478-1f3fc",uc_greedy:"1f478-1f3fc",shortnames:[],category:"people"},":princess_tone3:":{uc_base:"1f478-1f3fd",uc_output:"1f478-1f3fd",uc_match:"1f478-1f3fd",uc_greedy:"1f478-1f3fd",shortnames:[],category:"people"},":princess_tone4:":{uc_base:"1f478-1f3fe",uc_output:"1f478-1f3fe",uc_match:"1f478-1f3fe",uc_greedy:"1f478-1f3fe",shortnames:[],category:"people"},":princess_tone5:":{uc_base:"1f478-1f3ff",uc_output:"1f478-1f3ff",uc_match:"1f478-1f3ff",uc_greedy:"1f478-1f3ff",shortnames:[],category:"people"},":punch_tone1:":{uc_base:"1f44a-1f3fb",uc_output:"1f44a-1f3fb",uc_match:"1f44a-1f3fb",uc_greedy:"1f44a-1f3fb",shortnames:[],category:"people"},":punch_tone2:":{uc_base:"1f44a-1f3fc",uc_output:"1f44a-1f3fc",uc_match:"1f44a-1f3fc",uc_greedy:"1f44a-1f3fc",shortnames:[],category:"people"},":punch_tone3:":{uc_base:"1f44a-1f3fd",uc_output:"1f44a-1f3fd",uc_match:"1f44a-1f3fd",uc_greedy:"1f44a-1f3fd",shortnames:[],category:"people"},":punch_tone4:":{uc_base:"1f44a-1f3fe",uc_output:"1f44a-1f3fe",uc_match:"1f44a-1f3fe",uc_greedy:"1f44a-1f3fe",shortnames:[],category:"people"},":punch_tone5:":{uc_base:"1f44a-1f3ff",uc_output:"1f44a-1f3ff",uc_match:"1f44a-1f3ff",uc_greedy:"1f44a-1f3ff",shortnames:[],category:"people"},":raised_back_of_hand_tone1:":{uc_base:"1f91a-1f3fb",uc_output:"1f91a-1f3fb",uc_match:"1f91a-1f3fb",uc_greedy:"1f91a-1f3fb",shortnames:[":back_of_hand_tone1:"],category:"people"},":raised_back_of_hand_tone2:":{uc_base:"1f91a-1f3fc",uc_output:"1f91a-1f3fc",uc_match:"1f91a-1f3fc",uc_greedy:"1f91a-1f3fc",shortnames:[":back_of_hand_tone2:"],category:"people"},":raised_back_of_hand_tone3:":{uc_base:"1f91a-1f3fd",uc_output:"1f91a-1f3fd",uc_match:"1f91a-1f3fd",uc_greedy:"1f91a-1f3fd",shortnames:[":back_of_hand_tone3:"],category:"people"},":raised_back_of_hand_tone4:":{uc_base:"1f91a-1f3fe",uc_output:"1f91a-1f3fe",uc_match:"1f91a-1f3fe",uc_greedy:"1f91a-1f3fe",shortnames:[":back_of_hand_tone4:"],category:"people"},":raised_back_of_hand_tone5:":{uc_base:"1f91a-1f3ff",uc_output:"1f91a-1f3ff",uc_match:"1f91a-1f3ff",uc_greedy:"1f91a-1f3ff",shortnames:[":back_of_hand_tone5:"],category:"people"},":raised_hands_tone1:":{uc_base:"1f64c-1f3fb",uc_output:"1f64c-1f3fb",uc_match:"1f64c-1f3fb",uc_greedy:"1f64c-1f3fb",shortnames:[],category:"people"},":raised_hands_tone2:":{uc_base:"1f64c-1f3fc",uc_output:"1f64c-1f3fc",uc_match:"1f64c-1f3fc",uc_greedy:"1f64c-1f3fc",shortnames:[],category:"people"},":raised_hands_tone3:":{uc_base:"1f64c-1f3fd",uc_output:"1f64c-1f3fd",uc_match:"1f64c-1f3fd",uc_greedy:"1f64c-1f3fd",shortnames:[],category:"people"},":raised_hands_tone4:":{uc_base:"1f64c-1f3fe",uc_output:"1f64c-1f3fe",uc_match:"1f64c-1f3fe",uc_greedy:"1f64c-1f3fe",shortnames:[],category:"people"},":raised_hands_tone5:":{uc_base:"1f64c-1f3ff",uc_output:"1f64c-1f3ff",uc_match:"1f64c-1f3ff",uc_greedy:"1f64c-1f3ff",shortnames:[],category:"people"},":right_facing_fist_tone1:":{uc_base:"1f91c-1f3fb",uc_output:"1f91c-1f3fb",uc_match:"1f91c-1f3fb",uc_greedy:"1f91c-1f3fb",shortnames:[":right_fist_tone1:"],category:"people"},":right_facing_fist_tone2:":{uc_base:"1f91c-1f3fc",uc_output:"1f91c-1f3fc",uc_match:"1f91c-1f3fc",uc_greedy:"1f91c-1f3fc",shortnames:[":right_fist_tone2:"],category:"people"},":right_facing_fist_tone3:":{uc_base:"1f91c-1f3fd",uc_output:"1f91c-1f3fd",uc_match:"1f91c-1f3fd",uc_greedy:"1f91c-1f3fd",shortnames:[":right_fist_tone3:"],category:"people"},":right_facing_fist_tone4:":{uc_base:"1f91c-1f3fe",uc_output:"1f91c-1f3fe",uc_match:"1f91c-1f3fe",uc_greedy:"1f91c-1f3fe",shortnames:[":right_fist_tone4:"],category:"people"},":right_facing_fist_tone5:":{uc_base:"1f91c-1f3ff",uc_output:"1f91c-1f3ff",uc_match:"1f91c-1f3ff",uc_greedy:"1f91c-1f3ff",shortnames:[":right_fist_tone5:"],category:"people"},":santa_tone1:":{uc_base:"1f385-1f3fb",uc_output:"1f385-1f3fb",uc_match:"1f385-1f3fb",uc_greedy:"1f385-1f3fb",shortnames:[],category:"people"},":santa_tone2:":{uc_base:"1f385-1f3fc",uc_output:"1f385-1f3fc",uc_match:"1f385-1f3fc",uc_greedy:"1f385-1f3fc",shortnames:[],category:"people"},":santa_tone3:":{uc_base:"1f385-1f3fd",uc_output:"1f385-1f3fd",uc_match:"1f385-1f3fd",uc_greedy:"1f385-1f3fd",shortnames:[],category:"people"},":santa_tone4:":{uc_base:"1f385-1f3fe",uc_output:"1f385-1f3fe",uc_match:"1f385-1f3fe",uc_greedy:"1f385-1f3fe",shortnames:[],category:"people"},":santa_tone5:":{uc_base:"1f385-1f3ff",uc_output:"1f385-1f3ff",uc_match:"1f385-1f3ff",uc_greedy:"1f385-1f3ff",shortnames:[],category:"people"},":selfie_tone1:":{uc_base:"1f933-1f3fb",uc_output:"1f933-1f3fb",uc_match:"1f933-1f3fb",uc_greedy:"1f933-1f3fb",shortnames:[],category:"people"},":selfie_tone2:":{uc_base:"1f933-1f3fc",uc_output:"1f933-1f3fc",uc_match:"1f933-1f3fc",uc_greedy:"1f933-1f3fc",shortnames:[],category:"people"},":selfie_tone3:":{uc_base:"1f933-1f3fd",uc_output:"1f933-1f3fd",uc_match:"1f933-1f3fd",uc_greedy:"1f933-1f3fd",shortnames:[],category:"people"},":selfie_tone4:":{uc_base:"1f933-1f3fe",uc_output:"1f933-1f3fe",uc_match:"1f933-1f3fe",uc_greedy:"1f933-1f3fe",shortnames:[],category:"people"},":selfie_tone5:":{uc_base:"1f933-1f3ff",uc_output:"1f933-1f3ff",uc_match:"1f933-1f3ff",uc_greedy:"1f933-1f3ff",shortnames:[],category:"people"},":snowboarder_tone1:":{uc_base:"1f3c2-1f3fb",uc_output:"1f3c2-1f3fb",uc_match:"1f3c2-1f3fb",uc_greedy:"1f3c2-1f3fb",shortnames:[":snowboarder_light_skin_tone:"],category:"activity"},":snowboarder_tone2:":{uc_base:"1f3c2-1f3fc",uc_output:"1f3c2-1f3fc",uc_match:"1f3c2-1f3fc",uc_greedy:"1f3c2-1f3fc",shortnames:[":snowboarder_medium_light_skin_tone:"],category:"activity"},":snowboarder_tone3:":{uc_base:"1f3c2-1f3fd",uc_output:"1f3c2-1f3fd",uc_match:"1f3c2-1f3fd",uc_greedy:"1f3c2-1f3fd",shortnames:[":snowboarder_medium_skin_tone:"],category:"activity"},":snowboarder_tone4:":{uc_base:"1f3c2-1f3fe",uc_output:"1f3c2-1f3fe",uc_match:"1f3c2-1f3fe",uc_greedy:"1f3c2-1f3fe",shortnames:[":snowboarder_medium_dark_skin_tone:"],category:"activity"},":snowboarder_tone5:":{uc_base:"1f3c2-1f3ff",uc_output:"1f3c2-1f3ff",uc_match:"1f3c2-1f3ff",uc_greedy:"1f3c2-1f3ff",shortnames:[":snowboarder_dark_skin_tone:"],category:"activity"},":superhero_tone1:":{uc_base:"1f9b8-1f3fb",uc_output:"1f9b8-1f3fb",uc_match:"1f9b8-1f3fb",uc_greedy:"1f9b8-1f3fb",shortnames:[":superhero_light_skin_tone:"],category:"people"},":superhero_tone2:":{uc_base:"1f9b8-1f3fc",uc_output:"1f9b8-1f3fc",uc_match:"1f9b8-1f3fc",uc_greedy:"1f9b8-1f3fc",shortnames:[":superhero_medium_light_skin_tone:"],category:"people"},":superhero_tone3:":{uc_base:"1f9b8-1f3fd",uc_output:"1f9b8-1f3fd",uc_match:"1f9b8-1f3fd",uc_greedy:"1f9b8-1f3fd",shortnames:[":superhero_medium_skin_tone:"],category:"people"},":superhero_tone4:":{uc_base:"1f9b8-1f3fe",uc_output:"1f9b8-1f3fe",uc_match:"1f9b8-1f3fe",uc_greedy:"1f9b8-1f3fe",shortnames:[":superhero_medium_dark_skin_tone:"],category:"people"},":superhero_tone5:":{uc_base:"1f9b8-1f3ff",uc_output:"1f9b8-1f3ff",uc_match:"1f9b8-1f3ff",uc_greedy:"1f9b8-1f3ff",shortnames:[":superhero_dark_skin_tone:"],category:"people"},":supervillain_tone1:":{uc_base:"1f9b9-1f3fb",uc_output:"1f9b9-1f3fb",uc_match:"1f9b9-1f3fb",uc_greedy:"1f9b9-1f3fb",shortnames:[":supervillain_light_skin_tone:"],category:"people"},":supervillain_tone2:":{uc_base:"1f9b9-1f3fc",uc_output:"1f9b9-1f3fc",uc_match:"1f9b9-1f3fc",uc_greedy:"1f9b9-1f3fc",shortnames:[":supervillain_medium_light_skin_tone:"],category:"people"},":supervillain_tone3:":{uc_base:"1f9b9-1f3fd",uc_output:"1f9b9-1f3fd",uc_match:"1f9b9-1f3fd",uc_greedy:"1f9b9-1f3fd",shortnames:[":supervillain_medium_skin_tone:"],category:"people"},":supervillain_tone4:":{uc_base:"1f9b9-1f3fe",uc_output:"1f9b9-1f3fe",uc_match:"1f9b9-1f3fe",uc_greedy:"1f9b9-1f3fe",shortnames:[":supervillain_medium_dark_skin_tone:"],category:"people"},":supervillain_tone5:":{uc_base:"1f9b9-1f3ff",uc_output:"1f9b9-1f3ff",uc_match:"1f9b9-1f3ff",uc_greedy:"1f9b9-1f3ff",shortnames:[":supervillain_dark_skin_tone:"],category:"people"},":thumbsdown_tone1:":{uc_base:"1f44e-1f3fb",uc_output:"1f44e-1f3fb",uc_match:"1f44e-1f3fb",uc_greedy:"1f44e-1f3fb",shortnames:[":-1_tone1:",":thumbdown_tone1:"],category:"people"},":thumbsdown_tone2:":{uc_base:"1f44e-1f3fc",uc_output:"1f44e-1f3fc",uc_match:"1f44e-1f3fc",uc_greedy:"1f44e-1f3fc",shortnames:[":-1_tone2:",":thumbdown_tone2:"],category:"people"},":thumbsdown_tone3:":{uc_base:"1f44e-1f3fd",uc_output:"1f44e-1f3fd",uc_match:"1f44e-1f3fd",uc_greedy:"1f44e-1f3fd",shortnames:[":-1_tone3:",":thumbdown_tone3:"],category:"people"},":thumbsdown_tone4:":{uc_base:"1f44e-1f3fe",uc_output:"1f44e-1f3fe",uc_match:"1f44e-1f3fe",uc_greedy:"1f44e-1f3fe",shortnames:[":-1_tone4:",":thumbdown_tone4:"],category:"people"},":thumbsdown_tone5:":{uc_base:"1f44e-1f3ff",uc_output:"1f44e-1f3ff",uc_match:"1f44e-1f3ff",uc_greedy:"1f44e-1f3ff",shortnames:[":-1_tone5:",":thumbdown_tone5:"],category:"people"},":thumbsup_tone1:":{uc_base:"1f44d-1f3fb",uc_output:"1f44d-1f3fb",uc_match:"1f44d-1f3fb",uc_greedy:"1f44d-1f3fb",shortnames:[":+1_tone1:",":thumbup_tone1:"],category:"people"},":thumbsup_tone2:":{uc_base:"1f44d-1f3fc",uc_output:"1f44d-1f3fc",uc_match:"1f44d-1f3fc",uc_greedy:"1f44d-1f3fc",shortnames:[":+1_tone2:",":thumbup_tone2:"],category:"people"},":thumbsup_tone3:":{uc_base:"1f44d-1f3fd",uc_output:"1f44d-1f3fd",uc_match:"1f44d-1f3fd",uc_greedy:"1f44d-1f3fd",shortnames:[":+1_tone3:",":thumbup_tone3:"],category:"people"},":thumbsup_tone4:":{uc_base:"1f44d-1f3fe",uc_output:"1f44d-1f3fe",uc_match:"1f44d-1f3fe",uc_greedy:"1f44d-1f3fe",shortnames:[":+1_tone4:",":thumbup_tone4:"],category:"people"},":thumbsup_tone5:":{uc_base:"1f44d-1f3ff",uc_output:"1f44d-1f3ff",uc_match:"1f44d-1f3ff",uc_greedy:"1f44d-1f3ff",shortnames:[":+1_tone5:",":thumbup_tone5:"],category:"people"},":united_nations:":{uc_base:"1f1fa-1f1f3",uc_output:"1f1fa-1f1f3",uc_match:"1f1fa-1f1f3",uc_greedy:"1f1fa-1f1f3",shortnames:[],category:"flags"},":vampire_tone1:":{uc_base:"1f9db-1f3fb",uc_output:"1f9db-1f3fb",uc_match:"1f9db-1f3fb",uc_greedy:"1f9db-1f3fb",shortnames:[":vampire_light_skin_tone:"],category:"people"},":vampire_tone2:":{uc_base:"1f9db-1f3fc",uc_output:"1f9db-1f3fc",uc_match:"1f9db-1f3fc",uc_greedy:"1f9db-1f3fc",shortnames:[":vampire_medium_light_skin_tone:"],category:"people"},":vampire_tone3:":{uc_base:"1f9db-1f3fd",uc_output:"1f9db-1f3fd",uc_match:"1f9db-1f3fd",uc_greedy:"1f9db-1f3fd",shortnames:[":vampire_medium_skin_tone:"],category:"people"},":vampire_tone4:":{uc_base:"1f9db-1f3fe",uc_output:"1f9db-1f3fe",uc_match:"1f9db-1f3fe",uc_greedy:"1f9db-1f3fe",shortnames:[":vampire_medium_dark_skin_tone:"],category:"people"},":vampire_tone5:":{uc_base:"1f9db-1f3ff",uc_output:"1f9db-1f3ff",uc_match:"1f9db-1f3ff",uc_greedy:"1f9db-1f3ff",shortnames:[":vampire_dark_skin_tone:"],category:"people"},":vulcan_tone1:":{uc_base:"1f596-1f3fb",uc_output:"1f596-1f3fb",uc_match:"1f596-1f3fb",uc_greedy:"1f596-1f3fb",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone1:"],category:"people"},":vulcan_tone2:":{uc_base:"1f596-1f3fc",uc_output:"1f596-1f3fc",uc_match:"1f596-1f3fc",uc_greedy:"1f596-1f3fc",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone2:"],category:"people"},":vulcan_tone3:":{uc_base:"1f596-1f3fd",uc_output:"1f596-1f3fd",uc_match:"1f596-1f3fd",uc_greedy:"1f596-1f3fd",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone3:"],category:"people"},":vulcan_tone4:":{uc_base:"1f596-1f3fe",uc_output:"1f596-1f3fe",uc_match:"1f596-1f3fe",uc_greedy:"1f596-1f3fe",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone4:"],category:"people"},":vulcan_tone5:":{uc_base:"1f596-1f3ff",uc_output:"1f596-1f3ff",uc_match:"1f596-1f3ff",uc_greedy:"1f596-1f3ff",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers_tone5:"],category:"people"},":wave_tone1:":{uc_base:"1f44b-1f3fb",uc_output:"1f44b-1f3fb",uc_match:"1f44b-1f3fb",uc_greedy:"1f44b-1f3fb",shortnames:[],category:"people"},":wave_tone2:":{uc_base:"1f44b-1f3fc",uc_output:"1f44b-1f3fc",uc_match:"1f44b-1f3fc",uc_greedy:"1f44b-1f3fc",shortnames:[],category:"people"},":wave_tone3:":{uc_base:"1f44b-1f3fd",uc_output:"1f44b-1f3fd",uc_match:"1f44b-1f3fd",uc_greedy:"1f44b-1f3fd",shortnames:[],category:"people"},":wave_tone4:":{uc_base:"1f44b-1f3fe",uc_output:"1f44b-1f3fe",uc_match:"1f44b-1f3fe",uc_greedy:"1f44b-1f3fe",shortnames:[],category:"people"},":wave_tone5:":{uc_base:"1f44b-1f3ff",uc_output:"1f44b-1f3ff",uc_match:"1f44b-1f3ff",uc_greedy:"1f44b-1f3ff",shortnames:[],category:"people"},":woman_tone1:":{uc_base:"1f469-1f3fb",uc_output:"1f469-1f3fb",uc_match:"1f469-1f3fb",uc_greedy:"1f469-1f3fb",shortnames:[],category:"people"},":woman_tone2:":{uc_base:"1f469-1f3fc",uc_output:"1f469-1f3fc",uc_match:"1f469-1f3fc",uc_greedy:"1f469-1f3fc",shortnames:[],category:"people"},":woman_tone3:":{uc_base:"1f469-1f3fd",uc_output:"1f469-1f3fd",uc_match:"1f469-1f3fd",uc_greedy:"1f469-1f3fd",shortnames:[],category:"people"},":woman_tone4:":{uc_base:"1f469-1f3fe",uc_output:"1f469-1f3fe",uc_match:"1f469-1f3fe",uc_greedy:"1f469-1f3fe",shortnames:[],category:"people"},":woman_tone5:":{uc_base:"1f469-1f3ff",uc_output:"1f469-1f3ff",uc_match:"1f469-1f3ff",uc_greedy:"1f469-1f3ff",shortnames:[],category:"people"},":woman_with_headscarf_tone1:":{uc_base:"1f9d5-1f3fb",uc_output:"1f9d5-1f3fb",uc_match:"1f9d5-1f3fb",uc_greedy:"1f9d5-1f3fb",shortnames:[":woman_with_headscarf_light_skin_tone:"],category:"people"},":woman_with_headscarf_tone2:":{uc_base:"1f9d5-1f3fc",uc_output:"1f9d5-1f3fc",uc_match:"1f9d5-1f3fc",uc_greedy:"1f9d5-1f3fc",shortnames:[":woman_with_headscarf_medium_light_skin_tone:"],category:"people"},":woman_with_headscarf_tone3:":{uc_base:"1f9d5-1f3fd",uc_output:"1f9d5-1f3fd",uc_match:"1f9d5-1f3fd",uc_greedy:"1f9d5-1f3fd",shortnames:[":woman_with_headscarf_medium_skin_tone:"],category:"people"},":woman_with_headscarf_tone4:":{uc_base:"1f9d5-1f3fe",uc_output:"1f9d5-1f3fe",uc_match:"1f9d5-1f3fe",uc_greedy:"1f9d5-1f3fe",shortnames:[":woman_with_headscarf_medium_dark_skin_tone:"],category:"people"},":woman_with_headscarf_tone5:":{uc_base:"1f9d5-1f3ff",uc_output:"1f9d5-1f3ff",uc_match:"1f9d5-1f3ff",uc_greedy:"1f9d5-1f3ff",shortnames:[":woman_with_headscarf_dark_skin_tone:"],category:"people"},":fist_tone1:":{uc_base:"270a-1f3fb",uc_output:"270a-1f3fb",uc_match:"270a-1f3fb",uc_greedy:"270a-1f3fb",shortnames:[],category:"people"},":fist_tone2:":{uc_base:"270a-1f3fc",uc_output:"270a-1f3fc",uc_match:"270a-1f3fc",uc_greedy:"270a-1f3fc",shortnames:[],category:"people"},":fist_tone3:":{uc_base:"270a-1f3fd",uc_output:"270a-1f3fd",uc_match:"270a-1f3fd",uc_greedy:"270a-1f3fd",shortnames:[],category:"people"},":fist_tone4:":{uc_base:"270a-1f3fe",uc_output:"270a-1f3fe",uc_match:"270a-1f3fe",uc_greedy:"270a-1f3fe",shortnames:[],category:"people"},":fist_tone5:":{uc_base:"270a-1f3ff",uc_output:"270a-1f3ff",uc_match:"270a-1f3ff",uc_greedy:"270a-1f3ff",shortnames:[],category:"people"},":person_bouncing_ball_tone1:":{uc_base:"26f9-1f3fb",uc_output:"26f9-1f3fb",uc_match:"26f9-fe0f-1f3fb",uc_greedy:"26f9-fe0f-1f3fb",shortnames:[":basketball_player_tone1:",":person_with_ball_tone1:"],category:"activity"},":person_bouncing_ball_tone2:":{uc_base:"26f9-1f3fc",uc_output:"26f9-1f3fc",uc_match:"26f9-fe0f-1f3fc",uc_greedy:"26f9-fe0f-1f3fc",shortnames:[":basketball_player_tone2:",":person_with_ball_tone2:"],category:"activity"},":person_bouncing_ball_tone3:":{uc_base:"26f9-1f3fd",uc_output:"26f9-1f3fd",uc_match:"26f9-fe0f-1f3fd",uc_greedy:"26f9-fe0f-1f3fd",shortnames:[":basketball_player_tone3:",":person_with_ball_tone3:"],category:"activity"},":person_bouncing_ball_tone4:":{uc_base:"26f9-1f3fe",uc_output:"26f9-1f3fe",uc_match:"26f9-fe0f-1f3fe",uc_greedy:"26f9-fe0f-1f3fe",shortnames:[":basketball_player_tone4:",":person_with_ball_tone4:"],category:"activity"},":person_bouncing_ball_tone5:":{uc_base:"26f9-1f3ff",uc_output:"26f9-1f3ff",uc_match:"26f9-fe0f-1f3ff",uc_greedy:"26f9-fe0f-1f3ff",shortnames:[":basketball_player_tone5:",":person_with_ball_tone5:"],category:"activity"},":point_up_tone1:":{uc_base:"261d-1f3fb",uc_output:"261d-1f3fb",uc_match:"261d-fe0f-1f3fb",uc_greedy:"261d-fe0f-1f3fb",shortnames:[],category:"people"},":point_up_tone2:":{uc_base:"261d-1f3fc",uc_output:"261d-1f3fc",uc_match:"261d-fe0f-1f3fc",uc_greedy:"261d-fe0f-1f3fc",shortnames:[],category:"people"},":point_up_tone3:":{uc_base:"261d-1f3fd",uc_output:"261d-1f3fd",uc_match:"261d-fe0f-1f3fd",uc_greedy:"261d-fe0f-1f3fd",shortnames:[],category:"people"},":point_up_tone4:":{uc_base:"261d-1f3fe",uc_output:"261d-1f3fe",uc_match:"261d-fe0f-1f3fe",uc_greedy:"261d-fe0f-1f3fe",shortnames:[],category:"people"},":point_up_tone5:":{uc_base:"261d-1f3ff",uc_output:"261d-1f3ff",uc_match:"261d-fe0f-1f3ff",uc_greedy:"261d-fe0f-1f3ff",shortnames:[],category:"people"},":raised_hand_tone1:":{uc_base:"270b-1f3fb",uc_output:"270b-1f3fb",uc_match:"270b-1f3fb",uc_greedy:"270b-1f3fb",shortnames:[],category:"people"},":raised_hand_tone2:":{uc_base:"270b-1f3fc",uc_output:"270b-1f3fc",uc_match:"270b-1f3fc",uc_greedy:"270b-1f3fc",shortnames:[],category:"people"},":raised_hand_tone3:":{uc_base:"270b-1f3fd",uc_output:"270b-1f3fd",uc_match:"270b-1f3fd",uc_greedy:"270b-1f3fd",shortnames:[],category:"people"},":raised_hand_tone4:":{uc_base:"270b-1f3fe",uc_output:"270b-1f3fe",uc_match:"270b-1f3fe",uc_greedy:"270b-1f3fe",shortnames:[],category:"people"},":raised_hand_tone5:":{uc_base:"270b-1f3ff",uc_output:"270b-1f3ff",uc_match:"270b-1f3ff",uc_greedy:"270b-1f3ff",shortnames:[],category:"people"},":v_tone1:":{uc_base:"270c-1f3fb",uc_output:"270c-1f3fb",uc_match:"270c-fe0f-1f3fb",uc_greedy:"270c-fe0f-1f3fb",shortnames:[],category:"people"},":v_tone2:":{uc_base:"270c-1f3fc",uc_output:"270c-1f3fc",uc_match:"270c-fe0f-1f3fc",uc_greedy:"270c-fe0f-1f3fc",shortnames:[],category:"people"},":v_tone3:":{uc_base:"270c-1f3fd",uc_output:"270c-1f3fd",uc_match:"270c-fe0f-1f3fd",uc_greedy:"270c-fe0f-1f3fd",shortnames:[],category:"people"},":v_tone4:":{uc_base:"270c-1f3fe",uc_output:"270c-1f3fe",uc_match:"270c-fe0f-1f3fe",uc_greedy:"270c-fe0f-1f3fe",shortnames:[],category:"people"},":v_tone5:":{uc_base:"270c-1f3ff",uc_output:"270c-1f3ff",uc_match:"270c-fe0f-1f3ff",uc_greedy:"270c-fe0f-1f3ff",shortnames:[],category:"people"},":writing_hand_tone1:":{uc_base:"270d-1f3fb",uc_output:"270d-1f3fb",uc_match:"270d-fe0f-1f3fb",uc_greedy:"270d-fe0f-1f3fb",shortnames:[],category:"people"},":writing_hand_tone2:":{uc_base:"270d-1f3fc",uc_output:"270d-1f3fc",uc_match:"270d-fe0f-1f3fc",uc_greedy:"270d-fe0f-1f3fc",shortnames:[],category:"people"},":writing_hand_tone3:":{uc_base:"270d-1f3fd",uc_output:"270d-1f3fd",uc_match:"270d-fe0f-1f3fd",uc_greedy:"270d-fe0f-1f3fd",shortnames:[],category:"people"},":writing_hand_tone4:":{uc_base:"270d-1f3fe",uc_output:"270d-1f3fe",uc_match:"270d-fe0f-1f3fe",uc_greedy:"270d-fe0f-1f3fe",shortnames:[],category:"people"},":writing_hand_tone5:":{uc_base:"270d-1f3ff",uc_output:"270d-1f3ff",uc_match:"270d-fe0f-1f3ff",uc_greedy:"270d-fe0f-1f3ff",shortnames:[],category:"people"},":chess_pawn:":{uc_base:"265f",uc_output:"265f-fe0f",uc_match:"265f",uc_greedy:"265f",shortnames:[],category:"objects"},":infinity:":{uc_base:"267e",uc_output:"267e-fe0f",uc_match:"267e",uc_greedy:"267e",shortnames:[],category:"symbols"},":100:":{uc_base:"1f4af",uc_output:"1f4af",uc_match:"1f4af",uc_greedy:"1f4af",shortnames:[],category:"symbols"},":1234:":{uc_base:"1f522",uc_output:"1f522",uc_match:"1f522",uc_greedy:"1f522",shortnames:[],category:"symbols"},":8ball:":{uc_base:"1f3b1",uc_output:"1f3b1",uc_match:"1f3b1",uc_greedy:"1f3b1",shortnames:[],category:"activity"},":a:":{uc_base:"1f170",uc_output:"1f170",uc_match:"1f170-fe0f",uc_greedy:"1f170-fe0f",shortnames:[],category:"symbols"},":ab:":{uc_base:"1f18e",uc_output:"1f18e",uc_match:"1f18e",uc_greedy:"1f18e",shortnames:[],category:"symbols"},":abacus:":{uc_base:"1f9ee",uc_output:"1f9ee",uc_match:"1f9ee",uc_greedy:"1f9ee",shortnames:[],category:"objects"},":abc:":{uc_base:"1f524",uc_output:"1f524",uc_match:"1f524",uc_greedy:"1f524",shortnames:[],category:"symbols"},":abcd:":{uc_base:"1f521",uc_output:"1f521",uc_match:"1f521",uc_greedy:"1f521",shortnames:[],category:"symbols"},":accept:":{uc_base:"1f251",uc_output:"1f251",uc_match:"1f251",uc_greedy:"1f251",shortnames:[],category:"symbols"},":adult:":{uc_base:"1f9d1",uc_output:"1f9d1",uc_match:"1f9d1",uc_greedy:"1f9d1",shortnames:[],category:"people"},":aerial_tramway:":{uc_base:"1f6a1",uc_output:"1f6a1",uc_match:"1f6a1",uc_greedy:"1f6a1",shortnames:[],category:"travel"},":airplane_arriving:":{uc_base:"1f6ec",uc_output:"1f6ec",uc_match:"1f6ec",uc_greedy:"1f6ec",shortnames:[],category:"travel"},":airplane_departure:":{uc_base:"1f6eb",uc_output:"1f6eb",uc_match:"1f6eb",uc_greedy:"1f6eb",shortnames:[],category:"travel"},":airplane_small:":{uc_base:"1f6e9",uc_output:"1f6e9",uc_match:"1f6e9-fe0f",uc_greedy:"1f6e9-fe0f",shortnames:[":small_airplane:"],category:"travel"},":alien:":{uc_base:"1f47d",uc_output:"1f47d",uc_match:"1f47d-fe0f",uc_greedy:"1f47d-fe0f",shortnames:[],category:"people"},":ambulance:":{uc_base:"1f691",uc_output:"1f691",uc_match:"1f691-fe0f",uc_greedy:"1f691-fe0f",shortnames:[],category:"travel"},":amphora:":{uc_base:"1f3fa",uc_output:"1f3fa",uc_match:"1f3fa",uc_greedy:"1f3fa",shortnames:[],category:"objects"},":angel:":{uc_base:"1f47c",uc_output:"1f47c",uc_match:"1f47c",uc_greedy:"1f47c",shortnames:[],category:"people"},":anger:":{uc_base:"1f4a2",uc_output:"1f4a2",uc_match:"1f4a2",uc_greedy:"1f4a2",shortnames:[],category:"symbols"},":anger_right:":{uc_base:"1f5ef",uc_output:"1f5ef",uc_match:"1f5ef-fe0f",uc_greedy:"1f5ef-fe0f",shortnames:[":right_anger_bubble:"],category:"symbols"},":angry:":{uc_base:"1f620",uc_output:"1f620",uc_match:"1f620",uc_greedy:"1f620",shortnames:[],category:"people"},":anguished:":{uc_base:"1f627",uc_output:"1f627",uc_match:"1f627",uc_greedy:"1f627",shortnames:[],category:"people"},":ant:":{uc_base:"1f41c",uc_output:"1f41c",uc_match:"1f41c",uc_greedy:"1f41c",shortnames:[],category:"nature"},":apple:":{uc_base:"1f34e",uc_output:"1f34e",uc_match:"1f34e",uc_greedy:"1f34e",shortnames:[],category:"food"},":arrow_down_small:":{uc_base:"1f53d",uc_output:"1f53d",uc_match:"1f53d",uc_greedy:"1f53d",shortnames:[],category:"symbols"},":arrow_up_small:":{uc_base:"1f53c",uc_output:"1f53c",uc_match:"1f53c",uc_greedy:"1f53c",shortnames:[],category:"symbols"},":arrows_clockwise:":{uc_base:"1f503",uc_output:"1f503",uc_match:"1f503",uc_greedy:"1f503",shortnames:[],category:"symbols"},":arrows_counterclockwise:":{uc_base:"1f504",uc_output:"1f504",uc_match:"1f504",uc_greedy:"1f504",shortnames:[],category:"symbols"},":art:":{uc_base:"1f3a8",uc_output:"1f3a8",uc_match:"1f3a8",uc_greedy:"1f3a8",shortnames:[],category:"activity"},":articulated_lorry:":{uc_base:"1f69b",uc_output:"1f69b",uc_match:"1f69b",uc_greedy:"1f69b",shortnames:[],category:"travel"},":astonished:":{uc_base:"1f632",uc_output:"1f632",uc_match:"1f632",uc_greedy:"1f632",shortnames:[],category:"people"},":athletic_shoe:":{uc_base:"1f45f",uc_output:"1f45f",uc_match:"1f45f",uc_greedy:"1f45f",shortnames:[],category:"people"},":atm:":{uc_base:"1f3e7",uc_output:"1f3e7",uc_match:"1f3e7",uc_greedy:"1f3e7",shortnames:[],category:"symbols"},":avocado:":{uc_base:"1f951",uc_output:"1f951",uc_match:"1f951",uc_greedy:"1f951",shortnames:[],category:"food"},":b:":{uc_base:"1f171",uc_output:"1f171",uc_match:"1f171-fe0f",uc_greedy:"1f171-fe0f",shortnames:[],category:"symbols"},":baby:":{uc_base:"1f476",uc_output:"1f476",uc_match:"1f476",uc_greedy:"1f476",shortnames:[],category:"people"},":baby_bottle:":{uc_base:"1f37c",uc_output:"1f37c",uc_match:"1f37c",uc_greedy:"1f37c",shortnames:[],category:"food"},":baby_chick:":{uc_base:"1f424",uc_output:"1f424",uc_match:"1f424",uc_greedy:"1f424",shortnames:[],category:"nature"},":baby_symbol:":{uc_base:"1f6bc",uc_output:"1f6bc",uc_match:"1f6bc-fe0f",uc_greedy:"1f6bc-fe0f",shortnames:[],category:"symbols"},":back:":{uc_base:"1f519",uc_output:"1f519",uc_match:"1f519",uc_greedy:"1f519",shortnames:[],category:"symbols"},":bacon:":{uc_base:"1f953",uc_output:"1f953",uc_match:"1f953",uc_greedy:"1f953",shortnames:[],category:"food"},":badger:":{uc_base:"1f9a1",uc_output:"1f9a1",uc_match:"1f9a1",uc_greedy:"1f9a1",shortnames:[],category:"nature"},":badminton:":{uc_base:"1f3f8",uc_output:"1f3f8",uc_match:"1f3f8",uc_greedy:"1f3f8",shortnames:[],category:"activity"},":bagel:":{uc_base:"1f96f",uc_output:"1f96f",uc_match:"1f96f",uc_greedy:"1f96f",shortnames:[],category:"food"},":baggage_claim:":{uc_base:"1f6c4",uc_output:"1f6c4",uc_match:"1f6c4",uc_greedy:"1f6c4",shortnames:[],category:"symbols"},":bald:":{uc_base:"1f9b2",uc_output:"1f9b2",uc_match:"1f9b2",uc_greedy:"1f9b2",shortnames:[],category:"people"},":balloon:":{uc_base:"1f388",uc_output:"1f388",uc_match:"1f388",uc_greedy:"1f388",shortnames:[],category:"objects"},":ballot_box:":{uc_base:"1f5f3",uc_output:"1f5f3",uc_match:"1f5f3-fe0f",uc_greedy:"1f5f3-fe0f",shortnames:[":ballot_box_with_ballot:"],category:"objects"},":bamboo:":{uc_base:"1f38d",uc_output:"1f38d",uc_match:"1f38d",uc_greedy:"1f38d",shortnames:[],category:"nature"},":banana:":{uc_base:"1f34c",uc_output:"1f34c",uc_match:"1f34c",uc_greedy:"1f34c",shortnames:[],category:"food"},":bank:":{uc_base:"1f3e6",uc_output:"1f3e6",uc_match:"1f3e6",uc_greedy:"1f3e6",shortnames:[],category:"travel"},":bar_chart:":{uc_base:"1f4ca",uc_output:"1f4ca",uc_match:"1f4ca",uc_greedy:"1f4ca",shortnames:[],category:"objects"},":barber:":{uc_base:"1f488",uc_output:"1f488",uc_match:"1f488",uc_greedy:"1f488",shortnames:[],category:"objects"},":basket:":{uc_base:"1f9fa",uc_output:"1f9fa",uc_match:"1f9fa",uc_greedy:"1f9fa",shortnames:[],category:"objects"},":basketball:":{uc_base:"1f3c0",uc_output:"1f3c0",uc_match:"1f3c0",uc_greedy:"1f3c0",shortnames:[],category:"activity"},":bat:":{uc_base:"1f987",uc_output:"1f987",uc_match:"1f987",uc_greedy:"1f987",shortnames:[],category:"nature"},":bath:":{uc_base:"1f6c0",uc_output:"1f6c0",uc_match:"1f6c0",uc_greedy:"1f6c0",shortnames:[],category:"objects"},":bathtub:":{uc_base:"1f6c1",uc_output:"1f6c1",uc_match:"1f6c1",uc_greedy:"1f6c1",shortnames:[],category:"objects"},":battery:":{uc_base:"1f50b",uc_output:"1f50b",uc_match:"1f50b",uc_greedy:"1f50b",shortnames:[],category:"objects"},":beach:":{uc_base:"1f3d6",uc_output:"1f3d6",uc_match:"1f3d6-fe0f",uc_greedy:"1f3d6-fe0f",shortnames:[":beach_with_umbrella:"],category:"travel"},":bear:":{uc_base:"1f43b",uc_output:"1f43b",uc_match:"1f43b",uc_greedy:"1f43b",shortnames:[],category:"nature"},":bearded_person:":{uc_base:"1f9d4",uc_output:"1f9d4",uc_match:"1f9d4",uc_greedy:"1f9d4",shortnames:[],category:"people"},":bed:":{uc_base:"1f6cf",uc_output:"1f6cf",uc_match:"1f6cf-fe0f",uc_greedy:"1f6cf-fe0f",shortnames:[],category:"objects"},":bee:":{uc_base:"1f41d",uc_output:"1f41d",uc_match:"1f41d",uc_greedy:"1f41d",shortnames:[],category:"nature"},":beer:":{uc_base:"1f37a",uc_output:"1f37a",uc_match:"1f37a",uc_greedy:"1f37a",shortnames:[],category:"food"},":beers:":{uc_base:"1f37b",uc_output:"1f37b",uc_match:"1f37b",uc_greedy:"1f37b",shortnames:[],category:"food"},":beetle:":{uc_base:"1f41e",uc_output:"1f41e",uc_match:"1f41e",uc_greedy:"1f41e",shortnames:[],category:"nature"},":beginner:":{uc_base:"1f530",uc_output:"1f530",uc_match:"1f530",uc_greedy:"1f530",shortnames:[],category:"symbols"},":bell:":{uc_base:"1f514",uc_output:"1f514",uc_match:"1f514",uc_greedy:"1f514",shortnames:[],category:"symbols"},":bellhop:":{uc_base:"1f6ce",uc_output:"1f6ce",uc_match:"1f6ce-fe0f",uc_greedy:"1f6ce-fe0f",shortnames:[":bellhop_bell:"],category:"objects"},":bento:":{uc_base:"1f371",uc_output:"1f371",uc_match:"1f371",uc_greedy:"1f371",shortnames:[],category:"food"},":bike:":{uc_base:"1f6b2",uc_output:"1f6b2",uc_match:"1f6b2-fe0f",uc_greedy:"1f6b2-fe0f",shortnames:[],category:"travel"},":bikini:":{uc_base:"1f459",uc_output:"1f459",uc_match:"1f459",uc_greedy:"1f459",shortnames:[],category:"people"},":billed_cap:":{uc_base:"1f9e2",uc_output:"1f9e2",uc_match:"1f9e2",uc_greedy:"1f9e2",shortnames:[],category:"people"},":bird:":{uc_base:"1f426",uc_output:"1f426",uc_match:"1f426-fe0f",uc_greedy:"1f426-fe0f",shortnames:[],category:"nature"},":birthday:":{uc_base:"1f382",uc_output:"1f382",uc_match:"1f382",uc_greedy:"1f382",shortnames:[],category:"food"},":black_heart:":{uc_base:"1f5a4",uc_output:"1f5a4",uc_match:"1f5a4",uc_greedy:"1f5a4",shortnames:[],category:"symbols"},":black_joker:":{uc_base:"1f0cf",uc_output:"1f0cf",uc_match:"1f0cf",uc_greedy:"1f0cf",shortnames:[],category:"symbols"},":black_square_button:":{uc_base:"1f532",uc_output:"1f532",uc_match:"1f532",uc_greedy:"1f532",shortnames:[],category:"symbols"},":blond_haired_person:":{uc_base:"1f471",uc_output:"1f471",uc_match:"1f471",uc_greedy:"1f471",shortnames:[":person_with_blond_hair:"],category:"people"},":blossom:":{uc_base:"1f33c",uc_output:"1f33c",uc_match:"1f33c",uc_greedy:"1f33c",shortnames:[],category:"nature"},":blowfish:":{uc_base:"1f421",uc_output:"1f421",uc_match:"1f421",uc_greedy:"1f421",shortnames:[],category:"nature"},":blue_book:":{uc_base:"1f4d8",uc_output:"1f4d8",uc_match:"1f4d8",uc_greedy:"1f4d8",shortnames:[],category:"objects"},":blue_car:":{uc_base:"1f699",uc_output:"1f699",uc_match:"1f699",uc_greedy:"1f699",shortnames:[],category:"travel"},":blue_circle:":{uc_base:"1f535",uc_output:"1f535",uc_match:"1f535",uc_greedy:"1f535",shortnames:[],category:"symbols"},":blue_heart:":{uc_base:"1f499",uc_output:"1f499",uc_match:"1f499",uc_greedy:"1f499",shortnames:[],category:"symbols"},":blush:":{uc_base:"1f60a",uc_output:"1f60a",uc_match:"1f60a",uc_greedy:"1f60a",shortnames:[],category:"people"},":boar:":{uc_base:"1f417",uc_output:"1f417",uc_match:"1f417",uc_greedy:"1f417",shortnames:[],category:"nature"},":bomb:":{uc_base:"1f4a3",uc_output:"1f4a3",uc_match:"1f4a3-fe0f",uc_greedy:"1f4a3-fe0f",shortnames:[],category:"objects"},":bone:":{uc_base:"1f9b4",uc_output:"1f9b4",uc_match:"1f9b4",uc_greedy:"1f9b4",shortnames:[],category:"people"},":book:":{uc_base:"1f4d6",uc_output:"1f4d6",uc_match:"1f4d6",uc_greedy:"1f4d6",shortnames:[],category:"objects"},":bookmark:":{uc_base:"1f516",uc_output:"1f516",uc_match:"1f516",uc_greedy:"1f516",shortnames:[],category:"objects"},":bookmark_tabs:":{uc_base:"1f4d1",uc_output:"1f4d1",uc_match:"1f4d1",uc_greedy:"1f4d1",shortnames:[],category:"objects"},":books:":{uc_base:"1f4da",uc_output:"1f4da",uc_match:"1f4da-fe0f",uc_greedy:"1f4da-fe0f",shortnames:[],category:"objects"},":boom:":{uc_base:"1f4a5",uc_output:"1f4a5",uc_match:"1f4a5",uc_greedy:"1f4a5",shortnames:[],category:"nature"},":boot:":{uc_base:"1f462",uc_output:"1f462",uc_match:"1f462",uc_greedy:"1f462",shortnames:[],category:"people"},":bouquet:":{uc_base:"1f490",uc_output:"1f490",uc_match:"1f490",uc_greedy:"1f490",shortnames:[],category:"nature"},":bow_and_arrow:":{uc_base:"1f3f9",uc_output:"1f3f9",uc_match:"1f3f9",uc_greedy:"1f3f9",shortnames:[":archery:"],category:"activity"},":bowl_with_spoon:":{uc_base:"1f963",uc_output:"1f963",uc_match:"1f963",uc_greedy:"1f963",shortnames:[],category:"food"},":bowling:":{uc_base:"1f3b3",uc_output:"1f3b3",uc_match:"1f3b3",uc_greedy:"1f3b3",shortnames:[],category:"activity"},":boxing_glove:":{uc_base:"1f94a",uc_output:"1f94a",uc_match:"1f94a",uc_greedy:"1f94a",shortnames:[":boxing_gloves:"],category:"activity"},":boy:":{uc_base:"1f466",uc_output:"1f466",uc_match:"1f466",uc_greedy:"1f466",shortnames:[],category:"people"},":brain:":{uc_base:"1f9e0",uc_output:"1f9e0",uc_match:"1f9e0",uc_greedy:"1f9e0",shortnames:[],category:"people"},":bread:":{uc_base:"1f35e",uc_output:"1f35e",uc_match:"1f35e",uc_greedy:"1f35e",shortnames:[],category:"food"},":breast_feeding:":{uc_base:"1f931",uc_output:"1f931",uc_match:"1f931",uc_greedy:"1f931",shortnames:[],category:"people"},":bricks:":{uc_base:"1f9f1",uc_output:"1f9f1",uc_match:"1f9f1",uc_greedy:"1f9f1",shortnames:[],category:"objects"},":bride_with_veil:":{uc_base:"1f470",uc_output:"1f470",uc_match:"1f470",uc_greedy:"1f470",shortnames:[],category:"people"},":bridge_at_night:":{uc_base:"1f309",uc_output:"1f309",uc_match:"1f309",uc_greedy:"1f309",shortnames:[],category:"travel"},":briefcase:":{uc_base:"1f4bc",uc_output:"1f4bc",uc_match:"1f4bc",uc_greedy:"1f4bc",shortnames:[],category:"people"},":broccoli:":{uc_base:"1f966",uc_output:"1f966",uc_match:"1f966",uc_greedy:"1f966",shortnames:[],category:"food"},":broken_heart:":{uc_base:"1f494",uc_output:"1f494",uc_match:"1f494",uc_greedy:"1f494",shortnames:[],category:"symbols"},":broom:":{uc_base:"1f9f9",uc_output:"1f9f9",uc_match:"1f9f9",uc_greedy:"1f9f9",shortnames:[],category:"objects"},":bug:":{uc_base:"1f41b",uc_output:"1f41b",uc_match:"1f41b",uc_greedy:"1f41b",shortnames:[],category:"nature"},":bulb:":{uc_base:"1f4a1",uc_output:"1f4a1",uc_match:"1f4a1",uc_greedy:"1f4a1",shortnames:[],category:"objects"},":bullettrain_front:":{uc_base:"1f685",uc_output:"1f685",uc_match:"1f685",uc_greedy:"1f685",shortnames:[],category:"travel"},":bullettrain_side:":{uc_base:"1f684",uc_output:"1f684",uc_match:"1f684",uc_greedy:"1f684",shortnames:[],category:"travel"},":burrito:":{uc_base:"1f32f",uc_output:"1f32f",uc_match:"1f32f",uc_greedy:"1f32f",shortnames:[],category:"food"},":bus:":{uc_base:"1f68c",uc_output:"1f68c",uc_match:"1f68c",uc_greedy:"1f68c",shortnames:[],category:"travel"},":busstop:":{uc_base:"1f68f",uc_output:"1f68f",uc_match:"1f68f",uc_greedy:"1f68f",shortnames:[],category:"travel"},":bust_in_silhouette:":{uc_base:"1f464",uc_output:"1f464",uc_match:"1f464",uc_greedy:"1f464",shortnames:[],category:"people"},":busts_in_silhouette:":{uc_base:"1f465",uc_output:"1f465",uc_match:"1f465",uc_greedy:"1f465",shortnames:[],category:"people"},":butterfly:":{uc_base:"1f98b",uc_output:"1f98b",uc_match:"1f98b",uc_greedy:"1f98b",shortnames:[],category:"nature"},":cactus:":{uc_base:"1f335",uc_output:"1f335",uc_match:"1f335",uc_greedy:"1f335",shortnames:[],category:"nature"},":cake:":{uc_base:"1f370",uc_output:"1f370",uc_match:"1f370",uc_greedy:"1f370",shortnames:[],category:"food"},":calendar:":{uc_base:"1f4c6",uc_output:"1f4c6",uc_match:"1f4c6",uc_greedy:"1f4c6",shortnames:[],category:"objects"},":calendar_spiral:":{uc_base:"1f5d3",uc_output:"1f5d3",uc_match:"1f5d3-fe0f",uc_greedy:"1f5d3-fe0f",shortnames:[":spiral_calendar_pad:"],category:"objects"},":call_me:":{uc_base:"1f919",uc_output:"1f919",uc_match:"1f919",uc_greedy:"1f919",shortnames:[":call_me_hand:"],category:"people"},":calling:":{uc_base:"1f4f2",uc_output:"1f4f2",uc_match:"1f4f2",uc_greedy:"1f4f2",shortnames:[],category:"objects"},":camel:":{uc_base:"1f42b",uc_output:"1f42b",uc_match:"1f42b",uc_greedy:"1f42b",shortnames:[],category:"nature"},":camera:":{uc_base:"1f4f7",uc_output:"1f4f7",uc_match:"1f4f7-fe0f",uc_greedy:"1f4f7-fe0f",shortnames:[],category:"objects"},":camera_with_flash:":{uc_base:"1f4f8",uc_output:"1f4f8",uc_match:"1f4f8",uc_greedy:"1f4f8",shortnames:[],category:"objects"},":camping:":{uc_base:"1f3d5",uc_output:"1f3d5",uc_match:"1f3d5-fe0f",uc_greedy:"1f3d5-fe0f",shortnames:[],category:"travel"},":candle:":{uc_base:"1f56f",uc_output:"1f56f",uc_match:"1f56f-fe0f",uc_greedy:"1f56f-fe0f",shortnames:[],category:"objects"},":candy:":{uc_base:"1f36c",uc_output:"1f36c",uc_match:"1f36c",uc_greedy:"1f36c",shortnames:[],category:"food"},":canned_food:":{uc_base:"1f96b",uc_output:"1f96b",uc_match:"1f96b",uc_greedy:"1f96b",shortnames:[],category:"food"},":canoe:":{uc_base:"1f6f6",uc_output:"1f6f6",uc_match:"1f6f6",uc_greedy:"1f6f6",shortnames:[":kayak:"],category:"travel"},":capital_abcd:":{uc_base:"1f520",uc_output:"1f520",uc_match:"1f520",uc_greedy:"1f520",shortnames:[],category:"symbols"},":card_box:":{uc_base:"1f5c3",uc_output:"1f5c3",uc_match:"1f5c3-fe0f",uc_greedy:"1f5c3-fe0f",shortnames:[":card_file_box:"],category:"objects"},":card_index:":{uc_base:"1f4c7",uc_output:"1f4c7",uc_match:"1f4c7",uc_greedy:"1f4c7",shortnames:[],category:"objects"},":carousel_horse:":{uc_base:"1f3a0",uc_output:"1f3a0",uc_match:"1f3a0",uc_greedy:"1f3a0",shortnames:[],category:"travel"},":carrot:":{uc_base:"1f955",uc_output:"1f955",uc_match:"1f955",uc_greedy:"1f955",shortnames:[],category:"food"},":cat2:":{uc_base:"1f408",uc_output:"1f408",uc_match:"1f408-fe0f",uc_greedy:"1f408-fe0f",shortnames:[],category:"nature"},":cat:":{uc_base:"1f431",uc_output:"1f431",uc_match:"1f431",uc_greedy:"1f431",shortnames:[],category:"nature"},":cd:":{uc_base:"1f4bf",uc_output:"1f4bf",uc_match:"1f4bf-fe0f",uc_greedy:"1f4bf-fe0f",shortnames:[],category:"objects"},":champagne:":{uc_base:"1f37e",uc_output:"1f37e",uc_match:"1f37e",uc_greedy:"1f37e",shortnames:[":bottle_with_popping_cork:"],category:"food"},":champagne_glass:":{uc_base:"1f942",uc_output:"1f942",uc_match:"1f942",uc_greedy:"1f942",shortnames:[":clinking_glass:"],category:"food"},":chart:":{uc_base:"1f4b9",uc_output:"1f4b9",uc_match:"1f4b9",uc_greedy:"1f4b9",shortnames:[],category:"symbols"},":chart_with_downwards_trend:":{uc_base:"1f4c9",uc_output:"1f4c9",uc_match:"1f4c9",uc_greedy:"1f4c9",shortnames:[],category:"objects"},":chart_with_upwards_trend:":{uc_base:"1f4c8",uc_output:"1f4c8",uc_match:"1f4c8",uc_greedy:"1f4c8",shortnames:[],category:"objects"},":checkered_flag:":{uc_base:"1f3c1",uc_output:"1f3c1",uc_match:"1f3c1",uc_greedy:"1f3c1",shortnames:[],category:"flags"},":cheese:":{uc_base:"1f9c0",uc_output:"1f9c0",uc_match:"1f9c0",uc_greedy:"1f9c0",shortnames:[":cheese_wedge:"],category:"food"},":cherries:":{uc_base:"1f352",uc_output:"1f352",uc_match:"1f352",uc_greedy:"1f352",shortnames:[],category:"food"},":cherry_blossom:":{uc_base:"1f338",uc_output:"1f338",uc_match:"1f338",uc_greedy:"1f338",shortnames:[],category:"nature"},":chestnut:":{uc_base:"1f330",uc_output:"1f330",uc_match:"1f330",uc_greedy:"1f330",shortnames:[],category:"food"},":chicken:":{uc_base:"1f414",uc_output:"1f414",uc_match:"1f414",uc_greedy:"1f414",shortnames:[],category:"nature"},":child:":{uc_base:"1f9d2",uc_output:"1f9d2",uc_match:"1f9d2",uc_greedy:"1f9d2",shortnames:[],category:"people"},":children_crossing:":{uc_base:"1f6b8",uc_output:"1f6b8",uc_match:"1f6b8",uc_greedy:"1f6b8",shortnames:[],category:"symbols"},":chipmunk:":{uc_base:"1f43f",uc_output:"1f43f",uc_match:"1f43f-fe0f",uc_greedy:"1f43f-fe0f",shortnames:[],category:"nature"},":chocolate_bar:":{uc_base:"1f36b",uc_output:"1f36b",uc_match:"1f36b",uc_greedy:"1f36b",shortnames:[],category:"food"},":chopsticks:":{uc_base:"1f962",uc_output:"1f962",uc_match:"1f962",uc_greedy:"1f962",shortnames:[],category:"food"},":christmas_tree:":{uc_base:"1f384",uc_output:"1f384",uc_match:"1f384",uc_greedy:"1f384",shortnames:[],category:"nature"},":cinema:":{uc_base:"1f3a6",uc_output:"1f3a6",uc_match:"1f3a6",uc_greedy:"1f3a6",shortnames:[],category:"symbols"},":circus_tent:":{uc_base:"1f3aa",uc_output:"1f3aa",uc_match:"1f3aa",uc_greedy:"1f3aa",shortnames:[],category:"activity"},":city_dusk:":{uc_base:"1f306",uc_output:"1f306",uc_match:"1f306",uc_greedy:"1f306",shortnames:[],category:"travel"},":city_sunset:":{uc_base:"1f307",uc_output:"1f307",uc_match:"1f307",uc_greedy:"1f307",shortnames:[":city_sunrise:"],category:"travel"},":cityscape:":{uc_base:"1f3d9",uc_output:"1f3d9",uc_match:"1f3d9-fe0f",uc_greedy:"1f3d9-fe0f",shortnames:[],category:"travel"},":cl:":{uc_base:"1f191",uc_output:"1f191",uc_match:"1f191",uc_greedy:"1f191",shortnames:[],category:"symbols"},":clap:":{uc_base:"1f44f",uc_output:"1f44f",uc_match:"1f44f",uc_greedy:"1f44f",shortnames:[],category:"people"},":clapper:":{uc_base:"1f3ac",uc_output:"1f3ac",uc_match:"1f3ac-fe0f",uc_greedy:"1f3ac-fe0f",shortnames:[],category:"activity"},":classical_building:":{uc_base:"1f3db",uc_output:"1f3db",uc_match:"1f3db-fe0f",uc_greedy:"1f3db-fe0f",shortnames:[],category:"travel"},":clipboard:":{uc_base:"1f4cb",uc_output:"1f4cb",uc_match:"1f4cb-fe0f",uc_greedy:"1f4cb-fe0f",shortnames:[],category:"objects"},":clock1030:":{uc_base:"1f565",uc_output:"1f565",uc_match:"1f565-fe0f",uc_greedy:"1f565-fe0f",shortnames:[],category:"symbols"},":clock10:":{uc_base:"1f559",uc_output:"1f559",uc_match:"1f559-fe0f",uc_greedy:"1f559-fe0f",shortnames:[],category:"symbols"},":clock1130:":{uc_base:"1f566",uc_output:"1f566",uc_match:"1f566-fe0f",uc_greedy:"1f566-fe0f",shortnames:[],category:"symbols"},":clock11:":{uc_base:"1f55a",uc_output:"1f55a",uc_match:"1f55a-fe0f",uc_greedy:"1f55a-fe0f",shortnames:[],category:"symbols"},":clock1230:":{uc_base:"1f567",uc_output:"1f567",uc_match:"1f567-fe0f",uc_greedy:"1f567-fe0f",shortnames:[],category:"symbols"},":clock12:":{uc_base:"1f55b",uc_output:"1f55b",uc_match:"1f55b-fe0f",uc_greedy:"1f55b-fe0f",shortnames:[],category:"symbols"},":clock130:":{uc_base:"1f55c",uc_output:"1f55c",uc_match:"1f55c-fe0f",uc_greedy:"1f55c-fe0f",shortnames:[],category:"symbols"},":clock1:":{uc_base:"1f550",uc_output:"1f550",uc_match:"1f550-fe0f",uc_greedy:"1f550-fe0f",shortnames:[],category:"symbols"},":clock230:":{uc_base:"1f55d",uc_output:"1f55d",uc_match:"1f55d-fe0f",uc_greedy:"1f55d-fe0f",shortnames:[],category:"symbols"},":clock2:":{uc_base:"1f551",uc_output:"1f551",uc_match:"1f551-fe0f",uc_greedy:"1f551-fe0f",shortnames:[],category:"symbols"},":clock330:":{uc_base:"1f55e",uc_output:"1f55e",uc_match:"1f55e-fe0f",uc_greedy:"1f55e-fe0f",shortnames:[],category:"symbols"},":clock3:":{uc_base:"1f552",uc_output:"1f552",uc_match:"1f552-fe0f",uc_greedy:"1f552-fe0f",shortnames:[],category:"symbols"},":clock430:":{uc_base:"1f55f",uc_output:"1f55f",uc_match:"1f55f-fe0f",uc_greedy:"1f55f-fe0f",shortnames:[],category:"symbols"},":clock4:":{uc_base:"1f553",uc_output:"1f553",uc_match:"1f553-fe0f",uc_greedy:"1f553-fe0f",shortnames:[],category:"symbols"},":clock530:":{uc_base:"1f560",uc_output:"1f560",uc_match:"1f560-fe0f",uc_greedy:"1f560-fe0f",shortnames:[],category:"symbols"},":clock5:":{uc_base:"1f554",uc_output:"1f554",uc_match:"1f554-fe0f",uc_greedy:"1f554-fe0f",shortnames:[],category:"symbols"},":clock630:":{uc_base:"1f561",uc_output:"1f561",uc_match:"1f561-fe0f",uc_greedy:"1f561-fe0f",shortnames:[],category:"symbols"},":clock6:":{uc_base:"1f555",uc_output:"1f555",uc_match:"1f555-fe0f",uc_greedy:"1f555-fe0f",shortnames:[],category:"symbols"},":clock730:":{uc_base:"1f562",uc_output:"1f562",uc_match:"1f562-fe0f",uc_greedy:"1f562-fe0f",shortnames:[],category:"symbols"},":clock7:":{uc_base:"1f556",uc_output:"1f556",uc_match:"1f556-fe0f",uc_greedy:"1f556-fe0f",shortnames:[],category:"symbols"},":clock830:":{uc_base:"1f563",uc_output:"1f563",uc_match:"1f563-fe0f",uc_greedy:"1f563-fe0f",shortnames:[],category:"symbols"},":clock8:":{uc_base:"1f557",uc_output:"1f557",uc_match:"1f557-fe0f",uc_greedy:"1f557-fe0f",shortnames:[],category:"symbols"},":clock930:":{uc_base:"1f564",uc_output:"1f564",uc_match:"1f564-fe0f",uc_greedy:"1f564-fe0f",shortnames:[],category:"symbols"},":clock9:":{uc_base:"1f558",uc_output:"1f558",uc_match:"1f558-fe0f",uc_greedy:"1f558-fe0f",shortnames:[],category:"symbols"},":clock:":{uc_base:"1f570",uc_output:"1f570",uc_match:"1f570-fe0f",uc_greedy:"1f570-fe0f",shortnames:[":mantlepiece_clock:"],category:"objects"},":closed_book:":{uc_base:"1f4d5",uc_output:"1f4d5",uc_match:"1f4d5",uc_greedy:"1f4d5",shortnames:[],category:"objects"},":closed_lock_with_key:":{uc_base:"1f510",uc_output:"1f510",uc_match:"1f510",uc_greedy:"1f510",shortnames:[],category:"objects"},":closed_umbrella:":{uc_base:"1f302",uc_output:"1f302",uc_match:"1f302",uc_greedy:"1f302",shortnames:[],category:"people"},":cloud_lightning:":{uc_base:"1f329",uc_output:"1f329",uc_match:"1f329-fe0f",uc_greedy:"1f329-fe0f",shortnames:[":cloud_with_lightning:"],category:"nature"},":cloud_rain:":{uc_base:"1f327",uc_output:"1f327",uc_match:"1f327-fe0f",uc_greedy:"1f327-fe0f",shortnames:[":cloud_with_rain:"],category:"nature"},":cloud_snow:":{uc_base:"1f328",uc_output:"1f328",uc_match:"1f328-fe0f",uc_greedy:"1f328-fe0f",shortnames:[":cloud_with_snow:"],category:"nature"},":cloud_tornado:":{uc_base:"1f32a",uc_output:"1f32a",uc_match:"1f32a-fe0f",uc_greedy:"1f32a-fe0f",shortnames:[":cloud_with_tornado:"],category:"nature"},":clown:":{uc_base:"1f921",uc_output:"1f921",uc_match:"1f921",uc_greedy:"1f921",shortnames:[":clown_face:"],category:"people"},":coat:":{uc_base:"1f9e5",uc_output:"1f9e5",uc_match:"1f9e5",uc_greedy:"1f9e5",shortnames:[],category:"people"},":cocktail:":{uc_base:"1f378",uc_output:"1f378",uc_match:"1f378-fe0f",uc_greedy:"1f378-fe0f",shortnames:[],category:"food"},":coconut:":{uc_base:"1f965",uc_output:"1f965",uc_match:"1f965",uc_greedy:"1f965",shortnames:[],category:"food"},":cold_face:":{uc_base:"1f976",uc_output:"1f976",uc_match:"1f976",uc_greedy:"1f976",shortnames:[],category:"people"},":cold_sweat:":{uc_base:"1f630",uc_output:"1f630",uc_match:"1f630",uc_greedy:"1f630",shortnames:[],category:"people"},":compass:":{uc_base:"1f9ed",uc_output:"1f9ed",uc_match:"1f9ed",uc_greedy:"1f9ed",shortnames:[],category:"objects"},":compression:":{uc_base:"1f5dc",uc_output:"1f5dc",uc_match:"1f5dc-fe0f",uc_greedy:"1f5dc-fe0f",shortnames:[],category:"objects"},":computer:":{uc_base:"1f4bb",uc_output:"1f4bb",uc_match:"1f4bb-fe0f",uc_greedy:"1f4bb-fe0f",shortnames:[],category:"objects"},":confetti_ball:":{uc_base:"1f38a",uc_output:"1f38a",uc_match:"1f38a",uc_greedy:"1f38a",shortnames:[],category:"objects"},":confounded:":{uc_base:"1f616",uc_output:"1f616",uc_match:"1f616",uc_greedy:"1f616",shortnames:[],category:"people"},":confused:":{uc_base:"1f615",uc_output:"1f615",uc_match:"1f615",uc_greedy:"1f615",shortnames:[],category:"people"},":construction:":{uc_base:"1f6a7",uc_output:"1f6a7",uc_match:"1f6a7",uc_greedy:"1f6a7",shortnames:[],category:"travel"},":construction_site:":{uc_base:"1f3d7",uc_output:"1f3d7",uc_match:"1f3d7-fe0f",uc_greedy:"1f3d7-fe0f",shortnames:[":building_construction:"],category:"travel"},":construction_worker:":{uc_base:"1f477",uc_output:"1f477",uc_match:"1f477",uc_greedy:"1f477",shortnames:[],category:"people"},":control_knobs:":{uc_base:"1f39b",uc_output:"1f39b",uc_match:"1f39b-fe0f",uc_greedy:"1f39b-fe0f",shortnames:[],category:"objects"},":convenience_store:":{uc_base:"1f3ea",uc_output:"1f3ea",uc_match:"1f3ea",uc_greedy:"1f3ea",shortnames:[],category:"travel"},":cookie:":{uc_base:"1f36a",uc_output:"1f36a",uc_match:"1f36a",uc_greedy:"1f36a",shortnames:[],category:"food"},":cooking:":{uc_base:"1f373",uc_output:"1f373",uc_match:"1f373",uc_greedy:"1f373",shortnames:[],category:"food"},":cool:":{uc_base:"1f192",uc_output:"1f192",uc_match:"1f192",uc_greedy:"1f192",shortnames:[],category:"symbols"},":corn:":{uc_base:"1f33d",uc_output:"1f33d",uc_match:"1f33d",uc_greedy:"1f33d",shortnames:[],category:"food"},":couch:":{uc_base:"1f6cb",uc_output:"1f6cb",uc_match:"1f6cb-fe0f",uc_greedy:"1f6cb-fe0f",shortnames:[":couch_and_lamp:"],category:"objects"},":couple:":{uc_base:"1f46b",uc_output:"1f46b",uc_match:"1f46b",uc_greedy:"1f46b",shortnames:[],category:"people"},":couple_with_heart:":{uc_base:"1f491",uc_output:"1f491",uc_match:"1f491",uc_greedy:"1f491",shortnames:[],category:"people"},":couplekiss:":{uc_base:"1f48f",uc_output:"1f48f",uc_match:"1f48f",uc_greedy:"1f48f",shortnames:[],category:"people"},":cow2:":{uc_base:"1f404",uc_output:"1f404",uc_match:"1f404",uc_greedy:"1f404",shortnames:[],category:"nature"},":cow:":{uc_base:"1f42e",uc_output:"1f42e",uc_match:"1f42e",uc_greedy:"1f42e",shortnames:[],category:"nature"},":cowboy:":{uc_base:"1f920",uc_output:"1f920",uc_match:"1f920",uc_greedy:"1f920",shortnames:[":face_with_cowboy_hat:"],category:"people"},":crab:":{uc_base:"1f980",uc_output:"1f980",uc_match:"1f980",uc_greedy:"1f980",shortnames:[],category:"nature"},":crayon:":{uc_base:"1f58d",uc_output:"1f58d",uc_match:"1f58d-fe0f",uc_greedy:"1f58d-fe0f",shortnames:[":lower_left_crayon:"],category:"objects"},":credit_card:":{uc_base:"1f4b3",uc_output:"1f4b3",uc_match:"1f4b3-fe0f",uc_greedy:"1f4b3-fe0f",shortnames:[],category:"objects"},":crescent_moon:":{uc_base:"1f319",uc_output:"1f319",uc_match:"1f319",uc_greedy:"1f319",shortnames:[],category:"nature"},":cricket:":{uc_base:"1f997",uc_output:"1f997",uc_match:"1f997",uc_greedy:"1f997",shortnames:[],category:"nature"},":cricket_game:":{uc_base:"1f3cf",uc_output:"1f3cf",uc_match:"1f3cf",uc_greedy:"1f3cf",shortnames:[":cricket_bat_ball:"],category:"activity"},":crocodile:":{uc_base:"1f40a",uc_output:"1f40a",uc_match:"1f40a",uc_greedy:"1f40a",shortnames:[],category:"nature"},":croissant:":{uc_base:"1f950",uc_output:"1f950",uc_match:"1f950",uc_greedy:"1f950",shortnames:[],category:"food"},":crossed_flags:":{uc_base:"1f38c",uc_output:"1f38c",uc_match:"1f38c",uc_greedy:"1f38c",shortnames:[],category:"flags"},":crown:":{uc_base:"1f451",uc_output:"1f451",uc_match:"1f451",uc_greedy:"1f451",shortnames:[],category:"people"},":cruise_ship:":{uc_base:"1f6f3",uc_output:"1f6f3",uc_match:"1f6f3-fe0f",uc_greedy:"1f6f3-fe0f",shortnames:[":passenger_ship:"],category:"travel"},":cry:":{uc_base:"1f622",uc_output:"1f622",uc_match:"1f622",uc_greedy:"1f622",shortnames:[],category:"people"},":crying_cat_face:":{uc_base:"1f63f",uc_output:"1f63f",uc_match:"1f63f",uc_greedy:"1f63f",shortnames:[],category:"people"},":crystal_ball:":{uc_base:"1f52e",uc_output:"1f52e",uc_match:"1f52e",uc_greedy:"1f52e",shortnames:[],category:"objects"},":cucumber:":{uc_base:"1f952",uc_output:"1f952",uc_match:"1f952",uc_greedy:"1f952",shortnames:[],category:"food"},":cup_with_straw:":{uc_base:"1f964",uc_output:"1f964",uc_match:"1f964",uc_greedy:"1f964",shortnames:[],category:"food"},":cupcake:":{uc_base:"1f9c1",uc_output:"1f9c1",uc_match:"1f9c1",uc_greedy:"1f9c1",shortnames:[],category:"food"},":cupid:":{uc_base:"1f498",uc_output:"1f498",uc_match:"1f498",uc_greedy:"1f498",shortnames:[],category:"symbols"},":curling_stone:":{uc_base:"1f94c",uc_output:"1f94c",uc_match:"1f94c",uc_greedy:"1f94c",shortnames:[],category:"activity"},":curly_haired:":{uc_base:"1f9b1",uc_output:"1f9b1",uc_match:"1f9b1",uc_greedy:"1f9b1",shortnames:[],category:"people"},":currency_exchange:":{uc_base:"1f4b1",uc_output:"1f4b1",uc_match:"1f4b1",uc_greedy:"1f4b1",shortnames:[],category:"symbols"},":curry:":{uc_base:"1f35b",uc_output:"1f35b",uc_match:"1f35b",uc_greedy:"1f35b",shortnames:[],category:"food"},":custard:":{uc_base:"1f36e",uc_output:"1f36e",uc_match:"1f36e",uc_greedy:"1f36e",shortnames:[":pudding:",":flan:"],category:"food"},":customs:":{uc_base:"1f6c3",uc_output:"1f6c3",uc_match:"1f6c3",uc_greedy:"1f6c3",shortnames:[],category:"symbols"},":cut_of_meat:":{uc_base:"1f969",uc_output:"1f969",uc_match:"1f969",uc_greedy:"1f969",shortnames:[],category:"food"},":cyclone:":{uc_base:"1f300",uc_output:"1f300",uc_match:"1f300",uc_greedy:"1f300",shortnames:[],category:"symbols"},":dagger:":{uc_base:"1f5e1",uc_output:"1f5e1",uc_match:"1f5e1-fe0f",uc_greedy:"1f5e1-fe0f",shortnames:[":dagger_knife:"],category:"objects"},":dancer:":{uc_base:"1f483",uc_output:"1f483",uc_match:"1f483",uc_greedy:"1f483",shortnames:[],category:"people"},":dango:":{uc_base:"1f361",uc_output:"1f361",uc_match:"1f361",uc_greedy:"1f361",shortnames:[],category:"food"},":dark_sunglasses:":{uc_base:"1f576",uc_output:"1f576",uc_match:"1f576-fe0f",uc_greedy:"1f576-fe0f",shortnames:[],category:"people"},":dart:":{uc_base:"1f3af",uc_output:"1f3af",uc_match:"1f3af",uc_greedy:"1f3af",shortnames:[],category:"activity"},":dash:":{uc_base:"1f4a8",uc_output:"1f4a8",uc_match:"1f4a8",uc_greedy:"1f4a8",shortnames:[],category:"nature"},":date:":{uc_base:"1f4c5",uc_output:"1f4c5",uc_match:"1f4c5",uc_greedy:"1f4c5",shortnames:[],category:"objects"},":deciduous_tree:":{uc_base:"1f333",uc_output:"1f333",uc_match:"1f333",uc_greedy:"1f333",shortnames:[],category:"nature"},":deer:":{uc_base:"1f98c",uc_output:"1f98c",uc_match:"1f98c",uc_greedy:"1f98c",shortnames:[],category:"nature"},":department_store:":{uc_base:"1f3ec",uc_output:"1f3ec",uc_match:"1f3ec",uc_greedy:"1f3ec",shortnames:[],category:"travel"},":desert:":{uc_base:"1f3dc",uc_output:"1f3dc",uc_match:"1f3dc-fe0f",uc_greedy:"1f3dc-fe0f",shortnames:[],category:"travel"},":desktop:":{uc_base:"1f5a5",uc_output:"1f5a5",uc_match:"1f5a5-fe0f",uc_greedy:"1f5a5-fe0f",shortnames:[":desktop_computer:"],category:"objects"},":detective:":{uc_base:"1f575",uc_output:"1f575",uc_match:"1f575-fe0f",uc_greedy:"1f575-fe0f",shortnames:[":spy:",":sleuth_or_spy:"],category:"people"},":diamond_shape_with_a_dot_inside:":{uc_base:"1f4a0",uc_output:"1f4a0",uc_match:"1f4a0",uc_greedy:"1f4a0",shortnames:[],category:"symbols"},":disappointed:":{uc_base:"1f61e",uc_output:"1f61e",uc_match:"1f61e",uc_greedy:"1f61e",shortnames:[],category:"people"},":disappointed_relieved:":{uc_base:"1f625",uc_output:"1f625",uc_match:"1f625",uc_greedy:"1f625",shortnames:[],category:"people"},":dividers:":{uc_base:"1f5c2",uc_output:"1f5c2",uc_match:"1f5c2-fe0f",uc_greedy:"1f5c2-fe0f",shortnames:[":card_index_dividers:"],category:"objects"},":dizzy:":{uc_base:"1f4ab",uc_output:"1f4ab",uc_match:"1f4ab",uc_greedy:"1f4ab",shortnames:[],category:"nature"},":dizzy_face:":{uc_base:"1f635",uc_output:"1f635",uc_match:"1f635",uc_greedy:"1f635",shortnames:[],category:"people"},":dna:":{uc_base:"1f9ec",uc_output:"1f9ec",uc_match:"1f9ec",uc_greedy:"1f9ec",shortnames:[],category:"objects"},":do_not_litter:":{uc_base:"1f6af",uc_output:"1f6af",uc_match:"1f6af",uc_greedy:"1f6af",shortnames:[],category:"symbols"},":dog2:":{uc_base:"1f415",uc_output:"1f415",uc_match:"1f415-fe0f",uc_greedy:"1f415-fe0f",shortnames:[],category:"nature"},":dog:":{uc_base:"1f436",uc_output:"1f436",uc_match:"1f436",uc_greedy:"1f436",shortnames:[],category:"nature"},":dollar:":{uc_base:"1f4b5",uc_output:"1f4b5",uc_match:"1f4b5",uc_greedy:"1f4b5",shortnames:[],category:"objects"},":dolls:":{uc_base:"1f38e",uc_output:"1f38e",uc_match:"1f38e",uc_greedy:"1f38e",shortnames:[],category:"objects"},":dolphin:":{uc_base:"1f42c",uc_output:"1f42c",uc_match:"1f42c",uc_greedy:"1f42c",shortnames:[],category:"nature"},":door:":{uc_base:"1f6aa",uc_output:"1f6aa",uc_match:"1f6aa",uc_greedy:"1f6aa",shortnames:[],category:"objects"},":doughnut:":{uc_base:"1f369",uc_output:"1f369",uc_match:"1f369",uc_greedy:"1f369",shortnames:[],category:"food"},":dove:":{uc_base:"1f54a",uc_output:"1f54a",uc_match:"1f54a-fe0f",uc_greedy:"1f54a-fe0f",shortnames:[":dove_of_peace:"],category:"nature"},":dragon:":{uc_base:"1f409",uc_output:"1f409",uc_match:"1f409",uc_greedy:"1f409",shortnames:[],category:"nature"},":dragon_face:":{uc_base:"1f432",uc_output:"1f432",uc_match:"1f432",uc_greedy:"1f432",shortnames:[],category:"nature"},":dress:":{uc_base:"1f457",uc_output:"1f457",uc_match:"1f457",uc_greedy:"1f457",shortnames:[],category:"people"},":dromedary_camel:":{uc_base:"1f42a",uc_output:"1f42a",uc_match:"1f42a",uc_greedy:"1f42a",shortnames:[],category:"nature"},":drooling_face:":{uc_base:"1f924",uc_output:"1f924",uc_match:"1f924",uc_greedy:"1f924",shortnames:[":drool:"],category:"people"},":droplet:":{uc_base:"1f4a7",uc_output:"1f4a7",uc_match:"1f4a7",uc_greedy:"1f4a7",shortnames:[],category:"nature"},":drum:":{uc_base:"1f941",uc_output:"1f941",uc_match:"1f941",uc_greedy:"1f941",shortnames:[":drum_with_drumsticks:"],category:"activity"},":duck:":{uc_base:"1f986",uc_output:"1f986",uc_match:"1f986",uc_greedy:"1f986",shortnames:[],category:"nature"},":dumpling:":{uc_base:"1f95f",uc_output:"1f95f",uc_match:"1f95f",uc_greedy:"1f95f",shortnames:[],category:"food"},":dvd:":{uc_base:"1f4c0",uc_output:"1f4c0",uc_match:"1f4c0",uc_greedy:"1f4c0",shortnames:[],category:"objects"},":e-mail:":{uc_base:"1f4e7",uc_output:"1f4e7",uc_match:"1f4e7",uc_greedy:"1f4e7",shortnames:[":email:"],category:"objects"},":eagle:":{uc_base:"1f985",uc_output:"1f985",uc_match:"1f985",uc_greedy:"1f985",shortnames:[],category:"nature"},":ear:":{uc_base:"1f442",uc_output:"1f442",uc_match:"1f442-fe0f",uc_greedy:"1f442-fe0f",shortnames:[],category:"people"},":ear_of_rice:":{uc_base:"1f33e",uc_output:"1f33e",uc_match:"1f33e",uc_greedy:"1f33e",shortnames:[],category:"nature"},":earth_africa:":{uc_base:"1f30d",uc_output:"1f30d",uc_match:"1f30d-fe0f",uc_greedy:"1f30d-fe0f",shortnames:[],category:"nature"},":earth_americas:":{uc_base:"1f30e",uc_output:"1f30e",uc_match:"1f30e-fe0f",uc_greedy:"1f30e-fe0f",shortnames:[],category:"nature"},":earth_asia:":{uc_base:"1f30f",uc_output:"1f30f",uc_match:"1f30f-fe0f",uc_greedy:"1f30f-fe0f",shortnames:[],category:"nature"},":egg:":{uc_base:"1f95a",uc_output:"1f95a",uc_match:"1f95a",uc_greedy:"1f95a",shortnames:[],category:"food"},":eggplant:":{uc_base:"1f346",uc_output:"1f346",uc_match:"1f346",uc_greedy:"1f346",shortnames:[],category:"food"},":electric_plug:":{uc_base:"1f50c",uc_output:"1f50c",uc_match:"1f50c",uc_greedy:"1f50c",shortnames:[],category:"objects"},":elephant:":{uc_base:"1f418",uc_output:"1f418",uc_match:"1f418",uc_greedy:"1f418",shortnames:[],category:"nature"},":elf:":{uc_base:"1f9dd",uc_output:"1f9dd",uc_match:"1f9dd",uc_greedy:"1f9dd",shortnames:[],category:"people"},":end:":{uc_base:"1f51a",uc_output:"1f51a",uc_match:"1f51a",uc_greedy:"1f51a",shortnames:[],category:"symbols"},":envelope_with_arrow:":{uc_base:"1f4e9",uc_output:"1f4e9",uc_match:"1f4e9",uc_greedy:"1f4e9",shortnames:[],category:"objects"},":euro:":{uc_base:"1f4b6",uc_output:"1f4b6",uc_match:"1f4b6",uc_greedy:"1f4b6",shortnames:[],category:"objects"},":european_castle:":{uc_base:"1f3f0",uc_output:"1f3f0",uc_match:"1f3f0",uc_greedy:"1f3f0",shortnames:[],category:"travel"},":european_post_office:":{uc_base:"1f3e4",uc_output:"1f3e4",uc_match:"1f3e4",uc_greedy:"1f3e4",shortnames:[],category:"travel"},":evergreen_tree:":{uc_base:"1f332",uc_output:"1f332",uc_match:"1f332",uc_greedy:"1f332",shortnames:[],category:"nature"},":exploding_head:":{uc_base:"1f92f",uc_output:"1f92f",uc_match:"1f92f",uc_greedy:"1f92f",shortnames:[],category:"people"},":expressionless:":{uc_base:"1f611",uc_output:"1f611",uc_match:"1f611",uc_greedy:"1f611",shortnames:[],category:"people"},":eye:":{uc_base:"1f441",uc_output:"1f441",uc_match:"1f441-fe0f",uc_greedy:"1f441-fe0f",shortnames:[],category:"people"},":eyeglasses:":{uc_base:"1f453",uc_output:"1f453",uc_match:"1f453-fe0f",uc_greedy:"1f453-fe0f",shortnames:[],category:"people"},":eyes:":{uc_base:"1f440",uc_output:"1f440",uc_match:"1f440",uc_greedy:"1f440",shortnames:[],category:"people"},":face_vomiting:":{uc_base:"1f92e",uc_output:"1f92e",uc_match:"1f92e",uc_greedy:"1f92e",shortnames:[],category:"people"},":face_with_hand_over_mouth:":{uc_base:"1f92d",uc_output:"1f92d",uc_match:"1f92d",uc_greedy:"1f92d",shortnames:[],category:"people"},":face_with_monocle:":{uc_base:"1f9d0",uc_output:"1f9d0",uc_match:"1f9d0",uc_greedy:"1f9d0",shortnames:[],category:"people"},":face_with_raised_eyebrow:":{uc_base:"1f928",uc_output:"1f928",uc_match:"1f928",uc_greedy:"1f928",shortnames:[],category:"people"},":face_with_symbols_over_mouth:":{uc_base:"1f92c",uc_output:"1f92c",uc_match:"1f92c",uc_greedy:"1f92c",shortnames:[],category:"people"},":factory:":{uc_base:"1f3ed",uc_output:"1f3ed",uc_match:"1f3ed-fe0f",uc_greedy:"1f3ed-fe0f",shortnames:[],category:"travel"},":fairy:":{uc_base:"1f9da",uc_output:"1f9da",uc_match:"1f9da",uc_greedy:"1f9da",shortnames:[],category:"people"},":fallen_leaf:":{uc_base:"1f342",uc_output:"1f342",uc_match:"1f342",uc_greedy:"1f342",shortnames:[],category:"nature"},":family:":{uc_base:"1f46a",uc_output:"1f46a",uc_match:"1f46a-fe0f",uc_greedy:"1f46a-fe0f",shortnames:[],category:"people"},":fax:":{uc_base:"1f4e0",uc_output:"1f4e0",uc_match:"1f4e0",uc_greedy:"1f4e0",shortnames:[],category:"objects"},":fearful:":{uc_base:"1f628",uc_output:"1f628",uc_match:"1f628",uc_greedy:"1f628",shortnames:[],category:"people"},":feet:":{uc_base:"1f43e",uc_output:"1f43e",uc_match:"1f43e",uc_greedy:"1f43e",shortnames:[":paw_prints:"],category:"nature"},":ferris_wheel:":{uc_base:"1f3a1",uc_output:"1f3a1",uc_match:"1f3a1",uc_greedy:"1f3a1",shortnames:[],category:"travel"},":field_hockey:":{uc_base:"1f3d1",uc_output:"1f3d1",uc_match:"1f3d1",uc_greedy:"1f3d1",shortnames:[],category:"activity"},":file_cabinet:":{uc_base:"1f5c4",uc_output:"1f5c4",uc_match:"1f5c4-fe0f",uc_greedy:"1f5c4-fe0f",shortnames:[],category:"objects"},":file_folder:":{uc_base:"1f4c1",uc_output:"1f4c1",uc_match:"1f4c1",uc_greedy:"1f4c1",shortnames:[],category:"objects"},":film_frames:":{uc_base:"1f39e",uc_output:"1f39e",uc_match:"1f39e-fe0f",uc_greedy:"1f39e-fe0f",shortnames:[],category:"objects"},":fingers_crossed:":{uc_base:"1f91e",uc_output:"1f91e",uc_match:"1f91e",uc_greedy:"1f91e",shortnames:[":hand_with_index_and_middle_finger_crossed:"],category:"people"},":fire:":{uc_base:"1f525",uc_output:"1f525",uc_match:"1f525",uc_greedy:"1f525",shortnames:[":flame:"],category:"nature"},":fire_engine:":{uc_base:"1f692",uc_output:"1f692",uc_match:"1f692",uc_greedy:"1f692",shortnames:[],category:"travel"},":fire_extinguisher:":{uc_base:"1f9ef",uc_output:"1f9ef",uc_match:"1f9ef",uc_greedy:"1f9ef",shortnames:[],category:"objects"},":firecracker:":{uc_base:"1f9e8",uc_output:"1f9e8",uc_match:"1f9e8",uc_greedy:"1f9e8",shortnames:[],category:"travel"},":fireworks:":{uc_base:"1f386",uc_output:"1f386",uc_match:"1f386",uc_greedy:"1f386",shortnames:[],category:"travel"},":first_place:":{uc_base:"1f947",uc_output:"1f947",uc_match:"1f947",uc_greedy:"1f947",shortnames:[":first_place_medal:"],category:"activity"},":first_quarter_moon:":{uc_base:"1f313",uc_output:"1f313",uc_match:"1f313",uc_greedy:"1f313",shortnames:[],category:"nature"},":first_quarter_moon_with_face:":{uc_base:"1f31b",uc_output:"1f31b",uc_match:"1f31b",uc_greedy:"1f31b",shortnames:[],category:"nature"},":fish:":{uc_base:"1f41f",uc_output:"1f41f",uc_match:"1f41f-fe0f",uc_greedy:"1f41f-fe0f",shortnames:[],category:"nature"},":fish_cake:":{uc_base:"1f365",uc_output:"1f365",uc_match:"1f365",uc_greedy:"1f365",shortnames:[],category:"food"},":fishing_pole_and_fish:":{uc_base:"1f3a3",uc_output:"1f3a3",uc_match:"1f3a3",uc_greedy:"1f3a3",shortnames:[],category:"activity"},":flag_black:":{uc_base:"1f3f4",uc_output:"1f3f4",uc_match:"1f3f4",uc_greedy:"1f3f4",shortnames:[":waving_black_flag:"],category:"flags"},":flag_white:":{uc_base:"1f3f3",uc_output:"1f3f3",uc_match:"1f3f3-fe0f",uc_greedy:"1f3f3-fe0f",shortnames:[":waving_white_flag:"],category:"flags"},":flags:":{uc_base:"1f38f",uc_output:"1f38f",uc_match:"1f38f",uc_greedy:"1f38f",shortnames:[],category:"objects"},":flashlight:":{uc_base:"1f526",uc_output:"1f526",uc_match:"1f526",uc_greedy:"1f526",shortnames:[],category:"objects"},":floppy_disk:":{uc_base:"1f4be",uc_output:"1f4be",uc_match:"1f4be",uc_greedy:"1f4be",shortnames:[],category:"objects"},":flower_playing_cards:":{uc_base:"1f3b4",uc_output:"1f3b4",uc_match:"1f3b4",uc_greedy:"1f3b4",shortnames:[],category:"symbols"},":flushed:":{uc_base:"1f633",uc_output:"1f633",uc_match:"1f633",uc_greedy:"1f633",shortnames:[],category:"people"},":flying_disc:":{uc_base:"1f94f",uc_output:"1f94f",uc_match:"1f94f",uc_greedy:"1f94f",shortnames:[],category:"activity"},":flying_saucer:":{uc_base:"1f6f8",uc_output:"1f6f8",uc_match:"1f6f8",uc_greedy:"1f6f8",shortnames:[],category:"travel"},":fog:":{uc_base:"1f32b",uc_output:"1f32b",uc_match:"1f32b-fe0f",uc_greedy:"1f32b-fe0f",shortnames:[],category:"nature"},":foggy:":{uc_base:"1f301",uc_output:"1f301",uc_match:"1f301",uc_greedy:"1f301",shortnames:[],category:"travel"},":foot:":{uc_base:"1f9b6",uc_output:"1f9b6",uc_match:"1f9b6",uc_greedy:"1f9b6",shortnames:[],category:"people"},":football:":{uc_base:"1f3c8",uc_output:"1f3c8",uc_match:"1f3c8",uc_greedy:"1f3c8",shortnames:[],category:"activity"},":footprints:":{uc_base:"1f463",uc_output:"1f463",uc_match:"1f463",uc_greedy:"1f463",shortnames:[],category:"people"},":fork_and_knife:":{uc_base:"1f374",uc_output:"1f374",uc_match:"1f374",uc_greedy:"1f374",shortnames:[],category:"food"},":fork_knife_plate:":{uc_base:"1f37d",uc_output:"1f37d",uc_match:"1f37d-fe0f",uc_greedy:"1f37d-fe0f",shortnames:[":fork_and_knife_with_plate:"],category:"food"},":fortune_cookie:":{uc_base:"1f960",uc_output:"1f960",uc_match:"1f960",uc_greedy:"1f960",shortnames:[],category:"food"},":four_leaf_clover:":{uc_base:"1f340",uc_output:"1f340",uc_match:"1f340",uc_greedy:"1f340",shortnames:[],category:"nature"},":fox:":{uc_base:"1f98a",uc_output:"1f98a",uc_match:"1f98a",uc_greedy:"1f98a",shortnames:[":fox_face:"],category:"nature"},":frame_photo:":{uc_base:"1f5bc",uc_output:"1f5bc",uc_match:"1f5bc-fe0f",uc_greedy:"1f5bc-fe0f",shortnames:[":frame_with_picture:"],category:"objects"},":free:":{uc_base:"1f193",uc_output:"1f193",uc_match:"1f193",uc_greedy:"1f193",shortnames:[],category:"symbols"},":french_bread:":{uc_base:"1f956",uc_output:"1f956",uc_match:"1f956",uc_greedy:"1f956",shortnames:[":baguette_bread:"],category:"food"},":fried_shrimp:":{uc_base:"1f364",uc_output:"1f364",uc_match:"1f364",uc_greedy:"1f364",shortnames:[],category:"food"},":fries:":{uc_base:"1f35f",uc_output:"1f35f",uc_match:"1f35f",uc_greedy:"1f35f",shortnames:[],category:"food"},":frog:":{uc_base:"1f438",uc_output:"1f438",uc_match:"1f438",uc_greedy:"1f438",shortnames:[],category:"nature"},":frowning:":{uc_base:"1f626",uc_output:"1f626",uc_match:"1f626",uc_greedy:"1f626",shortnames:[],category:"people"},":full_moon:":{uc_base:"1f315",uc_output:"1f315",uc_match:"1f315-fe0f",uc_greedy:"1f315-fe0f",shortnames:[],category:"nature"},":full_moon_with_face:":{uc_base:"1f31d",uc_output:"1f31d",uc_match:"1f31d",uc_greedy:"1f31d",shortnames:[],category:"nature"},":game_die:":{uc_base:"1f3b2",uc_output:"1f3b2",uc_match:"1f3b2",uc_greedy:"1f3b2",shortnames:[],category:"activity"},":gem:":{uc_base:"1f48e",uc_output:"1f48e",uc_match:"1f48e",uc_greedy:"1f48e",shortnames:[],category:"objects"},":genie:":{uc_base:"1f9de",uc_output:"1f9de",uc_match:"1f9de",uc_greedy:"1f9de",shortnames:[],category:"people"},":ghost:":{uc_base:"1f47b",uc_output:"1f47b",uc_match:"1f47b",uc_greedy:"1f47b",shortnames:[],category:"people"},":gift:":{uc_base:"1f381",uc_output:"1f381",uc_match:"1f381",uc_greedy:"1f381",shortnames:[],category:"objects"},":gift_heart:":{uc_base:"1f49d",uc_output:"1f49d",uc_match:"1f49d",uc_greedy:"1f49d",shortnames:[],category:"symbols"},":giraffe:":{uc_base:"1f992",uc_output:"1f992",uc_match:"1f992",uc_greedy:"1f992",shortnames:[],category:"nature"},":girl:":{uc_base:"1f467",uc_output:"1f467",uc_match:"1f467",uc_greedy:"1f467",shortnames:[],category:"people"},":globe_with_meridians:":{uc_base:"1f310",uc_output:"1f310",uc_match:"1f310",uc_greedy:"1f310",shortnames:[],category:"symbols"},":gloves:":{uc_base:"1f9e4",uc_output:"1f9e4",uc_match:"1f9e4",uc_greedy:"1f9e4",shortnames:[],category:"people"},":goal:":{uc_base:"1f945",uc_output:"1f945",uc_match:"1f945",uc_greedy:"1f945",shortnames:[":goal_net:"],category:"activity"},":goat:":{uc_base:"1f410",uc_output:"1f410",uc_match:"1f410",uc_greedy:"1f410",shortnames:[],category:"nature"},":goggles:":{uc_base:"1f97d",uc_output:"1f97d",uc_match:"1f97d",uc_greedy:"1f97d",shortnames:[],category:"people"},":gorilla:":{uc_base:"1f98d",uc_output:"1f98d",uc_match:"1f98d",uc_greedy:"1f98d",shortnames:[],category:"nature"},":grapes:":{uc_base:"1f347",uc_output:"1f347",uc_match:"1f347",uc_greedy:"1f347",shortnames:[],category:"food"},":green_apple:":{uc_base:"1f34f",uc_output:"1f34f",uc_match:"1f34f",uc_greedy:"1f34f",shortnames:[],category:"food"},":green_book:":{uc_base:"1f4d7",uc_output:"1f4d7",uc_match:"1f4d7",uc_greedy:"1f4d7",shortnames:[],category:"objects"},":green_heart:":{uc_base:"1f49a",uc_output:"1f49a",uc_match:"1f49a",uc_greedy:"1f49a",shortnames:[],category:"symbols"},":grimacing:":{uc_base:"1f62c",uc_output:"1f62c",uc_match:"1f62c",uc_greedy:"1f62c",shortnames:[],category:"people"},":grin:":{uc_base:"1f601",uc_output:"1f601",uc_match:"1f601",uc_greedy:"1f601",shortnames:[],category:"people"},":grinning:":{uc_base:"1f600",uc_output:"1f600",uc_match:"1f600",uc_greedy:"1f600",shortnames:[],category:"people"},":guard:":{uc_base:"1f482",uc_output:"1f482",uc_match:"1f482",uc_greedy:"1f482",shortnames:[":guardsman:"],category:"people"},":guitar:":{uc_base:"1f3b8",uc_output:"1f3b8",uc_match:"1f3b8",uc_greedy:"1f3b8",shortnames:[],category:"activity"},":gun:":{uc_base:"1f52b",uc_output:"1f52b",uc_match:"1f52b",uc_greedy:"1f52b",shortnames:[],category:"objects"},":hamburger:":{uc_base:"1f354",uc_output:"1f354",uc_match:"1f354",uc_greedy:"1f354",shortnames:[],category:"food"},":hammer:":{uc_base:"1f528",uc_output:"1f528",uc_match:"1f528",uc_greedy:"1f528",shortnames:[],category:"objects"},":hamster:":{uc_base:"1f439",uc_output:"1f439",uc_match:"1f439",uc_greedy:"1f439",shortnames:[],category:"nature"},":hand_splayed:":{uc_base:"1f590",uc_output:"1f590",uc_match:"1f590-fe0f",uc_greedy:"1f590-fe0f",shortnames:[":raised_hand_with_fingers_splayed:"],category:"people"},":handbag:":{uc_base:"1f45c",uc_output:"1f45c",uc_match:"1f45c",uc_greedy:"1f45c",shortnames:[],category:"people"},":handshake:":{uc_base:"1f91d",uc_output:"1f91d",uc_match:"1f91d",uc_greedy:"1f91d",shortnames:[":shaking_hands:"],category:"people"},":hatched_chick:":{uc_base:"1f425",uc_output:"1f425",uc_match:"1f425",uc_greedy:"1f425",shortnames:[],category:"nature"},":hatching_chick:":{uc_base:"1f423",uc_output:"1f423",uc_match:"1f423",uc_greedy:"1f423",shortnames:[],category:"nature"},":head_bandage:":{uc_base:"1f915",uc_output:"1f915",uc_match:"1f915",uc_greedy:"1f915",shortnames:[":face_with_head_bandage:"],category:"people"},":headphones:":{uc_base:"1f3a7",uc_output:"1f3a7",uc_match:"1f3a7-fe0f",uc_greedy:"1f3a7-fe0f",shortnames:[],category:"activity"},":hear_no_evil:":{uc_base:"1f649",uc_output:"1f649",uc_match:"1f649",uc_greedy:"1f649",shortnames:[],category:"nature"},":heart_decoration:":{uc_base:"1f49f",uc_output:"1f49f",uc_match:"1f49f",uc_greedy:"1f49f",shortnames:[],category:"symbols"},":heart_eyes:":{uc_base:"1f60d",uc_output:"1f60d",uc_match:"1f60d",uc_greedy:"1f60d",shortnames:[],category:"people"},":heart_eyes_cat:":{uc_base:"1f63b",uc_output:"1f63b",uc_match:"1f63b",uc_greedy:"1f63b",shortnames:[],category:"people"},":heartbeat:":{uc_base:"1f493",uc_output:"1f493",uc_match:"1f493",uc_greedy:"1f493",shortnames:[],category:"symbols"},":heartpulse:":{uc_base:"1f497",uc_output:"1f497",uc_match:"1f497",uc_greedy:"1f497",shortnames:[],category:"symbols"},":heavy_dollar_sign:":{uc_base:"1f4b2",uc_output:"1f4b2",uc_match:"1f4b2",uc_greedy:"1f4b2",shortnames:[],category:"symbols"},":hedgehog:":{uc_base:"1f994",uc_output:"1f994",uc_match:"1f994",uc_greedy:"1f994",shortnames:[],category:"nature"},":helicopter:":{uc_base:"1f681",uc_output:"1f681",uc_match:"1f681",uc_greedy:"1f681",shortnames:[],category:"travel"},":herb:":{uc_base:"1f33f",uc_output:"1f33f",uc_match:"1f33f",uc_greedy:"1f33f",shortnames:[],category:"nature"},":hibiscus:":{uc_base:"1f33a",uc_output:"1f33a",uc_match:"1f33a",uc_greedy:"1f33a",shortnames:[],category:"nature"},":high_brightness:":{uc_base:"1f506",uc_output:"1f506",uc_match:"1f506",uc_greedy:"1f506",shortnames:[],category:"symbols"},":high_heel:":{uc_base:"1f460",uc_output:"1f460",uc_match:"1f460",uc_greedy:"1f460",shortnames:[],category:"people"},":hiking_boot:":{uc_base:"1f97e",uc_output:"1f97e",uc_match:"1f97e",uc_greedy:"1f97e",shortnames:[],category:"people"},":hippopotamus:":{uc_base:"1f99b",uc_output:"1f99b",uc_match:"1f99b",uc_greedy:"1f99b",shortnames:[],category:"nature"},":hockey:":{uc_base:"1f3d2",uc_output:"1f3d2",uc_match:"1f3d2",uc_greedy:"1f3d2",shortnames:[],category:"activity"},":hole:":{uc_base:"1f573",uc_output:"1f573",uc_match:"1f573-fe0f",uc_greedy:"1f573-fe0f",shortnames:[],category:"objects"},":homes:":{uc_base:"1f3d8",uc_output:"1f3d8",uc_match:"1f3d8-fe0f",uc_greedy:"1f3d8-fe0f",shortnames:[":house_buildings:"],category:"travel"},":honey_pot:":{uc_base:"1f36f",uc_output:"1f36f",uc_match:"1f36f",uc_greedy:"1f36f",shortnames:[],category:"food"},":horse:":{uc_base:"1f434",uc_output:"1f434",uc_match:"1f434",uc_greedy:"1f434",shortnames:[],category:"nature"},":horse_racing:":{uc_base:"1f3c7",uc_output:"1f3c7",uc_match:"1f3c7",uc_greedy:"1f3c7",shortnames:[],category:"activity"},":hospital:":{uc_base:"1f3e5",uc_output:"1f3e5",uc_match:"1f3e5",uc_greedy:"1f3e5",shortnames:[],category:"travel"},":hot_face:":{uc_base:"1f975",uc_output:"1f975",uc_match:"1f975",uc_greedy:"1f975",shortnames:[],category:"people"},":hot_pepper:":{uc_base:"1f336",uc_output:"1f336",uc_match:"1f336-fe0f",uc_greedy:"1f336-fe0f",shortnames:[],category:"food"},":hotdog:":{uc_base:"1f32d",uc_output:"1f32d",uc_match:"1f32d",uc_greedy:"1f32d",shortnames:[":hot_dog:"],category:"food"},":hotel:":{uc_base:"1f3e8",uc_output:"1f3e8",uc_match:"1f3e8",uc_greedy:"1f3e8",shortnames:[],category:"travel"},":house:":{uc_base:"1f3e0",uc_output:"1f3e0",uc_match:"1f3e0-fe0f",uc_greedy:"1f3e0-fe0f",shortnames:[],category:"travel"},":house_abandoned:":{uc_base:"1f3da",uc_output:"1f3da",uc_match:"1f3da-fe0f",uc_greedy:"1f3da-fe0f",shortnames:[":derelict_house_building:"],category:"travel"},":house_with_garden:":{uc_base:"1f3e1",uc_output:"1f3e1",uc_match:"1f3e1",uc_greedy:"1f3e1",shortnames:[],category:"travel"},":hugging:":{uc_base:"1f917",uc_output:"1f917",uc_match:"1f917",uc_greedy:"1f917",shortnames:[":hugging_face:"],category:"people"},":hushed:":{uc_base:"1f62f",uc_output:"1f62f",uc_match:"1f62f",uc_greedy:"1f62f",shortnames:[],category:"people"},":ice_cream:":{uc_base:"1f368",uc_output:"1f368",uc_match:"1f368",uc_greedy:"1f368",shortnames:[],category:"food"},":icecream:":{uc_base:"1f366",uc_output:"1f366",uc_match:"1f366",uc_greedy:"1f366",shortnames:[],category:"food"},":id:":{uc_base:"1f194",uc_output:"1f194",uc_match:"1f194",uc_greedy:"1f194",shortnames:[],category:"symbols"},":ideograph_advantage:":{uc_base:"1f250",uc_output:"1f250",uc_match:"1f250",uc_greedy:"1f250",shortnames:[],category:"symbols"},":imp:":{uc_base:"1f47f",uc_output:"1f47f",uc_match:"1f47f",uc_greedy:"1f47f",shortnames:[],category:"people"},":inbox_tray:":{uc_base:"1f4e5",uc_output:"1f4e5",uc_match:"1f4e5-fe0f",uc_greedy:"1f4e5-fe0f",shortnames:[],category:"objects"},":incoming_envelope:":{uc_base:"1f4e8",uc_output:"1f4e8",uc_match:"1f4e8",uc_greedy:"1f4e8",shortnames:[],category:"objects"},":innocent:":{uc_base:"1f607",uc_output:"1f607",uc_match:"1f607",uc_greedy:"1f607",shortnames:[],category:"people"},":iphone:":{uc_base:"1f4f1",uc_output:"1f4f1",uc_match:"1f4f1",uc_greedy:"1f4f1",shortnames:[],category:"objects"},":island:":{uc_base:"1f3dd",uc_output:"1f3dd",uc_match:"1f3dd-fe0f",uc_greedy:"1f3dd-fe0f",shortnames:[":desert_island:"],category:"travel"},":izakaya_lantern:":{uc_base:"1f3ee",uc_output:"1f3ee",uc_match:"1f3ee",uc_greedy:"1f3ee",shortnames:[],category:"objects"},":jack_o_lantern:":{uc_base:"1f383",uc_output:"1f383",uc_match:"1f383",uc_greedy:"1f383",shortnames:[],category:"people"},":japan:":{uc_base:"1f5fe",uc_output:"1f5fe",uc_match:"1f5fe",uc_greedy:"1f5fe",shortnames:[],category:"travel"},":japanese_castle:":{uc_base:"1f3ef",uc_output:"1f3ef",uc_match:"1f3ef",uc_greedy:"1f3ef",shortnames:[],category:"travel"},":japanese_goblin:":{uc_base:"1f47a",uc_output:"1f47a",uc_match:"1f47a",uc_greedy:"1f47a",shortnames:[],category:"people"},":japanese_ogre:":{uc_base:"1f479",uc_output:"1f479",uc_match:"1f479",uc_greedy:"1f479",shortnames:[],category:"people"},":jeans:":{uc_base:"1f456",uc_output:"1f456",uc_match:"1f456",uc_greedy:"1f456",shortnames:[],category:"people"},":jigsaw:":{uc_base:"1f9e9",uc_output:"1f9e9",uc_match:"1f9e9",uc_greedy:"1f9e9",shortnames:[],category:"objects"},":joy:":{uc_base:"1f602",uc_output:"1f602",uc_match:"1f602",uc_greedy:"1f602",shortnames:[],category:"people"},":joy_cat:":{uc_base:"1f639",uc_output:"1f639",uc_match:"1f639",uc_greedy:"1f639",shortnames:[],category:"people"},":joystick:":{uc_base:"1f579",uc_output:"1f579",uc_match:"1f579-fe0f",uc_greedy:"1f579-fe0f",shortnames:[],category:"objects"},":kaaba:":{uc_base:"1f54b",uc_output:"1f54b",uc_match:"1f54b",uc_greedy:"1f54b",shortnames:[],category:"travel"},":kangaroo:":{uc_base:"1f998",uc_output:"1f998",uc_match:"1f998",uc_greedy:"1f998",shortnames:[],category:"nature"},":key2:":{uc_base:"1f5dd",uc_output:"1f5dd",uc_match:"1f5dd-fe0f",uc_greedy:"1f5dd",shortnames:[":old_key:"],category:"objects"},":key:":{uc_base:"1f511",uc_output:"1f511",uc_match:"1f511",uc_greedy:"1f511",shortnames:[],category:"objects"},":keycap_ten:":{uc_base:"1f51f",uc_output:"1f51f",uc_match:"1f51f",uc_greedy:"1f51f",shortnames:[],category:"symbols"},":kimono:":{uc_base:"1f458",uc_output:"1f458",uc_match:"1f458",uc_greedy:"1f458",shortnames:[],category:"people"},":kiss:":{uc_base:"1f48b",uc_output:"1f48b",uc_match:"1f48b",uc_greedy:"1f48b",shortnames:[],category:"people"},":kissing:":{uc_base:"1f617",uc_output:"1f617",uc_match:"1f617",uc_greedy:"1f617",shortnames:[],category:"people"},":kissing_cat:":{uc_base:"1f63d",uc_output:"1f63d",uc_match:"1f63d",uc_greedy:"1f63d",shortnames:[],category:"people"},":kissing_closed_eyes:":{uc_base:"1f61a",uc_output:"1f61a",uc_match:"1f61a",uc_greedy:"1f61a",shortnames:[],category:"people"},":kissing_heart:":{uc_base:"1f618",uc_output:"1f618",uc_match:"1f618",uc_greedy:"1f618",shortnames:[],category:"people"},":kissing_smiling_eyes:":{uc_base:"1f619",uc_output:"1f619",uc_match:"1f619",uc_greedy:"1f619",shortnames:[],category:"people"},":kiwi:":{uc_base:"1f95d",uc_output:"1f95d",uc_match:"1f95d",uc_greedy:"1f95d",shortnames:[":kiwifruit:"],category:"food"},":knife:":{uc_base:"1f52a",uc_output:"1f52a",uc_match:"1f52a",uc_greedy:"1f52a",shortnames:[],category:"objects"},":koala:":{uc_base:"1f428",uc_output:"1f428",uc_match:"1f428",uc_greedy:"1f428",shortnames:[],category:"nature"},":koko:":{uc_base:"1f201",uc_output:"1f201",uc_match:"1f201",uc_greedy:"1f201",shortnames:[],category:"symbols"},":lab_coat:":{uc_base:"1f97c",uc_output:"1f97c",uc_match:"1f97c",uc_greedy:"1f97c",shortnames:[],category:"people"},":label:":{uc_base:"1f3f7",uc_output:"1f3f7",uc_match:"1f3f7-fe0f",uc_greedy:"1f3f7-fe0f",shortnames:[],category:"objects"},":lacrosse:":{uc_base:"1f94d",uc_output:"1f94d",uc_match:"1f94d",uc_greedy:"1f94d",shortnames:[],category:"activity"},":large_blue_diamond:":{uc_base:"1f537",uc_output:"1f537",uc_match:"1f537",uc_greedy:"1f537",shortnames:[],category:"symbols"},":large_orange_diamond:":{uc_base:"1f536",uc_output:"1f536",uc_match:"1f536",uc_greedy:"1f536",shortnames:[],category:"symbols"},":last_quarter_moon:":{uc_base:"1f317",uc_output:"1f317",uc_match:"1f317",uc_greedy:"1f317",shortnames:[],category:"nature"},":last_quarter_moon_with_face:":{uc_base:"1f31c",uc_output:"1f31c",uc_match:"1f31c-fe0f",uc_greedy:"1f31c-fe0f",shortnames:[],category:"nature"},":laughing:":{uc_base:"1f606",uc_output:"1f606",uc_match:"1f606",uc_greedy:"1f606",shortnames:[":satisfied:"],category:"people"},":leafy_green:":{uc_base:"1f96c",uc_output:"1f96c",uc_match:"1f96c",uc_greedy:"1f96c",shortnames:[],category:"food"},":leaves:":{uc_base:"1f343",uc_output:"1f343",uc_match:"1f343",uc_greedy:"1f343",shortnames:[],category:"nature"},":ledger:":{uc_base:"1f4d2",uc_output:"1f4d2",uc_match:"1f4d2",uc_greedy:"1f4d2",shortnames:[],category:"objects"},":left_facing_fist:":{uc_base:"1f91b",uc_output:"1f91b",uc_match:"1f91b",uc_greedy:"1f91b",shortnames:[":left_fist:"],category:"people"},":left_luggage:":{uc_base:"1f6c5",uc_output:"1f6c5",uc_match:"1f6c5",uc_greedy:"1f6c5",shortnames:[],category:"symbols"},":leg:":{uc_base:"1f9b5",uc_output:"1f9b5",uc_match:"1f9b5",uc_greedy:"1f9b5",shortnames:[],category:"people"},":lemon:":{uc_base:"1f34b",uc_output:"1f34b",uc_match:"1f34b",uc_greedy:"1f34b",shortnames:[],category:"food"},":leopard:":{uc_base:"1f406",uc_output:"1f406",uc_match:"1f406",uc_greedy:"1f406",shortnames:[],category:"nature"},":level_slider:":{uc_base:"1f39a",uc_output:"1f39a",uc_match:"1f39a-fe0f",uc_greedy:"1f39a-fe0f",shortnames:[],category:"objects"},":levitate:":{uc_base:"1f574",uc_output:"1f574",uc_match:"1f574-fe0f",uc_greedy:"1f574-fe0f",shortnames:[":man_in_business_suit_levitating:"],category:"people"},":light_rail:":{uc_base:"1f688",uc_output:"1f688",uc_match:"1f688",uc_greedy:"1f688",shortnames:[],category:"travel"},":link:":{uc_base:"1f517",uc_output:"1f517",uc_match:"1f517",uc_greedy:"1f517",shortnames:[],category:"objects"},":lion_face:":{uc_base:"1f981",uc_output:"1f981",uc_match:"1f981",uc_greedy:"1f981",shortnames:[":lion:"],category:"nature"},":lips:":{uc_base:"1f444",uc_output:"1f444",uc_match:"1f444",uc_greedy:"1f444",shortnames:[],category:"people"},":lipstick:":{uc_base:"1f484",uc_output:"1f484",uc_match:"1f484",uc_greedy:"1f484",shortnames:[],category:"people"},":lizard:":{uc_base:"1f98e",uc_output:"1f98e",uc_match:"1f98e",uc_greedy:"1f98e",shortnames:[],category:"nature"},":llama:":{uc_base:"1f999",uc_output:"1f999",uc_match:"1f999",uc_greedy:"1f999",shortnames:[],category:"nature"},":lobster:":{uc_base:"1f99e",uc_output:"1f99e",uc_match:"1f99e",uc_greedy:"1f99e",shortnames:[],category:"nature"},":lock:":{uc_base:"1f512",uc_output:"1f512",uc_match:"1f512-fe0f",uc_greedy:"1f512-fe0f",shortnames:[],category:"objects"},":lock_with_ink_pen:":{uc_base:"1f50f",uc_output:"1f50f",uc_match:"1f50f",uc_greedy:"1f50f",shortnames:[],category:"objects"},":lollipop:":{uc_base:"1f36d",uc_output:"1f36d",uc_match:"1f36d",uc_greedy:"1f36d",shortnames:[],category:"food"},":loud_sound:":{uc_base:"1f50a",uc_output:"1f50a",uc_match:"1f50a",uc_greedy:"1f50a",shortnames:[],category:"symbols"},":loudspeaker:":{uc_base:"1f4e2",uc_output:"1f4e2",uc_match:"1f4e2",uc_greedy:"1f4e2",shortnames:[],category:"symbols"},":love_hotel:":{uc_base:"1f3e9",uc_output:"1f3e9",uc_match:"1f3e9",uc_greedy:"1f3e9",shortnames:[],category:"travel"},":love_letter:":{uc_base:"1f48c",uc_output:"1f48c",uc_match:"1f48c",uc_greedy:"1f48c",shortnames:[],category:"objects"},":love_you_gesture:":{uc_base:"1f91f",uc_output:"1f91f",uc_match:"1f91f",uc_greedy:"1f91f",shortnames:[],category:"people"},":low_brightness:":{uc_base:"1f505",uc_output:"1f505",uc_match:"1f505",uc_greedy:"1f505",shortnames:[],category:"symbols"},":luggage:":{uc_base:"1f9f3",uc_output:"1f9f3",uc_match:"1f9f3",uc_greedy:"1f9f3",shortnames:[],category:"travel"},":lying_face:":{uc_base:"1f925",uc_output:"1f925",uc_match:"1f925",uc_greedy:"1f925",shortnames:[":liar:"],category:"people"},":mag:":{uc_base:"1f50d",uc_output:"1f50d",uc_match:"1f50d-fe0f",uc_greedy:"1f50d-fe0f",shortnames:[],category:"objects"},":mag_right:":{uc_base:"1f50e",uc_output:"1f50e",uc_match:"1f50e",uc_greedy:"1f50e",shortnames:[],category:"objects"},":mage:":{uc_base:"1f9d9",uc_output:"1f9d9",uc_match:"1f9d9",uc_greedy:"1f9d9",shortnames:[],category:"people"},":magnet:":{uc_base:"1f9f2",uc_output:"1f9f2",uc_match:"1f9f2",uc_greedy:"1f9f2",shortnames:[],category:"objects"},":mahjong:":{uc_base:"1f004",uc_output:"1f004",uc_match:"1f004-fe0f",uc_greedy:"1f004-fe0f",shortnames:[],category:"symbols"},":mailbox:":{uc_base:"1f4eb",uc_output:"1f4eb",uc_match:"1f4eb-fe0f",uc_greedy:"1f4eb-fe0f",shortnames:[],category:"objects"},":mailbox_closed:":{uc_base:"1f4ea",uc_output:"1f4ea",uc_match:"1f4ea-fe0f",uc_greedy:"1f4ea-fe0f",shortnames:[],category:"objects"},":mailbox_with_mail:":{uc_base:"1f4ec",uc_output:"1f4ec",uc_match:"1f4ec-fe0f",uc_greedy:"1f4ec-fe0f",shortnames:[],category:"objects"},":mailbox_with_no_mail:":{uc_base:"1f4ed",uc_output:"1f4ed",uc_match:"1f4ed-fe0f",uc_greedy:"1f4ed-fe0f",shortnames:[],category:"objects"},":man:":{uc_base:"1f468",uc_output:"1f468",uc_match:"1f468",uc_greedy:"1f468",shortnames:[],category:"people"},":man_dancing:":{uc_base:"1f57a",uc_output:"1f57a",uc_match:"1f57a",uc_greedy:"1f57a",shortnames:[":male_dancer:"],category:"people"},":man_in_tuxedo:":{uc_base:"1f935",uc_output:"1f935",uc_match:"1f935",uc_greedy:"1f935",shortnames:[],category:"people"},":man_with_chinese_cap:":{uc_base:"1f472",uc_output:"1f472",uc_match:"1f472",uc_greedy:"1f472",shortnames:[":man_with_gua_pi_mao:"],category:"people"},":mango:":{uc_base:"1f96d",uc_output:"1f96d",uc_match:"1f96d",uc_greedy:"1f96d",shortnames:[],category:"food"},":mans_shoe:":{uc_base:"1f45e",uc_output:"1f45e",uc_match:"1f45e",uc_greedy:"1f45e",shortnames:[],category:"people"},":map:":{uc_base:"1f5fa",uc_output:"1f5fa",uc_match:"1f5fa-fe0f",uc_greedy:"1f5fa-fe0f",shortnames:[":world_map:"],category:"travel"},":maple_leaf:":{uc_base:"1f341",uc_output:"1f341",uc_match:"1f341",uc_greedy:"1f341",shortnames:[],category:"nature"},":martial_arts_uniform:":{uc_base:"1f94b",uc_output:"1f94b",uc_match:"1f94b",uc_greedy:"1f94b",shortnames:[":karate_uniform:"],category:"activity"},":mask:":{uc_base:"1f637",uc_output:"1f637",uc_match:"1f637",uc_greedy:"1f637",shortnames:[],category:"people"},":meat_on_bone:":{uc_base:"1f356",uc_output:"1f356",uc_match:"1f356",uc_greedy:"1f356",shortnames:[],category:"food"},":medal:":{uc_base:"1f3c5",uc_output:"1f3c5",uc_match:"1f3c5",uc_greedy:"1f3c5",shortnames:[":sports_medal:"],category:"activity"},":mega:":{uc_base:"1f4e3",uc_output:"1f4e3",uc_match:"1f4e3",uc_greedy:"1f4e3",shortnames:[],category:"symbols"},":melon:":{uc_base:"1f348",uc_output:"1f348",uc_match:"1f348",uc_greedy:"1f348",shortnames:[],category:"food"},":menorah:":{uc_base:"1f54e",uc_output:"1f54e",uc_match:"1f54e",uc_greedy:"1f54e",shortnames:[],category:"symbols"},":mens:":{uc_base:"1f6b9",uc_output:"1f6b9",uc_match:"1f6b9-fe0f",uc_greedy:"1f6b9-fe0f",shortnames:[],category:"symbols"},":merperson:":{uc_base:"1f9dc",uc_output:"1f9dc",uc_match:"1f9dc",uc_greedy:"1f9dc",shortnames:[],category:"people"},":metal:":{uc_base:"1f918",uc_output:"1f918",uc_match:"1f918",uc_greedy:"1f918",shortnames:[":sign_of_the_horns:"],category:"people"},":metro:":{uc_base:"1f687",uc_output:"1f687",uc_match:"1f687-fe0f",uc_greedy:"1f687-fe0f",shortnames:[],category:"travel"},":microbe:":{uc_base:"1f9a0",uc_output:"1f9a0",uc_match:"1f9a0",uc_greedy:"1f9a0",shortnames:[],category:"nature"},":microphone2:":{uc_base:"1f399",uc_output:"1f399",uc_match:"1f399-fe0f",uc_greedy:"1f399-fe0f",shortnames:[":studio_microphone:"],category:"objects"},":microphone:":{uc_base:"1f3a4",uc_output:"1f3a4",uc_match:"1f3a4",uc_greedy:"1f3a4",shortnames:[],category:"activity"},":microscope:":{uc_base:"1f52c",uc_output:"1f52c",uc_match:"1f52c",uc_greedy:"1f52c",shortnames:[],category:"objects"},":middle_finger:":{uc_base:"1f595",uc_output:"1f595",uc_match:"1f595",uc_greedy:"1f595",shortnames:[":reversed_hand_with_middle_finger_extended:"],category:"people"},":military_medal:":{uc_base:"1f396",uc_output:"1f396",uc_match:"1f396-fe0f",uc_greedy:"1f396-fe0f",shortnames:[],category:"activity"},":milk:":{uc_base:"1f95b",uc_output:"1f95b",uc_match:"1f95b",uc_greedy:"1f95b",shortnames:[":glass_of_milk:"],category:"food"},":milky_way:":{uc_base:"1f30c",uc_output:"1f30c",uc_match:"1f30c",uc_greedy:"1f30c",shortnames:[],category:"travel"},":minibus:":{uc_base:"1f690",uc_output:"1f690",uc_match:"1f690",uc_greedy:"1f690",shortnames:[],category:"travel"},":minidisc:":{uc_base:"1f4bd",uc_output:"1f4bd",uc_match:"1f4bd",uc_greedy:"1f4bd",shortnames:[],category:"objects"},":mobile_phone_off:":{uc_base:"1f4f4",uc_output:"1f4f4",uc_match:"1f4f4",uc_greedy:"1f4f4",shortnames:[],category:"symbols"},":money_mouth:":{uc_base:"1f911",uc_output:"1f911",uc_match:"1f911",uc_greedy:"1f911",shortnames:[":money_mouth_face:"],category:"people"},":money_with_wings:":{uc_base:"1f4b8",uc_output:"1f4b8",uc_match:"1f4b8",uc_greedy:"1f4b8",shortnames:[],category:"objects"},":moneybag:":{uc_base:"1f4b0",uc_output:"1f4b0",uc_match:"1f4b0-fe0f",uc_greedy:"1f4b0-fe0f",shortnames:[],category:"objects"},":monkey:":{uc_base:"1f412",uc_output:"1f412",uc_match:"1f412",uc_greedy:"1f412",shortnames:[],category:"nature"},":monkey_face:":{uc_base:"1f435",uc_output:"1f435",uc_match:"1f435",uc_greedy:"1f435",shortnames:[],category:"nature"},":monorail:":{uc_base:"1f69d",uc_output:"1f69d",uc_match:"1f69d",uc_greedy:"1f69d",shortnames:[],category:"travel"},":moon_cake:":{uc_base:"1f96e",uc_output:"1f96e",uc_match:"1f96e",uc_greedy:"1f96e",shortnames:[],category:"food"},":mortar_board:":{uc_base:"1f393",uc_output:"1f393",uc_match:"1f393-fe0f",uc_greedy:"1f393-fe0f",shortnames:[],category:"people"},":mosque:":{uc_base:"1f54c",uc_output:"1f54c",uc_match:"1f54c",uc_greedy:"1f54c",shortnames:[],category:"travel"},":mosquito:":{uc_base:"1f99f",uc_output:"1f99f",uc_match:"1f99f",uc_greedy:"1f99f",shortnames:[],category:"nature"},":motor_scooter:":{uc_base:"1f6f5",uc_output:"1f6f5",uc_match:"1f6f5",uc_greedy:"1f6f5",shortnames:[":motorbike:"],category:"travel"},":motorboat:":{uc_base:"1f6e5",uc_output:"1f6e5",uc_match:"1f6e5-fe0f",uc_greedy:"1f6e5-fe0f",shortnames:[],category:"travel"},":motorcycle:":{uc_base:"1f3cd",uc_output:"1f3cd",uc_match:"1f3cd-fe0f",uc_greedy:"1f3cd-fe0f",shortnames:[":racing_motorcycle:"],category:"travel"},":motorway:":{uc_base:"1f6e3",uc_output:"1f6e3",uc_match:"1f6e3-fe0f",uc_greedy:"1f6e3-fe0f",shortnames:[],category:"travel"},":mount_fuji:":{uc_base:"1f5fb",uc_output:"1f5fb",uc_match:"1f5fb",uc_greedy:"1f5fb",shortnames:[],category:"travel"},":mountain_cableway:":{uc_base:"1f6a0",uc_output:"1f6a0",uc_match:"1f6a0",uc_greedy:"1f6a0",shortnames:[],category:"travel"},":mountain_railway:":{uc_base:"1f69e",uc_output:"1f69e",uc_match:"1f69e",uc_greedy:"1f69e",shortnames:[],category:"travel"},":mountain_snow:":{uc_base:"1f3d4",uc_output:"1f3d4",uc_match:"1f3d4-fe0f",uc_greedy:"1f3d4-fe0f",shortnames:[":snow_capped_mountain:"],category:"travel"},":mouse2:":{uc_base:"1f401",uc_output:"1f401",uc_match:"1f401",uc_greedy:"1f401",shortnames:[],category:"nature"},":mouse:":{uc_base:"1f42d",uc_output:"1f42d",uc_match:"1f42d",uc_greedy:"1f42d",shortnames:[],category:"nature"},":mouse_three_button:":{uc_base:"1f5b1",uc_output:"1f5b1",uc_match:"1f5b1-fe0f",uc_greedy:"1f5b1-fe0f",shortnames:[":three_button_mouse:"],category:"objects"},":movie_camera:":{uc_base:"1f3a5",uc_output:"1f3a5",uc_match:"1f3a5",uc_greedy:"1f3a5",shortnames:[],category:"objects"},":moyai:":{uc_base:"1f5ff",uc_output:"1f5ff",uc_match:"1f5ff",uc_greedy:"1f5ff",shortnames:[],category:"travel"},":mrs_claus:":{uc_base:"1f936",uc_output:"1f936",uc_match:"1f936",uc_greedy:"1f936",shortnames:[":mother_christmas:"],category:"people"},":muscle:":{uc_base:"1f4aa",uc_output:"1f4aa",uc_match:"1f4aa",uc_greedy:"1f4aa",shortnames:[],category:"people"},":mushroom:":{uc_base:"1f344",uc_output:"1f344",uc_match:"1f344",uc_greedy:"1f344",shortnames:[],category:"nature"},":musical_keyboard:":{uc_base:"1f3b9",uc_output:"1f3b9",uc_match:"1f3b9",uc_greedy:"1f3b9",shortnames:[],category:"activity"},":musical_note:":{uc_base:"1f3b5",uc_output:"1f3b5",uc_match:"1f3b5",uc_greedy:"1f3b5",shortnames:[],category:"symbols"},":musical_score:":{uc_base:"1f3bc",uc_output:"1f3bc",uc_match:"1f3bc",uc_greedy:"1f3bc",shortnames:[],category:"activity"},":mute:":{uc_base:"1f507",uc_output:"1f507",uc_match:"1f507",uc_greedy:"1f507",shortnames:[],category:"symbols"},":nail_care:":{uc_base:"1f485",uc_output:"1f485",uc_match:"1f485",uc_greedy:"1f485",shortnames:[],category:"people"},":name_badge:":{uc_base:"1f4db",uc_output:"1f4db",uc_match:"1f4db",uc_greedy:"1f4db",shortnames:[],category:"symbols"},":nauseated_face:":{uc_base:"1f922",uc_output:"1f922",uc_match:"1f922",uc_greedy:"1f922",shortnames:[":sick:"],category:"people"},":nazar_amulet:":{uc_base:"1f9ff",uc_output:"1f9ff",uc_match:"1f9ff",uc_greedy:"1f9ff",shortnames:[],category:"objects"},":necktie:":{uc_base:"1f454",uc_output:"1f454",uc_match:"1f454",uc_greedy:"1f454",shortnames:[],category:"people"},":nerd:":{uc_base:"1f913",uc_output:"1f913",uc_match:"1f913",uc_greedy:"1f913",shortnames:[":nerd_face:"],category:"people"},":neutral_face:":{uc_base:"1f610",uc_output:"1f610",uc_match:"1f610-fe0f",uc_greedy:"1f610-fe0f",shortnames:[],category:"people"},":new:":{uc_base:"1f195",uc_output:"1f195",uc_match:"1f195",uc_greedy:"1f195",shortnames:[],category:"symbols"},":new_moon:":{uc_base:"1f311",uc_output:"1f311",uc_match:"1f311",uc_greedy:"1f311",shortnames:[],category:"nature"},":new_moon_with_face:":{uc_base:"1f31a",uc_output:"1f31a",uc_match:"1f31a",uc_greedy:"1f31a",shortnames:[],category:"nature"},":newspaper2:":{uc_base:"1f5de",uc_output:"1f5de",uc_match:"1f5de-fe0f",uc_greedy:"1f5de-fe0f",shortnames:[":rolled_up_newspaper:"],category:"objects"},":newspaper:":{uc_base:"1f4f0",uc_output:"1f4f0",uc_match:"1f4f0",uc_greedy:"1f4f0",shortnames:[],category:"objects"},":ng:":{uc_base:"1f196",uc_output:"1f196",uc_match:"1f196",uc_greedy:"1f196",shortnames:[],category:"symbols"},":night_with_stars:":{uc_base:"1f303",uc_output:"1f303",uc_match:"1f303",uc_greedy:"1f303",shortnames:[],category:"travel"},":no_bell:":{uc_base:"1f515",uc_output:"1f515",uc_match:"1f515",uc_greedy:"1f515",shortnames:[],category:"symbols"},":no_bicycles:":{uc_base:"1f6b3",uc_output:"1f6b3",uc_match:"1f6b3",uc_greedy:"1f6b3",shortnames:[],category:"symbols"},":no_entry_sign:":{uc_base:"1f6ab",uc_output:"1f6ab",uc_match:"1f6ab",uc_greedy:"1f6ab",shortnames:[],category:"symbols"},":no_mobile_phones:":{uc_base:"1f4f5",uc_output:"1f4f5",uc_match:"1f4f5",uc_greedy:"1f4f5",shortnames:[],category:"symbols"},":no_mouth:":{uc_base:"1f636",uc_output:"1f636",uc_match:"1f636",uc_greedy:"1f636",shortnames:[],category:"people"},":no_pedestrians:":{uc_base:"1f6b7",uc_output:"1f6b7",uc_match:"1f6b7",uc_greedy:"1f6b7",shortnames:[],category:"symbols"},":no_smoking:":{uc_base:"1f6ad",uc_output:"1f6ad",uc_match:"1f6ad-fe0f",uc_greedy:"1f6ad-fe0f",shortnames:[],category:"symbols"},":non-potable_water:":{uc_base:"1f6b1",uc_output:"1f6b1",uc_match:"1f6b1",uc_greedy:"1f6b1",shortnames:[],category:"symbols"},":nose:":{uc_base:"1f443",uc_output:"1f443",uc_match:"1f443",uc_greedy:"1f443",shortnames:[],category:"people"},":notebook:":{uc_base:"1f4d3",uc_output:"1f4d3",uc_match:"1f4d3",uc_greedy:"1f4d3",shortnames:[],category:"objects"},":notebook_with_decorative_cover:":{uc_base:"1f4d4",uc_output:"1f4d4",uc_match:"1f4d4",uc_greedy:"1f4d4",shortnames:[],category:"objects"},":notepad_spiral:":{uc_base:"1f5d2",uc_output:"1f5d2",uc_match:"1f5d2-fe0f",uc_greedy:"1f5d2-fe0f",shortnames:[":spiral_note_pad:"],category:"objects"},":notes:":{uc_base:"1f3b6",uc_output:"1f3b6",uc_match:"1f3b6",uc_greedy:"1f3b6",shortnames:[],category:"symbols"},":nut_and_bolt:":{uc_base:"1f529",uc_output:"1f529",uc_match:"1f529",uc_greedy:"1f529",shortnames:[],category:"objects"},":o2:":{uc_base:"1f17e",uc_output:"1f17e",uc_match:"1f17e-fe0f",uc_greedy:"1f17e-fe0f",shortnames:[],category:"symbols"},":ocean:":{uc_base:"1f30a",uc_output:"1f30a",uc_match:"1f30a",uc_greedy:"1f30a",shortnames:[],category:"nature"},":octagonal_sign:":{uc_base:"1f6d1",uc_output:"1f6d1",uc_match:"1f6d1",uc_greedy:"1f6d1",shortnames:[":stop_sign:"],category:"symbols"},":octopus:":{uc_base:"1f419",uc_output:"1f419",uc_match:"1f419",uc_greedy:"1f419",shortnames:[],category:"nature"},":oden:":{uc_base:"1f362",uc_output:"1f362",uc_match:"1f362",uc_greedy:"1f362",shortnames:[],category:"food"},":office:":{uc_base:"1f3e2",uc_output:"1f3e2",uc_match:"1f3e2",uc_greedy:"1f3e2",shortnames:[],category:"travel"},":oil:":{uc_base:"1f6e2",uc_output:"1f6e2",uc_match:"1f6e2-fe0f",uc_greedy:"1f6e2-fe0f",shortnames:[":oil_drum:"],category:"objects"},":ok:":{uc_base:"1f197",uc_output:"1f197",uc_match:"1f197",uc_greedy:"1f197",shortnames:[],category:"symbols"},":ok_hand:":{uc_base:"1f44c",uc_output:"1f44c",uc_match:"1f44c",uc_greedy:"1f44c",shortnames:[],category:"people"},":older_adult:":{uc_base:"1f9d3",uc_output:"1f9d3",uc_match:"1f9d3",uc_greedy:"1f9d3",shortnames:[],category:"people"},":older_man:":{uc_base:"1f474",uc_output:"1f474",uc_match:"1f474",uc_greedy:"1f474",shortnames:[],category:"people"},":older_woman:":{uc_base:"1f475",uc_output:"1f475",uc_match:"1f475",uc_greedy:"1f475",shortnames:[":grandma:"],category:"people"},":om_symbol:":{uc_base:"1f549",uc_output:"1f549",uc_match:"1f549-fe0f",uc_greedy:"1f549",shortnames:[],category:"symbols"},":on:":{uc_base:"1f51b",uc_output:"1f51b",uc_match:"1f51b",uc_greedy:"1f51b",shortnames:[],category:"symbols"},":oncoming_automobile:":{uc_base:"1f698",uc_output:"1f698",uc_match:"1f698-fe0f",uc_greedy:"1f698-fe0f",shortnames:[],category:"travel"},":oncoming_bus:":{uc_base:"1f68d",uc_output:"1f68d",uc_match:"1f68d-fe0f",uc_greedy:"1f68d-fe0f",shortnames:[],category:"travel"},":oncoming_police_car:":{uc_base:"1f694",uc_output:"1f694",uc_match:"1f694-fe0f",uc_greedy:"1f694-fe0f",shortnames:[],category:"travel"},":oncoming_taxi:":{uc_base:"1f696",uc_output:"1f696",uc_match:"1f696",uc_greedy:"1f696",shortnames:[],category:"travel"},":open_file_folder:":{uc_base:"1f4c2",uc_output:"1f4c2",uc_match:"1f4c2",uc_greedy:"1f4c2",shortnames:[],category:"objects"},":open_hands:":{uc_base:"1f450",uc_output:"1f450",uc_match:"1f450",uc_greedy:"1f450",shortnames:[],category:"people"},":open_mouth:":{uc_base:"1f62e",uc_output:"1f62e",uc_match:"1f62e",uc_greedy:"1f62e",shortnames:[],category:"people"},":orange_book:":{uc_base:"1f4d9",uc_output:"1f4d9",uc_match:"1f4d9",uc_greedy:"1f4d9",shortnames:[],category:"objects"},":orange_heart:":{uc_base:"1f9e1",uc_output:"1f9e1",uc_match:"1f9e1",uc_greedy:"1f9e1",shortnames:[],category:"symbols"},":outbox_tray:":{uc_base:"1f4e4",uc_output:"1f4e4",uc_match:"1f4e4-fe0f",uc_greedy:"1f4e4-fe0f",shortnames:[],category:"objects"},":owl:":{uc_base:"1f989",uc_output:"1f989",uc_match:"1f989",uc_greedy:"1f989",shortnames:[],category:"nature"},":ox:":{uc_base:"1f402",uc_output:"1f402",uc_match:"1f402",uc_greedy:"1f402",shortnames:[],category:"nature"},":package:":{uc_base:"1f4e6",uc_output:"1f4e6",uc_match:"1f4e6-fe0f",uc_greedy:"1f4e6-fe0f",shortnames:[],category:"objects"},":page_facing_up:":{uc_base:"1f4c4",uc_output:"1f4c4",uc_match:"1f4c4",uc_greedy:"1f4c4",shortnames:[],category:"objects"},":page_with_curl:":{uc_base:"1f4c3",uc_output:"1f4c3",uc_match:"1f4c3",uc_greedy:"1f4c3",shortnames:[],category:"objects"},":pager:":{uc_base:"1f4df",uc_output:"1f4df",uc_match:"1f4df-fe0f",uc_greedy:"1f4df-fe0f",shortnames:[],category:"objects"},":paintbrush:":{uc_base:"1f58c",uc_output:"1f58c",uc_match:"1f58c-fe0f",uc_greedy:"1f58c-fe0f",shortnames:[":lower_left_paintbrush:"],category:"objects"},":palm_tree:":{uc_base:"1f334",uc_output:"1f334",uc_match:"1f334",uc_greedy:"1f334",shortnames:[],category:"nature"},":palms_up_together:":{uc_base:"1f932",uc_output:"1f932",uc_match:"1f932",uc_greedy:"1f932",shortnames:[],category:"people"},":pancakes:":{uc_base:"1f95e",uc_output:"1f95e",uc_match:"1f95e",uc_greedy:"1f95e",shortnames:[],category:"food"},":panda_face:":{uc_base:"1f43c",uc_output:"1f43c",uc_match:"1f43c",uc_greedy:"1f43c",shortnames:[],category:"nature"},":paperclip:":{uc_base:"1f4ce",uc_output:"1f4ce",uc_match:"1f4ce",uc_greedy:"1f4ce",shortnames:[],category:"objects"},":paperclips:":{uc_base:"1f587",uc_output:"1f587",uc_match:"1f587-fe0f",uc_greedy:"1f587-fe0f",shortnames:[":linked_paperclips:"],category:"objects"},":park:":{uc_base:"1f3de",uc_output:"1f3de",uc_match:"1f3de-fe0f",uc_greedy:"1f3de-fe0f",shortnames:[":national_park:"],category:"travel"},":parking:":{uc_base:"1f17f",uc_output:"1f17f",uc_match:"1f17f-fe0f",uc_greedy:"1f17f-fe0f",shortnames:[],category:"symbols"},":parrot:":{uc_base:"1f99c",uc_output:"1f99c",uc_match:"1f99c",uc_greedy:"1f99c",shortnames:[],category:"nature"},":partying_face:":{uc_base:"1f973",uc_output:"1f973",uc_match:"1f973",uc_greedy:"1f973",shortnames:[],category:"people"},":passport_control:":{uc_base:"1f6c2",uc_output:"1f6c2",uc_match:"1f6c2",uc_greedy:"1f6c2",shortnames:[],category:"symbols"},":peach:":{uc_base:"1f351",uc_output:"1f351",uc_match:"1f351",uc_greedy:"1f351",shortnames:[],category:"food"},":peacock:":{uc_base:"1f99a",uc_output:"1f99a",uc_match:"1f99a",uc_greedy:"1f99a",shortnames:[],category:"nature"},":peanuts:":{uc_base:"1f95c",uc_output:"1f95c",uc_match:"1f95c",uc_greedy:"1f95c",shortnames:[":shelled_peanut:"],category:"food"},":pear:":{uc_base:"1f350",uc_output:"1f350",uc_match:"1f350",uc_greedy:"1f350",shortnames:[],category:"food"},":pen_ballpoint:":{uc_base:"1f58a",uc_output:"1f58a",uc_match:"1f58a-fe0f",uc_greedy:"1f58a-fe0f",shortnames:[":lower_left_ballpoint_pen:"],category:"objects"},":pen_fountain:":{uc_base:"1f58b",uc_output:"1f58b",uc_match:"1f58b-fe0f",uc_greedy:"1f58b-fe0f",shortnames:[":lower_left_fountain_pen:"],category:"objects"},":pencil:":{uc_base:"1f4dd",uc_output:"1f4dd",uc_match:"1f4dd",uc_greedy:"1f4dd",shortnames:[":memo:"],category:"objects"},":penguin:":{uc_base:"1f427",uc_output:"1f427",uc_match:"1f427",uc_greedy:"1f427",shortnames:[],category:"nature"},":pensive:":{uc_base:"1f614",uc_output:"1f614",uc_match:"1f614",uc_greedy:"1f614",shortnames:[],category:"people"},":people_with_bunny_ears_partying:":{uc_base:"1f46f",uc_output:"1f46f",uc_match:"1f46f",uc_greedy:"1f46f",shortnames:[":dancers:"],category:"people"},":people_wrestling:":{uc_base:"1f93c",uc_output:"1f93c",uc_match:"1f93c",uc_greedy:"1f93c",shortnames:[":wrestlers:",":wrestling:"],category:"activity"},":performing_arts:":{uc_base:"1f3ad",uc_output:"1f3ad",uc_match:"1f3ad-fe0f",uc_greedy:"1f3ad-fe0f",shortnames:[],category:"activity"},":persevere:":{uc_base:"1f623",uc_output:"1f623",uc_match:"1f623",uc_greedy:"1f623",shortnames:[],category:"people"},":person_biking:":{uc_base:"1f6b4",uc_output:"1f6b4",uc_match:"1f6b4",uc_greedy:"1f6b4",shortnames:[":bicyclist:"],category:"activity"},":person_bowing:":{uc_base:"1f647",uc_output:"1f647",uc_match:"1f647",uc_greedy:"1f647",shortnames:[":bow:"],category:"people"},":person_climbing:":{uc_base:"1f9d7",uc_output:"1f9d7",uc_match:"1f9d7",uc_greedy:"1f9d7",shortnames:[],category:"activity"},":person_doing_cartwheel:":{uc_base:"1f938",uc_output:"1f938",uc_match:"1f938",uc_greedy:"1f938",shortnames:[":cartwheel:"],category:"activity"},":person_facepalming:":{uc_base:"1f926",uc_output:"1f926",uc_match:"1f926",uc_greedy:"1f926",shortnames:[":face_palm:",":facepalm:"],category:"people"},":person_fencing:":{uc_base:"1f93a",uc_output:"1f93a",uc_match:"1f93a",uc_greedy:"1f93a",shortnames:[":fencer:",":fencing:"],category:"activity"},":person_frowning:":{uc_base:"1f64d",uc_output:"1f64d",uc_match:"1f64d",uc_greedy:"1f64d",shortnames:[],category:"people"},":person_gesturing_no:":{uc_base:"1f645",uc_output:"1f645",uc_match:"1f645",uc_greedy:"1f645",shortnames:[":no_good:"],category:"people"},":person_gesturing_ok:":{uc_base:"1f646",uc_output:"1f646",uc_match:"1f646",uc_greedy:"1f646",shortnames:[":ok_woman:"],category:"people"},":person_getting_haircut:":{uc_base:"1f487",uc_output:"1f487",uc_match:"1f487",uc_greedy:"1f487",shortnames:[":haircut:"],category:"people"},":person_getting_massage:":{uc_base:"1f486",uc_output:"1f486",uc_match:"1f486",uc_greedy:"1f486",shortnames:[":massage:"],category:"people"},":person_golfing:":{uc_base:"1f3cc",uc_output:"1f3cc",uc_match:"1f3cc-fe0f",uc_greedy:"1f3cc-fe0f",shortnames:[":golfer:"],category:"activity"},":person_in_lotus_position:":{uc_base:"1f9d8",uc_output:"1f9d8",uc_match:"1f9d8",uc_greedy:"1f9d8",shortnames:[],category:"activity"},":person_in_steamy_room:":{uc_base:"1f9d6",uc_output:"1f9d6",uc_match:"1f9d6",uc_greedy:"1f9d6",shortnames:[],category:"people"},":person_juggling:":{uc_base:"1f939",uc_output:"1f939",uc_match:"1f939",uc_greedy:"1f939",shortnames:[":juggling:",":juggler:"],category:"activity"},":person_lifting_weights:":{uc_base:"1f3cb",uc_output:"1f3cb",uc_match:"1f3cb-fe0f",uc_greedy:"1f3cb-fe0f",shortnames:[":lifter:",":weight_lifter:"],category:"activity"},":person_mountain_biking:":{uc_base:"1f6b5",uc_output:"1f6b5",uc_match:"1f6b5",uc_greedy:"1f6b5",shortnames:[":mountain_bicyclist:"],category:"activity"},":person_playing_handball:":{uc_base:"1f93e",uc_output:"1f93e",uc_match:"1f93e",uc_greedy:"1f93e",shortnames:[":handball:"],category:"activity"},":person_playing_water_polo:":{uc_base:"1f93d",uc_output:"1f93d",uc_match:"1f93d",uc_greedy:"1f93d",shortnames:[":water_polo:"],category:"activity"},":person_pouting:":{uc_base:"1f64e",uc_output:"1f64e",uc_match:"1f64e",uc_greedy:"1f64e",shortnames:[":person_with_pouting_face:"],category:"people"},":person_raising_hand:":{uc_base:"1f64b",uc_output:"1f64b",uc_match:"1f64b",uc_greedy:"1f64b",shortnames:[":raising_hand:"],category:"people"},":person_rowing_boat:":{uc_base:"1f6a3",uc_output:"1f6a3",uc_match:"1f6a3",uc_greedy:"1f6a3",shortnames:[":rowboat:"],category:"activity"},":person_running:":{uc_base:"1f3c3",uc_output:"1f3c3",uc_match:"1f3c3",uc_greedy:"1f3c3",shortnames:[":runner:"],category:"people"},":person_shrugging:":{uc_base:"1f937",uc_output:"1f937",uc_match:"1f937",uc_greedy:"1f937",shortnames:[":shrug:"],category:"people"},":person_surfing:":{uc_base:"1f3c4",uc_output:"1f3c4",uc_match:"1f3c4-fe0f",uc_greedy:"1f3c4-fe0f",shortnames:[":surfer:"],category:"activity"},":person_swimming:":{uc_base:"1f3ca",uc_output:"1f3ca",uc_match:"1f3ca-fe0f",uc_greedy:"1f3ca-fe0f",shortnames:[":swimmer:"],category:"activity"},":person_tipping_hand:":{uc_base:"1f481",uc_output:"1f481",uc_match:"1f481",uc_greedy:"1f481",shortnames:[":information_desk_person:"],category:"people"},":person_walking:":{uc_base:"1f6b6",uc_output:"1f6b6",uc_match:"1f6b6",uc_greedy:"1f6b6",shortnames:[":walking:"],category:"people"},":person_wearing_turban:":{uc_base:"1f473",uc_output:"1f473",uc_match:"1f473",uc_greedy:"1f473",shortnames:[":man_with_turban:"],category:"people"},":petri_dish:":{uc_base:"1f9eb",uc_output:"1f9eb",uc_match:"1f9eb",uc_greedy:"1f9eb",shortnames:[],category:"objects"},":pie:":{uc_base:"1f967",uc_output:"1f967",uc_match:"1f967",uc_greedy:"1f967",shortnames:[],category:"food"},":pig2:":{uc_base:"1f416",uc_output:"1f416",uc_match:"1f416",uc_greedy:"1f416",shortnames:[],category:"nature"},":pig:":{uc_base:"1f437",uc_output:"1f437",uc_match:"1f437",uc_greedy:"1f437",shortnames:[],category:"nature"},":pig_nose:":{uc_base:"1f43d",uc_output:"1f43d",uc_match:"1f43d",uc_greedy:"1f43d",shortnames:[],category:"nature"},":pill:":{uc_base:"1f48a",uc_output:"1f48a",uc_match:"1f48a",uc_greedy:"1f48a",shortnames:[],category:"objects"},":pineapple:":{uc_base:"1f34d",uc_output:"1f34d",uc_match:"1f34d",uc_greedy:"1f34d",shortnames:[],category:"food"},":ping_pong:":{uc_base:"1f3d3",uc_output:"1f3d3",uc_match:"1f3d3",uc_greedy:"1f3d3",shortnames:[":table_tennis:"],category:"activity"},":pizza:":{uc_base:"1f355",uc_output:"1f355",uc_match:"1f355",uc_greedy:"1f355",shortnames:[],category:"food"},":place_of_worship:":{uc_base:"1f6d0",uc_output:"1f6d0",uc_match:"1f6d0",uc_greedy:"1f6d0",shortnames:[":worship_symbol:"],category:"symbols"},":pleading_face:":{uc_base:"1f97a",uc_output:"1f97a",uc_match:"1f97a",uc_greedy:"1f97a",shortnames:[],category:"people"},":point_down:":{uc_base:"1f447",uc_output:"1f447",uc_match:"1f447-fe0f",uc_greedy:"1f447-fe0f",shortnames:[],category:"people"},":point_left:":{uc_base:"1f448",uc_output:"1f448",uc_match:"1f448-fe0f",uc_greedy:"1f448-fe0f",shortnames:[],category:"people"},":point_right:":{uc_base:"1f449",uc_output:"1f449",uc_match:"1f449-fe0f",uc_greedy:"1f449-fe0f",shortnames:[],category:"people"},":point_up_2:":{uc_base:"1f446",uc_output:"1f446",uc_match:"1f446-fe0f",uc_greedy:"1f446-fe0f",shortnames:[],category:"people"},":police_car:":{uc_base:"1f693",uc_output:"1f693",uc_match:"1f693",uc_greedy:"1f693",shortnames:[],category:"travel"},":police_officer:":{uc_base:"1f46e",uc_output:"1f46e",uc_match:"1f46e",uc_greedy:"1f46e",shortnames:[":cop:"],category:"people"},":poodle:":{uc_base:"1f429",uc_output:"1f429",uc_match:"1f429",uc_greedy:"1f429",shortnames:[],category:"nature"},":poop:":{uc_base:"1f4a9",uc_output:"1f4a9",uc_match:"1f4a9",uc_greedy:"1f4a9",shortnames:[":shit:",":hankey:",":poo:"],category:"people"},":popcorn:":{uc_base:"1f37f",uc_output:"1f37f",uc_match:"1f37f",uc_greedy:"1f37f",shortnames:[],category:"food"},":post_office:":{uc_base:"1f3e3",uc_output:"1f3e3",uc_match:"1f3e3",uc_greedy:"1f3e3",shortnames:[],category:"travel"},":postal_horn:":{uc_base:"1f4ef",uc_output:"1f4ef",uc_match:"1f4ef",uc_greedy:"1f4ef",shortnames:[],category:"objects"},":postbox:":{uc_base:"1f4ee",uc_output:"1f4ee",uc_match:"1f4ee",uc_greedy:"1f4ee",shortnames:[],category:"objects"},":potable_water:":{uc_base:"1f6b0",uc_output:"1f6b0",uc_match:"1f6b0",uc_greedy:"1f6b0",shortnames:[],category:"objects"},":potato:":{uc_base:"1f954",uc_output:"1f954",uc_match:"1f954",uc_greedy:"1f954",shortnames:[],category:"food"},":pouch:":{uc_base:"1f45d",uc_output:"1f45d",uc_match:"1f45d",uc_greedy:"1f45d",shortnames:[],category:"people"},":poultry_leg:":{uc_base:"1f357",uc_output:"1f357",uc_match:"1f357",uc_greedy:"1f357",shortnames:[],category:"food"},":pound:":{uc_base:"1f4b7",uc_output:"1f4b7",uc_match:"1f4b7",uc_greedy:"1f4b7",shortnames:[],category:"objects"},":pouting_cat:":{uc_base:"1f63e",uc_output:"1f63e",uc_match:"1f63e",uc_greedy:"1f63e",shortnames:[],category:"people"},":pray:":{uc_base:"1f64f",uc_output:"1f64f",uc_match:"1f64f",uc_greedy:"1f64f",shortnames:[],category:"people"},":prayer_beads:":{uc_base:"1f4ff",uc_output:"1f4ff",uc_match:"1f4ff",uc_greedy:"1f4ff",shortnames:[],category:"objects"},":pregnant_woman:":{uc_base:"1f930",uc_output:"1f930",uc_match:"1f930",uc_greedy:"1f930",shortnames:[":expecting_woman:"],category:"people"},":pretzel:":{uc_base:"1f968",uc_output:"1f968",uc_match:"1f968",uc_greedy:"1f968",shortnames:[],category:"food"},":prince:":{uc_base:"1f934",uc_output:"1f934",uc_match:"1f934",uc_greedy:"1f934",shortnames:[],category:"people"},":princess:":{uc_base:"1f478",uc_output:"1f478",uc_match:"1f478",uc_greedy:"1f478",shortnames:[],category:"people"},":printer:":{uc_base:"1f5a8",uc_output:"1f5a8",uc_match:"1f5a8-fe0f",uc_greedy:"1f5a8-fe0f",shortnames:[],category:"objects"},":projector:":{uc_base:"1f4fd",uc_output:"1f4fd",uc_match:"1f4fd-fe0f",uc_greedy:"1f4fd-fe0f",shortnames:[":film_projector:"],category:"objects"},":punch:":{uc_base:"1f44a",uc_output:"1f44a",uc_match:"1f44a",uc_greedy:"1f44a",shortnames:[],category:"people"},":purple_heart:":{uc_base:"1f49c",uc_output:"1f49c",uc_match:"1f49c",uc_greedy:"1f49c",shortnames:[],category:"symbols"},":purse:":{uc_base:"1f45b",uc_output:"1f45b",uc_match:"1f45b",uc_greedy:"1f45b",shortnames:[],category:"people"},":pushpin:":{uc_base:"1f4cc",uc_output:"1f4cc",uc_match:"1f4cc",uc_greedy:"1f4cc",shortnames:[],category:"objects"},":put_litter_in_its_place:":{uc_base:"1f6ae",uc_output:"1f6ae",uc_match:"1f6ae",uc_greedy:"1f6ae",shortnames:[],category:"symbols"},":rabbit2:":{uc_base:"1f407",uc_output:"1f407",uc_match:"1f407",uc_greedy:"1f407",shortnames:[],category:"nature"},":rabbit:":{uc_base:"1f430",uc_output:"1f430",uc_match:"1f430",uc_greedy:"1f430",shortnames:[],category:"nature"},":raccoon:":{uc_base:"1f99d",uc_output:"1f99d",uc_match:"1f99d",uc_greedy:"1f99d",shortnames:[],category:"nature"},":race_car:":{uc_base:"1f3ce",uc_output:"1f3ce",uc_match:"1f3ce-fe0f",uc_greedy:"1f3ce-fe0f",shortnames:[":racing_car:"],category:"travel"},":racehorse:":{uc_base:"1f40e",uc_output:"1f40e",uc_match:"1f40e",uc_greedy:"1f40e",shortnames:[],category:"nature"},":radio:":{uc_base:"1f4fb",uc_output:"1f4fb",uc_match:"1f4fb-fe0f",uc_greedy:"1f4fb-fe0f",shortnames:[],category:"objects"},":radio_button:":{uc_base:"1f518",uc_output:"1f518",uc_match:"1f518",uc_greedy:"1f518",shortnames:[],category:"symbols"},":rage:":{uc_base:"1f621",uc_output:"1f621",uc_match:"1f621",uc_greedy:"1f621",shortnames:[],category:"people"},":railway_car:":{uc_base:"1f683",uc_output:"1f683",uc_match:"1f683",uc_greedy:"1f683",shortnames:[],category:"travel"},":railway_track:":{uc_base:"1f6e4",uc_output:"1f6e4",uc_match:"1f6e4-fe0f",uc_greedy:"1f6e4-fe0f",shortnames:[":railroad_track:"],category:"travel"},":rainbow:":{uc_base:"1f308",uc_output:"1f308",uc_match:"1f308",uc_greedy:"1f308",shortnames:[],category:"nature"},":raised_back_of_hand:":{uc_base:"1f91a",uc_output:"1f91a",uc_match:"1f91a",uc_greedy:"1f91a",shortnames:[":back_of_hand:"],category:"people"},":raised_hands:":{uc_base:"1f64c",uc_output:"1f64c",uc_match:"1f64c",uc_greedy:"1f64c",shortnames:[],category:"people"},":ram:":{uc_base:"1f40f",uc_output:"1f40f",uc_match:"1f40f",uc_greedy:"1f40f",shortnames:[],category:"nature"},":ramen:":{uc_base:"1f35c",uc_output:"1f35c",uc_match:"1f35c",uc_greedy:"1f35c",shortnames:[],category:"food"},":rat:":{uc_base:"1f400",uc_output:"1f400",uc_match:"1f400",uc_greedy:"1f400",shortnames:[],category:"nature"},":receipt:":{uc_base:"1f9fe",uc_output:"1f9fe",uc_match:"1f9fe",uc_greedy:"1f9fe",shortnames:[],category:"objects"},":red_car:":{uc_base:"1f697",uc_output:"1f697",uc_match:"1f697",uc_greedy:"1f697",shortnames:[],category:"travel"},":red_circle:":{uc_base:"1f534",uc_output:"1f534",uc_match:"1f534",uc_greedy:"1f534",shortnames:[],category:"symbols"},":red_envelope:":{uc_base:"1f9e7",uc_output:"1f9e7",uc_match:"1f9e7",uc_greedy:"1f9e7",shortnames:[],category:"objects"},":red_haired:":{uc_base:"1f9b0",uc_output:"1f9b0",uc_match:"1f9b0",uc_greedy:"1f9b0",shortnames:[],category:"people"},":regional_indicator_a:":{uc_base:"1f1e6",uc_output:"1f1e6",uc_match:"1f1e6",uc_greedy:"1f1e6",shortnames:[],category:"regional"},":regional_indicator_b:":{uc_base:"1f1e7",uc_output:"1f1e7",uc_match:"1f1e7",uc_greedy:"1f1e7",shortnames:[],category:"regional"},":regional_indicator_c:":{uc_base:"1f1e8",uc_output:"1f1e8",uc_match:"1f1e8",uc_greedy:"1f1e8",shortnames:[],category:"regional"},":regional_indicator_d:":{uc_base:"1f1e9",uc_output:"1f1e9",uc_match:"1f1e9",uc_greedy:"1f1e9",shortnames:[],category:"regional"},":regional_indicator_e:":{uc_base:"1f1ea",uc_output:"1f1ea",uc_match:"1f1ea",uc_greedy:"1f1ea",shortnames:[],category:"regional"},":regional_indicator_f:":{uc_base:"1f1eb",uc_output:"1f1eb",uc_match:"1f1eb",uc_greedy:"1f1eb",shortnames:[],category:"regional"},":regional_indicator_g:":{uc_base:"1f1ec",uc_output:"1f1ec",uc_match:"1f1ec",uc_greedy:"1f1ec",shortnames:[],category:"regional"},":regional_indicator_h:":{uc_base:"1f1ed",uc_output:"1f1ed",uc_match:"1f1ed",uc_greedy:"1f1ed",shortnames:[],category:"regional"},":regional_indicator_i:":{uc_base:"1f1ee",uc_output:"1f1ee",uc_match:"1f1ee",uc_greedy:"1f1ee",shortnames:[],category:"regional"},":regional_indicator_j:":{uc_base:"1f1ef",uc_output:"1f1ef",uc_match:"1f1ef",uc_greedy:"1f1ef",shortnames:[],category:"regional"},":regional_indicator_k:":{uc_base:"1f1f0",uc_output:"1f1f0",uc_match:"1f1f0",uc_greedy:"1f1f0",shortnames:[],category:"regional"},":regional_indicator_l:":{uc_base:"1f1f1",uc_output:"1f1f1",uc_match:"1f1f1",uc_greedy:"1f1f1",shortnames:[],category:"regional"},":regional_indicator_m:":{uc_base:"1f1f2",uc_output:"1f1f2",uc_match:"1f1f2",uc_greedy:"1f1f2",shortnames:[],category:"regional"},":regional_indicator_n:":{uc_base:"1f1f3",uc_output:"1f1f3",uc_match:"1f1f3",uc_greedy:"1f1f3",shortnames:[],category:"regional"},":regional_indicator_o:":{uc_base:"1f1f4",uc_output:"1f1f4",uc_match:"1f1f4",uc_greedy:"1f1f4",shortnames:[],category:"regional"},":regional_indicator_p:":{uc_base:"1f1f5",uc_output:"1f1f5",uc_match:"1f1f5",uc_greedy:"1f1f5",shortnames:[],category:"regional"},":regional_indicator_q:":{uc_base:"1f1f6",uc_output:"1f1f6",uc_match:"1f1f6",uc_greedy:"1f1f6",shortnames:[],category:"regional"},":regional_indicator_r:":{uc_base:"1f1f7",uc_output:"1f1f7",uc_match:"1f1f7",uc_greedy:"1f1f7",shortnames:[],category:"regional"},":regional_indicator_s:":{uc_base:"1f1f8",uc_output:"1f1f8",uc_match:"1f1f8",uc_greedy:"1f1f8",shortnames:[],category:"regional"},":regional_indicator_t:":{uc_base:"1f1f9",uc_output:"1f1f9",uc_match:"1f1f9",uc_greedy:"1f1f9",shortnames:[],category:"regional"},":regional_indicator_u:":{uc_base:"1f1fa",uc_output:"1f1fa",uc_match:"1f1fa",uc_greedy:"1f1fa",shortnames:[],category:"regional"},":regional_indicator_v:":{uc_base:"1f1fb",uc_output:"1f1fb",uc_match:"1f1fb",uc_greedy:"1f1fb",shortnames:[],category:"regional"},":regional_indicator_w:":{uc_base:"1f1fc",uc_output:"1f1fc",uc_match:"1f1fc",uc_greedy:"1f1fc",shortnames:[],category:"regional"},":regional_indicator_x:":{uc_base:"1f1fd",uc_output:"1f1fd",uc_match:"1f1fd",uc_greedy:"1f1fd",shortnames:[],category:"regional"},":regional_indicator_y:":{uc_base:"1f1fe",uc_output:"1f1fe",uc_match:"1f1fe",uc_greedy:"1f1fe",shortnames:[],category:"regional"},":regional_indicator_z:":{uc_base:"1f1ff",uc_output:"1f1ff",uc_match:"1f1ff",uc_greedy:"1f1ff",shortnames:[],category:"regional"},":relieved:":{uc_base:"1f60c",uc_output:"1f60c",uc_match:"1f60c",uc_greedy:"1f60c",shortnames:[],category:"people"},":reminder_ribbon:":{uc_base:"1f397",uc_output:"1f397",uc_match:"1f397-fe0f",uc_greedy:"1f397-fe0f",shortnames:[],category:"activity"},":repeat:":{uc_base:"1f501",uc_output:"1f501",uc_match:"1f501",uc_greedy:"1f501",shortnames:[],category:"symbols"},":repeat_one:":{uc_base:"1f502",uc_output:"1f502",uc_match:"1f502",uc_greedy:"1f502",shortnames:[],category:"symbols"},":restroom:":{uc_base:"1f6bb",uc_output:"1f6bb",uc_match:"1f6bb",uc_greedy:"1f6bb",shortnames:[],category:"symbols"},":revolving_hearts:":{uc_base:"1f49e",uc_output:"1f49e",uc_match:"1f49e",uc_greedy:"1f49e",shortnames:[],category:"symbols"},":rhino:":{uc_base:"1f98f",uc_output:"1f98f",uc_match:"1f98f",uc_greedy:"1f98f",shortnames:[":rhinoceros:"],category:"nature"},":ribbon:":{uc_base:"1f380",uc_output:"1f380",uc_match:"1f380",uc_greedy:"1f380",shortnames:[],category:"objects"},":rice:":{uc_base:"1f35a",uc_output:"1f35a",uc_match:"1f35a",uc_greedy:"1f35a",shortnames:[],category:"food"},":rice_ball:":{uc_base:"1f359",uc_output:"1f359",uc_match:"1f359",uc_greedy:"1f359",shortnames:[],category:"food"},":rice_cracker:":{uc_base:"1f358",uc_output:"1f358",uc_match:"1f358",uc_greedy:"1f358",shortnames:[],category:"food"},":rice_scene:":{uc_base:"1f391",uc_output:"1f391",uc_match:"1f391",uc_greedy:"1f391",shortnames:[],category:"travel"},":right_facing_fist:":{uc_base:"1f91c",uc_output:"1f91c",uc_match:"1f91c",uc_greedy:"1f91c",shortnames:[":right_fist:"],category:"people"},":ring:":{uc_base:"1f48d",uc_output:"1f48d",uc_match:"1f48d",uc_greedy:"1f48d",shortnames:[],category:"people"},":robot:":{uc_base:"1f916",uc_output:"1f916",uc_match:"1f916",uc_greedy:"1f916",shortnames:[":robot_face:"],category:"people"},":rocket:":{uc_base:"1f680",uc_output:"1f680",uc_match:"1f680",uc_greedy:"1f680",shortnames:[],category:"travel"},":rofl:":{uc_base:"1f923",uc_output:"1f923",uc_match:"1f923",uc_greedy:"1f923",shortnames:[":rolling_on_the_floor_laughing:"],category:"people"},":roll_of_paper:":{uc_base:"1f9fb",uc_output:"1f9fb",uc_match:"1f9fb",uc_greedy:"1f9fb",shortnames:[],category:"objects"},":roller_coaster:":{uc_base:"1f3a2",uc_output:"1f3a2",uc_match:"1f3a2",uc_greedy:"1f3a2",shortnames:[],category:"travel"},":rolling_eyes:":{uc_base:"1f644",uc_output:"1f644",uc_match:"1f644",uc_greedy:"1f644",shortnames:[":face_with_rolling_eyes:"],category:"people"},":rooster:":{uc_base:"1f413",uc_output:"1f413",uc_match:"1f413",uc_greedy:"1f413",shortnames:[],category:"nature"},":rose:":{uc_base:"1f339",uc_output:"1f339",uc_match:"1f339",uc_greedy:"1f339",shortnames:[],category:"nature"},":rosette:":{uc_base:"1f3f5",uc_output:"1f3f5",uc_match:"1f3f5-fe0f",uc_greedy:"1f3f5-fe0f",shortnames:[],category:"activity"},":rotating_light:":{uc_base:"1f6a8",uc_output:"1f6a8",uc_match:"1f6a8",uc_greedy:"1f6a8",shortnames:[],category:"travel"},":round_pushpin:":{uc_base:"1f4cd",uc_output:"1f4cd",uc_match:"1f4cd",uc_greedy:"1f4cd",shortnames:[],category:"objects"},":rugby_football:":{uc_base:"1f3c9",uc_output:"1f3c9",uc_match:"1f3c9",uc_greedy:"1f3c9",shortnames:[],category:"activity"},":running_shirt_with_sash:":{uc_base:"1f3bd",uc_output:"1f3bd",uc_match:"1f3bd",uc_greedy:"1f3bd",shortnames:[],category:"activity"},":sa:":{uc_base:"1f202",uc_output:"1f202",uc_match:"1f202-fe0f",uc_greedy:"1f202-fe0f",shortnames:[],category:"symbols"},":safety_pin:":{uc_base:"1f9f7",uc_output:"1f9f7",uc_match:"1f9f7",uc_greedy:"1f9f7",shortnames:[],category:"objects"},":sake:":{uc_base:"1f376",uc_output:"1f376",uc_match:"1f376",uc_greedy:"1f376",shortnames:[],category:"food"},":salad:":{uc_base:"1f957",uc_output:"1f957",uc_match:"1f957",uc_greedy:"1f957",shortnames:[":green_salad:"],category:"food"},":salt:":{uc_base:"1f9c2",uc_output:"1f9c2",uc_match:"1f9c2",uc_greedy:"1f9c2",shortnames:[],category:"food"},":sandal:":{uc_base:"1f461",uc_output:"1f461",uc_match:"1f461",uc_greedy:"1f461",shortnames:[],category:"people"},":sandwich:":{uc_base:"1f96a",uc_output:"1f96a",uc_match:"1f96a",uc_greedy:"1f96a",shortnames:[],category:"food"},":santa:":{uc_base:"1f385",uc_output:"1f385",uc_match:"1f385",uc_greedy:"1f385",shortnames:[],category:"people"},":satellite:":{uc_base:"1f4e1",uc_output:"1f4e1",uc_match:"1f4e1",uc_greedy:"1f4e1",shortnames:[],category:"objects"},":satellite_orbital:":{uc_base:"1f6f0",uc_output:"1f6f0",uc_match:"1f6f0-fe0f",uc_greedy:"1f6f0-fe0f",shortnames:[],category:"travel"},":sauropod:":{uc_base:"1f995",uc_output:"1f995",uc_match:"1f995",uc_greedy:"1f995",shortnames:[],category:"nature"},":saxophone:":{uc_base:"1f3b7",uc_output:"1f3b7",uc_match:"1f3b7",uc_greedy:"1f3b7",shortnames:[],category:"activity"},":scarf:":{uc_base:"1f9e3",uc_output:"1f9e3",uc_match:"1f9e3",uc_greedy:"1f9e3",shortnames:[],category:"people"},":school:":{uc_base:"1f3eb",uc_output:"1f3eb",uc_match:"1f3eb",uc_greedy:"1f3eb",shortnames:[],category:"travel"},":school_satchel:":{uc_base:"1f392",uc_output:"1f392",uc_match:"1f392",uc_greedy:"1f392",shortnames:[],category:"people"},":scooter:":{uc_base:"1f6f4",uc_output:"1f6f4",uc_match:"1f6f4",uc_greedy:"1f6f4",shortnames:[],category:"travel"},":scorpion:":{uc_base:"1f982",uc_output:"1f982",uc_match:"1f982",uc_greedy:"1f982",shortnames:[],category:"nature"},":scream:":{uc_base:"1f631",uc_output:"1f631",uc_match:"1f631",uc_greedy:"1f631",shortnames:[],category:"people"},":scream_cat:":{uc_base:"1f640",uc_output:"1f640",uc_match:"1f640",uc_greedy:"1f640",shortnames:[],category:"people"},":scroll:":{uc_base:"1f4dc",uc_output:"1f4dc",uc_match:"1f4dc",uc_greedy:"1f4dc",shortnames:[],category:"objects"},":seat:":{uc_base:"1f4ba",uc_output:"1f4ba",uc_match:"1f4ba",uc_greedy:"1f4ba",shortnames:[],category:"travel"},":second_place:":{uc_base:"1f948",uc_output:"1f948",uc_match:"1f948",uc_greedy:"1f948",shortnames:[":second_place_medal:"],category:"activity"},":see_no_evil:":{uc_base:"1f648",uc_output:"1f648",uc_match:"1f648",uc_greedy:"1f648",shortnames:[],category:"nature"},":seedling:":{uc_base:"1f331",uc_output:"1f331",uc_match:"1f331",uc_greedy:"1f331",shortnames:[],category:"nature"},":selfie:":{uc_base:"1f933",uc_output:"1f933",uc_match:"1f933",uc_greedy:"1f933",shortnames:[],category:"people"},":shallow_pan_of_food:":{uc_base:"1f958",uc_output:"1f958",uc_match:"1f958",uc_greedy:"1f958",shortnames:[":paella:"],category:"food"},":shark:":{uc_base:"1f988",uc_output:"1f988",uc_match:"1f988",uc_greedy:"1f988",shortnames:[],category:"nature"},":shaved_ice:":{uc_base:"1f367",uc_output:"1f367",uc_match:"1f367",uc_greedy:"1f367",shortnames:[],category:"food"},":sheep:":{uc_base:"1f411",uc_output:"1f411",uc_match:"1f411",uc_greedy:"1f411",shortnames:[],category:"nature"},":shell:":{uc_base:"1f41a",uc_output:"1f41a",uc_match:"1f41a",uc_greedy:"1f41a",shortnames:[],category:"nature"},":shield:":{uc_base:"1f6e1",uc_output:"1f6e1",uc_match:"1f6e1-fe0f",uc_greedy:"1f6e1-fe0f",shortnames:[],category:"objects"},":ship:":{uc_base:"1f6a2",uc_output:"1f6a2",uc_match:"1f6a2",uc_greedy:"1f6a2",shortnames:[],category:"travel"},":shirt:":{uc_base:"1f455",uc_output:"1f455",uc_match:"1f455",uc_greedy:"1f455",shortnames:[],category:"people"},":shopping_bags:":{uc_base:"1f6cd",uc_output:"1f6cd",uc_match:"1f6cd-fe0f",uc_greedy:"1f6cd-fe0f",shortnames:[],category:"objects"},":shopping_cart:":{uc_base:"1f6d2",uc_output:"1f6d2",uc_match:"1f6d2",uc_greedy:"1f6d2",shortnames:[":shopping_trolley:"],category:"objects"},":shower:":{uc_base:"1f6bf",uc_output:"1f6bf",uc_match:"1f6bf",uc_greedy:"1f6bf",shortnames:[],category:"objects"},":shrimp:":{uc_base:"1f990",uc_output:"1f990",uc_match:"1f990",uc_greedy:"1f990",shortnames:[],category:"nature"},":shushing_face:":{uc_base:"1f92b",uc_output:"1f92b",uc_match:"1f92b",uc_greedy:"1f92b",shortnames:[],category:"people"},":signal_strength:":{uc_base:"1f4f6",uc_output:"1f4f6",uc_match:"1f4f6",uc_greedy:"1f4f6",shortnames:[],category:"symbols"},":six_pointed_star:":{uc_base:"1f52f",uc_output:"1f52f",uc_match:"1f52f",uc_greedy:"1f52f",shortnames:[],category:"symbols"},":skateboard:":{uc_base:"1f6f9",uc_output:"1f6f9",uc_match:"1f6f9",uc_greedy:"1f6f9",shortnames:[],category:"activity"},":ski:":{uc_base:"1f3bf",uc_output:"1f3bf",uc_match:"1f3bf",uc_greedy:"1f3bf",shortnames:[],category:"activity"},":skull:":{uc_base:"1f480",uc_output:"1f480",uc_match:"1f480",uc_greedy:"1f480",shortnames:[":skeleton:"],category:"people"},":sled:":{uc_base:"1f6f7",uc_output:"1f6f7",uc_match:"1f6f7",uc_greedy:"1f6f7",shortnames:[],category:"activity"},":sleeping:":{uc_base:"1f634",uc_output:"1f634",uc_match:"1f634",uc_greedy:"1f634",shortnames:[],category:"people"},":sleeping_accommodation:":{uc_base:"1f6cc",uc_output:"1f6cc",uc_match:"1f6cc",uc_greedy:"1f6cc",shortnames:[],category:"objects"},":sleepy:":{uc_base:"1f62a",uc_output:"1f62a",uc_match:"1f62a",uc_greedy:"1f62a",shortnames:[],category:"people"},":slight_frown:":{uc_base:"1f641",uc_output:"1f641",uc_match:"1f641",uc_greedy:"1f641",shortnames:[":slightly_frowning_face:"],category:"people"},":slight_smile:":{uc_base:"1f642",uc_output:"1f642",uc_match:"1f642",uc_greedy:"1f642",shortnames:[":slightly_smiling_face:"],category:"people"},":slot_machine:":{uc_base:"1f3b0",uc_output:"1f3b0",uc_match:"1f3b0",uc_greedy:"1f3b0",shortnames:[],category:"activity"},":small_blue_diamond:":{uc_base:"1f539",uc_output:"1f539",uc_match:"1f539",uc_greedy:"1f539",shortnames:[],category:"symbols"},":small_orange_diamond:":{uc_base:"1f538",uc_output:"1f538",uc_match:"1f538",uc_greedy:"1f538",shortnames:[],category:"symbols"},":small_red_triangle:":{uc_base:"1f53a",uc_output:"1f53a",uc_match:"1f53a",uc_greedy:"1f53a",shortnames:[],category:"symbols"},":small_red_triangle_down:":{uc_base:"1f53b",uc_output:"1f53b",uc_match:"1f53b",uc_greedy:"1f53b",shortnames:[],category:"symbols"},":smile:":{uc_base:"1f604",uc_output:"1f604",uc_match:"1f604",uc_greedy:"1f604",shortnames:[],category:"people"},":smile_cat:":{uc_base:"1f638",uc_output:"1f638",uc_match:"1f638",uc_greedy:"1f638",shortnames:[],category:"people"},":smiley:":{uc_base:"1f603",uc_output:"1f603",uc_match:"1f603",uc_greedy:"1f603",shortnames:[],category:"people"},":smiley_cat:":{uc_base:"1f63a",uc_output:"1f63a",uc_match:"1f63a",uc_greedy:"1f63a",shortnames:[],category:"people"},":smiling_face_with_3_hearts:":{uc_base:"1f970",uc_output:"1f970",uc_match:"1f970",uc_greedy:"1f970",shortnames:[],category:"people"},":smiling_imp:":{uc_base:"1f608",uc_output:"1f608",uc_match:"1f608",uc_greedy:"1f608",shortnames:[],category:"people"},":smirk:":{uc_base:"1f60f",uc_output:"1f60f",uc_match:"1f60f",uc_greedy:"1f60f",shortnames:[],category:"people"},":smirk_cat:":{uc_base:"1f63c",uc_output:"1f63c",uc_match:"1f63c",uc_greedy:"1f63c",shortnames:[],category:"people"},":smoking:":{uc_base:"1f6ac",uc_output:"1f6ac",uc_match:"1f6ac",uc_greedy:"1f6ac",shortnames:[],category:"objects"},":snail:":{uc_base:"1f40c",uc_output:"1f40c",uc_match:"1f40c",uc_greedy:"1f40c",shortnames:[],category:"nature"},":snake:":{uc_base:"1f40d",uc_output:"1f40d",uc_match:"1f40d",uc_greedy:"1f40d",shortnames:[],category:"nature"},":sneezing_face:":{uc_base:"1f927",uc_output:"1f927",uc_match:"1f927",uc_greedy:"1f927",shortnames:[":sneeze:"],category:"people"},":snowboarder:":{uc_base:"1f3c2",uc_output:"1f3c2",uc_match:"1f3c2-fe0f",uc_greedy:"1f3c2-fe0f",shortnames:[],category:"activity"},":soap:":{uc_base:"1f9fc",uc_output:"1f9fc",uc_match:"1f9fc",uc_greedy:"1f9fc",shortnames:[],category:"objects"},":sob:":{uc_base:"1f62d",uc_output:"1f62d",uc_match:"1f62d",uc_greedy:"1f62d",shortnames:[],category:"people"},":socks:":{uc_base:"1f9e6",uc_output:"1f9e6",uc_match:"1f9e6",uc_greedy:"1f9e6",shortnames:[],category:"people"},":softball:":{uc_base:"1f94e",uc_output:"1f94e",uc_match:"1f94e",uc_greedy:"1f94e",shortnames:[],category:"activity"},":soon:":{uc_base:"1f51c",uc_output:"1f51c",uc_match:"1f51c",uc_greedy:"1f51c",shortnames:[],category:"symbols"},":sos:":{uc_base:"1f198",uc_output:"1f198",uc_match:"1f198",uc_greedy:"1f198",shortnames:[],category:"symbols"},":sound:":{uc_base:"1f509",uc_output:"1f509",uc_match:"1f509",uc_greedy:"1f509",shortnames:[],category:"symbols"},":space_invader:":{uc_base:"1f47e",uc_output:"1f47e",uc_match:"1f47e",uc_greedy:"1f47e",shortnames:[],category:"people"},":spaghetti:":{uc_base:"1f35d",uc_output:"1f35d",uc_match:"1f35d",uc_greedy:"1f35d",shortnames:[],category:"food"},":sparkler:":{uc_base:"1f387",uc_output:"1f387",uc_match:"1f387",uc_greedy:"1f387",shortnames:[],category:"travel"},":sparkling_heart:":{uc_base:"1f496",uc_output:"1f496",uc_match:"1f496",uc_greedy:"1f496",shortnames:[],category:"symbols"},":speak_no_evil:":{uc_base:"1f64a",uc_output:"1f64a",uc_match:"1f64a",uc_greedy:"1f64a",shortnames:[],category:"nature"},":speaker:":{uc_base:"1f508",uc_output:"1f508",uc_match:"1f508-fe0f",uc_greedy:"1f508-fe0f",shortnames:[],category:"symbols"},":speaking_head:":{uc_base:"1f5e3",uc_output:"1f5e3",uc_match:"1f5e3-fe0f",uc_greedy:"1f5e3-fe0f",shortnames:[":speaking_head_in_silhouette:"],category:"people"},":speech_balloon:":{uc_base:"1f4ac",uc_output:"1f4ac",uc_match:"1f4ac",uc_greedy:"1f4ac",shortnames:[],category:"symbols"},":speech_left:":{uc_base:"1f5e8",uc_output:"1f5e8",uc_match:"1f5e8-fe0f",uc_greedy:"1f5e8-fe0f",shortnames:[":left_speech_bubble:"],category:"symbols"},":speedboat:":{uc_base:"1f6a4",uc_output:"1f6a4",uc_match:"1f6a4",uc_greedy:"1f6a4",shortnames:[],category:"travel"},":spider:":{uc_base:"1f577",uc_output:"1f577",uc_match:"1f577-fe0f",uc_greedy:"1f577-fe0f",shortnames:[],category:"nature"},":spider_web:":{uc_base:"1f578",uc_output:"1f578",uc_match:"1f578-fe0f",uc_greedy:"1f578-fe0f",shortnames:[],category:"nature"},":sponge:":{uc_base:"1f9fd",uc_output:"1f9fd",uc_match:"1f9fd",uc_greedy:"1f9fd",shortnames:[],category:"objects"},":spoon:":{uc_base:"1f944",uc_output:"1f944",uc_match:"1f944",uc_greedy:"1f944",shortnames:[],category:"food"},":squeeze_bottle:":{uc_base:"1f9f4",uc_output:"1f9f4",uc_match:"1f9f4",uc_greedy:"1f9f4",shortnames:[],category:"objects"},":squid:":{uc_base:"1f991",uc_output:"1f991",uc_match:"1f991",uc_greedy:"1f991",shortnames:[],category:"nature"},":stadium:":{uc_base:"1f3df",uc_output:"1f3df",uc_match:"1f3df-fe0f",uc_greedy:"1f3df-fe0f",shortnames:[],category:"travel"},":star2:":{uc_base:"1f31f",uc_output:"1f31f",uc_match:"1f31f",uc_greedy:"1f31f",shortnames:[],category:"nature"},":star_struck:":{uc_base:"1f929",uc_output:"1f929",uc_match:"1f929",uc_greedy:"1f929",shortnames:[],category:"people"},":stars:":{uc_base:"1f320",uc_output:"1f320",uc_match:"1f320",uc_greedy:"1f320",shortnames:[],category:"travel"},":station:":{uc_base:"1f689",uc_output:"1f689",uc_match:"1f689",uc_greedy:"1f689",shortnames:[],category:"travel"},":statue_of_liberty:":{uc_base:"1f5fd",uc_output:"1f5fd",uc_match:"1f5fd",uc_greedy:"1f5fd",shortnames:[],category:"travel"},":steam_locomotive:":{uc_base:"1f682",uc_output:"1f682",uc_match:"1f682",uc_greedy:"1f682",shortnames:[],category:"travel"},":stew:":{uc_base:"1f372",uc_output:"1f372",uc_match:"1f372",uc_greedy:"1f372",shortnames:[],category:"food"},":straight_ruler:":{uc_base:"1f4cf",uc_output:"1f4cf",uc_match:"1f4cf",uc_greedy:"1f4cf",shortnames:[],category:"objects"},":strawberry:":{uc_base:"1f353",uc_output:"1f353",uc_match:"1f353",uc_greedy:"1f353",shortnames:[],category:"food"},":stuck_out_tongue:":{uc_base:"1f61b",uc_output:"1f61b",uc_match:"1f61b",uc_greedy:"1f61b",shortnames:[],category:"people"},":stuck_out_tongue_closed_eyes:":{uc_base:"1f61d",uc_output:"1f61d",uc_match:"1f61d",uc_greedy:"1f61d",shortnames:[],category:"people"},":stuck_out_tongue_winking_eye:":{uc_base:"1f61c",uc_output:"1f61c",uc_match:"1f61c",uc_greedy:"1f61c",shortnames:[],category:"people"},":stuffed_flatbread:":{uc_base:"1f959",uc_output:"1f959",uc_match:"1f959",uc_greedy:"1f959",shortnames:[":stuffed_pita:"],category:"food"},":sun_with_face:":{uc_base:"1f31e",uc_output:"1f31e",uc_match:"1f31e",uc_greedy:"1f31e",shortnames:[],category:"nature"},":sunflower:":{uc_base:"1f33b",uc_output:"1f33b",uc_match:"1f33b",uc_greedy:"1f33b",shortnames:[],category:"nature"},":sunglasses:":{uc_base:"1f60e",uc_output:"1f60e",uc_match:"1f60e",uc_greedy:"1f60e",shortnames:[],category:"people"},":sunrise:":{uc_base:"1f305",uc_output:"1f305",uc_match:"1f305",uc_greedy:"1f305",shortnames:[],category:"travel"},":sunrise_over_mountains:":{uc_base:"1f304",uc_output:"1f304",uc_match:"1f304",uc_greedy:"1f304",shortnames:[],category:"travel"},":superhero:":{uc_base:"1f9b8",uc_output:"1f9b8",uc_match:"1f9b8",uc_greedy:"1f9b8",shortnames:[],category:"people"},":supervillain:":{uc_base:"1f9b9",uc_output:"1f9b9",uc_match:"1f9b9",uc_greedy:"1f9b9",shortnames:[],category:"people"},":sushi:":{uc_base:"1f363",uc_output:"1f363",uc_match:"1f363",uc_greedy:"1f363",shortnames:[],category:"food"},":suspension_railway:":{uc_base:"1f69f",uc_output:"1f69f",uc_match:"1f69f",uc_greedy:"1f69f",shortnames:[],category:"travel"},":swan:":{uc_base:"1f9a2",uc_output:"1f9a2",uc_match:"1f9a2",uc_greedy:"1f9a2",shortnames:[],category:"nature"},":sweat:":{uc_base:"1f613",uc_output:"1f613",uc_match:"1f613",uc_greedy:"1f613",shortnames:[],category:"people"},":sweat_drops:":{uc_base:"1f4a6",uc_output:"1f4a6",uc_match:"1f4a6",uc_greedy:"1f4a6",shortnames:[],category:"nature"},":sweat_smile:":{uc_base:"1f605",uc_output:"1f605",uc_match:"1f605",uc_greedy:"1f605",shortnames:[],category:"people"},":sweet_potato:":{uc_base:"1f360",uc_output:"1f360",uc_match:"1f360",uc_greedy:"1f360",shortnames:[],category:"food"},":symbols:":{uc_base:"1f523",uc_output:"1f523",uc_match:"1f523",uc_greedy:"1f523",shortnames:[],category:"symbols"},":synagogue:":{uc_base:"1f54d",uc_output:"1f54d",uc_match:"1f54d",uc_greedy:"1f54d",shortnames:[],category:"travel"},":syringe:":{uc_base:"1f489",uc_output:"1f489",uc_match:"1f489",uc_greedy:"1f489",shortnames:[],category:"objects"},":t_rex:":{uc_base:"1f996",uc_output:"1f996",uc_match:"1f996",uc_greedy:"1f996",shortnames:[],category:"nature"},":taco:":{uc_base:"1f32e",uc_output:"1f32e",uc_match:"1f32e",uc_greedy:"1f32e",shortnames:[],category:"food"},":tada:":{uc_base:"1f389",uc_output:"1f389",uc_match:"1f389",uc_greedy:"1f389",shortnames:[],category:"objects"},":takeout_box:":{uc_base:"1f961",uc_output:"1f961",uc_match:"1f961",uc_greedy:"1f961",shortnames:[],category:"food"},":tanabata_tree:":{uc_base:"1f38b",uc_output:"1f38b",uc_match:"1f38b",uc_greedy:"1f38b",shortnames:[],category:"nature"},":tangerine:":{uc_base:"1f34a",uc_output:"1f34a",uc_match:"1f34a",uc_greedy:"1f34a",shortnames:[],category:"food"},":taxi:":{uc_base:"1f695",uc_output:"1f695",uc_match:"1f695",uc_greedy:"1f695",shortnames:[],category:"travel"},":tea:":{uc_base:"1f375",uc_output:"1f375",uc_match:"1f375",uc_greedy:"1f375",shortnames:[],category:"food"},":teddy_bear:":{uc_base:"1f9f8",uc_output:"1f9f8",uc_match:"1f9f8",uc_greedy:"1f9f8",shortnames:[],category:"objects"},":telephone_receiver:":{uc_base:"1f4de",uc_output:"1f4de",uc_match:"1f4de",uc_greedy:"1f4de",shortnames:[],category:"objects"},":telescope:":{uc_base:"1f52d",uc_output:"1f52d",uc_match:"1f52d",uc_greedy:"1f52d",shortnames:[],category:"objects"},":tennis:":{uc_base:"1f3be",uc_output:"1f3be",uc_match:"1f3be",uc_greedy:"1f3be",shortnames:[],category:"activity"},":test_tube:":{uc_base:"1f9ea",uc_output:"1f9ea",uc_match:"1f9ea",uc_greedy:"1f9ea",shortnames:[],category:"objects"},":thermometer:":{uc_base:"1f321",uc_output:"1f321",uc_match:"1f321-fe0f",uc_greedy:"1f321-fe0f",shortnames:[],category:"objects"},":thermometer_face:":{uc_base:"1f912",uc_output:"1f912",uc_match:"1f912",uc_greedy:"1f912",shortnames:[":face_with_thermometer:"],category:"people"},":thinking:":{uc_base:"1f914",uc_output:"1f914",uc_match:"1f914",uc_greedy:"1f914",shortnames:[":thinking_face:"],category:"people"},":third_place:":{uc_base:"1f949",uc_output:"1f949",uc_match:"1f949",uc_greedy:"1f949",shortnames:[":third_place_medal:"],category:"activity"},":thought_balloon:":{uc_base:"1f4ad",uc_output:"1f4ad",uc_match:"1f4ad",uc_greedy:"1f4ad",shortnames:[],category:"symbols"},":thread:":{uc_base:"1f9f5",uc_output:"1f9f5",uc_match:"1f9f5",uc_greedy:"1f9f5",shortnames:[],category:"objects"},":thumbsdown:":{uc_base:"1f44e",uc_output:"1f44e",uc_match:"1f44e-fe0f",uc_greedy:"1f44e-fe0f",shortnames:[":-1:",":thumbdown:"],category:"people"},":thumbsup:":{uc_base:"1f44d",uc_output:"1f44d",uc_match:"1f44d-fe0f",uc_greedy:"1f44d-fe0f",shortnames:[":+1:",":thumbup:"],category:"people"},":ticket:":{uc_base:"1f3ab",uc_output:"1f3ab",uc_match:"1f3ab",uc_greedy:"1f3ab",shortnames:[],category:"activity"},":tickets:":{uc_base:"1f39f",uc_output:"1f39f",uc_match:"1f39f-fe0f",uc_greedy:"1f39f-fe0f",shortnames:[":admission_tickets:"],category:"activity"},":tiger2:":{uc_base:"1f405",uc_output:"1f405",uc_match:"1f405",uc_greedy:"1f405",shortnames:[],category:"nature"},":tiger:":{uc_base:"1f42f",uc_output:"1f42f",uc_match:"1f42f",uc_greedy:"1f42f",shortnames:[],category:"nature"},":tired_face:":{uc_base:"1f62b",uc_output:"1f62b",uc_match:"1f62b",uc_greedy:"1f62b",shortnames:[],category:"people"},":toilet:":{uc_base:"1f6bd",uc_output:"1f6bd",uc_match:"1f6bd",uc_greedy:"1f6bd",shortnames:[],category:"objects"},":tokyo_tower:":{uc_base:"1f5fc",uc_output:"1f5fc",uc_match:"1f5fc",uc_greedy:"1f5fc",shortnames:[],category:"travel"},":tomato:":{uc_base:"1f345",uc_output:"1f345",uc_match:"1f345",uc_greedy:"1f345",shortnames:[],category:"food"},":tone1:":{uc_base:"1f3fb",uc_output:"1f3fb",uc_match:"1f3fb",uc_greedy:"1f3fb",shortnames:[],category:"modifier"},":tone2:":{uc_base:"1f3fc",uc_output:"1f3fc",uc_match:"1f3fc",uc_greedy:"1f3fc",shortnames:[],category:"modifier"},":tone3:":{uc_base:"1f3fd",uc_output:"1f3fd",uc_match:"1f3fd",uc_greedy:"1f3fd",shortnames:[],category:"modifier"},":tone4:":{uc_base:"1f3fe",uc_output:"1f3fe",uc_match:"1f3fe",uc_greedy:"1f3fe",shortnames:[],category:"modifier"},":tone5:":{uc_base:"1f3ff",uc_output:"1f3ff",uc_match:"1f3ff",uc_greedy:"1f3ff",shortnames:[],category:"modifier"},":tongue:":{uc_base:"1f445",uc_output:"1f445",uc_match:"1f445",uc_greedy:"1f445",shortnames:[],category:"people"},":toolbox:":{uc_base:"1f9f0",uc_output:"1f9f0",uc_match:"1f9f0",uc_greedy:"1f9f0",shortnames:[],category:"objects"},":tools:":{uc_base:"1f6e0",uc_output:"1f6e0",uc_match:"1f6e0-fe0f",uc_greedy:"1f6e0-fe0f",shortnames:[":hammer_and_wrench:"],category:"objects"},":tooth:":{uc_base:"1f9b7",uc_output:"1f9b7",uc_match:"1f9b7",uc_greedy:"1f9b7",shortnames:[],category:"people"},":top:":{uc_base:"1f51d",uc_output:"1f51d",uc_match:"1f51d",uc_greedy:"1f51d",shortnames:[],category:"symbols"},":tophat:":{uc_base:"1f3a9",uc_output:"1f3a9",uc_match:"1f3a9",uc_greedy:"1f3a9",shortnames:[],category:"people"},":trackball:":{uc_base:"1f5b2",uc_output:"1f5b2",uc_match:"1f5b2-fe0f",uc_greedy:"1f5b2-fe0f",shortnames:[],category:"objects"},":tractor:":{uc_base:"1f69c",uc_output:"1f69c",uc_match:"1f69c",uc_greedy:"1f69c",shortnames:[],category:"travel"},":traffic_light:":{uc_base:"1f6a5",uc_output:"1f6a5",uc_match:"1f6a5",uc_greedy:"1f6a5",shortnames:[],category:"travel"},":train2:":{uc_base:"1f686",uc_output:"1f686",uc_match:"1f686",uc_greedy:"1f686",shortnames:[],category:"travel"},":train:":{uc_base:"1f68b",uc_output:"1f68b",uc_match:"1f68b",uc_greedy:"1f68b",shortnames:[],category:"travel"},":tram:":{uc_base:"1f68a",uc_output:"1f68a",uc_match:"1f68a",uc_greedy:"1f68a",shortnames:[],category:"travel"},":triangular_flag_on_post:":{uc_base:"1f6a9",uc_output:"1f6a9",uc_match:"1f6a9",uc_greedy:"1f6a9",shortnames:[],category:"flags"},":triangular_ruler:":{uc_base:"1f4d0",uc_output:"1f4d0",uc_match:"1f4d0",uc_greedy:"1f4d0",shortnames:[],category:"objects"},":trident:":{uc_base:"1f531",uc_output:"1f531",uc_match:"1f531",uc_greedy:"1f531",shortnames:[],category:"symbols"},":triumph:":{uc_base:"1f624",uc_output:"1f624",uc_match:"1f624",uc_greedy:"1f624",shortnames:[],category:"people"},":trolleybus:":{uc_base:"1f68e",uc_output:"1f68e",uc_match:"1f68e",uc_greedy:"1f68e",shortnames:[],category:"travel"},":trophy:":{uc_base:"1f3c6",uc_output:"1f3c6",uc_match:"1f3c6-fe0f",uc_greedy:"1f3c6-fe0f",shortnames:[],category:"activity"},":tropical_drink:":{uc_base:"1f379",uc_output:"1f379",uc_match:"1f379",uc_greedy:"1f379",shortnames:[],category:"food"},":tropical_fish:":{uc_base:"1f420",uc_output:"1f420",uc_match:"1f420",uc_greedy:"1f420",shortnames:[],category:"nature"},":truck:":{uc_base:"1f69a",uc_output:"1f69a",uc_match:"1f69a",uc_greedy:"1f69a",shortnames:[],category:"travel"},":trumpet:":{uc_base:"1f3ba",uc_output:"1f3ba",uc_match:"1f3ba",uc_greedy:"1f3ba",shortnames:[],category:"activity"},":tulip:":{uc_base:"1f337",uc_output:"1f337",uc_match:"1f337",uc_greedy:"1f337",shortnames:[],category:"nature"},":tumbler_glass:":{uc_base:"1f943",uc_output:"1f943",uc_match:"1f943",uc_greedy:"1f943",shortnames:[":whisky:"],category:"food"},":turkey:":{uc_base:"1f983",uc_output:"1f983",uc_match:"1f983",uc_greedy:"1f983",shortnames:[],category:"nature"},":turtle:":{uc_base:"1f422",uc_output:"1f422",uc_match:"1f422",uc_greedy:"1f422",shortnames:[],category:"nature"},":tv:":{uc_base:"1f4fa",uc_output:"1f4fa",uc_match:"1f4fa-fe0f",uc_greedy:"1f4fa-fe0f",shortnames:[],category:"objects"},":twisted_rightwards_arrows:":{uc_base:"1f500",uc_output:"1f500",uc_match:"1f500",uc_greedy:"1f500",shortnames:[],category:"symbols"},":two_hearts:":{uc_base:"1f495",uc_output:"1f495",uc_match:"1f495",uc_greedy:"1f495",shortnames:[],category:"symbols"},":two_men_holding_hands:":{uc_base:"1f46c",uc_output:"1f46c",uc_match:"1f46c",uc_greedy:"1f46c",shortnames:[],category:"people"},":two_women_holding_hands:":{uc_base:"1f46d",uc_output:"1f46d",uc_match:"1f46d",uc_greedy:"1f46d",shortnames:[],category:"people"},":u5272:":{uc_base:"1f239",uc_output:"1f239",uc_match:"1f239",uc_greedy:"1f239",shortnames:[],category:"symbols"},":u5408:":{uc_base:"1f234",uc_output:"1f234",uc_match:"1f234",uc_greedy:"1f234",shortnames:[],category:"symbols"},":u55b6:":{uc_base:"1f23a",uc_output:"1f23a",uc_match:"1f23a",uc_greedy:"1f23a",shortnames:[],category:"symbols"},":u6307:":{uc_base:"1f22f",uc_output:"1f22f",uc_match:"1f22f-fe0f",uc_greedy:"1f22f-fe0f",shortnames:[],category:"symbols"},":u6708:":{uc_base:"1f237",uc_output:"1f237",uc_match:"1f237-fe0f",uc_greedy:"1f237-fe0f",shortnames:[],category:"symbols"},":u6709:":{uc_base:"1f236",uc_output:"1f236",uc_match:"1f236",uc_greedy:"1f236",shortnames:[],category:"symbols"},":u6e80:":{uc_base:"1f235",uc_output:"1f235",uc_match:"1f235",uc_greedy:"1f235",shortnames:[],category:"symbols"},":u7121:":{uc_base:"1f21a",uc_output:"1f21a",uc_match:"1f21a-fe0f",uc_greedy:"1f21a-fe0f",shortnames:[],category:"symbols"},":u7533:":{uc_base:"1f238",uc_output:"1f238",uc_match:"1f238",uc_greedy:"1f238",shortnames:[],category:"symbols"},":u7981:":{uc_base:"1f232",uc_output:"1f232",uc_match:"1f232",uc_greedy:"1f232",shortnames:[],category:"symbols"},":u7a7a:":{uc_base:"1f233",uc_output:"1f233",uc_match:"1f233",uc_greedy:"1f233",shortnames:[],category:"symbols"},":unamused:":{uc_base:"1f612",uc_output:"1f612",uc_match:"1f612",uc_greedy:"1f612",shortnames:[],category:"people"},":underage:":{uc_base:"1f51e",uc_output:"1f51e",uc_match:"1f51e",uc_greedy:"1f51e",shortnames:[],category:"symbols"},":unicorn:":{uc_base:"1f984",uc_output:"1f984",uc_match:"1f984",uc_greedy:"1f984",shortnames:[":unicorn_face:"],category:"nature"},":unlock:":{uc_base:"1f513",uc_output:"1f513",uc_match:"1f513-fe0f",uc_greedy:"1f513-fe0f",shortnames:[],category:"objects"},":up:":{uc_base:"1f199",uc_output:"1f199",uc_match:"1f199",uc_greedy:"1f199",shortnames:[],category:"symbols"},":upside_down:":{uc_base:"1f643",uc_output:"1f643",uc_match:"1f643",uc_greedy:"1f643",shortnames:[":upside_down_face:"],category:"people"},":vampire:":{uc_base:"1f9db",uc_output:"1f9db",uc_match:"1f9db",uc_greedy:"1f9db",shortnames:[],category:"people"},":vertical_traffic_light:":{uc_base:"1f6a6",uc_output:"1f6a6",uc_match:"1f6a6",uc_greedy:"1f6a6",shortnames:[],category:"travel"},":vhs:":{uc_base:"1f4fc",uc_output:"1f4fc",uc_match:"1f4fc",uc_greedy:"1f4fc",shortnames:[],category:"objects"},":vibration_mode:":{uc_base:"1f4f3",uc_output:"1f4f3",uc_match:"1f4f3",uc_greedy:"1f4f3",shortnames:[],category:"symbols"},":video_camera:":{uc_base:"1f4f9",uc_output:"1f4f9",uc_match:"1f4f9-fe0f",uc_greedy:"1f4f9-fe0f",shortnames:[],category:"objects"},":video_game:":{uc_base:"1f3ae",uc_output:"1f3ae",uc_match:"1f3ae-fe0f",uc_greedy:"1f3ae-fe0f",shortnames:[],category:"activity"},":violin:":{uc_base:"1f3bb",uc_output:"1f3bb",uc_match:"1f3bb",uc_greedy:"1f3bb",shortnames:[],category:"activity"},":volcano:":{uc_base:"1f30b",uc_output:"1f30b",uc_match:"1f30b",uc_greedy:"1f30b",shortnames:[],category:"travel"},":volleyball:":{uc_base:"1f3d0",uc_output:"1f3d0",uc_match:"1f3d0",uc_greedy:"1f3d0",shortnames:[],category:"activity"},":vs:":{uc_base:"1f19a",uc_output:"1f19a",uc_match:"1f19a",uc_greedy:"1f19a",shortnames:[],category:"symbols"},":vulcan:":{uc_base:"1f596",uc_output:"1f596",uc_match:"1f596",uc_greedy:"1f596",shortnames:[":raised_hand_with_part_between_middle_and_ring_fingers:"],category:"people"},":waning_crescent_moon:":{uc_base:"1f318",uc_output:"1f318",uc_match:"1f318",uc_greedy:"1f318",shortnames:[],category:"nature"},":waning_gibbous_moon:":{uc_base:"1f316",uc_output:"1f316",uc_match:"1f316",uc_greedy:"1f316",shortnames:[],category:"nature"},":wastebasket:":{uc_base:"1f5d1",uc_output:"1f5d1",uc_match:"1f5d1-fe0f",uc_greedy:"1f5d1-fe0f",shortnames:[],category:"objects"},":water_buffalo:":{uc_base:"1f403",uc_output:"1f403",uc_match:"1f403",uc_greedy:"1f403",shortnames:[],category:"nature"},":watermelon:":{uc_base:"1f349",uc_output:"1f349",uc_match:"1f349",uc_greedy:"1f349",shortnames:[],category:"food"},":wave:":{uc_base:"1f44b",uc_output:"1f44b",uc_match:"1f44b",uc_greedy:"1f44b",shortnames:[],category:"people"},":waxing_crescent_moon:":{uc_base:"1f312",uc_output:"1f312",uc_match:"1f312",uc_greedy:"1f312",shortnames:[],category:"nature"},":waxing_gibbous_moon:":{uc_base:"1f314",uc_output:"1f314",uc_match:"1f314",uc_greedy:"1f314",shortnames:[],category:"nature"},":wc:":{uc_base:"1f6be",uc_output:"1f6be",uc_match:"1f6be",uc_greedy:"1f6be",shortnames:[],category:"symbols"},":weary:":{uc_base:"1f629",uc_output:"1f629",uc_match:"1f629",uc_greedy:"1f629",shortnames:[],category:"people"},":wedding:":{uc_base:"1f492",uc_output:"1f492",uc_match:"1f492",uc_greedy:"1f492",shortnames:[],category:"travel"},":whale2:":{uc_base:"1f40b",uc_output:"1f40b",uc_match:"1f40b",uc_greedy:"1f40b",shortnames:[],category:"nature"},":whale:":{uc_base:"1f433",uc_output:"1f433",uc_match:"1f433",uc_greedy:"1f433",shortnames:[],category:"nature"},":white_flower:":{uc_base:"1f4ae",uc_output:"1f4ae",uc_match:"1f4ae",uc_greedy:"1f4ae",shortnames:[],category:"symbols"},":white_haired:":{uc_base:"1f9b3",uc_output:"1f9b3",uc_match:"1f9b3",uc_greedy:"1f9b3",shortnames:[],category:"people"},":white_square_button:":{uc_base:"1f533",uc_output:"1f533",uc_match:"1f533",uc_greedy:"1f533",shortnames:[],category:"symbols"},":white_sun_cloud:":{uc_base:"1f325",uc_output:"1f325",uc_match:"1f325-fe0f",uc_greedy:"1f325-fe0f",shortnames:[":white_sun_behind_cloud:"],category:"nature"},":white_sun_rain_cloud:":{uc_base:"1f326",uc_output:"1f326",uc_match:"1f326-fe0f",uc_greedy:"1f326-fe0f",shortnames:[":white_sun_behind_cloud_with_rain:"],category:"nature"},":white_sun_small_cloud:":{uc_base:"1f324",uc_output:"1f324",uc_match:"1f324-fe0f",uc_greedy:"1f324-fe0f",shortnames:[":white_sun_with_small_cloud:"],category:"nature"},":wilted_rose:":{uc_base:"1f940",uc_output:"1f940",uc_match:"1f940",uc_greedy:"1f940",shortnames:[":wilted_flower:"],category:"nature"},":wind_blowing_face:":{uc_base:"1f32c",uc_output:"1f32c",uc_match:"1f32c-fe0f",uc_greedy:"1f32c-fe0f",shortnames:[],category:"nature"},":wind_chime:":{uc_base:"1f390",uc_output:"1f390",uc_match:"1f390",uc_greedy:"1f390",shortnames:[],category:"objects"},":wine_glass:":{uc_base:"1f377",uc_output:"1f377",uc_match:"1f377",uc_greedy:"1f377",shortnames:[],category:"food"},":wink:":{uc_base:"1f609",uc_output:"1f609",uc_match:"1f609",uc_greedy:"1f609",shortnames:[],category:"people"},":wolf:":{uc_base:"1f43a",uc_output:"1f43a",uc_match:"1f43a",uc_greedy:"1f43a",shortnames:[],category:"nature"},":woman:":{uc_base:"1f469",uc_output:"1f469",uc_match:"1f469",uc_greedy:"1f469",shortnames:[],category:"people"},":woman_with_headscarf:":{uc_base:"1f9d5",uc_output:"1f9d5",uc_match:"1f9d5",uc_greedy:"1f9d5",shortnames:[],category:"people"},":womans_clothes:":{uc_base:"1f45a",uc_output:"1f45a",uc_match:"1f45a",uc_greedy:"1f45a",shortnames:[],category:"people"},":womans_flat_shoe:":{uc_base:"1f97f",uc_output:"1f97f",uc_match:"1f97f",uc_greedy:"1f97f",shortnames:[],category:"people"},":womans_hat:":{uc_base:"1f452",uc_output:"1f452",uc_match:"1f452",uc_greedy:"1f452",shortnames:[],category:"people"},":womens:":{uc_base:"1f6ba",uc_output:"1f6ba",uc_match:"1f6ba-fe0f",uc_greedy:"1f6ba-fe0f",shortnames:[],category:"symbols"},":woozy_face:":{uc_base:"1f974",uc_output:"1f974",uc_match:"1f974",uc_greedy:"1f974",shortnames:[],category:"people"},":worried:":{uc_base:"1f61f",uc_output:"1f61f",uc_match:"1f61f",uc_greedy:"1f61f",shortnames:[],category:"people"},":wrench:":{uc_base:"1f527",uc_output:"1f527",uc_match:"1f527",uc_greedy:"1f527",shortnames:[],category:"objects"},":yarn:":{uc_base:"1f9f6",uc_output:"1f9f6",uc_match:"1f9f6",uc_greedy:"1f9f6",shortnames:[],category:"objects"},":yellow_heart:":{uc_base:"1f49b",uc_output:"1f49b",uc_match:"1f49b",uc_greedy:"1f49b",shortnames:[],category:"symbols"},":yen:":{uc_base:"1f4b4",uc_output:"1f4b4",uc_match:"1f4b4",uc_greedy:"1f4b4",shortnames:[],category:"objects"},":yum:":{uc_base:"1f60b",uc_output:"1f60b",uc_match:"1f60b",uc_greedy:"1f60b",shortnames:[],category:"people"},":zany_face:":{uc_base:"1f92a",uc_output:"1f92a",uc_match:"1f92a",uc_greedy:"1f92a",shortnames:[],category:"people"},":zebra:":{uc_base:"1f993",uc_output:"1f993",uc_match:"1f993",uc_greedy:"1f993",shortnames:[],category:"nature"},":zipper_mouth:":{uc_base:"1f910",uc_output:"1f910",uc_match:"1f910",uc_greedy:"1f910",shortnames:[":zipper_mouth_face:"],category:"people"},":zombie:":{uc_base:"1f9df",uc_output:"1f9df",uc_match:"1f9df",uc_greedy:"1f9df",shortnames:[],category:"people"},":zzz:":{uc_base:"1f4a4",uc_output:"1f4a4",uc_match:"1f4a4",uc_greedy:"1f4a4",shortnames:[],category:"symbols"},":airplane:":{uc_base:"2708",uc_output:"2708",uc_match:"2708-fe0f",uc_greedy:"2708-fe0f",shortnames:[],category:"travel"},":alarm_clock:":{uc_base:"23f0",uc_output:"23f0",uc_match:"23f0",uc_greedy:"23f0",shortnames:[],category:"objects"},":alembic:":{uc_base:"2697",uc_output:"2697",uc_match:"2697-fe0f",uc_greedy:"2697-fe0f",shortnames:[],category:"objects"},":anchor:":{uc_base:"2693",uc_output:"2693",uc_match:"2693-fe0f",uc_greedy:"2693-fe0f",shortnames:[],category:"travel"},":aquarius:":{uc_base:"2652",uc_output:"2652",uc_match:"2652-fe0f",uc_greedy:"2652-fe0f",shortnames:[],category:"symbols"},":aries:":{uc_base:"2648",uc_output:"2648",uc_match:"2648-fe0f",uc_greedy:"2648-fe0f",shortnames:[],category:"symbols"},":arrow_backward:":{uc_base:"25c0",uc_output:"25c0",uc_match:"25c0-fe0f",uc_greedy:"25c0",shortnames:[],category:"symbols"},":arrow_double_down:":{uc_base:"23ec",uc_output:"23ec",uc_match:"23ec",uc_greedy:"23ec",shortnames:[],category:"symbols"},":arrow_double_up:":{uc_base:"23eb",uc_output:"23eb",uc_match:"23eb",uc_greedy:"23eb",shortnames:[],category:"symbols"},":arrow_down:":{uc_base:"2b07",uc_output:"2b07",uc_match:"2b07-fe0f",uc_greedy:"2b07",shortnames:[],category:"symbols"},":arrow_forward:":{uc_base:"25b6",uc_output:"25b6",uc_match:"25b6-fe0f",uc_greedy:"25b6",shortnames:[],category:"symbols"},":arrow_heading_down:":{uc_base:"2935",uc_output:"2935",uc_match:"2935-fe0f",uc_greedy:"2935",shortnames:[],category:"symbols"},":arrow_heading_up:":{uc_base:"2934",uc_output:"2934",uc_match:"2934-fe0f",uc_greedy:"2934",shortnames:[],category:"symbols"},":arrow_left:":{uc_base:"2b05",uc_output:"2b05",uc_match:"2b05-fe0f",uc_greedy:"2b05",shortnames:[],category:"symbols"},":arrow_lower_left:":{uc_base:"2199",uc_output:"2199",uc_match:"2199-fe0f",uc_greedy:"2199",shortnames:[],category:"symbols"},":arrow_lower_right:":{uc_base:"2198",uc_output:"2198",uc_match:"2198-fe0f",uc_greedy:"2198",shortnames:[],category:"symbols"},":arrow_right:":{uc_base:"27a1",uc_output:"27a1",uc_match:"27a1-fe0f",uc_greedy:"27a1",shortnames:[],category:"symbols"},":arrow_right_hook:":{uc_base:"21aa",uc_output:"21aa",uc_match:"21aa-fe0f",uc_greedy:"21aa",shortnames:[],category:"symbols"},":arrow_up:":{uc_base:"2b06",uc_output:"2b06",uc_match:"2b06-fe0f",uc_greedy:"2b06",shortnames:[],category:"symbols"},":arrow_up_down:":{uc_base:"2195",uc_output:"2195",uc_match:"2195-fe0f",uc_greedy:"2195",shortnames:[],category:"symbols"},":arrow_upper_left:":{uc_base:"2196",uc_output:"2196",uc_match:"2196-fe0f",uc_greedy:"2196",shortnames:[],category:"symbols"},":arrow_upper_right:":{uc_base:"2197",uc_output:"2197",uc_match:"2197-fe0f",uc_greedy:"2197",shortnames:[],category:"symbols"},":atom:":{uc_base:"269b",uc_output:"269b",uc_match:"269b-fe0f",uc_greedy:"269b",shortnames:[":atom_symbol:"],category:"symbols"},":ballot_box_with_check:":{uc_base:"2611",uc_output:"2611",uc_match:"2611-fe0f",uc_greedy:"2611",shortnames:[],category:"symbols"},":bangbang:":{uc_base:"203c",uc_output:"203c",uc_match:"203c-fe0f",uc_greedy:"203c",shortnames:[],category:"symbols"},":baseball:":{uc_base:"26be",uc_output:"26be",uc_match:"26be-fe0f",uc_greedy:"26be-fe0f",shortnames:[],category:"activity"},":beach_umbrella:":{uc_base:"26f1",uc_output:"26f1",uc_match:"26f1-fe0f",uc_greedy:"26f1-fe0f",shortnames:[":umbrella_on_ground:"],category:"travel"},":biohazard:":{uc_base:"2623",uc_output:"2623",uc_match:"2623-fe0f",uc_greedy:"2623",shortnames:[":biohazard_sign:"],category:"symbols"},":black_circle:":{uc_base:"26ab",uc_output:"26ab",uc_match:"26ab-fe0f",uc_greedy:"26ab-fe0f",shortnames:[],category:"symbols"},":black_large_square:":{uc_base:"2b1b",uc_output:"2b1b",uc_match:"2b1b-fe0f",uc_greedy:"2b1b-fe0f",shortnames:[],category:"symbols"},":black_medium_small_square:":{uc_base:"25fe",uc_output:"25fe",uc_match:"25fe-fe0f",uc_greedy:"25fe-fe0f",shortnames:[],category:"symbols"},":black_medium_square:":{uc_base:"25fc",uc_output:"25fc",uc_match:"25fc-fe0f",uc_greedy:"25fc",shortnames:[],category:"symbols"},":black_nib:":{uc_base:"2712",uc_output:"2712",uc_match:"2712-fe0f",uc_greedy:"2712-fe0f",shortnames:[],category:"objects"},":black_small_square:":{uc_base:"25aa",uc_output:"25aa",uc_match:"25aa-fe0f",uc_greedy:"25aa",shortnames:[],category:"symbols"},":cancer:":{uc_base:"264b",uc_output:"264b",uc_match:"264b-fe0f",uc_greedy:"264b-fe0f",shortnames:[],category:"symbols"},":capricorn:":{uc_base:"2651",uc_output:"2651",uc_match:"2651-fe0f",uc_greedy:"2651-fe0f",shortnames:[],category:"symbols"},":chains:":{uc_base:"26d3",uc_output:"26d3",uc_match:"26d3-fe0f",uc_greedy:"26d3-fe0f",shortnames:[],category:"objects"},":church:":{uc_base:"26ea",uc_output:"26ea",uc_match:"26ea-fe0f",uc_greedy:"26ea-fe0f",shortnames:[],category:"travel"},":cloud:":{uc_base:"2601",uc_output:"2601",uc_match:"2601-fe0f",uc_greedy:"2601-fe0f",shortnames:[],category:"nature"},":clubs:":{uc_base:"2663",uc_output:"2663",uc_match:"2663-fe0f",uc_greedy:"2663-fe0f",shortnames:[],category:"symbols"},":coffee:":{uc_base:"2615",uc_output:"2615",uc_match:"2615-fe0f",uc_greedy:"2615-fe0f",shortnames:[],category:"food"},":coffin:":{uc_base:"26b0",uc_output:"26b0",uc_match:"26b0-fe0f",uc_greedy:"26b0-fe0f",shortnames:[],category:"objects"},":comet:":{uc_base:"2604",uc_output:"2604",uc_match:"2604-fe0f",uc_greedy:"2604-fe0f",shortnames:[],category:"nature"},":congratulations:":{uc_base:"3297",uc_output:"3297",uc_match:"3297-fe0f",uc_greedy:"3297-fe0f",shortnames:[],category:"symbols"},":cross:":{uc_base:"271d",uc_output:"271d",uc_match:"271d-fe0f",uc_greedy:"271d",shortnames:[":latin_cross:"],category:"symbols"},":crossed_swords:":{uc_base:"2694",uc_output:"2694",uc_match:"2694-fe0f",uc_greedy:"2694-fe0f",shortnames:[],category:"objects"},":curly_loop:":{uc_base:"27b0",uc_output:"27b0",uc_match:"27b0",uc_greedy:"27b0",shortnames:[],category:"symbols"},":diamonds:":{uc_base:"2666",uc_output:"2666",uc_match:"2666-fe0f",uc_greedy:"2666-fe0f",shortnames:[],category:"symbols"},":eight_pointed_black_star:":{uc_base:"2734",uc_output:"2734",uc_match:"2734-fe0f",uc_greedy:"2734-fe0f",shortnames:[],category:"symbols"},":eight_spoked_asterisk:":{uc_base:"2733",uc_output:"2733",uc_match:"2733-fe0f",uc_greedy:"2733-fe0f",shortnames:[],category:"symbols"},":eject:":{uc_base:"23cf",uc_output:"23cf",uc_match:"23cf-fe0f",uc_greedy:"23cf",shortnames:[":eject_symbol:"],category:"symbols"},":envelope:":{uc_base:"2709",uc_output:"2709",uc_match:"2709-fe0f",uc_greedy:"2709-fe0f",shortnames:[],category:"objects"},":exclamation:":{uc_base:"2757",uc_output:"2757",uc_match:"2757-fe0f",uc_greedy:"2757-fe0f",shortnames:[],category:"symbols"},":fast_forward:":{uc_base:"23e9",uc_output:"23e9",uc_match:"23e9-fe0f",uc_greedy:"23e9-fe0f",shortnames:[],category:"symbols"},":female_sign:":{uc_base:"2640",uc_output:"2640",uc_match:"2640-fe0f",uc_greedy:"2640",shortnames:[],category:"symbols"},":ferry:":{uc_base:"26f4",uc_output:"26f4",uc_match:"26f4-fe0f",uc_greedy:"26f4-fe0f",shortnames:[],category:"travel"},":fist:":{uc_base:"270a",uc_output:"270a",uc_match:"270a",uc_greedy:"270a",shortnames:[],category:"people"},":fleur-de-lis:":{uc_base:"269c",uc_output:"269c",uc_match:"269c-fe0f",uc_greedy:"269c-fe0f",shortnames:[],category:"symbols"},":fountain:":{uc_base:"26f2",uc_output:"26f2",uc_match:"26f2-fe0f",uc_greedy:"26f2-fe0f",shortnames:[],category:"travel"},":frowning2:":{uc_base:"2639",uc_output:"2639",uc_match:"2639-fe0f",uc_greedy:"2639-fe0f",shortnames:[":white_frowning_face:"],category:"people"},":fuelpump:":{uc_base:"26fd",uc_output:"26fd",uc_match:"26fd-fe0f",uc_greedy:"26fd-fe0f",shortnames:[],category:"travel"},":gear:":{uc_base:"2699",uc_output:"2699",uc_match:"2699-fe0f",uc_greedy:"2699-fe0f",shortnames:[],category:"objects"},":gemini:":{uc_base:"264a",uc_output:"264a",uc_match:"264a-fe0f",uc_greedy:"264a-fe0f",shortnames:[],category:"symbols"},":golf:":{uc_base:"26f3",uc_output:"26f3",uc_match:"26f3-fe0f",uc_greedy:"26f3-fe0f",shortnames:[],category:"activity"},":grey_exclamation:":{uc_base:"2755",uc_output:"2755",uc_match:"2755",uc_greedy:"2755",shortnames:[],category:"symbols"},":grey_question:":{uc_base:"2754",uc_output:"2754",uc_match:"2754",uc_greedy:"2754",shortnames:[],category:"symbols"},":hammer_pick:":{uc_base:"2692",uc_output:"2692",uc_match:"2692-fe0f",uc_greedy:"2692-fe0f",shortnames:[":hammer_and_pick:"],category:"objects"},":heart:":{uc_base:"2764",uc_output:"2764",uc_match:"2764-fe0f",uc_greedy:"2764-fe0f",shortnames:[],category:"symbols"},":heart_exclamation:":{uc_base:"2763",uc_output:"2763",uc_match:"2763-fe0f",uc_greedy:"2763-fe0f",shortnames:[":heavy_heart_exclamation_mark_ornament:"],category:"symbols"},":hearts:":{uc_base:"2665",uc_output:"2665",uc_match:"2665-fe0f",uc_greedy:"2665-fe0f",shortnames:[],category:"symbols"},":heavy_check_mark:":{uc_base:"2714",uc_output:"2714",uc_match:"2714-fe0f",uc_greedy:"2714",shortnames:[],category:"symbols"},":heavy_division_sign:":{uc_base:"2797",uc_output:"2797",uc_match:"2797",uc_greedy:"2797",shortnames:[],category:"symbols"},":heavy_minus_sign:":{uc_base:"2796",uc_output:"2796",uc_match:"2796",uc_greedy:"2796",shortnames:[],category:"symbols"},":heavy_multiplication_x:":{uc_base:"2716",uc_output:"2716",uc_match:"2716-fe0f",uc_greedy:"2716",shortnames:[],category:"symbols"},":heavy_plus_sign:":{uc_base:"2795",uc_output:"2795",uc_match:"2795",uc_greedy:"2795",shortnames:[],category:"symbols"},":helmet_with_cross:":{uc_base:"26d1",uc_output:"26d1",uc_match:"26d1-fe0f",uc_greedy:"26d1-fe0f",shortnames:[":helmet_with_white_cross:"],category:"people"},":hotsprings:":{uc_base:"2668",uc_output:"2668",uc_match:"2668-fe0f",uc_greedy:"2668-fe0f",shortnames:[],category:"symbols"},":hourglass:":{uc_base:"231b",uc_output:"231b",uc_match:"231b-fe0f",uc_greedy:"231b-fe0f",shortnames:[],category:"objects"},":hourglass_flowing_sand:":{uc_base:"23f3",uc_output:"23f3",uc_match:"23f3-fe0f",uc_greedy:"23f3-fe0f",shortnames:[],category:"objects"},":ice_skate:":{uc_base:"26f8",uc_output:"26f8",uc_match:"26f8-fe0f",uc_greedy:"26f8-fe0f",shortnames:[],category:"activity"},":information_source:":{uc_base:"2139",uc_output:"2139",uc_match:"2139-fe0f",uc_greedy:"2139",shortnames:[],category:"symbols"},":interrobang:":{uc_base:"2049",uc_output:"2049",uc_match:"2049-fe0f",uc_greedy:"2049",shortnames:[],category:"symbols"},":keyboard:":{uc_base:"2328",uc_output:"2328",uc_match:"2328-fe0f",uc_greedy:"2328-fe0f",shortnames:[],category:"objects"},":left_right_arrow:":{uc_base:"2194",uc_output:"2194",uc_match:"2194-fe0f",uc_greedy:"2194",shortnames:[],category:"symbols"},":leftwards_arrow_with_hook:":{uc_base:"21a9",uc_output:"21a9",uc_match:"21a9-fe0f",uc_greedy:"21a9",shortnames:[],category:"symbols"},":leo:":{uc_base:"264c",uc_output:"264c",uc_match:"264c-fe0f",uc_greedy:"264c-fe0f",shortnames:[],category:"symbols"},":libra:":{uc_base:"264e",uc_output:"264e",uc_match:"264e-fe0f",uc_greedy:"264e-fe0f",shortnames:[],category:"symbols"},":loop:":{uc_base:"27bf",uc_output:"27bf",uc_match:"27bf",uc_greedy:"27bf",shortnames:[],category:"symbols"},":m:":{uc_base:"24c2",uc_output:"24c2",uc_match:"24c2-fe0f",uc_greedy:"24c2-fe0f",shortnames:[],category:"symbols"},":male_sign:":{uc_base:"2642",uc_output:"2642",uc_match:"2642-fe0f",uc_greedy:"2642",shortnames:[],category:"symbols"},":medical_symbol:":{uc_base:"2695",uc_output:"2695",uc_match:"2695-fe0f",uc_greedy:"2695",shortnames:[],category:"symbols"},":mountain:":{uc_base:"26f0",uc_output:"26f0",uc_match:"26f0-fe0f",uc_greedy:"26f0-fe0f",shortnames:[],category:"travel"},":negative_squared_cross_mark:":{uc_base:"274e",uc_output:"274e",uc_match:"274e",uc_greedy:"274e",shortnames:[],category:"symbols"},":no_entry:":{uc_base:"26d4",uc_output:"26d4",uc_match:"26d4-fe0f",uc_greedy:"26d4-fe0f",shortnames:[],category:"symbols"},":o:":{uc_base:"2b55",uc_output:"2b55",uc_match:"2b55-fe0f",uc_greedy:"2b55-fe0f",shortnames:[],category:"symbols"},":ophiuchus:":{uc_base:"26ce",uc_output:"26ce",uc_match:"26ce",uc_greedy:"26ce",shortnames:[],category:"symbols"},":orthodox_cross:":{uc_base:"2626",uc_output:"2626",uc_match:"2626-fe0f",uc_greedy:"2626",shortnames:[],category:"symbols"},":part_alternation_mark:":{uc_base:"303d",uc_output:"303d",uc_match:"303d-fe0f",uc_greedy:"303d-fe0f",shortnames:[],category:"symbols"},":partly_sunny:":{uc_base:"26c5",uc_output:"26c5",uc_match:"26c5-fe0f",uc_greedy:"26c5-fe0f",shortnames:[],category:"nature"},":pause_button:":{uc_base:"23f8",uc_output:"23f8",uc_match:"23f8-fe0f",uc_greedy:"23f8",shortnames:[":double_vertical_bar:"],category:"symbols"},":peace:":{uc_base:"262e",uc_output:"262e",uc_match:"262e-fe0f",uc_greedy:"262e",shortnames:[":peace_symbol:"],category:"symbols"},":pencil2:":{uc_base:"270f",uc_output:"270f",uc_match:"270f-fe0f",uc_greedy:"270f-fe0f",shortnames:[],category:"objects"},":person_bouncing_ball:":{uc_base:"26f9",uc_output:"26f9",uc_match:"26f9-fe0f",uc_greedy:"26f9-fe0f",shortnames:[":basketball_player:",":person_with_ball:"],category:"activity"},":pick:":{uc_base:"26cf",uc_output:"26cf",uc_match:"26cf-fe0f",uc_greedy:"26cf-fe0f",shortnames:[],category:"objects"},":pisces:":{uc_base:"2653",uc_output:"2653",uc_match:"2653-fe0f",uc_greedy:"2653-fe0f",shortnames:[],category:"symbols"},":play_pause:":{uc_base:"23ef",uc_output:"23ef",uc_match:"23ef-fe0f",uc_greedy:"23ef",shortnames:[],category:"symbols"},":point_up:":{uc_base:"261d",uc_output:"261d",uc_match:"261d-fe0f",uc_greedy:"261d-fe0f",shortnames:[],category:"people"},":question:":{uc_base:"2753",uc_output:"2753",uc_match:"2753-fe0f",uc_greedy:"2753-fe0f",shortnames:[],category:"symbols"},":radioactive:":{uc_base:"2622",uc_output:"2622",uc_match:"2622-fe0f",uc_greedy:"2622",shortnames:[":radioactive_sign:"],category:"symbols"},":raised_hand:":{uc_base:"270b",uc_output:"270b",uc_match:"270b",uc_greedy:"270b",shortnames:[],category:"people"},":record_button:":{uc_base:"23fa",uc_output:"23fa",uc_match:"23fa-fe0f",uc_greedy:"23fa",shortnames:[],category:"symbols"},":recycle:":{uc_base:"267b",uc_output:"267b",uc_match:"267b-fe0f",uc_greedy:"267b-fe0f",shortnames:[],category:"symbols"},":relaxed:":{uc_base:"263a",uc_output:"263a",uc_match:"263a-fe0f",uc_greedy:"263a-fe0f",shortnames:[],category:"people"},":rewind:":{uc_base:"23ea",uc_output:"23ea",uc_match:"23ea-fe0f",uc_greedy:"23ea-fe0f",shortnames:[],category:"symbols"},":sagittarius:":{uc_base:"2650",uc_output:"2650",uc_match:"2650-fe0f",uc_greedy:"2650-fe0f",shortnames:[],category:"symbols"},":sailboat:":{uc_base:"26f5",uc_output:"26f5",uc_match:"26f5-fe0f",uc_greedy:"26f5-fe0f",shortnames:[],category:"travel"},":scales:":{uc_base:"2696",uc_output:"2696",uc_match:"2696-fe0f",uc_greedy:"2696-fe0f",shortnames:[],category:"objects"},":scissors:":{uc_base:"2702",uc_output:"2702",uc_match:"2702-fe0f",uc_greedy:"2702-fe0f",shortnames:[],category:"objects"},":scorpius:":{uc_base:"264f",uc_output:"264f",uc_match:"264f-fe0f",uc_greedy:"264f-fe0f",shortnames:[],category:"symbols"},":secret:":{uc_base:"3299",uc_output:"3299",uc_match:"3299-fe0f",uc_greedy:"3299-fe0f",shortnames:[],category:"symbols"},":shamrock:":{uc_base:"2618",uc_output:"2618",uc_match:"2618-fe0f",uc_greedy:"2618-fe0f",shortnames:[],category:"nature"},":shinto_shrine:":{uc_base:"26e9",uc_output:"26e9",uc_match:"26e9-fe0f",uc_greedy:"26e9-fe0f",shortnames:[],category:"travel"},":skier:":{uc_base:"26f7",uc_output:"26f7",uc_match:"26f7-fe0f",uc_greedy:"26f7-fe0f",shortnames:[],category:"activity"},":skull_crossbones:":{uc_base:"2620",uc_output:"2620",uc_match:"2620-fe0f",uc_greedy:"2620-fe0f",shortnames:[":skull_and_crossbones:"],category:"people"},":snowflake:":{uc_base:"2744",uc_output:"2744",uc_match:"2744-fe0f",uc_greedy:"2744-fe0f",shortnames:[],category:"nature"},":snowman2:":{uc_base:"2603",uc_output:"2603",uc_match:"2603-fe0f",uc_greedy:"2603-fe0f",shortnames:[],category:"nature"},":snowman:":{uc_base:"26c4",uc_output:"26c4",uc_match:"26c4-fe0f",uc_greedy:"26c4-fe0f",shortnames:[],category:"nature"},":soccer:":{uc_base:"26bd",uc_output:"26bd",uc_match:"26bd-fe0f",uc_greedy:"26bd-fe0f",shortnames:[],category:"activity"},":spades:":{uc_base:"2660",uc_output:"2660",uc_match:"2660-fe0f",uc_greedy:"2660-fe0f",shortnames:[],category:"symbols"},":sparkle:":{uc_base:"2747",uc_output:"2747",uc_match:"2747-fe0f",uc_greedy:"2747-fe0f",shortnames:[],category:"symbols"},":sparkles:":{uc_base:"2728",uc_output:"2728",uc_match:"2728",uc_greedy:"2728",shortnames:[],category:"nature"},":star:":{uc_base:"2b50",uc_output:"2b50",uc_match:"2b50-fe0f",uc_greedy:"2b50-fe0f",shortnames:[],category:"nature"},":star_and_crescent:":{uc_base:"262a",uc_output:"262a",uc_match:"262a-fe0f",uc_greedy:"262a",shortnames:[],category:"symbols"},":star_of_david:":{uc_base:"2721",uc_output:"2721",uc_match:"2721-fe0f",uc_greedy:"2721",shortnames:[],category:"symbols"},":stop_button:":{uc_base:"23f9",uc_output:"23f9",uc_match:"23f9-fe0f",uc_greedy:"23f9",shortnames:[],category:"symbols"},":stopwatch:":{uc_base:"23f1",uc_output:"23f1",uc_match:"23f1-fe0f",uc_greedy:"23f1-fe0f",shortnames:[],category:"objects"},":sunny:":{uc_base:"2600",uc_output:"2600",uc_match:"2600-fe0f",uc_greedy:"2600-fe0f",shortnames:[],category:"nature"},":taurus:":{uc_base:"2649",uc_output:"2649",uc_match:"2649-fe0f",uc_greedy:"2649-fe0f",shortnames:[],category:"symbols"},":telephone:":{uc_base:"260e",uc_output:"260e",uc_match:"260e-fe0f",uc_greedy:"260e-fe0f",shortnames:[],category:"objects"},":tent:":{uc_base:"26fa",uc_output:"26fa",uc_match:"26fa-fe0f",uc_greedy:"26fa-fe0f",shortnames:[],category:"travel"},":thunder_cloud_rain:":{uc_base:"26c8",uc_output:"26c8",uc_match:"26c8-fe0f",uc_greedy:"26c8-fe0f",shortnames:[":thunder_cloud_and_rain:"],category:"nature"},":timer:":{uc_base:"23f2",uc_output:"23f2",uc_match:"23f2-fe0f",uc_greedy:"23f2-fe0f",shortnames:[":timer_clock:"],category:"objects"},":track_next:":{uc_base:"23ed",uc_output:"23ed",uc_match:"23ed-fe0f",uc_greedy:"23ed",shortnames:[":next_track:"],category:"symbols"},":track_previous:":{uc_base:"23ee",uc_output:"23ee",uc_match:"23ee-fe0f",uc_greedy:"23ee",shortnames:[":previous_track:"],category:"symbols"},":umbrella2:":{uc_base:"2602",uc_output:"2602",uc_match:"2602-fe0f",uc_greedy:"2602-fe0f",shortnames:[],category:"nature"},":umbrella:":{uc_base:"2614",uc_output:"2614",uc_match:"2614-fe0f",uc_greedy:"2614-fe0f",shortnames:[],category:"nature"},":urn:":{uc_base:"26b1",uc_output:"26b1",uc_match:"26b1-fe0f",uc_greedy:"26b1-fe0f",shortnames:[":funeral_urn:"],category:"objects"},":v:":{uc_base:"270c",uc_output:"270c",uc_match:"270c-fe0f",uc_greedy:"270c-fe0f",shortnames:[],category:"people"},":virgo:":{uc_base:"264d",uc_output:"264d",uc_match:"264d-fe0f",uc_greedy:"264d-fe0f",shortnames:[],category:"symbols"},":warning:":{uc_base:"26a0",uc_output:"26a0",uc_match:"26a0-fe0f",uc_greedy:"26a0",shortnames:[],category:"symbols"},":watch:":{uc_base:"231a",uc_output:"231a",uc_match:"231a-fe0f",uc_greedy:"231a-fe0f",shortnames:[],category:"objects"},":wavy_dash:":{uc_base:"3030",uc_output:"3030",uc_match:"3030-fe0f",uc_greedy:"3030",shortnames:[],category:"symbols"},":wheel_of_dharma:":{uc_base:"2638",uc_output:"2638",uc_match:"2638-fe0f",uc_greedy:"2638",shortnames:[],category:"symbols"},":wheelchair:":{uc_base:"267f",uc_output:"267f",uc_match:"267f-fe0f",uc_greedy:"267f-fe0f",shortnames:[],category:"symbols"},":white_check_mark:":{uc_base:"2705",uc_output:"2705",uc_match:"2705",uc_greedy:"2705",shortnames:[],category:"symbols"},":white_circle:":{uc_base:"26aa",uc_output:"26aa",uc_match:"26aa-fe0f",uc_greedy:"26aa-fe0f",shortnames:[],category:"symbols"},":white_large_square:":{uc_base:"2b1c",uc_output:"2b1c",uc_match:"2b1c-fe0f",uc_greedy:"2b1c-fe0f",shortnames:[],category:"symbols"},":white_medium_small_square:":{uc_base:"25fd",uc_output:"25fd",uc_match:"25fd-fe0f",uc_greedy:"25fd-fe0f",shortnames:[],category:"symbols"},":white_medium_square:":{uc_base:"25fb",uc_output:"25fb",uc_match:"25fb-fe0f",uc_greedy:"25fb",shortnames:[],category:"symbols"},":white_small_square:":{uc_base:"25ab",uc_output:"25ab",uc_match:"25ab-fe0f",uc_greedy:"25ab",shortnames:[],category:"symbols"},":writing_hand:":{uc_base:"270d",uc_output:"270d",uc_match:"270d-fe0f",uc_greedy:"270d-fe0f",shortnames:[],category:"people"},":x:":{uc_base:"274c",uc_output:"274c",uc_match:"274c",uc_greedy:"274c",shortnames:[],category:"symbols"},":yin_yang:":{uc_base:"262f",uc_output:"262f",uc_match:"262f-fe0f",uc_greedy:"262f",shortnames:[],category:"symbols"},":zap:":{uc_base:"26a1",uc_output:"26a1",uc_match:"26a1-fe0f",uc_greedy:"26a1-fe0f",shortnames:[],category:"nature"}};var t,e=[];for(t in d.emojioneList)if(d.emojioneList.hasOwnProperty(t)&&""!==t){e.push(t.replace(/[+]/g,"\\$&"));for(var n=0;n<d.emojioneList[t].shortnames.length;n++)e.push(d.emojioneList[t].shortnames[n].replace(/[+]/g,"\\$&"))}d.shortnames=e.join("|"),d.jsEscapeMap={"👩\200d❤️\200d💋\200d👩":"1f469-2764-1f48b-1f469","👨\200d❤️\200d💋\200d👨":"1f468-2764-1f48b-1f468","👩\200d❤️\200d💋\200d👨":"1f469-2764-1f48b-1f468","🏴\e0067\e0062\e0065\e006e\e0067\e007f":"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f","🏴\e0067\e0062\e0073\e0063\e0074\e007f":"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f","🏴\e0067\e0062\e0077\e006c\e0073\e007f":"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f","👨\200d👨\200d👦\200d👦":"1f468-1f468-1f466-1f466","👨\200d👨\200d👧\200d👦":"1f468-1f468-1f467-1f466","👨\200d👨\200d👧\200d👧":"1f468-1f468-1f467-1f467","👨\200d👩\200d👦\200d👦":"1f468-1f469-1f466-1f466","👨\200d👩\200d👧\200d👦":"1f468-1f469-1f467-1f466","👨\200d👩\200d👧\200d👧":"1f468-1f469-1f467-1f467","👩\200d👩\200d👦\200d👦":"1f469-1f469-1f466-1f466","👩\200d👩\200d👧\200d👦":"1f469-1f469-1f467-1f466","👩\200d👩\200d👧\200d👧":"1f469-1f469-1f467-1f467","👨\200d❤\200d💋\200d👨":"1f468-2764-1f48b-1f468","👩\200d❤\200d💋\200d👨":"1f469-2764-1f48b-1f468","👩\200d❤\200d💋\200d👩":"1f469-2764-1f48b-1f469","👩\200d❤️\200d👩":"1f469-2764-1f469","👨\200d❤️\200d👨":"1f468-2764-1f468","👩\200d❤️\200d👨":"1f469-2764-1f468","🕵️🏻\200d♀️":"1f575-1f3fb-2640","🕵️🏻\200d♂️":"1f575-1f3fb-2642","🕵️🏼\200d♀️":"1f575-1f3fc-2640","🕵️🏼\200d♂️":"1f575-1f3fc-2642","🕵️🏽\200d♀️":"1f575-1f3fd-2640","🕵️🏽\200d♂️":"1f575-1f3fd-2642","🕵️🏾\200d♀️":"1f575-1f3fe-2640","🕵️🏾\200d♂️":"1f575-1f3fe-2642","🕵️🏿\200d♀️":"1f575-1f3ff-2640","🕵️🏿\200d♂️":"1f575-1f3ff-2642","🏋️🏻\200d♀️":"1f3cb-1f3fb-2640","🏋️🏻\200d♂️":"1f3cb-1f3fb-2642","🏋️🏼\200d♀️":"1f3cb-1f3fc-2640","🏋️🏼\200d♂️":"1f3cb-1f3fc-2642","🏋️🏽\200d♀️":"1f3cb-1f3fd-2640","🏋️🏽\200d♂️":"1f3cb-1f3fd-2642","🏋️🏾\200d♀️":"1f3cb-1f3fe-2640","🏋️🏾\200d♂️":"1f3cb-1f3fe-2642","🏋️🏿\200d♀️":"1f3cb-1f3ff-2640","🏋️🏿\200d♂️":"1f3cb-1f3ff-2642","🏌️🏻\200d♀️":"1f3cc-1f3fb-2640","🏌️🏻\200d♂️":"1f3cc-1f3fb-2642","🏌️🏼\200d♀️":"1f3cc-1f3fc-2640","🏌️🏼\200d♂️":"1f3cc-1f3fc-2642","🏌️🏽\200d♀️":"1f3cc-1f3fd-2640","🏌️🏽\200d♂️":"1f3cc-1f3fd-2642","🏌️🏾\200d♀️":"1f3cc-1f3fe-2640","🏌️🏾\200d♂️":"1f3cc-1f3fe-2642","🏌️🏿\200d♀️":"1f3cc-1f3ff-2640","🏌️🏿\200d♂️":"1f3cc-1f3ff-2642","⛹️🏻\200d♀️":"26f9-1f3fb-2640","⛹️🏻\200d♂️":"26f9-1f3fb-2642","⛹️🏼\200d♀️":"26f9-1f3fc-2640","⛹️🏼\200d♂️":"26f9-1f3fc-2642","⛹️🏽\200d♀️":"26f9-1f3fd-2640","⛹️🏽\200d♂️":"26f9-1f3fd-2642","⛹️🏾\200d♀️":"26f9-1f3fe-2640","⛹️🏾\200d♂️":"26f9-1f3fe-2642","⛹️🏿\200d♀️":"26f9-1f3ff-2640","⛹️🏿\200d♂️":"26f9-1f3ff-2642","👨\200d👨\200d👦":"1f468-1f468-1f466","👨\200d👨\200d👧":"1f468-1f468-1f467","👨\200d👩\200d👧":"1f468-1f469-1f467","👩\200d👩\200d👦":"1f469-1f469-1f466","👩\200d👩\200d👧":"1f469-1f469-1f467","👨\200d👦\200d👦":"1f468-1f466-1f466","👨\200d👧\200d👦":"1f468-1f467-1f466","👩\200d👦\200d👦":"1f469-1f466-1f466","👩\200d👧\200d👦":"1f469-1f467-1f466","👩\200d👧\200d👧":"1f469-1f467-1f467","👨❤️💋👨":"1f468-2764-1f48b-1f468","👨\200d👧\200d👧":"1f468-1f467-1f467","👨\200d👩\200d👦":"1f468-1f469-1f466","👩❤️💋👨":"1f469-2764-1f48b-1f468","👩❤️💋👩":"1f469-2764-1f48b-1f469","👨\200d❤\200d👨":"1f468-2764-1f468","👩\200d❤\200d👨":"1f469-2764-1f468","👩\200d❤\200d👩":"1f469-2764-1f469","👨🏻\200d⚕️":"1f468-1f3fb-2695","👨🏻\200d⚖️":"1f468-1f3fb-2696","👨🏻\200d✈️":"1f468-1f3fb-2708","👨🏼\200d⚕️":"1f468-1f3fc-2695","👨🏼\200d⚖️":"1f468-1f3fc-2696","👨🏼\200d✈️":"1f468-1f3fc-2708","👨🏽\200d⚕️":"1f468-1f3fd-2695","👨🏽\200d⚖️":"1f468-1f3fd-2696","👨🏽\200d✈️":"1f468-1f3fd-2708","👨🏾\200d⚕️":"1f468-1f3fe-2695","👨🏾\200d⚖️":"1f468-1f3fe-2696","👨🏾\200d✈️":"1f468-1f3fe-2708","👨🏿\200d⚕️":"1f468-1f3ff-2695","👨🏿\200d⚖️":"1f468-1f3ff-2696","👨🏿\200d✈️":"1f468-1f3ff-2708","👩🏻\200d⚕️":"1f469-1f3fb-2695","👩🏻\200d⚖️":"1f469-1f3fb-2696","👩🏻\200d✈️":"1f469-1f3fb-2708","👩🏼\200d⚕️":"1f469-1f3fc-2695","👩🏼\200d⚖️":"1f469-1f3fc-2696","👩🏼\200d✈️":"1f469-1f3fc-2708","👩🏽\200d⚕️":"1f469-1f3fd-2695","👩🏽\200d⚖️":"1f469-1f3fd-2696","👩🏽\200d✈️":"1f469-1f3fd-2708","👩🏾\200d⚕️":"1f469-1f3fe-2695","👩🏾\200d⚖️":"1f469-1f3fe-2696","👩🏾\200d✈️":"1f469-1f3fe-2708","👩🏿\200d⚕️":"1f469-1f3ff-2695","👩🏿\200d⚖️":"1f469-1f3ff-2696","👩🏿\200d✈️":"1f469-1f3ff-2708","👮🏻\200d♀️":"1f46e-1f3fb-2640","👮🏻\200d♂️":"1f46e-1f3fb-2642","👮🏼\200d♀️":"1f46e-1f3fc-2640","👮🏼\200d♂️":"1f46e-1f3fc-2642","👮🏽\200d♀️":"1f46e-1f3fd-2640","👮🏽\200d♂️":"1f46e-1f3fd-2642","👮🏾\200d♀️":"1f46e-1f3fe-2640","👮🏾\200d♂️":"1f46e-1f3fe-2642","👮🏿\200d♀️":"1f46e-1f3ff-2640","👮🏿\200d♂️":"1f46e-1f3ff-2642","👱🏻\200d♀️":"1f471-1f3fb-2640","👱🏻\200d♂️":"1f471-1f3fb-2642","👱🏼\200d♀️":"1f471-1f3fc-2640","👱🏼\200d♂️":"1f471-1f3fc-2642","👱🏽\200d♀️":"1f471-1f3fd-2640","👱🏽\200d♂️":"1f471-1f3fd-2642","👱🏾\200d♀️":"1f471-1f3fe-2640","👱🏾\200d♂️":"1f471-1f3fe-2642","👱🏿\200d♀️":"1f471-1f3ff-2640","👱🏿\200d♂️":"1f471-1f3ff-2642","👳🏻\200d♀️":"1f473-1f3fb-2640","👳🏻\200d♂️":"1f473-1f3fb-2642","👳🏼\200d♀️":"1f473-1f3fc-2640","👳🏼\200d♂️":"1f473-1f3fc-2642","👳🏽\200d♀️":"1f473-1f3fd-2640","👳🏽\200d♂️":"1f473-1f3fd-2642","👳🏾\200d♀️":"1f473-1f3fe-2640","👳🏾\200d♂️":"1f473-1f3fe-2642","👳🏿\200d♀️":"1f473-1f3ff-2640","👳🏿\200d♂️":"1f473-1f3ff-2642","👷🏻\200d♀️":"1f477-1f3fb-2640","👷🏻\200d♂️":"1f477-1f3fb-2642","👷🏼\200d♀️":"1f477-1f3fc-2640","👷🏼\200d♂️":"1f477-1f3fc-2642","👷🏽\200d♀️":"1f477-1f3fd-2640","👷🏽\200d♂️":"1f477-1f3fd-2642","👷🏾\200d♀️":"1f477-1f3fe-2640","👷🏾\200d♂️":"1f477-1f3fe-2642","👷🏿\200d♀️":"1f477-1f3ff-2640","👷🏿\200d♂️":"1f477-1f3ff-2642","💂🏻\200d♀️":"1f482-1f3fb-2640","💂🏻\200d♂️":"1f482-1f3fb-2642","💂🏼\200d♀️":"1f482-1f3fc-2640","💂🏼\200d♂️":"1f482-1f3fc-2642","💂🏽\200d♀️":"1f482-1f3fd-2640","💂🏽\200d♂️":"1f482-1f3fd-2642","💂🏾\200d♀️":"1f482-1f3fe-2640","💂🏾\200d♂️":"1f482-1f3fe-2642","💂🏿\200d♀️":"1f482-1f3ff-2640","💂🏿\200d♂️":"1f482-1f3ff-2642","🕵️🏻♀️":"1f575-1f3fb-2640","🕵️🏻♂️":"1f575-1f3fb-2642","🕵️🏼♀️":"1f575-1f3fc-2640","🕵️🏼♂️":"1f575-1f3fc-2642","🕵️🏽♀️":"1f575-1f3fd-2640","🕵️🏽♂️":"1f575-1f3fd-2642","🕵️🏾♀️":"1f575-1f3fe-2640","🕵️🏾♂️":"1f575-1f3fe-2642","🕵️🏿♀️":"1f575-1f3ff-2640","🕵️🏿♂️":"1f575-1f3ff-2642","🏃🏻\200d♀️":"1f3c3-1f3fb-2640","🏃🏻\200d♂️":"1f3c3-1f3fb-2642","🏃🏼\200d♀️":"1f3c3-1f3fc-2640","🏃🏼\200d♂️":"1f3c3-1f3fc-2642","🏃🏽\200d♀️":"1f3c3-1f3fd-2640","🏃🏽\200d♂️":"1f3c3-1f3fd-2642","🏃🏾\200d♀️":"1f3c3-1f3fe-2640","🏃🏾\200d♂️":"1f3c3-1f3fe-2642","🏃🏿\200d♀️":"1f3c3-1f3ff-2640","🏃🏿\200d♂️":"1f3c3-1f3ff-2642","🏄🏻\200d♀️":"1f3c4-1f3fb-2640","🏄🏻\200d♂️":"1f3c4-1f3fb-2642","🏄🏼\200d♀️":"1f3c4-1f3fc-2640","🏄🏼\200d♂️":"1f3c4-1f3fc-2642","🏄🏽\200d♀️":"1f3c4-1f3fd-2640","🏄🏽\200d♂️":"1f3c4-1f3fd-2642","🏄🏾\200d♀️":"1f3c4-1f3fe-2640","🏄🏾\200d♂️":"1f3c4-1f3fe-2642","🏄🏿\200d♀️":"1f3c4-1f3ff-2640","🏄🏿\200d♂️":"1f3c4-1f3ff-2642","🏊🏻\200d♀️":"1f3ca-1f3fb-2640","🏊🏻\200d♂️":"1f3ca-1f3fb-2642","🏊🏼\200d♀️":"1f3ca-1f3fc-2640","🏊🏼\200d♂️":"1f3ca-1f3fc-2642","🏊🏽\200d♀️":"1f3ca-1f3fd-2640","🏊🏽\200d♂️":"1f3ca-1f3fd-2642","🏊🏾\200d♀️":"1f3ca-1f3fe-2640","🏊🏾\200d♂️":"1f3ca-1f3fe-2642","🏊🏿\200d♀️":"1f3ca-1f3ff-2640","🏊🏿\200d♂️":"1f3ca-1f3ff-2642","🏋️🏻♀️":"1f3cb-1f3fb-2640","🏋️🏻♂️":"1f3cb-1f3fb-2642","🏋️🏼♀️":"1f3cb-1f3fc-2640","🏋️🏼♂️":"1f3cb-1f3fc-2642","🏋️🏽♀️":"1f3cb-1f3fd-2640","🏋️🏽♂️":"1f3cb-1f3fd-2642","🏋️🏾♀️":"1f3cb-1f3fe-2640","🏋️🏾♂️":"1f3cb-1f3fe-2642","🏋️🏿♀️":"1f3cb-1f3ff-2640","🏋️🏿♂️":"1f3cb-1f3ff-2642","🏌️🏻♀️":"1f3cc-1f3fb-2640","🏌️🏻♂️":"1f3cc-1f3fb-2642","🏌️🏼♀️":"1f3cc-1f3fc-2640","🏌️🏼♂️":"1f3cc-1f3fc-2642","🏌️🏽♀️":"1f3cc-1f3fd-2640","🏌️🏽♂️":"1f3cc-1f3fd-2642","🏌️🏾♀️":"1f3cc-1f3fe-2640","🏌️🏾♂️":"1f3cc-1f3fe-2642","🏌️🏿♀️":"1f3cc-1f3ff-2640","🏌️🏿♂️":"1f3cc-1f3ff-2642","💆🏻\200d♀️":"1f486-1f3fb-2640","💆🏻\200d♂️":"1f486-1f3fb-2642","💆🏼\200d♀️":"1f486-1f3fc-2640","💆🏼\200d♂️":"1f486-1f3fc-2642","💆🏽\200d♀️":"1f486-1f3fd-2640","💆🏽\200d♂️":"1f486-1f3fd-2642","💆🏾\200d♀️":"1f486-1f3fe-2640","💆🏾\200d♂️":"1f486-1f3fe-2642","💆🏿\200d♀️":"1f486-1f3ff-2640","💆🏿\200d♂️":"1f486-1f3ff-2642","💇🏻\200d♀️":"1f487-1f3fb-2640","💇🏻\200d♂️":"1f487-1f3fb-2642","💇🏼\200d♀️":"1f487-1f3fc-2640","💇🏼\200d♂️":"1f487-1f3fc-2642","💇🏽\200d♀️":"1f487-1f3fd-2640","💇🏽\200d♂️":"1f487-1f3fd-2642","💇🏾\200d♀️":"1f487-1f3fe-2640","💇🏾\200d♂️":"1f487-1f3fe-2642","💇🏿\200d♀️":"1f487-1f3ff-2640","💇🏿\200d♂️":"1f487-1f3ff-2642","🚣🏻\200d♀️":"1f6a3-1f3fb-2640","🚣🏻\200d♂️":"1f6a3-1f3fb-2642","🚣🏼\200d♀️":"1f6a3-1f3fc-2640","🚣🏼\200d♂️":"1f6a3-1f3fc-2642","🚣🏽\200d♀️":"1f6a3-1f3fd-2640","🚣🏽\200d♂️":"1f6a3-1f3fd-2642","🚣🏾\200d♀️":"1f6a3-1f3fe-2640","🚣🏾\200d♂️":"1f6a3-1f3fe-2642","🚣🏿\200d♀️":"1f6a3-1f3ff-2640","🚣🏿\200d♂️":"1f6a3-1f3ff-2642","🚴🏻\200d♀️":"1f6b4-1f3fb-2640","🚴🏻\200d♂️":"1f6b4-1f3fb-2642","🚴🏼\200d♀️":"1f6b4-1f3fc-2640","🚴🏼\200d♂️":"1f6b4-1f3fc-2642","🚴🏽\200d♀️":"1f6b4-1f3fd-2640","🚴🏽\200d♂️":"1f6b4-1f3fd-2642","🚴🏾\200d♀️":"1f6b4-1f3fe-2640","🚴🏾\200d♂️":"1f6b4-1f3fe-2642","🚴🏿\200d♀️":"1f6b4-1f3ff-2640","🚴🏿\200d♂️":"1f6b4-1f3ff-2642","🚵🏻\200d♀️":"1f6b5-1f3fb-2640","🚵🏻\200d♂️":"1f6b5-1f3fb-2642","🚵🏼\200d♀️":"1f6b5-1f3fc-2640","🚵🏼\200d♂️":"1f6b5-1f3fc-2642","🚵🏽\200d♀️":"1f6b5-1f3fd-2640","🚵🏽\200d♂️":"1f6b5-1f3fd-2642","🚵🏾\200d♀️":"1f6b5-1f3fe-2640","🚵🏾\200d♂️":"1f6b5-1f3fe-2642","🚵🏿\200d♀️":"1f6b5-1f3ff-2640","🚵🏿\200d♂️":"1f6b5-1f3ff-2642","🚶🏻\200d♀️":"1f6b6-1f3fb-2640","🚶🏻\200d♂️":"1f6b6-1f3fb-2642","🚶🏼\200d♀️":"1f6b6-1f3fc-2640","🚶🏼\200d♂️":"1f6b6-1f3fc-2642","🚶🏽\200d♀️":"1f6b6-1f3fd-2640","🚶🏽\200d♂️":"1f6b6-1f3fd-2642","🚶🏾\200d♀️":"1f6b6-1f3fe-2640","🚶🏾\200d♂️":"1f6b6-1f3fe-2642","🚶🏿\200d♀️":"1f6b6-1f3ff-2640","🚶🏿\200d♂️":"1f6b6-1f3ff-2642","🤸🏻\200d♀️":"1f938-1f3fb-2640","🤸🏻\200d♂️":"1f938-1f3fb-2642","🤸🏼\200d♀️":"1f938-1f3fc-2640","🤸🏼\200d♂️":"1f938-1f3fc-2642","🤸🏽\200d♀️":"1f938-1f3fd-2640","🤸🏽\200d♂️":"1f938-1f3fd-2642","🤸🏾\200d♀️":"1f938-1f3fe-2640","🤸🏾\200d♂️":"1f938-1f3fe-2642","🤸🏿\200d♀️":"1f938-1f3ff-2640","🤸🏿\200d♂️":"1f938-1f3ff-2642","🤹🏻\200d♀️":"1f939-1f3fb-2640","🤹🏻\200d♂️":"1f939-1f3fb-2642","🤹🏼\200d♀️":"1f939-1f3fc-2640","🤹🏼\200d♂️":"1f939-1f3fc-2642","🤹🏽\200d♀️":"1f939-1f3fd-2640","🤹🏽\200d♂️":"1f939-1f3fd-2642","🤹🏾\200d♀️":"1f939-1f3fe-2640","🤹🏾\200d♂️":"1f939-1f3fe-2642","🤹🏿\200d♀️":"1f939-1f3ff-2640","🤹🏿\200d♂️":"1f939-1f3ff-2642","🤽🏻\200d♀️":"1f93d-1f3fb-2640","🤽🏻\200d♂️":"1f93d-1f3fb-2642","🤽🏼\200d♀️":"1f93d-1f3fc-2640","🤽🏼\200d♂️":"1f93d-1f3fc-2642","🤽🏽\200d♀️":"1f93d-1f3fd-2640","🤽🏽\200d♂️":"1f93d-1f3fd-2642","🤽🏾\200d♀️":"1f93d-1f3fe-2640","🤽🏾\200d♂️":"1f93d-1f3fe-2642","🤽🏿\200d♀️":"1f93d-1f3ff-2640","🤽🏿\200d♂️":"1f93d-1f3ff-2642","🤾🏻\200d♀️":"1f93e-1f3fb-2640","🤾🏻\200d♂️":"1f93e-1f3fb-2642","🤾🏼\200d♀️":"1f93e-1f3fc-2640","🤾🏼\200d♂️":"1f93e-1f3fc-2642","🤾🏽\200d♀️":"1f93e-1f3fd-2640","🤾🏽\200d♂️":"1f93e-1f3fd-2642","🤾🏾\200d♀️":"1f93e-1f3fe-2640","🤾🏾\200d♂️":"1f93e-1f3fe-2642","🤾🏿\200d♀️":"1f93e-1f3ff-2640","🤾🏿\200d♂️":"1f93e-1f3ff-2642","💁🏻\200d♀️":"1f481-1f3fb-2640","💁🏻\200d♂️":"1f481-1f3fb-2642","💁🏼\200d♀️":"1f481-1f3fc-2640","💁🏼\200d♂️":"1f481-1f3fc-2642","💁🏽\200d♀️":"1f481-1f3fd-2640","💁🏽\200d♂️":"1f481-1f3fd-2642","💁🏾\200d♀️":"1f481-1f3fe-2640","💁🏾\200d♂️":"1f481-1f3fe-2642","💁🏿\200d♀️":"1f481-1f3ff-2640","💁🏿\200d♂️":"1f481-1f3ff-2642","🙅🏻\200d♀️":"1f645-1f3fb-2640","🙅🏻\200d♂️":"1f645-1f3fb-2642","🙅🏼\200d♀️":"1f645-1f3fc-2640","🙅🏼\200d♂️":"1f645-1f3fc-2642","🙅🏽\200d♀️":"1f645-1f3fd-2640","🙅🏽\200d♂️":"1f645-1f3fd-2642","🙅🏾\200d♀️":"1f645-1f3fe-2640","🙅🏾\200d♂️":"1f645-1f3fe-2642","🙅🏿\200d♀️":"1f645-1f3ff-2640","🙅🏿\200d♂️":"1f645-1f3ff-2642","🙆🏻\200d♀️":"1f646-1f3fb-2640","🙆🏻\200d♂️":"1f646-1f3fb-2642","🙆🏼\200d♀️":"1f646-1f3fc-2640","🙆🏼\200d♂️":"1f646-1f3fc-2642","🙆🏽\200d♀️":"1f646-1f3fd-2640","🙆🏽\200d♂️":"1f646-1f3fd-2642","🙆🏾\200d♀️":"1f646-1f3fe-2640","🙆🏾\200d♂️":"1f646-1f3fe-2642","🙆🏿\200d♀️":"1f646-1f3ff-2640","🙆🏿\200d♂️":"1f646-1f3ff-2642","🙇🏻\200d♀️":"1f647-1f3fb-2640","🙇🏻\200d♂️":"1f647-1f3fb-2642","🙇🏼\200d♀️":"1f647-1f3fc-2640","🙇🏼\200d♂️":"1f647-1f3fc-2642","🙇🏽\200d♀️":"1f647-1f3fd-2640","🙇🏽\200d♂️":"1f647-1f3fd-2642","🙇🏾\200d♀️":"1f647-1f3fe-2640","🙇🏾\200d♂️":"1f647-1f3fe-2642","🙇🏿\200d♀️":"1f647-1f3ff-2640","🙇🏿\200d♂️":"1f647-1f3ff-2642","🙋🏻\200d♀️":"1f64b-1f3fb-2640","🙋🏻\200d♂️":"1f64b-1f3fb-2642","🙋🏼\200d♀️":"1f64b-1f3fc-2640","🙋🏼\200d♂️":"1f64b-1f3fc-2642","🙋🏽\200d♀️":"1f64b-1f3fd-2640","🙋🏽\200d♂️":"1f64b-1f3fd-2642","🙋🏾\200d♀️":"1f64b-1f3fe-2640","🙋🏾\200d♂️":"1f64b-1f3fe-2642","🙋🏿\200d♀️":"1f64b-1f3ff-2640","🙋🏿\200d♂️":"1f64b-1f3ff-2642","🙍🏻\200d♀️":"1f64d-1f3fb-2640","🙍🏻\200d♂️":"1f64d-1f3fb-2642","🙍🏼\200d♀️":"1f64d-1f3fc-2640","🙍🏼\200d♂️":"1f64d-1f3fc-2642","🙍🏽\200d♀️":"1f64d-1f3fd-2640","🙍🏽\200d♂️":"1f64d-1f3fd-2642","🙍🏾\200d♀️":"1f64d-1f3fe-2640","🙍🏾\200d♂️":"1f64d-1f3fe-2642","🙍🏿\200d♀️":"1f64d-1f3ff-2640","🙍🏿\200d♂️":"1f64d-1f3ff-2642","🙎🏻\200d♀️":"1f64e-1f3fb-2640","🙎🏻\200d♂️":"1f64e-1f3fb-2642","🙎🏼\200d♀️":"1f64e-1f3fc-2640","🙎🏼\200d♂️":"1f64e-1f3fc-2642","🙎🏽\200d♀️":"1f64e-1f3fd-2640","🙎🏽\200d♂️":"1f64e-1f3fd-2642","🙎🏾\200d♀️":"1f64e-1f3fe-2640","🙎🏾\200d♂️":"1f64e-1f3fe-2642","🙎🏿\200d♀️":"1f64e-1f3ff-2640","🙎🏿\200d♂️":"1f64e-1f3ff-2642","🤦🏻\200d♀️":"1f926-1f3fb-2640","🤦🏻\200d♂️":"1f926-1f3fb-2642","🤦🏼\200d♀️":"1f926-1f3fc-2640","🤦🏼\200d♂️":"1f926-1f3fc-2642","🤦🏽\200d♀️":"1f926-1f3fd-2640","🤦🏽\200d♂️":"1f926-1f3fd-2642","🤦🏾\200d♀️":"1f926-1f3fe-2640","🤦🏾\200d♂️":"1f926-1f3fe-2642","🤦🏿\200d♀️":"1f926-1f3ff-2640","🤦🏿\200d♂️":"1f926-1f3ff-2642","🤷🏻\200d♀️":"1f937-1f3fb-2640","🤷🏻\200d♂️":"1f937-1f3fb-2642","🤷🏼\200d♀️":"1f937-1f3fc-2640","🤷🏼\200d♂️":"1f937-1f3fc-2642","🤷🏽\200d♀️":"1f937-1f3fd-2640","🤷🏽\200d♂️":"1f937-1f3fd-2642","🤷🏾\200d♀️":"1f937-1f3fe-2640","🤷🏾\200d♂️":"1f937-1f3fe-2642","🤷🏿\200d♀️":"1f937-1f3ff-2640","🤷🏿\200d♂️":"1f937-1f3ff-2642","👁️\200d🗨️":"1f441-1f5e8","🕵🏻\200d♀️":"1f575-1f3fb-2640","🕵🏻\200d♂️":"1f575-1f3fb-2642","🕵🏼\200d♀️":"1f575-1f3fc-2640","🕵🏼\200d♂️":"1f575-1f3fc-2642","🕵🏽\200d♀️":"1f575-1f3fd-2640","🕵🏽\200d♂️":"1f575-1f3fd-2642","🕵🏾\200d♀️":"1f575-1f3fe-2640","🕵🏾\200d♂️":"1f575-1f3fe-2642","🕵🏿\200d♀️":"1f575-1f3ff-2640","🕵🏿\200d♂️":"1f575-1f3ff-2642","🏋🏻\200d♀️":"1f3cb-1f3fb-2640","🏋🏻\200d♂️":"1f3cb-1f3fb-2642","🏋🏼\200d♀️":"1f3cb-1f3fc-2640","🏋🏼\200d♂️":"1f3cb-1f3fc-2642","🏋🏽\200d♀️":"1f3cb-1f3fd-2640","🏋🏽\200d♂️":"1f3cb-1f3fd-2642","🏋🏾\200d♀️":"1f3cb-1f3fe-2640","🏋🏾\200d♂️":"1f3cb-1f3fe-2642","🏋🏿\200d♀️":"1f3cb-1f3ff-2640","🏋🏿\200d♂️":"1f3cb-1f3ff-2642","🏌🏻\200d♀️":"1f3cc-1f3fb-2640","🏌🏻\200d♂️":"1f3cc-1f3fb-2642","🏌🏼\200d♀️":"1f3cc-1f3fc-2640","🏌🏼\200d♂️":"1f3cc-1f3fc-2642","🏌🏽\200d♀️":"1f3cc-1f3fd-2640","🏌🏽\200d♂️":"1f3cc-1f3fd-2642","🏌🏾\200d♀️":"1f3cc-1f3fe-2640","🏌🏾\200d♂️":"1f3cc-1f3fe-2642","🏌🏿\200d♀️":"1f3cc-1f3ff-2640","🏌🏿\200d♂️":"1f3cc-1f3ff-2642","🧙🏻\200d♀️":"1f9d9-1f3fb-2640","🧙🏻\200d♂️":"1f9d9-1f3fb-2642","🧙🏼\200d♀️":"1f9d9-1f3fc-2640","🧙🏼\200d♂️":"1f9d9-1f3fc-2642","🧙🏽\200d♀️":"1f9d9-1f3fd-2640","🧙🏽\200d♂️":"1f9d9-1f3fd-2642","🧙🏾\200d♀️":"1f9d9-1f3fe-2640","🧙🏾\200d♂️":"1f9d9-1f3fe-2642","🧙🏿\200d♀️":"1f9d9-1f3ff-2640","🧙🏿\200d♂️":"1f9d9-1f3ff-2642","🧚🏻\200d♀️":"1f9da-1f3fb-2640","🧚🏻\200d♂️":"1f9da-1f3fb-2642","🧚🏼\200d♀️":"1f9da-1f3fc-2640","🧚🏼\200d♂️":"1f9da-1f3fc-2642","🧚🏽\200d♀️":"1f9da-1f3fd-2640","🧚🏽\200d♂️":"1f9da-1f3fd-2642","🧚🏾\200d♀️":"1f9da-1f3fe-2640","🧚🏾\200d♂️":"1f9da-1f3fe-2642","🧚🏿\200d♀️":"1f9da-1f3ff-2640","🧚🏿\200d♂️":"1f9da-1f3ff-2642","🧛🏻\200d♀️":"1f9db-1f3fb-2640","🧛🏻\200d♂️":"1f9db-1f3fb-2642","🧛🏼\200d♀️":"1f9db-1f3fc-2640","🧛🏼\200d♂️":"1f9db-1f3fc-2642","🧛🏽\200d♀️":"1f9db-1f3fd-2640","🧛🏽\200d♂️":"1f9db-1f3fd-2642","🧛🏾\200d♀️":"1f9db-1f3fe-2640","🧛🏾\200d♂️":"1f9db-1f3fe-2642","🧛🏿\200d♀️":"1f9db-1f3ff-2640","🧛🏿\200d♂️":"1f9db-1f3ff-2642","🧜🏻\200d♀️":"1f9dc-1f3fb-2640","🧜🏻\200d♂️":"1f9dc-1f3fb-2642","🧜🏼\200d♀️":"1f9dc-1f3fc-2640","🧜🏼\200d♂️":"1f9dc-1f3fc-2642","🧜🏽\200d♀️":"1f9dc-1f3fd-2640","🧜🏽\200d♂️":"1f9dc-1f3fd-2642","🧜🏾\200d♀️":"1f9dc-1f3fe-2640","🧜🏾\200d♂️":"1f9dc-1f3fe-2642","🧜🏿\200d♀️":"1f9dc-1f3ff-2640","🧜🏿\200d♂️":"1f9dc-1f3ff-2642","🧝🏻\200d♀️":"1f9dd-1f3fb-2640","🧝🏻\200d♂️":"1f9dd-1f3fb-2642","🧝🏼\200d♀️":"1f9dd-1f3fc-2640","🧝🏼\200d♂️":"1f9dd-1f3fc-2642","🧝🏽\200d♀️":"1f9dd-1f3fd-2640","🧝🏽\200d♂️":"1f9dd-1f3fd-2642","🧝🏾\200d♀️":"1f9dd-1f3fe-2640","🧝🏾\200d♂️":"1f9dd-1f3fe-2642","🧝🏿\200d♀️":"1f9dd-1f3ff-2640","🧝🏿\200d♂️":"1f9dd-1f3ff-2642","🧖🏻\200d♀️":"1f9d6-1f3fb-2640","🧖🏻\200d♂️":"1f9d6-1f3fb-2642","🧖🏼\200d♀️":"1f9d6-1f3fc-2640","🧖🏼\200d♂️":"1f9d6-1f3fc-2642","🧖🏽\200d♀️":"1f9d6-1f3fd-2640","🧖🏽\200d♂️":"1f9d6-1f3fd-2642","🧖🏾\200d♀️":"1f9d6-1f3fe-2640","🧖🏾\200d♂️":"1f9d6-1f3fe-2642","🧖🏿\200d♀️":"1f9d6-1f3ff-2640","🧖🏿\200d♂️":"1f9d6-1f3ff-2642","🧗🏻\200d♀️":"1f9d7-1f3fb-2640","🧗🏻\200d♂️":"1f9d7-1f3fb-2642","🧗🏼\200d♀️":"1f9d7-1f3fc-2640","🧗🏼\200d♂️":"1f9d7-1f3fc-2642","🧗🏽\200d♀️":"1f9d7-1f3fd-2640","🧗🏽\200d♂️":"1f9d7-1f3fd-2642","🧗🏾\200d♀️":"1f9d7-1f3fe-2640","🧗🏾\200d♂️":"1f9d7-1f3fe-2642","🧗🏿\200d♀️":"1f9d7-1f3ff-2640","🧗🏿\200d♂️":"1f9d7-1f3ff-2642","🧘🏻\200d♀️":"1f9d8-1f3fb-2640","🧘🏻\200d♂️":"1f9d8-1f3fb-2642","🧘🏼\200d♀️":"1f9d8-1f3fc-2640","🧘🏼\200d♂️":"1f9d8-1f3fc-2642","🧘🏽\200d♀️":"1f9d8-1f3fd-2640","🧘🏽\200d♂️":"1f9d8-1f3fd-2642","🧘🏾\200d♀️":"1f9d8-1f3fe-2640","🧘🏾\200d♂️":"1f9d8-1f3fe-2642","🧘🏿\200d♀️":"1f9d8-1f3ff-2640","🧘🏿\200d♂️":"1f9d8-1f3ff-2642","🦸🏻\200d♀️":"1f9b8-1f3fb-2640","🦸🏻\200d♂️":"1f9b8-1f3fb-2642","🦸🏼\200d♀️":"1f9b8-1f3fc-2640","🦸🏼\200d♂️":"1f9b8-1f3fc-2642","🦸🏽\200d♀️":"1f9b8-1f3fd-2640","🦸🏽\200d♂️":"1f9b8-1f3fd-2642","🦸🏾\200d♀️":"1f9b8-1f3fe-2640","🦸🏾\200d♂️":"1f9b8-1f3fe-2642","🦸🏿\200d♀️":"1f9b8-1f3ff-2640","🦸🏿\200d♂️":"1f9b8-1f3ff-2642","🦹🏻\200d♀️":"1f9b9-1f3fb-2640","🦹🏻\200d♂️":"1f9b9-1f3fb-2642","🦹🏼\200d♀️":"1f9b9-1f3fc-2640","🦹🏼\200d♂️":"1f9b9-1f3fc-2642","🦹🏽\200d♀️":"1f9b9-1f3fd-2640","🦹🏽\200d♂️":"1f9b9-1f3fd-2642","🦹🏾\200d♀️":"1f9b9-1f3fe-2640","🦹🏾\200d♂️":"1f9b9-1f3fe-2642","🦹🏿\200d♀️":"1f9b9-1f3ff-2640","🦹🏿\200d♂️":"1f9b9-1f3ff-2642","🕵️\200d♀️":"1f575-2640","🕵️\200d♂️":"1f575-2642","⛹️🏻♀️":"26f9-1f3fb-2640","⛹️🏻♂️":"26f9-1f3fb-2642","⛹️🏼♀️":"26f9-1f3fc-2640","⛹️🏼♂️":"26f9-1f3fc-2642","⛹️🏽♀️":"26f9-1f3fd-2640","⛹️🏽♂️":"26f9-1f3fd-2642","⛹️🏾♀️":"26f9-1f3fe-2640","⛹️🏾♂️":"26f9-1f3fe-2642","⛹️🏿♀️":"26f9-1f3ff-2640","⛹️🏿♂️":"26f9-1f3ff-2642","🏋️\200d♀️":"1f3cb-2640","🏋️\200d♂️":"1f3cb-2642","🏌️\200d♀️":"1f3cc-2640","🏌️\200d♂️":"1f3cc-2642","⛹🏻\200d♀️":"26f9-1f3fb-2640","⛹🏻\200d♂️":"26f9-1f3fb-2642","⛹🏼\200d♀️":"26f9-1f3fc-2640","⛹🏼\200d♂️":"26f9-1f3fc-2642","⛹🏽\200d♀️":"26f9-1f3fd-2640","⛹🏽\200d♂️":"26f9-1f3fd-2642","⛹🏾\200d♀️":"26f9-1f3fe-2640","⛹🏾\200d♂️":"26f9-1f3fe-2642","⛹🏿\200d♀️":"26f9-1f3ff-2640","⛹🏿\200d♂️":"26f9-1f3ff-2642","⛹️\200d♀️":"26f9-2640","⛹️\200d♂️":"26f9-2642","👨👨👦👦":"1f468-1f468-1f466-1f466","👨👨👧👦":"1f468-1f468-1f467-1f466","👨👨👧👧":"1f468-1f468-1f467-1f467","👨👩👦👦":"1f468-1f469-1f466-1f466","👨👩👧👦":"1f468-1f469-1f467-1f466","👨👩👧👧":"1f468-1f469-1f467-1f467","👩👩👦👦":"1f469-1f469-1f466-1f466","👩👩👧👦":"1f469-1f469-1f467-1f466","👩👩👧👧":"1f469-1f469-1f467-1f467","👨🏿\200d💻":"1f468-1f3ff-1f4bb","👨🏾\200d💻":"1f468-1f3fe-1f4bb","👨🏽\200d💻":"1f468-1f3fd-1f4bb","👨🏼\200d💻":"1f468-1f3fc-1f4bb","👨🏻\200d💻":"1f468-1f3fb-1f4bb","👩🏿\200d💻":"1f469-1f3ff-1f4bb","👩🏾\200d💻":"1f469-1f3fe-1f4bb","👩🏽\200d💻":"1f469-1f3fd-1f4bb","👩🏼\200d💻":"1f469-1f3fc-1f4bb","👩🏻\200d💻":"1f469-1f3fb-1f4bb","👨🏿\200d🏫":"1f468-1f3ff-1f3eb","👨🏾\200d🏫":"1f468-1f3fe-1f3eb","👨🏽\200d🏫":"1f468-1f3fd-1f3eb","👨🏼\200d🏫":"1f468-1f3fc-1f3eb","👨🏻\200d🏫":"1f468-1f3fb-1f3eb","👩🏿\200d🏫":"1f469-1f3ff-1f3eb","👩🏾\200d🏫":"1f469-1f3fe-1f3eb","👩🏽\200d🏫":"1f469-1f3fd-1f3eb","👩🏼\200d🏫":"1f469-1f3fc-1f3eb","👩🏻\200d🏫":"1f469-1f3fb-1f3eb","👨🏿\200d🎓":"1f468-1f3ff-1f393","👨🏾\200d🎓":"1f468-1f3fe-1f393","👨🏽\200d🎓":"1f468-1f3fd-1f393","👨🏼\200d🎓":"1f468-1f3fc-1f393","👨🏻\200d🎓":"1f468-1f3fb-1f393","👩🏿\200d🎓":"1f469-1f3ff-1f393","👩🏾\200d🎓":"1f469-1f3fe-1f393","👩🏽\200d🎓":"1f469-1f3fd-1f393","👩🏼\200d🎓":"1f469-1f3fc-1f393","👩🏻\200d🎓":"1f469-1f3fb-1f393","👨🏿\200d🎤":"1f468-1f3ff-1f3a4","👨🏾\200d🎤":"1f468-1f3fe-1f3a4","👨🏽\200d🎤":"1f468-1f3fd-1f3a4","👨🏼\200d🎤":"1f468-1f3fc-1f3a4","👨🏻\200d🎤":"1f468-1f3fb-1f3a4","👩🏿\200d🎤":"1f469-1f3ff-1f3a4","👩🏾\200d🎤":"1f469-1f3fe-1f3a4","👩🏽\200d🎤":"1f469-1f3fd-1f3a4","👩🏼\200d🎤":"1f469-1f3fc-1f3a4","👩🏻\200d🎤":"1f469-1f3fb-1f3a4","👨🏿\200d🔬":"1f468-1f3ff-1f52c","👨🏾\200d🔬":"1f468-1f3fe-1f52c","👨🏽\200d🔬":"1f468-1f3fd-1f52c","👨🏼\200d🔬":"1f468-1f3fc-1f52c","👨🏻\200d🔬":"1f468-1f3fb-1f52c","👩🏿\200d🔬":"1f469-1f3ff-1f52c","👩🏾\200d🔬":"1f469-1f3fe-1f52c","👩🏽\200d🔬":"1f469-1f3fd-1f52c","👩🏼\200d🔬":"1f469-1f3fc-1f52c","👩🏻\200d🔬":"1f469-1f3fb-1f52c","👨🏿\200d💼":"1f468-1f3ff-1f4bc","👨🏾\200d💼":"1f468-1f3fe-1f4bc","👨🏽\200d💼":"1f468-1f3fd-1f4bc","👨🏼\200d💼":"1f468-1f3fc-1f4bc","👨🏻\200d💼":"1f468-1f3fb-1f4bc","👩🏿\200d💼":"1f469-1f3ff-1f4bc","👩🏾\200d💼":"1f469-1f3fe-1f4bc","👩🏽\200d💼":"1f469-1f3fd-1f4bc","👩🏼\200d💼":"1f469-1f3fc-1f4bc","👩🏻\200d💼":"1f469-1f3fb-1f4bc","👨🏿\200d🔧":"1f468-1f3ff-1f527","👨🏾\200d🔧":"1f468-1f3fe-1f527","👨🏽\200d🔧":"1f468-1f3fd-1f527","👨🏼\200d🔧":"1f468-1f3fc-1f527","👨🏻\200d🔧":"1f468-1f3fb-1f527","👩🏿\200d🔧":"1f469-1f3ff-1f527","👩🏾\200d🔧":"1f469-1f3fe-1f527","👩🏽\200d🔧":"1f469-1f3fd-1f527","👩🏼\200d🔧":"1f469-1f3fc-1f527","👩🏻\200d🔧":"1f469-1f3fb-1f527","👨🏿\200d🏭":"1f468-1f3ff-1f3ed","👨🏾\200d🏭":"1f468-1f3fe-1f3ed","👨🏽\200d🏭":"1f468-1f3fd-1f3ed","👨🏼\200d🏭":"1f468-1f3fc-1f3ed","👨🏻\200d🏭":"1f468-1f3fb-1f3ed","👩🏿\200d🏭":"1f469-1f3ff-1f3ed","👩🏾\200d🏭":"1f469-1f3fe-1f3ed","👩🏽\200d🏭":"1f469-1f3fd-1f3ed","👩🏼\200d🏭":"1f469-1f3fc-1f3ed","👩🏻\200d🏭":"1f469-1f3fb-1f3ed","👨🏿\200d🍳":"1f468-1f3ff-1f373","👨🏾\200d🍳":"1f468-1f3fe-1f373","👨🏽\200d🍳":"1f468-1f3fd-1f373","👨🏼\200d🍳":"1f468-1f3fc-1f373","👨🏻\200d🍳":"1f468-1f3fb-1f373","👩🏿\200d🍳":"1f469-1f3ff-1f373","👩🏾\200d🍳":"1f469-1f3fe-1f373","👩🏽\200d🍳":"1f469-1f3fd-1f373","👩🏼\200d🍳":"1f469-1f3fc-1f373","👩🏻\200d🍳":"1f469-1f3fb-1f373","👨🏿\200d🌾":"1f468-1f3ff-1f33e","👨🏾\200d🌾":"1f468-1f3fe-1f33e","👨🏽\200d🌾":"1f468-1f3fd-1f33e","👨🏼\200d🌾":"1f468-1f3fc-1f33e","👨🏻\200d🌾":"1f468-1f3fb-1f33e","👩🏿\200d🌾":"1f469-1f3ff-1f33e","👩🏾\200d🌾":"1f469-1f3fe-1f33e","👩🏽\200d🌾":"1f469-1f3fd-1f33e","👩🏼\200d🌾":"1f469-1f3fc-1f33e","👩🏻\200d🌾":"1f469-1f3fb-1f33e","👨🏻\200d🎨":"1f468-1f3fb-1f3a8","👨🏼\200d🎨":"1f468-1f3fc-1f3a8","👨🏽\200d🎨":"1f468-1f3fd-1f3a8","👨🏾\200d🎨":"1f468-1f3fe-1f3a8","👨🏿\200d🎨":"1f468-1f3ff-1f3a8","👩🏻\200d🎨":"1f469-1f3fb-1f3a8","👩🏼\200d🎨":"1f469-1f3fc-1f3a8","👩🏽\200d🎨":"1f469-1f3fd-1f3a8","👩🏾\200d🎨":"1f469-1f3fe-1f3a8","👩🏿\200d🎨":"1f469-1f3ff-1f3a8","👨🏻\200d🚀":"1f468-1f3fb-1f680","👨🏼\200d🚀":"1f468-1f3fc-1f680","👨🏽\200d🚀":"1f468-1f3fd-1f680","👨🏾\200d🚀":"1f468-1f3fe-1f680","👨🏿\200d🚀":"1f468-1f3ff-1f680","👩🏻\200d🚀":"1f469-1f3fb-1f680","👩🏼\200d🚀":"1f469-1f3fc-1f680","👩🏽\200d🚀":"1f469-1f3fd-1f680","👩🏾\200d🚀":"1f469-1f3fe-1f680","👩🏿\200d🚀":"1f469-1f3ff-1f680","👨🏻\200d🚒":"1f468-1f3fb-1f692","👨🏼\200d🚒":"1f468-1f3fc-1f692","👨🏽\200d🚒":"1f468-1f3fd-1f692","👨🏾\200d🚒":"1f468-1f3fe-1f692","👨🏿\200d🚒":"1f468-1f3ff-1f692","👩🏻\200d🚒":"1f469-1f3fb-1f692","👩🏼\200d🚒":"1f469-1f3fc-1f692","👩🏽\200d🚒":"1f469-1f3fd-1f692","👩🏾\200d🚒":"1f469-1f3fe-1f692","👩🏿\200d🚒":"1f469-1f3ff-1f692","👨🏻\200d🦰":"1f468-1f3fb-1f9b0","👨🏻\200d🦱":"1f468-1f3fb-1f9b1","👨🏻\200d🦲":"1f468-1f3fb-1f9b2","👨🏻\200d🦳":"1f468-1f3fb-1f9b3","👨🏼\200d🦰":"1f468-1f3fc-1f9b0","👨🏼\200d🦱":"1f468-1f3fc-1f9b1","👨🏼\200d🦲":"1f468-1f3fc-1f9b2","👨🏼\200d🦳":"1f468-1f3fc-1f9b3","👨🏽\200d🦰":"1f468-1f3fd-1f9b0","👨🏽\200d🦱":"1f468-1f3fd-1f9b1","👨🏽\200d🦲":"1f468-1f3fd-1f9b2","👨🏽\200d🦳":"1f468-1f3fd-1f9b3","👨🏾\200d🦰":"1f468-1f3fe-1f9b0","👨🏾\200d🦱":"1f468-1f3fe-1f9b1","👨🏾\200d🦲":"1f468-1f3fe-1f9b2","👨🏾\200d🦳":"1f468-1f3fe-1f9b3","👨🏿\200d🦰":"1f468-1f3ff-1f9b0","👨🏿\200d🦱":"1f468-1f3ff-1f9b1","👨🏿\200d🦲":"1f468-1f3ff-1f9b2","👨🏿\200d🦳":"1f468-1f3ff-1f9b3","👩🏻\200d🦰":"1f469-1f3fb-1f9b0","👩🏻\200d🦱":"1f469-1f3fb-1f9b1","👩🏻\200d🦲":"1f469-1f3fb-1f9b2","👩🏻\200d🦳":"1f469-1f3fb-1f9b3","👩🏼\200d🦰":"1f469-1f3fc-1f9b0","👩🏼\200d🦱":"1f469-1f3fc-1f9b1","👩🏼\200d🦲":"1f469-1f3fc-1f9b2","👩🏼\200d🦳":"1f469-1f3fc-1f9b3","👩🏽\200d🦰":"1f469-1f3fd-1f9b0","👩🏽\200d🦱":"1f469-1f3fd-1f9b1","👩🏽\200d🦲":"1f469-1f3fd-1f9b2","👩🏽\200d🦳":"1f469-1f3fd-1f9b3","👩🏾\200d🦰":"1f469-1f3fe-1f9b0","👩🏾\200d🦱":"1f469-1f3fe-1f9b1","👩🏾\200d🦲":"1f469-1f3fe-1f9b2","👩🏾\200d🦳":"1f469-1f3fe-1f9b3","👩🏿\200d🦰":"1f469-1f3ff-1f9b0","👩🏿\200d🦱":"1f469-1f3ff-1f9b1","👩🏿\200d🦲":"1f469-1f3ff-1f9b2","👩🏿\200d🦳":"1f469-1f3ff-1f9b3","🏳️\200d🌈":"1f3f3-1f308","🏌🏻\200d♂":"1f3cc-1f3fb-2642","🏌🏼\200d♂":"1f3cc-1f3fc-2642","🏌🏽\200d♂":"1f3cc-1f3fd-2642","🏌🏾\200d♂":"1f3cc-1f3fe-2642","🏌🏿\200d♂":"1f3cc-1f3ff-2642","🏌🏻\200d♀":"1f3cc-1f3fb-2640","🏌🏼\200d♀":"1f3cc-1f3fc-2640","🏌🏽\200d♀":"1f3cc-1f3fd-2640","🏌🏾\200d♀":"1f3cc-1f3fe-2640","🏌🏿\200d♀":"1f3cc-1f3ff-2640","🤹🏿\200d♂":"1f939-1f3ff-2642","🤹🏾\200d♂":"1f939-1f3fe-2642","🤹🏽\200d♂":"1f939-1f3fd-2642","🤹🏼\200d♂":"1f939-1f3fc-2642","🤹🏻\200d♂":"1f939-1f3fb-2642","🤹🏿\200d♀":"1f939-1f3ff-2640","🤹🏾\200d♀":"1f939-1f3fe-2640","🤹🏽\200d♀":"1f939-1f3fd-2640","🤹🏼\200d♀":"1f939-1f3fc-2640","🤹🏻\200d♀":"1f939-1f3fb-2640","🤾🏿\200d♂":"1f93e-1f3ff-2642","🤾🏾\200d♂":"1f93e-1f3fe-2642","🤾🏽\200d♂":"1f93e-1f3fd-2642","🤾🏼\200d♂":"1f93e-1f3fc-2642","🤾🏻\200d♂":"1f93e-1f3fb-2642","🤾🏿\200d♀":"1f93e-1f3ff-2640","🤾🏾\200d♀":"1f93e-1f3fe-2640","🤾🏽\200d♀":"1f93e-1f3fd-2640","🤾🏼\200d♀":"1f93e-1f3fc-2640","🤾🏻\200d♀":"1f93e-1f3fb-2640","🤽🏿\200d♂":"1f93d-1f3ff-2642","🤽🏾\200d♂":"1f93d-1f3fe-2642","🤽🏽\200d♂":"1f93d-1f3fd-2642","🤽🏼\200d♂":"1f93d-1f3fc-2642","🤽🏻\200d♂":"1f93d-1f3fb-2642","🤽🏿\200d♀":"1f93d-1f3ff-2640","🤽🏾\200d♀":"1f93d-1f3fe-2640","🤽🏽\200d♀":"1f93d-1f3fd-2640","🤽🏼\200d♀":"1f93d-1f3fc-2640","🤽🏻\200d♀":"1f93d-1f3fb-2640","🤸🏿\200d♂":"1f938-1f3ff-2642","🤸🏾\200d♂":"1f938-1f3fe-2642","🤸🏽\200d♂":"1f938-1f3fd-2642","🤸🏼\200d♂":"1f938-1f3fc-2642","🤸🏻\200d♂":"1f938-1f3fb-2642","🤸🏿\200d♀":"1f938-1f3ff-2640","🤸🏾\200d♀":"1f938-1f3fe-2640","🤸🏽\200d♀":"1f938-1f3fd-2640","🤸🏼\200d♀":"1f938-1f3fc-2640","🤸🏻\200d♀":"1f938-1f3fb-2640","🚶🏿\200d♂":"1f6b6-1f3ff-2642","🚶🏾\200d♂":"1f6b6-1f3fe-2642","🚶🏽\200d♂":"1f6b6-1f3fd-2642","🚶🏼\200d♂":"1f6b6-1f3fc-2642","🚶🏻\200d♂":"1f6b6-1f3fb-2642","🚶🏿\200d♀":"1f6b6-1f3ff-2640","🚶🏾\200d♀":"1f6b6-1f3fe-2640","🚶🏽\200d♀":"1f6b6-1f3fd-2640","🚶🏼\200d♀":"1f6b6-1f3fc-2640","🚶🏻\200d♀":"1f6b6-1f3fb-2640","🚵🏿\200d♂":"1f6b5-1f3ff-2642","🚵🏾\200d♂":"1f6b5-1f3fe-2642","🚵🏽\200d♂":"1f6b5-1f3fd-2642","🚵🏼\200d♂":"1f6b5-1f3fc-2642","🚵🏻\200d♂":"1f6b5-1f3fb-2642","🚵🏿\200d♀":"1f6b5-1f3ff-2640","🚵🏾\200d♀":"1f6b5-1f3fe-2640","🚵🏽\200d♀":"1f6b5-1f3fd-2640","🚵🏼\200d♀":"1f6b5-1f3fc-2640","🚵🏻\200d♀":"1f6b5-1f3fb-2640","🚴🏿\200d♂":"1f6b4-1f3ff-2642","🚴🏾\200d♂":"1f6b4-1f3fe-2642","🚴🏽\200d♂":"1f6b4-1f3fd-2642","🚴🏼\200d♂":"1f6b4-1f3fc-2642","🚴🏻\200d♂":"1f6b4-1f3fb-2642","🚴🏿\200d♀":"1f6b4-1f3ff-2640","🚴🏾\200d♀":"1f6b4-1f3fe-2640","🚴🏽\200d♀":"1f6b4-1f3fd-2640","🚴🏼\200d♀":"1f6b4-1f3fc-2640","🚴🏻\200d♀":"1f6b4-1f3fb-2640","🚣🏿\200d♂":"1f6a3-1f3ff-2642","🚣🏾\200d♂":"1f6a3-1f3fe-2642","🚣🏽\200d♂":"1f6a3-1f3fd-2642","🚣🏼\200d♂":"1f6a3-1f3fc-2642","🚣🏻\200d♂":"1f6a3-1f3fb-2642","🚣🏿\200d♀":"1f6a3-1f3ff-2640","🚣🏾\200d♀":"1f6a3-1f3fe-2640","🚣🏽\200d♀":"1f6a3-1f3fd-2640","🚣🏼\200d♀":"1f6a3-1f3fc-2640","🚣🏻\200d♀":"1f6a3-1f3fb-2640","🏋🏿\200d♂":"1f3cb-1f3ff-2642","🏋🏾\200d♂":"1f3cb-1f3fe-2642","🏋🏽\200d♂":"1f3cb-1f3fd-2642","🏋🏼\200d♂":"1f3cb-1f3fc-2642","🏋🏻\200d♂":"1f3cb-1f3fb-2642","🏋🏿\200d♀":"1f3cb-1f3ff-2640","🏋🏾\200d♀":"1f3cb-1f3fe-2640","🏋🏽\200d♀":"1f3cb-1f3fd-2640","🏋🏼\200d♀":"1f3cb-1f3fc-2640","🏋🏻\200d♀":"1f3cb-1f3fb-2640","🏊🏿\200d♂":"1f3ca-1f3ff-2642","🏊🏾\200d♂":"1f3ca-1f3fe-2642","🏊🏽\200d♂":"1f3ca-1f3fd-2642","🏊🏼\200d♂":"1f3ca-1f3fc-2642","🏊🏻\200d♂":"1f3ca-1f3fb-2642","🏊🏿\200d♀":"1f3ca-1f3ff-2640","🏊🏾\200d♀":"1f3ca-1f3fe-2640","🏊🏽\200d♀":"1f3ca-1f3fd-2640","🏊🏼\200d♀":"1f3ca-1f3fc-2640","🏊🏻\200d♀":"1f3ca-1f3fb-2640","🏄🏿\200d♂":"1f3c4-1f3ff-2642","🏄🏾\200d♂":"1f3c4-1f3fe-2642","🏄🏽\200d♂":"1f3c4-1f3fd-2642","🏄🏼\200d♂":"1f3c4-1f3fc-2642","🏄🏻\200d♂":"1f3c4-1f3fb-2642","🏄🏿\200d♀":"1f3c4-1f3ff-2640","🏄🏾\200d♀":"1f3c4-1f3fe-2640","🏄🏽\200d♀":"1f3c4-1f3fd-2640","🏄🏼\200d♀":"1f3c4-1f3fc-2640","🏄🏻\200d♀":"1f3c4-1f3fb-2640","🏃🏿\200d♂":"1f3c3-1f3ff-2642","🏃🏾\200d♂":"1f3c3-1f3fe-2642","🏃🏽\200d♂":"1f3c3-1f3fd-2642","🏃🏼\200d♂":"1f3c3-1f3fc-2642","🏃🏻\200d♂":"1f3c3-1f3fb-2642","🏃🏿\200d♀":"1f3c3-1f3ff-2640","🏃🏾\200d♀":"1f3c3-1f3fe-2640","🏃🏽\200d♀":"1f3c3-1f3fd-2640","🏃🏼\200d♀":"1f3c3-1f3fc-2640","🏃🏻\200d♀":"1f3c3-1f3fb-2640","🤷🏿\200d♂":"1f937-1f3ff-2642","🤷🏾\200d♂":"1f937-1f3fe-2642","🤷🏽\200d♂":"1f937-1f3fd-2642","🤷🏼\200d♂":"1f937-1f3fc-2642","🤷🏻\200d♂":"1f937-1f3fb-2642","🤷🏿\200d♀":"1f937-1f3ff-2640","🤷🏾\200d♀":"1f937-1f3fe-2640","🤷🏽\200d♀":"1f937-1f3fd-2640","🤷🏼\200d♀":"1f937-1f3fc-2640","🤷🏻\200d♀":"1f937-1f3fb-2640","🤦🏿\200d♂":"1f926-1f3ff-2642","🤦🏾\200d♂":"1f926-1f3fe-2642","🤦🏽\200d♂":"1f926-1f3fd-2642","🤦🏼\200d♂":"1f926-1f3fc-2642","🤦🏻\200d♂":"1f926-1f3fb-2642","🤦🏿\200d♀":"1f926-1f3ff-2640","🤦🏾\200d♀":"1f926-1f3fe-2640","🤦🏽\200d♀":"1f926-1f3fd-2640","🤦🏼\200d♀":"1f926-1f3fc-2640","🤦🏻\200d♀":"1f926-1f3fb-2640","🙎🏿\200d♂":"1f64e-1f3ff-2642","🙎🏾\200d♂":"1f64e-1f3fe-2642","🙎🏽\200d♂":"1f64e-1f3fd-2642","🙎🏼\200d♂":"1f64e-1f3fc-2642","🙎🏻\200d♂":"1f64e-1f3fb-2642","🙎🏿\200d♀":"1f64e-1f3ff-2640","🙎🏾\200d♀":"1f64e-1f3fe-2640","🙎🏽\200d♀":"1f64e-1f3fd-2640","🙎🏼\200d♀":"1f64e-1f3fc-2640","🙎🏻\200d♀":"1f64e-1f3fb-2640","🙍🏿\200d♂":"1f64d-1f3ff-2642","🙍🏾\200d♂":"1f64d-1f3fe-2642","🙍🏽\200d♂":"1f64d-1f3fd-2642","🙍🏼\200d♂":"1f64d-1f3fc-2642","🙍🏻\200d♂":"1f64d-1f3fb-2642","🙍🏿\200d♀":"1f64d-1f3ff-2640","🙍🏾\200d♀":"1f64d-1f3fe-2640","🙍🏽\200d♀":"1f64d-1f3fd-2640","🙍🏼\200d♀":"1f64d-1f3fc-2640","🙍🏻\200d♀":"1f64d-1f3fb-2640","🙋🏿\200d♂":"1f64b-1f3ff-2642","🙋🏾\200d♂":"1f64b-1f3fe-2642","🙋🏽\200d♂":"1f64b-1f3fd-2642","🙋🏼\200d♂":"1f64b-1f3fc-2642","🙋🏻\200d♂":"1f64b-1f3fb-2642","🙋🏿\200d♀":"1f64b-1f3ff-2640","🙋🏾\200d♀":"1f64b-1f3fe-2640","🙋🏽\200d♀":"1f64b-1f3fd-2640","🙋🏼\200d♀":"1f64b-1f3fc-2640","🙋🏻\200d♀":"1f64b-1f3fb-2640","🙇🏿\200d♂":"1f647-1f3ff-2642","🙇🏾\200d♂":"1f647-1f3fe-2642","🙇🏽\200d♂":"1f647-1f3fd-2642","🙇🏼\200d♂":"1f647-1f3fc-2642","🙇🏻\200d♂":"1f647-1f3fb-2642","🙇🏿\200d♀":"1f647-1f3ff-2640","🙇🏾\200d♀":"1f647-1f3fe-2640","🙇🏽\200d♀":"1f647-1f3fd-2640","🙇🏼\200d♀":"1f647-1f3fc-2640","🙇🏻\200d♀":"1f647-1f3fb-2640","🙆🏿\200d♂":"1f646-1f3ff-2642","🙆🏾\200d♂":"1f646-1f3fe-2642","🙆🏽\200d♂":"1f646-1f3fd-2642","🙆🏼\200d♂":"1f646-1f3fc-2642","🙆🏻\200d♂":"1f646-1f3fb-2642","🙆🏿\200d♀":"1f646-1f3ff-2640","🙆🏾\200d♀":"1f646-1f3fe-2640","🙆🏽\200d♀":"1f646-1f3fd-2640","🙆🏼\200d♀":"1f646-1f3fc-2640","🙆🏻\200d♀":"1f646-1f3fb-2640","🙅🏿\200d♂":"1f645-1f3ff-2642","🙅🏾\200d♂":"1f645-1f3fe-2642","🙅🏽\200d♂":"1f645-1f3fd-2642","🙅🏼\200d♂":"1f645-1f3fc-2642","🙅🏻\200d♂":"1f645-1f3fb-2642","🙅🏿\200d♀":"1f645-1f3ff-2640","🙅🏾\200d♀":"1f645-1f3fe-2640","🙅🏽\200d♀":"1f645-1f3fd-2640","🙅🏼\200d♀":"1f645-1f3fc-2640","🙅🏻\200d♀":"1f645-1f3fb-2640","💇🏿\200d♂":"1f487-1f3ff-2642","💇🏾\200d♂":"1f487-1f3fe-2642","💇🏽\200d♂":"1f487-1f3fd-2642","💇🏼\200d♂":"1f487-1f3fc-2642","💇🏻\200d♂":"1f487-1f3fb-2642","💇🏿\200d♀":"1f487-1f3ff-2640","💇🏾\200d♀":"1f487-1f3fe-2640","💇🏽\200d♀":"1f487-1f3fd-2640","💇🏼\200d♀":"1f487-1f3fc-2640","💇🏻\200d♀":"1f487-1f3fb-2640","💆🏿\200d♂":"1f486-1f3ff-2642","💆🏾\200d♂":"1f486-1f3fe-2642","💆🏽\200d♂":"1f486-1f3fd-2642","💆🏼\200d♂":"1f486-1f3fc-2642","💆🏻\200d♂":"1f486-1f3fb-2642","💆🏿\200d♀":"1f486-1f3ff-2640","💆🏾\200d♀":"1f486-1f3fe-2640","💆🏽\200d♀":"1f486-1f3fd-2640","💆🏼\200d♀":"1f486-1f3fc-2640","💆🏻\200d♀":"1f486-1f3fb-2640","💁🏿\200d♂":"1f481-1f3ff-2642","💁🏾\200d♂":"1f481-1f3fe-2642","💁🏽\200d♂":"1f481-1f3fd-2642","💁🏼\200d♂":"1f481-1f3fc-2642","💁🏻\200d♂":"1f481-1f3fb-2642","💁🏿\200d♀":"1f481-1f3ff-2640","💁🏾\200d♀":"1f481-1f3fe-2640","💁🏽\200d♀":"1f481-1f3fd-2640","💁🏼\200d♀":"1f481-1f3fc-2640","💁🏻\200d♀":"1f481-1f3fb-2640","👱🏿\200d♂":"1f471-1f3ff-2642","👱🏾\200d♂":"1f471-1f3fe-2642","👱🏽\200d♂":"1f471-1f3fd-2642","👱🏼\200d♂":"1f471-1f3fc-2642","👱🏻\200d♂":"1f471-1f3fb-2642","👱🏿\200d♀":"1f471-1f3ff-2640","👱🏾\200d♀":"1f471-1f3fe-2640","👱🏽\200d♀":"1f471-1f3fd-2640","👱🏼\200d♀":"1f471-1f3fc-2640","👱🏻\200d♀":"1f471-1f3fb-2640","👳🏿\200d♂":"1f473-1f3ff-2642","👳🏾\200d♂":"1f473-1f3fe-2642","👳🏽\200d♂":"1f473-1f3fd-2642","👳🏼\200d♂":"1f473-1f3fc-2642","👳🏻\200d♂":"1f473-1f3fb-2642","👳🏿\200d♀":"1f473-1f3ff-2640","👳🏾\200d♀":"1f473-1f3fe-2640","👳🏽\200d♀":"1f473-1f3fd-2640","👳🏼\200d♀":"1f473-1f3fc-2640","👳🏻\200d♀":"1f473-1f3fb-2640","💂🏿\200d♂":"1f482-1f3ff-2642","💂🏾\200d♂":"1f482-1f3fe-2642","💂🏽\200d♂":"1f482-1f3fd-2642","💂🏼\200d♂":"1f482-1f3fc-2642","💂🏻\200d♂":"1f482-1f3fb-2642","💂🏿\200d♀":"1f482-1f3ff-2640","💂🏾\200d♀":"1f482-1f3fe-2640","💂🏽\200d♀":"1f482-1f3fd-2640","💂🏼\200d♀":"1f482-1f3fc-2640","💂🏻\200d♀":"1f482-1f3fb-2640","🕵🏿\200d♂":"1f575-1f3ff-2642","🕵🏾\200d♂":"1f575-1f3fe-2642","🕵🏽\200d♂":"1f575-1f3fd-2642","🕵🏼\200d♂":"1f575-1f3fc-2642","🕵🏻\200d♂":"1f575-1f3fb-2642","🕵🏿\200d♀":"1f575-1f3ff-2640","🕵🏾\200d♀":"1f575-1f3fe-2640","🕵🏽\200d♀":"1f575-1f3fd-2640","🕵🏼\200d♀":"1f575-1f3fc-2640","🕵🏻\200d♀":"1f575-1f3fb-2640","👷🏿\200d♂":"1f477-1f3ff-2642","👷🏾\200d♂":"1f477-1f3fe-2642","👷🏽\200d♂":"1f477-1f3fd-2642","👷🏼\200d♂":"1f477-1f3fc-2642","👷🏻\200d♂":"1f477-1f3fb-2642","👷🏿\200d♀":"1f477-1f3ff-2640","👷🏾\200d♀":"1f477-1f3fe-2640","👷🏽\200d♀":"1f477-1f3fd-2640","👷🏼\200d♀":"1f477-1f3fc-2640","👷🏻\200d♀":"1f477-1f3fb-2640","👮🏿\200d♂":"1f46e-1f3ff-2642","👮🏾\200d♂":"1f46e-1f3fe-2642","👮🏽\200d♂":"1f46e-1f3fd-2642","👮🏼\200d♂":"1f46e-1f3fc-2642","👮🏻\200d♂":"1f46e-1f3fb-2642","👮🏿\200d♀":"1f46e-1f3ff-2640","👮🏾\200d♀":"1f46e-1f3fe-2640","👮🏽\200d♀":"1f46e-1f3fd-2640","👮🏼\200d♀":"1f46e-1f3fc-2640","👮🏻\200d♀":"1f46e-1f3fb-2640","👨🏿\200d⚕":"1f468-1f3ff-2695","👨🏾\200d⚕":"1f468-1f3fe-2695","👨🏽\200d⚕":"1f468-1f3fd-2695","👨🏼\200d⚕":"1f468-1f3fc-2695","👨🏻\200d⚕":"1f468-1f3fb-2695","👩🏿\200d⚕":"1f469-1f3ff-2695","👩🏾\200d⚕":"1f469-1f3fe-2695","👩🏽\200d⚕":"1f469-1f3fd-2695","👩🏼\200d⚕":"1f469-1f3fc-2695","👩🏻\200d⚕":"1f469-1f3fb-2695","👨🏻\200d⚖":"1f468-1f3fb-2696","👨🏼\200d⚖":"1f468-1f3fc-2696","👨🏽\200d⚖":"1f468-1f3fd-2696","👨🏾\200d⚖":"1f468-1f3fe-2696","👨🏿\200d⚖":"1f468-1f3ff-2696","👩🏻\200d⚖":"1f469-1f3fb-2696","👩🏼\200d⚖":"1f469-1f3fc-2696","👩🏽\200d⚖":"1f469-1f3fd-2696","👩🏾\200d⚖":"1f469-1f3fe-2696","👩🏿\200d⚖":"1f469-1f3ff-2696","👨🏻\200d✈":"1f468-1f3fb-2708","👨🏼\200d✈":"1f468-1f3fc-2708","👨🏽\200d✈":"1f468-1f3fd-2708","👨🏾\200d✈":"1f468-1f3fe-2708","👨🏿\200d✈":"1f468-1f3ff-2708","👩🏻\200d✈":"1f469-1f3fb-2708","👩🏼\200d✈":"1f469-1f3fc-2708","👩🏽\200d✈":"1f469-1f3fd-2708","👩🏾\200d✈":"1f469-1f3fe-2708","👩🏿\200d✈":"1f469-1f3ff-2708","👨❤️👨":"1f468-2764-1f468","👩❤️👨":"1f469-2764-1f468","👩❤️👩":"1f469-2764-1f469","👨🏻⚕️":"1f468-1f3fb-2695","👨🏻⚖️":"1f468-1f3fb-2696","👨🏻✈️":"1f468-1f3fb-2708","👨🏼⚕️":"1f468-1f3fc-2695","👨🏼⚖️":"1f468-1f3fc-2696","👨🏼✈️":"1f468-1f3fc-2708","👨🏽⚕️":"1f468-1f3fd-2695","👨🏽⚖️":"1f468-1f3fd-2696","👨🏽✈️":"1f468-1f3fd-2708","👨🏾⚕️":"1f468-1f3fe-2695","👨🏾⚖️":"1f468-1f3fe-2696","👨🏾✈️":"1f468-1f3fe-2708","👨🏿⚕️":"1f468-1f3ff-2695","👨🏿⚖️":"1f468-1f3ff-2696","👨🏿✈️":"1f468-1f3ff-2708","👩🏻⚕️":"1f469-1f3fb-2695","👩🏻⚖️":"1f469-1f3fb-2696","👩🏻✈️":"1f469-1f3fb-2708","👩🏼⚕️":"1f469-1f3fc-2695","👩🏼⚖️":"1f469-1f3fc-2696","👩🏼✈️":"1f469-1f3fc-2708","👩🏽⚕️":"1f469-1f3fd-2695","👩🏽⚖️":"1f469-1f3fd-2696","👩🏽✈️":"1f469-1f3fd-2708","👩🏾⚕️":"1f469-1f3fe-2695","👩🏾⚖️":"1f469-1f3fe-2696","👩🏾✈️":"1f469-1f3fe-2708","👩🏿⚕️":"1f469-1f3ff-2695","👩🏿⚖️":"1f469-1f3ff-2696","👩🏿✈️":"1f469-1f3ff-2708","👮🏻♀️":"1f46e-1f3fb-2640","👮🏻♂️":"1f46e-1f3fb-2642","👮🏼♀️":"1f46e-1f3fc-2640","👮🏼♂️":"1f46e-1f3fc-2642","👮🏽♀️":"1f46e-1f3fd-2640","👮🏽♂️":"1f46e-1f3fd-2642","👮🏾♀️":"1f46e-1f3fe-2640","👮🏾♂️":"1f46e-1f3fe-2642","👮🏿♀️":"1f46e-1f3ff-2640","👮🏿♂️":"1f46e-1f3ff-2642","👱🏻♀️":"1f471-1f3fb-2640","👱🏻♂️":"1f471-1f3fb-2642","👱🏼♀️":"1f471-1f3fc-2640","👱🏼♂️":"1f471-1f3fc-2642","👱🏽♀️":"1f471-1f3fd-2640","👱🏽♂️":"1f471-1f3fd-2642","👱🏾♀️":"1f471-1f3fe-2640","👱🏾♂️":"1f471-1f3fe-2642","👱🏿♀️":"1f471-1f3ff-2640","👱🏿♂️":"1f471-1f3ff-2642","👳🏻♀️":"1f473-1f3fb-2640","👳🏻♂️":"1f473-1f3fb-2642","👳🏼♀️":"1f473-1f3fc-2640","👳🏼♂️":"1f473-1f3fc-2642","👳🏽♀️":"1f473-1f3fd-2640","👳🏽♂️":"1f473-1f3fd-2642","👳🏾♀️":"1f473-1f3fe-2640","👳🏾♂️":"1f473-1f3fe-2642","👳🏿♀️":"1f473-1f3ff-2640","👳🏿♂️":"1f473-1f3ff-2642","👷🏻♀️":"1f477-1f3fb-2640","👷🏻♂️":"1f477-1f3fb-2642","👷🏼♀️":"1f477-1f3fc-2640","👷🏼♂️":"1f477-1f3fc-2642","👷🏽♀️":"1f477-1f3fd-2640","👷🏽♂️":"1f477-1f3fd-2642","👷🏾♀️":"1f477-1f3fe-2640","👷🏾♂️":"1f477-1f3fe-2642","👷🏿♀️":"1f477-1f3ff-2640","👷🏿♂️":"1f477-1f3ff-2642","💂🏻♀️":"1f482-1f3fb-2640","💂🏻♂️":"1f482-1f3fb-2642","💂🏼♀️":"1f482-1f3fc-2640","💂🏼♂️":"1f482-1f3fc-2642","💂🏽♀️":"1f482-1f3fd-2640","💂🏽♂️":"1f482-1f3fd-2642","💂🏾♀️":"1f482-1f3fe-2640","💂🏾♂️":"1f482-1f3fe-2642","💂🏿♀️":"1f482-1f3ff-2640","💂🏿♂️":"1f482-1f3ff-2642","🏃🏻♀️":"1f3c3-1f3fb-2640","🏃🏻♂️":"1f3c3-1f3fb-2642","🏃🏼♀️":"1f3c3-1f3fc-2640","🏃🏼♂️":"1f3c3-1f3fc-2642","🏃🏽♀️":"1f3c3-1f3fd-2640","🏃🏽♂️":"1f3c3-1f3fd-2642","🏃🏾♀️":"1f3c3-1f3fe-2640","🏃🏾♂️":"1f3c3-1f3fe-2642","🏃🏿♀️":"1f3c3-1f3ff-2640","🏃🏿♂️":"1f3c3-1f3ff-2642","🏄🏻♀️":"1f3c4-1f3fb-2640","🏄🏻♂️":"1f3c4-1f3fb-2642","🏄🏼♀️":"1f3c4-1f3fc-2640","🏄🏼♂️":"1f3c4-1f3fc-2642","🏄🏽♀️":"1f3c4-1f3fd-2640","🏄🏽♂️":"1f3c4-1f3fd-2642","🏄🏾♀️":"1f3c4-1f3fe-2640","🏄🏾♂️":"1f3c4-1f3fe-2642","🏄🏿♀️":"1f3c4-1f3ff-2640","🏄🏿♂️":"1f3c4-1f3ff-2642","🏊🏻♀️":"1f3ca-1f3fb-2640","🏊🏻♂️":"1f3ca-1f3fb-2642","🏊🏼♀️":"1f3ca-1f3fc-2640","🏊🏼♂️":"1f3ca-1f3fc-2642","🏊🏽♀️":"1f3ca-1f3fd-2640","🏊🏽♂️":"1f3ca-1f3fd-2642","🏊🏾♀️":"1f3ca-1f3fe-2640","🏊🏾♂️":"1f3ca-1f3fe-2642","🏊🏿♀️":"1f3ca-1f3ff-2640","🏊🏿♂️":"1f3ca-1f3ff-2642","💆🏻♀️":"1f486-1f3fb-2640","💆🏻♂️":"1f486-1f3fb-2642","💆🏼♀️":"1f486-1f3fc-2640","💆🏼♂️":"1f486-1f3fc-2642","💆🏽♀️":"1f486-1f3fd-2640","💆🏽♂️":"1f486-1f3fd-2642","💆🏾♀️":"1f486-1f3fe-2640","💆🏾♂️":"1f486-1f3fe-2642","💆🏿♀️":"1f486-1f3ff-2640","💆🏿♂️":"1f486-1f3ff-2642","💇🏻♀️":"1f487-1f3fb-2640","💇🏻♂️":"1f487-1f3fb-2642","💇🏼♀️":"1f487-1f3fc-2640","💇🏼♂️":"1f487-1f3fc-2642","💇🏽♀️":"1f487-1f3fd-2640","💇🏽♂️":"1f487-1f3fd-2642","💇🏾♀️":"1f487-1f3fe-2640","💇🏾♂️":"1f487-1f3fe-2642","💇🏿♀️":"1f487-1f3ff-2640","💇🏿♂️":"1f487-1f3ff-2642","🚣🏻♀️":"1f6a3-1f3fb-2640","🚣🏻♂️":"1f6a3-1f3fb-2642","🚣🏼♀️":"1f6a3-1f3fc-2640","🚣🏼♂️":"1f6a3-1f3fc-2642","🚣🏽♀️":"1f6a3-1f3fd-2640","🚣🏽♂️":"1f6a3-1f3fd-2642","🚣🏾♀️":"1f6a3-1f3fe-2640","🚣🏾♂️":"1f6a3-1f3fe-2642","🚣🏿♀️":"1f6a3-1f3ff-2640","🚣🏿♂️":"1f6a3-1f3ff-2642","🚴🏻♀️":"1f6b4-1f3fb-2640","🚴🏻♂️":"1f6b4-1f3fb-2642","🚴🏼♀️":"1f6b4-1f3fc-2640","🚴🏼♂️":"1f6b4-1f3fc-2642","🚴🏽♀️":"1f6b4-1f3fd-2640","🚴🏽♂️":"1f6b4-1f3fd-2642","🚴🏾♀️":"1f6b4-1f3fe-2640","🚴🏾♂️":"1f6b4-1f3fe-2642","🚴🏿♀️":"1f6b4-1f3ff-2640","🚴🏿♂️":"1f6b4-1f3ff-2642","🚵🏻♀️":"1f6b5-1f3fb-2640","🚵🏻♂️":"1f6b5-1f3fb-2642","🚵🏼♀️":"1f6b5-1f3fc-2640","🚵🏼♂️":"1f6b5-1f3fc-2642","🚵🏽♀️":"1f6b5-1f3fd-2640","🚵🏽♂️":"1f6b5-1f3fd-2642","🚵🏾♀️":"1f6b5-1f3fe-2640","🚵🏾♂️":"1f6b5-1f3fe-2642","🚵🏿♀️":"1f6b5-1f3ff-2640","🚵🏿♂️":"1f6b5-1f3ff-2642","🚶🏻♀️":"1f6b6-1f3fb-2640","🚶🏻♂️":"1f6b6-1f3fb-2642","🚶🏼♀️":"1f6b6-1f3fc-2640","🚶🏼♂️":"1f6b6-1f3fc-2642","🚶🏽♀️":"1f6b6-1f3fd-2640","🚶🏽♂️":"1f6b6-1f3fd-2642","🚶🏾♀️":"1f6b6-1f3fe-2640","🚶🏾♂️":"1f6b6-1f3fe-2642","🚶🏿♀️":"1f6b6-1f3ff-2640","🚶🏿♂️":"1f6b6-1f3ff-2642","🤸🏻♀️":"1f938-1f3fb-2640","🤸🏻♂️":"1f938-1f3fb-2642","🤸🏼♀️":"1f938-1f3fc-2640","🤸🏼♂️":"1f938-1f3fc-2642","🤸🏽♀️":"1f938-1f3fd-2640","🤸🏽♂️":"1f938-1f3fd-2642","🤸🏾♀️":"1f938-1f3fe-2640","🤸🏾♂️":"1f938-1f3fe-2642","🤸🏿♀️":"1f938-1f3ff-2640","🤸🏿♂️":"1f938-1f3ff-2642","🤹🏻♀️":"1f939-1f3fb-2640","🤹🏻♂️":"1f939-1f3fb-2642","🤹🏼♀️":"1f939-1f3fc-2640","🤹🏼♂️":"1f939-1f3fc-2642","🤹🏽♀️":"1f939-1f3fd-2640","🤹🏽♂️":"1f939-1f3fd-2642","🤹🏾♀️":"1f939-1f3fe-2640","🤹🏾♂️":"1f939-1f3fe-2642","🤹🏿♀️":"1f939-1f3ff-2640","🤹🏿♂️":"1f939-1f3ff-2642","🤽🏻♀️":"1f93d-1f3fb-2640","🤽🏻♂️":"1f93d-1f3fb-2642","🤽🏼♀️":"1f93d-1f3fc-2640","🤽🏼♂️":"1f93d-1f3fc-2642","🤽🏽♀️":"1f93d-1f3fd-2640","🤽🏽♂️":"1f93d-1f3fd-2642","🤽🏾♀️":"1f93d-1f3fe-2640","🤽🏾♂️":"1f93d-1f3fe-2642","🤽🏿♀️":"1f93d-1f3ff-2640","🤽🏿♂️":"1f93d-1f3ff-2642","🤾🏻♀️":"1f93e-1f3fb-2640","🤾🏻♂️":"1f93e-1f3fb-2642","🤾🏼♀️":"1f93e-1f3fc-2640","🤾🏼♂️":"1f93e-1f3fc-2642","🤾🏽♀️":"1f93e-1f3fd-2640","🤾🏽♂️":"1f93e-1f3fd-2642","🤾🏾♀️":"1f93e-1f3fe-2640","🤾🏾♂️":"1f93e-1f3fe-2642","🤾🏿♀️":"1f93e-1f3ff-2640","🤾🏿♂️":"1f93e-1f3ff-2642","💁🏻♀️":"1f481-1f3fb-2640","💁🏻♂️":"1f481-1f3fb-2642","💁🏼♀️":"1f481-1f3fc-2640","💁🏼♂️":"1f481-1f3fc-2642","💁🏽♀️":"1f481-1f3fd-2640","💁🏽♂️":"1f481-1f3fd-2642","💁🏾♀️":"1f481-1f3fe-2640","💁🏾♂️":"1f481-1f3fe-2642","💁🏿♀️":"1f481-1f3ff-2640","💁🏿♂️":"1f481-1f3ff-2642","🙅🏻♀️":"1f645-1f3fb-2640","🙅🏻♂️":"1f645-1f3fb-2642","🙅🏼♀️":"1f645-1f3fc-2640","🙅🏼♂️":"1f645-1f3fc-2642","🙅🏽♀️":"1f645-1f3fd-2640","🙅🏽♂️":"1f645-1f3fd-2642","🙅🏾♀️":"1f645-1f3fe-2640","🙅🏾♂️":"1f645-1f3fe-2642","🙅🏿♀️":"1f645-1f3ff-2640","🙅🏿♂️":"1f645-1f3ff-2642","🙆🏻♀️":"1f646-1f3fb-2640","🙆🏻♂️":"1f646-1f3fb-2642","🙆🏼♀️":"1f646-1f3fc-2640","🙆🏼♂️":"1f646-1f3fc-2642","🙆🏽♀️":"1f646-1f3fd-2640","🙆🏽♂️":"1f646-1f3fd-2642","🙆🏾♀️":"1f646-1f3fe-2640","🙆🏾♂️":"1f646-1f3fe-2642","🙆🏿♀️":"1f646-1f3ff-2640","🙆🏿♂️":"1f646-1f3ff-2642","🙇🏻♀️":"1f647-1f3fb-2640","🙇🏻♂️":"1f647-1f3fb-2642","🙇🏼♀️":"1f647-1f3fc-2640","🙇🏼♂️":"1f647-1f3fc-2642","🙇🏽♀️":"1f647-1f3fd-2640","🙇🏽♂️":"1f647-1f3fd-2642","🙇🏾♀️":"1f647-1f3fe-2640","🙇🏾♂️":"1f647-1f3fe-2642","🙇🏿♀️":"1f647-1f3ff-2640","🙇🏿♂️":"1f647-1f3ff-2642","🙋🏻♀️":"1f64b-1f3fb-2640","🙋🏻♂️":"1f64b-1f3fb-2642","🙋🏼♀️":"1f64b-1f3fc-2640","🙋🏼♂️":"1f64b-1f3fc-2642","🙋🏽♀️":"1f64b-1f3fd-2640","🙋🏽♂️":"1f64b-1f3fd-2642","🙋🏾♀️":"1f64b-1f3fe-2640","🙋🏾♂️":"1f64b-1f3fe-2642","🙋🏿♀️":"1f64b-1f3ff-2640","🙋🏿♂️":"1f64b-1f3ff-2642","🙍🏻♀️":"1f64d-1f3fb-2640","🙍🏻♂️":"1f64d-1f3fb-2642","🙍🏼♀️":"1f64d-1f3fc-2640","🙍🏼♂️":"1f64d-1f3fc-2642","🙍🏽♀️":"1f64d-1f3fd-2640","🙍🏽♂️":"1f64d-1f3fd-2642","🙍🏾♀️":"1f64d-1f3fe-2640","🙍🏾♂️":"1f64d-1f3fe-2642","🙍🏿♀️":"1f64d-1f3ff-2640","🙍🏿♂️":"1f64d-1f3ff-2642","🙎🏻♀️":"1f64e-1f3fb-2640","🙎🏻♂️":"1f64e-1f3fb-2642","🙎🏼♀️":"1f64e-1f3fc-2640","🙎🏼♂️":"1f64e-1f3fc-2642","🙎🏽♀️":"1f64e-1f3fd-2640","🙎🏽♂️":"1f64e-1f3fd-2642","🙎🏾♀️":"1f64e-1f3fe-2640","🙎🏾♂️":"1f64e-1f3fe-2642","🙎🏿♀️":"1f64e-1f3ff-2640","🙎🏿♂️":"1f64e-1f3ff-2642","🤦🏻♀️":"1f926-1f3fb-2640","🤦🏻♂️":"1f926-1f3fb-2642","🤦🏼♀️":"1f926-1f3fc-2640","🤦🏼♂️":"1f926-1f3fc-2642","🤦🏽♀️":"1f926-1f3fd-2640","🤦🏽♂️":"1f926-1f3fd-2642","🤦🏾♀️":"1f926-1f3fe-2640","🤦🏾♂️":"1f926-1f3fe-2642","🤦🏿♀️":"1f926-1f3ff-2640","🤦🏿♂️":"1f926-1f3ff-2642","🤷🏻♀️":"1f937-1f3fb-2640","🤷🏻♂️":"1f937-1f3fb-2642","🤷🏼♀️":"1f937-1f3fc-2640","🤷🏼♂️":"1f937-1f3fc-2642","🤷🏽♀️":"1f937-1f3fd-2640","🤷🏽♂️":"1f937-1f3fd-2642","🤷🏾♀️":"1f937-1f3fe-2640","🤷🏾♂️":"1f937-1f3fe-2642","🤷🏿♀️":"1f937-1f3ff-2640","🤷🏿♂️":"1f937-1f3ff-2642","👁️🗨️":"1f441-1f5e8","🧙🏻\200d♀":"1f9d9-1f3fb-2640","🧙🏻♀️":"1f9d9-1f3fb-2640","🧙🏻\200d♂":"1f9d9-1f3fb-2642","🧙🏻♂️":"1f9d9-1f3fb-2642","🧙🏼\200d♀":"1f9d9-1f3fc-2640","🧙🏼♀️":"1f9d9-1f3fc-2640","🧙🏼\200d♂":"1f9d9-1f3fc-2642","🧙🏼♂️":"1f9d9-1f3fc-2642","🧙🏽\200d♀":"1f9d9-1f3fd-2640","🧙🏽♀️":"1f9d9-1f3fd-2640","🧙🏽\200d♂":"1f9d9-1f3fd-2642","🧙🏽♂️":"1f9d9-1f3fd-2642","🧙🏾\200d♀":"1f9d9-1f3fe-2640","🧙🏾♀️":"1f9d9-1f3fe-2640","🧙🏾\200d♂":"1f9d9-1f3fe-2642","🧙🏾♂️":"1f9d9-1f3fe-2642","🧙🏿\200d♀":"1f9d9-1f3ff-2640","🧙🏿♀️":"1f9d9-1f3ff-2640","🧙🏿\200d♂":"1f9d9-1f3ff-2642","🧙🏿♂️":"1f9d9-1f3ff-2642","🧚🏻\200d♀":"1f9da-1f3fb-2640","🧚🏻♀️":"1f9da-1f3fb-2640","🧚🏻\200d♂":"1f9da-1f3fb-2642","🧚🏻♂️":"1f9da-1f3fb-2642","🧚🏼\200d♀":"1f9da-1f3fc-2640","🧚🏼♀️":"1f9da-1f3fc-2640","🧚🏼\200d♂":"1f9da-1f3fc-2642","🧚🏼♂️":"1f9da-1f3fc-2642","🧚🏽\200d♀":"1f9da-1f3fd-2640","🧚🏽♀️":"1f9da-1f3fd-2640","🧚🏽\200d♂":"1f9da-1f3fd-2642","🧚🏽♂️":"1f9da-1f3fd-2642","🧚🏾\200d♀":"1f9da-1f3fe-2640","🧚🏾♀️":"1f9da-1f3fe-2640","🧚🏾\200d♂":"1f9da-1f3fe-2642","🧚🏾♂️":"1f9da-1f3fe-2642","🧚🏿\200d♀":"1f9da-1f3ff-2640","🧚🏿♀️":"1f9da-1f3ff-2640","🧚🏿\200d♂":"1f9da-1f3ff-2642","🧚🏿♂️":"1f9da-1f3ff-2642","🧛🏻\200d♀":"1f9db-1f3fb-2640","🧛🏻♀️":"1f9db-1f3fb-2640","🧛🏻\200d♂":"1f9db-1f3fb-2642","🧛🏻♂️":"1f9db-1f3fb-2642","🧛🏼\200d♀":"1f9db-1f3fc-2640","🧛🏼♀️":"1f9db-1f3fc-2640","🧛🏼\200d♂":"1f9db-1f3fc-2642","🧛🏼♂️":"1f9db-1f3fc-2642","🧛🏽\200d♀":"1f9db-1f3fd-2640","🧛🏽♀️":"1f9db-1f3fd-2640","🧛🏽\200d♂":"1f9db-1f3fd-2642","🧛🏽♂️":"1f9db-1f3fd-2642","🧛🏾\200d♀":"1f9db-1f3fe-2640","🧛🏾♀️":"1f9db-1f3fe-2640","🧛🏾\200d♂":"1f9db-1f3fe-2642","🧛🏾♂️":"1f9db-1f3fe-2642","🧛🏿\200d♀":"1f9db-1f3ff-2640","🧛🏿♀️":"1f9db-1f3ff-2640","🧛🏿\200d♂":"1f9db-1f3ff-2642","🧛🏿♂️":"1f9db-1f3ff-2642","🧜🏻\200d♀":"1f9dc-1f3fb-2640","🧜🏻♀️":"1f9dc-1f3fb-2640","🧜🏻\200d♂":"1f9dc-1f3fb-2642","🧜🏻♂️":"1f9dc-1f3fb-2642","🧜🏼\200d♀":"1f9dc-1f3fc-2640","🧜🏼♀️":"1f9dc-1f3fc-2640","🧜🏼\200d♂":"1f9dc-1f3fc-2642","🧜🏼♂️":"1f9dc-1f3fc-2642","🧜🏽\200d♀":"1f9dc-1f3fd-2640","🧜🏽♀️":"1f9dc-1f3fd-2640","🧜🏽\200d♂":"1f9dc-1f3fd-2642","🧜🏽♂️":"1f9dc-1f3fd-2642","🧜🏾\200d♀":"1f9dc-1f3fe-2640","🧜🏾♀️":"1f9dc-1f3fe-2640","🧜🏾\200d♂":"1f9dc-1f3fe-2642","🧜🏾♂️":"1f9dc-1f3fe-2642","🧜🏿\200d♀":"1f9dc-1f3ff-2640","🧜🏿♀️":"1f9dc-1f3ff-2640","🧜🏿\200d♂":"1f9dc-1f3ff-2642","🧜🏿♂️":"1f9dc-1f3ff-2642","🧝🏻\200d♀":"1f9dd-1f3fb-2640","🧝🏻♀️":"1f9dd-1f3fb-2640","🧝🏻\200d♂":"1f9dd-1f3fb-2642","🧝🏻♂️":"1f9dd-1f3fb-2642","🧝🏼\200d♀":"1f9dd-1f3fc-2640","🧝🏼♀️":"1f9dd-1f3fc-2640","🧝🏼\200d♂":"1f9dd-1f3fc-2642","🧝🏼♂️":"1f9dd-1f3fc-2642","🧝🏽\200d♀":"1f9dd-1f3fd-2640","🧝🏽♀️":"1f9dd-1f3fd-2640","🧝🏽\200d♂":"1f9dd-1f3fd-2642","🧝🏽♂️":"1f9dd-1f3fd-2642","🧝🏾\200d♀":"1f9dd-1f3fe-2640","🧝🏾♀️":"1f9dd-1f3fe-2640","🧝🏾\200d♂":"1f9dd-1f3fe-2642","🧝🏾♂️":"1f9dd-1f3fe-2642","🧝🏿\200d♀":"1f9dd-1f3ff-2640","🧝🏿♀️":"1f9dd-1f3ff-2640","🧝🏿\200d♂":"1f9dd-1f3ff-2642","🧝🏿♂️":"1f9dd-1f3ff-2642","🧖🏻\200d♀":"1f9d6-1f3fb-2640","🧖🏻♀️":"1f9d6-1f3fb-2640","🧖🏻\200d♂":"1f9d6-1f3fb-2642","🧖🏻♂️":"1f9d6-1f3fb-2642","🧖🏼\200d♀":"1f9d6-1f3fc-2640","🧖🏼♀️":"1f9d6-1f3fc-2640","🧖🏼\200d♂":"1f9d6-1f3fc-2642","🧖🏼♂️":"1f9d6-1f3fc-2642","🧖🏽\200d♀":"1f9d6-1f3fd-2640","🧖🏽♀️":"1f9d6-1f3fd-2640","🧖🏽\200d♂":"1f9d6-1f3fd-2642","🧖🏽♂️":"1f9d6-1f3fd-2642","🧖🏾\200d♀":"1f9d6-1f3fe-2640","🧖🏾♀️":"1f9d6-1f3fe-2640","🧖🏾\200d♂":"1f9d6-1f3fe-2642","🧖🏾♂️":"1f9d6-1f3fe-2642","🧖🏿\200d♀":"1f9d6-1f3ff-2640","🧖🏿♀️":"1f9d6-1f3ff-2640","🧖🏿\200d♂":"1f9d6-1f3ff-2642","🧖🏿♂️":"1f9d6-1f3ff-2642","🧗🏻\200d♀":"1f9d7-1f3fb-2640","🧗🏻♀️":"1f9d7-1f3fb-2640","🧗🏻\200d♂":"1f9d7-1f3fb-2642","🧗🏻♂️":"1f9d7-1f3fb-2642","🧗🏼\200d♀":"1f9d7-1f3fc-2640","🧗🏼♀️":"1f9d7-1f3fc-2640","🧗🏼\200d♂":"1f9d7-1f3fc-2642","🧗🏼♂️":"1f9d7-1f3fc-2642","🧗🏽\200d♀":"1f9d7-1f3fd-2640","🧗🏽♀️":"1f9d7-1f3fd-2640","🧗🏽\200d♂":"1f9d7-1f3fd-2642","🧗🏽♂️":"1f9d7-1f3fd-2642","🧗🏾\200d♀":"1f9d7-1f3fe-2640","🧗🏾♀️":"1f9d7-1f3fe-2640","🧗🏾\200d♂":"1f9d7-1f3fe-2642","🧗🏾♂️":"1f9d7-1f3fe-2642","🧗🏿\200d♀":"1f9d7-1f3ff-2640","🧗🏿♀️":"1f9d7-1f3ff-2640","🧗🏿\200d♂":"1f9d7-1f3ff-2642","🧗🏿♂️":"1f9d7-1f3ff-2642","🧘🏻\200d♀":"1f9d8-1f3fb-2640","🧘🏻♀️":"1f9d8-1f3fb-2640","🧘🏻\200d♂":"1f9d8-1f3fb-2642","🧘🏻♂️":"1f9d8-1f3fb-2642","🧘🏼\200d♀":"1f9d8-1f3fc-2640","🧘🏼♀️":"1f9d8-1f3fc-2640","🧘🏼\200d♂":"1f9d8-1f3fc-2642","🧘🏼♂️":"1f9d8-1f3fc-2642","🧘🏽\200d♀":"1f9d8-1f3fd-2640","🧘🏽♀️":"1f9d8-1f3fd-2640","🧘🏽\200d♂":"1f9d8-1f3fd-2642","🧘🏽♂️":"1f9d8-1f3fd-2642","🧘🏾\200d♀":"1f9d8-1f3fe-2640","🧘🏾♀️":"1f9d8-1f3fe-2640","🧘🏾\200d♂":"1f9d8-1f3fe-2642","🧘🏾♂️":"1f9d8-1f3fe-2642","🧘🏿\200d♀":"1f9d8-1f3ff-2640","🧘🏿♀️":"1f9d8-1f3ff-2640","🧘🏿\200d♂":"1f9d8-1f3ff-2642","🧘🏿♂️":"1f9d8-1f3ff-2642","👁\200d🗨️":"1f441-1f5e8","👁️\200d🗨":"1f441-1f5e8","🦸🏻\200d♀":"1f9b8-1f3fb-2640","🦸🏻♀️":"1f9b8-1f3fb-2640","🦸🏻\200d♂":"1f9b8-1f3fb-2642","🦸🏻♂️":"1f9b8-1f3fb-2642","🦸🏼\200d♀":"1f9b8-1f3fc-2640","🦸🏼♀️":"1f9b8-1f3fc-2640","🦸🏼\200d♂":"1f9b8-1f3fc-2642","🦸🏼♂️":"1f9b8-1f3fc-2642","🦸🏽\200d♀":"1f9b8-1f3fd-2640","🦸🏽♀️":"1f9b8-1f3fd-2640","🦸🏽\200d♂":"1f9b8-1f3fd-2642","🦸🏽♂️":"1f9b8-1f3fd-2642","🦸🏾\200d♀":"1f9b8-1f3fe-2640","🦸🏾♀️":"1f9b8-1f3fe-2640","🦸🏾\200d♂":"1f9b8-1f3fe-2642","🦸🏾♂️":"1f9b8-1f3fe-2642","🦸🏿\200d♀":"1f9b8-1f3ff-2640","🦸🏿♀️":"1f9b8-1f3ff-2640","🦸🏿\200d♂":"1f9b8-1f3ff-2642","🦸🏿♂️":"1f9b8-1f3ff-2642","🦹🏻\200d♀":"1f9b9-1f3fb-2640","🦹🏻♀️":"1f9b9-1f3fb-2640","🦹🏻\200d♂":"1f9b9-1f3fb-2642","🦹🏻♂️":"1f9b9-1f3fb-2642","🦹🏼\200d♀":"1f9b9-1f3fc-2640","🦹🏼♀️":"1f9b9-1f3fc-2640","🦹🏼\200d♂":"1f9b9-1f3fc-2642","🦹🏼♂️":"1f9b9-1f3fc-2642","🦹🏽\200d♀":"1f9b9-1f3fd-2640","🦹🏽♀️":"1f9b9-1f3fd-2640","🦹🏽\200d♂":"1f9b9-1f3fd-2642","🦹🏽♂️":"1f9b9-1f3fd-2642","🦹🏾\200d♀":"1f9b9-1f3fe-2640","🦹🏾♀️":"1f9b9-1f3fe-2640","🦹🏾\200d♂":"1f9b9-1f3fe-2642","🦹🏾♂️":"1f9b9-1f3fe-2642","🦹🏿\200d♀":"1f9b9-1f3ff-2640","🦹🏿♀️":"1f9b9-1f3ff-2640","🦹🏿\200d♂":"1f9b9-1f3ff-2642","🦹🏿♂️":"1f9b9-1f3ff-2642","⛹🏿\200d♂":"26f9-1f3ff-2642","⛹🏾\200d♂":"26f9-1f3fe-2642","⛹🏽\200d♂":"26f9-1f3fd-2642","⛹🏼\200d♂":"26f9-1f3fc-2642","⛹🏻\200d♂":"26f9-1f3fb-2642","⛹🏿\200d♀":"26f9-1f3ff-2640","⛹🏾\200d♀":"26f9-1f3fe-2640","⛹🏽\200d♀":"26f9-1f3fd-2640","⛹🏼\200d♀":"26f9-1f3fc-2640","⛹🏻\200d♀":"26f9-1f3fb-2640","👨\200d⚕️":"1f468-2695","👨\200d⚖️":"1f468-2696","👨\200d✈️":"1f468-2708","👩\200d⚕️":"1f469-2695","👩\200d⚖️":"1f469-2696","👩\200d✈️":"1f469-2708","👮\200d♀️":"1f46e-2640","👮\200d♂️":"1f46e-2642","👱\200d♀️":"1f471-2640","👱\200d♂️":"1f471-2642","👳\200d♀️":"1f473-2640","👳\200d♂️":"1f473-2642","👷\200d♀️":"1f477-2640","👷\200d♂️":"1f477-2642","💂\200d♀️":"1f482-2640","💂\200d♂️":"1f482-2642","🕵️♀️":"1f575-2640","🕵️♂️":"1f575-2642","🏃\200d♀️":"1f3c3-2640","🏃\200d♂️":"1f3c3-2642","🏄\200d♀️":"1f3c4-2640","🏄\200d♂️":"1f3c4-2642","🏊\200d♀️":"1f3ca-2640","🏊\200d♂️":"1f3ca-2642","🏋️♀️":"1f3cb-2640","🏋️♂️":"1f3cb-2642","🏌️♀️":"1f3cc-2640","🏌️♂️":"1f3cc-2642","👯\200d♀️":"1f46f-2640","👯\200d♂️":"1f46f-2642","💆\200d♀️":"1f486-2640","💆\200d♂️":"1f486-2642","💇\200d♀️":"1f487-2640","💇\200d♂️":"1f487-2642","🚣\200d♀️":"1f6a3-2640","🚣\200d♂️":"1f6a3-2642","🚴\200d♀️":"1f6b4-2640","🚴\200d♂️":"1f6b4-2642","🚵\200d♀️":"1f6b5-2640","🚵\200d♂️":"1f6b5-2642","🚶\200d♀️":"1f6b6-2640","🚶\200d♂️":"1f6b6-2642","🤸\200d♀️":"1f938-2640","🤸\200d♂️":"1f938-2642","🤹\200d♀️":"1f939-2640","🤹\200d♂️":"1f939-2642","🤼\200d♀️":"1f93c-2640","🤼\200d♂️":"1f93c-2642","🤽\200d♀️":"1f93d-2640","🤽\200d♂️":"1f93d-2642","🤾\200d♀️":"1f93e-2640","🤾\200d♂️":"1f93e-2642","💁\200d♀️":"1f481-2640","💁\200d♂️":"1f481-2642","🙅\200d♀️":"1f645-2640","🙅\200d♂️":"1f645-2642","🙆\200d♀️":"1f646-2640","🙆\200d♂️":"1f646-2642","🙇\200d♀️":"1f647-2640","🙇\200d♂️":"1f647-2642","🙋\200d♀️":"1f64b-2640","🙋\200d♂️":"1f64b-2642","🙍\200d♀️":"1f64d-2640","🙍\200d♂️":"1f64d-2642","🙎\200d♀️":"1f64e-2640","🙎\200d♂️":"1f64e-2642","🤦\200d♀️":"1f926-2640","🤦\200d♂️":"1f926-2642","🤷\200d♀️":"1f937-2640","🤷\200d♂️":"1f937-2642","🧙\200d♀️":"1f9d9-2640","🧙\200d♂️":"1f9d9-2642","🧚\200d♀️":"1f9da-2640","🧚\200d♂️":"1f9da-2642","🧛\200d♀️":"1f9db-2640","🧛\200d♂️":"1f9db-2642","🧜\200d♀️":"1f9dc-2640","🧜\200d♂️":"1f9dc-2642","🧝\200d♀️":"1f9dd-2640","🧝\200d♂️":"1f9dd-2642","🧞\200d♀️":"1f9de-2640","🧞\200d♂️":"1f9de-2642","🧟\200d♀️":"1f9df-2640","🧟\200d♂️":"1f9df-2642","🧖\200d♀️":"1f9d6-2640","🧖\200d♂️":"1f9d6-2642","🧗\200d♀️":"1f9d7-2640","🧗\200d♂️":"1f9d7-2642","🧘\200d♀️":"1f9d8-2640","🧘\200d♂️":"1f9d8-2642","🕵\200d♀️":"1f575-2640","🕵️\200d♀":"1f575-2640","🕵\200d♂️":"1f575-2642","🕵️\200d♂":"1f575-2642","🏋\200d♀️":"1f3cb-2640","🏋️\200d♀":"1f3cb-2640","🏋\200d♂️":"1f3cb-2642","🏋️\200d♂":"1f3cb-2642","🏌\200d♀️":"1f3cc-2640","🏌️\200d♀":"1f3cc-2640","🏌\200d♂️":"1f3cc-2642","🏌️\200d♂":"1f3cc-2642","🦸\200d♀️":"1f9b8-2640","🦸\200d♂️":"1f9b8-2642","🦹\200d♀️":"1f9b9-2640","🦹\200d♂️":"1f9b9-2642","🏴\200d☠️":"1f3f4-2620","⛹️♀️":"26f9-2640","⛹️♂️":"26f9-2642","⛹\200d♀️":"26f9-2640","⛹️\200d♀":"26f9-2640","⛹\200d♂️":"26f9-2642","⛹️\200d♂":"26f9-2642","👨👨👦":"1f468-1f468-1f466","👨👨👧":"1f468-1f468-1f467","👨👩👧":"1f468-1f469-1f467","👩👩👦":"1f469-1f469-1f466","👩👩👧":"1f469-1f469-1f467","👨👦👦":"1f468-1f466-1f466","👨👧👦":"1f468-1f467-1f466","👩👦👦":"1f469-1f466-1f466","👩👧👦":"1f469-1f467-1f466","👩👧👧":"1f469-1f467-1f467","👨🏻🎨":"1f468-1f3fb-1f3a8","👨🏼🎨":"1f468-1f3fc-1f3a8","👨🏽🎨":"1f468-1f3fd-1f3a8","👨🏾🎨":"1f468-1f3fe-1f3a8","👨🏿🎨":"1f468-1f3ff-1f3a8","👩🏻🎨":"1f469-1f3fb-1f3a8","👩🏼🎨":"1f469-1f3fc-1f3a8","👩🏽🎨":"1f469-1f3fd-1f3a8","👩🏾🎨":"1f469-1f3fe-1f3a8","👩🏿🎨":"1f469-1f3ff-1f3a8","👨🏻🚀":"1f468-1f3fb-1f680","👨🏼🚀":"1f468-1f3fc-1f680","👨🏽🚀":"1f468-1f3fd-1f680","👨🏾🚀":"1f468-1f3fe-1f680","👨🏿🚀":"1f468-1f3ff-1f680","👩🏻🚀":"1f469-1f3fb-1f680","👩🏼🚀":"1f469-1f3fc-1f680","👩🏽🚀":"1f469-1f3fd-1f680","👩🏾🚀":"1f469-1f3fe-1f680","👩🏿🚀":"1f469-1f3ff-1f680","👨🏻🚒":"1f468-1f3fb-1f692","👨🏼🚒":"1f468-1f3fc-1f692","👨🏽🚒":"1f468-1f3fd-1f692","👨🏾🚒":"1f468-1f3fe-1f692","👨🏿🚒":"1f468-1f3ff-1f692","👩🏻🚒":"1f469-1f3fb-1f692","👩🏼🚒":"1f469-1f3fc-1f692","👩🏽🚒":"1f469-1f3fd-1f692","👩🏾🚒":"1f469-1f3fe-1f692","👩🏿🚒":"1f469-1f3ff-1f692","👨👩👦":"1f468-1f469-1f466","👨👧👧":"1f468-1f467-1f467","👨🏻🌾":"1f468-1f3fb-1f33e","👨🏻🍳":"1f468-1f3fb-1f373","👨🏻🎓":"1f468-1f3fb-1f393","👨🏻🎤":"1f468-1f3fb-1f3a4","👨🏻🏫":"1f468-1f3fb-1f3eb","👨🏻🏭":"1f468-1f3fb-1f3ed","👨🏻💻":"1f468-1f3fb-1f4bb","👨🏻💼":"1f468-1f3fb-1f4bc","👨🏻🔧":"1f468-1f3fb-1f527","👨🏻🔬":"1f468-1f3fb-1f52c","👨🏼🌾":"1f468-1f3fc-1f33e","👨🏼🍳":"1f468-1f3fc-1f373","👨🏼🎓":"1f468-1f3fc-1f393","👨🏼🎤":"1f468-1f3fc-1f3a4","👨🏼🏫":"1f468-1f3fc-1f3eb","👨🏼🏭":"1f468-1f3fc-1f3ed","👨🏼💻":"1f468-1f3fc-1f4bb","👨🏼💼":"1f468-1f3fc-1f4bc","👨🏼🔧":"1f468-1f3fc-1f527","👨🏼🔬":"1f468-1f3fc-1f52c","👨🏽🌾":"1f468-1f3fd-1f33e","👨🏽🍳":"1f468-1f3fd-1f373","👨🏽🎓":"1f468-1f3fd-1f393","👨🏽🎤":"1f468-1f3fd-1f3a4","👨🏽🏫":"1f468-1f3fd-1f3eb","👨🏽🏭":"1f468-1f3fd-1f3ed","👨🏽💻":"1f468-1f3fd-1f4bb","👨🏽💼":"1f468-1f3fd-1f4bc","👨🏽🔧":"1f468-1f3fd-1f527","👨🏽🔬":"1f468-1f3fd-1f52c","👨🏾🌾":"1f468-1f3fe-1f33e","👨🏾🍳":"1f468-1f3fe-1f373","👨🏾🎓":"1f468-1f3fe-1f393","👨🏾🎤":"1f468-1f3fe-1f3a4","👨🏾🏫":"1f468-1f3fe-1f3eb","👨🏾🏭":"1f468-1f3fe-1f3ed","👨🏾💻":"1f468-1f3fe-1f4bb","👨🏾💼":"1f468-1f3fe-1f4bc","👨🏾🔧":"1f468-1f3fe-1f527","👨🏾🔬":"1f468-1f3fe-1f52c","👨🏿🌾":"1f468-1f3ff-1f33e","👨🏿🍳":"1f468-1f3ff-1f373","👨🏿🎓":"1f468-1f3ff-1f393","👨🏿🎤":"1f468-1f3ff-1f3a4","👨🏿🏫":"1f468-1f3ff-1f3eb","👨🏿🏭":"1f468-1f3ff-1f3ed","👨🏿💻":"1f468-1f3ff-1f4bb","👨🏿💼":"1f468-1f3ff-1f4bc","👨🏿🔧":"1f468-1f3ff-1f527","👨🏿🔬":"1f468-1f3ff-1f52c","👩🏻🌾":"1f469-1f3fb-1f33e","👩🏻🍳":"1f469-1f3fb-1f373","👩🏻🎓":"1f469-1f3fb-1f393","👩🏻🎤":"1f469-1f3fb-1f3a4","👩🏻🏫":"1f469-1f3fb-1f3eb","👩🏻🏭":"1f469-1f3fb-1f3ed","👩🏻💻":"1f469-1f3fb-1f4bb","👩🏻💼":"1f469-1f3fb-1f4bc","👩🏻🔧":"1f469-1f3fb-1f527","👩🏻🔬":"1f469-1f3fb-1f52c","👩🏼🌾":"1f469-1f3fc-1f33e","👩🏼🍳":"1f469-1f3fc-1f373","👩🏼🎓":"1f469-1f3fc-1f393","👩🏼🎤":"1f469-1f3fc-1f3a4","👩🏼🏫":"1f469-1f3fc-1f3eb","👩🏼🏭":"1f469-1f3fc-1f3ed","👩🏼💻":"1f469-1f3fc-1f4bb","👩🏼💼":"1f469-1f3fc-1f4bc","👩🏼🔧":"1f469-1f3fc-1f527","👩🏼🔬":"1f469-1f3fc-1f52c","👩🏽🌾":"1f469-1f3fd-1f33e","👩🏽🍳":"1f469-1f3fd-1f373","👩🏽🎓":"1f469-1f3fd-1f393","👩🏽🎤":"1f469-1f3fd-1f3a4","👩🏽🏫":"1f469-1f3fd-1f3eb","👩🏽🏭":"1f469-1f3fd-1f3ed","👩🏽💻":"1f469-1f3fd-1f4bb","👩🏽💼":"1f469-1f3fd-1f4bc","👩🏽🔧":"1f469-1f3fd-1f527","👩🏽🔬":"1f469-1f3fd-1f52c","👩🏾🌾":"1f469-1f3fe-1f33e","👩🏾🍳":"1f469-1f3fe-1f373","👩🏾🎓":"1f469-1f3fe-1f393","👩🏾🎤":"1f469-1f3fe-1f3a4","👩🏾🏫":"1f469-1f3fe-1f3eb","👩🏾🏭":"1f469-1f3fe-1f3ed","👩🏾💻":"1f469-1f3fe-1f4bb","👩🏾💼":"1f469-1f3fe-1f4bc","👩🏾🔧":"1f469-1f3fe-1f527","👩🏾🔬":"1f469-1f3fe-1f52c","👩🏿🌾":"1f469-1f3ff-1f33e","👩🏿🍳":"1f469-1f3ff-1f373","👩🏿🎓":"1f469-1f3ff-1f393","👩🏿🎤":"1f469-1f3ff-1f3a4","👩🏿🏫":"1f469-1f3ff-1f3eb","👩🏿🏭":"1f469-1f3ff-1f3ed","👩🏿💻":"1f469-1f3ff-1f4bb","👩🏿💼":"1f469-1f3ff-1f4bc","👩🏿🔧":"1f469-1f3ff-1f527","👩🏿🔬":"1f469-1f3ff-1f52c","👨🏻🦰":"1f468-1f3fb-1f9b0","👨🏻🦱":"1f468-1f3fb-1f9b1","👨🏻🦲":"1f468-1f3fb-1f9b2","👨🏻🦳":"1f468-1f3fb-1f9b3","👨🏼🦰":"1f468-1f3fc-1f9b0","👨🏼🦱":"1f468-1f3fc-1f9b1","👨🏼🦲":"1f468-1f3fc-1f9b2","👨🏼🦳":"1f468-1f3fc-1f9b3","👨🏽🦰":"1f468-1f3fd-1f9b0","👨🏽🦱":"1f468-1f3fd-1f9b1","👨🏽🦲":"1f468-1f3fd-1f9b2","👨🏽🦳":"1f468-1f3fd-1f9b3","👨🏾🦰":"1f468-1f3fe-1f9b0","👨🏾🦱":"1f468-1f3fe-1f9b1","👨🏾🦲":"1f468-1f3fe-1f9b2","👨🏾🦳":"1f468-1f3fe-1f9b3","👨🏿🦰":"1f468-1f3ff-1f9b0","👨🏿🦱":"1f468-1f3ff-1f9b1","👨🏿🦲":"1f468-1f3ff-1f9b2","👨🏿🦳":"1f468-1f3ff-1f9b3","👩🏻🦰":"1f469-1f3fb-1f9b0","👩🏻🦱":"1f469-1f3fb-1f9b1","👩🏻🦲":"1f469-1f3fb-1f9b2","👩🏻🦳":"1f469-1f3fb-1f9b3","👩🏼🦰":"1f469-1f3fc-1f9b0","👩🏼🦱":"1f469-1f3fc-1f9b1","👩🏼🦲":"1f469-1f3fc-1f9b2","👩🏼🦳":"1f469-1f3fc-1f9b3","👩🏽🦰":"1f469-1f3fd-1f9b0","👩🏽🦱":"1f469-1f3fd-1f9b1","👩🏽🦲":"1f469-1f3fd-1f9b2","👩🏽🦳":"1f469-1f3fd-1f9b3","👩🏾🦰":"1f469-1f3fe-1f9b0","👩🏾🦱":"1f469-1f3fe-1f9b1","👩🏾🦲":"1f469-1f3fe-1f9b2","👩🏾🦳":"1f469-1f3fe-1f9b3","👩🏿🦰":"1f469-1f3ff-1f9b0","👩🏿🦱":"1f469-1f3ff-1f9b1","👩🏿🦲":"1f469-1f3ff-1f9b2","👩🏿🦳":"1f469-1f3ff-1f9b3","👁\200d🗨":"1f441-1f5e8","👨\200d💻":"1f468-1f4bb","👩\200d💻":"1f469-1f4bb","👨\200d🏫":"1f468-1f3eb","👩\200d🏫":"1f469-1f3eb","👨\200d🎓":"1f468-1f393","👩\200d🎓":"1f469-1f393","👨\200d🎤":"1f468-1f3a4","👩\200d🎤":"1f469-1f3a4","👨\200d🔬":"1f468-1f52c","👩\200d🔬":"1f469-1f52c","👨\200d💼":"1f468-1f4bc","👩\200d💼":"1f469-1f4bc","👨\200d🔧":"1f468-1f527","👩\200d🔧":"1f469-1f527","👨\200d🏭":"1f468-1f3ed","👩\200d🏭":"1f469-1f3ed","👨\200d🍳":"1f468-1f373","👩\200d🍳":"1f469-1f373","👨\200d🌾":"1f468-1f33e","👩\200d🌾":"1f469-1f33e","👨\200d👦":"1f468-1f466","👨\200d👧":"1f468-1f467","👩\200d👦":"1f469-1f466","👩\200d👧":"1f469-1f467","👨\200d🎨":"1f468-1f3a8","👩\200d🎨":"1f469-1f3a8","👨\200d🚀":"1f468-1f680","👩\200d🚀":"1f469-1f680","👨\200d🚒":"1f468-1f692","👩\200d🚒":"1f469-1f692","🏋️🏻":"1f3cb-1f3fb","🏋️🏼":"1f3cb-1f3fc","🏋️🏽":"1f3cb-1f3fd","🏋️🏾":"1f3cb-1f3fe","🏋️🏿":"1f3cb-1f3ff","🏌️🏻":"1f3cc-1f3fb","🏌️🏼":"1f3cc-1f3fc","🏌️🏽":"1f3cc-1f3fd","🏌️🏾":"1f3cc-1f3fe","🏌️🏿":"1f3cc-1f3ff","🕴️🏻":"1f574-1f3fb","🕴️🏼":"1f574-1f3fc","🕴️🏽":"1f574-1f3fd","🕴️🏾":"1f574-1f3fe","🕴️🏿":"1f574-1f3ff","🕵️🏻":"1f575-1f3fb","🕵️🏼":"1f575-1f3fc","🕵️🏽":"1f575-1f3fd","🕵️🏾":"1f575-1f3fe","🕵️🏿":"1f575-1f3ff","🖐️🏻":"1f590-1f3fb","🖐️🏼":"1f590-1f3fc","🖐️🏽":"1f590-1f3fd","🖐️🏾":"1f590-1f3fe","🖐️🏿":"1f590-1f3ff","🏳\200d🌈":"1f3f3-1f308","🏳️🌈":"1f3f3-1f308","👨\200d🦰":"1f468-1f9b0","👨\200d🦱":"1f468-1f9b1","👨\200d🦲":"1f468-1f9b2","👨\200d🦳":"1f468-1f9b3","👩\200d🦰":"1f469-1f9b0","👩\200d🦱":"1f469-1f9b1","👩\200d🦲":"1f469-1f9b2","👩\200d🦳":"1f469-1f9b3","👯\200d♂":"1f46f-2642","👯\200d♀":"1f46f-2640","🤼\200d♂":"1f93c-2642","🤼\200d♀":"1f93c-2640","🤹\200d♂":"1f939-2642","🤹\200d♀":"1f939-2640","🤾\200d♂":"1f93e-2642","🤾\200d♀":"1f93e-2640","🤽\200d♂":"1f93d-2642","🤽\200d♀":"1f93d-2640","🤸\200d♂":"1f938-2642","🤸\200d♀":"1f938-2640","🚶\200d♂":"1f6b6-2642","🚶\200d♀":"1f6b6-2640","🚵\200d♂":"1f6b5-2642","🚵\200d♀":"1f6b5-2640","🚴\200d♂":"1f6b4-2642","🚴\200d♀":"1f6b4-2640","🚣\200d♂":"1f6a3-2642","🚣\200d♀":"1f6a3-2640","🏊\200d♂":"1f3ca-2642","🏊\200d♀":"1f3ca-2640","🏄\200d♂":"1f3c4-2642","🏄\200d♀":"1f3c4-2640","🏃\200d♂":"1f3c3-2642","🏃\200d♀":"1f3c3-2640","🤷\200d♂":"1f937-2642","🤷\200d♀":"1f937-2640","🤦\200d♂":"1f926-2642","🤦\200d♀":"1f926-2640","🙎\200d♂":"1f64e-2642","🙎\200d♀":"1f64e-2640","🙍\200d♂":"1f64d-2642","🙍\200d♀":"1f64d-2640","🙋\200d♂":"1f64b-2642","🙋\200d♀":"1f64b-2640","🙇\200d♂":"1f647-2642","🙇\200d♀":"1f647-2640","🙆\200d♂":"1f646-2642","🙆\200d♀":"1f646-2640","🙅\200d♂":"1f645-2642","🙅\200d♀":"1f645-2640","💇\200d♂":"1f487-2642","💇\200d♀":"1f487-2640","💆\200d♂":"1f486-2642","💆\200d♀":"1f486-2640","💁\200d♂":"1f481-2642","💁\200d♀":"1f481-2640","👱\200d♂":"1f471-2642","👱\200d♀":"1f471-2640","👳\200d♂":"1f473-2642","👳\200d♀":"1f473-2640","💂\200d♂":"1f482-2642","💂\200d♀":"1f482-2640","👷\200d♂":"1f477-2642","👷\200d♀":"1f477-2640","👮\200d♂":"1f46e-2642","👮\200d♀":"1f46e-2640","👨\200d⚕":"1f468-2695","👩\200d⚕":"1f469-2695","👨\200d⚖":"1f468-2696","👩\200d⚖":"1f469-2696","👨\200d✈":"1f468-2708","👩\200d✈":"1f469-2708","☝️🏻":"261d-1f3fb","☝️🏼":"261d-1f3fc","☝️🏽":"261d-1f3fd","☝️🏾":"261d-1f3fe","☝️🏿":"261d-1f3ff","⛹️🏻":"26f9-1f3fb","⛹️🏼":"26f9-1f3fc","⛹️🏽":"26f9-1f3fd","⛹️🏾":"26f9-1f3fe","⛹️🏿":"26f9-1f3ff","✌️🏻":"270c-1f3fb","✌️🏼":"270c-1f3fc","✌️🏽":"270c-1f3fd","✌️🏾":"270c-1f3fe","✌️🏿":"270c-1f3ff","✍️🏻":"270d-1f3fb","✍️🏼":"270d-1f3fc","✍️🏽":"270d-1f3fd","✍️🏾":"270d-1f3fe","✍️🏿":"270d-1f3ff","👨⚕️":"1f468-2695","👨⚖️":"1f468-2696","👨✈️":"1f468-2708","👩⚕️":"1f469-2695","👩⚖️":"1f469-2696","👩✈️":"1f469-2708","👮♀️":"1f46e-2640","👮♂️":"1f46e-2642","👱♀️":"1f471-2640","👱♂️":"1f471-2642","👳♀️":"1f473-2640","👳♂️":"1f473-2642","👷♀️":"1f477-2640","👷♂️":"1f477-2642","💂♀️":"1f482-2640","💂♂️":"1f482-2642","🕵\200d♀":"1f575-2640","🕵\200d♂":"1f575-2642","🏃♀️":"1f3c3-2640","🏃♂️":"1f3c3-2642","🏄♀️":"1f3c4-2640","🏄♂️":"1f3c4-2642","🏊♀️":"1f3ca-2640","🏊♂️":"1f3ca-2642","🏋\200d♀":"1f3cb-2640","🏋\200d♂":"1f3cb-2642","🏌\200d♀":"1f3cc-2640","🏌\200d♂":"1f3cc-2642","👯♀️":"1f46f-2640","👯♂️":"1f46f-2642","💆♀️":"1f486-2640","💆♂️":"1f486-2642","💇♀️":"1f487-2640","💇♂️":"1f487-2642","🚣♀️":"1f6a3-2640","🚣♂️":"1f6a3-2642","🚴♀️":"1f6b4-2640","🚴♂️":"1f6b4-2642","🚵♀️":"1f6b5-2640","🚵♂️":"1f6b5-2642","🚶♀️":"1f6b6-2640","🚶♂️":"1f6b6-2642","🤸♀️":"1f938-2640","🤸♂️":"1f938-2642","🤹♀️":"1f939-2640","🤹♂️":"1f939-2642","🤼♀️":"1f93c-2640","🤼♂️":"1f93c-2642","🤽♀️":"1f93d-2640","🤽♂️":"1f93d-2642","🤾♀️":"1f93e-2640","🤾♂️":"1f93e-2642","💁♀️":"1f481-2640","💁♂️":"1f481-2642","🙅♀️":"1f645-2640","🙅♂️":"1f645-2642","🙆♀️":"1f646-2640","🙆♂️":"1f646-2642","🙇♀️":"1f647-2640","🙇♂️":"1f647-2642","🙋♀️":"1f64b-2640","🙋♂️":"1f64b-2642","🙍♀️":"1f64d-2640","🙍♂️":"1f64d-2642","🙎♀️":"1f64e-2640","🙎♂️":"1f64e-2642","🤦♀️":"1f926-2640","🤦♂️":"1f926-2642","🤷♀️":"1f937-2640","🤷♂️":"1f937-2642","🧙\200d♀":"1f9d9-2640","🧙♀️":"1f9d9-2640","🧙\200d♂":"1f9d9-2642","🧙♂️":"1f9d9-2642","🧚\200d♀":"1f9da-2640","🧚♀️":"1f9da-2640","🧚\200d♂":"1f9da-2642","🧚♂️":"1f9da-2642","🧛\200d♀":"1f9db-2640","🧛♀️":"1f9db-2640","🧛\200d♂":"1f9db-2642","🧛♂️":"1f9db-2642","🧜\200d♀":"1f9dc-2640","🧜♀️":"1f9dc-2640","🧜\200d♂":"1f9dc-2642","🧜♂️":"1f9dc-2642","🧝\200d♀":"1f9dd-2640","🧝♀️":"1f9dd-2640","🧝\200d♂":"1f9dd-2642","🧝♂️":"1f9dd-2642","🧞\200d♀":"1f9de-2640","🧞♀️":"1f9de-2640","🧞\200d♂":"1f9de-2642","🧞♂️":"1f9de-2642","🧟\200d♀":"1f9df-2640","🧟♀️":"1f9df-2640","🧟\200d♂":"1f9df-2642","🧟♂️":"1f9df-2642","🧖\200d♀":"1f9d6-2640","🧖♀️":"1f9d6-2640","🧖\200d♂":"1f9d6-2642","🧖♂️":"1f9d6-2642","🧗\200d♀":"1f9d7-2640","🧗♀️":"1f9d7-2640","🧗\200d♂":"1f9d7-2642","🧗♂️":"1f9d7-2642","🧘\200d♀":"1f9d8-2640","🧘♀️":"1f9d8-2640","🧘\200d♂":"1f9d8-2642","🧘♂️":"1f9d8-2642","🦸\200d♀":"1f9b8-2640","🦸♀️":"1f9b8-2640","🦸\200d♂":"1f9b8-2642","🦸♂️":"1f9b8-2642","🦹\200d♀":"1f9b9-2640","🦹♀️":"1f9b9-2640","🦹\200d♂":"1f9b9-2642","🦹♂️":"1f9b9-2642","🏴\200d☠":"1f3f4-2620","🏴☠️":"1f3f4-2620","#️⃣":"0023-20e3","0️⃣":"0030-20e3","1️⃣":"0031-20e3","2️⃣":"0032-20e3","3️⃣":"0033-20e3","4️⃣":"0034-20e3","5️⃣":"0035-20e3","6️⃣":"0036-20e3","7️⃣":"0037-20e3","8️⃣":"0038-20e3","9️⃣":"0039-20e3","*️⃣":"002a-20e3","⛹\200d♀":"26f9-2640","⛹\200d♂":"26f9-2642","🇨🇳":"1f1e8-1f1f3","🇩🇪":"1f1e9-1f1ea","🇪🇸":"1f1ea-1f1f8","🇫🇷":"1f1eb-1f1f7","🇬🇧":"1f1ec-1f1e7","🇮🇹":"1f1ee-1f1f9","🇯🇵":"1f1ef-1f1f5","🇰🇷":"1f1f0-1f1f7","🇺🇸":"1f1fa-1f1f8","🇷🇺":"1f1f7-1f1fa","🤴🏻":"1f934-1f3fb","🤴🏼":"1f934-1f3fc","🤴🏽":"1f934-1f3fd","🤴🏾":"1f934-1f3fe","🤴🏿":"1f934-1f3ff","🤶🏻":"1f936-1f3fb","🤶🏼":"1f936-1f3fc","🤶🏽":"1f936-1f3fd","🤶🏾":"1f936-1f3fe","🤶🏿":"1f936-1f3ff","🤵🏻":"1f935-1f3fb","🤵🏼":"1f935-1f3fc","🤵🏽":"1f935-1f3fd","🤵🏾":"1f935-1f3fe","🤵🏿":"1f935-1f3ff","🤷🏻":"1f937-1f3fb","🤷🏼":"1f937-1f3fc","🤷🏽":"1f937-1f3fd","🤷🏾":"1f937-1f3fe","🤷🏿":"1f937-1f3ff","🤦🏻":"1f926-1f3fb","🤦🏼":"1f926-1f3fc","🤦🏽":"1f926-1f3fd","🤦🏾":"1f926-1f3fe","🤦🏿":"1f926-1f3ff","🤰🏻":"1f930-1f3fb","🤰🏼":"1f930-1f3fc","🤰🏽":"1f930-1f3fd","🤰🏾":"1f930-1f3fe","🤰🏿":"1f930-1f3ff","🕺🏻":"1f57a-1f3fb","🕺🏼":"1f57a-1f3fc","🕺🏽":"1f57a-1f3fd","🕺🏾":"1f57a-1f3fe","🕺🏿":"1f57a-1f3ff","🤳🏻":"1f933-1f3fb","🤳🏼":"1f933-1f3fc","🤳🏽":"1f933-1f3fd","🤳🏾":"1f933-1f3fe","🤳🏿":"1f933-1f3ff","🤞🏻":"1f91e-1f3fb","🤞🏼":"1f91e-1f3fc","🤞🏽":"1f91e-1f3fd","🤞🏾":"1f91e-1f3fe","🤞🏿":"1f91e-1f3ff","🤙🏻":"1f919-1f3fb","🤙🏼":"1f919-1f3fc","🤙🏽":"1f919-1f3fd","🇦🇫":"1f1e6-1f1eb","🇦🇱":"1f1e6-1f1f1","🇩🇿":"1f1e9-1f1ff","🇦🇩":"1f1e6-1f1e9","🇦🇴":"1f1e6-1f1f4","🇦🇬":"1f1e6-1f1ec","🇦🇷":"1f1e6-1f1f7","🇦🇲":"1f1e6-1f1f2","🇦🇺":"1f1e6-1f1fa","🇦🇹":"1f1e6-1f1f9","🇦🇿":"1f1e6-1f1ff","🇧🇸":"1f1e7-1f1f8","🇧🇭":"1f1e7-1f1ed","🇧🇩":"1f1e7-1f1e9","🇧🇧":"1f1e7-1f1e7","🇧🇾":"1f1e7-1f1fe","🇧🇪":"1f1e7-1f1ea","🇧🇿":"1f1e7-1f1ff","🇧🇯":"1f1e7-1f1ef","🇧🇹":"1f1e7-1f1f9","🇧🇴":"1f1e7-1f1f4","🇧🇦":"1f1e7-1f1e6","🇧🇼":"1f1e7-1f1fc","🇧🇷":"1f1e7-1f1f7","🇧🇳":"1f1e7-1f1f3","🇧🇬":"1f1e7-1f1ec","🇧🇫":"1f1e7-1f1eb","🇧🇮":"1f1e7-1f1ee","🇰🇭":"1f1f0-1f1ed","🇨🇲":"1f1e8-1f1f2","🇨🇦":"1f1e8-1f1e6","🇨🇻":"1f1e8-1f1fb","🤙🏾":"1f919-1f3fe","🇨🇫":"1f1e8-1f1eb","🇹🇩":"1f1f9-1f1e9","🇨🇱":"1f1e8-1f1f1","🇨🇴":"1f1e8-1f1f4","🇰🇲":"1f1f0-1f1f2","🇨🇷":"1f1e8-1f1f7","🇨🇮":"1f1e8-1f1ee","🇭🇷":"1f1ed-1f1f7","🇨🇺":"1f1e8-1f1fa","🇨🇾":"1f1e8-1f1fe","🇨🇿":"1f1e8-1f1ff","🤙🏿":"1f919-1f3ff","🇨🇩":"1f1e8-1f1e9","🤛🏻":"1f91b-1f3fb","🇩🇰":"1f1e9-1f1f0","🇩🇯":"1f1e9-1f1ef","🇩🇲":"1f1e9-1f1f2","🇩🇴":"1f1e9-1f1f4","🇹🇱":"1f1f9-1f1f1","🇪🇨":"1f1ea-1f1e8","🇪🇬":"1f1ea-1f1ec","🇸🇻":"1f1f8-1f1fb","🇬🇶":"1f1ec-1f1f6","🇪🇷":"1f1ea-1f1f7","🇪🇪":"1f1ea-1f1ea","🇪🇹":"1f1ea-1f1f9","🤛🏼":"1f91b-1f3fc","🇫🇯":"1f1eb-1f1ef","🇫🇮":"1f1eb-1f1ee","🇬🇦":"1f1ec-1f1e6","🇬🇲":"1f1ec-1f1f2","🇬🇪":"1f1ec-1f1ea","🇬🇭":"1f1ec-1f1ed","🇬🇷":"1f1ec-1f1f7","🇬🇩":"1f1ec-1f1e9","🇬🇹":"1f1ec-1f1f9","🇬🇳":"1f1ec-1f1f3","🇬🇼":"1f1ec-1f1fc","🇬🇾":"1f1ec-1f1fe","🇭🇹":"1f1ed-1f1f9","🇭🇳":"1f1ed-1f1f3","🇭🇺":"1f1ed-1f1fa","🇮🇸":"1f1ee-1f1f8","🇮🇳":"1f1ee-1f1f3","🇮🇩":"1f1ee-1f1e9","🇮🇷":"1f1ee-1f1f7","🇮🇶":"1f1ee-1f1f6","🇮🇪":"1f1ee-1f1ea","🇮🇱":"1f1ee-1f1f1","🇯🇲":"1f1ef-1f1f2","🇯🇴":"1f1ef-1f1f4","🇰🇿":"1f1f0-1f1ff","🇰🇪":"1f1f0-1f1ea","🇰🇮":"1f1f0-1f1ee","🇽🇰":"1f1fd-1f1f0","🇰🇼":"1f1f0-1f1fc","🇰🇬":"1f1f0-1f1ec","🤛🏽":"1f91b-1f3fd","🇱🇦":"1f1f1-1f1e6","🇱🇻":"1f1f1-1f1fb","🇱🇧":"1f1f1-1f1e7","🇱🇸":"1f1f1-1f1f8","🇱🇷":"1f1f1-1f1f7","🇱🇾":"1f1f1-1f1fe","🇱🇮":"1f1f1-1f1ee","🇱🇹":"1f1f1-1f1f9","🇱🇺":"1f1f1-1f1fa","🇲🇰":"1f1f2-1f1f0","🇲🇬":"1f1f2-1f1ec","🇲🇼":"1f1f2-1f1fc","🇲🇾":"1f1f2-1f1fe","🇲🇻":"1f1f2-1f1fb","🇲🇱":"1f1f2-1f1f1","🇲🇹":"1f1f2-1f1f9","🇲🇭":"1f1f2-1f1ed","🇲🇷":"1f1f2-1f1f7","🇲🇺":"1f1f2-1f1fa","🇲🇽":"1f1f2-1f1fd","🇫🇲":"1f1eb-1f1f2","🇲🇩":"1f1f2-1f1e9","🇲🇨":"1f1f2-1f1e8","🇲🇳":"1f1f2-1f1f3","🇲🇪":"1f1f2-1f1ea","🇲🇦":"1f1f2-1f1e6","🇲🇿":"1f1f2-1f1ff","🇲🇲":"1f1f2-1f1f2","🇳🇦":"1f1f3-1f1e6","🇳🇷":"1f1f3-1f1f7","🇳🇵":"1f1f3-1f1f5","🇳🇱":"1f1f3-1f1f1","🇳🇿":"1f1f3-1f1ff","🇳🇮":"1f1f3-1f1ee","🇳🇪":"1f1f3-1f1ea","🇳🇬":"1f1f3-1f1ec","🇰🇵":"1f1f0-1f1f5","🇳🇴":"1f1f3-1f1f4","🇴🇲":"1f1f4-1f1f2","🇵🇰":"1f1f5-1f1f0","🇵🇼":"1f1f5-1f1fc","🇵🇦":"1f1f5-1f1e6","🇵🇬":"1f1f5-1f1ec","🤛🏾":"1f91b-1f3fe","🇵🇾":"1f1f5-1f1fe","🇵🇪":"1f1f5-1f1ea","🇵🇭":"1f1f5-1f1ed","🇵🇱":"1f1f5-1f1f1","🇵🇹":"1f1f5-1f1f9","🇶🇦":"1f1f6-1f1e6","🇹🇼":"1f1f9-1f1fc","🇨🇬":"1f1e8-1f1ec","🇷🇴":"1f1f7-1f1f4","🇷🇼":"1f1f7-1f1fc","🇰🇳":"1f1f0-1f1f3","🇱🇨":"1f1f1-1f1e8","🇻🇨":"1f1fb-1f1e8","🇼🇸":"1f1fc-1f1f8","🇸🇲":"1f1f8-1f1f2","🇸🇹":"1f1f8-1f1f9","🇸🇦":"1f1f8-1f1e6","🤛🏿":"1f91b-1f3ff","🇸🇳":"1f1f8-1f1f3","🇷🇸":"1f1f7-1f1f8","🇸🇨":"1f1f8-1f1e8","🇸🇱":"1f1f8-1f1f1","🇸🇬":"1f1f8-1f1ec","🇸🇰":"1f1f8-1f1f0","🇸🇮":"1f1f8-1f1ee","🇸🇧":"1f1f8-1f1e7","🇸🇴":"1f1f8-1f1f4","🇿🇦":"1f1ff-1f1e6","🇱🇰":"1f1f1-1f1f0","🇸🇩":"1f1f8-1f1e9","🇸🇷":"1f1f8-1f1f7","🇸🇿":"1f1f8-1f1ff","🇸🇪":"1f1f8-1f1ea","🇨🇭":"1f1e8-1f1ed","🇸🇾":"1f1f8-1f1fe","🇹🇯":"1f1f9-1f1ef","🇹🇿":"1f1f9-1f1ff","🇹🇭":"1f1f9-1f1ed","🇹🇬":"1f1f9-1f1ec","🇹🇴":"1f1f9-1f1f4","🇹🇹":"1f1f9-1f1f9","🇹🇳":"1f1f9-1f1f3","🇹🇷":"1f1f9-1f1f7","🇹🇲":"1f1f9-1f1f2","🇹🇻":"1f1f9-1f1fb","🇺🇬":"1f1fa-1f1ec","🇺🇦":"1f1fa-1f1e6","🇦🇪":"1f1e6-1f1ea","🇺🇾":"1f1fa-1f1fe","🇺🇿":"1f1fa-1f1ff","🇻🇺":"1f1fb-1f1fa","🇻🇦":"1f1fb-1f1e6","🇻🇪":"1f1fb-1f1ea","🇻🇳":"1f1fb-1f1f3","🇪🇭":"1f1ea-1f1ed","🤜🏻":"1f91c-1f3fb","🇾🇪":"1f1fe-1f1ea","🇿🇲":"1f1ff-1f1f2","🇿🇼":"1f1ff-1f1fc","🇵🇷":"1f1f5-1f1f7","🇰🇾":"1f1f0-1f1fe","🇧🇲":"1f1e7-1f1f2","🇵🇫":"1f1f5-1f1eb","🇵🇸":"1f1f5-1f1f8","🇳🇨":"1f1f3-1f1e8","🤜🏼":"1f91c-1f3fc","🇸🇭":"1f1f8-1f1ed","🇦🇼":"1f1e6-1f1fc","🇻🇮":"1f1fb-1f1ee","🇭🇰":"1f1ed-1f1f0","🇦🇨":"1f1e6-1f1e8","🇲🇸":"1f1f2-1f1f8","🇬🇺":"1f1ec-1f1fa","🇬🇱":"1f1ec-1f1f1","🇳🇺":"1f1f3-1f1fa","🇼🇫":"1f1fc-1f1eb","🇲🇴":"1f1f2-1f1f4","🤜🏽":"1f91c-1f3fd","🇫🇴":"1f1eb-1f1f4","🇫🇰":"1f1eb-1f1f0","🇯🇪":"1f1ef-1f1ea","🇦🇮":"1f1e6-1f1ee","🇬🇮":"1f1ec-1f1ee","🤜🏾":"1f91c-1f3fe","🤜🏿":"1f91c-1f3ff","🤚🏻":"1f91a-1f3fb","🤚🏼":"1f91a-1f3fc","🤚🏽":"1f91a-1f3fd","🤚🏾":"1f91a-1f3fe","👶🏻":"1f476-1f3fb","👶🏼":"1f476-1f3fc","👶🏽":"1f476-1f3fd","👶🏾":"1f476-1f3fe","👶🏿":"1f476-1f3ff","👦🏻":"1f466-1f3fb","👦🏼":"1f466-1f3fc","👦🏽":"1f466-1f3fd","👦🏾":"1f466-1f3fe","👦🏿":"1f466-1f3ff","👧🏻":"1f467-1f3fb","👧🏼":"1f467-1f3fc","👧🏽":"1f467-1f3fd","👧🏾":"1f467-1f3fe","👧🏿":"1f467-1f3ff","👨🏻":"1f468-1f3fb","👨🏼":"1f468-1f3fc","👨🏽":"1f468-1f3fd","👨🏾":"1f468-1f3fe","👨🏿":"1f468-1f3ff","👩🏻":"1f469-1f3fb","👩🏼":"1f469-1f3fc","👩🏽":"1f469-1f3fd","👩🏾":"1f469-1f3fe","👩🏿":"1f469-1f3ff","👰🏻":"1f470-1f3fb","👰🏼":"1f470-1f3fc","🤚🏿":"1f91a-1f3ff","👰🏽":"1f470-1f3fd","👰🏾":"1f470-1f3fe","👰🏿":"1f470-1f3ff","👱🏻":"1f471-1f3fb","👱🏼":"1f471-1f3fc","👱🏽":"1f471-1f3fd","👱🏾":"1f471-1f3fe","👱🏿":"1f471-1f3ff","👲🏻":"1f472-1f3fb","👲🏼":"1f472-1f3fc","👲🏽":"1f472-1f3fd","👲🏾":"1f472-1f3fe","👲🏿":"1f472-1f3ff","👳🏻":"1f473-1f3fb","👳🏼":"1f473-1f3fc","👳🏽":"1f473-1f3fd","👳🏾":"1f473-1f3fe","👳🏿":"1f473-1f3ff","👴🏻":"1f474-1f3fb","👴🏼":"1f474-1f3fc","👴🏽":"1f474-1f3fd","👴🏾":"1f474-1f3fe","👴🏿":"1f474-1f3ff","👵🏻":"1f475-1f3fb","👵🏼":"1f475-1f3fc","👵🏽":"1f475-1f3fd","👵🏾":"1f475-1f3fe","👵🏿":"1f475-1f3ff","👮🏻":"1f46e-1f3fb","👮🏼":"1f46e-1f3fc","👮🏽":"1f46e-1f3fd","👮🏾":"1f46e-1f3fe","👮🏿":"1f46e-1f3ff","👷🏻":"1f477-1f3fb","👷🏼":"1f477-1f3fc","👷🏽":"1f477-1f3fd","👷🏾":"1f477-1f3fe","👷🏿":"1f477-1f3ff","👸🏻":"1f478-1f3fb","👸🏼":"1f478-1f3fc","👸🏽":"1f478-1f3fd","👸🏾":"1f478-1f3fe","🤸🏻":"1f938-1f3fb","👸🏿":"1f478-1f3ff","💂🏻":"1f482-1f3fb","💂🏼":"1f482-1f3fc","🤸🏼":"1f938-1f3fc","💂🏽":"1f482-1f3fd","💂🏾":"1f482-1f3fe","💂🏿":"1f482-1f3ff","🤸🏽":"1f938-1f3fd","👼🏻":"1f47c-1f3fb","👼🏼":"1f47c-1f3fc","👼🏽":"1f47c-1f3fd","👼🏾":"1f47c-1f3fe","👼🏿":"1f47c-1f3ff","🙇🏻":"1f647-1f3fb","🙇🏼":"1f647-1f3fc","🙇🏽":"1f647-1f3fd","🙇🏾":"1f647-1f3fe","🙇🏿":"1f647-1f3ff","💁🏻":"1f481-1f3fb","💁🏼":"1f481-1f3fc","💁🏽":"1f481-1f3fd","🤸🏾":"1f938-1f3fe","💁🏾":"1f481-1f3fe","💁🏿":"1f481-1f3ff","🙅🏻":"1f645-1f3fb","🤸🏿":"1f938-1f3ff","🙅🏼":"1f645-1f3fc","🙅🏽":"1f645-1f3fd","🙅🏾":"1f645-1f3fe","🙅🏿":"1f645-1f3ff","🙆🏻":"1f646-1f3fb","🙆🏼":"1f646-1f3fc","🙆🏽":"1f646-1f3fd","🙆🏾":"1f646-1f3fe","🙆🏿":"1f646-1f3ff","🙋🏻":"1f64b-1f3fb","🙋🏼":"1f64b-1f3fc","🙋🏽":"1f64b-1f3fd","🙋🏾":"1f64b-1f3fe","🙋🏿":"1f64b-1f3ff","🙎🏻":"1f64e-1f3fb","🙎🏼":"1f64e-1f3fc","🙎🏽":"1f64e-1f3fd","🙎🏾":"1f64e-1f3fe","🙎🏿":"1f64e-1f3ff","🙍🏻":"1f64d-1f3fb","🙍🏼":"1f64d-1f3fc","🙍🏽":"1f64d-1f3fd","🙍🏾":"1f64d-1f3fe","🙍🏿":"1f64d-1f3ff","💆🏻":"1f486-1f3fb","💆🏼":"1f486-1f3fc","💆🏽":"1f486-1f3fd","💆🏾":"1f486-1f3fe","💆🏿":"1f486-1f3ff","💇🏻":"1f487-1f3fb","💇🏼":"1f487-1f3fc","💇🏽":"1f487-1f3fd","💇🏾":"1f487-1f3fe","💇🏿":"1f487-1f3ff","🙌🏻":"1f64c-1f3fb","🙌🏼":"1f64c-1f3fc","🙌🏽":"1f64c-1f3fd","🙌🏾":"1f64c-1f3fe","🙌🏿":"1f64c-1f3ff","👏🏻":"1f44f-1f3fb","👏🏼":"1f44f-1f3fc","👏🏽":"1f44f-1f3fd","🤽🏻":"1f93d-1f3fb","👏🏾":"1f44f-1f3fe","👏🏿":"1f44f-1f3ff","🤽🏼":"1f93d-1f3fc","👂🏻":"1f442-1f3fb","👂🏼":"1f442-1f3fc","👂🏽":"1f442-1f3fd","👂🏾":"1f442-1f3fe","👂🏿":"1f442-1f3ff","👃🏻":"1f443-1f3fb","👃🏼":"1f443-1f3fc","👃🏽":"1f443-1f3fd","👃🏾":"1f443-1f3fe","👃🏿":"1f443-1f3ff","💅🏻":"1f485-1f3fb","💅🏼":"1f485-1f3fc","💅🏽":"1f485-1f3fd","💅🏾":"1f485-1f3fe","💅🏿":"1f485-1f3ff","👋🏻":"1f44b-1f3fb","👋🏼":"1f44b-1f3fc","👋🏽":"1f44b-1f3fd","👋🏾":"1f44b-1f3fe","👋🏿":"1f44b-1f3ff","👍🏻":"1f44d-1f3fb","👍🏼":"1f44d-1f3fc","👍🏽":"1f44d-1f3fd","👍🏾":"1f44d-1f3fe","👍🏿":"1f44d-1f3ff","👎🏻":"1f44e-1f3fb","👎🏼":"1f44e-1f3fc","👎🏽":"1f44e-1f3fd","👎🏾":"1f44e-1f3fe","👎🏿":"1f44e-1f3ff","👆🏻":"1f446-1f3fb","👆🏼":"1f446-1f3fc","👆🏽":"1f446-1f3fd","👆🏾":"1f446-1f3fe","👆🏿":"1f446-1f3ff","👇🏻":"1f447-1f3fb","👇🏼":"1f447-1f3fc","👇🏽":"1f447-1f3fd","👇🏾":"1f447-1f3fe","👇🏿":"1f447-1f3ff","👈🏻":"1f448-1f3fb","👈🏼":"1f448-1f3fc","👈🏽":"1f448-1f3fd","👈🏾":"1f448-1f3fe","👈🏿":"1f448-1f3ff","👉🏻":"1f449-1f3fb","👉🏼":"1f449-1f3fc","👉🏽":"1f449-1f3fd","👉🏾":"1f449-1f3fe","👉🏿":"1f449-1f3ff","👌🏻":"1f44c-1f3fb","👌🏼":"1f44c-1f3fc","🤽🏽":"1f93d-1f3fd","👌🏽":"1f44c-1f3fd","👌🏾":"1f44c-1f3fe","🤽🏾":"1f93d-1f3fe","👌🏿":"1f44c-1f3ff","👊🏻":"1f44a-1f3fb","👊🏼":"1f44a-1f3fc","👊🏽":"1f44a-1f3fd","👊🏾":"1f44a-1f3fe","👊🏿":"1f44a-1f3ff","💪🏻":"1f4aa-1f3fb","💪🏼":"1f4aa-1f3fc","💪🏽":"1f4aa-1f3fd","💪🏾":"1f4aa-1f3fe","💪🏿":"1f4aa-1f3ff","👐🏻":"1f450-1f3fb","👐🏼":"1f450-1f3fc","👐🏽":"1f450-1f3fd","👐🏾":"1f450-1f3fe","👐🏿":"1f450-1f3ff","🙏🏻":"1f64f-1f3fb","🤽🏿":"1f93d-1f3ff","🙏🏼":"1f64f-1f3fc","🙏🏽":"1f64f-1f3fd","🤾🏻":"1f93e-1f3fb","🙏🏾":"1f64f-1f3fe","🙏🏿":"1f64f-1f3ff","🤾🏼":"1f93e-1f3fc","🏃🏻":"1f3c3-1f3fb","🏃🏼":"1f3c3-1f3fc","🏃🏽":"1f3c3-1f3fd","🏃🏾":"1f3c3-1f3fe","🤾🏽":"1f93e-1f3fd","🏃🏿":"1f3c3-1f3ff","🚶🏻":"1f6b6-1f3fb","🚶🏼":"1f6b6-1f3fc","🚶🏽":"1f6b6-1f3fd","🚶🏾":"1f6b6-1f3fe","🚶🏿":"1f6b6-1f3ff","💃🏻":"1f483-1f3fb","🤾🏾":"1f93e-1f3fe","💃🏼":"1f483-1f3fc","💃🏽":"1f483-1f3fd","🤾🏿":"1f93e-1f3ff","💃🏾":"1f483-1f3fe","💃🏿":"1f483-1f3ff","🤹🏻":"1f939-1f3fb","🚣🏻":"1f6a3-1f3fb","🚣🏼":"1f6a3-1f3fc","🚣🏽":"1f6a3-1f3fd","🚣🏾":"1f6a3-1f3fe","🚣🏿":"1f6a3-1f3ff","🏊🏻":"1f3ca-1f3fb","🏊🏼":"1f3ca-1f3fc","🤹🏼":"1f939-1f3fc","🏊🏽":"1f3ca-1f3fd","🏊🏾":"1f3ca-1f3fe","🏊🏿":"1f3ca-1f3ff","🤹🏽":"1f939-1f3fd","🏄🏻":"1f3c4-1f3fb","🏄🏼":"1f3c4-1f3fc","🏄🏽":"1f3c4-1f3fd","🏄🏾":"1f3c4-1f3fe","🏄🏿":"1f3c4-1f3ff","🛀🏻":"1f6c0-1f3fb","🛀🏼":"1f6c0-1f3fc","🤹🏾":"1f939-1f3fe","🛀🏽":"1f6c0-1f3fd","🛀🏾":"1f6c0-1f3fe","🛀🏿":"1f6c0-1f3ff","🤹🏿":"1f939-1f3ff","🚴🏻":"1f6b4-1f3fb","🚴🏼":"1f6b4-1f3fc","🚴🏽":"1f6b4-1f3fd","🚴🏾":"1f6b4-1f3fe","🚴🏿":"1f6b4-1f3ff","🚵🏻":"1f6b5-1f3fb","🚵🏼":"1f6b5-1f3fc","🚵🏽":"1f6b5-1f3fd","🚵🏾":"1f6b5-1f3fe","🚵🏿":"1f6b5-1f3ff","🏇🏻":"1f3c7-1f3fb","🏇🏼":"1f3c7-1f3fc","🏇🏽":"1f3c7-1f3fd","🏇🏾":"1f3c7-1f3fe","🏇🏿":"1f3c7-1f3ff","🖐🏻":"1f590-1f3fb","🖐🏼":"1f590-1f3fc","🖐🏽":"1f590-1f3fd","🖐🏾":"1f590-1f3fe","🖐🏿":"1f590-1f3ff","🖕🏻":"1f595-1f3fb","🖕🏼":"1f595-1f3fc","🖕🏽":"1f595-1f3fd","🖕🏾":"1f595-1f3fe","🖕🏿":"1f595-1f3ff","🖖🏻":"1f596-1f3fb","🖖🏼":"1f596-1f3fc","🖖🏽":"1f596-1f3fd","🖖🏾":"1f596-1f3fe","🖖🏿":"1f596-1f3ff","🎅🏻":"1f385-1f3fb","🎅🏼":"1f385-1f3fc","🎅🏽":"1f385-1f3fd","🎅🏾":"1f385-1f3fe","🎅🏿":"1f385-1f3ff","🤘🏻":"1f918-1f3fb","🤘🏼":"1f918-1f3fc","🤘🏽":"1f918-1f3fd","🤘🏾":"1f918-1f3fe","🤘🏿":"1f918-1f3ff","🏋🏻":"1f3cb-1f3fb","🏋🏼":"1f3cb-1f3fc","🏋🏽":"1f3cb-1f3fd","🏋🏾":"1f3cb-1f3fe","🏋🏿":"1f3cb-1f3ff","🇦🇽":"1f1e6-1f1fd","🇹🇦":"1f1f9-1f1e6","🇮🇴":"1f1ee-1f1f4","🇧🇶":"1f1e7-1f1f6","🇨🇽":"1f1e8-1f1fd","🇨🇨":"1f1e8-1f1e8","🇬🇬":"1f1ec-1f1ec","🇮🇲":"1f1ee-1f1f2","🇾🇹":"1f1fe-1f1f9","🇳🇫":"1f1f3-1f1eb","🇵🇳":"1f1f5-1f1f3","🇧🇱":"1f1e7-1f1f1","🇵🇲":"1f1f5-1f1f2","🇬🇸":"1f1ec-1f1f8","🇹🇰":"1f1f9-1f1f0","🇧🇻":"1f1e7-1f1fb","🇭🇲":"1f1ed-1f1f2","🇸🇯":"1f1f8-1f1ef","🇺🇲":"1f1fa-1f1f2","🇮🇨":"1f1ee-1f1e8","🇪🇦":"1f1ea-1f1e6","🇨🇵":"1f1e8-1f1f5","🇩🇬":"1f1e9-1f1ec","🇦🇸":"1f1e6-1f1f8","🇦🇶":"1f1e6-1f1f6","🇻🇬":"1f1fb-1f1ec","🇨🇰":"1f1e8-1f1f0","🇨🇼":"1f1e8-1f1fc","🇪🇺":"1f1ea-1f1fa","🇬🇫":"1f1ec-1f1eb","🇹🇫":"1f1f9-1f1eb","🇬🇵":"1f1ec-1f1f5","🇲🇶":"1f1f2-1f1f6","🇲🇵":"1f1f2-1f1f5","🇷🇪":"1f1f7-1f1ea","🇸🇽":"1f1f8-1f1fd","🇸🇸":"1f1f8-1f1f8","🇹🇨":"1f1f9-1f1e8","🇲🇫":"1f1f2-1f1eb","🕵🏻":"1f575-1f3fb","🕵🏼":"1f575-1f3fc","🕵🏽":"1f575-1f3fd","🕵🏾":"1f575-1f3fe","🕵🏿":"1f575-1f3ff","🏂🏻":"1f3c2-1f3fb","👨💻":"1f468-1f4bb","👩💻":"1f469-1f4bb","👨🏫":"1f468-1f3eb","👩🏫":"1f469-1f3eb","👨🎓":"1f468-1f393","👩🎓":"1f469-1f393","👨🎤":"1f468-1f3a4","👩🎤":"1f469-1f3a4","👨🔬":"1f468-1f52c","👩🔬":"1f469-1f52c","👨💼":"1f468-1f4bc","👩💼":"1f469-1f4bc","👨🔧":"1f468-1f527","👩🔧":"1f469-1f527","👨🏭":"1f468-1f3ed","👩🏭":"1f469-1f3ed","👨🍳":"1f468-1f373","👩🍳":"1f469-1f373","👨🌾":"1f468-1f33e","👩🌾":"1f469-1f33e","🕴🏻":"1f574-1f3fb","🕴🏼":"1f574-1f3fc","🕴🏽":"1f574-1f3fd","🕴🏾":"1f574-1f3fe","🕴🏿":"1f574-1f3ff","🛌🏻":"1f6cc-1f3fb","🛌🏼":"1f6cc-1f3fc","🛌🏽":"1f6cc-1f3fd","🛌🏾":"1f6cc-1f3fe","🛌🏿":"1f6cc-1f3ff","👨👦":"1f468-1f466","👨👧":"1f468-1f467","👩👦":"1f469-1f466","👩👧":"1f469-1f467","👨🎨":"1f468-1f3a8","👩🎨":"1f469-1f3a8","👨🚀":"1f468-1f680","👩🚀":"1f469-1f680","👨🚒":"1f468-1f692","👩🚒":"1f469-1f692","🇺🇳":"1f1fa-1f1f3","🏂🏼":"1f3c2-1f3fc","🏂🏽":"1f3c2-1f3fd","🏂🏾":"1f3c2-1f3fe","🏂🏿":"1f3c2-1f3ff","🏌🏻":"1f3cc-1f3fb","🏌🏼":"1f3cc-1f3fc","🏌🏽":"1f3cc-1f3fd","🏌🏾":"1f3cc-1f3fe","🏌🏿":"1f3cc-1f3ff","🤟🏻":"1f91f-1f3fb","🤟🏼":"1f91f-1f3fc","🤟🏽":"1f91f-1f3fd","🤟🏾":"1f91f-1f3fe","🤟🏿":"1f91f-1f3ff","🤱🏻":"1f931-1f3fb","🤱🏼":"1f931-1f3fc","🤱🏽":"1f931-1f3fd","🤱🏾":"1f931-1f3fe","🤱🏿":"1f931-1f3ff","🤲🏻":"1f932-1f3fb","🤲🏼":"1f932-1f3fc","🤲🏽":"1f932-1f3fd","🤲🏾":"1f932-1f3fe","🤲🏿":"1f932-1f3ff","🧑🏻":"1f9d1-1f3fb","🧑🏼":"1f9d1-1f3fc","🧑🏽":"1f9d1-1f3fd","🧑🏾":"1f9d1-1f3fe","🧑🏿":"1f9d1-1f3ff","🧒🏻":"1f9d2-1f3fb","🧒🏼":"1f9d2-1f3fc","🧒🏽":"1f9d2-1f3fd","🧒🏾":"1f9d2-1f3fe","🧒🏿":"1f9d2-1f3ff","🧓🏻":"1f9d3-1f3fb","🧓🏼":"1f9d3-1f3fc","🧓🏽":"1f9d3-1f3fd","🧓🏾":"1f9d3-1f3fe","🧓🏿":"1f9d3-1f3ff","🧔🏻":"1f9d4-1f3fb","🧔🏼":"1f9d4-1f3fc","🧔🏽":"1f9d4-1f3fd","🧔🏾":"1f9d4-1f3fe","🧔🏿":"1f9d4-1f3ff","🧕🏻":"1f9d5-1f3fb","🧕🏼":"1f9d5-1f3fc","🧕🏽":"1f9d5-1f3fd","🧕🏾":"1f9d5-1f3fe","🧕🏿":"1f9d5-1f3ff","🧖🏻":"1f9d6-1f3fb","🧖🏼":"1f9d6-1f3fc","🧖🏽":"1f9d6-1f3fd","🧖🏾":"1f9d6-1f3fe","🧖🏿":"1f9d6-1f3ff","🧗🏻":"1f9d7-1f3fb","🧗🏼":"1f9d7-1f3fc","🧗🏽":"1f9d7-1f3fd","🧗🏾":"1f9d7-1f3fe","🧗🏿":"1f9d7-1f3ff","🧘🏻":"1f9d8-1f3fb","🧘🏼":"1f9d8-1f3fc","🧘🏽":"1f9d8-1f3fd","🧘🏾":"1f9d8-1f3fe","🧘🏿":"1f9d8-1f3ff","🧙🏻":"1f9d9-1f3fb","🧙🏼":"1f9d9-1f3fc","🧙🏽":"1f9d9-1f3fd","🧙🏾":"1f9d9-1f3fe","🧙🏿":"1f9d9-1f3ff","🧚🏻":"1f9da-1f3fb","🧚🏼":"1f9da-1f3fc","🧚🏽":"1f9da-1f3fd","🧚🏾":"1f9da-1f3fe","🧚🏿":"1f9da-1f3ff","🧛🏻":"1f9db-1f3fb","🧛🏼":"1f9db-1f3fc","🧛🏽":"1f9db-1f3fd","🧛🏾":"1f9db-1f3fe","🧛🏿":"1f9db-1f3ff","🧜🏻":"1f9dc-1f3fb","🧜🏼":"1f9dc-1f3fc","🧜🏽":"1f9dc-1f3fd","🧜🏾":"1f9dc-1f3fe","🧜🏿":"1f9dc-1f3ff","🧝🏻":"1f9dd-1f3fb","🧝🏼":"1f9dd-1f3fc","🧝🏽":"1f9dd-1f3fd","🧝🏾":"1f9dd-1f3fe","🧝🏿":"1f9dd-1f3ff","🦵🏻":"1f9b5-1f3fb","🦵🏼":"1f9b5-1f3fc","🦵🏽":"1f9b5-1f3fd","🦵🏾":"1f9b5-1f3fe","🦵🏿":"1f9b5-1f3ff","🦶🏻":"1f9b6-1f3fb","🦶🏼":"1f9b6-1f3fc","🦶🏽":"1f9b6-1f3fd","🦶🏾":"1f9b6-1f3fe","🦶🏿":"1f9b6-1f3ff","🦸🏻":"1f9b8-1f3fb","🦸🏼":"1f9b8-1f3fc","🦸🏽":"1f9b8-1f3fd","🦸🏾":"1f9b8-1f3fe","🦸🏿":"1f9b8-1f3ff","🦹🏻":"1f9b9-1f3fb","🦹🏼":"1f9b9-1f3fc","🦹🏽":"1f9b9-1f3fd","🦹🏾":"1f9b9-1f3fe","🦹🏿":"1f9b9-1f3ff","👨🦰":"1f468-1f9b0","👨🦱":"1f468-1f9b1","👨🦲":"1f468-1f9b2","👨🦳":"1f468-1f9b3","👩🦰":"1f469-1f9b0","👩🦱":"1f469-1f9b1","👩🦲":"1f469-1f9b2","👩🦳":"1f469-1f9b3","🅿️":"1f17f","🈂️":"1f202","🈷️":"1f237","🎞️":"1f39e","🎟️":"1f39f","🏋️":"1f3cb","🏌️":"1f3cc","🏍️":"1f3cd","🏎️":"1f3ce","🎖️":"1f396","🎗️":"1f397","🌶️":"1f336","🌧️":"1f327","🌨️":"1f328","🌩️":"1f329","🌪️":"1f32a","🌫️":"1f32b","🌬️":"1f32c","🐿️":"1f43f","🕷️":"1f577","🕸️":"1f578","🌡️":"1f321","🎙️":"1f399","🎚️":"1f39a","🎛️":"1f39b","🏳️":"1f3f3","🏵️":"1f3f5","🏷️":"1f3f7","📽️":"1f4fd","🕉️":"1f549","🕊️":"1f54a","🕯️":"1f56f","🕰️":"1f570","🕳️":"1f573","🕶️":"1f576","🕹️":"1f579","🖇️":"1f587","🖊️":"1f58a","🖋️":"1f58b","🖌️":"1f58c","🖍️":"1f58d","🖥️":"1f5a5","🖨️":"1f5a8","🖲️":"1f5b2","🖼️":"1f5bc","🗂️":"1f5c2","🗃️":"1f5c3","🗄️":"1f5c4","🗑️":"1f5d1","🗒️":"1f5d2","🗓️":"1f5d3","🗜️":"1f5dc","🗝️":"1f5dd","🗞️":"1f5de","🗡️":"1f5e1","🗣️":"1f5e3","🗨️":"1f5e8","🗯️":"1f5ef","🗳️":"1f5f3","🗺️":"1f5fa","🛠️":"1f6e0","🛡️":"1f6e1","🛢️":"1f6e2","🛰️":"1f6f0","🍽️":"1f37d","👁️":"1f441","🕴️":"1f574","🕵️":"1f575","🖐️":"1f590","🏔️":"1f3d4","🏕️":"1f3d5","🏖️":"1f3d6","🏗️":"1f3d7","🏘️":"1f3d8","🏙️":"1f3d9","🏚️":"1f3da","🏛️":"1f3db","🏜️":"1f3dc","🏝️":"1f3dd","🏞️":"1f3de","🏟️":"1f3df","🛋️":"1f6cb","🛍️":"1f6cd","🛎️":"1f6ce","🛏️":"1f6cf","🛣️":"1f6e3","🛤️":"1f6e4","🛥️":"1f6e5","🛩️":"1f6e9","🛳️":"1f6f3","☝🏻":"261d-1f3fb","☝🏼":"261d-1f3fc","☝🏽":"261d-1f3fd","☝🏾":"261d-1f3fe","☝🏿":"261d-1f3ff","✌🏻":"270c-1f3fb","✌🏼":"270c-1f3fc","✌🏽":"270c-1f3fd","✌🏾":"270c-1f3fe","✌🏿":"270c-1f3ff","✊🏻":"270a-1f3fb","✊🏼":"270a-1f3fc","✊🏽":"270a-1f3fd","✊🏾":"270a-1f3fe","✊🏿":"270a-1f3ff","✋🏻":"270b-1f3fb","✋🏼":"270b-1f3fc","✋🏽":"270b-1f3fd","✋🏾":"270b-1f3fe","✋🏿":"270b-1f3ff","✍🏻":"270d-1f3fb","✍🏼":"270d-1f3fc","✍🏽":"270d-1f3fd","✍🏾":"270d-1f3fe","✍🏿":"270d-1f3ff","🌤️":"1f324","🌥️":"1f325","🌦️":"1f326","🖱️":"1f5b1","⛹🏻":"26f9-1f3fb","⛹🏼":"26f9-1f3fc","⛹🏽":"26f9-1f3fd","⛹🏾":"26f9-1f3fe","⛹🏿":"26f9-1f3ff","🅰️":"1f170","🅱️":"1f171","🅾️":"1f17e","🀄️":"1f004","🈚️":"1f21a","🈯️":"1f22f","🌍️":"1f30d","🌎️":"1f30e","🌏️":"1f30f","🌕️":"1f315","🌜️":"1f31c","🍸️":"1f378","🎓️":"1f393","🎧️":"1f3a7","🎬️":"1f3ac","🎭️":"1f3ad","🎮️":"1f3ae","🏂️":"1f3c2","🏄️":"1f3c4","🏆️":"1f3c6","🏊️":"1f3ca","🏠️":"1f3e0","🏭️":"1f3ed","🐈️":"1f408","🐕️":"1f415","🐟️":"1f41f","🐦️":"1f426","👂️":"1f442","👆️":"1f446","👇️":"1f447","👈️":"1f448","👉️":"1f449","👍️":"1f44d","👎️":"1f44e","👓️":"1f453","👪️":"1f46a","👽️":"1f47d","💣️":"1f4a3","💰️":"1f4b0","💳️":"1f4b3","💻️":"1f4bb","💿️":"1f4bf","📋️":"1f4cb","📚️":"1f4da","📟️":"1f4df","📤️":"1f4e4","📥️":"1f4e5","📦️":"1f4e6","📪️":"1f4ea","📫️":"1f4eb","📬️":"1f4ec","📭️":"1f4ed","📷️":"1f4f7","📹️":"1f4f9","📺️":"1f4fa","📻️":"1f4fb","🔈️":"1f508","🔍️":"1f50d","🔒️":"1f512","🔓️":"1f513","🕐️":"1f550","🕑️":"1f551","🕒️":"1f552","🕓️":"1f553","🕔️":"1f554","🕕️":"1f555","🕖️":"1f556","🕗️":"1f557","🕘️":"1f558","🕙️":"1f559","🕚️":"1f55a","🕛️":"1f55b","🕜️":"1f55c","🕝️":"1f55d","🕞️":"1f55e","🕟️":"1f55f","🕠️":"1f560","🕡️":"1f561","🕢️":"1f562","🕣️":"1f563","🕤️":"1f564","🕥️":"1f565","🕦️":"1f566","🕧️":"1f567","😐️":"1f610","🚇️":"1f687","🚍️":"1f68d","🚑️":"1f691","🚔️":"1f694","🚘️":"1f698","🚭️":"1f6ad","🚲️":"1f6b2","🚹️":"1f6b9","🚺️":"1f6ba","🚼️":"1f6bc","#⃣":"0023-20e3","0⃣":"0030-20e3","1⃣":"0031-20e3","2⃣":"0032-20e3","3⃣":"0033-20e3","4⃣":"0034-20e3","5⃣":"0035-20e3","6⃣":"0036-20e3","7⃣":"0037-20e3","8⃣":"0038-20e3","9⃣":"0039-20e3","‼️":"203c","⁉️":"2049","ℹ️":"2139","↔️":"2194","↕️":"2195","↖️":"2196","↗️":"2197","↘️":"2198","↙️":"2199","↩️":"21a9","↪️":"21aa","Ⓜ️":"24c2","▪️":"25aa","▫️":"25ab","▶️":"25b6","◀️":"25c0","◻️":"25fb","◼️":"25fc","☀️":"2600","☁️":"2601","☎️":"260e","☑️":"2611","☝️":"261d","☺️":"263a","♠️":"2660","♣️":"2663","♥️":"2665","♦️":"2666","♨️":"2668","♻️":"267b","⚠️":"26a0","✂️":"2702","✈️":"2708","✉️":"2709","✌️":"270c","✏️":"270f","✒️":"2712","✔️":"2714","✖️":"2716","✳️":"2733","✴️":"2734","❄️":"2744","❇️":"2747","❤️":"2764","➡️":"27a1","⤴️":"2934","⤵️":"2935","⬅️":"2b05","⬆️":"2b06","⬇️":"2b07","〰️":"3030","〽️":"303d","㊗️":"3297","㊙️":"3299","✝️":"271d","⌨️":"2328","✍️":"270d","*⃣":"002a-20e3","⏏️":"23cf","⏭️":"23ed","⏮️":"23ee","⏯️":"23ef","⏱️":"23f1","⏲️":"23f2","⏸️":"23f8","⏹️":"23f9","⏺️":"23fa","☂️":"2602","☃️":"2603","☄️":"2604","☘️":"2618","☠️":"2620","☢️":"2622","☣️":"2623","☦️":"2626","☪️":"262a","☮️":"262e","☯️":"262f","☸️":"2638","☹️":"2639","⚒️":"2692","⚔️":"2694","⚖️":"2696","⚗️":"2697","⚙️":"2699","⚛️":"269b","⚜️":"269c","⚰️":"26b0","⚱️":"26b1","⛈️":"26c8","⛏️":"26cf","⛑️":"26d1","⛓️":"26d3","⛩️":"26e9","⛰️":"26f0","⛱️":"26f1","⛴️":"26f4","⛷️":"26f7","⛸️":"26f8","⛹️":"26f9","✡️":"2721","❣️":"2763","♀️":"2640","♂️":"2642","⚕️":"2695","♟️":"265f","♾️":"267e","⌚️":"231a","⌛️":"231b","⏩️":"23e9","⏪️":"23ea","⏳️":"23f3","◽️":"25fd","◾️":"25fe","☔️":"2614","☕️":"2615","♈️":"2648","♉️":"2649","♊️":"264a","♋️":"264b","♌️":"264c","♍️":"264d","♎️":"264e","♏️":"264f","♐️":"2650","♑️":"2651","♒️":"2652","♓️":"2653","♿️":"267f","⚓️":"2693","⚡️":"26a1","⚪️":"26aa","⚫️":"26ab","⚽️":"26bd","⚾️":"26be","⛄️":"26c4","⛅️":"26c5","⛔️":"26d4","⛪️":"26ea","⛲️":"26f2","⛳️":"26f3","⛵️":"26f5","⛺️":"26fa","⛽️":"26fd","❓️":"2753","❗️":"2757","⬛️":"2b1b","⬜️":"2b1c","⭐️":"2b50","⭕️":"2b55","🥉":"1f949","🥈":"1f948","🥇":"1f947","🤺":"1f93a","🥅":"1f945","🤾":"1f93e","🇿":"1f1ff","🤽":"1f93d","🥋":"1f94b","🥊":"1f94a","🤼":"1f93c","🤹":"1f939","🤸":"1f938","🛶":"1f6f6","🛵":"1f6f5","🛴":"1f6f4","🛒":"1f6d2","🀄":"1f004","🃏":"1f0cf","🅰":"1f170","🅱":"1f171","🅾":"1f17e","🅿":"1f17f","🛑":"1f6d1","🆎":"1f18e","🆑":"1f191","🇾":"1f1fe","🆒":"1f192","🆓":"1f193","🆔":"1f194","🆕":"1f195","🆖":"1f196","🆗":"1f197","🆘":"1f198","🥄":"1f944","🆙":"1f199","🆚":"1f19a","🥂":"1f942","🥃":"1f943","🈁":"1f201","🈂":"1f202","🈚":"1f21a","🈯":"1f22f","🥙":"1f959","🈲":"1f232","🈳":"1f233","🈴":"1f234","🈵":"1f235","🈶":"1f236","🥘":"1f958","🈷":"1f237","🈸":"1f238","🈹":"1f239","🥗":"1f957","🈺":"1f23a","🉐":"1f250","🉑":"1f251","🌀":"1f300","🥖":"1f956","🌁":"1f301","🌂":"1f302","🌃":"1f303","🌄":"1f304","🌅":"1f305","🌆":"1f306","🥕":"1f955","🌇":"1f307","🌈":"1f308","🥔":"1f954","🌉":"1f309","🌊":"1f30a","🌋":"1f30b","🌌":"1f30c","🌏":"1f30f","🌑":"1f311","🥓":"1f953","🌓":"1f313","🌔":"1f314","🌕":"1f315","🌙":"1f319","🌛":"1f31b","🌟":"1f31f","🥒":"1f952","🌠":"1f320","🌰":"1f330","🥑":"1f951","🌱":"1f331","🌴":"1f334","🌵":"1f335","🌷":"1f337","🌸":"1f338","🌹":"1f339","🌺":"1f33a","🌻":"1f33b","🌼":"1f33c","🌽":"1f33d","🥐":"1f950","🌾":"1f33e","🌿":"1f33f","🍀":"1f340","🍁":"1f341","🍂":"1f342","🍃":"1f343","🍄":"1f344","🍅":"1f345","🍆":"1f346","🍇":"1f347","🍈":"1f348","🍉":"1f349","🍊":"1f34a","🥀":"1f940","🍌":"1f34c","🍍":"1f34d","🍎":"1f34e","🍏":"1f34f","🍑":"1f351","🍒":"1f352","🍓":"1f353","🦏":"1f98f","🍔":"1f354","🍕":"1f355","🍖":"1f356","🦎":"1f98e","🍗":"1f357","🍘":"1f358","🍙":"1f359","🦍":"1f98d","🍚":"1f35a","🍛":"1f35b","🦌":"1f98c","🍜":"1f35c","🍝":"1f35d","🍞":"1f35e","🍟":"1f35f","🦋":"1f98b","🍠":"1f360","🍡":"1f361","🦊":"1f98a","🍢":"1f362","🍣":"1f363","🦉":"1f989","🍤":"1f364","🍥":"1f365","🦈":"1f988","🍦":"1f366","🦇":"1f987","🍧":"1f367","🇽":"1f1fd","🍨":"1f368","🦆":"1f986","🍩":"1f369","🦅":"1f985","🍪":"1f36a","🖤":"1f5a4","🍫":"1f36b","🍬":"1f36c","🍭":"1f36d","🍮":"1f36e","🍯":"1f36f","🤞":"1f91e","🍰":"1f370","🍱":"1f371","🍲":"1f372","🤝":"1f91d","🍳":"1f373","🍴":"1f374","🍵":"1f375","🍶":"1f376","🍷":"1f377","🍸":"1f378","🍹":"1f379","🍺":"1f37a","🍻":"1f37b","🎀":"1f380","🎁":"1f381","🎂":"1f382","🎃":"1f383","🤛":"1f91b","🤜":"1f91c","🎄":"1f384","🎅":"1f385","🎆":"1f386","🤚":"1f91a","🎇":"1f387","🎈":"1f388","🎉":"1f389","🎊":"1f38a","🎋":"1f38b","🎌":"1f38c","🤙":"1f919","🎍":"1f38d","🕺":"1f57a","🎎":"1f38e","🤳":"1f933","🎏":"1f38f","🤰":"1f930","🎐":"1f390","🤦":"1f926","🤷":"1f937","🎑":"1f391","🎒":"1f392","🎓":"1f393","🎠":"1f3a0","🎡":"1f3a1","🎢":"1f3a2","🎣":"1f3a3","🎤":"1f3a4","🎥":"1f3a5","🎦":"1f3a6","🎧":"1f3a7","🤶":"1f936","🎨":"1f3a8","🤵":"1f935","🎩":"1f3a9","🎪":"1f3aa","🤴":"1f934","🎫":"1f3ab","🎬":"1f3ac","🎭":"1f3ad","🤧":"1f927","🎮":"1f3ae","🎯":"1f3af","🎰":"1f3b0","🎱":"1f3b1","🎲":"1f3b2","🎳":"1f3b3","🎴":"1f3b4","🤥":"1f925","🎵":"1f3b5","🎶":"1f3b6","🎷":"1f3b7","🤤":"1f924","🎸":"1f3b8","🎹":"1f3b9","🎺":"1f3ba","🤣":"1f923","🎻":"1f3bb","🎼":"1f3bc","🎽":"1f3bd","🤢":"1f922","🎾":"1f3be","🎿":"1f3bf","🏀":"1f3c0","🏁":"1f3c1","🤡":"1f921","🏂":"1f3c2","🏃":"1f3c3","🏄":"1f3c4","🏆":"1f3c6","🏈":"1f3c8","🏊":"1f3ca","🏠":"1f3e0","🏡":"1f3e1","🏢":"1f3e2","🏣":"1f3e3","🏥":"1f3e5","🏦":"1f3e6","🏧":"1f3e7","🏨":"1f3e8","🏩":"1f3e9","🏪":"1f3ea","🏫":"1f3eb","🏬":"1f3ec","🤠":"1f920","🏭":"1f3ed","🏮":"1f3ee","🏯":"1f3ef","🏰":"1f3f0","🐌":"1f40c","🐍":"1f40d","🐎":"1f40e","🐑":"1f411","🐒":"1f412","🐔":"1f414","🐗":"1f417","🐘":"1f418","🐙":"1f419","🐚":"1f41a","🐛":"1f41b","🐜":"1f41c","🐝":"1f41d","🐞":"1f41e","🐟":"1f41f","🐠":"1f420","🐡":"1f421","🐢":"1f422","🐣":"1f423","🐤":"1f424","🐥":"1f425","🐦":"1f426","🐧":"1f427","🐨":"1f428","🐩":"1f429","🐫":"1f42b","🐬":"1f42c","🐭":"1f42d","🐮":"1f42e","🐯":"1f42f","🐰":"1f430","🐱":"1f431","🐲":"1f432","🐳":"1f433","🐴":"1f434","🐵":"1f435","🐶":"1f436","🐷":"1f437","🐸":"1f438","🐹":"1f439","🐺":"1f43a","🐻":"1f43b","🐼":"1f43c","🐽":"1f43d","🐾":"1f43e","👀":"1f440","👂":"1f442","👃":"1f443","👄":"1f444","👅":"1f445","👆":"1f446","👇":"1f447","👈":"1f448","👉":"1f449","👊":"1f44a","👋":"1f44b","👌":"1f44c","👍":"1f44d","👎":"1f44e","👏":"1f44f","👐":"1f450","👑":"1f451","👒":"1f452","👓":"1f453","👔":"1f454","👕":"1f455","👖":"1f456","👗":"1f457","👘":"1f458","👙":"1f459","👚":"1f45a","👛":"1f45b","👜":"1f45c","👝":"1f45d","👞":"1f45e","👟":"1f45f","👠":"1f460","👡":"1f461","👢":"1f462","👣":"1f463","👤":"1f464","👦":"1f466","👧":"1f467","👨":"1f468","👩":"1f469","👪":"1f46a","👫":"1f46b","👮":"1f46e","👯":"1f46f","👰":"1f470","👱":"1f471","👲":"1f472","👳":"1f473","👴":"1f474","👵":"1f475","👶":"1f476","👷":"1f477","👸":"1f478","👹":"1f479","👺":"1f47a","👻":"1f47b","👼":"1f47c","👽":"1f47d","👾":"1f47e","👿":"1f47f","💀":"1f480","📇":"1f4c7","💁":"1f481","💂":"1f482","💃":"1f483","💄":"1f484","💅":"1f485","📒":"1f4d2","💆":"1f486","📓":"1f4d3","💇":"1f487","📔":"1f4d4","💈":"1f488","📕":"1f4d5","💉":"1f489","📖":"1f4d6","💊":"1f48a","📗":"1f4d7","💋":"1f48b","📘":"1f4d8","💌":"1f48c","📙":"1f4d9","💍":"1f48d","📚":"1f4da","💎":"1f48e","📛":"1f4db","💏":"1f48f","📜":"1f4dc","💐":"1f490","📝":"1f4dd","💑":"1f491","📞":"1f4de","💒":"1f492","📟":"1f4df","📠":"1f4e0","💓":"1f493","📡":"1f4e1","📢":"1f4e2","💔":"1f494","📣":"1f4e3","📤":"1f4e4","💕":"1f495","📥":"1f4e5","📦":"1f4e6","💖":"1f496","📧":"1f4e7","📨":"1f4e8","💗":"1f497","📩":"1f4e9","📪":"1f4ea","💘":"1f498","📫":"1f4eb","📮":"1f4ee","💙":"1f499","📰":"1f4f0","📱":"1f4f1","💚":"1f49a","📲":"1f4f2","📳":"1f4f3","💛":"1f49b","📴":"1f4f4","📶":"1f4f6","💜":"1f49c","📷":"1f4f7","📹":"1f4f9","💝":"1f49d","📺":"1f4fa","📻":"1f4fb","💞":"1f49e","📼":"1f4fc","🔃":"1f503","💟":"1f49f","🔊":"1f50a","🔋":"1f50b","💠":"1f4a0","🔌":"1f50c","🔍":"1f50d","💡":"1f4a1","🔎":"1f50e","🔏":"1f50f","💢":"1f4a2","🔐":"1f510","🔑":"1f511","💣":"1f4a3","🔒":"1f512","🔓":"1f513","💤":"1f4a4","🔔":"1f514","🔖":"1f516","💥":"1f4a5","🔗":"1f517","🔘":"1f518","💦":"1f4a6","🔙":"1f519","🔚":"1f51a","💧":"1f4a7","🔛":"1f51b","🔜":"1f51c","💨":"1f4a8","🔝":"1f51d","🔞":"1f51e","💩":"1f4a9","🔟":"1f51f","💪":"1f4aa","🔠":"1f520","🔡":"1f521","💫":"1f4ab","🔢":"1f522","🔣":"1f523","💬":"1f4ac","🔤":"1f524","🔥":"1f525","💮":"1f4ae","🔦":"1f526","🔧":"1f527","💯":"1f4af","🔨":"1f528","🔩":"1f529","💰":"1f4b0","🔪":"1f52a","🔫":"1f52b","💱":"1f4b1","🔮":"1f52e","💲":"1f4b2","🔯":"1f52f","💳":"1f4b3","🔰":"1f530","🔱":"1f531","💴":"1f4b4","🔲":"1f532","🔳":"1f533","💵":"1f4b5","🔴":"1f534","🔵":"1f535","💸":"1f4b8","🔶":"1f536","🔷":"1f537","💹":"1f4b9","🔸":"1f538","🔹":"1f539","💺":"1f4ba","🔺":"1f53a","🔻":"1f53b","💻":"1f4bb","🔼":"1f53c","💼":"1f4bc","🔽":"1f53d","🕐":"1f550","💽":"1f4bd","🕑":"1f551","💾":"1f4be","🕒":"1f552","💿":"1f4bf","🕓":"1f553","📀":"1f4c0","🕔":"1f554","🕕":"1f555","📁":"1f4c1","🕖":"1f556","🕗":"1f557","📂":"1f4c2","🕘":"1f558","🕙":"1f559","📃":"1f4c3","🕚":"1f55a","🕛":"1f55b","📄":"1f4c4","🗻":"1f5fb","🗼":"1f5fc","📅":"1f4c5","🗽":"1f5fd","🗾":"1f5fe","📆":"1f4c6","🗿":"1f5ff","😁":"1f601","😂":"1f602","😃":"1f603","📈":"1f4c8","😄":"1f604","😅":"1f605","📉":"1f4c9","😆":"1f606","😉":"1f609","📊":"1f4ca","😊":"1f60a","😋":"1f60b","📋":"1f4cb","😌":"1f60c","😍":"1f60d","📌":"1f4cc","😏":"1f60f","😒":"1f612","📍":"1f4cd","😓":"1f613","😔":"1f614","📎":"1f4ce","😖":"1f616","😘":"1f618","📏":"1f4cf","😚":"1f61a","😜":"1f61c","📐":"1f4d0","😝":"1f61d","😞":"1f61e","📑":"1f4d1","😠":"1f620","😡":"1f621","😢":"1f622","😣":"1f623","😤":"1f624","😥":"1f625","😨":"1f628","😩":"1f629","😪":"1f62a","😫":"1f62b","😭":"1f62d","😰":"1f630","😱":"1f631","😲":"1f632","😳":"1f633","😵":"1f635","😷":"1f637","😸":"1f638","😹":"1f639","😺":"1f63a","😻":"1f63b","😼":"1f63c","😽":"1f63d","😾":"1f63e","😿":"1f63f","🙀":"1f640","🙅":"1f645","🙆":"1f646","🙇":"1f647","🙈":"1f648","🙉":"1f649","🙊":"1f64a","🙋":"1f64b","🙌":"1f64c","🙍":"1f64d","🙎":"1f64e","🙏":"1f64f","🚀":"1f680","🚃":"1f683","🚄":"1f684","🚅":"1f685","🚇":"1f687","🚉":"1f689","🚌":"1f68c","🚏":"1f68f","🚑":"1f691","🚒":"1f692","🚓":"1f693","🚕":"1f695","🚗":"1f697","🚙":"1f699","🚚":"1f69a","🚢":"1f6a2","🚤":"1f6a4","🚥":"1f6a5","🚧":"1f6a7","🚨":"1f6a8","🚩":"1f6a9","🚪":"1f6aa","🚫":"1f6ab","🚬":"1f6ac","🚭":"1f6ad","🚲":"1f6b2","🚶":"1f6b6","🚹":"1f6b9","🚺":"1f6ba","🚻":"1f6bb","🚼":"1f6bc","🚽":"1f6bd","🚾":"1f6be","🛀":"1f6c0","🤘":"1f918","😀":"1f600","😇":"1f607","😈":"1f608","😎":"1f60e","😐":"1f610","😑":"1f611","😕":"1f615","😗":"1f617","😙":"1f619","😛":"1f61b","😟":"1f61f","😦":"1f626","😧":"1f627","😬":"1f62c","😮":"1f62e","😯":"1f62f","😴":"1f634","😶":"1f636","🚁":"1f681","🚂":"1f682","🚆":"1f686","🚈":"1f688","🚊":"1f68a","🚍":"1f68d","🚎":"1f68e","🚐":"1f690","🚔":"1f694","🚖":"1f696","🚘":"1f698","🚛":"1f69b","🚜":"1f69c","🚝":"1f69d","🚞":"1f69e","🚟":"1f69f","🚠":"1f6a0","🚡":"1f6a1","🚣":"1f6a3","🚦":"1f6a6","🚮":"1f6ae","🚯":"1f6af","🚰":"1f6b0","🚱":"1f6b1","🚳":"1f6b3","🚴":"1f6b4","🚵":"1f6b5","🚷":"1f6b7","🚸":"1f6b8","🚿":"1f6bf","🛁":"1f6c1","🛂":"1f6c2","🛃":"1f6c3","🛄":"1f6c4","🛅":"1f6c5","🌍":"1f30d","🌎":"1f30e","🌐":"1f310","🌒":"1f312","🌖":"1f316","🌗":"1f317","🌘":"1f318","🌚":"1f31a","🌜":"1f31c","🌝":"1f31d","🌞":"1f31e","🌲":"1f332","🌳":"1f333","🍋":"1f34b","🍐":"1f350","🍼":"1f37c","🏇":"1f3c7","🏉":"1f3c9","🏤":"1f3e4","🐀":"1f400","🐁":"1f401","🐂":"1f402","🐃":"1f403","🐄":"1f404","🐅":"1f405","🐆":"1f406","🐇":"1f407","🐈":"1f408","🐉":"1f409","🐊":"1f40a","🐋":"1f40b","🐏":"1f40f","🐐":"1f410","🐓":"1f413","🐕":"1f415","🐖":"1f416","🐪":"1f42a","👥":"1f465","👬":"1f46c","👭":"1f46d","💭":"1f4ad","💶":"1f4b6","💷":"1f4b7","📬":"1f4ec","📭":"1f4ed","📯":"1f4ef","📵":"1f4f5","🔀":"1f500","🔁":"1f501","🔂":"1f502","🔄":"1f504","🔅":"1f505","🔆":"1f506","🔇":"1f507","🔉":"1f509","🔕":"1f515","🔬":"1f52c","🔭":"1f52d","🕜":"1f55c","🕝":"1f55d","🕞":"1f55e","🕟":"1f55f","🕠":"1f560","🕡":"1f561","🕢":"1f562","🕣":"1f563","🕤":"1f564","🕥":"1f565","🕦":"1f566","🕧":"1f567","🔈":"1f508","🚋":"1f68b","🎞":"1f39e","🎟":"1f39f","🏅":"1f3c5","🏋":"1f3cb","🏌":"1f3cc","🏍":"1f3cd","🏎":"1f3ce","🎖":"1f396","🎗":"1f397","🌶":"1f336","🌧":"1f327","🌨":"1f328","🌩":"1f329","🌪":"1f32a","🌫":"1f32b","🌬":"1f32c","🐿":"1f43f","🕷":"1f577","🕸":"1f578","🌡":"1f321","🎙":"1f399","🎚":"1f39a","🎛":"1f39b","🏳":"1f3f3","🏴":"1f3f4","🏵":"1f3f5","🏷":"1f3f7","📸":"1f4f8","📽":"1f4fd","🕊":"1f54a","🕯":"1f56f","🕰":"1f570","🕳":"1f573","🕶":"1f576","🕹":"1f579","🖇":"1f587","🖊":"1f58a","🖋":"1f58b","🖌":"1f58c","🖍":"1f58d","🖥":"1f5a5","🖨":"1f5a8","🖲":"1f5b2","🖼":"1f5bc","🗂":"1f5c2","🗃":"1f5c3","🗄":"1f5c4","🗑":"1f5d1","🗒":"1f5d2","🗓":"1f5d3","🗜":"1f5dc","🗞":"1f5de","🗡":"1f5e1","🗣":"1f5e3","🗨":"1f5e8","🗯":"1f5ef","🗳":"1f5f3","🗺":"1f5fa","🛌":"1f6cc","🛠":"1f6e0","🛡":"1f6e1","🛢":"1f6e2","🛰":"1f6f0","🍽":"1f37d","👁":"1f441","🕴":"1f574","🕵":"1f575","🖐":"1f590","🖕":"1f595","🖖":"1f596","🙁":"1f641","🙂":"1f642","🏔":"1f3d4","🏕":"1f3d5","🏖":"1f3d6","🏗":"1f3d7","🏘":"1f3d8","🏙":"1f3d9","🏚":"1f3da","🏛":"1f3db","🏜":"1f3dc","🏝":"1f3dd","🏞":"1f3de","🏟":"1f3df","🛋":"1f6cb","🛍":"1f6cd","🛎":"1f6ce","🛏":"1f6cf","🛣":"1f6e3","🛤":"1f6e4","🛥":"1f6e5","🛩":"1f6e9","🛫":"1f6eb","🛬":"1f6ec","🛳":"1f6f3","🏻":"1f3fb","🏼":"1f3fc","🏽":"1f3fd","🏾":"1f3fe","🏿":"1f3ff","🌤":"1f324","🌥":"1f325","🌦":"1f326","🖱":"1f5b1","🙃":"1f643","🤑":"1f911","🤓":"1f913","🤗":"1f917","🙄":"1f644","🤔":"1f914","🤐":"1f910","🤒":"1f912","🤕":"1f915","🤖":"1f916","🦁":"1f981","🦄":"1f984","🦂":"1f982","🦀":"1f980","🦃":"1f983","🧀":"1f9c0","🌭":"1f32d","🌮":"1f32e","🌯":"1f32f","🍿":"1f37f","🍾":"1f37e","🏹":"1f3f9","🏺":"1f3fa","🛐":"1f6d0","🕋":"1f54b","🕌":"1f54c","🕍":"1f54d","🕎":"1f54e","📿":"1f4ff","🏏":"1f3cf","🏐":"1f3d0","🏑":"1f3d1","🏒":"1f3d2","🏓":"1f3d3","🏸":"1f3f8","🥁":"1f941","🦐":"1f990","🦑":"1f991","🥚":"1f95a","🥛":"1f95b","🥜":"1f95c","🥝":"1f95d","🥞":"1f95e","🇼":"1f1fc","🇻":"1f1fb","🇺":"1f1fa","🇹":"1f1f9","🇸":"1f1f8","🇷":"1f1f7","🇶":"1f1f6","🇵":"1f1f5","🇴":"1f1f4","🇳":"1f1f3","🇲":"1f1f2","🇱":"1f1f1","🇰":"1f1f0","🇯":"1f1ef","🇮":"1f1ee","🇭":"1f1ed","🇬":"1f1ec","🇫":"1f1eb","🇪":"1f1ea","🇩":"1f1e9","🇨":"1f1e8","🇧":"1f1e7","🇦":"1f1e6","🛷":"1f6f7","🛸":"1f6f8","🤟":"1f91f","🤨":"1f928","🤩":"1f929","🤪":"1f92a","🤫":"1f92b","🤬":"1f92c","🤭":"1f92d","🤮":"1f92e","🤯":"1f92f","🤱":"1f931","🤲":"1f932","🥌":"1f94c","🥟":"1f95f","🥠":"1f960","🥡":"1f961","🥢":"1f962","🥣":"1f963","🥤":"1f964","🥥":"1f965","🥦":"1f966","🥧":"1f967","🥨":"1f968","🥩":"1f969","🥪":"1f96a","🥫":"1f96b","🦒":"1f992","🦓":"1f993","🦔":"1f994","🦕":"1f995","🦖":"1f996","🦗":"1f997","🧐":"1f9d0","🧑":"1f9d1","🧒":"1f9d2","🧓":"1f9d3","🧔":"1f9d4","🧕":"1f9d5","🧖":"1f9d6","🧗":"1f9d7","🧘":"1f9d8","🧙":"1f9d9","🧚":"1f9da","🧛":"1f9db","🧜":"1f9dc","🧝":"1f9dd","🧞":"1f9de","🧟":"1f9df","🧠":"1f9e0","🧡":"1f9e1","🧢":"1f9e2","🧣":"1f9e3","🧤":"1f9e4","🧥":"1f9e5","🧦":"1f9e6","🛹":"1f6f9","🥍":"1f94d","🥎":"1f94e","🥏":"1f94f","🥬":"1f96c","🥭":"1f96d","🥮":"1f96e","🥯":"1f96f","🥰":"1f970","🥳":"1f973","🥴":"1f974","🥵":"1f975","🥶":"1f976","🥺":"1f97a","🥼":"1f97c","🥽":"1f97d","🥾":"1f97e","🥿":"1f97f","🦘":"1f998","🦙":"1f999","🦚":"1f99a","🦛":"1f99b","🦜":"1f99c","🦝":"1f99d","🦞":"1f99e","🦟":"1f99f","🦠":"1f9a0","🦡":"1f9a1","🦢":"1f9a2","🦰":"1f9b0","🦱":"1f9b1","🦲":"1f9b2","🦳":"1f9b3","🦴":"1f9b4","🦵":"1f9b5","🦶":"1f9b6","🦷":"1f9b7","🦸":"1f9b8","🦹":"1f9b9","🧁":"1f9c1","🧂":"1f9c2","🧧":"1f9e7","🧨":"1f9e8","🧩":"1f9e9","🧪":"1f9ea","🧫":"1f9eb","🧬":"1f9ec","🧭":"1f9ed","🧮":"1f9ee","🧯":"1f9ef","🧰":"1f9f0","🧱":"1f9f1","🧲":"1f9f2","🧳":"1f9f3","🧴":"1f9f4","🧵":"1f9f5","🧶":"1f9f6","🧷":"1f9f7","🧸":"1f9f8","🧹":"1f9f9","🧺":"1f9fa","🧻":"1f9fb","🧼":"1f9fc","🧽":"1f9fd","🧾":"1f9fe","🧿":"1f9ff","⌚":"231a","⌛":"231b","⏩":"23e9","⏪":"23ea","⏫":"23eb","⏬":"23ec","⏰":"23f0","⏳":"23f3","Ⓜ":"24c2","◽":"25fd","◾":"25fe","☀":"2600","☁":"2601","☎":"260e","☔":"2614","☕":"2615","☝":"261d","☺":"263a","♈":"2648","♉":"2649","♊":"264a","♋":"264b","♌":"264c","♍":"264d","♎":"264e","♏":"264f","♐":"2650","♑":"2651","♒":"2652","♓":"2653","♠":"2660","♣":"2663","♥":"2665","♦":"2666","♨":"2668","♻":"267b","♿":"267f","⚓":"2693","⚡":"26a1","⚪":"26aa","⚫":"26ab","⚽":"26bd","⚾":"26be","⛄":"26c4","⛅":"26c5","⛎":"26ce","⛔":"26d4","⛪":"26ea","⛲":"26f2","⛳":"26f3","⛵":"26f5","⛺":"26fa","⛽":"26fd","✂":"2702","✅":"2705","✈":"2708","✉":"2709","✊":"270a","✋":"270b","✌":"270c","✏":"270f","✒":"2712","✨":"2728","✳":"2733","✴":"2734","❄":"2744","❇":"2747","❌":"274c","❎":"274e","❓":"2753","❔":"2754","❕":"2755","❗":"2757","❤":"2764","➕":"2795","➖":"2796","➗":"2797","➰":"27b0","⬛":"2b1b","⬜":"2b1c","⭐":"2b50","⭕":"2b55","〽":"303d","㊗":"3297","㊙":"3299","➿":"27bf","⌨":"2328","✍":"270d","⏱":"23f1","⏲":"23f2","☂":"2602","☃":"2603","☄":"2604","☘":"2618","☠":"2620","☹":"2639","⚒":"2692","⚔":"2694","⚖":"2696","⚗":"2697","⚙":"2699","⚜":"269c","⚰":"26b0","⚱":"26b1","⛈":"26c8","⛏":"26cf","⛑":"26d1","⛓":"26d3","⛩":"26e9","⛰":"26f0","⛱":"26f1","⛴":"26f4","⛷":"26f7","⛸":"26f8","⛹":"26f9","❣":"2763","♟":"265f","♾":"267e"},d.jsEscapeMapGreedy={"👩❤💋👩":"1f469-2764-1f48b-1f469","👨❤💋👨":"1f468-2764-1f48b-1f468","👩❤💋👨":"1f469-2764-1f48b-1f468","👩❤👩":"1f469-2764-1f469","👨❤👨":"1f468-2764-1f468","🏌🏻♂":"1f3cc-1f3fb-2642","🏌🏼♂":"1f3cc-1f3fc-2642","🏌🏽♂":"1f3cc-1f3fd-2642","🏌🏾♂":"1f3cc-1f3fe-2642","🏌🏿♂":"1f3cc-1f3ff-2642","🏌🏻♀":"1f3cc-1f3fb-2640","🏌🏼♀":"1f3cc-1f3fc-2640","🏌🏽♀":"1f3cc-1f3fd-2640","🏌🏾♀":"1f3cc-1f3fe-2640","🏌🏿♀":"1f3cc-1f3ff-2640","👨🏻⚖":"1f468-1f3fb-2696","👨🏼⚖":"1f468-1f3fc-2696","👨🏽⚖":"1f468-1f3fd-2696","👨🏾⚖":"1f468-1f3fe-2696","👨🏿⚖":"1f468-1f3ff-2696","👩🏻⚖":"1f469-1f3fb-2696","👩🏼⚖":"1f469-1f3fc-2696","👩🏽⚖":"1f469-1f3fd-2696","👩🏾⚖":"1f469-1f3fe-2696","👩🏿⚖":"1f469-1f3ff-2696","👨🏻✈":"1f468-1f3fb-2708","👨🏼✈":"1f468-1f3fc-2708","👨🏽✈":"1f468-1f3fd-2708","👨🏾✈":"1f468-1f3fe-2708","👨🏿✈":"1f468-1f3ff-2708","👩🏻✈":"1f469-1f3fb-2708","👩🏼✈":"1f469-1f3fc-2708","👩🏽✈":"1f469-1f3fd-2708","👩🏾✈":"1f469-1f3fe-2708","👩🏿✈":"1f469-1f3ff-2708","👩❤👨":"1f469-2764-1f468","👨🏻⚕":"1f468-1f3fb-2695","👨🏼⚕":"1f468-1f3fc-2695","👨🏽⚕":"1f468-1f3fd-2695","👨🏾⚕":"1f468-1f3fe-2695","👨🏿⚕":"1f468-1f3ff-2695","👩🏻⚕":"1f469-1f3fb-2695","👩🏼⚕":"1f469-1f3fc-2695","👩🏽⚕":"1f469-1f3fd-2695","👩🏾⚕":"1f469-1f3fe-2695","👩🏿⚕":"1f469-1f3ff-2695","👮🏻♀":"1f46e-1f3fb-2640","👮🏻♂":"1f46e-1f3fb-2642","👮🏼♀":"1f46e-1f3fc-2640","👮🏼♂":"1f46e-1f3fc-2642","👮🏽♀":"1f46e-1f3fd-2640","👮🏽♂":"1f46e-1f3fd-2642","👮🏾♀":"1f46e-1f3fe-2640","👮🏾♂":"1f46e-1f3fe-2642","👮🏿♀":"1f46e-1f3ff-2640","👮🏿♂":"1f46e-1f3ff-2642","👱🏻♀":"1f471-1f3fb-2640","👱🏻♂":"1f471-1f3fb-2642","👱🏼♀":"1f471-1f3fc-2640","👱🏼♂":"1f471-1f3fc-2642","👱🏽♀":"1f471-1f3fd-2640","👱🏽♂":"1f471-1f3fd-2642","👱🏾♀":"1f471-1f3fe-2640","👱🏾♂":"1f471-1f3fe-2642","👱🏿♀":"1f471-1f3ff-2640","👱🏿♂":"1f471-1f3ff-2642","👳🏻♀":"1f473-1f3fb-2640","👳🏻♂":"1f473-1f3fb-2642","👳🏼♀":"1f473-1f3fc-2640","👳🏼♂":"1f473-1f3fc-2642","👳🏽♀":"1f473-1f3fd-2640","👳🏽♂":"1f473-1f3fd-2642","👳🏾♀":"1f473-1f3fe-2640","👳🏾♂":"1f473-1f3fe-2642","👳🏿♀":"1f473-1f3ff-2640","👳🏿♂":"1f473-1f3ff-2642","👷🏻♀":"1f477-1f3fb-2640","👷🏻♂":"1f477-1f3fb-2642","👷🏼♀":"1f477-1f3fc-2640","👷🏼♂":"1f477-1f3fc-2642","👷🏽♀":"1f477-1f3fd-2640","👷🏽♂":"1f477-1f3fd-2642","👷🏾♀":"1f477-1f3fe-2640","👷🏾♂":"1f477-1f3fe-2642","👷🏿♀":"1f477-1f3ff-2640","👷🏿♂":"1f477-1f3ff-2642","💂🏻♀":"1f482-1f3fb-2640","💂🏻♂":"1f482-1f3fb-2642","💂🏼♀":"1f482-1f3fc-2640","💂🏼♂":"1f482-1f3fc-2642","💂🏽♀":"1f482-1f3fd-2640","💂🏽♂":"1f482-1f3fd-2642","💂🏾♀":"1f482-1f3fe-2640","💂🏾♂":"1f482-1f3fe-2642","💂🏿♀":"1f482-1f3ff-2640","💂🏿♂":"1f482-1f3ff-2642","🕵🏻♀":"1f575-1f3fb-2640","🕵🏻♂":"1f575-1f3fb-2642","🕵🏼♀":"1f575-1f3fc-2640","🕵🏼♂":"1f575-1f3fc-2642","🕵🏽♀":"1f575-1f3fd-2640","🕵🏽♂":"1f575-1f3fd-2642","🕵🏾♀":"1f575-1f3fe-2640","🕵🏾♂":"1f575-1f3fe-2642","🕵🏿♀":"1f575-1f3ff-2640","🕵🏿♂":"1f575-1f3ff-2642","🏃🏻♀":"1f3c3-1f3fb-2640","🏃🏻♂":"1f3c3-1f3fb-2642","🏃🏼♀":"1f3c3-1f3fc-2640","🏃🏼♂":"1f3c3-1f3fc-2642","🏃🏽♀":"1f3c3-1f3fd-2640","🏃🏽♂":"1f3c3-1f3fd-2642","🏃🏾♀":"1f3c3-1f3fe-2640","🏃🏾♂":"1f3c3-1f3fe-2642","🏃🏿♀":"1f3c3-1f3ff-2640","🏃🏿♂":"1f3c3-1f3ff-2642","🏄🏻♀":"1f3c4-1f3fb-2640","🏄🏻♂":"1f3c4-1f3fb-2642","🏄🏼♀":"1f3c4-1f3fc-2640","🏄🏼♂":"1f3c4-1f3fc-2642","🏄🏽♀":"1f3c4-1f3fd-2640","🏄🏽♂":"1f3c4-1f3fd-2642","🏄🏾♀":"1f3c4-1f3fe-2640","🏄🏾♂":"1f3c4-1f3fe-2642","🏄🏿♀":"1f3c4-1f3ff-2640","🏄🏿♂":"1f3c4-1f3ff-2642","🏊🏻♀":"1f3ca-1f3fb-2640","🏊🏻♂":"1f3ca-1f3fb-2642","🏊🏼♀":"1f3ca-1f3fc-2640","🏊🏼♂":"1f3ca-1f3fc-2642","🏊🏽♀":"1f3ca-1f3fd-2640","🏊🏽♂":"1f3ca-1f3fd-2642","🏊🏾♀":"1f3ca-1f3fe-2640","🏊🏾♂":"1f3ca-1f3fe-2642","🏊🏿♀":"1f3ca-1f3ff-2640","🏊🏿♂":"1f3ca-1f3ff-2642","🏋🏻♀":"1f3cb-1f3fb-2640","🏋🏻♂":"1f3cb-1f3fb-2642","🏋🏼♀":"1f3cb-1f3fc-2640","🏋🏼♂":"1f3cb-1f3fc-2642","🏋🏽♀":"1f3cb-1f3fd-2640","🏋🏽♂":"1f3cb-1f3fd-2642","🏋🏾♀":"1f3cb-1f3fe-2640","🏋🏾♂":"1f3cb-1f3fe-2642","🏋🏿♀":"1f3cb-1f3ff-2640","🏋🏿♂":"1f3cb-1f3ff-2642","💆🏻♀":"1f486-1f3fb-2640","💆🏻♂":"1f486-1f3fb-2642","💆🏼♀":"1f486-1f3fc-2640","💆🏼♂":"1f486-1f3fc-2642","💆🏽♀":"1f486-1f3fd-2640","💆🏽♂":"1f486-1f3fd-2642","💆🏾♀":"1f486-1f3fe-2640","💆🏾♂":"1f486-1f3fe-2642","💆🏿♀":"1f486-1f3ff-2640","💆🏿♂":"1f486-1f3ff-2642","💇🏻♀":"1f487-1f3fb-2640","💇🏻♂":"1f487-1f3fb-2642","💇🏼♀":"1f487-1f3fc-2640","💇🏼♂":"1f487-1f3fc-2642","💇🏽♀":"1f487-1f3fd-2640","💇🏽♂":"1f487-1f3fd-2642","💇🏾♀":"1f487-1f3fe-2640","💇🏾♂":"1f487-1f3fe-2642","💇🏿♀":"1f487-1f3ff-2640","💇🏿♂":"1f487-1f3ff-2642","🚣🏻♀":"1f6a3-1f3fb-2640","🚣🏻♂":"1f6a3-1f3fb-2642","🚣🏼♀":"1f6a3-1f3fc-2640","🚣🏼♂":"1f6a3-1f3fc-2642","🚣🏽♀":"1f6a3-1f3fd-2640","🚣🏽♂":"1f6a3-1f3fd-2642","🚣🏾♀":"1f6a3-1f3fe-2640","🚣🏾♂":"1f6a3-1f3fe-2642","🚣🏿♀":"1f6a3-1f3ff-2640","🚣🏿♂":"1f6a3-1f3ff-2642","🚴🏻♀":"1f6b4-1f3fb-2640","🚴🏻♂":"1f6b4-1f3fb-2642","🚴🏼♀":"1f6b4-1f3fc-2640","🚴🏼♂":"1f6b4-1f3fc-2642","🚴🏽♀":"1f6b4-1f3fd-2640","🚴🏽♂":"1f6b4-1f3fd-2642","🚴🏾♀":"1f6b4-1f3fe-2640","🚴🏾♂":"1f6b4-1f3fe-2642","🚴🏿♀":"1f6b4-1f3ff-2640","🚴🏿♂":"1f6b4-1f3ff-2642","🚵🏻♀":"1f6b5-1f3fb-2640","🚵🏻♂":"1f6b5-1f3fb-2642","🚵🏼♀":"1f6b5-1f3fc-2640","🚵🏼♂":"1f6b5-1f3fc-2642","🚵🏽♀":"1f6b5-1f3fd-2640","🚵🏽♂":"1f6b5-1f3fd-2642","🚵🏾♀":"1f6b5-1f3fe-2640","🚵🏾♂":"1f6b5-1f3fe-2642","🚵🏿♀":"1f6b5-1f3ff-2640","🚵🏿♂":"1f6b5-1f3ff-2642","🚶🏻♀":"1f6b6-1f3fb-2640","🚶🏻♂":"1f6b6-1f3fb-2642","🚶🏼♀":"1f6b6-1f3fc-2640","🚶🏼♂":"1f6b6-1f3fc-2642","🚶🏽♀":"1f6b6-1f3fd-2640","🚶🏽♂":"1f6b6-1f3fd-2642","🚶🏾♀":"1f6b6-1f3fe-2640","🚶🏾♂":"1f6b6-1f3fe-2642","🚶🏿♀":"1f6b6-1f3ff-2640","🚶🏿♂":"1f6b6-1f3ff-2642","🤸🏻♀":"1f938-1f3fb-2640","🤸🏻♂":"1f938-1f3fb-2642","🤸🏼♀":"1f938-1f3fc-2640","🤸🏼♂":"1f938-1f3fc-2642","🤸🏽♀":"1f938-1f3fd-2640","🤸🏽♂":"1f938-1f3fd-2642","🤸🏾♀":"1f938-1f3fe-2640","🤸🏾♂":"1f938-1f3fe-2642","🤸🏿♀":"1f938-1f3ff-2640","🤸🏿♂":"1f938-1f3ff-2642","🤹🏻♀":"1f939-1f3fb-2640","🤹🏻♂":"1f939-1f3fb-2642","🤹🏼♀":"1f939-1f3fc-2640","🤹🏼♂":"1f939-1f3fc-2642","🤹🏽♀":"1f939-1f3fd-2640","🤹🏽♂":"1f939-1f3fd-2642","🤹🏾♀":"1f939-1f3fe-2640","🤹🏾♂":"1f939-1f3fe-2642","🤹🏿♀":"1f939-1f3ff-2640","🤹🏿♂":"1f939-1f3ff-2642","🤽🏻♀":"1f93d-1f3fb-2640","🤽🏻♂":"1f93d-1f3fb-2642","🤽🏼♀":"1f93d-1f3fc-2640","🤽🏼♂":"1f93d-1f3fc-2642","🤽🏽♀":"1f93d-1f3fd-2640","🤽🏽♂":"1f93d-1f3fd-2642","🤽🏾♀":"1f93d-1f3fe-2640","🤽🏾♂":"1f93d-1f3fe-2642","🤽🏿♀":"1f93d-1f3ff-2640","🤽🏿♂":"1f93d-1f3ff-2642","🤾🏻♀":"1f93e-1f3fb-2640","🤾🏻♂":"1f93e-1f3fb-2642","🤾🏼♀":"1f93e-1f3fc-2640","🤾🏼♂":"1f93e-1f3fc-2642","🤾🏽♀":"1f93e-1f3fd-2640","🤾🏽♂":"1f93e-1f3fd-2642","🤾🏾♀":"1f93e-1f3fe-2640","🤾🏾♂":"1f93e-1f3fe-2642","🤾🏿♀":"1f93e-1f3ff-2640","🤾🏿♂":"1f93e-1f3ff-2642","💁🏻♀":"1f481-1f3fb-2640","💁🏻♂":"1f481-1f3fb-2642","💁🏼♀":"1f481-1f3fc-2640","💁🏼♂":"1f481-1f3fc-2642","💁🏽♀":"1f481-1f3fd-2640","💁🏽♂":"1f481-1f3fd-2642","💁🏾♀":"1f481-1f3fe-2640","💁🏾♂":"1f481-1f3fe-2642","💁🏿♀":"1f481-1f3ff-2640","💁🏿♂":"1f481-1f3ff-2642","🙅🏻♀":"1f645-1f3fb-2640","🙅🏻♂":"1f645-1f3fb-2642","🙅🏼♀":"1f645-1f3fc-2640","🙅🏼♂":"1f645-1f3fc-2642","🙅🏽♀":"1f645-1f3fd-2640","🙅🏽♂":"1f645-1f3fd-2642","🙅🏾♀":"1f645-1f3fe-2640","🙅🏾♂":"1f645-1f3fe-2642","🙅🏿♀":"1f645-1f3ff-2640","🙅🏿♂":"1f645-1f3ff-2642","🙆🏻♀":"1f646-1f3fb-2640","🙆🏻♂":"1f646-1f3fb-2642","🙆🏼♀":"1f646-1f3fc-2640","🙆🏼♂":"1f646-1f3fc-2642","🙆🏽♀":"1f646-1f3fd-2640","🙆🏽♂":"1f646-1f3fd-2642","🙆🏾♀":"1f646-1f3fe-2640","🙆🏾♂":"1f646-1f3fe-2642","🙆🏿♀":"1f646-1f3ff-2640","🙆🏿♂":"1f646-1f3ff-2642","🙇🏻♀":"1f647-1f3fb-2640","🙇🏻♂":"1f647-1f3fb-2642","🙇🏼♀":"1f647-1f3fc-2640","🙇🏼♂":"1f647-1f3fc-2642","🙇🏽♀":"1f647-1f3fd-2640","🙇🏽♂":"1f647-1f3fd-2642","🙇🏾♀":"1f647-1f3fe-2640","🙇🏾♂":"1f647-1f3fe-2642","🙇🏿♀":"1f647-1f3ff-2640","🙇🏿♂":"1f647-1f3ff-2642","🙋🏻♀":"1f64b-1f3fb-2640","🙋🏻♂":"1f64b-1f3fb-2642","🙋🏼♀":"1f64b-1f3fc-2640","🙋🏼♂":"1f64b-1f3fc-2642","🙋🏽♀":"1f64b-1f3fd-2640","🙋🏽♂":"1f64b-1f3fd-2642","🙋🏾♀":"1f64b-1f3fe-2640","🙋🏾♂":"1f64b-1f3fe-2642","🙋🏿♀":"1f64b-1f3ff-2640","🙋🏿♂":"1f64b-1f3ff-2642","🙍🏻♀":"1f64d-1f3fb-2640","🙍🏻♂":"1f64d-1f3fb-2642","🙍🏼♀":"1f64d-1f3fc-2640","🙍🏼♂":"1f64d-1f3fc-2642","🙍🏽♀":"1f64d-1f3fd-2640","🙍🏽♂":"1f64d-1f3fd-2642","🙍🏾♀":"1f64d-1f3fe-2640","🙍🏾♂":"1f64d-1f3fe-2642","🙍🏿♀":"1f64d-1f3ff-2640","🙍🏿♂":"1f64d-1f3ff-2642","🙎🏻♀":"1f64e-1f3fb-2640","🙎🏻♂":"1f64e-1f3fb-2642","🙎🏼♀":"1f64e-1f3fc-2640","🙎🏼♂":"1f64e-1f3fc-2642","🙎🏽♀":"1f64e-1f3fd-2640","🙎🏽♂":"1f64e-1f3fd-2642","🙎🏾♀":"1f64e-1f3fe-2640","🙎🏾♂":"1f64e-1f3fe-2642","🙎🏿♀":"1f64e-1f3ff-2640","🙎🏿♂":"1f64e-1f3ff-2642","🤦🏻♀":"1f926-1f3fb-2640","🤦🏻♂":"1f926-1f3fb-2642","🤦🏼♀":"1f926-1f3fc-2640","🤦🏼♂":"1f926-1f3fc-2642","🤦🏽♀":"1f926-1f3fd-2640","🤦🏽♂":"1f926-1f3fd-2642","🤦🏾♀":"1f926-1f3fe-2640","🤦🏾♂":"1f926-1f3fe-2642","🤦🏿♀":"1f926-1f3ff-2640","🤦🏿♂":"1f926-1f3ff-2642","🤷🏻♀":"1f937-1f3fb-2640","🤷🏻♂":"1f937-1f3fb-2642","🤷🏼♀":"1f937-1f3fc-2640","🤷🏼♂":"1f937-1f3fc-2642","🤷🏽♀":"1f937-1f3fd-2640","🤷🏽♂":"1f937-1f3fd-2642","🤷🏾♀":"1f937-1f3fe-2640","🤷🏾♂":"1f937-1f3fe-2642","🤷🏿♀":"1f937-1f3ff-2640","🤷🏿♂":"1f937-1f3ff-2642","🧙🏻♀":"1f9d9-1f3fb-2640","🧙🏻♂":"1f9d9-1f3fb-2642","🧙🏼♀":"1f9d9-1f3fc-2640","🧙🏼♂":"1f9d9-1f3fc-2642","🧙🏽♀":"1f9d9-1f3fd-2640","🧙🏽♂":"1f9d9-1f3fd-2642","🧙🏾♀":"1f9d9-1f3fe-2640","🧙🏾♂":"1f9d9-1f3fe-2642","🧙🏿♀":"1f9d9-1f3ff-2640","🧙🏿♂":"1f9d9-1f3ff-2642","🧚🏻♀":"1f9da-1f3fb-2640","🧚🏻♂":"1f9da-1f3fb-2642","🧚🏼♀":"1f9da-1f3fc-2640","🧚🏼♂":"1f9da-1f3fc-2642","🧚🏽♀":"1f9da-1f3fd-2640","🧚🏽♂":"1f9da-1f3fd-2642","🧚🏾♀":"1f9da-1f3fe-2640","🧚🏾♂":"1f9da-1f3fe-2642","🧚🏿♀":"1f9da-1f3ff-2640","🧚🏿♂":"1f9da-1f3ff-2642","🧛🏻♀":"1f9db-1f3fb-2640","🧛🏻♂":"1f9db-1f3fb-2642","🧛🏼♀":"1f9db-1f3fc-2640","🧛🏼♂":"1f9db-1f3fc-2642","🧛🏽♀":"1f9db-1f3fd-2640","🧛🏽♂":"1f9db-1f3fd-2642","🧛🏾♀":"1f9db-1f3fe-2640","🧛🏾♂":"1f9db-1f3fe-2642","🧛🏿♀":"1f9db-1f3ff-2640","🧛🏿♂":"1f9db-1f3ff-2642","🧜🏻♀":"1f9dc-1f3fb-2640","🧜🏻♂":"1f9dc-1f3fb-2642","🧜🏼♀":"1f9dc-1f3fc-2640","🧜🏼♂":"1f9dc-1f3fc-2642","🧜🏽♀":"1f9dc-1f3fd-2640","🧜🏽♂":"1f9dc-1f3fd-2642","🧜🏾♀":"1f9dc-1f3fe-2640","🧜🏾♂":"1f9dc-1f3fe-2642","🧜🏿♀":"1f9dc-1f3ff-2640","🧜🏿♂":"1f9dc-1f3ff-2642","🧝🏻♀":"1f9dd-1f3fb-2640","🧝🏻♂":"1f9dd-1f3fb-2642","🧝🏼♀":"1f9dd-1f3fc-2640","🧝🏼♂":"1f9dd-1f3fc-2642","🧝🏽♀":"1f9dd-1f3fd-2640","🧝🏽♂":"1f9dd-1f3fd-2642","🧝🏾♀":"1f9dd-1f3fe-2640","🧝🏾♂":"1f9dd-1f3fe-2642","🧝🏿♀":"1f9dd-1f3ff-2640","🧝🏿♂":"1f9dd-1f3ff-2642","🧖🏻♀":"1f9d6-1f3fb-2640","🧖🏻♂":"1f9d6-1f3fb-2642","🧖🏼♀":"1f9d6-1f3fc-2640","🧖🏼♂":"1f9d6-1f3fc-2642","🧖🏽♀":"1f9d6-1f3fd-2640","🧖🏽♂":"1f9d6-1f3fd-2642","🧖🏾♀":"1f9d6-1f3fe-2640","🧖🏾♂":"1f9d6-1f3fe-2642","🧖🏿♀":"1f9d6-1f3ff-2640","🧖🏿♂":"1f9d6-1f3ff-2642","🧗🏻♀":"1f9d7-1f3fb-2640","🧗🏻♂":"1f9d7-1f3fb-2642","🧗🏼♀":"1f9d7-1f3fc-2640","🧗🏼♂":"1f9d7-1f3fc-2642","🧗🏽♀":"1f9d7-1f3fd-2640","🧗🏽♂":"1f9d7-1f3fd-2642","🧗🏾♀":"1f9d7-1f3fe-2640","🧗🏾♂":"1f9d7-1f3fe-2642","🧗🏿♀":"1f9d7-1f3ff-2640","🧗🏿♂":"1f9d7-1f3ff-2642","🧘🏻♀":"1f9d8-1f3fb-2640","🧘🏻♂":"1f9d8-1f3fb-2642","🧘🏼♀":"1f9d8-1f3fc-2640","🧘🏼♂":"1f9d8-1f3fc-2642","🧘🏽♀":"1f9d8-1f3fd-2640","🧘🏽♂":"1f9d8-1f3fd-2642","🧘🏾♀":"1f9d8-1f3fe-2640","🧘🏾♂":"1f9d8-1f3fe-2642","🧘🏿♀":"1f9d8-1f3ff-2640","🧘🏿♂":"1f9d8-1f3ff-2642","🦸🏻♀":"1f9b8-1f3fb-2640","🦸🏻♂":"1f9b8-1f3fb-2642","🦸🏼♀":"1f9b8-1f3fc-2640","🦸🏼♂":"1f9b8-1f3fc-2642","🦸🏽♀":"1f9b8-1f3fd-2640","🦸🏽♂":"1f9b8-1f3fd-2642","🦸🏾♀":"1f9b8-1f3fe-2640","🦸🏾♂":"1f9b8-1f3fe-2642","🦸🏿♀":"1f9b8-1f3ff-2640","🦸🏿♂":"1f9b8-1f3ff-2642","🦹🏻♀":"1f9b9-1f3fb-2640","🦹🏻♂":"1f9b9-1f3fb-2642","🦹🏼♀":"1f9b9-1f3fc-2640","🦹🏼♂":"1f9b9-1f3fc-2642","🦹🏽♀":"1f9b9-1f3fd-2640","🦹🏽♂":"1f9b9-1f3fd-2642","🦹🏾♀":"1f9b9-1f3fe-2640","🦹🏾♂":"1f9b9-1f3fe-2642","🦹🏿♀":"1f9b9-1f3ff-2640","🦹🏿♂":"1f9b9-1f3ff-2642","⛹🏻♀":"26f9-1f3fb-2640","⛹🏻♂":"26f9-1f3fb-2642","⛹🏼♀":"26f9-1f3fc-2640","⛹🏼♂":"26f9-1f3fc-2642","⛹🏽♀":"26f9-1f3fd-2640","⛹🏽♂":"26f9-1f3fd-2642","⛹🏾♀":"26f9-1f3fe-2640","⛹🏾♂":"26f9-1f3fe-2642","⛹🏿♀":"26f9-1f3ff-2640","⛹🏿♂":"26f9-1f3ff-2642","🏳🌈":"1f3f3-1f308","👁🗨":"1f441-1f5e8","👯♂":"1f46f-2642","👯♀":"1f46f-2640","🏌♂":"1f3cc-2642","🏌♀":"1f3cc-2640","🤼♂":"1f93c-2642","🤼♀":"1f93c-2640","🤹♂":"1f939-2642","🤹♀":"1f939-2640","🤾♂":"1f93e-2642","🤾♀":"1f93e-2640","🤽♂":"1f93d-2642","🤽♀":"1f93d-2640","🤸♂":"1f938-2642","🤸♀":"1f938-2640","🚶♂":"1f6b6-2642","🚶♀":"1f6b6-2640","🚵♂":"1f6b5-2642","🚵♀":"1f6b5-2640","🚴♂":"1f6b4-2642","🚴♀":"1f6b4-2640","🚣♂":"1f6a3-2642","🚣♀":"1f6a3-2640","🏋♂":"1f3cb-2642","🏋♀":"1f3cb-2640","🏊♂":"1f3ca-2642","🏊♀":"1f3ca-2640","🏄♂":"1f3c4-2642","🏄♀":"1f3c4-2640","🏃♂":"1f3c3-2642","🏃♀":"1f3c3-2640","🤷♂":"1f937-2642","🤷♀":"1f937-2640","🤦♂":"1f926-2642","🤦♀":"1f926-2640","🙎♂":"1f64e-2642","🙎♀":"1f64e-2640","🙍♂":"1f64d-2642","🙍♀":"1f64d-2640","🙋♂":"1f64b-2642","🙋♀":"1f64b-2640","🙇♂":"1f647-2642","🙇♀":"1f647-2640","🙆♂":"1f646-2642","🙆♀":"1f646-2640","🙅♂":"1f645-2642","🙅♀":"1f645-2640","💇♂":"1f487-2642","💇♀":"1f487-2640","💆♂":"1f486-2642","💆♀":"1f486-2640","💁♂":"1f481-2642","💁♀":"1f481-2640","👱♂":"1f471-2642","👱♀":"1f471-2640","👳♂":"1f473-2642","👳♀":"1f473-2640","💂♂":"1f482-2642","💂♀":"1f482-2640","🕵♂":"1f575-2642","🕵♀":"1f575-2640","👷♂":"1f477-2642","👷♀":"1f477-2640","👮♂":"1f46e-2642","👮♀":"1f46e-2640","👨⚕":"1f468-2695","👩⚕":"1f469-2695","👨⚖":"1f468-2696","👩⚖":"1f469-2696","👨✈":"1f468-2708","👩✈":"1f469-2708","🧙♀":"1f9d9-2640","🧙♂":"1f9d9-2642","🧚♀":"1f9da-2640","🧚♂":"1f9da-2642","🧛♀":"1f9db-2640","🧛♂":"1f9db-2642","🧜♀":"1f9dc-2640","🧜♂":"1f9dc-2642","🧝♀":"1f9dd-2640","🧝♂":"1f9dd-2642","🧞♀":"1f9de-2640","🧞♂":"1f9de-2642","🧟♀":"1f9df-2640","🧟♂":"1f9df-2642","🧖♀":"1f9d6-2640","🧖♂":"1f9d6-2642","🧗♀":"1f9d7-2640","🧗♂":"1f9d7-2642","🧘♀":"1f9d8-2640","🧘♂":"1f9d8-2642","🦸♀":"1f9b8-2640","🦸♂":"1f9b8-2642","🦹♀":"1f9b9-2640","🦹♂":"1f9b9-2642","🏴☠":"1f3f4-2620","⛹♂":"26f9-2642","⛹♀":"26f9-2640","🕉":"1f549","🗝":"1f5dd","‼":"203c","⁉":"2049","ℹ":"2139","↔":"2194","↕":"2195","↖":"2196","↗":"2197","↘":"2198","↙":"2199","↩":"21a9","↪":"21aa","▪":"25aa","▫":"25ab","▶":"25b6","◀":"25c0","◻":"25fb","◼":"25fc","☑":"2611","⚠":"26a0","✔":"2714","✖":"2716","➡":"27a1","⤴":"2934","⤵":"2935","⬅":"2b05","⬆":"2b06","⬇":"2b07","〰":"3030","✝":"271d","⏏":"23cf","⏭":"23ed","⏮":"23ee","⏯":"23ef","⏸":"23f8","⏹":"23f9","⏺":"23fa","☢":"2622","☣":"2623","☦":"2626","☪":"262a","☮":"262e","☯":"262f","☸":"2638","⚛":"269b","✡":"2721","♀":"2640","♂":"2642","⚕":"2695"},d.asciiList={"*\\0/*":"1f646","*\\O/*":"1f646","-___-":"1f611",":'-)":"1f602","':-)":"1f605","':-D":"1f605",">:-)":"1f606","':-(":"1f613",">:-(":"1f620",":'-(":"1f622","O:-)":"1f607","0:-3":"1f607","0:-)":"1f607","0;^)":"1f607","O;-)":"1f607","0;-)":"1f607","O:-3":"1f607","-__-":"1f611",":-Þ":"1f61b","</3":"1f494",":')":"1f602",":-D":"1f603","':)":"1f605","'=)":"1f605","':D":"1f605","'=D":"1f605",">:)":"1f606",">;)":"1f606",">=)":"1f606",";-)":"1f609","*-)":"1f609",";-]":"1f609",";^)":"1f609","':(":"1f613","'=(":"1f613",":-*":"1f618",":^*":"1f618",">:P":"1f61c","X-P":"1f61c",">:[":"1f61e",":-(":"1f61e",":-[":"1f61e",">:(":"1f620",":'(":"1f622",";-(":"1f622",">.<":"1f623","#-)":"1f635","%-)":"1f635","X-)":"1f635","\\0/":"1f646","\\O/":"1f646","0:3":"1f607","0:)":"1f607","O:)":"1f607","O=)":"1f607","O:3":"1f607","B-)":"1f60e","8-)":"1f60e","B-D":"1f60e","8-D":"1f60e","-_-":"1f611",">:\\":"1f615",">:/":"1f615",":-/":"1f615",":-.":"1f615",":-P":"1f61b",":Þ":"1f61b",":-b":"1f61b",":-O":"1f62e",O_O:"1f62e",">:O":"1f62e",":-X":"1f636",":-#":"1f636",":-)":"1f642","(y)":"1f44d","<3":"2764",":D":"1f603","=D":"1f603",";)":"1f609","*)":"1f609",";]":"1f609",";D":"1f609",":*":"1f618","=*":"1f618",":(":"1f61e",":[":"1f61e","=(":"1f61e",":@":"1f620",";(":"1f622","D:":"1f628",":$":"1f633","=$":"1f633","#)":"1f635","%)":"1f635","X)":"1f635","B)":"1f60e","8)":"1f60e",":/":"1f615",":\\":"1f615","=/":"1f615","=\\":"1f615",":L":"1f615","=L":"1f615",":P":"1f61b","=P":"1f61b",":b":"1f61b",":O":"1f62e",":X":"1f636",":#":"1f636","=X":"1f636","=#":"1f636",":)":"1f642","=]":"1f642","=)":"1f642",":]":"1f642"},d.asciiRegexp="(\\*\\\\0\\/\\*|\\*\\\\O\\/\\*|\\-___\\-|\\:'\\-\\)|'\\:\\-\\)|'\\:\\-D|\\>\\:\\-\\)|>\\:\\-\\)|'\\:\\-\\(|\\>\\:\\-\\(|>\\:\\-\\(|\\:'\\-\\(|O\\:\\-\\)|0\\:\\-3|0\\:\\-\\)|0;\\^\\)|O;\\-\\)|0;\\-\\)|O\\:\\-3|\\-__\\-|\\:\\-Þ|\\:\\-Þ|\\<\\/3|<\\/3|\\:'\\)|\\:\\-D|'\\:\\)|'\\=\\)|'\\:D|'\\=D|\\>\\:\\)|>\\:\\)|\\>;\\)|>;\\)|\\>\\=\\)|>\\=\\)|;\\-\\)|\\*\\-\\)|;\\-\\]|;\\^\\)|'\\:\\(|'\\=\\(|\\:\\-\\*|\\:\\^\\*|\\>\\:P|>\\:P|X\\-P|\\>\\:\\[|>\\:\\[|\\:\\-\\(|\\:\\-\\[|\\>\\:\\(|>\\:\\(|\\:'\\(|;\\-\\(|\\>\\.\\<|>\\.<|#\\-\\)|%\\-\\)|X\\-\\)|\\\\0\\/|\\\\O\\/|0\\:3|0\\:\\)|O\\:\\)|O\\=\\)|O\\:3|B\\-\\)|8\\-\\)|B\\-D|8\\-D|\\-_\\-|\\>\\:\\\\|>\\:\\\\|\\>\\:\\/|>\\:\\/|\\:\\-\\/|\\:\\-\\.|\\:\\-P|\\:Þ|\\:Þ|\\:\\-b|\\:\\-O|O_O|\\>\\:O|>\\:O|\\:\\-X|\\:\\-#|\\:\\-\\)|\\(y\\)|\\<3|<3|\\:D|\\=D|;\\)|\\*\\)|;\\]|;D|\\:\\*|\\=\\*|\\:\\(|\\:\\[|\\=\\(|\\:@|;\\(|D\\:|\\:\\$|\\=\\$|#\\)|%\\)|X\\)|B\\)|8\\)|\\:\\/|\\:\\\\|\\=\\/|\\=\\\\|\\:L|\\=L|\\:P|\\=P|\\:b|\\:O|\\:X|\\:#|\\=X|\\=#|\\:\\)|\\=\\]|\\=\\)|\\:\\])",d.emojiVersion="4.5",d.emojiSize="32",d.greedyMatch=!1,d.blacklistChars="",d.imagePathPNG="https://cdn.jsdelivr.net/emojione/assets/"+d.emojiVersion+"/png/",d.defaultPathPNG=d.imagePathPNG,d.fileExtension=".png",d.imageTitleTag=!0,d.sprites=!1,d.unicodeAlt=!0,d.ascii=!1,d.riskyMatchAscii=!1,d.regShortNames=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+d.shortnames+")","gi"),d.regAscii=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|((\\s|^)"+d.asciiRegexp+"(?=\\s|$|[!,.?]))","gi"),d.regAsciiRisky=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|(()"+d.asciiRegexp+"())","gi"),d.regUnicode=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|(?:🏳)️?\200d?(?:🌈)|(?:👁)️?\200d?(?:🗨)️?|[#-9]️?⃣|(?:(?:🏴)(?:\udb40[\udc60-\udcff]){1,6})|(?:\ud83c[\udde0-\uddff]){2}|(?:(?:\ud83d[\udc68\udc69]))️?(?:\ud83c[\udffa-\udfff])?\200d?(?:[⚕⚖✈]|\ud83c[\udf3e-\udfed]|\ud83d[\udcbb\udcbc\udd27\udd2c\ude80\ude92])|(?:\ud83d[\udc68\udc69]|\ud83e[\uddd0-\udddf])(?:\ud83c[\udffa-\udfff])?\200d?[♀♂⚕⚖✈]?️?|(?:(?:❤|\ud83d[\udc66-\udc69\udc8b])[\200d️]{0,2}){1,3}(?:❤|\ud83d[\udc66-\udc69\udc8b])|(?:(?:❤|\ud83d[\udc66-\udc69\udc8b])️?){2,4}|(?:\ud83d[\udc68\udc69\udc6e\udc71-\udc87\udd75\ude45-\ude4e]|\ud83e[\udd26\udd37]|\ud83c[\udfc3-\udfcc]|\ud83e[\udd38-\udd3e]|\ud83d[\udea3-\udeb6]|⛹|👯)️?(?:\ud83c[\udffb-\udfff])?\200d?[♀♂]?️?|(?:[☝⛹✊-✍]|\ud83c[\udf85-\udfcc]|\ud83d[\udc42-\udcaa\udd74-\udd96\ude45-\ude4f\udea3-\udecc]|\ud83e[\udd18-\udd3e])️?(?:\ud83c[\udffb-\udfff])|(?:[↔-↙↩-↪]️?|[#*]|[〰〽]️?|(?:\ud83c[\udd70-\udd71]|🆎|\ud83c[\udd91-\udd9a])️?|Ⓜ️?|[㊗㊙]️?|(?:\ud83c[\ude01-\ude02]|🈚|🈯|\ud83c[\ude32-\ude3a]|\ud83c[\ude50-\ude51])️?|[‼⁉]️?|[▪-▫▶◀◻-◾]️?|[©®]️?|[™ℹ]️?|🀄️?|[⬅-⬇⬛-⬜⭐⭕]️?|[⌚-⌛⌨⏏⏩-⏳⏸-⏺]️?|🃏|[⤴⤵]️?)|[✀-➿]️?|[\ud800-\udbff][\udc00-\udfff]️?|[☀-⛿]️?|[0-9]️","g"),d.toImage=function(e){return e=d.toShort(e),e=d.shortnameToImage(e),e=d.wipeVS16(e)},d.unicodeToImage=function(e){return e},d.wipeVS16=function(e){var t=d.vs16Regex();return d.replaceAllVS16(e,t)},d.unifyUnicode=function(e){return e=d.toShort(e),e=d.shortnameToUnicode(e)},d.shortnameToAscii=function(e){var t,n=d.objectFlip(d.asciiList);return e=e.replace(d.regShortNames,function(e){return void 0!==e&&""!==e&&e in d.emojioneList?(t=d.emojioneList[e].uc_output,void 0!==n[t]?n[t]:e):e})},d.shortnameToUnicode=function(e){var i;if(e=e.replace(d.regShortNames,function(e){return void 0!==e&&""!==e&&e in d.emojioneList?(i=d.emojioneList[e].uc_output.toUpperCase(),d.emojioneList[e].uc_base,d.convert(i)):e}),d.ascii){var t=d.riskyMatchAscii?d.regAsciiRisky:d.regAscii;e=e.replace(t,function(e,t,n,r){return void 0!==r&&""!==r&&d.unescapeHTML(r)in d.asciiList?(r=d.unescapeHTML(r),i=d.asciiList[r].toUpperCase(),n+d.convert(i)):e})}return e},d.shortnameToImage=function(e){var i,a,n,o,s,c,l,u,f=d.mapUnicodeToShort();if(e=e.replace(d.regShortNames,function(e){if(void 0===e||""===e||-1===d.shortnames.indexOf(e))return e;if(!d.emojioneList[e])for(var t in d.emojioneList)if(d.emojioneList.hasOwnProperty(t)&&""!==t&&-1!==d.emojioneList[t].shortnames.indexOf(e)){e=t;break}return a=d.emojioneList[e].uc_output,n=d.emojioneList[e].uc_base,s=0<=n.indexOf("-1f3f")?"diversity":d.emojioneList[e].category,c=d.imageTitleTag?'title="'+e+'"':"",l="32"==d.spriteSize||"64"==d.spriteSize?d.spriteSize:"32",u=d.defaultPathPNG!==d.imagePathPNG?d.imagePathPNG:d.defaultPathPNG+d.emojiSize+"/",o=d.unicodeAlt?d.convert(a.toUpperCase()):e,d.sprites?'<span class="emojione emojione-'+l+"-"+s+" _"+n+'" '+c+">"+o+"</span>":'<img class="emojione" alt="'+o+'" '+c+' src="'+u+n+d.fileExtension+'"/>'}),d.ascii){var t=d.riskyMatchAscii?d.regAsciiRisky:d.regAscii;e=e.replace(t,function(e,t,n,r){return void 0!==r&&""!==r&&d.unescapeHTML(r)in d.asciiList?(r=d.unescapeHTML(r),a=d.asciiList[r],i=f[a],s=0<=a.indexOf("-1f3f")?"diversity":d.emojioneList[i].category,c=d.imageTitleTag?'title="'+d.escapeHTML(r)+'"':"",l="32"==d.spriteSize||"64"==d.spriteSize?d.spriteSize:"32",u=d.defaultPathPNG!==d.imagePathPNG?d.imagePathPNG:d.defaultPathPNG+d.emojiSize+"/",o=d.unicodeAlt?d.convert(a.toUpperCase()):d.escapeHTML(r),d.sprites?n+'<span class="emojione emojione-'+l+"-"+s+" _"+a+'" '+c+">"+o+"</span>":n+'<img class="emojione" alt="'+o+'" '+c+' src="'+u+a+d.fileExtension+'"/>'):e})}return e},d.toShort=function(e){var t=d.unicodeCharRegex();return e=d.replaceAll(e,t)},d.convert=function(e){if(-1<e.indexOf("-")){for(var t=[],n=e.split("-"),r=0;r<n.length;r++){var i=parseInt(n[r],16);if(65536<=i&&i<=1114111){var a=Math.floor((i-65536)/1024)+55296,o=(i-65536)%1024+56320;i=String.fromCharCode(a)+String.fromCharCode(o)}else i=String.fromCharCode(i);t.push(i)}return t.join("")}if(65536<=(n=parseInt(e,16))&&n<=1114111){a=Math.floor((n-65536)/1024)+55296,o=(n-65536)%1024+56320;return String.fromCharCode(a)+String.fromCharCode(o)}return String.fromCharCode(n)},d.escapeHTML=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'"};return e.replace(/[&<>"']/g,function(e){return t[e]})},d.unescapeHTML=function(e){var t={"&":"&","&":"&","&":"&","<":"<","<":"<","<":"<",">":">",">":">",">":">",""":'"',""":'"',""":'"',"'":"'","'":"'","'":"'"};return e.replace(/&(?:amp|#38|#x26|lt|#60|#x3C|gt|#62|#x3E|apos|#39|#x27|quot|#34|#x22);/gi,function(e){return t[e]})},d.shortnameConversionMap=function(){var e,t=[];for(e in d.emojioneList)d.emojioneList.hasOwnProperty(e)&&""!==e&&(t[d.convert(d.emojioneList[e].uc_output)]=e);return t},d.unicodeCharRegex=function(){var e=[];for(t in d.emojioneList)d.emojioneList.hasOwnProperty(t)&&""!==t&&e.push(d.convert(d.emojioneList[t].uc_output));return e.join("|")},d.vs16Regex=function(){return d.convert("fe0f")},d.mapEmojioneList=function(e){for(var t in d.emojioneList){if(d.emojioneList.hasOwnProperty(t))e(d.emojioneList[t].uc_base,t)}},d.mapUnicodeToShort=function(){return d.memMapShortToUnicode||(d.memMapShortToUnicode={},d.mapEmojioneList(function(e,t){d.memMapShortToUnicode[e]=t})),d.memMapShortToUnicode},d.memorizeReplacement=function(){if(!d.unicodeReplacementRegEx||!d.memMapShortToUnicodeCharacters){var r=[];d.memMapShortToUnicodeCharacters={},d.mapEmojioneList(function(e,t){var n=d.convert(e);d.memMapShortToUnicodeCharacters[n]=t,r.push(n)}),d.unicodeReplacementRegEx=r.join("|")}},d.mapUnicodeCharactersToShort=function(){return d.memorizeReplacement(),d.memMapShortToUnicodeCharacters},d.objectFlip=function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[e[t]]=t);return n},d.escapeRegExp=function(e){return e.replace(/[-[\]{}()*+?.,;:&\\^$#\s]/g,"\\$&")},d.replaceAll=function(e,t){var n=d.escapeRegExp(t),r=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+n+")","gi");return e.replace(r,function(e,t){return void 0===t||""===t?e:d.shortnameConversionMap()[t]})},d.replaceAllVS16=function(e,t){var n=d.escapeRegExp(t),r=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+n+")","gi");return e.replace(r,function(e,t){return void 0===t||""===t?e:""})}}(this.emojione=this.emojione||{}),"object"==typeof module&&(module.exports=this.emojione),function(e){if("function"==typeof define&&define.amd)define(["jquery"],e);else if("object"==typeof module&&module.exports){var t=require("jquery");module.exports=e(t)}else e(jQuery)}(function(e){if(void 0===e)throw new Error("jQuery.textcomplete requires jQuery");var t,u,f,d;return function(a){"use strict";var o=1;a.fn.textcomplete=function(t,n){var i=Array.prototype.slice.call(arguments);return this.each(function(){var e=a(this),r=e.data("textComplete");if(r||(n||(n={}),n._oid=o++,r=new a.fn.textcomplete.Completer(this,n),e.data("textComplete",r)),"string"==typeof t){if(!r)return;i.shift(),r[t].apply(r,i),"destroy"===t&&e.removeData("textComplete")}else a.each(t,function(n){a.each(["header","footer","placement","maxCount"],function(e){var t;n[e]&&(r.option[e]=n[e],t=e+"as a strategy param is deprecated. Use option.",console.warn&&console.warn(t),delete n[e])})}),r.register(a.fn.textcomplete.Strategy.parse(t,{el:this,$el:e}))})}}(e),function(r){"use strict";var i,a,o,s=0;function c(e,t){if(this.$el=r(e),this.id="textcomplete"+s++,this.strategies=[],this.views=[],this.option=r.extend({},c._getDefaults(),t),!(this.$el.is("input[type=text]")||this.$el.is("input[type=search]")||this.$el.is("textarea")||e.isContentEditable||"true"==e.contentEditable))throw new Error("textcomplete must be called on a Textarea or a ContentEditable.");if(e===document.activeElement)this.initialize();else{var n=this;this.$el.one("focus."+this.id,function(){n.initialize()})}}c._getDefaults=function(){return c.DEFAULTS||(c.DEFAULTS={appendTo:r("body"),zIndex:"100"}),c.DEFAULTS},r.extend(c.prototype,{id:null,option:null,strategies:null,adapter:null,dropdown:null,$el:null,initialize:function(){var e,t,n=this.$el.get(0);this.dropdown=new r.fn.textcomplete.Dropdown(n,this,this.option),e=this.option.adapter?this.option.adapter:(t=this.$el.is("textarea")||this.$el.is("input[type=text]")||this.$el.is("input[type=search]")?"number"==typeof n.selectionEnd?"Textarea":"IETextarea":"ContentEditable",r.fn.textcomplete[t]),this.adapter=new e(n,this,this.option)},destroy:function(){this.$el.off("."+this.id),this.adapter&&this.adapter.destroy(),this.dropdown&&this.dropdown.destroy(),this.$el=this.adapter=this.dropdown=null},deactivate:function(){this.dropdown&&this.dropdown.deactivate()},trigger:function(e,t){this.dropdown||this.initialize(),null!=e||(e=this.adapter.getTextFromHeadToCaret());var n=this._extractSearchQuery(e);if(n.length){var r=n[1];if(t&&this._term===r&&""!==r)return;this._term=r,this._search.apply(this,n)}else this._term=null,this.dropdown.deactivate()},fire:function(e){var t=Array.prototype.slice.call(arguments,1);return this.$el.trigger(e,t),this},register:function(e){Array.prototype.push.apply(this.strategies,e)},select:function(e,t,n){this._term=null,this.adapter.select(e,t,n),this.fire("change").fire("textComplete:select",e,t),this.adapter.focus()},_clearAtNext:!0,_term:null,_extractSearchQuery:function(e){for(var t=0;t<this.strategies.length;t++){var n=this.strategies[t],r=n.context(e);if(r||""===r){var i=(s=n.match,"[object Function]"===Object.prototype.toString.call(s)?n.match(e):n.match);o=r,"[object String]"===Object.prototype.toString.call(o)&&(e=r);var a=e.match(i);if(a)return[n,a[n.index],a]}}var o,s;return[]},_search:(i=function(n,r,i,e){var a=this;r.search(i,function(e,t){a.dropdown.shown||a.dropdown.activate(),a._clearAtNext&&(a.dropdown.clear(),a._clearAtNext=!1),a.dropdown.setPosition(a.adapter.getCaretPosition()),a.dropdown.render(a._zip(e,r,i)),t||(n(),a._clearAtNext=!0)},e)},function(){var e=Array.prototype.slice.call(arguments);if(a)o=e;else{a=!0;var n=this;e.unshift(function e(){if(o){var t=o;o=void 0,t.unshift(e),i.apply(n,t)}else a=!1}),i.apply(this,e)}}),_zip:function(e,t,n){return r.map(e,function(e){return{value:e,strategy:t,term:n}})}}),r.fn.textcomplete.Completer=c}(e),function(i){"use strict";var a=i(window),o=function(e,t){var n,r,i=t.strategy.idProperty;for(n=0;n<e.length;n++)if((r=e[n]).strategy===t.strategy)if(i){if(r.value[i]===t.value[i])return!0}else if(r.value===t.value)return!0;return!1},s={};i(document).on("click",function(e){var n=e.originalEvent&&e.originalEvent.keepTextCompleteDropdown;i.each(s,function(e,t){e!==n&&t.deactivate()})});var n={SKIP_DEFAULT:0,KEY_UP:1,KEY_DOWN:2,KEY_ENTER:3,KEY_PAGEUP:4,KEY_PAGEDOWN:5,KEY_ESCAPE:6};function c(e,t,n){this.$el=c.createElement(n),this.completer=t,this.id=t.id+"dropdown",this._data=[],this.$inputEl=i(e),(this.option=n).listPosition&&(this.setPosition=n.listPosition),n.height&&this.$el.height(n.height);var r=this;i.each(["maxCount","placement","footer","header","noResultsMessage","className"],function(e,t){null!=n[t]&&(r[t]=n[t])}),this._bindEvents(e),s[this.id]=this}i.extend(c,{createElement:function(e){var t=e.appendTo;return t instanceof i||(t=i(t)),i("<ul></ul>").addClass("dropdown-menu textcomplete-dropdown").attr("id","textcomplete-dropdown-"+e._oid).css({display:"none",left:0,position:"absolute",zIndex:e.zIndex}).appendTo(t)}}),i.extend(c.prototype,{$el:null,$inputEl:null,completer:null,footer:null,header:null,id:null,maxCount:10,placement:"",shown:!1,data:[],className:"",destroy:function(){this.deactivate(),this.$el.off("."+this.id),this.$inputEl.off("."+this.id),this.clear(),this.$el.remove(),this.$el=this.$inputEl=this.completer=null,delete s[this.id]},render:function(e){var t=this._buildContents(e),n=i.map(this.data,function(e){return e.value});if(this.data.length){var r=e[0].strategy;r.id?this.$el.attr("data-strategy",r.id):this.$el.removeAttr("data-strategy"),this._renderHeader(n),this._renderFooter(n),t&&(this._renderContents(t),this._fitToBottom(),this._fitToRight(),this._activateIndexedItem()),this._setScroll()}else this.noResultsMessage?this._renderNoResultsMessage(n):this.shown&&this.deactivate()},setPosition:function(e){var t="absolute";return this.$inputEl.add(this.$inputEl.parents()).each(function(){return"absolute"!==i(this).css("position")&&("fixed"===i(this).css("position")?(e.top-=a.scrollTop(),e.left-=a.scrollLeft(),!(t="fixed")):void 0)}),this.$el.css(this._applyPlacement(e)),this.$el.css({position:t}),this},clear:function(){this.$el.html(""),this.data=[],this._index=0,this._$header=this._$footer=this._$noResultsMessage=null},activate:function(){return this.shown||(this.clear(),this.$el.show(),this.className&&this.$el.addClass(this.className),this.completer.fire("textComplete:show"),this.shown=!0),this},deactivate:function(){return this.shown&&(this.$el.hide(),this.className&&this.$el.removeClass(this.className),this.completer.fire("textComplete:hide"),this.shown=!1),this},isUp:function(e){return 38===e.keyCode||e.ctrlKey&&80===e.keyCode},isDown:function(e){return 40===e.keyCode||e.ctrlKey&&78===e.keyCode},isEnter:function(e){return!(e.ctrlKey||e.altKey||e.metaKey||e.shiftKey)&&(13===e.keyCode||9===e.keyCode||!0===this.option.completeOnSpace&&32===e.keyCode)},isPageup:function(e){return 33===e.keyCode},isPagedown:function(e){return 34===e.keyCode},isEscape:function(e){return 27===e.keyCode},_data:null,_index:null,_$header:null,_$noResultsMessage:null,_$footer:null,_bindEvents:function(){this.$el.on("mousedown."+this.id,".textcomplete-item",i.proxy(this._onClick,this)),this.$el.on("touchstart."+this.id,".textcomplete-item",i.proxy(this._onClick,this)),this.$el.on("mouseover."+this.id,".textcomplete-item",i.proxy(this._onMouseover,this)),this.$inputEl.on("keydown."+this.id,i.proxy(this._onKeydown,this))},_onClick:function(e){var t=i(e.target);e.preventDefault(),e.originalEvent.keepTextCompleteDropdown=this.id,t.hasClass("textcomplete-item")||(t=t.closest(".textcomplete-item"));var n=this.data[parseInt(t.data("index"),10)];this.completer.select(n.value,n.strategy,e);var r=this;setTimeout(function(){r.deactivate(),"touchstart"===e.type&&r.$inputEl.focus()},0)},_onMouseover:function(e){var t=i(e.target);e.preventDefault(),t.hasClass("textcomplete-item")||(t=t.closest(".textcomplete-item")),this._index=parseInt(t.data("index"),10),this._activateIndexedItem()},_onKeydown:function(e){var t;if(this.shown)switch(i.isFunction(this.option.onKeydown)&&(t=this.option.onKeydown(e,n)),null==t&&(t=this._defaultKeydown(e)),t){case n.KEY_UP:e.preventDefault(),this._up();break;case n.KEY_DOWN:e.preventDefault(),this._down();break;case n.KEY_ENTER:e.preventDefault(),this._enter(e);break;case n.KEY_PAGEUP:e.preventDefault(),this._pageup();break;case n.KEY_PAGEDOWN:e.preventDefault(),this._pagedown();break;case n.KEY_ESCAPE:e.preventDefault(),this.deactivate()}},_defaultKeydown:function(e){return this.isUp(e)?n.KEY_UP:this.isDown(e)?n.KEY_DOWN:this.isEnter(e)?n.KEY_ENTER:this.isPageup(e)?n.KEY_PAGEUP:this.isPagedown(e)?n.KEY_PAGEDOWN:this.isEscape(e)?n.KEY_ESCAPE:void 0},_up:function(){0===this._index?this._index=this.data.length-1:this._index-=1,this._activateIndexedItem(),this._setScroll()},_down:function(){this._index===this.data.length-1?this._index=0:this._index+=1,this._activateIndexedItem(),this._setScroll()},_enter:function(e){var t=this.data[parseInt(this._getActiveElement().data("index"),10)];this.completer.select(t.value,t.strategy,e),this.deactivate()},_pageup:function(){var t=0,n=this._getActiveElement().position().top-this.$el.innerHeight();this.$el.children().each(function(e){if(i(this).position().top+i(this).outerHeight()>n)return t=e,!1}),this._index=t,this._activateIndexedItem(),this._setScroll()},_pagedown:function(){var t=this.data.length-1,n=this._getActiveElement().position().top+this.$el.innerHeight();this.$el.children().each(function(e){if(i(this).position().top>n)return t=e,!1}),this._index=t,this._activateIndexedItem(),this._setScroll()},_activateIndexedItem:function(){this.$el.find(".textcomplete-item.active").removeClass("active"),this._getActiveElement().addClass("active")},_getActiveElement:function(){return this.$el.children(".textcomplete-item:nth("+this._index+")")},_setScroll:function(){var e=this._getActiveElement(),t=e.position().top,n=e.outerHeight(),r=this.$el.innerHeight(),i=this.$el.scrollTop();0===this._index||this._index==this.data.length-1||t<0?this.$el.scrollTop(t+i):r<t+n&&this.$el.scrollTop(t+n+i-r)},_buildContents:function(e){var t,n,r,i="";for(n=0;n<e.length&&this.data.length!==this.maxCount;n++)t=e[n],o(this.data,t)||(r=this.data.length,this.data.push(t),i+='<li class="textcomplete-item" data-index="'+r+'"><a>',i+=t.strategy.template(t.value,t.term),i+="</a></li>");return i},_renderHeader:function(e){if(this.header){this._$header||(this._$header=i('<li class="textcomplete-header"></li>').prependTo(this.$el));var t=i.isFunction(this.header)?this.header(e):this.header;this._$header.html(t)}},_renderFooter:function(e){if(this.footer){this._$footer||(this._$footer=i('<li class="textcomplete-footer"></li>').appendTo(this.$el));var t=i.isFunction(this.footer)?this.footer(e):this.footer;this._$footer.html(t)}},_renderNoResultsMessage:function(e){if(this.noResultsMessage){this._$noResultsMessage||(this._$noResultsMessage=i('<li class="textcomplete-no-results-message"></li>').appendTo(this.$el));var t=i.isFunction(this.noResultsMessage)?this.noResultsMessage(e):this.noResultsMessage;this._$noResultsMessage.html(t)}},_renderContents:function(e){this._$footer?this._$footer.before(e):this.$el.append(e)},_fitToBottom:function(){var e=a.scrollTop()+a.height(),t=this.$el.height();this.$el.position().top+t>e&&this.$el.offset({top:e-t})},_fitToRight:function(){for(var e,t=this.$el.offset().left,n=this.$el.width(),r=a.width()-30;r<t+n&&(this.$el.offset({left:t-30}),!(t<=(e=this.$el.offset().left)));)t=e},_applyPlacement:function(e){return-1!==this.placement.indexOf("top")?e={top:"auto",bottom:this.$el.parent().height()-e.top+e.lineHeight,left:e.left}:(e.bottom="auto",delete e.lineHeight),-1!==this.placement.indexOf("absleft")?e.left=0:-1!==this.placement.indexOf("absright")&&(e.right=0,e.left="auto"),e}}),i.fn.textcomplete.Dropdown=c,i.extend(i.fn.textcomplete,n)}(e),function(t){"use strict";function r(e){var r,i;t.extend(this,e),this.cache&&(this.search=(r=this.search,i={},function(t,n){i[t]?n(i[t]):r.call(this,t,function(e){i[t]=(i[t]||[]).concat(e),n.apply(null,arguments)})}))}r.parse=function(e,n){return t.map(e,function(e){var t=new r(e);return t.el=n.el,t.$el=n.$el,t})},t.extend(r.prototype,{match:null,replace:null,search:null,id:null,cache:!1,context:function(){return!0},index:2,template:function(e){return e},idProperty:null}),t.fn.textcomplete.Strategy=r}(e),function(f){"use strict";var d=Date.now||function(){return(new Date).getTime()};function e(){}f.extend(e.prototype,{id:null,completer:null,el:null,$el:null,option:null,initialize:function(e,t,n){var r,i,a,o,s,c,l,u;this.el=e,this.$el=f(e),this.id=t.id+this.constructor.name,this.completer=t,this.option=n,this.option.debounce&&(this._onKeyup=(r=this._onKeyup,i=this.option.debounce,u=function(){var e=d()-c;e<i?a=setTimeout(u,i-e):(a=null,l=r.apply(s,o),s=o=null)},function(){return s=this,o=arguments,c=d(),a||(a=setTimeout(u,i)),l})),this._bindEvents()},destroy:function(){this.$el.off("."+this.id),this.$el=this.el=this.completer=null},select:function(){throw new Error("Not implemented")},getCaretPosition:function(){var e=this._getCaretRelativePosition(),t=this.$el.offset(),n=this.option.appendTo;if(n){n instanceof f||(n=f(n));var r=n.offsetParent().offset();t.top-=r.top,t.left-=r.left}return e.top+=t.top,e.left+=t.left,e},focus:function(){this.$el.focus()},_bindEvents:function(){this.$el.on("keyup."+this.id,f.proxy(this._onKeyup,this))},_onKeyup:function(e){this._skipSearch(e)||this.completer.trigger(this.getTextFromHeadToCaret(),!0)},_skipSearch:function(e){switch(e.keyCode){case 9:case 13:case 40:case 38:return!0}if(e.ctrlKey)switch(e.keyCode){case 78:case 80:return!0}}}),f.fn.textcomplete.Adapter=e}(e),function(o){"use strict";function e(e,t,n){this.initialize(e,t,n)}o.extend(e.prototype,o.fn.textcomplete.Adapter.prototype,{select:function(e,t,n){var r=this.getTextFromHeadToCaret(),i=this.el.value.substring(this.el.selectionEnd),a=t.replace(e,n);void 0!==a&&(o.isArray(a)&&(i=a[1]+i,a=a[0]),r=r.replace(t.match,a),this.$el.val(r+i),this.el.selectionStart=this.el.selectionEnd=r.length)},getTextFromHeadToCaret:function(){return this.el.value.substring(0,this.el.selectionEnd)},_getCaretRelativePosition:function(){var e=o.fn.textcomplete.getCaretCoordinates(this.el,this.el.selectionStart);return{top:e.top+this._calculateLineHeight()-this.$el.scrollTop(),left:e.left-this.$el.scrollLeft()}},_calculateLineHeight:function(){var e=parseInt(this.$el.css("line-height"),10);if(isNaN(e)){var t=this.el.parentNode,n=document.createElement(this.el.nodeName),r=this.el.style;n.setAttribute("style","margin:0px;padding:0px;font-family:"+r.fontFamily+";font-size:"+r.fontSize),n.innerHTML="test",t.appendChild(n),e=n.clientHeight,t.removeChild(n)}return e}}),o.fn.textcomplete.Textarea=e}(e),function(s){"use strict";function e(e,t,n){this.initialize(e,t,n),s("<span>吶</span>").css({position:"absolute",top:-9999,left:-9999}).insertBefore(e)}s.extend(e.prototype,s.fn.textcomplete.Textarea.prototype,{select:function(e,t,n){var r=this.getTextFromHeadToCaret(),i=this.el.value.substring(r.length),a=t.replace(e,n);if(void 0!==a){s.isArray(a)&&(i=a[1]+i,a=a[0]),r=r.replace(t.match,a),this.$el.val(r+i),this.el.focus();var o=this.el.createTextRange();o.collapse(!0),o.moveEnd("character",r.length),o.moveStart("character",r.length),o.select()}},getTextFromHeadToCaret:function(){this.el.focus();var e=document.selection.createRange();e.moveStart("character",-this.el.value.length);var t=e.text.split("吶");return 1===t.length?t[0]:t[1]}}),s.fn.textcomplete.IETextarea=e}(e),function(p){"use strict";function e(e,t,n){this.initialize(e,t,n)}p.extend(e.prototype,p.fn.textcomplete.Adapter.prototype,{select:function(e,t,n){var r=this.getTextFromHeadToCaret(),i=window.getSelection(),a=i.getRangeAt(0),o=a.cloneRange();o.selectNodeContents(a.startContainer);var s=o.toString().substring(a.startOffset),c=t.replace(e,n);if(void 0!==c){p.isArray(c)&&(s=c[1]+s,c=c[0]),r=r.replace(t.match,c),a.selectNodeContents(a.startContainer),a.deleteContents();var l=document.createElement("div");l.innerHTML=r;var u=document.createElement("div");u.innerHTML=s;for(var f,d,h=document.createDocumentFragment();f=l.firstChild;)d=h.appendChild(f);for(;f=u.firstChild;)h.appendChild(f);a.insertNode(h),a.setStartAfter(d),a.collapse(!0),i.removeAllRanges(),i.addRange(a)}},_getCaretRelativePosition:function(){var e=window.getSelection().getRangeAt(0).cloneRange(),t=document.createElement("span");e.insertNode(t),e.selectNodeContents(t),e.deleteContents();var n=p(t),r=n.offset();return r.left-=this.$el.offset().left,r.top+=n.height()-this.$el.offset().top,r.lineHeight=n.height(),n.remove(),r},getTextFromHeadToCaret:function(){var e=window.getSelection().getRangeAt(0),t=e.cloneRange();return t.selectNodeContents(e.startContainer),t.toString().substring(0,e.startOffset)}}),p.fn.textcomplete.ContentEditable=e}(e),t=e,u=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"],f="undefined"!=typeof window,d=f&&null!=window.mozInnerScreenX,t.fn.textcomplete.getCaretCoordinates=function(e,t,n){if(!f)throw new Error("textarea-caret-position#getCaretCoordinates should only be called in a browser");var r=n&&n.debug||!1;if(r){var i=document.querySelector("#input-textarea-caret-position-mirror-div");i&&i.parentNode.removeChild(i)}var a=document.createElement("div");a.id="input-textarea-caret-position-mirror-div",document.body.appendChild(a);var o=a.style,s=window.getComputedStyle?getComputedStyle(e):e.currentStyle;o.whiteSpace="pre-wrap","INPUT"!==e.nodeName&&(o.wordWrap="break-word"),o.position="absolute",r||(o.visibility="hidden"),u.forEach(function(e){o[e]=s[e]}),d?e.scrollHeight>parseInt(s.height)&&(o.overflowY="scroll"):o.overflow="hidden",a.textContent=e.value.substring(0,t),"INPUT"===e.nodeName&&(a.textContent=a.textContent.replace(/\s/g," "));var c=document.createElement("span");c.textContent=e.value.substring(t)||".",a.appendChild(c);var l={top:c.offsetTop+parseInt(s.borderTopWidth),left:c.offsetLeft+parseInt(s.borderLeftWidth)};return r?c.style.backgroundColor="#aaa":document.body.removeChild(a),l},e}),window="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},document=window.document||{},function(e,t){"function"==typeof require&&"object"==typeof exports&&"object"==typeof module?e(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],e):e(t.jQuery)}(function(C){"use strict";var r=0,o={},s={},A=window.emojione,i=[];function a(e){A?e():i.push(e)}var S,T,c,x="data:image/gif;base64,R0lGODlhAQABAJH/AP///wAAAMDAwAAAACH5BAEAAAIALAAAAAABAAEAAAICVAEAOw==",l=[].slice,k="emojionearea",E=0,D="​";function I(n,e,r){var i=!0,t=1;if(e){e=e.toLowerCase();do{var a=1==t?"@"+e:e;o[n.id][a]&&o[n.id][a].length&&C.each(o[n.id][a],function(e,t){return i=!1!==t.apply(n,r||[])})}while(i&&t--)}return i}function P(n,r,i,a){a=a||function(e,t){return C(t.currentTarget)},C.each(i,function(e,t){e=C.isArray(i)?t:e,(s[n.id][t]||(s[n.id][t]=[])).push([r,e,a])})}function u(e,t,n){var r,i=A.imageType;r="svg"==i?A.imagePathSVG:A.imagePathPNG;var a="";n&&(a=n.substr(1,n.length-2).replace(/_/g," ").replace(/\w\S*/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()}));var o="";return t.uc_base&&4<E?(o=t.uc_base,t=t.uc_output.toUpperCase()):o=t,e.replace("{name}",n||"").replace("{friendlyName}",a).replace("{img}",r+(E<2?o.toUpperCase():o)+"."+i).replace("{uni}",t).replace("{alt}",A.convert(t))}function M(e,n,r){return e.replace(/:?\+?[\w_\-]+:?/g,function(e){e=":"+e.replace(/:$/,"").replace(/^:/,"")+":";var t=A.emojioneList[e];return t?4<E?u(n,t,e):(3<E&&(t=t.unicode),u(n,t[t.length-1],e)):r?"":e})}function $(e){var t,n;if(window.getSelection){if((t=window.getSelection()).getRangeAt&&t.rangeCount){(n=t.getRangeAt(0)).deleteContents();var r=document.createElement("div");r.innerHTML=e;for(var i,a,o=document.createDocumentFragment();i=r.firstChild;)a=o.appendChild(i);n.insertNode(o),a&&((n=n.cloneRange()).setStartAfter(a),n.collapse(!0),t.removeAllRanges(),t.addRange(n))}}else document.selection&&"Control"!=document.selection.type&&document.selection.createRange().pasteHTML(e)}function f(){return window.emojioneVersion||"3.1.2"}function O(e){return"object"==typeof e}function d(e){var t;return e.cacheBustParam?(t=e.cacheBustParam,O(e.jsEscapeMap)?"?v=1.2.4"===t?"2.0.0":"?v=2.0.1"===t?"2.1.0":"?v=2.1.1"===t?"2.1.1":"?v=2.1.2"===t?"2.1.2":"?v=2.1.3"===t?"2.1.3":"?v=2.1.4"===t?"2.1.4":"2.2.7":"1.5.2"):e.emojiVersion}function h(e){switch(e){case"1.5.2":return 0;case"2.0.0":return 1;case"2.1.0":case"2.1.1":return 2;case"2.1.2":return 3;case"2.1.3":case"2.1.4":case"2.2.7":return 4;case"3.0.1":case"3.0.2":case"3.0.3":case"3.0":return 5;case"3.1.0":case"3.1.1":case"3.1.2":case"3.1":default:return 6}}function n(){if(C.fn.emojioneArea&&C.fn.emojioneArea.defaults)return C.fn.emojioneArea.defaults;var e={attributes:{dir:"ltr",spellcheck:!1,autocomplete:"off",autocorrect:"off",autocapitalize:"off"},search:!0,placeholder:null,emojiPlaceholder:":smiley:",searchPlaceholder:"SEARCH",container:null,hideSource:!0,shortnames:!0,sprite:!0,pickerPosition:"top",filtersPosition:"top",searchPosition:"top",hidePickerOnBlur:!0,buttonTitle:"Use the TAB key to insert emoji faster",tones:!0,tonesStyle:"bullet",inline:null,saveEmojisAs:"unicode",shortcuts:!0,autocomplete:!0,autocompleteTones:!1,standalone:!1,useInternalCDN:!0,imageType:"png",recentEmojis:!0,textcomplete:{maxCount:15,placement:null}},t=h(A?d(A):f());return e.filters=4<t?{tones:{title:"Diversity",emoji:"open_hands raised_hands palms_up_together clap pray thumbsup thumbsdown punch fist left_facing_fist right_facing_fist fingers_crossed v metal love_you_gesture ok_hand point_left point_right point_up_2 point_down point_up raised_hand raised_back_of_hand hand_splayed vulcan wave call_me muscle middle_finger writing_hand selfie nail_care ear nose baby boy girl man woman blond-haired_woman blond-haired_man older_man older_woman man_with_chinese_cap woman_wearing_turban man_wearing_turban woman_police_officer man_police_officer woman_construction_worker man_construction_worker woman_guard man_guard woman_detective man_detective woman_health_worker man_health_worker woman_farmer man_farmer woman_cook man_cook woman_student man_student woman_singer man_singer woman_teacher man_teacher woman_factory_worker man_factory_worker woman_technologist man_technologist woman_office_worker man_office_worker woman_mechanic man_mechanic woman_scientist man_scientist woman_artist man_artist woman_firefighter man_firefighter woman_pilot man_pilot woman_astronaut man_astronaut woman_judge man_judge mrs_claus santa princess prince bride_with_veil man_in_tuxedo angel pregnant_woman breast_feeding woman_bowing man_bowing man_tipping_hand woman_tipping_hand man_gesturing_no woman_gesturing_no man_gesturing_ok woman_gesturing_ok man_raising_hand woman_raising_hand woman_facepalming man_facepalming woman_shrugging man_shrugging man_pouting woman_pouting man_frowning woman_frowning man_getting_haircut woman_getting_haircut man_getting_face_massage woman_getting_face_massage man_in_business_suit_levitating dancer man_dancing woman_walking man_walking woman_running man_running adult child older_adult bearded_person woman_with_headscarf woman_mage man_mage woman_fairy man_fairy woman_vampire man_vampire mermaid merman woman_elf man_elf snowboarder woman_lifting_weights man_lifting_weights woman_cartwheeling man_cartwheeling woman_bouncing_ball man_bouncing_ball woman_playing_handball man_playing_handball woman_golfing man_golfing woman_surfing man_surfing woman_swimming man_swimming woman_playing_water_polo man_playing_water_polo woman_rowing_boat man_rowing_boat horse_racing woman_biking man_biking woman_mountain_biking man_mountain_biking woman_juggling man_juggling woman_in_steamy_room man_in_steamy_room woman_climbing man_climbing woman_in_lotus_position man_in_lotus_position bath person_in_bed"},recent:{icon:"clock3",title:"Recent",emoji:""},smileys_people:{icon:"yum",title:"Smileys & People",emoji:"grinning smiley smile grin laughing sweat_smile joy rofl relaxed blush innocent slight_smile upside_down wink relieved crazy_face star_struck heart_eyes kissing_heart kissing kissing_smiling_eyes kissing_closed_eyes yum stuck_out_tongue_winking_eye stuck_out_tongue_closed_eyes stuck_out_tongue money_mouth hugging nerd sunglasses cowboy smirk unamused disappointed pensive worried face_with_raised_eyebrow face_with_monocle confused slight_frown frowning2 persevere confounded tired_face weary triumph angry rage face_with_symbols_over_mouth no_mouth neutral_face expressionless hushed frowning anguished open_mouth astonished dizzy_face exploding_head flushed scream fearful cold_sweat cry disappointed_relieved drooling_face sob sweat sleepy sleeping rolling_eyes thinking shushing_face face_with_hand_over_mouth lying_face grimacing zipper_mouth face_vomiting nauseated_face sneezing_face mask thermometer_face head_bandage smiling_imp imp japanese_ogre japanese_goblin poop ghost skull skull_crossbones alien space_invader robot jack_o_lantern clown smiley_cat smile_cat joy_cat heart_eyes_cat smirk_cat kissing_cat scream_cat crying_cat_face pouting_cat open_hands raised_hands palms_up_together clap pray handshake thumbsup thumbsdown punch fist left_facing_fist right_facing_fist fingers_crossed v metal love_you_gesture ok_hand point_left point_right point_up_2 point_down point_up raised_hand raised_back_of_hand hand_splayed vulcan wave call_me muscle middle_finger writing_hand selfie nail_care ring lipstick kiss lips tongue ear nose footprints eye eyes speaking_head bust_in_silhouette busts_in_silhouette baby boy girl man woman blond-haired_woman blond_haired_man older_man older_woman man_with_chinese_cap woman_wearing_turban man_wearing_turban woman_police_officer police_officer woman_construction_worker construction_worker woman_guard guard woman_detective detective woman_health_worker man_health_worker woman_farmer man_farmer woman_cook man_cook woman_student man_student woman_singer man_singer woman_teacher man_teacher woman_factory_worker man_factory_worker woman_technologist man_technologist woman_office_worker man_office_worker woman_mechanic man_mechanic woman_scientist man_scientist woman_artist man_artist woman_firefighter man_firefighter woman_pilot man_pilot woman_astronaut man_astronaut woman_judge man_judge mrs_claus santa princess prince bride_with_veil man_in_tuxedo angel pregnant_woman breast_feeding woman_bowing man_bowing woman_tipping_hand man_tipping_hand woman_gesturing_no man_gesturing_no woman_gesturing_ok man_gesturing_ok woman_raising_hand man_raising_hand woman_facepalming man_facepalming woman_shrugging man_shrugging woman_pouting man_pouting woman_frowning man_frowning woman_getting_haircut man_getting_haircut woman_getting_face_massage man_getting_face_massage man_in_business_suit_levitating dancer man_dancing women_with_bunny_ears_partying men_with_bunny_ears_partying woman_walking man_walking woman_running man_running couple two_women_holding_hands two_men_holding_hands couple_with_heart couple_ww couple_mm couplekiss kiss_ww kiss_mm family family_mwg family_mwgb family_mwbb family_mwgg family_wwb family_wwg family_wwgb family_wwbb family_wwgg family_mmb family_mmg family_mmgb family_mmbb family_mmgg family_woman_boy family_woman_girl family_woman_girl_boy family_woman_boy_boy family_woman_girl_girl family_man_boy family_man_girl family_man_girl_boy family_man_boy_boy family_man_girl_girl bearded_person woman_with_headscarf woman_mage man_mage woman_fairy man_fairy woman_vampire man_vampire mermaid merman woman_elf man_elf woman_genie man_genie woman_zombie man_zombie womans_clothes shirt jeans necktie dress bikini kimono high_heel sandal boot mans_shoe athletic_shoe womans_hat tophat mortar_board crown helmet_with_cross school_satchel pouch purse handbag briefcase eyeglasses dark_sunglasses closed_umbrella umbrella2 brain billed_cap scarf gloves coat socks "},animals_nature:{icon:"hamster",title:"Animals & Nature",emoji:"dog cat mouse hamster rabbit fox bear panda_face koala tiger lion_face cow pig pig_nose frog monkey_face see_no_evil hear_no_evil speak_no_evil monkey chicken penguin bird baby_chick hatching_chick hatched_chick duck eagle owl bat wolf boar horse unicorn bee bug butterfly snail shell beetle ant spider spider_web turtle snake lizard scorpion crab squid octopus shrimp tropical_fish fish blowfish dolphin shark whale whale2 crocodile leopard tiger2 water_buffalo ox cow2 deer dromedary_camel camel elephant rhino gorilla racehorse pig2 goat ram sheep dog2 poodle cat2 rooster turkey dove rabbit2 mouse2 rat chipmunk dragon giraffe zebra hedgehog sauropod t_rex cricket dragon_face feet cactus christmas_tree evergreen_tree deciduous_tree palm_tree seedling herb shamrock four_leaf_clover bamboo tanabata_tree leaves fallen_leaf maple_leaf mushroom ear_of_rice bouquet tulip rose wilted_rose sunflower blossom cherry_blossom hibiscus earth_americas earth_africa earth_asia full_moon waning_gibbous_moon last_quarter_moon waning_crescent_moon new_moon waxing_crescent_moon first_quarter_moon waxing_gibbous_moon new_moon_with_face full_moon_with_face sun_with_face first_quarter_moon_with_face last_quarter_moon_with_face crescent_moon dizzy star star2 sparkles zap fire boom comet sunny white_sun_small_cloud partly_sunny white_sun_cloud white_sun_rain_cloud rainbow cloud cloud_rain thunder_cloud_rain cloud_lightning cloud_snow snowman2 snowman snowflake wind_blowing_face dash cloud_tornado fog ocean droplet sweat_drops umbrella "},food_drink:{icon:"pizza",title:"Food & Drink",emoji:"green_apple apple pear tangerine lemon banana watermelon grapes strawberry melon cherries peach pineapple kiwi avocado tomato eggplant cucumber carrot corn hot_pepper potato sweet_potato chestnut peanuts honey_pot croissant bread french_bread cheese egg cooking bacon pancakes fried_shrimp poultry_leg meat_on_bone pizza hotdog hamburger fries stuffed_flatbread taco burrito salad shallow_pan_of_food spaghetti ramen stew fish_cake sushi bento curry rice_ball rice rice_cracker oden dango shaved_ice ice_cream icecream cake birthday custard lollipop candy chocolate_bar popcorn doughnut cookie milk baby_bottle coffee tea sake beer beers champagne_glass wine_glass tumbler_glass cocktail tropical_drink champagne spoon fork_and_knife fork_knife_plate dumpling fortune_cookie takeout_box chopsticks bowl_with_spoon cup_with_straw coconut broccoli pie pretzel cut_of_meat sandwich canned_food"},activity:{icon:"basketball",title:"Activity",emoji:"soccer basketball football baseball tennis volleyball rugby_football 8ball ping_pong badminton goal hockey field_hockey cricket_game golf bow_and_arrow fishing_pole_and_fish boxing_glove martial_arts_uniform ice_skate ski skier snowboarder woman_lifting_weights man_lifting_weights person_fencing women_wrestling men_wrestling woman_cartwheeling man_cartwheeling woman_bouncing_ball man_bouncing_ball woman_playing_handball man_playing_handball woman_golfing man_golfing woman_surfing man_surfing woman_swimming man_swimming woman_playing_water_polo man_playing_water_polo woman_rowing_boat man_rowing_boat horse_racing woman_biking man_biking woman_mountain_biking man_mountain_biking woman_in_steamy_room man_in_steamy_room woman_climbing man_climbing woman_in_lotus_position man_in_lotus_position running_shirt_with_sash medal military_medal first_place second_place third_place trophy rosette reminder_ribbon ticket tickets circus_tent woman_juggling man_juggling performing_arts art clapper microphone headphones musical_score musical_keyboard drum saxophone trumpet guitar violin game_die dart bowling video_game slot_machine sled curling_stone "},travel_places:{icon:"rocket",title:"Travel & Places",emoji:"red_car taxi blue_car bus trolleybus race_car police_car ambulance fire_engine minibus truck articulated_lorry tractor scooter bike motor_scooter motorcycle rotating_light oncoming_police_car oncoming_bus oncoming_automobile oncoming_taxi aerial_tramway mountain_cableway suspension_railway railway_car train mountain_railway monorail bullettrain_side bullettrain_front light_rail steam_locomotive train2 metro tram station helicopter airplane_small airplane airplane_departure airplane_arriving rocket satellite_orbital seat canoe sailboat motorboat speedboat cruise_ship ferry ship anchor construction fuelpump busstop vertical_traffic_light traffic_light map moyai statue_of_liberty fountain tokyo_tower european_castle japanese_castle stadium ferris_wheel roller_coaster carousel_horse beach_umbrella beach island mountain mountain_snow mount_fuji volcano desert camping tent railway_track motorway construction_site factory house house_with_garden homes house_abandoned office department_store post_office european_post_office hospital bank hotel convenience_store school love_hotel wedding classical_building church mosque synagogue kaaba shinto_shrine japan rice_scene park sunrise sunrise_over_mountains stars sparkler fireworks city_sunset city_dusk cityscape night_with_stars milky_way bridge_at_night foggy flying_saucer"},objects:{icon:"bulb",title:"Objects",emoji:"watch iphone calling computer keyboard desktop printer mouse_three_button trackball joystick compression minidisc floppy_disk cd dvd vhs camera camera_with_flash video_camera movie_camera projector film_frames telephone_receiver telephone pager fax tv radio microphone2 level_slider control_knobs stopwatch timer alarm_clock clock hourglass hourglass_flowing_sand satellite battery electric_plug bulb flashlight candle wastebasket oil money_with_wings dollar yen euro pound moneybag credit_card gem scales wrench hammer hammer_pick tools pick nut_and_bolt gear chains gun bomb knife dagger crossed_swords shield smoking coffin urn amphora crystal_ball prayer_beads barber alembic telescope microscope hole pill syringe thermometer toilet potable_water shower bathtub bath bellhop key key2 door couch bed sleeping_accommodation frame_photo shopping_bags shopping_cart gift balloon flags ribbon confetti_ball tada dolls izakaya_lantern wind_chime envelope envelope_with_arrow incoming_envelope e-mail love_letter inbox_tray outbox_tray package label mailbox_closed mailbox mailbox_with_mail mailbox_with_no_mail postbox postal_horn scroll page_with_curl page_facing_up bookmark_tabs bar_chart chart_with_upwards_trend chart_with_downwards_trend notepad_spiral calendar_spiral calendar date card_index card_box ballot_box file_cabinet clipboard file_folder open_file_folder dividers newspaper2 newspaper notebook notebook_with_decorative_cover ledger closed_book green_book blue_book orange_book books book bookmark link paperclip paperclips triangular_ruler straight_ruler pushpin round_pushpin scissors pen_ballpoint pen_fountain black_nib paintbrush crayon pencil pencil2 mag mag_right lock_with_ink_pen closed_lock_with_key lock unlock"},symbols:{icon:"heartpulse",title:"Symbols",emoji:"heart orange_heart yellow_heart green_heart blue_heart purple_heart black_heart broken_heart heart_exclamation two_hearts revolving_hearts heartbeat heartpulse sparkling_heart cupid gift_heart heart_decoration peace cross star_and_crescent om_symbol wheel_of_dharma star_of_david six_pointed_star menorah yin_yang orthodox_cross place_of_worship ophiuchus aries taurus gemini cancer leo virgo libra scorpius sagittarius capricorn aquarius pisces id atom accept radioactive biohazard mobile_phone_off vibration_mode u6709 u7121 u7533 u55b6 u6708 eight_pointed_black_star vs white_flower ideograph_advantage secret congratulations u5408 u6e80 u5272 u7981 a b ab cl o2 sos x o octagonal_sign no_entry name_badge no_entry_sign 100 anger hotsprings no_pedestrians do_not_litter no_bicycles non-potable_water underage no_mobile_phones no_smoking exclamation grey_exclamation question grey_question bangbang interrobang low_brightness high_brightness part_alternation_mark warning children_crossing trident fleur-de-lis beginner recycle white_check_mark u6307 chart sparkle eight_spoked_asterisk negative_squared_cross_mark globe_with_meridians diamond_shape_with_a_dot_inside m cyclone zzz atm wc wheelchair parking u7a7a sa passport_control customs baggage_claim left_luggage mens womens baby_symbol restroom put_litter_in_its_place cinema signal_strength koko symbols information_source abc abcd capital_abcd ng ok up cool new free zero one two three four five six seven eight nine keycap_ten 1234 hash asterisk arrow_forward pause_button play_pause stop_button record_button eject track_next track_previous fast_forward rewind arrow_double_up arrow_double_down arrow_backward arrow_up_small arrow_down_small arrow_right arrow_left arrow_up arrow_down arrow_upper_right arrow_lower_right arrow_lower_left arrow_upper_left arrow_up_down left_right_arrow arrow_right_hook leftwards_arrow_with_hook arrow_heading_up arrow_heading_down twisted_rightwards_arrows repeat repeat_one arrows_counterclockwise arrows_clockwise musical_note notes heavy_plus_sign heavy_minus_sign heavy_division_sign heavy_multiplication_x heavy_dollar_sign currency_exchange tm copyright registered wavy_dash curly_loop loop end back on top soon heavy_check_mark ballot_box_with_check radio_button white_circle black_circle red_circle blue_circle small_red_triangle small_red_triangle_down small_orange_diamond small_blue_diamond large_orange_diamond large_blue_diamond white_square_button black_square_button black_small_square white_small_square black_medium_small_square white_medium_small_square black_medium_square white_medium_square black_large_square white_large_square speaker mute sound loud_sound bell no_bell mega loudspeaker speech_left eye_in_speech_bubble speech_balloon thought_balloon anger_right spades clubs hearts diamonds black_joker flower_playing_cards mahjong clock1 clock2 clock3 clock4 clock5 clock6 clock7 clock8 clock9 clock10 clock11 clock12 clock130 clock230 clock330 clock430 clock530 clock630 clock730 clock830 clock930 clock1030 clock1130 clock1230"},flags:{icon:"flag_gb",title:"Flags",emoji:"flag_white flag_black checkered_flag triangular_flag_on_post rainbow_flag flag_af flag_ax flag_al flag_dz flag_as flag_ad flag_ao flag_ai flag_aq flag_ag flag_ar flag_am flag_aw flag_au flag_at flag_az flag_bs flag_bh flag_bd flag_bb flag_by flag_be flag_bz flag_bj flag_bm flag_bt flag_bo flag_ba flag_bw flag_br flag_io flag_vg flag_bn flag_bg flag_bf flag_bi flag_kh flag_cm flag_ca flag_ic flag_cv flag_bq flag_ky flag_cf flag_td flag_cl flag_cn flag_cx flag_cc flag_co flag_km flag_cg flag_cd flag_ck flag_cr flag_ci flag_hr flag_cu flag_cw flag_cy flag_cz flag_dk flag_dj flag_dm flag_do flag_ec flag_eg flag_sv flag_gq flag_er flag_ee flag_et flag_eu flag_fk flag_fo flag_fj flag_fi flag_fr flag_gf flag_pf flag_tf flag_ga flag_gm flag_ge flag_de flag_gh flag_gi flag_gr flag_gl flag_gd flag_gp flag_gu flag_gt flag_gg flag_gn flag_gw flag_gy flag_ht flag_hn flag_hk flag_hu flag_is flag_in flag_id flag_ir flag_iq flag_ie flag_im flag_il flag_it flag_jm flag_jp crossed_flags flag_je flag_jo flag_kz flag_ke flag_ki flag_xk flag_kw flag_kg flag_la flag_lv flag_lb flag_ls flag_lr flag_ly flag_li flag_lt flag_lu flag_mo flag_mk flag_mg flag_mw flag_my flag_mv flag_ml flag_mt flag_mh flag_mq flag_mr flag_mu flag_yt flag_mx flag_fm flag_md flag_mc flag_mn flag_me flag_ms flag_ma flag_mz flag_mm flag_na flag_nr flag_np flag_nl flag_nc flag_nz flag_ni flag_ne flag_ng flag_nu flag_nf flag_kp flag_mp flag_no flag_om flag_pk flag_pw flag_ps flag_pa flag_pg flag_py flag_pe flag_ph flag_pn flag_pl flag_pt flag_pr flag_qa flag_re flag_ro flag_ru flag_rw flag_ws flag_sm flag_st flag_sa flag_sn flag_rs flag_sc flag_sl flag_sg flag_sx flag_sk flag_si flag_gs flag_sb flag_so flag_za flag_kr flag_ss flag_es flag_lk flag_bl flag_sh flag_kn flag_lc flag_pm flag_vc flag_sd flag_sr flag_sz flag_se flag_ch flag_sy flag_tw flag_tj flag_tz flag_th flag_tl flag_tg flag_tk flag_to flag_tt flag_tn flag_tr flag_tm flag_tc flag_tv flag_vi flag_ug flag_ua flag_ae flag_gb flag_us flag_uy flag_uz flag_vu flag_va flag_ve flag_vn flag_wf flag_eh flag_ye flag_zm flag_zw flag_ac flag_ta flag_bv flag_hm flag_sj flag_um flag_ea flag_cp flag_dg flag_mf united_nations england scotland wales"}}:{tones:{title:"Diversity",emoji:"santa runner surfer swimmer lifter ear nose point_up_2 point_down point_left point_right punch wave ok_hand thumbsup thumbsdown clap open_hands boy girl man woman cop bride_with_veil person_with_blond_hair man_with_gua_pi_mao man_with_turban older_man grandma baby construction_worker princess angel information_desk_person guardsman dancer nail_care massage haircut muscle spy hand_splayed middle_finger vulcan no_good ok_woman bow raising_hand raised_hands person_frowning person_with_pouting_face pray rowboat bicyclist mountain_bicyclist walking bath metal point_up basketball_player fist raised_hand v writing_hand"},recent:{icon:"clock3",title:"Recent",emoji:""},smileys_people:{icon:"yum",title:"Smileys & People",emoji:"grinning grimacing grin joy smiley smile sweat_smile laughing innocent wink blush slight_smile upside_down relaxed yum relieved heart_eyes kissing_heart kissing kissing_smiling_eyes kissing_closed_eyes stuck_out_tongue_winking_eye stuck_out_tongue_closed_eyes stuck_out_tongue money_mouth nerd sunglasses hugging smirk no_mouth neutral_face expressionless unamused rolling_eyes thinking flushed disappointed worried angry rage pensive confused slight_frown frowning2 persevere confounded tired_face weary triumph open_mouth scream fearful cold_sweat hushed frowning anguished cry disappointed_relieved sleepy sweat sob dizzy_face astonished zipper_mouth mask thermometer_face head_bandage sleeping zzz poop smiling_imp imp japanese_ogre japanese_goblin skull ghost alien robot smiley_cat smile_cat joy_cat heart_eyes_cat smirk_cat kissing_cat scream_cat crying_cat_face pouting_cat raised_hands clap wave thumbsup thumbsdown punch fist v ok_hand raised_hand open_hands muscle pray point_up point_up_2 point_down point_left point_right middle_finger hand_splayed metal vulcan writing_hand nail_care lips tongue ear nose eye eyes bust_in_silhouette busts_in_silhouette speaking_head baby boy girl man woman person_with_blond_hair older_man older_woman man_with_gua_pi_mao man_with_turban cop construction_worker guardsman spy santa angel princess bride_with_veil walking runner dancer dancers couple two_men_holding_hands two_women_holding_hands bow information_desk_person no_good ok_woman raising_hand person_with_pouting_face person_frowning haircut massage couple_with_heart couple_ww couple_mm couplekiss kiss_ww kiss_mm family family_mwg family_mwgb family_mwbb family_mwgg family_wwb family_wwg family_wwgb family_wwbb family_wwgg family_mmb family_mmg family_mmgb family_mmbb family_mmgg womans_clothes shirt jeans necktie dress bikini kimono lipstick kiss footprints high_heel sandal boot mans_shoe athletic_shoe womans_hat tophat helmet_with_cross mortar_board crown school_satchel pouch purse handbag briefcase eyeglasses dark_sunglasses ring closed_umbrella"},animals_nature:{icon:"hamster",title:"Animals & Nature",emoji:"dog cat mouse hamster rabbit bear panda_face koala tiger lion_face cow pig pig_nose frog octopus monkey_face see_no_evil hear_no_evil speak_no_evil monkey chicken penguin bird baby_chick hatching_chick hatched_chick wolf boar horse unicorn bee bug snail beetle ant spider scorpion crab snake turtle tropical_fish fish blowfish dolphin whale whale2 crocodile leopard tiger2 water_buffalo ox cow2 dromedary_camel camel elephant goat ram sheep racehorse pig2 rat mouse2 rooster turkey dove dog2 poodle cat2 rabbit2 chipmunk feet dragon dragon_face cactus christmas_tree evergreen_tree deciduous_tree palm_tree seedling herb shamrock four_leaf_clover bamboo tanabata_tree leaves fallen_leaf maple_leaf ear_of_rice hibiscus sunflower rose tulip blossom cherry_blossom bouquet mushroom chestnut jack_o_lantern shell spider_web earth_americas earth_africa earth_asia full_moon waning_gibbous_moon last_quarter_moon waning_crescent_moon new_moon waxing_crescent_moon first_quarter_moon waxing_gibbous_moon new_moon_with_face full_moon_with_face first_quarter_moon_with_face last_quarter_moon_with_face sun_with_face crescent_moon star star2 dizzy sparkles comet sunny white_sun_small_cloud partly_sunny white_sun_cloud white_sun_rain_cloud cloud cloud_rain thunder_cloud_rain cloud_lightning zap fire boom snowflake cloud_snow snowman2 snowman wind_blowing_face dash cloud_tornado fog umbrella2 umbrella droplet sweat_drops ocean"},food_drink:{icon:"pizza",title:"Food & Drink",emoji:"green_apple apple pear tangerine lemon banana watermelon grapes strawberry melon cherries peach pineapple tomato eggplant hot_pepper corn sweet_potato honey_pot bread cheese poultry_leg meat_on_bone fried_shrimp egg hamburger fries hotdog pizza spaghetti taco burrito ramen stew fish_cake sushi bento curry rice_ball rice rice_cracker oden dango shaved_ice ice_cream icecream cake birthday custard candy lollipop chocolate_bar popcorn doughnut cookie beer beers wine_glass cocktail tropical_drink champagne sake tea coffee baby_bottle fork_and_knife fork_knife_plate"},activity:{icon:"basketball",title:"Activity",emoji:"soccer basketball football baseball tennis volleyball rugby_football 8ball golf golfer ping_pong badminton hockey field_hockey cricket ski skier snowboarder ice_skate bow_and_arrow fishing_pole_and_fish rowboat swimmer surfer bath basketball_player lifter bicyclist mountain_bicyclist horse_racing levitate trophy running_shirt_with_sash medal military_medal reminder_ribbon rosette ticket tickets performing_arts art circus_tent microphone headphones musical_score musical_keyboard saxophone trumpet guitar violin clapper video_game space_invader dart game_die slot_machine bowling"},travel_places:{icon:"rocket",title:"Travel & Places",emoji:"red_car taxi blue_car bus trolleybus race_car police_car ambulance fire_engine minibus truck articulated_lorry tractor motorcycle bike rotating_light oncoming_police_car oncoming_bus oncoming_automobile oncoming_taxi aerial_tramway mountain_cableway suspension_railway railway_car train monorail bullettrain_side bullettrain_front light_rail mountain_railway steam_locomotive train2 metro tram station helicopter airplane_small airplane airplane_departure airplane_arriving sailboat motorboat speedboat ferry cruise_ship rocket satellite_orbital seat anchor construction fuelpump busstop vertical_traffic_light traffic_light checkered_flag ship ferris_wheel roller_coaster carousel_horse construction_site foggy tokyo_tower factory fountain rice_scene mountain mountain_snow mount_fuji volcano japan camping tent park motorway railway_track sunrise sunrise_over_mountains desert beach island city_sunset city_dusk cityscape night_with_stars bridge_at_night milky_way stars sparkler fireworks rainbow homes european_castle japanese_castle stadium statue_of_liberty house house_with_garden house_abandoned office department_store post_office european_post_office hospital bank hotel convenience_store school love_hotel wedding classical_building church mosque synagogue kaaba shinto_shrine"},objects:{icon:"bulb",title:"Objects",emoji:"watch iphone calling computer keyboard desktop printer mouse_three_button trackball joystick compression minidisc floppy_disk cd dvd vhs camera camera_with_flash video_camera movie_camera projector film_frames telephone_receiver telephone pager fax tv radio microphone2 level_slider control_knobs stopwatch timer alarm_clock clock hourglass_flowing_sand hourglass satellite battery electric_plug bulb flashlight candle wastebasket oil money_with_wings dollar yen euro pound moneybag credit_card gem scales wrench hammer hammer_pick tools pick nut_and_bolt gear chains gun bomb knife dagger crossed_swords shield smoking skull_crossbones coffin urn amphora crystal_ball prayer_beads barber alembic telescope microscope hole pill syringe thermometer label bookmark toilet shower bathtub key key2 couch sleeping_accommodation bed door bellhop frame_photo map beach_umbrella moyai shopping_bags balloon flags ribbon gift confetti_ball tada dolls wind_chime crossed_flags izakaya_lantern envelope envelope_with_arrow incoming_envelope e-mail love_letter postbox mailbox_closed mailbox mailbox_with_mail mailbox_with_no_mail package postal_horn inbox_tray outbox_tray scroll page_with_curl bookmark_tabs bar_chart chart_with_upwards_trend chart_with_downwards_trend page_facing_up date calendar calendar_spiral card_index card_box ballot_box file_cabinet clipboard notepad_spiral file_folder open_file_folder dividers newspaper2 newspaper notebook closed_book green_book blue_book orange_book notebook_with_decorative_cover ledger books book link paperclip paperclips scissors triangular_ruler straight_ruler pushpin round_pushpin triangular_flag_on_post flag_white flag_black closed_lock_with_key lock unlock lock_with_ink_pen pen_ballpoint pen_fountain black_nib pencil pencil2 crayon paintbrush mag mag_right"},symbols:{icon:"heartpulse",title:"Symbols",emoji:"heart yellow_heart green_heart blue_heart purple_heart broken_heart heart_exclamation two_hearts revolving_hearts heartbeat heartpulse sparkling_heart cupid gift_heart heart_decoration peace cross star_and_crescent om_symbol wheel_of_dharma star_of_david six_pointed_star menorah yin_yang orthodox_cross place_of_worship ophiuchus aries taurus gemini cancer leo virgo libra scorpius sagittarius capricorn aquarius pisces id atom u7a7a u5272 radioactive biohazard mobile_phone_off vibration_mode u6709 u7121 u7533 u55b6 u6708 eight_pointed_black_star vs accept white_flower ideograph_advantage secret congratulations u5408 u6e80 u7981 a b ab cl o2 sos no_entry name_badge no_entry_sign x o anger hotsprings no_pedestrians do_not_litter no_bicycles non-potable_water underage no_mobile_phones exclamation grey_exclamation question grey_question bangbang interrobang 100 low_brightness high_brightness trident fleur-de-lis part_alternation_mark warning children_crossing beginner recycle u6307 chart sparkle eight_spoked_asterisk negative_squared_cross_mark white_check_mark diamond_shape_with_a_dot_inside cyclone loop globe_with_meridians m atm sa passport_control customs baggage_claim left_luggage wheelchair no_smoking wc parking potable_water mens womens baby_symbol restroom put_litter_in_its_place cinema signal_strength koko ng ok up cool new free zero one two three four five six seven eight nine ten 1234 arrow_forward pause_button play_pause stop_button record_button track_next track_previous fast_forward rewind twisted_rightwards_arrows repeat repeat_one arrow_backward arrow_up_small arrow_down_small arrow_double_up arrow_double_down arrow_right arrow_left arrow_up arrow_down arrow_upper_right arrow_lower_right arrow_lower_left arrow_upper_left arrow_up_down left_right_arrow arrows_counterclockwise arrow_right_hook leftwards_arrow_with_hook arrow_heading_up arrow_heading_down hash asterisk information_source abc abcd capital_abcd symbols musical_note notes wavy_dash curly_loop heavy_check_mark arrows_clockwise heavy_plus_sign heavy_minus_sign heavy_division_sign heavy_multiplication_x heavy_dollar_sign currency_exchange copyright registered tm end back on top soon ballot_box_with_check radio_button white_circle black_circle red_circle large_blue_circle small_orange_diamond small_blue_diamond large_orange_diamond large_blue_diamond small_red_triangle black_small_square white_small_square black_large_square white_large_square small_red_triangle_down black_medium_square white_medium_square black_medium_small_square white_medium_small_square black_square_button white_square_button speaker sound loud_sound mute mega loudspeaker bell no_bell black_joker mahjong spades clubs hearts diamonds flower_playing_cards thought_balloon anger_right speech_balloon clock1 clock2 clock3 clock4 clock5 clock6 clock7 clock8 clock9 clock10 clock11 clock12 clock130 clock230 clock330 clock430 clock530 clock630 clock730 clock830 clock930 clock1030 clock1130 clock1230 eye_in_speech_bubble"},flags:{icon:"flag_gb",title:"Flags",emoji:"ac af al dz ad ao ai ag ar am aw au at az bs bh bd bb by be bz bj bm bt bo ba bw br bn bg bf bi cv kh cm ca ky cf td flag_cl cn co km cg flag_cd cr hr cu cy cz dk dj dm do ec eg sv gq er ee et fk fo fj fi fr pf ga gm ge de gh gi gr gl gd gu gt gn gw gy ht hn hk hu is in flag_id ir iq ie il it ci jm jp je jo kz ke ki xk kw kg la lv lb ls lr ly li lt lu mo mk mg mw my mv ml mt mh mr mu mx fm md mc mn me ms ma mz mm na nr np nl nc nz ni ne flag_ng nu kp no om pk pw ps pa pg py pe ph pl pt pr qa ro ru rw sh kn lc vc ws sm st flag_sa sn rs sc sl sg sk si sb so za kr es lk sd sr sz se ch sy tw tj tz th tl tg to tt tn tr flag_tm flag_tm ug ua ae gb us vi uy uz vu va ve vn wf eh ye zm zw re ax ta io bq cx cc gg im yt nf pn bl pm gs tk bv hm sj um ic ea cp dg as aq vg ck cw eu gf tf gp mq mp sx ss tc "}},e}function R(e){var t=n();if(e&&e.filters){var r=t.filters;C.each(e.filters,function(n,e){return!O(e)||C.isEmptyObject(e)?void delete r[n]:void C.each(e,function(e,t){r[n][e]=t})}),e.filters=r}return C.extend({},t,e)}function p(e,n){return e.replace(c,function(e){var t=A[0===E?"jsecapeMap":"jsEscapeMap"];return void 0!==e&&e in t?u(n,t[e]):e})}function N(e,t){return e=e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/`/g,"`").replace(/(?:\r\n|\r|\n)/g,"\n").replace(/(\n+)/g,"<div>$1</div>").replace(/\n/g,"<br/>").replace(/<br\/><\/div>/g,"</div>"),t.shortnames&&(e=A.shortnameToUnicode(e)),p(e,t.emojiTemplate).replace(/\t/g," ").replace(/ /g," ")}function L(e,t){switch(e=e.replace(/ /g,"\n").replace(/	/g,"\t").replace(/<img[^>]*alt="([^"]+)"[^>]*>/gi,"$1").replace(/\n|\r/g,"").replace(/<br[^>]*>/gi,"\n").replace(/(?:<(?:div|p|ol|ul|li|pre|code|object)[^>]*>)+/gi,"<div>").replace(/(?:<\/(?:div|p|ol|ul|li|pre|code|object)>)+/gi,"</div>").replace(/\n<div><\/div>/gi,"\n").replace(/<div><\/div>\n/gi,"\n").replace(/(?:<div>)+<\/div>/gi,"\n").replace(/([^\n])<\/div><div>/gi,"$1\n").replace(/(?:<\/div>)+/gi,"</div>").replace(/([^\n])<\/div>([^\n])/gi,"$1\n$2").replace(/<\/div>/gi,"").replace(/([^\n])<div>/gi,"$1\n").replace(/\n<div>/gi,"\n").replace(/<div>\n/gi,"\n\n").replace(/<(?:[^>]+)?>/g,"").replace(new RegExp(D,"g"),"").replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/`/g,"`").replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&"),t.saveEmojisAs){case"image":e=p(e,t.emojiTemplate);break;case"shortname":e=A.toShort(e)}return e}function F(){var e=this.editor[0].offsetWidth-this.editor[0].clientWidth,t=parseInt(this.button.css("marginRight"));t!==e&&(this.button.css({marginRight:e}),this.floatingPicker&&this.picker.css({right:parseInt(this.picker.css("right"))-t+e}))}function G(){if(!this.sprite&&this.lasyEmoji[0]&&this.lasyEmoji.eq(0).is(".lazy-emoji")){var n=this.picker.offset().top,r=n+this.picker.height()+20;this.lasyEmoji.each(function(){var e=C(this),t=e.offset().top;if(n<t&&t<r&&e.attr("src",e.data("src")).removeClass("lazy-emoji"),r<t)return!1}),this.lasyEmoji=this.lasyEmoji.filter(".lazy-emoji")}}function j(e,t){return(t?"":".")+k+(e?"-"+e:"")}function B(e){var n=C("<div/>",O(e)?e:{class:j(e,!0)});return C.each(l.call(arguments).slice(1),function(e,t){C.isFunction(t)&&(t=t.call(n)),t&&C(t).appendTo(n)}),n}function U(){return localStorage.getItem("recent_emojis")||""}function H(e,t){var n=U();if(!e.recent||e.recent!==n||t){if(n.length){var r,i,a=e.scrollArea.is(".skinnable");a||(r=e.scrollArea.scrollTop(),t&&e.recentCategory.show(),i=e.recentCategory.is(":visible")?e.recentCategory.height():0);var o=M(n,e.emojiBtnTemplate,!0).split("|").join("");if(e.recentCategory.children(".emojibtn").remove(),C(o).insertAfter(e.recentCategory.children(".emojionearea-category-title")),e.recentCategory.children(".emojibtn").on("click",function(){e.trigger("emojibtn.click",C(this))}),e.recentFilter.show(),!a){e.recentCategory.show();var s=e.recentCategory.height();i!==s&&e.scrollArea.scrollTop(r+s-i)}}else e.recentFilter.hasClass("active")&&e.recentFilter.removeClass("active").next().addClass("active"),e.recentCategory.hide(),e.recentFilter.hide();e.recent=n}}function m(c,t,a){c.options=a=R(a),c.sprite=a.sprite&&E<3,c.inline=null===a.inline?t.is("INPUT"):a.inline,c.shortnames=a.shortnames,c.saveEmojisAs=a.saveEmojisAs,c.standalone=a.standalone,c.emojiTemplate='<img alt="{alt}" class="emojione'+(c.sprite?'-{uni}" src="'+x+'"/>':'emoji" src="{img}"/>'),c.emojiTemplateAlt=c.sprite?'<i class="emojione-{uni}"/>':'<img class="emojioneemoji" src="{img}"/>',c.emojiBtnTemplate='<i class="emojibtn" role="button" data-name="{name}" title="{friendlyName}">'+c.emojiTemplateAlt+"</i>",c.recentEmojis=a.recentEmojis&&function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!0}catch(e){return!1}}();var e=a.pickerPosition;c.floatingPicker="top"===e||"bottom"===e,((c.source=t).is(":disabled")||t.is(".disabled"))&&c.disable();var o,n,s,l,u,r,f,d,h,p,i=t.is("TEXTAREA")||t.is("INPUT")?"val":"text",m=B("tones",a.tones?function(){this.addClass(j("tones-"+a.tonesStyle,!0));for(var e=0;e<=5;e++)this.append(C("<i/>",{class:"btn-tone btn-tone-"+e+(e?"":" active"),"data-skin":e,role:"button"}))}:null),g=B({class:k+(c.standalone?" "+k+"-standalone ":" ")+(t.attr("class")||""),role:"application"},o=c.editor=B("editor").attr({contenteditable:!c.standalone,placeholder:a.placeholder||t.data("placeholder")||t.attr("placeholder")||"",tabindex:0}),n=c.button=B("button",B("button-open"),B("button-close")).attr("title",a.buttonTitle),s=c.picker=B("picker",B("wrapper",l=B("filters"),a.search?r=B("search-panel",B("search",a.search?function(){c.search=C("<input/>",{placeholder:a.searchPlaceholder||"",type:"text",class:"search"}),this.append(c.search)}:null),m):null,p=B("scroll-area",a.tones&&!a.search?B("tones-panel",m):null,f=B("emojis-list")))).addClass(j("picker-position-"+a.pickerPosition,!0)).addClass(j("filters-position-"+a.filtersPosition,!0)).addClass(j("search-position-"+a.searchPosition,!0)).addClass("hidden"));a.search&&r.addClass(j("with-search",!0)),c.searchSel=null,o.data(t.data()),C.each(a.attributes,function(e,t){o.attr(e,t)});var _=B("category-block").attr({"data-tone":0}).prependTo(f);if(C.each(a.filters,function(e,t){var n=0;if("recent"!==e||c.recentEmojis){if("tones"!==e)C("<i/>",{class:j("filter",!0)+" "+j("filter-"+e,!0),"data-filter":e,title:t.title}).wrapInner(M(t.icon,c.emojiTemplateAlt)).appendTo(l);else{if(!a.tones)return;n=5}do{var r,i=t.emoji.replace(/[\s,;]+/g,"|");r=0===n?B("category").attr({name:e,"data-tone":n}).appendTo(_):B("category-block").attr({name:e,"data-tone":n}).appendTo(f),0<n&&(r.hide(),i=i.split("|").join("_tone"+n+"|")+"_tone"+n),"recent"===e&&(i=U()),i=M(i,c.sprite?'<i class="emojibtn" role="button" data-name="{name}" title="{friendlyName}"><i class="emojione-{uni}"></i></i>':'<i class="emojibtn" role="button" data-name="{name}" title="{friendlyName}"><img class="emojioneemoji lazy-emoji" data-src="{img}"/></i>',!0).split("|").join(""),r.html(i),C('<div class="emojionearea-category-title"/>').text(t.title).prependTo(r)}while(0<--n)}}),a.filters=null,c.sprite||(c.lasyEmoji=f.find(".lazy-emoji")),(u=l.find(j("filter"))).eq(0).addClass("active"),h=f.find(j("category-block")),d=f.find(j("category")),c.recentFilter=u.filter('[data-filter="recent"]'),c.recentCategory=d.filter("[name=recent]"),c.scrollArea=p,a.container?C(a.container).wrapInner(g):g.insertAfter(t),a.hideSource&&t.hide(),c.setText(t[i]()),t[i](c.getText()),F.apply(c),c.standalone&&!c.getText().length){var b=C(t).data("emoji-placeholder")||a.emojiPlaceholder;c.setText(b),o.addClass("has-placeholder")}P(c,f.find(".emojibtn"),{click:"emojibtn.click"}),P(c,window,{resize:"!resize"}),P(c,m.children(),{click:"tone.click"}),P(c,[s,n],{mousedown:"!mousedown"},o),P(c,n,{click:"button.click"}),P(c,o,{paste:"!paste"},o),P(c,o,["focus","blur"],function(){return!c.stayFocused&&o}),P(c,s,{mousedown:"picker.mousedown",mouseup:"picker.mouseup",click:"picker.click",keyup:"picker.keyup",keydown:"picker.keydown",keypress:"picker.keypress"}),P(c,o,["mousedown","mouseup","click","keyup","keydown","keypress"]),P(c,s.find(".emojionearea-filter"),{click:"filter.click"}),P(c,t,{change:"source.change"}),a.search&&P(c,c.search,{keyup:"search.keypress",focus:"search.focus",blur:"search.blur"});var v=!1;if(p.on("scroll",function(){if(!v&&(G.call(c),p.is(":not(.skinnable)"))){var n=d.eq(0),r=p.offset().top;d.each(function(e,t){return!(10<=C(t).offset().top-r)&&void(n=C(t))});var e=u.filter('[data-filter="'+n.attr("name")+'"]');e[0]&&!e.is(".active")&&(u.removeClass("active"),e.addClass("active"))}}),c.on("@filter.click",function(e){var t=e.is(".active");if(p.is(".skinnable")){if(t)return;m.children().eq(0).click()}v=!0,t||(u.filter(".active").removeClass("active"),e.addClass("active"));var n=d.filter('[name="'+e.data("filter")+'"]').offset().top,r=p.scrollTop(),i=p.offset().top;p.stop().animate({scrollTop:n+r-i-2},200,"swing",function(){G.call(c),v=!1})}).on("@picker.show",function(){c.recentEmojis&&H(c),G.call(c)}).on("@tone.click",function(e){m.children().removeClass("active");var t=e.addClass("active").data("skin");t?(p.addClass("skinnable"),h.hide().filter("[data-tone="+t+"]").show(),u.removeClass("active")):(p.removeClass("skinnable"),h.hide().filter("[data-tone=0]").show(),u.eq(0).click()),G.call(c),a.search&&c.trigger("search.keypress")}).on("@button.click",function(e){e.is(".active")?c.hidePicker():(c.showPicker(),c.searchSel=null)}).on("@!paste",function(o,e){var t=function(e){var t="caret-"+(new Date).getTime(),n=N(e,c);$(n),$('<i id="'+t+'"></i>'),o.scrollTop(s);var r=C("#"+t),i=r.offset().top-o.offset().top,a=o.height();(a<=s+i||i<s)&&o.scrollTop(s+i-2*a/3),r.remove(),c.stayFocused=!1,F.apply(c),I(c,"paste",[o,e,n])};if(e.originalEvent.clipboardData){var n=e.originalEvent.clipboardData.getData("text/plain");return t(n),e.preventDefault?e.preventDefault():e.stop(),e.returnValue=!1,e.stopPropagation(),!1}c.stayFocused=!0,$("<span>"+D+"</span>");var r=S(o[0]),s=o.scrollTop(),i=C("<div/>",{contenteditable:!0}).css({position:"fixed",left:"-999px",width:"1px",height:"1px",top:"20px",overflow:"hidden"}).appendTo(C("BODY")).focus();window.setTimeout(function(){o.focus(),T(o[0],r);var e=L(i.html().replace(/\r\n|\n|\r/g,"<br>"),c);i.remove(),t(e)},200)}).on("@emojibtn.click",function(e){var t,n,r,i;o.removeClass("has-placeholder"),null!==c.searchSel&&(o.focus(),T(o[0],c.searchSel),c.searchSel=null),c.standalone?(o.html(M(e.data("name"),c.emojiTemplate)),c.trigger("blur")):(S(o[0]),$(M(e.data("name"),c.emojiTemplate))),c.recentEmojis&&(t=c,n=e.data("name"),r=U().split("|"),-1!==(i=r.indexOf(n))&&r.splice(i,1),r.unshift(n),9<r.length&&r.pop(),localStorage.setItem("recent_emojis",r.join("|")),H(t)),c.trigger("search.keypress")}).on("@!resize @keyup @emojibtn.click",F).on("@!mousedown",function(e,t){return C(t.target).hasClass("search")?(c.stayFocused=!0,null===c.searchSel&&(c.searchSel=S(e[0]))):(g.is(".focused")||e.trigger("focus"),t.preventDefault()),!1}).on("@change",function(){var e=c.editor.html().replace(/<\/?(?:div|span|p)[^>]*>/gi,"");e.length&&!/^<br[^>]*>$/i.test(e)||c.editor.html(c.content=""),t[i](c.getText())}).on("@source.change",function(){c.setText(t[i]()),I("change")}).on("@focus",function(){g.addClass("focused")}).on("@blur",function(){g.removeClass("focused"),a.hidePickerOnBlur&&c.hidePicker();var e=c.editor.html();c.content!==e?(c.content=e,I(c,"change",[c.editor]),t.trigger("blur").trigger("change")):t.trigger("blur"),a.search&&(c.search.val(""),c.trigger("search.keypress",!0))}),a.search&&c.on("@search.focus",function(){c.stayFocused=!0,c.search.addClass("focused")}).on("@search.keypress",function(e){var r=s.find(".emojionearea-filter"),n=a.tones?m.find("i.active").data("skin"):0,i=c.search.val().replace(/ /g,"_").replace(/"/g,'\\"');i&&i.length?(c.recentFilter.hasClass("active")&&c.recentFilter.removeClass("active").next().addClass("active"),c.recentCategory.hide(),c.recentFilter.hide(),h.each(function(){var e=function(e,t){var n=e.find('.emojibtn[data-name*="'+i+'"]');0===n.length?(e.data("tone")===t&&e.hide(),r.filter('[data-filter="'+e.attr("name")+'"]').hide()):(e.find('.emojibtn:not([data-name*="'+i+'"])').hide(),n.show(),e.data("tone")===t&&e.show(),r.filter('[data-filter="'+e.attr("name")+'"]').show())},t=C(this);0===t.data("tone")?d.filter(':not([name="recent"])').each(function(){e(C(this),0)}):e(t,n)}),v?G.call(c):p.trigger("scroll")):(H(c,!0),h.filter('[data-tone="'+m.find("i.active").data("skin")+'"]:not([name="recent"])').show(),C(".emojibtn",h).show(),r.show(),G.call(c))}).on("@search.blur",function(){c.stayFocused=!1,c.search.removeClass("focused"),c.trigger("blur")}),a.shortcuts&&c.on("@keydown",function(e,t){t.ctrlKey||(9==t.which?(t.preventDefault(),n.click()):27==t.which&&(t.preventDefault(),n.is(".active")&&c.hidePicker()))}),O(a.events)&&!C.isEmptyObject(a.events)&&C.each(a.events,function(e,t){c.on(e.replace(/_/g,"."),t)}),a.autocomplete){var y=function(){var e={maxCount:a.textcomplete.maxCount,placement:a.textcomplete.placement};a.shortcuts&&(e.onKeydown=function(e,t){if(!e.ctrlKey&&13==e.which)return t.KEY_ENTER});var n=C.map(A.emojioneList,function(e,t){return a.autocompleteTones?t:/_tone[12345]/.test(t)?null:t});n.sort(),o.textcomplete([{id:k,match:/\B(:[\-+\w]*)$/,search:function(t,e){e(C.map(n,function(e){return 0===e.indexOf(t)?e:null}))},template:function(e){return M(e,c.emojiTemplate)+" "+e.replace(/:/g,"")},replace:function(e){return M(e,c.emojiTemplate)},cache:!0,index:1}],e),a.textcomplete.placement&&"static"==C(o.data("textComplete").option.appendTo).css("position")&&C(o.data("textComplete").option.appendTo).css("position","relative")},w=function(){if(c.disabled){var e=function(){c.off("enabled",e),y()};c.on("enabled",e)}else y()};C.fn.textcomplete?w():C.ajax({url:"https://cdn.rawgit.com/yuku-t/jquery-textcomplete/v1.3.4/dist/jquery.textcomplete.js",dataType:"script",cache:!0,success:w})}c.inline&&(g.addClass(j("inline",!0)),c.on("@keydown",function(e,t){13==t.which&&t.preventDefault()})),/firefox/i.test(navigator.userAgent)&&document.execCommand("enableObjectResizing",!1,!1),c.isReady=!0,c.trigger("onLoad",o),c.trigger("ready",o)}window.getSelection&&document.createRange?(S=function(e){var t=window.getSelection&&window.getSelection();if(t&&0<t.rangeCount)return t.getRangeAt(0)},T=function(e,t){var n=document.createRange();n.setStart(t.startContainer,t.startOffset),n.setEnd(t.endContainer,t.endOffset),(t=window.getSelection()).removeAllRanges(),t.addRange(n)}):document.selection&&document.body.createTextRange&&(S=function(e){return document.selection.createRange()},T=function(e,t){var n=document.body.createTextRange();n.moveToElementText(e),n.setStart(t.startContanier,t.startOffset),n.setEnd(t.endContainer,t.endOffset),n.select()});var g={defaultBase:"https://cdnjs.cloudflare.com/ajax/libs/emojione/",defaultBase3:"https://cdn.jsdelivr.net/",base:null,isLoading:!1};function _(t){var n=f();if(t=R(t),!g.isLoading)if(!A||h(d(A))<2){var e;g.isLoading=!0,e=5<h(n)?g.defaultBase3+"npm/emojione@"+n:4<h(n)?g.defaultBase3+"emojione/"+n:g.defaultBase+"/"+n,C.ajax({url:e+"/lib/js/emojione.min.js",dataType:"script",cache:!0,success:function(){var e;for(A=window.emojione,n=d(A),e=4<(E=h(n))?(g.base=g.defaultBase3+"emojione/assets/"+n,g.base+"/sprites/emojione-sprite-"+A.emojiSize+".css"):(g.base=g.defaultBase+n+"/assets",g.base+"/sprites/emojione.sprites.css"),t.sprite&&(document.createStyleSheet?document.createStyleSheet(e):C("<link/>",{rel:"stylesheet",href:e}).appendTo("head"));i.length;)i.shift().call();g.isLoading=!1}})}else n=d(A),E=h(n),g.base=4<E?g.defaultBase3+"emojione/assets/"+n:g.defaultBase+n+"/assets";a(function(){var e="";t.useInternalCDN&&(4<E&&(e=A.emojiSize+"/"),A.imagePathPNG=g.base+"/png/"+e,A.imagePathSVG=g.base+"/svg/"+e,A.imagePathSVGSprites=g.base+"/sprites/emojione.sprites.svg",A.imageType=t.imageType),4<h(n)?(c=A.regUnicode,A.imageType=t.imageType||"png"):c=new RegExp("<object[^>]*>.*?</object>|<span[^>]*>.*?</span>|<(?:object|embed|svg|img|div|span|p|a)[^>]*>|("+A.unicodeRegexp+")","gi")})}var t=function(e,t){var n=this;_(t),o[n.id=++r]={},s[n.id]={},a(function(){m(n,e,t)})};t.prototype.on=function(e,n){if(e&&C.isFunction(n)){var r=this;C.each(e.toLowerCase().split(" "),function(e,t){(function(r,i){i=i.replace(/^@/,"");var e=r.id;s[e][i]&&(C.each(s[e][i],function(e,n){C.each(C.isArray(n[0])?n[0]:[n[0]],function(e,t){C(t).on(n[1],function(){var e=l.call(arguments),t=C.isFunction(n[2])?n[2].apply(r,[i].concat(e)):n[2];t&&I(r,i,[t].concat(e))})})}),s[e][i]=null)})(r,t),(o[r.id][t]||(o[r.id][t]=[])).push(n)})}return this},t.prototype.off=function(e,r){if(e){var i=this.id;C.each(e.toLowerCase().replace(/_/g,".").split(" "),function(e,n){o[i][n]&&!/^@/.test(n)&&(r?C.each(o[i][n],function(e,t){t===r&&(o[i][n]=o[i][n].splice(e,1))}):o[i][n]=[])})}return this},t.prototype.trigger=function(){var e=l.call(arguments),t=[this].concat(e.slice(0,1));return t.push(e.slice(1)),I.apply(this,t)},t.prototype.setFocus=function(){var e=this;return a(function(){e.editor.focus()}),e},t.prototype.setText=function(e){var t=this;return a(function(){t.editor.html(N(e,t)),t.content=t.editor.html(),I(t,"change",[t.editor]),F.apply(t)}),t},t.prototype.getText=function(){return L(this.editor.html(),this)},t.prototype.showPicker=function(){var e=this;return e._sh_timer&&window.clearTimeout(e._sh_timer),e.picker.removeClass("hidden"),e._sh_timer=window.setTimeout(function(){e.button.addClass("active")},50),I(e,"picker.show",[e.picker]),e},t.prototype.hidePicker=function(){var e=this;return e._sh_timer&&window.clearTimeout(e._sh_timer),e.button.removeClass("active"),e._sh_timer=window.setTimeout(function(){e.picker.addClass("hidden")},500),I(e,"picker.hide",[e.picker]),e},t.prototype.enable=function(){var t=this,e=function(){t.disabled=!1,t.editor.prop("contenteditable",!0),t.button.show();var e=t[t.standalone?"button":"editor"];e.parent().removeClass("emojionearea-disable"),I(t,"enabled",[e])};return t.isReady?e():t.on("ready",e),t},t.prototype.disable=function(){var t=this;t.disabled=!0;var e=function(){t.editor.prop("contenteditable",!1),t.hidePicker(),t.button.hide();var e=t[t.standalone?"button":"editor"];e.parent().addClass("emojionearea-disable"),I(t,"disabled",[e])};return t.isReady?e():t.on("ready",e),t},C.fn.emojioneArea=function(e){return this.each(function(){return this.emojioneArea||C.data(this,"emojioneArea",this.emojioneArea=new t(C(this),e)),this.emojioneArea})},C.fn.emojioneArea.defaults=n(),C.fn.emojioneAreaText=function(e){e=R(e);var t=this,n={shortnames:!e||void 0===e.shortnames||e.shortnames,emojiTemplate:'<img alt="{alt}" class="emojione'+(e&&e.sprite&&E<3?'-{uni}" src="'+x:'emoji" src="{img}')+'"/>'};return _(e),a(function(){t.each(function(){var e=C(this);return e.hasClass("emojionearea-text")||e.addClass("emojionearea-text").html(N(e.is("TEXTAREA")||e.is("INPUT")?e.val():e.text(),n)),e})}),this}},window),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JsSIP=e()}}(function(){return function a(o,s,c){function l(n,e){if(!s[n]){if(!o[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(u)return u(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r}var i=s[n]={exports:{}};o[n][0].call(i.exports,function(e){var t=o[n][1][e];return l(t||e)},i,i.exports,a,o,s,c)}return s[n].exports}for(var u="function"==typeof require&&require,e=0;e<c.length;e++)l(c[e]);return l}({1:[function(e,t,n){"use strict";var c=e("./Utils"),r=e("./Constants"),i=e("./Grammar"),a=e("./URI"),l=e("./Socket"),u=e("./Exceptions");n.settings={authorization_user:null,password:null,realm:null,ha1:null,display_name:null,uri:null,contact_uri:null,instance_id:null,use_preloaded_route:!1,session_timers:!0,session_timers_refresh_method:r.UPDATE,no_answer_timeout:60,register:!0,register_expires:600,registrar_server:null,sockets:null,connection_recovery_max_interval:null,connection_recovery_min_interval:null,via_host:c.createRandomToken(12)+".invalid"};var f={mandatory:{sockets:function(e){var t=[];if(l.isSocket(e))t.push({socket:e});else{if(!Array.isArray(e)||!e.length)return;var n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;Object.prototype.hasOwnProperty.call(s,"socket")&&l.isSocket(s.socket)?t.push(s):l.isSocket(s)&&t.push({socket:s})}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}return t},uri:function(e){/^sip:/i.test(e)||(e=r.SIP+":"+e);var t=a.parse(e);return t&&t.user?t:void 0}},optional:{authorization_user:function(e){return-1===i.parse('"'+e+'"',"quoted_string")?void 0:e},user_agent:function(e){if("string"==typeof e)return e},connection_recovery_max_interval:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},connection_recovery_min_interval:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},contact_uri:function(e){if("string"==typeof e){var t=i.parse(e,"SIP_URI");if(-1!==t)return t}},display_name:function(e){return-1===i.parse('"'+e+'"',"display_name")?void 0:e},instance_id:function(e){return/^uuid:/i.test(e)&&(e=e.substr(5)),-1===i.parse(e,"uuid")?void 0:e},no_answer_timeout:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},session_timers:function(e){if("boolean"==typeof e)return e},session_timers_refresh_method:function(e){if("string"==typeof e&&((e=e.toUpperCase())===r.INVITE||e===r.UPDATE))return e},password:function(e){return String(e)},realm:function(e){return String(e)},ha1:function(e){return String(e)},register:function(e){if("boolean"==typeof e)return e},register_expires:function(e){if(c.isDecimal(e)){var t=Number(e);if(0<t)return t}},registrar_server:function(e){/^sip:/i.test(e)||(e=r.SIP+":"+e);var t=a.parse(e);return t?t.user?void 0:t:void 0},use_preloaded_route:function(e){if("boolean"==typeof e)return e}}};n.load=function(e,t){for(var n in f.mandatory){if(!t.hasOwnProperty(n))throw new u.ConfigurationError(n);var r=t[n],i=f.mandatory[n](r);if(void 0===i)throw new u.ConfigurationError(n,r);e[n]=i}for(var a in f.optional)if(t.hasOwnProperty(a)){var o=t[a];if(c.isEmpty(o))continue;var s=f.optional[a](o);if(void 0===s)throw new u.ConfigurationError(a,o);e[a]=s}}},{"./Constants":2,"./Exceptions":6,"./Grammar":7,"./Socket":20,"./URI":25,"./Utils":26}],2:[function(e,t,n){"use strict";var r=e("../package.json");t.exports={USER_AGENT:r.title+" "+r.version,SIP:"sip",SIPS:"sips",causes:{CONNECTION_ERROR:"Connection Error",REQUEST_TIMEOUT:"Request Timeout",SIP_FAILURE_CODE:"SIP Failure Code",INTERNAL_ERROR:"Internal Error",BUSY:"Busy",REJECTED:"Rejected",REDIRECTED:"Redirected",UNAVAILABLE:"Unavailable",NOT_FOUND:"Not Found",ADDRESS_INCOMPLETE:"Address Incomplete",INCOMPATIBLE_SDP:"Incompatible SDP",MISSING_SDP:"Missing SDP",AUTHENTICATION_ERROR:"Authentication Error",BYE:"Terminated",WEBRTC_ERROR:"WebRTC Error",CANCELED:"Canceled",NO_ANSWER:"No Answer",EXPIRES:"Expires",NO_ACK:"No ACK",DIALOG_ERROR:"Dialog Error",USER_DENIED_MEDIA_ACCESS:"User Denied Media Access",BAD_MEDIA_DESCRIPTION:"Bad Media Description",RTP_TIMEOUT:"RTP Timeout"},SIP_ERROR_CAUSES:{REDIRECTED:[300,301,302,305,380],BUSY:[486,600],REJECTED:[403,603],NOT_FOUND:[404,604],UNAVAILABLE:[480,410,408,430],ADDRESS_INCOMPLETE:[484,424],INCOMPATIBLE_SDP:[488,606],AUTHENTICATION_ERROR:[401,407]},ACK:"ACK",BYE:"BYE",CANCEL:"CANCEL",INFO:"INFO",INVITE:"INVITE",MESSAGE:"MESSAGE",NOTIFY:"NOTIFY",OPTIONS:"OPTIONS",REGISTER:"REGISTER",REFER:"REFER",UPDATE:"UPDATE",SUBSCRIBE:"SUBSCRIBE",REASON_PHRASE:{100:"Trying",180:"Ringing",181:"Call Is Being Forwarded",182:"Queued",183:"Session Progress",199:"Early Dialog Terminated",200:"OK",202:"Accepted",204:"No Notification",300:"Multiple Choices",301:"Moved Permanently",302:"Moved Temporarily",305:"Use Proxy",380:"Alternative Service",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",410:"Gone",412:"Conditional Request Failed",413:"Request Entity Too Large",414:"Request-URI Too Long",415:"Unsupported Media Type",416:"Unsupported URI Scheme",417:"Unknown Resource-Priority",420:"Bad Extension",421:"Extension Required",422:"Session Interval Too Small",423:"Interval Too Brief",424:"Bad Location Information",428:"Use Identity Header",429:"Provide Referrer Identity",430:"Flow Failed",433:"Anonymity Disallowed",436:"Bad Identity-Info",437:"Unsupported Certificate",438:"Invalid Identity Header",439:"First Hop Lacks Outbound Support",440:"Max-Breadth Exceeded",469:"Bad Info Package",470:"Consent Needed",478:"Unresolvable Destination",480:"Temporarily Unavailable",481:"Call/Transaction Does Not Exist",482:"Loop Detected",483:"Too Many Hops",484:"Address Incomplete",485:"Ambiguous",486:"Busy Here",487:"Request Terminated",488:"Not Acceptable Here",489:"Bad Event",491:"Request Pending",493:"Undecipherable",494:"Security Agreement Required",500:"JsSIP Internal Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Server Time-out",505:"Version Not Supported",513:"Message Too Large",580:"Precondition Failure",600:"Busy Everywhere",603:"Decline",604:"Does Not Exist Anywhere",606:"Not Acceptable"},ALLOWED_METHODS:"INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO",ACCEPTED_BODY_TYPES:"application/sdp, application/dtmf-relay",MAX_FORWARDS:69,SESSION_EXPIRES:90,MIN_SESSION_EXPIRES:60}},{"../package.json":51}],3:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=e("./SIPMessage"),i=e("./Constants"),s=e("./Transactions"),c=e("./Dialog/RequestSender"),l=e("./Utils"),u=e("debug")("JsSIP:Dialog"),f={STATUS_EARLY:1,STATUS_CONFIRMED:2};t.exports=function(){function a(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:f.STATUS_CONFIRMED;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),this._owner=e,this._ua=e._ua,this._uac_pending_reply=!1,this._uas_pending_reply=!1,!t.hasHeader("contact"))return{error:"unable to create a Dialog without Contact header field"};t instanceof o.IncomingResponse&&(r=t.status_code<200?f.STATUS_EARLY:f.STATUS_CONFIRMED);var i=t.parseHeader("contact");"UAS"===n?(this._id={call_id:t.call_id,local_tag:t.to_tag,remote_tag:t.from_tag,toString:function(){return this.call_id+this.local_tag+this.remote_tag}},this._state=r,this._remote_seqnum=t.cseq,this._local_uri=t.parseHeader("to").uri,this._remote_uri=t.parseHeader("from").uri,this._remote_target=i.uri,this._route_set=t.getHeaders("record-route"),this._ack_seqnum=this._remote_seqnum):"UAC"===n&&(this._id={call_id:t.call_id,local_tag:t.from_tag,remote_tag:t.to_tag,toString:function(){return this.call_id+this.local_tag+this.remote_tag}},this._state=r,this._local_seqnum=t.cseq,this._local_uri=t.parseHeader("from").uri,this._remote_uri=t.parseHeader("to").uri,this._remote_target=i.uri,this._route_set=t.getHeaders("record-route").reverse(),this._ack_seqnum=null),this._ua.newDialog(this),u("new "+n+" dialog created with status "+(this._state===f.STATUS_EARLY?"EARLY":"CONFIRMED"))}return r(a,null,[{key:"C",get:function(){return f}}]),r(a,[{key:"update",value:function(e,t){this._state=f.STATUS_CONFIRMED,u("dialog "+this._id.toString()+" changed to CONFIRMED state"),"UAC"===t&&(this._route_set=e.getHeaders("record-route").reverse())}},{key:"terminate",value:function(){u("dialog "+this._id.toString()+" deleted"),this._ua.destroyDialog(this)}},{key:"sendRequest",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=l.cloneArray(n.extraHeaders),i=n.eventHandlers||{},a=n.body||null,o=this._createRequest(e,r,a);return i.onAuthenticated=function(){t._local_seqnum+=1},new c(this,o,i).send(),o}},{key:"receiveRequest",value:function(e){this._checkInDialogRequest(e)&&(e.method===i.ACK&&null!==this._ack_seqnum?this._ack_seqnum=null:e.method===i.INVITE&&(this._ack_seqnum=e.cseq),this._owner.receiveRequest(e))}},{key:"_createRequest",value:function(e,t,n){t=l.cloneArray(t),this._local_seqnum||(this._local_seqnum=Math.floor(1e4*Math.random()));var r=e===i.CANCEL||e===i.ACK?this._local_seqnum:this._local_seqnum+=1;return new o.OutgoingRequest(e,this._remote_target,this._ua,{cseq:r,call_id:this._id.call_id,from_uri:this._local_uri,from_tag:this._id.local_tag,to_uri:this._remote_uri,to_tag:this._id.remote_tag,route_set:this._route_set},t,n)}},{key:"_checkInDialogRequest",value:function(t){var n=this;if(this._remote_seqnum)if(t.cseq<this._remote_seqnum){if(t.method!==i.ACK)return t.reply(500),!1;if(null===this._ack_seqnum||t.cseq!==this._ack_seqnum)return!1}else t.cseq>this._remote_seqnum&&(this._remote_seqnum=t.cseq);else this._remote_seqnum=t.cseq;if(t.method===i.INVITE||t.method===i.UPDATE&&t.body){if(!0===this._uac_pending_reply)t.reply(491);else{if(!0===this._uas_pending_reply){var e=1+(10*Math.random()|0);return t.reply(500,null,["Retry-After:"+e]),!1}this._uas_pending_reply=!0;t.server_transaction.on("stateChanged",function e(){t.server_transaction.state!==s.C.STATUS_ACCEPTED&&t.server_transaction.state!==s.C.STATUS_COMPLETED&&t.server_transaction.state!==s.C.STATUS_TERMINATED||(t.server_transaction.removeListener("stateChanged",e),n._uas_pending_reply=!1)})}t.hasHeader("contact")&&t.server_transaction.on("stateChanged",function(){t.server_transaction.state===s.C.STATUS_ACCEPTED&&(n._remote_target=t.parseHeader("contact").uri)})}else t.method===i.NOTIFY&&t.hasHeader("contact")&&t.server_transaction.on("stateChanged",function(){t.server_transaction.state===s.C.STATUS_COMPLETED&&(n._remote_target=t.parseHeader("contact").uri)});return!0}},{key:"id",get:function(){return this._id}},{key:"local_seqnum",get:function(){return this._local_seqnum},set:function(e){this._local_seqnum=e}},{key:"owner",get:function(){return this._owner}},{key:"uac_pending_reply",get:function(){return this._uac_pending_reply},set:function(e){this._uac_pending_reply=e}},{key:"uas_pending_reply",get:function(){return this._uas_pending_reply}}]),a}()},{"./Constants":2,"./Dialog/RequestSender":4,"./SIPMessage":19,"./Transactions":22,"./Utils":26,debug:29}],4:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("../Constants"),o=e("../Transactions"),s=e("../RTCSession"),c=e("../RequestSender"),l={onRequestTimeout:function(){},onTransportError:function(){},onSuccessResponse:function(){},onErrorResponse:function(){},onAuthenticated:function(){},onDialogError:function(){}};t.exports=function(){function i(e,t,n){for(var r in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this._dialog=e,this._ua=e._ua,this._request=t,this._eventHandlers=n,this._reattempt=!1,this._reattemptTimer=null,l)Object.prototype.hasOwnProperty.call(l,r)&&(this._eventHandlers[r]||(this._eventHandlers[r]=l[r]))}return r(i,[{key:"send",value:function(){var t=this,n=new c(this._ua,this._request,{onRequestTimeout:function(){t._eventHandlers.onRequestTimeout()},onTransportError:function(){t._eventHandlers.onTransportError()},onAuthenticated:function(e){t._eventHandlers.onAuthenticated(e)},onReceiveResponse:function(e){t._receiveResponse(e)}});if(n.send(),(this._request.method===a.INVITE||this._request.method===a.UPDATE&&this._request.body)&&n.clientTransaction.state!==o.C.STATUS_TERMINATED){this._dialog.uac_pending_reply=!0;n.clientTransaction.on("stateChanged",function e(){n.clientTransaction.state!==o.C.STATUS_ACCEPTED&&n.clientTransaction.state!==o.C.STATUS_COMPLETED&&n.clientTransaction.state!==o.C.STATUS_TERMINATED||(n.clientTransaction.removeListener("stateChanged",e),t._dialog.uac_pending_reply=!1)})}}},{key:"_receiveResponse",value:function(e){var t=this;408===e.status_code||481===e.status_code?this._eventHandlers.onDialogError(e):e.method===a.INVITE&&491===e.status_code?this._reattempt?200<=e.status_code&&e.status_code<300?this._eventHandlers.onSuccessResponse(e):300<=e.status_code&&this._eventHandlers.onErrorResponse(e):(this._request.cseq.value=this._dialog.local_seqnum+=1,this._reattemptTimer=setTimeout(function(){t._dialog.owner.status!==s.C.STATUS_TERMINATED&&(t._reattempt=!0,t._request_sender.send())},1e3)):200<=e.status_code&&e.status_code<300?this._eventHandlers.onSuccessResponse(e):300<=e.status_code&&this._eventHandlers.onErrorResponse(e)}},{key:"request",get:function(){return this._request}}]),i}()},{"../Constants":2,"../RTCSession":12,"../RequestSender":18,"../Transactions":22}],5:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var c=e("./Utils"),l=e("debug")("JsSIP:DigestAuthentication"),u=e("debug")("JsSIP:ERROR:DigestAuthentication");u.log=console.warn.bind(console),t.exports=function(){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),this._credentials=e,this._cnonce=null,this._nc=0,this._ncHex="00000000",this._algorithm=null,this._realm=null,this._nonce=null,this._opaque=null,this._stale=null,this._qop=null,this._method=null,this._uri=null,this._ha1=null,this._response=null}return r(t,[{key:"get",value:function(e){switch(e){case"realm":return this._realm;case"ha1":return this._ha1;default:return void u('get() | cannot get "%s" parameter',e)}}},{key:"authenticate",value:function(e,t){var n=e.method,r=e.ruri,i=e.body,a=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(this._algorithm=t.algorithm,this._realm=t.realm,this._nonce=t.nonce,this._opaque=t.opaque,this._stale=t.stale,this._algorithm){if("MD5"!==this._algorithm)return u('authenticate() | challenge with Digest algorithm different than "MD5", authentication aborted'),!1}else this._algorithm="MD5";if(!this._nonce)return u("authenticate() | challenge without Digest nonce, authentication aborted"),!1;if(!this._realm)return u("authenticate() | challenge without Digest realm, authentication aborted"),!1;if(!this._credentials.password){if(!this._credentials.ha1)return u("authenticate() | no plain SIP password nor ha1 provided, authentication aborted"),!1;if(this._credentials.realm!==this._realm)return u('authenticate() | no plain SIP password, and stored `realm` does not match the given `realm`, cannot authenticate [stored:"%s", given:"%s"]',this._credentials.realm,this._realm),!1}if(t.qop)if(-1<t.qop.indexOf("auth-int"))this._qop="auth-int";else{if(!(-1<t.qop.indexOf("auth")))return u('authenticate() | challenge without Digest qop different than "auth" or "auth-int", authentication aborted'),!1;this._qop="auth"}else this._qop=null;this._method=n,this._uri=r,this._cnonce=a||c.createRandomToken(12),this._nc+=1;var o=Number(this._nc).toString(16);this._ncHex="00000000".substr(0,8-o.length)+o,4294967296===this._nc&&(this._nc=1,this._ncHex="00000001"),this._credentials.password?this._ha1=c.calculateMD5(this._credentials.username+":"+this._realm+":"+this._credentials.password):this._ha1=this._credentials.ha1;var s=void 0;return"auth"===this._qop?(s=c.calculateMD5(this._method+":"+this._uri),this._response=c.calculateMD5(this._ha1+":"+this._nonce+":"+this._ncHex+":"+this._cnonce+":auth:"+s)):"auth-int"===this._qop?(s=c.calculateMD5(this._method+":"+this._uri+":"+c.calculateMD5(i||"")),this._response=c.calculateMD5(this._ha1+":"+this._nonce+":"+this._ncHex+":"+this._cnonce+":auth-int:"+s)):null===this._qop&&(s=c.calculateMD5(this._method+":"+this._uri),this._response=c.calculateMD5(this._ha1+":"+this._nonce+":"+s)),l("authenticate() | response generated"),!0}},{key:"toString",value:function(){var e=[];if(!this._response)throw new Error("response field does not exist, cannot generate Authorization header");return e.push("algorithm="+this._algorithm),e.push('username="'+this._credentials.username+'"'),e.push('realm="'+this._realm+'"'),e.push('nonce="'+this._nonce+'"'),e.push('uri="'+this._uri+'"'),e.push('response="'+this._response+'"'),this._opaque&&e.push('opaque="'+this._opaque+'"'),this._qop&&(e.push("qop="+this._qop),e.push('cnonce="'+this._cnonce+'"'),e.push("nc="+this._ncHex)),"Digest "+e.join(", ")}}]),t}()},{"./Utils":26,debug:29}],6:[function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var r=function(e){function r(e,t){i(this,r);var n=a(this,(r.__proto__||Object.getPrototypeOf(r)).call(this));return n.code=1,n.name="CONFIGURATION_ERROR",n.parameter=e,n.value=t,n.message=n.value?"Invalid value "+JSON.stringify(n.value)+' for parameter "'+n.parameter+'"':"Missing parameter: "+n.parameter,n}return o(r,Error),r}(),s=function(e){function n(e){i(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.code=2,t.name="INVALID_STATE_ERROR",t.status=e,t.message="Invalid status: "+e,t}return o(n,Error),n}(),c=function(e){function n(e){i(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.code=3,t.name="NOT_SUPPORTED_ERROR",t.message=e,t}return o(n,Error),n}(),l=function(e){function n(e){i(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.code=4,t.name="NOT_READY_ERROR",t.message=e,t}return o(n,Error),n}();t.exports={ConfigurationError:r,InvalidStateError:s,NotSupportedError:c,NotReadyError:l}},{}],7:[function(Hn,e,t){"use strict";e.exports=function(){function Un(e){return'"'+e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\x08/g,"\\b").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\f/g,"\\f").replace(/\r/g,"\\r").replace(/[\x00-\x07\x0B\x0E-\x1F\x80-\uFFFF]/g,escape)+'"'}var e={parse:function(_,c){var e={CRLF:o,DIGIT:l,ALPHA:s,HEXDIG:u,WSP:f,OCTET:n,DQUOTE:d,SP:h,HTAB:p,alphanum:i,reserved:m,unreserved:g,mark:r,escaped:w,LWS:C,SWS:A,HCOLON:S,TEXT_UTF8_TRIM:T,TEXT_UTF8char:x,UTF8_NONASCII:k,UTF8_CONT:E,LHEX:function(){var e;null===(e=l())&&(/^[a-f]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[a-f]")));return e},token:D,token_nodot:I,separators:function(){var e;40===_.charCodeAt(b)?(e="(",b++):(e=null,0===v&&y('"("'));null===e&&(41===_.charCodeAt(b)?(e=")",b++):(e=null,0===v&&y('")"')),null===e&&(60===_.charCodeAt(b)?(e="<",b++):(e=null,0===v&&y('"<"')),null===e&&(62===_.charCodeAt(b)?(e=">",b++):(e=null,0===v&&y('">"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","')),null===e&&(59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(92===_.charCodeAt(b)?(e="\\",b++):(e=null,0===v&&y('"\\\\"')),null===e&&null===(e=d())&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null===e&&(93===_.charCodeAt(b)?(e="]",b++):(e=null,0===v&&y('"]"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(123===_.charCodeAt(b)?(e="{",b++):(e=null,0===v&&y('"{"')),null===e&&(125===_.charCodeAt(b)?(e="}",b++):(e=null,0===v&&y('"}"')),null===e&&null===(e=h())&&(e=p()))))))))))))))));return e},word:P,STAR:M,SLASH:$,EQUAL:O,LPAREN:R,RPAREN:N,RAQUOT:L,LAQUOT:F,COMMA:G,SEMI:j,COLON:B,LDQUOT:U,RDQUOT:H,comment:function e(){var t,n,r;var i;i=b;t=R();if(null!==t){for(n=[],null===(r=W())&&null===(r=Y())&&(r=e());null!==r;)n.push(r),null===(r=W())&&null===(r=Y())&&(r=e());null!==n&&null!==(r=N())?t=[t,n,r]:(t=null,b=i)}else t=null,b=i;return t},ctext:W,quoted_string:q,quoted_string_clean:z,qdtext:V,quoted_pair:Y,SIP_URI_noparams:K,SIP_URI:Q,uri_scheme:X,uri_scheme_sips:Z,uri_scheme_sip:J,userinfo:ee,user:te,user_unreserved:ne,password:re,hostport:ie,host:ae,hostname:oe,domainlabel:se,toplabel:ce,IPv6reference:le,IPv6address:ue,h16:fe,ls32:de,IPv4address:he,dec_octet:pe,port:me,uri_parameters:ge,uri_parameter:_e,transport_param:be,user_param:ve,method_param:ye,ttl_param:we,maddr_param:Ce,lr_param:Ae,other_param:Se,pname:Te,pvalue:xe,paramchar:ke,param_unreserved:Ee,headers:De,header:Ie,hname:Pe,hvalue:Me,hnv_unreserved:$e,Request_Response:function(){var e;null===(e=lt())&&(e=Oe());return e},Request_Line:Oe,Request_URI:Re,absoluteURI:Ne,hier_part:Le,net_path:Fe,abs_path:Ge,opaque_part:je,uric:Be,uric_no_slash:Ue,path_segments:He,segment:We,param:qe,pchar:ze,scheme:Ve,authority:Ye,srvr:Ke,reg_name:Qe,query:Xe,SIP_Version:Ze,INVITEm:Je,ACKm:et,OPTIONSm:tt,BYEm:nt,CANCELm:rt,REGISTERm:it,SUBSCRIBEm:at,NOTIFYm:ot,REFERm:st,Method:ct,Status_Line:lt,Status_Code:ut,extension_code:ft,Reason_Phrase:dt,Allow_Events:function(){var e,t,n,r,i,a;if(i=b,null!==(e=Nt())){for(t=[],a=b,null!==(n=G())&&null!==(r=Nt())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=Nt())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Call_ID:function(){var e,t,n,r,i,a;i=r=b,null!==(e=P())?(a=b,64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null!==t&&null!==(n=P())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i);null!==e&&(o=r,e=void(Fn=_.substring(b,o)));var o;null===e&&(b=r);return e},Contact:function(){var e,t,n,r,i,a,o;if(i=b,null===(e=M()))if(a=b,null!==(e=ht())){for(t=[],o=b,null!==(n=G())&&null!==(r=ht())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=G())&&null!==(r=ht())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t,n;for(n=Fn.multi_header.length,t=0;t<n;t++)if(null===Fn.multi_header[t].parsed){Fn=null;break}Fn=null!==Fn?Fn.multi_header:-1}());null===e&&(b=i);return e},contact_param:ht,name_addr:pt,display_name:mt,contact_params:gt,c_p_q:_t,c_p_expires:bt,delta_seconds:vt,qvalue:yt,generic_param:wt,gen_value:Ct,Content_Disposition:function(){var e,t,n,r,i,a;if(i=b,null!==(e=At())){for(t=[],a=b,null!==(n=j())&&null!==(r=St())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=St())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},disp_type:At,disp_param:St,handling_param:Tt,Content_Encoding:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Content_Length:function(){var e,t,n;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;null!==e&&(e=void(Fn=parseInt(e.join(""))));null===e&&(b=n);return e},Content_Type:function(){var e,t;t=b,null!==(e=xt())&&(n=t,e=void(Fn=_.substring(b,n)));var n;null===e&&(b=t);return e},media_type:xt,m_type:kt,discrete_type:Et,composite_type:Dt,extension_token:It,x_token:Pt,m_subtype:Mt,m_parameter:$t,m_value:Ot,CSeq:function(){var e,t,n,r;r=b,null!==(e=Rt())&&null!==(t=C())&&null!==(n=ct())?e=[e,t,n]:(e=null,b=r);return e},CSeq_value:Rt,Expires:function(){var e,t;t=b,null!==(e=vt())&&(e=void(Fn=e));null===e&&(b=t);return e},Event:function(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=Nt())){for(t=[],o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(s=e[0],e=void(Fn.event=s.join("").toLowerCase()));var s;null===e&&(b=i);return e},event_type:Nt,From:function(){var e,t,n,r,i,a,o;a=i=b,null===(e=K())&&(e=pt());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=Lt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=Lt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t=Fn.tag;try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params),t&&Fn.setParam("tag",t)}catch(e){Fn=-1}}());null===e&&(b=i);return e},from_param:Lt,tag_param:Ft,Max_Forwards:function(){var e,t,n;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;null!==e&&(e=void(Fn=parseInt(e.join(""))));null===e&&(b=n);return e},Min_Expires:function(){var e,t;t=b,null!==(e=vt())&&(e=void(Fn=e));null===e&&(b=t);return e},Name_Addr_Header:function(){var e,t,n,r,i,a,o,s,c,l;c=s=b,e=[],t=mt();for(;null!==t;)e.push(t),t=mt();if(null!==e)if(null!==(t=F()))if(null!==(n=Q()))if(null!==(r=L())){for(i=[],l=b,null!==(a=j())&&null!==(o=wt())?a=[a,o]:(a=null,b=l);null!==a;)i.push(a),l=b,null!==(a=j())&&null!==(o=wt())?a=[a,o]:(a=null,b=l);null!==i?e=[e,t,n,r,i]:(e=null,b=c)}else e=null,b=c;else e=null,b=c;else e=null,b=c;else e=null,b=c;null!==e&&(e=function(e){try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params)}catch(e){Fn=-1}}());null===e&&(b=s);return e},Proxy_Authenticate:function(){return Gt()},challenge:Gt,other_challenge:jt,auth_param:Bt,digest_cln:Ut,realm:Ht,realm_value:Wt,domain:qt,URI:zt,nonce:Vt,nonce_value:Yt,opaque:Kt,stale:Qt,algorithm:Xt,qop_options:Zt,qop_value:Jt,Proxy_Require:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Record_Route:function(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=en())){for(t=[],o=b,null!==(n=G())&&null!==(r=en())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=G())&&null!==(r=en())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t,n;for(n=Fn.multi_header.length,t=0;t<n;t++)if(null===Fn.multi_header[t].parsed){Fn=null;break}Fn=null!==Fn?Fn.multi_header:-1}());null===e&&(b=i);return e},rec_route:en,Reason:function(){var e,t,n,r,i,a,o;a=i=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"SIP"'));null===e&&(e=D());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=tn())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=tn())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e,t){if(Fn.protocol=t.toLowerCase(),Fn.params||(Fn.params={}),Fn.params.text&&'"'===Fn.params.text[0]){var n=Fn.params.text;Fn.text=n.substring(1,n.length-1),delete Fn.params.text}}(0,e[0]));null===e&&(b=i);return e},reason_param:tn,reason_cause:nn,Require:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},Route:function(){var e,t,n,r,i,a;if(i=b,null!==(e=rn())){for(t=[],a=b,null!==(n=G())&&null!==(r=rn())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=rn())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},route_param:rn,Subscription_State:function(){var e,t,n,r,i,a;if(i=b,null!==(e=an())){for(t=[],a=b,null!==(n=j())&&null!==(r=on())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=on())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},substate_value:an,subexp_params:on,event_reason_value:sn,Subject:function(){var e;return e=null!==(e=T())?e:""},Supported:function(){var e,t,n,r,i,a;if(i=b,null!==(e=D())){for(t=[],a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=D())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e=null!==e?e:""},To:function(){var e,t,n,r,i,a,o;a=i=b,null===(e=K())&&(e=pt());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=cn())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=cn())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){var t=Fn.tag;try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params),t&&Fn.setParam("tag",t)}catch(e){Fn=-1}}());null===e&&(b=i);return e},to_param:cn,Via:function(){var e,t,n,r,i,a;if(i=b,null!==(e=ln())){for(t=[],a=b,null!==(n=G())&&null!==(r=ln())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=G())&&null!==(r=ln())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},via_param:ln,via_params:un,via_ttl:fn,via_maddr:dn,via_received:hn,via_branch:pn,response_port:mn,sent_protocol:gn,protocol_name:_n,transport:bn,sent_by:vn,via_host:yn,via_port:wn,ttl:Cn,WWW_Authenticate:function(){return Gt()},Session_Expires:function(){var e,t,n,r,i,a;if(i=b,null!==(e=An())){for(t=[],a=b,null!==(n=j())&&null!==(r=Sn())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=Sn())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},s_e_expires:An,s_e_params:Sn,s_e_refresher:Tn,extension_header:function(){var e,t,n,r;r=b,null!==(e=D())&&null!==(t=S())&&null!==(n=xn())?e=[e,t,n]:(e=null,b=r);return e},header_value:xn,message_body:function(){var e,t;e=[],t=n();for(;null!==t;)e.push(t),t=n();return e},uuid_URI:function(){var e,t,n;n=b,"uuid:"===_.substr(b,5)?(e="uuid:",b+=5):(e=null,0===v&&y('"uuid:"'));null!==e&&null!==(t=kn())?e=[e,t]:(e=null,b=n);return e},uuid:kn,hex4:En,hex8:Dn,hex12:In,Refer_To:function(){var e,t,n,r,i,a,o;a=i=b,null===(e=K())&&(e=pt());if(null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;null!==e&&(e=function(e){try{Fn=new Ln(Fn.uri,Fn.display_name,Fn.params)}catch(e){Fn=-1}}());null===e&&(b=i);return e},Replaces:function(){var e,t,n,r,i,a;if(i=b,null!==(e=Pn())){for(t=[],a=b,null!==(n=j())&&null!==(r=Mn())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=Mn())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e},call_id:Pn,replaces_param:Mn,to_tag:$n,from_tag:On,early_flag:Rn};if(void 0!==c){if(void 0===e[c])throw new Error("Invalid rule name: "+Un(c)+".")}else c="CRLF";var b=0,v=0,a=0,t=[];function y(e){b<a||(a<b&&(a=b,t=[]),t.push(e))}function o(){var e;return"\r\n"===_.substr(b,2)?(e="\r\n",b+=2):(e=null,0===v&&y('"\\r\\n"')),e}function l(){var e;return/^[0-9]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[0-9]")),e}function s(){var e;return/^[a-zA-Z]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[a-zA-Z]")),e}function u(){var e;return/^[0-9a-fA-F]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[0-9a-fA-F]")),e}function f(){var e;return null===(e=h())&&(e=p()),e}function n(){var e;return/^[\0-\xFF]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\0-\\xFF]")),e}function d(){var e;return/^["]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y('["]')),e}function h(){var e;return 32===_.charCodeAt(b)?(e=" ",b++):(e=null,0===v&&y('" "')),e}function p(){var e;return 9===_.charCodeAt(b)?(e="\t",b++):(e=null,0===v&&y('"\\t"')),e}function i(){var e;return/^[a-zA-Z0-9]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[a-zA-Z0-9]")),e}function m(){var e;return 59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","'))))))))))),e}function g(){var e;return null===(e=i())&&(e=r()),e}function r(){var e;return 45===_.charCodeAt(b)?(e="-",b++):(e=null,0===v&&y('"-"')),null===e&&(95===_.charCodeAt(b)?(e="_",b++):(e=null,0===v&&y('"_"')),null===e&&(46===_.charCodeAt(b)?(e=".",b++):(e=null,0===v&&y('"."')),null===e&&(33===_.charCodeAt(b)?(e="!",b++):(e=null,0===v&&y('"!"')),null===e&&(126===_.charCodeAt(b)?(e="~",b++):(e=null,0===v&&y('"~"')),null===e&&(42===_.charCodeAt(b)?(e="*",b++):(e=null,0===v&&y('"*"')),null===e&&(39===_.charCodeAt(b)?(e="'",b++):(e=null,0===v&&y('"\'"')),null===e&&(40===_.charCodeAt(b)?(e="(",b++):(e=null,0===v&&y('"("')),null===e&&(41===_.charCodeAt(b)?(e=")",b++):(e=null,0===v&&y('")"')))))))))),e}function w(){var e,t,n,r,i;return i=r=b,37===_.charCodeAt(b)?(e="%",b++):(e=null,0===v&&y('"%"')),null!==e&&null!==(t=u())&&null!==(n=u())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=e.join("")),null===e&&(b=r),e}function C(){var e,t,n,r,i,a;for(a=i=r=b,e=[],t=f();null!==t;)e.push(t),t=f();if(null!==e&&null!==(t=o())?e=[e,t]:(e=null,b=a),null!==(e=null!==e?e:"")){if(null!==(n=f()))for(t=[];null!==n;)t.push(n),n=f();else t=null;null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return null!==e&&(e=" "),null===e&&(b=r),e}function A(){var e;return e=null!==(e=C())?e:""}function S(){var e,t,n,r,i;for(i=r=b,e=[],null===(t=h())&&(t=p());null!==t;)e.push(t),null===(t=h())&&(t=p());return null!==e?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=":"),null===e&&(b=r),e}function T(){var e,t,n,r,i,a,o,s;if(a=i=b,null!==(t=x()))for(e=[];null!==t;)e.push(t),t=x();else e=null;if(null!==e){for(t=[],o=b,n=[],r=C();null!==r;)n.push(r),r=C();for(null!==n&&null!==(r=x())?n=[n,r]:(n=null,b=o);null!==n;){for(t.push(n),o=b,n=[],r=C();null!==r;)n.push(r),r=C();null!==n&&null!==(r=x())?n=[n,r]:(n=null,b=o)}null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(s=i,e=_.substring(b,s)),null===e&&(b=i),e}function x(){var e;return/^[!-~]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[!-~]")),null===e&&(e=k()),e}function k(){var e;return/^[\x80-\uFFFF]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\x80-\\uFFFF]")),e}function E(){var e;return/^[\x80-\xBF]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\x80-\\xBF]")),e}function D(){var e,t,n,r;if(n=b,null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')))))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"'))))))))))));else e=null;return null!==e&&(r=n,e=_.substring(b,r)),null===e&&(b=n),e}function I(){var e,t,n,r;if(n=b,null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"'))))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')))))))))));else e=null;return null!==e&&(r=n,e=_.substring(b,r)),null===e&&(b=n),e}function P(){var e,t,n,r;if(n=b,null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')),null===t&&(40===_.charCodeAt(b)?(t="(",b++):(t=null,0===v&&y('"("')),null===t&&(41===_.charCodeAt(b)?(t=")",b++):(t=null,0===v&&y('")"')),null===t&&(60===_.charCodeAt(b)?(t="<",b++):(t=null,0===v&&y('"<"')),null===t&&(62===_.charCodeAt(b)?(t=">",b++):(t=null,0===v&&y('">"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(92===_.charCodeAt(b)?(t="\\",b++):(t=null,0===v&&y('"\\\\"')),null===t&&null===(t=d())&&(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null===t&&(91===_.charCodeAt(b)?(t="[",b++):(t=null,0===v&&y('"["')),null===t&&(93===_.charCodeAt(b)?(t="]",b++):(t=null,0===v&&y('"]"')),null===t&&(63===_.charCodeAt(b)?(t="?",b++):(t=null,0===v&&y('"?"')),null===t&&(123===_.charCodeAt(b)?(t="{",b++):(t=null,0===v&&y('"{"')),null===t&&(125===_.charCodeAt(b)?(t="}",b++):(t=null,0===v&&y('"}"')))))))))))))))))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=i())&&(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null===t&&(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null===t&&(33===_.charCodeAt(b)?(t="!",b++):(t=null,0===v&&y('"!"')),null===t&&(37===_.charCodeAt(b)?(t="%",b++):(t=null,0===v&&y('"%"')),null===t&&(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null===t&&(95===_.charCodeAt(b)?(t="_",b++):(t=null,0===v&&y('"_"')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(96===_.charCodeAt(b)?(t="`",b++):(t=null,0===v&&y('"`"')),null===t&&(39===_.charCodeAt(b)?(t="'",b++):(t=null,0===v&&y('"\'"')),null===t&&(126===_.charCodeAt(b)?(t="~",b++):(t=null,0===v&&y('"~"')),null===t&&(40===_.charCodeAt(b)?(t="(",b++):(t=null,0===v&&y('"("')),null===t&&(41===_.charCodeAt(b)?(t=")",b++):(t=null,0===v&&y('")"')),null===t&&(60===_.charCodeAt(b)?(t="<",b++):(t=null,0===v&&y('"<"')),null===t&&(62===_.charCodeAt(b)?(t=">",b++):(t=null,0===v&&y('">"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(92===_.charCodeAt(b)?(t="\\",b++):(t=null,0===v&&y('"\\\\"')),null===t&&null===(t=d())&&(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null===t&&(91===_.charCodeAt(b)?(t="[",b++):(t=null,0===v&&y('"["')),null===t&&(93===_.charCodeAt(b)?(t="]",b++):(t=null,0===v&&y('"]"')),null===t&&(63===_.charCodeAt(b)?(t="?",b++):(t=null,0===v&&y('"?"')),null===t&&(123===_.charCodeAt(b)?(t="{",b++):(t=null,0===v&&y('"{"')),null===t&&(125===_.charCodeAt(b)?(t="}",b++):(t=null,0===v&&y('"}"'))))))))))))))))))))))));else e=null;return null!==e&&(r=n,e=_.substring(b,r)),null===e&&(b=n),e}function M(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(42===_.charCodeAt(b)?(t="*",b++):(t=null,0===v&&y('"*"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="*"),null===e&&(b=r),e}function $(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="/"),null===e&&(b=r),e}function O(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="="),null===e&&(b=r),e}function R(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(40===_.charCodeAt(b)?(t="(",b++):(t=null,0===v&&y('"("')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e="("),null===e&&(b=r),e}function N(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(41===_.charCodeAt(b)?(t=")",b++):(t=null,0===v&&y('")"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=")"),null===e&&(b=r),e}function L(){var e,t,n,r;return r=n=b,62===_.charCodeAt(b)?(e=">",b++):(e=null,0===v&&y('">"')),null!==e&&null!==(t=A())?e=[e,t]:(e=null,b=r),null!==e&&(e=">"),null===e&&(b=n),e}function F(){var e,t,n,r;return r=n=b,null!==(e=A())?(60===_.charCodeAt(b)?(t="<",b++):(t=null,0===v&&y('"<"')),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==e&&(e="<"),null===e&&(b=n),e}function G(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=","),null===e&&(b=r),e}function j(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=";"),null===e&&(b=r),e}function B(){var e,t,n,r,i;return i=r=b,null!==(e=A())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=A())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(e=":"),null===e&&(b=r),e}function U(){var e,t,n,r;return r=n=b,null!==(e=A())&&null!==(t=d())?e=[e,t]:(e=null,b=r),null!==e&&(e='"'),null===e&&(b=n),e}function H(){var e,t,n,r;return r=n=b,null!==(e=d())&&null!==(t=A())?e=[e,t]:(e=null,b=r),null!==e&&(e='"'),null===e&&(b=n),e}function W(){var e;return/^[!-']/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[!-']")),null===e&&(/^[*-[]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[*-[]")),null===e&&(/^[\]-~]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\]-~]")),null===e&&null===(e=k())&&(e=C()))),e}function q(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=A()))if(null!==(t=d())){for(n=[],null===(r=V())&&(r=Y());null!==r;)n.push(r),null===(r=V())&&(r=Y());null!==n&&null!==(r=d())?e=[e,t,n,r]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return null!==e&&(o=i,e=_.substring(b,o)),null===e&&(b=i),e}function z(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=A()))if(null!==(t=d())){for(n=[],null===(r=V())&&(r=Y());null!==r;)n.push(r),null===(r=V())&&(r=Y());null!==n&&null!==(r=d())?e=[e,t,n,r]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return null!==e&&(o=i,e=_.substring(b-1,o+1)),null===e&&(b=i),e}function V(){var e;return null===(e=C())&&(33===_.charCodeAt(b)?(e="!",b++):(e=null,0===v&&y('"!"')),null===e&&(/^[#-[]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[#-[]")),null===e&&(/^[\]-~]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[\\]-~]")),null===e&&(e=k())))),e}function Y(){var e,t,n;return n=b,92===_.charCodeAt(b)?(e="\\",b++):(e=null,0===v&&y('"\\\\"')),null!==e?(/^[\0-\t]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[\\0-\\t]")),null===t&&(/^[\x0B-\f]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[\\x0B-\\f]")),null===t&&(/^[\x0E-\7f]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[\\x0E-\7f]")))),null!==t?e=[e,t]:(e=null,b=n)):(e=null,b=n),e}function K(){var e,t,n,r,i,a;return a=i=b,null!==(e=X())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=null!==(n=ee())?n:"")&&null!==(r=ie())?e=[e,t,n,r]:(e=null,b=a)):(e=null,b=a),null!==e&&(e=function(e){try{Fn.uri=new Nn(Fn.scheme,Fn.user,Fn.host,Fn.port),delete Fn.scheme,delete Fn.user,delete Fn.host,delete Fn.host_type,delete Fn.port}catch(e){Fn=-1}}()),null===e&&(b=i),e}function Q(){var e,t,n,r,i,a,o,s;return s=o=b,null!==(e=X())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=null!==(n=ee())?n:"")&&null!==(r=ie())&&null!==(i=ge())&&null!==(a=null!==(a=De())?a:"")?e=[e,t,n,r,i,a]:(e=null,b=s)):(e=null,b=s),null!==e&&(e=function(e){try{Fn.uri=new Nn(Fn.scheme,Fn.user,Fn.host,Fn.port,Fn.uri_params,Fn.uri_headers),delete Fn.scheme,delete Fn.user,delete Fn.host,delete Fn.host_type,delete Fn.port,delete Fn.uri_params,"SIP_URI"===c&&(Fn=Fn.uri)}catch(e){Fn=-1}}()),null===e&&(b=o),e}function X(){var e;return null===(e=Z())&&(e=J()),e}function Z(){var e,t,n;return t=b,"sips"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"sips"')),null!==e&&(n=e,e=void(Fn.scheme=n.toLowerCase())),null===e&&(b=t),e}function J(){var e,t,n;return t=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"sip"')),null!==e&&(n=e,e=void(Fn.scheme=n.toLowerCase())),null===e&&(b=t),e}function ee(){var e,t,n,r,i,a,o;return i=r=b,null!==(e=te())?(a=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=re())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?(64===_.charCodeAt(b)?(n="@",b++):(n=null,0===v&&y('"@"')),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i)):(e=null,b=i),null!==e&&(o=r,e=void(Fn.user=decodeURIComponent(_.substring(b-1,o)))),null===e&&(b=r),e}function te(){var e,t;if(null===(t=g())&&null===(t=w())&&(t=ne()),null!==t)for(e=[];null!==t;)e.push(t),null===(t=g())&&null===(t=w())&&(t=ne());else e=null;return e}function ne(){var e;return 38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","')),null===e&&(59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"'))))))))),e}function re(){var e,t,n,r;for(n=b,e=[],null===(t=g())&&null===(t=w())&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')))))));null!==t;)e.push(t),null===(t=g())&&null===(t=w())&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')),null===t&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')))))));return null!==e&&(r=n,e=void(Fn.password=_.substring(b,r))),null===e&&(b=n),e}function ie(){var e,t,n,r,i;return r=b,null!==(e=ae())?(i=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=me())?t=[t,n]:(t=null,b=i),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=r)):(e=null,b=r),e}function ae(){var e,t,n;return t=b,null===(e=oe())&&null===(e=he())&&(e=le()),null!==e&&(n=t,Fn.host=_.substring(b,n).toLowerCase(),e=Fn.host),null===e&&(b=t),e}function oe(){var e,t,n,r,i,a,o;for(e=[],a=i=r=b,null!==(t=se())?(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n?t=[t,n]:(t=null,b=a)):(t=null,b=a);null!==t;)e.push(t),a=b,null!==(t=se())?(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n?t=[t,n]:(t=null,b=a)):(t=null,b=a);return null!==e&&null!==(t=ce())?(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==(n=null!==n?n:"")?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=r,Fn.host_type="domain",e=_.substring(b,o)),null===e&&(b=r),e}function se(){var e,t,n,r;if(r=b,null!==(e=i())){for(t=[],null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==n;)t.push(n),null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==t?e=[e,t]:(e=null,b=r)}else e=null,b=r;return e}function ce(){var e,t,n,r;if(r=b,null!==(e=s())){for(t=[],null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==n;)t.push(n),null===(n=i())&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(95===_.charCodeAt(b)?(n="_",b++):(n=null,0===v&&y('"_"'))));null!==t?e=[e,t]:(e=null,b=r)}else e=null,b=r;return e}function le(){var e,t,n,r,i,a;return i=r=b,91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null!==e&&null!==(t=ue())?(93===_.charCodeAt(b)?(n="]",b++):(n=null,0===v&&y('"]"')),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=r,Fn.host_type="IPv6",e=_.substring(b,a)),null===e&&(b=r),e}function ue(){var e,t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g;return p=h=b,null!==(e=fe())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?(58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?(58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?(58===_.charCodeAt(b)?(s=":",b++):(s=null,0===v&&y('":"')),null!==s&&null!==(c=fe())?(58===_.charCodeAt(b)?(l=":",b++):(l=null,0===v&&y('":"')),null!==l&&null!==(u=fe())?(58===_.charCodeAt(b)?(f=":",b++):(f=null,0===v&&y('":"')),null!==f&&null!==(d=de())?e=[e,t,n,r,i,a,o,s,c,l,u,f,d]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?(58===_.charCodeAt(b)?(c=":",b++):(c=null,0===v&&y('":"')),null!==c&&null!==(l=fe())?(58===_.charCodeAt(b)?(u=":",b++):(u=null,0===v&&y('":"')),null!==u&&null!==(f=de())?e=[e,t,n,r,i,a,o,s,c,l,u,f]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?(58===_.charCodeAt(b)?(c=":",b++):(c=null,0===v&&y('":"')),null!==c&&null!==(l=de())?e=[e,t,n,r,i,a,o,s,c,l]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=de())?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=de())?e=[e,t,n,r,i,a]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?(58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=de())?e=[e,t,n,r]:(e=null,b=p)):(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=de())?e=[e,t]:(e=null,b=p),null===e&&(p=b,"::"===_.substr(b,2)?(e="::",b+=2):(e=null,0===v&&y('"::"')),null!==e&&null!==(t=fe())?e=[e,t]:(e=null,b=p),null===e&&(p=b,null!==(e=fe())?("::"===_.substr(b,2)?(t="::",b+=2):(t=null,0===v&&y('"::"')),null!==t&&null!==(n=fe())?(58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?(58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?(58===_.charCodeAt(b)?(s=":",b++):(s=null,0===v&&y('":"')),null!==s&&null!==(c=fe())?(58===_.charCodeAt(b)?(l=":",b++):(l=null,0===v&&y('":"')),null!==l&&null!==(u=de())?e=[e,t,n,r,i,a,o,s,c,l,u]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?("::"===_.substr(b,2)?(n="::",b+=2):(n=null,0===v&&y('"::"')),null!==n&&null!==(r=fe())?(58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?(58===_.charCodeAt(b)?(c=":",b++):(c=null,0===v&&y('":"')),null!==c&&null!==(l=de())?e=[e,t,n,r,i,a,o,s,c,l]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?("::"===_.substr(b,2)?(r="::",b+=2):(r=null,0===v&&y('"::"')),null!==r&&null!==(i=fe())?(58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?(58===_.charCodeAt(b)?(s=":",b++):(s=null,0===v&&y('":"')),null!==s&&null!==(c=de())?e=[e,t,n,r,i,a,o,s,c]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?("::"===_.substr(b,2)?(i="::",b+=2):(i=null,0===v&&y('"::"')),null!==i&&null!==(a=fe())?(58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=de())?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?(m=b,58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?i=[i,a]:(i=null,b=m),null!==(i=null!==i?i:"")?("::"===_.substr(b,2)?(a="::",b+=2):(a=null,0===v&&y('"::"')),null!==a&&null!==(o=de())?e=[e,t,n,r,i,a,o]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?(m=b,58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?i=[i,a]:(i=null,b=m),null!==(i=null!==i?i:"")?(m=b,58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?a=[a,o]:(a=null,b=m),null!==(a=null!==a?a:"")?("::"===_.substr(b,2)?(o="::",b+=2):(o=null,0===v&&y('"::"')),null!==o&&null!==(s=fe())?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p),null===e&&(p=b,null!==(e=fe())?(m=b,58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?t=[t,n]:(t=null,b=m),null!==(t=null!==t?t:"")?(m=b,58===_.charCodeAt(b)?(n=":",b++):(n=null,0===v&&y('":"')),null!==n&&null!==(r=fe())?n=[n,r]:(n=null,b=m),null!==(n=null!==n?n:"")?(m=b,58===_.charCodeAt(b)?(r=":",b++):(r=null,0===v&&y('":"')),null!==r&&null!==(i=fe())?r=[r,i]:(r=null,b=m),null!==(r=null!==r?r:"")?(m=b,58===_.charCodeAt(b)?(i=":",b++):(i=null,0===v&&y('":"')),null!==i&&null!==(a=fe())?i=[i,a]:(i=null,b=m),null!==(i=null!==i?i:"")?(m=b,58===_.charCodeAt(b)?(a=":",b++):(a=null,0===v&&y('":"')),null!==a&&null!==(o=fe())?a=[a,o]:(a=null,b=m),null!==(a=null!==a?a:"")?(m=b,58===_.charCodeAt(b)?(o=":",b++):(o=null,0===v&&y('":"')),null!==o&&null!==(s=fe())?o=[o,s]:(o=null,b=m),null!==(o=null!==o?o:"")?("::"===_.substr(b,2)?(s="::",b+=2):(s=null,0===v&&y('"::"')),null!==s?e=[e,t,n,r,i,a,o,s]:(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p)):(e=null,b=p))))))))))))))),null!==e&&(g=h,Fn.host_type="IPv6",e=_.substring(b,g)),null===e&&(b=h),e}function fe(){var e,t,n,r,i;return i=b,null!==(e=u())&&null!==(t=null!==(t=u())?t:"")&&null!==(n=null!==(n=u())?n:"")&&null!==(r=null!==(r=u())?r:"")?e=[e,t,n,r]:(e=null,b=i),e}function de(){var e,t,n,r;return r=b,null!==(e=fe())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t&&null!==(n=fe())?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),null===e&&(e=he()),e}function he(){var e,t,n,r,i,a,o,s,c,l;return c=s=b,null!==(e=pe())?(46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null!==t&&null!==(n=pe())?(46===_.charCodeAt(b)?(r=".",b++):(r=null,0===v&&y('"."')),null!==r&&null!==(i=pe())?(46===_.charCodeAt(b)?(a=".",b++):(a=null,0===v&&y('"."')),null!==a&&null!==(o=pe())?e=[e,t,n,r,i,a,o]:(e=null,b=c)):(e=null,b=c)):(e=null,b=c)):(e=null,b=c),null!==e&&(l=s,Fn.host_type="IPv4",e=_.substring(b,l)),null===e&&(b=s),e}function pe(){var e,t,n,r;return r=b,"25"===_.substr(b,2)?(e="25",b+=2):(e=null,0===v&&y('"25"')),null!==e?(/^[0-5]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[0-5]")),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null===e&&(r=b,50===_.charCodeAt(b)?(e="2",b++):(e=null,0===v&&y('"2"')),null!==e?(/^[0-4]/.test(_.charAt(b))?(t=_.charAt(b),b++):(t=null,0===v&&y("[0-4]")),null!==t&&null!==(n=l())?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),null===e&&(r=b,49===_.charCodeAt(b)?(e="1",b++):(e=null,0===v&&y('"1"')),null!==e&&null!==(t=l())&&null!==(n=l())?e=[e,t,n]:(e=null,b=r),null===e&&(r=b,/^[1-9]/.test(_.charAt(b))?(e=_.charAt(b),b++):(e=null,0===v&&y("[1-9]")),null!==e&&null!==(t=l())?e=[e,t]:(e=null,b=r),null===e&&(e=l())))),e}function me(){var e,t,n,r,i,a,o,s;return o=a=b,null!==(e=null!==(e=l())?e:"")&&null!==(t=null!==(t=l())?t:"")&&null!==(n=null!==(n=l())?n:"")&&null!==(r=null!==(r=l())?r:"")&&null!==(i=null!==(i=l())?i:"")?e=[e,t,n,r,i]:(e=null,b=o),null!==e&&(s=e,s=parseInt(s.join("")),e=Fn.port=s),null===e&&(b=a),e}function ge(){var e,t,n,r;for(e=[],r=b,59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null!==t&&null!==(n=_e())?t=[t,n]:(t=null,b=r);null!==t;)e.push(t),r=b,59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null!==t&&null!==(n=_e())?t=[t,n]:(t=null,b=r);return e}function _e(){var e;return null===(e=be())&&null===(e=ve())&&null===(e=ye())&&null===(e=we())&&null===(e=Ce())&&null===(e=Ae())&&(e=Se()),e}function be(){var e,t,n,r,i;return r=n=b,"transport="===_.substr(b,10).toLowerCase()?(e=_.substr(b,10),b+=10):(e=null,0===v&&y('"transport="')),null!==e?("udp"===_.substr(b,3).toLowerCase()?(t=_.substr(b,3),b+=3):(t=null,0===v&&y('"udp"')),null===t&&("tcp"===_.substr(b,3).toLowerCase()?(t=_.substr(b,3),b+=3):(t=null,0===v&&y('"tcp"')),null===t&&("sctp"===_.substr(b,4).toLowerCase()?(t=_.substr(b,4),b+=4):(t=null,0===v&&y('"sctp"')),null===t&&("tls"===_.substr(b,3).toLowerCase()?(t=_.substr(b,3),b+=3):(t=null,0===v&&y('"tls"')),null===t&&(t=D())))),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.transport=i.toLowerCase())),null===e&&(b=n),e}function ve(){var e,t,n,r,i;return r=n=b,"user="===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"user="')),null!==e?("phone"===_.substr(b,5).toLowerCase()?(t=_.substr(b,5),b+=5):(t=null,0===v&&y('"phone"')),null===t&&("ip"===_.substr(b,2).toLowerCase()?(t=_.substr(b,2),b+=2):(t=null,0===v&&y('"ip"')),null===t&&(t=D())),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.user=i.toLowerCase())),null===e&&(b=n),e}function ye(){var e,t,n,r,i;return r=n=b,"method="===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"method="')),null!==e&&null!==(t=ct())?e=[e,t]:(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.method=i)),null===e&&(b=n),e}function we(){var e,t,n,r,i;return r=n=b,"ttl="===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"ttl="')),null!==e&&null!==(t=Cn())?e=[e,t]:(e=null,b=r),null!==e&&(i=e[1],Fn.params||(Fn.params={}),e=void(Fn.params.ttl=i)),null===e&&(b=n),e}function Ce(){var e,t,n,r,i;return r=n=b,"maddr="===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"maddr="')),null!==e&&null!==(t=ae())?e=[e,t]:(e=null,b=r),null!==e&&(i=e[1],Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.maddr=i)),null===e&&(b=n),e}function Ae(){var e,t,n,r,i,a;return i=r=b,"lr"===_.substr(b,2).toLowerCase()?(e=_.substr(b,2),b+=2):(e=null,0===v&&y('"lr"')),null!==e?(a=b,61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=D())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(Fn.uri_params||(Fn.uri_params={}),e=void(Fn.uri_params.lr=void 0)),null===e&&(b=r),e}function Se(){var e,t,n,r,i,a,o,s;return i=r=b,null!==(e=Te())?(a=b,61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=xe())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=e[0],s=e[1],Fn.uri_params||(Fn.uri_params={}),s=void 0===s?void 0:s[1],e=void(Fn.uri_params[o.toLowerCase()]=s)),null===e&&(b=r),e}function Te(){var e,t,n;if(n=b,null!==(t=ke()))for(e=[];null!==t;)e.push(t),t=ke();else e=null;return null!==e&&(e=e.join("")),null===e&&(b=n),e}function xe(){var e,t,n;if(n=b,null!==(t=ke()))for(e=[];null!==t;)e.push(t),t=ke();else e=null;return null!==e&&(e=e.join("")),null===e&&(b=n),e}function ke(){var e;return null===(e=Ee())&&null===(e=g())&&(e=w()),e}function Ee(){var e;return 91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null===e&&(93===_.charCodeAt(b)?(e="]",b++):(e=null,0===v&&y('"]"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')))))))),e}function De(){var e,t,n,r,i,a,o;if(a=b,63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null!==e)if(null!==(t=Ie())){for(n=[],o=b,38===_.charCodeAt(b)?(r="&",b++):(r=null,0===v&&y('"&"')),null!==r&&null!==(i=Ie())?r=[r,i]:(r=null,b=o);null!==r;)n.push(r),o=b,38===_.charCodeAt(b)?(r="&",b++):(r=null,0===v&&y('"&"')),null!==r&&null!==(i=Ie())?r=[r,i]:(r=null,b=o);null!==n?e=[e,t,n]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return e}function Ie(){var e,t,n,r,i,a,o;return i=r=b,null!==(e=Pe())?(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null!==t&&null!==(n=Me())?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[0],o=e[2],a=a.join("").toLowerCase(),o=o.join(""),Fn.uri_headers||(Fn.uri_headers={}),e=void(Fn.uri_headers[a]?Fn.uri_headers[a].push(o):Fn.uri_headers[a]=[o])),null===e&&(b=r),e}function Pe(){var e,t;if(null===(t=$e())&&null===(t=g())&&(t=w()),null!==t)for(e=[];null!==t;)e.push(t),null===(t=$e())&&null===(t=g())&&(t=w());else e=null;return e}function Me(){var e,t;for(e=[],null===(t=$e())&&null===(t=g())&&(t=w());null!==t;)e.push(t),null===(t=$e())&&null===(t=g())&&(t=w());return e}function $e(){var e;return 91===_.charCodeAt(b)?(e="[",b++):(e=null,0===v&&y('"["')),null===e&&(93===_.charCodeAt(b)?(e="]",b++):(e=null,0===v&&y('"]"')),null===e&&(47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')))))))),e}function Oe(){var e,t,n,r,i,a;return a=b,null!==(e=ct())&&null!==(t=h())&&null!==(n=Re())&&null!==(r=h())&&null!==(i=Ze())?e=[e,t,n,r,i]:(e=null,b=a),e}function Re(){var e;return null===(e=Q())&&(e=Ne()),e}function Ne(){var e,t,n,r;return r=b,null!==(e=Ve())?(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null!==t?(null===(n=Le())&&(n=je()),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r)):(e=null,b=r),e}function Le(){var e,t,n,r,i;return r=b,null===(e=Fe())&&(e=Ge()),null!==e?(i=b,63===_.charCodeAt(b)?(t="?",b++):(t=null,0===v&&y('"?"')),null!==t&&null!==(n=Xe())?t=[t,n]:(t=null,b=i),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=r)):(e=null,b=r),e}function Fe(){var e,t,n,r;return r=b,"//"===_.substr(b,2)?(e="//",b+=2):(e=null,0===v&&y('"//"')),null!==e&&null!==(t=Ye())&&null!==(n=null!==(n=Ge())?n:"")?e=[e,t,n]:(e=null,b=r),e}function Ge(){var e,t,n;return n=b,47===_.charCodeAt(b)?(e="/",b++):(e=null,0===v&&y('"/"')),null!==e&&null!==(t=He())?e=[e,t]:(e=null,b=n),e}function je(){var e,t,n,r;if(r=b,null!==(e=Ue())){for(t=[],n=Be();null!==n;)t.push(n),n=Be();null!==t?e=[e,t]:(e=null,b=r)}else e=null,b=r;return e}function Be(){var e;return null===(e=m())&&null===(e=g())&&(e=w()),e}function Ue(){var e;return null===(e=g())&&null===(e=w())&&(59===_.charCodeAt(b)?(e=";",b++):(e=null,0===v&&y('";"')),null===e&&(63===_.charCodeAt(b)?(e="?",b++):(e=null,0===v&&y('"?"')),null===e&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","'))))))))))),e}function He(){var e,t,n,r,i,a;if(i=b,null!==(e=We())){for(t=[],a=b,47===_.charCodeAt(b)?(n="/",b++):(n=null,0===v&&y('"/"')),null!==n&&null!==(r=We())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,47===_.charCodeAt(b)?(n="/",b++):(n=null,0===v&&y('"/"')),null!==n&&null!==(r=We())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function We(){var e,t,n,r,i,a;for(i=b,e=[],t=ze();null!==t;)e.push(t),t=ze();if(null!==e){for(t=[],a=b,59===_.charCodeAt(b)?(n=";",b++):(n=null,0===v&&y('";"')),null!==n&&null!==(r=qe())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,59===_.charCodeAt(b)?(n=";",b++):(n=null,0===v&&y('";"')),null!==n&&null!==(r=qe())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function qe(){var e,t;for(e=[],t=ze();null!==t;)e.push(t),t=ze();return e}function ze(){var e;return null===(e=g())&&null===(e=w())&&(58===_.charCodeAt(b)?(e=":",b++):(e=null,0===v&&y('":"')),null===e&&(64===_.charCodeAt(b)?(e="@",b++):(e=null,0===v&&y('"@"')),null===e&&(38===_.charCodeAt(b)?(e="&",b++):(e=null,0===v&&y('"&"')),null===e&&(61===_.charCodeAt(b)?(e="=",b++):(e=null,0===v&&y('"="')),null===e&&(43===_.charCodeAt(b)?(e="+",b++):(e=null,0===v&&y('"+"')),null===e&&(36===_.charCodeAt(b)?(e="$",b++):(e=null,0===v&&y('"$"')),null===e&&(44===_.charCodeAt(b)?(e=",",b++):(e=null,0===v&&y('","'))))))))),e}function Ve(){var e,t,n,r,i,a;if(i=r=b,null!==(e=s())){for(t=[],null===(n=s())&&null===(n=l())&&(43===_.charCodeAt(b)?(n="+",b++):(n=null,0===v&&y('"+"')),null===n&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')))));null!==n;)t.push(n),null===(n=s())&&null===(n=l())&&(43===_.charCodeAt(b)?(n="+",b++):(n=null,0===v&&y('"+"')),null===n&&(45===_.charCodeAt(b)?(n="-",b++):(n=null,0===v&&y('"-"')),null===n&&(46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')))));null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return null!==e&&(a=r,e=void(Fn.scheme=_.substring(b,a))),null===e&&(b=r),e}function Ye(){var e;return null===(e=Ke())&&(e=Qe()),e}function Ke(){var e,t,n,r;return r=n=b,null!==(e=ee())?(64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null!==t?e=[e,t]:(e=null,b=r)):(e=null,b=r),null!==(e=null!==e?e:"")&&null!==(t=ie())?e=[e,t]:(e=null,b=n),e=null!==e?e:""}function Qe(){var e,t;if(null===(t=g())&&null===(t=w())&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')),null===t&&(59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null===t&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"')))))))))),null!==t)for(e=[];null!==t;)e.push(t),null===(t=g())&&null===(t=w())&&(36===_.charCodeAt(b)?(t="$",b++):(t=null,0===v&&y('"$"')),null===t&&(44===_.charCodeAt(b)?(t=",",b++):(t=null,0===v&&y('","')),null===t&&(59===_.charCodeAt(b)?(t=";",b++):(t=null,0===v&&y('";"')),null===t&&(58===_.charCodeAt(b)?(t=":",b++):(t=null,0===v&&y('":"')),null===t&&(64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null===t&&(38===_.charCodeAt(b)?(t="&",b++):(t=null,0===v&&y('"&"')),null===t&&(61===_.charCodeAt(b)?(t="=",b++):(t=null,0===v&&y('"="')),null===t&&(43===_.charCodeAt(b)?(t="+",b++):(t=null,0===v&&y('"+"'))))))))));else e=null;return e}function Xe(){var e,t;for(e=[],t=Be();null!==t;)e.push(t),t=Be();return e}function Ze(){var e,t,n,r,i,a,o,s,c;if(s=o=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"SIP"')),null!==e)if(47===_.charCodeAt(b)?(t="/",b++):(t=null,0===v&&y('"/"')),null!==t){if(null!==(r=l()))for(n=[];null!==r;)n.push(r),r=l();else n=null;if(null!==n)if(46===_.charCodeAt(b)?(r=".",b++):(r=null,0===v&&y('"."')),null!==r){if(null!==(a=l()))for(i=[];null!==a;)i.push(a),a=l();else i=null;null!==i?e=[e,t,n,r,i]:(e=null,b=s)}else e=null,b=s;else e=null,b=s}else e=null,b=s;else e=null,b=s;return null!==e&&(c=o,e=void(Fn.sip_version=_.substring(b,c))),null===e&&(b=o),e}function Je(){var e;return"INVITE"===_.substr(b,6)?(e="INVITE",b+=6):(e=null,0===v&&y('"INVITE"')),e}function et(){var e;return"ACK"===_.substr(b,3)?(e="ACK",b+=3):(e=null,0===v&&y('"ACK"')),e}function tt(){var e;return"OPTIONS"===_.substr(b,7)?(e="OPTIONS",b+=7):(e=null,0===v&&y('"OPTIONS"')),e}function nt(){var e;return"BYE"===_.substr(b,3)?(e="BYE",b+=3):(e=null,0===v&&y('"BYE"')),e}function rt(){var e;return"CANCEL"===_.substr(b,6)?(e="CANCEL",b+=6):(e=null,0===v&&y('"CANCEL"')),e}function it(){var e;return"REGISTER"===_.substr(b,8)?(e="REGISTER",b+=8):(e=null,0===v&&y('"REGISTER"')),e}function at(){var e;return"SUBSCRIBE"===_.substr(b,9)?(e="SUBSCRIBE",b+=9):(e=null,0===v&&y('"SUBSCRIBE"')),e}function ot(){var e;return"NOTIFY"===_.substr(b,6)?(e="NOTIFY",b+=6):(e=null,0===v&&y('"NOTIFY"')),e}function st(){var e;return"REFER"===_.substr(b,5)?(e="REFER",b+=5):(e=null,0===v&&y('"REFER"')),e}function ct(){var e,t,n;return t=b,null===(e=Je())&&null===(e=et())&&null===(e=tt())&&null===(e=nt())&&null===(e=rt())&&null===(e=it())&&null===(e=at())&&null===(e=ot())&&null===(e=st())&&(e=D()),null!==e&&(n=t,Fn.method=_.substring(b,n),e=Fn.method),null===e&&(b=t),e}function lt(){var e,t,n,r,i,a;return a=b,null!==(e=Ze())&&null!==(t=h())&&null!==(n=ut())&&null!==(r=h())&&null!==(i=dt())?e=[e,t,n,r,i]:(e=null,b=a),e}function ut(){var e,t,n;return t=b,null!==(e=ft())&&(n=e,e=void(Fn.status_code=parseInt(n.join("")))),null===e&&(b=t),e}function ft(){var e,t,n,r;return r=b,null!==(e=l())&&null!==(t=l())&&null!==(n=l())?e=[e,t,n]:(e=null,b=r),e}function dt(){var e,t,n,r;for(n=b,e=[],null===(t=m())&&null===(t=g())&&null===(t=w())&&null===(t=k())&&null===(t=E())&&null===(t=h())&&(t=p());null!==t;)e.push(t),null===(t=m())&&null===(t=g())&&null===(t=w())&&null===(t=k())&&null===(t=E())&&null===(t=h())&&(t=p());return null!==e&&(r=n,e=void(Fn.reason_phrase=_.substring(b,r))),null===e&&(b=n),e}function ht(){var e,t,n,r,i,a,o;if(a=i=b,null===(e=K())&&(e=pt()),null!==e){for(t=[],o=b,null!==(n=j())&&null!==(r=gt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=gt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(e=function(e){var t;Fn.multi_header||(Fn.multi_header=[]);try{t=new Ln(Fn.uri,Fn.display_name,Fn.params),delete Fn.uri,delete Fn.display_name,delete Fn.params}catch(e){t=null}Fn.multi_header.push({possition:b,offset:e,parsed:t})}(i)),null===e&&(b=i),e}function pt(){var e,t,n,r,i;return i=b,null!==(e=null!==(e=mt())?e:"")&&null!==(t=F())&&null!==(n=Q())&&null!==(r=L())?e=[e,t,n,r]:(e=null,b=i),e}function mt(){var e,t,n,r,i,a,o,s,c;if(a=i=b,null!==(e=D())){for(t=[],o=b,null!==(n=C())&&null!==(r=D())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=C())&&null!==(r=D())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null===e&&(e=q()),null!==e&&(s=i,c=e,'"'===(c=_.substring(b,s).trim())[0]&&(c=c.substring(1,c.length-1)),e=void(Fn.display_name=c)),null===e&&(b=i),e}function gt(){var e;return null===(e=_t())&&null===(e=bt())&&(e=wt()),e}function _t(){var e,t,n,r,i,a;return i=r=b,"q"===_.substr(b,1).toLowerCase()?(e=_.substr(b,1),b++):(e=null,0===v&&y('"q"')),null!==e&&null!==(t=O())&&null!==(n=yt())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],Fn.params||(Fn.params={}),e=void(Fn.params.q=a)),null===e&&(b=r),e}function bt(){var e,t,n,r,i,a;return i=r=b,"expires"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"expires"')),null!==e&&null!==(t=O())&&null!==(n=vt())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],Fn.params||(Fn.params={}),e=void(Fn.params.expires=a)),null===e&&(b=r),e}function vt(){var e,t,n;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;return null!==e&&(e=parseInt(e.join(""))),null===e&&(b=n),e}function yt(){var e,t,n,r,i,a,o,s,c;return o=a=b,48===_.charCodeAt(b)?(e="0",b++):(e=null,0===v&&y('"0"')),null!==e?(s=b,46===_.charCodeAt(b)?(t=".",b++):(t=null,0===v&&y('"."')),null!==t&&null!==(n=null!==(n=l())?n:"")&&null!==(r=null!==(r=l())?r:"")&&null!==(i=null!==(i=l())?i:"")?t=[t,n,r,i]:(t=null,b=s),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=o)):(e=null,b=o),null!==e&&(c=a,e=parseFloat(_.substring(b,c))),null===e&&(b=a),e}function wt(){var e,t,n,r,i,a,o,s;return i=r=b,null!==(e=D())?(a=b,null!==(t=O())&&null!==(n=Ct())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=e[0],s=e[1],Fn.params||(Fn.params={}),s=void 0===s?void 0:s[1],e=void(Fn.params[o.toLowerCase()]=s)),null===e&&(b=r),e}function Ct(){var e;return null===(e=D())&&null===(e=ae())&&(e=q()),e}function At(){var e;return"render"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"render"')),null===e&&("session"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"session"')),null===e&&("icon"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"icon"')),null===e&&("alert"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"alert"')),null===e&&(e=D())))),e}function St(){var e;return null===(e=Tt())&&(e=wt()),e}function Tt(){var e,t,n,r;return r=b,"handling"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"handling"')),null!==e&&null!==(t=O())?("optional"===_.substr(b,8).toLowerCase()?(n=_.substr(b,8),b+=8):(n=null,0===v&&y('"optional"')),null===n&&("required"===_.substr(b,8).toLowerCase()?(n=_.substr(b,8),b+=8):(n=null,0===v&&y('"required"')),null===n&&(n=D())),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),e}function xt(){var e,t,n,r,i,a,o,s;if(o=b,null!==(e=kt()))if(null!==(t=$()))if(null!==(n=Mt())){for(r=[],s=b,null!==(i=j())&&null!==(a=$t())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=j())&&null!==(a=$t())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return e}function kt(){var e;return null===(e=Et())&&(e=Dt()),e}function Et(){var e;return"text"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"text"')),null===e&&("image"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"image"')),null===e&&("audio"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"audio"')),null===e&&("video"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"video"')),null===e&&("application"===_.substr(b,11).toLowerCase()?(e=_.substr(b,11),b+=11):(e=null,0===v&&y('"application"')),null===e&&(e=It()))))),e}function Dt(){var e;return"message"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"message"')),null===e&&("multipart"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"multipart"')),null===e&&(e=It())),e}function It(){var e;return null===(e=D())&&(e=Pt()),e}function Pt(){var e,t,n;return n=b,"x-"===_.substr(b,2).toLowerCase()?(e=_.substr(b,2),b+=2):(e=null,0===v&&y('"x-"')),null!==e&&null!==(t=D())?e=[e,t]:(e=null,b=n),e}function Mt(){var e;return null===(e=It())&&(e=D()),e}function $t(){var e,t,n,r;return r=b,null!==(e=D())&&null!==(t=O())&&null!==(n=Ot())?e=[e,t,n]:(e=null,b=r),e}function Ot(){var e;return null===(e=D())&&(e=q()),e}function Rt(){var e,t,n,r;if(n=b,null!==(t=l()))for(e=[];null!==t;)e.push(t),t=l();else e=null;return null!==e&&(r=e,e=void(Fn.value=parseInt(r.join("")))),null===e&&(b=n),e}function Nt(){var e,t,n,r,i,a;if(i=b,null!==(e=I())){for(t=[],a=b,46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n&&null!==(r=I())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,46===_.charCodeAt(b)?(n=".",b++):(n=null,0===v&&y('"."')),null!==n&&null!==(r=I())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function Lt(){var e;return null===(e=Ft())&&(e=wt()),e}function Ft(){var e,t,n,r,i,a;return i=r=b,"tag"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"tag"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.tag=a)),null===e&&(b=r),e}function Gt(){var e,t,n,r,i,a,o,s;if(o=b,"digest"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"Digest"')),null!==e)if(null!==(t=C()))if(null!==(n=Ut())){for(r=[],s=b,null!==(i=G())&&null!==(a=Ut())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=G())&&null!==(a=Ut())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return null===e&&(e=jt()),e}function jt(){var e,t,n,r,i,a,o,s;if(o=b,null!==(e=D()))if(null!==(t=C()))if(null!==(n=Bt())){for(r=[],s=b,null!==(i=G())&&null!==(a=Bt())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=G())&&null!==(a=Bt())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return e}function Bt(){var e,t,n,r;return r=b,null!==(e=D())&&null!==(t=O())?(null===(n=D())&&(n=q()),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),e}function Ut(){var e;return null===(e=Ht())&&null===(e=qt())&&null===(e=Vt())&&null===(e=Kt())&&null===(e=Qt())&&null===(e=Xt())&&null===(e=Zt())&&(e=Bt()),e}function Ht(){var e,t,n,r;return r=b,"realm"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"realm"')),null!==e&&null!==(t=O())&&null!==(n=Wt())?e=[e,t,n]:(e=null,b=r),e}function Wt(){var e,t,n;return t=b,null!==(e=z())&&(n=e,e=void(Fn.realm=n)),null===e&&(b=t),e}function qt(){var e,t,n,r,i,a,o,s,c;if(s=b,"domain"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"domain"')),null!==e)if(null!==(t=O()))if(null!==(n=U()))if(null!==(r=zt())){if(i=[],c=b,null!==(o=h()))for(a=[];null!==o;)a.push(o),o=h();else a=null;for(null!==a&&null!==(o=zt())?a=[a,o]:(a=null,b=c);null!==a;){if(i.push(a),c=b,null!==(o=h()))for(a=[];null!==o;)a.push(o),o=h();else a=null;null!==a&&null!==(o=zt())?a=[a,o]:(a=null,b=c)}null!==i&&null!==(a=H())?e=[e,t,n,r,i,a]:(e=null,b=s)}else e=null,b=s;else e=null,b=s;else e=null,b=s;else e=null,b=s;return e}function zt(){var e;return null===(e=Ne())&&(e=Ge()),e}function Vt(){var e,t,n,r;return r=b,"nonce"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"nonce"')),null!==e&&null!==(t=O())&&null!==(n=Yt())?e=[e,t,n]:(e=null,b=r),e}function Yt(){var e,t,n;return t=b,null!==(e=z())&&(n=e,e=void(Fn.nonce=n)),null===e&&(b=t),e}function Kt(){var e,t,n,r,i,a;return i=r=b,"opaque"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"opaque"')),null!==e&&null!==(t=O())&&null!==(n=z())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.opaque=a)),null===e&&(b=r),e}function Qt(){var e,t,n,r,i;return r=b,"stale"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"stale"')),null!==e&&null!==(t=O())?(i=b,"true"===_.substr(b,4).toLowerCase()?(n=_.substr(b,4),b+=4):(n=null,0===v&&y('"true"')),null!==n&&(n=void(Fn.stale=!0)),null===n&&(b=i),null===n&&(i=b,"false"===_.substr(b,5).toLowerCase()?(n=_.substr(b,5),b+=5):(n=null,0===v&&y('"false"')),null!==n&&(n=void(Fn.stale=!1)),null===n&&(b=i)),null!==n?e=[e,t,n]:(e=null,b=r)):(e=null,b=r),e}function Xt(){var e,t,n,r,i,a;return i=r=b,"algorithm"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"algorithm"')),null!==e&&null!==(t=O())?("md5"===_.substr(b,3).toLowerCase()?(n=_.substr(b,3),b+=3):(n=null,0===v&&y('"MD5"')),null===n&&("md5-sess"===_.substr(b,8).toLowerCase()?(n=_.substr(b,8),b+=8):(n=null,0===v&&y('"MD5-sess"')),null===n&&(n=D())),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.algorithm=a.toUpperCase())),null===e&&(b=r),e}function Zt(){var e,t,n,r,i,a,o,s,c,l;if(s=b,"qop"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"qop"')),null!==e)if(null!==(t=O()))if(null!==(n=U())){if(c=b,null!==(r=Jt())){for(i=[],l=b,44===_.charCodeAt(b)?(a=",",b++):(a=null,0===v&&y('","')),null!==a&&null!==(o=Jt())?a=[a,o]:(a=null,b=l);null!==a;)i.push(a),l=b,44===_.charCodeAt(b)?(a=",",b++):(a=null,0===v&&y('","')),null!==a&&null!==(o=Jt())?a=[a,o]:(a=null,b=l);null!==i?r=[r,i]:(r=null,b=c)}else r=null,b=c;null!==r&&null!==(i=H())?e=[e,t,n,r,i]:(e=null,b=s)}else e=null,b=s;else e=null,b=s;else e=null,b=s;return e}function Jt(){var e,t,n;return t=b,"auth-int"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"auth-int"')),null===e&&("auth"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"auth"')),null===e&&(e=D())),null!==e&&(n=e,Fn.qop||(Fn.qop=[]),e=void Fn.qop.push(n.toLowerCase())),null===e&&(b=t),e}function en(){var e,t,n,r,i,a,o;if(a=i=b,null!==(e=pt())){for(t=[],o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==n;)t.push(n),o=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=o);null!==t?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(e=function(e){var t;Fn.multi_header||(Fn.multi_header=[]);try{t=new Ln(Fn.uri,Fn.display_name,Fn.params),delete Fn.uri,delete Fn.display_name,delete Fn.params}catch(e){t=null}Fn.multi_header.push({possition:b,offset:e,parsed:t})}(i)),null===e&&(b=i),e}function tn(){var e;return null===(e=nn())&&(e=wt()),e}function nn(){var e,t,n,r,i,a,o;if(a=i=b,"cause"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"cause"')),null!==e)if(null!==(t=O())){if(null!==(r=l()))for(n=[];null!==r;)n.push(r),r=l();else n=null;null!==n?e=[e,t,n]:(e=null,b=a)}else e=null,b=a;else e=null,b=a;return null!==e&&(o=e[2],e=void(Fn.cause=parseInt(o.join("")))),null===e&&(b=i),e}function rn(){var e,t,n,r,i,a;if(i=b,null!==(e=pt())){for(t=[],a=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=a);null!==n;)t.push(n),a=b,null!==(n=j())&&null!==(r=wt())?n=[n,r]:(n=null,b=a);null!==t?e=[e,t]:(e=null,b=i)}else e=null,b=i;return e}function an(){var e,t,n;return t=b,"active"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"active"')),null===e&&("pending"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"pending"')),null===e&&("terminated"===_.substr(b,10).toLowerCase()?(e=_.substr(b,10),b+=10):(e=null,0===v&&y('"terminated"')),null===e&&(e=D()))),null!==e&&(n=t,e=void(Fn.state=_.substring(b,n))),null===e&&(b=t),e}function on(){var e,t,n,r,i,a,o,s;return i=r=b,"reason"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"reason"')),null!==e&&null!==(t=O())&&null!==(n=sn())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=void(void 0!==(a=e[2])&&(Fn.reason=a))),null===e&&(b=r),null===e&&(i=r=b,"expires"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"expires"')),null!==e&&null!==(t=O())&&null!==(n=vt())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=void(void 0!==(s=e[2])&&(Fn.expires=s))),null===e&&(b=r),null===e&&(i=r=b,"retry_after"===_.substr(b,11).toLowerCase()?(e=_.substr(b,11),b+=11):(e=null,0===v&&y('"retry_after"')),null!==e&&null!==(t=O())&&null!==(n=vt())?e=[e,t,n]:(e=null,b=i),null!==e&&(e=void(void 0!==(o=e[2])&&(Fn.retry_after=o))),null===e&&(b=r),null===e&&(e=wt()))),e}function sn(){var e;return"deactivated"===_.substr(b,11).toLowerCase()?(e=_.substr(b,11),b+=11):(e=null,0===v&&y('"deactivated"')),null===e&&("probation"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"probation"')),null===e&&("rejected"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"rejected"')),null===e&&("timeout"===_.substr(b,7).toLowerCase()?(e=_.substr(b,7),b+=7):(e=null,0===v&&y('"timeout"')),null===e&&("giveup"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"giveup"')),null===e&&("noresource"===_.substr(b,10).toLowerCase()?(e=_.substr(b,10),b+=10):(e=null,0===v&&y('"noresource"')),null===e&&("invariant"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"invariant"')),null===e&&(e=D()))))))),e}function cn(){var e;return null===(e=Ft())&&(e=wt()),e}function ln(){var e,t,n,r,i,a,o,s;if(o=b,null!==(e=gn()))if(null!==(t=C()))if(null!==(n=vn())){for(r=[],s=b,null!==(i=j())&&null!==(a=un())?i=[i,a]:(i=null,b=s);null!==i;)r.push(i),s=b,null!==(i=j())&&null!==(a=un())?i=[i,a]:(i=null,b=s);null!==r?e=[e,t,n,r]:(e=null,b=o)}else e=null,b=o;else e=null,b=o;else e=null,b=o;return e}function un(){var e;return null===(e=fn())&&null===(e=dn())&&null===(e=hn())&&null===(e=pn())&&null===(e=mn())&&(e=wt()),e}function fn(){var e,t,n,r,i,a;return i=r=b,"ttl"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"ttl"')),null!==e&&null!==(t=O())&&null!==(n=Cn())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.ttl=a)),null===e&&(b=r),e}function dn(){var e,t,n,r,i,a;return i=r=b,"maddr"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"maddr"')),null!==e&&null!==(t=O())&&null!==(n=ae())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.maddr=a)),null===e&&(b=r),e}function hn(){var e,t,n,r,i,a;return i=r=b,"received"===_.substr(b,8).toLowerCase()?(e=_.substr(b,8),b+=8):(e=null,0===v&&y('"received"')),null!==e&&null!==(t=O())?(null===(n=he())&&(n=ue()),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.received=a)),null===e&&(b=r),e}function pn(){var e,t,n,r,i,a;return i=r=b,"branch"===_.substr(b,6).toLowerCase()?(e=_.substr(b,6),b+=6):(e=null,0===v&&y('"branch"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.branch=a)),null===e&&(b=r),e}function mn(){var e,t,n,r,i,a,o;if(a=i=b,"rport"===_.substr(b,5).toLowerCase()?(e=_.substr(b,5),b+=5):(e=null,0===v&&y('"rport"')),null!==e){if(o=b,null!==(t=O())){for(n=[],r=l();null!==r;)n.push(r),r=l();null!==n?t=[t,n]:(t=null,b=o)}else t=null,b=o;null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=a)}else e=null,b=a;return null!==e&&(e=void("undefined"!=typeof response_port&&(Fn.rport=response_port.join("")))),null===e&&(b=i),e}function gn(){var e,t,n,r,i,a;return a=b,null!==(e=_n())&&null!==(t=$())&&null!==(n=D())&&null!==(r=$())&&null!==(i=bn())?e=[e,t,n,r,i]:(e=null,b=a),e}function _n(){var e,t,n;return t=b,"sip"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"SIP"')),null===e&&(e=D()),null!==e&&(n=e,e=void(Fn.protocol=n)),null===e&&(b=t),e}function bn(){var e,t,n;return t=b,"udp"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"UDP"')),null===e&&("tcp"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"TCP"')),null===e&&("tls"===_.substr(b,3).toLowerCase()?(e=_.substr(b,3),b+=3):(e=null,0===v&&y('"TLS"')),null===e&&("sctp"===_.substr(b,4).toLowerCase()?(e=_.substr(b,4),b+=4):(e=null,0===v&&y('"SCTP"')),null===e&&(e=D())))),null!==e&&(n=e,e=void(Fn.transport=n)),null===e&&(b=t),e}function vn(){var e,t,n,r,i;return r=b,null!==(e=yn())?(i=b,null!==(t=B())&&null!==(n=wn())?t=[t,n]:(t=null,b=i),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=r)):(e=null,b=r),e}function yn(){var e,t,n;return t=b,null===(e=he())&&null===(e=le())&&(e=oe()),null!==e&&(n=t,e=void(Fn.host=_.substring(b,n))),null===e&&(b=t),e}function wn(){var e,t,n,r,i,a,o,s;return o=a=b,null!==(e=null!==(e=l())?e:"")&&null!==(t=null!==(t=l())?t:"")&&null!==(n=null!==(n=l())?n:"")&&null!==(r=null!==(r=l())?r:"")&&null!==(i=null!==(i=l())?i:"")?e=[e,t,n,r,i]:(e=null,b=o),null!==e&&(s=e,e=void(Fn.port=parseInt(s.join("")))),null===e&&(b=a),e}function Cn(){var e,t,n,r,i;return i=r=b,null!==(e=l())&&null!==(t=null!==(t=l())?t:"")&&null!==(n=null!==(n=l())?n:"")?e=[e,t,n]:(e=null,b=i),null!==e&&(e=parseInt(e.join(""))),null===e&&(b=r),e}function An(){var e,t,n;return t=b,null!==(e=vt())&&(n=e,e=void(Fn.expires=n)),null===e&&(b=t),e}function Sn(){var e;return null===(e=Tn())&&(e=wt()),e}function Tn(){var e,t,n,r,i,a;return i=r=b,"refresher"===_.substr(b,9).toLowerCase()?(e=_.substr(b,9),b+=9):(e=null,0===v&&y('"refresher"')),null!==e&&null!==(t=O())?("uac"===_.substr(b,3).toLowerCase()?(n=_.substr(b,3),b+=3):(n=null,0===v&&y('"uac"')),null===n&&("uas"===_.substr(b,3).toLowerCase()?(n=_.substr(b,3),b+=3):(n=null,0===v&&y('"uas"'))),null!==n?e=[e,t,n]:(e=null,b=i)):(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.refresher=a.toLowerCase())),null===e&&(b=r),e}function xn(){var e,t;for(e=[],null===(t=x())&&null===(t=E())&&(t=C());null!==t;)e.push(t),null===(t=x())&&null===(t=E())&&(t=C());return e}function kn(){var e,t,n,r,i,a,o,s,c,l,u,f;return u=l=b,null!==(e=Dn())?(45===_.charCodeAt(b)?(t="-",b++):(t=null,0===v&&y('"-"')),null!==t&&null!==(n=En())?(45===_.charCodeAt(b)?(r="-",b++):(r=null,0===v&&y('"-"')),null!==r&&null!==(i=En())?(45===_.charCodeAt(b)?(a="-",b++):(a=null,0===v&&y('"-"')),null!==a&&null!==(o=En())?(45===_.charCodeAt(b)?(s="-",b++):(s=null,0===v&&y('"-"')),null!==s&&null!==(c=In())?e=[e,t,n,r,i,a,o,s,c]:(e=null,b=u)):(e=null,b=u)):(e=null,b=u)):(e=null,b=u)):(e=null,b=u),null!==e&&(f=l,e[0],e=void(Fn=_.substring(b+5,f))),null===e&&(b=l),e}function En(){var e,t,n,r,i;return i=b,null!==(e=u())&&null!==(t=u())&&null!==(n=u())&&null!==(r=u())?e=[e,t,n,r]:(e=null,b=i),e}function Dn(){var e,t,n;return n=b,null!==(e=En())&&null!==(t=En())?e=[e,t]:(e=null,b=n),e}function In(){var e,t,n,r;return r=b,null!==(e=En())&&null!==(t=En())&&null!==(n=En())?e=[e,t,n]:(e=null,b=r),e}function Pn(){var e,t,n,r,i,a,o;return i=r=b,null!==(e=P())?(a=b,64===_.charCodeAt(b)?(t="@",b++):(t=null,0===v&&y('"@"')),null!==t&&null!==(n=P())?t=[t,n]:(t=null,b=a),null!==(t=null!==t?t:"")?e=[e,t]:(e=null,b=i)):(e=null,b=i),null!==e&&(o=r,e=void(Fn.call_id=_.substring(b,o))),null===e&&(b=r),e}function Mn(){var e;return null===(e=$n())&&null===(e=On())&&null===(e=Rn())&&(e=wt()),e}function $n(){var e,t,n,r,i,a;return i=r=b,"to-tag"===_.substr(b,6)?(e="to-tag",b+=6):(e=null,0===v&&y('"to-tag"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.to_tag=a)),null===e&&(b=r),e}function On(){var e,t,n,r,i,a;return i=r=b,"from-tag"===_.substr(b,8)?(e="from-tag",b+=8):(e=null,0===v&&y('"from-tag"')),null!==e&&null!==(t=O())&&null!==(n=D())?e=[e,t,n]:(e=null,b=i),null!==e&&(a=e[2],e=void(Fn.from_tag=a)),null===e&&(b=r),e}function Rn(){var e,t;return t=b,"early-only"===_.substr(b,10)?(e="early-only",b+=10):(e=null,0===v&&y('"early-only"')),null!==e&&(e=void(Fn.early_only=!0)),null===e&&(b=t),e}var Nn=Hn("./URI"),Ln=Hn("./NameAddrHeader"),Fn={};if(null!==e[c]()&&b===_.length)return Fn;var Gn=Math.max(b,a),jn=Gn<_.length?_.charAt(Gn):null,Bn=function(){for(var e=1,t=1,n=!1,r=0;r<Math.max(b,a);r++){var i=_.charAt(r);n="\n"===i?(n||e++,!(t=1)):"\r"===i||"\u2028"===i||"\u2029"===i?(e++,t=1,!0):(t++,!1)}return{line:e,column:t}}();return new this.SyntaxError(function(e){e.sort();for(var t=null,n=[],r=0;r<e.length;r++)e[r]!==t&&(n.push(e[r]),t=e[r]);return n}(t),jn,Gn,Bn.line,Bn.column),-1},toSource:function(){return this._source},SyntaxError:function(e,t,n,r,i){this.name="SyntaxError",this.expected=e,this.found=t,this.message=function(e,t){var n;switch(e.length){case 0:n="end of input";break;case 1:n=e[0];break;default:n=e.slice(0,e.length-1).join(", ")+" or "+e[e.length-1]}return"Expected "+n+" but "+(t?Un(t):"end of input")+" found."}(e,t),this.offset=n,this.line=r,this.column=i}};return e.SyntaxError.prototype=Error.prototype,e}()},{"./NameAddrHeader":10,"./URI":25}],8:[function(e,t,n){"use strict";var r=e("webrtc-adapter"),i=e("../package.json"),a=e("./Constants"),o=e("./Exceptions"),s=e("./Utils"),c=e("./UA"),l=e("./URI"),u=e("./NameAddrHeader"),f=e("./Grammar"),d=e("./WebSocketInterface");e("debug")("JsSIP")("version %s",i.version),t.exports={C:a,Exceptions:o,Utils:s,UA:c,URI:l,NameAddrHeader:u,WebSocketInterface:d,Grammar:f,debug:e("debug"),adapter:r,get name(){return i.title},get version(){return i.version}}},{"../package.json":51,"./Constants":2,"./Exceptions":6,"./Grammar":7,"./NameAddrHeader":10,"./UA":24,"./URI":25,"./Utils":26,"./WebSocketInterface":27,debug:29,"webrtc-adapter":40}],9:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,u=e("./Constants"),f=e("./SIPMessage"),d=e("./Utils"),h=e("./RequestSender"),a=e("./Exceptions"),o=e("debug")("JsSIP:Message");t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._ua=e,t._request=null,t._closed=!1,t._direction=null,t._local_identity=null,t._remote_identity=null,t._is_replied=!1,t._data={},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"send",value:function(e,t){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=e;if(void 0===e||void 0===t)throw new TypeError("Not enough arguments");if(!(e=this._ua.normalizeTarget(e)))throw new TypeError("Invalid target: "+i);var a=d.cloneArray(r.extraHeaders),o=r.eventHandlers||{},s=r.contentType||"text/plain";for(var c in o)Object.prototype.hasOwnProperty.call(o,c)&&this.on(c,o[c]);a.push("Content-Type: "+s),this._request=new f.OutgoingRequest(u.MESSAGE,e,this._ua,null,a),t&&(this._request.body=t);var l=new h(this._ua,this._request,{onRequestTimeout:function(){n._onRequestTimeout()},onTransportError:function(){n._onTransportError()},onReceiveResponse:function(e){n._receiveResponse(e)}});this._newMessage("local",this._request),l.send()}},{key:"init_incoming",value:function(e){this._request=e,this._newMessage("remote",e),this._is_replied||(this._is_replied=!0,e.reply(200)),this._close()}},{key:"accept",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=d.cloneArray(e.extraHeaders),n=e.body;if("incoming"!==this._direction)throw new a.NotSupportedError('"accept" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");this._is_replied=!0,this._request.reply(200,null,t,n)}},{key:"reject",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.status_code||480,n=e.reason_phrase,r=d.cloneArray(e.extraHeaders),i=e.body;if("incoming"!==this._direction)throw new a.NotSupportedError('"reject" not supported for outgoing Message');if(this._is_replied)throw new Error("incoming Message already replied");if(t<300||700<=t)throw new TypeError("Invalid status_code: "+t);this._is_replied=!0,this._request.reply(t,n,r,i)}},{key:"_receiveResponse",value:function(e){if(!this._closed)switch(!0){case/^1[0-9]{2}$/.test(e.status_code):break;case/^2[0-9]{2}$/.test(e.status_code):this._succeeded("remote",e);break;default:var t=d.sipErrorCause(e.status_code);this._failed("remote",e,t)}}},{key:"_onRequestTimeout",value:function(){this._closed||this._failed("system",null,u.causes.REQUEST_TIMEOUT)}},{key:"_onTransportError",value:function(){this._closed||this._failed("system",null,u.causes.CONNECTION_ERROR)}},{key:"_close",value:function(){this._closed=!0,this._ua.destroyMessage(this)}},{key:"_newMessage",value:function(e,t){"remote"===e?(this._direction="incoming",this._local_identity=t.to,this._remote_identity=t.from):"local"===e&&(this._direction="outgoing",this._local_identity=t.from,this._remote_identity=t.to),this._ua.newMessage(this,{originator:e,message:this,request:t})}},{key:"_failed",value:function(e,t,n){o("MESSAGE failed"),this._close(),o('emit "failed"'),this.emit("failed",{originator:e,response:t||null,cause:n})}},{key:"_succeeded",value:function(e,t){o("MESSAGE succeeded"),this._close(),o('emit "succeeded"'),this.emit("succeeded",{originator:e,response:t})}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}}]),n}()},{"./Constants":2,"./Exceptions":6,"./RequestSender":18,"./SIPMessage":19,"./Utils":26,debug:29,events:31}],10:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("./URI"),o=e("./Grammar");t.exports=function(){function i(e,t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),!(e&&e instanceof a))throw new TypeError('missing or invalid "uri" parameter');for(var r in this._uri=e,this._parameters={},this._display_name=t,n)Object.prototype.hasOwnProperty.call(n,r)&&this.setParam(r,n[r])}return r(i,null,[{key:"parse",value:function(e){return-1!==(e=o.parse(e,"Name_Addr_Header"))?e:void 0}}]),r(i,[{key:"setParam",value:function(e,t){e&&(this._parameters[e.toLowerCase()]=null==t?null:t.toString())}},{key:"getParam",value:function(e){if(e)return this._parameters[e.toLowerCase()]}},{key:"hasParam",value:function(e){if(e)return!!this._parameters.hasOwnProperty(e.toLowerCase())}},{key:"deleteParam",value:function(e){if(e=e.toLowerCase(),this._parameters.hasOwnProperty(e)){var t=this._parameters[e];return delete this._parameters[e],t}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"clone",value:function(){return new i(this._uri.clone(),this._display_name,JSON.parse(JSON.stringify(this._parameters)))}},{key:"toString",value:function(){var e=this._display_name||0===this._display_name?'"'+this._display_name+'" ':"";for(var t in e+="<"+this._uri.toString()+">",this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,t)&&(e+=";"+t,null!==this._parameters[t]&&(e+="="+this._parameters[t]));return e}},{key:"uri",get:function(){return this._uri}},{key:"display_name",get:function(){return this._display_name},set:function(e){this._display_name=0===e?"0":e}}]),i}()},{"./Grammar":7,"./URI":25}],11:[function(e,t,n){"use strict";var y=e("./Grammar"),w=e("./SIPMessage"),l=e("debug")("JsSIP:ERROR:Parser");function u(e,t){var n=t,r=0,i=0;if(e.substring(n,n+2).match(/(^\r\n)/))return-2;for(;0===r;){if(-1===(i=e.indexOf("\r\n",n)))return i;!e.substring(i+2,i+4).match(/(^\r\n)/)&&e.charAt(i+2).match(/(^\s+)/)?n=i+2:r=i}return r}function f(e,t,n,r){var i=void 0,a=t.indexOf(":",n),o=t.substring(n,a).trim(),s=t.substring(a+1,r).trim();switch(o.toLowerCase()){case"via":case"v":e.addHeader("via",s),1===e.getHeaders("via").length?(i=e.parseHeader("Via"))&&(e.via=i,e.via_branch=i.branch):i=0;break;case"from":case"f":e.setHeader("from",s),(i=e.parseHeader("from"))&&(e.from=i,e.from_tag=i.getParam("tag"));break;case"to":case"t":e.setHeader("to",s),(i=e.parseHeader("to"))&&(e.to=i,e.to_tag=i.getParam("tag"));break;case"record-route":if(-1===(i=y.parse(s,"Record_Route")))i=void 0;else{var c=!0,l=!1,u=void 0;try{for(var f,d=i[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){var h=f.value;e.addHeader("record-route",s.substring(h.possition,h.offset)),e.headers["Record-Route"][e.getHeaders("record-route").length-1].parsed=h.parsed}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}break;case"call-id":case"i":e.setHeader("call-id",s),(i=e.parseHeader("call-id"))&&(e.call_id=s);break;case"contact":case"m":if(-1===(i=y.parse(s,"Contact")))i=void 0;else{var p=!0,m=!1,g=void 0;try{for(var _,b=i[Symbol.iterator]();!(p=(_=b.next()).done);p=!0){var v=_.value;e.addHeader("contact",s.substring(v.possition,v.offset)),e.headers.Contact[e.getHeaders("contact").length-1].parsed=v.parsed}}catch(e){m=!0,g=e}finally{try{!p&&b.return&&b.return()}finally{if(m)throw g}}}break;case"content-length":case"l":e.setHeader("content-length",s),i=e.parseHeader("content-length");break;case"content-type":case"c":e.setHeader("content-type",s),i=e.parseHeader("content-type");break;case"cseq":e.setHeader("cseq",s),(i=e.parseHeader("cseq"))&&(e.cseq=i.value),e instanceof w.IncomingResponse&&(e.method=i.method);break;case"max-forwards":e.setHeader("max-forwards",s),i=e.parseHeader("max-forwards");break;case"www-authenticate":e.setHeader("www-authenticate",s),i=e.parseHeader("www-authenticate");break;case"proxy-authenticate":e.setHeader("proxy-authenticate",s),i=e.parseHeader("proxy-authenticate");break;case"session-expires":case"x":e.setHeader("session-expires",s),(i=e.parseHeader("session-expires"))&&(e.session_expires=i.expires,e.session_expires_refresher=i.refresher);break;case"refer-to":case"r":e.setHeader("refer-to",s),(i=e.parseHeader("refer-to"))&&(e.refer_to=i);break;case"replaces":e.setHeader("replaces",s),(i=e.parseHeader("replaces"))&&(e.replaces=i);break;case"event":case"o":e.setHeader("event",s),(i=e.parseHeader("event"))&&(e.event=i);break;default:e.addHeader(o,s),i=0}return void 0!==i||{error:'error parsing header "'+o+'"'}}l.log=console.warn.bind(console),n.parseMessage=function(e,t){var n=void 0,r=void 0,i=e.indexOf("\r\n");if(-1!==i){var a=e.substring(0,i),o=y.parse(a,"Request_Response");if(-1!==o){o.status_code?((n=new w.IncomingResponse).status_code=o.status_code,n.reason_phrase=o.reason_phrase):((n=new w.IncomingRequest(t)).method=o.method,n.ruri=o.uri),n.data=e;for(var s=i+2;;){if(-2===(i=u(e,s))){r=s+2;break}if(-1===i)return void l("parseMessage() | malformed message");if(!0!==(o=f(n,e,s,i)))return void l("parseMessage() |",o.error);s=i+2}if(n.hasHeader("content-length")){var c=n.getHeader("content-length");n.body=e.substr(r,c)}else n.body=e.substring(r);return n}l('parseMessage() | error parsing first line of SIP message: "'+a+'"')}else l("parseMessage() | no CRLF found, not a SIP message")}},{"./Grammar":7,"./SIPMessage":19,debug:29}],12:[function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("events").EventEmitter,v=e("sdp-transform"),$=e("./Constants"),O=e("./Exceptions"),l=e("./Transactions"),R=e("./Utils"),s=e("./Timers"),p=e("./SIPMessage"),c=e("./Dialog"),u=e("./RequestSender"),f=e("./RTCSession/DTMF"),d=e("./RTCSession/Info"),h=e("./RTCSession/ReferNotifier"),m=e("./RTCSession/ReferSubscriber"),N=e("debug")("JsSIP:RTCSession"),L=e("debug")("JsSIP:ERROR:RTCSession");L.log=console.warn.bind(console);var F={STATUS_NULL:0,STATUS_INVITE_SENT:1,STATUS_1XX_RECEIVED:2,STATUS_INVITE_RECEIVED:3,STATUS_WAITING_FOR_ANSWER:4,STATUS_ANSWERED:5,STATUS_WAITING_FOR_ACK:6,STATUS_CANCELED:7,STATUS_TERMINATED:8,STATUS_CONFIRMED:9},y=["audio","video"];t.exports=function(e){function o(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,o),N("new");var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return t._id=null,t._ua=e,t._status=F.STATUS_NULL,t._dialog=null,t._earlyDialogs={},t._contact=null,t._from_tag=null,t._to_tag=null,t._connection=null,t._connectionPromiseQueue=Promise.resolve(),t._request=null,t._is_canceled=!1,t._cancel_reason="",t._is_confirmed=!1,t._late_sdp=!1,t._rtcOfferConstraints=null,t._rtcAnswerConstraints=null,t._localMediaStream=null,t._localMediaStreamLocallyGenerated=!1,t._rtcReady=!0,t._timers={ackTimer:null,expiresTimer:null,invite2xxTimer:null,userNoAnswerTimer:null},t._direction=null,t._local_identity=null,t._remote_identity=null,t._start_time=null,t._end_time=null,t._tones=null,t._audioMuted=!1,t._videoMuted=!1,t._localHold=!1,t._remoteHold=!1,t._sessionTimers={enabled:t._ua.configuration.session_timers,refreshMethod:t._ua.configuration.session_timers_refresh_method,defaultExpires:$.SESSION_EXPIRES,currentExpires:null,running:!1,refresher:!1,timer:null},t._referSubscribers={},t._data={},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(o,a),i(o,null,[{key:"C",get:function(){return F}}]),i(o,[{key:"isInProgress",value:function(){switch(this._status){case F.STATUS_NULL:case F.STATUS_INVITE_SENT:case F.STATUS_1XX_RECEIVED:case F.STATUS_INVITE_RECEIVED:case F.STATUS_WAITING_FOR_ANSWER:return!0;default:return!1}}},{key:"isEstablished",value:function(){switch(this._status){case F.STATUS_ANSWERED:case F.STATUS_WAITING_FOR_ACK:case F.STATUS_CONFIRMED:return!0;default:return!1}}},{key:"isEnded",value:function(){switch(this._status){case F.STATUS_CANCELED:case F.STATUS_TERMINATED:return!0;default:return!1}}},{key:"isMuted",value:function(){return{audio:this._audioMuted,video:this._videoMuted}}},{key:"isOnHold",value:function(){return{local:this._localHold,remote:this._remoteHold}}},{key:"connect",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];N("connect()");var r=e,i=t.eventHandlers||{},a=R.cloneArray(t.extraHeaders),o=t.mediaConstraints||{audio:!0,video:!0},s=t.mediaStream||null,c=t.pcConfig||{iceServers:[]},l=t.rtcConstraints||null,u=t.rtcOfferConstraints||null;if(this._rtcOfferConstraints=u,this._rtcAnswerConstraints=t.rtcAnswerConstraints||null,this._data=t.data||this._data,void 0===e)throw new TypeError("Not enough arguments");if(this._status!==F.STATUS_NULL)throw new O.InvalidStateError(this._status);if(!window.RTCPeerConnection)throw new O.NotSupportedError("WebRTC not supported");if(!(e=this._ua.normalizeTarget(e)))throw new TypeError("Invalid target: "+r);for(var f in this._sessionTimers.enabled&&R.isDecimal(t.sessionTimersExpires)&&(t.sessionTimersExpires>=$.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=t.sessionTimersExpires:this._sessionTimers.defaultExpires=$.SESSION_EXPIRES),i)Object.prototype.hasOwnProperty.call(i,f)&&this.on(f,i[f]);this._from_tag=R.newTag();var d=t.anonymous||!1,h={from_tag:this._from_tag};this._contact=this._ua.contact.toString({anonymous:d,outbound:!0}),d&&(h.from_display_name="Anonymous",h.from_uri="sip:anonymous@anonymous.invalid",a.push("P-Preferred-Identity: "+this._ua.configuration.uri.toString()),a.push("Privacy: id")),a.push("Contact: "+this._contact),a.push("Content-Type: application/sdp"),this._sessionTimers.enabled&&a.push("Session-Expires: "+this._sessionTimers.defaultExpires),this._request=new p.InitialOutgoingInviteRequest(e,this._ua,h,a),this._id=this._request.call_id+this._from_tag,this._createRTCConnection(c,l),this._direction="outgoing",this._local_identity=this._request.from,this._remote_identity=this._request.to,n&&n(this),this._newRTCSession("local",this._request),this._sendInitialRequest(o,u,s)}},{key:"init_incoming",value:function(e,t){var n=this;N("init_incoming()");var r=void 0,i=e.getHeader("Content-Type");e.body&&"application/sdp"!==i?e.reply(415):(this._status=F.STATUS_INVITE_RECEIVED,this._from_tag=e.from_tag,this._id=e.call_id+this._from_tag,this._request=e,this._contact=this._ua.contact.toString(),e.hasHeader("expires")&&(r=1e3*e.getHeader("expires")),e.to_tag=R.newTag(),this._createDialog(e,"UAS",!0)?(e.body?this._late_sdp=!1:this._late_sdp=!0,this._status=F.STATUS_WAITING_FOR_ANSWER,this._timers.userNoAnswerTimer=setTimeout(function(){e.reply(408),n._failed("local",null,$.causes.NO_ANSWER)},this._ua.configuration.no_answer_timeout),r&&(this._timers.expiresTimer=setTimeout(function(){n._status===F.STATUS_WAITING_FOR_ANSWER&&(e.reply(487),n._failed("system",null,$.causes.EXPIRES))},r)),this._direction="incoming",this._local_identity=e.to,this._remote_identity=e.from,t&&t(this),this._newRTCSession("remote",e),this._status!==F.STATUS_TERMINATED&&(e.reply(180,null,["Contact: "+this._contact]),this._progress("local",null))):e.reply(500,"Missing Contact header field"))}},{key:"answer",value:function(){var n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("answer()");var r=this._request,t=R.cloneArray(e.extraHeaders),i=e.mediaConstraints||{},a=e.mediaStream||null,o=e.pcConfig||{iceServers:[]},s=e.rtcConstraints||null,c=e.rtcAnswerConstraints||null,l=void 0,u=!1,f=!1,d=!1,h=!1;if(this._rtcAnswerConstraints=c,this._rtcOfferConstraints=e.rtcOfferConstraints||null,this._data=e.data||this._data,"incoming"!==this._direction)throw new O.NotSupportedError('"answer" not supported for outgoing RTCSession');if(this._status!==F.STATUS_WAITING_FOR_ANSWER)throw new O.InvalidStateError(this._status);if(this._sessionTimers.enabled&&R.isDecimal(e.sessionTimersExpires)&&(e.sessionTimersExpires>=$.MIN_SESSION_EXPIRES?this._sessionTimers.defaultExpires=e.sessionTimersExpires:this._sessionTimers.defaultExpires=$.SESSION_EXPIRES),this._status=F.STATUS_ANSWERED,this._createDialog(r,"UAS")){clearTimeout(this._timers.userNoAnswerTimer),t.unshift("Contact: "+this._contact);var p=r.parseSDP();Array.isArray(p.media)||(p.media=[p.media]);var m=!0,g=!1,_=void 0;try{for(var b,v=p.media[Symbol.iterator]();!(m=(b=v.next()).done);m=!0){var y=b.value;"audio"===y.type&&(u=!0,y.direction&&"sendrecv"!==y.direction||(d=!0)),"video"===y.type&&(f=!0,y.direction&&"sendrecv"!==y.direction||(h=!0))}}catch(e){g=!0,_=e}finally{try{!m&&v.return&&v.return()}finally{if(g)throw _}}if(a&&!1===i.audio){l=a.getAudioTracks();var w=!0,C=!1,A=void 0;try{for(var S,T=l[Symbol.iterator]();!(w=(S=T.next()).done);w=!0){var x=S.value;a.removeTrack(x)}}catch(e){C=!0,A=e}finally{try{!w&&T.return&&T.return()}finally{if(C)throw A}}}if(a&&!1===i.video){l=a.getVideoTracks();var k=!0,E=!1,D=void 0;try{for(var I,P=l[Symbol.iterator]();!(k=(I=P.next()).done);k=!0){var M=I.value;a.removeTrack(M)}}catch(e){E=!0,D=e}finally{try{!k&&P.return&&P.return()}finally{if(E)throw D}}}a||void 0!==i.audio||(i.audio=d),a||void 0!==i.video||(i.video=h),a||u||(i.audio=!1),a||f||(i.video=!1),this._createRTCConnection(o,s),Promise.resolve().then(function(){return a||(i.audio||i.video?(n._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(i).catch(function(e){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");throw r.reply(480),n._failed("local",null,$.causes.USER_DENIED_MEDIA_ACCESS),L('emit "getusermediafailed" [error:%o]',e),n.emit("getusermediafailed",e),new Error("getUserMedia() failed")})):void 0)}).then(function(e){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");(n._localMediaStream=e)&&n._connection.addStream(e)}).then(function(){if(!n._late_sdp){var e={originator:"remote",type:"offer",sdp:r.body};N('emit "sdp"'),n.emit("sdp",e);var t=new RTCSessionDescription({type:"offer",sdp:e.sdp});return n._connectionPromiseQueue=n._connectionPromiseQueue.then(function(){return n._connection.setRemoteDescription(t)}).catch(function(e){throw r.reply(488),n._failed("system",null,$.causes.WEBRTC_ERROR),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e),new Error("peerconnection.setRemoteDescription() failed")}),n._connectionPromiseQueue}}).then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");return n._connecting(r),n._late_sdp?n._createLocalDescription("offer",n._rtcOfferConstraints).catch(function(){throw r.reply(500),new Error("_createLocalDescription() failed")}):n._createLocalDescription("answer",c).catch(function(){throw r.reply(500),new Error("_createLocalDescription() failed")})}).then(function(e){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");n._handleSessionTimersInIncomingRequest(r,t),r.reply(200,null,t,e,function(){n._status=F.STATUS_WAITING_FOR_ACK,n._setInvite2xxTimer(r,e),n._setACKTimer(),n._accepted("local")},function(){n._failed("system",null,$.causes.CONNECTION_ERROR)})}).catch(function(e){n._status!==F.STATUS_TERMINATED&&L(e)})}else r.reply(500,"Error creating dialog")}},{key:"terminate",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("terminate()");var n=e.cause||$.causes.BYE,r=R.cloneArray(e.extraHeaders),i=e.body,a=void 0,o=e.status_code,s=e.reason_phrase;if(this._status===F.STATUS_TERMINATED)throw new O.InvalidStateError(this._status);switch(this._status){case F.STATUS_NULL:case F.STATUS_INVITE_SENT:case F.STATUS_1XX_RECEIVED:if(N("canceling session"),o&&(o<200||700<=o))throw new TypeError("Invalid status_code: "+o);o&&(a="SIP ;cause="+o+' ;text="'+(s=s||$.REASON_PHRASE[o]||"")+'"'),this._status===F.STATUS_NULL||this._status===F.STATUS_INVITE_SENT?(this._is_canceled=!0,this._cancel_reason=a):this._status===F.STATUS_1XX_RECEIVED&&this._request.cancel(a),this._status=F.STATUS_CANCELED,this._failed("local",null,$.causes.CANCELED);break;case F.STATUS_WAITING_FOR_ANSWER:case F.STATUS_ANSWERED:if(N("rejecting session"),(o=o||480)<300||700<=o)throw new TypeError("Invalid status_code: "+o);this._request.reply(o,s,r,i),this._failed("local",null,$.causes.REJECTED);break;case F.STATUS_WAITING_FOR_ACK:case F.STATUS_CONFIRMED:if(N("terminating session"),s=e.reason_phrase||$.REASON_PHRASE[o]||"",o&&(o<200||700<=o))throw new TypeError("Invalid status_code: "+o);if(o&&r.push("Reason: SIP ;cause="+o+'; text="'+s+'"'),this._status===F.STATUS_WAITING_FOR_ACK&&"incoming"===this._direction&&this._request.server_transaction.state!==l.C.STATUS_TERMINATED){var c=this._dialog;this.receiveRequest=function(e){e.method===$.ACK&&(t.sendRequest($.BYE,{extraHeaders:r,body:i}),c.terminate())},this._request.server_transaction.on("stateChanged",function(){t._request.server_transaction.state===l.C.STATUS_TERMINATED&&(t.sendRequest($.BYE,{extraHeaders:r,body:i}),c.terminate())}),this._ended("local",null,n),this._dialog=c,this._ua.newDialog(c)}else this.sendRequest($.BYE,{extraHeaders:r,body:i}),this._ended("local",null,n)}}},{key:"sendDTMF",value:function(e){var a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};N("sendDTMF() | tones: %s",e);var o=0,s=a.duration||null,c=a.interToneGap||null;if(void 0===e)throw new TypeError("Not enough arguments");if(this._status!==F.STATUS_CONFIRMED&&this._status!==F.STATUS_WAITING_FOR_ACK)throw new O.InvalidStateError(this._status);if("number"==typeof e&&(e=e.toString()),!e||"string"!=typeof e||!e.match(/^[0-9A-DR#*,]+$/i))throw new TypeError("Invalid tones: "+e);if(s&&!R.isDecimal(s))throw new TypeError("Invalid tone duration: "+s);if(s=s?s<f.C.MIN_DURATION?(N('"duration" value is lower than the minimum allowed, setting it to '+f.C.MIN_DURATION+" milliseconds"),f.C.MIN_DURATION):s>f.C.MAX_DURATION?(N('"duration" value is greater than the maximum allowed, setting it to '+f.C.MAX_DURATION+" milliseconds"),f.C.MAX_DURATION):Math.abs(s):f.C.DEFAULT_DURATION,a.duration=s,c&&!R.isDecimal(c))throw new TypeError("Invalid interToneGap: "+c);c=c?c<f.C.MIN_INTER_TONE_GAP?(N('"interToneGap" value is lower than the minimum allowed, setting it to '+f.C.MIN_INTER_TONE_GAP+" milliseconds"),f.C.MIN_INTER_TONE_GAP):Math.abs(c):f.C.DEFAULT_INTER_TONE_GAP,this._tones?this._tones+=e:(this._tones=e,function e(){var t=this;var n=void 0;if(this._status===F.STATUS_TERMINATED||!this._tones||o>=this._tones.length)return void(this._tones=null);var r=this._tones[o];o+=1;if(","===r)n=2e3;else{var i=new f(this);a.eventHandlers={onFailed:function(){t._tones=null}},i.send(r,a),n=s+c}setTimeout(e.bind(this),n)}.call(this))}},{key:"sendInfo",value:function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(N("sendInfo()"),this._status!==F.STATUS_CONFIRMED&&this._status!==F.STATUS_WAITING_FOR_ACK)throw new O.InvalidStateError(this._status);new d(this).send(e,t,n)}},{key:"mute",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{audio:!0,video:!1};N("mute()");var t=!1,n=!1;!1===this._audioMuted&&e.audio&&(t=!0,this._audioMuted=!0,this._toogleMuteAudio(!0)),!1===this._videoMuted&&e.video&&(n=!0,this._videoMuted=!0,this._toogleMuteVideo(!0)),!0!==t&&!0!==n||this._onmute({audio:t,video:n})}},{key:"unmute",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{audio:!0,video:!0};N("unmute()");var t=!1,n=!1;!0===this._audioMuted&&e.audio&&(t=!0,(this._audioMuted=!1)===this._localHold&&this._toogleMuteAudio(!1)),!0===this._videoMuted&&e.video&&(n=!0,(this._videoMuted=!1)===this._localHold&&this._toogleMuteVideo(!1)),!0!==t&&!0!==n||this._onunmute({audio:t,video:n})}},{key:"hold",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(N("hold()"),this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!0===this._localHold)return!1;if(!this._isReadyToReOffer())return!1;this._localHold=!0,this._onhold("local");var r={succeeded:function(){n&&n()},failed:function(){e.terminate({cause:$.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Hold Failed"})}};return t.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:r,extraHeaders:t.extraHeaders}):this._sendReinvite({eventHandlers:r,extraHeaders:t.extraHeaders}),!0}},{key:"unhold",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];if(N("unhold()"),this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!1===this._localHold)return!1;if(!this._isReadyToReOffer())return!1;this._localHold=!1,this._onunhold("local");var r={succeeded:function(){n&&n()},failed:function(){e.terminate({cause:$.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Unhold Failed"})}};return t.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:r,extraHeaders:t.extraHeaders}):this._sendReinvite({eventHandlers:r,extraHeaders:t.extraHeaders}),!0}},{key:"renegotiate",value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1];N("renegotiate()");var r=t.rtcOfferConstraints||null;if(this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!this._isReadyToReOffer())return!1;var i={succeeded:function(){n&&n()},failed:function(){e.terminate({cause:$.causes.WEBRTC_ERROR,status_code:500,reason_phrase:"Media Renegotiation Failed"})}};return this._setLocalMediaStatus(),t.useUpdate?this._sendUpdate({sdpOffer:!0,eventHandlers:i,rtcOfferConstraints:r,extraHeaders:t.extraHeaders}):this._sendReinvite({eventHandlers:i,rtcOfferConstraints:r,extraHeaders:t.extraHeaders}),!0}},{key:"refer",value:function(e,t){var n=this;N("refer()");var r=e;if(this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;if(!(e=this._ua.normalizeTarget(e)))throw new TypeError("Invalid target: "+r);var i=new m(this);i.sendRefer(e,t);var a=i.id;return(this._referSubscribers[a]=i).on("requestFailed",function(){delete n._referSubscribers[a]}),i.on("accepted",function(){delete n._referSubscribers[a]}),i.on("failed",function(){delete n._referSubscribers[a]}),i}},{key:"sendRequest",value:function(e,t){return N("sendRequest()"),this._dialog.sendRequest(e,t)}},{key:"receiveRequest",value:function(e){var t=this;if(N("receiveRequest()"),e.method===$.CANCEL)this._status!==F.STATUS_WAITING_FOR_ANSWER&&this._status!==F.STATUS_ANSWERED||(this._status=F.STATUS_CANCELED,this._request.reply(487),this._failed("remote",e,$.causes.CANCELED));else switch(e.method){case $.ACK:if(this._status!==F.STATUS_WAITING_FOR_ACK)return;if(this._status=F.STATUS_CONFIRMED,clearTimeout(this._timers.ackTimer),clearTimeout(this._timers.invite2xxTimer),this._late_sdp){if(!e.body){this.terminate({cause:$.causes.MISSING_SDP,status_code:400});break}var n={originator:"remote",type:"answer",sdp:e.body};N('emit "sdp"'),this.emit("sdp",n);var r=new RTCSessionDescription({type:"answer",sdp:n.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._connection.setRemoteDescription(r)}).then(function(){t._is_confirmed||t._confirmed("remote",e)}).catch(function(e){t.terminate({cause:$.causes.BAD_MEDIA_DESCRIPTION,status_code:488}),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),t.emit("peerconnection:setremotedescriptionfailed",e)})}else this._is_confirmed||this._confirmed("remote",e);break;case $.BYE:this._status===F.STATUS_CONFIRMED?(e.reply(200),this._ended("remote",e,$.causes.BYE)):this._status===F.STATUS_INVITE_RECEIVED?(e.reply(200),this._request.reply(487,"BYE Received"),this._ended("remote",e,$.causes.BYE)):e.reply(403,"Wrong Status");break;case $.INVITE:this._status===F.STATUS_CONFIRMED?e.hasHeader("replaces")?this._receiveReplaces(e):this._receiveReinvite(e):e.reply(403,"Wrong Status");break;case $.INFO:if(this._status===F.STATUS_1XX_RECEIVED||this._status===F.STATUS_WAITING_FOR_ANSWER||this._status===F.STATUS_ANSWERED||this._status===F.STATUS_WAITING_FOR_ACK||this._status===F.STATUS_CONFIRMED){var i=e.getHeader("content-type");i&&i.match(/^application\/dtmf-relay/i)?new f(this).init_incoming(e):void 0!==i?new d(this).init_incoming(e):e.reply(415)}else e.reply(403,"Wrong Status");break;case $.UPDATE:this._status===F.STATUS_CONFIRMED?this._receiveUpdate(e):e.reply(403,"Wrong Status");break;case $.REFER:this._status===F.STATUS_CONFIRMED?this._receiveRefer(e):e.reply(403,"Wrong Status");break;case $.NOTIFY:this._status===F.STATUS_CONFIRMED?this._receiveNotify(e):e.reply(403,"Wrong Status");break;default:e.reply(501)}}},{key:"onTransportError",value:function(){L("onTransportError()"),this._status!==F.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:$.causes.CONNECTION_ERROR,cause:$.causes.CONNECTION_ERROR})}},{key:"onRequestTimeout",value:function(){L("onRequestTimeout()"),this._status!==F.STATUS_TERMINATED&&this.terminate({status_code:408,reason_phrase:$.causes.REQUEST_TIMEOUT,cause:$.causes.REQUEST_TIMEOUT})}},{key:"onDialogError",value:function(){L("onDialogError()"),this._status!==F.STATUS_TERMINATED&&this.terminate({status_code:500,reason_phrase:$.causes.DIALOG_ERROR,cause:$.causes.DIALOG_ERROR})}},{key:"newDTMF",value:function(e){N("newDTMF()"),this.emit("newDTMF",e)}},{key:"newInfo",value:function(e){N("newInfo()"),this.emit("newInfo",e)}},{key:"_isReadyToReOffer",value:function(){return this._rtcReady?this._dialog?!0!==this._dialog.uac_pending_reply&&!0!==this._dialog.uas_pending_reply||(N("_isReadyToReOffer() | there is another INVITE/UPDATE transaction in progress"),!1):(N("_isReadyToReOffer() | session not established yet"),!1):(N("_isReadyToReOffer() | internal WebRTC status not ready"),!1)}},{key:"_close",value:function(){if(N("close()"),this._status!==F.STATUS_TERMINATED){if(this._status=F.STATUS_TERMINATED,this._connection)try{this._connection.close()}catch(e){L("close() | error closing the RTCPeerConnection: %o",e)}for(var e in this._localMediaStream&&this._localMediaStreamLocallyGenerated&&(N("close() | closing local MediaStream"),R.closeMediaStream(this._localMediaStream)),this._timers)Object.prototype.hasOwnProperty.call(this._timers,e)&&clearTimeout(this._timers[e]);for(var t in clearTimeout(this._sessionTimers.timer),this._dialog&&(this._dialog.terminate(),delete this._dialog),this._earlyDialogs)Object.prototype.hasOwnProperty.call(this._earlyDialogs,t)&&(this._earlyDialogs[t].terminate(),delete this._earlyDialogs[t]);for(var n in this._referSubscribers)Object.prototype.hasOwnProperty.call(this._referSubscribers,n)&&delete this._referSubscribers[n];this._ua.destroyRTCSession(this)}}},{key:"_setInvite2xxTimer",value:function(t,n){var r=s.T1;this._timers.invite2xxTimer=setTimeout(function e(){this._status===F.STATUS_WAITING_FOR_ACK&&(t.reply(200,null,["Contact: "+this._contact],n),r<s.T2&&(r*=2)>s.T2&&(r=s.T2),this._timers.invite2xxTimer=setTimeout(e.bind(this),r))}.bind(this),r)}},{key:"_setACKTimer",value:function(){var e=this;this._timers.ackTimer=setTimeout(function(){e._status===F.STATUS_WAITING_FOR_ACK&&(N("no ACK received, terminating the session"),clearTimeout(e._timers.invite2xxTimer),e.sendRequest($.BYE),e._ended("remote",null,$.causes.NO_ACK))},s.TIMER_H)}},{key:"_createRTCConnection",value:function(e,t){var n=this;this._connection=new RTCPeerConnection(e,t),this._connection.addEventListener("iceconnectionstatechange",function(){"failed"===n._connection.iceConnectionState&&n.terminate({cause:$.causes.RTP_TIMEOUT,status_code:408,reason_phrase:$.causes.RTP_TIMEOUT})}),N('emit "peerconnection"'),this.emit("peerconnection",{peerconnection:this._connection})}},{key:"_createLocalDescription",value:function(a,e){var o=this;if(N("createLocalDescription()"),"offer"!==a&&"answer"!==a)throw new Error('createLocalDescription() | invalid type "'+a+'"');var s=this._connection;return this._rtcReady=!1,Promise.resolve().then(function(){return"offer"===a?s.createOffer(e).catch(function(e){return L('emit "peerconnection:createofferfailed" [error:%o]',e),o.emit("peerconnection:createofferfailed",e),Promise.reject(e)}):s.createAnswer(e).catch(function(e){return L('emit "peerconnection:createanswerfailed" [error:%o]',e),o.emit("peerconnection:createanswerfailed",e),Promise.reject(e)})}).then(function(e){return s.setLocalDescription(e).catch(function(e){return o._rtcReady=!0,L('emit "peerconnection:setlocaldescriptionfailed" [error:%o]',e),o.emit("peerconnection:setlocaldescriptionfailed",e),Promise.reject(e)})}).then(function(){if("complete"!==s.iceGatheringState)return new Promise(function(t){var n=!1,r=void 0,i=function(){s.removeEventListener("icecandidate",r),n=!0,o._rtcReady=!0;var e={originator:"local",type:a,sdp:s.localDescription.sdp};N('emit "sdp"'),o.emit("sdp",e),t(e.sdp)};s.addEventListener("icecandidate",r=function(e){var t=e.candidate;t?o.emit("icecandidate",{candidate:t,ready:i}):n||i()})});o._rtcReady=!0;var e={originator:"local",type:a,sdp:s.localDescription.sdp};return N('emit "sdp"'),o.emit("sdp",e),Promise.resolve(e.sdp)})}},{key:"_createDialog",value:function(e,t,n){var r="UAS"===t?e.to_tag:e.from_tag,i="UAS"===t?e.from_tag:e.to_tag,a=e.call_id+r+i,o=this._earlyDialogs[a];if(n)return!!o||((o=new c(this,e,t,c.C.STATUS_EARLY)).error?(N(o.error),this._failed("remote",e,$.causes.INTERNAL_ERROR),!1):(this._earlyDialogs[a]=o,!0));if(this._from_tag=e.from_tag,this._to_tag=e.to_tag,o)return o.update(e,t),this._dialog=o,delete this._earlyDialogs[a],!0;var s=new c(this,e,t);return s.error?(N(s.error),this._failed("remote",e,$.causes.INTERNAL_ERROR),!1):(this._dialog=s,!0)}},{key:"_receiveReinvite",value:function(i){var t=this;N("receiveReinvite()");var e=i.getHeader("Content-Type"),r={request:i,callback:void 0,reject:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};a=!0;var t=e.status_code||403,n=e.reason_phrase||"",r=R.cloneArray(e.extraHeaders);if(this._status!==F.STATUS_CONFIRMED)return!1;if(t<300||700<=t)throw new TypeError("Invalid status_code: "+t);i.reply(t,n,r)}.bind(this)},a=!1;if(this.emit("reinvite",r),!a){if(this._late_sdp=!1,!i.body)return this._late_sdp=!0,void(this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._createLocalDescription("offer",t._rtcOfferConstraints)}).then(function(e){n.call(t,e)}).catch(function(){i.reply(500)}));if("application/sdp"!==e)return N("invalid Content-Type"),void i.reply(415);this._processInDialogSdpOffer(i).then(function(e){t._status!==F.STATUS_TERMINATED&&n.call(t,e)}).catch(function(e){L(e)})}function n(e){var t=this,n=["Contact: "+this._contact];this._handleSessionTimersInIncomingRequest(i,n),this._late_sdp&&(e=this._mangleOffer(e)),i.reply(200,null,n,e,function(){t._status=F.STATUS_WAITING_FOR_ACK,t._setInvite2xxTimer(i,e),t._setACKTimer()}),"function"==typeof r.callback&&r.callback()}}},{key:"_receiveUpdate",value:function(i){var t=this;N("receiveUpdate()");var e=i.getHeader("Content-Type"),n={request:i,callback:void 0,reject:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};a=!0;var t=e.status_code||403,n=e.reason_phrase||"",r=R.cloneArray(e.extraHeaders);if(this._status!==F.STATUS_CONFIRMED)return!1;if(t<300||700<=t)throw new TypeError("Invalid status_code: "+t);i.reply(t,n,r)}.bind(this)},a=!1;if(this.emit("update",n),!a)if(i.body){if("application/sdp"!==e)return N("invalid Content-Type"),void i.reply(415);this._processInDialogSdpOffer(i).then(function(e){t._status!==F.STATUS_TERMINATED&&r.call(t,e)}).catch(function(e){L(e)})}else r.call(this,null);function r(e){var t=["Contact: "+this._contact];this._handleSessionTimersInIncomingRequest(i,t),i.reply(200,null,t,e),"function"==typeof n.callback&&n.callback()}}},{key:"_processInDialogSdpOffer",value:function(t){var n=this;N("_processInDialogSdpOffer()");var e=t.parseSDP(),r=!1,i=!0,a=!1,o=void 0;try{for(var s,c=e.media[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var l=s.value;if(-1!==y.indexOf(l.type)){var u=l.direction||e.direction||"sendrecv";if("sendonly"!==u&&"inactive"!==u){r=!1;break}r=!0}}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}var f={originator:"remote",type:"offer",sdp:t.body};N('emit "sdp"'),this.emit("sdp",f);var d=new RTCSessionDescription({type:"offer",sdp:f.sdp});return this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");return n._connection.setRemoteDescription(d).catch(function(e){throw t.reply(488),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e),new Error("peerconnection.setRemoteDescription() failed")})}).then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");!0===n._remoteHold&&!1===r?(n._remoteHold=!1,n._onunhold("remote")):!1===n._remoteHold&&!0===r&&(n._remoteHold=!0,n._onhold("remote"))}).then(function(){if(n._status===F.STATUS_TERMINATED)throw new Error("terminated");return n._createLocalDescription("answer",n._rtcAnswerConstraints).catch(function(){throw t.reply(500),new Error("_createLocalDescription() failed")})}),this._connectionPromiseQueue}},{key:"_receiveRefer",value:function(i){var n=this;if(N("receiveRefer()"),void 0===r(i.refer_to))return N("no Refer-To header field present in REFER"),void i.reply(400);if(i.refer_to.uri.scheme!==$.SIP)return N("Refer-To header field points to a non-SIP URI scheme"),void i.reply(416);i.reply(202);var a=new h(this,i.cseq);N('emit "refer"'),this.emit("refer",{request:i,accept:function(e,t){(function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(e="function"==typeof e?e:null,this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;var n=new o(this._ua);if(n.on("progress",function(e){var t=e.response;a.notify(t.status_code,t.reason_phrase)}),n.on("accepted",function(e){var t=e.response;a.notify(t.status_code,t.reason_phrase)}),n.on("failed",function(e){var t=e.message,n=e.cause;t?a.notify(t.status_code,t.reason_phrase):a.notify(487,n)}),i.refer_to.uri.hasHeader("replaces")){var r=decodeURIComponent(i.refer_to.uri.getHeader("replaces"));t.extraHeaders=R.cloneArray(t.extraHeaders),t.extraHeaders.push("Replaces: "+r)}n.connect(i.refer_to.uri.toAor(),t,e)}).call(n,e,t)},reject:function(){(function(){a.notify(603)}).call(n)}})}},{key:"_receiveNotify",value:function(e){switch(N("receiveNotify()"),void 0===r(e.event)&&e.reply(400),e.event.event){case"refer":var t=void 0,n=void 0;if(e.event.params&&e.event.params.id)t=e.event.params.id,n=this._referSubscribers[t];else{if(1!==Object.keys(this._referSubscribers).length)return void e.reply(400,"Missing event id parameter");n=this._referSubscribers[Object.keys(this._referSubscribers)[0]]}if(!n)return void e.reply(481,"Subscription does not exist");n.receiveNotify(e),e.reply(200);break;default:e.reply(489)}}},{key:"_receiveReplaces",value:function(r){var t=this;N("receiveReplaces()"),this.emit("replaces",{request:r,accept:function(e){(function(e){var t=this;if(this._status!==F.STATUS_WAITING_FOR_ACK&&this._status!==F.STATUS_CONFIRMED)return!1;var n=new o(this._ua);n.on("confirmed",function(){t.terminate()}),n.init_incoming(r,e)}).call(t,e)},reject:function(){(function(){N("Replaced INVITE rejected by the user"),r.reply(486)}).call(t)}})}},{key:"_sendInitialRequest",value:function(e,t,n){var r=this,i=new u(this._ua,this._request,{onRequestTimeout:function(){r.onRequestTimeout()},onTransportError:function(){r.onTransportError()},onAuthenticated:function(e){r._request=e},onReceiveResponse:function(e){r._receiveInviteResponse(e)}});Promise.resolve().then(function(){return n||(e.audio||e.video?(r._localMediaStreamLocallyGenerated=!0,navigator.mediaDevices.getUserMedia(e).catch(function(e){if(r._status===F.STATUS_TERMINATED)throw new Error("terminated");throw r._failed("local",null,$.causes.USER_DENIED_MEDIA_ACCESS),L('emit "getusermediafailed" [error:%o]',e),r.emit("getusermediafailed"),e})):void 0)}).then(function(e){if(r._status===F.STATUS_TERMINATED)throw new Error("terminated");return(r._localMediaStream=e)&&r._connection.addStream(e),r._connecting(r._request),r._createLocalDescription("offer",t).catch(function(e){throw r._failed("local",null,$.causes.WEBRTC_ERROR),e})}).then(function(e){if(r._is_canceled||r._status===F.STATUS_TERMINATED)throw new Error("terminated");r._request.body=e,r._status=F.STATUS_INVITE_SENT,N('emit "sending" [request:%o]',r._request),r.emit("sending",{request:r._request}),i.send()}).catch(function(e){r._status!==F.STATUS_TERMINATED&&L(e)})}},{key:"_receiveInviteResponse",value:function(t){var n=this;if(N("receiveInviteResponse()"),this._dialog&&200<=t.status_code&&t.status_code<=299){if(this._dialog.id.call_id===t.call_id&&this._dialog.id.local_tag===t.from_tag&&this._dialog.id.remote_tag===t.to_tag)return void this.sendRequest($.ACK);var e=new c(this,t,"UAC");return void 0!==e.error?void N(e.error):(this.sendRequest($.ACK),void this.sendRequest($.BYE))}if(this._is_canceled)100<=t.status_code&&t.status_code<200?this._request.cancel(this._cancel_reason):200<=t.status_code&&t.status_code<299&&this._acceptAndTerminate(t);else if(this._status===F.STATUS_INVITE_SENT||this._status===F.STATUS_1XX_RECEIVED)switch(!0){case/^100$/.test(t.status_code):this._status=F.STATUS_1XX_RECEIVED;break;case/^1[0-9]{2}$/.test(t.status_code):if(!t.to_tag){N("1xx response received without to tag");break}if(t.hasHeader("contact")&&!this._createDialog(t,"UAC",!0))break;if(this._status=F.STATUS_1XX_RECEIVED,this._progress("remote",t),!t.body)break;var r={originator:"remote",type:"answer",sdp:t.body};N('emit "sdp"'),this.emit("sdp",r);var i=new RTCSessionDescription({type:"answer",sdp:r.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return n._connection.setRemoteDescription(i)}).catch(function(e){L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e)});break;case/^2[0-9]{2}$/.test(t.status_code):if(this._status=F.STATUS_CONFIRMED,!t.body){this._acceptAndTerminate(t,400,$.causes.MISSING_SDP),this._failed("remote",t,$.causes.BAD_MEDIA_DESCRIPTION);break}if(!this._createDialog(t,"UAC"))break;var a={originator:"remote",type:"answer",sdp:t.body};N('emit "sdp"'),this.emit("sdp",a);var o=new RTCSessionDescription({type:"answer",sdp:a.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){if("stable"===n._connection.signalingState)return n._connection.createOffer().then(function(e){return n._connection.setLocalDescription(e)}).catch(function(e){n._acceptAndTerminate(t,500,e.toString()),n._failed("local",t,$.causes.WEBRTC_ERROR)})}).then(function(){n._connection.setRemoteDescription(o).then(function(){n._handleSessionTimersInIncomingResponse(t),n._accepted("remote",t),n.sendRequest($.ACK),n._confirmed("local",null)}).catch(function(e){n._acceptAndTerminate(t,488,"Not Acceptable Here"),n._failed("remote",t,$.causes.BAD_MEDIA_DESCRIPTION),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),n.emit("peerconnection:setremotedescriptionfailed",e)})});break;default:var s=R.sipErrorCause(t.status_code);this._failed("remote",t,s)}}},{key:"_sendReinvite",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("sendReinvite()");var n=R.cloneArray(e.extraHeaders),i=e.eventHandlers||{},r=e.rtcOfferConstraints||this._rtcOfferConstraints||null,a=!1;function o(e){i.failed&&i.failed(e)}n.push("Contact: "+this._contact),n.push("Content-Type: application/sdp"),this._sessionTimers.running&&n.push("Session-Expires: "+this._sessionTimers.currentExpires+";refresher="+(this._sessionTimers.refresher?"uac":"uas")),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._createLocalDescription("offer",r)}).then(function(e){e=t._mangleOffer(e),t.sendRequest($.INVITE,{extraHeaders:n,body:e,eventHandlers:{onSuccessResponse:function(e){(function(e){var t=this;if(this._status===F.STATUS_TERMINATED)return;if(this.sendRequest($.ACK),a)return;{if(this._handleSessionTimersInIncomingResponse(e),!e.body)return void o.call(this);if("application/sdp"!==e.getHeader("Content-Type"))return void o.call(this)}var n={originator:"remote",type:"answer",sdp:e.body};N('emit "sdp"'),this.emit("sdp",n);var r=new RTCSessionDescription({type:"answer",sdp:n.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._connection.setRemoteDescription(r)}).then(function(){i.succeeded&&i.succeeded(e)}).catch(function(e){o.call(t),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),t.emit("peerconnection:setremotedescriptionfailed",e)})}).call(t,e),a=!0},onErrorResponse:function(e){o.call(t,e)},onTransportError:function(){t.onTransportError()},onRequestTimeout:function(){t.onRequestTimeout()},onDialogError:function(){t.onDialogError()}}})}).catch(function(){o()})}},{key:"_sendUpdate",value:function(){var t=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};N("sendUpdate()");var n=R.cloneArray(e.extraHeaders),i=e.eventHandlers||{},r=e.rtcOfferConstraints||this._rtcOfferConstraints||null,a=e.sdpOffer||!1,o=!1;function s(e){var t=this;if(this._status!==F.STATUS_TERMINATED&&!o)if(this._handleSessionTimersInIncomingResponse(e),a){if(!e.body)return void c.call(this);if("application/sdp"!==e.getHeader("Content-Type"))return void c.call(this);var n={originator:"remote",type:"answer",sdp:e.body};N('emit "sdp"'),this.emit("sdp",n);var r=new RTCSessionDescription({type:"answer",sdp:n.sdp});this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._connection.setRemoteDescription(r)}).then(function(){i.succeeded&&i.succeeded(e)}).catch(function(e){c.call(t),L('emit "peerconnection:setremotedescriptionfailed" [error:%o]',e),t.emit("peerconnection:setremotedescriptionfailed",e)})}else i.succeeded&&i.succeeded(e)}function c(e){i.failed&&i.failed(e)}n.push("Contact: "+this._contact),this._sessionTimers.running&&n.push("Session-Expires: "+this._sessionTimers.currentExpires+";refresher="+(this._sessionTimers.refresher?"uac":"uas")),a?(n.push("Content-Type: application/sdp"),this._connectionPromiseQueue=this._connectionPromiseQueue.then(function(){return t._createLocalDescription("offer",r)}).then(function(e){e=t._mangleOffer(e),t.sendRequest($.UPDATE,{extraHeaders:n,body:e,eventHandlers:{onSuccessResponse:function(e){s.call(t,e),o=!0},onErrorResponse:function(e){c.call(t,e)},onTransportError:function(){t.onTransportError()},onRequestTimeout:function(){t.onRequestTimeout()},onDialogError:function(){t.onDialogError()}}})}).catch(function(){c.call(t)})):this.sendRequest($.UPDATE,{extraHeaders:n,eventHandlers:{onSuccessResponse:function(e){s.call(t,e)},onErrorResponse:function(e){c.call(t,e)},onTransportError:function(){t.onTransportError()},onRequestTimeout:function(){t.onRequestTimeout()},onDialogError:function(){t.onDialogError()}}})}},{key:"_acceptAndTerminate",value:function(e,t,n){N("acceptAndTerminate()");var r=[];t&&(n=n||$.REASON_PHRASE[t]||"",r.push("Reason: SIP ;cause="+t+'; text="'+n+'"')),(this._dialog||this._createDialog(e,"UAC"))&&(this.sendRequest($.ACK),this.sendRequest($.BYE,{extraHeaders:r})),this._status=F.STATUS_TERMINATED}},{key:"_mangleOffer",value:function(e){if(!this._localHold&&!this._remoteHold)return e;if(e=v.parse(e),this._localHold&&!this._remoteHold){N("mangleOffer() | me on hold, mangling offer");var t=!0,n=!1,r=void 0;try{for(var i,a=e.media[Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;-1!==y.indexOf(o.type)&&(o.direction?"sendrecv"===o.direction?o.direction="sendonly":"recvonly"===o.direction&&(o.direction="inactive"):o.direction="sendonly")}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}}else if(this._localHold&&this._remoteHold){N("mangleOffer() | both on hold, mangling offer");var s=!0,c=!1,l=void 0;try{for(var u,f=e.media[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){var d=u.value;-1!==y.indexOf(d.type)&&(d.direction="inactive")}}catch(e){c=!0,l=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw l}}}else if(this._remoteHold){N("mangleOffer() | remote on hold, mangling offer");var h=!0,p=!1,m=void 0;try{for(var g,_=e.media[Symbol.iterator]();!(h=(g=_.next()).done);h=!0){var b=g.value;-1!==y.indexOf(b.type)&&(b.direction?"sendrecv"===b.direction?b.direction="recvonly":"recvonly"===b.direction&&(b.direction="inactive"):b.direction="recvonly")}}catch(e){p=!0,m=e}finally{try{!h&&_.return&&_.return()}finally{if(p)throw m}}}return v.write(e)}},{key:"_setLocalMediaStatus",value:function(){var e=!0,t=!0;(this._localHold||this._remoteHold)&&(t=e=!1),this._audioMuted&&(e=!1),this._videoMuted&&(t=!1),this._toogleMuteAudio(!e),this._toogleMuteVideo(!t)}},{key:"_handleSessionTimersInIncomingRequest",value:function(e,t){if(this._sessionTimers.enabled){var n=void 0;n=e.session_expires&&e.session_expires>=$.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=e.session_expires,e.session_expires_refresher||"uas"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,"uas"),t.push("Session-Expires: "+this._sessionTimers.currentExpires+";refresher="+n),this._sessionTimers.refresher="uas"===n,this._runSessionTimer()}}},{key:"_handleSessionTimersInIncomingResponse",value:function(e){if(this._sessionTimers.enabled){var t=void 0;t=e.session_expires&&e.session_expires>=$.MIN_SESSION_EXPIRES?(this._sessionTimers.currentExpires=e.session_expires,e.session_expires_refresher||"uac"):(this._sessionTimers.currentExpires=this._sessionTimers.defaultExpires,"uac"),this._sessionTimers.refresher="uac"===t,this._runSessionTimer()}}},{key:"_runSessionTimer",value:function(){var e=this,t=this._sessionTimers.currentExpires;this._sessionTimers.running=!0,clearTimeout(this._sessionTimers.timer),this._sessionTimers.refresher?this._sessionTimers.timer=setTimeout(function(){e._status!==F.STATUS_TERMINATED&&(N("runSessionTimer() | sending session refresh request"),e._sessionTimers.refreshMethod===$.UPDATE?e._sendUpdate():e._sendReinvite())},500*t):this._sessionTimers.timer=setTimeout(function(){e._status!==F.STATUS_TERMINATED&&(L("runSessionTimer() | timer expired, terminating the session"),e.terminate({cause:$.causes.REQUEST_TIMEOUT,status_code:408,reason_phrase:"Session Timer Expired"}))},1100*t)}},{key:"_toogleMuteAudio",value:function(e){var t=this._connection.getLocalStreams(),n=!0,r=!1,i=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value.getAudioTracks(),c=!0,l=!1,u=void 0;try{for(var f,d=s[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){f.value.enabled=!e}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}},{key:"_toogleMuteVideo",value:function(e){var t=this._connection.getLocalStreams(),n=!0,r=!1,i=void 0;try{for(var a,o=t[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value.getVideoTracks(),c=!0,l=!1,u=void 0;try{for(var f,d=s[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){f.value.enabled=!e}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}},{key:"_newRTCSession",value:function(e,t){N("newRTCSession()"),this._ua.newRTCSession(this,{originator:e,session:this,request:t})}},{key:"_connecting",value:function(e){N("session connecting"),N('emit "connecting"'),this.emit("connecting",{request:e})}},{key:"_progress",value:function(e,t){N("session progress"),N('emit "progress"'),this.emit("progress",{originator:e,response:t||null})}},{key:"_accepted",value:function(e,t){N("session accepted"),this._start_time=new Date,N('emit "accepted"'),this.emit("accepted",{originator:e,response:t||null})}},{key:"_confirmed",value:function(e,t){N("session confirmed"),this._is_confirmed=!0,N('emit "confirmed"'),this.emit("confirmed",{originator:e,ack:t||null})}},{key:"_ended",value:function(e,t,n){N("session ended"),this._end_time=new Date,this._close(),N('emit "ended"'),this.emit("ended",{originator:e,message:t||null,cause:n})}},{key:"_failed",value:function(e,t,n){N("session failed"),this._close(),N('emit "failed"'),this.emit("failed",{originator:e,message:t||null,cause:n})}},{key:"_onhold",value:function(e){N("session onhold"),this._setLocalMediaStatus(),N('emit "hold"'),this.emit("hold",{originator:e})}},{key:"_onunhold",value:function(e){N("session onunhold"),this._setLocalMediaStatus(),N('emit "unhold"'),this.emit("unhold",{originator:e})}},{key:"_onmute",value:function(e){var t=e.audio,n=e.video;N("session onmute"),this._setLocalMediaStatus(),N('emit "muted"'),this.emit("muted",{audio:t,video:n})}},{key:"_onunmute",value:function(e){var t=e.audio,n=e.video;N("session onunmute"),this._setLocalMediaStatus(),N('emit "unmuted"'),this.emit("unmuted",{audio:t,video:n})}},{key:"C",get:function(){return F}},{key:"causes",get:function(){return $.causes}},{key:"id",get:function(){return this._id}},{key:"connection",get:function(){return this._connection}},{key:"contact",get:function(){return this._contact}},{key:"direction",get:function(){return this._direction}},{key:"local_identity",get:function(){return this._local_identity}},{key:"remote_identity",get:function(){return this._remote_identity}},{key:"start_time",get:function(){return this._start_time}},{key:"end_time",get:function(){return this._end_time}},{key:"data",get:function(){return this._data},set:function(e){this._data=e}},{key:"status",get:function(){return this._status}}]),o}()},{"./Constants":2,"./Dialog":3,"./Exceptions":6,"./RTCSession/DTMF":13,"./RTCSession/Info":14,"./RTCSession/ReferNotifier":15,"./RTCSession/ReferSubscriber":16,"./RequestSender":18,"./SIPMessage":19,"./Timers":21,"./Transactions":22,"./Utils":26,debug:29,events:31,"sdp-transform":36}],13:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,a=e("../Constants"),o=e("../Exceptions"),s=e("../Utils"),c=e("debug")("JsSIP:RTCSession:DTMF");e("debug")("JsSIP:ERROR:RTCSession:DTMF").log=console.warn.bind(console);var l={MIN_DURATION:70,MAX_DURATION:6e3,DEFAULT_DURATION:100,MIN_INTER_TONE_GAP:50,DEFAULT_INTER_TONE_GAP:500};t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._session=e,t._direction=null,t._tone=null,t._duration=null,t._request=null,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"send",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw new TypeError("Not enough arguments");if(this._direction="outgoing",this._session.status!==this._session.C.STATUS_CONFIRMED&&this._session.status!==this._session.C.STATUS_WAITING_FOR_ACK)throw new o.InvalidStateError(this._session.status);var r=s.cloneArray(n.extraHeaders);if(this.eventHandlers=n.eventHandlers||{},"string"==typeof e)e=e.toUpperCase();else{if("number"!=typeof e)throw new TypeError("Invalid tone: "+e);e=e.toString()}if(!e.match(/^[0-9A-DR#*]$/))throw new TypeError("Invalid tone: "+e);this._tone=e,this._duration=n.duration,r.push("Content-Type: application/dtmf-relay");var i="Signal="+this._tone+"\r\n";i+="Duration="+this._duration,this._session.newDTMF({originator:"local",dtmf:this,request:this._request}),this._session.sendRequest(a.INFO,{extraHeaders:r,eventHandlers:{onSuccessResponse:function(e){t.emit("succeeded",{originator:"remote",response:e})},onErrorResponse:function(e){t.eventHandlers.onFailed&&t.eventHandlers.onFailed(),t.emit("failed",{originator:"remote",response:e})},onRequestTimeout:function(){t._session.onRequestTimeout()},onTransportError:function(){t._session.onTransportError()},onDialogError:function(){t._session.onDialogError()}},body:i})}},{key:"init_incoming",value:function(e){var t=/^(Signal\s*?=\s*?)([0-9A-D#*]{1})(\s)?.*/,n=/^(Duration\s?=\s?)([0-9]{1,4})(\s)?.*/;if(this._direction="incoming",(this._request=e).reply(200),e.body){var r=e.body.split("\n");1<=r.length&&t.test(r[0])&&(this._tone=r[0].replace(t,"$2")),2<=r.length&&n.test(r[1])&&(this._duration=parseInt(r[1].replace(n,"$2"),10))}this._duration||(this._duration=l.DEFAULT_DURATION),this._tone?this._session.newDTMF({originator:"remote",dtmf:this,request:e}):c("invalid INFO DTMF received, discarded")}},{key:"tone",get:function(){return this._tone}},{key:"duration",get:function(){return this._duration}}]),n}(),t.exports.C=l},{"../Constants":2,"../Exceptions":6,"../Utils":26,debug:29,events:31}],14:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter;e("debug")("JsSIP:ERROR:RTCSession:Info").log=console.warn.bind(console);var a=e("../Constants"),o=e("../Exceptions"),s=e("../Utils");t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._session=e,t._direction=null,t._contentType=null,t._body=null,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"send",value:function(e,t){var n=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};if(this._direction="outgoing",void 0===e)throw new TypeError("Not enough arguments");if(this._session.status!==this._session.C.STATUS_CONFIRMED&&this._session.status!==this._session.C.STATUS_WAITING_FOR_ACK)throw new o.InvalidStateError(this._session.status);this._contentType=e,this._body=t;var i=s.cloneArray(r.extraHeaders);i.push("Content-Type: "+e),this._session.newInfo({originator:"local",info:this,request:this.request}),this._session.sendRequest(a.INFO,{extraHeaders:i,eventHandlers:{onSuccessResponse:function(e){n.emit("succeeded",{originator:"remote",response:e})},onErrorResponse:function(e){n.emit("failed",{originator:"remote",response:e})},onTransportError:function(){n._session.onTransportError()},onRequestTimeout:function(){n._session.onRequestTimeout()},onDialogError:function(){n._session.onDialogError()}},body:t})}},{key:"init_incoming",value:function(e){this._direction="incoming",(this.request=e).reply(200),this._contentType=e.getHeader("content-type"),this._body=e.body,this._session.newInfo({originator:"remote",info:this,request:e})}},{key:"contentType",get:function(){return this._contentType}},{key:"body",get:function(){return this._body}}]),n}()},{"../Constants":2,"../Exceptions":6,"../Utils":26,debug:29,events:31}],15:[function(e,t,n){"use strict";var i=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("../Constants"),o=e("debug")("JsSIP:RTCSession:ReferNotifier"),s="refer",c="message/sipfrag;version=2.0",l=300;t.exports=function(){function r(e,t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this._session=e,this._id=t,this._expires=n||l,this._active=!0,this.notify(100)}return i(r,[{key:"notify",value:function(e,t){if(o("notify()"),!1!==this._active){t=t||a.REASON_PHRASE[e]||"";var n=void 0;n=200<=e?"terminated;reason=noresource":"active;expires="+this._expires,this._session.sendRequest(a.NOTIFY,{extraHeaders:["Event: "+s+";id="+this._id,"Subscription-State: "+n,"Content-Type: "+c],body:"SIP/2.0 "+e+" "+t,eventHandlers:{onErrorResponse:function(){this._active=!1}}})}}}]),r}()},{"../Constants":2,debug:29}],16:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,l=e("../Constants"),a=e("../Grammar"),u=e("../Utils"),f=e("debug")("JsSIP:RTCSession:ReferSubscriber");t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t._id=null,t._session=e,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,[{key:"sendRefer",value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};f("sendRefer()");var r=u.cloneArray(n.extraHeaders),i=n.eventHandlers||{};for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&this.on(a,i[a]);var o=null;n.replaces&&(o=n.replaces._request.call_id,o+=";to-tag="+n.replaces._to_tag,o+=";from-tag="+n.replaces._from_tag,o=encodeURIComponent(o));var s="Refer-To: <"+e+(o?"?Replaces="+o:"")+">";r.push(s),r.push("Contact: "+this._session.contact);var c=this._session.sendRequest(l.REFER,{extraHeaders:r,eventHandlers:{onSuccessResponse:function(e){t._requestSucceeded(e)},onErrorResponse:function(e){t._requestFailed(e,l.causes.REJECTED)},onTransportError:function(){t._requestFailed(null,l.causes.CONNECTION_ERROR)},onRequestTimeout:function(){t._requestFailed(null,l.causes.REQUEST_TIMEOUT)},onDialogError:function(){t._requestFailed(null,l.causes.DIALOG_ERROR)}}});this._id=c.cseq}},{key:"receiveNotify",value:function(e){if(f("receiveNotify()"),e.body){var t=a.parse(e.body.trim(),"Status_Line");if(-1!==t)switch(!0){case/^100$/.test(t.status_code):this.emit("trying",{request:e,status_line:t});break;case/^1[0-9]{2}$/.test(t.status_code):this.emit("progress",{request:e,status_line:t});break;case/^2[0-9]{2}$/.test(t.status_code):this.emit("accepted",{request:e,status_line:t});break;default:this.emit("failed",{request:e,status_line:t})}else f('receiveNotify() | error parsing NOTIFY body: "'+e.body+'"')}}},{key:"_requestSucceeded",value:function(e){f("REFER succeeded"),f('emit "requestSucceeded"'),this.emit("requestSucceeded",{response:e})}},{key:"_requestFailed",value:function(e,t){f("REFER failed"),f('emit "requestFailed"'),this.emit("requestFailed",{response:e||null,cause:t})}},{key:"id",get:function(){return this._id}}]),n}()},{"../Constants":2,"../Grammar":7,"../Utils":26,debug:29,events:31}],17:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var o=e("./Utils"),s=e("./Constants"),i=e("./SIPMessage"),c=e("./RequestSender"),l=e("debug")("JsSIP:Registrator");t.exports=function(){function n(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);this._ua=e,this._transport=t,this._registrar=e.configuration.registrar_server,this._expires=e.configuration.register_expires,this._call_id=o.createRandomToken(22),this._cseq=0,this._to_uri=e.configuration.uri,this._registrationTimer=null,this._registering=!1,this._registered=!1,this._contact=this._ua.contact.toString(),this._contact+=";+sip.ice",this._extraHeaders=[],this._extraContactParams="",this._contact+=";reg-id=1",this._contact+=';+sip.instance="<urn:uuid:'+this._ua.configuration.instance_id+'>"'}return r(n,[{key:"setExtraHeaders",value:function(e){Array.isArray(e)||(e=[]),this._extraHeaders=e.slice()}},{key:"setExtraContactParams",value:function(e){for(var t in e instanceof Object||(e={}),this._extraContactParams="",e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t];this._extraContactParams+=";"+t,n&&(this._extraContactParams+="="+n)}}},{key:"register",value:function(){var a=this;if(this._registering)l("Register request in progress...");else{var e=this._extraHeaders.slice();e.push("Contact: "+this._contact+";expires="+this._expires+this._extraContactParams),e.push("Expires: "+this._expires);var t=new i.OutgoingRequest(s.REGISTER,this._registrar,this._ua,{to_uri:this._to_uri,call_id:this._call_id,cseq:this._cseq+=1},e),n=new c(this._ua,t,{onRequestTimeout:function(){a._registrationFailure(null,s.causes.REQUEST_TIMEOUT)},onTransportError:function(){a._registrationFailure(null,s.causes.CONNECTION_ERROR)},onAuthenticated:function(){a._cseq+=1},onReceiveResponse:function(e){var t=void 0,n=void 0,r=e.getHeaders("contact").length;if(e.cseq===a._cseq)switch(null!==a._registrationTimer&&(clearTimeout(a._registrationTimer),a._registrationTimer=null),!0){case/^1[0-9]{2}$/.test(e.status_code):break;case/^2[0-9]{2}$/.test(e.status_code):if(a._registering=!1,!r){l("no Contact header in response to REGISTER, response ignored");break}for(;r--;){if((t=e.parseHeader("contact",r)).uri.user===a._ua.contact.uri.user){n=t.getParam("expires");break}t=null}if(!t){l("no Contact header pointing to us, response ignored");break}!n&&e.hasHeader("expires")&&(n=e.getHeader("expires")),n||(n=a._expires),(n=Number(n))<10&&(n=10),a._registrationTimer=setTimeout(function(){a._registrationTimer=null,0===a._ua.listeners("registrationExpiring").length?a.register():a._ua.emit("registrationExpiring")},1e3*n-5e3),t.hasParam("temp-gruu")&&(a._ua.contact.temp_gruu=t.getParam("temp-gruu").replace(/"/g,"")),t.hasParam("pub-gruu")&&(a._ua.contact.pub_gruu=t.getParam("pub-gruu").replace(/"/g,"")),a._registered||(a._registered=!0,a._ua.registered({response:e}));break;case/^423$/.test(e.status_code):e.hasHeader("min-expires")?(a._expires=Number(e.getHeader("min-expires")),a._expires<10&&(a._expires=10),a.register()):(l("423 response received for REGISTER without Min-Expires"),a._registrationFailure(e,s.causes.SIP_FAILURE_CODE));break;default:var i=o.sipErrorCause(e.status_code);a._registrationFailure(e,i)}}});this._registering=!0,n.send()}}},{key:"unregister",value:function(){var n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};if(this._registered){this._registered=!1,null!==this._registrationTimer&&(clearTimeout(this._registrationTimer),this._registrationTimer=null);var t=this._extraHeaders.slice();e.all?t.push("Contact: *"+this._extraContactParams):t.push("Contact: "+this._contact+";expires=0"+this._extraContactParams),t.push("Expires: 0");var r=new i.OutgoingRequest(s.REGISTER,this._registrar,this._ua,{to_uri:this._to_uri,call_id:this._call_id,cseq:this._cseq+=1},t);new c(this._ua,r,{onRequestTimeout:function(){n._unregistered(null,s.causes.REQUEST_TIMEOUT)},onTransportError:function(){n._unregistered(null,s.causes.CONNECTION_ERROR)},onAuthenticated:function(){n._cseq+=1},onReceiveResponse:function(e){switch(!0){case/^1[0-9]{2}$/.test(e.status_code):break;case/^2[0-9]{2}$/.test(e.status_code):n._unregistered(e);break;default:var t=o.sipErrorCause(e.status_code);n._unregistered(e,t)}}}).send()}else l("already unregistered")}},{key:"close",value:function(){this._registered&&this.unregister()}},{key:"onTransportClosed",value:function(){this._registering=!1,null!==this._registrationTimer&&(clearTimeout(this._registrationTimer),this._registrationTimer=null),this._registered&&(this._registered=!1,this._ua.unregistered({}))}},{key:"_registrationFailure",value:function(e,t){this._registering=!1,this._ua.registrationFailed({response:e||null,cause:t}),this._registered&&(this._registered=!1,this._ua.unregistered({response:e||null,cause:t}))}},{key:"_unregistered",value:function(e,t){this._registering=!1,this._registered=!1,this._ua.unregistered({response:e||null,cause:t||null})}},{key:"registered",get:function(){return this._registered}}]),n}()},{"./Constants":2,"./RequestSender":18,"./SIPMessage":19,"./Utils":26,debug:29}],18:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var a=e("./Constants"),o=e("./DigestAuthentication"),s=e("./Transactions"),c=e("debug")("JsSIP:RequestSender"),l={onRequestTimeout:function(){},onTransportError:function(){},onReceiveResponse:function(){},onAuthenticated:function(){}};t.exports=function(){function i(e,t,n){for(var r in function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),this._ua=e,this._eventHandlers=n,this._method=t.method,this._request=t,this._auth=null,this._challenged=!1,this._staled=!1,l)Object.prototype.hasOwnProperty.call(l,r)&&(this._eventHandlers[r]||(this._eventHandlers[r]=l[r]));e.status!==e.C.STATUS_USER_CLOSED||this._method===a.BYE&&this._method===a.ACK||this._eventHandlers.onTransportError()}return r(i,[{key:"send",value:function(){var t=this,e={onRequestTimeout:function(){t._eventHandlers.onRequestTimeout()},onTransportError:function(){t._eventHandlers.onTransportError()},onReceiveResponse:function(e){t._receiveResponse(e)}};switch(this._method){case"INVITE":this.clientTransaction=new s.InviteClientTransaction(this._ua,this._ua.transport,this._request,e);break;case"ACK":this.clientTransaction=new s.AckClientTransaction(this._ua,this._ua.transport,this._request,e);break;default:this.clientTransaction=new s.NonInviteClientTransaction(this._ua,this._ua.transport,this._request,e)}this.clientTransaction.send()}},{key:"_receiveResponse",value:function(e){var t=void 0,n=void 0,r=e.status_code;if(401!==r&&407!==r||null===this._ua.configuration.password&&null===this._ua.configuration.ha1)this._eventHandlers.onReceiveResponse(e);else{if(n=401===e.status_code?(t=e.parseHeader("www-authenticate"),"authorization"):(t=e.parseHeader("proxy-authenticate"),"proxy-authorization"),!t)return c(e.status_code+" with wrong or missing challenge, cannot authenticate"),void this._eventHandlers.onReceiveResponse(e);if(!this._challenged||!this._staled&&!0===t.stale){if(this._auth||(this._auth=new o({username:this._ua.configuration.authorization_user,password:this._ua.configuration.password,realm:this._ua.configuration.realm,ha1:this._ua.configuration.ha1})),!this._auth.authenticate(this._request,t))return void this._eventHandlers.onReceiveResponse(e);this._challenged=!0,this._ua.set("realm",this._auth.get("realm")),this._ua.set("ha1",this._auth.get("ha1")),t.stale&&(this._staled=!0),this._request=this._request.clone(),this._request.cseq+=1,this._request.setHeader("cseq",this._request.cseq+" "+this._method),this._request.setHeader(n,this._auth.toString()),this._eventHandlers.onAuthenticated(this._request),this.send()}else this._eventHandlers.onReceiveResponse(e)}}}]),i}()},{"./Constants":2,"./DigestAuthentication":5,"./Transactions":22,debug:29}],19:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=e("sdp-transform"),x=e("./Constants"),k=e("./Utils"),d=e("./NameAddrHeader"),o=e("./Grammar"),c=e("debug")("JsSIP:SIPMessage"),l=function(){function u(e,t,n,r,i,a){if(f(this,u),!e||!t||!n)return null;r=r||{},this.ua=n,this.headers={},this.method=e,this.ruri=t,this.body=a,this.extraHeaders=k.cloneArray(i),r.route_set?this.setHeader("route",r.route_set):n.configuration.use_preloaded_route&&this.setHeader("route","<"+n.transport.sip_uri+";lr>"),this.setHeader("via",""),this.setHeader("max-forwards",x.MAX_FORWARDS);var o=r.to_display_name||0===r.to_display_name?'"'+r.to_display_name+'" ':"";o+="<"+(r.to_uri||t)+">",o+=r.to_tag?";tag="+r.to_tag:"",this.to=d.parse(o),this.setHeader("to",o);var s=void 0;s=r.from_display_name||0===r.from_display_name?'"'+r.from_display_name+'" ':n.configuration.display_name?'"'+n.configuration.display_name+'" ':"",s+="<"+(r.from_uri||n.configuration.uri)+">;tag=",s+=r.from_tag||k.newTag(),this.from=d.parse(s),this.setHeader("from",s);var c=r.call_id||n.configuration.jssip_id+k.createRandomToken(15);this.call_id=c,this.setHeader("call-id",c);var l=r.cseq||Math.floor(1e4*Math.random());this.cseq=l,this.setHeader("cseq",l+" "+e)}return r(u,[{key:"setHeader",value:function(e,t){for(var n=new RegExp("^\\s*"+e+"\\s*:","i"),r=0;r<this.extraHeaders.length;r++)n.test(this.extraHeaders[r])&&this.extraHeaders.splice(r,1);this.headers[k.headerize(e)]=Array.isArray(t)?t:[t]}},{key:"getHeader",value:function(e){var t=this.headers[k.headerize(e)];if(t){if(t[0])return t[0]}else{var n=new RegExp("^\\s*"+e+"\\s*:","i"),r=!0,i=!1,a=void 0;try{for(var o,s=this.extraHeaders[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;if(n.test(c))return c.substring(c.indexOf(":")+1).trim()}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}}}},{key:"getHeaders",value:function(e){var t=this.headers[k.headerize(e)],n=[];if(t){var r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;n.push(c)}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}var l=new RegExp("^\\s*"+e+"\\s*:","i"),u=!0,f=!1,d=void 0;try{for(var h,p=this.extraHeaders[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){var m=h.value;l.test(m)&&n.push(m.substring(m.indexOf(":")+1).trim())}}catch(e){f=!0,d=e}finally{try{!u&&p.return&&p.return()}finally{if(f)throw d}}return n}},{key:"hasHeader",value:function(e){if(this.headers[k.headerize(e)])return!0;var t=new RegExp("^\\s*"+e+"\\s*:","i"),n=!0,r=!1,i=void 0;try{for(var a,o=this.extraHeaders[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;if(t.test(s))return!0}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}return!1}},{key:"parseSDP",value:function(e){return!e&&this.sdp||(this.sdp=a.parse(this.body||"")),this.sdp}},{key:"toString",value:function(){var e=this.method+" "+this.ruri+" SIP/2.0\r\n";for(var t in this.headers)if(Object.prototype.hasOwnProperty.call(this.headers,t)){var n=!0,r=!1,i=void 0;try{for(var a,o=this.headers[t][Symbol.iterator]();!(n=(a=o.next()).done);n=!0){e+=t+": "+a.value+"\r\n"}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}var s=!0,c=!1,l=void 0;try{for(var u,f=this.extraHeaders[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){e+=u.value.trim()+"\r\n"}}catch(e){c=!0,l=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw l}}var d=[];switch(this.method){case x.REGISTER:d.push("path","gruu");break;case x.INVITE:this.ua.configuration.session_timers&&d.push("timer"),(this.ua.contact.pub_gruu||this.ua.contact.temp_gruu)&&d.push("gruu"),d.push("ice","replaces");break;case x.UPDATE:this.ua.configuration.session_timers&&d.push("timer"),d.push("ice")}d.push("outbound");var h=this.ua.configuration.user_agent||x.USER_AGENT;(e+="Allow: "+x.ALLOWED_METHODS+"\r\n",e+="Supported: "+d+"\r\n",e+="User-Agent: "+h+"\r\n",this.body)?(e+="Content-Length: "+k.str_utf8_length(this.body)+"\r\n\r\n",e+=this.body):e+="Content-Length: 0\r\n\r\n";return e}},{key:"clone",value:function(){var t=new u(this.method,this.ruri,this.ua);return Object.keys(this.headers).forEach(function(e){t.headers[e]=this.headers[e].slice()},this),t.body=this.body,t.extraHeaders=k.cloneArray(this.extraHeaders),t.to=this.to,t.from=this.from,t.call_id=this.call_id,t.cseq=this.cseq,t}}]),u}(),u=function(e){function o(e,t,n,r,i){f(this,o);var a=s(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,x.INVITE,e,t,n,r,i));return a.transaction=null,a}return i(o,l),r(o,[{key:"cancel",value:function(e){this.transaction.cancel(e)}},{key:"clone",value:function(){var t=new o(this.ruri,this.ua);return Object.keys(this.headers).forEach(function(e){t.headers[e]=this.headers[e].slice()},this),t.body=this.body,t.extraHeaders=k.cloneArray(this.extraHeaders),t.to=this.to,t.from=this.from,t.call_id=this.call_id,t.cseq=this.cseq,t.transaction=this.transaction,t}}]),o}(),h=function(){function e(){f(this,e),this.data=null,this.headers=null,this.method=null,this.via=null,this.via_branch=null,this.call_id=null,this.cseq=null,this.from=null,this.from_tag=null,this.to=null,this.to_tag=null,this.body=null,this.sdp=null}return r(e,[{key:"addHeader",value:function(e,t){var n={raw:t};e=k.headerize(e),this.headers[e]?this.headers[e].push(n):this.headers[e]=[n]}},{key:"getHeader",value:function(e){var t=this.headers[k.headerize(e)];if(t)return t[0]?t[0].raw:void 0}},{key:"getHeaders",value:function(e){var t=this.headers[k.headerize(e)],n=[];if(!t)return[];var r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){var c=o.value;n.push(c.raw)}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}},{key:"hasHeader",value:function(e){return!!this.headers[k.headerize(e)]}},{key:"parseHeader",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0;if(e=k.headerize(e),this.headers[e]){if(!(t>=this.headers[e].length)){var n=this.headers[e][t],r=n.raw;if(n.parsed)return n.parsed;var i=o.parse(r,e.replace(/-/g,"_"));return-1===i?(this.headers[e].splice(t,1),void c('error parsing "'+e+'" header field with value "'+r+'"')):n.parsed=i}c('not so many "'+e+'" headers present')}else c('header "'+e+'" not present')}},{key:"s",value:function(e,t){return this.parseHeader(e,t)}},{key:"setHeader",value:function(e,t){var n={raw:t};this.headers[k.headerize(e)]=[n]}},{key:"parseSDP",value:function(e){return!e&&this.sdp||(this.sdp=a.parse(this.body||"")),this.sdp}},{key:"toString",value:function(){return this.data}}]),e}(),p=function(e){function n(e){f(this,n);var t=s(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));return t.ua=e,t.headers={},t.ruri=null,t.transport=null,t.server_transaction=null,t}return i(n,h),r(n,[{key:"reply",value:function(e,t,n,r,i,a){var o=[],s=this.getHeader("To");if(t=t||null,!(e=e||null)||e<100||699<e)throw new TypeError("Invalid status_code: "+e);if(t&&"string"!=typeof t&&!(t instanceof String))throw new TypeError("Invalid reason_phrase: "+t);t=t||x.REASON_PHRASE[e]||"",n=k.cloneArray(n);var c="SIP/2.0 "+e+" "+t+"\r\n";if(this.method===x.INVITE&&100<e&&e<=200){var l=this.getHeaders("record-route"),u=!0,f=!1,d=void 0;try{for(var h,p=l[Symbol.iterator]();!(u=(h=p.next()).done);u=!0){c+="Record-Route: "+h.value+"\r\n"}}catch(e){f=!0,d=e}finally{try{!u&&p.return&&p.return()}finally{if(f)throw d}}}var m=this.getHeaders("via"),g=!0,_=!1,b=void 0;try{for(var v,y=m[Symbol.iterator]();!(g=(v=y.next()).done);g=!0){c+="Via: "+v.value+"\r\n"}}catch(e){_=!0,b=e}finally{try{!g&&y.return&&y.return()}finally{if(_)throw b}}!this.to_tag&&100<e?s+=";tag="+k.newTag():this.to_tag&&!this.s("to").hasParam("tag")&&(s+=";tag="+this.to_tag),c+="To: "+s+"\r\n",c+="From: "+this.getHeader("From")+"\r\n",c+="Call-ID: "+this.call_id+"\r\n",c+="CSeq: "+this.cseq+" "+this.method+"\r\n";var w=!0,C=!1,A=void 0;try{for(var S,T=n[Symbol.iterator]();!(w=(S=T.next()).done);w=!0){c+=S.value.trim()+"\r\n"}}catch(e){C=!0,A=e}finally{try{!w&&T.return&&T.return()}finally{if(C)throw A}}switch(this.method){case x.INVITE:this.ua.configuration.session_timers&&o.push("timer"),(this.ua.contact.pub_gruu||this.ua.contact.temp_gruu)&&o.push("gruu"),o.push("ice","replaces");break;case x.UPDATE:this.ua.configuration.session_timers&&o.push("timer"),r&&o.push("ice"),o.push("replaces")}(o.push("outbound"),this.method===x.OPTIONS?(c+="Allow: "+x.ALLOWED_METHODS+"\r\n",c+="Accept: "+x.ACCEPTED_BODY_TYPES+"\r\n"):405===e?c+="Allow: "+x.ALLOWED_METHODS+"\r\n":415===e&&(c+="Accept: "+x.ACCEPTED_BODY_TYPES+"\r\n"),c+="Supported: "+o+"\r\n",r)?(c+="Content-Type: application/sdp\r\n",c+="Content-Length: "+k.str_utf8_length(r)+"\r\n\r\n",c+=r):c+="Content-Length: 0\r\n\r\n";this.server_transaction.receiveResponse(e,c,i,a)}},{key:"reply_sl",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,n=this.getHeaders("via");if(!e||e<100||699<e)throw new TypeError("Invalid status_code: "+e);if(t&&"string"!=typeof t&&!(t instanceof String))throw new TypeError("Invalid reason_phrase: "+t);var r="SIP/2.0 "+e+" "+(t=t||x.REASON_PHRASE[e]||"")+"\r\n",i=!0,a=!1,o=void 0;try{for(var s,c=n[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){r+="Via: "+s.value+"\r\n"}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}var l=this.getHeader("To");!this.to_tag&&100<e?l+=";tag="+k.newTag():this.to_tag&&!this.s("to").hasParam("tag")&&(l+=";tag="+this.to_tag),r+="To: "+l+"\r\n",r+="From: "+this.getHeader("From")+"\r\n",r+="Call-ID: "+this.call_id+"\r\n",r+="CSeq: "+this.cseq+" "+this.method+"\r\n",r+="Content-Length: 0\r\n\r\n",this.transport.send(r)}}]),n}(),m=function(e){function t(){f(this,t);var e=s(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e.headers={},e.status_code=null,e.reason_phrase=null,e}return i(t,h),t}();t.exports={OutgoingRequest:l,InitialOutgoingInviteRequest:u,IncomingRequest:p,IncomingResponse:m}},{"./Constants":2,"./Grammar":7,"./NameAddrHeader":10,"./Utils":26,debug:29,"sdp-transform":36}],20:[function(e,t,n){"use strict";var r=e("./Utils"),i=e("./Grammar"),a=e("debug")("JsSIP:ERROR:Socket");a.log=console.warn.bind(console),n.isSocket=function(t){if(Array.isArray(t))return!1;if(void 0===t)return a("undefined JsSIP.Socket instance"),!1;try{if(!r.isString(t.url))throw a("missing or invalid JsSIP.Socket url property"),new Error;if(!r.isString(t.via_transport))throw a("missing or invalid JsSIP.Socket via_transport property"),new Error;if(-1===i.parse(t.sip_uri,"SIP_URI"))throw a("missing or invalid JsSIP.Socket sip_uri property"),new Error}catch(e){return!1}try{["connect","disconnect","send"].forEach(function(e){if(!r.isFunction(t[e]))throw a("missing or invalid JsSIP.Socket method: "+e),new Error})}catch(e){return!1}return!0}},{"./Grammar":7,"./Utils":26,debug:29}],21:[function(e,t,n){"use strict";t.exports={T1:500,T2:4e3,T4:5e3,TIMER_B:32e3,TIMER_D:0,TIMER_F:32e3,TIMER_H:32e3,TIMER_I:0,TIMER_J:0,TIMER_K:0,TIMER_L:32e3,TIMER_M:32e3,PROVISIONAL_RESPONSE_INTERVAL:6e4}},{}],22:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var l=e("events").EventEmitter,i=e("./Constants"),u=e("./SIPMessage"),f=e("./Timers"),d=e("debug")("JsSIP:NonInviteClientTransaction"),h=e("debug")("JsSIP:InviteClientTransaction"),p=e("debug")("JsSIP:AckClientTransaction"),o=e("debug")("JsSIP:NonInviteServerTransaction"),m=e("debug")("JsSIP:InviteServerTransaction"),g={STATUS_TRYING:1,STATUS_PROCEEDING:2,STATUS_CALLING:3,STATUS_ACCEPTED:4,STATUS_COMPLETED:5,STATUS_TERMINATED:6,STATUS_CONFIRMED:7,NON_INVITE_CLIENT:"nict",NON_INVITE_SERVER:"nist",INVITE_CLIENT:"ict",INVITE_SERVER:"ist"},_=function(e){function o(e,t,n,r){s(this,o);var i=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));i.type=g.NON_INVITE_CLIENT,i.id="z9hG4bK"+Math.floor(1e7*Math.random()),i.ua=e,i.transport=t,i.request=n,i.eventHandlers=r;var a="SIP/2.0/"+t.via_transport;return a+=" "+e.configuration.via_host+";branch="+i.id,i.request.setHeader("via",a),i.ua.newTransaction(i),i}return a(o,l),r(o,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"send",value:function(){var e=this;this.stateChanged(g.STATUS_TRYING),this.F=setTimeout(function(){e.timer_F()},f.TIMER_F),this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){d("transport error occurred, deleting transaction "+this.id),clearTimeout(this.F),clearTimeout(this.K),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onTransportError()}},{key:"timer_F",value:function(){d("Timer F expired for transaction "+this.id),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onRequestTimeout()}},{key:"timer_K",value:function(){this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"receiveResponse",value:function(e){var t=this,n=e.status_code;if(n<200)switch(this.state){case g.STATUS_TRYING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_PROCEEDING),this.eventHandlers.onReceiveResponse(e)}else switch(this.state){case g.STATUS_TRYING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_COMPLETED),clearTimeout(this.F),408===n?this.eventHandlers.onRequestTimeout():this.eventHandlers.onReceiveResponse(e),this.K=setTimeout(function(){t.timer_K()},f.TIMER_K)}}},{key:"C",get:function(){return g}}]),o}(),b=function(e){function o(e,t,n,r){s(this,o);var i=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));i.type=g.INVITE_CLIENT,i.id="z9hG4bK"+Math.floor(1e7*Math.random()),i.ua=e,i.transport=t,i.request=n,i.eventHandlers=r,n.transaction=i;var a="SIP/2.0/"+t.via_transport;return a+=" "+e.configuration.via_host+";branch="+i.id,i.request.setHeader("via",a),i.ua.newTransaction(i),i}return a(o,l),r(o,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"send",value:function(){var e=this;this.stateChanged(g.STATUS_CALLING),this.B=setTimeout(function(){e.timer_B()},f.TIMER_B),this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){clearTimeout(this.B),clearTimeout(this.D),clearTimeout(this.M),this.state!==g.STATUS_ACCEPTED&&(h("transport error occurred, deleting transaction "+this.id),this.eventHandlers.onTransportError()),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"timer_M",value:function(){h("Timer M expired for transaction "+this.id),this.state===g.STATUS_ACCEPTED&&(clearTimeout(this.B),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"timer_B",value:function(){h("Timer B expired for transaction "+this.id),this.state===g.STATUS_CALLING&&(this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this),this.eventHandlers.onRequestTimeout())}},{key:"timer_D",value:function(){h("Timer D expired for transaction "+this.id),clearTimeout(this.B),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"sendACK",value:function(e){var t=this,n=new u.OutgoingRequest(i.ACK,this.request.ruri,this.ua,{route_set:this.request.getHeader("route"),call_id:this.request.getHeader("call-id"),cseq:this.request.cseq});n.setHeader("from",this.request.getHeader("from")),n.setHeader("via",this.request.getHeader("via")),n.setHeader("to",e.getHeader("to")),this.D=setTimeout(function(){t.timer_D()},f.TIMER_D),this.transport.send(n)}},{key:"cancel",value:function(e){if(this.state===g.STATUS_PROCEEDING){var t=new u.OutgoingRequest(i.CANCEL,this.request.ruri,this.ua,{route_set:this.request.getHeader("route"),call_id:this.request.getHeader("call-id"),cseq:this.request.cseq});t.setHeader("from",this.request.getHeader("from")),t.setHeader("via",this.request.getHeader("via")),t.setHeader("to",this.request.getHeader("to")),e&&t.setHeader("reason",e),this.transport.send(t)}}},{key:"receiveResponse",value:function(e){var t=this,n=e.status_code;if(100<=n&&n<=199)switch(this.state){case g.STATUS_CALLING:this.stateChanged(g.STATUS_PROCEEDING),this.eventHandlers.onReceiveResponse(e);break;case g.STATUS_PROCEEDING:this.eventHandlers.onReceiveResponse(e)}else if(200<=n&&n<=299)switch(this.state){case g.STATUS_CALLING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_ACCEPTED),this.M=setTimeout(function(){t.timer_M()},f.TIMER_M),this.eventHandlers.onReceiveResponse(e);break;case g.STATUS_ACCEPTED:this.eventHandlers.onReceiveResponse(e)}else if(300<=n&&n<=699)switch(this.state){case g.STATUS_CALLING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_COMPLETED),this.sendACK(e),this.eventHandlers.onReceiveResponse(e);break;case g.STATUS_COMPLETED:this.sendACK(e)}}},{key:"C",get:function(){return g}}]),o}(),v=function(e){function o(e,t,n,r){s(this,o);var i=c(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));i.id="z9hG4bK"+Math.floor(1e7*Math.random()),i.transport=t,i.request=n,i.eventHandlers=r;var a="SIP/2.0/"+t.via_transport;return a+=" "+e.configuration.via_host+";branch="+i.id,i.request.setHeader("via",a),i}return a(o,l),r(o,[{key:"send",value:function(){this.transport.send(this.request)||this.onTransportError()}},{key:"onTransportError",value:function(){p("transport error occurred for transaction "+this.id),this.eventHandlers.onTransportError()}},{key:"C",get:function(){return g}}]),o}(),y=function(e){function i(e,t,n){s(this,i);var r=c(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return r.type=g.NON_INVITE_SERVER,r.id=n.via_branch,r.ua=e,r.transport=t,r.request=n,r.last_response="",(n.server_transaction=r).state=g.STATUS_TRYING,e.newTransaction(r),r}return a(i,l),r(i,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"timer_J",value:function(){o("Timer J expired for transaction "+this.id),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"onTransportError",value:function(){this.transportError||(this.transportError=!0,o("transport error occurred, deleting transaction "+this.id),clearTimeout(this.J),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"receiveResponse",value:function(e,t,n,r){var i=this;if(100===e)switch(this.state){case g.STATUS_TRYING:this.stateChanged(g.STATUS_PROCEEDING),this.transport.send(t)||this.onTransportError();break;case g.STATUS_PROCEEDING:this.last_response=t,this.transport.send(t)?n&&n():(this.onTransportError(),r&&r())}else if(200<=e&&e<=699)switch(this.state){case g.STATUS_TRYING:case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_COMPLETED),this.last_response=t,this.J=setTimeout(function(){i.timer_J()},f.TIMER_J),this.transport.send(t)?n&&n():(this.onTransportError(),r&&r())}}},{key:"C",get:function(){return g}}]),i}(),w=function(e){function i(e,t,n){s(this,i);var r=c(this,(i.__proto__||Object.getPrototypeOf(i)).call(this));return r.type=g.INVITE_SERVER,r.id=n.via_branch,r.ua=e,r.transport=t,r.request=n,r.last_response="",(n.server_transaction=r).state=g.STATUS_PROCEEDING,e.newTransaction(r),r.resendProvisionalTimer=null,n.reply(100),r}return a(i,l),r(i,[{key:"stateChanged",value:function(e){this.state=e,this.emit("stateChanged")}},{key:"timer_H",value:function(){m("Timer H expired for transaction "+this.id),this.state===g.STATUS_COMPLETED&&m("ACK not received, dialog will be terminated"),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this)}},{key:"timer_I",value:function(){this.stateChanged(g.STATUS_TERMINATED)}},{key:"timer_L",value:function(){m("Timer L expired for transaction "+this.id),this.state===g.STATUS_ACCEPTED&&(this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"onTransportError",value:function(){this.transportError||(this.transportError=!0,m("transport error occurred, deleting transaction "+this.id),null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null),clearTimeout(this.L),clearTimeout(this.H),clearTimeout(this.I),this.stateChanged(g.STATUS_TERMINATED),this.ua.destroyTransaction(this))}},{key:"resend_provisional",value:function(){this.transport.send(this.last_response)||this.onTransportError()}},{key:"receiveResponse",value:function(e,t,n,r){var i=this;if(100<=e&&e<=199)switch(this.state){case g.STATUS_PROCEEDING:this.transport.send(t)||this.onTransportError(),this.last_response=t}if(100<e&&e<=199&&this.state===g.STATUS_PROCEEDING)null===this.resendProvisionalTimer&&(this.resendProvisionalTimer=setInterval(function(){i.resend_provisional()},f.PROVISIONAL_RESPONSE_INTERVAL));else if(200<=e&&e<=299)switch(this.state){case g.STATUS_PROCEEDING:this.stateChanged(g.STATUS_ACCEPTED),this.last_response=t,this.L=setTimeout(function(){i.timer_L()},f.TIMER_L),null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null);case g.STATUS_ACCEPTED:this.transport.send(t)?n&&n():(this.onTransportError(),r&&r())}else if(300<=e&&e<=699)switch(this.state){case g.STATUS_PROCEEDING:null!==this.resendProvisionalTimer&&(clearInterval(this.resendProvisionalTimer),this.resendProvisionalTimer=null),this.transport.send(t)?(this.stateChanged(g.STATUS_COMPLETED),this.H=setTimeout(function(){i.timer_H()},f.TIMER_H),n&&n()):(this.onTransportError(),r&&r())}}},{key:"C",get:function(){return g}}]),i}();t.exports={C:g,NonInviteClientTransaction:_,InviteClientTransaction:b,AckClientTransaction:v,NonInviteServerTransaction:y,InviteServerTransaction:w,checkTransaction:function(e,t){var n=e._transactions,r=void 0;switch(t.method){case i.INVITE:if(r=n.ist[t.via_branch]){switch(r.state){case g.STATUS_PROCEEDING:r.transport.send(r.last_response)}return!0}break;case i.ACK:if(!(r=n.ist[t.via_branch]))return!1;if(r.state===g.STATUS_ACCEPTED)return!1;if(r.state===g.STATUS_COMPLETED)return r.state=g.STATUS_CONFIRMED,r.I=setTimeout(function(){r.timer_I()},f.TIMER_I),!0;break;case i.CANCEL:return(r=n.ist[t.via_branch])?(t.reply_sl(200),r.state!==g.STATUS_PROCEEDING):(t.reply_sl(481),!0);default:if(r=n.nist[t.via_branch]){switch(r.state){case g.STATUS_TRYING:break;case g.STATUS_PROCEEDING:case g.STATUS_COMPLETED:r.transport.send(r.last_response)}return!0}}}}},{"./Constants":2,"./SIPMessage":19,"./Timers":21,debug:29,events:31}],23:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("./Socket"),a=e("debug")("JsSIP:Transport"),o=e("debug")("JsSIP:ERROR:Transport");o.log=console.warn.bind(console);var s={STATUS_CONNECTED:0,STATUS_CONNECTING:1,STATUS_DISCONNECTED:2,SOCKET_STATUS_READY:0,SOCKET_STATUS_ERROR:1,recovery_options:{min_interval:2,max_interval:30}};t.exports=function(){function n(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:s.recovery_options;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),a("new()"),this.status=s.STATUS_DISCONNECTED,this.socket=null,this.sockets=[],this.recovery_options=t,this.recover_attempts=0,this.recovery_timer=null,this.close_requested=!1,void 0===e)throw new TypeError("Invalid argument. undefined 'sockets' argument");e instanceof Array||(e=[e]),e.forEach(function(e){if(!i.isSocket(e.socket))throw new TypeError("Invalid argument. invalid 'JsSIP.Socket' instance");if(e.weight&&!Number(e.weight))throw new TypeError("Invalid argument. 'weight' attribute is not a number");this.sockets.push({socket:e.socket,weight:e.weight||0,status:s.SOCKET_STATUS_READY})},this),this._getSocket()}return r(n,[{key:"connect",value:function(){a("connect()"),this.isConnected()?a("Transport is already connected"):this.isConnecting()?a("Transport is connecting"):(this.close_requested=!1,this.status=s.STATUS_CONNECTING,this.onconnecting({socket:this.socket,attempts:this.recover_attempts}),this.close_requested||(this.socket.onconnect=this._onConnect.bind(this),this.socket.ondisconnect=this._onDisconnect.bind(this),this.socket.ondata=this._onData.bind(this),this.socket.connect()))}},{key:"disconnect",value:function(){a("close()"),this.close_requested=!0,this.recover_attempts=0,this.status=s.STATUS_DISCONNECTED,null!==this.recovery_timer&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.socket.onconnect=function(){},this.socket.ondisconnect=function(){},this.socket.ondata=function(){},this.socket.disconnect(),this.ondisconnect({socket:this.socket,error:!1})}},{key:"send",value:function(e){if(a("send()"),!this.isConnected())return o("unable to send message, transport is not connected"),!1;var t=e.toString();return a("sending message:\n\n"+t+"\n"),this.socket.send(t)}},{key:"isConnected",value:function(){return this.status===s.STATUS_CONNECTED}},{key:"isConnecting",value:function(){return this.status===s.STATUS_CONNECTING}},{key:"_reconnect",value:function(){var e=this;this.recover_attempts+=1;var t=Math.floor(Math.random()*Math.pow(2,this.recover_attempts)+1);t<this.recovery_options.min_interval?t=this.recovery_options.min_interval:t>this.recovery_options.max_interval&&(t=this.recovery_options.max_interval),a("reconnection attempt: "+this.recover_attempts+". next connection attempt in "+t+" seconds"),this.recovery_timer=setTimeout(function(){e.close_requested||e.isConnected()||e.isConnecting()||(e._getSocket(),e.connect())},1e3*t)}},{key:"_getSocket",value:function(){var t=[];if(this.sockets.forEach(function(e){e.status!==s.SOCKET_STATUS_ERROR&&(0===t.length?t.push(e):e.weight>t[0].weight?t=[e]:e.weight===t[0].weight&&t.push(e))}),0===t.length)return this.sockets.forEach(function(e){e.status=s.SOCKET_STATUS_READY}),void this._getSocket();var e=Math.floor(Math.random()*t.length);this.socket=t[e].socket}},{key:"_onConnect",value:function(){this.recover_attempts=0,this.status=s.STATUS_CONNECTED,null!==this.recovery_timer&&(clearTimeout(this.recovery_timer),this.recovery_timer=null),this.onconnect({socket:this})}},{key:"_onDisconnect",value:function(e,t,n){this.status=s.STATUS_DISCONNECTED,this.ondisconnect({socket:this.socket,error:e,code:t,reason:n}),this.close_requested||(this.sockets.forEach(function(e){this.socket===e.socket&&(e.status=s.SOCKET_STATUS_ERROR)},this),this._reconnect(e))}},{key:"_onData",value:function(e){if("\r\n"!==e){if("string"!=typeof e){try{e=String.fromCharCode.apply(null,new Uint8Array(e))}catch(e){return void a("received binary message failed to be converted into string, message discarded")}a("received binary message:\n\n"+e+"\n")}else a("received text message:\n\n"+e+"\n");this.ondata({transport:this,message:e})}else a("received message with CRLF Keep Alive response")}},{key:"via_transport",get:function(){return this.socket.via_transport}},{key:"url",get:function(){return this.socket.url}},{key:"sip_uri",get:function(){return this.socket.sip_uri}}]),n}()},{"./Socket":20,debug:29}],24:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("events").EventEmitter,o=e("./Constants"),a=e("./Registrator"),s=e("./RTCSession"),c=e("./Message"),l=e("./Transactions"),u=e("./Transport"),f=e("./Utils"),d=e("./Exceptions"),h=e("./URI"),p=e("./Grammar"),m=e("./Parser"),g=e("./SIPMessage"),_=e("./sanityCheck"),b=e("./Config"),v=e("debug")("JsSIP:UA"),y=e("debug")("JsSIP:ERROR:UA");y.log=console.warn.bind(console);var w={STATUS_INIT:0,STATUS_READY:1,STATUS_USER_CLOSED:2,STATUS_NOT_READY:3,CONFIGURATION_ERROR:1,NETWORK_ERROR:2};t.exports=function(e){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),v("new() [configuration:%o]",e);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this));if(t._cache={credentials:{}},t._configuration=Object.assign({},b.settings),t._dynConfiguration={},t._dialogs={},t._applicants={},t._sessions={},t._transport=null,t._contact=null,t._status=w.STATUS_INIT,t._error=null,t._transactions={nist:{},nict:{},ist:{},ict:{}},t._data={},t._closeTimer=null,void 0===e)throw new TypeError("Not enough arguments");try{t._loadConfig(e)}catch(e){throw t._status=w.STATUS_NOT_READY,t._error=w.CONFIGURATION_ERROR,e}return t._registrator=new a(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i),r(n,null,[{key:"C",get:function(){return w}}]),r(n,[{key:"start",value:function(){v("start()"),this._status===w.STATUS_INIT?this._transport.connect():this._status===w.STATUS_USER_CLOSED?(v("restarting UA"),null!==this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null,this._transport.disconnect()),this._status=w.STATUS_INIT,this._transport.connect()):this._status===w.STATUS_READY?v("UA is in READY status, not restarted"):v("ERROR: connection is down, Auto-Recovery system is trying to reconnect"),this._dynConfiguration.register=this._configuration.register}},{key:"register",value:function(){v("register()"),this._dynConfiguration.register=!0,this._registrator.register()}},{key:"unregister",value:function(e){v("unregister()"),this._dynConfiguration.register=!1,this._registrator.unregister(e)}},{key:"registrator",value:function(){return this._registrator}},{key:"isRegistered",value:function(){return this._registrator.registered}},{key:"isConnected",value:function(){return this._transport.isConnected()}},{key:"call",value:function(e,t){v("call()");var n=new s(this);return n.connect(e,t),n}},{key:"sendMessage",value:function(e,t,n){v("sendMessage()");var r=new c(this);return r.send(e,t,n),r}},{key:"terminateSessions",value:function(e){for(var t in v("terminateSessions()"),this._sessions)this._sessions[t].isEnded()||this._sessions[t].terminate(e)}},{key:"stop",value:function(){var e=this;if(v("stop()"),this._dynConfiguration={},this._status!==w.STATUS_USER_CLOSED){this._registrator.close();var t=Object.keys(this._sessions).length;for(var n in this._sessions)if(Object.prototype.hasOwnProperty.call(this._sessions,n)){v("closing session "+n);try{this._sessions[n].terminate()}catch(e){}}for(var r in this._applicants)if(Object.prototype.hasOwnProperty.call(this._applicants,r))try{this._applicants[r].close()}catch(e){}this._status=w.STATUS_USER_CLOSED,0===Object.keys(this._transactions.nict).length+Object.keys(this._transactions.nist).length+Object.keys(this._transactions.ict).length+Object.keys(this._transactions.ist).length&&0===t?this._transport.disconnect():this._closeTimer=setTimeout(function(){e._closeTimer=null,e._transport.disconnect()},2e3)}else v("UA already closed")}},{key:"normalizeTarget",value:function(e){return f.normalizeTarget(e,this._configuration.hostport_params)}},{key:"get",value:function(e){switch(e){case"realm":return this._configuration.realm;case"ha1":return this._configuration.ha1;default:return void y('get() | cannot get "%s" parameter in runtime',e)}}},{key:"set",value:function(e,t){switch(e){case"password":this._configuration.password=String(t);break;case"realm":this._configuration.realm=String(t);break;case"ha1":this._configuration.ha1=String(t),this._configuration.password=null;break;case"display_name":if(-1===p.parse('"'+t+'"',"display_name"))return y('set() | wrong "display_name"'),!1;this._configuration.display_name=t;break;default:return y('set() | cannot set "%s" parameter in runtime',e),!1}return!0}},{key:"newTransaction",value:function(e){this._transactions[e.type][e.id]=e,this.emit("newTransaction",{transaction:e})}},{key:"destroyTransaction",value:function(e){delete this._transactions[e.type][e.id],this.emit("transactionDestroyed",{transaction:e})}},{key:"newDialog",value:function(e){this._dialogs[e.id]=e}},{key:"destroyDialog",value:function(e){delete this._dialogs[e.id]}},{key:"newMessage",value:function(e,t){this._applicants[e]=e,this.emit("newMessage",t)}},{key:"destroyMessage",value:function(e){delete this._applicants[e]}},{key:"newRTCSession",value:function(e,t){this._sessions[e.id]=e,this.emit("newRTCSession",t)}},{key:"destroyRTCSession",value:function(e){delete this._sessions[e.id]}},{key:"registered",value:function(e){this.emit("registered",e)}},{key:"unregistered",value:function(e){this.emit("unregistered",e)}},{key:"registrationFailed",value:function(e){this.emit("registrationFailed",e)}},{key:"receiveRequest",value:function(e){var t=e.method;if(e.ruri.user!==this._configuration.uri.user&&e.ruri.user!==this._contact.uri.user)return v("Request-URI does not point to us"),void(e.method!==o.ACK&&e.reply_sl(404));if(e.ruri.scheme!==o.SIPS){if(!l.checkTransaction(this,e)){if(t===o.INVITE?new l.InviteServerTransaction(this,this._transport,e):t!==o.ACK&&t!==o.CANCEL&&new l.NonInviteServerTransaction(this,this._transport,e),t===o.OPTIONS)e.reply(200);else if(t===o.MESSAGE){if(0===this.listeners("newMessage").length)return void e.reply(405);new c(this).init_incoming(e)}else if(t===o.INVITE&&!e.to_tag&&0===this.listeners("newRTCSession").length)return void e.reply(405);var n=void 0,r=void 0;if(e.to_tag)(n=this._findDialog(e.call_id,e.from_tag,e.to_tag))?n.receiveRequest(e):t===o.NOTIFY?(r=this._findSession(e))?r.receiveRequest(e):(v("received NOTIFY request for a non existent subscription"),e.reply(481,"Subscription does not exist")):t!==o.ACK&&e.reply(481);else switch(t){case o.INVITE:if(window.RTCPeerConnection)if(e.hasHeader("replaces")){var i=e.replaces;(n=this._findDialog(i.call_id,i.from_tag,i.to_tag))?(r=n.owner).isEnded()?e.reply(603):r.receiveRequest(e):e.reply(481)}else(r=new s(this)).init_incoming(e);else y("INVITE received but WebRTC is not supported"),e.reply(488);break;case o.BYE:e.reply(481);break;case o.CANCEL:(r=this._findSession(e))?r.receiveRequest(e):v("received CANCEL request for a non existent session");break;case o.ACK:break;default:e.reply(405)}}}else e.reply_sl(416)}},{key:"_findSession",value:function(e){var t=e.call_id,n=e.from_tag,r=e.to_tag,i=t+n,a=this._sessions[i],o=t+r,s=this._sessions[o];return a||(s||null)}},{key:"_findDialog",value:function(e,t,n){var r=e+t+n,i=this._dialogs[r];return i||(r=e+n+t,(i=this._dialogs[r])||null)}},{key:"_loadConfig",value:function(e){try{b.load(this._configuration,e)}catch(e){throw e}0===this._configuration.display_name&&(this._configuration.display_name="0"),this._configuration.instance_id||(this._configuration.instance_id=f.newUUID()),this._configuration.jssip_id=f.createRandomToken(5);var t=this._configuration.uri.clone();t.user=null,this._configuration.hostport_params=t.toString().replace(/^sip:/i,"");try{this._transport=new u(this._configuration.sockets,{max_interval:this._configuration.connection_recovery_max_interval,min_interval:this._configuration.connection_recovery_min_interval}),this._transport.onconnecting=function(e){this.emit("connecting",e)}.bind(this),this._transport.onconnect=function(e){if(this._status===w.STATUS_USER_CLOSED)return;this._status=w.STATUS_READY,this._error=null,this.emit("connected",e),this._dynConfiguration.register&&this._registrator.register()}.bind(this),this._transport.ondisconnect=function(e){var t=!0,n=!1,r=void 0;try{for(var i,a=["nict","ict","nist","ist"][Symbol.iterator]();!(t=(i=a.next()).done);t=!0){var o=i.value;for(var s in this._transactions[o])Object.prototype.hasOwnProperty.call(this._transactions[o],s)&&this._transactions[o][s].onTransportError()}}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}this.emit("disconnected",e),this._registrator.onTransportClosed(),this._status!==w.STATUS_USER_CLOSED&&(this._status=w.STATUS_NOT_READY,this._error=w.NETWORK_ERROR)}.bind(this),this._transport.ondata=function(e){var t=e.transport,n=e.message;if(!(n=m.parseMessage(n,this)))return;if(this._status===w.STATUS_USER_CLOSED&&n instanceof g.IncomingRequest)return;if(!_(n,this,t))return;if(n instanceof g.IncomingRequest)n.transport=t,this.receiveRequest(n);else if(n instanceof g.IncomingResponse){var r=void 0;switch(n.method){case o.INVITE:(r=this._transactions.ict[n.via_branch])&&r.receiveResponse(n);break;case o.ACK:break;default:(r=this._transactions.nict[n.via_branch])&&r.receiveResponse(n)}}}.bind(this)}catch(e){throw y(e),new d.ConfigurationError("sockets",this._configuration.sockets)}if(delete this._configuration.sockets,this._configuration.authorization_user||(this._configuration.authorization_user=this._configuration.uri.user),!this._configuration.registrar_server){var n=this._configuration.uri.clone();n.user=null,n.clearParams(),n.clearHeaders(),this._configuration.registrar_server=n}this._configuration.no_answer_timeout*=1e3,this._configuration.contact_uri?this._configuration.via_host=this._configuration.contact_uri.host:this._configuration.contact_uri=new h("sip",f.createRandomToken(8),this._configuration.via_host,null,{transport:"ws"}),this._contact={pub_gruu:null,temp_gruu:null,uri:this._configuration.contact_uri,toString:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.anonymous||null,n=e.outbound||null,r="<";return r+=t?this.temp_gruu||"sip:anonymous@anonymous.invalid;transport=ws":this.pub_gruu||this.uri.toString(),!n||(t?this.temp_gruu:this.pub_gruu)||(r+=";ob"),r+=">"}};var r=["password","realm","ha1","display_name","register"];for(var i in this._configuration)Object.prototype.hasOwnProperty.call(this._configuration,i)&&(-1!==r.indexOf(i)?Object.defineProperty(this._configuration,i,{writable:!0,configurable:!1}):Object.defineProperty(this._configuration,i,{writable:!1,configurable:!1}));for(var a in v("configuration parameters after validation:"),this._configuration)if(Object.prototype.hasOwnProperty.call(b.settings,a))switch(a){case"uri":case"registrar_server":v("- "+a+": "+this._configuration[a]);break;case"password":case"ha1":v("- "+a+": NOT SHOWN");break;default:v("- "+a+": "+JSON.stringify(this._configuration[a]))}}},{key:"C",get:function(){return w}},{key:"status",get:function(){return this._status}},{key:"contact",get:function(){return this._contact}},{key:"configuration",get:function(){return this._configuration}},{key:"transport",get:function(){return this._transport}}]),n}()},{"./Config":1,"./Constants":2,"./Exceptions":6,"./Grammar":7,"./Message":9,"./Parser":11,"./RTCSession":12,"./Registrator":17,"./SIPMessage":19,"./Transactions":22,"./Transport":23,"./URI":25,"./Utils":26,"./sanityCheck":28,debug:29,events:31}],25:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var l=e("./Constants"),u=e("./Utils"),i=e("./Grammar");t.exports=function(){function c(e,t,n,r){var i=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},a=5<arguments.length&&void 0!==arguments[5]?arguments[5]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),!n)throw new TypeError('missing or invalid "host" parameter');for(var o in this._parameters={},this._headers={},this._scheme=e||l.SIP,this._user=t,this._host=n,this._port=r,i)Object.prototype.hasOwnProperty.call(i,o)&&this.setParam(o,i[o]);for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&this.setHeader(s,a[s])}return r(c,null,[{key:"parse",value:function(e){return-1!==(e=i.parse(e,"SIP_URI"))?e:void 0}}]),r(c,[{key:"setParam",value:function(e,t){e&&(this._parameters[e.toLowerCase()]=null==t?null:t.toString())}},{key:"getParam",value:function(e){if(e)return this._parameters[e.toLowerCase()]}},{key:"hasParam",value:function(e){if(e)return!!this._parameters.hasOwnProperty(e.toLowerCase())}},{key:"deleteParam",value:function(e){if(e=e.toLowerCase(),this._parameters.hasOwnProperty(e)){var t=this._parameters[e];return delete this._parameters[e],t}}},{key:"clearParams",value:function(){this._parameters={}}},{key:"setHeader",value:function(e,t){this._headers[u.headerize(e)]=Array.isArray(t)?t:[t]}},{key:"getHeader",value:function(e){if(e)return this._headers[u.headerize(e)]}},{key:"hasHeader",value:function(e){if(e)return!!this._headers.hasOwnProperty(u.headerize(e))}},{key:"deleteHeader",value:function(e){if(e=u.headerize(e),this._headers.hasOwnProperty(e)){var t=this._headers[e];return delete this._headers[e],t}}},{key:"clearHeaders",value:function(){this._headers={}}},{key:"clone",value:function(){return new c(this._scheme,this._user,this._host,this._port,JSON.parse(JSON.stringify(this._parameters)),JSON.parse(JSON.stringify(this._headers)))}},{key:"toString",value:function(){var e=[],t=this._scheme+":";for(var n in this._user&&(t+=u.escapeUser(this._user)+"@"),t+=this._host,(this._port||0===this._port)&&(t+=":"+this._port),this._parameters)Object.prototype.hasOwnProperty.call(this._parameters,n)&&(t+=";"+n,null!==this._parameters[n]&&(t+="="+this._parameters[n]));for(var r in this._headers)if(Object.prototype.hasOwnProperty.call(this._headers,r)){var i=!0,a=!1,o=void 0;try{for(var s,c=this._headers[r][Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var l=s.value;e.push(r+"="+l)}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}}return 0<e.length&&(t+="?"+e.join("&")),t}},{key:"toAor",value:function(e){var t=this._scheme+":";return this._user&&(t+=u.escapeUser(this._user)+"@"),t+=this._host,e&&(this._port||0===this._port)&&(t+=":"+this._port),t}},{key:"scheme",get:function(){return this._scheme},set:function(e){this._scheme=e.toLowerCase()}},{key:"user",get:function(){return this._user},set:function(e){this._user=e}},{key:"host",get:function(){return this._host},set:function(e){this._host=e.toLowerCase()}},{key:"port",get:function(){return this._port},set:function(e){this._port=0===e?e:parseInt(e,10)||null}}]),c}()},{"./Constants":2,"./Grammar":7,"./Utils":26}],26:[function(e,t,n){"use strict";var _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=e("./Constants"),s=e("./URI"),r=e("./Grammar");n.str_utf8_length=function(e){return unescape(encodeURIComponent(e)).length};var u=n.isFunction=function(e){return void 0!==e&&"[object Function]"===Object.prototype.toString.call(e)};n.isString=function(e){return void 0!==e&&"[object String]"===Object.prototype.toString.call(e)},n.isDecimal=function(e){return!isNaN(e)&&parseFloat(e)===parseInt(e,10)},n.isEmpty=function(e){return null===e||""===e||void 0===e||Array.isArray(e)&&0===e.length||"number"==typeof e&&isNaN(e)},n.hasMethods=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=!0,a=!1,o=void 0;try{for(var s,c=n[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){var l=s.value;if(u(e[l]))return!1}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}return!0};var i=n.createRandomToken=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:32,n=void 0,r="";for(n=0;n<e;n++)r+=(Math.random()*t|0).toString(t);return r};n.newTag=function(){return i(10)},n.newUUID=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},n.hostType=function(e){if(e)return-1!==(e=r.parse(e,"host"))?e.host_type:void 0};var c=n.escapeUser=function(e){return encodeURIComponent(decodeURIComponent(e)).replace(/%3A/gi,":").replace(/%2B/gi,"+").replace(/%3F/gi,"?").replace(/%2F/gi,"/")};n.normalizeTarget=function(e,t){if(e){if(e instanceof s)return e;if("string"!=typeof e)return;var n=e.split("@"),r=void 0,i=void 0;switch(n.length){case 1:if(!t)return;r=e,i=t;break;case 2:r=n[0],i=n[1];break;default:r=n.slice(0,n.length-1).join("@"),i=n[n.length-1]}r=r.replace(/^(sips?|tel):/i,""),/^[-.()]*\+?[0-9\-.()]+$/.test(r)&&(r=r.replace(/[-.()]/g,"")),e=o.SIP+":"+c(r)+"@"+i;var a;return(a=s.parse(e))?a:void 0}},n.headerize=function(e){var t={"Call-Id":"Call-ID",Cseq:"CSeq","Www-Authenticate":"WWW-Authenticate"},n=e.toLowerCase().replace(/_/g,"-").split("-"),r="",i=n.length,a=void 0;for(a=0;a<i;a++)0!==a&&(r+="-"),r+=n[a].charAt(0).toUpperCase()+n[a].substring(1);return t[r]&&(r=t[r]),r},n.sipErrorCause=function(e){for(var t in o.SIP_ERROR_CAUSES)if(-1!==o.SIP_ERROR_CAUSES[t].indexOf(e))return o.causes[t];return o.causes.SIP_FAILURE_CODE},n.getRandomTestNetIP=function(){return"192.0.2."+(e=1,t=254,Math.floor(Math.random()*(t-e+1)+e));var e,t},n.calculateMD5=function(e){function c(e,t){return e<<t|e>>>32-t}function l(e,t){var n=2147483648&e,r=2147483648&t,i=1073741824&e,a=1073741824&t,o=(1073741823&e)+(1073741823&t);return i&a?2147483648^o^n^r:i|a?1073741824&o?3221225472^o^n^r:1073741824^o^n^r:o^n^r}function t(e,t,n,r,i,a,o){var s;return l(c(e=l(e,l(l((s=t)&n|~s&r,i),o)),a),t)}function n(e,t,n,r,i,a,o){var s;return l(c(e=l(e,l(l(t&(s=r)|n&~s,i),o)),a),t)}function r(e,t,n,r,i,a,o){return l(c(e=l(e,l(l(t^n^r,i),o)),a),t)}function i(e,t,n,r,i,a,o){return l(c(e=l(e,l(l(n^(t|~r),i),o)),a),t)}function a(e){var t="",n="",r=void 0;for(r=0;r<=3;r++)t+=(n="0"+(e>>>8*r&255).toString(16)).substr(n.length-2,2);return t}var o,s=void 0,u=void 0,f=void 0,d=void 0,h=void 0,p=void 0,m=void 0,g=void 0,_=void 0;for(o=function(e){for(var t=void 0,n=e.length,r=n+8,i=16*((r-r%64)/64+1),a=new Array(i-1),o=0,s=0;s<n;)o=s%4*8,a[t=(s-s%4)/4]=a[t]|e.charCodeAt(s)<<o,s++;return o=s%4*8,a[t=(s-s%4)/4]=a[t]|128<<o,a[i-2]=n<<3,a[i-1]=n>>>29,a}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):(127<r&&r<2048?t+=String.fromCharCode(r>>6|192):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128)),t+=String.fromCharCode(63&r|128))}return t}(e)),p=1732584193,m=4023233417,g=2562383102,_=271733878,s=0;s<o.length;s+=16)m=i(m=i(m=i(m=i(m=r(m=r(m=r(m=r(m=n(m=n(m=n(m=n(m=t(m=t(m=t(m=t(f=m,g=t(d=g,_=t(h=_,p=t(u=p,m,g,_,o[s+0],7,3614090360),m,g,o[s+1],12,3905402710),p,m,o[s+2],17,606105819),_,p,o[s+3],22,3250441966),g=t(g,_=t(_,p=t(p,m,g,_,o[s+4],7,4118548399),m,g,o[s+5],12,1200080426),p,m,o[s+6],17,2821735955),_,p,o[s+7],22,4249261313),g=t(g,_=t(_,p=t(p,m,g,_,o[s+8],7,1770035416),m,g,o[s+9],12,2336552879),p,m,o[s+10],17,4294925233),_,p,o[s+11],22,2304563134),g=t(g,_=t(_,p=t(p,m,g,_,o[s+12],7,1804603682),m,g,o[s+13],12,4254626195),p,m,o[s+14],17,2792965006),_,p,o[s+15],22,1236535329),g=n(g,_=n(_,p=n(p,m,g,_,o[s+1],5,4129170786),m,g,o[s+6],9,3225465664),p,m,o[s+11],14,643717713),_,p,o[s+0],20,3921069994),g=n(g,_=n(_,p=n(p,m,g,_,o[s+5],5,3593408605),m,g,o[s+10],9,38016083),p,m,o[s+15],14,3634488961),_,p,o[s+4],20,3889429448),g=n(g,_=n(_,p=n(p,m,g,_,o[s+9],5,568446438),m,g,o[s+14],9,3275163606),p,m,o[s+3],14,4107603335),_,p,o[s+8],20,1163531501),g=n(g,_=n(_,p=n(p,m,g,_,o[s+13],5,2850285829),m,g,o[s+2],9,4243563512),p,m,o[s+7],14,1735328473),_,p,o[s+12],20,2368359562),g=r(g,_=r(_,p=r(p,m,g,_,o[s+5],4,4294588738),m,g,o[s+8],11,2272392833),p,m,o[s+11],16,1839030562),_,p,o[s+14],23,4259657740),g=r(g,_=r(_,p=r(p,m,g,_,o[s+1],4,2763975236),m,g,o[s+4],11,1272893353),p,m,o[s+7],16,4139469664),_,p,o[s+10],23,3200236656),g=r(g,_=r(_,p=r(p,m,g,_,o[s+13],4,681279174),m,g,o[s+0],11,3936430074),p,m,o[s+3],16,3572445317),_,p,o[s+6],23,76029189),g=r(g,_=r(_,p=r(p,m,g,_,o[s+9],4,3654602809),m,g,o[s+12],11,3873151461),p,m,o[s+15],16,530742520),_,p,o[s+2],23,3299628645),g=i(g,_=i(_,p=i(p,m,g,_,o[s+0],6,4096336452),m,g,o[s+7],10,1126891415),p,m,o[s+14],15,2878612391),_,p,o[s+5],21,4237533241),g=i(g,_=i(_,p=i(p,m,g,_,o[s+12],6,1700485571),m,g,o[s+3],10,2399980690),p,m,o[s+10],15,4293915773),_,p,o[s+1],21,2240044497),g=i(g,_=i(_,p=i(p,m,g,_,o[s+8],6,1873313359),m,g,o[s+15],10,4264355552),p,m,o[s+6],15,2734768916),_,p,o[s+13],21,1309151649),g=i(g,_=i(_,p=i(p,m,g,_,o[s+4],6,4149444226),m,g,o[s+11],10,3174756917),p,m,o[s+2],15,718787259),_,p,o[s+9],21,3951481745),p=l(p,u),m=l(m,f),g=l(g,d),_=l(_,h);return(a(p)+a(m)+a(g)+a(_)).toLowerCase()},n.closeMediaStream=function(t){if(t)try{var e=void 0;if(t.getTracks){e=t.getTracks();var n=!0,r=!1,i=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){a.value.stop()}}catch(e){r=!0,i=e}finally{try{!n&&o.return&&o.return()}finally{if(r)throw i}}}else{e=t.getAudioTracks();var s=!0,c=!1,l=void 0;try{for(var u,f=e[Symbol.iterator]();!(s=(u=f.next()).done);s=!0){u.value.stop()}}catch(e){c=!0,l=e}finally{try{!s&&f.return&&f.return()}finally{if(c)throw l}}e=t.getVideoTracks();var d=!0,h=!1,p=void 0;try{for(var m,g=e[Symbol.iterator]();!(d=(m=g.next()).done);d=!0){m.value.stop()}}catch(e){h=!0,p=e}finally{try{!d&&g.return&&g.return()}finally{if(h)throw p}}}}catch(e){"function"!=typeof t.stop&&"object"!==_(t.stop)||t.stop()}},n.cloneArray=function(e){return e&&e.slice()||[]}},{"./Constants":2,"./Grammar":7,"./URI":25}],27:[function(e,t,n){"use strict";var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}();var i=e("./Grammar"),a=e("debug")("JsSIP:WebSocketInterface"),o=e("debug")("JsSIP:ERROR:WebSocketInterface");o.log=console.warn.bind(console),t.exports=function(){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),a('new() [url:"%s"]',e),this._url=e,this._sip_uri=null,this._via_transport=null,this._ws=null;var t=i.parse(e,"absoluteURI");if(-1===t)throw o("invalid WebSocket URI: "+e),new TypeError("Invalid argument: "+e);if("wss"!==t.scheme&&"ws"!==t.scheme)throw o("invalid WebSocket URI scheme: "+t.scheme),new TypeError("Invalid argument: "+e);this._sip_uri="sip:"+t.host+(t.port?":"+t.port:"")+";transport=ws",this._via_transport=t.scheme.toUpperCase()}return r(n,[{key:"connect",value:function(){if(a("connect()"),this.isConnected())a("WebSocket "+this._url+" is already connected");else if(this.isConnecting())a("WebSocket "+this._url+" is connecting");else{this._ws&&this.disconnect(),a("connecting to WebSocket "+this._url);try{this._ws=new WebSocket(this._url,"sip"),this._ws.binaryType="arraybuffer",this._ws.onopen=this._onOpen.bind(this),this._ws.onclose=this._onClose.bind(this),this._ws.onmessage=this._onMessage.bind(this),this._ws.onerror=this._onError.bind(this)}catch(e){this._onError(e)}}}},{key:"disconnect",value:function(){a("disconnect()"),this._ws&&(this._ws.onopen=function(){},this._ws.onclose=function(){},this._ws.onmessage=function(){},this._ws.onerror=function(){},this._ws.close(),this._ws=null)}},{key:"send",value:function(e){return a("send()"),this.isConnected()?(this._ws.send(e),!0):(o("unable to send message, WebSocket is not open"),!1)}},{key:"isConnected",value:function(){return this._ws&&this._ws.readyState===this._ws.OPEN}},{key:"isConnecting",value:function(){return this._ws&&this._ws.readyState===this._ws.CONNECTING}},{key:"_onOpen",value:function(){a("WebSocket "+this._url+" connected"),this.onconnect()}},{key:"_onClose",value:function(e){var t=e.wasClean,n=e.code,r=e.reason;a("WebSocket "+this._url+" closed"),!1===t&&a("WebSocket abrupt disconnection");var i={socket:this,error:!t,code:n,reason:r};this.ondisconnect(i)}},{key:"_onMessage",value:function(e){var t=e.data;a("received WebSocket message"),this.ondata(t)}},{key:"_onError",value:function(e){o("WebSocket "+this._url+" error: "+e)}},{key:"via_transport",get:function(){return this._via_transport},set:function(e){this._via_transport=e.toUpperCase()}},{key:"sip_uri",get:function(){return this._sip_uri}},{key:"url",get:function(){return this._url}}]),n}()},{"./Grammar":7,debug:29}],28:[function(e,t,n){"use strict";var l=e("./Constants"),b=e("./SIPMessage"),u=e("./Utils"),o=e("debug")("JsSIP:sanityCheck"),v=[function(){var e=!0,t=!1,n=void 0;try{for(var r,i=["from","to","call_id","cseq","via"][Symbol.iterator]();!(e=(r=i.next()).done);e=!0){var a=r.value;if(!C.hasHeader(a))return o("missing mandatory header field : "+a+", dropping the response"),!1}}catch(e){t=!0,n=e}finally{try{!e&&i.return&&i.return()}finally{if(t)throw n}}}],y=[function(){if("sip"!==C.s("to").uri.scheme)return s(416),!1},function(){if(!C.to_tag&&C.call_id.substr(0,5)===A.configuration.jssip_id)return s(482),!1},function(){var e=u.str_utf8_length(C.body),t=C.getHeader("content-length");if(e<t)return s(400),!1},function(){var e=C.from_tag,t=C.call_id,n=C.cseq,r=void 0;if(C.to_tag)return;if(C.method===l.INVITE){if(A._transactions.ist[C.via_branch])return!1;for(var i in A._transactions.ist)if(Object.prototype.hasOwnProperty.call(A._transactions.ist,i)&&(r=A._transactions.ist[i]).request.from_tag===e&&r.request.call_id===t&&r.request.cseq===n)return s(482),!1}else{if(A._transactions.nist[C.via_branch])return!1;for(var a in A._transactions.nist)if(Object.prototype.hasOwnProperty.call(A._transactions.nist,a)&&(r=A._transactions.nist[a]).request.from_tag===e&&r.request.call_id===t&&r.request.cseq===n)return s(482),!1}}],w=[function(){if(1<C.getHeaders("via").length)return o("more than one Via header field present in the response, dropping the response"),!1},function(){var e=u.str_utf8_length(C.body),t=C.getHeader("content-length");if(e<t)return o("message body length is lower than the value in Content-Length header field, dropping the response"),!1}],C=void 0,A=void 0,S=void 0;function s(e){var t=C.getHeaders("via"),n=void 0,r="SIP/2.0 "+e+" "+l.REASON_PHRASE[e]+"\r\n",i=!0,a=!1,o=void 0;try{for(var s,c=t[Symbol.iterator]();!(i=(s=c.next()).done);i=!0){r+="Via: "+s.value+"\r\n"}}catch(e){a=!0,o=e}finally{try{!i&&c.return&&c.return()}finally{if(a)throw o}}n=C.getHeader("To"),C.to_tag||(n+=";tag="+u.newTag()),r+="To: "+n+"\r\n",r+="From: "+C.getHeader("From")+"\r\n",r+="Call-ID: "+C.call_id+"\r\n",r+="CSeq: "+C.cseq+" "+C.method+"\r\n",r+="\r\n",S.send(r)}t.exports=function(e,t,n){C=e,A=t,S=n;var r=!0,i=!1,a=void 0;try{for(var o,s=v[Symbol.iterator]();!(r=(o=s.next()).done);r=!0){if(!1===(0,o.value)())return!1}}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}if(C instanceof b.IncomingRequest){var c=!0,l=!1,u=void 0;try{for(var f,d=y[Symbol.iterator]();!(c=(f=d.next()).done);c=!0){if(!1===(0,f.value)())return!1}}catch(e){l=!0,u=e}finally{try{!c&&d.return&&d.return()}finally{if(l)throw u}}}else if(C instanceof b.IncomingResponse){var h=!0,p=!1,m=void 0;try{for(var g,_=w[Symbol.iterator]();!(h=(g=_.next()).done);h=!0){if(!1===(0,g.value)())return!1}}catch(e){p=!0,m=e}finally{try{!h&&_.return&&_.return()}finally{if(p)throw m}}}return!0}},{"./Constants":2,"./SIPMessage":19,"./Utils":26,debug:29}],29:[function(n,r,a){(function(t){function e(){var e;try{e=a.storage.debug}catch(e){}return!e&&void 0!==t&&"env"in t&&(e=t.env.DEBUG),e}(a=r.exports=n("./debug")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},a.formatArgs=function(e){var t=this.useColors;if(e[0]=(t?"%c":"")+this.namespace+(t?" %c":" ")+e[0]+(t?"%c ":" ")+"+"+a.humanize(this.diff),!t)return;var n="color: "+this.color;e.splice(1,0,n,"color: inherit");var r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,function(e){"%%"!==e&&(r++,"%c"===e&&(i=r))}),e.splice(i,0,n)},a.save=function(e){try{null==e?a.storage.removeItem("debug"):a.storage.debug=e}catch(e){}},a.load=e,a.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&31<=parseInt(RegExp.$1,10)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},a.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),a.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],a.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},a.enable(e())}).call(this,n("_process"))},{"./debug":30,_process:33}],30:[function(e,t,c){function n(e){var r;function s(){if(s.enabled){var i=s,e=+new Date,t=e-(r||e);i.diff=t,i.prev=r,i.curr=e,r=e;for(var a=new Array(arguments.length),n=0;n<a.length;n++)a[n]=arguments[n];a[0]=c.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var o=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,function(e,t){if("%%"===e)return e;o++;var n=c.formatters[t];if("function"==typeof n){var r=a[o];e=n.call(i,r),a.splice(o,1),o--}return e}),c.formatArgs.call(i,a),(s.log||c.log||console.log.bind(console)).apply(i,a)}}return s.namespace=e,s.enabled=c.enabled(e),s.useColors=c.useColors(),s.color=function(e){var t,n=0;for(t in e)n=(n<<5)-n+e.charCodeAt(t),n|=0;return c.colors[Math.abs(n)%c.colors.length]}(e),s.destroy=i,"function"==typeof c.init&&c.init(s),c.instances.push(s),s}function i(){var e=c.instances.indexOf(this);return-1!==e&&(c.instances.splice(e,1),!0)}(c=t.exports=n.debug=n.default=n).coerce=function(e){return e instanceof Error?e.stack||e.message:e},c.disable=function(){c.enable("")},c.enable=function(e){var t;c.save(e),c.names=[],c.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?c.skips.push(new RegExp("^"+e.substr(1)+"$")):c.names.push(new RegExp("^"+e+"$")));for(t=0;t<c.instances.length;t++){var i=c.instances[t];i.enabled=c.enabled(i.namespace)}},c.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=c.skips.length;t<n;t++)if(c.skips[t].test(e))return!1;for(t=0,n=c.names.length;t<n;t++)if(c.names[t].test(e))return!0;return!1},c.humanize=e("ms"),c.instances=[],c.names=[],c.skips=[],c.formatters={}},{ms:32}],31:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function c(e){return"function"==typeof e}function l(e){return"object"==typeof e&&null!==e}function u(e){return void 0===e}((t.exports=r).EventEmitter=r).prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,n,r,i,a,o;if(this._events||(this._events={}),"error"===e&&(!this._events.error||l(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var s=new Error('Uncaught, unspecified "error" event. ('+t+")");throw s.context=t,s}if(u(n=this._events[e]))return!1;if(c(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:i=Array.prototype.slice.call(arguments,1),n.apply(this,i)}else if(l(n))for(i=Array.prototype.slice.call(arguments,1),r=(o=n.slice()).length,a=0;a<r;a++)o[a].apply(this,i);return!0},r.prototype.on=r.prototype.addListener=function(e,t){var n;if(!c(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,c(t.listener)?t.listener:t),this._events[e]?l(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,l(this._events[e])&&!this._events[e].warned&&(n=u(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&0<n&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.once=function(e,t){if(!c(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var n,r,i,a;if(!c(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(n=this._events[e]).length,r=-1,n===t||c(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(l(n)){for(a=i;0<a--;)if(n[a]===t||n[a].listener&&n[a].listener===t){r=a;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(c(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?c(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(c(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],32:[function(e,t,n){function i(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}t.exports=function(e,t){t=t||{};var n,r=typeof e;if("string"===r&&0<e.length)return function(e){if(100<(e=String(e)).length)return;var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!t)return;var n=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*n;case"days":case"day":case"d":return 864e5*n;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*n;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*n;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return n;default:return}}(e);if("number"===r&&!1===isNaN(e))return t.long?i(n=e,864e5,"day")||i(n,36e5,"hour")||i(n,6e4,"minute")||i(n,1e3,"second")||n+" ms":function(e){if(864e5<=e)return Math.round(e/864e5)+"d";if(36e5<=e)return Math.round(e/36e5)+"h";if(6e4<=e)return Math.round(e/6e4)+"m";if(1e3<=e)return Math.round(e/1e3)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},{}],33:[function(e,t,n){var r,i,a=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function c(t){if(r===setTimeout)return setTimeout(t,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{i="function"==typeof clearTimeout?clearTimeout:s}catch(e){i=s}}();var l,u=[],f=!1,d=-1;function h(){f&&l&&(f=!1,l.length?u=l.concat(u):d=-1,u.length&&p())}function p(){if(!f){var e=c(h);f=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,f=!1,function(t){if(i===clearTimeout)return clearTimeout(t);if((i===s||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(t);try{i(t)}catch(e){try{return i.call(null,t)}catch(e){return i.call(this,t)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new m(e,t)),1!==u.length||f||c(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],34:[function(e,t,n){"use strict";var N=e("sdp");function c(e,t,n,r,i){var a=N.writeRtpDescription(e.kind,t);if(a+=N.writeIceParameters(e.iceGatherer.getLocalParameters()),a+=N.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===n?"actpass":i||"active"),a+="a=mid:"+e.mid+"\r\n",e.rtpSender&&e.rtpReceiver?a+="a=sendrecv\r\n":e.rtpSender?a+="a=sendonly\r\n":e.rtpReceiver?a+="a=recvonly\r\n":a+="a=inactive\r\n",e.rtpSender){var o="msid:"+(r?r.id:"-")+" "+e.rtpSender.track.id+"\r\n";a+="a="+o,a+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+o,e.sendEncodingParameters[0].rtx&&(a+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+o,a+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return a+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+N.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(a+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+N.localCName+"\r\n"),a}function p(l,u){var f={codecs:[],headerExtensions:[],fecMechanisms:[]},d=function(e,t){e=parseInt(e,10);for(var n=0;n<t.length;n++)if(t[n].payloadType===e||t[n].preferredPayloadType===e)return t[n]};return l.codecs.forEach(function(n){for(var e=0;e<u.codecs.length;e++){var t=u.codecs[e];if(n.name.toLowerCase()===t.name.toLowerCase()&&n.clockRate===t.clockRate){if("rtx"===n.name.toLowerCase()&&n.parameters&&t.parameters.apt&&(r=n,i=t,a=l.codecs,o=u.codecs,c=s=void 0,s=d(r.parameters.apt,a),c=d(i.parameters.apt,o),!s||!c||s.name.toLowerCase()!==c.name.toLowerCase()))continue;(t=JSON.parse(JSON.stringify(t))).numChannels=Math.min(n.numChannels,t.numChannels),f.codecs.push(t),t.rtcpFeedback=t.rtcpFeedback.filter(function(e){for(var t=0;t<n.rtcpFeedback.length;t++)if(n.rtcpFeedback[t].type===e.type&&n.rtcpFeedback[t].parameter===e.parameter)return!0;return!1});break}}var r,i,a,o,s,c}),l.headerExtensions.forEach(function(e){for(var t=0;t<u.headerExtensions.length;t++){var n=u.headerExtensions[t];if(e.uri===n.uri){f.headerExtensions.push(n);break}}}),f}function a(e,t,n){return-1!=={offer:{setLocalDescription:["stable","have-local-offer"],setRemoteDescription:["stable","have-remote-offer"]},answer:{setLocalDescription:["have-remote-offer","have-local-pranswer"],setRemoteDescription:["have-local-offer","have-remote-pranswer"]}}[t][e].indexOf(n)}function L(e,t){var n=e.getRemoteCandidates().find(function(e){return t.foundation===e.foundation&&t.ip===e.ip&&t.port===e.port&&t.priority===e.priority&&t.protocol===e.protocol&&t.type===e.type});return n||e.addRemoteCandidate(t),!n}function m(e,t){var n=new Error(t);return n.name=e,n}t.exports=function($,O){function R(e,t){t.addTrack(e),t.dispatchEvent(new $.MediaStreamTrackEvent("addtrack",{track:e}))}function i(e,t,n,r){var i=new Event("track");i.track=t,i.receiver=n,i.transceiver={receiver:n},i.streams=r,$.setTimeout(function(){e._dispatchEvent("track",i)})}var r=function(e){var t,r,i,n=this,a=document.createDocumentFragment();if(["addEventListener","removeEventListener","dispatchEvent"].forEach(function(e){n[e]=a[e].bind(a)}),this.canTrickleIceCandidates=null,this.needNegotiation=!1,this.localStreams=[],this.remoteStreams=[],this.localDescription=null,this.remoteDescription=null,this.signalingState="stable",this.iceConnectionState="new",this.iceGatheringState="new",e=JSON.parse(JSON.stringify(e||{})),this.usingBundle="max-bundle"===e.bundlePolicy,"negotiate"===e.rtcpMuxPolicy)throw m("NotSupportedError","rtcpMuxPolicy 'negotiate' is not supported");switch(e.rtcpMuxPolicy||(e.rtcpMuxPolicy="require"),e.iceTransportPolicy){case"all":case"relay":break;default:e.iceTransportPolicy="all"}switch(e.bundlePolicy){case"balanced":case"max-compat":case"max-bundle":break;default:e.bundlePolicy="balanced"}if(e.iceServers=(t=e.iceServers||[],r=O,i=!1,(t=JSON.parse(JSON.stringify(t))).filter(function(e){if(e&&(e.urls||e.url)){var t=e.urls||e.url;e.url&&!e.urls&&console.warn("RTCIceServer.url is deprecated! Use urls instead.");var n="string"==typeof t;return n&&(t=[t]),t=t.filter(function(e){return 0!==e.indexOf("turn:")||-1===e.indexOf("transport=udp")||-1!==e.indexOf("turn:[")||i?0===e.indexOf("stun:")&&14393<=r&&-1===e.indexOf("?transport=udp"):i=!0}),delete e.url,e.urls=n?t[0]:t,!!t.length}})),this._iceGatherers=[],e.iceCandidatePoolSize)for(var o=e.iceCandidatePoolSize;0<o;o--)this._iceGatherers.push(new $.RTCIceGatherer({iceServers:e.iceServers,gatherPolicy:e.iceTransportPolicy}));else e.iceCandidatePoolSize=0;this._config=e,this.transceivers=[],this._sdpSessionId=N.generateSessionId(),this._sdpSessionVersion=0,this._dtlsRole=void 0,this._isClosed=!1};r.prototype.onicecandidate=null,r.prototype.onaddstream=null,r.prototype.ontrack=null,r.prototype.onremovestream=null,r.prototype.onsignalingstatechange=null,r.prototype.oniceconnectionstatechange=null,r.prototype.onicegatheringstatechange=null,r.prototype.onnegotiationneeded=null,r.prototype.ondatachannel=null,r.prototype._dispatchEvent=function(e,t){this._isClosed||(this.dispatchEvent(t),"function"==typeof this["on"+e]&&this["on"+e](t))},r.prototype._emitGatheringStateChange=function(){var e=new Event("icegatheringstatechange");this._dispatchEvent("icegatheringstatechange",e)},r.prototype.getConfiguration=function(){return this._config},r.prototype.getLocalStreams=function(){return this.localStreams},r.prototype.getRemoteStreams=function(){return this.remoteStreams},r.prototype._createTransceiver=function(e){var t=0<this.transceivers.length,n={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:e,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,associatedRemoteMediaStreams:[],wantReceive:!0};if(this.usingBundle&&t)n.iceTransport=this.transceivers[0].iceTransport,n.dtlsTransport=this.transceivers[0].dtlsTransport;else{var r=this._createIceAndDtlsTransports();n.iceTransport=r.iceTransport,n.dtlsTransport=r.dtlsTransport}return this.transceivers.push(n),n},r.prototype.addTrack=function(t,e){if(this._isClosed)throw m("InvalidStateError","Attempted to call addTrack on a closed peerconnection.");var n;if(this.transceivers.find(function(e){return e.track===t}))throw m("InvalidAccessError","Track already exists.");for(var r=0;r<this.transceivers.length;r++)this.transceivers[r].track||this.transceivers[r].kind!==t.kind||(n=this.transceivers[r]);return n||(n=this._createTransceiver(t.kind)),this._maybeFireNegotiationNeeded(),-1===this.localStreams.indexOf(e)&&this.localStreams.push(e),n.track=t,n.stream=e,n.rtpSender=new $.RTCRtpSender(t,n.dtlsTransport),n.rtpSender},r.prototype.addStream=function(t){var n=this;if(15025<=O)t.getTracks().forEach(function(e){n.addTrack(e,t)});else{var r=t.clone();t.getTracks().forEach(function(e,t){var n=r.getTracks()[t];e.addEventListener("enabled",function(e){n.enabled=e.enabled})}),r.getTracks().forEach(function(e){n.addTrack(e,r)})}},r.prototype.removeTrack=function(t){if(this._isClosed)throw m("InvalidStateError","Attempted to call removeTrack on a closed peerconnection.");if(!(t instanceof $.RTCRtpSender))throw new TypeError("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.");var e=this.transceivers.find(function(e){return e.rtpSender===t});if(!e)throw m("InvalidAccessError","Sender was not created by this connection.");var n=e.stream;e.rtpSender.stop(),e.rtpSender=null,e.track=null,e.stream=null,-1===this.transceivers.map(function(e){return e.stream}).indexOf(n)&&-1<this.localStreams.indexOf(n)&&this.localStreams.splice(this.localStreams.indexOf(n),1),this._maybeFireNegotiationNeeded()},r.prototype.removeStream=function(e){var n=this;e.getTracks().forEach(function(t){var e=n.getSenders().find(function(e){return e.track===t});e&&n.removeTrack(e)})},r.prototype.getSenders=function(){return this.transceivers.filter(function(e){return!!e.rtpSender}).map(function(e){return e.rtpSender})},r.prototype.getReceivers=function(){return this.transceivers.filter(function(e){return!!e.rtpReceiver}).map(function(e){return e.rtpReceiver})},r.prototype._createIceGatherer=function(n,e){var r=this;if(e&&0<n)return this.transceivers[0].iceGatherer;if(this._iceGatherers.length)return this._iceGatherers.shift();var i=new $.RTCIceGatherer({iceServers:this._config.iceServers,gatherPolicy:this._config.iceTransportPolicy});return Object.defineProperty(i,"state",{value:"new",writable:!0}),this.transceivers[n].bufferedCandidateEvents=[],this.transceivers[n].bufferCandidates=function(e){var t=!e.candidate||0===Object.keys(e.candidate).length;i.state=t?"completed":"gathering",null!==r.transceivers[n].bufferedCandidateEvents&&r.transceivers[n].bufferedCandidateEvents.push(e)},i.addEventListener("localcandidate",this.transceivers[n].bufferCandidates),i},r.prototype._gather=function(s,c){var l=this,u=this.transceivers[c].iceGatherer;if(!u.onlocalcandidate){var e=this.transceivers[c].bufferedCandidateEvents;this.transceivers[c].bufferedCandidateEvents=null,u.removeEventListener("localcandidate",this.transceivers[c].bufferCandidates),u.onlocalcandidate=function(e){if(!(l.usingBundle&&0<c)){var t=new Event("icecandidate");t.candidate={sdpMid:s,sdpMLineIndex:c};var n=e.candidate,r=!n||0===Object.keys(n).length;if(r)"new"!==u.state&&"gathering"!==u.state||(u.state="completed");else{"new"===u.state&&(u.state="gathering"),n.component=1;var i=N.writeCandidate(n);t.candidate=Object.assign(t.candidate,N.parseCandidate(i)),t.candidate.candidate=i}var a=N.splitSections(l.localDescription.sdp);a[t.candidate.sdpMLineIndex+1]+=r?"a=end-of-candidates\r\n":"a="+t.candidate.candidate+"\r\n",l.localDescription.sdp=a.join("");var o=l.transceivers.every(function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state});"gathering"!==l.iceGatheringState&&(l.iceGatheringState="gathering",l._emitGatheringStateChange()),r||l._dispatchEvent("icecandidate",t),o&&(l._dispatchEvent("icecandidate",new Event("icecandidate")),l.iceGatheringState="complete",l._emitGatheringStateChange())}},$.setTimeout(function(){e.forEach(function(e){u.onlocalcandidate(e)})},0)}},r.prototype._createIceAndDtlsTransports=function(){var e=this,t=new $.RTCIceTransport(null);t.onicestatechange=function(){e._updateConnectionState()};var n=new $.RTCDtlsTransport(t);return n.ondtlsstatechange=function(){e._updateConnectionState()},n.onerror=function(){Object.defineProperty(n,"state",{value:"failed",writable:!0}),e._updateConnectionState()},{iceTransport:t,dtlsTransport:n}},r.prototype._disposeIceAndDtlsTransports=function(e){var t=this.transceivers[e].iceGatherer;t&&(delete t.onlocalcandidate,delete this.transceivers[e].iceGatherer);var n=this.transceivers[e].iceTransport;n&&(delete n.onicestatechange,delete this.transceivers[e].iceTransport);var r=this.transceivers[e].dtlsTransport;r&&(delete r.ondtlsstatechange,delete r.onerror,delete this.transceivers[e].dtlsTransport)},r.prototype._transceive=function(e,t,n){var r=p(e.localCapabilities,e.remoteCapabilities);t&&e.rtpSender&&(r.encodings=e.sendEncodingParameters,r.rtcp={cname:N.localCName,compound:e.rtcpParameters.compound},e.recvEncodingParameters.length&&(r.rtcp.ssrc=e.recvEncodingParameters[0].ssrc),e.rtpSender.send(r)),n&&e.rtpReceiver&&0<r.codecs.length&&("video"===e.kind&&e.recvEncodingParameters&&O<15019&&e.recvEncodingParameters.forEach(function(e){delete e.rtx}),e.recvEncodingParameters.length&&(r.encodings=e.recvEncodingParameters),r.rtcp={compound:e.rtcpParameters.compound},e.rtcpParameters.cname&&(r.rtcp.cname=e.rtcpParameters.cname),e.sendEncodingParameters.length&&(r.rtcp.ssrc=e.sendEncodingParameters[0].ssrc),e.rtpReceiver.receive(r))},r.prototype.setLocalDescription=function(e){var t,f,d=this;if(-1===["offer","answer"].indexOf(e.type))return Promise.reject(m("TypeError",'Unsupported type "'+e.type+'"'));if(!a("setLocalDescription",e.type,d.signalingState)||d._isClosed)return Promise.reject(m("InvalidStateError","Can not set local "+e.type+" in state "+d.signalingState));if("offer"===e.type)t=N.splitSections(e.sdp),f=t.shift(),t.forEach(function(e,t){var n=N.parseRtpParameters(e);d.transceivers[t].localCapabilities=n}),d.transceivers.forEach(function(e,t){d._gather(e.mid,t)});else if("answer"===e.type){t=N.splitSections(d.remoteDescription.sdp),f=t.shift();var h=0<N.matchPrefix(f,"a=ice-lite").length;t.forEach(function(e,t){var n=d.transceivers[t],r=n.iceGatherer,i=n.iceTransport,a=n.dtlsTransport,o=n.localCapabilities,s=n.remoteCapabilities;if(!(N.isRejected(e)&&0===N.matchPrefix(e,"a=bundle-only").length)&&!n.isDatachannel){var c=N.getIceParameters(e,f),l=N.getDtlsParameters(e,f);h&&(l.role="server"),d.usingBundle&&0!==t||(d._gather(n.mid,t),"new"===i.state&&i.start(r,c,h?"controlling":"controlled"),"new"===a.state&&a.start(l));var u=p(o,s);d._transceive(n,0<u.codecs.length,!1)}})}return d.localDescription={type:e.type,sdp:e.sdp},"offer"===e.type?d._updateSignalingState("have-local-offer"):d._updateSignalingState("stable"),Promise.resolve()},r.prototype.setRemoteDescription=function(x){var k=this;if(-1===["offer","answer"].indexOf(x.type))return Promise.reject(m("TypeError",'Unsupported type "'+x.type+'"'));if(!a("setRemoteDescription",x.type,k.signalingState)||k._isClosed)return Promise.reject(m("InvalidStateError","Can not set remote "+x.type+" in state "+k.signalingState));var E={};k.remoteStreams.forEach(function(e){E[e.id]=e});var D=[],e=N.splitSections(x.sdp),I=e.shift(),P=0<N.matchPrefix(I,"a=ice-lite").length,M=0<N.matchPrefix(I,"a=group:BUNDLE ").length;k.usingBundle=M;var t=N.matchPrefix(I,"a=ice-options:")[0];return k.canTrickleIceCandidates=!!t&&0<=t.substr(14).split(" ").indexOf("trickle"),e.forEach(function(e,t){var n=N.splitLines(e),r=N.getKind(e),i=N.isRejected(e)&&0===N.matchPrefix(e,"a=bundle-only").length,a=n[0].substr(2).split(" ")[2],o=N.getDirection(e,I),s=N.parseMsid(e),c=N.getMid(e)||N.generateIdentifier();if("application"!==r||"DTLS/SCTP"!==a){var l,u,f,d,h,p,m,g,_,b,v,y=N.parseRtpParameters(e);i||(b=N.getIceParameters(e,I),(v=N.getDtlsParameters(e,I)).role="client"),m=N.parseRtpEncodingParameters(e);var w=N.parseRtcpParameters(e),C=0<N.matchPrefix(e,"a=end-of-candidates",I).length,A=N.matchPrefix(e,"a=candidate:").map(function(e){return N.parseCandidate(e)}).filter(function(e){return 1===e.component});if(("offer"===x.type||"answer"===x.type)&&!i&&M&&0<t&&k.transceivers[t]&&(k._disposeIceAndDtlsTransports(t),k.transceivers[t].iceGatherer=k.transceivers[0].iceGatherer,k.transceivers[t].iceTransport=k.transceivers[0].iceTransport,k.transceivers[t].dtlsTransport=k.transceivers[0].dtlsTransport,k.transceivers[t].rtpSender&&k.transceivers[t].rtpSender.setTransport(k.transceivers[0].dtlsTransport),k.transceivers[t].rtpReceiver&&k.transceivers[t].rtpReceiver.setTransport(k.transceivers[0].dtlsTransport)),"offer"!==x.type||i)"answer"!==x.type||i||(u=(l=k.transceivers[t]).iceGatherer,f=l.iceTransport,d=l.dtlsTransport,h=l.rtpReceiver,p=l.sendEncodingParameters,g=l.localCapabilities,k.transceivers[t].recvEncodingParameters=m,k.transceivers[t].remoteCapabilities=y,k.transceivers[t].rtcpParameters=w,A.length&&"new"===f.state&&(!P&&!C||M&&0!==t?A.forEach(function(e){L(l.iceTransport,e)}):f.setRemoteCandidates(A)),M&&0!==t||("new"===f.state&&f.start(u,b,"controlling"),"new"===d.state&&d.start(v)),k._transceive(l,"sendrecv"===o||"recvonly"===o,"sendrecv"===o||"sendonly"===o),!h||"sendrecv"!==o&&"sendonly"!==o?delete l.rtpReceiver:(_=h.track,s?(E[s.stream]||(E[s.stream]=new $.MediaStream),R(_,E[s.stream]),D.push([_,h,E[s.stream]])):(E.default||(E.default=new $.MediaStream),R(_,E.default),D.push([_,h,E.default]))));else{(l=k.transceivers[t]||k._createTransceiver(r)).mid=c,l.iceGatherer||(l.iceGatherer=k._createIceGatherer(t,M)),A.length&&"new"===l.iceTransport.state&&(!C||M&&0!==t?A.forEach(function(e){L(l.iceTransport,e)}):l.iceTransport.setRemoteCandidates(A)),g=$.RTCRtpReceiver.getCapabilities(r),O<15019&&(g.codecs=g.codecs.filter(function(e){return"rtx"!==e.name})),p=l.sendEncodingParameters||[{ssrc:1001*(2*t+2)}];var S,T=!1;if("sendrecv"===o||"sendonly"===o){if(T=!l.rtpReceiver,h=l.rtpReceiver||new $.RTCRtpReceiver(l.dtlsTransport,r),T)_=h.track,s&&"-"===s.stream||(S=s?(E[s.stream]||(E[s.stream]=new $.MediaStream,Object.defineProperty(E[s.stream],"id",{get:function(){return s.stream}})),Object.defineProperty(_,"id",{get:function(){return s.track}}),E[s.stream]):(E.default||(E.default=new $.MediaStream),E.default)),S&&(R(_,S),l.associatedRemoteMediaStreams.push(S)),D.push([_,h,S])}else l.rtpReceiver&&l.rtpReceiver.track&&(l.associatedRemoteMediaStreams.forEach(function(e){var t,n,r=e.getTracks().find(function(e){return e.id===l.rtpReceiver.track.id});r&&(t=r,(n=e).removeTrack(t),n.dispatchEvent(new $.MediaStreamTrackEvent("removetrack",{track:t})))}),l.associatedRemoteMediaStreams=[]);l.localCapabilities=g,l.remoteCapabilities=y,l.rtpReceiver=h,l.rtcpParameters=w,l.sendEncodingParameters=p,l.recvEncodingParameters=m,k._transceive(k.transceivers[t],!1,T)}}else k.transceivers[t]={mid:c,isDatachannel:!0}}),void 0===k._dtlsRole&&(k._dtlsRole="offer"===x.type?"active":"passive"),k.remoteDescription={type:x.type,sdp:x.sdp},"offer"===x.type?k._updateSignalingState("have-remote-offer"):k._updateSignalingState("stable"),Object.keys(E).forEach(function(e){var r=E[e];if(r.getTracks().length){if(-1===k.remoteStreams.indexOf(r)){k.remoteStreams.push(r);var t=new Event("addstream");t.stream=r,$.setTimeout(function(){k._dispatchEvent("addstream",t)})}D.forEach(function(e){var t=e[0],n=e[1];r.id===e[2].id&&i(k,t,n,[r])})}}),D.forEach(function(e){e[2]||i(k,e[0],e[1],[])}),$.setTimeout(function(){k&&k.transceivers&&k.transceivers.forEach(function(e){e.iceTransport&&"new"===e.iceTransport.state&&0<e.iceTransport.getRemoteCandidates().length&&(console.warn("Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification"),e.iceTransport.addRemoteCandidate({}))})},4e3),Promise.resolve()},r.prototype.close=function(){this.transceivers.forEach(function(e){e.iceTransport&&e.iceTransport.stop(),e.dtlsTransport&&e.dtlsTransport.stop(),e.rtpSender&&e.rtpSender.stop(),e.rtpReceiver&&e.rtpReceiver.stop()}),this._isClosed=!0,this._updateSignalingState("closed")},r.prototype._updateSignalingState=function(e){this.signalingState=e;var t=new Event("signalingstatechange");this._dispatchEvent("signalingstatechange",t)},r.prototype._maybeFireNegotiationNeeded=function(){var t=this;"stable"===this.signalingState&&!0!==this.needNegotiation&&(this.needNegotiation=!0,$.setTimeout(function(){if(t.needNegotiation){t.needNegotiation=!1;var e=new Event("negotiationneeded");t._dispatchEvent("negotiationneeded",e)}},0))},r.prototype._updateConnectionState=function(){var e,t={new:0,closed:0,connecting:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach(function(e){t[e.iceTransport.state]++,t[e.dtlsTransport.state]++}),t.connected+=t.completed,e="new",0<t.failed?e="failed":0<t.connecting||0<t.checking?e="connecting":0<t.disconnected?e="disconnected":0<t.new?e="new":(0<t.connected||0<t.completed)&&(e="connected"),e!==this.iceConnectionState){this.iceConnectionState=e;var n=new Event("iceconnectionstatechange");this._dispatchEvent("iceconnectionstatechange",n)}},r.prototype.createOffer=function(){var s=this;if(s._isClosed)return Promise.reject(m("InvalidStateError","Can not call createOffer after close"));var t=s.transceivers.filter(function(e){return"audio"===e.kind}).length,n=s.transceivers.filter(function(e){return"video"===e.kind}).length,e=arguments[0];if(e){if(e.mandatory||e.optional)throw new TypeError("Legacy mandatory/optional constraints not supported.");void 0!==e.offerToReceiveAudio&&(t=!0===e.offerToReceiveAudio?1:!1===e.offerToReceiveAudio?0:e.offerToReceiveAudio),void 0!==e.offerToReceiveVideo&&(n=!0===e.offerToReceiveVideo?1:!1===e.offerToReceiveVideo?0:e.offerToReceiveVideo)}for(s.transceivers.forEach(function(e){"audio"===e.kind?--t<0&&(e.wantReceive=!1):"video"===e.kind&&--n<0&&(e.wantReceive=!1)});0<t||0<n;)0<t&&(s._createTransceiver("audio"),t--),0<n&&(s._createTransceiver("video"),n--);var r=N.writeSessionBoilerplate(s._sdpSessionId,s._sdpSessionVersion++);s.transceivers.forEach(function(e,t){var n=e.track,r=e.kind,i=e.mid||N.generateIdentifier();e.mid=i,e.iceGatherer||(e.iceGatherer=s._createIceGatherer(t,s.usingBundle));var a=$.RTCRtpSender.getCapabilities(r);O<15019&&(a.codecs=a.codecs.filter(function(e){return"rtx"!==e.name})),a.codecs.forEach(function(e){"H264"===e.name&&void 0===e.parameters["level-asymmetry-allowed"]&&(e.parameters["level-asymmetry-allowed"]="1")});var o=e.sendEncodingParameters||[{ssrc:1001*(2*t+1)}];n&&15019<=O&&"video"===r&&!o[0].rtx&&(o[0].rtx={ssrc:o[0].ssrc+1}),e.wantReceive&&(e.rtpReceiver=new $.RTCRtpReceiver(e.dtlsTransport,r)),e.localCapabilities=a,e.sendEncodingParameters=o}),"max-compat"!==s._config.bundlePolicy&&(r+="a=group:BUNDLE "+s.transceivers.map(function(e){return e.mid}).join(" ")+"\r\n"),r+="a=ice-options:trickle\r\n",s.transceivers.forEach(function(e,t){r+=c(e,e.localCapabilities,"offer",e.stream,s._dtlsRole),r+="a=rtcp-rsize\r\n",!e.iceGatherer||"new"===s.iceGatheringState||0!==t&&s.usingBundle||(e.iceGatherer.getLocalCandidates().forEach(function(e){e.component=1,r+="a="+N.writeCandidate(e)+"\r\n"}),"completed"===e.iceGatherer.state&&(r+="a=end-of-candidates\r\n"))});var i=new $.RTCSessionDescription({type:"offer",sdp:r});return Promise.resolve(i)},r.prototype.createAnswer=function(){var i=this;if(i._isClosed)return Promise.reject(m("InvalidStateError","Can not call createAnswer after close"));var a=N.writeSessionBoilerplate(i._sdpSessionId,i._sdpSessionVersion++);i.usingBundle&&(a+="a=group:BUNDLE "+i.transceivers.map(function(e){return e.mid}).join(" ")+"\r\n");var o=N.splitSections(i.remoteDescription.sdp).length-1;i.transceivers.forEach(function(e,t){if(!(o<t+1))if(e.isDatachannel)a+="m=application 0 DTLS/SCTP 5000\r\nc=IN IP4 0.0.0.0\r\na=mid:"+e.mid+"\r\n";else{var n;if(e.stream)"audio"===e.kind?n=e.stream.getAudioTracks()[0]:"video"===e.kind&&(n=e.stream.getVideoTracks()[0]),n&&15019<=O&&"video"===e.kind&&!e.sendEncodingParameters[0].rtx&&(e.sendEncodingParameters[0].rtx={ssrc:e.sendEncodingParameters[0].ssrc+1});var r=p(e.localCapabilities,e.remoteCapabilities);!r.codecs.filter(function(e){return"rtx"===e.name.toLowerCase()}).length&&e.sendEncodingParameters[0].rtx&&delete e.sendEncodingParameters[0].rtx,a+=c(e,r,"answer",e.stream,i._dtlsRole),e.rtcpParameters&&e.rtcpParameters.reducedSize&&(a+="a=rtcp-rsize\r\n")}});var e=new $.RTCSessionDescription({type:"answer",sdp:a});return Promise.resolve(e)},r.prototype.addIceCandidate=function(c){var l,u=this;return c&&void 0===c.sdpMLineIndex&&!c.sdpMid?Promise.reject(new TypeError("sdpMLineIndex or sdpMid required")):new Promise(function(e,t){if(!u.remoteDescription)return t(m("InvalidStateError","Can not add ICE candidate without a remote description"));if(c&&""!==c.candidate){var n=c.sdpMLineIndex;if(c.sdpMid)for(var r=0;r<u.transceivers.length;r++)if(u.transceivers[r].mid===c.sdpMid){n=r;break}var i=u.transceivers[n];if(!i)return t(m("OperationError","Can not add ICE candidate"));if(i.isDatachannel)return e();var a=0<Object.keys(c.candidate).length?N.parseCandidate(c.candidate):{};if("tcp"===a.protocol&&(0===a.port||9===a.port))return e();if(a.component&&1!==a.component)return e();if((0===n||0<n&&i.iceTransport!==u.transceivers[0].iceTransport)&&!L(i.iceTransport,a))return t(m("OperationError","Can not add ICE candidate"));var o=c.candidate.trim();0===o.indexOf("a=")&&(o=o.substr(2)),(l=N.splitSections(u.remoteDescription.sdp))[n+1]+="a="+(a.type?o:"end-of-candidates")+"\r\n",u.remoteDescription.sdp=l.join("")}else for(var s=0;s<u.transceivers.length&&(u.transceivers[s].isDatachannel||(u.transceivers[s].iceTransport.addRemoteCandidate({}),(l=N.splitSections(u.remoteDescription.sdp))[s+1]+="a=end-of-candidates\r\n",u.remoteDescription.sdp=l.join(""),!u.usingBundle));s++);e()})},r.prototype.getStats=function(){var n=[];this.transceivers.forEach(function(t){["rtpSender","rtpReceiver","iceGatherer","iceTransport","dtlsTransport"].forEach(function(e){t[e]&&n.push(t[e].getStats())})});return new Promise(function(t){var r=new Map;Promise.all(n).then(function(e){e.forEach(function(n){Object.keys(n).forEach(function(e){var t;n[e].type={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[(t=n[e]).type]||t.type,r.set(e,n[e])})}),t(r)})})};var e=["createOffer","createAnswer"];return e.forEach(function(e){var n=r.prototype[e];r.prototype[e]=function(){var t=arguments;return"function"==typeof t[0]||"function"==typeof t[1]?n.apply(this,[arguments[2]]).then(function(e){"function"==typeof t[0]&&t[0].apply(null,[e])},function(e){"function"==typeof t[1]&&t[1].apply(null,[e])}):n.apply(this,arguments)}}),(e=["setLocalDescription","setRemoteDescription","addIceCandidate"]).forEach(function(e){var n=r.prototype[e];r.prototype[e]=function(){var t=arguments;return"function"==typeof t[1]||"function"==typeof t[2]?n.apply(this,arguments).then(function(){"function"==typeof t[1]&&t[1].apply(null)},function(e){"function"==typeof t[2]&&t[2].apply(null,[e])}):n.apply(this,arguments)}}),["getStats"].forEach(function(e){var t=r.prototype[e];r.prototype[e]=function(){var e=arguments;return"function"==typeof e[1]?t.apply(this,arguments).then(function(){"function"==typeof e[1]&&e[1].apply(null)}):t.apply(this,arguments)}}),r}},{sdp:39}],35:[function(e,t,n){var r=t.exports={v:[{name:"version",reg:/^(\d*)$/}],o:[{name:"origin",reg:/^(\S*) (\d*) (\d*) (\S*) IP(\d) (\S*)/,names:["username","sessionId","sessionVersion","netType","ipVer","address"],format:"%s %s %d %s IP%d %s"}],s:[{name:"name"}],i:[{name:"description"}],u:[{name:"uri"}],e:[{name:"email"}],p:[{name:"phone"}],z:[{name:"timezones"}],r:[{name:"repeats"}],t:[{name:"timing",reg:/^(\d*) (\d*)/,names:["start","stop"],format:"%d %d"}],c:[{name:"connection",reg:/^IN IP(\d) (\S*)/,names:["version","ip"],format:"IN IP%d %s"}],b:[{push:"bandwidth",reg:/^(TIAS|AS|CT|RR|RS):(\d*)/,names:["type","limit"],format:"%s:%s"}],m:[{reg:/^(\w*) (\d*) ([\w\/]*)(?: (.*))?/,names:["type","port","protocol","payloads"],format:"%s %d %s %s"}],a:[{push:"rtp",reg:/^rtpmap:(\d*) ([\w\-\.]*)(?:\s*\/(\d*)(?:\s*\/(\S*))?)?/,names:["payload","codec","rate","encoding"],format:function(e){return e.encoding?"rtpmap:%d %s/%s/%s":e.rate?"rtpmap:%d %s/%s":"rtpmap:%d %s"}},{push:"fmtp",reg:/^fmtp:(\d*) ([\S| ]*)/,names:["payload","config"],format:"fmtp:%d %s"},{name:"control",reg:/^control:(.*)/,format:"control:%s"},{name:"rtcp",reg:/^rtcp:(\d*)(?: (\S*) IP(\d) (\S*))?/,names:["port","netType","ipVer","address"],format:function(e){return null!=e.address?"rtcp:%d %s IP%d %s":"rtcp:%d"}},{push:"rtcpFbTrrInt",reg:/^rtcp-fb:(\*|\d*) trr-int (\d*)/,names:["payload","value"],format:"rtcp-fb:%d trr-int %d"},{push:"rtcpFb",reg:/^rtcp-fb:(\*|\d*) ([\w-_]*)(?: ([\w-_]*))?/,names:["payload","type","subtype"],format:function(e){return null!=e.subtype?"rtcp-fb:%s %s %s":"rtcp-fb:%s %s"}},{push:"ext",reg:/^extmap:(\d+)(?:\/(\w+))? (\S*)(?: (\S*))?/,names:["value","direction","uri","config"],format:function(e){return"extmap:%d"+(e.direction?"/%s":"%v")+" %s"+(e.config?" %s":"")}},{push:"crypto",reg:/^crypto:(\d*) ([\w_]*) (\S*)(?: (\S*))?/,names:["id","suite","config","sessionConfig"],format:function(e){return null!=e.sessionConfig?"crypto:%d %s %s %s":"crypto:%d %s %s"}},{name:"setup",reg:/^setup:(\w*)/,format:"setup:%s"},{name:"mid",reg:/^mid:([^\s]*)/,format:"mid:%s"},{name:"msid",reg:/^msid:(.*)/,format:"msid:%s"},{name:"ptime",reg:/^ptime:(\d*)/,format:"ptime:%d"},{name:"maxptime",reg:/^maxptime:(\d*)/,format:"maxptime:%d"},{name:"direction",reg:/^(sendrecv|recvonly|sendonly|inactive)/},{name:"icelite",reg:/^(ice-lite)/},{name:"iceUfrag",reg:/^ice-ufrag:(\S*)/,format:"ice-ufrag:%s"},{name:"icePwd",reg:/^ice-pwd:(\S*)/,format:"ice-pwd:%s"},{name:"fingerprint",reg:/^fingerprint:(\S*) (\S*)/,names:["type","hash"],format:"fingerprint:%s %s"},{push:"candidates",reg:/^candidate:(\S*) (\d*) (\S*) (\d*) (\S*) (\d*) typ (\S*)(?: raddr (\S*) rport (\d*))?(?: tcptype (\S*))?(?: generation (\d*))?(?: network-id (\d*))?(?: network-cost (\d*))?/,names:["foundation","component","transport","priority","ip","port","type","raddr","rport","tcptype","generation","network-id","network-cost"],format:function(e){var t="candidate:%s %d %s %d %s %d typ %s";return t+=null!=e.raddr?" raddr %s rport %d":"%v%v",t+=null!=e.tcptype?" tcptype %s":"%v",null!=e.generation&&(t+=" generation %d"),t+=null!=e["network-id"]?" network-id %d":"%v",t+=null!=e["network-cost"]?" network-cost %d":"%v"}},{name:"endOfCandidates",reg:/^(end-of-candidates)/},{name:"remoteCandidates",reg:/^remote-candidates:(.*)/,format:"remote-candidates:%s"},{name:"iceOptions",reg:/^ice-options:(\S*)/,format:"ice-options:%s"},{push:"ssrcs",reg:/^ssrc:(\d*) ([\w_-]*)(?::(.*))?/,names:["id","attribute","value"],format:function(e){var t="ssrc:%d";return null!=e.attribute&&(t+=" %s",null!=e.value&&(t+=":%s")),t}},{push:"ssrcGroups",reg:/^ssrc-group:([\x21\x23\x24\x25\x26\x27\x2A\x2B\x2D\x2E\w]*) (.*)/,names:["semantics","ssrcs"],format:"ssrc-group:%s %s"},{name:"msidSemantic",reg:/^msid-semantic:\s?(\w*) (\S*)/,names:["semantic","token"],format:"msid-semantic: %s %s"},{push:"groups",reg:/^group:(\w*) (.*)/,names:["type","mids"],format:"group:%s %s"},{name:"rtcpMux",reg:/^(rtcp-mux)/},{name:"rtcpRsize",reg:/^(rtcp-rsize)/},{name:"sctpmap",reg:/^sctpmap:([\w_\/]*) (\S*)(?: (\S*))?/,names:["sctpmapNumber","app","maxMessageSize"],format:function(e){return null!=e.maxMessageSize?"sctpmap:%s %s %s":"sctpmap:%s %s"}},{name:"xGoogleFlag",reg:/^x-google-flag:([^\s]*)/,format:"x-google-flag:%s"},{push:"rids",reg:/^rid:([\d\w]+) (\w+)(?: ([\S| ]*))?/,names:["id","direction","params"],format:function(e){return e.params?"rid:%s %s %s":"rid:%s %s"}},{push:"imageattrs",reg:new RegExp("^imageattr:(\\d+|\\*)[\\s\\t]+(send|recv)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*)(?:[\\s\\t]+(recv|send)[\\s\\t]+(\\*|\\[\\S+\\](?:[\\s\\t]+\\[\\S+\\])*))?"),names:["pt","dir1","attrs1","dir2","attrs2"],format:function(e){return"imageattr:%s %s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast",reg:new RegExp("^simulcast:(send|recv) ([a-zA-Z0-9\\-_~;,]+)(?:\\s?(send|recv) ([a-zA-Z0-9\\-_~;,]+))?$"),names:["dir1","list1","dir2","list2"],format:function(e){return"simulcast:%s %s"+(e.dir2?" %s %s":"")}},{name:"simulcast_03",reg:/^simulcast:[\s\t]+([\S+\s\t]+)$/,names:["value"],format:"simulcast: %s"},{name:"framerate",reg:/^framerate:(\d+(?:$|\.\d+))/,format:"framerate:%s"},{push:"invalid",names:["value"]}]};Object.keys(r).forEach(function(e){r[e].forEach(function(e){e.reg||(e.reg=/(.*)/),e.format||(e.format="%s")})})},{}],36:[function(e,t,n){var r=e("./parser"),i=e("./writer");n.write=i,n.parse=r.parse,n.parseFmtpConfig=r.parseFmtpConfig,n.parseParams=r.parseParams,n.parsePayloads=r.parsePayloads,n.parseRemoteCandidates=r.parseRemoteCandidates,n.parseImageAttributes=r.parseImageAttributes,n.parseSimulcastStreamList=r.parseSimulcastStreamList},{"./parser":37,"./writer":38}],37:[function(e,t,n){var a=function(e){return String(Number(e))===e?Number(e):e},s=function(e,t,n){var r=e.name&&e.names;e.push&&!t[e.push]?t[e.push]=[]:r&&!t[e.name]&&(t[e.name]={});var i=e.push?{}:r?t[e.name]:t;!function(e,t,n,r){if(r&&!n)t[r]=a(e[1]);else for(var i=0;i<n.length;i+=1)null!=e[i+1]&&(t[n[i]]=a(e[i+1]))}(n.match(e.reg),i,e.names,e.name),e.push&&t[e.push].push(i)},c=e("./grammar"),r=RegExp.prototype.test.bind(/^([a-z])=(.*)/);n.parse=function(e){var t={},a=[],o=t;return e.split(/(\r\n|\r|\n)/).filter(r).forEach(function(e){var t=e[0],n=e.slice(2);"m"===t&&(a.push({rtp:[],fmtp:[]}),o=a[a.length-1]);for(var r=0;r<(c[t]||[]).length;r+=1){var i=c[t][r];if(i.reg.test(n))return s(i,o,n)}}),t.media=a,t};var i=function(e,t){var n=t.split(/=(.+)/,2);return 2===n.length&&(e[n[0]]=a(n[1])),e};n.parseParams=function(e){return e.split(/\;\s?/).reduce(i,{})},n.parseFmtpConfig=n.parseParams,n.parsePayloads=function(e){return e.split(" ").map(Number)},n.parseRemoteCandidates=function(e){for(var t=[],n=e.split(" ").map(a),r=0;r<n.length;r+=3)t.push({component:n[r],ip:n[r+1],port:n[r+2]});return t},n.parseImageAttributes=function(e){return e.split(" ").map(function(e){return e.substring(1,e.length-1).split(",").reduce(i,{})})},n.parseSimulcastStreamList=function(e){return e.split(";").map(function(e){return e.split(",").map(function(e){var t,n=!1;return"~"!==e[0]?t=a(e):(t=a(e.substring(1,e.length)),n=!0),{scid:t,paused:n}})})}},{"./grammar":35}],38:[function(e,t,n){var a=e("./grammar"),o=/%[sdv%]/g,s=function(e,t,n){var r=[e+"="+(t.format instanceof Function?t.format(t.push?n:n[t.name]):t.format)];if(t.names)for(var i=0;i<t.names.length;i+=1){var a=t.names[i];t.name?r.push(n[t.name][a]):r.push(n[t.names[i]])}else r.push(n[t.name]);return function(e){var n=1,r=arguments,i=r.length;return e.replace(o,function(e){if(i<=n)return e;var t=r[n];switch(n+=1,e){case"%%":return"%";case"%s":return String(t);case"%d":return Number(t);case"%v":return""}})}.apply(null,r)},c=["v","o","s","i","u","e","p","c","b","t","r","z","a"],l=["i","c","b","a"];t.exports=function(e,t){t=t||{},null==e.version&&(e.version=0),null==e.name&&(e.name=" "),e.media.forEach(function(e){null==e.payloads&&(e.payloads="")});var n=t.outerOrder||c,r=t.innerOrder||l,i=[];return n.forEach(function(n){a[n].forEach(function(t){t.name in e&&null!=e[t.name]?i.push(s(n,t,e)):t.push in e&&null!=e[t.push]&&e[t.push].forEach(function(e){i.push(s(n,t,e))})})}),e.media.forEach(function(e){i.push(s("m",a.m[0],e)),r.forEach(function(n){a[n].forEach(function(t){t.name in e&&null!=e[t.name]?i.push(s(n,t,e)):t.push in e&&null!=e[t.push]&&e[t.push].forEach(function(e){i.push(s(n,t,e))})})})}),i.join("\r\n")+"\r\n"}},{"./grammar":35}],39:[function(e,t,n){"use strict";var u={generateIdentifier:function(){return Math.random().toString(36).substr(2,10)}};u.localCName=u.generateIdentifier(),u.splitLines=function(e){return e.trim().split("\n").map(function(e){return e.trim()})},u.splitSections=function(e){return e.split("\nm=").map(function(e,t){return(0<t?"m="+e:e).trim()+"\r\n"})},u.matchPrefix=function(e,t){return u.splitLines(e).filter(function(e){return 0===e.indexOf(t)})},u.parseCandidate=function(e){for(var t,n={foundation:(t=0===e.indexOf("a=candidate:")?e.substring(12).split(" "):e.substring(10).split(" "))[0],component:parseInt(t[1],10),protocol:t[2].toLowerCase(),priority:parseInt(t[3],10),ip:t[4],port:parseInt(t[5],10),type:t[7]},r=8;r<t.length;r+=2)switch(t[r]){case"raddr":n.relatedAddress=t[r+1];break;case"rport":n.relatedPort=parseInt(t[r+1],10);break;case"tcptype":n.tcpType=t[r+1];break;case"ufrag":n.ufrag=t[r+1],n.usernameFragment=t[r+1];break;default:n[t[r]]=t[r+1]}return n},u.writeCandidate=function(e){var t=[];t.push(e.foundation),t.push(e.component),t.push(e.protocol.toUpperCase()),t.push(e.priority),t.push(e.ip),t.push(e.port);var n=e.type;return t.push("typ"),t.push(n),"host"!==n&&e.relatedAddress&&e.relatedPort&&(t.push("raddr"),t.push(e.relatedAddress),t.push("rport"),t.push(e.relatedPort)),e.tcpType&&"tcp"===e.protocol.toLowerCase()&&(t.push("tcptype"),t.push(e.tcpType)),e.ufrag&&(t.push("ufrag"),t.push(e.ufrag)),"candidate:"+t.join(" ")},u.parseIceOptions=function(e){return e.substr(14).split(" ")},u.parseRtpMap=function(e){var t=e.substr(9).split(" "),n={payloadType:parseInt(t.shift(),10)};return t=t[0].split("/"),n.name=t[0],n.clockRate=parseInt(t[1],10),n.numChannels=3===t.length?parseInt(t[2],10):1,n},u.writeRtpMap=function(e){var t=e.payloadType;return void 0!==e.preferredPayloadType&&(t=e.preferredPayloadType),"a=rtpmap:"+t+" "+e.name+"/"+e.clockRate+(1!==e.numChannels?"/"+e.numChannels:"")+"\r\n"},u.parseExtmap=function(e){var t=e.substr(9).split(" ");return{id:parseInt(t[0],10),direction:0<t[0].indexOf("/")?t[0].split("/")[1]:"sendrecv",uri:t[1]}},u.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},u.parseFmtp=function(e){for(var t,n={},r=e.substr(e.indexOf(" ")+1).split(";"),i=0;i<r.length;i++)n[(t=r[i].trim().split("="))[0].trim()]=t[1];return n},u.writeFmtp=function(t){var e="",n=t.payloadType;if(void 0!==t.preferredPayloadType&&(n=t.preferredPayloadType),t.parameters&&Object.keys(t.parameters).length){var r=[];Object.keys(t.parameters).forEach(function(e){r.push(e+"="+t.parameters[e])}),e+="a=fmtp:"+n+" "+r.join(";")+"\r\n"}return e},u.parseRtcpFb=function(e){var t=e.substr(e.indexOf(" ")+1).split(" ");return{type:t.shift(),parameter:t.join(" ")}},u.writeRtcpFb=function(e){var t="",n=e.payloadType;return void 0!==e.preferredPayloadType&&(n=e.preferredPayloadType),e.rtcpFeedback&&e.rtcpFeedback.length&&e.rtcpFeedback.forEach(function(e){t+="a=rtcp-fb:"+n+" "+e.type+(e.parameter&&e.parameter.length?" "+e.parameter:"")+"\r\n"}),t},u.parseSsrcMedia=function(e){var t=e.indexOf(" "),n={ssrc:parseInt(e.substr(7,t-7),10)},r=e.indexOf(":",t);return-1<r?(n.attribute=e.substr(t+1,r-t-1),n.value=e.substr(r+1)):n.attribute=e.substr(t+1),n},u.getMid=function(e){var t=u.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},u.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},u.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:u.matchPrefix(e+t,"a=fingerprint:").map(u.parseFingerprint)}},u.writeDtlsParameters=function(e,t){var n="a=setup:"+t+"\r\n";return e.fingerprints.forEach(function(e){n+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"}),n},u.getIceParameters=function(e,t){var n=u.splitLines(e);return{usernameFragment:(n=n.concat(u.splitLines(t))).filter(function(e){return 0===e.indexOf("a=ice-ufrag:")})[0].substr(12),password:n.filter(function(e){return 0===e.indexOf("a=ice-pwd:")})[0].substr(10)}},u.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},u.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},n=u.splitLines(e)[0].split(" "),r=3;r<n.length;r++){var i=n[r],a=u.matchPrefix(e,"a=rtpmap:"+i+" ")[0];if(a){var o=u.parseRtpMap(a),s=u.matchPrefix(e,"a=fmtp:"+i+" ");switch(o.parameters=s.length?u.parseFmtp(s[0]):{},o.rtcpFeedback=u.matchPrefix(e,"a=rtcp-fb:"+i+" ").map(u.parseRtcpFb),t.codecs.push(o),o.name.toUpperCase()){case"RED":case"ULPFEC":t.fecMechanisms.push(o.name.toUpperCase())}}}return u.matchPrefix(e,"a=extmap:").forEach(function(e){t.headerExtensions.push(u.parseExtmap(e))}),t},u.writeRtpDescription=function(e,t){var n="";n+="m="+e+" ",n+=0<t.codecs.length?"9":"0",n+=" UDP/TLS/RTP/SAVPF ",n+=t.codecs.map(function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType}).join(" ")+"\r\n",n+="c=IN IP4 0.0.0.0\r\n",n+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach(function(e){n+=u.writeRtpMap(e),n+=u.writeFmtp(e),n+=u.writeRtcpFb(e)});var r=0;return t.codecs.forEach(function(e){e.maxptime>r&&(r=e.maxptime)}),0<r&&(n+="a=maxptime:"+r+"\r\n"),n+="a=rtcp-mux\r\n",t.headerExtensions.forEach(function(e){n+=u.writeExtmap(e)}),n},u.parseRtpEncodingParameters=function(e){var n,r=[],t=u.parseRtpParameters(e),i=-1!==t.fecMechanisms.indexOf("RED"),a=-1!==t.fecMechanisms.indexOf("ULPFEC"),o=u.matchPrefix(e,"a=ssrc:").map(function(e){return u.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute}),s=0<o.length&&o[0].ssrc,c=u.matchPrefix(e,"a=ssrc-group:FID").map(function(e){var t=e.split(" ");return t.shift(),t.map(function(e){return parseInt(e,10)})});0<c.length&&1<c[0].length&&c[0][0]===s&&(n=c[0][1]),t.codecs.forEach(function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var t={ssrc:s,codecPayloadType:parseInt(e.parameters.apt,10),rtx:{ssrc:n}};r.push(t),i&&((t=JSON.parse(JSON.stringify(t))).fec={ssrc:n,mechanism:a?"red+ulpfec":"red"},r.push(t))}}),0===r.length&&s&&r.push({ssrc:s});var l=u.matchPrefix(e,"b=");return l.length&&(l=0===l[0].indexOf("b=TIAS:")?parseInt(l[0].substr(7),10):0===l[0].indexOf("b=AS:")?1e3*parseInt(l[0].substr(5),10)*.95-16e3:void 0,r.forEach(function(e){e.maxBitrate=l})),r},u.parseRtcpParameters=function(e){var t={},n=u.matchPrefix(e,"a=ssrc:").map(function(e){return u.parseSsrcMedia(e)}).filter(function(e){return"cname"===e.attribute})[0];n&&(t.cname=n.value,t.ssrc=n.ssrc);var r=u.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=0<r.length,t.compound=0===r.length;var i=u.matchPrefix(e,"a=rtcp-mux");return t.mux=0<i.length,t},u.parseMsid=function(e){var t,n=u.matchPrefix(e,"a=msid:");if(1===n.length)return{stream:(t=n[0].substr(7).split(" "))[0],track:t[1]};var r=u.matchPrefix(e,"a=ssrc:").map(function(e){return u.parseSsrcMedia(e)}).filter(function(e){return"msid"===e.attribute});return 0<r.length?{stream:(t=r[0].value.split(" "))[0],track:t[1]}:void 0},u.generateSessionId=function(){return Math.random().toString().substr(2,21)},u.writeSessionBoilerplate=function(e,t){var n=void 0!==t?t:2;return"v=0\r\no=thisisadapterortc "+(e||u.generateSessionId())+" "+n+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},u.writeMediaSection=function(e,t,n,r){var i=u.writeRtpDescription(e.kind,t);if(i+=u.writeIceParameters(e.iceGatherer.getLocalParameters()),i+=u.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===n?"actpass":"active"),i+="a=mid:"+e.mid+"\r\n",e.direction?i+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?i+="a=sendrecv\r\n":e.rtpSender?i+="a=sendonly\r\n":e.rtpReceiver?i+="a=recvonly\r\n":i+="a=inactive\r\n",e.rtpSender){var a="msid:"+r.id+" "+e.rtpSender.track.id+"\r\n";i+="a="+a,i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+a,e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+a,i+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+u.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+u.localCName+"\r\n"),i},u.getDirection=function(e,t){for(var n=u.splitLines(e),r=0;r<n.length;r++)switch(n[r]){case"a=sendrecv":case"a=sendonly":case"a=recvonly":case"a=inactive":return n[r].substr(2)}return t?u.getDirection(t):"sendrecv"},u.getKind=function(e){return u.splitLines(e)[0].split(" ")[0].substr(2)},u.isRejected=function(e){return"0"===e.split(" ",2)[1]},u.parseMLine=function(e){var t=u.splitLines(e)[0].split(" ");return{kind:t[0].substr(2),port:parseInt(t[1],10),protocol:t[2],fmt:t.slice(3).join(" ")}},"object"==typeof t&&(t.exports=u)},{}],40:[function(n,r,e){(function(e){"use strict";var t=n("./adapter_factory.js");r.exports=t({window:e.window})}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./adapter_factory.js":41}],41:[function(h,e,t){"use strict";var p=h("./utils");e.exports=function(e,t){var n=e&&e.window,r={shimChrome:!0,shimFirefox:!0,shimEdge:!0,shimSafari:!0};for(var i in t)hasOwnProperty.call(t,i)&&(r[i]=t[i]);var a=p.log,o=p.detectBrowser(n),s={browserDetails:o,extractVersion:p.extractVersion,disableLog:p.disableLog,disableWarnings:p.disableWarnings},c=h("./chrome/chrome_shim")||null,l=h("./edge/edge_shim")||null,u=h("./firefox/firefox_shim")||null,f=h("./safari/safari_shim")||null,d=h("./common_shim")||null;switch(o.browser){case"chrome":if(!c||!c.shimPeerConnection||!r.shimChrome)return a("Chrome shim is not included in this adapter release."),s;a("adapter.js shimming chrome."),s.browserShim=c,d.shimCreateObjectURL(n),c.shimGetUserMedia(n),c.shimMediaStream(n),c.shimSourceObject(n),c.shimPeerConnection(n),c.shimOnTrack(n),c.shimAddTrackRemoveTrack(n),c.shimGetSendersWithDtmf(n),d.shimRTCIceCandidate(n);break;case"firefox":if(!u||!u.shimPeerConnection||!r.shimFirefox)return a("Firefox shim is not included in this adapter release."),s;a("adapter.js shimming firefox."),s.browserShim=u,d.shimCreateObjectURL(n),u.shimGetUserMedia(n),u.shimSourceObject(n),u.shimPeerConnection(n),u.shimOnTrack(n),u.shimRemoveStream(n),d.shimRTCIceCandidate(n);break;case"edge":if(!l||!l.shimPeerConnection||!r.shimEdge)return a("MS edge shim is not included in this adapter release."),s;a("adapter.js shimming edge."),s.browserShim=l,d.shimCreateObjectURL(n),l.shimGetUserMedia(n),l.shimPeerConnection(n),l.shimReplaceTrack(n);break;case"safari":if(!f||!r.shimSafari)return a("Safari shim is not included in this adapter release."),s;a("adapter.js shimming safari."),s.browserShim=f,d.shimCreateObjectURL(n),f.shimRTCIceServerUrls(n),f.shimCallbacksAPI(n),f.shimLocalStreamsAPI(n),f.shimRemoteStreamsAPI(n),f.shimTrackEventTransceiver(n),f.shimGetUserMedia(n),f.shimCreateOfferLegacy(n),d.shimRTCIceCandidate(n);break;default:a("Unsupported browser!")}return s}},{"./chrome/chrome_shim":42,"./common_shim":44,"./edge/edge_shim":45,"./firefox/firefox_shim":47,"./safari/safari_shim":49,"./utils":50}],42:[function(e,t,n){"use strict";var c=e("../utils.js"),r=c.log;t.exports={shimGetUserMedia:e("./getusermedia"),shimMediaStream:function(e){e.MediaStream=e.MediaStream||e.webkitMediaStream},shimOnTrack:function(a){if("object"==typeof a&&a.RTCPeerConnection&&!("ontrack"in a.RTCPeerConnection.prototype)){Object.defineProperty(a.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)}});var e=a.RTCPeerConnection.prototype.setRemoteDescription;a.RTCPeerConnection.prototype.setRemoteDescription=function(){var i=this;return i._ontrackpoly||(i._ontrackpoly=function(r){r.stream.addEventListener("addtrack",function(t){var e;e=a.RTCPeerConnection.prototype.getReceivers?i.getReceivers().find(function(e){return e.track&&e.track.id===t.track.id}):{track:t.track};var n=new Event("track");n.track=t.track,n.receiver=e,n.transceiver={receiver:e},n.streams=[r.stream],i.dispatchEvent(n)}),r.stream.getTracks().forEach(function(t){var e;e=a.RTCPeerConnection.prototype.getReceivers?i.getReceivers().find(function(e){return e.track&&e.track.id===t.id}):{track:t};var n=new Event("track");n.track=t,n.receiver=e,n.transceiver={receiver:e},n.streams=[r.stream],i.dispatchEvent(n)})},i.addEventListener("addstream",i._ontrackpoly)),e.apply(i,arguments)}}},shimGetSendersWithDtmf:function(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){var r=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var i=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,t){var n=i.apply(this,arguments);return n||(n=r(this,e),this._senders.push(n)),n};var n=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){n.apply(this,arguments);var t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}var a=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var t=this;t._senders=t._senders||[],a.apply(t,[e]),e.getTracks().forEach(function(e){t._senders.push(r(t,e))})};var t=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){var n=this;n._senders=n._senders||[],t.apply(n,[e]),e.getTracks().forEach(function(t){var e=n._senders.find(function(e){return e.track===t});e&&n._senders.splice(n._senders.indexOf(e),1)})}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){var o=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){var t=this,e=o.apply(t,[]);return e.forEach(function(e){e._pc=t}),e},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}},shimSourceObject:function(e){var n=e&&e.URL;"object"==typeof e&&(!e.HTMLMediaElement||"srcObject"in e.HTMLMediaElement.prototype||Object.defineProperty(e.HTMLMediaElement.prototype,"srcObject",{get:function(){return this._srcObject},set:function(e){var t=this;this._srcObject=e,this.src&&n.revokeObjectURL(this.src),e?(this.src=n.createObjectURL(e),e.addEventListener("addtrack",function(){t.src&&n.revokeObjectURL(t.src),t.src=n.createObjectURL(e)}),e.addEventListener("removetrack",function(){t.src&&n.revokeObjectURL(t.src),t.src=n.createObjectURL(e)})):this.src=""}}))},shimAddTrackRemoveTrackWithNative:function(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){var t=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map(function(e){return t._shimmedLocalStreams[e][0]})};var r=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,t){if(!t)return r.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};var n=r.apply(this,arguments);return this._shimmedLocalStreams[t.id]?-1===this._shimmedLocalStreams[t.id].indexOf(n)&&this._shimmedLocalStreams[t.id].push(n):this._shimmedLocalStreams[t.id]=[t,n],n};var i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var n=this;this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach(function(t){if(n.getSenders().find(function(e){return e.track===t}))throw new DOMException("Track already exists.","InvalidAccessError")});var t=n.getSenders();i.apply(this,arguments);var r=n.getSenders().filter(function(e){return-1===t.indexOf(e)});this._shimmedLocalStreams[e.id]=[e].concat(r)};var t=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],t.apply(this,arguments)};var a=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(n){var r=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},n&&Object.keys(this._shimmedLocalStreams).forEach(function(e){var t=r._shimmedLocalStreams[e].indexOf(n);-1!==t&&r._shimmedLocalStreams[e].splice(t,1),1===r._shimmedLocalStreams[e].length&&delete r._shimmedLocalStreams[e]}),a.apply(this,arguments)}},shimAddTrackRemoveTrack:function(o){var e=c.detectBrowser(o);if(o.RTCPeerConnection.prototype.addTrack&&65<=e.version)return this.shimAddTrackRemoveTrackWithNative(o);var n=o.RTCPeerConnection.prototype.getLocalStreams;o.RTCPeerConnection.prototype.getLocalStreams=function(){var t=this,e=n.apply(this);return t._reverseStreams=t._reverseStreams||{},e.map(function(e){return t._reverseStreams[e.id]})};var r=o.RTCPeerConnection.prototype.addStream;o.RTCPeerConnection.prototype.addStream=function(e){var n=this;if(n._streams=n._streams||{},n._reverseStreams=n._reverseStreams||{},e.getTracks().forEach(function(t){if(n.getSenders().find(function(e){return e.track===t}))throw new DOMException("Track already exists.","InvalidAccessError")}),!n._reverseStreams[e.id]){var t=new o.MediaStream(e.getTracks());n._streams[e.id]=t,n._reverseStreams[t.id]=e,e=t}r.apply(n,[e])};var i=o.RTCPeerConnection.prototype.removeStream;function a(r,e){var i=e.sdp;return Object.keys(r._reverseStreams||[]).forEach(function(e){var t=r._reverseStreams[e],n=r._streams[t.id];i=i.replace(new RegExp(n.id,"g"),t.id)}),new RTCSessionDescription({type:e.type,sdp:i})}o.RTCPeerConnection.prototype.removeStream=function(e){var t=this;t._streams=t._streams||{},t._reverseStreams=t._reverseStreams||{},i.apply(t,[t._streams[e.id]||e]),delete t._reverseStreams[t._streams[e.id]?t._streams[e.id].id:e.id],delete t._streams[e.id]},o.RTCPeerConnection.prototype.addTrack=function(t,e){var n=this;if("closed"===n.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");var r=[].slice.call(arguments,1);if(1!==r.length||!r[0].getTracks().find(function(e){return e===t}))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");if(n.getSenders().find(function(e){return e.track===t}))throw new DOMException("Track already exists.","InvalidAccessError");n._streams=n._streams||{},n._reverseStreams=n._reverseStreams||{};var i=n._streams[e.id];if(i)i.addTrack(t),Promise.resolve().then(function(){n.dispatchEvent(new Event("negotiationneeded"))});else{var a=new o.MediaStream([t]);n._streams[e.id]=a,n._reverseStreams[a.id]=e,n.addStream(a)}return n.getSenders().find(function(e){return e.track===t})},["createOffer","createAnswer"].forEach(function(e){var t=o.RTCPeerConnection.prototype[e];o.RTCPeerConnection.prototype[e]=function(){var n=this,r=arguments;return arguments.length&&"function"==typeof arguments[0]?t.apply(n,[function(e){var t=a(n,e);r[0].apply(null,[t])},function(e){r[1]&&r[1].apply(null,e)},arguments[2]]):t.apply(n,arguments).then(function(e){return a(n,e)})}});var t=o.RTCPeerConnection.prototype.setLocalDescription;o.RTCPeerConnection.prototype.setLocalDescription=function(){var r,e,i;return arguments.length&&arguments[0].type&&(arguments[0]=(r=this,e=arguments[0],i=e.sdp,Object.keys(r._reverseStreams||[]).forEach(function(e){var t=r._reverseStreams[e],n=r._streams[t.id];i=i.replace(new RegExp(t.id,"g"),n.id)}),new RTCSessionDescription({type:e.type,sdp:i}))),t.apply(this,arguments)};var s=Object.getOwnPropertyDescriptor(o.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(o.RTCPeerConnection.prototype,"localDescription",{get:function(){var e=s.get.apply(this);return""===e.type?e:a(this,e)}}),o.RTCPeerConnection.prototype.removeTrack=function(t){var n,r=this;if("closed"===r.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!t._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(t._pc===r))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");r._streams=r._streams||{},Object.keys(r._streams).forEach(function(e){r._streams[e].getTracks().find(function(e){return t.track===e})&&(n=r._streams[e])}),n&&(1===n.getTracks().length?r.removeStream(r._reverseStreams[n.id]):n.removeTrack(t.track),r.dispatchEvent(new Event("negotiationneeded")))}},shimPeerConnection:function(n){var e=c.detectBrowser(n);if(n.RTCPeerConnection){var a=n.RTCPeerConnection;n.RTCPeerConnection=function(e,t){if(e&&e.iceServers){for(var n=[],r=0;r<e.iceServers.length;r++){var i=e.iceServers[r];!i.hasOwnProperty("urls")&&i.hasOwnProperty("url")?(c.deprecated("RTCIceServer.url","RTCIceServer.urls"),(i=JSON.parse(JSON.stringify(i))).urls=i.url,n.push(i)):n.push(e.iceServers[r])}e.iceServers=n}return new a(e,t)},n.RTCPeerConnection.prototype=a.prototype,Object.defineProperty(n.RTCPeerConnection,"generateCertificate",{get:function(){return a.generateCertificate}})}else n.RTCPeerConnection=function(e,t){return r("PeerConnection"),e&&e.iceTransportPolicy&&(e.iceTransports=e.iceTransportPolicy),new n.webkitRTCPeerConnection(e,t)},n.RTCPeerConnection.prototype=n.webkitRTCPeerConnection.prototype,n.webkitRTCPeerConnection.generateCertificate&&Object.defineProperty(n.RTCPeerConnection,"generateCertificate",{get:function(){return n.webkitRTCPeerConnection.generateCertificate}});var s=n.RTCPeerConnection.prototype.getStats;n.RTCPeerConnection.prototype.getStats=function(e,t,n){var r=this,i=arguments;if(0<arguments.length&&"function"==typeof e)return s.apply(this,arguments);if(0===s.length&&(0===arguments.length||"function"!=typeof e))return s.apply(this,[]);var a=function(e){var r={};return e.result().forEach(function(t){var n={id:t.id,timestamp:t.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[t.type]||t.type};t.names().forEach(function(e){n[e]=t.stat(e)}),r[n.id]=n}),r},o=function(t){return new Map(Object.keys(t).map(function(e){return[e,t[e]]}))};if(2<=arguments.length){return s.apply(this,[function(e){i[1](o(a(e)))},e])}return new Promise(function(t,e){s.apply(r,[function(e){t(o(a(e)))},e])}).then(t,n)},e.version<51&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var i=n.RTCPeerConnection.prototype[e];n.RTCPeerConnection.prototype[e]=function(){var n=arguments,r=this,e=new Promise(function(e,t){i.apply(r,[n[0],e,t])});return n.length<2?e:e.then(function(){n[1].apply(null,[])},function(e){3<=n.length&&n[2].apply(null,[e])})}}),e.version<52&&["createOffer","createAnswer"].forEach(function(e){var i=n.RTCPeerConnection.prototype[e];n.RTCPeerConnection.prototype[e]=function(){var n=this;if(arguments.length<1||1===arguments.length&&"object"==typeof arguments[0]){var r=1===arguments.length?arguments[0]:void 0;return new Promise(function(e,t){i.apply(n,[e,t,r])})}return i.apply(this,arguments)}}),["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=n.RTCPeerConnection.prototype[e];n.RTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?n.RTCIceCandidate:n.RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}});var t=n.RTCPeerConnection.prototype.addIceCandidate;n.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?t.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())}}}},{"../utils.js":50,"./getusermedia":43}],43:[function(e,t,n){"use strict";var a=e("../utils.js"),l=a.log;t.exports=function(e){var o=a.detectBrowser(e),s=e&&e.navigator,c=function(i){if("object"!=typeof i||i.mandatory||i.optional)return i;var a={};return Object.keys(i).forEach(function(t){if("require"!==t&&"advanced"!==t&&"mediaSource"!==t){var n="object"==typeof i[t]?i[t]:{ideal:i[t]};void 0!==n.exact&&"number"==typeof n.exact&&(n.min=n.max=n.exact);var r=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==n.ideal){a.optional=a.optional||[];var e={};"number"==typeof n.ideal?(e[r("min",t)]=n.ideal,a.optional.push(e),(e={})[r("max",t)]=n.ideal):e[r("",t)]=n.ideal,a.optional.push(e)}void 0!==n.exact&&"number"!=typeof n.exact?(a.mandatory=a.mandatory||{},a.mandatory[r("",t)]=n.exact):["min","max"].forEach(function(e){void 0!==n[e]&&(a.mandatory=a.mandatory||{},a.mandatory[r(e,t)]=n[e])})}}),i.advanced&&(a.optional=(a.optional||[]).concat(i.advanced)),a},r=function(n,r){if(61<=o.version)return r(n);if((n=JSON.parse(JSON.stringify(n)))&&"object"==typeof n.audio){var e=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])};e((n=JSON.parse(JSON.stringify(n))).audio,"autoGainControl","googAutoGainControl"),e(n.audio,"noiseSuppression","googNoiseSuppression"),n.audio=c(n.audio)}if(n&&"object"==typeof n.video){var i=n.video.facingMode;i=i&&("object"==typeof i?i:{ideal:i});var a,t=o.version<66;if(i&&("user"===i.exact||"environment"===i.exact||"user"===i.ideal||"environment"===i.ideal)&&(!s.mediaDevices.getSupportedConstraints||!s.mediaDevices.getSupportedConstraints().facingMode||t))if(delete n.video.facingMode,"environment"===i.exact||"environment"===i.ideal?a=["back","rear"]:"user"!==i.exact&&"user"!==i.ideal||(a=["front"]),a)return s.mediaDevices.enumerateDevices().then(function(e){var t=(e=e.filter(function(e){return"videoinput"===e.kind})).find(function(t){return a.some(function(e){return-1!==t.label.toLowerCase().indexOf(e)})});return!t&&e.length&&-1!==a.indexOf("back")&&(t=e[e.length-1]),t&&(n.video.deviceId=i.exact?{exact:t.deviceId}:{ideal:t.deviceId}),n.video=c(n.video),l("chrome: "+JSON.stringify(n)),r(n)});n.video=c(n.video)}return l("chrome: "+JSON.stringify(n)),r(n)},i=function(e){return{name:{PermissionDeniedError:"NotAllowedError",InvalidStateError:"NotReadableError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotReadableError",MediaDeviceKillSwitchOn:"NotReadableError"}[e.name]||e.name,message:e.message,constraint:e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};s.getUserMedia=function(e,t,n){r(e,function(e){s.webkitGetUserMedia(e,t,function(e){n&&n(i(e))})})};var t=function(n){return new Promise(function(e,t){s.getUserMedia(n,e,t)})};if(s.mediaDevices||(s.mediaDevices={getUserMedia:t,enumerateDevices:function(){return new Promise(function(t){var n={audio:"audioinput",video:"videoinput"};return e.MediaStreamTrack.getSources(function(e){t(e.map(function(e){return{label:e.label,kind:n[e.kind],deviceId:e.id,groupId:""}}))})})},getSupportedConstraints:function(){return{deviceId:!0,echoCancellation:!0,facingMode:!0,frameRate:!0,height:!0,width:!0}}}),s.mediaDevices.getUserMedia){var n=s.mediaDevices.getUserMedia.bind(s.mediaDevices);s.mediaDevices.getUserMedia=function(e){return r(e,function(t){return n(t).then(function(e){if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(function(e){e.stop()}),new DOMException("","NotFoundError");return e},function(e){return Promise.reject(i(e))})})}}else s.mediaDevices.getUserMedia=function(e){return t(e)};void 0===s.mediaDevices.addEventListener&&(s.mediaDevices.addEventListener=function(){l("Dummy mediaDevices.addEventListener called.")}),void 0===s.mediaDevices.removeEventListener&&(s.mediaDevices.removeEventListener=function(){l("Dummy mediaDevices.removeEventListener called.")})}},{"../utils.js":50}],44:[function(e,t,n){"use strict";var a=e("sdp"),c=e("./utils");t.exports={shimRTCIceCandidate:function(t){if(!(t.RTCIceCandidate&&"foundation"in t.RTCIceCandidate.prototype)){var i=t.RTCIceCandidate;t.RTCIceCandidate=function(e){"object"==typeof e&&e.candidate&&0===e.candidate.indexOf("a=")&&((e=JSON.parse(JSON.stringify(e))).candidate=e.candidate.substr(2));var t=new i(e),n=a.parseCandidate(e.candidate),r=Object.assign(t,n);return r.toJSON=function(){return{candidate:r.candidate,sdpMid:r.sdpMid,sdpMLineIndex:r.sdpMLineIndex,usernameFragment:r.usernameFragment}},r},function(e,r,i){if(e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,a=t.addEventListener;t.addEventListener=function(e,t){if(e!==r)return a.apply(this,arguments);var n=function(e){t(i(e))};return this._eventMap=this._eventMap||{},this._eventMap[t]=n,a.apply(this,[e,n])};var o=t.removeEventListener;t.removeEventListener=function(e,t){if(e!==r||!this._eventMap||!this._eventMap[t])return o.apply(this,arguments);var n=this._eventMap[t];return delete this._eventMap[t],o.apply(this,[e,n])},Object.defineProperty(t,"on"+r,{get:function(){return this["_on"+r]},set:function(e){this["_on"+r]&&(this.removeEventListener(r,this["_on"+r]),delete this["_on"+r]),e&&this.addEventListener(r,this["_on"+r]=e)}})}}(t,"icecandidate",function(e){return e.candidate&&Object.defineProperty(e,"candidate",{value:new t.RTCIceCandidate(e.candidate),writable:"false"}),e})}},shimCreateObjectURL:function(e){var t=e&&e.URL;if("object"==typeof e&&e.HTMLMediaElement&&"srcObject"in e.HTMLMediaElement.prototype&&t.createObjectURL&&t.revokeObjectURL){var n=t.createObjectURL.bind(t),r=t.revokeObjectURL.bind(t),i=new Map,a=0;t.createObjectURL=function(e){if("getTracks"in e){var t="polyblob:"+ ++a;return i.set(t,e),c.deprecated("URL.createObjectURL(stream)","elem.srcObject = stream"),t}return n(e)},t.revokeObjectURL=function(e){r(e),i.delete(e)};var o=Object.getOwnPropertyDescriptor(e.HTMLMediaElement.prototype,"src");Object.defineProperty(e.HTMLMediaElement.prototype,"src",{get:function(){return o.get.apply(this)},set:function(e){return this.srcObject=i.get(e)||null,o.set.apply(this,[e])}});var s=e.HTMLMediaElement.prototype.setAttribute;e.HTMLMediaElement.prototype.setAttribute=function(){return 2===arguments.length&&"src"===(""+arguments[0]).toLowerCase()&&(this.srcObject=i.get(arguments[1])||null),s.apply(this,arguments)}}}}},{"./utils":50,sdp:39}],45:[function(e,t,n){"use strict";var r=e("../utils"),i=e("rtcpeerconnection-shim");t.exports={shimGetUserMedia:e("./getusermedia"),shimPeerConnection:function(e){var t=r.detectBrowser(e);if(e.RTCIceGatherer&&(e.RTCIceCandidate||(e.RTCIceCandidate=function(e){return e}),e.RTCSessionDescription||(e.RTCSessionDescription=function(e){return e}),t.version<15025)){var n=Object.getOwnPropertyDescriptor(e.MediaStreamTrack.prototype,"enabled");Object.defineProperty(e.MediaStreamTrack.prototype,"enabled",{set:function(e){n.set.call(this,e);var t=new Event("enabled");t.enabled=e,this.dispatchEvent(t)}})}!e.RTCRtpSender||"dtmf"in e.RTCRtpSender.prototype||Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=new e.RTCDtmfSender(this):"video"===this.track.kind&&(this._dtmf=null)),this._dtmf}}),e.RTCPeerConnection=i(e,t.version)},shimReplaceTrack:function(e){!e.RTCRtpSender||"replaceTrack"in e.RTCRtpSender.prototype||(e.RTCRtpSender.prototype.replaceTrack=e.RTCRtpSender.prototype.setTrack)}}},{"../utils":50,"./getusermedia":46,"rtcpeerconnection-shim":34}],46:[function(e,t,n){"use strict";t.exports=function(e){var t=e&&e.navigator,n=t.mediaDevices.getUserMedia.bind(t.mediaDevices);t.mediaDevices.getUserMedia=function(e){return n(e).catch(function(e){return Promise.reject({name:{PermissionDeniedError:"NotAllowedError"}[(t=e).name]||t.name,message:t.message,constraint:t.constraint,toString:function(){return this.name}});var t})}}},{}],47:[function(e,t,n){"use strict";var r=e("../utils");t.exports={shimGetUserMedia:e("./getusermedia"),shimOnTrack:function(e){"object"!=typeof e||!e.RTCPeerConnection||"ontrack"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&(this.removeEventListener("track",this._ontrack),this.removeEventListener("addstream",this._ontrackpoly)),this.addEventListener("track",this._ontrack=e),this.addEventListener("addstream",this._ontrackpoly=function(n){n.stream.getTracks().forEach(function(e){var t=new Event("track");t.track=e,t.receiver={track:e},t.transceiver={receiver:t.receiver},t.streams=[n.stream],this.dispatchEvent(t)}.bind(this))}.bind(this))}}),"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})},shimSourceObject:function(e){"object"==typeof e&&(!e.HTMLMediaElement||"srcObject"in e.HTMLMediaElement.prototype||Object.defineProperty(e.HTMLMediaElement.prototype,"srcObject",{get:function(){return this.mozSrcObject},set:function(e){this.mozSrcObject=e}}))},shimPeerConnection:function(s){var c=r.detectBrowser(s);if("object"==typeof s&&(s.RTCPeerConnection||s.mozRTCPeerConnection)){s.RTCPeerConnection||(s.RTCPeerConnection=function(e,t){if(c.version<38&&e&&e.iceServers){for(var n=[],r=0;r<e.iceServers.length;r++){var i=e.iceServers[r];if(i.hasOwnProperty("urls"))for(var a=0;a<i.urls.length;a++){var o={url:i.urls[a]};0===i.urls[a].indexOf("turn")&&(o.username=i.username,o.credential=i.credential),n.push(o)}else n.push(e.iceServers[r])}e.iceServers=n}return new s.mozRTCPeerConnection(e,t)},s.RTCPeerConnection.prototype=s.mozRTCPeerConnection.prototype,s.mozRTCPeerConnection.generateCertificate&&Object.defineProperty(s.RTCPeerConnection,"generateCertificate",{get:function(){return s.mozRTCPeerConnection.generateCertificate}}),s.RTCSessionDescription=s.mozRTCSessionDescription,s.RTCIceCandidate=s.mozRTCIceCandidate),["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach(function(e){var t=s.RTCPeerConnection.prototype[e];s.RTCPeerConnection.prototype[e]=function(){return arguments[0]=new("addIceCandidate"===e?s.RTCIceCandidate:s.RTCSessionDescription)(arguments[0]),t.apply(this,arguments)}});var e=s.RTCPeerConnection.prototype.addIceCandidate;s.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?e.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())};var a={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},n=s.RTCPeerConnection.prototype.getStats;s.RTCPeerConnection.prototype.getStats=function(e,i,t){return n.apply(this,[e||null]).then(function(n){var t,r;if(c.version<48&&(t=n,r=new Map,Object.keys(t).forEach(function(e){r.set(e,t[e]),r[e]=t[e]}),n=r),c.version<53&&!i)try{n.forEach(function(e){e.type=a[e.type]||e.type})}catch(e){if("TypeError"!==e.name)throw e;n.forEach(function(e,t){n.set(t,Object.assign({},e,{type:a[e.type]||e.type}))})}return n}).then(i,t)}}},shimRemoveStream:function(e){!e.RTCPeerConnection||"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(t){var n=this;r.deprecated("removeStream","removeTrack"),this.getSenders().forEach(function(e){e.track&&-1!==t.getTracks().indexOf(e.track)&&n.removeTrack(e)})})}}},{"../utils":50,"./getusermedia":48}],48:[function(e,t,n){"use strict";var d=e("../utils"),h=d.log;t.exports=function(e){var i=d.detectBrowser(e),a=e&&e.navigator,t=e&&e.MediaStreamTrack,o=function(e){return{name:{InternalError:"NotReadableError",NotSupportedError:"TypeError",PermissionDeniedError:"NotAllowedError",SecurityError:"NotAllowedError"}[e.name]||e.name,message:{"The operation is insecure.":"The request is not allowed by the user agent or the platform in the current context."}[e.message]||e.message,constraint:e.constraint,toString:function(){return this.name+(this.message&&": ")+this.message}}},r=function(e,t,n){var r=function(r){if("object"!=typeof r||r.require)return r;var i=[];return Object.keys(r).forEach(function(e){if("require"!==e&&"advanced"!==e&&"mediaSource"!==e){var t=r[e]="object"==typeof r[e]?r[e]:{ideal:r[e]};if(void 0===t.min&&void 0===t.max&&void 0===t.exact||i.push(e),void 0!==t.exact&&("number"==typeof t.exact?t.min=t.max=t.exact:r[e]=t.exact,delete t.exact),void 0!==t.ideal){r.advanced=r.advanced||[];var n={};"number"==typeof t.ideal?n[e]={min:t.ideal,max:t.ideal}:n[e]=t.ideal,r.advanced.push(n),delete t.ideal,Object.keys(t).length||delete r[e]}}}),i.length&&(r.require=i),r};return e=JSON.parse(JSON.stringify(e)),i.version<38&&(h("spec: "+JSON.stringify(e)),e.audio&&(e.audio=r(e.audio)),e.video&&(e.video=r(e.video)),h("ff37: "+JSON.stringify(e))),a.mozGetUserMedia(e,t,function(e){n(o(e))})};if(a.mediaDevices||(a.mediaDevices={getUserMedia:function(n){return new Promise(function(e,t){r(n,e,t)})},addEventListener:function(){},removeEventListener:function(){}}),a.mediaDevices.enumerateDevices=a.mediaDevices.enumerateDevices||function(){return new Promise(function(e){e([{kind:"audioinput",deviceId:"default",label:"",groupId:""},{kind:"videoinput",deviceId:"default",label:"",groupId:""}])})},i.version<41){var n=a.mediaDevices.enumerateDevices.bind(a.mediaDevices);a.mediaDevices.enumerateDevices=function(){return n().then(void 0,function(e){if("NotFoundError"===e.name)return[];throw e})}}if(i.version<49){var s=a.mediaDevices.getUserMedia.bind(a.mediaDevices);a.mediaDevices.getUserMedia=function(t){return s(t).then(function(e){if(t.audio&&!e.getAudioTracks().length||t.video&&!e.getVideoTracks().length)throw e.getTracks().forEach(function(e){e.stop()}),new DOMException("The object can not be found here.","NotFoundError");return e},function(e){return Promise.reject(o(e))})}}if(!(55<i.version&&"autoGainControl"in a.mediaDevices.getSupportedConstraints())){var c=function(e,t,n){t in e&&!(n in e)&&(e[n]=e[t],delete e[t])},l=a.mediaDevices.getUserMedia.bind(a.mediaDevices);if(a.mediaDevices.getUserMedia=function(e){return"object"==typeof e&&"object"==typeof e.audio&&(e=JSON.parse(JSON.stringify(e)),c(e.audio,"autoGainControl","mozAutoGainControl"),c(e.audio,"noiseSuppression","mozNoiseSuppression")),l(e)},t&&t.prototype.getSettings){var u=t.prototype.getSettings;t.prototype.getSettings=function(){var e=u.apply(this,arguments);return c(e,"mozAutoGainControl","autoGainControl"),c(e,"mozNoiseSuppression","noiseSuppression"),e}}if(t&&t.prototype.applyConstraints){var f=t.prototype.applyConstraints;t.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"==typeof e&&(e=JSON.parse(JSON.stringify(e)),c(e,"autoGainControl","mozAutoGainControl"),c(e,"noiseSuppression","mozNoiseSuppression")),f.apply(this,[e])}}}a.getUserMedia=function(e,t,n){if(i.version<44)return r(e,t,n);d.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),a.mediaDevices.getUserMedia(e).then(t,n)}}},{"../utils":50}],49:[function(e,t,n){"use strict";var o=e("../utils");t.exports={shimLocalStreamsAPI:function(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),"getStreamById"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getStreamById=function(t){var n=null;return this._localStreams&&this._localStreams.forEach(function(e){e.id===t&&(n=e)}),this._remoteStreams&&this._remoteStreams.forEach(function(e){e.id===t&&(n=e)}),n}),!("addStream"in e.RTCPeerConnection.prototype)){var r=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(t){this._localStreams||(this._localStreams=[]),-1===this._localStreams.indexOf(t)&&this._localStreams.push(t);var n=this;t.getTracks().forEach(function(e){r.call(n,e,t)})},e.RTCPeerConnection.prototype.addTrack=function(e,t){return t&&(this._localStreams?-1===this._localStreams.indexOf(t)&&this._localStreams.push(t):this._localStreams=[t]),r.call(this,e,t)}}"removeStream"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.removeStream=function(e){this._localStreams||(this._localStreams=[]);var t=this._localStreams.indexOf(e);if(-1!==t){this._localStreams.splice(t,1);var n=this,r=e.getTracks();this.getSenders().forEach(function(e){-1!==r.indexOf(e.track)&&n.removeTrack(e)})}})}},shimRemoteStreamsAPI:function(e){"object"==typeof e&&e.RTCPeerConnection&&("getRemoteStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getRemoteStreams=function(){return this._remoteStreams?this._remoteStreams:[]}),"onaddstream"in e.RTCPeerConnection.prototype||Object.defineProperty(e.RTCPeerConnection.prototype,"onaddstream",{get:function(){return this._onaddstream},set:function(e){this._onaddstream&&(this.removeEventListener("addstream",this._onaddstream),this.removeEventListener("track",this._onaddstreampoly)),this.addEventListener("addstream",this._onaddstream=e),this.addEventListener("track",this._onaddstreampoly=function(e){var t=e.streams[0];if(this._remoteStreams||(this._remoteStreams=[]),!(0<=this._remoteStreams.indexOf(t))){this._remoteStreams.push(t);var n=new Event("addstream");n.stream=e.streams[0],this.dispatchEvent(n)}}.bind(this))}}))},shimCallbacksAPI:function(e){if("object"==typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,i=t.createOffer,a=t.createAnswer,o=t.setLocalDescription,s=t.setRemoteDescription,c=t.addIceCandidate;t.createOffer=function(e,t){var n=2<=arguments.length?arguments[2]:e,r=i.apply(this,[n]);return t?(r.then(e,t),Promise.resolve()):r},t.createAnswer=function(e,t){var n=2<=arguments.length?arguments[2]:e,r=a.apply(this,[n]);return t?(r.then(e,t),Promise.resolve()):r};var n=function(e,t,n){var r=o.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r};t.setLocalDescription=n,n=function(e,t,n){var r=s.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.setRemoteDescription=n,n=function(e,t,n){var r=c.apply(this,[e]);return n?(r.then(t,n),Promise.resolve()):r},t.addIceCandidate=n}},shimGetUserMedia:function(e){var r=e&&e.navigator;r.getUserMedia||(r.webkitGetUserMedia?r.getUserMedia=r.webkitGetUserMedia.bind(r):r.mediaDevices&&r.mediaDevices.getUserMedia&&(r.getUserMedia=function(e,t,n){r.mediaDevices.getUserMedia(e).then(t,n)}.bind(r)))},shimRTCIceServerUrls:function(e){var a=e.RTCPeerConnection;e.RTCPeerConnection=function(e,t){if(e&&e.iceServers){for(var n=[],r=0;r<e.iceServers.length;r++){var i=e.iceServers[r];!i.hasOwnProperty("urls")&&i.hasOwnProperty("url")?(o.deprecated("RTCIceServer.url","RTCIceServer.urls"),(i=JSON.parse(JSON.stringify(i))).urls=i.url,delete i.url,n.push(i)):n.push(e.iceServers[r])}e.iceServers=n}return new a(e,t)},e.RTCPeerConnection.prototype=a.prototype,"generateCertificate"in e.RTCPeerConnection&&Object.defineProperty(e.RTCPeerConnection,"generateCertificate",{get:function(){return a.generateCertificate}})},shimTrackEventTransceiver:function(e){"object"==typeof e&&e.RTCPeerConnection&&"receiver"in e.RTCTrackEvent.prototype&&!e.RTCTransceiver&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})},shimCreateOfferLegacy:function(e){var r=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(e){if(e){var t=this.getTransceivers().find(function(e){return e.sender.track&&"audio"===e.sender.track.kind});!1===e.offerToReceiveAudio&&t?"sendrecv"===t.direction?t.setDirection("sendonly"):"recvonly"===t.direction&&t.setDirection("inactive"):!0!==e.offerToReceiveAudio||t||this.addTransceiver("audio");var n=this.getTransceivers().find(function(e){return e.sender.track&&"video"===e.sender.track.kind});!1===e.offerToReceiveVideo&&n?"sendrecv"===n.direction?n.setDirection("sendonly"):"recvonly"===n.direction&&n.setDirection("inactive"):!0!==e.offerToReceiveVideo||n||this.addTransceiver("video")}return r.apply(this,arguments)}}}},{"../utils":50}],50:[function(e,t,n){"use strict";var r=!0,i=!0;function a(e,t,n){var r=e.match(t);return r&&r.length>=n&&parseInt(r[n],10)}t.exports={extractVersion:a,disableLog:function(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(r=e)?"adapter.js logging disabled":"adapter.js logging enabled"},disableWarnings:function(e){return"boolean"!=typeof e?new Error("Argument type: "+typeof e+". Please use a boolean."):(i=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))},log:function(){if("object"==typeof window){if(r)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}},deprecated:function(e,t){i&&console.warn(e+" is deprecated, please use "+t+" instead.")},detectBrowser:function(e){var t=e&&e.navigator,n={browser:null,version:null};if(void 0===e||!e.navigator)return n.browser="Not a browser.",n;if(t.mozGetUserMedia)n.browser="firefox",n.version=a(t.userAgent,/Firefox\/(\d+)\./,1);else if(t.webkitGetUserMedia)if(e.webkitRTCPeerConnection)n.browser="chrome",n.version=a(t.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else{if(!t.userAgent.match(/Version\/(\d+).(\d+)/))return n.browser="Unsupported webkit-based browser with GUM support but no WebRTC support.",n;n.browser="safari",n.version=a(t.userAgent,/AppleWebKit\/(\d+)\./,1)}else if(t.mediaDevices&&t.userAgent.match(/Edge\/(\d+).(\d+)$/))n.browser="edge",n.version=a(t.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!t.mediaDevices||!t.userAgent.match(/AppleWebKit\/(\d+)\./))return n.browser="Not a supported browser.",n;n.browser="safari",n.version=a(t.userAgent,/AppleWebKit\/(\d+)\./,1)}return n}}},{}],51:[function(e,t,n){t.exports={name:"jssip",title:"JsSIP",description:"the Javascript SIP library",version:"3.2.11",homepage:"http://jssip.net",author:"José Luis Millán <jmillan@aliax.net> (https://github.com/jmillan)",contributors:["Iñaki Baz Castillo <ibc@aliax.net> (https://github.com/ibc)","Saúl Ibarra Corretgé <saghul@gmail.com> (https://github.com/saghul)"],main:"lib-es5/JsSIP.js",keywords:["sip","websocket","webrtc","node","browser","library"],license:"MIT",repository:{type:"git",url:"https://github.com/versatica/JsSIP.git"},bugs:{url:"https://github.com/versatica/JsSIP/issues"},dependencies:{debug:"^3.1.0",events:"^2.0.0","sdp-transform":"^2.4.1","webrtc-adapter":"^6.1.5"},devDependencies:{"ansi-colors":"^1.1.0","babel-core":"^6.26.0","babel-preset-env":"^1.6.1",browserify:"^16.2.0",eslint:"^4.19.1","fancy-log":"^1.3.2",gulp:"^4.0.0","gulp-babel":"^7.0.1","gulp-eslint":"^4.0.2","gulp-expect-file":"0.0.7","gulp-header":"^2.0.5","gulp-nodeunit-runner":"^0.2.2","gulp-plumber":"^1.2.0","gulp-rename":"^1.2.2","gulp-uglify":"^3.0.0",pegjs:"^0.7.0","vinyl-buffer":"^1.0.1","vinyl-source-stream":"^2.0.0"},scripts:{test:"gulp test",prepublishOnly:"gulp babel"}}},{}]},{},[8])(8)}),function(e,t){function n(i){return{scope:{selectedTemplate:"=",selectedTemplateName:"=",dateStart:"=?",dateEnd:"=?",firstDayOfWeek:"=?",showTemplate:"=?",mdOnSelect:"&",localizationMap:"=?",customTemplates:"=?",disableTemplates:"@",maxRange:"=?",onePanel:"=?",isDisabledDate:"&?",format:"=?"},template:'<div class="md-date-range-picker md-whiteframe-1dp" ng-class="{\'md-date-range-picker__one-panel\':onePanel}"><div layout="column"><div layout="row" layout-margin><div class="md-date-range-picker__calendar-wrapper"><div class="md-date-range-picker__month-year" layout="row" layout-align="center center"><div flex layout="column" layout-align="center center"><span aria-label="Previous Month" class="md-button md-icon-button" event-key="prev"><md-icon md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate()" ng-model="activeMonth" placeholder="{{::getLocalizationVal(\'Month\')}}" class="md-no-underline"><md-option ng-value="::month.id" ng-repeat="month in months" ng-bind="::month.name"></md-option></md-select><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate()" ng-model="activeYear" placeholder="{{::getLocalizationVal(\'Year\')}}" class="md-no-underline"><md-option ng-value="::year.id" ng-repeat="year in years" ng-bind="::year.name"></md-option></md-select><div flex layout="column" layout-align="center center" class="hide-gt-sm show-sm show-xs"><span aria-label="Next Month" class="md-icon-button md-button" event-key="next"><md-icon style="transform: rotate(-180deg)" md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><div flex ng-if="onePanel" layout="column" layout-align="center center" class="hide-sm hide-xs show-gt-sm"><span aria-label="Next Month" class="md-icon-button md-button" event-key="next"><md-icon style="transform: rotate(-180deg)" md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><div flex ng-if="!onePanel" layout="column" layout-align="center center" class="hide-sm hide-xs show-gt-sm"><span aria-label="Next Month" ng-disabled="true" aria-hidden="true" class="md-icon-button md-button"><md-icon></md-icon></span></div></div><div class="md-date-range-picker__week" style="font-size: 0"><span class="md-date-range-picker__calendar__grid" ng-repeat="day in days">{{::day.name}}</span></div><div class="md-date-range-picker__calendar"><span ng-repeat="date in dates" class="md-date-range-picker__calendar__grid" ng-class="{\'md-date-range-picker__calendar__selected\':inSelectedDateRange(date),\'md-date-range-picker__calendar__start\':isSelectedStartDate(date),\'md-date-range-picker__calendar__end\':isSelectedEndDate(date),\'md-date-range-picker__calendar__not-in-active-month\': !inCurrentMonth(date),\'md-date-range-picker__calendar__today\' : isToday(date),\'md-date-range-picker__calendar__disabled\': !isInMaxRange(date) || isDisabledDate({$date:date})}" event-key="date1" event-param="{{$index}}"><span event-key="date1" event-param="{{$index}}" class="md-date-range-picker__calendar__selection" ng-bind="{{::date.getDate()}}"></span></span></div></div><div ng-show="!onePanel" class="md-date-range-picker__calendar-wrapper hide-sm hide-xs show-gt-sm"><div class="md-date-range-picker__month-year" layout="row" layout-align="center center"><div flex layout="column" layout-align="center center" style="visibility: hidden"><span aria-label="Previous Month" class="md-button md-icon-button" event-key="prev"><md-icon md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate(true)" ng-model="activeMonth2" placeholder="{{::getLocalizationVal(\'Month\')}}" class="md-no-underline"><md-option ng-value="::month.id" ng-repeat="month in months" ng-bind="::month.name"></md-option></md-select><md-select md-container-class="md-date-range-picker__select" md-on-close="updateActiveDate(true)" ng-model="activeYear2" placeholder="{{::getLocalizationVal(\'Year\')}}" class="md-no-underline"><md-option ng-value="::year.id" ng-repeat="year in years" ng-bind="::year.name"></md-option></md-select><div flex layout="column" layout-align="center center"><span aria-label="Next Month" class="md-icon-button md-button" event-key="next"><md-icon style="transform: rotate(-180deg)" md-svg-src="data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxnPjxwb2x5Z29uIHBvaW50cz0iMTUuNCw3LjQgMTQsNiA4LDEyIDE0LDE4IDE1LjQsMTYuNiAxMC44LDEyICIvPjwvZz48L3N2Zz4="></md-icon></span></div></div><div class="md-date-range-picker__week" style="font-size: 0" ng-if="!onePanel"><span class="md-date-range-picker__calendar__grid" ng-repeat="day in days">{{::day.name}}</span></div><div class="md-date-range-picker__calendar"><span ng-repeat="date in dates2" class="md-date-range-picker__calendar__grid" ng-class="{\'md-date-range-picker__calendar__selected\':inSelectedDateRange(date), \'md-date-range-picker__calendar__start\':isSelectedStartDate(date), \'md-date-range-picker__calendar__end\':isSelectedEndDate(date), \'md-date-range-picker__calendar__not-in-active-month\': !inCurrentMonth(date, true), \'md-date-range-picker__calendar__today\' : isToday(date),\'md-date-range-picker__calendar__disabled\': !isInMaxRange(date) || isDisabledDate({$date:date}) }" event-key="date2" event-param="{{$index}}"><span event-key="date2" event-param="{{$index}}" class="md-date-range-picker__calendar__selection" ng-bind="{{::date.getDate()}}"></span></span></div></div></div><div class="md-date-range-picker__templates" ng-if="showTemplate"><div ng-if="!onePanel && !maxRange" class="hide-xs hide-sm show-gt-sm" layout="row" layout-align="center center" layout-wrap><div ng-repeat="(tmpltKey,tmpltName) in selectionTemplate" class="md-button" aria-label="{{::tmpltName}}" ng-class="selectedTemplate === tmpltKey ? \'md-primary md-raised\' : \'\'" event-key="{{tmpltKey}}" ng-bind="::tmpltName" flex="20"></div><div ng-repeat="tmplt in customTemplates" class="md-button" aria-label="{{::tmplt.name}}" ng-class="selectedTemplate === tmplt.name ? \'md-primary md-raised\' : \'\'" ng-click="selectCustomRange(tmplt.name,tmplt)" event-key="Custom Template" ng-bind="::tmplt.name" flex="20"></div></div><div ng-if="!maxRange" ng-class="{\'hide-gt-sm\':!onePanel}" layout="column" layout-padding><md-input-container><label>{{::getLocalizationVal(\'Date Range Template\')}}</label><md-select md-container-class="md-date-range-picker__select" class="md-block" placeholder="{{::getLocalizationVal(\'Custom Date Range\')}}" ng-model="selectedTemplate"><md-option value=""></md-option><md-option ng-repeat="(tmpltKey,tmpltName) in selectionTemplate track by tmpltKey" aria-label="{{::tmpltName}}" ng-click="actionByKey(tmpltKey,null)" ng-bind="::tmpltName" value="{{tmpltKey}}"></md-option><md-option ng-repeat="tmplt in customTemplates" aria-label="{{::tmplt.name}}" ng-click="selectCustomRange(tmplt.name,tmplt)" ng-bind="::tmplt.name" value="{{::tmplt.name}}"></md-option></md-select></md-input-container></div></div></div></div>',controller:"mdDateRangePickerCtrl",link:function(r,e,t,n){r.actionByKey=function(e,t,n){switch(e){case"prev":r.handleClickPrevMonth(n),r.runIfNotInDigest();break;case"next":r.handleClickNextMonth(n),r.runIfNotInDigest();break;case"date1":r.handleClickDate(n,r.dates[t])?r.runIfNotInDigest(r.triggerChange):r.runIfNotInDigest();break;case"date2":r.handleClickDate(n,r.dates2[t])?r.runIfNotInDigest(r.triggerChange):r.runIfNotInDigest();break;case"TD":r.handleClickSelectToday(),r.runIfNotInDigest(r.triggerChange);break;case"YD":r.handleClickSelectYesterday(),r.runIfNotInDigest(r.triggerChange);break;case"TW":r.handleClickSelectThisWeek(),r.runIfNotInDigest(r.triggerChange);break;case"LW":r.handleClickSelectLastWeek(),r.runIfNotInDigest(r.triggerChange);break;case"TM":r.handleClickSelectThisMonth(),r.runIfNotInDigest(r.triggerChange);break;case"LM":r.handleClickSelectLastMonth(),r.runIfNotInDigest(r.triggerChange);break;case"TY":r.handleClickSelectThisYear(),r.runIfNotInDigest(r.triggerChange);break;case"LY":r.handleClickSelectLastYear(),r.runIfNotInDigest(r.triggerChange);break;case"Custom Template":r.runIfNotInDigest(r.triggerChange)}},r.runIfNotInDigest=function(e){null==r.$root||r.$root.$$phase||(r.$apply(),e&&"function"==typeof e&&e())},e.on("click",function(e){var t=e.target.getAttribute("event-key"),n=e.target.getAttribute("event-param");r.actionByKey(t,n,e)}),r.triggerChange=function(e){var t=i.getSelectedDate(r.dateStart,r.dateEnd,r.isDisabledDate,r.maxRange);r.mdOnSelect&&r.mdOnSelect({$dates:t})}}}}function r(c,l){var u={TD:f("Today"),YD:f("Yesterday"),TW:f("This Week"),LW:f("Last Week"),TM:f("This Month"),LM:f("Last Month"),TY:f("This Year"),LY:f("Last Year")},e=1;function f(e){return null!=c.localizationMap&&null!=c.localizationMap[e]?c.localizationMap[e]:e}function d(){return-1!==[void 0,null,"",NaN].indexOf(c.firstDayOfWeek)||-1===[0,1,2,3,4,5,6].indexOf(c.firstDayOfWeek)?e:c.firstDayOfWeek}function n(e){var t,n,r=[],i=(new Date(e.getFullYear(),e.getMonth(),1),new Date(e.getFullYear(),e.getMonth()+1,0)),a=d();for(t=1;t<=i.getDate();t++)r.push(new Date(e.getFullYear(),e.getMonth(),t));for(n=r[0].getDay(),t=0;n!==a;)r.unshift(new Date(e.getFullYear(),e.getMonth(),t)),n=n<=0?6:n-1,t--;for(n=(r[r.length-1].getDay()+1)%7,t=1;n!==a;)r.push(new Date(e.getFullYear(),e.getMonth()+1,t)),n=(n+1)%7,t++;return r}function a(e,t){if(e&&t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());return new Date(t.getFullYear(),t.getMonth(),t.getDate())-n}}SELECTION_TEMPLATES_CUSTOM={},c.isMenuContainer=!1,c.days=[],c.label="Date range picker",c.dates=[],c.dates2=[],c.numberOfMonthToDisplay=2,c.today=new Date,c.dateStart&&c.dateStart.setHours(0,0,0,0),c.dateEnd&&c.dateEnd.setHours(23,59,59,999),c.firstDayOfMonth=c.dateStart?new Date(c.dateStart.getFullYear(),c.dateStart.getMonth(),1):Date(c.today.getFullYear(),c.today.getMonth(),1),c.lastDayOfMonth=c.dateStart?new Date(c.dateStart.getFullYear(),c.dateStart.getMonth()+1,0):Date(c.today.getFullYear(),c.today.getMonth()+1,0),c.activeDate=c.dateStart||c.today,c.activeDate2=new Date(c.activeDate.getFullYear(),c.activeDate.getMonth()+1,1),c.activeMonth=c.activeDate.getMonth(),c.activeYear=c.activeDate.getFullYear(),c.activeMonth2=c.activeDate2.getMonth(),c.activeYear2=c.activeDate2.getFullYear(),c.months=[],c.years=[],c.inCurrentMonth=function(e,t){return t?e.getMonth()===c.activeMonth2&&e.getFullYear()===c.activeYear2:e.getMonth()===c.activeMonth&&e.getFullYear()===c.activeYear},c.isToday=function(e){return 0===a(e,new Date)},c.handleClickDate=function(e,t){var n=!1,r=!1;if(0===a(c.dateStart,c.dateEnd)){if(0===a(c.dateStart,t))n=r=!0;else if(!c.isDisabledDate||!c.isDisabledDate({$date:t})){var i=a(c.dateStart,t);0<i?(c.maxRange&&Math.abs(Math.ceil(i/864e5))+1<=c.maxRange||!c.maxRange)&&(c.dateEnd=t,n=r=!0):(c.maxRange&&Math.abs(Math.ceil(i/864e5))+1<=c.maxRange||!c.maxRange)&&(c.dateStart=t,n=r=!0)}}else c.isDisabledDate&&c.isDisabledDate({$date:t})||(c.dateStart=t,c.dateEnd=t,n=!0);n&&(c.selectedTemplate=!1,c.selectedTemplateName=c.selectedDateText());return r},c.inSelectedDateRange=function(e){return!(!c.dateStart||!c.dateEnd)&&(0<=a(c.dateStart,e)&&0<=a(e,c.dateEnd))},c.isSelectedStartDate=function(e){return 0===a(c.dateStart,e)},c.isSelectedEndDate=function(e){return 0===a(c.dateEnd,e)},c.updateActiveDate=function(e){var t=new Date(c.activeYear,c.activeMonth,1),n=new Date(c.activeYear2,c.activeMonth2,1);e?(t=new Date(c.activeYear2,c.activeMonth2-1,1),c.activeYear=t.getFullYear(),c.activeMonth=t.getMonth()):(n=new Date(c.activeYear,c.activeMonth+1,1),c.activeYear2=n.getFullYear(),c.activeMonth2=n.getMonth());c.focusToDate(t)},c.selectedDateText=function(){return c.format&&"function"==typeof c.format?c.format(c.dateStart,c.dateEnd,c.selectedTemplate,c.selectedTemplateName):c.dateStart&&c.dateEnd?c.selectedTemplate?null!=SELECTION_TEMPLATES_CUSTOM&&null!=SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate]?SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].name:u[c.selectedTemplate]:0===a(c.dateStart,c.dateEnd)?l("date")(c.dateStart,"dd MMM yyyy"):l("date")(c.dateStart,"dd"+(c.dateStart.getMonth()!==c.dateEnd.getMonth()||c.dateStart.getFullYear()!==c.dateEnd.getFullYear()?" MMM":"")+(c.dateStart.getFullYear()!==c.dateEnd.getFullYear()?" yyyy":""))+" - "+l("date")(c.dateEnd,"dd MMM yyyy"):""},c.focusToDate=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,1);c.activeDate=e,c.activeMonth=e.getMonth(),c.activeYear=e.getFullYear(),c.activeDate2=t,c.activeMonth2=t.getMonth(),c.activeYear2=t.getFullYear(),c.dates=n(e),c.dates2=n(t)},c.handleClickNextMonth=function(e){var t=new Date(c.activeDate.getFullYear(),c.activeDate.getMonth()+1,1);c.focusToDate(t)},c.handleClickPrevMonth=function(e){var t=new Date(c.activeDate.getFullYear(),c.activeDate.getMonth()-1,1);c.focusToDate(t)},c.handleClickSelectToday=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate());c.dateStart=t,c.dateEnd=t,c.selectedTemplate="TD",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectYesterday=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()-1);c.dateStart=t,c.dateEnd=t,c.selectedTemplate="YD",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectThisWeek=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()),n=new Date(t.getFullYear(),t.getMonth(),t.getDate()-(t.getDay()-d())),r=new Date(t.getFullYear(),t.getMonth(),t.getDate()+(6-t.getDay()+d()));c.dateStart=n,c.dateEnd=r,c.selectedTemplate="TW",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectLastWeek=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),e.getDate()-7),n=new Date(t.getFullYear(),t.getMonth(),t.getDate()-(t.getDay()-d())),r=new Date(t.getFullYear(),t.getMonth(),t.getDate()+(6-t.getDay()+d()));c.dateStart=n,c.dateEnd=r,c.selectedTemplate="LW",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectThisMonth=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),1),n=new Date(e.getFullYear(),e.getMonth()+1,0);c.dateStart=t,c.dateEnd=n,c.selectedTemplate="TM",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectLastMonth=function(){var e=new Date,t=new Date(e.getFullYear(),e.getMonth(),0),n=new Date(t.getFullYear(),t.getMonth(),1),r=new Date(t.getFullYear(),t.getMonth()+1,0);c.dateStart=n,c.dateEnd=r,c.selectedTemplate="LM",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectThisYear=function(){var e=new Date,t=new Date(e.getFullYear(),0,1),n=new Date(e.getFullYear(),11,31);c.dateStart=t,c.dateEnd=n,c.selectedTemplate="TY",c.selectedTemplateName=c.selectedDateText()},c.handleClickSelectLastYear=function(){var e=new Date,t=new Date(e.getFullYear()-1,0,1),n=new Date(e.getFullYear()-1,11,31);c.dateStart=t,c.dateEnd=n,c.selectedTemplate="LY",c.selectedTemplateName=c.selectedDateText()},c.getLocalizationVal=f,c.selectCustomRange=function(e,t){c.dateStart=t.dateStart,c.dateEnd=t.dateEnd,c.selectedTemplate=e,c.selectedTemplateName=c.selectedDateText()},c.isInMaxRange=function(e){if(!c.dateStart)return!0;if(0!==a(c.dateStart,c.dateEnd))return!0;var t=a(c.dateStart,e);return c.maxRange&&Math.abs(Math.ceil(t/864e5))+1<=c.maxRange||!c.maxRange},c.selectionTemplate={},function(){var e,t=0;if(null!=c.customTemplates)for(var n=0;n<c.customTemplates.length;n++)e=c.customTemplates[n],SELECTION_TEMPLATES_CUSTOM[e.name]=e;if(c.selectedTemplate){switch(c.selectedTemplate){case"TD":c.handleClickSelectToday();break;case"YD":c.handleClickSelectYesterday();break;case"TW":c.handleClickSelectThisWeek();break;case"LW":c.handleClickSelectLastWeek();break;case"TM":c.handleClickSelectThisMonth();break;case"LM":c.handleClickSelectLastMonth();break;case"TY":c.handleClickSelectThisYear();break;case"LY":c.handleClickSelectLastYear();break;default:SELECTION_TEMPLATES_CUSTOM&&SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate]&&SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateStart&&SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateEnd&&(c.dateStart=SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateStart,c.dateEnd=SELECTION_TEMPLATES_CUSTOM[c.selectedTemplate].dateEnd),c.selectedTemplateName=c.selectedDateText()}c.updateActiveDate()}else c.selectedTemplate="",c.selectedTemplateName=c.selectedDateText(),c.updateActiveDate();c.$watch("selectedTemplate",function(e,t){e===t||!c.dateStart||c.inCurrentMonth(c.dateStart)||c.inCurrentMonth(c.dateStart,!0)||c.focusToDate(c.dateStart)}),c.$watch("dateStart",function(e,t){e===t||!c.dateStart||c.inCurrentMonth(c.dateStart)||c.inCurrentMonth(c.dateStart,!0)||c.focusToDate(c.dateStart)});var r=new Date(2017,0,1);for(c.days=[],t=0;t<7;t++)r.setDate(t+1+d()),c.days.push({id:t,name:f(l("date")(r,"EEE"))});var i=null;for(c.months=[],t=0;t<12;t++)i=new Date(2017,t,1),c.months.push({id:t,name:f(l("date")(i,"MMMM"))});var a=c.activeYear,o=0;for(c.years=[],o=a-10;o<a+10;o++)c.years.push({id:o,name:f(o)});for(var s in u)u.hasOwnProperty(s)&&(null!=c.disableTemplates&&""!=c.disableTemplates?c.disableTemplates.indexOf(s)<0&&(c.selectionTemplate[s]=u[s]):c.selectionTemplate[s]=u[s])}()}function i(r){this.show=function(e){return r.show({locals:{mdDateRangePickerServiceModel:t.copy(e.model),mdDateRangePickerServiceConfig:t.copy(e)},controller:["$scope","mdDateRangePickerServiceModel","mdDateRangePickerServiceConfig",function(t,e,n){t.model=e||{},t.config=n||{},t.model.selectedTemplateName=t.model.selectedTemplateName||"",t.ok=function(){t.model.dateStart&&t.model.dateStart.setHours(0,0,0,0),t.model.dateEnd&&t.model.dateEnd.setHours(23,59,59,999),r.hide(t.model)},t.cancel=function(){r.cancel()},t.clear=function(){t.model.selectedTemplateName="",t.model.selectedTemplate=null,t.model.dateStart=null,t.model.dateEnd=null},t.handleOnSelect=function(e){"function"==typeof t.config.mdOnSelect&&t.config.mdOnSelect(e),t.config.autoConfirm&&t.ok()},t.getLocalizationVal=function(e){return t.model&&null!=t.model.localizationMap&&null!=t.model.localizationMap[e]?t.model.localizationMap[e]:e},t.model.customTemplates&&console.warn("model.customTemplates will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({customTemplates}) instead"),t.model.localizationMap&&console.warn("model.localizationMap will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({localizationMap}) instead"),t.model.firstDayOfWeek&&console.warn("model.firstDayOfWeek will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({firstDayOfWeek}) instead"),t.model.showTemplate&&console.warn("model.showTemplate will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({showTemplate}) instead"),t.model.maxRange&&console.warn("model.maxRange will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({maxRange}) instead"),t.model.onePanel&&console.warn("model.onePanel will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({onePanel}) instead"),t.model.isDisabledDate&&console.warn("model.isDisabledDate({ $date: $date }) will be removed from model on next rlease, please use root config e.g. $mdDateRangePicker.show({isDisabledDate:($date)=>{}}) instead")}],template:['<md-dialog aria-label="Date Range Picker">','<md-toolbar class="md-primary" layout="row" layout-align="start center">','<md-button aria-label="Date Range Picker" class="md-icon-button" aria-hidden="true" ng-disabled="true">','<md-icon md-svg-icon="data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjRkZGRkZGIiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHdpZHRoPSIyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGQ9Ik05IDExSDd2Mmgydi0yem00IDBoLTJ2Mmgydi0yem00IDBoLTJ2Mmgydi0yem0yLTdoLTFWMmgtMnYySDhWMkg2djJINWMtMS4xMSAwLTEuOTkuOS0xLjk5IDJMMyAyMGMwIDEuMS44OSAyIDIgMmgxNGMxLjEgMCAyLS45IDItMlY2YzAtMS4xLS45LTItMi0yem0wIDE2SDVWOWgxNHYxMXoiLz4KICAgIDxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz4KPC9zdmc+"></md-icon>',"</md-button>",'<span md-truncate class="md-toolbar-tools">{{model.selectedTemplateName}}</span>',"</md-toolbar>","<md-dialog-content>","<md-date-range-picker ",'date-start="model.dateStart" ','date-end="model.dateEnd" ','show-template="config.showTemplate || model.showTemplate" ','selected-template="model.selectedTemplate" ','selected-template-name="model.selectedTemplateName" ','first-day-of-week="config.firstDayOfWeek || model.firstDayOfWeek" ','localization-map="config.localizationMap || model.localizationMap" ','custom-templates="config.customTemplates || model.customTemplates" ','format="config.format" ','disable-templates="{{model.disableTemplates}}" ','md-on-select="handleOnSelect($dates)" ','is-disabled-date="config.isDisabledDate ? config.isDisabledDate($date) : model.isDisabledDate({ $date: $date })" ','max-range="config.maxRange || model.maxRange" ','one-panel="config.onePanel || model.onePanel" ',">","</md-date-range-picker>","</md-dialog-content>",'<md-dialog-actions layout="row" layout-align="end center">','<md-button ng-click="cancel()">{{getLocalizationVal("Cancel")}}</md-button>','<md-button ng-if="!config.autoConfirm" class="md-raised" ng-click="clear()">{{getLocalizationVal("Clear")}}</md-button>','<md-button ng-if="!config.autoConfirm" class="md-raised md-primary" ng-click="ok()">{{getLocalizationVal("Ok")}}</md-button>',"</md-dialog-actions>","</md-dialog>"].join(""),parent:t.element(document.body),multiple:e.multiple,targetEvent:e.targetEvent||document.body,clickOutsideToClose:!0,fullscreen:e.model.fullscreen})},this.getSelectedDate=function(e,t,n,r){var i=[],a=t.getTime(),o=e,s=0,c=e.getFullYear(),l=e.getMonth(),u=e.getDate();for(;o.getTime()<=a&&(n&&!n({$date:o})&&i.push(o),s++,o=new Date(c,l,u+s),!((r||1e4)<s)););return i}}t.module("ngMaterialDateRangePicker",["ngMaterial"]).directive("mdDateRangePicker",n).directive("mdDateRange",function(){return{scope:{ngModel:"=ngModel",autoConfirm:"=autoConfirm",ngDisabled:"=ngDisabled",showTemplate:"=",placeholder:"@",isDisabledDate:"&",localizationMap:"=?",customTemplates:"=?",disableTemplates:"@",mdOnSelect:"&",onePanel:"=?",format:"=?",maxRange:"=?",firstDayOfWeek:"=?"},template:['<md-menu ng-disabled="ngDisabled">','<span class="md-select-value" ng-click="!ngDisabled && (($mdMenu && $mdMenu.open) ? $mdMenu.open($event) : $mdOpenMenu($event))">'," <span>{{ngModel.selectedTemplateName || placeholder}}</span>",' <span class="md-select-icon" aria-hidden="true"></span>',"</span>",'<md-menu-content class="md-custom-menu-content" style="max-height: none!important; height: auto!important; padding: 0!important;">',' <span style="text-align: left; padding: 12px 20px 0 20px" disabled>{{ngModel.selectedTemplateName || placeholder}}</span>',' <md-date-range-picker first-day-of-week="firstDayOfWeek" ',' md-on-select="autoConfirm && ok($dates)" ',' date-start="ngModel.dateStart" ',' date-end="ngModel.dateEnd" ',' selected-template="ngModel.selectedTemplate" ',' show-template="showTemplate" ',' localization-map="localizationMap" ',' custom-templates="customTemplates" ',' disable-templates="{{disableTemplates}}" ',' is-disabled-date="isDisabledDate({ $date: $date })" ',' max-range="maxRange" ',' one-panel="onePanel" ',' format="format" ',' selected-template-name="ngModel.selectedTemplateName"></md-date-range-picker>','<p ng-if="!autoConfirm" layout="row" layout-align="end center">','<md-button ng-if="ngModel.showClear" class="md-raised" ng-click="clear()">{{getLocalizationVal("Clear")}}</md-button>','<md-button class="md-raised md-primary" ng-click="ok()">{{getLocalizationVal("Ok")}}</md-button>',"</p>","</md-menu-content>","</md-menu>"].join(""),controller:["$scope","$mdMenu",function(t,n){t.ok=function(e){t.mdOnSelect({$dates:e}),n.hide()},t.clear=function(){t.ngModel.selectedTemplateName="",t.ngModel.selectedTemplate=null,t.ngModel.dateStart=null,t.ngModel.dateEnd=null},t.getLocalizationVal=function(e){return t.ngModel&&null!=t.ngModel.localizationMap&&null!=t.ngModel.localizationMap[e]?t.ngModel.localizationMap[e]:e}}]}}).controller("mdDateRangePickerCtrl",r).service("$mdDateRangePicker",i),n.$inject=["$mdDateRangePicker"],r.$inject=["$scope","$filter"],i.$inject=["$mdDialog"]}(window,angular),function(){var e,t="Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45";if(b="object"==typeof process&&"object"==typeof process.versions&&process.versions.node&&!process.browser){var n=process.versions.node.toString().replace("v","");t="Nodejs/"+n+" (NodeOS) AppleWebKit/"+n+" (KHTML, like Gecko) Nodejs/"+n+" Nodejs/"+n}e="undefined"!=typeof global?global:window,"undefined"==typeof window&&("undefined"==typeof window&&"undefined"!=typeof global&&(global.navigator={userAgent:t,getUserMedia:function(){}},e.window=global),"undefined"==typeof location&&(e.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(e.screen={width:0,height:0}));var s=window.navigator;void 0!==s?(void 0!==s.webkitGetUserMedia&&(s.getUserMedia=s.webkitGetUserMedia),void 0!==s.mozGetUserMedia&&(s.getUserMedia=s.mozGetUserMedia)):s={getUserMedia:function(){},userAgent:t};var r=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(s.userAgent||""),c=!(-1===s.userAgent.indexOf("Edge")||!s.msSaveOrOpenBlob&&!s.msSaveBlob),l=!!window.opera||0<=s.userAgent.indexOf(" OPR/"),u=-1<s.userAgent.toLowerCase().indexOf("firefox")&&"netscape"in window&&/ rv:/.test(s.userAgent),f=/^((?!chrome|android).)*safari/i.test(s.userAgent),d=!!window.chrome&&!l,h="undefined"!=typeof document&&!!document.documentMode&&!c;function i(e,t){var n=0,r=!1,i=window.setInterval(function(){e()&&(window.clearInterval(i),t(r)),50<n++&&(window.clearInterval(i),t(r=!0))},10)}var a={Android:function(){return s.userAgent.match(/Android/i)},BlackBerry:function(){return s.userAgent.match(/BlackBerry|BB10/i)},iOS:function(){return s.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return s.userAgent.match(/Opera Mini/i)},Windows:function(){return s.userAgent.match(/IEMobile/i)},any:function(){return a.Android()||a.BlackBerry()||a.iOS()||a.Opera()||a.Windows()},getOsName:function(){var e="Unknown OS";return a.Android()&&(e="Android"),a.BlackBerry()&&(e="BlackBerry"),a.iOS()&&(e="iOS"),a.Opera()&&(e="Opera Mini"),a.Windows()&&(e="Windows"),e}};var o="Unknown OS",p="Unknown OS Version";var m,g,_=function(){for(var e,t=s.appVersion,n=s.userAgent,r="-",i=[{s:"Chrome OS",r:/CrOS/},{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}],a=0;e=i[a];a++)if(e.r.test(n)){r=e.s;break}var o="-";switch(/Windows/.test(r)&&(/Windows (.*)/.test(r)&&(o=/Windows (.*)/.exec(r)[1]),r="Windows"),r){case"Mac OS X":/Mac OS X (10[\.\_\d]+)/.test(n)&&(o=/Mac OS X (10[\.\_\d]+)/.exec(n)[1]);break;case"Android":/Android ([\.\_\d]+)/.test(n)&&(o=/Android ([\.\_\d]+)/.exec(n)[1]);break;case"iOS":/OS (\d+)_(\d+)_?(\d+)?/.test(n)&&(o=(o=/OS (\d+)_(\d+)_?(\d+)?/.exec(t))[1]+"."+o[2]+"."+(0|o[3]))}return{osName:r,osVersion:o}}();_&&_.osName&&"-"!=_.osName?(o=_.osName,p=_.osVersion):a.any()&&"Android"==(o=a.getOsName())&&(p=!!(g=(m=(m||s.userAgent).toLowerCase()).match(/android\s([0-9\.]*)/))&&g[1]);var b="object"==typeof process&&"object"==typeof process.versions&&process.versions.node;"Unknown OS"===o&&b&&(o="Nodejs",p=process.versions.node.toString().replace("v",""));var v=!1,y=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){"undefined"!=typeof document&&"function"==typeof document.createElement&&(!v&&e in document.createElement("canvas")&&(v=!0),!y&&e in document.createElement("video")&&(y=!0))});var w=/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/,C=/([0-9]{1,3}(\.[0-9]{1,3}){3})/,A=/[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7}/;var S=[],T=[],x=[],k=[];s.mediaDevices&&s.mediaDevices.enumerateDevices&&(s.enumerateDevices=function(e){var t=s.mediaDevices.enumerateDevices();t&&t.then?s.mediaDevices.enumerateDevices().then(e).catch(function(){e([])}):e([])});var E=!1;"undefined"!=typeof MediaStreamTrack&&"getSources"in MediaStreamTrack?E=!0:s.mediaDevices&&s.mediaDevices.enumerateDevices&&(E=!0);var D=!1,I=!1,P=!1,M=!1,$=!1;function O(t){if(E)if(!s.enumerateDevices&&window.MediaStreamTrack&&window.MediaStreamTrack.getSources&&(s.enumerateDevices=window.MediaStreamTrack.getSources.bind(window.MediaStreamTrack)),!s.enumerateDevices&&s.enumerateDevices&&(s.enumerateDevices=s.enumerateDevices.bind(s)),s.enumerateDevices){S=[],T=[],x=[],$=M=P=I=D=!(k=[]);var r={};s.enumerateDevices(function(e){S=[],T=[],x=[],k=[],e.forEach(function(e){var t={};for(var n in e)try{"function"!=typeof e[n]&&(t[n]=e[n])}catch(e){}r[t.deviceId+t.label+t.kind]||("audio"===t.kind&&(t.kind="audioinput"),"video"===t.kind&&(t.kind="videoinput"),t.deviceId||(t.deviceId=t.id),t.id||(t.id=t.deviceId),t.label?("videoinput"!==t.kind||$||($=!0),"audioinput"!==t.kind||M||(M=!0)):(t.isCustomLabel=!0,"videoinput"===t.kind?t.label="Camera "+(k.length+1):"audioinput"===t.kind?t.label="Microphone "+(T.length+1):"audiooutput"===t.kind?t.label="Speaker "+(x.length+1):t.label="Please invoke getUserMedia once.",void 0!==R&&R.browser.isChrome&&46<=R.browser.version&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(t.label="HTTPs is required to get label of this "+t.kind+" device.")),"audioinput"===t.kind&&(D=!0,-1===T.indexOf(t)&&T.push(t)),"audiooutput"===t.kind&&(I=!0,-1===x.indexOf(t)&&x.push(t)),"videoinput"===t.kind&&(P=!0,-1===k.indexOf(t)&&k.push(t)),S.push(t),r[t.deviceId+t.label+t.kind]=t)}),void 0!==R&&(R.MediaDevices=S,R.hasMicrophone=D,R.hasSpeakers=I,R.hasWebcam=P,R.isWebsiteHasWebcamPermissions=$,R.isWebsiteHasMicrophonePermissions=M,R.audioInputDevices=T,R.audioOutputDevices=x,R.videoInputDevices=k),t&&t()})}else t&&t();else t&&t()}var R=window.DetectRTC||{};R.browser=function(){s.appVersion;var e,t,n,r=s.userAgent,i=s.appName,a=""+parseFloat(s.appVersion),o=parseInt(s.appVersion,10);if(l){i="Opera";try{o=(a=s.userAgent.split("OPR/")[1].split(" ")[0]).split(".")[0]}catch(e){a="0.0.0.0",o=0}}else h?(a=0<(t=r.indexOf("rv:"))?r.substring(t+3):(t=r.indexOf("MSIE"),r.substring(t+5)),i="IE"):d?(t=r.indexOf("Chrome"),i="Chrome",a=r.substring(t+7)):f?-1!==r.indexOf("CriOS")?(t=r.indexOf("CriOS"),i="Chrome",a=r.substring(t+6)):-1!==r.indexOf("FxiOS")?(t=r.indexOf("FxiOS"),i="Firefox",a=r.substring(t+6)):(t=r.indexOf("Safari"),i="Safari",a=r.substring(t+7),-1!==(t=r.indexOf("Version"))&&(a=r.substring(t+8)),-1!==s.userAgent.indexOf("Version/")&&(a=s.userAgent.split("Version/")[1].split(" ")[0])):u?(t=r.indexOf("Firefox"),i="Firefox",a=r.substring(t+8)):(e=r.lastIndexOf(" ")+1)<(t=r.lastIndexOf("/"))&&(i=r.substring(e,t),a=r.substring(t+1),i.toLowerCase()===i.toUpperCase()&&(i=s.appName));return c&&(i="Edge",a=s.userAgent.split("Edge/")[1]),-1!==(n=a.search(/[; \)]/))&&(a=a.substring(0,n)),o=parseInt(""+a,10),isNaN(o)&&(a=""+parseFloat(s.appVersion),o=parseInt(s.appVersion,10)),{fullVersion:a,version:o,name:i,isPrivateBrowsing:!1}}(),function(t){var n;try{if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){n=!1},function(e){n=!0});else if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var r;try{(r=window.indexedDB.open("test")).onerror=function(){return!0}}catch(e){n=!0}void 0===n&&i(function(){return"done"===r.readyState},function(e){e||(n=!r.result)})}else if(function(e){var t=e.toLowerCase();if(0===t.indexOf("msie")&&0===t.indexOf("trident"))return!1;var n=/(?:msie|rv:)\s?([\d\.]+)/.exec(t);return!!(n&&10<=parseInt(n[1],10))}(window.navigator.userAgent)){n=!1;try{window.indexedDB||(n=!0)}catch(e){n=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(e){n=!0}void 0===n&&(n=!1,window.localStorage.removeItem("test"))}}catch(e){n=!1}i(function(){return void 0!==n},function(e){t(n)})}(function(e){R.browser.isPrivateBrowsing=!!e}),R.browser["is"+R.browser.name]=!0,R.osName=o,R.osVersion=p;"object"==typeof process&&"object"==typeof process.versions&&process.versions["node-webkit"];var N=!1;["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){N||e in window&&(N=!0)}),R.isWebRTCSupported=N,R.isORTCSupported="undefined"!=typeof RTCIceGatherer;var L=!1;(R.browser.isChrome&&35<=R.browser.version?L=!0:R.browser.isFirefox&&34<=R.browser.version?L=!0:R.browser.isEdge&&17<=R.browser.version?L=!0:"Android"===R.osName&&R.browser.isChrome&&(L=!0),(s.getDisplayMedia||s.mediaDevices&&s.mediaDevices.getDisplayMedia)&&(L=!0),/^(https:|chrome-extension:)$/g.test(location.protocol||""))||("undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(R.browser.isChrome||R.browser.isEdge||R.browser.isOpera)?L=!1:R.browser.isFirefox&&(L=!1));R.isScreenCapturingSupported=L;var F={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){F.isSupported||e in window&&(F.isSupported=!0,window[e]&&"createMediaStreamSource"in window[e].prototype&&(F.isCreateMediaStreamSourceSupported=!0))}),R.isAudioContextSupported=F.isSupported,R.isCreateMediaStreamSourceSupported=F.isCreateMediaStreamSourceSupported;var G=!1;R.browser.isChrome&&31<R.browser.version&&(G=!0),R.isRtpDataChannelsSupported=G;var j=!1;R.browser.isFirefox&&28<R.browser.version?j=!0:R.browser.isChrome&&25<R.browser.version?j=!0:R.browser.isOpera&&11<=R.browser.version&&(j=!0),R.isSctpDataChannelsSupported=j,R.isMobileDevice=r;var B=!1;s.getUserMedia?B=!0:s.mediaDevices&&s.mediaDevices.getUserMedia&&(B=!0),R.browser.isChrome&&46<=R.browser.version&&!/^(https:|chrome-extension:)$/g.test(location.protocol||"")&&"undefined"!=typeof document&&"string"==typeof document.domain&&document.domain.search&&-1===document.domain.search(/localhost|127.0./g)&&(B="Requires HTTPs"),"Nodejs"===R.osName&&(B=!1),R.isGetUserMediaSupported=B;var U,H,W,q="";screen.width&&(q+=(screen.width?screen.width:"")+" x "+(screen.height?screen.height:""));R.displayResolution=q,R.displayAspectRatio=(U=screen.width,H=screen.height,W=function e(t,n){return 0==n?t:e(n,t%n)}(U,H),U/W/(H/W)).toFixed(2),R.isCanvasSupportsStreamCapturing=v,R.isVideoSupportsStreamCapturing=y,"Chrome"==R.browser.name&&53<=R.browser.version&&(R.isCanvasSupportsStreamCapturing||(R.isCanvasSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features"),R.isVideoSupportsStreamCapturing||(R.isVideoSupportsStreamCapturing="Requires chrome flag: enable-experimental-web-platform-features")),R.DetectLocalIPAddress=function(t,e){if(R.isWebRTCSupported){var n=!0,r=!0;!function(i,e){if("undefined"!=typeof document&&"function"==typeof document.getElementById){var a={},t=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;if(!t){var n=document.getElementById("iframe");if(!n)return;var r=n.contentWindow;t=r.RTCPeerConnection||r.mozRTCPeerConnection||r.webkitRTCPeerConnection}if(t){var o=null;"Chrome"===R.browser&&R.browser.version<58&&(o={optional:[{RtpDataChannels:!0}]});var s=new t({iceServers:[{urls:"stun:stun.l.google.com:19302"}]},o);if(e&&(s.addStream?s.addStream(e):s.addTrack&&e.getTracks()[0]&&s.addTrack(e.getTracks()[0],e)),s.onicecandidate=function(e){e.candidate&&e.candidate.candidate?c(e.candidate.candidate):c()},!e)try{s.createDataChannel("sctp",{})}catch(e){}R.isPromisesSupported?s.createOffer().then(function(e){s.setLocalDescription(e).then(l)}):s.createOffer(function(e){s.setLocalDescription(e,l,function(){})},function(){})}}function c(e){if(e){var t=C.exec(e);if(t){var n=t[1],r=e.match(w);void 0===a[n]&&i(n,r,!0),a[n]=!0}}else i()}function l(){var e=s.localDescription.sdp.split("\n");e.forEach(function(e){e&&0===e.indexOf("a=candidate:")&&c(e)})}}(function(e){e?e.match(w)?t("Local: "+e,n=!1,r):e.match(A)?t("Public: "+e,n,r=!1):t("Public: "+e,n,r):t()},e)}},R.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,R.isWebSocketsBlocked=!R.isWebSocketsSupported,"Nodejs"===R.osName&&(R.isWebSocketsSupported=!0,R.isWebSocketsBlocked=!1),R.checkWebSocketsSupport=function(t){t=t||function(){};try{var e,n=new WebSocket("wss://echo.websocket.org:443/");n.onopen=function(){R.isWebSocketsBlocked=!1,e=(new Date).getTime(),n.send("ping")},n.onmessage=function(){R.WebsocketLatency=(new Date).getTime()-e+"ms",t(),n.close(),n=null},n.onerror=function(){R.isWebSocketsBlocked=!0,t()}}catch(e){R.isWebSocketsBlocked=!0,t()}},R.load=function(e){O(e=e||function(){})},R.MediaDevices=void 0!==S?S:[],R.hasMicrophone=D,R.hasSpeakers=I,R.hasWebcam=P,R.isWebsiteHasWebcamPermissions=$,R.isWebsiteHasMicrophonePermissions=M,R.audioInputDevices=T,R.audioOutputDevices=x,R.videoInputDevices=k;var z=!1;"undefined"!=typeof document&&"function"==typeof document.createElement&&"setSinkId"in document.createElement("video")&&(z=!0),R.isSetSinkIdSupported=z;var V=!1;R.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(V=!0):R.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(V=!0),R.isRTPSenderReplaceTracksSupported=V;var Y=!1;R.browser.isFirefox&&38<R.browser.version&&(Y=!0),R.isRemoteStreamProcessingSupported=Y;var K=!1;"undefined"!=typeof MediaStreamTrack&&"applyConstraints"in MediaStreamTrack.prototype&&(K=!0),R.isApplyConstraintsSupported=K;var Q=!1;R.browser.isFirefox&&43<=R.browser.version&&(Q=!0),R.isMultiMonitorScreenCapturingSupported=Q,R.isPromisesSupported=!!("Promise"in window),R.version="1.4.0",void 0===R&&(window.DetectRTC={});var X=window.MediaStream;void 0===X&&"undefined"!=typeof webkitMediaStream&&(X=webkitMediaStream),R.MediaStream=void 0!==X&&"function"==typeof X&&Object.keys(X.prototype),"undefined"!=typeof MediaStreamTrack?R.MediaStreamTrack=Object.keys(MediaStreamTrack.prototype):R.MediaStreamTrack=!1;var Z=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;R.RTCPeerConnection=void 0!==Z&&Object.keys(Z.prototype),window.DetectRTC=R,"undefined"!=typeof module&&(module.exports=R),"function"==typeof define&&define.amd&&define("DetectRTC",[],function(){return R})}(),function(e,t){"use strict";"undefined"!=typeof module&&module.exports?module.exports=t(require("angular")):"function"==typeof define&&define.amd?define(["angular"],t):t(e.angular)}(window,function(e){"use strict";e.module("angucomplete-alt",[]).directive("angucompleteAlt",["$q","$parse","$http","$sce","$timeout","$templateCache","$interpolate",function(U,e,H,W,q,t,i){var n="/angucomplete-alt/index.html";function a(c,e,t,n){var r,a,i,o,l,s,u=e.find("input"),f=3,d=null,h="autocomplete-required",p=null,m=null,g=!1,_=e[0].querySelector(".angucomplete-dropdown"),b=!1,v=null;function y(e,t){e&&("object"==typeof e?(c.searchStr=S(e),A({originalObject:e})):"string"==typeof e&&0<e.length?c.searchStr=e:console&&console.error&&console.error("Tried to set "+(t?"initial":"")+" value of angucomplete to",e,"which is an invalid value"),k(!0))}function w(e){v=null,c.hideResults(e),document.body.removeEventListener("click",w)}function C(e){return e.which?e.which:e.keyCode}function A(e){"function"==typeof c.selectedObject?c.selectedObject(e,c.selectedObjectData):c.selectedObject=e,k(!!e)}function S(t){return c.titleField.split(",").map(function(e){return T(t,e)}).join(" ")}function T(e,t){var n,r;if(t){n=t.split("."),r=e;for(var i=0;i<n.length;i++)r=r[n[i]]}else r=e;return r}function x(e,t){var n,r,i;if(i=new RegExp(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"i"),e)return e.match&&e.replace||(e=e.toString()),n=(r=e.match(i))?e.replace(i,'<span class="'+c.matchClass+'">'+r[0]+"</span>"):e,W.trustAsHtml(n)}function k(e){c.notEmpty=e,p=c.searchStr,c.fieldRequired&&n&&c.inputName&&n[c.inputName].$setValidity(h,e)}function E(e){!c.overrideSuggestions||c.selectedObject&&c.selectedObject.originalObject===c.searchStr||(e&&e.preventDefault(),q.cancel(d),O(),A({originalObject:c.searchStr}),c.clearSelected&&(c.searchStr=null),L())}function D(){return e[0].querySelectorAll(".angucomplete-row")[c.currentIndex]}function I(e){_.scrollTop=_.scrollTop+e}function P(){if(!c.disableAutocomplete){var e=c.results[c.currentIndex];c.matchClass?u.val(S(e.originalObject)):u.val(e.title)}}function M(i){return function(e,t,n,r){t||n||r||!e.data||(e=e.data),c.searching=!1,j(T(a(e),c.remoteUrlDataField),i)}}function $(e,t,n,r){c.searching=g,t||n||r||(t=e.status),0!==t&&-1!==t&&(c.remoteUrlErrorCallback?c.remoteUrlErrorCallback(e,t,n,r):console&&console.error&&console.error("http error"))}function O(){m&&m.resolve()}function R(e){var t={},n=c.remoteUrl+encodeURIComponent(e);c.remoteUrlRequestFormatter&&(t={params:c.remoteUrlRequestFormatter(e)},n=c.remoteUrl),c.remoteUrlRequestWithCredentials&&(t.withCredentials=!0),O(),m=U.defer(),t.timeout=m.promise,g=!0,H.get(n,t).then(M(e)).catch($).finally(function(){g=!1})}function N(e){O(),m=U.defer(),c.remoteApiHandler(e,m.promise).then(M(e)).catch($)}function L(){c.showDropdown=!1,c.results=[],_&&(_.scrollTop=0)}function F(){c.showDropdown=o,c.currentIndex=c.focusFirst?0:-1,c.results=[]}function G(t){!t||t.length<f||(c.localData?c.$apply(function(){var e;e=void 0!==c.localSearch()?c.localSearch()(t,c.localData):function(e){var t,n,r,i,a=c.searchFields.split(","),o=[];for(void 0!==c.parseInput()&&(e=c.parseInput()(e)),t=0;t<c.localData.length;t++){for(n=!1,r=0;r<a.length;r++)i=T(c.localData[t],a[r])||"",n=n||0<=i.toString().toLowerCase().indexOf(e.toString().toLowerCase());n&&(o[o.length]=c.localData[t])}return o}(t),c.searching=!1,j(e,t)}):c.remoteApiHandler?N(t):R(t))}function j(e,t){var n,r,i,a,o,s;if(e&&0<e.length)for(c.results=[],n=0;n<e.length;n++)c.titleField&&""!==c.titleField&&(a=o=S(e[n])),r="",c.descriptionField&&(r=s=T(e[n],c.descriptionField)),i="",c.imageField&&(i=T(e[n],c.imageField)),c.matchClass&&(o=x(a,t),s=x(r,t)),c.results[c.results.length]={title:o,description:s,image:i,originalObject:e[n]};else c.results=[];c.autoMatch&&1===c.results.length&&function(e,t,n){if(!n)return!1;for(var r in t)if(t[r].toLowerCase()===n.toLowerCase())return c.selectResult(e),!0;return!1}(c.results[0],{title:a,desc:r||""},c.searchStr)?c.showDropdown=!1:0!==c.results.length||l?c.showDropdown=!0:c.showDropdown=!1}function B(){c.localData?(c.searching=!1,j(c.localData,"")):c.remoteApiHandler?(c.searching=!0,N("")):(c.searching=!0,R(""))}e.on("mousedown",function(e){e.target.id?(v=e.target.id)===c.id+"_dropdown"&&document.body.addEventListener("click",w):v=e.target.className}),c.currentIndex=c.focusFirst?0:null,c.searching=!1,i=c.$watch("initialValue",function(e){e&&(i(),y(e,!0))}),c.$watch("fieldRequired",function(e,t){e!==t&&(e?p&&-1!==c.currentIndex?k(!0):k(!1):n[c.inputName].$setValidity(h,!0))}),c.$on("angucomplete-alt:clearInput",function(e,t){t&&t!==c.id||(c.searchStr=null,A(),k(!1),L())}),c.$on("angucomplete-alt:changeInput",function(e,t,n){t&&t===c.id&&y(n)}),c.onFocusHandler=function(){c.focusIn&&c.focusIn(),0!==f||c.searchStr&&0!==c.searchStr.length||(c.currentIndex=c.focusFirst?0:c.currentIndex,c.showDropdown=!0,B())},c.hideResults=function(){v&&(v===c.id+"_dropdown"||0<=v.indexOf("angucomplete"))?v=null:(r=q(function(){L(),c.$apply(function(){c.searchStr&&0<c.searchStr.length&&u.val(c.searchStr)})},200),O(),c.focusOut&&c.focusOut(),c.overrideSuggestions&&c.searchStr&&0<c.searchStr.length&&-1===c.currentIndex&&E())},c.resetHideResults=function(){r&&q.cancel(r)},c.hoverRow=function(e){c.currentIndex=e},c.selectResult=function(e){c.matchClass&&(e.title=S(e.originalObject),e.description=T(e.originalObject,c.descriptionField)),c.clearSelected?c.searchStr=null:c.searchStr=e.title,A(e),L()},c.inputChangeHandler=function(e){return e.length<f?(O(),L()):0===e.length&&0===f&&B(),c.inputChanged&&(e=c.inputChanged(e)),e},c.fieldRequiredClass&&""!==c.fieldRequiredClass&&(h=c.fieldRequiredClass),c.minlength&&""!==c.minlength&&(f=parseInt(c.minlength,10)),c.pause||(c.pause=500),c.clearSelected||(c.clearSelected=!1),c.overrideSuggestions||(c.overrideSuggestions=!1),c.fieldRequired&&n&&(c.initialValue?k(!0):k(!1)),c.inputType=t.type?t.type:"text",c.textSearching=t.textSearching?t.textSearching:"Searching...",c.textNoResults=t.textNoResults?t.textNoResults:"No results found",o="false"!==c.textSearching,l="false"!==c.textNoResults,c.maxlength=t.maxlength?t.maxlength:524288,u.on("keydown",function(e){var t,n,r=C(e),i=null,a=null;13===r&&c.results?(0<=c.currentIndex&&c.currentIndex<c.results.length?(e.preventDefault(),c.selectResult(c.results[c.currentIndex])):(E(e),L()),c.$apply()):40===r&&c.results?(e.preventDefault(),c.currentIndex+1<c.results.length&&c.showDropdown&&(c.$apply(function(){c.currentIndex++,P()}),b&&(i=D(),_.getBoundingClientRect().top+parseInt(getComputedStyle(_).maxHeight,10)<i.getBoundingClientRect().bottom&&I((t=i,n=getComputedStyle(t),t.offsetHeight+parseInt(n.marginTop,10)+parseInt(n.marginBottom,10)))))):38===r&&c.results?(e.preventDefault(),1<=c.currentIndex?(c.$apply(function(){c.currentIndex--,P()}),b&&(a=D().getBoundingClientRect().top-(_.getBoundingClientRect().top+parseInt(getComputedStyle(_).paddingTop,10)))<0&&I(a-1)):0===c.currentIndex&&c.$apply(function(){c.currentIndex=-1,u.val(c.searchStr)})):9===r?c.results&&0<c.results.length&&c.showDropdown?-1===c.currentIndex&&c.overrideSuggestions?E():(-1===c.currentIndex&&(c.currentIndex=0),c.selectResult(c.results[c.currentIndex]),c.$digest()):c.searchStr&&0<c.searchStr.length&&E():27===r&&e.preventDefault()}),u.on("keyup compositionend",function(e){var t=C(e);if(37!==t&&39!==t)if(38===t||13===t)e.preventDefault();else if(40===t)e.preventDefault(),!c.showDropdown&&c.searchStr&&c.searchStr.length>=f&&(F(),c.searching=!0,G(c.searchStr));else if(27===t)L(),c.$apply(function(){u.val(c.searchStr)});else{if(0===f&&!c.searchStr)return;c.searchStr&&""!==c.searchStr?c.searchStr.length>=f&&(F(),d&&q.cancel(d),c.searching=!0,d=q(function(){G(c.searchStr)},c.pause)):c.showDropdown=!1,p&&p!==c.searchStr&&!c.clearSelected&&c.$apply(function(){A()})}}),s="remoteUrlResponseFormatter",a=function(e){return c[s]?c[s](e):e},q(function(){var e=getComputedStyle(_);b=e.maxHeight&&"auto"===e.overflowY})}return t.put(n,'<div class="angucomplete-holder" ng-class="{\'angucomplete-dropdown-visible\': showDropdown}"> <input id="{{id}}_value" name="{{inputName}}" tabindex="{{fieldTabindex}}" ng-class="{\'angucomplete-input-not-empty\': notEmpty}" ng-model="searchStr" ng-disabled="disableInput" type="{{inputType}}" placeholder="{{placeholder}}" maxlength="{{maxlength}}" ng-focus="onFocusHandler()" class="{{inputClass}}" ng-focus="resetHideResults()" ng-blur="hideResults($event)" autocapitalize="off" autocorrect="off" autocomplete="off" ng-change="inputChangeHandler(searchStr)"/> <div id="{{id}}_dropdown" class="angucomplete-dropdown" ng-show="showDropdown"> <div class="angucomplete-searching" ng-show="searching" ng-bind="textSearching"></div> <div class="angucomplete-searching" ng-show="!searching && (!results || results.length == 0)" ng-bind="textNoResults"></div> <div class="angucomplete-row" ng-repeat="result in results" ng-click="selectResult(result)" ng-mouseenter="hoverRow($index)" ng-class="{\'angucomplete-selected-row\': $index == currentIndex}"> <div ng-if="imageField" class="angucomplete-image-holder"> <img ng-if="result.image && result.image != \'\'" ng-src="{{result.image}}" class="angucomplete-image"/> <div ng-if="!result.image && result.image != \'\'" class="angucomplete-image-default"></div> </div> <div class="angucomplete-title" ng-if="matchClass" ng-bind-html="result.title"></div> <div class="angucomplete-title" ng-if="!matchClass">{{ result.title }}</div> <div ng-if="matchClass && result.description && result.description != \'\'" class="angucomplete-description" ng-bind-html="result.description"></div> <div ng-if="!matchClass && result.description && result.description != \'\'" class="angucomplete-description">{{result.description}}</div> </div> </div></div>'),{restrict:"EA",require:"^?form",scope:{selectedObject:"=",selectedObjectData:"=",disableInput:"=",initialValue:"=",localData:"=",localSearch:"&",remoteUrlRequestFormatter:"=",remoteUrlRequestWithCredentials:"@",remoteUrlResponseFormatter:"=",remoteUrlErrorCallback:"=",remoteApiHandler:"=",id:"@",type:"@",placeholder:"@",textSearching:"@",textNoResults:"@",remoteUrl:"@",remoteUrlDataField:"@",titleField:"@",descriptionField:"@",imageField:"@",inputClass:"@",pause:"@",searchFields:"@",minlength:"@",matchClass:"@",clearSelected:"@",overrideSuggestions:"@",fieldRequired:"=",fieldRequiredClass:"@",inputChanged:"=",autoMatch:"@",focusOut:"&",focusIn:"&",fieldTabindex:"@",inputName:"@",focusFirst:"@",parseInput:"&",disableAutocomplete:"="},templateUrl:function(e,t){return t.templateUrl||n},compile:function(e){var t=i.startSymbol(),n=i.endSymbol();if("{{"!==t||"}}"!==n){var r=e.html().replace(/\{\{/g,t).replace(/\}\}/g,n);e.html(r)}return a}}}])}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(function(){try{return require("moment")}catch(e){}}()):"function"==typeof define&&define.amd?define(["require"],function(e){return t(function(){try{return e("moment")}catch(e){}}())}):(e=e||self).Chart=t(e.moment)}(this,function(r){"use strict";r=r&&r.hasOwnProperty("default")?r.default:r;var e,u={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]},l=(function(e){var l={};for(var t in u)u.hasOwnProperty(t)&&(l[u[t]]=t);var o=e.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 n in o)if(o.hasOwnProperty(n)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);var r=o[n].channels,i=o[n].labels;delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:r}),Object.defineProperty(o[n],"labels",{value:i})}o.rgb.hsl=function(e){var t,n,r=e[0]/255,i=e[1]/255,a=e[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),c=s-o;return s===o?t=0:r===s?t=(i-a)/c:i===s?t=2+(a-r)/c:a===s&&(t=4+(r-i)/c),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?c/(s+o):c/(2-s-o)),100*n]},o.rgb.hsv=function(e){var t,n,r,i,a,o=e[0]/255,s=e[1]/255,c=e[2]/255,l=Math.max(o,s,c),u=l-Math.min(o,s,c),f=function(e){return(l-e)/6/u+.5};return 0===u?i=a=0:(a=u/l,t=f(o),n=f(s),r=f(c),o===l?i=r-n:s===l?i=1/3+t-r:c===l&&(i=2/3+n-t),i<0?i+=1:1<i&&(i-=1)),[360*i,100*a,100*l]},o.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[o.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,r))),100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},o.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-i)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-i-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var t=l[e];if(t)return t;var n,r,i,a=1/0;for(var o in u)if(u.hasOwnProperty(o)){var s=u[o],c=(r=e,i=s,Math.pow(r[0]-i[0],2)+Math.pow(r[1]-i[1],2)+Math.pow(r[2]-i[2],2));c<a&&(a=c,n=o)}return n},o.keyword.rgb=function(e){return u[e]},o.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=.04045<t?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=.04045<r?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},o.rgb.lab=function(e){var t=o.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(r=.008856<r?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]},o.hsl.rgb=function(e){var t,n,r,i,a,o=e[0]/360,s=e[1]/100,c=e[2]/100;if(0===s)return[a=255*c,a,a];t=2*c-(n=c<.5?c*(1+s):c+s-c*s),i=[0,0,0];for(var l=0;l<3;l++)(r=o+1/3*-(l-1))<0&&r++,1<r&&r--,a=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,i[l]=255*a;return i},o.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,i=n,a=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=a<=1?a:2-a,[t,100*(0===r?2*i/(a+i):2*n/(r+n)),100*((r+n)/2)]},o.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,i=Math.floor(t)%6,a=t-Math.floor(t),o=255*r*(1-n),s=255*r*(1-n*a),c=255*r*(1-n*(1-a));switch(r*=255,i){case 0:return[r,c,o];case 1:return[s,r,o];case 2:return[o,r,c];case 3:return[o,s,r];case 4:return[c,o,r];case 5:return[r,o,s]}},o.hsv.hsl=function(e){var t,n,r,i=e[0],a=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return r=(2-a)*o,n=a*s,[i,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(r/=2)]},o.hwb.rgb=function(e){var t,n,r,i,a,o,s,c=e[0]/360,l=e[1]/100,u=e[2]/100,f=l+u;switch(1<f&&(l/=f,u/=f),r=6*c-(t=Math.floor(6*c)),0!=(1&t)&&(r=1-r),i=l+r*((n=1-u)-l),t){default:case 6:case 0:a=n,o=i,s=l;break;case 1:a=i,o=n,s=l;break;case 2:a=l,o=n,s=i;break;case 3:a=l,o=i,s=n;break;case 4:a=i,o=l,s=n;break;case 5:a=n,o=l,s=i}return[255*a,255*o,255*s]},o.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,i=e[3]/100;return[255*(1-Math.min(1,t*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},o.xyz.rgb=function(e){var t,n,r,i=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*i+1.8758*a+.0415*o,r=.0557*i+-.204*a+1.057*o,t=.0031308<(t=3.2406*i+-1.5372*a+-.4986*o)?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=.0031308<r?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},o.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=.008856<r?Math.pow(r,1/3):7.787*r+16/116))]},o.lab.xyz=function(e){var t,n,r,i=e[0];t=e[1]/500+(n=(i+16)/116),r=n-e[2]/200;var a=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(r,3);return n=.008856<a?a:(n-16/116)/7.787,t=.008856<o?o:(t-16/116)/7.787,r=.008856<s?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},o.lab.lch=function(e){var t,n=e[0],r=e[1],i=e[2];return(t=360*Math.atan2(i,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+i*i),t]},o.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},o.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:248<t?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return 50<e&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(50<e));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if(232<=e){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},o.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,i=e[2]/255,a=Math.max(Math.max(n,r),i),o=Math.min(Math.min(n,r),i),s=a-o;return t=s<=0?0:a===n?(r-i)/s%6:a===r?2+(i-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},o.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,i=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(i=(n-.5*r)/(1-r)),[e[0],100*r,100*i]},o.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var i,a=[0,0,0],o=t%1*6,s=o%1,c=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=c,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=c,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=c}return i=(1-n)*r,[255*(n*a[0]+i),255*(n*a[1]+i),255*(n*a[2]+i)]},o.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return 0<n&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return 0<n&&n<.5?r=t/(2*n):.5<=n&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,i=0;return r<1&&(i=(n-r)/(1-r)),[e[0],100*r,100*i]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(e={exports:{}},e.exports),e.exports);l.rgb,l.hsl,l.hsv,l.hwb,l.cmyk,l.xyz,l.lab,l.lch,l.hex,l.keyword,l.ansi16,l.ansi256,l.hcg,l.apple,l.gray;function c(e){var t=function(){for(var e={},t=Object.keys(l),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),i=Object.keys(l[r]),a=i.length,o=0;o<a;o++){var s=i[o],c=t[s];-1===c.distance&&(c.distance=t[r].distance+1,c.parent=r,n.unshift(s))}return t}function a(t,n){return function(e){return n(t(e))}}function f(e,t){for(var n=[t[e].parent,e],r=l[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=a(l[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}var d={};Object.keys(l).forEach(function(o){d[o]={},Object.defineProperty(d[o],"channels",{value:l[o].channels}),Object.defineProperty(d[o],"labels",{value:l[o].labels});var s=function(e){for(var t=c(e),n={},r=Object.keys(t),i=r.length,a=0;a<i;a++){var o=r[a];null!==t[o].parent&&(n[o]=f(o,t))}return n}(o);Object.keys(s).forEach(function(e){var i,t,n,r,a=s[e];d[o][e]=(t=function(e){if(null==e)return e;1<arguments.length&&(e=Array.prototype.slice.call(arguments));var t=i(e);if("object"==typeof t)for(var n=t.length,r=0;r<n;r++)t[r]=Math.round(t[r]);return t},"conversion"in(i=a)&&(t.conversion=i.conversion),t),d[o][e].raw=(r=function(e){return null==e?e:(1<arguments.length&&(e=Array.prototype.slice.call(arguments)),n(e))},"conversion"in(n=a)&&(r.conversion=n.conversion),r)})});var h=d,o={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]},n={getRgba:i,getHsla:s,getRgb:function(e){var t=i(e);return t&&t.slice(0,3)},getHsl:function(e){var t=s(e);return t&&t.slice(0,3)},getHwb:p,getAlpha:function(e){var t=i(e);{if(t)return t[3];if(t=s(e))return t[3];if(t=p(e))return t[3]}},hexString:function(e,t){var t=void 0!==t&&3===e.length?t:e[3];return"#"+v(e[0])+v(e[1])+v(e[2])+(0<=t&&t<1?v(Math.round(255*t)):"")},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return m(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:m,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return g(e,t);var n=Math.round(e[0]/255*100),r=Math.round(e[1]/255*100),i=Math.round(e[2]/255*100);return"rgb("+n+"%, "+r+"%, "+i+"%)"},percentaString:g,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return _(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:_,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return t[e.slice(0,3)]}};function i(e){if(e){var t=[0,0,0],n=1,r=e.match(/^#([a-fA-F0-9]{3,4})$/i),i="";if(r){i=(r=r[1])[3];for(var a=0;a<t.length;a++)t[a]=parseInt(r[a]+r[a],16);i&&(n=Math.round(parseInt(i+i,16)/255*100)/100)}else if(r=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){i=r[2],r=r[1];for(a=0;a<t.length;a++)t[a]=parseInt(r.slice(2*a,2*a+2),16);i&&(n=Math.round(parseInt(i,16)/255*100)/100)}else if(r=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=parseInt(r[a+1]);n=parseFloat(r[4])}else if(r=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(r[a+1]));n=parseFloat(r[4])}else if(r=e.match(/(\w+)/)){if("transparent"==r[1])return[0,0,0,0];if(!(t=o[r[1]]))return}for(a=0;a<t.length;a++)t[a]=b(t[a],0,255);return n=n||0==n?b(n,0,1):1,t[3]=n,t}}function s(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[b(parseInt(t[1]),0,360),b(parseFloat(t[2]),0,100),b(parseFloat(t[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function p(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[b(parseInt(t[1]),0,360),b(parseFloat(t[2]),0,100),b(parseFloat(t[3]),0,100),b(isNaN(n)?1:n,0,1)]}}}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function g(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function _(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function b(e,t,n){return Math.min(Math.max(t,e),n)}function v(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var t={};for(var y in o)t[o[y]]=y;var w=function(e){return e instanceof w?e:this instanceof w?(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},void("string"==typeof e?(t=n.getRgba(e))?this.setValues("rgb",t):(t=n.getHsla(e))?this.setValues("hsl",t):(t=n.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new w(e);var t};w.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 e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return n<t?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=e,r=void 0===t?.5:t,i=2*r-1,a=this.alpha()-n.alpha(),o=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,s=1-o;return this.rgb(o*this.red()+s*n.red(),o*this.green()+s*n.green(),o*this.blue()+s*n.blue()).alpha(this.alpha()*r+n.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new w,r=this.values,i=n.values;for(var a in r)r.hasOwnProperty(a)&&(e=r[a],"[object Array]"===(t={}.toString.call(e))?i[a]=e.slice(0):"[object Number]"===t?i[a]=e:console.error("unexpected color value:",e));return n}},w.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},w.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},w.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},w.prototype.setValues=function(e,t){var n,r,i=this.values,a=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)i[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)i[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[a[e][0]]){var c=a[e];for(n=0;n<e.length;n++)i[e][n]=t[c[n]];s=t.alpha}if(i.alpha=Math.max(0,Math.min(1,void 0===s?i.alpha:s)),"alpha"===e)return!1;for(n=0;n<e.length;n++)r=Math.max(0,Math.min(o[e][n],i[e][n])),i[e][n]=Math.round(r);for(var l in a)l!==e&&(i[l]=h[e][l](i[e]));return!0},w.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},w.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:(n===r[t]||(r[t]=n,this.setValues(e,r)),this)},"undefined"!=typeof window&&(window.Color=w);var C=w;function A(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var S,T={noop:function(){},uid:(S=0,function(){return S++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return T.valueOrDefault(T.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var i,a,o;if(T.isArray(e))if(a=e.length,r)for(i=a-1;0<=i;i--)t.call(n,e[i],i);else for(i=0;i<a;i++)t.call(n,e[i],i);else if(T.isObject(e))for(a=(o=Object.keys(e)).length,i=0;i<a;i++)t.call(n,e[o[i]],o[i])},arrayEquals:function(e,t){var n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i instanceof Array&&a instanceof Array){if(!T.arrayEquals(i,a))return!1}else if(i!==a)return!1;return!0},clone:function(e){if(T.isArray(e))return e.map(T.clone);if(T.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),r=n.length,i=0;i<r;++i)t[n[i]]=T.clone(e[n[i]]);return t}return e},_merger:function(e,t,n,r){if(A(e)){var i=t[e],a=n[e];T.isObject(i)&&T.isObject(a)?T.merge(i,a,r):t[e]=T.clone(a)}},_mergerIf:function(e,t,n){if(A(e)){var r=t[e],i=n[e];T.isObject(r)&&T.isObject(i)?T.mergeIf(r,i):t.hasOwnProperty(e)||(t[e]=T.clone(i))}},merge:function(e,t,n){var r,i,a,o,s,c=T.isArray(t)?t:[t],l=c.length;if(!T.isObject(e))return e;for(r=(n=n||{}).merger||T._merger,i=0;i<l;++i)if(t=c[i],T.isObject(t))for(s=0,o=(a=Object.keys(t)).length;s<o;++s)r(a[s],e,t,n);return e},mergeIf:function(e,t){return T.merge(e,t,{merger:T._mergerIf})},extend:Object.assign||function(e){return T.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=T.inherits,e&&T.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,r){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+r+'" instead')}},x=T;T.callCallback=T.callback,T.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},T.getValueOrDefault=T.valueOrDefault,T.getValueAtIndexOrDefault=T.valueAtIndexOrDefault;var k={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return 1<=e?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),t=r<1?(r=1,n/4):n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),t=r<1?(r=1,n/4):n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),t=r<1?(r=1,n/4):n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){return e*e*(2.70158*e-1.70158)},easeOutBack:function(e){return(e-=1)*e*(2.70158*e+1.70158)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-k.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*k.easeInBounce(2*e):.5*k.easeOutBounce(2*e-1)+.5}},E={effects:k};x.easingEffects=k;var D=Math.PI,I=D/180,P=2*D,M=D/2,$=D/4,O=2*D/3,R={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,i,a){if(a){var o=Math.min(a,i/2,r/2),s=t+o,c=n+o,l=t+r-o,u=n+i-o;e.moveTo(t,c),s<l&&c<u?(e.arc(s,c,o,-D,-M),e.arc(l,c,o,-M,0),e.arc(l,u,o,0,M),e.arc(s,u,o,M,D)):s<l?(e.moveTo(s,n),e.arc(l,c,o,-M,M),e.arc(s,c,o,M,D+M)):c<u?(e.arc(s,c,o,-D,0),e.arc(s,u,o,0,D)):e.arc(s,c,o,-D,D),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,i)},drawPoint:function(e,t,n,r,i,a){var o,s,c,l,u,f=(a||0)*I;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(o=t.toString())||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(r,i),e.rotate(f),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(r,i,n,0,P),e.closePath();break;case"triangle":e.moveTo(r+Math.sin(f)*n,i-Math.cos(f)*n),f+=O,e.lineTo(r+Math.sin(f)*n,i-Math.cos(f)*n),f+=O,e.lineTo(r+Math.sin(f)*n,i-Math.cos(f)*n),e.closePath();break;case"rectRounded":l=n-(u=.516*n),s=Math.cos(f+$)*l,c=Math.sin(f+$)*l,e.arc(r-s,i-c,u,f-D,f-M),e.arc(r+c,i-s,u,f-M,f),e.arc(r+s,i+c,u,f,f+M),e.arc(r-c,i+s,u,f+M,f+D),e.closePath();break;case"rect":if(!a){l=Math.SQRT1_2*n,e.rect(r-l,i-l,2*l,2*l);break}f+=$;case"rectRot":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+c,i-s),e.lineTo(r+s,i+c),e.lineTo(r-c,i+s),e.closePath();break;case"crossRot":f+=$;case"cross":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c),e.moveTo(r+c,i-s),e.lineTo(r-c,i+s);break;case"star":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c),e.moveTo(r+c,i-s),e.lineTo(r-c,i+s),f+=$,s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c),e.moveTo(r+c,i-s),e.lineTo(r-c,i+s);break;case"line":s=Math.cos(f)*n,c=Math.sin(f)*n,e.moveTo(r-s,i-c),e.lineTo(r+s,i+c);break;case"dash":e.moveTo(r,i),e.lineTo(r+Math.cos(f)*n,i+Math.sin(f)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){var i=n.steppedLine;if(i){if("middle"===i){var a=(t.x+n.x)/2;e.lineTo(a,r?n.y:t.y),e.lineTo(a,r?t.y:n.y)}else"after"===i&&!r||"after"!==i&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},N=R;x.clear=R.clear,x.drawRoundedRectangle=function(e){e.beginPath(),R.roundedRect.apply(R,arguments)};var L={_set:function(e,t){return x.merge(this[e]||(this[e]={}),t)}};L._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 F=L,G=x.valueOrDefault;var j={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,r,i;return x.isObject(e)?(t=+e.top||0,n=+e.right||0,r=+e.bottom||0,i=+e.left||0):t=n=r=i=+e||0,{top:t,right:n,bottom:r,left:i,height:t+r,width:i+n}},_parseFont:function(e){var t,n=F.global,r=G(e.fontSize,n.defaultFontSize),i={family:G(e.fontFamily,n.defaultFontFamily),lineHeight:x.options.toLineHeight(G(e.lineHeight,n.defaultLineHeight),r),size:r,style:G(e.fontStyle,n.defaultFontStyle),weight:null,string:""};return i.string=!(t=i)||x.isNullOrUndef(t.size)||x.isNullOrUndef(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family,i},resolve:function(e,t,n,r){var i,a,o,s=!0;for(i=0,a=e.length;i<a;++i)if(void 0!==(o=e[i])&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==n&&x.isArray(o)&&(o=o[n],s=!1),void 0!==o))return r&&!s&&(r.cacheable=!1),o}},B={_factorize:function(e){var t,n=[],r=Math.sqrt(e);for(t=1;t<r;t++)e%t==0&&(n.push(t),n.push(e/t));return r===(0|r)&&n.push(r),n.sort(function(e,t){return e-t}).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},U=B;x.log10=B.log10;var H=x,W=E,q=N,z=j,V=U,Y={getRtlAdapter:function(e,t,n){return e?(r=t,i=n,{x:function(e){return r+r+i-e},setWidth:function(e){i=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}};var r,i},overrideTextDirection:function(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};H.easing=W,H.canvas=q,H.options=z,H.math=V,H.rtl=Y;var K=function(e){H.extend(this,e),this.initialize.apply(this,arguments)};H.extend(K.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=H.extend({},this._model)),this._start={},this},transition:function(e){var t=this._model,n=this._start,r=this._view;return t&&1!==e?(r||(r=this._view={}),n||(n=this._start={}),function(e,t,n,r){var i,a,o,s,c,l,u,f,d,h=Object.keys(n);for(i=0,a=h.length;i<a;++i)if(l=n[o=h[i]],t.hasOwnProperty(o)||(t[o]=l),(s=t[o])!==l&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=s),(u=typeof l)==typeof(c=e[o]))if("string"===u){if((f=C(c)).valid&&(d=C(l)).valid){t[o]=d.mix(f,r).rgbString();continue}}else if(H.isFinite(c)&&H.isFinite(l)){t[o]=c+(l-c)*r;continue}t[o]=l}}(n,r,t,e)):(this._view=H.extend({},t),this._start=null),this},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return H.isNumber(this._model.x)&&H.isNumber(this._model.y)}}),K.extend=H.inherits;var Q=K,X=Q.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),Z=X;Object.defineProperty(X.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(X.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),F._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:H.noop,onComplete:H.noop}});var J={animations:[],request:null,addAnimation:function(e,t,n,r){var i,a,o=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,r||(e.animating=!0),i=0,a=o.length;i<a;++i)if(o[i].chart===e)return void(o[i]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=H.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=H.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){this.advance(),0<this.animations.length&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,r,i=this.animations,a=0;a<i.length;)t=(e=i[a]).chart,n=e.numSteps,r=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(r,n),H.callback(e.render,[t,e],t),H.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(H.callback(e.onAnimationComplete,[e],t),t.animating=!1,i.splice(a,1)):++a}},ee=H.options.resolve,te=["push","pop","shift","splice","unshift"];function ne(t,e){var n=t._chartjs;if(n){var r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),0<r.length||(te.forEach(function(e){delete t[e]}),delete t._chartjs)}}var re=function(e,t){this.initialize(e,t)};H.extend(re.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){this.chart=e,this.index=t,this.linkScales(),this.addElements(),this._type=this.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,r=this.getDataset(),i=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!r.xAxisID||(e.xAxisID=r.xAxisID||i.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!r.yAxisID||(e.yAxisID=r.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_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&&ne(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),r=this.getDataset().data||[],i=n.data;for(e=0,t=r.length;e<t;++e)i[e]=i[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var i,e,t=this.getDataset(),n=t.data||(t.data=[]);this._data!==n&&(this._data&&ne(this._data,this),n&&Object.isExtensible(n)&&(e=this,(i=n)._chartjs?i._chartjs.listeners.push(e):(Object.defineProperty(i,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),te.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),r=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),e=r.apply(this,t);return H.each(i._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),e}})}))),this._data=n),this.resyncElements()},_configure:function(){this._config=H.merge(Object.create(null),[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&H._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:H.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,i=0;i<r;++i)n[i].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},getStyle:function(e){var t,n=this.getMeta(),r=n.dataset;return this._configure(),!1!==(t=r&&void 0===e?this._resolveDatasetElementOptions(r||{}):(e=e||0,this._resolveDataElementOptions(n.data[e]||{},e))).fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,r,i,a,o=this.chart,s=this._config,c=e.custom||{},l=o.options.elements[this.datasetElementType.prototype._type]||{},u=this._datasetElementOptions,f={},d={chart:o,dataset:this.getDataset(),datasetIndex:this.index,hover:t};for(n=0,r=u.length;n<r;++n)i=u[n],a=t?"hover"+i.charAt(0).toUpperCase()+i.slice(1):i,f[i]=ee([c[a],s[a],l[a]],d);return f},_resolveDataElementOptions:function(e,t){var n=e&&e.custom,r=this._cachedDataOpts;if(r&&!n)return r;var i,a,o,s,c=this.chart,l=this._config,u=c.options.elements[this.dataElementType.prototype._type]||{},f=this._dataElementOptions,d={},h={chart:c,dataIndex:t,dataset:this.getDataset(),datasetIndex:this.index},p={cacheable:!n};if(n=n||{},H.isArray(f))for(a=0,o=f.length;a<o;++a)d[s=f[a]]=ee([n[s],l[s],u[s]],h,t,p);else for(a=0,o=(i=Object.keys(f)).length;a<o;++a)d[s=i[a]]=ee([n[s],l[f[s]],l[s],u[s]],h,t,p);return p.cacheable&&(this._cachedDataOpts=Object.freeze(d)),d},removeHoverStyle:function(e){H.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},i=e._model,a=H.getHoverColor;e.$previousStyle={backgroundColor:i.backgroundColor,borderColor:i.borderColor,borderWidth:i.borderWidth},i.backgroundColor=ee([r.hoverBackgroundColor,t.hoverBackgroundColor,a(i.backgroundColor)],void 0,n),i.borderColor=ee([r.hoverBorderColor,t.hoverBorderColor,a(i.borderColor)],void 0,n),i.borderWidth=ee([r.hoverBorderWidth,t.hoverBorderWidth,i.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,r,i,a,o=this.getMeta().dataset,s={};if(o){for(a=o._model,i=this._resolveDatasetElementOptions(o,!0),e=0,t=(r=Object.keys(i)).length;e<t;++e)s[n=r[e]]=a[n],a[n]=i[n];o.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,r=t.length;r<n?e.data.splice(r,n-r):n<r&&this.insertElements(n,r-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),re.extend=H.inherits;var ie=re,ae=2*Math.PI;function oe(e,t){var n=t.startAngle,r=t.endAngle,i=t.pixelMargin,a=i/t.outerRadius,o=t.x,s=t.y;e.beginPath(),e.arc(o,s,t.outerRadius,n-a,r+a),t.innerRadius>i?(a=i/t.innerRadius,e.arc(o,s,t.innerRadius-i,r+a,n-a,!0)):e.arc(o,s,i,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function se(e,t,n){var r="inner"===t.borderAlign;r?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,r){var i,a=n.endAngle;for(r&&(n.endAngle=n.startAngle+ae,oe(e,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=ae,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+ae,n.startAngle,!0),i=0;i<n.fullCircles;++i)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+ae),i=0;i<n.fullCircles;++i)e.stroke()}(e,t,n,r),r&&oe(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}F._set("global",{elements:{arc:{backgroundColor:F.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var ce=Q.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=H.getAngleFromPoint(n,{x:e,y:t}),i=r.angle,a=r.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=ae;for(;s<i;)i-=ae;for(;i<o;)i+=ae;var c=o<=i&&i<=s,l=a>=n.innerRadius&&a<=n.outerRadius;return c&&l}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,i={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/ae)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,i.fullCircles){for(i.endAngle=i.startAngle+ae,t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),e=0;e<i.fullCircles;++e)t.fill();i.endAngle=i.startAngle+n.circumference%ae}t.beginPath(),t.arc(i.x,i.y,i.outerRadius,i.startAngle,i.endAngle),t.arc(i.x,i.y,i.innerRadius,i.endAngle,i.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&se(t,n,i),t.restore()}}),le=H.valueOrDefault,ue=F.global.defaultColor;F._set("global",{elements:{line:{tension:.4,backgroundColor:ue,borderWidth:3,borderColor:ue,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var fe=Q.extend({_type:"line",draw:function(){var e,t,n,r=this._view,i=this._chart.ctx,a=r.spanGaps,o=this._children.slice(),s=F.global,c=s.elements.line,l=-1,u=this._loop;if(o.length){if(this._loop){for(e=0;e<o.length;++e)if(t=H.previousItem(o,e),!o[e]._view.skip&&t._view.skip){o=o.slice(e).concat(o.slice(0,e)),u=a;break}u&&o.push(o[0])}for(i.save(),i.lineCap=r.borderCapStyle||c.borderCapStyle,i.setLineDash&&i.setLineDash(r.borderDash||c.borderDash),i.lineDashOffset=le(r.borderDashOffset,c.borderDashOffset),i.lineJoin=r.borderJoinStyle||c.borderJoinStyle,i.lineWidth=le(r.borderWidth,c.borderWidth),i.strokeStyle=r.borderColor||s.defaultColor,i.beginPath(),(n=o[0]._view).skip||(i.moveTo(n.x,n.y),l=0),e=1;e<o.length;++e)n=o[e]._view,t=-1===l?H.previousItem(o,e):o[l],n.skip||(l!==e-1&&!a||-1===l?i.moveTo(n.x,n.y):H.canvas.lineTo(i,t._view,n),l=e);u&&i.closePath(),i.stroke(),i.restore()}}}),de=H.valueOrDefault,he=F.global.defaultColor;function pe(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}F._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:he,borderColor:he,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var me=Q.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:pe,inXRange:pe,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,r=t.pointStyle,i=t.rotation,a=t.radius,o=t.x,s=t.y,c=F.global,l=c.defaultColor;t.skip||(void 0===e||H.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||l,n.lineWidth=de(t.borderWidth,c.elements.point.borderWidth),n.fillStyle=t.backgroundColor||l,H.canvas.drawPoint(n,r,a,o,s,i))}}),ge=F.global.defaultColor;function _e(e){return e&&void 0!==e.width}function be(e){var t,n,r,i,a;return i=_e(e)?(a=e.width/2,t=e.x-a,n=e.x+a,r=Math.min(e.y,e.base),Math.max(e.y,e.base)):(a=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),r=e.y-a,e.y+a),{left:t,top:r,right:n,bottom:i}}function ve(e,t,n){return e===t?n:e===n?t:e}function ye(e,t,n){var r,i,a,o,s,c,l,u=e.borderWidth,f=(i=(r=e).borderSkipped,a={},i&&(r.horizontal?r.base>r.x&&(i=ve(i,"left","right")):r.base<r.y&&(i=ve(i,"bottom","top")),a[i]=!0),a);return H.isObject(u)?(o=+u.top||0,s=+u.right||0,c=+u.bottom||0,l=+u.left||0):o=s=c=l=+u||0,{t:f.top||o<0?0:n<o?n:o,r:f.right||s<0?0:t<s?t:s,b:f.bottom||c<0?0:n<c?n:c,l:f.left||l<0?0:t<l?t:l}}function we(e,t,n){var r=null===t,i=null===n,a=!(!e||r&&i)&&be(e);return a&&(r||t>=a.left&&t<=a.right)&&(i||n>=a.top&&n<=a.bottom)}F._set("global",{elements:{rectangle:{backgroundColor:ge,borderColor:ge,borderSkipped:"bottom",borderWidth:0}}});var Ce=Q.extend({_type:"rectangle",draw:function(){var e,t,n,r,i,a=this._chart.ctx,o=this._view,s=(t=be(e=o),n=t.right-t.left,r=t.bottom-t.top,i=ye(e,n/2,r/2),{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+i.l,y:t.top+i.t,w:n-i.l-i.r,h:r-i.t-i.b}}),c=s.outer,l=s.inner;a.fillStyle=o.backgroundColor,a.fillRect(c.x,c.y,c.w,c.h),c.w===l.w&&c.h===l.h||(a.save(),a.beginPath(),a.rect(c.x,c.y,c.w,c.h),a.clip(),a.fillStyle=o.borderColor,a.rect(l.x,l.y,l.w,l.h),a.fill("evenodd"),a.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return we(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return _e(n)?we(n,e,null):we(n,null,t)},inXRange:function(e){return we(this._view,e,null)},inYRange:function(e){return we(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return t=_e(n)?(e=n.x,(n.y+n.base)/2):(e=(n.x+n.base)/2,n.y),{x:e,y:t}},getArea:function(){var e=this._view;return _e(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),Ae={},Se=ce,Te=fe,xe=me,ke=Ce;Ae.Arc=Se,Ae.Line=Te,Ae.Point=xe,Ae.Rectangle=ke;var Ee=H._deprecated,De=H.valueOrDefault;function Ie(e,t,n){var r,i,a=n.barThickness,o=t.stackCount,s=t.pixels[e],c=H.isNullOrUndef(a)?function(e,t){var n,r,i,a,o=e._length;for(i=1,a=t.length;i<a;++i)o=Math.min(o,Math.abs(t[i]-t[i-1]));for(i=0,a=e.getTicks().length;i<a;++i)r=e.getPixelForTick(i),o=0<i?Math.min(o,Math.abs(r-n)):o,n=r;return o}(t.scale,t.pixels):-1;return i=H.isNullOrUndef(a)?(r=c*n.categoryPercentage,n.barPercentage):(r=a*o,1),{chunk:r/o,ratio:i,start:s-r/2}}F._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),F._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Pe=ie.extend({dataElementType:Ae.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t;ie.prototype.initialize.apply(this,arguments),(e=this.getMeta()).stack=this.getDataset().stack,e.bar=!0,t=this._getIndexScale().options,Ee("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Ee("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Ee("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Ee("bar chart",this._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Ee("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,r=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=r.length;t<n;++t)this.updateElement(r[t],t,e)},updateElement:function(e,t,n){var r=this.getMeta(),i=this.getDataset(),a=this._resolveDataElementOptions(e,t);e._xScale=this.getScaleForId(r.xAxisID),e._yScale=this.getScaleForId(r.yAxisID),e._datasetIndex=this.index,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:i.label,label:this.chart.data.labels[t]},H.isArray(i.data[t])&&(e._model.borderSkipped=null),this._updateElementGeometry(e,t,n,a),e.pivot()},_updateElementGeometry:function(e,t,n,r){var i=e._model,a=this._getValueScale(),o=a.getBasePixel(),s=a.isHorizontal(),c=this._ruler||this.getRuler(),l=this.calculateBarValuePixels(this.index,t,r),u=this.calculateBarIndexPixels(this.index,t,c,r);i.horizontal=s,i.base=n?o:l.base,i.x=s?n?o:l.head:u.center,i.y=s?u.center:n?o:l.head,i.height=s?u.size:void 0,i.width=s?void 0:u.size},_getStacks:function(e){var t,n,r=this._getIndexScale(),i=r._getMatchingVisibleMetas(this._type),a=r.options.stacked,o=i.length,s=[];for(t=0;t<o&&(n=i[t],(!1===a||-1===s.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n=this._getIndexScale(),r=[];for(e=0,t=this.getMeta().data.length;e<t;++e)r.push(n.getPixelForValue(null,e,this.index));return{pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var r,i,a,o,s,c,l,u=this.chart,f=this._getValueScale(),d=f.isHorizontal(),h=u.data.datasets,p=f._getMatchingVisibleMetas(this._type),m=f._parseValue(h[e].data[t]),g=n.minBarLength,_=f.options.stacked,b=this.getMeta().stack,v=void 0===m.start?0:0<=m.max&&0<=m.min?m.min:m.max,y=void 0===m.start?m.end:0<=m.max&&0<=m.min?m.max-m.min:m.min-m.max,w=p.length;if(_||void 0===_&&void 0!==b)for(r=0;r<w&&(i=p[r]).index!==e;++r)i.stack===b&&(a=void 0===(l=f._parseValue(h[i.index].data[t])).start?l.end:0<=l.min&&0<=l.max?l.max:l.min,(m.min<0&&a<0||0<=m.max&&0<a)&&(v+=a));return o=f.getPixelForValue(v),c=(s=f.getPixelForValue(v+y))-o,void 0!==g&&Math.abs(c)<g&&(c=g,s=0<=y&&!d||y<0&&d?o-g:o+g),{size:c,base:o,head:s,center:s+c/2}},calculateBarIndexPixels:function(e,t,n,r){var i,a,o,s,c,l,u,f,d,h="flex"===r.barThickness?(i=t,o=r,c=(a=n).pixels,l=c[i],u=0<i?c[i-1]:null,f=i<c.length-1?c[i+1]:null,d=o.categoryPercentage,null===u&&(u=l-(null===f?a.end-a.start:f-l)),null===f&&(f=l+l-u),s=l-(l-Math.min(u,f))/2*d,{chunk:Math.abs(f-u)/2*d/a.stackCount,ratio:o.barPercentage,start:s}):Ie(t,n,r),p=this.getStackIndex(e,this.getMeta().stack),m=h.start+h.chunk*p+h.chunk/2,g=Math.min(De(r.maxBarThickness,1/0),h.chunk*h.ratio);return{base:m-g/2,head:m+g/2,center:m,size:g}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,r=this.getDataset(),i=n.length,a=0;for(H.canvas.clipArea(e.ctx,e.chartArea);a<i;++a){var o=t._parseValue(r.data[a]);isNaN(o.min)||isNaN(o.max)||n[a].draw()}H.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=H.extend({},ie.prototype._resolveDataElementOptions.apply(this,arguments)),t=this._getIndexScale().options,n=this._getValueScale().options;return e.barPercentage=De(t.barPercentage,e.barPercentage),e.barThickness=De(t.barThickness,e.barThickness),e.categoryPercentage=De(t.categoryPercentage,e.categoryPercentage),e.maxBarThickness=De(t.maxBarThickness,e.maxBarThickness),e.minBarLength=De(n.minBarLength,e.minBarLength),e}}),Me=H.valueOrDefault,$e=H.options.resolve;F._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(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}});var Oe=ie.extend({dataElementType:Ae.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(n){var r=this,e=r.getMeta().data;H.each(e,function(e,t){r.updateElement(e,t,n)})},updateElement:function(e,t,n){var r=this.getMeta(),i=e.custom||{},a=this.getScaleForId(r.xAxisID),o=this.getScaleForId(r.yAxisID),s=this._resolveDataElementOptions(e,t),c=this.getDataset().data[t],l=this.index,u=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof c?c:NaN,t,l),f=n?o.getBasePixel():o.getPixelForValue(c,t,l);e._xScale=a,e._yScale=o,e._options=s,e._datasetIndex=l,e._index=t,e._model={backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,hitRadius:s.hitRadius,pointStyle:s.pointStyle,rotation:s.rotation,radius:n?0:s.radius,skip:i.skip||isNaN(u)||isNaN(f),x:u,y:f},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Me(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Me(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Me(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this.chart,r=this.getDataset(),i=e.custom||{},a=r.data[t]||{},o=ie.prototype._resolveDataElementOptions.apply(this,arguments),s={chart:n,dataIndex:t,dataset:r,datasetIndex:this.index};return this._cachedDataOpts===o&&(o=H.extend({},o)),o.radius=$e([i.radius,a.r,this._config.radius,n.options.elements.point.radius],s,t),o}}),Re=H.valueOrDefault,Ne=Math.PI,Le=2*Ne,Fe=Ne/2;F._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(i.setAttribute("class",e.id+"-legend"),o.length)for(n=o[t=0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(i){var a=i.data;return a.labels.length&&a.datasets.length?a.labels.map(function(e,t){var n=i.getDatasetMeta(0),r=n.controller.getStyle(t);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(a.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)(i=o.getDatasetMeta(n)).data[a]&&(i.data[a].hidden=!i.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-Fe,circumference:Le,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return H.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}});var Ge=ie.extend({dataElementType:Ae.Arc,linkScales:H.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,r,i,a=this,o=a.chart,s=o.chartArea,c=o.options,l=1,u=1,f=0,d=0,h=a.getMeta(),p=h.data,m=c.cutoutPercentage/100||0,g=c.circumference,_=a._getRingWeight(a.index);if(g<Le){var b=c.rotation%Le,v=(b+=Ne<=b?-Le:b<-Ne?Le:0)+g,y=Math.cos(b),w=Math.sin(b),C=Math.cos(v),A=Math.sin(v),S=b<=0&&0<=v||Le<=v,T=b<=Fe&&Fe<=v||Le+Fe<=v,x=b<=-Fe&&-Fe<=v||Ne+Fe<=v,k=b===-Ne||Ne<=v?-1:Math.min(y,y*m,C,C*m),E=x?-1:Math.min(w,w*m,A,A*m),D=S?1:Math.max(y,y*m,C,C*m),I=T?1:Math.max(w,w*m,A,A*m);l=(D-k)/2,u=(I-E)/2,f=-(D+k)/2,d=-(I+E)/2}for(r=0,i=p.length;r<i;++r)p[r]._options=a._resolveDataElementOptions(p[r],r);for(o.borderWidth=a.getMaxBorderWidth(),t=(s.right-s.left-o.borderWidth)/l,n=(s.bottom-s.top-o.borderWidth)/u,o.outerRadius=Math.max(Math.min(t,n)/2,0),o.innerRadius=Math.max(o.outerRadius*m,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(a._getVisibleDatasetWeightTotal()||1),o.offsetX=f*o.outerRadius,o.offsetY=d*o.outerRadius,h.total=a.calculateTotal(),a.outerRadius=o.outerRadius-o.radiusLength*a._getRingWeightOffset(a.index),a.innerRadius=Math.max(a.outerRadius-o.radiusLength*_,0),r=0,i=p.length;r<i;++r)a.updateElement(p[r],r,e)},updateElement:function(e,t,n){var r=this.chart,i=r.chartArea,a=r.options,o=a.animation,s=(i.left+i.right)/2,c=(i.top+i.bottom)/2,l=a.rotation,u=a.rotation,f=this.getDataset(),d=n&&o.animateRotate?0:e.hidden?0:this.calculateCircumference(f.data[t])*(a.circumference/Le),h=n&&o.animateScale?0:this.innerRadius,p=n&&o.animateScale?0:this.outerRadius,m=e._options||{};H.extend(e,{_datasetIndex:this.index,_index:t,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:s+r.offsetX,y:c+r.offsetY,startAngle:l,endAngle:u,circumference:d,outerRadius:p,innerRadius:h,label:H.valueAtIndexOrDefault(f.label,t,r.data.labels[t])}});var g=e._model;n&&o.animateRotate||(g.startAngle=0===t?a.rotation:this.getMeta().data[t-1]._model.endAngle,g.endAngle=g.startAngle+g.circumference),e.pivot()},calculateTotal:function(){var n,r=this.getDataset(),e=this.getMeta(),i=0;return H.each(e.data,function(e,t){n=r.data[t],isNaN(n)||e.hidden||(i+=Math.abs(n))}),i},calculateCircumference:function(e){var t=this.getMeta().total;return 0<t&&!isNaN(e)?Le*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,i,a,o,s,c,l=0,u=this.chart;if(!e)for(t=0,n=u.data.datasets.length;t<n;++t)if(u.isDatasetVisible(t)){e=(r=u.getDatasetMeta(t)).data,t!==this.index&&(a=r.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)i=e[t],"inner"!==(o=a?(a._configure(),a._resolveDataElementOptions(i,t)):i._options).borderAlign&&(l=(l=l<(s=o.borderWidth)?s:l)<(c=o.hoverBorderWidth)?c:l);return l},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Re(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Re(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Re(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Re(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});F._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"}}),F._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var je=Pe.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Be=H.valueOrDefault,Ue=H.options.resolve,He=H.canvas._isPointInArea;function We(e,t){var n=e&&e.options.ticks||{},r=n.reverse,i=void 0===n.min?t:0,a=void 0===n.max?t:0;return{start:r?a:i,end:r?i:a}}F._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 qe=ie.extend({datasetElementType:Ae.Line,dataElementType:Ae.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(e){var t,n,r=this,i=r.getMeta(),a=i.dataset,o=i.data||[],s=r.chart.options,c=r._config,l=r._showLine=Be(c.showLine,s.showLines);for(r._xScale=r.getScaleForId(i.xAxisID),r._yScale=r.getScaleForId(i.yAxisID),l&&(void 0!==c.tension&&void 0===c.lineTension&&(c.lineTension=c.tension),a._scale=r._yScale,a._datasetIndex=r.index,a._children=o,a._model=r._resolveDatasetElementOptions(a),a.pivot()),t=0,n=o.length;t<n;++t)r.updateElement(o[t],t,e);for(l&&0!==a._model.tension&&r.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var r,i,a=this.getMeta(),o=e.custom||{},s=this.getDataset(),c=this.index,l=s.data[t],u=this._xScale,f=this._yScale,d=a.dataset._model,h=this._resolveDataElementOptions(e,t);r=u.getPixelForValue("object"==typeof l?l:NaN,t,c),i=n?f.getBasePixel():this.calculatePointY(l,t,c),e._xScale=u,e._yScale=f,e._options=h,e._datasetIndex=c,e._index=t,e._model={x:r,y:i,skip:o.skip||isNaN(r)||isNaN(i),radius:h.radius,pointStyle:h.pointStyle,rotation:h.rotation,backgroundColor:h.backgroundColor,borderColor:h.borderColor,borderWidth:h.borderWidth,tension:Be(o.tension,d?d.tension:0),steppedLine:!!d&&d.steppedLine,hitRadius:h.hitRadius}},_resolveDatasetElementOptions:function(e){var t,n,r,i,a,o,s,c,l,u,f,d=this._config,h=e.custom||{},p=this.chart.options,m=p.elements.line,g=ie.prototype._resolveDatasetElementOptions.apply(this,arguments);return g.spanGaps=Be(d.spanGaps,p.spanGaps),g.tension=Be(d.lineTension,m.tension),g.steppedLine=Ue([h.steppedLine,d.steppedLine,m.stepped]),g.clip=(t=Be(d.clip,(o=this._xScale,s=this._yScale,c=g.borderWidth,u=We(o,l=c/2),{top:(f=We(s,l)).end,right:u.end,bottom:f.start,left:u.start})),H.isObject(t)?(n=t.top,r=t.right,i=t.bottom,a=t.left):n=r=i=a=t,{top:n,right:r,bottom:i,left:a}),g},calculatePointY:function(e,t,n){var r,i,a,o,s,c,l,u=this.chart,f=this._yScale,d=0,h=0;if(f.options.stacked){for(s=+f.getRightValue(e),l=(c=u._getSortedVisibleDatasetMetas()).length,r=0;r<l&&(a=c[r]).index!==n;++r)i=u.data.datasets[a.index],"line"===a.type&&a.yAxisID===f.id&&((o=+f.getRightValue(i.data[t]))<0?h+=o||0:d+=o||0);return s<0?f.getPixelForValue(h+s):f.getPixelForValue(d+s)}return f.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,i=this.chart,a=this.getMeta(),o=a.dataset._model,s=i.chartArea,c=a.data||[];function l(e,t,n){return Math.max(Math.min(e,n),t)}if(o.spanGaps&&(c=c.filter(function(e){return!e._model.skip})),"monotone"===o.cubicInterpolationMode)H.splineCurveMonotone(c);else for(e=0,t=c.length;e<t;++e)n=c[e]._model,r=H.splineCurve(H.previousItem(c,e)._model,n,H.nextItem(c,e)._model,o.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(i.options.elements.line.capBezierPoints)for(e=0,t=c.length;e<t;++e)n=c[e]._model,He(n,s)&&(0<e&&He(c[e-1]._model,s)&&(n.controlPointPreviousX=l(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=l(n.controlPointPreviousY,s.top,s.bottom)),e<c.length-1&&He(c[e+1]._model,s)&&(n.controlPointNextX=l(n.controlPointNextX,s.left,s.right),n.controlPointNextY=l(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),r=n.data||[],i=t.chartArea,a=t.canvas,o=0,s=r.length;for(this._showLine&&(e=n.dataset._model.clip,H.canvas.clipArea(t.ctx,{left:!1===e.left?0:i.left-e.left,right:!1===e.right?a.width:i.right+e.right,top:!1===e.top?0:i.top-e.top,bottom:!1===e.bottom?a.height:i.bottom+e.bottom}),n.dataset.draw(),H.canvas.unclipArea(t.ctx));o<s;++o)r[o].draw(i)},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Be(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Be(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Be(n.hoverBorderWidth,n.borderWidth),t.radius=Be(n.hoverRadius,n.radius)}}),ze=H.options.resolve;F._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(e){var t,n,r,i=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(i.setAttribute("class",e.id+"-legend"),o.length)for(n=o[t=0].data.length;t<n;++t)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return i.outerHTML},legend:{labels:{generateLabels:function(i){var a=i.data;return a.labels.length&&a.datasets.length?a.labels.map(function(e,t){var n=i.getDatasetMeta(0),r=n.controller.getStyle(t);return{text:e,fillStyle:r.backgroundColor,strokeStyle:r.borderColor,lineWidth:r.borderWidth,hidden:isNaN(a.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,r,i,a=t.index,o=this.chart;for(n=0,r=(o.data.datasets||[]).length;n<r;++n)(i=o.getDatasetMeta(n)).data[a].hidden=!i.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ve=ie.extend({dataElementType:Ae.Arc,linkScales:H.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(e){var t,n,r,i=this,a=i.getDataset(),o=i.getMeta(),s=i.chart.options.startAngle||0,c=i._starts=[],l=i._angles=[],u=o.data;for(i._updateRadius(),o.count=i.countVisibleElements(),t=0,n=a.data.length;t<n;t++)c[t]=s,r=i._computeAngle(t),s+=l[t]=r;for(t=0,n=u.length;t<n;++t)u[t]._options=i._resolveDataElementOptions(u[t],t),i.updateElement(u[t],t,e)},_updateRadius:function(){var e=this.chart,t=e.chartArea,n=e.options,r=Math.min(t.right-t.left,t.bottom-t.top);e.outerRadius=Math.max(r/2,0),e.innerRadius=Math.max(n.cutoutPercentage?e.outerRadius/100*n.cutoutPercentage:1,0),e.radiusLength=(e.outerRadius-e.innerRadius)/e.getVisibleDatasetCount(),this.outerRadius=e.outerRadius-e.radiusLength*this.index,this.innerRadius=this.outerRadius-e.radiusLength},updateElement:function(e,t,n){var r=this.chart,i=this.getDataset(),a=r.options,o=a.animation,s=r.scale,c=r.data.labels,l=s.xCenter,u=s.yCenter,f=a.startAngle,d=e.hidden?0:s.getDistanceFromCenterForValue(i.data[t]),h=this._starts[t],p=h+(e.hidden?0:this._angles[t]),m=o.animateScale?0:s.getDistanceFromCenterForValue(i.data[t]),g=e._options||{};H.extend(e,{_datasetIndex:this.index,_index:t,_scale:s,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:l,y:u,innerRadius:0,outerRadius:n?m:d,startAngle:n&&o.animateRotate?f:h,endAngle:n&&o.animateRotate?f:p,label:H.valueAtIndexOrDefault(c,t,c[t])}}),e.pivot()},countVisibleElements:function(){var n=this.getDataset(),e=this.getMeta(),r=0;return H.each(e.data,function(e,t){isNaN(n.data[t])||e.hidden||r++}),r},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor,i=H.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=i(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=i(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=i(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this.getMeta().count,n=this.getDataset(),r=this.getMeta();if(isNaN(n.data[e])||r.data[e].hidden)return 0;var i={chart:this.chart,dataIndex:e,dataset:n,datasetIndex:this.index};return ze([this.chart.options.elements.arc.angle,2*Math.PI/t],i,e)}});F._set("pie",H.clone(F.doughnut)),F._set("pie",{cutoutPercentage:0});var Ye=Ge,Ke=H.valueOrDefault;F._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var Qe=ie.extend({datasetElementType:Ae.Line,dataElementType:Ae.Point,linkScales:H.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(e){var t,n,r=this.getMeta(),i=r.dataset,a=r.data||[],o=this.chart.scale,s=this._config;for(void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),i._scale=o,i._datasetIndex=this.index,i._children=a,i._loop=!0,i._model=this._resolveDatasetElementOptions(i),i.pivot(),t=0,n=a.length;t<n;++t)this.updateElement(a[t],t,e);for(this.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r=e.custom||{},i=this.getDataset(),a=this.chart.scale,o=a.getPointPositionForValue(t,i.data[t]),s=this._resolveDataElementOptions(e,t),c=this.getMeta().dataset._model,l=n?a.xCenter:o.x,u=n?a.yCenter:o.y;e._scale=a,e._options=s,e._datasetIndex=this.index,e._index=t,e._model={x:l,y:u,skip:r.skip||isNaN(l)||isNaN(u),radius:s.radius,pointStyle:s.pointStyle,rotation:s.rotation,backgroundColor:s.backgroundColor,borderColor:s.borderColor,borderWidth:s.borderWidth,tension:Ke(r.tension,c?c.tension:0),hitRadius:s.hitRadius}},_resolveDatasetElementOptions:function(){var e=this._config,t=this.chart.options,n=ie.prototype._resolveDatasetElementOptions.apply(this,arguments);return n.spanGaps=Ke(e.spanGaps,t.spanGaps),n.tension=Ke(e.lineTension,t.elements.line.tension),n},updateBezierControlPoints:function(){var e,t,n,r,i=this.getMeta(),a=this.chart.chartArea,o=i.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(i.dataset._model.spanGaps&&(o=o.filter(function(e){return!e._model.skip})),e=0,t=o.length;e<t;++e)n=o[e]._model,r=H.splineCurve(H.previousItem(o,e,!0)._model,n,H.nextItem(o,e,!0)._model,n.tension),n.controlPointPreviousX=s(r.previous.x,a.left,a.right),n.controlPointPreviousY=s(r.previous.y,a.top,a.bottom),n.controlPointNextX=s(r.next.x,a.left,a.right),n.controlPointNextY=s(r.next.y,a.top,a.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,r=H.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ke(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=Ke(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=Ke(n.hoverBorderWidth,n.borderWidth),t.radius=Ke(n.hoverRadius,n.radius)}});F._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(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),F._set("global",{datasets:{scatter:{showLine:!1}}});var Xe={bar:Pe,bubble:Oe,doughnut:Ge,horizontalBar:je,line:qe,polarArea:Ve,pie:Ye,radar:Qe,scatter:qe};function Ze(e,t){return e.native?{x:e.x,y:e.y}:H.getRelativePosition(e,t)}function Je(e,t){var n,r,i,a,o,s,c=e._getSortedVisibleDatasetMetas();for(r=0,a=c.length;r<a;++r)for(i=0,o=(n=c[r].data).length;i<o;++i)(s=n[i])._view.skip||t(s)}function et(e,t){var n=[];return Je(e,function(e){e.inRange(t.x,t.y)&&n.push(e)}),n}function tt(e,r,i,a){var o=Number.POSITIVE_INFINITY,s=[];return Je(e,function(e){if(!i||e.inRange(r.x,r.y)){var t=e.getCenterPoint(),n=a(r,t);n<o?(s=[e],o=n):n===o&&s.push(e)}}),s}function nt(e){var i=-1!==e.indexOf("x"),a=-1!==e.indexOf("y");return function(e,t){var n=i?Math.abs(e.x-t.x):0,r=a?Math.abs(e.y-t.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2))}}function rt(e,t,n){var r=Ze(t,e);n.axis=n.axis||"x";var i=nt(n.axis),a=n.intersect?et(e,r):tt(e,r,!1,i),o=[];return a.length?(e._getSortedVisibleDatasetMetas().forEach(function(e){var t=e.data[a[0]._index];t&&!t._view.skip&&o.push(t)}),o):[]}var it={modes:{single:function(e,t){var n=Ze(t,e),r=[];return Je(e,function(e){if(e.inRange(n.x,n.y))return r.push(e),r}),r.slice(0,1)},label:rt,index:rt,dataset:function(e,t,n){var r=Ze(t,e);n.axis=n.axis||"xy";var i=nt(n.axis),a=n.intersect?et(e,r):tt(e,r,!1,i);return 0<a.length&&(a=e.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(e,t){return rt(e,t,{intersect:!1})},point:function(e,t){return et(e,Ze(t,e))},nearest:function(e,t,n){var r=Ze(t,e);n.axis=n.axis||"xy";var i=nt(n.axis);return tt(e,r,n.intersect,i)},x:function(e,t,n){var r=Ze(t,e),i=[],a=!1;return Je(e,function(e){e.inXRange(r.x)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)}),n.intersect&&!a&&(i=[]),i},y:function(e,t,n){var r=Ze(t,e),i=[],a=!1;return Je(e,function(e){e.inYRange(r.y)&&i.push(e),e.inRange(r.x,r.y)&&(a=!0)}),n.intersect&&!a&&(i=[]),i}}},at=H.extend;function ot(e,t){return H.where(e,function(e){return e.pos===t})}function st(e,i){return e.sort(function(e,t){var n=i?t:e,r=i?e:t;return n.weight===r.weight?n.index-r.index:n.weight-r.weight})}function ct(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function lt(e,t,n){var r,i,a=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,e[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(r=t.outerWidth-ct(o,e,"left","right"),i=t.outerHeight-ct(o,e,"top","bottom"),r!==e.w||i!==e.h){e.w=r,e.h=i;var c=n.horizontal?[r,e.w]:[i,e.h];return!(c[0]===c[1]||isNaN(c[0])&&isNaN(c[1]))}}function ut(e,n){var r=n.maxPadding;function t(e){var t={left:0,top:0,right:0,bottom:0};return e.forEach(function(e){t[e]=Math.max(n[e],r[e])}),t}return t(e?["left","right"]:["top","bottom"])}function ft(e,t,n){var r,i,a,o,s,c,l=[];for(r=0,i=e.length;r<i;++r)(o=(a=e[r]).box).update(a.width||t.w,a.height||t.h,ut(a.horizontal,t)),lt(t,n,a)&&(c=!0,l.length&&(s=!0)),o.fullWidth||l.push(a);return s&&ft(l,t,n)||c}function dt(e,t,n){var r,i,a,o,s=n.padding,c=t.x,l=t.y;for(r=0,i=e.length;r<i;++r)o=(a=e[r]).box,a.horizontal?(o.left=o.fullWidth?s.left:t.left,o.right=o.fullWidth?n.outerWidth-s.right:t.left+t.w,o.top=l,o.bottom=l+o.height,o.width=o.right-o.left,l=o.bottom):(o.left=c,o.right=c+o.width,o.top=t.top,o.bottom=t.top+t.h,o.height=o.bottom-o.top,c=o.right);t.x=c,t.y=l}F._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ht,pt={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,i=["fullWidth","position","weight"],a=i.length,o=0;o<a;++o)r=i[o],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(n,e,t){if(n){var r,i,a,o,s,c,l=n.options.layout||{},u=H.options.toPadding(l.padding),f=e-u.width,d=t-u.height,h=(r=n.boxes,i=function(e){var t,n,r,i=[];for(t=0,n=(e||[]).length;t<n;++t)r=e[t],i.push({index:t,box:r,pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return i}(r),a=st(ot(i,"left"),!0),o=st(ot(i,"right")),s=st(ot(i,"top"),!0),c=st(ot(i,"bottom")),{leftAndTop:a.concat(s),rightAndBottom:o.concat(c),chartArea:ot(i,"chartArea"),vertical:a.concat(o),horizontal:s.concat(c)}),p=h.vertical,m=h.horizontal,g=Object.freeze({outerWidth:e,outerHeight:t,padding:u,availableWidth:f,vBoxMaxWidth:f/2/p.length,hBoxMaxHeight:d/2}),_=at({maxPadding:at({},u),w:f,h:d,x:u.left,y:u.top},u);!function(e,t){var n,r,i;for(n=0,r=e.length;n<r;++n)(i=e[n]).width=i.horizontal?i.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,i.height=i.horizontal&&t.hBoxMaxHeight}(p.concat(m),g),ft(p,_,g),ft(m,_,g)&&ft(p,_,g),function(n){var r=n.maxPadding;function e(e){var t=Math.max(r[e]-n[e],0);return n[e]+=t,t}n.y+=e("top"),n.x+=e("left"),e("right"),e("bottom")}(_),dt(h.leftAndTop,_,g),_.x+=_.w,_.y+=_.h,dt(h.rightAndBottom,_,g),n.chartArea={left:_.left,top:_.top,right:_.left+_.w,bottom:_.top+_.h},H.each(h.chartArea,function(e){var t=e.box;at(t,n.chartArea),t.update(_.w,_.h)})}}},mt=(ht=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"}))&&ht.default||ht,gt="$chartjs",_t="chartjs-",bt=_t+"size-monitor",vt=_t+"render-monitor",yt=_t+"render-animation",wt=["animationstart","webkitAnimationStart"],Ct={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function At(e,t){var n=H.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}var St=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function Tt(e,t,n){e.addEventListener(t,n,St)}function xt(e,t,n){e.removeEventListener(t,n,St)}function kt(e,t,n,r,i){return{type:e,chart:t,native:i||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function Et(e){var t=document.createElement("div");return t.className=e||"",t}function Dt(n,r,i){var e,t,a,o,s,c,l,u,f=n[gt]||(n[gt]={}),d=f.resizer=function(e){var t=Et(bt),n=Et(bt+"-expand"),r=Et(bt+"-shrink");n.appendChild(Et()),r.appendChild(Et()),t.appendChild(n),t.appendChild(r),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};var i=function(){t._reset(),e()};return Tt(n,"scroll",i.bind(n,"expand")),Tt(r,"scroll",i.bind(r,"shrink")),t}((a=!(e=function(){if(f.resizer){var e=i.options.maintainAspectRatio&&n.parentNode,t=e?e.clientWidth:0;r(kt("resize",i)),e&&e.clientWidth<t&&i.canvas&&r(kt("resize",i))}}),o=[],function(){o=Array.prototype.slice.call(arguments),t=t||this,a||(a=!0,H.requestAnimFrame.call(window,function(){a=!1,e.apply(t,o)}))}));c=function(){if(f.resizer){var e=n.parentNode;e&&e!==d.parentNode&&e.insertBefore(d,e.firstChild),d._reset()}},l=(s=n)[gt]||(s[gt]={}),u=l.renderProxy=function(e){e.animationName===yt&&c()},H.each(wt,function(e){Tt(s,e,u)}),l.reflow=!!s.offsetParent,s.classList.add(vt)}function It(e){var t,n,r,i=e[gt]||{},a=i.resizer;delete i.resizer,n=(t=e)[gt]||{},(r=n.renderProxy)&&(H.each(wt,function(e){xt(t,e,r)}),delete n.renderProxy),t.classList.remove(vt),a&&a.parentNode&&a.parentNode.removeChild(a)}var Pt={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e[gt]||(e[gt]={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(t)),e.appendChild(r)}}(t.host?t:document.head,mt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[gt]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===i||""===i){var a=At(e,"width");void 0!==a&&(e.width=a)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=At(e,"height");void 0!==a&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var n=e.canvas;if(n[gt]){var r=n[gt].initial;["height","width"].forEach(function(e){var t=r[e];H.isNullOrUndef(t)?n.removeAttribute(e):n.setAttribute(e,t)}),H.each(r.style||{},function(e,t){n.style[t]=e}),n.width=n.width,delete n[gt]}},addEventListener:function(a,e,o){var t=a.canvas;if("resize"!==e){var n=o[gt]||(o[gt]={});Tt(t,e,(n.proxies||(n.proxies={}))[a.id+"_"+e]=function(e){var t,n,r,i;o((n=a,r=Ct[(t=e).type]||t.type,i=H.getRelativePosition(t,n),kt(r,n,i.x,i.y,t)))})}else Dt(t,o,a)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var i=((n[gt]||{}).proxies||{})[e.id+"_"+t];i&&xt(r,t,i)}else It(r)}};H.addEvent=Tt,H.removeEvent=xt;var Mt=Pt._enabled?Pt:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},$t=H.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Mt);F._set("global",{plugins:{}});var Ot={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var n=this._plugins;[].concat(e).forEach(function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,i,a,o,s,c=this.descriptors(e),l=c.length;for(r=0;r<l;++r)if("function"==typeof(s=(a=(i=c[r]).plugin)[t])&&((o=[e].concat(n||[])).push(i.options),!1===s.apply(a,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var r=[],i=[],n=e&&e.config||{},a=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(e){if(-1===r.indexOf(e)){var t=e.id,n=a[t];!1!==n&&(!0===n&&(n=H.clone(F.global.plugins[t])),r.push(e),i.push({plugin:e,options:n||{}}))}}),t.descriptors=i,t.id=this._cacheId,i},_invalidate:function(e){delete e.$plugins}},Rt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=H.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?H.merge(Object.create(null),[F.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=H.extend(this.defaults[e],t))},addScalesToLayout:function(t){H.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,pt.addBox(t,e)})}},Nt=H.valueOrDefault,Lt=H.rtl.getRtlAdapter;F._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:H.noop,title:function(e,t){var n="",r=t.labels,i=r?r.length:0;if(0<e.length){var a=e[0];a.label?n=a.label:a.xLabel?n=a.xLabel:0<i&&a.index<i&&(n=r[a.index])}return n},afterTitle:H.noop,beforeBody:H.noop,beforeLabel:H.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),H.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:H.noop,afterBody:H.noop,beforeFooter:H.noop,footer:H.noop,afterFooter:H.noop}}});var Ft={average:function(e){if(!e.length)return!1;var t,n,r=0,i=0,a=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();r+=s.x,i+=s.y,++a}}return{x:r/a,y:i/a}},nearest:function(e,t){var n,r,i,a=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var c=e[n];if(c&&c.hasValue()){var l=c.getCenterPoint(),u=H.distanceBetweenPoints(t,l);u<s&&(s=u,i=c)}}if(i){var f=i.tooltipPosition();a=f.x,o=f.y}return{x:a,y:o}}};function Gt(e,t){return t&&(H.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function jt(e){return("string"==typeof e||e instanceof String)&&-1<e.indexOf("\n")?e.split("\n"):e}function Bt(e){var t=F.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Nt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Nt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Nt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Nt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Nt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Nt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Nt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Nt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Nt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Ut(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Ht(e){return Gt([],jt(e))}var Wt=Q.extend({initialize:function(){this._model=Bt(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),r=e.afterTitle.apply(this,arguments),i=[];return i=Gt(i=Gt(i=Gt(i,jt(t)),jt(n)),jt(r))},getBeforeBody:function(){return Ht(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,n){var r=this,i=r._options.callbacks,a=[];return H.each(e,function(e){var t={before:[],lines:[],after:[]};Gt(t.before,jt(i.beforeLabel.call(r,e,n))),Gt(t.lines,i.label.call(r,e,n)),Gt(t.after,jt(i.afterLabel.call(r,e,n))),a.push(t)}),a},getAfterBody:function(){return Ht(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),r=e.afterFooter.apply(this,arguments),i=[];return i=Gt(i=Gt(i=Gt(i,jt(t)),jt(n)),jt(r))},update:function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b,v,y,w,C,A,S=this,T=S._options,x=S._model,k=S._model=Bt(T),E=S._active,D=S._data,I={xAlign:x.xAlign,yAlign:x.yAlign},P={x:x.x,y:x.y},M={width:x.width,height:x.height},$={x:x.caretX,y:x.caretY};if(E.length){k.opacity=1;var O=[],R=[];$=Ft[T.position].call(S,E,S._eventPosition);var N=[];for(t=0,n=E.length;t<n;++t)N.push((g=E[t],A=C=w=b=_=void 0,_=g._xScale,b=g._yScale||g._scale,v=g._index,y=g._datasetIndex,w=g._chart.getDatasetMeta(y).controller,C=w._getIndexScale(),A=w._getValueScale(),{xLabel:_?_.getLabelForIndex(v,y):"",yLabel:b?b.getLabelForIndex(v,y):"",label:C?""+C.getLabelForIndex(v,y):"",value:A?""+A.getLabelForIndex(v,y):"",index:v,datasetIndex:y,x:g._model.x,y:g._model.y}));T.filter&&(N=N.filter(function(e){return T.filter(e,D)})),T.itemSort&&(N=N.sort(function(e,t){return T.itemSort(e,t,D)})),H.each(N,function(e){O.push(T.callbacks.labelColor.call(S,e,S._chart)),R.push(T.callbacks.labelTextColor.call(S,e,S._chart))}),k.title=S.getTitle(N,D),k.beforeBody=S.getBeforeBody(N,D),k.body=S.getBody(N,D),k.afterBody=S.getAfterBody(N,D),k.footer=S.getFooter(N,D),k.x=$.x,k.y=$.y,k.caretPadding=T.caretPadding,k.labelColors=O,k.labelTextColors=R,k.dataPoints=N,I=function(e,t){var n,r,i,a,o,s=e._model,c=e._chart,l=e._chart.chartArea,u="center",f="center";s.y<t.height?f="top":s.y>c.height-t.height&&(f="bottom");var d=(l.left+l.right)/2,h=(l.top+l.bottom)/2;r="center"===f?(n=function(e){return e<=d},function(e){return d<e}):(n=function(e){return e<=t.width/2},function(e){return e>=c.width-t.width/2}),i=function(e){return e+t.width+s.caretSize+s.caretPadding>c.width},a=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=h?"top":"bottom"},n(s.x)?(u="left",i(s.x)&&(u="center",f=o(s.y))):r(s.x)&&(u="right",a(s.x)&&(u="center",f=o(s.y)));var p=e._options;return{xAlign:p.xAlign?p.xAlign:u,yAlign:p.yAlign?p.yAlign:f}}(this,M=function(e,t){var n=e._chart.ctx,r=2*t.yPadding,i=0,a=t.body,o=a.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,c=t.footer.length,l=t.titleFontSize,u=t.bodyFontSize,f=t.footerFontSize;r+=s*l,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=o*u,r+=o?(o-1)*t.bodySpacing:0,r+=c?t.footerMarginTop:0,r+=c*f,r+=c?(c-1)*t.footerSpacing:0;var d=0,h=function(e){i=Math.max(i,n.measureText(e).width+d)};return n.font=H.fontString(l,t._titleFontStyle,t._titleFontFamily),H.each(t.title,h),n.font=H.fontString(u,t._bodyFontStyle,t._bodyFontFamily),H.each(t.beforeBody.concat(t.afterBody),h),d=t.displayColors?u+2:0,H.each(a,function(e){H.each(e.before,h),H.each(e.lines,h),H.each(e.after,h)}),d=0,n.font=H.fontString(f,t._footerFontStyle,t._footerFontFamily),H.each(t.footer,h),{width:i+=2*t.xPadding,height:r}}(this,k)),r=k,i=M,a=I,o=S._chart,s=r.x,c=r.y,l=r.caretSize,u=r.caretPadding,f=r.cornerRadius,d=a.xAlign,h=a.yAlign,p=l+u,m=f+u,"right"===d?s-=i.width:"center"===d&&((s-=i.width/2)+i.width>o.width&&(s=o.width-i.width),s<0&&(s=0)),"top"===h?c+=p:c-="bottom"===h?i.height+p:i.height/2,"center"===h?"left"===d?s+=p:"right"===d&&(s-=p):"left"===d?s-=m:"right"===d&&(s+=m),P={x:s,y:c}}else k.opacity=0;return k.xAlign=I.xAlign,k.yAlign=I.yAlign,k.x=P.x,k.y=P.y,k.width=M.width,k.height=M.height,k.caretX=$.x,k.caretY=$.y,S._model=k,e&&T.custom&&T.custom.call(S,k),S},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,i=this.getCaretPosition(e,t,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)},getCaretPosition:function(e,t,n){var r,i,a,o,s,c,l=n.caretSize,u=n.cornerRadius,f=n.xAlign,d=n.yAlign,h=e.x,p=e.y,m=t.width,g=t.height;if("center"===d)s=p+g/2,c="left"===f?(i=(r=h)-l,a=r,o=s+l,s-l):(i=(r=h+m)+l,a=r,o=s-l,s+l);else if(a=(r="left"===f?(i=h+u+l)-l:"right"===f?(i=h+m-u-l)-l:(i=n.caretX)-l,i+l),"top"===d)s=(o=p)-l,c=o;else{s=(o=p+g)+l,c=o;var _=a;a=r,r=_}return{x1:r,x2:i,x3:a,y1:o,y2:s,y3:c}},drawTitle:function(e,t,n){var r,i,a,o=t.title,s=o.length;if(s){var c=Lt(t.rtl,t.x,t.width);for(e.x=Ut(t,t._titleAlign),n.textAlign=c.textAlign(t._titleAlign),n.textBaseline="middle",r=t.titleFontSize,i=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=H.fontString(r,t._titleFontStyle,t._titleFontFamily),a=0;a<s;++a)n.fillText(o[a],c.x(e.x),e.y+r/2),e.y+=r+i,a+1===s&&(e.y+=t.titleMarginBottom-i)}},drawBody:function(t,e,n){var r,i,a,o,s,c,l,u,f=e.bodyFontSize,d=e.bodySpacing,h=e._bodyAlign,p=e.body,m=e.displayColors,g=0,_=m?Ut(e,"left"):0,b=Lt(e.rtl,e.x,e.width),v=function(e){n.fillText(e,b.x(t.x+g),t.y+f/2),t.y+=f+d},y=b.textAlign(h);for(n.textAlign=h,n.textBaseline="middle",n.font=H.fontString(f,e._bodyFontStyle,e._bodyFontFamily),t.x=Ut(e,y),n.fillStyle=e.bodyFontColor,H.each(e.beforeBody,v),g=m&&"right"!==y?"center"===h?f/2+1:f+2:0,s=0,l=p.length;s<l;++s){for(r=p[s],i=e.labelTextColors[s],a=e.labelColors[s],n.fillStyle=i,H.each(r.before,v),c=0,u=(o=r.lines).length;c<u;++c){if(m){var w=b.x(_);n.fillStyle=e.legendColorBackground,n.fillRect(b.leftForLtr(w,f),t.y,f,f),n.lineWidth=1,n.strokeStyle=a.borderColor,n.strokeRect(b.leftForLtr(w,f),t.y,f,f),n.fillStyle=a.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(w,1),f-2),t.y+1,f-2,f-2),n.fillStyle=i}v(o[c])}H.each(r.after,v)}g=0,H.each(e.afterBody,v),t.y-=d},drawFooter:function(e,t,n){var r,i,a=t.footer,o=a.length;if(o){var s=Lt(t.rtl,t.x,t.width);for(e.x=Ut(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",r=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=H.fontString(r,t._footerFontStyle,t._footerFontFamily),i=0;i<o;++i)n.fillText(a[i],s.x(e.x),e.y+r/2),e.y+=r+t.footerSpacing}},drawBackground:function(e,t,n,r){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var i=t.xAlign,a=t.yAlign,o=e.x,s=e.y,c=r.width,l=r.height,u=t.cornerRadius;n.beginPath(),n.moveTo(o+u,s),"top"===a&&this.drawCaret(e,r),n.lineTo(o+c-u,s),n.quadraticCurveTo(o+c,s,o+c,s+u),"center"===a&&"right"===i&&this.drawCaret(e,r),n.lineTo(o+c,s+l-u),n.quadraticCurveTo(o+c,s+l,o+c-u,s+l),"bottom"===a&&this.drawCaret(e,r),n.lineTo(o+u,s+l),n.quadraticCurveTo(o,s+l,o,s+l-u),"center"===a&&"left"===i&&this.drawCaret(e,r),n.lineTo(o,s+u),n.quadraticCurveTo(o,s,o+u,s),n.closePath(),n.fill(),0<t.borderWidth&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},i=Math.abs(t.opacity<.001)?0:t.opacity,a=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&a&&(e.save(),e.globalAlpha=i,this.drawBackground(r,t,e,n),r.y+=t.yPadding,H.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),H.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,r=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,r.mode,r),r.reverse&&n._active.reverse()),(t=!H.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(r.enabled||r.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),qt=Ft,zt=Wt;zt.positioners=qt;var Vt=H.valueOrDefault;function Yt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var i,a,o,s=n[e].length;for(t[e]||(t[e]=[]),i=0;i<s;++i)o=n[e][i],a=Vt(o.type,"xAxes"===e?"category":"linear"),i>=t[e].length&&t[e].push({}),!t[e][i].type||o.type&&o.type!==t[e][i].type?H.merge(t[e][i],[Rt.getScaleDefaults(a),o]):H.merge(t[e][i],o)}else H._merger(e,t,n,r)}})}function Kt(){return H.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var i=t[e]||Object.create(null),a=n[e];"scales"===e?t[e]=Yt(i,a):"scale"===e?t[e]=H.merge(i,[Rt.getScaleDefaults(a.type),a]):H._merger(e,t,n,r)}})}function Qt(e,t,n){for(var r,i=function(e){return e.id===r};r=t+n++,0<=H.findIndex(e,i););return r}function Xt(e){return"top"===e||"bottom"===e}function Zt(n,r){return function(e,t){return e[n]===t[n]?e[r]-t[r]:e[n]-t[n]}}F._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 Jt=function(e,t){return this.construct(e,t),this};H.extend(Jt.prototype,{construct:function(e,t){var n,r,i=this;(r=(n=(n=t)||Object.create(null)).data=n.data||{}).datasets=r.datasets||[],r.labels=r.labels||[],n.options=Kt(F.global,F[n.type],n.options||{}),t=n;var a=$t.acquireContext(e,t),o=a&&a.canvas,s=o&&o.height,c=o&&o.width;i.id=H.uid(),i.ctx=a,i.canvas=o,i.config=t,i.width=c,i.height=s,i.aspectRatio=s?c/s:null,i.options=t.options,i._bufferedRender=!1,i._layers=[],(i.chart=i).controller=i,Jt.instances[i.id]=i,Object.defineProperty(i,"data",{get:function(){return i.config.data},set:function(e){i.config.data=e}}),a&&o?(i.initialize(),i.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){return Ot.notify(this,"beforeInit"),H.retinaScale(this,this.options.devicePixelRatio),this.bindEvents(),this.options.responsive&&this.resize(!0),this.initToolTip(),Ot.notify(this,"afterInit"),this},clear:function(){return H.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,i=n.maintainAspectRatio&&t.aspectRatio||null,a=Math.max(0,Math.floor(H.getMaximumWidth(r))),o=Math.max(0,Math.floor(i?a/i:H.getMaximumHeight(r)));if((t.width!==a||t.height!==o)&&(r.width=t.width=a,r.height=t.height=o,r.style.width=a+"px",r.style.height=o+"px",H.retinaScale(t,n.devicePixelRatio),!e)){var s={width:a,height:o};Ot.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},t=e.scale;H.each(n.xAxes,function(e,t){e.id||(e.id=Qt(n.xAxes,"x-axis-",t))}),H.each(n.yAxes,function(e,t){e.id||(e.id=Qt(n.yAxes,"y-axis-",t))}),t&&(t.id=t.id||"scale")},buildOrUpdateScales:function(){var o=this,e=o.options,s=o.scales||{},t=[],c=Object.keys(s).reduce(function(e,t){return e[t]=!1,e},{});e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),H.each(t,function(e){var t=e.options,n=t.id,r=Vt(t.type,e.dtype);Xt(t.position)!==Xt(e.dposition)&&(t.position=e.dposition),c[n]=!0;var i=null;if(n in s&&s[n].type===r)(i=s[n]).options=t,i.ctx=o.ctx,i.chart=o;else{var a=Rt.getScaleConstructor(r);if(!a)return;i=new a({id:n,type:r,options:t,ctx:o.ctx,chart:o}),s[i.id]=i}i.mergeTicksOptions(),e.isDefault&&(o.scale=i)}),H.each(c,function(e,t){e||delete s[t]}),o.scales=s,Rt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=[],r=this.data.datasets;for(e=0,t=r.length;e<t;e++){var i=r[e],a=this.getDatasetMeta(e),o=i.type||this.config.type;if(a.type&&a.type!==o&&(this.destroyDatasetMeta(e),a=this.getDatasetMeta(e)),a.type=o,a.order=i.order||0,a.index=e,a.controller)a.controller.updateIndex(e),a.controller.linkScales();else{var s=Xe[a.type];if(void 0===s)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new s(this,e),n.push(a.controller)}}return n},resetElements:function(){var n=this;H.each(n.data.datasets,function(e,t){n.getDatasetMeta(t).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,r,i,a=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),i=(r=a).options,H.each(r.scales,function(e){pt.removeBox(r,e)}),i=Kt(F.global,F[r.config.type],i),r.options=r.config.options=i,r.ensureScalesHaveIDs(),r.buildOrUpdateScales(),r.tooltip._options=i.tooltips,r.tooltip.initialize(),Ot._invalidate(a),!1!==Ot.notify(a,"beforeUpdate")){a.tooltip._data=a.data;var o=a.buildOrUpdateControllers();for(t=0,n=a.data.datasets.length;t<n;t++)a.getDatasetMeta(t).controller.buildOrUpdateElements();a.updateLayout(),a.options.animation&&a.options.animation.duration&&H.each(o,function(e){e.reset()}),a.updateDatasets(),a.tooltip.initialize(),a.lastActive=[],Ot.notify(a,"afterUpdate"),a._layers.sort(Zt("z","_idx")),a._bufferedRender?a._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:a.render(e)}},updateLayout:function(){var t=this;!1!==Ot.notify(t,"beforeLayout")&&(pt.update(this,this.width,this.height),t._layers=[],H.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(e,t){e._idx=t}),Ot.notify(t,"afterScaleUpdate"),Ot.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Ot.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);Ot.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==Ot.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),Ot.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,r=Vt(e.duration,n&&n.duration),i=e.lazy;if(!1!==Ot.notify(t,"beforeRender")){var a=function(e){Ot.notify(t,"afterRender"),H.callback(n&&n.onComplete,[e],t)};if(n&&r){var o=new Z({numSteps:r/16.66,easing:e.easing||n.easing,render:function(e,t){var n=H.easing.effects[t.easing],r=t.currentStep,i=r/t.numSteps;e.draw(n(i),i,r)},onAnimationProgress:n.onProgress,onAnimationComplete:a});J.addAnimation(t,o,r,i)}else t.draw(),a(new Z({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,r=this;if(r.clear(),H.isNullOrUndef(e)&&(e=1),r.transition(e),!(r.width<=0||r.height<=0)&&!1!==Ot.notify(r,"beforeDraw",[e])){for(n=r._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(r.chartArea);for(r.drawDatasets(e);t<n.length;++t)n[t].draw(r.chartArea);r._drawTooltip(e),Ot.notify(r,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,r=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||r.push(this.getDatasetMeta(t));return r.sort(Zt("order","index")),r},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==Ot.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;0<=n;--n)this.drawDataset(t[n],e);Ot.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Ot.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Ot.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Ot.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Ot.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return it.modes.single(this,e)},getElementsAtEvent:function(e){return it.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return it.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=it.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return it.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n||(n=t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e}),n},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,r=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);r&&(n.unbindEvents(),H.canvas.clear(n),$t.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Ot.notify(n,"destroy"),delete Jt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){this.tooltip=new zt({_chart:this,_chartInstance:this,_data:this.data,_options:this.options.tooltips},this)},bindEvents:function(){var t=this,n=t._listeners={},r=function(){t.eventHandler.apply(t,arguments)};H.each(t.options.events,function(e){$t.addEventListener(t,e,r),n[e]=r}),t.options.responsive&&(r=function(){t.resize()},$t.addEventListener(t,"resize",r),n.resize=r)},unbindEvents:function(){var n=this,e=n._listeners;e&&(delete n._listeners,H.each(e,function(e,t){$t.removeEventListener(n,t,e)}))},updateHoverStyle:function(e,t,n){var r,i,a,o=n?"set":"remove";for(i=0,a=e.length;i<a;++i)(r=e[i])&&this.getDatasetMeta(r._datasetIndex).controller[o+"HoverStyle"](r);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Ot.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),Ot.notify(t,"afterEvent",[e]);var i=t._bufferedRequest;return i?t.render(i):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,r=n.options||{},i=r.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,i.mode,i),H.callback(r.onHover||r.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||r.onClick&&r.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,i.mode,!1),n.active.length&&i.mode&&n.updateHoverStyle(n.active,i.mode,!0),t=!H.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Jt.instances={};var en=Jt;(Jt.Controller=Jt).types={},H.configMerge=Kt,H.scaleMerge=Yt;function tn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function nn(e){this.options=e||{}}H.extend(nn.prototype,{formats:tn,parse:tn,format:tn,add:tn,diff:tn,startOf:tn,endOf:tn,_create:function(e){return e}}),nn.override=function(e){H.extend(nn.prototype,e)};var rn={_date:nn},an={formatters:{values:function(e){return H.isArray(e)?e:""+e},linear:function(e,t,n){var r=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(r)&&e!==Math.floor(e)&&(r=e-Math.floor(e));var i=H.log10(Math.abs(r)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=H.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(i);s=Math.max(Math.min(s,20),0),a=e.toExponential(s)}else{var c=-1*Math.floor(i);c=Math.max(Math.min(c,20),0),a=e.toFixed(c)}else a="0";return a},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(H.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},on=H.isArray,sn=H.isNullOrUndef,cn=H.valueOrDefault,ln=H.valueAtIndexOrDefault;function un(e,t,n){var r,i=e.getTicks().length,a=Math.min(t,i-1),o=e.getPixelForTick(a),s=e._startPixel,c=e._endPixel;if(!(n&&(r=1===i?Math.max(o-s,c-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(a-1))/2,(o+=a<t?r:-r)<s-1e-6||c+1e-6<o)))return o}function fn(e,t,n,r){var i,a,o,s,c,l,u,f,d,h,p,m,g,_,b,v=n.length,y=[],w=[],C=[],A=0,S=0;for(i=0;i<v;++i){if(s=n[i].label,c=n[i].major?t.major:t.minor,e.font=l=c.string,u=r[l]=r[l]||{data:{},gc:[]},f=c.lineHeight,d=h=0,sn(s)||on(s)){if(on(s))for(a=0,o=s.length;a<o;++a)p=s[a],sn(p)||on(p)||(d=H.measureText(e,u.data,u.gc,d,p),h+=f)}else d=H.measureText(e,u.data,u.gc,d,s),h=f;y.push(d),w.push(h),C.push(f/2),A=Math.max(d,A),S=Math.max(h,S)}function T(e){return{width:y[e]||0,height:w[e]||0,offset:C[e]||0}}return _=r,b=v,H.each(_,function(e){var t,n=e.gc,r=n.length/2;if(b<r){for(t=0;t<r;++t)delete e.data[n[t]];n.splice(0,r)}}),m=y.indexOf(A),g=w.indexOf(S),{first:T(0),last:T(v-1),widest:T(m),highest:T(g)}}function dn(e){return e.drawTicks?e.tickMarkLength:0}function hn(e){var t,n;return e.display?(t=H.options._parseFont(e),n=H.options.toPadding(e.padding),t.lineHeight+n.height):0}function pn(e,t){return H.extend(H.options._parseFont({fontFamily:cn(t.fontFamily,e.fontFamily),fontSize:cn(t.fontSize,e.fontSize),fontStyle:cn(t.fontStyle,e.fontStyle),lineHeight:cn(t.lineHeight,e.lineHeight)}),{color:H.options.resolve([t.fontColor,e.fontColor,F.global.defaultFontColor])})}function mn(e){var t=pn(e,e.minor);return{minor:t,major:e.major.enabled?pn(e,e.major):t}}function gn(e){var t,n,r,i=[];for(n=0,r=e.length;n<r;++n)void 0!==(t=e[n])._index&&i.push(t);return i}function _n(e,t,n,r){var i,a,o,s,c=cn(n,0),l=Math.min(cn(r,e.length),e.length),u=0;for(t=Math.ceil(t),r&&(t=(i=r-n)/Math.floor(i/t)),s=c;s<0;)u++,s=Math.round(c+u*t);for(a=Math.max(c,0);a<l;a++)o=e[a],a===s?(o._index=a,u++,s=Math.round(c+u*t)):delete o.label}F._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:an.formatters.values,minor:{},major:{}}});var bn=Q.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){H.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,i,a,o,s,c=this,l=c.options.ticks,u=l.sampleSize;if(c.beforeUpdate(),c.maxWidth=e,c.maxHeight=t,c.margins=H.extend({left:0,right:0,top:0,bottom:0},n),c._ticks=null,c.ticks=null,c._labelSizes=null,c._maxLabelLines=0,c.longestLabelWidth=0,c.longestTextCache=c.longestTextCache||{},c._gridLineItems=null,c._labelItems=null,c.beforeSetDimensions(),c.setDimensions(),c.afterSetDimensions(),c.beforeDataLimits(),c.determineDataLimits(),c.afterDataLimits(),c.beforeBuildTicks(),o=c.buildTicks()||[],(!(o=c.afterBuildTicks(o)||o)||!o.length)&&c.ticks)for(o=[],r=0,i=c.ticks.length;r<i;++r)o.push({value:c.ticks[r],major:!1});return s=u<(c._ticks=o).length,a=c._convertTicksToLabels(s?function(e,t){for(var n=[],r=e.length/t,i=0,a=e.length;i<a;i+=r)n.push(e[Math.floor(i)]);return n}(o,u):o),c._configure(),c.beforeCalculateTickRotation(),c.calculateTickRotation(),c.afterCalculateTickRotation(),c.beforeFit(),c.fit(),c.afterFit(),c._ticksToDraw=l.display&&(l.autoSkip||"auto"===l.source)?c._autoSkip(o):o,s&&(a=c._convertTicksToLabels(c._ticksToDraw)),c.ticks=a,c.afterUpdate(),c.minSize},_configure:function(){var e,t,n=this,r=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,r=!r),n._startPixel=e,n._endPixel=t,n._reversePixels=r,n._length=t-e},afterUpdate:function(){H.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){H.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){H.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){H.callback(this.options.beforeDataLimits,[this])},determineDataLimits:H.noop,afterDataLimits:function(){H.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){H.callback(this.options.beforeBuildTicks,[this])},buildTicks:H.noop,afterBuildTicks:function(e){return on(e)&&e.length?H.callback(this.options.afterBuildTicks,[this,e]):(this.ticks=H.callback(this.options.afterBuildTicks,[this,this.ticks])||this.ticks,e)},beforeTickToLabelConversion:function(){H.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){H.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){H.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,r,i,a,o,s=this,c=s.options,l=c.ticks,u=s.getTicks().length,f=l.minRotation||0,d=l.maxRotation,h=f;!s._isVisible()||!l.display||d<=f||u<=1||!s.isHorizontal()?s.labelRotation=f:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),(i=c.offset?s.maxWidth/u:r/(u-1))<t+6&&(i=r/(u-(c.offset?.5:1)),a=s.maxHeight-dn(c.gridLines)-l.padding-hn(c.scaleLabel),o=Math.sqrt(t*t+n*n),h=H.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/i,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),h=Math.max(f,Math.min(d,h))),s.labelRotation=h)},afterCalculateTickRotation:function(){H.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){H.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,i=r.ticks,a=r.scaleLabel,o=r.gridLines,s=e._isVisible(),c="bottom"===r.position,l=e.isHorizontal();if(l?t.width=e.maxWidth:s&&(t.width=dn(o)+hn(a)),l?s&&(t.height=dn(o)+hn(a)):t.height=e.maxHeight,i.display&&s){var u=mn(i),f=e._getLabelSizes(),d=f.first,h=f.last,p=f.widest,m=f.highest,g=.4*u.minor.lineHeight,_=i.padding;if(l){var b=0!==e.labelRotation,v=H.toRadians(e.labelRotation),y=Math.cos(v),w=Math.sin(v),C=w*p.width+y*(m.height-(b?m.offset:0))+(b?0:g);t.height=Math.min(e.maxHeight,t.height+C+_);var A,S,T=e.getPixelForTick(0)-e.left,x=e.right-e.getPixelForTick(e.getTicks().length-1);S=b?(A=c?y*d.width+w*d.offset:w*(d.height-d.offset),c?w*(h.height-h.offset):y*h.width+w*h.offset):(A=d.width/2,h.width/2),e.paddingLeft=Math.max((A-T)*e.width/(e.width-T),0)+3,e.paddingRight=Math.max((S-x)*e.width/(e.width-x),0)+3}else{var k=i.mirror?0:p.width+_+g;t.width=Math.min(e.maxWidth,t.width+k),e.paddingTop=d.height/2,e.paddingBottom=h.height/2}}e.handleMargins(),l?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){H.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(sn(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r;for(this.ticks=e.map(function(e){return e.value}),this.beforeTickToLabelConversion(),t=this.convertTicksToLabels(e)||this.ticks,this.afterTickToLabelConversion(),n=0,r=e.length;n<r;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this._labelSizes;return e||(this._labelSizes=e=fn(this.ctx,mn(this.options.ticks),this.getTicks(),this.longestTextCache),this.longestLabelWidth=e.widest.width),e},_parseValue:function(e){var t,n,r,i;return i=on(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),r=Math.min(t,n),Math.max(t,n)):(t=void 0,r=n=e=+this.getRightValue(e)),{min:r,max:i,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:H.noop,getPixelForValue:H.noop,getValueForPixel:H.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,r=1/Math.max(n-(t?0:1),1);return e<0||n-1<e?null:this.getPixelForDecimal(e*r+(t?r/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0},_autoSkip:function(e){var t,n,r,i,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,c=a.major.enabled?function(e){var t,n,r=[];for(t=0,n=e.length;t<n;t++)e[t].major&&r.push(t);return r}(e):[],l=c.length,u=c[0],f=c[l-1];if(s<l)return function(e,t,n){var r,i,a=0,o=t[0];for(n=Math.ceil(n),r=0;r<e.length;r++)i=e[r],r===o?(i._index=r,o=t[++a*n]):delete i.label}(e,c,l/s),gn(e);if(r=function(e,t,n,r){var i,a,o,s,c=function(e){var t,n,r=e.length;if(r<2)return!1;for(n=e[0],t=1;t<r;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),l=(t.length-1)/r;if(!c)return Math.max(l,1);for(o=0,s=(i=H.math._factorize(c)).length-1;o<s;o++)if(l<(a=i[o]))return a;return Math.max(l,1)}(c,e,0,s),0<l){for(t=0,n=l-1;t<n;t++)_n(e,r,c[t],c[t+1]);return i=1<l?(f-u)/(l-1):null,_n(e,r,H.isNullOrUndef(i)?0:u-i,u),_n(e,r,f,H.isNullOrUndef(i)?e.length:f+i),gn(e)}return _n(e,r),gn(e)},_tickSize:function(){var e=this.options.ticks,t=H.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,o=i?i.widest.width+a:0,s=i?i.highest.height+a:0;return this.isHorizontal()?o*r<s*n?o/n:s/r:s*r<o*n?s/n:o/r},_isVisible:function(){var e,t,n,r=this.chart,i=this.options.display;if("auto"!==i)return!!i;for(e=0,t=r.data.datasets.length;e<t;++e)if(r.isDatasetVisible(e)&&((n=r.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,r,i,a,o,s,c,l,u,f,d,h,p,m,g,_,b=this,v=b.chart,y=b.options,w=y.gridLines,C=y.position,A=w.offsetGridLines,S=b.isHorizontal(),T=b._ticksToDraw,x=T.length+(A?1:0),k=dn(w),E=[],D=w.drawBorder?ln(w.lineWidth,0,0):0,I=D/2,P=H._alignPixel,M=function(e){return P(v,e,D)};for("top"===C?(t=M(b.bottom),s=b.bottom-k,l=t-I,f=M(e.top)+I,h=e.bottom):"bottom"===C?(t=M(b.top),f=e.top,h=M(e.bottom)-I,s=t+I,l=b.top+k):"left"===C?(t=M(b.right),o=b.right-k,c=t-I,u=M(e.left)+I,d=e.right):(t=M(b.left),u=e.left,d=M(e.right)-I,o=t+I,c=b.left+k),n=0;n<x;++n)r=T[n]||{},sn(r.label)&&n<T.length||(_=n===b.zeroLineIndex&&y.offset===A?(p=w.zeroLineWidth,m=w.zeroLineColor,g=w.zeroLineBorderDash||[],w.zeroLineBorderDashOffset||0):(p=ln(w.lineWidth,n,1),m=ln(w.color,n,"rgba(0,0,0,0.1)"),g=w.borderDash||[],w.borderDashOffset||0),void 0!==(i=un(b,r._index||n,A))&&(a=P(v,i,p),S?o=c=u=d=a:s=l=f=h=a,E.push({tx1:o,ty1:s,tx2:c,ty2:l,x1:u,y1:f,x2:d,y2:h,width:p,color:m,borderDash:g,borderDashOffset:_})));return E.ticksLength=x,E.borderValue=t,E},_computeLabelItems:function(){var e,t,n,r,i,a,o,s,c,l,u,f,d=this.options,h=d.ticks,p=d.position,m=h.mirror,g=this.isHorizontal(),_=this._ticksToDraw,b=mn(h),v=h.padding,y=dn(d.gridLines),w=-H.toRadians(this.labelRotation),C=[];for(o="top"===p?(a=this.bottom-y-v,w?"left":"center"):"bottom"===p?(a=this.top+y+v,w?"right":"center"):"left"===p?(i=this.right-(m?0:y)-v,m?"left":"right"):(i=this.left+(m?0:y)+v,m?"right":"left"),e=0,t=_.length;e<t;++e)r=(n=_[e]).label,sn(r)||(s=this.getPixelForTick(n._index||e)+h.labelOffset,l=(c=n.major?b.major:b.minor).lineHeight,u=on(r)?r.length:1,f=g?(i=s,"top"===p?((w?1:.5)-u)*l:(w?0:.5)*l):(a=s,(1-u)*l/2),C.push({x:i,y:a,rotation:w,label:r,font:c,textOffset:f,textAlign:o}));return C},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var r,i,a,o,s,c=t.ctx,l=t.chart,u=H._alignPixel,f=n.drawBorder?ln(n.lineWidth,0,0):0,d=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(a=0,o=d.length;a<o;++a)r=(s=d[a]).width,i=s.color,r&&i&&(c.save(),c.lineWidth=r,c.strokeStyle=i,c.setLineDash&&(c.setLineDash(s.borderDash),c.lineDashOffset=s.borderDashOffset),c.beginPath(),n.drawTicks&&(c.moveTo(s.tx1,s.ty1),c.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(c.moveTo(s.x1,s.y1),c.lineTo(s.x2,s.y2)),c.stroke(),c.restore());if(f){var h,p,m,g,_=f,b=ln(n.lineWidth,d.ticksLength-1,1),v=d.borderValue;t.isHorizontal()?(h=u(l,t.left,_)-_/2,p=u(l,t.right,b)+b/2,m=g=v):(m=u(l,t.top,_)-_/2,g=u(l,t.bottom,b)+b/2,h=p=v),c.lineWidth=f,c.strokeStyle=ln(n.color,0),c.beginPath(),c.moveTo(h,m),c.lineTo(p,g),c.stroke()}}},_drawLabels:function(){if(this.options.ticks.display){var e,t,n,r,i,a,o,s,c=this.ctx,l=this._labelItems||(this._labelItems=this._computeLabelItems());for(e=0,n=l.length;e<n;++e){if(a=(i=l[e]).font,c.save(),c.translate(i.x,i.y),c.rotate(i.rotation),c.font=a.string,c.fillStyle=a.color,c.textBaseline="middle",c.textAlign=i.textAlign,o=i.label,s=i.textOffset,on(o))for(t=0,r=o.length;t<r;++t)c.fillText(""+o[t],0,s),s+=a.lineHeight;else c.fillText(o,0,s);c.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,r=n.scaleLabel;if(r.display){var i,a,o=cn(r.fontColor,F.global.defaultFontColor),s=H.options._parseFont(r),c=H.options.toPadding(r.padding),l=s.lineHeight/2,u=n.position,f=0;if(e.isHorizontal())i=e.left+e.width/2,a="bottom"===u?e.bottom-l-c.bottom:e.top+l+c.top;else{var d="left"===u;i=d?e.left+l+c.top:e.right-l-c.top,a=e.top+e.height/2,f=d?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(i,a),t.rotate(f),t.textAlign="center",t.textBaseline="middle",t.fillStyle=o,t.font=s.string,t.fillText(r.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,r=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==r&&e.draw===e._draw?[{z:r,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(t){var n=this,r=n.isHorizontal();return n.chart._getSortedVisibleDatasetMetas().filter(function(e){return(!t||e.type===t)&&(r?e.xAxisID===n.id:e.yAxisID===n.id)})}});bn.prototype._draw=bn.prototype.draw;var vn=bn,yn=H.isNullOrUndef,wn=vn.extend({determineDataLimits:function(){var e,t=this._getLabels(),n=this.options.ticks,r=n.min,i=n.max,a=0,o=t.length-1;void 0!==r&&0<=(e=t.indexOf(r))&&(a=e),void 0!==i&&0<=(e=t.indexOf(i))&&(o=e),this.minIndex=a,this.maxIndex=o,this.min=t[a],this.max=t[o]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this.options.offset,t=this.ticks;vn.prototype._configure.call(this),this.isHorizontal()||(this._reversePixels=!this._reversePixels),t&&(this._startValue=this.minIndex-(e?.5:0),this._valueRange=Math.max(t.length-(e?0:1),1))},getPixelForValue:function(e,t,n){var r,i,a;return yn(t)||yn(n)||(e=this.chart.data.datasets[n].data[t]),yn(e)||(r=this.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(i=this._getLabels(),e=H.valueOrDefault(r,e),t=-1!==(a=i.indexOf(e))?a:t,isNaN(t)&&(t=e)),this.getPixelForDecimal((t-this._startValue)/this._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Cn={position:"bottom"};wn._defaults=Cn;var An=H.noop,Sn=H.isNullOrUndef;var Tn=vn.extend({getRightValue:function(e){return"string"==typeof e?+e:vn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=H.sign(e.min),r=H.sign(e.max);n<0&&r<0?e.max=0:0<n&&0<r&&(e.min=0)}var i=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),i!==a&&e.min>=e.max&&(i?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,r=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),r=r||11),r&&(e=Math.min(r,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:An,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:H.valueOrDefault(t.fixedStepSize,t.stepSize)},i=e.ticks=function(e,t){var n,r,i,a,o=[],s=e.stepSize,c=s||1,l=e.maxTicks-1,u=e.min,f=e.max,d=e.precision,h=t.min,p=t.max,m=H.niceNum((p-h)/l/c)*c;if(m<1e-14&&Sn(u)&&Sn(f))return[h,p];l<(a=Math.ceil(p/m)-Math.floor(h/m))&&(m=H.niceNum(a*m/l/c)*c),s||Sn(d)?n=Math.pow(10,H._decimalPlaces(m)):(n=Math.pow(10,d),m=Math.ceil(m*n)/n),r=Math.floor(h/m)*m,i=Math.ceil(p/m)*m,s&&(!Sn(u)&&H.almostWhole(u/m,m/1e3)&&(r=u),!Sn(f)&&H.almostWhole(f/m,m/1e3)&&(i=f)),a=(i-r)/m,a=H.almostEquals(a,Math.round(a),m/1e3)?Math.round(a):Math.ceil(a),r=Math.round(r*n)/n,i=Math.round(i*n)/n,o.push(Sn(u)?r:u);for(var g=1;g<a;++g)o.push(Math.round((r+g*m)*n)/n);return o.push(Sn(f)?i:f),o}(r,e);e.handleDirectionalChanges(),e.max=H.max(i),e.min=H.min(i),t.reverse?(i.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),vn.prototype.convertTicksToLabels.call(this)},_configure:function(){var e,t=this.getTicks(),n=this.min,r=this.max;vn.prototype._configure.call(this),this.options.offset&&t.length&&(n-=e=(r-n)/Math.max(t.length-1,1)/2,r+=e),this._startValue=n,this._endValue=r,this._valueRange=r-n}}),xn={position:"left",ticks:{callback:an.formatters.linear}};function kn(e,t,n,r){var i,a,o,s,c,l,u=e.options,f=u.stacked,d=(i=t,a=f,s=[(o=n).type,void 0===a&&void 0===o.stack?o.index:"",o.stack].join("."),void 0===i[s]&&(i[s]={pos:[],neg:[]}),i[s]),h=d.pos,p=d.neg,m=r.length;for(c=0;c<m;++c)l=e._parseValue(r[c]),isNaN(l.min)||isNaN(l.max)||n.data[c].hidden||(h[c]=h[c]||0,p[c]=p[c]||0,u.relativePoints?h[c]=100:l.min<0||l.max<0?p[c]+=l.min:h[c]+=l.max)}function En(e,t,n){var r,i,a=n.length;for(r=0;r<a;++r)i=e._parseValue(n[r]),isNaN(i.min)||isNaN(i.max)||t.data[r].hidden||(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}var Dn=Tn.extend({determineDataLimits:function(){var e,t,n,r,i=this,a=i.options,o=i.chart.data.datasets,s=i._getMatchingVisibleMetas(),c=a.stacked,l={},u=s.length;if(i.min=Number.POSITIVE_INFINITY,i.max=Number.NEGATIVE_INFINITY,void 0===c)for(e=0;!c&&e<u;++e)c=void 0!==(t=s[e]).stack;for(e=0;e<u;++e)n=o[(t=s[e]).index].data,c?kn(i,l,t,n):En(i,t,n);H.each(l,function(e){r=e.pos.concat(e.neg),i.min=Math.min(i.min,H.min(r)),i.max=Math.max(i.max,H.max(r))}),i.min=H.isFinite(i.min)&&!isNaN(i.min)?i.min:0,i.max=H.isFinite(i.max)&&!isNaN(i.max)?i.max:1,i.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=H.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),In=xn;Dn._defaults=In;var Pn=H.valueOrDefault,Mn=H.math.log10;var $n={position:"left",ticks:{callback:an.formatters.logarithmic}};function On(e,t){return H.isFinite(e)&&0<=e?e:t}var Rn=vn.extend({determineDataLimits:function(){var e,t,n,r,i,a,o=this,s=o.options,c=o.chart,l=c.data.datasets,u=o.isHorizontal();function f(e){return u?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var d=s.stacked;if(void 0===d)for(e=0;e<l.length;e++)if(t=c.getDatasetMeta(e),c.isDatasetVisible(e)&&f(t)&&void 0!==t.stack){d=!0;break}if(s.stacked||d){var h={};for(e=0;e<l.length;e++){var p=[(t=c.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(c.isDatasetVisible(e)&&f(t))for(void 0===h[p]&&(h[p]=[]),i=0,a=(r=l[e].data).length;i<a;i++){var m=h[p];n=o._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(m[i]=m[i]||0,m[i]+=n.max)}}H.each(h,function(e){if(0<e.length){var t=H.min(e),n=H.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}})}else for(e=0;e<l.length;e++)if(t=c.getDatasetMeta(e),c.isDatasetVisible(e)&&f(t))for(i=0,a=(r=l[e].data).length;i<a;i++)n=o._parseValue(r[i]),isNaN(n.min)||isNaN(n.max)||t.data[i].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=H.isFinite(o.min)?o.min:null,o.max=H.isFinite(o.max)?o.max:null,o.minNotZero=H.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=On(t.min,e.min),e.max=On(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(Mn(e.min))-1),e.max=Math.pow(10,Math.floor(Mn(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(Mn(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(Mn(e.min))+1):10),null===e.minNotZero&&(0<e.min?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Mn(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:On(t.min),max:On(t.max)},i=e.ticks=function(e,t){var n,r,i=[],a=Pn(e.min,Math.pow(10,Math.floor(Mn(t.min)))),o=Math.floor(Mn(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===a?(n=Math.floor(Mn(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),i.push(a),a=r*Math.pow(10,n)):(n=Math.floor(Mn(a)),r=Math.floor(a/Math.pow(10,n)));for(var c=n<0?Math.pow(10,Math.abs(n)):1;i.push(a),10==++r&&(r=1,c=0<=++n?1:c),a=Math.round(r*Math.pow(10,n)*c)/c,n<o||n===o&&r<s;);var l=Pn(e.max,a);return i.push(l),i}(r,e);e.max=H.max(i),e.min=H.min(i),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),vn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Mn(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;vn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Pn(e.options.ticks.fontSize,F.global.defaultFontSize)/e._length),e._startValue=Mn(t),e._valueOffset=n,e._valueRange=(Mn(e.max)-Mn(t))/(1-n)},getPixelForValue:function(e){var t=0;return(e=+this.getRightValue(e))>this.min&&0<e&&(t=(Mn(e)-this._startValue)/this._valueRange+this._valueOffset),this.getPixelForDecimal(t)},getValueForPixel:function(e){var t=this.getDecimalForPixel(e);return 0===t&&0===this.min?0:Math.pow(10,this._startValue+(t-this._valueOffset)*this._valueRange)}}),Nn=$n;Rn._defaults=Nn;var Ln=H.valueOrDefault,Fn=H.valueAtIndexOrDefault,Gn=H.options.resolve,jn={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:an.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Bn(e){var t=e.ticks;return t.display&&e.display?Ln(t.fontSize,F.global.defaultFontSize)+2*t.backdropPaddingY:0}function Un(e,t,n,r,i){return e===r||e===i?{start:t-n/2,end:t+n/2}:e<r||i<e?{start:t-n,end:t}:{start:t,end:t+n}}function Hn(e,t,n,r){var i,a,o=n.y+r/2;if(H.isArray(t))for(i=0,a=t.length;i<a;++i)e.fillText(t[i],n.x,o),o+=r;else e.fillText(t,n.x,o)}function Wn(e){return H.isNumber(e)?e:0}var qn=Tn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Bn(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var i=this,n=i.chart,a=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;H.each(n.data.datasets,function(e,t){if(n.isDatasetVisible(t)){var r=n.getDatasetMeta(t);H.each(e.data,function(e,t){var n=+i.getRightValue(e);isNaN(n)||r.data[t].hidden||(a=Math.min(n,a),o=Math.max(n,o))})}}),i.min=a===Number.POSITIVE_INFINITY?0:a,i.max=o===Number.NEGATIVE_INFINITY?0:o,i.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Bn(this.options))},convertTicksToLabels:function(){var t=this;Tn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=H.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,r,i=H.options._parseFont(e.options.pointLabels),a={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=i.string,e._pointLabelSizes=[];var s,c,l,u=e.chart.data.labels.length;for(t=0;t<u;t++){r=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,c=i.lineHeight,l=e.pointLabels[t],n=H.isArray(l)?{w:H.longestText(s,s.font,l),h:l.length*c}:{w:s.measureText(l).width,h:c},e._pointLabelSizes[t]=n;var f=e.getIndexAngle(t),d=H.toDegrees(f)%360,h=Un(d,r.x,n.w,0,180),p=Un(d,r.y,n.h,90,270);h.start<a.l&&(a.l=h.start,o.l=f),h.end>a.r&&(a.r=h.end,o.r=f),p.start<a.t&&(a.t=p.start,o.t=f),p.end>a.b&&(a.b=p.end,o.b=f)}e.setReductions(e.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var r=t.l/Math.sin(n.l),i=Math.max(t.r-this.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),o=-Math.max(t.b-(this.height-this.paddingTop),0)/Math.cos(n.b);r=Wn(r),i=Wn(i),a=Wn(a),o=Wn(o),this.drawingArea=Math.min(Math.floor(e-(r+i)/2),Math.floor(e-(a+o)/2)),this.setCenterPoint(r,i,a,o)},setCenterPoint:function(e,t,n,r){var i=this,a=i.width-t-i.drawingArea,o=e+i.drawingArea,s=n+i.drawingArea,c=i.height-i.paddingTop-r-i.drawingArea;i.xCenter=Math.floor((o+a)/2+i.left),i.yCenter=Math.floor((s+c)/2+i.top+i.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){if(H.isNullOrUndef(e))return NaN;var t=this.drawingArea/(this.max-this.min);return this.options.ticks.reverse?(this.max-e)*t:(e-this.min)*t},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:0<t&&0<n?t:0)},_drawGrid:function(){var e,n,t,r=this,i=r.ctx,a=r.options,o=a.gridLines,s=a.angleLines,c=Ln(s.lineWidth,o.lineWidth),l=Ln(s.color,o.color);if(a.pointLabels.display&&function(e){var t,n,r,i,a=e.ctx,o=e.options,s=o.pointLabels,c=Bn(o),l=e.getDistanceFromCenterForValue(o.ticks.reverse?e.min:e.max),u=H.options._parseFont(s);a.save(),a.font=u.string,a.textBaseline="middle";for(var f=e.chart.data.labels.length-1;0<=f;f--){var d=0===f?c/2:0,h=e.getPointPosition(f,l+d+5),p=Fn(s.fontColor,f,F.global.defaultFontColor);a.fillStyle=p;var m=e.getIndexAngle(f),g=H.toDegrees(m);a.textAlign=0===(i=g)||180===i?"center":i<180?"left":"right",t=g,n=e._pointLabelSizes[f],r=h,90===t||270===t?r.y-=n.h/2:(270<t||t<90)&&(r.y-=n.h),Hn(a,e.pointLabels[f],h,u.lineHeight)}a.restore()}(r),o.display&&H.each(r.ticks,function(e,t){0!==t&&(n=r.getDistanceFromCenterForValue(r.ticksAsNumbers[t]),function(e,t,n,r){var i,a=e.ctx,o=t.circular,s=e.chart.data.labels.length,c=Fn(t.color,r-1),l=Fn(t.lineWidth,r-1);if((o||s)&&c&&l){if(a.save(),a.strokeStyle=c,a.lineWidth=l,a.setLineDash&&(a.setLineDash(t.borderDash||[]),a.lineDashOffset=t.borderDashOffset||0),a.beginPath(),o)a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{i=e.getPointPosition(0,n),a.moveTo(i.x,i.y);for(var u=1;u<s;u++)i=e.getPointPosition(u,n),a.lineTo(i.x,i.y)}a.closePath(),a.stroke(),a.restore()}}(r,o,n,t))}),s.display&&c&&l){for(i.save(),i.lineWidth=c,i.strokeStyle=l,i.setLineDash&&(i.setLineDash(Gn([s.borderDash,o.borderDash,[]])),i.lineDashOffset=Gn([s.borderDashOffset,o.borderDashOffset,0])),e=r.chart.data.labels.length-1;0<=e;e--)n=r.getDistanceFromCenterForValue(a.ticks.reverse?r.min:r.max),t=r.getPointPosition(e,n),i.beginPath(),i.moveTo(r.xCenter,r.yCenter),i.lineTo(t.x,t.y),i.stroke();i.restore()}},_drawLabels:function(){var n=this,r=n.ctx,i=n.options.ticks;if(i.display){var a,o,e=n.getIndexAngle(0),s=H.options._parseFont(i),c=Ln(i.fontColor,F.global.defaultFontColor);r.save(),r.font=s.string,r.translate(n.xCenter,n.yCenter),r.rotate(e),r.textAlign="center",r.textBaseline="middle",H.each(n.ticks,function(e,t){(0!==t||i.reverse)&&(a=n.getDistanceFromCenterForValue(n.ticksAsNumbers[t]),i.showLabelBackdrop&&(o=r.measureText(e).width,r.fillStyle=i.backdropColor,r.fillRect(-o/2-i.backdropPaddingX,-a-s.size/2-i.backdropPaddingY,o+2*i.backdropPaddingX,s.size+2*i.backdropPaddingY)),r.fillStyle=c,r.fillText(e,0,-a))}),r.restore()}},_drawTitle:H.noop}),zn=jn;qn._defaults=zn;var Vn=H._deprecated,Yn=H.options.resolve,Kn=H.valueOrDefault,Qn=Number.MIN_SAFE_INTEGER||-9007199254740991,Xn=Number.MAX_SAFE_INTEGER||9007199254740991,Zn={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}},Jn=Object.keys(Zn);function er(e,t){return e-t}function tr(e){return H.valueOrDefault(e.time.min,e.ticks.min)}function nr(e){return H.valueOrDefault(e.time.max,e.ticks.max)}function rr(e,t,n,r){var i=function(e,t,n){for(var r,i,a,o=0,s=e.length-1;0<=o&&o<=s;){if(i=e[(r=o+s>>1)-1]||null,a=e[r],!i)return{lo:null,hi:a};if(a[t]<n)o=r+1;else{if(!(i[t]>n))return{lo:i,hi:a};s=r-1}}return{lo:a,hi:null}}(e,t,n),a=i.lo?i.hi?i.lo:e[e.length-2]:e[0],o=i.lo?i.hi?i.hi:e[e.length-1]:e[1],s=o[t]-a[t],c=s?(n-a[t])/s:0,l=(o[r]-a[r])*c;return a[r]+l}function ir(e,t){var n=e._adapter,r=e.options.time,i=r.parser,a=i||r.format,o=t;return"function"==typeof i&&(o=i(o)),H.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(i||"function"!=typeof a||(o=a(t),H.isFinite(o)||(o=n.parse(o))),o)}function ar(e,t){if(H.isNullOrUndef(t))return null;var n=e.options.time,r=ir(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function or(e,t,n,r){var i,a,o,s=Jn.length;for(i=Jn.indexOf(e);i<s-1;++i)if(o=(a=Zn[Jn[i]]).steps?a.steps:Xn,a.common&&Math.ceil((n-t)/(o*a.size))<=r)return Jn[i];return Jn[s-1]}function sr(e,t,n){var r,i,a=[],o={},s=t.length;for(r=0;r<s;++r)o[i=t[r]]=r,a.push({value:i,major:!1});return 0!==s&&n?function(e,t,n,r){var i,a,o=e._adapter,s=+o.startOf(t[0].value,r),c=t[t.length-1].value;for(i=s;i<=c;i=+o.add(i,1,r))0<=(a=n[i])&&(t[a].major=!0);return t}(e,a,o,n):a}var cr=vn.extend({initialize:function(){this.mergeTicksOptions(),vn.prototype.initialize.call(this)},update:function(){var e=this.options,t=e.time||(e.time={}),n=this._adapter=new rn._date(e.adapters.date);return Vn("time scale",t.format,"time.format","time.parser"),Vn("time scale",t.min,"time.min","ticks.min"),Vn("time scale",t.max,"time.max","ticks.max"),H.mergeIf(t.displayFormats,n.formats()),vn.prototype.update.apply(this,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),vn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,r,i,a,o,s=this,c=s.chart,l=s._adapter,u=s.options,f=u.time.unit||"day",d=Xn,h=Qn,p=[],m=[],g=[],_=s._getLabels();for(e=0,n=_.length;e<n;++e)g.push(ar(s,_[e]));for(e=0,n=(c.data.datasets||[]).length;e<n;++e)if(c.isDatasetVisible(e))if(i=c.data.datasets[e].data,H.isObject(i[0]))for(m[e]=[],t=0,r=i.length;t<r;++t)a=ar(s,i[t]),p.push(a),m[e][t]=a;else m[e]=g.slice(0),o||(p=p.concat(g),o=!0);else m[e]=[];g.length&&(d=Math.min(d,g[0]),h=Math.max(h,g[g.length-1])),p.length&&(p=1<n?function(e){var t,n,r,i={},a=[];for(t=0,n=e.length;t<n;++t)i[r=e[t]]||(i[r]=!0,a.push(r));return a}(p).sort(er):p.sort(er),d=Math.min(d,p[0]),h=Math.max(h,p[p.length-1])),d=ar(s,tr(u))||d,h=ar(s,nr(u))||h,d=d===Xn?+l.startOf(Date.now(),f):d,h=h===Qn?+l.endOf(Date.now(),f)+1:h,s.min=Math.min(d,h),s.max=Math.max(d+1,h),s._table=[],s._timestamps={data:p,datasets:m,labels:g}},buildTicks:function(){var e,t,n,r,i,a,o,s,c,l=this,u=l.min,f=l.max,d=l.options,h=d.ticks,p=d.time,m=l._timestamps,g=[],_=l.getLabelCapacity(u),b=h.source,v=d.distribution;for(m="data"===b||"auto"===b&&"series"===v?m.data:"labels"===b?m.labels:function(e,t,n,r){var i,a=e._adapter,o=e.options,s=o.time,c=s.unit||or(s.minUnit,t,n,r),l=Yn([s.stepSize,s.unitStepSize,1]),u="week"===c&&s.isoWeekday,f=t,d=[];if(u&&(f=+a.startOf(f,"isoWeek",u)),f=+a.startOf(f,u?"day":c),a.diff(n,t,c)>1e5*l)throw t+" and "+n+" are too far apart with stepSize of "+l+" "+c;for(i=f;i<n;i=+a.add(i,l,c))d.push(i);return i!==n&&"ticks"!==o.bounds||d.push(i),d}(l,u,f,_),"ticks"===d.bounds&&m.length&&(u=m[0],f=m[m.length-1]),u=ar(l,tr(d))||u,f=ar(l,nr(d))||f,e=0,t=m.length;e<t;++e)u<=(n=m[e])&&n<=f&&g.push(n);return l.min=u,l.max=f,l._unit=p.unit||(h.autoSkip?or(p.minUnit,l.min,l.max,_):function(e,t,n,r,i){var a,o;for(a=Jn.length-1;a>=Jn.indexOf(n);a--)if(o=Jn[a],Zn[o].common&&e._adapter.diff(i,r,o)>=t-1)return o;return Jn[n?Jn.indexOf(n):0]}(l,g.length,p.minUnit,l.min,l.max)),l._majorUnit=h.major.enabled&&"year"!==l._unit?function(e){for(var t=Jn.indexOf(e)+1,n=Jn.length;t<n;++t)if(Zn[Jn[t]].common)return Jn[t]}(l._unit):void 0,l._table=function(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var i,a,o,s,c,l=[],u=[t];for(i=0,a=e.length;i<a;++i)t<(s=e[i])&&s<n&&u.push(s);for(u.push(n),i=0,a=u.length;i<a;++i)c=u[i+1],o=u[i-1],s=u[i],void 0!==o&&void 0!==c&&Math.round((c+o)/2)===s||l.push({time:s,pos:i/(a-1)});return l}(l._timestamps.data,u,f,v),l._offsets=(r=l._table,i=g,c=s=0,d.offset&&i.length&&(a=rr(r,"time",i[0],"pos"),s=1===i.length?1-a:(rr(r,"time",i[1],"pos")-a)/2,o=rr(r,"time",i[i.length-1],"pos"),c=1===i.length?o:(o-rr(r,"time",i[i.length-2],"pos"))/2),{start:s,end:c,factor:1/(s+1+c)}),h.reverse&&g.reverse(),sr(l,g,l._majorUnit)},getLabelForIndex:function(e,t){var n=this._adapter,r=this.chart.data,i=this.options.time,a=r.labels&&e<r.labels.length?r.labels[e]:"",o=r.datasets[t].data[e];return H.isObject(o)&&(a=this.getRightValue(o)),i.tooltipFormat?n.format(ir(this,a),i.tooltipFormat):"string"==typeof a?a:n.format(ir(this,a),i.displayFormats.datetime)},tickFormatFunction:function(e,t,n,r){var i=this._adapter,a=this.options,o=a.time.displayFormats,s=o[this._unit],c=this._majorUnit,l=o[c],u=n[t],f=a.ticks,d=c&&l&&u&&u.major,h=i.format(e,r||(d?l:s)),p=d?f.major:f.minor,m=Yn([p.callback,p.userCallback,f.callback,f.userCallback]);return m?m(h,t,n):h},convertTicksToLabels:function(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(this.tickFormatFunction(e[t].value,t,e));return r},getPixelForOffset:function(e){var t=this._offsets,n=rr(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var r=null;if(void 0!==t&&void 0!==n&&(r=this._timestamps.datasets[n][t]),null===r&&(r=ar(this,e)),null!==r)return this.getPixelForOffset(r)},getPixelForTick:function(e){var t=this.getTicks();return 0<=e&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,r=rr(this._table,"pos",n,"time");return this._adapter._create(r)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,r=H.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),i=Math.cos(r),a=Math.sin(r),o=Kn(t.fontSize,F.global.defaultFontSize);return{w:n*i+o*a,h:n*a+o*i}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this.options.time,n=t.displayFormats,r=n[t.unit]||n.millisecond,i=this.tickFormatFunction(e,0,sr(this,[e],this._majorUnit),r),a=this._getLabelSize(i),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h);return this.options.offset&&o--,0<o?o:1}}),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}}};cr._defaults=lr;var ur={category:wn,linear:Dn,logarithmic:Rn,radialLinear:qn,time:cr},fr={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"};rn._date.override("function"==typeof r?{_id:"moment",formats:function(){return fr},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=r(e,t):e instanceof r||(e=r(e)),e.isValid()?e.valueOf():null},format:function(e,t){return r(e).format(t)},add:function(e,t,n){return r(e).add(t,n).valueOf()},diff:function(e,t,n){return r(e).diff(r(t),n)},startOf:function(e,t,n){return e=r(e),"isoWeek"===t?e.isoWeekday(n).valueOf():e.startOf(t).valueOf()},endOf:function(e,t){return r(e).endOf(t).valueOf()},_create:function(e){return r(e)}}:{}),F._set("global",{plugins:{filler:{propagate:!0}}});var dr={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),i=r&&n.isDatasetVisible(t)&&r.dataset._children||[],a=i.length||0;return a?function(e,t){return t<a&&i[t]._view||null}:null},boundary:function(e){var n=e.boundary,t=n?n.x:null,r=n?n.y:null;return H.isArray(n)?function(e,t){return n[t]}:function(e){return{x:null===t?e.x:t,y:null===r?e.y:r}}}};function hr(e,t,n){var r,i=e._model||{},a=i.fill;if(void 0===a&&(a=!!i.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(r=parseFloat(a,10),isFinite(r)&&Math.floor(r)===r)return"-"!==a[0]&&"+"!==a[0]||(r=t+r),!(r===t||r<0||n<=r)&&r;switch(a){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return a;default:return!1}}function pr(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,r,i,a,o=e.el._scale,s=o.options,c=o.chart.data.labels.length,l=e.fill,u=[];if(!c)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,r=o.getPointPositionForValue(0,t),i=0;i<c;++i)a="start"===l||"end"===l?o.getPointPositionForValue(i,"start"===l?t:n):o.getBasePosition(i),s.gridLines.circular&&(a.cx=r.x,a.cy=r.y,a.angle=o.getIndexAngle(i)-Math.PI/2),u.push(a);return u}(e):function(e){var t,n=e.el._model||{},r=e.el._scale||{},i=e.fill,a=null;if(isFinite(i))return null;if("start"===i?a=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===i?a=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:r.getBasePixel&&(a=r.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if(H.isFinite(a))return{x:(t=r.isHorizontal())?a:null,y:t?null:a}}return null}(e)}function mr(e,t,n){var r,i=e[t].fill,a=[t];if(!n)return i;for(;!1!==i&&-1===a.indexOf(i);){if(!isFinite(i))return i;if(!(r=e[i]))return!1;if(r.visible)return i;a.push(i),i=r.fill}return!1}function gr(e){return e&&!e.skip}function _r(e,t,n,r,i){var a,o,s,c;if(r&&i){for(e.moveTo(t[0].x,t[0].y),a=1;a<r;++a)H.canvas.lineTo(e,t[a-1],t[a]);if(void 0===n[0].angle)for(e.lineTo(n[i-1].x,n[i-1].y),a=i-1;0<a;--a)H.canvas.lineTo(e,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,c=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=i-1;0<a;--a)e.arc(o,s,c,n[a].angle,n[a-1].angle,!0)}}function br(e,t,n,r,i,a){var o,s,c,l,u,f,d,h,p=t.length,m=r.spanGaps,g=[],_=[],b=0,v=0;for(e.beginPath(),o=0,s=p;o<s;++o)u=n(l=t[c=o%p]._view,c,r),f=gr(l),d=gr(u),a&&void 0===h&&f&&(s=p+(h=o+1)),f&&d?(b=g.push(l),v=_.push(u)):b&&v&&(m?(f&&g.push(l),d&&_.push(u)):(_r(e,g,_,b,v),b=v=0,g=[],_=[]));_r(e,g,_,b,v),e.closePath(),e.fillStyle=i,e.fill()}var vr={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,i,a,o,s,c,l=(e.data.datasets||[]).length,u=t.propagate,f=[];for(r=0;r<l;++r)a=null,(i=(n=e.getDatasetMeta(r)).dataset)&&i._model&&i instanceof Ae.Line&&(a={visible:e.isDatasetVisible(r),fill:hr(i,r,l),chart:e,el:i}),n.$filler=a,f.push(a);for(r=0;r<l;++r)(a=f[r])&&(a.fill=mr(f,r,u),a.boundary=pr(a),a.mapper=(c=void 0,s=(o=a).fill,!(c="dataset")===s?null:(isFinite(s)||(c="boundary"),dr[c](o))))},beforeDatasetsDraw:function(e){var t,n,r,i,a,o,s,c=e._getSortedVisibleDatasetMetas(),l=e.ctx;for(n=c.length-1;0<=n;--n)(t=c[n].$filler)&&t.visible&&(i=(r=t.el)._view,a=r._children||[],o=t.mapper,s=i.backgroundColor||F.global.defaultColor,o&&s&&a.length&&(H.canvas.clipArea(l,e.chartArea),br(l,a,o,i,s,r._loop),H.canvas.unclipArea(l)))}},yr=H.rtl.getRtlAdapter,wr=H.noop,Cr=H.valueOrDefault;function Ar(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}F._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,i=r.getDatasetMeta(n);i.hidden=null===i.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var r=n.data.datasets,e=n.options.legend||{},i=e.labels&&e.labels.usePointStyle;return n._getSortedDatasetMetas().map(function(e){var t=e.controller.getStyle(i?0:void 0);return{text:r[e.index].label,fillStyle:t.backgroundColor,hidden:!n.isDatasetVisible(e.index),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,rotation:t.rotation,datasetIndex:e.index}},this)}}},legendCallback:function(e){var t,n,r,i=document.createElement("ul"),a=e.data.datasets;for(i.setAttribute("class",e.id+"-legend"),t=0,n=a.length;t<n;t++)(r=i.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[t].backgroundColor,a[t].label&&r.appendChild(document.createTextNode(a[t].label));return i.outerHTML}});var Sr=Q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:wr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:wr,beforeSetDimensions:wr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:wr,beforeBuildLabels:wr,buildLabels:function(){var t=this,n=t.options.labels||{},e=H.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(e=e.filter(function(e){return n.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:wr,beforeFit:wr,fit:function(){var e=this,t=e.options,r=t.labels,n=t.display,i=e.ctx,a=H.options._parseFont(r),o=a.size,s=e.legendHitBoxes=[],c=e.minSize,l=e.isHorizontal();if(l?(c.width=e.maxWidth,c.height=n?10:0):(c.width=n?10:0,c.height=e.maxHeight),n){if(i.font=a.string,l){var u=e.lineWidths=[0],f=0;i.textAlign="left",i.textBaseline="middle",H.each(e.legendItems,function(e,t){var n=Ar(r,o)+o/2+i.measureText(e.text).width;(0===t||u[u.length-1]+n+2*r.padding>c.width)&&(f+=o+r.padding,u[u.length-(0<t?0:1)]=0),s[t]={left:0,top:0,width:n,height:o},u[u.length-1]+=n+r.padding}),c.height+=f}else{var d=r.padding,h=e.columnWidths=[],p=e.columnHeights=[],m=r.padding,g=0,_=0;H.each(e.legendItems,function(e,t){var n=Ar(r,o)+o/2+i.measureText(e.text).width;0<t&&_+o+2*d>c.height&&(m+=g+r.padding,h.push(g),p.push(_),_=g=0),g=Math.max(g,n),_+=o+d,s[t]={left:0,top:0,width:n,height:o}}),m+=g,h.push(g),p.push(_),c.width+=m}e.width=c.width,e.height=c.height}else e.width=c.width=e.height=c.height=0},afterFit:wr,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var p=this,n=p.options,m=n.labels,e=F.global,g=e.defaultColor,_=e.elements.line,b=p.height,v=p.columnHeights,y=p.width,w=p.lineWidths;if(n.display){var C,A=yr(n.rtl,p.left,p.minSize.width),S=p.ctx,t=Cr(m.fontColor,e.defaultFontColor),r=H.options._parseFont(m),T=r.size;S.textAlign=A.textAlign("left"),S.textBaseline="middle",S.lineWidth=.5,S.strokeStyle=t,S.fillStyle=t,S.font=r.string;var x=Ar(m,T),k=p.legendHitBoxes,E=function(e,t){switch(n.align){case"start":return m.padding;case"end":return e-t;default:return(e-t+m.padding)/2}},D=p.isHorizontal();C=D?{x:p.left+E(y,w[0]),y:p.top+m.padding,line:0}:{x:p.left+m.padding,y:p.top+E(b,v[0]),line:0},H.rtl.overrideTextDirection(p.ctx,n.textDirection);var I=T+m.padding;H.each(p.legendItems,function(e,t){var n=S.measureText(e.text).width,r=x+T/2+n,i=C.x,a=C.y;A.setWidth(p.minSize.width),D?0<t&&i+r+m.padding>p.left+p.minSize.width&&(a=C.y+=I,C.line++,i=C.x=p.left+E(y,w[C.line])):0<t&&a+I>p.top+p.minSize.height&&(i=C.x=i+p.columnWidths[C.line]+m.padding,C.line++,a=C.y=p.top+E(b,v[C.line]));var o,s,c,l,u,f,d,h=A.x(i);!function(e,t,n){if(!(isNaN(x)||x<=0)){S.save();var r=Cr(n.lineWidth,_.borderWidth);if(S.fillStyle=Cr(n.fillStyle,g),S.lineCap=Cr(n.lineCap,_.borderCapStyle),S.lineDashOffset=Cr(n.lineDashOffset,_.borderDashOffset),S.lineJoin=Cr(n.lineJoin,_.borderJoinStyle),S.lineWidth=r,S.strokeStyle=Cr(n.strokeStyle,g),S.setLineDash&&S.setLineDash(Cr(n.lineDash,_.borderDash)),m&&m.usePointStyle){var i=x*Math.SQRT2/2,a=A.xPlus(e,x/2),o=t+T/2;H.canvas.drawPoint(S,n.pointStyle,i,a,o,n.rotation)}else S.fillRect(A.leftForLtr(e,x),t,x,T),0!==r&&S.strokeRect(A.leftForLtr(e,x),t,x,T);S.restore()}}(h,a,e),k[t].left=A.leftForLtr(h,k[t].width),k[t].top=a,o=h,s=a,c=e,l=n,u=T/2,f=A.xPlus(o,x+u),d=s+u,S.fillText(c.text,f,d),c.hidden&&(S.beginPath(),S.lineWidth=2,S.moveTo(f,d),S.lineTo(A.xPlus(f,l),d),S.stroke()),D?C.x+=r+m.padding:C.y+=I}),H.rtl.restoreTextDirection(p.ctx,n.textDirection)}},_getLegendItemAt:function(e,t){var n,r,i;if(e>=this.left&&e<=this.right&&t>=this.top&&t<=this.bottom)for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(e>=(r=i[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return this.legendItems[n];return null},handleEvent:function(e){var t,n=this.options,r="mouseup"===e.type?"click":e.type;if("mousemove"===r){if(!n.onHover&&!n.onLeave)return}else{if("click"!==r)return;if(!n.onClick)return}t=this._getLegendItemAt(e.x,e.y),"click"===r?t&&n.onClick&&n.onClick.call(this,e.native,t):(n.onLeave&&t!==this._hoveredItem&&(this._hoveredItem&&n.onLeave.call(this,e.native,this._hoveredItem),this._hoveredItem=t),n.onHover&&t&&n.onHover.call(this,e.native,t))}});function Tr(e,t){var n=new Sr({ctx:e.ctx,options:t,chart:e});pt.configure(e,n,t),pt.addBox(e,n),e.legend=n}var xr={id:"legend",_element:Sr,beforeInit:function(e){var t=e.options.legend;t&&Tr(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(H.mergeIf(t,F.global.legend),n?(pt.configure(e,n,t),n.options=t):Tr(e,t)):n&&(pt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},kr=H.noop;F._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Er=Q.extend({initialize:function(e){H.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:kr,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:kr,beforeSetDimensions:kr,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:kr,beforeBuildLabels:kr,buildLabels:kr,afterBuildLabels:kr,beforeFit:kr,fit:function(){var e,t=this.options,n=this.minSize={},r=this.isHorizontal();t.display?(e=(H.isArray(t.text)?t.text.length:1)*H.options._parseFont(t).lineHeight+2*t.padding,this.width=n.width=r?this.maxWidth:e,this.height=n.height=r?e:this.maxHeight):this.width=n.width=this.height=n.height=0},afterFit:kr,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this.ctx,t=this.options;if(t.display){var n,r,i,a=H.options._parseFont(t),o=a.lineHeight,s=o/2+t.padding,c=0,l=this.top,u=this.left,f=this.bottom,d=this.right;e.fillStyle=H.valueOrDefault(t.fontColor,F.global.defaultFontColor),e.font=a.string,this.isHorizontal()?(r=u+(d-u)/2,i=l+s,n=d-u):(r="left"===t.position?u+s:d-s,i=l+(f-l)/2,n=f-l,c=Math.PI*("left"===t.position?-.5:.5)),e.save(),e.translate(r,i),e.rotate(c),e.textAlign="center",e.textBaseline="middle";var h=t.text;if(H.isArray(h))for(var p=0,m=0;m<h.length;++m)e.fillText(h[m],0,p,n),p+=o;else e.fillText(h,0,0,n);e.restore()}}});function Dr(e,t){var n=new Er({ctx:e.ctx,options:t,chart:e});pt.configure(e,n,t),pt.addBox(e,n),e.titleBlock=n}var Ir={},Pr=vr,Mr=xr,$r={id:"title",_element:Er,beforeInit:function(e){var t=e.options.title;t&&Dr(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(H.mergeIf(t,F.global.title),n?(pt.configure(e,n,t),n.options=t):Dr(e,t)):n&&(pt.removeBox(e,n),delete e.titleBlock)}};for(var Or in Ir.filler=Pr,Ir.legend=Mr,Ir.title=$r,en.helpers=H,function(){function u(e,t,n){var r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function f(e){return null!=e&&"none"!==e}function t(e,t,n){var r=document.defaultView,i=H._getParentNode(e),a=r.getComputedStyle(e)[t],o=r.getComputedStyle(i)[t],s=f(a),c=f(o),l=Number.POSITIVE_INFINITY;return s||c?Math.min(s?u(a,e,n):l,c?u(o,i,n):l):"none"}H.where=function(e,t){if(H.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return H.each(e,function(e){t(e)&&n.push(e)}),n},H.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,i=e.length;r<i;++r)if(t.call(n,e[r],r,e))return r;return-1},H.findNextWhere=function(e,t,n){H.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var i=e[r];if(t(i))return i}},H.findPreviousWhere=function(e,t,n){H.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;0<=r;r--){var i=e[r];if(t(i))return i}},H.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},H.almostEquals=function(e,t,n){return Math.abs(e-t)<n},H.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&e<=n+t},H.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},H.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},H.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:0<e?1:-1},H.toRadians=function(e){return e*(Math.PI/180)},H.toDegrees=function(e){return e*(180/Math.PI)},H._decimalPlaces=function(e){if(H.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},H.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r),a=Math.atan2(r,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:i}},H.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},H.aliasPixel=function(e){return e%2==0?0:.5},H._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,i=n/2;return Math.round((t-i)*r)/r+i},H.splineCurve=function(e,t,n,r){var i=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),c=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),l=s/(s+c),u=c/(s+c),f=r*(l=isNaN(l)?0:l),d=r*(u=isNaN(u)?0:u);return{previous:{x:a.x-f*(o.x-i.x),y:a.y-f*(o.y-i.y)},next:{x:a.x+d*(o.x-i.x),y:a.y+d*(o.y-i.y)}}},H.EPSILON=Number.EPSILON||1e-14,H.splineCurveMonotone=function(e){var t,n,r,i,a,o,s,c,l,u=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),f=u.length;for(t=0;t<f;++t)if(!(r=u[t]).model.skip){if(n=0<t?u[t-1]:null,(i=t<f-1?u[t+1]:null)&&!i.model.skip){var d=i.model.x-r.model.x;r.deltaK=0!==d?(i.model.y-r.model.y)/d:0}!n||n.model.skip?r.mK=r.deltaK:!i||i.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<f-1;++t)r=u[t],i=u[t+1],r.model.skip||i.model.skip||(H.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=i.mK=0:(a=r.mK/r.deltaK,o=i.mK/r.deltaK,(c=Math.pow(a,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(c),r.mK=a*s*r.deltaK,i.mK=o*s*r.deltaK)));for(t=0;t<f;++t)(r=u[t]).model.skip||(n=0<t?u[t-1]:null,i=t<f-1?u[t+1]:null,n&&!n.model.skip&&(l=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-l,r.model.controlPointPreviousY=r.model.y-l*r.mK),i&&!i.model.skip&&(l=(i.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+l,r.model.controlPointNextY=r.model.y+l*r.mK))},H.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},H.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},H.niceNum=function(e,t){var n=Math.floor(H.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},H.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},H.getRelativePosition=function(e,t){var n,r,i=e.originalEvent||e,a=e.target||e.srcElement,o=a.getBoundingClientRect(),s=i.touches;r=s&&0<s.length?(n=s[0].clientX,s[0].clientY):(n=i.clientX,i.clientY);var c=parseFloat(H.getStyle(a,"padding-left")),l=parseFloat(H.getStyle(a,"padding-top")),u=parseFloat(H.getStyle(a,"padding-right")),f=parseFloat(H.getStyle(a,"padding-bottom")),d=o.right-o.left-c-u,h=o.bottom-o.top-l-f;return{x:n=Math.round((n-o.left-c)/d*a.width/t.currentDevicePixelRatio),y:r=Math.round((r-o.top-l)/h*a.height/t.currentDevicePixelRatio)}},H.getConstraintWidth=function(e){return t(e,"max-width","clientWidth")},H.getConstraintHeight=function(e){return t(e,"max-height","clientHeight")},H._calculatePadding=function(e,t,n){return-1<(t=H.getStyle(e,t)).indexOf("%")?n*parseInt(t,10)/100:parseInt(t,10)},H._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},H.getMaximumWidth=function(e){var t=H._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-H._calculatePadding(t,"padding-left",n)-H._calculatePadding(t,"padding-right",n),i=H.getConstraintWidth(e);return isNaN(i)?r:Math.min(r,i)},H.getMaximumHeight=function(e){var t=H._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-H._calculatePadding(t,"padding-top",n)-H._calculatePadding(t,"padding-bottom",n),i=H.getConstraintHeight(e);return isNaN(i)?r:Math.min(r,i)},H.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},H.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,i=e.height,a=e.width;r.height=i*n,r.width=a*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=i+"px",r.style.width=a+"px")}},H.fontString=function(e,t,n){return t+" "+e+"px "+n},H.longestText=function(e,t,n,r){var i=(r=r||{}).data=r.data||{},a=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(i=r.data={},a=r.garbageCollect=[],r.font=t),e.font=t;var o,s,c,l,u,f=0,d=n.length;for(o=0;o<d;o++)if(null!=(l=n[o])&&!0!==H.isArray(l))f=H.measureText(e,i,a,f,l);else if(H.isArray(l))for(s=0,c=l.length;s<c;s++)null==(u=l[s])||H.isArray(u)||(f=H.measureText(e,i,a,f,u));var h=a.length/2;if(h>n.length){for(o=0;o<h;o++)delete i[a[o]];a.splice(0,h)}return f},H.measureText=function(e,t,n,r,i){var a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),r<a&&(r=a),r},H.numberOfLabelLines=function(e){var t=1;return H.each(e,function(e){H.isArray(e)&&e.length>t&&(t=e.length)}),t},H.color=C?function(e){return e instanceof CanvasGradient&&(e=F.global.defaultColor),C(e)}:function(e){return console.error("Color.js not found!"),e},H.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:H.color(e).saturate(.5).darken(.1).rgbString()}}(),en._adapters=rn,en.Animation=Z,en.animationService=J,en.controllers=Xe,en.DatasetController=ie,en.defaults=F,en.Element=Q,en.elements=Ae,en.Interaction=it,en.layouts=pt,en.platform=$t,en.plugins=Ot,en.Scale=vn,en.scaleService=Rt,en.Ticks=an,en.Tooltip=zt,en.helpers.each(ur,function(e,t){en.scaleService.registerScaleType(t,e,e._defaults)}),Ir)Ir.hasOwnProperty(Or)&&en.plugins.register(Ir[Or]);en.platform.initialize();var Rr=en;return"undefined"!=typeof window&&(window.Chart=en),(en.Chart=en).Legend=Ir.legend._element,en.Title=Ir.title._element,en.pluginService=en.plugins,en.PluginBase=en.Element.extend({}),en.canvasHelpers=en.helpers.canvas,en.layoutService=en.layouts,en.LinearScaleBase=Tn,en.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(n){en[n]=function(e,t){return new en(e,en.helpers.merge(t||{},{type:n.charAt(0).toLowerCase()+n.slice(1)}))}}),Rr}),function(e){"use strict";if("object"==typeof exports)module.exports=e("undefined"!=typeof angular?angular:require("angular"),"undefined"!=typeof Chart?Chart:require("chart.js"));else if("function"==typeof define&&define.amd)define(["angular","chart"],e);else{if("undefined"==typeof angular)throw new Error("AngularJS framework needs to be included, see https://angularjs.org/");if("undefined"==typeof Chart)throw new Error("Chart.js library needs to be included, see http://jtblin.github.io/angular-chart.js/");e(angular,Chart)}}(function(M,$){"use strict";$.defaults.global.multiTooltipTemplate="<%if (datasetLabel){%><%=datasetLabel%>: <%}%><%= value %>",$.defaults.global.tooltips.mode="label",$.defaults.global.elements.line.borderWidth=2,$.defaults.global.elements.rectangle.borderWidth=2,$.defaults.global.legend.display=!1,$.defaults.global.colors=["#97BBCD","#DCDCDC","#F7464A","#46BFBD","#FDB45C","#949FB1","#4D5360"];var c="object"==typeof window.G_vmlCanvasManager&&null!==window.G_vmlCanvasManager&&"function"==typeof window.G_vmlCanvasManager.initElement;return c&&($.defaults.global.animation=!1),M.module("chart.js",[]).provider("ChartJs",function(){var n={responsive:!0},r={Chart:$,getOptions:function(e){var t=e&&n[e]||{};return M.extend({},n,t)}};this.setOptions=function(e,t){t?n[e]=M.merge(n[e]||{},t):(t=e,n=M.merge(n,t)),M.merge(r.Chart.defaults,n)},this.$get=function(){return r}}).factory("ChartJsFactory",["ChartJs","$timeout",function(T,x){return function(a){return{restrict:"CA",scope:{chartGetColor:"=?",chartType:"=",chartData:"=?",chartLabels:"=?",chartOptions:"=?",chartSeries:"=?",chartColors:"=?",chartClick:"=?",chartHover:"=?",chartDatasetOverride:"=?"},link:function(r,i){function e(e,t){if(!s(e)&&!M.equals(e,t)){var n=a||r.chartType;n&&k(n,r,i)}}c&&window.G_vmlCanvasManager.initElement(i[0]),r.$watch("chartData",function(e,t){if(!e||!e.length||Array.isArray(e[0])&&!e[0].length)return void P(r);var n=a||r.chartType;if(!n)return;if(r.chart&&function(e,n){if(e&&n&&e.length&&n.length)return Array.isArray(e[0])?e.length===n.length&&e.every(function(e,t){return e.length===n[t].length}):0<n.reduce(o,0)&&e.length===n.length;return!1}(e,t))return function(n,e){Array.isArray(e.chartData[0])?e.chart.data.datasets.forEach(function(e,t){e.data=n[t]}):e.chart.data.datasets[0].data=n;e.chart.update(),e.$emit("chart-update",e.chart)}(e,r);k(n,r,i)},!0),r.$watch("chartSeries",e,!0),r.$watch("chartLabels",e,!0),r.$watch("chartOptions",e,!0),r.$watch("chartColors",e,!0),r.$watch("chartDatasetOverride",e,!0),r.$watch("chartType",function(e,t){if(s(e))return;if(M.equals(e,t))return;k(e,r,i)},!1),r.$on("$destroy",function(){P(r)}),r.$on("$resize",function(){r.chart&&r.chart.resize()})}}};function k(e,t,n){var r,i,a=(r=e,i=t,M.extend({},T.getOptions(r),i.chartOptions));if((o=t).chartData&&o.chartData.length&&function(e,t,n,r){if(r.responsive&&0===n[0].clientHeight)return x(function(){k(e,t,n)},50,!1),!1;return!0}(e,t,n,a)){var o,s,c=n[0],l=c.getContext("2d");t.chartGetColor="function"==typeof(s=t).chartGetColor?s.chartGetColor:I;var u,f,d,h,p,m,g,_,b,v,y,w,C,A,S=(g=function(e,t){var n=M.copy(t.chartColors||T.getOptions(e).chartColors||$.defaults.global.colors),r=n.length<t.chartData.length;for(;n.length<t.chartData.length;)n.push(t.chartGetColor());r&&(t.chartColors=n);return n.map(D)}(e,m=t),Array.isArray(m.chartData[0])?(_=m.chartLabels,b=m.chartData,v=m.chartSeries||[],y=g,w=m.chartDatasetOverride,{labels:_,datasets:b.map(function(e,t){var n=M.extend({},y[t],{label:v[t],data:e});return w&&w.length>=t&&M.merge(n,w[t]),n})}):(u=m.chartLabels,f=m.chartData,d=g,h=m.chartDatasetOverride,p={labels:u,datasets:[{data:f,backgroundColor:d.map(function(e){return e.pointBackgroundColor}),hoverBackgroundColor:d.map(function(e){return e.backgroundColor})}]},h&&M.merge(p.datasets[0],h),p));P(t),t.chart=new T.Chart(l,{type:e,data:S,options:a}),t.$emit("chart-create",t.chart),A=t,(C=c).onclick=A.chartClick?E(A,"chartClick",!1):M.noop,C.onmousemove=A.chartHover?E(A,"chartHover",!0):M.noop}}function o(e,t){return e+t}function E(a,o,s){var c={point:void 0,points:void 0};return function(e){var t=a.chart.getElementAtEvent||a.chart.getPointAtEvent,n=a.chart.getElementsAtEvent||a.chart.getPointsAtEvent;if(n){var r=n.call(a.chart,e),i=t?t.call(a.chart,e)[0]:void 0;!1!==s&&(M.equals(c.points,r)||M.equals(c.point,i))||(c.point=i,c.points=r,a[o](r,e,i))}}}function D(e){return"string"==typeof e&&"r"===e[0]?r(function(e){var t=e.match(/^rgba?\(([\d,.]+)\)$/);if(!t)throw new Error("Cannot parse rgb value");return(e=t[1].split(",")).map(Number)}(e)):"string"==typeof e&&"#"===e[0]?r((t=e.substr(1),[(n=parseInt(t,16))>>16&255,n>>8&255,255&n])):"object"==typeof e&&null!==e?e:I();var t,n}function I(){var e=[t(0,255),t(0,255),t(0,255)];return r(e)}function r(e){var t=e[3]||1;return{backgroundColor:n(e=e.slice(0,3),.2),pointBackgroundColor:n(e,t),pointHoverBackgroundColor:n(e,.8),borderColor:n(e,t),pointBorderColor:"#fff",pointHoverBorderColor:n(e,t)}}function t(e,t){return Math.floor(Math.random()*(t-e+1))+e}function n(e,t){return c?"rgb("+e.join(",")+")":"rgba("+e.concat(t).join(",")+")"}function s(e){return!e||Array.isArray(e)&&!e.length||"object"==typeof e&&!Object.keys(e).length}function P(e){e.chart&&(e.chart.destroy(),e.$emit("chart-destroy",e.chart))}}]).directive("chartBase",["ChartJsFactory",function(e){return new e}]).directive("chartLine",["ChartJsFactory",function(e){return new e("line")}]).directive("chartBar",["ChartJsFactory",function(e){return new e("bar")}]).directive("chartHorizontalBar",["ChartJsFactory",function(e){return new e("horizontalBar")}]).directive("chartRadar",["ChartJsFactory",function(e){return new e("radar")}]).directive("chartDoughnut",["ChartJsFactory",function(e){return new e("doughnut")}]).directive("chartPie",["ChartJsFactory",function(e){return new e("pie")}]).directive("chartPolarArea",["ChartJsFactory",function(e){return new e("polarArea")}]).directive("chartBubble",["ChartJsFactory",function(e){return new e("bubble")}]).name}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(e){"use strict";var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(r){"use strict";r.fn.emulateTransitionEnd=function(e){var t=!1,n=this;r(this).one("bsTransitionEnd",function(){t=!0});return setTimeout(function(){t||r(n).trigger(r.support.transition.end)},e),this},r(function(){r.support.transition=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var n in t)if(void 0!==e.style[n])return{end:t[n]};return!1}(),r.support.transition&&(r.event.special.bsTransitionEnd={bindType:r.support.transition.end,delegateType:r.support.transition.end,handle:function(e){if(r(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(a){"use strict";var t='[data-dismiss="alert"]',o=function(e){a(e).on("click",t,this.close)};o.VERSION="3.4.1",o.TRANSITION_DURATION=150,o.prototype.close=function(e){var t=a(this),n=t.attr("data-target");n||(n=(n=t.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),n="#"===n?[]:n;var r=a(document).find(n);function i(){r.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),r.length||(r=t.closest(".alert")),r.trigger(e=a.Event("close.bs.alert")),e.isDefaultPrevented()||(r.removeClass("in"),a.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",i).emulateTransitionEnd(o.TRANSITION_DURATION):i())};var e=a.fn.alert;a.fn.alert=function(n){return this.each(function(){var e=a(this),t=e.data("bs.alert");t||e.data("bs.alert",t=new o(this)),"string"==typeof n&&t[n].call(e)})},a.fn.alert.Constructor=o,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",t,o.prototype.close)}(jQuery),function(a){"use strict";var i=function(e,t){this.$element=a(e),this.options=a.extend({},i.DEFAULTS,t),this.isLoading=!1};function n(r){return this.each(function(){var e=a(this),t=e.data("bs.button"),n="object"==typeof r&&r;t||e.data("bs.button",t=new i(this,n)),"toggle"==r?t.toggle():r&&t.setState(r)})}i.VERSION="3.4.1",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.is("input")?"val":"html",i=n.data();e+="Text",null==i.resetText&&n.data("resetText",n[r]()),setTimeout(a.proxy(function(){n[r](null==i[e]?this.options[e]:i[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(t).attr(t,t).prop(t,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(t).removeAttr(t).prop(t,!1))},this),0)},i.prototype.toggle=function(){var e=!0,t=this.$element.closest('[data-toggle="buttons"]');if(t.length){var n=this.$element.find("input");"radio"==n.prop("type")?(n.prop("checked")&&(e=!1),t.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==n.prop("type")&&(n.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),n.prop("checked",this.$element.hasClass("active")),e&&n.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var e=a.fn.button;a.fn.button=n,a.fn.button.Constructor=i,a.fn.button.noConflict=function(){return a.fn.button=e,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=a(e.target).closest(".btn");n.call(t,"toggle"),a(e.target).is('input[type="radio"], input[type="checkbox"]')||(e.preventDefault(),t.is("input,button")?t.trigger("focus"):t.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){a(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(f){"use strict";var d=function(e,t){this.$element=f(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=t,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",f.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",f.proxy(this.pause,this)).on("mouseleave.bs.carousel",f.proxy(this.cycle,this))};function s(i){return this.each(function(){var e=f(this),t=e.data("bs.carousel"),n=f.extend({},d.DEFAULTS,e.data(),"object"==typeof i&&i),r="string"==typeof i?i:n.slide;t||e.data("bs.carousel",t=new d(this,n)),"number"==typeof i?t.to(i):r?t[r]():n.interval&&t.pause().cycle()})}d.VERSION="3.4.1",d.TRANSITION_DURATION=600,d.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},d.prototype.keydown=function(e){if(!/input|textarea/i.test(e.target.tagName)){switch(e.which){case 37:this.prev();break;case 39:this.next();break;default:return}e.preventDefault()}},d.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(f.proxy(this.next,this),this.options.interval)),this},d.prototype.getItemIndex=function(e){return this.$items=e.parent().children(".item"),this.$items.index(e||this.$active)},d.prototype.getItemForDirection=function(e,t){var n=this.getItemIndex(t);if(("prev"==e&&0===n||"next"==e&&n==this.$items.length-1)&&!this.options.wrap)return t;var r=(n+("prev"==e?-1:1))%this.$items.length;return this.$items.eq(r)},d.prototype.to=function(e){var t=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(e>this.$items.length-1||e<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){t.to(e)}):n==e?this.pause().cycle():this.slide(n<e?"next":"prev",this.$items.eq(e))},d.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&f.support.transition&&(this.$element.trigger(f.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},d.prototype.next=function(){if(!this.sliding)return this.slide("next")},d.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},d.prototype.slide=function(e,t){var n=this.$element.find(".item.active"),r=t||this.getItemForDirection(e,n),i=this.interval,a="next"==e?"left":"right",o=this;if(r.hasClass("active"))return this.sliding=!1;var s=r[0],c=f.Event("slide.bs.carousel",{relatedTarget:s,direction:a});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,i&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=f(this.$indicators.children()[this.getItemIndex(r)]);l&&l.addClass("active")}var u=f.Event("slid.bs.carousel",{relatedTarget:s,direction:a});return f.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),"object"==typeof r&&r.length&&r[0].offsetWidth,n.addClass(a),r.addClass(a),n.one("bsTransitionEnd",function(){r.removeClass([e,a].join(" ")).addClass("active"),n.removeClass(["active",a].join(" ")),o.sliding=!1,setTimeout(function(){o.$element.trigger(u)},0)}).emulateTransitionEnd(d.TRANSITION_DURATION)):(n.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(u)),i&&this.cycle(),this}};var e=f.fn.carousel;f.fn.carousel=s,f.fn.carousel.Constructor=d,f.fn.carousel.noConflict=function(){return f.fn.carousel=e,this};var t=function(e){var t=f(this),n=t.attr("href");n&&(n=n.replace(/.*(?=#[^\s]+$)/,""));var r=t.attr("data-target")||n,i=f(document).find(r);if(i.hasClass("carousel")){var a=f.extend({},i.data(),t.data()),o=t.attr("data-slide-to");o&&(a.interval=!1),s.call(i,a),o&&i.data("bs.carousel").to(o),e.preventDefault()}};f(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),f(window).on("load",function(){f('[data-ride="carousel"]').each(function(){var e=f(this);s.call(e,e.data())})})}(jQuery),function(o){"use strict";var s=function(e,t){this.$element=o(e),this.options=o.extend({},s.DEFAULTS,t),this.$trigger=o('[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()};function i(e){var t,n=e.attr("data-target")||(t=e.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return o(document).find(n)}function c(r){return this.each(function(){var e=o(this),t=e.data("bs.collapse"),n=o.extend({},s.DEFAULTS,e.data(),"object"==typeof r&&r);!t&&n.toggle&&/show|hide/.test(r)&&(n.toggle=!1),t||e.data("bs.collapse",t=new s(this,n)),"string"==typeof r&&t[r]()})}s.VERSION="3.4.1",s.TRANSITION_DURATION=350,s.DEFAULTS={toggle:!0},s.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},s.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(e=t.data("bs.collapse"))&&e.transitioning)){var n=o.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){t&&t.length&&(c.call(t,"hide"),e||t.data("bs.collapse",null));var r=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var i=function(){this.$element.removeClass("collapsing").addClass("collapse in")[r](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!o.support.transition)return i.call(this);var a=o.camelCase(["scroll",r].join("-"));this.$element.one("bsTransitionEnd",o.proxy(i,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[r](this.$element[0][a])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=o.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var t=this.dimension();this.$element[t](this.$element[t]())[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 n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!o.support.transition)return n.call(this);this.$element[t](0).one("bsTransitionEnd",o.proxy(n,this)).emulateTransitionEnd(s.TRANSITION_DURATION)}}},s.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},s.prototype.getParent=function(){return o(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(o.proxy(function(e,t){var n=o(t);this.addAriaAndCollapsedClass(i(n),n)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(e,t){var n=e.hasClass("in");e.attr("aria-expanded",n),t.toggleClass("collapsed",!n).attr("aria-expanded",n)};var e=o.fn.collapse;o.fn.collapse=c,o.fn.collapse.Constructor=s,o.fn.collapse.noConflict=function(){return o.fn.collapse=e,this},o(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var t=o(this);t.attr("data-target")||e.preventDefault();var n=i(t),r=n.data("bs.collapse")?"toggle":t.data();c.call(n,r)})}(jQuery),function(o){"use strict";var s='[data-toggle="dropdown"]',r=function(e){o(e).on("click.bs.dropdown",this.toggle)};function c(e){var t=e.attr("data-target");t||(t=(t=e.attr("href"))&&/#[A-Za-z]/.test(t)&&t.replace(/.*(?=#[^\s]*$)/,""));var n="#"!==t?o(document).find(t):null;return n&&n.length?n:e.parent()}function a(r){r&&3===r.which||(o(".dropdown-backdrop").remove(),o(s).each(function(){var e=o(this),t=c(e),n={relatedTarget:this};t.hasClass("open")&&(r&&"click"==r.type&&/input|textarea/i.test(r.target.tagName)&&o.contains(t[0],r.target)||(t.trigger(r=o.Event("hide.bs.dropdown",n)),r.isDefaultPrevented()||(e.attr("aria-expanded","false"),t.removeClass("open").trigger(o.Event("hidden.bs.dropdown",n)))))}))}r.VERSION="3.4.1",r.prototype.toggle=function(e){var t=o(this);if(!t.is(".disabled, :disabled")){var n=c(t),r=n.hasClass("open");if(a(),!r){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&o(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(o(this)).on("click",a);var i={relatedTarget:this};if(n.trigger(e=o.Event("show.bs.dropdown",i)),e.isDefaultPrevented())return;t.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(o.Event("shown.bs.dropdown",i))}return!1}},r.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var t=o(this);if(e.preventDefault(),e.stopPropagation(),!t.is(".disabled, :disabled")){var n=c(t),r=n.hasClass("open");if(!r&&27!=e.which||r&&27==e.which)return 27==e.which&&n.find(s).trigger("focus"),t.trigger("click");var i=n.find(".dropdown-menu li:not(.disabled):visible a");if(i.length){var a=i.index(e.target);38==e.which&&0<a&&a--,40==e.which&&a<i.length-1&&a++,~a||(a=0),i.eq(a).trigger("focus")}}}};var e=o.fn.dropdown;o.fn.dropdown=function(n){return this.each(function(){var e=o(this),t=e.data("bs.dropdown");t||e.data("bs.dropdown",t=new r(this)),"string"==typeof n&&t[n].call(e)})},o.fn.dropdown.Constructor=r,o.fn.dropdown.noConflict=function(){return o.fn.dropdown=e,this},o(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.bs.dropdown.data-api",s,r.prototype.toggle).on("keydown.bs.dropdown.data-api",s,r.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",r.prototype.keydown)}(jQuery),function(o){"use strict";var a=function(e,t){this.options=t,this.$body=o(document.body),this.$element=o(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,o.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function s(r,i){return this.each(function(){var e=o(this),t=e.data("bs.modal"),n=o.extend({},a.DEFAULTS,e.data(),"object"==typeof r&&r);t||e.data("bs.modal",t=new a(this,n)),"string"==typeof r?t[r](i):n.show&&t.show(i)})}a.VERSION="3.4.1",a.TRANSITION_DURATION=300,a.BACKDROP_TRANSITION_DURATION=150,a.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},a.prototype.toggle=function(e){return this.isShown?this.hide():this.show(e)},a.prototype.show=function(n){var r=this,e=o.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(e),this.isShown||e.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"]',o.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){r.$element.one("mouseup.dismiss.bs.modal",function(e){o(e.target).is(r.$element)&&(r.ignoreBackdropClick=!0)})}),this.backdrop(function(){var e=o.support.transition&&r.$element.hasClass("fade");r.$element.parent().length||r.$element.appendTo(r.$body),r.$element.show().scrollTop(0),r.adjustDialog(),e&&r.$element[0].offsetWidth,r.$element.addClass("in"),r.enforceFocus();var t=o.Event("shown.bs.modal",{relatedTarget:n});e?r.$dialog.one("bsTransitionEnd",function(){r.$element.trigger("focus").trigger(t)}).emulateTransitionEnd(a.TRANSITION_DURATION):r.$element.trigger("focus").trigger(t)}))},a.prototype.hide=function(e){e&&e.preventDefault(),e=o.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),o(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),o.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",o.proxy(this.hideModal,this)).emulateTransitionEnd(a.TRANSITION_DURATION):this.hideModal())},a.prototype.enforceFocus=function(){o(document).off("focusin.bs.modal").on("focusin.bs.modal",o.proxy(function(e){document===e.target||this.$element[0]===e.target||this.$element.has(e.target).length||this.$element.trigger("focus")},this))},a.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",o.proxy(function(e){27==e.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},a.prototype.resize=function(){this.isShown?o(window).on("resize.bs.modal",o.proxy(this.handleUpdate,this)):o(window).off("resize.bs.modal")},a.prototype.hideModal=function(){var e=this;this.$element.hide(),this.backdrop(function(){e.$body.removeClass("modal-open"),e.resetAdjustments(),e.resetScrollbar(),e.$element.trigger("hidden.bs.modal")})},a.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},a.prototype.backdrop=function(e){var t=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=o.support.transition&&n;if(this.$backdrop=o(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",o.proxy(function(e){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var i=function(){t.removeBackdrop(),e&&e()};o.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(a.BACKDROP_TRANSITION_DURATION):i()}else e&&e()},a.prototype.handleUpdate=function(){this.adjustDialog()},a.prototype.adjustDialog=function(){var e=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&e?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!e?this.scrollbarWidth:""})},a.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},a.prototype.checkScrollbar=function(){var e=window.innerWidth;if(!e){var t=document.documentElement.getBoundingClientRect();e=t.right-Math.abs(t.left)}this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},a.prototype.setScrollbar=function(){var e=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var i=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",e+i),o(this.fixedContent).each(function(e,t){var n=t.style.paddingRight,r=o(t).css("padding-right");o(t).data("padding-right",n).css("padding-right",parseFloat(r)+i+"px")}))},a.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),o(this.fixedContent).each(function(e,t){var n=o(t).data("padding-right");o(t).removeData("padding-right"),t.style.paddingRight=n||""})},a.prototype.measureScrollbar=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",this.$body.append(e);var t=e.offsetWidth-e.clientWidth;return this.$body[0].removeChild(e),t};var e=o.fn.modal;o.fn.modal=s,o.fn.modal.Constructor=a,o.fn.modal.noConflict=function(){return o.fn.modal=e,this},o(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(e){var t=o(this),n=t.attr("href"),r=t.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),i=o(document).find(r),a=i.data("bs.modal")?"toggle":o.extend({remote:!/#/.test(n)&&n},i.data(),t.data());t.is("a")&&e.preventDefault(),i.one("show.bs.modal",function(e){e.isDefaultPrevented()||i.one("hidden.bs.modal",function(){t.is(":visible")&&t.trigger("focus")})}),s.call(i,a,this)})}(jQuery),function(m){"use strict";var r=["sanitize","whiteList","sanitizeFn"],o=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],e={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},s=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,c=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function p(e,t){var n=e.nodeName.toLowerCase();if(-1!==m.inArray(n,t))return-1===m.inArray(n,o)||Boolean(e.nodeValue.match(s)||e.nodeValue.match(c));for(var r=m(t).filter(function(e,t){return t instanceof RegExp}),i=0,a=r.length;i<a;i++)if(n.match(r[i]))return!0;return!1}function i(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var r=document.implementation.createHTMLDocument("sanitization");r.body.innerHTML=e;for(var i=m.map(t,function(e,t){return t}),a=m(r.body).find("*"),o=0,s=a.length;o<s;o++){var c=a[o],l=c.nodeName.toLowerCase();if(-1!==m.inArray(l,i))for(var u=m.map(c.attributes,function(e){return e}),f=[].concat(t["*"]||[],t[l]||[]),d=0,h=u.length;d<h;d++)p(u[d],f)||c.removeAttribute(u[d].nodeName);else c.parentNode.removeChild(c)}return r.body.innerHTML}var g=function(e,t){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",e,t)};g.VERSION="3.4.1",g.TRANSITION_DURATION=150,g.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},sanitize:!0,sanitizeFn:null,whiteList:e},g.prototype.init=function(e,t,n){if(this.enabled=!0,this.type=e,this.$element=m(t),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&m(document).find(m.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},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(" "),i=r.length;i--;){var a=r[i];if("click"==a)this.$element.on("click."+this.type,this.options.selector,m.proxy(this.toggle,this));else if("manual"!=a){var o="hover"==a?"mouseenter":"focusin",s="hover"==a?"mouseleave":"focusout";this.$element.on(o+"."+this.type,this.options.selector,m.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,m.proxy(this.leave,this))}}this.options.selector?this._options=m.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},g.prototype.getDefaults=function(){return g.DEFAULTS},g.prototype.getOptions=function(e){var t=this.$element.data();for(var n in t)t.hasOwnProperty(n)&&-1!==m.inArray(n,r)&&delete t[n];return(e=m.extend({},this.getDefaults(),t,e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e.sanitize&&(e.template=i(e.template,e.whiteList,e.sanitizeFn)),e},g.prototype.getDelegateOptions=function(){var n={},r=this.getDefaults();return this._options&&m.each(this._options,function(e,t){r[e]!=t&&(n[e]=t)}),n},g.prototype.enter=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusin"==e.type?"focus":"hover"]=!0),t.tip().hasClass("in")||"in"==t.hoverState)t.hoverState="in";else{if(clearTimeout(t.timeout),t.hoverState="in",!t.options.delay||!t.options.delay.show)return t.show();t.timeout=setTimeout(function(){"in"==t.hoverState&&t.show()},t.options.delay.show)}},g.prototype.isInStateTrue=function(){for(var e in this.inState)if(this.inState[e])return!0;return!1},g.prototype.leave=function(e){var t=e instanceof this.constructor?e:m(e.currentTarget).data("bs."+this.type);if(t||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t)),e instanceof m.Event&&(t.inState["focusout"==e.type?"focus":"hover"]=!1),!t.isInStateTrue()){if(clearTimeout(t.timeout),t.hoverState="out",!t.options.delay||!t.options.delay.hide)return t.hide();t.timeout=setTimeout(function(){"out"==t.hoverState&&t.hide()},t.options.delay.hide)}},g.prototype.show=function(){var e=m.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var t=m.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!t)return;var n=this,r=this.tip(),i=this.getUID(this.type);this.setContent(),r.attr("id",i),this.$element.attr("aria-describedby",i),this.options.animation&&r.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,o=/\s?auto?\s?/i,s=o.test(a);s&&(a=a.replace(o,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?r.appendTo(m(document).find(this.options.container)):r.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var c=this.getPosition(),l=r[0].offsetWidth,u=r[0].offsetHeight;if(s){var f=a,d=this.getPosition(this.$viewport);a="bottom"==a&&c.bottom+u>d.bottom?"top":"top"==a&&c.top-u<d.top?"bottom":"right"==a&&c.right+l>d.width?"left":"left"==a&&c.left-l<d.left?"right":a,r.removeClass(f).addClass(a)}var h=this.getCalculatedOffset(a,c,l,u);this.applyPlacement(h,a);var p=function(){var e=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==e&&n.leave(n)};m.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",p).emulateTransitionEnd(g.TRANSITION_DURATION):p()}},g.prototype.applyPlacement=function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,a=parseInt(n.css("margin-top"),10),o=parseInt(n.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(o)&&(o=0),e.top+=a,e.left+=o,m.offset.setOffset(n[0],m.extend({using:function(e){n.css({top:Math.round(e.top),left:Math.round(e.left)})}},e),0),n.addClass("in");var s=n[0].offsetWidth,c=n[0].offsetHeight;"top"==t&&c!=i&&(e.top=e.top+i-c);var l=this.getViewportAdjustedDelta(t,e,s,c);l.left?e.left+=l.left:e.top+=l.top;var u=/top|bottom/.test(t),f=u?2*l.left-r+s:2*l.top-i+c,d=u?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(f,n[0][d],u)},g.prototype.replaceArrow=function(e,t,n){this.arrow().css(n?"left":"top",50*(1-e/t)+"%").css(n?"top":"left","")},g.prototype.setContent=function(){var e=this.tip(),t=this.getTitle();this.options.html?(this.options.sanitize&&(t=i(t,this.options.whiteList,this.options.sanitizeFn)),e.find(".tooltip-inner").html(t)):e.find(".tooltip-inner").text(t),e.removeClass("fade in top bottom left right")},g.prototype.hide=function(e){var t=this,n=m(this.$tip),r=m.Event("hide.bs."+this.type);function i(){"in"!=t.hoverState&&n.detach(),t.$element&&t.$element.removeAttr("aria-describedby").trigger("hidden.bs."+t.type),e&&e()}if(this.$element.trigger(r),!r.isDefaultPrevented())return n.removeClass("in"),m.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",i).emulateTransitionEnd(g.TRANSITION_DURATION):i(),this.hoverState=null,this},g.prototype.fixTitle=function(){var e=this.$element;(e.attr("title")||"string"!=typeof e.attr("data-original-title"))&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},g.prototype.hasContent=function(){return this.getTitle()},g.prototype.getPosition=function(e){var t=(e=e||this.$element)[0],n="BODY"==t.tagName,r=t.getBoundingClientRect();null==r.width&&(r=m.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var i=window.SVGElement&&t instanceof window.SVGElement,a=n?{top:0,left:0}:i?null:e.offset(),o={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},s=n?{width:m(window).width(),height:m(window).height()}:null;return m.extend({},r,o,s,a)},g.prototype.getCalculatedOffset=function(e,t,n,r){return"bottom"==e?{top:t.top+t.height,left:t.left+t.width/2-n/2}:"top"==e?{top:t.top-r,left:t.left+t.width/2-n/2}:"left"==e?{top:t.top+t.height/2-r/2,left:t.left-n}:{top:t.top+t.height/2-r/2,left:t.left+t.width}},g.prototype.getViewportAdjustedDelta=function(e,t,n,r){var i={top:0,left:0};if(!this.$viewport)return i;var a=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(e)){var s=t.top-a-o.scroll,c=t.top+a-o.scroll+r;s<o.top?i.top=o.top-s:c>o.top+o.height&&(i.top=o.top+o.height-c)}else{var l=t.left-a,u=t.left+a+n;l<o.left?i.left=o.left-l:u>o.right&&(i.left=o.left+o.width-u)}return i},g.prototype.getTitle=function(){var e=this.$element,t=this.options;return e.attr("data-original-title")||("function"==typeof t.title?t.title.call(e[0]):t.title)},g.prototype.getUID=function(e){for(;e+=~~(1e6*Math.random()),document.getElementById(e););return e},g.prototype.tip=function(){if(!this.$tip&&(this.$tip=m(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},g.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},g.prototype.enable=function(){this.enabled=!0},g.prototype.disable=function(){this.enabled=!1},g.prototype.toggleEnabled=function(){this.enabled=!this.enabled},g.prototype.toggle=function(e){var t=this;e&&((t=m(e.currentTarget).data("bs."+this.type))||(t=new this.constructor(e.currentTarget,this.getDelegateOptions()),m(e.currentTarget).data("bs."+this.type,t))),e?(t.inState.click=!t.inState.click,t.isInStateTrue()?t.enter(t):t.leave(t)):t.tip().hasClass("in")?t.leave(t):t.enter(t)},g.prototype.destroy=function(){var e=this;clearTimeout(this.timeout),this.hide(function(){e.$element.off("."+e.type).removeData("bs."+e.type),e.$tip&&e.$tip.detach(),e.$tip=null,e.$arrow=null,e.$viewport=null,e.$element=null})},g.prototype.sanitizeHtml=function(e){return i(e,this.options.whiteList,this.options.sanitizeFn)};var t=m.fn.tooltip;m.fn.tooltip=function(r){return this.each(function(){var e=m(this),t=e.data("bs.tooltip"),n="object"==typeof r&&r;!t&&/destroy|hide/.test(r)||(t||e.data("bs.tooltip",t=new g(this,n)),"string"==typeof r&&t[r]())})},m.fn.tooltip.Constructor=g,m.fn.tooltip.noConflict=function(){return m.fn.tooltip=t,this}}(jQuery),function(i){"use strict";var a=function(e,t){this.init("popover",e,t)};if(!i.fn.tooltip)throw new Error("Popover requires tooltip.js");a.VERSION="3.4.1",a.DEFAULTS=i.extend({},i.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>'}),((a.prototype=i.extend({},i.fn.tooltip.Constructor.prototype)).constructor=a).prototype.getDefaults=function(){return a.DEFAULTS},a.prototype.setContent=function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();if(this.options.html){var r=typeof n;this.options.sanitize&&(t=this.sanitizeHtml(t),"string"===r&&(n=this.sanitizeHtml(n))),e.find(".popover-title").html(t),e.find(".popover-content").children().detach().end()["string"===r?"html":"append"](n)}else e.find(".popover-title").text(t),e.find(".popover-content").children().detach().end().text(n);e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},a.prototype.hasContent=function(){return this.getTitle()||this.getContent()},a.prototype.getContent=function(){var e=this.$element,t=this.options;return e.attr("data-content")||("function"==typeof t.content?t.content.call(e[0]):t.content)},a.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var e=i.fn.popover;i.fn.popover=function(r){return this.each(function(){var e=i(this),t=e.data("bs.popover"),n="object"==typeof r&&r;!t&&/destroy|hide/.test(r)||(t||e.data("bs.popover",t=new a(this,n)),"string"==typeof r&&t[r]())})},i.fn.popover.Constructor=a,i.fn.popover.noConflict=function(){return i.fn.popover=e,this}}(jQuery),function(a){"use strict";function i(e,t){this.$body=a(document.body),this.$scrollElement=a(e).is(document.body)?a(window):a(e),this.options=a.extend({},i.DEFAULTS,t),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function t(r){return this.each(function(){var e=a(this),t=e.data("bs.scrollspy"),n="object"==typeof r&&r;t||e.data("bs.scrollspy",t=new i(this,n)),"string"==typeof r&&t[r]()})}i.VERSION="3.4.1",i.DEFAULTS={offset:10},i.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},i.prototype.refresh=function(){var e=this,r="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(r="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=a(this),t=e.data("target")||e.attr("href"),n=/^#./.test(t)&&a(t);return n&&n.length&&n.is(":visible")&&[[n[r]().top+i,t]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},i.prototype.process=function(){var e,t=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),r=this.options.offset+n-this.$scrollElement.height(),i=this.offsets,a=this.targets,o=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),r<=t)return o!=(e=a[a.length-1])&&this.activate(e);if(o&&t<i[0])return this.activeTarget=null,this.clear();for(e=i.length;e--;)o!=a[e]&&t>=i[e]&&(void 0===i[e+1]||t<i[e+1])&&this.activate(a[e])},i.prototype.activate=function(e){this.activeTarget=e,this.clear();var t=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=a(t).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},i.prototype.clear=function(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var e=a.fn.scrollspy;a.fn.scrollspy=t,a.fn.scrollspy.Constructor=i,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=e,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var e=a(this);t.call(e,e.data())})})}(jQuery),function(s){"use strict";var o=function(e){this.element=s(e)};function t(n){return this.each(function(){var e=s(this),t=e.data("bs.tab");t||e.data("bs.tab",t=new o(this)),"string"==typeof n&&t[n]()})}o.VERSION="3.4.1",o.TRANSITION_DURATION=150,o.prototype.show=function(){var e=this.element,t=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=t.find(".active:last a"),i=s.Event("hide.bs.tab",{relatedTarget:e[0]}),a=s.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(i),e.trigger(a),!a.isDefaultPrevented()&&!i.isDefaultPrevented()){var o=s(document).find(n);this.activate(e.closest("li"),t),this.activate(o,o.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},o.prototype.activate=function(e,t,n){var r=t.find("> .active"),i=n&&s.support.transition&&(r.length&&r.hasClass("fade")||!!t.find("> .fade").length);function a(){r.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),i?(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),n&&n()}r.length&&i?r.one("bsTransitionEnd",a).emulateTransitionEnd(o.TRANSITION_DURATION):a(),r.removeClass("in")};var e=s.fn.tab;s.fn.tab=t,s.fn.tab.Constructor=o,s.fn.tab.noConflict=function(){return s.fn.tab=e,this};var n=function(e){e.preventDefault(),t.call(s(this),"show")};s(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),function(c){"use strict";var l=function(e,t){this.options=c.extend({},l.DEFAULTS,t);var n=this.options.target===l.DEFAULTS.target?c(this.options.target):c(document).find(this.options.target);this.$target=n.on("scroll.bs.affix.data-api",c.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",c.proxy(this.checkPositionWithEventLoop,this)),this.$element=c(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function n(r){return this.each(function(){var e=c(this),t=e.data("bs.affix"),n="object"==typeof r&&r;t||e.data("bs.affix",t=new l(this,n)),"string"==typeof r&&t[r]()})}l.VERSION="3.4.1",l.RESET="affix affix-top affix-bottom",l.DEFAULTS={offset:0,target:window},l.prototype.getState=function(e,t,n,r){var i=this.$target.scrollTop(),a=this.$element.offset(),o=this.$target.height();if(null!=n&&"top"==this.affixed)return i<n&&"top";if("bottom"==this.affixed)return null!=n?!(i+this.unpin<=a.top)&&"bottom":!(i+o<=e-r)&&"bottom";var s=null==this.affixed,c=s?i:a.top;return null!=n&&i<=n?"top":null!=r&&e-r<=c+(s?o:t)&&"bottom"},l.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(l.RESET).addClass("affix");var e=this.$target.scrollTop(),t=this.$element.offset();return this.pinnedOffset=t.top-e},l.prototype.checkPositionWithEventLoop=function(){setTimeout(c.proxy(this.checkPosition,this),1)},l.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),t=this.options.offset,n=t.top,r=t.bottom,i=Math.max(c(document).height(),c(document.body).height());"object"!=typeof t&&(r=n=t),"function"==typeof n&&(n=t.top(this.$element)),"function"==typeof r&&(r=t.bottom(this.$element));var a=this.getState(i,e,n,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var o="affix"+(a?"-"+a:""),s=c.Event(o+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(l.RESET).addClass(o).trigger(o.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:i-e-r})}};var e=c.fn.affix;c.fn.affix=n,c.fn.affix.Constructor=l,c.fn.affix.noConflict=function(){return c.fn.affix=e,this},c(window).on("load",function(){c('[data-spy="affix"]').each(function(){var e=c(this),t=e.data();t.offset=t.offset||{},null!=t.offsetBottom&&(t.offset.bottom=t.offsetBottom),null!=t.offsetTop&&(t.offset.top=t.offsetTop),n.call(e,t)})})}(jQuery),"undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="monospaced.elastic"),angular.module("monospaced.elastic",[]).constant("msdElasticConfig",{append:""}).directive("msdElastic",["$timeout","$window","msdElasticConfig",function(T,x,k){"use strict";return{require:"ngModel",restrict:"A, C",link:function(a,e,t,n){var o=e[0],s=e;if("TEXTAREA"===o.nodeName&&x.getComputedStyle){s.css({overflow:"hidden","overflow-y":"hidden","word-wrap":"break-word"});var r=o.value;o.value="",o.value=r;var c,l,u=t.msdElastic?t.msdElastic.replace(/\\n/g,"\n"):k.append,i=angular.element(x),f="position: absolute; top: -999px; right: auto; bottom: auto;left: 0; overflow: hidden; -webkit-box-sizing: content-box;-moz-box-sizing: content-box; box-sizing: content-box;min-height: 0 !important; height: 0 !important; padding: 0;word-wrap: break-word; border: 0;",d=angular.element('<textarea aria-hidden="true" tabindex="-1" style="'+f+'"/>').data("elastic",!0),h=d[0],p=getComputedStyle(o),m=p.getPropertyValue("resize"),g="border-box"===p.getPropertyValue("box-sizing")||"border-box"===p.getPropertyValue("-moz-box-sizing")||"border-box"===p.getPropertyValue("-webkit-box-sizing")?{width:parseInt(p.getPropertyValue("border-right-width"),10)+parseInt(p.getPropertyValue("padding-right"),10)+parseInt(p.getPropertyValue("padding-left"),10)+parseInt(p.getPropertyValue("border-left-width"),10),height:parseInt(p.getPropertyValue("border-top-width"),10)+parseInt(p.getPropertyValue("padding-top"),10)+parseInt(p.getPropertyValue("padding-bottom"),10)+parseInt(p.getPropertyValue("border-bottom-width"),10)}:{width:0,height:0},_=parseInt(p.getPropertyValue("min-height"),10),b=parseInt(p.getPropertyValue("height"),10),v=Math.max(_,b)-g.height,y=parseInt(p.getPropertyValue("max-height"),10),w=["font-family","font-size","font-weight","font-style","letter-spacing","line-height","text-transform","word-spacing","text-indent"];s.data("elastic")||(y=y&&0<y?y:9e4,h.parentNode!==document.body&&angular.element(document.body).append(h),s.css({resize:"none"===m||"vertical"===m?"none":"horizontal"}).data("elastic",!0),o.oninput="onpropertychange"in o&&"oninput"in o?o.onkeyup=A:A,i.bind("resize",S),a.$watch(function(){return n.$modelValue},function(e){S()}),a.$on("elastic:adjust",function(){C(),S()}),T(A,0,!1),a.$on("$destroy",function(){d.remove(),i.unbind("resize",S)}))}function C(){var t=f;p=getComputedStyle(c=o),angular.forEach(w,function(e){t+=e+":"+p.getPropertyValue(e)+";"}),h.setAttribute("style",t)}function A(){var e,t,n,r,i;c!==o&&C(),l||(l=!0,h.value=o.value+u,h.style.overflowY=o.style.overflowY,e=""===o.style.height?"auto":parseInt(o.style.height,10),"px"===(t=getComputedStyle(o).getPropertyValue("width")).substr(t.length-2,2)&&(r=parseInt(t,10)-g.width,h.style.width=r+"px"),n=h.scrollHeight,y<n?(n=y,i="scroll"):n<v&&(n=v),n+=g.height,o.style.overflowY=i||"hidden",e!==n&&(a.$emit("elastic:resize",s,e,n),o.style.height=n+"px"),T(function(){l=!1},1,!1))}function S(){l=!1,A()}}}}]),angular.module("ui.bootstrap",["ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(h,p,m,e){var g=e.has("$animateCss")?e.get("$animateCss"):null;return{link:function(t,n,e){var r=m(e.expanding),i=m(e.expanded),a=m(e.collapsing),o=m(e.collapsed),s=!1,c={},l={};function u(e){return s?{width:e.scrollWidth+"px"}:{height:e.scrollHeight+"px"}}function f(){n.removeClass("collapsing").addClass("collapse").css(c),i(t)}function d(){n.css(l),n.removeClass("collapsing").addClass("collapse"),o(t)}!function(){l=(s=!!("horizontal"in e))?(c={width:""},{width:"0"}):(c={height:""},{height:"0"});t.$eval(e.uibCollapse)||n.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css(c)}(),t.$watch(e.uibCollapse,function(e){e?function(){if(!n.hasClass("collapse")&&!n.hasClass("in"))return d();p.resolve(a(t)).then(function(){n.css(u(n[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),g?g(n,{removeClass:"in",to:l}).start().finally(d):h.removeClass(n,"in",{to:l}).then(d)},angular.noop)}():n.hasClass("collapse")&&n.hasClass("in")||p.resolve(r(t)).then(function(){n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),g?g(n,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:u(n[0])}).start().finally(f):h.addClass(n,"in",{css:{overflow:"hidden"},to:u(n[0])}).then(f)},angular.noop)})}}}]),angular.module("ui.bootstrap.tabindex",[]).directive("uibTabindexToggle",function(){return{restrict:"A",link:function(e,t,n){n.$observe("disabled",function(e){n.$set("tabindex",e?-1:null)})}}}),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse","ui.bootstrap.tabindex"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(e,n,r){this.groups=[],this.closeOthers=function(t){(angular.isDefined(n.closeOthers)?e.$eval(n.closeOthers):r.closeOthers)&&angular.forEach(this.groups,function(e){e!==t&&(e.isOpen=!1)})},this.addGroup=function(t){var n=this;this.groups.push(t),t.$on("$destroy",function(e){n.removeGroup(t)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(t,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(t,n,e,r){n.addClass("panel"),r.addGroup(t),t.openClass=e.openClass||"panel-open",t.panelClass=e.panelClass||"panel-default",t.$watch("isOpen",function(e){n.toggleClass(t.openClass,!!e),e&&r.closeOthers(t)}),t.toggleOpen=function(e){t.isDisabled||e&&32!==e.which||(t.isOpen=!t.isOpen)};var i="accordiongroup-"+t.$id+"-"+Math.floor(1e4*Math.random());t.headingId=i+"-tab",t.panelId=i+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(e,t,n,r,i){r.setHeading(i(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){return{require:"^uibAccordionGroup",link:function(e,n,t,r){e.$watch(function(){return r[t.uibAccordionTransclude]},function(e){if(e){var t=angular.element(n[0].querySelector("uib-accordion-header,data-uib-accordion-header,x-uib-accordion-header,uib\\:accordion-header,[uib-accordion-header],[data-uib-accordion-header],[x-uib-accordion-header]"));t.html(""),t.append(e)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$element","$attrs","$interpolate","$timeout",function(e,t,n,r,i){e.closeable=!!n.close,t.addClass("alert"),n.$set("role","alert"),e.closeable&&t.addClass("alert-dismissible");var a=angular.isDefined(n.dismissOnTimeout)?r(n.dismissOnTimeout)(e.$parent):null;a&&i(function(){e.close()},parseInt(a,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/alert/alert.html"},transclude:!0,scope:{close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(s){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(t,n,r,e){var i=e[0],a=e[1],o=s(r.uibUncheckable);n.find("input").css({display:"none"}),a.$render=function(){n.toggleClass(i.activeClass,angular.equals(a.$modelValue,t.$eval(r.uibBtnRadio)))},n.on(i.toggleEvent,function(){if(!r.disabled){var e=n.hasClass(i.activeClass);e&&!angular.isDefined(r.uncheckable)||t.$apply(function(){a.$setViewValue(e?null:t.$eval(r.uibBtnRadio)),a.$render()})}}),r.uibUncheckable&&t.$watch(o,function(e){r.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(n,e,t,r){var i=r[0],a=r[1];function o(){return s(t.btnCheckboxTrue,!0)}function s(e,t){return angular.isDefined(e)?n.$eval(e):t}e.find("input").css({display:"none"}),a.$render=function(){e.toggleClass(i.activeClass,angular.equals(a.$modelValue,o()))},e.on(i.toggleEvent,function(){t.disabled||n.$apply(function(){a.$setViewValue(e.hasClass(i.activeClass)?s(t.btnCheckboxFalse,!1):o()),a.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(i,a,t,e,o){var n,r,s=this,c=s.slides=i.slides=[],l="uib-slideDirection",u=i.active,f=!1;function d(e){for(var t=0;t<c.length;t++)c[t].slide.active=t===e}function h(e){for(var t=0;t<c.length;t++)if(c[t].slide===e)return t}function p(){n&&(t.cancel(n),n=null)}function m(){p();var e=+i.interval;!isNaN(e)&&0<e&&(n=t(g,e))}function g(){var e=+i.interval;r&&!isNaN(e)&&0<e&&c.length?i.next():i.pause()}a.addClass("carousel"),s.addSlide=function(e,t){c.push({slide:e,element:t}),c.sort(function(e,t){return+e.slide.index-+t.slide.index}),(e.index===i.active||1===c.length&&!angular.isNumber(i.active))&&(i.$currentTransition&&(i.$currentTransition=null),u=e.index,i.active=e.index,d(u),s.select(c[h(e)]),1===c.length&&i.play())},s.getCurrentIndex=function(){for(var e=0;e<c.length;e++)if(c[e].slide.index===u)return e},s.next=i.next=function(){var e=(s.getCurrentIndex()+1)%c.length;if(0!==e||!i.noWrap())return s.select(c[e],"next");i.pause()},s.prev=i.prev=function(){var e=s.getCurrentIndex()-1<0?c.length-1:s.getCurrentIndex()-1;if(!i.noWrap()||e!==c.length-1)return s.select(c[e],"prev");i.pause()},s.removeSlide=function(e){var t=h(e);c.splice(t,1),0<c.length&&u===t?t>=c.length?(u=c.length-1,d(i.active=u),s.select(c[c.length-1])):(u=t,d(i.active=u),s.select(c[t])):t<u&&(u--,i.active=u),0===c.length&&(u=null,i.active=null)},s.select=i.select=function(e,t){var n=h(e.slide);void 0===t&&(t=n>s.getCurrentIndex()?"next":"prev"),e.slide.index===u||i.$currentTransition||function(e,t,n){if(f)return;if(angular.extend(e,{direction:n}),angular.extend(c[u].slide||{},{direction:n}),o.enabled(a)&&!i.$currentTransition&&c[t].element&&1<s.slides.length){c[t].element.data(l,e.direction);var r=s.getCurrentIndex();angular.isNumber(r)&&c[r].element&&c[r].element.data(l,e.direction),i.$currentTransition=!0,o.on("addClass",c[t].element,function(e,t){"close"===t&&(i.$currentTransition=null,o.off("addClass",e))})}i.active=e.index,u=e.index,d(t),m()}(e.slide,n,t)},i.indexOfSlide=function(e){return+e.slide.index},i.isActive=function(e){return i.active===e.slide.index},i.isPrevDisabled=function(){return 0===i.active&&i.noWrap()},i.isNextDisabled=function(){return i.active===c.length-1&&i.noWrap()},i.pause=function(){i.noPause||(r=!1,p())},i.play=function(){r||(r=!0,m())},a.on("mouseenter",i.pause),a.on("mouseleave",i.play),i.$on("$destroy",function(){f=!0,p()}),i.$watch("noTransition",function(e){o.enabled(a,!e)}),i.$watch("interval",m),i.$watchCollection("slides",function(e){e.length||(i.$currentTransition=null)}),i.$watch("active",function(e){if(angular.isNumber(e)&&u!==e){for(var t=0;t<c.length;t++)if(c[t].slide.index===e){e=t;break}c[e]&&(d(e),s.select(c[e]),u=e)}})}]).directive("uibCarousel",function(){return{transclude:!0,controller:"UibCarouselController",controllerAs:"carousel",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/carousel.html"},scope:{active:"=",interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",["$animate",function(i){return{require:"^uibCarousel",restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/slide.html"},scope:{actual:"=?",index:"=?"},link:function(e,t,n,r){t.addClass("item"),r.addSlide(e,t),e.$on("$destroy",function(){r.removeSlide(e)}),e.$watch("active",function(e){i[e?"addClass":"removeClass"](t,"active")})}}}]).animation(".item",["$animateCss",function(o){var s="uib-slideDirection";function c(e,t,n){e.removeClass(t),n&&n()}return{beforeAddClass:function(e,t,n){if("active"===t){var r=e.data(s),i="next"===r?"left":"right",a=c.bind(this,e,i+" "+r,n);return e.addClass(r),o(e,{addClass:i}).start().done(a),function(){!0}}n()},beforeRemoveClass:function(e,t,n){if("active"===t){var r="next"===e.data(s)?"left":"right",i=c.bind(this,e,r,n);return o(e,{addClass:r}).start().done(i),function(){!0}}n()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","dateFilter","orderByFilter","filterFilter",function(m,g,n,_,t){var b,v,y=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;function r(e){return t(v,{key:e},!0)[0]}function a(e,t,n){return function(){return e.substr(t+1,n-t-1)}}function o(e,t){for(var n=e.substr(t),r=0;r<v.length;r++)if(new RegExp("^"+v[r].key).test(n)){var i=v[r];return{endIdx:t+i.key.length,parser:i.formatter}}return{endIdx:t+1,parser:function(){return n.charAt(0)}}}function s(e){return parseInt(e,10)}function i(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function c(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function l(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset();return c(e,n*(i(t,r)-r))}this.init=function(){b=g.id,this.parsers={},this.formatters={},v=[{key:"yyyy",regex:"\\d{4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(e){e=+e,this.year=e<69?e+2e3:e+1900},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){var t=e.getMonth();return/^[0-9]$/.test(t)?n(e,"MM"):n(e,"M")}},{key:"MMMM",regex:g.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=g.DATETIME_FORMATS.MONTH.indexOf(e)},formatter:function(e){return n(e,"MMMM")}},{key:"MMM",regex:g.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=g.DATETIME_FORMATS.SHORTMONTH.indexOf(e)},formatter:function(e){return n(e,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){var t=e.getDate();return/^[1-9]$/.test(t)?n(e,"dd"):n(e,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"d")}},{key:"EEEE",regex:g.DATETIME_FORMATS.DAY.join("|"),formatter:function(e){return n(e,"EEEE")}},{key:"EEE",regex:g.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(e){return n(e,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e},formatter:function(e){return n(e,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"s")}},{key:"a",regex:g.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)},formatter:function(e){return n(e,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(e){var t=e.match(/([+-])(\d{2})(\d{2})/),n=t[1],r=t[2],i=t[3];this.hours+=s(n+r),this.minutes+=s(n+i)},formatter:function(e){return n(e,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(e){return n(e,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(e){return n(e,"w")}},{key:"GGGG",regex:g.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(e){return n(e,"GGGG")}},{key:"GGG",regex:g.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GGG")}},{key:"GG",regex:g.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GG")}},{key:"G",regex:g.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"G")}}],1<=angular.version.major&&4<angular.version.minor&&v.push({key:"LLLL",regex:g.DATETIME_FORMATS.STANDALONEMONTH.join("|"),apply:function(e){this.month=g.DATETIME_FORMATS.STANDALONEMONTH.indexOf(e)},formatter:function(e){return n(e,"LLLL")}})},this.init(),this.getParser=function(e){var t=r(e);return t&&t.apply||null},this.overrideParser=function(e,t){var n=r(e);n&&angular.isFunction(t)&&(this.parsers={},n.apply=t)}.bind(this),this.filter=function(n,e){return angular.isDate(n)&&!isNaN(n)&&e?(e=g.DATETIME_FORMATS[e]||e,g.id!==b&&this.init(),this.formatters[e]||(this.formatters[e]=function(e){for(var t,n,r=[],i=0;i<e.length;)if(angular.isNumber(n)){if("'"===e.charAt(i))(i+1>=e.length||"'"!==e.charAt(i+1))&&(r.push(a(e,n,i)),n=null);else if(i===e.length)for(;n<e.length;)t=o(e,n),r.push(t),n=t.endIdx;i++}else"'"!==e.charAt(i)?(t=o(e,i),r.push(t.parser),i=t.endIdx):(n=i,i++);return r}(e)),this.formatters[e].reduce(function(e,t){return e+t(n)},"")):""},this.parse=function(e,t,n){if(!angular.isString(e)||!t)return e;t=(t=g.DATETIME_FORMATS[t]||t).replace(y,"\\$&"),g.id!==b&&this.init(),this.parsers[t]||(this.parsers[t]=function(i){var a=[],o=i.split(""),e=i.indexOf("'");if(-1<e){var t=!1;i=i.split("");for(var n=e;n<i.length;n++)t?("'"===i[n]&&(n+1<i.length&&"'"===i[n+1]?(i[n+1]="$",o[n+1]=""):(o[n]="",t=!1)),i[n]="$"):"'"===i[n]&&(i[n]="$",t=!(o[n]=""));i=i.join("")}return angular.forEach(v,function(e){var t=i.indexOf(e.key);if(-1<t){i=i.split(""),o[t]="("+e.regex+")",i[t]="$";for(var n=t+1,r=t+e.key.length;n<r;n++)o[n]="",i[n]="$";i=i.join(""),a.push({index:t,key:e.key,apply:e.apply,matcher:e.regex})}}),{regex:new RegExp("^"+o.join("")+"$"),map:_(a,"index")}}(t));var r=this.parsers[t],i=r.regex,a=r.map,o=e.match(i),s=!1;if(o&&o.length){var c,l;c=angular.isDate(n)&&!isNaN(n.getTime())?{year:n.getFullYear(),month:n.getMonth(),date:n.getDate(),hours:n.getHours(),minutes:n.getMinutes(),seconds:n.getSeconds(),milliseconds:n.getMilliseconds()}:(n&&m.warn("dateparser:","baseDate is not a valid date"),{year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var u=1,f=o.length;u<f;u++){var d=a[u-1];"Z"===d.matcher&&(s=!0),d.apply&&d.apply.call(c,o[u])}var h=s?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,p=s?Date.prototype.setUTCHours:Date.prototype.setHours;return function(e,t,n){if(n<1)return!1;if(1===t&&28<n)return 29===n&&(e%4==0&&e%100!=0||e%400==0);return 3!==t&&5!==t&&8!==t&&10!==t||n<31}(c.year,c.month,c.date)&&(!angular.isDate(n)||isNaN(n.getTime())||s?(l=new Date(0),h.call(l,c.year,c.month,c.date),p.call(l,c.hours||0,c.minutes||0,c.seconds||0,c.milliseconds||0)):(l=new Date(n),h.call(l,c.year,c.month,c.date),p.call(l,c.hours,c.minutes,c.seconds,c.milliseconds))),l}},this.toTimezone=function(e,t){return e&&t?l(e,t):e},this.fromTimezone=function(e,t){return e&&t?l(e,t,!0):e},this.timezoneToOffset=i,this.addDateMinutes=c,this.convertTimezoneToLocal=l}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(u){var o=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,f=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(e,t){var i=[],s=[],c={},n=t.uibIsClass.match(o),l=n[2],r=n[1].split(",");return function(n,e,t){i.push(n),s.push({scope:n,element:e}),r.forEach(function(e,t){!function(e,t){var n=e.match(f),i=t.$eval(n[1]),r=n[2],a=c[e];if(!a){var o=function(n){var r=null;s.some(function(e){var t=e.scope.$eval(l);if(t===n)return r=e,!0}),a.lastActivated!==r&&(a.lastActivated&&u.removeClass(a.lastActivated.element,i),r&&u.addClass(r.element,i),a.lastActivated=r)};c[e]=a={lastActivated:null,scope:t,watchFn:o,compareWithExp:r,watcher:t.$watch(r,o)}}a.watchFn(t.$eval(r))}(e,n)}),n.$on("$destroy",a)};function a(e){var t=e.targetScope,n=i.indexOf(t);if(i.splice(n,1),s.splice(n,1),i.length){var r=i[0];angular.forEach(c,function(e){e.scope===t&&(e.watcher=r.$watch(e.compareWithExp,e.watchFn),e.scope=r)})}else c={}}}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",monthColumns:3,ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$element","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(o,e,t,n,r,i,a,s,c,l,u,f){var d=this,h={$setViewValue:angular.noop},p={},m=[];e.addClass("uib-datepicker"),t.$set("role","application"),o.datepickerOptions||(o.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","monthColumns","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(t){switch(t){case"customClass":case"dateDisabled":o[t]=o.datepickerOptions[t]||angular.noop;break;case"datepickerMode":o.datepickerMode=angular.isDefined(o.datepickerOptions.datepickerMode)?o.datepickerOptions.datepickerMode:c.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":d[t]=angular.isDefined(o.datepickerOptions[t])?r(o.datepickerOptions[t])(o.$parent):c[t];break;case"monthColumns":case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":d[t]=angular.isDefined(o.datepickerOptions[t])?o.datepickerOptions[t]:c[t];break;case"startingDay":angular.isDefined(o.datepickerOptions.startingDay)?d.startingDay=o.datepickerOptions.startingDay:angular.isNumber(c.startingDay)?d.startingDay=c.startingDay:d.startingDay=(i.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":o.$watch("datepickerOptions."+t,function(e){e?angular.isDate(e)?d[t]=f.fromTimezone(new Date(e),p.getOption("timezone")):(l&&a.warn("Literal date support has been deprecated, please switch to date object usage"),d[t]=new Date(s(e,"medium"))):d[t]=c[t]?f.fromTimezone(new Date(c[t]),p.getOption("timezone")):null,d.refreshView()});break;case"maxMode":case"minMode":o.datepickerOptions[t]?o.$watch(function(){return o.datepickerOptions[t]},function(e){d[t]=o[t]=angular.isDefined(e)?e:o.datepickerOptions[t],("minMode"===t&&d.modes.indexOf(o.datepickerOptions.datepickerMode)<d.modes.indexOf(d[t])||"maxMode"===t&&d.modes.indexOf(o.datepickerOptions.datepickerMode)>d.modes.indexOf(d[t]))&&(o.datepickerMode=d[t],o.datepickerOptions.datepickerMode=d[t])}):d[t]=o[t]=c[t]||null}}),o.uniqueId="datepicker-"+o.$id+"-"+Math.floor(1e4*Math.random()),o.disabled=angular.isDefined(t.disabled)||!1,angular.isDefined(t.ngDisabled)&&m.push(o.$parent.$watch(t.ngDisabled,function(e){o.disabled=e,d.refreshView()})),o.isActive=function(e){return 0===d.compare(e.date,d.activeDate)&&(o.activeDateId=e.uid,!0)},this.init=function(e){p=function(e){var t;if(angular.version.minor<6)(t=e.$options||o.datepickerOptions.ngModelOptions||c.ngModelOptions||{}).getOption=function(e){return t[e]};else{var n=e.$options.getOption("timezone")||(o.datepickerOptions.ngModelOptions?o.datepickerOptions.ngModelOptions.timezone:null)||(c.ngModelOptions?c.ngModelOptions.timezone:null);t=e.$options.createChild(c.ngModelOptions).createChild(o.datepickerOptions.ngModelOptions).createChild(e.$options).createChild({timezone:n})}return t}(h=e),o.datepickerOptions.initDate?(d.activeDate=f.fromTimezone(o.datepickerOptions.initDate,p.getOption("timezone"))||new Date,o.$watch("datepickerOptions.initDate",function(e){e&&(h.$isEmpty(h.$modelValue)||h.$invalid)&&(d.activeDate=f.fromTimezone(e,p.getOption("timezone")),d.refreshView())})):d.activeDate=new Date;var t=h.$modelValue?new Date(h.$modelValue):new Date;this.activeDate=isNaN(t)?f.fromTimezone(new Date,p.getOption("timezone")):f.fromTimezone(t,p.getOption("timezone")),h.$render=function(){d.render()}},this.render=function(){if(h.$viewValue){var e=new Date(h.$viewValue);!isNaN(e)?this.activeDate=f.fromTimezone(e,p.getOption("timezone")):u||a.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){o.selectedDt=null,this._refreshView(),o.activeDt&&(o.activeDateId=o.activeDt.uid);var e=h.$viewValue?new Date(h.$viewValue):null;e=f.fromTimezone(e,p.getOption("timezone")),h.$setValidity("dateDisabled",!e||this.element&&!this.isDisabled(e))}},this.createDateObject=function(e,t){var n=h.$viewValue?new Date(h.$viewValue):null;n=f.fromTimezone(n,p.getOption("timezone"));var r=new Date;r=f.fromTimezone(r,p.getOption("timezone"));var i=this.compare(e,r),a={date:e,label:f.filter(e,t),selected:n&&0===this.compare(e,n),disabled:this.isDisabled(e),past:i<0,current:0===i,future:0<i,customClass:this.customClass(e)||null};return n&&0===this.compare(e,n)&&(o.selectedDt=a),d.activeDate&&0===this.compare(a.date,d.activeDate)&&(o.activeDt=a),a},this.isDisabled=function(e){return o.disabled||this.minDate&&this.compare(e,this.minDate)<0||this.maxDate&&0<this.compare(e,this.maxDate)||o.dateDisabled&&o.dateDisabled({date:e,mode:o.datepickerMode})},this.customClass=function(e){return o.customClass({date:e,mode:o.datepickerMode})},this.split=function(e,t){for(var n=[];0<e.length;)n.push(e.splice(0,t));return n},o.select=function(e){if(o.datepickerMode===d.minMode){var t=h.$viewValue?f.fromTimezone(new Date(h.$viewValue),p.getOption("timezone")):new Date(0,0,0,0,0,0,0);t.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),t=f.toTimezone(t,p.getOption("timezone")),h.$setViewValue(t),h.$render()}else d.activeDate=e,g(d.modes[d.modes.indexOf(o.datepickerMode)-1]),o.$emit("uib:datepicker.mode");o.$broadcast("uib:datepicker.focus")},o.move=function(e){var t=d.activeDate.getFullYear()+e*(d.step.years||0),n=d.activeDate.getMonth()+e*(d.step.months||0);d.activeDate.setFullYear(t,n,1),d.refreshView()},o.toggleMode=function(e){e=e||1,o.datepickerMode===d.maxMode&&1===e||o.datepickerMode===d.minMode&&-1===e||(g(d.modes[d.modes.indexOf(o.datepickerMode)+e]),o.$emit("uib:datepicker.mode"))},o.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};function g(e){o.datepickerMode=e,o.datepickerOptions.datepickerMode=e}o.$on("uib:datepicker.focus",function(){d.element[0].focus()}),o.keydown=function(e){var t=o.keys[e.which];if(t&&!e.shiftKey&&!e.altKey&&!o.disabled)if(e.preventDefault(),d.shortcutPropagation||e.stopPropagation(),"enter"===t||"space"===t){if(d.isDisabled(d.activeDate))return;o.select(d.activeDate)}else!e.ctrlKey||"up"!==t&&"down"!==t?(d.handleKeyDown(t,e),d.refreshView()):o.toggleMode("up"===t?1:-1)},e.on("keydown",function(e){o.$apply(function(){o.keydown(e)})}),o.$on("$destroy",function(){for(;m.length;)m.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(d,e,h){var n=[31,28,31,30,31,30,31,31,30,31,30,31];function i(e,t){return 1!==t||e%4!=0||e%100==0&&e%400!=0?n[t]:29}function p(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}this.step={months:1},this.element=e,this.init=function(e){angular.extend(e,this),d.showWeeks=e.showWeeks,e.refreshView()},this.getDates=function(e,t){for(var n,r=new Array(t),i=new Date(e),a=0;a<t;)n=new Date(i),r[a++]=n,i.setDate(i.getDate()+1);return r},this._refreshView=function(){var e=this.activeDate.getFullYear(),t=this.activeDate.getMonth(),n=new Date(this.activeDate);n.setFullYear(e,t,1);var r=this.startingDay-n.getDay(),i=0<r?7-r:-r,a=new Date(n);0<i&&a.setDate(1-i);for(var o=this.getDates(a,42),s=0;s<42;s++)o[s]=angular.extend(this.createDateObject(o[s],this.formatDay),{secondary:o[s].getMonth()!==t,uid:d.uniqueId+"-"+s});d.labels=new Array(7);for(var c=0;c<7;c++)d.labels[c]={abbr:h(o[c].date,this.formatDayHeader),full:h(o[c].date,"EEEE")};if(d.title=h(this.activeDate,this.formatDayTitle),d.rows=this.split(o,7),d.showWeeks){d.weekNumbers=[];for(var l=(11-this.startingDay)%7,u=d.rows.length,f=0;f<u;f++)d.weekNumbers.push(p(d.rows[f][l].date))}},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getDate();if("left"===e)n-=1;else if("up"===e)n-=7;else if("right"===e)n+=1;else if("down"===e)n+=7;else if("pageup"===e||"pagedown"===e){var r=this.activeDate.getMonth()+("pageup"===e?-1:1);this.activeDate.setMonth(r,1),n=Math.min(i(this.activeDate.getFullYear(),this.activeDate.getMonth()),n)}else"home"===e?n=1:"end"===e&&(n=i(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(n)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(i,e,a){this.step={years:1},this.element=e,this.init=function(e){angular.extend(e,this),e.refreshView()},this._refreshView=function(){for(var e,t=new Array(12),n=this.activeDate.getFullYear(),r=0;r<12;r++)(e=new Date(this.activeDate)).setFullYear(n,r,1),t[r]=angular.extend(this.createDateObject(e,this.formatMonth),{uid:i.uniqueId+"-"+r});i.title=a(this.activeDate,this.formatMonthTitle),i.rows=this.split(t,this.monthColumns),i.yearHeaderColspan=3<this.monthColumns?this.monthColumns-2:1},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),r=new Date(t.getFullYear(),t.getMonth());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getMonth();if("left"===e)n-=1;else if("up"===e)n-=this.monthColumns;else if("right"===e)n+=1;else if("down"===e)n+=this.monthColumns;else if("pageup"===e||"pagedown"===e){var r=this.activeDate.getFullYear()+("pageup"===e?-1:1);this.activeDate.setFullYear(r)}else"home"===e?n=0:"end"===e&&(n=11);this.activeDate.setMonth(n)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(i,e,t){var a,o;function s(e){return parseInt((e-1)/o,10)*o+1}this.element=e,this.yearpickerInit=function(){a=this.yearColumns,o=this.yearRows*a,this.step={years:o}},this._refreshView=function(){for(var e,t=new Array(o),n=0,r=s(this.activeDate.getFullYear());n<o;n++)(e=new Date(this.activeDate)).setFullYear(r+n,0,1),t[n]=angular.extend(this.createDateObject(e,this.formatYear),{uid:i.uniqueId+"-"+n});i.title=[t[0].label,t[o-1].label].join(" - "),i.rows=this.split(t,a),i.columns=a},this.compare=function(e,t){return e.getFullYear()-t.getFullYear()},this.handleKeyDown=function(e,t){var n=this.activeDate.getFullYear();"left"===e?n-=1:"up"===e?n-=a:"right"===e?n+=1:"down"===e?n+=a:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*o:"home"===e?n=s(this.activeDate.getFullYear()):"end"===e&&(n=s(this.activeDate.getFullYear())+o-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],restrict:"A",controller:"UibDatepickerController",controllerAs:"datepicker",link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}).directive("uibDaypicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],restrict:"A",controller:"UibDaypickerController",link:function(e,t,n,r){var i=r[0];r[1].init(i)}}}).directive("uibMonthpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],restrict:"A",controller:"UibMonthpickerController",link:function(e,t,n,r){var i=r[0];r[1].init(i)}}}).directive("uibYearpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],restrict:"A",controller:"UibYearpickerController",link:function(e,t,n,r){var i=r[0];angular.extend(i,r[1]),i.yearpickerInit(),i.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(l,p){var r,i,u={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},m={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},o=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(e){var t,n=(e=this.getRawNode(e)).offsetParent||l[0].documentElement;for(;n&&n!==l[0].documentElement&&(t=n,"static"===(p.getComputedStyle(t).position||"static"));)n=n.offsetParent;return n||l[0].documentElement},scrollbarWidth:function(e){if(e){if(angular.isUndefined(i)){var t=l.find("body");t.addClass("uib-position-body-scrollbar-measure"),i=p.innerWidth-t[0].clientWidth,i=isFinite(i)?i:0,t.removeClass("uib-position-body-scrollbar-measure")}return i}if(angular.isUndefined(r)){var n=angular.element('<div class="uib-position-scrollbar-measure"></div>');l.find("body").append(n),r=n[0].offsetWidth-n[0].clientWidth,r=isFinite(r)?r:0,n.remove()}return r},scrollbarPadding:function(e){e=this.getRawNode(e);var t=p.getComputedStyle(e),n=this.parseStyle(t.paddingRight),r=this.parseStyle(t.paddingBottom),i=this.scrollParent(e,!1,!0),a=this.scrollbarWidth(o.test(i.tagName));return{scrollbarWidth:a,widthOverflow:i.scrollWidth>i.clientWidth,right:n+a,originalRight:n,heightOverflow:i.scrollHeight>i.clientHeight,bottom:r+a,originalBottom:r}},isScrollable:function(e,t){e=this.getRawNode(e);var n=t?u.hidden:u.normal,r=p.getComputedStyle(e);return n.test(r.overflow+r.overflowY+r.overflowX)},scrollParent:function(e,t,n){e=this.getRawNode(e);var r=t?u.hidden:u.normal,i=l[0].documentElement,a=p.getComputedStyle(e);if(n&&r.test(a.overflow+a.overflowY+a.overflowX))return e;var o="absolute"===a.position,s=e.parentElement||i;if(s===i||"fixed"===a.position)return i;for(;s.parentElement&&s!==i;){var c=p.getComputedStyle(s);if(o&&"static"!==c.position&&(o=!1),!o&&r.test(c.overflow+c.overflowY+c.overflowX))break;s=s.parentElement}return s},position:function(e,t){e=this.getRawNode(e);var n=this.offset(e);if(t){var r=p.getComputedStyle(e);n.top-=this.parseStyle(r.marginTop),n.left-=this.parseStyle(r.marginLeft)}var i=this.offsetParent(e),a={top:0,left:0};return i!==l[0].documentElement&&((a=this.offset(i)).top+=i.clientTop-i.scrollTop,a.left+=i.clientLeft-i.scrollLeft),{width:Math.round(angular.isNumber(n.width)?n.width:e.offsetWidth),height:Math.round(angular.isNumber(n.height)?n.height:e.offsetHeight),top:Math.round(n.top-a.top),left:Math.round(n.left-a.left)}},offset:function(e){var t=(e=this.getRawNode(e)).getBoundingClientRect();return{width:Math.round(angular.isNumber(t.width)?t.width:e.offsetWidth),height:Math.round(angular.isNumber(t.height)?t.height:e.offsetHeight),top:Math.round(t.top+(p.pageYOffset||l[0].documentElement.scrollTop)),left:Math.round(t.left+(p.pageXOffset||l[0].documentElement.scrollLeft))}},viewportOffset:function(e,t,n){n=!1!==n;var r=(e=this.getRawNode(e)).getBoundingClientRect(),i={top:0,left:0,bottom:0,right:0},a=t?l[0].documentElement:this.scrollParent(e),o=a.getBoundingClientRect();if(i.top=o.top+a.clientTop,i.left=o.left+a.clientLeft,a===l[0].documentElement&&(i.top+=p.pageYOffset,i.left+=p.pageXOffset),i.bottom=i.top+a.clientHeight,i.right=i.left+a.clientWidth,n){var s=p.getComputedStyle(a);i.top+=this.parseStyle(s.paddingTop),i.bottom-=this.parseStyle(s.paddingBottom),i.left+=this.parseStyle(s.paddingLeft),i.right-=this.parseStyle(s.paddingRight)}return{top:Math.round(r.top-i.top),bottom:Math.round(i.bottom-r.bottom),left:Math.round(r.left-i.left),right:Math.round(i.right-r.right)}},parsePlacement:function(e){var t=m.auto.test(e);return t&&(e=e.replace(m.auto,"")),(e=e.split("-"))[0]=e[0]||"top",m.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",m.secondary.test(e[1])||(e[1]="center"),e[2]=!!t,e},positionElements:function(e,t,n,r){e=this.getRawNode(e),t=this.getRawNode(t);var i=angular.isDefined(t.offsetWidth)?t.offsetWidth:t.prop("offsetWidth"),a=angular.isDefined(t.offsetHeight)?t.offsetHeight:t.prop("offsetHeight");n=this.parsePlacement(n);var o=r?this.offset(e):this.position(e),s={top:0,left:0,placement:""};if(n[2]){var c=this.viewportOffset(e,r),l=p.getComputedStyle(t),u=i+Math.round(Math.abs(this.parseStyle(l.marginLeft)+this.parseStyle(l.marginRight))),f=a+Math.round(Math.abs(this.parseStyle(l.marginTop)+this.parseStyle(l.marginBottom)));if(n[0]="top"===n[0]&&f>c.top&&f<=c.bottom?"bottom":"bottom"===n[0]&&f>c.bottom&&f<=c.top?"top":"left"===n[0]&&u>c.left&&u<=c.right?"right":"right"===n[0]&&u>c.right&&u<=c.left?"left":n[0],n[1]="top"===n[1]&&f-o.height>c.bottom&&f-o.height<=c.top?"bottom":"bottom"===n[1]&&f-o.height>c.top&&f-o.height<=c.bottom?"top":"left"===n[1]&&u-o.width>c.right&&u-o.width<=c.left?"right":"right"===n[1]&&u-o.width>c.left&&u-o.width<=c.right?"left":n[1],"center"===n[1])if(m.vertical.test(n[0])){var d=o.width/2-i/2;c.left+d<0&&u-o.width<=c.right?n[1]="left":c.right+d<0&&u-o.width<=c.left&&(n[1]="right")}else{var h=o.height/2-f/2;c.top+h<0&&f-o.height<=c.bottom?n[1]="top":c.bottom+h<0&&f-o.height<=c.top&&(n[1]="bottom")}}switch(n[0]){case"top":s.top=o.top-a;break;case"bottom":s.top=o.top+o.height;break;case"left":s.left=o.left-i;break;case"right":s.left=o.left+o.width}switch(n[1]){case"top":s.top=o.top;break;case"bottom":s.top=o.top+o.height-a;break;case"left":s.left=o.left;break;case"right":s.left=o.left+o.width-i;break;case"center":m.vertical.test(n[0])?s.left=o.left+o.width/2-i/2:s.top=o.top+o.height/2-a/2}return s.top=Math.round(s.top),s.left=Math.round(s.left),s.placement="center"===n[1]?n[0]:n[0]+"-"+n[1],s},adjustTop:function(e,t,n,r){if(-1!==e.indexOf("top")&&n!==r)return{top:t.top-r+"px"}},positionArrow:function(e,t){var n=(e=this.getRawNode(e)).querySelector(".tooltip-inner, .popover-inner");if(n){var r=angular.element(n).hasClass("tooltip-inner"),i=r?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(i){var a={top:"",bottom:"",left:"",right:""};if("center"!==(t=this.parsePlacement(t))[1]){var o="border-"+t[0]+"-width",s=p.getComputedStyle(i)[o],c="border-";m.vertical.test(t[0])?c+=t[0]+"-"+t[1]:c+=t[1]+"-"+t[0],c+="-radius";var l=p.getComputedStyle(r?n:e)[c];switch(t[0]){case"top":a.bottom=r?"0":"-"+s;break;case"bottom":a.top=r?"0":"-"+s;break;case"left":a.right=r?"0":"-"+s;break;case"right":a.left=r?"0":"-"+s}a[t[1]]=l,angular.element(i).css(a)}else angular.element(i).css(a)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"Clear",closeOnDateSelection:!0,closeText:"Done",currentText:"Today",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(i,a,r,t,n,e,o,s,c,l,u,f,d,h,p,m){var g,_,b,v,y,w,C,A,S,T,x,k,E,D=!1,I=[];function P(e){var t=f.parse(e,g,i.date);if(isNaN(t))for(var n=0;n<E.length;n++)if(t=f.parse(e,E[n],i.date),!isNaN(t))return t;return t}function M(e){if(angular.isNumber(e)&&(e=new Date(e)),!e)return null;if(angular.isDate(e)&&!isNaN(e))return e;if(angular.isString(e)){var t=P(e);if(!isNaN(t))return f.toTimezone(t,x.getOption("timezone"))}return x.getOption("allowInvalid")?e:void 0}function $(e,t){var n=e||t;return!r.ngRequired&&!n||(angular.isNumber(n)&&(n=new Date(n)),!n||(!(!angular.isDate(n)||isNaN(n))||!!angular.isString(n)&&!isNaN(P(n))))}function O(e){if(i.isOpen||!i.disabled){var t=k[0],n=a[0].contains(e.target),r=void 0!==t.contains&&t.contains(e.target);!i.isOpen||n||r||i.$apply(function(){i.isOpen=!1})}}function R(e){27===e.which&&i.isOpen?(e.preventDefault(),e.stopPropagation(),i.$apply(function(){i.isOpen=!1}),a[0].focus()):40!==e.which||i.isOpen||(e.preventDefault(),e.stopPropagation(),i.$apply(function(){i.isOpen=!0}))}function N(){if(i.isOpen){var e=angular.element(k[0].querySelector(".uib-datepicker-popup")),t=r.popupPlacement?r.popupPlacement:d.placement,n=l.positionElements(a,e,t,b);e.css({top:n.top+"px",left:n.left+"px"}),e.hasClass("uib-position-measure")&&e.removeClass("uib-position-measure")}}this.init=function(e){if(x=function(e){var t;angular.version.minor<6?(t=angular.isObject(e.$options)?e.$options:{timezone:null}).getOption=function(e){return t[e]}:t=e.$options;return t}(T=e),_=angular.isDefined(r.closeOnDateSelection)?i.$parent.$eval(r.closeOnDateSelection):d.closeOnDateSelection,b=angular.isDefined(r.datepickerAppendToBody)?i.$parent.$eval(r.datepickerAppendToBody):d.appendToBody,v=angular.isDefined(r.onOpenFocus)?i.$parent.$eval(r.onOpenFocus):d.onOpenFocus,y=angular.isDefined(r.datepickerPopupTemplateUrl)?r.datepickerPopupTemplateUrl:d.datepickerPopupTemplateUrl,w=angular.isDefined(r.datepickerTemplateUrl)?r.datepickerTemplateUrl:d.datepickerTemplateUrl,E=angular.isDefined(r.altInputFormats)?i.$parent.$eval(r.altInputFormats):d.altInputFormats,i.showButtonBar=angular.isDefined(r.showButtonBar)?i.$parent.$eval(r.showButtonBar):d.showButtonBar,d.html5Types[r.type]?(g=d.html5Types[r.type],D=!0):(g=r.uibDatepickerPopup||d.datepickerPopup,r.$observe("uibDatepickerPopup",function(e,t){var n=e||d.datepickerPopup;if(n!==g&&(g=n,T.$modelValue=null,!g))throw new Error("uibDatepickerPopup must have a date format specified.")})),!g)throw new Error("uibDatepickerPopup must have a date format specified.");if(D&&r.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");(C=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>")).attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":y}),(A=angular.element(C.children()[0])).attr("template-url",w),i.datepickerOptions||(i.datepickerOptions={}),D&&"month"===r.type&&(i.datepickerOptions.datepickerMode="month",i.datepickerOptions.minMode="month"),A.attr("datepicker-options","datepickerOptions"),D?T.$formatters.push(function(e){return i.date=f.fromTimezone(e,x.getOption("timezone")),e}):(T.$$parserName="date",T.$validators.date=$,T.$parsers.unshift(M),T.$formatters.push(function(e){return T.$isEmpty(e)?i.date=e:(angular.isNumber(e)&&(e=new Date(e)),i.date=f.fromTimezone(e,x.getOption("timezone")),f.filter(i.date,g))})),T.$viewChangeListeners.push(function(){i.date=P(T.$viewValue)}),a.on("keydown",R),k=t(C)(i),C.remove(),b?s.find("body").append(k):a.after(k),i.$on("$destroy",function(){for(!0===i.isOpen&&(c.$$phase||i.$apply(function(){i.isOpen=!1})),k.remove(),a.off("keydown",R),s.off("click",O),S&&S.off("scroll",N),angular.element(o).off("resize",N);I.length;)I.shift()()})},i.getText=function(e){return i[e+"Text"]||d[e+"Text"]},i.isDisabled=function(e){"today"===e&&(e=f.fromTimezone(new Date,x.getOption("timezone")));var t={};return angular.forEach(["minDate","maxDate"],function(e){i.datepickerOptions[e]?angular.isDate(i.datepickerOptions[e])?t[e]=new Date(i.datepickerOptions[e]):(m&&n.warn("Literal date support has been deprecated, please switch to date object usage"),t[e]=new Date(u(i.datepickerOptions[e],"medium"))):t[e]=null}),i.datepickerOptions&&t.minDate&&i.compare(e,t.minDate)<0||t.maxDate&&0<i.compare(e,t.maxDate)},i.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},i.dateSelection=function(e){i.date=e;var t=i.date?f.filter(i.date,g):null;a.val(t),T.$setViewValue(t),_&&(i.isOpen=!1,a[0].focus())},i.keydown=function(e){27===e.which&&(e.stopPropagation(),i.isOpen=!1,a[0].focus())},i.select=function(e,t){if(t.stopPropagation(),"today"===e){var n=new Date;angular.isDate(i.date)?(e=new Date(i.date)).setFullYear(n.getFullYear(),n.getMonth(),n.getDate()):(e=f.fromTimezone(n,x.getOption("timezone"))).setHours(0,0,0,0)}i.dateSelection(e)},i.close=function(e){e.stopPropagation(),i.isOpen=!1,a[0].focus()},i.disabled=angular.isDefined(r.disabled)||!1,r.ngDisabled&&I.push(i.$parent.$watch(e(r.ngDisabled),function(e){i.disabled=e})),i.$watch("isOpen",function(e){e?i.disabled?i.isOpen=!1:h(function(){N(),v&&i.$broadcast("uib:datepicker.focus"),s.on("click",O);var e=r.popupPlacement?r.popupPlacement:d.placement;b||l.parsePlacement(e)[2]?(S=S||angular.element(l.scrollParent(a)))&&S.on("scroll",N):S=null,angular.element(o).on("resize",N)},0,!1):(s.off("click",O),S&&S.off("scroll",N),angular.element(o).off("resize",N))}),i.$on("uib:datepicker.mode",function(){h(N,0,!1)})}]).directive("uibDatepickerPopup",function(){return{require:["ngModel","uibDatepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(e,t,n,r){var i=r[0];r[1].init(i)}}}).directive("uibDatepickerPopupWrap",function(){return{restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(a){return function(n,r){var i;return function(){var e=this,t=Array.prototype.slice.call(arguments);i&&a.cancel(i),i=a(function(){n.apply(e,t)},r)}}}]),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var i={};return{entries:function(){return Object.keys(i).map(function(e){return{key:e,value:i[e]}})},get:function(e){return i[e]},hasKey:function(e){return!!i[e]},keys:function(){return Object.keys(i)},put:function(e,t){i[e]||(i[e]=[]),i[e].push(t)},remove:function(e,t){var n=i[e];if(n){var r=n.indexOf(t);-1!==r&&n.splice(r,1),n.length||delete i[e]}}}}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.multiMap","ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope","$$multiMap",function(a,r,e){var o=null,s=e.createNew();this.isOnlyOpen=function(n,e){var t=s.get(e);if(t&&t.reduce(function(e,t){return t.scope===n?t:e},{}))return 1===t.length;return!1},this.open=function(e,t,n){if(o||a.on("click",c),o&&o!==e&&(o.isOpen=!1),o=e,n){var r=s.get(n);if(r)-1===r.map(function(e){return e.scope}).indexOf(e)&&s.put(n,{scope:e});else s.put(n,{scope:e})}},this.close=function(n,e,t){if(o===n&&(a.off("click",c),a.off("keydown",this.keybindFilter),o=null),t){var r=s.get(t);if(r){var i=r.reduce(function(e,t){return t.scope===n?t:e},{});i&&s.remove(t,i)}}};var c=function(e){if(o&&o.isOpen&&!(e&&"disabled"===o.getAutoClose()||e&&3===e.which)){var t=o.getToggleElement();if(!(e&&t&&t[0].contains(e.target))){var n=o.getDropdownElement();e&&"outsideClick"===o.getAutoClose()&&n&&n[0].contains(e.target)||(o.focusToggleElement(),o.isOpen=!1,r.$$phase||o.$apply())}}};this.keybindFilter=function(e){if(o){var t=o.getDropdownElement(),n=o.getToggleElement(),r=t&&t[0].contains(e.target),i=n&&n[0].contains(e.target);27===e.which?(e.stopPropagation(),o.focusToggleElement(),c()):o.isKeynavEnabled()&&-1!==[38,40].indexOf(e.which)&&o.isOpen&&(r||i)&&(e.preventDefault(),e.stopPropagation(),o.focusDropdownEntry(e.which))}}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(g,_,b,v,e,y,w,C,A,S,T){var x,t,k=this,E=g.$new(),D=e.appendToOpenClass,I=e.openClass,P=angular.noop,M=b.onToggle?v(b.onToggle):angular.noop,n=!1,$=A.find("body");function O(){_.append(k.dropdownMenu)}_.addClass("dropdown"),this.init=function(){b.isOpen&&(t=v(b.isOpen),P=t.assign,g.$watch(t,function(e){E.isOpen=!!e})),n=angular.isDefined(b.keyboardNav)},this.toggle=function(e){return E.isOpen=arguments.length?!!e:!E.isOpen,angular.isFunction(P)&&P(E,E.isOpen),E.isOpen},this.isOpen=function(){return E.isOpen},E.getToggleElement=function(){return k.toggleElement},E.getAutoClose=function(){return b.autoClose||"always"},E.getElement=function(){return _},E.isKeynavEnabled=function(){return n},E.focusDropdownEntry=function(e){var t=k.dropdownMenu?angular.element(k.dropdownMenu).find("a"):_.find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(k.selectedOption)?k.selectedOption=k.selectedOption===t.length-1?k.selectedOption:k.selectedOption+1:k.selectedOption=0;break;case 38:angular.isNumber(k.selectedOption)?k.selectedOption=0===k.selectedOption?0:k.selectedOption-1:k.selectedOption=t.length-1}t[k.selectedOption].focus()},E.getDropdownElement=function(){return k.dropdownMenu},E.focusToggleElement=function(){k.toggleElement&&k.toggleElement[0].focus()},E.$watch("isOpen",function(e,t){var n=null,r=!1;if(angular.isDefined(b.dropdownAppendTo)){var i=v(b.dropdownAppendTo)(E);i&&(n=angular.element(i))}angular.isDefined(b.dropdownAppendToBody)&&(!1!==v(b.dropdownAppendToBody)(E)&&(r=!0));if(r&&!n&&(n=$),n&&k.dropdownMenu&&(e?(n.append(k.dropdownMenu),_.on("$destroy",O)):(_.off("$destroy",O),O())),n&&k.dropdownMenu){var a,o,s,c=C.positionElements(_,k.dropdownMenu,"bottom-left",!0),l=0;if(a={top:c.top+"px",display:e?"block":"none"},(o=k.dropdownMenu.hasClass("dropdown-menu-right"))?(a.left="auto",(s=C.scrollbarPadding(n)).heightOverflow&&s.scrollbarWidth&&(l=s.scrollbarWidth),a.right=window.innerWidth-l-(c.left+_.prop("offsetWidth"))+"px"):(a.left=c.left+"px",a.right="auto"),!r){var u=C.offset(n);a.top=c.top-u.top+"px",o?a.right=window.innerWidth-(c.left-u.left+_.prop("offsetWidth"))+"px":a.left=c.left-u.left+"px"}k.dropdownMenu.css(a)}var f=n||_,d=n?D:I,h=f.hasClass(d),p=y.isOnlyOpen(g,n);h===!e&&w[n?p?"removeClass":"addClass":e?"addClass":"removeClass"](f,d).then(function(){angular.isDefined(e)&&e!==t&&M(g,{open:!!e})});if(e)k.dropdownMenuTemplateUrl?T(k.dropdownMenuTemplateUrl).then(function(e){x=E.$new(),S(e.trim())(x,function(e){var t=e;k.dropdownMenu.replaceWith(t),k.dropdownMenu=t,A.on("keydown",y.keybindFilter)})}):A.on("keydown",y.keybindFilter),E.focusToggleElement(),y.open(E,_,n);else{if(y.close(E,_,n),k.dropdownMenuTemplateUrl){x&&x.$destroy();var m=angular.element('<ul class="dropdown-menu"></ul>');k.dropdownMenu.replaceWith(m),k.dropdownMenu=m}k.selectedOption=null}angular.isFunction(P)&&P(g,e)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,r){r.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,r){if(r&&!angular.isDefined(n.dropdownNested)){t.addClass("dropdown-menu");var i=n.templateUrl;i&&(r.dropdownMenuTemplateUrl=i),r.dropdownMenu||(r.dropdownMenu=t)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(t,n,r,i){if(i){n.addClass("dropdown-toggle"),i.toggleElement=n;var e=function(e){e.preventDefault(),n.hasClass("disabled")||r.disabled||t.$apply(function(){i.toggle()})};n.on("click",e),n.attr({"aria-haspopup":!0,"aria-expanded":!1}),t.$watch(i.isOpen,function(e){n.attr("aria-expanded",!!e)}),t.$on("$destroy",function(){n.off("click",e)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var r=[];return{add:function(e,t){r.push({key:e,value:t})},get:function(e){for(var t=0;t<r.length;t++)if(e===r[t].key)return r[t]},keys:function(){for(var e=[],t=0;t<r.length;t++)e.push(r[t].key);return e},top:function(){return r[r.length-1]},remove:function(e){for(var t=-1,n=0;n<r.length;n++)if(e===r[n].key){t=n;break}return r.splice(t,1)[0]},removeTop:function(){return r.pop()},length:function(){return r.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]).provider("$uibResolve",function(){var e=this;this.resolver=null,this.setResolver=function(e){this.resolver=e},this.$get=["$injector","$q",function(a,o){var s=e.resolver?a.get(e.resolver):null;return{resolve:function(e,t,n,r){if(s)return s.resolve(e,t,n,r);var i=[];return angular.forEach(e,function(e){angular.isFunction(e)||angular.isArray(e)?i.push(o.resolve(a.invoke(e))):angular.isString(e)?i.push(o.resolve(a.get(e))):i.push(o.resolve(e))}),o.all(i).then(function(n){var r={},i=0;return angular.forEach(e,function(e,t){r[t]=n[i++]}),r})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(o,e,t){return{restrict:"A",compile:function(e,t){return e.addClass(t.backdropClass),n}};function n(r,i,a){a.modalInClass&&(o.addClass(i,a.modalInClass),r.$on(t.NOW_CLOSING_EVENT,function(e,t){var n=t();r.modalOptions.animation?o.removeClass(i,a.modalInClass).then(n):n()}))}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(n,a,o,s){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/modal/window.html"},link:function(t,r,i){r.addClass(i.windowTopClass||""),t.size=i.size,t.close=function(e){var t=n.getTop();t&&t.value.backdrop&&"static"!==t.value.backdrop&&e.target===e.currentTarget&&(e.preventDefault(),e.stopPropagation(),n.dismiss(t.key,"backdrop click"))},r.on("click",t.close),t.$isRendered=!0;var e=a.defer();t.$$postDigest(function(){e.resolve()}),e.promise.then(function(){var e=null;i.modalInClass&&(e=o(r,{addClass:i.modalInClass}).start(),t.$on(n.NOW_CLOSING_EVENT,function(e,t){var n=t();o(r,{removeClass:i.modalInClass}).start().then(n)})),a.when(e).then(function(){var e=n.getTop();if(e&&n.modalRendered(e.key),!s[0].activeElement||!r[0].contains(s[0].activeElement)){var t=r[0].querySelector("[autofocus]");t?t.focus():r[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(a){return{link:function(e,t,n,r,i){i(e.$parent,function(e){t.empty(),a.enter(e,t)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(c,e,l,u,f,o,t,n,d){var h,p,m,g="modal-open",_=n.createNew(),b=t.createNew(),s={NOW_CLOSING_EVENT:"modal.stack.now-closing"},v=0,y=null,w="data-bootstrap-modal-aria-hidden-count",C=/[A-Z]/g;function A(){for(var e=-1,t=_.keys(),n=0;n<t.length;n++)_.get(t[n]).value.backdrop&&(e=n);return-1<e&&e<v&&(e=v),e}function r(n,e){var r=_.get(n).value,i=r.appendTo;_.remove(n),(y=_.top())&&(v=parseInt(y.value.modalDomEl.attr("index"),10)),a(r.modalDomEl,r.modalScope,function(){var e=r.openedClass||g;b.remove(e,n);var t=b.hasKey(e);i.toggleClass(e,t),!t&&m&&m.heightOverflow&&m.scrollbarWidth&&(m.originalRight?i.css({paddingRight:m.originalRight+"px"}):i.css({paddingRight:""}),m=null),S(!0)},r.closedDeferred),function(){if(h&&-1===A()){a(h,p,function(){null}),p=h=void 0}}(),e&&e.focus?e.focus():i.focus&&i.focus()}function S(e){var t;0<_.length()&&(t=_.top().value).modalDomEl.toggleClass(t.windowTopClass||"",e)}function a(t,n,r,i){var e,a=null;return n.$broadcast(s.NOW_CLOSING_EVENT,function(){return e||(e=o.defer(),a=e.promise),function(){e.resolve()}}),o.when(a).then(function e(){if(e.done)return;e.done=!0;c.leave(t).then(function(){r&&r(),t.remove(),i&&i.resolve()});n.$destroy()})}function i(e){if(e.isDefaultPrevented())return e;var t=_.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),f.$apply(function(){s.dismiss(t.key,"escape key press")}));break;case 9:var n=s.loadFocusElementList(t),r=!1;e.shiftKey?(s.isFocusInFirstItem(e,n)||s.isModalFocused(e,t))&&(r=s.focusLastFocusableElement(n)):s.isFocusInLastItem(e,n)&&(r=s.focusFirstFocusableElement(n)),r&&(e.preventDefault(),e.stopPropagation())}}function T(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}function x(){Array.prototype.forEach.call(document.querySelectorAll("["+w+"]"),function(e){var t=parseInt(e.getAttribute(w),10)-1;e.setAttribute(w,t),t||(e.removeAttribute(w),e.removeAttribute("aria-hidden"))})}return f.$watch(A,function(e){p&&(p.index=e)}),l.on("keydown",i),f.$on("$destroy",function(){l.off("keydown",i)}),s.open=function(e,t){var n=l[0].activeElement,r=t.openedClass||g;S(!1),y=_.top(),_.add(e,{deferred:t.deferred,renderDeferred:t.renderDeferred,closedDeferred:t.closedDeferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard,openedClass:t.openedClass,windowTopClass:t.windowTopClass,animation:t.animation,appendTo:t.appendTo}),b.put(r,e);var i,a=t.appendTo,o=A();0<=o&&!h&&((p=f.$new(!0)).modalOptions=t,p.index=o,(h=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>')).attr({class:"modal-backdrop","ng-style":"{'z-index': 1040 + (index && 1 || 0) + index*10}","uib-modal-animation-class":"fade","modal-in-class":"in"}),t.backdropClass&&h.addClass(t.backdropClass),t.animation&&h.attr("modal-animation","true"),u(h)(p),c.enter(h,a),d.isScrollable(a)&&(m=d.scrollbarPadding(a)).heightOverflow&&m.scrollbarWidth&&a.css({paddingRight:m.right+"px"})),t.component?(i=document.createElement(t.component.name.replace(C,function(e,t){return(t?"-":"")+e.toLowerCase()})),(i=angular.element(i)).attr({resolve:"$resolve","modal-instance":"$uibModalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):i=t.content,v=y?parseInt(y.value.modalDomEl.attr("index"),10)+1:0;var s=angular.element('<div uib-modal-window="modal-window"></div>');s.attr({class:"modal","template-url":t.windowTemplateUrl,"window-top-class":t.windowTopClass,role:"dialog","aria-labelledby":t.ariaLabelledBy,"aria-describedby":t.ariaDescribedBy,size:t.size,index:v,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(i),t.windowClass&&s.addClass(t.windowClass),t.animation&&s.attr("modal-animation","true"),a.addClass(r),t.scope&&(t.scope.$$topModalIndex=v),c.enter(u(s)(t.scope),a),_.top().value.modalDomEl=s,_.top().value.modalOpener=n,function e(t){if(!t||"BODY"===t[0].tagName)return;n(t).forEach(function(e){var t="true"===e.getAttribute("aria-hidden"),n=parseInt(e.getAttribute(w),10);n||(n=t?1:0),e.setAttribute(w,n+1),e.setAttribute("aria-hidden","true")});return e(t.parent());function n(t){var e=t.parent()?t.parent().children():[];return Array.prototype.filter.call(e,function(e){return e!==t[0]})}}(s)},s.close=function(e,t){var n=_.get(e);return x(),n&&T(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),r(e,n.value.modalOpener),!0):!n},s.dismiss=function(e,t){var n=_.get(e);return x(),n&&T(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),r(e,n.value.modalOpener),!0):!n},s.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},s.getTop=function(){return _.top()},s.modalRendered=function(e){var t=_.get(e);t&&t.value.renderDeferred.resolve()},s.focusFirstFocusableElement=function(e){return 0<e.length&&(e[0].focus(),!0)},s.focusLastFocusableElement=function(e){return 0<e.length&&(e[e.length-1].focus(),!0)},s.isModalFocused=function(e,t){if(e&&t){var n=t.value.modalDomEl;if(n&&n.length)return(e.target||e.srcElement)===n[0]}return!1},s.isFocusInFirstItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[0]},s.isFocusInLastItem=function(e,t){return 0<t.length&&(e.target||e.srcElement)===t[t.length-1]},s.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var n=t[0].querySelectorAll("a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]");return n?Array.prototype.filter.call(n,function(e){return!!((t=e).offsetWidth||t.offsetHeight||t.getClientRects().length);var t}):n}}},s}]).provider("$uibModal",function(){var b={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(m,i,a,o,g,s,_){var e={};var c=null;return e.getPromiseChain=function(){return c},e.open=function(l){var e,t,n,u=i.defer(),f=i.defer(),d=i.defer(),h=i.defer(),p={result:u.promise,opened:f.promise,closed:d.promise,rendered:h.promise,close:function(e){return _.close(p,e)},dismiss:function(e){return _.dismiss(p,e)}};if((l=angular.extend({},b.options,l)).resolve=l.resolve||{},l.appendTo=l.appendTo||a.find("body").eq(0),!l.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");if(!l.component&&!l.template&&!l.templateUrl)throw new Error("One of component or template or templateUrl options is required.");function r(){return e}return e=l.component?i.when(s.resolve(l.resolve,{},null,null)):i.all([(t=l,t.template?i.when(t.template):o(angular.isFunction(t.templateUrl)?t.templateUrl():t.templateUrl)),s.resolve(l.resolve,{},null,null)]),n=c=i.all([c]).then(r,r).then(function(a){var e=l.scope||m,o=e.$new();o.$close=p.close,o.$dismiss=p.dismiss,o.$on("$destroy",function(){o.$$uibDestructionScheduled||o.$dismiss("$uibUnscheduledDestruction")});var t,n,r={scope:o,deferred:u,renderDeferred:h,closedDeferred:d,animation:l.animation,backdrop:l.backdrop,keyboard:l.keyboard,backdropClass:l.backdropClass,windowTopClass:l.windowTopClass,windowClass:l.windowClass,windowTemplateUrl:l.windowTemplateUrl,ariaLabelledBy:l.ariaLabelledBy,ariaDescribedBy:l.ariaDescribedBy,size:l.size,openedClass:l.openedClass,appendTo:l.appendTo},i={},s={};function c(n,e,t,r){n.$scope=o,n.$scope.$resolve={},t?n.$scope.$uibModalInstance=p:n.$uibModalInstance=p;var i=e?a[1]:a;angular.forEach(i,function(e,t){r&&(n[t]=e),n.$scope.$resolve[t]=e})}l.component?(c(i,!1,!0,!1),i.name=l.component,r.component=i):l.controller&&(c(s,!0,!1,!0),n=g(l.controller,s,!0,l.controllerAs),l.controllerAs&&l.bindToController&&((t=n.instance).$close=o.$close,t.$dismiss=o.$dismiss,angular.extend(t,{$resolve:s.$scope.$resolve},e)),t=n(),angular.isFunction(t.$onInit)&&t.$onInit()),l.component||(r.content=a[0]),_.open(p,r),f.resolve(!0)},function(e){f.reject(e),u.reject(e)}).finally(function(){c===n&&(c=null)}),p},e}]};return b}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(e){return{create:function(n,r,i){n.setNumPages=i.numPages?e(i.numPages).assign:angular.noop,n.ngModelCtrl={$setViewValue:angular.noop},n._watchers=[],n.init=function(e,t){n.ngModelCtrl=e,n.config=t,e.$render=function(){n.render()},i.itemsPerPage?n._watchers.push(r.$parent.$watch(i.itemsPerPage,function(e){n.itemsPerPage=parseInt(e,10),r.totalPages=n.calculateTotalPages(),n.updatePage()})):n.itemsPerPage=t.itemsPerPage,r.$watch("totalItems",function(e,t){(angular.isDefined(e)||e!==t)&&(r.totalPages=n.calculateTotalPages(),n.updatePage())})},n.calculateTotalPages=function(){var e=n.itemsPerPage<1?1:Math.ceil(r.totalItems/n.itemsPerPage);return Math.max(e||0,1)},n.render=function(){r.page=parseInt(n.ngModelCtrl.$viewValue,10)||1},r.selectPage=function(e,t){t&&t.preventDefault(),(!r.ngDisabled||!t)&&r.page!==e&&0<e&&e<=r.totalPages&&(t&&t.target&&t.target.blur(),n.ngModelCtrl.$setViewValue(e),n.ngModelCtrl.$render())},r.getText=function(e){return r[e+"Text"]||n.config[e+"Text"]},r.noPrevious=function(){return 1===r.page},r.noNext=function(){return r.page===r.totalPages},n.updatePage=function(){n.setNumPages(r.$parent,r.totalPages),r.page>r.totalPages?r.selectPage(r.totalPages):n.ngModelCtrl.$render()},r.$on("$destroy",function(){for(;n._watchers.length;)n._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(e,t,n,r){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):r.align,n.create(this,e,t)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(o){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],restrict:"A",controller:"UibPagerController",controllerAs:"pager",templateUrl:function(e,t){return t.templateUrl||"uib/template/pager/pager.html"},link:function(e,t,n,r){t.addClass("pager");var i=r[0],a=r[1];a&&i.init(a,o)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(t,n,e,r,i){var a=this,p=angular.isDefined(n.maxSize)?t.$parent.$eval(n.maxSize):i.maxSize,m=angular.isDefined(n.rotate)?t.$parent.$eval(n.rotate):i.rotate,g=angular.isDefined(n.forceEllipses)?t.$parent.$eval(n.forceEllipses):i.forceEllipses,_=angular.isDefined(n.boundaryLinkNumbers)?t.$parent.$eval(n.boundaryLinkNumbers):i.boundaryLinkNumbers,b=angular.isDefined(n.pageLabel)?function(e){return t.$parent.$eval(n.pageLabel,{$page:e})}:angular.identity;function v(e,t,n){return{number:e,text:t,active:n}}t.boundaryLinks=angular.isDefined(n.boundaryLinks)?t.$parent.$eval(n.boundaryLinks):i.boundaryLinks,t.directionLinks=angular.isDefined(n.directionLinks)?t.$parent.$eval(n.directionLinks):i.directionLinks,n.$set("role","menu"),r.create(this,t,n),n.maxSize&&a._watchers.push(t.$parent.$watch(e(n.maxSize),function(e){p=parseInt(e,10),a.render()}));var o=this.render;this.render=function(){o(),0<t.page&&t.page<=t.totalPages&&(t.pages=function(e,t){var n=[],r=1,i=t,a=angular.isDefined(p)&&p<t;a&&(m?t<(i=(r=Math.max(e-Math.floor(p/2),1))+p-1)&&(r=(i=t)-p+1):(r=(Math.ceil(e/p)-1)*p+1,i=Math.min(r+p-1,t)));for(var o=r;o<=i;o++){var s=v(o,b(o),o===e);n.push(s)}if(a&&0<p&&(!m||g||_)){if(1<r){if(!_||3<r){var c=v(r-1,"...",!1);n.unshift(c)}if(_){if(3===r){var l=v(2,"2",!1);n.unshift(l)}var u=v(1,"1",!1);n.unshift(u)}}if(i<t){if(!_||i<t-2){var f=v(i+1,"...",!1);n.push(f)}if(_){if(i===t-2){var d=v(t-1,t-1,!1);n.push(d)}var h=v(t,t,!1);n.push(h)}}}return n}(t.page,t.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"Previous",nextText:"Next",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("uibPagination",["$parse","uibPaginationConfig",function(e,o){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["uibPagination","?ngModel"],restrict:"A",controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"uib/template/pagination/pagination.html"},link:function(e,t,n,r){t.addClass("pagination");var i=r[0],a=r[1];a&&i.init(a,o)}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){var s={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},c={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},l={};this.options=function(e){angular.extend(l,e)},this.setTriggers=function(e){angular.extend(c,e)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(e,a,W,q,z,o,t,V,n){var Y=n.createNew();function r(e){if(27===e.which){var t=Y.top();t&&(t.value.close(),t=null)}}return q.on("keyup",r),t.$on("$destroy",function(){q.off("keyup",r)}),function(j,B,r,U){function H(e){var t=(e||U.trigger||r).split(" "),n=t.map(function(e){return c[e]||e});return{show:t,hide:n}}U=angular.extend({},s,l,U);var e=j.replace(/[A-Z]/g,function(e,t){return(t?"-":"")+e.toLowerCase()}),t=o.startSymbol(),n=o.endSymbol(),i="<div "+e+'-popup uib-title="'+t+"title"+n+'" '+(U.useContentExp?'content-exp="contentExp()" ':'content="'+t+"content"+n+'" ')+'origin-scope="origScope" class="uib-position-measure '+B+'" tooltip-animation-class="fade"uib-tooltip-classes ng-class="{ in: isOpen }" ></div>';return{compile:function(e,t){var G=a(i);return function(r,a,i,e){var o,t,n,s,c,l,u,f,d=!!angular.isDefined(U.appendToBody)&&U.appendToBody,h=H(void 0),p=angular.isDefined(i[B+"Enable"]),m=r.$new(!0),g=!1,_=!!angular.isDefined(i[B+"IsOpen"])&&V(i[B+"IsOpen"]),b=!!U.useContentExp&&V(i[j]),v=[],y=function(){o&&o.html()&&(l||(l=W(function(){var e=z.positionElements(a,o,m.placement,d),n=angular.isDefined(o.offsetHeight)?o.offsetHeight:o.prop("offsetHeight"),r=d?z.offset(a):z.position(a);o.css({top:e.top+"px",left:e.left+"px"});var i=e.placement.split("-");o.hasClass(i[0])||(o.removeClass(f.split("-")[0]),o.addClass(i[0])),o.hasClass(U.placementClassPrefix+e.placement)||(o.removeClass(U.placementClassPrefix+f),o.addClass(U.placementClassPrefix+e.placement)),u=W(function(){var e=angular.isDefined(o.offsetHeight)?o.offsetHeight:o.prop("offsetHeight"),t=z.adjustTop(i,r,n,e);t&&o.css(t),u=null},0,!1),o.hasClass("uib-position-measure")?(z.positionArrow(o,e.placement),o.removeClass("uib-position-measure")):f!==e.placement&&z.positionArrow(o,e.placement),f=e.placement,l=null},0,!1)))};function w(){m.isOpen?A():C()}function C(){p&&!r.$eval(i[B+"Enable"])||(k(),function(){m.title=i[B+"Title"],m.content=b?b(r):i[j];m.popupClass=i[B+"Class"],m.placement=angular.isDefined(i[B+"Placement"])?i[B+"Placement"]:U.placement;var e=z.parsePlacement(m.placement);f=e[1]?e[0]+"-"+e[1]:e[0];var t=parseInt(i[B+"PopupDelay"],10),n=parseInt(i[B+"PopupCloseDelay"],10);m.popupDelay=isNaN(t)?U.popupDelay:t,m.popupCloseDelay=isNaN(n)?U.popupCloseDelay:n}(),m.popupDelay?s||(s=W(S,m.popupDelay,!1)):S())}function A(){T(),m.popupCloseDelay?c||(c=W(x,m.popupCloseDelay,!1)):x()}function S(){if(T(),k(),!m.content)return angular.noop;!function(){if(o)return;t=m.$new(),o=G(t,function(e){d?q.find("body").append(e):a.after(e)}),Y.add(m,{close:x}),function(){v.length=0,b?(v.push(r.$watch(b,function(e){!(m.content=e)&&m.isOpen&&x()})),v.push(t.$watch(function(){g||(g=!0,t.$$postDigest(function(){g=!1,m&&m.isOpen&&y()}))}))):v.push(i.$observe(j,function(e){!(m.content=e)&&m.isOpen?x():y()}));v.push(i.$observe(B+"Title",function(e){m.title=e,m.isOpen&&y()})),v.push(i.$observe(B+"Placement",function(e){m.placement=e||U.placement,m.isOpen&&y()}))}()}(),m.$evalAsync(function(){D(m.isOpen=!0),y()})}function T(){s&&(W.cancel(s),s=null),l&&(W.cancel(l),l=null)}function x(){m&&m.$evalAsync(function(){m&&(D(m.isOpen=!1),m.animation?n||(n=W(E,150,!1)):E())})}function k(){c&&(W.cancel(c),c=null),n&&(W.cancel(n),n=null)}function E(){T(),k(),v.length&&(angular.forEach(v,function(e){e()}),v.length=0),o&&(o.remove(),o=null,u&&W.cancel(u)),Y.remove(m),t&&(t.$destroy(),t=null)}function D(e){_&&angular.isFunction(_.assign)&&_.assign(r,e)}function I(e){m&&m.isOpen&&o&&(a[0].contains(e.target)||o[0].contains(e.target)||A())}function P(e){27===e.which&&A()}m.origScope=r,m.isOpen=!1,m.contentExp=function(){return m.content},i.$observe("disabled",function(e){e&&T(),e&&m.isOpen&&x()}),_&&r.$watch(_,function(e){m&&!e===m.isOpen&&w()});var M,$,O,R=function(){h.show.forEach(function(e){"outsideClick"===e?a.off("click",w):(a.off(e,C),a.off(e,w)),a.off("keypress",P)}),h.hide.forEach(function(e){"outsideClick"===e?q.off("click",I):a.off(e,A)})};M=[],$=[],O=r.$eval(i[B+"Trigger"]),R(),"none"!==(h=angular.isObject(O)?(Object.keys(O).forEach(function(e){M.push(e),$.push(O[e])}),{show:M,hide:$}):H(O)).show&&h.show.forEach(function(e,t){"outsideClick"===e?(a.on("click",w),q.on("click",I)):e===h.hide[t]?a.on(e,w):e&&(a.on(e,C),a.on(h.hide[t],A)),a.on("keypress",P)});var N,L=r.$eval(i[B+"Animation"]);m.animation=angular.isDefined(L)?!!L:U.animation;var F=B+"AppendToBody";N=F in i&&void 0===i[F]||r.$eval(i[F]),d=angular.isDefined(N)?N:d,r.$on("$destroy",function(){R(),E(),m=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(f,r,d,h){return{link:function(e,a,t){var o,n,s,c=e.$eval(t.tooltipTemplateTranscludeScope),l=0,u=function(){n&&(n.remove(),n=null),o&&(o.$destroy(),o=null),s&&(f.leave(s).then(function(){n=null}),n=s,s=null)};e.$watch(r.parseAsResourceUrl(t.uibTooltipTemplateTransclude),function(r){var i=++l;r?(h(r,!0).then(function(e){if(i===l){var t=c.$new(),n=d(e)(t,function(e){u(),f.enter(e,a)});s=n,(o=t).$emit("$includeContentLoaded",r)}},function(){i===l&&(u(),e.$emit("$includeContentError",r))}),e.$emit("$includeContentRequested",r)):u()}),e.$on("$destroy",u)}}}]).directive("uibTooltipClasses",["$uibPosition",function(i){return{restrict:"A",link:function(e,t,n){if(e.placement){var r=i.parsePlacement(e.placement);t.addClass(r[0])}e.popupClass&&t.addClass(e.popupClass),e.animation&&t.addClass(n.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{restrict:"A",scope:{content:"@"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(e){return e("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{restrict:"A",scope:{contentExp:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(e){return e("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(e){return e("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{restrict:"A",scope:{uibTitle:"@",contentExp:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(e){return e("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&",uibTitle:"@"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(e){return e("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{restrict:"A",scope:{uibTitle:"@",content:"@"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(e){return e("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(e,t,n){var r=this,i=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;function a(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}this.bars=[],e.max=a(),this.addBar=function(t,e,n){i||e.css({transition:"none"}),this.bars.push(t),t.max=a(),t.title=n&&angular.isDefined(n.title)?n.title:"progressbar",t.$watch("value",function(e){t.recalculatePercentage()}),t.recalculatePercentage=function(){var e=r.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);100<e&&(t.percent-=e-100)},t.$on("$destroy",function(){e=null,r.removeBar(t)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1),this.bars.forEach(function(e){e.recalculatePercentage()})},e.$watch("maxParam",function(e){r.bars.forEach(function(e){e.max=a(),e.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(e,t,n,r){r.addBar(e,t,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(e,t,n,r){r.addBar(e,angular.element(t.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(r,i,a){var o={$setViewValue:angular.noop},n=this;this.init=function(e){(o=e).$render=this.render,o.$formatters.push(function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e}),this.stateOn=angular.isDefined(i.stateOn)?r.$parent.$eval(i.stateOn):a.stateOn,this.stateOff=angular.isDefined(i.stateOff)?r.$parent.$eval(i.stateOff):a.stateOff,this.enableReset=angular.isDefined(i.enableReset)?r.$parent.$eval(i.enableReset):a.enableReset;var t=angular.isDefined(i.titles)?r.$parent.$eval(i.titles):a.titles;this.titles=angular.isArray(t)&&0<t.length?t:a.titles;var n=angular.isDefined(i.ratingStates)?r.$parent.$eval(i.ratingStates):new Array(angular.isDefined(i.max)?r.$parent.$eval(i.max):a.max);r.range=this.buildTemplateObjects(n)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;t<n;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},r.rate=function(e){if(!r.readonly&&0<=e&&e<=r.range.length){var t=n.enableReset&&o.$viewValue===e?0:e;o.$setViewValue(t),o.$render()}},r.enter=function(e){r.readonly||(r.value=e),r.onHover({value:e})},r.reset=function(){r.value=o.$viewValue,r.onLeave()},r.onKeydown=function(e){/(37|38|39|40)/.test(e.which)&&(e.preventDefault(),e.stopPropagation(),r.rate(r.value+(38===e.which||39===e.which?1:-1)))},this.render=function(){r.value=o.$viewValue,r.title=n.getTitle(r.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],restrict:"A",scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",link:function(e,t,n,r){var i=r[0],a=r[1];i.init(a)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){var a,o,s=this;function c(e){for(var t=0;t<s.tabs.length;t++)if(s.tabs[t].index===e)return t}s.tabs=[],s.select=function(e,t){if(!o){var n=c(a),r=s.tabs[n];if(r){if(r.tab.onDeselect({$event:t,$selectedIndex:e}),t&&t.isDefaultPrevented())return;r.tab.active=!1}var i=s.tabs[e];i?(i.tab.onSelect({$event:t}),i.tab.active=!0,s.active=i.index,a=i.index):!i&&angular.isDefined(a)&&(s.active=null,a=null)}},s.addTab=function(e){if(s.tabs.push({tab:e,index:e.index}),s.tabs.sort(function(e,t){return e.index>t.index?1:e.index<t.index?-1:0}),e.index===s.active||!angular.isDefined(s.active)&&1===s.tabs.length){var t=c(e.index);s.select(t)}},s.removeTab=function(e){for(var t,n=0;n<s.tabs.length;n++)if(s.tabs[n].tab===e){t=n;break}if(s.tabs[t].index===s.active){var r=t===s.tabs.length-1?t-1:t+1%s.tabs.length;s.select(r)}s.tabs.splice(t,1)},e.$watch("tabset.active",function(e){angular.isDefined(e)&&e!==a&&s.select(c(e))}),e.$on("$destroy",function(){o=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{},bindToController:{active:"=?",type:"@"},controller:"UibTabsetController",controllerAs:"tabset",templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tabset.html"},link:function(e,t,n){e.vertical=!!angular.isDefined(n.vertical)&&e.$parent.$eval(n.vertical),e.justified=!!angular.isDefined(n.justified)&&e.$parent.$eval(n.justified)}}}).directive("uibTab",["$parse",function(a){return{require:"^uibTabset",replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tab.html"},transclude:!0,scope:{heading:"@",index:"=?",classes:"@?",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(r,e,t,i,n){r.disabled=!1,t.disable&&r.$parent.$watch(a(t.disable),function(e){r.disabled=!!e}),angular.isUndefined(t.index)&&(i.tabs&&i.tabs.length?r.index=Math.max.apply(null,i.tabs.map(function(e){return e.index}))+1:r.index=0),angular.isUndefined(t.classes)&&(r.classes=""),r.select=function(e){if(!r.disabled){for(var t,n=0;n<i.tabs.length;n++)if(i.tabs[n].tab===r){t=n;break}i.select(t,e)}},i.addTab(r),r.$on("$destroy",function(){i.removeTab(r)}),r.$transcludeFn=n}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(e,t){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}).directive("uibTabContentTransclude",function(){return{restrict:"A",require:"^uibTabset",link:function(e,n,t){var r=e.$eval(t.uibTabContentTransclude).tab;r.$transcludeFn(r.$parent,function(e){angular.forEach(e,function(e){var t;(t=e).tagName&&(t.hasAttribute("uib-tab-heading")||t.hasAttribute("data-uib-tab-heading")||t.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===t.tagName.toLowerCase()||"data-uib-tab-heading"===t.tagName.toLowerCase()||"x-uib-tab-heading"===t.tagName.toLowerCase()||"uib:tab-heading"===t.tagName.toLowerCase())?r.headingElement=e:n.append(e)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(a,e,o,t,n,r,s){var c,l,u,i=new Date,f=[],d={$setViewValue:angular.noop},h=angular.isDefined(o.meridians)?a.$parent.$eval(o.meridians):s.meridians||r.DATETIME_FORMATS.AMPMS,p=!angular.isDefined(o.padHours)||a.$parent.$eval(o.padHours);a.tabindex=angular.isDefined(o.tabindex)?o.tabindex:0,e.removeAttr("tabindex"),this.init=function(e,t){(d=e).$render=this.render,d.$formatters.unshift(function(e){return e?new Date(e):null});var n=t.eq(0),r=t.eq(1),i=t.eq(2);c=n.controller("ngModel"),l=r.controller("ngModel"),u=i.controller("ngModel"),(angular.isDefined(o.mousewheel)?a.$parent.$eval(o.mousewheel):s.mousewheel)&&this.setupMousewheelEvents(n,r,i),(angular.isDefined(o.arrowkeys)?a.$parent.$eval(o.arrowkeys):s.arrowkeys)&&this.setupArrowkeyEvents(n,r,i),a.readonlyInput=angular.isDefined(o.readonlyInput)?a.$parent.$eval(o.readonlyInput):s.readonlyInput,this.setupInputEvents(n,r,i)};var m=s.hourStep;o.hourStep&&f.push(a.$parent.$watch(t(o.hourStep),function(e){m=+e}));var g,_,b=s.minuteStep;o.minuteStep&&f.push(a.$parent.$watch(t(o.minuteStep),function(e){b=+e})),f.push(a.$parent.$watch(t(o.min),function(e){var t=new Date(e);g=isNaN(t)?void 0:t})),f.push(a.$parent.$watch(t(o.max),function(e){var t=new Date(e);_=isNaN(t)?void 0:t}));var v=!1;o.ngDisabled&&f.push(a.$parent.$watch(t(o.ngDisabled),function(e){v=e})),a.noIncrementHours=function(){var e=E(i,60*m);return v||_<e||e<i&&e<g},a.noDecrementHours=function(){var e=E(i,60*-m);return v||e<g||i<e&&_<e},a.noIncrementMinutes=function(){var e=E(i,b);return v||_<e||e<i&&e<g},a.noDecrementMinutes=function(){var e=E(i,-b);return v||e<g||i<e&&_<e},a.noIncrementSeconds=function(){var e=D(i,y);return v||_<e||e<i&&e<g},a.noDecrementSeconds=function(){var e=D(i,-y);return v||e<g||i<e&&_<e},a.noToggleMeridian=function(){return i.getHours()<12?v||E(i,720)>_:v||E(i,-720)<g};var y=s.secondStep;function w(){var e=+a.hours;if((a.showMeridian?0<e&&e<13:0<=e&&e<24)&&""!==a.hours)return a.showMeridian&&(12===e&&(e=0),a.meridian===h[1]&&(e+=12)),e}function C(){var e=+a.minutes;if(0<=e&&e<60&&""!==a.minutes)return e}function A(e,t){return null===e?"":angular.isDefined(e)&&e.toString().length<2&&!t?"0"+e:e.toString()}function S(e){T(),d.$setViewValue(new Date(i)),x(e)}function T(){c&&c.$setValidity("hours",!0),l&&l.$setValidity("minutes",!0),u&&u.$setValidity("seconds",!0),d.$setValidity("time",!0),a.invalidHours=!1,a.invalidMinutes=!1,a.invalidSeconds=!1}function x(e){if(d.$modelValue){var t=i.getHours(),n=i.getMinutes(),r=i.getSeconds();a.showMeridian&&(t=0===t||12===t?12:t%12),a.hours="h"===e?t:A(t,!p),"m"!==e&&(a.minutes=A(n)),a.meridian=i.getHours()<12?h[0]:h[1],"s"!==e&&(a.seconds=A(r)),a.meridian=i.getHours()<12?h[0]:h[1]}else a.hours=null,a.minutes=null,a.seconds=null,a.meridian=h[0]}function k(e){i=D(i,e),S()}function E(e,t){return D(e,60*t)}function D(e,t){var n=new Date(e.getTime()+1e3*t),r=new Date(e);return r.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),r}function I(){return(null===a.hours||""===a.hours)&&(null===a.minutes||""===a.minutes)&&(!a.showSeconds||a.showSeconds&&(null===a.seconds||""===a.seconds))}o.secondStep&&f.push(a.$parent.$watch(t(o.secondStep),function(e){y=+e})),a.showSeconds=s.showSeconds,o.showSeconds&&f.push(a.$parent.$watch(t(o.showSeconds),function(e){a.showSeconds=!!e})),a.showMeridian=s.showMeridian,o.showMeridian&&f.push(a.$parent.$watch(t(o.showMeridian),function(e){if(a.showMeridian=!!e,d.$error.time){var t=w(),n=C();angular.isDefined(t)&&angular.isDefined(n)&&(i.setHours(t),S())}else x()})),this.setupMousewheelEvents=function(e,t,n){var r=function(e){e.originalEvent&&(e=e.originalEvent);var t=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||0<t};e.on("mousewheel wheel",function(e){v||a.$apply(r(e)?a.incrementHours():a.decrementHours()),e.preventDefault()}),t.on("mousewheel wheel",function(e){v||a.$apply(r(e)?a.incrementMinutes():a.decrementMinutes()),e.preventDefault()}),n.on("mousewheel wheel",function(e){v||a.$apply(r(e)?a.incrementSeconds():a.decrementSeconds()),e.preventDefault()})},this.setupArrowkeyEvents=function(e,t,n){e.on("keydown",function(e){v||(38===e.which?(e.preventDefault(),a.incrementHours(),a.$apply()):40===e.which&&(e.preventDefault(),a.decrementHours(),a.$apply()))}),t.on("keydown",function(e){v||(38===e.which?(e.preventDefault(),a.incrementMinutes(),a.$apply()):40===e.which&&(e.preventDefault(),a.decrementMinutes(),a.$apply()))}),n.on("keydown",function(e){v||(38===e.which?(e.preventDefault(),a.incrementSeconds(),a.$apply()):40===e.which&&(e.preventDefault(),a.decrementSeconds(),a.$apply()))})},this.setupInputEvents=function(e,t,n){if(a.readonlyInput)return a.updateHours=angular.noop,a.updateMinutes=angular.noop,void(a.updateSeconds=angular.noop);var r=function(e,t,n){d.$setViewValue(null),d.$setValidity("time",!1),angular.isDefined(e)&&(a.invalidHours=e,c&&c.$setValidity("hours",!1)),angular.isDefined(t)&&(a.invalidMinutes=t,l&&l.$setValidity("minutes",!1)),angular.isDefined(n)&&(a.invalidSeconds=n,u&&u.$setValidity("seconds",!1))};a.updateHours=function(){var e=w(),t=C();d.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(i.setHours(e),i.setMinutes(t),i<g||_<i?r(!0):S("h")):r(!0)},e.on("blur",function(e){d.$setTouched(),I()?T():null===a.hours||""===a.hours?r(!0):!a.invalidHours&&a.hours<10&&a.$apply(function(){a.hours=A(a.hours,!p)})}),a.updateMinutes=function(){var e=C(),t=w();d.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(i.setHours(t),i.setMinutes(e),i<g||_<i?r(void 0,!0):S("m")):r(void 0,!0)},t.on("blur",function(e){d.$setTouched(),I()?T():null===a.minutes?r(void 0,!0):!a.invalidMinutes&&a.minutes<10&&a.$apply(function(){a.minutes=A(a.minutes)})}),a.updateSeconds=function(){var e,t=0<=(e=+a.seconds)&&e<60?e:void 0;d.$setDirty(),angular.isDefined(t)?(i.setSeconds(t),S("s")):r(void 0,void 0,!0)},n.on("blur",function(e){I()?T():!a.invalidSeconds&&a.seconds<10&&a.$apply(function(){a.seconds=A(a.seconds)})})},this.render=function(){var e=d.$viewValue;isNaN(e)?(d.$setValidity("time",!1),n.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(e&&(i=e),i<g||_<i?(d.$setValidity("time",!1),a.invalidHours=!0,a.invalidMinutes=!0):T(),x())},a.showSpinners=angular.isDefined(o.showSpinners)?a.$parent.$eval(o.showSpinners):s.showSpinners,a.incrementHours=function(){a.noIncrementHours()||k(60*m*60)},a.decrementHours=function(){a.noDecrementHours()||k(60*-m*60)},a.incrementMinutes=function(){a.noIncrementMinutes()||k(60*b)},a.decrementMinutes=function(){a.noDecrementMinutes()||k(60*-b)},a.incrementSeconds=function(){a.noIncrementSeconds()||k(y)},a.decrementSeconds=function(){a.noDecrementSeconds()||k(-y)},a.toggleMeridian=function(){var e=C(),t=w();a.noToggleMeridian()||(angular.isDefined(e)&&angular.isDefined(t)?k(720*(i.getHours()<12?60:-60)):a.meridian=a.meridian===h[0]?h[1]:h[0])},a.blur=function(){d.$setTouched()},a.$on("$destroy",function(){for(;f.length;)f.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(n){return{require:["uibTimepicker","?^ngModel"],restrict:"A",controller:"UibTimepickerController",controllerAs:"timepicker",scope:{},templateUrl:function(e,t){return t.templateUrl||n.templateUrl},link:function(e,t,n,r){var i=r[0],a=r[1];a&&i.init(a,t.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(n){var r=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(e){var t=e.match(r);if(!t)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+e+'".');return{itemName:t[3],source:n(t[4]),viewMapper:n(t[2]||t[1]),modelMapper:n(t[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(l,u,s,e,t,n,c,r,i,a,f,o,d){var h,p,m=[9,13,27,38,40],g=l.$eval(s.typeaheadMinLength);g||0===g||(g=1),l.$watch(s.typeaheadMinLength,function(e){g=e||0===e?e:1});var _=l.$eval(s.typeaheadWaitMs)||0,b=!1!==l.$eval(s.typeaheadEditable);l.$watch(s.typeaheadEditable,function(e){b=!1!==e});var v,y,w=t(s.typeaheadLoading).assign||angular.noop,C=s.typeaheadShouldSelect?t(s.typeaheadShouldSelect):function(e,t){var n=t.$event;return 13===n.which||9===n.which},A=t(s.typeaheadOnSelect),S=!!angular.isDefined(s.typeaheadSelectOnBlur)&&l.$eval(s.typeaheadSelectOnBlur),T=t(s.typeaheadNoResults).assign||angular.noop,x=s.typeaheadInputFormatter?t(s.typeaheadInputFormatter):void 0,k=!!s.typeaheadAppendToBody&&l.$eval(s.typeaheadAppendToBody),E=s.typeaheadAppendTo?l.$eval(s.typeaheadAppendTo):null,D=!1!==l.$eval(s.typeaheadFocusFirst),I=!!s.typeaheadSelectOnExact&&l.$eval(s.typeaheadSelectOnExact),P=t(s.typeaheadIsOpen).assign||angular.noop,M=l.$eval(s.typeaheadShowHint)||!1,$=t(s.ngModel),O=t(s.ngModel+"($$$p)"),R=d.parse(s.uibTypeahead),N=l.$new(),L=l.$on("$destroy",function(){N.$destroy()});N.$on("$destroy",L);var F,G,j="typeahead-"+N.$id+"-"+Math.floor(1e4*Math.random());u.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":j}),M&&((F=angular.element("<div></div>")).css("position","relative"),u.after(F),(G=u.clone()).attr("placeholder",""),G.attr("tabindex","-1"),G.val(""),G.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),u.css({position:"relative","vertical-align":"top","background-color":"transparent"}),G.attr("id")&&G.removeAttr("id"),F.append(G),G.after(u));var B=angular.element("<div uib-typeahead-popup></div>");B.attr({id:j,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(s.typeaheadTemplateUrl)&&B.attr("template-url",s.typeaheadTemplateUrl),angular.isDefined(s.typeaheadPopupTemplateUrl)&&B.attr("popup-template-url",s.typeaheadPopupTemplateUrl);var U=function(){N.matches=[],N.activeIdx=-1,u.attr("aria-expanded",!1),M&&G.val("")},H=function(e){return j+"-option-"+e};N.$watch("activeIdx",function(e){e<0?u.removeAttr("aria-activedescendant"):u.attr("aria-activedescendant",H(e))});var W=function(o,s){var c={$viewValue:o};w(l,!0),T(l,!1),n.when(R.source(l,c)).then(function(e){var t,n,r=o===h.$viewValue;if(r&&v)if(e&&0<e.length){N.activeIdx=D?0:-1,T(l,!1);for(var i=N.matches.length=0;i<e.length;i++)c[R.itemName]=e[i],N.matches.push({id:H(i),label:R.viewMapper(N,c),model:e[i]});if(N.query=o,Y(),u.attr("aria-expanded",!0),I&&1===N.matches.length&&(t=o,n=0,N.matches.length>n&&t&&t.toUpperCase()===N.matches[n].label.toUpperCase())&&(angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?f(function(){N.select(0,s)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate.default):N.select(0,s)),M){var a=N.matches[0].label;angular.isString(o)&&0<o.length&&a.slice(0,o.length).toUpperCase()===o.toUpperCase()?G.val(o+a.slice(o.length)):G.val("")}}else U(),T(l,!0);r&&w(l,!1)},function(){U(),w(l,!1),T(l,!0)})};k&&(angular.element(i).on("resize",V),r.find("body").on("scroll",V));var q,z=f(function(){N.matches.length&&Y(),N.moveInProgress=!1},200);function V(){N.moveInProgress||(N.moveInProgress=!0,N.$digest()),z()}function Y(){N.position=k?o.offset(u):o.position(u),N.position.top+=u.prop("offsetHeight")}N.moveInProgress=!1,N.query=void 0;var K=function(){q&&c.cancel(q)};U(),N.assignIsOpen=function(e){P(l,e)},N.select=function(e,t){var n,r,i,a,o={};y=!0,o[R.itemName]=r=N.matches[e].model,n=R.modelMapper(l,o),i=l,a=n,angular.isFunction($(l))&&p.getOption("getterSetter")?O(i,{$$$p:a}):$.assign(i,a),h.$setValidity("editable",!0),h.$setValidity("parse",!0),A(l,{$item:r,$model:n,$label:R.viewMapper(l,o),$event:t}),U(),!1!==N.$eval(s.typeaheadFocusOnSelect)&&c(function(){u[0].focus()},0,!1)},u.on("keydown",function(e){if(0!==N.matches.length&&-1!==m.indexOf(e.which)){var t,n=C(l,{$event:e});if(-1===N.activeIdx&&n||9===e.which&&e.shiftKey)return U(),void N.$digest();switch(e.preventDefault(),e.which){case 27:e.stopPropagation(),U(),l.$digest();break;case 38:N.activeIdx=(0<N.activeIdx?N.activeIdx:N.matches.length)-1,N.$digest(),(t=B[0].querySelectorAll(".uib-typeahead-match")[N.activeIdx]).parentNode.scrollTop=t.offsetTop;break;case 40:N.activeIdx=(N.activeIdx+1)%N.matches.length,N.$digest(),(t=B[0].querySelectorAll(".uib-typeahead-match")[N.activeIdx]).parentNode.scrollTop=t.offsetTop;break;default:n&&N.$apply(function(){angular.isNumber(N.debounceUpdate)||angular.isObject(N.debounceUpdate)?f(function(){N.select(N.activeIdx,e)},angular.isNumber(N.debounceUpdate)?N.debounceUpdate:N.debounceUpdate.default):N.select(N.activeIdx,e)})}}}),u.on("focus",function(e){v=!0,0!==g||h.$viewValue||c(function(){W(h.$viewValue,e)},0)}),u.on("blur",function(e){S&&N.matches.length&&-1!==N.activeIdx&&!y&&(y=!0,N.$apply(function(){angular.isObject(N.debounceUpdate)&&angular.isNumber(N.debounceUpdate.blur)?f(function(){N.select(N.activeIdx,e)},N.debounceUpdate.blur):N.select(N.activeIdx,e)})),!b&&h.$error.editable&&(h.$setViewValue(),N.$apply(function(){h.$setValidity("editable",!0),h.$setValidity("parse",!0)}),u.val("")),y=v=!1});var Q=function(e){u[0]!==e.target&&3!==e.which&&0!==N.matches.length&&(U(),a.$$phase||l.$digest())};r.on("click",Q),l.$on("$destroy",function(){r.off("click",Q),(k||E)&&X.remove(),k&&(angular.element(i).off("resize",V),r.find("body").off("scroll",V)),B.remove(),M&&F.remove()});var X=e(B)(N);k?r.find("body").append(X):E?angular.element(E).eq(0).append(X):u.after(X),this.init=function(e){p=function(e){var t;angular.version.minor<6?(t=e.$options||{}).getOption=function(e){return t[e]}:t=e.$options;return t}(h=e),N.debounceUpdate=t(p.getOption("debounce"))(l),h.$parsers.unshift(function(e){var t;return v=!0,0===g||e&&e.length>=g?0<_?(K(),t=e,q=c(function(){W(t)},_)):W(e):(w(l,!1),K(),U()),b?e:e?void h.$setValidity("editable",!1):(h.$setValidity("editable",!0),null)}),h.$formatters.push(function(e){var t,n={};return b||h.$setValidity("editable",!0),x?(n.$model=e,x(l,n)):(n[R.itemName]=e,t=R.viewMapper(l,n),n[R.itemName]=void 0,t!==R.viewMapper(l,n)?t:e)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","uibTypeahead"],link:function(e,t,n,r){r[1].init(r[0])}}}).directive("uibTypeaheadPopup",["$$debounce",function(i){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(r,e,t){r.templateUrl=t.templateUrl,r.isOpen=function(){var e=0<r.matches.length;return r.assignIsOpen({isOpen:e}),e},r.isActive=function(e){return r.active===e},r.selectActive=function(e){r.active=e},r.selectMatch=function(e,t){var n=r.debounce();angular.isNumber(n)||angular.isObject(n)?i(function(){r.select({activeIdx:e,evt:t})},angular.isNumber(n)?n:n.default):r.select({activeIdx:e,evt:t})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(i,a,o){return{scope:{index:"=",match:"=",query:"="},link:function(n,r,e){var t=o(e.templateUrl)(n.$parent)||"uib/template/typeahead/typeahead-match.html";i(t).then(function(e){var t=angular.element(e.trim());r.replaceWith(t),a(t)(n)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(n,e,r){var i;return i=e.has("$sanitize"),function(e,t){return!i&&/<.*>/g.test(e)&&r.warn("Unsafe use of typeahead please use ngSanitize"),e=t?(""+e).replace(new RegExp(t.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"gi"),"<strong>$&</strong>"):e,i||(e=n.trustAsHtml(e)),e}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion-group.html",'<div role="tab" id="{{::headingId}}" aria-selected="{{isOpen}}" class="panel-heading" ng-keypress="toggleOpen($event)">\n <h4 class="panel-title">\n <a role="button" data-toggle="collapse" href aria-expanded="{{isOpen}}" aria-controls="{{::panelId}}" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading" ng-disabled="isDisabled" uib-tabindex-toggle><span uib-accordion-header ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n </h4>\n</div>\n<div id="{{::panelId}}" aria-labelledby="{{::headingId}}" aria-hidden="{{!isOpen}}" role="tabpanel" class="panel-collapse collapse" uib-collapse="!isOpen">\n <div class="panel-body" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion.html",'<div role="tablist" class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("uib/template/alert/alert.html",'<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n <span aria-hidden="true">×</span>\n <span class="sr-only">Close</span>\n</button>\n<div ng-transclude></div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/carousel.html",'<div class="carousel-inner" ng-transclude></div>\n<a role="button" href class="left carousel-control" ng-click="prev()" ng-class="{ disabled: isPrevDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n <span class="sr-only">previous</span>\n</a>\n<a role="button" href class="right carousel-control" ng-click="next()" ng-class="{ disabled: isNextDisabled() }" ng-show="slides.length > 1">\n <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n <span class="sr-only">next</span>\n</a>\n<ol class="carousel-indicators" ng-show="slides.length > 1">\n <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n </li>\n</ol>\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/slide.html",'<div class="text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/datepicker.html",'<div ng-switch="datepickerMode">\n <div uib-daypicker ng-switch-when="day" tabindex="0" class="uib-daypicker"></div>\n <div uib-monthpicker ng-switch-when="month" tabindex="0" class="uib-monthpicker"></div>\n <div uib-yearpicker ng-switch-when="year" tabindex="0" class="uib-yearpicker"></div>\n</div>\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n </tr>\n <tr>\n <th ng-if="showWeeks" class="text-center"></th>\n <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-weeks" ng-repeat="row in rows track by $index" role="row">\n <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default btn-sm"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::yearHeaderColspan}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></i></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-months" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n <thead>\n <tr>\n <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n </tr>\n </thead>\n <tbody>\n <tr class="uib-years" ng-repeat="row in rows track by $index" role="row">\n <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n id="{{::dt.uid}}"\n ng-class="::dt.customClass">\n <button type="button" class="btn btn-default"\n uib-is-class="\n \'btn-info\' for selectedDt,\n \'active\' for activeDt\n on dt"\n ng-click="select(dt.date)"\n ng-disabled="::dt.disabled"\n tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n </td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepickerPopup/popup.html",'<ul role="presentation" class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n <li ng-transclude></li>\n <li ng-if="showButtonBar" class="uib-button-bar">\n <span class="btn-group pull-left">\n <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n </span>\n <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n </li>\n</ul>\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/window.html","<div class=\"modal-dialog {{size ? 'modal-' + size : ''}}\"><div class=\"modal-content\" uib-modal-transclude></div></div>\n")}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(e){e.put("uib/template/pager/pager.html",'<li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("uib/template/pagination/pagination.html",'<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'first\')}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li role="menuitem" ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)" ng-disabled="ngDisabled&&!page.active" uib-tabindex-toggle>{{page.text}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'last\')}}</a></li>\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind="content"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-html.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-template.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content"\n uib-tooltip-template-transclude="contentExp()"\n tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n <div class="popover-content" ng-bind="content"></div>\n</div>\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progressbar.html",'<div class="progress">\n <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("uib/template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}" aria-valuetext="{{title}}">\n <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}"></i>\n</span>\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tab.html",'<li ng-class="[{active: active, disabled: disabled}, classes]" class="uib-tab nav-item">\n <a href ng-click="select($event)" class="nav-link" uib-tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tabset.html",'<div>\n <ul class="nav nav-{{tabset.type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n <div class="tab-content">\n <div class="tab-pane"\n ng-repeat="tab in tabset.tabs"\n ng-class="{active: tabset.active === tab.index}"\n uib-tab-content-transclude="tab">\n </div>\n </div>\n</div>\n')}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n <tbody>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td> </td>\n <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n <tr>\n <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n <input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n </td>\n <td class="uib-separator">:</td>\n <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n <input type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n </td>\n <td ng-show="showSeconds" class="uib-separator">:</td>\n <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n <input type="text" placeholder="SS" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n </td>\n <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n </tr>\n <tr class="text-center" ng-show="::showSpinners">\n <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td> </td>\n <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showSeconds"> </td>\n <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n <td ng-show="showMeridian"></td>\n </tr>\n </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-match.html",'<a href\n tabindex="-1"\n ng-bind-html="match.label | uibTypeaheadHighlight:query"\n ng-attr-title="{{match.label}}"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" role="listbox" aria-hidden="{{!isOpen()}}">\n <li class="uib-typeahead-match" ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}</style>'),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}</style>'),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}</style>'),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}</style>'),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-time input{width:50px;}</style>'),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-typeahead-popup].dropdown-menu{display:block;}</style>'),angular.$$uibTypeaheadCss=!0}),angular.module("mwFormUtils",["mwFormUtils.responseUtils"]),angular.module("mwFormUtils.responseUtils",[]).factory("mwFormResponseUtils",function(){var f={},n=["text","textarea","number","date","time","email","range","url","star"];return f.$getObjectByIdMap=function(e,n){var r={};return e&&e.forEach(function(e){var t=e;n&&(t=n(e)),r[e.id]=t}),r},f.$getOfferedAnswerByIdMap=function(e){return f.$getObjectByIdMap(e.offeredAnswers,function(e){return{id:e.id,value:e.value}})},f.$extractResponseForQuestionWithOfferedAnswers=function(e,t){var n=f.$getOfferedAnswerByIdMap(e),r={};return t.selectedAnswers?(r.selectedAnswers=[],t.selectedAnswers.forEach(function(e){r.selectedAnswers.push(n[e])})):t.selectedAnswer&&(r.selectedAnswer=n[t.selectedAnswer]),t.other&&(r.other=t.other),r},f.$extractResponseForPriorityQuestion=function(e,t){var n=[];if(!t.priorityList)return n;var r=f.$getObjectByIdMap(e.priorityList);return t.priorityList.forEach(function(e){var t=r[e.id];n.push({id:t.id,value:t.value,priority:e.priority})}),n},f.$extractResponseForDivisionQuestion=function(e,r){var i=[],a=f.$getObjectByIdMap(e.divisionList);return Object.getOwnPropertyNames(r).forEach(function(e){var t=r[e],n=a[e];n&&i.push({id:n.id,label:n.value,value:t})}),i},f.$extractResponseForGridQuestion=function(i,a){if(!i.grid||!i.grid.rows)return o;if("radio"==i.grid.cellInputType)return f.$extractResponseForRadioGridQuestion(i,a);var o=[];return i.grid.rows.forEach(function(r){i.grid.cols.forEach(function(e){var t={row:{id:r.id,label:r.label},col:{id:e.id,label:e.label},value:null};if(a.hasOwnProperty(r.id)&&a[r.id].hasOwnProperty(e.id)){var n=a[r.id][e.id];"date"==i.grid.cellInputType&&n instanceof Date?t.value=n.toLocaleDateString():"time"==i.grid.cellInputType&&n instanceof Date?t.value=n.toLocaleTimeString():t.value=n}o.push(t)})}),o},f.$extractResponseForRadioGridQuestion=function(e,i){var a=[],o=f.$getObjectByIdMap(e.grid.cols);return e.grid.rows.forEach(function(e){var t=i[e.id],n=null;t&&(n=o[t]);var r={row:{id:e.id,label:e.label},col:null};n&&(r.col={id:n.id,label:n.label}),a.push(r)}),a},f.extractResponse=function(e,t){return-1!==n.indexOf(e.type)?t.answer:"radio"==e.type||"checkbox"==e.type||"select"==e.type?f.$extractResponseForQuestionWithOfferedAnswers(e,t):"grid"==e.type?f.$extractResponseForGridQuestion(e,t):"priority"==e.type?f.$extractResponseForPriorityQuestion(e,t):"division"==e.type?f.$extractResponseForDivisionQuestion(e,t):null},f.mergeFormWithResponse=function(e,r){var t={};return angular.copy(e,t),t.pages.forEach(function(e){e.elements.forEach(function(e){var t=e.question;if(t){var n=r[t.id];n&&(t.response=f.extractResponse(t,n))}})}),t},f.getQuestionList=function(e,n){var r=[];return e.pages.forEach(function(e){e.elements.forEach(function(e){if(e.question){var t=e.question;n&&(t={},angular.copy(e.question,t)),r.push(t)}})}),r},f.getQuestionWithResponseList=function(e,n){var r=[];return f.getQuestionList(e,!0).forEach(function(e){var t=n[e.id];e.response=t?f.extractResponse(e,t):null,r.push(e)}),r},f.$$getHeader=function(e,t,n,r,i){var a="";return i&&((e||0===e)&&(a+=e+"."),null!=n&&(Array.isArray(n)||(n=[n]),n.forEach(function(e){a+=e+"."})),a.length&&(a+=" ")),a+=t,null==r||(Array.isArray(r)||(r=[r]),r.forEach(function(e){a+=" ["+e+"]"})),a},f.getResponseSheetHeaders=function(e,o){var t=["grid","priority","division"],s=[],c=0;return f.getQuestionList(e).forEach(function(i){c++;var a=1;if(-1===t.indexOf(i.type))s.push(f.$$getHeader(c,i.text,null,null,o));else if("grid"==i.type){if(!i.grid)return;"radio"==i.grid.cellInputType?i.grid.rows.forEach(function(e){s.push(f.$$getHeader(c,i.text,a,e.label,o)),a++}):i.grid.rows.forEach(function(n,r){i.grid.cols.forEach(function(e,t){s.push(f.$$getHeader(c,i.text,[r+1,t+1],[n.label,e.label],o)),a++})})}else if("priority"==i.type){if(!i.priorityList)return;i.priorityList.forEach(function(e){s.push(f.$$getHeader(c,i.text,a,e.value,o)),a++})}else if("division"==i.type){if(!i.divisionList)return;i.divisionList.forEach(function(e){s.push(f.$$getHeader(c,i.text,a,e.value,o)),a++})}}),s},f.getResponseSheetRow=function(e,t){var n=[];if(!t)return n;for(var r=f.getQuestionWithResponseList(e,t),i=["radio","checkbox","select","grid","priority","division"],a=0;a<r.length;a++){var o=r[a],s=o.response;if(-1!==i.indexOf(o.type)){if("radio"==o.type||"select"==o.type){if(!s){n.push("");continue}var c="";s.selectedAnswer&&(c=s.selectedAnswer.value),s.other&&(c&&(c+="; "),c+=s.other),n.push(c)}else if("checkbox"==o.type){if(!s||!s.selectedAnswers){n.push("");continue}c="";s.selectedAnswers.forEach(function(e){c&&(c+="; "),c+=e.value}),s.other&&(c&&(c+="; "),c+=s.other),n.push(c)}else if("grid"==o.type){if(!o.grid)continue;if(!s){"radio"==o.grid.cellInputType?o.grid.rows.forEach(function(){n.push("")}):o.grid.rows.forEach(function(){o.grid.cols.forEach(function(){n.push("")})});continue}"radio"==o.grid.cellInputType?s.forEach(function(e){n.push(e.col?e.col.label:"")}):s.forEach(function(e){n.push(e.value)})}else if("priority"==o.type){if(!o.priorityList)continue;var l=f.$getObjectByIdMap(s);o.priorityList.forEach(function(e){var t=l[e.id];t?n.push(t.priority):n.push("")})}else if("division"==o.type){if(!o.divisionList)continue;var u=f.$getObjectByIdMap(s);o.divisionList.forEach(function(e){var t=u[e.id];t?n.push(t.value):n.push("")})}}else n.push(s||"")}return n},f.getResponseSheetRows=function(t,e){return e.map(function(e){return f.getResponseSheetRow(t,e)})},f.getResponseSheet=function(t,e,n){var r=[],i=f.getResponseSheetHeaders(t,n);return r.push(i),e&&(e instanceof Array?e.forEach(function(e){r.push(f.getResponseSheetRow(t,e))}):r.push(f.getResponseSheetRow(t,e))),r},f}),angular.module("mwFormBuilder",["ngSanitize","ng-sortable","pascalprecht.translate"]).config(["$translateProvider",function(e){e.useStaticFilesLoader({prefix:"bower_components/insight-surveys/dist/i18n/",suffix:"/angular-surveys.json"}),e.useSanitizeValueStrategy("sanitize"),e.preferredLanguage("en")}]).filter("ngtranslate",["$parse","$translate",function(a,o){"use strict";var e=function(e,t,n,r){if(!angular.isObject(t)){var i=this||{__SCOPE_IS_NOT_AVAILABLE:"More info at https://github.com/angular/angular.js/commit/8863b9d04c722b278fa93c5d66ad1e578ad6eb1f"};t=a(t)(i)}return o.instant(e,t,n,r)};return o.statefulFilter()&&(e.$stateful=!0),e}]),angular.module("mwFormBuilder").service("mwFormUuid",function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}this.get=function(){return e()+e()+e()+e()+e()+e()+e()+e()}}).factory("mwFormClone",["mwFormUuid",function(i){var a={},o=[];return a.resetIds=function(e,t){if(t&&(o=[]),!(0<=o.indexOf(e))&&(o.push(e),!e!==Object(e))){if(Array.isArray(e))return void e.forEach(a.resetIds);for(var n in e)e.hasOwnProperty(n)&&a.resetIds(e[n]);if(e.hasOwnProperty("id")){var r=i.get();e.id,e.id=r}}},a.cloneElement=function(e){var t={};return angular.copy(e,t),a.resetIds(t,!0),t},a.clonePage=function(e){var t={};angular.copy(e,t),t.id=i.get();var n=[];if(Array.isArray(e.elements))for(var r=0;r<e.elements.length;r++)n.push(a.cloneElement(e.elements[r]));return t.elements=n,t},a.cloneForm=function(e){var t={};angular.copy(e,t);var n=[];if(Array.isArray(e.pages))for(var r=0;r<e.pages.length;r++)n.push(a.clonePage(e.pages[r]));return t.pages=n,t},a}]),angular.module("mwFormBuilder").directive("mwQuestionPriorityListBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-question-priority-list-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(n){var r=this;r.isNewItem={},this.$onInit=function(){r.question.priorityList||(r.question.priorityList=[],r.addNewItem()),r.question.priorityList.sort(function(e,t){return e.orderNo-t.orderNo}),r.itemsSortableConfig={disabled:r.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(e){if(e)for(var t=0;t<e.length;t++)e[t].orderNo=t+1}(r.question.priorityList)}}},r.addNewItem=function(e){var t={id:n.get(),orderNo:r.question.priorityList.length+1,value:null};e||(r.isNewItem[t.id]=!0),r.question.priorityList.push(t)},r.removeItem=function(e){var t=r.question.priorityList.indexOf(e);-1!=t&&r.question.priorityList.splice(t,1)},r.keyPressedOnInput=function(e,t){delete r.isNewItem[t.id],13===e.which&&(e.preventDefault(),r.addNewItem())},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwQuestionOfferedAnswerListBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",formObject:"=",readOnly:"=?",options:"=?",disableOtherAnswer:"=?"},templateUrl:"mw-question-offered-answer-list-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["FormQuestionBuilderId","mwFormUuid",function(e,n){var r=this;this.$onInit=function(){r.config={radio:{},checkbox:{}},r.isNewAnswer={},r.question.offeredAnswers&&r.question.offeredAnswers.sort(function(e,t){return e.orderNo-t.orderNo}),r.offeredAnswersSortableConfig={disabled:r.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(){if(r.question.offeredAnswers)for(var e=0;e<r.question.offeredAnswers.length;e++)r.question.offeredAnswers[e].orderNo=e+1}()}}},r.addNewOfferedAnswer=function(){var e=r.possiblePageFlow[0],t={id:n.get(),orderNo:r.question.offeredAnswers.length+1,value:null,pageFlow:e};r.isNewAnswer[t.id]=!0,r.question.offeredAnswers.push(t)},r.removeOfferedAnswer=function(e){var t=r.question.offeredAnswers.indexOf(e);-1!=t&&r.question.offeredAnswers.splice(t,1)},r.addCustomAnswer=function(){r.question.otherAnswer=!0},r.removeCustomAnswer=function(){r.question.otherAnswer=!1},r.keyPressedOnInput=function(e,t){delete r.isNewAnswer[t.id],13===e.which&&(e.preventDefault(),r.addNewOfferedAnswer())},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl.possiblePageFlow=r.possiblePageFlow}}}),angular.module("mwFormBuilder").directive("mwQuestionGridBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",formObject:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-question-grid-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid","MW_GRID_CELL_INPUT_TYPES",function(n,e){function r(e){if(e)for(var t=0;t<e.length;t++){e[t].orderNo=t+1}}function t(e){e.sort(function(e,t){return e.orderNo-t.orderNo})}var i=this;this.$onInit=function(){i.cellInputTypes=e,i.isNewInput={},i.question.grid||(i.question.grid={rows:[],cols:[]},i.addNewRow(),i.addNewCol(!0)),i.question.grid.cellInputType||(i.question.grid.cellInputType=i.cellInputTypes[0]),t(i.question.grid.rows),t(i.question.grid.cols),i.rowsSortableConfig={disabled:i.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){r(i.question.grid.rows)}},i.colsSortableConfig={disabled:i.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){r(i.question.grid.cols)}}},i.addNewRow=function(e){var t={id:n.get(),orderNo:i.question.grid.rows.length+1,label:null};e||(i.isNewInput[t.id]=!0),i.question.grid.rows.push(t)},i.addNewCol=function(e){var t={id:n.get(),orderNo:i.question.grid.cols.length+1,label:null};e||(i.isNewInput[t.id]=!0),i.question.grid.cols.push(t)},i.removeRow=function(e){var t=i.question.grid.rows.indexOf(e);-1!=t&&i.question.grid.rows.splice(t,1)},i.removeCol=function(e){var t=i.question.grid.cols.indexOf(e);-1!=t&&i.question.grid.cols.splice(t,1)},i.keyPressedOnInput=function(e,t,n){delete i.isNewInput[t.id],13===e.which&&(e.preventDefault(),"row"==n?i.addNewRow():i.addNewCol())},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwQuestionDivisionBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestionBuilder",scope:{question:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-question-division-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(n){var r=this;r.$onInit=function(){r.isNewItem={},r.question.divisionList||(r.question.divisionList=[],r.addNewItem()),r.question.divisionList.sort(function(e,t){return e.orderNo-t.orderNo}),r.itemsSortableConfig={disabled:r.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(e){if(e)for(var t=0;t<e.length;t++)e[t].orderNo=t+1}(r.question.divisionList)}}},r.addNewItem=function(e){var t={id:n.get(),orderNo:r.question.divisionList.length+1,value:null};e||(r.isNewItem[t.id]=!0),r.question.divisionList.push(t)},r.removeItem=function(e){var t=r.question.divisionList.indexOf(e);-1!=t&&r.question.divisionList.splice(t,1)},r.keyPressedOnInput=function(e,t){delete r.isNewItem[t.id],13===e.which&&(e.preventDefault(),r.addNewItem())},1===angular.version.major&&angular.version.minor<5&&r.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwLabel",function(){return{replace:!0,restrict:"AE",scope:{labelKey:"@?",labelText:"@?",labelFor:"@",labelClass:"@",labelTranslateValues:"="},templateUrl:"mw-label.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(e){}],link:function(e,t,n){}}}),angular.module("mwFormBuilder").factory("FormQuestionBuilderId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormQuestionBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageElementBuilder",scope:{question:"=",formObject:"=",onReady:"&",isPreview:"=?",readOnly:"=?"},templateUrl:"mw-form-question-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormQuestionBuilderId","mwFormBuilderOptions",function(e,t,n){function r(){i.question.offeredAnswers&&i.question.offeredAnswers.forEach(function(e){i.question.pageFlowModifier?e.pageFlow=i.possiblePageFlow[0]:delete e.pageFlow})}var i=this;i.$onInit=function(){i.id=t.next(),i.questionTypes=n.questionTypes,i.formSubmitted=!1,i.question.offeredAnswers&&i.question.offeredAnswers.sort(function(e,t){return e.orderNo-t.orderNo}),i.offeredAnswersSortableConfig={disabled:i.readOnly,ghostClass:"beingDragged",handle:".drag-handle",onEnd:function(e,t){!function(){if(i.question.offeredAnswers)for(var e=0;e<i.question.offeredAnswers.length;e++)i.question.offeredAnswers[e].orderNo=e+1}()}}},i.save=function(){i.formSubmitted=!0,i.form.$valid&&i.onReady()};var a=["radio","checkbox","select"];i.questionTypeChanged=function(){-1!==a.indexOf(i.question.type)&&(i.question.offeredAnswers||(i.question.offeredAnswers=[])),"radio"!=i.question.type&&(r(),e(function(){i.question.pageFlowModifier=!1})),-1===a.indexOf(i.question.type)&&delete i.question.offeredAnswers,"grid"!=i.question.type?delete i.question.grid:i.question.required=!1,"priority"!=i.question.type&&delete i.question.priorityList},i.pageFlowModifierChanged=function(){r()},1===angular.version.major&&angular.version.minor<5&&i.$onInit()}],link:function(e,t,n,r){var i=e.ctrl;i.possiblePageFlow=r.possiblePageFlow,i.options=r.options}}}),angular.module("mwFormBuilder").factory("FormParagraphBuilderId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormParagraphBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageElementBuilder",scope:{paragraph:"=",formObject:"=",onReady:"&",isPreview:"=?",readOnly:"=?"},templateUrl:"mw-form-paragraph-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormParagraphBuilderId",function(e,t){var n=this;n.$onInit=function(){n.id=t.next(),n.formSubmitted=!1},n.save=function(){n.formSubmitted=!0,n.form.$valid&&n.onReady()},1===angular.version.major&&angular.version.minor<5&&n.$onInit()}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwFormPageElementBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageBuilder",scope:{pageElement:"=",formObject:"=",isActive:"=",isFirst:"=",isLast:"=",onReady:"&",readOnly:"=?"},templateUrl:"mw-form-page-element-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["mwFormUuid",function(e){var n=this;n.$onInit=function(){"question"==n.pageElement.type?n.pageElement.question||(n.pageElement.question={id:e.get(),text:null,type:null,required:!0}):"image"==n.pageElement.type?n.pageElement.image||(n.pageElement.image={id:e.get(),align:"left"}):"paragraph"==n.pageElement.type&&(n.pageElement.paragraph||(n.pageElement.paragraph={id:e.get(),html:""}))},n.callback=function(e,t){e.preventDefault(),e.stopPropagation(),t.callback&&"function"==typeof t.callback&&t.callback(n.pageElement)},n.filter=function(e){return!(!e.showInOpen&&n.isActive)&&!(!e.showInPreview&&!n.isActive)&&(!e.filter||"function"!=typeof e.filter||e.filter(n.pageElement))},1===angular.version.major&&angular.version.minor<5&&n.$onInit()}],link:function(e,t,n,r){var i=e.ctrl;i.possiblePageFlow=r.possiblePageFlow,i.hoverIn=function(){i.isHovered=!0},i.hoverOut=function(){i.isHovered=!1},i.editElement=function(){r.selectElement(i.pageElement)},i.cloneElement=function(e){e.preventDefault(),e.stopPropagation(),r.cloneElement(i.pageElement)},i.removeElement=function(){r.removeElement(i.pageElement)},i.moveDown=function(){r.moveDownElement(i.pageElement),e.$emit("mwForm.questionUpdate")},i.moveUp=function(){r.moveUpElement(i.pageElement),e.$emit("mwForm.questionUpdate")},i.options=r.options,i.onImageSelection=r.onImageSelection}}}),angular.module("mwFormBuilder").directive("mwFormPageBuilder",["$rootScope",function(t){return{replace:!0,restrict:"AE",require:"^mwFormBuilder",scope:{formPage:"=",formObject:"=",isFirst:"=",isLast:"=",readOnly:"=?"},templateUrl:"mw-form-page-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$scope","$timeout","mwFormUuid","mwFormClone","mwFormBuilderOptions",function(n,e,i,a,o){function r(){for(var e=0;e<c.formPage.elements.length;e++)c.formPage.elements[e].orderNo=e+1}function s(e,t,n){var r=e[t];e.splice(t,1),e.splice(n,0,r)}var c=this;c.$onInit=function(){c.hoverEdit=!1,c.formPage.namedPage=!!c.formPage.name,c.isFolded=!1,c.formPage.elements.sort(function(e,t){return e.orderNo-t.orderNo}),c.sortableConfig={disabled:c.readOnly,ghostClass:"beingDragged",group:"survey",handle:".inactive",chosenClass:".page-element-list",onEnd:function(e,t){r(),n.$emit("mwForm.questionUpdate")}},c.activeElement=null},c.unfold=function(){c.isFolded=!1},c.fold=function(){c.isFolded=!0},c.pageNameChanged=function(){t.$broadcast("mwForm.pageEvents.pageNameChanged",{page:c.formPage})},c.addElement=function(e){e||(e=o.elementTypes[0]);var t,n,r=(t=e,n=c.formPage.elements.length+1,{id:i.get(),orderNo:n,type:t});c.activeElement=r,c.formPage.elements.push(r)},c.cloneElement=function(e,t){var n=c.formPage.elements.indexOf(e),r=a.cloneElement(e);t&&(c.activeElement=r),c.formPage.elements.splice(n,0,r)},c.removeElement=function(e){var t=c.formPage.elements.indexOf(e);c.formPage.elements.splice(t,1)},c.moveDownElement=function(e){var t=c.formPage.elements.indexOf(e),n=t+1;n<c.formPage.elements.length&&s(c.formPage.elements,t,n),r()},c.moveUpElement=function(e){var t=c.formPage.elements.indexOf(e),n=t-1;0<=n&&s(c.formPage.elements,t,n),r()},c.isElementTypeEnabled=function(e){return-1!==o.elementTypes.indexOf(e)},c.addQuestion=function(){c.addElement("question")},c.addImage=function(){c.addElement("image")},c.addParagraph=function(){c.addElement("paragraph")},c.isElementActive=function(e){return c.activeElement==e},c.selectElement=function(e){c.activeElement=e},c.onElementReady=function(){e(function(){c.activeElement=null})},c.hoverIn=function(){c.hoverEdit=!0},c.hoverOut=function(){c.hoverEdit=!1},c.updateElementsOrderNo=r,1===angular.version.major&&angular.version.minor<5&&c.$onInit()}],link:function(n,e,t,r){var i=n.ctrl;i.possiblePageFlow=r.possiblePageFlow,i.moveDown=function(){r.moveDownPage(i.formPage)},i.moveUp=function(){r.moveUpPage(i.formPage)},i.removePage=function(){r.removePage(i.formPage)},i.addPage=function(){r.addPageAfter(i.formPage)},n.$watch("ctrl.formPage.elements.length",function(e,t){e!=t&&(i.updateElementsOrderNo(),n.$emit("mwForm.questionUpdate"))}),i.options=r.options,i.onImageSelection=r.onImageSelection}}}]),angular.module("mwFormBuilder").factory("FormImageBuilderId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormImageBuilder",function(){return{replace:!0,restrict:"AE",require:"^mwFormPageElementBuilder",scope:{image:"=",formObject:"=",onReady:"&",isPreview:"=?",readOnly:"=?",onImageSelection:"&"},templateUrl:"mw-form-image-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormImageBuilderId","mwFormUuid",function(e,t,n){var r=this;r.id=t.next(),r.formSubmitted=!1,r.save=function(){r.formSubmitted=!0,r.form.$valid&&r.onReady()},r.selectImageButtonClicked=function(){r.onImageSelection().then(function(e){r.image.src=e}).catch(function(){})},r.setAlign=function(e){r.image.align=e}}],link:function(e,t,n,r){e.ctrl}}}),angular.module("mwFormBuilder").directive("mwFormConfirmationPageBuilder",function(){return{replace:!0,restrict:"AE",scope:{formObject:"=",readOnly:"=?",defaultMessage:"=?"},templateUrl:"mw-form-confirmation-page-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout",function(e){var t=this;t.hoverEdit=!1,t.hoverIn=function(){t.hoverEdit=!0},t.hoverOut=function(){t.hoverEdit=!1}}],link:function(e,t,n){}}}),angular.module("mwFormBuilder").directive("mwFormBuilder",["$rootScope",function(l){return{replace:!0,restrict:"AE",scope:{formData:"=",readOnly:"=?",options:"=?",formStatus:"=?",onImageSelection:"&",api:"=?"},templateUrl:"mw-form-builder.html",controllerAs:"ctrl",bindToController:!0,controller:["$scope","mwFormUuid","MW_QUESTION_TYPES","mwFormBuilderOptions",function(e,n,t,r){function i(e){var t=null;return c.possiblePageFlow&&(t=c.possiblePageFlow[0]),{id:n.get(),number:e,name:null,description:null,pageFlow:t,elements:[]}}function a(){var t=1;void 0!==c.formData.pages&&c.formData.pages.forEach(function(e){void 0!==e.elements&&e.elements.forEach(function(e){"question"==e.type&&void 0!==e.question&&(e.question.number=t++)})})}function o(){for(var e=0;e<c.formData.pages.length;e++)c.formData.pages[e].number=e+1;c.updatePageFlow()}function s(e,t,n){var r=e[t];e.splice(t,1),e.splice(n,0,r)}var c=this;c.$onInit=function(){c.currentPage=0,c.formData.pages&&c.formData.pages.length||(c.formData.pages=[],c.formData.pages.push(i(1))),c.options=r.$init(c.options),c.api&&(c.api.reset=function(){for(var e in c.formData)c.formData.hasOwnProperty(e)&&"pages"!=e&&delete c.formData[e];c.formData.pages.length=0,c.formData.pages.push(i(1))}),setTimeout(function(){a()},0),e.$watch("ctrl.formData",function(e,t){a()})},c.numberOfPages=function(){return Math.ceil(c.formData.pages.length/c.options.pageSize)},c.lastPage=function(){c.currentPage=Math.ceil(c.formData.pages.length/c.options.pageSize-1)},c.addPage=function(){c.formData.pages.push(i(c.formData.pages.length+1)),c.lastPage(),l.$broadcast("mwForm.pageEvents.pageAdded")},c.onChangePageSize=function(){c.currentPage>Math.ceil(c.formData.pages.length/c.options.pageSize-1)&&(c.currentPage=Math.ceil(c.formData.pages.length/c.options.pageSize-1))},e.$on("mwForm.questionUpdate",function(){setTimeout(function(){a()},0)}),c.addPageAfter=function(e){var t=c.formData.pages.indexOf(e)+1,n=i(e.number+1);t<c.formData.pages.length?c.formData.pages.splice(t,0,n):c.formData.pages.push(n),o(),a(),l.$broadcast("mwForm.pageEvents.pageAdded")},c.moveDownPage=function(e){var t=c.formData.pages.indexOf(e),n=t+1;n<c.formData.pages.length&&s(c.formData.pages,t,n),o(),a(),l.$broadcast("mwForm.pageEvents.pageMoved")},c.moveUpPage=function(e){var t=c.formData.pages.indexOf(e),n=t-1;0<=n&&s(c.formData.pages,t,n),o(),a(),l.$broadcast("mwForm.pageEvents.pageMoved")},c.removePage=function(e){var t=c.formData.pages.indexOf(e);c.formData.pages.splice(t,1),o(),a(),l.$broadcast("mwForm.pageEvents.pageRemoved"),c.onChangePageSize()},1===angular.version.major&&angular.version.minor<5&&c.$onInit()}],link:function(e,t,n){var r=e.ctrl;r.formStatus&&(r.formStatus.form=r.form),r.possiblePageFlow=[];var i={nextPage:!0,label:"mwForm.pageFlow.goToNextPage"};r.possiblePageFlow.push(i),r.isSamePageFlow=function(e,t){return e.page&&t.page&&e.page.id==t.page.id||e.formSubmit&&t.formSubmit||e.nextPage&&t.nextPage},r.updatePageFlow=function(){r.possiblePageFlow.length=1,r.formData.pages.forEach(function(e){r.possiblePageFlow.push({page:{id:e.id,number:e.number},label:"mwForm.pageFlow.goToPage"})}),r.possiblePageFlow.push({formSubmit:!0,label:"mwForm.pageFlow.submitForm"}),r.formData.pages.forEach(function(e){r.possiblePageFlow.forEach(function(n){e.pageFlow?r.isSamePageFlow(n,e.pageFlow)&&(e.pageFlow=n):e.pageFlow=i,e.elements.forEach(function(e){var t=e.question;t&&t.pageFlowModifier&&t.offeredAnswers.forEach(function(e){e.pageFlow&&r.isSamePageFlow(n,e.pageFlow)&&(e.pageFlow=n)})})})})},e.$watch("ctrl.formData.pages.length",function(e,t){r.updatePageFlow()}),e.$watch("ctrl.currentPage",function(e,t){l.$broadcast("mwForm.pageEvents.pageCurrentChanged",{index:r.currentPage})}),e.$on("mwForm.pageEvents.changePage",function(e,t){void 0!==t.page&&t.page<r.numberOfPages()&&(r.currentPage=t.page)}),e.$on("mwForm.pageEvents.addPage",function(e,t){r.addPage()})}}}]),angular.module("mwFormBuilder").filter("mwStartFrom",function(){return function(e,t){return t=+t,e.slice(t)}}),angular.module("mwFormBuilder").constant("MW_QUESTION_TYPES",["text","textarea","radio","checkbox","select","grid","priority","division","number","date","time","email","range","url","star"]).constant("MW_ELEMENT_TYPES",["question","image","paragraph"]).constant("MW_GRID_CELL_INPUT_TYPES",["radio","checkbox","text","number","date","time"]).factory("mwFormBuilderOptions",["MW_ELEMENT_TYPES","MW_QUESTION_TYPES",function(e,t){function n(e,t){return e?e.map(function(e){return angular.extend({},t,e)}):[]}var r={title:null,icon:null,text:null,callback:null,filter:null,showInOpen:!1,showInPreview:!0,cssClass:""},i={key:null,label:null,selects:[],required:!0},a={elementTypes:e,questionTypes:t,elementButtons:[],pagesSize:[10,25,50,100],pageSize:10,customQuestionSelects:[],customElements:[]},o={$init:function(e){return angular.extend(o,a,e),o.customQuestionSelects=n(o.customQuestionSelects,i),o.elementButtons=n(o.elementButtons,r),o}};return o}]),angular.module("mwFormBuilder").directive("wdFocusMe",["$timeout","$parse",function(i,a){return{link:function(e,t,n){var r=a(n.wdFocusMe);e.$watch(r,function(e){!0===e&&i(function(){t[0].focus()})}),t.bind("blur",function(){i(function(){e.$apply(r.assign(e,!1))})})}}}]).factory("focus",["$timeout","$window",function(e,n){return function(t){e(function(){var e=n.document.getElementById(t);e&&e.focus()})}}]),angular.module("mwFormBuilder").directive("mwConfirmClick",["$window",function(i){return{restrict:"A",link:function(t,e,n){var r=n.wdConfirmClick||"Are you sure?";e.bind("click",function(e){i.confirm(r)&&t.$apply(n.confirmedAction)})}}}]),angular.module("mwFormBuilder").run(["$templateCache",function(e){e.put("mw-form-builder.html",'<div class=mw-form-builder><form name=ctrl.form role=form novalidate><div class=mw-title-page><md-input-container class=md-block><mw-label label-for=formName label-key=mwForm.form.name></mw-label><input type=text class=form-control name=formName id=formName ng-model=ctrl.formData.name ng-readonly=ctrl.readOnly required></md-input-container><md-input-container class=md-block><mw-label label-for=formDescription label-key=mwForm.form.description></mw-label><textarea msd-elastic class=form-control name=formDescription ng-model=ctrl.formData.description id=formDescription ng-readonly=ctrl.readOnly>\n </textarea></md-input-container></div><div class=form-page-list><mw-form-page-builder ng-repeat="page in ctrl.formData.pages| mwStartFrom:ctrl.currentPage * ctrl.options.pageSize | limitTo:ctrl.options.pageSize" form-page=page form-object=ctrl.formData is-first=$first is-last=$last read-only=ctrl.readOnly></mw-form-page-builder></div><div layout=row layout-align="center center"><div flex-gt-xs=75><div layout=row layout-align="center center"><div flex-gt-xs=50><md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage === 0" ng-click="ctrl.currentPage = 0"><i class="fa fa-angle-double-left fa-lg"></i></md-button><md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage === 0" ng-click="ctrl.currentPage = ctrl.currentPage - 1"><i class="fa fa-angle-left fa-lg"></i></md-button>{{ctrl.currentPage + 1}}/{{ctrl.numberOfPages()}}<md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage >= ctrl.formData.pages.length / ctrl.options.pageSize - 1" ng-click="ctrl.currentPage = ctrl.currentPage + 1"><i class="fa fa-angle-right fa-lg"></i></md-button><md-button class="md-icon-button md-raised" ng-disabled="ctrl.currentPage >= ctrl.formData.pages.length / ctrl.options.pageSize - 1" ng-click=ctrl.lastPage()><i class="fa fa-angle-double-right fa-lg"></i></md-button></div><div flex-gt-xs=18><md-input-container><md-select ng-change=ctrl.onChangePageSize() class=form-control ng-model=ctrl.options.pageSize><md-option ng-repeat="item in ctrl.options.pagesSize" value={{item}}>{{item}}</md-option></md-select></md-input-container></div></div></div><div flex><div layout=row layout-align=end><md-button type=button class="md-raised md-primary" ng-click=ctrl.addPage() ng-if=!ctrl.readOnly><i class="fa fa-plus"></i> <span translate=mwForm.buttons.addPage></span></md-button></div></div></div><mw-form-confirmation-page-builder form-object=ctrl.formData read-only=ctrl.readOnly></mw-form-confirmation-page-builder></form></div>'),e.put("mw-form-confirmation-page-builder.html",'<div class="mw-form-page-builder mw-confirmation-page"><div><div class=mw-page-tab-container><div class=mw-form-page-tab><span class=mw-page-tab-text role=heading translate=mwForm.confirmationPage.title>Strona potwierdzenia</span></div><div class=mw-page-tab-triangle></div></div><div ng-form=ctrl.form role=form novalidate class=form-page-builder-body><div class=form-group><md-input-container class=md-block><mw-label label-for=customConfirmationMessage label-key=mwForm.confirmationPage.customMessage></mw-label><textarea id=customConfirmationMessage msd-elastic class=form-control name=confirmationMessage ng-model=ctrl.formObject.confirmationMessage ng-disabled=ctrl.readOnly></textarea></md-input-container></div></div></div></div>'),e.put("mw-form-image-builder.html",'<div class=mw-form-image-builder-wrapper><div class=mw-form-image-builder ng-class="{\'ng-submitted\':ctrl.formSubmitted}"><div class=image-editor ng-form=ctrl.form ng-if=!ctrl.isPreview><button ng-if=!ctrl.image.src ng-click=ctrl.selectImageButtonClicked() type=button class="btn btn-default" translate=mwForm.image.selectImageButton>Select image</button><div class="image-edition row" ng-if=ctrl.image.src><div class=col-md-12 ng-class="\'align-\'+ctrl.image.align"><img ng-src={{ctrl.image.src}}></div><div class="col-md-12 image-align-control"><div class=btn-group role=group aria-label="Image align"><button type=button class="btn btn-default" ng-class="{\'selected\': ctrl.image.align==\'left\'}" ng-click="ctrl.setAlign(\'left\')"><i class="fa fa-align-left"></i></button> <button type=button class="btn btn-default" ng-class="{\'selected\': ctrl.image.align==\'center\'}" ng-click="ctrl.setAlign(\'center\')"><i class="fa fa-align-center"></i></button> <button type=button class="btn btn-default" ng-class="{\'selected\': ctrl.image.align==\'right\'}" ng-click="ctrl.setAlign(\'right\')"><i class="fa fa-align-right"></i></button></div></div><md-input-container class=md-block><mw-label label-for=image-caption-{{ctrl.id}} label-key=mwForm.image.caption>Image caption</mw-label><input type=text class=form-control name=text ng-attr-id=image-caption-{{ctrl.id}} ng-model=ctrl.image.caption ng-readonly=ctrl.readOnly></md-input-container></div><div ng-if=ctrl.image.src><br><br><md-button class="md-primary md-raised" type=button role=button ng-click=ctrl.save() translate=mwForm.buttons.questionReady>Ready</md-button></div></div><div class=mw-preview ng-if=ctrl.isPreview><figure ng-class="\'align-\'+ctrl.image.align"><img ng-src={{ctrl.image.src}} ng-attr-alt=ctrl.image.caption><figcaption ng-if=ctrl.image.caption>{{ctrl.image.caption}}</figcaption></figure></div></div></div>'),e.put("mw-form-page-builder.html",'<div class=mw-form-page-builder ng-class="{\'page-folded\': ctrl.isFolded}"><div ng-mouseover=ctrl.hoverIn() ng-mouseleave=ctrl.hoverOut()><div class=mw-page-tab-container><div class=mw-form-page-tab><span class=mw-page-tab-text role=heading translate=mwForm.page.tab.heading translate-values="{page: ctrl.formPage.number, allPages:ctrl.formObject.pages.length}">Strona 1 z 3</span> <span class=mw-page-tab-checkbox><label><input type=checkbox ng-model=ctrl.formPage.namedPage ng-disabled=ctrl.readOnly><span class=mw-page-tab-checkbox-text translate=mwForm.page.pageWithNameCheckbox>named</span></label></span></div><div class=mw-page-tab-triangle></div><div class=mw-page-tab-actions ng-switch=ctrl.readOnly><button type=button class=fold-button ng-click=ctrl.fold() ng-attr-title="{{\'mwForm.buttons.fold\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.fold>Fold</span></md-tooltip><i class="fa fa-compress"></i></button> <button type=button class=unfold-button ng-click=ctrl.unfold() ng-attr-title="{{\'mwForm.buttons.unfold\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.unfold>Unfold</span></md-tooltip><i class="fa fa-expand"></i></button> <button type=button class=move-down-button ng-click=ctrl.moveDown() ng-if=!ctrl.isLast ng-switch-when=false ng-attr-title="{{\'mwForm.buttons.moveDown\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveDown>Move down</span></md-tooltip><i class="fa fa-chevron-down"></i></button> <button type=button class=move-up-button ng-click=ctrl.moveUp() ng-if=!ctrl.isFirst ng-switch-when=false ng-attr-title="{{\'mwForm.buttons.moveUp\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveUp>move Up</span></md-tooltip><i class="fa fa-chevron-up"></i></button> <button type=button class=remove-button mw-confirm-click confirmed-action=ctrl.removePage() ng-switch-when=false ng-attr-title="{{\'mwForm.buttons.removePage\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.removePage>remove Page</span></md-tooltip><i class="fa fa-trash"></i></button></div></div><div ng-form=ctrl.form role=form novalidate class=form-page-builder-body><md-input-container class=md-block ng-if=ctrl.formPage.namedPage><label ng-attr-for=page-name-{{ctrl.formPage.number}} translate=mwForm.page.name>Nazwa strony</label> <input type=text class=form-control name=pageName ng-attr-id=page-name-{{ctrl.formPage.number}} ng-model=ctrl.formPage.name ng-blur=ctrl.pageNameChanged() ng-readonly=ctrl.readOnly></md-input-container><div class=page-element-list ng-sortable=ctrl.sortableConfig ng-model=ctrl.formPage.elements><div class="empty-page-element-list-label form-group" ng-if="!ctrl.formPage.elements || (ctrl.formPage.elements && ctrl.formPage.elements.length === 0)"><span translate=mwForm.page.elements.empty>Brak elementów</span></div><mw-form-page-element-builder ng-repeat="element in ctrl.formPage.elements" page-element=element form-object=ctrl.formObject is-active=ctrl.isElementActive(element) on-ready=ctrl.onElementReady() ng-click=ctrl.selectElement(element) is-first=$first is-last=$last read-only=ctrl.readOnly></mw-form-page-element-builder></div><md-menu ng-if=!ctrl.readOnly><md-button class=md-raised aria-label="{{\'mwForm.buttons.addElement\'|ngtranslate}}" ng-click=$mdOpenMenu($event) translate=mwForm.buttons.addElement>Add element</md-button><md-menu-content width=4><md-menu-item ng-if="ctrl.isElementTypeEnabled(\'question\')"><md-button type=button ng-click=ctrl.addQuestion()><span translate=mwForm.elements.question>Pytanie</span><i class="fa fa-question-circle fa-lg fa-fw" style="margin-left: 10px;"></i></md-button></md-menu-item><md-menu-item ng-if="ctrl.isElementTypeEnabled(\'image\')"><md-button type=button ng-click=ctrl.addImage()><span translate=mwForm.elements.image>Obraz</span><i class="fa fa-picture-o fa-lg fa-fw" style="margin-left: 10px;"></i></md-button></md-menu-item><md-menu-item ng-if="ctrl.isElementTypeEnabled(\'paragraph\')"><md-button type=button ng-click=ctrl.addParagraph()><span translate=mwForm.elements.paragraph>Obraz</span><i class="fa fa-paragraph fa-lg fa-fw" style="margin-left: 10px;"></i></md-button></md-menu-item></md-menu-content></md-menu></div><table cellspacing=0 class=mw-page-bottom-tab-container ng-if=!ctrl.isLast><tr><td class=mw-page-bottom-tab-triangle></td><td class=mw-form-page-bottom-tab><div class="page-flow-select form-inline"><label translate=mwForm.pageFlow.afterPage translate-values={page:ctrl.formPage.number} ng-attr-for=page-flow-select-{{ctrl.formPage.number}}>Po stronie 1</label><select ng-attr-id=page-flow-select-{{ctrl.formPage.number}} ng-options="pageFlow.label|ngtranslate:pageFlow for pageFlow in ctrl.possiblePageFlow" ng-model=ctrl.formPage.pageFlow class=form-control ng-disabled=ctrl.readOnly></select></div></td><td class=mw-page-bottom-tab-actions><button type=button role=button class=btn ng-click=ctrl.addPage() ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.addPage\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.addPage\' | ngtranslate}}</md-tooltip><i class="fa fa-plus"></i></button></td></tr></table></div></div>'),e.put("mw-form-page-element-builder.html",'<div class=mw-form-page-element-builder-wrapper><div class=mw-form-page-element-builder ng-class="{\'active\': ctrl.isActive, \'inactive draggable\': !ctrl.isActive}"><div class=mw-page-element-actions-tab ng-switch=ctrl.isActive&&!ctrl.readOnly><span class=mw-additional-buttons><button type=button ng-click=ctrl.callback($event,button) ng-attr-title="{{button.title | ngtranslate}}" ng-class=button.cssClass class=edit-button aria-label="{{button.title | ngtranslate}}" aria-hidden=false ng-if="ctrl.filter(button) && !ctrl.readOnly" ng-repeat="button in ctrl.options.elementButtons"><md-tooltip md-direction=top><span>{{button.title | ngtranslate}}</span></md-tooltip><i class={{button.icon}}></i> {{button.text}}</button></span> <span ng-switch-when=true><button type=button class=move-down-button ng-click=ctrl.moveDown() ng-if=!ctrl.isLast ng-attr-title="{{\'mwForm.buttons.moveDown\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveDown>moveDown</span></md-tooltip><i class="fa fa-chevron-down"></i></button> <button type=button class=move-up-button ng-click=ctrl.moveUp() ng-if=!ctrl.isFirst ng-attr-title="{{\'mwForm.buttons.moveUp\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.moveUp>moveUp</span></md-tooltip><i class="fa fa-chevron-up"></i></button> <button type=button class=remove-button mw-confirm-click confirmed-action=ctrl.removeElement() ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.remove>remove</span></md-tooltip><i class="fa fa-trash"></i></button></span> <span ng-switch-when=false><button type=button aria-label="{{\'mwForm.buttons.clone\' | ngtranslate}}" aria-hidden=false class=edit-button ng-click=ctrl.cloneElement($event) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.clone\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.clone>clone</span></md-tooltip><i class="fa fa-clone"></i></button> <button type=button aria-label="{{\'mwForm.buttons.edit\' | ngtranslate}}" aria-hidden=false class=edit-button ng-click=ctrl.editElement() ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.edit\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.edit>edit</span></md-tooltip><i class="fa fa-pencil"></i></button> <button type=button aria-label="{{\'mwForm.buttons.view\' | ngtranslate}}" aria-hidden=false class=edit-button ng-click=ctrl.editElement() ng-if=ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.view\' | ngtranslate}}"><md-tooltip md-direction=top><span translate=mwForm.buttons.view>view</span></md-tooltip><i class="fa fa-eye"></i></button></span></div><div ng-switch=ctrl.pageElement.type><mw-form-question-builder ng-switch-when=question question=ctrl.pageElement.question form-object=ctrl.formObject on-ready=ctrl.onReady() is-preview=!ctrl.isActive read-only=ctrl.readOnly></mw-form-question-builder><mw-form-image-builder ng-switch-when=image image=ctrl.pageElement.image form-object=ctrl.formObject on-ready=ctrl.onReady() is-preview=!ctrl.isActive read-only=ctrl.readOnly on-image-selection=ctrl.onImageSelection()></mw-form-image-builder><mw-form-paragraph-builder ng-switch-when=paragraph paragraph=ctrl.pageElement.paragraph form-object=ctrl.formObject on-ready=ctrl.onReady() is-preview=!ctrl.isActive read-only=ctrl.readOnly></mw-form-paragraph-builder></div></div></div>'),e.put("mw-form-paragraph-builder.html",'<div class=mw-form-paragraph-builder-wrapper><div class=mw-form-paragraph-builder ng-class="{\'ng-submitted\':ctrl.formSubmitted}"><div class=paragraph-editor ng-form=ctrl.form ng-if=!ctrl.isPreview><md-input-container class=md-block><mw-label label-for=paragraph-textarea-{{ctrl.id}} label-key=mwForm.paragraph.placeholder></mw-label><textarea msd-elastic class="form-control mw-form-paragraph-textarea" ng-model=ctrl.paragraph.html required ng-attr-id=paragraph-textarea-{{ctrl.id}} ng-readonly=ctrl.readOnly></textarea></md-input-container><div layout=row><br><md-button class="md-primary md-raised" type=button role=button ng-click=ctrl.save() translate=mwForm.buttons.questionReady>Ready</md-button></div></div><div class=mw-preview ng-if=ctrl.isPreview><p ng-bind-html=ctrl.paragraph.html></p></div></div></div>'),e.put("mw-form-question-builder.html",'<div class=mw-form-question-builder-wrapper><div class=mw-form-question-builder ng-class="{\'ng-submitted\':ctrl.formSubmitted}"><div ng-form=ctrl.form ng-if=!ctrl.isPreview><div class=form-horizontal><md-input-container class=md-block><mw-label label-for=question-text-{{ctrl.id}} label-key=mwForm.question.text></mw-label><input type=text name=text ng-attr-id=question-text-{{ctrl.id}} ng-model=ctrl.question.text ng-readonly=ctrl.readOnly required></md-input-container><div class=mw-question-type layout=row layout-align="start center"><md-input-container flex-gt-md=30><mw-label label-for=question-type-{{ctrl.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.type></mw-label><md-select ng-attr-id=question-type-{{ctrl.id}} ng-model=ctrl.question.type ng-change=ctrl.questionTypeChanged() ng-disabled=ctrl.readOnly required><md-option ng-repeat="type in ctrl.questionTypes" ng-value=type>{{\'mwForm.question.types.\'+type+\'.name\'|ngtranslate}}</md-option></md-select></md-input-container><div flex flex-offset-gt-md=5><md-checkbox ng-if="ctrl.question.type==\'radio\' || ctrl.question.type==\'select\'" ng-model=ctrl.question.pageFlowModifier ng-change=ctrl.pageFlowModifierChanged() ng-readonly=ctrl.readOnly aria-label="Go to page"><span translate=mwForm.pageFlow.afterQuestionAnswer>Przejdź do strony w oparciu o odpowiedź</span></md-checkbox></div></div><div class="form-group mw-question-type" ng-repeat="select in ctrl.options.customQuestionSelects"><mw-label label-for=question-{{select.key}}-{{ctrl.id}} label-class="col-sm-2 control-label" label-key={{select.label}}></mw-label><div class="col-sm-10 form-inline"><select ng-attr-id=question-{{opt.key}}-{{ctrl.id}} ng-options="opt.label for opt in select.options track by opt.key" ng-model=ctrl.question[select.key] class=form-control ng-disabled=ctrl.readOnly ng-required=select.required></select></div></div></div><div ng-if=ctrl.question.type><div class=mw-form-question-answers-builder ng-switch=ctrl.question.type><div ng-if="ctrl.question.type==\'text\'"><md-input-container class=md-block><input class=form-control type=text disabled value="{{\'mwForm.question.preview.text\'|ngtranslate}}"></md-input-container></div><div ng-switch-when=textarea><md-input-container class=md-block><textarea class=form-control maxlength=150 rows=5 disabled>{{\'mwForm.question.preview.textarea\'|ngtranslate}}</textarea></md-input-container></div><div ng-switch-when=radio><mw-question-offered-answer-list-builder question=ctrl.question form-object=ctrl.formObject read-only=ctrl.readOnly></mw-question-offered-answer-list-builder></div><div ng-switch-when=select><mw-question-offered-answer-list-builder question=ctrl.question form-object=ctrl.formObject read-only=ctrl.readOnly disable-other-answer=true></mw-question-offered-answer-list-builder></div><div ng-switch-when=checkbox><mw-question-offered-answer-list-builder question=ctrl.question form-object=ctrl.formObject read-only=ctrl.readOnly></mw-question-offered-answer-list-builder></div><div ng-switch-when=priority><mw-question-priority-list-builder question=ctrl.question read-only=ctrl.readOnly></mw-question-priority-list-builder></div><div ng-switch-when=number class=form-inline><div class="range-config form-inline"><md-input-container><mw-label label-for=question-number-range-min-{{ctrl.id}} label-key=mwForm.question.number.min></mw-label><input ng-attr-id=question-number-range-min-{{ctrl.id}} class=form-control type=number ng-model=ctrl.question.min max={{ctrl.question.max}} ng-readonly=ctrl.readOnly></md-input-container><md-input-container><mw-label label-for=question-number-range-max-{{ctrl.id}} label-key=mwForm.question.number.max></mw-label><input ng-attr-id=question-number-range-max-{{ctrl.id}} class=form-control type=number min={{ctrl.question.min}} ng-model=ctrl.question.max ng-readonly=ctrl.readOnly></md-input-container></div><br><md-input-container><input class=form-control type=number disabled></md-input-container></div><div ng-switch-when=date class=form-inline><md-input-container><input class=form-control type=date disabled></md-input-container></div><div ng-switch-when=datetime class=form-inline><md-input-container><input class=form-control type=datetime disabled></md-input-container></div><div ng-switch-when=time class=form-inline><md-input-container><input class=form-control type=time disabled></md-input-container></div><div ng-switch-when=email class=form-inline><md-input-container><input class=form-control type=email disabled></md-input-container></div><div ng-switch-when=range><div class="range-config form-inline"><md-input-container><mw-label label-for=question-range-from-{{ctrl.id}} label-key=mwForm.question.range.from></mw-label><input ng-attr-id=question-range-from-{{ctrl.id}} type=number ng-model=ctrl.question.min max={{ctrl.question.max}} ng-readonly=ctrl.readOnly></md-input-container><md-input-container><mw-label label-for=question-range-to-{{ctrl.id}} label-key=mwForm.question.range.to></mw-label><input ng-attr-id=question-range-to-{{ctrl.id}} type=number min={{ctrl.question.min}} ng-model=ctrl.question.max ng-readonly=ctrl.readOnly></md-input-container></div><br><div class=mw-range><md-slider min=ctrl.question.min max=ctrl.question.max type=range disabled></md-slider></div></div><div ng-switch-when=url class=form-inline><input class=form-control type=url disabled></div><div ng-switch-when=star class=form-inline><div class="range-config form-inline"><span translate=mwForm.question.star.no>Number of stars</span> <input class=form-control type=number ng-model=ctrl.question.noStars min=3 max=10 step=1 required ng-readonly=ctrl.readOnly ng-init="ctrl.question.noStars = ctrl.question.noStars || 5"></div></div></div><div class=col-sm-12 ng-if="ctrl.question.type==\'grid\'"><mw-question-grid-builder question=ctrl.question read-only=ctrl.readOnly></mw-question-grid-builder></div><div class=col-sm-12 ng-if="ctrl.question.type==\'division\'"><mw-question-division-builder question=ctrl.question read-only=ctrl.readOnly></mw-question-division-builder></div></div><br><br><div layout=row layout-align="start center"><div flex=20><md-button class="md-primary md-raised" type=button role=button ng-click=ctrl.save() translate=mwForm.buttons.questionReady>Ready</md-button></div><div flex><md-checkbox ng-model=ctrl.question.required ng-disabled=ctrl.readOnly flex><span translate=mwForm.question.required>Required</span></md-checkbox></div></div></div><div class=mw-preview ng-if=ctrl.isPreview><div class=mw-question-text>{{ctrl.question.text}} <span ng-if=ctrl.question.required>*</span></div><div class=question-answers ng-switch=ctrl.question.type><div ng-switch-when=text><md-input-container class=md-block><input class=form-control type=text disabled value="{{\'mwForm.question.preview.text\'|ngtranslate}}"></md-input-container></div><div ng-switch-when=number class=form-inline><md-input-container><input class=form-control type=number disabled></md-input-container></div><div ng-switch-when=date class=form-inline><md-input-container><input class=form-control type=date disabled></md-input-container></div><div ng-switch-when=datetime class=form-inline><md-input-container><input class=form-control type=datetime disabled></md-input-container></div><div ng-switch-when=time class=form-inline><md-input-container><input class=form-control type=time disabled></md-input-container></div><div ng-switch-when=email class=form-inline><md-input-container><input class=form-control type=email disabled></md-input-container></div><div ng-switch-when=range class=mw-range><md-slider min=ctrl.question.min max=ctrl.question.max type=range disabled></md-slider></div><div ng-switch-when=url class=form-inline><md-input-container class=md-block><input class=form-control type=url disabled></md-input-container></div><div ng-switch-when=textarea><md-input-container class=md-block><textarea class=form-control type=text disabled>{{\'mwForm.question.preview.textarea\'|ngtranslate}}</textarea></md-input-container></div><div ng-switch-when=radio><md-radio-group disabled><md-radio-button ng-repeat="answer in ctrl.question.offeredAnswers" aria-label="{{ answer.value }}">{{answer.value}}</md-radio-button><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><div><md-radio-button disabled><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-radio-button></div><div><md-input-container><input type=text class=form-control disabled></md-input-container></div></div></md-radio-group></div><div ng-switch-when=checkbox><div ng-repeat="answer in ctrl.question.offeredAnswers"><md-checkbox disabled>{{answer.value}}</md-checkbox></div><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><div><md-checkbox disabled><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-checkbox></div><div><md-input-container><input type=text class=form-control disabled></md-input-container></div></div></div><div ng-switch-when=select><md-input-container><md-select ng-disabled=true ng-model=ctrl.selectAnswerMock><md-option ng-repeat="answer in ctrl.question.offeredAnswers" ng-value=answer.id>{{answer.value}}</md-option></md-select></md-input-container></div><div ng-switch-when=grid><div class=table-responsive><table class="mw-data-table mw-no-border" border=0 cellpadding=5 cellspacing=0><thead><tr><td></td><td ng-repeat="col in ctrl.question.grid.cols"><label>{{col.label}}</label></td></tr></thead><tbody><tr ng-repeat="row in ctrl.question.grid.rows"><td>{{row.label}}</td><td ng-repeat="col in ctrl.question.grid.cols" ng-switch=ctrl.question.grid.cellInputType><md-radio-group ng-switch-when=radio><md-radio-button></md-radio-button></md-radio-group><div ng-switch-when=checkbox><md-checkbox></md-checkbox></div><md-input-container ng-switch-default><input ng-attr-type={{ctrl.question.grid.cellInputType}} disabled ng-class="\'form-control\'"></md-input-container></td></tr></tbody></table></div></div><div class=mw-priority-list ng-switch-when=priority><table><thead><tr><th translate=mwForm.question.priority.sorted>Sorted</th><th translate=mwForm.question.priority.available>Available</th></tr></thead><tbody><tr><td class=mw-ordered-items></td><td class=mw-available-items><div class=mw-item ng-repeat="item in ctrl.question.priorityList">{{::item.value}}</div></td></tr></tbody></table></div><div ng-switch-when=division class=mw-division-list><div class=form-inline style="margin-bottom: 5px" ng-repeat="item in ctrl.question.divisionList"><div class=form-group><label>{{item.value}}</label><md-input-container md-no-float><input type=number class=form-control style="width: 80px"></md-input-container><span>{{ctrl.question.unit}}</span></div></div><div class=form-inline style="margin-bottom: 5px"><div class=form-group><label translate=mwForm.question.division.assignedSumLabel>Przydzielono</label><md-input-container md-no-float><input type=number class="form-control strict-validation" style="width: 80px" readonly value=0></md-input-container><span>{{ctrl.question.unit}} <span translate=mwForm.question.division.fromRequiredLabel>z wymaganych</span> <strong>{{ctrl.question.quantity}}</strong> {{ctrl.question.unit}}</span></div></div></div><div ng-switch-when=star class=stars><span ng-repeat="n in [].constructor(ctrl.question.noStars) track by $index"><i class="fa fa-star star"></i></span></div></div></div></div></div>'),e.put("mw-label.html","<label ng-attr-for={{::ctrl.labelFor}} ng-attr-class={{::ctrl.labelClass}}>{{ctrl.labelKey|ngtranslate:ctrl.labelTranslateValues}}</label>"),e.put("mw-question-division-builder.html",'<div class=mw-question-division-builder><div><div><md-input-container><mw-label label-for=division-quantity-{{ctrl.question.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.division.quantity></mw-label><div class="col-sm-10 col-md-8 form-inline"><input ng-attr-id=division-quantity-{{ctrl.question.id}} type=number ng-model=ctrl.question.quantity required class=form-control min=1 ng-readonly=ctrl.readOnly></div></md-input-container><md-input-container><mw-label label-for=division-unit-{{ctrl.question.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.division.unit></mw-label><div class="col-sm-10 col-md-8 form-inline"><input ng-attr-id=division-unit-{{ctrl.question.id}} type=text ng-model=ctrl.question.unit required class=form-control ng-readonly=ctrl.readOnly></div></md-input-container></div></div><div><div class=question-division-list ng-sortable=ctrl.itemsSortableConfig ng-model=ctrl.question.divisionList role=list><div class=mw-question-division-list-item ng-repeat="item in ctrl.question.divisionList" role=listitem><div class=drag-handle ng-if=!ctrl.readOnly><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input wd-focus-me=ctrl.isNewItem[item.id] type=text ng-model=item.value ng-keypress=ctrl.keyPressedOnInput($event,item) required class="form-control item-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeItem(item) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div><div class="mw-question-division-list-item add-new-item-widget"><div class=drag-handle></div><md-input-container><span ng-click=ctrl.addNewItem() role=button ng-if=!ctrl.readOnly><input type=text required class=form-control value="{{\'mwForm.question.priority.clickToAddItem\'|ngtranslate}}"></span></md-input-container></div></div></div>'),e.put("mw-question-grid-builder.html",'<div class=mw-question-grid-builder><div class=mw-grid-rows-builder><div><div style="margin-top: 20px;" layout=row layout-align="start center"><md-input-container flex-gt-md=30><mw-label label-for=mw-grid-cell-input-type-{{ctrl.question.id}} label-class="col-sm-2 control-label" label-key=mwForm.question.grid.cellInputType></mw-label><md-select ng-attr-id=mw-grid-cell-input-type-{{ctrl.question.id}} ng-model=ctrl.question.grid.cellInputType ng-disabled=ctrl.readOnly required><md-option ng-repeat="opt in ctrl.cellInputTypes" ng-value=opt>{{\'mwForm.question.grid.cellInputTypes.\'+opt|ngtranslate}}</md-option></md-select></md-input-container></div></div><div class=mw-grid-row-list ng-sortable=ctrl.rowsSortableConfig ng-model=ctrl.question.grid.rows role=list><div class="mw-grid-item form-group" ng-repeat="row in ctrl.question.grid.rows" role=listitem layout=row layout-align="start center"><div flex-gt-xs=20><mw-label label-for=mw-grid-row-{{row.id}}-label label-class=col-sm-2 label-key=mwForm.question.grid.rowLabel label-translate-values="{row: row.orderNo}"></mw-label></div><div flex><div class=drag-handle><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input ng-attr-id=mw-grid-row-{{row.id}}-label wd-focus-me=ctrl.isNewInput[row.id] type=text ng-model=row.label ng-keypress="ctrl.keyPressedOnInput($event,row, \'row\')" required class="form-control mw-item-label-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeRow(row) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div></div><div class="mw-grid-item form-group add-new-item-widget" ng-if=!ctrl.readOnly layout=row layout-align="start center"><div flex-gt-xs=20><label translate=mwForm.question.grid.rowLabel translate-values="{row: ctrl.question.grid.rows.length+1}">Etykieta wiersza {{ctrl.question.grid.rows.length+1}}</label></div><div flex><div class=drag-handle></div><span ng-click=ctrl.addNewRow() role=button><md-input-container><input type=text required class=form-control value="{{\'mwForm.question.grid.clickToAddRow\'|ngtranslate}}"></md-input-container></span></div></div></div><div class=row><div class="mw-grid-separator col-sm-9 col-sm-offset-1"></div></div><div class="form-horizontal mw-grid-cols-builder"><div class=mw-grid-col-list ng-sortable=ctrl.colsSortableConfig ng-model=ctrl.question.grid.cols role=list><div class="mw-grid-item form-group" ng-repeat="col in ctrl.question.grid.cols" role=listitem layout=row layout-align="start center"><div flex-gt-xs=20><mw-label label-for=mw-grid-col-{{col.id}}-label label-class="col-sm-2 control-label" label-key=mwForm.question.grid.columnLabel label-translate-values="{col: col.orderNo}"></mw-label></div><div flex><div class=drag-handle><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input ng-attr-id=mw-grid-col-{{col.id}}-label wd-focus-me=ctrl.isNewInput[col.id] type=text ng-model=col.label ng-keypress="ctrl.keyPressedOnInput($event,col, \'col\')" required class="form-control mw-item-label-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeCol(col) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div></div><div class="mw-grid-item form-group add-new-item-widget" ng-if=!ctrl.readOnly layout=row layout-align="start center"><div flex-gt-xs=20><label class="col-sm-2 control-label" translate=mwForm.question.grid.columnLabel translate-values="{col: ctrl.question.grid.cols.length+1}">Etykieta kolumny {{ctrl.question.grid.cols.length+1}}</label></div><div flex><div class=drag-handle></div><span ng-click=ctrl.addNewCol() role=button><md-input-container><input type=text required class=form-control value="{{\'mwForm.question.grid.clickToAddColumn\'|ngtranslate}}"></md-input-container></span></div></div></div></div>'),e.put("mw-question-offered-answer-list-builder.html",'<div class=question-offered-answer-list-builder><div class=question-offered-answer-list ng-sortable=ctrl.offeredAnswersSortableConfig ng-model=ctrl.question.offeredAnswers role=list><div class=mw-question-offered-answer ng-repeat="answer in ctrl.question.offeredAnswers" role=listitem><div class=drag-handle ng-if=!ctrl.readOnly><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><div class=option-type-indicator><i ng-if="ctrl.question.type==\'radio\'" class="fa fa-circle-thin fa-fw"></i> <i ng-if="ctrl.question.type==\'checkbox\'" class="fa fa-square-o fa-fw"></i></div><md-input-container><input wd-focus-me=ctrl.isNewAnswer[answer.id] type=text ng-model=answer.value ng-keypress=ctrl.keyPressedOnInput($event,answer) required class="form-control offered-answer-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeOfferedAnswer(answer) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button><span ng-if=ctrl.question.pageFlowModifier class=form-inline><md-input-container><md-select ng-model=answer.pageFlow ng-disabled=ctrl.readOnly><md-option ng-value=pageFlow ng-repeat="pageFlow in ctrl.possiblePageFlow">{{ pageFlow.label|ngtranslate:pageFlow }}</md-option></md-select></md-input-container></span></div></div><div class="mw-question-offered-answer add-new-answer-widget" ng-if=!ctrl.readOnly><div class=drag-handle></div><div class=option-type-indicator><i ng-if="ctrl.question.type==\'radio\'" class="fa fa-circle-thin fa-fw"></i> <i ng-if="ctrl.question.type==\'checkbox\'" class="fa fa-square-o fa-fw"></i></div><span ng-click=ctrl.addNewOfferedAnswer() role=button><md-input-container><input type=text class="form-control offered-answer-value" value="{{\'mwForm.question.buttons.addOption\'|ngtranslate}}"></md-input-container></span> <span class=add-custom-answer ng-if="!ctrl.disableOtherAnswer && !ctrl.question.otherAnswer"><span translate=mwForm.question.orLabel>or</span><md-button role=button ng-click=ctrl.addCustomAnswer() translate=mwForm.question.buttons.addOther>Dodaj "Inne"</md-button></span></div><div class="mw-question-offered-answer custom-answer" ng-if=ctrl.question.otherAnswer><div class=drag-handle ng-if=!ctrl.readOnly></div><div class=option-type-indicator><i ng-if="ctrl.question.type==\'radio\'" class="fa fa-circle-thin fa-fw"></i> <i ng-if="ctrl.question.type==\'checkbox\'" class="fa fa-square-o fa-fw"></i></div><label translate=mwForm.question.otherLabel>Inna:</label><md-input-container><input type=text value="{{\'mwForm.question.userAnswer\'|ngtranslate}}" class="form-control offered-answer-value" readonly></md-input-container><md-button type=button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeCustomAnswer() ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div>'),e.put("mw-question-priority-list-builder.html",'<div class=mw-question-priority-list-builder><div class=question-priority-list ng-sortable=ctrl.itemsSortableConfig ng-model=ctrl.question.priorityList role=list><div class=mw-question-priority-list-item ng-repeat="item in ctrl.question.priorityList" role=listitem><div class=drag-handle ng-if=!ctrl.readOnly><i class="fa fa-arrows-v fa-lg handle-inner"></i></div><md-input-container><input wd-focus-me=ctrl.isNewItem[item.id] type=text ng-model=item.value ng-keypress=ctrl.keyPressedOnInput($event,item) required class="form-control item-value" ng-readonly=ctrl.readOnly></md-input-container><md-button role=button class="md-raised md-icon-button remove-item-button" ng-click=ctrl.removeItem(item) ng-if=!ctrl.readOnly ng-attr-title="{{\'mwForm.buttons.remove\' | ngtranslate}}"><md-tooltip md-direction=top>{{\'mwForm.buttons.remove\' | ngtranslate}}</md-tooltip><i class="fa fa-times"></i></md-button></div></div><div class="mw-question-priority-list-item add-new-item-widget"><div class=drag-handle></div><span ng-click=ctrl.addNewItem() role=button><md-input-container><input type=text required class=form-control value="{{\'mwForm.question.priority.clickToAddItem\'|ngtranslate}}"></md-input-container></span></div></div>')}]),angular.module("mwFormViewer",["ngSanitize","ui.bootstrap","ng-sortable","pascalprecht.translate"]).config(["$translateProvider",function(e){e.useStaticFilesLoader({prefix:"bower_components/insight-surveys/dist/i18n/",suffix:"/angular-surveys.json"}),e.useSanitizeValueStrategy("sanitize"),e.preferredLanguage("en")}]).filter("ngtranslate",["$parse","$translate",function(a,o){"use strict";var e=function(e,t,n,r){if(!angular.isObject(t)){var i=this||{__SCOPE_IS_NOT_AVAILABLE:"More info at https://github.com/angular/angular.js/commit/8863b9d04c722b278fa93c5d66ad1e578ad6eb1f"};t=a(t)(i)}return o.instant(e,t,n,r)};return o.statefulFilter()&&(e.$stateful=!0),e}]),angular.module("mwFormViewer").directive("mwPriorityList",function(){return{replace:!0,restrict:"AE",require:"^mwFormQuestion",scope:{question:"=",questionResponse:"=",readOnly:"=?",options:"=?"},templateUrl:"mw-priority-list.html",controllerAs:"ctrl",bindToController:!0,controller:function(){function n(e){if(e)for(var t=0;t<e.length;t++){e[t].priority=t+1}}var r=this;this.$onInit=function(){r.questionResponse.priorityList||(r.questionResponse.priorityList=[]),r.idToItem={},r.questionResponse.priorityList.sort(function(e,t){return e.priority-t.priority}),r.availableItems=[],r.question.priorityList.forEach(function(t){r.idToItem[t.id]=t,r.questionResponse.priorityList.some(function(e){return t.id==e.id})||r.availableItems.push({priority:null,id:t.id})}),r.allItemsOrdered=0==r.availableItems.length||null;var e={disabled:r.readOnly,ghostClass:"beingDragged"};r.orderedConfig=angular.extend({},e,{group:{name:"A",pull:!1,put:["B"]},onEnd:function(e,t){n(r.questionResponse.priorityList)}}),r.availableConfig=angular.extend({},e,{sort:!1,group:{name:"B",pull:["A"],put:!1},onEnd:function(e,t){n(r.questionResponse.priorityList),r.allItemsOrdered=0==r.availableItems.length||null}})},1===angular.version.major&&angular.version.minor<5&&this.$onInit()},link:function(e,t,n,r){e.ctrl.print=r.print}}}),angular.module("mwFormViewer").directive("mwFormViewer",["$rootScope",function(a){return{replace:!0,restrict:"AE",scope:{formData:"=",responseData:"=",templateData:"=?",readOnly:"=?",options:"=?",formStatus:"=?",onSubmit:"&",api:"=?"},templateUrl:"mw-form-viewer.html",controllerAs:"ctrl",bindToController:!0,controller:["$scope","$timeout","$interpolate",function(e,t,n){function r(){var t=1;void 0!==i.formData.pages&&i.formData.pages.forEach(function(e){void 0!==e.elements&&e.elements.forEach(function(e){"question"==e.type&&void 0!==e.question&&(e.question.number=t++)})})}var i=this;i.$onInit=function(){i.defaultOptions={nestedForm:!1,autoStart:!1,disableSubmit:!1},i.options=angular.extend({},i.defaultOptions,i.options),i.submitStatus="NOT_SUBMITTED",i.formSubmitted=!1,i.formData.pages.sort(function(e,t){return e.number-t.number}),i.pageIdToPage={},i.formData.pages.forEach(function(e){i.pageIdToPage[e.id]=e}),i.buttons={prevPage:{visible:!1,disabled:!1},nextPage:{visible:!1,disabled:!1},submitForm:{visible:!1,disabled:!1}},i.resetPages(),i.api&&(i.api.reset=function(){for(var e in i.responseData)i.responseData.hasOwnProperty(e)&&delete i.responseData[e];i.buttons.submitForm.visible=!1,i.buttons.prevPage.visible=!1,i.buttons.nextPage.visible=!1,i.currentPage=null,t(i.resetPages,0)}),setTimeout(function(){r()},0),e.$watch("ctrl.formData",function(e,t){r()})},i.submitForm=function(){i.formSubmitted=!0,i.submitStatus="IN_PROGRESS",i.setCurrentPage(null),i.onSubmit().then(function(){i.submitStatus="SUCCESS"}).catch(function(){i.submitStatus="ERROR"})},i.setCurrentPage=function(e){return(i.currentPage=e)?(i.setDefaultNextPage(),void i.initResponsesForCurrentPage()):(i.buttons.submitForm.visible=!1,i.buttons.prevPage.visible=!1,void(i.buttons.nextPage.visible=!1))},i.setDefaultNextPage=function(){var e=i.formData.pages.indexOf(i.currentPage);if(i.currentPage.isFirst=0==e,i.currentPage.isLast=e==i.formData.pages.length-1,i.buttons.submitForm.visible=i.currentPage.isLast,i.buttons.prevPage.visible=!i.currentPage.isFirst,i.buttons.nextPage.visible=!i.currentPage.isLast,i.currentPage.isLast?i.nextPage=null:i.nextPage=i.formData.pages[e+1],i.currentPage.pageFlow){var t=!1;i.currentPage.pageFlow.formSubmit?t=!(i.nextPage=null):i.currentPage.pageFlow.page?(i.nextPage=i.pageIdToPage[i.currentPage.pageFlow.page.id],i.buttons.nextPage.visible=!0):i.currentPage.isLast&&(t=!(i.nextPage=null)),i.buttons.submitForm.visible=t,i.buttons.nextPage.visible=!t}},i.initResponsesForCurrentPage=function(){i.currentPage.elements.forEach(function(e){var t=e.question;t&&!i.responseData[t.id]&&(i.responseData[t.id]={})})},i.beginResponse=function(){0<i.formData.pages.length&&(i.setCurrentPage(i.formData.pages[0]),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:i.currentPage}))},i.resetPages=function(){i.prevPages=[],i.currentPage=null,i.nextPage=null,i.formSubmitted=!1,i.options.autoStart&&i.beginResponse()},i.goToPrevPage=function(){var e=i.prevPages.pop();i.setCurrentPage(e),i.updateNextPageBasedOnAllAnswers(),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:i.currentPage})},i.goToNextPage=function(){i.prevPages.push(i.currentPage),i.updateNextPageBasedOnAllAnswers(),i.setCurrentPage(i.nextPage),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:i.currentPage})},i.updateNextPageBasedOnAllAnswers=function(){i.currentPage.elements.forEach(function(e){i.updateNextPageBasedOnPageElementAnswers(e)}),i.buttons.submitForm.visible=!i.nextPage,i.buttons.nextPage.visible=!!i.nextPage},i.updateNextPageBasedOnPageElementAnswers=function(e){var t=e.question;t&&t.pageFlowModifier&&t.offeredAnswers.forEach(function(e){e.pageFlow&&i.responseData[t.id].selectedAnswer==e.id&&(e.pageFlow.formSubmit?i.nextPage=null:e.pageFlow.page&&(i.nextPage=i.pageIdToPage[e.pageFlow.page.id]))})},i.onResponseChanged=function(e){i.setDefaultNextPage(),i.updateNextPageBasedOnAllAnswers()},i.print=function(e){return e&&i.templateData?n(e)(i.templateData):e},1===angular.version.major&&angular.version.minor<5&&i.$onInit()}],link:function(e,t,n){var i=e.ctrl;i.formStatus&&(i.formStatus.form=i.form),e.$on("mwForm.pageEvents.changePage",function(e,t){if(void 0!==t.page&&t.page<i.formData.pages.length){i.resetPages();for(var n=0;n<t.page;n++)i.prevPages.push(i.formData.pages[n]);var r=i.formData.pages[t.page];i.setCurrentPage(r),a.$broadcast("mwForm.pageEvents.pageCurrentChanged",{currentPage:r}),i.updateNextPageBasedOnAllAnswers()}})}}}]),angular.module("mwFormViewer").factory("FormQuestionId",function(){var e=0;return{next:function(){return++e}}}).directive("mwFormQuestion",function(){return{replace:!0,restrict:"AE",require:"^mwFormViewer",scope:{question:"=",questionResponse:"=",readOnly:"=?",options:"=?",onResponseChanged:"&?"},templateUrl:"mw-form-question.html",controllerAs:"ctrl",bindToController:!0,controller:["$timeout","FormQuestionId",function(e,t){var n=this;this.$onInit=function(){n.id=t.next(),"radio"==n.question.type?(n.questionResponse.selectedAnswer||(n.questionResponse.selectedAnswer=null),n.questionResponse.other&&(n.isOtherAnswer=!0)):"checkbox"==n.question.type?(n.questionResponse.selectedAnswers&&n.questionResponse.selectedAnswers.length?n.selectedAnswer=!0:n.questionResponse.selectedAnswers=[],n.questionResponse.other&&(n.isOtherAnswer=!0)):"grid"==n.question.type?n.question.grid.cellInputType||(n.question.grid.cellInputType="radio"):"division"==n.question.type?(n.computeDivisionSum=function(){n.divisionSum=0,n.question.divisionList.forEach(function(e){0==n.questionResponse[e.id]||n.questionResponse[e.id]?n.divisionSum+=n.questionResponse[e.id]:(n.questionResponse[e.id]=null,n.divisionSum+=0)})},n.computeDivisionSum()):"date"!=n.question.type&&"datetime"!=n.question.type&&"time"!=n.question.type||n.questionResponse.answer&&(n.questionResponse.answer=new Date(n.questionResponse.answer)),n.isAnswerSelected=!1,n.initialized=!0},n.selectedAnswerChanged=function(){delete n.questionResponse.other,n.isOtherAnswer=!1,n.answerChanged()},n.otherAnswerRadioChanged=function(){n.isOtherAnswer&&(n.questionResponse.selectedAnswer=null),n.answerChanged()},n.otherAnswerCheckboxChanged=function(){n.isOtherAnswer||delete n.questionResponse.other,n.selectedAnswer=!(!n.questionResponse.selectedAnswers.length&&!n.isOtherAnswer)||null,n.answerChanged()},n.toggleSelectedAnswer=function(e){-1===n.questionResponse.selectedAnswers.indexOf(e.id)?n.questionResponse.selectedAnswers.push(e.id):n.questionResponse.selectedAnswers.splice(n.questionResponse.selectedAnswers.indexOf(e.id),1),n.selectedAnswer=!(!n.questionResponse.selectedAnswers.length&&!n.isOtherAnswer)||null,n.answerChanged()},n.answerChanged=function(){n.onResponseChanged&&n.onResponseChanged()},1===angular.version.major&&angular.version.minor<5&&this.$onInit()}],link:function(e,t,n,r){e.ctrl.print=r.print}}}),angular.module("mwFormViewer").directive("mwFormConfirmationPage",function(){return{replace:!0,restrict:"AE",require:"^mwFormViewer",scope:{submitStatus:"=",confirmationMessage:"=",readOnly:"=?"},templateUrl:"mw-form-confirmation-page.html",controllerAs:"ctrl",bindToController:!0,controller:function(){},link:function(e,t,n,r){e.ctrl.print=r.print}}}),angular.module("mwFormViewer").run(["$templateCache",function(e){e.put("mw-form-confirmation-page.html","<div class=mw-form-confirmation-page><div class=mw-confirmation-message ng-if=\"ctrl.submitStatus=='SUCCESS'\"><span ng-if=ctrl.confirmationMessage>{{::ctrl.print(ctrl.confirmationMessage)}}</span> <span ng-if=!ctrl.confirmationMessage translate=mwForm.confirmationPage.defaultMessage>Twoja odpowiedź została zapisana</span></div><div class=mw-error-message ng-if=\"ctrl.submitStatus=='ERROR'\"><span translate=mwForm.confirmationPage.errorMessage>Bład. Twoja odpowiedź nie została zapisana.</span></div><div class=mw-pending-message ng-if=\"ctrl.submitStatus=='IN_PROGRESS'\"><span translate=mwForm.confirmationPage.pendingMessage>Zapisywanie odpowiedzi w trakcie.</span></div></div>"),e.put("mw-form-question.html",'<div class=mw-form-question><div class=mw-question-text>{{::ctrl.print(ctrl.question.text)}} <span ng-if=ctrl.question.required>*</span></div><div class=mw-question-answers ng-switch=ctrl.question.type><div ng-switch-when=text><md-input-container class=md-block md-no-float><input class=form-control type=text ng-model=ctrl.questionResponse.answer placeholder="{{\'mwForm.question.preview.text\'|ngtranslate}}" ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=textarea><md-input-container class=md-block md-no-float><textarea msd-elastic class=form-control ng-model=ctrl.questionResponse.answer placeholder="{{\'mwForm.question.preview.textarea\'|ngtranslate}}" ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></textarea></md-input-container></div><div ng-switch-when=radio><md-radio-group ng-model=ctrl.questionResponse.selectedAnswer ng-required="ctrl.question.required &&!ctrl.isOtherAnswer" ng-disabled=ctrl.readOnly ng-change=ctrl.selectedAnswerChanged()><md-radio-button ng-repeat="answer in ctrl.question.offeredAnswers" aria-label="{{ answer.value }}" ng-value=answer.id name=answer-for-question-{{ctrl.question.id}} ng-readonly=ctrl.readOnly>{{::ctrl.print(answer.value)}}</md-radio-button></md-radio-group><md-radio-group ng-model=ctrl.isOtherAnswer ng-change=ctrl.otherAnswerRadioChanged() ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><div><md-radio-button ng-model=ctrl.isOtherAnswer ng-value=true name=other-answer-for-question-{{ctrl.question.id}} ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-radio-button></div><div><md-input-container><input type=text name=other-answer-for-question-{{ctrl.question.id}} ng-model=ctrl.questionResponse.other class=form-control ng-disabled="!ctrl.isOtherAnswer || ctrl.readOnly" ng-required=ctrl.isOtherAnswer></md-input-container></div></div></md-radio-group></div><div ng-switch-when=checkbox><div class=checkbox ng-repeat="answer in ::ctrl.question.offeredAnswers" ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly><md-checkbox name=answer-for-question-{{ctrl.question.id}} ng-checked="ctrl.questionResponse.selectedAnswers.indexOf(answer.id) != -1" ng-click=ctrl.toggleSelectedAnswer(answer) ng-disabled=ctrl.readOnly ng-readonly=ctrl.readOnly>{{::ctrl.print(answer.value)}}</md-checkbox></div><div layout=row layout-align="start center" class=mw-question-other-answer ng-if=ctrl.question.otherAnswer><md-checkbox name=answer-for-question-{{ctrl.question.id}} ng-model=ctrl.isOtherAnswer ng-change=ctrl.otherAnswerCheckboxChanged() ng-readonly=ctrl.readOnly ng-disabled=ctrl.readOnly><span translate=mwForm.question.preview.otherAnswer>Inna</span>:</md-checkbox><div><md-input-container><input type=text ng-model=ctrl.questionResponse.other name=other-answer-for-question-{{ctrl.question.id}} class=form-control ng-disabled="!ctrl.isOtherAnswer || ctrl.readOnly" ng-required=ctrl.isOtherAnswer></md-input-container></div></div><input type=hidden ng-model=ctrl.selectedAnswer ng-required="ctrl.question.required &&!ctrl.isOtherAnswer"></div><div ng-switch-when=select><md-input-container><md-select ng-disabled=ctrl.readOnly ng-required=ctrl.question.required ng-model=ctrl.questionResponse.selectedAnswer><md-option ng-repeat="answer in ctrl.question.offeredAnswers" ng-value=answer.id>{{::ctrl.print(answer.value)}}</md-option></md-select></md-input-container></div><div ng-switch-when=grid><div><table class="mw-data-table mw-no-border" border=0 cellpadding=5 cellspacing=0><thead><tr><td></td><td ng-repeat="col in ::ctrl.question.grid.cols"><label>{{::ctrl.print(col.label)}}</label></td></tr></thead><tbody><tr ng-repeat="row in ::ctrl.question.grid.rows"><td>{{::ctrl.print(row.label)}}</td><td ng-repeat="col in ctrl.question.grid.cols" ng-switch=ctrl.question.grid.cellInputType><md-radio-group ng-switch-when=radio ng-model=ctrl.questionResponse[row.id] ng-required=ctrl.question.required ng-disabled=ctrl.readOnly><md-radio-button ng-value=col.id name=answer-for-question-{{row.id}} ng-disabled=ctrl.readOnly></md-radio-button></md-radio-group><div ng-switch-when=checkbox><md-checkbox ng-model=ctrl.questionResponse[row.id][col.id] name=answer-for-question-{{row.id}}-{{col.id}} ng-required=ctrl.question.required ng-disabled=ctrl.readOnly></md-checkbox></div><md-input-container ng-switch-default><input ng-attr-type={{ctrl.question.grid.cellInputType}} ng-model=ctrl.questionResponse[row.id][col.id] name=answer-for-question-{{row.id}}-{{col.id}} ng-required=ctrl.question.required ng-disabled=ctrl.readOnly></md-input-container></td></tr></tbody></table></div></div><div ng-switch-when=division class=mw-division-list ng-form=ctrl.divisionForm><div class=form-inline style="margin-bottom: 5px" ng-repeat="item in ctrl.question.divisionList"><div class=form-group><label>{{::ctrl.print(item.value)}}</label><md-input-container md-no-float><input type=number class=form-control ng-model=ctrl.questionResponse[item.id] min=0 max={{ctrl.question.quantity}} required style="width: 80px" ng-change=ctrl.computeDivisionSum() ng-readonly=ctrl.readOnly></md-input-container><span>{{::ctrl.print(ctrl.question.unit)}}</span></div></div><div class=form-inline style="margin-bottom: 5px"><div class=form-group><label translate=mwForm.question.division.assignedSumLabel>Przydzielono</label><md-input-container md-no-float><input type=number class="form-control strict-validation" ng-model=ctrl.divisionSum min={{ctrl.question.quantity}} max={{ctrl.question.quantity}} style="width: 80px" readonly></md-input-container><span>{{ctrl.question.unit}} <span translate=mwForm.question.division.fromRequiredLabel>z wymaganych</span> <strong>{{ctrl.question.quantity}}</strong> {{ctrl.question.unit}} <i ng-show=ctrl.divisionForm.$valid class="fa fa-check" style=color:#008000;></i></span></div></div></div><mw-priority-list ng-switch-when=priority question-response=ctrl.questionResponse question=ctrl.question read-only=ctrl.readOnly></mw-priority-list><div ng-switch-when=number class=form-inline><md-input-container><input class=form-control min={{ctrl.question.min}} max={{ctrl.question.max}} type=number ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=date class=form-inline><md-input-container><input class=form-control type=date ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=datetime class=form-inline><md-input-container><input class=form-control type=datetime ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=time class=form-inline><md-input-container><input class=form-control type=time ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=email class=form-inline><md-input-container><input class=form-control type=email ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=range class=mw-range><md-slider min={{ctrl.question.min}} max={{ctrl.question.max}} type=range ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-disabled=ctrl.readOnly></md-slider><strong class=mw-range-value-label>{{ctrl.questionResponse.answer}}</strong></div><div ng-switch-when=url class=form-inline><md-input-container><input class=form-control type=url ng-model=ctrl.questionResponse.answer ng-required=ctrl.question.required ng-readonly=ctrl.readOnly></md-input-container></div><div ng-switch-when=star class=stars><input ng-repeat-start="n in [].constructor(ctrl.question.noStars) track by $index" type=radio id="{{\'star\' + (ctrl.question.noStars - $index)}}" ng-model=ctrl.questionResponse.answer ng-value="{{ctrl.question.noStars - $index}}" ng-required=ctrl.question.required> <label for="{{\'star\' + (ctrl.question.noStars - $index)}}" ng-show=!ctrl.readOnly class=star><i class="fa fa-star"></i></label> <span ng-show=ctrl.readOnly class=star><i class="fa fa-star"></i></span> <span ng-repeat-end class=stars-end></span></div></div></div>'),e.put("mw-form-viewer-content.html",'<div class=mw-form-viewer-content><h1 class=form-title>{{ctrl.formData.name}}</h1><div class=mw-title-page ng-if="!ctrl.currentPage && !ctrl.formSubmitted"><div class=mw-form-description>{{ctrl.formData.description}}</div><md-button type=button class="md-raised begin-response-button" ng-click=ctrl.beginResponse() translate=mwForm.buttons.begin>Rozpocznij</md-button></div><div class=mw-form-page ng-if=ctrl.currentPage><h2 class=mw-page-title ng-if="ctrl.currentPage.namedPage && ctrl.currentPage.name">{{ctrl.currentPage.name}}</h2><div class=mw-form-page-element-list><div class=mw-page-element ng-repeat="pageElement in ctrl.currentPage.elements" ng-switch=pageElement.type><mw-form-question ng-switch-when=question question=pageElement.question question-response=ctrl.responseData[pageElement.question.id] read-only=ctrl.readOnly on-response-changed=ctrl.onResponseChanged(pageElement)></mw-form-question><div class=image-element ng-switch-when=image><figure ng-class="\'align-\'+pageElement.image.align"><img ng-src={{pageElement.image.src}} ng-attr-alt=pageElement.image.caption><figcaption ng-if=pageElement.image.caption>{{pageElement.image.caption}}</figcaption></figure></div><div ng-switch-when=paragraph><p ng-bind-html=::ctrl.print(pageElement.paragraph.html)></p></div></div></div></div><mw-form-confirmation-page ng-if=ctrl.formSubmitted confirmation-message=ctrl.formData.confirmationMessage submit-status=ctrl.submitStatus></mw-form-confirmation-page><div class=mw-form-action-list><md-button type=button ng-if=ctrl.buttons.prevPage.visible class="md-raised prev-page-button" ng-click=ctrl.goToPrevPage()><i class="fa fa-chevron-left"></i> <span translate=mwForm.buttons.back>Wstecz</span></md-button><md-button type=button ng-disabled=ctrl.form.$invalid ng-if=ctrl.buttons.nextPage.visible class="md-raised next-page-button" ng-click=ctrl.goToNextPage()><span translate=mwForm.buttons.next>Dalej</span> <i class="fa fa-chevron-right"></i></md-button><md-button type=submit ng-disabled="ctrl.options.disableSubmit || ctrl.form.$invalid" ng-if="ctrl.buttons.submitForm.visible && !ctrl.readOnly" class="md-raised next-page-button" ng-click=ctrl.submitForm()><span translate=mwForm.buttons.submit>Submit</span></md-button></div></div>'),e.put("mw-form-viewer.html","<div class=mw-form-viewer><form ng-if=!ctrl.options.nestedForm name=ctrl.form role=form novalidate ng-include=\"'mw-form-viewer-content.html'\"></form><div ng-if=ctrl.options.nestedForm ng-form=ctrl.form ng-include=\"'mw-form-viewer-content.html'\"></div></div>"),e.put("mw-priority-list.html",'<div class=mw-priority-list><table><thead><tr><th translate=mwForm.question.priority.sorted>Sorted</th><th translate=mwForm.question.priority.available>Available</th></tr></thead><tbody><tr><td class=mw-ordered-items ng-sortable=ctrl.orderedConfig ng-model=ctrl.questionResponse.priorityList><div class=mw-item ng-repeat="item in ctrl.questionResponse.priorityList"><strong>{{$index+1}}.</strong> {{::ctrl.print(ctrl.idToItem[item.id].value)}}</div></td><td class=mw-available-items ng-sortable=ctrl.availableConfig ng-model=ctrl.availableItems><div class=mw-item ng-repeat="item in ctrl.availableItems">{{::ctrl.print(ctrl.idToItem[item.id].value)}}</div></td></tr></tbody></table><input type=hidden ng-model=ctrl.allItemsOrdered ng-required=ctrl.question.required></div>')}]),function(e,t){"object"==typeof exports&&exports&&"string"!=typeof exports.nodeName?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):(e.Mustache={},t(e.Mustache))}(this,function(w){var t=Object.prototype.toString,C=Array.isArray||function(e){return"[object Array]"===t.call(e)};function l(e){return"function"==typeof e}function A(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function s(e,t){return null!=e&&"object"==typeof e&&t in e}var r=RegExp.prototype.test;var i=/\S/;function S(e){return t=i,n=e,!r.call(t,n);var t,n}var n={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};var T=/\s*/,x=/\s+/,k=/\s*=/,E=/\s*\}/,D=/#|\^|\/|>|\{|&|=|!/;function I(e){this.string=e,this.tail=e,this.pos=0}function a(e,t){this.view=e,this.cache={".":this.view},this.parent=t}function e(){this.cache={}}I.prototype.eos=function(){return""===this.tail},I.prototype.scan=function(e){var t=this.tail.match(e);if(!t||0!==t.index)return"";var n=t[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n},I.prototype.scanUntil=function(e){var t,n=this.tail.search(e);switch(n){case-1:t=this.tail,this.tail="";break;case 0:t="";break;default:t=this.tail.substring(0,n),this.tail=this.tail.substring(n)}return this.pos+=t.length,t},a.prototype.push=function(e){return new a(e,this)},a.prototype.lookup=function(e){var t,n=this.cache;if(n.hasOwnProperty(e))t=n[e];else{for(var r,i,a=this,o=!1;a;){if(0<e.indexOf("."))for(t=a.view,r=e.split("."),i=0;null!=t&&i<r.length;)i===r.length-1&&(o=s(t,r[i])),t=t[r[i++]];else t=a.view[e],o=s(a.view,e);if(o)break;a=a.parent}n[e]=t}return l(t)&&(t=t.call(this.view)),t},e.prototype.clearCache=function(){this.cache={}},e.prototype.parse=function(e,t){var n=this.cache,r=n[e];return null==r&&(r=n[e]=function(e,t){if(!e)return[];var n,r,i,a=[],o=[],s=[],c=!1,l=!1;function u(){if(c&&!l)for(;s.length;)delete o[s.pop()];else s=[];l=c=!1}function f(e){if("string"==typeof e&&(e=e.split(x,2)),!C(e)||2!==e.length)throw new Error("Invalid tags: "+e);n=new RegExp(A(e[0])+"\\s*"),r=new RegExp("\\s*"+A(e[1])),i=new RegExp("\\s*"+A("}"+e[1]))}f(t||w.tags);for(var d,h,p,m,g,_,b=new I(e);!b.eos();){if(d=b.pos,p=b.scanUntil(n))for(var v=0,y=p.length;v<y;++v)S(m=p.charAt(v))?s.push(o.length):l=!0,o.push(["text",m,d,d+1]),d+=1,"\n"===m&&u();if(!b.scan(n))break;if(c=!0,h=b.scan(D)||"name",b.scan(T),"="===h?(p=b.scanUntil(k),b.scan(k),b.scanUntil(r)):"{"===h?(p=b.scanUntil(i),b.scan(E),b.scanUntil(r),h="&"):p=b.scanUntil(r),!b.scan(r))throw new Error("Unclosed tag at "+b.pos);if(g=[h,p,d,b.pos],o.push(g),"#"===h||"^"===h)a.push(g);else if("/"===h){if(!(_=a.pop()))throw new Error('Unopened section "'+p+'" at '+d);if(_[1]!==p)throw new Error('Unclosed section "'+_[1]+'" at '+d)}else"name"===h||"{"===h||"&"===h?l=!0:"="===h&&f(p)}if(_=a.pop())throw new Error('Unclosed section "'+_[1]+'" at '+b.pos);return function(e){for(var t,n=[],r=n,i=[],a=0,o=e.length;a<o;++a)switch((t=e[a])[0]){case"#":case"^":r.push(t),i.push(t),r=t[4]=[];break;case"/":i.pop()[5]=t[2],r=0<i.length?i[i.length-1][4]:n;break;default:r.push(t)}return n}(function(e){for(var t,n,r=[],i=0,a=e.length;i<a;++i)(t=e[i])&&("text"===t[0]&&n&&"text"===n[0]?(n[1]+=t[1],n[3]=t[3]):(r.push(t),n=t));return r}(o))}(e,t)),r},e.prototype.render=function(e,t,n){var r=this.parse(e),i=t instanceof a?t:new a(t);return this.renderTokens(r,i,n,e)},e.prototype.renderTokens=function(e,t,n,r){for(var i,a,o,s="",c=0,l=e.length;c<l;++c)o=void 0,"#"===(a=(i=e[c])[0])?o=this.renderSection(i,t,n,r):"^"===a?o=this.renderInverted(i,t,n,r):">"===a?o=this.renderPartial(i,t,n,r):"&"===a?o=this.unescapedValue(i,t):"name"===a?o=this.escapedValue(i,t):"text"===a&&(o=this.rawValue(i)),void 0!==o&&(s+=o);return s},e.prototype.renderSection=function(e,t,n,r){var i=this,a="",o=t.lookup(e[1]);if(o){if(C(o))for(var s=0,c=o.length;s<c;++s)a+=this.renderTokens(e[4],t.push(o[s]),n,r);else if("object"==typeof o||"string"==typeof o||"number"==typeof o)a+=this.renderTokens(e[4],t.push(o),n,r);else if(l(o)){if("string"!=typeof r)throw new Error("Cannot use higher-order sections without the original template");null!=(o=o.call(t.view,r.slice(e[3],e[5]),function(e){return i.render(e,t,n)}))&&(a+=o)}else a+=this.renderTokens(e[4],t,n,r);return a}},e.prototype.renderInverted=function(e,t,n,r){var i=t.lookup(e[1]);if(!i||C(i)&&0===i.length)return this.renderTokens(e[4],t,n,r)},e.prototype.renderPartial=function(e,t,n){if(n){var r=l(n)?n(e[1]):n[e[1]];return null!=r?this.renderTokens(this.parse(r),t,n,r):void 0}},e.prototype.unescapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return n},e.prototype.escapedValue=function(e,t){var n=t.lookup(e[1]);if(null!=n)return w.escape(n)},e.prototype.rawValue=function(e){return e[1]},w.name="mustache.js",w.version="2.3.2",w.tags=["{{","}}"];var o=new e;return w.clearCache=function(){return o.clearCache()},w.parse=function(e,t){return o.parse(e,t)},w.render=function(e,t,n){if("string"!=typeof e)throw new TypeError('Invalid template! Template should be a "string" but "'+(C(r=e)?"array":typeof r)+'" was given as the first argument for mustache#render(template, view, partials)');var r;return o.render(e,t,n)},w.to_html=function(e,t,n,r){var i=w.render(e,t,n);if(!l(r))return i;r(i)},w.escape=function(e){return String(e).replace(/[&<>"'`=\/]/g,function(e){return n[e]})},w.Scanner=I,w.Context=a,w.Writer=e,w}),function(e,t){if("function"==typeof define&&define.amd)define(["moment"],t);else if("object"==typeof exports)try{module.exports=t(require("moment"))}catch(e){module.exports=t}e&&(e.momentDurationFormatSetup=e.moment?t(e.moment):t)}(this,function(ee){var te=!1,S=!1,ne=!1,T=!1,re="escape years months weeks days hours minutes seconds milliseconds general".split(" "),ie=[{type:"seconds",targets:[{type:"minutes",value:60},{type:"hours",value:3600},{type:"days",value:86400},{type:"weeks",value:604800},{type:"months",value:2678400},{type:"years",value:31536e3}]},{type:"minutes",targets:[{type:"hours",value:60},{type:"days",value:1440},{type:"weeks",value:10080},{type:"months",value:44640},{type:"years",value:525600}]},{type:"hours",targets:[{type:"days",value:24},{type:"weeks",value:168},{type:"months",value:744},{type:"years",value:8760}]},{type:"days",targets:[{type:"weeks",value:7},{type:"months",value:31},{type:"years",value:365}]},{type:"months",targets:[{type:"years",value:12}]}];function ae(e,t){return!(t.length>e.length)&&-1!==e.indexOf(t)}function x(e){for(var t="";e;)t+="0",e-=1;return t}function k(e,t){var n=e+"+"+he(ye(t).sort(),function(e){return e+":"+t[e]}).join(",");return k.cache[n]||(k.cache[n]=Intl.NumberFormat(e,t)),k.cache[n]}function oe(e,t,n){var r,i,a,o=t.useToLocaleString,s=t.useGrouping,c=s&&t.grouping.slice(),l=t.maximumSignificantDigits,u=t.minimumIntegerDigits||1,f=t.fractionDigits||0,d=t.groupingSeparator,h=t.decimalSeparator;if(o&&n){var p={minimumIntegerDigits:u,useGrouping:s};if(f&&(p.maximumFractionDigits=f,p.minimumFractionDigits=f),l&&0<e&&(p.maximumSignificantDigits=l),ne){var m;if(!T)(m=ve({},t)).useGrouping=!1,m.decimalSeparator=".",e=parseFloat(oe(e,m),10);return k(n,p).format(e)}return S||((m=ve({},t)).useGrouping=!1,m.decimalSeparator=".",e=parseFloat(oe(e,m),10)),e.toLocaleString(n,p)}var g=(l?e.toPrecision(l+1):e.toFixed(f+1)).split("e");a=g[1]||"",i=(g=g[0].split("."))[1]||"";var _=(r=g[0]||"").length,b=i.length,v=_+b,y=r+i;(l&&v===l+1||!l&&b===f+1)&&((y=function(e){for(var t=e.split("").reverse(),n=0,r=!0;r&&n<t.length;)n?"9"===t[n]?t[n]="0":(t[n]=(parseInt(t[n],10)+1).toString(),r=!1):(parseInt(t[n],10)<5&&(r=!1),t[n]="0"),n+=1;return r&&t.push("1"),t.reverse().join("")}(y)).length===v+1&&(_+=1),b&&(y=y.slice(0,-1)),r=y.slice(0,_),i=y.slice(_)),l&&(i=i.replace(/0*$/,""));var w=parseInt(a,10);0<w?i=i.length<=w?(r+=i+=x(w-i.length),""):(r+=i.slice(0,w),i.slice(w)):w<0&&(i=x(Math.abs(w)-r.length)+r+i,r="0"),l||((i=i.slice(0,f)).length<f&&(i+=x(f-i.length)),r.length<u&&(r=x(u-r.length)+r));var C,A="";if(s)for(g=r;g.length;)c.length&&(C=c.shift()),A&&(A=d+A),A=g.slice(-C)+A,g=g.slice(0,-C);else A=r;return i&&(A=A+h+i),A}function se(e,t){return e.label.length>t.label.length?-1:e.label.length<t.label.length?1:0}k.cache={};var ce={durationLabelsStandard:{S:"millisecond",SS:"milliseconds",s:"second",ss:"seconds",m:"minute",mm:"minutes",h:"hour",hh:"hours",d:"day",dd:"days",w:"week",ww:"weeks",M:"month",MM:"months",y:"year",yy:"years"},durationLabelsShort:{S:"msec",SS:"msecs",s:"sec",ss:"secs",m:"min",mm:"mins",h:"hr",hh:"hrs",d:"dy",dd:"dys",w:"wk",ww:"wks",M:"mo",MM:"mos",y:"yr",yy:"yrs"},durationTimeTemplates:{HMS:"h:mm:ss",HM:"h:mm",MS:"m:ss"},durationLabelTypes:[{type:"standard",string:"__"},{type:"short",string:"_"}],durationPluralKey:function(e,t,n){return 1===t&&null===n?e:e+e}};function le(e){return"[object Array]"===Object.prototype.toString.call(e)}function ue(e){return"[object Object]"===Object.prototype.toString.call(e)}function fe(e,t){var n,r=0,i=e&&e.length||0;for("function"!=typeof t&&(n=t,t=function(e){return e===n});r<i;){if(t(e[r]))return e[r];r+=1}}function de(e,t){var n=0,r=e.length;if(e&&r)for(;n<r;){if(!1===t(e[n],n))return;n+=1}}function he(e,t){var n=0,r=e.length,i=[];if(!e||!r)return i;for(;n<r;)i[n]=t(e[n],n),n+=1;return i}function pe(e,t){return he(e,function(e){return e[t]})}function me(e){var t=[];return de(e,function(e){e&&t.push(e)}),t}function ge(e){var t=[];return de(e,function(e){fe(t,e)||t.push(e)}),t}function _e(e,n){var r=[];return de(e,function(t){de(n,function(e){t===e&&r.push(t)})}),ge(r)}function be(n,r){var i=[];return de(n,function(e,t){if(!r(e))return i=n.slice(t),!1}),i}function ve(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function ye(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function we(e,t){var n=0,r=e.length;if(!e||!r)return!1;for(;n<r;){if(!0===t(e[n],n))return!0;n+=1}return!1}function e(e){return"3.6"===e(3.55,"en",{useGrouping:!1,minimumIntegerDigits:1,minimumFractionDigits:1,maximumFractionDigits:1})}function t(e){var t=!0;return!!(t=(t=(t=t&&"1"===e(1,"en",{minimumIntegerDigits:1}))&&"01"===e(1,"en",{minimumIntegerDigits:2}))&&"001"===e(1,"en",{minimumIntegerDigits:3}))&&(!!(t=(t=(t=(t=t&&"100"===e(99.99,"en",{maximumFractionDigits:0,minimumFractionDigits:0}))&&"100.0"===e(99.99,"en",{maximumFractionDigits:1,minimumFractionDigits:1}))&&"99.99"===e(99.99,"en",{maximumFractionDigits:2,minimumFractionDigits:2}))&&"99.990"===e(99.99,"en",{maximumFractionDigits:3,minimumFractionDigits:3}))&&(!!(t=(t=(t=(t=(t=t&&"100"===e(99.99,"en",{maximumSignificantDigits:1}))&&"100"===e(99.99,"en",{maximumSignificantDigits:2}))&&"100"===e(99.99,"en",{maximumSignificantDigits:3}))&&"99.99"===e(99.99,"en",{maximumSignificantDigits:4}))&&"99.99"===e(99.99,"en",{maximumSignificantDigits:5}))&&!!(t=(t=t&&"1,000"===e(1e3,"en",{useGrouping:!0}))&&"1000"===e(1e3,"en",{useGrouping:!1}))))}function n(){var n,e=[].slice.call(arguments),r={};if(de(e,function(e,t){if(!t){if(!le(e))throw"Expected array as the first argument to durationsFormat.";n=e}"string"!=typeof e&&"function"!=typeof e?"number"!=typeof e?ue(e)&&ve(r,e):r.precision=e:r.template=e}),!n||!n.length)return[];r.returnMomentTypes=!0;var t,i=he(n,function(e){return e.format(r)}),a=_e(re,ge(pe((t=[],de(i,function(e){t=t.concat(e)}),t),"type"))),o=r.largest;return o&&(a=a.slice(0,o)),r.returnMomentTypes=!1,r.outputTypes=a,he(n,function(e){return e.format(r)})}function r(){var e=[].slice.call(arguments),c=ve({},this.format.defaults),t=this.asMilliseconds(),n=this.asMonths();"function"==typeof this.isValid&&!1===this.isValid()&&(n=t=0);var r=t<0,l=ee.duration(Math.abs(t),"milliseconds"),u=ee.duration(Math.abs(n),"months");de(e,function(e){"string"!=typeof e&&"function"!=typeof e?"number"!=typeof e?ue(e)&&ve(c,e):c.precision=e:c.template=e});var f={years:"y",months:"M",weeks:"w",days:"d",hours:"h",minutes:"m",seconds:"s",milliseconds:"S"},i={escape:/\[(.+?)\]/,years:/\*?[Yy]+/,months:/\*?M+/,weeks:/\*?[Ww]+/,days:/\*?[Dd]+/,hours:/\*?[Hh]+/,minutes:/\*?m+/,seconds:/\*?s+/,milliseconds:/\*?S+/,general:/.+?/};c.types=re;var a=function(t){return fe(re,function(e){return i[e].test(t)})},o=new RegExp(he(re,function(e){return i[e].source}).join("|"),"g");c.duration=this;var s="function"==typeof c.template?c.template.apply(c):c.template,d=c.outputTypes,h=c.returnMomentTypes,p=c.largest,m=[];d||(le(c.stopTrim)&&(c.stopTrim=c.stopTrim.join("")),c.stopTrim&&de(c.stopTrim.match(o),function(e){var t=a(e);"escape"!==t&&"general"!==t&&m.push(t)}));var g=ee.localeData();g||(g={}),de(ye(ce),function(e){"function"!=typeof ce[e]?g["_"+e]||(g["_"+e]=ce[e]):g[e]||(g[e]=ce[e])}),de(ye(g._durationTimeTemplates),function(e){s=s.replace("_"+e+"_",g._durationTimeTemplates[e])});var _=c.userLocale||ee.locale(),b=c.useLeftUnits,v=c.usePlural,y=c.precision,w=c.forceLength,C=c.useGrouping,A=c.trunc,S=c.useSignificantDigits&&0<y,T=S?c.precision:0,x=T,k=c.minValue,E=!1,D=c.maxValue,I=!1,P=c.useToLocaleString,M=c.groupingSeparator,$=c.decimalSeparator,O=c.grouping;P=P&&(te||ne);var R=c.trim;le(R)&&(R=R.join(" ")),null===R&&(p||D||S)&&(R="all"),null!==R&&!0!==R&&"left"!==R&&"right"!==R||(R="large"),!1===R&&(R="");var N=function(e){return e.test(R)},L=/both/,F=/^all|[^sm]all/,G=0<p||we([/large/,L,F],N),j=we([/small/,L,F],N),B=we([/mid/,F],N),U=we([/final/,F],N),H=he(s.match(o),function(e,t){var n=a(e);return"*"===e.slice(0,1)&&(e=e.slice(1),"escape"!==n&&"general"!==n&&m.push(n)),{index:t,length:e.length,text:"",token:"escape"===n?e.replace(i.escape,"$1"):e,type:"escape"===n||"general"===n?null:n}}),W={index:0,length:0,token:"",text:"",type:null},q=[];b&&H.reverse(),de(H,function(e){if(e.type)return(W.type||W.text)&&q.push(W),void(W=e);b?W.text=e.token+W.text:W.text+=e.token}),(W.type||W.text)&&q.push(W),b&&q.reverse();var z=_e(re,ge(me(pe(q,"type"))));if(!z.length)return pe(q,"text").join("");z=he(z,function(t,e){var n,r=e+1===z.length,i=!e;n="years"===t||"months"===t?u.as(t):l.as(t);var a=Math.floor(n),o=n-a,s=fe(q,function(e){return t===e.type});return i&&D&&D<n&&(I=!0),r&&k&&Math.abs(c.duration.as(t))<k&&(E=!0),i&&null===w&&1<s.length&&(w=!0),l.subtract(a,t),u.subtract(a,t),{rawValue:n,wholeValue:a,decimalValue:r?o:0,isSmallest:r,isLargest:i,type:t,tokenLength:s.length}});var V,Y=A?Math.floor:Math.round,K=function(e,t){var n=Math.pow(10,t);return Y(e*n)/n},Q=!1,X=!1,Z=function(e,t){var n={useGrouping:C,groupingSeparator:M,decimalSeparator:$,grouping:O,useToLocaleString:P};return S&&(T<=0?(e.rawValue=0,e.wholeValue=0,e.decimalValue=0):(n.maximumSignificantDigits=T,e.significantDigits=T)),I&&!X&&(e.isLargest?e.wholeValue=D:e.wholeValue=0,e.decimalValue=0),E&&!X&&(e.isSmallest?e.wholeValue=k:e.wholeValue=0,e.decimalValue=0),e.isSmallest||e.significantDigits&&e.significantDigits-e.wholeValue.toString().length<=0?y<0?e.value=K(e.wholeValue,y):0===y?e.value=Y(e.wholeValue+e.decimalValue):S?(e.value=A?K(e.rawValue,T-e.wholeValue.toString().length):e.rawValue,e.wholeValue&&(T-=e.wholeValue.toString().length)):(n.fractionDigits=y,e.value=A?e.wholeValue+K(e.decimalValue,y):e.wholeValue+e.decimalValue):S&&e.wholeValue?(e.value=Math.round(K(e.wholeValue,e.significantDigits-e.wholeValue.toString().length)),T-=e.wholeValue.toString().length):e.value=e.wholeValue,1<e.tokenLength&&(w||Q)&&(n.minimumIntegerDigits=e.tokenLength,X&&n.maximumSignificantDigits<e.tokenLength&&delete n.maximumSignificantDigits),!Q&&(0<e.value||""===R||fe(m,e.type)||fe(d,e.type))&&(Q=!0),e.formattedValue=oe(e.value,n,_),n.useGrouping=!1,n.decimalSeparator=".",e.formattedValueEn=oe(e.value,n,"en"),2===e.tokenLength&&"milliseconds"===e.type&&(e.formattedValueMS=oe(e.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),e};if(1<(z=me(z=he(z,Z))).length){var J=function(t){return fe(z,function(e){return e.type===t})};de(ie,function(e){var n=J(e.type);n&&de(e.targets,function(e){var t=J(e.type);t&&parseInt(n.formattedValueEn,10)===e.value&&(n.rawValue=0,n.wholeValue=0,n.decimalValue=0,t.rawValue+=1,t.wholeValue+=1,t.decimalValue=0,t.formattedValueEn=t.wholeValue.toString(),X=!0)})})}return X&&(Q=!1,T=x,z=me(z=he(z,Z))),!d||I&&!c.trim?(G&&(z=be(z,function(e){return!e.isSmallest&&!e.wholeValue&&!fe(m,e.type)})),p&&z.length&&(z=z.slice(0,p)),j&&1<z.length&&(V=function(e){return!e.wholeValue&&!fe(m,e.type)&&!e.isLargest},z=be(z.slice().reverse(),V).reverse()),B&&(z=me(z=he(z,function(e,t){return 0<t&&t<z.length-1&&!e.wholeValue?null:e}))),!U||1!==z.length||z[0].wholeValue||!A&&z[0].isSmallest&&z[0].rawValue<k||(z=[])):z=me(z=he(z,function(t){return fe(d,function(e){return t.type===e})?t:null})),h?z:(de(q,function(n){var e=f[n.type],t=fe(z,function(e){return e.type===n.type});if(e&&t){var r=t.formattedValueEn.split(".");r[0]=parseInt(r[0],10),r[1]?r[1]=parseFloat("0."+r[1],10):r[1]=null;var i,a,o,s=g.durationPluralKey(e,r[0],r[1]),c=(i=e,o=[],de(ye(a=g),function(t){if("_durationLabels"===t.slice(0,15)){var n=t.slice(15).toLowerCase();de(ye(a[t]),function(e){e.slice(0,1)===i&&o.push({type:n,key:e,label:a[t][e]})})}}),o),l=!1,u={};de(g._durationLabelTypes,function(t){var e=fe(c,function(e){return e.type===t.type&&e.key===s});e&&(u[e.type]=e.label,ae(n.text,t.string)&&(n.text=n.text.replace(t.string,e.label),l=!0))}),v&&!l&&(c.sort(se),de(c,function(e){return u[e.type]===e.label?!ae(n.text,e.label)&&void 0:ae(n.text,e.label)?(n.text=n.text.replace(e.label,u[e.type]),!1):void 0}))}}),(q=he(q,function(t){if(!t.type)return t.text;var e=fe(z,function(e){return e.type===t.type});if(!e)return"";var n="";return b&&(n+=t.text),(r&&I||!r&&E)&&(n+="< ",E=I=!1),(r&&E||!r&&I)&&(n+="> ",E=I=!1),r&&(0<e.value||""===R||fe(m,e.type)||fe(d,e.type))&&(n+="-",r=!1),"milliseconds"===t.type&&e.formattedValueMS?n+=e.formattedValueMS:n+=e.formattedValue,b||(n+=t.text),n})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function i(){var t=this.duration,e=function(e){return t._data[e]},n=fe(this.types,e),r=function(e,t){for(var n=e.length;n-=1;)if(t(e[n]))return e[n]}(this.types,e);switch(n){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(n===r)return"d __";case"weeks":return n===r?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(n===r)return"M __";case"years":return n===r?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function a(e){if(!e)throw"Moment Duration Format init cannot find moment instance.";e.duration.format=n,e.duration.fn.format=r,e.duration.fn.format.defaults={trim:null,stopTrim:null,largest:null,maxValue:null,minValue:null,precision:0,trunc:!1,forceLength:null,userLocale:null,usePlural:!0,useLeftUnits:!1,useGrouping:!0,useSignificantDigits:!1,template:i,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},e.updateLocale("en",ce)}var o=function(e,t,n){return e.toLocaleString(t,n)};te=function(){try{(0).toLocaleString("i")}catch(e){return"RangeError"===e.name}return!1}()&&t(o),S=te&&e(o);var s=function(e,t,n){if("undefined"!=typeof window&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(t,n).format(e)};return ne=t(s),T=ne&&e(s),a(ee),a}),function(t,o,e){"use strict";if(t&&o){var a=t.navigator.msPointerEnabled;r.prototype={on:function(e,t){e=e.toLowerCase(),this.events.hasOwnProperty(e)||(this.events[e]=[]),this.events[e].push(t)},off:function(e,t){var n,r,i;void 0!==e?(e=e.toLowerCase(),void 0!==t?this.events.hasOwnProperty(e)&&(n=this.events[e],r=t,-1<(i=n.indexOf(r))&&n.splice(i,1)):delete this.events[e]):this.events={}},fire:function(e,t){t=Array.prototype.slice.call(arguments),e=e.toLowerCase();var n=!1;return this.events.hasOwnProperty(e)&&d(this.events[e],function(e){n=!1===e.apply(this,t.slice(1))||n},this),"catchall"!=e&&(t.unshift("catchAll"),n=!1===this.fire.apply(this,t)||n),!n},webkitReadDataTransfer:function(e){var t=this,r=e.dataTransfer.items.length,n=[];function i(e,t){e.relativePath=t.substring(1),n.push(e),o()}function a(e){throw o(),e}function o(){0==--r&&t.addFiles(n,e)}d(e.dataTransfer.items,function(e){var t=e.webkitGetAsEntry();t?t.isFile?i(e.getAsFile(),t.fullPath):function n(t){t.readEntries(function(e){e.length?(r+=e.length,d(e,function(e){if(e.isFile){var t=e.fullPath;e.file(function(e){i(e,t)},a)}else e.isDirectory&&n(e.createReader())}),n(t)):o()},a)}(t.createReader()):o()})},generateUniqueIdentifier:function(e){var t=this.opts.generateUniqueIdentifier;if("function"==typeof t)return t(e);var n=e.relativePath||e.webkitRelativePath||e.fileName||e.name;return e.size+"-"+n.replace(/[^0-9a-zA-Z_-]/gim,"")},uploadNextChunk:function(e){var t=!1;if(this.opts.prioritizeFirstAndLastChunk&&(d(this.files,function(e){return!e.paused&&e.chunks.length&&"pending"===e.chunks[0].status()?(e.chunks[0].send(),!(t=!0)):!e.paused&&1<e.chunks.length&&"pending"===e.chunks[e.chunks.length-1].status()?(e.chunks[e.chunks.length-1].send(),!(t=!0)):void 0}),t))return t;if(d(this.files,function(e){if(e.paused||d(e.chunks,function(e){if("pending"===e.status())return e.send(),!(t=!0)}),t)return!1}),t)return!0;var n=!1;return d(this.files,function(e){if(!e.isComplete())return!(n=!0)}),n||e||u(function(){this.fire("complete")},this),!1},assignBrowse:function(e,r,i,a){e instanceof Element&&(e=[e]),d(e,function(e){var n;"INPUT"===e.tagName&&"file"===e.type?n=e:((n=o.createElement("input")).setAttribute("type","file"),f(n.style,{visibility:"hidden",position:"absolute",width:"1px",height:"1px"}),e.appendChild(n),e.addEventListener("click",function(){n.click()},!1)),this.opts.singleFile||i||n.setAttribute("multiple","multiple"),r&&n.setAttribute("webkitdirectory","webkitdirectory"),d(a,function(e,t){n.setAttribute(t,e)});var t=this;n.addEventListener("change",function(e){e.target.value&&(t.addFiles(e.target.files,e),e.target.value="")},!1)},this)},assignDrop:function(e){void 0===e.length&&(e=[e]),d(e,function(e){e.addEventListener("dragover",this.preventEvent,!1),e.addEventListener("dragenter",this.preventEvent,!1),e.addEventListener("drop",this.onDrop,!1)},this)},unAssignDrop:function(e){void 0===e.length&&(e=[e]),d(e,function(e){e.removeEventListener("dragover",this.preventEvent),e.removeEventListener("dragenter",this.preventEvent),e.removeEventListener("drop",this.onDrop)},this)},isUploading:function(){var t=!1;return d(this.files,function(e){if(e.isUploading())return!(t=!0)}),t},_shouldUploadNext:function(){var t=0,n=!0,r=this.opts.simultaneousUploads;return d(this.files,function(e){d(e.chunks,function(e){if("uploading"===e.status()&&r<=++t)return n=!1})}),n&&t},upload:function(){var e=this._shouldUploadNext();if(!1!==e){this.fire("uploadStart");for(var t=!1,n=1;n<=this.opts.simultaneousUploads-e;n++)t=this.uploadNextChunk(!0)||t;t||u(function(){this.fire("complete")},this)}},resume:function(){d(this.files,function(e){e.isComplete()||e.resume()})},pause:function(){d(this.files,function(e){e.pause()})},cancel:function(){for(var e=this.files.length-1;0<=e;e--)this.files[e].cancel()},progress:function(){var t=0,n=0;return d(this.files,function(e){t+=e.progress()*e.size,n+=e.size}),0<n?t/n:0},addFile:function(e,t){this.addFiles([e],t)},addFiles:function(e,r){var i=[];d(e,function(e){if((!a||a&&0<e.size)&&(e.size%4096!=0||"."!==e.name&&"."!==e.fileName)){var t=this.generateUniqueIdentifier(e);if(this.opts.allowDuplicateUploads||!this.getFromUniqueIdentifier(t)){var n=new s(this,e,t);this.fire("fileAdded",n,r)&&i.push(n)}}},this),this.fire("filesAdded",i,r)&&(d(i,function(e){this.opts.singleFile&&0<this.files.length&&this.removeFile(this.files[0]),this.files.push(e)},this),this.fire("filesSubmitted",i,r))},removeFile:function(e){for(var t=this.files.length-1;0<=t;t--)this.files[t]===e&&(this.files.splice(t,1),e.abort(),this.fire("fileRemoved",e))},getFromUniqueIdentifier:function(t){var n=!1;return d(this.files,function(e){e.uniqueIdentifier===t&&(n=e)}),n},getSize:function(){var t=0;return d(this.files,function(e){t+=e.size}),t},sizeUploaded:function(){var t=0;return d(this.files,function(e){t+=e.sizeUploaded()}),t},timeRemaining:function(){var t=0,n=0;return d(this.files,function(e){e.paused||e.error||(t+=e.size-e.sizeUploaded(),n+=e.averageSpeed)}),t&&!n?Number.POSITIVE_INFINITY:t||n?Math.floor(t/n):0}},s.prototype={measureSpeed:function(){var e=Date.now()-this._lastProgressCallback;if(e){var t=this.flowObj.opts.speedSmoothingFactor,n=this.sizeUploaded();this.currentSpeed=Math.max((n-this._prevUploadedSize)/e*1e3,0),this.averageSpeed=t*this.currentSpeed+(1-t)*this.averageSpeed,this._prevUploadedSize=n}},chunkEvent:function(e,t,n){switch(t){case"progress":if(Date.now()-this._lastProgressCallback<this.flowObj.opts.progressCallbacksInterval)break;this.measureSpeed(),this.flowObj.fire("fileProgress",this,e),this.flowObj.fire("progress"),this._lastProgressCallback=Date.now();break;case"error":this.error=!0,this.abort(!0),this.flowObj.fire("fileError",this,n,e),this.flowObj.fire("error",n,this,e);break;case"success":if(this.error)return;this.measureSpeed(),this.flowObj.fire("fileProgress",this,e),this.flowObj.fire("progress"),this._lastProgressCallback=Date.now(),this.isComplete()&&(this.currentSpeed=0,this.averageSpeed=0,this.flowObj.fire("fileSuccess",this,n,e));break;case"retry":this.flowObj.fire("fileRetry",this,e)}},pause:function(){this.paused=!0,this.abort()},resume:function(){this.paused=!1,this.flowObj.upload()},abort:function(e){this.currentSpeed=0,this.averageSpeed=0;var t=this.chunks;e&&(this.chunks=[]),d(t,function(e){"uploading"===e.status()&&(e.abort(),this.flowObj.uploadNextChunk())},this)},cancel:function(){this.flowObj.removeFile(this)},retry:function(){this.bootstrap(),this.flowObj.upload()},bootstrap:function(){"function"==typeof this.flowObj.opts.initFileFn&&this.flowObj.opts.initFileFn(this),this.abort(!0),this.error=!1,this._prevProgress=0;var e=this.flowObj.opts.forceChunkSize?Math.ceil:Math.floor;this.chunkSize=l(this.flowObj.opts.chunkSize,this);for(var t=Math.max(e(this.size/this.chunkSize),1),n=0;n<t;n++)this.chunks.push(new c(this.flowObj,this,n))},progress:function(){if(this.error)return 1;if(1===this.chunks.length)return this._prevProgress=Math.max(this._prevProgress,this.chunks[0].progress()),this._prevProgress;var t=0;d(this.chunks,function(e){t+=e.progress()*(e.endByte-e.startByte)});var e=t/this.size;return this._prevProgress=Math.max(this._prevProgress,.9999<e?1:e),this._prevProgress},isUploading:function(){var t=!1;return d(this.chunks,function(e){if("uploading"===e.status())return!(t=!0)}),t},isComplete:function(){var n=!1;return d(this.chunks,function(e){var t=e.status();if("pending"===t||"uploading"===t||"reading"===t||1===e.preprocessState||1===e.readState)return!(n=!0)}),!n},sizeUploaded:function(){var t=0;return d(this.chunks,function(e){t+=e.sizeUploaded()}),t},timeRemaining:function(){if(this.paused||this.error)return 0;var e=this.size-this.sizeUploaded();return e&&!this.averageSpeed?Number.POSITIVE_INFINITY:e||this.averageSpeed?Math.floor(e/this.averageSpeed):0},getType:function(){return this.file.type&&this.file.type.split("/")[1]},getExtension:function(){return this.name.substr(2+(~-this.name.lastIndexOf(".")>>>0)).toLowerCase()}},c.prototype={getParams:function(){return{flowChunkNumber:this.offset+1,flowChunkSize:this.chunkSize,flowCurrentChunkSize:this.endByte-this.startByte,flowTotalSize:this.fileObj.size,flowIdentifier:this.fileObj.uniqueIdentifier,flowFilename:this.fileObj.name,flowRelativePath:this.fileObj.relativePath,flowTotalChunks:this.fileObj.chunks.length}},getTarget:function(e,t){return 0==t.length?e:(e.indexOf("?")<0?e+="?":e+="&",e+t.join("&"))},test:function(){this.xhr=new XMLHttpRequest,this.xhr.addEventListener("load",this.testHandler,!1),this.xhr.addEventListener("error",this.testHandler,!1);var e=l(this.flowObj.opts.testMethod,this.fileObj,this),t=this.prepareXhrRequest(e,!0);this.xhr.send(t)},preprocessFinished:function(){this.endByte=this.computeEndByte(),this.preprocessState=2,this.send()},readFinished:function(e){this.readState=2,this.bytes=e,this.send()},send:function(){var e=this.flowObj.opts.preprocess,t=this.flowObj.opts.readFileFn;if("function"==typeof e)switch(this.preprocessState){case 0:return this.preprocessState=1,void e(this);case 1:return}switch(this.readState){case 0:return this.readState=1,void t(this.fileObj,this.startByte,this.endByte,this.fileObj.file.type,this);case 1:return}if(!this.flowObj.opts.testChunks||this.tested){this.loaded=0,this.total=0,this.pendingRetry=!1,this.xhr=new XMLHttpRequest,this.xhr.upload.addEventListener("progress",this.progressHandler,!1),this.xhr.addEventListener("load",this.doneHandler,!1),this.xhr.addEventListener("error",this.doneHandler,!1);var n=l(this.flowObj.opts.uploadMethod,this.fileObj,this),r=this.prepareXhrRequest(n,!1,this.flowObj.opts.method,this.bytes),i=this.flowObj.opts.changeRawDataBeforeSend;"function"==typeof i&&(r=i(this,r)),this.xhr.send(r)}else this.test()},abort:function(){var e=this.xhr;this.xhr=null,e&&e.abort()},status:function(e){return 1===this.readState?"reading":this.pendingRetry||1===this.preprocessState?"uploading":this.xhr?this.xhr.readyState<4?"uploading":-1<this.flowObj.opts.successStatuses.indexOf(this.xhr.status)?"success":-1<this.flowObj.opts.permanentErrors.indexOf(this.xhr.status)||!e&&this.retries>=this.flowObj.opts.maxChunkRetries?"error":(this.abort(),"pending"):"pending"},message:function(){return this.xhr?this.xhr.responseText:""},progress:function(){if(this.pendingRetry)return 0;var e=this.status();return"success"===e||"error"===e?1:"pending"===e?0:0<this.total?this.loaded/this.total:0},sizeUploaded:function(){var e=this.endByte-this.startByte;return"success"!==this.status()&&(e=this.progress()*e),e},prepareXhrRequest:function(e,t,n,r){var i=l(this.flowObj.opts.query,this.fileObj,this,t);i=f(i||{},this.getParams());var a=l(this.flowObj.opts.target,this.fileObj,this,t),o=null;if("GET"===e||"octet"===n){var s=[];d(i,function(e,t){s.push([encodeURIComponent(t),encodeURIComponent(e)].join("="))}),a=this.getTarget(a,s),o=r||null}else o=new FormData,d(i,function(e,t){o.append(t,e)}),void 0!==r&&o.append(this.flowObj.opts.fileParameterName,r,this.filename||this.fileObj.file.name);return this.xhr.open(e,a,!0),this.xhr.withCredentials=this.flowObj.opts.withCredentials,d(l(this.flowObj.opts.headers,this.fileObj,this,t),function(e,t){this.xhr.setRequestHeader(t,e)},this),o}},r.evalOpts=l,r.extend=f,r.each=d,r.FlowFile=s,r.FlowChunk=c,r.version="2.14.1","object"==typeof module&&module&&"object"==typeof module.exports?module.exports=r:(t.Flow=r,"function"==typeof define&&define.amd&&define("flow",[],function(){return r}))}else console.warn("Flowjs needs window and document objects to work");function r(e){if(this.support=!("undefined"==typeof File||"undefined"==typeof Blob||"undefined"==typeof FileList||!Blob.prototype.slice&&!Blob.prototype.webkitSlice&&!Blob.prototype.mozSlice),this.support){this.supportDirectory=/Chrome/.test(t.navigator.userAgent)||/Firefox/.test(t.navigator.userAgent)||/Edge/.test(t.navigator.userAgent),this.files=[],this.defaults={chunkSize:1048576,forceChunkSize:!1,simultaneousUploads:3,singleFile:!1,fileParameterName:"file",progressCallbacksInterval:500,speedSmoothingFactor:.1,query:{},headers:{},withCredentials:!1,preprocess:null,changeRawDataBeforeSend:null,method:"multipart",testMethod:"GET",uploadMethod:"POST",prioritizeFirstAndLastChunk:!1,allowDuplicateUploads:!1,target:"/",testChunks:!0,generateUniqueIdentifier:null,maxChunkRetries:0,chunkRetryInterval:null,permanentErrors:[404,413,415,500,501],successStatuses:[200,201,202],onDropStopPropagation:!1,initFileFn:null,readFileFn:i},this.opts={},this.events={};var n=this;this.onDrop=function(e){n.opts.onDropStopPropagation&&e.stopPropagation(),e.preventDefault();var t=e.dataTransfer;t.items&&t.items[0]&&t.items[0].webkitGetAsEntry?n.webkitReadDataTransfer(e):n.addFiles(t.files,e)},this.preventEvent=function(e){e.preventDefault()},this.opts=r.extend({},this.defaults,e||{})}}function s(e,t,n){this.flowObj=e,this.bytes=null,this.file=t,this.name=t.fileName||t.name,this.size=t.size,this.relativePath=t.relativePath||t.webkitRelativePath||this.name,this.uniqueIdentifier=void 0===n?e.generateUniqueIdentifier(t):n,this.chunkSize=0,this.chunks=[],this.paused=!1,this.error=!1,this.averageSpeed=0,this.currentSpeed=0,this._lastProgressCallback=Date.now(),this._prevUploadedSize=0,this._prevProgress=0,this.bootstrap()}function i(e,t,n,r,i){var a="slice";e.file.slice?a="slice":e.file.mozSlice?a="mozSlice":e.file.webkitSlice&&(a="webkitSlice"),i.readFinished(e.file[a](t,n,r))}function c(e,t,n){this.flowObj=e,this.fileObj=t,this.offset=n,this.tested=!1,this.retries=0,this.pendingRetry=!1,this.preprocessState=0,this.readState=0,this.loaded=0,this.total=0,this.chunkSize=this.fileObj.chunkSize,this.startByte=this.offset*this.chunkSize,this.filename=null,this.computeEndByte=function(){var e=Math.min(this.fileObj.size,(this.offset+1)*this.chunkSize);return this.fileObj.size-e<this.chunkSize&&!this.flowObj.opts.forceChunkSize&&(e=this.fileObj.size),e},this.endByte=this.computeEndByte(),this.xhr=null;var r=this;this.event=function(e,t){(t=Array.prototype.slice.call(arguments)).unshift(r),r.fileObj.chunkEvent.apply(r.fileObj,t)},this.progressHandler=function(e){e.lengthComputable&&(r.loaded=e.loaded,r.total=e.total),r.event("progress",e)},this.testHandler=function(e){var t=r.status(!0);"error"===t?(r.event(t,r.message()),r.flowObj.uploadNextChunk()):"success"===t?(r.tested=!0,r.event(t,r.message()),r.flowObj.uploadNextChunk()):r.fileObj.paused||(r.tested=!0,r.send())},this.doneHandler=function(e){var t=r.status();if("success"===t||"error"===t)delete this.data,r.event(t,r.message()),r.flowObj.uploadNextChunk();else if(!r.fileObj.paused){r.event("retry",r.message()),r.pendingRetry=!0,r.abort(),r.retries++;var n=r.flowObj.opts.chunkRetryInterval;null!==n?setTimeout(function(){r.send()},n):r.send()}}}function l(e,t){return"function"==typeof e&&(t=Array.prototype.slice.call(arguments),e=e.apply(null,t.slice(1))),e}function u(e,t){setTimeout(e.bind(t),0)}function f(n,e){return d(arguments,function(e){e!==n&&d(e,function(e,t){n[t]=e})}),n}function d(e,t,n){var r;if(e)if(void 0!==e.length){for(r=0;r<e.length;r++)if(!1===t.call(n,e[r],r))return}else for(r in e)if(e.hasOwnProperty(r)&&!1===t.call(n,e[r],r))return}}("undefined"!=typeof window&&window,"undefined"!=typeof document&&document),angular.module("flow.provider",[]).provider("flowFactory",function(){"use strict";this.defaults={},this.factory=function(e){return new Flow(e)},this.events=[],this.on=function(e,t){this.events.push([e,t])},this.$get=function(){var n=this.factory,r=this.defaults,i=this.events;return{create:function(e){var t=n(angular.extend({},r,e));return angular.forEach(i,function(e){t.on(e[0],e[1])}),t}}}}),angular.module("flow.init",["flow.provider"]).controller("flowCtrl",["$scope","$attrs","$parse","flowFactory",function(r,e,t,n){var i=angular.extend({},r.$eval(e.flowInit)),a=r.$eval(e.flowObject)||n.create(i),o=function(e){var t=Array.prototype.slice.call(arguments);t.shift();var n=r.$broadcast.apply(r,["flow::"+e,a].concat(t));if({progress:1,filesSubmitted:1,fileSuccess:1,fileError:1,complete:1}[e]&&r.$applyAsync(),n.defaultPrevented)return!1};a.on("catchAll",o),r.$on("$destroy",function(){a.off("catchAll",o)}),r.$flow=a,e.hasOwnProperty("flowName")&&(t(e.flowName).assign(r,a),r.$on("$destroy",function(){t(e.flowName).assign(r)}))}]).directive("flowInit",[function(){return{scope:!0,controller:"flowCtrl"}}]),angular.module("flow.btn",["flow.init"]).directive("flowBtn",[function(){return{restrict:"EA",scope:!1,require:"^flowInit",link:function(e,t,n){var r=n.hasOwnProperty("flowDirectory"),i=n.hasOwnProperty("flowSingleFile"),a=n.hasOwnProperty("flowAttrs")&&e.$eval(n.flowAttrs);e.$flow.assignBrowse(t,r,i,a)}}}]),angular.module("flow.dragEvents",["flow.init"]).directive("flowPreventDrop",function(){return{scope:!1,link:function(e,t,n){t.bind("drop dragover",function(e){e.preventDefault()})}}}).directive("flowDragEnter",["$timeout",function(c){return{scope:!1,link:function(i,e,a){var o,s=!1;e.bind("dragover",function(e){var t,n,r;(n=!1,r=(t=e).dataTransfer||t.originalEvent.dataTransfer,angular.forEach(r&&r.types,function(e){"Files"===e&&(n=!0)}),n)&&(s||(i.$apply(a.flowDragEnter),s=!0),c.cancel(o),e.preventDefault())}),e.bind("dragleave drop",function(e){c.cancel(o),o=c(function(){i.$eval(a.flowDragLeave),o=null,s=!1},100)})}}}]),angular.module("flow.drop",["flow.init"]).directive("flowDrop",function(){return{scope:!1,require:"^flowInit",link:function(t,n,e){function r(){t.$flow.assignDrop(n)}e.flowDropEnabled?t.$watch(e.flowDropEnabled,function(e){e?r():t.$flow.unAssignDrop(n)}):r()}}}),function(s){"use strict";var n=s.module("flow.events",["flow.init"]);s.forEach({fileSuccess:["$file","$message"],fileProgress:["$file"],fileAdded:["$file","$event"],filesAdded:["$files","$event"],filesSubmitted:["$files","$event"],fileRetry:["$file"],fileRemoved:["$file"],fileError:["$file","$message"],uploadStart:[],complete:[],progress:[],error:["$message","$file"]},function(a,e){var t,o="flow"+((t=e).charAt(0).toUpperCase()+t.slice(1));"flowUploadStart"==o&&(o="flowUploadStarted"),n.directive(o,[function(){return{require:"^flowInit",controller:["$scope","$attrs",function(t,i){t.$on("flow::"+e,function(){var n=Array.prototype.slice.call(arguments),e=n.shift();if(t.$flow===n.shift()){var r={};s.forEach(a,function(e,t){r[e]=n[t]}),!1===t.$eval(i[o],r)&&e.preventDefault()}})}]}}])})}(angular),angular.module("flow.img",["flow.init"]).directive("flowImg",[function(){return{scope:!1,require:"^flowInit",link:function(n,e,r){var t=r.flowImg;n.$watch(t,function(e){if(e){var t=new FileReader;t.readAsDataURL(e.file),t.onload=function(e){n.$apply(function(){r.$set("src",e.target.result)})}}})}}}]),angular.module("flow.transfers",["flow.init"]).directive("flowTransfers",[function(){return{scope:!0,require:"^flowInit",link:function(e){e.transfers=e.$flow.files}}}]),angular.module("flow",["flow.provider","flow.init","flow.events","flow.btn","flow.drop","flow.transfers","flow.img","flow.dragEvents"]),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("$logger",[],t):"object"==typeof exports?exports.$logger=t():e.$logger=t()}(this,function(){return function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}return i.m=n,i.c=r,i.p="",i(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=function(e){{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}}(r);t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var i=n(11);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var a=n(13);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(9);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var s=n(10);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})})},function(e,_,t){"use strict";Object.defineProperty(_,"__esModule",{value:!0}),_.track=_.flush=_.tracking=_.buffer=void 0,_.getTransport=function(){return A},_.setTransport=function(e){A=e},_.print=c,_.immediateFlush=n,_.log=i,_.prefix=function(n){return{debug:function(e,t){return i("debug",n+"_"+e,t)},info:function(e,t){return i("info",n+"_"+e,t)},warn:function(e,t){return i("warn",n+"_"+e,t)},error:function(e,t){return i("error",n+"_"+e,t)},track:function(e){return o(e)},flush:function(){return r()}}},_.debug=function(e,t){return i("debug",e,t)},_.info=function(e,t){return i("info",e,t)},_.warn=function(e,t){return i("warn",e,t)},_.error=function(e,t){return i("error",e,t)};var b=t(3),v=t(9),y=t(10),w=_.buffer=[],C=_.tracking=[],A=function(e,t,n){return(0,b.ajax)("post",y.config.uri,e,t,n)};var a=!1;function c(e,t,n){if("undefined"!=typeof window&&window.console&&window.console.log){if(!a)return setTimeout(function(){return c(e,t,n)},1);var r=y.config.logLevel;if(window.LOG_LEVEL&&(r=window.LOG_LEVEL),!(y.logLevels.indexOf(e)>y.logLevels.indexOf(r))){n=n||{};var i=[t];(0,b.isIE)()&&(n=JSON.stringify(n)),i.push(n),(n.error||n.warning)&&i.push("\n\n",n.error||n.warning);try{window.console[e]&&window.console[e].apply?window.console[e].apply(window.console,i):window.console.log&&window.console.log.apply&&window.console.log.apply(window.console,i)}catch(e){}}}}function n(){var e=(0<arguments.length&&void 0!==arguments[0]?arguments[0]:{}).fireAndForget,t=void 0!==e&&e;if("undefined"!=typeof window&&y.config.uri){var n=w.length,r=C.length;if(n||r){var i={},a=v.metaBuilders,o=Array.isArray(a),s=0;for(a=o?a:a[Symbol.iterator]();;){var c;if(o){if(s>=a.length)break;c=a[s++]}else{if((s=a.next()).done)break;c=s.value}var l=c;try{(0,b.extend)(i,l(i),!1)}catch(e){console.error("Error in custom meta builder:",e.stack||e.toString())}}var u={},f=v.headerBuilders,d=Array.isArray(f),h=0;for(f=d?f:f[Symbol.iterator]();;){var p;if(d){if(h>=f.length)break;p=f[h++]}else{if((h=f.next()).done)break;p=h.value}var m=p;try{(0,b.extend)(u,m(u),!1)}catch(e){console.error("Error in custom header builder:",e.stack||e.toString())}}var g=A(u,{events:w,meta:i,tracking:C},{fireAndForget:t});return _.buffer=w=[],_.tracking=C=[],g}}}setTimeout(function(){a=!0},1);var r=(0,b.promiseDebounce)(n,y.config.debounceInterval);function l(e,t,n){w.push({level:e,event:t,payload:n}),-1<y.config.autoLog.indexOf(e)&&r()}function i(e,t,n){if("undefined"!=typeof window){y.config.prefix&&(t=y.config.prefix+"_"+t),"string"==typeof(n=n||{})?n={message:n}:n instanceof Error&&(n={error:n.stack||n.toString()});try{JSON.stringify(n)}catch(e){return}n.timestamp=Date.now();var r=v.payloadBuilders,i=Array.isArray(r),a=0;for(r=i?r:r[Symbol.iterator]();;){var o;if(i){if(a>=r.length)break;o=r[a++]}else{if((a=r.next()).done)break;o=a.value}var s=o;try{(0,b.extend)(n,s(n),!1)}catch(e){console.error("Error in custom payload builder:",e.stack||e.toString())}}y.config.silent||c(e,t,n),w.length===y.config.sizeLimit?l("info","logger_max_buffer_length"):w.length<y.config.sizeLimit&&l(e,t,n)}}function o(e){if("undefined"!=typeof window&&e){try{JSON.stringify(e)}catch(e){return}var t=v.trackingBuilders,n=Array.isArray(t),r=0;for(t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if((r=t.next()).done)break;i=r.value}var a=i;try{(0,b.extend)(e,a(e),!1)}catch(e){console.error("Error in custom tracking builder:",e.stack||e.toString())}}c("debug","tracking",e),C.push(e)}}_.flush=r,_.track=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extend=function(e,t){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];for(var r in e=e||{},t=t||{})t.hasOwnProperty(r)&&(!n&&e.hasOwnProperty(r)||(e[r]=t[r]));return e},t.isSameProtocol=u,t.isSameDomain=f,t.ajax=function(i,a){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{},e=(4<arguments.length&&void 0!==arguments[4]?arguments[4]:{}).fireAndForget,c=void 0!==e&&e;return new l.ZalgoPromise(function(e){var t=window.XMLHttpRequest||window.ActiveXObject;if(window.XDomainRequest&&!f(a)){if(!u(a))return e();t=window.XDomainRequest}var n=new t("MSXML2.XMLHTTP.3.0");if(n.open(i.toUpperCase(),a,!0),"function"==typeof n.setRequestHeader)for(var r in n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.setRequestHeader("Content-type","application/json"),o)o.hasOwnProperty(r)&&n.setRequestHeader(r,o[r]);c?e():n.onreadystatechange=function(){3<n.readyState&&e()},n.send(JSON.stringify(s).replace(/&/g,"%26"))})},t.promiseDebounce=function(r,e){var i={};return function(){var n=arguments;return i.timeout&&(clearTimeout(i.timeout),delete i.timeout),i.timeout=setTimeout(function(){var e=i.resolver,t=i.rejector;return delete i.promise,delete i.resolver,delete i.rejector,delete i.timeout,l.ZalgoPromise.resolve().then(function(){return r.apply(null,n)}).then(e,t)},e),i.promise=i.promise||new l.ZalgoPromise(function(e,t){i.resolver=e,i.rejector=t}),i.promise}},t.onWindowReady=function(){return new l.ZalgoPromise(function(e){"undefined"!=typeof document&&"complete"===document.readyState&&e(),window.addEventListener("load",e)})},t.safeInterval=function(t,n){var r=void 0;return function e(){r=setTimeout(function(){t(),e()},n)}(),{cancel:function(){clearTimeout(r)}}},t.uniqueID=function(){var e="0123456789abcdef";return"xxxxxxxxxx".replace(/./g,function(){return e.charAt(Math.floor(Math.random()*e.length))})},t.isIE=function(){return Boolean(window.document.documentMode)};var l=n(4);function u(e){return window.location.protocol===e.split("/")[0]}function f(e){var t=e.match(/https?:\/\/[^/]+/);return!t||t[0]===window.location.protocol+"//"+window.location.host}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5);Object.defineProperty(t,"ZalgoPromise",{enumerable:!0,get:function(){return r.ZalgoPromise}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ZalgoPromise=void 0;var r=function(){function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}}(),f=n(6),i=n(7),d=n(8);var a=function(){function u(e){var t=this;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),this.resolved=!1,this.rejected=!1,this.errorHandled=!1,this.handlers=[],e){var n=void 0,r=void 0,i=!1,a=!1,o=!1;(0,d.startActive)();try{e(function(e){o?t.resolve(e):(i=!0,n=e)},function(e){o?t.reject(e):(a=!0,r=e)})}catch(e){return(0,d.endActive)(),void this.reject(e)}(0,d.endActive)(),o=!0,i?this.resolve(n):a&&this.reject(r)}}return r(u,[{key:"resolve",value:function(e){if(this.resolved||this.rejected)return this;if((0,f.isPromise)(e))throw new Error("Can not resolve promise with another promise");return this.resolved=!0,this.value=e,this.dispatch(),this}},{key:"reject",value:function(e){var t=this;if(this.resolved||this.rejected)return this;if((0,f.isPromise)(e))throw new Error("Can not reject promise with another promise");if(!e){var n=e&&"function"==typeof e.toString?e.toString():Object.prototype.toString.call(e);e=new Error("Expected reject to be called with Error, got "+n)}return this.rejected=!0,this.error=e,this.errorHandled||setTimeout(function(){t.errorHandled||(0,i.dispatchPossiblyUnhandledError)(e,t)},1),this.dispatch(),this}},{key:"asyncReject",value:function(e){return this.errorHandled=!0,this.reject(e),this}},{key:"dispatch",value:function(){var o=this,e=this.dispatching,s=this.resolved,c=this.rejected,l=this.handlers;if(!e&&(s||c)){this.dispatching=!0,(0,d.startActive)();for(var t=function(e){var t=l[e],n=t.onSuccess,r=t.onError,i=t.promise,a=void 0;if(s)try{a=n?n(o.value):o.value}catch(e){return i.reject(e),"continue"}else if(c){if(!r)return i.reject(o.error),"continue";try{a=r(o.error)}catch(e){return i.reject(e),"continue"}}a instanceof u&&(a.resolved||a.rejected)?(a.resolved?i.resolve(a.value):i.reject(a.error),a.errorHandled=!0):(0,f.isPromise)(a)?a instanceof u&&(a.resolved||a.rejected)?a.resolved?i.resolve(a.value):i.reject(a.error):a.then(function(e){i.resolve(e)},function(e){i.reject(e)}):i.resolve(a)},n=0;n<l.length;n++)t(n);l.length=0,this.dispatching=!1,(0,d.endActive)()}}},{key:"then",value:function(e,t){if(e&&"function"!=typeof e&&!e.call)throw new Error("Promise.then expected a function for success handler");if(t&&"function"!=typeof t&&!t.call)throw new Error("Promise.then expected a function for error handler");var n=new u;return this.handlers.push({promise:n,onSuccess:e,onError:t}),this.errorHandled=!0,this.dispatch(),n}},{key:"catch",value:function(e){return this.then(void 0,e)}},{key:"finally",value:function(t){if(t&&"function"!=typeof t&&!t.call)throw new Error("Promise.finally expected a function");return this.then(function(e){return u.try(t).then(function(){return e})},function(e){return u.try(t).then(function(){throw e})})}},{key:"timeout",value:function(e,t){var n=this;if(this.resolved||this.rejected)return this;var r=setTimeout(function(){n.resolved||n.rejected||n.reject(t||new Error("Promise timed out after "+e+"ms"))},e);return this.then(function(e){return clearTimeout(r),e})}},{key:"toPromise",value:function(){if("undefined"==typeof Promise)throw new TypeError("Could not find Promise");return Promise.resolve(this)}}],[{key:"resolve",value:function(n){return n instanceof u?n:(0,f.isPromise)(n)?new u(function(e,t){return n.then(e,t)}):(new u).resolve(n)}},{key:"reject",value:function(e){return(new u).reject(e)}},{key:"asyncReject",value:function(e){return(new u).asyncReject(e)}},{key:"all",value:function(n){var r=new u,i=n.length,a=[];if(!i)return r.resolve(a),r;for(var e=function(t){var e=n[t];if(e instanceof u){if(e.resolved)return a[t]=e.value,i-=1,"continue"}else if(!(0,f.isPromise)(e))return a[t]=e,i-=1,"continue";u.resolve(e).then(function(e){a[t]=e,0===(i-=1)&&r.resolve(a)},function(e){r.reject(e)})},t=0;t<n.length;t++)e(t);return 0===i&&r.resolve(a),r}},{key:"hash",value:function(e){var n={};return u.all(Object.keys(e).map(function(t){return u.resolve(e[t]).then(function(e){n[t]=e})})).then(function(){return n})}},{key:"map",value:function(e,t){return u.all(e.map(t))}},{key:"onPossiblyUnhandledException",value:function(e){return(0,i.onPossiblyUnhandledException)(e)}},{key:"try",value:function(e,t,n){if(e&&"function"!=typeof e&&!e.call)throw new Error("Promise.try expected a function");var r=void 0;(0,d.startActive)();try{r=e.apply(t,n||[])}catch(e){return(0,d.endActive)(),u.reject(e)}return(0,d.endActive)(),u.resolve(r)}},{key:"delay",value:function(t){return new u(function(e){setTimeout(e,t)})}},{key:"isPromise",value:function(e){return!!(e&&e instanceof u)||(0,f.isPromise)(e)}},{key:"flush",value:function(){return(0,d.awaitActive)(u)}}]),u}();t.ZalgoPromise=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=function(e){try{if(!e)return!1;if("undefined"!=typeof Promise&&e instanceof Promise)return!0;if("undefined"!=typeof window&&window.Window&&e instanceof window.Window)return!1;if("undefined"!=typeof window&&window.constructor&&e instanceof window.constructor)return!1;var t={}.toString;if(t){var n=t.call(e);if("[object Window]"===n||"[object global]"===n||"[object DOMWindow]"===n)return!1}if("function"==typeof e.then)return!0}catch(e){return!1}return!1}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dispatchPossiblyUnhandledError=function(e,t){if(-1!==r.indexOf(e))return;r.push(e),setTimeout(function(){throw e},1);for(var n=0;n<i.length;n++)i[n](e,t)},t.onPossiblyUnhandledException=function(e){return i.push(e),{cancel:function(){i.splice(i.indexOf(e),1)}}};var r=[],i=[]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startActive=function(){n+=1},t.endActive=function(){n-=1,i()},t.awaitActive=function(e){var t=r=r||new e;return i(),t};var n=0,r=void 0;function i(){if(!n&&r){var e=r;r=null,e.resolve()}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPayloadBuilder=function(e){n.push(e)},t.addMetaBuilder=function(e){r.push(e)},t.addTrackingBuilder=function(e){i.push(e)},t.addHeaderBuilder=function(e){a.push(e)};var n=t.payloadBuilders=[],r=t.metaBuilders=[],i=t.trackingBuilders=[],a=t.headerBuilders=[]},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.config={uri:"",prefix:"",initial_state_name:"init",flushInterval:6e5,debounceInterval:10,sizeLimit:300,silent:!1,heartbeat:!0,heartbeatConsoleLog:!0,heartbeatInterval:5e3,heartbeatTooBusy:!1,heartbeatTooBusyThreshold:1e4,logLevel:"warn",autoLog:["warn","error"],logUnload:!0,logPerformance:!0},t.logLevels=["error","warn","info","debug"]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.init=function(e){if((0,i.extend)(r.config,e||{}),s)return;s=!0,r.config.logPerformance&&(0,a.initPerformance)();r.config.heartbeat&&(0,a.initHeartBeat)();r.config.logUnload&&(window.addEventListener("beforeunload",function(){(0,o.info)("window_beforeunload"),(0,o.immediateFlush)({fireAndForget:!0})}),window.addEventListener("unload",function(){(0,o.info)("window_unload"),(0,o.immediateFlush)({fireAndForget:!0})}));r.config.flushInterval&&setInterval(o.flush,r.config.flushInterval);window.beaverLogQueue&&(window.beaverLogQueue.forEach(function(e){(0,o.log)(e.level,e.event,e)}),delete window.beaverLogQueue)};var r=n(10),i=n(3),a=n(12),o=n(2),s=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reqTimer=t.clientTimer=void 0,t.now=c,t.reqStartElapsed=u,t.initHeartBeat=function(){var r=l(),i=0;(0,s.safeInterval)(function(){if(!(a.config.heartbeatMaxThreshold&&i>a.config.heartbeatMaxThreshold)){i+=1;var e=r.elapsed(),t=e-a.config.heartbeatInterval,n={count:i,elapsed:e};a.config.heartbeatTooBusy&&(n.lag=t)>=a.config.heartbeatTooBusyThreshold&&(0,o.info)("toobusy",n,{noConsole:!a.config.heartbeatConsoleLog}),(0,o.info)("heartbeat",n,{noConsole:!a.config.heartbeatConsoleLog})}},a.config.heartbeatInterval)},t.initPerformance=function(){if(!i)return(0,o.info)("no_performance_data");(0,r.addPayloadBuilder)(function(){var e={};return e.client_elapsed=f.elapsed(),i&&(e.req_elapsed=d.elapsed()),e}),(0,s.onWindowReady)().then(function(){var n={};["connectEnd","connectStart","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","domLoading","domainLookupEnd","domainLookupStart","fetchStart","loadEventEnd","loadEventStart","navigationStart","redirectEnd","redirectStart","requestStart","responseEnd","responseStart","secureConnectionStart","unloadEventEnd","unloadEventStart"].forEach(function(e){n[e]=parseInt(window.performance.timing[e],10)||0});var r=n.connectEnd-n.navigationStart;n.connectEnd&&Object.keys(n).forEach(function(e){var t=n[e];t&&(0,o.info)("timing_"+e,{client_elapsed:parseInt(t-n.connectEnd-(f.startTime-r),10),req_elapsed:parseInt(t-n.connectEnd,10)})}),(0,o.info)("timing",n),(0,o.info)("memory",window.performance.memory),(0,o.info)("navigation",window.performance.navigation),window.performance.getEntries&&window.performance.getEntries().forEach(function(e){-1<["link","script","img","css"].indexOf(e.initiatorType)&&(0,o.info)(e.initiatorType,e)})})};var a=n(10),o=n(2),r=n(9),s=n(3),i=window&&window.performance&&performance.now&&performance.timing&&performance.timing.connectEnd&&performance.timing.navigationStart&&1e3<Math.abs(performance.now()-Date.now())&&0<performance.now()-(performance.timing.connectEnd-performance.timing.navigationStart);function c(){return i?performance.now():Date.now()}function l(e){return{startTime:e=void 0!==e?e:c(),elapsed:function(){return parseInt(c()-e,10)},reset:function(){e=c()}}}function u(){if(i){var e=window.performance.timing;return parseInt(e.connectEnd-e.navigationStart,10)}}var f=t.clientTimer=l(),d=t.reqTimer=l(u())},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.startTransition=d,t.endTransition=h,t.transition=function(e){d(),h(e)};var i=n(12),a=n(2),r=n(9),o=n(3),s=n(10),c=(0,o.uniqueID)(),l=(0,o.uniqueID)(),u=s.config.initial_state_name,f=void 0;function d(){f=(0,i.now)()}function h(e){f=f||(0,i.reqStartElapsed)();var t=(0,i.now)(),n=void 0;void 0!==f&&(n=parseInt(t-f,0));var r="transition_"+u+"_to_"+e;(0,a.info)(r,{duration:n}),(0,a.track)({transition:r,transition_time:n}),(0,a.immediateFlush)(),f=t,u=e,l=(0,o.uniqueID)()}(0,r.addPayloadBuilder)(function(){return{windowID:c,pageID:l}}),(0,r.addMetaBuilder)(function(){return{state:"ui_"+u}})}])});
\ No newline at end of file